@react-aria/datepicker
Advanced tools
Comparing version
@@ -745,6 +745,2 @@ var $IwcIq$reactariafocus = require("@react-aria/focus"); | ||
}); | ||
// For Android: prevent selection on long press. | ||
$IwcIq$reactariautils.useEvent(ref, 'selectstart', (e)=>{ | ||
e.preventDefault(); | ||
}); | ||
$IwcIq$reactariautils.useLayoutEffect(()=>{ | ||
@@ -751,0 +747,0 @@ let element = ref.current; |
@@ -735,6 +735,2 @@ import {createFocusManager as $cIPI0$createFocusManager, getFocusableTreeWalker as $cIPI0$getFocusableTreeWalker} from "@react-aria/focus"; | ||
}); | ||
// For Android: prevent selection on long press. | ||
$cIPI0$useEvent(ref, 'selectstart', (e)=>{ | ||
e.preventDefault(); | ||
}); | ||
$cIPI0$useLayoutEffect(()=>{ | ||
@@ -741,0 +737,0 @@ let element = ref.current; |
{ | ||
"name": "@react-aria/datepicker", | ||
"version": "3.0.0-nightly.1612+bcbe803b3", | ||
"version": "3.0.0-nightly.1613+df1783a7f", | ||
"description": "Spectrum UI components in React", | ||
@@ -21,17 +21,17 @@ "license": "Apache-2.0", | ||
"@babel/runtime": "^7.6.2", | ||
"@internationalized/date": "3.0.0-nightly.3311+bcbe803b3", | ||
"@internationalized/message": "3.0.8-nightly.3311+bcbe803b3", | ||
"@internationalized/number": "3.1.2-nightly.3311+bcbe803b3", | ||
"@react-aria/focus": "3.0.0-nightly.1612+bcbe803b3", | ||
"@react-aria/i18n": "3.0.0-nightly.1612+bcbe803b3", | ||
"@react-aria/interactions": "3.0.0-nightly.1612+bcbe803b3", | ||
"@react-aria/label": "3.0.0-nightly.1612+bcbe803b3", | ||
"@react-aria/spinbutton": "3.0.0-nightly.1612+bcbe803b3", | ||
"@react-aria/utils": "3.0.0-nightly.1612+bcbe803b3", | ||
"@react-stately/datepicker": "3.0.0-nightly.1612+bcbe803b3", | ||
"@react-types/button": "3.5.1-nightly.3311+bcbe803b3", | ||
"@react-types/calendar": "3.0.0-nightly.1612+bcbe803b3", | ||
"@react-types/datepicker": "3.0.0-nightly.1612+bcbe803b3", | ||
"@react-types/dialog": "3.4.1-nightly.3311+bcbe803b3", | ||
"@react-types/shared": "3.0.0-nightly.1612+bcbe803b3" | ||
"@internationalized/date": "3.0.0-nightly.3312+df1783a7f", | ||
"@internationalized/message": "3.0.8-nightly.3312+df1783a7f", | ||
"@internationalized/number": "3.1.2-nightly.3312+df1783a7f", | ||
"@react-aria/focus": "3.0.0-nightly.1613+df1783a7f", | ||
"@react-aria/i18n": "3.0.0-nightly.1613+df1783a7f", | ||
"@react-aria/interactions": "3.0.0-nightly.1613+df1783a7f", | ||
"@react-aria/label": "3.0.0-nightly.1613+df1783a7f", | ||
"@react-aria/spinbutton": "3.0.0-nightly.1613+df1783a7f", | ||
"@react-aria/utils": "3.0.0-nightly.1613+df1783a7f", | ||
"@react-stately/datepicker": "3.0.0-nightly.1613+df1783a7f", | ||
"@react-types/button": "3.5.1-nightly.3312+df1783a7f", | ||
"@react-types/calendar": "3.0.0-nightly.1613+df1783a7f", | ||
"@react-types/datepicker": "3.0.0-nightly.1613+df1783a7f", | ||
"@react-types/dialog": "3.4.1-nightly.3312+df1783a7f", | ||
"@react-types/shared": "3.0.0-nightly.1613+df1783a7f" | ||
}, | ||
@@ -45,3 +45,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "bcbe803b3591cb49a7cf45672e03bf122bc7cf5a" | ||
"gitHead": "df1783a7f62ea20183aaf14ce549e6c1f80046e5" | ||
} |
@@ -312,7 +312,2 @@ /* | ||
// For Android: prevent selection on long press. | ||
useEvent(ref, 'selectstart', e => { | ||
e.preventDefault(); | ||
}); | ||
useLayoutEffect(() => { | ||
@@ -319,0 +314,0 @@ let element = ref.current; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
347003
-0.25%2809
-0.43%