@react-aria/dnd
Advanced tools
Comparing version 3.0.0-nightly-9e79420c1-240919 to 3.0.0-nightly-a45e2a5ec-241011
@@ -334,3 +334,4 @@ var $4620ae0dc40f0031$exports = require("./utils.main.js"); | ||
if (!this.initialFocused) { | ||
(0, $hMqHl$reactarialiveannouncer.announce)(item === null || item === void 0 ? void 0 : item.element.getAttribute('aria-label'), 'polite'); | ||
let label = item === null || item === void 0 ? void 0 : item.element.getAttribute('aria-label'); | ||
if (label) (0, $hMqHl$reactarialiveannouncer.announce)(label, 'polite'); | ||
this.initialFocused = true; | ||
@@ -337,0 +338,0 @@ } |
@@ -324,3 +324,4 @@ import {getDragModality as $7252cd45fc48c07c$export$1fb2158d224b542c, getTypes as $7252cd45fc48c07c$export$e1d41611756c6326} from "./utils.module.js"; | ||
if (!this.initialFocused) { | ||
(0, $irqIb$announce)(item === null || item === void 0 ? void 0 : item.element.getAttribute('aria-label'), 'polite'); | ||
let label = item === null || item === void 0 ? void 0 : item.element.getAttribute('aria-label'); | ||
if (label) (0, $irqIb$announce)(label, 'polite'); | ||
this.initialFocused = true; | ||
@@ -327,0 +328,0 @@ } |
{ | ||
"name": "@react-aria/dnd", | ||
"version": "3.0.0-nightly-9e79420c1-240919", | ||
"version": "3.0.0-nightly-a45e2a5ec-241011", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,11 +25,11 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/string": "^3.0.0-nightly-9e79420c1-240919", | ||
"@react-aria/i18n": "^3.0.0-nightly-9e79420c1-240919", | ||
"@react-aria/interactions": "^3.0.0-nightly-9e79420c1-240919", | ||
"@react-aria/live-announcer": "^3.0.0-nightly-9e79420c1-240919", | ||
"@react-aria/overlays": "^3.0.0-nightly-9e79420c1-240919", | ||
"@react-aria/utils": "^3.0.0-nightly-9e79420c1-240919", | ||
"@react-stately/dnd": "^3.0.0-nightly-9e79420c1-240919", | ||
"@react-types/button": "^3.0.0-nightly-9e79420c1-240919", | ||
"@react-types/shared": "^3.0.0-nightly-9e79420c1-240919", | ||
"@internationalized/string": "^3.0.0-nightly-a45e2a5ec-241011", | ||
"@react-aria/i18n": "^3.0.0-nightly-a45e2a5ec-241011", | ||
"@react-aria/interactions": "^3.0.0-nightly-a45e2a5ec-241011", | ||
"@react-aria/live-announcer": "^3.0.0-nightly-a45e2a5ec-241011", | ||
"@react-aria/overlays": "^3.0.0-nightly-a45e2a5ec-241011", | ||
"@react-aria/utils": "^3.0.0-nightly-a45e2a5ec-241011", | ||
"@react-stately/dnd": "^3.0.0-nightly-a45e2a5ec-241011", | ||
"@react-types/button": "^3.0.0-nightly-a45e2a5ec-241011", | ||
"@react-types/shared": "^3.0.0-nightly-a45e2a5ec-241011", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -44,3 +44,3 @@ }, | ||
}, | ||
"stableVersion": "3.7.2" | ||
"stableVersion": "3.7.3" | ||
} |
@@ -495,3 +495,6 @@ /* | ||
if (!this.initialFocused) { | ||
announce(item?.element.getAttribute('aria-label'), 'polite'); | ||
let label = item?.element.getAttribute('aria-label'); | ||
if (label) { | ||
announce(label, 'polite'); | ||
} | ||
this.initialFocused = true; | ||
@@ -498,0 +501,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
1704149
16011