All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.8.0 (2020-08-10)
- accidentally deleted own styling (c664ade)
- don't prettify changelog (8615412)
- open collective link (d55561e)
- remove outdated links from readme (7a07263)
- scroll to search focused tree item (#756) (e528a4c)
- set themes using new api (c2c1075)
- site (95cb249)
- website imports (8e7f83d)
- website pt 2 (6914959)
2.7.1 (2019-11-12)
2.7.0 (2019-10-14)
2.6.2 (2019-03-21)
2.6.1 (2019-03-19)
2.6.0 (2018-12-11)
2.5.0 (2018-12-10)
2.4.0 (2018-12-10)
2.3.0 (2018-10-23)
- deploy storybook to main site. fix links (599f2ed)
- propagate the expanded treeData to editor (bd0df92)
- update links to new website (d68c3bf)
- update props link + added PRs welcome badge (c83c2aa)
- update screenshot tests (4977cb1)
2.2.0 (2018-06-12)
- correct link to react-virtualized props (#349) (46961ed)
- remove the extra s on style.css (#342) (77451bc)
- commonjs, es6, umd build supports (#327) (6556e4d)
- NEW DOCS + SITE (#343) (176b8c3)
- Only serve cjs and esm builds (#351) (2c01832)
- row direction support (#337) (5bef44b)
2.1.2 (2018-05-23)
2.1.1 (2018-04-29)
2.1.0 (2018-03-04)
2.0.1 (2018-02-10)
- restore highlight line appearance (2c95205)
2.0.0 (2018-02-10)
-
from v2.0.0 on, you must import the css for the component yourself, using
import 'react-sortable-tree/style.css';
. You only need to do this once in your application. -
Support dropped for IE versions earlier than IE 11
1.8.1 (2018-01-21)
- rename parentNode callback param to nextParentNode (24bf39d)
1.8.0 (2018-01-21)
- Parent node in onMoveNode callback (537c6a4)
1.7.0 (2018-01-16)
-
add onDragStateChanged callback (2caa9d1)
onDragStateChanged is called when dragging begins and ends, so you can easily track the current state of dragging.
Thanks to @wuweiweiwu for the contribution!
1.6.0 (2018-01-14)
-
add more parameters to rowHeight. Fixes #199 (8ff0ff2)
Thanks to @wuweiweiwu for the contribution!
1.5.5 (2018-01-13)
1.5.4 (2018-01-07)
- UglifyJS enabled to remove dead code, which had been causing issues with some builds. If the presence of UglifyJS causes issues in your production builds, please refer to https://github.com/frontend-collective/react-sortable-tree#if-it-throws-typeerror-fn-is-not-a-function-errors-in-production
1.5.3 (2017-12-09)
- dragging past the bottom of the tree no longer slows down rendering (3ce35f3)
1.5.2 (2017-11-28)
- correct positioning of full-width draggable rows (00396d1)
1.5.1 (2017-11-28)
1.5.0 (2017-10-29)
- Fix oblong collapse/expand button appearance on mobile safari (62dfdec)
- enable the use of themes for simplified appearance customization (d07c6a7)
1.4.0 (2017-10-13)
- Add path argument to onVisibilityToggle callback (25cd134)
1.3.1 (2017-10-03)
1.3.0 (2017-09-20)
- Provide more row parameters in rowHeight callback (1b88b18)
1.2.2 (2017-09-12)
- Specify version of react-dnd-html5-backend to avoid invalid package installs (a09b611)
1.2.1 (2017-09-06)
- Allow children function in default renderer (6f1dcac)
1.2.0 (2017-08-12)
- Add
shouldCopyOnOutsideDrop
prop to enable copying of nodes that leave the tree (d6a9be9)
1.1.1 (2017-08-06)
- tree-to-tree: Fix node depth when dragging between trees (323ccad)
1.1.0 (2017-08-05)
- node-renderer: Make title and subtitle insertable via props (fff72c6)
1.0.0 (2017-08-05)
- External node offset was shifted (d1ae0eb)
- get rid of
dndWrapExternalSource
api (d103e9f)
- tree-to-tree: Enable tree-to-tree drag-and-drop (6986a23)
- Display droppable placeholder element when tree is empty (2cd371c)
- Add
prevPath
andprevTreeIndex
to theonMoveNode
callback (6986a23)
- Trees that are empty now display a placeholder element in their place instead of being simply empty.
dndWrapExternalSource
api no longer exists. You can achieve the same functionality and more with react-dnd APIs, as demonstrated in the storybook example.
0.1.21 (2017-07-15)
- Remove console.log left in after development (da27c47)
See the GitHub Releases for information on updates.