victory-area 37.0.1-next.2 → 37.0.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 CHANGED
@@ -1,12 +1,10 @@
1
1
  # victory-area
2
2
 
3
- ## 37.0.1-next.2
3
+ ## 37.0.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - 22ac23249: Fix the signature of class static functions in components
8
- - victory-core@37.0.1-next.2
9
- - victory-vendor@37.0.1-next.2
7
+ - Fix the signature of class static functions in components ([#2840](https://github.com/FormidableLabs/victory/pull/2840))
10
8
 
11
9
  ## 37.0.0
12
10
 
package/es/area.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- import React from "react";
2
- import { VictoryCommonPrimitiveProps, VictoryCommonThemeProps } from "victory-core";
3
- /**
4
- * The area primitive used by VictoryArea
5
- */
6
- export declare const Area: React.FC<AreaProps>;
7
- export interface AreaProps extends VictoryCommonPrimitiveProps {
8
- horizontal?: VictoryCommonThemeProps["horizontal"];
9
- groupComponent?: React.ReactElement;
10
- interpolation?: string | Function;
11
- pathComponent?: React.ReactElement;
12
- }
1
+ import React from "react";
2
+ import { VictoryCommonPrimitiveProps, VictoryCommonThemeProps } from "victory-core";
3
+ /**
4
+ * The area primitive used by VictoryArea
5
+ */
6
+ export declare const Area: React.FC<AreaProps>;
7
+ export interface AreaProps extends VictoryCommonPrimitiveProps {
8
+ horizontal?: VictoryCommonThemeProps["horizontal"];
9
+ groupComponent?: React.ReactElement;
10
+ interpolation?: string | Function;
11
+ pathComponent?: React.ReactElement;
12
+ }
13
13
  //# sourceMappingURL=area.d.ts.map
@@ -1,3 +1,3 @@
1
- export declare const getDataWithBaseline: (props: any, scale: any) => any;
2
- export declare const getBaseProps: (initialProps: any, fallbackProps: any) => any;
1
+ export declare const getDataWithBaseline: (props: any, scale: any) => any;
2
+ export declare const getBaseProps: (initialProps: any, fallbackProps: any) => any;
3
3
  //# sourceMappingURL=helper-methods.d.ts.map
package/es/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from "./victory-area";
2
- export * from "./area";
1
+ export * from "./victory-area";
2
+ export * from "./area";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,91 +1,91 @@
1
- import React from "react";
2
- import { Data, Domain, EventPropTypeInterface, InterpolationPropType, StringOrNumberOrCallback, VictoryCommonProps, VictoryDatableProps, VictoryMultiLabelableProps, VictoryStyleInterface, EventsMixinClass } from "victory-core";
3
- export declare type VictoryAreaTTargetType = "data" | "labels" | "parent";
4
- export interface VictoryAreaProps extends VictoryCommonProps, VictoryDatableProps, VictoryMultiLabelableProps {
5
- eventKey?: string[] | number[] | StringOrNumberOrCallback;
6
- events?: EventPropTypeInterface<VictoryAreaTTargetType, string | number>[];
7
- interpolation?: InterpolationPropType | Function;
8
- samples?: number;
9
- style?: VictoryStyleInterface;
10
- }
11
- interface VictoryAreaBase extends EventsMixinClass<VictoryAreaProps> {
12
- }
13
- /**
14
- * Draw area charts with React. VictoryArea is a composable component, so it doesn't include axes.
15
- * Add VictoryArea as a child of VictoryChart for a complete chart.
16
- */
17
- declare class VictoryAreaBase extends React.Component<VictoryAreaProps> {
18
- static animationWhitelist: string[];
19
- static defaultProps: VictoryAreaProps;
20
- static displayName: string;
21
- static role: string;
22
- static continuous: boolean;
23
- static defaultTransitions: import("victory-core").AnimatePropTypeInterface;
24
- static defaultPolarTransitions: import("victory-core").AnimatePropTypeInterface;
25
- static getDomain: typeof Domain.getDomainWithZero;
26
- static getData: typeof Data.getData;
27
- static getBaseProps(props: any): any;
28
- static expectedComponents: string[];
29
- shouldAnimate(): boolean;
30
- render(): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
31
- }
32
- export declare const VictoryArea: {
33
- new (props: import("victory-core").EventMixinCommonProps): {
34
- state: {};
35
- getEventState: (eventKey: string | number, namespace: string, childType?: string | undefined) => any;
36
- getScopedEvents: (events: any, namespace: any, childType: any, baseProps: any) => {};
37
- getEvents: (p: any, target: any, eventKey: any) => any;
38
- externalMutations: {} | undefined;
39
- calculatedState: {};
40
- globalEvents: {};
41
- prevGlobalEventKeys: string[];
42
- boundGlobalEvents: {};
43
- shouldComponentUpdate(nextProps: import("victory-core").EventMixinCommonProps): boolean;
44
- componentDidMount(): void;
45
- componentDidUpdate(prevProps: any): void;
46
- componentWillUnmount(): void;
47
- addGlobalListener(key: any): void;
48
- removeGlobalListener(key: any): void;
49
- getStateChanges(props: any): {};
50
- applyExternalMutations(props: any, externalMutations: any): void;
51
- getCalculatedValues(props: any): import("victory-core").EventMixinCalculatedValues;
52
- getExternalMutations(props: import("victory-core").EventMixinCommonProps): {} | undefined;
53
- cacheValues(obj: any): void;
54
- getBaseProps(props: any, getSharedEventState: any): Record<string, object>;
55
- getAllEvents(props: any): any;
56
- getComponentProps(component: React.ReactNode, type: string, index: string | number): any;
57
- renderContainer(component: any, children: any): React.DetailedReactHTMLElement<any, HTMLElement>;
58
- animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
59
- renderContinuousData(props: import("victory-core").EventMixinCommonProps): React.DetailedReactHTMLElement<any, HTMLElement>;
60
- renderData(props: any, shouldRenderDatum?: ((datum: any) => boolean) | undefined): React.DetailedReactHTMLElement<any, HTMLElement>;
61
- context: unknown;
62
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("victory-core").EventMixinCommonProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
63
- forceUpdate(callback?: (() => void) | undefined): void;
64
- render(): React.ReactNode;
65
- readonly props: Readonly<import("victory-core").EventMixinCommonProps>;
66
- refs: {
67
- [key: string]: React.ReactInstance;
68
- };
69
- componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
70
- getSnapshotBeforeUpdate?(prevProps: Readonly<import("victory-core").EventMixinCommonProps>, prevState: Readonly<{}>): any;
71
- componentWillMount?(): void;
72
- UNSAFE_componentWillMount?(): void;
73
- componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
74
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
75
- componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
76
- UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
77
- componentEvents: import("victory-core/lib/victory-util/events").ComponentEvent[];
78
- getSharedEventState: (key: string, value: string) => unknown;
79
- baseProps: Record<string, object>;
80
- dataKeys: string[];
81
- hasEvents: unknown;
82
- events: unknown;
83
- };
84
- getBaseProps?(props: import("victory-core").EventMixinCommonProps): Record<string, object>;
85
- role?: string | undefined;
86
- expectedComponents?: string[] | undefined;
87
- getChildren?: ((props: import("victory-core").EventMixinCommonProps, childComponents?: React.ReactNode[] | undefined, calculatedProps?: import("victory-core").EventMixinCommonProps | undefined) => void) | undefined;
88
- animationWhitelist?: string[] | undefined;
89
- } & typeof VictoryAreaBase;
90
- export {};
1
+ import React from "react";
2
+ import { Data, Domain, EventPropTypeInterface, InterpolationPropType, StringOrNumberOrCallback, VictoryCommonProps, VictoryDatableProps, VictoryMultiLabelableProps, VictoryStyleInterface, EventsMixinClass } from "victory-core";
3
+ export declare type VictoryAreaTTargetType = "data" | "labels" | "parent";
4
+ export interface VictoryAreaProps extends VictoryCommonProps, VictoryDatableProps, VictoryMultiLabelableProps {
5
+ eventKey?: string[] | number[] | StringOrNumberOrCallback;
6
+ events?: EventPropTypeInterface<VictoryAreaTTargetType, string | number>[];
7
+ interpolation?: InterpolationPropType | Function;
8
+ samples?: number;
9
+ style?: VictoryStyleInterface;
10
+ }
11
+ interface VictoryAreaBase extends EventsMixinClass<VictoryAreaProps> {
12
+ }
13
+ /**
14
+ * Draw area charts with React. VictoryArea is a composable component, so it doesn't include axes.
15
+ * Add VictoryArea as a child of VictoryChart for a complete chart.
16
+ */
17
+ declare class VictoryAreaBase extends React.Component<VictoryAreaProps> {
18
+ static animationWhitelist: string[];
19
+ static defaultProps: VictoryAreaProps;
20
+ static displayName: string;
21
+ static role: string;
22
+ static continuous: boolean;
23
+ static defaultTransitions: import("victory-core").AnimatePropTypeInterface;
24
+ static defaultPolarTransitions: import("victory-core").AnimatePropTypeInterface;
25
+ static getDomain: typeof Domain.getDomainWithZero;
26
+ static getData: typeof Data.getData;
27
+ static getBaseProps(props: any): any;
28
+ static expectedComponents: string[];
29
+ shouldAnimate(): boolean;
30
+ render(): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
31
+ }
32
+ export declare const VictoryArea: {
33
+ new (props: import("victory-core").EventMixinCommonProps): {
34
+ state: {};
35
+ getEventState: (eventKey: string | number, namespace: string, childType?: string | undefined) => any;
36
+ getScopedEvents: (events: any, namespace: any, childType: any, baseProps: any) => {};
37
+ getEvents: (p: any, target: any, eventKey: any) => any;
38
+ externalMutations: {} | undefined;
39
+ calculatedState: {};
40
+ globalEvents: {};
41
+ prevGlobalEventKeys: string[];
42
+ boundGlobalEvents: {};
43
+ shouldComponentUpdate(nextProps: import("victory-core").EventMixinCommonProps): boolean;
44
+ componentDidMount(): void;
45
+ componentDidUpdate(prevProps: any): void;
46
+ componentWillUnmount(): void;
47
+ addGlobalListener(key: any): void;
48
+ removeGlobalListener(key: any): void;
49
+ getStateChanges(props: any): {};
50
+ applyExternalMutations(props: any, externalMutations: any): void;
51
+ getCalculatedValues(props: any): import("victory-core").EventMixinCalculatedValues;
52
+ getExternalMutations(props: import("victory-core").EventMixinCommonProps): {} | undefined;
53
+ cacheValues(obj: any): void;
54
+ getBaseProps(props: any, getSharedEventState: any): Record<string, object>;
55
+ getAllEvents(props: any): any;
56
+ getComponentProps(component: React.ReactNode, type: string, index: string | number): any;
57
+ renderContainer(component: any, children: any): React.DetailedReactHTMLElement<any, HTMLElement>;
58
+ animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
59
+ renderContinuousData(props: import("victory-core").EventMixinCommonProps): React.DetailedReactHTMLElement<any, HTMLElement>;
60
+ renderData(props: any, shouldRenderDatum?: ((datum: any) => boolean) | undefined): React.DetailedReactHTMLElement<any, HTMLElement>;
61
+ context: unknown;
62
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("victory-core").EventMixinCommonProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
63
+ forceUpdate(callback?: (() => void) | undefined): void;
64
+ render(): React.ReactNode;
65
+ readonly props: Readonly<import("victory-core").EventMixinCommonProps>;
66
+ refs: {
67
+ [key: string]: React.ReactInstance;
68
+ };
69
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
70
+ getSnapshotBeforeUpdate?(prevProps: Readonly<import("victory-core").EventMixinCommonProps>, prevState: Readonly<{}>): any;
71
+ componentWillMount?(): void;
72
+ UNSAFE_componentWillMount?(): void;
73
+ componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
74
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
75
+ componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
76
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
77
+ componentEvents: import("victory-core/lib/victory-util/events").ComponentEvent[];
78
+ getSharedEventState: (key: string, value: string) => unknown;
79
+ baseProps: Record<string, object>;
80
+ dataKeys: string[];
81
+ hasEvents: unknown;
82
+ events: unknown;
83
+ };
84
+ getBaseProps?(props: import("victory-core").EventMixinCommonProps): Record<string, object>;
85
+ role?: string | undefined;
86
+ expectedComponents?: string[] | undefined;
87
+ getChildren?: ((props: import("victory-core").EventMixinCommonProps, childComponents?: React.ReactNode[] | undefined, calculatedProps?: import("victory-core").EventMixinCommonProps | undefined) => void) | undefined;
88
+ animationWhitelist?: string[] | undefined;
89
+ } & typeof VictoryAreaBase;
90
+ export {};
91
91
  //# sourceMappingURL=victory-area.d.ts.map
package/lib/area.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- import React from "react";
2
- import { VictoryCommonPrimitiveProps, VictoryCommonThemeProps } from "victory-core";
3
- /**
4
- * The area primitive used by VictoryArea
5
- */
6
- export declare const Area: React.FC<AreaProps>;
7
- export interface AreaProps extends VictoryCommonPrimitiveProps {
8
- horizontal?: VictoryCommonThemeProps["horizontal"];
9
- groupComponent?: React.ReactElement;
10
- interpolation?: string | Function;
11
- pathComponent?: React.ReactElement;
12
- }
1
+ import React from "react";
2
+ import { VictoryCommonPrimitiveProps, VictoryCommonThemeProps } from "victory-core";
3
+ /**
4
+ * The area primitive used by VictoryArea
5
+ */
6
+ export declare const Area: React.FC<AreaProps>;
7
+ export interface AreaProps extends VictoryCommonPrimitiveProps {
8
+ horizontal?: VictoryCommonThemeProps["horizontal"];
9
+ groupComponent?: React.ReactElement;
10
+ interpolation?: string | Function;
11
+ pathComponent?: React.ReactElement;
12
+ }
13
13
  //# sourceMappingURL=area.d.ts.map
@@ -1,3 +1,3 @@
1
- export declare const getDataWithBaseline: (props: any, scale: any) => any;
2
- export declare const getBaseProps: (initialProps: any, fallbackProps: any) => any;
1
+ export declare const getDataWithBaseline: (props: any, scale: any) => any;
2
+ export declare const getBaseProps: (initialProps: any, fallbackProps: any) => any;
3
3
  //# sourceMappingURL=helper-methods.d.ts.map
package/lib/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from "./victory-area";
2
- export * from "./area";
1
+ export * from "./victory-area";
2
+ export * from "./area";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,91 +1,91 @@
1
- import React from "react";
2
- import { Data, Domain, EventPropTypeInterface, InterpolationPropType, StringOrNumberOrCallback, VictoryCommonProps, VictoryDatableProps, VictoryMultiLabelableProps, VictoryStyleInterface, EventsMixinClass } from "victory-core";
3
- export declare type VictoryAreaTTargetType = "data" | "labels" | "parent";
4
- export interface VictoryAreaProps extends VictoryCommonProps, VictoryDatableProps, VictoryMultiLabelableProps {
5
- eventKey?: string[] | number[] | StringOrNumberOrCallback;
6
- events?: EventPropTypeInterface<VictoryAreaTTargetType, string | number>[];
7
- interpolation?: InterpolationPropType | Function;
8
- samples?: number;
9
- style?: VictoryStyleInterface;
10
- }
11
- interface VictoryAreaBase extends EventsMixinClass<VictoryAreaProps> {
12
- }
13
- /**
14
- * Draw area charts with React. VictoryArea is a composable component, so it doesn't include axes.
15
- * Add VictoryArea as a child of VictoryChart for a complete chart.
16
- */
17
- declare class VictoryAreaBase extends React.Component<VictoryAreaProps> {
18
- static animationWhitelist: string[];
19
- static defaultProps: VictoryAreaProps;
20
- static displayName: string;
21
- static role: string;
22
- static continuous: boolean;
23
- static defaultTransitions: import("victory-core").AnimatePropTypeInterface;
24
- static defaultPolarTransitions: import("victory-core").AnimatePropTypeInterface;
25
- static getDomain: typeof Domain.getDomainWithZero;
26
- static getData: typeof Data.getData;
27
- static getBaseProps(props: any): any;
28
- static expectedComponents: string[];
29
- shouldAnimate(): boolean;
30
- render(): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
31
- }
32
- export declare const VictoryArea: {
33
- new (props: import("victory-core").EventMixinCommonProps): {
34
- state: {};
35
- getEventState: (eventKey: string | number, namespace: string, childType?: string | undefined) => any;
36
- getScopedEvents: (events: any, namespace: any, childType: any, baseProps: any) => {};
37
- getEvents: (p: any, target: any, eventKey: any) => any;
38
- externalMutations: {} | undefined;
39
- calculatedState: {};
40
- globalEvents: {};
41
- prevGlobalEventKeys: string[];
42
- boundGlobalEvents: {};
43
- shouldComponentUpdate(nextProps: import("victory-core").EventMixinCommonProps): boolean;
44
- componentDidMount(): void;
45
- componentDidUpdate(prevProps: any): void;
46
- componentWillUnmount(): void;
47
- addGlobalListener(key: any): void;
48
- removeGlobalListener(key: any): void;
49
- getStateChanges(props: any): {};
50
- applyExternalMutations(props: any, externalMutations: any): void;
51
- getCalculatedValues(props: any): import("victory-core").EventMixinCalculatedValues;
52
- getExternalMutations(props: import("victory-core").EventMixinCommonProps): {} | undefined;
53
- cacheValues(obj: any): void;
54
- getBaseProps(props: any, getSharedEventState: any): Record<string, object>;
55
- getAllEvents(props: any): any;
56
- getComponentProps(component: React.ReactNode, type: string, index: string | number): any;
57
- renderContainer(component: any, children: any): React.DetailedReactHTMLElement<any, HTMLElement>;
58
- animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
59
- renderContinuousData(props: import("victory-core").EventMixinCommonProps): React.DetailedReactHTMLElement<any, HTMLElement>;
60
- renderData(props: any, shouldRenderDatum?: ((datum: any) => boolean) | undefined): React.DetailedReactHTMLElement<any, HTMLElement>;
61
- context: unknown;
62
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("victory-core").EventMixinCommonProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
63
- forceUpdate(callback?: (() => void) | undefined): void;
64
- render(): React.ReactNode;
65
- readonly props: Readonly<import("victory-core").EventMixinCommonProps>;
66
- refs: {
67
- [key: string]: React.ReactInstance;
68
- };
69
- componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
70
- getSnapshotBeforeUpdate?(prevProps: Readonly<import("victory-core").EventMixinCommonProps>, prevState: Readonly<{}>): any;
71
- componentWillMount?(): void;
72
- UNSAFE_componentWillMount?(): void;
73
- componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
74
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
75
- componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
76
- UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
77
- componentEvents: import("victory-core/lib/victory-util/events").ComponentEvent[];
78
- getSharedEventState: (key: string, value: string) => unknown;
79
- baseProps: Record<string, object>;
80
- dataKeys: string[];
81
- hasEvents: unknown;
82
- events: unknown;
83
- };
84
- getBaseProps?(props: import("victory-core").EventMixinCommonProps): Record<string, object>;
85
- role?: string | undefined;
86
- expectedComponents?: string[] | undefined;
87
- getChildren?: ((props: import("victory-core").EventMixinCommonProps, childComponents?: React.ReactNode[] | undefined, calculatedProps?: import("victory-core").EventMixinCommonProps | undefined) => void) | undefined;
88
- animationWhitelist?: string[] | undefined;
89
- } & typeof VictoryAreaBase;
90
- export {};
1
+ import React from "react";
2
+ import { Data, Domain, EventPropTypeInterface, InterpolationPropType, StringOrNumberOrCallback, VictoryCommonProps, VictoryDatableProps, VictoryMultiLabelableProps, VictoryStyleInterface, EventsMixinClass } from "victory-core";
3
+ export declare type VictoryAreaTTargetType = "data" | "labels" | "parent";
4
+ export interface VictoryAreaProps extends VictoryCommonProps, VictoryDatableProps, VictoryMultiLabelableProps {
5
+ eventKey?: string[] | number[] | StringOrNumberOrCallback;
6
+ events?: EventPropTypeInterface<VictoryAreaTTargetType, string | number>[];
7
+ interpolation?: InterpolationPropType | Function;
8
+ samples?: number;
9
+ style?: VictoryStyleInterface;
10
+ }
11
+ interface VictoryAreaBase extends EventsMixinClass<VictoryAreaProps> {
12
+ }
13
+ /**
14
+ * Draw area charts with React. VictoryArea is a composable component, so it doesn't include axes.
15
+ * Add VictoryArea as a child of VictoryChart for a complete chart.
16
+ */
17
+ declare class VictoryAreaBase extends React.Component<VictoryAreaProps> {
18
+ static animationWhitelist: string[];
19
+ static defaultProps: VictoryAreaProps;
20
+ static displayName: string;
21
+ static role: string;
22
+ static continuous: boolean;
23
+ static defaultTransitions: import("victory-core").AnimatePropTypeInterface;
24
+ static defaultPolarTransitions: import("victory-core").AnimatePropTypeInterface;
25
+ static getDomain: typeof Domain.getDomainWithZero;
26
+ static getData: typeof Data.getData;
27
+ static getBaseProps(props: any): any;
28
+ static expectedComponents: string[];
29
+ shouldAnimate(): boolean;
30
+ render(): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
31
+ }
32
+ export declare const VictoryArea: {
33
+ new (props: import("victory-core").EventMixinCommonProps): {
34
+ state: {};
35
+ getEventState: (eventKey: string | number, namespace: string, childType?: string | undefined) => any;
36
+ getScopedEvents: (events: any, namespace: any, childType: any, baseProps: any) => {};
37
+ getEvents: (p: any, target: any, eventKey: any) => any;
38
+ externalMutations: {} | undefined;
39
+ calculatedState: {};
40
+ globalEvents: {};
41
+ prevGlobalEventKeys: string[];
42
+ boundGlobalEvents: {};
43
+ shouldComponentUpdate(nextProps: import("victory-core").EventMixinCommonProps): boolean;
44
+ componentDidMount(): void;
45
+ componentDidUpdate(prevProps: any): void;
46
+ componentWillUnmount(): void;
47
+ addGlobalListener(key: any): void;
48
+ removeGlobalListener(key: any): void;
49
+ getStateChanges(props: any): {};
50
+ applyExternalMutations(props: any, externalMutations: any): void;
51
+ getCalculatedValues(props: any): import("victory-core").EventMixinCalculatedValues;
52
+ getExternalMutations(props: import("victory-core").EventMixinCommonProps): {} | undefined;
53
+ cacheValues(obj: any): void;
54
+ getBaseProps(props: any, getSharedEventState: any): Record<string, object>;
55
+ getAllEvents(props: any): any;
56
+ getComponentProps(component: React.ReactNode, type: string, index: string | number): any;
57
+ renderContainer(component: any, children: any): React.DetailedReactHTMLElement<any, HTMLElement>;
58
+ animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
59
+ renderContinuousData(props: import("victory-core").EventMixinCommonProps): React.DetailedReactHTMLElement<any, HTMLElement>;
60
+ renderData(props: any, shouldRenderDatum?: ((datum: any) => boolean) | undefined): React.DetailedReactHTMLElement<any, HTMLElement>;
61
+ context: unknown;
62
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("victory-core").EventMixinCommonProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
63
+ forceUpdate(callback?: (() => void) | undefined): void;
64
+ render(): React.ReactNode;
65
+ readonly props: Readonly<import("victory-core").EventMixinCommonProps>;
66
+ refs: {
67
+ [key: string]: React.ReactInstance;
68
+ };
69
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
70
+ getSnapshotBeforeUpdate?(prevProps: Readonly<import("victory-core").EventMixinCommonProps>, prevState: Readonly<{}>): any;
71
+ componentWillMount?(): void;
72
+ UNSAFE_componentWillMount?(): void;
73
+ componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
74
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
75
+ componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
76
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
77
+ componentEvents: import("victory-core/lib/victory-util/events").ComponentEvent[];
78
+ getSharedEventState: (key: string, value: string) => unknown;
79
+ baseProps: Record<string, object>;
80
+ dataKeys: string[];
81
+ hasEvents: unknown;
82
+ events: unknown;
83
+ };
84
+ getBaseProps?(props: import("victory-core").EventMixinCommonProps): Record<string, object>;
85
+ role?: string | undefined;
86
+ expectedComponents?: string[] | undefined;
87
+ getChildren?: ((props: import("victory-core").EventMixinCommonProps, childComponents?: React.ReactNode[] | undefined, calculatedProps?: import("victory-core").EventMixinCommonProps | undefined) => void) | undefined;
88
+ animationWhitelist?: string[] | undefined;
89
+ } & typeof VictoryAreaBase;
90
+ export {};
91
91
  //# sourceMappingURL=victory-area.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-area",
3
- "version": "37.0.1-next.2",
3
+ "version": "37.0.1",
4
4
  "description": "Area Component for Victory",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -21,14 +21,17 @@
21
21
  "license": "MIT",
22
22
  "dependencies": {
23
23
  "lodash": "^4.17.19",
24
- "victory-core": "^37.0.1-next.2",
25
- "victory-vendor": "^37.0.1-next.2"
24
+ "victory-core": "^37.0.1",
25
+ "victory-vendor": "^37.0.1"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=16.6.0"
29
29
  },
30
30
  "devDependencies": {
31
- "victory-chart": "37.0.1-next.2"
31
+ "victory-chart": "*"
32
+ },
33
+ "publishConfig": {
34
+ "provenance": true
32
35
  },
33
36
  "wireit": {
34
37
  "### THESE WIREIT CONFIGS ARE GENERATED ####": {},