Skip to content

Commit

Permalink
fix(charts): victoryCreateContainer breakage (v5) (#10905)
Browse files Browse the repository at this point in the history
* fix(charts): victoryCreateContainer breakage

#10895

* chore(charts): update snapshots
  • Loading branch information
dlabrecq authored Sep 11, 2024
1 parent 5b9adcf commit ee81f6e
Show file tree
Hide file tree
Showing 35 changed files with 490 additions and 487 deletions.
34 changes: 17 additions & 17 deletions packages/react-charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,23 @@
"hoist-non-react-statics": "^3.3.2",
"lodash": "^4.17.21",
"tslib": "^2.6.3",
"victory-area": "^37.0.2",
"victory-axis": "^37.0.2",
"victory-bar": "^37.0.2",
"victory-box-plot": "^37.0.2",
"victory-chart": "^37.0.2",
"victory-core": "^37.0.2",
"victory-create-container": "^37.0.2",
"victory-cursor-container": "^37.0.2",
"victory-group": "^37.0.2",
"victory-legend": "^37.0.2",
"victory-line": "^37.0.2",
"victory-pie": "^37.0.2",
"victory-scatter": "^37.0.2",
"victory-stack": "^37.0.2",
"victory-tooltip": "^37.0.2",
"victory-voronoi-container": "^37.0.2",
"victory-zoom-container": "^37.0.2"
"victory-area": "^37.1.1",
"victory-axis": "^37.1.1",
"victory-bar": "^37.1.1",
"victory-box-plot": "^37.1.1",
"victory-chart": "^37.1.1",
"victory-core": "^37.1.1",
"victory-create-container": "^37.1.1",
"victory-cursor-container": "^37.1.1",
"victory-group": "^37.1.1",
"victory-legend": "^37.1.1",
"victory-line": "^37.1.1",
"victory-pie": "^37.1.1",
"victory-scatter": "^37.1.1",
"victory-stack": "^37.1.1",
"victory-tooltip": "^37.1.1",
"victory-voronoi-container": "^37.1.1",
"victory-zoom-container": "^37.1.1"
},
"peerDependencies": {
"react": "^17 || ^18",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports[`Chart 1`] = `
<svg
height="300"
role="img"
style="pointer-events: all; width: 100%; height: 100%;"
style="width: 100%; height: 100%; pointer-events: all;"
viewBox="0 0 450 300"
width="450"
>
Expand Down Expand Up @@ -353,11 +353,11 @@ exports[`Chart 1`] = `
</g>
</svg>
<div
style="z-index: 99; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
style="width: 100%; height: 100%; z-index: 99; position: absolute; top: 0px; left: 0px;"
>
<svg
height="300"
style="overflow: visible; width: 100%; height: 100%;"
style="width: 100%; height: 100%; overflow: visible;"
viewBox="0 0 450 300"
width="450"
/>
Expand All @@ -375,7 +375,7 @@ exports[`Chart 2`] = `
<svg
height="300"
role="img"
style="pointer-events: all; width: 100%; height: 100%;"
style="width: 100%; height: 100%; pointer-events: all;"
viewBox="0 0 450 300"
width="450"
>
Expand Down Expand Up @@ -719,11 +719,11 @@ exports[`Chart 2`] = `
</g>
</svg>
<div
style="z-index: 99; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
style="width: 100%; height: 100%; z-index: 99; position: absolute; top: 0px; left: 0px;"
>
<svg
height="300"
style="overflow: visible; width: 100%; height: 100%;"
style="width: 100%; height: 100%; overflow: visible;"
viewBox="0 0 450 300"
width="450"
/>
Expand All @@ -741,7 +741,7 @@ exports[`renders axis and component children 1`] = `
<svg
height="200"
role="img"
style="pointer-events: all; width: 100%; height: 100%;"
style="width: 100%; height: 100%; pointer-events: all;"
viewBox="0 0 200 200"
width="200"
>
Expand Down Expand Up @@ -1214,11 +1214,11 @@ exports[`renders axis and component children 1`] = `
</g>
</svg>
<div
style="z-index: 99; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
style="width: 100%; height: 100%; z-index: 99; position: absolute; top: 0px; left: 0px;"
>
<svg
height="200"
style="overflow: visible; width: 100%; height: 100%;"
style="width: 100%; height: 100%; overflow: visible;"
viewBox="0 0 200 200"
width="200"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports[`ChartArea 1`] = `
<svg
height="300"
role="img"
style="pointer-events: all; width: 100%; height: 100%;"
style="width: 100%; height: 100%; pointer-events: all;"
viewBox="0 0 450 300"
width="450"
>
Expand Down Expand Up @@ -39,11 +39,11 @@ exports[`ChartArea 1`] = `
</g>
</svg>
<div
style="z-index: 99; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
style="width: 100%; height: 100%; z-index: 99; position: absolute; top: 0px; left: 0px;"
>
<svg
height="300"
style="overflow: visible; width: 100%; height: 100%;"
style="width: 100%; height: 100%; overflow: visible;"
viewBox="0 0 450 300"
width="450"
/>
Expand All @@ -61,7 +61,7 @@ exports[`ChartArea 2`] = `
<svg
height="300"
role="img"
style="pointer-events: all; width: 100%; height: 100%;"
style="width: 100%; height: 100%; pointer-events: all;"
viewBox="0 0 450 300"
width="450"
>
Expand Down Expand Up @@ -91,11 +91,11 @@ exports[`ChartArea 2`] = `
</g>
</svg>
<div
style="z-index: 99; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
style="width: 100%; height: 100%; z-index: 99; position: absolute; top: 0px; left: 0px;"
>
<svg
height="300"
style="overflow: visible; width: 100%; height: 100%;"
style="width: 100%; height: 100%; overflow: visible;"
viewBox="0 0 450 300"
width="450"
/>
Expand All @@ -113,7 +113,7 @@ exports[`renders component data 1`] = `
<svg
height="300"
role="img"
style="pointer-events: all; width: 100%; height: 100%;"
style="width: 100%; height: 100%; pointer-events: all;"
viewBox="0 0 450 300"
width="450"
>
Expand Down Expand Up @@ -143,11 +143,11 @@ exports[`renders component data 1`] = `
</g>
</svg>
<div
style="z-index: 99; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
style="width: 100%; height: 100%; z-index: 99; position: absolute; top: 0px; left: 0px;"
>
<svg
height="300"
style="overflow: visible; width: 100%; height: 100%;"
style="width: 100%; height: 100%; overflow: visible;"
viewBox="0 0 450 300"
width="450"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports[`ChartAxis 1`] = `
<svg
height="300"
role="img"
style="pointer-events: all; width: 100%; height: 100%;"
style="width: 100%; height: 100%; pointer-events: all;"
viewBox="0 0 450 300"
width="450"
>
Expand Down Expand Up @@ -211,11 +211,11 @@ exports[`ChartAxis 1`] = `
</g>
</svg>
<div
style="z-index: 99; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
style="width: 100%; height: 100%; z-index: 99; position: absolute; top: 0px; left: 0px;"
>
<svg
height="300"
style="overflow: visible; width: 100%; height: 100%;"
style="width: 100%; height: 100%; overflow: visible;"
viewBox="0 0 450 300"
width="450"
/>
Expand All @@ -233,7 +233,7 @@ exports[`ChartAxis 2`] = `
<svg
height="300"
role="img"
style="pointer-events: all; width: 100%; height: 100%;"
style="width: 100%; height: 100%; pointer-events: all;"
viewBox="0 0 450 300"
width="450"
>
Expand Down Expand Up @@ -435,11 +435,11 @@ exports[`ChartAxis 2`] = `
</g>
</svg>
<div
style="z-index: 99; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
style="width: 100%; height: 100%; z-index: 99; position: absolute; top: 0px; left: 0px;"
>
<svg
height="300"
style="overflow: visible; width: 100%; height: 100%;"
style="width: 100%; height: 100%; overflow: visible;"
viewBox="0 0 450 300"
width="450"
/>
Expand All @@ -457,7 +457,7 @@ exports[`renders component data 1`] = `
<svg
height="200"
role="img"
style="pointer-events: all; width: 100%; height: 100%;"
style="width: 100%; height: 100%; pointer-events: all;"
viewBox="0 0 300 200"
width="300"
>
Expand Down Expand Up @@ -775,11 +775,11 @@ exports[`renders component data 1`] = `
</g>
</svg>
<div
style="z-index: 99; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
style="width: 100%; height: 100%; z-index: 99; position: absolute; top: 0px; left: 0px;"
>
<svg
height="200"
style="overflow: visible; width: 100%; height: 100%;"
style="width: 100%; height: 100%; overflow: visible;"
viewBox="0 0 300 200"
width="300"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports[`ChartBar 1`] = `
<svg
height="300"
role="img"
style="pointer-events: all; width: 100%; height: 100%;"
style="width: 100%; height: 100%; pointer-events: all;"
viewBox="0 0 450 300"
width="450"
>
Expand Down Expand Up @@ -79,11 +79,11 @@ A 0 0 0 0 1, 405, 250
</g>
</svg>
<div
style="z-index: 99; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
style="width: 100%; height: 100%; z-index: 99; position: absolute; top: 0px; left: 0px;"
>
<svg
height="300"
style="overflow: visible; width: 100%; height: 100%;"
style="width: 100%; height: 100%; overflow: visible;"
viewBox="0 0 450 300"
width="450"
/>
Expand All @@ -101,7 +101,7 @@ exports[`ChartBar 2`] = `
<svg
height="300"
role="img"
style="pointer-events: all; width: 100%; height: 100%;"
style="width: 100%; height: 100%; pointer-events: all;"
viewBox="0 0 450 300"
width="450"
>
Expand Down Expand Up @@ -171,11 +171,11 @@ A 0 0 0 0 1, 405, 250
</g>
</svg>
<div
style="z-index: 99; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
style="width: 100%; height: 100%; z-index: 99; position: absolute; top: 0px; left: 0px;"
>
<svg
height="300"
style="overflow: visible; width: 100%; height: 100%;"
style="width: 100%; height: 100%; overflow: visible;"
viewBox="0 0 450 300"
width="450"
/>
Expand All @@ -193,7 +193,7 @@ exports[`renders component data 1`] = `
<svg
height="200"
role="img"
style="pointer-events: all; width: 100%; height: 100%;"
style="width: 100%; height: 100%; pointer-events: all;"
viewBox="0 0 300 200"
width="300"
>
Expand Down Expand Up @@ -733,11 +733,11 @@ A 0 0 0 0 1, 246.5, 150
</g>
</svg>
<div
style="z-index: 99; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
style="width: 100%; height: 100%; z-index: 99; position: absolute; top: 0px; left: 0px;"
>
<svg
height="200"
style="overflow: visible; width: 100%; height: 100%;"
style="width: 100%; height: 100%; overflow: visible;"
viewBox="0 0 300 200"
width="300"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports[`ChartBar 1`] = `
<svg
height="300"
role="img"
style="pointer-events: all; width: 100%; height: 100%;"
style="width: 100%; height: 100%; pointer-events: all;"
viewBox="0 0 450 300"
width="450"
>
Expand Down Expand Up @@ -167,11 +167,11 @@ exports[`ChartBar 1`] = `
</g>
</svg>
<div
style="z-index: 99; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
style="width: 100%; height: 100%; z-index: 99; position: absolute; top: 0px; left: 0px;"
>
<svg
height="300"
style="overflow: visible; width: 100%; height: 100%;"
style="width: 100%; height: 100%; overflow: visible;"
viewBox="0 0 450 300"
width="450"
/>
Expand All @@ -189,7 +189,7 @@ exports[`ChartBar 2`] = `
<svg
height="300"
role="img"
style="pointer-events: all; width: 100%; height: 100%;"
style="width: 100%; height: 100%; pointer-events: all;"
viewBox="0 0 450 300"
width="450"
>
Expand Down Expand Up @@ -347,11 +347,11 @@ exports[`ChartBar 2`] = `
</g>
</svg>
<div
style="z-index: 99; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
style="width: 100%; height: 100%; z-index: 99; position: absolute; top: 0px; left: 0px;"
>
<svg
height="300"
style="overflow: visible; width: 100%; height: 100%;"
style="width: 100%; height: 100%; overflow: visible;"
viewBox="0 0 450 300"
width="450"
/>
Expand All @@ -369,7 +369,7 @@ exports[`renders component data 1`] = `
<svg
height="200"
role="img"
style="pointer-events: all; width: 100%; height: 100%;"
style="width: 100%; height: 100%; pointer-events: all;"
viewBox="0 0 300 200"
width="300"
>
Expand Down Expand Up @@ -982,11 +982,11 @@ exports[`renders component data 1`] = `
</g>
</svg>
<div
style="z-index: 99; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;"
style="width: 100%; height: 100%; z-index: 99; position: absolute; top: 0px; left: 0px;"
>
<svg
height="200"
style="overflow: visible; width: 100%; height: 100%;"
style="width: 100%; height: 100%; overflow: visible;"
viewBox="0 0 300 200"
width="300"
/>
Expand Down
Loading

0 comments on commit ee81f6e

Please sign in to comment.