v1.5.0 (2019-01-25)
- [#116]: Add
id
property to specify the DOM ID for the generated tree nodes - [#122]: Add
label
,isLeaf
,isParent
,parent
,treeDepth
, andlevel
metadata to the target node ofonCheck
,onClick
, andonExpand
handlers
- [#119]: Fix issue where an initially disabled tree could not be enabled after the initial render
- [#120]: Fix issue where Internet Explorer and Microsoft Edge browsers would fail to update check state when a parent was in a half-check or indeterminate state
- [#125]: Fix misalignment of TreeNode's
label
property between PropType and TypeScript definitions
- [#115]: Add example react-fontawesome usage for the
icons
prop
v1.4.1 (2018-09-21)
- [#113]: Add missing
expandOpen
property from TypeScript declaration (...again)
v1.4.0 (2018-09-21)
- [#114]: Add
rct-node-expanded
andrct-node-collapsed
classes to expanded and collapsed parent nodes
- [#113]: Add missing
expandOpen
property from TypeScript declaration
v1.3.1 (2018-09-06)
- [#109]: Fix erroneous PropTypes check for
lang
property
v1.3.0 (2018-09-05)
- [#79]: Add
showExpandAll
property to give the user the ability to expand or collapse all nodes in the tree - [#96]: Add TypeScript definitions
- [#102]: Add
icons
property to allow specification of icon components - [#103]: Add
title
node property andshowNodeTitle
tree property - [#108]: Add
lang
property for language customization
- [#61]: Fix issue where disabled children would be checked if a parent node was checked
- [#91]: Prevent disconnection between Sass and Less files on build
- [#97]: Some performance optimizations
v1.2.4 (2018-08-29)
- [#82], [#84]: Fix undefined Crypto API errors in Node environments
- [#104]: Fix issue where numeric node values could trigger PropType warnings
v1.2.3 (2018-06-23)
- [#81]: Fix render errors for all numeric value types
v1.2.2 (2018-05-24)
- [#89]: Fix misnamed variables in the Less stylesheets
- [#90]: Coerce NaN types to string when outputting DOM IDs
v1.2.1 (2018-05-10)
- [#87]: Fix issue where passing the
onClick
property would trigger a warning about uniquekey
prop
v1.2.0 (2018-05-08)
- [#68]: Add
onClick
andexpandOnClick
properties
- [#69]: Tree will no longer throw an exception if
checked
orexpanded
contains values that do not recursively exist in thenodes
property
v1.1.0 (2018-03-31)
- [#53]: Add
nativeCheckboxes
property to allow use of native browser checkboxes instead of pseudo-checkbox icons - [#72]: Add the node that triggers
onCheck
oronExpand
as a second parameter to the callback functions - [#80]: Add
onlyLeafCheckboxes
property and supportshowCheckbox
on the node-level
v1.0.2 (2017-10-24)
- [#57]: Fix an issue where node values with spaces in them would cause validation errors
v1.0.1 (2017-09-30)
- [#54]: Add support for React 16
v1.0.0 (2017-09-21)
- [#49]: Add the ability to specify
disabled
to individual nodes - [#50]: Allow
node.label
to be any valid React node
- [#51]: Apply additional background color when a node is active
v0.6.4 (2017-07-22)
- [#42]: Fix npm package not aligning with Git version
v0.6.3 (2017-05-30)
The v0.6.x series will likely be the last series before the v1.0 release. The API is not expected to significantly change, but new features will not be added to pre-1.0 versions.
- [#35]: Add
disabled
andexpandDisabled
options to<CheckboxTree>
v0.6.2 (2017-05-25)
- [#34]: Add
noCascade
option to decouple parent check state from children
v0.6.1 (2017-05-09)
- [#33]: Add a
prepublish
command to ensure that the./lib
folder is built before package is published to npm
v0.6.0 (2017-05-06)
- [#32]: Allow customization of
className
at the node level - [#30]: Add
showNodeIcon
property to optionally remove node icons
- [#14]: Component performance when rendering and updating a large number of nodes has been significantly increased
v0.5.2 (2017-05-03)
- [#31]: Fix issue where expand buttons would submit a parent form
v0.5.1 (2017-03-21)
- [#27]: Add
rct-node-leaf
andrct-node-parent
classes to the TreeNode<li>
element
v0.5.0 (2017-03-12)
- [#20]: Remove deprecated
title
property innodes
(uselabel
instead)
- [#2]: Allow customization of icons via CSS
- [#26]: Allow icon customization at node level
v0.4.2 (2017-02-27)
- [#22]: Remove expand-like behavior on nodes without children
- [#23]: Fix issue where property validation was not occurring on node items
v0.4.1 (2017-02-15)
- [#20]: Add support for
label
innodes
property and deprecatetitle
- [#21]: Add greater accessibility support
v0.4.0 (2017-01-27)
- [#17]: Auto-prefix CSS styles to support older browsers
- [#18]: Remove unnecessary margin on tree lists
- [#15]: Provide
optimisticToggle
configuration to toggle child nodes optimistically or pessimistically