4.21.0
·
6010 commits
to master
since this release
- 🔥 Add Form level control input component
disabled
. #35210 @heiyu4585 - 🆕 Tabs support
popupClassName
for more Dropdown. #35892 - 🆕 Table
rowSelection.onChange
supportinfo.type
param. #35598 - 🆕 The
copyable
prop of Typography.Paragraph supports to reset the mime type of the clipboardData by theformat
. #35219 @kanweiwei - 🆕 TreeSelect support
treeExpandAction
. #35618 @NE-SmallTown - ConfigProvider
- Collapse
- Progress
- 🆕 Progress steps support custom strokeColor for each step. #35855
- 🛠 Refactor Progress
type="circle"
andtype="dashboard"
for simpler dom structure and better rendering. #35433 - 🛠 Refactor Progress to React hooks. #35393 @shuaijiumei
- 🐞 Fix Progress percent accuracy issue when near 100%. #35433
- 🐞 Fix Progress
gapDegree
displayed with wrong degree whentype="dashboard"
. #35433 - 💄 Fix Progress border radius style when
type="line"
andstrokeLinecap="butt"
. #35822
- Dropdown
- Card
- 🛠 Refactor Card
loading
with Skeleton. #35525 - 🛠 Refactor Card style to use flex instead of float. #35236 @miracles1919
- 🛠 Refactor Card
- 🛠 DatePicker refactored to React hooks. #35425 @heiyu4585
- 🛠 Rename className of Pagination
mini
mode withant-pagination-mini
. #35881 - 🛠 Refactor Popconfirm internal realize with Popover component. #35676
- 🛠 Change the implementation of the bottom button layout of the Modal confirm component. #35530 @foryuki
- 🐞 Fix the Wave effect does not work in React 18 strict mode. #35889 @Carrotzpc
- 🐞 Fix Drawer close twice
children
will undefined. #35853 @crazyair - Skeleton
- 💄 Remove Skeleton default
margin-top
style. #35848 - 💄 Optimize Skeleton
active
animation perfermance. #35836 @slotDumpling
- 💄 Remove Skeleton default
- 💄 Remove
!important
in Radio style withdisabled
. #35920 - TypeScript
- 🤖 Fix Form.List type
FormListFieldData
missing propertyfieldKey
. #35884 @nanianlisao
- 🤖 Fix Form.List type
- 🌐 Localization
- 🇹🇲 Add a new locale
tk_TK
. #35605
- 🇹🇲 Add a new locale
- RTL
- 🔥 新增 Form 级别控制输入组件
disabled
。#35210 @heiyu4585 - 🆕 Tabs 组件支持
popupClassName
用于更多菜单。#35892 - 🆕 Table 组件
rowSelection.onChange
新增info.type
参数。#35598 - 🆕 Typography.Paragraph 的
copyable
属性支持format
以重置剪切板数据的 Mime Type。#35219 @kanweiwei - 🆕 TreeSelect 支持
treeExpandAction
定义展开操作。 #35618 @NE-SmallTown - ConfigProvider
- Collapse
- Progress
- 🆕 Progress 分步进度条支持单独自定义色彩。#35855
- 🛠 重构 Progress
type="circle"
和type="dashboard"
以简化 dom 结构和带来更好的渲染效果。#35433 - 🛠 重构 Progress 成 React hooks。#35393 @shuaijiumei
- 🐞 修复 Progress 进度接近 100% 间距几乎消失的问题。#35433
- 🐞 修复 Progress
type="dashboard"
的gapDegree
角度不准确的问题。#35433 - 💄 修复 Progress
type="line"
和strokeLinecap="butt"
时的圆角样式。#35822
- Dropdown
- Card
- 🛠 使用 Skeleton 重构 Card
loading
属性。#35525 - 🛠 重构 Card 样式用 flex 代替 float。#35236 @miracles1919
- 🛠 使用 Skeleton 重构 Card
- 🛠 DatePicker 重构成 React hooks。#35425 @heiyu4585
- 🛠 将 Pagination
mini
模式的 className 重命名为ant-pagination-mini
。#35881 - 🛠 重构 Popconfirm 内部实现为 Popover 组件。#35676
- 🛠 改变 Modal confirm 组件底部按钮布局实现方式。#35530 @foryuki
- 🐞 修复波浪效果在 React 18 严格模式不生效的问题。#35889 @Carrotzpc
- 🐞 修复 Drawer 关闭 2 次后
children
为 undefined 的问题。#35853 @crazyair - Skeleton
- 💄 移除 Skeleton 默认的
margin-top
以便在默认情况下更对称。#35848 - 💄 优化 Skeleton
active
的动画性能。#35836 @slotDumpling
- 💄 移除 Skeleton 默认的
- 💄 移除 Radio 禁用状态时样式中的
!important
。#35920 - TypeScript
- 🤖 修复 Form.List 类型
FormListFieldData
缺失属性fieldKey
。#35884 @nanianlisao
- 🤖 修复 Form.List 类型
- 🌐 国际化
- 🇹🇲 添加土库曼语国际化。#35605
- RTL