@dnd-kit/react@0.5.0
Minor Changes
- #2058
2dd8d0eThanks @timagixe! - AllowuseSortable,createSortableandSortableto disable dragging and dropping independently with adisabledobject while preserving the existing boolean behavior.
Patch Changes
-
#2021
de5a0f4Thanks @lixiaoyan! - FixeduseDraggableanduseSortablereassigning the underlying entity'ssensorson every render whensensorswas passed as an inline array. Thesensorsprop is now compared withdeepEqual(matching the existing behavior ofmodifiers,plugins, andDragDropProvider), preventing unnecessary mutations to the plugin registry that could disrupt in-progress sensor activation. -
#2043
a6bd445Thanks @clauderic! - Include sourcemap files in published packages. The build emits.mapfiles alongside each entry point and writes//# sourceMappingURL=...comments into the bundles, but thefilesfield inpackage.jsondid not list the maps, so they were excluded from the npm tarball. Bundlers attempting to load the referenced maps would fail withENOENT, producing warnings (or build failures in strict CI setups). -
Updated dependencies [
e4d1a7e,e25b1b1,00fd955,e4792f3,f23afe0,2dd8d0e]:- @dnd-kit/abstract@0.5.0
- @dnd-kit/dom@0.5.0
- @dnd-kit/state@0.5.0