Open renovate[bot] opened 1 year ago
This PR contains the following updates:
^5.4.6
^5.22.2
📅 Schedule: Branch creation - "on the first day of the month" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
This PR contains the following updates:
^5.4.6
->^5.22.2
Release Notes
ant-design/ant-design (antd)
### [`v5.22.2`](https://redirect.github.com/ant-design/ant-design/compare/5.22.1...4dfa7ddf5ed998c61f4d43206ed1fb2afaf5d838) [Compare Source](https://redirect.github.com/ant-design/ant-design/compare/5.22.1...5.22.2) ### [`v5.22.1`](https://redirect.github.com/ant-design/ant-design/releases/tag/5.22.1) [Compare Source](https://redirect.github.com/ant-design/ant-design/compare/5.22.0...5.22.1) - 🛠 Adjust DatePicker.RangePicker to not allow switching to the next field by clicking the input when `needConfirm` and the user has not submitted the date. [#51591](https://redirect.github.com/ant-design/ant-design/pull/51591) [@zombieJ](https://redirect.github.com/zombieJ) - 🛠 Lock Input.OTP `ctrl + z` operation to avoid data not correct. [#51609](https://redirect.github.com/ant-design/ant-design/pull/51609) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 Fix Select `tags` or `multiple` mode display issue. [#51605](https://redirect.github.com/ant-design/ant-design/pull/51605) [@guoyunhe](https://redirect.github.com/guoyunhe) - 🐞 Fix Badge `count` motion missing in Safari. [#51598](https://redirect.github.com/ant-design/ant-design/pull/51598) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 Fix Tabs with `centered` the tabs can not fully display. [#51571](https://redirect.github.com/ant-design/ant-design/pull/51571) [@DDDDD12138](https://redirect.github.com/DDDDD12138) - 🐞 Fix Transfer with controlled `dataSource` & `selectedKeys` sometime miss sync checked state. [#51523](https://redirect.github.com/ant-design/ant-design/pull/51523) [@IsKaros](https://redirect.github.com/IsKaros) - 🐞 Revert Button `display` `inline-flex` back to `inline-block` to resolve Icon align issue. [#51588](https://redirect.github.com/ant-design/ant-design/pull/51588) [@Wxh16144](https://redirect.github.com/Wxh16144) *** - 🛠 调整 DatePicker.RangePicker 当 `needConfirm` 切用户未提交日期时,不允许通过点击输入框切换到下一个字段。[#51591](https://redirect.github.com/ant-design/ant-design/pull/51591) [@zombieJ](https://redirect.github.com/zombieJ) - 🛠 禁用 Input.OTP `ctrl + z` 操作以防止数据变化非预期的问题。[#51609](https://redirect.github.com/ant-design/ant-design/pull/51609) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 修复 Select 标签模式下展示异常的问题。[#51605](https://redirect.github.com/ant-design/ant-design/pull/51605) [@guoyunhe](https://redirect.github.com/guoyunhe) - 🐞 修复 Badge `count` 在 Safari 下动画丢失的问题。[#51598](https://redirect.github.com/ant-design/ant-design/pull/51598) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 修复 Tabs `centered` 下标签展示不全的问题。[#51571](https://redirect.github.com/ant-design/ant-design/pull/51571) [@DDDDD12138](https://redirect.github.com/DDDDD12138) - 🐞 修复 Transfer 受控 `dataSource` 和 `selectedKeys` 时,偶尔会出现勾选不正确的问题。[#51523](https://redirect.github.com/ant-design/ant-design/pull/51523) [@IsKaros](https://redirect.github.com/IsKaros) - 🐞 回滚 Button `display` 的 `inline-flex` 为 `inline-block` 以解决 Icon 位置偏移的问题。[#51588](https://redirect.github.com/ant-design/ant-design/pull/51588) [@Wxh16144](https://redirect.github.com/Wxh16144) ### [`v5.22.0`](https://redirect.github.com/ant-design/ant-design/releases/tag/5.22.0) [Compare Source](https://redirect.github.com/ant-design/ant-design/compare/5.21.6...5.22.0) - Form - 🆕 Form.Item supports hiding labels. [#51524](https://redirect.github.com/ant-design/ant-design/pull/51524) [@crazyair](https://redirect.github.com/crazyair) - 🐞 Form removes the div used to expand the error height, wraps errorDom and extraDom with a div, and sets a minimum height for the div. [#51254](https://redirect.github.com/ant-design/ant-design/pull/51254) [@hongzzz](https://redirect.github.com/hongzzz) - 🐞 Fix the problem that `onValuesChange` is still triggered when the Form field triggers change but the value does not change. [#51437](https://redirect.github.com/ant-design/ant-design/pull/51437) [@crazyair](https://redirect.github.com/crazyair) - 🆕 Form supports the focus property in scrollToFirstError when form validation fails. [#51231](https://redirect.github.com/ant-design/ant-design/pull/51231) [@nathanlao](https://redirect.github.com/nathanlao) - Table - 🆕 Table column filter drop-down box supports `filterDropdownProps`. [#51297](https://redirect.github.com/ant-design/ant-design/pull/51297) [@Wxh16144](https://redirect.github.com/Wxh16144) - 🆕 Table `expandedRowClassName` supports string . [#51067](https://redirect.github.com/ant-design/ant-design/pull/51067) [@li-jia-nan](https://redirect.github.com/li-jia-nan) - Tree - 💄 Fix the problem of missing padding style for selected nodes in Tree. [#51492](https://redirect.github.com/ant-design/ant-design/pull/51492) [@zombieJ](https://redirect.github.com/zombieJ) - 🆕 Tree component Token adds `nodeHoverColor` and `nodeSelectedColor` support. [#51367](https://redirect.github.com/ant-design/ant-design/pull/51367) [@zmbxy](https://redirect.github.com/zmbxy) - 🆕 Tree adds `indentSize` token for custom indent width. [#51010](https://redirect.github.com/ant-design/ant-design/pull/51010) [@afc163](https://redirect.github.com/afc163) - DatePicker - 🆕 DatePicker supports prefix attribute. [#51335](https://redirect.github.com/ant-design/ant-design/pull/51335) [@guoyunhe](https://redirect.github.com/guoyunhe) - 💄 Fixed the issue of DatePicker.RangePicker flashing when the mouse moves between cells. [#51533](https://redirect.github.com/ant-design/ant-design/pull/51533) [@afc163](https://redirect.github.com/afc163) - Input.OTP - 🆕 In the `Input.OTP` component, add `onInput` event to get the value of each user input. At the same time, the relevant documentation has been updated. [#51289](https://redirect.github.com/ant-design/ant-design/pull/51289) [@aojunhao123](https://redirect.github.com/aojunhao123) - 🐞 Fixed the problem that Input.OTP cannot specify `inputMode`. [#51271](https://redirect.github.com/ant-design/ant-design/pull/51271) [@alan-rudzinski](https://redirect.github.com/alan-rudzinski) - 🆕 ColorPicker supports `disabledFormat`. [#51539](https://redirect.github.com/ant-design/ant-design/pull/51539) [@su-muzhi](https://redirect.github.com/su-muzhi) - 🆕 Add `cursor` configuration item to the `focus` method of InputNumber component to control the cursor position. [#51444](https://redirect.github.com/ant-design/ant-design/pull/51444) [@aojunhao123](https://redirect.github.com/aojunhao123) - 🆕 Cascader adds `disabled` attribute to disable all first-level directory items of the component. [#51272](https://redirect.github.com/ant-design/ant-design/pull/51272) [@aojunhao123](https://redirect.github.com/aojunhao123) - 🆕 Descriptions supports single-line spreading. [#51365](https://redirect.github.com/ant-design/ant-design/pull/51365) [@crazyair](https://redirect.github.com/crazyair) - 🆕 Select/TreeSelect/Cascader components add `prefix` property to support custom prefix. [#51186](https://redirect.github.com/ant-design/ant-design/pull/51186) [@guoyunhe](https://redirect.github.com/guoyunhe) - 🐞 Fix the problem that the preview image class name is lost when setting `ImageProps.preview.rootClassName` in Image. [#51538](https://redirect.github.com/ant-design/ant-design/pull/51538) [@dislido](https://redirect.github.com/dislido) - 🐞 Fixed the issue that the last item in the TimePicker panel column cannot be scrolled to the top. [#51481](https://redirect.github.com/ant-design/ant-design/pull/51481) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 Fix TreeSelect dropdown height not enough. [#51567](https://redirect.github.com/ant-design/ant-design/pull/51567) [@afc163](https://redirect.github.com/afc163) - 🐞 Fixed the issue that Typography is not updated immediately when the ConfigProvider language is switched. [#51453](https://redirect.github.com/ant-design/ant-design/pull/51453) [@thinkasany](https://redirect.github.com/thinkasany) - 🐞 Fixed the issue that Upload `itemRender` calling `action.preview` will cause a crash. [#51419](https://redirect.github.com/ant-design/ant-design/pull/51419) [@yoyo837](https://redirect.github.com/yoyo837) - 🐞 Fixed Splitter pseudo-element symbol issue. [#51536](https://redirect.github.com/ant-design/ant-design/pull/51536) [@dislido](https://redirect.github.com/dislido) - 💄 Optimize Collapse accessibility attribute and mouse hover style. [#51400](https://redirect.github.com/ant-design/ant-design/pull/51400) [@afc163](https://redirect.github.com/afc163) - 💄 Fix styling issue of Menu title content. [#51425](https://redirect.github.com/ant-design/ant-design/pull/51425) [@coding-ice](https://redirect.github.com/coding-ice) - 🇵🇹 Fix translation in Portuguese (pt_PT) localization file for better accuracy and consistency. [#51501](https://redirect.github.com/ant-design/ant-design/pull/51501) [@alexandre-p-marques-alb](https://redirect.github.com/alexandre-p-marques-alb) - 🇺🇿 Optimize uz_UZ internationalization. [#51407](https://redirect.github.com/ant-design/ant-design/pull/51407) [@Zukhrik](https://redirect.github.com/Zukhrik) - TypeScript - 🤖 Upload exports type DraggerProps. [#51546](https://redirect.github.com/ant-design/ant-design/pull/51546) [@DBvc](https://redirect.github.com/DBvc) - 🤖 Add defaultValue property to TimePicker.RangePicker example. [#51413](https://redirect.github.com/ant-design/ant-design/pull/51413) [@nathanlao](https://redirect.github.com/nathanlao) - 🤖 Message Optimize the top type in message.config. [#51468](https://redirect.github.com/ant-design/ant-design/pull/51468) [@Fog3211](https://redirect.github.com/Fog3211) - 🤖 Optimize the TS definition of Tree and TreeSelect. [#51251](https://redirect.github.com/ant-design/ant-design/pull/51251) [@afc163](https://redirect.github.com/afc163) *** - Form - 🆕 Form.Item 支持隐藏 label。[#51524](https://redirect.github.com/ant-design/ant-design/pull/51524) [@crazyair](https://redirect.github.com/crazyair) - 🐞 Form 移除了用于撑开 error 高度的 div,将 errorDom 和 extraDom 用一个 div 包裹,并为该 div 设置了最小高度。[#51254](https://redirect.github.com/ant-design/ant-design/pull/51254) [@hongzzz](https://redirect.github.com/hongzzz) - 🐞 修复 Form 在字段触发 change 但是值没有变化时,`onValuesChange` 仍然会触发的问题。[#51437](https://redirect.github.com/ant-design/ant-design/pull/51437) [@crazyair](https://redirect.github.com/crazyair) - 🆕 Form 支持在表单验证失败时,scrollToFirstError 中的 focus 属性。[#51231](https://redirect.github.com/ant-design/ant-design/pull/51231) [@nathanlao](https://redirect.github.com/nathanlao) - Table - 🆕 Table 列过滤下拉框支持 `filterDropdownProps`。[#51297](https://redirect.github.com/ant-design/ant-design/pull/51297) [@Wxh16144](https://redirect.github.com/Wxh16144) - 🆕 Table `expandedRowClassName` 支持 string 。[#51067](https://redirect.github.com/ant-design/ant-design/pull/51067) [@li-jia-nan](https://redirect.github.com/li-jia-nan) - Tree - 💄 修复 Tree 选中节点丢失 padding 样式的问题。[#51492](https://redirect.github.com/ant-design/ant-design/pull/51492) [@zombieJ](https://redirect.github.com/zombieJ) - 🆕 Tree 组件 Token 增加 `nodeHoverColor` 和 `nodeSelectedColor` 支持。[#51367](https://redirect.github.com/ant-design/ant-design/pull/51367) [@zmbxy](https://redirect.github.com/zmbxy) - 🆕 Tree 新增 `indentSize` token 用于自定义缩进宽度。[#51010](https://redirect.github.com/ant-design/ant-design/pull/51010) [@afc163](https://redirect.github.com/afc163) - DatePicker - 🆕 DatePicker 支持 `prefix` 属性。[#51335](https://redirect.github.com/ant-design/ant-design/pull/51335) [@guoyunhe](https://redirect.github.com/guoyunhe) - 💄 修复 DatePicker.RangePicker 当鼠标移动到单元格之间时出现闪烁样式的问题。[#51533](https://redirect.github.com/ant-design/ant-design/pull/51533) [@afc163](https://redirect.github.com/afc163) - Input.OTP - 🆕 Input.OTP 组件新增 `onInput` 事件用于获取用户每一次输入的值。[#51289](https://redirect.github.com/ant-design/ant-design/pull/51289) [@aojunhao123](https://redirect.github.com/aojunhao123) - 🐞 修复 Input.OTP 无法指定 `inputMode` 的问题。[#51271](https://redirect.github.com/ant-design/ant-design/pull/51271) [@alan-rudzinski](https://redirect.github.com/alan-rudzinski) - 🆕 ColorPicker 支持 `disabledFormat` 属性以禁用格式切换器。[#51539](https://redirect.github.com/ant-design/ant-design/pull/51539) [@su-muzhi](https://redirect.github.com/su-muzhi) - 🆕 为 InputNumber 组件的 `focus` 方法增加 `cursor` 配置项以控制光标位置。[#51444](https://redirect.github.com/ant-design/ant-design/pull/51444) [@aojunhao123](https://redirect.github.com/aojunhao123) - 🆕 Cascader 新增 `disabled` 属性以禁用组件的所有一级目录项。[#51272](https://redirect.github.com/ant-design/ant-design/pull/51272) [@aojunhao123](https://redirect.github.com/aojunhao123) - 🆕 Descriptions 支持单行铺满。[#51365](https://redirect.github.com/ant-design/ant-design/pull/51365) [@crazyair](https://redirect.github.com/crazyair) - 🆕 Select/TreeSelect/Cascader 组件增加 `prefix` 属性以支持自定义前缀。[#51186](https://redirect.github.com/ant-design/ant-design/pull/51186) [@guoyunhe](https://redirect.github.com/guoyunhe) - 🐞 修复 Image 设置 `ImageProps.preview.rootClassName` 导致预览图类名丢失。[#51538](https://redirect.github.com/ant-design/ant-design/pull/51538) [@dislido](https://redirect.github.com/dislido) - 🐞 修复 TimePicker 面板列的最后一项无法滚动到最上面的问题。[#51481](https://redirect.github.com/ant-design/ant-design/pull/51481) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 修复 TreeSelect 弹层高度不够的问题。[#51567](https://redirect.github.com/ant-design/ant-design/pull/51567) [@afc163](https://redirect.github.com/afc163) - 🐞 修复 Typography 在 ConfigProvider 语言切换时候没有立即更新。[#51453](https://redirect.github.com/ant-design/ant-design/pull/51453) [@thinkasany](https://redirect.github.com/thinkasany) - 🐞 修复 Upload `itemRender` 调用 `action.preview` 会导致崩溃的问题。[#51419](https://redirect.github.com/ant-design/ant-design/pull/51419) [@yoyo837](https://redirect.github.com/yoyo837) - 🐞 修复 Splitter 伪元素符号问题。[#51536](https://redirect.github.com/ant-design/ant-design/pull/51536) [@dislido](https://redirect.github.com/dislido) - 💄 优化 Collapse 可访问性属性和鼠标 hover 样式。[#51400](https://redirect.github.com/ant-design/ant-design/pull/51400) [@afc163](https://redirect.github.com/afc163) - 💄 修复 Menu title 内容的样式问题。[#51425](https://redirect.github.com/ant-design/ant-design/pull/51425) [@coding-ice](https://redirect.github.com/coding-ice) - 🇵🇹 修正葡萄牙语 (pt_PT) 本地化文件中的翻译,以提高准确性和一致性。[#51501](https://redirect.github.com/ant-design/ant-design/pull/51501) [@alexandre-p-marques-alb](https://redirect.github.com/alexandre-p-marques-alb) - 🇺🇿 优化 uz_UZ 国际化。[#51407](https://redirect.github.com/ant-design/ant-design/pull/51407) [@Zukhrik](https://redirect.github.com/Zukhrik) - TypeScript - 🤖 Upload 导出类型 DraggerProps。[#51546](https://redirect.github.com/ant-design/ant-design/pull/51546) [@DBvc](https://redirect.github.com/DBvc) - 🤖 将 defaultValue 属性添加到 TimePicker.RangePicker 示例中。[#51413](https://redirect.github.com/ant-design/ant-design/pull/51413) [@nathanlao](https://redirect.github.com/nathanlao) - 🤖 Message 优化 message.config 中的 top 类型。[#51468](https://redirect.github.com/ant-design/ant-design/pull/51468) [@Fog3211](https://redirect.github.com/Fog3211) - 🤖 优化 Tree 和 TreeSelect 的 TS 定义。[#51251](https://redirect.github.com/ant-design/ant-design/pull/51251) [@afc163](https://redirect.github.com/afc163) ### [`v5.21.6`](https://redirect.github.com/ant-design/ant-design/releases/tag/5.21.6) [Compare Source](https://redirect.github.com/ant-design/ant-design/compare/5.21.5...5.21.6) - 🐞 Fix Tree.DirectoryTree interactive area not being a whole row. [#51210](https://redirect.github.com/ant-design/ant-design/pull/51210) - 🐞 Fix the Button icon was not vertically centered. [#51381](https://redirect.github.com/ant-design/ant-design/pull/51381) - 🐞 Fix the pointer style not set to `not-allowed` in the `disabled` state when `variant` of the Input was set to `borderless`. [#51387](https://redirect.github.com/ant-design/ant-design/pull/51387) [@ustcfury](https://redirect.github.com/ustcfury) - Splitter - 💄 Improve the pre-rendered style of Splitter under SSR. [#51378](https://redirect.github.com/ant-design/ant-design/pull/51378) - 💄 Increased the click area of the Splitter collapse button to improve usability. [#51383](https://redirect.github.com/ant-design/ant-design/pull/51383) [@aojunhao123](https://redirect.github.com/aojunhao123) - 💄 Improve Checkbox `indeterminate` to enhance accessibility experience. [#51350](https://redirect.github.com/ant-design/ant-design/pull/51350) [@SpaNb4](https://redirect.github.com/SpaNb4) - 💄 Improve the `title` of the Empty preset svg image to improve accessibility experience. [#51368](https://redirect.github.com/ant-design/ant-design/pull/51368) *** - 🐞 修复 Tree.DirectoryTree 交互区域不是整行的问题。[#51210](https://redirect.github.com/ant-design/ant-design/pull/51210) - 🐞 修复 Button 图标未垂直居中的问题。[#51381](https://redirect.github.com/ant-design/ant-design/pull/51381) - 🐞 修复 Input 组件 `variant` 设置 `borderless` 时,`disabled` 状态下指针样式未设置 `not-allowed` 的问题。[#51387](https://redirect.github.com/ant-design/ant-design/pull/51387) [@ustcfury](https://redirect.github.com/ustcfury) - Splitter - 💄 优化 Splitter 在 SSR 下预渲染的样式。[#51378](https://redirect.github.com/ant-design/ant-design/pull/51378) - 💄 增大 Splitter 折叠按钮点击区域,提高可用性。[#51383](https://redirect.github.com/ant-design/ant-design/pull/51383) [@aojunhao123](https://redirect.github.com/aojunhao123) - 💄 优化 Checkbox `indeterminate` 提升无障碍体验。[#51350](https://redirect.github.com/ant-design/ant-design/pull/51350) [@SpaNb4](https://redirect.github.com/SpaNb4) - 💄 优化 Empty 预设 svg 图片的 `title` 提升无障碍体验。[#51368](https://redirect.github.com/ant-design/ant-design/pull/51368) ### [`v5.21.5`](https://redirect.github.com/ant-design/ant-design/releases/tag/5.21.5) [Compare Source](https://redirect.github.com/ant-design/ant-design/compare/5.21.4...5.21.5) - 🐞 Fix Cascader filter limitation not working when `limit` set to `false`. [#51263](https://redirect.github.com/ant-design/ant-design/pull/51263) [@dongbanban](https://redirect.github.com/dongbanban) - 🐞 Fix DatePicker disabled items cannot response mouse events bug. [#51294](https://redirect.github.com/ant-design/ant-design/pull/51294) [@ajenkins-mparticle](https://redirect.github.com/ajenkins-mparticle) - 🐞 Fix FloatButton menu problem what is difficult to click. [#51208](https://redirect.github.com/ant-design/ant-design/pull/51208) [@aojunhao123](https://redirect.github.com/aojunhao123) - 🐞 Fix QRCode `onRefresh` property not working properly. [#51315](https://redirect.github.com/ant-design/ant-design/pull/51315) [@kiner-tang](https://redirect.github.com/kiner-tang) - 🐞 Fix Typography links cannot be selected by user. [#51243](https://redirect.github.com/ant-design/ant-design/pull/51243) [@thinkasany](https://redirect.github.com/thinkasany) - 💄 Fix Badge incorrect token of texts. [#51252](https://redirect.github.com/ant-design/ant-design/pull/51252) [@Wxh16144](https://redirect.github.com/Wxh16144) - 💄 Fix Layout lost styles of collapse button. [#51313](https://redirect.github.com/ant-design/ant-design/pull/51313) [@aojunhao123](https://redirect.github.com/aojunhao123) - 🛠 Improve Button event handler declaration. [#42037](https://redirect.github.com/ant-design/ant-design/pull/42037) [@SohaibRaza](https://redirect.github.com/SohaibRaza) - 🛠 Improve Splitter style token semantic name. [#51223](https://redirect.github.com/ant-design/ant-design/pull/51223) [@wanpan11](https://redirect.github.com/wanpan11) *** - 🐞 修复 Cascader `limit` 属性设置 `false` 不生效的问题。[#51263](https://redirect.github.com/ant-design/ant-design/pull/51263) [@dongbanban](https://redirect.github.com/dongbanban) - 🐞 修复 DatePicker 的禁用日期项无法响应鼠标事件的问题。[#51294](https://redirect.github.com/ant-design/ant-design/pull/51294) [@ajenkins-mparticle](https://redirect.github.com/ajenkins-mparticle) - 🐞 修复 FloatButton 悬浮菜单难以点击的问题。[#51208](https://redirect.github.com/ant-design/ant-design/pull/51208) [@aojunhao123](https://redirect.github.com/aojunhao123) - 🐞 修复 QRCode `onRefresh` 属性不生效的问题。[#51315](https://redirect.github.com/ant-design/ant-design/pull/51315) [@kiner-tang](https://redirect.github.com/kiner-tang) - 🐞 修复 Typography 中的超链接无法被用户选中的问题。[#51243](https://redirect.github.com/ant-design/ant-design/pull/51243) [@thinkasany](https://redirect.github.com/thinkasany) - 💄 修复 Badge 文本样式 token 不正确的问题。[#51252](https://redirect.github.com/ant-design/ant-design/pull/51252) [@Wxh16144](https://redirect.github.com/Wxh16144) - 💄 修复 Layout 折叠按钮样式缺失的问题。[#51313](https://redirect.github.com/ant-design/ant-design/pull/51313) [@aojunhao123](https://redirect.github.com/aojunhao123) - 🛠 优化 Button 事件处理器实现。[#42037](https://redirect.github.com/ant-design/ant-design/pull/42037) [@SohaibRaza](https://redirect.github.com/SohaibRaza) - 🛠 优化 Splitter 样式 token 的命名语义。[#51223](https://redirect.github.com/ant-design/ant-design/pull/51223) [@wanpan11](https://redirect.github.com/wanpan11) ### [`v5.21.4`](https://redirect.github.com/ant-design/ant-design/releases/tag/5.21.4) [Compare Source](https://redirect.github.com/ant-design/ant-design/compare/5.21.3...5.21.4) - 🐞 Fixed Input.Search not applying the `hoverBorderColor/activeBorderColor` token for hover/active states. [#51226](https://redirect.github.com/ant-design/ant-design/pull/51226) [@iqingting](https://redirect.github.com/iqingting) - 🐞 Fix Tree icon align issue. [#51181](https://redirect.github.com/ant-design/ant-design/pull/51181) [@Meowu](https://redirect.github.com/Meowu) - 🐞 Fix Splitter occasionally shows unnecessary scrollbars in nested combinations. [#51169](https://redirect.github.com/ant-design/ant-design/pull/51169) [@zombieJ](https://redirect.github.com/zombieJ) - 💄 Modify Design Token `textHoverBg` hover background to `colorFillTertiary`. [#51187](https://redirect.github.com/ant-design/ant-design/pull/51187) [@coding-ice](https://redirect.github.com/coding-ice) - TypeScript - 🤖 Improve type of Switch `eventHandler`. [#51165](https://redirect.github.com/ant-design/ant-design/pull/51165) [@thinkasany](https://redirect.github.com/thinkasany) *** - 🐞 修复 Input.Search 无法使用 Input Token `hoverBorderColor/activeBorderColor` 修改边框颜色的问题。[#51226](https://redirect.github.com/ant-design/ant-design/pull/51226) [@iqingting](https://redirect.github.com/iqingting) - 🐞 修复 Tree 的图标不对齐的问题。[#51181](https://redirect.github.com/ant-design/ant-design/pull/51181) [@Meowu](https://redirect.github.com/Meowu) - 🐞 修复 Splitter 在嵌套组合时,偶尔会出现多余滚动条的问题。[#51169](https://redirect.github.com/ant-design/ant-design/pull/51169) [@zombieJ](https://redirect.github.com/zombieJ) - 💄 修改 Design Token 的 `textHoverBg` 悬浮状态下的背景色为 `colorFillTertiary`。[#51187](https://redirect.github.com/ant-design/ant-design/pull/51187) [@coding-ice](https://redirect.github.com/coding-ice) - TypeScript - 🤖 优化 Switch `eventHandler` 类型。[#51165](https://redirect.github.com/ant-design/ant-design/pull/51165) [@thinkasany](https://redirect.github.com/thinkasany) ### [`v5.21.3`](https://redirect.github.com/ant-design/ant-design/releases/tag/5.21.3) [Compare Source](https://redirect.github.com/ant-design/ant-design/compare/5.21.2...5.21.3) - 💄 Added a scroll bar to Dropdown when having many items. [#51112](https://redirect.github.com/ant-design/ant-design/pull/51112) [@Cameron-Asdf](https://redirect.github.com/Cameron-Asdf) - Slider [#51150](https://redirect.github.com/ant-design/ant-design/pull/51150) [@yoyo837](https://redirect.github.com/yoyo837) - 🐞 Fix Slider issue where the `id` prop is not supported. - 🐞 Fix Slider to address the issue causing `useLayoutEffect does nothing on the server` warning when `extractStyle` is invoked. - 🐞 Fix ColorPicker with gradient mode, sometimes handle color will be force sync back to first handle color issue. [#51161](https://redirect.github.com/ant-design/ant-design/pull/51161) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 Fix Table `onChange` function receiving incorrect sorter value. [#51114](https://redirect.github.com/ant-design/ant-design/pull/51114) [@nathanlao](https://redirect.github.com/nathanlao) - Splitter - 🐞 Fix the issue about throw a warning when Splitter nested in a hidden tab panel. [#51109](https://redirect.github.com/ant-design/ant-design/pull/51109) [@kiner-tang](https://redirect.github.com/kiner-tang) - 🐞 Fix the issue about Splitter had unexpected gaps in Flex. [#51096](https://redirect.github.com/ant-design/ant-design/pull/51096) [@kiner-tang](https://redirect.github.com/kiner-tang) - 🐞 MISC: Restore `react` and `react-dom` peerDependencies. [#51079](https://redirect.github.com/ant-design/ant-design/pull/51079) [@chentsulin](https://redirect.github.com/chentsulin) - TypeScript - 🤖 Improve type of Slider `eventName`. [#51156](https://redirect.github.com/ant-design/ant-design/pull/51156) [@thinkasany](https://redirect.github.com/thinkasany) *** - 💄 优化 Dropdown 列表较长时的滚动条样式。[#51112](https://redirect.github.com/ant-design/ant-design/pull/51112) [@Cameron-Asdf](https://redirect.github.com/Cameron-Asdf) - Slider [#51150](https://redirect.github.com/ant-design/ant-design/pull/51150) [@yoyo837](https://redirect.github.com/yoyo837) - 🐞 修复 Slider 不支持 `id` 属性的问题。 - 🐞 修复 Slider 导致 `extractStyle` 时抛出 `useLayoutEffect does nothing on the server` 警告信息的问题。 - 🐞 修复 ColorPicker 渐变色时,部分节点颜色拖拽会被强制重置为第一个节点颜色的问题。[#51161](https://redirect.github.com/ant-design/ant-design/pull/51161) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 修复 Table 组件在切换页面时 `onChange` 函数接收到错误的 sorter 值的问题。[#51114](https://redirect.github.com/ant-design/ant-design/pull/51114) [@nathanlao](https://redirect.github.com/nathanlao) - Splitter - 🐞 修复 Splitter 嵌套在一个隐藏的 Tabs 面板中时抛出警告的问题。[#51109](https://redirect.github.com/ant-design/ant-design/pull/51109) [@kiner-tang](https://redirect.github.com/kiner-tang) - 🐞 修复 Splitter 组件在 Flex 组件下时出现异常间距的问题。[#51096](https://redirect.github.com/ant-design/ant-design/pull/51096) [@kiner-tang](https://redirect.github.com/kiner-tang) - 🐞 杂项:重新将 `react` 和 `react-dom` 添加进 peerDependencies。[#51079](https://redirect.github.com/ant-design/ant-design/pull/51079) [@chentsulin](https://redirect.github.com/chentsulin) - TypeScript - 🤖 优化 Slider `eventName` 类型。[#51156](https://redirect.github.com/ant-design/ant-design/pull/51156) [@thinkasany](https://redirect.github.com/thinkasany) ### [`v5.21.2`](https://redirect.github.com/ant-design/ant-design/releases/tag/5.21.2) [Compare Source](https://redirect.github.com/ant-design/ant-design/compare/5.21.1...5.21.2) - 🐞 Revert [#49221](https://redirect.github.com/ant-design/ant-design/pull/49221) to fix Typography `copyable` icon align issue. [#51066](https://redirect.github.com/ant-design/ant-design/pull/51066) [@afc163](https://redirect.github.com/afc163) - 🐞 Fix Tabs flicker when browser zoom is enabled. [#51072](https://redirect.github.com/ant-design/ant-design/pull/51072) [@afc163](https://redirect.github.com/afc163) - 🐞 Fix Select incorrect `activeBorderColor` token when variant is filled. [#51054](https://redirect.github.com/ant-design/ant-design/pull/51054) [@coding-ice](https://redirect.github.com/coding-ice) - 🐞 Fixed Input.Search alignment issue between the input field and search button at different zoom levels. [#50926](https://redirect.github.com/ant-design/ant-design/pull/50926) [@nathanlao](https://redirect.github.com/nathanlao) - 💄 MISC: Tweak outline width of focus style from `4px` to `3px`. [#51069](https://redirect.github.com/ant-design/ant-design/pull/51069) [@afc163](https://redirect.github.com/afc163) - Splitter - 🐞 Fixed the issue with Splitter dragging abnormally on touch screen devices. [#51060](https://redirect.github.com/ant-design/ant-design/pull/51060) [@sakuraee](https://redirect.github.com/sakuraee) - 💄 Fixed Splitter.Panel style is invalid error. [#51032](https://redirect.github.com/ant-design/ant-design/pull/51032) [@wanpan11](https://redirect.github.com/wanpan11) - ⚡️ Remove TransButton in Table/Transfer/Typography. [#51068](https://redirect.github.com/ant-design/ant-design/pull/51068) [@afc163](https://redirect.github.com/afc163) *** - 🐞 回滚 [#49221](https://redirect.github.com/ant-design/ant-design/pull/49221) 以修复 Typography `copyable` 图标位置偏上的问题。[#51066](https://redirect.github.com/ant-design/ant-design/pull/51066) [@afc163](https://redirect.github.com/afc163) - 🐞 修复 Tabs 在浏览器缩放时无限闪烁的问题。[#51072](https://redirect.github.com/ant-design/ant-design/pull/51072) [@afc163](https://redirect.github.com/afc163) - 🐞 修复了 Input.Search 组件中在不同缩放级别下输入框和按钮的对齐问题。[#50926](https://redirect.github.com/ant-design/ant-design/pull/50926) [@nathanlao](https://redirect.github.com/nathanlao) - 🐞 修复 Select `variant="filled"` 时 `activeBorderColor` token 失效的问题。[#51054](https://redirect.github.com/ant-design/ant-design/pull/51054) [@coding-ice](https://redirect.github.com/coding-ice) - 💄 MISC: 调整 focus 时的 outline 边框宽度,从 `4px` 调整到 `3px`。[#51069](https://redirect.github.com/ant-design/ant-design/pull/51069) [@afc163](https://redirect.github.com/afc163) - Splitter - 🐞 修复 Splitter 在触屏设备上拖拽异常的问题。[#51060](https://redirect.github.com/ant-design/ant-design/pull/51060) [@sakuraee](https://redirect.github.com/sakuraee) - 💄 修复 Splitter.Panel 无法隐藏的问题。[#51032](https://redirect.github.com/ant-design/ant-design/pull/51032) [@wanpan11](https://redirect.github.com/wanpan11) - 📦 移除 Table/Transfer/Typography 内的 TransButton 实现以降低打包体积。[#51068](https://redirect.github.com/ant-design/ant-design/pull/51068) [@afc163](https://redirect.github.com/afc163) ### [`v5.21.1`](https://redirect.github.com/ant-design/ant-design/releases/tag/5.21.1) [Compare Source](https://redirect.github.com/ant-design/ant-design/compare/5.21.0...5.21.1) - 🐞 Fix Button issue where `type="link"` incorrectly used `colorPrimary`. [#50962](https://redirect.github.com/ant-design/ant-design/pull/50962) [@coding-ice](https://redirect.github.com/coding-ice) - 🐞 Fix Button style class name weight issue that caused custom gradient styles to be overridden. [#50962](https://redirect.github.com/ant-design/ant-design/pull/50962) [@coding-ice](https://redirect.github.com/coding-ice) - 🐞 Fix Transfer width issue when customized as TableTransfer. [#50974](https://redirect.github.com/ant-design/ant-design/pull/50974) [@zombieJ](https://redirect.github.com/zombieJ) - 🇹🇷 Add Turkish text for `filterCheckall` in Table component. [#51000](https://redirect.github.com/ant-design/ant-design/pull/51000) [@ytahirkose](https://redirect.github.com/ytahirkose) *** - 🐞 修复 Button `type="link"` 错误使用 `colorPrimary` 的问题。[#50962](https://redirect.github.com/ant-design/ant-design/pull/50962) [@coding-ice](https://redirect.github.com/coding-ice) - 🐞 修复 Button 样式类名权重问题导致的自定义渐变样式覆盖失效的问题。[#50962](https://redirect.github.com/ant-design/ant-design/pull/50962) [@coding-ice](https://redirect.github.com/coding-ice) - 💄 修复 Transfer 在自定义为 TableTransfer 时,宽度不正确的问题。[#50974](https://redirect.github.com/ant-design/ant-design/pull/50974) [@zombieJ](https://redirect.github.com/zombieJ) - 🇹🇷 补充 Table 组件 `filterCheckall` 的土耳其语文案。[#51000](https://redirect.github.com/ant-design/ant-design/pull/51000) [@ytahirkose](https://redirect.github.com/ytahirkose) ### [`v5.21.0`](https://redirect.github.com/ant-design/ant-design/releases/tag/5.21.0) [Compare Source](https://redirect.github.com/ant-design/ant-design/compare/5.20.6...5.21.0) - 🔥 **Introduce the new Splitter component**, draggale split panel. [#50038](https://redirect.github.com/ant-design/ant-design/pull/50038) [@wanpan11](https://redirect.github.com/wanpan11) - Button - 🔥 Button supports `variant` and `color` properties for more combination styles. [#50051](https://redirect.github.com/ant-design/ant-design/pull/50051) [@coding-ice](https://redirect.github.com/coding-ice) - 💄 Button adds `textColor`, `textHoverColor` and ` textActiveColor ` tokens. [#47870](https://redirect.github.com/ant-design/ant-design/pull/47870) [@madocto](https://redirect.github.com/madocto) - FloatButton - 🆕 FloatButton supports `placement` property, allowing menus to pop up from multiple directions. [#50407](https://redirect.github.com/ant-design/ant-design/pull/50407) [@li-jia-nan](https://redirect.github.com/li-jia-nan) - 🆕 FloatButton supports `htmlType` prop. [#50892](https://redirect.github.com/ant-design/ant-design/pull/50892) [@li-jia-nan](https://redirect.github.com/li-jia-nan) - 💄 Unify FloatButton and FloatButton.Group button round style. [#50513](https://redirect.github.com/ant-design/ant-design/pull/50513) [@Layouwen](https://redirect.github.com/Layouwen) - 💄 Manage FloatButton's `z-index` with `useZIndex` to improve compatibility with other popup components. [#50311](https://redirect.github.com/ant-design/ant-design/pull/50311) [@li-jia-nan](https://redirect.github.com/li-jia-nan) - Menu - 🆕 Menu.Item and Dropdown's `menu` supports `extra` prop now. [#50431](https://redirect.github.com/ant-design/ant-design/pull/50431) [@coding-ice](https://redirect.github.com/coding-ice) - 🐞 Fix Menu `popupStyle` not working on SubMenu. [#50922](https://redirect.github.com/ant-design/ant-design/pull/50922) [@Wxh16144](https://redirect.github.com/Wxh16144) - Table - 🆕 Table supports `minWidth` for columns. [#50416](https://redirect.github.com/ant-design/ant-design/pull/50416) [@linxianxi](https://redirect.github.com/linxianxi) - 🐞 Fix Table empty and shadow issues in virtual mode. [#50416](https://redirect.github.com/ant-design/ant-design/pull/50416) [@linxianxi](https://redirect.github.com/linxianxi) - 🐞 Fix Table column selection issue where deselection was not possible under certain circumstances. [#50746](https://redirect.github.com/ant-design/ant-design/pull/50746) [@Jarryxin](https://redirect.github.com/Jarryxin) - Input - 🆕 Input.OTP support `type` to help handle some case need number only. [#50811](https://redirect.github.com/ant-design/ant-design/pull/50811) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 Fix Select inside Input addon text color when Select is focused. [#50486](https://redirect.github.com/ant-design/ant-design/pull/50486) [@DDDDD12138](https://redirect.github.com/DDDDD12138) - Modal - ⌨️ Fix Modal throws warning `avoid using aria-hidden on a focused element or its ancestor`. [#50823](https://redirect.github.com/ant-design/ant-design/pull/50823) [@afc163](https://redirect.github.com/afc163) - 🆕 Modal supports `closable.disabled` prop now. [#50522](https://redirect.github.com/ant-design/ant-design/pull/50522) [@Ke1sy](https://redirect.github.com/Ke1sy) - Descriptions - 🐞 Fix Descriptions column is missing in some cases. [#50895](https://redirect.github.com/ant-design/ant-design/pull/50895) [@yezhonghu0503](https://redirect.github.com/yezhonghu0503) - 🐞 Revert [#49946](https://redirect.github.com/ant-design/ant-design/pull/49946) to fix the issue where the popup layer component inside Descriptions is being cut off. [#50891](https://redirect.github.com/ant-design/ant-design/pull/50891) [@afc163](https://redirect.github.com/afc163) - Upload - 🆕 Upload will pass `name` prop to ``. [#50652](https://redirect.github.com/ant-design/ant-design/pull/50652) [@Wxh16144](https://redirect.github.com/Wxh16144) - 🆕 Upload `showUploadList.showXxxIcon` accept a function value now. [#50245](https://redirect.github.com/ant-design/ant-design/pull/50245) [@guoyunhe](https://redirect.github.com/guoyunhe) - ColorPicker - 🐞 Fix ColorPicker when type hex input may not get correct color with precision issue. [#50843](https://redirect.github.com/ant-design/ant-design/pull/50843) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 Adjust ColorPicker popup panel not lock by `value` to allow control mode with `onChangeComplete` scenarios. [#50785](https://redirect.github.com/ant-design/ant-design/pull/50785) [@zombieJ](https://redirect.github.com/zombieJ) - App - 🐞 Fixed App warn about `zIndex` too large when using the `modal` with having popup component method via `useApp`. [#50829](https://redirect.github.com/ant-design/ant-design/pull/50829) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 Fix App rtl style does not respect ConfigProvider direction prop. [#50246](https://redirect.github.com/ant-design/ant-design/pull/50246) [@li-jia-nan](https://redirect.github.com/li-jia-nan) - Pagination - 🆕 Pagination `showSizeChanger` accepts Select props now. [#50952](https://redirect.github.com/ant-design/ant-design/pull/50952) [@afc163](https://redirect.github.com/afc163) - 💄 Remove Pagination default font family. [#50808](https://redirect.github.com/ant-design/ant-design/pull/50808) [@afc163](https://redirect.github.com/afc163) - Select - 💄 Add more tokens for Select to customize hover/focus style. [#50951](https://redirect.github.com/ant-design/ant-design/pull/50951) [@kiner-tang](https://redirect.github.com/kiner-tang) - 🐞 Fix Select search text overlap with arrow icon. [#50917](https://redirect.github.com/ant-design/ant-design/pull/50917) [@yezhonghu0503](https://redirect.github.com/yezhonghu0503) - 🐞 Fix Select extra background of clear icon when enable `allowClear` and `variant="filled"`. [#50916](https://redirect.github.com/ant-design/ant-design/pull/50916) [@thinkasany](https://redirect.github.com/thinkasany) - 🆕 Segmented adds `vertical` property and improves accessibility. [#50708](https://redirect.github.com/ant-design/ant-design/pull/50708) [@liangchaofei](https://redirect.github.com/liangchaofei) - 🆕 Radio.Group supports `block` prop now. [#50828](https://redirect.github.com/ant-design/ant-design/pull/50828) [@yuanliu147](https://redirect.github.com/yuanliu147) - 🆕 ConfigProvider supports configuring the `className` and `style` properties of the Splitter component. [#50855](https://redirect.github.com/ant-design/ant-design/pull/50855) [@li-jia-nan](https://redirect.github.com/li-jia-nan) - 🆕 Image add `onActive` to `toolbarRender` for toggling images . [#50812](https://redirect.github.com/ant-design/ant-design/pull/50812) [@madocto](https://redirect.github.com/madocto) - 🆕 Add ref on List component. [#50772](https://redirect.github.com/ant-design/ant-design/pull/50772) [@Asanio06](https://redirect.github.com/Asanio06) - 🆕 Collapse support `classNames` and `styles` for semantic style customization. [#50557](https://redirect.github.com/ant-design/ant-design/pull/50557) [@wanpan11](https://redirect.github.com/wanpan11) - 💄 Make Skeleton.Node custom node by remove it's default icon children. [#50278](https://redirect.github.com/ant-design/ant-design/pull/50278) [@afc163](https://redirect.github.com/afc163) - 🐞 Fix Layout.Sider can not modify theme when used alone. [#50780](https://redirect.github.com/ant-design/ant-design/pull/50780) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 Fix Typography `copyable` with array `children` has additional `,` string issue. [#50813](https://redirect.github.com/ant-design/ant-design/pull/50813) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 Fix Tour where long title will overlap with close button. [#50942](https://redirect.github.com/ant-design/ant-design/pull/50942) [@kiner-tang](https://redirect.github.com/kiner-tang) - 🌐 Localization - 🇯🇵 Added `ja_JP` locale for DatePicker's `shortWeekDays` and `shortMonths` text. [#50893](https://redirect.github.com/ant-design/ant-design/pull/50893) [@harapeko](https://redirect.github.com/harapeko) - 🇪🇬 Added Arabic `ar_EG` text for Image preview feature. [#50851](https://redirect.github.com/ant-design/ant-design/pull/50851) [@nathanlao](https://redirect.github.com/nathanlao) - 🇬🇷 Added Greek text for the Form component. [#50825](https://redirect.github.com/ant-design/ant-design/pull/50825) [@nathanlao](https://redirect.github.com/nathanlao) - 🇪🇸 Added Spanish `es_ES` text for the Tour component. [#50805](https://redirect.github.com/ant-design/ant-design/pull/50805) [@thinkasany](https://redirect.github.com/thinkasany) - TypeScript - 🤖 Checkbox adds onFocus`and`onBlur\` in type definition. [#50842](https://redirect.github.com/ant-design/ant-design/pull/50842) [@huiliangShen](https://redirect.github.com/huiliangShen) - 🤖 Fix Badge property type definition to support passing mouse events. [#50774](https://redirect.github.com/ant-design/ant-design/pull/50774) [@yuanliu147](https://redirect.github.com/yuanliu147) *** - 🔥 **全新 Splitter 区域分割组件**,自由拖拽调整区域大小。[#50038](https://redirect.github.com/ant-design/ant-design/pull/50038) [@wanpan11](https://redirect.github.com/wanpan11) - Button - 🔥 Button 支持 `variant` 变体和 `color` 颜色属性,以支持更多组合样式。[#50051](https://redirect.github.com/ant-design/ant-design/pull/50051) [@coding-ice](https://redirect.github.com/coding-ice) - 💄 Button 添加 `textColor`、`textHoverColor` 和 `textActiveColor` 三个 token。[#47870](https://redirect.github.com/ant-design/ant-design/pull/47870) [@madocto](https://redirect.github.com/madocto) - FloatButton - 🆕 FloatButton 组件支持 `placement` 属性,支持从四个方向弹出菜单。(实现方式改为 `position: absolute` + flex 布局,可能会对你现有的布局造成 breaking change,请注意兼容)[#50407](https://redirect.github.com/ant-design/ant-design/pull/50407) [@li-jia-nan](https://redirect.github.com/li-jia-nan) - 💄 统一 FloatButton 和 FloatButton.Group 的按钮圆角。[#50513](https://redirect.github.com/ant-design/ant-design/pull/50513) [@Layouwen](https://redirect.github.com/Layouwen) - 💄 FloatButton 组件的 `z-index` 加入 `useZIndex` 管理,兼容弹层类组件。[#50311](https://redirect.github.com/ant-design/ant-design/pull/50311) [@li-jia-nan](https://redirect.github.com/li-jia-nan) - 🆕 FloatButton 支持传入 `htmlType` 属性。[#50892](https://redirect.github.com/ant-design/ant-design/pull/50892) [@li-jia-nan](https://redirect.github.com/li-jia-nan) - Menu - 🆕 Menu.Item 和 Dropdown 的 menu 支持 `extra` 属性。[#50431](https://redirect.github.com/ant-design/ant-design/pull/50431) [@coding-ice](https://redirect.github.com/coding-ice) - 🐞 修复 Menu `popupStyle` 在 SubMenu 上失效的问题。[#50922](https://redirect.github.com/ant-design/ant-design/pull/50922) [@Wxh16144](https://redirect.github.com/Wxh16144) - Table - 🆕 Table 列支持配置 `minWidth` 属性。[#50416](https://redirect.github.com/ant-design/ant-design/pull/50416) [@linxianxi](https://redirect.github.com/linxianxi) - 🐞 修复 Table 虚拟表格下的空数据和阴影问题。[#50416](https://redirect.github.com/ant-design/ant-design/pull/50416) [@linxianxi](https://redirect.github.com/linxianxi) - 🐞 修复 Table 列选择在某些情况下无法取消选择的问题。[#50746](https://redirect.github.com/ant-design/ant-design/pull/50746) [@Jarryxin](https://redirect.github.com/Jarryxin) - Input - 🆕 Input.OTP 添加 `type` 属性以支持只需要输入数字的场景。[#50811](https://redirect.github.com/ant-design/ant-design/pull/50811) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 修复 Input Addon 内 Select 选中时的文字颜色。[#50486](https://redirect.github.com/ant-design/ant-design/pull/50486) [@DDDDD12138](https://redirect.github.com/DDDDD12138) - Modal - ⌨️ 修复 Modal 抛出 `avoid using aria-hidden on a focused element or its ancestor` 警告的问题。[#50823](https://redirect.github.com/ant-design/ant-design/pull/50823) [@afc163](https://redirect.github.com/afc163) - 🆕 Modal 支持 `closable.disabled` 属性以禁用关闭按钮。[#50522](https://redirect.github.com/ant-design/ant-design/pull/50522) [@Ke1sy](https://redirect.github.com/Ke1sy) - Descriptions - 🐞 优化 Descriptions 在某些情况下列内容消失的问题。[#50895](https://redirect.github.com/ant-design/ant-design/pull/50895) [@yezhonghu0503](https://redirect.github.com/yezhonghu0503) - 🐞 回滚 [#49946](https://redirect.github.com/ant-design/ant-design/pull/49946) 以修复 Descriptions 内弹层组件被截断的问题。[#50891](https://redirect.github.com/ant-design/ant-design/pull/50891) [@afc163](https://redirect.github.com/afc163) - Upload - 🆕 Upload `name` 属性将透传给 ``。[#50652](https://redirect.github.com/ant-design/ant-design/pull/50652) [@Wxh16144](https://redirect.github.com/Wxh16144) - 🆕 Upload 的 `showUploadList.showXxxIcon` 选项支持传入函数。[#50245](https://redirect.github.com/ant-design/ant-design/pull/50245) [@guoyunhe](https://redirect.github.com/guoyunhe) - ColorPicker - 🐞 修复 ColorPicker 在 hex 输入框输入颜色时,部分颜色会因为精度问题得到不正确的颜色的问题。[#50843](https://redirect.github.com/ant-design/ant-design/pull/50843) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 调整 ColorPicker 在受控时,弹出面板现在不会被 `value` 锁定从而允许与 `onChangeComplete` 配合使用的受控场景。[#50785](https://redirect.github.com/ant-design/ant-design/pull/50785) [@zombieJ](https://redirect.github.com/zombieJ) - App - 🐞 修复 App 的 `useApp` 调用 `modal` 方法时,填入弹层组件会警告 `zIndex` 过大的问题。[#50829](https://redirect.github.com/ant-design/ant-design/pull/50829) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 修复 App rtl 样式不遵守 ConfigProvider `direction` 配置。[#50246](https://redirect.github.com/ant-design/ant-design/pull/50246) [@li-jia-nan](https://redirect.github.com/li-jia-nan) - Pagination - 🆕 Pagination `showSizeChanger` 属性现在支持传入 Select 属性对象。[#50952](https://redirect.github.com/ant-design/ant-design/pull/50952) [@afc163](https://redirect.github.com/afc163) - 💄 移除 Pagination 默认 `font-family` 样式。[#50808](https://redirect.github.com/ant-design/ant-design/pull/50808) [@afc163](https://redirect.github.com/afc163) - Select - 💄 Select 组件新增一些 token 以支持自定义 hover 和 focus 样式。[#50951](https://redirect.github.com/ant-design/ant-design/pull/50951) [@kiner-tang](https://redirect.github.com/kiner-tang) - 🐞 修复 Select 搜索模式下搜索词内容覆盖右侧图标的问题。[#50917](https://redirect.github.com/ant-design/ant-design/pull/50917) [@yezhonghu0503](https://redirect.github.com/yezhonghu0503) - 🐞 修复 Select 同时启用 `allowClear` 和 `variant="filled"` 时清除图标多余的白色背景的问题。[#50916](https://redirect.github.com/ant-design/ant-design/pull/50916) [@thinkasany](https://redirect.github.com/thinkasany) - 🆕 Segmented 新增 `vertical` 属性以支持垂直模式,并优化了可访问性。[#50708](https://redirect.github.com/ant-design/ant-design/pull/50708) [@liangchaofei](https://redirect.github.com/liangchaofei) - 🆕 Radio.Group 支持 `block` 属性以撑满一行。[#50828](https://redirect.github.com/ant-design/ant-design/pull/50828) [@yuanliu147](https://redirect.github.com/yuanliu147) - 🆕 ConfigProvider 支持配置 Splitter 组件的 `className` 和 `style` 属性。[#50855](https://redirect.github.com/ant-design/ant-design/pull/50855) [@li-jia-nan](https://redirect.github.com/li-jia-nan) - 🆕 Image 新增 `onActive` 到 `toolbarRender` 以切换图片 。[#50812](https://redirect.github.com/ant-design/ant-design/pull/50812) [@madocto](https://redirect.github.com/madocto) - 🆕 List 组件支持传递 `ref` 属性。[#50772](https://redirect.github.com/ant-design/ant-design/pull/50772) [@Asanio06](https://redirect.github.com/Asanio06) - 🆕 Collapse 支持语义化 `classNames` 和 `styles` 属性。[#50557](https://redirect.github.com/ant-design/ant-design/pull/50557) [@wanpan11](https://redirect.github.com/wanpan11) - 💄 移除 Skeleton.Node 默认的图标 `children` 使其成为真正的自定义节点。[#50278](https://redirect.github.com/ant-design/ant-design/pull/50278) [@afc163](https://redirect.github.com/afc163) - 🐞 修复 Typography `copyable` 对数组 `children` 复制时会有额外 `,` 字符的问题。[#50813](https://redirect.github.com/ant-design/ant-design/pull/50813) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 修复 Layout.Sider 单独使用时无法修改主题的问题。[#50780](https://redirect.github.com/ant-design/ant-design/pull/50780) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 修复 Tour 组件标题过长时会遮挡关闭按钮的问题。[#50942](https://redirect.github.com/ant-design/ant-design/pull/50942) [@kiner-tang](https://redirect.github.com/kiner-tang) - 🌐 本地化 - 🇯🇵 补充 DatePicker `ja_JP` 语言环境的 `shortWeekDays` 和 `shortMonths` 文案。[#50893](https://redirect.github.com/ant-design/ant-design/pull/50893) [@harapeko](https://redirect.github.com/harapeko) - 🇪🇬 补充 Image 预览功能的 `ar_EG` 阿拉伯语文案。[#50851](https://redirect.github.com/ant-design/ant-design/pull/50851) [@nathanlao](https://redirect.github.com/nathanlao) - 🇬🇷 补充 Form 组件的希腊语文案。[#50825](https://redirect.github.com/ant-design/ant-design/pull/50825) [@nathanlao](https://redirect.github.com/nathanlao) - 🇪🇸 补充 Tour 组件的西班牙语文案。[#50805](https://redirect.github.com/ant-design/ant-design/pull/50805) [@thinkasany](https://redirect.github.com/thinkasany) - TypeScript - 🤖 Checkbox 新增 `onFocus` 和 `onBlur` 类型定义。[#50842](https://redirect.github.com/ant-design/ant-design/pull/50842) [@huiliangShen](https://redirect.github.com/huiliangShen) - 🤖 修复 Badge 属性类型定义不支持传递鼠标事件的问题。[#50774](https://redirect.github.com/ant-design/ant-design/pull/50774) [@yuanliu147](https://redirect.github.com/yuanliu147) ### [`v5.20.6`](https://redirect.github.com/ant-design/ant-design/releases/tag/5.20.6) [Compare Source](https://redirect.github.com/ant-design/ant-design/compare/5.20.5...5.20.6) - 🐞 Improve Menu collapse animation smoothness. [#50751](https://redirect.github.com/ant-design/ant-design/pull/50751) [@afc163](https://redirect.github.com/afc163) - 🐞 Fix Table cell overflow bug if edit with virtual scroll. [#50737](https://redirect.github.com/ant-design/ant-design/pull/50737) [@huiliangShen](https://redirect.github.com/huiliangShen) - 🐞 Fix Input.Search button radius not changing with `size`. [#50734](https://redirect.github.com/ant-design/ant-design/pull/50734) [@afc163](https://redirect.github.com/afc163) - 🐞 Fix Form password still can be toggle show/hide even if disabled. [#50616](https://redirect.github.com/ant-design/ant-design/pull/50616) [@Jarryxin](https://redirect.github.com/Jarryxin) - 🐞 Revert [#49899](https://redirect.github.com/ant-design/ant-design/pull/49899) to fix wrap behavior for Dropdown, and re-fix wrap when out of screen edge. [#50718](https://redirect.github.com/ant-design/ant-design/pull/50718) [@afc163](https://redirect.github.com/afc163) - 💄 Fix Badge background transition when mouse out. [#50743](https://redirect.github.com/ant-design/ant-design/pull/50743) [@coding-ice](https://redirect.github.com/coding-ice) - TypeScript - 🤖 Fix Collapse types for `onChange` arguments. [#50754](https://redirect.github.com/ant-design/ant-design/pull/50754) [@yuanliu147](https://redirect.github.com/yuanliu147) *** - 🐞 修复 Menu 折叠动画不够丝滑的问题。[#50751](https://redirect.github.com/ant-design/ant-design/pull/50751) [@afc163](https://redirect.github.com/afc163) - 🐞 修复 Table 虚拟滚动时单元格宽度可能溢出的问题。[#50737](https://redirect.github.com/ant-design/ant-design/pull/50737) [@huiliangShen](https://redirect.github.com/huiliangShen) - 🐞 修复 Input.Search 的按钮圆角不随 `size` 变化的问题。[#50734](https://redirect.github.com/ant-design/ant-design/pull/50734) [@afc163](https://redirect.github.com/afc163) - 🐞 修复 Form 禁用时仍可切换密码显隐的问题。[#50616](https://redirect.github.com/ant-design/ant-design/pull/50616) [@Jarryxin](https://redirect.github.com/Jarryxin) - 🐞 回滚 [#49899](https://redirect.github.com/ant-design/ant-design/pull/49899) 以修复 Dropdown 菜单项文字溢出菜单的问题,并重新修复屏幕视口外菜单项内容换行错误的问题。[#50752](https://redirect.github.com/ant-design/ant-design/pull/50752) [#50718](https://redirect.github.com/ant-design/ant-design/pull/50718) [@afc163](https://redirect.github.com/afc163) - 💄 修复 Badge 鼠标移出时无背景色过渡动画的问题。[#50743](https://redirect.github.com/ant-design/ant-design/pull/50743) [@coding-ice](https://redirect.github.com/coding-ice) - TypeScript - 🤖 修复 Collapse 的 `onChange` 的函数入参类型。[#50754](https://redirect.github.com/ant-design/ant-design/pull/50754) [@yuanliu147](https://redirect.github.com/yuanliu147) ### [`v5.20.5`](https://redirect.github.com/ant-design/ant-design/releases/tag/5.20.5) [Compare Source](https://redirect.github.com/ant-design/ant-design/compare/5.20.4...5.20.5) - 🛠 Adjust Tree & TreeSelect `defaultExpandAll` logic to only add internal `expandedKeys` which `treeNode` has children instead to avoid perf issue when with large data or `loadData` case. [#50689](https://redirect.github.com/ant-design/ant-design/pull/50689) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 Fix Cascader not show parent option in search when using `multiple`. [#50689](https://redirect.github.com/ant-design/ant-design/pull/50689) - 🐞 Fix Typography `ellipsis.tooltip.title` with ReactNode will cause dead loop. [#50688](https://redirect.github.com/ant-design/ant-design/pull/50688) [@zombieJ](https://redirect.github.com/zombieJ) *** - 🛠 调整 Tree 与 TreeSelect 的 `defaultExpandAll` 的行为,仅将有子节点的 `treeNode` 加入 `expandedKeys` 以防止在大数据与 `loadData` 异步的情况下引发的性能问题。[#50689](https://redirect.github.com/ant-design/ant-design/pull/50689) [@zombieJ](https://redirect.github.com/zombieJ) - 🐞 修复 Cascader 在 `multiple` 下搜索不会显示父节点作为选项的问题。[#50689](https://redirect.github.com/ant-design/ant-design/pull/50689) - 🐞 修复 Typography `ellipsis.tooltip.title` 配置 ReactNode 会导致死循环的问题。[#50688](https://redirect.github.com/ant-design/ant-design/pull/50688) [@zombieJ](https://redirect.github.com/zombieJ) ### [`v5.20.Configuration
📅 Schedule: Branch creation - "on the first day of the month" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.