@react-aria/interactions 3.12.0 → 3.13.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/dist/main.js +4 -1
- package/dist/main.js.map +1 -1
- package/dist/module.js +4 -1
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/index.ts +1 -1
- package/src/useFocusVisible.ts +2 -1
- package/src/useHover.ts +1 -0
- package/src/usePress.ts +1 -0
package/dist/main.js
CHANGED
|
@@ -462,7 +462,8 @@ function $0294ea432cd92340$export$45712eceda6fad21(props) {
|
|
|
462
462
|
// eslint-disable-next-line arrow-body-style
|
|
463
463
|
$goTMa$react.useEffect(()=>{
|
|
464
464
|
return ()=>{
|
|
465
|
-
if (!allowTextSelectionOnPress)
|
|
465
|
+
if (!allowTextSelectionOnPress) // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
466
|
+
$f7e14e656343df57$export$b0d6fa1ab32e3295(ref.current.target);
|
|
466
467
|
};
|
|
467
468
|
}, [
|
|
468
469
|
allowTextSelectionOnPress
|
|
@@ -877,6 +878,7 @@ function $e77252a287ef94ab$export$ec71b4b83ac08ec3(fn, deps, opts) {
|
|
|
877
878
|
return ()=>{
|
|
878
879
|
$e77252a287ef94ab$var$changeHandlers.delete(handler);
|
|
879
880
|
};
|
|
881
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
880
882
|
}, deps);
|
|
881
883
|
}
|
|
882
884
|
|
|
@@ -1039,6 +1041,7 @@ function $ffbc150311c75f01$export$ae780daf29e6d456(props) {
|
|
|
1039
1041
|
if (isDisabled) triggerHoverEnd1({
|
|
1040
1042
|
currentTarget: state.target
|
|
1041
1043
|
}, state.pointerType);
|
|
1044
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1042
1045
|
}, [
|
|
1043
1046
|
isDisabled
|
|
1044
1047
|
]);
|