victory-area 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-area.js +4 -4
- package/dist/victory-area.min.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/victory-area.js
CHANGED
|
@@ -12317,9 +12317,9 @@ function getScopedEvents(events, namespace, childType, baseProps) {
|
|
|
12317
12317
|
}
|
|
12318
12318
|
|
|
12319
12319
|
if (eventReturn.eventKey === "all") {
|
|
12320
|
-
return
|
|
12320
|
+
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");
|
|
12321
12321
|
} else if (eventReturn.eventKey === undefined && eventKey === "parent") {
|
|
12322
|
-
return
|
|
12322
|
+
return newBaseProps[childName] ? lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps[childName]) : lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps);
|
|
12323
12323
|
}
|
|
12324
12324
|
|
|
12325
12325
|
return eventReturn.eventKey !== undefined ? eventReturn.eventKey : eventKey;
|
|
@@ -12344,7 +12344,7 @@ function getScopedEvents(events, namespace, childType, baseProps) {
|
|
|
12344
12344
|
key: key,
|
|
12345
12345
|
target: target
|
|
12346
12346
|
}, "state");
|
|
12347
|
-
var mutatedProps = eventReturn.mutation(lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, mutationTargetProps, mutationTargetState),
|
|
12347
|
+
var mutatedProps = eventReturn.mutation(lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, mutationTargetProps, mutationTargetState), newBaseProps);
|
|
12348
12348
|
var childState = baseState[childName] || {};
|
|
12349
12349
|
|
|
12350
12350
|
var filterState = function (state) {
|
|
@@ -12379,7 +12379,7 @@ function getScopedEvents(events, namespace, childType, baseProps) {
|
|
|
12379
12379
|
}; // returns an entire mutated state for all children
|
|
12380
12380
|
|
|
12381
12381
|
|
|
12382
|
-
var allChildNames = childNames === "all" ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(
|
|
12382
|
+
var allChildNames = childNames === "all" ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps), "parent") : childNames;
|
|
12383
12383
|
return Array.isArray(allChildNames) ? allChildNames.reduce(function (memo, childName) {
|
|
12384
12384
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()(memo, getReturnByChild(childName));
|
|
12385
12385
|
}, {}) : getReturnByChild(allChildNames);
|