npm antd 5.6.0

latest releases: 5.17.2, 5.17.1, 5.17.0...
11 months ago

  • 🆕 ColorPicker 添加 onClear 属性,清除选中颜色时不自动关闭弹窗。#42634 @linxianxi
  • 🆕 Collapse 支持通过 items 属性来配置面板内容。#42545 @kiner-tang
  • 🆕 新增静态方法 getDesignToken 用于获取完整的主题 token。#42723 @MadCcc
  • 🆕 ConfigProvider 支持配置 Space 组件的 classNamesstyles 属性。#42748 @RedJue
  • 🆕 Space 组件支持 classNamesstyles 属性。#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 组件 colorTextHeadingcolorText 误用问题。#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 与 Tab items 对齐。#42413
  • 🐞 修复循环依赖问题。
  • ⌨️ 增强 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 变量

Don't miss a new antd release

NewReleases is sending notifications on new releases.