victory-stack 37.3.0 → 37.3.1
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/es/victory-stack.d.ts +2 -3
- package/lib/victory-stack.d.ts +2 -3
- package/package.json +3 -3
- package/src/victory-stack.tsx +0 -2
package/CHANGELOG.md
CHANGED
package/es/victory-stack.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { CategoryPropType,
|
|
2
|
+
import { CategoryPropType, DomainPropType, EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, VictoryMultiLabelableProps, VictoryStyleInterface, VictoryComponentConfiguration } from "victory-core";
|
|
3
3
|
export declare type VictoryStackTTargetType = "data" | "labels" | "parent";
|
|
4
|
-
export interface VictoryStackProps extends VictoryCommonProps,
|
|
4
|
+
export interface VictoryStackProps extends VictoryCommonProps, VictoryMultiLabelableProps {
|
|
5
5
|
bins?: number | number[] | Date[];
|
|
6
6
|
categories?: CategoryPropType;
|
|
7
7
|
children?: React.ReactNode | React.ReactNode[];
|
|
8
|
-
colorScale?: ColorScalePropType;
|
|
9
8
|
domain?: DomainPropType;
|
|
10
9
|
events?: EventPropTypeInterface<VictoryStackTTargetType, StringOrNumberOrCallback>[];
|
|
11
10
|
eventKey?: StringOrNumberOrCallback;
|
package/lib/victory-stack.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { CategoryPropType,
|
|
2
|
+
import { CategoryPropType, DomainPropType, EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, VictoryMultiLabelableProps, VictoryStyleInterface, VictoryComponentConfiguration } from "victory-core";
|
|
3
3
|
export declare type VictoryStackTTargetType = "data" | "labels" | "parent";
|
|
4
|
-
export interface VictoryStackProps extends VictoryCommonProps,
|
|
4
|
+
export interface VictoryStackProps extends VictoryCommonProps, VictoryMultiLabelableProps {
|
|
5
5
|
bins?: number | number[] | Date[];
|
|
6
6
|
categories?: CategoryPropType;
|
|
7
7
|
children?: React.ReactNode | React.ReactNode[];
|
|
8
|
-
colorScale?: ColorScalePropType;
|
|
9
8
|
domain?: DomainPropType;
|
|
10
9
|
events?: EventPropTypeInterface<VictoryStackTTargetType, StringOrNumberOrCallback>[];
|
|
11
10
|
eventKey?: StringOrNumberOrCallback;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-stack",
|
|
3
|
-
"version": "37.3.
|
|
3
|
+
"version": "37.3.1",
|
|
4
4
|
"description": "Stack Layout Component for Victory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data visualization",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"lodash": "^4.17.19",
|
|
24
24
|
"react-fast-compare": "^3.2.0",
|
|
25
|
-
"victory-core": "37.3.
|
|
26
|
-
"victory-shared-events": "37.3.
|
|
25
|
+
"victory-core": "37.3.1",
|
|
26
|
+
"victory-shared-events": "37.3.1"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": ">=16.6.0"
|
package/src/victory-stack.tsx
CHANGED
|
@@ -32,12 +32,10 @@ const fallbackProps = {
|
|
|
32
32
|
export type VictoryStackTTargetType = "data" | "labels" | "parent";
|
|
33
33
|
export interface VictoryStackProps
|
|
34
34
|
extends VictoryCommonProps,
|
|
35
|
-
VictoryLabelableProps,
|
|
36
35
|
VictoryMultiLabelableProps {
|
|
37
36
|
bins?: number | number[] | Date[];
|
|
38
37
|
categories?: CategoryPropType;
|
|
39
38
|
children?: React.ReactNode | React.ReactNode[];
|
|
40
|
-
colorScale?: ColorScalePropType;
|
|
41
39
|
domain?: DomainPropType;
|
|
42
40
|
events?: EventPropTypeInterface<
|
|
43
41
|
VictoryStackTTargetType,
|