@rind-ui/testing 1.2.0 → 1.3.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.
@@ -1025,9 +1025,9 @@ function createDomEnv({ scope, anchor, modality, platform, partName, anatomyName
1025
1025
  bubbles: true,
1026
1026
  cancelable: phase !== "cancel",
1027
1027
  composed: true,
1028
- pointerId: pointerType === "mouse" ? 1 : 2,
1028
+ pointerId: pointerOptions.pointerId ?? (pointerType === "mouse" ? 1 : 2),
1029
1029
  pointerType,
1030
- isPrimary: true,
1030
+ isPrimary: pointerOptions.pointerId === void 0,
1031
1031
  clientX,
1032
1032
  clientY,
1033
1033
  button: phase === "move" ? -1 : 0,
package/dist/dom.mjs CHANGED
@@ -1 +1 @@
1
- export { t as domEnv } from "./dom-BhoJNuBH.mjs";
1
+ export { t as domEnv } from "./dom-2jvIZsvL.mjs";