Skip to content

antd 3.11.0

3.11.0 brings two new Components, a lot of exciting changes and new features.

  • 🔥 Added a new component Comment. #12770 @ilanus
  • 🔥 Added a new component ConfigProvider for user to customize some global setting. #12991 Component Fixes / Enhancements:
  • 🌟 Avatar Added srcSet prop that is a list of sources to use for different screen resolutions. #12525 @philipodev
  • 🌟 Upgrade rc-notification to 3.3.0, Notification Added onClick prop that is called when the notification is clicked. #11832
  • Transfer
    • 🌟 Added onSearch prop that is executed when search field are changed and deprecated onSearchChange. #12422
    • 🌟 Added disabled prop that whether disable transfer. #13330
  • 🌟 Refactor Badge, support count as custom component. #12140 @supra28
  • 🌟 Slider Added tooltipVisible prop that whether Tooltip will always show. #12915 @zy410419243
  • 🌟 Support custom font-variant style through less variable @font-variant-base. #12691 @neemski
  • Table upgrade rc-table to 6.4.0
    • 🌟 Added expandIcon prop that custom the default expand icon. #236 @kagd
    • 💄 Support data-*aria-* attributes. #227 @kagd
    • 🌟 onCell added index prop. #222 @yoyo837
  • Select upgrade rc-select to 8.6.0
    • 🌟 Added removeIconclearIconmenuItemSelectedIcon prop,allow setting removeclearmenuItemSelected custom icons. #12958 @kimochg
    • 🌟 Added dropdownRender prop that custom dropdown content. #10831
    • 🌟 Added loading prop that indicate loading state. #11225
  • 💄 Added title prop that Menu.Item support tooltip title when collapsed. #12952
  • Cascader upgrade rc-calendar to 9.8.0
    • 🌟 Support multiple date format. #437 @onlyann
    • 🌟 showSearch added limit prop that support limit filtered item count. #13206
  • 🌟 Added Hungarian locale. #13026 @ilanus
  • 🐞 Fix TextArea use resize observer to check textarea size. #13295
  • 🐞 Fix Tabs renderTabBar style error when tabPosition is left or right. #13118
  • 🐞 Fix Upload thumbnail icon broken styles. #13333

3.11.0 版本带来了两个新组件,还有很多激动人心的变化和新特性。

  • 🔥 增加了一个新组件 Comment#12770 @ilanus
  • 🔥 增加了一个新组件 ConfigProvider 为组件提供统一的全局化配置。#12991 组件修复/功能增强:
  • 🌟 Avatar 组件增加 srcSet 属性,用于设置图片类头像响应式资源地址。#12525 @philipodev
  • 🌟 Notification 组件升级 rc-notification3.3.0,增加 onClick 属性,点击通知时触发的回调函数。#11832
  • Transfer
    • 🌟 增加 onSearch 属性,搜索框内容时改变时的回调函数,并废弃 onSearchChange 属性。#12422
    • 🌟 增加 disabled 属性,用于禁用搜索框。#13330
  • 🌟 Badge 进行了重构,count 支持自定义组件。#12140 @supra28
  • 🌟 Slider 组件增加 tooltipVisible 属性,用于 Tooltip 是否始终显示。#12915 @zy410419243
  • 🌟 增加 less 变量 @font-variant-base 定制 font-variant 样式。#12691 @neemski
  • Table 升级 rc-table6.4.0
    • 🌟 增加 expandIcon 属性,用于自定义表格展开图标。#236 @kagd
    • 💄 支持 data-*aria-* 属性。#227 @kagd
    • 🌟 onCell 方法增加 index 参数。#222 @yoyo837
  • Select 组件升级 rc-select8.6.0
    • 🌟 增加 removeIconclearIconmenuItemSelectedIcon 属性,用于自定义删除、清空、选中的图标。#12958 @kimochg
    • 🌟 增加 dropdownRender 属性, 用于自定义下拉框内容。#10831
    • 🌟 增加 loading 属性, 用于展示加载中状态。 #11225
  • 💄 Menu.Item 组件增加 title 属性,用于在收缩时展示的悬浮标题。#12952
  • Cascader 升级 rc-calendar9.8.0
    • 🌟 支持多种时间格式。#437 @onlyann
    • 🌟 showSearch 方法增加 limit 参数,用于限制搜索结果展示数量。#13206
  • 🌟 增加匈牙利国际化文案。#13026 @ilanus
  • 🐞 修复 TextArea 组件高度不能自适应问题。#13295
  • 🐞 修复 Tabs 组件当 tabPosition 为 left 或 right 的时候,renderTabBar 样式问题。#13118
  • 🐞 修复 Upload 缩略图图标样式错误。#13333