@react-aria/datepicker
Advanced tools
Comparing version 3.0.0-nightly-4980928d3-240906 to 3.0.0-nightly-4f85a359f-241022
@@ -251,3 +251,3 @@ var $4acc2f407c169e55$exports = require("./useDateField.main.js"); | ||
let selection = window.getSelection(); | ||
if (ref.current.contains(selection.anchorNode)) selection.collapse(ref.current); | ||
if (ref.current && ref.current.contains(selection.anchorNode)) selection.collapse(ref.current); | ||
}); | ||
@@ -254,0 +254,0 @@ let compositionRef = (0, $5Tgzj$react.useRef)(''); |
@@ -241,3 +241,3 @@ import {hookData as $16f0b7bb276bc17e$export$653eddfc964b0f8a} from "./useDateField.module.js"; | ||
let selection = window.getSelection(); | ||
if (ref.current.contains(selection.anchorNode)) selection.collapse(ref.current); | ||
if (ref.current && ref.current.contains(selection.anchorNode)) selection.collapse(ref.current); | ||
}); | ||
@@ -244,0 +244,0 @@ let compositionRef = (0, $4d1jn$useRef)(''); |
@@ -40,3 +40,3 @@ var $c1905b78f6d2f5bf$exports = require("./intlStrings.main.js"); | ||
}); | ||
} catch (err) { | ||
} catch { | ||
return new $934ac650a0aceb4b$var$DisplayNamesPolyfill(locale, dictionary); | ||
@@ -43,0 +43,0 @@ } |
@@ -34,3 +34,3 @@ import $jR5iF$intlStringsmodulejs from "./intlStrings.module.js"; | ||
}); | ||
} catch (err) { | ||
} catch { | ||
return new $3aeceb3a64eb8358$var$DisplayNamesPolyfill(locale, dictionary); | ||
@@ -37,0 +37,0 @@ } |
{ | ||
"name": "@react-aria/datepicker", | ||
"version": "3.0.0-nightly-4980928d3-240906", | ||
"version": "3.0.0-nightly-4f85a359f-241022", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,19 +25,19 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/date": "^3.0.0-nightly-4980928d3-240906", | ||
"@internationalized/number": "^3.0.0-nightly-4980928d3-240906", | ||
"@internationalized/string": "^3.0.0-nightly-4980928d3-240906", | ||
"@react-aria/focus": "^3.0.0-nightly-4980928d3-240906", | ||
"@react-aria/form": "^3.0.0-nightly-4980928d3-240906", | ||
"@react-aria/i18n": "^3.0.0-nightly-4980928d3-240906", | ||
"@react-aria/interactions": "^3.0.0-nightly-4980928d3-240906", | ||
"@react-aria/label": "^3.0.0-nightly-4980928d3-240906", | ||
"@react-aria/spinbutton": "^3.0.0-nightly-4980928d3-240906", | ||
"@react-aria/utils": "^3.0.0-nightly-4980928d3-240906", | ||
"@react-stately/datepicker": "^3.0.0-nightly-4980928d3-240906", | ||
"@react-stately/form": "^3.0.0-nightly-4980928d3-240906", | ||
"@react-types/button": "^3.0.0-nightly-4980928d3-240906", | ||
"@react-types/calendar": "^3.0.0-nightly-4980928d3-240906", | ||
"@react-types/datepicker": "^3.0.0-nightly-4980928d3-240906", | ||
"@react-types/dialog": "^3.0.0-nightly-4980928d3-240906", | ||
"@react-types/shared": "^3.0.0-nightly-4980928d3-240906", | ||
"@internationalized/date": "^3.0.0-nightly-4f85a359f-241022", | ||
"@internationalized/number": "^3.0.0-nightly-4f85a359f-241022", | ||
"@internationalized/string": "^3.0.0-nightly-4f85a359f-241022", | ||
"@react-aria/focus": "^3.0.0-nightly-4f85a359f-241022", | ||
"@react-aria/form": "^3.0.0-nightly-4f85a359f-241022", | ||
"@react-aria/i18n": "^3.0.0-nightly-4f85a359f-241022", | ||
"@react-aria/interactions": "^3.0.0-nightly-4f85a359f-241022", | ||
"@react-aria/label": "^3.0.0-nightly-4f85a359f-241022", | ||
"@react-aria/spinbutton": "^3.0.0-nightly-4f85a359f-241022", | ||
"@react-aria/utils": "^3.0.0-nightly-4f85a359f-241022", | ||
"@react-stately/datepicker": "^3.0.0-nightly-4f85a359f-241022", | ||
"@react-stately/form": "^3.0.0-nightly-4f85a359f-241022", | ||
"@react-types/button": "^3.0.0-nightly-4f85a359f-241022", | ||
"@react-types/calendar": "^3.0.0-nightly-4f85a359f-241022", | ||
"@react-types/datepicker": "^3.0.0-nightly-4f85a359f-241022", | ||
"@react-types/dialog": "^3.0.0-nightly-4f85a359f-241022", | ||
"@react-types/shared": "^3.0.0-nightly-4f85a359f-241022", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -52,3 +52,3 @@ }, | ||
}, | ||
"stableVersion": "3.11.2" | ||
"stableVersion": "3.11.4" | ||
} |
@@ -278,3 +278,3 @@ /* | ||
let selection = window.getSelection(); | ||
if (ref.current.contains(selection.anchorNode)) { | ||
if (ref.current && ref.current.contains(selection.anchorNode)) { | ||
selection.collapse(ref.current); | ||
@@ -281,0 +281,0 @@ } |
@@ -34,3 +34,3 @@ /* | ||
return new Intl.DisplayNames(locale, {type: 'dateTimeField'}); | ||
} catch (err) { | ||
} catch { | ||
return new DisplayNamesPolyfill(locale, dictionary); | ||
@@ -37,0 +37,0 @@ } |
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
533508
0
Updated@internationalized/date@^3.0.0-nightly-4f85a359f-241022
Updated@internationalized/number@^3.0.0-nightly-4f85a359f-241022
Updated@internationalized/string@^3.0.0-nightly-4f85a359f-241022
Updated@react-aria/interactions@^3.0.0-nightly-4f85a359f-241022
Updated@react-aria/spinbutton@^3.0.0-nightly-4f85a359f-241022
Updated@react-stately/datepicker@^3.0.0-nightly-4f85a359f-241022
Updated@react-types/calendar@^3.0.0-nightly-4f85a359f-241022
Updated@react-types/datepicker@^3.0.0-nightly-4f85a359f-241022