victory-area 37.3.0 → 37.3.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/CHANGELOG.md +8 -0
- package/dist/victory-area.js +13 -33
- package/dist/victory-area.min.js +1 -1
- package/es/victory-area.d.ts +1 -2
- package/es/victory-area.js +1 -1
- package/lib/victory-area.d.ts +1 -2
- package/lib/victory-area.js +1 -1
- package/package.json +7 -11
- package/src/area.tsx +1 -1
- package/src/victory-area.tsx +2 -3
package/es/victory-area.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export interface VictoryAreaProps extends VictoryCommonProps, VictoryDatableProp
|
|
|
5
5
|
eventKey?: string[] | number[] | StringOrNumberOrCallback;
|
|
6
6
|
events?: EventPropTypeInterface<VictoryAreaTTargetType, string | number>[];
|
|
7
7
|
interpolation?: InterpolationPropType | Function;
|
|
8
|
-
samples?: number;
|
|
9
8
|
style?: VictoryStyleInterface;
|
|
10
9
|
}
|
|
11
10
|
interface VictoryAreaBase extends EventsMixinClass<VictoryAreaProps> {
|
|
@@ -74,7 +73,7 @@ export declare const VictoryArea: {
|
|
|
74
73
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
|
|
75
74
|
componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
76
75
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
77
|
-
componentEvents: import("victory-core/lib/victory-util/events").ComponentEvent[];
|
|
76
|
+
componentEvents: import("@/victory-core/lib/victory-util/events").ComponentEvent[];
|
|
78
77
|
getSharedEventState: (key: string, value: string) => unknown;
|
|
79
78
|
baseProps: Record<string, object>;
|
|
80
79
|
dataKeys: string[];
|
package/es/victory-area.js
CHANGED
|
@@ -20,7 +20,7 @@ const options = {
|
|
|
20
20
|
}]
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-
|
|
23
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* Draw area charts with React. VictoryArea is a composable component, so it doesn't include axes.
|
package/lib/victory-area.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export interface VictoryAreaProps extends VictoryCommonProps, VictoryDatableProp
|
|
|
5
5
|
eventKey?: string[] | number[] | StringOrNumberOrCallback;
|
|
6
6
|
events?: EventPropTypeInterface<VictoryAreaTTargetType, string | number>[];
|
|
7
7
|
interpolation?: InterpolationPropType | Function;
|
|
8
|
-
samples?: number;
|
|
9
8
|
style?: VictoryStyleInterface;
|
|
10
9
|
}
|
|
11
10
|
interface VictoryAreaBase extends EventsMixinClass<VictoryAreaProps> {
|
|
@@ -74,7 +73,7 @@ export declare const VictoryArea: {
|
|
|
74
73
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
|
|
75
74
|
componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
76
75
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
77
|
-
componentEvents: import("victory-core/lib/victory-util/events").ComponentEvent[];
|
|
76
|
+
componentEvents: import("@/victory-core/lib/victory-util/events").ComponentEvent[];
|
|
78
77
|
getSharedEventState: (key: string, value: string) => unknown;
|
|
79
78
|
baseProps: Record<string, object>;
|
|
80
79
|
dataKeys: string[];
|
package/lib/victory-area.js
CHANGED
|
@@ -27,7 +27,7 @@ const options = {
|
|
|
27
27
|
}]
|
|
28
28
|
};
|
|
29
29
|
|
|
30
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-
|
|
30
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* Draw area charts with React. VictoryArea is a composable component, so it doesn't include axes.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-area",
|
|
3
|
-
"version": "37.3.
|
|
3
|
+
"version": "37.3.2",
|
|
4
4
|
"description": "Area Component for Victory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data visualization",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"lodash": "^4.17.19",
|
|
24
|
-
"victory-core": "37.3.
|
|
25
|
-
"victory-vendor": "37.3.
|
|
24
|
+
"victory-core": "37.3.2",
|
|
25
|
+
"victory-vendor": "37.3.2"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": ">=16.6.0"
|
|
@@ -217,11 +217,9 @@
|
|
|
217
217
|
]
|
|
218
218
|
},
|
|
219
219
|
"lint": {
|
|
220
|
-
"command": "
|
|
220
|
+
"command": "eslint src",
|
|
221
221
|
"files": [
|
|
222
|
-
"src/**"
|
|
223
|
-
"../../.eslintignore",
|
|
224
|
-
"../../.eslintrc.js"
|
|
222
|
+
"src/**"
|
|
225
223
|
],
|
|
226
224
|
"output": [],
|
|
227
225
|
"dependencies": [
|
|
@@ -236,11 +234,9 @@
|
|
|
236
234
|
]
|
|
237
235
|
},
|
|
238
236
|
"lint:fix": {
|
|
239
|
-
"command": "
|
|
237
|
+
"command": "eslint --fix src",
|
|
240
238
|
"files": [
|
|
241
|
-
"src/**"
|
|
242
|
-
"../../.eslintignore",
|
|
243
|
-
"../../.eslintrc.js"
|
|
239
|
+
"src/**"
|
|
244
240
|
],
|
|
245
241
|
"output": [],
|
|
246
242
|
"dependencies": [
|
package/src/area.tsx
CHANGED
|
@@ -178,7 +178,7 @@ export const Area: React.FC<AreaProps> = (initialProps) => {
|
|
|
178
178
|
export interface AreaProps extends VictoryCommonPrimitiveProps {
|
|
179
179
|
horizontal?: VictoryCommonThemeProps["horizontal"];
|
|
180
180
|
groupComponent?: React.ReactElement;
|
|
181
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
181
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
182
182
|
interpolation?: string | Function;
|
|
183
183
|
pathComponent?: React.ReactElement;
|
|
184
184
|
}
|
package/src/victory-area.tsx
CHANGED
|
@@ -45,13 +45,12 @@ export interface VictoryAreaProps
|
|
|
45
45
|
VictoryMultiLabelableProps {
|
|
46
46
|
eventKey?: string[] | number[] | StringOrNumberOrCallback;
|
|
47
47
|
events?: EventPropTypeInterface<VictoryAreaTTargetType, string | number>[];
|
|
48
|
-
// eslint-disable-next-line @typescript-eslint/
|
|
48
|
+
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
|
49
49
|
interpolation?: InterpolationPropType | Function;
|
|
50
|
-
samples?: number;
|
|
51
50
|
style?: VictoryStyleInterface;
|
|
52
51
|
}
|
|
53
52
|
|
|
54
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-
|
|
53
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
55
54
|
interface VictoryAreaBase extends EventsMixinClass<VictoryAreaProps> {}
|
|
56
55
|
|
|
57
56
|
/**
|