antd 5.21.0
- 🔥 Introduce the new Splitter component, draggale split panel. #50038 @wanpan11
- Button
- 🔥 Button supports
variantandcolorproperties for more combination styles. #50051 @coding-ice - 💄 Button adds
textColor,textHoverColorandtextActiveColortokens. #47870 @madocto
- 🔥 Button supports
- FloatButton
- 🆕 FloatButton supports
placementproperty, allowing menus to pop up from multiple directions. #50407 @li-jia-nan - 🆕 FloatButton supports
htmlTypeprop. #50892 @li-jia-nan - 💄 Unify FloatButton and FloatButton.Group button round style. #50513 @Layouwen
- 💄 Manage FloatButton's
z-indexwithuseZIndexto improve compatibility with other popup components. #50311 @li-jia-nan
- 🆕 FloatButton supports
- Menu
- 🆕 Menu.Item and Dropdown's
menusupportsextraprop now. #50431 @coding-ice - 🐞 Fix Menu
popupStylenot working on SubMenu. #50922 @Wxh16144
- 🆕 Menu.Item and Dropdown's
- Table
- 🆕 Table supports
minWidthfor columns. #50416 @linxianxi - 🐞 Fix Table empty and shadow issues in virtual mode. #50416 @linxianxi
- 🐞 Fix Table column selection issue where deselection was not possible under certain circumstances. #50746 @Jarryxin
- 🆕 Table supports
- Input
- 🆕 Input.OTP support
typeto help handle some case need number only. #50811 @zombieJ - 🐞 Fix Select inside Input addon text color when Select is focused. #50486 @DDDDD12138
- 🆕 Input.OTP support
- Modal
- Descriptions
- 🐞 Fix Descriptions column is missing in some cases. #50895 @yezhonghu0503
- 🐞 Revert #49946 to fix the issue where the popup layer component inside Descriptions is being cut off. #50891 @afc163
- Upload
- ColorPicker
- App
- 🐞 Fixed App warn about
zIndextoo large when using themodalwith having popup component method viauseApp. #50829 @zombieJ - 🐞 Fix App rtl style does not respect ConfigProvider direction prop. #50246 @li-jia-nan
- 🐞 Fixed App warn about
- Pagination
- Select
- 💄 Add more tokens for Select to customize hover/focus style. #50951 @kiner-tang
- 🐞 Fix Select search text overlap with arrow icon. #50917 @yezhonghu0503
- 🐞 Fix Select extra background of clear icon when enable
allowClearandvariant="filled". #50916 @thinkasany
- 🆕 Segmented adds
verticalproperty and improves accessibility. #50708 @liangchaofei - 🆕 Radio.Group supports
blockprop now. #50828 @yuanliu147 - 🆕 ConfigProvider supports configuring the
classNameandstyleproperties of the Splitter component. #50855 @li-jia-nan - 🆕 Image add
onActivetotoolbarRenderfor toggling images . #50812 @madocto - 🆕 Add ref on List component. #50772 @Asanio06
- 🆕 Collapse support
classNamesandstylesfor semantic style customization. #50557 @wanpan11 - 💄 Make Skeleton.Node custom node by remove it's default icon children. #50278 @afc163
- 🐞 Fix Layout.Sider can not modify theme when used alone. #50780 @zombieJ
- 🐞 Fix Typography
copyablewith arraychildrenhas additional,string issue. #50813 @zombieJ - 🐞 Fix Tour where long title will overlap with close button. #50942 @kiner-tang
- 🌐 Localization
- 🇯🇵 Added
ja_JPlocale for DatePicker'sshortWeekDaysandshortMonthstext. #50893 @harapeko - 🇪🇬 Added Arabic
ar_EGtext for Image preview feature. #50851 @nathanlao - 🇬🇷 Added Greek text for the Form component. #50825 @nathanlao
- 🇪🇸 Added Spanish
es_EStext for the Tour component. #50805 @thinkasany
- 🇯🇵 Added
- TypeScript
- 🤖 Checkbox adds onFocus
andonBlur` in type definition. #50842 @huiliangShen - 🤖 Fix Badge property type definition to support passing mouse events. #50774 @yuanliu147
- 🤖 Checkbox adds onFocus
- 🔥 全新 Splitter 区域分割组件,自由拖拽调整区域大小。#50038 @wanpan11
- Button
- 🔥 Button 支持
variant变体和color颜色属性,以支持更多组合样式。#50051 @coding-ice - 💄 Button 添加
textColor、textHoverColor和textActiveColor三个 token。#47870 @madocto
- 🔥 Button 支持
- FloatButton
- 🆕 FloatButton 组件支持
placement属性,支持从四个方向弹出菜单。(实现方式改为position: absolute+ flex 布局,可能会对你现有的布局造成 breaking change,请注意兼容)#50407 @li-jia-nan - 💄 统一 FloatButton 和 FloatButton.Group 的按钮圆角。#50513 @Layouwen
- 💄 FloatButton 组件的
z-index加入useZIndex管理,兼容弹层类组件。#50311 @li-jia-nan - 🆕 FloatButton 支持传入
htmlType属性。#50892 @li-jia-nan
- 🆕 FloatButton 组件支持
- Menu
- 🆕 Menu.Item 和 Dropdown 的 menu 支持
extra属性。#50431 @coding-ice - 🐞 修复 Menu
popupStyle在 SubMenu 上失效的问题。#50922 @Wxh16144
- 🆕 Menu.Item 和 Dropdown 的 menu 支持
- Table
- 🆕 Table 列支持配置
minWidth属性。#50416 @linxianxi - 🐞 修复 Table 虚拟表格下的空数据和阴影问题。#50416 @linxianxi
- 🐞 修复 Table 列选择在某些情况下无法取消选择的问题。#50746 @Jarryxin
- 🆕 Table 列支持配置
- Input
- 🆕 Input.OTP 添加
type属性以支持只需要输入数字的场景。#50811 @zombieJ - 🐞 修复 Input Addon 内 Select 选中时的文字颜色。#50486 @DDDDD12138
- 🆕 Input.OTP 添加
- Modal
- Descriptions
- 🐞 优化 Descriptions 在某些情况下列内容消失的问题。#50895 @yezhonghu0503
- 🐞 回滚 #49946 以修复 Descriptions 内弹层组件被截断的问题。#50891 @afc163
- Upload
- ColorPicker
- App
- 🐞 修复 App 的
useApp调用modal方法时,填入弹层组件会警告zIndex过大的问题。#50829 @zombieJ - 🐞 修复 App rtl 样式不遵守 ConfigProvider
direction配置。#50246 @li-jia-nan
- 🐞 修复 App 的
- Pagination
- Select
- 💄 Select 组件新增一些 token 以支持自定义 hover 和 focus 样式。#50951 @kiner-tang
- 🐞 修复 Select 搜索模式下搜索词内容覆盖右侧图标的问题。#50917 @yezhonghu0503
- 🐞 修复 Select 同时启用
allowClear和variant="filled"时清除图标多余的白色背景的问题。#50916 @thinkasany
- 🆕 Segmented 新增
vertical属性以支持垂直模式,并优化了可访问性。#50708 @liangchaofei - 🆕 Radio.Group 支持
block属性以撑满一行。#50828 @yuanliu147 - 🆕 ConfigProvider 支持配置 Splitter 组件的
className和style属性。#50855 @li-jia-nan - 🆕 Image 新增
onActive到toolbarRender以切换图片 。#50812 @madocto - 🆕 List 组件支持传递
ref属性。#50772 @Asanio06 - 🆕 Collapse 支持语义化
classNames和styles属性。#50557 @wanpan11 - 💄 移除 Skeleton.Node 默认的图标
children使其成为真正的自定义节点。#50278 @afc163 - 🐞 修复 Typography
copyable对数组children复制时会有额外,字符的问题。#50813 @zombieJ - 🐞 修复 Layout.Sider 单独使用时无法修改主题的问题。#50780 @zombieJ
- 🐞 修复 Tour 组件标题过长时会遮挡关闭按钮的问题。#50942 @kiner-tang
- 🌐 本地化
- 🇯🇵 补充 DatePicker
ja_JP语言环境的shortWeekDays和shortMonths文案。#50893 @harapeko - 🇪🇬 补充 Image 预览功能的
ar_EG阿拉伯语文案。#50851 @nathanlao - 🇬🇷 补充 Form 组件的希腊语文案。#50825 @nathanlao
- 🇪🇸 补充 Tour 组件的西班牙语文案。#50805 @thinkasany
- 🇯🇵 补充 DatePicker
- TypeScript
- 🤖 Checkbox 新增
onFocus和onBlur类型定义。#50842 @huiliangShen - 🤖 修复 Badge 属性类型定义不支持传递鼠标事件的问题。#50774 @yuanliu147
- 🤖 Checkbox 新增