Skip to content

antd 2.12.0

  • Add Card noHovering and Card.Grid. pull/6748
  • DatePicker, MonthPicker, RangePicker now support className prop. pull/6584 @EnrikoLabriko
  • Add Input.Textarea, Input[type='textArea'] will be deprecated. pull/6138
  • LocaleProvider supporting Thai. pull/6721 @koobitor
  • Mention support focus function. #6135
  • Menu[mode='inline'] could be collapsed, and use context to pass collapsed prop from Layout.Sider to Menu, don't need customized css code anymore. pull/6686
  • Add Pagination itemRender, now you can customize the structure of page number. 25a603
  • Add Tooltip autoAdjustOverflow prop, now the auto adjust feature can be disabled. pull/6661 @jdz321
  • Fix errors in docs of Avatar. pull/6711 @llaski
  • DatePicker
  • Form
    • Fix formItem extra content line height. #6618
    • Fix FormItem labelCol wrapperCol type definitions. pull/6611 @newraina
  • Fix autosize Input.Textarea scrollbar style issue. #6609
  • Add missing TypeScript definition of precision in InputNumber. #6715
  • Fix Select overflow issue. #6621
  • Slider
  • Fix Spin z-index issue. #6759
  • Fix nested Steps style issue. #6754
  • Table
  • Improve TimePicker format support. 950c32
  • Make style improvement or tweaking for many components, includes CheckboxRadioTabsCard and etc.
  • Now you can open demo in codepen. #5140

  • 新增 Card noHovering 属性以及 Card.Grid 组件。pull/6748
  • DatePicker、MonthPicker、RangePicker 支持 className 属性。pull/6584 @EnrikoLabriko
  • 新增 Input.TextArea,原 Input[type='textArea'] 将被废弃。pull/6138
  • LocaleProvider 新增泰语支持。pull/6721 @koobitor
  • Mention 支持 focus 方法。#6135
  • Menu[mode='inline'] 支持缩起/展开,同时 Layout.Sider 使用 context 向 Menu 传递 collapsed 属性,无需再自己定制样式。pull/6686
  • 新增 Pagination itemRender 属性,用于自定义页码的结构。25a603
  • 新增 Tooltip autoAdjustOverflow 属性,支持关闭自动调整位置的功能。pull/6661 @jdz321
  • 修复了 Avatar 错误的文档。pull/6711 @llaski
  • DatePicker
  • Form
    • 修复 FormItem extra 文案的行高问题。#6618
    • 修复 FormItem labelCol wrapperCol 类型定义。pull/6611 @newraina
  • 修复自适应高度的 Input 文本域出现滚动条的问题。#6609
  • 补充了 InputNumber 中缺失的 precision 类型定义。#6715
  • 修复 Select 样式溢出的问题。#6621
  • Slider
  • 修复 Spin 遮罩层被穿透的样式问题。#6759
  • 修复嵌套 Steps 的样式问题。#6754
  • Table
    • 修复了固定头部 Table 中展开区域的背景色样式问题。#6657
    • 补充了 Table 文档中缺失的 onRowDoubleClick 属性。pull/6667 @yurtaev
    • 补充了 Table 文档中 loading 属性的说明。pull/6763 @hansnow
    • rc-table 升级至 5.4.0,新增对 onRowMouseEnteronRowMouseLeave 的支持。rc-table/0db582
  • 优化了 TimePicker 的格式支持。950c32
  • 对大量组件的样式进行了优化或微调,包括 CheckboxRadioTabsCard 等等。
  • Demo 现在可以在 codepen 中打开。#5140