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.5.2 -> 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 InputNumberhandleVisible
token not work as expected. #51728 @dengfuping -
🐞 Fix ColorPicker error when passReactNode
tolabel
field ofpresets
property. #51808 @li-jia-nan -
🐞 Fix MenuinlineCollapsed
property not works bug within Layout. #51775 @coderz-w -
🐞 Fix TableonHeaderCell
provided partstyle
can not override. #51793 @Wxh16144 -
⌨ ️ Improve Collapse accessibility. #51836 @aojunhao123 - TypeScript
-
🐞 修复 Select 清除按钮在 Form.Item 中位置可能错误的问题。#51649 @dislido -
🐞 修复 InputNumberhandleVisible
token 不生效的问题。#51728 @dengfuping -
🐞 修复 ColorPicker 的presets
属性中的label
字段传入ReactNode
会报错的问题。#51808 @li-jia-nan -
🐞 修复 Menu 的inlineCollapsed
属性在 Layout 中不生效的问题。#51775 @coderz-w -
🐞 修复 TableonHeaderCell
提供的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 Formrules
with same error content will cause React render warning. #51636 @zombieJ -
🐞 Refactor Buttonfocus
logic trigger withuseEffect
to resolve some async load case not getautoFocus
. #51624 @zombieJ -
🐞 Fix Button custom icon not center-aligned. #51652 @afc163 -
🐞 Fix TablegetCheckboxProps
event handlers being overridden by internal selection logic. #51661 @Zyf665 -
🐞 Fix Tree thatonCheck
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 -
🐞 修复 Formrules
生成多条相同错误时会报 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 whenneedConfirm
and the user has not submitted the date. #51591 @zombieJ -
🛠 Lock Input.OTPctrl + z
operation to avoid data not correct. #51609 @zombieJ -
🐞 Fix Selecttags
ormultiple
mode display issue. #51605 @guoyunhe -
🐞 Fix Badgecount
motion missing in Safari. #51598 @zombieJ -
🐞 Fix Tabs withcentered
the tabs can not fully display. #51571 @DDDDD12138 -
🐞 Fix Transfer with controlleddataSource
&selectedKeys
sometime miss sync checked state. #51523 @IsKaros -
🐞 Revert Buttondisplay
inline-flex
back toinline-block
to resolve Icon align issue. #51588 @Wxh16144
-
🛠 调整 DatePicker.RangePicker 当needConfirm
切用户未提交日期时,不允许通过点击输入框切换到下一个字段。#51591 @zombieJ -
🛠 禁用 Input.OTPctrl + z
操作以防止数据变化非预期的问题。#51609 @zombieJ -
🐞 修复 Select 标签模式下展示异常的问题。#51605 @guoyunhe -
🐞 修复 Badgecount
在 Safari 下动画丢失的问题。#51598 @zombieJ -
🐞 修复 Tabscentered
下标签展示不全的问题。#51571 @DDDDD12138 -
🐞 修复 Transfer 受控dataSource
和selectedKeys
时,偶尔会出现勾选不正确的问题。#51523 @IsKaros -
🐞 回滚 Buttondisplay
的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 thatonValuesChange
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 supportsfilterDropdownProps
. #51297 @Wxh16144 -
🆕 TableexpandedRowClassName
supports string . #51067 @li-jia-nan
-
- 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 theInput.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 specifyinputMode
. #51271 @alan-rudzinski
-
-
🆕 ColorPicker supportsdisabledFormat
. #51539 @su-muzhi -
🆕 Addcursor
configuration item to thefocus
method of InputNumber component to control the cursor position. #51444 @aojunhao123 -
🆕 Cascader addsdisabled
attribute to disable all first-level directory items of the component. #51272 @aojunhao123 -
🆕 Descriptions supports single-line spreading. #51365 @crazyair -
🆕 Select/TreeSelect/Cascader components addprefix
property to support custom prefix. #51186 @guoyunhe -
🐞 Fix the problem that the preview image class name is lost when settingImageProps.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 UploaditemRender
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 -
🆕 TableexpandedRowClassName
支持 string 。#51067 @li-jia-nan
-
- Tree
- DatePicker
-
🆕 DatePicker 支持prefix
属性。#51335 @guoyunhe -
💄 修复 DatePicker.RangePicker 当鼠标移动到单元格之间时出现闪烁样式的问题。#51533 @afc163
-
- Input.OTP
-
🆕 Input.OTP 组件新增onInput
事件用于获取用户每一次输入的值。#51289 @aojunhao123 -
🐞 修复 Input.OTP 无法指定inputMode
的问题。#51271 @alan-rudzinski
-
-
🆕 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 -
🐞 修复 UploaditemRender
调用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 tonot-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 Checkboxindeterminate
to enhance accessibility experience. #51350 @SpaNb4 -
💄 Improve thetitle
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
-
-
💄 优化 Checkboxindeterminate
提升无障碍体验。#51350 @SpaNb4 -
💄 优化 Empty 预设 svg 图片的title
提升无障碍体验。#51368
v5.21.5
-
🐞 Fix Cascader filter limitation not working whenlimit
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 QRCodeonRefresh
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
-
🐞 修复 Cascaderlimit
属性设置false
不生效的问题。#51263 @dongbanban -
🐞 修复 DatePicker 的禁用日期项无法响应鼠标事件的问题。#51294 @ajenkins-mparticle -
🐞 修复 FloatButton 悬浮菜单难以点击的问题。#51208 @aojunhao123 -
🐞 修复 QRCodeonRefresh
属性不生效的问题。#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 thehoverBorderColor/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 TokentextHoverBg
hover background tocolorFillTertiary
. #51187 @coding-ice - TypeScript
-
🤖 Improve type of SwitcheventHandler
. #51165 @thinkasany
-
-
🐞 修复 Input.Search 无法使用 Input TokenhoverBorderColor/activeBorderColor
修改边框颜色的问题。#51226 @iqingting -
🐞 修复 Tree 的图标不对齐的问题。#51181 @Meowu -
🐞 修复 Splitter 在嵌套组合时,偶尔会出现多余滚动条的问题。#51169 @zombieJ -
💄 修改 Design Token 的textHoverBg
悬浮状态下的背景色为colorFillTertiary
。#51187 @coding-ice - TypeScript
-
🤖 优化 SwitcheventHandler
类型。#51165 @thinkasany
-
v5.21.3
-
💄 Added a scroll bar to Dropdown when having many items. #51112 @Cameron-Asdf - Slider #51150 @yoyo837
-
🐞 Fix Slider issue where theid
prop is not supported. -
🐞 Fix Slider to address the issue causinguseLayoutEffect does nothing on the server
warning whenextractStyle
is invoked.
-
-
🐞 Fix ColorPicker with gradient mode, sometimes handle color will be force sync back to first handle color issue. #51161 @zombieJ -
🐞 Fix TableonChange
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: Restorereact
andreact-dom
peerDependencies. #51079 @chentsulin - TypeScript
-
🤖 Improve type of SlidereventName
. #51156 @thinkasany
-
-
💄 优化 Dropdown 列表较长时的滚动条样式。#51112 @Cameron-Asdf - Slider #51150 @yoyo837
-
🐞 修复 Slider 不支持id
属性的问题。 -
🐞 修复 Slider 导致extractStyle
时抛出useLayoutEffect does nothing on the server
警告信息的问题。
-
-
🐞 修复 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
-
🤖 优化 SlidereventName
类型。#51156 @thinkasany
-
v5.21.2
-
🐞 Revert #49221 to fix Typographycopyable
icon align issue. #51066 @afc163 -
🐞 Fix Tabs flicker when browser zoom is enabled. #51072 @afc163 -
🐞 Fix Select incorrectactiveBorderColor
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 from4px
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 以修复 Typographycopyable
图标位置偏上的问题。#51066 @afc163 -
🐞 修复 Tabs 在浏览器缩放时无限闪烁的问题。#51072 @afc163 -
🐞 修复了 Input.Search 组件中在不同缩放级别下输入框和按钮的对齐问题。#50926 @nathanlao -
🐞 修复 Selectvariant="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 wheretype="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 forfilterCheckall
in Table component. #51000 @ytahirkose
-
🐞 修复 Buttontype="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 supportsvariant
andcolor
properties for more combination styles. #50051 @coding-ice -
💄 Button addstextColor
,textHoverColor
andtextActiveColor
tokens. #47870 @madocto
-
- FloatButton
-
🆕 FloatButton supportsplacement
property, allowing menus to pop up from multiple directions. #50407 @li-jia-nan -
🆕 FloatButton supportshtmlType
prop. #50892 @li-jia-nan -
💄 Unify FloatButton and FloatButton.Group button round style. #50513 @Layouwen -
💄 Manage FloatButton'sz-index
withuseZIndex
to improve compatibility with other popup components. #50311 @li-jia-nan
-
- Menu
-
🆕 Menu.Item and Dropdown'smenu
supportsextra
prop now. #50431 @coding-ice -
🐞 Fix MenupopupStyle
not working on SubMenu. #50922 @Wxh16144
-
- Table
-
🆕 Table supportsminWidth
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
-
- Input
-
🆕 Input.OTP supporttype
to help handle some case need number only. #50811 @zombieJ -
🐞 Fix Select inside Input addon text color when Select is focused. #50486 @DDDDD12138
-
- 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 passname
prop to<input type="file" />
. #50652 @Wxh16144 -
🆕 UploadshowUploadList.showXxxIcon
accept a function value now. #50245 @guoyunhe
-
- ColorPicker
- App
-
🐞 Fixed App warn aboutzIndex
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
-
- 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 enableallowClear
andvariant="filled"
. #50916 @thinkasany
-
-
🆕 Segmented addsvertical
property and improves accessibility. #50708 @liangchaofei -
🆕 Radio.Group supportsblock
prop now. #50828 @yuanliu147 -
🆕 ConfigProvider supports configuring theclassName
andstyle
properties of the Splitter component. #50855 @li-jia-nan -
🆕 Image addonActive
totoolbarRender
for toggling images . #50812 @madocto -
🆕 Add ref on List component. #50772 @Asanio06 -
🆕 Collapse supportclassNames
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 Typographycopyable
with arraychildren
has additional,
string issue. #50813 @zombieJ -
🐞 Fix Tour where long title will overlap with close button. #50942 @kiner-tang -
🌐 Localization-
🇯🇵 Addedja_JP
locale for DatePicker'sshortWeekDays
andshortMonths
text. #50893 @harapeko -
🇪🇬 Added Arabicar_EG
text for Image preview feature. #50851 @nathanlao -
🇬🇷 Added Greek text for the Form component. #50825 @nathanlao -
🇪🇸 Added Spanishes_ES
text for the Tour component. #50805 @thinkasany
-
- TypeScript
-
🤖 Checkbox adds onFocusand
onBlur` in type definition. #50842 @huiliangShen -
🤖 Fix Badge property type definition to support passing mouse events. #50774 @yuanliu147
-
-
🔥 全新 Splitter 区域分割组件,自由拖拽调整区域大小。#50038 @wanpan11 - Button
-
🔥 Button 支持variant
变体和color
颜色属性,以支持更多组合样式。#50051 @coding-ice -
💄 Button 添加textColor
、textHoverColor
和textActiveColor
三个 token。#47870 @madocto
-
- 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
-
- Menu
-
🆕 Menu.Item 和 Dropdown 的 menu 支持extra
属性。#50431 @coding-ice -
🐞 修复 MenupopupStyle
在 SubMenu 上失效的问题。#50922 @Wxh16144
-
- Table
-
🆕 Table 列支持配置minWidth
属性。#50416 @linxianxi -
🐞 修复 Table 虚拟表格下的空数据和阴影问题。#50416 @linxianxi -
🐞 修复 Table 列选择在某些情况下无法取消选择的问题。#50746 @Jarryxin
-
- Input
-
🆕 Input.OTP 添加type
属性以支持只需要输入数字的场景。#50811 @zombieJ -
🐞 修复 Input Addon 内 Select 选中时的文字颜色。#50486 @DDDDD12138
-
- Modal
- Descriptions
-
🐞 优化 Descriptions 在某些情况下列内容消失的问题。#50895 @yezhonghu0503 -
🐞 回滚 #49946 以修复 Descriptions 内弹层组件被截断的问题。#50891 @afc163
-
- Upload
-
🆕 Uploadname
属性将透传给<input type="file" />
。#50652 @Wxh16144 -
🆕 Upload 的showUploadList.showXxxIcon
选项支持传入函数。#50245 @guoyunhe
-
- ColorPicker
- App
-
🐞 修复 App 的useApp
调用modal
方法时,填入弹层组件会警告zIndex
过大的问题。#50829 @zombieJ -
🐞 修复 App rtl 样式不遵守 ConfigProviderdirection
配置。#50246 @li-jia-nan
-
- 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 -
🐞 修复 Typographycopyable
对数组children
复制时会有额外,
字符的问题。#50813 @zombieJ -
🐞 修复 Layout.Sider 单独使用时无法修改主题的问题。#50780 @zombieJ -
🐞 修复 Tour 组件标题过长时会遮挡关闭按钮的问题。#50942 @kiner-tang -
🌐 本地化-
🇯🇵 补充 DatePickerja_JP
语言环境的shortWeekDays
和shortMonths
文案。#50893 @harapeko -
🇪🇬 补充 Image 预览功能的ar_EG
阿拉伯语文案。#50851 @nathanlao -
🇬🇷 补充 Form 组件的希腊语文案。#50825 @nathanlao -
🇪🇸 补充 Tour 组件的西班牙语文案。#50805 @thinkasany
-
- TypeScript
-
🤖 Checkbox 新增onFocus
和onBlur
类型定义。#50842 @huiliangShen -
🤖 修复 Badge 属性类型定义不支持传递鼠标事件的问题。#50774 @yuanliu147
-
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 withsize
. #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 foronChange
arguments. #50754 @yuanliu147
-
-
🐞 修复 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
-
v5.20.5
-
🛠 Adjust Tree & TreeSelectdefaultExpandAll
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 usingmultiple
. #50689 -
🐞 Fix Typographyellipsis.tooltip.title
with ReactNode will cause dead loop. #50688 @zombieJ
-
🛠 调整 Tree 与 TreeSelect 的defaultExpandAll
的行为,仅将有子节点的treeNode
加入expandedKeys
以防止在大数据与loadData
异步的情况下引发的性能问题。#50689 @zombieJ -
🐞 修复 Cascader 在multiple
下搜索不会显示父节点作为选项的问题。#50689 -
🐞 修复 Typographyellipsis.tooltip.title
配置 ReactNode 会导致死循环的问题。#50688 @zombieJ
v5.20.4
- Menu
-
🐞 Fix Menu tokenitemPaddingInline inoperative
not working. #50663 @coding-ice -
🐞 Fix Menu missinghover
transition style. #50624 @afc163
-
-
💄 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_TRTransfer.deselectAll
locale. #50672 @coding-ice
- Menu
-
🐞 修复 Menu 的itemPaddingInline
token 不生效的问题。#50663 @coding-ice -
🐞 修复 Menuhover
时背景色切换渐变效果丢失的问题。#50624 @afc163
-
-
💄 给 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 ColorPickeronChangeComplete
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 -
🆕 Formrule.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 specifiesgetPopcontainer={node=node.parentNode}
. #50382 @afc163 -
🐞 Fixed the arrow misalignment error when Popover sets thearrow.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 -
🆕 Formrule.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 TablezIndexTableFixed
token not support CSS var. #50355 @li-jia-nan -
🐞 Fix FloatButton don't supportzIndexPopupBase
token. #50349 @Yuzu-io -
🐞 Fix Typographytooltip
not show with precision issue ofellipsis
. #50315 @zombieJ -
🐞 Fix Formpreserve={false}
should not triggershouldUpdate
rerender. #50283 @zombieJ -
🐞 Fix Tour defaultz-index
not followzIndexPopup
token issue. #50300 @zombieJ -
🐞 Fix Calendarlocale
should overridelocale
from ConfigProvider. #50236 @Asanio06 -
🐞 Fix Spin align issue when settingpercent
. #50277 @Wxh16144 -
🐞 Fix Tree switcher position not ping at top when title break the line. #50313 @zombieJ -
🌐 Locales-
🇦🇿 Fix missing spaces ofaz_AZ
locale. #50238 @thinkasany
-
- TypeScript
-
🤖 Refine Table all Record types from any to Object. #50351 @li-jia-nan
-
- ColorPicker
-
💄 修复 TablezIndexTableFixed
token 不支持传入 CSS 变量的问题。#50355 @li-jia-nan -
🐞 修复 FloatButton 不支持zIndexPopupBase
token 的问题。#50349 @Yuzu-io -
🐞 修复 Typography 的ellipsis
因为精度问题导致tooltip
无法显示的问题。#50315 @zombieJ -
🐞 修复 Formpreserve={false}
会触发shouldUpdate
rerender 的问题。#50283 @zombieJ -
🐞 修复 Tour 默认z-index
没有使用zIndexPopup
token 的问题。#50300 @zombieJ -
🐞 修复 Calendarlocale
没有正确覆盖 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 -
🆕 UploadshowUploadList
supportextra
for additional content. #50098 @guoyunhe -
🆕 Tree support custom loading icon for tree nodes with new propswitcherLoadingIcon
. #49716 @coding-ice -
🆕 Slider supportrange.editable
to dynamic add/remove handles. #49923 -
🆕 Sliderrange.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 ofdashed
,dotted
orsolid
. #49654 @pinaki-08 -
🆕 InputNumber supportssuffix
prop. #49674 @coding-ice -
🆕 ColorPicker support gradient color type and fix controlled mode not working. #50050 -
🆕 Input/TextArea/Mentions supportonClear
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 withtopLeft
,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 thetransparent
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 -
🆕 UploadshowUploadList
添加extra
以支持渲染额外信息。#50098 @guoyunhe -
🆕 Tree 新增switcherLoadingIcon
属性以支持自定义树节点的加载图标#49716 @coding-ice -
🆕 Slider 支持range.editable
以动态添加/删除节点。#49923 -
🆕 Sliderrange.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 Popovertitle
andcontent
do not exist. #50064 @LLmoskk -
🐞 Fix the Token of Empty settingopacityImage
does not take effect. #50066 @thinkasany -
💄 Fix Tour overflowed the screen on mobile devices. #50082 -
💄 Fix hover style of Checkboxindeterminate
state. #50083 -
💄 Fix DatePicker selection style is not intuitive under rtl. #50045 @Layouwen -
💄 Fix Descriptions overflowing the container inbordered
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 -
🐞 修复 Popovertitle
和content
都不存在时 Overlay 仍显示的问题。#50064 @LLmoskk -
🐞 修复 Empty Token 设置opacityImage
不生效的问题。#50066 @thinkasany -
💄 修复 Tour 在移动端下溢出屏幕的问题。#50082 -
💄 修复 Checkboxindeterminate
状态的 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 ofonChange
with unexpected value. #49533 @Zyf665 -
🐞 Fix Paginationtoken.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 fromcover
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 -
🐞 修复 Paginationtoken.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 render0
whenactions={[]}
. #49842 @int64ago -
🐞 Fix Upload with dragging upload, thefileList
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 TableexpandedRowRender
. #49727 @ljw-codeking
-
-
🐞 Fix Spin style issue when usepercent
andsize
at same time. #49876 -
🇮🇳 Fill DatePickerkn_IN
missing locales. #49860 @neerajap-01 - Typescript
-
🐞 Fix Treeicon
andswitcherIcon
parameter types not being correctly inferred. #49821 -
🐞 Revert Cascadermultiple
definition casevalue
definition missing. #49741 @YangZhi1
-
-
🐞 修复 Listactions
为空数组时会渲染0
的问题。#49842 @int64ago -
🐞 修复 Upload 拖拽上传文件夹时,beforeUpload
中fileList
不完整的问题。#49832 @coderz-w - Descriptions
-
🐞 修复 Descriptions 在内容过长时会遮盖后面内容的问题。#49803 @coding-ice -
🐞 修复 Descriptions 在 TableexpandedRowRender
中渲染样式异常的问题。#49727 @ljw-codeking
-
-
🐞 修复 Spinpercent
和size
一同使用时,样式不正确的问题。#49876 -
🇮🇳 补充 DatePicker 的kn_IN
本地化文案。#49860 @neerajap-01 - Typescript
-
🐞 修复 Treeicon
和switcherIcon
参数类型未能正确推导的问题。#49821 -
🐞 回滚 Cascadermultiple
定义更新导致value
定义丢失的问题。#49741 @YangZhi1
-
v5.19.1
-
🐞 Global: @ant-design/colors use pre-compiled color presets to improve runtime performance. #49714 @guoyunhe -
🐞 Global: No more limit max autozIndex
increase but use warning instead. #49720 -
🐞 Adjust position of Input.TextArea to be consistent with other data entry components. #49718 @wanpan11 -
🐞 Fix Input variantfilled
activeBorderColor
token invalid. #49699 @wanpan11 - TypeScript
-
🤖 Fix Cascadermultiple
type issue. #49669 @YangZhi1
-
-
🐞 Global: @ant-design/colors 使用预编译颜色预设来提升运行时性能。#49714 @guoyunhe -
🐞 Global: 对于弹层类自动增长zIndex
不再限制最大值,而是改成控制台警告。#49720 -
🐞 优化 Input.TextArea 清除图标的位置,与其他输入组件统一。#49718 @wanpan11 -
🐞 修复 Input 组件filled
变体下activeBorderColor
不生效问题。#49699 @wanpan11 - TypeScript
-
🤖 修复 Cascader 组件multiple
的类型问题。#49669 @YangZhi1
-
v5.19.0
-
🆕 ConfigProvider now supports global configuration forvariant
. #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'sfilterSort
property now includessearchValue
parameter. #49352 @MadCcc -
🆕 Pagination addssimple
property, supports read-only mode, and introducesalign
property. #49562 @coding-ice -
🐞 Enhanced Anchor'saffix
property for more configuration options. #49295 @gin-lsl - DatePicker
-
🐞 Fixed missing arrow in DatePicker/TimePicker RangePicker withplacement
set totopRight
orbottomRight
.#49333 -
🐞 Fixed missing accessible text for DatePicker switch button, style issue in RTL mode forDatePicker.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
-
-
🐞 Button fixeddisabled
property not working when used asDropdown
trigger
. #47363 -
🐞 InputNumber now warns when usingtype=number
withchangeOnWheel
. #49648 @wanpan11 - Table
-
🐞 Upload fixed rendering performance issue when listing many files in list mode. #49598 @tlkv -
💄 Added initial styles forSubMenu
node in Menu. #49643 @wanpan11 -
💄 Improved active style for Slider handle. #49630 -
💄 Optimizedvariant=borderless
style for DatePicker, TimePicker, Select, TreeSelect, Input, InputNumber, Mentions, now distinguishable when settingstatus
property. #49608 -
🐞 Fixed Typographyellipsis
not working when parent hasnowrap
style. #49667 - TypeScript:
-
🤖 ConfigProvider Improved TypeScript definition forrenderEmpty
method. #49602 @Wxh16144
-
-
🌐 Locales-
🇹🇭 Added missing Thai translations forTransfer.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 forDatePicker
. #49333
-
-
🆕 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 修复了用作 Dropdowntrigger
时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
-
-
🌐 国际化-
🇹🇭 添加了缺失的泰语翻译,包括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 thegenCalc
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 ofonChange
with unexpected value for #49134. #49289 @Zyf665 -
🐞 Addaria-label
for expand icon in Collapse. #49395 @wanpan11 -
🐞 Fix tokeninputFontSizeSM
andinputFontSizeLG
not working in InputNumber. #49369 -
💄 Fix Empty sometimes doesn't takecolorTextDescription
as description text color. #49408 -
💄 Resolve Badgeprocessing
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 组件中 tokeninputFontSizeSM
和inputFontSizeLG
不生效的问题。#49369 -
💄 修复 Empty 部分样式下,描述的colorTextDescription
不生效的问题。#49408 -
💄 解决 Badgeprocessing
与 Tailwind CSS 样式冲突的问题。#49379 -
🌐 国际化-
🇲🇳 添加蒙古语言 (mn_MN) 翻译。#49373 @JiyinShao
-
v5.18.1
- Typography
-
🐞 Fix Typography component'sellipsis
not working properly inpre
tag. #49168 @nova1751 -
🐞 Fix Typographyellipsis
sometimes not working in Safari. #49221
-
-
🐞 Fix Spacesize
setting to 0 did not take effect. #49192 @coding-ice -
🐞 Fixpadding
of Progress text is invalid in cssinjs. #49250 @vagusX -
🐞 Fix Modal close button'szIndex
being incorrect incssVar
mode. #49238 -
🐞 Fix Imagewidth
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 whenloading=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 thepercent
progress was not passed when customizing theindicator
of Spin. #49211 @wanpan11 - DatePicker
- TypeScript
-
🤖 Mentions added new export typeMentionsProps
. #49281 @thinkasany -
🤖 Remove duplicate union type from Statistic. #49218 @thinkasany
-
-
🌐 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 -
🐞 修复 Typographyellipsis
在 Safari 中有时不生效的问题。#49221
-
-
🐞 修复 Spacesize
设置 0 不生效的问题。#49192 @coding-ice -
🐞 修复 Progress 文本的 padding 在 cssinjs 下单位失效问题。#49250 @vagusX -
🐞 修复 Modal 关闭按钮的zIndex
在cssVar
模式下不正确的问题。#49238 -
🐞 修复 Imagewidth
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
-
-
🌐 国际化-
🇲🇾 补充 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 changinginline-block
toinline-flex
and simplifyiconPosition
implementation. #47318 - Drawer
-
🆕 Drawer adddrawerRender
property to control render. #49125 @crazyair -
🛠 Drawer loading implementation changes to Skeleton from Spin. #48886 @li-jia-nan
-
- Form
-
🆕 Form.Item addlayout
property to toggle layout mode. #49119 @crazyair -
🆕 Formref
property supports to access the native element. #48841 @wanpan11 -
🆕 Form addclearOnDestroy
property to clear form data when destroy. #48921 @crazyair
-
- Image
-
🆕 Image addonReset
andonClose
properties. #48936 @kiner-tang -
🆕 Image supports getimgInfo
from arguments oftoolbarRender
andimageRender
render functions. #48729 @nova1751
-
- notification
- Progress
-
🆕 Progress addpercentPosition
property to control position for percent value. #48157 @LonelySnowman -
🆕 Progresssize
property supports object value. #48805 @crazyair
-
-
🆕 Avatar.Group addmax
property for replacemaxCount
、maxStyle
、maxPopoverPlacement
andmaxPopoverTrigger
properties. #49131 @wanpan11 -
🆕 Modal addloading
property to show the skeleton. #48848 @li-jia-nan -
🆕 Rate addkeyboard
property to ignore keyboard events. #49132 @Wxh16144 -
🆕 Spin supportpercent
to render as progress. #48657 -
🐞 Watermark addoverflow: hidden
style to prevent setheight: 0
to hide the watermark case. #49130 -
🐞 Anchor fix scroll animation lost bug when setreplace
property. #49136 @mySkey -
🐞 Tour fixcurrent
argument ofonClose
is wrong. #49124 -
💄 List.Item addstyles
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
-
- Form
-
🆕 Form.Item 新增layout
属性以切换布局方式。#49119 @crazyair -
🆕 Form 的ref
属性支持获取原生节点。#48841 @wanpan11 -
🆕 Form 新增clearOnDestroy
属性以在卸载时清空表单数据。#48921 @crazyair
-
- Image
-
🆕 Image 新增onReset
和onClose
属性。#48936 @kiner-tang -
🆕 Image 的toolbarRender
和imageRender
渲染函数入参新增ImgInfo
信息。#48729 @nova1751
-
- notification
- Progress
-
🆕 Progress 新增percentPosition
属性用于控制数值位置。#48157 @LonelySnowman -
🆕 Progress 的size
属性支持配置为对象值。#48805 @crazyair
-
-
🆕 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 withconfirm
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 ofscrollToFirstError
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 throwsfindDOMNode
warning in React 18.3.0. #48958 -
🐞 Fix Button thatfontSize
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: Fixlib
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 Buttontype="text"
andtype="danger"
are used together. #48876 @LonelySnowman
-
- Fix issue where some components throw findDOMNode warnings
-
🐞 Fix Button throwingfindDOMNode
warning. #48830 @wanpan11 -
🐞 Fix Badge throwingfindDOMNode
warnings. #48878 @wanpan11 -
🐞 Fix Alert throwingfindDOMNode
warnings. #48868 @wanpan11 -
🐞 Fix FloatButton.BackTop throwingfindDOMNode
warnings. #48865 @wanpan11
-
-
💄 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 Cardsize="small"
. #48787 @wanpan11 -
🐞 Fix AutoCompletetagRender
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
-
🐞 修复 Buttontype="text"
和type="danger"
同时使用时 hover 和 active 样式没有区分的问题。#48876 @LonelySnowman
-
- 修复部分组件抛出 findDOMNode 警告的问题
-
🐞 修复 Button 抛出findDOMNode
警告的问题。#48830 @wanpan11 -
🐞 修复 Badge 抛出findDOMNode
警告的问题。#48878 @wanpan11 -
🐞 修复 Alert 抛出findDOMNode
警告的问题。#48868 @wanpan11 -
🐞 修复 FloatButton.BackTop 抛出findDOMNode
警告的问题。#48865 @wanpan11
-
-
💄 给 Drawer 的内部组件 Spin 添加 className,防止内部 Spin 样式覆盖用户传入的 Spin 样式。#48857 @li-jia-nan -
💄 修复 Cardsize="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 supportsarrows
to switching between slides now. #48542 - Form
-
🛠 Form move dependency fromasync-validator
to@rc-component/async-validator
, fix a bug thattransform
don't check it's return value type. #48486 @crazyair -
🆕 Form addinlineMargin
token. #48362 @CooperHash -
🐞 Fix FormscrollToFirstError
cannot work on Upload. #48211 @Wxh16144
-
- Typography
-
🆕 Typography.Paragraph could customizetabIndex
prop for editable and copyable buttons. #48567 @nova1751 -
🐞 Fix Typographyeditable
will trigger focus unexpectedly on mounting. #48741
-
- DatePicker
- Drawer
-
🆕 Drawer supportsloading
prop now. #48563 @Enigama -
🐞 Fix DrawerclassNames.wrapper
not working. #48721 @replygirl
-
- Slider
-
🐞 Fix Slider tooltip cannot be hidden whentooltip={{ formatter: null }}
. #48673 @wanpan11 -
🐞 Slider tooltip should not display whentooltip={{ open: false }}
. #48708
-
- Button
-
🆕 Button addiconPosition
prop to specify icon position. #47791 @GeorgeHcc -
🆕 Button supportsautoInsertSpace
prop. #48348 @li-jia-nan
-
-
🆕 ConfigProvider supportsbutton.autoInsertSpace
prop and deprecatedautoInsertSpaceInButton
prop. #48348 @li-jia-nan -
🆕 TreeSelect supportsonPopScroll
prop now. #48636 @wanpan11 -
🆕 Tabs supportsmore={{ .. }}
to customize more dropdown. #48321 @CooperHash -
🆕 Flexwrap
could be boolean type now. #48391 @li-jia-nan -
🆕 Input.OTP supportsmask
prop. #48257 @li-jia-nan -
🆕 Alert supportsid
andref
props. #48336 @li-jia-nan -
🆕 Upload supportsref.nativeElenent
. #48210 @Wxh16144 -
🐞 Fix List would not rerender whengrid
changed. #48683 @coderz-w -
🐞 Fix QRCode size cannot fit it's container and remove default padding ofbordered={false}
. #48194 @thinkasany -
🐞 Fix Table shadow should be show when there are columns wherefixed={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
-
- Typography
-
🆕 Typography.Paragraph 的编辑、复制按钮允许修改tableIndex
。#48567 @nova1751 -
🐞 修复 Typography 开启editable
时会意外触发 focus 行为的问题。#48741
-
- DatePicker
- Drawer
-
🆕 Drawer 新增loading
属性。#48563 @Enigama -
🐞 修复 Drawer 不支持classNames.wrapper
的问题。#48721 @replygirl
-
- Slider
-
🐞 修复 Slidertooltip={{ open: false }}
时提示框未正确隐藏的问题。#48708 -
🐞 修复 Slidertooltip={{ formatter: null }}
无法隐藏 Tooltip 的问题。#48673 @wanpan11
-
- Button
-
🆕 Button 新增iconPosition
以指定预置图标位置。#47791 @GeorgeHcc -
🆕 Button 组件支持autoInsertSpace
属性,用来移除两个汉字之间的空格。#48348 @li-jia-nan
-
-
🆕 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 -
🐞 修复 Listgrid
属性值更新后组件未重新渲染的问题。#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 isundefined
. #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 UploadcustomRequest
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 -
🤖 修复 UploadcustomRequest
参数丢失泛型的问题。#48612 @jas0ncn
-
- 国际化
-
🇪🇸 为 DatePicker 补充 西班牙语 多语言。#48601 @JMMOLLER -
🇩🇪 为 DatePicker 补充 德语 多语言。#48586 @sebhs
-
v5.16.4
-
🐞 Fix Select withmultiple
andpaddingXXS=0
will break the height align ofcontrolHeight
token. #48574 -
🐞 Fix Upload miss style when enable CSS Variable. #48569 @nova1751 -
🐞 Fix Slider inrange
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 usingcheckedChildren
andunCheckedChildren
did not add a default height. #48513 @wanpan11 -
🐞 Fix the warning reminder when Form.Item uses noStyle with no value. #48508 -
🐞 Fix PopoverdefaultOpen
setting failed. #48481 @linhf123 -
🐞 Fix whereplaceholder
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 usedeselectAll
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 -
🐞 修复 PopoverdefaultOpen
设置失效的问题。#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 controlledvalue
to''
not work as expect. #48399 -
🐞 Fix DatePicker ofmultiple
with week picker not show the selection on the panel. #48355 -
🐞 Fix UploadlistType
withpicture-card
orpicture-circle
has additional space on top. #48370 - Typography
-
🐞 Fix Typography dynamic setcopyable
oreditable
will not show the operation button. #48350 -
🐞 Fix Typography dynamic updatecopyable.text
not working. #48347 -
🐞 Fix Typography usingellipsis
config withexpandable="collapsible"
androw={1}
at both time will make ellipsis not working as expect. #48340
-
-
💄 Fix Steps in compact theme not show the correct progress style. #48251 -
💄 Refactor Tabs and wave-related components CSS duration values withmotionDurationSlow
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 Typographyellipsis
logic to use CSS ellipsis in SSR to enhance user experience. #48205 -
🐞 Fix FloatButton configtooltip
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 supportaria-*
in closable. #47678 @kiner-tang -
🆕 Table addrowHoverable
to control hover effect. #48112 @madocto -
🆕 Typography support async copy. #48123 @crazyair -
🆕 Progress supportsteps
withcircle
. #47940 @yykoypj -
🆕 Table supportonScroll
event for table body scroll. #47986 -
🆕 Typography ellipsis supports expand and collapse. #47264 @crazyair -
🆕 ConfigProvider support configuring FloatButton.GroupcloseIcon
. #47953 @li-jia-nan -
🆕 Table supportsorterTooltipTarget
prop for sorters. #47409 @Ke1sy -
🆕 Cascader supportoptionRender
. #47727 @crazyair -
🆕 Notification supportaria-*
inclosable
. #47710 @kiner-tang -
⌨ ️ Popover can be closed by ESC when trigger isfocus
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 FormgetValueProps
shouldn't work when FormItem'sname
doesn't exist . -
🐞 2. Fix Form'ssetFieldsValue
should tread same assetFields
.
-
-
🐞 Fixe Table that internationalization of table columns fails when searching. #48126 @LingJinT -
🐞 Fix Upload thatonChange
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 aftervalue
changed. #47816 @MadCcc -
🐞 Make Badge consistent with Tag that applaycolorInfo
token in processing. #47695 @pfdgithub -
🌐 Add missing form translations in is_IS. #48104 @LonelySnowman -
🌐 Add Uzbek(latn) locale. #47899 - TypeScript
-
🤖 Improve Transfer'skey
type, changekey: string
tokey: React.Key
. #47879 @madocto -
🤖 Table support for generic pairs dataIndex props verification . @crazyair
-
-
🔥 新增 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
的行为应该相同。
-
-
🐞 修复 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
-
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 theellipsis.symbol
exceed the single line height will make ellipsis rows not correct issue. #47889 -
🐞 Fix DatePicker component height not correct when customizecontrolHeight
. #47874 -
🐞 Fix DatePicker withmultiple
selector collapse for cross the line. #47821 -
🐞 TimePicker revert and add warning foronSelect
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 fromclick
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.TextAreaallowClear
autoComplete
className
style
classNames
styles
props. #47589 -
🆕 ConfigProvider support InputallowClear
props. #47602 -
🆕 ConfigProvider support MenuexpandIcon
props. #47561 -
🆕 ConfigProvider support CollapseexpandIcon
props. #47473 -
🆕 ConfigProvider support TabsremoveIcon
props, when settype="editable-card"
. #47334 -
🆕 Prefixes for CSS variables follow theprefixCls
property of ConfigProvider by default. #47481 -
🤖 CardPropsstyles
in ConfigProvider is set to optional. #47601 @Yawenina
-
-
🆕 Select、Checkbox、Radio、DatePicker、TreeSelect、Cascader thefocus
supports passingoptions
. #47664 -
🆕 Modal support configuringaria-*
inclosable
. #47650 -
🆕 Alert support configuringaria-*
inclosable
. #47474 -
🆕 Tabs supportremoveIcon
props, when settype="editable-card"
. #47334 - Drawer
- Table
-
🆕 Table addsfilterOnClose
to specify whether to trigger filtering when the filter menu is closed. #47451 @xsjcTony -
🆕 Table addscomponents.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 Tablesticky
. #47382 -
🐞 Fix the issue where theth
element is not used in the column header when Tablecolumn.title
is empty. #47382 -
🐞 Fix the issue whereprefixCls
is invalid when Table uses a virtual list. #47639 -
💄 Fix abnormal shadow display when Table fixed columns. #47518
-
-
🐞 Fix the issue where when using DirectoryTree in Tree, pressing shift for continuous multi-selection will report an error. #47567 @wkmyws -
🐞 Fix the issue whereisFieldsTouched(true)
always returnsfalse
when Form exists in Form.List. #47629 @lemonied -
🐞 Fix the issue of Button being incompatible with v4type=''
. #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 configurationhoist: 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 支持 TabsremoveIcon
属性, 在设置type="editable-card"
时有效。#47334 -
🆕 CSS 变量的前缀默认跟随 ConfigProvider 的prefixCls
属性。#47481 -
🤖 ConfigProvider 中 CardPropsstyles
设为可选。#47601 @Yawenina
-
-
🆕 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 不兼容 v4type=''
的问题。#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 customizedarkItemSelectedColor
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 whentype="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 usedefaultBg
token withbordered={false}
. #47372 @MadCcc -
🐞 MISC: Fix thattheme.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
-
🐞 修复 Stepstype="inline"
时鼠标无法 hover 到正确的步骤上的问题。#47406 -
🐞 修复 DatePicker 与 TimePicker 弹出面板箭头没有考虑面板本身圆角的问题。#47389 -
🐞 修复 Dropdownmenu.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 addsmultiple
to support multiple selection capabilities. -
🆕 DatePicker supportsshowWeek
attribute. -
🆕 DatePicker.RangePicker supportsorder
attribute. -
🆕 DatePickerid
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.
-
- 🔥 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
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