victory 37.3.4 → 37.3.6

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # victory
2
2
 
3
+ ## 37.3.6
4
+
5
+ ## 37.3.5
6
+
3
7
  ## 37.3.4
4
8
 
5
9
  ## 37.3.3
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.type === victory_core__WEBPACK_IMPORTED_MODULE_5__.VictoryClipContainer) {
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.type === victory_core__WEBPACK_IMPORTED_MODULE_9__.VictoryClipContainer) {
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);