Releases: ant-design/ant-design
Releases · ant-design/ant-design
6.4.3
- 🐞 Fix DatePicker RangePicker empty placeholder when locale only defines singular
*Placeholderfields. #58020 @yogeshwaran-c - 🐞 Fix Result rendering an empty
titleelement when thetitleprop is not provided. #58028 @yogeshwaran-c - 🐞 Fix Select search input font size and line-height rendering issue in Safari. #57990 @QDyanbing
- 🐞 Fix strict ESM build errors caused by deep
@rc-component/utilruntime imports in Form, Input, Button and other components. #57993 @li-jia-nan - 🐞 Fix Transfer
filteredItemsnot updating whenfilterOptionordirectionchanges. #58004 @afc163 - ⚡️ Improve Table and Mentions performance by reducing redundant array iterations. #58006 @ug-hero
- Table
- 🛠 Rename Table filter types
FilterRestPropstoFilterResetProps, with a deprecated alias kept for compatibility. #57985 @ZQDesigned - ⚡️ Improve Table row selection performance by using Set-based lookup instead of O(n*m)
.includes()checks. #58004 @afc163
- 🛠 Rename Table filter types
- 🐞 修复 DatePicker RangePicker 在语言包仅定义单数形式
*Placeholder时占位符为空的问题。#58020 @yogeshwaran-c - 🐞 修复 Result 未传入
title属性时仍会渲染空的标题元素的问题。#58028 @yogeshwaran-c - 🐞 修复 Select 搜索输入框在 Safari 下字号和行高渲染异常的问题。#57990 @QDyanbing
- 🐞 修复 Form、Input、Button 等组件在严格 ESM 构建链路下因
@rc-component/util运行时深层导入导致的构建报错。#57993 @li-jia-nan - 🐞 修复 Transfer 在
filterOption或direction变化时filteredItems不更新的问题。#58004 @afc163 - ⚡️ 优化 Table 和 Mentions 性能,减少冗余的数组迭代操作。#58006 @ug-hero
- Table
- 🛠 Table 过滤类型将
FilterRestProps更正为FilterResetProps,并保留 deprecated 别名以兼容存量引用。#57985 @ZQDesigned - ⚡️ 优化 Table 行选择性能,使用 Set 查找替代 O(n*m) 的
.includes()判断。#58004 @afc163
- 🛠 Table 过滤类型将
6.4.2
- 🐞 Fix message and notification build error in strict ESM toolchains caused by deep rc notification runtime import. #57976 @QDyanbing
- 🐞 修复 message 和 notification 在严格 ESM 构建链路下因 rc notification 运行时深层导入导致的构建报错。#57976 @QDyanbing
6.4.1
- 🐞 Revert the
exportsfield added in #57930 to fix antd TypeScript type resolution failure undermoduleResolution: "bundler". #57968 @afc163 - 🐞 Fix BorderBeam beam animation breaking at rounded corners. #57969 @QDyanbing
- 🐞 回滚 #57930 中新增的
exports字段,修复 antd 在moduleResolution: "bundler"下 TypeScript 类型解析失败的问题。#57968 @afc163 - 🐞 修复 BorderBeam 光束动画在圆角转弯处断开的问题。#57969 @QDyanbing
6.4.0
- 🔥 Add BorderBeam component for animated border beam effect along container edges. #57720 @QDyanbing
- ConfigProvider
- 🆕 Add Select
allowClearconfig support. #56476 @ug-hero - 🆕 Add Select
showSearch,allowClear,clearIcon,loadingIcon,menuItemSelectedIcon,removeIcon,suffixIconconfig support. #56930 @Pareder - 🆕 Add DatePicker and TimePicker
allowClearandclearIconconfig support. #57002 @guoyunhe - 🆕 Add RangePicker
allowClear,clearIcon,suffixIconconfig support. #57075 @guoyunhe - 🆕 Add Modal
infoIcon,successIcon,warningIcon,errorIconconfig support. #57168 @guoyunhe - 🆕 Add Upload
progressconfig support. #57283 @guoyunhe - 🆕 Add Upload
acceptconfig support. #57286 @guoyunhe - 🆕 Add Modal and Drawer
focusableconfig to control whether the component can receive focus. #57314 @QDyanbing - 🆕 Add Mentions
allowClearconfig support. #57330 @guoyunhe - 🐞 Fix ConfigProvider css var prefix not following
prefixCls. #57803 @QDyanbing
- 🆕 Add Select
- Input
- 🆕 Add Input
allowClear.disabledprop to disable the clear button while keeping it visible. #57240 @guoyunhe - 🆕 Add Input.TextArea
allowClear.disabledprop to disable the clear button while keeping it visible. #57328 @guoyunhe - 🆕 Add Input
clearsemantic segment for customizing clear buttonclassNamesandstyles. #57391 @QDyanbing - 🆕 Add Input.Search
searchIconprop to customize the search icon. #57256 @guoyunhe - ⌨️ Improve Input.Password accessibility and add ConfigProvider support. #57271 @Pareder
- 🆕 Add Input
- Splitter
- 🆕 Add Splitter
destroyOnHiddenprop for panel content mounting. #56772 @AhmeddEsmat - 🆕 Add Splitter smooth transition animation for collapsible panels. #56814 @spider-yamet
- 🗑 Deprecate Splitter
collapsibleIconand addcollapsible.iconreplacement. #57044 @wanpan11 - 🐞 Fix unexpected 1px horizontal padding from Splitter.Panel. #57838 @wanpan11
- 🆕 Add Splitter
- Select
- 🐞 Fix Select option active style priority higher than selected. #56924 @zombieJ
- 🐞 Fix Select
showArrowPaddingInlineEndnot working for content gap. #57769 @QDyanbing - 🐞 Fix Select error status colors not matching Input across outlined and filled variants. #57807 @nickmopen
- 🐞 Fix Select selected value font family not following antd token. #57897 @QDyanbing
- 🐞 Fix Select and TreeSelect non-text
labelRendercontent remaining visible while searching. #57954 @QDyanbing
- Image
- 🆕 Add Image
placeholder.progressprop to show loading progress indicator. #57173 @afc163 - 🆕 Add Image preview mask
closablesupport. #57611 @QDyanbing - 🆕 Add Image
closeIconsemantic node forclassNamesandstylesconfiguration. #57263 @coding-ice - ⌨️ Add focus-visible styles and focusTrap support for Image preview. #57610 @aojunhao123
- 🆕 Add Image
- Typography
- 🆕 Add Typography
actionsplacement prop to control the position of action buttons. #57440 @QDyanbing - 🆕 Add Typography default styles for table elements. #57633 @EmilyyyLiu
- 🆕 Add Typography more flexible semantic structure. #56971 @zombieJ
- 🆕 Add Typography
- Theme
- Wave
- 🆕 Add Wave
triggerTypeconfig to control which element triggers the wave effect. #57402 @wanpan11 - 🐞 Fix Wave ignoring transparent hex colors. #57859 @li-jia-nan
- 🆕 Add Wave
- Tree
- 🆕 Add
itemSwitchersemantic for Tree and TreeSelect. #57281 @QDyanbing - 🐞 Fix Tree scroll-to-top when context menu closes and tree regains focus. #57329 @aojunhao123
- 🆕 Add
- Tag
- 🆕 Add Tag
closesemantic node for close iconclassNamesandstylesconfiguration. #57331 @QDyanbing - 🆕 Add Tag CheckableTagGroup per-option
classNameandstylesupport. #57840 @ZQDesigned
- 🆕 Add Tag
- Table
- 🆕 Add Table
columnprop to configure columns via ConfigProvider. #57545 @QDyanbing - 🆕 Add Table
scrollToalign parameter and upgrade rc-table to 1.10.0. #57594 @EmilyyyLiu
- 🆕 Add Table
- Notification
- 🆕 Add Notification fully semantic structure support. #57824 @zombieJ
- 🐞 Fix Notification close spacing without title. #57821 @QDyanbing
- Menu
- 🐞 Fix Menu item extra layout with icon. #57818 @QDyanbing
- 🐞 Fix Menu item extra ellipsis and tooltip padding. #57823 @QDyanbing
- Form
- 🆕 Add Form
labelAlignprop to ConfigProvider for global label alignment control. #56979 @EmilyyyLiu - 🆕 Add Form semantic DOM support for
help,helpItemandextrato allow custom styling. #57607 @QDyanbing
- 🆕 Add Form
- DatePicker
- 🆕 Add DatePicker
tagRenderprop to customize tag rendering in multiple mode. #57706 @QDyanbing - ⌨️ Improve DatePicker and TimePicker accessibility. #57400 @cyphercodes
- 🆕 Add DatePicker
- Button
- 🆕 Add Button default colors for solid variants. #57495 @QDyanbing
- 🐞 Fix Button icon glyph vertical centering in icon-only buttons. #57896 @RenzoMXD
- 🆕 Add Alert
variantprop to support filled and outlined styles, and ConfigProvider support. #57764 @guoyunhe - 🆕 Add Anchor.Link
targetOffsetprop to set scroll offset for each link individually. #57521 [@EmilyyyLiu](https...
6.3.7
- Input
- 🐞 Fix Input.OTP masked value being visible when selected on Windows. #57689 @QDyanbing
- ⌨️ Improve Input accessibility for the clear button. #57432 @cyphercodes
- 🐞 Fix Card rendering an empty body wrapper when no content was provided. #57735 @QDyanbing
- 🐞 Fix InputNumber selection highlight radius. #57705 @QDyanbing
- 🐞 Fix Tooltip semantic configs such as
className,styles, etc. leaking into Popover and Popconfirm from ConfigProvider. #57731 @pikanohup - 🐞 Fix Typography.Link cannot trigger action buttons such as copy, edit, etc. when disabled. #57762 @aviu16
- 🐞 Fix ConfigProvider language packs export from ESM/CJS dist files. #57318 @ug-hero
- 💄 Fix Alert focus styles for the close button. #57695 @KittyGiraudel
- Input
- 🐞 修复 Input.OTP 在 Windows 下选中文本时可能显示真实值的问题。#57689 @QDyanbing
- ⌨️ 优化 Input 清除按钮的可访问性。#57432 @cyphercodes
- 🐞 修复 Card 在未传入内容时仍渲染空 body 容器的问题。#57735 @QDyanbing
- 🐞 修复 InputNumber 选中文本时的高亮圆角问题。#57705 @QDyanbing
- 🐞 修复 Tooltip 的 ConfigProvider 语义化配置比如
className、styles等泄漏到 Popover 和 Popconfirm 的问题。#57731 @pikanohup - 🐞 修复 Typography.Link 在 disabled 状态下无法触发复制、编辑等操作按钮的问题。#57762 @aviu16
- 🐞 修复 ESM/CJS 默认导出 ConfigProvider 语言包失效的问题。#57318 @ug-hero
- 💄 修复 Alert 的关闭按钮没有焦点样式的问题。#57695 @KittyGiraudel
6.3.6
- 🐞 Fix InputNumber disabled handlers showing hover styles. #57592 @QDyanbing
- 🐞 Fix Space.Addon wrapping CJK content in compact layouts. #57622 @QDyanbing
- 🐞 Fix Cascader menu item ellipsis styles for long option labels. #57540 @QDyanbing
- 🐞 Fix Image preview focus not being locked when opened via keyboard, and restore focus to trigger element after preview closes. #57613 #57614 @aojunhao123
- 🐞 Fix Input disabled border color to use
colorBorderDisabledtoken. #57518 @Gdhanush-13 - 🐞 MISC: Fix some expand animation crash issues. #57636 @momesana
- 🐞 Fix Notification close button overlapping description when title is empty. #57590 @EndlessLucky
- 🐞 Fix Radio hover color display issue in disabled state. #57562 @yfy3939
- Table
- ⚡️ Improve Table filter performance by caching flattened filter keys. #57546 @Jiyur
- ⚡️ Improve Table filter search performance by reusing normalized search input. #57651 @li-jia-nan
- 🐞 Fix Table
rowSelectionto useselectionColumnWidthfrom Design Token as defaultcolumnWidth. #57621 @EmilyyyLiu
- 🐞 Fix Design Token shadow tokens not adapting to dark theme. #57511 @QDyanbing
- 🐞 Fix Transfer remove button still changing color on hover when the list item is disabled. #57579 @Jiyur
- 🐞 Fix Tree checkbox, switcher and content alignment when parent nodes have multiple lines of content. #57471 @jiangrong-devops
- 🐞 修复 InputNumber 禁用步进按钮仍显示悬浮样式的问题。 #57592 @QDyanbing
- 🐞 修复 Space.Addon 在紧凑布局中展示中文等 CJK 内容时会换行的问题。 #57622 @QDyanbing
- 🐞 修复 Cascader 菜单项长选项文本的省略样式问题。 #57540 @QDyanbing
- 🐞 修复 Image 通过键盘打开预览时焦点未被正确锁定的问题,并在关闭预览后恢复焦点到触发元素。 #57613 #57614 @aojunhao123
- 🐞 修复 Input 禁用状态边框未使用
colorBorderDisabledtoken 的问题。 #57518 @Gdhanush-13 - 🐞 MISC: 修复部分展开动画崩溃的问题。 #57636 @momesana
- 🐞 修复 Notification 在 title 为空时关闭按钮与描述内容重叠的问题。 #57590 @EndlessLucky
- 🐞 修复 Radio 禁用状态下 hover 仍显示主色的问题。 #57562 @yfy3939
- Table
- ⚡️ 优化 Table 筛选性能,缓存展开后的筛选键,避免重复计算。 #57546 @Jiyur
- ⚡️ 优化 Table 筛选搜索性能,复用规范化后的搜索输入。 #57651 @li-jia-nan
- 🐞 修复 Table
rowSelection默认未使用 Design Token 中selectionColumnWidth的问题。 #57621 @EmilyyyLiu
- 🐞 修复 Design Token 阴影 token 未适配暗色主题的问题。 #57511 @QDyanbing
- 🐞 修复 Transfer 列表项禁用时移除按钮在悬停下仍会变色的问题。 #57579 @Jiyur
- 🐞 修复 Tree 父级节点出现多行内容时 checkbox、switcher 和 content 未整体对齐的问题。 #57471 @jiangrong-devops
6.3.5
- 🐞 Fix Image preview action buttons not resetting native button styles. #57491 @QDyanbing
- 🐞 Fix TimePicker column cannot scroll directly on touch devices. #57468 @afc163
- 🐞 MISC: Fix Icon not being centered in certain scenarios. #57460 @QDyanbing
- 🐞 修复 Image 预览底部操作按钮没有重置原生按钮样式的问题。#57491 @QDyanbing
- 🐞 修复 TimePicker 在移动端触摸设备无法直接滚动时间列的问题。#57468 @afc163
- 🐞 杂项:修复 Icon 在特定场景没有居中对齐的问题。#57460 @QDyanbing
6.3.4
- 🔥 Add
@ant-design/cliofficial command-line tool for querying Ant Design component knowledge, analyzing project usage, and guiding migrations offline. #57413 @afc163 - 🐞 Fix Form.List losing sibling field values when using
onValuesChange. #57399 @zombieJ - 🐞 Fix missing
screenXXXLMininuseTokencausing incorrect antd.css to be generated. #57372 @sealye09 - 🐞 Fix ConfigProvider component config typings to expose semantic
classNamesandstylesfor supported components. #57396 @QDyanbing - 🐞 Fix Image
fetchPriorityprop not being passed through to the<img>element. #57392 @aojunhao123 - Menu
- 🐞 Fix Menu SubMenu parent item not applying custom hover color via ConfigProvider. #57374 @EmilyyyLiu
- 🐞 Fix Menu collapsed icons appearing misaligned when customizing
collapsedIconSize. #57360 @QDyanbing
- 🐞 Fix Table controlled popover in column title being rendered twice when scroll is enabled. #57342 @QDyanbing
- 🐞 Fix Transfer
renderprop returning JSX elements causing search to fail. #57133 @WustLCQ - 🐞 Fix Tree custom
switcherIconmissingswitcher-line-iconclassName whenshowLineis enabled. #57303 @QDyanbing - 🐞 Fix Watermark TypeScript errors when
onRemoveis omitted. #57344 @QDyanbing
- 🔥 新增官方命令行工具
@ant-design/cli,支持离线查询 Ant Design 组件知识、分析项目用法及提供迁移指导。#57413 @afc163 - 🐞 修复 Form.List 在使用
onValuesChange时丢失同级字段值的问题。#57399 @zombieJ - 🐞 修复
useToken缺少screenXXXLMin导致生成错误的 antd.css 的问题。#57372 @sealye09 - 🐞 修复 ConfigProvider 组件配置的类型定义,为已支持的组件暴露语义化
classNames和styles。#57396 @QDyanbing - 🐞 修复 Image 组件
fetchPriority属性未正确透传到<img>元素的问题。#57392 @aojunhao123 - Menu
- 🐞 修复通过 ConfigProvider 自定义 Menu 的
itemHoverColor时,SubMenu 父级菜单项 hover 状态颜色不生效的问题。#57374 @EmilyyyLiu - 🐞 修复 Menu 自定义
collapsedIconSize后折叠图标看起来未居中的问题。#57360 @QDyanbing
- 🐞 修复通过 ConfigProvider 自定义 Menu 的
- 🐞 修复 Table 在开启滚动时列头中受控 Popover 被重复渲染的问题。#57342 @QDyanbing
- 🐞 修复 Transfer
render属性返回 JSX 元素时搜索功能失效的问题。#57133 @WustLCQ - 🐞 修复 Tree 开启
showLine时自定义switcherIcon缺少switcher-line-icon类名导致样式异常的问题。#57303 @QDyanbing - 🐞 修复 Watermark 在未传入
onRemove时的 TypeScript 报错。#57344 @QDyanbing
6.3.3
- Image
- ⌨️ ♿ Improve App link
:focus-visibleoutline to enhance keyboard accessibility. #57266 @ug-hero - 🐞 Fix Form required mark using hardcoded
SimSunfont. #57273 @mavericusdev - 🐞 Fix Grid media size mapping issue for
xxxlbreakpoint. #57246 @guoyunhe - 🐞 Fix Tree scrolling to top when clicking node. #57242 @aojunhao123
- Image
- ⌨️ ♿ 优化 App 链接的
:focus-visible外框样式,提升键盘可访问性。#57266 @ug-hero - 🐞 修复 Form 必填标记文案中硬编码
SimSun字体的问题。#57273 @mavericusdev - 🐞 修复 Grid
xxxl断点在媒体尺寸映射中的错误。#57246 @guoyunhe - 🐞 修复 Tree 点击节点时页面回滚到顶部的问题。#57242 @aojunhao123
6.3.2
- 🐞 Fix Form.Item validation failure caused by a timing issue when using dynamic
rulesanddependenciestogether. #57147 @zombieJ - 🐞 Fix InputNumber height in
borderlessvariant when using with Input or Select. #57162 @QDyanbing - 🐞 Fix Radio.Group radio button width when options text has different length or breaks. #57171 @QDyanbing
- 🐞 Fix Skeleton.Avatar, Skeleton.Button, Skeleton.Input, Rate and Spin cannot take effect when
componentSizeis set globally. #57093 #57106 @QDyanbing - 🐞 Fix Splitter may calculate wrong
sizeif some panel in controlled mode. #57142 @js0753 - 🐞 Fix Tree and TreeSelect line alignment problem when customizing
titleHeightproperty. #56785 @QDyanbing - 💄 Fix Checkbox.Group checkbox width when options text has different length or breaks. #57144 @QDyanbing
- 💄 Fix ConfigProvider
cspnot taking effect on all the dynamic style. #57159 @zombieJ - Select
- 💄 Fix Select text jumping problem in Firefox browser. #57030 @pierreeurope
- 💄 Fix Select cannot set
visibility: hiddenviastyleproperty. #56720 @claytonlin1110
- Upload
- 💄 Fix Upload has invalid blank area in
picture-cardmode with empty data. #57157 @QDyanbing - ⌨️ Improve Upload to always show item action area on non-hover or coarse-pointer devices. #57156 @Arktomson
- 💄 Fix Upload has invalid blank area in
- 🌐 Add
es_USlocale preset. #57137 @yuriidumych-max - 🛠 Unify
sizeenumeration, replacedefaultwithmediumfor Badge, Card, Progress, Steps, Switch and Spin, replacemiddleanddefaultwithmediumandlargefor Descriptions, replacemiddlewithmediumfor Table and Divider. #57127 #57106 @QDyanbing - 🛠 Unify
sizeclassName for all components DOM. #57106 @QDyanbing - TypeScript
- 🤖 Add Upload.Dragger generic type definition support. #57103 @fnoopv
- 🤖 Fix Modal
KeyboardEventtype definition for the arguments ofonCancelevent handler. #57048 @eureka928
- 🐞 修复 Form.Item 使用动态
rules与dependencies配合使用时,时序问题导致的校验失败的问题。#57147 @zombieJ - 🐞 修复 InputNumber 在
borderless形态下与 Input 或 Select 并排时高度异常的问题。#57162 @QDyanbing - 🐞 修复 Radio.Group 在选项文案长短不一或换行时,勾选框宽度不一致的问题。#57171 @QDyanbing
- 🐞 修复 Skeleton.Avatar,Skeleton.Button,Skeleton.Input,Rate 及 Spin 无法响应全局
componentSize设置的问题。#57093 #57106 @QDyanbing - 🐞 修复 Splitter 存在
size受控面板时其他面板尺寸可能计算错误的问题。#57142 @js0753 - 🐞 修复 Tree 及 TreeSelect 在自定义
titleHeight时会连线错位的问题。#56785 @QDyanbing - 💄 修复 Checkbox.Group 在选项文案长短不一或换行时,勾选框宽度不一致的问题。#57144 @QDyanbing
- 💄 修复 ConfigProvider 的
csp配置没有对所有的动态 style 生效的问题。#57159 @zombieJ - Select
- 💄 修复 Select 在 Firefox 浏览器下可能出现文字跳动的问题。#57030 @pierreeurope
- 💄 修复 Select 无法通过
style设置visibility: hidden的问题。#56720 @claytonlin1110
- Upload
- 💄 修复 Upload 在
picture-card模式下无数据时仍然存在无效空白区域的问题。#57157 @QDyanbing - ⌨️ 优化 Upload 在不支持悬停或粗指针的设备上默认显示列表操作按钮。#57156 @Arktomson
- 💄 修复 Upload 在
- 🌐 新增
es_US国际化配置。#57137 @yuriidumych-max - 🛠 统一
size枚举值定义,针对 Badge、Card、Progress、Steps、Switch 及 Spin 使用medium替代default,针对 Descriptions 使用medium和large替代middle和default,针对 Table 和 Divider 使用medium替代middle。#57127 #57106 @QDyanbing - 🛠 统一
sizeclassName 在所有组件元素上的设置值。#57106 @QDyanbing - TypeScript
- 🤖 新增 Upload.Dragger 的泛型支持。#57103 @fnoopv
- 🤖 修复 Modal
onCancel入参不支持KeyboardEvent类型的问题。#57048 @eureka928