victory-area 36.8.1 → 36.8.2

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,7 @@
1
1
  # victory-area
2
2
 
3
+ ## 36.8.2
4
+
3
5
  ## 36.8.1
4
6
 
5
7
  ## 36.8.0
@@ -8735,7 +8735,7 @@ var getCalculatedProps = function (props) {
8735
8735
  verticalAnchor: verticalAnchor,
8736
8736
  dx: dx,
8737
8737
  dy: dy,
8738
- originalDy: props.dy,
8738
+ originalDy: _victory_util_helpers__WEBPACK_IMPORTED_MODULE_4__.evaluateProp(props.dy, props),
8739
8739
  transform: transform,
8740
8740
  x: x,
8741
8741
  y: y
@@ -10692,13 +10692,15 @@ function addEvents(WrappedComponent) {
10692
10692
  return undefined;
10693
10693
  }
10694
10694
 
10695
+ var currentProps = component && typeof component === "object" && "props" in component ? component.props : undefined;
10696
+
10695
10697
  if (this.hasEvents) {
10696
10698
  var baseEvents = this.getEvents(this.props, type, key);
10697
10699
 
10698
10700
  var componentProps = lodash_defaults__WEBPACK_IMPORTED_MODULE_7___default()({
10699
10701
  index: index,
10700
10702
  key: id
10701
- }, this.getEventState(key, type), this.getSharedEventState(key, type), component.props, baseProps, {
10703
+ }, this.getEventState(key, type), this.getSharedEventState(key, type), currentProps, baseProps, {
10702
10704
  id: id
10703
10705
  });
10704
10706
 
@@ -10712,7 +10714,7 @@ function addEvents(WrappedComponent) {
10712
10714
  return lodash_defaults__WEBPACK_IMPORTED_MODULE_7___default()({
10713
10715
  index: index,
10714
10716
  key: id
10715
- }, component.props, baseProps, {
10717
+ }, currentProps, baseProps, {
10716
10718
  id: id
10717
10719
  });
10718
10720
  }