victory-shared-events 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 +1 -5
- package/es/index.d.ts +1 -1
- package/es/victory-shared-events.d.ts +50 -50
- package/lib/index.d.ts +1 -1
- package/lib/victory-shared-events.d.ts +50 -50
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
package/es/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./victory-shared-events";
|
|
1
|
+
export * from "./victory-shared-events";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
/// <reference types="lodash" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { EventCallbackInterface, EventMixinCalculatedValues, EventPropTypeInterface, StringOrNumberOrCallback } from "victory-core";
|
|
4
|
-
export declare type VictorySharedEventsProps = {
|
|
5
|
-
children?: React.ReactElement | React.ReactElement[];
|
|
6
|
-
container?: React.ReactElement;
|
|
7
|
-
groupComponent?: React.ReactElement;
|
|
8
|
-
events?: EventPropTypeInterface<string, StringOrNumberOrCallback>[];
|
|
9
|
-
eventKey?: StringOrNumberOrCallback;
|
|
10
|
-
externalEventMutations?: EventCallbackInterface<string | string[], string | number | (string | number)[]>[];
|
|
11
|
-
};
|
|
12
|
-
export interface VictorySharedEvents extends EventMixinCalculatedValues {
|
|
13
|
-
}
|
|
14
|
-
export declare class VictorySharedEvents extends React.Component<VictorySharedEventsProps> {
|
|
15
|
-
static displayName: string;
|
|
16
|
-
static role: string;
|
|
17
|
-
static contextType: React.Context<{
|
|
18
|
-
transitionTimer: import("victory-core").Timer;
|
|
19
|
-
animationTimer: import("victory-core").Timer;
|
|
20
|
-
}>;
|
|
21
|
-
static defaultProps: {
|
|
22
|
-
groupComponent: JSX.Element;
|
|
23
|
-
};
|
|
24
|
-
getScopedEvents: any;
|
|
25
|
-
getEventState: any;
|
|
26
|
-
baseProps: any;
|
|
27
|
-
sharedEventsCache: any;
|
|
28
|
-
globalEvents: any;
|
|
29
|
-
prevGlobalEventKeys: any;
|
|
30
|
-
boundGlobalEvents: any;
|
|
31
|
-
constructor(props: VictorySharedEventsProps);
|
|
32
|
-
shouldComponentUpdate(nextProps: any): boolean;
|
|
33
|
-
componentDidMount(): void;
|
|
34
|
-
componentDidUpdate(): void;
|
|
35
|
-
componentWillUnmount(): void;
|
|
36
|
-
addGlobalListener(key: any): void;
|
|
37
|
-
removeGlobalListener(key: any): void;
|
|
38
|
-
getAllEvents(props: any): any;
|
|
39
|
-
applyExternalMutations(props: any, externalMutations: any): void;
|
|
40
|
-
getExternalMutations(props: any, baseProps: any): any;
|
|
41
|
-
cacheSharedEvents(name: any, sharedEvents: any, cacheValues: any): void;
|
|
42
|
-
getCachedSharedEvents(name: any, cacheValues: any): any;
|
|
43
|
-
getBaseProps(props: any): import("lodash").Dictionary<any> & {
|
|
44
|
-
parent: any;
|
|
45
|
-
};
|
|
46
|
-
getBasePropsFromChildren(childComponents: any): import("lodash").Dictionary<any>;
|
|
47
|
-
getNewChildren(props: any, baseProps: any): any;
|
|
48
|
-
getContainer(props: any, baseProps: any, events: any): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
49
|
-
render(): React.ReactElement;
|
|
50
|
-
}
|
|
1
|
+
/// <reference types="lodash" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { EventCallbackInterface, EventMixinCalculatedValues, EventPropTypeInterface, StringOrNumberOrCallback } from "victory-core";
|
|
4
|
+
export declare type VictorySharedEventsProps = {
|
|
5
|
+
children?: React.ReactElement | React.ReactElement[];
|
|
6
|
+
container?: React.ReactElement;
|
|
7
|
+
groupComponent?: React.ReactElement;
|
|
8
|
+
events?: EventPropTypeInterface<string, StringOrNumberOrCallback>[];
|
|
9
|
+
eventKey?: StringOrNumberOrCallback;
|
|
10
|
+
externalEventMutations?: EventCallbackInterface<string | string[], string | number | (string | number)[]>[];
|
|
11
|
+
};
|
|
12
|
+
export interface VictorySharedEvents extends EventMixinCalculatedValues {
|
|
13
|
+
}
|
|
14
|
+
export declare class VictorySharedEvents extends React.Component<VictorySharedEventsProps> {
|
|
15
|
+
static displayName: string;
|
|
16
|
+
static role: string;
|
|
17
|
+
static contextType: React.Context<{
|
|
18
|
+
transitionTimer: import("victory-core").Timer;
|
|
19
|
+
animationTimer: import("victory-core").Timer;
|
|
20
|
+
}>;
|
|
21
|
+
static defaultProps: {
|
|
22
|
+
groupComponent: JSX.Element;
|
|
23
|
+
};
|
|
24
|
+
getScopedEvents: any;
|
|
25
|
+
getEventState: any;
|
|
26
|
+
baseProps: any;
|
|
27
|
+
sharedEventsCache: any;
|
|
28
|
+
globalEvents: any;
|
|
29
|
+
prevGlobalEventKeys: any;
|
|
30
|
+
boundGlobalEvents: any;
|
|
31
|
+
constructor(props: VictorySharedEventsProps);
|
|
32
|
+
shouldComponentUpdate(nextProps: any): boolean;
|
|
33
|
+
componentDidMount(): void;
|
|
34
|
+
componentDidUpdate(): void;
|
|
35
|
+
componentWillUnmount(): void;
|
|
36
|
+
addGlobalListener(key: any): void;
|
|
37
|
+
removeGlobalListener(key: any): void;
|
|
38
|
+
getAllEvents(props: any): any;
|
|
39
|
+
applyExternalMutations(props: any, externalMutations: any): void;
|
|
40
|
+
getExternalMutations(props: any, baseProps: any): any;
|
|
41
|
+
cacheSharedEvents(name: any, sharedEvents: any, cacheValues: any): void;
|
|
42
|
+
getCachedSharedEvents(name: any, cacheValues: any): any;
|
|
43
|
+
getBaseProps(props: any): import("lodash").Dictionary<any> & {
|
|
44
|
+
parent: any;
|
|
45
|
+
};
|
|
46
|
+
getBasePropsFromChildren(childComponents: any): import("lodash").Dictionary<any>;
|
|
47
|
+
getNewChildren(props: any, baseProps: any): any;
|
|
48
|
+
getContainer(props: any, baseProps: any, events: any): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
49
|
+
render(): React.ReactElement;
|
|
50
|
+
}
|
|
51
51
|
//# sourceMappingURL=victory-shared-events.d.ts.map
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./victory-shared-events";
|
|
1
|
+
export * from "./victory-shared-events";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
/// <reference types="lodash" />
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { EventCallbackInterface, EventMixinCalculatedValues, EventPropTypeInterface, StringOrNumberOrCallback } from "victory-core";
|
|
4
|
-
export declare type VictorySharedEventsProps = {
|
|
5
|
-
children?: React.ReactElement | React.ReactElement[];
|
|
6
|
-
container?: React.ReactElement;
|
|
7
|
-
groupComponent?: React.ReactElement;
|
|
8
|
-
events?: EventPropTypeInterface<string, StringOrNumberOrCallback>[];
|
|
9
|
-
eventKey?: StringOrNumberOrCallback;
|
|
10
|
-
externalEventMutations?: EventCallbackInterface<string | string[], string | number | (string | number)[]>[];
|
|
11
|
-
};
|
|
12
|
-
export interface VictorySharedEvents extends EventMixinCalculatedValues {
|
|
13
|
-
}
|
|
14
|
-
export declare class VictorySharedEvents extends React.Component<VictorySharedEventsProps> {
|
|
15
|
-
static displayName: string;
|
|
16
|
-
static role: string;
|
|
17
|
-
static contextType: React.Context<{
|
|
18
|
-
transitionTimer: import("victory-core").Timer;
|
|
19
|
-
animationTimer: import("victory-core").Timer;
|
|
20
|
-
}>;
|
|
21
|
-
static defaultProps: {
|
|
22
|
-
groupComponent: JSX.Element;
|
|
23
|
-
};
|
|
24
|
-
getScopedEvents: any;
|
|
25
|
-
getEventState: any;
|
|
26
|
-
baseProps: any;
|
|
27
|
-
sharedEventsCache: any;
|
|
28
|
-
globalEvents: any;
|
|
29
|
-
prevGlobalEventKeys: any;
|
|
30
|
-
boundGlobalEvents: any;
|
|
31
|
-
constructor(props: VictorySharedEventsProps);
|
|
32
|
-
shouldComponentUpdate(nextProps: any): boolean;
|
|
33
|
-
componentDidMount(): void;
|
|
34
|
-
componentDidUpdate(): void;
|
|
35
|
-
componentWillUnmount(): void;
|
|
36
|
-
addGlobalListener(key: any): void;
|
|
37
|
-
removeGlobalListener(key: any): void;
|
|
38
|
-
getAllEvents(props: any): any;
|
|
39
|
-
applyExternalMutations(props: any, externalMutations: any): void;
|
|
40
|
-
getExternalMutations(props: any, baseProps: any): any;
|
|
41
|
-
cacheSharedEvents(name: any, sharedEvents: any, cacheValues: any): void;
|
|
42
|
-
getCachedSharedEvents(name: any, cacheValues: any): any;
|
|
43
|
-
getBaseProps(props: any): import("lodash").Dictionary<any> & {
|
|
44
|
-
parent: any;
|
|
45
|
-
};
|
|
46
|
-
getBasePropsFromChildren(childComponents: any): import("lodash").Dictionary<any>;
|
|
47
|
-
getNewChildren(props: any, baseProps: any): any;
|
|
48
|
-
getContainer(props: any, baseProps: any, events: any): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
49
|
-
render(): React.ReactElement;
|
|
50
|
-
}
|
|
1
|
+
/// <reference types="lodash" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { EventCallbackInterface, EventMixinCalculatedValues, EventPropTypeInterface, StringOrNumberOrCallback } from "victory-core";
|
|
4
|
+
export declare type VictorySharedEventsProps = {
|
|
5
|
+
children?: React.ReactElement | React.ReactElement[];
|
|
6
|
+
container?: React.ReactElement;
|
|
7
|
+
groupComponent?: React.ReactElement;
|
|
8
|
+
events?: EventPropTypeInterface<string, StringOrNumberOrCallback>[];
|
|
9
|
+
eventKey?: StringOrNumberOrCallback;
|
|
10
|
+
externalEventMutations?: EventCallbackInterface<string | string[], string | number | (string | number)[]>[];
|
|
11
|
+
};
|
|
12
|
+
export interface VictorySharedEvents extends EventMixinCalculatedValues {
|
|
13
|
+
}
|
|
14
|
+
export declare class VictorySharedEvents extends React.Component<VictorySharedEventsProps> {
|
|
15
|
+
static displayName: string;
|
|
16
|
+
static role: string;
|
|
17
|
+
static contextType: React.Context<{
|
|
18
|
+
transitionTimer: import("victory-core").Timer;
|
|
19
|
+
animationTimer: import("victory-core").Timer;
|
|
20
|
+
}>;
|
|
21
|
+
static defaultProps: {
|
|
22
|
+
groupComponent: JSX.Element;
|
|
23
|
+
};
|
|
24
|
+
getScopedEvents: any;
|
|
25
|
+
getEventState: any;
|
|
26
|
+
baseProps: any;
|
|
27
|
+
sharedEventsCache: any;
|
|
28
|
+
globalEvents: any;
|
|
29
|
+
prevGlobalEventKeys: any;
|
|
30
|
+
boundGlobalEvents: any;
|
|
31
|
+
constructor(props: VictorySharedEventsProps);
|
|
32
|
+
shouldComponentUpdate(nextProps: any): boolean;
|
|
33
|
+
componentDidMount(): void;
|
|
34
|
+
componentDidUpdate(): void;
|
|
35
|
+
componentWillUnmount(): void;
|
|
36
|
+
addGlobalListener(key: any): void;
|
|
37
|
+
removeGlobalListener(key: any): void;
|
|
38
|
+
getAllEvents(props: any): any;
|
|
39
|
+
applyExternalMutations(props: any, externalMutations: any): void;
|
|
40
|
+
getExternalMutations(props: any, baseProps: any): any;
|
|
41
|
+
cacheSharedEvents(name: any, sharedEvents: any, cacheValues: any): void;
|
|
42
|
+
getCachedSharedEvents(name: any, cacheValues: any): any;
|
|
43
|
+
getBaseProps(props: any): import("lodash").Dictionary<any> & {
|
|
44
|
+
parent: any;
|
|
45
|
+
};
|
|
46
|
+
getBasePropsFromChildren(childComponents: any): import("lodash").Dictionary<any>;
|
|
47
|
+
getNewChildren(props: any, baseProps: any): any;
|
|
48
|
+
getContainer(props: any, baseProps: any, events: any): React.DetailedReactHTMLElement<any, HTMLElement>;
|
|
49
|
+
render(): React.ReactElement;
|
|
50
|
+
}
|
|
51
51
|
//# sourceMappingURL=victory-shared-events.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "victory-shared-events",
|
|
3
|
-
"version": "37.0.1
|
|
3
|
+
"version": "37.0.1",
|
|
4
4
|
"description": "Shared Event Helper for Victory",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"data visualization",
|
|
@@ -23,11 +23,14 @@
|
|
|
23
23
|
"json-stringify-safe": "^5.0.1",
|
|
24
24
|
"lodash": "^4.17.19",
|
|
25
25
|
"react-fast-compare": "^3.2.0",
|
|
26
|
-
"victory-core": "^37.0.1
|
|
26
|
+
"victory-core": "^37.0.1"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": ">=16.6.0"
|
|
30
30
|
},
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"provenance": true
|
|
33
|
+
},
|
|
31
34
|
"wireit": {
|
|
32
35
|
"### THESE WIREIT CONFIGS ARE GENERATED ####": {},
|
|
33
36
|
"### DO NOT MODIFY THESE MANUALLY ####": {},
|