5.15.0
版本发布时间: 2024-03-02 23:54:56
ant-design/ant-design最新发布版本:5.20.6(2024-09-09 16:10:29)
- ConfigProvider
- 🆕 ConfigProvider support Input.TextArea
allowClear
autoComplete
className
style
classNames
styles
props. #47589 - 🆕 ConfigProvider support Input
allowClear
props. #47602 - 🆕 ConfigProvider support Menu
expandIcon
props. #47561 - 🆕 ConfigProvider support Collapse
expandIcon
props. #47473 - 🆕 ConfigProvider support Tabs
removeIcon
props, when settype="editable-card"
. #47334 - 🆕 Prefixes for CSS variables follow the
prefixCls
property of ConfigProvider by default. #47481 - 🤖 CardProps
styles
in ConfigProvider is set to optional. #47601 @Yawenina
- 🆕 ConfigProvider support Input.TextArea
- 🆕 Select、Checkbox、Radio、DatePicker、TreeSelect、Cascader the
focus
supports passingoptions
. #47664 - 🆕 Modal support configuring
aria-*
inclosable
. #47650 - 🆕 Alert support configuring
aria-*
inclosable
. #47474 - 🆕 Tabs support
removeIcon
props, when settype="editable-card"
. #47334 - Drawer
- Table
- 🆕 Table adds
filterOnClose
to specify whether to trigger filtering when the filter menu is closed. #47451 @xsjcTony - 🆕 Table adds
components.header.table
to customize the header component when scrolling the column. #47382 - 🐞 Fix the issue where scroll bars would not be displayed during initial rendering under Table
sticky
. #47382 - 🐞 Fix the issue where the
th
element is not used in the column header when Tablecolumn.title
is empty. #47382 - 🐞 Fix the issue where
prefixCls
is invalid when Table uses a virtual list. #47639 - 💄 Fix abnormal shadow display when Table fixed columns. #47518
- 🆕 Table adds
- 🐞 Fix the issue where when using DirectoryTree in Tree, pressing shift for continuous multi-selection will report an error. #47567 @wkmyws
- 🐞 Fix the issue where
isFieldsTouched(true)
always returnsfalse
when Form exists in Form.List. #47629 @lemonied - 🐞 Fix the issue of Button being incompatible with v4
type=''
. #47612 - 🛠 Refactor Typography to omit measurement logic to support dynamic row height scenarios. #47597
- 💄 Remove redundant margin styles from Tag. #47504
- 🤖 MISC: fix an issue that could not be compiled under pnpm configuration
hoist: false
. #47587
- ConfigProvider
- 🆕 ConfigProvider 支持 Input.TextArea 组件
allowClear
、autoComplete
、className
、style
、classNames
、styles
属性。#47589 - 🆕 ConfigProvider 支持 Input 组件
allowClear
属性。#47602 - 🆕 ConfigProvider 支持 Menu 组件
expandIcon
属性。#47561 - 🆕 ConfigProvider 支持 Collapse 组件
expandIcon
属性。#47473 - 🆕 ConfigProvider 支持 Tabs
removeIcon
属性, 在设置type="editable-card"
时有效。#47334 - 🆕 CSS 变量的前缀默认跟随 ConfigProvider 的
prefixCls
属性。#47481 - 🤖 ConfigProvider 中 CardProps
styles
设为可选。#47601 @Yawenina
- 🆕 ConfigProvider 支持 Input.TextArea 组件
- 🆕 Select、Checkbox、Radio、DatePicker、TreeSelect、Cascader 支持
focus
功能支持传递options
。#47664 - 🆕 Modal 支持在
closable
中配置aria-*
。#47650 - 🆕 Alert 支持在
closable
中配置aria-*
。#47474 - 🆕 Tabs 组件支持
removeIcon
属性,在设置type="editable-card"
时有效。#47334 - Drawer
- Table
- 🐞 修复 Tree 使用 DirectoryTree 时,按住 shift 连续多选报错的问题。#47567 @wkmyws
- 🐞 修复 Form 存在 Form.List 时,
isFieldsTouched(true)
始终会返回false
的问题。#47629 @lemonied - 🐞 修复 Button 不兼容 v4
type=''
的问题。#47612 - 🛠 重构 Typography 省略测量逻辑以支持动态行高的场景。#47597
- 💄 移除 Tag 组件多余的 margin 样式。#47504
- 🤖 杂项:修复不能在 pnpm 配置
hoist: false
下编译的问题。#47587