hig-bot
released this
07 Mar 03:53
·
197 commits
to master
since this release
@weave-design/tree-view-v1.0.0 (2023-03-07)
Bug Fixes
- add PropType validation for selected and defaultSelected (b489459)
- controlled TreeItem styling (defe6a6)
- do not trigger onChange during onOperatorClick (bd760be)
- fix misaligned guidelines (8d17ee4)
- Forcing semantic release by editing readmes (d39b61f)
- label prop for subtree (389dca7)
- refactor componendDIdupdate in functional (215ba42)
- tree-view change prop type (08bd9dc)
- unit testing (29a1a1b)
Code Refactoring
- Major Release - React 17 Upgrade (2523711)
Features
- add an onChange prop (3c38939)
- add selected and defaultSelected props (a60ebec)
- add treeview component (c69667e)
- dblClick: double click to expand or collapse tree item (#2580) (8a2fd84)
- Expose onOperatorClick for expand/collapse (8417cad)
- HOC: TreeView can contain high order TreeItem (d2fca9a)
- make selected to be Array (54798c2)
- make TreeItem support 'ref' property (2151107)
- pass in ...props to the root of the TreeItem (25ee6c0)
- pass internal method to table events (3431295)
- tree view label to return props (b1a93fd)
- updating peer dependencies release (0a8a2b6)
Reverts
- "Revert "Revert "feat : Migrate all repository to React v17.0 """ (bf78986)
BREAKING CHANGES
- This release includes upgrading to React 17 and all associated libraries. The components have also had structural changes, utilizing stateless components and hooks. There should be no change in look or behavior of components. The code usage is the same so if you’re already on react 17 you can bump the version directly. If you’re on an old version of react you’ll need to upgrade your project’s react first to 17 and then the HIG components. This upgrade also means no more fixes for the react 15 version but it will still be available for download from NPM. You can fork the repo and make fixes with the older version if there is something critical past this release date.