@react-aria/dnd
Advanced tools
Comparing version 3.0.0-nightly-641446f65-240905 to 3.0.0-nightly-69109f003-241018
@@ -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-641446f65-240905", | ||
"version": "3.0.0-nightly-69109f003-241018", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,11 +25,11 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@internationalized/string": "^3.0.0-nightly-641446f65-240905", | ||
"@react-aria/i18n": "^3.0.0-nightly-641446f65-240905", | ||
"@react-aria/interactions": "^3.0.0-nightly-641446f65-240905", | ||
"@react-aria/live-announcer": "^3.0.0-nightly-641446f65-240905", | ||
"@react-aria/overlays": "^3.0.0-nightly-641446f65-240905", | ||
"@react-aria/utils": "^3.0.0-nightly-641446f65-240905", | ||
"@react-stately/dnd": "^3.0.0-nightly-641446f65-240905", | ||
"@react-types/button": "^3.0.0-nightly-641446f65-240905", | ||
"@react-types/shared": "^3.0.0-nightly-641446f65-240905", | ||
"@internationalized/string": "^3.0.0-nightly-69109f003-241018", | ||
"@react-aria/i18n": "^3.0.0-nightly-69109f003-241018", | ||
"@react-aria/interactions": "^3.0.0-nightly-69109f003-241018", | ||
"@react-aria/live-announcer": "^3.0.0-nightly-69109f003-241018", | ||
"@react-aria/overlays": "^3.0.0-nightly-69109f003-241018", | ||
"@react-aria/utils": "^3.0.0-nightly-69109f003-241018", | ||
"@react-stately/dnd": "^3.0.0-nightly-69109f003-241018", | ||
"@react-types/button": "^3.0.0-nightly-69109f003-241018", | ||
"@react-types/shared": "^3.0.0-nightly-69109f003-241018", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -44,3 +44,3 @@ }, | ||
}, | ||
"stableVersion": "3.7.2" | ||
"stableVersion": "3.7.4" | ||
} |
@@ -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
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
1704149
16011
0