3.24.0
ant-design-bot
released this
16 Oct 06:36
·
11431 commits
to master
since this release
- 🔥 Promote Yuque on home page.
- Table
- 🌟 Added
tableLayout
property fortable-layout
attribute. And usingtableLayout="fixed"
by default in scroll table to resolve align issue caused by cell content. #17284 - 🌟 Added
column.ellipsis
to ellipsize cell content. - 🌟 Added the
scroll.scrollToFirstRowOnChange
property to set whether to scroll to the top of the table after page changing. #18726 - 🌟
filterDropdown
added avisible
parameter to get the display state of the dropdown box. #17614 @sedx - 🌟
title
added asortColumn
parameter to get the currently sorted column. #19012 @swillis12 - 🌟 The
sorter
parameter ofonChange
will always containcolumn
information when sorting. #19226 - 🐞 Fix Table filter submenu checkbox margin. #e1a4f28
- 🌟 Added
- 🌟 Anchor added a
onChange
attribute to listen for changes to anchor links. #18715 - Upload
- 🌟 Added
showDownloadIcon
attribute to display download icon. #18664 @qq645381995 - 🌟 Support for
onRemove
control of upload interrupts. #18937 @ladjzero
- 🌟 Added
- 🌟 Input.Search added a
loading
property to show the state in the load. #18771 - 🌟 Grid's
gutter
property added support for vertical spacing. Now you can set an array forgutter
and the second value of the array for vertical spacing. #18979 - 🌟 message added support for updating content with a unique key. #18678
- 🌟 Layout added a
zeroWidthTriggerStyle
property to control the style of the specialtrigger
that appears whencollapsedWidth
is0
. #19079 - 🌟 Drawer added the
drawerStyle
andheaderStyle
properties. #19109 - PageHeader
- ConfigProvider
- 🐞 Fixed the issue that the
removeIcon
andclearIcon
properties of TreeSelect didn't work. #18949 - 🐞 Fixed the issue that the
switcherIcon
does not take effect after the Tree settingshowLine
. #18829 @MrHeer - 🐞 Fixed the issue that the Slider component set the handle size and positioned incorrectly. #19120
- Collapse
- 🐞 Fix icon styles under IE 11. #19135 @GBcrimson
- 🐞 Keep
className
given toexpandIcon
. #19160 @gpetrioli
- 🐞 Fixed the issue that
defaultExpandAll
does not take effect when Tree.DirectoryTree component passedtreeData
. #19148 - 🐞 Fixed the issue with some of the Menu styles under Dropdown. #19150
- 🐞 Fixed Cascader's
placeholder
internationalization error. #19227 @kagawagao - 🌟 Added less variables
@typography-title-margin-top
,@typography-title-margin-bottom
. #18746 - 🗑 Discard the
autosize
property of Input.TextArea, useautoSize
instead. #19177
- 🔥 首页新增语雀的推广链接。
- Table
- 🌟 新增
tableLayout
属性,支持设置表格的table-layout
布局,并在固定表头/列下默认开启tableLayout="fixed"
,解决因为表格自动根据内容排版造成的列对齐问题。#17284 - 🌟 新增
column.ellipsis
支持单元格内容自动省略。 - 🌟 新增
scroll.scrollToFirstRowOnChange
属性,用于设置在翻页后是否滚动到表格顶部。#18726 - 🌟
filterDropdown
新增visible
参数,用于获取下拉框的显示状态。#17614 @sedx - 🌟
title
方法新增sortColumn
参数,用于获取当前排序的列。#19012 @swillis12 - 🌟 排序时
onChange
的sorter
参数将始终包含column
信息。#19226 - 🐞 修复过滤下拉菜单的间距问题。#e1a4f28
- 🌟 新增
- 🌟 Anchor 新增
onChange
属性,用于监听锚点链接的改变。#18715 - Upload
- 🌟 新增
showDownloadIcon
属性,用于展示下载图标。#18664 @qq645381995 - 🌟 支持
onRemove
对上传中断的控制。#18937 @ladjzero
- 🌟 新增
- 🌟 Input.Search 新增
loading
属性,用于展示加载中的状态。#18771 - 🌟 Grid 的
gutter
属性新增垂直间距的支持,现在你可以给gutter
设置一个数组,数组的第二个值就表示垂直间距。#18979 - 🌟 message 新增支持通过唯一的
key
来更新内容。#18678 - 🌟 Layout 新增
zeroWidthTriggerStyle
属性以控制当collapsedWidth
为0
时,出现的特殊trigger
的样式。#19079 - 🌟 Drawer 新增
drawerStyle
和headerStyle
属性。#19109 - PageHeader
- ConfigProvider
- 🐞 修复 TreeSelect 的
removeIcon
和clearIcon
属性不生效的问题。#18949 - 🐞 修复 Tree 设置
showLine
后switcherIcon
不生效的问题。#18829 @MrHeer - 🐞 修复 Slider 组件设置
handle
大小后定位错误的问题。#19120 - Collapse
- 🐞 修复在 IE 11 下的图标样式。#19135 @GBcrimson
- 🐞 修复
expandIcon
的className
会被覆盖的问题。#19160 @gpetrioli
- 🐞 修复 Tree.DirectoryTree 组件传入
treeData
时defaultExpandAll
不生效的问题。#19148 - 🐞 修复 Dropdown 下部分 Menu 样式错乱的问题。#19150
- 🐞 修复 Cascader 的
placeholder
国际化错误。#19227 @kagawagao - 🌟 新增 less 变量
@typography-title-margin-top
和@typography-title-margin-bottom
。#18746 - 🗑 废弃 Input.TextArea 的
autosize
属性,请使用autoSize
代替。#19177