victory-brush-container 36.5.2 → 36.5.3

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/index.d.ts CHANGED
@@ -32,3 +32,24 @@ export class VictoryBrushContainer extends React.Component<
32
32
  VictoryBrushContainerProps,
33
33
  any
34
34
  > {}
35
+
36
+ export const BrushHelpers: {
37
+ getDimension(props): any;
38
+ withinBounds(point, bounds, padding): any;
39
+ getDomainBox(props, fullDomain, selectedDomain): any;
40
+ getHandles(props, domainBox): any;
41
+ getActiveHandles(point, props, domainBox): any;
42
+ getResizeMutation(box, handles): any;
43
+ getMinimumDomain(): any;
44
+ getDefaultBrushArea(targetProps, cachedDomain, evt): any;
45
+ getSelectionMutation(point, box, brushDimension): any;
46
+ panBox(props, point): any;
47
+ constrainBox(box, fullDomainBox): any;
48
+ constrainPoint(point, fullDomainBox): any;
49
+ hasMoved(props): any;
50
+ onMouseDown(evt, targetProps): any;
51
+ onGlobalMouseMove(evt, targetProps): any;
52
+ onGlobalMouseUp(evt, targetProps): any;
53
+ };
54
+
55
+ export function brushContainerMixin<T>(Component: T): Component;
package/lib/index.d.ts CHANGED
@@ -32,3 +32,24 @@ export class VictoryBrushContainer extends React.Component<
32
32
  VictoryBrushContainerProps,
33
33
  any
34
34
  > {}
35
+
36
+ export const BrushHelpers: {
37
+ getDimension(props): any;
38
+ withinBounds(point, bounds, padding): any;
39
+ getDomainBox(props, fullDomain, selectedDomain): any;
40
+ getHandles(props, domainBox): any;
41
+ getActiveHandles(point, props, domainBox): any;
42
+ getResizeMutation(box, handles): any;
43
+ getMinimumDomain(): any;
44
+ getDefaultBrushArea(targetProps, cachedDomain, evt): any;
45
+ getSelectionMutation(point, box, brushDimension): any;
46
+ panBox(props, point): any;
47
+ constrainBox(box, fullDomainBox): any;
48
+ constrainPoint(point, fullDomainBox): any;
49
+ hasMoved(props): any;
50
+ onMouseDown(evt, targetProps): any;
51
+ onGlobalMouseMove(evt, targetProps): any;
52
+ onGlobalMouseUp(evt, targetProps): any;
53
+ };
54
+
55
+ export function brushContainerMixin<T>(Component: T): Component;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-brush-container",
3
- "version": "36.5.2",
3
+ "version": "36.5.3",
4
4
  "description": "Interactive Brush Component for Victory",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -22,7 +22,7 @@
22
22
  "lodash": "^4.17.19",
23
23
  "prop-types": "^15.8.1",
24
24
  "react-fast-compare": "^3.2.0",
25
- "victory-core": "^36.5.2"
25
+ "victory-core": "^36.5.3"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=16.6.0"
@@ -31,5 +31,5 @@
31
31
  "version": "yarn run nps build-libs && nps build-dists"
32
32
  },
33
33
  "sideEffects": false,
34
- "gitHead": "def218e9749ecafc159ef458dd03a8b92e227666"
34
+ "gitHead": "55338af3c57eacca5956e53c08a58e47ba41d01e"
35
35
  }
package/src/index.d.ts CHANGED
@@ -32,3 +32,24 @@ export class VictoryBrushContainer extends React.Component<
32
32
  VictoryBrushContainerProps,
33
33
  any
34
34
  > {}
35
+
36
+ export const BrushHelpers: {
37
+ getDimension(props): any;
38
+ withinBounds(point, bounds, padding): any;
39
+ getDomainBox(props, fullDomain, selectedDomain): any;
40
+ getHandles(props, domainBox): any;
41
+ getActiveHandles(point, props, domainBox): any;
42
+ getResizeMutation(box, handles): any;
43
+ getMinimumDomain(): any;
44
+ getDefaultBrushArea(targetProps, cachedDomain, evt): any;
45
+ getSelectionMutation(point, box, brushDimension): any;
46
+ panBox(props, point): any;
47
+ constrainBox(box, fullDomainBox): any;
48
+ constrainPoint(point, fullDomainBox): any;
49
+ hasMoved(props): any;
50
+ onMouseDown(evt, targetProps): any;
51
+ onGlobalMouseMove(evt, targetProps): any;
52
+ onGlobalMouseUp(evt, targetProps): any;
53
+ };
54
+
55
+ export function brushContainerMixin<T>(Component: T): Component;