Commit Graph

311 Commits

Author SHA1 Message Date
zombieJ
fb6b6a1b0b
fix: Use mock of lodash.debounce (#15904)
* another try

* rm mock file
2019-04-07 19:39:04 +08:00
zombieJ
107943673f
use mock function (#15847) 2019-04-04 00:12:04 +08:00
babycannotsay
c3a6e47cc3
fix prop 'onLoaded' of TreeProps
set onLoaded to onLoad in order to be same as rc-tree
2019-03-28 16:20:59 +08:00
zefeng
d0a1196e63 remove useless param in tree doc (#15591) 2019-03-23 12:19:36 +08:00
zombiej
65dd36a466 rm useless 2019-03-13 15:57:42 +08:00
Cheng
c882a4b918 Style tree content to full width (#14858)
*  (tree) new blockNode props

* 💄 (tree) style for blockNode

* 📝 (tree) update draggable demo

* 🐛 (tree) fix custom switcherIcon class

*  (tree) update snapshots

* 📝 (tree) update docs

* 👌 opt trans
2019-03-08 12:36:46 +08:00
orzorzorzorz
642307481a fix: unexpected return (#14982) 2019-02-21 20:49:04 +08:00
杨小事er
0f91fb07e9 fix(tree): fix growing space (#14964)
* fix(tree): fix growing space

* fix(tree): remove last child 4px padding bottom and keep others

* Update index.less
2019-02-21 11:17:52 +08:00
zy410419243
7f1dea0ab1 fix: wrong usage of polyfill 2019-02-19 15:52:19 +08:00
zy410419243
9d5454c7b7 pref: add missing polyfill 2019-02-19 15:52:19 +08:00
zy410419243
14945cb7a7 chore(DirectoryTree): migrate to new lifecycle method 2019-02-19 15:52:19 +08:00
米老朱
6936599aef Enhance stylelint rules (#14803)
* rename .stylelintrc to .stylelintrc.json for explicit file type

* add new npm script lint-fix:style

* fix pseudo-element with double colon

* function name should be lower except ignored functions

* support stylelint declaration-block-no-ignored-properties rule

* support sorted CSS properties order for readability and consistency

* autofix order of all styles by lint-fix:style script

* remove double slash comments after selector

* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
zombiej
ff8ef180e8 add hide icon sample on showLine 2019-01-26 19:46:30 +08:00
zombiej
0a67272ae4 add locale update 2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca icon add aria-label support 2019-01-10 21:55:21 +08:00
zombiej
874ed98e31 merge master 2019-01-02 17:12:34 +08:00
orzorzorzorz
23e8bc93f2 pref: add missing drag event of Tree (#14032)
close #14031
2019-01-02 09:21:45 +08:00
afc163
e6bdd3d656 fix snapshot and defaultValue warning 2018-12-28 23:00:34 +08:00
afc163
879784c665
Merge branch "master" into "feature" 2018-12-20 17:43:00 +08:00
nick-ChenZe
bc20797a61 feat: update docs for switcherIcon 2018-12-20 17:16:44 +08:00
nick-ChenZe
d814c19356 feat: add switcherIcon prop to Tree 2018-12-20 17:16:44 +08:00
Sam Lanning
af8a025aeb [chore] remove additional unused variable 2018-12-20 17:16:00 +08:00
Sam Lanning
e56e1a71c3 [chore] fix useless assignments to local variables
This commit addresses all the instances of useless assignments to
local variables, as found by LGTM.com
2018-12-20 17:16:00 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls (#13389)
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
83c192ea3e
💄 fix eslint problems 2018-11-28 15:11:02 +08:00
afc163
c0ba2eb456
💄 tweak tree switcher icon size 2018-11-26 13:42:49 +08:00
ztplz
f25757ef9d Add missing types for tree 2018-11-15 14:02:29 +08:00
ztplz
3130a9584d Delete extra blank line 2018-11-12 12:14:28 +08:00
afc163
a616f89a1b 🔥 update less code style 2018-11-12 12:02:30 +08:00
ztplz
6ad23c370e Fix CI 2018-11-10 22:09:29 +08:00
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +08:00
zombiej
bc35582643 update tree draggable demo 2018-10-25 11:19:17 +08:00
zombiej
38fd268199 fix #12567
Use same expand logic in DirTree with switcher & selector
2018-10-10 11:51:34 +08:00
Wei Zhu
a3ce6678cb Update snapshot 2018-10-01 23:57:45 +08:00
zombiej
1c85bb3b62 fix #12396. Support expandedKeys when init 2018-09-25 15:29:07 +08:00
zombiej
e58273dccf fix #12269. Fix Tree onDrop ts type 2018-09-17 17:37:20 +08:00
HeskeyBaozi
976f6969f4 update test snapshot 2018-09-07 14:14:23 +08:00
zombiej
425e477c7f update rc-tree & testcase 2018-09-03 15:11:40 +08:00
HeskeyBaozi
24568f61ff use the whole svg icons 2018-09-02 23:39:58 +08:00
HeskeyBaozi
d5e55e365d test 2018-09-02 23:39:58 +08:00
HeskeyBaozi
2f8a56fa78 fix test case & update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
74798b8911 upgdate test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
c7069b27fe fix icon theme code style 2018-09-02 20:59:37 +08:00
HeskeyBaozi
359191abeb update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
e91aa112bf remove svgClassName 2018-09-02 20:59:37 +08:00
HeskeyBaozi
d6131fe18d update test snapshot 2018-09-02 20:59:37 +08:00
HeskeyBaozi
0c9465aaf9 upgrade icons library 2018-08-27 20:40:11 +08:00
HeskeyBaozi
7f22efbfae update test sanpshot 2018-08-25 16:09:10 +08:00