@statelyai/flow-dom 3.4.4 → 3.4.5

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/dist/esm/index.js CHANGED
@@ -682,12 +682,7 @@ function attachInput(options) {
682
682
  sendPointer("pointer.move", lastClient.x, lastClient.y, {
683
683
  pointerId: lastClient.pointerId,
684
684
  button: -1,
685
- modifiers: {
686
- shift: false,
687
- meta: false,
688
- ctrl: false,
689
- alt: false
690
- },
685
+ modifiers: lastClient.modifiers,
691
686
  target: null
692
687
  });
693
688
  }
@@ -925,7 +920,8 @@ function attachInput(options) {
925
920
  if (kind === "pointer.down" || capturedPointerId !== null && event.pointerId === capturedPointerId) lastClient = {
926
921
  x: event.clientX,
927
922
  y: event.clientY,
928
- pointerId: event.pointerId
923
+ pointerId: event.pointerId,
924
+ modifiers: modifiers(event)
929
925
  };
930
926
  const detail = kind === "pointer.down" && event.button === 0 ? computeClickDetail(event) : event.detail;
931
927
  applyEffects(event, sendPointer(kind, event.clientX, event.clientY, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@statelyai/flow-dom",
3
- "version": "3.4.4",
3
+ "version": "3.4.5",
4
4
  "description": "DOM-specific helpers for @statelyai/flow with core re-exports.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "license": "MIT",
29
29
  "dependencies": {
30
- "@statelyai/flow": "0.9.1"
30
+ "@statelyai/flow": "0.10.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@vitest/coverage-v8": "^4.1.0",