5.6.0
版本发布时间: 2023-06-06 22:13:23
ant-design/ant-design最新发布版本:5.20.6(2024-09-09 16:10:29)
- 🆕 ColorPicker add
onClear
and dont't close panel when clearing. #42634 @linxianxi - 🆕 Collapse
items
to support configure panel content. #42545 @kiner-tang - 🆕 Add static function
getDesignToken
to access full Design Token. #42723 @MadCcc - 🆕 ConfigProvider support configure Space
classNames
andstyles
properties. #42748 @RedJue - 🆕 Space support
classNames
andstyles
properties. #42743 @RedJue - 🆕 Drawer panel support event listener. Wrapper support passing
data-*
props. #42718 @kiner-tang - 🆕 ConfigProvider support configuring Button
style
/className
/styles
/classNames
. #42623 @LuZhenJie1999 - 🆕 Pagination size change select component is searchable now. #42608
- 🆕 QRCode support render svg. #42570 @sy296565890
- 🆕 Calendar support passing
panelMode
as the select source type to the internal select trigger callback to use the correct source type when called. #42459 @bombillazo - 🆕 Select add
groupLabel
prop infieldNames
to refleact title of group. #42492 @BoyYangzai - 🆕 Table add support for custom sort icon of table column. #42498 @sawadyecma
- 🆕 DatePicker support
kk:mm
format. #42494 @cooljser - 🆕 ConfigProvider.config support
theme
for static method config. #42473 - 🆕 Calendar
onSelect
supportinfo.source
param to help get select source. #42432 - 💄 Optimize ColorPicker style in dark theme. #42827 @RedJue
- 💄 Fix Popconfirm, Alert and Notification that
colorTextHeading
andcolorText
usage. #42839 @MadCcc - 💄 Fix Divider style problem. #42797 @kongmingLatern
- 🐞 Fix Image.PreviewGroup not reset image state when switch it. #42793 @linxianxi
- 🐞 Reduce bundle size by refactor via
rc-util/lib/pickAttrs
. Fix RatefindDOMNode is deprecated
warning in StrictMode. #42688 - 🐞 Rate could accept
id
data-*
aria-*
role
onMouseEnter
onMouseLeave
attributes now, so that it can be wrapped by Tooltip component. #42676 - 🐞 Fix Menu.Submenu not aligned in horizontal mode. #42648 @MadCcc
- 🐞 Align Card
tabList
API with Tabitems
. #42413 - 🐞 Fix circular dependencies.
- 🐞 Fix Modal circular dependency issue. #42841 @kiner-tang
- 🐞 Fix Space circular dependency issue. #42811 @kiner-tang
- 🐞 Fix Statistic circular dependency issue. #42814 @kiner-tang
- 🐞 Fix List circular dependency issue. #42806 @kiner-tang
- 🐞 Fix Dropdown circular dependency issue. #42764 @Dunqing
- ⌨️ Improve Progress accessibility by adding more
aria
props. #42704 @MehmetYararVX - ⌨️ Notification add role
props
. #42484 @guan404ming - 🛠 Collapse use
onKeyDown
instead ofonKeyPress
to change collapse panel active state. #42592 @kiner-tang - 🛠 Refactor Menu with
@rc-component/trigger
. Removerc-trigger
and reduce bundle size. #42554 @MadCcc - 🛠 Table rename
sorterOrder
tosortOrder
for arguement ofsortIcon
. #42519 @sawadyecma - Component Token Migration. For more info: Migrate less variables
- 🛠 Rename Menu component token with new naming standard. #42848 @MadCcc
- 🛠 Migrate Radio less variables. #42050 @Yuiai01
- 🛠 Migrate Image less variables. #42048 @guan404ming
- 🛠 Migrate Tooltip less variables. #42046 @guan404ming
- 🛠 Migrate Transfer less variables. #42431 @heiyu4585
- 🛠 Migrate Tabs less variables. #42186 @heiyu4585
- 🛠 Migrate Card less variables. #42061 @heiyu4585
- 🛠 Migrate Mentions less variables. #42711 @heiyu4585
- 🛠 Migrate Avatar less variables. #42063 @heiyu4585
- 🛠 Migrate Pagination less variables. #42330 @heiyu4585
- 🛠 Migrate Popover less variables. #42337 @heiyu4585
- 🛠 Migrate Tag less variables. #42053 @heiyu4585
- 🛠 Migrate List less variables. #42041 @jrr997
- 🛠 Migrate Dropdown less variables. #42258 @poyiding
- 🛠 Migrate Timenline less variables. #42491 @jrr997
- 🛠 Migrate Anchor less variables. #42141 @MuxinFeng
- 🛠 Migrate Carousel less variables. #42157 @MuxinFeng
- 🛠 Migrate Upload less variables. #42042 @jrr997
- 🛠 Migrate Typography less variables. #42442 @jrr997
- 🛠 Migrate Segmented less variables. #42136 @kiner-tang
- 🛠 Migrate Checkbox less variables. #42097 @poyiding
- 🛠 Migrate Skeleton less variables. #42134 @kiner-tang
- 🛠 Migrate Breadcrumb less variables. #42342 @heiyu4585
- 🛠 Migrate Calendar less variables. #42194 @MuxinFeng
- 🛠 Migrate Rate less variables. #42135 @MuxinFeng
- 🛠 Migrate Descriptions less variables. #42038 @jrr997
- 🆕 ColorPicker 添加
onClear
属性,清除选中颜色时不自动关闭弹窗。#42634 @linxianxi - 🆕 Collapse 支持通过
items
属性来配置面板内容。#42545 @kiner-tang - 🆕 新增静态方法
getDesignToken
用于获取完整的主题 token。#42723 @MadCcc - 🆕 ConfigProvider 支持配置 Space 组件的
classNames
和styles
属性。#42748 @RedJue - 🆕 Space 组件支持
classNames
和styles
属性。#42743 @RedJue - 🆕 Drawer 抽屉面板支持事件监听,包裹元素支持传入
data-*
属性。#42718 @kiner-tang - 🆕 ConfigProvider 支持自定义 Button 的
style
/className
/styles
/classNames
。#42623 @LuZhenJie1999 - 🆕 Pagination 的页码选择器可以进行搜索了。#42608
- 🆕 QRCode 支持渲染 svg。#42570 @sy296565890
- 🆕 Calendar 支持将
panelMode
作为选择源类型传递给内部选择触发器回调,以便在调用时使用正确的源类型。#42459 @bombillazo - 🆕 Select
fieldNames
新增groupLabel
字段映射分组标题。#42492 @BoyYangzai - 🆕 Table 添加对列自定义排序图标的支持。#42498 @sawadyecma
- 🆕 DatePicker 支持
kk:mm
格式的format
以支持显示 24:00。#42494 @cooljser - 🆕 ConfigProvider.config 新增
theme
支持配置静态方法主题。#42473 - 🆕 Calendar
onSelect
支持info.source
参数以获取选择来源。#42432 - 💄 优化 ColorPicker 组件在暗黑模式下的样式。#42827 @RedJue
- 💄 修复 Popconfirm、Alert 和 Notification 组件
colorTextHeading
和colorText
误用问题。#42839 @MadCcc - 💄 修复 Divider 组件的样式问题。#42797 @kongmingLatern
- 🐞 修复 Image.PreviewGroup 预览时图片切换后状态没有重置的问题。#42793 @linxianxi
- 🐞 统一使用
rc-util/lib/pickAttrs
以节省包体积。修复 Rate 组件在 StrictMode 下findDOMNode is deprecated
警告信息。#42688 - 🐞 Rate 组件支持传入
id
data-*
aria-*
role
onMouseEnter
onMouseLeave
等属性,修复不支持 Tooltip 包裹的问题。#42676 - 🐞 修复 Menu 组件横向模式下子菜单没有对齐的问题。#42648 @MadCcc
- 🐞 将 Card
tabList
的 API 与 Tabitems
对齐。#42413 - 🐞 修复循环依赖问题。
- 🐞 修复 Modal 组件循环依赖问题。#42841 @kiner-tang
- 🐞 修复 Space 组件循环依赖问题。#42811 @kiner-tang
- 🐞 修复 Statistic 组件循环依赖问题。#42814 @kiner-tang
- 🐞 修复 List 组件循环依赖问题。#42806 @kiner-tang
- 🐞 修复 Dropdown 组件循环依赖问题。#42764 @Dunqing
- ⌨️ 增强 Progress 可访问性表现,添加
aria
属性。#42704 @MehmetYararVX - ⌨️ Notification 添加
role
属性。#42484 @guan404ming - 🛠 Collapse 使用
onKeyDown
替代onKeyPress
来改变折叠面板的激活状态。#42592 @kiner-tang - 🛠 使用
@rc-component/trigger
重构 Menu 组件。移除rc-trigger
依赖,缩小打包体积。#42554 @MadCcc - 🛠 Table 组件将
sorterOrder
重命名为sortOrder
用于sortIcon
的参数。#42519 @sawadyecma - 组件 Token 迁移,更多详情请查看文档:迁移 less 变量
- 🛠 使用新的命名标准重命名 Menu 组件 token。#42848 @MadCcc
- 🛠 迁移 Radio 组件 less 变量。#42050 @Yuiai01
- 🛠 迁移 Image 组件 less 变量。#42048 @guan404ming
- 🛠 迁移 Tooltip 组件 less 变量。#42046 @guan404ming
- 🛠 迁移 Transfer 组件 less 变量。#42431 @heiyu4585
- 🛠 迁移 Tabs 组件 less 变量。#42186 @heiyu4585
- 🛠 迁移 Card 组件 less 变量。#42061 @heiyu4585
- 🛠 迁移 Mentions 组件 less 变量。#42711 @heiyu4585
- 🛠 迁移 Avatar 组件 less 变量。#42063 @heiyu4585
- 🛠 迁移 Pagination 组件 less 变量。#42330 @heiyu4585
- 🛠 迁移 Popover 组件 less 变量。#42337 @heiyu4585
- 🛠 迁移 Tag 组件 less 变量。#42053 @heiyu4585
- 🛠 迁移 List 组件 less 变量。#42041 @jrr997
- 🛠 迁移 Dropdown 组件 less 变量。#42258 @poyiding
- 🛠 迁移 Timeline 组件 less 变量。#42491 @jrr997
- 🛠 迁移 Anchor 组件 less 变量。#42141 @MuxinFeng
- 🛠 迁移 Carousel 组件 less 变量。#42157 @MuxinFeng
- 🛠 迁移 Upload 组件 less 变量。#42042 @jrr997
- 🛠 迁移 Typography 组件 less 变量。#42442 @jrr997
- 🛠 迁移 Segmented 组件 less 变量。#42136 @kiner-tang
- 🛠 迁移 Checkbox 组件 less 变量。#42097 @poyiding
- 🛠 迁移 Skeleton 组件 less 变量。#42134 @kiner-tang
- 🛠 迁移 Breadcrumb 组件 less 变量。#42342 @heiyu4585
- 🛠 迁移 Calendar 组件 less 变量。#42194 @MuxinFeng
- 🛠 迁移 Rate 组件 less 变量。#42135 @MuxinFeng
- 🛠 迁移 Descriptions 组件 less 变量。#42038 @jrr997