Skip to content

antd 2.9.0

  • Change the default font family to be monospaced for numbers. b526083
  • Select
    • Add mode prop, deprecate the tags|combobox|multiple properties, replaced by mode={tags|combobox|multiple}.
    • tags|multiple now supports allowClear. #4843
  • Add a new type dashboard of Progress. #5225 @qiaolb
  • Add showLine prop of Tree, for connecting line style in tree nodes. #3854
  • TimePicker now supports 12 hours via use12Hours. #4063
  • Add column.filterIcon prop of Table, which can be used to customize filter icon. #5293
  • Add wrapperClassName prop of Spin. #5425 @aaronplanell
  • Add onPrevClick onNextClick props of Tabs. #4395
  • Add parser prop of InputNumber, to extract value from formatter. #5178
  • New locales support:
  • TypeScript
    • Fix definitions of Carousel following react-slick
    • Fix some definitions of Form.
    • Fix getPopupContainer definitions.
  • Allow to disable animation of inkBar and panes of Tabs separately. #5089 @xieguanglei
  • Button loading prop now supports like { delay: 1000 }, removed the default loading delay. #5365
  • Add less variables for Card header. #5354 @kossel
  • Fix extra separator of Breadcrumb without breadcrumbName.
  • Fix Unknown prop placement warning of Dropdown.Button. #5594
  • Fix RangePicker and InputNumber placeholder color.
  • Fix that Cascader search can't use [Backspace]. #5340
  • Fix that LocaleProvider can't affect Modal.confirm sometimes. #5493 @hargasinski
  • Fix scroll animation of BackTop which specifies the target prop. #5564
  • Optimize the block style of Pagination. #5557

  • 默认字体中数字设为等宽,方便进行纵向比较。b526083
  • Select
    • 新增 mode 参数,废弃 tags|combobox|multiple 属性,使用 mode={tags|combobox|multiple} 来代替。
    • tags|multiple 模式现在支持配置 allowClear 清除按钮。#4843
  • Progress 新增 dashboard 仪表盘类型。#5225 @qiaolb
  • Tree 新增 showLine 属性,支持纵向连接线展示。#3854
  • TimePicker 支持 12 小时制:use12Hours#4063
  • Table 支持 column.filterIcon,支持使用自定义筛选菜单时自定义图标。#5293
  • Spin 新增 wrapperClassName,方便给包裹形态的加载条增加类名。#5425 @aaronplanell
  • Tabs 新增点击左右切换箭头的回调 onPrevClick onNextClick#4395
  • InputNumber 新增 parser 属性,用于有时指定了 formatter 时需要解析出数字。#5178
  • 国际化
  • TypeScript
    • 参照 react-slick 补充 Carousel 的定义。
    • 修复 Form 的部分定义。
    • 修正 getPopupContainer 定义。
  • 允许分开禁用 Tabs 的高亮条和面板的切换动画。#5089 @xieguanglei
  • Button 的 loading 属性支持 { delay: 1000 } 的形式,默认不再延迟切换状态 。#5365
  • 增加 Card 头部的 less 变量。#5354 @kossel
  • 修复 Breadcrumb 没有设置 breadcrumbName 时分隔符多余的问题。
  • 修复 Dropdown.Button 的 Unknown prop placement 警告信息。#5594
  • 修复 RangePicker 和 InputNumber 的占位文字颜色。
  • 修复 Cascasder 搜索模式下无法使用退格键的问题。#5340
  • 修复 LocaleProvider 有时对 Modal.confirm 失效的问题。#5493 @hargasinski
  • 修复 BackTop 设置了 target 时滚动动效消失的问题。#5564
  • 优化 Pagination 的样式实现。#5557