victory-create-container 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-create-container.js +4 -4
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -14326,9 +14326,9 @@ function getScopedEvents(events, namespace, childType, baseProps) {
|
|
|
14326
14326
|
}
|
|
14327
14327
|
|
|
14328
14328
|
if (eventReturn.eventKey === "all") {
|
|
14329
|
-
return
|
|
14329
|
+
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");
|
|
14330
14330
|
} else if (eventReturn.eventKey === undefined && eventKey === "parent") {
|
|
14331
|
-
return
|
|
14331
|
+
return newBaseProps[childName] ? lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps[childName]) : lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps);
|
|
14332
14332
|
}
|
|
14333
14333
|
|
|
14334
14334
|
return eventReturn.eventKey !== undefined ? eventReturn.eventKey : eventKey;
|
|
@@ -14353,7 +14353,7 @@ function getScopedEvents(events, namespace, childType, baseProps) {
|
|
|
14353
14353
|
key: key,
|
|
14354
14354
|
target: target
|
|
14355
14355
|
}, "state");
|
|
14356
|
-
var mutatedProps = eventReturn.mutation(lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, mutationTargetProps, mutationTargetState),
|
|
14356
|
+
var mutatedProps = eventReturn.mutation(lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()({}, mutationTargetProps, mutationTargetState), newBaseProps);
|
|
14357
14357
|
var childState = baseState[childName] || {};
|
|
14358
14358
|
|
|
14359
14359
|
var filterState = function (state) {
|
|
@@ -14388,7 +14388,7 @@ function getScopedEvents(events, namespace, childType, baseProps) {
|
|
|
14388
14388
|
}; // returns an entire mutated state for all children
|
|
14389
14389
|
|
|
14390
14390
|
|
|
14391
|
-
var allChildNames = childNames === "all" ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(
|
|
14391
|
+
var allChildNames = childNames === "all" ? lodash_without__WEBPACK_IMPORTED_MODULE_5___default()(lodash_keys__WEBPACK_IMPORTED_MODULE_0___default()(newBaseProps), "parent") : childNames;
|
|
14392
14392
|
return Array.isArray(allChildNames) ? allChildNames.reduce(function (memo, childName) {
|
|
14393
14393
|
return lodash_assign__WEBPACK_IMPORTED_MODULE_8___default()(memo, getReturnByChild(childName));
|
|
14394
14394
|
}, {}) : getReturnByChild(allChildNames);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-create-container",
|
|
3
|
-
"version": "36.8.
|
|
3
|
+
"version": "36.8.4",
|
|
4
4
|
"description": "Container Helper for Victory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data visualization",
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"lodash": "^4.17.19",
|
|
24
|
-
"victory-brush-container": "^36.8.
|
|
25
|
-
"victory-core": "^36.8.
|
|
26
|
-
"victory-cursor-container": "^36.8.
|
|
27
|
-
"victory-selection-container": "^36.8.
|
|
28
|
-
"victory-voronoi-container": "^36.8.
|
|
29
|
-
"victory-zoom-container": "^36.8.
|
|
24
|
+
"victory-brush-container": "^36.8.4",
|
|
25
|
+
"victory-core": "^36.8.4",
|
|
26
|
+
"victory-cursor-container": "^36.8.4",
|
|
27
|
+
"victory-selection-container": "^36.8.4",
|
|
28
|
+
"victory-voronoi-container": "^36.8.4",
|
|
29
|
+
"victory-zoom-container": "^36.8.4"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": ">=16.6.0"
|