5.13.0
版本发布时间: 2024-01-13 17:18:29
ant-design/ant-design最新发布版本:5.20.6(2024-09-09 16:10:29)
- 🔥 Form support
variant
to control components variant inside. #46573 - 🆕 QRCode support
status
adds a new scanned option. #46704 - 🆕 Table support
hidden
to set hidden columns. #46957 @madocto - 🆕 Select support the
maxCount
, which is used to set the maximum selectable value. #46667 - 🆕 Mentions support
allowClear
for setting the clearing function. #46396 @yociduo - 🆕 ColorPicker support displaying cleared status. #45993
- 🆕 Drawer adds
styles.wrapper
and discards thecontentWrapperStyle
drawerStyle
maskStyle
attributes, and simplifies the dom structure. #46858 - Tour
- Tabs
- ConfigProvider
- 🆕 ConfigProvider adds
ConfigProvider.config
to supportholderRender
formessage
modal
notification
static method settingProvider
. #46596 - 🆕 ConfigProvider support the
indicator: { align: xxx }
attribute, which is used to set the alignment of the Tabs indicator bar. #46786 - 🛠 ConfigProvider deprecated the Tabs
indicatorSize
attribute and replaced it withindicator: { size: xxx }
. #46786
- 🆕 ConfigProvider adds
- 🐞 Fix the problem of Segmented content being obscured in
hover
andactive
. #46925 @madocto - 🐞 Fixed the problem that the customized font size of Checkbox does not take effect under Form. #46904
- 🐞 Fixed the issue where the Radio component configuration
title
did not take effect. #46809 - 🐞 Fixed Input hover style in css var mode. #46946
- 💄 Fixed the problem of abnormal display of Dropdown style under multi-level menu. #46888
- 🛠 Refactor the popup panel logic of the ColorPicker component to avoid style conflicts when customizing using
panelRender
. #46327 - TypeScript
- 🌈 Token
- 🆕 Button support the
contentLineHeight
series of tokens. #46936 - 🆕 Input support
inputFontSize
token. #46875 - 🆕 Menu support
darkPopupBg
token. #46618 - 🆕 Segmented support
trackPadding
andtrackBg
token. #46674 - 🐞 Fix the problem that
paddingBlock
does not take effect after customizingcontentFontSize
token in Button component. #46901 - 🐞 Fixed the issue where the InputNumber component cannot customize the
padding
token. #46878
- 🆕 Button support the
- 🌐 Localization
- 🔥 Form 组件新增
variant
属性用于设置内部组件形态变体。#46573 - 🆕 QRCode 组件
status
新增已扫描选项。#46704 - 🆕 Table 组件新增
hidden
属性可设置隐藏列。#46957 @madocto - 🆕 Select 组件新增支持
maxCount
属性,用于设置最大可选。#46667 - 🆕 Mentions 组件新增
allowClear
属性,用于设置清除功能。#46396 @yociduo - 🆕 ColorPicker 新增支持显示清空状态。#45993
- 🆕 Drawer 组件新增
styles.wrapper
并废弃contentWrapperStyle
drawerStyle
maskStyle
属性,并简化 dom 结构。#46858 - Tour
- Tabs
- ConfigProvider
- 🐞 修复 Segmented 在
hover
和active
内容被遮挡的问题。#46925 @madocto - 🐞 修复 Checkbox 定制字体大小在 Form 下不生效的问题。#46904
- 🐞 修复 Radio 组件配置
title
未生效的问题。#46809 - 🐞 修复 Input 组件在 css 变量模式下的悬浮态样式问题。#46946
- 💄 修复 Dropdown 在多级菜单下样式显示异常的问题。#46888
- 🛠 重构 ColorPicker 组件弹出面板逻辑,避免使用
panelRender
自定义时样式冲突的问题。#46327 - TypeScript
- 🌈 Token
- 🆕 Button 组件新增支持
contentLineHeight
系列 token。#46936 - 🆕 Input 组件新增支持
inputFontSize
token。#46875 - 🆕 Menu 组件新增支持
darkPopupBg
token。#46618 - 🆕 Segmented 组件新增
trackPadding
和trackBg
token。#46674 - 🐞 修复 Button 组件定制
contentFontSize
token 后paddingBlock
不生效的问题。#46901 - 🐞 修复 InputNumber 组件无法定制
padding
token 的问题。#46878
- 🆕 Button 组件新增支持
- 🌐 国际化