@neo4j-nvl/react 1.2.0-676bec77 → 1.2.0-685572c8

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.
@@ -191,7 +191,7 @@ describe('InteractiveNvlWrapper', () => {
191
191
  {
192
192
  name: 'ZoomInteraction',
193
193
  InteractionClass: ZoomInteraction,
194
- callback: { onZoom: jest.fn() },
194
+ callback: { onZoomAndPan: jest.fn() },
195
195
  options: {}
196
196
  },
197
197
  {
@@ -22,7 +22,6 @@ export const InteractionHandlers = ({ nvlRef, mouseEventCallbacks, keyboardEvent
22
22
  useInteraction(ClickInteraction, clickInteraction, mouseEventCallbacks.onCanvasDoubleClick, 'onCanvasDoubleClick', nvlRef, interactionOptions);
23
23
  useInteraction(ClickInteraction, clickInteraction, mouseEventCallbacks.onCanvasRightClick, 'onCanvasRightClick', nvlRef, interactionOptions);
24
24
  useInteraction(PanInteraction, panInteraction, mouseEventCallbacks.onPan, 'onPan', nvlRef, interactionOptions);
25
- useInteraction(ZoomInteraction, zoomInteraction, mouseEventCallbacks.onZoom, 'onZoom', nvlRef, interactionOptions);
26
25
  useInteraction(ZoomInteraction, zoomInteraction, mouseEventCallbacks.onZoomAndPan, 'onZoomAndPan', nvlRef, interactionOptions);
27
26
  useInteraction(DragNodeInteraction, dragNodeInteraction, mouseEventCallbacks.onDrag, 'onDrag', nvlRef, interactionOptions);
28
27
  useInteraction(DragNodeInteraction, dragNodeInteraction, mouseEventCallbacks.onDragStart, 'onDragStart', nvlRef, interactionOptions);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo4j-nvl/react",
3
- "version": "1.2.0-676bec77",
3
+ "version": "1.2.0-685572c8",
4
4
  "main": "lib/index.js",
5
5
  "homepage": "https://neo4j.com/docs/nvl/current/",
6
6
  "license": "SEE LICENSE IN 'LICENSE.txt'",
@@ -36,8 +36,8 @@
36
36
  "react-dom": "19.2.1"
37
37
  },
38
38
  "dependencies": {
39
- "@neo4j-nvl/base": "1.2.0-676bec77",
40
- "@neo4j-nvl/interaction-handlers": "1.2.0-676bec77",
39
+ "@neo4j-nvl/base": "1.2.0-685572c8",
40
+ "@neo4j-nvl/interaction-handlers": "1.2.0-685572c8",
41
41
  "lodash": "4.18.1"
42
42
  },
43
43
  "peerDependencies": {