@react-aria/interactions 3.19.0 → 3.19.1

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": "@react-aria/interactions",
3
- "version": "3.19.0",
3
+ "version": "3.19.1",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/main.js",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@react-aria/ssr": "^3.8.0",
26
- "@react-aria/utils": "^3.21.0",
26
+ "@react-aria/utils": "^3.21.1",
27
27
  "@react-types/shared": "^3.21.0",
28
28
  "@swc/helpers": "^0.5.0"
29
29
  },
@@ -33,5 +33,5 @@
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
- "gitHead": "4122e44d1991c90507d630d35ed297f89db435d3"
36
+ "gitHead": "3ecf62dcceea437cb12df1851636dd491bb6591c"
37
37
  }
package/src/usePress.ts CHANGED
@@ -302,7 +302,7 @@ export function usePress(props: PressHookProps): PressResult {
302
302
  return;
303
303
  }
304
304
 
305
- if (e && e.button === 0 && !state.isTriggeringEvent && !openLink.isOpening) {
305
+ if (e && e.button === 0 && !state.isTriggeringEvent && !(openLink as any).isOpening) {
306
306
  let shouldStopPropagation = true;
307
307
  if (isDisabled) {
308
308
  e.preventDefault();