victory-cursor-container 36.9.1 → 36.9.2-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "victory-cursor-container",
3
- "version": "36.9.1",
3
+ "version": "36.9.2-next.0",
4
4
  "description": "Interactive Cursor Component for Victory",
5
5
  "keywords": [
6
6
  "data visualization",
@@ -21,14 +21,11 @@
21
21
  "license": "MIT",
22
22
  "dependencies": {
23
23
  "lodash": "^4.17.19",
24
- "victory-core": "^36.9.1"
24
+ "victory-core": "^36.9.2-next.0"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "react": ">=16.6.0"
28
28
  },
29
- "publishConfig": {
30
- "provenance": true
31
- },
32
29
  "wireit": {
33
30
  "### THESE WIREIT CONFIGS ARE GENERATED ####": {},
34
31
  "### DO NOT MODIFY THESE MANUALLY ####": {},
@@ -241,7 +238,7 @@
241
238
  ]
242
239
  },
243
240
  "jest": {
244
- "command": "nps jest:pkg",
241
+ "command": "jest --passWithNoTests",
245
242
  "files": [
246
243
  "src/**/*.test.*",
247
244
  "../../.babelrc.js",
@@ -250,9 +247,9 @@
250
247
  ],
251
248
  "output": [],
252
249
  "dependencies": [
253
- "build:lib:cjs",
254
- "../victory-vendor:build:lib:cjs",
255
- "../victory-voronoi:build:lib:cjs"
250
+ "../victory-core:build",
251
+ "../victory-vendor:build",
252
+ "../victory-voronoi:build"
256
253
  ],
257
254
  "packageLocks": [
258
255
  "pnpm-lock.yaml"
@@ -1,5 +1,5 @@
1
- import { Selection, SVGCoordinateType } from "victory-core";
2
- import { throttle, isFunction, mapValues } from "lodash";
1
+ import { Helpers, Selection, SVGCoordinateType } from "victory-core";
2
+ import { throttle, mapValues } from "lodash";
3
3
 
4
4
  const ON_MOUSE_MOVE_THROTTLE_MS = 16;
5
5
 
@@ -46,7 +46,7 @@ class CursorHelpersClass {
46
46
  cursorValue = null;
47
47
  }
48
48
 
49
- if (isFunction(onCursorChange)) {
49
+ if (Helpers.isFunction(onCursorChange)) {
50
50
  if (cursorValue) {
51
51
  const value = cursorDimension
52
52
  ? cursorValue[cursorDimension]
@@ -76,7 +76,7 @@ class CursorHelpersClass {
76
76
  onTouchEnd = (evt, targetProps) => {
77
77
  const { onCursorChange } = targetProps;
78
78
 
79
- if (isFunction(targetProps.onCursorChange)) {
79
+ if (Helpers.isFunction(targetProps.onCursorChange)) {
80
80
  onCursorChange(null, targetProps);
81
81
  }
82
82