Releases: ant-design/ant-design
Releases · ant-design/ant-design
5.16.4
- 🐞 Fix Select with
multiple
andpaddingXXS=0
will break the height align ofcontrolHeight
token. #48574 - 🐞 Fix Upload miss style when enable CSS Variable. #48569 @nova1751
- 🐞 Fix Slider in
range
tooltip blink when drag the handle over another one. #48536 - Input
- 🐞 Fix the text of the button is not the large size when Input.Search is set to a large size. #48527
- 🐞 Fix abnormal text display in Input.TextArea. #48489 @korkt-kim
- 🐞 Fix the stuck animation effect of the Upload component image. #48522 @nova1751
- 🐞 Fix the issue where the Switch component using
checkedChildren
andunCheckedChildren
did not add a default height. #48513 @wanpan11 - 🐞 Fix the warning reminder when Form.Item uses noStyle with no value. #48508
- 🐞 Fix Popover
defaultOpen
setting failed. #48481 @linhf123 - 🐞 Fix where
placeholder
is not displayed when DatePicker is configured withmultiple
. #48387 @nova1751 - 🐞 Fix where ColorPicker clear color could not be changed when controlled in strict mode. #48450
- 💄 Fix the arrow style issue when Collapse uses third-party icons. #48417 @guoyunhe
- 💄 Optimize the animation effect of the embedded Menu Sider when it is expanded. #48127 @metouch
- 💄 Optimize Steps process style. #48464
- Locales
- 🇨🇳 Add zh_CN zh_HK zh_TW Table licales. #48543 @thinkasany
- 🇮🇩 Add id_ID DatePicker Form Table etc. locales. #48537 #48287 @edikurniawan-dev
- 🌐 Optimize Transfer localization to use
deselectAll
locale when need deselect all. #48553 @coderz-w
- 🐞 修复 Select 配置
paddingXXS=0
时,多选下超出设定的controlHeight
token 的问题。#48574 - 🐞 修复 Upload 在开启 CSS Variable 时样式丢失的问题。#48569 @nova1751
- 🐞 修复 Slider 在范围选择下,拖动滑块越过另一个滑块时提示框闪动的问题。#48536
- Input
- 🐞 修复 Input.Search 设置大尺寸时,按钮的文字不是大尺寸的问题。#48527
- 🐞 修复 Input.TextArea 的文字显示异常问题。#48489 @korkt-kim
- 🐞 修复 Upload 组件图片卡顿的动画效果。#48522 @nova1751
- 🐞 修复 Switch 组件使用
checkedChildren
unCheckedChildren
未添加默认高度的问题。#48513 @wanpan11 - 🐞 修复 Form.Item 使用 noStyle 无值时的警告提醒。#48508
- 🐞 修复 Popover
defaultOpen
设置失效的问题。#48481 @linhf123 - 🐞 修复 DatePicker 配置
multiple
时placeholder
不展示的问题。#48387 @nova1751 - 🐞 修复 ColorPicker 在严格模式下受控时清除颜色无法改变的问题。#48450
- 💄 修复 Collapse 使用第三方图标时的 arrow 样式问题。#48417 @guoyunhe
- 💄 优化内嵌 Menu 的 Sider 在展开时的动画效果。#48127 @metouch
- 💄 优化 Steps process 样式。#48464
- 国际化
- 🇨🇳 补充 zh_CN zh_HK zh_TW Table 文案。#48543 @thinkasany
- 🇮🇩 补充 id_ID DatePicker Form Table 等文案。#48537 #48287 @edikurniawan-dev
- 🌐 优化 Transfer 本地化,现在反选会使用
deselectAll
locale 配置。#48553 @coderz-w
5.16.3
- 🛠 Script failed to publish an empty package. Do not use this version.
- 🛠 脚本错误发布空包,请勿使用。
5.16.2
- 🐞 Fix Input.OTP controlled
value
to''
not work as expect. #48399 - 🐞 Fix DatePicker of
multiple
with week picker not show the selection on the panel. #48355 - 🐞 Fix Upload
listType
withpicture-card
orpicture-circle
has additional space on top. #48370 - Typography
- 🐞 Fix Typography dynamic set
copyable
oreditable
will not show the operation button. #48350 - 🐞 Fix Typography dynamic update
copyable.text
not working. #48347 - 🐞 Fix Typography using
ellipsis
config withexpandable="collapsible"
androw={1}
at both time will make ellipsis not working as expect. #48340
- 🐞 Fix Typography dynamic set
- 💄 Fix Steps in compact theme not show the correct progress style. #48251
- 💄 Refactor Tabs and wave-related components CSS duration values with
motionDurationSlow
Component Token. #48311 #48312 @li-jia-nan - 🇯🇵 Add Transfer missing ja_JP translations. #48411 @Inshiku-Han
- 🌐 Fix Picker ja-JP and ko-KR translations. #48382 @li-jia-nan
- 🛠 Use constant instead of enumeration to reduce package size. #48406 @kiner-tang
- 🐞 修复 Input.OTP 组件受控设置
value
为''
时不生效的问题。#48399 - 🐞 修复 DatePicker 对周选择器配置
multiple
多选时,弹出面板不会正确高亮选中项的问题。#48355 - 🐞 修复 Upload 配置
listType
为picture-card
或picture-circle
时,上方有额外空隙的问题。#48370 - Typography
- 💄 修复 Steps 的进度样式在紧凑模式下不正确的问题。#48251
- 💄 重构 Tabs 和波纹样式相关组件的 CSS 过渡时间值,替换为
motionDurationSlow
Component Token。#48311 #48312 @li-jia-nan - 🇯🇵 补充 Transfer 的 ja_JP 本地化文案。#48411 @Inshiku-Han
- 🌐 修复 Picker 的 ja_JP 和 ko_KR 本地化文案。#48382 @li-jia-nan
- 🛠 使用常量替代枚举减小包体积。#48406 @kiner-tang
5.16.1
- 🛠 Adjust Typography
ellipsis
logic to use CSS ellipsis in SSR to enhance user experience. #48205 - 🐞 Fix FloatButton config
tooltip
andbadge
at same time will makebadge
customize background not working. #48198 @LonelySnowman
- 🛠 调整 Typography 的
ellipsis
使其在 SSR 阶段使用 CSS 省略以优化用户体验。#48205 - 🐞 修复 FloatButton 中同时配置
tooltip
和badge
时,badge
的自定义背景色会失效的问题。#48198 @LonelySnowman
5.16.0
- 🔥 New component Input.OTP support. #48076
- 🆕 Tag support
aria-*
in closable. #47678 @kiner-tang - 🆕 Table add
rowHoverable
to control hover effect. #48112 @madocto - 🆕 Typography support async copy. #48123 @crazyair
- 🆕 Progress support
steps
withcircle
. #47940 @yykoypj - 🆕 Table support
onScroll
event for table body scroll. #47986 - 🆕 Typography ellipsis supports expand and collapse. #47264 @crazyair
- 🆕 ConfigProvider support configuring FloatButton.Group
closeIcon
. #47953 @li-jia-nan - 🆕 Table support
sorterTooltipTarget
prop for sorters. #47409 @Ke1sy - 🆕 Cascader support
optionRender
. #47727 @crazyair - 🆕 Notification support
aria-*
inclosable
. #47710 @kiner-tang - ⌨️ Popover can be closed by ESC when trigger is
focus
orclick
. #47928 @CooperHash - 🐞 Fix Button that vertically center icons when icon-only. #48178 @momesana
- 🐞 Fix Modal.confirm content is not centered when icon is null. #48173
- Form #48163 @madocto
- 🐞 1. Fix Form
getValueProps
shouldn't work when FormItem'sname
doesn't exist . - 🐞 2. Fix Form's
setFieldsValue
should tread same assetFields
.
- 🐞 1. Fix Form
- 🐞 Fixe Table that internationalization of table columns fails when searching. #48126 @LingJinT
- 🐞 Fix Upload that
onChange
should be triggered whenfileList.length
is larger thanmaxCount
. #47747 @Zhou-Bill - 🐞 Fix Carousel several bugs by upgrading react-slick changes and renewing TS type. #48093
- 🐞 Fix ColorPicker that displayed cleared color not change after
value
changed. #47816 @MadCcc - 🐞 Make Badge consistent with Tag that applay
colorInfo
token in processing. #47695 @pfdgithub - 🌐 Add missing form translations in is_IS. #48104 @LonelySnowman
- 🌐 Add Uzbek(latn) locale. #47899
- TypeScript
- 🔥 新增 Input.OTP 组件。#48076
- 🆕 Tag 组件支持在
closable
中配置 aria 属性。#47678 @kiner-tang - 🆕 Table 增加
rowHoverable
开启或关闭 hover 效果。#48112 @madocto - 🆕 Typography 组件支持异步复制。#48123 @crazyair
- 🆕 Progress 组件
circle
模式下支持steps
。#47940 @yykoypj - 🆕 Table 支持
onScroll
事件用于监听表单内容滚动。#47986 - 🆕 Typography 省略支持展开和收起。#47264 @crazyair
- 🆕 ConfigProvider 支持配置 FloatButton.Group 的
closeIcon
属性。#47953 @li-jia-nan - 🆕 Table 支持配置排序的
sorterTooltipTarget
属性.#47409 @Ke1sy - 🆕 Cascader 支持
optionRender
。#47727 @crazyair - 🆕 Notification 组件支持在
closable
中配置 aria-*。#47710 @kiner-tang - ⌨️ Popover 当
trigger
是focus
或click
时能被 ESC 按键所关闭。#47928 @CooperHash - 🐞 修复 Button 图标位置居中问题。#48178 @momesana
- 🐞 修复 Modal.confirm 无图标时内容不居中的问题。#48173
- Form #48163 @madocto
- 🐞 1. 修复 Form 当 FormItem 的
name
不存在时,getValueProps
不应该执行。 - 🐞 2. 修复 Form 的
setFieldsValue
和setFields
的行为应该相同。
- 🐞 1. 修复 Form 当 FormItem 的
- 🐞 修复 Table 表格列在搜索情况下,国际化失效的问题。#48126 @LingJinT
- 🐞 修复 Upload 当文件数量超出限制时,删除不起作用,无法触发
onChange
的问题。#47747 @Zhou-Bill - 🐞 Carousel 组件同步上游 react-slick 改动,修复一系列问题,并更新到最新 TS 定义。#48093
- 🐞 修复 ColorPicker 展示的清除颜色在受控
value
变化后不会改变的问题。#47816 @MadCcc - 🐞 Badge 与 Tag 组件保持一致,processing 状态使用
colorInfo
token 。#47695 @pfdgithub - 🌐 添加冰岛语缺失的 From 翻译。#48104 @LonelySnowman
- 🌐 添加乌兹别克语(拉丁字母) 国际化。#47899
- TypeScript
5.15.4
- 💄 Fix QRCode that custom style would be overrided by internal style. #48053 @li-jia-nan
- 💄 Fix Radio disabled hover style. #47972 @madocto
- 🐞 Fix Watermark sometime repeat re-render when browser set scale. #47895
- TypeScript
- 🤖 Affix Export AffixRef interface. #47982 @li-jia-nan
- 🤖 MISC: Fix GetRef ts util can not get correct ref type for some component. #47983
- 💄 修复 QRCode 组件自定义样式会被内部样式覆盖的问题。#48053 @li-jia-nan
- 💄 修复 Radio 禁用状态 hover 样式。#47972 @madocto
- 🐞 修复 Watermark 在特定屏幕缩放下会不断重复渲染的问题。#47895
- TypeScript
- 🤖 Affix 导出 AffixRef 类型。#47982 @li-jia-nan
- 🤖 MISC: 修复 GetRef 工具类型不能正确获得某些组件 ref 类型的问题。#47983
4.24.16
- 🐞 Fix Select that scrollbar is not displayed when there are few options. #47050
- 🐞 Fix Transfer cannot invert current page correctly. #47134 @linxianxi
- 🐞 Fix that clicking Form tooltip icon should not trigger Switch. #46159 @Wxh16144
- 🐞 Fix Segmented
options
className being overrided byclassName
. rc-segmented#175 @stoil-terziev
- 🐞 修复 Select 组件在选项较少时不显示滚动条的问题。#47050
- 🐞 修复 Transfer 反选当页错误的问题。#47134 @linxianxi
- 🐞 修复点击 Form
tooltip
图标会触发 Switch 切换的问题。#46159 @Wxh16144 - 🐞 修复 Segmented
options
内className
会覆盖组件自带className
的问题。rc-segmented#175 @stoil-terziev
5.15.3
- 💄 Unify Modal, Drawer, notification and Tour close button style. #47909
- 🐞 Fix Badge and text node align style under Space. #47908
- 💄 Fix Upload file list actions wrap style. #47898
- 🐞 Fix Typography config the
ellipsis.symbol
exceed the single line height will make ellipsis rows not correct issue. #47889 - 🐞 Fix DatePicker component height not correct when customize
controlHeight
. #47874 - 🐞 Fix DatePicker with
multiple
selector collapse for cross the line. #47821 - 🐞 TimePicker revert and add warning for
onSelect
API which is already removed in v4 but not update in English documentation. #47878 - 💄 Darken the Empty text color to make it readable. #47268 @evgmol
- 💄 统一 Modal、Drawer、notification 和 Tour 关闭按钮的样式,并增大 Modal 和 Drawer 关闭按钮的交互区域使其更容易点击。#47909
- 🐞 修复 Badge 和文本元素在 Space 下排版不对齐的问题。#47908
- 💄 修复 Upload 列表行动点换行的问题。#47898
- 🐞 修复 Typography 配置的
ellipsis.symbol
超出单行高度时,省略行数不正确的问题。#47889 - 🐞 修复 DatePicker 配置自定义
controlHeight
时展示高度不正确的问题。#47874 - 🐞 修复 DatePicker 设置
multiple
多选换行时行与行之间没有间隙的问题。#47821 - 💄 调深 Empty 文本色彩使其更清晰可读一些。#47268 @evgmol
5.15.2
- 🛠 Adjust the closing trigger of Tour, Dropdown, Menu, Tabs, Mentions, Picker, Select, TreeSelect, Cascader, Tooltip, and Popover pop-ups from
click
tomouseDown
to uniformly solve some event timing issues related to pop-up interactions. #47775 - 🐞 Fix Descriptions extra padding of items. #47737
- 🐞 Fix Anchor wrong active status when bounds value is 0. #47795@winchesHe
- 💄 Fix ColorPicker clear icon hover style. #47761
- 🇷🇺 Improve DatePicker ru_RU locale. #47768 @AlexeyTeterin
- 🛠 调整 Tour、Dropdown、Menu、Tabs、Mentions、Picker、Select、TreeSelect、Cascader、Tooltip、Popover 弹层点击外部的关闭时机,从
click
调整至mouseDown
以统一解决一些与弹窗相关交互中的事件时序问题。#47775 - 🐞 修复 Descriptions 内容区域额外的边距问题。#47737
- 🐞 修复 Anchor 界限值为 0 时 active 状态错误的问题。#47795@winchesHe
- 💄 给 ColorPicker 清除按钮补上鼠标 hover 反馈样式。#47761
- 🇷🇺 更新 DatePicker 的俄语文案。#47768 @AlexeyTeterin