victory 36.4.1 → 36.5.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory",
3
- "version": "36.4.1",
3
+ "version": "36.5.2",
4
4
  "description": "Data viz for React",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -20,40 +20,40 @@
20
20
  "author": "Formidable",
21
21
  "license": "MIT",
22
22
  "dependencies": {
23
- "victory-area": "^36.4.1",
24
- "victory-axis": "^36.4.1",
25
- "victory-bar": "^36.4.1",
26
- "victory-box-plot": "^36.4.1",
27
- "victory-brush-container": "^36.4.1",
28
- "victory-brush-line": "^36.4.1",
29
- "victory-candlestick": "^36.4.1",
30
- "victory-canvas": "^36.4.1",
31
- "victory-chart": "^36.4.1",
32
- "victory-core": "^36.4.1",
33
- "victory-create-container": "^36.4.1",
34
- "victory-cursor-container": "^36.4.1",
35
- "victory-errorbar": "^36.4.1",
36
- "victory-group": "^36.4.1",
37
- "victory-histogram": "^36.4.1",
38
- "victory-legend": "^36.4.1",
39
- "victory-line": "^36.4.1",
40
- "victory-pie": "^36.4.1",
41
- "victory-polar-axis": "^36.4.1",
42
- "victory-scatter": "^36.4.1",
43
- "victory-selection-container": "^36.4.1",
44
- "victory-shared-events": "^36.4.1",
45
- "victory-stack": "^36.4.1",
46
- "victory-tooltip": "^36.4.1",
47
- "victory-voronoi": "^36.4.1",
48
- "victory-voronoi-container": "^36.4.1",
49
- "victory-zoom-container": "^36.4.1"
23
+ "victory-area": "^36.5.2",
24
+ "victory-axis": "^36.5.2",
25
+ "victory-bar": "^36.5.2",
26
+ "victory-box-plot": "^36.5.2",
27
+ "victory-brush-container": "^36.5.2",
28
+ "victory-brush-line": "^36.5.2",
29
+ "victory-candlestick": "^36.5.2",
30
+ "victory-canvas": "^36.5.2",
31
+ "victory-chart": "^36.5.2",
32
+ "victory-core": "^36.5.2",
33
+ "victory-create-container": "^36.5.2",
34
+ "victory-cursor-container": "^36.5.2",
35
+ "victory-errorbar": "^36.5.2",
36
+ "victory-group": "^36.5.2",
37
+ "victory-histogram": "^36.5.2",
38
+ "victory-legend": "^36.5.2",
39
+ "victory-line": "^36.5.2",
40
+ "victory-pie": "^36.5.2",
41
+ "victory-polar-axis": "^36.5.2",
42
+ "victory-scatter": "^36.5.2",
43
+ "victory-selection-container": "^36.5.2",
44
+ "victory-shared-events": "^36.5.2",
45
+ "victory-stack": "^36.5.2",
46
+ "victory-tooltip": "^36.5.2",
47
+ "victory-voronoi": "^36.5.2",
48
+ "victory-voronoi-container": "^36.5.2",
49
+ "victory-zoom-container": "^36.5.2"
50
50
  },
51
51
  "peerDependencies": {
52
- "react": "^16.6.0 || ^17.0.0"
52
+ "react": ">=16.6.0"
53
53
  },
54
54
  "scripts": {
55
55
  "version": "yarn run nps build-libs && nps build-dists"
56
56
  },
57
57
  "sideEffects": false,
58
- "gitHead": "aa44a22e5a93989773a560f765f83ac151f44c46"
58
+ "gitHead": "def218e9749ecafc159ef458dd03a8b92e227666"
59
59
  }
@@ -38,7 +38,7 @@ export {
38
38
  VictoryTheme,
39
39
  VictoryTransition,
40
40
  Whisker,
41
- Wrapper
41
+ Wrapper,
42
42
  } from "victory-core";
43
43
 
44
44
  export { VictoryChart } from "victory-chart";
@@ -57,34 +57,47 @@ export { VictoryVoronoi, Voronoi } from "victory-voronoi";
57
57
  export { VictoryBrushLine } from "victory-brush-line";
58
58
  export {
59
59
  VictoryBrushContainer,
60
+ // @ts-expect-error Missing types for this export
60
61
  BrushHelpers,
61
- brushContainerMixin
62
+ // @ts-expect-error Missing types for this export
63
+ brushContainerMixin,
62
64
  } from "victory-brush-container";
63
65
  export {
64
66
  VictoryCursorContainer,
67
+ // @ts-expect-error Missing types for this export
65
68
  CursorHelpers,
66
- cursorContainerMixin
69
+ // @ts-expect-error Missing types for this export
70
+ cursorContainerMixin,
67
71
  } from "victory-cursor-container";
68
72
  export {
69
73
  VictorySelectionContainer,
74
+ // @ts-expect-error Missing types for this export
70
75
  SelectionHelpers,
71
- selectionContainerMixin
76
+ // @ts-expect-error Missing types for this export
77
+ selectionContainerMixin,
72
78
  } from "victory-selection-container";
73
79
  export {
74
80
  VictoryVoronoiContainer,
81
+ // @ts-expect-error Missing types for this export
75
82
  VoronoiHelpers,
76
- voronoiContainerMixin
83
+ // @ts-expect-error Missing types for this export
84
+ voronoiContainerMixin,
77
85
  } from "victory-voronoi-container";
78
86
  export {
79
87
  VictoryZoomContainer,
88
+ // @ts-expect-error Missing types for this export
80
89
  ZoomHelpers,
90
+ // @ts-expect-error Missing types for this export
81
91
  zoomContainerMixin,
82
- RawZoomHelpers
92
+ // @ts-expect-error Missing types for this export
93
+ RawZoomHelpers,
83
94
  } from "victory-zoom-container";
84
95
  export {
96
+ // @ts-expect-error Missing types for this export
85
97
  combineContainerMixins,
98
+ // @ts-expect-error Missing types for this export
86
99
  makeCreateContainerFunction,
87
- createContainer
100
+ createContainer,
88
101
  } from "victory-create-container";
89
102
 
90
103
  export { VictoryTooltip, Flyout } from "victory-tooltip";
@@ -97,5 +110,6 @@ export {
97
110
  CanvasCurve,
98
111
  CanvasPoint,
99
112
  CanvasBar,
100
- useCanvasContext
113
+ // @ts-expect-error Missing types for this export
114
+ useCanvasContext,
101
115
  } from "victory-canvas";
package/src/index.d.ts DELETED
@@ -1,282 +0,0 @@
1
- // TODO: Add missing type definitions for all import/export
2
- // items that are commented out.
3
-
4
- declare module "victory" {
5
- import {
6
- Arc,
7
- ArcProps,
8
- Background,
9
- BackgroundProps,
10
- Border,
11
- BorderProps,
12
- Border as Box,
13
- BorderProps as BoxProps,
14
- ClipPath,
15
- ClipPathProps,
16
- LineSegment,
17
- LineSegmentProps,
18
- Whisker,
19
- WhiskerProps,
20
- Circle,
21
- Rect,
22
- Line,
23
- Path,
24
- TSpan,
25
- Text,
26
- TextProps,
27
- Point,
28
- PointProps,
29
- VictoryAnimation,
30
- VictoryAnimationProps,
31
- VictoryContainer,
32
- VictoryContainerProps,
33
- VictoryLabel,
34
- VictoryLabelProps,
35
- VictoryTheme,
36
- VictoryThemeDefinition,
37
- // VictoryTransition,
38
- VictoryPortal,
39
- VictoryPortalProps,
40
- Portal,
41
- VictoryClipContainer,
42
- VictoryClipContainerProps,
43
- // addEvents,
44
- // Collection,
45
- // Data,
46
- // DefaultTransitions,
47
- // Domain,
48
- // Events,
49
- // Helpers,
50
- // Log,
51
- // PropTypes,
52
- // Scale,
53
- // Style,
54
- TextSize,
55
- // Transitions,
56
- Selection
57
- // LabelHelpers,
58
- // Axis,
59
- // Wrapper
60
- } from "victory-core";
61
-
62
- import { VictoryChart, VictoryChartProps } from "victory-chart";
63
- import { VictoryGroup, VictoryGroupProps } from "victory-group";
64
- import { VictoryStack, VictoryStackProps } from "victory-stack";
65
- import { VictoryPie, Slice, VictoryPieProps, SliceProps } from "victory-pie";
66
- import { VictoryArea, Area, VictoryAreaProps, AreaProps } from "victory-area";
67
- import { VictoryBar, Bar, VictoryBarProps, BarProps } from "victory-bar";
68
-
69
- import {
70
- VictoryCandlestick,
71
- VictoryCandlestickProps,
72
- Candle,
73
- CandleProps
74
- } from "victory-candlestick";
75
- import {
76
- VictoryErrorBar,
77
- ErrorBar,
78
- VictoryErrorBarProps,
79
- ErrorBarProps
80
- } from "victory-errorbar";
81
-
82
- import {
83
- VictoryLine,
84
- Curve,
85
- VictoryLineProps,
86
- CurveProps
87
- } from "victory-line";
88
- import { VictoryHistogram, VictoryHistogramProps } from "victory-histogram";
89
- import { VictoryScatter, VictoryScatterProps } from "victory-scatter";
90
- import { VictoryBoxPlot, VictoryBoxPlotProps } from "victory-box-plot";
91
- import { VictoryBrushLine, VictoryBrushLineProps } from "victory-brush-line";
92
- import {
93
- Voronoi,
94
- VictoryVoronoi,
95
- VoronoiProps,
96
- VictoryVoronoiProps
97
- } from "victory-voronoi";
98
-
99
- import {
100
- VictoryBrushContainer,
101
- VictoryBrushContainerProps
102
- // BrushHelpers,
103
- // brushContainerMixin
104
- } from "victory-brush-container";
105
- import {
106
- VictoryCursorContainer,
107
- VictoryCursorContainerProps
108
- // CursorHelpers,
109
- // cursorContainerMixin
110
- } from "victory-cursor-container";
111
-
112
- // import {
113
- // VictorySelectionContainer,
114
- // SelectionHelpers,
115
- // selectionContainerMixin
116
- // } from "victory-selection-container";
117
-
118
- import {
119
- VictoryVoronoiContainer,
120
- VictoryVoronoiContainerProps
121
- // VoronoiHelpers,
122
- // voronoiContainerMixin
123
- } from "victory-voronoi-container";
124
- import {
125
- VictoryZoomContainer,
126
- VictoryZoomContainerProps
127
- // ZoomHelpers,
128
- // zoomContainerMixin,
129
- // RawZoomHelpers
130
- } from "victory-zoom-container";
131
- import {
132
- // combineContainerMixins,
133
- // makeCreateContainerFunction,
134
- createContainer
135
- } from "victory-create-container";
136
-
137
- import {
138
- VictoryTooltip,
139
- Flyout,
140
- VictoryTooltipProps,
141
- FlyoutProps
142
- } from "victory-tooltip";
143
- import { VictoryLegend, VictoryLegendProps } from "victory-legend";
144
-
145
- // import { VictorySharedEvents } from "victory-shared-events";
146
-
147
- import { VictoryAxis, VictoryAxisProps } from "victory-axis";
148
- import { VictoryPolarAxis, VictoryPolarAxisProps } from "victory-polar-axis";
149
-
150
- export {
151
- Arc,
152
- ArcProps,
153
- Area,
154
- AreaProps,
155
- Background,
156
- BackgroundProps,
157
- Bar,
158
- BarProps,
159
- Border,
160
- BorderProps,
161
- Box,
162
- BoxProps,
163
- Candle,
164
- CandleProps,
165
- ClipPath,
166
- ClipPathProps,
167
- Curve,
168
- CurveProps,
169
- ErrorBar,
170
- ErrorBarProps,
171
- LineSegment,
172
- LineSegmentProps,
173
- Point,
174
- PointProps,
175
- Slice,
176
- SliceProps,
177
- Voronoi,
178
- VoronoiProps,
179
- Flyout,
180
- FlyoutProps,
181
- Whisker,
182
- WhiskerProps,
183
- Circle,
184
- Rect,
185
- Line,
186
- Path,
187
- TSpan,
188
- Text,
189
- TextProps,
190
- VictoryAnimation,
191
- VictoryAnimationProps,
192
- VictoryArea,
193
- VictoryAreaProps,
194
- VictoryAxis,
195
- VictoryAxisProps,
196
- VictoryPolarAxis,
197
- VictoryPolarAxisProps,
198
- VictoryBar,
199
- VictoryBarProps,
200
- VictoryBoxPlot,
201
- VictoryBoxPlotProps,
202
- VictoryCandlestick,
203
- VictoryCandlestickProps,
204
- VictoryChart,
205
- VictoryChartProps,
206
- VictoryErrorBar,
207
- VictoryErrorBarProps,
208
- VictoryHistogram,
209
- VictoryHistogramProps,
210
- VictoryGroup,
211
- VictoryGroupProps,
212
- VictoryLine,
213
- VictoryLineProps,
214
- VictoryLabel,
215
- VictoryLabelProps,
216
- VictoryLegend,
217
- VictoryLegendProps,
218
- VictoryPie,
219
- VictoryPieProps,
220
- VictoryScatter,
221
- VictoryScatterProps,
222
- VictoryStack,
223
- VictoryStackProps,
224
- VictoryTheme,
225
- VictoryThemeDefinition,
226
- // VictoryTransition,
227
- // VictorySharedEvents,
228
- VictoryTooltip,
229
- VictoryTooltipProps,
230
- VictoryVoronoi,
231
- VictoryVoronoiProps,
232
- VictoryPortal,
233
- VictoryPortalProps,
234
- Portal,
235
- VictoryContainer,
236
- VictoryContainerProps,
237
- VictoryClipContainer,
238
- VictoryClipContainerProps,
239
- VictoryZoomContainer,
240
- VictoryZoomContainerProps,
241
- // ZoomHelpers,
242
- // zoomContainerMixin,
243
- // RawZoomHelpers,
244
- // VictorySelectionContainer,
245
- // SelectionHelpers,
246
- // selectionContainerMixin,
247
- VictoryBrushContainer,
248
- VictoryBrushContainerProps,
249
- // BrushHelpers,
250
- // brushContainerMixin,
251
- VictoryCursorContainer,
252
- VictoryCursorContainerProps,
253
- // CursorHelpers,
254
- // cursorContainerMixin,
255
- VictoryVoronoiContainer,
256
- VictoryVoronoiContainerProps,
257
- // VoronoiHelpers,
258
- // voronoiContainerMixin,
259
- // combineContainerMixins,
260
- // makeCreateContainerFunction,
261
- createContainer,
262
- VictoryBrushLine,
263
- VictoryBrushLineProps,
264
- // addEvents,
265
- // Collection,
266
- // Data,
267
- // DefaultTransitions,
268
- // Domain,
269
- // Events,
270
- // Helpers,
271
- // Log,
272
- // PropTypes,
273
- // Scale,
274
- // Style,
275
- TextSize,
276
- // Transitions,
277
- Selection
278
- // LabelHelpers,
279
- // Axis,
280
- // Wrapper
281
- };
282
- }