Releases: ant-design/ant-design
Releases · ant-design/ant-design
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
6.3.1
- Select
- 🐞 Fix Select incorrect dropdown height when
valueis an empty string. #56976 @zombieJ - 🐞 Fix Select value echo issue when
valueis an empty string. #56966 @luozz1994 - 🐞 Fix Select & TreeSelect selected value text still visible when searching. #56946
- 🐞 Fix Select incorrect dropdown height when
- 🐞 Fix TreeSelect Checkbox being compressed when multi-line text is present. #56961 @luozz1994
- 🐞 Fix Typography hovering copy button triggering ellipsis tooltip when both
copyableandellipsisare enabled; fix ellipsis tooltip not appearing after moving back from copy button. #56855 @claytonlin1110 - 🐞 Fix Progress animation overflow when
status="active". #56972 @aibayanyu20 - 🐞 Fix Upload picture-wall mode list overflow and overlap when file count exceeds one row. #56945 @xbsheng
- 🐞 Fix Image flickering in some browsers when opening preview. #56937 @zombieJ
- ⌨️ ♿ Add
prefers-reduced-motionmedia query support for Button, Checkbox, Radio, Switch, Segmented to disable transitions for improved accessibility. #56902 @li-jia-nan - 🐞 Fix Input height inconsistency with Select when using
variant="borderless". #57014 @njlazzar-su - 🐞 Fix Modal
confirmmethod layout whitespace wheniconis empty. #57024 @Arktomson - 🐞 Add
aria-disabledattribute for disabled options in Select component.#57049 @meet-student
- Select
- 🐞 Select 修复
value为空字符串时下拉框高度不正确的问题。#56976 @zombieJ - 🐞 Select 修复
value为空字符串时值回显异常的问题。#56966 @luozz1994 - 🐞 Select & TreeSelect 修复搜索时已选中值文本仍然显示的问题。#56946
- 🐞 Select 修复
- 🐞 TreeSelect 修复多行文本时 Checkbox 被压缩变形的问题。#56961 @luozz1994
- 🐞 Typography 修复同时开启
copyable和ellipsis时,悬停复制按钮会触发省略号 tooltip 的问题;修复从复制按钮移回文字后省略号 tooltip 不再出现的问题。#56855 @claytonlin1110 - 🐞 Progress 修复
status="active"时动画溢出的问题。#56972 @aibayanyu20 - 🐞 Upload 修复照片墙模式下文件数量超过一行时列表溢出重叠的问题。#56945 @xbsheng
- 🐞 Image 修复打开预览时,部分浏览器会出现闪烁的问题。#56937 @zombieJ
- ⌨️ ♿ 为 Button、Checkbox、Radio、Switch、Segmented 等组件添加
prefers-reduced-motion媒体查询支持,禁用过渡动画以改善无障碍体验。#56902 @li-jia-nan - 🐞 Input 修复
variant="borderless"时高度与 Select 不一致的问题。#57014 @njlazzar-su - 🐞 Modal 修复
confirm方法在icon为空时布局出现多余空白的问题。#57024 @Arktomson - 🐞 Select 组件中的禁用选项添加
aria-disabled属性。#57049 @meet-student
6.3.0
- ConfigProvider
- 🆕 Support ConfigProvider global configuration of
maskClosablefor Modal and Drawer. #56739 @luozz1994 - 🆕 Support ConfigProvider
suffixIconglobal configuration for DatePicker and TimePicker. #56709 @guoyunhe - 🆕 Support ConfigProvider
expandIconandloadingIconglobal configuration for Cascader. #56482 @guoyunhe - 🆕 Support ConfigProvider
scrollglobal configuration for Table. #56628 @Clayton - 🆕 Support ConfigProvider
classNameandstyleconfiguration for App, andarrowprop for ColorPicker. #56573 @zombieJ - 🆕 Support ConfigProvider
loadingIconglobal configuration for Button. #56439 @guoyunhe - 🆕 Support ConfigProvider
rangePicker.separatorglobal configuration. #56499 @guoyunhe - 🆕 Support ConfigProvider
tooltipIconandtooltipPropsglobal configuration for Form. #56372 @guoyunhe
- 🆕 Support ConfigProvider global configuration of
- Upload
- 🆕 Add Grid
xxxl(1920px) breakpoint to adapt to FHD screens. #56825 @guoyunhe - 🆕 Support Switch
indicatorcustomization for semantic structure. #56710 @zombieJ - Button
- Select
- 💄 Remove Select redundant
-content-valuediv DOM in single mode to optimize semantic structure, allowing override viaclassNamesandstyles. #56811 @zombieJ - 🐞 Fix Select
notFoundContentnot taking effect. #56756 @QdabuliuQ
- 💄 Remove Select redundant
- Radio
- 🐞 Fix Radio.Group extra right margin for radio items when vertically aligned. #56909 @jany55555
- 💄 Remove Radio
-innerDOM node oficonsub-element for better semantic structure adaptation. #56783 @zombieJ
- 💄 Disable Modal & Drawer mask blur effect by default. #56781 @aojunhao123
- 🐞 Fix Tooltip & Popover popup animation starting position being shifted to the left. #56887 @zombieJ
- 🐞 Fix List color-related tokens not working for deprecated component config. #56913 @zombieJ
- 🛠 Refactor Spin DOM structure to align across different scenarios and support full Semantic Structure. #56852 @zombieJ
- ⌨️ ♿ Add Icon accessibility names to the search icon SVG to improve screen reader support. #56521 @huangkevin-apr
- 🐞 Fix Cascader filter list resetting immediately when closing on selection in search mode, affecting UX. #56764 @zombieJ
- ⌨️ ♿ Improve Tree accessibility support. #56716 @aojunhao123
- 🐞 Support ColorPicker semantic structure for selection block, and fix
rootsemantic being incorrectly applied to popup elements. #56607 @zombieJ - 💄 Change Avatar default value of
sizefromdefaulttomediumfor consistency. #56440 @guoyunhe - 💄 Remove Checkbox
-innerDOM node oficonsub-element for better semantic structure adaptation. #56783 @zombieJ - MISC
- ConfigProvider
- 🆕 ConfigProvider 支持 Modal 和 Drawer 的
maskClosable全局配置。#56739 @luozz1994 - 🆕 ConfigProvider 支持 DatePicker 和 TimePicker 的
suffixIcon全局配置。#56709 @guoyunhe - 🆕 ConfigProvider 支持 Cascader 的
expandIcon和loadingIcon全局配置。#56482 @guoyunhe - 🆕 ConfigProvider 支持 Table 的
scroll全局配置。#56628 @Clayton - 🆕 ConfigProvider 支持配置 App 的
className与style,以及 ColorPicker 的arrow属性。#56573 @zombieJ - 🆕 ConfigProvider 支持 Button 的
loadingIcon全局配置。#56439 @guoyunhe - 🆕 ConfigProvider 支持
rangePicker.separator全局配置。#56499 @guoyunhe - 🆕 ConfigProvider 支持 Form 的
tooltipIcon和tooltipProps全局配置。#56372 @guoyunhe
- 🆕 ConfigProvider 支持 Modal 和 Drawer 的
- Upload
- 🆕 Grid 新增
xxxl(1920px)断点以适应 FHD 屏幕。#56825 @guoyunhe - 🆕 Switch 语义化结构支持
indicator定制。#56710 @zombieJ - Button
- Select
- 💄 Select 移除单选模式下额外的
-content-valuediv DOM,优化语义化结构并支持通过classNames与styles覆盖。#56811 @zombieJ - 🐞 Select 修复
notFoundContent不生效的问题。#56756 @QdabuliuQ
- 💄 Select 移除单选模式下额外的
- Radio
- 🐞 Radio.Group 修复垂直排列时单选项出现多余右边距的问题。#56909 @jany55555
- 💄 Radio 移除
icon子元素-innerDOM 节点以更好适配语义化结构。#56783 @zombieJ
- 💄 Modal & Drawer 默认关闭蒙层 blur 效果。#56781 @aojunhao123
- 🐞 Tooltip & Popover 修复弹出层动画起始位置偏左的问题。#56887 @zombieJ
- 🐞 List 修复废弃组件配置的颜色相关 token 不生效的问题。#56913 @zombieJ
- 🛠 Spin 重构 DOM 结构以对齐不同场景,并支持全量语义化结构(Semantic Structure)。#56852 @zombieJ
- ⌨️ ♿ Icon 为搜索图标 SVG 添加无障碍名称,改善屏幕阅读器支持。#56521 @huangkevin-apr
- 🐞 Cascader 修复搜索模式下选择选项并关闭时,过滤列表立即还原影响体验的问题。#56764 @zombieJ
- ⌨️ ♿ Tree 优化无障碍支持。#56716 @aojunhao123
- 🐞 ColorPi...
6.2.3
- Button
- 🐞 Fix Input.TextArea ref missing
nativeElementproperty. #56803 @smith3816 - 🐞 Fix Flex default
alignnot taking effect when usingorientation. #55950 @YingtaoMo - 🐞 Fix Typography link selector specificity being too low causing styles to be overridden. #56759 @QDyanbing
- 🐞 Fix ColorPicker HEX input allowing invalid characters. #56752 @treephesians
- Button
- 🐞 修复 Input.TextArea ref 缺少
nativeElement属性的问题。#56803 @smith3816 - 🐞 修复 Flex 使用
orientation时默认align不生效的问题。#55950 @YingtaoMo - 🐞 修复 Typography 链接选择器特异性过低导致样式被覆盖的问题。#56759 @QDyanbing
- 🐞 修复 ColorPicker HEX 输入框可以输入无效字符的问题。#56752 @treephesians
5.30.0-guidelines-alpha.1
add guidelines