dnd_kit_jaspr 0.3.0-dev.1
dnd_kit_jaspr: ^0.3.0-dev.1 copied to clipboard
Jaspr (web) adapter for the dnd_kit drag-and-drop family, built on the shared dnd_kit engine.
Changelog #
0.3.0-dev.1 #
- Adds the Jaspr sortable preset at parity with the Flutter adapter:
SortableScope(item order + pluggableSortableStrategy, defaultverticalList) andSortableItem(a draggable + droppable that reportsSortableMoveDetailsreorder intent viaonMove). - Reuses the shared
dnd_kitengine reorder math, so Jaspr and Flutter compute identical move intent and Jaspr inherits the vertical/horizontal/grid single-container strategies already re-exported from the engine. No engine or Flutter change. See ADR 0019. - Multi-container sorting (
SortableContainer/SortableMultiContainer) is not included; it remains a Flutter-only experimental feature for now.
0.3.0-dev.0 #
- Depends on the renamed engine package
dnd_kit: ^0.3.0-dev.0(previouslydnd_kit_core, now discontinued). No Jaspr API change — the dependency rename and version bump only track the engine package becomingdnd_kit. See ADR 0017.
0.2.0-dev.0 #
- First public development release of
dnd_kit_jaspr. - Ships the first shared-runtime Jaspr drag-and-drop surface:
DndScope,DndController,DndDraggable,DndDroppable,DndDragHandle, andDndDragOverlay. - Supports mouse, touch, and keyboard drag activation on top of the shared
DndRuntime, including handle-only activation and keyboard drag flows. - Adds vertical
DndAutoScrollfor browser scroll containers, reusing the shareddnd_kit_coreauto-scroll edge and velocity math. - Adds accessibility support through
DndLiveRegionandDndAnnouncements, plus accessible labels/descriptions for draggables and drag handles. - Includes browser-tested modifier behavior and the
examples/jaspr_basic_drag_dropexample app as the current integration proof. - Keeps the adapter SSR-safe: browser access stays guarded and no Flutter dependency is introduced.
- Sortable presets are not included yet; they follow in a later phase.