Skip to content

Releases: ant-design/ant-design

6.4.3

18 May 08:30
5afcdab

Choose a tag to compare

  • 🐞 Fix DatePicker RangePicker empty placeholder when locale only defines singular *Placeholder fields. #58020 @yogeshwaran-c
  • 🐞 Fix Result rendering an empty title element when the title prop 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/util runtime imports in Form, Input, Button and other components. #57993 @li-jia-nan
  • 🐞 Fix Transfer filteredItems not updating when filterOption or direction changes. #58004 @afc163
  • ⚡️ Improve Table and Mentions performance by reducing redundant array iterations. #58006 @ug-hero
  • Table
    • 🛠 Rename Table filter types FilterRestProps to FilterResetProps, 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

  • 🐞 修复 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 在 filterOptiondirection 变化时 filteredItems 不更新的问题。#58004 @afc163
  • ⚡️ 优化 Table 和 Mentions 性能,减少冗余的数组迭代操作。#58006 @ug-hero
  • Table
    • 🛠 Table 过滤类型将 FilterRestProps 更正为 FilterResetProps,并保留 deprecated 别名以兼容存量引用。#57985 @ZQDesigned
    • ⚡️ 优化 Table 行选择性能,使用 Set 查找替代 O(n*m) 的 .includes() 判断。#58004 @afc163

6.4.2

14 May 15:33
616f681

Choose a tag to compare

  • 🐞 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

14 May 10:36
1c9278f

Choose a tag to compare

  • 🐞 Revert the exports field added in #57930 to fix antd TypeScript type resolution failure under moduleResolution: "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

14 May 07:20
9b51721

Choose a tag to compare

  • 🔥 Add BorderBeam component for animated border beam effect along container edges. #57720 @QDyanbing
  • ConfigProvider
    • 🆕 Add Select allowClear config support. #56476 @ug-hero
    • 🆕 Add Select showSearch, allowClear, clearIcon, loadingIcon, menuItemSelectedIcon, removeIcon, suffixIcon config support. #56930 @Pareder
    • 🆕 Add DatePicker and TimePicker allowClear and clearIcon config support. #57002 @guoyunhe
    • 🆕 Add RangePicker allowClear, clearIcon, suffixIcon config support. #57075 @guoyunhe
    • 🆕 Add Modal infoIcon, successIcon, warningIcon, errorIcon config support. #57168 @guoyunhe
    • 🆕 Add Upload progress config support. #57283 @guoyunhe
    • 🆕 Add Upload accept config support. #57286 @guoyunhe
    • 🆕 Add Modal and Drawer focusable config to control whether the component can receive focus. #57314 @QDyanbing
    • 🆕 Add Mentions allowClear config support. #57330 @guoyunhe
    • 🐞 Fix ConfigProvider css var prefix not following prefixCls. #57803 @QDyanbing
  • Input
    • 🆕 Add Input allowClear.disabled prop to disable the clear button while keeping it visible. #57240 @guoyunhe
    • 🆕 Add Input.TextArea allowClear.disabled prop to disable the clear button while keeping it visible. #57328 @guoyunhe
    • 🆕 Add Input clear semantic segment for customizing clear button classNames and styles. #57391 @QDyanbing
    • 🆕 Add Input.Search searchIcon prop to customize the search icon. #57256 @guoyunhe
    • ⌨️ Improve Input.Password accessibility and add ConfigProvider support. #57271 @Pareder
  • Splitter
    • 🆕 Add Splitter destroyOnHidden prop for panel content mounting. #56772 @AhmeddEsmat
    • 🆕 Add Splitter smooth transition animation for collapsible panels. #56814 @spider-yamet
    • 🗑 Deprecate Splitter collapsibleIcon and add collapsible.icon replacement. #57044 @wanpan11
    • 🐞 Fix unexpected 1px horizontal padding from Splitter.Panel. #57838 @wanpan11
  • Select
    • 🐞 Fix Select option active style priority higher than selected. #56924 @zombieJ
    • 🐞 Fix Select showArrowPaddingInlineEnd not 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 labelRender content remaining visible while searching. #57954 @QDyanbing
  • Image
    • 🆕 Add Image placeholder.progress prop to show loading progress indicator. #57173 @afc163
    • 🆕 Add Image preview mask closable support. #57611 @QDyanbing
    • 🆕 Add Image closeIcon semantic node for classNames and styles configuration. #57263 @coding-ice
    • ⌨️ Add focus-visible styles and focusTrap support for Image preview. #57610 @aojunhao123
  • Typography
    • 🆕 Add Typography actions placement 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
  • Theme
    • 🆕 Add colorErrorAffix Design Token to control the error color of input affix. #57604 @guoyunhe
    • 🆕 Add colorWarningAffix Design Token to control the warning color of input affix. #57760 @guoyunhe
    • 🐞 Fix Design Token heading font size tokens not supporting string values. #57598 @EndlessLucky
  • Wave
    • 🆕 Add Wave triggerType config to control which element triggers the wave effect. #57402 @wanpan11
    • 🐞 Fix Wave ignoring transparent hex colors. #57859 @li-jia-nan
  • Tree
    • 🆕 Add itemSwitcher semantic for Tree and TreeSelect. #57281 @QDyanbing
    • 🐞 Fix Tree scroll-to-top when context menu closes and tree regains focus. #57329 @aojunhao123
  • Tag
    • 🆕 Add Tag close semantic node for close icon classNames and styles configuration. #57331 @QDyanbing
    • 🆕 Add Tag CheckableTagGroup per-option className and style support. #57840 @ZQDesigned
  • Table
    • 🆕 Add Table column prop to configure columns via ConfigProvider. #57545 @QDyanbing
    • 🆕 Add Table scrollTo align parameter and upgrade rc-table to 1.10.0. #57594 @EmilyyyLiu
  • Notification
  • Menu
  • Form
    • 🆕 Add Form labelAlign prop to ConfigProvider for global label alignment control. #56979 @EmilyyyLiu
    • 🆕 Add Form semantic DOM support for help, helpItem and extra to allow custom styling. #57607 @QDyanbing
  • DatePicker
    • 🆕 Add DatePicker tagRender prop to customize tag rendering in multiple mode. #57706 @QDyanbing
    • ⌨️ Improve DatePicker and TimePicker accessibility. #57400 @cyphercodes
  • Button
    • 🆕 Add Button default colors for solid variants. #57495 @QDyanbing
    • 🐞 Fix Button icon glyph vertical centering in icon-only buttons. #57896 @RenzoMXD
  • 🆕 Add Alert variant prop to support filled and outlined styles, and ConfigProvider support. #57764 @guoyunhe
  • 🆕 Add Anchor.Link targetOffset prop to set scroll offset for each link individually. #57521 [@EmilyyyLiu](https...
Read more

6.3.7

27 Apr 06:09
88d0d0d

Choose a tag to compare

  • Input
  • 🐞 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 语义化配置比如 classNamestyles 等泄漏到 Popover 和 Popconfirm 的问题。#57731 @pikanohup
  • 🐞 修复 Typography.Link 在 disabled 状态下无法触发复制、编辑等操作按钮的问题。#57762 @aviu16
  • 🐞 修复 ESM/CJS 默认导出 ConfigProvider 语言包失效的问题。#57318 @ug-hero
  • 💄 修复 Alert 的关闭按钮没有焦点样式的问题。#57695 @KittyGiraudel

6.3.6

17 Apr 08:19
8015997

Choose a tag to compare

  • 🐞 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 colorBorderDisabled token. #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 rowSelection to use selectionColumnWidth from Design Token as default columnWidth. #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 禁用状态边框未使用 colorBorderDisabled token 的问题。 #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

30 Mar 08:22
5e6a263

Choose a tag to compare

  • 🐞 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

24 Mar 12:04
7dddd23

Choose a tag to compare

  • 🔥 Add @ant-design/cli official 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 screenXXXLMin in useToken causing incorrect antd.css to be generated. #57372 @sealye09
  • 🐞 Fix ConfigProvider component config typings to expose semantic classNames and styles for supported components. #57396 @QDyanbing
  • 🐞 Fix Image fetchPriority prop 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 render prop returning JSX elements causing search to fail. #57133 @WustLCQ
  • 🐞 Fix Tree custom switcherIcon missing switcher-line-icon className when showLine is enabled. #57303 @QDyanbing
  • 🐞 Fix Watermark TypeScript errors when onRemove is omitted. #57344 @QDyanbing

  • 🔥 新增官方命令行工具 @ant-design/cli,支持离线查询 Ant Design 组件知识、分析项目用法及提供迁移指导。#57413 @afc163
  • 🐞 修复 Form.List 在使用 onValuesChange 时丢失同级字段值的问题。#57399 @zombieJ
  • 🐞 修复 useToken 缺少 screenXXXLMin 导致生成错误的 antd.css 的问题。#57372 @sealye09
  • 🐞 修复 ConfigProvider 组件配置的类型定义,为已支持的组件暴露语义化 classNamesstyles#57396 @QDyanbing
  • 🐞 修复 Image 组件 fetchPriority 属性未正确透传到 <img> 元素的问题。#57392 @aojunhao123
  • Menu
    • 🐞 修复通过 ConfigProvider 自定义 Menu 的 itemHoverColor 时,SubMenu 父级菜单项 hover 状态颜色不生效的问题。#57374 @EmilyyyLiu
    • 🐞 修复 Menu 自定义 collapsedIconSize 后折叠图标看起来未居中的问题。#57360 @QDyanbing
  • 🐞 修复 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

16 Mar 08:48
1a82e70

Choose a tag to compare

  • Image
    • 💄 Improve Image preview mask blur transition for backdrop-filter to reduce flicker perception. #57299 @mango766
    • 🐞 Fix Image showing move cursor when movable={false}. #57288 @ug-hero
  • ⌨️ ♿ Improve App link :focus-visible outline to enhance keyboard accessibility. #57266 @ug-hero
  • 🐞 Fix Form required mark using hardcoded SimSun font. #57273 @mavericusdev
  • 🐞 Fix Grid media size mapping issue for xxxl breakpoint. #57246 @guoyunhe
  • 🐞 Fix Tree scrolling to top when clicking node. #57242 @aojunhao123

  • Image
    • 💄 优化 Image 预览蒙层 blur 效果的 backdrop-filter 过渡,减少闪烁感。#57299 @mango766
    • 🐞 修复 Image 在 movable={false} 时仍显示 move 光标的问题。#57288 @ug-hero
  • ⌨️ ♿ 优化 App 链接的 :focus-visible 外框样式,提升键盘可访问性。#57266 @ug-hero
  • 🐞 修复 Form 必填标记文案中硬编码 SimSun 字体的问题。#57273 @mavericusdev
  • 🐞 修复 Grid xxxl 断点在媒体尺寸映射中的错误。#57246 @guoyunhe
  • 🐞 修复 Tree 点击节点时页面回滚到顶部的问题。#57242 @aojunhao123

6.3.2

09 Mar 07:48
fc13ea3

Choose a tag to compare

  • 🐞 Fix Form.Item validation failure caused by a timing issue when using dynamic rules and dependencies together. #57147 @zombieJ
  • 🐞 Fix InputNumber height in borderless variant 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 componentSize is set globally. #57093 #57106 @QDyanbing
  • 🐞 Fix Splitter may calculate wrong size if some panel in controlled mode. #57142 @js0753
  • 🐞 Fix Tree and TreeSelect line alignment problem when customizing titleHeight property. #56785 @QDyanbing
  • 💄 Fix Checkbox.Group checkbox width when options text has different length or breaks. #57144 @QDyanbing
  • 💄 Fix ConfigProvider csp not taking effect on all the dynamic style. #57159 @zombieJ
  • Select
  • Upload
    • 💄 Fix Upload has invalid blank area in picture-card mode with empty data. #57157 @QDyanbing
    • ⌨️ Improve Upload to always show item action area on non-hover or coarse-pointer devices. #57156 @Arktomson
  • 🌐 Add es_US locale preset. #57137 @yuriidumych-max
  • 🛠 Unify size enumeration, replace default with medium for Badge, Card, Progress, Steps, Switch and Spin, replace middle and default with medium and large for Descriptions, replace middle with medium for Table and Divider. #57127 #57106 @QDyanbing
  • 🛠 Unify size className for all components DOM. #57106 @QDyanbing
  • TypeScript
    • 🤖 Add Upload.Dragger generic type definition support. #57103 @fnoopv
    • 🤖 Fix Modal KeyboardEvent type definition for the arguments of onCancel event handler. #57048 @eureka928

  • 🐞 修复 Form.Item 使用动态 rulesdependencies 配合使用时,时序问题导致的校验失败的问题。#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
  • 🌐 新增 es_US 国际化配置。#57137 @yuriidumych-max
  • 🛠 统一 size 枚举值定义,针对 Badge、Card、Progress、Steps、Switch 及 Spin 使用 medium 替代 default,针对 Descriptions 使用 mediumlarge 替代 middledefault,针对 Table 和 Divider 使用 medium 替代 middle#57127 #57106 @QDyanbing
  • 🛠 统一 size className 在所有组件元素上的设置值。#57106 @QDyanbing
  • TypeScript
    • 🤖 新增 Upload.Dragger 的泛型支持。#57103 @fnoopv
    • 🤖 修复 Modal onCancel 入参不支持 KeyboardEvent 类型的问题。#57048 @eureka928