victory-errorbar 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.
package/es/error-bar.d.ts CHANGED
@@ -1,32 +1,32 @@
1
- import React from "react";
2
- import { VictoryCommonPrimitiveProps } from "victory-core";
3
- export interface ErrorBarProps extends VictoryCommonPrimitiveProps {
4
- borderWidth?: number;
5
- datum?: any;
6
- errorX?: number | any[] | boolean;
7
- errorY?: number | any[] | boolean;
8
- groupComponent?: React.ReactElement;
9
- lineComponent?: React.ReactElement;
10
- x?: number;
11
- y?: number;
12
- }
13
- export interface ErrorProps {
14
- right?: {
15
- error: any;
16
- errorIndex: number;
17
- };
18
- left?: {
19
- error: any;
20
- errorIndex: number;
21
- };
22
- bottom?: {
23
- error: any;
24
- errorIndex: number;
25
- };
26
- top?: {
27
- error: any;
28
- errorIndex: number;
29
- };
30
- }
31
- export declare const ErrorBar: any;
1
+ import React from "react";
2
+ import { VictoryCommonPrimitiveProps } from "victory-core";
3
+ export interface ErrorBarProps extends VictoryCommonPrimitiveProps {
4
+ borderWidth?: number;
5
+ datum?: any;
6
+ errorX?: number | any[] | boolean;
7
+ errorY?: number | any[] | boolean;
8
+ groupComponent?: React.ReactElement;
9
+ lineComponent?: React.ReactElement;
10
+ x?: number;
11
+ y?: number;
12
+ }
13
+ export interface ErrorProps {
14
+ right?: {
15
+ error: any;
16
+ errorIndex: number;
17
+ };
18
+ left?: {
19
+ error: any;
20
+ errorIndex: number;
21
+ };
22
+ bottom?: {
23
+ error: any;
24
+ errorIndex: number;
25
+ };
26
+ top?: {
27
+ error: any;
28
+ errorIndex: number;
29
+ };
30
+ }
31
+ export declare const ErrorBar: any;
32
32
  //# sourceMappingURL=error-bar.d.ts.map
@@ -1,4 +1,4 @@
1
- export declare const getData: (props: any) => any;
2
- export declare const getDomain: (props: any, axis: any) => any;
3
- export declare const getBaseProps: (initialProps: any, fallbackProps: any) => any;
1
+ export declare const getData: (props: any) => any;
2
+ export declare const getDomain: (props: any, axis: any) => any;
3
+ export declare const getBaseProps: (initialProps: any, fallbackProps: any) => any;
4
4
  //# sourceMappingURL=helper-methods.d.ts.map
package/es/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from "./victory-errorbar";
2
- export * from "./error-bar";
1
+ export * from "./victory-errorbar";
2
+ export * from "./error-bar";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,86 +1,86 @@
1
- import React from "react";
2
- import { EventPropTypeInterface, StringOrNumberOrCallback, StringOrNumberOrList, VictoryDatableProps, VictoryCommonProps, VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleInterface, EventsMixinClass } from "victory-core";
3
- export declare type VictoryErrorBarTTargetType = "data" | "labels" | "parent";
4
- export declare type ErrorType = StringOrNumberOrList | ((...args: any[]) => StringOrNumberOrList);
5
- export interface VictoryErrorBarProps extends Omit<VictoryCommonProps, "polar">, VictoryDatableProps, VictoryLabelableProps, VictoryMultiLabelableProps {
6
- borderWidth?: number;
7
- errorX?: ErrorType;
8
- errorY?: ErrorType;
9
- events?: EventPropTypeInterface<VictoryErrorBarTTargetType, StringOrNumberOrCallback>[];
10
- style?: VictoryStyleInterface;
11
- }
12
- interface VictoryErrorBarBase extends EventsMixinClass<VictoryErrorBarProps> {
13
- }
14
- declare class VictoryErrorBarBase extends React.Component<VictoryErrorBarProps> {
15
- static animationWhitelist: string[];
16
- static displayName: string;
17
- static role: string;
18
- static defaultTransitions: import("victory-core").AnimatePropTypeInterface;
19
- static defaultProps: VictoryErrorBarProps;
20
- static getDomain: (props: any, axis: any) => any;
21
- static getData: (props: any) => any;
22
- static getBaseProps: (props: any) => any;
23
- static expectedComponents: string[];
24
- shouldAnimate(): boolean;
25
- render(): React.ReactElement;
26
- }
27
- export declare const VictoryErrorBar: {
28
- new (props: import("victory-core").EventMixinCommonProps): {
29
- state: {};
30
- getEventState: (eventKey: string | number, namespace: string, childType?: string | undefined) => any;
31
- getScopedEvents: (events: any, namespace: any, childType: any, baseProps: any) => {};
32
- getEvents: (p: any, target: any, eventKey: any) => any;
33
- externalMutations: {} | undefined;
34
- calculatedState: {};
35
- globalEvents: {};
36
- prevGlobalEventKeys: string[];
37
- boundGlobalEvents: {};
38
- shouldComponentUpdate(nextProps: import("victory-core").EventMixinCommonProps): boolean;
39
- componentDidMount(): void;
40
- componentDidUpdate(prevProps: any): void;
41
- componentWillUnmount(): void;
42
- addGlobalListener(key: any): void;
43
- removeGlobalListener(key: any): void;
44
- getStateChanges(props: any): {};
45
- applyExternalMutations(props: any, externalMutations: any): void;
46
- getCalculatedValues(props: any): import("victory-core").EventMixinCalculatedValues;
47
- getExternalMutations(props: import("victory-core").EventMixinCommonProps): {} | undefined;
48
- cacheValues(obj: any): void;
49
- getBaseProps(props: any, getSharedEventState: any): Record<string, object>;
50
- getAllEvents(props: any): any;
51
- getComponentProps(component: React.ReactNode, type: string, index: string | number): any;
52
- renderContainer(component: any, children: any): React.DetailedReactHTMLElement<any, HTMLElement>;
53
- animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
54
- renderContinuousData(props: import("victory-core").EventMixinCommonProps): React.DetailedReactHTMLElement<any, HTMLElement>;
55
- renderData(props: any, shouldRenderDatum?: ((datum: any) => boolean) | undefined): React.DetailedReactHTMLElement<any, HTMLElement>;
56
- context: unknown;
57
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("victory-core").EventMixinCommonProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
58
- forceUpdate(callback?: (() => void) | undefined): void;
59
- render(): React.ReactNode;
60
- readonly props: Readonly<import("victory-core").EventMixinCommonProps>;
61
- refs: {
62
- [key: string]: React.ReactInstance;
63
- };
64
- componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
65
- getSnapshotBeforeUpdate?(prevProps: Readonly<import("victory-core").EventMixinCommonProps>, prevState: Readonly<{}>): any;
66
- componentWillMount?(): void;
67
- UNSAFE_componentWillMount?(): void;
68
- componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
69
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
70
- componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
71
- UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
72
- componentEvents: import("victory-core/lib/victory-util/events").ComponentEvent[];
73
- getSharedEventState: (key: string, value: string) => unknown;
74
- baseProps: Record<string, object>;
75
- dataKeys: string[];
76
- hasEvents: unknown;
77
- events: unknown;
78
- };
79
- getBaseProps?(props: import("victory-core").EventMixinCommonProps): Record<string, object>;
80
- role?: string | undefined;
81
- expectedComponents?: string[] | undefined;
82
- getChildren?: ((props: import("victory-core").EventMixinCommonProps, childComponents?: React.ReactNode[] | undefined, calculatedProps?: import("victory-core").EventMixinCommonProps | undefined) => void) | undefined;
83
- animationWhitelist?: string[] | undefined;
84
- } & typeof VictoryErrorBarBase;
85
- export {};
1
+ import React from "react";
2
+ import { EventPropTypeInterface, StringOrNumberOrCallback, StringOrNumberOrList, VictoryDatableProps, VictoryCommonProps, VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleInterface, EventsMixinClass } from "victory-core";
3
+ export declare type VictoryErrorBarTTargetType = "data" | "labels" | "parent";
4
+ export declare type ErrorType = StringOrNumberOrList | ((...args: any[]) => StringOrNumberOrList);
5
+ export interface VictoryErrorBarProps extends Omit<VictoryCommonProps, "polar">, VictoryDatableProps, VictoryLabelableProps, VictoryMultiLabelableProps {
6
+ borderWidth?: number;
7
+ errorX?: ErrorType;
8
+ errorY?: ErrorType;
9
+ events?: EventPropTypeInterface<VictoryErrorBarTTargetType, StringOrNumberOrCallback>[];
10
+ style?: VictoryStyleInterface;
11
+ }
12
+ interface VictoryErrorBarBase extends EventsMixinClass<VictoryErrorBarProps> {
13
+ }
14
+ declare class VictoryErrorBarBase extends React.Component<VictoryErrorBarProps> {
15
+ static animationWhitelist: string[];
16
+ static displayName: string;
17
+ static role: string;
18
+ static defaultTransitions: import("victory-core").AnimatePropTypeInterface;
19
+ static defaultProps: VictoryErrorBarProps;
20
+ static getDomain: (props: any, axis: any) => any;
21
+ static getData: (props: any) => any;
22
+ static getBaseProps: (props: any) => any;
23
+ static expectedComponents: string[];
24
+ shouldAnimate(): boolean;
25
+ render(): React.ReactElement;
26
+ }
27
+ export declare const VictoryErrorBar: {
28
+ new (props: import("victory-core").EventMixinCommonProps): {
29
+ state: {};
30
+ getEventState: (eventKey: string | number, namespace: string, childType?: string | undefined) => any;
31
+ getScopedEvents: (events: any, namespace: any, childType: any, baseProps: any) => {};
32
+ getEvents: (p: any, target: any, eventKey: any) => any;
33
+ externalMutations: {} | undefined;
34
+ calculatedState: {};
35
+ globalEvents: {};
36
+ prevGlobalEventKeys: string[];
37
+ boundGlobalEvents: {};
38
+ shouldComponentUpdate(nextProps: import("victory-core").EventMixinCommonProps): boolean;
39
+ componentDidMount(): void;
40
+ componentDidUpdate(prevProps: any): void;
41
+ componentWillUnmount(): void;
42
+ addGlobalListener(key: any): void;
43
+ removeGlobalListener(key: any): void;
44
+ getStateChanges(props: any): {};
45
+ applyExternalMutations(props: any, externalMutations: any): void;
46
+ getCalculatedValues(props: any): import("victory-core").EventMixinCalculatedValues;
47
+ getExternalMutations(props: import("victory-core").EventMixinCommonProps): {} | undefined;
48
+ cacheValues(obj: any): void;
49
+ getBaseProps(props: any, getSharedEventState: any): Record<string, object>;
50
+ getAllEvents(props: any): any;
51
+ getComponentProps(component: React.ReactNode, type: string, index: string | number): any;
52
+ renderContainer(component: any, children: any): React.DetailedReactHTMLElement<any, HTMLElement>;
53
+ animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
54
+ renderContinuousData(props: import("victory-core").EventMixinCommonProps): React.DetailedReactHTMLElement<any, HTMLElement>;
55
+ renderData(props: any, shouldRenderDatum?: ((datum: any) => boolean) | undefined): React.DetailedReactHTMLElement<any, HTMLElement>;
56
+ context: unknown;
57
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("victory-core").EventMixinCommonProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
58
+ forceUpdate(callback?: (() => void) | undefined): void;
59
+ render(): React.ReactNode;
60
+ readonly props: Readonly<import("victory-core").EventMixinCommonProps>;
61
+ refs: {
62
+ [key: string]: React.ReactInstance;
63
+ };
64
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
65
+ getSnapshotBeforeUpdate?(prevProps: Readonly<import("victory-core").EventMixinCommonProps>, prevState: Readonly<{}>): any;
66
+ componentWillMount?(): void;
67
+ UNSAFE_componentWillMount?(): void;
68
+ componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
69
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
70
+ componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
71
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
72
+ componentEvents: import("victory-core/lib/victory-util/events").ComponentEvent[];
73
+ getSharedEventState: (key: string, value: string) => unknown;
74
+ baseProps: Record<string, object>;
75
+ dataKeys: string[];
76
+ hasEvents: unknown;
77
+ events: unknown;
78
+ };
79
+ getBaseProps?(props: import("victory-core").EventMixinCommonProps): Record<string, object>;
80
+ role?: string | undefined;
81
+ expectedComponents?: string[] | undefined;
82
+ getChildren?: ((props: import("victory-core").EventMixinCommonProps, childComponents?: React.ReactNode[] | undefined, calculatedProps?: import("victory-core").EventMixinCommonProps | undefined) => void) | undefined;
83
+ animationWhitelist?: string[] | undefined;
84
+ } & typeof VictoryErrorBarBase;
85
+ export {};
86
86
  //# sourceMappingURL=victory-errorbar.d.ts.map
@@ -1,32 +1,32 @@
1
- import React from "react";
2
- import { VictoryCommonPrimitiveProps } from "victory-core";
3
- export interface ErrorBarProps extends VictoryCommonPrimitiveProps {
4
- borderWidth?: number;
5
- datum?: any;
6
- errorX?: number | any[] | boolean;
7
- errorY?: number | any[] | boolean;
8
- groupComponent?: React.ReactElement;
9
- lineComponent?: React.ReactElement;
10
- x?: number;
11
- y?: number;
12
- }
13
- export interface ErrorProps {
14
- right?: {
15
- error: any;
16
- errorIndex: number;
17
- };
18
- left?: {
19
- error: any;
20
- errorIndex: number;
21
- };
22
- bottom?: {
23
- error: any;
24
- errorIndex: number;
25
- };
26
- top?: {
27
- error: any;
28
- errorIndex: number;
29
- };
30
- }
31
- export declare const ErrorBar: any;
1
+ import React from "react";
2
+ import { VictoryCommonPrimitiveProps } from "victory-core";
3
+ export interface ErrorBarProps extends VictoryCommonPrimitiveProps {
4
+ borderWidth?: number;
5
+ datum?: any;
6
+ errorX?: number | any[] | boolean;
7
+ errorY?: number | any[] | boolean;
8
+ groupComponent?: React.ReactElement;
9
+ lineComponent?: React.ReactElement;
10
+ x?: number;
11
+ y?: number;
12
+ }
13
+ export interface ErrorProps {
14
+ right?: {
15
+ error: any;
16
+ errorIndex: number;
17
+ };
18
+ left?: {
19
+ error: any;
20
+ errorIndex: number;
21
+ };
22
+ bottom?: {
23
+ error: any;
24
+ errorIndex: number;
25
+ };
26
+ top?: {
27
+ error: any;
28
+ errorIndex: number;
29
+ };
30
+ }
31
+ export declare const ErrorBar: any;
32
32
  //# sourceMappingURL=error-bar.d.ts.map
@@ -1,4 +1,4 @@
1
- export declare const getData: (props: any) => any;
2
- export declare const getDomain: (props: any, axis: any) => any;
3
- export declare const getBaseProps: (initialProps: any, fallbackProps: any) => any;
1
+ export declare const getData: (props: any) => any;
2
+ export declare const getDomain: (props: any, axis: any) => any;
3
+ export declare const getBaseProps: (initialProps: any, fallbackProps: any) => any;
4
4
  //# sourceMappingURL=helper-methods.d.ts.map
package/lib/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from "./victory-errorbar";
2
- export * from "./error-bar";
1
+ export * from "./victory-errorbar";
2
+ export * from "./error-bar";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,86 +1,86 @@
1
- import React from "react";
2
- import { EventPropTypeInterface, StringOrNumberOrCallback, StringOrNumberOrList, VictoryDatableProps, VictoryCommonProps, VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleInterface, EventsMixinClass } from "victory-core";
3
- export declare type VictoryErrorBarTTargetType = "data" | "labels" | "parent";
4
- export declare type ErrorType = StringOrNumberOrList | ((...args: any[]) => StringOrNumberOrList);
5
- export interface VictoryErrorBarProps extends Omit<VictoryCommonProps, "polar">, VictoryDatableProps, VictoryLabelableProps, VictoryMultiLabelableProps {
6
- borderWidth?: number;
7
- errorX?: ErrorType;
8
- errorY?: ErrorType;
9
- events?: EventPropTypeInterface<VictoryErrorBarTTargetType, StringOrNumberOrCallback>[];
10
- style?: VictoryStyleInterface;
11
- }
12
- interface VictoryErrorBarBase extends EventsMixinClass<VictoryErrorBarProps> {
13
- }
14
- declare class VictoryErrorBarBase extends React.Component<VictoryErrorBarProps> {
15
- static animationWhitelist: string[];
16
- static displayName: string;
17
- static role: string;
18
- static defaultTransitions: import("victory-core").AnimatePropTypeInterface;
19
- static defaultProps: VictoryErrorBarProps;
20
- static getDomain: (props: any, axis: any) => any;
21
- static getData: (props: any) => any;
22
- static getBaseProps: (props: any) => any;
23
- static expectedComponents: string[];
24
- shouldAnimate(): boolean;
25
- render(): React.ReactElement;
26
- }
27
- export declare const VictoryErrorBar: {
28
- new (props: import("victory-core").EventMixinCommonProps): {
29
- state: {};
30
- getEventState: (eventKey: string | number, namespace: string, childType?: string | undefined) => any;
31
- getScopedEvents: (events: any, namespace: any, childType: any, baseProps: any) => {};
32
- getEvents: (p: any, target: any, eventKey: any) => any;
33
- externalMutations: {} | undefined;
34
- calculatedState: {};
35
- globalEvents: {};
36
- prevGlobalEventKeys: string[];
37
- boundGlobalEvents: {};
38
- shouldComponentUpdate(nextProps: import("victory-core").EventMixinCommonProps): boolean;
39
- componentDidMount(): void;
40
- componentDidUpdate(prevProps: any): void;
41
- componentWillUnmount(): void;
42
- addGlobalListener(key: any): void;
43
- removeGlobalListener(key: any): void;
44
- getStateChanges(props: any): {};
45
- applyExternalMutations(props: any, externalMutations: any): void;
46
- getCalculatedValues(props: any): import("victory-core").EventMixinCalculatedValues;
47
- getExternalMutations(props: import("victory-core").EventMixinCommonProps): {} | undefined;
48
- cacheValues(obj: any): void;
49
- getBaseProps(props: any, getSharedEventState: any): Record<string, object>;
50
- getAllEvents(props: any): any;
51
- getComponentProps(component: React.ReactNode, type: string, index: string | number): any;
52
- renderContainer(component: any, children: any): React.DetailedReactHTMLElement<any, HTMLElement>;
53
- animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
54
- renderContinuousData(props: import("victory-core").EventMixinCommonProps): React.DetailedReactHTMLElement<any, HTMLElement>;
55
- renderData(props: any, shouldRenderDatum?: ((datum: any) => boolean) | undefined): React.DetailedReactHTMLElement<any, HTMLElement>;
56
- context: unknown;
57
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("victory-core").EventMixinCommonProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
58
- forceUpdate(callback?: (() => void) | undefined): void;
59
- render(): React.ReactNode;
60
- readonly props: Readonly<import("victory-core").EventMixinCommonProps>;
61
- refs: {
62
- [key: string]: React.ReactInstance;
63
- };
64
- componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
65
- getSnapshotBeforeUpdate?(prevProps: Readonly<import("victory-core").EventMixinCommonProps>, prevState: Readonly<{}>): any;
66
- componentWillMount?(): void;
67
- UNSAFE_componentWillMount?(): void;
68
- componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
69
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
70
- componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
71
- UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
72
- componentEvents: import("victory-core/lib/victory-util/events").ComponentEvent[];
73
- getSharedEventState: (key: string, value: string) => unknown;
74
- baseProps: Record<string, object>;
75
- dataKeys: string[];
76
- hasEvents: unknown;
77
- events: unknown;
78
- };
79
- getBaseProps?(props: import("victory-core").EventMixinCommonProps): Record<string, object>;
80
- role?: string | undefined;
81
- expectedComponents?: string[] | undefined;
82
- getChildren?: ((props: import("victory-core").EventMixinCommonProps, childComponents?: React.ReactNode[] | undefined, calculatedProps?: import("victory-core").EventMixinCommonProps | undefined) => void) | undefined;
83
- animationWhitelist?: string[] | undefined;
84
- } & typeof VictoryErrorBarBase;
85
- export {};
1
+ import React from "react";
2
+ import { EventPropTypeInterface, StringOrNumberOrCallback, StringOrNumberOrList, VictoryDatableProps, VictoryCommonProps, VictoryLabelableProps, VictoryMultiLabelableProps, VictoryStyleInterface, EventsMixinClass } from "victory-core";
3
+ export declare type VictoryErrorBarTTargetType = "data" | "labels" | "parent";
4
+ export declare type ErrorType = StringOrNumberOrList | ((...args: any[]) => StringOrNumberOrList);
5
+ export interface VictoryErrorBarProps extends Omit<VictoryCommonProps, "polar">, VictoryDatableProps, VictoryLabelableProps, VictoryMultiLabelableProps {
6
+ borderWidth?: number;
7
+ errorX?: ErrorType;
8
+ errorY?: ErrorType;
9
+ events?: EventPropTypeInterface<VictoryErrorBarTTargetType, StringOrNumberOrCallback>[];
10
+ style?: VictoryStyleInterface;
11
+ }
12
+ interface VictoryErrorBarBase extends EventsMixinClass<VictoryErrorBarProps> {
13
+ }
14
+ declare class VictoryErrorBarBase extends React.Component<VictoryErrorBarProps> {
15
+ static animationWhitelist: string[];
16
+ static displayName: string;
17
+ static role: string;
18
+ static defaultTransitions: import("victory-core").AnimatePropTypeInterface;
19
+ static defaultProps: VictoryErrorBarProps;
20
+ static getDomain: (props: any, axis: any) => any;
21
+ static getData: (props: any) => any;
22
+ static getBaseProps: (props: any) => any;
23
+ static expectedComponents: string[];
24
+ shouldAnimate(): boolean;
25
+ render(): React.ReactElement;
26
+ }
27
+ export declare const VictoryErrorBar: {
28
+ new (props: import("victory-core").EventMixinCommonProps): {
29
+ state: {};
30
+ getEventState: (eventKey: string | number, namespace: string, childType?: string | undefined) => any;
31
+ getScopedEvents: (events: any, namespace: any, childType: any, baseProps: any) => {};
32
+ getEvents: (p: any, target: any, eventKey: any) => any;
33
+ externalMutations: {} | undefined;
34
+ calculatedState: {};
35
+ globalEvents: {};
36
+ prevGlobalEventKeys: string[];
37
+ boundGlobalEvents: {};
38
+ shouldComponentUpdate(nextProps: import("victory-core").EventMixinCommonProps): boolean;
39
+ componentDidMount(): void;
40
+ componentDidUpdate(prevProps: any): void;
41
+ componentWillUnmount(): void;
42
+ addGlobalListener(key: any): void;
43
+ removeGlobalListener(key: any): void;
44
+ getStateChanges(props: any): {};
45
+ applyExternalMutations(props: any, externalMutations: any): void;
46
+ getCalculatedValues(props: any): import("victory-core").EventMixinCalculatedValues;
47
+ getExternalMutations(props: import("victory-core").EventMixinCommonProps): {} | undefined;
48
+ cacheValues(obj: any): void;
49
+ getBaseProps(props: any, getSharedEventState: any): Record<string, object>;
50
+ getAllEvents(props: any): any;
51
+ getComponentProps(component: React.ReactNode, type: string, index: string | number): any;
52
+ renderContainer(component: any, children: any): React.DetailedReactHTMLElement<any, HTMLElement>;
53
+ animateComponent(props: import("victory-core").EventMixinCommonProps, defaultAnimationWhitelist: string[]): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
54
+ renderContinuousData(props: import("victory-core").EventMixinCommonProps): React.DetailedReactHTMLElement<any, HTMLElement>;
55
+ renderData(props: any, shouldRenderDatum?: ((datum: any) => boolean) | undefined): React.DetailedReactHTMLElement<any, HTMLElement>;
56
+ context: unknown;
57
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("victory-core").EventMixinCommonProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
58
+ forceUpdate(callback?: (() => void) | undefined): void;
59
+ render(): React.ReactNode;
60
+ readonly props: Readonly<import("victory-core").EventMixinCommonProps>;
61
+ refs: {
62
+ [key: string]: React.ReactInstance;
63
+ };
64
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
65
+ getSnapshotBeforeUpdate?(prevProps: Readonly<import("victory-core").EventMixinCommonProps>, prevState: Readonly<{}>): any;
66
+ componentWillMount?(): void;
67
+ UNSAFE_componentWillMount?(): void;
68
+ componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
69
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextContext: any): void;
70
+ componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
71
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<import("victory-core").EventMixinCommonProps>, nextState: Readonly<{}>, nextContext: any): void;
72
+ componentEvents: import("victory-core/lib/victory-util/events").ComponentEvent[];
73
+ getSharedEventState: (key: string, value: string) => unknown;
74
+ baseProps: Record<string, object>;
75
+ dataKeys: string[];
76
+ hasEvents: unknown;
77
+ events: unknown;
78
+ };
79
+ getBaseProps?(props: import("victory-core").EventMixinCommonProps): Record<string, object>;
80
+ role?: string | undefined;
81
+ expectedComponents?: string[] | undefined;
82
+ getChildren?: ((props: import("victory-core").EventMixinCommonProps, childComponents?: React.ReactNode[] | undefined, calculatedProps?: import("victory-core").EventMixinCommonProps | undefined) => void) | undefined;
83
+ animationWhitelist?: string[] | undefined;
84
+ } & typeof VictoryErrorBarBase;
85
+ export {};
86
86
  //# sourceMappingURL=victory-errorbar.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-errorbar",
3
- "version": "36.9.2-next.1",
3
+ "version": "36.9.2",
4
4
  "description": "Error Bar 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",
@@ -21,14 +21,17 @@
21
21
  "license": "MIT",
22
22
  "dependencies": {
23
23
  "lodash": "^4.17.19",
24
- "victory-core": "^36.9.2-next.1"
24
+ "victory-core": "^36.9.2"
25
25
  },
26
26
  "devDependencies": {
27
- "victory-vendor": "36.9.2-next.1"
27
+ "victory-vendor": "*"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "react": ">=16.6.0"
31
31
  },
32
+ "publishConfig": {
33
+ "provenance": true
34
+ },
32
35
  "wireit": {
33
36
  "### THESE WIREIT CONFIGS ARE GENERATED ####": {},
34
37
  "### 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
- */