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 +2 -0
- package/dist/victory-area.js +5 -3
- package/dist/victory-area.min.js +1 -1
- package/es/victory-area.d.ts +1 -1
- package/lib/victory-area.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/victory-area.js
CHANGED
|
@@ -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),
|
|
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
|
-
},
|
|
10717
|
+
}, currentProps, baseProps, {
|
|
10716
10718
|
id: id
|
|
10717
10719
|
});
|
|
10718
10720
|
}
|