victory-brush-container 36.6.1 → 36.6.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 +25 -0
- package/dist/victory-brush-container.js +2 -15
- package/es/brush-helpers.js +1 -2
- package/es/index.js +1 -2
- package/es/victory-brush-container.js +1 -2
- package/lib/brush-helpers.js +1 -2
- package/lib/index.js +1 -2
- package/lib/victory-brush-container.js +1 -2
- package/package.json +12 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# victory-brush-container
|
|
2
2
|
|
|
3
|
+
## 36.6.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Allow data accessors to accept any data types (fixes [#2360](https://github.com/FormidableLabs/victory/issues/2360)) ([#2436](https://github.com/FormidableLabs/victory/pull/2436))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`9a6319cff`](https://github.com/FormidableLabs/victory/commit/9a6319cffbc480711b8c286dcae00575081170f0)]:
|
|
10
|
+
- victory-core@36.6.4
|
|
11
|
+
|
|
12
|
+
## 36.6.3
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Do not generate \*.js.map sourcemaps (fixes [#2346](https://github.com/FormidableLabs/victory/issues/2346)) ([#2432](https://github.com/FormidableLabs/victory/pull/2432))
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`4bfc65df5`](https://github.com/FormidableLabs/victory/commit/4bfc65df5a10aa6a10084882ed5c6d0d894dec6f)]:
|
|
19
|
+
- victory-core@36.6.3
|
|
20
|
+
|
|
21
|
+
## 36.6.2
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies []:
|
|
26
|
+
- victory-core@36.6.2
|
|
27
|
+
|
|
3
28
|
## 36.6.1
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
|
@@ -6608,7 +6608,6 @@ VictoryContainer.defaultProps = {
|
|
|
6608
6608
|
role: "img"
|
|
6609
6609
|
};
|
|
6610
6610
|
VictoryContainer.contextType = _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_12__["default"];
|
|
6611
|
-
//# sourceMappingURL=victory-container.js.map
|
|
6612
6611
|
|
|
6613
6612
|
/***/ }),
|
|
6614
6613
|
|
|
@@ -6633,7 +6632,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
6633
6632
|
*/
|
|
6634
6633
|
var PortalContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createContext({});
|
|
6635
6634
|
PortalContext.displayName = "PortalContext";
|
|
6636
|
-
//# sourceMappingURL=portal-context.js.map
|
|
6637
6635
|
|
|
6638
6636
|
/***/ }),
|
|
6639
6637
|
|
|
@@ -6745,7 +6743,6 @@ Portal.propTypes = {
|
|
|
6745
6743
|
viewBox: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
|
|
6746
6744
|
width: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_3__.nonNegative
|
|
6747
6745
|
};
|
|
6748
|
-
//# sourceMappingURL=portal.js.map
|
|
6749
6746
|
|
|
6750
6747
|
/***/ }),
|
|
6751
6748
|
|
|
@@ -6788,7 +6785,6 @@ var Rect = function (props) {
|
|
|
6788
6785
|
vectorEffect: "non-scaling-stroke"
|
|
6789
6786
|
}, rest));
|
|
6790
6787
|
};
|
|
6791
|
-
//# sourceMappingURL=rect.js.map
|
|
6792
6788
|
|
|
6793
6789
|
/***/ }),
|
|
6794
6790
|
|
|
@@ -6872,7 +6868,6 @@ function getMinValue(arr) {
|
|
|
6872
6868
|
return containsDates(array) ? new Date(Math.min.apply(Math, _toConsumableArray(array))) // Dates will be coerced to numbers
|
|
6873
6869
|
: Math.min.apply(Math, _toConsumableArray(array));
|
|
6874
6870
|
}
|
|
6875
|
-
//# sourceMappingURL=collection.js.map
|
|
6876
6871
|
|
|
6877
6872
|
/***/ }),
|
|
6878
6873
|
|
|
@@ -7269,7 +7264,6 @@ function isHorizontal(props) {
|
|
|
7269
7264
|
|
|
7270
7265
|
return traverseChildren(react__WEBPACK_IMPORTED_MODULE_6___default().Children.toArray(props.children));
|
|
7271
7266
|
}
|
|
7272
|
-
//# sourceMappingURL=helpers.js.map
|
|
7273
7267
|
|
|
7274
7268
|
/***/ }),
|
|
7275
7269
|
|
|
@@ -7295,7 +7289,6 @@ function warn(message) {
|
|
|
7295
7289
|
}
|
|
7296
7290
|
}
|
|
7297
7291
|
}
|
|
7298
|
-
//# sourceMappingURL=log.js.map
|
|
7299
7292
|
|
|
7300
7293
|
/***/ }),
|
|
7301
7294
|
|
|
@@ -7568,7 +7561,6 @@ var regExp = makeChainable(function (props, propName, componentName) {
|
|
|
7568
7561
|
|
|
7569
7562
|
return null;
|
|
7570
7563
|
});
|
|
7571
|
-
//# sourceMappingURL=prop-types.js.map
|
|
7572
7564
|
|
|
7573
7565
|
/***/ }),
|
|
7574
7566
|
|
|
@@ -7740,7 +7732,6 @@ function getType(scale) {
|
|
|
7740
7732
|
})[0];
|
|
7741
7733
|
return scaleType ? scaleType.name : undefined;
|
|
7742
7734
|
}
|
|
7743
|
-
//# sourceMappingURL=scale.js.map
|
|
7744
7735
|
|
|
7745
7736
|
/***/ }),
|
|
7746
7737
|
|
|
@@ -7759,7 +7750,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
7759
7750
|
/* harmony export */ "getParentSVG": () => (/* binding */ getParentSVG),
|
|
7760
7751
|
/* harmony export */ "getSVGEventCoordinates": () => (/* binding */ getSVGEventCoordinates)
|
|
7761
7752
|
/* harmony export */ });
|
|
7762
|
-
/* harmony import */ var
|
|
7753
|
+
/* harmony import */ var _collection__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./collection */ "../../victory-core/es/victory-util/collection.js");
|
|
7763
7754
|
|
|
7764
7755
|
|
|
7765
7756
|
// Private Functions
|
|
@@ -7866,7 +7857,7 @@ function getBounds(props) {
|
|
|
7866
7857
|
var point2 = getDataCoordinates(props, scale, x2, y2);
|
|
7867
7858
|
|
|
7868
7859
|
var makeBound = function (a, b) {
|
|
7869
|
-
return [
|
|
7860
|
+
return [_collection__WEBPACK_IMPORTED_MODULE_0__.getMinValue([a, b]), _collection__WEBPACK_IMPORTED_MODULE_0__.getMaxValue([a, b])];
|
|
7870
7861
|
};
|
|
7871
7862
|
|
|
7872
7863
|
return {
|
|
@@ -7874,7 +7865,6 @@ function getBounds(props) {
|
|
|
7874
7865
|
y: makeBound(point1.y, point2.y)
|
|
7875
7866
|
};
|
|
7876
7867
|
}
|
|
7877
|
-
//# sourceMappingURL=selection.js.map
|
|
7878
7868
|
|
|
7879
7869
|
/***/ }),
|
|
7880
7870
|
|
|
@@ -7905,7 +7895,6 @@ var TimerContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cre
|
|
|
7905
7895
|
});
|
|
7906
7896
|
TimerContext.displayName = "TimerContext";
|
|
7907
7897
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TimerContext);
|
|
7908
|
-
//# sourceMappingURL=timer-context.js.map
|
|
7909
7898
|
|
|
7910
7899
|
/***/ }),
|
|
7911
7900
|
|
|
@@ -8008,7 +7997,6 @@ var Timer = /*#__PURE__*/function () {
|
|
|
8008
7997
|
}();
|
|
8009
7998
|
|
|
8010
7999
|
|
|
8011
|
-
//# sourceMappingURL=timer.js.map
|
|
8012
8000
|
|
|
8013
8001
|
/***/ }),
|
|
8014
8002
|
|
|
@@ -8151,7 +8139,6 @@ var getSafeUserProps = function (props) {
|
|
|
8151
8139
|
var withSafeUserProps = function (component, props) {
|
|
8152
8140
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(component, getSafeUserProps(props));
|
|
8153
8141
|
};
|
|
8154
|
-
//# sourceMappingURL=user-props.js.map
|
|
8155
8142
|
|
|
8156
8143
|
/***/ }),
|
|
8157
8144
|
|
package/es/brush-helpers.js
CHANGED
package/es/index.js
CHANGED
|
@@ -247,5 +247,4 @@ export var brushContainerMixin = function (base) {
|
|
|
247
247
|
}];
|
|
248
248
|
}, _class;
|
|
249
249
|
};
|
|
250
|
-
export var VictoryBrushContainer = brushContainerMixin(VictoryContainer);
|
|
251
|
-
//# sourceMappingURL=victory-brush-container.js.map
|
|
250
|
+
export var VictoryBrushContainer = brushContainerMixin(VictoryContainer);
|
package/lib/brush-helpers.js
CHANGED
package/lib/index.js
CHANGED
|
@@ -265,5 +265,4 @@ var brushContainerMixin = function (base) {
|
|
|
265
265
|
|
|
266
266
|
exports.brushContainerMixin = brushContainerMixin;
|
|
267
267
|
var VictoryBrushContainer = brushContainerMixin(_victoryCore.VictoryContainer);
|
|
268
|
-
exports.VictoryBrushContainer = VictoryBrushContainer;
|
|
269
|
-
//# sourceMappingURL=victory-brush-container.js.map
|
|
268
|
+
exports.VictoryBrushContainer = VictoryBrushContainer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-brush-container",
|
|
3
|
-
"version": "36.6.
|
|
3
|
+
"version": "36.6.4",
|
|
4
4
|
"description": "Interactive Brush Component for Victory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data visualization",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"lodash": "^4.17.19",
|
|
24
24
|
"prop-types": "^15.8.1",
|
|
25
25
|
"react-fast-compare": "^3.2.0",
|
|
26
|
-
"victory-core": "^36.6.
|
|
26
|
+
"victory-core": "^36.6.4"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": ">=16.6.0"
|
|
@@ -52,7 +52,9 @@
|
|
|
52
52
|
"files": [
|
|
53
53
|
"src/**",
|
|
54
54
|
"!src/**/*.test.*",
|
|
55
|
-
"../../.babelrc.build.js"
|
|
55
|
+
"../../.babelrc.build.js",
|
|
56
|
+
"../../.babelrc.js",
|
|
57
|
+
"../../package-scripts.js"
|
|
56
58
|
],
|
|
57
59
|
"output": [
|
|
58
60
|
"es/**/*.js",
|
|
@@ -70,7 +72,9 @@
|
|
|
70
72
|
"files": [
|
|
71
73
|
"src/**",
|
|
72
74
|
"!src/**/*.test.*",
|
|
73
|
-
"../../.babelrc.build.js"
|
|
75
|
+
"../../.babelrc.build.js",
|
|
76
|
+
"../../.babelrc.js",
|
|
77
|
+
"../../package-scripts.js"
|
|
74
78
|
],
|
|
75
79
|
"output": [
|
|
76
80
|
"lib/**/*.js",
|
|
@@ -95,6 +99,8 @@
|
|
|
95
99
|
"src/**",
|
|
96
100
|
"!src/**/*.test.*",
|
|
97
101
|
"../../.babelrc.build.js",
|
|
102
|
+
"../../.babelrc.js",
|
|
103
|
+
"../../package-scripts.js",
|
|
98
104
|
"../../config/webpack.config.js",
|
|
99
105
|
"../../config/webpack.config.dev.js"
|
|
100
106
|
],
|
|
@@ -115,6 +121,8 @@
|
|
|
115
121
|
"src/**",
|
|
116
122
|
"!src/**/*.test.*",
|
|
117
123
|
"../../.babelrc.build.js",
|
|
124
|
+
"../../.babelrc.js",
|
|
125
|
+
"../../package-scripts.js",
|
|
118
126
|
"../../config/webpack.config.js"
|
|
119
127
|
],
|
|
120
128
|
"output": [
|