Releases: ant-design/ant-design
Releases · ant-design/ant-design
5.24.9
- 🐞 Fix Splitter mask not hiding correctly in lazy mode. #53653 @wanpan11
- 🐞 Fix issue when modifying
offsetBottom
andoffsetTop
of the Affix does not take effect. #53607 @yellowryan - ⚡️ Fix Select keeps showing
clearIcon
when it has a value on mobile devices. #53576 @EmilyLiu - 🐞 Fix Slider formatter returns fixed content, Tooltip position abnormal after dragging. #53460 @EmilyyyLiu
- 🐞 Fix Tabs keyboard operation not working. #53692 @afc163
- RTL
- 💄 Fix counter element direction of Image in RTL mode. #53593 @aojunhao123
- 🐞 修复 Splitter 在
lazy
模式下遮罩未能正确关闭的问题。#53653 @wanpan11 - 🐞 修复 Affix 在动态调整
offsetTop
和offsetBottom
属性值后固定效果失效的问题。#53607 @yellowryan - 💄 移动端场景下 Select 当有选中值时始终显示清除按钮。#53576 @EmilyyyLiu
- 🐞 修复 Slider 设置
formatter
后,拖拽滑块导致 Tooltip 位置异常的问题。#53460 @EmilyyyLiu - 🐞 修复 Tabs 键盘操作失效的问题。#53692 @afc163
- RTL
- 💄 修复 Image 计数元素在 RTL 模式下的显示方向问题。#53593 @aojunhao123
5.24.8
- 🤖 Release llms.txt and llms-full.txt, help LLM or agent to access detailed information during inference.
- 🐞 Fix Tabs throwing
Maximum update depth exceeded
error in some cases. #53521 @afc163 - Splitter
- 💄 Make Splitter collapse icon always visible on mobile devices. #53575 @EmilyyyLiu
- 🐞 Fix Splitter
onResizeEnd
callback parameter not being the latest value in lazy mode. #53574 @wanpan11
- Input
- 🐞 Fix Input.TextArea height flickering during initialization. #53522 @Fang328
- 🐞 Fix Popover position misalignment when Input has suffix. #53475
- 🐞 Fix Input.OTP
mask
attribute not working properly whentype="number"
. #53550 @rajankonar
- 🐞 Fix Breadcrumb.Item type not supporting
data-*
andaria-*
attributes. #53546 @John-Feola - 🐞 Fix Descriptions incorrect border radius styles when enable
bordered
mode. #53538 @dengfuping - 🐞 Fix disabled state of operation buttons in UploadList when used within Form. #53504 @Wxh16144
- 🐞 MISC: Fix custom token
colorIcon
not taking effect for some components. #53511 @dengfuping - 🐞 Fix message/notification runtime dynamic configuration changes not taking effect. #53579 @Wxh16144
- RTL
- 💄 Fix counter element direction of Image and Input.TextArea in RTL mode. #53530 @aojunhao123
- 💄 Fix incorrect direction of left and right switch icons in Image.PreviewGroup in RTL mode. #53525 @aojunhao123
- 🤖 发布 llms.txt 和 llms-full.txt,提供大模型友好的文本信息。
- 🐞 修复 Tabs 有时抛出
Maximum update depth exceeded
错误的问题。#53521 @afc163 - Splitter
- 💄 Splitter 折叠图标在移动设备上将始终展示。#53575 @EmilyyyLiu
- 🐞 修复 Splitter 在 lazy 模式下
onResizeEnd
回调参数不是最新值的问题。#53574 @wanpan11
- Input
- 🐞 修复 Input.TextArea 初始化时渲染高度闪烁问题。#53522 @Fang328
- 🐞 修复 Input 存在 suffix 的情况下 Popover 弹出位置错乱的问题。#53475
- 🐞 修复 Input.OTP
mask
属性在type="number"
时无法正常工作的问题。#53550 @rajankonar
- 🐞 修复 Breadcrumb.Item 类型不支持
data-*
和aria-*
属性的问题。#53546 @John-Feola - 🐞 修复 Descriptions 带边框模式下左上和左下圆角样式不正确的问题。#53538 @dengfuping
- 🐞 修复 UploadList 在 Form 中使用时操作按钮的禁用状态问题。#53504 @Wxh16144
- 🐞 MISC: 修复自定义 token
colorIcon
对部分组件不生效的问题。#53511 @dengfuping - 🐞 修复 message/notification 运行时动态修改配置无法生效的问题。#53579 @Wxh16144
- RTL
- 💄 修复 Image 和 Input.TextArea 计数元素在 RTL 模式中的方向问题。#53530 @aojunhao123
- 💄 修复 Image.PreviewGroup 在 RTL 模式下左右切换图标方向不正确的问题。#53525 @aojunhao123
5.24.7
5.24.6
- 🐞 Fix Modal show loading with async call, still can close with click outer space. #53227 @jin19980928
- 🐞 Fix when Table
size
issmall
, the theme config will take effect on the sub Pagination. #52829 @Can-Chen
- 🐞 修复 Modal 通过异步方法显示 loading 态时,点击外侧仍能触发关闭的问题。#53227 @jin19980928
- 🐞 修复 Table 在
size
为small
时,主题配置 Pagination 无效的问题。#52829 @Can-Chen
5.24.5
- 🐞 Fixed the issue that the suffix of InputNumber moves left after the mouse enters when it is disabled. #53184 @yellowryan
- 💄 Fix Form syntax errors of style selector. #53236 @Wxh16144
- 💄 Refactor TextArea resize logic when set
resize: both
style to fit with React life cycle. #53235 @zombieJ - 🇮🇷 Add missing translations and fix typos for Farsi language (fa_IR). #53251 @AliReza-Kamkar
- 🐞 修复 InputNumber 在禁用状态下鼠标划入后
suffix
出现左移的问题。#53184 @yellowryan - 💄 修复 Form 组件样式选择器语法错误。#53236 @Wxh16144
- 💄 重构 TextArea 对
resize: both
时处理尺寸的逻辑以更符合 React 生命周期。#53235 @zombieJ - 🇮🇷 添加缺失的波斯语 (fa_IR) 翻译并修正拼写错误。#53251 @AliReza-Kamkar
5.24.4
- 🐞 Fix Input.TextArea width synchronization issue during resizing. #53024 @triyys
- 🐞 Fix Typography type color not follow
color[Status]Text
instead ofcolor[Status]
. #53086 @zombieJ - 🐞 Fix Affix abnormal
onChange
event behavior in React versions below 18. #53038 @waiter - 🐞 Fix Form
requiredMark
not working when component is false. #52950 @Wxh16144 - 🇹🇷 Add Turkish (tr_TR) localization support for the Tour component. #53117 @hakankosdag
- 🐞 修复 Input.TextArea 调整大小时宽度同步问题。#53024 @triyys
- 🐞 修复 Typography
type
颜色没有跟随 tokencolor[Status]Text
而是color[Status]
的问题。#53086 @zombieJ - 🐞 修复 Affix 组件在 React 18 以下版本中
onChange
参数值异常的问题。#53038 @waiter - 🐞 修复 Form
requiredMark
在component=false
时不起作用的问题。#52950 @Wxh16144 - 🇹🇷 新增 Tour 组件的土耳其语(tr_TR)本地化支持。#53117 @hakankosdag
5.24.3
- Input
- 💄 Fix DatePicker header buttons misalignment caused by unexpected spacing. #53007 @DDDDD12138
- 💄 Fix the text in AutoComplete was not centered when
size="large"
. #52819 @aojunhao123 - 🇩🇪 Add missing
de_DE
translations for Transfer. #53047 @chrisinick
- Input
- 💄 修复 DatePicker 头部按钮意外间距导致的未对齐问题。#53007 @DDDDD12138
- 💄 修复 AutoComplete 在
size="large"
时文字未居中对齐的问题。#52819 @aojunhao123 - 🇩🇪 完善
de_DE
Transfer 本地化. #53047 @chrisinick
5.24.2
- Input
- 🐞 Fix Input with component token
inputFontSize
breaks the height ofcontrolHeight
. #52865 @zombieJ - 🐞 Fix Input.Search has a border that is not aligned with the bottom of the search button when configure
variable
asunderlined
. #52861 @ustcfury - 🛠 Improve Input.OTP logic for create default state. #52878 @Dandelion-F
- 🛠 Improve Input.OTP implementation for render separator. #52841 @li-jia-nan
- 🐞 Fix Input with component token
- Watermark
- 🐞 Fix Watermark may cause page unresponsive when re-rendering. #52897 @765477020
- 🆕 Improve Watermark rendering logic to avoid disable it via developer tools and
hidden
attribute. #52891 @arronlai
- 🐞 Fix DatePicker.RangePicker arrow position not correctly when sometime reopened. #52854 @zombieJ
- 🐞 Fix Layout.Sider content overflow issue when
collapsedWidth={0}
. #52862 @afc163 - 🛠 Refactor Grid internal useBreakpoint logic to be same as other component, this will not affect usage. #52870 @zombieJ
- 💄 Fix Button styles for hyperlink mode. #52888 @DDDDD12138
- 💄 Fix Table sortable column headers could not wrap automatically. #52899 @765477020
- ⚡️ Improve Menu re-rendering performance when pass function to
expandIcon
property. #52863 @wanpan11 - ⚡️ Improve Carousel indicator animation performance. #52881 @li-jia-nan
- RTL
- 💄 Fix DatePicker wrong icon direction for RTL mode. #52896 @li-jia-nan
- 💄 Fix Dropdown wrong arrow direction of multi-level menu for RTL mode. #52885 @yellowryan
- Input
- 🐞 修复 Input 配置
inputFontSize
component token 时,controlHeight
会不生效的问题。#52865 @zombieJ - 🐞 修复 Input.Search 在设置
variant
为underlined
时下边框与搜索按钮底部没对齐的问题。#52861 @ustcfury - 🛠 优化 Input.OTP 的默认状态创建逻辑。#52878 @Dandelion-F
- 🛠 优化 Input.OTP 的分隔符渲染实现。#52841 @li-jia-nan
- 🐞 修复 Input 配置
- Watermark
- 🐞 修复 Watermark 重新渲染时可能导致页面卡死的问题。#52897 @765477020
- 🆕 调整 Watermark 渲染逻辑,防止通过开发者工具添加
hidden
属性来去掉水印。#52891 @arronlai
- 🐞 修复 DatePicker.RangePicker 在弹层重新打开的时候,有可能出现箭头位置不正确的问题。#52854 @zombieJ
- 🐞 修复 Layout.Sider 当
collapsedWidth={0}
时的内容溢出的问题。#52862 @afc163 - 🛠 重构 Grid 内部响应式逻辑以复用其他组件类似的逻辑,该更新不会于使用上有所变化。#52870 @zombieJ
- 💄 修复 Button 超链接模式的样式。#52888 @DDDDD12138
- 💄 修复 Table 可排序列头不自动换行的问题。#52899 @765477020
- ⚡️ 优化 Menu 在
expandIcon
属性传入函数时重新渲染的性能。#52863 @wanpan11 - ⚡️ 优化 Carousel 指示器的动画性能。#52881 @li-jia-nan
- RTL
- 💄 修复 DatePicker 在 RTL 模式下图标方向错误的问题。#52896 @li-jia-nan
- 💄 修复 Dropdown 在 RTL 模式下多级菜单箭头方向错误的问题。#52885 @yellowryan
5.24.1
- 🐞 Fix Button with
color
to beprimary
andvariant
to betext
orlink
will not use correct color. #52812 @zombieJ - 💄 Fix Input.Group & Input.OTP style issues caused by undefined CSS variables. #52799 @afc163
- 🐞 Fix DatePicker with long content
prefix
breaks the layout. #52776 @guoyunhe - 🐞 Fix Table title missing
aria-label
when sorting. #52772 @mellis481 - 🐞 Fix Alert.ErrorBoundary type error when used as a JSX component with
@types/react@18.x
. #52766 @afc163 - 💄 Fix Segmented
shape
not working withsize
. #52757 @yellowryan
- 🐞 修复 Button 配置
color
为primary
并且variant
为text
或link
时,没有取用正确的色板的问题。#52812 @zombieJ - 💄 修复 Input.Group 与 Input.OTP 由于 css 变量未定义导致样式异常的问题。#52799 @afc163
- 🐞 修复 DatePicker 的
prefix
内容多时会换行的问题。#52776 @guoyunhe - 🐞 修复 Table 列标题在排序时丢失
aria-label
的问题。#52772 @mellis481 - 🐞 修复 Alert.ErrorBoundary 在
@types/react@18.x
中无法作为 JSX 组件使用的类型错误问题。#52766 @afc163 - 💄 修复 Segmented 设置
size
时,shape
不生效的问题。#52757 @yellowryan
5.24.0
- 🆕 Notification support
actions
prop and deprecatedbtn
prop. #52703 @thinkasany - 🆕 Carousel support show dot duration. #52672 @yellowryan
- 🆕 Input.OTP support
separator
prop. #52668 @HaceraI - 🆕 Descriptions add
labelColor
component token. #52700 @guoyunhe - 🆕 Segmented supports
shape="round"
. #52685 @afc163 - 🆕 ConfigProvider support
variant
for Card. #52552 @thinkasany - 🆕 Progress/Step supports custom rounding with
rounding
prop. #52017 @yanghoxom - 🆕 Divider
orientation
supportstart
andend
. #52567 @li-jia-nan - 🆕 Add
underlined
tovariant
of Input, InputNumber, Mentions, Form, Select, Cascader, TreeSelect, DatePicker and TimePicker. #52546 @ustcfury - 🆕 ConfigProvider support global config of Modal
centered
. #52343 @guoyunhe - 🆕 Add
label
class name for Checkbox and Radio. #52322 @guoyunhe - 🐞 Fix Tooltip/Popover/Popconfirm/Dropdown misaligned popup positions with custom children in React 19. react-component/util#623 @zombieJ
- 🐞 Fix DatePicker.RangePicker arrow position when popup auto adjust position. #52719 @zombieJ
- 🐞 Update locale
filterCheckall
tofilterCheckAll
. #52517 @thinkasany - 🐞 Fix Form that
scrollToField
andscrollToFirstError
cannot focus components of antd. #52726 @Wxh16144 - 💄 Fix Button shadow color appearing awkward on dark backgrounds. #52701 @afc163
- 💄 Fixed the unnatural animation transition effect of Segmented component in dark mode. #52708 @yellowryan
- 💄 Separate style of Input and TextArea. #52570 @guoyunhe
- 💄 Fix Input and Select style issue under css var mode. #52554 @li-jia-nan
- ⌨️ Remove role="alert" from Form field error to improve screen reader experience. #52661 @mellis481
- ⌨️ Improve accessibility by adding localized labels for empty table header and panel buttons. #52689 @aojunhao123
- ⌨️ Improve Tabs accessibility by fixing error
Certain ARIA roles must contain particular children
. #52677 @afc163 - ⌨️ Add screen reader support for Tooltip. #52293 @aojunhao123
- TypeScript
- 🆕 Notification 支持
actions
属性并废弃btn
属性。#52703 @thinkasany - 🆕 Carousel 支持展示指示点进度。#52672 @yellowryan
- 🆕 Input.OTP 支持
separator
属性。#52668 @HaceraI - 🆕 Descriptions 增加
labelColor
组件 token。#52700 @guoyunhe - 🆕 Segmented 支持
shape="round"
的胶囊形状的样式。#52685 @afc163 - 🆕 ConfigProvider 支持 Card 组件的
variant
配置。#52552 @thinkasany - 🆕 Progress/Step 支持使用
rounding
属性自定义取整方法。#52017 @yanghoxom - 🆕 Divider 的
orientation
属性支持start
和end
.#52567 @li-jia-nan - 🆕 为 Input、InputNumber、Mentions、Form、Select、Cascader、TreeSelect、DatePicker、TimePicker 组件的
variant
添加underlined
属性。#52546 @ustcfury - 🆕 ConfigProvider 支持 Modal
centered
全局配置。#52343 @guoyunhe - 🆕 为 Checkbox 和 Radio 增加
label
类名。#52322 @guoyunhe - 🐞 修复 Tooltip/Popover/Popconfirm/Dropdown 在 React 19 下 children 为自定义组件时弹层位置错乱的问题。react-component/util#623 @zombieJ
- 🐞 修复 DatePicker.RangePicker 弹出窗体自动调整位置时,面板的箭头位置不正确的问题。#52719 @zombieJ
- 🐞 修正 locale 中
filterCheckall
为filterCheckAll
。#52517 @thinkasany - 🐞 修复 Form
scrollToField
和scrollToFirstError
无法聚焦 antd 组件的问题。#52726 @Wxh16144 - 💄 修复 Button 预设值按钮的阴影色在暗色背景下显示突兀的问题。#52701 @afc163
- 💄 修复 Segmented 组件在暗黑模式下的动画过渡效果不自然的问题。#52708 @yellowryan
- 💄 拆分 Input 和 TextArea 样式。#52570 @guoyunhe
- 💄 修复 Input 和 Select 在 css var 模式下的样式问题。#52554 @li-jia-nan
- ⌨️ Form field error 移除 role="alert" 以提升可访问性。#52661 @mellis481
- ⌨️ 优化无障碍体验,为空表头和面板按钮添加本地化标签。#52689 @aojunhao123
- ⌨️ 优化 Tabs 组件的可访问性,修复
Certain ARIA roles must contain particular children
的报错。#52677 @afc163 - ⌨️ 为 Tooltip 添加读屏器支持。#52293 @aojunhao123
- TypeScript