victory-stack 36.9.2-next.1 → 36.9.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.
@@ -1,53 +1,53 @@
1
- export declare function getCalculatedProps(initialProps: any, childComponents: any): {
2
- datasets: any;
3
- categories: any;
4
- range: any;
5
- domain: {
6
- x: any;
7
- y: any;
8
- };
9
- horizontal: any;
10
- scale: {
11
- x: import("victory-core").D3Scale<any>;
12
- y: import("victory-core").D3Scale<any>;
13
- };
14
- style: any;
15
- colorScale: any;
16
- role: string;
17
- };
18
- export declare function useMemoizedProps(initialProps: any): {
19
- datasets: any;
20
- categories: any;
21
- range: any;
22
- domain: {
23
- x: any;
24
- y: any;
25
- };
26
- horizontal: any;
27
- scale: {
28
- x: import("victory-core").D3Scale<any>;
29
- y: import("victory-core").D3Scale<any>;
30
- };
31
- style: any;
32
- colorScale: any;
33
- role: string;
34
- };
35
- export declare function getChildProps(props: any, calculatedProps: any): {
36
- height: any;
37
- width: any;
38
- padding: {
39
- top: any;
40
- bottom: any;
41
- left: any;
42
- right: any;
43
- };
44
- standalone: boolean;
45
- theme: any;
46
- categories: any;
47
- domain: any;
48
- range: any;
49
- scale: any;
50
- horizontal: any;
51
- };
52
- export declare function getChildren(initialProps: any, childComponents: any, calculatedProps: any): any;
1
+ export declare function getCalculatedProps(initialProps: any, childComponents: any): {
2
+ datasets: any;
3
+ categories: any;
4
+ range: any;
5
+ domain: {
6
+ x: any;
7
+ y: any;
8
+ };
9
+ horizontal: any;
10
+ scale: {
11
+ x: import("victory-core").D3Scale<any>;
12
+ y: import("victory-core").D3Scale<any>;
13
+ };
14
+ style: any;
15
+ colorScale: any;
16
+ role: string;
17
+ };
18
+ export declare function useMemoizedProps(initialProps: any): {
19
+ datasets: any;
20
+ categories: any;
21
+ range: any;
22
+ domain: {
23
+ x: any;
24
+ y: any;
25
+ };
26
+ horizontal: any;
27
+ scale: {
28
+ x: import("victory-core").D3Scale<any>;
29
+ y: import("victory-core").D3Scale<any>;
30
+ };
31
+ style: any;
32
+ colorScale: any;
33
+ role: string;
34
+ };
35
+ export declare function getChildProps(props: any, calculatedProps: any): {
36
+ height: any;
37
+ width: any;
38
+ padding: {
39
+ top: any;
40
+ bottom: any;
41
+ left: any;
42
+ right: any;
43
+ };
44
+ standalone: boolean;
45
+ theme: any;
46
+ categories: any;
47
+ domain: any;
48
+ range: any;
49
+ scale: any;
50
+ horizontal: any;
51
+ };
52
+ export declare function getChildren(initialProps: any, childComponents: any, calculatedProps: any): any;
53
53
  //# sourceMappingURL=helper-methods.d.ts.map
package/es/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./victory-stack";
1
+ export * from "./victory-stack";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,19 +1,19 @@
1
- import React from "react";
2
- import { CategoryPropType, ColorScalePropType, DomainPropType, EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleInterface, VictoryComponentConfiguration } from "victory-core";
3
- export declare type VictoryStackTTargetType = "data" | "labels" | "parent";
4
- export interface VictoryStackProps extends VictoryCommonProps, VictoryLabelableProps, VictoryMultiLabelableProps {
5
- bins?: number | number[] | Date[];
6
- categories?: CategoryPropType;
7
- children?: React.ReactNode | React.ReactNode[];
8
- colorScale?: ColorScalePropType;
9
- domain?: DomainPropType;
10
- events?: EventPropTypeInterface<VictoryStackTTargetType, StringOrNumberOrCallback>[];
11
- eventKey?: StringOrNumberOrCallback;
12
- fillInMissingData?: boolean;
13
- style?: VictoryStyleInterface;
14
- xOffset?: number;
15
- }
16
- export declare const VictoryStack: React.NamedExoticComponent<VictoryStackProps> & {
17
- readonly type: (initialProps: VictoryStackProps) => JSX.Element;
18
- } & VictoryComponentConfiguration<VictoryStackProps>;
1
+ import React from "react";
2
+ import { CategoryPropType, ColorScalePropType, DomainPropType, EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleInterface, VictoryComponentConfiguration } from "victory-core";
3
+ export declare type VictoryStackTTargetType = "data" | "labels" | "parent";
4
+ export interface VictoryStackProps extends VictoryCommonProps, VictoryLabelableProps, VictoryMultiLabelableProps {
5
+ bins?: number | number[] | Date[];
6
+ categories?: CategoryPropType;
7
+ children?: React.ReactNode | React.ReactNode[];
8
+ colorScale?: ColorScalePropType;
9
+ domain?: DomainPropType;
10
+ events?: EventPropTypeInterface<VictoryStackTTargetType, StringOrNumberOrCallback>[];
11
+ eventKey?: StringOrNumberOrCallback;
12
+ fillInMissingData?: boolean;
13
+ style?: VictoryStyleInterface;
14
+ xOffset?: number;
15
+ }
16
+ export declare const VictoryStack: React.NamedExoticComponent<VictoryStackProps> & {
17
+ readonly type: (initialProps: VictoryStackProps) => JSX.Element;
18
+ } & VictoryComponentConfiguration<VictoryStackProps>;
19
19
  //# sourceMappingURL=victory-stack.d.ts.map
@@ -1,53 +1,53 @@
1
- export declare function getCalculatedProps(initialProps: any, childComponents: any): {
2
- datasets: any;
3
- categories: any;
4
- range: any;
5
- domain: {
6
- x: any;
7
- y: any;
8
- };
9
- horizontal: any;
10
- scale: {
11
- x: import("victory-core").D3Scale<any>;
12
- y: import("victory-core").D3Scale<any>;
13
- };
14
- style: any;
15
- colorScale: any;
16
- role: string;
17
- };
18
- export declare function useMemoizedProps(initialProps: any): {
19
- datasets: any;
20
- categories: any;
21
- range: any;
22
- domain: {
23
- x: any;
24
- y: any;
25
- };
26
- horizontal: any;
27
- scale: {
28
- x: import("victory-core").D3Scale<any>;
29
- y: import("victory-core").D3Scale<any>;
30
- };
31
- style: any;
32
- colorScale: any;
33
- role: string;
34
- };
35
- export declare function getChildProps(props: any, calculatedProps: any): {
36
- height: any;
37
- width: any;
38
- padding: {
39
- top: any;
40
- bottom: any;
41
- left: any;
42
- right: any;
43
- };
44
- standalone: boolean;
45
- theme: any;
46
- categories: any;
47
- domain: any;
48
- range: any;
49
- scale: any;
50
- horizontal: any;
51
- };
52
- export declare function getChildren(initialProps: any, childComponents: any, calculatedProps: any): any;
1
+ export declare function getCalculatedProps(initialProps: any, childComponents: any): {
2
+ datasets: any;
3
+ categories: any;
4
+ range: any;
5
+ domain: {
6
+ x: any;
7
+ y: any;
8
+ };
9
+ horizontal: any;
10
+ scale: {
11
+ x: import("victory-core").D3Scale<any>;
12
+ y: import("victory-core").D3Scale<any>;
13
+ };
14
+ style: any;
15
+ colorScale: any;
16
+ role: string;
17
+ };
18
+ export declare function useMemoizedProps(initialProps: any): {
19
+ datasets: any;
20
+ categories: any;
21
+ range: any;
22
+ domain: {
23
+ x: any;
24
+ y: any;
25
+ };
26
+ horizontal: any;
27
+ scale: {
28
+ x: import("victory-core").D3Scale<any>;
29
+ y: import("victory-core").D3Scale<any>;
30
+ };
31
+ style: any;
32
+ colorScale: any;
33
+ role: string;
34
+ };
35
+ export declare function getChildProps(props: any, calculatedProps: any): {
36
+ height: any;
37
+ width: any;
38
+ padding: {
39
+ top: any;
40
+ bottom: any;
41
+ left: any;
42
+ right: any;
43
+ };
44
+ standalone: boolean;
45
+ theme: any;
46
+ categories: any;
47
+ domain: any;
48
+ range: any;
49
+ scale: any;
50
+ horizontal: any;
51
+ };
52
+ export declare function getChildren(initialProps: any, childComponents: any, calculatedProps: any): any;
53
53
  //# sourceMappingURL=helper-methods.d.ts.map
package/lib/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./victory-stack";
1
+ export * from "./victory-stack";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,19 +1,19 @@
1
- import React from "react";
2
- import { CategoryPropType, ColorScalePropType, DomainPropType, EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleInterface, VictoryComponentConfiguration } from "victory-core";
3
- export declare type VictoryStackTTargetType = "data" | "labels" | "parent";
4
- export interface VictoryStackProps extends VictoryCommonProps, VictoryLabelableProps, VictoryMultiLabelableProps {
5
- bins?: number | number[] | Date[];
6
- categories?: CategoryPropType;
7
- children?: React.ReactNode | React.ReactNode[];
8
- colorScale?: ColorScalePropType;
9
- domain?: DomainPropType;
10
- events?: EventPropTypeInterface<VictoryStackTTargetType, StringOrNumberOrCallback>[];
11
- eventKey?: StringOrNumberOrCallback;
12
- fillInMissingData?: boolean;
13
- style?: VictoryStyleInterface;
14
- xOffset?: number;
15
- }
16
- export declare const VictoryStack: React.NamedExoticComponent<VictoryStackProps> & {
17
- readonly type: (initialProps: VictoryStackProps) => JSX.Element;
18
- } & VictoryComponentConfiguration<VictoryStackProps>;
1
+ import React from "react";
2
+ import { CategoryPropType, ColorScalePropType, DomainPropType, EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleInterface, VictoryComponentConfiguration } from "victory-core";
3
+ export declare type VictoryStackTTargetType = "data" | "labels" | "parent";
4
+ export interface VictoryStackProps extends VictoryCommonProps, VictoryLabelableProps, VictoryMultiLabelableProps {
5
+ bins?: number | number[] | Date[];
6
+ categories?: CategoryPropType;
7
+ children?: React.ReactNode | React.ReactNode[];
8
+ colorScale?: ColorScalePropType;
9
+ domain?: DomainPropType;
10
+ events?: EventPropTypeInterface<VictoryStackTTargetType, StringOrNumberOrCallback>[];
11
+ eventKey?: StringOrNumberOrCallback;
12
+ fillInMissingData?: boolean;
13
+ style?: VictoryStyleInterface;
14
+ xOffset?: number;
15
+ }
16
+ export declare const VictoryStack: React.NamedExoticComponent<VictoryStackProps> & {
17
+ readonly type: (initialProps: VictoryStackProps) => JSX.Element;
18
+ } & VictoryComponentConfiguration<VictoryStackProps>;
19
19
  //# sourceMappingURL=victory-stack.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-stack",
3
- "version": "36.9.2-next.1",
3
+ "version": "36.9.2",
4
4
  "description": "Stack Layout Component for Victory",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -12,7 +12,7 @@
12
12
  "type": "git",
13
13
  "url": "https://github.com/FormidableLabs/victory"
14
14
  },
15
- "homepage": "https://formidable.com/open-source/victory",
15
+ "homepage": "https://commerce.nearform.com/open-source/victory",
16
16
  "sideEffects": false,
17
17
  "main": "lib/index.js",
18
18
  "module": "es/index.js",
@@ -22,15 +22,18 @@
22
22
  "dependencies": {
23
23
  "lodash": "^4.17.19",
24
24
  "react-fast-compare": "^3.2.0",
25
- "victory-core": "^36.9.2-next.1",
26
- "victory-shared-events": "^36.9.2-next.1"
25
+ "victory-core": "^36.9.2",
26
+ "victory-shared-events": "^36.9.2"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "react": ">=16.6.0"
30
30
  },
31
31
  "devDependencies": {
32
- "victory-bar": "36.9.2-next.1",
33
- "victory-histogram": "36.9.2-next.1"
32
+ "victory-bar": "*",
33
+ "victory-histogram": "*"
34
+ },
35
+ "publishConfig": {
36
+ "provenance": true
34
37
  },
35
38
  "wireit": {
36
39
  "### THESE WIREIT CONFIGS ARE GENERATED ####": {},