victory 36.8.3 → 36.8.4
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 +7 -4
- package/dist/victory.min.js +1 -1
- package/package.json +28 -28
package/CHANGELOG.md
CHANGED
package/dist/victory.js
CHANGED
|
@@ -23951,9 +23951,9 @@ function getScopedEvents(events, namespace, childType, baseProps) {
|
|
|
23951
23951
|
}
|
|
23952
23952
|
|
|
23953
23953
|
if (eventReturn.eventKey === "all") {
|
|
23954
|
-
return
|
|
23954
|
+
return newBaseProps[childName] ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps[childName]), "parent") : lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps), "parent");
|
|
23955
23955
|
} else if (eventReturn.eventKey === undefined && eventKey === "parent") {
|
|
23956
|
-
return
|
|
23956
|
+
return newBaseProps[childName] ? lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps[childName]) : lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps);
|
|
23957
23957
|
}
|
|
23958
23958
|
|
|
23959
23959
|
return eventReturn.eventKey !== undefined ? eventReturn.eventKey : eventKey;
|
|
@@ -23978,7 +23978,7 @@ function getScopedEvents(events, namespace, childType, baseProps) {
|
|
|
23978
23978
|
key: key,
|
|
23979
23979
|
target: target
|
|
23980
23980
|
}, "state");
|
|
23981
|
-
var mutatedProps = eventReturn.mutation(lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, mutationTargetProps, mutationTargetState),
|
|
23981
|
+
var mutatedProps = eventReturn.mutation(lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, mutationTargetProps, mutationTargetState), newBaseProps);
|
|
23982
23982
|
var childState = baseState[childName] || {};
|
|
23983
23983
|
|
|
23984
23984
|
var filterState = function (state) {
|
|
@@ -24013,7 +24013,7 @@ function getScopedEvents(events, namespace, childType, baseProps) {
|
|
|
24013
24013
|
}; // returns an entire mutated state for all children
|
|
24014
24014
|
|
|
24015
24015
|
|
|
24016
|
-
var allChildNames = childNames === "all" ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(
|
|
24016
|
+
var allChildNames = childNames === "all" ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps), "parent") : childNames;
|
|
24017
24017
|
return Array.isArray(allChildNames) ? allChildNames.reduce(function (memo, childName) {
|
|
24018
24018
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()(memo, getReturnByChild(childName));
|
|
24019
24019
|
}, {}) : getReturnByChild(allChildNames);
|
|
@@ -33784,6 +33784,9 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
33784
33784
|
VictorySharedEvents.displayName = "VictorySharedEvents";
|
|
33785
33785
|
VictorySharedEvents.role = "shared-event-wrapper";
|
|
33786
33786
|
VictorySharedEvents.contextType = victory_core__WEBPACK_IMPORTED_MODULE_12__["default"];
|
|
33787
|
+
VictorySharedEvents.defaultProps = {
|
|
33788
|
+
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement("g", null)
|
|
33789
|
+
};
|
|
33787
33790
|
|
|
33788
33791
|
/***/ }),
|
|
33789
33792
|
|