New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@react-aria/dnd

Package Overview
Dependencies
Maintainers
2
Versions
816
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-aria/dnd - npm Package Compare versions

Comparing version

to
3.0.0-nightly-a626c2596-240926

3

dist/DragManager.main.js

@@ -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-a626c2596-240926",
"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-a626c2596-240926",
"@react-aria/i18n": "^3.0.0-nightly-a626c2596-240926",
"@react-aria/interactions": "^3.0.0-nightly-a626c2596-240926",
"@react-aria/live-announcer": "^3.0.0-nightly-a626c2596-240926",
"@react-aria/overlays": "^3.0.0-nightly-a626c2596-240926",
"@react-aria/utils": "^3.0.0-nightly-a626c2596-240926",
"@react-stately/dnd": "^3.0.0-nightly-a626c2596-240926",
"@react-types/button": "^3.0.0-nightly-a626c2596-240926",
"@react-types/shared": "^3.0.0-nightly-a626c2596-240926",
"@swc/helpers": "^0.5.0"

@@ -36,0 +36,0 @@ },

@@ -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