victory-core 36.3.2 → 36.5.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.
- package/dist/victory-core.js +15084 -15018
- package/dist/victory-core.min.js +1 -1
- package/es/index.d.ts +38 -941
- package/es/index.js +19 -28
- package/es/types.d.ts +33 -0
- package/es/types.js +1 -0
- package/es/victory-accessible-group/victory-accessible-group.d.ts +25 -0
- package/es/victory-accessible-group/victory-accessible-group.js +35 -45
- package/es/victory-animation/util.d.ts +66 -0
- package/es/victory-animation/util.js +3 -2
- package/es/victory-animation/victory-animation.d.ts +69 -0
- package/es/victory-animation/victory-animation.js +92 -102
- package/es/victory-clip-container/victory-clip-container.d.ts +76 -0
- package/es/victory-clip-container/victory-clip-container.js +75 -82
- package/es/victory-container/victory-container.d.ts +99 -0
- package/es/victory-container/victory-container.js +97 -107
- package/es/victory-label/victory-label.d.ts +61 -0
- package/es/victory-label/victory-label.js +43 -31
- package/es/victory-portal/portal-context.d.ts +11 -0
- package/es/victory-portal/portal-context.js +3 -4
- package/es/victory-portal/portal.d.ts +28 -0
- package/es/victory-portal/portal.js +44 -50
- package/es/victory-portal/victory-portal.d.ts +31 -0
- package/es/victory-portal/victory-portal.js +38 -47
- package/es/victory-primitives/arc.d.ts +21 -0
- package/es/victory-primitives/arc.js +9 -9
- package/es/victory-primitives/background.d.ts +22 -0
- package/es/victory-primitives/background.js +12 -12
- package/es/victory-primitives/border.d.ts +18 -0
- package/es/victory-primitives/border.js +9 -9
- package/es/victory-primitives/circle.d.ts +2 -0
- package/es/victory-primitives/circle.js +17 -10
- package/es/victory-primitives/clip-path.d.ts +14 -0
- package/es/victory-primitives/clip-path.js +6 -6
- package/es/victory-primitives/index.d.ts +14 -0
- package/es/victory-primitives/index.js +14 -0
- package/es/victory-primitives/line-segment.d.ts +19 -0
- package/es/victory-primitives/line-segment.js +9 -9
- package/es/victory-primitives/line.d.ts +2 -0
- package/es/victory-primitives/line.js +17 -10
- package/es/victory-primitives/path.d.ts +2 -0
- package/es/victory-primitives/path.js +15 -8
- package/es/victory-primitives/point.d.ts +21 -0
- package/es/victory-primitives/point.js +15 -23
- package/es/victory-primitives/rect.d.ts +2 -0
- package/es/victory-primitives/rect.js +17 -10
- package/es/victory-primitives/text.d.ts +16 -0
- package/es/victory-primitives/text.js +13 -8
- package/es/victory-primitives/tspan.d.ts +2 -0
- package/es/victory-primitives/tspan.js +7 -6
- package/es/victory-primitives/types.d.ts +7 -0
- package/es/victory-primitives/types.js +1 -0
- package/es/victory-primitives/whisker.d.ts +24 -0
- package/es/victory-primitives/whisker.js +12 -12
- package/es/victory-theme/grayscale.d.ts +2 -0
- package/es/victory-theme/grayscale.js +1 -1
- package/es/victory-theme/material.d.ts +2 -0
- package/es/victory-theme/material.js +1 -1
- package/es/victory-theme/victory-theme-definition.d.ts +244 -0
- package/es/victory-theme/victory-theme-definition.js +1 -0
- package/es/victory-theme/victory-theme.d.ts +5 -0
- package/es/victory-theme/victory-theme.js +6 -5
- package/es/victory-transition/victory-transition.d.ts +59 -0
- package/es/victory-transition/victory-transition.js +38 -44
- package/es/victory-util/add-events.js +328 -319
- package/es/victory-util/axis.js +12 -6
- package/es/victory-util/collection.js +7 -5
- package/es/victory-util/common-props.js +2 -2
- package/es/victory-util/data.js +8 -6
- package/es/victory-util/default-transitions.js +0 -1
- package/es/victory-util/domain.js +7 -5
- package/es/victory-util/events.js +8 -4
- package/es/victory-util/helpers.js +1 -3
- package/es/victory-util/hooks/use-animation-state.js +11 -5
- package/es/victory-util/immutable.js +0 -1
- package/es/victory-util/label-helpers.js +0 -2
- package/es/victory-util/line-helpers.js +1 -1
- package/es/victory-util/log.js +0 -1
- package/es/victory-util/point-path-helpers.d.ts +9 -0
- package/es/victory-util/point-path-helpers.js +59 -61
- package/es/victory-util/scale.js +19 -19
- package/es/victory-util/selection.d.ts +23 -0
- package/es/victory-util/selection.js +0 -2
- package/es/victory-util/style.js +0 -2
- package/es/victory-util/textsize.d.ts +8 -0
- package/es/victory-util/textsize.js +11 -7
- package/es/victory-util/timer-context.d.ts +11 -0
- package/es/victory-util/timer-context.js +1 -1
- package/es/victory-util/timer.d.ts +16 -0
- package/es/victory-util/timer.js +16 -13
- package/es/victory-util/types.d.ts +188 -0
- package/es/victory-util/types.js +1 -0
- package/es/victory-util/user-props.js +44 -4
- package/es/victory-util/wrapper.js +18 -12
- package/lib/index.d.ts +38 -941
- package/lib/index.js +201 -189
- package/lib/types.d.ts +33 -0
- package/lib/types.js +1 -0
- package/lib/victory-accessible-group/victory-accessible-group.d.ts +25 -0
- package/lib/victory-accessible-group/victory-accessible-group.js +37 -45
- package/lib/victory-animation/util.d.ts +66 -0
- package/lib/victory-animation/util.js +4 -3
- package/lib/victory-animation/victory-animation.d.ts +69 -0
- package/lib/victory-animation/victory-animation.js +97 -102
- package/lib/victory-clip-container/victory-clip-container.d.ts +76 -0
- package/lib/victory-clip-container/victory-clip-container.js +81 -82
- package/lib/victory-container/victory-container.d.ts +99 -0
- package/lib/victory-container/victory-container.js +102 -107
- package/lib/victory-label/victory-label.d.ts +61 -0
- package/lib/victory-label/victory-label.js +49 -32
- package/lib/victory-portal/portal-context.d.ts +11 -0
- package/lib/victory-portal/portal-context.js +4 -5
- package/lib/victory-portal/portal.d.ts +28 -0
- package/lib/victory-portal/portal.js +49 -50
- package/lib/victory-portal/victory-portal.d.ts +31 -0
- package/lib/victory-portal/victory-portal.js +43 -47
- package/lib/victory-primitives/arc.d.ts +21 -0
- package/lib/victory-primitives/arc.js +13 -10
- package/lib/victory-primitives/background.d.ts +22 -0
- package/lib/victory-primitives/background.js +16 -13
- package/lib/victory-primitives/border.d.ts +18 -0
- package/lib/victory-primitives/border.js +13 -10
- package/lib/victory-primitives/circle.d.ts +2 -0
- package/lib/victory-primitives/circle.js +17 -8
- package/lib/victory-primitives/clip-path.d.ts +14 -0
- package/lib/victory-primitives/clip-path.js +7 -5
- package/lib/victory-primitives/index.d.ts +14 -0
- package/lib/victory-primitives/index.js +187 -0
- package/lib/victory-primitives/line-segment.d.ts +19 -0
- package/lib/victory-primitives/line-segment.js +13 -10
- package/lib/victory-primitives/line.d.ts +2 -0
- package/lib/victory-primitives/line.js +17 -8
- package/lib/victory-primitives/path.d.ts +2 -0
- package/lib/victory-primitives/path.js +15 -6
- package/lib/victory-primitives/point.d.ts +21 -0
- package/lib/victory-primitives/point.js +21 -25
- package/lib/victory-primitives/rect.d.ts +2 -0
- package/lib/victory-primitives/rect.js +17 -8
- package/lib/victory-primitives/text.d.ts +16 -0
- package/lib/victory-primitives/text.js +14 -7
- package/lib/victory-primitives/tspan.d.ts +2 -0
- package/lib/victory-primitives/tspan.js +7 -4
- package/lib/victory-primitives/types.d.ts +7 -0
- package/lib/victory-primitives/types.js +1 -0
- package/lib/victory-primitives/whisker.d.ts +24 -0
- package/lib/victory-primitives/whisker.js +16 -13
- package/lib/victory-theme/grayscale.d.ts +2 -0
- package/lib/victory-theme/grayscale.js +3 -3
- package/lib/victory-theme/material.d.ts +2 -0
- package/lib/victory-theme/material.js +3 -3
- package/lib/victory-theme/victory-theme-definition.d.ts +244 -0
- package/lib/victory-theme/victory-theme-definition.js +1 -0
- package/lib/victory-theme/victory-theme.d.ts +5 -0
- package/lib/victory-theme/victory-theme.js +22 -8
- package/lib/victory-transition/victory-transition.d.ts +59 -0
- package/lib/victory-transition/victory-transition.js +43 -45
- package/lib/victory-util/add-events.js +326 -316
- package/lib/victory-util/axis.js +20 -11
- package/lib/victory-util/collection.js +10 -8
- package/lib/victory-util/common-props.js +6 -4
- package/lib/victory-util/data.js +13 -7
- package/lib/victory-util/default-transitions.js +1 -2
- package/lib/victory-util/domain.js +11 -5
- package/lib/victory-util/events.js +17 -11
- package/lib/victory-util/helpers.js +14 -16
- package/lib/victory-util/hooks/index.js +4 -4
- package/lib/victory-util/hooks/use-animation-state.js +14 -6
- package/lib/victory-util/immutable.js +3 -5
- package/lib/victory-util/label-helpers.js +6 -6
- package/lib/victory-util/line-helpers.js +4 -2
- package/lib/victory-util/log.js +0 -1
- package/lib/victory-util/point-path-helpers.d.ts +9 -0
- package/lib/victory-util/point-path-helpers.js +86 -73
- package/lib/victory-util/prop-types.js +5 -3
- package/lib/victory-util/scale.js +24 -21
- package/lib/victory-util/selection.d.ts +23 -0
- package/lib/victory-util/selection.js +5 -5
- package/lib/victory-util/style.js +0 -2
- package/lib/victory-util/textsize.d.ts +8 -0
- package/lib/victory-util/textsize.js +12 -8
- package/lib/victory-util/timer-context.d.ts +11 -0
- package/lib/victory-util/timer-context.js +1 -1
- package/lib/victory-util/timer.d.ts +16 -0
- package/lib/victory-util/timer.js +16 -13
- package/lib/victory-util/types.d.ts +188 -0
- package/lib/victory-util/types.js +1 -0
- package/lib/victory-util/user-props.js +53 -6
- package/lib/victory-util/wrapper.js +31 -23
- package/package.json +6 -13
- package/src/index.ts +42 -0
- package/src/types.ts +45 -0
- package/src/victory-accessible-group/{victory-accessible-group.js → victory-accessible-group.tsx} +10 -3
- package/src/victory-animation/{util.js → util.ts} +5 -4
- package/src/victory-animation/{victory-animation.js → victory-animation.tsx} +90 -13
- package/src/victory-clip-container/{victory-clip-container.js → victory-clip-container.tsx} +32 -6
- package/src/victory-container/{victory-container.js → victory-container.tsx} +70 -26
- package/src/victory-label/{victory-label.js → victory-label.tsx} +80 -19
- package/src/victory-portal/portal-context.ts +14 -0
- package/src/victory-portal/{portal.js → portal.tsx} +23 -12
- package/src/victory-portal/{victory-portal.js → victory-portal.tsx} +21 -6
- package/src/victory-primitives/{arc.js → arc.tsx} +15 -5
- package/src/victory-primitives/{background.js → background.tsx} +17 -7
- package/src/victory-primitives/{border.js → border.tsx} +12 -5
- package/src/victory-primitives/{circle.js → circle.tsx} +4 -3
- package/src/victory-primitives/clip-path.tsx +25 -0
- package/src/victory-primitives/index.ts +14 -0
- package/src/victory-primitives/{line-segment.js → line-segment.tsx} +13 -5
- package/src/victory-primitives/{line.js → line.tsx} +4 -3
- package/src/victory-primitives/{path.js → path.tsx} +4 -3
- package/src/victory-primitives/{point.js → point.tsx} +25 -20
- package/src/victory-primitives/{rect.js → rect.tsx} +4 -2
- package/src/victory-primitives/{text.js → text.tsx} +9 -3
- package/src/victory-primitives/tspan.tsx +7 -0
- package/src/victory-primitives/types.ts +19 -0
- package/src/victory-primitives/{whisker.js → whisker.tsx} +20 -7
- package/src/victory-theme/{grayscale.js → grayscale.tsx} +2 -1
- package/src/victory-theme/{material.js → material.tsx} +2 -1
- package/src/victory-theme/victory-theme-definition.ts +261 -0
- package/src/victory-theme/victory-theme.tsx +5 -0
- package/src/victory-transition/{victory-transition.js → victory-transition.tsx} +68 -19
- package/src/victory-util/add-events.js +7 -5
- package/src/victory-util/axis.js +3 -1
- package/src/victory-util/collection.js +0 -1
- package/src/victory-util/common-props.js +2 -2
- package/src/victory-util/data.js +0 -1
- package/src/victory-util/default-transitions.js +0 -1
- package/src/victory-util/domain.js +0 -1
- package/src/victory-util/events.js +1 -1
- package/src/victory-util/helpers.js +0 -1
- package/src/victory-util/immutable.js +0 -1
- package/src/victory-util/label-helpers.js +0 -1
- package/src/victory-util/line-helpers.js +1 -1
- package/src/victory-util/log.js +0 -1
- package/src/victory-util/point-path-helpers.ts +119 -0
- package/src/victory-util/prop-types.js +0 -1
- package/src/victory-util/scale.js +18 -10
- package/src/victory-util/selection.d.ts +23 -0
- package/src/victory-util/selection.js +0 -1
- package/src/victory-util/style.js +0 -1
- package/src/victory-util/textsize.d.ts +8 -0
- package/src/victory-util/{timer-context.js → timer-context.ts} +0 -0
- package/src/victory-util/{timer.js → timer.ts} +20 -5
- package/src/victory-util/transitions.js +0 -1
- package/src/victory-util/types.ts +247 -0
- package/src/victory-util/user-props.js +31 -1
- package/src/victory-util/wrapper.js +0 -1
- package/src/index.d.ts +0 -941
- package/src/index.js +0 -51
- package/src/victory-portal/portal-context.js +0 -10
- package/src/victory-primitives/clip-path.js +0 -18
- package/src/victory-primitives/tspan.js +0 -5
- package/src/victory-theme/victory-theme.js +0 -7
- package/src/victory-util/point-path-helpers.js +0 -121
package/lib/index.js
CHANGED
|
@@ -3,150 +3,42 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
});
|
|
36
|
-
Object.defineProperty(exports, "VictoryClipContainer", {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return _victoryClipContainer.default;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
Object.defineProperty(exports, "VictoryTheme", {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function () {
|
|
45
|
-
return _victoryTheme.default;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(exports, "VictoryPortal", {
|
|
49
|
-
enumerable: true,
|
|
50
|
-
get: function () {
|
|
51
|
-
return _victoryPortal.default;
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
Object.defineProperty(exports, "Portal", {
|
|
55
|
-
enumerable: true,
|
|
56
|
-
get: function () {
|
|
57
|
-
return _portal.default;
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
Object.defineProperty(exports, "Arc", {
|
|
61
|
-
enumerable: true,
|
|
62
|
-
get: function () {
|
|
63
|
-
return _arc.default;
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
Object.defineProperty(exports, "Background", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
get: function () {
|
|
69
|
-
return _background.default;
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
Object.defineProperty(exports, "Border", {
|
|
73
|
-
enumerable: true,
|
|
74
|
-
get: function () {
|
|
75
|
-
return _border.default;
|
|
76
|
-
}
|
|
77
|
-
});
|
|
6
|
+
var _exportNames = {
|
|
7
|
+
Box: true,
|
|
8
|
+
addEvents: true,
|
|
9
|
+
Collection: true,
|
|
10
|
+
Data: true,
|
|
11
|
+
DefaultTransitions: true,
|
|
12
|
+
Domain: true,
|
|
13
|
+
Events: true,
|
|
14
|
+
Helpers: true,
|
|
15
|
+
Immutable: true,
|
|
16
|
+
LabelHelpers: true,
|
|
17
|
+
Log: true,
|
|
18
|
+
PropTypes: true,
|
|
19
|
+
Scale: true,
|
|
20
|
+
Selection: true,
|
|
21
|
+
Style: true,
|
|
22
|
+
TextSize: true,
|
|
23
|
+
Transitions: true,
|
|
24
|
+
UserProps: true,
|
|
25
|
+
CommonProps: true,
|
|
26
|
+
Wrapper: true,
|
|
27
|
+
Axis: true,
|
|
28
|
+
Hooks: true,
|
|
29
|
+
LineHelpers: true,
|
|
30
|
+
Timer: true,
|
|
31
|
+
PointPathHelpers: true,
|
|
32
|
+
TimerContext: true
|
|
33
|
+
};
|
|
34
|
+
exports.Axis = void 0;
|
|
78
35
|
Object.defineProperty(exports, "Box", {
|
|
79
36
|
enumerable: true,
|
|
80
37
|
get: function () {
|
|
81
|
-
return
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
Object.defineProperty(exports, "Circle", {
|
|
85
|
-
enumerable: true,
|
|
86
|
-
get: function () {
|
|
87
|
-
return _circle.default;
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
Object.defineProperty(exports, "ClipPath", {
|
|
91
|
-
enumerable: true,
|
|
92
|
-
get: function () {
|
|
93
|
-
return _clipPath.default;
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
Object.defineProperty(exports, "Line", {
|
|
97
|
-
enumerable: true,
|
|
98
|
-
get: function () {
|
|
99
|
-
return _line.default;
|
|
100
|
-
}
|
|
101
|
-
});
|
|
102
|
-
Object.defineProperty(exports, "LineSegment", {
|
|
103
|
-
enumerable: true,
|
|
104
|
-
get: function () {
|
|
105
|
-
return _lineSegment.default;
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
Object.defineProperty(exports, "Path", {
|
|
109
|
-
enumerable: true,
|
|
110
|
-
get: function () {
|
|
111
|
-
return _path.default;
|
|
112
|
-
}
|
|
113
|
-
});
|
|
114
|
-
Object.defineProperty(exports, "Point", {
|
|
115
|
-
enumerable: true,
|
|
116
|
-
get: function () {
|
|
117
|
-
return _point.default;
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
Object.defineProperty(exports, "Rect", {
|
|
121
|
-
enumerable: true,
|
|
122
|
-
get: function () {
|
|
123
|
-
return _rect.default;
|
|
124
|
-
}
|
|
125
|
-
});
|
|
126
|
-
Object.defineProperty(exports, "Text", {
|
|
127
|
-
enumerable: true,
|
|
128
|
-
get: function () {
|
|
129
|
-
return _text.default;
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
Object.defineProperty(exports, "TSpan", {
|
|
133
|
-
enumerable: true,
|
|
134
|
-
get: function () {
|
|
135
|
-
return _tspan.default;
|
|
136
|
-
}
|
|
137
|
-
});
|
|
138
|
-
Object.defineProperty(exports, "Whisker", {
|
|
139
|
-
enumerable: true,
|
|
140
|
-
get: function () {
|
|
141
|
-
return _whisker.default;
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
Object.defineProperty(exports, "addEvents", {
|
|
145
|
-
enumerable: true,
|
|
146
|
-
get: function () {
|
|
147
|
-
return _addEvents.default;
|
|
38
|
+
return _victoryPrimitives.Border;
|
|
148
39
|
}
|
|
149
40
|
});
|
|
41
|
+
exports.TextSize = exports.Style = exports.Selection = exports.Scale = exports.PropTypes = exports.PointPathHelpers = exports.Log = exports.LineHelpers = exports.LabelHelpers = exports.Immutable = exports.Hooks = exports.Helpers = exports.Events = exports.Domain = exports.DefaultTransitions = exports.Data = exports.CommonProps = exports.Collection = void 0;
|
|
150
42
|
Object.defineProperty(exports, "Timer", {
|
|
151
43
|
enumerable: true,
|
|
152
44
|
get: function () {
|
|
@@ -159,63 +51,167 @@ Object.defineProperty(exports, "TimerContext", {
|
|
|
159
51
|
return _timerContext.default;
|
|
160
52
|
}
|
|
161
53
|
});
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
get: function () {
|
|
165
|
-
return _portalContext.default;
|
|
166
|
-
}
|
|
167
|
-
});
|
|
168
|
-
Object.defineProperty(exports, "PointPathHelpers", {
|
|
54
|
+
exports.Wrapper = exports.UserProps = exports.Transitions = void 0;
|
|
55
|
+
Object.defineProperty(exports, "addEvents", {
|
|
169
56
|
enumerable: true,
|
|
170
57
|
get: function () {
|
|
171
|
-
return
|
|
58
|
+
return _addEvents.default;
|
|
172
59
|
}
|
|
173
60
|
});
|
|
174
|
-
exports.LineHelpers = exports.Hooks = exports.Axis = exports.Wrapper = exports.CommonProps = exports.UserProps = exports.Transitions = exports.TextSize = exports.Style = exports.Selection = exports.Scale = exports.PropTypes = exports.Log = exports.LabelHelpers = exports.Immutable = exports.Helpers = exports.Events = exports.Domain = exports.DefaultTransitions = exports.Data = exports.Collection = void 0;
|
|
175
|
-
|
|
176
|
-
var _victoryAccessibleGroup = _interopRequireDefault(require("./victory-accessible-group/victory-accessible-group"));
|
|
177
|
-
|
|
178
|
-
var _victoryAnimation = _interopRequireDefault(require("./victory-animation/victory-animation"));
|
|
179
61
|
|
|
180
|
-
var
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
var _arc = _interopRequireDefault(require("./victory-primitives/arc"));
|
|
195
|
-
|
|
196
|
-
var _background = _interopRequireDefault(require("./victory-primitives/background"));
|
|
197
|
-
|
|
198
|
-
var _border = _interopRequireDefault(require("./victory-primitives/border"));
|
|
62
|
+
var _victoryAccessibleGroup = require("./victory-accessible-group/victory-accessible-group");
|
|
63
|
+
|
|
64
|
+
Object.keys(_victoryAccessibleGroup).forEach(function (key) {
|
|
65
|
+
if (key === "default" || key === "__esModule") return;
|
|
66
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
67
|
+
if (key in exports && exports[key] === _victoryAccessibleGroup[key]) return;
|
|
68
|
+
Object.defineProperty(exports, key, {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () {
|
|
71
|
+
return _victoryAccessibleGroup[key];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
199
75
|
|
|
200
|
-
var
|
|
76
|
+
var _victoryAnimation = require("./victory-animation/victory-animation");
|
|
77
|
+
|
|
78
|
+
Object.keys(_victoryAnimation).forEach(function (key) {
|
|
79
|
+
if (key === "default" || key === "__esModule") return;
|
|
80
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
81
|
+
if (key in exports && exports[key] === _victoryAnimation[key]) return;
|
|
82
|
+
Object.defineProperty(exports, key, {
|
|
83
|
+
enumerable: true,
|
|
84
|
+
get: function () {
|
|
85
|
+
return _victoryAnimation[key];
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
});
|
|
201
89
|
|
|
202
|
-
var
|
|
90
|
+
var _victoryContainer = require("./victory-container/victory-container");
|
|
91
|
+
|
|
92
|
+
Object.keys(_victoryContainer).forEach(function (key) {
|
|
93
|
+
if (key === "default" || key === "__esModule") return;
|
|
94
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
95
|
+
if (key in exports && exports[key] === _victoryContainer[key]) return;
|
|
96
|
+
Object.defineProperty(exports, key, {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () {
|
|
99
|
+
return _victoryContainer[key];
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
});
|
|
203
103
|
|
|
204
|
-
var
|
|
104
|
+
var _victoryLabel = require("./victory-label/victory-label");
|
|
105
|
+
|
|
106
|
+
Object.keys(_victoryLabel).forEach(function (key) {
|
|
107
|
+
if (key === "default" || key === "__esModule") return;
|
|
108
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
109
|
+
if (key in exports && exports[key] === _victoryLabel[key]) return;
|
|
110
|
+
Object.defineProperty(exports, key, {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function () {
|
|
113
|
+
return _victoryLabel[key];
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
});
|
|
205
117
|
|
|
206
|
-
var
|
|
118
|
+
var _victoryTransition = require("./victory-transition/victory-transition");
|
|
119
|
+
|
|
120
|
+
Object.keys(_victoryTransition).forEach(function (key) {
|
|
121
|
+
if (key === "default" || key === "__esModule") return;
|
|
122
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
123
|
+
if (key in exports && exports[key] === _victoryTransition[key]) return;
|
|
124
|
+
Object.defineProperty(exports, key, {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () {
|
|
127
|
+
return _victoryTransition[key];
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
});
|
|
207
131
|
|
|
208
|
-
var
|
|
132
|
+
var _victoryClipContainer = require("./victory-clip-container/victory-clip-container");
|
|
133
|
+
|
|
134
|
+
Object.keys(_victoryClipContainer).forEach(function (key) {
|
|
135
|
+
if (key === "default" || key === "__esModule") return;
|
|
136
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
137
|
+
if (key in exports && exports[key] === _victoryClipContainer[key]) return;
|
|
138
|
+
Object.defineProperty(exports, key, {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function () {
|
|
141
|
+
return _victoryClipContainer[key];
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
});
|
|
209
145
|
|
|
210
|
-
var
|
|
146
|
+
var _victoryTheme = require("./victory-theme/victory-theme");
|
|
147
|
+
|
|
148
|
+
Object.keys(_victoryTheme).forEach(function (key) {
|
|
149
|
+
if (key === "default" || key === "__esModule") return;
|
|
150
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
151
|
+
if (key in exports && exports[key] === _victoryTheme[key]) return;
|
|
152
|
+
Object.defineProperty(exports, key, {
|
|
153
|
+
enumerable: true,
|
|
154
|
+
get: function () {
|
|
155
|
+
return _victoryTheme[key];
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
});
|
|
211
159
|
|
|
212
|
-
var
|
|
160
|
+
var _portal = require("./victory-portal/portal");
|
|
161
|
+
|
|
162
|
+
Object.keys(_portal).forEach(function (key) {
|
|
163
|
+
if (key === "default" || key === "__esModule") return;
|
|
164
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
165
|
+
if (key in exports && exports[key] === _portal[key]) return;
|
|
166
|
+
Object.defineProperty(exports, key, {
|
|
167
|
+
enumerable: true,
|
|
168
|
+
get: function () {
|
|
169
|
+
return _portal[key];
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
});
|
|
213
173
|
|
|
214
|
-
var
|
|
174
|
+
var _portalContext = require("./victory-portal/portal-context");
|
|
175
|
+
|
|
176
|
+
Object.keys(_portalContext).forEach(function (key) {
|
|
177
|
+
if (key === "default" || key === "__esModule") return;
|
|
178
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
179
|
+
if (key in exports && exports[key] === _portalContext[key]) return;
|
|
180
|
+
Object.defineProperty(exports, key, {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function () {
|
|
183
|
+
return _portalContext[key];
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
});
|
|
215
187
|
|
|
216
|
-
var
|
|
188
|
+
var _victoryPortal = require("./victory-portal/victory-portal");
|
|
189
|
+
|
|
190
|
+
Object.keys(_victoryPortal).forEach(function (key) {
|
|
191
|
+
if (key === "default" || key === "__esModule") return;
|
|
192
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
193
|
+
if (key in exports && exports[key] === _victoryPortal[key]) return;
|
|
194
|
+
Object.defineProperty(exports, key, {
|
|
195
|
+
enumerable: true,
|
|
196
|
+
get: function () {
|
|
197
|
+
return _victoryPortal[key];
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
});
|
|
217
201
|
|
|
218
|
-
var
|
|
202
|
+
var _victoryPrimitives = require("./victory-primitives");
|
|
203
|
+
|
|
204
|
+
Object.keys(_victoryPrimitives).forEach(function (key) {
|
|
205
|
+
if (key === "default" || key === "__esModule") return;
|
|
206
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
207
|
+
if (key in exports && exports[key] === _victoryPrimitives[key]) return;
|
|
208
|
+
Object.defineProperty(exports, key, {
|
|
209
|
+
enumerable: true,
|
|
210
|
+
get: function () {
|
|
211
|
+
return _victoryPrimitives[key];
|
|
212
|
+
}
|
|
213
|
+
});
|
|
214
|
+
});
|
|
219
215
|
|
|
220
216
|
var _addEvents = _interopRequireDefault(require("./victory-util/add-events"));
|
|
221
217
|
|
|
@@ -275,8 +271,6 @@ var _TextSize = _interopRequireWildcard(require("./victory-util/textsize"));
|
|
|
275
271
|
|
|
276
272
|
exports.TextSize = _TextSize;
|
|
277
273
|
|
|
278
|
-
var _timer = _interopRequireDefault(require("./victory-util/timer"));
|
|
279
|
-
|
|
280
274
|
var _Transitions = _interopRequireWildcard(require("./victory-util/transitions"));
|
|
281
275
|
|
|
282
276
|
exports.Transitions = _Transitions;
|
|
@@ -297,10 +291,6 @@ var _Axis = _interopRequireWildcard(require("./victory-util/axis"));
|
|
|
297
291
|
|
|
298
292
|
exports.Axis = _Axis;
|
|
299
293
|
|
|
300
|
-
var _timerContext = _interopRequireDefault(require("./victory-util/timer-context"));
|
|
301
|
-
|
|
302
|
-
var _portalContext = _interopRequireDefault(require("./victory-portal/portal-context"));
|
|
303
|
-
|
|
304
294
|
var _Hooks = _interopRequireWildcard(require("./victory-util/hooks"));
|
|
305
295
|
|
|
306
296
|
exports.Hooks = _Hooks;
|
|
@@ -309,8 +299,30 @@ var _LineHelpers = _interopRequireWildcard(require("./victory-util/line-helpers"
|
|
|
309
299
|
|
|
310
300
|
exports.LineHelpers = _LineHelpers;
|
|
311
301
|
|
|
312
|
-
var
|
|
302
|
+
var _timer = _interopRequireDefault(require("./victory-util/timer"));
|
|
303
|
+
|
|
304
|
+
var _PointPathHelpers = _interopRequireWildcard(require("./victory-util/point-path-helpers"));
|
|
305
|
+
|
|
306
|
+
exports.PointPathHelpers = _PointPathHelpers;
|
|
307
|
+
|
|
308
|
+
var _timerContext = _interopRequireDefault(require("./victory-util/timer-context"));
|
|
309
|
+
|
|
310
|
+
var _types = require("./victory-util/types");
|
|
311
|
+
|
|
312
|
+
Object.keys(_types).forEach(function (key) {
|
|
313
|
+
if (key === "default" || key === "__esModule") return;
|
|
314
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
315
|
+
if (key in exports && exports[key] === _types[key]) return;
|
|
316
|
+
Object.defineProperty(exports, key, {
|
|
317
|
+
enumerable: true,
|
|
318
|
+
get: function () {
|
|
319
|
+
return _types[key];
|
|
320
|
+
}
|
|
321
|
+
});
|
|
322
|
+
});
|
|
323
|
+
|
|
324
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
313
325
|
|
|
314
|
-
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; }
|
|
326
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
315
327
|
|
|
316
328
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
package/lib/types.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This is the first parameter of a callback when a callback is used to
|
|
3
|
+
* resolve the value of a property instead of a concrete value.
|
|
4
|
+
*
|
|
5
|
+
* Note that additional properties here like `scale`, `x`, `y`, etc are resolved
|
|
6
|
+
* values of properties from the VictoryXXXProps for each component.
|
|
7
|
+
*/
|
|
8
|
+
import type { D3Scale } from "./victory-util/types";
|
|
9
|
+
export interface CallbackArgs {
|
|
10
|
+
active?: boolean;
|
|
11
|
+
data?: any;
|
|
12
|
+
datum?: any;
|
|
13
|
+
horizontal?: boolean;
|
|
14
|
+
index: number | string;
|
|
15
|
+
x?: number;
|
|
16
|
+
y?: number;
|
|
17
|
+
scale?: {
|
|
18
|
+
x?: D3Scale;
|
|
19
|
+
y?: D3Scale;
|
|
20
|
+
};
|
|
21
|
+
tick?: any;
|
|
22
|
+
ticks?: any;
|
|
23
|
+
text?: any;
|
|
24
|
+
}
|
|
25
|
+
export declare type VictoryStringOrNumberCallback = (args: CallbackArgs) => string | number;
|
|
26
|
+
export declare type VictoryStringCallback = (args: CallbackArgs) => string;
|
|
27
|
+
export declare type StringOrNumberOrCallback = string | number | VictoryStringOrNumberCallback;
|
|
28
|
+
export declare type StringOrCallback = string | VictoryStringCallback;
|
|
29
|
+
export declare type SliceNumberOrCallback<T, P extends string | number | symbol = never> = number | ((props: Omit<T, P>) => number);
|
|
30
|
+
export declare type CoordinatesPropType = {
|
|
31
|
+
x: number;
|
|
32
|
+
y: number;
|
|
33
|
+
};
|
package/lib/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import PropTypes from "prop-types";
|
|
3
|
+
export interface VictoryAccessibleGroupProps {
|
|
4
|
+
desc?: string;
|
|
5
|
+
"aria-describedby"?: string;
|
|
6
|
+
"aria-label"?: string;
|
|
7
|
+
children?: React.ReactElement | React.ReactElement[];
|
|
8
|
+
className?: string;
|
|
9
|
+
tabIndex?: number;
|
|
10
|
+
}
|
|
11
|
+
export declare class VictoryAccessibleGroup extends React.Component<VictoryAccessibleGroupProps> {
|
|
12
|
+
static displayName: string;
|
|
13
|
+
static propTypes: {
|
|
14
|
+
"aria-describedby": PropTypes.Requireable<string>;
|
|
15
|
+
"aria-label": PropTypes.Requireable<string>;
|
|
16
|
+
children: PropTypes.Requireable<string | number | boolean | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
17
|
+
className: PropTypes.Requireable<string>;
|
|
18
|
+
desc: PropTypes.Requireable<string>;
|
|
19
|
+
tabIndex: PropTypes.Requireable<number>;
|
|
20
|
+
};
|
|
21
|
+
static defaultProps: {
|
|
22
|
+
className: string;
|
|
23
|
+
};
|
|
24
|
+
render(): JSX.Element;
|
|
25
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.VictoryAccessibleGroup = void 0;
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
@@ -15,42 +15,50 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
15
15
|
|
|
16
16
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
17
17
|
|
|
18
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
18
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19
19
|
|
|
20
|
-
function
|
|
20
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
21
|
+
|
|
22
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
23
|
+
|
|
24
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
25
|
+
|
|
26
|
+
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
21
27
|
|
|
22
28
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
23
29
|
|
|
24
|
-
function
|
|
30
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
25
31
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
function (_React$Component) {
|
|
32
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
33
|
+
|
|
34
|
+
var VictoryAccessibleGroup = /*#__PURE__*/function (_React$Component) {
|
|
29
35
|
_inherits(VictoryAccessibleGroup, _React$Component);
|
|
30
36
|
|
|
37
|
+
var _super = _createSuper(VictoryAccessibleGroup);
|
|
38
|
+
|
|
31
39
|
function VictoryAccessibleGroup() {
|
|
32
40
|
_classCallCheck(this, VictoryAccessibleGroup);
|
|
33
41
|
|
|
34
|
-
return
|
|
42
|
+
return _super.apply(this, arguments);
|
|
35
43
|
}
|
|
36
44
|
|
|
37
45
|
_createClass(VictoryAccessibleGroup, [{
|
|
38
46
|
key: "render",
|
|
39
47
|
value: function render() {
|
|
40
|
-
var
|
|
41
|
-
desc =
|
|
42
|
-
children =
|
|
43
|
-
className =
|
|
44
|
-
tabIndex =
|
|
48
|
+
var _this$props = this.props,
|
|
49
|
+
desc = _this$props.desc,
|
|
50
|
+
children = _this$props.children,
|
|
51
|
+
className = _this$props.className,
|
|
52
|
+
tabIndex = _this$props.tabIndex;
|
|
45
53
|
var descId = desc && (this.props["aria-describedby"] || desc.split(" ").join("-"));
|
|
46
|
-
return desc ? _react.default.createElement("g", {
|
|
54
|
+
return desc ? /*#__PURE__*/_react.default.createElement("g", {
|
|
47
55
|
"aria-label": this.props["aria-label"],
|
|
48
56
|
"aria-describedby": descId,
|
|
49
57
|
className: className,
|
|
50
58
|
tabIndex: tabIndex
|
|
51
|
-
}, _react.default.createElement("desc", {
|
|
59
|
+
}, /*#__PURE__*/_react.default.createElement("desc", {
|
|
52
60
|
id: descId
|
|
53
|
-
}, desc), children) : _react.default.createElement("g", {
|
|
61
|
+
}, desc), children) : /*#__PURE__*/_react.default.createElement("g", {
|
|
54
62
|
"aria-label": this.props["aria-label"],
|
|
55
63
|
"aria-describedby": this.props["aria-describedby"],
|
|
56
64
|
className: className,
|
|
@@ -62,32 +70,16 @@ function (_React$Component) {
|
|
|
62
70
|
return VictoryAccessibleGroup;
|
|
63
71
|
}(_react.default.Component);
|
|
64
72
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
children: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.node), _propTypes.default.node]),
|
|
79
|
-
className: _propTypes.default.string,
|
|
80
|
-
desc: _propTypes.default.string,
|
|
81
|
-
tabIndex: _propTypes.default.number
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
Object.defineProperty(VictoryAccessibleGroup, "defaultProps", {
|
|
85
|
-
configurable: true,
|
|
86
|
-
enumerable: true,
|
|
87
|
-
writable: true,
|
|
88
|
-
value: {
|
|
89
|
-
className: "VictoryAccessibleGroup"
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
var _default = VictoryAccessibleGroup;
|
|
93
|
-
exports.default = _default;
|
|
73
|
+
exports.VictoryAccessibleGroup = VictoryAccessibleGroup;
|
|
74
|
+
VictoryAccessibleGroup.displayName = "VictoryAccessibleGroup";
|
|
75
|
+
VictoryAccessibleGroup.propTypes = {
|
|
76
|
+
"aria-describedby": _propTypes.default.string,
|
|
77
|
+
"aria-label": _propTypes.default.string,
|
|
78
|
+
children: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.node), _propTypes.default.node]),
|
|
79
|
+
className: _propTypes.default.string,
|
|
80
|
+
desc: _propTypes.default.string,
|
|
81
|
+
tabIndex: _propTypes.default.number
|
|
82
|
+
};
|
|
83
|
+
VictoryAccessibleGroup.defaultProps = {
|
|
84
|
+
className: "VictoryAccessibleGroup"
|
|
85
|
+
};
|