svelte-dnd-action 0.9.75 → 0.9.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
- package/src/keyboardAction.js +1 -0
package/dist/index.js
CHANGED
|
@@ -2602,6 +2602,7 @@
|
|
|
2602
2602
|
});
|
|
2603
2603
|
setCurrentFocusedItem(e.currentTarget);
|
|
2604
2604
|
focusedDz = node;
|
|
2605
|
+
focusedDzLabel = node.getAttribute("aria-label") || "";
|
|
2605
2606
|
draggedItemType = config.type;
|
|
2606
2607
|
isDragging = true;
|
|
2607
2608
|
var dropTargets = Array.from(typeToDropZones.get(config.type)).filter(function (dz) {
|
package/dist/index.mjs
CHANGED
|
@@ -2596,6 +2596,7 @@ function dndzone$1(node, options) {
|
|
|
2596
2596
|
});
|
|
2597
2597
|
setCurrentFocusedItem(e.currentTarget);
|
|
2598
2598
|
focusedDz = node;
|
|
2599
|
+
focusedDzLabel = node.getAttribute("aria-label") || "";
|
|
2599
2600
|
draggedItemType = config.type;
|
|
2600
2601
|
isDragging = true;
|
|
2601
2602
|
var dropTargets = Array.from(typeToDropZones.get(config.type)).filter(function (dz) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelte-dnd-action",
|
|
3
3
|
"description": "*An awesome drag and drop library for Svelte 3 and 4 (not using the browser's built-in dnd, thanks god): Rich animations, nested containers, touch support and more *",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.76",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/isaacHagoel/svelte-dnd-action.git"
|
package/src/keyboardAction.js
CHANGED
|
@@ -269,6 +269,7 @@ export function dndzone(node, options) {
|
|
|
269
269
|
printDebug(() => "drag start");
|
|
270
270
|
setCurrentFocusedItem(e.currentTarget);
|
|
271
271
|
focusedDz = node;
|
|
272
|
+
focusedDzLabel = node.getAttribute("aria-label") || "";
|
|
272
273
|
draggedItemType = config.type;
|
|
273
274
|
isDragging = true;
|
|
274
275
|
const dropTargets = Array.from(typeToDropZones.get(config.type)).filter(dz => dz === focusedDz || !dzToConfig.get(dz).dropFromOthersDisabled);
|