@react-aria/datepicker
Advanced tools
Comparing version 3.0.0-nightly-086ad3115-240912 to 3.0.0-nightly-0ddbe6f95-241019
@@ -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-086ad3115-240912", | ||
"version": "3.0.0-nightly-0ddbe6f95-241019", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,19 +25,19 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/date": "^3.0.0-nightly-086ad3115-240912", | ||
"@internationalized/number": "^3.0.0-nightly-086ad3115-240912", | ||
"@internationalized/string": "^3.0.0-nightly-086ad3115-240912", | ||
"@react-aria/focus": "^3.0.0-nightly-086ad3115-240912", | ||
"@react-aria/form": "^3.0.0-nightly-086ad3115-240912", | ||
"@react-aria/i18n": "^3.0.0-nightly-086ad3115-240912", | ||
"@react-aria/interactions": "^3.0.0-nightly-086ad3115-240912", | ||
"@react-aria/label": "^3.0.0-nightly-086ad3115-240912", | ||
"@react-aria/spinbutton": "^3.0.0-nightly-086ad3115-240912", | ||
"@react-aria/utils": "^3.0.0-nightly-086ad3115-240912", | ||
"@react-stately/datepicker": "^3.0.0-nightly-086ad3115-240912", | ||
"@react-stately/form": "^3.0.0-nightly-086ad3115-240912", | ||
"@react-types/button": "^3.0.0-nightly-086ad3115-240912", | ||
"@react-types/calendar": "^3.0.0-nightly-086ad3115-240912", | ||
"@react-types/datepicker": "^3.0.0-nightly-086ad3115-240912", | ||
"@react-types/dialog": "^3.0.0-nightly-086ad3115-240912", | ||
"@react-types/shared": "^3.0.0-nightly-086ad3115-240912", | ||
"@internationalized/date": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@internationalized/number": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@internationalized/string": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@react-aria/focus": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@react-aria/form": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@react-aria/i18n": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@react-aria/interactions": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@react-aria/label": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@react-aria/spinbutton": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@react-aria/utils": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@react-stately/datepicker": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@react-stately/form": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@react-types/button": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@react-types/calendar": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@react-types/datepicker": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@react-types/dialog": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@react-types/shared": "^3.0.0-nightly-0ddbe6f95-241019", | ||
"@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
533508
Updated@internationalized/date@^3.0.0-nightly-0ddbe6f95-241019
Updated@internationalized/number@^3.0.0-nightly-0ddbe6f95-241019
Updated@internationalized/string@^3.0.0-nightly-0ddbe6f95-241019
Updated@react-aria/interactions@^3.0.0-nightly-0ddbe6f95-241019
Updated@react-aria/spinbutton@^3.0.0-nightly-0ddbe6f95-241019
Updated@react-stately/datepicker@^3.0.0-nightly-0ddbe6f95-241019
Updated@react-types/calendar@^3.0.0-nightly-0ddbe6f95-241019
Updated@react-types/datepicker@^3.0.0-nightly-0ddbe6f95-241019