5.20.0
版本发布时间: 2024-08-03 21:57:21
ant-design/ant-design最新发布版本:5.20.6(2024-09-09 16:10:29)
- 🛠 Replace ColorPicker internal
@ctrl/tiny-color
with@ant-design/fast-color
. #49846 - 🆕 ConfigProvider support indicator property for Spin. #50183 @coding-ice
- 🆕 Upload
showUploadList
supportextra
for additional content. #50098 @guoyunhe - 🆕 Tree support custom loading icon for tree nodes with new prop
switcherLoadingIcon
. #49716 @coding-ice - 🆕 Slider support
range.editable
to dynamic add/remove handles. #49923 - 🆕 Slider
range.editable
supportminCount
andmaxCount
. #49987 - 🆕 Support custom status render in QRCode. #49563 @kiner-tang
- 🆕 Table component supports custom Filter dropdown box empty status. #49613 @Wxh16144
- 🆕 Allow user to add the Divider style of
dashed
,dotted
orsolid
. #49654 @pinaki-08 - 🆕 InputNumber supports
suffix
prop. #49674 @coding-ice - 🆕 ColorPicker support gradient color type and fix controlled mode not working. #50050
- 🆕 Input/TextArea/Mentions support
onClear
prop. #49905 @li-jia-nan - ⌨️ Optimize Input be changed repeatedly when hold the enter key in multi-mode. rc-input#72 @crazyair
- 🐞 Fix the issue where line-height is not effective in cssinjs mode for ColorPicker. #50220 @vagusX
- 🐞 Fix cursor disabled state for ColorPicker. #50217 @coding-ice
- 🐞 Fix grouping columns does not apply sorting for Table. #50086 @Zyf665
- 🐞 Fix Popover/PopConfirm/Tooltip with
topLeft
,topRight
,bottomLeft
,bottomRight
zoom in transform origin not correct when target element width is too large. #50134 - 💄 Fix Tree filter node style lost. #49773 @wanpan11
- 💄 Optimize ColorPicker when selecting a color from the
transparent
state, it defaults to using a bright color instead of black color to enhance the user interaction experience. #50148 - TypeScript
- 🤖 Component Token support string and number. #49837 @thinkasany
- 🤖 Improve Radio export types. #50203 @baicie
- 🌐 Locales
- 🇪🇸 Improve Spanish translation. #50179 @sergioalmela
- 🇺🇦 Add missed translation in uk_UA. #50178 @Andrik264
- 🛠 替换 ColorPicker 内部使用的
@ctrl/tiny-color
为@ant-design/fast-color
。#49846 - 🆕 ConfigProvider 支持配置 Spin 的 indicator 属性。#50183 @coding-ice
- 🆕 Upload
showUploadList
添加extra
以支持渲染额外信息。#50098 @guoyunhe - 🆕 Tree 新增
switcherLoadingIcon
属性以支持自定义树节点的加载图标#49716 @coding-ice - 🆕 Slider 支持
range.editable
以动态添加/删除节点。#49923 - 🆕 Slider
range.editable
支持minCount
与maxCount
以配置可编辑节点树。#49987 - 🆕 在 QRCode 中支持自定义状态渲染。#49563 @kiner-tang
- 🆕 Table 组件支持自定义过滤器下拉框空状态。 #49613 @Wxh16144
- 🆕 Divider 支持添加
dashed
(虚线)、dotted
(点线)或solid
(实线)的样式。#49654 @pinaki-08 - 🆕 InputNumber 支持
suffix
属性。#49674 @coding-ice - 🆕 ColorPicker 支持渐变色选择,并修复受控模式不生效的问题。#50050
- 🆕 Input/TextArea/Mentions 组件支持
onClear
回调,便于区分点击 x 清除和手动清除这两个行为。#49905 @li-jia-nan - ⌨️ 优化 Input 下长按回车会不断触发变更的问题。rc-input#72 @crazyair
- 🐞 修复 ColorPicker 在 cssinjs 模式下 line-height 失效的问题。#50220 @vagusX
- 🐞 修复 ColorPicker 在 disabled 状态下的光标问题. #50217 @coding-ice
- 🐞 修复 Table 中列存在分组时,排序不生效的问题。#50086 @Zyf665
- 🐞 修复 Popover/PopConfirm/Tooltip 在目标元素宽度过大时,使用
topLeft
,topRight
,bottomLeft
,bottomRight
的弹出动画起始缩放中心有所偏移的问题。#50134 - 💄 修复 Tree 组件 filter-node 节点高亮样式丢失。#49773 @wanpan11
- 💄 优化 ColorPicker 当从
transparent
状态进行颜色选取时,默认使用亮色以代替原本的纯黑色以提升用户交互体验。#50148 - TypeScript
- 🤖 Component Token 支持 string 或 number。#49837 @thinkasany
- 🤖 改进 Radio 类型导出。#50203 @baicie
- 🌐 Locales
- 🇪🇸 改进西班牙语本地化文案。#50179 @sergioalmela
- 🇺🇦 补全
uk_UA
本地化文案。#50178 @Andrik264