Repository navigation
fix: skeleton cannot display children - #34751
Conversation
Codecov Report
@@ Coverage Diff @@
## master #34751 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 422 422
Lines 7839 7839
Branches 2277 2276 -1
=========================================
Hits 7839 7839
Continue to review full report at Codecov.
|
|
这个问题好奇怪,会导致 prolist 不能用吗? |
对 因为现在的实现多了个isValidElement的判断,在ProList中使用时传递的chilren只是个ReactNode 这算是breaking change以前的实现是正常渲染的 |
|
得看看为什么。是不是为了解某些bug? |
我猜是类型问题,返回ReactNode其他地方一定要个ReactElement,我尝试加个React.Fragement然后lint弹个警告提示不需要包裹直接使用children就行。最后我强制类型为ReactElement了 |
当时是解决类型问题,React.Fragement只有单个元素,也过不去lint |
* 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: Form.Item "React does not recognize the requiredMark prop on a DOM element" (ant-design#34323) close ant-design#34310 * test: add boolean value input test (ant-design#34324) * feat: Input support clearIcon (ant-design#34325) * feat: Input support clearIcon * docs: update Input api * chore: fix changelog print for author info in github web (ant-design#34326) * ci: fix ie11 close * refactor: clearIcon in allowClear (ant-design#34340) * refactor: Input allowClear api upadte * test: add test * docs: 4.19.0 changelog (ant-design#34328) * docs: 4.19.0 changelog * docs: update * docs: update * docs: update * Update CHANGELOG.en-US.md * Update CHANGELOG.zh-CN.md * fix: status less compile error (ant-design#34350) * docs: changelog 4.19.1-alpha.0 (ant-design#34352) * docs: changelog 4.19.1-alpha.0 * docs: update * docs: update * docs: update * fix: password icon color (ant-design#34354) * fix: csp not work on icon (ant-design#34356) * refactor: Input.Group use context hook (ant-design#34361) * docs: changelog 4.19.1 (ant-design#34357) * docs: changelog 4.19.1 * docs: update * refactor: Replace ConfigConsumer to ConfigContext (ant-design#34365) * chore: resposive.md => responsive.md (ant-design#34368) * chore: resposive.md => responsive.md * update snapshot * docs(Spin): fix en-US description of `spinning` prop (ant-design#34382) Previous description indicates that Spin is visible but not spinning when `spinning === false`. According to ZH-CN doc, Spin is not visible when `spinning === false`. * fix: input lg font size (ant-design#34381) * fix: Dropdown not auto adjust placement (ant-design#34390) * chore(deps-dev): bump jest-axe from 5.0.1 to 6.0.0 (ant-design#34392) Bumps [jest-axe](https://github.com/nickcolley/jest-axe) from 5.0.1 to 6.0.0. - [Release notes](https://github.com/nickcolley/jest-axe/releases) - [Changelog](https://github.com/nickcolley/jest-axe/blob/main/CHANGELOG.md) - [Commits](https://github.com/nickcolley/jest-axe/commits/v6.0.0) --- updated-dependencies: - dependency-name: jest-axe 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(transfer): footer类型定义支持direction (ant-design#34337) * docs: fix select fieldNames typo (ant-design#34399) * fix: not warning if Form.Item unmount (ant-design#34405) * fix: fix arrow size in default.less (ant-design#34407) * fix: fix arrow size in default.less * chore: code clean * chore: update rc-field-form version (ant-design#34411) * refactor: rm useDestroy hook (ant-design#34418) * fix: clear status in input addon (ant-design#34412) * Fix InputProps supports data attributes (ant-design#34410) * fix: add data-xx for inputProps and convert input/_tests/index.test.js to tsx file * fix: run tests * feat: hide the last border in borderless mode (ant-design#34366) * fix: Tooltip width in safari (ant-design#34415) * docs(Table): replace the link of `TableComponents` prop with `rc-table` type (ant-design#34423) * fix: PageHeader extra gutter (ant-design#34428) * chore: refactor internal menu with hooks (ant-design#34433) * chore: refactor menu with hooks * chore: clean up * chore: export css variable func (ant-design#34436) * docs(module:timeline): fix typo (ant-design#34389) * docs(module:timeline): fix typo * docs(module:timeline): fix typo * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * docs(✨ ): changelog for 4.19.2 (ant-design#34472) * docs: changelog for 4.19.2 * fix changelog lint * chore: upgrade rc-menu to 9.3.x (ant-design#34473) * docs(components:Cascader): supplement the API documentation (ant-design#34466) * docs(components:Cascader): supplement the API documentation * docs(Cascader:en-US): supplement the API documentation * fix: input classname in affix wrapper (ant-design#34474) * chore: add focus warning for Input (ant-design#34475) * chore: add focus warning for Input * chore: code clean * chore: remove duplicate variables * refactor: move prefixCls to wrapper (ant-design#34482) * refactor: move prefixCls to wrapper * fix: name change Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> * docs: dropdownRender usage ant-design@2de1a15 * refactor: replace deprecated String.prototype.substr() (ant-design#34498) String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with functions which aren't. Signed-off-by: Tobias Speicher <rootcommander@gmail.com> * test: Update snapshot * docs: fix alert docs escape * fix: missing status style for RangePicker (ant-design#34509) * fix: range picker should has status style * chore: code clean * chore: code clean * chore: code clean * fix: Typography ediable style (ant-design#34518) - [x] Fix Editable Textarea height jump in Firefox - [x] Fix Editable Typography.Title confirm icon position * docs: fix --- * fix: typos in Input.tsx (ant-design#34534) * chore(🤖): add ChainAlert action (ant-design#34530) * fix: col-x class names in css when using custom prefix (ant-design#34494) * fix: col-x class names of Row and Col components when using custom prefix * refactor: reuse @col-prefix-cls and @row-prefix-cls * refactor: move @col-prefix-cls and @row-prefix-cls to mixin.less * docs: update Input docs for default size in Form (ant-design#34537) * docs: move treeLoadedKeys to TreeSelect close ant-design#34538 * chore(deps-dev): bump @types/gtag.js from 0.0.8 to 0.0.9 (ant-design#34540) Bumps [@types/gtag.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gtag.js) from 0.0.8 to 0.0.9. - [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: Badge RTL wrong placement (ant-design#34545) * fix: tooltip preset color (ant-design#34548) * fix: tooltip preset color * chore: code clean * fix: apply scale transform to disabled star (ant-design#34547) * test: add type test for Input * docs: add Currency recommendation * chore(deps-dev): bump @types/gtag.js from 0.0.9 to 0.0.10 (ant-design#34561) Bumps [@types/gtag.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gtag.js) from 0.0.9 to 0.0.10. - [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: lt_LT locale for typeTemplate (ant-design#34567) * fix: Update it_IT locales (ant-design#34566) * chore: add issues similarity analysis and dingtalk issue notice actions (ant-design#34583) * chore: add Issues Similarity Analysis action * Delete suggest-related-links.yml * Create issue-sync-dingtalk.yml * Update issue-sync-dingtalk.yml * Update issue-sync-dingtalk.yml * Update issue-sync-dingtalk.yml * Update issues-similarity-analysis.yml * Delete chain-alert.yml * chore(🤖): Update issue-open-check.yml (ant-design#34589) * Update issue-open-check.yml * Delete issue-sync-dingtalk.yml * Update issue-open-check.yml * Update issue-open-check.yml * Update issue-open-check.yml * chore(🤖): upgrade github actions (ant-design#34599) * ci: update result * ci: fix result * Update issue-open-check.yml * fix: clear icon style (ant-design#34610) * docs: add 4.19.3 changhelog (ant-design#34617) Co-authored-by: 期贤 <qixian.cs@antgroup.com> * docs: update changelogs * chore: fix remote no work error * fix: when fullscreen is false, the element returned by dateFullCellRender cannot be interactive (ant-design#34614) * fix: when fullscreen is false, the element returned by dateFullCellRender cannot be interactive * test: add test for Calendar * fix: BackTop responsive in RTL (ant-design#34626) * fix: Badge Animation enter and leave in RTL (ant-design#34641) * fix: Badge Animation enter and leave in RTL * [CodeFactor] Apply fixes to commit 87f1866 [ci skip] [skip ci] Co-authored-by: codefactor-io <support@codefactor.io> * fix: wrong word and cancel export inner interface (ant-design#34643) Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> * chore(deps): update actions/cache action to v3 (ant-design#34645) Co-authored-by: Renovate Bot <bot@renovateapp.com> * docs: fix default value of height in drawer component (ant-design#34652) * docs: Create README-ja_JP.md (ant-design#34638) * Create README-ja_JP.md * Update README-uk_UA.md * Update README-pt_BR.md * Update README-zh_CN.md * Update README-sp_MX.md * chore: update Space vertical demo (ant-design#34647) * chore: update Space vertical demo close ant-design#34609 * fix snapshot * fix: fix small steps dot positon (ant-design#34651) * fix: fix small steps dot positon * chore: code clean * docs: add demo * fix: support Layout, Header and Footer given ref (ant-design#34650) * feat: support layout components given refs * test: add ensure given ref test case * fix: update test Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * Update issue-open-check.yml * chore: remove issue body in notice * chore: refactor message types implementation (ant-design#34654) * chore: fix moment snapshot change * docs: fix type of style in drawer component (ant-design#34665) * fix(table) filterSearch TypeScript declaration (ant-design#34671) * fix: types declaration * fix(table): filterSearch TypeScript declaration * docs: update readme * feat: delete drawer wrap (ant-design#34673) * fix: fix Ant Design Charts url (ant-design#34685) * chore: update Item component test case (ant-design#34686) Co-authored-by: Zack Chang <zackchangjx@foxmail.com> * chore: update test cases of Spin (ant-design#34695) * fix: Descriptions number 0 can't render span (ant-design#34696) * fix: number 0 can't render span * Update Cell.tsx * chore: add test case * ci: update pr merge branch * docs: fix type of style in tabs component (ant-design#34706) * fix: notification prevent interaction on elements which under it (ant-design#34716) * fix: notification prevent interaction on elements which under it close ant-design#34700 * fix test case * refactor: use useContext in skeleton (ant-design#34699) * feat: use useContext in skeleton * feat: use useContext in skeleton * feat: update for lint * chore: add control-radius (ant-design#34727) * docs: changelog 4.19.4 (ant-design#34734) * fix: tag-border-radius not work (ant-design#34741) * chore: more less variables (ant-design#34746) * chore: bump 4.19.5-alpha.0 * fix: skeleton cannot display children (ant-design#34751) * fix: skeleton cannot display children * fix: type error * fix: add test case Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * test: Update snapshot (ant-design#34758) * fix: ci fail rollback * fix: ci fail rollback * docs: replace grid design img (ant-design#34771) * chore: replace grid design img * fix: code error * chore: comiple use matrix (ant-design#34770) * chore: comiple use matrix * chore: 16 deps * chore: not install 16 * chore: update * chore: to 16 * chore: install 16 * chore: install 16 * chore: install 16 * chore: install 16 * chore: concurrent * chore: back all * chore: fix lines * chore: cancel if new comes * chore: single dist speed up * chore: fix * chore: fix * chore: update * fix: deps * test: update snapshot * chore: React 18 test case (ant-design#34781) * chore: add 18 test * chore: update test flow * chore: fail fast * chore: foce ci * chore: more if * chore: test it * chore: back of it * chore: master only * chore: fix spell * chore: force install * test: comment 16 tmp * chore: use react 17 * chore: install 18 * chore: back of 16 & 17 * fix: Pagination should display middle size Select when ConfigProvider componentSize is large (ant-design#34756) * fix: Pagination should display middle size Select when ConfigProvider componentSize is large close ant-design#34744 * fix snapshot * fix: correct className (ant-design#34791) * docs: update draggable demo with rtl mode (ant-design#34785) * docs: update draggable demo with rtl mode * test: update tabs demo snapshot * Update faq.zh-CN.md * docs: patch 4.19.3 change log (ant-design#34821) * Patch 4.19.3 changelog * docs: patch logs * docs: fix author * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * emoji * emoji Co-authored-by: afc163 <afc163@gmail.com> * chore: minify themes css (ant-design#34824) * docs: Add faq (ant-design#34830) * fix: Form unmount miss origin store value (ant-design#34845) * docs: 4.19.5 changelog (ant-design#34851) * docs: demo support react18 (ant-design#34843) * docs: update demo * chore: add script * test: fix demo test * docs: convert demos * chore: move script * test: remove react-dom import * chore: update deps * docs: update riddle js * test: fix image test * docs: fix riddle demo * docs: add size property to progress (ant-design#34860) * chore(deps-dev): bump eslint-plugin-unicorn from 41.0.1 to 42.0.0 (ant-design#34861) Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 41.0.1 to 42.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](sindresorhus/eslint-plugin-unicorn@v41.0.1...v42.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-unicorn dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: Update de_DE.tsx (ant-design#34836) * fix: set requestId to null after fn was cancelled (ant-design#34858) * feat: Support ref for Title, Text, Paragraph (ant-design#34847) * feat: Support ref for Title, Text, Paragraph * feat: Add tests for Title, Paragraph and Text * fix: add aria-checked prop to checkbox (ant-design#34862) * fix: add aria-checked prop to checkbox * fix: update snapshots * fix: update aria-checked logic and snapshots * refactor: change props order Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: Dzmitry Yarmoshkin <dzmitry_yarmoshkin@epam.com> Co-authored-by: afc163 <afc163@gmail.com> * chore(deps): update moment to 2.29.2 (ant-design#34867) Co-authored-by: Michael Crenshaw <michael_crenshaw@intuit.com> * fix: react 18 test fixing (ant-design#34787) * fix: try fix * chore: ci * test: recover * test: more test case * test: more and mote * test: btn test * fix: react 18 compitable * chore: more test * test: all confirm test * chore: tmp * chore: test lib * chore: tmp * chore: tmp * test: back of part * test: back of menu index test * test: more test * test: form test * test: rm IE11 test case * chore: fix compatible * chore: clean up * chore: back of all test case * test: ignore 18 lines * chore: remove render test of enzyme in upload * test: back of IE11 test case to fit 100% coverage * chore: fix pkg deps Co-authored-by: MadCcc <1075746765@qq.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@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: afc163 <afc163@gmail.com> Co-authored-by: Amour1688 <lcz_1996@foxmail.com> Co-authored-by: Dawnlck <chaokai.lck@antgroup.com> Co-authored-by: 黑雨 <wangning4567@163.com> Co-authored-by: Di Wu <di@gridx.cn> 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: 二货机器人 <smith3816@gmail.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: xrkffgg <xrkffgg@gmail.com> Co-authored-by: David <97387061+david-cord@users.noreply.github.com> Co-authored-by: Amumu <yoyo837@hotmail.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: Peach <scdzwyxst@gmail.com> Co-authored-by: Dave <wangcch.cc@gmail.com> Co-authored-by: Long Hao (龙濠) <45565100+LongHaoo@users.noreply.github.com> Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.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: vagusX <vagusX@users.noreply.github.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: Dennis273 <dennisc695@icloud.com> Co-authored-by: Fisher <33776415+zomixi@users.noreply.github.com> Co-authored-by: Jungzl <35426360+Jungzl@users.noreply.github.com> Co-authored-by: 高喵喵 <GitKou@users.noreply.github.com> Co-authored-by: PanStar <PanStar@users.noreply.github.com> Co-authored-by: dujun <emolingzhu@126.com> Co-authored-by: zqran <uuxnet@gmail.com> Co-authored-by: YuTao <yutao0818@vip.qq.com> Co-authored-by: EvanOne(文一) <1656081615@qq.com> Co-authored-by: CommanderRoot <CommanderRoot@users.noreply.github.com> Co-authored-by: Yunwoo Ji <unu12073@gmail.com> Co-authored-by: Anizcus <48563303+Anizcus@users.noreply.github.com> Co-authored-by: Gianmarco Rengucci <rengucci.gianmarco@gmail.com> Co-authored-by: 陈帅 <qixian.cs@outlook.com> Co-authored-by: 期贤 <qixian.cs@antgroup.com> Co-authored-by: 章鱼 <ryker.zy@gmail.com> Co-authored-by: Hamed Mohammadzadeh <36853974+hmz22@users.noreply.github.com> Co-authored-by: codefactor-io <support@codefactor.io> Co-authored-by: NullPointerException <62196528+onein528@users.noreply.github.com> Co-authored-by: dengqing <1247748612@qq.com> Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> Co-authored-by: zhao-huo-long <lijiuyi1995@outlook.com> Co-authored-by: huangkairan <56213366+huangkairan@users.noreply.github.com> Co-authored-by: Yiming <ymjrcc@qq.com> Co-authored-by: Zack Chang <73225408+jrr997@users.noreply.github.com> Co-authored-by: Zack Chang <zackchangjx@foxmail.com> Co-authored-by: shuaijiumei <63175611+shuaijiumei@users.noreply.github.com> Co-authored-by: miracles1919 <516571350@qq.com> Co-authored-by: Daniel Pfeffer <mail@danielpfeffer.de> Co-authored-by: Tmk <i@tmk.im> Co-authored-by: Minh Quy <sugiacupit@gmail.com> Co-authored-by: Dzmitry Yarmoshkin <spanb4@gmail.com> Co-authored-by: Dzmitry Yarmoshkin <dzmitry_yarmoshkin@epam.com> Co-authored-by: Michael Crenshaw <michael@crenshaw.dev> Co-authored-by: Michael Crenshaw <michael_crenshaw@intuit.com> Co-authored-by: zhang lay <lay.zhang@shopee.com>
* feat: add aria-* to Spin (ant-design#34408) * feat: add aria * feat: update other snap * feat: update logic * chore: export css variable func (ant-design#34436) * docs(module:timeline): fix typo (ant-design#34389) * docs(module:timeline): fix typo * docs(module:timeline): fix typo * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * docs(✨ ): changelog for 4.19.2 (ant-design#34472) * docs: changelog for 4.19.2 * fix changelog lint * chore: upgrade rc-menu to 9.3.x (ant-design#34473) * docs(components:Cascader): supplement the API documentation (ant-design#34466) * docs(components:Cascader): supplement the API documentation * docs(Cascader:en-US): supplement the API documentation * fix: input classname in affix wrapper (ant-design#34474) * chore: add focus warning for Input (ant-design#34475) * chore: add focus warning for Input * chore: code clean * chore: remove duplicate variables * refactor: move prefixCls to wrapper (ant-design#34482) * refactor: move prefixCls to wrapper * fix: name change Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> * docs: dropdownRender usage ant-design@2de1a15 * refactor: replace deprecated String.prototype.substr() (ant-design#34498) String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with functions which aren't. Signed-off-by: Tobias Speicher <rootcommander@gmail.com> * test: Update snapshot * docs: fix alert docs escape * fix: missing status style for RangePicker (ant-design#34509) * fix: range picker should has status style * chore: code clean * chore: code clean * chore: code clean * fix: Typography ediable style (ant-design#34518) - [x] Fix Editable Textarea height jump in Firefox - [x] Fix Editable Typography.Title confirm icon position * docs: fix --- * fix: typos in Input.tsx (ant-design#34534) * chore(🤖): add ChainAlert action (ant-design#34530) * fix: col-x class names in css when using custom prefix (ant-design#34494) * fix: col-x class names of Row and Col components when using custom prefix * refactor: reuse @col-prefix-cls and @row-prefix-cls * refactor: move @col-prefix-cls and @row-prefix-cls to mixin.less * docs: update Input docs for default size in Form (ant-design#34537) * docs: move treeLoadedKeys to TreeSelect close ant-design#34538 * chore(deps-dev): bump @types/gtag.js from 0.0.8 to 0.0.9 (ant-design#34540) Bumps [@types/gtag.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gtag.js) from 0.0.8 to 0.0.9. - [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: Badge RTL wrong placement (ant-design#34545) * fix: tooltip preset color (ant-design#34548) * fix: tooltip preset color * chore: code clean * fix: apply scale transform to disabled star (ant-design#34547) * test: add type test for Input * docs: add Currency recommendation * chore(deps-dev): bump @types/gtag.js from 0.0.9 to 0.0.10 (ant-design#34561) Bumps [@types/gtag.js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/gtag.js) from 0.0.9 to 0.0.10. - [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: lt_LT locale for typeTemplate (ant-design#34567) * fix: Update it_IT locales (ant-design#34566) * feat: Menu support `items` (ant-design#34559) * docs: Update Menu cn doc * chore: update ts def * chore: support convert * docs: more demo * docs: more demo * docs: all menu demos * docs: dropdown demo * docs: dropdown all demos * docs: update demo * test: coverage * docs: more demo * docs: layout demo * docs: all demo * chore: fix ts lint * docs: fix doc * docs: all docs * chore: add issues similarity analysis and dingtalk issue notice actions (ant-design#34583) * chore: add Issues Similarity Analysis action * Delete suggest-related-links.yml * Create issue-sync-dingtalk.yml * Update issue-sync-dingtalk.yml * Update issue-sync-dingtalk.yml * Update issue-sync-dingtalk.yml * Update issues-similarity-analysis.yml * Delete chain-alert.yml * chore(🤖): Update issue-open-check.yml (ant-design#34589) * Update issue-open-check.yml * Delete issue-sync-dingtalk.yml * Update issue-open-check.yml * feat: dialog,image add rootClassName api (ant-design#34574) * feat: dialog add rootClassName api * feat: rc-image add rootClassName api * feat: update doc * Update issue-open-check.yml * Update issue-open-check.yml * chore(🤖): upgrade github actions (ant-design#34599) * ci: update result * ci: fix result * Update issue-open-check.yml * feat(row): add support for space-evenly (ant-design#34606) * feat(row): add support for space-evenly * docs: update demo snapshot. Co-authored-by: gp5251 <gp5251@qq.com> * fix: clear icon style (ant-design#34610) * docs: add 4.19.3 changhelog (ant-design#34617) Co-authored-by: 期贤 <qixian.cs@antgroup.com> * docs: update changelogs * chore: fix remote no work error * fix: when fullscreen is false, the element returned by dateFullCellRender cannot be interactive (ant-design#34614) * fix: when fullscreen is false, the element returned by dateFullCellRender cannot be interactive * test: add test for Calendar * fix: BackTop responsive in RTL (ant-design#34626) * feat: Tree support rootClassName & rootStyle (ant-design#34578) * feat: tree support rootClassName & rootStyle * feat: Tree support rootClassName and rootStyle * chore: update rc-cascader * chore: update rc-tree * chore: update cascader * chore: update deps * fix: Badge Animation enter and leave in RTL (ant-design#34641) * fix: Badge Animation enter and leave in RTL * [CodeFactor] Apply fixes to commit 87f1866 [ci skip] [skip ci] Co-authored-by: codefactor-io <support@codefactor.io> * fix: wrong word and cancel export inner interface (ant-design#34643) Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> * chore(deps): update actions/cache action to v3 (ant-design#34645) Co-authored-by: Renovate Bot <bot@renovateapp.com> * docs: fix default value of height in drawer component (ant-design#34652) * docs: Create README-ja_JP.md (ant-design#34638) * Create README-ja_JP.md * Update README-uk_UA.md * Update README-pt_BR.md * Update README-zh_CN.md * Update README-sp_MX.md * chore: update Space vertical demo (ant-design#34647) * chore: update Space vertical demo close ant-design#34609 * fix snapshot * fix: fix small steps dot positon (ant-design#34651) * fix: fix small steps dot positon * chore: code clean * docs: add demo * fix: support Layout, Header and Footer given ref (ant-design#34650) * feat: support layout components given refs * test: add ensure given ref test case * fix: update test Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * feat: Typography.Text Pass event to onCopy. (ant-design#34655) * Update issue-open-check.yml * chore: remove issue body in notice * chore: refactor message types implementation (ant-design#34654) * chore: fix moment snapshot change * docs: fix type of style in drawer component (ant-design#34665) * fix(table) filterSearch TypeScript declaration (ant-design#34671) * fix: types declaration * fix(table): filterSearch TypeScript declaration * feat: add filterResetToDefaultFilteredValue api (ant-design#34355) * feat: add filterResetToDefaultFilteredValue api * feat: fix lint * feat: update test case * feat: update doc * docs: update readme * feat: delete drawer wrap (ant-design#34673) * fix: fix Ant Design Charts url (ant-design#34685) * chore: update Item component test case (ant-design#34686) Co-authored-by: Zack Chang <zackchangjx@foxmail.com> * refactor: move override code in form (ant-design#34694) * refactor: move override code in form * refactor: radio and checkbox * chore: code clean * test: fix lint * test: fix lint * chore: update test cases of Spin (ant-design#34695) * fix: Descriptions number 0 can't render span (ant-design#34696) * fix: number 0 can't render span * Update Cell.tsx * chore: add test case * ci: update pr merge branch * docs: fix type of style in tabs component (ant-design#34706) * refactor: feedbackIcon provided by form (ant-design#34712) * refactor: feedbackIcon migration * test: update snapshot * refactor: adjust TextArea in form (ant-design#34714) * fix: notification prevent interaction on elements which under it (ant-design#34716) * fix: notification prevent interaction on elements which under it close ant-design#34700 * fix test case * refactor: use useContext in skeleton (ant-design#34699) * feat: use useContext in skeleton * feat: use useContext in skeleton * feat: update for lint * feat: add showCheckedStrategy api for cascader (ant-design#34568) * feat: add showCheckedStrategy api for cascader * feat: update doc * feat: add demo and update doc * feat: update demo * chore: add control-radius (ant-design#34727) * docs: changelog 4.19.4 (ant-design#34734) * fix: tag-border-radius not work (ant-design#34741) * chore: more less variables (ant-design#34746) * chore: bump 4.19.5-alpha.0 * feat: Dropdown support switch options with arrow keys (ant-design#34738) * feat: dropdown support auto-focus * chore: code clean * fix: skeleton cannot display children (ant-design#34751) * fix: skeleton cannot display children * fix: type error * fix: add test case Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * chore: update rc-tabs version (ant-design#34757) * test: Update snapshot (ant-design#34758) * fix: ci fail rollback * fix: ci fail rollback * feat: Input.Group prevent components from getting style from Form.Item (ant-design#34764) * feat: Input.Group provide isFormInput false * test: update snapshot * chore: code clean * docs: replace grid design img (ant-design#34771) * chore: replace grid design img * fix: code error * chore: comiple use matrix (ant-design#34770) * chore: comiple use matrix * chore: 16 deps * chore: not install 16 * chore: update * chore: to 16 * chore: install 16 * chore: install 16 * chore: install 16 * chore: install 16 * chore: concurrent * chore: back all * chore: fix lines * chore: cancel if new comes * chore: single dist speed up * chore: fix * chore: fix * chore: update * fix: deps * test: update snapshot * chore: React 18 test case (ant-design#34781) * chore: add 18 test * chore: update test flow * chore: fail fast * chore: foce ci * chore: more if * chore: test it * chore: back of it * chore: master only * chore: fix spell * chore: force install * test: comment 16 tmp * chore: use react 17 * chore: install 18 * chore: back of 16 & 17 * fix: Pagination should display middle size Select when ConfigProvider componentSize is large (ant-design#34756) * fix: Pagination should display middle size Select when ConfigProvider componentSize is large close ant-design#34744 * fix snapshot * fix: correct className (ant-design#34791) * feat: Anchor supports `getCurrentAnchor(activeLink)` (ant-design#34799) close ant-design#34784 * docs: update draggable demo with rtl mode (ant-design#34785) * docs: update draggable demo with rtl mode * test: update tabs demo snapshot * Update faq.zh-CN.md * docs: patch 4.19.3 change log (ant-design#34821) * Patch 4.19.3 changelog * docs: patch logs * docs: fix author * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * emoji * emoji Co-authored-by: afc163 <afc163@gmail.com> * chore: minify themes css (ant-design#34824) * docs: Add faq (ant-design#34830) * feat: Tree `switcherIcon` prop support render-prop (ant-design#34470) * feat: Tree `switcherIcon` prop support render-prop * add test for `switcherIcon` render-prop * change the `switcherIcon` prop type of `TreeSelect` * fix switcherIcon render-prop condition * fix switcherIcon * fix: Form unmount miss origin store value (ant-design#34845) * docs: 4.19.5 changelog (ant-design#34851) * docs: demo support react18 (ant-design#34843) * docs: update demo * chore: add script * test: fix demo test * docs: convert demos * chore: move script * test: remove react-dom import * chore: update deps * docs: update riddle js * test: fix image test * docs: fix riddle demo * docs: add size property to progress (ant-design#34860) * chore(deps-dev): bump eslint-plugin-unicorn from 41.0.1 to 42.0.0 (ant-design#34861) Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 41.0.1 to 42.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](sindresorhus/eslint-plugin-unicorn@v41.0.1...v42.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-unicorn dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: Update de_DE.tsx (ant-design#34836) * fix: set requestId to null after fn was cancelled (ant-design#34858) * feat: Support ref for Title, Text, Paragraph (ant-design#34847) * feat: Support ref for Title, Text, Paragraph * feat: Add tests for Title, Paragraph and Text * fix: add aria-checked prop to checkbox (ant-design#34862) * fix: add aria-checked prop to checkbox * fix: update snapshots * fix: update aria-checked logic and snapshots * refactor: change props order Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: Dzmitry Yarmoshkin <dzmitry_yarmoshkin@epam.com> Co-authored-by: afc163 <afc163@gmail.com> * chore(deps): update moment to 2.29.2 (ant-design#34867) Co-authored-by: Michael Crenshaw <michael_crenshaw@intuit.com> * fix: react 18 test fixing (ant-design#34787) * fix: try fix * chore: ci * test: recover * test: more test case * test: more and mote * test: btn test * fix: react 18 compitable * chore: more test * test: all confirm test * chore: tmp * chore: test lib * chore: tmp * chore: tmp * test: back of part * test: back of menu index test * test: more test * test: form test * test: rm IE11 test case * chore: fix compatible * chore: clean up * chore: back of all test case * test: ignore 18 lines * chore: remove render test of enzyme in upload * test: back of IE11 test case to fit 100% coverage * chore: fix pkg deps * docs: site wrap with strict mode (ant-design#34895) * docs: site wrap with strict mode * chore: bump bisheng * fix: not warpper animation for badge RTL (ant-design#34899) * fix: skeleton cannot dispaly without children and loading props : Skeleton(...) return nothing (ant-design#34872) * fix: skeleton cannot dispaly without children * [CodeFactor] Apply fixes to commit 0b4a968 [ci skip] [skip ci] * fix: update skeleton Co-authored-by: codefactor-io <support@codefactor.io> * refactor: add optionType for Radio internally (ant-design#34849) * refactor: add optionType for Radio internally * fix: lint * fix: update snapshot * feat: remove useless condition for RadioGroupContext * test: add test case for Radio.Button * chore(deps-dev): bump @types/react-dom from 17.0.15 to 18.0.0 (ant-design#34943) Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 17.0.15 to 18.0.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom) --- updated-dependencies: - dependency-name: "@types/react-dom" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: Compatible for @types/react@18 (ant-design#34937) * chore: bump types def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: free --legacy-peer-deps * chore: ignore peer * chore: fix ts logic * chore: use fork docsearch * chore: fix demo ts * chore(deps): update dependency react-highlight-words to ^0.18.0 (ant-design#34954) Co-authored-by: Renovate Bot <bot@renovateapp.com> * feat: add new component `Segmented` (ant-design#34319) * feat: basic implements in antd * feat: use rc-segmented * feat: add some demos * feat: support dark theme * docs: add more demos * feat: support `icon` in segmented * docs: format content * test: add test cases * docs: update docs * chore: update * fix: lint issues * style: add border-radius for selected effect * style: change border-radius-base * chore: update gitignore * feat: segmented support block * chore: update gitignore * feat: support block * feat: add test case * feat: support size * docs: update demos * chore: update * chore: update * test: update * style: update colors * style: hover and focus styles * doc: add version mark in docs * fix: style lint issue * fix: some lint issues * doc: add version in demo mds * doc: add version mark before api details * Revert "doc: add version in demo mds" This reverts commit 2a9e86f. * test: only test for thumb appear * style: update color vars * style: add transition * style: text vertial align * test: update snapshots * feat: add preview svg and support dark theme * fix: update test snapshot * docs: update docs * fix: remove useless z-index * build: add 1kb for bundlesize of antd.variable.min.css Co-authored-by: taian.lta <taian.lta@antgroup.com> * ci: Add GitHub token permissions for workflows (ant-design#34946) * fix: Form layout span 24 usage in responsive mode (ant-design#34907) close ant-design#34903 * fix: small size of Table style problem (ant-design#34963) close ant-design#34949 * test: back of coverage (ant-design#34964) * test: fix coverage * chore: bump bisheng * chore: clean up * chore: update deps * chore: test coverage * chore: test fix * chore: fix ts * chore: fix ts demo * docs: Add faq about chrome with upload * feat: crossorigin attribute of Upload (ant-design#34981) * feat: Add crossOrigin prop to thumbnail image * feat: Add test cases about crossOrigin prop of Upload component * doc: Add a description about crossOrigin prop to Upload component manual * Update components/upload/interface.tsx Update type definition using React.ImgHTMLAttributes Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: hyunseok.kim <hyunseok.kim@42dot.ai> Co-authored-by: afc163 <afc163@gmail.com> * docs: update faq (ant-design#34984) * test: Update snapshot * feat: Image preview support keyboard switch (ant-design#34992) * style: remove selected item style of AutoComplete (ant-design#34996) close ant-design#34975 * chore(deps-dev): bump react-helmet-async from 1.2.3 to 1.3.0 (ant-design#34997) Bumps [react-helmet-async](https://github.com/staylor/react-helmet-async) from 1.2.3 to 1.3.0. - [Release notes](https://github.com/staylor/react-helmet-async/releases) - [Commits](https://github.com/staylor/react-helmet-async/commits) --- updated-dependencies: - dependency-name: react-helmet-async dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: use ~ instead of ^ for rc-segmented * docs: recommend S2 and ProTable in table documentation (ant-design#34998) * docs: recommend S2 and ProTable in table documentation * Update index.en-US.md * Update index.en-US.md * docs: changelog for 4.20.0-alpha.0 (ant-design#34977) * docs: changelog for 4.20.0 * chore: bump version to 4.20.0 * docs: update version date * chore: update version to 4.20.0-alpha.0 * docs: remove react 18 compatible * fix: arrow radius use fixed value (ant-design#34999) * fix: Spin rotate deg number (ant-design#35005) close ant-design#34866 * docs(input): use Intl.NumberFormat (ant-design#34985) Co-authored-by: maxin <maxin@growingio.com> * chore(deps-dev): bump glob from 7.2.0 to 8.0.1 (ant-design#35017) Bumps [glob](https://github.com/isaacs/node-glob) from 7.2.0 to 8.0.1. - [Release notes](https://github.com/isaacs/node-glob/releases) - [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md) - [Commits](isaacs/node-glob@v7.2.0...v8.0.1) --- updated-dependencies: - dependency-name: glob dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(cascader): search result not fill the entire panel (ant-design#35019) Co-authored-by: wanghao <wanghao.wong@bytedance.com> * fix: Select and AutoComplete scroll behavior by keyboard (ant-design#35025) fix ant-design#34898 fix ant-design#35022 * chore: clean up some project files (ant-design#35028) * chore: remove unused Upload in form styles (ant-design#35033) * chore: remove unused Upload in form styles * Update Upload.tsx * Update Upload.tsx * test: update snapshot * fix: Notification & message throw `createRoot` warning in React 18 (ant-design#35030) * chore: bump notification version * test: notification test case * test: more test case * test: part message test * test: rest message test * test: notification config test * feat: Form support useWatch (ant-design#35036) * feat: Support useWatch * test: update test case * chore: update snapshot * feat: Image PreviewGroup Support top progress rendering (ant-design#35038) * refactor: wrap picker with FC (ant-design#34994) * refactor: wrap picker with FC * chore: code clean * feat: cast type * test: fix test * test: Update snapshot * docs: More info about useWatch (ant-design#35039) * docs: more about useWatch * test: Update test case * docs: more info * docs: more & more * feat: add useFormInstance * chore: add version info * docs: simplify demo code, ant-design#30853 (ant-design#35050) * style: cleanup upload unused styles (ant-design#35052) * fix: Upload pass UploadList prefixCls (ant-design#34944) * fix: pass UploadList prefixCls * test: <Upload /> should pass <UploadList /> prefixCls Co-authored-by: chenshanwang <chenshanwang@lianfan.com> * Update overview.en-US.md * docs: fix overview content (ant-design#35055) * docs: 修复中文文档没有与英文文档同步的问题 * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * test: fix jest snapshot * test: update test cases to testing-lib (ant-design#35056) * test: migrate some test case to testing-library (ant-design#35062) * test: migrate some test case to testing-library * chore: code clean * test: fix stylelint * test: test case * ci: up version (ant-design#35067) * ci: up version * Update verify-files-modify.yml * docs: Update useWatch docs * docs: update docs version * docs: add 4.20.0-alpha.1 changelog (ant-design#35070) * docs: add 4.20.0-alpha.1 changelog * docs: update * docs: Update changelog missing useFormInstance * chore: rc-dialog id unique sync (ant-design#35072) * chore: Compatible for @types/react@18 (ant-design#35075) * chore: Compatible for @types/react@18 * chore: Compatible for @types/react@18 * chore: 🤖 component Steps ts def for react18 (ant-design#35076) ✅ Closes: ant-design#35074 Co-authored-by: ronggui.shu <ronggui.shu@sci-inv.com> * test: wrap React.StrictMode for test cases (ant-design#35026) * test: React StrictMode * test: fix Spin test * chore: wrapper enzyme * test: fix setState * test: more test cover * test: more test cover * test: more test cover * test: more test cover * test: more test cover * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: disable part of it * test: fix test & add placeholder * test: Use orign enzyme mount Co-authored-by: zombiej <smith3816@gmail.com> * test: Update snapshot * fix: fixed arrow border radius variables (ant-design#35086) * style: fix the problem of inconsistent styles in RTL mode (ant-design#35088) * refactor: change anchor to fc for the cssinjs prepare (ant-design#35073) * refactor: change anchor to fc for the cssinjs prepare * fix: fix anchor test * style: fix the style of progress rendering at the top of component Image PreviewGroup (ant-design#35092) * style: fix the style of progress rendering at the top of component Image PreviewGroup * style: add debug-demo for top progress countRender * pref: upgrade rc-menu (ant-design#35071) * pref: upgrade rc-menu * Update package.json Co-authored-by: afc163 <afc163@gmail.com> * fix: Form in React 18 StrictMode (ant-design#35096) * test: fix with react 18 * fix: Form in StrictMode * test: clean up * test: clean up * chore: bump rc-motion version * chore: fix test case logic * test: back of it * test: back missing test case * docs: update Drawer overview image (ant-design#35099) * docs: update Drawer overview image * Update index.en-US.md * chore: tweak upload style (ant-design#35097) * chore: tweak upload style * chore: update snapshot * fix: cn menus doc (ant-design#35078) * chore: update snapshot due to rc-trigger bumped (ant-design#35106) * style: Switch background should not be transparent (ant-design#35103) * docs: improve upload demos (ant-design#35104) * docs: improve upload demos * Update drag-sorting.md * docs: add input showCount lose focus desc. close ant-design#35080 * chore: fix cirrus-actions/rebase cirrus-actions/rebase#78 * fix(Typography): change less function to less variable in danger style (ant-design#35113) * refactor: wrap Spin with FC (ant-design#35114) * refactor: wrap Spin with FC * chore: code clean * fix: breadcrumb shows the number (ant-design#35123) * docs: Add deprecated usage (ant-design#35128) * docs: Update Menu demo sample * docs: improve menu usage for items (ant-design#35131) * docs: improve menu usage for items * test: update snapshot * docs: update menu title * docs: update getContainer of Modal and Drawer (ant-design#35141) close ant-design#35124 * chore: bump dropdown with inject mark (ant-design#35153) * docs: Update Dropdown basic demo icon * docs: Add dropdown menu missing keys * chore: remove Breadcrumb Dropdown warning (ant-design#35162) * fix: DropDownProps => DropdownProps (ant-design#35161) * fix: DropDown => Dropdown * chore: leave DropDownProps for compatibility * docs: add Application Frameworks recommendation (ant-design#35168) * docs: add Application Frameworks recommendation * add Application Frameworks recommendation * typo fix * docs: segmented update (ant-design#35171) * docs: segmented update * test: fix lint * docs: Update demo with Space (ant-design#35172) * fix: small table selection dropdown margin issue close ant-design#35167 * fix: small table selection dropdown margin issue (ant-design#35173) close ant-design#35167 * docs: Update Dropdown demo * fix: small/middle table selection dropdown margin issue (ant-design#35174) * fix: small/middle table selection dropdown margin issue * Update index.less * refactor: Simplify Button Group Style (ant-design#35175) * chore: refactor grp with context * test: Update snapshot * chore: clean up * test: fix test case * chore: clean up * test: fix test * docs: faq about modal. close ant-design#35177 * test: fix test in segmented (ant-design#35183) * test(🏞): batch upload snapshots to argos-ci.com (ant-design#35181) * fix: Upload interface generic type (ant-design#35158) * fix:Uplooad组件UploadChangeParam fileList不使用范型 * feat:upload component interface generic test * docs(🛡): update README badges (ant-design#35185) * docs: update README-zh_CN.md * Update README-uk_UA.md * Update README-pt_BR.md * chore: fix argos-ci upload BATCH_SIZE * fix: code to use @html-selector variable (ant-design#35186) * revert: batchCount of argos-ci revert 2d654bf * docs: add debug demo for segmented (ant-design#35176) * docs: add debug demo for segmented * chore: update * chore: update * style: `Segmented` supports rtl styles (ant-design#35188) * perf: optimize calculation of filteredKeysIsAllControlled (ant-design#35064) * perf: optimize calculation of filteredKeysIsAllControlled * fix: ci failure * fix: modify codes by suggestion * chore: fix argos-ci check status in PR (ant-design#35193) * chore: batch upload argos-ci snapshots * test: added commit and branch back for ui-upload.yml * feat: upgrade rc-segmented v2 (ant-design#35187) * docs: add debug demo for segmented * chore: update * feat: upgrade rc-segmented v2 * Update components/segmented/__tests__/index.test.tsx Co-authored-by: afc163 <afc163@gmail.com> * Update components/segmented/demo/controlled-two.md Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> * site: tweak theme button margin of site footer (ant-design#35192) * fix: remove Tabs overflow hidden style (ant-design#35195) close ant-design#34021 close ant-design#35136 * docs: add demo link for Menu legacy usage (ant-design#35202) * docs: add demo links for Menu legacy usage * Update index.en-US.md * chore: update ui.yml * docs: 4.20.0 changelog (ant-design#35203) * docs: init 4.20.0 changelog * chore: merge * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * docs: Update changelog * chore: bump react version * chore: revert react version * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> * docs: fix changelog date * docs: Update Segmented changelog * docs: Note for 18 known issue * test: Replace transfer part test with testing lib (ant-design#35216) * test: Replace transfer part test with testing lib * chore: clean up * fix: upload circle ref (ant-design#34379) Co-authored-by: kanweiwei <kanweiwei@nutstore.net> * chore: add useWatch test placeholder * chore: run image snapshots on every branches Co-authored-by: 黑雨 <wangning4567@163.com> Co-authored-by: 二货机器人 <smith3816@gmail.com> Co-authored-by: YuTao <yutao0818@vip.qq.com> Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: EvanOne(文一) <1656081615@qq.com> Co-authored-by: MadCcc <1075746765@qq.com> Co-authored-by: Long Hao (龙濠) <45565100+LongHaoo@users.noreply.github.com> Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com> Co-authored-by: CommanderRoot <CommanderRoot@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: vagusX <vagusX@users.noreply.github.com> Co-authored-by: mic-web <4804412+mic-web@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: xrkffgg <xrkffgg@gmail.com> Co-authored-by: Yunwoo Ji <unu12073@gmail.com> Co-authored-by: Anizcus <48563303+Anizcus@users.noreply.github.com> Co-authored-by: Gianmarco Rengucci <rengucci.gianmarco@gmail.com> Co-authored-by: paul <34345790@qq.com> Co-authored-by: gp5251 <gp5251@qq.com> Co-authored-by: 陈帅 <qixian.cs@outlook.com> Co-authored-by: 期贤 <qixian.cs@antgroup.com> Co-authored-by: 章鱼 <ryker.zy@gmail.com> Co-authored-by: Hamed Mohammadzadeh <36853974+hmz22@users.noreply.github.com> Co-authored-by: codefactor-io <support@codefactor.io> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: NullPointerException <62196528+onein528@users.noreply.github.com> Co-authored-by: dengqing <1247748612@qq.com> Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> Co-authored-by: youngz <chinayangzhan@126.com> Co-authored-by: zhao-huo-long <lijiuyi1995@outlook.com> Co-authored-by: huangkairan <56213366+huangkairan@users.noreply.github.com> Co-authored-by: Yiming <ymjrcc@qq.com> Co-authored-by: Zack Chang <73225408+jrr997@users.noreply.github.com> Co-authored-by: Zack Chang <zackchangjx@foxmail.com> Co-authored-by: shuaijiumei <63175611+shuaijiumei@users.noreply.github.com> Co-authored-by: miracles1919 <516571350@qq.com> Co-authored-by: Amumu <yoyo837@hotmail.com> Co-authored-by: zqran <uuxnet@gmail.com> Co-authored-by: Daniel Pfeffer <mail@danielpfeffer.de> Co-authored-by: Tmk <i@tmk.im> Co-authored-by: Minh Quy <sugiacupit@gmail.com> Co-authored-by: Dzmitry Yarmoshkin <spanb4@gmail.com> Co-authored-by: Dzmitry Yarmoshkin <dzmitry_yarmoshkin@epam.com> Co-authored-by: Michael Crenshaw <michael@crenshaw.dev> Co-authored-by: Michael Crenshaw <michael_crenshaw@intuit.com> Co-authored-by: zhang lay <lay.zhang@shopee.com> Co-authored-by: Albert Zhang <ziyuximing@163.com> Co-authored-by: taian.lta <taian.lta@antgroup.com> Co-authored-by: Varun Sharma <varunsh@stepsecurity.io> Co-authored-by: Hyunseok.Kim <dragmove@gmail.com> Co-authored-by: hyunseok.kim <hyunseok.kim@42dot.ai> Co-authored-by: PCCCCCCC <zpc.excel@foxmail.com> Co-authored-by: Peach <scdzwyxst@gmail.com> Co-authored-by: maxin <48519459+nnmax@users.noreply.github.com> Co-authored-by: maxin <maxin@growingio.com> Co-authored-by: 王浩 <boomler@hotmail.com> Co-authored-by: wanghao <wanghao.wong@bytedance.com> Co-authored-by: chensw <swchenforgetful@hotmail.com> Co-authored-by: chenshanwang <chenshanwang@lianfan.com> Co-authored-by: c0dedance <38075730+c0dedance@users.noreply.github.com> Co-authored-by: AliRezaBeigy <AliRezaBeigyKhu@gmail.com> Co-authored-by: littledian <1197434548@qq.com> Co-authored-by: ronggui.shu <ronggui.shu@sci-inv.com> Co-authored-by: Karott Schu <karott7@gmail.com> Co-authored-by: nuintun <nuintun@gmail.com> Co-authored-by: TrickyPi <33021497+TrickyPi@users.noreply.github.com> Co-authored-by: Ömer Faruk APLAK <omer@pankod.com> Co-authored-by: rendaoer <rendaoer@outlook.com> Co-authored-by: Jefferson Rafael Kozerski <jeff.drumgod@gmail.com> Co-authored-by: Yuyao Nie <nieyuyao0826@hotmail.com> Co-authored-by: Camol <kwwnjujlc@sina.com> Co-authored-by: kanweiwei <kanweiwei@nutstore.net>
* feat: Dropdown support switch options with arrow keys (ant-design#34738) * feat: dropdown support auto-focus * chore: code clean * fix: skeleton cannot display children (ant-design#34751) * fix: skeleton cannot display children * fix: type error * fix: add test case Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> * chore: update rc-tabs version (ant-design#34757) * test: Update snapshot (ant-design#34758) * fix: ci fail rollback * fix: ci fail rollback * feat: Input.Group prevent components from getting style from Form.Item (ant-design#34764) * feat: Input.Group provide isFormInput false * test: update snapshot * chore: code clean * docs: replace grid design img (ant-design#34771) * chore: replace grid design img * fix: code error * chore: comiple use matrix (ant-design#34770) * chore: comiple use matrix * chore: 16 deps * chore: not install 16 * chore: update * chore: to 16 * chore: install 16 * chore: install 16 * chore: install 16 * chore: install 16 * chore: concurrent * chore: back all * chore: fix lines * chore: cancel if new comes * chore: single dist speed up * chore: fix * chore: fix * chore: update * fix: deps * test: update snapshot * chore: React 18 test case (ant-design#34781) * chore: add 18 test * chore: update test flow * chore: fail fast * chore: foce ci * chore: more if * chore: test it * chore: back of it * chore: master only * chore: fix spell * chore: force install * test: comment 16 tmp * chore: use react 17 * chore: install 18 * chore: back of 16 & 17 * fix: Pagination should display middle size Select when ConfigProvider componentSize is large (ant-design#34756) * fix: Pagination should display middle size Select when ConfigProvider componentSize is large close ant-design#34744 * fix snapshot * fix: correct className (ant-design#34791) * feat: Anchor supports `getCurrentAnchor(activeLink)` (ant-design#34799) close ant-design#34784 * docs: update draggable demo with rtl mode (ant-design#34785) * docs: update draggable demo with rtl mode * test: update tabs demo snapshot * Update faq.zh-CN.md * docs: patch 4.19.3 change log (ant-design#34821) * Patch 4.19.3 changelog * docs: patch logs * docs: fix author * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * emoji * emoji Co-authored-by: afc163 <afc163@gmail.com> * chore: minify themes css (ant-design#34824) * docs: Add faq (ant-design#34830) * feat: Tree `switcherIcon` prop support render-prop (ant-design#34470) * feat: Tree `switcherIcon` prop support render-prop * add test for `switcherIcon` render-prop * change the `switcherIcon` prop type of `TreeSelect` * fix switcherIcon render-prop condition * fix switcherIcon * fix: Form unmount miss origin store value (ant-design#34845) * docs: 4.19.5 changelog (ant-design#34851) * docs: demo support react18 (ant-design#34843) * docs: update demo * chore: add script * test: fix demo test * docs: convert demos * chore: move script * test: remove react-dom import * chore: update deps * docs: update riddle js * test: fix image test * docs: fix riddle demo * docs: add size property to progress (ant-design#34860) * chore(deps-dev): bump eslint-plugin-unicorn from 41.0.1 to 42.0.0 (ant-design#34861) Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 41.0.1 to 42.0.0. - [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases) - [Commits](sindresorhus/eslint-plugin-unicorn@v41.0.1...v42.0.0) --- updated-dependencies: - dependency-name: eslint-plugin-unicorn dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: Update de_DE.tsx (ant-design#34836) * fix: set requestId to null after fn was cancelled (ant-design#34858) * feat: Support ref for Title, Text, Paragraph (ant-design#34847) * feat: Support ref for Title, Text, Paragraph * feat: Add tests for Title, Paragraph and Text * fix: add aria-checked prop to checkbox (ant-design#34862) * fix: add aria-checked prop to checkbox * fix: update snapshots * fix: update aria-checked logic and snapshots * refactor: change props order Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: Dzmitry Yarmoshkin <dzmitry_yarmoshkin@epam.com> Co-authored-by: afc163 <afc163@gmail.com> * chore(deps): update moment to 2.29.2 (ant-design#34867) Co-authored-by: Michael Crenshaw <michael_crenshaw@intuit.com> * fix: react 18 test fixing (ant-design#34787) * fix: try fix * chore: ci * test: recover * test: more test case * test: more and mote * test: btn test * fix: react 18 compitable * chore: more test * test: all confirm test * chore: tmp * chore: test lib * chore: tmp * chore: tmp * test: back of part * test: back of menu index test * test: more test * test: form test * test: rm IE11 test case * chore: fix compatible * chore: clean up * chore: back of all test case * test: ignore 18 lines * chore: remove render test of enzyme in upload * test: back of IE11 test case to fit 100% coverage * chore: fix pkg deps * docs: site wrap with strict mode (ant-design#34895) * docs: site wrap with strict mode * chore: bump bisheng * fix: not warpper animation for badge RTL (ant-design#34899) * fix: skeleton cannot dispaly without children and loading props : Skeleton(...) return nothing (ant-design#34872) * fix: skeleton cannot dispaly without children * [CodeFactor] Apply fixes to commit 0b4a968 [ci skip] [skip ci] * fix: update skeleton Co-authored-by: codefactor-io <support@codefactor.io> * refactor: add optionType for Radio internally (ant-design#34849) * refactor: add optionType for Radio internally * fix: lint * fix: update snapshot * feat: remove useless condition for RadioGroupContext * test: add test case for Radio.Button * chore(deps-dev): bump @types/react-dom from 17.0.15 to 18.0.0 (ant-design#34943) Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 17.0.15 to 18.0.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom) --- updated-dependencies: - dependency-name: "@types/react-dom" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: Compatible for @types/react@18 (ant-design#34937) * chore: bump types def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: part ts def * chore: free --legacy-peer-deps * chore: ignore peer * chore: fix ts logic * chore: use fork docsearch * chore: fix demo ts * chore(deps): update dependency react-highlight-words to ^0.18.0 (ant-design#34954) Co-authored-by: Renovate Bot <bot@renovateapp.com> * feat: add new component `Segmented` (ant-design#34319) * feat: basic implements in antd * feat: use rc-segmented * feat: add some demos * feat: support dark theme * docs: add more demos * feat: support `icon` in segmented * docs: format content * test: add test cases * docs: update docs * chore: update * fix: lint issues * style: add border-radius for selected effect * style: change border-radius-base * chore: update gitignore * feat: segmented support block * chore: update gitignore * feat: support block * feat: add test case * feat: support size * docs: update demos * chore: update * chore: update * test: update * style: update colors * style: hover and focus styles * doc: add version mark in docs * fix: style lint issue * fix: some lint issues * doc: add version in demo mds * doc: add version mark before api details * Revert "doc: add version in demo mds" This reverts commit 2a9e86f. * test: only test for thumb appear * style: update color vars * style: add transition * style: text vertial align * test: update snapshots * feat: add preview svg and support dark theme * fix: update test snapshot * docs: update docs * fix: remove useless z-index * build: add 1kb for bundlesize of antd.variable.min.css Co-authored-by: taian.lta <taian.lta@antgroup.com> * ci: Add GitHub token permissions for workflows (ant-design#34946) * fix: Form layout span 24 usage in responsive mode (ant-design#34907) close ant-design#34903 * fix: small size of Table style problem (ant-design#34963) close ant-design#34949 * test: back of coverage (ant-design#34964) * test: fix coverage * chore: bump bisheng * chore: clean up * chore: update deps * chore: test coverage * chore: test fix * chore: fix ts * chore: fix ts demo * docs: Add faq about chrome with upload * feat: crossorigin attribute of Upload (ant-design#34981) * feat: Add crossOrigin prop to thumbnail image * feat: Add test cases about crossOrigin prop of Upload component * doc: Add a description about crossOrigin prop to Upload component manual * Update components/upload/interface.tsx Update type definition using React.ImgHTMLAttributes Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: hyunseok.kim <hyunseok.kim@42dot.ai> Co-authored-by: afc163 <afc163@gmail.com> * docs: update faq (ant-design#34984) * test: Update snapshot * feat: Image preview support keyboard switch (ant-design#34992) * style: remove selected item style of AutoComplete (ant-design#34996) close ant-design#34975 * chore(deps-dev): bump react-helmet-async from 1.2.3 to 1.3.0 (ant-design#34997) Bumps [react-helmet-async](https://github.com/staylor/react-helmet-async) from 1.2.3 to 1.3.0. - [Release notes](https://github.com/staylor/react-helmet-async/releases) - [Commits](https://github.com/staylor/react-helmet-async/commits) --- updated-dependencies: - dependency-name: react-helmet-async dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: use ~ instead of ^ for rc-segmented * docs: recommend S2 and ProTable in table documentation (ant-design#34998) * docs: recommend S2 and ProTable in table documentation * Update index.en-US.md * Update index.en-US.md * docs: changelog for 4.20.0-alpha.0 (ant-design#34977) * docs: changelog for 4.20.0 * chore: bump version to 4.20.0 * docs: update version date * chore: update version to 4.20.0-alpha.0 * docs: remove react 18 compatible * fix: arrow radius use fixed value (ant-design#34999) * fix: Spin rotate deg number (ant-design#35005) close ant-design#34866 * docs(input): use Intl.NumberFormat (ant-design#34985) Co-authored-by: maxin <maxin@growingio.com> * chore(deps-dev): bump glob from 7.2.0 to 8.0.1 (ant-design#35017) Bumps [glob](https://github.com/isaacs/node-glob) from 7.2.0 to 8.0.1. - [Release notes](https://github.com/isaacs/node-glob/releases) - [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md) - [Commits](isaacs/node-glob@v7.2.0...v8.0.1) --- updated-dependencies: - dependency-name: glob dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(cascader): search result not fill the entire panel (ant-design#35019) Co-authored-by: wanghao <wanghao.wong@bytedance.com> * fix: Select and AutoComplete scroll behavior by keyboard (ant-design#35025) fix ant-design#34898 fix ant-design#35022 * chore: clean up some project files (ant-design#35028) * chore: remove unused Upload in form styles (ant-design#35033) * chore: remove unused Upload in form styles * Update Upload.tsx * Update Upload.tsx * test: update snapshot * fix: Notification & message throw `createRoot` warning in React 18 (ant-design#35030) * chore: bump notification version * test: notification test case * test: more test case * test: part message test * test: rest message test * test: notification config test * feat: Form support useWatch (ant-design#35036) * feat: Support useWatch * test: update test case * chore: update snapshot * feat: Image PreviewGroup Support top progress rendering (ant-design#35038) * refactor: wrap picker with FC (ant-design#34994) * refactor: wrap picker with FC * chore: code clean * feat: cast type * test: fix test * test: Update snapshot * docs: More info about useWatch (ant-design#35039) * docs: more about useWatch * test: Update test case * docs: more info * docs: more & more * feat: add useFormInstance * chore: add version info * docs: simplify demo code, ant-design#30853 (ant-design#35050) * style: cleanup upload unused styles (ant-design#35052) * fix: Upload pass UploadList prefixCls (ant-design#34944) * fix: pass UploadList prefixCls * test: <Upload /> should pass <UploadList /> prefixCls Co-authored-by: chenshanwang <chenshanwang@lianfan.com> * Update overview.en-US.md * docs: fix overview content (ant-design#35055) * docs: 修复中文文档没有与英文文档同步的问题 * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * test: fix jest snapshot * test: update test cases to testing-lib (ant-design#35056) * test: migrate some test case to testing-library (ant-design#35062) * test: migrate some test case to testing-library * chore: code clean * test: fix stylelint * test: test case * ci: up version (ant-design#35067) * ci: up version * Update verify-files-modify.yml * docs: Update useWatch docs * docs: update docs version * docs: add 4.20.0-alpha.1 changelog (ant-design#35070) * docs: add 4.20.0-alpha.1 changelog * docs: update * docs: Update changelog missing useFormInstance * chore: rc-dialog id unique sync (ant-design#35072) * chore: Compatible for @types/react@18 (ant-design#35075) * chore: Compatible for @types/react@18 * chore: Compatible for @types/react@18 * chore: 🤖 component Steps ts def for react18 (ant-design#35076) ✅ Closes: ant-design#35074 Co-authored-by: ronggui.shu <ronggui.shu@sci-inv.com> * test: wrap React.StrictMode for test cases (ant-design#35026) * test: React StrictMode * test: fix Spin test * chore: wrapper enzyme * test: fix setState * test: more test cover * test: more test cover * test: more test cover * test: more test cover * test: more test cover * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: more test case * test: disable part of it * test: fix test & add placeholder * test: Use orign enzyme mount Co-authored-by: zombiej <smith3816@gmail.com> * test: Update snapshot * fix: fixed arrow border radius variables (ant-design#35086) * style: fix the problem of inconsistent styles in RTL mode (ant-design#35088) * refactor: change anchor to fc for the cssinjs prepare (ant-design#35073) * refactor: change anchor to fc for the cssinjs prepare * fix: fix anchor test * style: fix the style of progress rendering at the top of component Image PreviewGroup (ant-design#35092) * style: fix the style of progress rendering at the top of component Image PreviewGroup * style: add debug-demo for top progress countRender * pref: upgrade rc-menu (ant-design#35071) * pref: upgrade rc-menu * Update package.json Co-authored-by: afc163 <afc163@gmail.com> * fix: Form in React 18 StrictMode (ant-design#35096) * test: fix with react 18 * fix: Form in StrictMode * test: clean up * test: clean up * chore: bump rc-motion version * chore: fix test case logic * test: back of it * test: back missing test case * docs: update Drawer overview image (ant-design#35099) * docs: update Drawer overview image * Update index.en-US.md * chore: tweak upload style (ant-design#35097) * chore: tweak upload style * chore: update snapshot * fix: cn menus doc (ant-design#35078) * chore: update snapshot due to rc-trigger bumped (ant-design#35106) * style: Switch background should not be transparent (ant-design#35103) * docs: improve upload demos (ant-design#35104) * docs: improve upload demos * Update drag-sorting.md * docs: add input showCount lose focus desc. close ant-design#35080 * chore: fix cirrus-actions/rebase cirrus-actions/rebase#78 * fix(Typography): change less function to less variable in danger style (ant-design#35113) * refactor: wrap Spin with FC (ant-design#35114) * refactor: wrap Spin with FC * chore: code clean * fix: breadcrumb shows the number (ant-design#35123) * docs: Add deprecated usage (ant-design#35128) * docs: Update Menu demo sample * docs: improve menu usage for items (ant-design#35131) * docs: improve menu usage for items * test: update snapshot * docs: update menu title * docs: update getContainer of Modal and Drawer (ant-design#35141) close ant-design#35124 * chore: bump dropdown with inject mark (ant-design#35153) * docs: Update Dropdown basic demo icon * docs: Add dropdown menu missing keys * chore: remove Breadcrumb Dropdown warning (ant-design#35162) * fix: DropDownProps => DropdownProps (ant-design#35161) * fix: DropDown => Dropdown * chore: leave DropDownProps for compatibility * docs: add Application Frameworks recommendation (ant-design#35168) * docs: add Application Frameworks recommendation * add Application Frameworks recommendation * typo fix * docs: segmented update (ant-design#35171) * docs: segmented update * test: fix lint * docs: Update demo with Space (ant-design#35172) * fix: small table selection dropdown margin issue close ant-design#35167 * fix: small table selection dropdown margin issue (ant-design#35173) close ant-design#35167 * docs: Update Dropdown demo * fix: small/middle table selection dropdown margin issue (ant-design#35174) * fix: small/middle table selection dropdown margin issue * Update index.less * refactor: Simplify Button Group Style (ant-design#35175) * chore: refactor grp with context * test: Update snapshot * chore: clean up * test: fix test case * chore: clean up * test: fix test * docs: faq about modal. close ant-design#35177 * test: fix test in segmented (ant-design#35183) * test(🏞): batch upload snapshots to argos-ci.com (ant-design#35181) * fix: Upload interface generic type (ant-design#35158) * fix:Uplooad组件UploadChangeParam fileList不使用范型 * feat:upload component interface generic test * docs(🛡): update README badges (ant-design#35185) * docs: update README-zh_CN.md * Update README-uk_UA.md * Update README-pt_BR.md * chore: fix argos-ci upload BATCH_SIZE * fix: code to use @html-selector variable (ant-design#35186) * revert: batchCount of argos-ci revert 2d654bf * docs: add debug demo for segmented (ant-design#35176) * docs: add debug demo for segmented * chore: update * chore: update * style: `Segmented` supports rtl styles (ant-design#35188) * perf: optimize calculation of filteredKeysIsAllControlled (ant-design#35064) * perf: optimize calculation of filteredKeysIsAllControlled * fix: ci failure * fix: modify codes by suggestion * chore: fix argos-ci check status in PR (ant-design#35193) * chore: batch upload argos-ci snapshots * test: added commit and branch back for ui-upload.yml * feat: upgrade rc-segmented v2 (ant-design#35187) * docs: add debug demo for segmented * chore: update * feat: upgrade rc-segmented v2 * Update components/segmented/__tests__/index.test.tsx Co-authored-by: afc163 <afc163@gmail.com> * Update components/segmented/demo/controlled-two.md Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> * site: tweak theme button margin of site footer (ant-design#35192) * fix: remove Tabs overflow hidden style (ant-design#35195) close ant-design#34021 close ant-design#35136 * docs: add demo link for Menu legacy usage (ant-design#35202) * docs: add demo links for Menu legacy usage * Update index.en-US.md * chore: update ui.yml * docs: 4.20.0 changelog (ant-design#35203) * docs: init 4.20.0 changelog * chore: merge * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * docs: Update changelog * chore: bump react version * chore: revert react version * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> * docs: fix changelog date * docs: Update Segmented changelog * docs: Note for 18 known issue * test: Replace transfer part test with testing lib (ant-design#35216) * test: Replace transfer part test with testing lib * chore: clean up * fix: upload circle ref (ant-design#34379) Co-authored-by: kanweiwei <kanweiwei@nutstore.net> * chore: add useWatch test placeholder * chore: run image snapshots on every branches * style: fix Breadcrumb reset style (ant-design#35235) close ant-design#35233 * fix: input onSearch trigger wrongly (ant-design#34844) (ant-design#35164) Co-authored-by: zhangqingyang@mindlinker.com <zhangqingyang@mindlinker.com> * docs(:sparkles:): release 4.20.1 (ant-design#35250) * test: add menu focus test (ant-design#35252) * test: fix upload test case * test: skip uploadlist test for now * docs: replace `git.io` link with the original URL (ant-design#35261) * fix: Table columns sorter a11y experience (ant-design#35269) * Make table sortable columns focusable and keyboard accessible. * Fix typo. * Change focus style for sortable table column header from broken outline to color text. * Update snapshots. * Change order to fix lint error. * Add unit test to test sorting with keypress. * Update components/table/hooks/useSorter.tsx * chore: improve code style * style: use focus-visible * fix: test case * test: update snapshot Co-authored-by: Katsiaryna Pustakhod <Katsiaryna_Pustakhod@epam.com> * feat: support icon only in segmented (ant-design#35256) * feat: support icon only with segmented * fix: lint issue * chore: update * test: fix * test: update snapshot * feat: dropdown auto-focus (ant-design#35307) * feat: dropdown auto-focus * chore: update rc-tabs * docs: update space demos * fix: Space duplicated key warning (ant-design#35311) close ant-design#35305 * Added pending filter translations Table locale/es_ES (ant-design#35309) Co-authored-by: Jesús Gallego Irles <jesusgallego@outlook.com> * chore: Add code file owner * chore: more owner files * docs: fix form instance type error (ant-design#35320) * feat: set proper height for Segmented (ant-design#35281) * style: tweak BreadCrumb link hover color (ant-design#35324) * chore: Aligning the CI description and its behavior (ant-design#35325) * test: Rewrite mountTest with testing lib (ant-design#35326) * docs: add instruction about tokenSeparators (ant-design#35329) * test: replace Empty part test with test lib (ant-design#35289) * test: replace Empty part test with test lib * test: update snapshot case * fix: Switch disabled color in dark theme (ant-design#35332) * Revert "feat: dropdown auto-focus (ant-design#35307)" (ant-design#35337) This reverts commit 1ff58d2. * docs: update Tabs component onEdit prop describe (ant-design#35271) * docs: update Tabs component onEdit prop describe * docs: update Tabs component onEdit prop describe * Apply suggestions from code review Co-authored-by: afc163 <afc163@gmail.com> * docs: changelog for 4.20.2 (ant-design#35338) * docs: add changelog for ant-design#35336 * style: fix Select tag remove icon position (ant-design#35336) The icon is pushed down a bit * test: update test case * test: transfer part of tooltip test case to testing library (ant-design#35362) * test: refactor test cases of Space (ant-design#35372) * test: migrate part of anchor tests (ant-design#35371) * test: migrate part of checkbox tests (ant-design#35354) * fix: Carousel compatible with vertical property (ant-design#35349) * chore: fix npm start error in Gitpod close ant-design#33444 * Revert "chore: fix npm start error in Gitpod" This reverts commit 978226f. * fix: table column filter reset is not working (ant-design#35226) (ant-design#35386) * fix: Respect user provided space item key (ant-design#35344) * Resolve Ant Design Notification component TypeScript error via adding maxCount as an ArgsProps property (ant-design#35369) * fix: use less variables for Segmented (ant-design#35387) * docs: reverse React 18 demo * test: replace textarea some test case with testing lib (ant-design#35398) * test: replace textarea some test case with testing lib * test: full process * test: mv input test to input scope * test: fix lint * chore: rm useless console * chore: rm CODEOWNER since this block github action * test: transfer tooltip test case to testing library * ci: trigger the pr check * test: try to fix the pr check * test: remove some test case * test: foreach all placement * fix(<Row/>): wipe out unnecessary prop (ant-design#35409) * fix: wipe out unnecessary prop * wipe out unnecessary prop(`row-gap: 0px`) on <Row /> * add test case * chore: remove unnecessary import * chore: add prop to Row and Col * chore: update snapshot (Form/Grid/Card) * chore: update snapshot * chore: move location * docs: explain Avatar fallback strategy (ant-design#35415) The original description was unclear, incomplete, and confusing, requiring a look at the code to understand it, so I revised it to a more understandable version. * fix: arrow style (ant-design#35401) * fix: arrow style * fix: raise arrow z-index * fix: fix defualt arrow color * fix: mix shadow * chore: code clean * chore: code clean * fix: use fadeout instead * test: fix style lint * test: replace some slepp with jest.runAllTimers * Revert "test: replace some slepp with jest.runAllTimers" This reverts commit ad886d1. * fix: List.Item ref (ant-design#35321) * fix: list item ref * add test * improve * fix: List.Item typescript (ant-design#35418) * chore: eslint add consistent-type-imports (ant-design#35419) * chore: eslint add consistent-type-imports * fix avatar * Update Item.tsx * chore: change menu icon in site * docs: update mirror link (ant-design#35424) * docs: update mirror link * feat: add modal * feat: add icon * chore: code clean * feat: text * fix: cancel btn * chore: split chunks (ant-design#35222) * chore: split chunks * chore: update bisheng version * chore: split @ant-design/icon * chore: code clean * chore: test * chore: split moment * chore: code clean * fix: add missing localizations (ant-design#35430) * Add missing localizations * Update snapshot * docs: add 4.20.3 changelog (ant-design#35435) * docs: add 4.20.3 changelog * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * fix typo * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * Update CHANGELOG.en-US.md Co-authored-by: afc163 <afc163@gmail.com> * Update CHANGELOG.zh-CN.md Co-authored-by: afc163 <afc163@gmail.com> * fix typo * fix typo * fix typo * fix typo Co-authored-by: afc163 <afc163@gmail.com> * docs: update demo template (ant-design#35440) * docs: fix typo (ant-design#35439) * chore: fixed typo * chore: fixed typo+1 * chore(deps-dev): bump husky from 7.0.4 to 8.0.1 (ant-design#35451) Bumps [husky](https://github.com/typicode/husky) from 7.0.4 to 8.0.1. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](typicode/husky@v7.0.4...v8.0.1) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test: update snapshot (ant-design#35452) * chore: optimze LGTM (ant-design#35443) * chore: optimze LGTM * chore: type * fix: dev broken (ant-design#35453) * chore(deps-dev): upgrade to jest 28 (ant-design#35334) https://jestjs.io/zh-Hans/docs/upgrading-to-jest28 * fix: bad List.Item type (ant-design#35454) (ant-design#35455) Co-authored-by: Ron Smeral <ron.smeral@merck.com> * docs: replace class component with hooks (ant-design#35461) * docs(badge): replace class component with hooks * docs(button): replace class component with hooks * docs(calendar): replace class component with hooks * docs(card): replace class component with hooks * docs(button): replace class component with hooks * chore(deps): remove webpack devDependencies * refactor: remove cascader displayRender warning (ant-design#35417) * refactor: remove useless warning (ant-design#35291) * refactor: remove useless test case * docs: remove cascader tagRender * perf: refactor devWarning for production code size (ant-design#35411) * pref: better code style for production * refactor `devWarning` * don't use `useEffect` only wrap `devWarning` * chore: add 'noop' to coverage * chore: add test cases for devWarning * chore: add test case * chore: update test cases for devWarning * chore: restore test script command * fix: remove 'throw new Error' * should not use `throw` for browser * chore: update test case for AutoComplete * perf: add prefix for `devWarning` * update RegExp for UMD * add prefix for ES and CJS * chore: better code style * perf: * upgrade antd-tools * remove `injectWarningCondition` * rename `devWarning` to `warning` * chore: better code style * chore: better code style * chore: restore hasValidName * docs: replace class component with hooks (ant-design#35472) * docs(badge): replace class component with hooks * docs(button): replace class component with hooks * docs(calendar): replace class component with hooks * docs(card): replace class component with hooks * docs(button): replace class component with hooks * chore(deps): remove webpack devDependencies * docs(cascader): replace class component with hooks * docs(checkbox): replace class component with hooks * docs(collapse): replace class component with hooks * docs(comment): replace class component with hooks * docs(descriptions): replace class component with hooks * chore: fix LGTM * docs: indicate that menu items require `key`s (ant-design#35474) * docs: remove editable in table documentation close ant-design#35471 (comment) * fix: tree checkbox margin in rtl mode (ant-design#35491) * docs: Table QA about rowSelection renderCell (ant-design#35494) * Update index.zh-CN.md 之前需要在 可选列的勾选框 中增加 Tooltip,没有在文档中找到相关的文档,通过搜索 issue,以为暂时不支持,看了源码才发现已经支持了。 所以想要完善一下文档,可以方便其他用户找到此内容。 * docs: Table QA about rowSelection renderCell update US doc * docs: changelog 4.20.4 (ant-design#35495) * docs: changelog 4.20.4 * chore: emoji * docs: replace class component with hooks (ant-design#35500) * docs(badge): replace class component with hooks * docs(button): replace class component with hooks * docs(calendar): replace class component with hooks * docs(card): replace class component with hooks * docs(button): replace class component with hooks * chore(deps): remove webpack devDependencies * docs(cascader): replace class component with hooks * docs(checkbox): replace class component with hooks * docs(collapse): replace class component with hooks * docs(comment): replace class component with hooks * docs(descriptions): replace class component with hooks * docs(config-provider): replace class component with hooks * docs(date-picker): replace class component with hooks * fix(statistic): ignore the decimal part when the precision is negative (ant-design#35520) * test: Update snapshot * test: Update snapshot (ant-design#35529) * docs: update work with us part * feat: update changelog Co-authored-by: MadCcc <1075746765@qq.com> Co-authored-by: dengqing <1247748612@qq.com> Co-authored-by: dengqing <qing.deng@goldenpig.com.cn> Co-authored-by: shuaijiumei <63175611+shuaijiumei@users.noreply.github.com> Co-authored-by: 二货机器人 <smith3816@gmail.com> Co-authored-by: afc163 <afc163@gmail.com> Co-authored-by: Yunwoo Ji <unu12073@gmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: miracles1919 <516571350@qq.com> Co-authored-by: Amumu <yoyo837@hotmail.com> Co-authored-by: zqran <uuxnet@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Pfeffer <mail@danielpfeffer.de> Co-authored-by: Tmk <i@tmk.im> Co-authored-by: Minh Quy <sugiacupit@gmail.com> Co-authored-by: Dzmitry Yarmoshkin <spanb4@gmail.com> Co-authored-by: Dzmitry Yarmoshkin <dzmitry_yarmoshkin@epam.com> Co-authored-by: Michael Crenshaw <michael@crenshaw.dev> Co-authored-by: Michael Crenshaw <michael_crenshaw@intuit.com> Co-authored-by: Hamed Mohammadzadeh <36853974+hmz22@users.noreply.github.com> Co-authored-by: zhang lay <lay.zhang@shopee.com> Co-authored-by: Albert Zhang <ziyuximing@163.com> Co-authored-by: codefactor-io <support@codefactor.io> Co-authored-by: vagusX <vagusX@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: taian.lta <taian.lta@antgroup.com> Co-authored-by: Varun Sharma <varunsh@stepsecurity.io> Co-authored-by: Hyunseok.Kim <dragmove@gmail.com> Co-authored-by: hyunseok.kim <hyunseok.kim@42dot.ai> Co-authored-by: PCCCCCCC <zpc.excel@foxmail.com> Co-authored-by: Peach <scdzwyxst@gmail.com> Co-authored-by: maxin <48519459+nnmax@users.noreply.github.com> Co-authored-by: maxin <maxin@growingio.com> Co-authored-by: 王浩 <boomler@hotmail.com> Co-authored-by: wanghao <wanghao.wong@bytedance.com> Co-authored-by: chensw <swchenforgetful@hotmail.com> Co-authored-by: chenshanwang <chenshanwang@lianfan.com> Co-authored-by: c0dedance <38075730+c0dedance@users.noreply.github.com> Co-authored-by: xrkffgg <xrkffgg@gmail.com> Co-authored-by: AliRezaBeigy <AliRezaBeigyKhu@gmail.com> Co-authored-by: littledian <1197434548@qq.com> Co-authored-by: ronggui.shu <ronggui.shu@sci-inv.com> Co-authored-by: Long Hao (龙濠) <45565100+LongHaoo@users.noreply.github.com> Co-authored-by: Karott Schu <karott7@gmail.com> Co-authored-by: nuintun <nuintun@gmail.com> Co-authored-by: TrickyPi <33021497+TrickyPi@users.noreply.github.com> Co-authored-by: Ömer Faruk APLAK <omer@pankod.com> Co-authored-by: rendaoer <rendaoer@outlook.com> Co-authored-by: Jefferson Rafael Kozerski <jeff.drumgod@gmail.com> Co-authored-by: Yuyao Nie <nieyuyao0826@hotmail.com> Co-authored-by: Camol <kwwnjujlc@sina.com> Co-authored-by: kanweiwei <kanweiwei@nutstore.net> Co-authored-by: qyzzzz <43691324+qyzzzz@users.noreply.github.com> Co-authored-by: zhangqingyang@mindlinker.com <zhangqingyang@mindlinker.com> Co-authored-by: Sukka <isukkaw@gmail.com> Co-authored-by: Katsiaryna Pustakhod <Katsiaryna_Pustakhod@epam.com> Co-authored-by: agarciaguillo <albertogarciaelx@gmail.com> Co-authored-by: Jesús Gallego Irles <jesusgallego@outlook.com> Co-authored-by: Zack Chang <73225408+jrr997@users.noreply.github.com> Co-authored-by: lalalazero <zzzero520@hotmail.com> Co-authored-by: Dreamcreative <m543438924@163.com> Co-authored-by: Walid Cherhane <56094829+walidcherhane@users.noreply.github.com> Co-authored-by: linqiqi077 <865530219@qq.com> Co-authored-by: haipeng <firemmet@gmail.com> Co-authored-by: Yanlin Jiang <cncolder@gmail.com> Co-authored-by: Cooper Veysey <cwveysey@gmail.com> Co-authored-by: parabolazz <parebolayh@outlook.com> Co-authored-by: Tom Xu <ycxzhkx@gmail.com> Co-authored-by: Mykyta Velykanov <nikitavelykanov@gmail.com> Co-authored-by: 陈帅 <qixian.cs@outlook.com> Co-authored-by: Yanming Deng <cisolarix@gmail.com> Co-authored-by: Ron Šmeral <ron.smeral@gmail.com> Co-authored-by: Ron Smeral <ron.smeral@merck.com> Co-authored-by: dingkang <dingkang0458@gmail.com> Co-authored-by: Tony Wu <93302820+tonywu6@users.noreply.github.com> Co-authored-by: limingxin <906529775@qq.com> Co-authored-by: ty888 <1506125048@qq.com>


[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
related pr: #34699
fix: ant-design/pro-components#4939
fix: ant-design/pro-components#4936
💡 Background and solution
📝 Changelog
☑️ Self Check before Merge