victory 37.3.4 → 37.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/victory.js +2 -2
- package/dist/victory.min.js +1 -1
- package/package.json +28 -28
package/CHANGELOG.md
CHANGED
package/dist/victory.js
CHANGED
|
@@ -9575,7 +9575,7 @@ const getCalculatedValues = props => {
|
|
|
9575
9575
|
|
|
9576
9576
|
// when inside a zoom container, reset the _x and _y properties of each datum to the original
|
|
9577
9577
|
// x and y property values so they will not be clipped. See https://github.com/FormidableLabs/victory/pull/2970
|
|
9578
|
-
if (props.groupComponent
|
|
9578
|
+
if (props.groupComponent?.type === victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryClipContainer) {
|
|
9579
9579
|
data = data.map(datum => ({
|
|
9580
9580
|
...datum,
|
|
9581
9581
|
_x: datum.x,
|
|
@@ -10293,7 +10293,7 @@ class VictoryBarBase extends (react__WEBPACK_IMPORTED_MODULE_0___default().Compo
|
|
|
10293
10293
|
// when inside a zoom container (the only place VictoryClipContainer is used), all data
|
|
10294
10294
|
// should be renderable so bars won't dissappear before they've fully exited the container's bounds
|
|
10295
10295
|
// see https://github.com/FormidableLabs/victory/pull/2970
|
|
10296
|
-
if (props.groupComponent
|
|
10296
|
+
if (props.groupComponent?.type === victory_core__WEBPACK_IMPORTED_MODULE_9__.VictoryClipContainer) {
|
|
10297
10297
|
children = this.renderData(props, VictoryBarBase.shouldRenderDatum);
|
|
10298
10298
|
} else {
|
|
10299
10299
|
children = this.renderData(props);
|