5.11.0
版本发布时间: 2023-11-03 23:38:17
ant-design/ant-design最新发布版本:5.20.6(2024-09-09 16:10:29)
- Slider
- InputNumber
- Table
- 🆕 Table
columnTitle
support render function. #41937 @Zhou-Bill - 🛠 Refactor Table
ref
to supportscrollTo
to scroll to targetkey
orindex
ortop
. #45245
- 🆕 Table
- Tabs
- ConfigProvider
- 🆕 ConfigProvider support RangePicker
className
andstyle
properties. #45479 @chenzhuo198 - 🆕 ConfigProvider support Dropdown
className
andstyle
properties. #45621 @li-jia-nan
- 🆕 ConfigProvider support RangePicker
- 🆕 ColorPicker
preset
prop supportdefaultOpen
to control whether preset colors is open by default. #45607 @Wxh16144 - 🆕 Select support
optionRender
prop. #45529 @RedJue - 🆕 Pagination support combine
simple
andshowSizeChanger
. #45538 - 🆕 Spin support
fullscreen
to display as backdrop. #44986 @Rafael-Martins #45436 @li-jia-nan - 🆕 Form
validateFields
supportdirty
for validating touched and validated fields. #45389 - 🆕 Watermark support
inherit
prop to disable watermark pass to Drawer and Modal. #45319 - 🆕 App support
component
for customization. #45292 - 🆕 Input and Input.TextArea support
count
custom character count (for example, fix emoji character length to1
);count.max
supports out-of-range styles; restore emoji to native count to solve the problem ofmaxLength
andvalue
mismatch. #45140 - 🐞 Fix Dropdown not trigger
onOpenChange
when click menu item to close the popup. #45378 - 💄 Modal static function support
styles
. #45558 @KotoriK - 💄 Optimize z-index logic of popup components, and make them don't block each other by default. #45512 #45490 @kiner-tang
- Optimize z-index logic of Menu. #45498 @kiner-tang
- Optimize z-index logic of DatePicker and TimePicker. #45497 @kiner-tang
- Optimize z-index logic of Drawer. #45496 #45417 @kiner-tang
- Optimize z-index logic of Cascader, TreeSelect and AutoComplete. #45494 @kiner-tang
- Optimize z-index logic of Dropdown. #45486 @kiner-tang
- Optimize z-index logic of Tour. #45425 @kiner-tang
- Optimize z-index logic of Tooltip. #45422 @kiner-tang
- Optimize z-index logic of Popover. #45420 @kiner-tang
- Optimize z-index logic of Popconfirm. #45421 @kiner-tang
- Optimize z-index logic of Modal and Select. #45346 @kiner-tang
- Slider
- InputNumber
- Table
- 🆕 Table 组件
columnTitle
支持传入 render 方法。#41937 @Zhou-Bill - 🛠 重构 Table
ref
支持scrollTo
以滚动到目标key
或index
或top
。#45245
- 🆕 Table 组件
- Tabs
- ConfigProvider
- 🆕 ConfigProvider 支持 RangePicker 组件的
className
和style
属性。#45479 @chenzhuo198 - 🆕 ConfigProvider 支持 Dropdown 组件的
className
和style
属性。#45621 @li-jia-nan
- 🆕 ConfigProvider 支持 RangePicker 组件的
- 🆕 ColorPicker 组件
preset
新增defaultOpen
属性,可控制预设颜色默认是否展开。#45607 @Wxh16144 - 🆕 Select 组件支持
optionRender
方法。#45529 @RedJue - 🆕 Pagination 组件支持组合
simple
和showSizeChanger
使用。#45538 - 🆕 Spin 组件新增
fullscreen
属性,支持全屏展示。#44986 @Rafael-Martins #45436 @li-jia-nan - 🆕 Form
validateFields
支持dirty
参数以校验被修改过和校验过的字段。#45389 - 🆕 Watermark 支持
inherit
配置,关闭水印传导至弹出 Drawer 与 Modal。#45319 - 🆕 App 支持
component
以自定义渲染元素。#45292 - 🆕 Input 与 Input.TextArea 支持
count
自定义字符计数(例如固定 emoji 字符长度为1
);count.max
支持超出范围样式;将 emoji 计数还原为原生计数以解决maxLength
与value
不匹配的问题。#45140 - 🐞 修复 Dropdown 在点击菜单项关闭弹出框时不会触发
onOpenChange
的问题。#45378 - 💄 Modal 静态方法支持
styles
属性。#45558 @KotoriK - 💄 优化弹层组件的
z-index
逻辑,使其在默认情况下不会互相遮挡。#45512 #45490 @kiner-tang- 优化 Menu 组件
z-index
逻辑。#45498 @kiner-tang - 优化 DatePicker、TimePicker 组件
z-index
逻辑。#45497 @kiner-tang - 优化 Drawer 组件
z-index
逻辑。#45496 #45417 @kiner-tang - 优化 Cascader、TreeSelect、AutoComplete 组件
z-index
逻辑。#45494 @kiner-tang - 优化 Dropdown 组件
z-index
逻辑。#45486 @kiner-tang - 优化 Tour 组件
z-index
逻辑。#45425 @kiner-tang - 优化 Tooltip 组件
z-index
逻辑。#45422 @kiner-tang - 优化 Popover 组件
z-index
逻辑。#45420 @kiner-tang - 优化 Popconfirm 组件
z-index
逻辑。#45421 @kiner-tang - 优化 Modal、Select 组件
z-index
逻辑。#45346 @kiner-tang
- 优化 Menu 组件