二货机器人
5f28b2e5a4
chore: merge maaster
2022-10-11 14:54:30 +08:00
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
...
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2022-10-08 16:17:20 +08:00
二货爱吃白萝卜
f4859202f5
fix: Nest Drawer default open show order ( #37767 )
...
* chore: bump drawer
* docs: Drawer test demo
* test: Update snapshot
* docs: Update demo
* chore: fix nest style
* chore: trigger CI
* chore: modify bundle size
2022-09-29 00:05:37 +08:00
黑雨
01ca7c7821
test: convert demo to testing-lib ( #37381 )
...
* test: replace testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: update snap
* test: replace testing-lib
* test: replace testing-lib
* test: update for lint
* merge: merge
* test: testing-lib
* test: replace testing-lib
* test: testing-lib
* test: testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: Replace test aria replacment logic
* test: Update snapshot
* chore: hack for id
* test: clean up
* test: clean demo
* chore: update
* test: snapshot update
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* chore: update demo
* test: fix snapshot rep logic
* test: Update snapshot
* test: rest snapshot
* test: update snapshot
* test: Update test case
* test: config env
* chore: clean up
* chore: Use renderServer instead
* test: adjust testing logic
* test: modify test logic
* test: split ssr test
* test: skip if need skip
* chore: ignore test file covv
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-09 15:51:35 +08:00
lijianan
c34caad24c
test: js => ts ( #37392 )
...
* test: js => ts
* test: add test
* fix: fix eslint error
* test: add test case
* fix: fix test error
* fix: fix eslint error
* fix: fix eslint error
* fix: eslint error fix
* fix: fallback eslint config & add test case
* test: add all test case
* fix: bugfix
* fix: bugFix
* fix: bugFix
* fix: bugFix
* fix: lint
* fix: add React.createRef
* fix: add breadcrumbName in Routes
* fix: any commit for restart ci/cd
* fix: remove type
* fix: test fix
* fix: test fix
* fix: add ts-ignore for id
* test: add Icon test case
* test: remove ts-ignore
* test: add Icon test case
2022-09-05 19:41:32 +08:00
MadCcc
e5e2159882
Merge branch 'feature' into master-merge-feature
2022-09-04 14:46:28 +08:00
dependabot[bot]
7e7c47509f
chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1 ( #37291 )
...
* chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 26.9.0 to 27.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.9.0...v27.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint errors in test files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2022-08-30 10:57:13 +08:00
Uladzimir Atroshchanka
c9fd7fb8f1
feat: Input fields in error are missing multiple ARIA attributes ( #36762 )
...
* feat: add implementation and update snapshots
* test: update snapshot
* test: update snapshots
* test: update snapshots
* test: update snapshots
2022-08-24 17:07:50 +08:00
yykoypj
1919b5f7d9
feat: switch visible to open for Drawer ( #37047 )
...
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-23 14:52:37 +08:00
二货爱吃白萝卜
73b3c7828d
fix: Drawer add motion deadline ( #37100 )
...
* fix: Drawer add motion deadline
* test: Update snapshot
* test: ignore motion in snapshot render
2022-08-17 11:16:01 +08:00
二货爱吃白萝卜
dcc114e042
test: Adjust Drawer test case ( #36964 )
2022-08-09 14:31:53 +08:00
二货爱吃白萝卜
3012c77482
fix: Drawer zIndex ( #36958 )
2022-08-08 22:09:51 +08:00
二货机器人
ddb97b22ba
chore: collapse title text auto width ( #36761 )
...
* chore: collapse title text auto width
* test: fix mock snapshot
2022-07-28 20:30:41 +08:00
二货机器人
24be945ea8
fix: Not work in old browser ( #36748 )
...
* fix: Drawer contentWrapperStyle logic
* fix: Update style
* test: Update snapshot
* test: More test case
2022-07-27 23:44:45 +08:00
二货机器人
740d9f4111
fix: Drawer width with ptg ( #36729 )
...
* fix: Drawer width with ptg
* test:Update snapshot
2022-07-27 16:50:55 +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
afc163
6423e22f78
chore: merge feature
2022-06-01 18:28:31 +08:00
叶枫
c3fc5db788
fix: drawer close twice children is undefined ( #35853 )
...
* fix: drawer close twice children is undefined
* fix: drawer close twice children is undefined
* chore: code
* fix: test
2022-06-01 16:46:55 +08:00
yykoypj
166100ee1b
test: move test cases to @testing/library for Drawer ( #35839 )
2022-06-01 09:40:25 +08:00
MadCcc
e9e2d18121
Merge branch 'master' into feature-merge-master
2022-05-25 11:03:13 +08:00
叶枫
5e5ad935a4
fix: drawer can not ref form instance when open ( #35706 )
...
* fix: drawer can not ref form instance when open
* fix: test
* feat: div ref
* feat: test
* feat: test
* feat: test
* feat: test
2022-05-25 10:50:12 +08:00
叶枫
644e4bfc6a
fix: drawer close speed ( #35339 )
...
* fix: drawer close speed
* chroe: snap
* chroe: test
* chroe: test
* feat: remove file
* feat: 重新整理
* feat: forceRender
* feat: snap
* chroe: test
* chroe: test
* chroe: test
* feat: create event
* feat: diff code
* feat: forceRender
* chore: test (#35364 )
* Update components/drawer/index.tsx
Co-authored-by: afc163 <afc163@gmail.com>
* feat: remove load state
* feat: test
* fix: destroyOnClose
* feat: add load
* fix: update snap
* fix: update snap
* feat: reset test
* feat: docs
* feat: test
* feat: test
Co-authored-by: afc163 <afc163@gmail.com>
2022-05-16 10:14:26 +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
二货机器人
67ccf39bd3
fix: Notification & message throw createRoot
warning in React 18 ( #35030 )
...
* chore: bump notification version
* test: notification test case
* test: more test case
* test: part message test
* test: rest message test
* test: notification config test
2022-04-14 18:09:19 +08:00
二货机器人
a67c0d28d3
fix: react 18 test fixing ( #34787 )
...
* fix: try fix
* chore: ci
* test: recover
* test: more test case
* test: more and mote
* test: btn test
* fix: react 18 compitable
* chore: more test
* test: all confirm test
* chore: tmp
* chore: test lib
* chore: tmp
* chore: tmp
* test: back of part
* test: back of menu index test
* test: more test
* test: form test
* test: rm IE11 test case
* chore: fix compatible
* chore: clean up
* chore: back of all test case
* test: ignore 18 lines
* chore: remove render test of enzyme in upload
* test: back of IE11 test case to fit 100% coverage
* chore: fix pkg deps
2022-04-06 11:07:15 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
2022-02-11 15:02:59 +08:00
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
...
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
2021-12-23 11:51:10 +08:00
Shengnan
e4cbb9cedd
chore: update rc-drawer & fix snap ( #32007 )
...
* chore: bump rc-drawer to 4.4.2
* feat: DrawerProps interface add autoFocus support
* docs: add autoFocus to Drawer doc
* fix: snapshot update
* fix: snapshot update
* Update components/drawer/index.en-US.md
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2021-09-02 18:57:25 +08:00
二货机器人
93dd93bf45
docs: add 4.17.0-alpha.0 changelog ( #31987 )
...
* chore: 4.17.0 changelog
* chore: Update emoji
* docs: Update changelog
* docs: dynamic theme ref
* chore: bump version
* docs: Update content
* docs: Add ref
* docs: Add rc changelog
* chore: bump version
* test: Update snapshot
2021-09-01 15:39:09 +08:00
afc163
62949a6bd6
feat: change Drawer close icon placement and add extra property ( #30908 )
...
* feat: Drawer supports extra
* docs: add description for drawer extra demo
* docs: add extra in API
* update snapshot
* fix rtl style
* fix demo typescript errors
* update snapshot
* design for close icon only
* update snapshot
* update demo and default width
* add size prop
* improve demo
* update snapshot
* update demo
* update snapshot
2021-06-11 08:39:17 +08:00
Kermit
4e429714bb
fix(drawer): add contentWrapperStyle type declaration ( #29571 )
...
* fix(drawer): add contentWrapperStyle type declaration
* chore: add test case
2021-03-02 13:13:51 +08:00
afc163
4ee9253467
refactor(drawer): rewrite with hook from @hosseinmd ( #29229 )
...
* refactor: drawer to functional component and hooks
* chore: clean code default value
* perf: remove doesn't necessary useCallback
* chore: useContext instead of Consumer
* fix ref
* Add Drawer displayName
* fix tsc
* fix tsc
Co-authored-by: Hossein Mohammadi <hosseinm.developer@gmail.com>
2021-02-05 10:47:17 +08:00
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
...
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-12-09 17:12:32 +08:00
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
...
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
二货机器人
d6bd89e370
fix: Form warning ( #27343 )
...
* fix: Not warning in drawer
* add test case
2020-10-24 14:47:44 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
...
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
2020-10-23 18:50:46 +08:00
陈帅
3770b3f423
fix: if form warp drawer, close button will trigger submit ( #27175 )
...
* fix: if form warp drawer, close button will trigger submit
* update snapshot
2020-10-15 18:54:24 +08:00
JinXin
ad8aa87373
feat: multi drawer push ( #25445 )
2020-07-12 18:47:14 +08:00
偏右
5c18fbdb66
feat: 🆕 support Drawer closeIcon ( #24842 )
...
* feat: 🆕 support Drawer closeIcon
close #19283
close #19153
* add test case
* update docs
2020-06-08 19:24:29 +08:00
陈帅
30217ade3f
fix: Drawer cannot open ( #24802 )
...
* bugfix: fix drawer getContainer is null error
* add test
2020-06-07 19:05:44 +08:00
陈帅
6493db80d4
feat: drawer support getPopupContainer and getPrefixCls by ConfigProvider ( #24727 )
...
* feat: drawer support ConfigConsumer.getPopupContainer and getPrefixCls
* update snapshot
* add getPopupContainer test
2020-06-04 23:12:37 +08:00
偏右
6ad1b18a47
fix: Drawer cover other elements when closed ( #24290 )
...
* fix: Drawer cover other elements when closed
close #24287
* Add no-mask demo for Drawer
2020-05-19 18:11:21 +08:00
偏右
0a70563e44
chore: fix drawer demo ( #24015 )
...
* 🎬 improve drawer demo
* 🎬 fix drawer demo glitch
close #24011
2020-05-10 17:15:41 +08:00
二货机器人
9cd8f79366
fix snapshot ( #23760 )
2020-04-29 21:41:58 +08:00
xrkffgg
f606ca23f4
site: optimize site of components 2 ( #23731 )
...
* docs: optimize site of component 2
* add demo
* fix snap
* remove class
2020-04-29 16:21:56 +08:00
二货机器人
d95dc831dd
fix: Drawer close btn style ( #22710 )
...
* fix: Drawer close btn style
* fix lint
* snapshot
* update snapshot
2020-03-29 12:38:12 +08:00
偏右
9eaaea14a7
📝 fix Drawer forceRender
doc and tsd ( #21774 )
...
close #15287
2020-03-02 17:28:45 +08:00
Zhengquan Xian
219cae3355
fix: Drawer footerStyle react warning ( #20983 )
...
fix #20978
2020-01-17 19:50:02 +08:00
Dean van Niekerk
019fdd58a0
feat: add footer property to Drawer ( #20690 )
2020-01-06 14:56:00 +08:00