Commit Graph

14 Commits

Author SHA1 Message Date
yykoypj
766748a501
feat: change visible to open for drawer (#36750)
* feat: change visible to open for Drawer

* refactor: use open internal either

* feat: add warning when use visible

* test: Fix test

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-23 16:22:00 +08:00
二货机器人
7fb7391cba test: fix test case 2022-07-29 19:26:48 +08:00
二货机器人
d422d71c1e
refactor: Drawer refactor (#36672)
* chore: back part of styl

* chore: all basic

* test: part test case

* test: part test case

* test: more test case

* test: update snapshot

* test: demo test support

* test: update snapshot

* chore: adjust mock logic to inject on rc-drawer instead

* test: more snapshot

* chore: adjust pos

* chore: back of render

* test: drawer demo extends test
2022-07-25 21:04:43 +08:00
二货机器人
2c2c631bfd
chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
yykoypj
166100ee1b
test: move test cases to @testing/library for Drawer (#35839) 2022-06-01 09:40:25 +08:00
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases (#35026)
* test: React StrictMode

* test: fix Spin test

* chore: wrapper enzyme

* test: fix setState

* test: more test cover

* test: more test cover

* test: more test cover

* test: more test cover

* test: more test cover

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: more test case

* test: disable part of it

* test: fix test & add placeholder

* test: Use orign enzyme mount

Co-authored-by: zombiej <smith3816@gmail.com>
2022-04-18 21:02:11 +08:00
JinXin
ad8aa87373
feat: multi drawer push (#25445) 2020-07-12 18:47:14 +08:00
jljsj
bc39c158ab add test 2019-07-17 20:41:53 +08:00
偏右
ad99b4322d test: Add eslint-plugin-jest (#15825) 2019-04-03 15:54:26 +08:00
陈帅
dca9715186 support prettier 2018-12-07 18:27:30 +08:00
陈帅
cc2bd76595 add top MultiDrawer 2018-08-22 23:27:52 +08:00
陈帅
2ca3661e87 placement add top and bottom 2018-08-22 23:27:52 +08:00
afc163
76afe5037d demo: improve drawer demo and test case code 2018-08-05 14:28:39 +08:00
陈帅
d0c684e925 add wrapClassName and multi-level-drawer test 2018-07-22 11:55:46 +08:00