二货爱吃白萝卜
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
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
...
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
ycjcl868
0306096356
chore: update snapshot
2019-12-26 15:15:46 +08:00
zombiej
2ba81538d8
chore: Merge master
2019-11-13 11:48:20 +08:00
afc163
94c3978208
📝 fix English translation missing of site footer
2019-11-08 16:25:08 +08:00
骗你是小猫咪
4ded5e6777
fix: Drawer content overflow when placement is top or bottom ( #19506 )
...
* fix: drawer content overflow
* update snapshots
* review change
2019-11-06 10:47:36 +08:00
zombiej
c75bbbd13d
merge master
2019-10-16 10:44:56 +08:00
afc163
a877db72ef
✨ Add drawerStyle
and headerStyle
...
close #18975
2019-10-07 19:56:57 +08:00
zombiej
3d8a4f3612
merge master
2019-08-29 23:41:46 +08:00
afc163
a51f7a0508
✅ test unmount
2019-08-27 18:31:01 +08:00