lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
This reverts commit ea8ed28209
.
2 years ago
lijianan
ea8ed28209
chore: unified import method ( #42149 )
* chore: unified import method
* fix lint
2 years ago
acyza
3b60671fb9
fix: switcherIcon cannot be hidden ( #41708 )
* fix: switcherIcon cannot be hidden
* fix: switcherIcon cannot be hidden
* chore: update
* chore: add test case
* chore: fix test
2 years ago
lijianan
fd4cab792b
🦄 ️ refactor: renderSwitcherIcon => React.FC ( #41556 )
2 years ago
lijianan
1f201d5cc9
chore: adjust parameter order ( #40256 )
2 years ago
lijianan
3d33c34010
chore: use includes instead indexOf ( #38139 )
* chore: use includes instead indexOf
* fix: fix
2 years ago
二货机器人
069e44bcc3
chore: merge master
2 years ago
William Bergeron-Drouin
24d165ab9b
feat: [Tree] Custom leaf icon ( #37144 )
* Add ability to customize leafIcon
* Adapt docs
* Update test snapshots
* Update to single prop & adapt demo
* Update tests
* Rename icon type
* Fix docs
* Rename to .tsx and fix types
* Remove useless id properties in test
2 years ago
Alan Deng
3920a724cc
feat: Tree/TreeSelect `switcherIcon` support more parameter in argument ( #36651 )
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
zombiej
65cec1458f
chore: fix ts
3 years ago
zombiej
85a351ed3b
chore: test fix
3 years ago
二货机器人
5b8e4e51e9
chore: Compatible for @types/react@18 ( #34937 )
* chore: bump types def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: part ts def
* chore: free --legacy-peer-deps
* chore: ignore peer
* chore: fix ts logic
* chore: use fork docsearch
* chore: fix demo ts
3 years ago
zqran
452c5835ec
feat: Tree `switcherIcon` prop support render-prop ( #34470 )
* feat: Tree `switcherIcon` prop support render-prop
* add test for `switcherIcon` render-prop
* change the `switcherIcon` prop type of `TreeSelect`
* fix switcherIcon render-prop condition
* fix switcherIcon
3 years ago
huangkairan
b03fae3f70
chore: fix types declaration ( #32935 )
3 years ago
Jingsong Gao
706ec5cdb1
fix(Tree): fix tree drop indicator default direction ( #28150 )
4 years ago
07akioni
35ee97dad4
refactor: tree drag behavior ( #26462 )
* refactor: Tree drag behavior
* fix: cov
* docs: Tree draggable, specify the difference compared with last version
4 years ago
偏右
ab56668d40
feat: Tree support showLeafIcon in showLine ( #25271 )
closes #23261
Co-authored-by: zoomdong <1344492820@qq.com>
4 years ago
zoomdong
3044ed1f99
feat: adjust
4 years ago
zoomdong
d4384c4fdc
feat: add type
5 years ago
偏右
ee51df1853
✅ add more test cases for Tree ( #25115 )
4 years ago
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
* update config
* replace react function
* fix alert
5 years ago
pdeva
3e22b505a3
fix: proper react import ( #23381 )
* proper react import
fix for #22708
* update iconutil in select
* update in tree component
5 years ago
Amumu
c70b49a709
fix: fix tree key ts type ( #23348 )
* fix tree key ts type
* revert snap
5 years ago
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
* alert
* more icons
* another grouping
* all done
5 years ago
偏右
2ebaa7e7a6
🐛 fix Tree switcherIcon shown in leaf node ( #20753 ) ( #20755 )
close #20511
5 years ago
二货机器人
64b905e9bd
chore: Update `@ant-design/icons` deps ( #19979 )
* update icons deps
* update all icon ref
* fix lint
* update snapshot
5 years ago
二货机器人
4907996b97
feat: TreeSelect use virtual scroll ( #19040 )
* use new rc-tree-select
* support not found
* add switch icon support
* support function
* support selection motion
* show search icon if open
* clean up
* fix lint
* fix lint
5 years ago