fix(deps): update dependency antd to v5.22.3 - autoclosed
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| antd (source) | dependencies | minor | 5.1.4 -> 5.22.3 |
Release Notes
ant-design/ant-design (antd)
v5.22.3
- 🐞 Fix Select clear button may has incorrect position within Form.item. #51649 @dislido
- 🐞 Fix InputNumber
handleVisibletoken not work as expected. #51728 @dengfuping - 🐞 Fix ColorPicker error when pass
ReactNodetolabelfield ofpresetsproperty. #51808 @li-jia-nan - 🐞 Fix Menu
inlineCollapsedproperty not works bug within Layout. #51775 @coderz-w - 🐞 Fix Table
onHeaderCellprovided partstylecan not override. #51793 @Wxh16144 - ⌨️ Improve Collapse accessibility. #51836 @aojunhao123
- TypeScript
- 🐞 修复 Select 清除按钮在 Form.Item 中位置可能错误的问题。#51649 @dislido
- 🐞 修复 InputNumber
handleVisibletoken 不生效的问题。#51728 @dengfuping - 🐞 修复 ColorPicker 的
presets属性中的label字段传入ReactNode会报错的问题。#51808 @li-jia-nan - 🐞 修复 Menu 的
inlineCollapsed属性在 Layout 中不生效的问题。#51775 @coderz-w - 🐞 修复 Table
onHeaderCell提供的style无法被覆盖的问题。#51793 @Wxh16144 - ⌨️ 优化 Collapse 组件的可访问性。#51836 @aojunhao123
- TypeScript
v5.22.2
- 🐞 Fix Input.OTP focus from advancing when previous input is empty. #51664 @thecodesalim
- 🐞 Adjust Modal function call not to scroll the confirm button when it get auto focused. #51647 @zombieJ
- 🐞 Fix Form
ruleswith same error content will cause React render warning. #51636 @zombieJ - 🐞 Refactor Button
focuslogic trigger withuseEffectto resolve some async load case not getautoFocus. #51624 @zombieJ - 🐞 Fix Button custom icon not center-aligned. #51652 @afc163
- 🐞 Fix Table
getCheckboxPropsevent handlers being overridden by internal selection logic. #51661 @Zyf665 - 🐞 Fix Tree that
onCheckandonSelectwere not properly triggered. #51448 @Wxh16144 - 🌐 Localization
- 🇷🇺 Add support for Russian translation. #51619 @avvakumovid
- 🇮🇹 Add support for Italian translation in TimePicker. #51685 @LorenzoCardinali
- 🐞 修复 Input.OTP 组件在有非法输入时仍会切换到下一个输入框的问题。#51664 @thecodesalim
- 🐞 调整 Modal 确认函数,使其在弹出后聚焦确认按钮时不要滚动窗体。#51647 @zombieJ
- 🐞 修复 Form
rules生成多条相同错误时会报 React 渲染错误的问题。#51636 @zombieJ - 🐞 调整 Button 使用
useEffect来触发autoFocus逻辑,以解决一些异步渲染场景下 Button 无法自动聚焦的问题。#51624 @zombieJ - 🐞 修复 Button 中使用自定义三方图标库时图标未居中的问题。#51652 @afc163
- 🐞 修复 Table 组件
getCheckboxProps中的事件处理器被内部选择逻辑覆盖的问题。#51661 @Zyf665 - 🐞 修复 Tree 组件的
onCheck和onSelect事件没有被正确触发的问题。#51448 @Wxh16144 - 🌐 本地化
- 🇷🇺 添加了俄语翻译支持。#51619 @avvakumovid
- 🇮🇹 为 TimePicker 添加了意大利语翻译。#51685 @LorenzoCardinali
v5.22.1
- 🛠 Adjust DatePicker.RangePicker to not allow switching to the next field by clicking the input when
needConfirmand the user has not submitted the date. #51591 @zombieJ - 🛠 Lock Input.OTP
ctrl + zoperation to avoid data not correct. #51609 @zombieJ - 🐞 Fix Select
tagsormultiplemode display issue. #51605 @guoyunhe - 🐞 Fix Badge
countmotion missing in Safari. #51598 @zombieJ - 🐞 Fix Tabs with
centeredthe tabs can not fully display. #51571 @DDDDD12138 - 🐞 Fix Transfer with controlled
dataSource&selectedKeyssometime miss sync checked state. #51523 @IsKaros - 🐞 Revert Button
displayinline-flexback toinline-blockto resolve Icon align issue. #51588 @Wxh16144
- 🛠 调整 DatePicker.RangePicker 当
needConfirm切用户未提交日期时,不允许通过点击输入框切换到下一个字段。#51591 @zombieJ - 🛠 禁用 Input.OTP
ctrl + z操作以防止数据变化非预期的问题。#51609 @zombieJ - 🐞 修复 Select 标签模式下展示异常的问题。#51605 @guoyunhe
- 🐞 修复 Badge
count在 Safari 下动画丢失的问题。#51598 @zombieJ - 🐞 修复 Tabs
centered下标签展示不全的问题。#51571 @DDDDD12138 - 🐞 修复 Transfer 受控
dataSource和selectedKeys时,偶尔会出现勾选不正确的问题。#51523 @IsKaros - 🐞 回滚 Button
display的inline-flex为inline-block以解决 Icon 位置偏移的问题。#51588 @Wxh16144
v5.22.0
- Form
- 🆕 Form.Item supports hiding labels. #51524 @crazyair
- 🐞 Form removes the div used to expand the error height, wraps errorDom and extraDom with a div, and sets a minimum height for the div. #51254 @hongzzz
- 🐞 Fix the problem that
onValuesChangeis still triggered when the Form field triggers change but the value does not change. #51437 @crazyair - 🆕 Form supports the focus property in scrollToFirstError when form validation fails. #51231 @nathanlao
- Table
- 🆕 Table column filter drop-down box supports
filterDropdownProps. #51297 @Wxh16144 - 🆕 Table
expandedRowClassNamesupports string . #51067 @li-jia-nan
- 🆕 Table column filter drop-down box supports
- Tree
- DatePicker
- 🆕 DatePicker supports prefix attribute. #51335 @guoyunhe
- 💄 Fixed the issue of DatePicker.RangePicker flashing when the mouse moves between cells. #51533 @afc163
- Input.OTP
- 🆕 In the
Input.OTPcomponent, addonInputevent to get the value of each user input. At the same time, the relevant documentation has been updated. #51289 @aojunhao123 - 🐞 Fixed the problem that Input.OTP cannot specify
inputMode. #51271 @alan-rudzinski
- 🆕 In the
- 🆕 ColorPicker supports
disabledFormat. #51539 @su-muzhi - 🆕 Add
cursorconfiguration item to thefocusmethod of InputNumber component to control the cursor position. #51444 @aojunhao123 - 🆕 Cascader adds
disabledattribute to disable all first-level directory items of the component. #51272 @aojunhao123 - 🆕 Descriptions supports single-line spreading. #51365 @crazyair
- 🆕 Select/TreeSelect/Cascader components add
prefixproperty to support custom prefix. #51186 @guoyunhe - 🐞 Fix the problem that the preview image class name is lost when setting
ImageProps.preview.rootClassNamein Image. #51538 @dislido - 🐞 Fixed the issue that the last item in the TimePicker panel column cannot be scrolled to the top. #51481 @zombieJ
- 🐞 Fix TreeSelect dropdown height not enough. #51567 @afc163
- 🐞 Fixed the issue that Typography is not updated immediately when the ConfigProvider language is switched. #51453 @thinkasany
- 🐞 Fixed the issue that Upload
itemRendercallingaction.previewwill cause a crash. #51419 @yoyo837 - 🐞 Fixed Splitter pseudo-element symbol issue. #51536 @dislido
- 💄 Optimize Collapse accessibility attribute and mouse hover style. #51400 @afc163
- 💄 Fix styling issue of Menu title content. #51425 @coding-ice
- 🇵🇹 Fix translation in Portuguese (pt_PT) localization file for better accuracy and consistency. #51501 @alexandre-p-marques-alb
- 🇺🇿 Optimize uz_UZ internationalization. #51407 @Zukhrik
- TypeScript
- Form
- 🆕 Form.Item 支持隐藏 label。#51524 @crazyair
- 🐞 Form 移除了用于撑开 error 高度的 div,将 errorDom 和 extraDom 用一个 div 包裹,并为该 div 设置了最小高度。#51254 @hongzzz
- 🐞 修复 Form 在字段触发 change 但是值没有变化时,
onValuesChange仍然会触发的问题。#51437 @crazyair - 🆕 Form 支持在表单验证失败时,scrollToFirstError 中的 focus 属性。#51231 @nathanlao
- Table
- 🆕 Table 列过滤下拉框支持
filterDropdownProps。#51297 @Wxh16144 - 🆕 Table
expandedRowClassName支持 string 。#51067 @li-jia-nan
- 🆕 Table 列过滤下拉框支持
- Tree
- DatePicker
- 🆕 DatePicker 支持
prefix属性。#51335 @guoyunhe - 💄 修复 DatePicker.RangePicker 当鼠标移动到单元格之间时出现闪烁样式的问题。#51533 @afc163
- 🆕 DatePicker 支持
- Input.OTP
- 🆕 Input.OTP 组件新增
onInput事件用于获取用户每一次输入的值。#51289 @aojunhao123 - 🐞 修复 Input.OTP 无法指定
inputMode的问题。#51271 @alan-rudzinski
- 🆕 Input.OTP 组件新增
- 🆕 ColorPicker 支持
disabledFormat属性以禁用格式切换器。#51539 @su-muzhi - 🆕 为 InputNumber 组件的
focus方法增加cursor配置项以控制光标位置。#51444 @aojunhao123 - 🆕 Cascader 新增
disabled属性以禁用组件的所有一级目录项。#51272 @aojunhao123 - 🆕 Descriptions 支持单行铺满。#51365 @crazyair
- 🆕 Select/TreeSelect/Cascader 组件增加
prefix属性以支持自定义前缀。#51186 @guoyunhe - 🐞 修复 Image 设置
ImageProps.preview.rootClassName导致预览图类名丢失。#51538 @dislido - 🐞 修复 TimePicker 面板列的最后一项无法滚动到最上面的问题。#51481 @zombieJ
- 🐞 修复 TreeSelect 弹层高度不够的问题。#51567 @afc163
- 🐞 修复 Typography 在 ConfigProvider 语言切换时候没有立即更新。#51453 @thinkasany
- 🐞 修复 Upload
itemRender调用action.preview会导致崩溃的问题。#51419 @yoyo837 - 🐞 修复 Splitter 伪元素符号问题。#51536 @dislido
- 💄 优化 Collapse 可访问性属性和鼠标 hover 样式。#51400 @afc163
- 💄 修复 Menu title 内容的样式问题。#51425 @coding-ice
- 🇵🇹 修正葡萄牙语 (pt_PT) 本地化文件中的翻译,以提高准确性和一致性。#51501 @alexandre-p-marques-alb
- 🇺🇿 优化 uz_UZ 国际化。#51407 @Zukhrik
- TypeScript
v5.21.6
- 🐞 Fix Tree.DirectoryTree interactive area not being a whole row. #51210
- 🐞 Fix the Button icon was not vertically centered. #51381
- 🐞 Fix the pointer style not set to
not-allowedin thedisabledstate whenvariantof the Input was set toborderless. #51387 @ustcfury - Splitter
- 💄 Improve the pre-rendered style of Splitter under SSR. #51378
- 💄 Increased the click area of the Splitter collapse button to improve usability. #51383 @aojunhao123
- 💄 Improve Checkbox
indeterminateto enhance accessibility experience. #51350 @SpaNb4 - 💄 Improve the
titleof the Empty preset svg image to improve accessibility experience. #51368
- 🐞 修复 Tree.DirectoryTree 交互区域不是整行的问题。#51210
- 🐞 修复 Button 图标未垂直居中的问题。#51381
- 🐞 修复 Input 组件
variant设置borderless时,disabled状态下指针样式未设置not-allowed的问题。#51387 @ustcfury - Splitter
- 💄 优化 Splitter 在 SSR 下预渲染的样式。#51378
- 💄 增大 Splitter 折叠按钮点击区域,提高可用性。#51383 @aojunhao123
- 💄 优化 Checkbox
indeterminate提升无障碍体验。#51350 @SpaNb4 - 💄 优化 Empty 预设 svg 图片的
title提升无障碍体验。#51368
v5.21.5
- 🐞 Fix Cascader filter limitation not working when
limitset tofalse. #51263 @dongbanban - 🐞 Fix DatePicker disabled items cannot response mouse events bug. #51294 @ajenkins-mparticle
- 🐞 Fix FloatButton menu problem what is difficult to click. #51208 @aojunhao123
- 🐞 Fix QRCode
onRefreshproperty not working properly. #51315 @kiner-tang - 🐞 Fix Typography links cannot be selected by user. #51243 @thinkasany
- 💄 Fix Badge incorrect token of texts. #51252 @Wxh16144
- 💄 Fix Layout lost styles of collapse button. #51313 @aojunhao123
- 🛠 Improve Button event handler declaration. #42037 @SohaibRaza
- 🛠 Improve Splitter style token semantic name. #51223 @wanpan11
- 🐞 修复 Cascader
limit属性设置false不生效的问题。#51263 @dongbanban - 🐞 修复 DatePicker 的禁用日期项无法响应鼠标事件的问题。#51294 @ajenkins-mparticle
- 🐞 修复 FloatButton 悬浮菜单难以点击的问题。#51208 @aojunhao123
- 🐞 修复 QRCode
onRefresh属性不生效的问题。#51315 @kiner-tang - 🐞 修复 Typography 中的超链接无法被用户选中的问题。#51243 @thinkasany
- 💄 修复 Badge 文本样式 token 不正确的问题。#51252 @Wxh16144
- 💄 修复 Layout 折叠按钮样式缺失的问题。#51313 @aojunhao123
- 🛠 优化 Button 事件处理器实现。#42037 @SohaibRaza
- 🛠 优化 Splitter 样式 token 的命名语义。#51223 @wanpan11
v5.21.4
- 🐞 Fixed Input.Search not applying the
hoverBorderColor/activeBorderColortoken for hover/active states. #51226 @iqingting - 🐞 Fix Tree icon align issue. #51181 @Meowu
- 🐞 Fix Splitter occasionally shows unnecessary scrollbars in nested combinations. #51169 @zombieJ
- 💄 Modify Design Token
textHoverBghover background tocolorFillTertiary. #51187 @coding-ice - TypeScript
- 🤖 Improve type of Switch
eventHandler. #51165 @thinkasany
- 🤖 Improve type of Switch
- 🐞 修复 Input.Search 无法使用 Input Token
hoverBorderColor/activeBorderColor修改边框颜色的问题。#51226 @iqingting - 🐞 修复 Tree 的图标不对齐的问题。#51181 @Meowu
- 🐞 修复 Splitter 在嵌套组合时,偶尔会出现多余滚动条的问题。#51169 @zombieJ
- 💄 修改 Design Token 的
textHoverBg悬浮状态下的背景色为colorFillTertiary。#51187 @coding-ice - TypeScript
- 🤖 优化 Switch
eventHandler类型。#51165 @thinkasany
- 🤖 优化 Switch
v5.21.3
- 💄 Added a scroll bar to Dropdown when having many items. #51112 @Cameron-Asdf
- Slider #51150 @yoyo837
- 🐞 Fix Slider issue where the
idprop is not supported. - 🐞 Fix Slider to address the issue causing
useLayoutEffect does nothing on the serverwarning whenextractStyleis invoked.
- 🐞 Fix Slider issue where the
- 🐞 Fix ColorPicker with gradient mode, sometimes handle color will be force sync back to first handle color issue. #51161 @zombieJ
- 🐞 Fix Table
onChangefunction receiving incorrect sorter value. #51114 @nathanlao - Splitter
- 🐞 Fix the issue about throw a warning when Splitter nested in a hidden tab panel. #51109 @kiner-tang
- 🐞 Fix the issue about Splitter had unexpected gaps in Flex. #51096 @kiner-tang
- 🐞 MISC: Restore
reactandreact-dompeerDependencies. #51079 @chentsulin - TypeScript
- 🤖 Improve type of Slider
eventName. #51156 @thinkasany
- 🤖 Improve type of Slider
- 💄 优化 Dropdown 列表较长时的滚动条样式。#51112 @Cameron-Asdf
- Slider #51150 @yoyo837
- 🐞 修复 Slider 不支持
id属性的问题。 - 🐞 修复 Slider 导致
extractStyle时抛出useLayoutEffect does nothing on the server警告信息的问题。
- 🐞 修复 Slider 不支持
- 🐞 修复 ColorPicker 渐变色时,部分节点颜色拖拽会被强制重置为第一个节点颜色的问题。#51161 @zombieJ
- 🐞 修复 Table 组件在切换页面时
onChange函数接收到错误的 sorter 值的问题。#51114 @nathanlao - Splitter
- 🐞 修复 Splitter 嵌套在一个隐藏的 Tabs 面板中时抛出警告的问题。#51109 @kiner-tang
- 🐞 修复 Splitter 组件在 Flex 组件下时出现异常间距的问题。#51096 @kiner-tang
- 🐞 杂项:重新将
react和react-dom添加进 peerDependencies。#51079 @chentsulin - TypeScript
- 🤖 优化 Slider
eventName类型。#51156 @thinkasany
- 🤖 优化 Slider
v5.21.2
- 🐞 Revert #49221 to fix Typography
copyableicon align issue. #51066 @afc163 - 🐞 Fix Tabs flicker when browser zoom is enabled. #51072 @afc163
- 🐞 Fix Select incorrect
activeBorderColortoken when variant is filled. #51054 @coding-ice - 🐞 Fixed Input.Search alignment issue between the input field and search button at different zoom levels. #50926 @nathanlao
- 💄 MISC: Tweak outline width of focus style from
4pxto3px. #51069 @afc163 - Splitter
- 🐞 Fixed the issue with Splitter dragging abnormally on touch screen devices. #51060 @sakuraee
- 💄 Fixed Splitter.Panel style is invalid error. #51032 @wanpan11
- ⚡️ Remove TransButton in Table/Transfer/Typography. #51068 @afc163
- 🐞 回滚 #49221 以修复 Typography
copyable图标位置偏上的问题。#51066 @afc163 - 🐞 修复 Tabs 在浏览器缩放时无限闪烁的问题。#51072 @afc163
- 🐞 修复了 Input.Search 组件中在不同缩放级别下输入框和按钮的对齐问题。#50926 @nathanlao
- 🐞 修复 Select
variant="filled"时activeBorderColortoken 失效的问题。#51054 @coding-ice - 💄 MISC: 调整 focus 时的 outline 边框宽度,从
4px调整到3px。#51069 @afc163 - Splitter
- 🐞 修复 Splitter 在触屏设备上拖拽异常的问题。#51060 @sakuraee
- 💄 修复 Splitter.Panel 无法隐藏的问题。#51032 @wanpan11
- 📦 移除 Table/Transfer/Typography 内的 TransButton 实现以降低打包体积。#51068 @afc163
v5.21.1
- 🐞 Fix Button issue where
type="link"incorrectly usedcolorPrimary. #50962 @coding-ice - 🐞 Fix Button style class name weight issue that caused custom gradient styles to be overridden. #50962 @coding-ice
- 🐞 Fix Transfer width issue when customized as TableTransfer. #50974 @zombieJ
- 🇹🇷 Add Turkish text for
filterCheckallin Table component. #51000 @ytahirkose
- 🐞 修复 Button
type="link"错误使用colorPrimary的问题。#50962 @coding-ice - 🐞 修复 Button 样式类名权重问题导致的自定义渐变样式覆盖失效的问题。#50962 @coding-ice
- 💄 修复 Transfer 在自定义为 TableTransfer 时,宽度不正确的问题。#50974 @zombieJ
- 🇹🇷 补充 Table 组件
filterCheckall的土耳其语文案。#51000 @ytahirkose
v5.21.0
- 🔥 Introduce the new Splitter component, draggale split panel. #50038 @wanpan11
- Button
- 🔥 Button supports
variantandcolorproperties for more combination styles. #50051 @coding-ice - 💄 Button adds
textColor,textHoverColorandtextActiveColortokens. #47870 @madocto
- 🔥 Button supports
- FloatButton
- 🆕 FloatButton supports
placementproperty, allowing menus to pop up from multiple directions. #50407 @li-jia-nan - 🆕 FloatButton supports
htmlTypeprop. #50892 @li-jia-nan - 💄 Unify FloatButton and FloatButton.Group button round style. #50513 @Layouwen
- 💄 Manage FloatButton's
z-indexwithuseZIndexto improve compatibility with other popup components. #50311 @li-jia-nan
- 🆕 FloatButton supports
- Menu
- 🆕 Menu.Item and Dropdown's
menusupportsextraprop now. #50431 @coding-ice - 🐞 Fix Menu
popupStylenot working on SubMenu. #50922 @Wxh16144
- 🆕 Menu.Item and Dropdown's
- Table
- 🆕 Table supports
minWidthfor columns. #50416 @linxianxi - 🐞 Fix Table empty and shadow issues in virtual mode. #50416 @linxianxi
- 🐞 Fix Table column selection issue where deselection was not possible under certain circumstances. #50746 @Jarryxin
- 🆕 Table supports
- Input
- 🆕 Input.OTP support
typeto help handle some case need number only. #50811 @zombieJ - 🐞 Fix Select inside Input addon text color when Select is focused. #50486 @DDDDD12138
- 🆕 Input.OTP support
- Modal
- Descriptions
- 🐞 Fix Descriptions column is missing in some cases. #50895 @yezhonghu0503
- 🐞 Revert #49946 to fix the issue where the popup layer component inside Descriptions is being cut off. #50891 @afc163
- Upload
- 🆕 Upload will pass
nameprop to<input type="file" />. #50652 @Wxh16144 - 🆕 Upload
showUploadList.showXxxIconaccept a function value now. #50245 @guoyunhe
- 🆕 Upload will pass
- ColorPicker
- App
- 🐞 Fixed App warn about
zIndextoo large when using themodalwith having popup component method viauseApp. #50829 @zombieJ - 🐞 Fix App rtl style does not respect ConfigProvider direction prop. #50246 @li-jia-nan
- 🐞 Fixed App warn about
- Pagination
- Select
- 💄 Add more tokens for Select to customize hover/focus style. #50951 @kiner-tang
- 🐞 Fix Select search text overlap with arrow icon. #50917 @yezhonghu0503
- 🐞 Fix Select extra background of clear icon when enable
allowClearandvariant="filled". #50916 @thinkasany
- 🆕 Segmented adds
verticalproperty and improves accessibility. #50708 @liangchaofei - 🆕 Radio.Group supports
blockprop now. #50828 @yuanliu147 - 🆕 ConfigProvider supports configuring the
classNameandstyleproperties of the Splitter component. #50855 @li-jia-nan - 🆕 Image add
onActivetotoolbarRenderfor toggling images . #50812 @madocto - 🆕 Add ref on List component. #50772 @Asanio06
- 🆕 Collapse support
classNamesandstylesfor semantic style customization. #50557 @wanpan11 - 💄 Make Skeleton.Node custom node by remove it's default icon children. #50278 @afc163
- 🐞 Fix Layout.Sider can not modify theme when used alone. #50780 @zombieJ
- 🐞 Fix Typography
copyablewith arraychildrenhas additional,string issue. #50813 @zombieJ - 🐞 Fix Tour where long title will overlap with close button. #50942 @kiner-tang
- 🌐 Localization
- 🇯🇵 Added
ja_JPlocale for DatePicker'sshortWeekDaysandshortMonthstext. #50893 @harapeko - 🇪🇬 Added Arabic
ar_EGtext for Image preview feature. #50851 @nathanlao - 🇬🇷 Added Greek text for the Form component. #50825 @nathanlao
- 🇪🇸 Added Spanish
es_EStext for the Tour component. #50805 @thinkasany
- 🇯🇵 Added
- TypeScript
- 🤖 Checkbox adds onFocus
andonBlur` in type definition. #50842 @huiliangShen - 🤖 Fix Badge property type definition to support passing mouse events. #50774 @yuanliu147
- 🤖 Checkbox adds onFocus
- 🔥 全新 Splitter 区域分割组件,自由拖拽调整区域大小。#50038 @wanpan11
- Button
- 🔥 Button 支持
variant变体和color颜色属性,以支持更多组合样式。#50051 @coding-ice - 💄 Button 添加
textColor、textHoverColor和textActiveColor三个 token。#47870 @madocto
- 🔥 Button 支持
- FloatButton
- 🆕 FloatButton 组件支持
placement属性,支持从四个方向弹出菜单。(实现方式改为position: absolute+ flex 布局,可能会对你现有的布局造成 breaking change,请注意兼容)#50407 @li-jia-nan - 💄 统一 FloatButton 和 FloatButton.Group 的按钮圆角。#50513 @Layouwen
- 💄 FloatButton 组件的
z-index加入useZIndex管理,兼容弹层类组件。#50311 @li-jia-nan - 🆕 FloatButton 支持传入
htmlType属性。#50892 @li-jia-nan
- 🆕 FloatButton 组件支持
- Menu
- 🆕 Menu.Item 和 Dropdown 的 menu 支持
extra属性。#50431 @coding-ice - 🐞 修复 Menu
popupStyle在 SubMenu 上失效的问题。#50922 @Wxh16144
- 🆕 Menu.Item 和 Dropdown 的 menu 支持
- Table
- 🆕 Table 列支持配置
minWidth属性。#50416 @linxianxi - 🐞 修复 Table 虚拟表格下的空数据和阴影问题。#50416 @linxianxi
- 🐞 修复 Table 列选择在某些情况下无法取消选择的问题。#50746 @Jarryxin
- 🆕 Table 列支持配置
- Input
- 🆕 Input.OTP 添加
type属性以支持只需要输入数字的场景。#50811 @zombieJ - 🐞 修复 Input Addon 内 Select 选中时的文字颜色。#50486 @DDDDD12138
- 🆕 Input.OTP 添加
- Modal
- Descriptions
- 🐞 优化 Descriptions 在某些情况下列内容消失的问题。#50895 @yezhonghu0503
- 🐞 回滚 #49946 以修复 Descriptions 内弹层组件被截断的问题。#50891 @afc163
- Upload
- 🆕 Upload
name属性将透传给<input type="file" />。#50652 @Wxh16144 - 🆕 Upload 的
showUploadList.showXxxIcon选项支持传入函数。#50245 @guoyunhe
- 🆕 Upload
- ColorPicker
- App
- 🐞 修复 App 的
useApp调用modal方法时,填入弹层组件会警告zIndex过大的问题。#50829 @zombieJ - 🐞 修复 App rtl 样式不遵守 ConfigProvider
direction配置。#50246 @li-jia-nan
- 🐞 修复 App 的
- Pagination
- Select
- 💄 Select 组件新增一些 token 以支持自定义 hover 和 focus 样式。#50951 @kiner-tang
- 🐞 修复 Select 搜索模式下搜索词内容覆盖右侧图标的问题。#50917 @yezhonghu0503
- 🐞 修复 Select 同时启用
allowClear和variant="filled"时清除图标多余的白色背景的问题。#50916 @thinkasany
- 🆕 Segmented 新增
vertical属性以支持垂直模式,并优化了可访问性。#50708 @liangchaofei - 🆕 Radio.Group 支持
block属性以撑满一行。#50828 @yuanliu147 - 🆕 ConfigProvider 支持配置 Splitter 组件的
className和style属性。#50855 @li-jia-nan - 🆕 Image 新增
onActive到toolbarRender以切换图片 。#50812 @madocto - 🆕 List 组件支持传递
ref属性。#50772 @Asanio06 - 🆕 Collapse 支持语义化
classNames和styles属性。#50557 @wanpan11 - 💄 移除 Skeleton.Node 默认的图标
children使其成为真正的自定义节点。#50278 @afc163 - 🐞 修复 Typography
copyable对数组children复制时会有额外,字符的问题。#50813 @zombieJ - 🐞 修复 Layout.Sider 单独使用时无法修改主题的问题。#50780 @zombieJ
- 🐞 修复 Tour 组件标题过长时会遮挡关闭按钮的问题。#50942 @kiner-tang
- 🌐 本地化
- 🇯🇵 补充 DatePicker
ja_JP语言环境的shortWeekDays和shortMonths文案。#50893 @harapeko - 🇪🇬 补充 Image 预览功能的
ar_EG阿拉伯语文案。#50851 @nathanlao - 🇬🇷 补充 Form 组件的希腊语文案。#50825 @nathanlao
- 🇪🇸 补充 Tour 组件的西班牙语文案。#50805 @thinkasany
- 🇯🇵 补充 DatePicker
- TypeScript
- 🤖 Checkbox 新增
onFocus和onBlur类型定义。#50842 @huiliangShen - 🤖 修复 Badge 属性类型定义不支持传递鼠标事件的问题。#50774 @yuanliu147
- 🤖 Checkbox 新增
v5.20.6
- 🐞 Improve Menu collapse animation smoothness. #50751 @afc163
- 🐞 Fix Table cell overflow bug if edit with virtual scroll. #50737 @huiliangShen
- 🐞 Fix Input.Search button radius not changing with
size. #50734 @afc163 - 🐞 Fix Form password still can be toggle show/hide even if disabled. #50616 @Jarryxin
- 🐞 Revert #49899 to fix wrap behavior for Dropdown, and re-fix wrap when out of screen edge. #50718 @afc163
- 💄 Fix Badge background transition when mouse out. #50743 @coding-ice
- TypeScript
- 🤖 Fix Collapse types for
onChangearguments. #50754 @yuanliu147
- 🤖 Fix Collapse types for
- 🐞 修复 Menu 折叠动画不够丝滑的问题。#50751 @afc163
- 🐞 修复 Table 虚拟滚动时单元格宽度可能溢出的问题。#50737 @huiliangShen
- 🐞 修复 Input.Search 的按钮圆角不随
size变化的问题。#50734 @afc163 - 🐞 修复 Form 禁用时仍可切换密码显隐的问题。#50616 @Jarryxin
- 🐞 回滚 #49899 以修复 Dropdown 菜单项文字溢出菜单的问题,并重新修复屏幕视口外菜单项内容换行错误的问题。#50752 #50718 @afc163
- 💄 修复 Badge 鼠标移出时无背景色过渡动画的问题。#50743 @coding-ice
- TypeScript
- 🤖 修复 Collapse 的
onChange的函数入参类型。#50754 @yuanliu147
- 🤖 修复 Collapse 的
v5.20.5
- 🛠 Adjust Tree & TreeSelect
defaultExpandAlllogic to only add internalexpandedKeyswhichtreeNodehas children instead to avoid perf issue when with large data orloadDatacase. #50689 @zombieJ - 🐞 Fix Cascader not show parent option in search when using
multiple. #50689 - 🐞 Fix Typography
ellipsis.tooltip.titlewith ReactNode will cause dead loop. #50688 @zombieJ
- 🛠 调整 Tree 与 TreeSelect 的
defaultExpandAll的行为,仅将有子节点的treeNode加入expandedKeys以防止在大数据与loadData异步的情况下引发的性能问题。#50689 @zombieJ - 🐞 修复 Cascader 在
multiple下搜索不会显示父节点作为选项的问题。#50689 - 🐞 修复 Typography
ellipsis.tooltip.title配置 ReactNode 会导致死循环的问题。#50688 @zombieJ
v5.20.4
- Menu
- 🐞 Fix Menu token
itemPaddingInline inoperativenot working. #50663 @coding-ice - 🐞 Fix Menu missing
hovertransition style. #50624 @afc163
- 🐞 Fix Menu token
- 💄 Badge add transition effect to count node. #50607 @afc163
- 💄 Fix Table column header move with unexpected transition. #50605 @afc163
- 🛠 Refactor Typography code to optimize internal logic. #50561 @afc163
- 🐞 Disable the Rate component within Form.Item when the form is disabled. #50594 @nikzanda
- 🌐 Patch tr_TR
Transfer.deselectAlllocale. #50672 @coding-ice
- Menu
- 🐞 修复 Menu 的
itemPaddingInlinetoken 不生效的问题。#50663 @coding-ice - 🐞 修复 Menu
hover时背景色切换渐变效果丢失的问题。#50624 @afc163
- 🐞 修复 Menu 的
- 💄 给 Badge 增加一个动画缓动效果。#50607 @afc163
- 💄 修复 Table 列头切换状态时多余的的移动缓动动画。#50605 @afc163
- 🛠 重构 Typography 代码以优化内部实现逻辑。#50561 @afc163
- 🐞 当表单被禁用时,禁用 Form.Item 中的 Rate 组件。#50594 @nikzanda
- 🌐 补充土耳其
Transfer.deselectAll本地化文本。#50672 @coding-ice
v5.20.3
- 🐞 Refactor Typography native css ellipsis measure logic to handle precision edge case. #50514 @zombieJ
- 🐞 Fix ColorPicker
onChangeCompletenot correct when click directly without move on the picker panel. #50501 @zombieJ - 🐞 Fix FloatButton.Group with controlled mode warning for nest updating issue. #50500 @zombieJ
- 🐞 重构 Typography 在使用 css 原生省略时的检查逻辑,以解决屏幕缩放等情况下的精度问题。#50514 @zombieJ
- 🐞 修复 ColorPicker 组件在面板上不拖拽直接点击的时候,
onChangeComplete返回值不正确的问题。#50501 @zombieJ - 🐞 修复 FloatButton.Group 在受控模式下 React 会警告递归更新的问题。#50500 @zombieJ
v5.20.2
- 💄 Fix the suffix style problem of InputNumber without control. #50450 @coding-ice
- 🆕 Form
rule.messagesupports skipping variable substitution through\\${}. #50412 @zombieJ - 🐞 Fixed the issue where the rounded corners of the trigger element are missing when the FloatButton component has shape="square" and in menu mode when the menu pops up. #50408 @li-jia-nan
- 🐞 Fixed the problem that Upload.Dragger does not work when dragging and dropping upload folders. #50394 @huiliangShen
- 🐞 Fixed the issue where the arrow icon disappears after hovering when Select specifies
getPopcontainer={node=node.parentNode}. #50382 @afc163 - 🐞 Fixed the arrow misalignment error when Popover sets the
arrow.pointAtCenterproperty. #50260 @Wxh16144 - 📖 Transfer adds Russian and Ukrainian localization copy. #50429 @alexlag
- TypeScript
- 🤖 Roll back the Table partial generic constraint object to any to reduce break changes caused by #50351. #50372 @crazyair
- 💄 修复 InputNumber 没有控件的后缀样式问题。#50450 @coding-ice
- 🆕 Form
rule.message支持通过\\${}跳过变量替换。#50412 @zombieJ - 🐞 修复了 FloatButton 组件当 shape=“square” 时,并且在菜单模式下,菜单弹出时 trigger 元素圆角缺失的问题。#50408 @li-jia-nan
- 🐞 修复 Upload.Dragger 拖拽上传文件夹时不工作问题。#50394 @huiliangShen
- 🐞 修复 Select 指定
getPopcontainer={node=node.parentNode}时箭头图标 hover 后会消失的问题。#50382 @afc163 - 🐞 修复 Popover 设置
arrow.pointAtCenter属性时箭头未对齐错误。#50260 @Wxh16144 - 📖 Transfer 补充俄罗斯语和乌克兰语本地化文案。#50429 @alexlag
- TypeScript
- 🤖 将 Table 部分泛型约束 object 回滚为 any,以减少 #50351 造成的 break change。#50372 @crazyair
v5.20.1
- ColorPicker
- 💄 Fix Table
zIndexTableFixedtoken not support CSS var. #50355 @li-jia-nan - 🐞 Fix FloatButton don't support
zIndexPopupBasetoken. #50349 @Yuzu-io - 🐞 Fix Typography
tooltipnot show with precision issue ofellipsis. #50315 @zombieJ - 🐞 Fix Form
preserve={false}should not triggershouldUpdatererender. #50283 @zombieJ - 🐞 Fix Tour default
z-indexnot followzIndexPopuptoken issue. #50300 @zombieJ - 🐞 Fix Calendar
localeshould overridelocalefrom ConfigProvider. #50236 @Asanio06 - 🐞 Fix Spin align issue when setting
percent. #50277 @Wxh16144 - 🐞 Fix Tree switcher position not ping at top when title break the line. #50313 @zombieJ
- 🌐 Locales
- 🇦🇿 Fix missing spaces of
az_AZlocale. #50238 @thinkasany
- 🇦🇿 Fix missing spaces of
- TypeScript
- 🤖 Refine Table all Record types from any to Object. #50351 @li-jia-nan
- ColorPicker
- 💄 修复 Table
zIndexTableFixedtoken 不支持传入 CSS 变量的问题。#50355 @li-jia-nan - 🐞 修复 FloatButton 不支持
zIndexPopupBasetoken 的问题。#50349 @Yuzu-io - 🐞 修复 Typography 的
ellipsis因为精度问题导致tooltip无法显示的问题。#50315 @zombieJ - 🐞 修复 Form
preserve={false}会触发shouldUpdatererender 的问题。#50283 @zombieJ - 🐞 修复 Tour 默认
z-index没有使用zIndexPopuptoken 的问题。#50300 @zombieJ - 🐞 修复 Calendar
locale没有正确覆盖 ConfigProviderlocale的问题。#50236 @Asanio06 - 🐞 修复 Spin 组件设置
percent时未水平居中的问题。#50277 @Wxh16144 - 🐞 修复 Tree 展开按钮在标题折行时没有顶上对齐的问题。#50313 @zombieJ
- 🌐 本地化
- 🇦🇿 修复
az_AZ本地化文案缺少空格的问题。#50238 @thinkasany
- 🇦🇿 修复
- TypeScript
- 🤖 优化 Table 中所有的 Record 类型从 any 约束为 Object 类型。#50351 @li-jia-nan
v5.20.0
- 🛠 Replace ColorPicker internal
@ctrl/tiny-colorwith@ant-design/fast-color. #49846 - 🆕 ConfigProvider support indicator property for Spin. #50183 @coding-ice
- 🆕 Upload
showUploadListsupportextrafor additional content. #50098 @guoyunhe - 🆕 Tree support custom loading icon for tree nodes with new prop
switcherLoadingIcon. #49716 @coding-ice - 🆕 Slider support
range.editableto dynamic add/remove handles. #49923 - 🆕 Slider
range.editablesupportminCountandmaxCount. #49987 - 🆕 Support custom status render in QRCode. #49563 @kiner-tang
- 🆕 Table component supports custom Filter dropdown box empty status. #49613 @Wxh16144
- 🆕 Allow user to add the Divider style of
dashed,dottedorsolid. #49654 @pinaki-08 - 🆕 InputNumber supports
suffixprop. #49674 @coding-ice - 🆕 ColorPicker support gradient color type and fix controlled mode not working. #50050
- 🆕 Input/TextArea/Mentions support
onClearprop. #49905 @li-jia-nan - ⌨️ Optimize Input be changed repeatedly when hold the enter key in multi-mode. rc-input#72 @crazyair
- 🐞 Fix the issue where line-height is not effective in cssinjs mode for ColorPicker. #50220 @vagusX
- 🐞 Fix cursor disabled state for ColorPicker. #50217 @coding-ice
- 🐞 Fix grouping columns does not apply sorting for Table. #50086 @Zyf665
- 🐞 Fix Popover/PopConfirm/Tooltip with
topLeft,topRight,bottomLeft,bottomRightzoom in transform origin not correct when target element width is too large. #50134 - 💄 Fix Tree filter node style lost. #49773 @wanpan11
- 💄 Optimize ColorPicker when selecting a color from the
transparentstate, it defaults to using a bright color instead of black color to enhance the user interaction experience. #50148 - TypeScript
- 🤖 Component Token support string and number. #49837 @thinkasany
- 🤖 Improve Radio export types. #50203 @baicie
- 🌐 Locales
- 🇪🇸 Improve Spanish translation. #50179 @sergioalmela
- 🇺🇦 Add missed translation in uk_UA. #50178 @Andrik264
- 🛠 替换 ColorPicker 内部使用的
@ctrl/tiny-color为@ant-design/fast-color。#49846 - 🆕 ConfigProvider 支持配置 Spin 的 indicator 属性。#50183 @coding-ice
- 🆕 Upload
showUploadList添加extra以支持渲染额外信息。#50098 @guoyunhe - 🆕 Tree 新增
switcherLoadingIcon属性以支持自定义树节点的加载图标#49716 @coding-ice - 🆕 Slider 支持
range.editable以动态添加/删除节点。#49923 - 🆕 Slider
range.editable支持minCount与maxCount以配置可编辑节点树。#49987 - 🆕 在 QRCode 中支持自定义状态渲染。#49563 @kiner-tang
- 🆕 Table 组件支持自定义过滤器下拉框空状态。 #49613 @Wxh16144
- 🆕 Divider 支持添加
dashed(虚线)、dotted(点线)或solid(实线)的样式。#49654 @pinaki-08 - 🆕 InputNumber 支持
suffix属性。#49674 @coding-ice - 🆕 ColorPicker 支持渐变色选择,并修复受控模式不生效的问题。#50050
- 🆕 Input/TextArea/Mentions 组件支持
onClear回调,便于区分点击 x 清除和手动清除这两个行为。#49905 @li-jia-nan - ⌨️ 优化 Input 下长按回车会不断触发变更的问题。rc-input#72 @crazyair
- 🐞 修复 ColorPicker 在 cssinjs 模式下 line-height 失效的问题。#50220 @vagusX
- 🐞 修复 ColorPicker 在 disabled 状态下的光标问题. #50217 @coding-ice
- 🐞 修复 Table 中列存在分组时,排序不生效的问题。#50086 @Zyf665
- 🐞 修复 Popover/PopConfirm/Tooltip 在目标元素宽度过大时,使用
topLeft,topRight,bottomLeft,bottomRight的弹出动画起始缩放中心有所偏移的问题。#50134 - 💄 修复 Tree 组件 filter-node 节点高亮样式丢失。#49773 @wanpan11
- 💄 优化 ColorPicker 当从
transparent状态进行颜色选取时,默认使用亮色以代替原本的纯黑色以提升用户交互体验。#50148 - TypeScript
- 🤖 Component Token 支持 string 或 number。#49837 @thinkasany
- 🤖 改进 Radio 类型导出。#50203 @baicie
- 🌐 Locales
- 🇪🇸 改进西班牙语本地化文案。#50179 @sergioalmela
- 🇺🇦 补全
uk_UA本地化文案。#50178 @Andrik264
v5.19.4
- 🐞 Fix the internal elements of Form.Item did not inherit the row height. #50020 @Wanpan
- 🐞 Fix Overlay is still displayed when both Popover
titleandcontentdo not exist. #50064 @LLmoskk - 🐞 Fix the Token of Empty setting
opacityImagedoes not take effect. #50066 @thinkasany - 💄 Fix Tour overflowed the screen on mobile devices. #50082
- 💄 Fix hover style of Checkbox
indeterminatestate. #50083 - 💄 Fix DatePicker selection style is not intuitive under rtl. #50045 @Layouwen
- 💄 Fix Descriptions overflowing the container in
borderedmode. #49946 @leefinder - 🛠 MISC: Migrate common style tools to
@ant-design/cssinjs-utils. #50030 @YumoImer - 🌐 Locales
- 🇵🇱 Add DatePicker locales for pl_PL. #50023 @ang33l
- 🇧🇪🇫🇷 Add Modal Tour locales for fr_BE fr_FR. #50058 @JaccoGoris
- 🐞 修复 Form.Item 内部元素没有继承行高的问题。#50020 @Wanpan
- 🐞 修复 Popover
title和content都不存在时 Overlay 仍显示的问题。#50064 @LLmoskk - 🐞 修复 Empty Token 设置
opacityImage不生效的问题。#50066 @thinkasany - 💄 修复 Tour 在移动端下溢出屏幕的问题。#50082
- 💄 修复 Checkbox
indeterminate状态的 hover 样式。#50083 - 💄 修复 DatePicker 在 rtl 下选择样式不符直觉。#50045 @Layouwen
- 💄 修复 Descriptions 在
bordered模式下溢出容器的问题。#49946 @leefinder - 🛠 MISC:将通用样式工具迁移到
@ant-design/cssinjs-utils。#50030 @YumoImer - 🌐 国际化
- 🇵🇱 为 pl_PL 补充 DatePicker 国际化。#50023 @ang33l
- 🇧🇪🇫🇷 为 fr_BE fr_FR 补充 Modal Tour 国际化。#50058 @JaccoGoris
v5.19.3
- 🐞 Fix Table sorter argument of
onChangewith unexpected value. #49533 @Zyf665 - 🐞 Fix Pagination
token.itemBgnot working. #49933 - 🐞 Fix List wrong align style of pagination. #49925 @coding-ice
- 🐞 Fix Image cannot exit preview, when click blank area on both sides of aciton bar. #49915 @wanpan11
- 🐞 Fix Card border radius cannot works for non-img elements from
coverproperty. #49862 @coding-ice - 💄 Fix Dropdown menu item wrong wrap style at edge of viewport. #49899
- 💄 Fix Descriptions items may too close with each other. #49895 @crazyair
- ⌨️ Optimize Select be changed repeatedly when hold the enter key in multi-mode. #49963 @crazyair
- 🇪🇬 Add missing translation for the Arabic language(Egypt) (ar_EG). #49852 @ahmedsamirdev
- TypeScript
- 🤖 Reuse Tooltips type definitions for ColorPicker. #49949 @Wxh16144
- 🐞 修复 Table 的
onChange事件中排序器参数错误的问题。#49533 @Zyf665 - 🐞 修复 Pagination
token.itemBg设置不生效的问题。#49933 - 🐞 修复 List 默认分页位置错误的问题。#49925 @coding-ice
- 🐞 修复 Image 预览操作栏两侧空白区域被点击时,无法关闭预览的问题。#49915 @wanpan11
- 🐞 修复 Card 圆角对
cover属性中的非 img 元素不生效的问题。#49862 @coding-ice - 💄 修复 Dropdown 菜单内容在视口边缘换行的问题。#49899
- 💄 修复 Descriptions 子项之间可能没有边距的问题。#49895 @crazyair
- ⌨️ 优化 Select 多选模式下长按回车会不断触发变更的问题。#49963 @crazyair
- 🇪🇬 添加阿拉伯文(埃及) (ar_EG) 的翻译。#49852 @ahmedsamirdev
- TypeScript
- 🤖 复用 Tooltips 的定义以简化 ColorPicker 的类型声明。#49949 @Wxh16144
v5.19.2
- 🐞 Fix List render
0whenactions={[]}. #49842 @int64ago - 🐞 Fix Upload with dragging upload, the
fileListinbeforeUploadis not fully filled. #49832 @coderz-w - Descriptions
- 🐞 Fix Descriptions overlap when content is too long. #49803 @coding-ice
- 🐞 Fix Descriptions render style issue when under Table
expandedRowRender. #49727 @ljw-codeking
- 🐞 Fix Spin style issue when use
percentandsizeat same time. #49876 - 🇮🇳 Fill DatePicker
kn_INmissing locales. #49860 @neerajap-01 - Typescript
- 🐞 Fix Tree
iconandswitcherIconparameter types not being correctly inferred. #49821 - 🐞 Revert Cascader
multipledefinition casevaluedefinition missing. #49741 @YangZhi1
- 🐞 Fix Tree
- 🐞 修复 List
actions为空数组时会渲染0的问题。#49842 @int64ago - 🐞 修复 Upload 拖拽上传文件夹时,
beforeUpload中fileList不完整的问题。#49832 @coderz-w - Descriptions
- 🐞 修复 Descriptions 在内容过长时会遮盖后面内容的问题。#49803 @coding-ice
- 🐞 修复 Descriptions 在 Table
expandedRowRender中渲染样式异常的问题。#49727 @ljw-codeking
- 🐞 修复 Spin
percent和size一同使用时,样式不正确的问题。#49876 - 🇮🇳 补充 DatePicker 的
kn_IN本地化文案。#49860 @neerajap-01 - Typescript
- 🐞 修复 Tree
icon和switcherIcon参数类型未能正确推导的问题。#49821 - 🐞 回滚 Cascader
multiple定义更新导致value定义丢失的问题。#49741 @YangZhi1
- 🐞 修复 Tree
v5.19.1
- 🐞 Global: @ant-design/colors use pre-compiled color presets to improve runtime performance. #49714 @guoyunhe
- 🐞 Global: No more limit max auto
zIndexincrease but use warning instead. #49720 - 🐞 Adjust position of Input.TextArea to be consistent with other data entry components. #49718 @wanpan11
- 🐞 Fix Input variant
filledactiveBorderColortoken invalid. #49699 @wanpan11 - TypeScript
- 🤖 Fix Cascader
multipletype issue. #49669 @YangZhi1
- 🤖 Fix Cascader
- 🐞 Global: @ant-design/colors 使用预编译颜色预设来提升运行时性能。#49714 @guoyunhe
- 🐞 Global: 对于弹层类自动增长
zIndex不再限制最大值,而是改成控制台警告。#49720 - 🐞 优化 Input.TextArea 清除图标的位置,与其他输入组件统一。#49718 @wanpan11
- 🐞 修复 Input 组件
filled变体下activeBorderColor不生效问题。#49699 @wanpan11 - TypeScript
- 🤖 修复 Cascader 组件
multiple的类型问题。#49669 @YangZhi1
- 🤖 修复 Cascader 组件
v5.19.0
- 🆕 ConfigProvider now supports global configuration for
variant. #49535 @MadCcc - QRCode
- QRCode uses
rc-qrcodeinstead ofqrcode.react. #49454 @kiner-tang - QRCode adding support for click events and
iconSizeconfiguration. #49240 @thinkasany
- QRCode uses
- 🆕 Select component's
filterSortproperty now includessearchValueparameter. #49352 @MadCcc - 🆕 Pagination adds
simpleproperty, supports read-only mode, and introducesalignproperty. #49562 @coding-ice - 🐞 Enhanced Anchor's
affixproperty for more configuration options. #49295 @gin-lsl - DatePicker
- 🐞 Fixed missing arrow in DatePicker/TimePicker RangePicker with
placementset totopRightorbottomRight.#49333 - 🐞 Fixed missing accessible text for DatePicker switch button, style issue in RTL mode for
DatePicker.RangePicker, and crash when entering wrong end value in year selection of DatePicker.RangePicker.#49333 - 🐞 Fixed DatePicker.RangePicker resetting selected dates when entering dates via keyboard. #49333
- 🐞 Fixed missing arrow in DatePicker/TimePicker RangePicker with
- 🐞 Button fixed
disabledproperty not working when used asDropdowntrigger. #47363 - 🐞 InputNumber now warns when using
type=numberwithchangeOnWheel. #49648 @wanpan11 - Table
- 🐞 Upload fixed rendering performance issue when listing many files in list mode. #49598 @tlkv
- 💄 Added initial styles for
SubMenunode in Menu. #49643 @wanpan11 - 💄 Improved active style for Slider handle. #49630
- 💄 Optimized
variant=borderlessstyle for DatePicker, TimePicker, Select, TreeSelect, Input, InputNumber, Mentions, now distinguishable when settingstatusproperty. #49608 - 🐞 Fixed Typography
ellipsisnot working when parent hasnowrapstyle. #49667 - TypeScript:
- 🤖 ConfigProvider Improved TypeScript definition for
renderEmptymethod. #49602 @Wxh16144
- 🤖 ConfigProvider Improved TypeScript definition for
- 🌐 Locales
- 🇹🇭 Added missing Thai translations for
Transfer.deselectAll,Text.collapse,QRCode.scanned,ColorPicker.presetEmpty. #49588 by @Tantatorn-dev - 🇳🇱 Fixed nl_NL localization issues for Tour. #49612 by @Hannnnnnnnnnnnnnnn
- 🇹🇷 Adjusted Turkish language text for
DatePicker. #49333
- 🇹🇭 Added missing Thai translations for
- 🆕 ConfigProvider 现支持全局配置
variant。#49535 @MadCcc - 🆕 QRCode
- QRCode 使用
rc-qrcode替代了qrcode.react。#49454 @kiner-tang - QRCode 新增支持点击事件和
iconSize宽高配置。#49240 @thinkasany
- QRCode 使用
- 🆕 Select 组件的
filterSort属性现新增获取searchValue的参数。#49352 @MadCcc - 🆕 Pagination 支持
simple={{ readOnly }}属性和align属性。#49562 @coding-ice - 💄 优化了 Slider 滑块的激活样式。#49630
- 🐞 增强了 Anchor 的
affix属性,支持更多配置项。#49295 @gin-lsl - DatePicker
- 🐞 Button 修复了用作 Dropdown
trigger时disabled属性不生效的问题。#47363 - 🐞 InputNumber 在同时使用
type=number和changeOnWheel时现在会给出警告提示。#49648 @wanpan11 - 🐞 修复 Dropdown 次级菜单 reset 样式丢失的问题。#49643 @wanpan11
- 💄 优化了 DatePicker、TimePicker、Select、TreeSelect、Input、InputNumber、Mentions 的
variant="borderless"样式,现在在设置status属性时也能够被区分。#49608 - Table
- 🐞 Upload 修复了在列表模式下文件过多时出现的渲染性能问题。#49598 @tlkv
- 🐞 Typography 修复在父元素存在
nowrap样式时,ellipsis不生效的问题。#49667 - TypeScript:
- 🤖 ConfigProvider 改进了
renderEmpty方法的 TypeScript 类型定义。#49602 @Wxh16144
- 🤖 ConfigProvider 改进了
- 🌐 国际化
- 🇹🇭 添加了缺失的泰语翻译,包括
Transfer.deselectAll、Text.collapse、QRCode.scanned、ColorPicker.presetEmpty。#49588 @Tantatorn-dev - 🇳🇱 Tour 修复了 nl_NL 本地化问题。#49612 @Hannnnnnnnnnnnnnnn
- 🇹🇷 调整了 DatePicker 的土耳其语言文案。#49333
- 🇹🇭 添加了缺失的泰语翻译,包括
v5.18.3
- 🐞 Revert #49289 to resolve Table sort state missing in some cases. #49487
- 🛠 Migrate the
genCalcandAbstractCalculatorto@ant-design/cssinjs. #49463 @YumoImer - 🇳🇵 Fix ne_NP missing locales. #49492 @FuliangZhang
- 🐞 回滚 #49289 以修复 5.18.2 引入的 Table 排序状态失效的问题。#49487
- 🛠 将样式处理的部分功能迁移到
@ant-design/cssinjs中。#49463 @YumoImer - 🇳🇵 补充 ne_NP 本地化文案。#49492 @FuliangZhang
v5.18.2
- 🐞 Fix the bug where the icon and the text aren't strictly centered in message. #49429 @nova1751
- 🐞 Fix Table sorter argument of
onChangewith unexpected value for #49134. #49289 @Zyf665 - 🐞 Add
aria-labelfor expand icon in Collapse. #49395 @wanpan11 - 🐞 Fix token
inputFontSizeSMandinputFontSizeLGnot working in InputNumber. #49369 - 💄 Fix Empty sometimes doesn't take
colorTextDescriptionas description text color. #49408 - 💄 Resolve Badge
processingstatus style conflict with Tailwind CSS. #49379 - 🌐 Locales
- 🇲🇳 Add missing translations for Mongol language (mn_MN). #49373 @JiyinShao
- 🐞 修复了 message 图标与文本内容没有严格居中对齐的问题。#49429 @nova1751
- 🐞 修复 #49134 #49289 中提到的 Table 组件的
onChange事件中排序器参数的问题。@Zyf665 - 🐞 为 Collapse 组件中展开/折叠图标 添加具有语义的
aria-label属性值。#49395 @wanpan11 - 🐞 修复 InputNumber 组件中 token
inputFontSizeSM和inputFontSizeLG不生效的问题。#49369 - 💄 修复 Empty 部分样式下,描述的
colorTextDescription不生效的问题。#49408 - 💄 解决 Badge
processing与 Tailwind CSS 样式冲突的问题。#49379 - 🌐 国际化
- 🇲🇳 添加蒙古语言 (mn_MN) 翻译。#49373 @JiyinShao
v5.18.1
- Typography
- 🐞 Fix Typography component's
ellipsisnot working properly inpretag. #49168 @nova1751 - 🐞 Fix Typography
ellipsissometimes not working in Safari. #49221
- 🐞 Fix Typography component's
- 🐞 Fix Space
sizesetting to 0 did not take effect. #49192 @coding-ice - 🐞 Fix
paddingof Progress text is invalid in cssinjs. #49250 @vagusX - 🐞 Fix Modal close button's
zIndexbeing incorrect incssVarmode. #49238 - 🐞 Fix Image
widthheightbeing applied to preview images. #49259 @nova1751 - 🐞 Fix the icon of the Pagination page switcher disappears when hovering. #49262
- 🐞 Fix Mentions not responding to Enter event when
loading=true. #49292 @wanpan11 - 🐞 Fix Notification did not inherit App config properties. #49339 @hemengke1997
- 💄 Fix the text color of Drawer was incorrect in dark mode. #49217
- 💄 Fix the style was not visible and the
percentprogress was not passed when customizing theindicatorof Spin. #49211 @wanpan11 - DatePicker
- TypeScript
- 🤖 Mentions added new export type
MentionsProps. #49281 @thinkasany - 🤖 Remove duplicate union type from Statistic. #49218 @thinkasany
- 🤖 Mentions added new export type
- 🌐 Locales
- 🇲🇾 Add Table、Form、Tour etc. ms_MY locale. #49353 @cs-gavin-huang
- 🇦🇿 Add DatePicker az_AZ locale. #49247 @sabitalizade
- Typography
- 🐞 修复 Typography 组件的
ellipsis在pre标签中没有正常工作的问题。#49168 @nova1751 - 🐞 修复 Typography
ellipsis在 Safari 中有时不生效的问题。#49221
- 🐞 修复 Typography 组件的
- 🐞 修复 Space
size设置 0 不生效的问题。#49192 @coding-ice - 🐞 修复 Progress 文本的 padding 在 cssinjs 下单位失效问题。#49250 @vagusX
- 🐞 修复 Modal 关闭按钮的
zIndex在cssVar模式下不正确的问题。#49238 - 🐞 修复 Image
widthheight被应用到预览图片上的问题。#49259 @nova1751 - 🐞 修复 Pagination 页码切换器 hover 时图标消失的问题。#49262
- 🐞 修复 Mentions 当
loading=true时不响应 Enter 事件的问题。#49292 @wanpan11 - 🐞 修复 Notification 没有继承 App config 属性的问题。#49339 @hemengke1997
- 💄 修复 Drawer 在暗黑模式下,文本颜色不正确的问题。#49217
- 💄 修复 Spin 自定义
indicator时,样式不可见以及percent进度没有传递的问题。#49211 @wanpan11 - DatePicker
- TypeScript
- 🤖 Mentions 新增导出类型
MentionsProps。#49281 @thinkasany - 🤖 移除 Statistic 重复的联合类型。#49218 @thinkasany
- 🤖 Mentions 新增导出类型
- 🌐 国际化
- 🇲🇾 补充 Table、Form、Tour 等 ms_MY 文案。#49353 @cs-gavin-huang
- 🇦🇿 补充 DatePicker az_AZ 文案。#49247 @sabitalizade
v5.18.0
- 🛎 Fix Button icon and text align issue by changing
inline-blocktoinline-flexand simplifyiconPositionimplementation. #47318 - Drawer
- 🆕 Drawer add
drawerRenderproperty to control render. #49125 @crazyair - 🛠 Drawer loading implementation changes to Skeleton from Spin. #48886 @li-jia-nan
- 🆕 Drawer add
- Form
- 🆕 Form.Item add
layoutproperty to toggle layout mode. #49119 @crazyair - 🆕 Form
refproperty supports to access the native element. #48841 @wanpan11 - 🆕 Form add
clearOnDestroyproperty to clear form data when destroy. #48921 @crazyair
- 🆕 Form.Item add
- Image
- 🆕 Image add
onResetandonCloseproperties. #48936 @kiner-tang - 🆕 Image supports get
imgInfofrom arguments oftoolbarRenderandimageRenderrender functions. #48729 @nova1751
- 🆕 Image add
- notification
- Progress
- 🆕 Progress add
percentPositionproperty to control position for percent value. #48157 @LonelySnowman - 🆕 Progress
sizeproperty supports object value. #48805 @crazyair
- 🆕 Progress add
- 🆕 Avatar.Group add
maxproperty for replacemaxCount、maxStyle、maxPopoverPlacementandmaxPopoverTriggerproperties. #49131 @wanpan11 - 🆕 Modal add
loadingproperty to show the skeleton. #48848 @li-jia-nan - 🆕 Rate add
keyboardproperty to ignore keyboard events. #49132 @Wxh16144 - 🆕 Spin support
percentto render as progress. #48657 - 🐞 Watermark add
overflow: hiddenstyle to prevent setheight: 0to hide the watermark case. #49130 - 🐞 Anchor fix scroll animation lost bug when set
replaceproperty. #49136 @mySkey - 🐞 Tour fix
currentargument ofonCloseis wrong. #49124 - 💄 List.Item add
stylesandclassNameproperties. #49154 @wanpan11 - 🇯🇵 DatePicker add missing ja_JP translations. #49155 @huyikai
- 🛠 Simplify several logics and type definitions. #49146 #49156 #49169 #49162 @coding-ice
- 🛎 Button 默认布局由
inline-block切换为inline-flex以修复图标和文字对齐问题,并简化了iconPosition的实现。#47318 - Drawer
- 🆕 Drawer 新增
drawerRender属性以支持自定义渲染。#49125 @crazyair - 🛠 Drawer 加载中的状态实现由 Spin 替换为 Skeleton。#48886 @li-jia-nan
- 🆕 Drawer 新增
- Form
- 🆕 Form.Item 新增
layout属性以切换布局方式。#49119 @crazyair - 🆕 Form 的
ref属性支持获取原生节点。#48841 @wanpan11 - 🆕 Form 新增
clearOnDestroy属性以在卸载时清空表单数据。#48921 @crazyair
- 🆕 Form.Item 新增
- Image
- 🆕 Image 新增
onReset和onClose属性。#48936 @kiner-tang - 🆕 Image 的
toolbarRender和imageRender渲染函数入参新增ImgInfo信息。#48729 @nova1751
- 🆕 Image 新增
- notification
- Progress
- 🆕 Progress 新增
percentPosition属性用于控制数值位置。#48157 @LonelySnowman - 🆕 Progress 的
size属性支持配置为对象值。#48805 @crazyair
- 🆕 Progress 新增
- 🆕 Avatar.Group 新增
max属性以替代maxCount、maxStyle、maxPopoverPlacement和maxPopoverTrigger。#49131 @wanpan11 - 🆕 Modal 新增
loading属性以展示加载中的状态。#48848 @li-jia-nan - 🆕 Rate 新增
keyboard属性以支持禁用键盘事件。#49132 @Wxh16144 - 🆕 Spin 支持
percent属性以进度形态展示。#48657 - 🐞 Watermark 添加
overflow: hidden样式以防止通过设置height: 0样式达到隐藏水印的效果。#49130 - 🐞 Anchor 修复设置
replace属性时滚动动画丢失的问题。#49136 @mySkey - 🐞 Tour 修复
onClose的current参数错误的问题。#49124 - 💄 List.Item 增加
styles及classNames属性。#49154 @wanpan11 - 🇯🇵 DatePicker 补充 ja_JP 本地化文案。#49155 @huyikai
- 🛠 精简数处判断逻辑及类型定义。#49146 #49156 #49169 #49162 @coding-ice
v5.17.4
- 🐞 Fix Modal with
confirmwould not close correctly when returningtrueinonOkoronCancel. #49054 @wanpan11 - 🐞 Fix Carousel was warned about having non-standard DOM attributes by React. #49031
- 🐞 Fix Form prop of
scrollToFirstErrornot working for InputNumber. #48989 @Wxh16144 - TypeScript
- 🐞 修复 Modal 的
confirm在onOk或onCancel中返回true时,窗体不会正确关闭的问题。#49054 @wanpan11 - 🐞 修复 Carousel 会被提示存在非标准 dom 属性的问题。#49031
- 🐞 修复 Form 的
scrollToFirstError对 InputNumber 无效的问题。#48989 @Wxh16144 - TypeScript
v5.17.3
- 🐞 MISC: Fix some components throws
findDOMNodewarning in React 18.3.0. #48958 - 🐞 Fix Button that
fontSizetoken not works. #48893 @wanpan11 - 💄 Fix Pagination size-changer element style. #48931 @wanpan11
- 🐞 杂项:修复部分组件在 React 18.3.0 下警告
findDOMNode的问题。#48958 - 🐞 修复 Button 字体大小 token 无效的问题。#48893 @wanpan11
- 💄 修复 Pagination 组件跳转选择元素样式问题。#48931 @wanpan11
v5.17.2
- 🐞 MISC: Fix
libbundle mistake deps on theesmodule which break the build progress. #48914
- 🐞 MISC: 修复
lib产物错误引入es依赖导致构建错误的问题。#48914
v5.17.1
- 🐞 Optimize the internal logic of the Form, fix the problem that antd takes too long time to build in Next.js. react-component/async-validator#9
- 🐞 Fix visually not centered when Tooltip content is only one character. #48890 @kiner-tang
- Button
- 🐞 Fix hover and active styles not differentiating when Button
type="text"andtype="danger"are used together. #48876 @LonelySnowman
- 🐞 Fix hover and active styles not differentiating when Button
- Fix issue where some components throw findDOMNode warnings
- 🐞 Fix Button throwing
findDOMNodewarning. #48830 @wanpan11 - 🐞 Fix Badge throwing
findDOMNodewarnings. #48878 @wanpan11 - 🐞 Fix Alert throwing
findDOMNodewarnings. #48868 @wanpan11 - 🐞 Fix FloatButton.BackTop throwing
findDOMNodewarnings. #48865 @wanpan11
- 🐞 Fix Button throwing
- 💄 Add className to internal component Spin given by Drawer to prevent internal Spin styles from overriding user-passed Spin styles. #48857 @li-jia-nan
- 💄 Fix missing bottom border when Card
size="small". #48787 @wanpan11 - 🐞 Fix AutoComplete
tagRendernot working for maxTag and clicking on an edge triggering unexpected closure of the layer. #48798 - RTL
- 💄 Fix Button's missing icon order and margins under RTL. #48821
- TypeScript
- 🤖 Fix Cascader redundant generalization issue. #48879 @crazyair
- 🐞 优化 Form 组件底层逻辑,修复了 antd 在 Next.js 中构建时间太长的问题。react-component/async-validator#9
- 🐞 修复 Tooltip 内容只有一个字符时视觉不居中的问题。#48890 @kiner-tang
- Button
- 🐞 修复 Button
type="text"和type="danger"同时使用时 hover 和 active 样式没有区分的问题。#48876 @LonelySnowman
- 🐞 修复 Button
- 修复部分组件抛出 findDOMNode 警告的问题
- 🐞 修复 Button 抛出
findDOMNode警告的问题。#48830 @wanpan11 - 🐞 修复 Badge 抛出
findDOMNode警告的问题。#48878 @wanpan11 - 🐞 修复 Alert 抛出
findDOMNode警告的问题。#48868 @wanpan11 - 🐞 修复 FloatButton.BackTop 抛出
findDOMNode警告的问题。#48865 @wanpan11
- 🐞 修复 Button 抛出
- 💄 给 Drawer 的内部组件 Spin 添加 className,防止内部 Spin 样式覆盖用户传入的 Spin 样式。#48857 @li-jia-nan
- 💄 修复 Card
size="small"时下边框丢失的问题。#48787 @wanpan11 - 🐞 AutoComplete 修复
tagRender对 maxTag 无效的问题和点击边缘会触发弹层意外关闭的问题。#48798 - RTL
- 💄 修复 Button 在 RTL 下的图标顺序和边距缺失问题。#48821
- TypeScript
- 🤖 修复 Cascader 多余泛型问题。#48879 @crazyair
v5.17.0
- 🔥🔥🔥
@ant-design/cssinjsStyleProvider supports configuringlayerto unified downgrade CSS priority. After the downgrade, the style of antd will always be lower than the default CSS selector priority, so that users can override the style (please be sure to check the browser compatibility of @layer), see full documentation for usage. #48229 - 🆕 Carousel supports
arrowsto switching between slides now. #48542 - Form
- 🛠 Form move dependency from
async-validatorto@rc-component/async-validator, fix a bug thattransformdon't check it's return value type. #48486 @crazyair - 🆕 Form add
inlineMargintoken. #48362 @CooperHash - 🐞 Fix Form
scrollToFirstErrorcannot work on Upload. #48211 @Wxh16144
- 🛠 Form move dependency from
- Typography
- 🆕 Typography.Paragraph could customize
tabIndexprop for editable and copyable buttons. #48567 @nova1751 - 🐞 Fix Typography
editablewill trigger focus unexpectedly on mounting. #48741
- 🆕 Typography.Paragraph could customize
- DatePicker
- Drawer
- 🆕 Drawer supports
loadingprop now. #48563 @Enigama - 🐞 Fix Drawer
classNames.wrappernot working. #48721 @replygirl
- 🆕 Drawer supports
- Slider
- 🐞 Fix Slider tooltip cannot be hidden when
tooltip={{ formatter: null }}. #48673 @wanpan11 - 🐞 Slider tooltip should not display when
tooltip={{ open: false }}. #48708
- 🐞 Fix Slider tooltip cannot be hidden when
- Button
- 🆕 Button add
iconPositionprop to specify icon position. #47791 @GeorgeHcc - 🆕 Button supports
autoInsertSpaceprop. #48348 @li-jia-nan
- 🆕 Button add
- 🆕 ConfigProvider supports
button.autoInsertSpaceprop and deprecatedautoInsertSpaceInButtonprop. #48348 @li-jia-nan - 🆕 TreeSelect supports
onPopScrollprop now. #48636 @wanpan11 - 🆕 Tabs supports
more={{ .. }}to customize more dropdown. #48321 @CooperHash - 🆕 Flex
wrapcould be boolean type now. #48391 @li-jia-nan - 🆕 Input.OTP supports
maskprop. #48257 @li-jia-nan - 🆕 Alert supports
idandrefprops. #48336 @li-jia-nan - 🆕 Upload supports
ref.nativeElenent. #48210 @Wxh16144 - 🐞 Fix List would not rerender when
gridchanged. #48683 @coderz-w - 🐞 Fix QRCode size cannot fit it's container and remove default padding of
bordered={false}. #48194 @thinkasany - 🐞 Fix Table shadow should be show when there are columns where
fixed={false}. #1113 @linxianxi - 🐞 Fix Progress tooltip wrong distance. #48686
- 📖 Table add column-drag sorting demo. #48434 @GeorgeHcc
- TypeScript
- 🤖 Optimize Cascader typing. #48420 @crazyair
- Locales
- 🇯🇵 Fix missing Japanese locale translation. #48704 @edikurniawan-dev
- 🇮🇩 Fix missing Indonesian locale translation. #48703 @edikurniawan-dev
- 🔥🔥🔥
@ant-design/cssinjsStyleProvider 支持配置layer统一降级 默认 CSS 优先级。经过降权后,antd 的样式将始终低于默认的 CSS 选择器优先级,以便于用户进行样式覆盖(请务必注意检查 @layer 浏览器兼容性),详情可见文档。#48229 - 🆕 Carousel 现在支持
arrows来开启箭头切换功能。#48542 - Form
- 🛠 Form 依赖的
async-validator替换为@rc-component/async-validator,并修复transform没有自动检测返回值类型的问题。#48486 @crazyair - 🆕 Form 新增
inlineMargintoken。#48362 @CooperHash - 🐞 修复 Form 下出现错误时无法滚动到 Upload 组件的问题。#48211 @Wxh16144
- 🛠 Form 依赖的
- Typography
- 🆕 Typography.Paragraph 的编辑、复制按钮允许修改
tableIndex。#48567 @nova1751 - 🐞 修复 Typography 开启
editable时会意外触发 focus 行为的问题。#48741
- 🆕 Typography.Paragraph 的编辑、复制按钮允许修改
- DatePicker
- Drawer
- 🆕 Drawer 新增
loading属性。#48563 @Enigama - 🐞 修复 Drawer 不支持
classNames.wrapper的问题。#48721 @replygirl
- 🆕 Drawer 新增
- Slider
- 🐞 修复 Slider
tooltip={{ open: false }}时提示框未正确隐藏的问题。#48708 - 🐞 修复 Slider
tooltip={{ formatter: null }}无法隐藏 Tooltip 的问题。#48673 @wanpan11
- 🐞 修复 Slider
- Button
- 🆕 Button 新增
iconPosition以指定预置图标位置。#47791 @GeorgeHcc - 🆕 Button 组件支持
autoInsertSpace属性,用来移除两个汉字之间的空格。#48348 @li-jia-nan
- 🆕 Button 新增
- 🆕 ConfigProvider 组件支持
button.autoInsertSpace属性并废弃autoInsertSpaceInButton属性。#48348 @li-jia-nan - 🆕 TreeSelect 支持
onPopScroll属性。#48636 @wanpan11 - 🆕 Tabs 新增
more={{ ... }}属性以支持自定义下拉菜单的属性。#48321 @CooperHash - 🆕 Flex 组件
wrap参数支持 boolean 类型。#48391 @li-jia-nan - 🆕 Input.OTP 组件支持
mask属性,以自定义遮罩字符。#48257 @li-jia-nan - 🆕 Alert 组件支持
id和ref属性。#48336 @li-jia-nan - 🆕 Upload 组件
ref.nativeElenent以支持访问原生元素。#48210 @Wxh16144 - 🐞 修复 List
grid属性值更新后组件未重新渲染的问题。#48683 @coderz-w - 🐞 修复 Progress tooltip 提示距离太近的问题。#48686
- 🐞 修复 QRCode 无法自适应容器大小的问题并移除
bordered={false}时的默认边距。#48194 @thinkasany - 🐞 修复 Table 组件设置
fixed={false}时的某些特殊情况下未正常显示投影的问题。#1113 @linxianxi - 📖 添加 Table 表格列拖拽排序演示。#48434 @GeorgeHcc
- TypeScript
- 🤖 优化 Cascader 属性定义。#48420 @crazyair
- 本地化
- 🇯🇵 补充日语本地化文案。#48704 @edikurniawan-dev
- 🇮🇩 补充印尼语本地化文案。#48703 @edikurniawan-dev
v5.16.5
- 🐞 Fix Transfer component issue when trying to select item from the right column while it has "unknown-key" within targetKeys. #48664 @andreyk1512
- 🐞 Fix Steps custom icon not vertically centered error. #48650 @ZinkWu
- 🐞 Fix Badge number centered but slightly right-aligned. #48605 @akinocccc
- 🐞 Fix Popover and Popconfirm blinking when open on the right edge of screen. #48591
- 🐞 Fix ColorPicker that cleared icon should change when initial value is
undefined. #48584 @MadCcc - 💄 Fix Collapse bottom border issue. #48561 @hamzaseif13
- 💄 Adjust Input border style in form validation when disabled. #48616 @nova1751
- TypeScript
- 🤖 Add missing generic type of Upload prop. #48614 @li-jia-nan
- 🤖 Fix missing generic type of Upload
customRequestprop. #48612 @jas0ncn
- Locales
- 🇪🇸 Added missing es_ES translations for DatePicker component. #48601 @JMMOLLER
- 🇩🇪 Added missing german translations for DatePicker component. #48586 @sebhs
- 🐞 修复 Transfer 组件在 targetKeys 中含有 "unknown-key" 时,尝试从右侧列选中单项的问题。#48664 @andreyk1512
- 🐞 修复 Steps 自定义图标未垂直居中问题。#48650 @ZinkWu
- 🐞 修复 Badge 数字居中偏右的问题。#48605 @akinocccc
- 🐞 修复 Popover 和 Popconfirm 在屏幕右侧边缘闪烁的问题。#48591
- 🐞 修复 ColorPicker 在初始未受控时清除图标不会改变的问题。#48584 @MadCcc
- 💄 修复 Collapse 组件底部边框样式问题。#48561 @hamzaseif13
- 💄 调整 Input 组件在禁用的时候在表单校验时的边框颜色。#48616 @nova1751
- TypeScript
- 🤖 补充 Upload 组件缺失的泛型。#48614 @li-jia-nan
- 🤖 修复 Upload
customRequest参数丢失泛型的问题。#48612 @jas0ncn
- 国际化
- 🇪🇸 为 DatePicker 补充 西班牙语 多语言。#48601 @JMMOLLER
- 🇩🇪 为 DatePicker 补充 德语 多语言。#48586 @sebhs
v5.16.4
- 🐞 Fix Select with
multipleandpaddingXXS=0will break the height align ofcontrolHeighttoken. #48574 - 🐞 Fix Upload miss style when enable CSS Variable. #48569 @nova1751
- 🐞 Fix Slider in
rangetooltip blink when drag the handle over another one. #48536 - Input
- 🐞 Fix the text of the button is not the large size when Input.Search is set to a large size. #48527
- 🐞 Fix abnormal text display in Input.TextArea. #48489 @korkt-kim
- 🐞 Fix the stuck animation effect of the Upload component image. #48522 @nova1751
- 🐞 Fix the issue where the Switch component using
checkedChildrenandunCheckedChildrendid not add a default height. #48513 @wanpan11 - 🐞 Fix the warning reminder when Form.Item uses noStyle with no value. #48508
- 🐞 Fix Popover
defaultOpensetting failed. #48481 @linhf123 - 🐞 Fix where
placeholderis not displayed when DatePicker is configured withmultiple. #48387 @nova1751 - 🐞 Fix where ColorPicker clear color could not be changed when controlled in strict mode. #48450
- 💄 Fix the arrow style issue when Collapse uses third-party icons. #48417 @guoyunhe
- 💄 Optimize the animation effect of the embedded Menu Sider when it is expanded. #48127 @metouch
- 💄 Optimize Steps process style. #48464
- Locales
- 🇨🇳 Add zh_CN zh_HK zh_TW Table licales. #48543 @thinkasany
- 🇮🇩 Add id_ID DatePicker Form Table etc. locales. #48537 #48287 @edikurniawan-dev
- 🌐 Optimize Transfer localization to use
deselectAlllocale when need deselect all. #48553 @coderz-w
- 🐞 修复 Select 配置
paddingXXS=0时,多选下超出设定的controlHeighttoken 的问题。#48574 - 🐞 修复 Upload 在开启 CSS Variable 时样式丢失的问题。#48569 @nova1751
- 🐞 修复 Slider 在范围选择下,拖动滑块越过另一个滑块时提示框闪动的问题。#48536
- Input
- 🐞 修复 Input.Search 设置大尺寸时,按钮的文字不是大尺寸的问题。#48527
- 🐞 修复 Input.TextArea 的文字显示异常问题。#48489 @korkt-kim
- 🐞 修复 Upload 组件图片卡顿的动画效果。#48522 @nova1751
- 🐞 修复 Switch 组件使用
checkedChildrenunCheckedChildren未添加默认高度的问题。#48513 @wanpan11 - 🐞 修复 Form.Item 使用 noStyle 无值时的警告提醒。#48508
- 🐞 修复 Popover
defaultOpen设置失效的问题。#48481 @linhf123 - 🐞 修复 DatePicker 配置
multiple时placeholder不展示的问题。#48387 @nova1751 - 🐞 修复 ColorPicker 在严格模式下受控时清除颜色无法改变的问题。#48450
- 💄 修复 Collapse 使用第三方图标时的 arrow 样式问题。#48417 @guoyunhe
- 💄 优化内嵌 Menu 的 Sider 在展开时的动画效果。#48127 @metouch
- 💄 优化 Steps process 样式。#48464
- 国际化
- 🇨🇳 补充 zh_CN zh_HK zh_TW Table 文案。#48543 @thinkasany
- 🇮🇩 补充 id_ID DatePicker Form Table 等文案。#48537 #48287 @edikurniawan-dev
- 🌐 优化 Transfer 本地化,现在反选会使用
deselectAlllocale 配置。#48553 @coderz-w
v5.16.3
- 🛠 Script failed to publish an empty package. Do not use this version.
- 🛠 脚本错误发布空包,请勿使用。
v5.16.2
- 🐞 Fix Input.OTP controlled
valueto''not work as expect. #48399 - 🐞 Fix DatePicker of
multiplewith week picker not show the selection on the panel. #48355 - 🐞 Fix Upload
listTypewithpicture-cardorpicture-circlehas additional space on top. #48370 - Typography
- 🐞 Fix Typography dynamic set
copyableoreditablewill not show the operation button. #48350 - 🐞 Fix Typography dynamic update
copyable.textnot working. #48347 - 🐞 Fix Typography using
ellipsisconfig withexpandable="collapsible"androw={1}at both time will make ellipsis not working as expect. #48340
- 🐞 Fix Typography dynamic set
- 💄 Fix Steps in compact theme not show the correct progress style. #48251
- 💄 Refactor Tabs and wave-related components CSS duration values with
motionDurationSlowComponent 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 过渡时间值,替换为
motionDurationSlowComponent Token。#48311 #48312 @li-jia-nan - 🇯🇵 补充 Transfer 的 ja_JP 本地化文案。#48411 @Inshiku-Han
- 🌐 修复 Picker 的 ja_JP 和 ko_KR 本地化文案。#48382 @li-jia-nan
- 🛠 使用常量替代枚举减小包体积。#48406 @kiner-tang
v5.16.1
- 🛠 Adjust Typography
ellipsislogic to use CSS ellipsis in SSR to enhance user experience. #48205 - 🐞 Fix FloatButton config
tooltipandbadgeat same time will makebadgecustomize background not working. #48198 @LonelySnowman
- 🛠 调整 Typography 的
ellipsis使其在 SSR 阶段使用 CSS 省略以优化用户体验。#48205 - 🐞 修复 FloatButton 中同时配置
tooltip和badge时,badge的自定义背景色会失效的问题。#48198 @LonelySnowman
v5.16.0
- 🔥 New component Input.OTP support. #48076
- 🆕 Tag support
aria-*in closable. #47678 @kiner-tang - 🆕 Table add
rowHoverableto control hover effect. #48112 @madocto - 🆕 Typography support async copy. #48123 @crazyair
- 🆕 Progress support
stepswithcircle. #47940 @yykoypj - 🆕 Table support
onScrollevent for table body scroll. #47986 - 🆕 Typography ellipsis supports expand and collapse. #47264 @crazyair
- 🆕 ConfigProvider support configuring FloatButton.Group
closeIcon. #47953 @li-jia-nan - 🆕 Table support
sorterTooltipTargetprop for sorters. #47409 @Ke1sy - 🆕 Cascader support
optionRender. #47727 @crazyair - 🆕 Notification support
aria-*inclosable. #47710 @kiner-tang - ⌨️ Popover can be closed by ESC when trigger is
focusorclick. #47928 @CooperHash - 🐞 Fix Button that vertically center icons when icon-only. #48178 @momesana
- 🐞 Fix Modal.confirm content is not centered when icon is null. #48173
- Form #48163 @madocto
- 🐞 1. Fix Form
getValuePropsshouldn't work when FormItem'snamedoesn't exist . - 🐞 2. Fix Form's
setFieldsValueshould tread same assetFields.
- 🐞 1. Fix Form
- 🐞 Fixe Table that internationalization of table columns fails when searching. #48126 @LingJinT
- 🐞 Fix Upload that
onChangeshould be triggered whenfileList.lengthis larger thanmaxCount. #47747 @Zhou-Bill - 🐞 Fix Carousel several bugs by upgrading react-slick changes and renewing TS type. #48093
- 🐞 Fix ColorPicker that displayed cleared color not change after
valuechanged. #47816 @MadCcc - 🐞 Make Badge consistent with Tag that applay
colorInfotoken in processing. #47695 @pfdgithub - 🌐 Add missing form translations in is_IS. #48104 @LonelySnowman
- 🌐 Add Uzbek(latn) locale. #47899
- TypeScript
- 🤖 Improve Transfer's
keytype, changekey: stringtokey: React.Key. #47879 @madocto - 🤖 Table support for generic pairs dataIndex props verification . @crazyair
- 🤖 Improve Transfer's
- 🔥 新增 Input.OTP 组件。#48076
- 🆕 Tag 组件支持在
closable中配置 aria 属性。#47678 @kiner-tang - 🆕 Table 增加
rowHoverable开启或关闭 hover 效果。#48112 @madocto - 🆕 Typography 组件支持异步复制。#48123 @crazyair
- 🆕 Progress 组件
circle模式下支持steps。#47940 @yykoypj - 🆕 Table 支持
onScroll事件用于监听表单内容滚动。#47986 - 🆕 Typography 省略支持展开和收起。#47264 @crazyair
- 🆕 ConfigProvider 支持配置 FloatButton.Group 的
closeIcon属性。#47953 @li-jia-nan - 🆕 Table 支持配置排序的
sorterTooltipTarget属性.#47409 @Ke1sy - 🆕 Cascader 支持
optionRender。#47727 @crazyair - 🆕 Notification 组件支持在
closable中配置 aria-*。#47710 @kiner-tang - ⌨️ Popover 当
trigger是focus或click时能被 ESC 按键所关闭。#47928 @CooperHash - 🐞 修复 Button 图标位置居中问题。#48178 @momesana
- 🐞 修复 Modal.confirm 无图标时内容不居中的问题。#48173
- Form #48163 @madocto
- 🐞 1. 修复 Form 当 FormItem 的
name不存在时,getValueProps不应该执行。 - 🐞 2. 修复 Form 的
setFieldsValue和setFields的行为应该相同。
- 🐞 1. 修复 Form 当 FormItem 的
- 🐞 修复 Table 表格列在搜索情况下,国际化失效的问题。#48126 @LingJinT
- 🐞 修复 Upload 当文件数量超出限制时,删除不起作用,无法触发
onChange的问题。#47747 @Zhou-Bill - 🐞 Carousel 组件同步上游 react-slick 改动,修复一系列问题,并更新到最新 TS 定义。#48093
- 🐞 修复 ColorPicker 展示的清除颜色在受控
value变化后不会改变的问题。#47816 @MadCcc - 🐞 Badge 与 Tag 组件保持一致,processing 状态使用
colorInfotoken 。#47695 @pfdgithub - 🌐 添加冰岛语缺失的 From 翻译。#48104 @LonelySnowman
- 🌐 添加乌兹别克语(拉丁字母) 国际化。#47899
- TypeScript
- 🤖 改进 Transfer 的
key类型,将key: string改为key: React.Key。#47879 @madocto - 🤖 Table 支持泛型对 dataIndex 属性校验。#48190 @crazyair
- 🤖 改进 Transfer 的
v5.15.4
- 💄 Fix QRCode that custom style would be overrided by internal style. #48053 @li-jia-nan
- 💄 Fix Radio disabled hover style. #47972 @madocto
- 🐞 Fix Watermark sometime repeat re-render when browser set scale. #47895
- TypeScript
- 🤖 Affix Export AffixRef interface. #47982 @li-jia-nan
- 🤖 MISC: Fix GetRef ts util can not get correct ref type for some component. #47983
- 💄 修复 QRCode 组件自定义样式会被内部样式覆盖的问题。#48053 @li-jia-nan
- 💄 修复 Radio 禁用状态 hover 样式。#47972 @madocto
- 🐞 修复 Watermark 在特定屏幕缩放下会不断重复渲染的问题。#47895
- TypeScript
- 🤖 Affix 导出 AffixRef 类型。#47982 @li-jia-nan
- 🤖 MISC: 修复 GetRef 工具类型不能正确获得某些组件 ref 类型的问题。#47983
v5.15.3
- 💄 Unify Modal, Drawer, notification and Tour close button style. #47909
- 🐞 Fix Badge and text node align style under Space. #47908
- 💄 Fix Upload file list actions wrap style. #47898
- 🐞 Fix Typography config the
ellipsis.symbolexceed the single line height will make ellipsis rows not correct issue. #47889 - 🐞 Fix DatePicker component height not correct when customize
controlHeight. #47874 - 🐞 Fix DatePicker with
multipleselector collapse for cross the line. #47821 - 🐞 TimePicker revert and add warning for
onSelectAPI which is already removed in v4 but not update in English documentation. #47878 - 💄 Darken the Empty text color to make it readable. #47268 @evgmol
- 💄 统一 Modal、Drawer、notification 和 Tour 关闭按钮的样式,并增大 Modal 和 Drawer 关闭按钮的交互区域使其更容易点击。#47909
- 🐞 修复 Badge 和文本元素在 Space 下排版不对齐的问题。#47908
- 💄 修复 Upload 列表行动点换行的问题。#47898
- 🐞 修复 Typography 配置的
ellipsis.symbol超出单行高度时,省略行数不正确的问题。#47889 - 🐞 修复 DatePicker 配置自定义
controlHeight时展示高度不正确的问题。#47874 - 🐞 修复 DatePicker 设置
multiple多选换行时行与行之间没有间隙的问题。#47821 - 💄 调深 Empty 文本色彩使其更清晰可读一些。#47268 @evgmol
v5.15.2
- 🛠 Adjust the closing trigger of Tour, Dropdown, Menu, Tabs, Mentions, Picker, Select, TreeSelect, Cascader, Tooltip, and Popover pop-ups from
clicktomouseDownto uniformly solve some event timing issues related to pop-up interactions. #47775 - 🐞 Fix Descriptions extra padding of items. #47737
- 🐞 Fix Anchor wrong active status when bounds value is 0. #47795@winchesHe
- 💄 Fix ColorPicker clear icon hover style. #47761
- 🇷🇺 Improve DatePicker ru_RU locale. #47768 @AlexeyTeterin
- 🛠 调整 Tour、Dropdown、Menu、Tabs、Mentions、Picker、Select、TreeSelect、Cascader、Tooltip、Popover 弹层点击外部的关闭时机,从
click调整至mouseDown以统一解决一些与弹窗相关交互中的事件时序问题。#47775 - 🐞 修复 Descriptions 内容区域额外的边距问题。#47737
- 🐞 修复 Anchor 界限值为 0 时 active 状态错误的问题。#47795@winchesHe
- 💄 给 ColorPicker 清除按钮补上鼠标 hover 反馈样式。#47761
- 🇷🇺 更新 DatePicker 的俄语文案。#47768 @AlexeyTeterin
v5.15.1
v5.15.0
- ConfigProvider
- 🆕 ConfigProvider support Input.TextArea
allowClearautoCompleteclassNamestyleclassNamesstylesprops. #47589 - 🆕 ConfigProvider support Input
allowClearprops. #47602 - 🆕 ConfigProvider support Menu
expandIconprops. #47561 - 🆕 ConfigProvider support Collapse
expandIconprops. #47473 - 🆕 ConfigProvider support Tabs
removeIconprops, when settype="editable-card". #47334 - 🆕 Prefixes for CSS variables follow the
prefixClsproperty of ConfigProvider by default. #47481 - 🤖 CardProps
stylesin ConfigProvider is set to optional. #47601 @Yawenina
- 🆕 ConfigProvider support Input.TextArea
- 🆕 Select、Checkbox、Radio、DatePicker、TreeSelect、Cascader the
focussupports passingoptions. #47664 - 🆕 Modal support configuring
aria-*inclosable. #47650 - 🆕 Alert support configuring
aria-*inclosable. #47474 - 🆕 Tabs support
removeIconprops, when settype="editable-card". #47334 - Drawer
- Table
- 🆕 Table adds
filterOnCloseto specify whether to trigger filtering when the filter menu is closed. #47451 @xsjcTony - 🆕 Table adds
components.header.tableto customize the header component when scrolling the column. #47382 - 🐞 Fix the issue where scroll bars would not be displayed during initial rendering under Table
sticky. #47382 - 🐞 Fix the issue where the
thelement is not used in the column header when Tablecolumn.titleis empty. #47382 - 🐞 Fix the issue where
prefixClsis invalid when Table uses a virtual list. #47639 - 💄 Fix abnormal shadow display when Table fixed columns. #47518
- 🆕 Table adds
- 🐞 Fix the issue where when using DirectoryTree in Tree, pressing shift for continuous multi-selection will report an error. #47567 @wkmyws
- 🐞 Fix the issue where
isFieldsTouched(true)always returnsfalsewhen Form exists in Form.List. #47629 @lemonied - 🐞 Fix the issue of Button being incompatible with v4
type=''. #47612 - 🛠 Refactor Typography to omit measurement logic to support dynamic row height scenarios. #47597
- 💄 Remove redundant margin styles from Tag. #47504
- 🤖 MISC: fix an issue that could not be compiled under pnpm configuration
hoist: false. #47587
- ConfigProvider
- 🆕 ConfigProvider 支持 Input.TextArea 组件
allowClear、autoComplete、className、style、classNames、styles属性。#47589 - 🆕 ConfigProvider 支持 Input 组件
allowClear属性。#47602 - 🆕 ConfigProvider 支持 Menu 组件
expandIcon属性。#47561 - 🆕 ConfigProvider 支持 Collapse 组件
expandIcon属性。#47473 - 🆕 ConfigProvider 支持 Tabs
removeIcon属性, 在设置type="editable-card"时有效。#47334 - 🆕 CSS 变量的前缀默认跟随 ConfigProvider 的
prefixCls属性。#47481 - 🤖 ConfigProvider 中 CardProps
styles设为可选。#47601 @Yawenina
- 🆕 ConfigProvider 支持 Input.TextArea 组件
- 🆕 Select、Checkbox、Radio、DatePicker、TreeSelect、Cascader 支持
focus功能支持传递options。#47664 - 🆕 Modal 支持在
closable中配置aria-*。#47650 - 🆕 Alert 支持在
closable中配置aria-*。#47474 - 🆕 Tabs 组件支持
removeIcon属性,在设置type="editable-card"时有效。#47334 - Drawer
- Table
- 🐞 修复 Tree 使用 DirectoryTree 时,按住 shift 连续多选报错的问题。#47567 @wkmyws
- 🐞 修复 Form 存在 Form.List 时,
isFieldsTouched(true)始终会返回false的问题。#47629 @lemonied - 🐞 修复 Button 不兼容 v4
type=''的问题。#47612 - 🛠 重构 Typography 省略测量逻辑以支持动态行高的场景。#47597
- 💄 移除 Tag 组件多余的 margin 样式。#47504
- 🤖 杂项:修复不能在 pnpm 配置
hoist: false下编译的问题。#47587
v5.14.2
- 🐞 Fix DatePicker.RangePicker time column sometime not scroll to the target time value. #47542
- 🐞 Fix Modal that pointer events will triggered during openning animation. #47508 @MadCcc
- 🐞 Fix Avatar.Group unnecessary dom since tooltip. #47478
- 💄 Fix Progress unexpected margin style. #47493 @li-jia-nan
- 💄 Fix Table scrollbar color in darkmode. #47487 @wkmyws
- 💄 Fix Layout content font color in dark mode. #47441 @nova1751
- 💄 Fix Menu cannot customize
darkItemSelectedColoranddarkItemSelectedBgtoken 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和darkItemSelectedBgtoken 不生效的问题。#47463 @gandavarapurajasekhar
v5.14.1
- 🐞 Fix Steps cannot interact correctly when
type="inline". #47406 - 🐞 Fix DatePicker & TimePicker arrow position not consider panel border radius distance. #47389
- 🐞 Fix Dropdown should not display when items is empty array. #47375
- 🐞 Fix Tag that should use
defaultBgtoken withbordered={false}. #47372 @MadCcc - 🐞 MISC: Fix that
theme.inheritshould not affecthashdedandcssVar. #47360 @MadCcc - 🐞 Fix Calendar panel not switch when change year or month. #47361
- 💄 Fix Table's sub-table style issue in virtual mode. #47333 @Enigama
- 🐞 修复 Steps
type="inline"时鼠标无法 hover 到正确的步骤上的问题。#47406 - 🐞 修复 DatePicker 与 TimePicker 弹出面板箭头没有考虑面板本身圆角的问题。#47389
- 🐞 修复 Dropdown
menu.items为空时依然显示的问题。#47375 - 🐞 修复 Tag 无边框模式没有正确使用
defaultBg组件 token 的问题。#47372 @MadCcc - 🐞 杂项:修复主题
inherit配置会隔断hashed和cssVar配置的问题。#47360 @MadCcc - 🐞 修复 Calendar 在切换年月时,面板没有跟着切换的问题。#47361
- 💄 修复 Table 在虚拟模式下子表格的样式问题。#47333 @Enigama
v5.14.0
- 🔥 Refactored the DatePicker component, details are follows. #46982
- 🆕 DatePicker adds
multipleto support multiple selection capabilities. - 🆕 DatePicker supports
showWeekattribute. - 🆕 DatePicker.RangePicker supports
orderattribute. - 🆕 DatePicker
idattribute under RangePicker supports setting theidof thestartandendinput boxes separately. - 🆕 DatePicker
onFocusandonBlurevents of RangePicker will additionally provide aninfo.rangeto inform which input box the current focus comes from. - 🆕 DatePicker add matching
pickerValueanddefaultPickerValueattributes to control the date where the expanded panel is located. - 🆕 DatePicker add the
preserveInvalidOnBlurattribute to keep the input content when losing focus in the case of accessibility. - 🆕 DatePicker
formatsupports thealignattribute, allowing input content through the mask mode. - 🆕 DatePicker Support
requiredattribute. - 🆕 DatePicker time panel supports
scrollOnChangeto automatically select the corresponding time when scrolling. - 🆕 DatePicker add the
needConfirmattribute to allow setting the confirmation or non-confirmation submission mode. - 🆕 DatePicker add the
componentsattribute to allow customizing some panels. - 🆕 DatePicker all date-related information in the panel will allow configuration through
locale. - 🆕 DatePicker
formatsupportsLTandLTSdate formats. - 🆕 DatePicker add
minDateandmaxDateto set the panel switching range. - 🐞 DatePicker
defaultPickerValuewill 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
hourobtained bydisabledTimeunderuse12Hourswill 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
disabledDatecheck logic, now it will provideinfo.typeto inform the current panel information. - 🛠 DatePicker
allowCleartrigger event fromonMouseDowntoonClick. - 🛠 DatePicker Deprecate the
preventDefaultparameter ofonKeyDown, please call it directly throughevent.preventDefault. - 🛠 DatePicker Remove the keyboard interaction with the panel, it needs to be redesigned based on accessibility.
- 💄 DatePicker Remove the dotted line style of RangePicker to reduce visual interference.
- 💄 DatePicker Remove the disabled range of RangePicker when selecting start or end time to optimize the interaction experience.
- 🆕 DatePicker adds
- 🔥 Added support for stacked fixed columns in the Table component. #47245
- 🆕 Added support for
components.bodyin the Table component under thevirtualmode. #47098 by @linxianxi - 🆕 Added support for generics in the Segmented
valuetype. #47091 by @madocto - 🆕 Added the
changeOnWheelproperty 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
durationconfiguration support to theuseNotificationfunction in the Notification component. This update also applies to thenotificationconfiguration of the App component. #47141 - 🆕 Added support for configuring
flexproperty 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
hoverBorderColorandactiveBorderColortoken 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
classNamesandstylesproperties to the Card component. #46811 by @zh-lx - ConfigProvider
- 🆕 Added support for
selectionsIconin the Transfer component to ConfigProvide. #47301 by @li-jia-nan - 🆕 Added support for
addIconandmoreIconin the Tabs component to ConfigProvide. #47274 by @li-jia-nan - 🆕 Added support for
closeIconin the Image component to ConfigProvide. #47252 by @li-jia-nan - 🆕 Added support for
closeIconin the Tag component to ConfigProvide. #47250 by @li-jia-nan - 🆕 Added support for
closeIconin the Notification component to ConfigProvide. #47244 by @li-jia-nan - 🆕 Added support for
closeIconin the Modal component to ConfigProvide. #47226 by @li-jia-nan - 🆕 Added support for
expandIconin the Table component to ConfigProvide. #47225 by @li-jia-nan - 🆕 Added support for
closeIconin the Tour component to ConfigProvide. #47200 by @li-jia-nan - 🆕 Added support for
iconsin the Drawer component to ConfigProvide. #46894 by @li-jia-nan - 🆕 Added support for
closeIconin 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和activeBorderColortoken 定制无效的问题。#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
showCountistrue. #47112 @huiliangShen
- 🐞 Fix Descriptions lost border style when item's children is falsy. #47191
- 🐞 Fix Table
column.onFilterdon't work on tree table data. #47170 @Mumujianguang - 🐞 Fix Affix
placeholderheight anomaly when browser zoom is 80%. #46823 @zhipenglin - 🐞 Fix QRCode background color in dark mode. #47128 @kampiu
- 🐞 Fix Statistic component don't support html
roleanddata-*andaria-*attributes. #47149 - 🐞 Fix Transfer inverting current page incorrectly. #47125 @linxianxi
- 💄 Lower the priority of Button
sizestyles. #47074 @crazyair - 🐞 Fix Modal conflicting props bettween
classNames.wrapperandcentered. #47076 @sunsunmonkey - 🐞 Fix false positive console warning for Spin with
tipandfullscreenused together. #47015 @xsjcTony - 🗑 Remove unused PageHeader locale text and ConfigProvider
pageHeaderproperty. #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.getContainervalue for Image is false. #47034 @FEyudong - 🐞 Fix Modal static function with
prefixClsbreaks children other componentprefixClsand 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/reactversion 16 or 17. #46962 @crazyair
- 🐞 修复 Checkbox 组件在
@types/react16 或 17 版本下 Typescript 报错。#46962 @crazyair
v5.13.0
- 🔥 Form support
variantto control components variant inside. #46573 - 🆕 QRCode support
statusadds a new scanned option. #46704 - 🆕 Table support
hiddento set hidden columns. #46957 @madocto - 🆕 Select support the
maxCount, which is used to set the maximum selectable value. #46667 - 🆕 Mentions support
allowClearfor setting the clearing function. #46396 @yociduo - 🆕 ColorPicker support displaying cleared status. #45993
- 🆕 Drawer adds
styles.wrapperand discards thecontentWrapperStyledrawerStylemaskStyleattributes, and simplifies the dom structure. #46858 - Tour
- Tabs
- ConfigProvider
- 🆕 ConfigProvider adds
ConfigProvider.configto supportholderRenderformessagemodalnotificationstatic 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
indicatorSizeattribute and replaced it withindicator: { size: xxx }. #46786
- 🆕 ConfigProvider adds
- 🐞 Fix the problem of Segmented content being obscured in
hoverandactive. #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
titledid 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
GetPropGetPropGetReftool 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
contentLineHeightseries of tokens. #46936 - 🆕 Input support
inputFontSizetoken. #46875 - 🆕 Menu support
darkPopupBgtoken. #46618 - 🆕 Segmented support
trackPaddingandtrackBgtoken. #46674 - 🐞 Fix the problem that
paddingBlockdoes not take effect after customizingcontentFontSizetoken in Button component. #46901 - 🐞 Fixed the issue where the InputNumber component cannot customize the
paddingtoken. #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并废弃contentWrapperStyledrawerStylemaskStyle属性,并简化 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: 导出
GetPropGetPropGetRef工具方法,便于开发者获取未导出的类型定义。#46923 - 🆕 Checkbox.Group 新增支持范型可配置
options.value。#46423 @daledelv
- 🆕 MISC: 导出
- 🌈 Token
- 🆕 Button 组件新增支持
contentLineHeight系列 token。#46936 - 🆕 Input 组件新增支持
inputFontSizetoken。#46875 - 🆕 Menu 组件新增支持
darkPopupBgtoken。#46618 - 🆕 Segmented 组件新增
trackPadding和trackBgtoken。#46674 - 🐞 修复 Button 组件定制
contentFontSizetoken 后paddingBlock不生效的问题。#46901 - 🐞 修复 InputNumber 组件无法定制
paddingtoken 的问题。#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
okTextandcancelTextwill not fallback to locale text. #46812 - 🐞 Fix Progress that line border-radius cannot be overrided. #46789
- 🐞 Fix Typography without
childrenhas extramargin-leftwhencopyableis 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
footerButton 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
ConfigProviderPropstype. #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
linemode 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
cssVarmode. #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
disabledprop should not affect download icon. #46454 - 💄 Upload.Dragger add vertical padding style. #46457
- 🐞 Fix Upload actions color issue. #46456
- 🐞 Fix Form with
getValuePropsnot working with value update. #46445 - 💄 Fix Checkbox style when customize
token.lineWidth. #46431 - 🐞 Fix Select that custom token make
paddingbroken. #46427 @MadCcc - 🐞 Fix Message that token overrides not work in
cssVarmode. #46415 @MadCcc - 💄 Fix Flex component don't apply extra style. #46404 @li-jia-nan
v5.12.2
- 🐞 MISC: Fix
useIderror when webpack build with React 17. #46261 - Pagination
- 🐞 Fix Pagination throws error in legacy browsers. react-component/pagination#545
- 🐞 Fix Pagination
currentnot working insimplemode. react-component/pagination#546
- 🐞 Fix Table filter dropdown lost background color in CSS variables mode. #46314
- 🐞 Prevent interaction when Spin component enable
fullscreenprop. #46303 @li-jia-nan - 🐞 Fix Form
hideRequiredMarkprop's priority compared with ConfigProviderformprop. #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
colorInfoBgtoken. #46188 - 🆕
Form.useWatchsupport selector function param. #46180 @crazyair - 🆕 Slider support
onChangeCompleteand deprecateonAfterChange. #46182 @MadCcc - 🆕 Tabs
itemssupporticonprop. #46096 @li-jia-nan - 🆕 Tour supports
getPopupContainerproperty. #45751 @li-jia-nan - 🆕 Switch support for
valueanddefaultValueprops. #45747 @Wxh16144 - 🐞 Fix that clicking Form
tooltipicon 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
addoninside Space.Compact. #46130 @MadCcc - TypeScript
- 🤖 Update
FloatButtonPropstype withReact.DOMAttributesin 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 支持
valueanddefaultValue属性。#45747 @Wxh16144 - 🐞 修复 Progress 进度条视觉效果,渐变效果应该随着百分比改变。#46209 @MadCcc
- 🐞 修复点击 Form
tooltip图标会触发 Switch 切换的问题。#46155 - 🐞 修复 Notification 图标行高为 0 的问题。#46148 @MadCcc
- 💄 Button 按钮支持自定义为渐变色风格。#46192
- 💄 Alert 背景色现在可以通过
colorInfoBgtoken 定义为渐变色。#46188 - 💄 修复 InputNumber 带有
addon时在 Space.Compact 下使用的样式问题。#46130 @MadCcc - TypeScript
- 🤖 更新 FloatButton 的类型定义,透出原生事件处理函数类型。#46175 @li-jia-nan
v5.11.5
- 🐞 MISC: Fix error in
distartifact. #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-indexabnormally 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
zIndextoo high will cover other popup content. #46012 - Image
- 🆕 Image preview support mobile touch interactive. #45989 @JarvisArt
- 🐞 Fixed Image preview
z-indexconflict 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.tooltipcannot open under Layout component. #45962 - 🐞 Remove Select native 🔍 icon from search input in Safari. #46008
- 💄 Remove Rate useless style.#45927 @JarvisArt
- 🛠 UMD
antd.jswill try to reuse global@ant-design/cssinjsfirst now. #46009 - 🌐 Improve
eu_ESlocalization. #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
virtualcan now customizecomponentsexcept thecomponents.body. #45857 - 🐞 Fix Button with href and disabled that could be focused. #45910 @MadCcc
- 🐞 Fix
zIndexlogic problem that message and notification are covered when multiple Modal are opened. #45911 #45864 @kiner-tang - 💄 Fix QRCode
style.paddingis not working. #45815 - 💄 Optimize Carousel dots border radius style. #45817
- TypeScript
- 🤖 Optimize List
gutterproperty 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
zIndexwhen nest items. #45761 - 🐞 Fix Upload should show remove icon when
showRemoveIconis specified to true explicitly. #45752 - 🐞 Fix Descriptions use
childrenstructure missing the Descriptions.Itemkeyprop. #45757 - 🐞 Fix Message that token specified in component scope not work. #45721 @MadCcc
- 🐞 Fix Popconfirm not compatible with
visibleprop. #45702 @linhf123 - 🐞 Fix Tag default background color not correct. #45711 @kiner-tang
- 💄 Fix Notification that
style.widthnot 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
columnTitlesupport render function. #41937 @Zhou-Bill - 🛠 Refactor Table
refto supportscrollToto scroll to targetkeyorindexortop. #45245
- 🆕 Table
- Tabs
- ConfigProvider
- 🆕 ConfigProvider support RangePicker
classNameandstyleproperties. #45479 @chenzhuo198 - 🆕 ConfigProvider support Dropdown
classNameandstyleproperties. #45621 @li-jia-nan
- 🆕 ConfigProvider support RangePicker
- 🆕 ColorPicker
presetprop supportdefaultOpento control whether preset colors is open by default. #45607 @Wxh16144 - 🆕 Select support
optionRenderprop. #45529 @RedJue - 🆕 Pagination support combine
simpleandshowSizeChanger. #45538 - 🆕 Spin support
fullscreento display as backdrop. #44986 @Rafael-Martins #45436 @li-jia-nan - 🆕 Form
validateFieldssupportdirtyfor validating touched and validated fields. #45389 - 🆕 Watermark support
inheritprop to disable watermark pass to Drawer and Modal. #45319 - 🆕 App support
componentfor customization. #45292 - 🆕 Input and Input.TextArea support
countcustom character count (for example, fix emoji character length to1);count.maxsupports out-of-range styles; restore emoji to native count to solve the problem ofmaxLengthandvaluemismatch. #45140 - 🐞 Fix Dropdown not trigger
onOpenChangewhen 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
ellipsisandcode. #45575 - 💄 Modify the TimePicker scroll bar style. #45478 @GeorgeHcc #45586
- 🆕 FloatButton.BackTop
refsupportnativeElement. #45547 @li-jia-nan - 🐞 Fix Watermark that
gapshould have default value when passingundefinedin 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
styleapplied 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
hasSidercheck 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
idanddata-*attributes. #45413 @cheng87126 - 🐞 Fix Table sorter tooltip cannot be open when
column.showSorterTooltipis a object. #45403 - 🐞 Fix
Formwithinlinemode makes elements overlap on the small screen. #45340 @Yuiai01 - 💄 Remove duplicate disabled styles in Upload.Dragger. #45446 @vagusX
- TypeScript
- 🐞 Table
pagination.positionshould accept'none'. #45398
- 🐞 Table
- RTL
- 💄 Fix Notification's incorrect
margininrtlmode. #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.positionTS 定义不支持'none'的问题。#45398
- 🐞 修复 Table
- RTL
- 💄 修复 Notification 组件在
rtl模式下边缘间距错误的问题。#45386
- 💄 修复 Notification 组件在
v5.10.1
- ⚡️ Optimize CSS-in-JS Design Token cache matching. #45302
- 🆕 Checkbox.Group & Radio.Group
optionsadd missingidprops. #45287 - 🐞 Fix Affix that
targetnot work. #45314 @mingming-ma - 🐞 MISC: Add
cspattribute for icon style. #45334 @AlexeyTeterin - 🐞 Fix Button that does not display loading status when
loadingproperty 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
resetFieldswill still keep Form.List field when itsinitialValueis set. #45284 - 🐞 Fix Tree.DirectoryTree
selectedNodesinonSelectmethod 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
stackconfiguration. 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
stylesandclassNamesproperties. #45000 - 🆕 Cascader supports the Cascader.Panel component for inline use. #45089
- 🆕 Tooltip adds
freshattribute to support scenarios where content still needs to be updated when closed. #45020 - 🆕 Drawer supports customizing the
classNameof built-in modules throughclassNames. #44935 - 🆕 ConfigProvider supports the
warningattribute 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
ellipsisis true. #41146 @Yuiai01 - 🐞 Fix Select internal input not being able to apply fontFamily. #45197 @Yuiai01
- 🐞 Fix InputNumber border issue when using
addonBeforein 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
minWidthcomponent token and addstitleMinWidthas a replacement. #44750 - 🌈 Token
- 🆕 Input adds
hoverBgactiveBgtoken to set the input box hover and activation background color. #44752 @Pan-yongyong - 🆕 Descriptions Added
titleColorandcontentColorto set the title color and content area text color. #44729 @Child-qjj - 🐞 Fixed the issue where the Input component Token
addonBgis 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 新增
hoverBgactiveBgtoken 用以设置输入框 hover 和 激活时背景颜色。#44752 @Pan-yongyong - 🆕 Descriptions 新增
titleColorcontentColor用以设置标题颜色和内容区域文字颜色。#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.typedidn't work when shown at first time. #45086 @MadCcc - 🐞 Fix Select and DatePicker that input should use
fontFamilytoken. #45088 @MadCcc
- Button
- 🐞 修复 Tour 组件第一次展示时
step.type无效的问题。#45086 @MadCcc - 🐞 修复 Select 和 DatePicker 组件没有使用
fontFamilytoken 的问题。#45088 @MadCcc
v5.9.3
- 🐞 Fix Popover that should shift automaticly when overflowed. #45015 @MadCcc
- Tooltip
- 🛠 ComponentToken remove
radiusBasemust less than16limitation. #44980 - 🐞 Fix Dropdown can not give
reffor the root children rendered bydropdownRender. #44971 - 🐞 Fix Table
cellPaddingBlocknot working. #45040 - 🐞 Fix Input wrong height with small
controlHeight. #45048 - TypeScript
- 🤖 MISC: Fix
@types/react@18.2.22React.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.22React.Key 定义更新引发的问题。#44938
- 🤖 MISC: 修复
v5.9.2
- 🐞 Fix Table selection column not align in center when
sizeissmall. #44922 - 🐞 Fix Select style problem when
labelcontainsdivelement. #44927 - 🐞 Fix Modal broken style of buttons when custom
footer. #44929 @Wxh16144 - 🐞 Fix notification wrong pop-up animation when
placementisbottom. #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
controlHeightSMnot work in small size. #44859 @MadCcc - 🐞 Fix Rate that star transaform not at center. #44855 @MadCcc
- 🐞 Fix DatePicker that in
dateTimemode switching input didn't triggeronCalendarChange. #44845 @Yuiai01 - 🐞 Fix Table
virtualselection 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
virtualdisplay 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
reftype of Radio.Button. #44747 @LexiosAlex - 🤖 Optimize
reftype of Checkbox. #44746 @LexiosAlex
- 🤖 Optimize
- 🐞 修复小尺寸 Select 组件
controlHeightSMtoken 配置无效的问题。#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
virtualattribute to enable virtual scrolling. #44349 - 🔥 Form's
validateFieldsnow supportsrecursiveto validate all fields with nested paths. #44130 - 🔥 Form.Item now supports
validateDebounceto 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
requiredMarknow supports custom rendering. #44073 - 🆕 Tabs component has added a new component token
itemColorto control the text color of normal tabs. #44201 - 🆕 ColorPicker now supports
defaultFormat. #44487 @CYBYOB - 🆕 Form supports
feedbackIconsand Form.Item supportshasFeedback={{ icons: ... }}, now feedback icons could be customized in both ways. #43894 @gldio - 🆕 Added the
itemSelectedColorcomponent 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.spanin Descriptions. #44534 - 🆕 Added support for global configuration of
indicatorSizein Tabs component through ConfigProvider. #44517 - 🆕 Added the
directionparameter to thefilterOptionfunction in the Transfer component. #44417 @Zian502 - 🆕 Added support for the
sourceparameter in theonSearchmethod 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
closeIconprop. #44312 @kiner-tang - 🆕 Avatar component now supports configuring size using ConfigProvider. #44288 @li-jia-nan
- 🆕 List component now supports configuring size using ConfigProvider's
componentSizeoption. #44267 @Yuiai01 - 🆕 Cascader component now supports
autoClearSearchValueoption. #44033 @linxianxi - 🆕 Added support for
rootClassNamein 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-contentand 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
circleanddashboardin Progress to conical gradients. #44404 - 💄 Fixed DatePicker missing custom footer style. #44642 @li-jia-nan
- 💄 Fixed Tag where
tag.classNameandtag.styledid 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: scalestyle configured ingetPopupContaineroption. #44378 - 🐞 Fixed an issue where Form.Item with
noStyleconfiguration prevented the bound element from consuminguseStatus. #44576 - 🐞 Fixed an issue where using Tag within Popover/Popconfirm caused incorrect
font-sizeon 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
esckey didn't correctly trigger theawait. #44646 - 🐞 Fixed the issue where the preset
sizeof 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
hrefin FloatButton.Group. #44707 @Yuiai01 - 🐞 Fixed the issue where
fontSizeSMtoken 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 组件新增
contentFontSizecontentFontSizeSMcontentFontSizeLG三个组件 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
fontSizeSMtoken 不生效的问题。#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/camelCasefrom@ant-design/iconsdependencies to reduce bundle size. ant-design-icons#595 - Form
- 🐞 Fix Form.Item children not hidden when
wrapperCol.spanis0. #44485 #44472 @crazyair - 🐞 Fix Form
wrapperColto be 24 not working whenlabelColis set to 24. #44541
- 🐞 Fix Form.Item children not hidden when
- 🐞 Fix Watermark that would crash if
contentis empty string. #44501 - 🐞 Fix ColorPicker popup still working when
disabledistrue. #44466 @RedJue - 🐞 Fix Transfer trigger
onSelectChangetwice 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
statusdefinition 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
wrapperColwith responsivexsconfig not working. #44388 - 🐞 Fix ColorPicker duplicate
keyissue. #44370 @xr0master - 🐞 Fix Radio that not work in Tree title. #44380 @MadCcc
- 🐞 Fix Table that would crash when
filterDropdowndoes not supportref. #44357 @MadCcc - 🐞 Fix Form
inlinelayout show extra bottom margin when validation failed. #44360 - 🐞 Fix DatePicker
showTimeworking error whenformatis Array. #44306 @Zian502 - 🐞 Fix Watermark can not be fully shown when
contentis 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 properror message. #44278 @RedJue - 🐞 Fix the node is still rendered when Pagination
itemRenderis 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
badgeprop. #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/cssinjsversion1.15.0. #44091 @MadCcc - 💄 Fix Badge
status="processing"withdotwave 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-targetfor 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-targetclassName 到对应元素上。#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
MappingAlgorithmas type of theme algorithm. #43953
- 🤖 Export
- 🐞 修复预期外的
clearIcon废弃报错。#43945 @kiner-tang - TypeScript
- 🤖 导出
MappingAlgorithm作为主题算法的类型。#43953
- 🤖 导出
v5.8.0
- 🔥 Component Token support
algorithmto calculate derivative tokens same as global. #43810 @MadCcc - 🔥 Modal hooks function support
awaitcall. #43470 - 🔥 ConfigProvider support
waveto customize wave effect. #43784 - 🆕 Form support
getFieldsValue({ strict: true })to support only Item bind values. #43828 - 🆕 Descriptions support
itemsprop. #43483 @RedJue - 🆕 ColorPicker support
disabledAlphaprop. #43355 @RedJue - 🆕 Avatar.Group support
shapeprop. #43817 @li-jia-nan - 🆕 AutoComplete/Cascader/DatePicker/Input.Textarea/TimePicker/TreeSelect support
allowClearprop to customize clear button。#43582 @kiner-tang - 🆕 RangePicker
presetssupport callback functions. #43476 @Wxh16144 - 🆕 Added the
preview={{ movable: Boolean }}prop to the Image component to support dragging and dropping into folders. #43823 @linxianxi - 🆕 Slider
tooltipsupportautoAdjustOverflowprop. #43788 - 🆕 Added the
selectionsIconproperty to the Transfer component to support custom icons for the dropdown menu. #43773 @li-jia-nan - 🗑 Select, Tree-Select and Cascader deprecated
showArrowprop. Now suffix arrow should be configured withsuffixIcon. #43520 @MuxinFeng - 🐞 Optimized the import method for
@ant-design/iconsto avoid importing all icons. #43915 @ssxenon01 - 🐞 Fix Anchor not trigger
getCurrentAnchorwhen scroll. #43916 - 🐞 Fix Tooltip
hovernot trigger ondisabledelement. #43872 - 🐞 Fix ColorPicker not calling
onChangeCompletecallback when changing value. #43867 @RedJue - 🐞 Fix
Modal.confirmlocalesetting 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-activedescendantdidn't conform to valid value. #43800 - ⌨️ Fix
Layout.Headeraccessibility role. #43749 @khalibloo - TypeScript
- 🤖
Form.Itemsupport for generic pairsnameprops 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.Headera11yrole属性。#43749 @khalibloo - TypeScript
- 🤖
Form.Item支持泛型对name属性校验。#43904 @crazyair
- 🤖
v5.7.3
- 🐞 Fix Adjust the positioning of the Tour to be centered when the
targetisnull. #43694 @linxianxi - 💄 Fix Watermark style issue in dark theme. #43754
- 🐞 Fix Button missing part React.
ButtonHTMLAttributesissue. #43716 - 💄 Watermark use Design Token to support dark theme. #43754
- TypeScript
- 🤖 Button
reftype 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
onClickmissingeventdefinition. #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
ghostfrom 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
checkedandindeterminateprop will not show asindeterminatestyle. #43626 - 🐞 Fix Form.Item set
label=""will break the line align. #43614 - 🐞 Fix notification
placementnot 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
iconinside it. #43518 @Yuiai01 - 🐞 Fix ColorPicker that status style is missing inside Form.Item. #42880 @RedJue
- TypeScript
- 🤖 Fix
SpaceContextdon'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
classNameandstyleproperties for all components. Thanks to @Yuiai01, @li-jia-nan, @MuxinFeng for their contributions. - 🆕 Badge now supports
classNamesandstylesproperties. #43245 @li-jia-nan - 🆕 ColorPicker now supports new features such as
showText,destroyTooltipOnHide,onChangeComplete,panelRenderandsize. - 🆕 Alert, Drawer, Modal, Notifaction, Tag, Tabs now support hiding the close button by setting
closeIconto null or false. #42828 @kiner-tang - 🆕 Image supports
imageRender,toolbarRenderattributes to support custom rendering of preview images and toolbars, also supports new props such asonTransform,minScale,maxScale. Image.PreviewGroup supportsitemsattribute 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
previewattribute supportscloseIcon, Image.PreviewGroup supports thefallbackattribute, 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
classNameprop in Anchor, CollapsePanel, and Input.Group. #43481 @thinkasany - 🐞 Fix Upload progress bar missing fade motion. #43471
- 🐞 Added warning for deprecated Token
colorItemBgSelectedin 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
tooltipshould be centered when there is little content. #43430 @Jomorx - 💄 Added
colorLinkto the seed token, andcolorLinkHoverandcolorLinkActivewill be calculated from colorLink.#43183 @MadCcc - 💄 Adjusted some tokens in Slider to component tokens. #42428 @heiyu4585 RTL#42428 @heiyu4585
- RTL
- TypeScript
- 🤖 Added
RawPurePanelPropsinterface description for Popover.#43453 @thinkasany - 🤖 Replaced
reftype withTooltipRefinstead ofunknownforPopconfirm.#43452 @thinkasany - 🤖 Replaced
reftype withTooltipRefinstead ofunknownfor Popover.#43450 @Negentropy247 - 🤖 Improved type declaration of
GroupSizeContextin ButtonGroup.#43439 @thinkasany - 🤖 Improved type declaration of
modeproperty in Select.#43413 @thinkasany - 🤖 Replaced
reftype withCheckboxRefinstead ofunknownfor 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
colorattribute 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
showSizeChangermethod is invalid. #41906 @Yuiai01 - 🐞 Fix the invalid modification of
colorTextandfontSizeof Popconfirm component. #43212 @MadCcc - 🐞 Fix the problem that deleting files after Upload configures
maxCountwill not triggeronChange. #43193 - 💄 Fix Button disabled style error when it has
linkorhrefattribute. #43091 @BoyYangzai - TypeScript
- 🤖 Optimize Breadcrumb
paramstype and support generics. #43211 - 🤖 Optimize Breadcrumb
paramstype and support generics. #43257 @thinkasany - 🤖 Remove redundant number type from Button
loading. #43256 @thinkasany - 🤖 Transparently pass Cascader
optionTypegeneric. #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
dropdownPropsdoes 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
rowKeymakes item unselectable. #43115 - 🐞 Fix Space
sizepriority 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
targetproperty type definition. #43129 @li-jia-nan - 🤖 Improve Progress
sizeproperty 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
autoFocusnot work as expect. #43002 @Yuiai01 - 🐞 Fix InputNumber with
prefixabnormal height under Form.Item ofhasFeedBack. #43049 - 💄 Fix Input and InputNumber disabled style with addons. #42974 @kampiu
- 🐞 Fix Upload trigger extra
onChangeevent when upload the file exceedsmaxCount. #43034 - 🐞 Fix export bundle size always contain
rc-field-formeven not use it. #43023 - 🐞 Fix DatePicker
disabledTimesometime can select disabled option. #42991 @linxianxi - 📖 Add FloatButton controlled demo and patch related warning info. #42835 @poyiding
- 🐞 Fix Button with
disabledstill can interactive with sub component. #42949 @kiner-tang - 🐞 Drawer add max width to avoid exceed in small screen. #42914 @amir2mi
- 🐞 Fix Table
preserveSelectedRowKeysnot working whencheckStrictlyconfigured. #42784 @linxianxi - 🐞 Fix Transfer select count not sync when dynamic update data. #42785 @BoyYangzai
- 🐞 Fix Radio.Button
titlenot 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
onChangewhen 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
onClearand dont't close panel when clearing. #42634 @linxianxi - 🆕 Collapse
itemsto support configure panel content. #42545 @kiner-tang - 🆕 Add static function
getDesignTokento access full Design Token. #42723 @MadCcc - 🆕 ConfigProvider support configure Space
classNamesandstylesproperties. #42748 @RedJue - 🆕 Space support
classNamesandstylesproperties. #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
panelModeas the select source type to the internal select trigger callback to use the correct source type when called. #42459 @bombillazo - 🆕 Select add
groupLabelprop infieldNamesto refleact title of group. #42492 @BoyYangzai - 🆕 Table add support for custom sort icon of table column. #42498 @sawadyecma
- 🆕 DatePicker support
kk:mmformat. #42494 @cooljser - 🆕 ConfigProvider.config support
themefor static method config. #42473 - 🆕 Calendar
onSelectsupportinfo.sourceparam to help get select source. #42432 - 💄 Optimize ColorPicker style in dark theme. #42827 @RedJue
- 💄 Fix Popconfirm, Alert and Notification that
colorTextHeadingandcolorTextusage. #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 deprecatedwarning in StrictMode. #42688 - 🐞 Rate could accept
iddata-*aria-*roleonMouseEnteronMouseLeaveattributes now, so that it can be wrapped by Tooltip component. #42676 - 🐞 Fix Menu.Submenu not aligned in horizontal mode. #42648 @MadCcc
- 🐞 Align Card
tabListAPI 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
ariaprops. #42704 @MehmetYararVX - ⌨️ Notification add role
props. #42484 @guan404ming - 🛠 Collapse use
onKeyDowninstead ofonKeyPressto change collapse panel active state. #42592 @kiner-tang - 🛠 Refactor Menu with
@rc-component/trigger. Removerc-triggerand reduce bundle size. #42554 @MadCcc - 🛠 Table rename
sorterOrdertosortOrderfor 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 组件支持传入
iddata-*aria-*roleonMouseEnteronMouseLeave等属性,修复不支持 Tooltip 包裹的问题。#42676 - 🐞 修复 Menu 组件横向模式下子菜单没有对齐的问题。#42648 @MadCcc
- 🐞 将 Card
tabList的 API 与 Tabitems对齐。#42413 - 🐞 修复循环依赖问题。
- 🐞 修复 Modal 组件循环依赖问题。#42841 @kiner-tang
- 🐞 修复 Space 组件循环依赖问题。#42811 @kiner-tang
- 🐞 修复 Statistic 组件循环依赖问题。#42814 @kiner-tang
- 🐞 修复 List 组件循环依赖问题。#42806 @kiner-tang
- 🐞 修复 Dropdown 组件循环依赖问题。#42764 @Dunqing
- ⌨️ 增强 Progress 可访问性表现,添加
aria属性。#42704 @MehmetYararVX - ⌨️ Notification 添加
role属性。#42484 @guan404ming - 🛠 Collapse 使用
onKeyDown替代onKeyPress来改变折叠面板的激活状态。#42592 @kiner-tang - 🛠 使用
@rc-component/trigger重构 Menu 组件。移除rc-trigger依赖,缩小打包体积。#42554 @MadCcc - 🛠 Table 组件将
sorterOrder重命名为sortOrder用于sortIcon的参数。#42519 @sawadyecma - 组件 Token 迁移,更多详情请查看文档:迁移 less 变量
- 🛠 使用新的命名标准重命名 Menu 组件 token。#42848 @MadCcc
- 🛠 迁移 Radio 组件 less 变量。#42050 @Yuiai01
- 🛠 迁移 Image 组件 less 变量。#42048 @guan404ming
- 🛠 迁移 Tooltip 组件 less 变量。#42046 @guan404ming
- 🛠 迁移 Transfer 组件 less 变量。#42431 @heiyu4585
- 🛠 迁移 Tabs 组件 less 变量。#42186 @heiyu4585
- 🛠 迁移 Card 组件 less 变量。#42061 @heiyu4585
- 🛠 迁移 Mentions 组件 less 变量。#42711 @heiyu4585
- 🛠 迁移 Avatar 组件 less 变量。#42063 @heiyu4585
- 🛠 迁移 Pagination 组件 less 变量。#42330 @heiyu4585
- 🛠 迁移 Popover 组件 less 变量。#42337 @heiyu4585
- 🛠 迁移 Tag 组件 less 变量。#42053 @heiyu4585
- 🛠 迁移 List 组件 less 变量。#42041 @jrr997
- 🛠 迁移 Dropdown 组件 less 变量。#42258 @poyiding
- 🛠 迁移 Timeline 组件 less 变量。#42491 @jrr997
- 🛠 迁移 Anchor 组件 less 变量。#42141 @MuxinFeng
- 🛠 迁移 Carousel 组件 less 变量。#42157 @MuxinFeng
- 🛠 迁移 Upload 组件 less 变量。#42042 @jrr997
- 🛠 迁移 Typography 组件 less 变量。#42442 @jrr997
- 🛠 迁移 Segmented 组件 less 变量。#42136 @kiner-tang
- 🛠 迁移 Checkbox 组件 less 变量。#42097 @poyiding
- 🛠 迁移 Skeleton 组件 less 变量。#42134 @kiner-tang
- 🛠 迁移 Breadcrumb 组件 less 变量。#42342 @heiyu4585
- 🛠 迁移 Calendar 组件 less 变量。#42194 @MuxinFeng
- 🛠 迁移 Rate 组件 less 变量。#42135 @MuxinFeng
- 🛠 迁移 Descriptions 组件 less 变量。#42038 @jrr997
v5.5.2
- 🐞 Fix ColorPicker hover boundary issue. #42669 @RedJue
- 🐞 Fix Menu that
overflowedIndicatorClassNameshould not override origin classes. #42692 @MadCcc - 🐞 Fix Select that in some cases will display the letter
A. #42651 @895433995 - 🐞 Fix Card when
coveris set to Image, hover mask does not have rounded corner attribute, resulting in UI exception. #42642 @iNeedToCopy - 🐞 Fix Checkbox align with label. #42590 @MadCcc
- 🐞 Fix ConfigProvider makes Form component in the bundle even not use it. #42604
- 🐞 Fix InputNumber cannot align well by baseline. #42580
- 🐞 Fix spinning icon animation in Badge. #42575 @MadCcc
- 📦 Optimize Form
setFieldsValuelogic to reduce bundle size. #42635 - 💄 Optimize ImagePreviewGroup style. #42675 @kiner-tang
- 💄 Fix Tag borderless style with
errorand other status. #42619 @li-jia-nan - 💄 Fix Table
rowSpanhover highlight style missing. #42572 - 💄 Fix Pagination's link icon and ellipsis hover style when disabled. #42541 @qmhc
- 💄 Fix that global token should be able to override component style. #42535 @MadCcc
- 🇱🇹 Add missing i18n for
lt_LTlocale. #42664 @Digital-512 - RTL
- 🐞 修复 ColorPicker 组件悬停边界问题。#42669 @RedJue
- 🐞 修复 Menu 组件
overflowedIndicatorClassName覆盖了原本的 class 的问题。#42692 @MadCcc - 🐞 修复 Select 组件在某些情况下显示乱码问题。#42651 @895433995
- 🐞 修复 Card 组件,当 Image 设置
cover属性时,悬停蒙版没有圆角属性,导致 UI 异常。#42642 @iNeedToCopy - 🐞 修复 Checkbox 和 label 不对齐的问题。#42590 @MadCcc
- 🐞 修复使用 ConfigProvider 会导致未使用的 Form 组件也被打包的问题。#42604
- 🐞 修复 InputNumber 和其他组件无法基线对齐的问题。#42580
- 🐞 修复 Badge 组件中旋转的
icon动画。#42575 @MadCcc - 📦 优化 Form
setFieldsValue相关代码以降低打包尺寸。#42635 - 💄 优化 Image 组件预览组样式。#42675 @kiner-tang
- 💄 修复 Tag 无边框样式在
error等状态下不生效的问题。#42619 @li-jia-nan - 💄 修复 Table
rowSpan悬浮高亮背景颜色丢失的问题。#42572 - 💄 修复 Pagination 在禁用状态下 link 图标和 ellipsis hover 时的样式。#42541 @qmhc
- 💄 修复部分全局 Token 无法覆盖组件样式的问题。#42535 @MadCcc
- 🇱🇹 为
lt_LT添加缺失的部分文案。#42664 @Digital-512 - RTL
v5.5.1
- 🐞 Fix wrong Button icon size and margin. #42516 @MadCcc
- 🐞 Fix Select remove & selected icon not align in center. #42513
- 🐞 Refactor Popconfirm DOM structure to fix extra margin before
titleanddescriptionwhenicon={null}. #42433 - 🐞 Fix Menu item icon not centered when
itemMarginInlineis 0. #42426 @zzwgh - 🐞 Fix Tag wrapped with Tooltip will use wrong
font-sizewhen hover. #42414 - 🐞 Fix Popconfirm trigger
onVisibleChangetwice. #42393 - 🐞 Adjust Tooltip & Popover display logic. Now the first priority is to ensure that it will not be clipped by
overflow: hidden, and the second is to ensure that it is displayed within the viewport as much as possible. #42394 - ColorPicker
- 🐞 Optimize ColorPicker the
allowClearinteraction logic, reopening the panel to select a color will default to 100% transparency instead of 0%. #42439 @RedJue - 🐞 Optimize ColorPicker interaction. Now it will close panel when click clear button. #42406 @kiner-tang
- 🐞 Optimize ColorPicker the
- 💄 Optimize border radius in filter dropdown of Table. #42451 @Yuiai01
- 🛠 Remove
addEventListenerfromrc-util/lib/Dom/addEventListenerand use nativeaddEventListenerinstead. #42464 @li-jia-nan - 🛠 Reduce 1KB @ant-design/icons bundle size. Fix TwoTone icon color to primary color of 5.0. #42443
- 🌐 Add missing translation for
mn_MN. #42512 @ariunbatb - RTL
- 💄 Fix Select scrollbar
rtldirection position. #42508 @BoyYangzai
- 💄 Fix Select scrollbar
- TypeScript
- 🤖 Optimize Slider ref type definition, replace
unknownandanywithSliderRef. #42420 @li-jia-nan
- 🤖 Optimize Slider ref type definition, replace
- 🐞 修复 Button 组件 icon 尺寸和间距问题。#42516 @MadCcc
- 🐞 修复 Select 移除和选中按钮不居中的问题。#42513
- 🐞 重构 Popconfirm DOM 结构以解决
icon={null}时title和description的多余 margin 问题。#42433 - 🐞 修复 Menu 图标在
itemMarginInline为 0 时不居中的问题。#42426 @zzwgh - 🐞 修复 Tag 被 Tooltip 包裹时,hover 会导致
font-size错误的问题。#42414 - 🐞 修复 Popconfirm 的
onVisibleChange会重复触发的问题。#42393 - 🐞 调整 Tooltip 和 Popover 展示逻辑,现在会优先保证不会被
overflow: hidden裁剪,其次保证尽可能在可见屏幕范围内展示。#42394 - ColorPicker
- 🐞 优化 ColorPicker
allowClear交互逻辑,重新打开面板选择颜色会默认 100% 透明度,而不是 0%。#42439 @RedJue - 🐞 优化 ColorPicker 交互,点击清除按钮时隐藏面板。#42406 @kiner-tang
- 🐞 优化 ColorPicker
- 💄 修改 Table 筛选下拉菜单的圆角。#42451 @Yuiai01
- 🛠 全局移除
rc-util/lib/Dom/addEventListener引入的addEventListener方法,用原生代替。#42464 @li-jia-nan - 🛠 优化 @ant-design/icons 的 bundle 体积大小。修复 TwoTone 类的图标色为 5.0 的新主色。#42443
- 🌐 添加
mn_MN中缺失的翻译。#42512 @ariunbatb - RTL
- 💄 修复 Select
direction为rtl时 scrollbar 的位置。#42508 @BoyYangzai
- 💄 修复 Select
- TypeScript
- 🤖 优化 Slider ref 类型,移除
unknown和any类型,用SliderRef代替。#42420 @li-jia-nan
- 🤖 优化 Slider ref 类型,移除
v5.5.0
- 🔥 New Component ColorPicker. #41990 @RedJue
- 🆕 Add
DatePicker.generateCalendarandCalendar.generateCalendarcustom date component method, no need to import from module path. #41773 - 💄 Optimize the style of Select, TreeSelect, Cascader multi-selection mode, remove the Tag border. #41480
- 🆕 Form
validateFieldssupportvalidateOnlyto not to update UI status. #42273 - 🆕 DatePicker support changeOnBlur to trigger change event without clicking confirm. #42168
- 🆕 Cascader
optionssupportdisableCheckboxprop. #42024 @BoyYangzai - 🆕 Popconfirm add
onPopupClickprop. #42272 @bolosea - 🆕 QRCode add
bgColorprop to set background color. #42214 @bolosea - 🆕 Table.Summary.Row component add
onClickprop. #42175 @Ylg12345 - 🆕 Space support ref. #42266 @RedJue
- 🆕 The
sizeof Tab defaults to inherit Card. #42183 @huangkairan - ConfigProvider
- 🐞 Fix ConfigProvider
sizeprop not work on Pagination. #42206 - 🐞 Fix ConfigProvider
sizeprop not work on Steps. #42278 @wanghui2021 - 🐞 Fix ConfigProvider
sizeprop not work on Descriptions. #42244 @wanghui2021 - 🐞 Fix the size is not inherited from ConfigProvider when the
componentSizeis set. #42199 @Ec-tracker
- 🐞 Fix ConfigProvider
- 🐞 Fix then icon styles for Input are incorrect in Space Compact mode. #42167 @pengyw97
- 🐞 Fix Popover display empty div when
titleandcontentis null. #42217 @hairgc - 🐞 Fix the error that Circle Progress does not set
size. #41875 @notzheng - 🐞 Fix Progress throws warning
findDOMNode is deprecated in StrictMode. #42241 @BoyYangzai - 💄 Fix the problem that the InputNumber out of range style does not take effect. #42250 @pengyw97
- 💄 Fix the problem that Divider cannot be displayed normally due to the overwriting of the dashed line style in the vertical direction. #40418 @buqiyuan
- 💄 Adjust Tooltip motion that will auto detect best match transform origin. #42225
- 💄 keep Checkbox.Group style the same as v4. #42103 @BoyYangzai
- 💄 Improve the style when the Menu overflowed. #42294 @dhalenok
- 💄 Improve the Segmented mouse active style. #42249
- 🤖 Spin add warning if use
tipwhen not in nest pattern. #42293 - 🤖 Component Token name canonicalization. #42184
- TypeScript
- 🤖 Optimize the type definition of Tag. #42235 @gaoqiiii
- 🤖 Optimize Notification
getContainertype definition. #40206 @leshalv - 🤖 Improved support for generics MenuItemType and MenuItemProps in the Menu component. #42240 @yangyuanxx
- Locales
- 🇧🇬 Add bg_BG Form locales. #42203 @tangzixuan
- 🔥 新增颜色选择器组件。#41990 @RedJue
- 🆕 新增
DatePicker.generateCalendar与Calendar.generateCalendar自定义日期库组件方法,不再需要通过路径引入使用。#41773 - 💄 优化 Select、TreeSelect、Cascader 多选模式下的样式,去除标签的边框。#41480
- 🆕 Form
validateFields支持validateOnly配置仅做校验而不改变 UI 状态。#42273 - 🆕 DatePicker 支持
changeOnBlur以允许不点击确认按钮,在失去焦点时也能触发 change 事件。#42168 - 🆕 Cascader
options支持disableCheckbox在多选时禁用勾选框。#42024 @BoyYangzai - 🆕 Popconfirm 新增
onPopupClick属性。#42272 @bolosea - 🆕 QRCode 新增
bgColor属性设置背景色。#42214 @bolosea - 🆕 Table.Summary.Row 组件增加
onClick属性。#42175 @Ylg12345 - 🆕 Space 新增支持 ref。#42266 @RedJue
- 🆕 Tab 新增默认继承 Card 的
size。#42183 @huangkairan - ConfigProvider
- 🐞 修复 ConfigProvider
size对 Pagination 无效的问题。#42206 - 🐞 修复 ConfigProvider
size对 Steps 无效的问题。#42278 @wanghui2021 - 🐞 修复 ConfigProvider
size对 Descriptions 无效的问题。#42244 @wanghui2021 - 🐞 修复当 ConfigProvider 中
componentSize被设定时, Space.Compact 没有继承的问题。#42199 @Ec-tracker
- 🐞 修复 ConfigProvider
- 🐞 修复 Input 在 Space.Compact 下使用图标的样式错误。#42167 @pengyw97
- 🐞 修复当
title和content属性均为空值时,Popover 组件展示空白气泡的问题。#42217 @hairgc - 🐞 修复 Circle Progress 未设置
size的报错问题。#41875 @notzheng - 🐞 修复 Progress 抛出的警告
findDOMNode is deprecated in StrictMode。#42241 @BoyYangzai - 💄 修复 InputNumber 超出范围样式不生效的问题。#42250 @pengyw97
- 💄 修复 Divider 在垂直方向虚线样式被覆盖导致无法正常显示的问题。#40418 @buqiyuan
- 💄 调整 Tooltip 动画,现在弹出位置会动态从箭头方向弹出。#42225
- 💄 调整 Checkbox.Group 样式风格与 v4 保持一致。#42103 @BoyYangzai
- 💄 完善 Menu 溢出时样式。#42294 @dhalenok
- 💄 完善 Segmented 鼠标 active 样式。#42249
- 🤖 Spin 添加在非嵌套下使用
tip的警告提示。#42293 - 🤖 组件 Token 名称规范化。#42184
- TypeScript
- 🤖 完善 Tag 的类型定义。#42235 @gaoqiiii
- 🤖 完善 Notification
getContainer类型定义。#40206 @leshalv - 🤖 改进了 Menu 组件对 MenuItemType 和 MenuItemProps 泛型的支持。#42240 @yangyuanxx
- 国际化
- 🇧🇬 补充 bg_BG Form 文案。#42203 @tangzixuan
v5.4.7
- 🐞 Fix Menu different margin between Menu.Item and Menu.Submenu in vertical and inline mode. #42160
- 🐞 Fix Breadcrumb using
itemRenderwithpathrender additional a element. #42049 - 🐞 Fix Transfer in control mode throw React nest state update warning. #42033
- 🐞 Fix Upload logic of disable state. #42102 @Wxh16144
- 💄 Fix Spin height is inconsistent with its icon children. #42162 @cheapCoder
- ⚡️ Improve Affix logic when it does not need to update. #42015 @Simon-He95
- ⚡️ Improve Anchor logic when it does not need to scroll. #42018 @Simon-He95
- 🐞 修复 Menu.Item 与 Submenu 之间间距不统一的问题。#42160
- 🐞 修复 Breadcrumb 使用
itemRender并且配置path时,渲染元素会额外包一层 a 元素的问题。#42049 - 🐞 修复 Transfer 在受控模式下报 React 状态嵌套更新错误信息。#42033
- 🐞 修复 Upload 禁用状态的逻辑。#42102 @Wxh16144
- 💄 修复 Spin 与其 icon 子元素高度不一致的问题。#42162 @cheapCoder
- ⚡️ 优化 Affix 组件在无需更新时计算逻辑。#42015 @Simon-He95
- ⚡️ 优化 Anchor 组件在无需跳转时计算逻辑。#42018 @Simon-He95
v5.4.6
- 🐞 Fix lots of Table border and radius styling issues. #41985
- 💄 Fix Layout.Sider collapse animation style. #41993
- 🐞 Fix InputNumber font-size error. #41983
- 🐞 Fix responsive Col don't support
flexprop incolSize. #41962 @AlexisSniffer - 🐞 Fix Carousel
goTois ignored if animation is in progress. #41969 @guan404ming - Form
- TypeScript
- 🤖 Fix Menu OverrideContext type missing warning. #41907
- 🤖 Fix TreeSelect missing
aria-*definition. #41978 @guan404ming
- 🐞 修复 Table 一系列边框和圆角的样式细节问题。#41985
- 💄 修复 Layout.Sider 折叠时丢失动画的问题。#41993
- 🐞 修复 InputNumber 字体样式错误。#41983
- 🐞 修复响应式 Col
colSize不支持flex的问题。#41962 @AlexisSniffer - 🐞 修复 Carousel
goTo在动画播放时无效的问题。#41969 @guan404ming - Form
- 🐞 修复 Form 触发重置事件后反馈图标未重置的问题。#41976
- 🐞 修复
onValuesChange收集到的数据不准确的问题。#41976 - TypeScript
- 🤖 修复 Menu 报错 OverrideContext 类型定义不存在的问题。#41907
- 🤖 修复 TreeSelect 定义不支持
aria-*的问题。#41978 @guan404ming
v5.4.5
- 🐞 Fix Anchor that
onChangewas memoized byuseCallbackand wouldn't change. #41934 @Yuiai01 - 🐞 Fix Draggable Tree that title is not aligned when the text is wrapped. #41928 @Yuiai01
- Tree
- 🐞 Fix Checkbox that title do not align. #41920 @Yuiai01
- 🐞 Fix InputNumber that style was override by browser. #41940 @Wxh16144
- 🛠 Reduce bundle size by upgrading
rc-switch. #41954
- 🐞 修复 Anchor 组件
onChange方法改变后不触发的问题。#41934 @Yuiai01 - 🐞 修复 InputNumber 组件样式被浏览器原生样式覆盖的问题。#41940 @Wxh16144
- Tree
- 🛠 升级
rc-switch以修复重复引入@babel/runtime/helpers的问题,减小打包体积。#41954
v5.4.4
- 💄 Fix Message hooks icon style not follow dynamic theme token. #41899
- 🐞 Fix that cssinjs may crash if CSS value is
undefined. #41896
v5.4.3
- 🐞 Fix FloatButton throws warning
findDOMNode is deprecated in StrictMode. #41833 @fourcels - 🐞 Arrow element support more old browsers which do not support
clip-path: path(). #41872 - 🐞 Fix Layout.Sider transition issue when switch theme. #41828
- 🐞 Fix the problem that when the type of Tour is primary, the color of the arrow is still white. #41761
- 🐞 Optimize Form field binding, now will ignore comments in Form.Item as subcomponents. #41771
- 🐞 Fix Input.Password show additional toggle button in Edge. #41759
- 💄 Fix styling issues with components that have a Tooltip component as their base within the Space.Compact wrapper. #41707 @foryuki
- 🇩🇪 Fix typo in German locale. #41780 @aaarichter
- TypeScript
- 🤖 Optimize the type definition of Modal. #41742 @MuxinFeng
- 🐞 修复 FloatButton 警告: findDOMNode is deprecated in StrictMode.。#41833 @fourcels
- 🐞 箭头元素兼容旧版本不支持
clip-path: path()的浏览器。 #41872 - 🐞 修复 Layout.Sider 切换主题时存在背景切换延迟的问题。#41828
- 🐞 修复 Tour 的
type="primary"时箭头的颜色仍为白色的问题。#41761 - 🐞 优化 Form 字段绑定,现在会忽略在 Form.Item 内的注释不再作为子组件进行绑定。 。#41771
- 🐞 修复 Input.Password 在 Edge 中会额外展示切换按钮的问题。#41759
- 💄 修复 Space.Compact 包裹底层为 Tooltip 组件的组件时的样式问题。#41707 @foryuki
- 🇩🇪 修复德语本地化文案。#41780 @aaarichter
- TypeScript
- 🤖 完善 Modal 的类型定义。#41742 @MuxinFeng
v5.4.2
- 🐞 Fix unexpected deprecated warning in DatePicker. #41753 @kiner-tang
- 🌐 Add missing translations for
de_DE. #41747 @eldarcodes - TypeScript
- 🐞 修复 DatePicker 组件异常显示废弃警告的问题。#41753 @kiner-tang
- 🌐 补充
de_DE遗漏的国际化。#41747 @eldarcodes - TypeScript
v5.4.1
- 💄 Optimize Select-like component popup logic. Now always try to display it in the visible area first to reduce the user's extra scrolling cost. #41619
- 💄 Remove fixed height in Badge.Ribbon. #41661 @MuxinFeng
- 🐞 Fix Select width becomes 0px when search after select something. #41722
- 🐞 Fix Empty style in small width container. #41727
- 🐞 Improve Form.Item
noStylevalidation message reveal logic. #41698 @Wxh16144 - 🐞 Fix Form.Item should not support
requiredMark. #41725 @Wxh16144 - 🐞 Fix Space should not affect font style and font family. #40326
- 🐞 Fix the problem that the hover style of the Previous/Next button in Pagination simple mode is lost. #41685
- 🐞 Fix Tree
switcherIconcannot be hidden. #41708 @acyza - 🐞 Fix
List.Item.Metaavatar and title are not aligned. #41688 @Yuiai01 - 🐞 Fix Row justify setting
space-evenlydoes not work. #41679 @Yuiai01 - 🐞 Fix Button type to support custom data attributes. #41650
- 🐞 Fix insufficient table column width issue 40814. #41626
- 🐞 Fix Mentions dropdown style. #41660
- 🐞 Improve Form.Item on
requirejudgment logic. #41623 @Wxh16144 - Locales
- 🇹🇭 add Tour, Image, and QRCode Thai locale. #41697 @buildingwatsize
- 💄 优化类 Select 组件弹窗逻辑,现在总是会尝试优先在可视区域展示以减少用户额外滚动成本。#41619
- 💄 去除 Badge.Ribbon 里固定的高度。#41661 @MuxinFeng
- 🐞 修复 Select 在搜索时宽度变为
0px的问题。#41722 - 🐞 修复 Empty 空数据组件在宽度不够的容器内样式错位的问题。#41727
- 🐞 改进 Form.Item
noStyle验证消息显隐逻辑。#41698 @Wxh16144 - 🐞 修正 Form.Item 不应支持设置
requiredMark的问题。#41725 @Wxh16144 - 🐞 修复 Space 影响父元素字体大小和样式的问题。#40326
- 🐞 修复 Pagination 简洁模式中的上一页下一页按钮 hover 样式丢失的问题。#41685
- 🐞 修复 Tree
switcherIcon无法隐藏。#41708 @acyza - 🐞 修复
List.Item.Meta的 avatar 和 title 不对齐。#41688 @Yuiai01 - 🐞 修复 Row 的
justify设置为space-evenly无效。#41679 @Yuiai01 - 🐞 修复 Button props 类型定义支持 data-* 属性。#41650
- 🐞 修复表格列宽不够的问题 issue 40814。#41626
- 🐞 修复 Mentions 弹层样式。#41660
- 🐞 改进 Form.Item 关于
require的判断逻辑。#41623 @Wxh16144 - 国际化
- 🇹🇭 添加 Tour、Image 和 QRCode 泰语语言环境。#41697 @buildingwatsize
v5.4.0
- 🗑 Remove
antd/es/locale-providerantd/lib/locale-providerdirectory since LocaleProvider was replaced by ConfigProvider and removed in 4.x version years before. #41289 @li-jia-nan - 🆕 DatePicker/TimePicker/Calendar could change date-library to luxon now. #41580 @hihuz
- 🆕 Add Form.Item.useStatus hook to get error messages. #41554 @Yuiai01
- 🆕 Input and Input.TextArea support
classNamesandstylesprops. #41493 - 🆕 Tag add
bordered={false}to support border-less style. #41305 @li-jia-nan - 🆕 FloatButton support
badgeprop. #41040 @li-jia-nan - 🆕 Select add
titleproperty. #41280 - 🆕 Image component supports
preview.rootClassName. #41265 @Yuiai01 - 🆕 Modal added
afterOpenChangeprop. #41253 @MuxinFeng - 🆕 Form.useWatch could watch field change at preserve mode. #41191 @li-jia-nan
- 🛠 Refactor some components by using
useMemo. #41533 #41550 @li-jia-nan - 🛠 Refactor Checkbox with hooks and new types. #41117
- 🛠 Refactor Input.TextArea that move count into
affixWrapperelement. #41450 - 🆕 DatePicker/Calendar add
cellRenderfor custom cells and deprecated propertiesdateRenderandmonthCellRenderin DatePicker, deprecated propertiesdateCellRender、monthCellRender、dateFullCellRender、monthFullCellRenderin Calendar. #41584 @kiner-tang - 🐞 Fix Tour double arrow problem. #41578 @acyza
- 🐞 Fix Checkbox with customize
controlHeighttoken not align in center with text. #41566 - 🐞 Fix Form.Item not rendering correctly in Modal when it has
help. #40519 @Yuiai01 - 🐞 Fix Form wrong UI status when using
hasFeedback. #41594 @Yuiai01 - 🐞 Fix Slider throws warning
[antd: Tooltip] forcePopupAlign is align to forceAlign instead. #41540 @MuxinFeng - 🐞 Fix checkable Table checking not working when click on the edge of checkbox. #41519
- Locales
- 🇲🇲 Added Burmese locale. #41366 @enson0131
- 🇻🇳 Fix Vietnamese locale text. #41320 @trongtai37 #41345 @duypham90
- 🇩🇪 Update TimePicker german locale. #41521 @Yuiai01
- 🗑 移除
antd/es/locale-providerantd/lib/locale-provider目录,LocaleProvider 已在 4.x 版本移除,使用 ConfigProvider 作为替代。#41289 @li-jia-nan - 🆕 DatePicker 等时间类组件可以定制 luxon 作为日期库。#41580 @hihuz
- 🆕 新增 Form.Item.useStatus 以支持获取错误状态信息。#41554 @Yuiai01
- 🆕 Input 和 Input.TextArea 组件支持
classNames和styles属性,用于更细粒度的样式自定义。#41493 - 🆕 Tag 新增无边框模式。#41305 @li-jia-nan
- 🆕 FloatButton 支持用
badge属性开启角标功能。#41040 @li-jia-nan - 🆕 Select 支持
title属性以便覆盖一些自带的 title 提示。#41280 - 🆕 Image 组件支持设置
preview.rootClassName。#41265 @Yuiai01 - 🆕 Modal 组件支持
afterOpenChange属性。#41253 @MuxinFeng - 🆕 Form.useWatch 新增
preserve参数,支持在 Form.Item 未注册的情况下setFieldValue时触发监听。#41191 @li-jia-nan - 🛠 使用
useMemo重构部分组件代码。#41533 #41550 @li-jia-nan - 🛠 使用 React hooks 重构 Checkbox,并优化了 TS 定义。#41117
- 🛠 重构 Input.TextArea 文字计数实现方式,移至
affixWrapper元素中。#41450 - 🆕 DatePicker/Calendar 组件新增
cellRender用于自定义日期单元格,同时在 DatePicker 中废弃dateRender和monthRender等属性,在 Calendar 中废弃dateCellRender、monthCellRender、dateFullCellRender、monthFullCellRender等属性。#41584 @kiner-tang - 🐞 修复 Tour 出现两个箭头的问题。#41578 @acyza
- 🐞 修复 Checkbox 配置
controlHeighttoken 时勾选框与文字不对齐的问题。#41566 - 🐞 修复 Form.Item 存在
help值时在 Modal 中没有正确渲染元素。#40519 @Yuiai01 - 🐞 修复 Form 使用
hasFeedback时表单状态不对的问题。#41594 @Yuiai01 - 🐞 修复 Slider 组件显示
Warning: [antd: Tooltip] forcePopupAlign is align to forceAlign instead警告信息的问题。#41540 @MuxinFeng - 🐞 修复可选择 Table 的勾选框在边缘点击的时候无法触发勾选的问题。#41519
- 国际化
- 🇩🇪 更新 TimePicker 德语本地化文案。#41521 @Yuiai01
- 🇻🇳 修复越南语本地化文案。#41320 @trongtai37 #41345 @duypham90
- 🇲🇲 添加缅甸语本地化文案。#41366 @enson0131
v5.3.3
- Menu
- 🐞 Fix Table filter do not persist filter status when filter dropdown is visible. #41445 @ablakey
- 🐞 Fix Modal using
useModalis not transparent and prefers user settings. #41422 @luo3house - Form
- 🐞 Fix the problem that the Form validation state does not change in sequence. #41412 @kiner-tang
- 💄 Fix Form component layout exceptions when set props
layout="inline". #41140 @itkui
- 💄 Fix ConfigProvider
noncenot working on CSS-in-JS style. #41482 - 💄 Fix Pagination when
size=small, pagination button active, previous page next page button hover and active styles are lost. #41462 #41458 - 💄 Fix the style problem that the bottom border of the Tabs component overlaps with other borders. #41381
- 💄 Fix Dropdown.Button down icon size issue. #41501
- TypeScript
- Locales
- 🇮🇷 Improve DatePicker
fa_IRtranslation. #41455 @ds1371dani - 🇸🇪 Add the missing content of
sv_SElanguage. #41424 @dhalenok
- 🇮🇷 Improve DatePicker
- Menu
- 🐞 修复 Table 过滤器未保持状态当筛选下拉框展示时。#41445 @ablakey
- 🐞 修复 Modal 使用
useModal未透传并优先选择用户设定。#41422 @luo3house - Form
- 🐞 修复 Form 验证状态不按照顺序改变的问题。#41412 @kiner-tang
- 💄 修复 Form 组件
layout="inline"时组件标题与表单项布局异常换行问题。#41140 @itkui
- 💄 修复 ConfigProvider
nonce对 CSS-in-JS 样式不生效的问题。#41482 - 💄 修复 Pagination
size=small时,分页按钮 active、上一页下一页按钮 hover 和 active 样式丢失。#41462 #41458 - 💄 修复 Tabs 组件下边框与其他边框叠加的样式问题。#41381
- 💄 修复 Dropdown.Button down 图标尺寸问题。#41501
- TypeScript
- 国际化
- 🇮🇷 完善 DatePicker
fa_IR翻译。#41455 @ds1371dani - 🇸🇪 完善
sv_SE语言缺失内容。#41424 @dhalenok
- 🇮🇷 完善 DatePicker
v5.3.2
- Anchor
- 💄 Fix Anchor redundant border style when it is set to horizontal direction. #41336 @gooyoung
- 💄 Fix Anchor ink square style in
verticalmode. #41317 @acyza
- 🐞 Fix Grid
offsetcan not be overwritten problem under different device screen sizes. #41309 @Yuiai01 - 🐞 Fix Breadcrumb
onClicknot working bug. #41283 @acyza - 🐞 Fix Upload trigger Progress warning after upload. #41234 @kiner-tang
- 🐞 Fix Table unexpected layout problem when dragging element to the right. #41139 @hoho2017
- 💄 Fix Tabs more icon color in dark mode. #41313 @PhosphorusP
- 💄 Fix Button focus outline style be covered by Dropdown.Button. #41282 @Yuiai01
- 💄 Fix Input.TextArea style problem when focusing. #41228 @MuxinFeng
- RTL
- 💄 Fix Input.TextArea RTL style when enable
showCount. #41319 @ds1371dani
- 💄 Fix Input.TextArea RTL style when enable
- TypeScript
- 🤖 Export
CountdownPropsfor Statistic. #41341 @li-jia-nan - 🤖 Improve most alias token meta info. #41297 @arvinxx
- 🤖 Improve Badge
React.forwardReftype definition. #41189 @li-jia-nan
- 🤖 Export
- Anchor
- 💄 修复 Anchor 组件设置为水平方向时多余的 border 样式。#41336 @gooyoung
- 💄 修复 Anchor 处于
vertical方向时 ink 小方块的样式。#41317 @acyza
- 🐞 修复 Grid 在不同设备屏幕下的
offset设置不会被覆盖的问题。#41309 @Yuiai01 - 🐞 修复 Breadcrumb
onClick不工作的问题。#41283 @acyza - 🐞 修复 Upload 在上传完毕后 Progress 组件抛出警告的问题。#41234 @kiner-tang
- 🐞 修复 Table 在拖动元素一直右移时布局错误的问题。#41139 @hoho2017
- 💄 修复 Tabs 在深色模式下更多图标的色值。#41313 @PhosphorusP
- 💄 修复 Button 下拉时聚焦轮廓被其他元素遮挡的问题。#41282 @Yuiai01
- 💄 修复 Input.TextArea 在 focus 状态下的样式问题。#41228 @MuxinFeng
- RTL
- 💄 修复 Input.TextArea 在启用
showCount时 RTL 模式下位置不正确的问题。#41319 @ds1371dani
- 💄 修复 Input.TextArea 在启用
- TypeScript
- 🤖 导出 Statistic 的
CountdownProps类型。#41341 @li-jia-nan - 🤖 优化 token 的类型提示和说明。#41297 @arvinxx
- 🤖 优化 Badge
React.forwardRef类型定义。#41189 @li-jia-nan
- 🤖 导出 Statistic 的
v5.3.1
- 🐞 Update DatePicker deps to fix laggy in Safari and support align with
transform scale. #41090 - 🐞 Fix Menu collapse, Tooltip sometime show with unexpected. #41081
- 🐞 Fix Modal.confirm has additional node which makes height not correct. #41173 @Svudec
- 🐞 Fixed InputNumber
disabledtext color not correct. #41167 @Yuiai01 - 🐞 Fix Anchor highlighting not working when dynamically updating
items. #40743 @zqran - 🛠 Update Mentions deps to support align with
transform scale. #41160 @MuxinFeng - 🐞 Fix Form with manually called
validateFieldsnot show success status whenhasFeedbackis on. #41116 @kiner-tang - 🐞 Fix Cascader sub panel not close when hover to leaf node. #41134
- 🐞 Fix Popconfirm using
Promiseto close will not existloadingstate even when open again. #41121 - 🐞 Fix Upload
onChangesometime not sync when in React 18. #41082 @li-jia-nan - 🛎 Update demo with Space.Compact instead of legacy one and patch warning info. #41080 @Yuiai01
- 🌐 Update ko_KR、Added Amharic Language. #41103 @li-jia-nan
- 🐞 更新 DatePicker 底层依赖,修复 Safari 下卡顿,支持
transform scale下对齐。#41090 - 🐞 修复 Menu 收缩时,Tooltip 有时会弹出的问题。#41081
- 🐞 修复 Modal.confirm 窗体有额外节点导致高度不正确的问题。#41173 @Svudec
- 🐞 修复 InputNumber
disabled时字体高亮不正确的问题。#41167 @Yuiai01 - 🐞 修复 Anchor 动态添加
items后高亮失效问题。#40743 @zqran - 🛠 更新 Mentions 底层依赖,支持
transform scale下对齐。#41160 @MuxinFeng - 🐞 修复 Form 手工调用
validateFields时,hasFeedback对成功态不生效的问题。#41116 @kiner-tang - 🐞 修复 Cascader 在悬浮至叶子节点时,展开面板没有关闭的问题。#41134
- 🐞 修复 Popconfirm 使用
Promise关闭时再次打开仍然是loading状态的问题。#41121 - 🐞 修复 Upload 在 React 18 下
onChange有时数据不正确的问题。#41082 @li-jia-nan - 🛎 补充官网中没有切换到 Space.Compact 的遗留示例,并且添加相应警告。#41080 @Yuiai01
- 🌐 更新韩语国际化,添加国际化阿姆哈拉语。#41103 @li-jia-nan
v5.3.0
- 🆕 Tooltip support
arrow.pointAtCenterand deprecatearrow.arrowPointAtCenter. #40989 @MadCcc - 🆕 Progress support custom
size. #40903 @kiner-tang - 🆕 Tour support custom
zIndex. #40982 @kiner-tang - 🆕 Table
onHeaderCellsupport customizecolSpanandrowSpan. #40885 - 🆕 Image.Group support
onChangecallback. #40857 @kiner-tang - App
- 🆕 App support
styleprops. #40708 @li-jia-nan - 🆕 App support
messageandnotificationoptions. #40458 @luo3house
- 🆕 App support
- 🆕 ConfigProvider support
useConfighook to getsizeanddisabledin context. #40215 @xliez - 🆕 Breadcrumb support
itemsprop. #40543 @heiyu4585 - 🛠 Breadcrumb separators are unified into
lielements. #40887 @heiyu4585 - 🛠 Tooltip support auto arrow position & adjust position if possible.
destroyTooltipOnHide.keepParentis deprecated since it will be always auto destroy unnecessary container now. #40632 - 🛠 Rename preset colors in token, .e.g
blue-1toblue1, and deprecate tokens before. #41071 - 💄 Message use
colorTextin style. #41047 @Yuiai01 - 💄 Fix Select, TreeSelect, Cascader popup align position not correct when parent has
transform: scalestyle. #41013 - 💄 Optimize
rowScopestyle for Table. #40304 @Yuiai01 - 💄 Provide new AliasToken
lineWidthFocusforoutline-widthof focused component. #40840 @MadCcc - 💄 WeekPicker support hover style. #40772
- 💄 Adjust Select, TreeSelect, Cascader always show the
arrowby default when multiple. #41028 - 🐞 Fix Form
Form.Item.useStatusproblem with sever-side-rendering. #40977 @AndyBoat - 🐞 Fix arrow shape in some components. #40971 @MadCcc
- 🐞 Fix Layout throw
React does not recognize thesuffixClsprop on a DOM elementwarning. #40969 - 🐞 Fix Watermark that text will be displayed when the picture loads abnormally. #40770 @OriginRing
- 🐞 Image support flip function in preview mode. Fix Image
fallbackwhen used in ssr. #40660 - 🐞 Fix Typography component is not centered in the Select component. #40422 @Yuiai01
- 🌐 Update locale
vi_VNadding Vietnamese translation for Form component validation. #40992 @lamvananh - RTL
- 💄 FloatButton support
rtlmode. #40990 @li-jia-nan
- 💄 FloatButton support
- TypeScript
- 🤖 Fix Cascader that generics should not be necessary. #40961 @crazyair
- 🆕 Tooltip 组件新增
arrow.pointAtCenter, 废弃arrow.arrowPointAtCenter。#40989 @MadCcc - 🆕 Progress 组件支持自定义
size。#40903 @kiner-tang - 🆕 Tour 组件支持自定义
zIndex。#40982 @kiner-tang - 🆕 Table
onHeaderCell支持自定义colSpan和rowSpan。#40885 - 🆕 Image.Group 支持
onChange回调。#40857 @kiner-tang - App
- 🆕 App 支持自定义
style。#40708 @li-jia-nan - 🆕 App 提供预先配置
message、notification的选项。#40458 @luo3house
- 🆕 App 支持自定义
- 🆕 ConfigProvider 新增
useConfig以获取上下文中的size和disabled。#40215 @xliez - 🆕 Breadcrumb 支持
items数据驱动。#40543 @heiyu4585 - 🛠 Breadcrumb 分隔符统一为
li元素。#40887 @heiyu4585 - 🛠 Tooltip 现在自动调整自身以及箭头位置以更好的展示。同时废弃
destroyTooltipOnHide.keepParent,现在总是会自动销毁不需要的容器。#40632 - 🛠 重命名 token 中的预设颜色,如
blue-1变为blue1,废弃原有的 token。#41071 - 💄 Message 组件使用
colorText优化样式。#41047 @Yuiai01 - 💄 修复 Select, TreeSelect, Cascader 父元素存在
transform: scale样式时的对齐问题。#41013 - 💄 优化 Table 中
rowScope的样式。#40304 @Yuiai01 - 💄 为组件聚焦时的
outline提供新的 AliasTokenlineWidthFocus。#40840 @MadCcc - 💄 WeekPicker 支持鼠标悬浮样式。#40772
- 💄 调整 Select, TreeSelect, Cascader 在多选时总是默认显示下拉箭头。#41028
- 🐞 修复 Form 组件
Form.Item.useStatus导致的服务端渲染问题。#40977 @AndyBoat - 🐞 修复部分组件箭头形状问题。#40971 @MadCcc
- 🐞 修复 Layout 报错
React does not recognize thesuffixClsprop on a DOM element的问题。#40969 - 🐞 修复 Watermark 组件图片加载异常时的问题,默认展示文字。#40770 @OriginRing
- 🐞 Image 预览新增图片翻转功能。并修复 Image
fallback在 ssr 下失效的问题。#40660 - 🐞 修复 Select 中使用 Typography 不居中的问题。#40422 @Yuiai01
- 🌐 完善 Form 的
vi_VN语言包。#40992 @lamvananh - RTL
- 💄 修复 FloatButton 不支持
rtl模式的问题。#40990 @li-jia-nan
- 💄 修复 FloatButton 不支持
- TypeScript
- 🤖 修复 Cascader 泛型为非必传。#40961 @crazyair
v5.2.3
- 🐞 Fix for setting
percentandsuccess.percentat the same time forProgress, the progress text does not change aspercentchanges. #40922 - 🐞 Fixed Image preview icon was misaligned.#40911
- 🐞 Fix ConfigProvider validation message template override Form configure template sometime. #40533 @Wxh16144
- 🐞 Fixed Confirm Modal
onOkevent could be triggered twice when close. #40719 @Rafael-Martins - 🛠 Rewrote the
useLocalemethod and exposedlocaleCodeto the public. #40884 @li-jia-nan - 🐞 Fixed Segmented component items were unresponsive to mouse events. #40894 @MadCcc
- 🛠 Refactored: replaced the LocaleReceiver component with
useLocaleand removed the LocaleReceiver component. #40870 @li-jia-nan - 🐞 Fixed
getPopupContainerproperty injected by ConfigProvider did not work. #40871 @RedJue - 🐞 Fixed where Descriptions did not accept
data-_andaria-_attributes. #40859 @goveo - 🛠 Changed the Separator's DOM element from
spantoli. #40867 @heiyu4585 - 🐞 Fix token of
Layout.colorBgHeadernot work when single use Layout.Header directly. #40933 - 💄 Changed the component's focus
outlineto the default4px.#40839 @MadCcc - 🐞 Fixed the Badge color was displayed abnormally. #40848 @kiner-tang
- 🐞 Fixed an issue with the Timeline item's
className. #40835 @Yuiai01 - 💄 Fixed the interaction style of the Rate component in the disabled state.#40836 @Yuiai01
- 🇮🇷 Added Iranian localization. #40895 @majidsadr
- 🐞 修复 Progress 同时设置 percent 和 success.percent 时,进度文本不会随着 percent 改变而改变。#40922
- 🐞 修复 Image 预览图标不对齐的问题。#40911
- 🐞 修复 ConfigProvider 组件表单校验消息生效顺序。#40533 @Wxh16144
- 🐞 修复 Confirm Modal
onOk可能触发两次的问题。#40719 @Rafael-Martins - 🛠 重写
useLocale方法,对外暴露localeCode。#40884 @li-jia-nan - 🐞 修复 Segemented 组件子项不响应鼠标事件的问题。#40894 @MadCcc
- 🛠 重构:使用
useLocale替换 LocaleReceiver 组件,并删除 LocaleReceiver 组件。#40870 @li-jia-nan - 🐞 修复 ConfigProvider 注入的
getPopupContainer属性 不生效的问题。#40871 @RedJue - 🐞 修复 Descriptions 不接受
data-*和aria-*等属性的问题。#40859 @goveo - 🛠 修改 Separator 的 dom 由
span改为li。#40867 @heiyu4585 - 💄 修改组件聚焦下的
outline为默认4px。#40839 @MadCcc - 🐞 修复 Layout.Header 单独使用时,
Layout.colorBgHeadertoken 配置不生效的问题。#40933 - 🐞 修复 Badge 颜色显示异常问题。#40848 @kiner-tang
- 🐞 修复 Timeline 的子项的
className错误。#40835 @Yuiai01 - 💄 修复 Rate 在禁用状态下的交互样式。#40836 @Yuiai01
- 🇮🇷 增加了伊朗本地化。#40895 @majidsadr
v5.2.2
- DatePicker
- Form
- 🐞 Fix List extra padding when enable
gridproperty. #40806 - 🐞 Fix Upload actions icon alignment issue. #40805
- 💄 Tweak Table filter dropdown radius style. #40802
- 🐞 Fix Button
loading.delaynot delay at first time. #40759 @RedJue - 🐞 Fix Input status style when using
addonAfterandaddonBefore. #40744 @carla-cn - 🐞 Fix Skeleton
activeflicky animation in Safari. #40692 @slotDumpling - Locales
- 🇫🇷 Added french locale for Tour component. #40750 @RedJue
- 🇰🇷 Update ko_KR locale. #40716 @owjs3901
- DatePicker
- Form
- 🐞 修复 List 启用
grid时下额外padding样式。#40806 - 🐞 修复 Upload 操作图标不对齐的问题。#40805
- 💄 调整 Table 筛选菜单的底部圆角样式。#40802
- 🐞 修复 Button 组件
loading.delay第一次不生效的问题。#40759 @RedJue - 🐞 修复 Input
addonAfter和addonBefore的各种状态样式。#40744 @carla-cn - 🐞 修复 Skeleton 在 Safari 下
active效果闪烁的问题。#40692 @slotDumpling - 国际化
- 🇫🇷 补充 Tour 法语本地化文案。#40750 @RedJue
- 🇰🇷 更新韩国本地化文案。#40716 @owjs3901
v5.2.1
- 🛠 Rewrite
panelRenderin Tour to funtion component。#40670 @li-jia-nan - 🐞 Fix
classNameproperty wrongly passed to child nodes in TimeLine。#40700 @any1024 - 🐞 Fix Silder dot to trigger click and hover correctly. #40679 @LongHaoo
- 🐞 Fix Tour that should support
0as element. #40631 @li-jia-nan - 💄 Fix DataPicker.RangePicker hover range style. #40607 @Yuiai01
- 💄 Optimize Steps custom
iconsize. #40672 @MadCcc - TypeScript
- 🤖 Update Upload to support generic types. #40634 @riyadelberkawy
- 🌐 Localization
- 🇷🇺/🇺🇦 add missing translations for ru_RU and uk_UA. #40656 @eldarcodes
- 🛠 重构 Tour 中
panelRender为函数式组件。#40670 @li-jia-nan - 🐞 修复 TimeLine 中
className传给子节点的问题。#40700 @any1024 - 🐞 修复 Silder 中的标记点在边缘无法点击的问题。#40679 @LongHaoo
- 🐞 修复 Tour 不支持
0作为节点的问题。#40631 @li-jia-nan - 💄 修复 DataPicker.RangePicker 的 hover 范围样式。#40607 @Yuiai01
- 💄 优化 Steps 组件自定义
icon的大小。#40672 @MadCcc - TypeScript
- 🤖 Upload 组件支持泛型。#40634 @riyadelberkawy
- 🌐 国际化
- 🇷🇺/🇺🇦 补全
ru_RU和uk_UA文案。#40656 @eldarcodes
- 🇷🇺/🇺🇦 补全
v5.2.0
- 🔥 Add
picture-circleto Upload'slistTypeprop. #40134 @ds1371dani - 🔥 Anchor component add
direction, which supports vertical. #39372 @foryuki - 🆕 Tooltip support
arrowto change arrow's visible state and whether the arrow is pointed at the center of target. #40234 @kiner-tang - 🆕 Added list pagination
alignoption. #39858 @Yuiai01 - 🆕 Timeline added
itemsto support option configuration. #40424 - Collapse
- Slider
- 🆕 Slider add
railStylefor custom style. #40579 @david-cord - 🆕 Slider add support for disable
keyboardevents. #40526 - 🐞 Fix Slider missing Tooltip appear motion. #39857
- 🆕 Slider add
- Dropdown
- 🆕 Dropdown support
autoAdjustOverflowoption. #39735 - 💄 Fix Dropdown component
dangeanddisabledstyle priority issue. #39904 @Wxh16144
- 🆕 Dropdown support
- Tour
- 🆕 Tour added
indicatorsRenderto support custom indicators. #40613 - 🆕 Tour support
scrollIntoViewOptionsto change scrollIntoView options. #39980 @kiner-tang - 🆕 Tour masks support passing custom styles and fill colors. #39919 @kiner-tang
- 🐞 Fixed
findDomNodemethod warning thrown by the tour component when called in strict mode. #40160 @kiner-tang - 💄 Deleted margin of the last indicator. #40624
- 🆕 Tour added
- 🆕 Adds Design token
fontFamilyCodeand apply to Typographycodekbdpreelements. #39823 - 🆕 ConfigProvider add Form
scrollToFirstError。#39509 @linxianxi - 🐞 Fill rest
rootClassNamefor all components. #40217 - 🐞 Fix Empty descriptions text color in default theme and dark theme. #40584 @MuxinFeng
- Table
- 🐞 Fix
aria-labelandrole="presentation"cannot be used together in Table row. #40413 @Ke1sy - 🐞 Fix uncontrolled
filteredupdate not working. #39883 - 🐞 Fix the problem that the header filter is invalid in the case of group headers. #40463 @roman40a
- 🐞 Fix selection column cover by other cell when fixed. #39940 @kiner-tang
- 🐞 Fix Sorted/Filtered table fixed column transparent background unreadable. #39012 @kiner-tang
- 💄 Optimize Table hover style to fix problems with border. #40469
- 🐞 Fix
- DatePicker
- 🐞 Fix DatePicker that have status style when disabled. #40608
- 💄 Optimize the DatePicker input box style. #40549 @Wxh16144
- 💄 Optimize DatePicker Dropdown arrow style. #40521
- 🐞 Fix Space
ant-space-itemselector bug. #40554 @cncolder - 🐞 Fix not close Spin immediately when using
delay. #40475 @3Alan - 🐞 Fix Modal
useModaldefault confirm button text logic. #39884 @BoyYangzai - 🛠 Refactored the water ripple visual effect to trigger multiple water ripples at the same time. #39705 @li-jia-nan
- 🛠 Refactor Input.TextArea and Mentions. #40045
- 🛠 Refactor Affix Calendar to use React.createRef instead of function. #40538 @li-jia-nan
- 💄 Fix Tabs more button unexpected height. #40488
- 💄 Resolve Image preview style conflict with TailwindCSS. #39914
- 💄 Fix Progress that
transitionof success bar is missing. #40487 - 💄 Fix the misalignment of Input.Group when zooming the screen under windows. #39842 @heiyu4585
- 💄 Fix Select placeholder style issue. #40477 @Wxh16144
- 💄 Adjust Descriptions label style for more readable. #40085
- 💄 Optimize QRCode expiration display style. #39849
- 💄 Optimize
boxShadowtokens. #40516 - TypeScript
- 🤖 Optimize Badge Tag Tooltip
colortype definition. #39871 - 🤖 Add
BreakpointThmeConfigGlobalTokentype export. #40508 @Kamahl19 - 🤖 Update Upload
fileListtype. #40585 - 🤖 Remove Tour ForwardRefRenderFunction. #39924
- 🤖 Optimize Badge Tag Tooltip
- 🌐 Localization
- 🇮🇳 Add
ta_INlocal. #39936 @KIRUBASHANKAR26
- 🇮🇳 Add
- 🔥 Upload 的
listType属性添加picture-circle支持。#40134 @ds1371dani - 🔥 Anchor 组件新增
direction属性,支持 vertical。#39372 @foryuki - 🆕 Tooltip 新增
arrow属性用来改变箭头的显示状态和箭头是否指向目标元素的中心。#40234 @kiner-tang - 🆕 List 分页新增
align配置。#39858 @Yuiai01 - 🆕 Timeline 新增
items支持选项配置。#40424 - Collapse
- Slider
- 🆕 Slider 新增
railStyle属性用于自定义样式。#40579 @david-cord - 🆕 Slider 新增
keyboard属性以支持禁用键盘事件。#40526 - 🐞 修复 Slider 展示 Tooltip 时动画丢失的问题。#39857
- 🆕 Slider 新增
- Dropdown
- 🆕 Dropdown 组件支持
autoAdjustOverflow属性。#39735 - 💄 修复 Dropdown
dange和disable属性同时使用样式问题。#39904 @Wxh16144
- 🆕 Dropdown 组件支持
- Tour
- 🆕 Tour 新增
indicatorsRender支持自定义指示器。#40613 - 🆕 Tour 支持通过
scrollIntoViewOptions改变scrollIntoView的选项。#39980 @kiner-tang - 🆕 Tour 遮罩支持传递自定义样式和填充颜色。#39919 @kiner-tang
- 🐞 修复 Tour 在严格模式下调用
findDomNode抛出警告问题。#40160 @kiner-tang - 💄 删除了最后一个指示器的 margin。#40624
- 🆕 Tour 新增
- 🆕 新增 Design token
fontFamilyCode并应用到 Typography 的codekbdpre等元素上。#39823 - 🆕 ConfigProvider 新增 Form
scrollToFirstError。#39509 @linxianxi - 🐞 为全部组件补足
rootClassName属性。#40217 - 🐞 修复 Empty 在默认主题和暗黑主题下的描述文字颜色。#40584 @MuxinFeng
- Table
- 🐞 修复 Table 行
aria-label和role="presentation"无法一起使用的问题。#40413 @Ke1sy - 🐞 修改非受控
filtered修改不生效的问题。#39883 - 🐞 修表头过滤器在分组标题情况下失效的问题。#40463 @roman40a
- 🐞 修复选择列固定时滚动会被其他单元格遮盖的问题。#39940 @kiner-tang
- 🐞 修复排序/筛选的表格的固定列背景色透明导致显示异常问题。#39012 @kiner-tang
- 💄 优化 Table 组件 hover 样式,修复边框异常问题。#40469
- 🐞 修复 Table 行
- DatePicker
- 🐞 修复 DatePicker 组件禁用时状态样式生效的问题。#40608
- 💄 优化 DatePicker 输入框样式。#40549 @Wxh16144
- 💄 优化 DatePicker Dropdown 箭头样式。#40521
- 🐞 修复 Space
ant-space-item选择器错误。#40554 @cncolder - 🐞 修复当设置
delay时,Spin 没有立即关闭的问题。#40475 @3Alan - 🐞 修复 Modal
useModal默认确认按钮文本逻辑。#39884 @BoyYangzai - 🛠 重构水波纹视效,以支持多个水波纹同时触发了。#39705 @li-jia-nan
- 🛠 重构 Input.TextArea 组件和 Mentions 组件。#40045
- 🛠 重构 Affix Calendar 使用 React.createRef 代替函数。#40538 @li-jia-nan
- 💄 修复 Tabs 更多按钮高度样式错误。#40488
- 💄 修复 Image 预览样式会被 TailwindCSS 影响的问题。#39914
- 💄 修复 Progress 成功进度条
transition样式丢失问题。#40487 - 💄 修复 Input.Group 在 windows 下缩放屏幕时的错位问题。#39842 @heiyu4585
- 💄 修复 Select placeholder 样式问题。#40477 @Wxh16144
- 💄 调整 Descriptions 标签样式使其更容易区分。#40085
- 💄 优化 QRCode 过期显示样式。#39849
- 💄 优化
boxShadowtoken 分级。#40516 - TypeScript
- 🤖 优化 Badge Tag Tooltip
color类型定义。#39871 - 🤖 新增
BreakpointThmeConfigGlobalToken类型导出。#40508 @Kamahl19 - 🤖 更新 Upload
fileList类型。#40585 - 🤖 移除 Tour ForwardRefRenderFunction。#39924
- 🤖 优化 Badge Tag Tooltip
- 🌐 国际化
- 🇮🇳 补全
ta_IN文案。#39936 @KIRUBASHANKAR26
- 🇮🇳 补全
v5.1.7
- Input
- 🐞 Fix Switch text layout problem in Safari and Chrome <= 84 with compatible mode. #40453 @Ifeinstein
- 🐞 Fix Progress that throw error when
percentisnull. #40378 @li-jia-nan - 🐞 Fix List title and avatar be rendered in the wrong position. #40395 @li-jia-nan
- 🐞 Fix Dropdown submenu wrong position. #40349
- 🐞 Fix Badge throw
findDOMNodewarning in StrictMode whendotswitch. #40347 - 🐞 Fix Message wrong icon color problem. #40471 @Wxh16144
- 💄 Adjust Empty component default style in dark theme. #40447
- RTL
- 💄 Fix Table scroll shadow in RTL mode. #40441 @ds1371dani
- TypeScript
- 🤖 Export ConfigProvider's ThemeConfig type. #40370 @Kamahl19
- Input
- 🐞 修复 Switch 在 Safari 和 Chrome <= 84 兼容模式下文本的显示问题。#40453 @Ifeinstein
- 🐞 修复 Progress 的
percent属性设置为null时报错的问题。#40378 @li-jia-nan - 🐞 修复 List 中 title 和 avatar 渲染错位的问题。#40395 @li-jia-nan
- 🐞 修复 Dropdown 子菜单位置不正确的问题。#40349
- 🐞 修复 Badge 在 StrictMode 下切换
dot时会报findDOMNode警告的问题。#40347 - 🐞 修复 Message 图标颜色错误的问题。#40471 @Wxh16144
- 💄 优化 Empty 在暗色主题下默认的颜色。#40447
- RTL
- 💄 修复 Table 在 RTL 模式下的滚动阴影。#40441 @ds1371dani
- TypeScript
- 🤖 导出 ConfigProvider 组件的 ThemeConfig 类型。#40370 @Kamahl19
v5.1.6
- 🐞 Fix DatePicker animation timing function. #40133 @MadCcc
- Menu
- 🐞 Fix Tooltip incorrectly shown when Menu collapsed. #40328
- 🐞 Fix Menu split line style error. #40268 @Wxh16144
- 🐞 Fix the console warning of wave effect when bind component unmount before wave effect trigger. #40307 @luo3house
- 🐞 Fix Breadcrumb throw wrong overlay deprecation warning when use
menuprop. #40211 @candy4290 - 🐞 Fix Modal.useModal hooks
destroyAllnot work as expect. #40281 @ds1371dani - 🐞 Fix
messageglobal static methodconfigsettingdurationnot working. #40232 @Yuiai01 - 🐞 Fix Button text color when containing an
atag. #40269 @ds1371dani - 🐞 Fix Radio displaying wrong text color and cursor when
disabled. #40273 @ds1371dani - 💄 Optimize the calculation logic of focus
outline, replacelineWidthwithlineWidthBold. #40291 @simonpfish - 💄 Rewrite part component style to compatible the browser that not support concat
:notselector. #40264 - 🌐 Fix missing translation for
pt_BR. #40270 @rafaelncarvalho
- 🐞 修复 DatePicker 等组件动画 timing function 错误的问题。#40133 @MadCcc
- Menu
- 🐞 修复 Menu 收缩时,Tooltip 偶尔会错误展示的问题。#40328
- 🐞 修复 Menu 分割线样式错误。#40268 @Wxh16144
- 🐞 修复带波纹效果的组件(如 Button)在波纹展示前移除时,控制台报错的问题。#40307 @luo3house
- 🐞 修复 Breadcrumb 组件使用
menu属性,但是出现 overlay deprecation 警告的问题。#40211 @candy4290 - 🐞 修复 Modal.useModal
destroyAll不工作的问题。#40281 @ds1371dani - 🐞 修复
message组件通过config设置duration无效问题。#40232 @Yuiai01 - 🐞 修复 Button 包含
a标签时的 文本颜色不正确的问题。#40269 @ds1371dani - 🐞 修复 Radio 在
disabled时显示错误的文本颜色和光标。#40273 @ds1371dani - 💄 优化 focus
outline计算逻辑,替换lineWidth为lineWidthBold。#40291 @simonpfish - 💄 重写部分组件样式以兼容部分对
:not支持不完全的旧版浏览器。#40264 - 🌐 修复
pt_BR缺失的国际化。#40270 @rafaelncarvalho
v5.1.5
- 🐞 Fix Checkbox that label not aligned with checkbox. #40208
- 🐞 Fix Button wave effect sometime makes layout shaking. #40192
- 🐞 Fix Select crash problem. #40158 @helloqian12138
- 🐞 Fix Timeline custom color displaying wrong classname & alignment overflow. #39394 @Wxh16144
- 🐞 Fix Breadcrumb last item color. #40119 @messaooudi
- 💄 Fix Table sticky table header shadow style. #40171 @Wxh16144
- 💄 Fix Segmented item hover radius style. #40175 #40179
- TypeScript
- RTL
- 💄 Fix DatePicker's next & prev icons in RTL mode. #40238 @ds1371dani
- 💄 Fix Badge RTL style when wrap a block element. #40125
- 🐞 修复 Checkbox 组件 label 不对齐的问题。 #40208
- 🐞 修复 Button 水波纹效果有时会使得布局抖动的问题。#40192
- 🐞 修复 Select 组件会卡住的问题。#40158 @helloqian12138
- 🐞 修复 Timeline 组件自定义颜色显示错误类名和对齐溢出的问题。#39394 @Wxh16144
- 🐞 修复 Breadcrumb 最后一项颜色。#40119 @messaooudi
- 💄 修复 Table 固定表头阴影样式错误。#40171 @Wxh16144
- 💄 修复 Segmented hover 时圆角和选中圆角不一致的问题。#40175 #40179
- TypeScript
- RTL
- 💄 优化 DatePicker 在 RTL 模式下 next 和 prev 图标。#40238 @ds1371dani
- 💄 修复 Badge 作用在块级元素上时 RTL 样式不生效的问题。#40125
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this MR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by RenovateBot