·
54 commits
to main
since this release
Minor Changes
- 21d1679: add
canDragForeignDragObjectOverto allow customizing whether a draggable visualization should be shown when dragging foreign data. This allows differentiating logic between drag-over and drop (via the existingcanDropForeignDataObject), since for the latterdataTransfer.getDatais not available by default in browsers.
Patch Changes
- e8ddbb0: Added
item.updateCachedData(data)in async tree feature, that works similar to the existingitem.updateCachedChildrenIds(childrenIds)feature - 662e2a8: Added stories and documentation on how to use nested DOM rendering for tree structures instead of flat lists,
which can be used for animating expand/collapse behavior - b41e1d2: fixed a bug where ending drag without successful drop doesn't properly reset drag line (#132)
- b413f74: Fix
aria-posinsetandaria-levelto be 1-based indexing - a250b3b: Fix a bug where expand from the initial keyboard focus fails when rootItemId is an empty string
- 62867e8: Introduced a short delay before hiding the drag line when leaving a drag target, which helps to reduce flickering of the dragline when moving between items
- c4579eb: Update keyboard drag and drop to include the focused item in the dragged items
- 662e2a8: Improved customizability of checkboxes feature (still alpha state), allowing you to customize
propagateCheckedStateandcanCheckFoldersindependently - 662e2a8: Changed to new buildtool in core packages (now using tsup) to hopefully fix some ESM/CJS integrations