- In general follow (https://docs.npmjs.com/getting-started/semantic-versioning) versioning.
- Added
dataLookUpLeafValueprop
- Fixed horizontal scrollbar
- Fixed title width
- Fixed selected parent node background color
- Fixed Internet Explorer specific float left issues
- Changed selected background color, area and opacity
- Added hover background
- Increased padding between lines
handleExpandedKeysManuallyanddefaultExpandAllprops
- Remove redundant
showLineprop - Remove external images from styles and use FontAwesome library instead
- Remove base64 encoded images from the styles. Component should now be CSP-compliant.
- Bug and layout fixes
- Arrows for reordering tree elements (
showOrderingArrowsandonOrderButtonClickprops) - Added
@opuscapita/react-perfect-scrollbararound tree - Made some changes on how nodes are expanded. Now it's not necessary to provide external
onExpandcallback in most of the cases.
- Hotfix:
expandedKeysdefault value from[]to undefined.
- Item shouldn't get deselected when clicking on the header. This is now fixed.
- Removed
defaultExpandedKeys,defaultSelectedKeysanddefaultCheckedKeysprops. You can achieve the same result withexpandedKeys,selectedKeysandcheckedKeys.
- Added expand all toggle and
showExpandAll,headerRight&titleprops
- Added
deselectOnContainerClickprop - Fixed README
- Fixed examples
- Fixed package name to
react-tree-component
- Rewrote the whole drag n' drop functionality. Hopefully it works better now.
- Some CSS fixes. The Tree is now using
oc-cm-common-styleslibrary - A couple of new props (
selectedKeys&&isDragDropLegal)
- Checkboxes are now implemented with CSS.
- Removed extra padding around rc-tree and made a few other adjustments
- Renamed treeClass prop to className, so that the component will play nicely with styled-components, etc.
- Move react-icons from devDependencies to dependencies
- Added a custom Checkbox component
- Set 'caret' as a default iconClass for "switchers"
- Changed disabling logic a bit (removed disableCheckboxes prop and added disabled prop)
- Added a drag 'n drop functionality
- Fixed a bug where tree rendered incorrectly when there were no items in the list
- Fixed examples and a few eslint issues
- Initial release