dnd-manager 1.2.0 → 1.3.0
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/CHANGELOG.md +25 -0
- package/LICENSE +0 -0
- package/README.md +290 -768
- package/dist/index.d.mts +146 -12
- package/dist/index.mjs +468 -77
- package/dist/index.mjs.map +1 -1
- package/package.json +16 -13
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
The releases of dnd-manager, newest first. Versions follow semver.
|
|
4
|
+
|
|
5
|
+
## 1.3.0 (2026-10-25)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- add focusOnPress, so a press can focus the draggable (f3d641b)
|
|
10
|
+
- add keyboard pick-and-place (keyboard: true) (2588899)
|
|
11
|
+
- add dragDelay for long-press activation, and keep touch drags alive (58a090f)
|
|
12
|
+
- add canDrop to reject drop targets while dragging (94f8c1d)
|
|
13
|
+
- improve onDragEnd by passing the dropped item info (c38280e)
|
|
14
|
+
|
|
15
|
+
### Fixes
|
|
16
|
+
|
|
17
|
+
- keep touch drags alive on iOS Safari and when the source leaves the DOM (662437f)
|
|
18
|
+
- keep the source's identity and drag state out of the preview clone (2034b43)
|
|
19
|
+
- let one manager take a press in nested containers, and add dropScope (8f1f3de)
|
|
20
|
+
- follow pointermove on the window while a press is held (c7a1ee7)
|
|
21
|
+
- auto-scroll scroll containers, and keep scrolling at a resting edge (41569f8)
|
|
22
|
+
- reject non-primary pointers only for touch (d550b3f)
|
|
23
|
+
- ignore presses from secondary buttons and non-primary pointers (7a638ec)
|
|
24
|
+
- swallow the native click that follows a drag (5f4cd2c)
|
|
25
|
+
- ts config (5a3de4e)
|
package/LICENSE
CHANGED
|
File without changes
|