fix(deps): update dependency antd to v5.22.3 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
antd (source) | dependencies | minor | 5.1.4 -> 5.22.3 |
Release Notes
ant-design/ant-design (antd)
v5.22.3
- 🐞 Fix Select clear button may has incorrect position within Form.item. #51649 @dislido
- 🐞 Fix InputNumber
handleVisible
token not work as expected. #51728 @dengfuping - 🐞 Fix ColorPicker error when pass
ReactNode
tolabel
field ofpresets
property. #51808 @li-jia-nan - 🐞 Fix Menu
inlineCollapsed
property not works bug within Layout. #51775 @coderz-w - 🐞 Fix Table
onHeaderCell
provided partstyle
can not override. #51793 @Wxh16144 - ⌨️ Improve Collapse accessibility. #51836 @aojunhao123
- TypeScript
- 🐞 修复 Select 清除按钮在 Form.Item 中位置可能错误的问题。#51649 @dislido
- 🐞 修复 InputNumber
handleVisible
token 不生效的问题。#51728 @dengfuping - 🐞 修复 ColorPicker 的
presets
属性中的label
字段传入ReactNode
会报错的问题。#51808 @li-jia-nan - 🐞 修复 Menu 的
inlineCollapsed
属性在 Layout 中不生效的问题。#51775 @coderz-w - 🐞 修复 Table
onHeaderCell
提供的style
无法被覆盖的问题。#51793 @Wxh16144 - ⌨️ 优化 Collapse 组件的可访问性。#51836 @aojunhao123
- TypeScript
v5.22.2
- 🐞 Fix Input.OTP focus from advancing when previous input is empty. #51664 @thecodesalim
- 🐞 Adjust Modal function call not to scroll the confirm button when it get auto focused. #51647 @zombieJ
- 🐞 Fix Form
rules
with same error content will cause React render warning. #51636 @zombieJ - 🐞 Refactor Button
focus
logic trigger withuseEffect
to resolve some async load case not getautoFocus
. #51624 @zombieJ - 🐞 Fix Button custom icon not center-aligned. #51652 @afc163
- 🐞 Fix Table
getCheckboxProps
event handlers being overridden by internal selection logic. #51661 @Zyf665 - 🐞 Fix Tree that
onCheck
andonSelect
were not properly triggered. #51448 @Wxh16144 - 🌐 Localization
- 🇷🇺 Add support for Russian translation. #51619 @avvakumovid
- 🇮🇹 Add support for Italian translation in TimePicker. #51685 @LorenzoCardinali
- 🐞 修复 Input.OTP 组件在有非法输入时仍会切换到下一个输入框的问题。#51664 @thecodesalim
- 🐞 调整 Modal 确认函数,使其在弹出后聚焦确认按钮时不要滚动窗体。#51647 @zombieJ
- 🐞 修复 Form
rules
生成多条相同错误时会报 React 渲染错误的问题。#51636 @zombieJ - 🐞 调整 Button 使用
useEffect
来触发autoFocus
逻辑,以解决一些异步渲染场景下 Button 无法自动聚焦的问题。#51624 @zombieJ - 🐞 修复 Button 中使用自定义三方图标库时图标未居中的问题。#51652 @afc163
- 🐞 修复 Table 组件
getCheckboxProps
中的事件处理器被内部选择逻辑覆盖的问题。#51661 @Zyf665 - 🐞 修复 Tree 组件的
onCheck
和onSelect
事件没有被正确触发的问题。#51448 @Wxh16144 - 🌐 本地化
- 🇷🇺 添加了俄语翻译支持。#51619 @avvakumovid
- 🇮🇹 为 TimePicker 添加了意大利语翻译。#51685 @LorenzoCardinali
v5.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 @zombieJ - 🛠 Lock Input.OTP
ctrl + z
operation to avoid data not correct. #51609 @zombieJ - 🐞 Fix Select
tags
ormultiple
mode display issue. #51605 @guoyunhe - 🐞 Fix Badge
count
motion missing in Safari. #51598 @zombieJ - 🐞 Fix Tabs with
centered
the tabs can not fully display. #51571 @DDDDD12138 - 🐞 Fix Transfer with controlled
dataSource
&selectedKeys
sometime miss sync checked state. #51523 @IsKaros - 🐞 Revert Button
display
inline-flex
back toinline-block
to resolve Icon align issue. #51588 @Wxh16144
- 🛠 调整 DatePicker.RangePicker 当
needConfirm
切用户未提交日期时,不允许通过点击输入框切换到下一个字段。#51591 @zombieJ - 🛠 禁用 Input.OTP
ctrl + z
操作以防止数据变化非预期的问题。#51609 @zombieJ - 🐞 修复 Select 标签模式下展示异常的问题。#51605 @guoyunhe
- 🐞 修复 Badge
count
在 Safari 下动画丢失的问题。#51598 @zombieJ - 🐞 修复 Tabs
centered
下标签展示不全的问题。#51571 @DDDDD12138 - 🐞 修复 Transfer 受控
dataSource
和selectedKeys
时,偶尔会出现勾选不正确的问题。#51523 @IsKaros - 🐞 回滚 Button
display
的inline-flex
为inline-block
以解决 Icon 位置偏移的问题。#51588 @Wxh16144
v5.22.0
- Form
- 🆕 Form.Item supports hiding labels. #51524 @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 @hongzzz
- 🐞 Fix the problem that
onValuesChange
is still triggered when the Form field triggers change but the value does not change. #51437 @crazyair - 🆕 Form supports the focus property in scrollToFirstError when form validation fails. #51231 @nathanlao
- Table
- 🆕 Table column filter drop-down box supports
filterDropdownProps
. #51297 @Wxh16144 - 🆕 Table
expandedRowClassName
supports string . #51067 @li-jia-nan
- 🆕 Table column filter drop-down box supports
- Tree
- DatePicker
- 🆕 DatePicker supports prefix attribute. #51335 @guoyunhe
- 💄 Fixed the issue of DatePicker.RangePicker flashing when the mouse moves between cells. #51533 @afc163
- Input.OTP
- 🆕 In the
Input.OTP
component, addonInput
event to get the value of each user input. At the same time, the relevant documentation has been updated. #51289 @aojunhao123 - 🐞 Fixed the problem that Input.OTP cannot specify
inputMode
. #51271 @alan-rudzinski
- 🆕 In the
- 🆕 ColorPicker supports
disabledFormat
. #51539 @su-muzhi - 🆕 Add
cursor
configuration item to thefocus
method of InputNumber component to control the cursor position. #51444 @aojunhao123 - 🆕 Cascader adds
disabled
attribute to disable all first-level directory items of the component. #51272 @aojunhao123 - 🆕 Descriptions supports single-line spreading. #51365 @crazyair
- 🆕 Select/TreeSelect/Cascader components add
prefix
property to support custom prefix. #51186 @guoyunhe - 🐞 Fix the problem that the preview image class name is lost when setting
ImageProps.preview.rootClassName
in Image. #51538 @dislido - 🐞 Fixed the issue that the last item in the TimePicker panel column cannot be scrolled to the top. #51481 @zombieJ
- 🐞 Fix TreeSelect dropdown height not enough. #51567 @afc163
- 🐞 Fixed the issue that Typography is not updated immediately when the ConfigProvider language is switched. #51453 @thinkasany
- 🐞 Fixed the issue that Upload
itemRender
callingaction.preview
will cause a crash. #51419 @yoyo837 - 🐞 Fixed Splitter pseudo-element symbol issue. #51536 @dislido
- 💄 Optimize Collapse accessibility attribute and mouse hover style. #51400 @afc163
- 💄 Fix styling issue of Menu title content. #51425 @coding-ice
- 🇵🇹 Fix translation in Portuguese (pt_PT) localization file for better accuracy and consistency. #51501 @alexandre-p-marques-alb
- 🇺🇿 Optimize uz_UZ internationalization. #51407 @Zukhrik
- TypeScript
- Form
- 🆕 Form.Item 支持隐藏 label。#51524 @crazyair
- 🐞 Form 移除了用于撑开 error 高度的 div,将 errorDom 和 extraDom 用一个 div 包裹,并为该 div 设置了最小高度。#51254 @hongzzz
- 🐞 修复 Form 在字段触发 change 但是值没有变化时,
onValuesChange
仍然会触发的问题。#51437 @crazyair - 🆕 Form 支持在表单验证失败时,scrollToFirstError 中的 focus 属性。#51231 @nathanlao
- Table
- 🆕 Table 列过滤下拉框支持
filterDropdownProps
。#51297 @Wxh16144 - 🆕 Table
expandedRowClassName
支持 string 。#51067 @li-jia-nan
- 🆕 Table 列过滤下拉框支持
- Tree
- DatePicker
- 🆕 DatePicker 支持
prefix
属性。#51335 @guoyunhe - 💄 修复 DatePicker.RangePicker 当鼠标移动到单元格之间时出现闪烁样式的问题。#51533 @afc163
- 🆕 DatePicker 支持
- Input.OTP
- 🆕 Input.OTP 组件新增
onInput
事件用于获取用户每一次输入的值。#51289 @aojunhao123 - 🐞 修复 Input.OTP 无法指定
inputMode
的问题。#51271 @alan-rudzinski
- 🆕 Input.OTP 组件新增
- 🆕 ColorPicker 支持
disabledFormat
属性以禁用格式切换器。#51539 @su-muzhi - 🆕 为 InputNumber 组件的
focus
方法增加cursor
配置项以控制光标位置。#51444 @aojunhao123 - 🆕 Cascader 新增
disabled
属性以禁用组件的所有一级目录项。#51272 @aojunhao123 - 🆕 Descriptions 支持单行铺满。#51365 @crazyair
- 🆕 Select/TreeSelect/Cascader 组件增加
prefix
属性以支持自定义前缀。#51186 @guoyunhe - 🐞 修复 Image 设置
ImageProps.preview.rootClassName
导致预览图类名丢失。#51538 @dislido - 🐞 修复 TimePicker 面板列的最后一项无法滚动到最上面的问题。#51481 @zombieJ
- 🐞 修复 TreeSelect 弹层高度不够的问题。#51567 @afc163
- 🐞 修复 Typography 在 ConfigProvider 语言切换时候没有立即更新。#51453 @thinkasany
- 🐞 修复 Upload
itemRender
调用action.preview
会导致崩溃的问题。#51419 @yoyo837 - 🐞 修复 Splitter 伪元素符号问题。#51536 @dislido
- 💄 优化 Collapse 可访问性属性和鼠标 hover 样式。#51400 @afc163
- 💄 修复 Menu title 内容的样式问题。#51425 @coding-ice
- 🇵🇹 修正葡萄牙语 (pt_PT) 本地化文件中的翻译,以提高准确性和一致性。#51501 @alexandre-p-marques-alb
- 🇺🇿 优化 uz_UZ 国际化。#51407 @Zukhrik
- TypeScript
v5.21.6
- 🐞 Fix Tree.DirectoryTree interactive area not being a whole row. #51210
- 🐞 Fix the Button icon was not vertically centered. #51381
- 🐞 Fix the pointer style not set to
not-allowed
in thedisabled
state whenvariant
of the Input was set toborderless
. #51387 @ustcfury - Splitter
- 💄 Improve the pre-rendered style of Splitter under SSR. #51378
- 💄 Increased the click area of the Splitter collapse button to improve usability. #51383 @aojunhao123
- 💄 Improve Checkbox
indeterminate
to enhance accessibility experience. #51350 @SpaNb4 - 💄 Improve the
title
of the Empty preset svg image to improve accessibility experience. #51368
- 🐞 修复 Tree.DirectoryTree 交互区域不是整行的问题。#51210
- 🐞 修复 Button 图标未垂直居中的问题。#51381
- 🐞 修复 Input 组件
variant
设置borderless
时,disabled
状态下指针样式未设置not-allowed
的问题。#51387 @ustcfury - Splitter
- 💄 优化 Splitter 在 SSR 下预渲染的样式。#51378
- 💄 增大 Splitter 折叠按钮点击区域,提高可用性。#51383 @aojunhao123
- 💄 优化 Checkbox
indeterminate
提升无障碍体验。#51350 @SpaNb4 - 💄 优化 Empty 预设 svg 图片的
title
提升无障碍体验。#51368
v5.21.5
- 🐞 Fix Cascader filter limitation not working when
limit
set tofalse
. #51263 @dongbanban - 🐞 Fix DatePicker disabled items cannot response mouse events bug. #51294 @ajenkins-mparticle
- 🐞 Fix FloatButton menu problem what is difficult to click. #51208 @aojunhao123
- 🐞 Fix QRCode
onRefresh
property not working properly. #51315 @kiner-tang - 🐞 Fix Typography links cannot be selected by user. #51243 @thinkasany
- 💄 Fix Badge incorrect token of texts. #51252 @Wxh16144
- 💄 Fix Layout lost styles of collapse button. #51313 @aojunhao123
- 🛠 Improve Button event handler declaration. #42037 @SohaibRaza
- 🛠 Improve Splitter style token semantic name. #51223 @wanpan11
- 🐞 修复 Cascader
limit
属性设置false
不生效的问题。#51263 @dongbanban - 🐞 修复 DatePicker 的禁用日期项无法响应鼠标事件的问题。#51294 @ajenkins-mparticle
- 🐞 修复 FloatButton 悬浮菜单难以点击的问题。#51208 @aojunhao123
- 🐞 修复 QRCode
onRefresh
属性不生效的问题。#51315 @kiner-tang - 🐞 修复 Typography 中的超链接无法被用户选中的问题。#51243 @thinkasany
- 💄 修复 Badge 文本样式 token 不正确的问题。#51252 @Wxh16144
- 💄 修复 Layout 折叠按钮样式缺失的问题。#51313 @aojunhao123
- 🛠 优化 Button 事件处理器实现。#42037 @SohaibRaza
- 🛠 优化 Splitter 样式 token 的命名语义。#51223 @wanpan11
v5.21.4
- 🐞 Fixed Input.Search not applying the
hoverBorderColor/activeBorderColor
token for hover/active states. #51226 @iqingting - 🐞 Fix Tree icon align issue. #51181 @Meowu
- 🐞 Fix Splitter occasionally shows unnecessary scrollbars in nested combinations. #51169 @zombieJ
- 💄 Modify Design Token
textHoverBg
hover background tocolorFillTertiary
. #51187 @coding-ice - TypeScript
- 🤖 Improve type of Switch
eventHandler
. #51165 @thinkasany
- 🤖 Improve type of Switch
- 🐞 修复 Input.Search 无法使用 Input Token
hoverBorderColor/activeBorderColor
修改边框颜色的问题。#51226 @iqingting - 🐞 修复 Tree 的图标不对齐的问题。#51181 @Meowu
- 🐞 修复 Splitter 在嵌套组合时,偶尔会出现多余滚动条的问题。#51169 @zombieJ
- 💄 修改 Design Token 的
textHoverBg
悬浮状态下的背景色为colorFillTertiary
。#51187 @coding-ice - TypeScript
- 🤖 优化 Switch
eventHandler
类型。#51165 @thinkasany
- 🤖 优化 Switch
v5.21.3
- 💄 Added a scroll bar to Dropdown when having many items. #51112 @Cameron-Asdf
- Slider #51150 @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 whenextractStyle
is invoked.
- 🐞 Fix Slider issue where the
- 🐞 Fix ColorPicker with gradient mode, sometimes handle color will be force sync back to first handle color issue. #51161 @zombieJ
- 🐞 Fix Table
onChange
function receiving incorrect sorter value. #51114 @nathanlao - Splitter
- 🐞 Fix the issue about throw a warning when Splitter nested in a hidden tab panel. #51109 @kiner-tang
- 🐞 Fix the issue about Splitter had unexpected gaps in Flex. #51096 @kiner-tang
- 🐞 MISC: Restore
react
andreact-dom
peerDependencies. #51079 @chentsulin - TypeScript
- 🤖 Improve type of Slider
eventName
. #51156 @thinkasany
- 🤖 Improve type of Slider
- 💄 优化 Dropdown 列表较长时的滚动条样式。#51112 @Cameron-Asdf
- Slider #51150 @yoyo837
- 🐞 修复 Slider 不支持
id
属性的问题。 - 🐞 修复 Slider 导致
extractStyle
时抛出useLayoutEffect does nothing on the server
警告信息的问题。
- 🐞 修复 Slider 不支持
- 🐞 修复 ColorPicker 渐变色时,部分节点颜色拖拽会被强制重置为第一个节点颜色的问题。#51161 @zombieJ
- 🐞 修复 Table 组件在切换页面时
onChange
函数接收到错误的 sorter 值的问题。#51114 @nathanlao - Splitter
- 🐞 修复 Splitter 嵌套在一个隐藏的 Tabs 面板中时抛出警告的问题。#51109 @kiner-tang
- 🐞 修复 Splitter 组件在 Flex 组件下时出现异常间距的问题。#51096 @kiner-tang
- 🐞 杂项:重新将
react
和react-dom
添加进 peerDependencies。#51079 @chentsulin - TypeScript
- 🤖 优化 Slider
eventName
类型。#51156 @thinkasany
- 🤖 优化 Slider
v5.21.2
- 🐞 Revert #49221 to fix Typography
copyable
icon align issue. #51066 @afc163 - 🐞 Fix Tabs flicker when browser zoom is enabled. #51072 @afc163
- 🐞 Fix Select incorrect
activeBorderColor
token when variant is filled. #51054 @coding-ice - 🐞 Fixed Input.Search alignment issue between the input field and search button at different zoom levels. #50926 @nathanlao
- 💄 MISC: Tweak outline width of focus style from
4px
to3px
. #51069 @afc163 - Splitter
- 🐞 Fixed the issue with Splitter dragging abnormally on touch screen devices. #51060 @sakuraee
- 💄 Fixed Splitter.Panel style is invalid error. #51032 @wanpan11
- ⚡️ Remove TransButton in Table/Transfer/Typography. #51068 @afc163
- 🐞 回滚 #49221 以修复 Typography
copyable
图标位置偏上的问题。#51066 @afc163 - 🐞 修复 Tabs 在浏览器缩放时无限闪烁的问题。#51072 @afc163
- 🐞 修复了 Input.Search 组件中在不同缩放级别下输入框和按钮的对齐问题。#50926 @nathanlao
- 🐞 修复 Select
variant="filled"
时activeBorderColor
token 失效的问题。#51054 @coding-ice - 💄 MISC: 调整 focus 时的 outline 边框宽度,从
4px
调整到3px
。#51069 @afc163 - Splitter
- 🐞 修复 Splitter 在触屏设备上拖拽异常的问题。#51060 @sakuraee
- 💄 修复 Splitter.Panel 无法隐藏的问题。#51032 @wanpan11
- 📦 移除 Table/Transfer/Typography 内的 TransButton 实现以降低打包体积。#51068 @afc163
v5.21.1
- 🐞 Fix Button issue where
type="link"
incorrectly usedcolorPrimary
. #50962 @coding-ice - 🐞 Fix Button style class name weight issue that caused custom gradient styles to be overridden. #50962 @coding-ice
- 🐞 Fix Transfer width issue when customized as TableTransfer. #50974 @zombieJ
- 🇹🇷 Add Turkish text for
filterCheckall
in Table component. #51000 @ytahirkose
- 🐞 修复 Button
type="link"
错误使用colorPrimary
的问题。#50962 @coding-ice - 🐞 修复 Button 样式类名权重问题导致的自定义渐变样式覆盖失效的问题。#50962 @coding-ice
- 💄 修复 Transfer 在自定义为 TableTransfer 时,宽度不正确的问题。#50974 @zombieJ
- 🇹🇷 补充 Table 组件
filterCheckall
的土耳其语文案。#51000 @ytahirkose
v5.21.0
- 🔥 Introduce the new Splitter component, draggale split panel. #50038 @wanpan11
- Button
- 🔥 Button supports
variant
andcolor
properties for more combination styles. #50051 @coding-ice - 💄 Button adds
textColor
,textHoverColor
andtextActiveColor
tokens. #47870 @madocto
- 🔥 Button supports
- FloatButton
- 🆕 FloatButton supports
placement
property, allowing menus to pop up from multiple directions. #50407 @li-jia-nan - 🆕 FloatButton supports
htmlType
prop. #50892 @li-jia-nan - 💄 Unify FloatButton and FloatButton.Group button round style. #50513 @Layouwen
- 💄 Manage FloatButton's
z-index
withuseZIndex
to improve compatibility with other popup components. #50311 @li-jia-nan
- 🆕 FloatButton supports
- Menu
- 🆕 Menu.Item and Dropdown's
menu
supportsextra
prop now. #50431 @coding-ice - 🐞 Fix Menu
popupStyle
not working on SubMenu. #50922 @Wxh16144
- 🆕 Menu.Item and Dropdown's
- Table
- 🆕 Table supports
minWidth
for 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
type
to 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
- 🆕 Upload will pass
name
prop to<input type="file" />
. #50652 @Wxh16144 - 🆕 Upload
showUploadList.showXxxIcon
accept a function value now. #50245 @guoyunhe
- 🆕 Upload will pass
- ColorPicker
- App
- 🐞 Fixed App warn about
zIndex
too large when using themodal
with 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
allowClear
andvariant="filled"
. #50916 @thinkasany
- 🆕 Segmented adds
vertical
property and improves accessibility. #50708 @liangchaofei - 🆕 Radio.Group supports
block
prop now. #50828 @yuanliu147 - 🆕 ConfigProvider supports configuring the
className
andstyle
properties of the Splitter component. #50855 @li-jia-nan - 🆕 Image add
onActive
totoolbarRender
for toggling images . #50812 @madocto - 🆕 Add ref on List component. #50772 @Asanio06
- 🆕 Collapse support
classNames
andstyles
for 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
copyable
with arraychildren
has additional,
string issue. #50813 @zombieJ - 🐞 Fix Tour where long title will overlap with close button. #50942 @kiner-tang
- 🌐 Localization
- 🇯🇵 Added
ja_JP
locale for DatePicker'sshortWeekDays
andshortMonths
text. #50893 @harapeko - 🇪🇬 Added Arabic
ar_EG
text for Image preview feature. #50851 @nathanlao - 🇬🇷 Added Greek text for the Form component. #50825 @nathanlao
- 🇪🇸 Added Spanish
es_ES
text for the Tour component. #50805 @thinkasany
- 🇯🇵 Added
- TypeScript
- 🤖 Checkbox adds onFocus
and
onBlur` 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
- 🆕 Upload
name
属性将透传给<input type="file" />
。#50652 @Wxh16144 - 🆕 Upload 的
showUploadList.showXxxIcon
选项支持传入函数。#50245 @guoyunhe
- 🆕 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 新增
v5.20.6
- 🐞 Improve Menu collapse animation smoothness. #50751 @afc163
- 🐞 Fix Table cell overflow bug if edit with virtual scroll. #50737 @huiliangShen
- 🐞 Fix Input.Search button radius not changing with
size
. #50734 @afc163 - 🐞 Fix Form password still can be toggle show/hide even if disabled. #50616 @Jarryxin
- 🐞 Revert #49899 to fix wrap behavior for Dropdown, and re-fix wrap when out of screen edge. #50718 @afc163
- 💄 Fix Badge background transition when mouse out. #50743 @coding-ice
- TypeScript
- 🤖 Fix Collapse types for
onChange
arguments. #50754 @yuanliu147
- 🤖 Fix Collapse types for
- 🐞 修复 Menu 折叠动画不够丝滑的问题。#50751 @afc163
- 🐞 修复 Table 虚拟滚动时单元格宽度可能溢出的问题。#50737 @huiliangShen
- 🐞 修复 Input.Search 的按钮圆角不随
size
变化的问题。#50734 @afc163 - 🐞 修复 Form 禁用时仍可切换密码显隐的问题。#50616 @Jarryxin
- 🐞 回滚 #49899 以修复 Dropdown 菜单项文字溢出菜单的问题,并重新修复屏幕视口外菜单项内容换行错误的问题。#50752 #50718 @afc163
- 💄 修复 Badge 鼠标移出时无背景色过渡动画的问题。#50743 @coding-ice
- TypeScript
- 🤖 修复 Collapse 的
onChange
的函数入参类型。#50754 @yuanliu147
- 🤖 修复 Collapse 的
v5.20.5
- 🛠 Adjust Tree & TreeSelect
defaultExpandAll
logic to only add internalexpandedKeys
whichtreeNode
has children instead to avoid perf issue when with large data orloadData
case. #50689 @zombieJ - 🐞 Fix Cascader not show parent option in search when using
multiple
. #50689 - 🐞 Fix Typography
ellipsis.tooltip.title
with ReactNode will cause dead loop. #50688 @zombieJ
- 🛠 调整 Tree 与 TreeSelect 的
defaultExpandAll
的行为,仅将有子节点的treeNode
加入expandedKeys
以防止在大数据与loadData
异步的情况下引发的性能问题。#50689 @zombieJ - 🐞 修复 Cascader 在
multiple
下搜索不会显示父节点作为选项的问题。#50689 - 🐞 修复 Typography
ellipsis.tooltip.title
配置 ReactNode 会导致死循环的问题。#50688 @zombieJ
v5.20.4
- Menu
- 🐞 Fix Menu token
itemPaddingInline inoperative
not working. #50663 @coding-ice - 🐞 Fix Menu missing
hover
transition style. #50624 @afc163
- 🐞 Fix Menu token
- 💄 Badge add transition effect to count node. #50607 @afc163
- 💄 Fix Table column header move with unexpected transition. #50605 @afc163
- 🛠 Refactor Typography code to optimize internal logic. #50561 @afc163
- 🐞 Disable the Rate component within Form.Item when the form is disabled. #50594 @nikzanda
- 🌐 Patch tr_TR
Transfer.deselectAll
locale. #50672 @coding-ice
- Menu
- 🐞 修复 Menu 的
itemPaddingInline
token 不生效的问题。#50663 @coding-ice - 🐞 修复 Menu
hover
时背景色切换渐变效果丢失的问题。#50624 @afc163
- 🐞 修复 Menu 的
- 💄 给 Badge 增加一个动画缓动效果。#50607 @afc163
- 💄 修复 Table 列头切换状态时多余的的移动缓动动画。#50605 @afc163
- 🛠 重构 Typography 代码以优化内部实现逻辑。#50561 @afc163
- 🐞 当表单被禁用时,禁用 Form.Item 中的 Rate 组件。#50594 @nikzanda
- 🌐 补充土耳其
Transfer.deselectAll
本地化文本。#50672 @coding-ice
v5.20.3
- 🐞 Refactor Typography native css ellipsis measure logic to handle precision edge case. #50514 @zombieJ
- 🐞 Fix ColorPicker
onChangeComplete
not correct when click directly without move on the picker panel. #50501 @zombieJ - 🐞 Fix FloatButton.Group with controlled mode warning for nest updating issue. #50500 @zombieJ
- 🐞 重构 Typography 在使用 css 原生省略时的检查逻辑,以解决屏幕缩放等情况下的精度问题。#50514 @zombieJ
- 🐞 修复 ColorPicker 组件在面板上不拖拽直接点击的时候,
onChangeComplete
返回值不正确的问题。#50501 @zombieJ - 🐞 修复 FloatButton.Group 在受控模式下 React 会警告递归更新的问题。#50500 @zombieJ
v5.20.2
- 💄 Fix the suffix style problem of InputNumber without control. #50450 @coding-ice
- 🆕 Form
rule.message
supports skipping variable substitution through\\${}
. #50412 @zombieJ - 🐞 Fixed the issue where the rounded corners of the trigger element are missing when the FloatButton component has shape="square" and in menu mode when the menu pops up. #50408 @li-jia-nan
- 🐞 Fixed the problem that Upload.Dragger does not work when dragging and dropping upload folders. #50394 @huiliangShen
- 🐞 Fixed the issue where the arrow icon disappears after hovering when Select specifies
getPopcontainer={node=node.parentNode}
. #50382 @afc163 - 🐞 Fixed the arrow misalignment error when Popover sets the
arrow.pointAtCenter
property. #50260 @Wxh16144 - 📖 Transfer adds Russian and Ukrainian localization copy. #50429 @alexlag
- TypeScript
- 🤖 Roll back the Table partial generic constraint object to any to reduce break changes caused by #50351. #50372 @crazyair
- 💄 修复 InputNumber 没有控件的后缀样式问题。#50450 @coding-ice
- 🆕 Form
rule.message
支持通过\\${}
跳过变量替换。#50412 @zombieJ - 🐞 修复了 FloatButton 组件当 shape=“square” 时,并且在菜单模式下,菜单弹出时 trigger 元素圆角缺失的问题。#50408 @li-jia-nan
- 🐞 修复 Upload.Dragger 拖拽上传文件夹时不工作问题。#50394 @huiliangShen
- 🐞 修复 Select 指定
getPopcontainer={node=node.parentNode}
时箭头图标 hover 后会消失的问题。#50382 @afc163 - 🐞 修复 Popover 设置
arrow.pointAtCenter
属性时箭头未对齐错误。#50260 @Wxh16144 - 📖 Transfer 补充俄罗斯语和乌克兰语本地化文案。#50429 @alexlag
- TypeScript
- 🤖 将 Table 部分泛型约束 object 回滚为 any,以减少 #50351 造成的 break change。#50372 @crazyair
v5.20.1
- ColorPicker
- 💄 Fix Table
zIndexTableFixed
token not support CSS var. #50355 @li-jia-nan - 🐞 Fix FloatButton don't support
zIndexPopupBase
token. #50349 @Yuzu-io - 🐞 Fix Typography
tooltip
not show with precision issue ofellipsis
. #50315 @zombieJ - 🐞 Fix Form
preserve={false}
should not triggershouldUpdate
rerender. #50283 @zombieJ - 🐞 Fix Tour default
z-index
not followzIndexPopup
token issue. #50300 @zombieJ - 🐞 Fix Calendar
locale
should overridelocale
from ConfigProvider. #50236 @Asanio06 - 🐞 Fix Spin align issue when setting
percent
. #50277 @Wxh16144 - 🐞 Fix Tree switcher position not ping at top when title break the line. #50313 @zombieJ
- 🌐 Locales
- 🇦🇿 Fix missing spaces of
az_AZ
locale. #50238 @thinkasany
- 🇦🇿 Fix missing spaces of
- TypeScript
- 🤖 Refine Table all Record types from any to Object. #50351 @li-jia-nan
- ColorPicker
- 💄 修复 Table
zIndexTableFixed
token 不支持传入 CSS 变量的问题。#50355 @li-jia-nan - 🐞 修复 FloatButton 不支持
zIndexPopupBase
token 的问题。#50349 @Yuzu-io - 🐞 修复 Typography 的
ellipsis
因为精度问题导致tooltip
无法显示的问题。#50315 @zombieJ - 🐞 修复 Form
preserve={false}
会触发shouldUpdate
rerender 的问题。#50283 @zombieJ - 🐞 修复 Tour 默认
z-index
没有使用zIndexPopup
token 的问题。#50300 @zombieJ - 🐞 修复 Calendar
locale
没有正确覆盖 ConfigProviderlocale
的问题。#50236 @Asanio06 - 🐞 修复 Spin 组件设置
percent
时未水平居中的问题。#50277 @Wxh16144 - 🐞 修复 Tree 展开按钮在标题折行时没有顶上对齐的问题。#50313 @zombieJ
- 🌐 本地化
- 🇦🇿 修复
az_AZ
本地化文案缺少空格的问题。#50238 @thinkasany
- 🇦🇿 修复
- TypeScript
- 🤖 优化 Table 中所有的 Record 类型从 any 约束为 Object 类型。#50351 @li-jia-nan
v5.20.0
- 🛠 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
v5.19.4
- 🐞 Fix the internal elements of Form.Item did not inherit the row height. #50020 @Wanpan
- 🐞 Fix Overlay is still displayed when both Popover
title
andcontent
do not exist. #50064 @LLmoskk - 🐞 Fix the Token of Empty setting
opacityImage
does not take effect. #50066 @thinkasany - 💄 Fix Tour overflowed the screen on mobile devices. #50082
- 💄 Fix hover style of Checkbox
indeterminate
state. #50083 - 💄 Fix DatePicker selection style is not intuitive under rtl. #50045 @Layouwen
- 💄 Fix Descriptions overflowing the container in
bordered
mode. #49946 @leefinder - 🛠 MISC: Migrate common style tools to
@ant-design/cssinjs-utils
. #50030 @YumoImer - 🌐 Locales
- 🇵🇱 Add DatePicker locales for pl_PL. #50023 @ang33l
- 🇧🇪🇫🇷 Add Modal Tour locales for fr_BE fr_FR. #50058 @JaccoGoris
- 🐞 修复 Form.Item 内部元素没有继承行高的问题。#50020 @Wanpan
- 🐞 修复 Popover
title
和content
都不存在时 Overlay 仍显示的问题。#50064 @LLmoskk - 🐞 修复 Empty Token 设置
opacityImage
不生效的问题。#50066 @thinkasany - 💄 修复 Tour 在移动端下溢出屏幕的问题。#50082
- 💄 修复 Checkbox
indeterminate
状态的 hover 样式。#50083 - 💄 修复 DatePicker 在 rtl 下选择样式不符直觉。#50045 @Layouwen
- 💄 修复 Descriptions 在
bordered
模式下溢出容器的问题。#49946 @leefinder - 🛠 MISC:将通用样式工具迁移到
@ant-design/cssinjs-utils
。#50030 @YumoImer - 🌐 国际化
- 🇵🇱 为 pl_PL 补充 DatePicker 国际化。#50023 @ang33l
- 🇧🇪🇫🇷 为 fr_BE fr_FR 补充 Modal Tour 国际化。#50058 @JaccoGoris
v5.19.3
- 🐞 Fix Table sorter argument of
onChange
with unexpected value. #49533 @Zyf665 - 🐞 Fix Pagination
token.itemBg
not working. #49933 - 🐞 Fix List wrong align style of pagination. #49925 @coding-ice
- 🐞 Fix Image cannot exit preview, when click blank area on both sides of aciton bar. #49915 @wanpan11
- 🐞 Fix Card border radius cannot works for non-img elements from
cover
property. #49862 @coding-ice - 💄 Fix Dropdown menu item wrong wrap style at edge of viewport. #49899
- 💄 Fix Descriptions items may too close with each other. #49895 @crazyair
- ⌨️ Optimize Select be changed repeatedly when hold the enter key in multi-mode. #49963 @crazyair
- 🇪🇬 Add missing translation for the Arabic language(Egypt) (ar_EG). #49852 @ahmedsamirdev
- TypeScript
- 🤖 Reuse Tooltips type definitions for ColorPicker. #49949 @Wxh16144
- 🐞 修复 Table 的
onChange
事件中排序器参数错误的问题。#49533 @Zyf665 - 🐞 修复 Pagination
token.itemBg
设置不生效的问题。#49933 - 🐞 修复 List 默认分页位置错误的问题。#49925 @coding-ice
- 🐞 修复 Image 预览操作栏两侧空白区域被点击时,无法关闭预览的问题。#49915 @wanpan11
- 🐞 修复 Card 圆角对
cover
属性中的非 img 元素不生效的问题。#49862 @coding-ice - 💄 修复 Dropdown 菜单内容在视口边缘换行的问题。#49899
- 💄 修复 Descriptions 子项之间可能没有边距的问题。#49895 @crazyair
- ⌨️ 优化 Select 多选模式下长按回车会不断触发变更的问题。#49963 @crazyair
- 🇪🇬 添加阿拉伯文(埃及) (ar_EG) 的翻译。#49852 @ahmedsamirdev
- TypeScript
- 🤖 复用 Tooltips 的定义以简化 ColorPicker 的类型声明。#49949 @Wxh16144
v5.19.2
- 🐞 Fix List render
0
whenactions={[]}
. #49842 @int64ago - 🐞 Fix Upload with dragging upload, the
fileList
inbeforeUpload
is not fully filled. #49832 @coderz-w - Descriptions
- 🐞 Fix Descriptions overlap when content is too long. #49803 @coding-ice
- 🐞 Fix Descriptions render style issue when under Table
expandedRowRender
. #49727 @ljw-codeking
- 🐞 Fix Spin style issue when use
percent
andsize
at same time. #49876 - 🇮🇳 Fill DatePicker
kn_IN
missing locales. #49860 @neerajap-01 - Typescript
- 🐞 Fix Tree
icon
andswitcherIcon
parameter types not being correctly inferred. #49821 - 🐞 Revert Cascader
multiple
definition casevalue
definition missing. #49741 @YangZhi1
- 🐞 Fix Tree
- 🐞 修复 List
actions
为空数组时会渲染0
的问题。#49842 @int64ago - 🐞 修复 Upload 拖拽上传文件夹时,
beforeUpload
中fileList
不完整的问题。#49832 @coderz-w - Descriptions
- 🐞 修复 Descriptions 在内容过长时会遮盖后面内容的问题。#49803 @coding-ice
- 🐞 修复 Descriptions 在 Table
expandedRowRender
中渲染样式异常的问题。#49727 @ljw-codeking
- 🐞 修复 Spin
percent
和size
一同使用时,样式不正确的问题。#49876 - 🇮🇳 补充 DatePicker 的
kn_IN
本地化文案。#49860 @neerajap-01 - Typescript
- 🐞 修复 Tree
icon
和switcherIcon
参数类型未能正确推导的问题。#49821 - 🐞 回滚 Cascader
multiple
定义更新导致value
定义丢失的问题。#49741 @YangZhi1
- 🐞 修复 Tree
v5.19.1
- 🐞 Global: @ant-design/colors use pre-compiled color presets to improve runtime performance. #49714 @guoyunhe
- 🐞 Global: No more limit max auto
zIndex
increase but use warning instead. #49720 - 🐞 Adjust position of Input.TextArea to be consistent with other data entry components. #49718 @wanpan11
- 🐞 Fix Input variant
filled
activeBorderColor
token invalid. #49699 @wanpan11 - TypeScript
- 🤖 Fix Cascader
multiple
type issue. #49669 @YangZhi1
- 🤖 Fix Cascader
- 🐞 Global: @ant-design/colors 使用预编译颜色预设来提升运行时性能。#49714 @guoyunhe
- 🐞 Global: 对于弹层类自动增长
zIndex
不再限制最大值,而是改成控制台警告。#49720 - 🐞 优化 Input.TextArea 清除图标的位置,与其他输入组件统一。#49718 @wanpan11
- 🐞 修复 Input 组件
filled
变体下activeBorderColor
不生效问题。#49699 @wanpan11 - TypeScript
- 🤖 修复 Cascader 组件
multiple
的类型问题。#49669 @YangZhi1
- 🤖 修复 Cascader 组件
v5.19.0
- 🆕 ConfigProvider now supports global configuration for
variant
. #49535 @MadCcc - QRCode
- QRCode uses
rc-qrcode
instead ofqrcode.react
. #49454 @kiner-tang - QRCode adding support for click events and
iconSize
configuration. #49240 @thinkasany
- QRCode uses
- 🆕 Select component's
filterSort
property now includessearchValue
parameter. #49352 @MadCcc - 🆕 Pagination adds
simple
property, supports read-only mode, and introducesalign
property. #49562 @coding-ice - 🐞 Enhanced Anchor's
affix
property for more configuration options. #49295 @gin-lsl - DatePicker
- 🐞 Fixed missing arrow in DatePicker/TimePicker RangePicker with
placement
set totopRight
orbottomRight
.#49333 - 🐞 Fixed missing accessible text for DatePicker switch button, style issue in RTL mode for
DatePicker.RangePicker
, and crash when entering wrong end value in year selection of DatePicker.RangePicker.#49333 - 🐞 Fixed DatePicker.RangePicker resetting selected dates when entering dates via keyboard. #49333
- 🐞 Fixed missing arrow in DatePicker/TimePicker RangePicker with
- 🐞 Button fixed
disabled
property not working when used asDropdown
trigger
. #47363 - 🐞 InputNumber now warns when using
type=number
withchangeOnWheel
. #49648 @wanpan11 - Table
- 🐞 Upload fixed rendering performance issue when listing many files in list mode. #49598 @tlkv
- 💄 Added initial styles for
SubMenu
node in Menu. #49643 @wanpan11 - 💄 Improved active style for Slider handle. #49630
- 💄 Optimized
variant=borderless
style for DatePicker, TimePicker, Select, TreeSelect, Input, InputNumber, Mentions, now distinguishable when settingstatus
property. #49608 - 🐞 Fixed Typography
ellipsis
not working when parent hasnowrap
style. #49667 - TypeScript:
- 🤖 ConfigProvider Improved TypeScript definition for
renderEmpty
method. #49602 @Wxh16144
- 🤖 ConfigProvider Improved TypeScript definition for
- 🌐 Locales
- 🇹🇭 Added missing Thai translations for
Transfer.deselectAll
,Text.collapse
,QRCode.scanned
,ColorPicker.presetEmpty
. #49588 by @Tantatorn-dev - 🇳🇱 Fixed nl_NL localization issues for Tour. #49612 by @Hannnnnnnnnnnnnnnn
- 🇹🇷 Adjusted Turkish language text for
DatePicker
. #49333
- 🇹🇭 Added missing Thai translations for
- 🆕 ConfigProvider 现支持全局配置
variant
。#49535 @MadCcc - 🆕 QRCode
- QRCode 使用
rc-qrcode
替代了qrcode.react
。#49454 @kiner-tang - QRCode 新增支持点击事件和
iconSize
宽高配置。#49240 @thinkasany
- QRCode 使用
- 🆕 Select 组件的
filterSort
属性现新增获取searchValue
的参数。#49352 @MadCcc - 🆕 Pagination 支持
simple={{ readOnly }}
属性和align
属性。#49562 @coding-ice - 💄 优化了 Slider 滑块的激活样式。#49630
- 🐞 增强了 Anchor 的
affix
属性,支持更多配置项。#49295 @gin-lsl - DatePicker
- 🐞 Button 修复了用作 Dropdown
trigger
时disabled
属性不生效的问题。#47363 - 🐞 InputNumber 在同时使用
type=number
和changeOnWheel
时现在会给出警告提示。#49648 @wanpan11 - 🐞 修复 Dropdown 次级菜单 reset 样式丢失的问题。#49643 @wanpan11
- 💄 优化了 DatePicker、TimePicker、Select、TreeSelect、Input、InputNumber、Mentions 的
variant="borderless"
样式,现在在设置status
属性时也能够被区分。#49608 - Table
- 🐞 Upload 修复了在列表模式下文件过多时出现的渲染性能问题。#49598 @tlkv
- 🐞 Typography 修复在父元素存在
nowrap
样式时,ellipsis
不生效的问题。#49667 - TypeScript:
- 🤖 ConfigProvider 改进了
renderEmpty
方法的 TypeScript 类型定义。#49602 @Wxh16144
- 🤖 ConfigProvider 改进了
- 🌐 国际化
- 🇹🇭 添加了缺失的泰语翻译,包括
Transfer.deselectAll
、Text.collapse
、QRCode.scanned
、ColorPicker.presetEmpty
。#49588 @Tantatorn-dev - 🇳🇱 Tour 修复了 nl_NL 本地化问题。#49612 @Hannnnnnnnnnnnnnnn
- 🇹🇷 调整了 DatePicker 的土耳其语言文案。#49333
- 🇹🇭 添加了缺失的泰语翻译,包括
v5.18.3
- 🐞 Revert #49289 to resolve Table sort state missing in some cases. #49487
- 🛠 Migrate the
genCalc
andAbstractCalculator
to@ant-design/cssinjs
. #49463 @YumoImer - 🇳🇵 Fix ne_NP missing locales. #49492 @FuliangZhang
- 🐞 回滚 #49289 以修复 5.18.2 引入的 Table 排序状态失效的问题。#49487
- 🛠 将样式处理的部分功能迁移到
@ant-design/cssinjs
中。#49463 @YumoImer - 🇳🇵 补充 ne_NP 本地化文案。#49492 @FuliangZhang
v5.18.2
- 🐞 Fix the bug where the icon and the text aren't strictly centered in message. #49429 @nova1751
- 🐞 Fix Table sorter argument of
onChange
with unexpected value for #49134. #49289 @Zyf665 - 🐞 Add
aria-label
for expand icon in Collapse. #49395 @wanpan11 - 🐞 Fix token
inputFontSizeSM
andinputFontSizeLG
not working in InputNumber. #49369 - 💄 Fix Empty sometimes doesn't take
colorTextDescription
as description text color. #49408 - 💄 Resolve Badge
processing
status style conflict with Tailwind CSS. #49379 - 🌐 Locales
- 🇲🇳 Add missing translations for Mongol language (mn_MN). #49373 @JiyinShao
- 🐞 修复了 message 图标与文本内容没有严格居中对齐的问题。#49429 @nova1751
- 🐞 修复 #49134 #49289 中提到的 Table 组件的
onChange
事件中排序器参数的问题。@Zyf665 - 🐞 为 Collapse 组件中展开/折叠图标 添加具有语义的
aria-label
属性值。#49395 @wanpan11 - 🐞 修复 InputNumber 组件中 token
inputFontSizeSM
和inputFontSizeLG
不生效的问题。#49369 - 💄 修复 Empty 部分样式下,描述的
colorTextDescription
不生效的问题。#49408 - 💄 解决 Badge
processing
与 Tailwind CSS 样式冲突的问题。#49379 - 🌐 国际化
- 🇲🇳 添加蒙古语言 (mn_MN) 翻译。#49373 @JiyinShao
v5.18.1
- Typography
- 🐞 Fix Typography component's
ellipsis
not working properly inpre
tag. #49168 @nova1751 - 🐞 Fix Typography
ellipsis
sometimes not working in Safari. #49221
- 🐞 Fix Typography component's
- 🐞 Fix Space
size
setting to 0 did not take effect. #49192 @coding-ice - 🐞 Fix
padding
of Progress text is invalid in cssinjs. #49250 @vagusX - 🐞 Fix Modal close button's
zIndex
being incorrect incssVar
mode. #49238 - 🐞 Fix Image
width
height
being applied to preview images. #49259 @nova1751 - 🐞 Fix the icon of the Pagination page switcher disappears when hovering. #49262
- 🐞 Fix Mentions not responding to Enter event when
loading=true
. #49292 @wanpan11 - 🐞 Fix Notification did not inherit App config properties. #49339 @hemengke1997
- 💄 Fix the text color of Drawer was incorrect in dark mode. #49217
- 💄 Fix the style was not visible and the
percent
progress was not passed when customizing theindicator
of Spin. #49211 @wanpan11 - DatePicker
- TypeScript
- 🤖 Mentions added new export type
MentionsProps
. #49281 @thinkasany - 🤖 Remove duplicate union type from Statistic. #49218 @thinkasany
- 🤖 Mentions added new export type
- 🌐 Locales
- 🇲🇾 Add Table、Form、Tour etc. ms_MY locale. #49353 @cs-gavin-huang
- 🇦🇿 Add DatePicker az_AZ locale. #49247 @sabitalizade
- Typography
- 🐞 修复 Typography 组件的
ellipsis
在pre
标签中没有正常工作的问题。#49168 @nova1751 - 🐞 修复 Typography
ellipsis
在 Safari 中有时不生效的问题。#49221
- 🐞 修复 Typography 组件的
- 🐞 修复 Space
size
设置 0 不生效的问题。#49192 @coding-ice - 🐞 修复 Progress 文本的 padding 在 cssinjs 下单位失效问题。#49250 @vagusX
- 🐞 修复 Modal 关闭按钮的
zIndex
在cssVar
模式下不正确的问题。#49238 - 🐞 修复 Image
width
height
被应用到预览图片上的问题。#49259 @nova1751 - 🐞 修复 Pagination 页码切换器 hover 时图标消失的问题。#49262
- 🐞 修复 Mentions 当
loading=true
时不响应 Enter 事件的问题。#49292 @wanpan11 - 🐞 修复 Notification 没有继承 App config 属性的问题。#49339 @hemengke1997
- 💄 修复 Drawer 在暗黑模式下,文本颜色不正确的问题。#49217
- 💄 修复 Spin 自定义
indicator
时,样式不可见以及percent
进度没有传递的问题。#49211 @wanpan11 - DatePicker
- TypeScript
- 🤖 Mentions 新增导出类型
MentionsProps
。#49281 @thinkasany - 🤖 移除 Statistic 重复的联合类型。#49218 @thinkasany
- 🤖 Mentions 新增导出类型
- 🌐 国际化
- 🇲🇾 补充 Table、Form、Tour 等 ms_MY 文案。#49353 @cs-gavin-huang
- 🇦🇿 补充 DatePicker az_AZ 文案。#49247 @sabitalizade
v5.18.0
- 🛎 Fix Button icon and text align issue by changing
inline-block
toinline-flex
and simplifyiconPosition
implementation. #47318 - Drawer
- 🆕 Drawer add
drawerRender
property to control render. #49125 @crazyair - 🛠 Drawer loading implementation changes to Skeleton from Spin. #48886 @li-jia-nan
- 🆕 Drawer add
- Form
- 🆕 Form.Item add
layout
property to toggle layout mode. #49119 @crazyair - 🆕 Form
ref
property supports to access the native element. #48841 @wanpan11 - 🆕 Form add
clearOnDestroy
property to clear form data when destroy. #48921 @crazyair
- 🆕 Form.Item add
- Image
- 🆕 Image add
onReset
andonClose
properties. #48936 @kiner-tang - 🆕 Image supports get
imgInfo
from arguments oftoolbarRender
andimageRender
render functions. #48729 @nova1751
- 🆕 Image add
- notification
- Progress
- 🆕 Progress add
percentPosition
property to control position for percent value. #48157 @LonelySnowman - 🆕 Progress
size
property supports object value. #48805 @crazyair
- 🆕 Progress add
- 🆕 Avatar.Group add
max
property for replacemaxCount
、maxStyle
、maxPopoverPlacement
andmaxPopoverTrigger
properties. #49131 @wanpan11 - 🆕 Modal add
loading
property to show the skeleton. #48848 @li-jia-nan - 🆕 Rate add
keyboard
property to ignore keyboard events. #49132 @Wxh16144 - 🆕 Spin support
percent
to render as progress. #48657 - 🐞 Watermark add
overflow: hidden
style to prevent setheight: 0
to hide the watermark case. #49130 - 🐞 Anchor fix scroll animation lost bug when set
replace
property. #49136 @mySkey - 🐞 Tour fix
current
argument ofonClose
is wrong. #49124 - 💄 List.Item add
styles
andclassName
properties. #49154 @wanpan11 - 🇯🇵 DatePicker add missing ja_JP translations. #49155 @huyikai
- 🛠 Simplify several logics and type definitions. #49146 #49156 #49169 #49162 @coding-ice
- 🛎 Button 默认布局由
inline-block
切换为inline-flex
以修复图标和文字对齐问题,并简化了iconPosition
的实现。#47318 - Drawer
- 🆕 Drawer 新增
drawerRender
属性以支持自定义渲染。#49125 @crazyair - 🛠 Drawer 加载中的状态实现由 Spin 替换为 Skeleton。#48886 @li-jia-nan
- 🆕 Drawer 新增
- Form
- 🆕 Form.Item 新增
layout
属性以切换布局方式。#49119 @crazyair - 🆕 Form 的
ref
属性支持获取原生节点。#48841 @wanpan11 - 🆕 Form 新增
clearOnDestroy
属性以在卸载时清空表单数据。#48921 @crazyair
- 🆕 Form.Item 新增
- Image
- 🆕 Image 新增
onReset
和onClose
属性。#48936 @kiner-tang - 🆕 Image 的
toolbarRender
和imageRender
渲染函数入参新增ImgInfo
信息。#48729 @nova1751
- 🆕 Image 新增
- notification
- Progress
- 🆕 Progress 新增
percentPosition
属性用于控制数值位置。#48157 @LonelySnowman - 🆕 Progress 的
size
属性支持配置为对象值。#48805 @crazyair
- 🆕 Progress 新增
- 🆕 Avatar.Group 新增
max
属性以替代maxCount
、maxStyle
、maxPopoverPlacement
和maxPopoverTrigger
。#49131 @wanpan11 - 🆕 Modal 新增
loading
属性以展示加载中的状态。#48848 @li-jia-nan - 🆕 Rate 新增
keyboard
属性以支持禁用键盘事件。#49132 @Wxh16144 - 🆕 Spin 支持
percent
属性以进度形态展示。#48657 - 🐞 Watermark 添加
overflow: hidden
样式以防止通过设置height: 0
样式达到隐藏水印的效果。#49130 - 🐞 Anchor 修复设置
replace
属性时滚动动画丢失的问题。#49136 @mySkey - 🐞 Tour 修复
onClose
的current
参数错误的问题。#49124 - 💄 List.Item 增加
styles
及classNames
属性。#49154 @wanpan11 - 🇯🇵 DatePicker 补充 ja_JP 本地化文案。#49155 @huyikai
- 🛠 精简数处判断逻辑及类型定义。#49146 #49156 #49169 #49162 @coding-ice
v5.17.4
- 🐞 Fix Modal with
confirm
would not close correctly when returningtrue
inonOk
oronCancel
. #49054 @wanpan11 - 🐞 Fix Carousel was warned about having non-standard DOM attributes by React. #49031
- 🐞 Fix Form prop of
scrollToFirstError
not working for InputNumber. #48989 @Wxh16144 - TypeScript
- 🐞 修复 Modal 的
confirm
在onOk
或onCancel
中返回true
时,窗体不会正确关闭的问题。#49054 @wanpan11 - 🐞 修复 Carousel 会被提示存在非标准 dom 属性的问题。#49031
- 🐞 修复 Form 的
scrollToFirstError
对 InputNumber 无效的问题。#48989 @Wxh16144 - TypeScript
v5.17.3
- 🐞 MISC: Fix some components throws
findDOMNode
warning in React 18.3.0. #48958 - 🐞 Fix Button that
fontSize
token not works. #48893 @wanpan11 - 💄 Fix Pagination size-changer element style. #48931 @wanpan11
- 🐞 杂项:修复部分组件在 React 18.3.0 下警告
findDOMNode
的问题。#48958 - 🐞 修复 Button 字体大小 token 无效的问题。#48893 @wanpan11
- 💄 修复 Pagination 组件跳转选择元素样式问题。#48931 @wanpan11
v5.17.2
- 🐞 MISC: Fix
lib
bundle mistake deps on thees
module which break the build progress. #48914
- 🐞 MISC: 修复
lib
产物错误引入es
依赖导致构建错误的问题。#48914
v5.17.1
- 🐞 Optimize the internal logic of the Form, fix the problem that antd takes too long time to build in Next.js. react-component/async-validator#9
- 🐞 Fix visually not centered when Tooltip content is only one character. #48890 @kiner-tang
- Button
- 🐞 Fix hover and active styles not differentiating when Button
type="text"
andtype="danger"
are used together. #48876 @LonelySnowman
- 🐞 Fix hover and active styles not differentiating when Button
- Fix issue where some components throw findDOMNode warnings
- 🐞 Fix Button throwing
findDOMNode
warning. #48830 @wanpan11 - 🐞 Fix Badge throwing
findDOMNode
warnings. #48878 @wanpan11 - 🐞 Fix Alert throwing
findDOMNode
warnings. #48868 @wanpan11 - 🐞 Fix FloatButton.BackTop throwing
findDOMNode
warnings. #48865 @wanpan11
- 🐞 Fix Button throwing
- 💄 Add className to internal component Spin given by Drawer to prevent internal Spin styles from overriding user-passed Spin styles. #48857 @li-jia-nan
- 💄 Fix missing bottom border when Card
size="small"
. #48787 @wanpan11 - 🐞 Fix AutoComplete
tagRender
not working for maxTag and clicking on an edge triggering unexpected closure of the layer. #48798 - RTL
- 💄 Fix Button's missing icon order and margins under RTL. #48821
- TypeScript
- 🤖 Fix Cascader redundant generalization issue. #48879 @crazyair
- 🐞 优化 Form 组件底层逻辑,修复了 antd 在 Next.js 中构建时间太长的问题。react-component/async-validator#9
- 🐞 修复 Tooltip 内容只有一个字符时视觉不居中的问题。#48890 @kiner-tang
- Button
- 🐞 修复 Button
type="text"
和type="danger"
同时使用时 hover 和 active 样式没有区分的问题。#48876 @LonelySnowman
- 🐞 修复 Button
- 修复部分组件抛出 findDOMNode 警告的问题
- 🐞 修复 Button 抛出
findDOMNode
警告的问题。#48830 @wanpan11 - 🐞 修复 Badge 抛出
findDOMNode
警告的问题。#48878 @wanpan11 - 🐞 修复 Alert 抛出
findDOMNode
警告的问题。#48868 @wanpan11 - 🐞 修复 FloatButton.BackTop 抛出
findDOMNode
警告的问题。#48865 @wanpan11
- 🐞 修复 Button 抛出
- 💄 给 Drawer 的内部组件 Spin 添加 className,防止内部 Spin 样式覆盖用户传入的 Spin 样式。#48857 @li-jia-nan
- 💄 修复 Card
size="small"
时下边框丢失的问题。#48787 @wanpan11 - 🐞 AutoComplete 修复
tagRender
对 maxTag 无效的问题和点击边缘会触发弹层意外关闭的问题。#48798 - RTL
- 💄 修复 Button 在 RTL 下的图标顺序和边距缺失问题。#48821
- TypeScript
- 🤖 修复 Cascader 多余泛型问题。#48879 @crazyair
v5.17.0
- 🔥🔥🔥
@ant-design/cssinjs
StyleProvider supports configuringlayer
to unified downgrade CSS priority. After the downgrade, the style of antd will always be lower than the default CSS selector priority, so that users can override the style (please be sure to check the browser compatibility of @layer), see full documentation for usage. #48229 - 🆕 Carousel supports
arrows
to switching between slides now. #48542 - Form
- 🛠 Form move dependency from
async-validator
to@rc-component/async-validator
, fix a bug thattransform
don't check it's return value type. #48486 @crazyair - 🆕 Form add
inlineMargin
token. #48362 @CooperHash - 🐞 Fix Form
scrollToFirstError
cannot work on Upload. #48211 @Wxh16144
- 🛠 Form move dependency from
- Typography
- 🆕 Typography.Paragraph could customize
tabIndex
prop for editable and copyable buttons. #48567 @nova1751 - 🐞 Fix Typography
editable
will trigger focus unexpectedly on mounting. #48741
- 🆕 Typography.Paragraph could customize
- DatePicker
- Drawer
- 🆕 Drawer supports
loading
prop now. #48563 @Enigama - 🐞 Fix Drawer
classNames.wrapper
not working. #48721 @replygirl
- 🆕 Drawer supports
- Slider
- 🐞 Fix Slider tooltip cannot be hidden when
tooltip={{ formatter: null }}
. #48673 @wanpan11 - 🐞 Slider tooltip should not display when
tooltip={{ open: false }}
. #48708
- 🐞 Fix Slider tooltip cannot be hidden when
- Button
- 🆕 Button add
iconPosition
prop to specify icon position. #47791 @GeorgeHcc - 🆕 Button supports
autoInsertSpace
prop. #48348 @li-jia-nan
- 🆕 Button add
- 🆕 ConfigProvider supports
button.autoInsertSpace
prop and deprecatedautoInsertSpaceInButton
prop. #48348 @li-jia-nan - 🆕 TreeSelect supports
onPopScroll
prop now. #48636 @wanpan11 - 🆕 Tabs supports
more={{ .. }}
to customize more dropdown. #48321 @CooperHash - 🆕 Flex
wrap
could be boolean type now. #48391 @li-jia-nan - 🆕 Input.OTP supports
mask
prop. #48257 @li-jia-nan - 🆕 Alert supports
id
andref
props. #48336 @li-jia-nan - 🆕 Upload supports
ref.nativeElenent
. #48210 @Wxh16144 - 🐞 Fix List would not rerender when
grid
changed. #48683 @coderz-w - 🐞 Fix QRCode size cannot fit it's container and remove default padding of
bordered={false}
. #48194 @thinkasany - 🐞 Fix Table shadow should be show when there are columns where
fixed={false}
. #1113 @linxianxi - 🐞 Fix Progress tooltip wrong distance. #48686
- 📖 Table add column-drag sorting demo. #48434 @GeorgeHcc
- TypeScript
- 🤖 Optimize Cascader typing. #48420 @crazyair
- Locales
- 🇯🇵 Fix missing Japanese locale translation. #48704 @edikurniawan-dev
- 🇮🇩 Fix missing Indonesian locale translation. #48703 @edikurniawan-dev
- 🔥🔥🔥
@ant-design/cssinjs
StyleProvider 支持配置layer
统一降级 默认 CSS 优先级。经过降权后,antd 的样式将始终低于默认的 CSS 选择器优先级,以便于用户进行样式覆盖(请务必注意检查 @layer 浏览器兼容性),详情可见文档。#48229 - 🆕 Carousel 现在支持
arrows
来开启箭头切换功能。#48542 - Form
- 🛠 Form 依赖的
async-validator
替换为@rc-component/async-validator
,并修复transform
没有自动检测返回值类型的问题。#48486 @crazyair - 🆕 Form 新增
inlineMargin
token。#48362 @CooperHash - 🐞 修复 Form 下出现错误时无法滚动到 Upload 组件的问题。#48211 @Wxh16144
- 🛠 Form 依赖的
- Typography
- 🆕 Typography.Paragraph 的编辑、复制按钮允许修改
tableIndex
。#48567 @nova1751 - 🐞 修复 Typography 开启
editable
时会意外触发 focus 行为的问题。#48741
- 🆕 Typography.Paragraph 的编辑、复制按钮允许修改
- DatePicker
- Drawer
- 🆕 Drawer 新增
loading
属性。#48563 @Enigama - 🐞 修复 Drawer 不支持
classNames.wrapper
的问题。#48721 @replygirl
- 🆕 Drawer 新增
- Slider
- 🐞 修复 Slider
tooltip={{ open: false }}
时提示框未正确隐藏的问题。#48708 - 🐞 修复 Slider
tooltip={{ formatter: null }}
无法隐藏 Tooltip 的问题。#48673 @wanpan11
- 🐞 修复 Slider
- Button
- 🆕 Button 新增
iconPosition
以指定预置图标位置。#47791 @GeorgeHcc - 🆕 Button 组件支持
autoInsertSpace
属性,用来移除两个汉字之间的空格。#48348 @li-jia-nan
- 🆕 Button 新增
- 🆕 ConfigProvider 组件支持
button.autoInsertSpace
属性并废弃autoInsertSpaceInButton
属性。#48348 @li-jia-nan - 🆕 TreeSelect 支持
onPopScroll
属性。#48636 @wanpan11 - 🆕 Tabs 新增
more={{ ... }}
属性以支持自定义下拉菜单的属性。#48321 @CooperHash - 🆕 Flex 组件
wrap
参数支持 boolean 类型。#48391 @li-jia-nan - 🆕 Input.OTP 组件支持
mask
属性,以自定义遮罩字符。#48257 @li-jia-nan - 🆕 Alert 组件支持
id
和ref
属性。#48336 @li-jia-nan - 🆕 Upload 组件
ref.nativeElenent
以支持访问原生元素。#48210 @Wxh16144 - 🐞 修复 List
grid
属性值更新后组件未重新渲染的问题。#48683 @coderz-w - 🐞 修复 Progress tooltip 提示距离太近的问题。#48686
- 🐞 修复 QRCode 无法自适应容器大小的问题并移除
bordered={false}
时的默认边距。#48194 @thinkasany - 🐞 修复 Table 组件设置
fixed={false}
时的某些特殊情况下未正常显示投影的问题。#1113 @linxianxi - 📖 添加 Table 表格列拖拽排序演示。#48434 @GeorgeHcc
- TypeScript
- 🤖 优化 Cascader 属性定义。#48420 @crazyair
- 本地化
- 🇯🇵 补充日语本地化文案。#48704 @edikurniawan-dev
- 🇮🇩 补充印尼语本地化文案。#48703 @edikurniawan-dev
v5.16.5
- 🐞 Fix Transfer component issue when trying to select item from the right column while it has "unknown-key" within targetKeys. #48664 @andreyk1512
- 🐞 Fix Steps custom icon not vertically centered error. #48650 @ZinkWu
- 🐞 Fix Badge number centered but slightly right-aligned. #48605 @akinocccc
- 🐞 Fix Popover and Popconfirm blinking when open on the right edge of screen. #48591
- 🐞 Fix ColorPicker that cleared icon should change when initial value is
undefined
. #48584 @MadCcc - 💄 Fix Collapse bottom border issue. #48561 @hamzaseif13
- 💄 Adjust Input border style in form validation when disabled. #48616 @nova1751
- TypeScript
- 🤖 Add missing generic type of Upload prop. #48614 @li-jia-nan
- 🤖 Fix missing generic type of Upload
customRequest
prop. #48612 @jas0ncn
- Locales
- 🇪🇸 Added missing es_ES translations for DatePicker component. #48601 @JMMOLLER
- 🇩🇪 Added missing german translations for DatePicker component. #48586 @sebhs
- 🐞 修复 Transfer 组件在 targetKeys 中含有 "unknown-key" 时,尝试从右侧列选中单项的问题。#48664 @andreyk1512
- 🐞 修复 Steps 自定义图标未垂直居中问题。#48650 @ZinkWu
- 🐞 修复 Badge 数字居中偏右的问题。#48605 @akinocccc
- 🐞 修复 Popover 和 Popconfirm 在屏幕右侧边缘闪烁的问题。#48591
- 🐞 修复 ColorPicker 在初始未受控时清除图标不会改变的问题。#48584 @MadCcc
- 💄 修复 Collapse 组件底部边框样式问题。#48561 @hamzaseif13
- 💄 调整 Input 组件在禁用的时候在表单校验时的边框颜色。#48616 @nova1751
- TypeScript
- 🤖 补充 Upload 组件缺失的泛型。#48614 @li-jia-nan
- 🤖 修复 Upload
customRequest
参数丢失泛型的问题。#48612 @jas0ncn
- 国际化
- 🇪🇸 为 DatePicker 补充 西班牙语 多语言。#48601 @JMMOLLER
- 🇩🇪 为 DatePicker 补充 德语 多语言。#48586 @sebhs
v5.16.4
- 🐞 Fix Select with
multiple
andpaddingXXS=0
will break the height align ofcontrolHeight
token. #48574 - 🐞 Fix Upload miss style when enable CSS Variable. #48569 @nova1751
- 🐞 Fix Slider in
range
tooltip blink when drag the handle over another one. #48536 - Input
- 🐞 Fix the text of the button is not the large size when Input.Search is set to a large size. #48527
- 🐞 Fix abnormal text display in Input.TextArea. #48489 @korkt-kim
- 🐞 Fix the stuck animation effect of the Upload component image. #48522 @nova1751
- 🐞 Fix the issue where the Switch component using
checkedChildren
andunCheckedChildren
did not add a default height. #48513 @wanpan11 - 🐞 Fix the warning reminder when Form.Item uses noStyle with no value. #48508
- 🐞 Fix Popover
defaultOpen
setting failed. #48481 @linhf123 - 🐞 Fix where
placeholder
is not displayed when DatePicker is configured withmultiple
. #48387 @nova1751 - 🐞 Fix where ColorPicker clear color could not be changed when controlled in strict mode. #48450
- 💄 Fix the arrow style issue when Collapse uses third-party icons. #48417 @guoyunhe
- 💄 Optimize the animation effect of the embedded Menu Sider when it is expanded. #48127 @metouch
- 💄 Optimize Steps process style. #48464
- Locales
- 🇨🇳 Add zh_CN zh_HK zh_TW Table licales. #48543 @thinkasany
- 🇮🇩 Add id_ID DatePicker Form Table etc. locales. #48537 #48287 @edikurniawan-dev
- 🌐 Optimize Transfer localization to use
deselectAll
locale when need deselect all. #48553 @coderz-w
- 🐞 修复 Select 配置
paddingXXS=0
时,多选下超出设定的controlHeight
token 的问题。#48574 - 🐞 修复 Upload 在开启 CSS Variable 时样式丢失的问题。#48569 @nova1751
- 🐞 修复 Slider 在范围选择下,拖动滑块越过另一个滑块时提示框闪动的问题。#48536
- Input
- 🐞 修复 Input.Search 设置大尺寸时,按钮的文字不是大尺寸的问题。#48527
- 🐞 修复 Input.TextArea 的文字显示异常问题。#48489 @korkt-kim
- 🐞 修复 Upload 组件图片卡顿的动画效果。#48522 @nova1751
- 🐞 修复 Switch 组件使用
checkedChildren
unCheckedChildren
未添加默认高度的问题。#48513 @wanpan11 - 🐞 修复 Form.Item 使用 noStyle 无值时的警告提醒。#48508
- 🐞 修复 Popover
defaultOpen
设置失效的问题。#48481 @linhf123 - 🐞 修复 DatePicker 配置
multiple
时placeholder
不展示的问题。#48387 @nova1751 - 🐞 修复 ColorPicker 在严格模式下受控时清除颜色无法改变的问题。#48450
- 💄 修复 Collapse 使用第三方图标时的 arrow 样式问题。#48417 @guoyunhe
- 💄 优化内嵌 Menu 的 Sider 在展开时的动画效果。#48127 @metouch
- 💄 优化 Steps process 样式。#48464
- 国际化
- 🇨🇳 补充 zh_CN zh_HK zh_TW Table 文案。#48543 @thinkasany
- 🇮🇩 补充 id_ID DatePicker Form Table 等文案。#48537 #48287 @edikurniawan-dev
- 🌐 优化 Transfer 本地化,现在反选会使用
deselectAll
locale 配置。#48553 @coderz-w
v5.16.3
- 🛠 Script failed to publish an empty package. Do not use this version.
- 🛠 脚本错误发布空包,请勿使用。
v5.16.2
- 🐞 Fix Input.OTP controlled
value
to''
not work as expect. #48399 - 🐞 Fix DatePicker of
multiple
with week picker not show the selection on the panel. #48355 - 🐞 Fix Upload
listType
withpicture-card
orpicture-circle
has additional space on top. #48370 - Typography
- 🐞 Fix Typography dynamic set
copyable
oreditable
will not show the operation button. #48350 - 🐞 Fix Typography dynamic update
copyable.text
not working. #48347 - 🐞 Fix Typography using
ellipsis
config withexpandable="collapsible"
androw={1}
at both time will make ellipsis not working as expect. #48340
- 🐞 Fix Typography dynamic set
- 💄 Fix Steps in compact theme not show the correct progress style. #48251
- 💄 Refactor Tabs and wave-related components CSS duration values with
motionDurationSlow
Component Token. #48311 #48312 @li-jia-nan - 🇯🇵 Add Transfer missing ja_JP translations. #48411 @Inshiku-Han
- 🌐 Fix Picker ja-JP and ko-KR translations. #48382 @li-jia-nan
- 🛠 Use constant instead of enumeration to reduce package size. #48406 @kiner-tang
- 🐞 修复 Input.OTP 组件受控设置
value
为''
时不生效的问题。#48399 - 🐞 修复 DatePicker 对周选择器配置
multiple
多选时,弹出面板不会正确高亮选中项的问题。#48355 - 🐞 修复 Upload 配置
listType
为picture-card
或picture-circle
时,上方有额外空隙的问题。#48370 - Typography
- 💄 修复 Steps 的进度样式在紧凑模式下不正确的问题。#48251
- 💄 重构 Tabs 和波纹样式相关组件的 CSS 过渡时间值,替换为
motionDurationSlow
Component Token。#48311 #48312 @li-jia-nan - 🇯🇵 补充 Transfer 的 ja_JP 本地化文案。#48411 @Inshiku-Han
- 🌐 修复 Picker 的 ja_JP 和 ko_KR 本地化文案。#48382 @li-jia-nan
- 🛠 使用常量替代枚举减小包体积。#48406 @kiner-tang
v5.16.1
- 🛠 Adjust Typography
ellipsis
logic to use CSS ellipsis in SSR to enhance user experience. #48205 - 🐞 Fix FloatButton config
tooltip
andbadge
at same time will makebadge
customize background not working. #48198 @LonelySnowman
- 🛠 调整 Typography 的
ellipsis
使其在 SSR 阶段使用 CSS 省略以优化用户体验。#48205 - 🐞 修复 FloatButton 中同时配置
tooltip
和badge
时,badge
的自定义背景色会失效的问题。#48198 @LonelySnowman
v5.16.0
- 🔥 New component Input.OTP support. #48076
- 🆕 Tag support
aria-*
in closable. #47678 @kiner-tang - 🆕 Table add
rowHoverable
to control hover effect. #48112 @madocto - 🆕 Typography support async copy. #48123 @crazyair
- 🆕 Progress support
steps
withcircle
. #47940 @yykoypj - 🆕 Table support
onScroll
event for table body scroll. #47986 - 🆕 Typography ellipsis supports expand and collapse. #47264 @crazyair
- 🆕 ConfigProvider support configuring FloatButton.Group
closeIcon
. #47953 @li-jia-nan - 🆕 Table support
sorterTooltipTarget
prop for sorters. #47409 @Ke1sy - 🆕 Cascader support
optionRender
. #47727 @crazyair - 🆕 Notification support
aria-*
inclosable
. #47710 @kiner-tang - ⌨️ Popover can be closed by ESC when trigger is
focus
orclick
. #47928 @CooperHash - 🐞 Fix Button that vertically center icons when icon-only. #48178 @momesana
- 🐞 Fix Modal.confirm content is not centered when icon is null. #48173
- Form #48163 @madocto
- 🐞 1. Fix Form
getValueProps
shouldn't work when FormItem'sname
doesn't exist . - 🐞 2. Fix Form's
setFieldsValue
should tread same assetFields
.
- 🐞 1. Fix Form
- 🐞 Fixe Table that internationalization of table columns fails when searching. #48126 @LingJinT
- 🐞 Fix Upload that
onChange
should be triggered whenfileList.length
is larger thanmaxCount
. #47747 @Zhou-Bill - 🐞 Fix Carousel several bugs by upgrading react-slick changes and renewing TS type. #48093
- 🐞 Fix ColorPicker that displayed cleared color not change after
value
changed. #47816 @MadCcc - 🐞 Make Badge consistent with Tag that applay
colorInfo
token in processing. #47695 @pfdgithub - 🌐 Add missing form translations in is_IS. #48104 @LonelySnowman
- 🌐 Add Uzbek(latn) locale. #47899
- TypeScript
- 🤖 Improve Transfer's
key
type, changekey: string
tokey: React.Key
. #47879 @madocto - 🤖 Table support for generic pairs dataIndex props verification . @crazyair
- 🤖 Improve Transfer's
- 🔥 新增 Input.OTP 组件。#48076
- 🆕 Tag 组件支持在
closable
中配置 aria 属性。#47678 @kiner-tang - 🆕 Table 增加
rowHoverable
开启或关闭 hover 效果。#48112 @madocto - 🆕 Typography 组件支持异步复制。#48123 @crazyair
- 🆕 Progress 组件
circle
模式下支持steps
。#47940 @yykoypj - 🆕 Table 支持
onScroll
事件用于监听表单内容滚动。#47986 - 🆕 Typography 省略支持展开和收起。#47264 @crazyair
- 🆕 ConfigProvider 支持配置 FloatButton.Group 的
closeIcon
属性。#47953 @li-jia-nan - 🆕 Table 支持配置排序的
sorterTooltipTarget
属性.#47409 @Ke1sy - 🆕 Cascader 支持
optionRender
。#47727 @crazyair - 🆕 Notification 组件支持在
closable
中配置 aria-*。#47710 @kiner-tang - ⌨️ Popover 当
trigger
是focus
或click
时能被 ESC 按键所关闭。#47928 @CooperHash - 🐞 修复 Button 图标位置居中问题。#48178 @momesana
- 🐞 修复 Modal.confirm 无图标时内容不居中的问题。#48173
- Form #48163 @madocto
- 🐞 1. 修复 Form 当 FormItem 的
name
不存在时,getValueProps
不应该执行。 - 🐞 2. 修复 Form 的
setFieldsValue
和setFields
的行为应该相同。
- 🐞 1. 修复 Form 当 FormItem 的
- 🐞 修复 Table 表格列在搜索情况下,国际化失效的问题。#48126 @LingJinT
- 🐞 修复 Upload 当文件数量超出限制时,删除不起作用,无法触发
onChange
的问题。#47747 @Zhou-Bill - 🐞 Carousel 组件同步上游 react-slick 改动,修复一系列问题,并更新到最新 TS 定义。#48093
- 🐞 修复 ColorPicker 展示的清除颜色在受控
value
变化后不会改变的问题。#47816 @MadCcc - 🐞 Badge 与 Tag 组件保持一致,processing 状态使用
colorInfo
token 。#47695 @pfdgithub - 🌐 添加冰岛语缺失的 From 翻译。#48104 @LonelySnowman
- 🌐 添加乌兹别克语(拉丁字母) 国际化。#47899
- TypeScript
- 🤖 改进 Transfer 的
key
类型,将key: string
改为key: React.Key
。#47879 @madocto - 🤖 Table 支持泛型对 dataIndex 属性校验。#48190 @crazyair
- 🤖 改进 Transfer 的
v5.15.4
- 💄 Fix QRCode that custom style would be overrided by internal style. #48053 @li-jia-nan
- 💄 Fix Radio disabled hover style. #47972 @madocto
- 🐞 Fix Watermark sometime repeat re-render when browser set scale. #47895
- TypeScript
- 🤖 Affix Export AffixRef interface. #47982 @li-jia-nan
- 🤖 MISC: Fix GetRef ts util can not get correct ref type for some component. #47983
- 💄 修复 QRCode 组件自定义样式会被内部样式覆盖的问题。#48053 @li-jia-nan
- 💄 修复 Radio 禁用状态 hover 样式。#47972 @madocto
- 🐞 修复 Watermark 在特定屏幕缩放下会不断重复渲染的问题。#47895
- TypeScript
- 🤖 Affix 导出 AffixRef 类型。#47982 @li-jia-nan
- 🤖 MISC: 修复 GetRef 工具类型不能正确获得某些组件 ref 类型的问题。#47983
v5.15.3
- 💄 Unify Modal, Drawer, notification and Tour close button style. #47909
- 🐞 Fix Badge and text node align style under Space. #47908
- 💄 Fix Upload file list actions wrap style. #47898
- 🐞 Fix Typography config the
ellipsis.symbol
exceed the single line height will make ellipsis rows not correct issue. #47889 - 🐞 Fix DatePicker component height not correct when customize
controlHeight
. #47874 - 🐞 Fix DatePicker with
multiple
selector collapse for cross the line. #47821 - 🐞 TimePicker revert and add warning for
onSelect
API which is already removed in v4 but not update in English documentation. #47878 - 💄 Darken the Empty text color to make it readable. #47268 @evgmol
- 💄 统一 Modal、Drawer、notification 和 Tour 关闭按钮的样式,并增大 Modal 和 Drawer 关闭按钮的交互区域使其更容易点击。#47909
- 🐞 修复 Badge 和文本元素在 Space 下排版不对齐的问题。#47908
- 💄 修复 Upload 列表行动点换行的问题。#47898
- 🐞 修复 Typography 配置的
ellipsis.symbol
超出单行高度时,省略行数不正确的问题。#47889 - 🐞 修复 DatePicker 配置自定义
controlHeight
时展示高度不正确的问题。#47874 - 🐞 修复 DatePicker 设置
multiple
多选换行时行与行之间没有间隙的问题。#47821 - 💄 调深 Empty 文本色彩使其更清晰可读一些。#47268 @evgmol
v5.15.2
- 🛠 Adjust the closing trigger of Tour, Dropdown, Menu, Tabs, Mentions, Picker, Select, TreeSelect, Cascader, Tooltip, and Popover pop-ups from
click
tomouseDown
to uniformly solve some event timing issues related to pop-up interactions. #47775 - 🐞 Fix Descriptions extra padding of items. #47737
- 🐞 Fix Anchor wrong active status when bounds value is 0. #47795@winchesHe
- 💄 Fix ColorPicker clear icon hover style. #47761
- 🇷🇺 Improve DatePicker ru_RU locale. #47768 @AlexeyTeterin
- 🛠 调整 Tour、Dropdown、Menu、Tabs、Mentions、Picker、Select、TreeSelect、Cascader、Tooltip、Popover 弹层点击外部的关闭时机,从
click
调整至mouseDown
以统一解决一些与弹窗相关交互中的事件时序问题。#47775 - 🐞 修复 Descriptions 内容区域额外的边距问题。#47737
- 🐞 修复 Anchor 界限值为 0 时 active 状态错误的问题。#47795@winchesHe
- 💄 给 ColorPicker 清除按钮补上鼠标 hover 反馈样式。#47761
- 🇷🇺 更新 DatePicker 的俄语文案。#47768 @AlexeyTeterin
v5.15.1
v5.15.0
- ConfigProvider
- 🆕 ConfigProvider support Input.TextArea
allowClear
autoComplete
className
style
classNames
styles
props. #47589 - 🆕 ConfigProvider support Input
allowClear
props. #47602 - 🆕 ConfigProvider support Menu
expandIcon
props. #47561 - 🆕 ConfigProvider support Collapse
expandIcon
props. #47473 - 🆕 ConfigProvider support Tabs
removeIcon
props, when settype="editable-card"
. #47334 - 🆕 Prefixes for CSS variables follow the
prefixCls
property of ConfigProvider by default. #47481 - 🤖 CardProps
styles
in ConfigProvider is set to optional. #47601 @Yawenina
- 🆕 ConfigProvider support Input.TextArea
- 🆕 Select、Checkbox、Radio、DatePicker、TreeSelect、Cascader the
focus
supports passingoptions
. #47664 - 🆕 Modal support configuring
aria-*
inclosable
. #47650 - 🆕 Alert support configuring
aria-*
inclosable
. #47474 - 🆕 Tabs support
removeIcon
props, when settype="editable-card"
. #47334 - Drawer
- Table
- 🆕 Table adds
filterOnClose
to specify whether to trigger filtering when the filter menu is closed. #47451 @xsjcTony - 🆕 Table adds
components.header.table
to customize the header component when scrolling the column. #47382 - 🐞 Fix the issue where scroll bars would not be displayed during initial rendering under Table
sticky
. #47382 - 🐞 Fix the issue where the
th
element is not used in the column header when Tablecolumn.title
is empty. #47382 - 🐞 Fix the issue where
prefixCls
is invalid when Table uses a virtual list. #47639 - 💄 Fix abnormal shadow display when Table fixed columns. #47518
- 🆕 Table adds
- 🐞 Fix the issue where when using DirectoryTree in Tree, pressing shift for continuous multi-selection will report an error. #47567 @wkmyws
- 🐞 Fix the issue where
isFieldsTouched(true)
always returnsfalse
when Form exists in Form.List. #47629 @lemonied - 🐞 Fix the issue of Button being incompatible with v4
type=''
. #47612 - 🛠 Refactor Typography to omit measurement logic to support dynamic row height scenarios. #47597
- 💄 Remove redundant margin styles from Tag. #47504
- 🤖 MISC: fix an issue that could not be compiled under pnpm configuration
hoist: false
. #47587
- ConfigProvider
- 🆕 ConfigProvider 支持 Input.TextArea 组件
allowClear
、autoComplete
、className
、style
、classNames
、styles
属性。#47589 - 🆕 ConfigProvider 支持 Input 组件
allowClear
属性。#47602 - 🆕 ConfigProvider 支持 Menu 组件
expandIcon
属性。#47561 - 🆕 ConfigProvider 支持 Collapse 组件
expandIcon
属性。#47473 - 🆕 ConfigProvider 支持 Tabs
removeIcon
属性, 在设置type="editable-card"
时有效。#47334 - 🆕 CSS 变量的前缀默认跟随 ConfigProvider 的
prefixCls
属性。#47481 - 🤖 ConfigProvider 中 CardProps
styles
设为可选。#47601 @Yawenina
- 🆕 ConfigProvider 支持 Input.TextArea 组件
- 🆕 Select、Checkbox、Radio、DatePicker、TreeSelect、Cascader 支持
focus
功能支持传递options
。#47664 - 🆕 Modal 支持在
closable
中配置aria-*
。#47650 - 🆕 Alert 支持在
closable
中配置aria-*
。#47474 - 🆕 Tabs 组件支持
removeIcon
属性,在设置type="editable-card"
时有效。#47334 - Drawer
- Table
- 🐞 修复 Tree 使用 DirectoryTree 时,按住 shift 连续多选报错的问题。#47567 @wkmyws
- 🐞 修复 Form 存在 Form.List 时,
isFieldsTouched(true)
始终会返回false
的问题。#47629 @lemonied - 🐞 修复 Button 不兼容 v4
type=''
的问题。#47612 - 🛠 重构 Typography 省略测量逻辑以支持动态行高的场景。#47597
- 💄 移除 Tag 组件多余的 margin 样式。#47504
- 🤖 杂项:修复不能在 pnpm 配置
hoist: false
下编译的问题。#47587
v5.14.2
- 🐞 Fix DatePicker.RangePicker time column sometime not scroll to the target time value. #47542
- 🐞 Fix Modal that pointer events will triggered during openning animation. #47508 @MadCcc
- 🐞 Fix Avatar.Group unnecessary dom since tooltip. #47478
- 💄 Fix Progress unexpected margin style. #47493 @li-jia-nan
- 💄 Fix Table scrollbar color in darkmode. #47487 @wkmyws
- 💄 Fix Layout content font color in dark mode. #47441 @nova1751
- 💄 Fix Menu cannot customize
darkItemSelectedColor
anddarkItemSelectedBg
token in horizontal dark mode. #47463 @gandavarapurajasekhar
- 🐞 修复 DatePicker.RangePicker 的时间列有时不会滚动到正确位置的问题。#47542
- 🐞 修复 Modal 在打开期间会触发其他鼠标事件的问题。#47508 @MadCcc
- 🐞 修复 Avatar.Group 的 tooltip 存在多余 dom 残留的问题。#47478
- 💄 修复 Progress 组件多余的
margin
样式。#47493 @li-jia-nan - 💄 修复 Table 滚动条在暗黑模式下的颜色。#47487 @wkmyws
- 💄 修复 Layout 内容字体在暗黑模式下的颜色。#47441 @nova1751
- 💄 修复 Menu 组件在水平暗黑模式下自定义
darkItemSelectedColor
和darkItemSelectedBg
token 不生效的问题。#47463 @gandavarapurajasekhar
v5.14.1
- 🐞 Fix Steps cannot interact correctly when
type="inline"
. #47406 - 🐞 Fix DatePicker & TimePicker arrow position not consider panel border radius distance. #47389
- 🐞 Fix Dropdown should not display when items is empty array. #47375
- 🐞 Fix Tag that should use
defaultBg
token withbordered={false}
. #47372 @MadCcc - 🐞 MISC: Fix that
theme.inherit
should not affecthashded
andcssVar
. #47360 @MadCcc - 🐞 Fix Calendar panel not switch when change year or month. #47361
- 💄 Fix Table's sub-table style issue in virtual mode. #47333 @Enigama
- 🐞 修复 Steps
type="inline"
时鼠标无法 hover 到正确的步骤上的问题。#47406 - 🐞 修复 DatePicker 与 TimePicker 弹出面板箭头没有考虑面板本身圆角的问题。#47389
- 🐞 修复 Dropdown
menu.items
为空时依然显示的问题。#47375 - 🐞 修复 Tag 无边框模式没有正确使用
defaultBg
组件 token 的问题。#47372 @MadCcc - 🐞 杂项:修复主题
inherit
配置会隔断hashed
和cssVar
配置的问题。#47360 @MadCcc - 🐞 修复 Calendar 在切换年月时,面板没有跟着切换的问题。#47361
- 💄 修复 Table 在虚拟模式下子表格的样式问题。#47333 @Enigama
v5.14.0
- 🔥 Refactored the DatePicker component, details are follows. #46982
- 🆕 DatePicker adds
multiple
to support multiple selection capabilities. - 🆕 DatePicker supports
showWeek
attribute. - 🆕 DatePicker.RangePicker supports
order
attribute. - 🆕 DatePicker
id
attribute under RangePicker supports setting theid
of thestart
andend
input boxes separately. - 🆕 DatePicker
onFocus
andonBlur
events of RangePicker will additionally provide aninfo.range
to inform which input box the current focus comes from. - 🆕 DatePicker add matching
pickerValue
anddefaultPickerValue
attributes to control the date where the expanded panel is located. - 🆕 DatePicker add the
preserveInvalidOnBlur
attribute to keep the input content when losing focus in the case of accessibility. - 🆕 DatePicker
format
supports thealign
attribute, allowing input content through the mask mode. - 🆕 DatePicker Support
required
attribute. - 🆕 DatePicker time panel supports
scrollOnChange
to automatically select the corresponding time when scrolling. - 🆕 DatePicker add the
needConfirm
attribute to allow setting the confirmation or non-confirmation submission mode. - 🆕 DatePicker add the
components
attribute to allow customizing some panels. - 🆕 DatePicker all date-related information in the panel will allow configuration through
locale
. - 🆕 DatePicker
format
supportsLT
andLTS
date formats. - 🆕 DatePicker add
minDate
andmaxDate
to set the panel switching range. - 🐞 DatePicker
defaultPickerValue
will now be reset each time the panel is expanded. - 🐞 DatePicker fix the problem that the input box function key will trigger the pop-up box, now it will only be triggered when the interactive key and the input content change.
- 🐞 DatePicker Losing focus after entering the date through the input box will submit the change instead of losing the input content (that is, it is no longer necessary to press Enter to submit).
- 🐞 DatePicker fix the problem that the
hour
obtained bydisabledTime
underuse12Hours
will also be clipped to 0~12. - 🐞 DatePicker fix the problem that the disabled date is not effective and can still be submitted under some interactions.
- ⚡️ DatePicker Optimize
disabledDate
check logic, now it will provideinfo.type
to inform the current panel information. - 🛠 DatePicker
allowClear
trigger event fromonMouseDown
toonClick
. - 🛠 DatePicker Deprecate the
preventDefault
parameter ofonKeyDown
, please call it directly throughevent.preventDefault
. - 🛠 DatePicker Remove the keyboard interaction with the panel, it needs to be redesigned based on accessibility.
- 💄 DatePicker Remove the dotted line style of RangePicker to reduce visual interference.
- 💄 DatePicker Remove the disabled range of RangePicker when selecting start or end time to optimize the interaction experience.
- 🆕 DatePicker adds
- 🔥 Added support for stacked fixed columns in the Table component. #47245
- 🆕 Added support for
components.body
in the Table component under thevirtual
mode. #47098 by @linxianxi - 🆕 Added support for generics in the Segmented
value
type. #47091 by @madocto - 🆕 Added the
changeOnWheel
property to the InputNumber component to enable mouse wheel control. #47158 by @MadCcc - 🆕 Added six tokens (
defaultHoverBg
,defaultHoverColor
,defaultHoverBorderColor
,defaultActiveBg
,defaultActiveColor
, anddefaultActiveBorderColor
) to the Button component. #47075 by @madocto - 🆕 Added
duration
configuration support to theuseNotification
function in the Notification component. This update also applies to thenotification
configuration of the App component. #47141 - 🆕 Added support for configuring
flex
property in responsive layouts of the Grid component. #47124 - 🐞 Improved the Transfer internal padding of the Pagination component. #47231 by @qmhc
- 🐞 Fixed the alignment issue in the Avatar component when the height is less than 16px. #47236 by @lcgash
- 🐞 Fixed the incorrect mouse pointer when the Input component is disabled. #47280 by @MadCcc
- 🐞 Fixed the issue where the
hoverBorderColor
andactiveBorderColor
token customization didn't work in the Input component. #47243 by @MadCcc - 💄 Fixed the issue where the hover style of submenus in the Menu component disappears at the edges. #47227 by @MadCcc
- 💄 Menu fixed component styling issues in non-hash mode. #46609 by @MadCcc
- 💄 Added
classNames
andstyles
properties to the Card component. #46811 by @zh-lx - ConfigProvider
- 🆕 Added support for
selectionsIcon
in the Transfer component to ConfigProvide. #47301 by @li-jia-nan - 🆕 Added support for
addIcon
andmoreIcon
in the Tabs component to ConfigProvide. #47274 by @li-jia-nan - 🆕 Added support for
closeIcon
in the Image component to ConfigProvide. #47252 by @li-jia-nan - 🆕 Added support for
closeIcon
in the Tag component to ConfigProvide. #47250 by @li-jia-nan - 🆕 Added support for
closeIcon
in the Notification component to ConfigProvide. #47244 by @li-jia-nan - 🆕 Added support for
closeIcon
in the Modal component to ConfigProvide. #47226 by @li-jia-nan - 🆕 Added support for
expandIcon
in the Table component to ConfigProvide. #47225 by @li-jia-nan - 🆕 Added support for
closeIcon
in the Tour component to ConfigProvide. #47200 by @li-jia-nan - 🆕 Added support for
icons
in the Drawer component to ConfigProvide. #46894 by @li-jia-nan - 🆕 Added support for
closeIcon
in the Alert component to ConfigProvide. #47235 by @li-jia-nan
- 🆕 Added support for
- 🔥 重构了 DatePicker 组件,详细改动如下。#46982
- 🆕 DatePicker 新增
multiple
支持多选能力。 - 🆕 DatePicker 支持
showWeek
属性。 - 🆕 DatePicker.RangePicker 下的
id
属性支持分别设置start
和end
输入框的id
。 - 🆕 DatePicker.RangePicker 的
onFocus
和onBlur
事件会额外提供一个info.range
告知当前的焦点来自于哪个输入框。 - 🆕 DatePicker.RangePicker 支持
order
属性。 - 🆕 DatePicker 新增配套
pickerValue
、defaultPickerValue
属性用于受控管理展开面板所在日期。 - 🆕 DatePicker 新增
preserveInvalidOnBlur
属性用于无障碍时失去焦点需要保留输入内容的场景。 - 🆕 DatePicker
format
支持align
属性,允许通过掩码模式输入内容。 - 🆕 DatePicker 支持
required
属性。 - 🆕 DatePicker 时间面板支持
scrollOnChange
设置滚动时间时自动选择对应的时间。 - 🆕 DatePicker 添加
needConfirm
属性,允许设置需要确认、或者不确认的提交模式。 - 🆕 DatePicker 添加
components
属性,允许自定义部分面板。 - 🆕 DatePicker 面板中所有的日期相关信息都会允许通过
locale
进行配置。 - 🆕 DatePicker
format
支持LT
、LTS
日期格式。 - 🆕 DatePicker 新增
minDate
和maxDate
用于设置面板切换范围。 - 🐞 DatePicker 的
defaultPickerValue
现在会在每次面板展开时都进行重置。 - 🐞 DatePicker 修复输入框功能按键会唤起弹出框的问题,现在只有在交互按键、以及输入内容变化时唤起。
- 🐞 DatePicker 通过输入框输入日期后失去焦点会提交变更,而不是丢失输入内容(即不再强制需要按下回车提交)。
- 🐞 DatePicker 修复
use12Hours
下,disabledTime
获取的hour
也会被裁剪成 0~12 的问题。 - 🐞 DatePicker 修复某些交互下,禁用日期没有生效依然可以提交的问题。
- ⚡️ DatePicker 优化
disabledDate
检查逻辑,现在会提供info.type
告知当前面板信息。 - 🛠 DatePicker 的
allowClear
触发事件从onMouseDown
切换为onClick
。 - 🛠 移除 DatePicker 的键盘对面板交互,它需要基于无障碍重新设计。
- 🛠 DatePicker 废弃
onKeyDown
的preventDefault
参数,请直接通过event.preventDefault
进行调用。 - 💄 DatePicker.RangePicker 移除虚线样式,减少视觉干扰。
- 💄 DatePicker.RangePicker 移除在选择开始或者结束时间时的禁用范围,优化交互体验。
- 🆕 DatePicker 新增
- 🔥 Table 支持堆叠固定列。#47245
- 🆕 Table 支持
virtual
下的components.body
。#47098 @linxianxi - 🆕 Segmented
value
类型支持泛型。#47091 @madocto - 🆕 InputNumber 组件支持
changeOnWheel
属性,以启用鼠标滚轮控制。#47158 @MadCcc - 🆕 Button 添加
defaultHoverBg
、defaultHoverColor
、defaultHoverBorderColor
、defaultActiveBg
、defaultActiveColor
和defaultActiveBorderColor
六个 token。#47075 @madocto - 🆕 Notification
useNotification
支持duration
配置,该更新同样适用于 App 组件的notification
配置。#47141 - 🆕 Grid 支持为响应式布局配置
flex
属性。#47124 - 🐞 改进 Transfer 组件分页器的内边距。#47231 @qmhc
- 🐞 修复 Avatar 组件当高度小于 16px 内容不居中的问题。#47236 @lcgash
- 🐞 修复 Input 组件禁用时鼠标指针不正确的问题。#47280 @MadCcc
- 🐞 修复 Input 组件
hoverBorderColor
和activeBorderColor
token 定制无效的问题。#47243 @MadCcc - 💄 修复 Menu 组件子菜单 hover 样式在边缘消失的问题。#47227 @MadCcc
- 💄 修复 Menu 在无 hash 模式下的组件样式问题。#46609 @MadCcc
- 💄 Card 组件增加
classNames
和styles
属性。#46811 @zh-lx - ConfigProvider
- 🆕 ConfigProvide 支持 Transfer 的
selectionsIcon
。#47301 @li-jia-nan - 🆕 ConfigProvide 支持 Tabs 的
addIcon
和moreIcon
。#47274 @li-jia-nan - 🆕 ConfigProvide 支持 Image 的
closeIcon
。#47252 @li-jia-nan - 🆕 ConfigProvide 支持 Tag 的
closeIcon
。#47250 @li-jia-nan - 🆕 ConfigProvide 支持 Notification 的
closeIcon
。#47244 @li-jia-nan - 🆕 ConfigProvide 支持 Modal 的
closeIcon
。#47226 @li-jia-nan - 🆕 ConfigProvide 支持 Table 的
expandIcon
。#47225 @li-jia-nan - 🆕 ConfigProvide 支持 Tour 的
closeIcon
。#47200 @li-jia-nan - 🆕 ConfigProvide 支持 Drawer 的
icons
。#46894 @li-jia-nan - 🆕 ConfigProvide 支持 Alert 的
closeIcon
。#47235 @li-jia-nan
- 🆕 ConfigProvide 支持 Transfer 的
v5.13.3
- Input
- 🐞 Fix Input.Search width 1px smaller than Input. #47193
- 🐞 Fix Input inside Space.Compact display incorrectly when
showCount
istrue
. #47112 @huiliangShen
- 🐞 Fix Descriptions lost border style when item's children is falsy. #47191
- 🐞 Fix Table
column.onFilter
don't work on tree table data. #47170 @Mumujianguang - 🐞 Fix Affix
placeholder
height anomaly when browser zoom is 80%. #46823 @zhipenglin - 🐞 Fix QRCode background color in dark mode. #47128 @kampiu
- 🐞 Fix Statistic component don't support html
role
anddata-*
andaria-*
attributes. #47149 - 🐞 Fix Transfer inverting current page incorrectly. #47125 @linxianxi
- 💄 Lower the priority of Button
size
styles. #47074 @crazyair - 🐞 Fix Modal conflicting props bettween
classNames.wrapper
andcentered
. #47076 @sunsunmonkey - 🐞 Fix false positive console warning for Spin with
tip
andfullscreen
used together. #47015 @xsjcTony - 🗑 Remove unused PageHeader locale text and ConfigProvider
pageHeader
property. #47163 @li-jia-nan - 🛠 Refactor Drawer motion style code. #47194
- Locales
- 🇮🇹 Added missing it_IT translations for Tour component. #47148 @nikzanda
- 🇯🇵 Added missing locale keys in ja_JP locale for Table filters. #47072 @sebastibe
- Input
- 🐞 修复 Input.Search 宽度比 Input 少 1px 的问题。#47193
- 🐞 修复 Input 启用
showCount
时在 Space.Compact 下的样式错误。#47112 @huiliangShen
- 🐞 修复 Descriptions 当
item
的children
为null
时丢失单元格右边框样式的问题。#47191 - 🐞 修复 Table
column.onFilter
方法未过滤树形数据的问题。#47170 @Mumujianguang - 🐞 修复 Affix 在 Chrome 缩放
80%
的情况下占位高度异常的问题。#46823 @zhipenglin - 🐞 修复 QRCode 在暗黑模式下的背景色。#47128 @kampiu
- 🐞 修复 Statistic 组件不支持 HTML
role
、data-*
和aria-*
等属性的问题。#47149 - 🐞 修复 Transfer 反选当页错误的问题#47125 @linxianxi
- 💄 降低 Button
size
样式权重以方便覆盖。#47074 @crazyair - 🐞 修复 Modal 自定义
classNames.wrapper
时centered
属性不生效的问题。#47076 @sunsunmonkey - 🐞 修复 Spin 组件在
tip
和fullscreen
同时使用时的控制台误报。#47015 @xsjcTony - 🗑 移除了早已失效的 PageHeader 组件相关的多语言文案和 ConfigProvider 的
pageHeader
属性。#47163 @li-jia-nan - 🛠 重构简化 Drawer 的动画代码。#47194
- 国际化
- 🇮🇹 为 Tour 组件补充 it_IT 本地化文案。#47148 @nikzanda
- 🇯🇵 为 Table 组件筛选功能补充 ja_JP 本地化文案。#47072 @sebastibe
v5.13.2
- 🐞 Fix that the inline rendering does not take effect when the
preview.getContainer
value for Image is false. #47034 @FEyudong - 🐞 Fix Modal static function with
prefixCls
breaks children other componentprefixCls
and thus bring the motion miss. #47010 - 🐞 Fix ok button of the DatePicker becomes compacted when used with Space.Compact. #46769 @Fatpandac
- 💄 Optimize Tree draggable node cursor style and collaspe icon hover style. #46974
- 🐞 修复 Image 组件
preview.getContainer
值为 false 时,内联渲染不生效的问题。#47034 @FEyudong - 🐞 修复 Modal 静态方法配置
prefixCls
时,会改变所有子元素的prefixCls
并导致动画丢失的问题。#47010 - 🐞 修复 Space.Compact 与 DatePicker 一起使用导致 DatePicker 的确认按钮样式错误。#46769 @Fatpandac
- 💄 优化 Tree 拖拽节点和展开收起按钮的鼠标 hover 样式。#46974
v5.13.1
- 🐞 Fix Checkbox type error with
@types/react
version 16 or 17. #46962 @crazyair
- 🐞 修复 Checkbox 组件在
@types/react
16 或 17 版本下 Typescript 报错。#46962 @crazyair
v5.13.0
- 🔥 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
- 🆕 MISC: Export
GetProp
GetProp
GetRef
tool methods to facilitate developers to obtain unexported type definitions. #46923 - 🆕 Checkbox.Group now supports generic configurable
options.value
. #46423 @daledelv
- 🆕 MISC: Export
- 🌈 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
- 🇩🇰 Improve da_DK Form local. #46493 @Eloi0424
- 🔥 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
- 🆕 MISC: 导出
GetProp
GetProp
GetRef
工具方法,便于开发者获取未导出的类型定义。#46923 - 🆕 Checkbox.Group 新增支持范型可配置
options.value
。#46423 @daledelv
- 🆕 MISC: 导出
- 🌈 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 组件新增支持
- 🌐 国际化
- 🇩🇰 完善 da_DK Form 文案。#46493 @Eloi0424
v5.12.8
- 🐞 Fix Upload.Dragger not align center and focus ring style. #46810
- 🐞 Fix Popconfirm config empty
okText
andcancelText
will not fallback to locale text. #46812 - 🐞 Fix Progress that line border-radius cannot be overrided. #46789
- 🐞 Fix Typography without
children
has extramargin-left
whencopyable
is true. #46748 - 🐞 Fix Typography copied icon color. #46748
- 🐞 修复 Upload.Dragger 内容不居中和多余的 focus 样式的问题。#46810
- 🐞 修复 Popconfirm 配置空的
okText
和cancelText
时不会被预设 locale 兜底的问题。#46812 - 🐞 修复 Progress 线性模式圆角无法覆盖的问题。#46789
- 🐞 修复 Typography 没有
children
并启用copyable
时多余的 margin。#46748 - 🐞 修复 Typography 复制成功后的图标颜色问题。#46748
v5.12.7
- 🐞 MISC: Fix error caused by upgrading
@ctrl/tinycolor@4.0.2
. #46744 @MadCcc - 🐞 Fix Mentions item height bug. #46737
v5.12.6
- 🐞 Fix Upload accessibility issue of tabbing twicely. #46432
- 🐞 Fix Modal
footer
Button duplicated gap style. #46702 - Select
- Tree
- 🐞 Fix Tree that scrollbar do not display in some case. #46672 @yyz945947732
- 💄 Optimize Tree the TreeNode style when focused. #46608 @MadCcc
- 🐞 Fix Layout.Sider will collapse when trigger printer. #46650 @anilpixel
- 🐞 Fix Table style with edge shadow overflow. #46644 @Fatpandac
- 🐞 Typography.Text should update the Tooltip when the width changes. #46613 @linxianxi
- 🐞 Fix Tooltip, Popover or other popup like component arrow issue when in nest case. #46294 @bestlyg
- TypeScript
- 🤖 Export ConfigProvider
ConfigProviderProps
type. #46605 @li-jia-nan
- 🤖 Export ConfigProvider
- 🐞 修复 Upload 组件包裹 Button 时 Tab 键会聚焦两次的问题。#46432
- 🐞 修复 Modal
footer
内 Button 可能重复的边距样式问题。#46702 - Select
- Tree
- 🐞 修复 Tree 组件滚动条在某些条件下不会显示的问题。#46672 @yyz945947732
- 💄 优化 Tree 组件 TreeNode 节点聚焦样式。#46608 @MadCcc
- 🐞 修复触发打印时,Layout.Sider 会收起的问题。#46650 @anilpixel
- 🐞 修复 Table 边缘阴影会超出 Table 高度。#46644 @Fatpandac
- 🐞 修复 Typography.Text 省略模式下修改宽度 Tooltip 不会触发的问题。#46613 @linxianxi
- 🐞 修复 Tooltip、Popover 等弹出组件嵌套使用时,箭头样式问题。#46294 @bestlyg
- TypeScript
- 🤖 ConfigProvider 导出
ConfigProviderProps
类型。#46605 @li-jia-nan
- 🤖 ConfigProvider 导出
v5.12.5
- 💄 Fix Tabs style issue of editable mode when there is only "new" button left. #46585 @hzyhbk
- 💄 Fix Progress style issue of
line
mode withstrokeLinecap
. #46551 @ZN1996 - 🐞 Fix ColorPicker not support
prefixCls
. #46561
- 💄 修复 Tabs 在 可编辑模式下只剩新增按钮时的样式问题。#46585 @hzyhbk
- 💄 修复 Progress
strokeLinecap
不生效的问题。#46551 @ZN1996 - 🐞 修复 ColorPicker 配置
prefixCls
不生效的问题。#46561
v5.12.4
- 🐞 Fix DatePicker style in
cssVar
mode. #46526
- 🐞 修复 DatePicker 组件在 CSS 变量模式下的样式错乱问题。#46526
v5.12.3
- 💄 修复 Tag 组件在 SSR 场景下的样式丢失问题。#46500 @MadCcc
- 🐞 Upload 的
disabled
属性不再对下载按钮生效。#46454 - 💄 Upload.Dragger 增加一个水平内边距。#46457
- 🐞 修复 Upload
actions
的颜色问题。#46456 - 🐞 修复 Form 使用
getValueProps
展示值无法更新的问题。#46445 - 💄 修复 Checkbox 自定义
token.lineWidth
时勾选箭头错位问题。#46431 - 🐞 修复 Select 组件定制 token 会让 padding 失效的问题。#46427 @MadCcc
- 🐞 修复 Message 在
cssVar
模式下覆盖组件 token 无效的问题。#46415 @MadCcc - 💄 Flex 组件不应该应用额外的样式。#46404 @li-jia-nan
- 💄 Fix Tag that style would be missing in SSR. #46500 @MadCcc
- 🐞 Upload
disabled
prop should not affect download icon. #46454 - 💄 Upload.Dragger add vertical padding style. #46457
- 🐞 Fix Upload actions color issue. #46456
- 🐞 Fix Form with
getValueProps
not working with value update. #46445 - 💄 Fix Checkbox style when customize
token.lineWidth
. #46431 - 🐞 Fix Select that custom token make
padding
broken. #46427 @MadCcc - 🐞 Fix Message that token overrides not work in
cssVar
mode. #46415 @MadCcc - 💄 Fix Flex component don't apply extra style. #46404 @li-jia-nan
v5.12.2
- 🐞 MISC: Fix
useId
error when webpack build with React 17. #46261 - Pagination
- 🐞 Fix Pagination throws error in legacy browsers. react-component/pagination#545
- 🐞 Fix Pagination
current
not working insimple
mode. react-component/pagination#546
- 🐞 Fix Table filter dropdown lost background color in CSS variables mode. #46314
- 🐞 Prevent interaction when Spin component enable
fullscreen
prop. #46303 @li-jia-nan - 🐞 Fix Form
hideRequiredMark
prop's priority compared with ConfigProviderform
prop. #46299 @linhf123 - TypeScript
- 🐞 MISC: 修复 React 17 以下使用 webpack 构建时报错
useId
找不到的问题。#46261 - Pagination
- 🐞 修复 Pagination 在低版本浏览器上报错的问题。react-component/pagination#545
- 🐞 修复 Pagination
simple
模式下current
受控选中分页不生效的问题。react-component/pagination#546
- 🐞 修复 Table 筛选菜单在 CSS 变量模式下丢失背景色的问题。#46314
- 🐞 优化 Spin 交互,全屏状态时禁止用户触发鼠标事件。#46303 @li-jia-nan
- 🐞 修复 Form
hideRequiredMark
属性的优先级低于 ConfigProvider 的 form 配置的问题。#46299 @linhf123 - TypeScript
v5.12.1
- 🐞 MISC: Fix missing color less variables converted from token. #46250
- 🐞 Fix Notification title overlaps with the close icon when it is too long。 #46211 @zh-lx
v5.12.0
- 🔥 Component Token support CSS variables mode. For more detail, see CSS Variables. Special thank for contributors of this feature: @li-jia-nan @RedJue @c0dedance @kiner-tang @JarvisArt @cc-hearts
- 🛠 Refactor rc-pagination from class component to FC. #46204 @Wxh16144
- 🆕 Alert could support linear-gradient background by
colorInfoBg
token. #46188 - 🆕
Form.useWatch
support selector function param. #46180 @crazyair - 🆕 Slider support
onChangeComplete
and deprecateonAfterChange
. #46182 @MadCcc - 🆕 Tabs
items
supporticon
prop. #46096 @li-jia-nan - 🆕 Tour supports
getPopupContainer
property. #45751 @li-jia-nan - 🆕 Switch support for
value
anddefaultValue
props. #45747 @Wxh16144 - 🐞 Fix that clicking Form
tooltip
icon should not trigger Switch. #46155 - 🐞 Fix Notification that icon should have line-height. #46148 @MadCcc
- 🐞 Fix Progress that gradient in line should follow percent. #46209 @MadCcc
- 💄 Button could be customized to gradient style. #46192
- 💄 Fix style of InputNumber with
addon
inside Space.Compact. #46130 @MadCcc - TypeScript
- 🤖 Update
FloatButtonProps
type withReact.DOMAttributes
in FloatButton. #46175 @li-jia-nan
- 🤖 Update
- 🔥 Component Token 支持 CSS 变量模式,详情见 使用 CSS 变量。感谢以下同学对此的贡献:@li-jia-nan @RedJue @c0dedance @kiner-tang @JarvisArt @cc-hearts
- 🛠 rc-pagination 重构为 FC。#46204 @Wxh16144
- 🆕
Form.useWatch
支持 selector 函数参数调用。#46180 @crazyair - 🆕 Slider 组件支持
onChangeComplete
事件,并废弃onAfterChange
。#46182 @MadCcc - 🆕 Tabs 配置项
items
支持icon
属性。#46096 @li-jia-nan - 🆕 Switch 支持
value
anddefaultValue
属性。#45747 @Wxh16144 - 🐞 修复 Progress 进度条视觉效果,渐变效果应该随着百分比改变。#46209 @MadCcc
- 🐞 修复点击 Form
tooltip
图标会触发 Switch 切换的问题。#46155 - 🐞 修复 Notification 图标行高为 0 的问题。#46148 @MadCcc
- 💄 Button 按钮支持自定义为渐变色风格。#46192
- 💄 Alert 背景色现在可以通过
colorInfoBg
token 定义为渐变色。#46188 - 💄 修复 InputNumber 带有
addon
时在 Space.Compact 下使用的样式问题。#46130 @MadCcc - TypeScript
- 🤖 更新 FloatButton 的类型定义,透出原生事件处理函数类型。#46175 @li-jia-nan
v5.11.5
- 🐞 MISC: Fix error in
dist
artifact. #46103 @MadCcc - 💄 Fix DatePicker style when disabled and hovered. #45940 @crazyair
- 🐞 MISC: 修复打包
dist
产物错误。#46103 @MadCcc - 💄 修复 DatePicker 禁用状态下悬浮样式。#45940 @crazyair
v5.11.4
- 🐞 Fix where Image sets
z-index
abnormally in nested Modal. #46035 - 🐞 Fix Button that disabled link button should not have navigate options when right click. #46021
- Card
- TypeScript
- 🐞 修复 Image 在嵌套 Modal 中设置
z-index
异常的问题。#46035 - 🐞 修复 Button 禁用的链接按钮右键点击时会有打开新链接选项的问题。#46021
- Card
- TypeScript
v5.11.3
- 🐞 Fix Modal static method create
zIndex
too high will cover other popup content. #46012 - Image
- 🆕 Image preview support mobile touch interactive. #45989 @JarvisArt
- 🐞 Fixed Image preview
z-index
conflict when in a nested pop-up. #45979 @kiner-tang
- 🐞 Fix Collapse header cursor style. #45994
- 🐞 Fix ColorPicker not support Form disabled config. #45978 @RedJue
- 🐞 Fix Typography.Text
ellipsis.tooltip
cannot open under Layout component. #45962 - 🐞 Remove Select native 🔍 icon from search input in Safari. #46008
- 💄 Remove Rate useless style.#45927 @JarvisArt
- 🛠 UMD
antd.js
will try to reuse global@ant-design/cssinjs
first now. #46009 - 🌐 Improve
eu_ES
localization. #45928 @ionlizarazu
- 🐞 修复 Modal 静态方法创建
zIndex
过高会覆盖其他弹出内容的问题。#46012 - Image
- 🆕 Image 预览支持移动触摸事件交互。#45989 @JarvisArt
- 🐞 修复 Image 预览在嵌套弹框中
z-index
设置不正确的问题。#45979 @kiner-tang
- 🐞 修复 Collapse 可折叠区域鼠标
hover
样式问题。#45994 - 🐞 修复 ColorPicker 不支持 Form 组件的禁用问题。#45978 @RedJue
- 🐞 修复 Typography.Text
code
在 Layout 下开启ellipsis
时 tooltip 无效的问题。#45962 - 🐞 修复 Select 搜索框在 Safari 下显示多余的 🔍 图标。#46008
- 💄 删除 Rate 组件无用样式。 #45927 @JarvisArt
- 🛠 UMD 版本
antd.js
现在会优先使用全局的@ant-design/cssinjs
依赖。#46009 - 🌐 补充
eu_ES
国际化内容。#45928 @ionlizarazu
v5.11.2
- 🆕 Table with
virtual
can now customizecomponents
except thecomponents.body
. #45857 - 🐞 Fix Button with href and disabled that could be focused. #45910 @MadCcc
- 🐞 Fix
zIndex
logic problem that message and notification are covered when multiple Modal are opened. #45911 #45864 @kiner-tang - 💄 Fix QRCode
style.padding
is not working. #45815 - 💄 Optimize Carousel dots border radius style. #45817
- TypeScript
- 🤖 Optimize List
gutter
property type definition. #45791 @Asanio06
- 🤖 Optimize List
- 🆕 放开 Table
virtual
下components
的限制,现在除了components.body
都可以自定义。#45857 - 🐞 修复 Button 带有链接且禁用时可以被聚焦到的问题。#45910 @MadCcc
- 🐞 修复
zIndex
逻辑,解决多层 Modal 打开时,message 与 notification 被遮盖的问题。#45911 #45864 @kiner-tang - 💄 修复 QRCode 设置
style.padding
时无效的问题。#45815 - 💄 优化 Carousel 切换条圆角样式。#45817
- TypeScript
- 🤖 优化 List 属性
gutter
的类型定义。#45791 @Asanio06
- 🤖 优化 List 属性
v5.11.1
- 🐞 Fix Dropdown use wrong
zIndex
when nest items. #45761 - 🐞 Fix Upload should show remove icon when
showRemoveIcon
is specified to true explicitly. #45752 - 🐞 Fix Descriptions use
children
structure missing the Descriptions.Itemkey
prop. #45757 - 🐞 Fix Message that token specified in component scope not work. #45721 @MadCcc
- 🐞 Fix Popconfirm not compatible with
visible
prop. #45702 @linhf123 - 🐞 Fix Tag default background color not correct. #45711 @kiner-tang
- 💄 Fix Notification that
style.width
not work. #45681 @MadCcc - 🐞 Fix App console unexpected attr warning when set
component=false
. #45671 @li-jia-nan - TypeScript
- 🐞 修复 Dropdown 在嵌套列表时
zIndex
错误的问题。#45761 - 🐞 修复 Upload 显式指定
showRemoveIcon: true
时删除图标未显示的问题。#45752 - 🐞 修复 Descriptions 使用
children
结构语法糖时,会丢失 Descriptions.Item 的key
的问题。#45757 - 🐞 修复 Message 组件在组件范围设置全局
token
无效的问题。#45721 @MadCcc - 🐞 修复 Popconfirm 不兼容
visible
的问题。#45702 @linhf123 - 🐞 修复默认 Tag 的背景颜色不正确的问题。#45711 @kiner-tang
- 💄 修复 Notification 组件设置
style.width
无效的问题。#45681 @MadCcc - 🐞 修复 App 设置
component=false
时,会报非预期的属性警告的问题。#45671 @li-jia-nan - TypeScript
v5.11.0
- 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 组件
v5.10.3
- 💄 Fix Typography.Text lost right border when enable
ellipsis
andcode
. #45575 - 💄 Modify the TimePicker scroll bar style. #45478 @GeorgeHcc #45586
- 🆕 FloatButton.BackTop
ref
supportnativeElement
. #45547 @li-jia-nan - 🐞 Fix Watermark that
gap
should have default value when passingundefined
in array. #45537 @MadCcc - 🐞 Fix Dropdown always closes after clicking on an item. #45513 @vyachsed
- 💄 Fix Notification style issue in windows system. #45500 @MadCcc
- 💄 Fix Notification duplicated
style
applied to wrapper. #45487 @MadCcc - TypeScript
- 💄 修复 Typography.Text 同时启用
ellipsis
和code
时丢失右边框样式的问题。#45575 - 💄 调整 TimePicker 滚动条样式。#45478 @GeorgeHcc #45586
- 🆕 FloatButton.BackTop 支持使用
ref
获取nativeElement
。#45547 @li-jia-nan - 🐞 修复 Watermark 组件
gap
在数组中含有undefined
时没有默认值的问题。#45537 @MadCcc - 🐞 修复 Dropdown 在点击子项后总是关闭的问题。#45513 @vyachsed
- 💄 修复 Notification 组件在 windows 系统下的样式问题。#45500 @MadCcc
- 💄 修复 Notification 组件
style
属性会重复添加到外层的问题。#45487 @MadCcc - TypeScript
v5.10.2
- 🐞 Layout support auto
hasSider
check to avoid blink in SSR. #45361 - 🐞 Fix FloatButton.BackTop throws warning
findDOMNode is deprecated in StrictMode
. #45390 @li-jia-nan - 🐞 Fix ColorPicker does not supports
id
anddata-*
attributes. #45413 @cheng87126 - 🐞 Fix Table sorter tooltip cannot be open when
column.showSorterTooltip
is a object. #45403 - 🐞 Fix
Form
withinline
mode makes elements overlap on the small screen. #45340 @Yuiai01 - 💄 Remove duplicate disabled styles in Upload.Dragger. #45446 @vagusX
- TypeScript
- 🐞 Table
pagination.position
should accept'none'
. #45398
- 🐞 Table
- RTL
- 💄 Fix Notification's incorrect
margin
inrtl
mode. #45386
- 💄 Fix Notification's incorrect
- 🐞 Layout 支持自动检测
hasSider
以防止在 SSR 场景下的闪烁问题。#45361 - 🐞 修复 FloatButton.BackTop 组件显示
findDOMNode is deprecated in StrictMode
警告的问题。#45390 @li-jia-nan - 🐞 修复 ColorPicker 不支持
id
和data-*
属性的问题。#45413 @cheng87126 - 🐞 修复 Table 当
column.showSorterTooltip
是一个对象时排序 tooltip 不显示的问题。#45403 - 🐞 修复 Form
inline
模式在小屏幕发生元素重叠的问题。#45340 @Yuiai01 - 💄 移除 Upload.Dragger 中重复的
disabled
样式。#45446 @vagusX - TypeScript
- 🐞 修复 Table
pagination.position
TS 定义不支持'none'
的问题。#45398
- 🐞 修复 Table
- RTL
- 💄 修复 Notification 组件在
rtl
模式下边缘间距错误的问题。#45386
- 💄 修复 Notification 组件在
v5.10.1
- ⚡️ Optimize CSS-in-JS Design Token cache matching. #45302
- 🆕 Checkbox.Group & Radio.Group
options
add missingid
props. #45287 - 🐞 Fix Affix that
target
not work. #45314 @mingming-ma - 🐞 MISC: Add
csp
attribute for icon style. #45334 @AlexeyTeterin - 🐞 Fix Button that does not display loading status when
loading
property is set to{ delay: 0 }
. #45282 @YDFlame13 - 🐞 Fix Segmented text jump issue in Safari. #45310
- 🐞 Fix Watermark that can be hidden via "Hide Element" feature in browser. #45290 @Yuiai01
- 🐞 Fix Input that background should not be transparent when hovered or focused. #45297 @MadCcc
- 🐞 Fix Form call
resetFields
will still keep Form.List field when itsinitialValue
is set. #45284 - 🐞 Fix Tree.DirectoryTree
selectedNodes
inonSelect
method could not get a value when configuringfieldNames
. #45036 @Zian502 - 💄 Revert outline style of Input, InputNumber, Select, Cascader, TreeSelect, DatePicker, TimePicker, ColorPicker. #45286 @MadCcc
- 💄 Fix Card style with small size Tabs. #45272 @MadCcc
- ⚡️ 优化 CSS-in-JS Design Token 缓存命中性能。#45302
- 🆕 为 Checkbox.Group 与 Radio.Group 的
options
添加id
属性支持。#45287 - 🐞 修复 Affix 组件设置
target
失效的问题。#45314 @mingming-ma - 🐞 MISC: 为图标样式设置
csp
属性。#45334 @AlexeyTeterin - 🐞 修复 Button 组件
loading
属性设置为{ delay: 0 }
时不显示加载状态。#45282 @YDFlame13 - 🐞 修复 Segmented 在 Safari 下切换时的样式跳动问题。#45310
- 🐞 修复 Watermark可以使用浏览器的
Hide Element
来隐藏水印。#45290 @Yuiai01 - 🐞 修复 Input 组件 hover 或者 focus 状态时背景色变为透明的问题。#45297 @MadCcc
- 🐞 修复 Form 在调用
resetFields
时,无法重置配置了initialValue
的 Form.List 的问题。#45284 - 🐞 修复 Tree.DirectoryTree 在配置
fieldNames
时,onSelect
方法中的selectedNodes
无法获取值。#45036 @Zian502 - 💄 回滚 Input、InputNumber、Select、Cascader、TreeSelect、DatePicker、TimePicker、ColorPicker 的描边样式。#45286 @MadCcc
- 💄 修复 Card 搭配小尺寸 Tabs 时的样式问题。#45272 @MadCcc
v5.10.0
- 🔥 New component Flex, used to set flexible layout. #44362
- 🔥 Notification component supports
stack
configuration. By default, more than three notifications will be stacked. #44618 - 🔥 Update the active styles of Input, InputNumber, Select, Cascader, TreeSelect, DatePicker, and ColorPicker. #45009
- 🆕 Watermark supports setting the text alignment direction through
textAlign
. #44888 @Yuiai01 - 🆕 Slider supports any number of nodes and migrates xxxStyles to semantic
styles
andclassNames
properties. #45000 - 🆕 Cascader supports the Cascader.Panel component for inline use. #45089
- 🆕 Tooltip adds
fresh
attribute to support scenarios where content still needs to be updated when closed. #45020 - 🆕 Drawer supports customizing the
className
of built-in modules throughclassNames
. #44935 - 🆕 ConfigProvider supports the
warning
attribute to configure warning levels (e.g. filter out deprecated API warnings). #44809 - Modal
- 🐞 Fix the problem that the nested Typography of Menu.Item cannot be vertically centered when
ellipsis
is true. #41146 @Yuiai01 - 🐞 Fix Select internal input not being able to apply fontFamily. #45197 @Yuiai01
- 🐞 Fix InputNumber border issue when using
addonBefore
in Space.Compact. #45004 @Yuiai01 - 🐞 Fix the problem that Tag.CheckableTag does not support ref. #45164 @mingming-ma
- 🐞 Fixed the issue where the font in the Avatar.Group component does not support responsiveness. #34722 @laishiwen
- 🛠 Refactor Affix into a functional component. #42674
- 🛠 The Popover component deprecates the
minWidth
component token and addstitleMinWidth
as a replacement. #44750 - 🌈 Token
- 🆕 Input adds
hoverBg
activeBg
token to set the input box hover and activation background color. #44752 @Pan-yongyong - 🆕 Descriptions Added
titleColor
andcontentColor
to set the title color and content area text color. #44729 @Child-qjj - 🐞 Fixed the issue where the Input component Token
addonBg
is invalid. #45222
- 🆕 Input adds
- TypeScript
- 🤖 The ArgsProps type for exported Notification is NotificationArgsProps. #45147
- 🌐 Locales
- 🇵🇱 Added Tour locales for pl_PL. #45166 @antonisierakowski
- 🇰🇷 Optimize ko_KR locales. #45150 @owjs3901
- 🔥 新增 Flex 组件,用于设置弹性布局。#44362
- 🔥 Notification 组件支持
stack
配置,默认超过三个以上的提示会堆叠起来。#44618 - 🔥 更新 Input、InputNumber、Select、Cascader、TreeSelect、DatePicker、ColorPicker 的激活态样式。#45009
- 🆕 Watermark 支持通过
textAlign
设置文本对齐方向。#44888 @Yuiai01 - 🆕 Slider 支持任意节点数并且将 xxxStyle 迁移至语义化
styles
和classNames
属性中。#45000 - 🆕 Cascader 支持 Cascader.Panel 组件供内联使用。#45089
- 🆕 Tooltip 添加
fresh
属性以支持在关闭时仍然需要更新内容的场景。#45020 - 🆕 Drawer 支持通过
classNames
自定义内置模块的className
。#44935 - 🆕 ConfigProvider 支持
warning
属性以配置警告等级(如过滤掉废弃 API 警告)。#44809 - Modal
- 🐞 修复 Menu.Item 嵌套的 Typography 其
ellipsis
为 true 时无法垂直居中的问题。#41146 @Yuiai01 - 🐞 修复 Select 内部 input 无法应用 fontFamily 的问题。#45197 @Yuiai01
- 🐞 修复 InputNumber 在 Space.Compact 中使用
addonBefore
时的边框问题。#45004 @Yuiai01 - 🐞 修复 Tag.CheckableTag 不支持 ref 的问题。#45164 @mingming-ma
- 🐞 修复 Avatar.Group 组件内的字体不支持响应式的问题。#34722 @laishiwen
- 🛠 重构 Affix 为函数组件。#42674
- 🛠 Popover 组件废弃
minWidth
组件 token,并添加titleMinWidth
作为替代。#44750 - 🌈 Token
- 🆕 Input 新增
hoverBg
activeBg
token 用以设置输入框 hover 和 激活时背景颜色。#44752 @Pan-yongyong - 🆕 Descriptions 新增
titleColor
contentColor
用以设置标题颜色和内容区域文字颜色。#44729 @Child-qjj - 🐞 修复 Input 组件 Token
addonBg
失效的问题。#45222
- 🆕 Input 新增
- TypeScript
- 🤖 导出 Notification 的 ArgsProps 类型为 NotificationArgsProps。#45147
- 🌐 国际化
- 🇵🇱 为 pl_PL 补充 Tour 国际化。#45166 @antonisierakowski
- 🇰🇷 优化 ko_KR 国际化。#45150 @owjs3901
v5.9.4
- Button
- 🐞 Fix Tour that
step.type
didn't work when shown at first time. #45086 @MadCcc - 🐞 Fix Select and DatePicker that input should use
fontFamily
token. #45088 @MadCcc
- Button
- 🐞 修复 Tour 组件第一次展示时
step.type
无效的问题。#45086 @MadCcc - 🐞 修复 Select 和 DatePicker 组件没有使用
fontFamily
token 的问题。#45088 @MadCcc
v5.9.3
- 🐞 Fix Popover that should shift automaticly when overflowed. #45015 @MadCcc
- Tooltip
- 🛠 ComponentToken remove
radiusBase
must less than16
limitation. #44980 - 🐞 Fix Dropdown can not give
ref
for the root children rendered bydropdownRender
. #44971 - 🐞 Fix Table
cellPaddingBlock
not working. #45040 - 🐞 Fix Input wrong height with small
controlHeight
. #45048 - TypeScript
- 🤖 MISC: Fix
@types/react@18.2.22
React.Key type errors. #44938
- 🤖 MISC: Fix
- 🐞 修复 Popover 超出屏幕时不会自动调整偏移的问题。#45015 @MadCcc
- Tooltip
- 🛠 ComponentToken 移除
radiusBase
必须小于16
的限制。#44980 - 🐞 修复 Dropdown 通过
dropdownRender
渲染的子节点配置ref
不生效的问题。#44971 - 🐞 修复 Table
cellPaddingBlock
不生效的问题。#45040 - 🐞 修复 Input 组件在小尺寸
controlHeight
下高度不正确的问题。#45048 - TypeScript
- 🤖 MISC: 修复
@types/react@18.2.22
React.Key 定义更新引发的问题。#44938
- 🤖 MISC: 修复
v5.9.2
- 🐞 Fix Table selection column not align in center when
size
issmall
. #44922 - 🐞 Fix Select style problem when
label
containsdiv
element. #44927 - 🐞 Fix Modal broken style of buttons when custom
footer
. #44929 @Wxh16144 - 🐞 Fix notification wrong pop-up animation when
placement
isbottom
. #44918 @linxianxi - 🐞 Fix missing inherited feedbackIcon in Form.Item with
noStyle
. #44937
- 🐞 修复 Table
small
尺寸时选择列没有居中对齐的问题。#44922 - 🐞 修复 Select 当
label
内使用了div
块级元素时的样式问题。#44927 - 🐞 修复 Modal 自定义
footer
时按钮内容丢失的问题。#44929 @Wxh16144 - 🐞 修复 notification 底部弹出动画的问题。#44918 @linxianxi
- 🐞 修复 Form.Item 有
noStyle
属性时没有继承上下文的反馈图标的问题。#44937
v5.9.1
- 🐞 Fix Select that
controlHeightSM
not work in small size. #44859 @MadCcc - 🐞 Fix Rate that star transaform not at center. #44855 @MadCcc
- 🐞 Fix DatePicker that in
dateTime
mode switching input didn't triggeronCalendarChange
. #44845 @Yuiai01 - 🐞 Fix Table
virtual
selection checkbox or radio not align in center. #44786 - 🐞 Fix Select carbin align top bug when enable
maxTagCount
. #44757 - 🐞 Fix Select alignment issue when label is Typography. #44756
- 💄 Fix Table with
virtual
display issue about columns less than table size and some border & hover style missing. #44818 - 💄 Fix wrong style of Select in Input
addon
. #44825 @MadCcc - 💄 Fix Tree that Checkbox should be aligned with first line. #44827 @MadCcc
- 💄 Fix Card that Card.Grid has wrong style with left bottom corner. #44801 @Jason-huang66
- 💄 Fix Select/Cascader/TreeSelect style issue when customize their height. #44753
- TypeScript
- 🤖 Optimize
ref
type of Radio.Button. #44747 @LexiosAlex - 🤖 Optimize
ref
type of Checkbox. #44746 @LexiosAlex
- 🤖 Optimize
- 🐞 修复小尺寸 Select 组件
controlHeightSM
token 配置无效的问题。#44859 @MadCcc - 🐞 修复 Rate 组件星星变换中心不在正中心的问题。#44855 @MadCcc
- 🐞 修复 DatePicker 组件
dateTime
模式切换输入框不会触发onCalendarChange
的问题。#44845 @Yuiai01 - 🐞 修复 Table
virtual
配置下,选择框没有居中对齐的问题。#44786 - 🐞 修复 Select 开启
maxTagCount
时搜索光标偏上的问题。#44757 - 🐞 修复 Select 的 label 为 Typography 组件时的选中文本对齐问题。#44756
- 💄 修复 Table
virtual
开启虚拟滚动时,当columns
小于表格宽度会显示异常的问题以及部分边框、悬浮样式丢失的问题。#44818 - 💄 修复 Select 组件在 Input
addon
中使用时的样式错误。#44825 @MadCcc - 💄 修复 Tree 组件样式,使 Checkbox 与文字第一行对齐。#44827 @MadCcc
- 💄 修复 Card 组件 Card.Grid 边缘样式问题。#44801 @Jason-huang66
- 💄 修复 Select/Cascader/TreeSelect 自定义高度时的样式问题。#44753
- TypeScript
- 🤖 优化 Radio.Button 的
ref
类型。#44747 @LexiosAlex - 🤖 优化 Checkbox 的
ref
类型。#44746 @LexiosAlex
- 🤖 优化 Radio.Button 的
v5.9.0
- 🔥 Table component now supports the
virtual
attribute to enable virtual scrolling. #44349 - 🔥 Form's
validateFields
now supportsrecursive
to validate all fields with nested paths. #44130 - 🔥 Form.Item now supports
validateDebounce
to configure validation debounce. #44633 - 🆕 Button component has added three component tokens:
contentFontSize
,contentFontSizeSM
, andcontentFontSizeLG
, allowing customization of font sizes for different sizes. #44257 - 🆕 Form's
requiredMark
now supports custom rendering. #44073 - 🆕 Tabs component has added a new component token
itemColor
to control the text color of normal tabs. #44201 - 🆕 ColorPicker now supports
defaultFormat
. #44487 @CYBYOB - 🆕 Form supports
feedbackIcons
and Form.Item supportshasFeedback={{ icons: ... }}
, now feedback icons could be customized in both ways. #43894 @gldio - 🆕 Added the
itemSelectedColor
component token to the Segmented component. #44570 @xiaozisong - 🆕 Added support for custom function rendering in the Modal footer. #44318 @RedJue
- 🆕 Added responsive setting support for
items.span
in Descriptions. #44534 - 🆕 Added support for global configuration of
indicatorSize
in Tabs component through ConfigProvider. #44517 - 🆕 Added the
direction
parameter to thefilterOption
function in the Transfer component. #44417 @Zian502 - 🆕 Added support for the
source
parameter in theonSearch
method of the Input.Search component. #44457 @kiner-tang - 🆕 Added a component token to the Input component for customizing the shadow when activated. #44410
- 🆕 Added a component token to the Radio component for customizing the color when the fill button is selected. #44389
- 🆕 Tour component now supports horizontal offset for spacing. #44377 @RedJue
- 🆕 Tour component now supports customizing the close button using the
closeIcon
prop. #44312 @kiner-tang - 🆕 Avatar component now supports configuring size using ConfigProvider. #44288 @li-jia-nan
- 🆕 List component now supports configuring size using ConfigProvider's
componentSize
option. #44267 @Yuiai01 - 🆕 Cascader component now supports
autoClearSearchValue
option. #44033 @linxianxi - 🆕 Added support for
rootClassName
in Upload,AutoComplete,Badge.Ribbon,Input.TextArea,RangePicker,TimePicker @kiner-tang. - 💄 Refactored the structure of Modal.confirm to fix the width abnormality caused by
width: fit-content
and the style line break issue with a large amount of text. Extracted confirm styles for lazy loading to optimize style size in SSR. #44557 - 💄 Adjusted the linear gradient colors for
circle
anddashboard
in Progress to conical gradients. #44404 - 💄 Fixed DatePicker missing custom footer style. #44642 @li-jia-nan
- 💄 Fixed Tag where
tag.className
andtag.style
did not work on Tag.CheckableTag in ConfigProvider. #44602 - 💄 Fixed the inconsistency in width between the dropdown and the input box when the container of Select component has
transform: scale
style configured ingetPopupContainer
option. #44378 - 🐞 Fixed an issue where Form.Item with
noStyle
configuration prevented the bound element from consuminguseStatus
. #44576 - 🐞 Fixed an issue where using Tag within Popover/Popconfirm caused incorrect
font-size
on hover. #44663 - 🐞 Fixed an issue where Input's default button had extra shadow. #44660 @daledelv
- 🐞 Fixed an issue where using Modal's hooks to close it with the
esc
key didn't correctly trigger theawait
. #44646 - 🐞 Fixed the issue where the preset
size
of Space did not follow the Design Token, now compact mode correctly handles the corresponding spacing values. #44598 @li-jia-nan - 🐞 Fixed the issue in Upload where the download button would still be displayed after clicking on it and moving the mouse out of the file. #44594 @zbw-zbw
- 🐞 Fix FloatButton that margin not work with
href
in FloatButton.Group. #44707 @Yuiai01 - 🐞 Fixed the issue where
fontSizeSM
token was not being applied to Button component. #44217 @CHENGTIANG - 🐞 The Watermark now works in nested Modal and Drawer components. #44104
- 🛠 Alert, Tree, Cascader, Layout, Table, Modal, Drawer, Button, Switch, Select, Badge, Form, TimePicker, Spin, Input, Progress, Divider Added Component Token. #42142 #42607 #42627 #42757 #42774 #42778 #44090 #44118 #44174 #44228 #44261 #44282 #44334 #42192 @hms181231 @linhf123 @poyiding @Wxh16144 @Yuiai01
- 🛠 Remove compatibility logic for old versions of IE browser for Space and Grid components to reduce bundle size. #44620 @li-jia-nan
- TypeScript
- 🤖 Export BasicDataNode type from the Tree. #44624 @kiner-tang
- 🔥 Table 支持
virtual
属性开启虚拟滚动。#44349 - 🔥 Form
validateFields
支持recursive
以校验所有包含路径的字段。#44130 - 🔥 Form.Item 支持
validateDebounce
以配置校验防抖。#44633 - 🆕 Button 组件新增
contentFontSize
contentFontSizeSM
contentFontSizeLG
三个组件 token ,用于定制各个尺寸下的字体大小。#44257 - 🆕 Form
requiredMark
支持自定义渲染。#44073 - 🆕 Tabs 组件添加新组件 Token
itemColor
,用于控制常态 tab 的文本颜色。#44201 - 🆕 ColorPicker 组件支持
defaultFormat
属性。#44487 @CYBYOB - 🆕 Form 新增
feedbackIcons
属性且 Form.Item 支持hasFeedback={{ icons: ... }}
,用于自定义校验图标。#43894 @gldio - 🆕 Segmented 组件新增
itemSelectedColor
的组件 Token。#44570 @xiaozisong - 🆕 Modal 页脚
footer
支持自定义函数渲染。#44318 @RedJue - 🆕 Descriptions 的
items.span
支持响应式设置。#44534 - 🆕 Tabs 组件
indicatorSize
支持通过 ConfigProvider 全局配置。#44406 - 🆕 Transfer 组件
filterOption
函数新增direction
入参。#44417 @Zian502 - 🆕 Input.Search 组件支持在
onSearch
方法中接受source
参数。#44457 @kiner-tang - 🆕 Input 组件新增组件 Token 用于定制激活态阴影。#44410
- 🆕 Radio 组件新增组件 Token,用于定制填充按钮选中时的颜色。#44389
- 🆕 Tour 组件间距支持横向偏移量。#44377 @RedJue
- 🆕 Tour 组件支持通过
closeIcon
来自定义关闭按钮。#44312 @kiner-tang - 🆕 Avatar 支持使用 ConfigProvider 的
componentSize
配置size
。#44288 @li-jia-nan - 🆕 List 支持使用 ConfigProvider 的
componentSize
配置size
。#44267 @Yuiai01 - 🆕 Cascader 支持
autoClearSearchValue
属性。#44033 @linxianxi - 🆕 在 Upload、AutoComplete、Badge.Ribbon、Input.TextArea、RangePicker、TimePicker 中添加了对
rootClassName
的支持。@kiner-tang。 - 💄 重构 Modal.confirm 结构以修复
width: fit-content
导致宽度异常问题以及大量文本下的样式断行问题。抽离 confirm 样式至懒加载以优化 SSR 下的样式尺寸。#44557 - 💄 Progress 调整
circle
和dashboard
的线性渐变色为锥形渐变色。#44404 - 💄 修复 DatePicker 组件自定义页脚样式问题。#44642 @li-jia-nan
- 💄 修复 ConfigProvider
tag.className
与tag.style
无法作用于 Tag.CheckableTag 的问题。#44602 - 💄 修复 Select 配置的
getPopupContainer
容器有transform: scale
样式时,弹出框宽度与输入框不一致的情况。#44378 - 🐞 修复 Form.Item 配置
noStyle
时,被绑定的元素无法消费useStatus
的问题。#44576 - 🐞 修复 Tag 被 Popover/Popconfirm 包裹时,Hover 会导致
font-size
错误的问题。#44663 - 🐞 修复 Input.Search 组合中,搜索按钮会额外阴影的问题。#44660 @daledelv
- 🐞 修复 Modal 的 hooks 调用通过按键
esc
关闭时无法正确触发 await 的问题。#44646 - 🐞 修复 Space 的预设
size
不会跟随 Design Token 的问题,现在紧凑模式也会正确处理对应的间距数值。#44598 @li-jia-nan - 🐞 修复 Upload 组件点击某文件的下载按钮后,鼠标移出该文件时仍展示下载按钮的问题。#44594 @zbw-zbw
- 🐞 修复 FloatButton 组件添加
href
后在 FloatButton.Group 中间距失效的问题。#44707 @Yuiai01 - 🐞 修复 Button
fontSizeSM
token 不生效的问题。#44217 @CHENGTIANG - 🐞 Watermark 现在可以在嵌套的 Modal 和 Drawer 组件中生效。#44104
- 🛠 迁移 Alert、Tree、Cascader、Layout、Table、Modal、Drawer、Button、Switch、Select、Badge、Form、TimePicker、Spin、Input、Progress、Divider 的 less 变量到 Token。 #42142 #42607 #42627 #42757 #42774 #42778 #44090#44118 #44174 #44228 #44261 #44282 #44334 #42192 @hms181231 @linhf123 @poyiding @Wxh16144 @Yuiai01
- 📦 移除 Space 和 Grid 对于旧版 IE 浏览器兼容逻辑,减少打包产物体积。#44620 @li-jia-nan
- TypeScript
- 🤖 从 Tree 中导出
BasicDataNode
类型。#44624 @kiner-tang
- 🤖 从 Tree 中导出
v5.8.6
- 🛠 Optimize some styles size in document.head by extracting unused styles.
- 📦 Remove
lodash/camelCase
from@ant-design/icons
dependencies to reduce bundle size. ant-design-icons#595 - Form
- 🐞 Fix Form.Item children not hidden when
wrapperCol.span
is0
. #44485 #44472 @crazyair - 🐞 Fix Form
wrapperCol
to be 24 not working whenlabelCol
is set to 24. #44541
- 🐞 Fix Form.Item children not hidden when
- 🐞 Fix Watermark that would crash if
content
is empty string. #44501 - 🐞 Fix ColorPicker popup still working when
disabled
istrue
. #44466 @RedJue - 🐞 Fix Transfer trigger
onSelectChange
twice sometimes when click checkbox. #44471 @kovsu - 🐞 Fix Typography scrollbar flush problem when enable
ellipsis
. #43058 @bbb169 - Slider
- 🐞 Fix Slider draggable track unpredictable behavior. #44503 @BoyYangzai @yoyo837
- ⌨️ Improve Slider a11y behavior by adding
aria-orientation
. react-component/slider#859 @5im0n
- 🐞 Fix Steps
type="nav"
last item did not hide arrow properly. #44582 @ohhoney1 - TypeScript
- 🤖 Fix Upload file
status
definition to remove unused success status. #44468
- 🤖 Fix Upload file
- 🛠 针对 CSSInJS 加载 styles 大小进行了优化。
- 📦 移除
@ant-design/icons
依赖lodash/camelCase
以优化 bundle size。ant-design-icons#595 - Form
- 🐞 修复 Form.Item 设置
wrapperCol.span
为0
时,子元素不隐藏的问题。#44485 #44472 @crazyair - 🐞 修复 Form
labelCol
设置为 24 时,会使wrapperCol
设置 24 失效的问题。#44541
- 🐞 修复 Form.Item 设置
- 🐞 修复 Watermark 组件在
content
是空字符串时报错的问题。#44501 - 🐞 修复 ColorPicker 禁用时依然能弹出选择窗口的问题。#44466 @RedJue
- 🐞 修复 Transfer 点击 Checkbox 时有时会触发两次选择行为的问题。#44471 @kovsu
- 🐞 修复 Typography 使用
ellipsis
时滚动条闪动的问题。#43058 @bbb169 - Slider
- 🐞 修复 Slider 滑块可拖拽区域范围异常的问题。#44503 @BoyYangzai @yoyo837
- ⌨️ 优化 Slider
aria-orientation
可访问性属性。react-component/slider#859 @5im0n
- 🐞 修复 Steps
type="nav"
垂直导航步骤条的最后一项箭头没隐藏的问题。#44582 @ohhoney1 - TypeScript
- 🤖 修复 Upload 文件状态定义,移除未使用过的
success
状态。#44468
- 🤖 修复 Upload 文件状态定义,移除未使用过的
v5.8.5
- 🛠 Refactor Badge style logic and take Ribbon style out to reduce SSR inline style size. #44451
- 🐞 Fix the issue of abnormal icon styling when using `@ant-design/icons`` within App. #41208 @Wxh16144
- 🐞 Fix the issue of vertical dragging malfunction in Carousel. #44460 @RedJue
- 🐞 Fix Tour panel use wrong design token. #44428
- 🐞 Fix Form
wrapperCol
with responsivexs
config not working. #44388 - 🐞 Fix ColorPicker duplicate
key
issue. #44370 @xr0master - 🐞 Fix Radio that not work in Tree title. #44380 @MadCcc
- 🐞 Fix Table that would crash when
filterDropdown
does not supportref
. #44357 @MadCcc - 🐞 Fix Form
inline
layout show extra bottom margin when validation failed. #44360 - 🐞 Fix DatePicker
showTime
working error whenformat
is Array. #44306 @Zian502 - 🐞 Fix Watermark can not be fully shown when
content
is too long. #44321 - TypeScript
- 🤖 Fix the type error with align property in Dropdown component. #44423 @LeTuongKhanh
- 🛠 重构 Badge 样式逻辑将 Ribbon 样式抽离以降低 SSR 内联样式尺寸。#44451
- 🐞 修复 App 组件下使用
@ant-design/icons
的图标样式异常的问题。#41208 @Wxh16144 - 🐞 修复 Carousel 组件垂直方向拖动失效的问题。#44460 @RedJue
- 🐞 修复 Tour 面板使用的 design token 错误的问题。#44428
- 🐞 修复 Form
wrapperCol
配置响应式xs
属性无效的问题。#44388 - 🐞 修复 ColorPicker 中重复
key
的问题。#44370 @xr0master - 🐞 修复 Radio 组件组合 Tree 组件后失效的问题。#44380 @MadCcc
- 🐞 修复 Table 组件
filterDropdown
不支持ref
时报错的问题。#44357 @MadCcc - 🐞 修复 Form
inline
布局在校验失败时出现额外空行的问题。#44360 - 🐞 修复 DatePicker 中
showTime
为 true 且format
为数组时,组件报错。#44306 @Zian502 - 🐞 修复 Watermark 中
content
内容过长时无法完整显示的问题。#44321 - TypeScript
- 🤖 修复 Dropdown 组件中
align
属性的类型错误。#44423 @LeTuongKhanh
- 🤖 修复 Dropdown 组件中
v5.8.4
- ColorPicker
- 🐞 Fix the cursor jumps when entering lowercase English letters in the ColorPicker color value input box. #44137 @gouge666
- 🐞 Fix the ColorPicker style is deformed under different sizes. #44273 @kouchao
- 🐞 Fix Descriptions throwing
key is not a prop
error message. #44278 @RedJue - 🐞 Fix the node is still rendered when Pagination
itemRender
is customized tonull
. #44226 - 🐞 Fix Modal in Dropdown
menu.items
, rapid mouse movement when expanding Modal will make Dropdown reopen. #44204 - DatePicker
- 💄 Fix DatePicker content is not centered. #44245 @Zian502
- 💄 Optimize DatePicker selection range style. #44206 @kiner-tang
- 💄 Fix clicking on the Tabs area on the mobile terminal triggers a color change. #44200 @yilaikesi
- RTL
- 💄 Fix the numbers in the Badge are also RTL when the text direction of the page is RTL. #43998 @NotEvenANeko
- ColorPicker
- 🐞 修复 ColorPicker 色值输入框输入小写英文字母时光标跳动的问题。#44137 @gouge666
- 🐞 修复 ColorPicker 在不同尺寸下样式变形的问题。#44273 @kouchao
- 🐞 修复 Descriptions 抛出
key is not a prop
的错误提示。#44278 @RedJue - 🐞 修复 Pagination
itemRender
自定义为null
时,仍然渲染节点的问题。#44226 - 🐞 修复 Modal 在 Dropdown
menu.items
中,展开 Modal 时快速移动鼠标会使 Dropdown 重新打开的问题。#44204 - DatePicker
- 💄 修复 DatePicker 内容不居中问题。#44245 @Zian502
- 💄 优化 DatePicker 中范围选择区域样式。#44206 @kiner-tang
- 💄 修复移动端点击 Tabs 区域触发颜色改变的问题。#44200 @yilaikesi
- RTL
- 💄 修复了当页面的文字方向为 RTL 时 Badge 里面的数字也是 RTL 的问题。#43998 @NotEvenANeko
v5.8.3
- DatePicker
- Carousel
- 🐞 Fix Modal footer disabled state that affect by Form. #43055 @Wxh16144
- 🐞 Fix Upload thumbnail that gif will not play. #44083 @linxianxi
- 🐞 Fix FloatButton that menu mode didn't support
badge
prop. #44109 @MadCcc - 🐞 Fix Grid & List responsive config take effect after first render which cause screen flick. #44075
- 🐞 Fix that Design Token partially missing when
@ant-design/cssinjs
version1.15.0
. #44091 @MadCcc - 💄 Fix Badge
status="processing"
withdot
wave style issue. #44153 - 💄 Fix Descriptions border styles when it nests itself. #43454 @Yuiai01
- 💄 Fix Pagination transition style in prev/next buttons. #44030
- 💄 Fix Popconfirm button group wraps unexpectedly. #44022 @MuxinFeng
- 💄 Optimize style of Image preview operation icons. #44141 @MadCcc
- 💄 Optimize Input and InputNumber font size in large mode. #44000 @MuxinFeng
- 💄 Remove Space part useless style. #44098
- DatePicker
- Carousel
- 🐞 修复 Modal 页脚禁用态受 Form 影响的问题。#43055 @Wxh16144
- 🐞 修复 Upload gif 缩略图不会动的问题。#44083 @linxianxi
- 🐞 修复 FloatButton 组件菜单模式不支持
badge
配置的问题。#44109 @MadCcc - 🐞 修复 Grid 与 List 响应式布局生效稍晚于首次渲染导致屏幕闪动的问题。#44075
- 🐞 修复
@ant-design/cssinjs
版本小于1.15.0
时 Design Token 部分丢失的问题。#44091 @MadCcc - 💄 修复 Badge
status="processing"
和dot
配合使用时,波纹样式异常的问题。#44153 - 💄 修复 Descriptions 组件自行嵌套时的边框样式问题。#43454 @Yuiai01
- 💄 修复 Pagination 上下页切换按钮 `transition`` 丢失的问题。#44030
- 💄 修复 Popconfirm 按钮组意外换行的问题。#44022 @MuxinFeng
- 💄 优化 Image 组件预览操作图标的样式。#44141 @MadCcc
- 💄 优化 Input 和 InputNumber 在大尺寸下的字体大小。#44000 @MuxinFeng
- 💄 移除 Space 部分未使用的样式。#44098
v5.8.2
- 🐞 Fix Checkbox & Radio not support customize wave and add className
ant-wave-target
for this case. #44014 - 🐞 Adjust Form.Item renderProps definition to return correct
FormInstance
. #43996 - 🐞 Fixed Table incorrect expand icon direction and row indentation in RTL. #43977 @Yuiai01
- 💄 Fix Pagination that should not have hover and focus style when disabled. #43970 @MadCcc
- TypeScript
- 🐞 修复 Checkbox 与 Radio 不支持自定义水波纹效果的问题,并添加
ant-wave-target
className 到对应元素上。#44014 - 🐞 调整 Form.Item renderProps 定义,现在会返回正确的
FormInstance
。#43996 - 🐞 修复 Table 在
direction
为rlt
时展开图标的方向和展开行的缩进有误的问题。#43977 @Yuiai01 - 💄 修复 Pagination 组件禁用状态仍然有悬浮和聚焦样式的问题。#43970 @MadCcc
- TypeScript
v5.8.1
- 🐞 Fix unexpected warning of deprecated
clearIcon
#43945 @kiner-tang - TypeScript
- 🤖 Export
MappingAlgorithm
as type of theme algorithm. #43953
- 🤖 Export
- 🐞 修复预期外的
clearIcon
废弃报错。#43945 @kiner-tang - TypeScript
- 🤖 导出
MappingAlgorithm
作为主题算法的类型。#43953
- 🤖 导出
v5.8.0
- 🔥 Component Token support
algorithm
to calculate derivative tokens same as global. #43810 @MadCcc - 🔥 Modal hooks function support
await
call. #43470 - 🔥 ConfigProvider support
wave
to customize wave effect. #43784 - 🆕 Form support
getFieldsValue({ strict: true })
to support only Item bind values. #43828 - 🆕 Descriptions support
items
prop. #43483 @RedJue - 🆕 ColorPicker support
disabledAlpha
prop. #43355 @RedJue - 🆕 Avatar.Group support
shape
prop. #43817 @li-jia-nan - 🆕 AutoComplete/Cascader/DatePicker/Input.Textarea/TimePicker/TreeSelect support
allowClear
prop to customize clear button。#43582 @kiner-tang - 🆕 RangePicker
presets
support callback functions. #43476 @Wxh16144 - 🆕 Added the
preview={{ movable: Boolean }}
prop to the Image component to support dragging and dropping into folders. #43823 @linxianxi - 🆕 Slider
tooltip
supportautoAdjustOverflow
prop. #43788 - 🆕 Added the
selectionsIcon
property to the Transfer component to support custom icons for the dropdown menu. #43773 @li-jia-nan - 🗑 Select, Tree-Select and Cascader deprecated
showArrow
prop. Now suffix arrow should be configured withsuffixIcon
. #43520 @MuxinFeng - 🐞 Optimized the import method for
@ant-design/icons
to avoid importing all icons. #43915 @ssxenon01 - 🐞 Fix Anchor not trigger
getCurrentAnchor
when scroll. #43916 - 🐞 Fix Tooltip
hover
not trigger ondisabled
element. #43872 - 🐞 Fix ColorPicker not calling
onChangeComplete
callback when changing value. #43867 @RedJue - 🐞 Fix
Modal.confirm
locale
setting were reset. #43277 @Yuiai01 - 🐞 Fix Slide description info and slider handle overlap issue. #43780 @Wxh16144
- 🐞 Fix InputNumber handler style in large size. #43875 @yee94
- 🐞 Fix Select popup flip position motion not correct. #43764
- 💄 Optimized the design of icons including CloseCircleFilled/CloseSquareFilled/CloseOutlined/CloseCircleOutlined/CloseSquareOutlined/ExportOutlined/ImportOutlined. 824500
- 💄 Fix when using with other component libraries that use
@ant-design/cssinjs
, antd styles will always be inserted at the top to avoid style override issues caused by loading order. #43847 - 💄 Optimize message and notification to not to extract style in SSR. #43808
- ⌨️ Fix Select
aria-activedescendant
didn't conform to valid value. #43800 - ⌨️ Fix
Layout.Header
accessibility role. #43749 @khalibloo - TypeScript
- 🤖
Form.Item
support for generic pairsname
props verification. #43904 @crazyair
- 🤖
- 🔥 组件 Token 支持配置
algorithm
参数,添加配置即可像全局 Token 一样由部分修改的 token 计算派生 token 的值并用于组件样式中。#43810 @MadCcc - 🔥 Modal hooks 方法支持
await
调用。#43470 - 🔥 ConfigProvider 支持
wave
配置以自定义水波纹效果。#43784 - 🆕 Form 新增
getFieldsValue({ strict: true })
以支持获取仅通过 Item 绑定的字段。#43828 - 🆕 Descriptions 支持
items
属性。#43483 @RedJue - 🆕 ColorPicker 支持
disabledAlpha
属性。#43355 @RedJue - 🆕 Avatar.Group 支持设置
shape
属性。#43817 @li-jia-nan - 🆕 AutoComplete/Cascader/DatePicker/Input.Textarea/TimePicker/TreeSelect 组件均已支持通过
allowClear.clearIcon
属性自定义清除按钮。#43582 @kiner-tang - 🆕 RangePicker
presets
属性支持回调函数。#43476 @Wxh16144 - 🆕 Image 新增
preivew={{ movable: Boolean }}
属性以支持可拖拽到文件夹。#43823 @linxianxi - 🆕 Slider
tooltip
支持配置autoAdjustOverflow
属性。#43788 - 🆕 Transfer 组件新增
selectionsIcon
属性以支持自定义下拉菜单图标。#43773 @li-jia-nan - 🗑 Select、Tree-Select 和 Cascader 组件废弃
showArrow
属性,可由suffixIcon
统一配置。#43520 @MuxinFeng - 🐞 优化
@ant-design/icons
导入写法以避免 Tree Shaking 在 Next.js 中失效的问题。#43915 @ssxenon01 - 🐞 修复 Anchor 在滚动时无法触发
getCurrentAnchor
的问题。#43916 - 🐞 修复 Tooltip hover 时无法在
disabled
元素上触发的问题。#43872 - 🐞 修复 ColorPicker 在更改值时未调用
onChangeComplete
回调的问题。#43867 @RedJue - 🐞 修复
Modal.confirm
的locale
设置被重置的问题。#43277 @Yuiai01 - 🐞 修复 Slider 中描述信息和滑块手柄重叠问题。#43780 @Wxh16144
- 🐞 修复 Select 弹出框翻转时动画不正确的问题。#43764
- 🐞 修复 InputNumber 在圆角不同下的样式异常。#43875 @yee94
- 💄 优化了 CloseCircleFilled/CloseSquareFilled/CloseOutlined/CloseCircleOutlined/CloseSquareOutlined/ExportOutlined/ImportOutlined 等图标的设计。824500
- 💄 修复和其他使用
@ant-design/cssinjs
的组件库混合使用,antd 的样式总是会插入在最前面,以避免加载顺序导致的样式覆盖问题。#43847 - 💄 优化 message 和 notification 渲染逻辑,现在在 SSR 环境下不会导出样式。#43808
- ⌨️ 修复 Select
aria-activedescendant
缺少有效值的问题。#43800 - ⌨️ 修复
Layout.Header
a11yrole
属性。#43749 @khalibloo - TypeScript
- 🤖
Form.Item
支持泛型对name
属性校验。#43904 @crazyair
- 🤖
v5.7.3
- 🐞 Fix Adjust the positioning of the Tour to be centered when the
target
isnull
. #43694 @linxianxi - 💄 Fix Watermark style issue in dark theme. #43754
- 🐞 Fix Button missing part React.
ButtonHTMLAttributes
issue. #43716 - 💄 Watermark use Design Token to support dark theme. #43754
- TypeScript
- 🤖 Button
ref
type optimization. #43703 @Negentropy247
- 🤖 Button
- 🐞 修复 Tour 当
target
为null
时弹出位置不居中的问题。#43694 @linxianxi - 🐞 修复 Button 丢失部分
React.ButtonHTMLAttributes
定义的问题。#43716 - 💄 Watermark 将固定的颜色替换成 Design Token 以适应暗黑主题。#43754
- TypeScript
- 🤖 Button
ref
类型优化。#43703 @Negentropy247
- 🤖 Button
v5.7.2
- 💄 Fix Menu miss hover style issue. #43656 @MadCcc
- 🐞 Fix Notification throwPurePanel definition missing error. #43687 @li-jia-nan
- 🐞 Fix Button
onClick
missingevent
definition. #43666 - 🐞 Fix Input and InputNumber align issue. #43548 @bbb169
- 🐞 Fix DatePicker suffix use wrong token. #43646 @MadCcc
- 🐞 Fix Steps with clickable can not trigger by keyboard. #43644
- TypeScript
- 🤖 Remove Button type
ghost
from TS definition. #43675
- 🤖 Remove Button type
- 💄 修复 Menu 组件悬浮态样式丢失的问题。#43656 @MadCcc
- 🐞 修复 Notification 报错 PurePanel 定义未找到的问题。#43687 @li-jia-nan
- 🐞 修复 Button
onClick
事件丢失event
定义的问题。#43666 - 🐞 修复 Input 和 InputNumber 行内对齐问题。#43548 @bbb169
- 🐞 修复 DatePicker 后缀颜色使用
token
不当的问题。#43646 @MadCcc - 🐞 修复 Steps 配置可点击时不能通过键盘操作的问题。#43644
- TypeScript
- 🤖 移除 Button 无用的
type="ghost"
属性定义。#43675
- 🤖 移除 Button 无用的
v5.7.1
- 💄 Migrate Component Token of Menu from 4.x less variables. #43576
- 🐞 Fix QRCode throws
Can't resolve 'antd/lib/qr-code'
in Next.js 13. #43572 - 🐞 Fix that antd components usage in Next.js App Router, check the documentation. #43573 @li-jia-nan
- 🐞 Fix InputNumber Phantom dependency issue:
Cannot find module 'rc-component/mini-decimal'
. #43635 - 🐞 Fix Checkbox both set
checked
andindeterminate
prop will not show asindeterminate
style. #43626 - 🐞 Fix Form.Item set
label=""
will break the line align. #43614 - 🐞 Fix notification
placement
not being respected when passed via App component. #43522 @Rajil1213 - 🐞 Fix Pagination jumpy page size select when search in it. #43556
- 🐞 Fix Button disabled style is missing when use with the deprecated usage of
type="ghost"
. #43558 @kiner-tang - 🐞 Fix Tag extra margin when there is only
icon
inside it. #43518 @Yuiai01 - 🐞 Fix ColorPicker that status style is missing inside Form.Item. #42880 @RedJue
- TypeScript
- 🤖 Fix
SpaceContext
don't exported correctly. #43501 @VovkaGoodwin - 🤖 Improve TS definitions for some components. #43581 #43545 #43588 #43610 #43629. Thanks to @thinkasany、@li-jia-nan for the contributions.
- 🤖 Fix
- 💄 补全 Menu 主题定制 token。#43576
- 🐞 修复 QRCode 在 Next.js 13 中报错
Can't resolve 'antd/lib/qr-code'
的问题。#43572 - 🐞 修复 antd 不支持在 Next.js App Router 中使用的问题,查看使用文档。#43573
- 🐞 修复 InputNumber 幽灵依赖报错
Cannot find module 'rc-component/mini-decimal'
。#43635 - 🐞 修复 App.useApp 方式调用 notification 组件时
placement
属性不生效的问题。#43522 @Rajil1213 - 🐞 修复 Checkbox 同时配置
checked
和indeterminate
时没有展示为indeterminate
样式的问题。#43626 - 🐞 修复 Form.Item 设置
label=""
时垂直方向对齐偏移的问题。#43614 - 🐞 修复 Pagination 分页选择器弹层抖动的问题。#43556
- 🐞 修复 Button 幽灵按钮禁用状态丢失的问题。#43558 @kiner-tang
- 🐞 修复 Tag 仅传入
icon
时渲染多余间距的问题。#43518 @Yuiai01 - 🐞 修复 ColorPicker 不跟随表单校验状态改变 UI 的问题。#42880 @RedJue
- TypeScript
- 🤖 修复
SpaceContext
没有正确导出的问题。#43501 @VovkaGoodwin - 🤖 优化部分组件 TS 定义实现。#43581 #43545 #43588 #43610 #43629,感谢 @thinkasany、@li-jia-nan 的贡献。
- 🤖 修复
v5.7.0
- 🆕 ConfigProvider now supports
className
andstyle
properties for all components. Thanks to @Yuiai01, @li-jia-nan, @MuxinFeng for their contributions. - 🆕 Badge now supports
classNames
andstyles
properties. #43245 @li-jia-nan - 🆕 ColorPicker now supports new features such as
showText
,destroyTooltipOnHide
,onChangeComplete
,panelRender
andsize
. - 🆕 Alert, Drawer, Modal, Notifaction, Tag, Tabs now support hiding the close button by setting
closeIcon
to null or false. #42828 @kiner-tang - 🆕 Image supports
imageRender
,toolbarRender
attributes to support custom rendering of preview images and toolbars, also supports new props such asonTransform
,minScale
,maxScale
. Image.PreviewGroup supportsitems
attribute to pass in list data, and fixes that the native attributes of the img tag are not passed to preview images The problem. #43075 @linxianxi - 🆕 Modify the layout style of the Image preview, the
preview
attribute supportscloseIcon
, Image.PreviewGroup supports thefallback
attribute, and fixes the problem of loading preview resources in advance. #43167 @linxianxi - 🆕 Changed the layout style, Preview now supports
closeIcon
, PreviewGroup now supportsfallback
, and fixed an issue where preview resources would be loaded at the beginning.#43167 @linxianxi - 🛠 InputNumber was refactored to use rc-input. #43000 @muxin
- 🛠 Resolved Circular dependency issue in vite, rollup, meteor and microbundle. #42750. Thanks to @jrr997, @kiner-tang and @MuxinFeng for their contributions.
- 🐞 Remove default values (empty string) of
className
prop in Anchor, CollapsePanel, and Input.Group. #43481 @thinkasany - 🐞 Fix Upload progress bar missing fade motion. #43471
- 🐞 Added warning for deprecated Token
colorItemBgSelected
in Menu.#43461 @MadCcc - 🐞 Fixed an issue where some browsers had scroll bars that were not redrawn when style feature support was detected.#43358 @LeeeeeeM
- 🐞 Fixed an issue where the Tab component of Card would not be displayed at all when tabList is empty.#43416 @linxianxi
- 🐞 Fixed an issue where the `form.validateMessages`` configuration would be lost when using ConfigProvider nestedly.#43239 @Wxh16144
- 🐞 Fixed an issue where the ripple effect of Tag click would sometimes be offset from the Tag element.#43402
- 🐞 Fixed an issue where clicking "now" in DatePicker when switching to the year-month panel would not work.#43367 @Yuiai01
- 🐞 Fixed an issue where the height set for the TextArea component would become invalid when the screen size changed.#43169 @MadCcc
- 💄 In Slider, the
tooltip
should be centered when there is little content. #43430 @Jomorx - 💄 Added
colorLink
to the seed token, andcolorLinkHover
andcolorLinkActive
will be calculated from colorLink.#43183 @MadCcc - 💄 Adjusted some tokens in Slider to component tokens. #42428 @heiyu4585 RTL#42428 @heiyu4585
- RTL
- TypeScript
- 🤖 Added
RawPurePanelProps
interface description for Popover.#43453 @thinkasany - 🤖 Replaced
ref
type withTooltipRef
instead ofunknown
forPopconfirm
.#43452 @thinkasany - 🤖 Replaced
ref
type withTooltipRef
instead ofunknown
for Popover.#43450 @Negentropy247 - 🤖 Improved type declaration of
GroupSizeContext
in ButtonGroup.#43439 @thinkasany - 🤖 Improved type declaration of
mode
property in Select.#43413 @thinkasany - 🤖 Replaced
ref
type withCheckboxRef
instead ofunknown
for Checkbox.#43424 @li-jia-nan - 🤖 Improved internal type implementation for Table/Tag/Notification.
- 🤖 Added
- 🆕 ConfigProvider 支持所有组件的
className
和style
属性控制。感谢 @Yuiai01、@li-jia-nan 和 @MuxinFeng 的贡献。 - 🆕 Badge 支持
classNames
属性和styles
属性。#43245 @li-jia-nan - 🆕 ColorPicker 支持
showText
、destroyTooltipOnHide
、onChangeComplete
、panelRender
、size
等新特性。 - 🆕 Alert、Drawer、Modal、Notifaction、Tag、Tabs 均已支持通过设置
closeIcon
为 null 或 false 隐藏关闭按钮。 #42828 @kiner-tang - 🆕 Anchor 添加
replace
属性。#43006 @ds1371dani - 🆕 Image 支持
imageRender
、toolbarRender
属性以支持预览图和工具栏的自定义渲染,还支持了onTransform
、minScale
、maxScale
等新属性,Image.PreviewGroup 支持items
属性传入列表数据,并修复了 img 标签的原生属性没有传递给预览图的问题。#43075 @linxianxi - 🆕 修改 Image 预览图的布局风格,
preview
属性支持closeIcon
,Image.PreviewGroup 支持fallback
属性,修复加载预览资源提前加载的问题。#43167 @linxianxi - 🛠 InputNumber 使用 rc-input 进行重构。#43000 @muxin
- 🛠 解决 vite、rollup、meteor、microbundle 等构建工具中遇到的循环依赖问题,并增加相关的检测。#42750,感谢 @jrr997、@kiner-tang 和 @MuxinFeng 的贡献。
- 🐞 移除 Anchor/CollapsePanel/Input.Group 组件中
className
属性的默认值(空字符串)。 #43481 @thinkasany - 🐞 修复 Upload 上传进度条延迟消失且丢失动画效果的问题。#43471
- 🐞 为 Menu 中组件 Token
colorItemBgSelected
添加废弃警告。#43461 @MadCcc - 🐞 修复样式特性支持检测时部分浏览器因为未重绘导致出现滚动条的问题。#43358 @LeeeeeeM
- 🐞 修复 Card
tabList
为空时 Tab 完全不展示的问题。#43416 @linxianxi - 🐞 修复 ConfigProvider 嵌套使用时,
form.validateMessages
配置会丢失的问题。#43239 @Wxh16144 - 🐞 修复 Tag 点击的水波纹效果有时候会和 Tag 元素产生偏移的问题。#43402
- 🐞 修复 DatePicker 切换到年月面板时,
此刻
点击无效的问题。#43367 @Yuiai01 - 🐞 修复 TextArea 组件在屏幕大小变化时设置的高度失效的问题。#43169 @MadCcc
- 💄 Slider 中
tooltip
在内容很少时应该居中。#43430 @Jomorx - 💄 将
colorLink
添加至 seed token 中,colorLinkHover
和colorLinkActive
将会由colorLink
计算得出。#43183 @MadCcc - 💄 调整 Slider 中部分 token 为 component token。#42428 @heiyu4585
- RTL
- TypeScript
- 🤖 Popover 增加
RawPurePanelProps
接口描述。#43453 @thinkasany - 🤖 Popconfirm 替换
ref
类型unknown
为TooltipRef
。#43452 @thinkasany - 🤖 Popover 替换
ref
类型unknown
为TooltipRef
。#43450 @Negentropy247 - 🤖 改进 ButtonGroup 中
GroupSizeContext
的类型声明。#43439 @thinkasany - 🤖 改进 Select 的
mode
属性的类型声明。#43413 @thinkasany - 🤖 Checkbox 替换
ref
类型unknown
为CheckboxRef
。#43424 @li-jia-nan - 🤖 改进 Table/Tag/Notification 内部类型实现。
- 🤖 Popover 增加
v5.6.4
- Form
- 🐞 Fix the Badge
color
attribute does not take effect. #43304 - 🐞 Fix the position of Select clear icon when FormItem sets
hasFeedback
. #43302 @tinyfind - 🐞 Fix Transfer paging drop-down button is hidden and
showSizeChanger
method is invalid. #41906 @Yuiai01 - 🐞 Fix the invalid modification of
colorText
andfontSize
of Popconfirm component. #43212 @MadCcc - 🐞 Fix the problem that deleting files after Upload configures
maxCount
will not triggeronChange
. #43193 - 💄 Fix Button disabled style error when it has
link
orhref
attribute. #43091 @BoyYangzai - TypeScript
- 🤖 Optimize Breadcrumb
params
type and support generics. #43211 - 🤖 Optimize Breadcrumb
params
type and support generics. #43257 @thinkasany - 🤖 Remove redundant number type from Button
loading
. #43256 @thinkasany - 🤖 Transparently pass Cascader
optionType
generic. #43231 @ZWkang
- 🤖 Optimize Breadcrumb
- Form
- 🐞 修复 Badge
color
属性不生效的问题。#43304 - 🐞 修复 Select 组件的消除图标在 FormItem 设置
hasFeedback
时的位置问题。#43302 @tinyfind - 🐞 修复 Transfer 分页下拉按钮被隐藏以及
showSizeChanger
方法无效。#41906 @Yuiai01 - 🐞 修复 Popconfirm 组件
colorText
和fontSize
修改无效的问题。#43212 @MadCcc - 🐞 修复 Upload 配置
maxCount
后删除文件不会触发onChange
的问题。#43193 - 💄 修复 Button 在有
link
或href
属性时禁用样式错误。#43091 @BoyYangzai - TypeScript
- 🤖 优化 Breadcrumb
params
类型,支持泛型。#43211 - 🤖 优化 Typography
copyIdRef
类型。#43257 @thinkasany - 🤖 移除 Button
loading
多余 number 类型。#43256 @thinkasany - 🤖 透传 Cascader
optionType
泛型。#43231 @ZWkang
- 🤖 优化 Breadcrumb
v5.6.3
- BreadCrumb
- 🐞 Fix BreadCrumb
dropdownProps
does not working bug. #43151 @linxianxi - 🛠 Improve BreadCrumb behavior when receiving a null title. #43099 @Asanio06
- 🐞 Fix BreadCrumb
- 🐞 Fix Slider disabled state within Form. #43142 @Starpuccino
- 🐞 Fix Form that label offset does not work in vertical mode. #43155 @kiner-tang
- 🐞 Fix Table open filter popup throw react ref warning. #43139
- 🐞 Fix Transfer with
rowKey
makes item unselectable. #43115 - 🐞 Fix Space
size
priority when using with other components #42752 @linxianxi - 🐞 Fix QRCode color in dark mode. #43162 @ds1371dani
- 💄 Fix Select option unexpected margin when using with Badge and Tag. #43097 @Yuiai01
- TypeScript
- 🤖 Improve Button
target
property type definition. #43129 @li-jia-nan - 🤖 Improve Progress
size
property type to support percent value. #43123 @Ali-ovo - 🤖 Improve Slider tooltip type definition. #43094 @li-jia-nan
- 🤖 Improve Button
- BreadCrumb
- 🐞 修复 BreadCrumb 传递
dropdownProps
不生效的问题。#43151 @linxianxi - 🛠 优化 BreadCrumb 处理
title
为null
时的行为。#43099 @Asanio06
- 🐞 修复 BreadCrumb 传递
- 🐞 修复 Slider 在 Form 内部时的禁用状态。#43142 @Starpuccino
- 🐞 修复 Form 标签偏移值在垂直布局中不生效的问题。#43155 @kiner-tang
- 🐞 修复 Table 打开筛选面板会报
react ref
错误警告信息。#43139 - 🐞 修复 Transfer 配置
rowKey
后无法选中的问题。#43115 - 🐞 修复 Space 与其他组件搭配使用时的
size
优先级#42752 @linxianxi - 🐞 修复 QRCode 在暗黑模式下的颜色。#43162 @ds1371dani
- 💄 修复 Select 选项使用 Badge 和 Tag 时底部存在意外边距的问题。#43097 @Yuiai01
- TypeScript
- 🤖 优化 Button 的
target
属性类型定义。#43129 @li-jia-nan - 🤖 优化 Progress 的
size
属性类型定义以支持百分比值。#43123 @Ali-ovo - 🤖 优化 Slider tooltip 的类型定义。#43094 @li-jia-nan
- 🤖 优化 Button 的
v5.6.2
- 🐞 Fix Dropdown with
autoFocus
not work as expect. #43002 @Yuiai01 - 🐞 Fix InputNumber with
prefix
abnormal height under Form.Item ofhasFeedBack
. #43049 - 💄 Fix Input and InputNumber disabled style with addons. #42974 @kampiu
- 🐞 Fix Upload trigger extra
onChange
event when upload the file exceedsmaxCount
. #43034 - 🐞 Fix export bundle size always contain
rc-field-form
even not use it. #43023 - 🐞 Fix DatePicker
disabledTime
sometime can select disabled option. #42991 @linxianxi - 📖 Add FloatButton controlled demo and patch related warning info. #42835 @poyiding
- 🐞 Fix Button with
disabled
still can interactive with sub component. #42949 @kiner-tang - 🐞 Drawer add max width to avoid exceed in small screen. #42914 @amir2mi
- 🐞 Fix Table
preserveSelectedRowKeys
not working whencheckStrictly
configured. #42784 @linxianxi - 🐞 Fix Transfer select count not sync when dynamic update data. #42785 @BoyYangzai
- 🐞 Fix Radio.Button
title
not work and update typescript definition. #43012 @linxianxi
- 🐞 修复 Dropdown 配置
autoFocus
无效的问题。#43002 @Yuiai01 - 🐞 修复 InputNumber 设置
prefix
在 Form.ItemhasFeedBack
内高度异常的问题。#43049 - 💄 修复 Input 和 InputNumber 禁用状态样式。#42974 @kampiu
- 🐞 修复 Upload 配置
maxCount
后,上传超出范围的文件仍然会触发onChange
事件的问题。#43034 - 🐞 修复打包时即便没有使用
rc-field-form
包仍然会包含它的问题。#43023 - 🐞 修复 DatePicker 动态设置
disabledTime
时值不正确的问题。#42991 @linxianxi - 📖 补充 FloatButton 受控实例,并添加对应的 warning 提示。#42835 @poyiding
- 🐞 修复 Button 禁用时子节点仍然可以交互的问题。#42949 @kiner-tang
- 🐞 Drawer 添加最大宽度以防止在小屏幕下超出的问题。#42914 @amir2mi
- 🐞 修复 Table 设置
checkStrictly
时,preserveSelectedRowKeys
无效的问题。#42784 @linxianxi - 🐞 修复 Transfer 在动态变更数据时,展示的选中数不同步的问题。#42785 @BoyYangzai
- 🐞 修复 Radio.Button
title
属性不生效,并补齐对应定义。#43012 @linxianxi
v5.6.1
- ColorPicker
- 🐞 Fix ColorPicker preset cannot be selected. #42882 @RedJue
- 🐞 Fix ColorPicker that should not trigger
onChange
when click clear after clearing. #42643 @linxianxi
- 🐞 Fix Collapse that displayed unexpected deprecated warning. #42876 @kiner-tang
- TypeScript
- ColorPicker
- 🐞 修复 ColorPicker 预设颜色没法选中的问题。#42882 @RedJue
- 🐞 修复 ColorPicker 组件清除后再点击清楚仍然触发
onChange
的问题。#42643 @linxianxi
- 🐞 修复 Collapse 组件废弃警告异常显示问题。#42876 @kiner-tang
- TypeScript
v5.6.0
- 🆕 ColorPicker add
onClear
and dont't close panel when clearing. #42634 @linxianxi - 🆕 Collapse
items
to support configure panel content. #42545 @kiner-tang - 🆕 Add static function
getDesignToken
to access full Design Token. #42723 @MadCcc - 🆕 ConfigProvider support configure Space
classNames
andstyles
properties. #42748 @RedJue - 🆕 Space support
classNames
andstyles
properties. #42743 @RedJue - 🆕 Drawer panel support event listener. Wrapper support passing
data-*
props. #42718 @kiner-tang - 🆕 ConfigProvider support configuring Button
style
/className
/styles
/classNames
. #42623 @LuZhenJie1999 - 🆕 Pagination size change select component is searchable now. #42608
- 🆕 QRCode support render svg. #42570 @sy296565890
- 🆕 Calendar support passing
panelMode
as the select source type to the internal select trigger callback to use the correct source type when called. #42459 @bombillazo - 🆕 Select add
groupLabel
prop infieldNames
to refleact title of group. #42492 @BoyYangzai - 🆕 Table add support for custom sort icon of table column. #42498 @sawadyecma
- 🆕 DatePicker support
kk:mm
format. #42494 @cooljser - 🆕 ConfigProvider.config support
theme
for static method config. #42473 - 🆕 Calendar
onSelect
supportinfo.source
param to help get select source. #42432 - 💄 Optimize ColorPicker style in dark theme. #42827 @RedJue
- 💄 Fix Popconfirm, Alert and Notification that
colorTextHeading
andcolorText
usage. #42839 @MadCcc - 💄 Fix Divider style problem. #42797 @kongmingLatern
- 🐞 Fix Image.PreviewGroup not reset image state when switch it. #42793 @linxianxi
- 🐞 Reduce bundle size by refactor via
rc-util/lib/pickAttrs
. Fix RatefindDOMNode is deprecated
warning in StrictMode. #42688 - 🐞 Rate could accept
id
data-*
aria-*
role
onMouseEnter
onMouseLeave
attributes now, so that it can be wrapped by Tooltip component. #42676 - 🐞 Fix Menu.Submenu not aligned in horizontal mode. #42648 @MadCcc
- 🐞 Align Card
tabList
API with Tabitems
. #42413 - 🐞 Fix circular dependencies.
- 🐞 Fix Modal circular dependency issue. #42841 @kiner-tang
- 🐞 Fix Space circular dependency issue. #42811 @kiner-tang
- 🐞 Fix Statistic circular dependency issue. #42814 @kiner-tang
- 🐞 Fix List circular dependency issue. #42806 @kiner-tang
- 🐞 Fix Dropdown circular dependency issue. #42764 @Dunqing
- ⌨️ Improve Progress accessibility by adding more
aria
props. #42704 @MehmetYararVX - ⌨️ Notification add role
props
. #42484 @guan404ming - 🛠 Collapse use
onKeyDown
instead ofonKeyPress
to change collapse panel active state. #42592 @kiner-tang - 🛠 Refactor Menu with
@rc-component/trigger
. Removerc-trigger
and reduce bundle size. #42554 @MadCcc - 🛠 Table rename
sorterOrder
tosortOrder
for arguement ofsortIcon
. #42519 @sawadyecma - Component Token Migration. For more info: Migrate less variables
- 🛠 Rename Menu component token with new naming standard. #42848 @MadCcc
- 🛠 Migrate Radio less variables. #42050 @Yuiai01
- 🛠 Migrate Image less variables. #42048 @guan404ming
- 🛠 Migrate Tooltip less variables. #42046 @guan404ming
- 🛠 Migrate Transfer less variables. #42431 @heiyu4585
- 🛠 Migrate Tabs less variables. #42186 @heiyu4585
- 🛠 Migrate Card less variables. #42061 @heiyu4585
- 🛠 Migrate Mentions less variables. #42711 @heiyu4585
- 🛠 Migrate Avatar less variables. #42063 @heiyu4585
- 🛠 Migrate Pagination less variables. #42330 @heiyu4585
- 🛠 Migrate Popover less variables. #42337 @heiyu4585
- 🛠 Migrate Tag less variables. #42053 @heiyu4585
- 🛠 Migrate List less variables. #42041 @jrr997
- 🛠 Migrate Dropdown less variables. #42258 @poyiding
- 🛠 Migrate Timenline less variables. #42491 @jrr997
- 🛠 Migrate Anchor less variables. #42141 @MuxinFeng
- 🛠 Migrate Carousel less variables. #42157 @MuxinFeng
- 🛠 Migrate Upload less variables. #42042 @jrr997
- 🛠 Migrate Typography less variables. #42442 @jrr997
- 🛠 Migrate Segmented less variables. #42136 @kiner-tang
- 🛠 Migrate Checkbox less variables. #42097 @poyiding
- 🛠 Migrate Skeleton less variables. #42134 @kiner-tang
- 🛠 Migrate Breadcrumb less variables. #42342 @heiyu4585
- 🛠 Migrate Calendar less variables. #42194 @MuxinFeng
- 🛠 Migrate Rate less variables. #42135 @MuxinFeng
- 🛠 Migrate Descriptions less variables. #42038 @jrr997
- 🆕 ColorPicker 添加
onClear
属性,清除选中颜色时不自动关闭弹窗。#42634 @linxianxi - 🆕 Collapse 支持通过
items
属性来配置面板内容。#42545 @kiner-tang - 🆕 新增静态方法
getDesignToken
用于获取完整的主题 token。#42723 @MadCcc - 🆕 ConfigProvider 支持配置 Space 组件的
classNames
和styles
属性。#42748 @RedJue - 🆕 Space 组件支持
classNames
和styles
属性。#42743 @RedJue - 🆕 Drawer 抽屉面板支持事件监听,包裹元素支持传入
data-*
属性。#42718 @kiner-tang - 🆕 ConfigProvider 支持自定义 Button 的
style
/className
/styles
/classNames
。#42623 @LuZhenJie1999 - 🆕 Pagination 的页码选择器可以进行搜索了。#42608
- 🆕 QRCode 支持渲染 svg。#42570 @sy296565890
- 🆕 Calendar 支持将
panelMode
作为选择源类型传递给内部选择触发器回调,以便在调用时使用正确的源类型。#42459 @bombillazo - 🆕 Select
fieldNames
新增groupLabel
字段映射分组标题。#42492 @BoyYangzai - 🆕 Table 添加对列自定义排序图标的支持。#42498 @sawadyecma
- 🆕 DatePicker 支持
kk:mm
格式的format
以支持显示 24:00。#42494 @cooljser - 🆕 ConfigProvider.config 新增
theme
支持配置静态方法主题。#42473 - 🆕 Calendar
onSelect
支持info.source
参数以获取选择来源。#42432 - 💄 优化 ColorPicker 组件在暗黑模式下的样式。#42827 @RedJue
- 💄 修复 Popconfirm、Alert 和 Notification 组件
colorTextHeading
和colorText
误用问题。#42839 @MadCcc - 💄 修复 Divider 组件的样式问题。#42797 @kongmingLatern
- 🐞 修复 Image.PreviewGroup 预览时图片切换后状态没有重置的问题。#42793 @linxianxi
- 🐞 统一使用
rc-util/lib/pickAttrs
以节省包体积。修复 Rate 组件在 StrictMode 下findDOMNode is deprecated
警告信息。#42688 - 🐞 Rate 组件支持传入
id
data-*
aria-*
role
onMouseEnter
onMouseLeave
等属性,修复不支持 Tooltip 包裹的问题。#42676 - 🐞 修复 Menu 组件横向模式下子菜单没有对齐的问题。#42648 @MadCcc
- 🐞 将 Card
tabList
的 API 与 Tabitems
对齐。#42413 - 🐞 修复循环依赖问题。
- 🐞 修复 Modal 组件循环依赖问题。#42841 @kiner-tang
- 🐞 修复 Space 组件循环依赖问题。#42811 @kiner-tang
- 🐞 修复 Statistic 组件循环依赖问题。#42814 @kiner-tang
- 🐞 修复 List 组件循环依赖问题。#42806 @kiner-tang
- 🐞 修复 Dropdown 组件循环依赖问题。#42764 @Dunqing
- ⌨️ 增强 Progress 可访问性表现,添加
aria
属性。#42704 @MehmetYararVX - ⌨️ Notification 添加
role
属性。#42484 @guan404ming - 🛠 Collapse 使用
onKeyDown
替代onKeyPress
来改变折叠面板的激活状态。#42592 @kiner-tang - 🛠 使用
@rc-component/trigger
重构 Menu 组件。移除rc-trigger
依赖,缩小打包体积。#42554 @MadCcc - 🛠 Table 组件将
sorterOrder
重命名为sortOrder
用于sortIcon
的参数。#42519 @sawadyecma - 组件 Token 迁移,更多详情请查看文档:迁移 less 变量
- 🛠 使用新的命名标准重命名 Menu 组件 token。#42848 @MadCcc
- 🛠 迁移 Radio 组件 less 变量。#42050 @Yuiai01
- 🛠 迁移 Image 组件 less 变量。#42048 @guan404ming
- 🛠 迁移 Tooltip 组件 less 变量。#42046 @guan404ming
- 🛠 迁移 Transfer 组件 less 变量。#42431 @heiyu4585
- 🛠 迁移 Tabs 组件 less 变量。#42186 @heiyu4585
- 🛠 迁移 Card 组件 less 变量。#42061 @heiyu4585
- 🛠 迁移 Mentions 组件 less 变量。#42711 @heiyu4585
- 🛠 迁移 Avatar 组件 less 变量。#42063 @heiyu4585
- 🛠 迁移 Pagination 组件 less 变量。#42330 @heiyu4585
- 🛠 迁移 Popover 组件 less 变量。#42337 @heiyu4585
- 🛠 迁移 Tag 组件 less 变量。#42053 @heiyu4585
- 🛠 迁移 List 组件 less 变量。#42041 @jrr997
- 🛠 迁移 Dropdown 组件 less 变量。#42258 @poyiding
- 🛠 迁移 Timeline 组件 less 变量。#42491 @jrr997
- 🛠 迁移 Anchor 组件 less 变量。#42141 @MuxinFeng
- 🛠 迁移 Carousel 组件 less 变量。#42157 @MuxinFeng
- 🛠 迁移 Upload 组件 less 变量。#42042 @jrr997
- 🛠 迁移 Typography 组件 less 变量。#42442 @jrr997
- 🛠 迁移 Segmented 组件 less 变量。#42136 @kiner-tang
- 🛠 迁移 Checkbox 组件 less 变量。#42097 @poyiding
- 🛠 迁移 Skeleton 组件 less 变量。#42134 @kiner-tang
- 🛠 迁移 Breadcrumb 组件 less 变量。#42342 @heiyu4585
- 🛠 迁移 Calendar 组件 less 变量。#42194 @MuxinFeng
- 🛠 迁移 Rate 组件 less 变量。#42135 @MuxinFeng
- 🛠 迁移 Descriptions 组件 less 变量。#42038 @jrr997
v5.5.2
- 🐞 Fix ColorPicker hover boundary issue. #42669 @RedJue
- 🐞 Fix Menu that
overflowedIndicatorClassName
should not override origin classes. #42692 @MadCcc - 🐞 Fix Select that in some cases will display the letter
A
. #42651 @895433995 - 🐞 Fix Card when
cover
is set to Image, hover mask does not have rounded corner attribute, resulting in UI exception. #42642 @iNeedToCopy - 🐞 Fix Checkbox align with label. #42590 @MadCcc
- 🐞 Fix ConfigProvider makes Form component in the bundle even not use it. #42604
- 🐞 Fix InputNumber cannot align well by baseline. #42580
- 🐞 Fix spinning icon animation in Badge. #42575 @MadCcc
- 📦 Optimize Form
setFieldsValue
logic to reduce bundle size. #42635 - 💄 Optimize ImagePreviewGroup style. #42675 @kiner-tang
- 💄 Fix Tag borderless style with
error
and other status. #42619 @li-jia-nan - 💄 Fix Table
rowSpan
hover highlight style missing. #42572 - 💄 Fix Pagination's link icon and ellipsis hover style when disabled. #42541 @qmhc
- 💄 Fix that global token should be able to override component style. #42535 @MadCcc
- 🇱🇹 Add missing i18n for
lt_LT
locale. #42664 @Digital-512 - RTL
- 🐞 修复 ColorPicker 组件悬停边界问题。#42669 @RedJue
- 🐞 修复 Menu 组件
overflowedIndicatorClassName
覆盖了原本的 class 的问题。#42692 @MadCcc - 🐞 修复 Select 组件在某些情况下显示乱码问题。#42651 @895433995
- 🐞 修复 Card 组件,当 Image 设置
cover
属性时,悬停蒙版没有圆角属性,导致 UI 异常。#42642 @iNeedToCopy - 🐞 修复 Checkbox 和 label 不对齐的问题。#42590 @MadCcc
- 🐞 修复使用 ConfigProvider 会导致未使用的 Form 组件也被打包的问题。#42604
- 🐞 修复 InputNumber 和其他组件无法基线对齐的问题。#42580
- 🐞 修复 Badge 组件中旋转的
icon
动画。#42575 @MadCcc - 📦 优化 Form
setFieldsValue
相关代码以降低打包尺寸。#42635 - 💄 优化 Image 组件预览组样式。#42675 @kiner-tang
- 💄 修复 Tag 无边框样式在
error
等状态下不生效的问题。#42619 @li-jia-nan - 💄 修复 Table
rowSpan
悬浮高亮背景颜色丢失的问题。#42572 - 💄 修复 Pagination 在禁用状态下 link 图标和 ellipsis hover 时的样式。#42541 @qmhc
- 💄 修复部分全局 Token 无法覆盖组件样式的问题。#42535 @MadCcc
- 🇱🇹 为
lt_LT
添加缺失的部分文案。#42664 @Digital-512 - RTL
v5.5.1
- 🐞 Fix wrong Button icon size and margin. #42516 @MadCcc
- 🐞 Fix Select remove & selected icon not align in center. #42513
- 🐞 Refactor Popconfirm DOM structure to fix extra margin before
title
anddescription
whenicon={null}
. #42433 - 🐞 Fix Menu item icon not centered when
itemMarginInline
is 0. #42426 @zzwgh - 🐞 Fix Tag wrapped with Tooltip will use wrong
font-size
when hover. #42414 - 🐞 Fix Popconfirm trigger
onVisibleChange
twice. #42393 - 🐞 Adjust Tooltip & Popover display logic. Now the first priority is to ensure that it will not be clipped by
overflow: hidden
, and the second is to ensure that it is displayed within the viewport as much as possible. #42394 - ColorPicker
- 🐞 Optimize ColorPicker the
allowClear
interaction logic, reopening the panel to select a color will default to 100% transparency instead of 0%. #42439 @RedJue - 🐞 Optimize ColorPicker interaction. Now it will close panel when click clear button. #42406 @kiner-tang
- 🐞 Optimize ColorPicker the
- 💄 Optimize border radius in filter dropdown of Table. #42451 @Yuiai01
- 🛠 Remove
addEventListener
fromrc-util/lib/Dom/addEventListener
and use nativeaddEventListener
instead. #42464 @li-jia-nan - 🛠 Reduce 1KB @ant-design/icons bundle size. Fix TwoTone icon color to primary color of 5.0. #42443
- 🌐 Add missing translation for
mn_MN
. #42512 @ariunbatb - RTL
- 💄 Fix Select scrollbar
rtl
direction position. #42508 @BoyYangzai
- 💄 Fix Select scrollbar
- TypeScript
- 🤖 Optimize Slider ref type definition, replace
unknown
andany
withSliderRef
. #42420 @li-jia-nan
- 🤖 Optimize Slider ref type definition, replace
- 🐞 修复 Button 组件 icon 尺寸和间距问题。#42516 @MadCcc
- 🐞 修复 Select 移除和选中按钮不居中的问题。#42513
- 🐞 重构 Popconfirm DOM 结构以解决
icon={null}
时title
和description
的多余 margin 问题。#42433 - 🐞 修复 Menu 图标在
itemMarginInline
为 0 时不居中的问题。#42426 @zzwgh - 🐞 修复 Tag 被 Tooltip 包裹时,hover 会导致
font-size
错误的问题。#42414 - 🐞 修复 Popconfirm 的
onVisibleChange
会重复触发的问题。#42393 - 🐞 调整 Tooltip 和 Popover 展示逻辑,现在会优先保证不会被
overflow: hidden
裁剪,其次保证尽可能在可见屏幕范围内展示。#42394 - ColorPicker
- 🐞 优化 ColorPicker
allowClear
交互逻辑,重新打开面板选择颜色会默认 100% 透明度,而不是 0%。#42439 @RedJue - 🐞 优化 ColorPicker 交互,点击清除按钮时隐藏面板。#42406 @kiner-tang
- 🐞 优化 ColorPicker
- 💄 修改 Table 筛选下拉菜单的圆角。#42451 @Yuiai01
- 🛠 全局移除
rc-util/lib/Dom/addEventListener
引入的addEventListener
方法,用原生代替。#42464 @li-jia-nan - 🛠 优化 @ant-design/icons 的 bundle 体积大小。修复 TwoTone 类的图标色为 5.0 的新主色。#42443
- 🌐 添加
mn_MN
中缺失的翻译。#42512 @ariunbatb - RTL
- 💄 修复 Select
direction
为rtl
时 scrollbar 的位置。#42508 @BoyYangzai
- 💄 修复 Select
- TypeScript
- 🤖 优化 Slider ref 类型,移除
unknown
和any
类型,用SliderRef
代替。#42420 @li-jia-nan
- 🤖 优化 Slider ref 类型,移除
v5.5.0
- 🔥 New Component ColorPicker. #41990 @RedJue
- 🆕 Add
DatePicker.generateCalendar
andCalendar.generateCalendar
custom date component method, no need to import from module path. #41773 - 💄 Optimize the style of Select, TreeSelect, Cascader multi-selection mode, remove the Tag border. #41480
- 🆕 Form
validateFields
supportvalidateOnly
to not to update UI status. #42273 - 🆕 DatePicker support changeOnBlur to trigger change event without clicking confirm. #42168
- 🆕 Cascader
options
supportdisableCheckbox
prop. #42024 @BoyYangzai - 🆕 Popconfirm add
onPopupClick
prop. #42272 @bolosea - 🆕 QRCode add
bgColor
prop to set background color. #42214 @bolosea - 🆕 Table.Summary.Row component add
onClick
prop. #42175 @Ylg12345 - 🆕 Space support ref. #42266 @RedJue
- 🆕 The
size
of Tab defaults to inherit Card. #42183 @huangkairan - ConfigProvider
- 🐞 Fix ConfigProvider
size
prop not work on Pagination. #42206 - 🐞 Fix ConfigProvider
size
prop not work on Steps. #42278 @wanghui2021 - 🐞 Fix ConfigProvider
size
prop not work on Descriptions. #42244 @wanghui2021 - 🐞 Fix the size is not inherited from ConfigProvider when the
componentSize
is set. #42199 @Ec-tracker
- 🐞 Fix ConfigProvider
- 🐞 Fix then icon styles for Input are incorrect in Space Compact mode. #42167 @pengyw97
- 🐞 Fix Popover display empty div when
title
andcontent
is null. #42217 @hairgc - 🐞 Fix the error that Circle Progress does not set
size
. #41875 @notzheng - 🐞 Fix Progress throws warning
findDOMNode is deprecated in StrictMode
. #42241 @BoyYangzai - 💄 Fix the problem that the InputNumber out of range style does not take effect. #42250 @pengyw97
- 💄 Fix the problem that Divider cannot be displayed normally due to the overwriting of the dashed line style in the vertical direction. #40418 @buqiyuan
- 💄 Adjust Tooltip motion that will auto detect best match transform origin. #42225
- 💄 keep Checkbox.Group style the same as v4. #42103 @BoyYangzai
- 💄 Improve the style when the Menu overflowed. #42294 @dhalenok
- 💄 Improve the Segmented mouse active style. #42249
- 🤖 Spin add warning if use
tip
when not in nest pattern. #42293 - 🤖 Component Token name canonicalization. #42184
- TypeScript
- 🤖 Optimize the type definition of Tag. #42235 @gaoqiiii
- 🤖 Optimize Notification
getContainer
type definition. #40206 @leshalv - 🤖 Improved support for generics MenuItemType and MenuItemProps in the Menu component. #42240 @yangyuanxx
- Locales
- 🇧🇬 Add bg_BG Form locales. #42203 @tangzixuan
- 🔥 新增颜色选择器组件。#41990 @RedJue
- 🆕 新增
DatePicker.generateCalendar
与Calendar.generateCalendar
自定义日期库组件方法,不再需要通过路径引入使用。#41773 - 💄 优化 Select、TreeSelect、Cascader 多选模式下的样式,去除标签的边框。#41480
- 🆕 Form
validateFields
支持validateOnly
配置仅做校验而不改变 UI 状态。#42273 - 🆕 DatePicker 支持
changeOnBlur
以允许不点击确认按钮,在失去焦点时也能触发 change 事件。#42168 - 🆕 Cascader
options
支持disableCheckbox
在多选时禁用勾选框。#42024 @BoyYangzai - 🆕 Popconfirm 新增
onPopupClick
属性。#42272 @bolosea - 🆕 QRCode 新增
bgColor
属性设置背景色。#42214 @bolosea - 🆕 Table.Summary.Row 组件增加
onClick
属性。#42175 @Ylg12345 - 🆕 Space 新增支持 ref。#42266 @RedJue
- 🆕 Tab 新增默认继承 Card 的
size
。#42183 @huangkairan - ConfigProvider
- 🐞 修复 ConfigProvider
size
对 Pagination 无效的问题。#42206 - 🐞 修复 ConfigProvider
size
对 Steps 无效的问题。#42278 @wanghui2021 - 🐞 修复 ConfigProvider
size
对 Descriptions 无效的问题。#42244 @wanghui2021 - 🐞 修复当 ConfigProvider 中
componentSize
被设定时, Space.Compact 没有继承的问题。#42199 @Ec-tracker
- 🐞 修复 ConfigProvider
- 🐞 修复 Input 在 Space.Compact 下使用图标的样式错误。#42167 @pengyw97
- 🐞 修复当
title
和content
属性均为空值时,Popover 组件展示空白气泡的问题。#42217 @hairgc - 🐞 修复 Circle Progress 未设置
size
的报错问题。#41875 @notzheng - 🐞 修复 Progress 抛出的警告
findDOMNode is deprecated in StrictMode
。#42241 @BoyYangzai - 💄 修复 InputNumber 超出范围样式不生效的问题。#42250 @pengyw97
- 💄 修复 Divider 在垂直方向虚线样式被覆盖导致无法正常显示的问题。#40418 @buqiyuan
- 💄 调整 Tooltip 动画,现在弹出位置会动态从箭头方向弹出。#42225
- 💄 调整 Checkbox.Group 样式风格与 v4 保持一致。#42103 @BoyYangzai
- 💄 完善 Menu 溢出时样式。#42294 @dhalenok
- 💄 完善 Segmented 鼠标 active 样式。#42249
- 🤖 Spin 添加在非嵌套下使用
tip
的警告提示。#42293 - 🤖 组件 Token 名称规范化。#42184
- TypeScript
- 🤖 完善 Tag 的类型定义。#42235 @gaoqiiii
- 🤖 完善 Notification
getContainer
类型定义。#40206 @leshalv - 🤖 改进了 Menu 组件对 MenuItemType 和 MenuItemProps 泛型的支持。#42240 @yangyuanxx
- 国际化
- 🇧🇬 补充 bg_BG Form 文案。#42203 @tangzixuan
v5.4.7
- 🐞 Fix Menu different margin between Menu.Item and Menu.Submenu in vertical and inline mode. #42160
- 🐞 Fix Breadcrumb using
itemRender
withpath
render additional a element. #42049 - 🐞 Fix Transfer in control mode throw React nest state update warning. #42033
- 🐞 Fix Upload logic of disable state. #42102 @Wxh16144
- 💄 Fix Spin height is inconsistent with its icon children. #42162 @cheapCoder
- ⚡️ Improve Affix logic when it does not need to update. #42015 @Simon-He95
- ⚡️ Improve Anchor logic when it does not need to scroll. #42018 @Simon-He95
- 🐞 修复 Menu.Item 与 Submenu 之间间距不统一的问题。#42160
- 🐞 修复 Breadcrumb 使用
itemRender
并且配置path
时,渲染元素会额外包一层 a 元素的问题。#42049 - 🐞 修复 Transfer 在受控模式下报 React 状态嵌套更新错误信息。#42033
- 🐞 修复 Upload 禁用状态的逻辑。#42102 @Wxh16144
- 💄 修复 Spin 与其 icon 子元素高度不一致的问题。#42162 @cheapCoder
- ⚡️ 优化 Affix 组件在无需更新时计算逻辑。#42015 @Simon-He95
- ⚡️ 优化 Anchor 组件在无需跳转时计算逻辑。#42018 @Simon-He95
v5.4.6
- 🐞 Fix lots of Table border and radius styling issues. #41985
- 💄 Fix Layout.Sider collapse animation style. #41993
- 🐞 Fix InputNumber font-size error. #41983
- 🐞 Fix responsive Col don't support
flex
prop incolSize
. #41962 @AlexisSniffer - 🐞 Fix Carousel
goTo
is ignored if animation is in progress. #41969 @guan404ming - Form
- TypeScript
- 🤖 Fix Menu OverrideContext type missing warning. #41907
- 🤖 Fix TreeSelect missing
aria-*
definition. #41978 @guan404ming
- 🐞 修复 Table 一系列边框和圆角的样式细节问题。#41985
- 💄 修复 Layout.Sider 折叠时丢失动画的问题。#41993
- 🐞 修复 InputNumber 字体样式错误。#41983
- 🐞 修复响应式 Col
colSize
不支持flex
的问题。#41962 @AlexisSniffer - 🐞 修复 Carousel
goTo
在动画播放时无效的问题。#41969 @guan404ming - Form
- 🐞 修复 Form 触发重置事件后反馈图标未重置的问题。#41976
- 🐞 修复
onValuesChange
收集到的数据不准确的问题。#41976 - TypeScript
- 🤖 修复 Menu 报错 OverrideContext 类型定义不存在的问题。#41907
- 🤖 修复 TreeSelect 定义不支持
aria-*
的问题。#41978 @guan404ming
v5.4.5
- 🐞 Fix Anchor that
onChange
was memoized byuseCallback
and wouldn't change. #41934 @Yuiai01 - 🐞 Fix Draggable Tree that title is not aligned when the text is wrapped. #41928 @Yuiai01
- Tree
- 🐞 Fix Checkbox that title do not align. #41920 @Yuiai01
- 🐞 Fix InputNumber that style was override by browser. #41940 @Wxh16144
- 🛠 Reduce bundle size by upgrading
rc-switch
. #41954
- 🐞 修复 Anchor 组件
onChange
方法改变后不触发的问题。#41934 @Yuiai01 - 🐞 修复 InputNumber 组件样式被浏览器原生样式覆盖的问题。#41940 @Wxh16144
- Tree
- 🛠 升级
rc-switch
以修复重复引入@babel/runtime/helpers
的问题,减小打包体积。#41954
v5.4.4
- 💄 Fix Message hooks icon style not follow dynamic theme token. #41899
- 🐞 Fix that cssinjs may crash if CSS value is
undefined
. #41896
v5.4.3
- 🐞 Fix FloatButton throws warning
findDOMNode is deprecated in StrictMode
. #41833 @fourcels - 🐞 Arrow element support more old browsers which do not support
clip-path: path()
. #41872 - 🐞 Fix Layout.Sider transition issue when switch theme. #41828
- 🐞 Fix the problem that when the type of Tour is primary, the color of the arrow is still white. #41761
- 🐞 Optimize Form field binding, now will ignore comments in Form.Item as subcomponents. #41771
- 🐞 Fix Input.Password show additional toggle button in Edge. #41759
- 💄 Fix styling issues with components that have a Tooltip component as their base within the Space.Compact wrapper. #41707 @foryuki
- 🇩🇪 Fix typo in German locale. #41780 @aaarichter
- TypeScript
- 🤖 Optimize the type definition of Modal. #41742 @MuxinFeng
- 🐞 修复 FloatButton 警告: findDOMNode is deprecated in StrictMode.。#41833 @fourcels
- 🐞 箭头元素兼容旧版本不支持
clip-path: path()
的浏览器。 #41872 - 🐞 修复 Layout.Sider 切换主题时存在背景切换延迟的问题。#41828
- 🐞 修复 Tour 的
type="primary"
时箭头的颜色仍为白色的问题。#41761 - 🐞 优化 Form 字段绑定,现在会忽略在 Form.Item 内的注释不再作为子组件进行绑定。 。#41771
- 🐞 修复 Input.Password 在 Edge 中会额外展示切换按钮的问题。#41759
- 💄 修复 Space.Compact 包裹底层为 Tooltip 组件的组件时的样式问题。#41707 @foryuki
- 🇩🇪 修复德语本地化文案。#41780 @aaarichter
- TypeScript
- 🤖 完善 Modal 的类型定义。#41742 @MuxinFeng
v5.4.2
- 🐞 Fix unexpected deprecated warning in DatePicker. #41753 @kiner-tang
- 🌐 Add missing translations for
de_DE
. #41747 @eldarcodes - TypeScript
- 🐞 修复 DatePicker 组件异常显示废弃警告的问题。#41753 @kiner-tang
- 🌐 补充
de_DE
遗漏的国际化。#41747 @eldarcodes - TypeScript
v5.4.1
- 💄 Optimize Select-like component popup logic. Now always try to display it in the visible area first to reduce the user's extra scrolling cost. #41619
- 💄 Remove fixed height in Badge.Ribbon. #41661 @MuxinFeng
- 🐞 Fix Select width becomes 0px when search after select something. #41722
- 🐞 Fix Empty style in small width container. #41727
- 🐞 Improve Form.Item
noStyle
validation message reveal logic. #41698 @Wxh16144 - 🐞 Fix Form.Item should not support
requiredMark
. #41725 @Wxh16144 - 🐞 Fix Space should not affect font style and font family. #40326
- 🐞 Fix the problem that the hover style of the Previous/Next button in Pagination simple mode is lost. #41685
- 🐞 Fix Tree
switcherIcon
cannot be hidden. #41708 @acyza - 🐞 Fix
List.Item.Meta
avatar and title are not aligned. #41688 @Yuiai01 - 🐞 Fix Row justify setting
space-evenly
does not work. #41679 @Yuiai01 - 🐞 Fix Button type to support custom data attributes. #41650
- 🐞 Fix insufficient table column width issue 40814. #41626
- 🐞 Fix Mentions dropdown style. #41660
- 🐞 Improve Form.Item on
require
judgment logic. #41623 @Wxh16144 - Locales
- 🇹🇭 add Tour, Image, and QRCode Thai locale. #41697 @buildingwatsize
- 💄 优化类 Select 组件弹窗逻辑,现在总是会尝试优先在可视区域展示以减少用户额外滚动成本。#41619
- 💄 去除 Badge.Ribbon 里固定的高度。#41661 @MuxinFeng
- 🐞 修复 Select 在搜索时宽度变为
0px
的问题。#41722 - 🐞 修复 Empty 空数据组件在宽度不够的容器内样式错位的问题。#41727
- 🐞 改进 Form.Item
noStyle
验证消息显隐逻辑。#41698 @Wxh16144 - 🐞 修正 Form.Item 不应支持设置
requiredMark
的问题。#41725 @Wxh16144 - 🐞 修复 Space 影响父元素字体大小和样式的问题。#40326
- 🐞 修复 Pagination 简洁模式中的上一页下一页按钮 hover 样式丢失的问题。#41685
- 🐞 修复 Tree
switcherIcon
无法隐藏。#41708 @acyza - 🐞 修复
List.Item.Meta
的 avatar 和 title 不对齐。#41688 @Yuiai01 - 🐞 修复 Row 的
justify
设置为space-evenly
无效。#41679 @Yuiai01 - 🐞 修复 Button props 类型定义支持 data-* 属性。#41650
- 🐞 修复表格列宽不够的问题 issue 40814。#41626
- 🐞 修复 Mentions 弹层样式。#41660
- 🐞 改进 Form.Item 关于
require
的判断逻辑。#41623 @Wxh16144 - 国际化
- 🇹🇭 添加 Tour、Image 和 QRCode 泰语语言环境。#41697 @buildingwatsize
v5.4.0
- 🗑 Remove
antd/es/locale-provider
antd/lib/locale-provider
directory since LocaleProvider was replaced by ConfigProvider and removed in 4.x version years before. #41289 @li-jia-nan - 🆕 DatePicker/TimePicker/Calendar could change date-library to luxon now. #41580 @hihuz
- 🆕 Add Form.Item.useStatus hook to get error messages. #41554 @Yuiai01
- 🆕 Input and Input.TextArea support
classNames
andstyles
props. #41493 - 🆕 Tag add
bordered={false}
to support border-less style. #41305 @li-jia-nan - 🆕 FloatButton support
badge
prop. #41040 @li-jia-nan - 🆕 Select add
title
property. #41280 - 🆕 Image component supports
preview.rootClassName
. #41265 @Yuiai01 - 🆕 Modal added
afterOpenChange
prop. #41253 @MuxinFeng - 🆕 Form.useWatch could watch field change at preserve mode. #41191 @li-jia-nan
- 🛠 Refactor some components by using
useMemo
. #41533 #41550 @li-jia-nan - 🛠 Refactor Checkbox with hooks and new types. #41117
- 🛠 Refactor Input.TextArea that move count into
affixWrapper
element. #41450 - 🆕 DatePicker/Calendar add
cellRender
for custom cells and deprecated propertiesdateRender
andmonthCellRender
in DatePicker, deprecated propertiesdateCellRender
、monthCellRender
、dateFullCellRender
、monthFullCellRender
in Calendar. #41584 @kiner-tang - 🐞 Fix Tour double arrow problem. #41578 @acyza
- 🐞 Fix Checkbox with customize
controlHeight
token not align in center with text. #41566 - 🐞 Fix Form.Item not rendering correctly in Modal when it has
help
. #40519 @Yuiai01 - 🐞 Fix Form wrong UI status when using
hasFeedback
. #41594 @Yuiai01 - 🐞 Fix Slider throws warning
[antd: Tooltip] forcePopupAlign is align to forceAlign instead
. #41540 @MuxinFeng - 🐞 Fix checkable Table checking not working when click on the edge of checkbox. #41519
- Locales
- 🇲🇲 Added Burmese locale. #41366 @enson0131
- 🇻🇳 Fix Vietnamese locale text. #41320 @trongtai37 #41345 @duypham90
- 🇩🇪 Update TimePicker german locale. #41521 @Yuiai01
- 🗑 移除
antd/es/locale-provider
antd/lib/locale-provider
目录,LocaleProvider 已在 4.x 版本移除,使用 ConfigProvider 作为替代。#41289 @li-jia-nan - 🆕 DatePicker 等时间类组件可以定制 luxon 作为日期库。#41580 @hihuz
- 🆕 新增 Form.Item.useStatus 以支持获取错误状态信息。#41554 @Yuiai01
- 🆕 Input 和 Input.TextArea 组件支持
classNames
和styles
属性,用于更细粒度的样式自定义。#41493 - 🆕 Tag 新增无边框模式。#41305 @li-jia-nan
- 🆕 FloatButton 支持用
badge
属性开启角标功能。#41040 @li-jia-nan - 🆕 Select 支持
title
属性以便覆盖一些自带的 title 提示。#41280 - 🆕 Image 组件支持设置
preview.rootClassName
。#41265 @Yuiai01 - 🆕 Modal 组件支持
afterOpenChange
属性。#41253 @MuxinFeng - 🆕 Form.useWatch 新增
preserve
参数,支持在 Form.Item 未注册的情况下setFieldValue
时触发监听。#41191 @li-jia-nan - 🛠 使用
useMemo
重构部分组件代码。#41533 #41550 @li-jia-nan - 🛠 使用 React hooks 重构 Checkbox,并优化了 TS 定义。#41117
- 🛠 重构 Input.TextArea 文字计数实现方式,移至
affixWrapper
元素中。#41450 - 🆕 DatePicker/Calendar 组件新增
cellRender
用于自定义日期单元格,同时在 DatePicker 中废弃dateRender
和monthRender
等属性,在 Calendar 中废弃dateCellRender
、monthCellRender
、dateFullCellRender
、monthFullCellRender
等属性。#41584 @kiner-tang - 🐞 修复 Tour 出现两个箭头的问题。#41578 @acyza
- 🐞 修复 Checkbox 配置
controlHeight
token 时勾选框与文字不对齐的问题。#41566 - 🐞 修复 Form.Item 存在
help
值时在 Modal 中没有正确渲染元素。#40519 @Yuiai01 - 🐞 修复 Form 使用
hasFeedback
时表单状态不对的问题。#41594 @Yuiai01 - 🐞 修复 Slider 组件显示
Warning: [antd: Tooltip] forcePopupAlign is align to forceAlign instead
警告信息的问题。#41540 @MuxinFeng - 🐞 修复可选择 Table 的勾选框在边缘点击的时候无法触发勾选的问题。#41519
- 国际化
- 🇩🇪 更新 TimePicker 德语本地化文案。#41521 @Yuiai01
- 🇻🇳 修复越南语本地化文案。#41320 @trongtai37 #41345 @duypham90
- 🇲🇲 添加缅甸语本地化文案。#41366 @enson0131
v5.3.3
- Menu
- 🐞 Fix Table filter do not persist filter status when filter dropdown is visible. #41445 @ablakey
- 🐞 Fix Modal using
useModal
is not transparent and prefers user settings. #41422 @luo3house - Form
- 🐞 Fix the problem that the Form validation state does not change in sequence. #41412 @kiner-tang
- 💄 Fix Form component layout exceptions when set props
layout="inline"
. #41140 @itkui
- 💄 Fix ConfigProvider
nonce
not working on CSS-in-JS style. #41482 - 💄 Fix Pagination when
size=small
, pagination button active, previous page next page button hover and active styles are lost. #41462 #41458 - 💄 Fix the style problem that the bottom border of the Tabs component overlaps with other borders. #41381
- 💄 Fix Dropdown.Button down icon size issue. #41501
- TypeScript
- Locales
- 🇮🇷 Improve DatePicker
fa_IR
translation. #41455 @ds1371dani - 🇸🇪 Add the missing content of
sv_SE
language. #41424 @dhalenok
- 🇮🇷 Improve DatePicker
- Menu
- 🐞 修复 Table 过滤器未保持状态当筛选下拉框展示时。#41445 @ablakey
- 🐞 修复 Modal 使用
useModal
未透传并优先选择用户设定。#41422 @luo3house - Form
- 🐞 修复 Form 验证状态不按照顺序改变的问题。#41412 @kiner-tang
- 💄 修复 Form 组件
layout="inline"
时组件标题与表单项布局异常换行问题。#41140 @itkui
- 💄 修复 ConfigProvider
nonce
对 CSS-in-JS 样式不生效的问题。#41482 - 💄 修复 Pagination
size=small
时,分页按钮 active、上一页下一页按钮 hover 和 active 样式丢失。#41462 #41458 - 💄 修复 Tabs 组件下边框与其他边框叠加的样式问题。#41381
- 💄 修复 Dropdown.Button down 图标尺寸问题。#41501
- TypeScript
- 国际化
- 🇮🇷 完善 DatePicker
fa_IR
翻译。#41455 @ds1371dani - 🇸🇪 完善
sv_SE
语言缺失内容。#41424 @dhalenok
- 🇮🇷 完善 DatePicker
v5.3.2
- Anchor
- 💄 Fix Anchor redundant border style when it is set to horizontal direction. #41336 @gooyoung
- 💄 Fix Anchor ink square style in
vertical
mode. #41317 @acyza
- 🐞 Fix Grid
offset
can not be overwritten problem under different device screen sizes. #41309 @Yuiai01 - 🐞 Fix Breadcrumb
onClick
not working bug. #41283 @acyza - 🐞 Fix Upload trigger Progress warning after upload. #41234 @kiner-tang
- 🐞 Fix Table unexpected layout problem when dragging element to the right. #41139 @hoho2017
- 💄 Fix Tabs more icon color in dark mode. #41313 @PhosphorusP
- 💄 Fix Button focus outline style be covered by Dropdown.Button. #41282 @Yuiai01
- 💄 Fix Input.TextArea style problem when focusing. #41228 @MuxinFeng
- RTL
- 💄 Fix Input.TextArea RTL style when enable
showCount
. #41319 @ds1371dani
- 💄 Fix Input.TextArea RTL style when enable
- TypeScript
- 🤖 Export
CountdownProps
for Statistic. #41341 @li-jia-nan - 🤖 Improve most alias token meta info. #41297 @arvinxx
- 🤖 Improve Badge
React.forwardRef
type definition. #41189 @li-jia-nan
- 🤖 Export
- Anchor
- 💄 修复 Anchor 组件设置为水平方向时多余的 border 样式。#41336 @gooyoung
- 💄 修复 Anchor 处于
vertical
方向时 ink 小方块的样式。#41317 @acyza
- 🐞 修复 Grid 在不同设备屏幕下的
offset
设置不会被覆盖的问题。#41309 @Yuiai01 - 🐞 修复 Breadcrumb
onClick
不工作的问题。#41283 @acyza - 🐞 修复 Upload 在上传完毕后 Progress 组件抛出警告的问题。#41234 @kiner-tang
- 🐞 修复 Table 在拖动元素一直右移时布局错误的问题。#41139 @hoho2017
- 💄 修复 Tabs 在深色模式下更多图标的色值。#41313 @PhosphorusP
- 💄 修复 Button 下拉时聚焦轮廓被其他元素遮挡的问题。#41282 @Yuiai01
- 💄 修复 Input.TextArea 在 focus 状态下的样式问题。#41228 @MuxinFeng
- RTL
- 💄 修复 Input.TextArea 在启用
showCount
时 RTL 模式下位置不正确的问题。#41319 @ds1371dani
- 💄 修复 Input.TextArea 在启用
- TypeScript
- 🤖 导出 Statistic 的
CountdownProps
类型。#41341 @li-jia-nan - 🤖 优化 token 的类型提示和说明。#41297 @arvinxx
- 🤖 优化 Badge
React.forwardRef
类型定义。#41189 @li-jia-nan
- 🤖 导出 Statistic 的
v5.3.1
- 🐞 Update DatePicker deps to fix laggy in Safari and support align with
transform scale
. #41090 - 🐞 Fix Menu collapse, Tooltip sometime show with unexpected. #41081
- 🐞 Fix Modal.confirm has additional node which makes height not correct. #41173 @Svudec
- 🐞 Fixed InputNumber
disabled
text color not correct. #41167 @Yuiai01 - 🐞 Fix Anchor highlighting not working when dynamically updating
items
. #40743 @zqran - 🛠 Update Mentions deps to support align with
transform scale
. #41160 @MuxinFeng - 🐞 Fix Form with manually called
validateFields
not show success status whenhasFeedback
is on. #41116 @kiner-tang - 🐞 Fix Cascader sub panel not close when hover to leaf node. #41134
- 🐞 Fix Popconfirm using
Promise
to close will not existloading
state even when open again. #41121 - 🐞 Fix Upload
onChange
sometime not sync when in React 18. #41082 @li-jia-nan - 🛎 Update demo with Space.Compact instead of legacy one and patch warning info. #41080 @Yuiai01
- 🌐 Update ko_KR、Added Amharic Language. #41103 @li-jia-nan
- 🐞 更新 DatePicker 底层依赖,修复 Safari 下卡顿,支持
transform scale
下对齐。#41090 - 🐞 修复 Menu 收缩时,Tooltip 有时会弹出的问题。#41081
- 🐞 修复 Modal.confirm 窗体有额外节点导致高度不正确的问题。#41173 @Svudec
- 🐞 修复 InputNumber
disabled
时字体高亮不正确的问题。#41167 @Yuiai01 - 🐞 修复 Anchor 动态添加
items
后高亮失效问题。#40743 @zqran - 🛠 更新 Mentions 底层依赖,支持
transform scale
下对齐。#41160 @MuxinFeng - 🐞 修复 Form 手工调用
validateFields
时,hasFeedback
对成功态不生效的问题。#41116 @kiner-tang - 🐞 修复 Cascader 在悬浮至叶子节点时,展开面板没有关闭的问题。#41134
- 🐞 修复 Popconfirm 使用
Promise
关闭时再次打开仍然是loading
状态的问题。#41121 - 🐞 修复 Upload 在 React 18 下
onChange
有时数据不正确的问题。#41082 @li-jia-nan - 🛎 补充官网中没有切换到 Space.Compact 的遗留示例,并且添加相应警告。#41080 @Yuiai01
- 🌐 更新韩语国际化,添加国际化阿姆哈拉语。#41103 @li-jia-nan
v5.3.0
- 🆕 Tooltip support
arrow.pointAtCenter
and deprecatearrow.arrowPointAtCenter
. #40989 @MadCcc - 🆕 Progress support custom
size
. #40903 @kiner-tang - 🆕 Tour support custom
zIndex
. #40982 @kiner-tang - 🆕 Table
onHeaderCell
support customizecolSpan
androwSpan
. #40885 - 🆕 Image.Group support
onChange
callback. #40857 @kiner-tang - App
- 🆕 App support
style
props. #40708 @li-jia-nan - 🆕 App support
message
andnotification
options. #40458 @luo3house
- 🆕 App support
- 🆕 ConfigProvider support
useConfig
hook to getsize
anddisabled
in context. #40215 @xliez - 🆕 Breadcrumb support
items
prop. #40543 @heiyu4585 - 🛠 Breadcrumb separators are unified into
li
elements. #40887 @heiyu4585 - 🛠 Tooltip support auto arrow position & adjust position if possible.
destroyTooltipOnHide.keepParent
is deprecated since it will be always auto destroy unnecessary container now. #40632 - 🛠 Rename preset colors in token, .e.g
blue-1
toblue1
, and deprecate tokens before. #41071 - 💄 Message use
colorText
in style. #41047 @Yuiai01 - 💄 Fix Select, TreeSelect, Cascader popup align position not correct when parent has
transform: scale
style. #41013 - 💄 Optimize
rowScope
style for Table. #40304 @Yuiai01 - 💄 Provide new AliasToken
lineWidthFocus
foroutline-width
of focused component. #40840 @MadCcc - 💄 WeekPicker support hover style. #40772
- 💄 Adjust Select, TreeSelect, Cascader always show the
arrow
by default when multiple. #41028 - 🐞 Fix Form
Form.Item.useStatus
problem with sever-side-rendering. #40977 @AndyBoat - 🐞 Fix arrow shape in some components. #40971 @MadCcc
- 🐞 Fix Layout throw
React does not recognize the
suffixClsprop on a DOM element
warning. #40969 - 🐞 Fix Watermark that text will be displayed when the picture loads abnormally. #40770 @OriginRing
- 🐞 Image support flip function in preview mode. Fix Image
fallback
when used in ssr. #40660 - 🐞 Fix Typography component is not centered in the Select component. #40422 @Yuiai01
- 🌐 Update locale
vi_VN
adding Vietnamese translation for Form component validation. #40992 @lamvananh - RTL
- 💄 FloatButton support
rtl
mode. #40990 @li-jia-nan
- 💄 FloatButton support
- TypeScript
- 🤖 Fix Cascader that generics should not be necessary. #40961 @crazyair
- 🆕 Tooltip 组件新增
arrow.pointAtCenter
, 废弃arrow.arrowPointAtCenter
。#40989 @MadCcc - 🆕 Progress 组件支持自定义
size
。#40903 @kiner-tang - 🆕 Tour 组件支持自定义
zIndex
。#40982 @kiner-tang - 🆕 Table
onHeaderCell
支持自定义colSpan
和rowSpan
。#40885 - 🆕 Image.Group 支持
onChange
回调。#40857 @kiner-tang - App
- 🆕 App 支持自定义
style
。#40708 @li-jia-nan - 🆕 App 提供预先配置
message
、notification
的选项。#40458 @luo3house
- 🆕 App 支持自定义
- 🆕 ConfigProvider 新增
useConfig
以获取上下文中的size
和disabled
。#40215 @xliez - 🆕 Breadcrumb 支持
items
数据驱动。#40543 @heiyu4585 - 🛠 Breadcrumb 分隔符统一为
li
元素。#40887 @heiyu4585 - 🛠 Tooltip 现在自动调整自身以及箭头位置以更好的展示。同时废弃
destroyTooltipOnHide.keepParent
,现在总是会自动销毁不需要的容器。#40632 - 🛠 重命名 token 中的预设颜色,如
blue-1
变为blue1
,废弃原有的 token。#41071 - 💄 Message 组件使用
colorText
优化样式。#41047 @Yuiai01 - 💄 修复 Select, TreeSelect, Cascader 父元素存在
transform: scale
样式时的对齐问题。#41013 - 💄 优化 Table 中
rowScope
的样式。#40304 @Yuiai01 - 💄 为组件聚焦时的
outline
提供新的 AliasTokenlineWidthFocus
。#40840 @MadCcc - 💄 WeekPicker 支持鼠标悬浮样式。#40772
- 💄 调整 Select, TreeSelect, Cascader 在多选时总是默认显示下拉箭头。#41028
- 🐞 修复 Form 组件
Form.Item.useStatus
导致的服务端渲染问题。#40977 @AndyBoat - 🐞 修复部分组件箭头形状问题。#40971 @MadCcc
- 🐞 修复 Layout 报错
React does not recognize the
suffixClsprop on a DOM element
的问题。#40969 - 🐞 修复 Watermark 组件图片加载异常时的问题,默认展示文字。#40770 @OriginRing
- 🐞 Image 预览新增图片翻转功能。并修复 Image
fallback
在 ssr 下失效的问题。#40660 - 🐞 修复 Select 中使用 Typography 不居中的问题。#40422 @Yuiai01
- 🌐 完善 Form 的
vi_VN
语言包。#40992 @lamvananh - RTL
- 💄 修复 FloatButton 不支持
rtl
模式的问题。#40990 @li-jia-nan
- 💄 修复 FloatButton 不支持
- TypeScript
- 🤖 修复 Cascader 泛型为非必传。#40961 @crazyair
v5.2.3
- 🐞 Fix for setting
percent
andsuccess.percent
at the same time forProgress
, the progress text does not change aspercent
changes. #40922 - 🐞 Fixed Image preview icon was misaligned.#40911
- 🐞 Fix ConfigProvider validation message template override Form configure template sometime. #40533 @Wxh16144
- 🐞 Fixed Confirm Modal
onOk
event could be triggered twice when close. #40719 @Rafael-Martins - 🛠 Rewrote the
useLocale
method and exposedlocaleCode
to the public. #40884 @li-jia-nan - 🐞 Fixed Segmented component items were unresponsive to mouse events. #40894 @MadCcc
- 🛠 Refactored: replaced the LocaleReceiver component with
useLocale
and removed the LocaleReceiver component. #40870 @li-jia-nan - 🐞 Fixed
getPopupContainer
property injected by ConfigProvider did not work. #40871 @RedJue - 🐞 Fixed where Descriptions did not accept
data-_
andaria-_
attributes. #40859 @goveo - 🛠 Changed the Separator's DOM element from
span
toli
. #40867 @heiyu4585 - 🐞 Fix token of
Layout.colorBgHeader
not work when single use Layout.Header directly. #40933 - 💄 Changed the component's focus
outline
to the default4px
.#40839 @MadCcc - 🐞 Fixed the Badge color was displayed abnormally. #40848 @kiner-tang
- 🐞 Fixed an issue with the Timeline item's
className
. #40835 @Yuiai01 - 💄 Fixed the interaction style of the Rate component in the disabled state.#40836 @Yuiai01
- 🇮🇷 Added Iranian localization. #40895 @majidsadr
- 🐞 修复 Progress 同时设置 percent 和 success.percent 时,进度文本不会随着 percent 改变而改变。#40922
- 🐞 修复 Image 预览图标不对齐的问题。#40911
- 🐞 修复 ConfigProvider 组件表单校验消息生效顺序。#40533 @Wxh16144
- 🐞 修复 Confirm Modal
onOk
可能触发两次的问题。#40719 @Rafael-Martins - 🛠 重写
useLocale
方法,对外暴露localeCode
。#40884 @li-jia-nan - 🐞 修复 Segemented 组件子项不响应鼠标事件的问题。#40894 @MadCcc
- 🛠 重构:使用
useLocale
替换 LocaleReceiver 组件,并删除 LocaleReceiver 组件。#40870 @li-jia-nan - 🐞 修复 ConfigProvider 注入的
getPopupContainer
属性 不生效的问题。#40871 @RedJue - 🐞 修复 Descriptions 不接受
data-*
和aria-*
等属性的问题。#40859 @goveo - 🛠 修改 Separator 的 dom 由
span
改为li
。#40867 @heiyu4585 - 💄 修改组件聚焦下的
outline
为默认4px
。#40839 @MadCcc - 🐞 修复 Layout.Header 单独使用时,
Layout.colorBgHeader
token 配置不生效的问题。#40933 - 🐞 修复 Badge 颜色显示异常问题。#40848 @kiner-tang
- 🐞 修复 Timeline 的子项的
className
错误。#40835 @Yuiai01 - 💄 修复 Rate 在禁用状态下的交互样式。#40836 @Yuiai01
- 🇮🇷 增加了伊朗本地化。#40895 @majidsadr
v5.2.2
- DatePicker
- Form
- 🐞 Fix List extra padding when enable
grid
property. #40806 - 🐞 Fix Upload actions icon alignment issue. #40805
- 💄 Tweak Table filter dropdown radius style. #40802
- 🐞 Fix Button
loading.delay
not delay at first time. #40759 @RedJue - 🐞 Fix Input status style when using
addonAfter
andaddonBefore
. #40744 @carla-cn - 🐞 Fix Skeleton
active
flicky animation in Safari. #40692 @slotDumpling - Locales
- 🇫🇷 Added french locale for Tour component. #40750 @RedJue
- 🇰🇷 Update ko_KR locale. #40716 @owjs3901
- DatePicker
- Form
- 🐞 修复 List 启用
grid
时下额外padding
样式。#40806 - 🐞 修复 Upload 操作图标不对齐的问题。#40805
- 💄 调整 Table 筛选菜单的底部圆角样式。#40802
- 🐞 修复 Button 组件
loading.delay
第一次不生效的问题。#40759 @RedJue - 🐞 修复 Input
addonAfter
和addonBefore
的各种状态样式。#40744 @carla-cn - 🐞 修复 Skeleton 在 Safari 下
active
效果闪烁的问题。#40692 @slotDumpling - 国际化
- 🇫🇷 补充 Tour 法语本地化文案。#40750 @RedJue
- 🇰🇷 更新韩国本地化文案。#40716 @owjs3901
v5.2.1
- 🛠 Rewrite
panelRender
in Tour to funtion component。#40670 @li-jia-nan - 🐞 Fix
className
property wrongly passed to child nodes in TimeLine。#40700 @any1024 - 🐞 Fix Silder dot to trigger click and hover correctly. #40679 @LongHaoo
- 🐞 Fix Tour that should support
0
as element. #40631 @li-jia-nan - 💄 Fix DataPicker.RangePicker hover range style. #40607 @Yuiai01
- 💄 Optimize Steps custom
icon
size. #40672 @MadCcc - TypeScript
- 🤖 Update Upload to support generic types. #40634 @riyadelberkawy
- 🌐 Localization
- 🇷🇺/🇺🇦 add missing translations for ru_RU and uk_UA. #40656 @eldarcodes
- 🛠 重构 Tour 中
panelRender
为函数式组件。#40670 @li-jia-nan - 🐞 修复 TimeLine 中
className
传给子节点的问题。#40700 @any1024 - 🐞 修复 Silder 中的标记点在边缘无法点击的问题。#40679 @LongHaoo
- 🐞 修复 Tour 不支持
0
作为节点的问题。#40631 @li-jia-nan - 💄 修复 DataPicker.RangePicker 的 hover 范围样式。#40607 @Yuiai01
- 💄 优化 Steps 组件自定义
icon
的大小。#40672 @MadCcc - TypeScript
- 🤖 Upload 组件支持泛型。#40634 @riyadelberkawy
- 🌐 国际化
- 🇷🇺/🇺🇦 补全
ru_RU
和uk_UA
文案。#40656 @eldarcodes
- 🇷🇺/🇺🇦 补全
v5.2.0
- 🔥 Add
picture-circle
to Upload'slistType
prop. #40134 @ds1371dani - 🔥 Anchor component add
direction
, which supports vertical. #39372 @foryuki - 🆕 Tooltip support
arrow
to change arrow's visible state and whether the arrow is pointed at the center of target. #40234 @kiner-tang - 🆕 Added list pagination
align
option. #39858 @Yuiai01 - 🆕 Timeline added
items
to support option configuration. #40424 - Collapse
- Slider
- 🆕 Slider add
railStyle
for custom style. #40579 @david-cord - 🆕 Slider add support for disable
keyboard
events. #40526 - 🐞 Fix Slider missing Tooltip appear motion. #39857
- 🆕 Slider add
- Dropdown
- 🆕 Dropdown support
autoAdjustOverflow
option. #39735 - 💄 Fix Dropdown component
dange
anddisabled
style priority issue. #39904 @Wxh16144
- 🆕 Dropdown support
- Tour
- 🆕 Tour added
indicatorsRender
to support custom indicators. #40613 - 🆕 Tour support
scrollIntoViewOptions
to change scrollIntoView options. #39980 @kiner-tang - 🆕 Tour masks support passing custom styles and fill colors. #39919 @kiner-tang
- 🐞 Fixed
findDomNode
method warning thrown by the tour component when called in strict mode. #40160 @kiner-tang - 💄 Deleted margin of the last indicator. #40624
- 🆕 Tour added
- 🆕 Adds Design token
fontFamilyCode
and apply to Typographycode
kbd
pre
elements. #39823 - 🆕 ConfigProvider add Form
scrollToFirstError
。#39509 @linxianxi - 🐞 Fill rest
rootClassName
for all components. #40217 - 🐞 Fix Empty descriptions text color in default theme and dark theme. #40584 @MuxinFeng
- Table
- 🐞 Fix
aria-label
androle="presentation"
cannot be used together in Table row. #40413 @Ke1sy - 🐞 Fix uncontrolled
filtered
update not working. #39883 - 🐞 Fix the problem that the header filter is invalid in the case of group headers. #40463 @roman40a
- 🐞 Fix selection column cover by other cell when fixed. #39940 @kiner-tang
- 🐞 Fix Sorted/Filtered table fixed column transparent background unreadable. #39012 @kiner-tang
- 💄 Optimize Table hover style to fix problems with border. #40469
- 🐞 Fix
- DatePicker
- 🐞 Fix DatePicker that have status style when disabled. #40608
- 💄 Optimize the DatePicker input box style. #40549 @Wxh16144
- 💄 Optimize DatePicker Dropdown arrow style. #40521
- 🐞 Fix Space
ant-space-item
selector bug. #40554 @cncolder - 🐞 Fix not close Spin immediately when using
delay
. #40475 @3Alan - 🐞 Fix Modal
useModal
default confirm button text logic. #39884 @BoyYangzai - 🛠 Refactored the water ripple visual effect to trigger multiple water ripples at the same time. #39705 @li-jia-nan
- 🛠 Refactor Input.TextArea and Mentions. #40045
- 🛠 Refactor Affix Calendar to use React.createRef instead of function. #40538 @li-jia-nan
- 💄 Fix Tabs more button unexpected height. #40488
- 💄 Resolve Image preview style conflict with TailwindCSS. #39914
- 💄 Fix Progress that
transition
of success bar is missing. #40487 - 💄 Fix the misalignment of Input.Group when zooming the screen under windows. #39842 @heiyu4585
- 💄 Fix Select placeholder style issue. #40477 @Wxh16144
- 💄 Adjust Descriptions label style for more readable. #40085
- 💄 Optimize QRCode expiration display style. #39849
- 💄 Optimize
boxShadow
tokens. #40516 - TypeScript
- 🤖 Optimize Badge Tag Tooltip
color
type definition. #39871 - 🤖 Add
Breakpoint
ThmeConfig
GlobalToken
type export. #40508 @Kamahl19 - 🤖 Update Upload
fileList
type. #40585 - 🤖 Remove Tour ForwardRefRenderFunction. #39924
- 🤖 Optimize Badge Tag Tooltip
- 🌐 Localization
- 🇮🇳 Add
ta_IN
local. #39936 @KIRUBASHANKAR26
- 🇮🇳 Add
- 🔥 Upload 的
listType
属性添加picture-circle
支持。#40134 @ds1371dani - 🔥 Anchor 组件新增
direction
属性,支持 vertical。#39372 @foryuki - 🆕 Tooltip 新增
arrow
属性用来改变箭头的显示状态和箭头是否指向目标元素的中心。#40234 @kiner-tang - 🆕 List 分页新增
align
配置。#39858 @Yuiai01 - 🆕 Timeline 新增
items
支持选项配置。#40424 - Collapse
- Slider
- 🆕 Slider 新增
railStyle
属性用于自定义样式。#40579 @david-cord - 🆕 Slider 新增
keyboard
属性以支持禁用键盘事件。#40526 - 🐞 修复 Slider 展示 Tooltip 时动画丢失的问题。#39857
- 🆕 Slider 新增
- Dropdown
- 🆕 Dropdown 组件支持
autoAdjustOverflow
属性。#39735 - 💄 修复 Dropdown
dange
和disable
属性同时使用样式问题。#39904 @Wxh16144
- 🆕 Dropdown 组件支持
- Tour
- 🆕 Tour 新增
indicatorsRender
支持自定义指示器。#40613 - 🆕 Tour 支持通过
scrollIntoViewOptions
改变scrollIntoView
的选项。#39980 @kiner-tang - 🆕 Tour 遮罩支持传递自定义样式和填充颜色。#39919 @kiner-tang
- 🐞 修复 Tour 在严格模式下调用
findDomNode
抛出警告问题。#40160 @kiner-tang - 💄 删除了最后一个指示器的 margin。#40624
- 🆕 Tour 新增
- 🆕 新增 Design token
fontFamilyCode
并应用到 Typography 的code
kbd
pre
等元素上。#39823 - 🆕 ConfigProvider 新增 Form
scrollToFirstError
。#39509 @linxianxi - 🐞 为全部组件补足
rootClassName
属性。#40217 - 🐞 修复 Empty 在默认主题和暗黑主题下的描述文字颜色。#40584 @MuxinFeng
- Table
- 🐞 修复 Table 行
aria-label
和role="presentation"
无法一起使用的问题。#40413 @Ke1sy - 🐞 修改非受控
filtered
修改不生效的问题。#39883 - 🐞 修表头过滤器在分组标题情况下失效的问题。#40463 @roman40a
- 🐞 修复选择列固定时滚动会被其他单元格遮盖的问题。#39940 @kiner-tang
- 🐞 修复排序/筛选的表格的固定列背景色透明导致显示异常问题。#39012 @kiner-tang
- 💄 优化 Table 组件 hover 样式,修复边框异常问题。#40469
- 🐞 修复 Table 行
- DatePicker
- 🐞 修复 DatePicker 组件禁用时状态样式生效的问题。#40608
- 💄 优化 DatePicker 输入框样式。#40549 @Wxh16144
- 💄 优化 DatePicker Dropdown 箭头样式。#40521
- 🐞 修复 Space
ant-space-item
选择器错误。#40554 @cncolder - 🐞 修复当设置
delay
时,Spin 没有立即关闭的问题。#40475 @3Alan - 🐞 修复 Modal
useModal
默认确认按钮文本逻辑。#39884 @BoyYangzai - 🛠 重构水波纹视效,以支持多个水波纹同时触发了。#39705 @li-jia-nan
- 🛠 重构 Input.TextArea 组件和 Mentions 组件。#40045
- 🛠 重构 Affix Calendar 使用 React.createRef 代替函数。#40538 @li-jia-nan
- 💄 修复 Tabs 更多按钮高度样式错误。#40488
- 💄 修复 Image 预览样式会被 TailwindCSS 影响的问题。#39914
- 💄 修复 Progress 成功进度条
transition
样式丢失问题。#40487 - 💄 修复 Input.Group 在 windows 下缩放屏幕时的错位问题。#39842 @heiyu4585
- 💄 修复 Select placeholder 样式问题。#40477 @Wxh16144
- 💄 调整 Descriptions 标签样式使其更容易区分。#40085
- 💄 优化 QRCode 过期显示样式。#39849
- 💄 优化
boxShadow
token 分级。#40516 - TypeScript
- 🤖 优化 Badge Tag Tooltip
color
类型定义。#39871 - 🤖 新增
Breakpoint
ThmeConfig
GlobalToken
类型导出。#40508 @Kamahl19 - 🤖 更新 Upload
fileList
类型。#40585 - 🤖 移除 Tour ForwardRefRenderFunction。#39924
- 🤖 优化 Badge Tag Tooltip
- 🌐 国际化
- 🇮🇳 补全
ta_IN
文案。#39936 @KIRUBASHANKAR26
- 🇮🇳 补全
v5.1.7
- Input
- 🐞 Fix Switch text layout problem in Safari and Chrome <= 84 with compatible mode. #40453 @Ifeinstein
- 🐞 Fix Progress that throw error when
percent
isnull
. #40378 @li-jia-nan - 🐞 Fix List title and avatar be rendered in the wrong position. #40395 @li-jia-nan
- 🐞 Fix Dropdown submenu wrong position. #40349
- 🐞 Fix Badge throw
findDOMNode
warning in StrictMode whendot
switch. #40347 - 🐞 Fix Message wrong icon color problem. #40471 @Wxh16144
- 💄 Adjust Empty component default style in dark theme. #40447
- RTL
- 💄 Fix Table scroll shadow in RTL mode. #40441 @ds1371dani
- TypeScript
- 🤖 Export ConfigProvider's ThemeConfig type. #40370 @Kamahl19
- Input
- 🐞 修复 Switch 在 Safari 和 Chrome <= 84 兼容模式下文本的显示问题。#40453 @Ifeinstein
- 🐞 修复 Progress 的
percent
属性设置为null
时报错的问题。#40378 @li-jia-nan - 🐞 修复 List 中 title 和 avatar 渲染错位的问题。#40395 @li-jia-nan
- 🐞 修复 Dropdown 子菜单位置不正确的问题。#40349
- 🐞 修复 Badge 在 StrictMode 下切换
dot
时会报findDOMNode
警告的问题。#40347 - 🐞 修复 Message 图标颜色错误的问题。#40471 @Wxh16144
- 💄 优化 Empty 在暗色主题下默认的颜色。#40447
- RTL
- 💄 修复 Table 在 RTL 模式下的滚动阴影。#40441 @ds1371dani
- TypeScript
- 🤖 导出 ConfigProvider 组件的 ThemeConfig 类型。#40370 @Kamahl19
v5.1.6
- 🐞 Fix DatePicker animation timing function. #40133 @MadCcc
- Menu
- 🐞 Fix Tooltip incorrectly shown when Menu collapsed. #40328
- 🐞 Fix Menu split line style error. #40268 @Wxh16144
- 🐞 Fix the console warning of wave effect when bind component unmount before wave effect trigger. #40307 @luo3house
- 🐞 Fix Breadcrumb throw wrong overlay deprecation warning when use
menu
prop. #40211 @candy4290 - 🐞 Fix Modal.useModal hooks
destroyAll
not work as expect. #40281 @ds1371dani - 🐞 Fix
message
global static methodconfig
settingduration
not working. #40232 @Yuiai01 - 🐞 Fix Button text color when containing an
a
tag. #40269 @ds1371dani - 🐞 Fix Radio displaying wrong text color and cursor when
disabled
. #40273 @ds1371dani - 💄 Optimize the calculation logic of focus
outline
, replacelineWidth
withlineWidthBold
. #40291 @simonpfish - 💄 Rewrite part component style to compatible the browser that not support concat
:not
selector. #40264 - 🌐 Fix missing translation for
pt_BR
. #40270 @rafaelncarvalho
- 🐞 修复 DatePicker 等组件动画 timing function 错误的问题。#40133 @MadCcc
- Menu
- 🐞 修复 Menu 收缩时,Tooltip 偶尔会错误展示的问题。#40328
- 🐞 修复 Menu 分割线样式错误。#40268 @Wxh16144
- 🐞 修复带波纹效果的组件(如 Button)在波纹展示前移除时,控制台报错的问题。#40307 @luo3house
- 🐞 修复 Breadcrumb 组件使用
menu
属性,但是出现 overlay deprecation 警告的问题。#40211 @candy4290 - 🐞 修复 Modal.useModal
destroyAll
不工作的问题。#40281 @ds1371dani - 🐞 修复
message
组件通过config
设置duration
无效问题。#40232 @Yuiai01 - 🐞 修复 Button 包含
a
标签时的 文本颜色不正确的问题。#40269 @ds1371dani - 🐞 修复 Radio 在
disabled
时显示错误的文本颜色和光标。#40273 @ds1371dani - 💄 优化 focus
outline
计算逻辑,替换lineWidth
为lineWidthBold
。#40291 @simonpfish - 💄 重写部分组件样式以兼容部分对
:not
支持不完全的旧版浏览器。#40264 - 🌐 修复
pt_BR
缺失的国际化。#40270 @rafaelncarvalho
v5.1.5
- 🐞 Fix Checkbox that label not aligned with checkbox. #40208
- 🐞 Fix Button wave effect sometime makes layout shaking. #40192
- 🐞 Fix Select crash problem. #40158 @helloqian12138
- 🐞 Fix Timeline custom color displaying wrong classname & alignment overflow. #39394 @Wxh16144
- 🐞 Fix Breadcrumb last item color. #40119 @messaooudi
- 💄 Fix Table sticky table header shadow style. #40171 @Wxh16144
- 💄 Fix Segmented item hover radius style. #40175 #40179
- TypeScript
- RTL
- 💄 Fix DatePicker's next & prev icons in RTL mode. #40238 @ds1371dani
- 💄 Fix Badge RTL style when wrap a block element. #40125
- 🐞 修复 Checkbox 组件 label 不对齐的问题。 #40208
- 🐞 修复 Button 水波纹效果有时会使得布局抖动的问题。#40192
- 🐞 修复 Select 组件会卡住的问题。#40158 @helloqian12138
- 🐞 修复 Timeline 组件自定义颜色显示错误类名和对齐溢出的问题。#39394 @Wxh16144
- 🐞 修复 Breadcrumb 最后一项颜色。#40119 @messaooudi
- 💄 修复 Table 固定表头阴影样式错误。#40171 @Wxh16144
- 💄 修复 Segmented hover 时圆角和选中圆角不一致的问题。#40175 #40179
- TypeScript
- RTL
- 💄 优化 DatePicker 在 RTL 模式下 next 和 prev 图标。#40238 @ds1371dani
- 💄 修复 Badge 作用在块级元素上时 RTL 样式不生效的问题。#40125
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this MR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by RenovateBot