react-checkbox-tree

A simple and elegant checkbox tree for React.

MIT License

Downloads
363.5K
Stars
707
Committers
23
react-checkbox-tree - Release v1.8.0 Latest Release

Published by jakezatecky about 2 years ago

v1.8.0 (2022-09-06)

Other

  • [#329] Add React 18 to the peer dependency list (Note: React 18 is not part of the automatic testing, but should work)
react-checkbox-tree - Release v1.7.3

Published by jakezatecky over 2 years ago

v1.7.3 (2022-05-23)

Bug Fixes

  • [#258]: Fix check behavior on nodes with an empty children array
react-checkbox-tree - Release v1.7.2

Published by jakezatecky about 3 years ago

v1.7.2 (2021-08-09)

Bug Fixes

  • [#281]: Fix accessibility issues with checkbox nodes
  • [#288]: Fix issue with custom checkbox icons appearing when nativeCheckboxes={true}
react-checkbox-tree - Release v1.7.0

Published by jakezatecky over 3 years ago

v1.7.0 (2021-06-08)

New Features

  • [#182]: Add direction property to support RTL languages
  • [#211]: Throw an error when nodes have duplicate values
  • [#244]: Add expandNodesToLevel utility

Bug Fixes

  • [#208]: Add missing onCheck argument in TypeScript definition
  • [#248]: Add missing onExpand argument in TypeScript definition
react-checkbox-tree - Release v1.6.0

Published by jakezatecky almost 5 years ago

v1.6.0 (2019-12-11)

New Features

  • [#13]: Add checkModel property to specify which nodes should be stored in the checked array (currently "all" and "leaf" supported)
  • [#126]: Add iconsClass property and allow 'fa5' to fully support Font Awesome 5 icons
  • [#171]: Allow parent nodes to have an empty children array

Bug Fixes

  • [#127]: Change TypeScript definition of TreeNode's label property to React.ReactNode to better align with the PropType
  • [#145]: Fix alignment of many React properties to TypeScript typings
  • [#180]: Fix issue where the id property did not apply to the top-level CheckboxTree container
react-checkbox-tree - Release v1.5.0

Published by jakezatecky almost 6 years ago

v1.5.0 (2019-01-25)

New Features

  • [#116]: Add id property to specify the DOM ID for the generated tree nodes
  • [#122]: Add label, isLeaf, isParent, parent, treeDepth, and level metadata to the target node of onCheck, onClick, and onExpand handlers

Bug Fixes

  • [#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
react-checkbox-tree - Release v1.4.1

Published by jakezatecky about 6 years ago

v1.4.1 (2018-09-21)

Bug Fixes

  • [#113]: Add missing expandOpen property from TypeScript declaration (...again)
react-checkbox-tree - Release v1.4.0

Published by jakezatecky about 6 years ago

v1.4.0 (2018-09-21)

New Features

  • [#114]: Add rct-node-expanded and rct-node-collapsed classes to expanded and collapsed parent nodes

Bug Fixes

  • [#113]: Add missing expandOpen property from TypeScript declaration
react-checkbox-tree - Release v1.3.1

Published by jakezatecky about 6 years ago

v1.3.1 (2018-09-06)

Bug Fixes

  • [#109]: Fix erroneous PropTypes check for lang property
react-checkbox-tree - Release v1.3.0

Published by jakezatecky about 6 years ago

v1.3.0 (2018-09-05)

New Features

  • [#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 and showNodeTitle tree property
  • [#108]: Add lang property for language customization

Bug Fixes

  • [#61]: Fix issue where disabled children would be checked if a parent node was checked

Other

  • [#91]: Prevent disconnection between Sass and Less files on build
  • [#97]: Some performance optimizations
react-checkbox-tree - Release v1.2.4

Published by jakezatecky about 6 years ago

v1.2.4 (2018-08-29)

Bug Fixes

  • [#82], [#84]: Fix undefined Crypto API errors in Node environments
  • [#104]: Fix issue where numeric node values could trigger PropType warnings
react-checkbox-tree - Release v1.2.3

Published by jakezatecky over 6 years ago

v1.2.3 (2018-06-23)

Bug Fixes

  • [#81]: Fix render errors for all numeric value types
react-checkbox-tree - Release v1.2.2

Published by jakezatecky over 6 years ago

v1.2.2 (2018-05-24)

Bug Fixes

  • [#89]: Fix misnamed variables in the Less stylesheets
  • [#90]: Coerce NaN types to string when outputting DOM IDs
react-checkbox-tree - Release v1.2.1

Published by jakezatecky over 6 years ago

v1.2.1 (2018-05-10)

Bug Fixes

  • [#87]: Fix issue where passing the onClick property would trigger a warning about unique key prop
react-checkbox-tree - Release v1.2.0

Published by jakezatecky over 6 years ago

v1.2.0 (2018-05-08)

New Features

  • [#68]: Add onClick and expandOnClick properties

Other

  • [#69]: Tree will no longer throw an exception if checked or expanded contains values that do not recursively exist in the nodes property
react-checkbox-tree - Release v1.1.0

Published by jakezatecky over 6 years ago

v1.1.0 (2018-03-31)

New Features

  • [#53]: Add nativeCheckboxes property to allow use of native browser checkboxes instead of pseudo-checkbox icons
  • [#72]: Add the node that triggers onCheck or onExpand as a second parameter to the callback functions
  • [#80]: Add onlyLeafCheckboxes property and support showCheckbox on the node-level
react-checkbox-tree - Release v1.0.2

Published by jakezatecky about 7 years ago

v1.0.2 (2017-10-24)

Bug Fixes

  • [#57]: Fix an issue where node values with spaces in them would cause validation errors
react-checkbox-tree - Release v1.0.1

Published by jakezatecky about 7 years ago

v1.0.1 (2017-09-30)

Dependencies

  • [#54]: Add support for React 16
react-checkbox-tree - Release v1.0.0

Published by jakezatecky about 7 years ago

v1.0.0 (2017-09-21)

New Features

  • [#49]: Add the ability to specify disabled to individual nodes
  • [#50]: Allow node.label to be any valid React node

Usability

  • [#51]: Apply additional background color when a node is active
react-checkbox-tree - Release v0.6.4

Published by jakezatecky about 7 years ago

v0.6.4 (2017-07-22)

Bug Fix

  • [#42]: Fix npm package not aligning with Git version