- Dynamic Theme Theme
- 🔥 ConfigProvider support dynamic modify theme color. view detail. #31496
- 🚧 Move part
mixins
related less file tothemes
instead since it requires theme variable. We do not recommend use internal file but please note this if you already use it. #32763 - 🐞 Fix
antd.variable.less
compile mix with default theme variable. #32279 - 🐞 Fix antd compile file miss
/style/default.css
. #32116 - 🐞 Fix less compile
antd.xxx.less
throw theMaximum call stack size exceeded error
. #32063
- Input
- 🐞 Fix Input.Search
border-left-radius
is not 0 when configured withallowClear
andaddonBefore
. #32812 @KAROTT7 - 🐞 Fix Input set to
disabled
still keep focused style. #32739 - 🐞 Avoid Input
placeholder
can be selected on Chrome. #32639 @cw1997 - 🐞 Input.TextArea
maxLength
is now passing to html textarea element. #32448 @MOHAMMADArsalan - 🐞 Fix Input cannot clear content when focus it. #31931 @adaex
- 🐞 Fix Input.Search
- Cascader
- 🔥 Cascader support
multiple
mode. #31936 - 🆕 Cascader add
title
prop with content by default. #31237 @yingpengsha - 🐞 Fix Cascader missing
popupClassName
andpopupPlacement
props. #32143
- 🔥 Cascader support
- Select
- TreeSelect
- Tree
- 🆕 Tree
draggable
add handler for tips. #32306 - 🆕 Tree support
fieldNames
to customize node field name. #31395 - 🆕 Tree support
onScroll
in virtual scroll. #474 - 🐞 Fix Tree icon align bug when
showLine
is enable. #32822 - 🐞 Fix Tree.DirectoryTree throws
TypeError:nativeEvent is undefined
. #32551 @D-to-the-K - 🐞 Fix Tree drop outside not clear indicator. #478
- 💄 Fix 1px position deviation of the Tree connection line when zooming in. #32075 @btea
- 🆕 Tree
- PageHeader
- 🐞 Fix PageHeader with false 'breadcrumbrender' still shows dom. #32738
- Form
- Drawer
- 🆕 Tweak Drawer close icon position and default width, add
extra
andsize
props. #30908 - 🆕 Drawer support
autoFocus
prop. #181 - 🐞 Fix the problem that the bottom Drawer component has no animation. #32761 @solitia7125
- 💄 Optimize Drawer open animation. #32342
- 🆕 Tweak Drawer close icon position and default width, add
- Steps
- 🐞 Fix Steps
progressDot
style when it isvertical
. #32742 - 🐞 Fix Steps default responsive style not working. #31965 @tangjinzhou
- 🐞 Fix Steps
- Typography
- Table
- 🔥 Table adds
column.filterMode
to support filter in a tree, which could set to'menu' | 'tree'
. #31809 - 🔥 Table adds
column.filterSearch
for enable search function in filter dropdown. #31809 - 🆕 Table hover
rowSpan
row will highlight all the rows now. #32557 - 🐞 Fix Table selection column arrow get covered by fixed column. #32276 @g7i
- 🐞 Fix Table
loading
jumpy style when setsticky
. #32703 @miloudbelaabed - 🐞 Fix Table don't support
ref
. #32136 @JounQin - 🐞 Table remove
sticky
style with fixed column in IE11 to avoid layout issue. #32177 - 💄 Optimize Table sorter icon margin problem. #32172
- 🐞 Fix Table.SELECT_XXX ignore record
disabled
status bygetCheckboxProps
. #32027 - 💄 Table filter reset button won't close dropdown now. #31809
- 🐞 Revert Table sticky
z-index
style back tocalc
instead of less calculation to fixauto
style failure. #31874 @bconnorwhite - 🐞 Fix Table scroll bar display issue when data dynamic changed. #647 @lanten
- 🐞 Fix
pagination.className
not working in Table. #32131 @JounQin
- 🔥 Table adds
- Transfer
- 🆕 Transfer support custom left and right
footer
. #31108 - 🆕 Transfer supports
locale.notFoundContent
with array. #31088 @wwyx778 - 🐞 Fix Transfer throws
MenuItem should not leave undefined key
warning when opening selection dropdown menu. #32578 - 💄 Tweak Transfer filter search input icon position. #31809
- 🆕 Transfer support custom left and right
- Collapse
- Button
- Pagination
- 🆕 Pagination supports
selectComponentClass
prop. #32132 @JounQin - 💄 Add box-shadow for jumper input in Pagination with
simple
props. #32528 @chen-jingjie
- 🆕 Pagination supports
- Upload
- InputNumber
- 🔥 InputNumber support
addonBefore
andaddonAfter
. #31432 @Austaras - 🆕 InputNumber now supports
controls
for displaying+-
buttons or not. #31548 - 🆕 InputNumber
formatter
support additional param to check if current input is user typing. #31030 - 🐞 Fix InputNumber handler arrow not align center. #32409
- 💄 Show InputNumber handler when focus it. #31911
- 🔥 InputNumber support
- DatePicker
- 🆕
DatePicker
andRangePicker
now supportnextIcon
,prevIcon
,superNextIcon
andsuperPrevIcon
. #31703 @Oreoz - 🐞 Fix
defaultPickerValue
not working in RangePicker. #32107 @thommesZip
- 🆕
- Notification
- 🆕 Notification support
maxCount
to limit count. #31807 @binyellow - 🐞 Fix
closeIcon
not working bug when Notification is called multiple times. #32359 @KAROTT7
- 🆕 Notification support
- 🆕 Menu.Divider support
dashed
style. #31379 @Map1en - 🆕 Skeleton.Button add
block
prop. #30902 @Jehu - 🆕 Popconfirm
onConfirm
supports Promise. #30871 @wendellhu95 - 🐞 Fix Card
tabs
style when settabPosition: 'left'
. #32695 - 🐞 Fix Radio cannot click due to custom
type
property. #32463 - 🐞 Fix
Ok
abbreviation to beOK
. #32259 @chj-damon - 🐞 Fix Grid Col
flex
some time exceed its width when content too long. #32160 - 🐞 Fix Switch Loading icon in an incorrect position. #32216
- 🐞 Fix return element of
getPopupContainer
in ConfigProvider is not used as a container when callingmessage.useMessage
. #31939 @DaoxingHuang - 💄 Improve small size Image by ellipsising preview text. #29900 @drizzlesconsin
- 🐞 Fix Alert extra dom node when
message
isundefined
. #32057 - 🐞 Fix anchor
targetOffset
not work when contain spaces. #31952 @adaex - 💄 Add
@checkbox-border-radius
less variable. #31360 @Gherciu - 🐞 Avatar add
crossOrigin
property to resolve cross origin issue. #31273 @Map1en - RTL
- 💄 Optimized Alert close icon display in RTL mode. #32286
- 💄 Optimized Table header action display in RTL mode. #32283
- 💄 Optimized Collapse arrow icon display in RTL mode. #32282
- 💄 Optimized Badge count display and animation in RTL mode. #32281
- 💄 Optimized InputNumber handler border style in RTL mode. #32272
- 💄 Optimized Dropdown icon display in RTL mode. #32271
- 🐞 Fix Transfer list
direction
value in RTL mode. #31903
- 🌐 Localization
- TypeScript
- 🤖 Modify the type of Spin
tip
to ReactNode.. #32733 @tychenjiajun - 🤖 Fix Message duration type definition. #32524 @chen-jingjie
- 🤖 Fix args type for
getPopupContainer
in ConfigProvider. #32406 @mtadams007 - 🐞 Fix Table missing generic type definition. #32358
- 🐞 Fix Switch missing
id
property. #32237 @M-ZubairAhmed - 🤖 Fix
type
type for Button. #32004 @jaredleechn - 🤖 Improve type
locale
for Pagination. #32128 @JounQin - 🤖 Improve and export
DropdownButtonType
type for DropdownButton [#31957 @Dreamerryao - 🤖 Adjust List
rowKey
type to React.key. #32033 @lironhl - 🐞 Fix DatePicker
ref
typing. #31993 @acfasj - 🤖 Update the
levelMove
type definition in Drawer. #30714 @g0shed
- 🤖 Modify the type of Spin
- 动态主题
- 🔥 ConfigProvider 支持动态配置主题色,详细文档。#31496
- 🚧 移动部分
mixins
less 文件到themes
文件下,因为它们依赖于主题相关变量。我们不推荐直接引用底层 less 文件,但是如果你使用了请注意这部分变更。#32763 - 🐞 修复
antd.variable.less
编译时会混入默认主题配置的问题。#32279 - 🐞 修复 antd 编译产物缺失
/style/default.css
文件的问题。#32116 - 🐞 修复 less 编译
antd.xxx.less
会抛出Maximum call stack size exceeded error
的问题。#32063
- Input
- 🐞 修复
Input.Search
组件在有allowClear
和addonBefore
属性时,输入框border-left-radius
值错误的问题。#32812 @KAROTT7 - 🐞 修复 Input 设置
disabled
时仍然保留聚焦样式的问题。#32739 - 🐞 修复 Input
placeholder
在 Chrome 上能被选择的问题。#32639 @cw1997 - 🐞 Input.TextArea
maxLength
属性现在会传给原生 textarea 标签。#32448 @MOHAMMADArsalan - 🐞 修复 Input 聚焦时点击清除图标无效的问题。#31931 @adaex
- 🐞 修复
- Cascader
- 🔥 Cascader 支持
multiple
模式。#31936 - 🆕 在
Cascader
组件中,默认给选中值的文本添加title
属性。#31237 @yingpengsha - 🐞 修复 Cascader 中
popupClassName
与popupPlacement
属性无效问题。#32143
- 🔥 Cascader 支持
- Select
- TreeSelect
- Tree
- PageHeader
- 🐞 修复 PageHeader
breadcrumbRender
返回false
,仍然展示 dom 的问题。#32738
- 🐞 修复 PageHeader
- Form
- Drawer
- 🆕 调整 Drawer 关闭按钮位置和默认宽度,新增
extra
操作区域和size
大小属性。#30908 - 🆕 Drawer 支持
autoFocus
属性。#181 - 🐞 修复底部 Drawer 组件没有动画的问题。#32761 @solitia7125
- 💄 优化 Drawer 弹出动画。#32342
- 🆕 调整 Drawer 关闭按钮位置和默认宽度,新增
- Steps
- 🐞 修复 Steps 垂直
progressDot
的对齐样式问题。#32742 - 🐞 修复 Steps 默认响应式不生效的问题。#31965 @tangjinzhou
- 🐞 修复 Steps 垂直
- Typography
- Table
- 🔥 Table 新增
column.filterMode
以支持配置树形筛选菜单,可选值为'menu' | 'tree'
。#31809 - 🔥 Table 新增
column.filterSearch
以支持开启筛选列搜索功能。#31809 - 🆕 Table 鼠标悬浮
rowSpan
行时会高亮所有相关行。#32557 - 🐞 修复 Table 选择框下拉箭头被固定列遮挡的问题。#32276 @g7i
- 🐞 修复 Table 设置
sticky
的时候loading
样式跳动的问题。#32703 @miloudbelaabed - 🐞 修复 Table 不支持
ref
的问题。#32136 @JounQin - 🐞 Table 移除 IE11 下
sticky
的相关样式以解决布局问题。#32177 - 🐞 优化 Table 排序图标边距问题。#32172
- 🐞 修复 Table 中
pagination.className
不生效的问题。#32131 @JounQin - 🐞 修复 Table.SELECT_XXX 会无视
getCheckboxProps
提供的disabled
状态问题。#32027 - 💄 Table 筛选菜单重置按钮现在不再关闭菜单和生效。#31809
- 🐞 回滚 Table sticky
z-index
样式的 less 计算到calc
,以防止auto
样式计算错误问题。#31874 @bconnorwhite - 🐞 修复 Table 在数据变更后滚动条展示问题。#647 @lanten
- 🔥 Table 新增
- Transfer
- Collapse
- Button
- Pagination
- 🆕 Pagination 支持定制
selectComponentClass
。 #32132 @JounQin - 💄 Pagination
simple
属性下中翻页 input 增加 box-shadow。#32528 @chen-jingjie
- 🆕 Pagination 支持定制
- Upload
- InputNumber
- DatePicker
- 🆕
DatePicker
和RangePicker
现在支持nextIcon
、prevIcon
、superNextIcon
和superPrevIcon
。#31703 @Oreoz - 🐞 修复 RangePicker 的
defaultPickerValue
不生效的问题。#32107 @thommesZip
- 🆕
- Notification
- 🆕 Notification 支持
maxCount
属性以限制最大显示数。#31807 @binyellow - 🐞 修复多次调用 Notification 时
closeIcon
配置无法覆盖的问题。#32359 @KAROTT7
- 🆕 Notification 支持
- 🆕 增加 Menu.Divider 的
dashed
属性。#31379 @Map1en - 🆕 Skeleton.Button 添加
block
属性。#30902 @Jehu - 🆕 Popconfirm 组件的
onConfirm
允许返回一个 Promise。#30871 @wendellhu95 - 🐞 修复 Card 设置
tabs
后当tabPosition: 'left'
时的样式问题。#32695 - 🐞 修复 Radio
type
属性被覆盖导致无法点击的问题。#32463 - 🐞 修复英文国际化文案
Ok
为OK
。#32259 @chj-damon - 🐞 修复 Switch
loading
按钮位置不正确的问题。#32216 - 🐞 修复 Grid Col
flex
在内容过长的时候缩放失效的问题。#32160 - 🐞 修复调用
message.useMessage
时未使用 ConfigProvider 中的getPopupContainer
返回元素作为容器的问题。#31939 @DaoxingHuang - 💄 优化 Image 在小尺寸下省略预览文本。#29900 @drizzlesconsin
- 🐞 修复 Alert
message
为空时 dom 节点还在的问题。#32057 - 🐞 修复 Anchor 组件包含空格时
targetOffset
属性不生效的问题。#31952 @adaex - 💄 新增 Less 变量
@checkbox-border-radius
。#31360 @Gherciu - 🐞 Avatar 增加
crossOrigin
参数以解决跨域问题。#31273 @Map1en - RTL
- 🌐 国际化
- TypeScript
- 🤖 修改 Spin
tip
的类型为 ReactNode。#32733 @tychenjiajun - 🤖 修复 Message duration 类型定义。#32524 @chen-jingjie
- 🤖 修复 ConfigProvider 中
getPopupContainer
的参数类型。#32406 @mtadams007 - 🐞 修复 Table 丢失泛型定义。#32358
- 🤖 修复 Switch
id
属性定义。#32237 @M-ZubairAhmed - 🤖 修复 Button 的
type
的 TS 类型定义。#32004 @jaredleechn - 🤖 完备 Pagination 的
locale
TS 类型定义。[#32128 @JounQin - 🤖 完善并导出 DropdownButton 的
DropdownButtonType
TS 类型定义。 [#31957 @Dreamerryao - 🤖 调整 List 组件
rowKey
类型为 React.key。#32033 @lironhl - 🐞 修复 DatePicker
ref
类型。#31993 @acfasj - 🤖 更新 Drawer 中
levelMove
类型定义。#30714 @g0shed
- 🤖 修改 Spin