victory-chart 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,41 +1,41 @@
1
- import React from "react";
2
- export declare function getBackgroundWithProps(props: any, calculatedProps: any): React.DetailedReactHTMLElement<any, HTMLElement>;
3
- export declare function getCalculatedProps(initialProps: any, childComponents: any): {
4
- categories: {
5
- x: any;
6
- y: any;
7
- };
8
- domain: {
9
- x: any;
10
- y: any;
11
- };
12
- range: {
13
- x: any;
14
- y: any;
15
- };
16
- horizontal: any;
17
- scale: {
18
- x: import("victory-core").D3Scale<any>;
19
- y: import("victory-core").D3Scale<any>;
20
- };
21
- stringMap: {
22
- x: any;
23
- y: any;
24
- };
25
- style: {
26
- parent: any;
27
- };
28
- origin: {
29
- x: number | Date;
30
- y: number | Date;
31
- };
32
- padding: {
33
- top: any;
34
- bottom: any;
35
- left: any;
36
- right: any;
37
- };
38
- };
39
- export declare function getChildren(props: any, childComponents: any, calculatedProps: any): any;
40
- export declare const getChildComponents: (props: any, defaultAxes?: any) => (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal)[];
1
+ import React from "react";
2
+ export declare function getBackgroundWithProps(props: any, calculatedProps: any): React.DetailedReactHTMLElement<any, HTMLElement>;
3
+ export declare function getCalculatedProps(initialProps: any, childComponents: any): {
4
+ categories: {
5
+ x: any;
6
+ y: any;
7
+ };
8
+ domain: {
9
+ x: any;
10
+ y: any;
11
+ };
12
+ range: {
13
+ x: any;
14
+ y: any;
15
+ };
16
+ horizontal: any;
17
+ scale: {
18
+ x: import("victory-core").D3Scale<any>;
19
+ y: import("victory-core").D3Scale<any>;
20
+ };
21
+ stringMap: {
22
+ x: any;
23
+ y: any;
24
+ };
25
+ style: {
26
+ parent: any;
27
+ };
28
+ origin: {
29
+ x: number | Date;
30
+ y: number | Date;
31
+ };
32
+ padding: {
33
+ top: any;
34
+ bottom: any;
35
+ left: any;
36
+ right: any;
37
+ };
38
+ };
39
+ export declare function getChildren(props: any, childComponents: any, calculatedProps: any): any;
40
+ export declare const getChildComponents: (props: any, defaultAxes?: any) => (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal)[];
41
41
  //# sourceMappingURL=helper-methods.d.ts.map
package/es/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./victory-chart";
1
+ export * from "./victory-chart";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,27 +1,27 @@
1
- import React from "react";
2
- import { CategoryPropType, DomainPropType, EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, VictoryStyleInterface, VictoryStyleObject } from "victory-core";
3
- export declare const VictoryChart: React.NamedExoticComponent<VictoryChartProps>;
4
- export declare type AxesType = {
5
- dependent?: React.ReactElement | null;
6
- independent?: React.ReactElement | null;
7
- };
8
- export interface VictoryChartProps extends VictoryCommonProps {
9
- backgroundComponent?: React.ReactElement;
10
- categories?: CategoryPropType;
11
- children?: React.ReactNode | React.ReactNode[];
12
- desc?: string;
13
- defaultAxes?: AxesType;
14
- defaultPolarAxes?: AxesType;
15
- domain?: DomainPropType;
16
- endAngle?: number;
17
- eventKey?: StringOrNumberOrCallback;
18
- events?: EventPropTypeInterface<string, string[] | number[] | string | number>[];
19
- innerRadius?: number;
20
- prependDefaultAxes?: boolean;
21
- startAngle?: number;
22
- style?: Pick<VictoryStyleInterface, "parent"> & {
23
- background?: VictoryStyleObject;
24
- };
25
- title?: string;
26
- }
1
+ import React from "react";
2
+ import { CategoryPropType, DomainPropType, EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, VictoryStyleInterface, VictoryStyleObject } from "victory-core";
3
+ export declare const VictoryChart: React.NamedExoticComponent<VictoryChartProps>;
4
+ export declare type AxesType = {
5
+ dependent?: React.ReactElement | null;
6
+ independent?: React.ReactElement | null;
7
+ };
8
+ export interface VictoryChartProps extends VictoryCommonProps {
9
+ backgroundComponent?: React.ReactElement;
10
+ categories?: CategoryPropType;
11
+ children?: React.ReactNode | React.ReactNode[];
12
+ desc?: string;
13
+ defaultAxes?: AxesType;
14
+ defaultPolarAxes?: AxesType;
15
+ domain?: DomainPropType;
16
+ endAngle?: number;
17
+ eventKey?: StringOrNumberOrCallback;
18
+ events?: EventPropTypeInterface<string, string[] | number[] | string | number>[];
19
+ innerRadius?: number;
20
+ prependDefaultAxes?: boolean;
21
+ startAngle?: number;
22
+ style?: Pick<VictoryStyleInterface, "parent"> & {
23
+ background?: VictoryStyleObject;
24
+ };
25
+ title?: string;
26
+ }
27
27
  //# sourceMappingURL=victory-chart.d.ts.map
@@ -1,41 +1,41 @@
1
- import React from "react";
2
- export declare function getBackgroundWithProps(props: any, calculatedProps: any): React.DetailedReactHTMLElement<any, HTMLElement>;
3
- export declare function getCalculatedProps(initialProps: any, childComponents: any): {
4
- categories: {
5
- x: any;
6
- y: any;
7
- };
8
- domain: {
9
- x: any;
10
- y: any;
11
- };
12
- range: {
13
- x: any;
14
- y: any;
15
- };
16
- horizontal: any;
17
- scale: {
18
- x: import("victory-core").D3Scale<any>;
19
- y: import("victory-core").D3Scale<any>;
20
- };
21
- stringMap: {
22
- x: any;
23
- y: any;
24
- };
25
- style: {
26
- parent: any;
27
- };
28
- origin: {
29
- x: number | Date;
30
- y: number | Date;
31
- };
32
- padding: {
33
- top: any;
34
- bottom: any;
35
- left: any;
36
- right: any;
37
- };
38
- };
39
- export declare function getChildren(props: any, childComponents: any, calculatedProps: any): any;
40
- export declare const getChildComponents: (props: any, defaultAxes?: any) => (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal)[];
1
+ import React from "react";
2
+ export declare function getBackgroundWithProps(props: any, calculatedProps: any): React.DetailedReactHTMLElement<any, HTMLElement>;
3
+ export declare function getCalculatedProps(initialProps: any, childComponents: any): {
4
+ categories: {
5
+ x: any;
6
+ y: any;
7
+ };
8
+ domain: {
9
+ x: any;
10
+ y: any;
11
+ };
12
+ range: {
13
+ x: any;
14
+ y: any;
15
+ };
16
+ horizontal: any;
17
+ scale: {
18
+ x: import("victory-core").D3Scale<any>;
19
+ y: import("victory-core").D3Scale<any>;
20
+ };
21
+ stringMap: {
22
+ x: any;
23
+ y: any;
24
+ };
25
+ style: {
26
+ parent: any;
27
+ };
28
+ origin: {
29
+ x: number | Date;
30
+ y: number | Date;
31
+ };
32
+ padding: {
33
+ top: any;
34
+ bottom: any;
35
+ left: any;
36
+ right: any;
37
+ };
38
+ };
39
+ export declare function getChildren(props: any, childComponents: any, calculatedProps: any): any;
40
+ export declare const getChildComponents: (props: any, defaultAxes?: any) => (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | React.ReactPortal)[];
41
41
  //# sourceMappingURL=helper-methods.d.ts.map
package/lib/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./victory-chart";
1
+ export * from "./victory-chart";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,27 +1,27 @@
1
- import React from "react";
2
- import { CategoryPropType, DomainPropType, EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, VictoryStyleInterface, VictoryStyleObject } from "victory-core";
3
- export declare const VictoryChart: React.NamedExoticComponent<VictoryChartProps>;
4
- export declare type AxesType = {
5
- dependent?: React.ReactElement | null;
6
- independent?: React.ReactElement | null;
7
- };
8
- export interface VictoryChartProps extends VictoryCommonProps {
9
- backgroundComponent?: React.ReactElement;
10
- categories?: CategoryPropType;
11
- children?: React.ReactNode | React.ReactNode[];
12
- desc?: string;
13
- defaultAxes?: AxesType;
14
- defaultPolarAxes?: AxesType;
15
- domain?: DomainPropType;
16
- endAngle?: number;
17
- eventKey?: StringOrNumberOrCallback;
18
- events?: EventPropTypeInterface<string, string[] | number[] | string | number>[];
19
- innerRadius?: number;
20
- prependDefaultAxes?: boolean;
21
- startAngle?: number;
22
- style?: Pick<VictoryStyleInterface, "parent"> & {
23
- background?: VictoryStyleObject;
24
- };
25
- title?: string;
26
- }
1
+ import React from "react";
2
+ import { CategoryPropType, DomainPropType, EventPropTypeInterface, StringOrNumberOrCallback, VictoryCommonProps, VictoryStyleInterface, VictoryStyleObject } from "victory-core";
3
+ export declare const VictoryChart: React.NamedExoticComponent<VictoryChartProps>;
4
+ export declare type AxesType = {
5
+ dependent?: React.ReactElement | null;
6
+ independent?: React.ReactElement | null;
7
+ };
8
+ export interface VictoryChartProps extends VictoryCommonProps {
9
+ backgroundComponent?: React.ReactElement;
10
+ categories?: CategoryPropType;
11
+ children?: React.ReactNode | React.ReactNode[];
12
+ desc?: string;
13
+ defaultAxes?: AxesType;
14
+ defaultPolarAxes?: AxesType;
15
+ domain?: DomainPropType;
16
+ endAngle?: number;
17
+ eventKey?: StringOrNumberOrCallback;
18
+ events?: EventPropTypeInterface<string, string[] | number[] | string | number>[];
19
+ innerRadius?: number;
20
+ prependDefaultAxes?: boolean;
21
+ startAngle?: number;
22
+ style?: Pick<VictoryStyleInterface, "parent"> & {
23
+ background?: VictoryStyleObject;
24
+ };
25
+ title?: string;
26
+ }
27
27
  //# sourceMappingURL=victory-chart.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-chart",
3
- "version": "36.9.2-next.1",
3
+ "version": "36.9.2",
4
4
  "description": "Chart 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,14 +22,17 @@
22
22
  "dependencies": {
23
23
  "lodash": "^4.17.19",
24
24
  "react-fast-compare": "^3.2.0",
25
- "victory-axis": "^36.9.2-next.1",
26
- "victory-core": "^36.9.2-next.1",
27
- "victory-polar-axis": "^36.9.2-next.1",
28
- "victory-shared-events": "^36.9.2-next.1"
25
+ "victory-axis": "^36.9.2",
26
+ "victory-core": "^36.9.2",
27
+ "victory-polar-axis": "^36.9.2",
28
+ "victory-shared-events": "^36.9.2"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "react": ">=16.6.0"
32
32
  },
33
+ "publishConfig": {
34
+ "provenance": true
35
+ },
33
36
  "wireit": {
34
37
  "### THESE WIREIT CONFIGS ARE GENERATED ####": {},
35
38
  "### DO NOT MODIFY THESE MANUALLY ####": {},
@@ -1,19 +0,0 @@
1
- /**
2
- * @license React
3
- * react-dom.production.min.js
4
- *
5
- * Copyright (c) Facebook, Inc. and its affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
10
-
11
- /**
12
- * @license React
13
- * scheduler.production.min.js
14
- *
15
- * Copyright (c) Facebook, Inc. and its affiliates.
16
- *
17
- * This source code is licensed under the MIT license found in the
18
- * LICENSE file in the root directory of this source tree.
19
- */