Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modal.confirm在设置closable为true的情况下,onCancel传入的close函数参数为undefined #36581

Closed
Hubartist opened this issue Jul 19, 2022 · 9 comments · Fixed by #36600
Assignees
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@Hubartist
Copy link

Reproduction link

Edit on CodeSandbox

Steps to reproduce

modal.confirm config参数配置closable为true,设置onCancel为车close => close() ,点击右上方的关闭icon

What is expected?

点击关闭按钮后正常关闭

What is actually happening?

点击后报错close不是个function

Environment Info
antd 4.21.7
React 18.3.0
System Monterey 12.4
Browser google
@afc163
Copy link
Member

afc163 commented Jul 19, 2022

没开 closable 时按 ESC 关闭时也会触发。

@afc163 afc163 added the 🐛 Bug Ant Design Team had proved that this is a bug. label Jul 19, 2022
@Wxh16144
Copy link
Member

没开 closable 时按 ESC 关闭时也会触发。

我去看看这个问题吧,我来补充 PR

@Wxh16144

This comment was marked as off-topic.

@Wxh16144
Copy link
Member

Wxh16144 commented Jul 19, 2022

我大概捋清楚逻辑了

当我们使用 Modal.method()Modal.useModal() 打开弹窗时。

关闭弹窗有 3 种方式

  1. 点击蒙层关闭 [maskClosable=true]
  2. ESC 关闭 [keyboard=true]
  3. 点击右上角图标关闭 [closable=true]

如果是 confirm 类型,footer 会多出一个取消按钮 (确定按钮等左边),此时关闭弹窗在前面 3 种方式中又多出一种,点击 取消 按钮关闭。

但是官方源码对于 前面 3 种关闭形式定义为 triggerCancel, 这时候不能通过 onCancel:function(close) 的第一个参数 close 去调用。

对于 confirm 类型弹窗,点击 取消 按钮这个行为需要通过 close 方法手动关闭。

我 GET 到的官方设计目的是,前 3 种方式关闭,属于 antd 功能。不需要开发者手动 close, onCancel 则表示 点击遮罩层或右上角叉或ESC关闭的回调
confirm 类型弹窗的 取消 按钮行为是开发需要关心的逻辑。所以交给开发者去手动 close。 前 3 种的 onCancel 还是正常执行。

对此我解决方法是多加一个判断(需要先修复 undefined问题),或者具体等官方具体解答一下设计场景。

const config = {
  title: 'issues/36581',
  closable: true,
  content: <code>Test</code>,
  onCancel(close) {
    if(close && close.triggerCancel) {
      // 前面 3 种关闭类型;点击遮罩层、右上角叉、ESC关闭 的回调
      return;
    }
    // do something
    close()
  },
};

Modal.method(config)

// 或者 Modal.useModal() 用法 

// ...
const [modal, contextHolder] = Modal.useModal();
modal.method(config)
//..
另外一个粗暴的解决方案
const config = {
  title: 'issues/36581',
  closable: true,
  content: <code>Test</code>,
  onCancel(close) {
    lodash.isFunction(close) && close()
  },
};

Modal.method(config)

最后不得不提一下,官方对这块儿的文档描述还是不够细致,期待补充。(逃~~

Wxh16144 added a commit to Wxh16144-forks/ant-design that referenced this issue Jul 19, 2022
@yoyo837
Copy link
Contributor

yoyo837 commented Jul 20, 2022

你已经捋的这么清楚了,来帮忙补一下文档?

@Wxh16144
Copy link
Member

当然没问题。不过我觉得这块内容是不是需要你们再讨论一下, 比如 这里 的类型推导。貌似没有必要使用拓展 arguments。

  1. confirm 类型弹窗的 取消 按钮,是否也可以直接 antd 做关闭操作,而不用开发去关闭。想不到业务场景。
  2. 对于 第 1 点,修正类型推导后。是否需要补充更多的 Unit Test。
  3. 要把之前的都否决么,所有的关闭操作,都交还给开发者。(完全按照文档提供的 close 行为,但我觉得这个方案对以前用户影响挺大的

@afc163
Copy link
Member

afc163 commented Jul 20, 2022

  1. close 作为 onOK/onCancel 第一个参数是早起版本给到用户异步决定关闭时机的方式,具体解法是 onCancel 如果有第一个参数时,则默认不关闭,需要用户手动调用。如果没有参数,则直接关闭。
  2. 这个方式不是最合理的方案,所以后面加了返回 Promise 的方案。
  3. confirm 里默认没开 closable 和 maskClosable,点击 x 和 mask 和 ESC 退出应该都没有考虑在异步关闭的场景内。(因为没法 loading ,确实也不合适做异步关闭。

我建议不大改这个逻辑了,在这几个场景给 onOK/onCancel 注入一个空 function 避免报错就好了。

@Wxh16144
Copy link
Member

在这几个场景给 onOK/onCancel 注入一个空 function 避免报错就好了。

好的,我去 看一下这个逻辑,尝试去实现看看。单测就不需要补充了吧。

@afc163
Copy link
Member

afc163 commented Jul 20, 2022

单测需要的

Wxh16144 added a commit to Wxh16144-forks/ant-design that referenced this issue Jul 20, 2022
Wxh16144 added a commit to Wxh16144-forks/ant-design that referenced this issue Jul 20, 2022
Wxh16144 added a commit to Wxh16144-forks/ant-design that referenced this issue Jul 22, 2022
Wxh16144 added a commit to Wxh16144-forks/ant-design that referenced this issue Jul 22, 2022
afc163 pushed a commit that referenced this issue Jul 23, 2022
* fix(modal):  fix the error of `onCancel` parameter of modal returned by `useModal`

resolve: 36581

ref: #36581 (comment)

* test(confirm): 补充 modal 测试用例

* test(modal): 添加测试用例

* Revert "fix(modal):  fix the error of `onCancel` parameter of modal returned by `useModal`"

This reverts commit e4fcb3e.

* fix(modal): fix modal onOk/onCancel method is not a valid function when there is a close parameter

closed: #36581

* chore: cancel the introduction of `noop` from third-party library
ytftianwen pushed a commit to infra-fe/infra-design that referenced this issue Jul 26, 2022
* docs: Convert part demo to ts version (ant-design#35641)

* docs(badge): replace class component with hooks

* docs(button): replace class component with hooks

* docs(calendar): replace class component with hooks

* docs(card): replace class component with hooks

* docs(button): replace class component with hooks

* chore(deps): remove webpack devDependencies

* docs(cascader): replace class component with hooks

* docs(checkbox): replace class component with hooks

* docs(collapse): replace class component with hooks

* docs(comment): replace class component with hooks

* docs(descriptions): replace class component with hooks

* docs(config-provider): replace class component with hooks

* docs(date-picker): replace class component with hooks

* docs(drawer): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(dropdown): replace class component with hooks

* docs(empty): replace class component with hooks

* docs(grid): replace class component with hooks

* docs(input): replace class component with hooks

* docs(input-number): replace class component with hooks

* docs(demo): fix lint error

* docs(layout): replace class component with hooks

* docs(list): replace class component with hooks

* docs(mentions): replace class component with hooks

* docs: fix code review issue

* docs(modal): replace class component with hooks

* docs(pagination): replace class component with hooks

* docs(popconfirm): replace class component with hooks

* docs(popover): replace class component with hooks

* docs(progress): replace class component with hooks

* docs(rate): replace class component with hooks

* docs(radio): replace class component with hooks

* docs: jsx to TS demo

* test: improve Select test case (ant-design#35633)

* docs(mentions): fix debounce demo bug (ant-design#35653)

* chore(deps-dev): bump @types/react-resizable from 1.7.4 to 3.0.0 (ant-design#35658)

Bumps [@types/react-resizable](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-resizable) from 1.7.4 to 3.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-resizable)

---
updated-dependencies:
- dependency-name: "@types/react-resizable"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* test: refactor test cases of Timeline with testing library (ant-design#35654)

* test: refactor test cases of TimeLine

* fix: lint errors

* chore(deps-dev): bump react-intl from 5.25.1 to 6.0.1 (ant-design#35659)

Bumps [react-intl](https://github.com/formatjs/formatjs) from 5.25.1 to 6.0.1.
- [Release notes](https://github.com/formatjs/formatjs/releases)
- [Commits](https://github.com/formatjs/formatjs/compare/react-intl@5.25.1...react-intl@6.0.1)

---
updated-dependencies:
- dependency-name: react-intl
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: fix cheerio for enzyme fix (ant-design#35666)

* docs: 4.20.6 changelog (ant-design#35671)

* docs: 4.20.6 changelog

* docs: fix build

* test: Update snapshot

* refactor: align with popover (ant-design#35676)

* chore: short auto merge time

* chore: update issue check mirror (ant-design#35680)

* fix: division in less for Segmented (ant-design#35701)

* fix: division in less for Segmented

* fix: update

* chore: increase bundle size (ant-design#35709)

* docs: fix mistype (ant-design#35714)

* docs: update demo code (ant-design#35695)

* docs: update demo code

* chore: increase bundle size

* Revert "chore: increase bundle size"

This reverts commit 1c75e5a.

* fix: drawer can not ref form instance when open (ant-design#35706)

* fix: drawer can not ref form instance when open

* fix: test

* feat: div ref

* feat: test

* feat: test

* feat: test

* feat: test

* chore: lock stylelint (ant-design#35725)

* fix: Popover arrow style (ant-design#35717)

* feat: config provider support componentDisabled (ant-design#35718)

* feat: config provider support componentDisable

* test: update snapshot

* docs: update

* chore: code

* docs: componentDisabled version (ant-design#35730)

* test: Replace alert part test with testing lib (ant-design#35736)

Co-authored-by: chenkan1 <chenkan1@huya.com>

* chore(deps-dev): bump typescript from 4.6.4 to 4.7.2 (ant-design#35737)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.6.4 to 4.7.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v4.6.4...v4.7.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* docs(select): fix type  (ant-design#35726)

* fix: demo ts type

* mend

* Update select-users.md

* chore: move `@types/qs` from deps to devDeps (ant-design#35747)

* feat: Config provider pagination showSizeChanger (ant-design#35750)

* feat: support showSizeChanger

* test: test case

* fix: the ts wrong of card inteface (ant-design#35753)

* fix: the ts wrong of card inteface

* fix: add export cardproprs

* feat: add card type test

* docs(👍): update recommendation (ant-design#35758)

* docs: update recommendation

* Update recommendation.en-US.md

* docs: fix skeleton demo (ant-design#35760)

* refactor: Collapse replace expandIconPosition with logical position (ant-design#35770)

* refactor: change collapse to logic position

* test: Update snapshot

* chore: force trigger CI

* ci: use jest shard (ant-design#35622)

* refactor: bump rc-collapse to stable dom (ant-design#35781)

* chore: bump rc-collapse to stable dom

* chore: clean up

* test: Replace card component test with testing lib (ant-design#35751)

* test: Replace card component test with testing lib

* test: update the snapshot

* docs: add note to custom BackTop demo (ant-design#35625)

* docs: add note to custom BackTop demo

* Apply suggestions from code review

Co-authored-by: afc163 <afc163@gmail.com>

* test: lock eslint-plugin-jest version for false positive

jest-community/eslint-plugin-jest#1128

* test: move test cases to @testing/library for Tabs (ant-design#35796)

* chore(deps): update dependency eslint-plugin-jest to ~26.4.0 (ant-design#35801)

* chore(deps): update dependency eslint-plugin-jest to ~26.4.0

* Update package.json

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>

* test: move test cases to @testing/library for Image (ant-design#35806)

* docs: changelog for 4.20.7 (ant-design#35804)

* docs: changelog for 4.20.7

* chore: bump version to 4.20.7

* docs: update changelog

* refactor: Fix Dropdown nesting menu injection logic (ant-design#35810)

* refactor: Dependency Inversion

* test: update snapshot

* test: Update snapshot

* test: more

* fix: table dropdown logic

* fix: menu lint

* chore: upgrade to jest-image-snapshot 5.x (ant-design#35818)

* test: move test cases to @testing/library for Modal (ant-design#35785)

* test: move test cases to @testing/library for Modal

* update

* fix: test

* test: add test case for mouse position

* chore: revert

* fix: Progress type="line" strokeLinecap (ant-design#35822)

* docs: fix typo of Menu items code example (ant-design#35832)

* test: move test cases to @testing/library for Drawer (ant-design#35839)

* perf: active skeleton animated with transform (ant-design#35836)

* active skeleton animated with transform

* properties order fixed

* properties order fixed

* properties order fixed

Co-authored-by: afc163 <afc163@gmail.com>

* style: tweak Skeleton margin top style (ant-design#35848)

* docs: update FAQ titles

* test: move test cases to @testing/library for List (ant-design#35850)

* chore: bump rc-dialog & update snapshot

* fix: set jest shard to 2 (ant-design#35831)

* fix: drawer close twice children is undefined (ant-design#35853)

* fix: drawer close twice children is undefined

* fix: drawer close twice children is undefined

* chore: code

* fix: test

* test: update snapshot

* fix: remove extraneous space from rc-segmented version (ant-design#35863)

The extra spaces confuses third-party tooling

* feat: Progress steps support custom strokeColor for each step (ant-design#35855)

* feat: <Progress steps /> could accept string[] as strokeColor

close ant-design#35852
close ant-design#26858

* fix: tsx demo

* docs: add version column

* chore: stlye patch of statistic (ant-design#35874)

* chore: stlye patch of statistic

* test: Udpate snapshot

* test: replace Input part test with test lib (ant-design#35754)

* test: replace Input part test with test lib

* test: test input case

* test: update textarea case

Co-authored-by: z1399 <zhenggq@dtdream.com>
Co-authored-by: afc163 <afc163@gmail.com>

* refactor: pagination mini className (ant-design#35881)

* refactor: pagination mini cls

* test: update snapshot

* test: update snapshot

* chore: code clean

* chore: code clean

* test: update snapshot

* test: update snapshot

* refactor: Wave in React 18 StrictMode (ant-design#35889)

* feat: tabs support popupClassName (ant-design#35892)

* feat: tabs support popupClassName

* docs: update

* fix:border-style for inputNumber addon when rtl (ant-design#35876)

* chore(deps): update dependency @types/jest to v28 (ant-design#35907)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* ci: fix typo

* fix: 类型“FormListFieldData”上不存在属性“fieldKey”。(ant-design#35883) (ant-design#35884)

* fix: 类型“FormListFieldData”上不存在属性“fieldKey”。(ant-design#35883)

* add deprecated tag to fieldKey

* add changelog

* Revert "add changelog"

This reverts commit 2cc174f.

* chore: update changelog script (ant-design#35916)

* docs: add typography format version

* fix: remove important in radio style (ant-design#35920)

* fix: remove important in radio style

* chore: code clean

* docs: correct types (ant-design#35919)

* docs: correct types

* ++

Co-authored-by: afc163 <afc163@gmail.com>

* test: migrate part of Button tests (ant-design#35869)

* test: migrate part of Affix tests (ant-design#35860)

* docs: add changelog 4.21.0 (ant-design#35915)

* docs: add changelog 4.21.0

* Update CHANGELOG.en-US.md

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: Amumu <yoyo837@hotmail.com>

* docs: add

* Update CHANGELOG.en-US.md

* docs: fix

* docs: add

* docs: update

* docs: fix

* docs: remove 35407

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Feat: support 'treeExpandAction' prop for TreeSelect (ant-design#35618)

* Feat: support 'treeExpandAction' prop for TreeSelect

* chore: bump rc-tree

* chore: fix lint

* fix: fix directory tree duplicate expandAction

* fix: fix directory tree duplicate expandAction

* fix: fix directory tree duplicate expandAction

* chore: add docs

Co-authored-by: zombiej <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>

* chore: bump bundle size of babel runtime

* docs: Update 4.21.0 changelog

* docs: fix tree demo (ant-design#35927)

* fix: Form.Item noStyle should not be affected by parent Form.Item (ant-design#35849)

* fix: Form.Item noStyle should not be affected by parent Form.Item

* test: update snapshot

* fix: status

* chore: code clean

* fix: modal and drawer

* test: fix lint

* chore: code clean

* refactor: noFormStyle

* chore: code clean

* revert: revert change in Form.Item

* chore: code clean

* test: replace test case with test library (ant-design#35925)

* test: replace test case with test library

* test: replace test case with test library

* test: update snapshots

* docs: clean up useless space

* test: refactor tree with testing lib (ant-design#35937)

* test: tree test

* test: clean up

* chore: bump rc-tree

* test: Update snapshot

* test: Update for react 18

* test: move test cases to testing lib (ant-design#35909)

* test: move test cases to testing lib (ant-design#35900)

* fix: menu items typings (ant-design#35790)

* Fix menu items typings

* add test case for menu item type checking

* fix: cubic-bezier should be animation-timing-function (ant-design#35943)

* chore: upgrade react-slick to 0.29.1 (ant-design#35959)

* chore: upgrade react-slick to 0.29.0

* Update package.json

* chore: fix code (ant-design#35949)

* Fix color generation for grey colors (ant-design#35954)

Co-authored-by: afc163 <afc163@gmail.com>

* test: move test cases to @testing/library for Typography (ant-design#35955)

* test: move test cases to @testing/library for Typography

* fix: waitFor for tooltip test

* fix: sleep to wait copy hide

* test: refactor focus test

* chore: Update it_IT.tsx (ant-design#35970)

Fix italian translation for Table.cancelSort key

* docs: Segmented API type (ant-design#35974)

* Update index.en-US.md

* Update index.zh-CN.md

* chore: fix typo

* chore: bump rc-dialog version (ant-design#35969)

* chore: bump rc-dialog version

* chore: trigger

* chore: trigger

* docs: RM peer conflict demo

* chore: bump deps version

* chore: bump ver

* chore: bump

* chore: bump

* chore: test

* chore: rm peer

* chore: clean all peer

* chor: bump rc-image

* fix: Button has no disabled style when link type (ant-design#35975)

Co-authored-by: MadCcc <1075746765@qq.com>

* fix: `DropdownProps` definition (ant-design#35990)

Co-authored-by: jhonebee <zhangjin19960908@gamil.com>
Co-authored-by: MadCcc <1075746765@qq.com>

* chore(deps-dev): bump stylelint from 14.8.3 to 14.9.0 (ant-design#35998)

Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.8.3 to 14.9.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](stylelint/stylelint@14.8.3...14.9.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: update ts config (ant-design#36000)

* fix: Fixed the getContainer property in Image not reading the settings in ConfigProvider (ant-design#36002)

* fix: 35942

* test: 添加测试用例

* fix:

* fix:

* fix: missing semicolon (ant-design#36008)

* Update package.json

* docs: fix onChange description repeated twice (ant-design#36013)

* chore(deps): update dependency stylelint-config-standard to v26 (ant-design#36017)

* chore(deps): update dependency stylelint-config-standard to v26

* chore: ignore selector-not-notation rule

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>

* test: move test cases to testing lib for Statistic (ant-design#36019)

Co-authored-by: afc163 <afc163@gmail.com>

* test: replace Table part test with test lib (ant-design#35989)

* test: replace Table part test with test lib

* test: replace table test with test library

* test: update snapshot

* test: replace last mount

* test: fix 18 testing

Co-authored-by: zombiej <smith3816@gmail.com>

* docs: add changelog 4.21.1 (ant-design#36022)

* docs: title is no loger supported by SubMenuType (ant-design#36037)

* docs: fix menu API table (ant-design#36043)

* docs: fix menu API table

* Update index.en-US.md

* docs: fix demos (ant-design#36040)

* docs: fix demos

* ++

* fix: fix incorrect form status with noStyle (ant-design#36054)

* fix: form status

* test: update test case

* docs: 4.21.2 (ant-design#36055)

* test: improve test cases for Statistic (ant-design#36034)

* test: move test cases to testing lib for Badge (ant-design#36033)

* fix:when props.value is not undefined, can't reset value and focus (ant-design#34728)

* fix: when props.value is not undefined, can't reset value and focus

* test: add test case

Co-authored-by: MadCcc <1075746765@qq.com>

* test: move test cases to @testing/library for Upload (ant-design#36024)

* test: move test cases to @testing/library for Upload

* refactor: use jest.fn to replace done logic

* test: sample of moving test to testing lib

* test: check for 17

* refactor: manual control timer for React18

* refactor: animateEnd for useless middle state snapshot for 'handle error'

Co-authored-by: zombiej <smith3816@gmail.com>

* fix: exporting Rule, FormListFieldData, FormListOperation from form (ant-design#34735)

* fix: exporting RefSelectProps from select (ant-design#34732)

* fix: Typescript - Tree component DirectoryTreeProps, missing Node Type (ant-design#36092)

* fix: edit DirectoryTreeProps

* test: add DirectoryTree type test

* fix: edit type

Co-authored-by: JaylanChen <JaylanChen@126.com>

* fix: Table customize filterDropdown with Menu should not block default selectable (ant-design#36098)

* fix: Table customize Menu should be selectable

* test: Add test case

* test: Update snapshow

* test: change to fakeTimer when error happens sometimes (ant-design#36102)

* docs(:sparkles:): release 4.21.3 (ant-design#36105)

* docs: add locale link in Calender (ant-design#36108)

close ant-design#36107 (comment)

* fix: exporting UploadFile from upload (ant-design#34733)

* fix: Skeleton active style in dark theme (ant-design#36116)

close ant-design#36114

* fix: Table multiple dropdown not closed (ant-design#36132)

* fix: Table dropdown can not close

* test: Test case

* test: cov

* chore: bump rc-util

* chore: reorder

* chore: bump rc-util

* chore: rm test

* chore: clean up

* fix: component.displayName To distinguish the environment (ant-design#36126)

Co-authored-by: afc163 <afc163@gmail.com>

* fix: repeat a css class in readOnly, which has been declared in rc-input-number (ant-design#36120)

Co-authored-by: afc163 <afc163@gmail.com>

* chore(deps): update dependency inquirer to v9 (ant-design#36121)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>

* chore(deps-dev): bump jsdom from 19.0.0 to 20.0.0 (ant-design#36133)

Bumps [jsdom](https://github.com/jsdom/jsdom) from 19.0.0 to 20.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](jsdom/jsdom@19.0.0...20.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>

* docs(Input): add proper type for `inputRef` (ant-design#36135)

* docs(Input): add proper type for `inputRef`

* docs: use `InputRef` instead of `ElementRef`

Co-authored-by: afc163 <afc163@gmail.com>

* style: enlarge draggable area for Slider handle (ant-design#36018)

* active skeleton animated with transform

* properties order fixed

* properties order fixed

* properties order fixed

* bigger dragable area for slider handle

* Update components/slider/style/index.less

Co-authored-by: afc163 <afc163@gmail.com>

* Update index.less

6px

Co-authored-by: afc163 <afc163@gmail.com>

* docs: update demo code (ant-design#36127) (ant-design#36143)

* fix: Dropdown with group menu can not close (ant-design#36148)

* test: test driven

* fix: Dropdown with Menu list group

* style: Code style optimization (ant-design#36144)

* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: Remove methed of Array push (ant-design#36157)

* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: fix Button loading icon margin issue (ant-design#36168)

* style: fix Button loading icon margin issue

* test: update snapshot

* test: fix tsx demo error

* chore: prettier components (ant-design#36171)

* test: replace pagination test with test-library (ant-design#36178)

* refactor: performance optimization (ant-design#36177)

* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: code style optimization

* fix: Code style optimization

* style: format

* Corrected grammar in comment in hooks.md (ant-design#36185)

* Fix breaks (ant-design#36186)

* Added type assertion so function no longer returns any/unknown

* Add type constraint since Object.keys is called on this value

* chore: fix Menu deprecated warning when item={undefined} (ant-design#36190)

* fix: type incompatibility in strict mode (ant-design#36189)

* fix: type incompatibility

* fix: type

* fix: Reset the last selection key (ant-design#34705)

* fix: reset last selection key

* reset last selection key when deselect

* fix: add test case

* fix: remove unused code

* fix: enzyme bug

* fix: update test

* styles: remove empty line

* fix: lint error

* test: migrate to testing-libary

* fix: xxx.simulate is not a function

* fix: lint error

* fix: use wrong

* fix: solved test not work

Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>

* fix: Upload listType="picture-card" select button when children is empty (ant-design#36196)

* fix: Upload listType="picture-card" select button should be hidden when children is empty

close ant-design#36183

* test: fix test case

* perf: unify regeneratorRuntime import path for bundle size (ant-design#36200)

* perf: unify regeneratorRuntime import path for bundle size

close ant-design#36198

* Update package.json

* Docs:  FAQ add explanation of null in controlled components. (ant-design#36082)

* docs: fix Chinese language grammar mistake in FAQ

* docs: FAQ add explanation of null in controlled components

* docs: update null in controlled components FAQ

* docs: update null in controlled components FAQ (add lost word)

* docs: null in controlled components FAQ optimization

* docs: FAQ add explanation of null in controlled components (English)

* docs: update faq docs

* docs: update faq docs(chinese)

* docs: optimize faq docs

* Update faq.en-US.md

* Update faq.en-US.md

* Update faq.en-US.md

* Update faq.zh-CN.md

* Update faq.en-US.md

Co-authored-by: shezhangzhang <chenkan@ChenKan-Mac.local>
Co-authored-by: MadCcc <1075746765@qq.com>

* chore: bump rc-util (ant-design#36210)

* fix: nested Table margin style (ant-design#36209)

* fix: nested Table margin style

* fix: tsx demo

* test: update snapshot

* style: fix Table expand icon align issue (ant-design#36215)

* docs: fix English FAQ title (ant-design#36222)

* docs: update valueStyle description (ant-design#36226)

close ant-design#36219

* chore: fix eslint warning and bisheng terminal log (ant-design#36220)

* chore: fix eslint warning

* chore: fix bisheng log

* Update basic.md

* docs: update Tabs demo code (ant-design#36217)

* docs:update demo code

* docs: update Tabs demo code

* docs: update Tabs demo code

* chore(deps-dev): bump @types/jest-image-snapshot from 4.3.2 to 5.1.0 (ant-design#36229)

Bumps [@types/jest-image-snapshot](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest-image-snapshot) from 4.3.2 to 5.1.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest-image-snapshot)

---
updated-dependencies:
- dependency-name: "@types/jest-image-snapshot"
  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(deps): update dependency remark-cli to v11 (ant-design#36237)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: dev config (ant-design#36240)

* fix: popover arrow support custom color (ant-design#36241)

* refactor: wrap Wave with FC (ant-design#36248)

* refactor: wrap Wave with FC

* test: update test case

* docs: add 4.21.4 changelog (ant-design#36246)

* docs: add 4.21.4 changelog

* fix

* reset

* chore(deps-dev): bump cheerio from 1.0.0-rc.10 to 1.0.0-rc.12 (ant-design#36255)

Bumps [cheerio](https://github.com/cheeriojs/cheerio) from 1.0.0-rc.10 to 1.0.0-rc.12.
- [Release notes](https://github.com/cheeriojs/cheerio/releases)
- [Changelog](https://github.com/cheeriojs/cheerio/blob/main/History.md)
- [Commits](cheeriojs/cheerio@v1.0.0-rc.10...v1.0.0-rc.12)

---
updated-dependencies:
- dependency-name: cheerio
  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>

* chore: update Belarusian locale (ant-design#36265)

* Edited Belarusian locale:
 - Added missed entries
 - Fixed some mistakes

* test: update snapshot

Co-authored-by: Aliaksiej Razumaŭ <belarusaed@gmail.com>

* docs: update English sketch file link (ant-design#36269)

* docs: English sketch file links from communicatity

* Update resources.en-US.md

* style(Divider): replace fixed class name with variable (ant-design#36271)

* test: replace test case with test lib (ant-design#36276)

* style: fix Table shadow bug in nested situation (ant-design#36277)

close ant-design#36203

* test: Fix table empty test (ant-design#36290)

* chore: reduce css bundle size (ant-design#36307)

* fix: arrow compatibility (ant-design#36266)

* fix: arrow campatibility

* chore: code clean

* chore: rm useless style

* chore: code clean

* fix: use inset

* chore: bundlesize optimization

* chore: rm useless style

* chore: rm useless style

* fix: Fixed an error when the loading property of the Button component… (ant-design#36288)

* fix: Fixed an error when the loading property of the Button component was passed into null

* Update components/button/button.tsx

Obviously, this suggestion is more concise , thanks a lot

Co-authored-by: afc163 <afc163@gmail.com>

* Update components/button/button.tsx

* Update components/button/button.tsx

Co-authored-by: kejianfeng <kejianfeng@cvte.com>
Co-authored-by: afc163 <afc163@gmail.com>

* test: move test cases to testing lib for Spin (ant-design#36317)

* test: move test cases to testing lib for Spin

* fix: types

* fix: lint

* test: move test cases to testing lib for Switch (ant-design#36326)

* add

* test: wave

* fix: type

* test: update snapshot (ant-design#36344)

* test: update snapshot

* test: update snapshot

* fix: checkbox should be disabled by form (ant-design#36345)

* fix: checkbox should be disabled by form

* chore: code clean

* test: update snapshot

* chore: snapshot

* test: move test cases to @testing/library for Carousel (ant-design#35926)

* test: move test cases to @testing/library for Carousel

* fix: wait for animation

* test: replace layout test case with test lib (ant-design#36323)

* test: replace layout test case with test lib

* test: fix react 18

* test: clean up

Co-authored-by: zombiej <smith3816@gmail.com>

* docs: v4.21.5 (ant-design#36353)

* docs: v4.21.5

* chore: add try time

* chore: update changelog

* chore(deps): update dependency eslint-plugin-unicorn to v43 (ant-design#36350)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* style: Radio focus shadow should be transparency (ant-design#36335)

* fix: ErrorList shaking (ant-design#36358)

* fix: ErrorList shaking

* fix: React 18 test case

* docs: replace lib with es (ant-design#36367)

* fix: Table hover perf (ant-design#36383)

* fix: correct border radius when table has title (ant-design#36384)

* style: fix size of close icon on Modal header (ant-design#36309)

* fix: update default.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: update variable.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: update compact.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* Update index.en-US.md (ant-design#36400)

Fixed a typo

* docs: fix customize calendar example (ant-design#36356)

* docs: fix customize calendar example

* test: changed calendar snapshot

Co-authored-by: lico <lico@licoui-MacBookPro.local>

* docs(Typography): translate docs from English to Chinese (ant-design#36417)

* fix: fix table container z-index (ant-design#36420)

* fix: fix wrong color of date picker with status set (ant-design#35685)

* fix: fix wrong color of date picker with status set

* Update status.less

Co-authored-by: afc163 <afc163@gmail.com>

* feat: Update Doc (ant-design#36437)

Co-authored-by: meng.jia <meng.jia@ly.com>

* docs(Typography): fix `editable.onChange` parameter (ant-design#36443)

* fix: Upload item removed should keep status className (ant-design#36439)

* fix: Upload item removed should keep status className

* add test case

* test: fix act warning

* revert act test

* test: update snapshot

* docs: fix typo (ant-design#36450)

面包屑部分, "是"应该改为"时"

* fix: breadcrumb seperators hidden when used in list (ant-design#36448)

* style: fix Skeleton active lost border-radius in Safari (ant-design#36445)

* style: fix Skeleton active lost border-radius in Safari

* perf: reduce skeleton css bundle size

* chore: fix bundle size limit

* chore: fix active typing

* docs: 4.21.6 changelog (ant-design#36455)

* feat: Add support to Skeleton, which allow deployer use custom node as prop. (ant-design#36441)

* feat: Skeleton component supports for custom node

* fix: Clear redundant code

* refactor: Remove changes in package.json

* test: Update the snapshot of Skeleton demo

* Update components/skeleton/demo/element.md

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>

* docs: fix typo (ant-design#36457)

fix typo in useWatch.md

* docs: update index.zh-CN.md (ant-design#36471)

去掉文案描述中多的标点

* docs: moment version mismatched issue (ant-design#36473)

ant-design#36465 (comment)

* chore: bump mentions (ant-design#36479)

* fix: Select with percent width leaves unexpected height in Form (ant-design#36484)

* ci: add conch msg (ant-design#36481)

* ci: add conch msg

* Update release-helper.yml

* fix: tooltip cannot close on disabled Radio (ant-design#36483)

* fix: tooltip cannot close on disabled Radio

* test: add test

* ci: split notice (ant-design#36495)

* style: Table expandIcon style when column is fixed and ellipsis (ant-design#36496)

close ant-design#36485

* docs: simplified `Layout` component sample code (ant-design#36497)

the component example code expands to take up the entire monitor screen and is not well read

* chore: bump rc-tooltip (ant-design#36501)

* fix: SVG Upload Preview Error (ant-design#36402)

* Update utils.tsx

* style: unify img styling

Unify the styling  of img attribute setting.

* test: add previewImage test for svg file

Add previewImage test for SVG upload

* fix: remove charset

Remove charset in data url for text content.

* test: fix test

* fix: typo

* fix: correct patching for svg upload error

* fix: correct patching for svg upload error

* test: update test

* fix: fixed the non draggable element did not hide the draggable icon (ant-design#36511)

fix ant-design#33708

* docs: update select documentation

* refactor: move popconfirm content out (ant-design#36530)

* refactor: move popconfirm content out

* fix: lint

* test: update snapshot

* chore: update .gitignore (ant-design#36534)

* add Modal @modal-border-radius less variable (ant-design#36527)

* add Modal @modal-border-radius less variable

* fix:  add less variable

* chore(deps): update dependency eslint-plugin-markdown to v3 (ant-design#36560)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: form disabeld support Upload (ant-design#36573)

Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>

* docs: changelog for 4.21.7 (ant-design#36572)

* docs: changelog for 4.21.7

* chore: bump version to 4.21.7

* docs: update changelog

* docs: append a new changelog

* ci: fix publish (ant-design#36580)

* docs: menu faq (ant-design#36604)

* docs: menu faq

* docs: patch codesandbox

* style: fix Table tree data ellipsis style problem (ant-design#36608)

close ant-design#36583

* style: fix Table extra shadow and scrollbar when all columns are fixed

Co-authored-by: weiwang <wren@xuncetech.com>

* feat: Replace input-number part test with testing lib (ant-design#36080)

* feat: Replace input-number part test with testing lib

* feat: update rc-input-number version

* test: move test cases to testing lib for Collapse (ant-design#36227)

* test: move test cases to testing lib for Collapse

* chore: remove useless file

* fix: react 18 concurrent

* chore: remove useless file

* docs: tabpane add `disabled` (ant-design#36634)

close ant-design#36610

* docs: faq for internal API (ant-design#36643)

* fix(Tree): DraggableFn params type (ant-design#36648)

* fix(Tree): DraggableFn params type

* chore: add blank line

* test: add typ test for draggable Fn

* test: add typ test for draggable Fn

Co-authored-by: tianyuan233 <zty.dev@outlook.com>

* fix(modal):  Modal.xxx onCancel close argument is not a function  (ant-design#36600)

* fix(modal):  fix the error of `onCancel` parameter of modal returned by `useModal`

resolve: 36581

ref: ant-design#36581 (comment)

* test(confirm): 补充 modal 测试用例

* test(modal): 添加测试用例

* Revert "fix(modal):  fix the error of `onCancel` parameter of modal returned by `useModal`"

This reverts commit e4fcb3e.

* fix(modal): fix modal onOk/onCancel method is not a valid function when there is a close parameter

closed: ant-design#36581

* chore: cancel the introduction of `noop` from third-party library

* chore: write React.ChangeEvent<E> once (ant-design#36644)

* docs: renew Select dropdownRender demo and FAQ  (ant-design#36665)

* docs: renew Select dropdownRender FAQ and demo

* chore: update snapshot

* chore: fix Select demo tsc

* chore: fix Select demo tsc

* test: move-test-cases-to-testing-lib-for-Radio (ant-design#36664)

* test: move-test-cases-to-testing-lib-for-Radio

* update toMatchSnapshot

Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>

Co-authored-by: dingkang <dingkang0458@gmail.com>
Co-authored-by: 黑雨 <wangning4567@163.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zack Chang <73225408+jrr997@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: vagusX <vagusX@users.noreply.github.com>
Co-authored-by: Niyaz Akhmetov <axmet180@gmail.com>
Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
Co-authored-by: 社长长 <ischenkan@outlook.com>
Co-authored-by: chenkan1 <chenkan1@huya.com>
Co-authored-by: zhao-huo-long <lijiuyi1995@outlook.com>
Co-authored-by: Cong Zhang <dancerphil1994@gmail.com>
Co-authored-by: Long Hao (龙濠) <45565100+LongHaoo@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Gabriel Haruki <gabrielharukisatoh@gmail.com>
Co-authored-by: yykoypj <601924094@qq.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Peach <scdzwyxst@gmail.com>
Co-authored-by: Yuki Zhang <foryuki@outlook.com>
Co-authored-by: MrHadEnough <mrhadenough@users.noreply.github.com>
Co-authored-by: slotDumpling <67586451+slotDumpling@users.noreply.github.com>
Co-authored-by: Mehdi Salem Naraghi <momesana@gmail.com>
Co-authored-by: 郑国庆 <zhengshuai1993816@163.com>
Co-authored-by: z1399 <zhenggq@dtdream.com>
Co-authored-by: Luobo Zhang <zhang.pc3@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: chenxiang <597219320@qq.com>
Co-authored-by: 元凛 <xrkffgg@vip.qq.com>
Co-authored-by: kalykun <984757534@qq.com>
Co-authored-by: Shang Song <14830727+zggmd@users.noreply.github.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: Heaven <18418010+NE-SmallTown@users.noreply.github.com>
Co-authored-by: MasaoBlue <16271994+MasaoBlue@users.noreply.github.com>
Co-authored-by: 龙风 <455947455@qq.com>
Co-authored-by: Christian Lechner <6638938+christian-lechner@users.noreply.github.com>
Co-authored-by: Umberto Gariggio <gariggio@gmail.com>
Co-authored-by: XIN HU <hoosin.git@gmail.com>
Co-authored-by: muxin <a2944938071@163.com>
Co-authored-by: 苯苯 <91561865+robothot@users.noreply.github.com>
Co-authored-by: jhonebee <zhangjin19960908@gamil.com>
Co-authored-by: Taisuke Hinata <hinatades@users.noreply.github.com>
Co-authored-by: csr632 <632882184@qq.com>
Co-authored-by: Humble <745653239@qq.com>
Co-authored-by: zhang lay <lay.zhang@shopee.com>
Co-authored-by: C. T. Lin <chentsulin@gmail.com>
Co-authored-by: Jaylan <JaylanChen@users.noreply.github.com>
Co-authored-by: JaylanChen <JaylanChen@126.com>
Co-authored-by: RainyLiao <90637572+RainyLiao@users.noreply.github.com>
Co-authored-by: Dennis Chen <dennisc695@icloud.com>
Co-authored-by: pfsu <wellssu0@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: Andrew Horn <arhorn@smcm.edu>
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
Co-authored-by: Dunqing <dengqing0821@gmail.com>
Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
Co-authored-by: shezhangzhang <chenkan@ChenKan-Mac.local>
Co-authored-by: Tianyuan Zhang <tianyuan233.zhang@gmail.com>
Co-authored-by: 陈帅 <qixian.cs@outlook.com>
Co-authored-by: Aliaksiej Razumaŭ <belarusaed@gmail.com>
Co-authored-by: Alan Deng <alanhaledc@gmail.com>
Co-authored-by: Jamki <13414367591@163.com>
Co-authored-by: kejianfeng <kejianfeng@cvte.com>
Co-authored-by: Yunwoo Ji <unu12073@gmail.com>
Co-authored-by: Chang Wei <changwei1006@gmail.com>
Co-authored-by: Kirill Barsukov <43782731+KirillSBarsukov@users.noreply.github.com>
Co-authored-by: hsk-kr <57546034+hsk-kr@users.noreply.github.com>
Co-authored-by: lico <lico@licoui-MacBookPro.local>
Co-authored-by: 舜岳 <1277952981@qq.com>
Co-authored-by: simplejason <simplejason.coder@gmail.com>
Co-authored-by: NinJa <386805508@qq.com>
Co-authored-by: meng.jia <meng.jia@ly.com>
Co-authored-by: 王小王 <wsp971@163.com>
Co-authored-by: Leon Kattendick <75811671+LeonKattendick@users.noreply.github.com>
Co-authored-by: Dawnlck <chaokai.lck@antgroup.com>
Co-authored-by: Sg <suica@users.noreply.github.com>
Co-authored-by: bobo <625391250@qq.com>
Co-authored-by: Wuxh <wxh16144@qq.com>
Co-authored-by: Jon <31494475+jonioni@users.noreply.github.com>
Co-authored-by: Wuxh <wxh1220@gmail.com>
Co-authored-by: Neil <100huming@gmail.com>
Co-authored-by: fairyland <cwjTerrace@163.com>
Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>
Co-authored-by: dashaowang <40166750+dashaowang@users.noreply.github.com>
Co-authored-by: weiwang <wren@xuncetech.com>
Co-authored-by: tianyuan233 <zty.dev@outlook.com>
Co-authored-by: Zheeeng <hi@zheeeng.me>
ytftianwen pushed a commit to infra-fe/infra-design that referenced this issue Aug 8, 2022
* docs: update FAQ titles

* test: move test cases to @testing/library for List (ant-design#35850)

* chore: bump rc-dialog & update snapshot

* fix: set jest shard to 2 (ant-design#35831)

* fix: drawer close twice children is undefined (ant-design#35853)

* fix: drawer close twice children is undefined

* fix: drawer close twice children is undefined

* chore: code

* fix: test

* test: update snapshot

* fix: remove extraneous space from rc-segmented version (ant-design#35863)

The extra spaces confuses third-party tooling

* feat: Progress steps support custom strokeColor for each step (ant-design#35855)

* feat: <Progress steps /> could accept string[] as strokeColor

close ant-design#35852
close ant-design#26858

* fix: tsx demo

* docs: add version column

* chore: stlye patch of statistic (ant-design#35874)

* chore: stlye patch of statistic

* test: Udpate snapshot

* test: replace Input part test with test lib (ant-design#35754)

* test: replace Input part test with test lib

* test: test input case

* test: update textarea case

Co-authored-by: z1399 <zhenggq@dtdream.com>
Co-authored-by: afc163 <afc163@gmail.com>

* refactor: pagination mini className (ant-design#35881)

* refactor: pagination mini cls

* test: update snapshot

* test: update snapshot

* chore: code clean

* chore: code clean

* test: update snapshot

* test: update snapshot

* refactor: Wave in React 18 StrictMode (ant-design#35889)

* feat: tabs support popupClassName (ant-design#35892)

* feat: tabs support popupClassName

* docs: update

* fix:border-style for inputNumber addon when rtl (ant-design#35876)

* chore(deps): update dependency @types/jest to v28 (ant-design#35907)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* ci: fix typo

* fix: 类型“FormListFieldData”上不存在属性“fieldKey”。(ant-design#35883) (ant-design#35884)

* fix: 类型“FormListFieldData”上不存在属性“fieldKey”。(ant-design#35883)

* add deprecated tag to fieldKey

* add changelog

* Revert "add changelog"

This reverts commit 2cc174f.

* chore: update changelog script (ant-design#35916)

* docs: add typography format version

* fix: remove important in radio style (ant-design#35920)

* fix: remove important in radio style

* chore: code clean

* docs: correct types (ant-design#35919)

* docs: correct types

* ++

Co-authored-by: afc163 <afc163@gmail.com>

* test: migrate part of Button tests (ant-design#35869)

* test: migrate part of Affix tests (ant-design#35860)

* docs: add changelog 4.21.0 (ant-design#35915)

* docs: add changelog 4.21.0

* Update CHANGELOG.en-US.md

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Update CHANGELOG.zh-CN.md

Co-authored-by: Amumu <yoyo837@hotmail.com>

* docs: add

* Update CHANGELOG.en-US.md

* docs: fix

* docs: add

* docs: update

* docs: fix

* docs: remove 35407

Co-authored-by: Amumu <yoyo837@hotmail.com>

* Feat: support 'treeExpandAction' prop for TreeSelect (ant-design#35618)

* Feat: support 'treeExpandAction' prop for TreeSelect

* chore: bump rc-tree

* chore: fix lint

* fix: fix directory tree duplicate expandAction

* fix: fix directory tree duplicate expandAction

* fix: fix directory tree duplicate expandAction

* chore: add docs

Co-authored-by: zombiej <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>

* chore: bump bundle size of babel runtime

* docs: Update 4.21.0 changelog

* docs: fix tree demo (ant-design#35927)

* fix: Form.Item noStyle should not be affected by parent Form.Item (ant-design#35849)

* fix: Form.Item noStyle should not be affected by parent Form.Item

* test: update snapshot

* fix: status

* chore: code clean

* fix: modal and drawer

* test: fix lint

* chore: code clean

* refactor: noFormStyle

* chore: code clean

* revert: revert change in Form.Item

* chore: code clean

* test: replace test case with test library (ant-design#35925)

* test: replace test case with test library

* test: replace test case with test library

* test: update snapshots

* docs: clean up useless space

* test: refactor tree with testing lib (ant-design#35937)

* test: tree test

* test: clean up

* chore: bump rc-tree

* test: Update snapshot

* test: Update for react 18

* test: move test cases to testing lib (ant-design#35909)

* test: move test cases to testing lib (ant-design#35900)

* fix: menu items typings (ant-design#35790)

* Fix menu items typings

* add test case for menu item type checking

* fix: cubic-bezier should be animation-timing-function (ant-design#35943)

* chore: upgrade react-slick to 0.29.1 (ant-design#35959)

* chore: upgrade react-slick to 0.29.0

* Update package.json

* chore: fix code (ant-design#35949)

* Fix color generation for grey colors (ant-design#35954)

Co-authored-by: afc163 <afc163@gmail.com>

* test: move test cases to @testing/library for Typography (ant-design#35955)

* test: move test cases to @testing/library for Typography

* fix: waitFor for tooltip test

* fix: sleep to wait copy hide

* test: refactor focus test

* chore: Update it_IT.tsx (ant-design#35970)

Fix italian translation for Table.cancelSort key

* docs: Segmented API type (ant-design#35974)

* Update index.en-US.md

* Update index.zh-CN.md

* chore: fix typo

* chore: bump rc-dialog version (ant-design#35969)

* chore: bump rc-dialog version

* chore: trigger

* chore: trigger

* docs: RM peer conflict demo

* chore: bump deps version

* chore: bump ver

* chore: bump

* chore: bump

* chore: test

* chore: rm peer

* chore: clean all peer

* chor: bump rc-image

* fix: Button has no disabled style when link type (ant-design#35975)

Co-authored-by: MadCcc <1075746765@qq.com>

* fix: `DropdownProps` definition (ant-design#35990)

Co-authored-by: jhonebee <zhangjin19960908@gamil.com>
Co-authored-by: MadCcc <1075746765@qq.com>

* chore(deps-dev): bump stylelint from 14.8.3 to 14.9.0 (ant-design#35998)

Bumps [stylelint](https://github.com/stylelint/stylelint) from 14.8.3 to 14.9.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](stylelint/stylelint@14.8.3...14.9.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore: update ts config (ant-design#36000)

* fix: Fixed the getContainer property in Image not reading the settings in ConfigProvider (ant-design#36002)

* fix: 35942

* test: 添加测试用例

* fix:

* fix:

* fix: missing semicolon (ant-design#36008)

* Update package.json

* docs: fix onChange description repeated twice (ant-design#36013)

* chore(deps): update dependency stylelint-config-standard to v26 (ant-design#36017)

* chore(deps): update dependency stylelint-config-standard to v26

* chore: ignore selector-not-notation rule

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>

* test: move test cases to testing lib for Statistic (ant-design#36019)

Co-authored-by: afc163 <afc163@gmail.com>

* test: replace Table part test with test lib (ant-design#35989)

* test: replace Table part test with test lib

* test: replace table test with test library

* test: update snapshot

* test: replace last mount

* test: fix 18 testing

Co-authored-by: zombiej <smith3816@gmail.com>

* docs: add changelog 4.21.1 (ant-design#36022)

* docs: title is no loger supported by SubMenuType (ant-design#36037)

* docs: fix menu API table (ant-design#36043)

* docs: fix menu API table

* Update index.en-US.md

* fix: Radio.Group focus and blur should work (ant-design#36041)

* docs: fix demos (ant-design#36040)

* docs: fix demos

* ++

* fix: fix incorrect form status with noStyle (ant-design#36054)

* fix: form status

* test: update test case

* docs: 4.21.2 (ant-design#36055)

* test: improve test cases for Statistic (ant-design#36034)

* test: move test cases to testing lib for Badge (ant-design#36033)

* fix:when props.value is not undefined, can't reset value and focus (ant-design#34728)

* fix: when props.value is not undefined, can't reset value and focus

* test: add test case

Co-authored-by: MadCcc <1075746765@qq.com>

* feat: Form support `setFieldValue` (ant-design#36058)

* test: move test cases to @testing/library for Upload (ant-design#36024)

* test: move test cases to @testing/library for Upload

* refactor: use jest.fn to replace done logic

* test: sample of moving test to testing lib

* test: check for 17

* refactor: manual control timer for React18

* refactor: animateEnd for useless middle state snapshot for 'handle error'

Co-authored-by: zombiej <smith3816@gmail.com>

* fix: exporting Rule, FormListFieldData, FormListOperation from form (ant-design#34735)

* fix: exporting RefSelectProps from select (ant-design#34732)

* fix: Typescript - Tree component DirectoryTreeProps, missing Node Type (ant-design#36092)

* fix: edit DirectoryTreeProps

* test: add DirectoryTree type test

* fix: edit type

Co-authored-by: JaylanChen <JaylanChen@126.com>

* fix: Table customize filterDropdown with Menu should not block default selectable (ant-design#36098)

* fix: Table customize Menu should be selectable

* test: Add test case

* test: Update snapshow

* test: change to fakeTimer when error happens sometimes (ant-design#36102)

* docs(:sparkles:): release 4.21.3 (ant-design#36105)

* docs: add locale link in Calender (ant-design#36108)

close ant-design#36107 (comment)

* fix: exporting UploadFile from upload (ant-design#34733)

* fix: Skeleton active style in dark theme (ant-design#36116)

close ant-design#36114

* fix: Table multiple dropdown not closed (ant-design#36132)

* fix: Table dropdown can not close

* test: Test case

* test: cov

* chore: bump rc-util

* chore: reorder

* chore: bump rc-util

* chore: rm test

* chore: clean up

* fix: component.displayName To distinguish the environment (ant-design#36126)

Co-authored-by: afc163 <afc163@gmail.com>

* fix: repeat a css class in readOnly, which has been declared in rc-input-number (ant-design#36120)

Co-authored-by: afc163 <afc163@gmail.com>

* chore(deps): update dependency inquirer to v9 (ant-design#36121)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>

* chore(deps-dev): bump jsdom from 19.0.0 to 20.0.0 (ant-design#36133)

Bumps [jsdom](https://github.com/jsdom/jsdom) from 19.0.0 to 20.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](jsdom/jsdom@19.0.0...20.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>

* docs(Input): add proper type for `inputRef` (ant-design#36135)

* docs(Input): add proper type for `inputRef`

* docs: use `InputRef` instead of `ElementRef`

Co-authored-by: afc163 <afc163@gmail.com>

* style: enlarge draggable area for Slider handle (ant-design#36018)

* active skeleton animated with transform

* properties order fixed

* properties order fixed

* properties order fixed

* bigger dragable area for slider handle

* Update components/slider/style/index.less

Co-authored-by: afc163 <afc163@gmail.com>

* Update index.less

6px

Co-authored-by: afc163 <afc163@gmail.com>

* docs: update demo code (ant-design#36127) (ant-design#36143)

* fix: Dropdown with group menu can not close (ant-design#36148)

* test: test driven

* fix: Dropdown with Menu list group

* style: Code style optimization (ant-design#36144)

* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: Remove methed of Array push (ant-design#36157)

* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: fix Button loading icon margin issue (ant-design#36168)

* style: fix Button loading icon margin issue

* test: update snapshot

* test: fix tsx demo error

* chore: prettier components (ant-design#36171)

* test: replace pagination test with test-library (ant-design#36178)

* feat: add si_LK locale (ant-design#36149)

* දින තේරුම සකස් කිරීම

* චීන ප්‍රලේඛනය යාවත්කාල කිරීම

* ඉංග්‍රීසි ප්‍රලේඛනය යාවත්කාල කිරීම

* තවත් දත්ත ඇතුල් කිරීම

* දින දසුනට භාෂාව යෙදීම

* ප්‍රධාන දේශීයකරණ සංරචකය යෙදීම

* සැපයුම්කරු සඳහා ගොනුව යෙදීම

* කාලය තේරීමට අදාළ සංරචකය යෙදීම

* යෝජනාව ඇතුළු කෙරිණි

Co-authored-by: Amumu <yoyo837@hotmail.com>

* නව ඇසුරුමට වෙනස් කළා

* ගොනුව යාවත්කාල කෙරිණි

Co-authored-by: Amumu <yoyo837@hotmail.com>

* fix: fix snapshot after si_LK locale is merged (ant-design#36181)

* refactor: performance optimization (ant-design#36177)

* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: code style optimization

* fix: Code style optimization

* style: format

* Corrected grammar in comment in hooks.md (ant-design#36185)

* Fix breaks (ant-design#36186)

* Added type assertion so function no longer returns any/unknown

* Add type constraint since Object.keys is called on this value

* chore: fix Menu deprecated warning when item={undefined} (ant-design#36190)

* fix: type incompatibility in strict mode (ant-design#36189)

* fix: type incompatibility

* fix: type

* fix: Reset the last selection key (ant-design#34705)

* fix: reset last selection key

* reset last selection key when deselect

* fix: add test case

* fix: remove unused code

* fix: enzyme bug

* fix: update test

* styles: remove empty line

* fix: lint error

* test: migrate to testing-libary

* fix: xxx.simulate is not a function

* fix: lint error

* fix: use wrong

* fix: solved test not work

Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>

* fix: Upload listType="picture-card" select button when children is empty (ant-design#36196)

* fix: Upload listType="picture-card" select button should be hidden when children is empty

close ant-design#36183

* test: fix test case

* perf: unify regeneratorRuntime import path for bundle size (ant-design#36200)

* perf: unify regeneratorRuntime import path for bundle size

close ant-design#36198

* Update package.json

* Docs:  FAQ add explanation of null in controlled components. (ant-design#36082)

* docs: fix Chinese language grammar mistake in FAQ

* docs: FAQ add explanation of null in controlled components

* docs: update null in controlled components FAQ

* docs: update null in controlled components FAQ (add lost word)

* docs: null in controlled components FAQ optimization

* docs: FAQ add explanation of null in controlled components (English)

* docs: update faq docs

* docs: update faq docs(chinese)

* docs: optimize faq docs

* Update faq.en-US.md

* Update faq.en-US.md

* Update faq.en-US.md

* Update faq.zh-CN.md

* Update faq.en-US.md

Co-authored-by: shezhangzhang <chenkan@ChenKan-Mac.local>
Co-authored-by: MadCcc <1075746765@qq.com>

* chore: bump rc-util (ant-design#36210)

* fix: nested Table margin style (ant-design#36209)

* fix: nested Table margin style

* fix: tsx demo

* test: update snapshot

* style: fix Table expand icon align issue (ant-design#36215)

* style: Skeleton.Button square shape style (ant-design#36123)

* refactor: Skeleton.Button square shape style

the Button's square shape style is same as Avator's that its width is equal to height,
and the old square shape become the default shape that its width is double size to height.

* fix: `ButtonShapeType` type annotation

* docs: fix English FAQ title (ant-design#36222)

* docs: update valueStyle description (ant-design#36226)

close ant-design#36219

* chore: fix eslint warning and bisheng terminal log (ant-design#36220)

* chore: fix eslint warning

* chore: fix bisheng log

* Update basic.md

* docs: update Tabs demo code (ant-design#36217)

* docs:update demo code

* docs: update Tabs demo code

* docs: update Tabs demo code

* chore(deps-dev): bump @types/jest-image-snapshot from 4.3.2 to 5.1.0 (ant-design#36229)

Bumps [@types/jest-image-snapshot](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest-image-snapshot) from 4.3.2 to 5.1.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest-image-snapshot)

---
updated-dependencies:
- dependency-name: "@types/jest-image-snapshot"
  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(deps): update dependency remark-cli to v11 (ant-design#36237)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: dev config (ant-design#36240)

* fix: popover arrow support custom color (ant-design#36241)

* refactor: wrap Wave with FC (ant-design#36248)

* refactor: wrap Wave with FC

* test: update test case

* docs: add 4.21.4 changelog (ant-design#36246)

* docs: add 4.21.4 changelog

* fix

* reset

* chore(deps-dev): bump cheerio from 1.0.0-rc.10 to 1.0.0-rc.12 (ant-design#36255)

Bumps [cheerio](https://github.com/cheeriojs/cheerio) from 1.0.0-rc.10 to 1.0.0-rc.12.
- [Release notes](https://github.com/cheeriojs/cheerio/releases)
- [Changelog](https://github.com/cheeriojs/cheerio/blob/main/History.md)
- [Commits](cheeriojs/cheerio@v1.0.0-rc.10...v1.0.0-rc.12)

---
updated-dependencies:
- dependency-name: cheerio
  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>

* chore: update Belarusian locale (ant-design#36265)

* Edited Belarusian locale:
 - Added missed entries
 - Fixed some mistakes

* test: update snapshot

Co-authored-by: Aliaksiej Razumaŭ <belarusaed@gmail.com>

* docs: update English sketch file link (ant-design#36269)

* docs: English sketch file links from communicatity

* Update resources.en-US.md

* style(Divider): replace fixed class name with variable (ant-design#36271)

* test: replace test case with test lib (ant-design#36276)

* style: fix Table shadow bug in nested situation (ant-design#36277)

close ant-design#36203

* test: Fix table empty test (ant-design#36290)

* chore: reduce css bundle size (ant-design#36307)

* fix: arrow compatibility (ant-design#36266)

* fix: arrow campatibility

* chore: code clean

* chore: rm useless style

* chore: code clean

* fix: use inset

* chore: bundlesize optimization

* chore: rm useless style

* chore: rm useless style

* fix: Fixed an error when the loading property of the Button component… (ant-design#36288)

* fix: Fixed an error when the loading property of the Button component was passed into null

* Update components/button/button.tsx

Obviously, this suggestion is more concise , thanks a lot

Co-authored-by: afc163 <afc163@gmail.com>

* Update components/button/button.tsx

* Update components/button/button.tsx

Co-authored-by: kejianfeng <kejianfeng@cvte.com>
Co-authored-by: afc163 <afc163@gmail.com>

* test: move test cases to testing lib for Spin (ant-design#36317)

* test: move test cases to testing lib for Spin

* fix: types

* fix: lint

* test: move test cases to testing lib for Switch (ant-design#36326)

* add

* test: wave

* fix: type

* test: update snapshot (ant-design#36344)

* test: update snapshot

* test: update snapshot

* fix: checkbox should be disabled by form (ant-design#36345)

* fix: checkbox should be disabled by form

* chore: code clean

* test: update snapshot

* chore: snapshot

* test: move test cases to @testing/library for Carousel (ant-design#35926)

* test: move test cases to @testing/library for Carousel

* fix: wait for animation

* test: replace layout test case with test lib (ant-design#36323)

* test: replace layout test case with test lib

* test: fix react 18

* test: clean up

Co-authored-by: zombiej <smith3816@gmail.com>

* docs: v4.21.5 (ant-design#36353)

* docs: v4.21.5

* chore: add try time

* chore: update changelog

* chore(deps): update dependency eslint-plugin-unicorn to v43 (ant-design#36350)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* style: Radio focus shadow should be transparency (ant-design#36335)

* fix: ErrorList shaking (ant-design#36358)

* fix: ErrorList shaking

* fix: React 18 test case

* docs: replace lib with es (ant-design#36367)

* feat: Space support align stretch (ant-design#36310)

* feat/Space-component-support-align-stretch: support align to stretch

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* feat/Space-component-support-align-stretch: update document of zh-CN and en-US

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* feat/Space-component-support-align-stretch: update demo

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* feat/Space-component-support-align-stretch: update snapshot by command `npm test -- components/space -u`

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: Table hover perf (ant-design#36383)

* fix: correct border radius when table has title (ant-design#36384)

* style: fix size of close icon on Modal header (ant-design#36309)

* fix: update default.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: update variable.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: update compact.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* Update index.en-US.md (ant-design#36400)

Fixed a typo

* docs: fix customize calendar example (ant-design#36356)

* docs: fix customize calendar example

* test: changed calendar snapshot

Co-authored-by: lico <lico@licoui-MacBookPro.local>

* docs(Typography): translate docs from English to Chinese (ant-design#36417)

* fix: fix table container z-index (ant-design#36420)

* fix: fix wrong color of date picker with status set (ant-design#35685)

* fix: fix wrong color of date picker with status set

* Update status.less

Co-authored-by: afc163 <afc163@gmail.com>

* feat: Update Doc (ant-design#36437)

Co-authored-by: meng.jia <meng.jia@ly.com>

* docs(Typography): fix `editable.onChange` parameter (ant-design#36443)

* fix: Upload item removed should keep status className (ant-design#36439)

* fix: Upload item removed should keep status className

* add test case

* test: fix act warning

* revert act test

* test: update snapshot

* docs: fix typo (ant-design#36450)

面包屑部分, "是"应该改为"时"

* fix: breadcrumb seperators hidden when used in list (ant-design#36448)

* style: fix Skeleton active lost border-radius in Safari (ant-design#36445)

* style: fix Skeleton active lost border-radius in Safari

* perf: reduce skeleton css bundle size

* chore: fix bundle size limit

* chore: fix active typing

* docs: 4.21.6 changelog (ant-design#36455)

* feat: Add support to Skeleton, which allow deployer use custom node as prop. (ant-design#36441)

* feat: Skeleton component supports for custom node

* fix: Clear redundant code

* refactor: Remove changes in package.json

* test: Update the snapshot of Skeleton demo

* Update components/skeleton/demo/element.md

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>

* docs: fix typo (ant-design#36457)

fix typo in useWatch.md

* docs: update index.zh-CN.md (ant-design#36471)

去掉文案描述中多的标点

* docs: moment version mismatched issue (ant-design#36473)

ant-design#36465 (comment)

* chore: bump mentions (ant-design#36479)

* fix: Select with percent width leaves unexpected height in Form (ant-design#36484)

* ci: add conch msg (ant-design#36481)

* ci: add conch msg

* Update release-helper.yml

* fix: tooltip cannot close on disabled Radio (ant-design#36483)

* fix: tooltip cannot close on disabled Radio

* test: add test

* ci: split notice (ant-design#36495)

* style: Table expandIcon style when column is fixed and ellipsis (ant-design#36496)

close ant-design#36485

* docs: simplified `Layout` component sample code (ant-design#36497)

the component example code expands to take up the entire monitor screen and is not well read

* chore: bump rc-tooltip (ant-design#36501)

* feat: add Form.Item.useStatus (ant-design#36486)

* feat: add useFormItemStatus

* chore: code clean

* docs: update example

* refactor: api change

* docs: fix typo

* docs: update docs

* docs: udpate

* chore: add warning

* test: add test case

* chore: update warning

* chore: code clean

* test: fix test case

* fix: SVG Upload Preview Error (ant-design#36402)

* Update utils.tsx

* style: unify img styling

Unify the styling  of img attribute setting.

* test: add previewImage test for svg file

Add previewImage test for SVG upload

* fix: remove charset

Remove charset in data url for text content.

* test: fix test

* fix: typo

* fix: correct patching for svg upload error

* fix: correct patching for svg upload error

* test: update test

* fix: fixed the non draggable element did not hide the draggable icon (ant-design#36511)

fix ant-design#33708

* docs: update select documentation

* refactor: move popconfirm content out (ant-design#36530)

* refactor: move popconfirm content out

* fix: lint

* test: update snapshot

* chore: update .gitignore (ant-design#36534)

* add Modal @modal-border-radius less variable (ant-design#36527)

* add Modal @modal-border-radius less variable

* fix:  add less variable

* chore(deps): update dependency eslint-plugin-markdown to v3 (ant-design#36560)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: form disabeld support Upload (ant-design#36573)

Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>

* docs: changelog for 4.21.7 (ant-design#36572)

* docs: changelog for 4.21.7

* chore: bump version to 4.21.7

* docs: update changelog

* docs: append a new changelog

* ci: fix publish (ant-design#36580)

* fix: Form validate message shaking (ant-design#36575)

* refactor: move component out

* refactor: clean up code

* chore: stable it

* chore: back of container

* chore: adjust leave motion

* test: update snapshot

* chore: update motion logic

* fix: list start motion

* test: update snapshot

* test: update snapshot

* test: test for marginBottom

* docs: menu faq (ant-design#36604)

* docs: menu faq

* docs: patch codesandbox

* style: fix Table tree data ellipsis style problem (ant-design#36608)

close ant-design#36583

* style: fix Table extra shadow and scrollbar when all columns are fixed

Co-authored-by: weiwang <wren@xuncetech.com>

* feat: Replace input-number part test with testing lib (ant-design#36080)

* feat: Replace input-number part test with testing lib

* feat: update rc-input-number version

* test: move test cases to testing lib for Collapse (ant-design#36227)

* test: move test cases to testing lib for Collapse

* chore: remove useless file

* fix: react 18 concurrent

* chore: remove useless file

* docs: tabpane add `disabled` (ant-design#36634)

close ant-design#36610

* docs: faq for internal API (ant-design#36643)

* Revert "feat: Space support align stretch (ant-design#36310)" (ant-design#36650)

This reverts commit bfa8aae.

* fix(Tree): DraggableFn params type (ant-design#36648)

* fix(Tree): DraggableFn params type

* chore: add blank line

* test: add typ test for draggable Fn

* test: add typ test for draggable Fn

Co-authored-by: tianyuan233 <zty.dev@outlook.com>

* fix(modal):  Modal.xxx onCancel close argument is not a function  (ant-design#36600)

* fix(modal):  fix the error of `onCancel` parameter of modal returned by `useModal`

resolve: 36581

ref: ant-design#36581 (comment)

* test(confirm): 补充 modal 测试用例

* test(modal): 添加测试用例

* Revert "fix(modal):  fix the error of `onCancel` parameter of modal returned by `useModal`"

This reverts commit e4fcb3e.

* fix(modal): fix modal onOk/onCancel method is not a valid function when there is a close parameter

closed: ant-design#36581

* chore: cancel the introduction of `noop` from third-party library

* chore: write React.ChangeEvent<E> once (ant-design#36644)

* feat: Tree/TreeSelect `switcherIcon` support more parameter in argument (ant-design#36651)

* docs: renew Select dropdownRender demo and FAQ  (ant-design#36665)

* docs: renew Select dropdownRender FAQ and demo

* chore: update snapshot

* chore: fix Select demo tsc

* chore: fix Select demo tsc

* test: move-test-cases-to-testing-lib-for-Radio (ant-design#36664)

* test: move-test-cases-to-testing-lib-for-Radio

* update toMatchSnapshot

Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>

* feat: Typography `ellipsis.tooltip` could be a object  (ant-design#36099)

* feat: add tooltipProps

* feat: doc

* feat: props

* feat: props

* feat: props

* feat: docs

* feat: review

* feat: add tooltipProps

* feat: doc

* feat: props

* feat: props

* feat: props

* feat: docs

* feat: review

* Revert "fix: Upload item removed should keep status className (ant-design#36439)" (ant-design#36682)

This reverts commit cebbe23.

* chore: resolve conflict of feature merge master

* refactor: Drawer refactor (ant-design#36672)

* chore: back part of styl

* chore: all basic

* test: part test case

* test: part test case

* test: more test case

* test: update snapshot

* test: demo test support

* test: update snapshot

* chore: adjust mock logic to inject on rc-drawer instead

* test: more snapshot

* chore: adjust pos

* chore: back of render

* test: drawer demo extends test

* chore: prefer using type-compatible-assigning over using type-assertion (ant-design#36694)

* chore: update the PULL_REQUEST_TEMPLATE (ant-design#36700)

* chore: Support deprecated version warning (ant-design#36701)

* docs: fix Menu api layout (ant-design#36697)

Co-authored-by: zhanghaoqiang <zhanghq7458@joyowo.com>

* fix: Upload item removed should keep status className (ant-design#36706)

* fix: not blink of remove file

* test: test case of remove

* chore: refine getScroll internal signature and some assertion (ant-design#36695)

* chore: refine getScroll internal signature and some assertion

* fix: for mock scenario to passing tests

* docs: add changelog 4.22.0 (ant-design#36699)

* docs: add changelog 4.22.0

* docs: update package

* docs: update

* Update CHANGELOG.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* Update CHANGELOG.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>

* docs: update

* Update CHANGELOG.en-US.md

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>

* chore: 替换 bundlesize 为 size-limit (ant-design#36712)

* chore: 替换 bundlesize 为 size-limit

* 恢复 bundlesize

* test: replace Cascader test case with test library (ant-design#36475)

* test: relpace test case with test library

* test: fix test case

* test: replace snapshot

Co-authored-by: 二货机器人 <smith3816@gmail.com>

* ci: 添加 size-limit 的 workflows (ant-design#36721)

* fix: Drawer width with ptg (ant-design#36729)

* fix: Drawer width with ptg

* test:Update snapshot

* docs: 4.22.1 changelog (ant-design#36732)

* fix: Not work in old browser (ant-design#36748)

* fix: Drawer contentWrapperStyle logic

* fix: Update style

* test: Update snapshot

* test: More test case

* chore: collapse title text auto width (ant-design#36761)

* chore: collapse title text auto width

* test: fix mock snapshot

* docs: 4.22.2 changelog (ant-design#36764)

* docs: 4.22.2 changelog

* docs: more changelog

* fix: fix row in flex layout size cal (ant-design#36770)

* docs: Form disabled version (ant-design#36760)

* docs: Form disabled version

* test: update snapshot

* fix: Form vertical with span row (ant-design#36800)

* fix: form vertical with span

* test: update snapshot

* chore(deps): update dependency size-limit to v8 (ant-design#36803)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @size-limit/file to v8 (ant-design#36802)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: upload list item flashes after being removed in react18 (ant-design#36801)

* Fix custom less variable being overwritten (ant-design#36805)

* docs: add changelog 4.22.3 (ant-design#36812)

* chore: clean Drawer ts def (ant-design#36823)

* docs: Add tag info (ant-design#36843)

* style(drawer): fix drawer nesting style pollution (ant-design#36845)

Co-authored-by: eason.ym <eason.ym@alibaba-inc.com>

* test: move test cases to testing-library for Skeleton (ant-design#36856)

* refactor: rewrite header and footer by FunctionComponent (ant-design#36851)

* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* docs: Tech TS params usage (ant-design#36865)

* fix: strong type (ant-design#36868)

* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: yykoypj <601924094@qq.com>
Co-authored-by: zombiej <smith3816@gmail.com>
Co-authored-by: vagusX <vagusX@users.noreply.github.com>
Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mehdi Salem Naraghi <momesana@gmail.com>
Co-authored-by: 郑国庆 <zhengshuai1993816@163.com>
Co-authored-by: z1399 <zhenggq@dtdream.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: Luobo Zhang <zhang.pc3@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: chenxiang <597219320@qq.com>
Co-authored-by: 元凛 <xrkffgg@vip.qq.com>
Co-authored-by: kalykun <984757534@qq.com>
Co-authored-by: Shang Song <14830727+zggmd@users.noreply.github.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: Heaven <18418010+NE-SmallTown@users.noreply.github.com>
Co-authored-by: dingkang <dingkang0458@gmail.com>
Co-authored-by: Yuki Zhang <foryuki@outlook.com>
Co-authored-by: MasaoBlue <16271994+MasaoBlue@users.noreply.github.com>
Co-authored-by: 龙风 <455947455@qq.com>
Co-authored-by: Christian Lechner <6638938+christian-lechner@users.noreply.github.com>
Co-authored-by: Umberto Gariggio <gariggio@gmail.com>
Co-authored-by: XIN HU <hoosin.git@gmail.com>
Co-authored-by: muxin <a2944938071@163.com>
Co-authored-by: 苯苯 <91561865+robothot@users.noreply.github.com>
Co-authored-by: jhonebee <zhangjin19960908@gamil.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Taisuke Hinata <hinatades@users.noreply.github.com>
Co-authored-by: csr632 <632882184@qq.com>
Co-authored-by: Humble <745653239@qq.com>
Co-authored-by: zhang lay <lay.zhang@shopee.com>
Co-authored-by: C. T. Lin <chentsulin@gmail.com>
Co-authored-by: Jaylan <JaylanChen@users.noreply.github.com>
Co-authored-by: JaylanChen <JaylanChen@126.com>
Co-authored-by: RainyLiao <90637572+RainyLiao@users.noreply.github.com>
Co-authored-by: Dennis Chen <dennisc695@icloud.com>
Co-authored-by: slotDumpling <67586451+slotDumpling@users.noreply.github.com>
Co-authored-by: pfsu <wellssu0@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: සයුරි | Sayuri <85907926+sayuri-gi@users.noreply.github.com>
Co-authored-by: Andrew Horn <arhorn@smcm.edu>
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
Co-authored-by: Dunqing <dengqing0821@gmail.com>
Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
Co-authored-by: 社长长 <ischenkan@outlook.com>
Co-authored-by: shezhangzhang <chenkan@ChenKan-Mac.local>
Co-authored-by: Alan Deng <alanhaledc@gmail.com>
Co-authored-by: Tianyuan Zhang <tianyuan233.zhang@gmail.com>
Co-authored-by: 陈帅 <qixian.cs@outlook.com>
Co-authored-by: Aliaksiej Razumaŭ <belarusaed@gmail.com>
Co-authored-by: Jamki <13414367591@163.com>
Co-authored-by: kejianfeng <kejianfeng@cvte.com>
Co-authored-by: Chang Wei <changwei1006@gmail.com>
Co-authored-by: Yunwoo Ji <unu12073@gmail.com>
Co-authored-by: Kirill Barsukov <43782731+KirillSBarsukov@users.noreply.github.com>
Co-authored-by: hsk-kr <57546034+hsk-kr@users.noreply.github.com>
Co-authored-by: lico <lico@licoui-MacBookPro.local>
Co-authored-by: 舜岳 <1277952981@qq.com>
Co-authored-by: simplejason <simplejason.coder@gmail.com>
Co-authored-by: NinJa <386805508@qq.com>
Co-authored-by: meng.jia <meng.jia@ly.com>
Co-authored-by: 王小王 <wsp971@163.com>
Co-authored-by: Leon Kattendick <75811671+LeonKattendick@users.noreply.github.com>
Co-authored-by: Dawnlck <chaokai.lck@antgroup.com>
Co-authored-by: Sg <suica@users.noreply.github.com>
Co-authored-by: bobo <625391250@qq.com>
Co-authored-by: Wuxh <wxh16144@qq.com>
Co-authored-by: Jon <31494475+jonioni@users.noreply.github.com>
Co-authored-by: Wuxh <wxh1220@gmail.com>
Co-authored-by: Neil <100huming@gmail.com>
Co-authored-by: fairyland <cwjTerrace@163.com>
Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>
Co-authored-by: Peach <scdzwyxst@gmail.com>
Co-authored-by: dashaowang <40166750+dashaowang@users.noreply.github.com>
Co-authored-by: weiwang <wren@xuncetech.com>
Co-authored-by: 黑雨 <wangning4567@163.com>
Co-authored-by: tianyuan233 <zty.dev@outlook.com>
Co-authored-by: Zheeeng <hi@zheeeng.me>
Co-authored-by: hoho2017 <hoho2017@users.noreply.github.com>
Co-authored-by: zhanghaoqiang <zhanghq7458@joyowo.com>
Co-authored-by: lihao <dahao@qq.com>
Co-authored-by: zhengjitf <zhengjitf@gmail.com>
Co-authored-by: Len <wangl_msg@163.com>
Co-authored-by: yanm1ng <644169721@qq.com>
Co-authored-by: eason.ym <eason.ym@alibaba-inc.com>
ytftianwen pushed a commit to infra-fe/infra-design that referenced this issue Aug 26, 2022
* chore(deps): update dependency stylelint-config-standard to v26 (ant-design#36017)

* chore(deps): update dependency stylelint-config-standard to v26

* chore: ignore selector-not-notation rule

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>

* test: move test cases to testing lib for Statistic (ant-design#36019)

Co-authored-by: afc163 <afc163@gmail.com>

* test: replace Table part test with test lib (ant-design#35989)

* test: replace Table part test with test lib

* test: replace table test with test library

* test: update snapshot

* test: replace last mount

* test: fix 18 testing

Co-authored-by: zombiej <smith3816@gmail.com>

* docs: add changelog 4.21.1 (ant-design#36022)

* docs: title is no loger supported by SubMenuType (ant-design#36037)

* docs: fix menu API table (ant-design#36043)

* docs: fix menu API table

* Update index.en-US.md

* fix: Radio.Group focus and blur should work (ant-design#36041)

* docs: fix demos (ant-design#36040)

* docs: fix demos

* ++

* fix: fix incorrect form status with noStyle (ant-design#36054)

* fix: form status

* test: update test case

* docs: 4.21.2 (ant-design#36055)

* test: improve test cases for Statistic (ant-design#36034)

* test: move test cases to testing lib for Badge (ant-design#36033)

* fix:when props.value is not undefined, can't reset value and focus (ant-design#34728)

* fix: when props.value is not undefined, can't reset value and focus

* test: add test case

Co-authored-by: MadCcc <1075746765@qq.com>

* feat: Form support `setFieldValue` (ant-design#36058)

* test: move test cases to @testing/library for Upload (ant-design#36024)

* test: move test cases to @testing/library for Upload

* refactor: use jest.fn to replace done logic

* test: sample of moving test to testing lib

* test: check for 17

* refactor: manual control timer for React18

* refactor: animateEnd for useless middle state snapshot for 'handle error'

Co-authored-by: zombiej <smith3816@gmail.com>

* fix: exporting Rule, FormListFieldData, FormListOperation from form (ant-design#34735)

* fix: exporting RefSelectProps from select (ant-design#34732)

* fix: Typescript - Tree component DirectoryTreeProps, missing Node Type (ant-design#36092)

* fix: edit DirectoryTreeProps

* test: add DirectoryTree type test

* fix: edit type

Co-authored-by: JaylanChen <JaylanChen@126.com>

* fix: Table customize filterDropdown with Menu should not block default selectable (ant-design#36098)

* fix: Table customize Menu should be selectable

* test: Add test case

* test: Update snapshow

* test: change to fakeTimer when error happens sometimes (ant-design#36102)

* docs(:sparkles:): release 4.21.3 (ant-design#36105)

* docs: add locale link in Calender (ant-design#36108)

close ant-design#36107 (comment)

* fix: exporting UploadFile from upload (ant-design#34733)

* fix: Skeleton active style in dark theme (ant-design#36116)

close ant-design#36114

* fix: Table multiple dropdown not closed (ant-design#36132)

* fix: Table dropdown can not close

* test: Test case

* test: cov

* chore: bump rc-util

* chore: reorder

* chore: bump rc-util

* chore: rm test

* chore: clean up

* fix: component.displayName To distinguish the environment (ant-design#36126)

Co-authored-by: afc163 <afc163@gmail.com>

* fix: repeat a css class in readOnly, which has been declared in rc-input-number (ant-design#36120)

Co-authored-by: afc163 <afc163@gmail.com>

* chore(deps): update dependency inquirer to v9 (ant-design#36121)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>

* chore(deps-dev): bump jsdom from 19.0.0 to 20.0.0 (ant-design#36133)

Bumps [jsdom](https://github.com/jsdom/jsdom) from 19.0.0 to 20.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](jsdom/jsdom@19.0.0...20.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>

* docs(Input): add proper type for `inputRef` (ant-design#36135)

* docs(Input): add proper type for `inputRef`

* docs: use `InputRef` instead of `ElementRef`

Co-authored-by: afc163 <afc163@gmail.com>

* style: enlarge draggable area for Slider handle (ant-design#36018)

* active skeleton animated with transform

* properties order fixed

* properties order fixed

* properties order fixed

* bigger dragable area for slider handle

* Update components/slider/style/index.less

Co-authored-by: afc163 <afc163@gmail.com>

* Update index.less

6px

Co-authored-by: afc163 <afc163@gmail.com>

* docs: update demo code (ant-design#36127) (ant-design#36143)

* fix: Dropdown with group menu can not close (ant-design#36148)

* test: test driven

* fix: Dropdown with Menu list group

* style: Code style optimization (ant-design#36144)

* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: Remove methed of Array push (ant-design#36157)

* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: fix Button loading icon margin issue (ant-design#36168)

* style: fix Button loading icon margin issue

* test: update snapshot

* test: fix tsx demo error

* chore: prettier components (ant-design#36171)

* test: replace pagination test with test-library (ant-design#36178)

* feat: add si_LK locale (ant-design#36149)

* දින තේරුම සකස් කිරීම

* චීන ප්‍රලේඛනය යාවත්කාල කිරීම

* ඉංග්‍රීසි ප්‍රලේඛනය යාවත්කාල කිරීම

* තවත් දත්ත ඇතුල් කිරීම

* දින දසුනට භාෂාව යෙදීම

* ප්‍රධාන දේශීයකරණ සංරචකය යෙදීම

* සැපයුම්කරු සඳහා ගොනුව යෙදීම

* කාලය තේරීමට අදාළ සංරචකය යෙදීම

* යෝජනාව ඇතුළු කෙරිණි

Co-authored-by: Amumu <yoyo837@hotmail.com>

* නව ඇසුරුමට වෙනස් කළා

* ගොනුව යාවත්කාල කෙරිණි

Co-authored-by: Amumu <yoyo837@hotmail.com>

* fix: fix snapshot after si_LK locale is merged (ant-design#36181)

* refactor: performance optimization (ant-design#36177)

* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: code style optimization

* fix: Code style optimization

* style: format

* Corrected grammar in comment in hooks.md (ant-design#36185)

* Fix breaks (ant-design#36186)

* Added type assertion so function no longer returns any/unknown

* Add type constraint since Object.keys is called on this value

* chore: fix Menu deprecated warning when item={undefined} (ant-design#36190)

* fix: type incompatibility in strict mode (ant-design#36189)

* fix: type incompatibility

* fix: type

* fix: Reset the last selection key (ant-design#34705)

* fix: reset last selection key

* reset last selection key when deselect

* fix: add test case

* fix: remove unused code

* fix: enzyme bug

* fix: update test

* styles: remove empty line

* fix: lint error

* test: migrate to testing-libary

* fix: xxx.simulate is not a function

* fix: lint error

* fix: use wrong

* fix: solved test not work

Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>

* fix: Upload listType="picture-card" select button when children is empty (ant-design#36196)

* fix: Upload listType="picture-card" select button should be hidden when children is empty

close ant-design#36183

* test: fix test case

* perf: unify regeneratorRuntime import path for bundle size (ant-design#36200)

* perf: unify regeneratorRuntime import path for bundle size

close ant-design#36198

* Update package.json

* Docs:  FAQ add explanation of null in controlled components. (ant-design#36082)

* docs: fix Chinese language grammar mistake in FAQ

* docs: FAQ add explanation of null in controlled components

* docs: update null in controlled components FAQ

* docs: update null in controlled components FAQ (add lost word)

* docs: null in controlled components FAQ optimization

* docs: FAQ add explanation of null in controlled components (English)

* docs: update faq docs

* docs: update faq docs(chinese)

* docs: optimize faq docs

* Update faq.en-US.md

* Update faq.en-US.md

* Update faq.en-US.md

* Update faq.zh-CN.md

* Update faq.en-US.md

Co-authored-by: shezhangzhang <chenkan@ChenKan-Mac.local>
Co-authored-by: MadCcc <1075746765@qq.com>

* chore: bump rc-util (ant-design#36210)

* fix: nested Table margin style (ant-design#36209)

* fix: nested Table margin style

* fix: tsx demo

* test: update snapshot

* style: fix Table expand icon align issue (ant-design#36215)

* style: Skeleton.Button square shape style (ant-design#36123)

* refactor: Skeleton.Button square shape style

the Button's square shape style is same as Avator's that its width is equal to height,
and the old square shape become the default shape that its width is double size to height.

* fix: `ButtonShapeType` type annotation

* docs: fix English FAQ title (ant-design#36222)

* docs: update valueStyle description (ant-design#36226)

close ant-design#36219

* chore: fix eslint warning and bisheng terminal log (ant-design#36220)

* chore: fix eslint warning

* chore: fix bisheng log

* Update basic.md

* docs: update Tabs demo code (ant-design#36217)

* docs:update demo code

* docs: update Tabs demo code

* docs: update Tabs demo code

* chore(deps-dev): bump @types/jest-image-snapshot from 4.3.2 to 5.1.0 (ant-design#36229)

Bumps [@types/jest-image-snapshot](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest-image-snapshot) from 4.3.2 to 5.1.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest-image-snapshot)

---
updated-dependencies:
- dependency-name: "@types/jest-image-snapshot"
  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(deps): update dependency remark-cli to v11 (ant-design#36237)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: dev config (ant-design#36240)

* fix: popover arrow support custom color (ant-design#36241)

* refactor: wrap Wave with FC (ant-design#36248)

* refactor: wrap Wave with FC

* test: update test case

* docs: add 4.21.4 changelog (ant-design#36246)

* docs: add 4.21.4 changelog

* fix

* reset

* chore(deps-dev): bump cheerio from 1.0.0-rc.10 to 1.0.0-rc.12 (ant-design#36255)

Bumps [cheerio](https://github.com/cheeriojs/cheerio) from 1.0.0-rc.10 to 1.0.0-rc.12.
- [Release notes](https://github.com/cheeriojs/cheerio/releases)
- [Changelog](https://github.com/cheeriojs/cheerio/blob/main/History.md)
- [Commits](cheeriojs/cheerio@v1.0.0-rc.10...v1.0.0-rc.12)

---
updated-dependencies:
- dependency-name: cheerio
  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>

* chore: update Belarusian locale (ant-design#36265)

* Edited Belarusian locale:
 - Added missed entries
 - Fixed some mistakes

* test: update snapshot

Co-authored-by: Aliaksiej Razumaŭ <belarusaed@gmail.com>

* docs: update English sketch file link (ant-design#36269)

* docs: English sketch file links from communicatity

* Update resources.en-US.md

* style(Divider): replace fixed class name with variable (ant-design#36271)

* test: replace test case with test lib (ant-design#36276)

* style: fix Table shadow bug in nested situation (ant-design#36277)

close ant-design#36203

* test: Fix table empty test (ant-design#36290)

* chore: reduce css bundle size (ant-design#36307)

* fix: arrow compatibility (ant-design#36266)

* fix: arrow campatibility

* chore: code clean

* chore: rm useless style

* chore: code clean

* fix: use inset

* chore: bundlesize optimization

* chore: rm useless style

* chore: rm useless style

* fix: Fixed an error when the loading property of the Button component… (ant-design#36288)

* fix: Fixed an error when the loading property of the Button component was passed into null

* Update components/button/button.tsx

Obviously, this suggestion is more concise , thanks a lot

Co-authored-by: afc163 <afc163@gmail.com>

* Update components/button/button.tsx

* Update components/button/button.tsx

Co-authored-by: kejianfeng <kejianfeng@cvte.com>
Co-authored-by: afc163 <afc163@gmail.com>

* test: move test cases to testing lib for Spin (ant-design#36317)

* test: move test cases to testing lib for Spin

* fix: types

* fix: lint

* test: move test cases to testing lib for Switch (ant-design#36326)

* add

* test: wave

* fix: type

* test: update snapshot (ant-design#36344)

* test: update snapshot

* test: update snapshot

* fix: checkbox should be disabled by form (ant-design#36345)

* fix: checkbox should be disabled by form

* chore: code clean

* test: update snapshot

* chore: snapshot

* test: move test cases to @testing/library for Carousel (ant-design#35926)

* test: move test cases to @testing/library for Carousel

* fix: wait for animation

* test: replace layout test case with test lib (ant-design#36323)

* test: replace layout test case with test lib

* test: fix react 18

* test: clean up

Co-authored-by: zombiej <smith3816@gmail.com>

* docs: v4.21.5 (ant-design#36353)

* docs: v4.21.5

* chore: add try time

* chore: update changelog

* chore(deps): update dependency eslint-plugin-unicorn to v43 (ant-design#36350)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* style: Radio focus shadow should be transparency (ant-design#36335)

* fix: ErrorList shaking (ant-design#36358)

* fix: ErrorList shaking

* fix: React 18 test case

* docs: replace lib with es (ant-design#36367)

* feat: Space support align stretch (ant-design#36310)

* feat/Space-component-support-align-stretch: support align to stretch

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* feat/Space-component-support-align-stretch: update document of zh-CN and en-US

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* feat/Space-component-support-align-stretch: update demo

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* feat/Space-component-support-align-stretch: update snapshot by command `npm test -- components/space -u`

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: Table hover perf (ant-design#36383)

* fix: correct border radius when table has title (ant-design#36384)

* style: fix size of close icon on Modal header (ant-design#36309)

* fix: update default.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: update variable.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: update compact.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* Update index.en-US.md (ant-design#36400)

Fixed a typo

* docs: fix customize calendar example (ant-design#36356)

* docs: fix customize calendar example

* test: changed calendar snapshot

Co-authored-by: lico <lico@licoui-MacBookPro.local>

* docs(Typography): translate docs from English to Chinese (ant-design#36417)

* fix: fix table container z-index (ant-design#36420)

* fix: fix wrong color of date picker with status set (ant-design#35685)

* fix: fix wrong color of date picker with status set

* Update status.less

Co-authored-by: afc163 <afc163@gmail.com>

* feat: Update Doc (ant-design#36437)

Co-authored-by: meng.jia <meng.jia@ly.com>

* docs(Typography): fix `editable.onChange` parameter (ant-design#36443)

* fix: Upload item removed should keep status className (ant-design#36439)

* fix: Upload item removed should keep status className

* add test case

* test: fix act warning

* revert act test

* test: update snapshot

* docs: fix typo (ant-design#36450)

面包屑部分, "是"应该改为"时"

* fix: breadcrumb seperators hidden when used in list (ant-design#36448)

* style: fix Skeleton active lost border-radius in Safari (ant-design#36445)

* style: fix Skeleton active lost border-radius in Safari

* perf: reduce skeleton css bundle size

* chore: fix bundle size limit

* chore: fix active typing

* docs: 4.21.6 changelog (ant-design#36455)

* feat: Add support to Skeleton, which allow deployer use custom node as prop. (ant-design#36441)

* feat: Skeleton component supports for custom node

* fix: Clear redundant code

* refactor: Remove changes in package.json

* test: Update the snapshot of Skeleton demo

* Update components/skeleton/demo/element.md

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>

* docs: fix typo (ant-design#36457)

fix typo in useWatch.md

* docs: update index.zh-CN.md (ant-design#36471)

去掉文案描述中多的标点

* docs: moment version mismatched issue (ant-design#36473)

ant-design#36465 (comment)

* chore: bump mentions (ant-design#36479)

* fix: Select with percent width leaves unexpected height in Form (ant-design#36484)

* ci: add conch msg (ant-design#36481)

* ci: add conch msg

* Update release-helper.yml

* fix: tooltip cannot close on disabled Radio (ant-design#36483)

* fix: tooltip cannot close on disabled Radio

* test: add test

* ci: split notice (ant-design#36495)

* style: Table expandIcon style when column is fixed and ellipsis (ant-design#36496)

close ant-design#36485

* docs: simplified `Layout` component sample code (ant-design#36497)

the component example code expands to take up the entire monitor screen and is not well read

* chore: bump rc-tooltip (ant-design#36501)

* feat: add Form.Item.useStatus (ant-design#36486)

* feat: add useFormItemStatus

* chore: code clean

* docs: update example

* refactor: api change

* docs: fix typo

* docs: update docs

* docs: udpate

* chore: add warning

* test: add test case

* chore: update warning

* chore: code clean

* test: fix test case

* fix: SVG Upload Preview Error (ant-design#36402)

* Update utils.tsx

* style: unify img styling

Unify the styling  of img attribute setting.

* test: add previewImage test for svg file

Add previewImage test for SVG upload

* fix: remove charset

Remove charset in data url for text content.

* test: fix test

* fix: typo

* fix: correct patching for svg upload error

* fix: correct patching for svg upload error

* test: update test

* fix: fixed the non draggable element did not hide the draggable icon (ant-design#36511)

fix ant-design#33708

* docs: update select documentation

* refactor: move popconfirm content out (ant-design#36530)

* refactor: move popconfirm content out

* fix: lint

* test: update snapshot

* chore: update .gitignore (ant-design#36534)

* add Modal @modal-border-radius less variable (ant-design#36527)

* add Modal @modal-border-radius less variable

* fix:  add less variable

* chore(deps): update dependency eslint-plugin-markdown to v3 (ant-design#36560)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: form disabeld support Upload (ant-design#36573)

Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>

* docs: changelog for 4.21.7 (ant-design#36572)

* docs: changelog for 4.21.7

* chore: bump version to 4.21.7

* docs: update changelog

* docs: append a new changelog

* ci: fix publish (ant-design#36580)

* fix: Form validate message shaking (ant-design#36575)

* refactor: move component out

* refactor: clean up code

* chore: stable it

* chore: back of container

* chore: adjust leave motion

* test: update snapshot

* chore: update motion logic

* fix: list start motion

* test: update snapshot

* test: update snapshot

* test: test for marginBottom

* docs: menu faq (ant-design#36604)

* docs: menu faq

* docs: patch codesandbox

* style: fix Table tree data ellipsis style problem (ant-design#36608)

close ant-design#36583

* style: fix Table extra shadow and scrollbar when all columns are fixed

Co-authored-by: weiwang <wren@xuncetech.com>

* feat: Replace input-number part test with testing lib (ant-design#36080)

* feat: Replace input-number part test with testing lib

* feat: update rc-input-number version

* test: move test cases to testing lib for Collapse (ant-design#36227)

* test: move test cases to testing lib for Collapse

* chore: remove useless file

* fix: react 18 concurrent

* chore: remove useless file

* docs: tabpane add `disabled` (ant-design#36634)

close ant-design#36610

* docs: faq for internal API (ant-design#36643)

* Revert "feat: Space support align stretch (ant-design#36310)" (ant-design#36650)

This reverts commit bfa8aae.

* fix(Tree): DraggableFn params type (ant-design#36648)

* fix(Tree): DraggableFn params type

* chore: add blank line

* test: add typ test for draggable Fn

* test: add typ test for draggable Fn

Co-authored-by: tianyuan233 <zty.dev@outlook.com>

* fix(modal):  Modal.xxx onCancel close argument is not a function  (ant-design#36600)

* fix(modal):  fix the error of `onCancel` parameter of modal returned by `useModal`

resolve: 36581

ref: ant-design#36581 (comment)

* test(confirm): 补充 modal 测试用例

* test(modal): 添加测试用例

* Revert "fix(modal):  fix the error of `onCancel` parameter of modal returned by `useModal`"

This reverts commit e4fcb3e.

* fix(modal): fix modal onOk/onCancel method is not a valid function when there is a close parameter

closed: ant-design#36581

* chore: cancel the introduction of `noop` from third-party library

* chore: write React.ChangeEvent<E> once (ant-design#36644)

* feat: Tree/TreeSelect `switcherIcon` support more parameter in argument (ant-design#36651)

* docs: renew Select dropdownRender demo and FAQ  (ant-design#36665)

* docs: renew Select dropdownRender FAQ and demo

* chore: update snapshot

* chore: fix Select demo tsc

* chore: fix Select demo tsc

* test: move-test-cases-to-testing-lib-for-Radio (ant-design#36664)

* test: move-test-cases-to-testing-lib-for-Radio

* update toMatchSnapshot

Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>

* feat: Typography `ellipsis.tooltip` could be a object  (ant-design#36099)

* feat: add tooltipProps

* feat: doc

* feat: props

* feat: props

* feat: props

* feat: docs

* feat: review

* feat: add tooltipProps

* feat: doc

* feat: props

* feat: props

* feat: props

* feat: docs

* feat: review

* Revert "fix: Upload item removed should keep status className (ant-design#36439)" (ant-design#36682)

This reverts commit cebbe23.

* chore: resolve conflict of feature merge master

* refactor: Drawer refactor (ant-design#36672)

* chore: back part of styl

* chore: all basic

* test: part test case

* test: part test case

* test: more test case

* test: update snapshot

* test: demo test support

* test: update snapshot

* chore: adjust mock logic to inject on rc-drawer instead

* test: more snapshot

* chore: adjust pos

* chore: back of render

* test: drawer demo extends test

* chore: prefer using type-compatible-assigning over using type-assertion (ant-design#36694)

* chore: update the PULL_REQUEST_TEMPLATE (ant-design#36700)

* chore: Support deprecated version warning (ant-design#36701)

* docs: fix Menu api layout (ant-design#36697)

Co-authored-by: zhanghaoqiang <zhanghq7458@joyowo.com>

* fix: Upload item removed should keep status className (ant-design#36706)

* fix: not blink of remove file

* test: test case of remove

* chore: refine getScroll internal signature and some assertion (ant-design#36695)

* chore: refine getScroll internal signature and some assertion

* fix: for mock scenario to passing tests

* docs: add changelog 4.22.0 (ant-design#36699)

* docs: add changelog 4.22.0

* docs: update package

* docs: update

* Update CHANGELOG.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* Update CHANGELOG.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>

* docs: update

* Update CHANGELOG.en-US.md

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>

* chore: 替换 bundlesize 为 size-limit (ant-design#36712)

* chore: 替换 bundlesize 为 size-limit

* 恢复 bundlesize

* test: replace Cascader test case with test library (ant-design#36475)

* test: relpace test case with test library

* test: fix test case

* test: replace snapshot

Co-authored-by: 二货机器人 <smith3816@gmail.com>

* ci: 添加 size-limit 的 workflows (ant-design#36721)

* fix: Drawer width with ptg (ant-design#36729)

* fix: Drawer width with ptg

* test:Update snapshot

* docs: 4.22.1 changelog (ant-design#36732)

* fix: Not work in old browser (ant-design#36748)

* fix: Drawer contentWrapperStyle logic

* fix: Update style

* test: Update snapshot

* test: More test case

* chore: collapse title text auto width (ant-design#36761)

* chore: collapse title text auto width

* test: fix mock snapshot

* docs: 4.22.2 changelog (ant-design#36764)

* docs: 4.22.2 changelog

* docs: more changelog

* fix: fix row in flex layout size cal (ant-design#36770)

* docs: Form disabled version (ant-design#36760)

* docs: Form disabled version

* test: update snapshot

* fix: Form vertical with span row (ant-design#36800)

* fix: form vertical with span

* test: update snapshot

* chore(deps): update dependency size-limit to v8 (ant-design#36803)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @size-limit/file to v8 (ant-design#36802)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: upload list item flashes after being removed in react18 (ant-design#36801)

* Fix custom less variable being overwritten (ant-design#36805)

* docs: add changelog 4.22.3 (ant-design#36812)

* chore: clean Drawer ts def (ant-design#36823)

* docs: Add tag info (ant-design#36843)

* style(drawer): fix drawer nesting style pollution (ant-design#36845)

Co-authored-by: eason.ym <eason.ym@alibaba-inc.com>

* test: move test cases to testing-library for Skeleton (ant-design#36856)

* refactor: rewrite header and footer by FunctionComponent (ant-design#36851)

* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* docs: Tech TS params usage (ant-design#36865)

* fix: strong type (ant-design#36868)

* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* chore: Make `data-${string}` undefinable (ant-design#36858)

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent (ant-design#36876)

* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent

* style: formatting

* Create disscustion-open-check.yml

* fix(Table): onChange `sorter` param types (ant-design#36710)

* fix(types): fixes `sorter` param types

* chore: add test case

* Update type.test.tsx

* Update type.test.tsx

* test: Replace slider part test with testing lib (ant-design#36888)

* chore: upgrade rc-mentions to v1.9.1 (ant-design#36898)

* pref: add useCallback/useMemo (ant-design#36877)

* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent

* style: formatting

* pref: add useCallback/useMemo

* style: button focus style should not stay after click (ant-design#36902)

:focus => :focus-visible

close ant-design#36896

* style: reduce some css code (ant-design#36904)

* test: move test cases to testing lib for Progress (ant-design#36826)

Co-authored-by: gaokaifei <gaokaifei@maxtropy.com>

* refactor: use typescript refactor javascript (ant-design#36907)

* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent

* style: formatting

* pref: add useCallback/useMemo

* refactor: use typescript refactor javascript

* fix: remove string

* fix: fix eslint

* fix: testing act error (ant-design#36915)

* test: switch act from react-dom/test-utils to testing-library/react

* test: fix jest.runAllTimers usage with act

Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>

* feat(Avatar): add `onClick` prop (ant-design#36940)

* test: change act import from utils use act wrap timer and not wrap fireEvent (ant-design#36921)

Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>

* chore: disable jest/no-standalone-expect (ant-design#36942)

* docs: upgrade codesandbox to react 18 (ant-design#36951)

* docs(:sparkles:): release 4.22.4 (ant-design#36952)

* docs: update changelog date

* do'c's):add onChange props for useFormItemStatus description code (ant-design#36929)

* fix(docs):fix useFormItemStatus description code

* fix():修复CR意见

* fix: Drawer zIndex (ant-design#36958)

* docs: add changelog for ant-design#36958

* test: refactor autocomplete test with screen and userEvent (ant-design#36953)

* AutoComplete(test): refactor custom input autocomplete with userEvent and screen

* AutoComplete(test): refactor dataSource is object array with screen and userEvent

* AutoComplete(test): update file name to tsx and refactor with screen

* AutoComplete(test): option test refactor

* AutoComplete(test): className test refactor

* remove fireEvent

* ignore ts error

* disable no-console

Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>

* test: replace notification part test with testing lib (ant-design#36924)

* test: replace Calendar part test with testing lib (ant-design#36927)

* test: replace message part test with testing lib (ant-design#36923)

* test: Adjust Drawer test case (ant-design#36964)

* chore: fix riddle demo (ant-design#36965)

* fix: Upload in React 18 sync problem (ant-design#36968)

* fix: sync flush

* test: test case

* test: fix deps

* chore: update release-helper workflow

* style(Select): error border exclueds pagination (ant-design#36972)

Co-authored-by: hydraZty <hydra_zty@163.com>

* feat: Form add defaultValidateMessages.i18n az_AZ language ant-design#23369 (ant-design#36967)

* test: migrate part of Descriptions tests (ant-design#36970)

* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent

* style: formatting

* pref: add useCallback/useMemo

* refactor: use typescript refactor javascript

* fix: remove string

* fix: fix eslint

* test: migrate part of Descriptions tests

* test: migrate part of Descriptions tests

* test: migrate part of Descriptions tests

* fix: eslint error fix (ant-design#36976)

* chore: update image demo snapshot

* style: fix Progress tail position (ant-design#36996)

* style(Popover): remove incorrect box-shadow (ant-design#37030)

* docs: fix useWatch type error (ant-design#37013)

* chore(deps-dev): bump stylelint-config-standard from 26.0.0 to 27.0.0 (ant-design#37022)

Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) from 26.0.0 to 27.0.0.
- [Release notes](https://github.com/stylelint/stylelint-config-standard/releases)
- [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/main/CHANGELOG.md)
- [Commits](stylelint/stylelint-config-standard@26.0.0...27.0.0)

---
updated-dependencies:
- dependency-name: stylelint-config-standard
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* test: migrate part of Mentions tests (ant-design#36998)

* test: migrate part of Popover tests (ant-design#36997)

* docs: add 4.22.5 changelog (ant-design#37049)

* add 4.22.5 changelog

* fix

* chore: fix rtl cannot revert in Safari (ant-design#37052)

close ant-design#37035

* test: replace Menu test case with test lib (ant-design#37046)

* test: replace test case with test lib

* test: Update test case to make more sense

* chore: trigger ci

* test: rm firstChild

Co-authored-by: 二货机器人 <smith3816@gmail.com>

* test: migrate part of TimePicker tests (ant-design#37055)

* test: migrate part of TimePicker tests

* test: test clearIcon

* test: migrate part of TimePicker tests

Co-authored-by: 二货机器人 <smith3816@gmail.com>

* test: move test cases to testing-library for DropDown (ant-design#37003)

* temp

* fix: mock esmodule default for Dropdown

* test: move test cases to testing-library for DropDown

* chore: remove console

* fix: snapshot test

* refactor: jest mock improvement

* chore: post script includes current info (ant-design#37056)

* chore: release script includes current info

* chore: more issue

* feat: replace testing-lib(replace .js to .ts) (ant-design#37042)

* test: move test cases to testing-library for Grid (ant-design#37057)

* test: move test cases to testing-library for Grid

* fix: test when typeof gutter is object array in large screen

* Revert "fix(Table): onChange `sorter` param types (ant-design#36710)"

This reverts commit 9e7e32b.

* docs: update 4.0 sketch file link (ant-design#37085)

* docs: update 4.0 sketch file link

* docs: add dark theme sketh

* fix: Drawer add motion deadline (ant-design#37100)

* fix: Drawer add motion deadline

* test: Update snapshot

* test: ignore motion in snapshot render

* docs: 4.22.6 changelog (ant-design#37101)

* docs: 4.22.6

* chore: changelog version

* chore: update

* fix: Accordions are missing expand and collapse states (ant-design#37065)

* UIEN-1399 - Accordions are missing expand and collapse states

* update tests

* updated snapshots

* fix: Move @testing-library/user-event to devDependencies (ant-design#37098)

* test: add table multi-sort case (ant-design#37109)

* test: add table multi-sort case

* chore: code clean

* fix: InputNumber border-radius and handle color style (ant-design#37070)

* style: use @checkbox-border-radius (ant-design#37131)

Signed-off-by: Chang Wei <changwei1006@gmail.com>
Signed-off-by: dependabot[bot] <support@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: Yuki Zhang <foryuki@outlook.com>
Co-authored-by: dingkang <dingkang0458@gmail.com>
Co-authored-by: zombiej <smith3816@gmail.com>
Co-authored-by: vagusX <vagusX@users.noreply.github.com>
Co-authored-by: csr632 <632882184@qq.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: kalykun <984757534@qq.com>
Co-authored-by: Humble <745653239@qq.com>
Co-authored-by: zhang lay <lay.zhang@shopee.com>
Co-authored-by: yykoypj <601924094@qq.com>
Co-authored-by: C. T. Lin <chentsulin@gmail.com>
Co-authored-by: Jaylan <JaylanChen@users.noreply.github.com>
Co-authored-by: JaylanChen <JaylanChen@126.com>
Co-authored-by: 龙风 <455947455@qq.com>
Co-authored-by: RainyLiao <90637572+RainyLiao@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dennis Chen <dennisc695@icloud.com>
Co-authored-by: slotDumpling <67586451+slotDumpling@users.noreply.github.com>
Co-authored-by: pfsu <wellssu0@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: සයුරි | Sayuri <85907926+sayuri-gi@users.noreply.github.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: Andrew Horn <arhorn@smcm.edu>
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
Co-authored-by: Dunqing <dengqing0821@gmail.com>
Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
Co-authored-by: 社长长 <ischenkan@outlook.com>
Co-authored-by: shezhangzhang <chenkan@ChenKan-Mac.local>
Co-authored-by: Alan Deng <alanhaledc@gmail.com>
Co-authored-by: Tianyuan Zhang <tianyuan233.zhang@gmail.com>
Co-authored-by: 陈帅 <qixian.cs@outlook.com>
Co-authored-by: Aliaksiej Razumaŭ <belarusaed@gmail.com>
Co-authored-by: Jamki <13414367591@163.com>
Co-authored-by: kejianfeng <kejianfeng@cvte.com>
Co-authored-by: Chang Wei <changwei1006@gmail.com>
Co-authored-by: Yunwoo Ji <unu12073@gmail.com>
Co-authored-by: Kirill Barsukov <43782731+KirillSBarsukov@users.noreply.github.com>
Co-authored-by: hsk-kr <57546034+hsk-kr@users.noreply.github.com>
Co-authored-by: lico <lico@licoui-MacBookPro.local>
Co-authored-by: 舜岳 <1277952981@qq.com>
Co-authored-by: simplejason <simplejason.coder@gmail.com>
Co-authored-by: NinJa <386805508@qq.com>
Co-authored-by: meng.jia <meng.jia@ly.com>
Co-authored-by: 王小王 <wsp971@163.com>
Co-authored-by: Leon Kattendick <75811671+LeonKattendick@users.noreply.github.com>
Co-authored-by: Dawnlck <chaokai.lck@antgroup.com>
Co-authored-by: Sg <suica@users.noreply.github.com>
Co-authored-by: bobo <625391250@qq.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Wuxh <wxh16144@qq.com>
Co-authored-by: Jon <31494475+jonioni@users.noreply.github.com>
Co-authored-by: Wuxh <wxh1220@gmail.com>
Co-authored-by: Neil <100huming@gmail.com>
Co-authored-by: fairyland <cwjTerrace@163.com>
Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>
Co-authored-by: Peach <scdzwyxst@gmail.com>
Co-authored-by: dashaowang <40166750+dashaowang@users.noreply.github.com>
Co-authored-by: weiwang <wren@xuncetech.com>
Co-authored-by: 黑雨 <wangning4567@163.com>
Co-authored-by: tianyuan233 <zty.dev@outlook.com>
Co-authored-by: Zheeeng <hi@zheeeng.me>
Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
Co-authored-by: hoho2017 <hoho2017@users.noreply.github.com>
Co-authored-by: zhanghaoqiang <zhanghq7458@joyowo.com>
Co-authored-by: lihao <dahao@qq.com>
Co-authored-by: zhengjitf <zhengjitf@gmail.com>
Co-authored-by: Len <wangl_msg@163.com>
Co-authored-by: yanm1ng <644169721@qq.com>
Co-authored-by: eason.ym <eason.ym@alibaba-inc.com>
Co-authored-by: yifanwww <yifanw1101@gmail.com>
Co-authored-by: 他不是牛马 <lzm0x219@gmail.com>
Co-authored-by: JarvisArt <38420763+JarvisArt@users.noreply.github.com>
Co-authored-by: gaokaifeis <gaokf0103@163.com>
Co-authored-by: gaokaifei <gaokaifei@maxtropy.com>
Co-authored-by: clean99 <xff9924@gmail.com>
Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
Co-authored-by: Qiuhang817385 <38211706+Qiuhang817385@users.noreply.github.com>
Co-authored-by: hydraZty <670688667@qq.com>
Co-authored-by: hydraZty <hydra_zty@163.com>
Co-authored-by: YMiemie-cy <74303386+YMiemie-cy@users.noreply.github.com>
Co-authored-by: jinrui <jerrykingxyz@gmail.com>
Co-authored-by: ZhiHao Li <940166841@qq.com>
Co-authored-by: Dmitry Artamonov <41914249+dartamonov-vertex@users.noreply.github.com>
Co-authored-by: nuintun <nuintun@gmail.com>
Co-authored-by: Haniel Cui <coldice945@hotmail.com>
ytftianwen pushed a commit to infra-fe/infra-design that referenced this issue Sep 5, 2022
* test: replace Table part test with test lib (ant-design#35989)

* test: replace Table part test with test lib

* test: replace table test with test library

* test: update snapshot

* test: replace last mount

* test: fix 18 testing

Co-authored-by: zombiej <smith3816@gmail.com>

* docs: add changelog 4.21.1 (ant-design#36022)

* docs: title is no loger supported by SubMenuType (ant-design#36037)

* docs: fix menu API table (ant-design#36043)

* docs: fix menu API table

* Update index.en-US.md

* fix: Radio.Group focus and blur should work (ant-design#36041)

* docs: fix demos (ant-design#36040)

* docs: fix demos

* ++

* fix: fix incorrect form status with noStyle (ant-design#36054)

* fix: form status

* test: update test case

* docs: 4.21.2 (ant-design#36055)

* test: improve test cases for Statistic (ant-design#36034)

* test: move test cases to testing lib for Badge (ant-design#36033)

* fix:when props.value is not undefined, can't reset value and focus (ant-design#34728)

* fix: when props.value is not undefined, can't reset value and focus

* test: add test case

Co-authored-by: MadCcc <1075746765@qq.com>

* feat: Form support `setFieldValue` (ant-design#36058)

* test: move test cases to @testing/library for Upload (ant-design#36024)

* test: move test cases to @testing/library for Upload

* refactor: use jest.fn to replace done logic

* test: sample of moving test to testing lib

* test: check for 17

* refactor: manual control timer for React18

* refactor: animateEnd for useless middle state snapshot for 'handle error'

Co-authored-by: zombiej <smith3816@gmail.com>

* fix: exporting Rule, FormListFieldData, FormListOperation from form (ant-design#34735)

* fix: exporting RefSelectProps from select (ant-design#34732)

* fix: Typescript - Tree component DirectoryTreeProps, missing Node Type (ant-design#36092)

* fix: edit DirectoryTreeProps

* test: add DirectoryTree type test

* fix: edit type

Co-authored-by: JaylanChen <JaylanChen@126.com>

* fix: Table customize filterDropdown with Menu should not block default selectable (ant-design#36098)

* fix: Table customize Menu should be selectable

* test: Add test case

* test: Update snapshow

* test: change to fakeTimer when error happens sometimes (ant-design#36102)

* docs(:sparkles:): release 4.21.3 (ant-design#36105)

* docs: add locale link in Calender (ant-design#36108)

close ant-design#36107 (comment)

* fix: exporting UploadFile from upload (ant-design#34733)

* fix: Skeleton active style in dark theme (ant-design#36116)

close ant-design#36114

* fix: Table multiple dropdown not closed (ant-design#36132)

* fix: Table dropdown can not close

* test: Test case

* test: cov

* chore: bump rc-util

* chore: reorder

* chore: bump rc-util

* chore: rm test

* chore: clean up

* fix: component.displayName To distinguish the environment (ant-design#36126)

Co-authored-by: afc163 <afc163@gmail.com>

* fix: repeat a css class in readOnly, which has been declared in rc-input-number (ant-design#36120)

Co-authored-by: afc163 <afc163@gmail.com>

* chore(deps): update dependency inquirer to v9 (ant-design#36121)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>

* chore(deps-dev): bump jsdom from 19.0.0 to 20.0.0 (ant-design#36133)

Bumps [jsdom](https://github.com/jsdom/jsdom) from 19.0.0 to 20.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](jsdom/jsdom@19.0.0...20.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>

* docs(Input): add proper type for `inputRef` (ant-design#36135)

* docs(Input): add proper type for `inputRef`

* docs: use `InputRef` instead of `ElementRef`

Co-authored-by: afc163 <afc163@gmail.com>

* style: enlarge draggable area for Slider handle (ant-design#36018)

* active skeleton animated with transform

* properties order fixed

* properties order fixed

* properties order fixed

* bigger dragable area for slider handle

* Update components/slider/style/index.less

Co-authored-by: afc163 <afc163@gmail.com>

* Update index.less

6px

Co-authored-by: afc163 <afc163@gmail.com>

* docs: update demo code (ant-design#36127) (ant-design#36143)

* fix: Dropdown with group menu can not close (ant-design#36148)

* test: test driven

* fix: Dropdown with Menu list group

* style: Code style optimization (ant-design#36144)

* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: Remove methed of Array push (ant-design#36157)

* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: fix Button loading icon margin issue (ant-design#36168)

* style: fix Button loading icon margin issue

* test: update snapshot

* test: fix tsx demo error

* chore: prettier components (ant-design#36171)

* test: replace pagination test with test-library (ant-design#36178)

* feat: add si_LK locale (ant-design#36149)

* දින තේරුම සකස් කිරීම

* චීන ප්‍රලේඛනය යාවත්කාල කිරීම

* ඉංග්‍රීසි ප්‍රලේඛනය යාවත්කාල කිරීම

* තවත් දත්ත ඇතුල් කිරීම

* දින දසුනට භාෂාව යෙදීම

* ප්‍රධාන දේශීයකරණ සංරචකය යෙදීම

* සැපයුම්කරු සඳහා ගොනුව යෙදීම

* කාලය තේරීමට අදාළ සංරචකය යෙදීම

* යෝජනාව ඇතුළු කෙරිණි

Co-authored-by: Amumu <yoyo837@hotmail.com>

* නව ඇසුරුමට වෙනස් කළා

* ගොනුව යාවත්කාල කෙරිණි

Co-authored-by: Amumu <yoyo837@hotmail.com>

* fix: fix snapshot after si_LK locale is merged (ant-design#36181)

* refactor: performance optimization (ant-design#36177)

* style: code style optimization

* style: code style optimization

* style: code style optimization

* style: code style optimization

* fix: Code style optimization

* style: format

* Corrected grammar in comment in hooks.md (ant-design#36185)

* Fix breaks (ant-design#36186)

* Added type assertion so function no longer returns any/unknown

* Add type constraint since Object.keys is called on this value

* chore: fix Menu deprecated warning when item={undefined} (ant-design#36190)

* fix: type incompatibility in strict mode (ant-design#36189)

* fix: type incompatibility

* fix: type

* fix: Reset the last selection key (ant-design#34705)

* fix: reset last selection key

* reset last selection key when deselect

* fix: add test case

* fix: remove unused code

* fix: enzyme bug

* fix: update test

* styles: remove empty line

* fix: lint error

* test: migrate to testing-libary

* fix: xxx.simulate is not a function

* fix: lint error

* fix: use wrong

* fix: solved test not work

Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>

* fix: Upload listType="picture-card" select button when children is empty (ant-design#36196)

* fix: Upload listType="picture-card" select button should be hidden when children is empty

close ant-design#36183

* test: fix test case

* perf: unify regeneratorRuntime import path for bundle size (ant-design#36200)

* perf: unify regeneratorRuntime import path for bundle size

close ant-design#36198

* Update package.json

* Docs:  FAQ add explanation of null in controlled components. (ant-design#36082)

* docs: fix Chinese language grammar mistake in FAQ

* docs: FAQ add explanation of null in controlled components

* docs: update null in controlled components FAQ

* docs: update null in controlled components FAQ (add lost word)

* docs: null in controlled components FAQ optimization

* docs: FAQ add explanation of null in controlled components (English)

* docs: update faq docs

* docs: update faq docs(chinese)

* docs: optimize faq docs

* Update faq.en-US.md

* Update faq.en-US.md

* Update faq.en-US.md

* Update faq.zh-CN.md

* Update faq.en-US.md

Co-authored-by: shezhangzhang <chenkan@ChenKan-Mac.local>
Co-authored-by: MadCcc <1075746765@qq.com>

* chore: bump rc-util (ant-design#36210)

* fix: nested Table margin style (ant-design#36209)

* fix: nested Table margin style

* fix: tsx demo

* test: update snapshot

* style: fix Table expand icon align issue (ant-design#36215)

* style: Skeleton.Button square shape style (ant-design#36123)

* refactor: Skeleton.Button square shape style

the Button's square shape style is same as Avator's that its width is equal to height,
and the old square shape become the default shape that its width is double size to height.

* fix: `ButtonShapeType` type annotation

* docs: fix English FAQ title (ant-design#36222)

* docs: update valueStyle description (ant-design#36226)

close ant-design#36219

* chore: fix eslint warning and bisheng terminal log (ant-design#36220)

* chore: fix eslint warning

* chore: fix bisheng log

* Update basic.md

* docs: update Tabs demo code (ant-design#36217)

* docs:update demo code

* docs: update Tabs demo code

* docs: update Tabs demo code

* chore(deps-dev): bump @types/jest-image-snapshot from 4.3.2 to 5.1.0 (ant-design#36229)

Bumps [@types/jest-image-snapshot](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest-image-snapshot) from 4.3.2 to 5.1.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest-image-snapshot)

---
updated-dependencies:
- dependency-name: "@types/jest-image-snapshot"
  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(deps): update dependency remark-cli to v11 (ant-design#36237)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore: dev config (ant-design#36240)

* fix: popover arrow support custom color (ant-design#36241)

* refactor: wrap Wave with FC (ant-design#36248)

* refactor: wrap Wave with FC

* test: update test case

* docs: add 4.21.4 changelog (ant-design#36246)

* docs: add 4.21.4 changelog

* fix

* reset

* chore(deps-dev): bump cheerio from 1.0.0-rc.10 to 1.0.0-rc.12 (ant-design#36255)

Bumps [cheerio](https://github.com/cheeriojs/cheerio) from 1.0.0-rc.10 to 1.0.0-rc.12.
- [Release notes](https://github.com/cheeriojs/cheerio/releases)
- [Changelog](https://github.com/cheeriojs/cheerio/blob/main/History.md)
- [Commits](cheeriojs/cheerio@v1.0.0-rc.10...v1.0.0-rc.12)

---
updated-dependencies:
- dependency-name: cheerio
  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>

* chore: update Belarusian locale (ant-design#36265)

* Edited Belarusian locale:
 - Added missed entries
 - Fixed some mistakes

* test: update snapshot

Co-authored-by: Aliaksiej Razumaŭ <belarusaed@gmail.com>

* docs: update English sketch file link (ant-design#36269)

* docs: English sketch file links from communicatity

* Update resources.en-US.md

* style(Divider): replace fixed class name with variable (ant-design#36271)

* test: replace test case with test lib (ant-design#36276)

* style: fix Table shadow bug in nested situation (ant-design#36277)

close ant-design#36203

* test: Fix table empty test (ant-design#36290)

* chore: reduce css bundle size (ant-design#36307)

* fix: arrow compatibility (ant-design#36266)

* fix: arrow campatibility

* chore: code clean

* chore: rm useless style

* chore: code clean

* fix: use inset

* chore: bundlesize optimization

* chore: rm useless style

* chore: rm useless style

* fix: Fixed an error when the loading property of the Button component… (ant-design#36288)

* fix: Fixed an error when the loading property of the Button component was passed into null

* Update components/button/button.tsx

Obviously, this suggestion is more concise , thanks a lot

Co-authored-by: afc163 <afc163@gmail.com>

* Update components/button/button.tsx

* Update components/button/button.tsx

Co-authored-by: kejianfeng <kejianfeng@cvte.com>
Co-authored-by: afc163 <afc163@gmail.com>

* test: move test cases to testing lib for Spin (ant-design#36317)

* test: move test cases to testing lib for Spin

* fix: types

* fix: lint

* test: move test cases to testing lib for Switch (ant-design#36326)

* add

* test: wave

* fix: type

* test: update snapshot (ant-design#36344)

* test: update snapshot

* test: update snapshot

* fix: checkbox should be disabled by form (ant-design#36345)

* fix: checkbox should be disabled by form

* chore: code clean

* test: update snapshot

* chore: snapshot

* test: move test cases to @testing/library for Carousel (ant-design#35926)

* test: move test cases to @testing/library for Carousel

* fix: wait for animation

* test: replace layout test case with test lib (ant-design#36323)

* test: replace layout test case with test lib

* test: fix react 18

* test: clean up

Co-authored-by: zombiej <smith3816@gmail.com>

* docs: v4.21.5 (ant-design#36353)

* docs: v4.21.5

* chore: add try time

* chore: update changelog

* chore(deps): update dependency eslint-plugin-unicorn to v43 (ant-design#36350)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* style: Radio focus shadow should be transparency (ant-design#36335)

* fix: ErrorList shaking (ant-design#36358)

* fix: ErrorList shaking

* fix: React 18 test case

* docs: replace lib with es (ant-design#36367)

* feat: Space support align stretch (ant-design#36310)

* feat/Space-component-support-align-stretch: support align to stretch

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* feat/Space-component-support-align-stretch: update document of zh-CN and en-US

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* feat/Space-component-support-align-stretch: update demo

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* feat/Space-component-support-align-stretch: update snapshot by command `npm test -- components/space -u`

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: Table hover perf (ant-design#36383)

* fix: correct border radius when table has title (ant-design#36384)

* style: fix size of close icon on Modal header (ant-design#36309)

* fix: update default.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: update variable.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* fix: update compact.less, set the @modal-header-close-size to @modal-header-title-line-height + 2 * @modal-header-padding-vertical to keep the close icon in the center of vertical

Signed-off-by: Chang Wei <changwei1006@gmail.com>

* Update index.en-US.md (ant-design#36400)

Fixed a typo

* docs: fix customize calendar example (ant-design#36356)

* docs: fix customize calendar example

* test: changed calendar snapshot

Co-authored-by: lico <lico@licoui-MacBookPro.local>

* docs(Typography): translate docs from English to Chinese (ant-design#36417)

* fix: fix table container z-index (ant-design#36420)

* fix: fix wrong color of date picker with status set (ant-design#35685)

* fix: fix wrong color of date picker with status set

* Update status.less

Co-authored-by: afc163 <afc163@gmail.com>

* feat: Update Doc (ant-design#36437)

Co-authored-by: meng.jia <meng.jia@ly.com>

* docs(Typography): fix `editable.onChange` parameter (ant-design#36443)

* fix: Upload item removed should keep status className (ant-design#36439)

* fix: Upload item removed should keep status className

* add test case

* test: fix act warning

* revert act test

* test: update snapshot

* docs: fix typo (ant-design#36450)

面包屑部分, "是"应该改为"时"

* fix: breadcrumb seperators hidden when used in list (ant-design#36448)

* style: fix Skeleton active lost border-radius in Safari (ant-design#36445)

* style: fix Skeleton active lost border-radius in Safari

* perf: reduce skeleton css bundle size

* chore: fix bundle size limit

* chore: fix active typing

* docs: 4.21.6 changelog (ant-design#36455)

* feat: Add support to Skeleton, which allow deployer use custom node as prop. (ant-design#36441)

* feat: Skeleton component supports for custom node

* fix: Clear redundant code

* refactor: Remove changes in package.json

* test: Update the snapshot of Skeleton demo

* Update components/skeleton/demo/element.md

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>

* docs: fix typo (ant-design#36457)

fix typo in useWatch.md

* docs: update index.zh-CN.md (ant-design#36471)

去掉文案描述中多的标点

* docs: moment version mismatched issue (ant-design#36473)

ant-design#36465 (comment)

* chore: bump mentions (ant-design#36479)

* fix: Select with percent width leaves unexpected height in Form (ant-design#36484)

* ci: add conch msg (ant-design#36481)

* ci: add conch msg

* Update release-helper.yml

* fix: tooltip cannot close on disabled Radio (ant-design#36483)

* fix: tooltip cannot close on disabled Radio

* test: add test

* ci: split notice (ant-design#36495)

* style: Table expandIcon style when column is fixed and ellipsis (ant-design#36496)

close ant-design#36485

* docs: simplified `Layout` component sample code (ant-design#36497)

the component example code expands to take up the entire monitor screen and is not well read

* chore: bump rc-tooltip (ant-design#36501)

* feat: add Form.Item.useStatus (ant-design#36486)

* feat: add useFormItemStatus

* chore: code clean

* docs: update example

* refactor: api change

* docs: fix typo

* docs: update docs

* docs: udpate

* chore: add warning

* test: add test case

* chore: update warning

* chore: code clean

* test: fix test case

* fix: SVG Upload Preview Error (ant-design#36402)

* Update utils.tsx

* style: unify img styling

Unify the styling  of img attribute setting.

* test: add previewImage test for svg file

Add previewImage test for SVG upload

* fix: remove charset

Remove charset in data url for text content.

* test: fix test

* fix: typo

* fix: correct patching for svg upload error

* fix: correct patching for svg upload error

* test: update test

* fix: fixed the non draggable element did not hide the draggable icon (ant-design#36511)

fix ant-design#33708

* docs: update select documentation

* refactor: move popconfirm content out (ant-design#36530)

* refactor: move popconfirm content out

* fix: lint

* test: update snapshot

* chore: update .gitignore (ant-design#36534)

* add Modal @modal-border-radius less variable (ant-design#36527)

* add Modal @modal-border-radius less variable

* fix:  add less variable

* chore(deps): update dependency eslint-plugin-markdown to v3 (ant-design#36560)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: form disabeld support Upload (ant-design#36573)

Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>

* docs: changelog for 4.21.7 (ant-design#36572)

* docs: changelog for 4.21.7

* chore: bump version to 4.21.7

* docs: update changelog

* docs: append a new changelog

* ci: fix publish (ant-design#36580)

* fix: Form validate message shaking (ant-design#36575)

* refactor: move component out

* refactor: clean up code

* chore: stable it

* chore: back of container

* chore: adjust leave motion

* test: update snapshot

* chore: update motion logic

* fix: list start motion

* test: update snapshot

* test: update snapshot

* test: test for marginBottom

* docs: menu faq (ant-design#36604)

* docs: menu faq

* docs: patch codesandbox

* style: fix Table tree data ellipsis style problem (ant-design#36608)

close ant-design#36583

* style: fix Table extra shadow and scrollbar when all columns are fixed

Co-authored-by: weiwang <wren@xuncetech.com>

* feat: Replace input-number part test with testing lib (ant-design#36080)

* feat: Replace input-number part test with testing lib

* feat: update rc-input-number version

* test: move test cases to testing lib for Collapse (ant-design#36227)

* test: move test cases to testing lib for Collapse

* chore: remove useless file

* fix: react 18 concurrent

* chore: remove useless file

* docs: tabpane add `disabled` (ant-design#36634)

close ant-design#36610

* docs: faq for internal API (ant-design#36643)

* Revert "feat: Space support align stretch (ant-design#36310)" (ant-design#36650)

This reverts commit bfa8aae.

* fix(Tree): DraggableFn params type (ant-design#36648)

* fix(Tree): DraggableFn params type

* chore: add blank line

* test: add typ test for draggable Fn

* test: add typ test for draggable Fn

Co-authored-by: tianyuan233 <zty.dev@outlook.com>

* fix(modal):  Modal.xxx onCancel close argument is not a function  (ant-design#36600)

* fix(modal):  fix the error of `onCancel` parameter of modal returned by `useModal`

resolve: 36581

ref: ant-design#36581 (comment)

* test(confirm): 补充 modal 测试用例

* test(modal): 添加测试用例

* Revert "fix(modal):  fix the error of `onCancel` parameter of modal returned by `useModal`"

This reverts commit e4fcb3e.

* fix(modal): fix modal onOk/onCancel method is not a valid function when there is a close parameter

closed: ant-design#36581

* chore: cancel the introduction of `noop` from third-party library

* chore: write React.ChangeEvent<E> once (ant-design#36644)

* feat: Tree/TreeSelect `switcherIcon` support more parameter in argument (ant-design#36651)

* docs: renew Select dropdownRender demo and FAQ  (ant-design#36665)

* docs: renew Select dropdownRender FAQ and demo

* chore: update snapshot

* chore: fix Select demo tsc

* chore: fix Select demo tsc

* test: move-test-cases-to-testing-lib-for-Radio (ant-design#36664)

* test: move-test-cases-to-testing-lib-for-Radio

* update toMatchSnapshot

Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>

* feat: Typography `ellipsis.tooltip` could be a object  (ant-design#36099)

* feat: add tooltipProps

* feat: doc

* feat: props

* feat: props

* feat: props

* feat: docs

* feat: review

* feat: add tooltipProps

* feat: doc

* feat: props

* feat: props

* feat: props

* feat: docs

* feat: review

* Revert "fix: Upload item removed should keep status className (ant-design#36439)" (ant-design#36682)

This reverts commit cebbe23.

* chore: resolve conflict of feature merge master

* refactor: Drawer refactor (ant-design#36672)

* chore: back part of styl

* chore: all basic

* test: part test case

* test: part test case

* test: more test case

* test: update snapshot

* test: demo test support

* test: update snapshot

* chore: adjust mock logic to inject on rc-drawer instead

* test: more snapshot

* chore: adjust pos

* chore: back of render

* test: drawer demo extends test

* chore: prefer using type-compatible-assigning over using type-assertion (ant-design#36694)

* chore: update the PULL_REQUEST_TEMPLATE (ant-design#36700)

* chore: Support deprecated version warning (ant-design#36701)

* docs: fix Menu api layout (ant-design#36697)

Co-authored-by: zhanghaoqiang <zhanghq7458@joyowo.com>

* fix: Upload item removed should keep status className (ant-design#36706)

* fix: not blink of remove file

* test: test case of remove

* chore: refine getScroll internal signature and some assertion (ant-design#36695)

* chore: refine getScroll internal signature and some assertion

* fix: for mock scenario to passing tests

* docs: add changelog 4.22.0 (ant-design#36699)

* docs: add changelog 4.22.0

* docs: update package

* docs: update

* Update CHANGELOG.zh-CN.md

Co-authored-by: MadCcc <1075746765@qq.com>

* Update CHANGELOG.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>

* docs: update

* Update CHANGELOG.en-US.md

* Update CHANGELOG.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update CHANGELOG.en-US.md

Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>

* chore: 替换 bundlesize 为 size-limit (ant-design#36712)

* chore: 替换 bundlesize 为 size-limit

* 恢复 bundlesize

* test: replace Cascader test case with test library (ant-design#36475)

* test: relpace test case with test library

* test: fix test case

* test: replace snapshot

Co-authored-by: 二货机器人 <smith3816@gmail.com>

* ci: 添加 size-limit 的 workflows (ant-design#36721)

* fix: Drawer width with ptg (ant-design#36729)

* fix: Drawer width with ptg

* test:Update snapshot

* docs: 4.22.1 changelog (ant-design#36732)

* fix: Not work in old browser (ant-design#36748)

* fix: Drawer contentWrapperStyle logic

* fix: Update style

* test: Update snapshot

* test: More test case

* chore: collapse title text auto width (ant-design#36761)

* chore: collapse title text auto width

* test: fix mock snapshot

* docs: 4.22.2 changelog (ant-design#36764)

* docs: 4.22.2 changelog

* docs: more changelog

* fix: fix row in flex layout size cal (ant-design#36770)

* docs: Form disabled version (ant-design#36760)

* docs: Form disabled version

* test: update snapshot

* fix: Form vertical with span row (ant-design#36800)

* fix: form vertical with span

* test: update snapshot

* chore(deps): update dependency size-limit to v8 (ant-design#36803)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @size-limit/file to v8 (ant-design#36802)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix: upload list item flashes after being removed in react18 (ant-design#36801)

* Fix custom less variable being overwritten (ant-design#36805)

* docs: add changelog 4.22.3 (ant-design#36812)

* chore: clean Drawer ts def (ant-design#36823)

* docs: Add tag info (ant-design#36843)

* style(drawer): fix drawer nesting style pollution (ant-design#36845)

Co-authored-by: eason.ym <eason.ym@alibaba-inc.com>

* test: move test cases to testing-library for Skeleton (ant-design#36856)

* refactor: rewrite header and footer by FunctionComponent (ant-design#36851)

* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* docs: Tech TS params usage (ant-design#36865)

* fix: strong type (ant-design#36868)

* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* chore: Make `data-${string}` undefinable (ant-design#36858)

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent (ant-design#36876)

* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent

* style: formatting

* Create disscustion-open-check.yml

* fix(Table): onChange `sorter` param types (ant-design#36710)

* fix(types): fixes `sorter` param types

* chore: add test case

* Update type.test.tsx

* Update type.test.tsx

* test: Replace slider part test with testing lib (ant-design#36888)

* chore: upgrade rc-mentions to v1.9.1 (ant-design#36898)

* pref: add useCallback/useMemo (ant-design#36877)

* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent

* style: formatting

* pref: add useCallback/useMemo

* style: button focus style should not stay after click (ant-design#36902)

:focus => :focus-visible

close ant-design#36896

* style: reduce some css code (ant-design#36904)

* test: move test cases to testing lib for Progress (ant-design#36826)

Co-authored-by: gaokaifei <gaokaifei@maxtropy.com>

* refactor: use typescript refactor javascript (ant-design#36907)

* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent

* style: formatting

* pref: add useCallback/useMemo

* refactor: use typescript refactor javascript

* fix: remove string

* fix: fix eslint

* fix: testing act error (ant-design#36915)

* test: switch act from react-dom/test-utils to testing-library/react

* test: fix jest.runAllTimers usage with act

Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>

* feat(Avatar): add `onClick` prop (ant-design#36940)

* test: change act import from utils use act wrap timer and not wrap fireEvent (ant-design#36921)

Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>

* chore: disable jest/no-standalone-expect (ant-design#36942)

* docs: upgrade codesandbox to react 18 (ant-design#36951)

* docs(:sparkles:): release 4.22.4 (ant-design#36952)

* docs: update changelog date

* do'c's):add onChange props for useFormItemStatus description code (ant-design#36929)

* fix(docs):fix useFormItemStatus description code

* fix():修复CR意见

* fix: Drawer zIndex (ant-design#36958)

* docs: add changelog for ant-design#36958

* test: refactor autocomplete test with screen and userEvent (ant-design#36953)

* AutoComplete(test): refactor custom input autocomplete with userEvent and screen

* AutoComplete(test): refactor dataSource is object array with screen and userEvent

* AutoComplete(test): update file name to tsx and refactor with screen

* AutoComplete(test): option test refactor

* AutoComplete(test): className test refactor

* remove fireEvent

* ignore ts error

* disable no-console

Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>

* test: replace notification part test with testing lib (ant-design#36924)

* test: replace Calendar part test with testing lib (ant-design#36927)

* test: replace message part test with testing lib (ant-design#36923)

* test: Adjust Drawer test case (ant-design#36964)

* chore: fix riddle demo (ant-design#36965)

* fix: Upload in React 18 sync problem (ant-design#36968)

* fix: sync flush

* test: test case

* test: fix deps

* chore: update release-helper workflow

* style(Select): error border exclueds pagination (ant-design#36972)

Co-authored-by: hydraZty <hydra_zty@163.com>

* feat: Form add defaultValidateMessages.i18n az_AZ language ant-design#23369 (ant-design#36967)

* test: migrate part of Descriptions tests (ant-design#36970)

* refactor: rewrite header by FunctionComponent

* refactor: rewrite footer by FunctionComponent

* fix: strong type

* refactor: rewrite IconDisplay & PicSearcher & Category by FunctionComponent

* style: formatting

* pref: add useCallback/useMemo

* refactor: use typescript refactor javascript

* fix: remove string

* fix: fix eslint

* test: migrate part of Descriptions tests

* test: migrate part of Descriptions tests

* test: migrate part of Descriptions tests

* fix: eslint error fix (ant-design#36976)

* chore: update image demo snapshot

* style: fix Progress tail position (ant-design#36996)

* style(Popover): remove incorrect box-shadow (ant-design#37030)

* docs: fix useWatch type error (ant-design#37013)

* chore(deps-dev): bump stylelint-config-standard from 26.0.0 to 27.0.0 (ant-design#37022)

Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) from 26.0.0 to 27.0.0.
- [Release notes](https://github.com/stylelint/stylelint-config-standard/releases)
- [Changelog](https://github.com/stylelint/stylelint-config-standard/blob/main/CHANGELOG.md)
- [Commits](stylelint/stylelint-config-standard@26.0.0...27.0.0)

---
updated-dependencies:
- dependency-name: stylelint-config-standard
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* test: migrate part of Mentions tests (ant-design#36998)

* test: migrate part of Popover tests (ant-design#36997)

* docs: add 4.22.5 changelog (ant-design#37049)

* add 4.22.5 changelog

* fix

* chore: fix rtl cannot revert in Safari (ant-design#37052)

close ant-design#37035

* test: replace Menu test case with test lib (ant-design#37046)

* test: replace test case with test lib

* test: Update test case to make more sense

* chore: trigger ci

* test: rm firstChild

Co-authored-by: 二货机器人 <smith3816@gmail.com>

* test: migrate part of TimePicker tests (ant-design#37055)

* test: migrate part of TimePicker tests

* test: test clearIcon

* test: migrate part of TimePicker tests

Co-authored-by: 二货机器人 <smith3816@gmail.com>

* test: move test cases to testing-library for DropDown (ant-design#37003)

* temp

* fix: mock esmodule default for Dropdown

* test: move test cases to testing-library for DropDown

* chore: remove console

* fix: snapshot test

* refactor: jest mock improvement

* chore: post script includes current info (ant-design#37056)

* chore: release script includes current info

* chore: more issue

* feat: replace testing-lib(replace .js to .ts) (ant-design#37042)

* test: move test cases to testing-library for Grid (ant-design#37057)

* test: move test cases to testing-library for Grid

* fix: test when typeof gutter is object array in large screen

* Revert "fix(Table): onChange `sorter` param types (ant-design#36710)"

This reverts commit 9e7e32b.

* docs: update 4.0 sketch file link (ant-design#37085)

* docs: update 4.0 sketch file link

* docs: add dark theme sketh

* fix: Drawer add motion deadline (ant-design#37100)

* fix: Drawer add motion deadline

* test: Update snapshot

* test: ignore motion in snapshot render

* docs: 4.22.6 changelog (ant-design#37101)

* docs: 4.22.6

* chore: changelog version

* chore: update

* fix: Accordions are missing expand and collapse states (ant-design#37065)

* UIEN-1399 - Accordions are missing expand and collapse states

* update tests

* updated snapshots

* fix: Move @testing-library/user-event to devDependencies (ant-design#37098)

* test: add table multi-sort case (ant-design#37109)

* test: add table multi-sort case

* chore: code clean

* fix: InputNumber border-radius and handle color style (ant-design#37070)

* style: use @checkbox-border-radius (ant-design#37131)

* feat: update infra-design-icons and add ICommit svg

Signed-off-by: Chang Wei <changwei1006@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dingkang <dingkang0458@gmail.com>
Co-authored-by: zombiej <smith3816@gmail.com>
Co-authored-by: vagusX <vagusX@users.noreply.github.com>
Co-authored-by: csr632 <632882184@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: kalykun <984757534@qq.com>
Co-authored-by: Yuki Zhang <foryuki@outlook.com>
Co-authored-by: Humble <745653239@qq.com>
Co-authored-by: zhang lay <lay.zhang@shopee.com>
Co-authored-by: yykoypj <601924094@qq.com>
Co-authored-by: C. T. Lin <chentsulin@gmail.com>
Co-authored-by: Jaylan <JaylanChen@users.noreply.github.com>
Co-authored-by: JaylanChen <JaylanChen@126.com>
Co-authored-by: 龙风 <455947455@qq.com>
Co-authored-by: RainyLiao <90637572+RainyLiao@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dennis Chen <dennisc695@icloud.com>
Co-authored-by: slotDumpling <67586451+slotDumpling@users.noreply.github.com>
Co-authored-by: pfsu <wellssu0@gmail.com>
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: සයුරි | Sayuri <85907926+sayuri-gi@users.noreply.github.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: Andrew Horn <arhorn@smcm.edu>
Co-authored-by: Ryan Cavanaugh <RyanCavanaugh@users.noreply.github.com>
Co-authored-by: Dunqing <dengqing0821@gmail.com>
Co-authored-by: dengqing <qing.deng@goldenpig.com.cn>
Co-authored-by: 社长长 <ischenkan@outlook.com>
Co-authored-by: shezhangzhang <chenkan@ChenKan-Mac.local>
Co-authored-by: Alan Deng <alanhaledc@gmail.com>
Co-authored-by: Tianyuan Zhang <tianyuan233.zhang@gmail.com>
Co-authored-by: 陈帅 <qixian.cs@outlook.com>
Co-authored-by: Aliaksiej Razumaŭ <belarusaed@gmail.com>
Co-authored-by: Jamki <13414367591@163.com>
Co-authored-by: kejianfeng <kejianfeng@cvte.com>
Co-authored-by: Chang Wei <changwei1006@gmail.com>
Co-authored-by: Yunwoo Ji <unu12073@gmail.com>
Co-authored-by: Kirill Barsukov <43782731+KirillSBarsukov@users.noreply.github.com>
Co-authored-by: hsk-kr <57546034+hsk-kr@users.noreply.github.com>
Co-authored-by: lico <lico@licoui-MacBookPro.local>
Co-authored-by: 舜岳 <1277952981@qq.com>
Co-authored-by: simplejason <simplejason.coder@gmail.com>
Co-authored-by: NinJa <386805508@qq.com>
Co-authored-by: meng.jia <meng.jia@ly.com>
Co-authored-by: 王小王 <wsp971@163.com>
Co-authored-by: Leon Kattendick <75811671+LeonKattendick@users.noreply.github.com>
Co-authored-by: Dawnlck <chaokai.lck@antgroup.com>
Co-authored-by: Sg <suica@users.noreply.github.com>
Co-authored-by: bobo <625391250@qq.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Wuxh <wxh16144@qq.com>
Co-authored-by: Jon <31494475+jonioni@users.noreply.github.com>
Co-authored-by: Wuxh <wxh1220@gmail.com>
Co-authored-by: Neil <100huming@gmail.com>
Co-authored-by: fairyland <cwjTerrace@163.com>
Co-authored-by: ranrui.cwj <ranrui.cwj@alibaba-inc.com>
Co-authored-by: Peach <scdzwyxst@gmail.com>
Co-authored-by: dashaowang <40166750+dashaowang@users.noreply.github.com>
Co-authored-by: weiwang <wren@xuncetech.com>
Co-authored-by: 黑雨 <wangning4567@163.com>
Co-authored-by: tianyuan233 <zty.dev@outlook.com>
Co-authored-by: Zheeeng <hi@zheeeng.me>
Co-authored-by: 叶枫 <7971419+crazyair@users.noreply.github.com>
Co-authored-by: hoho2017 <hoho2017@users.noreply.github.com>
Co-authored-by: zhanghaoqiang <zhanghq7458@joyowo.com>
Co-authored-by: lihao <dahao@qq.com>
Co-authored-by: zhengjitf <zhengjitf@gmail.com>
Co-authored-by: Len <wangl_msg@163.com>
Co-authored-by: yanm1ng <644169721@qq.com>
Co-authored-by: eason.ym <eason.ym@alibaba-inc.com>
Co-authored-by: yifanwww <yifanw1101@gmail.com>
Co-authored-by: 他不是牛马 <lzm0x219@gmail.com>
Co-authored-by: JarvisArt <38420763+JarvisArt@users.noreply.github.com>
Co-authored-by: gaokaifeis <gaokf0103@163.com>
Co-authored-by: gaokaifei <gaokaifei@maxtropy.com>
Co-authored-by: clean99 <xff9924@gmail.com>
Co-authored-by: ian.xufeng <ian.xufeng@shopee.com>
Co-authored-by: Qiuhang817385 <38211706+Qiuhang817385@users.noreply.github.com>
Co-authored-by: hydraZty <670688667@qq.com>
Co-authored-by: hydraZty <hydra_zty@163.com>
Co-authored-by: YMiemie-cy <74303386+YMiemie-cy@users.noreply.github.com>
Co-authored-by: jinrui <jerrykingxyz@gmail.com>
Co-authored-by: ZhiHao Li <940166841@qq.com>
Co-authored-by: Dmitry Artamonov <41914249+dartamonov-vertex@users.noreply.github.com>
Co-authored-by: nuintun <nuintun@gmail.com>
Co-authored-by: Haniel Cui <coldice945@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants