Skip to content

Releases: brimdata/react-arborist

Version 2.1.0

02 Nov 20:25
fb73338
Compare
Choose a tag to compare

What's Changed

Add nodes as arguments to handler functions.

For example:

onDelete={(args) => {
  args.ids 
  args.nodes // The node objects that correspond to those ids.
}}

This was needed to distinguish internal nodes from leaf nodes in the delete handler.

Remove the IdObj constraint on the data and initialData props.

Previously you needed to have a string id field, but now you don't. If your id is represented by a different field, you can use the idAccessor prop.

Full Changelog: v2.0.0...v2.1.0

Version 2.0.0

27 Oct 14:29
9cb377e
Compare
Choose a tag to compare

What's Changed

This release makes breaking changes to the Tree Props and the Node Renderer APIs. The README contains the new documentation. These changes have enabled many new features and bug fixes such as:

  • Keyboard navigation
  • Aria Roles fixes (fixes #9)
  • Smart "scrollTo" behavior
  • Automatically sync selection
  • Tree filtering now handled by arborist
  • Moves "openness" state into the tree with an "initialOpens" prop
  • Simple NodeApi class for use in the node renderer
  • Ability to specify the drag handler (fixes #38)
  • Splits the NodeRenderer into a RowRenderer and a NodeRenderer with defaults resulting in less boilerplate. (fixes #8)
  • Adds an onActivate callback
  • Adds an onSelect callback (fixes #44)
  • Adds an onCreate callback
  • Adds an onDelete callback
  • Adds an onScroll callback (fixes #30)
  • Improved abstractions for focus, selection, and activation (fixes #1, fixes #6)
  • Fixes the bug where you can drag a parent into itself (fixes #41)

Full Changelog: v1.2.0...v2.0.0

Version 2 Release Candidate 2

25 Oct 21:04
f6ad47c
Compare
Choose a tag to compare
Pre-release
Tidy up before release (#50)

* Update README
* Rename drop cursor to just cursor
* Update the showcase
* Only use defaults if the value is undefined.
* Remove renderContainer from the readme for now.
* Smarter canDrop function for outer drop
* Add more selection booleans
* Add script to build website

Version 2 Release Candidate

20 Oct 23:37
dd627e9
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: v1.2.0...v2.0.0-rc.1

Version 1.2.0

24 Jul 03:08
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.2.0

Demo of Custom Drop Cursor

XiY95GUW9e

Version 1.1.0

28 May 00:29
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.4...v1.1.0

Version 1.0.4

27 May 22:49
d1bc649
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.3...v1.0.4

v1.0.3

21 Mar 20:20
Compare
Choose a tag to compare

A small release to update the homepage site to the demo.

Version 1.0.2

19 Mar 19:55
Compare
Choose a tag to compare
v1.0.2

Update package.json

Version 1.0.1

19 Mar 18:12
Compare
Choose a tag to compare

Make sure the readme appears on npmjs.org