victory-stack 36.9.2-next.3 → 37.0.0

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.
@@ -1,53 +1,53 @@
1
- export declare function getCalculatedProps(initialProps: any, childComponents: any): {
2
- datasets: any;
3
- categories: any;
4
- range: any;
5
- domain: {
6
- x: any;
7
- y: any;
8
- };
9
- horizontal: any;
10
- scale: {
11
- x: import("victory-core").D3Scale<any>;
12
- y: import("victory-core").D3Scale<any>;
13
- };
14
- style: any;
15
- colorScale: any;
16
- role: string;
17
- };
18
- export declare function useMemoizedProps(initialProps: any): {
19
- datasets: any;
20
- categories: any;
21
- range: any;
22
- domain: {
23
- x: any;
24
- y: any;
25
- };
26
- horizontal: any;
27
- scale: {
28
- x: import("victory-core").D3Scale<any>;
29
- y: import("victory-core").D3Scale<any>;
30
- };
31
- style: any;
32
- colorScale: any;
33
- role: string;
34
- };
35
- export declare function getChildProps(props: any, calculatedProps: any): {
36
- height: any;
37
- width: any;
38
- padding: {
39
- top: any;
40
- bottom: any;
41
- left: any;
42
- right: any;
43
- };
44
- standalone: boolean;
45
- theme: any;
46
- categories: any;
47
- domain: any;
48
- range: any;
49
- scale: any;
50
- horizontal: any;
51
- };
52
- export declare function getChildren(initialProps: any, childComponents: any, calculatedProps: any): any;
1
+ export declare function getCalculatedProps(initialProps: any, childComponents: any): {
2
+ datasets: any;
3
+ categories: any;
4
+ range: any;
5
+ domain: {
6
+ x: any;
7
+ y: any;
8
+ };
9
+ horizontal: any;
10
+ scale: {
11
+ x: import("victory-core").D3Scale<any>;
12
+ y: import("victory-core").D3Scale<any>;
13
+ };
14
+ style: any;
15
+ colorScale: any;
16
+ role: string;
17
+ };
18
+ export declare function useMemoizedProps(initialProps: any): {
19
+ datasets: any;
20
+ categories: any;
21
+ range: any;
22
+ domain: {
23
+ x: any;
24
+ y: any;
25
+ };
26
+ horizontal: any;
27
+ scale: {
28
+ x: import("victory-core").D3Scale<any>;
29
+ y: import("victory-core").D3Scale<any>;
30
+ };
31
+ style: any;
32
+ colorScale: any;
33
+ role: string;
34
+ };
35
+ export declare function getChildProps(props: any, calculatedProps: any): {
36
+ height: any;
37
+ width: any;
38
+ padding: {
39
+ top: any;
40
+ bottom: any;
41
+ left: any;
42
+ right: any;
43
+ };
44
+ standalone: boolean;
45
+ theme: any;
46
+ categories: any;
47
+ domain: any;
48
+ range: any;
49
+ scale: any;
50
+ horizontal: any;
51
+ };
52
+ export declare function getChildren(initialProps: any, childComponents: any, calculatedProps: any): any;
53
53
  //# sourceMappingURL=helper-methods.d.ts.map
@@ -1,78 +1,53 @@
1
1
  import _orderBy from "lodash/orderBy";
2
-
3
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
-
5
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
6
-
7
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
8
-
9
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
10
-
11
- function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
12
-
13
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
14
-
15
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
16
-
17
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
18
-
19
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
20
-
2
+ /* eslint-disable no-use-before-define */
21
3
  import React from "react";
22
4
  import { Helpers, Scale, Wrapper } from "victory-core";
23
5
  import isEqual from "react-fast-compare";
24
- var fallbackProps = {
6
+ const fallbackProps = {
25
7
  width: 450,
26
8
  height: 300,
27
9
  padding: 50
28
- }; // Assumes data in `datasets` is sorted by `Data.getData`.
10
+ };
29
11
 
12
+ // Assumes data in `datasets` is sorted by `Data.getData`.
30
13
  function fillData(props, datasets) {
31
- var fillInMissingData = props.fillInMissingData;
32
- var xMap = datasets.reduce(function (prev, dataset) {
33
- dataset.forEach(function (datum) {
14
+ const {
15
+ fillInMissingData
16
+ } = props;
17
+ const xMap = datasets.reduce((prev, dataset) => {
18
+ dataset.forEach(datum => {
34
19
  prev[datum._x instanceof Date ? datum._x.getTime() : datum._x] = true;
35
20
  });
36
21
  return prev;
37
22
  }, {});
38
- var xKeys = Object.keys(xMap).map(function (k) {
39
- return Number(k);
40
- });
41
-
42
- var xArr = _orderBy(xKeys);
43
-
44
- return datasets.map(function (dataset) {
45
- var indexOffset = 0;
46
- var isDate = dataset[0] && dataset[0]._x instanceof Date;
47
- var filledInData = xArr.map(function (x, index) {
48
- var parsedX = Number(x);
49
- var datum = dataset[index - indexOffset];
50
-
23
+ const xKeys = Object.keys(xMap).map(k => Number(k));
24
+ const xArr = _orderBy(xKeys);
25
+ return datasets.map(dataset => {
26
+ let indexOffset = 0;
27
+ const isDate = dataset[0] && dataset[0]._x instanceof Date;
28
+ const filledInData = xArr.map((x, index) => {
29
+ let parsedX = Number(x);
30
+ const datum = dataset[index - indexOffset];
51
31
  if (datum) {
52
- var x1 = isDate ? datum._x.getTime() : datum._x;
53
-
32
+ const x1 = isDate ? datum._x.getTime() : datum._x;
54
33
  if (x1 === parsedX) {
55
34
  return datum;
56
35
  }
57
-
58
36
  indexOffset++;
59
-
60
- var _y = fillInMissingData ? 0 : null;
61
-
37
+ const y = fillInMissingData ? 0 : null;
62
38
  parsedX = isDate ? new Date(parsedX) : parsedX;
63
39
  return {
64
40
  x: parsedX,
65
- y: _y,
41
+ y,
66
42
  _x: parsedX,
67
- _y: _y
43
+ _y: y
68
44
  };
69
45
  }
70
-
71
- var y = fillInMissingData ? 0 : null;
46
+ const y = fillInMissingData ? 0 : null;
72
47
  parsedX = isDate ? new Date(parsedX) : parsedX;
73
48
  return {
74
49
  x: parsedX,
75
- y: y,
50
+ y,
76
51
  _x: parsedX,
77
52
  _y: y
78
53
  };
@@ -80,40 +55,29 @@ function fillData(props, datasets) {
80
55
  return filledInData;
81
56
  });
82
57
  }
83
-
84
58
  function getY0(datum, index, datasets) {
85
59
  if (datum.y0) {
86
60
  return datum.y0;
87
61
  }
88
-
89
- var y = datum._y;
90
- var group = datum._group;
91
- var firstDatasetBaseline = datasets[0].map(function (d) {
92
- return d.y0;
93
- });
94
- var previousDatasets = datasets.slice(0, index);
95
- var previousPoints = previousDatasets.reduce(function (prev, dataset) {
96
- return prev.concat(dataset.filter(function (previousDatum) {
97
- return datum._x instanceof Date ? previousDatum._x.getTime() === datum._x.getTime() : previousDatum._x === datum._x;
98
- }).map(function (previousDatum) {
99
- return previousDatum._y || 0;
100
- }));
62
+ const y = datum._y;
63
+ const group = datum._group;
64
+ const firstDatasetBaseline = datasets[0].map(d => d.y0);
65
+ const previousDatasets = datasets.slice(0, index);
66
+ const previousPoints = previousDatasets.reduce((prev, dataset) => {
67
+ return prev.concat(dataset.filter(previousDatum => datum._x instanceof Date ? previousDatum._x.getTime() === datum._x.getTime() : previousDatum._x === datum._x).map(previousDatum => previousDatum._y || 0));
101
68
  }, []);
102
- var y0 = previousPoints.length && previousPoints.reduce(function (memo, value) {
103
- var sameSign = y < 0 && value < 0 || y >= 0 && value >= 0;
69
+ const y0 = previousPoints.length && previousPoints.reduce((memo, value) => {
70
+ const sameSign = y < 0 && value < 0 || y >= 0 && value >= 0;
104
71
  return sameSign ? Number(value) + memo : memo;
105
72
  }, firstDatasetBaseline[group] || 0);
106
- return previousPoints.some(function (point) {
107
- return point instanceof Date;
108
- }) ? new Date(y0) : y0;
73
+ return previousPoints.some(point => point instanceof Date) ? new Date(y0) : y0;
109
74
  }
110
- /* eslint-disable no-nested-ternary */
111
-
112
75
 
76
+ /* eslint-disable no-nested-ternary */
113
77
  function addLayoutData(props, datasets, index) {
114
- var xOffset = props.xOffset || 0;
115
- return datasets[index].map(function (datum) {
116
- var yOffset = getY0(datum, index, datasets) || 0;
78
+ const xOffset = props.xOffset || 0;
79
+ return datasets[index].map(datum => {
80
+ const yOffset = getY0(datum, index, datasets) || 0;
117
81
  return Object.assign({}, datum, {
118
82
  _y0: !(datum._y instanceof Date) ? yOffset : yOffset ? new Date(yOffset) : datum._y,
119
83
  _y1: datum._y === null ? null : datum._y instanceof Date ? new Date(Number(datum._y) + Number(yOffset)) : datum._y + yOffset,
@@ -123,162 +87,152 @@ function addLayoutData(props, datasets, index) {
123
87
  }
124
88
  /* eslint-enable no-nested-ternary */
125
89
 
126
-
127
90
  function stackData(props, childComponents) {
128
- var dataFromChildren = Wrapper.getDataFromChildren(props, childComponents);
129
- var filterNullChildData = dataFromChildren.map(function (dataset) {
130
- return dataset.filter(function (datum) {
131
- return datum._x !== null && datum._y !== null;
132
- });
133
- });
134
- var datasets = fillData(props, filterNullChildData);
135
- return datasets.map(function (d, i) {
136
- return addLayoutData(props, datasets, i);
137
- });
91
+ const dataFromChildren = Wrapper.getDataFromChildren(props, childComponents);
92
+ const filterNullChildData = dataFromChildren.map(dataset => dataset.filter(datum => datum._x !== null && datum._y !== null));
93
+ const datasets = fillData(props, filterNullChildData);
94
+ return datasets.map((d, i) => addLayoutData(props, datasets, i));
138
95
  }
139
-
140
96
  export function getCalculatedProps(initialProps, childComponents) {
141
- var children = childComponents || React.Children.toArray(initialProps.children);
142
- var role = "stack";
143
- var props = Helpers.modifyProps(initialProps, fallbackProps, role);
144
- var style = Wrapper.getStyle(props.theme, props.style, role);
145
- var categories = props.categories || Wrapper.getCategories(props, children);
146
- var datasets = props.datasets || stackData(props, children);
147
- var clonedChildren = children.map(function (c, i) {
97
+ const children = childComponents || React.Children.toArray(initialProps.children);
98
+ const role = "stack";
99
+ const props = Helpers.modifyProps(initialProps, fallbackProps, role);
100
+ const style = Wrapper.getStyle(props.theme, props.style, role);
101
+ const categories = props.categories || Wrapper.getCategories(props, children);
102
+ const datasets = props.datasets || stackData(props, children);
103
+ const clonedChildren = children.map((c, i) => {
148
104
  return /*#__PURE__*/React.cloneElement(c, {
149
105
  data: datasets[i]
150
106
  });
151
107
  });
152
- var domain = {
108
+ const domain = {
153
109
  x: Wrapper.getDomain(Object.assign({}, props, {
154
- categories: categories
110
+ categories
155
111
  }), "x", clonedChildren),
156
112
  y: Wrapper.getDomain(Object.assign({}, props, {
157
- categories: categories
113
+ categories
158
114
  }), "y", clonedChildren)
159
115
  };
160
- var range = props.range || {
116
+ const range = props.range || {
161
117
  x: Helpers.getRange(props, "x"),
162
118
  y: Helpers.getRange(props, "y")
163
119
  };
164
- var baseScale = {
120
+ const baseScale = {
165
121
  x: Scale.getScaleFromProps(props, "x") || Wrapper.getScale(props, "x"),
166
122
  y: Scale.getScaleFromProps(props, "y") || Wrapper.getScale(props, "y")
167
123
  };
168
- var scale = {
124
+ const scale = {
169
125
  x: baseScale.x.domain(domain.x).range(props.horizontal ? range.y : range.x),
170
126
  y: baseScale.y.domain(domain.y).range(props.horizontal ? range.x : range.y)
171
127
  };
172
- var colorScale = props.colorScale,
173
- horizontal = props.horizontal;
128
+ const {
129
+ colorScale,
130
+ horizontal
131
+ } = props;
174
132
  return {
175
- datasets: datasets,
176
- categories: categories,
177
- range: range,
178
- domain: domain,
179
- horizontal: horizontal,
180
- scale: scale,
181
- style: style,
182
- colorScale: colorScale,
183
- role: role
133
+ datasets,
134
+ categories,
135
+ range,
136
+ domain,
137
+ horizontal,
138
+ scale,
139
+ style,
140
+ colorScale,
141
+ role
184
142
  };
185
- } // We need to remove sharedEvents in order to memoize the calculated data
186
- // With shared events, the props change on every event, and every value is re-calculated
143
+ }
187
144
 
188
- var withoutSharedEvents = function (props) {
189
- var children = props.children;
190
- var modifiedChildren = React.Children.toArray(children).map(function (_child) {
191
- var child = _child;
192
- return _objectSpread(_objectSpread({}, child), {}, {
145
+ // We need to remove sharedEvents in order to memoize the calculated data
146
+ // With shared events, the props change on every event, and every value is re-calculated
147
+ const withoutSharedEvents = props => {
148
+ const {
149
+ children
150
+ } = props;
151
+ const modifiedChildren = React.Children.toArray(children).map(_child => {
152
+ const child = _child;
153
+ return {
154
+ ...child,
193
155
  props: Helpers.omit(child.props, ["sharedEvents"])
194
- });
156
+ };
195
157
  });
196
158
  props.children = modifiedChildren;
197
159
  return props;
198
160
  };
199
-
200
161
  export function useMemoizedProps(initialProps) {
201
- var modifiedProps = withoutSharedEvents(initialProps);
162
+ const modifiedProps = withoutSharedEvents(initialProps);
163
+ const [props, setProps] = React.useState(modifiedProps);
202
164
 
203
- var _React$useState = React.useState(modifiedProps),
204
- _React$useState2 = _slicedToArray(_React$useState, 2),
205
- props = _React$useState2[0],
206
- setProps = _React$useState2[1]; // React.memo uses shallow equality to compare objects. This way props
165
+ // React.memo uses shallow equality to compare objects. This way props
207
166
  // will only be re-calculated when they change.
208
-
209
-
210
- React.useEffect(function () {
167
+ React.useEffect(() => {
211
168
  if (!isEqual(modifiedProps, props)) {
212
169
  setProps(modifiedProps);
213
170
  }
214
171
  }, [props, setProps, modifiedProps]);
215
- return React.useMemo(function () {
172
+ return React.useMemo(() => {
216
173
  return getCalculatedProps(props, props.children);
217
174
  }, [props]);
218
175
  }
219
-
220
176
  function getLabels(props, datasets, index) {
221
177
  if (!props.labels) {
222
178
  return undefined;
223
179
  }
224
-
225
180
  return datasets.length === index + 1 ? props.labels : undefined;
226
181
  }
227
-
228
182
  export function getChildProps(props, calculatedProps) {
229
- var categories = calculatedProps.categories,
230
- domain = calculatedProps.domain,
231
- range = calculatedProps.range,
232
- scale = calculatedProps.scale,
233
- horizontal = calculatedProps.horizontal;
183
+ const {
184
+ categories,
185
+ domain,
186
+ range,
187
+ scale,
188
+ horizontal
189
+ } = calculatedProps;
234
190
  return {
235
191
  height: props.height,
236
192
  width: props.width,
237
193
  padding: Helpers.getPadding(props),
238
194
  standalone: false,
239
195
  theme: props.theme,
240
- categories: categories,
241
- domain: domain,
242
- range: range,
243
- scale: scale,
244
- horizontal: horizontal
196
+ categories,
197
+ domain,
198
+ range,
199
+ scale,
200
+ horizontal
245
201
  };
246
202
  }
247
-
248
203
  function getColorScale(props, child) {
249
- var role = child.type && child.type.role;
250
- var colorScaleOptions = child.props.colorScale || props.colorScale;
251
-
204
+ const role = child.type && child.type.role;
205
+ const colorScaleOptions = child.props.colorScale || props.colorScale;
252
206
  if (role !== "group" && role !== "stack") {
253
207
  return undefined;
254
208
  }
255
-
256
209
  return props.theme ? colorScaleOptions || props.theme.props.colorScale : colorScaleOptions;
257
210
  }
258
-
259
211
  export function getChildren(initialProps, childComponents, calculatedProps) {
260
- var props = Helpers.modifyProps(initialProps, fallbackProps, "stack");
261
- var children = childComponents || React.Children.toArray(props.children);
262
- var newCalculatedProps = calculatedProps || getCalculatedProps(props, children);
263
- var datasets = newCalculatedProps.datasets;
264
- var childProps = getChildProps(props, newCalculatedProps);
265
- var parentName = props.name || "stack";
266
- return children.map(function (child, index) {
267
- var role = child.type && child.type.role;
268
- var data = datasets[index];
269
- var style = Wrapper.getChildStyle(child, index, newCalculatedProps);
270
- var labels = props.labels ? getLabels(props, datasets, index) : child.props.labels;
271
- var name = child.props.name || "".concat(parentName, "-").concat(role, "-").concat(index);
212
+ const props = Helpers.modifyProps(initialProps, fallbackProps, "stack");
213
+ const children = childComponents || React.Children.toArray(props.children);
214
+ const newCalculatedProps = calculatedProps || getCalculatedProps(props, children);
215
+ const {
216
+ datasets
217
+ } = newCalculatedProps;
218
+ const childProps = getChildProps(props, newCalculatedProps);
219
+ const parentName = props.name || "stack";
220
+ return children.map((child, index) => {
221
+ const role = child.type && child.type.role;
222
+ const data = datasets[index];
223
+ const style = Wrapper.getChildStyle(child, index, newCalculatedProps);
224
+ const labels = props.labels ? getLabels(props, datasets, index) : child.props.labels;
225
+ const name = child.props.name || `${parentName}-${role}-${index}`;
272
226
  return /*#__PURE__*/React.cloneElement(child, Object.assign({
273
- key: "".concat(name, "-key-").concat(index),
274
- labels: labels,
275
- name: name,
227
+ key: `${name}-key-${index}`,
228
+ labels,
229
+ name,
276
230
  domainPadding: child.props.domainPadding || props.domainPadding,
277
231
  theme: props.theme,
278
232
  labelComponent: props.labelComponent || child.props.labelComponent,
279
- style: style,
233
+ style,
280
234
  colorScale: getColorScale(props, child),
281
- data: data,
235
+ data,
282
236
  polar: props.polar
283
237
  }, childProps));
284
238
  });
package/es/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./victory-stack";
1
+ export * from "./victory-stack";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,19 +1,19 @@
1
- import React from "react";
2
- import { CategoryPropType, ColorScalePropType, DomainPropType, EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleInterface, VictoryComponentConfiguration } from "victory-core";
3
- export declare type VictoryStackTTargetType = "data" | "labels" | "parent";
4
- export interface VictoryStackProps extends VictoryCommonProps, VictoryLabelableProps, VictoryMultiLabelableProps {
5
- bins?: number | number[] | Date[];
6
- categories?: CategoryPropType;
7
- children?: React.ReactNode | React.ReactNode[];
8
- colorScale?: ColorScalePropType;
9
- domain?: DomainPropType;
10
- events?: EventPropTypeInterface<VictoryStackTTargetType, StringOrNumberOrCallback>[];
11
- eventKey?: StringOrNumberOrCallback;
12
- fillInMissingData?: boolean;
13
- style?: VictoryStyleInterface;
14
- xOffset?: number;
15
- }
16
- export declare const VictoryStack: React.NamedExoticComponent<VictoryStackProps> & {
17
- readonly type: (initialProps: VictoryStackProps) => JSX.Element;
18
- } & VictoryComponentConfiguration<VictoryStackProps>;
1
+ import React from "react";
2
+ import { CategoryPropType, ColorScalePropType, DomainPropType, EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleInterface, VictoryComponentConfiguration } from "victory-core";
3
+ export declare type VictoryStackTTargetType = "data" | "labels" | "parent";
4
+ export interface VictoryStackProps extends VictoryCommonProps, VictoryLabelableProps, VictoryMultiLabelableProps {
5
+ bins?: number | number[] | Date[];
6
+ categories?: CategoryPropType;
7
+ children?: React.ReactNode | React.ReactNode[];
8
+ colorScale?: ColorScalePropType;
9
+ domain?: DomainPropType;
10
+ events?: EventPropTypeInterface<VictoryStackTTargetType, StringOrNumberOrCallback>[];
11
+ eventKey?: StringOrNumberOrCallback;
12
+ fillInMissingData?: boolean;
13
+ style?: VictoryStyleInterface;
14
+ xOffset?: number;
15
+ }
16
+ export declare const VictoryStack: React.NamedExoticComponent<VictoryStackProps> & {
17
+ readonly type: (initialProps: VictoryStackProps) => JSX.Element;
18
+ } & VictoryComponentConfiguration<VictoryStackProps>;
19
19
  //# sourceMappingURL=victory-stack.d.ts.map