victory-brush-container 36.9.0 → 36.9.1-next.0

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,5 +1,12 @@
1
1
  # victory-brush-container
2
2
 
3
+ ## 36.9.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - e693496b6: Fix victory-native component prop types
8
+ - victory-core@36.9.1-next.0
9
+
3
10
  ## 36.9.0
4
11
 
5
12
  ### Minor Changes
@@ -1,71 +1,71 @@
1
- /// <reference types="lodash" />
2
- export declare const BrushHelpers: {
3
- onMouseDown: (evt: any, targetProps: any) => {};
4
- onGlobalMouseUp: (evt: any, targetProps: any) => {};
5
- onGlobalMouseMove: import("lodash").DebouncedFunc<(evt: any, targetProps: any) => {}>;
6
- getDimension(props: any): any;
7
- withinBounds(point: any, bounds: any, padding?: any): boolean;
8
- getDomainBox(props: any, fullDomain: any, selectedDomain?: any): {
9
- x1: number;
10
- x2: number;
11
- y1: number;
12
- y2: number;
13
- };
14
- getHandles(props: any, domainBox: any): {
15
- left: false | {
16
- x1: number;
17
- x2: number;
18
- y1: any;
19
- y2: any;
20
- };
21
- right: false | {
22
- x1: number;
23
- x2: number;
24
- y1: any;
25
- y2: any;
26
- };
27
- top: false | {
28
- x1: any;
29
- x2: any;
30
- y1: number;
31
- y2: number;
32
- };
33
- bottom: false | {
34
- x1: any;
35
- x2: any;
36
- y1: number;
37
- y2: number;
38
- };
39
- };
40
- getActiveHandles(point: any, props: any, domainBox: any): 0 | string[];
41
- getResizeMutation(box: any, handles: any): any;
42
- getMinimumDomain(): {
43
- x: number[];
44
- y: number[];
45
- };
46
- getDefaultBrushArea(targetProps: any, cachedDomain: any, evt: any): any;
47
- getSelectionMutation(point: any, box: any, brushDimension: any): {
48
- x1: any;
49
- y1: any;
50
- x2: any;
51
- y2: any;
52
- };
53
- panBox(props: any, point: any): {
54
- x1: number;
55
- x2: number;
56
- y1: number;
57
- y2: number;
58
- };
59
- constrainBox(box: any, fullDomainBox: any): {
60
- x1: number;
61
- y1: number;
62
- x2: number;
63
- y2: number;
64
- };
65
- constrainPoint(point: any, fullDomainBox: any): {
66
- x: number;
67
- y: number;
68
- };
69
- hasMoved(props: any): boolean;
70
- };
1
+ /// <reference types="lodash" />
2
+ export declare const BrushHelpers: {
3
+ onMouseDown: (evt: any, targetProps: any) => {};
4
+ onGlobalMouseUp: (evt: any, targetProps: any) => {};
5
+ onGlobalMouseMove: import("lodash").DebouncedFunc<(evt: any, targetProps: any) => {}>;
6
+ getDimension(props: any): any;
7
+ withinBounds(point: any, bounds: any, padding?: any): boolean;
8
+ getDomainBox(props: any, fullDomain: any, selectedDomain?: any): {
9
+ x1: number;
10
+ x2: number;
11
+ y1: number;
12
+ y2: number;
13
+ };
14
+ getHandles(props: any, domainBox: any): {
15
+ left: false | {
16
+ x1: number;
17
+ x2: number;
18
+ y1: any;
19
+ y2: any;
20
+ };
21
+ right: false | {
22
+ x1: number;
23
+ x2: number;
24
+ y1: any;
25
+ y2: any;
26
+ };
27
+ top: false | {
28
+ x1: any;
29
+ x2: any;
30
+ y1: number;
31
+ y2: number;
32
+ };
33
+ bottom: false | {
34
+ x1: any;
35
+ x2: any;
36
+ y1: number;
37
+ y2: number;
38
+ };
39
+ };
40
+ getActiveHandles(point: any, props: any, domainBox: any): 0 | string[];
41
+ getResizeMutation(box: any, handles: any): any;
42
+ getMinimumDomain(): {
43
+ x: number[];
44
+ y: number[];
45
+ };
46
+ getDefaultBrushArea(targetProps: any, cachedDomain: any, evt: any): any;
47
+ getSelectionMutation(point: any, box: any, brushDimension: any): {
48
+ x1: any;
49
+ y1: any;
50
+ x2: any;
51
+ y2: any;
52
+ };
53
+ panBox(props: any, point: any): {
54
+ x1: number;
55
+ x2: number;
56
+ y1: number;
57
+ y2: number;
58
+ };
59
+ constrainBox(box: any, fullDomainBox: any): {
60
+ x1: number;
61
+ y1: number;
62
+ x2: number;
63
+ y2: number;
64
+ };
65
+ constrainPoint(point: any, fullDomainBox: any): {
66
+ x: number;
67
+ y: number;
68
+ };
69
+ hasMoved(props: any): boolean;
70
+ };
71
71
  //# sourceMappingURL=brush-helpers.d.ts.map
package/es/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from "./victory-brush-container";
2
- export * from "./brush-helpers";
1
+ export * from "./victory-brush-container";
2
+ export * from "./brush-helpers";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,205 +1,204 @@
1
- import React from "react";
2
- import { VictoryContainer, DomainTuple, VictoryContainerProps } from "victory-core";
3
- export interface VictoryBrushContainerProps extends VictoryContainerProps {
4
- allowDrag?: boolean;
5
- allowDraw?: boolean;
6
- allowResize?: boolean;
7
- brushComponent?: React.ReactElement;
8
- brushDimension?: "x" | "y";
9
- brushDomain?: {
10
- x?: DomainTuple;
11
- y?: DomainTuple;
12
- };
13
- brushStyle?: React.CSSProperties;
14
- defaultBrushArea?: "all" | "none" | "disable" | "move";
15
- disable?: boolean;
16
- handleComponent?: React.ReactElement;
17
- handleStyle?: React.CSSProperties;
18
- handleWidth?: number;
19
- onBrushCleared?: (domain: {
20
- x: DomainTuple;
21
- y: DomainTuple;
22
- }, props: VictoryBrushContainerProps) => void;
23
- onBrushDomainChange?: (domain: {
24
- x: DomainTuple;
25
- y: DomainTuple;
26
- }, props: VictoryBrushContainerProps) => void;
27
- onBrushDomainChangeEnd?: (domain: {
28
- x: DomainTuple;
29
- y: DomainTuple;
30
- }, props: VictoryBrushContainerProps) => void;
31
- }
32
- declare type Constructor = new (...args: any[]) => React.Component;
33
- export declare const brushContainerMixin: <TBase extends Constructor>(base: TBase) => {
34
- new (...args: any[]): {
35
- getSelectBox(props: any, coordinates: any): React.DetailedReactHTMLElement<{
36
- key: string;
37
- width: number;
38
- height: number;
39
- x: number;
40
- y: number;
41
- cursor: string;
42
- style: any;
43
- }, HTMLElement> | null;
44
- getCursorPointers(props: any): {
45
- yProps: string;
46
- xProps: string;
47
- };
48
- getHandles(props: any, domain: any): React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | null;
49
- getRect(props: any): (React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | React.DetailedReactHTMLElement<{
50
- key: string;
51
- width: number;
52
- height: number;
53
- x: number;
54
- y: number;
55
- cursor: string;
56
- style: any;
57
- }, HTMLElement> | null)[];
58
- getChildren(props: any): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | null)[];
59
- context: unknown;
60
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
61
- forceUpdate(callback?: (() => void) | undefined): void;
62
- render(): React.ReactNode;
63
- readonly props: Readonly<{}>;
64
- state: Readonly<{}>;
65
- refs: {
66
- [key: string]: React.ReactInstance;
67
- };
68
- componentDidMount?(): void;
69
- shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
70
- componentWillUnmount?(): void;
71
- componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
72
- getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
73
- componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
74
- componentWillMount?(): void;
75
- UNSAFE_componentWillMount?(): void;
76
- componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
77
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
78
- componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
79
- UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
80
- };
81
- displayName: string;
82
- defaultProps: {
83
- allowDrag: boolean;
84
- allowDraw: boolean;
85
- allowResize: boolean;
86
- brushComponent: JSX.Element;
87
- brushStyle: {
88
- stroke: string;
89
- fill: string;
90
- fillOpacity: number;
91
- };
92
- handleComponent: JSX.Element;
93
- handleStyle: {
94
- stroke: string;
95
- fill: string;
96
- };
97
- handleWidth: number;
98
- mouseMoveThreshold: number;
99
- className: string;
100
- portalComponent: JSX.Element;
101
- portalZIndex: number;
102
- responsive: boolean;
103
- role: string;
104
- };
105
- defaultEvents: (props: any) => {
106
- target: string;
107
- eventHandlers: {
108
- onMouseDown: (evt: any, targetProps: any) => {};
109
- onTouchStart: (evt: any, targetProps: any) => {};
110
- onGlobalMouseMove: (evt: any, targetProps: any) => {} | undefined;
111
- onGlobalTouchMove: (evt: any, targetProps: any) => {} | undefined;
112
- onGlobalMouseUp: (evt: any, targetProps: any) => {};
113
- onGlobalTouchEnd: (evt: any, targetProps: any) => {};
114
- onGlobalTouchCancel: (evt: any, targetProps: any) => {};
115
- };
116
- }[];
117
- } & TBase;
118
- export declare const VictoryBrushContainer: {
119
- new (...args: any[]): {
120
- getSelectBox(props: any, coordinates: any): React.DetailedReactHTMLElement<{
121
- key: string;
122
- width: number;
123
- height: number;
124
- x: number;
125
- y: number;
126
- cursor: string;
127
- style: any;
128
- }, HTMLElement> | null;
129
- getCursorPointers(props: any): {
130
- yProps: string;
131
- xProps: string;
132
- };
133
- getHandles(props: any, domain: any): React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | null;
134
- getRect(props: any): (React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | React.DetailedReactHTMLElement<{
135
- key: string;
136
- width: number;
137
- height: number;
138
- x: number;
139
- y: number;
140
- cursor: string;
141
- style: any;
142
- }, HTMLElement> | null)[];
143
- getChildren(props: any): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | null)[];
144
- context: unknown;
145
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
146
- forceUpdate(callback?: (() => void) | undefined): void;
147
- render(): React.ReactNode;
148
- readonly props: Readonly<{}>;
149
- state: Readonly<{}>;
150
- refs: {
151
- [key: string]: React.ReactInstance;
152
- };
153
- componentDidMount?(): void;
154
- shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
155
- componentWillUnmount?(): void;
156
- componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
157
- getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
158
- componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
159
- componentWillMount?(): void;
160
- UNSAFE_componentWillMount?(): void;
161
- componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
162
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
163
- componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
164
- UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
165
- };
166
- displayName: string;
167
- defaultProps: {
168
- allowDrag: boolean;
169
- allowDraw: boolean;
170
- allowResize: boolean;
171
- brushComponent: JSX.Element;
172
- brushStyle: {
173
- stroke: string;
174
- fill: string;
175
- fillOpacity: number;
176
- };
177
- handleComponent: JSX.Element;
178
- handleStyle: {
179
- stroke: string;
180
- fill: string;
181
- };
182
- handleWidth: number;
183
- mouseMoveThreshold: number;
184
- className: string;
185
- portalComponent: JSX.Element;
186
- portalZIndex: number;
187
- responsive: boolean;
188
- role: string;
189
- };
190
- defaultEvents: (props: any) => {
191
- target: string;
192
- eventHandlers: {
193
- onMouseDown: (evt: any, targetProps: any) => {};
194
- onTouchStart: (evt: any, targetProps: any) => {};
195
- onGlobalMouseMove: (evt: any, targetProps: any) => {} | undefined;
196
- onGlobalTouchMove: (evt: any, targetProps: any) => {} | undefined;
197
- onGlobalMouseUp: (evt: any, targetProps: any) => {};
198
- onGlobalTouchEnd: (evt: any, targetProps: any) => {};
199
- onGlobalTouchCancel: (evt: any, targetProps: any) => {};
200
- };
201
- }[];
202
- } & typeof VictoryContainer;
203
- export declare type VictoryBrushContainer = typeof VictoryBrushContainer;
204
- export {};
1
+ import React from "react";
2
+ import { VictoryContainer, DomainTuple, VictoryContainerProps } from "victory-core";
3
+ export interface VictoryBrushContainerProps extends VictoryContainerProps {
4
+ allowDrag?: boolean;
5
+ allowDraw?: boolean;
6
+ allowResize?: boolean;
7
+ brushComponent?: React.ReactElement;
8
+ brushDimension?: "x" | "y";
9
+ brushDomain?: {
10
+ x?: DomainTuple;
11
+ y?: DomainTuple;
12
+ };
13
+ brushStyle?: React.CSSProperties;
14
+ defaultBrushArea?: "all" | "none" | "disable" | "move";
15
+ disable?: boolean;
16
+ handleComponent?: React.ReactElement;
17
+ handleStyle?: React.CSSProperties;
18
+ handleWidth?: number;
19
+ onBrushCleared?: (domain: {
20
+ x: DomainTuple;
21
+ y: DomainTuple;
22
+ }, props: VictoryBrushContainerProps) => void;
23
+ onBrushDomainChange?: (domain: {
24
+ x: DomainTuple;
25
+ y: DomainTuple;
26
+ }, props: VictoryBrushContainerProps) => void;
27
+ onBrushDomainChangeEnd?: (domain: {
28
+ x: DomainTuple;
29
+ y: DomainTuple;
30
+ }, props: VictoryBrushContainerProps) => void;
31
+ }
32
+ declare type Constructor = new (...args: any[]) => React.Component;
33
+ export declare const brushContainerMixin: <TBase extends Constructor>(base: TBase) => {
34
+ new (...args: any[]): {
35
+ getSelectBox(props: any, coordinates: any): React.DetailedReactHTMLElement<{
36
+ key: string;
37
+ width: number;
38
+ height: number;
39
+ x: number;
40
+ y: number;
41
+ cursor: string;
42
+ style: any;
43
+ }, HTMLElement> | null;
44
+ getCursorPointers(props: any): {
45
+ yProps: string;
46
+ xProps: string;
47
+ };
48
+ getHandles(props: any, domain: any): React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | null;
49
+ getRect(props: any): (React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | React.DetailedReactHTMLElement<{
50
+ key: string;
51
+ width: number;
52
+ height: number;
53
+ x: number;
54
+ y: number;
55
+ cursor: string;
56
+ style: any;
57
+ }, HTMLElement> | null)[];
58
+ getChildren(props: any): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | null)[];
59
+ context: unknown;
60
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
61
+ forceUpdate(callback?: (() => void) | undefined): void;
62
+ render(): React.ReactNode;
63
+ readonly props: Readonly<{}>;
64
+ state: Readonly<{}>;
65
+ refs: {
66
+ [key: string]: React.ReactInstance;
67
+ };
68
+ componentDidMount?(): void;
69
+ shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
70
+ componentWillUnmount?(): void;
71
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
72
+ getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
73
+ componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
74
+ componentWillMount?(): void;
75
+ UNSAFE_componentWillMount?(): void;
76
+ componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
77
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
78
+ componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
79
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
80
+ };
81
+ displayName: string;
82
+ defaultProps: {
83
+ allowDrag: boolean;
84
+ allowDraw: boolean;
85
+ allowResize: boolean;
86
+ brushComponent: JSX.Element;
87
+ brushStyle: {
88
+ stroke: string;
89
+ fill: string;
90
+ fillOpacity: number;
91
+ };
92
+ handleComponent: JSX.Element;
93
+ handleStyle: {
94
+ stroke: string;
95
+ fill: string;
96
+ };
97
+ handleWidth: number;
98
+ mouseMoveThreshold: number;
99
+ className: string;
100
+ portalComponent: JSX.Element;
101
+ portalZIndex: number;
102
+ responsive: boolean;
103
+ role: string;
104
+ };
105
+ defaultEvents: (props: any) => {
106
+ target: string;
107
+ eventHandlers: {
108
+ onMouseDown: (evt: any, targetProps: any) => {};
109
+ onTouchStart: (evt: any, targetProps: any) => {};
110
+ onGlobalMouseMove: (evt: any, targetProps: any) => {} | undefined;
111
+ onGlobalTouchMove: (evt: any, targetProps: any) => {} | undefined;
112
+ onGlobalMouseUp: (evt: any, targetProps: any) => {};
113
+ onGlobalTouchEnd: (evt: any, targetProps: any) => {};
114
+ onGlobalTouchCancel: (evt: any, targetProps: any) => {};
115
+ };
116
+ }[];
117
+ } & TBase;
118
+ export declare const VictoryBrushContainer: {
119
+ new (...args: any[]): {
120
+ getSelectBox(props: any, coordinates: any): React.DetailedReactHTMLElement<{
121
+ key: string;
122
+ width: number;
123
+ height: number;
124
+ x: number;
125
+ y: number;
126
+ cursor: string;
127
+ style: any;
128
+ }, HTMLElement> | null;
129
+ getCursorPointers(props: any): {
130
+ yProps: string;
131
+ xProps: string;
132
+ };
133
+ getHandles(props: any, domain: any): React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | null;
134
+ getRect(props: any): (React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | React.DetailedReactHTMLElement<{
135
+ key: string;
136
+ width: number;
137
+ height: number;
138
+ x: number;
139
+ y: number;
140
+ cursor: string;
141
+ style: any;
142
+ }, HTMLElement> | null)[];
143
+ getChildren(props: any): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | null)[];
144
+ context: unknown;
145
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
146
+ forceUpdate(callback?: (() => void) | undefined): void;
147
+ render(): React.ReactNode;
148
+ readonly props: Readonly<{}>;
149
+ state: Readonly<{}>;
150
+ refs: {
151
+ [key: string]: React.ReactInstance;
152
+ };
153
+ componentDidMount?(): void;
154
+ shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
155
+ componentWillUnmount?(): void;
156
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
157
+ getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
158
+ componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
159
+ componentWillMount?(): void;
160
+ UNSAFE_componentWillMount?(): void;
161
+ componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
162
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
163
+ componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
164
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
165
+ };
166
+ displayName: string;
167
+ defaultProps: {
168
+ allowDrag: boolean;
169
+ allowDraw: boolean;
170
+ allowResize: boolean;
171
+ brushComponent: JSX.Element;
172
+ brushStyle: {
173
+ stroke: string;
174
+ fill: string;
175
+ fillOpacity: number;
176
+ };
177
+ handleComponent: JSX.Element;
178
+ handleStyle: {
179
+ stroke: string;
180
+ fill: string;
181
+ };
182
+ handleWidth: number;
183
+ mouseMoveThreshold: number;
184
+ className: string;
185
+ portalComponent: JSX.Element;
186
+ portalZIndex: number;
187
+ responsive: boolean;
188
+ role: string;
189
+ };
190
+ defaultEvents: (props: any) => {
191
+ target: string;
192
+ eventHandlers: {
193
+ onMouseDown: (evt: any, targetProps: any) => {};
194
+ onTouchStart: (evt: any, targetProps: any) => {};
195
+ onGlobalMouseMove: (evt: any, targetProps: any) => {} | undefined;
196
+ onGlobalTouchMove: (evt: any, targetProps: any) => {} | undefined;
197
+ onGlobalMouseUp: (evt: any, targetProps: any) => {};
198
+ onGlobalTouchEnd: (evt: any, targetProps: any) => {};
199
+ onGlobalTouchCancel: (evt: any, targetProps: any) => {};
200
+ };
201
+ }[];
202
+ } & typeof VictoryContainer;
203
+ export {};
205
204
  //# sourceMappingURL=victory-brush-container.d.ts.map
@@ -1,71 +1,71 @@
1
- /// <reference types="lodash" />
2
- export declare const BrushHelpers: {
3
- onMouseDown: (evt: any, targetProps: any) => {};
4
- onGlobalMouseUp: (evt: any, targetProps: any) => {};
5
- onGlobalMouseMove: import("lodash").DebouncedFunc<(evt: any, targetProps: any) => {}>;
6
- getDimension(props: any): any;
7
- withinBounds(point: any, bounds: any, padding?: any): boolean;
8
- getDomainBox(props: any, fullDomain: any, selectedDomain?: any): {
9
- x1: number;
10
- x2: number;
11
- y1: number;
12
- y2: number;
13
- };
14
- getHandles(props: any, domainBox: any): {
15
- left: false | {
16
- x1: number;
17
- x2: number;
18
- y1: any;
19
- y2: any;
20
- };
21
- right: false | {
22
- x1: number;
23
- x2: number;
24
- y1: any;
25
- y2: any;
26
- };
27
- top: false | {
28
- x1: any;
29
- x2: any;
30
- y1: number;
31
- y2: number;
32
- };
33
- bottom: false | {
34
- x1: any;
35
- x2: any;
36
- y1: number;
37
- y2: number;
38
- };
39
- };
40
- getActiveHandles(point: any, props: any, domainBox: any): 0 | string[];
41
- getResizeMutation(box: any, handles: any): any;
42
- getMinimumDomain(): {
43
- x: number[];
44
- y: number[];
45
- };
46
- getDefaultBrushArea(targetProps: any, cachedDomain: any, evt: any): any;
47
- getSelectionMutation(point: any, box: any, brushDimension: any): {
48
- x1: any;
49
- y1: any;
50
- x2: any;
51
- y2: any;
52
- };
53
- panBox(props: any, point: any): {
54
- x1: number;
55
- x2: number;
56
- y1: number;
57
- y2: number;
58
- };
59
- constrainBox(box: any, fullDomainBox: any): {
60
- x1: number;
61
- y1: number;
62
- x2: number;
63
- y2: number;
64
- };
65
- constrainPoint(point: any, fullDomainBox: any): {
66
- x: number;
67
- y: number;
68
- };
69
- hasMoved(props: any): boolean;
70
- };
1
+ /// <reference types="lodash" />
2
+ export declare const BrushHelpers: {
3
+ onMouseDown: (evt: any, targetProps: any) => {};
4
+ onGlobalMouseUp: (evt: any, targetProps: any) => {};
5
+ onGlobalMouseMove: import("lodash").DebouncedFunc<(evt: any, targetProps: any) => {}>;
6
+ getDimension(props: any): any;
7
+ withinBounds(point: any, bounds: any, padding?: any): boolean;
8
+ getDomainBox(props: any, fullDomain: any, selectedDomain?: any): {
9
+ x1: number;
10
+ x2: number;
11
+ y1: number;
12
+ y2: number;
13
+ };
14
+ getHandles(props: any, domainBox: any): {
15
+ left: false | {
16
+ x1: number;
17
+ x2: number;
18
+ y1: any;
19
+ y2: any;
20
+ };
21
+ right: false | {
22
+ x1: number;
23
+ x2: number;
24
+ y1: any;
25
+ y2: any;
26
+ };
27
+ top: false | {
28
+ x1: any;
29
+ x2: any;
30
+ y1: number;
31
+ y2: number;
32
+ };
33
+ bottom: false | {
34
+ x1: any;
35
+ x2: any;
36
+ y1: number;
37
+ y2: number;
38
+ };
39
+ };
40
+ getActiveHandles(point: any, props: any, domainBox: any): 0 | string[];
41
+ getResizeMutation(box: any, handles: any): any;
42
+ getMinimumDomain(): {
43
+ x: number[];
44
+ y: number[];
45
+ };
46
+ getDefaultBrushArea(targetProps: any, cachedDomain: any, evt: any): any;
47
+ getSelectionMutation(point: any, box: any, brushDimension: any): {
48
+ x1: any;
49
+ y1: any;
50
+ x2: any;
51
+ y2: any;
52
+ };
53
+ panBox(props: any, point: any): {
54
+ x1: number;
55
+ x2: number;
56
+ y1: number;
57
+ y2: number;
58
+ };
59
+ constrainBox(box: any, fullDomainBox: any): {
60
+ x1: number;
61
+ y1: number;
62
+ x2: number;
63
+ y2: number;
64
+ };
65
+ constrainPoint(point: any, fullDomainBox: any): {
66
+ x: number;
67
+ y: number;
68
+ };
69
+ hasMoved(props: any): boolean;
70
+ };
71
71
  //# sourceMappingURL=brush-helpers.d.ts.map
package/lib/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from "./victory-brush-container";
2
- export * from "./brush-helpers";
1
+ export * from "./victory-brush-container";
2
+ export * from "./brush-helpers";
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,205 +1,204 @@
1
- import React from "react";
2
- import { VictoryContainer, DomainTuple, VictoryContainerProps } from "victory-core";
3
- export interface VictoryBrushContainerProps extends VictoryContainerProps {
4
- allowDrag?: boolean;
5
- allowDraw?: boolean;
6
- allowResize?: boolean;
7
- brushComponent?: React.ReactElement;
8
- brushDimension?: "x" | "y";
9
- brushDomain?: {
10
- x?: DomainTuple;
11
- y?: DomainTuple;
12
- };
13
- brushStyle?: React.CSSProperties;
14
- defaultBrushArea?: "all" | "none" | "disable" | "move";
15
- disable?: boolean;
16
- handleComponent?: React.ReactElement;
17
- handleStyle?: React.CSSProperties;
18
- handleWidth?: number;
19
- onBrushCleared?: (domain: {
20
- x: DomainTuple;
21
- y: DomainTuple;
22
- }, props: VictoryBrushContainerProps) => void;
23
- onBrushDomainChange?: (domain: {
24
- x: DomainTuple;
25
- y: DomainTuple;
26
- }, props: VictoryBrushContainerProps) => void;
27
- onBrushDomainChangeEnd?: (domain: {
28
- x: DomainTuple;
29
- y: DomainTuple;
30
- }, props: VictoryBrushContainerProps) => void;
31
- }
32
- declare type Constructor = new (...args: any[]) => React.Component;
33
- export declare const brushContainerMixin: <TBase extends Constructor>(base: TBase) => {
34
- new (...args: any[]): {
35
- getSelectBox(props: any, coordinates: any): React.DetailedReactHTMLElement<{
36
- key: string;
37
- width: number;
38
- height: number;
39
- x: number;
40
- y: number;
41
- cursor: string;
42
- style: any;
43
- }, HTMLElement> | null;
44
- getCursorPointers(props: any): {
45
- yProps: string;
46
- xProps: string;
47
- };
48
- getHandles(props: any, domain: any): React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | null;
49
- getRect(props: any): (React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | React.DetailedReactHTMLElement<{
50
- key: string;
51
- width: number;
52
- height: number;
53
- x: number;
54
- y: number;
55
- cursor: string;
56
- style: any;
57
- }, HTMLElement> | null)[];
58
- getChildren(props: any): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | null)[];
59
- context: unknown;
60
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
61
- forceUpdate(callback?: (() => void) | undefined): void;
62
- render(): React.ReactNode;
63
- readonly props: Readonly<{}>;
64
- state: Readonly<{}>;
65
- refs: {
66
- [key: string]: React.ReactInstance;
67
- };
68
- componentDidMount?(): void;
69
- shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
70
- componentWillUnmount?(): void;
71
- componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
72
- getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
73
- componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
74
- componentWillMount?(): void;
75
- UNSAFE_componentWillMount?(): void;
76
- componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
77
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
78
- componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
79
- UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
80
- };
81
- displayName: string;
82
- defaultProps: {
83
- allowDrag: boolean;
84
- allowDraw: boolean;
85
- allowResize: boolean;
86
- brushComponent: JSX.Element;
87
- brushStyle: {
88
- stroke: string;
89
- fill: string;
90
- fillOpacity: number;
91
- };
92
- handleComponent: JSX.Element;
93
- handleStyle: {
94
- stroke: string;
95
- fill: string;
96
- };
97
- handleWidth: number;
98
- mouseMoveThreshold: number;
99
- className: string;
100
- portalComponent: JSX.Element;
101
- portalZIndex: number;
102
- responsive: boolean;
103
- role: string;
104
- };
105
- defaultEvents: (props: any) => {
106
- target: string;
107
- eventHandlers: {
108
- onMouseDown: (evt: any, targetProps: any) => {};
109
- onTouchStart: (evt: any, targetProps: any) => {};
110
- onGlobalMouseMove: (evt: any, targetProps: any) => {} | undefined;
111
- onGlobalTouchMove: (evt: any, targetProps: any) => {} | undefined;
112
- onGlobalMouseUp: (evt: any, targetProps: any) => {};
113
- onGlobalTouchEnd: (evt: any, targetProps: any) => {};
114
- onGlobalTouchCancel: (evt: any, targetProps: any) => {};
115
- };
116
- }[];
117
- } & TBase;
118
- export declare const VictoryBrushContainer: {
119
- new (...args: any[]): {
120
- getSelectBox(props: any, coordinates: any): React.DetailedReactHTMLElement<{
121
- key: string;
122
- width: number;
123
- height: number;
124
- x: number;
125
- y: number;
126
- cursor: string;
127
- style: any;
128
- }, HTMLElement> | null;
129
- getCursorPointers(props: any): {
130
- yProps: string;
131
- xProps: string;
132
- };
133
- getHandles(props: any, domain: any): React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | null;
134
- getRect(props: any): (React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | React.DetailedReactHTMLElement<{
135
- key: string;
136
- width: number;
137
- height: number;
138
- x: number;
139
- y: number;
140
- cursor: string;
141
- style: any;
142
- }, HTMLElement> | null)[];
143
- getChildren(props: any): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | null)[];
144
- context: unknown;
145
- setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
146
- forceUpdate(callback?: (() => void) | undefined): void;
147
- render(): React.ReactNode;
148
- readonly props: Readonly<{}>;
149
- state: Readonly<{}>;
150
- refs: {
151
- [key: string]: React.ReactInstance;
152
- };
153
- componentDidMount?(): void;
154
- shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
155
- componentWillUnmount?(): void;
156
- componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
157
- getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
158
- componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
159
- componentWillMount?(): void;
160
- UNSAFE_componentWillMount?(): void;
161
- componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
162
- UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
163
- componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
164
- UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
165
- };
166
- displayName: string;
167
- defaultProps: {
168
- allowDrag: boolean;
169
- allowDraw: boolean;
170
- allowResize: boolean;
171
- brushComponent: JSX.Element;
172
- brushStyle: {
173
- stroke: string;
174
- fill: string;
175
- fillOpacity: number;
176
- };
177
- handleComponent: JSX.Element;
178
- handleStyle: {
179
- stroke: string;
180
- fill: string;
181
- };
182
- handleWidth: number;
183
- mouseMoveThreshold: number;
184
- className: string;
185
- portalComponent: JSX.Element;
186
- portalZIndex: number;
187
- responsive: boolean;
188
- role: string;
189
- };
190
- defaultEvents: (props: any) => {
191
- target: string;
192
- eventHandlers: {
193
- onMouseDown: (evt: any, targetProps: any) => {};
194
- onTouchStart: (evt: any, targetProps: any) => {};
195
- onGlobalMouseMove: (evt: any, targetProps: any) => {} | undefined;
196
- onGlobalTouchMove: (evt: any, targetProps: any) => {} | undefined;
197
- onGlobalMouseUp: (evt: any, targetProps: any) => {};
198
- onGlobalTouchEnd: (evt: any, targetProps: any) => {};
199
- onGlobalTouchCancel: (evt: any, targetProps: any) => {};
200
- };
201
- }[];
202
- } & typeof VictoryContainer;
203
- export declare type VictoryBrushContainer = typeof VictoryBrushContainer;
204
- export {};
1
+ import React from "react";
2
+ import { VictoryContainer, DomainTuple, VictoryContainerProps } from "victory-core";
3
+ export interface VictoryBrushContainerProps extends VictoryContainerProps {
4
+ allowDrag?: boolean;
5
+ allowDraw?: boolean;
6
+ allowResize?: boolean;
7
+ brushComponent?: React.ReactElement;
8
+ brushDimension?: "x" | "y";
9
+ brushDomain?: {
10
+ x?: DomainTuple;
11
+ y?: DomainTuple;
12
+ };
13
+ brushStyle?: React.CSSProperties;
14
+ defaultBrushArea?: "all" | "none" | "disable" | "move";
15
+ disable?: boolean;
16
+ handleComponent?: React.ReactElement;
17
+ handleStyle?: React.CSSProperties;
18
+ handleWidth?: number;
19
+ onBrushCleared?: (domain: {
20
+ x: DomainTuple;
21
+ y: DomainTuple;
22
+ }, props: VictoryBrushContainerProps) => void;
23
+ onBrushDomainChange?: (domain: {
24
+ x: DomainTuple;
25
+ y: DomainTuple;
26
+ }, props: VictoryBrushContainerProps) => void;
27
+ onBrushDomainChangeEnd?: (domain: {
28
+ x: DomainTuple;
29
+ y: DomainTuple;
30
+ }, props: VictoryBrushContainerProps) => void;
31
+ }
32
+ declare type Constructor = new (...args: any[]) => React.Component;
33
+ export declare const brushContainerMixin: <TBase extends Constructor>(base: TBase) => {
34
+ new (...args: any[]): {
35
+ getSelectBox(props: any, coordinates: any): React.DetailedReactHTMLElement<{
36
+ key: string;
37
+ width: number;
38
+ height: number;
39
+ x: number;
40
+ y: number;
41
+ cursor: string;
42
+ style: any;
43
+ }, HTMLElement> | null;
44
+ getCursorPointers(props: any): {
45
+ yProps: string;
46
+ xProps: string;
47
+ };
48
+ getHandles(props: any, domain: any): React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | null;
49
+ getRect(props: any): (React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | React.DetailedReactHTMLElement<{
50
+ key: string;
51
+ width: number;
52
+ height: number;
53
+ x: number;
54
+ y: number;
55
+ cursor: string;
56
+ style: any;
57
+ }, HTMLElement> | null)[];
58
+ getChildren(props: any): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | null)[];
59
+ context: unknown;
60
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
61
+ forceUpdate(callback?: (() => void) | undefined): void;
62
+ render(): React.ReactNode;
63
+ readonly props: Readonly<{}>;
64
+ state: Readonly<{}>;
65
+ refs: {
66
+ [key: string]: React.ReactInstance;
67
+ };
68
+ componentDidMount?(): void;
69
+ shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
70
+ componentWillUnmount?(): void;
71
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
72
+ getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
73
+ componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
74
+ componentWillMount?(): void;
75
+ UNSAFE_componentWillMount?(): void;
76
+ componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
77
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
78
+ componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
79
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
80
+ };
81
+ displayName: string;
82
+ defaultProps: {
83
+ allowDrag: boolean;
84
+ allowDraw: boolean;
85
+ allowResize: boolean;
86
+ brushComponent: JSX.Element;
87
+ brushStyle: {
88
+ stroke: string;
89
+ fill: string;
90
+ fillOpacity: number;
91
+ };
92
+ handleComponent: JSX.Element;
93
+ handleStyle: {
94
+ stroke: string;
95
+ fill: string;
96
+ };
97
+ handleWidth: number;
98
+ mouseMoveThreshold: number;
99
+ className: string;
100
+ portalComponent: JSX.Element;
101
+ portalZIndex: number;
102
+ responsive: boolean;
103
+ role: string;
104
+ };
105
+ defaultEvents: (props: any) => {
106
+ target: string;
107
+ eventHandlers: {
108
+ onMouseDown: (evt: any, targetProps: any) => {};
109
+ onTouchStart: (evt: any, targetProps: any) => {};
110
+ onGlobalMouseMove: (evt: any, targetProps: any) => {} | undefined;
111
+ onGlobalTouchMove: (evt: any, targetProps: any) => {} | undefined;
112
+ onGlobalMouseUp: (evt: any, targetProps: any) => {};
113
+ onGlobalTouchEnd: (evt: any, targetProps: any) => {};
114
+ onGlobalTouchCancel: (evt: any, targetProps: any) => {};
115
+ };
116
+ }[];
117
+ } & TBase;
118
+ export declare const VictoryBrushContainer: {
119
+ new (...args: any[]): {
120
+ getSelectBox(props: any, coordinates: any): React.DetailedReactHTMLElement<{
121
+ key: string;
122
+ width: number;
123
+ height: number;
124
+ x: number;
125
+ y: number;
126
+ cursor: string;
127
+ style: any;
128
+ }, HTMLElement> | null;
129
+ getCursorPointers(props: any): {
130
+ yProps: string;
131
+ xProps: string;
132
+ };
133
+ getHandles(props: any, domain: any): React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | null;
134
+ getRect(props: any): (React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | React.DetailedReactHTMLElement<{
135
+ key: string;
136
+ width: number;
137
+ height: number;
138
+ x: number;
139
+ y: number;
140
+ cursor: string;
141
+ style: any;
142
+ }, HTMLElement> | null)[];
143
+ getChildren(props: any): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactFragment | null)[];
144
+ context: unknown;
145
+ setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
146
+ forceUpdate(callback?: (() => void) | undefined): void;
147
+ render(): React.ReactNode;
148
+ readonly props: Readonly<{}>;
149
+ state: Readonly<{}>;
150
+ refs: {
151
+ [key: string]: React.ReactInstance;
152
+ };
153
+ componentDidMount?(): void;
154
+ shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
155
+ componentWillUnmount?(): void;
156
+ componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
157
+ getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
158
+ componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
159
+ componentWillMount?(): void;
160
+ UNSAFE_componentWillMount?(): void;
161
+ componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
162
+ UNSAFE_componentWillReceiveProps?(nextProps: Readonly<{}>, nextContext: any): void;
163
+ componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
164
+ UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
165
+ };
166
+ displayName: string;
167
+ defaultProps: {
168
+ allowDrag: boolean;
169
+ allowDraw: boolean;
170
+ allowResize: boolean;
171
+ brushComponent: JSX.Element;
172
+ brushStyle: {
173
+ stroke: string;
174
+ fill: string;
175
+ fillOpacity: number;
176
+ };
177
+ handleComponent: JSX.Element;
178
+ handleStyle: {
179
+ stroke: string;
180
+ fill: string;
181
+ };
182
+ handleWidth: number;
183
+ mouseMoveThreshold: number;
184
+ className: string;
185
+ portalComponent: JSX.Element;
186
+ portalZIndex: number;
187
+ responsive: boolean;
188
+ role: string;
189
+ };
190
+ defaultEvents: (props: any) => {
191
+ target: string;
192
+ eventHandlers: {
193
+ onMouseDown: (evt: any, targetProps: any) => {};
194
+ onTouchStart: (evt: any, targetProps: any) => {};
195
+ onGlobalMouseMove: (evt: any, targetProps: any) => {} | undefined;
196
+ onGlobalTouchMove: (evt: any, targetProps: any) => {} | undefined;
197
+ onGlobalMouseUp: (evt: any, targetProps: any) => {};
198
+ onGlobalTouchEnd: (evt: any, targetProps: any) => {};
199
+ onGlobalTouchCancel: (evt: any, targetProps: any) => {};
200
+ };
201
+ }[];
202
+ } & typeof VictoryContainer;
203
+ export {};
205
204
  //# sourceMappingURL=victory-brush-container.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-brush-container",
3
- "version": "36.9.0",
3
+ "version": "36.9.1-next.0",
4
4
  "description": "Interactive Brush Component for Victory",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -22,16 +22,13 @@
22
22
  "dependencies": {
23
23
  "lodash": "^4.17.19",
24
24
  "react-fast-compare": "^3.2.0",
25
- "victory-core": "^36.9.0"
25
+ "victory-core": "^36.9.1-next.0"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=16.6.0"
29
29
  },
30
30
  "devDependencies": {
31
- "victory-brush-container": "*"
32
- },
33
- "publishConfig": {
34
- "provenance": true
31
+ "victory-brush-container": "36.9.1-next.0"
35
32
  },
36
33
  "wireit": {
37
34
  "### THESE WIREIT CONFIGS ARE GENERATED ####": {},
@@ -216,4 +216,3 @@ export const brushContainerMixin = <TBase extends Constructor>(base: TBase) =>
216
216
  };
217
217
 
218
218
  export const VictoryBrushContainer = brushContainerMixin(VictoryContainer);
219
- export type VictoryBrushContainer = typeof VictoryBrushContainer;