叶枫
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>
3 years ago
dingkang
58df74c38e
docs: replace class component with hooks ( #35519 )
* docs(badge): replace class component with hooks
* docs(button): replace class component with hooks
* docs(calendar): replace class component with hooks
* docs(card): replace class component with hooks
* docs(button): replace class component with hooks
* chore(deps): remove webpack devDependencies
* docs(cascader): replace class component with hooks
* docs(checkbox): replace class component with hooks
* docs(collapse): replace class component with hooks
* docs(comment): replace class component with hooks
* docs(descriptions): replace class component with hooks
* docs(config-provider): replace class component with hooks
* docs(date-picker): replace class component with hooks
* docs(drawer): replace class component with hooks
* docs(dropdown): replace class component with hooks
* docs(dropdown): replace class component with hooks
* docs(empty): replace class component with hooks
* docs(grid): replace class component with hooks
* docs(input): replace class component with hooks
* docs(input-number): replace class component with hooks
* docs(demo): fix lint error
3 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
afc163
cbd4f1b66d
docs: update getContainer of Modal and Drawer ( #35141 )
close https://github.com/ant-design/ant-design/issues/35124
3 years ago
afc163
37e3e1a83e
docs: update Drawer overview image ( #35099 )
* docs: update Drawer overview image
* Update index.en-US.md
3 years ago
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>
3 years ago
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
3 years ago
二货机器人
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
3 years ago
二货机器人
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
3 years ago
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
3 years ago
黑雨
087b65c3b9
feat: delete drawer wrap ( #34673 )
3 years ago
Yunwoo Ji
76cc520efe
docs: fix type of style in drawer component ( #34665 )
3 years ago
Yunwoo Ji
2709c5f747
docs: fix default value of height in drawer component ( #34652 )
3 years ago
qdzhaoxiaodao
60aaa70069
feat: add variable for aliyun theme of drawer ( #34188 )
Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com>
3 years ago
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
3 years ago
二货机器人
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
3 years ago
afc163
1db4ac2040
fix: Drawer title position ( #33205 )
3 years ago
Gabriel Mendez Reyes
106679346e
fix: en-US#docs-fix Drawer closable description ( #33035 )
* Update index.en-US.md
* Update index.en-US.md
* Update index.en-US.md
3 years ago
shuchang
4dcc85edef
docs: fix Drawer onClose description ( #33031 )
Drawer 抽屉现在关闭按钮都在左上角了,描述不对
3 years ago
GannonSun
d9ce96af3b
docs: fix Drawer closable description ( #33018 )
关闭按钮移至左上角了
3 years ago
afc163
4ca697611f
chore: remove unused css code
3 years ago
solitia7125
b1ea2e4c55
fix: opening animation of the bottom drawer ( #32761 )
Co-authored-by: Korra <1178115756@qq.com>
close #32621
3 years ago
renovate[bot]
b6bd4c18b4
chore(deps): update dependency stylelint to v14 ( #32609 )
* chore(deps): update dependency stylelint to v14
* Update package.json
* fix some stylelint
* fix some stylelint
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
* fix some stylelint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
dependabot[bot]
b445baa001
chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2 ( #32451 )
* chore(deps-dev): bump stylelint-config-prettier from 8.0.2 to 9.0.2
Bumps [stylelint-config-prettier](https://github.com/prettier/stylelint-config-prettier ) from 8.0.2 to 9.0.2.
- [Release notes](https://github.com/prettier/stylelint-config-prettier/releases )
- [Commits](https://github.com/prettier/stylelint-config-prettier/compare/v8.0.2...v9.0.2 )
---
updated-dependencies:
- dependency-name: stylelint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: autofix stylelint errors
* chore: autofix stylelint errors
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
afc163
3569715fab
style: optimize drawer animation ( #32342 )
close #32317
3 years ago
二货机器人
e13c4d4131
fix: Less Maximum call stack size exceeded error ( #32063 )
* chore: create additional entry
* fix: rm recv call
* chore: Add default.less as index.less
* chore: update entry
* fix: row should also translate
* chore: rename index-default to index and add index-pure instead
* fix: missing transfer customize styl
3 years ago
David Santos
63ddba3023
fix: Drawer levelMove types ( #30714 )
3 years ago
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>
3 years ago
二货机器人
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
3 years ago
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
4 years ago
Kermit
4e429714bb
fix(drawer): add contentWrapperStyle type declaration ( #29571 )
* fix(drawer): add contentWrapperStyle type declaration
* chore: add test case
4 years ago
Tom Xu
e5d908a078
docs: format api ( #29537 )
4 years ago
afc163
76434a15df
chore( 🆙 ): upgrade devDeps ( #29418 )
* chore(🆙 ): upgrade devDeps
* prettier code
* fix dnd demo
* fix react-dnd demo
* fix npm start and demo tsx compile
* fix snapshot
4 years ago
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>
4 years ago
Kermit
b94eb2aa44
feat(drawer): support contentWrapperStyle ( #29219 )
4 years ago
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
* style: prettier code
* update
* Update index.less
4 years ago
Yuxuan Huo
7f50e3fe3e
fix(drawer): footer horizontal padding use theme variable ( #28975 )
4 years ago
二货机器人
4315ac567c
chore: replace omit ( #28846 )
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
4 years ago
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
4 years ago
偏右
0223e2ed5a
chore( 🆙 ): upgrade less to 4.0.0 ( #28466 )
* chore(🆙 ): upgrade less to 4.0.0
* chore(🆙 ): upgrade bisheng to 3.0.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix for less 4.0
* fix progress font size
4 years ago
二货机器人
55e0d13234
chore: Add demo tsx check ( #28389 )
* chore: Add demo tsx check
* chore: Prettier
* chore: Fix lint
* fix: Upload ts definition
* chore: Demo onlt
* docs: Fix demo
* chore: Add CI action
* chore: Use real name
* chore: fix ts define
* chore: fix more ts
* chore: fix more ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: More ts
* chore: Update all rest TS demo
* fix test case
4 years ago
Daniel
d598a1d498
fix: fix drawer wrong characters ( #28382 )
4 years ago
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>
4 years ago
偏右
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>
4 years ago
xrkffgg
36cdf0a129
refactor: direction type define ( #27540 )
4 years ago
二货机器人
d6bd89e370
fix: Form warning ( #27343 )
* fix: Not warning in drawer
* add test case
4 years ago
骗你是小猫咪
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
4 years ago
Tom Xu
d44f404eae
docs: sort api ( #27251 )
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
4 years ago
陈帅
3770b3f423
fix: if form warp drawer, close button will trigger submit ( #27175 )
* fix: if form warp drawer, close button will trigger submit
* update snapshot
4 years ago
Tom Xu
5f2588ffd1
docs: improve api type docs ( #27038 )
4 years ago