Skip to content

Releases: lukasbach/headless-tree

@headless-tree/[email protected]

15 Jun 18:36

Choose a tag to compare

Minor Changes

  • 647a072: Fixed incorrect package.json exports configurations to proper ESM and CJS exports (#104)

  • 349d36e: change package.json["module"] to commonjs to fix inconsistent package definitiuons (#104)

  • e2faf37: Fixed an issue async data loaders that resolve data before the tree is mounted can cause the tree to not render at all

    Note: When using the createTree() API directly instead of going through the React useTree API, an additional call
    to tree.rebuildItems() afterwards will be necessary. This change is marked as minor release regardless, since createTree is
    currently not a publically documented feature.

@headless-tree/[email protected]

15 Jun 18:36

Choose a tag to compare

Minor Changes

  • 647a072: Fixed incorrect package.json exports configurations to proper ESM and CJS exports (#104)

  • 349d36e: change package.json["module"] to commonjs to fix inconsistent package definitiuons (#104)

  • e2faf37: Fixed an issue async data loaders that resolve data before the tree is mounted can cause the tree to not render at all

    Note: When using the createTree() API directly instead of going through the React useTree API, an additional call
    to tree.rebuildItems() afterwards will be necessary. This change is marked as minor release regardless, since createTree is
    currently not a publically documented feature.

Patch Changes

  • 727c982: export makeStateUpdater from core package
  • c041a3f: expose isOrderedDragTarget as utility method to differentiate between ordered and unordered drag targets (#108)
  • 2887b0c: Added a item.getKey() utility method to use for generating React keys. For now, this just returns the item id, so no migration is needed from using item.getId() as React keys.
  • 4e79bc7: Fixed a bug where feature.overwrites is not always respected when features are sorted during tree initialization
  • 0669580: Fixed a bug where items that call item.getProps while being renamed, can be dragged while being renamed (#110)

@headless-tree/[email protected]

06 May 23:05

Choose a tag to compare

Patch Changes

@headless-tree/[email protected]

06 May 23:05

Choose a tag to compare

Patch Changes

  • c9f9932: fixed tree.focusNextItem() and tree.focusPreviousItem() throwing if no item is currently focused
  • 6ed84b4: recursive item references are filtered out when rendering (#89)
  • 4bef2f2: fixed a bug where hotkeys involving shift may not work properly depending on the order of shift and other key inputs (#98)

@headless-tree/[email protected]

15 Apr 15:17

Choose a tag to compare

Patch Changes

@headless-tree/[email protected]

15 Apr 15:17

Choose a tag to compare

Minor Changes

  • 9e5027b: The propMemoization feature now memoizes all prop-generation related functions, including searchinput and renameinput related props

@headless-tree/[email protected]

30 Mar 23:26

Choose a tag to compare

Patch Changes

@headless-tree/[email protected]

30 Mar 23:26

Choose a tag to compare

Patch Changes

  • 2af5668: Bug fix: Mutations to expanded tree items from outside will now trigger a rebuild of the tree structure (#65)
  • 617faea: Support for keyboard-controlled drag-and-drop events

@headless-tree/[email protected]

24 Feb 21:20

Choose a tag to compare

Patch Changes

@headless-tree/[email protected]

24 Feb 21:19

Choose a tag to compare

Patch Changes