victory-brush-line 37.0.2 → 37.0.3-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-line
2
2
 
3
+ ## 37.0.3-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [65d02419f]
8
+ - victory-core@37.0.3-next.0
9
+
3
10
  ## 37.0.2
4
11
 
5
12
  ## 37.0.1
package/es/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./victory-brush-line";
1
+ export * from "./victory-brush-line";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,191 +1,191 @@
1
- import React from "react";
2
- import { DomainTuple, VictoryStyleObject } from "victory-core";
3
- export declare type VictoryBrushLineTargetType = "data" | "labels" | "parent";
4
- export interface VictoryBrushLineProps {
5
- allowDrag?: boolean;
6
- allowDraw?: boolean;
7
- allowResize?: boolean;
8
- brushAreaComponent?: React.ReactElement;
9
- brushAreaStyle?: VictoryStyleObject;
10
- brushAreaWidth?: number;
11
- brushComponent?: React.ReactElement;
12
- brushDomain?: DomainTuple;
13
- brushStyle?: VictoryStyleObject;
14
- brushWidth?: number;
15
- className?: string;
16
- dimension?: "x" | "y";
17
- events?: React.DOMAttributes<any>;
18
- disable?: boolean;
19
- groupComponent?: React.ReactElement;
20
- handleComponent?: React.ReactElement;
21
- handleStyle?: VictoryStyleObject;
22
- handleWidth?: number;
23
- id?: string | number;
24
- lineComponent?: React.ReactElement;
25
- name?: string;
26
- onBrushDomainChange?: (domain: DomainTuple, props?: VictoryBrushLineProps) => void;
27
- style?: VictoryStyleObject;
28
- type?: string;
29
- width?: number;
30
- }
31
- export declare class VictoryBrushLine<T extends VictoryBrushLineProps> extends React.Component<T> {
32
- static defaultProps: {
33
- allowDrag: boolean;
34
- allowDraw: boolean;
35
- allowResize: boolean;
36
- brushAreaComponent: JSX.Element;
37
- brushComponent: JSX.Element;
38
- groupComponent: JSX.Element;
39
- handleComponent: JSX.Element;
40
- handleWidth: number;
41
- lineComponent: JSX.Element;
42
- width: number;
43
- };
44
- static defaultEvents: (props: any) => {
45
- target: any;
46
- eventHandlers: {
47
- onMouseEnter: (evt: any, targetProps: any) => {
48
- mutation: () => {
49
- activeBrushes: {
50
- brushArea: boolean;
51
- brush: boolean;
52
- minHandle: boolean;
53
- maxHandle: boolean;
54
- };
55
- brushDomain: any;
56
- parentSVG: any;
57
- };
58
- }[];
59
- onMouseDown: (evt: any, targetProps: any) => {
60
- mutation: () => {
61
- parentSVG: any;
62
- isSelecting: boolean;
63
- activeHandle: any;
64
- brushDomain: any;
65
- startPosition: any;
66
- activeBrushes: any;
67
- };
68
- }[] | {
69
- mutation: () => {
70
- isPanning: any;
71
- startPosition: any;
72
- brushDomain: any;
73
- activeBrushes: any;
74
- parentSVG: any;
75
- };
76
- }[] | {
77
- mutation: () => {
78
- isSelecting: any;
79
- brushDomain: null;
80
- startPosition: any;
81
- activeBrushes: any;
82
- parentSVG: any;
83
- };
84
- }[];
85
- onMouseMove: (evt: any, targetProps: any) => {
86
- mutation: () => {
87
- activeBrushes: {
88
- brushArea: boolean;
89
- brush: boolean;
90
- minHandle: boolean;
91
- maxHandle: boolean;
92
- };
93
- brushDomain: any;
94
- parentSVG: any;
95
- };
96
- }[] | {
97
- mutation: () => {
98
- startPosition: any;
99
- isPanning: boolean;
100
- brushDomain: any[];
101
- activeBrushes: {
102
- brush: boolean;
103
- };
104
- parentSVG: any;
105
- };
106
- }[] | {
107
- mutation: () => {
108
- brushDomain: any;
109
- startPosition: any;
110
- isSelecting: any;
111
- activeHandle: any;
112
- parentSVG: any;
113
- activeBrushes: {
114
- brush: boolean;
115
- minHandle: boolean;
116
- maxHandle: boolean;
117
- };
118
- };
119
- }[];
120
- onMouseUp: (evt: any, targetProps: any) => {
121
- mutation: () => {
122
- isPanning: boolean;
123
- isSelecting: boolean;
124
- activeHandle: null;
125
- startPosition: null;
126
- brushDomain: any;
127
- activeBrushes: any;
128
- };
129
- }[];
130
- onMouseLeave: (evt: any, targetProps: any) => {
131
- mutation: () => {
132
- isPanning: boolean;
133
- isSelecting: boolean;
134
- activeHandle: null;
135
- startPosition: null;
136
- brushDomain: any;
137
- activeBrushes: {};
138
- };
139
- }[];
140
- };
141
- }[] | undefined;
142
- getRectDimensions(props: any, brushWidth: any, domain?: any): {
143
- x: number;
144
- y: number;
145
- width: number;
146
- height: number;
147
- };
148
- getHandleDimensions(props: any): {
149
- min: {
150
- x: number;
151
- y: number;
152
- width: any;
153
- height: any;
154
- };
155
- max: {
156
- x: number;
157
- y: number;
158
- width: any;
159
- height: any;
160
- };
161
- };
162
- getCursor(props: any): "ew-resize" | "ns-resize" | "move" | "crosshair";
163
- renderHandles(props: any): React.DetailedReactHTMLElement<{
164
- key: string;
165
- style: any;
166
- } & {
167
- x: number;
168
- y: number;
169
- width: any;
170
- height: any;
171
- }, HTMLElement>[] | null;
172
- renderBrush(props: any): React.DetailedReactHTMLElement<{
173
- style: any;
174
- } & {
175
- x: number;
176
- y: number;
177
- width: number;
178
- height: number;
179
- }, HTMLElement> | null;
180
- renderBrushArea(props: any): React.DetailedReactHTMLElement<{
181
- style: any;
182
- } & {
183
- x: number;
184
- y: number;
185
- width: number;
186
- height: number;
187
- }, HTMLElement>;
188
- renderLine(props: any): React.DetailedReactHTMLElement<Pick<any, "scale" | "active" | "x1" | "x2" | "y1" | "y2" | "datum" | "style">, HTMLElement>;
189
- render(): JSX.Element;
190
- }
1
+ import React from "react";
2
+ import { DomainTuple, VictoryStyleObject } from "victory-core";
3
+ export declare type VictoryBrushLineTargetType = "data" | "labels" | "parent";
4
+ export interface VictoryBrushLineProps {
5
+ allowDrag?: boolean;
6
+ allowDraw?: boolean;
7
+ allowResize?: boolean;
8
+ brushAreaComponent?: React.ReactElement;
9
+ brushAreaStyle?: VictoryStyleObject;
10
+ brushAreaWidth?: number;
11
+ brushComponent?: React.ReactElement;
12
+ brushDomain?: DomainTuple;
13
+ brushStyle?: VictoryStyleObject;
14
+ brushWidth?: number;
15
+ className?: string;
16
+ dimension?: "x" | "y";
17
+ events?: React.DOMAttributes<any>;
18
+ disable?: boolean;
19
+ groupComponent?: React.ReactElement;
20
+ handleComponent?: React.ReactElement;
21
+ handleStyle?: VictoryStyleObject;
22
+ handleWidth?: number;
23
+ id?: string | number;
24
+ lineComponent?: React.ReactElement;
25
+ name?: string;
26
+ onBrushDomainChange?: (domain: DomainTuple, props?: VictoryBrushLineProps) => void;
27
+ style?: VictoryStyleObject;
28
+ type?: string;
29
+ width?: number;
30
+ }
31
+ export declare class VictoryBrushLine<T extends VictoryBrushLineProps> extends React.Component<T> {
32
+ static defaultProps: {
33
+ allowDrag: boolean;
34
+ allowDraw: boolean;
35
+ allowResize: boolean;
36
+ brushAreaComponent: JSX.Element;
37
+ brushComponent: JSX.Element;
38
+ groupComponent: JSX.Element;
39
+ handleComponent: JSX.Element;
40
+ handleWidth: number;
41
+ lineComponent: JSX.Element;
42
+ width: number;
43
+ };
44
+ static defaultEvents: (props: any) => {
45
+ target: any;
46
+ eventHandlers: {
47
+ onMouseEnter: (evt: any, targetProps: any) => {
48
+ mutation: () => {
49
+ activeBrushes: {
50
+ brushArea: boolean;
51
+ brush: boolean;
52
+ minHandle: boolean;
53
+ maxHandle: boolean;
54
+ };
55
+ brushDomain: any;
56
+ parentSVG: any;
57
+ };
58
+ }[];
59
+ onMouseDown: (evt: any, targetProps: any) => {
60
+ mutation: () => {
61
+ parentSVG: any;
62
+ isSelecting: boolean;
63
+ activeHandle: any;
64
+ brushDomain: any;
65
+ startPosition: any;
66
+ activeBrushes: any;
67
+ };
68
+ }[] | {
69
+ mutation: () => {
70
+ isPanning: any;
71
+ startPosition: any;
72
+ brushDomain: any;
73
+ activeBrushes: any;
74
+ parentSVG: any;
75
+ };
76
+ }[] | {
77
+ mutation: () => {
78
+ isSelecting: any;
79
+ brushDomain: null;
80
+ startPosition: any;
81
+ activeBrushes: any;
82
+ parentSVG: any;
83
+ };
84
+ }[];
85
+ onMouseMove: (evt: any, targetProps: any) => {
86
+ mutation: () => {
87
+ activeBrushes: {
88
+ brushArea: boolean;
89
+ brush: boolean;
90
+ minHandle: boolean;
91
+ maxHandle: boolean;
92
+ };
93
+ brushDomain: any;
94
+ parentSVG: any;
95
+ };
96
+ }[] | {
97
+ mutation: () => {
98
+ startPosition: any;
99
+ isPanning: boolean;
100
+ brushDomain: any[];
101
+ activeBrushes: {
102
+ brush: boolean;
103
+ };
104
+ parentSVG: any;
105
+ };
106
+ }[] | {
107
+ mutation: () => {
108
+ brushDomain: any;
109
+ startPosition: any;
110
+ isSelecting: any;
111
+ activeHandle: any;
112
+ parentSVG: any;
113
+ activeBrushes: {
114
+ brush: boolean;
115
+ minHandle: boolean;
116
+ maxHandle: boolean;
117
+ };
118
+ };
119
+ }[];
120
+ onMouseUp: (evt: any, targetProps: any) => {
121
+ mutation: () => {
122
+ isPanning: boolean;
123
+ isSelecting: boolean;
124
+ activeHandle: null;
125
+ startPosition: null;
126
+ brushDomain: any;
127
+ activeBrushes: any;
128
+ };
129
+ }[];
130
+ onMouseLeave: (evt: any, targetProps: any) => {
131
+ mutation: () => {
132
+ isPanning: boolean;
133
+ isSelecting: boolean;
134
+ activeHandle: null;
135
+ startPosition: null;
136
+ brushDomain: any;
137
+ activeBrushes: {};
138
+ };
139
+ }[];
140
+ };
141
+ }[] | undefined;
142
+ getRectDimensions(props: any, brushWidth: any, domain?: any): {
143
+ x: number;
144
+ y: number;
145
+ width: number;
146
+ height: number;
147
+ };
148
+ getHandleDimensions(props: any): {
149
+ min: {
150
+ x: number;
151
+ y: number;
152
+ width: any;
153
+ height: any;
154
+ };
155
+ max: {
156
+ x: number;
157
+ y: number;
158
+ width: any;
159
+ height: any;
160
+ };
161
+ };
162
+ getCursor(props: any): "ew-resize" | "ns-resize" | "move" | "crosshair";
163
+ renderHandles(props: any): React.DetailedReactHTMLElement<{
164
+ key: string;
165
+ style: any;
166
+ } & {
167
+ x: number;
168
+ y: number;
169
+ width: any;
170
+ height: any;
171
+ }, HTMLElement>[] | null;
172
+ renderBrush(props: any): React.DetailedReactHTMLElement<{
173
+ style: any;
174
+ } & {
175
+ x: number;
176
+ y: number;
177
+ width: number;
178
+ height: number;
179
+ }, HTMLElement> | null;
180
+ renderBrushArea(props: any): React.DetailedReactHTMLElement<{
181
+ style: any;
182
+ } & {
183
+ x: number;
184
+ y: number;
185
+ width: number;
186
+ height: number;
187
+ }, HTMLElement>;
188
+ renderLine(props: any): React.DetailedReactHTMLElement<Pick<any, "scale" | "active" | "x1" | "x2" | "y1" | "y2" | "datum" | "style">, HTMLElement>;
189
+ render(): JSX.Element;
190
+ }
191
191
  //# sourceMappingURL=victory-brush-line.d.ts.map
package/lib/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from "./victory-brush-line";
1
+ export * from "./victory-brush-line";
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1,191 +1,191 @@
1
- import React from "react";
2
- import { DomainTuple, VictoryStyleObject } from "victory-core";
3
- export declare type VictoryBrushLineTargetType = "data" | "labels" | "parent";
4
- export interface VictoryBrushLineProps {
5
- allowDrag?: boolean;
6
- allowDraw?: boolean;
7
- allowResize?: boolean;
8
- brushAreaComponent?: React.ReactElement;
9
- brushAreaStyle?: VictoryStyleObject;
10
- brushAreaWidth?: number;
11
- brushComponent?: React.ReactElement;
12
- brushDomain?: DomainTuple;
13
- brushStyle?: VictoryStyleObject;
14
- brushWidth?: number;
15
- className?: string;
16
- dimension?: "x" | "y";
17
- events?: React.DOMAttributes<any>;
18
- disable?: boolean;
19
- groupComponent?: React.ReactElement;
20
- handleComponent?: React.ReactElement;
21
- handleStyle?: VictoryStyleObject;
22
- handleWidth?: number;
23
- id?: string | number;
24
- lineComponent?: React.ReactElement;
25
- name?: string;
26
- onBrushDomainChange?: (domain: DomainTuple, props?: VictoryBrushLineProps) => void;
27
- style?: VictoryStyleObject;
28
- type?: string;
29
- width?: number;
30
- }
31
- export declare class VictoryBrushLine<T extends VictoryBrushLineProps> extends React.Component<T> {
32
- static defaultProps: {
33
- allowDrag: boolean;
34
- allowDraw: boolean;
35
- allowResize: boolean;
36
- brushAreaComponent: JSX.Element;
37
- brushComponent: JSX.Element;
38
- groupComponent: JSX.Element;
39
- handleComponent: JSX.Element;
40
- handleWidth: number;
41
- lineComponent: JSX.Element;
42
- width: number;
43
- };
44
- static defaultEvents: (props: any) => {
45
- target: any;
46
- eventHandlers: {
47
- onMouseEnter: (evt: any, targetProps: any) => {
48
- mutation: () => {
49
- activeBrushes: {
50
- brushArea: boolean;
51
- brush: boolean;
52
- minHandle: boolean;
53
- maxHandle: boolean;
54
- };
55
- brushDomain: any;
56
- parentSVG: any;
57
- };
58
- }[];
59
- onMouseDown: (evt: any, targetProps: any) => {
60
- mutation: () => {
61
- parentSVG: any;
62
- isSelecting: boolean;
63
- activeHandle: any;
64
- brushDomain: any;
65
- startPosition: any;
66
- activeBrushes: any;
67
- };
68
- }[] | {
69
- mutation: () => {
70
- isPanning: any;
71
- startPosition: any;
72
- brushDomain: any;
73
- activeBrushes: any;
74
- parentSVG: any;
75
- };
76
- }[] | {
77
- mutation: () => {
78
- isSelecting: any;
79
- brushDomain: null;
80
- startPosition: any;
81
- activeBrushes: any;
82
- parentSVG: any;
83
- };
84
- }[];
85
- onMouseMove: (evt: any, targetProps: any) => {
86
- mutation: () => {
87
- activeBrushes: {
88
- brushArea: boolean;
89
- brush: boolean;
90
- minHandle: boolean;
91
- maxHandle: boolean;
92
- };
93
- brushDomain: any;
94
- parentSVG: any;
95
- };
96
- }[] | {
97
- mutation: () => {
98
- startPosition: any;
99
- isPanning: boolean;
100
- brushDomain: any[];
101
- activeBrushes: {
102
- brush: boolean;
103
- };
104
- parentSVG: any;
105
- };
106
- }[] | {
107
- mutation: () => {
108
- brushDomain: any;
109
- startPosition: any;
110
- isSelecting: any;
111
- activeHandle: any;
112
- parentSVG: any;
113
- activeBrushes: {
114
- brush: boolean;
115
- minHandle: boolean;
116
- maxHandle: boolean;
117
- };
118
- };
119
- }[];
120
- onMouseUp: (evt: any, targetProps: any) => {
121
- mutation: () => {
122
- isPanning: boolean;
123
- isSelecting: boolean;
124
- activeHandle: null;
125
- startPosition: null;
126
- brushDomain: any;
127
- activeBrushes: any;
128
- };
129
- }[];
130
- onMouseLeave: (evt: any, targetProps: any) => {
131
- mutation: () => {
132
- isPanning: boolean;
133
- isSelecting: boolean;
134
- activeHandle: null;
135
- startPosition: null;
136
- brushDomain: any;
137
- activeBrushes: {};
138
- };
139
- }[];
140
- };
141
- }[] | undefined;
142
- getRectDimensions(props: any, brushWidth: any, domain?: any): {
143
- x: number;
144
- y: number;
145
- width: number;
146
- height: number;
147
- };
148
- getHandleDimensions(props: any): {
149
- min: {
150
- x: number;
151
- y: number;
152
- width: any;
153
- height: any;
154
- };
155
- max: {
156
- x: number;
157
- y: number;
158
- width: any;
159
- height: any;
160
- };
161
- };
162
- getCursor(props: any): "ew-resize" | "ns-resize" | "move" | "crosshair";
163
- renderHandles(props: any): React.DetailedReactHTMLElement<{
164
- key: string;
165
- style: any;
166
- } & {
167
- x: number;
168
- y: number;
169
- width: any;
170
- height: any;
171
- }, HTMLElement>[] | null;
172
- renderBrush(props: any): React.DetailedReactHTMLElement<{
173
- style: any;
174
- } & {
175
- x: number;
176
- y: number;
177
- width: number;
178
- height: number;
179
- }, HTMLElement> | null;
180
- renderBrushArea(props: any): React.DetailedReactHTMLElement<{
181
- style: any;
182
- } & {
183
- x: number;
184
- y: number;
185
- width: number;
186
- height: number;
187
- }, HTMLElement>;
188
- renderLine(props: any): React.DetailedReactHTMLElement<Pick<any, "scale" | "active" | "x1" | "x2" | "y1" | "y2" | "datum" | "style">, HTMLElement>;
189
- render(): JSX.Element;
190
- }
1
+ import React from "react";
2
+ import { DomainTuple, VictoryStyleObject } from "victory-core";
3
+ export declare type VictoryBrushLineTargetType = "data" | "labels" | "parent";
4
+ export interface VictoryBrushLineProps {
5
+ allowDrag?: boolean;
6
+ allowDraw?: boolean;
7
+ allowResize?: boolean;
8
+ brushAreaComponent?: React.ReactElement;
9
+ brushAreaStyle?: VictoryStyleObject;
10
+ brushAreaWidth?: number;
11
+ brushComponent?: React.ReactElement;
12
+ brushDomain?: DomainTuple;
13
+ brushStyle?: VictoryStyleObject;
14
+ brushWidth?: number;
15
+ className?: string;
16
+ dimension?: "x" | "y";
17
+ events?: React.DOMAttributes<any>;
18
+ disable?: boolean;
19
+ groupComponent?: React.ReactElement;
20
+ handleComponent?: React.ReactElement;
21
+ handleStyle?: VictoryStyleObject;
22
+ handleWidth?: number;
23
+ id?: string | number;
24
+ lineComponent?: React.ReactElement;
25
+ name?: string;
26
+ onBrushDomainChange?: (domain: DomainTuple, props?: VictoryBrushLineProps) => void;
27
+ style?: VictoryStyleObject;
28
+ type?: string;
29
+ width?: number;
30
+ }
31
+ export declare class VictoryBrushLine<T extends VictoryBrushLineProps> extends React.Component<T> {
32
+ static defaultProps: {
33
+ allowDrag: boolean;
34
+ allowDraw: boolean;
35
+ allowResize: boolean;
36
+ brushAreaComponent: JSX.Element;
37
+ brushComponent: JSX.Element;
38
+ groupComponent: JSX.Element;
39
+ handleComponent: JSX.Element;
40
+ handleWidth: number;
41
+ lineComponent: JSX.Element;
42
+ width: number;
43
+ };
44
+ static defaultEvents: (props: any) => {
45
+ target: any;
46
+ eventHandlers: {
47
+ onMouseEnter: (evt: any, targetProps: any) => {
48
+ mutation: () => {
49
+ activeBrushes: {
50
+ brushArea: boolean;
51
+ brush: boolean;
52
+ minHandle: boolean;
53
+ maxHandle: boolean;
54
+ };
55
+ brushDomain: any;
56
+ parentSVG: any;
57
+ };
58
+ }[];
59
+ onMouseDown: (evt: any, targetProps: any) => {
60
+ mutation: () => {
61
+ parentSVG: any;
62
+ isSelecting: boolean;
63
+ activeHandle: any;
64
+ brushDomain: any;
65
+ startPosition: any;
66
+ activeBrushes: any;
67
+ };
68
+ }[] | {
69
+ mutation: () => {
70
+ isPanning: any;
71
+ startPosition: any;
72
+ brushDomain: any;
73
+ activeBrushes: any;
74
+ parentSVG: any;
75
+ };
76
+ }[] | {
77
+ mutation: () => {
78
+ isSelecting: any;
79
+ brushDomain: null;
80
+ startPosition: any;
81
+ activeBrushes: any;
82
+ parentSVG: any;
83
+ };
84
+ }[];
85
+ onMouseMove: (evt: any, targetProps: any) => {
86
+ mutation: () => {
87
+ activeBrushes: {
88
+ brushArea: boolean;
89
+ brush: boolean;
90
+ minHandle: boolean;
91
+ maxHandle: boolean;
92
+ };
93
+ brushDomain: any;
94
+ parentSVG: any;
95
+ };
96
+ }[] | {
97
+ mutation: () => {
98
+ startPosition: any;
99
+ isPanning: boolean;
100
+ brushDomain: any[];
101
+ activeBrushes: {
102
+ brush: boolean;
103
+ };
104
+ parentSVG: any;
105
+ };
106
+ }[] | {
107
+ mutation: () => {
108
+ brushDomain: any;
109
+ startPosition: any;
110
+ isSelecting: any;
111
+ activeHandle: any;
112
+ parentSVG: any;
113
+ activeBrushes: {
114
+ brush: boolean;
115
+ minHandle: boolean;
116
+ maxHandle: boolean;
117
+ };
118
+ };
119
+ }[];
120
+ onMouseUp: (evt: any, targetProps: any) => {
121
+ mutation: () => {
122
+ isPanning: boolean;
123
+ isSelecting: boolean;
124
+ activeHandle: null;
125
+ startPosition: null;
126
+ brushDomain: any;
127
+ activeBrushes: any;
128
+ };
129
+ }[];
130
+ onMouseLeave: (evt: any, targetProps: any) => {
131
+ mutation: () => {
132
+ isPanning: boolean;
133
+ isSelecting: boolean;
134
+ activeHandle: null;
135
+ startPosition: null;
136
+ brushDomain: any;
137
+ activeBrushes: {};
138
+ };
139
+ }[];
140
+ };
141
+ }[] | undefined;
142
+ getRectDimensions(props: any, brushWidth: any, domain?: any): {
143
+ x: number;
144
+ y: number;
145
+ width: number;
146
+ height: number;
147
+ };
148
+ getHandleDimensions(props: any): {
149
+ min: {
150
+ x: number;
151
+ y: number;
152
+ width: any;
153
+ height: any;
154
+ };
155
+ max: {
156
+ x: number;
157
+ y: number;
158
+ width: any;
159
+ height: any;
160
+ };
161
+ };
162
+ getCursor(props: any): "ew-resize" | "ns-resize" | "move" | "crosshair";
163
+ renderHandles(props: any): React.DetailedReactHTMLElement<{
164
+ key: string;
165
+ style: any;
166
+ } & {
167
+ x: number;
168
+ y: number;
169
+ width: any;
170
+ height: any;
171
+ }, HTMLElement>[] | null;
172
+ renderBrush(props: any): React.DetailedReactHTMLElement<{
173
+ style: any;
174
+ } & {
175
+ x: number;
176
+ y: number;
177
+ width: number;
178
+ height: number;
179
+ }, HTMLElement> | null;
180
+ renderBrushArea(props: any): React.DetailedReactHTMLElement<{
181
+ style: any;
182
+ } & {
183
+ x: number;
184
+ y: number;
185
+ width: number;
186
+ height: number;
187
+ }, HTMLElement>;
188
+ renderLine(props: any): React.DetailedReactHTMLElement<Pick<any, "scale" | "active" | "x1" | "x2" | "y1" | "y2" | "datum" | "style">, HTMLElement>;
189
+ render(): JSX.Element;
190
+ }
191
191
  //# sourceMappingURL=victory-brush-line.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-brush-line",
3
- "version": "37.0.2",
3
+ "version": "37.0.3-next.0",
4
4
  "description": "Interactive Brush Line Component for Victory",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -22,14 +22,11 @@
22
22
  "dependencies": {
23
23
  "lodash": "^4.17.19",
24
24
  "react-fast-compare": "^3.2.0",
25
- "victory-core": "^37.0.2"
25
+ "victory-core": "^37.0.3-next.0"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=16.6.0"
29
29
  },
30
- "publishConfig": {
31
- "provenance": true
32
- },
33
30
  "wireit": {
34
31
  "### THESE WIREIT CONFIGS ARE GENERATED ####": {},
35
32
  "### DO NOT MODIFY THESE MANUALLY ####": {},