- Upgrade
rc-animate
. - Remove
react-lifecycles-compat
andprop-types
.
- TreeNode support
checkable
.
- Remove old animation api and use
motion
instead.
- add
onClick
&onDoubleClick
for node click event - add related className in treeNode
- fix drag into another tree will throw exception
onCheck
arguments provide nativeEventonSelect
arguments provide nativeEventonExpand
arguments provide nativeEvent
- adjust
dragable
logic to make drag more smooth - fix
loadData
trigger twice when expand node - add
icon
prop onTree
- fix check by prop not work on
disabled
node
- code refactor and optimize logic
- add
disabled
API - add
icon
API
- add
onDragEnd
API and fix related issues.
- make
autoExpandParent
also work in controlled mode.(Before just work in uncontrolled mode) - change
onExpand
params- old: function(node, expanded, expandedKeys)
- new: function(expandedKeys, {expanded: bool, node})
- remove
halfCheckedKeys
api, and changecheckedKeys
to an object on settingcheckStrictly
.
- improve performance.
- add
checkStrictly
/halfCheckedKeys
api.
- change
onDrop
params (fromoriginExpandedKeys
torawExpandedKeys
)
- change
onSelect
/onCheck
params
- change drag api (from
onTreeXX
toonXX
)
- change
onDataLoaded
api toloadData
- add
expandedKeys
/onExpand
/filterTreeNode
api
- add
onMouseEnter
/onMouseLeave
api
- add draggable feature #5
- add contextmenu feature #5
- add dynamic feature #4
- support checkbox