6.5.0
6.5.0
Release Notes
- 🔥 Add the antd
DESIGN.mddesign-language file and publish it at ant.design/design.md, helping AI design tools understand Ant Design visual language, component archetypes, and theme tokens. #58011 #58356 #58489 @afc163 - 📦 Optimize the antd full bundle size: compared with 6.4.5, size-limit reports
antd.min.jsdown from437.05 KBto432.44 KB, andantd-with-locales.min.jsdown from514.19 KBto506.84 KB. The main gains come from slimmer DatePicker and TimePicker runtime code in@rc-component/picker, plus Icon/Upload avoiding extra TwoTone runtime in the full bundle. #58403 #58497 @QDyanbing @afc163 - Icon
- 🔥 Add built-in Icon entries for Anthropic, Claude, Gemini, Mistral, DeepSeek, Qwen, Perplexity, HuggingFace, Ollama, Replicate, ElevenLabs, Telegram, Mastodon, Threads and Snapchat. #58524 @afc163
- 📦 Optimize Icon and Upload default icon imports by upgrading
@ant-design/iconsto6.3.1and switching Upload picture-list default placeholders to Outlined icons, reducing extra TwoTone runtime in the full bundle. #58497 @afc163 - 🐞 Fix Icon styles not working when
theme.zeroRuntimeis enabled. #58517 @afc163
- 🔥 Add built-in Icon entries for Anthropic, Claude, Gemini, Mistral, DeepSeek, Qwen, Perplexity, HuggingFace, Ollama, Replicate, ElevenLabs, Telegram, Mastodon, Threads and Snapchat. #58524 @afc163
- Input
- 🆕 Add Input.Password
visibilityToggle.tabIndexto customize the visibility toggle button tab order. #58458 @QDyanbing - 🐞 Fix Input.Search not applying ConfigProvider root
styleconfiguration. #58467 @QDyanbing - 🐞 Fix Input.Search losing
enterButton.className. #58506 @QDyanbing - 💄 Fix Input.Search button height not aligning with Input token height. #58525 @afc163
- 💄 Add focus outline for borderless Input components. #58250 @QDyanbing
- 🆕 Add Input.Password
- Select
- 🆕 Add Select function-based
tokenSeparatorssupport. #57966 @ZQDesigned - 🐞 Fix Select and related popup components numeric popup width rendering. #58511 @QDyanbing
- 🐞 Fix Select creating disabled tags. #58518 @afc163
- 🐞 Fix Select single mode
labelRenderdimming while open. #58288 @kfylaktopoulos
- 🆕 Add Select function-based
- Table
- 🐞 Fix Table
defaultSortOrderand controlledsortOrderbeing ignored when the column is hidden byresponsiveat the current breakpoint. #58008 @yogeshwaran-c - 🐞 Fix Table extra vertical line on the last fixed-right column in bordered mode. #58516 @uttam12331
- ⌨️ Improve Table row selection checkbox accessibility by supporting
aria-*attributes fromgetCheckboxProps. #58275 @EmilyyyLiu - 💄 Fix Table sticky header top border missing in bordered mode. #58451 @BangDori
- 🐞 Fix Table
- BorderBeam
- 🆕 Add BorderBeam
durationprop to control beam loop duration. #58233 @QDyanbing - 🆕 Add BorderBeam
lineWidthprop to control beam width. #58324 @QDyanbing - 🆕 Add BorderBeam
sizeprop to control beam size. #58303 @QDyanbing
- 🆕 Add BorderBeam
- Badge
- 🆕 Add Badge
titleprop to allow removing the native tooltip. #58209 @QDyanbing - 💄 Improve Badge processing status display in dark mode. #58414 @clxstart
- 🆕 Add Badge
- Layout
- 🆕 Add Layout.Sider semantic
classNamesandstylessupport. #57938 @landeqiming666 - 🐞 Fix Layout.Header, Layout.Footer and Layout.Content losing default background when used standalone with
theme.cssVarenabled. #58046 @yogeshwaran-c
- 🆕 Add Layout.Sider semantic
- Pagination
- 🐞 Fix Pagination text wrapping and overflow in some scenarios. #58151 @selicens
- 🐞 Fix Pagination quick jumper layout instability. #58282 @QDyanbing
- Upload
- 🐞 Fix Upload not showing file icon for failed files. #58484 @biubiukam
- ⌨️ Improve Upload list item name accessibility when previewing files without a URL. #58092 @ug-one
- Alert
- 🐞 Fix Alert icon vertical alignment when description content is provided. #57915 @MMMIXER
- 🐞 Fix Alert icon and close button not aligning with the first title line when only a title is provided. #57878 @QDyanbing
- 📖 Improve AI agent support for the ant.design website and its isitagentready.com/ant.design result. #58510 #58490 #57725 @afc163 @ug-one
- 📖 Update Ant Design CLI docs with
antd setup, Node.js>=20.0.0requirement, MCP version auto-detection, and environment variable notes, and sync the For Agents and MCP Server docs in both languages. #58460 @afc163 - 🐞 Fix antd root semantic
stylepriority across components to ensure componentstyleoverrides globalstyles.rootandstyleconfiguration. #58474 @QDyanbing - 💄 Improve Component Token small control height in compact theme to avoid cramped line boxes. #58411 @nightt5879
- 🐞 Fix Anchor hash parsing performance issue with specially crafted hash values. #58472 @afc163
- 🆕 Add Collapse
headerPaddingSM,headerPaddingLG,contentPaddingSM, andcontentPaddingLGtokens to configure header and content padding for small and large sizes separately. #58436 @biubiukam - 🆕 Add ConfigProvider form
labelWrapconfiguration support. #58035 @EmilyyyLiu - 🐞 Fix Descriptions
labelStyle,contentStyle,styles.label, andstyles.contentnot applying to the matching cell inborderedmode. #58241 @gaurav0107 - 🔥 Add DatePicker and TimePicker
onClearcallback support. #58403 @QDyanbing - 🆕 Add Dropdown
leftandrightplacement support. #58437 @linyana - 🐞 Fix disabled FloatButton.Group still opening the hover menu. #58513 @QDyanbing
- 💄 Fix Form vertical layout not applying the
labelHeighttoken. #58433 @BangDori - 🔥 Add Menu
itemDatatoonSelect,onClickandonDeselectcallback parameters. #58197 @EmilyyyLiu - 🔥 Add Modal
scrollLockprop to control body scroll locking. #58256 @EmilyyyLiu - 🐞 Fix Popconfirm button misalignment during async confirm and restore the default Button icon-only and Modal footer layout behavior. #58429 @ffgenius
- 🐞 Fix Result not rendering
extrawhen it is the number0. #58504 @QDyanbing - 🆕 Add Slider range mode
disabledarray support to disable individual handles. #57982 #58528 @EmilyyyLiu @afc163 - Steps
- 🆕 Add Steps
maxCountcollapse mode for dense step items. #57987 @ZQDesigned - 💄 Fix Steps horizontal connector line looking blurry in Chrome. #58149 @olagokemills
- 🆕 Add Steps
- 🔥 Add Tabs
bodyandcontentsemantic DOM support. #58521 @zombieJ - 🆕 Add Watermark per-line font style support for
content. #57886 @QDyanbing
- 🔥 新增 antd
DESIGN.md设计语言文件并发布到 ant.design/design.md,帮助 AI 设计工具理解 Ant Design 的视觉语言、组件范式和主题 token。#58011 #58356 #58489 @afc163 - 📦 优化 antd 完整包体积:相比 6.4.5,size-limit 中
antd.min.js从437.05 KB降至432.44 KB,antd-with-locales.min.js从514.19 KB降至506.84 KB。主要来自@rc-component/picker精简 DatePicker 和 TimePicker 运行时代码,以及 Icon/Upload 减少额外 TwoTone runtime 引入。#58403 #58497 @QDyanbing @afc163 - Icon
- 🔥 新增 Icon 内置图标:Anthropic、Claude、Gemini、Mistral、DeepSeek、Qwen、Perplexity、HuggingFace、Ollama、Replicate、ElevenLabs、Telegram、Mastodon、Threads 和 Snapchat。#58524 @afc163
- 📦 优化 Icon 和 Upload 默认图标引入:升级
@ant-design/icons到6.3.1,并将 Upload 图片列表默认占位图标改为 Outlined 图标,减少完整包额外 TwoTone runtime 引入。#58497 @afc163 - 🐞 修复 Icon 在开启
theme.zeroRuntime后样式不生效的问题。#58517 @afc163
- 🔥 新增 Icon 内置图标:Anthropic、Claude、Gemini、Mistral、DeepSeek、Qwen、Perplexity、HuggingFace、Ollama、Replicate、ElevenLabs、Telegram、Mastodon、Threads 和 Snapchat。#58524 @afc163
- Input
- 🆕 新增 Input.Password
visibilityToggle.tabIndex配置,支持自定义密码显隐切换按钮的 Tab 顺序。#58458 @QDyanbing - 🐞 修复 Input.Search 未应用 ConfigProvider 根节点
style配置的问题。#58467 @QDyanbing - 🐞 修复 Input.Search 丢失
enterButton.className的问题。#58506 @QDyanbing - 💄 修复 Input.Search 按钮高度未与 Input token 高度对齐的问题。#58525 @afc163
- 💄 为 borderless Input 组件补充聚焦轮廓样式。#58250 @QDyanbing
- 🆕 新增 Input.Password
- Select
- 🆕 新增 Select 函数式
tokenSeparators支持。#57966 @ZQDesigned - 🐞 修复 Select 及相关弹层组件传入数字类型弹层宽度时渲染不正确的问题。#58511 @QDyanbing
- 🐞 修复 Select 会创建禁用标签的问题。#58518 @afc163
- 🐞 修复 Select 单选模式在打开时
labelRender内容变暗的问题。#58288 @kfylaktopoulos
- 🆕 新增 Select 函数式
- Table
- 🐞 修复 Table 列设置
responsive后,在当前断点隐藏时defaultSortOrder与受控sortOrder不生效的问题。#58008 @yogeshwaran-c - 🐞 修复 Table bordered 模式下最后一个右固定列出现额外竖线的问题。#58516 @uttam12331
- ⌨️ 优化 Table 行选择复选框的可访问性,支持从
getCheckboxProps传入aria-*属性。#58275 @EmilyyyLiu - 💄 修复 Table bordered 模式下 sticky 表头顶部边框丢失的问题。#58451 @BangDori
- 🐞 修复 Table 列设置
- BorderBeam
- 🆕 新增 BorderBeam
duration属性,用于控制流光运行一圈的时间。#58233 @QDyanbing - 🆕 新增 BorderBeam
lineWidth属性,用于控制流光宽度。#58324 @QDyanbing - 🆕 新增 BorderBeam
size属性,用于控制流光大小。#58303 @QDyanbing
- 🆕 新增 BorderBeam
- Badge
- 🆕 新增 Badge
title属性,支持移除原生 tooltip。#58209 @QDyanbing - 💄 优化 Badge 在暗色模式下 processing 状态的展示效果。#58414 @clxstart
- 🆕 新增 Badge
- Layout
- 🆕 新增 Layout.Sider 语义化
classNames和styles支持。#57938 @landeqiming666 - 🐞 修复 Layout.Header、Layout.Footer 和 Layout.Content 独立使用且开启
theme.cssVar时默认背景色丢失的问题。#58046 @yogeshwaran-c
- 🆕 新增 Layout.Sider 语义化
- Pagination
- 🐞 修复 Pagination 在部分场景下文字换行和溢出的问题。#58151 @selicens
- 🐞 修复 Pagination 快速跳转布局不稳定的问题。#58282 @QDyanbing
- Upload
- 🐞 修复 Upload 上传失败文件不展示文件图标的问题。#58484 @biubiukam
- ⌨️ 改进 Upload 在无 URL 文件预览场景下文件名的无障碍体验。#58092 @ug-one
- Alert
- 🐞 修复 Alert 带有描述内容时图标垂直对齐异常的问题。#57915 @MMMIXER
- 🐞 修复 Alert 仅包含标题时图标和关闭按钮未与标题首行对齐的问题。#57878 @QDyanbing
- 📖 优化 ant.design 网站的 AI 智能体支持,提升 isitagentready.com/ant.design 检测结果。#58510 #58490 #57725 @afc163 @ug-one
- 📖 更新 Ant Design CLI 文档,补充
antd setup、Node.js>=20.0.0要求、MCP 版本自动检测和环境变量说明,并同步 For Agents 与 MCP Server 中英文文档。#58460 @afc163 - 🐞 修复 antd 各组件根节点语义化
style优先级,确保组件style覆盖全局styles.root与style配置。#58474 @QDyanbing - 💄 优化 Component Token 紧凑主题下小尺寸控件高度,避免文字行框过于拥挤。#58411 @nightt5879
- 🐞 修复 Anchor 在特殊构造的 hash 值下解析性能异常的问题。#58472 @afc163
- 🆕 新增 Collapse
headerPaddingSM、headerPaddingLG、contentPaddingSM和contentPaddingLGtoken,支持分别配置小号和大号尺寸的头部与内容区域内边距。#58436 @biubiukam - 🆕 新增 ConfigProvider form
labelWrap全局配置支持。#58035 @EmilyyyLiu - 🐞 修复 Descriptions 在
bordered模式下labelStyle、contentStyle以及语义化styles.label、styles.content未应用到对应单元格的问题。#58241 @gaurav0107 - 🔥 新增 DatePicker 和 TimePicker
onClear回调支持。#58403 @QDyanbing - 🆕 新增 Dropdown
left和right弹出位置支持。#58437 @linyana - 🐞 修复 FloatButton.Group 禁用状态下仍会打开 hover 菜单的问题。#58513 @QDyanbing
- 💄 修复 Form 垂直布局未应用
labelHeighttoken 的问题。#58433 @BangDori - 🔥 新增 Menu
onSelect、onClick和onDeselect回调参数中的itemData信息。#58197 @EmilyyyLiu - 🔥 新增 Modal
scrollLock属性,用于控制弹窗打开时是否锁定 body 滚动。#58256 @EmilyyyLiu - 🐞 修复 Popconfirm 异步确认时按钮不对齐的问题,并恢复 Button 图标按钮与 Modal footer 的默认布局表现。#58429 @ffgenius
- 🐞 修复 Result 在
extra为数字0时不渲染的问题。#58504 @QDyanbing - 🆕 新增 Slider Range 模式下
disabled数组支持,可单独禁用特定 handle。#57982 #58528 @EmilyyyLiu @afc163 - Steps
- 🆕 新增 Steps
maxCount折叠模式,用于展示密集步骤项。#57987 @ZQDesigned - 💄 修复 Steps 横向连接线在 Chrome 中显示模糊的问题。#58149 @olagokemills
- 🆕 新增 Steps
- 🔥 新增 Tabs
body和content语义化 DOM 支持。#58521 @zombieJ - 🆕 新增 Watermark
content逐行字体样式支持。#57886 @QDyanbing