victory-area 36.6.0 → 36.6.3
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 +26 -0
- package/dist/victory-area.js +3 -39
- package/es/area.js +1 -2
- package/es/helper-methods.js +1 -2
- package/es/index.js +1 -2
- package/es/victory-area.d.ts +4 -2
- package/es/victory-area.js +1 -2
- package/lib/area.js +1 -2
- package/lib/helper-methods.js +1 -2
- package/lib/index.js +1 -2
- package/lib/victory-area.d.ts +4 -2
- package/lib/victory-area.js +1 -2
- package/package.json +35 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# victory-area
|
|
2
2
|
|
|
3
|
+
## 36.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Do not generate \*.js.map sourcemaps (fixes [#2346](https://github.com/FormidableLabs/victory/issues/2346)) ([#2432](https://github.com/FormidableLabs/victory/pull/2432))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`4bfc65df5`](https://github.com/FormidableLabs/victory/commit/4bfc65df5a10aa6a10084882ed5c6d0d894dec6f)]:
|
|
10
|
+
- victory-core@36.6.3
|
|
11
|
+
- victory-vendor@36.6.3
|
|
12
|
+
|
|
13
|
+
## 36.6.2
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies []:
|
|
18
|
+
- victory-core@36.6.2
|
|
19
|
+
- victory-vendor@36.6.2
|
|
20
|
+
|
|
21
|
+
## 36.6.1
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [[`d1f281104`](https://github.com/FormidableLabs/victory/commit/d1f281104c7598c43e220dafd57546ab03daeeb5)]:
|
|
26
|
+
- victory-core@36.6.1
|
|
27
|
+
- victory-vendor@36.6.1
|
|
28
|
+
|
|
3
29
|
## 36.6.0
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/dist/victory-area.js
CHANGED
|
@@ -7245,7 +7245,6 @@ var victoryInterpolator = function (a, b) {
|
|
|
7245
7245
|
|
|
7246
7246
|
return (0,victory_vendor_d3_interpolate__WEBPACK_IMPORTED_MODULE_2__.interpolate)(a, b);
|
|
7247
7247
|
};
|
|
7248
|
-
//# sourceMappingURL=util.js.map
|
|
7249
7248
|
|
|
7250
7249
|
/***/ }),
|
|
7251
7250
|
|
|
@@ -7508,7 +7507,6 @@ VictoryAnimation.defaultProps = {
|
|
|
7508
7507
|
easing: "quadInOut"
|
|
7509
7508
|
};
|
|
7510
7509
|
VictoryAnimation.contextType = _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_5__["default"];
|
|
7511
|
-
//# sourceMappingURL=victory-animation.js.map
|
|
7512
7510
|
|
|
7513
7511
|
/***/ }),
|
|
7514
7512
|
|
|
@@ -7819,7 +7817,6 @@ VictoryClipContainer.defaultProps = {
|
|
|
7819
7817
|
clipPathComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement(_victory_primitives_clip_path__WEBPACK_IMPORTED_MODULE_11__.ClipPath, null),
|
|
7820
7818
|
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_4___default().createElement("g", null)
|
|
7821
7819
|
};
|
|
7822
|
-
//# sourceMappingURL=victory-clip-container.js.map
|
|
7823
7820
|
|
|
7824
7821
|
/***/ }),
|
|
7825
7822
|
|
|
@@ -8133,7 +8130,6 @@ VictoryContainer.defaultProps = {
|
|
|
8133
8130
|
role: "img"
|
|
8134
8131
|
};
|
|
8135
8132
|
VictoryContainer.contextType = _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_12__["default"];
|
|
8136
|
-
//# sourceMappingURL=victory-container.js.map
|
|
8137
8133
|
|
|
8138
8134
|
/***/ }),
|
|
8139
8135
|
|
|
@@ -8775,7 +8771,6 @@ VictoryLabel.defaultProps = {
|
|
|
8775
8771
|
// Magic number from d3.
|
|
8776
8772
|
lineHeight: 1
|
|
8777
8773
|
};
|
|
8778
|
-
//# sourceMappingURL=victory-label.js.map
|
|
8779
8774
|
|
|
8780
8775
|
/***/ }),
|
|
8781
8776
|
|
|
@@ -8800,7 +8795,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8800
8795
|
*/
|
|
8801
8796
|
var PortalContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createContext({});
|
|
8802
8797
|
PortalContext.displayName = "PortalContext";
|
|
8803
|
-
//# sourceMappingURL=portal-context.js.map
|
|
8804
8798
|
|
|
8805
8799
|
/***/ }),
|
|
8806
8800
|
|
|
@@ -8912,7 +8906,6 @@ Portal.propTypes = {
|
|
|
8912
8906
|
viewBox: (prop_types__WEBPACK_IMPORTED_MODULE_2___default().string),
|
|
8913
8907
|
width: _victory_util_prop_types__WEBPACK_IMPORTED_MODULE_3__.nonNegative
|
|
8914
8908
|
};
|
|
8915
|
-
//# sourceMappingURL=portal.js.map
|
|
8916
8909
|
|
|
8917
8910
|
/***/ }),
|
|
8918
8911
|
|
|
@@ -9056,7 +9049,6 @@ VictoryPortal.defaultProps = {
|
|
|
9056
9049
|
groupComponent: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement("g", null)
|
|
9057
9050
|
};
|
|
9058
9051
|
VictoryPortal.contextType = _portal_context__WEBPACK_IMPORTED_MODULE_5__.PortalContext;
|
|
9059
|
-
//# sourceMappingURL=victory-portal.js.map
|
|
9060
9052
|
|
|
9061
9053
|
/***/ }),
|
|
9062
9054
|
|
|
@@ -9099,7 +9091,6 @@ var Circle = function (props) {
|
|
|
9099
9091
|
vectorEffect: "non-scaling-stroke"
|
|
9100
9092
|
}, rest));
|
|
9101
9093
|
};
|
|
9102
|
-
//# sourceMappingURL=circle.js.map
|
|
9103
9094
|
|
|
9104
9095
|
/***/ }),
|
|
9105
9096
|
|
|
@@ -9132,7 +9123,6 @@ ClipPath.propTypes = {
|
|
|
9132
9123
|
children: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([prop_types__WEBPACK_IMPORTED_MODULE_1___default().arrayOf((prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().node)]),
|
|
9133
9124
|
clipId: prop_types__WEBPACK_IMPORTED_MODULE_1___default().oneOfType([(prop_types__WEBPACK_IMPORTED_MODULE_1___default().number), (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)])
|
|
9134
9125
|
};
|
|
9135
|
-
//# sourceMappingURL=clip-path.js.map
|
|
9136
9126
|
|
|
9137
9127
|
/***/ }),
|
|
9138
9128
|
|
|
@@ -9169,7 +9159,6 @@ var Path = function (props) {
|
|
|
9169
9159
|
// @ts-expect-error FIXME: "id cannot be a number"
|
|
9170
9160
|
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("path", rest);
|
|
9171
9161
|
};
|
|
9172
|
-
//# sourceMappingURL=path.js.map
|
|
9173
9162
|
|
|
9174
9163
|
/***/ }),
|
|
9175
9164
|
|
|
@@ -9212,7 +9201,6 @@ var Rect = function (props) {
|
|
|
9212
9201
|
vectorEffect: "non-scaling-stroke"
|
|
9213
9202
|
}, rest));
|
|
9214
9203
|
};
|
|
9215
|
-
//# sourceMappingURL=rect.js.map
|
|
9216
9204
|
|
|
9217
9205
|
/***/ }),
|
|
9218
9206
|
|
|
@@ -9256,7 +9244,6 @@ Text.propTypes = {
|
|
|
9256
9244
|
desc: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string),
|
|
9257
9245
|
title: (prop_types__WEBPACK_IMPORTED_MODULE_1___default().string)
|
|
9258
9246
|
};
|
|
9259
|
-
//# sourceMappingURL=text.js.map
|
|
9260
9247
|
|
|
9261
9248
|
/***/ }),
|
|
9262
9249
|
|
|
@@ -9281,7 +9268,6 @@ var TSpan = function (props) {
|
|
|
9281
9268
|
react__WEBPACK_IMPORTED_MODULE_0___default().createElement("tspan", props)
|
|
9282
9269
|
);
|
|
9283
9270
|
};
|
|
9284
|
-
//# sourceMappingURL=tspan.js.map
|
|
9285
9271
|
|
|
9286
9272
|
/***/ }),
|
|
9287
9273
|
|
|
@@ -9557,7 +9543,6 @@ var grayscale = {
|
|
|
9557
9543
|
}
|
|
9558
9544
|
}, baseProps)
|
|
9559
9545
|
};
|
|
9560
|
-
//# sourceMappingURL=grayscale.js.map
|
|
9561
9546
|
|
|
9562
9547
|
/***/ }),
|
|
9563
9548
|
|
|
@@ -9860,7 +9845,6 @@ var material = {
|
|
|
9860
9845
|
}
|
|
9861
9846
|
}, baseProps)
|
|
9862
9847
|
};
|
|
9863
|
-
//# sourceMappingURL=material.js.map
|
|
9864
9848
|
|
|
9865
9849
|
/***/ }),
|
|
9866
9850
|
|
|
@@ -9884,7 +9868,6 @@ var VictoryTheme = {
|
|
|
9884
9868
|
grayscale: _grayscale__WEBPACK_IMPORTED_MODULE_0__.grayscale,
|
|
9885
9869
|
material: _material__WEBPACK_IMPORTED_MODULE_1__.material
|
|
9886
9870
|
};
|
|
9887
|
-
//# sourceMappingURL=victory-theme.js.map
|
|
9888
9871
|
|
|
9889
9872
|
/***/ }),
|
|
9890
9873
|
|
|
@@ -10153,7 +10136,6 @@ VictoryTransition.propTypes = {
|
|
|
10153
10136
|
children: (prop_types__WEBPACK_IMPORTED_MODULE_9___default().node)
|
|
10154
10137
|
};
|
|
10155
10138
|
VictoryTransition.contextType = _victory_util_timer_context__WEBPACK_IMPORTED_MODULE_10__["default"];
|
|
10156
|
-
//# sourceMappingURL=victory-transition.js.map
|
|
10157
10139
|
|
|
10158
10140
|
/***/ }),
|
|
10159
10141
|
|
|
@@ -10619,7 +10601,6 @@ function addEvents(WrappedComponent) {
|
|
|
10619
10601
|
|
|
10620
10602
|
return AddEventsMixin;
|
|
10621
10603
|
}
|
|
10622
|
-
//# sourceMappingURL=add-events.js.map
|
|
10623
10604
|
|
|
10624
10605
|
/***/ }),
|
|
10625
10606
|
|
|
@@ -10703,7 +10684,6 @@ function getMinValue(arr) {
|
|
|
10703
10684
|
return containsDates(array) ? new Date(Math.min.apply(Math, _toConsumableArray(array))) // Dates will be coerced to numbers
|
|
10704
10685
|
: Math.min.apply(Math, _toConsumableArray(array));
|
|
10705
10686
|
}
|
|
10706
|
-
//# sourceMappingURL=collection.js.map
|
|
10707
10687
|
|
|
10708
10688
|
/***/ }),
|
|
10709
10689
|
|
|
@@ -10853,7 +10833,6 @@ var CommonProps = {
|
|
|
10853
10833
|
baseProps: baseProps,
|
|
10854
10834
|
primitiveProps: primitiveProps
|
|
10855
10835
|
};
|
|
10856
|
-
//# sourceMappingURL=common-props.js.map
|
|
10857
10836
|
|
|
10858
10837
|
/***/ }),
|
|
10859
10838
|
|
|
@@ -11367,7 +11346,6 @@ function isDataComponent(component) {
|
|
|
11367
11346
|
var whitelist = ["area", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi"];
|
|
11368
11347
|
return lodash_includes__WEBPACK_IMPORTED_MODULE_2___default()(whitelist, role);
|
|
11369
11348
|
}
|
|
11370
|
-
//# sourceMappingURL=data.js.map
|
|
11371
11349
|
|
|
11372
11350
|
/***/ }),
|
|
11373
11351
|
|
|
@@ -11490,7 +11468,6 @@ function discreteTransitions() {
|
|
|
11490
11468
|
}
|
|
11491
11469
|
};
|
|
11492
11470
|
}
|
|
11493
|
-
//# sourceMappingURL=default-transitions.js.map
|
|
11494
11471
|
|
|
11495
11472
|
/***/ }),
|
|
11496
11473
|
|
|
@@ -11946,7 +11923,6 @@ function isDomainComponent(component) {
|
|
|
11946
11923
|
var whitelist = ["area", "axis", "bar", "boxplot", "candlestick", "errorbar", "group", "histogram", "line", "pie", "scatter", "stack", "voronoi"];
|
|
11947
11924
|
return lodash_includes__WEBPACK_IMPORTED_MODULE_1___default()(whitelist, role);
|
|
11948
11925
|
}
|
|
11949
|
-
//# sourceMappingURL=domain.js.map
|
|
11950
11926
|
|
|
11951
11927
|
/***/ }),
|
|
11952
11928
|
|
|
@@ -12452,7 +12428,6 @@ var emulateReactEvent = function (event) {
|
|
|
12452
12428
|
nativeEvent: event
|
|
12453
12429
|
});
|
|
12454
12430
|
};
|
|
12455
|
-
//# sourceMappingURL=events.js.map
|
|
12456
12431
|
|
|
12457
12432
|
/***/ }),
|
|
12458
12433
|
|
|
@@ -12849,7 +12824,6 @@ function isHorizontal(props) {
|
|
|
12849
12824
|
|
|
12850
12825
|
return traverseChildren(react__WEBPACK_IMPORTED_MODULE_6___default().Children.toArray(props.children));
|
|
12851
12826
|
}
|
|
12852
|
-
//# sourceMappingURL=helpers.js.map
|
|
12853
12827
|
|
|
12854
12828
|
/***/ }),
|
|
12855
12829
|
|
|
@@ -12902,7 +12876,6 @@ function shallowToJS(x, whitelist) {
|
|
|
12902
12876
|
return result;
|
|
12903
12877
|
}, isList(x) ? [] : {}) : x;
|
|
12904
12878
|
}
|
|
12905
|
-
//# sourceMappingURL=immutable.js.map
|
|
12906
12879
|
|
|
12907
12880
|
/***/ }),
|
|
12908
12881
|
|
|
@@ -13160,7 +13133,6 @@ function getProps(props, index) {
|
|
|
13160
13133
|
var tooltipTheme = theme && theme.tooltip || {};
|
|
13161
13134
|
return lodash_defaults__WEBPACK_IMPORTED_MODULE_0___default()({}, labelProps, _helpers__WEBPACK_IMPORTED_MODULE_1__.omit(tooltipTheme, ["style"]));
|
|
13162
13135
|
}
|
|
13163
|
-
//# sourceMappingURL=label-helpers.js.map
|
|
13164
13136
|
|
|
13165
13137
|
/***/ }),
|
|
13166
13138
|
|
|
@@ -13239,7 +13211,6 @@ var getLineFunction = function (props) {
|
|
|
13239
13211
|
horizontal = props.horizontal;
|
|
13240
13212
|
return polar ? victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_0__.lineRadial().defined(defined).curve(getInterpolationFunction(props)).angle(getAngleAccessor(scale)).radius(getYAccessor(scale)) : victory_vendor_d3_shape__WEBPACK_IMPORTED_MODULE_0__.line().defined(defined).curve(getInterpolationFunction(props)).x(horizontal ? getYAccessor(scale) : getXAccessor(scale)).y(horizontal ? getXAccessor(scale) : getYAccessor(scale));
|
|
13241
13213
|
};
|
|
13242
|
-
//# sourceMappingURL=line-helpers.js.map
|
|
13243
13214
|
|
|
13244
13215
|
/***/ }),
|
|
13245
13216
|
|
|
@@ -13265,7 +13236,6 @@ function warn(message) {
|
|
|
13265
13236
|
}
|
|
13266
13237
|
}
|
|
13267
13238
|
}
|
|
13268
|
-
//# sourceMappingURL=log.js.map
|
|
13269
13239
|
|
|
13270
13240
|
/***/ }),
|
|
13271
13241
|
|
|
@@ -13538,7 +13508,6 @@ var regExp = makeChainable(function (props, propName, componentName) {
|
|
|
13538
13508
|
|
|
13539
13509
|
return null;
|
|
13540
13510
|
});
|
|
13541
|
-
//# sourceMappingURL=prop-types.js.map
|
|
13542
13511
|
|
|
13543
13512
|
/***/ }),
|
|
13544
13513
|
|
|
@@ -13710,7 +13679,6 @@ function getType(scale) {
|
|
|
13710
13679
|
})[0];
|
|
13711
13680
|
return scaleType ? scaleType.name : undefined;
|
|
13712
13681
|
}
|
|
13713
|
-
//# sourceMappingURL=scale.js.map
|
|
13714
13682
|
|
|
13715
13683
|
/***/ }),
|
|
13716
13684
|
|
|
@@ -13782,7 +13750,6 @@ function getColorScale(name) {
|
|
|
13782
13750
|
};
|
|
13783
13751
|
return name ? scales[name] : scales.grayscale;
|
|
13784
13752
|
}
|
|
13785
|
-
//# sourceMappingURL=style.js.map
|
|
13786
13753
|
|
|
13787
13754
|
/***/ }),
|
|
13788
13755
|
|
|
@@ -14090,7 +14057,6 @@ var _approximateTextSizeInternal = {
|
|
|
14090
14057
|
var approximateTextSize = function (text, style) {
|
|
14091
14058
|
return _approximateTextSizeInternal.impl(text, style);
|
|
14092
14059
|
};
|
|
14093
|
-
//# sourceMappingURL=textsize.js.map
|
|
14094
14060
|
|
|
14095
14061
|
/***/ }),
|
|
14096
14062
|
|
|
@@ -14121,7 +14087,6 @@ var TimerContext = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().cre
|
|
|
14121
14087
|
});
|
|
14122
14088
|
TimerContext.displayName = "TimerContext";
|
|
14123
14089
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (TimerContext);
|
|
14124
|
-
//# sourceMappingURL=timer-context.js.map
|
|
14125
14090
|
|
|
14126
14091
|
/***/ }),
|
|
14127
14092
|
|
|
@@ -14224,7 +14189,6 @@ var Timer = /*#__PURE__*/function () {
|
|
|
14224
14189
|
}();
|
|
14225
14190
|
|
|
14226
14191
|
|
|
14227
|
-
//# sourceMappingURL=timer.js.map
|
|
14228
14192
|
|
|
14229
14193
|
/***/ }),
|
|
14230
14194
|
|
|
@@ -14659,7 +14623,6 @@ function getTransitionPropsFactory(props, state, setState) {
|
|
|
14659
14623
|
};
|
|
14660
14624
|
};
|
|
14661
14625
|
}
|
|
14662
|
-
//# sourceMappingURL=transitions.js.map
|
|
14663
14626
|
|
|
14664
14627
|
/***/ }),
|
|
14665
14628
|
|
|
@@ -14706,7 +14669,9 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
14706
14669
|
var USER_PROPS_SAFELIST = {
|
|
14707
14670
|
startsWith: ["data-", "aria-"],
|
|
14708
14671
|
exactMatch: []
|
|
14709
|
-
};
|
|
14672
|
+
}; // Normally we'd use Template Literal Types, but we're avoiding it to maximize TS compatibility with TS < 4.1
|
|
14673
|
+
|
|
14674
|
+
// `data-${string}` | `aria-${string}`;
|
|
14710
14675
|
|
|
14711
14676
|
/**
|
|
14712
14677
|
* doesPropStartWith: Function that takes a prop's key and runs it against all
|
|
@@ -14800,7 +14765,6 @@ var getSafeUserProps = function (props) {
|
|
|
14800
14765
|
var withSafeUserProps = function (component, props) {
|
|
14801
14766
|
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0__.cloneElement(component, getSafeUserProps(props));
|
|
14802
14767
|
};
|
|
14803
|
-
//# sourceMappingURL=user-props.js.map
|
|
14804
14768
|
|
|
14805
14769
|
/***/ }),
|
|
14806
14770
|
|
package/es/area.js
CHANGED
package/es/helper-methods.js
CHANGED
package/es/index.js
CHANGED
package/es/victory-area.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ declare class VictoryAreaBase extends React.Component<VictoryAreaProps> {
|
|
|
88
88
|
static getBaseProps: (props: any) => any;
|
|
89
89
|
static expectedComponents: string[];
|
|
90
90
|
shouldAnimate(): boolean;
|
|
91
|
-
render(): any
|
|
91
|
+
render(): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
92
92
|
}
|
|
93
93
|
export declare const VictoryArea: {
|
|
94
94
|
new (props: import("victory-core").EventMixinCommonProps): {
|
|
@@ -116,7 +116,7 @@ export declare const VictoryArea: {
|
|
|
116
116
|
getAllEvents(props: any): any;
|
|
117
117
|
getComponentProps(component: any, type: any, index: any): any;
|
|
118
118
|
renderContainer(component: any, children: any): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
119
|
-
animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]):
|
|
119
|
+
animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
120
120
|
renderContinuousData(props: import("victory-core").EventMixinCommonProps): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
121
121
|
renderData(props: any, shouldRenderDatum?: ((datum: any) => boolean) | undefined): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
122
122
|
context: unknown;
|
|
@@ -145,6 +145,8 @@ export declare const VictoryArea: {
|
|
|
145
145
|
getBaseProps?(props: import("victory-core").EventMixinCommonProps): Record<string, object>;
|
|
146
146
|
role?: string | undefined;
|
|
147
147
|
expectedComponents?: string[] | undefined;
|
|
148
|
+
getChildren?: ((props: import("victory-core").EventMixinCommonProps, childComponents?: React.ReactNode[] | undefined, calculatedProps?: import("victory-core").EventMixinCommonProps | undefined) => void) | undefined;
|
|
149
|
+
animationWhitelist?: string[] | undefined;
|
|
148
150
|
} & typeof VictoryAreaBase;
|
|
149
151
|
export {};
|
|
150
152
|
//# sourceMappingURL=victory-area.d.ts.map
|
package/es/victory-area.js
CHANGED
|
@@ -119,5 +119,4 @@ VictoryAreaBase.getBaseProps = function (props) {
|
|
|
119
119
|
};
|
|
120
120
|
|
|
121
121
|
VictoryAreaBase.expectedComponents = ["dataComponent", "labelComponent", "groupComponent", "containerComponent"];
|
|
122
|
-
export var VictoryArea = addEvents(VictoryAreaBase, options);
|
|
123
|
-
//# sourceMappingURL=victory-area.js.map
|
|
122
|
+
export var VictoryArea = addEvents(VictoryAreaBase, options);
|
package/lib/area.js
CHANGED
package/lib/helper-methods.js
CHANGED
package/lib/index.js
CHANGED
package/lib/victory-area.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ declare class VictoryAreaBase extends React.Component<VictoryAreaProps> {
|
|
|
88
88
|
static getBaseProps: (props: any) => any;
|
|
89
89
|
static expectedComponents: string[];
|
|
90
90
|
shouldAnimate(): boolean;
|
|
91
|
-
render(): any
|
|
91
|
+
render(): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
92
92
|
}
|
|
93
93
|
export declare const VictoryArea: {
|
|
94
94
|
new (props: import("victory-core").EventMixinCommonProps): {
|
|
@@ -116,7 +116,7 @@ export declare const VictoryArea: {
|
|
|
116
116
|
getAllEvents(props: any): any;
|
|
117
117
|
getComponentProps(component: any, type: any, index: any): any;
|
|
118
118
|
renderContainer(component: any, children: any): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
119
|
-
animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]):
|
|
119
|
+
animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
120
120
|
renderContinuousData(props: import("victory-core").EventMixinCommonProps): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
121
121
|
renderData(props: any, shouldRenderDatum?: ((datum: any) => boolean) | undefined): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
122
122
|
context: unknown;
|
|
@@ -145,6 +145,8 @@ export declare const VictoryArea: {
|
|
|
145
145
|
getBaseProps?(props: import("victory-core").EventMixinCommonProps): Record<string, object>;
|
|
146
146
|
role?: string | undefined;
|
|
147
147
|
expectedComponents?: string[] | undefined;
|
|
148
|
+
getChildren?: ((props: import("victory-core").EventMixinCommonProps, childComponents?: React.ReactNode[] | undefined, calculatedProps?: import("victory-core").EventMixinCommonProps | undefined) => void) | undefined;
|
|
149
|
+
animationWhitelist?: string[] | undefined;
|
|
148
150
|
} & typeof VictoryAreaBase;
|
|
149
151
|
export {};
|
|
150
152
|
//# sourceMappingURL=victory-area.d.ts.map
|
package/lib/victory-area.js
CHANGED
|
@@ -135,5 +135,4 @@ VictoryAreaBase.getBaseProps = function (props) {
|
|
|
135
135
|
|
|
136
136
|
VictoryAreaBase.expectedComponents = ["dataComponent", "labelComponent", "groupComponent", "containerComponent"];
|
|
137
137
|
var VictoryArea = (0, _victoryCore.addEvents)(VictoryAreaBase, options);
|
|
138
|
-
exports.VictoryArea = VictoryArea;
|
|
139
|
-
//# sourceMappingURL=victory-area.js.map
|
|
138
|
+
exports.VictoryArea = VictoryArea;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-area",
|
|
3
|
-
"version": "36.6.
|
|
3
|
+
"version": "36.6.3",
|
|
4
4
|
"description": "Area Component for Victory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data visualization",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"lodash": "^4.17.19",
|
|
24
24
|
"prop-types": "^15.8.1",
|
|
25
|
-
"victory-core": "^36.6.
|
|
26
|
-
"victory-vendor": "^36.6.
|
|
25
|
+
"victory-core": "^36.6.3",
|
|
26
|
+
"victory-vendor": "^36.6.3"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": ">=16.6.0"
|
|
@@ -53,7 +53,9 @@
|
|
|
53
53
|
"files": [
|
|
54
54
|
"src/**",
|
|
55
55
|
"!src/**/*.test.*",
|
|
56
|
-
"../../.babelrc.build.js"
|
|
56
|
+
"../../.babelrc.build.js",
|
|
57
|
+
"../../.babelrc.js",
|
|
58
|
+
"../../package-scripts.js"
|
|
57
59
|
],
|
|
58
60
|
"output": [
|
|
59
61
|
"es/**/*.js",
|
|
@@ -72,7 +74,9 @@
|
|
|
72
74
|
"files": [
|
|
73
75
|
"src/**",
|
|
74
76
|
"!src/**/*.test.*",
|
|
75
|
-
"../../.babelrc.build.js"
|
|
77
|
+
"../../.babelrc.build.js",
|
|
78
|
+
"../../.babelrc.js",
|
|
79
|
+
"../../package-scripts.js"
|
|
76
80
|
],
|
|
77
81
|
"output": [
|
|
78
82
|
"lib/**/*.js",
|
|
@@ -98,6 +102,8 @@
|
|
|
98
102
|
"src/**",
|
|
99
103
|
"!src/**/*.test.*",
|
|
100
104
|
"../../.babelrc.build.js",
|
|
105
|
+
"../../.babelrc.js",
|
|
106
|
+
"../../package-scripts.js",
|
|
101
107
|
"../../config/webpack.config.js",
|
|
102
108
|
"../../config/webpack.config.dev.js"
|
|
103
109
|
],
|
|
@@ -119,6 +125,8 @@
|
|
|
119
125
|
"src/**",
|
|
120
126
|
"!src/**/*.test.*",
|
|
121
127
|
"../../.babelrc.build.js",
|
|
128
|
+
"../../.babelrc.js",
|
|
129
|
+
"../../package-scripts.js",
|
|
122
130
|
"../../config/webpack.config.js"
|
|
123
131
|
],
|
|
124
132
|
"output": [
|
|
@@ -132,6 +140,14 @@
|
|
|
132
140
|
"pnpm-lock.yaml"
|
|
133
141
|
]
|
|
134
142
|
},
|
|
143
|
+
"check": {
|
|
144
|
+
"dependencies": [
|
|
145
|
+
"types:check",
|
|
146
|
+
"jest",
|
|
147
|
+
"format",
|
|
148
|
+
"lint"
|
|
149
|
+
]
|
|
150
|
+
},
|
|
135
151
|
"types:check": {
|
|
136
152
|
"command": "nps types:pkg:check",
|
|
137
153
|
"files": [
|
|
@@ -186,6 +202,19 @@
|
|
|
186
202
|
"pnpm-lock.yaml"
|
|
187
203
|
]
|
|
188
204
|
},
|
|
205
|
+
"format:fix": {
|
|
206
|
+
"command": "pnpm run format || nps format:pkg:fix",
|
|
207
|
+
"files": [
|
|
208
|
+
"src/**",
|
|
209
|
+
"*.json",
|
|
210
|
+
"../../.prettierignore",
|
|
211
|
+
"../../.prettierrc.json"
|
|
212
|
+
],
|
|
213
|
+
"output": [],
|
|
214
|
+
"packageLocks": [
|
|
215
|
+
"pnpm-lock.yaml"
|
|
216
|
+
]
|
|
217
|
+
},
|
|
189
218
|
"lint": {
|
|
190
219
|
"command": "nps lint:pkg",
|
|
191
220
|
"files": [
|
|
@@ -205,19 +234,6 @@
|
|
|
205
234
|
"pnpm-lock.yaml"
|
|
206
235
|
]
|
|
207
236
|
},
|
|
208
|
-
"format:fix": {
|
|
209
|
-
"command": "pnpm run format || nps format:pkg:fix",
|
|
210
|
-
"files": [
|
|
211
|
-
"src/**",
|
|
212
|
-
"*.json",
|
|
213
|
-
"../../.prettierignore",
|
|
214
|
-
"../../.prettierrc.json"
|
|
215
|
-
],
|
|
216
|
-
"output": [],
|
|
217
|
-
"packageLocks": [
|
|
218
|
-
"pnpm-lock.yaml"
|
|
219
|
-
]
|
|
220
|
-
},
|
|
221
237
|
"lint:fix": {
|
|
222
238
|
"command": "pnpm run lint || nps lint:pkg:fix",
|
|
223
239
|
"files": [
|
|
@@ -267,6 +283,7 @@
|
|
|
267
283
|
"build:dist": "wireit",
|
|
268
284
|
"build:dist:dev": "wireit",
|
|
269
285
|
"build:dist:min": "wireit",
|
|
286
|
+
"check": "wireit",
|
|
270
287
|
"types:check": "wireit",
|
|
271
288
|
"types:create": "wireit",
|
|
272
289
|
"format": "wireit",
|