@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/module.js
CHANGED
|
@@ -438,7 +438,8 @@ function $f6c31cce2adf654f$export$45712eceda6fad21(props) {
|
|
|
438
438
|
// eslint-disable-next-line arrow-body-style
|
|
439
439
|
$bx7SL$useEffect(()=>{
|
|
440
440
|
return ()=>{
|
|
441
|
-
if (!allowTextSelectionOnPress)
|
|
441
|
+
if (!allowTextSelectionOnPress) // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
442
|
+
$14c0b72509d70225$export$b0d6fa1ab32e3295(ref.current.target);
|
|
442
443
|
};
|
|
443
444
|
}, [
|
|
444
445
|
allowTextSelectionOnPress
|
|
@@ -853,6 +854,7 @@ function $507fabe10e71c6fb$export$ec71b4b83ac08ec3(fn, deps, opts) {
|
|
|
853
854
|
return ()=>{
|
|
854
855
|
$507fabe10e71c6fb$var$changeHandlers.delete(handler);
|
|
855
856
|
};
|
|
857
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
856
858
|
}, deps);
|
|
857
859
|
}
|
|
858
860
|
|
|
@@ -1015,6 +1017,7 @@ function $6179b936705e76d3$export$ae780daf29e6d456(props) {
|
|
|
1015
1017
|
if (isDisabled) triggerHoverEnd1({
|
|
1016
1018
|
currentTarget: state.target
|
|
1017
1019
|
}, state.pointerType);
|
|
1020
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
1018
1021
|
}, [
|
|
1019
1022
|
isDisabled
|
|
1020
1023
|
]);
|