v1.0.0-beta.1
Pre-release
Pre-release
Complete rewrite with a new modular architecture. All previous APIs have changed — see the documentation.
Breaking Changes
DragControllerrenamed toDndControllerpositionis now a required prop onDndDraggable- Type filtering moved from
data={{ type, accepts }}to dedicatedtype/acceptsprops DndPreviewis no longer used directly — remove all manual placements
Features
- Drop previews and dragged item visibility handled automatically — no manual
DndPreview,hiddenId, orvisibleItemsneeded onDragStart/onDragEndcallbacks no longer return an unsubscribe function — cleanup is automaticDndSimulatorfor programmatic drag simulationmode="target"onDndDroppablefor non-sortable drop zones (trash, board columns)overlapprop for intersection-based hit detectiononDropCancelledcallbackPreviewConfigandScrollConfigfor fine-tuning animations and auto-scrollDndControllerConfigconstructor config onDndController- Touch support: long-press delay, momentum scroll, configurable scroll cancel threshold
- SSR compatibility
Bug Fixes
- Post-drop translation snap eliminated
- Ghost return animation is scroll-aware
- Drop preview correctly scoped in nested containers
- Drag activation prevented in draggable padding area
Build
- Migrated to Turborepo monorepo
Docs
- New docs with live examples
Full Changelog: v0.3.0...v1.0.0-beta.1