victory-histogram 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-histogram.js +15 -48
- package/dist/victory-histogram.min.js +1 -1
- package/es/victory-histogram.d.ts +1 -2
- package/es/victory-histogram.js +1 -1
- package/lib/victory-histogram.d.ts +1 -2
- package/lib/victory-histogram.js +1 -1
- package/package.json +8 -12
- package/src/victory-histogram.tsx +1 -2
|
@@ -14,7 +14,6 @@ export interface VictoryHistogramProps extends Omit<VictoryCommonProps, "polar">
|
|
|
14
14
|
};
|
|
15
15
|
events?: EventPropTypeInterface<VictoryHistogramTargetType, number | string | number[] | string[]>[];
|
|
16
16
|
eventKey?: StringOrNumberOrCallback;
|
|
17
|
-
horizontal?: boolean;
|
|
18
17
|
style?: VictoryStyleInterface;
|
|
19
18
|
}
|
|
20
19
|
interface VictoryHistogramBase extends EventsMixinClass<VictoryHistogramProps> {
|
|
@@ -116,7 +115,7 @@ export declare const VictoryHistogram: {
|
|
|
116
115
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
|
|
117
116
|
componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
118
117
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
119
|
-
componentEvents: import("victory-core/lib/victory-util/events").ComponentEvent[];
|
|
118
|
+
componentEvents: import("@/victory-core/lib/victory-util/events").ComponentEvent[];
|
|
120
119
|
getSharedEventState: (key: string, value: string) => unknown;
|
|
121
120
|
baseProps: Record<string, object>;
|
|
122
121
|
dataKeys: string[];
|
package/es/victory-histogram.js
CHANGED
|
@@ -9,7 +9,7 @@ const fallbackProps = {
|
|
|
9
9
|
};
|
|
10
10
|
const defaultData = [];
|
|
11
11
|
|
|
12
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-
|
|
12
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Draw SVG histogram charts with React. VictoryHistogram is a composable component, so it doesn't include axes
|
|
@@ -14,7 +14,6 @@ export interface VictoryHistogramProps extends Omit<VictoryCommonProps, "polar">
|
|
|
14
14
|
};
|
|
15
15
|
events?: EventPropTypeInterface<VictoryHistogramTargetType, number | string | number[] | string[]>[];
|
|
16
16
|
eventKey?: StringOrNumberOrCallback;
|
|
17
|
-
horizontal?: boolean;
|
|
18
17
|
style?: VictoryStyleInterface;
|
|
19
18
|
}
|
|
20
19
|
interface VictoryHistogramBase extends EventsMixinClass<VictoryHistogramProps> {
|
|
@@ -116,7 +115,7 @@ export declare const VictoryHistogram: {
|
|
|
116
115
|
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
|
|
117
116
|
componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
118
117
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
119
|
-
componentEvents: import("victory-core/lib/victory-util/events").ComponentEvent[];
|
|
118
|
+
componentEvents: import("@/victory-core/lib/victory-util/events").ComponentEvent[];
|
|
120
119
|
getSharedEventState: (key: string, value: string) => unknown;
|
|
121
120
|
baseProps: Record<string, object>;
|
|
122
121
|
dataKeys: string[];
|
package/lib/victory-histogram.js
CHANGED
|
@@ -16,7 +16,7 @@ const fallbackProps = {
|
|
|
16
16
|
};
|
|
17
17
|
const defaultData = [];
|
|
18
18
|
|
|
19
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-
|
|
19
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Draw SVG histogram charts with React. VictoryHistogram is a composable component, so it doesn't include axes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-histogram",
|
|
3
|
-
"version": "37.3.
|
|
3
|
+
"version": "37.3.2",
|
|
4
4
|
"description": "Histogram Component for Victory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data visualization",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"lodash": "^4.17.19",
|
|
24
24
|
"react-fast-compare": "^3.2.0",
|
|
25
|
-
"victory-bar": "37.3.
|
|
26
|
-
"victory-core": "37.3.
|
|
27
|
-
"victory-vendor": "37.3.
|
|
25
|
+
"victory-bar": "37.3.2",
|
|
26
|
+
"victory-core": "37.3.2",
|
|
27
|
+
"victory-vendor": "37.3.2"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"react": ">=16.6.0"
|
|
@@ -221,11 +221,9 @@
|
|
|
221
221
|
]
|
|
222
222
|
},
|
|
223
223
|
"lint": {
|
|
224
|
-
"command": "
|
|
224
|
+
"command": "eslint src",
|
|
225
225
|
"files": [
|
|
226
|
-
"src/**"
|
|
227
|
-
"../../.eslintignore",
|
|
228
|
-
"../../.eslintrc.js"
|
|
226
|
+
"src/**"
|
|
229
227
|
],
|
|
230
228
|
"output": [],
|
|
231
229
|
"dependencies": [
|
|
@@ -240,11 +238,9 @@
|
|
|
240
238
|
]
|
|
241
239
|
},
|
|
242
240
|
"lint:fix": {
|
|
243
|
-
"command": "
|
|
241
|
+
"command": "eslint --fix src",
|
|
244
242
|
"files": [
|
|
245
|
-
"src/**"
|
|
246
|
-
"../../.eslintignore",
|
|
247
|
-
"../../.eslintrc.js"
|
|
243
|
+
"src/**"
|
|
248
244
|
],
|
|
249
245
|
"output": [],
|
|
250
246
|
"dependencies": [
|
|
@@ -46,7 +46,6 @@ export interface VictoryHistogramProps
|
|
|
46
46
|
number | string | number[] | string[]
|
|
47
47
|
>[];
|
|
48
48
|
eventKey?: StringOrNumberOrCallback;
|
|
49
|
-
horizontal?: boolean;
|
|
50
49
|
style?: VictoryStyleInterface;
|
|
51
50
|
}
|
|
52
51
|
|
|
@@ -58,7 +57,7 @@ const fallbackProps: Partial<VictoryHistogramProps> = {
|
|
|
58
57
|
|
|
59
58
|
const defaultData = [];
|
|
60
59
|
|
|
61
|
-
// eslint-disable-next-line @typescript-eslint/no-empty-
|
|
60
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
62
61
|
interface VictoryHistogramBase
|
|
63
62
|
extends EventsMixinClass<VictoryHistogramProps> {}
|
|
64
63
|
|