-
-
Notifications
You must be signed in to change notification settings - Fork 50.3k
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: Upload types for pass generic #33543
Conversation
Codecov Report
@@ Coverage Diff @@
## master #33543 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 418 418
Lines 7785 7784 -1
Branches 2197 2198 +1
=========================================
- Hits 7785 7784 -1
Continue to review full report at Codecov.
|
@afc163 Ok. Checked it. |
Could you add a test case like https://github.com/ant-design/ant-design/blob/master/components/form/__tests__/type.test.tsx |
Of course. My mistake. |
* refactor: Use getKeyThenIncreaseKey in message notice function (ant-design#32642) * fix: Avoid selecting the placeholder of input control on Chrome browser, keep consistent of selection behavior with Firefox browser (ant-design#32639) * feat: add showCancel prop for popconfirm (ant-design#32620) Co-authored-by: machixian <machixian@myweimai.com> * fix: Collapse style issue when expandIconPosition is right (ant-design#32648) Co-authored-by: ext.zhangtianyi3 <ext.zhangtianyi3@360buyad.local> * style: fix Upload picture loading style (ant-design#32664) * docs: form register demo add textarea item (ant-design#32669) Co-authored-by: machixian <machixian@myweimai.com> * feat: Modal.xxx support wrapClassName prop (ant-design#32676) Co-authored-by: machixian <machixian@myweimai.com> * chore(ci): update release workflow (ant-design#32668) * chore(ci): update release workflow * chore(ci): update release-helper workflow Co-authored-by: zwlafk <zwlafk@users.noreply.github.com> * docs: add Version (ant-design#32678) Co-authored-by: machixian <machixian@myweimai.com> * docs: fix List demo close ant-design#32685 * feat: Form.Item no longer need `fieldKey` anymore (ant-design#32689) * chore:Update Form to remove fieldKey * fix: fieldKey cache logic * test: Update snapshot * chore: clean up * style: fix Card tabs of left position (ant-design#32695) close ant-design#32673 * feat: input number support prefix (ant-design#32600) * docs(:sparkles:): release 4.17.0-alpha.9 (ant-design#32705) * fix: table loading css error when sticky is true (ant-design#32703) * Table loading css error when sticky is true * [CodeFactor] Apply fixes to commit dc1a930 [ci skip] [skip ci] * fix Table loading css error when sticky is true * Fix table loading css error when sticky is true bug * Update index.less Co-authored-by: Miloud Belaabed <m.belabed@itihad.me> Co-authored-by: codefactor-io <support@codefactor.io> Co-authored-by: afc163 <afc163@gmail.com> * chore: improve overview card style * chore: Create bug-report.yml (ant-design#32716) * Create bug-report.yml * Update bug-report.yml * Rename bug-report.yml to 1-bug-report.yml * Rename 1-bug-report.yml to template-1-bug-report.yml * chore: add ISSUE_TEMPLATE * chore: add ISSUE_TEMPLATE * chore: update ISSUE_TEMPLATE * chore: update ISSUE_TEMPLATE * fix: Typography ellipsis with 1 row doesn't wrap (ant-design#32735) Co-authored-by: ext.zhangtianyi3 <ext.zhangtianyi3@360buyad.local> * fix: Input disabled should not keep focus style (ant-design#32739) * fix: tweak Steps vertical progressDot style (ant-design#32742) close ant-design#32737 * chore: update issue template (ant-design#32749) * Update template-1-bug-report.yml * Update template-2-feature-request.yml * Update template-2-feature-request.yml * Update template-1-bug-report.yml * Update template-1-bug-report.yml * Update template-2-feature-request.yml * chore(💄): fix issue template * chore: update form demo * refactor: Move part mixins less to theme instead (ant-design#32763) * refactor: Move theme related variables * chore: move rest motion * chore: trigger CI * chore: steps by steps * chore: back order * docs: Update docs * chore(deps-dev): bump @types/gtag.js from 0.0.7 to 0.0.8 (ant-design#32746) Bumps [@types/gtag.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gtag.js) from 0.0.7 to 0.0.8. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/gtag.js) --- updated-dependencies: - dependency-name: "@types/gtag.js" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: Spin tip can be react node (ant-design#32733) Though this may be opposed to the design. It may be useful to people who want to have complicated tip content. * fix: opening animation of the bottom drawer (ant-design#32761) Co-authored-by: Korra <1178115756@qq.com> close ant-design#32621 * chore(deps-dev): bump eslint-plugin-unicorn from 37.0.1 to 38.0.0 (ant-design#32765) Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 37.0.1 to 38.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](sindresorhus/eslint-plugin-unicorn@v37.0.1...v38.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> * docs: add 4.17.0-alpha.10 changelog (ant-design#32775) * fix: codepen demo error using hooks (ant-design#32766) * docs: Fix the link in Table's API doc (ant-design#32779) - Fix FilterDropdownProps link in table/index.en-US.md - Fix FilterDropdownProps link in table/index.zh-CN.md * fix: Form horizontal broken style when select item is too long (ant-design#32778) close ant-design#32777 * docs: fix Spin API ts description (ant-design#32786) Co-authored-by: DanielLeefu <you@2228429150@qq.com> * chore(Tag): update tween-one (ant-design#32800) close ant-design#32731 * fix: tag animation demo (ant-design#32804) * fix: if breadcrumbRender return false, breadcrumb will hidden (ant-design#32738) * fix: if breadcrumbRender return false, breadcrumb will hidden * add testd * chore: extends limit (ant-design#32814) * feat: ConfigProvider add form colon (ant-design#32818) * feat: ConfigProvider add form colon * add: test for ant-design#32799 * fix: Modify FormItemLabel get ConfigColon from From * refactor: Simplify the code * style: fix Tree icon align bug (ant-design#32822) * docs: update customize-theme-variable.zh-CN.md * chore: Upgrade react router v6 (ant-design#32821) * chore: upgrade react-router to v6 close ant-design#32809 close ant-design#32774 * fix test * fix test * fix test * fix test * docs: Version Robin (ant-design#32830) * docs: add demo for Input.Group (ant-design#32837) https://weibo.com/2259174311/L0gtIjb3Z * fix: borderLeftRadius error for Input.Search ant-design#32808 (ant-design#32812) close ant-design#32808 * chore(.gitignore):add ignore for pnpm (ant-design#32860) * chore(deps-dev): bump stylelint-config-standard from 23.0.0 to 24.0.0 (ant-design#32866) Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) from 23.0.0 to 24.0.0. - [Release notes](https://github.com/stylelint/stylelint-config-standard/releases) - [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/main/CHANGELOG.md) - [Commits](stylelint/stylelint-config-standard@23.0.0...24.0.0) --- updated-dependencies: - dependency-name: stylelint-config-standard 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> * docs: 4.17.0 changelog (ant-design#32859) * docs: 4.17.0 changelog * test: Update snapshot * docs: Update desc * docs: merge changelog * style: use @height-base in PageHeader (ant-design#32883) close ant-design#32871 * chore: fix site in IE11 (ant-design#32868) * chore: fix site in IE11 * chore: fix site in IE11 * chore: fix site in IE11 * chore: fix site in IE11 * fix: Move variable related code to theme file (ant-design#32887) * chore: 4.17.1-alpha.0 * test: Patch test case of mixins (ant-design#32889) * docs: Update Cascader changeOnSelect desc close ant-design#32886 * feat: Expand pl_PL translations to latest translation spec (ant-design#32896) Co-authored-by: Michał Podeszwa <178679-michalpodeszwa@users.noreply.gitlab.com> * style: fix placholder color missing (ant-design#32915) * chore(deps-dev): bump eslint-plugin-compat from 3.13.0 to 4.0.0 (ant-design#32917) Bumps [eslint-plugin-compat](https://github.com/amilajack/eslint-plugin-compat) from 3.13.0 to 4.0.0. - [Release notes](https://github.com/amilajack/eslint-plugin-compat/releases) - [Changelog](https://github.com/amilajack/eslint-plugin-compat/blob/main/CHANGELOG.md) - [Commits](amilajack/eslint-plugin-compat@v3.13.0...v4.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-compat 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: Tabs editable missing remove icon style in dropdown (ant-design#32919) * refatcor: Move mixins back (ant-design#32920) * chore: bump 4.17.1-alpha.1 * fix: `Submit` typo (ant-design#32933) close ant-design#32928 * fix: inherit `itemRender` typing from `rc-pagination` (ant-design#32931) fix ant-design#32878 * chore: fix types declaration (ant-design#32935) * chore: remove unused css code * fix: Modal.method bodyStyle not working (ant-design#32934) * fix: Modal.method bodyStyle失效 * test: Modal.method bodyStyle失效 * Apply suggestions from code review Co-authored-by: 晋文涛 <jinwentao@zhaojiafang.com> Co-authored-by: afc163 <afc163@gmail.com> * chore(deps-dev): bump typescript from 4.4.4 to 4.5.2 (ant-design#32940) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.4 to 4.5.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v4.4.4...v4.5.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: Update customize-theme-variable document (ant-design#32930) * Update customize-theme-variable.zh-CN.md * Update customize-theme-variable.en-US.md * Update customize-theme-variable.zh-CN.md * Update customize-theme-variable.en-US.md * refactor: Remove unnecessary div containers (ant-design#31492) * feat: Add km_KH locale to component (ant-design#32853) * Add km_KH locale to component * Add test and docs * Fix typo * Add test snapshot * style: fix menu link color in collapsed tooltip (ant-design#32956) close ant-design#32950 * docs: 4.17.1 changelog (ant-design#32968) * docs: 4.17.1 changelog * chore: bump version to 4.7.1 * docs: use flag for intl changelog * docs: remove useless changelog * docs: remove useless changelog * fix: remove space (ant-design#32974) Co-authored-by: machixian <machixian@myweimai.com> * chore(deps-dev): bump eslint-plugin-unicorn from 38.0.1 to 39.0.0 (ant-design#32975) Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 38.0.1 to 39.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](sindresorhus/eslint-plugin-unicorn@v38.0.1...v39.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> * fix: Form layout span 24 usage (ant-design#32981) close ant-design#32980 * docs: site build script update (ant-design#32984) * chore: rm color-less * refactor: MV theme to variable * docs: fix header * chore: clean up * chore: enable esbuild * refactor: Tree support generic (ant-design#32992) * chore: bump rc-tree * test: add test case * test: Add ts check * fix: Input.Search enterButton don't trigger click event (ant-design#32999) close ant-design#32993 * test: Update snapshot * fix: Cascader typescript (ant-design#33008) * chore: Cascsader add missing suffixIcon * chore: export CascaderRef * chore: Casacer type * fix: Updated translations in et_EE.tsx (ant-design#33005) * Updated translations in et_EE.tsx Added missing Estonian translations. * Updated et_EE.tsx Defined typeTemplate * chore: fix eslint * docs: fix Drawer closable description (ant-design#33018) 关闭按钮移至左上角了 * fix: Modal centered not centered (ant-design#33022) close ant-design#33021 * chore: use https://new-issue.ant.design back (ant-design#33029) * Rename template-1-bug-report.yml to template-1-bug-report.yml.close * Update config.yml * Rename template-2-feature-request.yml to template-2-feature-request.yml.close * docs: fix Drawer onClose description (ant-design#33031) Drawer 抽屉现在关闭按钮都在左上角了,描述不对 * fix: en-US#docs-fix Drawer closable description (ant-design#33035) * Update index.en-US.md * Update index.en-US.md * Update index.en-US.md * chore: upgrade @ant-design/bisheng-plugin * chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 (ant-design#32824) * chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript) from 18.2.1 to 19.0.0. - [Release notes](https://github.com/airbnb/javascript/releases) - [Commits](airbnb/javascript@eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0) --- updated-dependencies: - dependency-name: eslint-config-airbnb dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix lint * fix lint * fix lint * fix lint * fix lint * fix lint * fix lint * fix lint * fix lint * chore: code style * memoize-one * add comment * fix lint * fix lint * fix lint * fix lint * fix lint * fix lint * fix lint * fix lint * fix lint * improve useMemo deps Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: afc163 <afc163@gmail.com> * chore: opt of theme gen * chore: speed up site build mode * test: Update snapshot * chore: fix lint * docs(✨): release 4.17.2 (ant-design#33051) * docs(:sparkles:): release 4.17.2 * docs(:sparkles:): release 4.17.2 * feat: Support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN (ant-design#33026) * feat: Table support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN * docs: Update docs * feat: support Form labelWrap (ant-design#33048) * feat: form label can be wrap * fix api doc * fix ts * fix: TextArea height bug (ant-design#33055) * fix: TextArea height bug when has `showCount` close ant-design#33049 * fix snapshot * revert form demo * ci: fix site deploy * fix: Back of relative (ant-design#33070) * docs: Cascader displayRender data (ant-design#33087) * docs: Cascader displayRender data * ts: clean up * test: Update rc-resize-observer version * test: fix resize related test case * chore: fix ts error * test: Fix resize logic * docs: update demo * docs: clarify select option title doc close ant-design#33105 * fix(locale): Add missing zh-TW translation for Form.optional, fix ant-design#30361 (ant-design#33108) Co-authored-by: 诸岳 <fuping.dfp@antgroup.com> * fix: carousel type declaration (ant-design#33109) fix: CarouselRef["autoPlay"] is a method instead of a boolean value * chore: refactor some code (ant-design#33034) * Refactor some code * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * [CodeFactor] Apply fixes [ci skip] [skip ci] * rename abbr to sizeClassNameMap * refactor: Button size class name Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: codefactor-io <support@codefactor.io> * refactor: Move Table `rowSpan` & `colSpan` demo to `onCell` instead (ant-design#33114) * docs: change doc of span demo * docs: clear render props * fix: Radio dot offset when zooming (ant-design#33086) Co-authored-by: hydraZty <hydra_zty@163.com> * chore: bump version (ant-design#33124) * fix: Select width bug when searching (ant-design#32988) * fix: select placeholder should take place when searching close ant-design#27688 * fix snapshot * test: add test helper for accessibility As proposed in ant-design#22343, the components can be automatically validated for accessibility. This adds a test helper that runs Axe to check for accessibility violations. * chore(deps-dev): bump react-helmet-async from 1.1.2 to 1.2.0 (ant-design#33133) Bumps [react-helmet-async](https://github.com/staylor/react-helmet-async) from 1.1.2 to 1.2.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: fix ci in npm 8 * chore: remove react-virtualized from demo * refactor: replace let with const (ant-design#33134) * refactor: replace let with const * refactor: replace let with const * refactor: replace let with const * refactor: replace let with const new * Update components/affix/index.tsx * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * chore(deps-dev): bump jsdom from 18.1.1 to 19.0.0 (ant-design#33156) Bumps [jsdom](https://github.com/jsdom/jsdom) from 18.1.1 to 19.0.0. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md) - [Commits](jsdom/jsdom@18.1.1...19.0.0) --- updated-dependencies: - dependency-name: jsdom 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: fix ci warnings (ant-design#33160) * fix: anchor add prefixCls (ant-design#33085) Co-authored-by: undefined <undefined> * docs: update badge * ci: fix checkout version (ant-design#33164) * ci: fix checkout version * chore: add more * test: fix test error * Revert "test: fix test error" This reverts commit 3881e5d. * fix: fix badge animation end not trigger when parent is display:none (ant-design#33083) Co-authored-by: songlin.chen <songlin.chen@leyantech.com> * test: fix Alert test (ant-design#33167) * text: fix Alert test * test: style * test: up snap * test: up * docs: Update index.zh-CN.md (ant-design#33184) 修复文档中 FormInstance 的 scrollToField方法 第二个参数 options 错误的类型 * fix: Upload `data` type (ant-design#33193) * fix: Upload `data` type * fix eslint errors * fix: radio cursor style (ant-design#33198) * fix: radio cursor style * [CodeFactor] Apply fixes to commit 38721bb [ci skip] [skip ci] Co-authored-by: codefactor-io <support@codefactor.io> * fix: Drawer title position (ant-design#33205) * fix(locale): Add missing zh-TW translation for Transfer (ant-design#33209) Co-authored-by: 诸岳 <fuping.dfp@antgroup.com> * fix: Button loading style missing in Firefox (ant-design#33199) * docs(:sparkles:): release 4.17.3 (ant-design#33213) * ci: fix footer click (ant-design#33214) * New Pull Request for README-sp_MX.md (ant-design#33226) * Create README-sp_MX.md Translation of README to Spanish. * Update README.md * Update README-zh_CN.md * Update README-uk_UA.md * Update README-pt_BR.md * fix: Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug (ant-design#31846) * Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug * Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug * fixed lint issues. * change: add black list for form item name * keep the definition the same as before * update snapshot * change formItemNameBlackList type to array * add test case for form item is in black list * add test condition * prettier it * change: add black list for form item name * keep the definition the same as before * merege from upstream * rebase this branch * change formItemNameBlackList type to array * add test case for form item is in black list * add test condition * prettier it * fix test case that casing by rebase * docs: update customize-theme-variable.md (ant-design#33272) * fix: Revert "fix: TextArea missing maxLength attr." (ant-design#33312) * Revert "fix: TextArea missing maxLength attribute (ant-design#32448)" This reverts commit ee703c1. * fix: snapshot * test: fix initial test case (ant-design#33313) * test: fix initial test case * chore: replace with exist fn * chore: rm dep conflict * chore: fix dev jest env * test: Update snapshot * docs(faq): correct 'Ant Design Mobile' (ant-design#33341) * chore(deps): update dependency antd-img-crop to v4 (ant-design#33352) Co-authored-by: Renovate Bot <bot@renovateapp.com> * docs: add 4.17.4 changelog (ant-design#33354) * docs: add 4.17.4 changelog * update changelog * chore: remove whitespace * fix(slider): disabled rail background-color error (ant-design#33369) Co-authored-by: chenjingjie <chenjingjie@coding.net> * docs: improve changelog * Add Capture prop to Upload Component Typescript Definition (ant-design#33370) Co-authored-by: Michał Podeszwa <178679-michalpodeszwa@users.noreply.gitlab.com> * chore: add sorting translations for fi_FI (ant-design#33372) * chore: Bump Select related deps (ant-design#33364) * chore: bump select related version * test: Fix test case * chore: bump rc-select version * test: Update snapshot * chore: Update Select ts * test: Update snapshot * test: Update snapshot * test: Update snapshot * chore: Update ts definition * chore: fix internal ts def * test: update auto complete snapshot * chore: update snapshot * chore: bump version * chore: fix demo ts * chore: Move ValueType to the first place * test: Update test case * fix: Missing Catalan (ca_ES) translation key: Form.optional ant-design#33280 (ant-design#33377) Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> * docs: fixing document issues (ant-design#33259) * test: Demo check popup content (ant-design#33378) * auto demo * chore: update demo snapshot * fix: trigger mock ref logic * chore: try 2 test case * chore: more snapshot * chore: update snapshot * chore: fix ts * chore: split test * test: Update test case * chore: fix test order * fix: Descriptions default overflow value (ant-design#33392) close ant-design#33316 * chore: Internal Menu interface for ProLayout usage (ant-design#33399) * test: Update snapshot * chore: disable tooltip * chore: rename * fix: Skeleton missing style (ant-design#33405) * chore(deps): update dependency scrollama to v3 (ant-design#33418) Co-authored-by: Renovate Bot <bot@renovateapp.com> * docs: Update practical-projects.zh-CN.md (ant-design#33419) * test: update snapshot * chore: 4.18.0 changelog (ant-design#33424) * fix: not allow setState in Popconfirm if unmounted * Docs: fix fieldNames options typo (ant-design#33241) * docs: tree-select fieldNames error * docs: fix docs error * fix: docs typo * docs: fix fieldNames * fix: The current change of pagination triggers onChange (ant-design#33411) * fix: table pagination onChange error (ant-design#33374) * test: add test case for this (ant-design#33374) * docs: Update use-in-typescript.zh-CN.md (ant-design#33434) 这里有点不对 /* src/App.ts */ 应该是 /* src/App.tsx */ 执行npx create-react-app my-project-name --template typescript后也只有App.tsx文件 * docs: fix version error (ant-design#33443) Co-authored-by: machixian <machixian@myweimai.com> * fix: Dropdown button destroyPopupOnHide prop not working ant-design#33433 (ant-design#33442) Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> * docs: update changelog * test: Update snapshot * feat: add useMountedRef hook * chore: revert import order change * fix(Divider): with text dashed border color error (ant-design#33452) * test: add test for react memory leak warning in Popconfirm * fix: input not support number value (ant-design#33462) * docs: Update index.en-US.md (ant-design#33464) provide correct hash link for row selection docs to selection config anchor tag * refactor: refactor useMountedRef to useMounted * refactor: refactor useMounted to useDestroyed * docs: 4.18.1 changelog (ant-design#33476) * docs: 4.18.1 changelog * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> * docs: improve Cascader API documentation (ant-design#33484) close ant-design#33477 * docs: improve changelog * Revert "fix: The current change of pagination triggers onChange (ant-design#33411)" (ant-design#33489) This reverts commit 629cacc. * docs: release 4.18.2 (ant-design#33491) * test: add test case for ant-design#33487 (ant-design#33492) * chore: remove whitespace * fix: Form should have default validateMessages in en locale (ant-design#33511) * fix missing words in commets (ant-design#33514) Lol * chore(deps): update dependency eslint-plugin-unicorn to v40 (ant-design#33520) Co-authored-by: Renovate Bot <bot@renovateapp.com> * fix: image demo test in argo-ci (ant-design#33523) close ant-design#33512 * Update README-sp_MX.md (ant-design#33535) The other title doesn't make sense. "Medio ambiente" is the environment, as in environmental pollution, nothing to do with computers. * fix: Select tag margin issue when using tagRender (ant-design#33539) close ant-design#33531 * docs: update upload-png-only demo (ant-design#33544) [[English Template / 英文模板](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE.md)] ### 🤔 这个变动的性质是? - [ ] 新特性提交 - [ ] 日常 bug 修复 - [ ] 站点、文档改进 - [x] 演示代码改进 - [ ] 组件样式/交互改进 - [ ] TypeScript 定义更新 - [ ] 包体积优化 - [ ] 性能优化 - [ ] 功能增强 - [ ] 国际化改进 - [ ] 重构 - [ ] 代码风格优化 - [ ] 测试用例 - [ ] 分支合并 - [ ] 其他改动(是关于什么的改动?) ### 🔗 相关 Issue 无 ### 💡 需求背景和解决方案 无 ### 📝 更新日志 | 语言 | 更新描述 | | ------- | -------- | | 🇺🇸 英文 | | | 🇨🇳 中文 | | ### ☑️ 请求合并前的自查清单⚠️ 请自检并全部**勾选全部选项**。⚠️ - [x] 文档已补充或无须补充 - [x] 代码演示已提供或无须提供 - [x] TypeScript 定义已补充或无须补充 - [x] Changelog 已提供或无须提供 * docs: fix update demo * docs: correct react-router usage for breadcrumb (ant-design#33551) * ci: update verify-files-modify (ant-design#33552) * docs: correct semicolon in upload demo (ant-design#33544) (ant-design#33553) * fix: PageHeader state update error (ant-design#33546) * fix: Avoid mutating Event properties that are supposed to be getters (ant-design#33536) * Avoid mutating Event properties that are supposed to be getters React's synthetic Event objects have mutable `target` and `currentTarget` properties. These are an incorrect emulation of the corresponding DOM Event properties, which are _getters_ and cannot be assigned-to. AntD's input handling attempts to assign to these getters, which fails in Preact because it uses native Event objects. The solution is to replace the simple property assignments with property definitions, which is likely smaller anyway due to the existing use of `Object.create()` to construct a prototypal facade of Event objects. * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * perf: upgrade rc-table (ant-design#33554) * fix: Upload types for pass generic (ant-design#33543) * fix: Upload types for pass generic * fix: Upload type * refactor: Upload type * feat: add Upload type test case * fix: CardGridProps should expose Div Properties like onClick ant-design#33264 (ant-design#33563) Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> * style: remove svg reset styles (ant-design#33579) see reason: necolas/normalize.css@004d58b close ant-design#33573 * chore: classnames now provides its own type definitions, so we do not need a stub types definition (ant-design#33612) * chore(deps): update dependency concurrently to v7 (ant-design#33630) Co-authored-by: Renovate Bot <bot@renovateapp.com> * fix: Table emptynode fixed display (ant-design#33610) * docs(TreeSelect): add one missing field (ant-design#33619) * fix: table tree hover error ant-design#33453 (ant-design#33638) * fix: fix the table tree hover error ant-design#33453 * Update package.json Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> Co-authored-by: xrkffgg <xrkffgg@vip.qq.com> Co-authored-by: afc163 <afc163@gmail.com> * feat: menu support home & end key (ant-design#33642) * fix: Form.Item shaking when `help` is empty string (ant-design#33644) * fix: empty help takes the line * test: test case * docs: add changelog 4.18.3 (ant-design#33639) * docs: add changelog 4.18.3 * docs: add * docs: add * docs: add user * Update CHANGELOG.en-US.md Co-authored-by: afc163 <afc163@gmail.com> * Update CHANGELOG.zh-CN.md * docs: add Co-authored-by: afc163 <afc163@gmail.com> * docs: add ProComponents cards (ant-design#33647) * merge * merge * docs: add ProComponents cards Co-authored-by: 期贤 <qixian.cs@antgroup.com> * docs: fix changelog page build issue * docs: improve changelog of 4.18.3 (ant-design#33668) * refactor: opt for typography Tooltip perf (ant-design#33669) * fix: Warning: Encountered two children with the same key, 'seperator' (ant-design#33649) * fix: Warning: Encountered two children with the same key, 'seperator' ant-design#33183 * eslint-disable-next-line react/no-array-index-key Co-authored-by: dimbslmh <dimsbslmh@gmail.com> * test: improve layout demo (ant-design#33653) * test: improve layout demo * test: improve layout demo * update snapshot * fix: checkbox group support options other than string (ant-design#33678) * fix: checkbox group support options other than string * docs: update checkbox docs * fix: radio group support value other than string * fix: only support number and string * docs: update group options type * fix: Image 图片底部空白 ant-design#30825 (ant-design#33631) * fix: remove input showCount attribute from parent component (ant-design#33686) * ci: simple files check actions * ci: preview-deploy download add run_id (ant-design#33680) * fix: Form validateMessages in nested ConfigProvider (ant-design#33705) close ant-design#33691 * fix: Input can not be hidden when prefix is set (ant-design#33706) * fix: Input can not be hidden when prefix is set * test: jest case for ant-design#33692 Co-authored-by: hydraZty <hydra_zty@163.com> * fix: <Icon component={HomeOutlined} /> align issue (ant-design#33709) * fix: <Icon component={HomeOutlined} /> align issue close ant-design#33703 * update snapshot * fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical (fix ant-design#33681) (ant-design#33716) * Steps tail shouldn't show when type is navigation and labelPlacement is vertical (fix ant-design#33681) * fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical close ant-design#33681 * fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical close ant-design#33681 * fix: <Icon component={SyncOutlined} spin /> shake issue. (ant-design#33726) * docs: add controlled preview demo for Image (ant-design#33727) * docs: add controlled preview demo for Image * test: update snapshot * test: fix lint error * fix: Invalid memoized context value in LocaleProvider (ant-design#33723) * fix: Invalid memoized context value in LocaleProvider * Add button type in test case. * fix: Invalid memoized context value in Anchor * docs(table): upgrade react-sortable-hoc usage (ant-design#33729) Co-authored-by: 亦逊 <eason.ym@alibaba-inc.com> * fix Input及相关组件设置 hidden 时展示问题 (ant-design#33735) * fix: Image 图片底部空白 ant-design#30825 * feat: Input、Input.search、Input.Textarea、Input.password 设置 hidden 时 所有 prefix or suffix or showCount or allowClear or addonBefore or addonAfter 都应该隐藏 * fix: lint * fix: test * fix: test ui Co-authored-by: Jtree03 <wowns0903@gmail.com> Co-authored-by: Chang Wei <867597730@qq.com> Co-authored-by: WeijieChen <cwjTerrace@163.com> Co-authored-by: machixian <machixian@myweimai.com> Co-authored-by: hydraZty <670688667@qq.com> Co-authored-by: ext.zhangtianyi3 <ext.zhangtianyi3@360buyad.local> Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: zwlafk <24400915+zwlafk@users.noreply.github.com> Co-authored-by: zwlafk <zwlafk@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: 二货机器人 <smith3816@gmail.com> Co-authored-by: Austaras <austaras@outlook.com> Co-authored-by: Miloud Belaabed <60562443+miloudbelaabed@users.noreply.github.com> Co-authored-by: Miloud Belaabed <m.belabed@itihad.me> Co-authored-by: codefactor-io <support@codefactor.io> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jiajun Chen <tychenjiajun@live.cn> Co-authored-by: solitia7125 <39177579+solitia7125@users.noreply.github.com> Co-authored-by: 陈帅 <qixian.cs@outlook.com> Co-authored-by: X-Jagger <xl.jagger@gmail.com> Co-authored-by: Pob Ch <590650@gmail.com> Co-authored-by: 九思⚡⚡⚡ <2228429150@qq.com> Co-authored-by: DanielLeefu <you@2228429150@qq.com> Co-authored-by: jiang <liangjun.jiang@alipay.com> Co-authored-by: seaSuper <90687224+seaSuper@users.noreply.github.com> Co-authored-by: Karott Schu <karott7@gmail.com> Co-authored-by: Sepush <sepush@outlook.com> Co-authored-by: Michał Podeszwa <MichalPodeszwa@users.noreply.github.com> Co-authored-by: Michał Podeszwa <178679-michalpodeszwa@users.noreply.gitlab.com> Co-authored-by: JounQin <admin@1stg.me> Co-authored-by: huangkairan <56213366+huangkairan@users.noreply.github.com> Co-authored-by: benben <jinwentao0914@dingtalk.com> Co-authored-by: 晋文涛 <jinwentao@zhaojiafang.com> Co-authored-by: Sunny Luo <sunnylqm@gmail.com> Co-authored-by: ppbl <33046279+ppbl@users.noreply.github.com> Co-authored-by: VIREAK KEOSOKVIBOL <46261326+vireakkeosokvibol@users.noreply.github.com> Co-authored-by: Peach <scdzwyxst@gmail.com> Co-authored-by: wedeso <35111662+wedeso@users.noreply.github.com> Co-authored-by: GannonSun <GannonSun@gmail.com> Co-authored-by: shuchang <44997670+dreampasss@users.noreply.github.com> Co-authored-by: Gabriel Mendez Reyes <gabriel.mendez0@hotmail.com> Co-authored-by: xrkffgg <xrkffgg@gmail.com> Co-authored-by: 诸岳 <fuping.dfp@antfin.com> Co-authored-by: 诸岳 <fuping.dfp@antgroup.com> Co-authored-by: Qiuxu <76635711+q1uxu@users.noreply.github.com> Co-authored-by: Frank Fang <FrankFang1990@gmail.com> Co-authored-by: hydraZty <hydra_zty@163.com> Co-authored-by: Stef Schenkelaars <stef.schenkelaars@gmail.com> Co-authored-by: Tom And Jerry <45513363+sunkuangdong@users.noreply.github.com> Co-authored-by: tangjinzhou <415800467@qq.com> Co-authored-by: songlinn <17741492+songlinn@users.noreply.github.com> Co-authored-by: songlin.chen <songlin.chen@leyantech.com> Co-authored-by: zhichenshaw <37165714+zhichenshaw@users.noreply.github.com> Co-authored-by: mursulis <49298354+mursulis@users.noreply.github.com> Co-authored-by: James <daoxingyue@live.cn> Co-authored-by: 谭真 <736420282@qq.com> Co-authored-by: Curly Brackets <76864176+curly210102@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: chen-jingjie <2383844893@qq.com> Co-authored-by: chenjingjie <chenjingjie@coding.net> Co-authored-by: Sami Mäkinen <zakarfin@gmail.com> Co-authored-by: guhao.zeng <45565100+ZzGGitter@users.noreply.github.com> Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> Co-authored-by: binyellow <571704908@qq.com> Co-authored-by: Nmaxwiver <9283555+hxmwr@users.noreply.github.com> Co-authored-by: MadCcc <1075746765@qq.com> Co-authored-by: dengqing <1247748612@qq.com> Co-authored-by: 2724635499 <2724635499@qq.com> Co-authored-by: 麦谷 <1141453778@qq.com> Co-authored-by: chen-jingjie <35401187+chen-jingjie@users.noreply.github.com> Co-authored-by: Garrick Crouch <garrickcrouch@gmail.com> Co-authored-by: Xi Ming <46511237+seki2020@users.noreply.github.com> Co-authored-by: Pablo Recalde <me@pablorecalde.com> Co-authored-by: Ryan Lee <yigexbl@gmail.com> Co-authored-by: Wuif <5678318+wuifdesign@users.noreply.github.com> Co-authored-by: Jason Miller <developit@users.noreply.github.com> Co-authored-by: uchanlee <uchanlee.dev@gmail.com> Co-authored-by: Long Hao (龙濠) <45565100+LongHaoo@users.noreply.github.com> Co-authored-by: Amumu <yoyo837@hotmail.com> Co-authored-by: NothingToDo <49073282+hemengke1997@users.noreply.github.com> Co-authored-by: Shanjie Chen <cnzxcsj@outlook.com> Co-authored-by: xrkffgg <xrkffgg@vip.qq.com> Co-authored-by: 期贤 <qixian.cs@antgroup.com> Co-authored-by: dimbslmh <745635+dimbslmh@users.noreply.github.com> Co-authored-by: dimbslmh <dimsbslmh@gmail.com> Co-authored-by: zhenfan.yu <fanerge@qq.com> Co-authored-by: whwangms <whwangms@outlook.com> Co-authored-by: ZhouZhen <503633021@qq.com> Co-authored-by: toSayNothing <91143836+toSayNothing@users.noreply.github.com> Co-authored-by: PlayerWho <who.zhuang@gmail.com> Co-authored-by: Di Wu <di@gridx.cn> Co-authored-by: yanm1ng <644169721@qq.com> Co-authored-by: 亦逊 <eason.ym@alibaba-inc.com> Co-authored-by: zhang lay <lay.zhang@shopee.com>
* fix: Collapse style issue when expandIconPosition is right (ant-design#32648) Co-authored-by: ext.zhangtianyi3 <ext.zhangtianyi3@360buyad.local> * style: fix Upload picture loading style (ant-design#32664) * docs: form register demo add textarea item (ant-design#32669) Co-authored-by: machixian <machixian@myweimai.com> * feat: Modal.xxx support wrapClassName prop (ant-design#32676) Co-authored-by: machixian <machixian@myweimai.com> * chore(ci): update release workflow (ant-design#32668) * chore(ci): update release workflow * chore(ci): update release-helper workflow Co-authored-by: zwlafk <zwlafk@users.noreply.github.com> * docs: add Version (ant-design#32678) Co-authored-by: machixian <machixian@myweimai.com> * docs: fix List demo close ant-design#32685 * feat: Form.Item no longer need `fieldKey` anymore (ant-design#32689) * chore:Update Form to remove fieldKey * fix: fieldKey cache logic * test: Update snapshot * chore: clean up * style: fix Card tabs of left position (ant-design#32695) close ant-design#32673 * feat: input number support prefix (ant-design#32600) * docs(:sparkles:): release 4.17.0-alpha.9 (ant-design#32705) * fix: table loading css error when sticky is true (ant-design#32703) * Table loading css error when sticky is true * [CodeFactor] Apply fixes to commit dc1a930 [ci skip] [skip ci] * fix Table loading css error when sticky is true * Fix table loading css error when sticky is true bug * Update index.less Co-authored-by: Miloud Belaabed <m.belabed@itihad.me> Co-authored-by: codefactor-io <support@codefactor.io> Co-authored-by: afc163 <afc163@gmail.com> * chore: improve overview card style * chore: Create bug-report.yml (ant-design#32716) * Create bug-report.yml * Update bug-report.yml * Rename bug-report.yml to 1-bug-report.yml * Rename 1-bug-report.yml to template-1-bug-report.yml * chore: add ISSUE_TEMPLATE * chore: add ISSUE_TEMPLATE * chore: update ISSUE_TEMPLATE * chore: update ISSUE_TEMPLATE * fix: Typography ellipsis with 1 row doesn't wrap (ant-design#32735) Co-authored-by: ext.zhangtianyi3 <ext.zhangtianyi3@360buyad.local> * fix: Input disabled should not keep focus style (ant-design#32739) * fix: tweak Steps vertical progressDot style (ant-design#32742) close ant-design#32737 * chore: update issue template (ant-design#32749) * Update template-1-bug-report.yml * Update template-2-feature-request.yml * Update template-2-feature-request.yml * Update template-1-bug-report.yml * Update template-1-bug-report.yml * Update template-2-feature-request.yml * chore(💄): fix issue template * chore: update form demo * refactor: Move part mixins less to theme instead (ant-design#32763) * refactor: Move theme related variables * chore: move rest motion * chore: trigger CI * chore: steps by steps * chore: back order * docs: Update docs * chore(deps-dev): bump @types/gtag.js from 0.0.7 to 0.0.8 (ant-design#32746) Bumps [@types/gtag.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gtag.js) from 0.0.7 to 0.0.8. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/gtag.js) --- updated-dependencies: - dependency-name: "@types/gtag.js" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: Spin tip can be react node (ant-design#32733) Though this may be opposed to the design. It may be useful to people who want to have complicated tip content. * fix: opening animation of the bottom drawer (ant-design#32761) Co-authored-by: Korra <1178115756@qq.com> close ant-design#32621 * chore(deps-dev): bump eslint-plugin-unicorn from 37.0.1 to 38.0.0 (ant-design#32765) Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 37.0.1 to 38.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](sindresorhus/eslint-plugin-unicorn@v37.0.1...v38.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> * docs: add 4.17.0-alpha.10 changelog (ant-design#32775) * fix: codepen demo error using hooks (ant-design#32766) * docs: Fix the link in Table's API doc (ant-design#32779) - Fix FilterDropdownProps link in table/index.en-US.md - Fix FilterDropdownProps link in table/index.zh-CN.md * fix: Form horizontal broken style when select item is too long (ant-design#32778) close ant-design#32777 * docs: fix Spin API ts description (ant-design#32786) Co-authored-by: DanielLeefu <you@2228429150@qq.com> * chore(Tag): update tween-one (ant-design#32800) close ant-design#32731 * fix: tag animation demo (ant-design#32804) * fix: if breadcrumbRender return false, breadcrumb will hidden (ant-design#32738) * fix: if breadcrumbRender return false, breadcrumb will hidden * add testd * chore: extends limit (ant-design#32814) * feat: ConfigProvider add form colon (ant-design#32818) * feat: ConfigProvider add form colon * add: test for ant-design#32799 * fix: Modify FormItemLabel get ConfigColon from From * refactor: Simplify the code * style: fix Tree icon align bug (ant-design#32822) * docs: update customize-theme-variable.zh-CN.md * chore: Upgrade react router v6 (ant-design#32821) * chore: upgrade react-router to v6 close ant-design#32809 close ant-design#32774 * fix test * fix test * fix test * fix test * docs: Version Robin (ant-design#32830) * docs: add demo for Input.Group (ant-design#32837) https://weibo.com/2259174311/L0gtIjb3Z * fix: borderLeftRadius error for Input.Search ant-design#32808 (ant-design#32812) close ant-design#32808 * chore(.gitignore):add ignore for pnpm (ant-design#32860) * chore(deps-dev): bump stylelint-config-standard from 23.0.0 to 24.0.0 (ant-design#32866) Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) from 23.0.0 to 24.0.0. - [Release notes](https://github.com/stylelint/stylelint-config-standard/releases) - [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/main/CHANGELOG.md) - [Commits](stylelint/stylelint-config-standard@23.0.0...24.0.0) --- updated-dependencies: - dependency-name: stylelint-config-standard 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> * docs: 4.17.0 changelog (ant-design#32859) * docs: 4.17.0 changelog * test: Update snapshot * docs: Update desc * docs: merge changelog * style: use @height-base in PageHeader (ant-design#32883) close ant-design#32871 * chore: fix site in IE11 (ant-design#32868) * chore: fix site in IE11 * chore: fix site in IE11 * chore: fix site in IE11 * chore: fix site in IE11 * fix: Move variable related code to theme file (ant-design#32887) * chore: 4.17.1-alpha.0 * test: Patch test case of mixins (ant-design#32889) * docs: Update Cascader changeOnSelect desc close ant-design#32886 * feat: Expand pl_PL translations to latest translation spec (ant-design#32896) Co-authored-by: Michał Podeszwa <178679-michalpodeszwa@users.noreply.gitlab.com> * style: fix placholder color missing (ant-design#32915) * chore(deps-dev): bump eslint-plugin-compat from 3.13.0 to 4.0.0 (ant-design#32917) Bumps [eslint-plugin-compat](https://github.com/amilajack/eslint-plugin-compat) from 3.13.0 to 4.0.0. - [Release notes](https://github.com/amilajack/eslint-plugin-compat/releases) - [Changelog](https://github.com/amilajack/eslint-plugin-compat/blob/main/CHANGELOG.md) - [Commits](amilajack/eslint-plugin-compat@v3.13.0...v4.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-compat 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: Tabs editable missing remove icon style in dropdown (ant-design#32919) * refatcor: Move mixins back (ant-design#32920) * chore: bump 4.17.1-alpha.1 * fix: `Submit` typo (ant-design#32933) close ant-design#32928 * fix: inherit `itemRender` typing from `rc-pagination` (ant-design#32931) fix ant-design#32878 * chore: fix types declaration (ant-design#32935) * chore: remove unused css code * fix: Modal.method bodyStyle not working (ant-design#32934) * fix: Modal.method bodyStyle失效 * test: Modal.method bodyStyle失效 * Apply suggestions from code review Co-authored-by: 晋文涛 <jinwentao@zhaojiafang.com> Co-authored-by: afc163 <afc163@gmail.com> * chore(deps-dev): bump typescript from 4.4.4 to 4.5.2 (ant-design#32940) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.4 to 4.5.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v4.4.4...v4.5.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: Update customize-theme-variable document (ant-design#32930) * Update customize-theme-variable.zh-CN.md * Update customize-theme-variable.en-US.md * Update customize-theme-variable.zh-CN.md * Update customize-theme-variable.en-US.md * refactor: Remove unnecessary div containers (ant-design#31492) * feat: Add km_KH locale to component (ant-design#32853) * Add km_KH locale to component * Add test and docs * Fix typo * Add test snapshot * style: fix menu link color in collapsed tooltip (ant-design#32956) close ant-design#32950 * docs: 4.17.1 changelog (ant-design#32968) * docs: 4.17.1 changelog * chore: bump version to 4.7.1 * docs: use flag for intl changelog * docs: remove useless changelog * docs: remove useless changelog * fix: remove space (ant-design#32974) Co-authored-by: machixian <machixian@myweimai.com> * chore(deps-dev): bump eslint-plugin-unicorn from 38.0.1 to 39.0.0 (ant-design#32975) Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 38.0.1 to 39.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](sindresorhus/eslint-plugin-unicorn@v38.0.1...v39.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> * fix: Form layout span 24 usage (ant-design#32981) close ant-design#32980 * docs: site build script update (ant-design#32984) * chore: rm color-less * refactor: MV theme to variable * docs: fix header * chore: clean up * chore: enable esbuild * refactor: Tree support generic (ant-design#32992) * chore: bump rc-tree * test: add test case * test: Add ts check * fix: Input.Search enterButton don't trigger click event (ant-design#32999) close ant-design#32993 * test: Update snapshot * fix: Cascader typescript (ant-design#33008) * chore: Cascsader add missing suffixIcon * chore: export CascaderRef * chore: Casacer type * fix: Updated translations in et_EE.tsx (ant-design#33005) * Updated translations in et_EE.tsx Added missing Estonian translations. * Updated et_EE.tsx Defined typeTemplate * chore: fix eslint * docs: fix Drawer closable description (ant-design#33018) 关闭按钮移至左上角了 * fix: Modal centered not centered (ant-design#33022) close ant-design#33021 * chore: use https://new-issue.ant.design back (ant-design#33029) * Rename template-1-bug-report.yml to template-1-bug-report.yml.close * Update config.yml * Rename template-2-feature-request.yml to template-2-feature-request.yml.close * docs: fix Drawer onClose description (ant-design#33031) Drawer 抽屉现在关闭按钮都在左上角了,描述不对 * fix: en-US#docs-fix Drawer closable description (ant-design#33035) * Update index.en-US.md * Update index.en-US.md * Update index.en-US.md * chore: upgrade @ant-design/bisheng-plugin * chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 (ant-design#32824) * chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript) from 18.2.1 to 19.0.0. - [Release notes](https://github.com/airbnb/javascript/releases) - [Commits](airbnb/javascript@eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0) --- updated-dependencies: - dependency-name: eslint-config-airbnb dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * fix lint * fix lint * fix lint * fix lint * fix lint * fix lint * fix lint * fix lint * fix lint * chore: code style * memoize-one * add comment * fix lint * fix lint * fix lint * fix lint * fix lint * fix lint * fix lint * fix lint * fix lint * improve useMemo deps Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: afc163 <afc163@gmail.com> * chore: opt of theme gen * chore: speed up site build mode * test: Update snapshot * chore: fix lint * docs(✨): release 4.17.2 (ant-design#33051) * docs(:sparkles:): release 4.17.2 * docs(:sparkles:): release 4.17.2 * feat: Support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN (ant-design#33026) * feat: Table support Table.EXPAND_COLUMN & Table.SELECTION_COLUMN * docs: Update docs * feat: support Form labelWrap (ant-design#33048) * feat: form label can be wrap * fix api doc * fix ts * fix: TextArea height bug (ant-design#33055) * fix: TextArea height bug when has `showCount` close ant-design#33049 * fix snapshot * revert form demo * ci: fix site deploy * fix: Back of relative (ant-design#33070) * docs: Cascader displayRender data (ant-design#33087) * docs: Cascader displayRender data * ts: clean up * test: Update rc-resize-observer version * test: fix resize related test case * chore: fix ts error * test: Fix resize logic * docs: update demo * docs: clarify select option title doc close ant-design#33105 * fix(locale): Add missing zh-TW translation for Form.optional, fix ant-design#30361 (ant-design#33108) Co-authored-by: 诸岳 <fuping.dfp@antgroup.com> * fix: carousel type declaration (ant-design#33109) fix: CarouselRef["autoPlay"] is a method instead of a boolean value * chore: refactor some code (ant-design#33034) * Refactor some code * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * [CodeFactor] Apply fixes [ci skip] [skip ci] * rename abbr to sizeClassNameMap * refactor: Button size class name Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: codefactor-io <support@codefactor.io> * refactor: Move Table `rowSpan` & `colSpan` demo to `onCell` instead (ant-design#33114) * docs: change doc of span demo * docs: clear render props * fix: Radio dot offset when zooming (ant-design#33086) Co-authored-by: hydraZty <hydra_zty@163.com> * chore: bump version (ant-design#33124) * fix: Select width bug when searching (ant-design#32988) * fix: select placeholder should take place when searching close ant-design#27688 * fix snapshot * test: add test helper for accessibility As proposed in ant-design#22343, the components can be automatically validated for accessibility. This adds a test helper that runs Axe to check for accessibility violations. * chore(deps-dev): bump react-helmet-async from 1.1.2 to 1.2.0 (ant-design#33133) Bumps [react-helmet-async](https://github.com/staylor/react-helmet-async) from 1.1.2 to 1.2.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: fix ci in npm 8 * chore: remove react-virtualized from demo * refactor: replace let with const (ant-design#33134) * refactor: replace let with const * refactor: replace let with const * refactor: replace let with const * refactor: replace let with const new * Update components/affix/index.tsx * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * chore(deps-dev): bump jsdom from 18.1.1 to 19.0.0 (ant-design#33156) Bumps [jsdom](https://github.com/jsdom/jsdom) from 18.1.1 to 19.0.0. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md) - [Commits](jsdom/jsdom@18.1.1...19.0.0) --- updated-dependencies: - dependency-name: jsdom 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: fix ci warnings (ant-design#33160) * fix: anchor add prefixCls (ant-design#33085) Co-authored-by: undefined <undefined> * docs: update badge * ci: fix checkout version (ant-design#33164) * ci: fix checkout version * chore: add more * test: fix test error * Revert "test: fix test error" This reverts commit 3881e5d. * fix: fix badge animation end not trigger when parent is display:none (ant-design#33083) Co-authored-by: songlin.chen <songlin.chen@leyantech.com> * test: fix Alert test (ant-design#33167) * text: fix Alert test * test: style * test: up snap * test: up * docs: Update index.zh-CN.md (ant-design#33184) 修复文档中 FormInstance 的 scrollToField方法 第二个参数 options 错误的类型 * fix: Upload `data` type (ant-design#33193) * fix: Upload `data` type * fix eslint errors * fix: radio cursor style (ant-design#33198) * fix: radio cursor style * [CodeFactor] Apply fixes to commit 38721bb [ci skip] [skip ci] Co-authored-by: codefactor-io <support@codefactor.io> * fix: Drawer title position (ant-design#33205) * fix(locale): Add missing zh-TW translation for Transfer (ant-design#33209) Co-authored-by: 诸岳 <fuping.dfp@antgroup.com> * fix: Button loading style missing in Firefox (ant-design#33199) * docs(:sparkles:): release 4.17.3 (ant-design#33213) * ci: fix footer click (ant-design#33214) * New Pull Request for README-sp_MX.md (ant-design#33226) * Create README-sp_MX.md Translation of README to Spanish. * Update README.md * Update README-zh_CN.md * Update README-uk_UA.md * Update README-pt_BR.md * fix: Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug (ant-design#31846) * Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug * Form.Item的name属性改为parentNode,dom-align 死循环,内存溢出的bug * fixed lint issues. * change: add black list for form item name * keep the definition the same as before * update snapshot * change formItemNameBlackList type to array * add test case for form item is in black list * add test condition * prettier it * change: add black list for form item name * keep the definition the same as before * merege from upstream * rebase this branch * change formItemNameBlackList type to array * add test case for form item is in black list * add test condition * prettier it * fix test case that casing by rebase * docs: update customize-theme-variable.md (ant-design#33272) * fix: Revert "fix: TextArea missing maxLength attr." (ant-design#33312) * Revert "fix: TextArea missing maxLength attribute (ant-design#32448)" This reverts commit ee703c1. * fix: snapshot * test: fix initial test case (ant-design#33313) * test: fix initial test case * chore: replace with exist fn * chore: rm dep conflict * chore: fix dev jest env * test: Update snapshot * docs(faq): correct 'Ant Design Mobile' (ant-design#33341) * chore(deps): update dependency antd-img-crop to v4 (ant-design#33352) Co-authored-by: Renovate Bot <bot@renovateapp.com> * docs: add 4.17.4 changelog (ant-design#33354) * docs: add 4.17.4 changelog * update changelog * chore: remove whitespace * fix(slider): disabled rail background-color error (ant-design#33369) Co-authored-by: chenjingjie <chenjingjie@coding.net> * docs: improve changelog * Add Capture prop to Upload Component Typescript Definition (ant-design#33370) Co-authored-by: Michał Podeszwa <178679-michalpodeszwa@users.noreply.gitlab.com> * chore: add sorting translations for fi_FI (ant-design#33372) * chore: Bump Select related deps (ant-design#33364) * chore: bump select related version * test: Fix test case * chore: bump rc-select version * test: Update snapshot * chore: Update Select ts * test: Update snapshot * test: Update snapshot * test: Update snapshot * chore: Update ts definition * chore: fix internal ts def * test: update auto complete snapshot * chore: update snapshot * chore: bump version * chore: fix demo ts * chore: Move ValueType to the first place * test: Update test case * fix: Missing Catalan (ca_ES) translation key: Form.optional ant-design#33280 (ant-design#33377) Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> * docs: fixing document issues (ant-design#33259) * test: Demo check popup content (ant-design#33378) * auto demo * chore: update demo snapshot * fix: trigger mock ref logic * chore: try 2 test case * chore: more snapshot * chore: update snapshot * chore: fix ts * chore: split test * test: Update test case * chore: fix test order * fix: Descriptions default overflow value (ant-design#33392) close ant-design#33316 * chore: Internal Menu interface for ProLayout usage (ant-design#33399) * test: Update snapshot * chore: disable tooltip * chore: rename * fix: Skeleton missing style (ant-design#33405) * chore(deps): update dependency scrollama to v3 (ant-design#33418) Co-authored-by: Renovate Bot <bot@renovateapp.com> * docs: Update practical-projects.zh-CN.md (ant-design#33419) * test: update snapshot * chore: 4.18.0 changelog (ant-design#33424) * fix: not allow setState in Popconfirm if unmounted * Docs: fix fieldNames options typo (ant-design#33241) * docs: tree-select fieldNames error * docs: fix docs error * fix: docs typo * docs: fix fieldNames * fix: The current change of pagination triggers onChange (ant-design#33411) * fix: table pagination onChange error (ant-design#33374) * test: add test case for this (ant-design#33374) * docs: Update use-in-typescript.zh-CN.md (ant-design#33434) 这里有点不对 /* src/App.ts */ 应该是 /* src/App.tsx */ 执行npx create-react-app my-project-name --template typescript后也只有App.tsx文件 * docs: fix version error (ant-design#33443) Co-authored-by: machixian <machixian@myweimai.com> * fix: Dropdown button destroyPopupOnHide prop not working ant-design#33433 (ant-design#33442) Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> * docs: update changelog * test: Update snapshot * feat: add useMountedRef hook * chore: revert import order change * fix(Divider): with text dashed border color error (ant-design#33452) * test: add test for react memory leak warning in Popconfirm * fix: input not support number value (ant-design#33462) * docs: Update index.en-US.md (ant-design#33464) provide correct hash link for row selection docs to selection config anchor tag * refactor: refactor useMountedRef to useMounted * refactor: refactor useMounted to useDestroyed * docs: 4.18.1 changelog (ant-design#33476) * docs: 4.18.1 changelog * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> * docs: improve Cascader API documentation (ant-design#33484) close ant-design#33477 * docs: improve changelog * Revert "fix: The current change of pagination triggers onChange (ant-design#33411)" (ant-design#33489) This reverts commit 629cacc. * docs: release 4.18.2 (ant-design#33491) * test: add test case for ant-design#33487 (ant-design#33492) * chore: remove whitespace * fix: Form should have default validateMessages in en locale (ant-design#33511) * fix missing words in commets (ant-design#33514) Lol * chore(deps): update dependency eslint-plugin-unicorn to v40 (ant-design#33520) Co-authored-by: Renovate Bot <bot@renovateapp.com> * fix: image demo test in argo-ci (ant-design#33523) close ant-design#33512 * Update README-sp_MX.md (ant-design#33535) The other title doesn't make sense. "Medio ambiente" is the environment, as in environmental pollution, nothing to do with computers. * fix: Select tag margin issue when using tagRender (ant-design#33539) close ant-design#33531 * docs: update upload-png-only demo (ant-design#33544) [[English Template / 英文模板](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE.md)] ### 🤔 这个变动的性质是? - [ ] 新特性提交 - [ ] 日常 bug 修复 - [ ] 站点、文档改进 - [x] 演示代码改进 - [ ] 组件样式/交互改进 - [ ] TypeScript 定义更新 - [ ] 包体积优化 - [ ] 性能优化 - [ ] 功能增强 - [ ] 国际化改进 - [ ] 重构 - [ ] 代码风格优化 - [ ] 测试用例 - [ ] 分支合并 - [ ] 其他改动(是关于什么的改动?) ### 🔗 相关 Issue 无 ### 💡 需求背景和解决方案 无 ### 📝 更新日志 | 语言 | 更新描述 | | ------- | -------- | | 🇺🇸 英文 | | | 🇨🇳 中文 | | ### ☑️ 请求合并前的自查清单⚠️ 请自检并全部**勾选全部选项**。⚠️ - [x] 文档已补充或无须补充 - [x] 代码演示已提供或无须提供 - [x] TypeScript 定义已补充或无须补充 - [x] Changelog 已提供或无须提供 * docs: fix update demo * docs: correct react-router usage for breadcrumb (ant-design#33551) * ci: update verify-files-modify (ant-design#33552) * docs: correct semicolon in upload demo (ant-design#33544) (ant-design#33553) * fix: PageHeader state update error (ant-design#33546) * fix: Avoid mutating Event properties that are supposed to be getters (ant-design#33536) * Avoid mutating Event properties that are supposed to be getters React's synthetic Event objects have mutable `target` and `currentTarget` properties. These are an incorrect emulation of the corresponding DOM Event properties, which are _getters_ and cannot be assigned-to. AntD's input handling attempts to assign to these getters, which fails in Preact because it uses native Event objects. The solution is to replace the simple property assignments with property definitions, which is likely smaller anyway due to the existing use of `Object.create()` to construct a prototypal facade of Event objects. * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * perf: upgrade rc-table (ant-design#33554) * fix: Upload types for pass generic (ant-design#33543) * fix: Upload types for pass generic * fix: Upload type * refactor: Upload type * feat: add Upload type test case * fix: CardGridProps should expose Div Properties like onClick ant-design#33264 (ant-design#33563) Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> * style: remove svg reset styles (ant-design#33579) see reason: necolas/normalize.css@004d58b close ant-design#33573 * chore: classnames now provides its own type definitions, so we do not need a stub types definition (ant-design#33612) * chore(deps): update dependency concurrently to v7 (ant-design#33630) Co-authored-by: Renovate Bot <bot@renovateapp.com> * fix: Table emptynode fixed display (ant-design#33610) * docs(TreeSelect): add one missing field (ant-design#33619) * fix: table tree hover error ant-design#33453 (ant-design#33638) * fix: fix the table tree hover error ant-design#33453 * Update package.json Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> Co-authored-by: xrkffgg <xrkffgg@vip.qq.com> Co-authored-by: afc163 <afc163@gmail.com> * feat: menu support home & end key (ant-design#33642) * fix: Form.Item shaking when `help` is empty string (ant-design#33644) * fix: empty help takes the line * test: test case * docs: add changelog 4.18.3 (ant-design#33639) * docs: add changelog 4.18.3 * docs: add * docs: add * docs: add user * Update CHANGELOG.en-US.md Co-authored-by: afc163 <afc163@gmail.com> * Update CHANGELOG.zh-CN.md * docs: add Co-authored-by: afc163 <afc163@gmail.com> * docs: add ProComponents cards (ant-design#33647) * merge * merge * docs: add ProComponents cards Co-authored-by: 期贤 <qixian.cs@antgroup.com> * docs: fix changelog page build issue * docs: improve changelog of 4.18.3 (ant-design#33668) * refactor: opt for typography Tooltip perf (ant-design#33669) * fix: Warning: Encountered two children with the same key, 'seperator' (ant-design#33649) * fix: Warning: Encountered two children with the same key, 'seperator' ant-design#33183 * eslint-disable-next-line react/no-array-index-key Co-authored-by: dimbslmh <dimsbslmh@gmail.com> * test: improve layout demo (ant-design#33653) * test: improve layout demo * test: improve layout demo * update snapshot * fix: checkbox group support options other than string (ant-design#33678) * fix: checkbox group support options other than string * docs: update checkbox docs * fix: radio group support value other than string * fix: only support number and string * docs: update group options type * fix: Image 图片底部空白 ant-design#30825 (ant-design#33631) * fix: remove input showCount attribute from parent component (ant-design#33686) * ci: simple files check actions * ci: preview-deploy download add run_id (ant-design#33680) * fix: Form validateMessages in nested ConfigProvider (ant-design#33705) close ant-design#33691 * fix: Input can not be hidden when prefix is set (ant-design#33706) * fix: Input can not be hidden when prefix is set * test: jest case for ant-design#33692 Co-authored-by: hydraZty <hydra_zty@163.com> * fix: <Icon component={HomeOutlined} /> align issue (ant-design#33709) * fix: <Icon component={HomeOutlined} /> align issue close ant-design#33703 * update snapshot * fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical (fix ant-design#33681) (ant-design#33716) * Steps tail shouldn't show when type is navigation and labelPlacement is vertical (fix ant-design#33681) * fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical close ant-design#33681 * fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical close ant-design#33681 * fix: <Icon component={SyncOutlined} spin /> shake issue. (ant-design#33726) * docs: add controlled preview demo for Image (ant-design#33727) * docs: add controlled preview demo for Image * test: update snapshot * test: fix lint error * fix: Invalid memoized context value in LocaleProvider (ant-design#33723) * fix: Invalid memoized context value in LocaleProvider * Add button type in test case. * fix: Invalid memoized context value in Anchor * docs(table): upgrade react-sortable-hoc usage (ant-design#33729) Co-authored-by: 亦逊 <eason.ym@alibaba-inc.com> * fix Input及相关组件设置 hidden 时展示问题 (ant-design#33735) * fix: Image 图片底部空白 ant-design#30825 * feat: Input、Input.search、Input.Textarea、Input.password 设置 hidden 时 所有 prefix or suffix or showCount or allowClear or addonBefore or addonAfter 都应该隐藏 * fix: lint * fix: test * fix: test ui * fix: update new demo's 'antd' to 'infrad' * fix: update new demo's 'antd' to 'infrad' Co-authored-by: hydraZty <670688667@qq.com> Co-authored-by: ext.zhangtianyi3 <ext.zhangtianyi3@360buyad.local> Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: WeijieChen <cwjTerrace@163.com> Co-authored-by: machixian <machixian@myweimai.com> Co-authored-by: zwlafk <24400915+zwlafk@users.noreply.github.com> Co-authored-by: zwlafk <zwlafk@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: 二货机器人 <smith3816@gmail.com> Co-authored-by: Austaras <austaras@outlook.com> Co-authored-by: Miloud Belaabed <60562443+miloudbelaabed@users.noreply.github.com> Co-authored-by: Miloud Belaabed <m.belabed@itihad.me> Co-authored-by: codefactor-io <support@codefactor.io> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jiajun Chen <tychenjiajun@live.cn> Co-authored-by: solitia7125 <39177579+solitia7125@users.noreply.github.com> Co-authored-by: 陈帅 <qixian.cs@outlook.com> Co-authored-by: X-Jagger <xl.jagger@gmail.com> Co-authored-by: Pob Ch <590650@gmail.com> Co-authored-by: 九思⚡⚡⚡ <2228429150@qq.com> Co-authored-by: DanielLeefu <you@2228429150@qq.com> Co-authored-by: jiang <liangjun.jiang@alipay.com> Co-authored-by: seaSuper <90687224+seaSuper@users.noreply.github.com> Co-authored-by: Karott Schu <karott7@gmail.com> Co-authored-by: Sepush <sepush@outlook.com> Co-authored-by: Michał Podeszwa <MichalPodeszwa@users.noreply.github.com> Co-authored-by: Michał Podeszwa <178679-michalpodeszwa@users.noreply.gitlab.com> Co-authored-by: JounQin <admin@1stg.me> Co-authored-by: huangkairan <56213366+huangkairan@users.noreply.github.com> Co-authored-by: benben <jinwentao0914@dingtalk.com> Co-authored-by: 晋文涛 <jinwentao@zhaojiafang.com> Co-authored-by: Sunny Luo <sunnylqm@gmail.com> Co-authored-by: ppbl <33046279+ppbl@users.noreply.github.com> Co-authored-by: VIREAK KEOSOKVIBOL <46261326+vireakkeosokvibol@users.noreply.github.com> Co-authored-by: Peach <scdzwyxst@gmail.com> Co-authored-by: wedeso <35111662+wedeso@users.noreply.github.com> Co-authored-by: GannonSun <GannonSun@gmail.com> Co-authored-by: shuchang <44997670+dreampasss@users.noreply.github.com> Co-authored-by: Gabriel Mendez Reyes <gabriel.mendez0@hotmail.com> Co-authored-by: xrkffgg <xrkffgg@gmail.com> Co-authored-by: 诸岳 <fuping.dfp@antfin.com> Co-authored-by: 诸岳 <fuping.dfp@antgroup.com> Co-authored-by: Qiuxu <76635711+q1uxu@users.noreply.github.com> Co-authored-by: Frank Fang <FrankFang1990@gmail.com> Co-authored-by: hydraZty <hydra_zty@163.com> Co-authored-by: Stef Schenkelaars <stef.schenkelaars@gmail.com> Co-authored-by: Tom And Jerry <45513363+sunkuangdong@users.noreply.github.com> Co-authored-by: tangjinzhou <415800467@qq.com> Co-authored-by: songlinn <17741492+songlinn@users.noreply.github.com> Co-authored-by: songlin.chen <songlin.chen@leyantech.com> Co-authored-by: zhichenshaw <37165714+zhichenshaw@users.noreply.github.com> Co-authored-by: mursulis <49298354+mursulis@users.noreply.github.com> Co-authored-by: James <daoxingyue@live.cn> Co-authored-by: 谭真 <736420282@qq.com> Co-authored-by: Curly Brackets <76864176+curly210102@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: chen-jingjie <2383844893@qq.com> Co-authored-by: chenjingjie <chenjingjie@coding.net> Co-authored-by: Sami Mäkinen <zakarfin@gmail.com> Co-authored-by: guhao.zeng <45565100+ZzGGitter@users.noreply.github.com> Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> Co-authored-by: binyellow <571704908@qq.com> Co-authored-by: Nmaxwiver <9283555+hxmwr@users.noreply.github.com> Co-authored-by: MadCcc <1075746765@qq.com> Co-authored-by: dengqing <1247748612@qq.com> Co-authored-by: 2724635499 <2724635499@qq.com> Co-authored-by: 麦谷 <1141453778@qq.com> Co-authored-by: chen-jingjie <35401187+chen-jingjie@users.noreply.github.com> Co-authored-by: Garrick Crouch <garrickcrouch@gmail.com> Co-authored-by: Xi Ming <46511237+seki2020@users.noreply.github.com> Co-authored-by: Pablo Recalde <me@pablorecalde.com> Co-authored-by: Ryan Lee <yigexbl@gmail.com> Co-authored-by: Wuif <5678318+wuifdesign@users.noreply.github.com> Co-authored-by: Jason Miller <developit@users.noreply.github.com> Co-authored-by: uchanlee <uchanlee.dev@gmail.com> Co-authored-by: Long Hao (龙濠) <45565100+LongHaoo@users.noreply.github.com> Co-authored-by: Amumu <yoyo837@hotmail.com> Co-authored-by: NothingToDo <49073282+hemengke1997@users.noreply.github.com> Co-authored-by: Shanjie Chen <cnzxcsj@outlook.com> Co-authored-by: xrkffgg <xrkffgg@vip.qq.com> Co-authored-by: 期贤 <qixian.cs@antgroup.com> Co-authored-by: dimbslmh <745635+dimbslmh@users.noreply.github.com> Co-authored-by: dimbslmh <dimsbslmh@gmail.com> Co-authored-by: zhenfan.yu <fanerge@qq.com> Co-authored-by: whwangms <whwangms@outlook.com> Co-authored-by: ZhouZhen <503633021@qq.com> Co-authored-by: toSayNothing <91143836+toSayNothing@users.noreply.github.com> Co-authored-by: PlayerWho <who.zhuang@gmail.com> Co-authored-by: Di Wu <di@gridx.cn> Co-authored-by: yanm1ng <644169721@qq.com> Co-authored-by: 亦逊 <eason.ym@alibaba-inc.com> Co-authored-by: zhang lay <lay.zhang@shopee.com>
* fix: Upload types for pass generic * fix: Upload type * refactor: Upload type * feat: add Upload type test case
* fix: Missing Catalan (ca_ES) translation key: Form.optional ant-design#33280 (ant-design#33377) Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> * docs: fixing document issues (ant-design#33259) * test: Demo check popup content (ant-design#33378) * auto demo * chore: update demo snapshot * fix: trigger mock ref logic * chore: try 2 test case * chore: more snapshot * chore: update snapshot * chore: fix ts * chore: split test * test: Update test case * chore: fix test order * fix: Descriptions default overflow value (ant-design#33392) close ant-design#33316 * chore: Internal Menu interface for ProLayout usage (ant-design#33399) * test: Update snapshot * chore: disable tooltip * chore: rename * fix: Skeleton missing style (ant-design#33405) * chore(deps): update dependency scrollama to v3 (ant-design#33418) Co-authored-by: Renovate Bot <bot@renovateapp.com> * docs: Update practical-projects.zh-CN.md (ant-design#33419) * test: update snapshot * chore: 4.18.0 changelog (ant-design#33424) * fix: not allow setState in Popconfirm if unmounted * Docs: fix fieldNames options typo (ant-design#33241) * docs: tree-select fieldNames error * docs: fix docs error * fix: docs typo * docs: fix fieldNames * fix: The current change of pagination triggers onChange (ant-design#33411) * fix: table pagination onChange error (ant-design#33374) * test: add test case for this (ant-design#33374) * docs: Update use-in-typescript.zh-CN.md (ant-design#33434) 这里有点不对 /* src/App.ts */ 应该是 /* src/App.tsx */ 执行npx create-react-app my-project-name --template typescript后也只有App.tsx文件 * docs: fix version error (ant-design#33443) Co-authored-by: machixian <machixian@myweimai.com> * fix: Dropdown button destroyPopupOnHide prop not working ant-design#33433 (ant-design#33442) Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> * docs: update changelog * test: Update snapshot * feat: add useMountedRef hook * chore: revert import order change * fix(Divider): with text dashed border color error (ant-design#33452) * test: add test for react memory leak warning in Popconfirm * fix: input not support number value (ant-design#33462) * docs: Update index.en-US.md (ant-design#33464) provide correct hash link for row selection docs to selection config anchor tag * refactor: refactor useMountedRef to useMounted * refactor: refactor useMounted to useDestroyed * docs: 4.18.1 changelog (ant-design#33476) * docs: 4.18.1 changelog * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> * docs: improve Cascader API documentation (ant-design#33484) close ant-design#33477 * docs: improve changelog * Revert "fix: The current change of pagination triggers onChange (ant-design#33411)" (ant-design#33489) This reverts commit 629cacc. * docs: release 4.18.2 (ant-design#33491) * test: add test case for ant-design#33487 (ant-design#33492) * feat: Merge TimePicker disabledXXX into disabledTime (ant-design#33503) * feat: merge disabledXXX into disabledTime * chore: fix ts * chore: remove whitespace * fix: Form should have default validateMessages in en locale (ant-design#33511) * fix missing words in commets (ant-design#33514) Lol * chore(deps): update dependency eslint-plugin-unicorn to v40 (ant-design#33520) Co-authored-by: Renovate Bot <bot@renovateapp.com> * fix: image demo test in argo-ci (ant-design#33523) close ant-design#33512 * Update README-sp_MX.md (ant-design#33535) The other title doesn't make sense. "Medio ambiente" is the environment, as in environmental pollution, nothing to do with computers. * fix: Select tag margin issue when using tagRender (ant-design#33539) close ant-design#33531 * docs: update upload-png-only demo (ant-design#33544) [[English Template / 英文模板](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE.md)] ### 🤔 这个变动的性质是? - [ ] 新特性提交 - [ ] 日常 bug 修复 - [ ] 站点、文档改进 - [x] 演示代码改进 - [ ] 组件样式/交互改进 - [ ] TypeScript 定义更新 - [ ] 包体积优化 - [ ] 性能优化 - [ ] 功能增强 - [ ] 国际化改进 - [ ] 重构 - [ ] 代码风格优化 - [ ] 测试用例 - [ ] 分支合并 - [ ] 其他改动(是关于什么的改动?) ### 🔗 相关 Issue 无 ### 💡 需求背景和解决方案 无 ### 📝 更新日志 | 语言 | 更新描述 | | ------- | -------- | | 🇺🇸 英文 | | | 🇨🇳 中文 | | ### ☑️ 请求合并前的自查清单⚠️ 请自检并全部**勾选全部选项**。⚠️ - [x] 文档已补充或无须补充 - [x] 代码演示已提供或无须提供 - [x] TypeScript 定义已补充或无须补充 - [x] Changelog 已提供或无须提供 * docs: fix update demo * docs: correct react-router usage for breadcrumb (ant-design#33551) * ci: update verify-files-modify (ant-design#33552) * docs: correct semicolon in upload demo (ant-design#33544) (ant-design#33553) * fix: PageHeader state update error (ant-design#33546) * fix: Avoid mutating Event properties that are supposed to be getters (ant-design#33536) * Avoid mutating Event properties that are supposed to be getters React's synthetic Event objects have mutable `target` and `currentTarget` properties. These are an incorrect emulation of the corresponding DOM Event properties, which are _getters_ and cannot be assigned-to. AntD's input handling attempts to assign to these getters, which fails in Preact because it uses native Event objects. The solution is to replace the simple property assignments with property definitions, which is likely smaller anyway due to the existing use of `Object.create()` to construct a prototypal facade of Event objects. * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * perf: upgrade rc-table (ant-design#33554) * fix: Upload types for pass generic (ant-design#33543) * fix: Upload types for pass generic * fix: Upload type * refactor: Upload type * feat: add Upload type test case * fix: CardGridProps should expose Div Properties like onClick ant-design#33264 (ant-design#33563) Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> * style: remove svg reset styles (ant-design#33579) see reason: necolas/normalize.css@004d58b close ant-design#33573 * chore: classnames now provides its own type definitions, so we do not need a stub types definition (ant-design#33612) * chore(deps): update dependency concurrently to v7 (ant-design#33630) Co-authored-by: Renovate Bot <bot@renovateapp.com> * fix: Table emptynode fixed display (ant-design#33610) * docs(TreeSelect): add one missing field (ant-design#33619) * fix: table tree hover error ant-design#33453 (ant-design#33638) * fix: fix the table tree hover error ant-design#33453 * Update package.json Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> Co-authored-by: xrkffgg <xrkffgg@vip.qq.com> Co-authored-by: afc163 <afc163@gmail.com> * feat: menu support home & end key (ant-design#33642) * fix: Form.Item shaking when `help` is empty string (ant-design#33644) * fix: empty help takes the line * test: test case * docs: add changelog 4.18.3 (ant-design#33639) * docs: add changelog 4.18.3 * docs: add * docs: add * docs: add user * Update CHANGELOG.en-US.md Co-authored-by: afc163 <afc163@gmail.com> * Update CHANGELOG.zh-CN.md * docs: add Co-authored-by: afc163 <afc163@gmail.com> * feat: support custom Space children key (ant-design#33607) close ant-design#33331 Co-authored-by: 秦缘斌 <qinyuanbin@corp.netease.com> * docs: add ProComponents cards (ant-design#33647) * merge * merge * docs: add ProComponents cards Co-authored-by: 期贤 <qixian.cs@antgroup.com> * docs: fix changelog page build issue * docs: improve changelog of 4.18.3 (ant-design#33668) * refactor: opt for typography Tooltip perf (ant-design#33669) * fix: Warning: Encountered two children with the same key, 'seperator' (ant-design#33649) * fix: Warning: Encountered two children with the same key, 'seperator' ant-design#33183 * eslint-disable-next-line react/no-array-index-key Co-authored-by: dimbslmh <dimsbslmh@gmail.com> * feat: resolves issue 33572 re aria-sort on tables (ant-design#33603) * feat: resolves issue 33572 re aria-sort on tables * fixing snapshots * removing code that can't be hit anyway * feat: add skeleton input block (ant-design#33672) * feat: add skeleton input block * update: skeleton shapshot * test: improve layout demo (ant-design#33653) * test: improve layout demo * test: improve layout demo * update snapshot * fix: checkbox group support options other than string (ant-design#33678) * fix: checkbox group support options other than string * docs: update checkbox docs * fix: radio group support value other than string * fix: only support number and string * docs: update group options type * fix: Image 图片底部空白 ant-design#30825 (ant-design#33631) * fix: remove input showCount attribute from parent component (ant-design#33686) * ci: simple files check actions * ci: preview-deploy download add run_id (ant-design#33680) * feat: dropdown support arrow pointing at center (ant-design#33658) * feat: add pointAtCenter prop for dropdown * feat: dropdown support arrow pointing at center * chore: code clean * chore: use getPlacements in tooltip * feat: dropdown support 'top' and 'bottom' * chore: update snapshot * chore: move placements to util folder * feat: make 'topCenter' and 'bottomCenter' in Dropdown deprecated * test: update snapshot * test: add test for topCenter and bottomCenter * fix: Form validateMessages in nested ConfigProvider (ant-design#33705) close ant-design#33691 * fix: Input can not be hidden when prefix is set (ant-design#33706) * fix: Input can not be hidden when prefix is set * test: jest case for ant-design#33692 Co-authored-by: hydraZty <hydra_zty@163.com> * fix: <Icon component={HomeOutlined} /> align issue (ant-design#33709) * fix: <Icon component={HomeOutlined} /> align issue close ant-design#33703 * update snapshot * fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical (fix ant-design#33681) (ant-design#33716) * Steps tail shouldn't show when type is navigation and labelPlacement is vertical (fix ant-design#33681) * fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical close ant-design#33681 * fix: Steps tail shouldn't show when type is navigation and labelPlacement is vertical close ant-design#33681 * fix: <Icon component={SyncOutlined} spin /> shake issue. (ant-design#33726) * docs: add controlled preview demo for Image (ant-design#33727) * docs: add controlled preview demo for Image * test: update snapshot * test: fix lint error * fix: Invalid memoized context value in LocaleProvider (ant-design#33723) * fix: Invalid memoized context value in LocaleProvider * Add button type in test case. * fix: Invalid memoized context value in Anchor * docs(table): upgrade react-sortable-hoc usage (ant-design#33729) Co-authored-by: 亦逊 <eason.ym@alibaba-inc.com> * fix Input及相关组件设置 hidden 时展示问题 (ant-design#33735) * fix: Image 图片底部空白 ant-design#30825 * feat: Input、Input.search、Input.Textarea、Input.password 设置 hidden 时 所有 prefix or suffix or showCount or allowClear or addonBefore or addonAfter 都应该隐藏 * fix: lint * fix: test * fix: test ui * fix: some incorrect translation for km_KH (ant-design#33738) * Add km_KH locale to component * Add test and docs * Fix typo * Add test snapshot * Fix translation * Add test * docs: remove v4 release qrcode * test: fix lint * fix: Typography error on context ellipsis (ant-design#33725) * chore: init measure * chore: out of space * refactor: Multiple render * chore: auto cut * feat: render split * fix: ellipsis logic of suffix * fix: ref missing * fix: Tooltip missing * test: snapshot * chore: opt for textarea * test: back part of ellipsis * chore: back of ellipsis logic * ellipsis logic * fix: init ellipsis measure * fix: ellipsis event * chore: clean up * test: Update snapshot * fix: test * test: Update snapshot * chore: lazy ellipsis * fix: check css ellipsis logic * test: Update snapshot * test: back of coverage * chore: clean up * test: ignore else * test: clean up * feat: border color with transparency (ant-design#33506) * feat: border color with transparency * feat: update progess remain color with rgba(0, 0, 0, 0.06) * feat: progress remaining color * fix: TreeSelect not show hightlight with keyboard (ant-design#33755) * docs: add changelog 4.18.4 (ant-design#33748) Co-authored-by: afc163 <afc163@gmail.com> * docs: guide of theme dev (ant-design#33756) * chore: update Cacasder demo and remove array-tree-filter (ant-design#33754) * chore: upgrade rc-cacasder * update snapshot * chore: Add DingDing release bot * chore: conch script (ant-design#33766) * fix: Tag color in dark theme (ant-design#33751) * docs: update dark theme doc * fix: dark tag theme * docs: ✏️ add note comment (ant-design#33771) Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * fix: update prevValue of checkbox if value changed (ant-design#33753) * fix: Cascader auto placement & scroll (ant-design#33777) * fix: Cascader auto placement & scroll * chore: bump rc-tree-select * chore: try to find safe version (ant-design#33783) * feat: Select/DatePicker/TimePicker/TreeSelect support placement (ant-design#33541) * feat: select components add placement api * feat: select components add placement api * fix: delete placement * fix: change md demo and delete export * feat: cascader and tree-select add placement * feat: datapicker add placement api * fix: change repeat static declaration to single * test: updata test units * doc: change doc * fix: delete merge message & delete decalare ts * test: fix unit test * fix: add transName in select & treeSelect & cascader * fix: change common api in utils * fix: change useless if block to only * fix: change placement string to enum * fix: lint done Co-authored-by: 礼检 <ljj337009@antgroup.com> * fix: Get ref of Card component ant-design#33730 (ant-design#33784) * fix: Get ref of Card component ant-design#33730 * add test to the card ref Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> * fix(checkbox): disabled checkbox should works well with tooltip (ant-design#33772) Co-authored-by: wanghao <wanghao.wong@bytedance.com> * style: Cascader loading icon (ant-design#33799) * test: fix cascader test coverage (ant-design#33802) * chore: i18n contributing docs improve (ant-design#33760) * chore: i18n contributing docs improve * update * Update docs/react/i18n.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * update * update * fix name * 空格 * fix name * update * Update docs/react/i18n.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * update * update * update * 添加英文版本 * update * the * update * update * fix list * Revert "fix list" This reverts commit c6f3e2c. * fix list * 指向源文件 Co-authored-by: afc163 <afc163@gmail.com> * fix: Invalid hook dependency array in Sider and Row (ant-design#33804) * chore(deps): update dependency simple-git to v3 (ant-design#33817) Co-authored-by: Renovate Bot <bot@renovateapp.com> * docs: update sentence structure in the FAQ section (ant-design#33816) * docs: add Plasmic for Ant (ant-design#33758) * Add Plasmic for Ant * Point Plasmic link to dedicated Ant page * test: fix lint * docs(:sparkles:): release 4.18.5 (ant-design#33822) * docs(:sparkles:): release 4.18.5 * update changelog * fix: upload button position flashes when it changes from hidden to displayed (ant-design#33820) * fix: fix upload button position flashes when it changes from hidden to displayed (ant-design#33819) * fix: typo in upload Co-authored-by: chenqiufan <chenqiufan@shiqiao.com> * fix: Clear timer of delayed loading after Button is unmounted (ant-design#33858) * fix: Clear delay loading timer after Button is unmounted * [CodeFactor] Apply fixes to commit 16cfb89 [ci skip] [skip ci] * Change arrow function style in test case Co-authored-by: codefactor-io <support@codefactor.io> * feat: notification placement support 'top'/'bottom' (ant-design#33871) * fix: tooltip should work with loading switch (ant-design#33860) * fix: tooltip should work with loading switch * fix: only works for switch * chore: code clean * fix: block not work when small size (ant-design#33878) vueComponent/ant-design-vue#5219 * fix: ellipsis should display tooltip if rows larger than 1 (ant-design#33875) * fix: ellipsis should display tooltip if rows larger than 1 * test: add test case * fix: update dropdown version to 3.2.5 (ant-design#33895) * fix: update dropdown version to 3.2.5 * test: update snapshot * revert: Revert "Merge branch 'feature' into master" (ant-design#33903) This reverts commit 40433f3, reversing changes made to 27a498e. * Revert "revert: Revert "Merge branch 'feature' into master" (ant-design#33903)" This reverts commit 6b1a48d. * chore(deps): update dependency eslint-plugin-jest to v26 (ant-design#33899) Co-authored-by: Renovate Bot <bot@renovateapp.com> * chore(deps): update dependency @types/jest-environment-puppeteer to v5 (ant-design#33898) Co-authored-by: Renovate Bot <bot@renovateapp.com> * types: export DatePickRef and RangePickerRef (close ant-design#33417) (ant-design#33901) * fix(popover): fix the problem that popover display when the props'content is empty (ant-design#33835) * fix(popover): fix the problem that popover display when the props'content is empty * refactor(popover): 更新代码判断逻辑 * test(popover): 添加popover的test * feat(popover): 更新snapshot * feat(popover): 更新剩余的snapshot * feat: optimize dropdown accessbility (ant-design#33893) * feat: optimize dropdown accessbility * chore: bump rc-dropdown version * docs(✨): release 4.18.6 (ant-design#33948) * docs(✨): release 4.18.6 * chore: update version * docs: add date * fix: custom color should work on antd icons (ant-design#33951) * feat: tooltip round arrow (ant-design#33710) * feat: tooltip round arrow * chore: update demo * docs: update docs * feat: rounded arrow in Tooltip/Popover/Popconfirm/Dropdown/RangePicker * chore: code clean * fix: fill gap * chore: code clean * chore: raise css bundle size * fix: arrow style * feat: use full path * test: update snapshot * perf: hack firefox * perf: more magic position * perf: RangePicker's arrow position * chore: bump rc-picker version * fix: arrow position * chore(deps): update dependency react-dnd-html5-backend to v15 (ant-design#33941) Co-authored-by: Renovate Bot <bot@renovateapp.com> * feat: inputNumber controls support customize upIcon/downIcon (ant-design#33914) * feat: inputNumber controls support customize upIcon/downIcon * feat: 修改代码格式问题 * feat: 更新snapshot,修改代码开启prettier * feat: 更新snapshot,order 属性修改 * feat: upIcon/downIcon写法调整 * feat: 更新snapshot * fix: Exception in enter key callback on editable or copyable Paragraph (ant-design#33976) * fix: Exception on enter key callback * Move spyOn position * docs: 4.18.6 changelog optimization (ant-design#33990) * fix: class names of Row and Col components when using custom prefix (ant-design#33969) * feat: Exposes additional props for pagination component on transfer (ant-design#33954) * Exposes additional props for pagination component on transfer * feat: Improve transfer pagination customization * feat: Improve transfer pagination customization * fix: Typography copyable add stopPropagation (ant-design#33998) * fix: Typography copyable add stopPropagation * add test * chore(deps): update dependency react-dnd to v15 (ant-design#33940) * chore(deps): update dependency react-dnd to v15 * fix: Tabs demo * fix: demo Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: afc163 <afc163@gmail.com> * fix: Pagination and Rate style bug in Safari (ant-design#34002) * fix: Pagination and Rate style bug in safari close ant-design#33965 * fix style * docs: fix missing @/services/product (ant-design#34003) * docs: fix missing @/services/product close ant-design#33952 * update data * docs: improve Select dropdownRender demo style (ant-design#34004) * chore: remove unused interface file (ant-design#34011) * style: improve Menu :focus-visible style (ant-design#34008) * style: improve Menu :focus-visible style ref ant-design#34005 * style: darken :focus-visible style * fix: typography ellipsis check in transform (ant-design#34007) * fix: typography ellipsis check in transform * test: Update snapshot * chore: btn default provide default cls (ant-design#34013) * fix: cascader's onChange ts adapts to single and multiple (ant-design#33947) * fix to: cascader's multiple determines the declaration of onChange * fix: cascader's onChange ts adapts to single and multiple * test: fix * docs: more acurrate description about Menu overflowedIndicator prop (ant-design#34022) * docs: add info about Menu overflowedIndicator prop close ant-design#34016 * fix doc * fix textarea maxlength issue (ant-design#33910) * fix: textarea maxlength * refactor: delete some useless code * refactor: fix ci * refactor and fix test case fall * update snapshot * add testcase * refactor type defined * fix: min/max validators in pl_PL locale returning undefined (ant-design#34024) Co-authored-by: Michał Podeszwa <178679-michalpodeszwa@users.noreply.gitlab.com> * fix: useLayoutEffect to useIsomorphicLayoutEffect (ant-design#33818) * fix: useLayoutEffect to useIsomorphicLayoutEffect * chore: change to rc-util/lib/hooks/useLayoutEffect * ci: files modify cancel failed * feat: Add ability to overwrite Menu theme at Menu.SubMenu level. (ant-design#33971) * Add theme support to Menu.SubMenu * Tidy up docs * Tidy up docs * Update components/menu/index.en-US.md * Update components/menu/index.en-US.md Co-authored-by: Amumu <yoyo837@hotmail.com> * Add Chinese lang docs * Extend menu theme demo to additionally demonstrate Sub-menu theming * Add submenu theme demo * Revert "Extend menu theme demo to additionally demonstrate Sub-menu theming" This reverts commit 642a2b5. * Add tests * Correct typo * Make demo vertical so absolutely positioned popover doesn't overflow * Make demo functional component * Update components/menu/index.en-US.md Co-authored-by: afc163 <afc163@gmail.com> * Update components/menu/index.zh-CN.md Co-authored-by: Amumu <yoyo837@hotmail.com> * Update components/menu/demo/submenu-theme.md Co-authored-by: MadCcc <1075746765@qq.com> Co-authored-by: Amumu <yoyo837@hotmail.com> Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: MadCcc <1075746765@qq.com> * docs: 4.18.7 changelog (ant-design#34041) * feat: Input support status (ant-design#33995) * feat: remove form status style && input support status * test: update snapshot * feat: update status prop in config provider * fix: form item validateStatus support * chore: code clean * feat: status classname change * test: update snapshot * refactor: move formItemStatusContext to form folder * refactor: merge utils * refactor: rename statusUtils * chore: code clean * test: fix coverage * chore: remove status prop of Form.Item * chore: code clean * docs: update demo * test: fix lint * feat: status only success and warning * test: fix lint * docs: update deamo * test: Udpate test for rc-util@latest * docs: Patch adjust changelog desc * chore: update snapshot * chore: script update (ant-design#34060) * chore(deps): update dependency stylelint-config-standard to v25 (ant-design#34028) * chore(deps): update dependency stylelint-config-standard to v25 * fix stylelint lint Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: tanghui <yoyo837@hotmail.com> * chore: Update sk_SK locales (ant-design#34061) * chore: Update sk_SK locales * Disable eslint rule, based on defaults (EN) * feat: inputNumber support status (ant-design#34042) * feat: inputNumber support status * test: fix test * feat: custom status first * refactor: getMergedStatus pass status in params * ci: add MadCcc assign * perf: OPT table render perf (ant-design#34075) * fix: Typography copyable in clipboard incorrect (ant-design#34034) Co-authored-by: chenxq <chenxq@neocrm.com> * docs: fix procomponents links * test: skip layout demo which failed a lot in argoci * docs: improve Umi documentation * feat: mentions support status (ant-design#34071) * test: skip form deps-lint * perf: remove useless has-feedback classname * test: raise test coverage * style: recover import arrangement * feat: DatePicker and TimePicker support status (ant-design#34073) * feat: DatePicker and TimePicker support status * docs: demo add version * chore: code clean * feat: select support status (ant-design#34084) * feat: select support status * test: fix lint * fix: update quarter picker placeholder for RangePicker (ant-design#34089) * feat: cascader support status (ant-design#34086) * feat: cascader support status * chore: code clean * chore: raise bundle size limitation * chore: code clean * feat: TreeSelect support status (ant-design#34093) * feat: TreeSelect support status * chore: code clean * docs: add demo version * feat: AutoComplete support status (ant-design#34096) * feat: AutoComplete support status * test: update snapshot * feat: transfer support status (ant-design#34098) * feat: transfer support status * docs: update demo * fix: Table render twice on first mount (ant-design#34106) * fix: Table render twice * chore: clean up * test: Fix test case * fix: remove duplicated style (ant-design#34101) * fix: remove duplicated style * chore: reduce bundle size limitation * chore: raise bundle size * docs: Multiple displayRender support (ant-design#34116) * fix: Form layout when Select has long text (ant-design#34117) * fix: Form layout when Select has long text close ant-design#33773 * chore: update snapshot * fix: not crash ConfigProvider.config on server side (ant-design#34118) * fix: Invalid memoized context value in Menu (ant-design#34121) * chore(deps): update dependency eslint-plugin-unicorn to v41 (ant-design#34133) Co-authored-by: Renovate Bot <bot@renovateapp.com> * chore(deps): update actions-cool/issues-helper action to v3 (ant-design#34132) Co-authored-by: Renovate Bot <bot@renovateapp.com> * docs: fix grammar error (ant-design#34138) in customize-theme-variable.zh-CN.md * fix: del messageInstance when configuring getContainer (ant-design#34123) * fix: del messageInstance when configuring getContainer * test: move the new test to the bottom of the test lists * fix: Layout component SiderProps type not exported (ant-design#34137) * perf: Improve Components render perfermance when it's not reponsive (ant-design#34122) * perf: Improve List render perfermance when grid is undefined https://github.com/ant-design/ant-design/pull/34106/files#diff-9e016ea02fe7dd0ea42d8774d29d45e1a10b8dd108de9c89d50c828c74b993b8R146-R151 * chore: do not export useBreakpoint param Co-authored-by: zombiej <smith3816@gmail.com> * docs: 4.18.8 changelog (ant-design#34146) * chore: bump version to 4.18.8 * docs: 4.18.8 changelog * docs: update changelog * docs: update changelog * docs: update changelog * fix: form initial values get modified (ant-design#34153) * chore: fix ts error in site * chore: fix Chinese expression about "的地得" (ant-design#34173) close ant-design#34167 * fix(upload): onChange params type err (ant-design#34161) * fix(upload): onChange params type err * test(upload): check onChange params type * fix: Dropdown item style when text is long (ant-design#34177) close ant-design#34176 * fix: issue ant-design#34015 cascader document of option less isleaf param (ant-design#34174) * fix: issue ant-design#34015 cascader document of option less isleaf param * fix: add comment * fix: comment change Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> * fix: Overview page EditableProTable link error (ant-design#34181) * docs: add MasterGo to design assets (ant-design#34055) * docs: add MasterGo to design assets * chore: update mastergo links * feat: table FilterDropdown support `clearFilters({ confirm: false, closeDropdown: false })` (ant-design#34120) * feat: table FilterDropdown support `clearFilters({ confirm: boolean })` * feat: update `clearFilters` and `confirm` * feat: add FilterRestProps,update document * feat: update onReset params order * feat: add test case * feat: table filterSearch supports function (ant-design#34085) * feat: table filterSearch supports function * feat: update for test * feat: update document * test: disabled react/jsx-key * chore: lock eslint-plugin-react (ant-design#34214) * Revert "test: disabled react/jsx-key" This reverts commit 7d64967. * chore: lock eslint-plugin-react@7.28.0 * feat: add variable for aliyun theme of drawer (ant-design#34188) Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com> * feat: add variable for aliyun theme of dropdown (ant-design#34189) Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com> * fix: remove lock for eslint-plugin-react (ant-design#34220) * feat: add variable for aliyun theme of modal (ant-design#34191) Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com> * feat: add variable for aliyun theme of divider (ant-design#34187) Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com> * feat: add variable for aliyun theme of radio (ant-design#34194) Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com> * docs: update maintainer for changelog script * docs: add changelog 4.18.9 (ant-design#34236) * docs: add changelog 4.18.9 * docs: update * docs: update * Update CHANGELOG.zh-CN.md * feat: introduce rc-input (ant-design#34206) * feat: introduce rc-input * fix: export InputRef alias * docs: fix demo * chore: code clean * test: fix lint * test: test coverage * chore: code clean * chore: code clean * test: update snapshot * refactor: Update rc-slider (ant-design#34234) * chore: Update rc-slider version * chore: bump * chore: update sty;e * fix: style * test: update snapshot * test: all fixed * fix lint * docs: update links of mastergo (ant-design#34242) * feat: add utm to mastergo's links (ant-design#34248) * chore(deps-dev): bump typescript from 4.5.5 to 4.6.2 (ant-design#34249) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.5 to 4.6.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v4.5.5...v4.6.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> * refactor: change usecontext of divider prepare for v5 (ant-design#34246) Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> * refactor: Wrap affix with FC (ant-design#34254) * test: fix * chore: ts fix * chore: update ts def * test: fix test * fix: Form doc "resetFields" args type (ant-design#34262) * style: remove overriding !important from input border right width styles (ant-design#34178) * docs: add description about onClear prop in AutoComplete doc (ant-design#34292) * fix: editable Typography.Title should match font size while editing (ant-design#34169) * feat: editable Typography.Title should match font size while editing * feat: update style * feat: update style * feat: update style * feat: style lint * feat: update style * Update components/typography/style/index.less * Update components/typography/Editable.tsx * feat: reorganize css * feat: style lint * feat: update snap Co-authored-by: afc163 <afc163@gmail.com> * fix: limit input class due to rc-input won't override input class (ant-design#34294) * fix: limit input class due to rc-input won't override input class * fix: add feedback into affix judgement * fix: Tree filter select all behavior (ant-design#34295) ref ant-design#34280 * fix: typography title margin issue (ant-design#34302) * fix: modify README.md Co-authored-by: guhao.zeng <45565100+ZzGGitter@users.noreply.github.com> Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> Co-authored-by: binyellow <571704908@qq.com> Co-authored-by: 二货机器人 <smith3816@gmail.com> Co-authored-by: afc163 <afc163@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: Nmaxwiver <9283555+hxmwr@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: MadCcc <1075746765@qq.com> Co-authored-by: dengqing <1247748612@qq.com> Co-authored-by: 2724635499 <2724635499@qq.com> Co-authored-by: 麦谷 <1141453778@qq.com> Co-authored-by: WeijieChen <cwjTerrace@163.com> Co-authored-by: machixian <machixian@myweimai.com> Co-authored-by: chen-jingjie <35401187+chen-jingjie@users.noreply.github.com> Co-authored-by: Garrick Crouch <garrickcrouch@gmail.com> Co-authored-by: Xi Ming <46511237+seki2020@users.noreply.github.com> Co-authored-by: Pablo Recalde <me@pablorecalde.com> Co-authored-by: Ryan Lee <yigexbl@gmail.com> Co-authored-by: Peach <scdzwyxst@gmail.com> Co-authored-by: xrkffgg <xrkffgg@gmail.com> Co-authored-by: Wuif <5678318+wuifdesign@users.noreply.github.com> Co-authored-by: Jason Miller <developit@users.noreply.github.com> Co-authored-by: uchanlee <uchanlee.dev@gmail.com> Co-authored-by: Long Hao (龙濠) <45565100+LongHaoo@users.noreply.github.com> Co-authored-by: Amumu <yoyo837@hotmail.com> Co-authored-by: NothingToDo <49073282+hemengke1997@users.noreply.github.com> Co-authored-by: Shanjie Chen <cnzxcsj@outlook.com> Co-authored-by: xrkffgg <xrkffgg@vip.qq.com> Co-authored-by: qin20 <10720918+qin20@users.noreply.github.com> Co-authored-by: 秦缘斌 <qinyuanbin@corp.netease.com> Co-authored-by: 陈帅 <qixian.cs@outlook.com> Co-authored-by: 期贤 <qixian.cs@antgroup.com> Co-authored-by: dimbslmh <745635+dimbslmh@users.noreply.github.com> Co-authored-by: dimbslmh <dimsbslmh@gmail.com> Co-authored-by: Dan Greene <14020024+dgreene1@users.noreply.github.com> Co-authored-by: zhenfan.yu <fanerge@qq.com> Co-authored-by: whwangms <whwangms@outlook.com> Co-authored-by: ZhouZhen <503633021@qq.com> Co-authored-by: hydraZty <670688667@qq.com> Co-authored-by: hydraZty <hydra_zty@163.com> Co-authored-by: toSayNothing <91143836+toSayNothing@users.noreply.github.com> Co-authored-by: PlayerWho <who.zhuang@gmail.com> Co-authored-by: Di Wu <di@gridx.cn> Co-authored-by: yanm1ng <644169721@qq.com> Co-authored-by: 亦逊 <eason.ym@alibaba-inc.com> Co-authored-by: VIREAK KEOSOKVIBOL <46261326+vireakkeosokvibol@users.noreply.github.com> Co-authored-by: vagusX <vagusX@users.noreply.github.com> Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> Co-authored-by: Cat-XHS <1349021570@qq.com> Co-authored-by: 礼检 <ljj337009@antgroup.com> Co-authored-by: 王浩 <boomler@hotmail.com> Co-authored-by: wanghao <wanghao.wong@bytedance.com> Co-authored-by: Eliot Sanford <eliot587@gmail.com> Co-authored-by: Yang Zhang <7129+yang@users.noreply.github.com> Co-authored-by: Cole <cqiufan@outlook.com> Co-authored-by: chenqiufan <chenqiufan@shiqiao.com> Co-authored-by: codefactor-io <support@codefactor.io> Co-authored-by: 黑雨 <wangning4567@163.com> Co-authored-by: tangjinzhou <415800467@qq.com> Co-authored-by: Amour1688 <lcz_1996@foxmail.com> Co-authored-by: Dawnlck <chaokai.lck@antgroup.com> Co-authored-by: mic-web <4804412+mic-web@users.noreply.github.com> Co-authored-by: Jase Owens <jaseowens197@gmail.com> Co-authored-by: linxianxi <47104575+linxianxi@users.noreply.github.com> Co-authored-by: babycannotsay <335658202@qq.com> Co-authored-by: chenyizhongx <31769726+chenyizhongx@users.noreply.github.com> Co-authored-by: Michał Podeszwa <MichalPodeszwa@users.noreply.github.com> Co-authored-by: Michał Podeszwa <178679-michalpodeszwa@users.noreply.gitlab.com> Co-authored-by: soso <ethdud1@gmail.com> Co-authored-by: David <97387061+david-cord@users.noreply.github.com> Co-authored-by: Filip Seman <filip.seman@protonmail.com> Co-authored-by: opopeieie <opopeieie@users.noreply.github.com> Co-authored-by: chenxq <chenxq@neocrm.com> Co-authored-by: stefango <nankongyinan@gmail.com> Co-authored-by: TrickyPi <33021497+TrickyPi@users.noreply.github.com> Co-authored-by: Picsong <312465087@qq.com> Co-authored-by: Dave <wangcch.cc@gmail.com> Co-authored-by: 李瀚 <44010674+lihansir@users.noreply.github.com> Co-authored-by: KaKaHuoLuoTe <99702968+KaKaHuoLuoTe@users.noreply.github.com> Co-authored-by: qdzhaoxiaodao <32627250+qdzhaoxiaodao@users.noreply.github.com> Co-authored-by: zhaohonghai <wb-zhh767523@alibaba-inc.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Zach Bird <546439325@qq.com> Co-authored-by: aghArdeshir <ardeshireo@gmail.com> Co-authored-by: Karott Schu <karott7@gmail.com> Co-authored-by: zhang lay <lay.zhang@shopee.com>
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
Merged. #16360
I think, should pass generic to
UploadChangeParam
inUploadProps
https://codesandbox.io/s/antd-typescript-forked-2fr1u?file=/index.tsx
📝 Changelog
☑️ Self Check before Merge