victory-chart 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-chart.js +7 -4
- package/dist/victory-chart.min.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/dist/victory-chart.js
CHANGED
|
@@ -14250,9 +14250,9 @@ function getScopedEvents(events, namespace, childType, baseProps) {
|
|
|
14250
14250
|
}
|
|
14251
14251
|
|
|
14252
14252
|
if (eventReturn.eventKey === "all") {
|
|
14253
|
-
return
|
|
14253
|
+
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");
|
|
14254
14254
|
} else if (eventReturn.eventKey === undefined && eventKey === "parent") {
|
|
14255
|
-
return
|
|
14255
|
+
return newBaseProps[childName] ? lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps[childName]) : lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps);
|
|
14256
14256
|
}
|
|
14257
14257
|
|
|
14258
14258
|
return eventReturn.eventKey !== undefined ? eventReturn.eventKey : eventKey;
|
|
@@ -14277,7 +14277,7 @@ function getScopedEvents(events, namespace, childType, baseProps) {
|
|
|
14277
14277
|
key: key,
|
|
14278
14278
|
target: target
|
|
14279
14279
|
}, "state");
|
|
14280
|
-
var mutatedProps = eventReturn.mutation(lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, mutationTargetProps, mutationTargetState),
|
|
14280
|
+
var mutatedProps = eventReturn.mutation(lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, mutationTargetProps, mutationTargetState), newBaseProps);
|
|
14281
14281
|
var childState = baseState[childName] || {};
|
|
14282
14282
|
|
|
14283
14283
|
var filterState = function (state) {
|
|
@@ -14312,7 +14312,7 @@ function getScopedEvents(events, namespace, childType, baseProps) {
|
|
|
14312
14312
|
}; // returns an entire mutated state for all children
|
|
14313
14313
|
|
|
14314
14314
|
|
|
14315
|
-
var allChildNames = childNames === "all" ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(
|
|
14315
|
+
var allChildNames = childNames === "all" ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps), "parent") : childNames;
|
|
14316
14316
|
return Array.isArray(allChildNames) ? allChildNames.reduce(function (memo, childName) {
|
|
14317
14317
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()(memo, getReturnByChild(childName));
|
|
14318
14318
|
}, {}) : getReturnByChild(allChildNames);
|
|
@@ -18695,6 +18695,9 @@ var VictorySharedEvents = /*#__PURE__*/function (_React$Component) {
|
|
|
18695
18695
|
VictorySharedEvents.displayName = "VictorySharedEvents";
|
|
18696
18696
|
VictorySharedEvents.role = "shared-event-wrapper";
|
|
18697
18697
|
VictorySharedEvents.contextType = victory_core__WEBPACK_IMPORTED_MODULE_12__["default"];
|
|
18698
|
+
VictorySharedEvents.defaultProps = {
|
|
18699
|
+
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_7___default().createElement("g", null)
|
|
18700
|
+
};
|
|
18698
18701
|
|
|
18699
18702
|
/***/ }),
|
|
18700
18703
|
|