-
-
Notifications
You must be signed in to change notification settings - Fork 49.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Space duplicated key warning #35311
Conversation
Size Change: +24 B (0%) Total Size: 951 kB
ℹ️ View Unchanged
|
Codecov Report
@@ Coverage Diff @@
## master #35311 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 424 424
Lines 7954 7955 +1
Branches 2368 2368
=========================================
+ Hits 7954 7955 +1
Continue to review full report at Codecov.
|
@@ -89,11 +89,14 @@ const Space: React.FC<SpaceProps> = props => { | |||
} | |||
|
|||
const keyOfChild = child && child.key; | |||
// Add `-space-item` as suffix in case simple key string trigger duplicated key warning | |||
// https://github.com/ant-design/ant-design/issues/35305 | |||
const defaultKey = `${i}-space-item`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感谢 🙏
虽然生成的 key 丑了点. ant-space-item-1-space-item
😄
* feat: Dropdown support switch options with arrow keys (ant-design#34738) * feat: dropdown support auto-focus * chore: code clean * fix: skeleton cannot display children (ant-design#34751) * fix: skeleton cannot display children * fix: type error * fix: add test case Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * chore: update rc-tabs version (ant-design#34757) * test: Update snapshot (ant-design#34758) * fix: ci fail rollback * fix: ci fail rollback * feat: Input.Group prevent components from getting style from Form.Item (ant-design#34764) * feat: Input.Group provide isFormInput false * test: update snapshot * chore: code clean * docs: replace grid design img (ant-design#34771) * chore: replace grid design img * fix: code error * chore: comiple use matrix (ant-design#34770) * chore: comiple use matrix * chore: 16 deps * chore: not install 16 * chore: update * chore: to 16 * chore: install 16 * chore: install 16 * chore: install 16 * chore: install 16 * chore: concurrent * chore: back all * chore: fix lines * chore: cancel if new comes * chore: single dist speed up * chore: fix * chore: fix * chore: update * fix: deps * test: update snapshot * chore: React 18 test case (ant-design#34781) * chore: add 18 test * chore: update test flow * chore: fail fast * chore: foce ci * chore: more if * chore: test it * chore: back of it * chore: master only * chore: fix spell * chore: force install * test: comment 16 tmp * chore: use react 17 * chore: install 18 * chore: back of 16 & 17 * fix: Pagination should display middle size Select when ConfigProvider componentSize is large (ant-design#34756) * fix: Pagination should display middle size Select when ConfigProvider componentSize is large close ant-design#34744 * fix snapshot * fix: correct className (ant-design#34791) * feat: Anchor supports `getCurrentAnchor(activeLink)` (ant-design#34799) close ant-design#34784 * docs: update draggable demo with rtl mode (ant-design#34785) * docs: update draggable demo with rtl mode * test: update tabs demo snapshot * Update faq.zh-CN.md * docs: patch 4.19.3 change log (ant-design#34821) * Patch 4.19.3 changelog * docs: patch logs * docs: fix author * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * emoji * emoji Co-authored-by: afc163 <afc163@gmail.com> * chore: minify themes css (ant-design#34824) * docs: Add faq (ant-design#34830) * feat: Tree `switcherIcon` prop support render-prop (ant-design#34470) * feat: Tree `switcherIcon` prop support render-prop * add test for `switcherIcon` render-prop * change the `switcherIcon` prop type of `TreeSelect` * fix switcherIcon render-prop condition * fix switcherIcon * fix: Form unmount miss origin store value (ant-design#34845) * docs: 4.19.5 changelog (ant-design#34851) * docs: demo support react18 (ant-design#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 * docs: add size property to progress (ant-design#34860) * chore(deps-dev): bump eslint-plugin-unicorn from 41.0.1 to 42.0.0 (ant-design#34861) Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 41.0.1 to 42.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](sindresorhus/eslint-plugin-unicorn@v41.0.1...v42.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-unicorn dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: Update de_DE.tsx (ant-design#34836) * fix: set requestId to null after fn was cancelled (ant-design#34858) * feat: Support ref for Title, Text, Paragraph (ant-design#34847) * feat: Support ref for Title, Text, Paragraph * feat: Add tests for Title, Paragraph and Text * fix: add aria-checked prop to checkbox (ant-design#34862) * fix: add aria-checked prop to checkbox * fix: update snapshots * fix: update aria-checked logic and snapshots * refactor: change props order Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: Dzmitry Yarmoshkin <dzmitry_yarmoshkin@epam.com> Co-authored-by: afc163 <afc163@gmail.com> * chore(deps): update moment to 2.29.2 (ant-design#34867) Co-authored-by: Michael Crenshaw <michael_crenshaw@intuit.com> * fix: react 18 test fixing (ant-design#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 * docs: site wrap with strict mode (ant-design#34895) * docs: site wrap with strict mode * chore: bump bisheng * fix: not warpper animation for badge RTL (ant-design#34899) * fix: skeleton cannot dispaly without children and loading props : Skeleton(...) return nothing (ant-design#34872) * fix: skeleton cannot dispaly without children * [CodeFactor] Apply fixes to commit 0b4a968 [ci skip] [skip ci] * fix: update skeleton Co-authored-by: codefactor-io <support@codefactor.io> * refactor: add optionType for Radio internally (ant-design#34849) * refactor: add optionType for Radio internally * fix: lint * fix: update snapshot * feat: remove useless condition for RadioGroupContext * test: add test case for Radio.Button * chore(deps-dev): bump @types/react-dom from 17.0.15 to 18.0.0 (ant-design#34943) Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 17.0.15 to 18.0.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom) --- updated-dependencies: - dependency-name: "@types/react-dom" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: Compatible for @types/react@18 (ant-design#34937) * chore: bump types def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: free --legacy-peer-deps * chore: ignore peer * chore: fix ts logic * chore: use fork docsearch * chore: fix demo ts * chore(deps): update dependency react-highlight-words to ^0.18.0 (ant-design#34954) Co-authored-by: Renovate Bot <bot@renovateapp.com> * feat: add new component `Segmented` (ant-design#34319) * feat: basic implements in antd * feat: use rc-segmented * feat: add some demos * feat: support dark theme * docs: add more demos * feat: support `icon` in segmented * docs: format content * test: add test cases * docs: update docs * chore: update * fix: lint issues * style: add border-radius for selected effect * style: change border-radius-base * chore: update gitignore * feat: segmented support block * chore: update gitignore * feat: support block * feat: add test case * feat: support size * docs: update demos * chore: update * chore: update * test: update * style: update colors * style: hover and focus styles * doc: add version mark in docs * fix: style lint issue * fix: some lint issues * doc: add version in demo mds * doc: add version mark before api details * Revert "doc: add version in demo mds" This reverts commit 2a9e86f. * test: only test for thumb appear * style: update color vars * style: add transition * style: text vertial align * test: update snapshots * feat: add preview svg and support dark theme * fix: update test snapshot * docs: update docs * fix: remove useless z-index * build: add 1kb for bundlesize of antd.variable.min.css Co-authored-by: taian.lta <taian.lta@antgroup.com> * ci: Add GitHub token permissions for workflows (ant-design#34946) * fix: Form layout span 24 usage in responsive mode (ant-design#34907) close ant-design#34903 * fix: small size of Table style problem (ant-design#34963) close ant-design#34949 * test: back of coverage (ant-design#34964) * test: fix coverage * chore: bump bisheng * chore: clean up * chore: update deps * chore: test coverage * chore: test fix * chore: fix ts * chore: fix ts demo * docs: Add faq about chrome with upload * feat: crossorigin attribute of Upload (ant-design#34981) * feat: Add crossOrigin prop to thumbnail image * feat: Add test cases about crossOrigin prop of Upload component * doc: Add a description about crossOrigin prop to Upload component manual * Update components/upload/interface.tsx Update type definition using React.ImgHTMLAttributes Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: hyunseok.kim <hyunseok.kim@42dot.ai> Co-authored-by: afc163 <afc163@gmail.com> * docs: update faq (ant-design#34984) * test: Update snapshot * feat: Image preview support keyboard switch (ant-design#34992) * style: remove selected item style of AutoComplete (ant-design#34996) close ant-design#34975 * chore(deps-dev): bump react-helmet-async from 1.2.3 to 1.3.0 (ant-design#34997) Bumps [react-helmet-async](https://github.com/staylor/react-helmet-async) from 1.2.3 to 1.3.0. - [Release notes](https://github.com/staylor/react-helmet-async/releases) - [Commits](https://github.com/staylor/react-helmet-async/commits) --- updated-dependencies: - dependency-name: react-helmet-async dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: use ~ instead of ^ for rc-segmented * docs: recommend S2 and ProTable in table documentation (ant-design#34998) * docs: recommend S2 and ProTable in table documentation * Update index.en-US.md * Update index.en-US.md * docs: changelog for 4.20.0-alpha.0 (ant-design#34977) * docs: changelog for 4.20.0 * chore: bump version to 4.20.0 * docs: update version date * chore: update version to 4.20.0-alpha.0 * docs: remove react 18 compatible * fix: arrow radius use fixed value (ant-design#34999) * fix: Spin rotate deg number (ant-design#35005) close ant-design#34866 * docs(input): use Intl.NumberFormat (ant-design#34985) Co-authored-by: maxin <maxin@growingio.com> * chore(deps-dev): bump glob from 7.2.0 to 8.0.1 (ant-design#35017) Bumps [glob](https://github.com/isaacs/node-glob) from 7.2.0 to 8.0.1. - [Release notes](https://github.com/isaacs/node-glob/releases) - [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md) - [Commits](isaacs/node-glob@v7.2.0...v8.0.1) --- updated-dependencies: - dependency-name: glob dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(cascader): search result not fill the entire panel (ant-design#35019) Co-authored-by: wanghao <wanghao.wong@bytedance.com> * fix: Select and AutoComplete scroll behavior by keyboard (ant-design#35025) fix ant-design#34898 fix ant-design#35022 * chore: clean up some project files (ant-design#35028) * chore: remove unused Upload in form styles (ant-design#35033) * chore: remove unused Upload in form styles * Update Upload.tsx * Update Upload.tsx * test: update snapshot * fix: Notification & message throw `createRoot` warning in React 18 (ant-design#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 * feat: Form support useWatch (ant-design#35036) * feat: Support useWatch * test: update test case * chore: update snapshot * feat: Image PreviewGroup Support top progress rendering (ant-design#35038) * refactor: wrap picker with FC (ant-design#34994) * refactor: wrap picker with FC * chore: code clean * feat: cast type * test: fix test * test: Update snapshot * docs: More info about useWatch (ant-design#35039) * docs: more about useWatch * test: Update test case * docs: more info * docs: more & more * feat: add useFormInstance * chore: add version info * docs: simplify demo code, ant-design#30853 (ant-design#35050) * style: cleanup upload unused styles (ant-design#35052) * fix: Upload pass UploadList prefixCls (ant-design#34944) * fix: pass UploadList prefixCls * test: <Upload /> should pass <UploadList /> prefixCls Co-authored-by: chenshanwang <chenshanwang@lianfan.com> * Update overview.en-US.md * docs: fix overview content (ant-design#35055) * docs: 修复中文文档没有与英文文档同步的问题 * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * test: fix jest snapshot * test: update test cases to testing-lib (ant-design#35056) * test: migrate some test case to testing-library (ant-design#35062) * test: migrate some test case to testing-library * chore: code clean * test: fix stylelint * test: test case * ci: up version (ant-design#35067) * ci: up version * Update verify-files-modify.yml * docs: Update useWatch docs * docs: update docs version * docs: add 4.20.0-alpha.1 changelog (ant-design#35070) * docs: add 4.20.0-alpha.1 changelog * docs: update * docs: Update changelog missing useFormInstance * chore: rc-dialog id unique sync (ant-design#35072) * chore: Compatible for @types/react@18 (ant-design#35075) * chore: Compatible for @types/react@18 * chore: Compatible for @types/react@18 * chore: 🤖 component Steps ts def for react18 (ant-design#35076) ✅ Closes: ant-design#35074 Co-authored-by: ronggui.shu <ronggui.shu@sci-inv.com> * test: wrap React.StrictMode for test cases (ant-design#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> * test: Update snapshot * fix: fixed arrow border radius variables (ant-design#35086) * style: fix the problem of inconsistent styles in RTL mode (ant-design#35088) * refactor: change anchor to fc for the cssinjs prepare (ant-design#35073) * refactor: change anchor to fc for the cssinjs prepare * fix: fix anchor test * style: fix the style of progress rendering at the top of component Image PreviewGroup (ant-design#35092) * style: fix the style of progress rendering at the top of component Image PreviewGroup * style: add debug-demo for top progress countRender * pref: upgrade rc-menu (ant-design#35071) * pref: upgrade rc-menu * Update package.json Co-authored-by: afc163 <afc163@gmail.com> * fix: Form in React 18 StrictMode (ant-design#35096) * test: fix with react 18 * fix: Form in StrictMode * test: clean up * test: clean up * chore: bump rc-motion version * chore: fix test case logic * test: back of it * test: back missing test case * docs: update Drawer overview image (ant-design#35099) * docs: update Drawer overview image * Update index.en-US.md * chore: tweak upload style (ant-design#35097) * chore: tweak upload style * chore: update snapshot * fix: cn menus doc (ant-design#35078) * chore: update snapshot due to rc-trigger bumped (ant-design#35106) * style: Switch background should not be transparent (ant-design#35103) * docs: improve upload demos (ant-design#35104) * docs: improve upload demos * Update drag-sorting.md * docs: add input showCount lose focus desc. close ant-design#35080 * chore: fix cirrus-actions/rebase cirrus-actions/rebase#78 * fix(Typography): change less function to less variable in danger style (ant-design#35113) * refactor: wrap Spin with FC (ant-design#35114) * refactor: wrap Spin with FC * chore: code clean * fix: breadcrumb shows the number (ant-design#35123) * docs: Add deprecated usage (ant-design#35128) * docs: Update Menu demo sample * docs: improve menu usage for items (ant-design#35131) * docs: improve menu usage for items * test: update snapshot * docs: update menu title * docs: update getContainer of Modal and Drawer (ant-design#35141) close ant-design#35124 * chore: bump dropdown with inject mark (ant-design#35153) * docs: Update Dropdown basic demo icon * docs: Add dropdown menu missing keys * chore: remove Breadcrumb Dropdown warning (ant-design#35162) * fix: DropDownProps => DropdownProps (ant-design#35161) * fix: DropDown => Dropdown * chore: leave DropDownProps for compatibility * docs: add Application Frameworks recommendation (ant-design#35168) * docs: add Application Frameworks recommendation * add Application Frameworks recommendation * typo fix * docs: segmented update (ant-design#35171) * docs: segmented update * test: fix lint * docs: Update demo with Space (ant-design#35172) * fix: small table selection dropdown margin issue close ant-design#35167 * fix: small table selection dropdown margin issue (ant-design#35173) close ant-design#35167 * docs: Update Dropdown demo * fix: small/middle table selection dropdown margin issue (ant-design#35174) * fix: small/middle table selection dropdown margin issue * Update index.less * refactor: Simplify Button Group Style (ant-design#35175) * chore: refactor grp with context * test: Update snapshot * chore: clean up * test: fix test case * chore: clean up * test: fix test * docs: faq about modal. close ant-design#35177 * test: fix test in segmented (ant-design#35183) * test(🏞): batch upload snapshots to argos-ci.com (ant-design#35181) * fix: Upload interface generic type (ant-design#35158) * fix:Uplooad组件UploadChangeParam fileList不使用范型 * feat:upload component interface generic test * docs(🛡): update README badges (ant-design#35185) * docs: update README-zh_CN.md * Update README-uk_UA.md * Update README-pt_BR.md * chore: fix argos-ci upload BATCH_SIZE * fix: code to use @html-selector variable (ant-design#35186) * revert: batchCount of argos-ci revert 2d654bf * docs: add debug demo for segmented (ant-design#35176) * docs: add debug demo for segmented * chore: update * chore: update * style: `Segmented` supports rtl styles (ant-design#35188) * perf: optimize calculation of filteredKeysIsAllControlled (ant-design#35064) * perf: optimize calculation of filteredKeysIsAllControlled * fix: ci failure * fix: modify codes by suggestion * chore: fix argos-ci check status in PR (ant-design#35193) * chore: batch upload argos-ci snapshots * test: added commit and branch back for ui-upload.yml * feat: upgrade rc-segmented v2 (ant-design#35187) * docs: add debug demo for segmented * chore: update * feat: upgrade rc-segmented v2 * Update components/segmented/__tests__/index.test.tsx Co-authored-by: afc163 <afc163@gmail.com> * Update components/segmented/demo/controlled-two.md Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> * site: tweak theme button margin of site footer (ant-design#35192) * fix: remove Tabs overflow hidden style (ant-design#35195) close ant-design#34021 close ant-design#35136 * docs: add demo link for Menu legacy usage (ant-design#35202) * docs: add demo links for Menu legacy usage * Update index.en-US.md * chore: update ui.yml * docs: 4.20.0 changelog (ant-design#35203) * docs: init 4.20.0 changelog * chore: merge * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * docs: Update changelog * chore: bump react version * chore: revert react version * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> * docs: fix changelog date * docs: Update Segmented changelog * docs: Note for 18 known issue * test: Replace transfer part test with testing lib (ant-design#35216) * test: Replace transfer part test with testing lib * chore: clean up * fix: upload circle ref (ant-design#34379) Co-authored-by: kanweiwei <kanweiwei@nutstore.net> * chore: add useWatch test placeholder * chore: run image snapshots on every branches * style: fix Breadcrumb reset style (ant-design#35235) close ant-design#35233 * fix: input onSearch trigger wrongly (ant-design#34844) (ant-design#35164) Co-authored-by: zhangqingyang@mindlinker.com <zhangqingyang@mindlinker.com> * docs(:sparkles:): release 4.20.1 (ant-design#35250) * test: add menu focus test (ant-design#35252) * test: fix upload test case * test: skip uploadlist test for now * docs: replace `git.io` link with the original URL (ant-design#35261) * fix: Table columns sorter a11y experience (ant-design#35269) * Make table sortable columns focusable and keyboard accessible. * Fix typo. * Change focus style for sortable table column header from broken outline to color text. * Update snapshots. * Change order to fix lint error. * Add unit test to test sorting with keypress. * Update components/table/hooks/useSorter.tsx * chore: improve code style * style: use focus-visible * fix: test case * test: update snapshot Co-authored-by: Katsiaryna Pustakhod <Katsiaryna_Pustakhod@epam.com> * feat: support icon only in segmented (ant-design#35256) * feat: support icon only with segmented * fix: lint issue * chore: update * test: fix * test: update snapshot * feat: dropdown auto-focus (ant-design#35307) * feat: dropdown auto-focus * chore: update rc-tabs * docs: update space demos * fix: Space duplicated key warning (ant-design#35311) close ant-design#35305 * Added pending filter translations Table locale/es_ES (ant-design#35309) Co-authored-by: Jesús Gallego Irles <jesusgallego@outlook.com> * chore: Add code file owner * chore: more owner files * docs: fix form instance type error (ant-design#35320) * feat: set proper height for Segmented (ant-design#35281) * style: tweak BreadCrumb link hover color (ant-design#35324) * chore: Aligning the CI description and its behavior (ant-design#35325) * test: Rewrite mountTest with testing lib (ant-design#35326) * docs: add instruction about tokenSeparators (ant-design#35329) * test: replace Empty part test with test lib (ant-design#35289) * test: replace Empty part test with test lib * test: update snapshot case * fix: Switch disabled color in dark theme (ant-design#35332) * Revert "feat: dropdown auto-focus (ant-design#35307)" (ant-design#35337) This reverts commit 1ff58d2. * docs: update Tabs component onEdit prop describe (ant-design#35271) * docs: update Tabs component onEdit prop describe * docs: update Tabs component onEdit prop describe * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * docs: changelog for 4.20.2 (ant-design#35338) * docs: add changelog for ant-design#35336 * style: fix Select tag remove icon position (ant-design#35336) The icon is pushed down a bit * test: update test case * test: transfer part of tooltip test case to testing library (ant-design#35362) * test: refactor test cases of Space (ant-design#35372) * test: migrate part of anchor tests (ant-design#35371) * test: migrate part of checkbox tests (ant-design#35354) * fix: Carousel compatible with vertical property (ant-design#35349) * chore: fix npm start error in Gitpod close ant-design#33444 * Revert "chore: fix npm start error in Gitpod" This reverts commit 978226f. * fix: table column filter reset is not working (ant-design#35226) (ant-design#35386) * fix: Respect user provided space item key (ant-design#35344) * Resolve Ant Design Notification component TypeScript error via adding maxCount as an ArgsProps property (ant-design#35369) * fix: use less variables for Segmented (ant-design#35387) * docs: reverse React 18 demo * test: replace textarea some test case with testing lib (ant-design#35398) * test: replace textarea some test case with testing lib * test: full process * test: mv input test to input scope * test: fix lint * chore: rm useless console * chore: rm CODEOWNER since this block github action * test: transfer tooltip test case to testing library * ci: trigger the pr check * test: try to fix the pr check * test: remove some test case * test: foreach all placement * fix(<Row/>): wipe out unnecessary prop (ant-design#35409) * fix: wipe out unnecessary prop * wipe out unnecessary prop(`row-gap: 0px`) on <Row /> * add test case * chore: remove unnecessary import * chore: add prop to Row and Col * chore: update snapshot (Form/Grid/Card) * chore: update snapshot * chore: move location * docs: explain Avatar fallback strategy (ant-design#35415) The original description was unclear, incomplete, and confusing, requiring a look at the code to understand it, so I revised it to a more understandable version. * fix: arrow style (ant-design#35401) * fix: arrow style * fix: raise arrow z-index * fix: fix defualt arrow color * fix: mix shadow * chore: code clean * chore: code clean * fix: use fadeout instead * test: fix style lint * test: replace some slepp with jest.runAllTimers * Revert "test: replace some slepp with jest.runAllTimers" This reverts commit ad886d1. * fix: List.Item ref (ant-design#35321) * fix: list item ref * add test * improve * fix: List.Item typescript (ant-design#35418) * chore: eslint add consistent-type-imports (ant-design#35419) * chore: eslint add consistent-type-imports * fix avatar * Update Item.tsx * chore: change menu icon in site * docs: update mirror link (ant-design#35424) * docs: update mirror link * feat: add modal * feat: add icon * chore: code clean * feat: text * fix: cancel btn * chore: split chunks (ant-design#35222) * chore: split chunks * chore: update bisheng version * chore: split @ant-design/icon * chore: code clean * chore: test * chore: split moment * chore: code clean * fix: add missing localizations (ant-design#35430) * Add missing localizations * Update snapshot * docs: add 4.20.3 changelog (ant-design#35435) * docs: add 4.20.3 changelog * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * fix typo * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * Update CHANGELOG.en-US.md Co-authored-by: afc163 <afc163@gmail.com> * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * fix typo * fix typo * fix typo * fix typo Co-authored-by: afc163 <afc163@gmail.com> * docs: update demo template (ant-design#35440) * docs: fix typo (ant-design#35439) * chore: fixed typo * chore: fixed typo+1 * chore(deps-dev): bump husky from 7.0.4 to 8.0.1 (ant-design#35451) Bumps [husky](https://github.com/typicode/husky) from 7.0.4 to 8.0.1. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](typicode/husky@v7.0.4...v8.0.1) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test: update snapshot (ant-design#35452) * chore: optimze LGTM (ant-design#35443) * chore: optimze LGTM * chore: type * fix: dev broken (ant-design#35453) * chore(deps-dev): upgrade to jest 28 (ant-design#35334) https://jestjs.io/zh-Hans/docs/upgrading-to-jest28 * fix: bad List.Item type (ant-design#35454) (ant-design#35455) Co-authored-by: Ron Smeral <ron.smeral@merck.com> * docs: replace class component with hooks (ant-design#35461) * 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 * refactor: remove cascader displayRender warning (ant-design#35417) * refactor: remove useless warning (ant-design#35291) * refactor: remove useless test case * docs: remove cascader tagRender * perf: refactor devWarning for production code size (ant-design#35411) * pref: better code style for production * refactor `devWarning` * don't use `useEffect` only wrap `devWarning` * chore: add 'noop' to coverage * chore: add test cases for devWarning * chore: add test case * chore: update test cases for devWarning * chore: restore test script command * fix: remove 'throw new Error' * should not use `throw` for browser * chore: update test case for AutoComplete * perf: add prefix for `devWarning` * update RegExp for UMD * add prefix for ES and CJS * chore: better code style * perf: * upgrade antd-tools * remove `injectWarningCondition` * rename `devWarning` to `warning` * chore: better code style * chore: better code style * chore: restore hasValidName * docs: replace class component with hooks (ant-design#35472) * 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 * chore: fix LGTM * docs: indicate that menu items require `key`s (ant-design#35474) * docs: remove editable in table documentation close ant-design#35471 (comment) * fix: tree checkbox margin in rtl mode (ant-design#35491) * docs: Table QA about rowSelection renderCell (ant-design#35494) * Update index.zh-CN.md 之前需要在 可选列的勾选框 中增加 Tooltip,没有在文档中找到相关的文档,通过搜索 issue,以为暂时不支持,看了源码才发现已经支持了。 所以想要完善一下文档,可以方便其他用户找到此内容。 * docs: Table QA about rowSelection renderCell update US doc * docs: changelog 4.20.4 (ant-design#35495) * docs: changelog 4.20.4 * chore: emoji * docs: replace class component with hooks (ant-design#35500) * 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 * fix(statistic): ignore the decimal part when the precision is negative (ant-design#35520) * test: Update snapshot * test: Update snapshot (ant-design#35529) * docs: update work with us part * feat: update changelog Co-authored-by: MadCcc <1075746765@qq.com> Co-authored-by: dengqing <1247748612@qq.com> Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> Co-authored-by: shuaijiumei <63175611+shuaijiumei@users.noreply.github.com> Co-authored-by: 二货机器人 <smith3816@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: Yunwoo Ji <unu12073@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: miracles1919 <516571350@qq.com> Co-authored-by: Amumu <yoyo837@hotmail.com> Co-authored-by: zqran <uuxnet@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Pfeffer <mail@danielpfeffer.de> Co-authored-by: Tmk <i@tmk.im> Co-authored-by: Minh Quy <sugiacupit@gmail.com> Co-authored-by: Dzmitry Yarmoshkin <spanb4@gmail.com> Co-authored-by: Dzmitry Yarmoshkin <dzmitry_yarmoshkin@epam.com> Co-authored-by: Michael Crenshaw <michael@crenshaw.dev> Co-authored-by: Michael Crenshaw <michael_crenshaw@intuit.com> Co-authored-by: Hamed Mohammadzadeh <36853974+hmz22@users.noreply.github.com> Co-authored-by: zhang lay <lay.zhang@shopee.com> Co-authored-by: Albert Zhang <ziyuximing@163.com> Co-authored-by: codefactor-io <support@codefactor.io> Co-authored-by: vagusX <vagusX@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: taian.lta <taian.lta@antgroup.com> Co-authored-by: Varun Sharma <varunsh@stepsecurity.io> Co-authored-by: Hyunseok.Kim <dragmove@gmail.com> Co-authored-by: hyunseok.kim <hyunseok.kim@42dot.ai> Co-authored-by: PCCCCCCC <zpc.excel@foxmail.com> Co-authored-by: Peach <scdzwyxst@gmail.com> Co-authored-by: maxin <48519459+nnmax@users.noreply.github.com> Co-authored-by: maxin <maxin@growingio.com> Co-authored-by: 王浩 <boomler@hotmail.com> Co-authored-by: wanghao <wanghao.wong@bytedance.com> Co-authored-by: chensw <swchenforgetful@hotmail.com> Co-authored-by: chenshanwang <chenshanwang@lianfan.com> Co-authored-by: c0dedance <38075730+c0dedance@users.noreply.github.com> Co-authored-by: xrkffgg <xrkffgg@gmail.com> Co-authored-by: AliRezaBeigy <AliRezaBeigyKhu@gmail.com> Co-authored-by: littledian <1197434548@qq.com> Co-authored-by: ronggui.shu <ronggui.shu@sci-inv.com> Co-authored-by: Long Hao (龙濠) <45565100+LongHaoo@users.noreply.github.com> Co-authored-by: Karott Schu <karott7@gmail.com> Co-authored-by: nuintun <nuintun@gmail.com> Co-authored-by: TrickyPi <33021497+TrickyPi@users.noreply.github.com> Co-authored-by: Ömer Faruk APLAK <omer@pankod.com> Co-authored-by: rendaoer <rendaoer@outlook.com> Co-authored-by: Jefferson Rafael Kozerski <jeff.drumgod@gmail.com> Co-authored-by: Yuyao Nie <nieyuyao0826@hotmail.com> Co-authored-by: Camol <kwwnjujlc@sina.com> Co-authored-by: kanweiwei <kanweiwei@nutstore.net> Co-authored-by: qyzzzz <43691324+qyzzzz@users.noreply.github.com> Co-authored-by: zhangqingyang@mindlinker.com <zhangqingyang@mindlinker.com> Co-authored-by: Sukka <isukkaw@gmail.com> Co-authored-by: Katsiaryna Pustakhod <Katsiaryna_Pustakhod@epam.com> Co-authored-by: agarciaguillo <albertogarciaelx@gmail.com> Co-authored-by: Jesús Gallego Irles <jesusgallego@outlook.com> Co-authored-by: Zack Chang <73225408+jrr997@users.noreply.github.com> Co-authored-by: lalalazero <zzzero520@hotmail.com> Co-authored-by: Dreamcreative <m543438924@163.com> Co-authored-by: Walid Cherhane <56094829+walidcherhane@users.noreply.github.com> Co-authored-by: linqiqi077 <865530219@qq.com> Co-authored-by: haipeng <firemmet@gmail.com> Co-authored-by: Yanlin Jiang <cncolder@gmail.com> Co-authored-by: Cooper Veysey <cwveysey@gmail.com> Co-authored-by: parabolazz <parebolayh@outlook.com> Co-authored-by: Tom Xu <ycxzhkx@gmail.com> Co-authored-by: Mykyta Velykanov <nikitavelykanov@gmail.com> Co-authored-by: 陈帅 <qixian.cs@outlook.com> Co-authored-by: Yanming Deng <cisolarix@gmail.com> Co-authored-by: Ron Šmeral <ron.smeral@gmail.com> Co-authored-by: Ron Smeral <ron.smeral@merck.com> Co-authored-by: dingkang <dingkang0458@gmail.com> Co-authored-by: Tony Wu <93302820+tonywu6@users.noreply.github.com> Co-authored-by: limingxin <906529775@qq.com> Co-authored-by: ty888 <1506125048@qq.com>
* docs: Add faq about chrome with upload * feat: crossorigin attribute of Upload (ant-design#34981) * feat: Add crossOrigin prop to thumbnail image * feat: Add test cases about crossOrigin prop of Upload component * doc: Add a description about crossOrigin prop to Upload component manual * Update components/upload/interface.tsx Update type definition using React.ImgHTMLAttributes Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: hyunseok.kim <hyunseok.kim@42dot.ai> Co-authored-by: afc163 <afc163@gmail.com> * docs: update faq (ant-design#34984) * test: Update snapshot * feat: Image preview support keyboard switch (ant-design#34992) * style: remove selected item style of AutoComplete (ant-design#34996) close ant-design#34975 * chore(deps-dev): bump react-helmet-async from 1.2.3 to 1.3.0 (ant-design#34997) Bumps [react-helmet-async](https://github.com/staylor/react-helmet-async) from 1.2.3 to 1.3.0. - [Release notes](https://github.com/staylor/react-helmet-async/releases) - [Commits](https://github.com/staylor/react-helmet-async/commits) --- updated-dependencies: - dependency-name: react-helmet-async dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: use ~ instead of ^ for rc-segmented * docs: recommend S2 and ProTable in table documentation (ant-design#34998) * docs: recommend S2 and ProTable in table documentation * Update index.en-US.md * Update index.en-US.md * docs: changelog for 4.20.0-alpha.0 (ant-design#34977) * docs: changelog for 4.20.0 * chore: bump version to 4.20.0 * docs: update version date * chore: update version to 4.20.0-alpha.0 * docs: remove react 18 compatible * fix: arrow radius use fixed value (ant-design#34999) * fix: Spin rotate deg number (ant-design#35005) close ant-design#34866 * docs(input): use Intl.NumberFormat (ant-design#34985) Co-authored-by: maxin <maxin@growingio.com> * chore(deps-dev): bump glob from 7.2.0 to 8.0.1 (ant-design#35017) Bumps [glob](https://github.com/isaacs/node-glob) from 7.2.0 to 8.0.1. - [Release notes](https://github.com/isaacs/node-glob/releases) - [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md) - [Commits](isaacs/node-glob@v7.2.0...v8.0.1) --- updated-dependencies: - dependency-name: glob dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(cascader): search result not fill the entire panel (ant-design#35019) Co-authored-by: wanghao <wanghao.wong@bytedance.com> * fix: Select and AutoComplete scroll behavior by keyboard (ant-design#35025) fix ant-design#34898 fix ant-design#35022 * chore: clean up some project files (ant-design#35028) * chore: remove unused Upload in form styles (ant-design#35033) * chore: remove unused Upload in form styles * Update Upload.tsx * Update Upload.tsx * test: update snapshot * fix: Notification & message throw `createRoot` warning in React 18 (ant-design#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 * feat: Form support useWatch (ant-design#35036) * feat: Support useWatch * test: update test case * chore: update snapshot * feat: Image PreviewGroup Support top progress rendering (ant-design#35038) * refactor: wrap picker with FC (ant-design#34994) * refactor: wrap picker with FC * chore: code clean * feat: cast type * test: fix test * test: Update snapshot * docs: More info about useWatch (ant-design#35039) * docs: more about useWatch * test: Update test case * docs: more info * docs: more & more * feat: add useFormInstance * chore: add version info * docs: simplify demo code, ant-design#30853 (ant-design#35050) * style: cleanup upload unused styles (ant-design#35052) * fix: Upload pass UploadList prefixCls (ant-design#34944) * fix: pass UploadList prefixCls * test: <Upload /> should pass <UploadList /> prefixCls Co-authored-by: chenshanwang <chenshanwang@lianfan.com> * Update overview.en-US.md * docs: fix overview content (ant-design#35055) * docs: 修复中文文档没有与英文文档同步的问题 * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * test: fix jest snapshot * test: update test cases to testing-lib (ant-design#35056) * test: migrate some test case to testing-library (ant-design#35062) * test: migrate some test case to testing-library * chore: code clean * test: fix stylelint * test: test case * ci: up version (ant-design#35067) * ci: up version * Update verify-files-modify.yml * docs: Update useWatch docs * docs: update docs version * docs: add 4.20.0-alpha.1 changelog (ant-design#35070) * docs: add 4.20.0-alpha.1 changelog * docs: update * docs: Update changelog missing useFormInstance * chore: rc-dialog id unique sync (ant-design#35072) * chore: Compatible for @types/react@18 (ant-design#35075) * chore: Compatible for @types/react@18 * chore: Compatible for @types/react@18 * chore: 🤖 component Steps ts def for react18 (ant-design#35076) ✅ Closes: ant-design#35074 Co-authored-by: ronggui.shu <ronggui.shu@sci-inv.com> * test: wrap React.StrictMode for test cases (ant-design#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> * test: Update snapshot * fix: fixed arrow border radius variables (ant-design#35086) * style: fix the problem of inconsistent styles in RTL mode (ant-design#35088) * refactor: change anchor to fc for the cssinjs prepare (ant-design#35073) * refactor: change anchor to fc for the cssinjs prepare * fix: fix anchor test * style: fix the style of progress rendering at the top of component Image PreviewGroup (ant-design#35092) * style: fix the style of progress rendering at the top of component Image PreviewGroup * style: add debug-demo for top progress countRender * pref: upgrade rc-menu (ant-design#35071) * pref: upgrade rc-menu * Update package.json Co-authored-by: afc163 <afc163@gmail.com> * fix: Form in React 18 StrictMode (ant-design#35096) * test: fix with react 18 * fix: Form in StrictMode * test: clean up * test: clean up * chore: bump rc-motion version * chore: fix test case logic * test: back of it * test: back missing test case * docs: update Drawer overview image (ant-design#35099) * docs: update Drawer overview image * Update index.en-US.md * chore: tweak upload style (ant-design#35097) * chore: tweak upload style * chore: update snapshot * fix: cn menus doc (ant-design#35078) * chore: update snapshot due to rc-trigger bumped (ant-design#35106) * style: Switch background should not be transparent (ant-design#35103) * docs: improve upload demos (ant-design#35104) * docs: improve upload demos * Update drag-sorting.md * docs: add input showCount lose focus desc. close ant-design#35080 * chore: fix cirrus-actions/rebase cirrus-actions/rebase#78 * fix(Typography): change less function to less variable in danger style (ant-design#35113) * refactor: wrap Spin with FC (ant-design#35114) * refactor: wrap Spin with FC * chore: code clean * fix: breadcrumb shows the number (ant-design#35123) * docs: Add deprecated usage (ant-design#35128) * docs: Update Menu demo sample * docs: improve menu usage for items (ant-design#35131) * docs: improve menu usage for items * test: update snapshot * docs: update menu title * docs: update getContainer of Modal and Drawer (ant-design#35141) close ant-design#35124 * chore: bump dropdown with inject mark (ant-design#35153) * docs: Update Dropdown basic demo icon * docs: Add dropdown menu missing keys * chore: remove Breadcrumb Dropdown warning (ant-design#35162) * fix: DropDownProps => DropdownProps (ant-design#35161) * fix: DropDown => Dropdown * chore: leave DropDownProps for compatibility * docs: add Application Frameworks recommendation (ant-design#35168) * docs: add Application Frameworks recommendation * add Application Frameworks recommendation * typo fix * docs: segmented update (ant-design#35171) * docs: segmented update * test: fix lint * docs: Update demo with Space (ant-design#35172) * fix: small table selection dropdown margin issue close ant-design#35167 * fix: small table selection dropdown margin issue (ant-design#35173) close ant-design#35167 * docs: Update Dropdown demo * fix: small/middle table selection dropdown margin issue (ant-design#35174) * fix: small/middle table selection dropdown margin issue * Update index.less * refactor: Simplify Button Group Style (ant-design#35175) * chore: refactor grp with context * test: Update snapshot * chore: clean up * test: fix test case * chore: clean up * test: fix test * docs: faq about modal. close ant-design#35177 * test: fix test in segmented (ant-design#35183) * test(🏞): batch upload snapshots to argos-ci.com (ant-design#35181) * fix: Upload interface generic type (ant-design#35158) * fix:Uplooad组件UploadChangeParam fileList不使用范型 * feat:upload component interface generic test * docs(🛡): update README badges (ant-design#35185) * docs: update README-zh_CN.md * Update README-uk_UA.md * Update README-pt_BR.md * chore: fix argos-ci upload BATCH_SIZE * fix: code to use @html-selector variable (ant-design#35186) * revert: batchCount of argos-ci revert 2d654bf * docs: add debug demo for segmented (ant-design#35176) * docs: add debug demo for segmented * chore: update * chore: update * style: `Segmented` supports rtl styles (ant-design#35188) * perf: optimize calculation of filteredKeysIsAllControlled (ant-design#35064) * perf: optimize calculation of filteredKeysIsAllControlled * fix: ci failure * fix: modify codes by suggestion * chore: fix argos-ci check status in PR (ant-design#35193) * chore: batch upload argos-ci snapshots * test: added commit and branch back for ui-upload.yml * feat: upgrade rc-segmented v2 (ant-design#35187) * docs: add debug demo for segmented * chore: update * feat: upgrade rc-segmented v2 * Update components/segmented/__tests__/index.test.tsx Co-authored-by: afc163 <afc163@gmail.com> * Update components/segmented/demo/controlled-two.md Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> * site: tweak theme button margin of site footer (ant-design#35192) * fix: remove Tabs overflow hidden style (ant-design#35195) close ant-design#34021 close ant-design#35136 * docs: add demo link for Menu legacy usage (ant-design#35202) * docs: add demo links for Menu legacy usage * Update index.en-US.md * chore: update ui.yml * docs: 4.20.0 changelog (ant-design#35203) * docs: init 4.20.0 changelog * chore: merge * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * docs: Update changelog * chore: bump react version * chore: revert react version * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> * docs: fix changelog date * docs: Update Segmented changelog * docs: Note for 18 known issue * test: Replace transfer part test with testing lib (ant-design#35216) * test: Replace transfer part test with testing lib * chore: clean up * fix: upload circle ref (ant-design#34379) Co-authored-by: kanweiwei <kanweiwei@nutstore.net> * chore: add useWatch test placeholder * chore: run image snapshots on every branches * style: fix Breadcrumb reset style (ant-design#35235) close ant-design#35233 * fix: input onSearch trigger wrongly (ant-design#34844) (ant-design#35164) Co-authored-by: zhangqingyang@mindlinker.com <zhangqingyang@mindlinker.com> * docs(:sparkles:): release 4.20.1 (ant-design#35250) * test: add menu focus test (ant-design#35252) * test: fix upload test case * test: skip uploadlist test for now * docs: replace `git.io` link with the original URL (ant-design#35261) * fix: Table columns sorter a11y experience (ant-design#35269) * Make table sortable columns focusable and keyboard accessible. * Fix typo. * Change focus style for sortable table column header from broken outline to color text. * Update snapshots. * Change order to fix lint error. * Add unit test to test sorting with keypress. * Update components/table/hooks/useSorter.tsx * chore: improve code style * style: use focus-visible * fix: test case * test: update snapshot Co-authored-by: Katsiaryna Pustakhod <Katsiaryna_Pustakhod@epam.com> * feat: support icon only in segmented (ant-design#35256) * feat: support icon only with segmented * fix: lint issue * chore: update * test: fix * test: update snapshot * feat: dropdown auto-focus (ant-design#35307) * feat: dropdown auto-focus * chore: update rc-tabs * docs: update space demos * fix: Space duplicated key warning (ant-design#35311) close ant-design#35305 * Added pending filter translations Table locale/es_ES (ant-design#35309) Co-authored-by: Jesús Gallego Irles <jesusgallego@outlook.com> * chore: Add code file owner * chore: more owner files * docs: fix form instance type error (ant-design#35320) * feat: set proper height for Segmented (ant-design#35281) * style: tweak BreadCrumb link hover color (ant-design#35324) * chore: Aligning the CI description and its behavior (ant-design#35325) * test: Rewrite mountTest with testing lib (ant-design#35326) * docs: add instruction about tokenSeparators (ant-design#35329) * test: replace Empty part test with test lib (ant-design#35289) * test: replace Empty part test with test lib * test: update snapshot case * fix: Switch disabled color in dark theme (ant-design#35332) * Revert "feat: dropdown auto-focus (ant-design#35307)" (ant-design#35337) This reverts commit 1ff58d2. * docs: update Tabs component onEdit prop describe (ant-design#35271) * docs: update Tabs component onEdit prop describe * docs: update Tabs component onEdit prop describe * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * docs: changelog for 4.20.2 (ant-design#35338) * docs: add changelog for ant-design#35336 * style: fix Select tag remove icon position (ant-design#35336) The icon is pushed down a bit * test: update test case * test: transfer part of tooltip test case to testing library (ant-design#35362) * test: refactor test cases of Space (ant-design#35372) * test: migrate part of anchor tests (ant-design#35371) * test: migrate part of checkbox tests (ant-design#35354) * fix: Carousel compatible with vertical property (ant-design#35349) * chore: fix npm start error in Gitpod close ant-design#33444 * Revert "chore: fix npm start error in Gitpod" This reverts commit 978226f. * fix: table column filter reset is not working (ant-design#35226) (ant-design#35386) * fix: Respect user provided space item key (ant-design#35344) * Resolve Ant Design Notification component TypeScript error via adding maxCount as an ArgsProps property (ant-design#35369) * fix: use less variables for Segmented (ant-design#35387) * docs: reverse React 18 demo * test: replace textarea some test case with testing lib (ant-design#35398) * test: replace textarea some test case with testing lib * test: full process * test: mv input test to input scope * test: fix lint * chore: rm useless console * chore: rm CODEOWNER since this block github action * test: transfer tooltip test case to testing library * ci: trigger the pr check * test: try to fix the pr check * test: remove some test case * test: foreach all placement * fix(<Row/>): wipe out unnecessary prop (ant-design#35409) * fix: wipe out unnecessary prop * wipe out unnecessary prop(`row-gap: 0px`) on <Row /> * add test case * chore: remove unnecessary import * chore: add prop to Row and Col * chore: update snapshot (Form/Grid/Card) * chore: update snapshot * chore: move location * docs: explain Avatar fallback strategy (ant-design#35415) The original description was unclear, incomplete, and confusing, requiring a look at the code to understand it, so I revised it to a more understandable version. * fix: arrow style (ant-design#35401) * fix: arrow style * fix: raise arrow z-index * fix: fix defualt arrow color * fix: mix shadow * chore: code clean * chore: code clean * fix: use fadeout instead * test: fix style lint * test: replace some slepp with jest.runAllTimers * Revert "test: replace some slepp with jest.runAllTimers" This reverts commit ad886d1. * fix: List.Item ref (ant-design#35321) * fix: list item ref * add test * improve * fix: List.Item typescript (ant-design#35418) * chore: eslint add consistent-type-imports (ant-design#35419) * chore: eslint add consistent-type-imports * fix avatar * Update Item.tsx * chore: change menu icon in site * docs: update mirror link (ant-design#35424) * docs: update mirror link * feat: add modal * feat: add icon * chore: code clean * feat: text * fix: cancel btn * chore: split chunks (ant-design#35222) * chore: split chunks * chore: update bisheng version * chore: split @ant-design/icon * chore: code clean * chore: test * chore: split moment * chore: code clean * fix: add missing localizations (ant-design#35430) * Add missing localizations * Update snapshot * docs: add 4.20.3 changelog (ant-design#35435) * docs: add 4.20.3 changelog * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * fix typo * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * Update CHANGELOG.en-US.md Co-authored-by: afc163 <afc163@gmail.com> * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * fix typo * fix typo * fix typo * fix typo Co-authored-by: afc163 <afc163@gmail.com> * docs: update demo template (ant-design#35440) * docs: fix typo (ant-design#35439) * chore: fixed typo * chore: fixed typo+1 * chore(deps-dev): bump husky from 7.0.4 to 8.0.1 (ant-design#35451) Bumps [husky](https://github.com/typicode/husky) from 7.0.4 to 8.0.1. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](typicode/husky@v7.0.4...v8.0.1) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test: update snapshot (ant-design#35452) * chore: optimze LGTM (ant-design#35443) * chore: optimze LGTM * chore: type * fix: dev broken (ant-design#35453) * chore(deps-dev): upgrade to jest 28 (ant-design#35334) https://jestjs.io/zh-Hans/docs/upgrading-to-jest28 * fix: bad List.Item type (ant-design#35454) (ant-design#35455) Co-authored-by: Ron Smeral <ron.smeral@merck.com> * docs: replace class component with hooks (ant-design#35461) * 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 * refactor: remove cascader displayRender warning (ant-design#35417) * refactor: remove useless warning (ant-design#35291) * refactor: remove useless test case * docs: remove cascader tagRender * perf: refactor devWarning for production code size (ant-design#35411) * pref: better code style for production * refactor `devWarning` * don't use `useEffect` only wrap `devWarning` * chore: add 'noop' to coverage * chore: add test cases for devWarning * chore: add test case * chore: update test cases for devWarning * chore: restore test script command * fix: remove 'throw new Error' * should not use `throw` for browser * chore: update test case for AutoComplete * perf: add prefix for `devWarning` * update RegExp for UMD * add prefix for ES and CJS * chore: better code style * perf: * upgrade antd-tools * remove `injectWarningCondition` * rename `devWarning` to `warning` * chore: better code style * chore: better code style * chore: restore hasValidName * docs: replace class component with hooks (ant-design#35472) * 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 * chore: fix LGTM * docs: indicate that menu items require `key`s (ant-design#35474) * docs: remove editable in table documentation close ant-design#35471 (comment) * fix: tree checkbox margin in rtl mode (ant-design#35491) * docs: Table QA about rowSelection renderCell (ant-design#35494) * Update index.zh-CN.md 之前需要在 可选列的勾选框 中增加 Tooltip,没有在文档中找到相关的文档,通过搜索 issue,以为暂时不支持,看了源码才发现已经支持了。 所以想要完善一下文档,可以方便其他用户找到此内容。 * docs: Table QA about rowSelection renderCell update US doc * docs: changelog 4.20.4 (ant-design#35495) * docs: changelog 4.20.4 * chore: emoji * docs: replace class component with hooks (ant-design#35500) * 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 * fix(statistic): ignore the decimal part when the precision is negative (ant-design#35520) * test: Update snapshot * test: Update snapshot (ant-design#35529) * docs: update work with us part * feat: update changelog * test: moving to testing-library in `Segmented` (ant-design#35538) * test(Segmented): moving to testing-library * chore: cleanup * fix: test * test: use click instead of change to fire event * Update index.test.tsx * docs: replace class component with hooks (ant-design#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 * chore: deprecated rowSelection.onSelectNone and onSelectMultiple (ant-design#35545) * chore: del unused package && downgrade some packages which related webpack@5 (ant-design#35551) * docs: changelog 4.20.5 (ant-design#35560) * chore: Update github action release helper release title * fix: drawer close speed (ant-design#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 (ant-design#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> * docs: fix 4.20.5 changelog typo (ant-design#35567) * chore: delete extra spaces (ant-design#35582) Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com> * docs: replace class component with hooks (ant-design#35580) * 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 * docs(layout): replace class component with hooks * docs(list): replace class component with hooks * docs(mentions): replace class component with hooks * docs: fix code review issue * chore: bump tools version (ant-design#35594) * style: fix Table header border when has rowSpan (ant-design#35591) close ant-design#35577 * docs: Update CHANGELOG.zh-CN.md (ant-design#35604) * Update rebase.yml * docs: Fix DatePicker throw demo * style: anchor text is overwritten (ant-design#35612) Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com> * docs: replace class component with hooks (ant-design#35613) * 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 * docs(layout): replace class component with hooks * docs(list): replace class component with hooks * docs(mentions): replace class component with hooks * docs: fix code review issue * docs(modal): replace class component with hooks * docs: feat components TS demo (ant-design#34742) * docs: add general components TS demo * docs: add layout components TS demo * docs: add navigation components TS demo * docs: add data entry components TS demo * chore(deps): add types for qs * docs: add data display TS demo * docs: add feedback components TS demo * docs: add other components TS demo * chore(deps): add types * docs: unified demo code style * docs: fix lint error * docs: add demo TS type * docs: fix demo TS type * test: update snapshot * docs: fix TS demo * feat: update Rate character type * docs: fix lint error * feat: update Rate character type * feat: update Rate character type * fix: Remove Grid row and cell aria roles (ant-design#35616) close ant-design#35549 * test: move test cases to `@testing/library` for Result (ant-design#35621) * fix: incorrect position of picker popup (ant-design#35620) Co-authored-by: yangpj17 <yangpj17@chianunicom.com> close ant-design#35590 * feat: add-testing-lib (ant-design#35626) * docs: Convert part demo to ts version (ant-design#35641) * 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 * docs(layout): replace class component with hooks * docs(list): replace class component with hooks * docs(mentions): replace class component with hooks * docs: fix code review issue * docs(modal): replace class component with hooks * docs(pagination): replace class component with hooks * docs(popconfirm): replace class component with hooks * docs(popover): replace class component with hooks * docs(progress): replace class component with hooks * docs(rate): replace class component with hooks * docs(radio): replace class component with hooks * docs: jsx to TS demo * test: improve Select test case (ant-design#35633) * docs(mentions): fix debounce demo bug (ant-design#35653) * chore(deps-dev): bump @types/react-resizable from 1.7.4 to 3.0.0 (ant-design#35658) Bumps [@types/react-resizable](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-resizable) from 1.7.4 to 3.0.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-resizable) --- updated-dependencies: - dependency-name: "@types/react-resizable" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test: refactor test cases of Timeline with testing library (ant-design#35654) * test: refactor test cases of TimeLine * fix: lint errors * chore(deps-dev): bump react-intl from 5.25.1 to 6.0.1 (ant-design#35659) Bumps [react-intl](https://github.com/formatjs/formatjs) from 5.25.1 to 6.0.1. - [Release notes](https://github.com/formatjs/formatjs/releases) - [Commits](https://github.com/formatjs/formatjs/compare/react-intl@5.25.1...react-intl@6.0.1) --- updated-dependencies: - dependency-name: react-intl dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: fix cheerio for enzyme fix (ant-design#35666) * docs: 4.20.6 changelog (ant-design#35671) * docs: 4.20.6 changelog * docs: fix build * chore: short auto merge time * chore: update issue check mirror (ant-design#35680) * fix: division in less for Segmented (ant-design#35701) * fix: division in less for Segmented * fix: update * chore: increase bundle size (ant-design#35709) * docs: fix mistype (ant-design#35714) * docs: update demo code (ant-design#35695) * docs: update demo code * chore: increase bundle size * Revert "chore: increase bundle size" This reverts commit 1c75e5a. * fix: drawer can not ref form instance when open (ant-design#35706) * fix: drawer can not ref form instance when open * fix: test * feat: div ref * feat: test * feat: test * feat: test * feat: test * chore: lock stylelint (ant-design#35725) * fix: Popover arrow style (ant-design#35717) * test: Replace alert part test with testing lib (ant-design#35736) Co-authored-by: chenkan1 <chenkan1@huya.com> * chore(deps-dev): bump typescript from 4.6.4 to 4.7.2 (ant-design#35737) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.4 to 4.7.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v4.6.4...v4.7.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(select): fix type (ant-design#35726) * fix: demo ts type * mend * Update select-users.md * chore: move `@types/qs` from deps to devDeps (ant-design#35747) * fix: the ts wrong of card inteface (ant-design#35753) * fix: the ts wrong of card inteface * fix: add export cardproprs * feat: add card type test * docs(👍): update recommendation (ant-design#35758) * docs: update recommendation * Update recommendation.en-US.md * docs: fix skeleton demo (ant-design#35760) * feat: change the changelog of 4.20.6 version Co-authored-by: zombiej <smith3816@gmail.com> Co-authored-by: Hyunseok.Kim <dragmove@gmail.com> Co-authored-by: hyunseok.kim <hyunseok.kim@42dot.ai> Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: PCCCCCCC <zpc.excel@foxmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Peach <scdzwyxst@gmail.com> Co-authored-by: MadCcc <1075746765@qq.com> Co-authored-by: maxin <48519459+nnmax@users.noreply.github.com> Co-authored-by: maxin <maxin@growingio.com> Co-authored-by: 王浩 <boomler@hotmail.com> Co-authored-by: wanghao <wanghao.wong@bytedance.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: zhang lay <lay.zhang@shopee.com> Co-authored-by: chensw <swchenforgetful@hotmail.com> Co-authored-by: chenshanwang <chenshanwang@lianfan.com> Co-authored-by: c0dedance <38075730+c0dedance@users.noreply.github.com> Co-authored-by: xrkffgg <xrkffgg@gmail.com> Co-authored-by: AliRezaBeigy <AliRezaBeigyKhu@gmail.com> Co-authored-by: littledian <1197434548@qq.com> Co-authored-by: ronggui.shu <ronggui.shu@sci-inv.com> Co-authored-by: Long Hao (龙濠) <45565100+LongHaoo@users.noreply.github.com> Co-authored-by: Karott Schu <karott7@gmail.com> Co-authored-by: nuintun <nuintun@gmail.com> Co-authored-by: TrickyPi <33021497+TrickyPi@users.noreply.github.com> Co-authored-by: Ömer Faruk APLAK <omer@pankod.com> Co-authored-by: vagusX <vagusX@users.noreply.github.com> Co-authored-by: rendaoer <rendaoer@outlook.com> Co-authored-by: Jefferson Rafael Kozerski <jeff.drumgod@gmail.com> Co-authored-by: Yuyao Nie <nieyuyao0826@hotmail.com> Co-authored-by: Camol <kwwnjujlc@sina.com> Co-authored-by: kanweiwei <kanweiwei@nutstore.net> Co-authored-by: qyzzzz <43691324+qyzzzz@users.noreply.github.com> Co-authored-by: zhangqingyang@mindlinker.com <zhangqingyang@mindlinker.com> Co-authored-by: Sukka <isukkaw@gmail.com> Co-authored-by: Katsiaryna Pustakhod <Katsiaryna_Pustakhod@epam.com> Co-authored-by: agarciaguillo <albertogarciaelx@gmail.com> Co-authored-by: Jesús Gallego Irles <jesusgallego@outlook.com> Co-authored-by: Dunqing <1247748612@qq.com> Co-authored-by: Amumu <yoyo837@hotmail.com> Co-authored-by: Zack Chang <73225408+jrr997@users.noreply.github.com> Co-authored-by: lalalazero <zzzero520@hotmail.com> Co-authored-by: Dreamcreative <m543438924@163.com> Co-authored-by: Walid Cherhane <56094829+walidcherhane@users.noreply.github.com> Co-authored-by: linqiqi077 <865530219@qq.com> Co-authored-by: haipeng <firemmet@gmail.com> Co-authored-by: Yanlin Jiang <cncolder@gmail.com> Co-authored-by: Cooper Veysey <cwveysey@gmail.com> Co-authored-by: parabolazz <parebolayh@outlook.com> Co-authored-by: Tom Xu <ycxzhkx@gmail.com> Co-authored-by: Mykyta Velykanov <nikitavelykanov@gmail.com> Co-authored-by: 陈帅 <qixian.cs@outlook.com> Co-authored-by: Yanming Deng <cisolarix@gmail.com> Co-authored-by: Ron Šmeral <ron.smeral@gmail.com> Co-authored-by: Ron Smeral <ron.smeral@merck.com> Co-authored-by: dingkang <dingkang0458@gmail.com> Co-authored-by: Tony Wu <93302820+tonywu6@users.noreply.github.com> Co-authored-by: miracles1919 <516571350@qq.com> Co-authored-by: limingxin <906529775@qq.com> Co-authored-by: ty888 <1506125048@qq.com> Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com> Co-authored-by: joson <373693643@qq.com> Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com> Co-authored-by: 周晨阳 <59002875+ZZZCNY@users.noreply.github.com> Co-authored-by: 章鱼 <ryker.zy@gmail.com> Co-authored-by: Bart Piotrowski <31428082+bartpio@users.noreply.github.com> Co-authored-by: yykoypj <601924094@qq.com> Co-authored-by: 黑雨 <wangning4567@163.com> Co-authored-by: Niyaz Akhmetov <axmet180@gmail.com> Co-authored-by: 社长长 <ischenkan@outlook.com> Co-authored-by: chenkan1 <chenkan1@huya.com> Co-authored-by: zhao-huo-long <lijiuyi1995@outlook.com> Co-authored-by: Cong Zhang <dancerphil1994@gmail.com>
* fix: upload circle ref (ant-design#34379) Co-authored-by: kanweiwei <kanweiwei@nutstore.net> * feat(Typography): copyable text support format (ant-design#35219) Co-authored-by: kanweiwei <kanweiwei@nutstore.net> * chore: add useWatch test placeholder * chore: run image snapshots on every branches * style: fix Breadcrumb reset style (ant-design#35235) close ant-design#35233 * fix: input onSearch trigger wrongly (ant-design#34844) (ant-design#35164) Co-authored-by: zhangqingyang@mindlinker.com <zhangqingyang@mindlinker.com> * docs(:sparkles:): release 4.20.1 (ant-design#35250) * test: add menu focus test (ant-design#35252) * test: fix upload test case * refactor: replace float with flex of Card (ant-design#35236) * test: skip uploadlist test for now * docs: replace `git.io` link with the original URL (ant-design#35261) * fix: Table columns sorter a11y experience (ant-design#35269) * Make table sortable columns focusable and keyboard accessible. * Fix typo. * Change focus style for sortable table column header from broken outline to color text. * Update snapshots. * Change order to fix lint error. * Add unit test to test sorting with keypress. * Update components/table/hooks/useSorter.tsx * chore: improve code style * style: use focus-visible * fix: test case * test: update snapshot Co-authored-by: Katsiaryna Pustakhod <Katsiaryna_Pustakhod@epam.com> * feat: support icon only in segmented (ant-design#35256) * feat: support icon only with segmented * fix: lint issue * chore: update * test: fix * test: update snapshot * feat: dropdown auto-focus (ant-design#35307) * feat: dropdown auto-focus * chore: update rc-tabs * docs: update space demos * fix: Space duplicated key warning (ant-design#35311) close ant-design#35305 * Added pending filter translations Table locale/es_ES (ant-design#35309) Co-authored-by: Jesús Gallego Irles <jesusgallego@outlook.com> * chore: Add code file owner * chore: more owner files * docs: fix form instance type error (ant-design#35320) * feat: set proper height for Segmented (ant-design#35281) * style: tweak BreadCrumb link hover color (ant-design#35324) * chore: Aligning the CI description and its behavior (ant-design#35325) * test: Rewrite mountTest with testing lib (ant-design#35326) * feat: Form disabled (ant-design#35210) * feat: add form disabled * feat: add form disabled * feat: add radio disabled * feat: update snap * feat: add test case * docs: add instruction about tokenSeparators (ant-design#35329) * test: replace Empty part test with test lib (ant-design#35289) * test: replace Empty part test with test lib * test: update snapshot case * fix: Switch disabled color in dark theme (ant-design#35332) * Revert "feat: dropdown auto-focus (ant-design#35307)" (ant-design#35337) This reverts commit 1ff58d2. * docs: update Tabs component onEdit prop describe (ant-design#35271) * docs: update Tabs component onEdit prop describe * docs: update Tabs component onEdit prop describe * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * docs: changelog for 4.20.2 (ant-design#35338) * docs: add changelog for ant-design#35336 * style: fix Select tag remove icon position (ant-design#35336) The icon is pushed down a bit * test: update test case * test: transfer part of tooltip test case to testing library (ant-design#35362) * test: refactor test cases of Space (ant-design#35372) * test: migrate part of anchor tests (ant-design#35371) * test: migrate part of checkbox tests (ant-design#35354) * fix: Carousel compatible with vertical property (ant-design#35349) * chore: fix npm start error in Gitpod close ant-design#33444 * Revert "chore: fix npm start error in Gitpod" This reverts commit 978226f. * fix: table column filter reset is not working (ant-design#35226) (ant-design#35386) * fix: Respect user provided space item key (ant-design#35344) * Resolve Ant Design Notification component TypeScript error via adding maxCount as an ArgsProps property (ant-design#35369) * fix: use less variables for Segmented (ant-design#35387) * docs: reverse React 18 demo * feat: Dropdown support autoFocus (ant-design#35391) * feat: Dropdown support autoFocus * chore: add bundle size * test: replace textarea some test case with testing lib (ant-design#35398) * test: replace textarea some test case with testing lib * test: full process * test: mv input test to input scope * test: fix lint * refactor: Progress rebuild as function component (ant-design#35393) * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * chore: rm useless console * chore: rm CODEOWNER since this block github action * test: transfer tooltip test case to testing library * ci: trigger the pr check * test: try to fix the pr check * test: remove some test case * test: foreach all placement * feat: focus menu item automaticly when focusing menu (ant-design#35407) * feat: focus menu item automaticly when focusing menu * chore: update mentions * test: fix test case * chore: decrease bundle size * chore: increase bundle size * fix(<Row/>): wipe out unnecessary prop (ant-design#35409) * fix: wipe out unnecessary prop * wipe out unnecessary prop(`row-gap: 0px`) on <Row /> * add test case * chore: remove unnecessary import * chore: add prop to Row and Col * chore: update snapshot (Form/Grid/Card) * chore: update snapshot * chore: move location * docs: explain Avatar fallback strategy (ant-design#35415) The original description was unclear, incomplete, and confusing, requiring a look at the code to understand it, so I revised it to a more understandable version. * fix: arrow style (ant-design#35401) * fix: arrow style * fix: raise arrow z-index * fix: fix defualt arrow color * fix: mix shadow * chore: code clean * chore: code clean * fix: use fadeout instead * test: fix style lint * test: replace some slepp with jest.runAllTimers * chore: update snapshot * Revert "test: replace some slepp with jest.runAllTimers" This reverts commit ad886d1. * fix: List.Item ref (ant-design#35321) * fix: list item ref * add test * improve * fix: List.Item typescript (ant-design#35418) * chore: eslint add consistent-type-imports (ant-design#35419) * chore: eslint add consistent-type-imports * fix avatar * Update Item.tsx * chore: change menu icon in site * docs: update mirror link (ant-design#35424) * docs: update mirror link * feat: add modal * feat: add icon * chore: code clean * feat: text * fix: cancel btn * chore: split chunks (ant-design#35222) * chore: split chunks * chore: update bisheng version * chore: split @ant-design/icon * chore: code clean * chore: test * chore: split moment * chore: code clean * fix: add missing localizations (ant-design#35430) * Add missing localizations * Update snapshot * refactor: Progress type="circle" for some issues (ant-design#35433) * refactor: Progress type="circle" for some issues close ant-design#17706 close ant-design#35009 close ant-design#35352 * test: update progress snapshot * docs: update linecap.md * Update components/progress/demo/linecap.md * test: update progress snapshot * fix: rc-progress@~3.3.1 * fix: rc-progress@~3.3.2 * docs: add 4.20.3 changelog (ant-design#35435) * docs: add 4.20.3 changelog * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * fix typo * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * Update CHANGELOG.en-US.md Co-authored-by: afc163 <afc163@gmail.com> * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * fix typo * fix typo * fix typo * fix typo Co-authored-by: afc163 <afc163@gmail.com> * feat: edit date-picker to hook (ant-design#35425) * docs: update demo template (ant-design#35440) * docs: fix typo (ant-design#35439) * chore: fixed typo * chore: fixed typo+1 * chore(deps-dev): bump husky from 7.0.4 to 8.0.1 (ant-design#35451) Bumps [husky](https://github.com/typicode/husky) from 7.0.4 to 8.0.1. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](typicode/husky@v7.0.4...v8.0.1) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test: update snapshot (ant-design#35452) * chore: optimze LGTM (ant-design#35443) * chore: optimze LGTM * chore: type * fix: dev broken (ant-design#35453) * chore(deps-dev): upgrade to jest 28 (ant-design#35334) https://jestjs.io/zh-Hans/docs/upgrading-to-jest28 * fix: bad List.Item type (ant-design#35454) (ant-design#35455) Co-authored-by: Ron Smeral <ron.smeral@merck.com> * docs: replace class component with hooks (ant-design#35461) * 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 * refactor: remove cascader displayRender warning (ant-design#35417) * refactor: remove useless warning (ant-design#35291) * refactor: remove useless test case * docs: remove cascader tagRender * perf: refactor devWarning for production code size (ant-design#35411) * pref: better code style for production * refactor `devWarning` * don't use `useEffect` only wrap `devWarning` * chore: add 'noop' to coverage * chore: add test cases for devWarning * chore: add test case * chore: update test cases for devWarning * chore: restore test script command * fix: remove 'throw new Error' * should not use `throw` for browser * chore: update test case for AutoComplete * perf: add prefix for `devWarning` * update RegExp for UMD * add prefix for ES and CJS * chore: better code style * perf: * upgrade antd-tools * remove `injectWarningCondition` * rename `devWarning` to `warning` * chore: better code style * chore: better code style * chore: restore hasValidName * docs: replace class component with hooks (ant-design#35472) * 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 * chore: fix LGTM * docs: indicate that menu items require `key`s (ant-design#35474) * docs: remove editable in table documentation close ant-design#35471 (comment) * fix: tree checkbox margin in rtl mode (ant-design#35491) * docs: Table QA about rowSelection renderCell (ant-design#35494) * Update index.zh-CN.md 之前需要在 可选列的勾选框 中增加 Tooltip,没有在文档中找到相关的文档,通过搜索 issue,以为暂时不支持,看了源码才发现已经支持了。 所以想要完善一下文档,可以方便其他用户找到此内容。 * docs: Table QA about rowSelection renderCell update US doc * docs: changelog 4.20.4 (ant-design#35495) * docs: changelog 4.20.4 * chore: emoji * docs: replace class component with hooks (ant-design#35500) * 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 * test: update snapshot * fix(statistic): ignore the decimal part when the precision is negative (ant-design#35520) * test: Update snapshot * test: Update snapshot (ant-design#35529) * refactor: Card loading (ant-design#35525) * feat: card loading with skeleton * test: update snapshot * test: add style deps * chore: import * docs: update work with us part * refactor: modal confirm button style (ant-design#35530) * fix: modal rtl style * fix: cannot use logic css * chore: change css writing order * feat: update changelog * test: moving to testing-library in `Segmented` (ant-design#35538) * test(Segmented): moving to testing-library * chore: cleanup * fix: test * test: use click instead of change to fire event * Update index.test.tsx * fix: Picker focus & blur not working (ant-design#35552) * docs: replace class component with hooks (ant-design#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 * chore: deprecated rowSelection.onSelectNone and onSelectMultiple (ant-design#35545) * chore: del unused package && downgrade some packages which related webpack@5 (ant-design#35551) * docs: changelog 4.20.5 (ant-design#35560) * chore: Update github action release helper release title * fix: drawer close speed (ant-design#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 (ant-design#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> * docs: fix 4.20.5 changelog typo (ant-design#35567) * refactor: reduce empty cycling deps (ant-design#35570) * chore: rm in root * chore: fix ts * test: Update snapshot * chore: ignore part * chore: delete extra spaces (ant-design#35582) Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com> * docs: replace class component with hooks (ant-design#35580) * 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 * docs(layout): replace class component with hooks * docs(list): replace class component with hooks * docs(mentions): replace class component with hooks * docs: fix code review issue * chore: bump tools version (ant-design#35594) * style: fix Table header border when has rowSpan (ant-design#35591) close ant-design#35577 * docs: Update CHANGELOG.zh-CN.md (ant-design#35604) * feat: add a new locale tk_TK (ant-design#35605) * feat: add a new locale tk_TK * fix: fix moment locale * feat: table rowSelection.onChange support type (ant-design#35598) * feat: table rowSelection onChange support method * docs: update * chore: rename param * test: update * test: update * Update rebase.yml * docs: Fix DatePicker throw demo * style: anchor text is overwritten (ant-design#35612) Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com> * docs: replace class component with hooks (ant-design#35613) * 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 * docs(layout): replace class component with hooks * docs(list): replace class component with hooks * docs(mentions): replace class component with hooks * docs: fix code review issue * docs(modal): replace class component with hooks * docs: feat components TS demo (ant-design#34742) * docs: add general components TS demo * docs: add layout components TS demo * docs: add navigation components TS demo * docs: add data entry components TS demo * chore(deps): add types for qs * docs: add data display TS demo * docs: add feedback components TS demo * docs: add other components TS demo * chore(deps): add types * docs: unified demo code style * docs: fix lint error * docs: add demo TS type * docs: fix demo TS type * test: update snapshot * docs: fix TS demo * feat: update Rate character type * docs: fix lint error * feat: update Rate character type * feat: update Rate character type * fix: Remove Grid row and cell aria roles (ant-design#35616) close ant-design#35549 * test: move test cases to `@testing/library` for Result (ant-design#35621) * fix: incorrect position of picker popup (ant-design#35620) Co-authored-by: yangpj17 <yangpj17@chianunicom.com> close ant-design#35590 * feat: add-testing-lib (ant-design#35626) * docs: Convert part demo to ts version (ant-design#35641) * 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 * docs(layout): replace class component with hooks * docs(list): replace class component with hooks * docs(mentions): replace class component with hooks * docs: fix code review issue * docs(modal): replace class component with hooks * docs(pagination): replace class component with hooks * docs(popconfirm): replace class component with hooks * docs(popover): replace class component with hooks * docs(progress): replace class component with hooks * docs(rate): replace class component with hooks * docs(radio): replace class component with hooks * docs: jsx to TS demo * test: improve Select test case (ant-design#35633) * docs(mentions): fix debounce demo bug (ant-design#35653) * chore(deps-dev): bump @types/react-resizable from 1.7.4 to 3.0.0 (ant-design#35658) Bumps [@types/react-resizable](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-resizable) from 1.7.4 to 3.0.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-resizable) --- updated-dependencies: - dependency-name: "@types/react-resizable" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test: refactor test cases of Timeline with testing library (ant-design#35654) * test: refactor test cases of TimeLine * fix: lint errors * chore(deps-dev): bump react-intl from 5.25.1 to 6.0.1 (ant-design#35659) Bumps [react-intl](https://github.com/formatjs/formatjs) from 5.25.1 to 6.0.1. - [Release notes](https://github.com/formatjs/formatjs/releases) - [Commits](https://github.com/formatjs/formatjs/compare/react-intl@5.25.1...react-intl@6.0.1) --- updated-dependencies: - dependency-name: react-intl dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: fix cheerio for enzyme fix (ant-design#35666) * docs: 4.20.6 changelog (ant-design#35671) * docs: 4.20.6 changelog * docs: fix build * test: Update snapshot * refactor: align with popover (ant-design#35676) * chore: short auto merge time * chore: update issue check mirror (ant-design#35680) * fix: division in less for Segmented (ant-design#35701) * fix: division in less for Segmented * fix: update * chore: increase bundle size (ant-design#35709) * docs: fix mistype (ant-design#35714) * docs: update demo code (ant-design#35695) * docs: update demo code * chore: increase bundle size * Revert "chore: increase bundle size" This reverts commit 1c75e5a. * fix: drawer can not ref form instance when open (ant-design#35706) * fix: drawer can not ref form instance when open * fix: test * feat: div ref * feat: test * feat: test * feat: test * feat: test * chore: lock stylelint (ant-design#35725) * fix: Popover arrow style (ant-design#35717) * feat: config provider support componentDisabled (ant-design#35718) * feat: config provider support componentDisable * test: update snapshot * docs: update * chore: code * docs: componentDisabled version (ant-design#35730) * test: Replace alert part test with testing lib (ant-design#35736) Co-authored-by: chenkan1 <chenkan1@huya.com> * chore(deps-dev): bump typescript from 4.6.4 to 4.7.2 (ant-design#35737) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.4 to 4.7.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v4.6.4...v4.7.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(select): fix type (ant-design#35726) * fix: demo ts type * mend * Update select-users.md * chore: move `@types/qs` from deps to devDeps (ant-design#35747) * feat: Config provider pagination showSizeChanger (ant-design#35750) * feat: support showSizeChanger * test: test case * fix: the ts wrong of card inteface (ant-design#35753) * fix: the ts wrong of card inteface * fix: add export cardproprs * feat: add card type test * docs(👍): update recommendation (ant-design#35758) * docs: update recommendation * Update recommendation.en-US.md * docs: fix skeleton demo (ant-design#35760) * refactor: Collapse replace expandIconPosition with logical position (ant-design#35770) * refactor: change collapse to logic position * test: Update snapshot * chore: force trigger CI * ci: use jest shard (ant-design#35622) * refactor: bump rc-collapse to stable dom (ant-design#35781) * chore: bump rc-collapse to stable dom * chore: clean up * test: Replace card component test with testing lib (ant-design#35751) * test: Replace card component test with testing lib * test: update the snapshot * docs: add note to custom BackTop demo (ant-design#35625) * docs: add note to custom BackTop demo * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * test: lock eslint-plugin-jest version for false positive jest-community/eslint-plugin-jest#1128 * test: move test cases to @testing/library for Tabs (ant-design#35796) * chore(deps): update dependency eslint-plugin-jest to ~26.4.0 (ant-design#35801) * chore(deps): update dependency eslint-plugin-jest to ~26.4.0 * Update package.json Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: afc163 <afc163@gmail.com> * feat: change the changelog of 4.20.6 version * test: move test cases to @testing/library for Image (ant-design#35806) * docs: changelog for 4.20.7 (ant-design#35804) * docs: changelog for 4.20.7 * chore: bump version to 4.20.7 * docs: update changelog * refactor: Fix Dropdown nesting menu injection logic (ant-design#35810) * refactor: Dependency Inversion * test: update snapshot * test: Update snapshot * test: more * fix: table dropdown logic * fix: menu lint * chore: upgrade to jest-image-snapshot 5.x (ant-design#35818) * test: move test cases to @testing/library for Modal (ant-design#35785) * test: move test cases to @testing/library for Modal * update * fix: test * test: add test case for mouse position * chore: revert * fix: Progress type="line" strokeLinecap (ant-design#35822) * docs: fix typo of Menu items code example (ant-design#35832) * test: move test cases to @testing/library for Drawer (ant-design#35839) * perf: active skeleton animated with transform (ant-design#35836) * active skeleton animated with transform * properties order fixed * properties order fixed * properties order fixed Co-authored-by: afc163 <afc163@gmail.com> * style: tweak Skeleton margin top style (ant-design#35848) * docs: update FAQ titles * test: move test cases to @testing/library for List (ant-design#35850) * chore: bump rc-dialog & update snapshot * fix: set jest shard to 2 (ant-design#35831) * fix: drawer close twice children is undefined (ant-design#35853) * fix: drawer close twice children is undefined * fix: drawer close twice children is undefined * chore: code * fix: test * test: update snapshot * fix: remove extraneous space from rc-segmented version (ant-design#35863) The extra spaces confuses third-party tooling * feat: Progress steps support custom strokeColor for each step (ant-design#35855) * feat: <Progress steps /> could accept string[] as strokeColor close ant-design#35852 close ant-design#26858 * fix: tsx demo * docs: add version column * chore: stlye patch of statistic (ant-design#35874) * chore: stlye patch of statistic * test: Udpate snapshot * test: replace Input part test with test lib (ant-design#35754) * test: replace Input part test with test lib * test: test input case * test: update textarea case Co-authored-by: z1399 <zhenggq@dtdream.com> Co-authored-by: afc163 <afc163@gmail.com> * refactor: pagination mini className (ant-design#35881) * refactor: pagination mini cls * test: update snapshot * test: update snapshot * chore: code clean * chore: code clean * test: update snapshot * test: update snapshot * refactor: Wave in React 18 StrictMode (ant-design#35889) * feat: tabs support popupClassName (ant-design#35892) * feat: tabs support popupClassName * docs: update * fix:border-style for inputNumber addon when rtl (ant-design#35876) * chore(deps): update dependency @types/jest to v28 (ant-design#35907) Co-authored-by: Renovate Bot <bot@renovateapp.com> * ci: fix typo * fix: 类型“FormListFieldData”上不存在属性“fieldKey”。(ant-design#35883) (ant-design#35884) * fix: 类型“FormListFieldData”上不存在属性“fieldKey”。(ant-design#35883) * add deprecated tag to fieldKey * add changelog * Revert "add changelog" This reverts commit 2cc174f. * chore: update changelog script (ant-design#35916) * docs: add typography format version * fix: remove important in radio style (ant-design#35920) * fix: remove important in radio style * chore: code clean * docs: correct types (ant-design#35919) * docs: correct types * ++ Co-authored-by: afc163 <afc163@gmail.com> * test: migrate part of Button tests (ant-design#35869) * test: migrate part of Affix tests (ant-design#35860) * docs: add changelog 4.21.0 (ant-design#35915) * docs: add changelog 4.21.0 * Update CHANGELOG.en-US.md Co-authored-by: Amumu <yoyo837@hotmail.com> * Update CHANGELOG.zh-CN.md Co-authored-by: Amumu <yoyo837@hotmail.com> * docs: add * Update CHANGELOG.en-US.md * docs: fix * docs: add * docs: update * docs: fix * docs: remove 35407 Co-authored-by: Amumu <yoyo837@hotmail.com> * Feat: support 'treeExpandAction' prop for TreeSelect (ant-design#35618) * Feat: support 'treeExpandAction' prop for TreeSelect * chore: bump rc-tree * chore: fix lint * fix: fix directory tree duplicate expandAction * fix: fix directory tree duplicate expandAction * fix: fix directory tree duplicate expandAction * chore: add docs Co-authored-by: zombiej <smith3816@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> * chore: bump bundle size of babel runtime * docs: Update 4.21.0 changelog * docs: fix tree demo (ant-design#35927) * fix: Form.Item noStyle should not be affected by parent Form.Item (ant-design#35849) * fix: Form.Item noStyle should not be affected by parent Form.Item * test: update snapshot * fix: status * chore: code clean * fix: modal and drawer * test: fix lint * chore: code clean * refactor: noFormStyle * chore: code clean * revert: revert change in Form.Item * chore: code clean * test: replace test case with test library (ant-design#35925) * test: replace test case with test library * test: replace test case with test library * test: update snapshots * docs: clean up useless space * test: refactor tree with testing lib (ant-design#35937) * test: tree test * test: clean up * chore: bump rc-tree * test: Update snapshot * test: Update for react 18 * test: move test cases to testing lib (ant-design#35909) * test: move test cases to testing lib (ant-design#35900) * fix: menu items typings (ant-design#35790) * Fix menu items typings * add test case for menu item type checking * fix: cubic-bezier should be animation-timing-function (ant-design#35943) * fix: modify 'antd' to 'infrad' in loop-banner.md of alert * fix: modify line-height value to @line-height-base of descriptions component Co-authored-by: Camol <kwwnjujlc@sina.com> Co-authored-by: kanweiwei <kanweiwei@nutstore.net> Co-authored-by: zombiej <smith3816@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: qyzzzz <43691324+qyzzzz@users.noreply.github.com> Co-authored-by: zhangqingyang@mindlinker.com <zhangqingyang@mindlinker.com> Co-authored-by: MadCcc <1075746765@qq.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: miracles1919 <516571350@qq.com> Co-authored-by: zhang lay <lay.zhang@shopee.com> Co-authored-by: Sukka <isukkaw@gmail.com> Co-authored-by: Katsiaryna Pustakhod <Katsiaryna_Pustakhod@epam.com> Co-authored-by: vagusX <vagusX@users.noreply.github.com> Co-authored-by: agarciaguillo <albertogarciaelx@gmail.com> Co-authored-by: Jesús Gallego Irles <jesusgallego@outlook.com> Co-authored-by: Dunqing <1247748612@qq.com> Co-authored-by: Amumu <yoyo837@hotmail.com> Co-authored-by: Zack Chang <73225408+jrr997@users.noreply.github.com> Co-authored-by: 黑雨 <wangning4567@163.com> Co-authored-by: lalalazero <zzzero520@hotmail.com> Co-authored-by: Dreamcreative <m543438924@163.com> Co-authored-by: Walid Cherhane <56094829+walidcherhane@users.noreply.github.com> Co-authored-by: PCCCCCCC <zpc.excel@foxmail.com> Co-authored-by: linqiqi077 <865530219@qq.com> Co-authored-by: TrickyPi <33021497+TrickyPi@users.noreply.github.com> Co-authored-by: haipeng <firemmet@gmail.com> Co-authored-by: Yanlin Jiang <cncolder@gmail.com> Co-authored-by: Cooper Veysey <cwveysey@gmail.com> Co-authored-by: shuaijiumei <63175611+shuaijiumei@users.noreply.github.com> Co-authored-by: Karott Schu <karott7@gmail.com> Co-authored-by: parabolazz <parebolayh@outlook.com> Co-authored-by: Tom Xu <ycxzhkx@gmail.com> Co-authored-by: Mykyta Velykanov <nikitavelykanov@gmail.com> Co-authored-by: 陈帅 <qixian.cs@outlook.com> Co-authored-by: Yanming Deng <cisolarix@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ron Šmeral <ron.smeral@gmail.com> Co-authored-by: Ron Smeral <ron.smeral@merck.com> Co-authored-by: dingkang <dingkang0458@gmail.com> Co-authored-by: Tony Wu <93302820+tonywu6@users.noreply.github.com> Co-authored-by: limingxin <906529775@qq.com> Co-authored-by: ty888 <1506125048@qq.com> Co-authored-by: Yuki Zhang <foryuki@outlook.com> Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com> Co-authored-by: joson <373693643@qq.com> Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com> Co-authored-by: 周晨阳 <59002875+ZZZCNY@users.noreply.github.com> Co-authored-by: 章鱼 <ryker.zy@gmail.com> Co-authored-by: Bart Piotrowski <31428082+bartpio@users.noreply.github.com> Co-authored-by: yykoypj <601924094@qq.com> Co-authored-by: Niyaz Akhmetov <axmet180@gmail.com> Co-authored-by: 社长长 <ischenkan@outlook.com> Co-authored-by: chenkan1 <chenkan1@huya.com> Co-authored-by: zhao-huo-long <lijiuyi1995@outlook.com> Co-authored-by: Cong Zhang <dancerphil1994@gmail.com> Co-authored-by: Long Hao (龙濠) <45565100+LongHaoo@users.noreply.github.com> Co-authored-by: Gabriel Haruki <gabrielharukisatoh@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Peach <scdzwyxst@gmail.com> Co-authored-by: MrHadEnough <mrhadenough@users.noreply.github.com> Co-authored-by: slotDumpling <67586451+slotDumpling@users.noreply.github.com> Co-authored-by: Mehdi Salem Naraghi <momesana@gmail.com> Co-authored-by: 郑国庆 <zhengshuai1993816@163.com> Co-authored-by: z1399 <zhenggq@dtdream.com> Co-authored-by: Luobo Zhang <zhang.pc3@gmail.com> Co-authored-by: xrkffgg <xrkffgg@gmail.com> Co-authored-by: chenxiang <597219320@qq.com> Co-authored-by: 元凛 <xrkffgg@vip.qq.com> Co-authored-by: kalykun <984757534@qq.com> Co-authored-by: Shang Song <14830727+zggmd@users.noreply.github.com> Co-authored-by: Heaven <18418010+NE-SmallTown@users.noreply.github.com> Co-authored-by: MasaoBlue <16271994+MasaoBlue@users.noreply.github.com>
* fix: Space duplicated key warning (ant-design#35311) close ant-design#35305 * Added pending filter translations Table locale/es_ES (ant-design#35309) Co-authored-by: Jesús Gallego Irles <jesusgallego@outlook.com> * chore: Add code file owner * chore: more owner files * docs: fix form instance type error (ant-design#35320) * feat: set proper height for Segmented (ant-design#35281) * style: tweak BreadCrumb link hover color (ant-design#35324) * chore: Aligning the CI description and its behavior (ant-design#35325) * test: Rewrite mountTest with testing lib (ant-design#35326) * feat: Form disabled (ant-design#35210) * feat: add form disabled * feat: add form disabled * feat: add radio disabled * feat: update snap * feat: add test case * docs: add instruction about tokenSeparators (ant-design#35329) * test: replace Empty part test with test lib (ant-design#35289) * test: replace Empty part test with test lib * test: update snapshot case * fix: Switch disabled color in dark theme (ant-design#35332) * Revert "feat: dropdown auto-focus (ant-design#35307)" (ant-design#35337) This reverts commit 1ff58d2. * docs: update Tabs component onEdit prop describe (ant-design#35271) * docs: update Tabs component onEdit prop describe * docs: update Tabs component onEdit prop describe * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * docs: changelog for 4.20.2 (ant-design#35338) * docs: add changelog for ant-design#35336 * style: fix Select tag remove icon position (ant-design#35336) The icon is pushed down a bit * test: update test case * test: transfer part of tooltip test case to testing library (ant-design#35362) * test: refactor test cases of Space (ant-design#35372) * test: migrate part of anchor tests (ant-design#35371) * test: migrate part of checkbox tests (ant-design#35354) * fix: Carousel compatible with vertical property (ant-design#35349) * chore: fix npm start error in Gitpod close ant-design#33444 * Revert "chore: fix npm start error in Gitpod" This reverts commit 978226f. * fix: table column filter reset is not working (ant-design#35226) (ant-design#35386) * fix: Respect user provided space item key (ant-design#35344) * Resolve Ant Design Notification component TypeScript error via adding maxCount as an ArgsProps property (ant-design#35369) * fix: use less variables for Segmented (ant-design#35387) * docs: reverse React 18 demo * feat: Dropdown support autoFocus (ant-design#35391) * feat: Dropdown support autoFocus * chore: add bundle size * test: replace textarea some test case with testing lib (ant-design#35398) * test: replace textarea some test case with testing lib * test: full process * test: mv input test to input scope * test: fix lint * refactor: Progress rebuild as function component (ant-design#35393) * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * chore: rm useless console * chore: rm CODEOWNER since this block github action * test: transfer tooltip test case to testing library * ci: trigger the pr check * test: try to fix the pr check * test: remove some test case * test: foreach all placement * feat: focus menu item automaticly when focusing menu (ant-design#35407) * feat: focus menu item automaticly when focusing menu * chore: update mentions * test: fix test case * chore: decrease bundle size * chore: increase bundle size * fix(<Row/>): wipe out unnecessary prop (ant-design#35409) * fix: wipe out unnecessary prop * wipe out unnecessary prop(`row-gap: 0px`) on <Row /> * add test case * chore: remove unnecessary import * chore: add prop to Row and Col * chore: update snapshot (Form/Grid/Card) * chore: update snapshot * chore: move location * docs: explain Avatar fallback strategy (ant-design#35415) The original description was unclear, incomplete, and confusing, requiring a look at the code to understand it, so I revised it to a more understandable version. * fix: arrow style (ant-design#35401) * fix: arrow style * fix: raise arrow z-index * fix: fix defualt arrow color * fix: mix shadow * chore: code clean * chore: code clean * fix: use fadeout instead * test: fix style lint * test: replace some slepp with jest.runAllTimers * chore: update snapshot * Revert "test: replace some slepp with jest.runAllTimers" This reverts commit ad886d1. * fix: List.Item ref (ant-design#35321) * fix: list item ref * add test * improve * fix: List.Item typescript (ant-design#35418) * chore: eslint add consistent-type-imports (ant-design#35419) * chore: eslint add consistent-type-imports * fix avatar * Update Item.tsx * chore: change menu icon in site * docs: update mirror link (ant-design#35424) * docs: update mirror link * feat: add modal * feat: add icon * chore: code clean * feat: text * fix: cancel btn * chore: split chunks (ant-design#35222) * chore: split chunks * chore: update bisheng version * chore: split @ant-design/icon * chore: code clean * chore: test * chore: split moment * chore: code clean * fix: add missing localizations (ant-design#35430) * Add missing localizations * Update snapshot * refactor: Progress type="circle" for some issues (ant-design#35433) * refactor: Progress type="circle" for some issues close ant-design#17706 close ant-design#35009 close ant-design#35352 * test: update progress snapshot * docs: update linecap.md * Update components/progress/demo/linecap.md * test: update progress snapshot * fix: rc-progress@~3.3.1 * fix: rc-progress@~3.3.2 * docs: add 4.20.3 changelog (ant-design#35435) * docs: add 4.20.3 changelog * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * fix typo * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * Update CHANGELOG.en-US.md Co-authored-by: afc163 <afc163@gmail.com> * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * fix typo * fix typo * fix typo * fix typo Co-authored-by: afc163 <afc163@gmail.com> * feat: edit date-picker to hook (ant-design#35425) * docs: update demo template (ant-design#35440) * docs: fix typo (ant-design#35439) * chore: fixed typo * chore: fixed typo+1 * chore(deps-dev): bump husky from 7.0.4 to 8.0.1 (ant-design#35451) Bumps [husky](https://github.com/typicode/husky) from 7.0.4 to 8.0.1. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](typicode/husky@v7.0.4...v8.0.1) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test: update snapshot (ant-design#35452) * chore: optimze LGTM (ant-design#35443) * chore: optimze LGTM * chore: type * fix: dev broken (ant-design#35453) * chore(deps-dev): upgrade to jest 28 (ant-design#35334) https://jestjs.io/zh-Hans/docs/upgrading-to-jest28 * fix: bad List.Item type (ant-design#35454) (ant-design#35455) Co-authored-by: Ron Smeral <ron.smeral@merck.com> * docs: replace class component with hooks (ant-design#35461) * 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 * refactor: remove cascader displayRender warning (ant-design#35417) * refactor: remove useless warning (ant-design#35291) * refactor: remove useless test case * docs: remove cascader tagRender * perf: refactor devWarning for production code size (ant-design#35411) * pref: better code style for production * refactor `devWarning` * don't use `useEffect` only wrap `devWarning` * chore: add 'noop' to coverage * chore: add test cases for devWarning * chore: add test case * chore: update test cases for devWarning * chore: restore test script command * fix: remove 'throw new Error' * should not use `throw` for browser * chore: update test case for AutoComplete * perf: add prefix for `devWarning` * update RegExp for UMD * add prefix for ES and CJS * chore: better code style * perf: * upgrade antd-tools * remove `injectWarningCondition` * rename `devWarning` to `warning` * chore: better code style * chore: better code style * chore: restore hasValidName * docs: replace class component with hooks (ant-design#35472) * 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 * chore: fix LGTM * docs: indicate that menu items require `key`s (ant-design#35474) * docs: remove editable in table documentation close ant-design#35471 (comment) * fix: tree checkbox margin in rtl mode (ant-design#35491) * docs: Table QA about rowSelection renderCell (ant-design#35494) * Update index.zh-CN.md 之前需要在 可选列的勾选框 中增加 Tooltip,没有在文档中找到相关的文档,通过搜索 issue,以为暂时不支持,看了源码才发现已经支持了。 所以想要完善一下文档,可以方便其他用户找到此内容。 * docs: Table QA about rowSelection renderCell update US doc * docs: changelog 4.20.4 (ant-design#35495) * docs: changelog 4.20.4 * chore: emoji * docs: replace class component with hooks (ant-design#35500) * 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 * test: update snapshot * fix(statistic): ignore the decimal part when the precision is negative (ant-design#35520) * test: Update snapshot * test: Update snapshot (ant-design#35529) * refactor: Card loading (ant-design#35525) * feat: card loading with skeleton * test: update snapshot * test: add style deps * chore: import * docs: update work with us part * refactor: modal confirm button style (ant-design#35530) * fix: modal rtl style * fix: cannot use logic css * chore: change css writing order * test: moving to testing-library in `Segmented` (ant-design#35538) * test(Segmented): moving to testing-library * chore: cleanup * fix: test * test: use click instead of change to fire event * Update index.test.tsx * fix: Picker focus & blur not working (ant-design#35552) * docs: replace class component with hooks (ant-design#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 * chore: deprecated rowSelection.onSelectNone and onSelectMultiple (ant-design#35545) * chore: del unused package && downgrade some packages which related webpack@5 (ant-design#35551) * docs: changelog 4.20.5 (ant-design#35560) * chore: Update github action release helper release title * fix: drawer close speed (ant-design#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 (ant-design#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> * docs: fix 4.20.5 changelog typo (ant-design#35567) * refactor: reduce empty cycling deps (ant-design#35570) * chore: rm in root * chore: fix ts * test: Update snapshot * chore: ignore part * chore: delete extra spaces (ant-design#35582) Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com> * docs: replace class component with hooks (ant-design#35580) * 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 * docs(layout): replace class component with hooks * docs(list): replace class component with hooks * docs(mentions): replace class component with hooks * docs: fix code review issue * chore: bump tools version (ant-design#35594) * style: fix Table header border when has rowSpan (ant-design#35591) close ant-design#35577 * docs: Update CHANGELOG.zh-CN.md (ant-design#35604) * feat: add a new locale tk_TK (ant-design#35605) * feat: add a new locale tk_TK * fix: fix moment locale * feat: table rowSelection.onChange support type (ant-design#35598) * feat: table rowSelection onChange support method * docs: update * chore: rename param * test: update * test: update * Update rebase.yml * docs: Fix DatePicker throw demo * style: anchor text is overwritten (ant-design#35612) Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com> * docs: replace class component with hooks (ant-design#35613) * 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 * docs(layout): replace class component with hooks * docs(list): replace class component with hooks * docs(mentions): replace class component with hooks * docs: fix code review issue * docs(modal): replace class component with hooks * docs: feat components TS demo (ant-design#34742) * docs: add general components TS demo * docs: add layout components TS demo * docs: add navigation components TS demo * docs: add data entry components TS demo * chore(deps): add types for qs * docs: add data display TS demo * docs: add feedback components TS demo * docs: add other components TS demo * chore(deps): add types * docs: unified demo code style * docs: fix lint error * docs: add demo TS type * docs: fix demo TS type * test: update snapshot * docs: fix TS demo * feat: update Rate character type * docs: fix lint error * feat: update Rate character type * feat: update Rate character type * fix: Remove Grid row and cell aria roles (ant-design#35616) close ant-design#35549 * test: move test cases to `@testing/library` for Result (ant-design#35621) * fix: incorrect position of picker popup (ant-design#35620) Co-authored-by: yangpj17 <yangpj17@chianunicom.com> close ant-design#35590 * feat: add-testing-lib (ant-design#35626) * docs: Convert part demo to ts version (ant-design#35641) * 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 * docs(layout): replace class component with hooks * docs(list): replace class component with hooks * docs(mentions): replace class component with hooks * docs: fix code review issue * docs(modal): replace class component with hooks * docs(pagination): replace class component with hooks * docs(popconfirm): replace class component with hooks * docs(popover): replace class component with hooks * docs(progress): replace class component with hooks * docs(rate): replace class component with hooks * docs(radio): replace class component with hooks * docs: jsx to TS demo * test: improve Select test case (ant-design#35633) * docs(mentions): fix debounce demo bug (ant-design#35653) * chore(deps-dev): bump @types/react-resizable from 1.7.4 to 3.0.0 (ant-design#35658) Bumps [@types/react-resizable](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-resizable) from 1.7.4 to 3.0.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-resizable) --- updated-dependencies: - dependency-name: "@types/react-resizable" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test: refactor test cases of Timeline with testing library (ant-design#35654) * test: refactor test cases of TimeLine * fix: lint errors * chore(deps-dev): bump react-intl from 5.25.1 to 6.0.1 (ant-design#35659) Bumps [react-intl](https://github.com/formatjs/formatjs) from 5.25.1 to 6.0.1. - [Release notes](https://github.com/formatjs/formatjs/releases) - [Commits](https://github.com/formatjs/formatjs/compare/react-intl@5.25.1...react-intl@6.0.1) --- updated-dependencies: - dependency-name: react-intl dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: fix cheerio for enzyme fix (ant-design#35666) * docs: 4.20.6 changelog (ant-design#35671) * docs: 4.20.6 changelog * docs: fix build * test: Update snapshot * refactor: align with popover (ant-design#35676) * chore: short auto merge time * chore: update issue check mirror (ant-design#35680) * fix: division in less for Segmented (ant-design#35701) * fix: division in less for Segmented * fix: update * chore: increase bundle size (ant-design#35709) * docs: fix mistype (ant-design#35714) * docs: update demo code (ant-design#35695) * docs: update demo code * chore: increase bundle size * Revert "chore: increase bundle size" This reverts commit 1c75e5a. * fix: drawer can not ref form instance when open (ant-design#35706) * fix: drawer can not ref form instance when open * fix: test * feat: div ref * feat: test * feat: test * feat: test * feat: test * chore: lock stylelint (ant-design#35725) * fix: Popover arrow style (ant-design#35717) * feat: config provider support componentDisabled (ant-design#35718) * feat: config provider support componentDisable * test: update snapshot * docs: update * chore: code * docs: componentDisabled version (ant-design#35730) * test: Replace alert part test with testing lib (ant-design#35736) Co-authored-by: chenkan1 <chenkan1@huya.com> * chore(deps-dev): bump typescript from 4.6.4 to 4.7.2 (ant-design#35737) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.4 to 4.7.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v4.6.4...v4.7.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(select): fix type (ant-design#35726) * fix: demo ts type * mend * Update select-users.md * chore: move `@types/qs` from deps to devDeps (ant-design#35747) * feat: Config provider pagination showSizeChanger (ant-design#35750) * feat: support showSizeChanger * test: test case * fix: the ts wrong of card inteface (ant-design#35753) * fix: the ts wrong of card inteface * fix: add export cardproprs * feat: add card type test * docs(👍): update recommendation (ant-design#35758) * docs: update recommendation * Update recommendation.en-US.md * docs: fix skeleton demo (ant-design#35760) * refactor: Collapse replace expandIconPosition with logical position (ant-design#35770) * refactor: change collapse to logic position * test: Update snapshot * chore: force trigger CI * ci: use jest shard (ant-design#35622) * refactor: bump rc-collapse to stable dom (ant-design#35781) * chore: bump rc-collapse to stable dom * chore: clean up * test: Replace card component test with testing lib (ant-design#35751) * test: Replace card component test with testing lib * test: update the snapshot * docs: add note to custom BackTop demo (ant-design#35625) * docs: add note to custom BackTop demo * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * test: lock eslint-plugin-jest version for false positive jest-community/eslint-plugin-jest#1128 * test: move test cases to @testing/library for Tabs (ant-design#35796) * chore(deps): update dependency eslint-plugin-jest to ~26.4.0 (ant-design#35801) * chore(deps): update dependency eslint-plugin-jest to ~26.4.0 * Update package.json Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: afc163 <afc163@gmail.com> * test: move test cases to @testing/library for Image (ant-design#35806) * docs: changelog for 4.20.7 (ant-design#35804) * docs: changelog for 4.20.7 * chore: bump version to 4.20.7 * docs: update changelog * refactor: Fix Dropdown nesting menu injection logic (ant-design#35810) * refactor: Dependency Inversion * test: update snapshot * test: Update snapshot * test: more * fix: table dropdown logic * fix: menu lint * chore: upgrade to jest-image-snapshot 5.x (ant-design#35818) * test: move test cases to @testing/library for Modal (ant-design#35785) * test: move test cases to @testing/library for Modal * update * fix: test * test: add test case for mouse position * chore: revert * fix: Progress type="line" strokeLinecap (ant-design#35822) * docs: fix typo of Menu items code example (ant-design#35832) * test: move test cases to @testing/library for Drawer (ant-design#35839) * perf: active skeleton animated with transform (ant-design#35836) * active skeleton animated with transform * properties order fixed * properties order fixed * properties order fixed Co-authored-by: afc163 <afc163@gmail.com> * style: tweak Skeleton margin top style (ant-design#35848) * docs: update FAQ titles * test: move test cases to @testing/library for List (ant-design#35850) * chore: bump rc-dialog & update snapshot * fix: set jest shard to 2 (ant-design#35831) * fix: drawer close twice children is undefined (ant-design#35853) * fix: drawer close twice children is undefined * fix: drawer close twice children is undefined * chore: code * fix: test * test: update snapshot * fix: remove extraneous space from rc-segmented version (ant-design#35863) The extra spaces confuses third-party tooling * feat: Progress steps support custom strokeColor for each step (ant-design#35855) * feat: <Progress steps /> could accept string[] as strokeColor close ant-design#35852 close ant-design#26858 * fix: tsx demo * docs: add version column * chore: stlye patch of statistic (ant-design#35874) * chore: stlye patch of statistic * test: Udpate snapshot * test: replace Input part test with test lib (ant-design#35754) * test: replace Input part test with test lib * test: test input case * test: update textarea case Co-authored-by: z1399 <zhenggq@dtdream.com> Co-authored-by: afc163 <afc163@gmail.com> * refactor: pagination mini className (ant-design#35881) * refactor: pagination mini cls * test: update snapshot * test: update snapshot * chore: code clean * chore: code clean * test: update snapshot * test: update snapshot * refactor: Wave in React 18 StrictMode (ant-design#35889) * feat: tabs support popupClassName (ant-design#35892) * feat: tabs support popupClassName * docs: update * fix:border-style for inputNumber addon when rtl (ant-design#35876) * chore(deps): update dependency @types/jest to v28 (ant-design#35907) Co-authored-by: Renovate Bot <bot@renovateapp.com> * ci: fix typo * fix: 类型“FormListFieldData”上不存在属性“fieldKey”。(ant-design#35883) (ant-design#35884) * fix: 类型“FormListFieldData”上不存在属性“fieldKey”。(ant-design#35883) * add deprecated tag to fieldKey * add changelog * Revert "add changelog" This reverts commit 2cc174f. * chore: update changelog script (ant-design#35916) * docs: add typography format version * fix: remove important in radio style (ant-design#35920) * fix: remove important in radio style * chore: code clean * docs: correct types (ant-design#35919) * docs: correct types * ++ Co-authored-by: afc163 <afc163@gmail.com> * test: migrate part of Button tests (ant-design#35869) * test: migrate part of Affix tests (ant-design#35860) * docs: add changelog 4.21.0 (ant-design#35915) * docs: add changelog 4.21.0 * Update CHANGELOG.en-US.md Co-authored-by: Amumu <yoyo837@hotmail.com> * Update CHANGELOG.zh-CN.md Co-authored-by: Amumu <yoyo837@hotmail.com> * docs: add * Update CHANGELOG.en-US.md * docs: fix * docs: add * docs: update * docs: fix * docs: remove 35407 Co-authored-by: Amumu <yoyo837@hotmail.com> * Feat: support 'treeExpandAction' prop for TreeSelect (ant-design#35618) * Feat: support 'treeExpandAction' prop for TreeSelect * chore: bump rc-tree * chore: fix lint * fix: fix directory tree duplicate expandAction * fix: fix directory tree duplicate expandAction * fix: fix directory tree duplicate expandAction * chore: add docs Co-authored-by: zombiej <smith3816@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> * chore: bump bundle size of babel runtime * docs: Update 4.21.0 changelog * docs: fix tree demo (ant-design#35927) * fix: Form.Item noStyle should not be affected by parent Form.Item (ant-design#35849) * fix: Form.Item noStyle should not be affected by parent Form.Item * test: update snapshot * fix: status * chore: code clean * fix: modal and drawer * test: fix lint * chore: code clean * refactor: noFormStyle * chore: code clean * revert: revert change in Form.Item * chore: code clean * test: replace test case with test library (ant-design#35925) * test: replace test case with test library * test: replace test case with test library * test: update snapshots * docs: clean up useless space * test: refactor tree with testing lib (ant-design#35937) * test: tree test * test: clean up * chore: bump rc-tree * test: Update snapshot * test: Update for react 18 * test: move test cases to testing lib (ant-design#35909) * test: move test cases to testing lib (ant-design#35900) * fix: menu items typings (ant-design#35790) * Fix menu items typings * add test case for menu item type checking * fix: cubic-bezier should be animation-timing-function (ant-design#35943) * chore: upgrade react-slick to 0.29.1 (ant-design#35959) * chore: upgrade react-slick to 0.29.0 * Update package.json * chore: fix code (ant-design#35949) * Fix color generation for grey colors (ant-design#35954) Co-authored-by: afc163 <afc163@gmail.com> * test: move test cases to @testing/library for Typography (ant-design#35955) * test: move test cases to @testing/library for Typography * fix: waitFor for tooltip test * fix: sleep to wait copy hide * test: refactor focus test * chore: Update it_IT.tsx (ant-design#35970) Fix italian translation for Table.cancelSort key * docs: Segmented API type (ant-design#35974) * Update index.en-US.md * Update index.zh-CN.md * chore: fix typo * chore: bump rc-dialog version (ant-design#35969) * chore: bump rc-dialog version * chore: trigger * chore: trigger * docs: RM peer conflict demo * chore: bump deps version * chore: bump ver * chore: bump * chore: bump * chore: test * chore: rm peer * chore: clean all peer * chor: bump rc-image * fix: Button has no disabled style when link type (ant-design#35975) Co-authored-by: MadCcc <1075746765@qq.com> * fix: `DropdownProps` definition (ant-design#35990) Co-authored-by: jhonebee <zhangjin19960908@gamil.com> Co-authored-by: MadCcc <1075746765@qq.com> * chore(deps-dev): bump stylelint from 14.8.3 to 14.9.0 (ant-design#35998) Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.8.3 to 14.9.0. - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](stylelint/stylelint@14.8.3...14.9.0) --- updated-dependencies: - dependency-name: stylelint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: update ts config (ant-design#36000) * fix: Fixed the getContainer property in Image not reading the settings in ConfigProvider (ant-design#36002) * fix: 35942 * test: 添加测试用例 * fix: * fix: * fix: missing semicolon (ant-design#36008) * Update package.json * docs: fix onChange description repeated twice (ant-design#36013) * chore(deps): update dependency stylelint-config-standard to v26 (ant-design#36017) * chore(deps): update dependency stylelint-config-standard to v26 * chore: ignore selector-not-notation rule Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: afc163 <afc163@gmail.com> * test: move test cases to testing lib for Statistic (ant-design#36019) Co-authored-by: afc163 <afc163@gmail.com> * test: replace Table part test with test lib (ant-design#35989) * test: replace Table part test with test lib * test: replace table test with test library * test: update snapshot * test: replace last mount * test: fix 18 testing Co-authored-by: zombiej <smith3816@gmail.com> * docs: add changelog 4.21.1 (ant-design#36022) * docs: title is no loger supported by SubMenuType (ant-design#36037) * docs: fix menu API table (ant-design#36043) * docs: fix menu API table * Update index.en-US.md * docs: fix demos (ant-design#36040) * docs: fix demos * ++ * fix: fix incorrect form status with noStyle (ant-design#36054) * fix: form status * test: update test case * docs: 4.21.2 (ant-design#36055) * test: improve test cases for Statistic (ant-design#36034) * test: move test cases to testing lib for Badge (ant-design#36033) * fix:when props.value is not undefined, can't reset value and focus (ant-design#34728) * fix: when props.value is not undefined, can't reset value and focus * test: add test case Co-authored-by: MadCcc <1075746765@qq.com> Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: agarciaguillo <albertogarciaelx@gmail.com> Co-authored-by: Jesús Gallego Irles <jesusgallego@outlook.com> Co-authored-by: zombiej <smith3816@gmail.com> Co-authored-by: Dunqing <1247748612@qq.com> Co-authored-by: vagusX <vagusX@users.noreply.github.com> Co-authored-by: Amumu <yoyo837@hotmail.com> Co-authored-by: Zack Chang <73225408+jrr997@users.noreply.github.com> Co-authored-by: 黑雨 <wangning4567@163.com> Co-authored-by: lalalazero <zzzero520@hotmail.com> Co-authored-by: Dreamcreative <m543438924@163.com> Co-authored-by: Walid Cherhane <56094829+walidcherhane@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: PCCCCCCC <zpc.excel@foxmail.com> Co-authored-by: linqiqi077 <865530219@qq.com> Co-authored-by: TrickyPi <33021497+TrickyPi@users.noreply.github.com> Co-authored-by: haipeng <firemmet@gmail.com> Co-authored-by: Yanlin Jiang <cncolder@gmail.com> Co-authored-by: Cooper Veysey <cwveysey@gmail.com> Co-authored-by: MadCcc <1075746765@qq.com> Co-authored-by: shuaijiumei <63175611+shuaijiumei@users.noreply.github.com> Co-authored-by: Karott Schu <karott7@gmail.com> Co-authored-by: parabolazz <parebolayh@outlook.com> Co-authored-by: Tom Xu <ycxzhkx@gmail.com> Co-authored-by: Mykyta Velykanov <nikitavelykanov@gmail.com> Co-authored-by: 陈帅 <qixian.cs@outlook.com> Co-authored-by: Yanming Deng <cisolarix@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ron Šmeral <ron.smeral@gmail.com> Co-authored-by: Ron Smeral <ron.smeral@merck.com> Co-authored-by: dingkang <dingkang0458@gmail.com> Co-authored-by: Tony Wu <93302820+tonywu6@users.noreply.github.com> Co-authored-by: miracles1919 <516571350@qq.com> Co-authored-by: limingxin <906529775@qq.com> Co-authored-by: ty888 <1506125048@qq.com> Co-authored-by: Yuki Zhang <foryuki@outlook.com> Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com> Co-authored-by: joson <373693643@qq.com> Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com> Co-authored-by: 周晨阳 <59002875+ZZZCNY@users.noreply.github.com> Co-authored-by: 章鱼 <ryker.zy@gmail.com> Co-authored-by: Bart Piotrowski <31428082+bartpio@users.noreply.github.com> Co-authored-by: yykoypj <601924094@qq.com> Co-authored-by: Niyaz Akhmetov <axmet180@gmail.com> Co-authored-by: 社长长 <ischenkan@outlook.com> Co-authored-by: chenkan1 <chenkan1@huya.com> Co-authored-by: zhao-huo-long <lijiuyi1995@outlook.com> Co-authored-by: Cong Zhang <dancerphil1994@gmail.com> Co-authored-by: Long Hao (龙濠) <45565100+LongHaoo@users.noreply.github.com> Co-authored-by: Gabriel Haruki <gabrielharukisatoh@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Peach <scdzwyxst@gmail.com> Co-authored-by: MrHadEnough <mrhadenough@users.noreply.github.com> Co-authored-by: slotDumpling <67586451+slotDumpling@users.noreply.github.com> Co-authored-by: Mehdi Salem Naraghi <momesana@gmail.com> Co-authored-by: 郑国庆 <zhengshuai1993816@163.com> Co-authored-by: z1399 <zhenggq@dtdream.com> Co-authored-by: Luobo Zhang <zhang.pc3@gmail.com> Co-authored-by: xrkffgg <xrkffgg@gmail.com> Co-authored-by: chenxiang <597219320@qq.com> Co-authored-by: 元凛 <xrkffgg@vip.qq.com> Co-authored-by: kalykun <984757534@qq.com> Co-authored-by: Shang Song <14830727+zggmd@users.noreply.github.com> Co-authored-by: Heaven <18418010+NE-SmallTown@users.noreply.github.com> Co-authored-by: MasaoBlue <16271994+MasaoBlue@users.noreply.github.com> Co-authored-by: 龙风 <455947455@qq.com> Co-authored-by: Christian Lechner <6638938+christian-lechner@users.noreply.github.com> Co-authored-by: Umberto Gariggio <gariggio@gmail.com> Co-authored-by: XIN HU <hoosin.git@gmail.com> Co-authored-by: muxin <a2944938071@163.com> Co-authored-by: 苯苯 <91561865+robothot@users.noreply.github.com> Co-authored-by: jhonebee <zhangjin19960908@gamil.com> Co-authored-by: Taisuke Hinata <hinatades@users.noreply.github.com> Co-authored-by: csr632 <632882184@qq.com> Co-authored-by: Humble <745653239@qq.com> Co-authored-by: zhang lay <lay.zhang@shopee.com>
* docs: replace `git.io` link with the original URL (ant-design#35261) * fix: Table columns sorter a11y experience (ant-design#35269) * Make table sortable columns focusable and keyboard accessible. * Fix typo. * Change focus style for sortable table column header from broken outline to color text. * Update snapshots. * Change order to fix lint error. * Add unit test to test sorting with keypress. * Update components/table/hooks/useSorter.tsx * chore: improve code style * style: use focus-visible * fix: test case * test: update snapshot Co-authored-by: Katsiaryna Pustakhod <Katsiaryna_Pustakhod@epam.com> * feat: support icon only in segmented (ant-design#35256) * feat: support icon only with segmented * fix: lint issue * chore: update * test: fix * test: update snapshot * feat: dropdown auto-focus (ant-design#35307) * feat: dropdown auto-focus * chore: update rc-tabs * docs: update space demos * fix: Space duplicated key warning (ant-design#35311) close ant-design#35305 * Added pending filter translations Table locale/es_ES (ant-design#35309) Co-authored-by: Jesús Gallego Irles <jesusgallego@outlook.com> * chore: Add code file owner * chore: more owner files * docs: fix form instance type error (ant-design#35320) * feat: set proper height for Segmented (ant-design#35281) * style: tweak BreadCrumb link hover color (ant-design#35324) * chore: Aligning the CI description and its behavior (ant-design#35325) * test: Rewrite mountTest with testing lib (ant-design#35326) * feat: Form disabled (ant-design#35210) * feat: add form disabled * feat: add form disabled * feat: add radio disabled * feat: update snap * feat: add test case * docs: add instruction about tokenSeparators (ant-design#35329) * test: replace Empty part test with test lib (ant-design#35289) * test: replace Empty part test with test lib * test: update snapshot case * fix: Switch disabled color in dark theme (ant-design#35332) * Revert "feat: dropdown auto-focus (ant-design#35307)" (ant-design#35337) This reverts commit 1ff58d2. * docs: update Tabs component onEdit prop describe (ant-design#35271) * docs: update Tabs component onEdit prop describe * docs: update Tabs component onEdit prop describe * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * docs: changelog for 4.20.2 (ant-design#35338) * docs: add changelog for ant-design#35336 * style: fix Select tag remove icon position (ant-design#35336) The icon is pushed down a bit * test: update test case * test: transfer part of tooltip test case to testing library (ant-design#35362) * test: refactor test cases of Space (ant-design#35372) * test: migrate part of anchor tests (ant-design#35371) * test: migrate part of checkbox tests (ant-design#35354) * fix: Carousel compatible with vertical property (ant-design#35349) * chore: fix npm start error in Gitpod close ant-design#33444 * Revert "chore: fix npm start error in Gitpod" This reverts commit 978226f. * fix: table column filter reset is not working (ant-design#35226) (ant-design#35386) * fix: Respect user provided space item key (ant-design#35344) * Resolve Ant Design Notification component TypeScript error via adding maxCount as an ArgsProps property (ant-design#35369) * fix: use less variables for Segmented (ant-design#35387) * docs: reverse React 18 demo * feat: Dropdown support autoFocus (ant-design#35391) * feat: Dropdown support autoFocus * chore: add bundle size * test: replace textarea some test case with testing lib (ant-design#35398) * test: replace textarea some test case with testing lib * test: full process * test: mv input test to input scope * test: fix lint * refactor: Progress rebuild as function component (ant-design#35393) * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * refactor: Progress rebuild as function component * chore: rm useless console * chore: rm CODEOWNER since this block github action * test: transfer tooltip test case to testing library * ci: trigger the pr check * test: try to fix the pr check * test: remove some test case * test: foreach all placement * feat: focus menu item automaticly when focusing menu (ant-design#35407) * feat: focus menu item automaticly when focusing menu * chore: update mentions * test: fix test case * chore: decrease bundle size * chore: increase bundle size * fix(<Row/>): wipe out unnecessary prop (ant-design#35409) * fix: wipe out unnecessary prop * wipe out unnecessary prop(`row-gap: 0px`) on <Row /> * add test case * chore: remove unnecessary import * chore: add prop to Row and Col * chore: update snapshot (Form/Grid/Card) * chore: update snapshot * chore: move location * docs: explain Avatar fallback strategy (ant-design#35415) The original description was unclear, incomplete, and confusing, requiring a look at the code to understand it, so I revised it to a more understandable version. * fix: arrow style (ant-design#35401) * fix: arrow style * fix: raise arrow z-index * fix: fix defualt arrow color * fix: mix shadow * chore: code clean * chore: code clean * fix: use fadeout instead * test: fix style lint * test: replace some slepp with jest.runAllTimers * chore: update snapshot * Revert "test: replace some slepp with jest.runAllTimers" This reverts commit ad886d1. * fix: List.Item ref (ant-design#35321) * fix: list item ref * add test * improve * fix: List.Item typescript (ant-design#35418) * chore: eslint add consistent-type-imports (ant-design#35419) * chore: eslint add consistent-type-imports * fix avatar * Update Item.tsx * chore: change menu icon in site * docs: update mirror link (ant-design#35424) * docs: update mirror link * feat: add modal * feat: add icon * chore: code clean * feat: text * fix: cancel btn * chore: split chunks (ant-design#35222) * chore: split chunks * chore: update bisheng version * chore: split @ant-design/icon * chore: code clean * chore: test * chore: split moment * chore: code clean * fix: add missing localizations (ant-design#35430) * Add missing localizations * Update snapshot * refactor: Progress type="circle" for some issues (ant-design#35433) * refactor: Progress type="circle" for some issues close ant-design#17706 close ant-design#35009 close ant-design#35352 * test: update progress snapshot * docs: update linecap.md * Update components/progress/demo/linecap.md * test: update progress snapshot * fix: rc-progress@~3.3.1 * fix: rc-progress@~3.3.2 * docs: add 4.20.3 changelog (ant-design#35435) * docs: add 4.20.3 changelog * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * fix typo * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * Update CHANGELOG.en-US.md Co-authored-by: afc163 <afc163@gmail.com> * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * fix typo * fix typo * fix typo * fix typo Co-authored-by: afc163 <afc163@gmail.com> * feat: edit date-picker to hook (ant-design#35425) * docs: update demo template (ant-design#35440) * docs: fix typo (ant-design#35439) * chore: fixed typo * chore: fixed typo+1 * chore(deps-dev): bump husky from 7.0.4 to 8.0.1 (ant-design#35451) Bumps [husky](https://github.com/typicode/husky) from 7.0.4 to 8.0.1. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](typicode/husky@v7.0.4...v8.0.1) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test: update snapshot (ant-design#35452) * chore: optimze LGTM (ant-design#35443) * chore: optimze LGTM * chore: type * fix: dev broken (ant-design#35453) * chore(deps-dev): upgrade to jest 28 (ant-design#35334) https://jestjs.io/zh-Hans/docs/upgrading-to-jest28 * fix: bad List.Item type (ant-design#35454) (ant-design#35455) Co-authored-by: Ron Smeral <ron.smeral@merck.com> * docs: replace class component with hooks (ant-design#35461) * 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 * refactor: remove cascader displayRender warning (ant-design#35417) * refactor: remove useless warning (ant-design#35291) * refactor: remove useless test case * docs: remove cascader tagRender * perf: refactor devWarning for production code size (ant-design#35411) * pref: better code style for production * refactor `devWarning` * don't use `useEffect` only wrap `devWarning` * chore: add 'noop' to coverage * chore: add test cases for devWarning * chore: add test case * chore: update test cases for devWarning * chore: restore test script command * fix: remove 'throw new Error' * should not use `throw` for browser * chore: update test case for AutoComplete * perf: add prefix for `devWarning` * update RegExp for UMD * add prefix for ES and CJS * chore: better code style * perf: * upgrade antd-tools * remove `injectWarningCondition` * rename `devWarning` to `warning` * chore: better code style * chore: better code style * chore: restore hasValidName * docs: replace class component with hooks (ant-design#35472) * 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 * chore: fix LGTM * docs: indicate that menu items require `key`s (ant-design#35474) * docs: remove editable in table documentation close ant-design#35471 (comment) * fix: tree checkbox margin in rtl mode (ant-design#35491) * docs: Table QA about rowSelection renderCell (ant-design#35494) * Update index.zh-CN.md 之前需要在 可选列的勾选框 中增加 Tooltip,没有在文档中找到相关的文档,通过搜索 issue,以为暂时不支持,看了源码才发现已经支持了。 所以想要完善一下文档,可以方便其他用户找到此内容。 * docs: Table QA about rowSelection renderCell update US doc * docs: changelog 4.20.4 (ant-design#35495) * docs: changelog 4.20.4 * chore: emoji * docs: replace class component with hooks (ant-design#35500) * 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 * test: update snapshot * fix(statistic): ignore the decimal part when the precision is negative (ant-design#35520) * test: Update snapshot * test: Update snapshot (ant-design#35529) * refactor: Card loading (ant-design#35525) * feat: card loading with skeleton * test: update snapshot * test: add style deps * chore: import * docs: update work with us part * refactor: modal confirm button style (ant-design#35530) * fix: modal rtl style * fix: cannot use logic css * chore: change css writing order * feat: update changelog * test: moving to testing-library in `Segmented` (ant-design#35538) * test(Segmented): moving to testing-library * chore: cleanup * fix: test * test: use click instead of change to fire event * Update index.test.tsx * fix: Picker focus & blur not working (ant-design#35552) * docs: replace class component with hooks (ant-design#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 * chore: deprecated rowSelection.onSelectNone and onSelectMultiple (ant-design#35545) * chore: del unused package && downgrade some packages which related webpack@5 (ant-design#35551) * docs: changelog 4.20.5 (ant-design#35560) * chore: Update github action release helper release title * fix: drawer close speed (ant-design#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 (ant-design#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> * docs: fix 4.20.5 changelog typo (ant-design#35567) * refactor: reduce empty cycling deps (ant-design#35570) * chore: rm in root * chore: fix ts * test: Update snapshot * chore: ignore part * chore: delete extra spaces (ant-design#35582) Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com> * docs: replace class component with hooks (ant-design#35580) * 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 * docs(layout): replace class component with hooks * docs(list): replace class component with hooks * docs(mentions): replace class component with hooks * docs: fix code review issue * chore: bump tools version (ant-design#35594) * style: fix Table header border when has rowSpan (ant-design#35591) close ant-design#35577 * docs: Update CHANGELOG.zh-CN.md (ant-design#35604) * feat: add a new locale tk_TK (ant-design#35605) * feat: add a new locale tk_TK * fix: fix moment locale * feat: table rowSelection.onChange support type (ant-design#35598) * feat: table rowSelection onChange support method * docs: update * chore: rename param * test: update * test: update * Update rebase.yml * docs: Fix DatePicker throw demo * style: anchor text is overwritten (ant-design#35612) Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com> * docs: replace class component with hooks (ant-design#35613) * 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 * docs(layout): replace class component with hooks * docs(list): replace class component with hooks * docs(mentions): replace class component with hooks * docs: fix code review issue * docs(modal): replace class component with hooks * docs: feat components TS demo (ant-design#34742) * docs: add general components TS demo * docs: add layout components TS demo * docs: add navigation components TS demo * docs: add data entry components TS demo * chore(deps): add types for qs * docs: add data display TS demo * docs: add feedback components TS demo * docs: add other components TS demo * chore(deps): add types * docs: unified demo code style * docs: fix lint error * docs: add demo TS type * docs: fix demo TS type * test: update snapshot * docs: fix TS demo * feat: update Rate character type * docs: fix lint error * feat: update Rate character type * feat: update Rate character type * fix: Remove Grid row and cell aria roles (ant-design#35616) close ant-design#35549 * test: move test cases to `@testing/library` for Result (ant-design#35621) * fix: incorrect position of picker popup (ant-design#35620) Co-authored-by: yangpj17 <yangpj17@chianunicom.com> close ant-design#35590 * feat: add-testing-lib (ant-design#35626) * docs: Convert part demo to ts version (ant-design#35641) * 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 * docs(layout): replace class component with hooks * docs(list): replace class component with hooks * docs(mentions): replace class component with hooks * docs: fix code review issue * docs(modal): replace class component with hooks * docs(pagination): replace class component with hooks * docs(popconfirm): replace class component with hooks * docs(popover): replace class component with hooks * docs(progress): replace class component with hooks * docs(rate): replace class component with hooks * docs(radio): replace class component with hooks * docs: jsx to TS demo * test: improve Select test case (ant-design#35633) * docs(mentions): fix debounce demo bug (ant-design#35653) * chore(deps-dev): bump @types/react-resizable from 1.7.4 to 3.0.0 (ant-design#35658) Bumps [@types/react-resizable](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-resizable) from 1.7.4 to 3.0.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-resizable) --- updated-dependencies: - dependency-name: "@types/react-resizable" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test: refactor test cases of Timeline with testing library (ant-design#35654) * test: refactor test cases of TimeLine * fix: lint errors * chore(deps-dev): bump react-intl from 5.25.1 to 6.0.1 (ant-design#35659) Bumps [react-intl](https://github.com/formatjs/formatjs) from 5.25.1 to 6.0.1. - [Release notes](https://github.com/formatjs/formatjs/releases) - [Commits](https://github.com/formatjs/formatjs/compare/react-intl@5.25.1...react-intl@6.0.1) --- updated-dependencies: - dependency-name: react-intl dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: fix cheerio for enzyme fix (ant-design#35666) * docs: 4.20.6 changelog (ant-design#35671) * docs: 4.20.6 changelog * docs: fix build * test: Update snapshot * refactor: align with popover (ant-design#35676) * chore: short auto merge time * chore: update issue check mirror (ant-design#35680) * fix: division in less for Segmented (ant-design#35701) * fix: division in less for Segmented * fix: update * chore: increase bundle size (ant-design#35709) * docs: fix mistype (ant-design#35714) * docs: update demo code (ant-design#35695) * docs: update demo code * chore: increase bundle size * Revert "chore: increase bundle size" This reverts commit 1c75e5a. * fix: drawer can not ref form instance when open (ant-design#35706) * fix: drawer can not ref form instance when open * fix: test * feat: div ref * feat: test * feat: test * feat: test * feat: test * chore: lock stylelint (ant-design#35725) * fix: Popover arrow style (ant-design#35717) * feat: config provider support componentDisabled (ant-design#35718) * feat: config provider support componentDisable * test: update snapshot * docs: update * chore: code * docs: componentDisabled version (ant-design#35730) * test: Replace alert part test with testing lib (ant-design#35736) Co-authored-by: chenkan1 <chenkan1@huya.com> * chore(deps-dev): bump typescript from 4.6.4 to 4.7.2 (ant-design#35737) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.4 to 4.7.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v4.6.4...v4.7.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(select): fix type (ant-design#35726) * fix: demo ts type * mend * Update select-users.md * chore: move `@types/qs` from deps to devDeps (ant-design#35747) * feat: Config provider pagination showSizeChanger (ant-design#35750) * feat: support showSizeChanger * test: test case * fix: the ts wrong of card inteface (ant-design#35753) * fix: the ts wrong of card inteface * fix: add export cardproprs * feat: add card type test * docs(👍): update recommendation (ant-design#35758) * docs: update recommendation * Update recommendation.en-US.md * docs: fix skeleton demo (ant-design#35760) * refactor: Collapse replace expandIconPosition with logical position (ant-design#35770) * refactor: change collapse to logic position * test: Update snapshot * chore: force trigger CI * ci: use jest shard (ant-design#35622) * refactor: bump rc-collapse to stable dom (ant-design#35781) * chore: bump rc-collapse to stable dom * chore: clean up * test: Replace card component test with testing lib (ant-design#35751) * test: Replace card component test with testing lib * test: update the snapshot * docs: add note to custom BackTop demo (ant-design#35625) * docs: add note to custom BackTop demo * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * test: lock eslint-plugin-jest version for false positive jest-community/eslint-plugin-jest#1128 * test: move test cases to @testing/library for Tabs (ant-design#35796) * chore(deps): update dependency eslint-plugin-jest to ~26.4.0 (ant-design#35801) * chore(deps): update dependency eslint-plugin-jest to ~26.4.0 * Update package.json Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: afc163 <afc163@gmail.com> * feat: change the changelog of 4.20.6 version * test: move test cases to @testing/library for Image (ant-design#35806) * docs: changelog for 4.20.7 (ant-design#35804) * docs: changelog for 4.20.7 * chore: bump version to 4.20.7 * docs: update changelog * refactor: Fix Dropdown nesting menu injection logic (ant-design#35810) * refactor: Dependency Inversion * test: update snapshot * test: Update snapshot * test: more * fix: table dropdown logic * fix: menu lint * chore: upgrade to jest-image-snapshot 5.x (ant-design#35818) * test: move test cases to @testing/library for Modal (ant-design#35785) * test: move test cases to @testing/library for Modal * update * fix: test * test: add test case for mouse position * chore: revert * fix: Progress type="line" strokeLinecap (ant-design#35822) * docs: fix typo of Menu items code example (ant-design#35832) * test: move test cases to @testing/library for Drawer (ant-design#35839) * perf: active skeleton animated with transform (ant-design#35836) * active skeleton animated with transform * properties order fixed * properties order fixed * properties order fixed Co-authored-by: afc163 <afc163@gmail.com> * style: tweak Skeleton margin top style (ant-design#35848) * docs: update FAQ titles * test: move test cases to @testing/library for List (ant-design#35850) * chore: bump rc-dialog & update snapshot * fix: set jest shard to 2 (ant-design#35831) * fix: drawer close twice children is undefined (ant-design#35853) * fix: drawer close twice children is undefined * fix: drawer close twice children is undefined * chore: code * fix: test * test: update snapshot * fix: remove extraneous space from rc-segmented version (ant-design#35863) The extra spaces confuses third-party tooling * feat: Progress steps support custom strokeColor for each step (ant-design#35855) * feat: <Progress steps /> could accept string[] as strokeColor close ant-design#35852 close ant-design#26858 * fix: tsx demo * docs: add version column * chore: stlye patch of statistic (ant-design#35874) * chore: stlye patch of statistic * test: Udpate snapshot * test: replace Input part test with test lib (ant-design#35754) * test: replace Input part test with test lib * test: test input case * test: update textarea case Co-authored-by: z1399 <zhenggq@dtdream.com> Co-authored-by: afc163 <afc163@gmail.com> * refactor: pagination mini className (ant-design#35881) * refactor: pagination mini cls * test: update snapshot * test: update snapshot * chore: code clean * chore: code clean * test: update snapshot * test: update snapshot * refactor: Wave in React 18 StrictMode (ant-design#35889) * feat: tabs support popupClassName (ant-design#35892) * feat: tabs support popupClassName * docs: update * fix:border-style for inputNumber addon when rtl (ant-design#35876) * chore(deps): update dependency @types/jest to v28 (ant-design#35907) Co-authored-by: Renovate Bot <bot@renovateapp.com> * ci: fix typo * fix: 类型“FormListFieldData”上不存在属性“fieldKey”。(ant-design#35883) (ant-design#35884) * fix: 类型“FormListFieldData”上不存在属性“fieldKey”。(ant-design#35883) * add deprecated tag to fieldKey * add changelog * Revert "add changelog" This reverts commit 2cc174f. * chore: update changelog script (ant-design#35916) * docs: add typography format version * fix: remove important in radio style (ant-design#35920) * fix: remove important in radio style * chore: code clean * docs: correct types (ant-design#35919) * docs: correct types * ++ Co-authored-by: afc163 <afc163@gmail.com> * test: migrate part of Button tests (ant-design#35869) * test: migrate part of Affix tests (ant-design#35860) * docs: add changelog 4.21.0 (ant-design#35915) * docs: add changelog 4.21.0 * Update CHANGELOG.en-US.md Co-authored-by: Amumu <yoyo837@hotmail.com> * Update CHANGELOG.zh-CN.md Co-authored-by: Amumu <yoyo837@hotmail.com> * docs: add * Update CHANGELOG.en-US.md * docs: fix * docs: add * docs: update * docs: fix * docs: remove 35407 Co-authored-by: Amumu <yoyo837@hotmail.com> * Feat: support 'treeExpandAction' prop for TreeSelect (ant-design#35618) * Feat: support 'treeExpandAction' prop for TreeSelect * chore: bump rc-tree * chore: fix lint * fix: fix directory tree duplicate expandAction * fix: fix directory tree duplicate expandAction * fix: fix directory tree duplicate expandAction * chore: add docs Co-authored-by: zombiej <smith3816@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> * chore: bump bundle size of babel runtime * docs: Update 4.21.0 changelog * docs: fix tree demo (ant-design#35927) * fix: Form.Item noStyle should not be affected by parent Form.Item (ant-design#35849) * fix: Form.Item noStyle should not be affected by parent Form.Item * test: update snapshot * fix: status * chore: code clean * fix: modal and drawer * test: fix lint * chore: code clean * refactor: noFormStyle * chore: code clean * revert: revert change in Form.Item * chore: code clean * test: replace test case with test library (ant-design#35925) * test: replace test case with test library * test: replace test case with test library * test: update snapshots * docs: clean up useless space * test: refactor tree with testing lib (ant-design#35937) * test: tree test * test: clean up * chore: bump rc-tree * test: Update snapshot * test: Update for react 18 * test: move test cases to testing lib (ant-design#35909) * test: move test cases to testing lib (ant-design#35900) * fix: menu items typings (ant-design#35790) * Fix menu items typings * add test case for menu item type checking * fix: cubic-bezier should be animation-timing-function (ant-design#35943) * fix: modify 'antd' to 'infrad' in loop-banner.md of alert * fix: modify line-height value to @line-height-base of descriptions component * fix: remove the last tr's border-bottom of table component * style: modify some styles of table component * fix: modify style of table component * fix: modify all icon of table title to 14px size * style: modify some style of table component and rollback tooltip component * style: modify some style of table component and rollback tooltip component * fix: Fix the style problem in the small state of the progress component * fix: Fix the style problem in the small state of the progress component * fix: use variables to set size or padding * feat: update changelog to version 4.21.4 Co-authored-by: Sukka <isukkaw@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: Katsiaryna Pustakhod <Katsiaryna_Pustakhod@epam.com> Co-authored-by: vagusX <vagusX@users.noreply.github.com> Co-authored-by: MadCcc <1075746765@qq.com> Co-authored-by: agarciaguillo <albertogarciaelx@gmail.com> Co-authored-by: Jesús Gallego Irles <jesusgallego@outlook.com> Co-authored-by: zombiej <smith3816@gmail.com> Co-authored-by: Dunqing <1247748612@qq.com> Co-authored-by: Amumu <yoyo837@hotmail.com> Co-authored-by: Zack Chang <73225408+jrr997@users.noreply.github.com> Co-authored-by: 黑雨 <wangning4567@163.com> Co-authored-by: lalalazero <zzzero520@hotmail.com> Co-authored-by: Dreamcreative <m543438924@163.com> Co-authored-by: Walid Cherhane <56094829+walidcherhane@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: PCCCCCCC <zpc.excel@foxmail.com> Co-authored-by: linqiqi077 <865530219@qq.com> Co-authored-by: TrickyPi <33021497+TrickyPi@users.noreply.github.com> Co-authored-by: haipeng <firemmet@gmail.com> Co-authored-by: Yanlin Jiang <cncolder@gmail.com> Co-authored-by: Cooper Veysey <cwveysey@gmail.com> Co-authored-by: shuaijiumei <63175611+shuaijiumei@users.noreply.github.com> Co-authored-by: Karott Schu <karott7@gmail.com> Co-authored-by: parabolazz <parebolayh@outlook.com> Co-authored-by: Tom Xu <ycxzhkx@gmail.com> Co-authored-by: zhang lay <lay.zhang@shopee.com> Co-authored-by: Mykyta Velykanov <nikitavelykanov@gmail.com> Co-authored-by: 陈帅 <qixian.cs@outlook.com> Co-authored-by: Yanming Deng <cisolarix@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ron Šmeral <ron.smeral@gmail.com> Co-authored-by: Ron Smeral <ron.smeral@merck.com> Co-authored-by: dingkang <dingkang0458@gmail.com> Co-authored-by: Tony Wu <93302820+tonywu6@users.noreply.github.com> Co-authored-by: miracles1919 <516571350@qq.com> Co-authored-by: limingxin <906529775@qq.com> Co-authored-by: ty888 <1506125048@qq.com> Co-authored-by: Yuki Zhang <foryuki@outlook.com> Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com> Co-authored-by: joson <373693643@qq.com> Co-authored-by: hezhaoshun <hezhaoshun@cmcm.com> Co-authored-by: 周晨阳 <59002875+ZZZCNY@users.noreply.github.com> Co-authored-by: 章鱼 <ryker.zy@gmail.com> Co-authored-by: Bart Piotrowski <31428082+bartpio@users.noreply.github.com> Co-authored-by: yykoypj <601924094@qq.com> Co-authored-by: Niyaz Akhmetov <axmet180@gmail.com> Co-authored-by: 社长长 <ischenkan@outlook.com> Co-authored-by: chenkan1 <chenkan1@huya.com> Co-authored-by: zhao-huo-long <lijiuyi1995@outlook.com> Co-authored-by: Cong Zhang <dancerphil1994@gmail.com> Co-authored-by: Long Hao (龙濠) <45565100+LongHaoo@users.noreply.github.com> Co-authored-by: Gabriel Haruki <gabrielharukisatoh@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Peach <scdzwyxst@gmail.com> Co-authored-by: MrHadEnough <mrhadenough@users.noreply.github.com> Co-authored-by: slotDumpling <67586451+slotDumpling@users.noreply.github.com> Co-authored-by: Mehdi Salem Naraghi <momesana@gmail.com> Co-authored-by: 郑国庆 <zhengshuai1993816@163.com> Co-authored-by: z1399 <zhenggq@dtdream.com> Co-authored-by: Luobo Zhang <zhang.pc3@gmail.com> Co-authored-by: xrkffgg <xrkffgg@gmail.com> Co-authored-by: chenxiang <597219320@qq.com> Co-authored-by: 元凛 <xrkffgg@vip.qq.com> Co-authored-by: kalykun <984757534@qq.com> Co-authored-by: Shang Song <14830727+zggmd@users.noreply.github.com> Co-authored-by: Heaven <18418010+NE-SmallTown@users.noreply.github.com> Co-authored-by: MasaoBlue <16271994+MasaoBlue@users.noreply.github.com>
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
close #35305
💡 Background and solution
📝 Changelog
Encountered two children with the same key
in some cases.Encountered two children with the same key
警告的问题。☑️ Self Check before Merge