victory-core 36.8.6 → 36.9.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/CHANGELOG.md +6 -0
- package/dist/victory-core.js +74 -2349
- package/dist/victory-core.min.js +1 -1
- package/es/victory-accessible-group/victory-accessible-group.d.ts +0 -9
- package/es/victory-accessible-group/victory-accessible-group.js +0 -9
- package/es/victory-animation/victory-animation.d.ts +0 -9
- package/es/victory-animation/victory-animation.js +0 -9
- package/es/victory-clip-container/victory-clip-container.d.ts +0 -30
- package/es/victory-clip-container/victory-clip-container.js +0 -31
- package/es/victory-container/victory-container.d.ts +0 -31
- package/es/victory-container/victory-container.js +0 -32
- package/es/victory-label/victory-label.js +1 -52
- package/es/victory-portal/portal.d.ts +0 -8
- package/es/victory-portal/portal.js +1 -10
- package/es/victory-portal/victory-portal.d.ts +0 -5
- package/es/victory-portal/victory-portal.js +0 -5
- package/es/victory-primitives/arc.d.ts +1 -32
- package/es/victory-primitives/arc.js +1 -13
- package/es/victory-primitives/background.d.ts +1 -32
- package/es/victory-primitives/background.js +1 -13
- package/es/victory-primitives/border.d.ts +1 -29
- package/es/victory-primitives/border.js +1 -10
- package/es/victory-primitives/line-segment.d.ts +1 -30
- package/es/victory-primitives/line-segment.js +1 -11
- package/es/victory-primitives/point.d.ts +1 -31
- package/es/victory-primitives/point.js +1 -12
- package/es/victory-primitives/whisker.d.ts +1 -38
- package/es/victory-primitives/whisker.js +1 -19
- package/es/victory-transition/victory-transition.d.ts +0 -6
- package/es/victory-transition/victory-transition.js +0 -6
- package/es/victory-util/common-props.d.ts +0 -5
- package/es/victory-util/common-props.js +1 -132
- package/es/victory-util/index.d.ts +0 -1
- package/es/victory-util/index.js +0 -2
- package/lib/victory-accessible-group/victory-accessible-group.d.ts +0 -9
- package/lib/victory-accessible-group/victory-accessible-group.js +0 -10
- package/lib/victory-animation/victory-animation.d.ts +0 -9
- package/lib/victory-animation/victory-animation.js +0 -10
- package/lib/victory-clip-container/victory-clip-container.d.ts +0 -30
- package/lib/victory-clip-container/victory-clip-container.js +0 -33
- package/lib/victory-container/victory-container.d.ts +0 -31
- package/lib/victory-container/victory-container.js +0 -34
- package/lib/victory-label/victory-label.js +1 -54
- package/lib/victory-portal/portal.d.ts +0 -8
- package/lib/victory-portal/portal.js +1 -16
- package/lib/victory-portal/victory-portal.d.ts +0 -5
- package/lib/victory-portal/victory-portal.js +0 -6
- package/lib/victory-primitives/arc.d.ts +1 -32
- package/lib/victory-primitives/arc.js +1 -15
- package/lib/victory-primitives/background.d.ts +1 -32
- package/lib/victory-primitives/background.js +1 -15
- package/lib/victory-primitives/border.d.ts +1 -29
- package/lib/victory-primitives/border.js +1 -12
- package/lib/victory-primitives/line-segment.d.ts +1 -30
- package/lib/victory-primitives/line-segment.js +1 -13
- package/lib/victory-primitives/point.d.ts +1 -31
- package/lib/victory-primitives/point.js +1 -14
- package/lib/victory-primitives/whisker.d.ts +1 -38
- package/lib/victory-primitives/whisker.js +1 -21
- package/lib/victory-transition/victory-transition.d.ts +0 -6
- package/lib/victory-transition/victory-transition.js +0 -7
- package/lib/victory-util/common-props.d.ts +0 -5
- package/lib/victory-util/common-props.js +1 -148
- package/lib/victory-util/index.d.ts +0 -1
- package/lib/victory-util/index.js +1 -6
- package/package.json +2 -3
- package/src/victory-accessible-group/victory-accessible-group.tsx +0 -12
- package/src/victory-animation/victory-animation.tsx +0 -51
- package/src/victory-clip-container/victory-clip-container.tsx +0 -34
- package/src/victory-container/victory-container.tsx +0 -35
- package/src/victory-label/victory-label.tsx +0 -83
- package/src/victory-portal/portal.tsx +0 -9
- package/src/victory-portal/victory-portal.tsx +0 -6
- package/src/victory-primitives/arc.tsx +1 -17
- package/src/victory-primitives/background.tsx +1 -17
- package/src/victory-primitives/border.tsx +1 -14
- package/src/victory-primitives/line-segment.tsx +1 -15
- package/src/victory-primitives/point.tsx +1 -29
- package/src/victory-primitives/whisker.tsx +1 -23
- package/src/victory-transition/victory-transition.tsx +0 -7
- package/src/victory-util/common-props.tsx +0 -218
- package/src/victory-util/index.ts +0 -1
- package/es/victory-util/prop-types.d.ts +0 -51
- package/es/victory-util/prop-types.js +0 -241
- package/lib/victory-util/prop-types.d.ts +0 -51
- package/lib/victory-util/prop-types.js +0 -269
- package/src/victory-util/prop-types.ts +0 -254
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
2
|
import { VictoryCommonPrimitiveProps } from "../victory-util/common-props";
|
|
4
3
|
export interface LineSegmentProps extends VictoryCommonPrimitiveProps {
|
|
5
4
|
datum?: any;
|
|
@@ -9,33 +8,5 @@ export interface LineSegmentProps extends VictoryCommonPrimitiveProps {
|
|
|
9
8
|
y1?: number;
|
|
10
9
|
y2?: number;
|
|
11
10
|
}
|
|
12
|
-
export declare const LineSegment:
|
|
13
|
-
(initialProps: LineSegmentProps): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
14
|
-
propTypes: {
|
|
15
|
-
datum: PropTypes.Requireable<any>;
|
|
16
|
-
lineComponent: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
17
|
-
x1: PropTypes.Requireable<number>;
|
|
18
|
-
x2: PropTypes.Requireable<number>;
|
|
19
|
-
y1: PropTypes.Requireable<number>;
|
|
20
|
-
y2: PropTypes.Requireable<number>;
|
|
21
|
-
active?: React.Validator<boolean | null | undefined> | undefined;
|
|
22
|
-
ariaLabel?: React.Validator<import("..").StringOrCallback | null | undefined> | undefined;
|
|
23
|
-
className?: React.Validator<string | null | undefined> | undefined;
|
|
24
|
-
clipPath?: React.Validator<string | null | undefined> | undefined;
|
|
25
|
-
data?: React.Validator<any> | undefined;
|
|
26
|
-
desc?: React.Validator<string | Function | null | undefined> | undefined;
|
|
27
|
-
disableInlineStyles?: React.Validator<boolean | null | undefined> | undefined;
|
|
28
|
-
events?: React.Validator<object | null | undefined> | undefined;
|
|
29
|
-
id?: React.Validator<string | number | Function | null | undefined> | undefined;
|
|
30
|
-
index?: React.Validator<string | number | null | undefined> | undefined;
|
|
31
|
-
origin?: React.Validator<import("..").OriginType | null | undefined> | undefined;
|
|
32
|
-
polar?: React.Validator<boolean | null | undefined> | undefined;
|
|
33
|
-
role?: React.Validator<string | null | undefined> | undefined;
|
|
34
|
-
scale?: React.Validator<any> | undefined;
|
|
35
|
-
shapeRendering?: React.Validator<string | null | undefined> | undefined;
|
|
36
|
-
style?: React.Validator<any> | undefined;
|
|
37
|
-
tabIndex?: React.Validator<import("..").NumberOrCallback | null | undefined> | undefined;
|
|
38
|
-
transform?: React.Validator<string | null | undefined> | undefined;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
11
|
+
export declare const LineSegment: (initialProps: LineSegmentProps) => React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
41
12
|
//# sourceMappingURL=line-segment.d.ts.map
|
|
@@ -5,9 +5,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5
5
|
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; }
|
|
6
6
|
|
|
7
7
|
import React from "react";
|
|
8
|
-
import PropTypes from "prop-types";
|
|
9
8
|
import * as Helpers from "../victory-util/helpers";
|
|
10
|
-
import { CommonProps } from "../victory-util/common-props";
|
|
11
9
|
import { Line } from "./line";
|
|
12
10
|
|
|
13
11
|
var evaluateProps = function (props) {
|
|
@@ -57,12 +55,4 @@ export var LineSegment = function (initialProps) {
|
|
|
57
55
|
transform: props.transform,
|
|
58
56
|
clipPath: props.clipPath
|
|
59
57
|
}));
|
|
60
|
-
};
|
|
61
|
-
LineSegment.propTypes = _objectSpread(_objectSpread({}, CommonProps.primitiveProps), {}, {
|
|
62
|
-
datum: PropTypes.any,
|
|
63
|
-
lineComponent: PropTypes.element,
|
|
64
|
-
x1: PropTypes.number,
|
|
65
|
-
x2: PropTypes.number,
|
|
66
|
-
y1: PropTypes.number,
|
|
67
|
-
y2: PropTypes.number
|
|
68
|
-
});
|
|
58
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import PropTypes from "prop-types";
|
|
2
1
|
import React from "react";
|
|
3
2
|
import { VictoryCommonPrimitiveProps } from "../victory-util/common-props";
|
|
4
3
|
import { ScatterSymbolType } from "./types";
|
|
@@ -11,34 +10,5 @@ export interface PointProps extends VictoryCommonPrimitiveProps {
|
|
|
11
10
|
x?: number;
|
|
12
11
|
y?: number;
|
|
13
12
|
}
|
|
14
|
-
export declare const Point:
|
|
15
|
-
(initialProps: PointProps): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
16
|
-
propTypes: {
|
|
17
|
-
datum: PropTypes.Requireable<object>;
|
|
18
|
-
getPath: PropTypes.Requireable<(...args: any[]) => any>;
|
|
19
|
-
pathComponent: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
20
|
-
size: PropTypes.Requireable<number | ((...args: any[]) => any)>;
|
|
21
|
-
symbol: PropTypes.Requireable<string | ((...args: any[]) => any)>;
|
|
22
|
-
x: PropTypes.Requireable<number>;
|
|
23
|
-
y: PropTypes.Requireable<number>;
|
|
24
|
-
active?: React.Validator<boolean | null | undefined> | undefined;
|
|
25
|
-
ariaLabel?: React.Validator<import("..").StringOrCallback | null | undefined> | undefined;
|
|
26
|
-
className?: React.Validator<string | null | undefined> | undefined;
|
|
27
|
-
clipPath?: React.Validator<string | null | undefined> | undefined;
|
|
28
|
-
data?: React.Validator<any> | undefined;
|
|
29
|
-
desc?: React.Validator<string | Function | null | undefined> | undefined;
|
|
30
|
-
disableInlineStyles?: React.Validator<boolean | null | undefined> | undefined;
|
|
31
|
-
events?: React.Validator<object | null | undefined> | undefined;
|
|
32
|
-
id?: React.Validator<string | number | Function | null | undefined> | undefined;
|
|
33
|
-
index?: React.Validator<string | number | null | undefined> | undefined;
|
|
34
|
-
origin?: React.Validator<import("..").OriginType | null | undefined> | undefined;
|
|
35
|
-
polar?: React.Validator<boolean | null | undefined> | undefined;
|
|
36
|
-
role?: React.Validator<string | null | undefined> | undefined;
|
|
37
|
-
scale?: React.Validator<any> | undefined;
|
|
38
|
-
shapeRendering?: React.Validator<string | null | undefined> | undefined;
|
|
39
|
-
style?: React.Validator<any> | undefined;
|
|
40
|
-
tabIndex?: React.Validator<import("..").NumberOrCallback | null | undefined> | undefined;
|
|
41
|
-
transform?: React.Validator<string | null | undefined> | undefined;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
13
|
+
export declare const Point: (initialProps: PointProps) => React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
44
14
|
//# sourceMappingURL=point.d.ts.map
|
|
@@ -4,11 +4,9 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4
4
|
|
|
5
5
|
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; }
|
|
6
6
|
|
|
7
|
-
import PropTypes from "prop-types";
|
|
8
7
|
import React from "react";
|
|
9
8
|
import * as Helpers from "../victory-util/helpers";
|
|
10
9
|
import * as pathHelpers from "../victory-util/point-path-helpers";
|
|
11
|
-
import { CommonProps } from "../victory-util/common-props";
|
|
12
10
|
import * as UserProps from "../victory-util/user-props";
|
|
13
11
|
import { Path } from "./path";
|
|
14
12
|
|
|
@@ -76,13 +74,4 @@ export var Point = function (initialProps) {
|
|
|
76
74
|
transform: props.transform,
|
|
77
75
|
clipPath: props.clipPath
|
|
78
76
|
}, userProps));
|
|
79
|
-
};
|
|
80
|
-
Point.propTypes = _objectSpread(_objectSpread({}, CommonProps.primitiveProps), {}, {
|
|
81
|
-
datum: PropTypes.object,
|
|
82
|
-
getPath: PropTypes.func,
|
|
83
|
-
pathComponent: PropTypes.element,
|
|
84
|
-
size: PropTypes.oneOfType([PropTypes.number, PropTypes.func]),
|
|
85
|
-
symbol: PropTypes.oneOfType([PropTypes.oneOf(["circle", "cross", "diamond", "plus", "minus", "square", "star", "triangleDown", "triangleUp"]), PropTypes.func]),
|
|
86
|
-
x: PropTypes.number,
|
|
87
|
-
y: PropTypes.number
|
|
88
|
-
});
|
|
77
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
2
|
import { VictoryCommonPrimitiveProps } from "../victory-util/common-props";
|
|
4
3
|
export declare type WhiskerAxes = {
|
|
5
4
|
x1?: number;
|
|
@@ -13,41 +12,5 @@ export interface WhiskerProps extends VictoryCommonPrimitiveProps {
|
|
|
13
12
|
majorWhisker?: WhiskerAxes;
|
|
14
13
|
minorWhisker?: WhiskerAxes;
|
|
15
14
|
}
|
|
16
|
-
export declare const Whisker: {
|
|
17
|
-
(initialProps: WhiskerProps): React.DetailedReactHTMLElement<{}, HTMLElement>;
|
|
18
|
-
propTypes: {
|
|
19
|
-
groupComponent: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
20
|
-
lineComponent: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
21
|
-
majorWhisker: PropTypes.Requireable<PropTypes.InferProps<{
|
|
22
|
-
x1: PropTypes.Requireable<number>;
|
|
23
|
-
x2: PropTypes.Requireable<number>;
|
|
24
|
-
y1: PropTypes.Requireable<number>;
|
|
25
|
-
y2: PropTypes.Requireable<number>;
|
|
26
|
-
}>>;
|
|
27
|
-
minorWhisker: PropTypes.Requireable<PropTypes.InferProps<{
|
|
28
|
-
x1: PropTypes.Requireable<number>;
|
|
29
|
-
x2: PropTypes.Requireable<number>;
|
|
30
|
-
y1: PropTypes.Requireable<number>;
|
|
31
|
-
y2: PropTypes.Requireable<number>;
|
|
32
|
-
}>>;
|
|
33
|
-
active?: React.Validator<boolean | null | undefined> | undefined;
|
|
34
|
-
ariaLabel?: React.Validator<import("..").StringOrCallback | null | undefined> | undefined;
|
|
35
|
-
className?: React.Validator<string | null | undefined> | undefined;
|
|
36
|
-
clipPath?: React.Validator<string | null | undefined> | undefined;
|
|
37
|
-
data?: React.Validator<any> | undefined;
|
|
38
|
-
desc?: React.Validator<string | Function | null | undefined> | undefined;
|
|
39
|
-
disableInlineStyles?: React.Validator<boolean | null | undefined> | undefined;
|
|
40
|
-
events?: React.Validator<object | null | undefined> | undefined;
|
|
41
|
-
id?: React.Validator<string | number | Function | null | undefined> | undefined;
|
|
42
|
-
index?: React.Validator<string | number | null | undefined> | undefined;
|
|
43
|
-
origin?: React.Validator<import("..").OriginType | null | undefined> | undefined;
|
|
44
|
-
polar?: React.Validator<boolean | null | undefined> | undefined;
|
|
45
|
-
role?: React.Validator<string | null | undefined> | undefined;
|
|
46
|
-
scale?: React.Validator<any> | undefined;
|
|
47
|
-
shapeRendering?: React.Validator<string | null | undefined> | undefined;
|
|
48
|
-
style?: React.Validator<any> | undefined;
|
|
49
|
-
tabIndex?: React.Validator<import("..").NumberOrCallback | null | undefined> | undefined;
|
|
50
|
-
transform?: React.Validator<string | null | undefined> | undefined;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
15
|
+
export declare const Whisker: (initialProps: WhiskerProps) => React.DetailedReactHTMLElement<{}, HTMLElement>;
|
|
53
16
|
//# sourceMappingURL=whisker.d.ts.map
|
|
@@ -5,9 +5,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
5
5
|
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; }
|
|
6
6
|
|
|
7
7
|
import React from "react";
|
|
8
|
-
import PropTypes from "prop-types";
|
|
9
8
|
import * as Helpers from "../victory-util/helpers";
|
|
10
|
-
import { CommonProps } from "../victory-util/common-props";
|
|
11
9
|
import { Line } from "./line";
|
|
12
10
|
|
|
13
11
|
var evaluateProps = function (props) {
|
|
@@ -74,20 +72,4 @@ export var Whisker = function (initialProps) {
|
|
|
74
72
|
key: "minor-whisker",
|
|
75
73
|
"aria-label": ariaLabel
|
|
76
74
|
}, baseProps, minorWhisker))]);
|
|
77
|
-
};
|
|
78
|
-
Whisker.propTypes = _objectSpread(_objectSpread({}, CommonProps.primitiveProps), {}, {
|
|
79
|
-
groupComponent: PropTypes.element,
|
|
80
|
-
lineComponent: PropTypes.element,
|
|
81
|
-
majorWhisker: PropTypes.shape({
|
|
82
|
-
x1: PropTypes.number,
|
|
83
|
-
x2: PropTypes.number,
|
|
84
|
-
y1: PropTypes.number,
|
|
85
|
-
y2: PropTypes.number
|
|
86
|
-
}),
|
|
87
|
-
minorWhisker: PropTypes.shape({
|
|
88
|
-
x1: PropTypes.number,
|
|
89
|
-
x2: PropTypes.number,
|
|
90
|
-
y1: PropTypes.number,
|
|
91
|
-
y2: PropTypes.number
|
|
92
|
-
})
|
|
93
|
-
});
|
|
75
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
2
|
import TimerContext from "../victory-util/timer-context";
|
|
4
3
|
import Timer from "../victory-util/timer";
|
|
5
4
|
declare type VictoryTransitionChild = React.ReactElement<{
|
|
@@ -33,11 +32,6 @@ export interface VictoryTransition {
|
|
|
33
32
|
}
|
|
34
33
|
export declare class VictoryTransition extends React.Component<VictoryTransitionProps, VictoryTransitionState> {
|
|
35
34
|
static displayName: string;
|
|
36
|
-
static propTypes: {
|
|
37
|
-
animate: PropTypes.Requireable<boolean | object>;
|
|
38
|
-
animationWhitelist: PropTypes.Requireable<any[]>;
|
|
39
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
40
|
-
};
|
|
41
35
|
static contextType: React.Context<{
|
|
42
36
|
transitionTimer: Timer;
|
|
43
37
|
animationTimer: Timer;
|
|
@@ -25,7 +25,6 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
25
25
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
26
26
|
|
|
27
27
|
import React from "react";
|
|
28
|
-
import PropTypes from "prop-types";
|
|
29
28
|
import { VictoryAnimation } from "../victory-animation/victory-animation";
|
|
30
29
|
import * as Collection from "../victory-util/collection";
|
|
31
30
|
import * as Helpers from "../victory-util/helpers";
|
|
@@ -229,9 +228,4 @@ export var VictoryTransition = /*#__PURE__*/function (_React$Component) {
|
|
|
229
228
|
return VictoryTransition;
|
|
230
229
|
}(React.Component);
|
|
231
230
|
VictoryTransition.displayName = "VictoryTransition";
|
|
232
|
-
VictoryTransition.propTypes = {
|
|
233
|
-
animate: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),
|
|
234
|
-
animationWhitelist: PropTypes.array,
|
|
235
|
-
children: PropTypes.node
|
|
236
|
-
};
|
|
237
231
|
VictoryTransition.contextType = TimerContext;
|
|
@@ -77,9 +77,4 @@ export interface VictoryCommonPrimitiveProps {
|
|
|
77
77
|
tabIndex?: NumberOrCallback;
|
|
78
78
|
transform?: string;
|
|
79
79
|
}
|
|
80
|
-
export declare const CommonProps: {
|
|
81
|
-
dataProps: React.WeakValidationMap<VictoryDatableProps>;
|
|
82
|
-
baseProps: React.WeakValidationMap<VictoryCommonProps>;
|
|
83
|
-
primitiveProps: React.WeakValidationMap<VictoryCommonPrimitiveProps>;
|
|
84
|
-
};
|
|
85
80
|
//# sourceMappingURL=common-props.d.ts.map
|
|
@@ -1,132 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import * as CustomPropTypes from "./prop-types";
|
|
3
|
-
var dataProps = {
|
|
4
|
-
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
5
|
-
categories: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.shape({
|
|
6
|
-
x: PropTypes.arrayOf(PropTypes.string),
|
|
7
|
-
y: PropTypes.arrayOf(PropTypes.string)
|
|
8
|
-
})]),
|
|
9
|
-
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
10
|
-
data: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),
|
|
11
|
-
dataComponent: PropTypes.element,
|
|
12
|
-
disableInlineStyles: PropTypes.bool,
|
|
13
|
-
labelComponent: PropTypes.element,
|
|
14
|
-
labels: PropTypes.oneOfType([PropTypes.func, PropTypes.array]),
|
|
15
|
-
samples: CustomPropTypes.nonNegative,
|
|
16
|
-
sortKey: PropTypes.oneOfType([PropTypes.func, CustomPropTypes.allOfType([CustomPropTypes.integer, CustomPropTypes.nonNegative]), PropTypes.string, PropTypes.arrayOf(PropTypes.string.isRequired)]),
|
|
17
|
-
sortOrder: PropTypes.oneOf(["ascending", "descending"]),
|
|
18
|
-
style: PropTypes.shape({
|
|
19
|
-
parent: PropTypes.object,
|
|
20
|
-
data: PropTypes.object,
|
|
21
|
-
labels: PropTypes.object
|
|
22
|
-
}),
|
|
23
|
-
x: PropTypes.oneOfType([PropTypes.func, CustomPropTypes.allOfType([CustomPropTypes.integer, CustomPropTypes.nonNegative]), PropTypes.string, PropTypes.arrayOf(PropTypes.string.isRequired)]),
|
|
24
|
-
y: PropTypes.oneOfType([PropTypes.func, CustomPropTypes.allOfType([CustomPropTypes.integer, CustomPropTypes.nonNegative]), PropTypes.string, PropTypes.arrayOf(PropTypes.string.isRequired)]),
|
|
25
|
-
y0: PropTypes.oneOfType([PropTypes.func, CustomPropTypes.allOfType([CustomPropTypes.integer, CustomPropTypes.nonNegative]), PropTypes.string, PropTypes.arrayOf(PropTypes.string.isRequired)])
|
|
26
|
-
};
|
|
27
|
-
var baseProps = {
|
|
28
|
-
animate: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),
|
|
29
|
-
containerComponent: PropTypes.element,
|
|
30
|
-
domain: PropTypes.oneOfType([CustomPropTypes.domain, PropTypes.shape({
|
|
31
|
-
x: CustomPropTypes.domain,
|
|
32
|
-
y: CustomPropTypes.domain
|
|
33
|
-
})]),
|
|
34
|
-
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
35
|
-
maxDomain: PropTypes.oneOfType([PropTypes.number, PropTypes.instanceOf(Date), PropTypes.shape({
|
|
36
|
-
x: PropTypes.oneOfType([PropTypes.number, PropTypes.instanceOf(Date)]),
|
|
37
|
-
y: PropTypes.oneOfType([PropTypes.number, PropTypes.instanceOf(Date)])
|
|
38
|
-
})]),
|
|
39
|
-
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
40
|
-
minDomain: PropTypes.oneOfType([PropTypes.number, PropTypes.instanceOf(Date), PropTypes.shape({
|
|
41
|
-
x: PropTypes.oneOfType([PropTypes.number, PropTypes.instanceOf(Date)]),
|
|
42
|
-
y: PropTypes.oneOfType([PropTypes.number, PropTypes.instanceOf(Date)])
|
|
43
|
-
})]),
|
|
44
|
-
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
45
|
-
domainPadding: PropTypes.oneOfType([PropTypes.shape({
|
|
46
|
-
x: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(PropTypes.number)]),
|
|
47
|
-
y: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(PropTypes.number)])
|
|
48
|
-
}), PropTypes.number, PropTypes.arrayOf(PropTypes.number)]),
|
|
49
|
-
eventKey: PropTypes.oneOfType([PropTypes.func, CustomPropTypes.allOfType([CustomPropTypes.integer, CustomPropTypes.nonNegative]), PropTypes.string]),
|
|
50
|
-
events: PropTypes.arrayOf(PropTypes.shape({
|
|
51
|
-
target: PropTypes.oneOf(["data", "labels", "parent"]),
|
|
52
|
-
eventKey: PropTypes.oneOfType([PropTypes.array, CustomPropTypes.allOfType([CustomPropTypes.integer, CustomPropTypes.nonNegative]), PropTypes.string]),
|
|
53
|
-
eventHandlers: PropTypes.object
|
|
54
|
-
})),
|
|
55
|
-
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
56
|
-
externalEventMutations: PropTypes.arrayOf(PropTypes.shape({
|
|
57
|
-
callback: PropTypes.func,
|
|
58
|
-
childName: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
|
|
59
|
-
eventKey: PropTypes.oneOfType([PropTypes.array, CustomPropTypes.allOfType([CustomPropTypes.integer, CustomPropTypes.nonNegative]), PropTypes.string]),
|
|
60
|
-
mutation: PropTypes.func,
|
|
61
|
-
target: PropTypes.oneOfType([PropTypes.string, PropTypes.array])
|
|
62
|
-
})),
|
|
63
|
-
groupComponent: PropTypes.element,
|
|
64
|
-
height: CustomPropTypes.nonNegative,
|
|
65
|
-
name: PropTypes.string,
|
|
66
|
-
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
67
|
-
origin: PropTypes.shape({
|
|
68
|
-
x: PropTypes.number,
|
|
69
|
-
y: PropTypes.number
|
|
70
|
-
}),
|
|
71
|
-
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
72
|
-
padding: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({
|
|
73
|
-
top: PropTypes.number,
|
|
74
|
-
bottom: PropTypes.number,
|
|
75
|
-
left: PropTypes.number,
|
|
76
|
-
right: PropTypes.number
|
|
77
|
-
})]),
|
|
78
|
-
polar: PropTypes.bool,
|
|
79
|
-
range: PropTypes.oneOfType([CustomPropTypes.domain, PropTypes.shape({
|
|
80
|
-
x: CustomPropTypes.domain.isRequired,
|
|
81
|
-
y: CustomPropTypes.domain.isRequired
|
|
82
|
-
})]),
|
|
83
|
-
scale: PropTypes.oneOfType([CustomPropTypes.scale, PropTypes.shape({
|
|
84
|
-
x: CustomPropTypes.scale.isRequired,
|
|
85
|
-
y: CustomPropTypes.scale.isRequired
|
|
86
|
-
})]),
|
|
87
|
-
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
88
|
-
sharedEvents: PropTypes.shape({
|
|
89
|
-
events: PropTypes.array,
|
|
90
|
-
getEventState: PropTypes.func
|
|
91
|
-
}),
|
|
92
|
-
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
93
|
-
singleQuadrantDomainPadding: PropTypes.oneOfType([PropTypes.bool, PropTypes.shape({
|
|
94
|
-
x: PropTypes.oneOfType([PropTypes.bool]),
|
|
95
|
-
y: PropTypes.oneOfType([PropTypes.bool])
|
|
96
|
-
})]),
|
|
97
|
-
standalone: PropTypes.bool,
|
|
98
|
-
theme: PropTypes.object,
|
|
99
|
-
width: CustomPropTypes.nonNegative
|
|
100
|
-
};
|
|
101
|
-
var primitiveProps = {
|
|
102
|
-
active: PropTypes.bool,
|
|
103
|
-
ariaLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
|
|
104
|
-
className: PropTypes.string,
|
|
105
|
-
clipPath: PropTypes.string,
|
|
106
|
-
data: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),
|
|
107
|
-
desc: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
|
|
108
|
-
disableInlineStyles: PropTypes.bool,
|
|
109
|
-
events: PropTypes.object,
|
|
110
|
-
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
|
|
111
|
-
index: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
112
|
-
// @ts-expect-error TODO: synchronize the type with this PropTypes
|
|
113
|
-
origin: PropTypes.shape({
|
|
114
|
-
x: PropTypes.number,
|
|
115
|
-
y: PropTypes.number
|
|
116
|
-
}),
|
|
117
|
-
polar: PropTypes.bool,
|
|
118
|
-
role: PropTypes.string,
|
|
119
|
-
scale: PropTypes.oneOfType([CustomPropTypes.scale, PropTypes.shape({
|
|
120
|
-
x: CustomPropTypes.scale,
|
|
121
|
-
y: CustomPropTypes.scale
|
|
122
|
-
})]),
|
|
123
|
-
shapeRendering: PropTypes.string,
|
|
124
|
-
style: PropTypes.object,
|
|
125
|
-
tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.func]),
|
|
126
|
-
transform: PropTypes.string
|
|
127
|
-
};
|
|
128
|
-
export var CommonProps = {
|
|
129
|
-
dataProps: dataProps,
|
|
130
|
-
baseProps: baseProps,
|
|
131
|
-
primitiveProps: primitiveProps
|
|
132
|
-
};
|
|
1
|
+
export {};
|
|
@@ -13,7 +13,6 @@ export * as LabelHelpers from "./label-helpers";
|
|
|
13
13
|
export * as LineHelpers from "./line-helpers";
|
|
14
14
|
export * as Log from "./log";
|
|
15
15
|
export * as PointPathHelpers from "./point-path-helpers";
|
|
16
|
-
export * as PropTypes from "./prop-types";
|
|
17
16
|
export * as Scale from "./scale";
|
|
18
17
|
export * as Selection from "./selection";
|
|
19
18
|
export type { SVGCoordinateType, SVGCoordinateBounds } from "./selection";
|
package/es/victory-util/index.js
CHANGED
|
@@ -26,8 +26,6 @@ import * as _Log from "./log";
|
|
|
26
26
|
export { _Log as Log };
|
|
27
27
|
import * as _PointPathHelpers from "./point-path-helpers";
|
|
28
28
|
export { _PointPathHelpers as PointPathHelpers };
|
|
29
|
-
import * as _PropTypes from "./prop-types";
|
|
30
|
-
export { _PropTypes as PropTypes };
|
|
31
29
|
import * as _Scale from "./scale";
|
|
32
30
|
export { _Scale as Scale };
|
|
33
31
|
import * as _Selection from "./selection";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
2
|
export interface VictoryAccessibleGroupProps {
|
|
4
3
|
desc?: string;
|
|
5
4
|
"aria-describedby"?: string;
|
|
@@ -10,14 +9,6 @@ export interface VictoryAccessibleGroupProps {
|
|
|
10
9
|
}
|
|
11
10
|
export declare class VictoryAccessibleGroup extends React.Component<VictoryAccessibleGroupProps> {
|
|
12
11
|
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
12
|
static defaultProps: {
|
|
22
13
|
className: string;
|
|
23
14
|
};
|
|
@@ -7,8 +7,6 @@ exports.VictoryAccessibleGroup = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
-
|
|
12
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
11
|
|
|
14
12
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -72,14 +70,6 @@ var VictoryAccessibleGroup = /*#__PURE__*/function (_React$Component) {
|
|
|
72
70
|
|
|
73
71
|
exports.VictoryAccessibleGroup = VictoryAccessibleGroup;
|
|
74
72
|
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
73
|
VictoryAccessibleGroup.defaultProps = {
|
|
84
74
|
className: "VictoryAccessibleGroup"
|
|
85
75
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
2
|
import TimerContext from "../victory-util/timer-context";
|
|
4
3
|
import type Timer from "../victory-util/timer";
|
|
5
4
|
/**
|
|
@@ -35,14 +34,6 @@ export interface VictoryAnimation {
|
|
|
35
34
|
}
|
|
36
35
|
export declare class VictoryAnimation extends React.Component<VictoryAnimationProps, VictoryAnimationState> {
|
|
37
36
|
static displayName: string;
|
|
38
|
-
static propTypes: {
|
|
39
|
-
children: PropTypes.Requireable<(...args: any[]) => any>;
|
|
40
|
-
data: PropTypes.Requireable<object>;
|
|
41
|
-
delay: PropTypes.Requireable<number>;
|
|
42
|
-
duration: PropTypes.Requireable<number>;
|
|
43
|
-
easing: PropTypes.Requireable<string>;
|
|
44
|
-
onEnd: PropTypes.Requireable<(...args: any[]) => any>;
|
|
45
|
-
};
|
|
46
37
|
static defaultProps: {
|
|
47
38
|
data: {};
|
|
48
39
|
delay: number;
|
|
@@ -7,8 +7,6 @@ exports.VictoryAnimation = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
|
-
|
|
12
10
|
var d3Ease = _interopRequireWildcard(require("victory-vendor/d3-ease"));
|
|
13
11
|
|
|
14
12
|
var _util = require("./util");
|
|
@@ -242,14 +240,6 @@ var VictoryAnimation = /*#__PURE__*/function (_React$Component) {
|
|
|
242
240
|
|
|
243
241
|
exports.VictoryAnimation = VictoryAnimation;
|
|
244
242
|
VictoryAnimation.displayName = "VictoryAnimation";
|
|
245
|
-
VictoryAnimation.propTypes = {
|
|
246
|
-
children: _propTypes.default.func,
|
|
247
|
-
data: _propTypes.default.oneOfType([_propTypes.default.object, _propTypes.default.array]),
|
|
248
|
-
delay: _propTypes.default.number,
|
|
249
|
-
duration: _propTypes.default.number,
|
|
250
|
-
easing: _propTypes.default.oneOf(["back", "backIn", "backOut", "backInOut", "bounce", "bounceIn", "bounceOut", "bounceInOut", "circle", "circleIn", "circleOut", "circleInOut", "linear", "linearIn", "linearOut", "linearInOut", "cubic", "cubicIn", "cubicOut", "cubicInOut", "elastic", "elasticIn", "elasticOut", "elasticInOut", "exp", "expIn", "expOut", "expInOut", "poly", "polyIn", "polyOut", "polyInOut", "quad", "quadIn", "quadOut", "quadInOut", "sin", "sinIn", "sinOut", "sinInOut"]),
|
|
251
|
-
onEnd: _propTypes.default.func
|
|
252
|
-
};
|
|
253
243
|
VictoryAnimation.defaultProps = {
|
|
254
244
|
data: {},
|
|
255
245
|
delay: 0,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
2
|
import { BlockProps } from "../victory-theme/victory-theme";
|
|
4
3
|
import { OriginType } from "../victory-label/victory-label";
|
|
5
4
|
export interface VictoryClipContainerProps {
|
|
@@ -24,35 +23,6 @@ export interface VictoryClipContainerProps {
|
|
|
24
23
|
export declare class VictoryClipContainer extends React.Component<VictoryClipContainerProps> {
|
|
25
24
|
static displayName: string;
|
|
26
25
|
static role: string;
|
|
27
|
-
static propTypes: {
|
|
28
|
-
"aria-label": PropTypes.Requireable<string>;
|
|
29
|
-
children: PropTypes.Requireable<string | number | boolean | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
30
|
-
circleComponent: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
31
|
-
className: PropTypes.Requireable<string>;
|
|
32
|
-
clipHeight: PropTypes.Requireable<number | undefined>;
|
|
33
|
-
clipId: PropTypes.Requireable<string | number>;
|
|
34
|
-
clipPadding: PropTypes.Requireable<PropTypes.InferProps<{
|
|
35
|
-
top: PropTypes.Requireable<number>;
|
|
36
|
-
bottom: PropTypes.Requireable<number>;
|
|
37
|
-
left: PropTypes.Requireable<number>;
|
|
38
|
-
right: PropTypes.Requireable<number>;
|
|
39
|
-
}>>;
|
|
40
|
-
clipPathComponent: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
41
|
-
clipWidth: PropTypes.Requireable<number | undefined>;
|
|
42
|
-
events: PropTypes.Requireable<object>;
|
|
43
|
-
groupComponent: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
44
|
-
origin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
45
|
-
x: PropTypes.Requireable<number | undefined>;
|
|
46
|
-
y: PropTypes.Requireable<number | undefined>;
|
|
47
|
-
}>>;
|
|
48
|
-
polar: PropTypes.Requireable<boolean>;
|
|
49
|
-
radius: PropTypes.Requireable<number | undefined>;
|
|
50
|
-
style: PropTypes.Requireable<object>;
|
|
51
|
-
tabIndex: PropTypes.Requireable<number>;
|
|
52
|
-
transform: PropTypes.Requireable<string>;
|
|
53
|
-
translateX: PropTypes.Requireable<number>;
|
|
54
|
-
translateY: PropTypes.Requireable<number>;
|
|
55
|
-
};
|
|
56
26
|
static defaultProps: {
|
|
57
27
|
circleComponent: JSX.Element;
|
|
58
28
|
rectComponent: JSX.Element;
|
|
@@ -13,10 +13,6 @@ var _defaults2 = _interopRequireDefault(require("lodash/defaults"));
|
|
|
13
13
|
|
|
14
14
|
var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
|
|
16
|
-
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
17
|
-
|
|
18
|
-
var CustomPropTypes = _interopRequireWildcard(require("../victory-util/prop-types"));
|
|
19
|
-
|
|
20
16
|
var Helpers = _interopRequireWildcard(require("../victory-util/helpers"));
|
|
21
17
|
|
|
22
18
|
var UserProps = _interopRequireWildcard(require("../victory-util/user-props"));
|
|
@@ -261,35 +257,6 @@ var VictoryClipContainer = /*#__PURE__*/function (_React$Component) {
|
|
|
261
257
|
exports.VictoryClipContainer = VictoryClipContainer;
|
|
262
258
|
VictoryClipContainer.displayName = "VictoryClipContainer";
|
|
263
259
|
VictoryClipContainer.role = "container";
|
|
264
|
-
VictoryClipContainer.propTypes = {
|
|
265
|
-
"aria-label": _propTypes.default.string,
|
|
266
|
-
children: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.node), _propTypes.default.node]),
|
|
267
|
-
circleComponent: _propTypes.default.element,
|
|
268
|
-
className: _propTypes.default.string,
|
|
269
|
-
clipHeight: CustomPropTypes.nonNegative,
|
|
270
|
-
clipId: _propTypes.default.oneOfType([_propTypes.default.number, _propTypes.default.string]),
|
|
271
|
-
clipPadding: _propTypes.default.shape({
|
|
272
|
-
top: _propTypes.default.number,
|
|
273
|
-
bottom: _propTypes.default.number,
|
|
274
|
-
left: _propTypes.default.number,
|
|
275
|
-
right: _propTypes.default.number
|
|
276
|
-
}),
|
|
277
|
-
clipPathComponent: _propTypes.default.element,
|
|
278
|
-
clipWidth: CustomPropTypes.nonNegative,
|
|
279
|
-
events: _propTypes.default.object,
|
|
280
|
-
groupComponent: _propTypes.default.element,
|
|
281
|
-
origin: _propTypes.default.shape({
|
|
282
|
-
x: CustomPropTypes.nonNegative,
|
|
283
|
-
y: CustomPropTypes.nonNegative
|
|
284
|
-
}),
|
|
285
|
-
polar: _propTypes.default.bool,
|
|
286
|
-
radius: CustomPropTypes.nonNegative,
|
|
287
|
-
style: _propTypes.default.object,
|
|
288
|
-
tabIndex: _propTypes.default.number,
|
|
289
|
-
transform: _propTypes.default.string,
|
|
290
|
-
translateX: _propTypes.default.number,
|
|
291
|
-
translateY: _propTypes.default.number
|
|
292
|
-
};
|
|
293
260
|
VictoryClipContainer.defaultProps = {
|
|
294
261
|
circleComponent: /*#__PURE__*/_react.default.createElement(_circle.Circle, null),
|
|
295
262
|
rectComponent: /*#__PURE__*/_react.default.createElement(_rect.Rect, null),
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import PropTypes from "prop-types";
|
|
3
2
|
import { OriginType } from "../victory-label/victory-label";
|
|
4
3
|
import { D3Scale } from "../types/prop-types";
|
|
5
4
|
import { VictoryThemeDefinition } from "../victory-theme/types";
|
|
@@ -37,36 +36,6 @@ export interface VictoryContainerProps {
|
|
|
37
36
|
export declare class VictoryContainer<TProps extends VictoryContainerProps> extends React.Component<TProps> {
|
|
38
37
|
static displayName: string;
|
|
39
38
|
static role: string;
|
|
40
|
-
static propTypes: {
|
|
41
|
-
"aria-describedby": PropTypes.Requireable<string>;
|
|
42
|
-
"aria-labelledby": PropTypes.Requireable<string>;
|
|
43
|
-
children: PropTypes.Requireable<string | number | boolean | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
44
|
-
className: PropTypes.Requireable<string>;
|
|
45
|
-
containerId: PropTypes.Requireable<string | number>;
|
|
46
|
-
containerRef: PropTypes.Requireable<(...args: any[]) => any>;
|
|
47
|
-
desc: PropTypes.Requireable<string>;
|
|
48
|
-
events: PropTypes.Requireable<object>;
|
|
49
|
-
height: PropTypes.Requireable<number | undefined>;
|
|
50
|
-
name: PropTypes.Requireable<string>;
|
|
51
|
-
origin: PropTypes.Requireable<PropTypes.InferProps<{
|
|
52
|
-
x: PropTypes.Requireable<number | undefined>;
|
|
53
|
-
y: PropTypes.Requireable<number | undefined>;
|
|
54
|
-
}>>;
|
|
55
|
-
ouiaId: PropTypes.Requireable<string | number>;
|
|
56
|
-
ouiaSafe: PropTypes.Requireable<boolean>;
|
|
57
|
-
ouiaType: PropTypes.Requireable<string>;
|
|
58
|
-
polar: PropTypes.Requireable<boolean>;
|
|
59
|
-
portalComponent: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
60
|
-
portalZIndex: PropTypes.Requireable<number | undefined>;
|
|
61
|
-
preserveAspectRatio: PropTypes.Requireable<string>;
|
|
62
|
-
responsive: PropTypes.Requireable<boolean>;
|
|
63
|
-
role: PropTypes.Requireable<string>;
|
|
64
|
-
style: PropTypes.Requireable<object>;
|
|
65
|
-
tabIndex: PropTypes.Requireable<number>;
|
|
66
|
-
theme: PropTypes.Requireable<object>;
|
|
67
|
-
title: PropTypes.Requireable<string>;
|
|
68
|
-
width: PropTypes.Requireable<number | undefined>;
|
|
69
|
-
};
|
|
70
39
|
static defaultProps: {
|
|
71
40
|
className: string;
|
|
72
41
|
portalComponent: JSX.Element;
|