Releases: lukasbach/headless-tree
Releases · lukasbach/headless-tree
@headless-tree/react@1.6.3
@headless-tree/react@1.6.3
@headless-tree/core@1.6.3
Patch Changes
- 4397d8c: Added
draggedItemOverwritesSelectionas config option to the Drag Feature. Setting it to false will disable the current default behavior, where dragging an unselected item will overwrite the selection to just the dragged item.
@headless-tree/react@1.6.2
@headless-tree/react@1.6.2
@headless-tree/core@1.6.2
Patch Changes
- 39a8b44: Add skipUpdateTree parameter to
updateCachedChildrenIdsandupdateCachedDatain async tree loader - 26ecc1b: Fixed an issue where dropping items inside a collapsed folder will make the tree become un-focusable until a new item is clicked with mouse again. This could break usage with keyboard-only drag operations.
- 0108b7a: Fixed a bug where some hotkeys (like up/down navigation, search and renaming) doesn't work after items are dragged within the tree (#179)
- ffd2619: Fixed an issue where
canDropForeignDragObjectwas being called inonDragOverevents without payload.canDropForeignDragObjectshould never be called inonDragOverevents since there, browsers do not allow access to the data transfer payload. Now,canDropForeignDragObjectis only called in onDrop events, andcanDragForeignDragObjectOveris always called inonDragOverevents.
@headless-tree/react@1.6.1
@headless-tree/react@1.6.1
@headless-tree/core@1.6.1
@headless-tree/react@1.6.0
Patch Changes
- e2c256d: Added alternative entrypoint for setups using React Compiler. Details on https://headless-tree.lukasbach.com/guides/react-compiler
@headless-tree/core@1.6.0
Minor Changes
- 297b575: The anchor for shift-selecting (
item.selectUpTo()) is now the last item that was clicked while not holding shift, or alternatively the focused item if that didn't exist. The previous behavior was always using the focused item as anchor, which doesn't match common multi-select behaviors in similar applications (#176)
Patch Changes
- 287fe40: Added missing
aria-expandedattribute to tree items (thanks to @gordey4doronin for the contribution) (#171) - 7158afe: Improve rerendering behavior by skipping changes to the item loading state when items are already loading, and skipping changes to loading state in case of checkbox click propagation if items are loaded immediately (#173)
@headless-tree/react@1.5.1
@headless-tree/react@1.5.1