@react-aria/datepicker
Advanced tools
Comparing version 3.0.0-nightly-086ad3115-240912 to 3.0.0-nightly-25f304dea-241003
@@ -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)(''); |
{ | ||
"name": "@react-aria/datepicker", | ||
"version": "3.0.0-nightly-086ad3115-240912", | ||
"version": "3.0.0-nightly-25f304dea-241003", | ||
"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-25f304dea-241003", | ||
"@internationalized/number": "^3.0.0-nightly-25f304dea-241003", | ||
"@internationalized/string": "^3.0.0-nightly-25f304dea-241003", | ||
"@react-aria/focus": "^3.0.0-nightly-25f304dea-241003", | ||
"@react-aria/form": "^3.0.0-nightly-25f304dea-241003", | ||
"@react-aria/i18n": "^3.0.0-nightly-25f304dea-241003", | ||
"@react-aria/interactions": "^3.0.0-nightly-25f304dea-241003", | ||
"@react-aria/label": "^3.0.0-nightly-25f304dea-241003", | ||
"@react-aria/spinbutton": "^3.0.0-nightly-25f304dea-241003", | ||
"@react-aria/utils": "^3.0.0-nightly-25f304dea-241003", | ||
"@react-stately/datepicker": "^3.0.0-nightly-25f304dea-241003", | ||
"@react-stately/form": "^3.0.0-nightly-25f304dea-241003", | ||
"@react-types/button": "^3.0.0-nightly-25f304dea-241003", | ||
"@react-types/calendar": "^3.0.0-nightly-25f304dea-241003", | ||
"@react-types/datepicker": "^3.0.0-nightly-25f304dea-241003", | ||
"@react-types/dialog": "^3.0.0-nightly-25f304dea-241003", | ||
"@react-types/shared": "^3.0.0-nightly-25f304dea-241003", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -52,3 +52,3 @@ }, | ||
}, | ||
"stableVersion": "3.11.2" | ||
"stableVersion": "3.11.3" | ||
} |
@@ -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 @@ } |
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
533551
Updated@internationalized/date@^3.0.0-nightly-25f304dea-241003
Updated@internationalized/number@^3.0.0-nightly-25f304dea-241003
Updated@internationalized/string@^3.0.0-nightly-25f304dea-241003
Updated@react-aria/interactions@^3.0.0-nightly-25f304dea-241003
Updated@react-aria/spinbutton@^3.0.0-nightly-25f304dea-241003
Updated@react-stately/datepicker@^3.0.0-nightly-25f304dea-241003
Updated@react-types/calendar@^3.0.0-nightly-25f304dea-241003
Updated@react-types/datepicker@^3.0.0-nightly-25f304dea-241003