Releases: ant-design/ant-design
Releases · ant-design/ant-design
5.19.3
- 🐞 Fix Table sorter argument of
onChange
with unexpected value. #49533 @Zyf665 - 🐞 Fix Pagination
token.itemBg
not working. #49933 - 🐞 Fix List wrong align style of pagination. #49925 @coding-ice
- 🐞 Fix Image cannot exit preview, when click blank area on both sides of aciton bar. #49915 @wanpan11
- 🐞 Fix Card border radius cannot works for non-img elements from
cover
property. #49862 @coding-ice - 💄 Fix Dropdown menu item wrong wrap style at edge of viewport. #49899
- 💄 Fix Descriptions items may too close with each other. #49895 @crazyair
- ⌨️ Optimize Select be changed repeatedly when hold the enter key in multi-mode. #49963 @crazyair
- 🇪🇬 Add missing translation for the Arabic language(Egypt) (ar_EG). #49852 @ahmedsamirdev
- TypeScript
- 🐞 修复 Table 的
onChange
事件中排序器参数错误的问题。#49533 @Zyf665 - 🐞 修复 Pagination
token.itemBg
设置不生效的问题。#49933 - 🐞 修复 List 默认分页位置错误的问题。#49925 @coding-ice
- 🐞 修复 Image 预览操作栏两侧空白区域被点击时,无法关闭预览的问题。#49915 @wanpan11
- 🐞 修复 Card 圆角对
cover
属性中的非 img 元素不生效的问题。#49862 @coding-ice - 💄 修复 Dropdown 菜单内容在视口边缘换行的问题。#49899
- 💄 修复 Descriptions 子项之间可能没有边距的问题。#49895 @crazyair
- ⌨️ 优化 Select 多选模式下长按回车会不断触发变更的问题。#49963 @crazyair
- 🇪🇬 添加阿拉伯文(埃及) (ar_EG) 的翻译。#49852 @ahmedsamirdev
- TypeScript
5.19.2
- 🐞 Fix List render
0
whenactions={[]}
. #49842 @int64ago - 🐞 Fix Upload with dragging upload, the
fileList
inbeforeUpload
is not fully filled. #49832 @coderz-w - Descriptions
- 🐞 Fix Descriptions overlap when content is too long. #49803 @coding-ice
- 🐞 Fix Descriptions render style issue when under Table
expandedRowRender
. #49727 @ljw-codeking
- 🐞 Fix Spin style issue when use
percent
andsize
at same time. #49876 - 🇮🇳 Fill DatePicker
kn_IN
missing locales. #49860 @neerajap-01 - Typescript
- 🐞 修复 List
actions
为空数组时会渲染0
的问题。#49842 @int64ago - 🐞 修复 Upload 拖拽上传文件夹时,
beforeUpload
中fileList
不完整的问题。#49832 @coderz-w - Descriptions
- 🐞 修复 Descriptions 在内容过长时会遮盖后面内容的问题。#49803 @coding-ice
- 🐞 修复 Descriptions 在 Table
expandedRowRender
中渲染样式异常的问题。#49727 @ljw-codeking
- 🐞 修复 Spin
percent
和size
一同使用时,样式不正确的问题。#49876 - 🇮🇳 补充 DatePicker 的
kn_IN
本地化文案。#49860 @neerajap-01 - Typescript
5.19.1
- 🐞 Global: @ant-design/colors use pre-compiled color presets to improve runtime performance. #49714 @guoyunhe
- 🐞 Global: No more limit max auto
zIndex
increase but use warning instead. #49720 - 🐞 Adjust position of Input.TextArea to be consistent with other data entry components. #49718 @wanpan11
- 🐞 Fix Input variant
filled
activeBorderColor
token invalid. #49699 @wanpan11 - TypeScript
5.19.0
- 🆕 ConfigProvider now supports global configuration for
variant
. #49535 @MadCcc - QRCode
- QRCode uses
rc-qrcode
instead ofqrcode.react
. #49454 @kiner-tang - QRCode adding support for click events and
iconSize
configuration. #49240 @thinkasany
- QRCode uses
- 🆕 Select component's
filterSort
property now includessearchValue
parameter. #49352 @MadCcc - 🆕 Pagination adds
simple
property, supports read-only mode, and introducesalign
property. #49562 @coding-ice - 🐞 Enhanced Anchor's
affix
property for more configuration options. #49295 @gin-lsl - DatePicker
- 🐞 Fixed missing arrow in DatePicker/TimePicker RangePicker with
placement
set totopRight
orbottomRight
.#49333 - 🐞 Fixed missing accessible text for DatePicker switch button, style issue in RTL mode for
DatePicker.RangePicker
, and crash when entering wrong end value in year selection of DatePicker.RangePicker.#49333 - 🐞 Fixed DatePicker.RangePicker resetting selected dates when entering dates via keyboard. #49333
- 🐞 Fixed missing arrow in DatePicker/TimePicker RangePicker with
- 🐞 Button fixed
disabled
property not working when used asDropdown
trigger
. #47363 - 🐞 InputNumber now warns when using
type=number
withchangeOnWheel
. #49648 @wanpan11 - Table
- 🐞 Upload fixed rendering performance issue when listing many files in list mode. #49598 @tlkv
- 💄 Added initial styles for
SubMenu
node in Menu. #49643 @wanpan11 - 💄 Improved active style for Slider handle. #49630
- 💄 Optimized
variant=borderless
style for DatePicker, TimePicker, Select, TreeSelect, Input, InputNumber, Mentions, now distinguishable when settingstatus
property. #49608 - 🐞 Fixed Typography
ellipsis
not working when parent hasnowrap
style. #49667 - TypeScript:
- 🌐 Locales
- 🇹🇭 Added missing Thai translations for
Transfer.deselectAll
,Text.collapse
,QRCode.scanned
,ColorPicker.presetEmpty
. #49588 by @Tantatorn-dev - 🇳🇱 Fixed nl_NL localization issues for Tour. #49612 by @Hannnnnnnnnnnnnnnn
- 🇹🇷 Adjusted Turkish language text for
DatePicker
. #49333
- 🇹🇭 Added missing Thai translations for
- 🆕 ConfigProvider 现支持全局配置
variant
。#49535 @MadCcc - 🆕 QRCode
- QRCode 使用
rc-qrcode
替代了qrcode.react
。#49454 @kiner-tang - QRCode 新增支持点击事件和
iconSize
宽高配置。#49240 @thinkasany
- QRCode 使用
- 🆕 Select 组件的
filterSort
属性现新增获取searchValue
的参数。#49352 @MadCcc - 🆕 Pagination 支持
simple={{ readOnly }}
属性和align
属性。#49562 @coding-ice - 💄 优化了 Slider 滑块的激活样式。#49630
- 🐞 增强了 Anchor 的
affix
属性,支持更多配置项。#49295 @gin-lsl - DatePicker
- 🐞 Button 修复了用作 Dropdown
trigger
时disabled
属性不生效的问题。#47363 - 🐞 InputNumber 在同时使用
type=number
和changeOnWheel
时现在会给出警告提示。#49648 @wanpan11 - 🐞 修复 Dropdown 次级菜单 reset 样式丢失的问题。#49643 @wanpan11
- 💄 优化了 DatePicker、TimePicker、Select、TreeSelect、Input、InputNumber、Mentions 的
variant="borderless"
样式,现在在设置status
属性时也能够被区分。#49608 - Table
- 🐞 Upload 修复了在列表模式下文件过多时出现的渲染性能问题。#49598 @tlkv
- 🐞 Typography 修复在父元素存在
nowrap
样式时,ellipsis
不生效的问题。#49667 - TypeScript:
- 🌐 国际化
- 🇹🇭 添加了缺失的泰语翻译,包括
Transfer.deselectAll
、Text.collapse
、QRCode.scanned
、ColorPicker.presetEmpty
。#49588 @Tantatorn-dev - 🇳🇱 Tour 修复了 nl_NL 本地化问题。#49612 @Hannnnnnnnnnnnnnnn
- 🇹🇷 调整了 DatePicker 的土耳其语言文案。#49333
- 🇹🇭 添加了缺失的泰语翻译,包括
5.18.3
5.18.2
- 🐞 Fix the bug where the icon and the text aren't strictly centered in message. #49429 @nova1751
- 🐞 Fix Table sorter argument of
onChange
with unexpected value for #49134. #49289 @Zyf665 - 🐞 Add
aria-label
for expand icon in Collapse. #49395 @wanpan11 - 🐞 Fix token
inputFontSizeSM
andinputFontSizeLG
not working in InputNumber. #49369 - 💄 Fix Empty sometimes doesn't take
colorTextDescription
as description text color. #49408 - 💄 Resolve Badge
processing
status style conflict with Tailwind CSS. #49379 - 🌐 Locales
- 🇲🇳 Add missing translations for Mongol language (mn_MN). #49373 @JiyinShao
- 🐞 修复了 message 图标与文本内容没有严格居中对齐的问题。#49429 @nova1751
- 🐞 修复 #49134 #49289 中提到的 Table 组件的
onChange
事件中排序器参数的问题。@Zyf665 - 🐞 为 Collapse 组件中展开/折叠图标 添加具有语义的
aria-label
属性值。#49395 @wanpan11 - 🐞 修复 InputNumber 组件中 token
inputFontSizeSM
和inputFontSizeLG
不生效的问题。#49369 - 💄 修复 Empty 部分样式下,描述的
colorTextDescription
不生效的问题。#49408 - 💄 解决 Badge
processing
与 Tailwind CSS 样式冲突的问题。#49379 - 🌐 国际化
- 🇲🇳 添加蒙古语言 (mn_MN) 翻译。#49373 @JiyinShao
5.18.1
- Typography
- 🐞 Fix Space
size
setting to 0 did not take effect. #49192 @coding-ice - 🐞 Fix
padding
of Progress text is invalid in cssinjs. #49250 @vagusX - 🐞 Fix Modal close button's
zIndex
being incorrect incssVar
mode. #49238 - 🐞 Fix Image
width
height
being applied to preview images. #49259 @nova1751 - 🐞 Fix the icon of the Pagination page switcher disappears when hovering. #49262
- 🐞 Fix Mentions not responding to Enter event when
loading=true
. #49292 @wanpan11 - 🐞 Fix Notification did not inherit App config properties. #49339 @hemengke1997
- 💄 Fix the text color of Drawer was incorrect in dark mode. #49217
- 💄 Fix the style was not visible and the
percent
progress was not passed when customizing theindicator
of Spin. #49211 @wanpan11 - DatePicker
- TypeScript
- 🤖 Mentions added new export type
MentionsProps
. #49281 @thinkasany - 🤖 Remove duplicate union type from Statistic. #49218 @thinkasany
- 🤖 Mentions added new export type
- 🌐 Locales
- 🇲🇾 Add Table、Form、Tour etc. ms_MY locale. #49353 @cs-gavin-huang
- 🇦🇿 Add DatePicker az_AZ locale. #49247 @sabitalizade
- Typography
- 🐞 修复 Space
size
设置 0 不生效的问题。#49192 @coding-ice - 🐞 修复 Progress 文本的 padding 在 cssinjs 下单位失效问题。#49250 @vagusX
- 🐞 修复 Modal 关闭按钮的
zIndex
在cssVar
模式下不正确的问题。#49238 - 🐞 修复 Image
width
height
被应用到预览图片上的问题。#49259 @nova1751 - 🐞 修复 Pagination 页码切换器 hover 时图标消失的问题。#49262
- 🐞 修复 Mentions 当
loading=true
时不响应 Enter 事件的问题。#49292 @wanpan11 - 🐞 修复 Notification 没有继承 App config 属性的问题。#49339 @hemengke1997
- 💄 修复 Drawer 在暗黑模式下,文本颜色不正确的问题。#49217
- 💄 修复 Spin 自定义
indicator
时,样式不可见以及percent
进度没有传递的问题。#49211 @wanpan11 - DatePicker
- TypeScript
- 🤖 Mentions 新增导出类型
MentionsProps
。#49281 @thinkasany - 🤖 移除 Statistic 重复的联合类型。#49218 @thinkasany
- 🤖 Mentions 新增导出类型
- 🌐 国际化
- 🇲🇾 补充 Table、Form、Tour 等 ms_MY 文案。#49353 @cs-gavin-huang
- 🇦🇿 补充 DatePicker az_AZ 文案。#49247 @sabitalizade
5.18.0
- 🛎 Fix Button icon and text align issue by changing
inline-block
toinline-flex
and simplifyiconPosition
implementation. #47318 - Drawer
- 🆕 Drawer add
drawerRender
property to control render. #49125 @crazyair - 🛠 Drawer loading implementation changes to Skeleton from Spin. #48886 @li-jia-nan
- 🆕 Drawer add
- Form
- Image
- 🆕 Image add
onReset
andonClose
properties. #48936 @kiner-tang - 🆕 Image supports get
imgInfo
from arguments oftoolbarRender
andimageRender
render functions. #48729 @nova1751
- 🆕 Image add
- notification
- Progress
- 🆕 Progress add
percentPosition
property to control position for percent value. #48157 @LonelySnowman - 🆕 Progress
size
property supports object value. #48805 @crazyair
- 🆕 Progress add
- 🆕 Avatar.Group add
max
property for replacemaxCount
、maxStyle
、maxPopoverPlacement
andmaxPopoverTrigger
properties. #49131 @wanpan11 - 🆕 Modal add
loading
property to show the skeleton. #48848 @li-jia-nan - 🆕 Rate add
keyboard
property to ignore keyboard events. #49132 @Wxh16144 - 🆕 Spin support
percent
to render as progress. #48657 - 🐞 Watermark add
overflow: hidden
style to prevent setheight: 0
to hide the watermark case. #49130 - 🐞 Anchor fix scroll animation lost bug when set
replace
property. #49136 @mySkey - 🐞 Tour fix
current
argument ofonClose
is wrong. #49124 - 💄 List.Item add
styles
andclassName
properties. #49154 @wanpan11 - 🇯🇵 DatePicker add missing ja_JP translations. #49155 @huyikai
- 🛠 Simplify several logics and type definitions. #49146 #49156 #49169 #49162 @coding-ice
- 🛎 Button 默认布局由
inline-block
切换为inline-flex
以修复图标和文字对齐问题,并简化了iconPosition
的实现。#47318 - Drawer
- 🆕 Drawer 新增
drawerRender
属性以支持自定义渲染。#49125 @crazyair - 🛠 Drawer 加载中的状态实现由 Spin 替换为 Skeleton。#48886 @li-jia-nan
- 🆕 Drawer 新增
- Form
- Image
- 🆕 Image 新增
onReset
和onClose
属性。#48936 @kiner-tang - 🆕 Image 的
toolbarRender
和imageRender
渲染函数入参新增ImgInfo
信息。#48729 @nova1751
- 🆕 Image 新增
- notification
- Progress
- 🆕 Progress 新增
percentPosition
属性用于控制数值位置。#48157 @LonelySnowman - 🆕 Progress 的
size
属性支持配置为对象值。#48805 @crazyair
- 🆕 Progress 新增
- 🆕 Avatar.Group 新增
max
属性以替代maxCount
、maxStyle
、maxPopoverPlacement
和maxPopoverTrigger
。#49131 @wanpan11 - 🆕 Modal 新增
loading
属性以展示加载中的状态。#48848 @li-jia-nan - 🆕 Rate 新增
keyboard
属性以支持禁用键盘事件。#49132 @Wxh16144 - 🆕 Spin 支持
percent
属性以进度形态展示。#48657 - 🐞 Watermark 添加
overflow: hidden
样式以防止通过设置height: 0
样式达到隐藏水印的效果。#49130 - 🐞 Anchor 修复设置
replace
属性时滚动动画丢失的问题。#49136 @mySkey - 🐞 Tour 修复
onClose
的current
参数错误的问题。#49124 - 💄 List.Item 增加
styles
及classNames
属性。#49154 @wanpan11 - 🇯🇵 DatePicker 补充 ja_JP 本地化文案。#49155 @huyikai
- 🛠 精简数处判断逻辑及类型定义。#49146 #49156 #49169 #49162 @coding-ice
5.17.4
- 🐞 Fix Modal with
confirm
would not close correctly when returningtrue
inonOk
oronCancel
. #49054 @wanpan11 - 🐞 Fix Carousel was warned about having non-standard DOM attributes by React. #49031
- 🐞 Fix Form prop of
scrollToFirstError
not working for InputNumber. #48989 @Wxh16144 - TypeScript