Skip to content

antd 2.5.0

2016-11-25

  • Change the default theme to Alipay style and improve lots of style details.
  • Supports server-side rendering. (Mention will throw warning for draft-js' issue)
  • Introduce Jest Snapshot to test the structure of components and SSR issues.
  • Improve official website and documentation.
  • Add document for customizing theme.
  • Add Sketch template files.
  • LocaleProvider supports Brazilian. #4004 @nathantn
  • DatePicker
    • DatePicker can determine whether to show "Today" button. commit
    • RangePicker can set presetted ranges. demo
    • Fix "Now" button doesn't work while DatePicker[showTime] is set. #3748
    • Fix RangePicker[format] should work. #3808
  • Add and update some icons. #3977
  • New component Input.Search. demo
  • Mention onSelect event will get complete record. #3867
  • Pagination can get current range. demo
  • Table
    • We can control the visible of customized filterDropdown. demo
    • Supports JSX-style columns. demo
    • Can listen the click event of table cell. #3774
    • Fix border radius of head of border-less table.
    • Fix that height of title and footer don't follow Table[size]. commit
    • Fix issue with selected status. #3900
  • Upload
    • Fix that children could not be null.
    • Fix logic of preview. commit
  • Fix z-index of Badge. #3898
  • Fix alignment of multi-line Checkbox. #3971 @flashback313
  • Fix alignment of InputNumber while using with other form controls. #3866(comment)
  • Fix style of Menu.Divider. #3813
  • Fix that Popover should support Checkbox and Radio as children. #3455
  • Fix height of Select[combobox]. #3855
  • Fix style of actived Switch. #3838
  • Fix that Transfer doesn't show "Not Found" while there is no search result. #3996
  • Fix style of placeholder of TreeSelect. #3841
  • Fix compile errors in TypeScript. #3969 @AlbertZheng
  • Fix that feedback icon should not affect users' operation. #3891

  • 默认主题风格修改为支付宝钱包风格,及大量样式优化。
  • 支持服务端渲染。(Mention 会因为 draft-js 的问题有 warning)
  • 引入 Jest Snapshot 测试组件结构及服务端渲染问题。
  • 官网及文档优化。
  • 新增自定义主题的 文档
  • 新增 Sketch 资源文件
  • LocaleProvider 新增巴西语支持。#4004 @nathantn
  • DatePicker
    • DatePicker 现在可以决定是否展示 “今天” 按钮。commit
    • RangePicker 现在可以自定义快捷选择。demo
    • 修复 DatePicker 设置 showTime 后 “此刻” 按钮失效的问题。#3748
    • 修复 RangePicker[format] 失效的问题。#3808
  • 新增并优化部分 Icon。#3977
  • 新增 Input.Search 控件。demo
  • Mention onSelect 事件现在可以获取完整的数据。#3867
  • Pagination 现在支持展示当前页的索引范围。demo
  • Table
    • 自定义筛选的显示隐藏现在可以通过代码控制。demo
    • 支持 JSX 风格的方式设置 columns。demo
    • 现在可以监听单元格的点击事件。#3774
    • 修复无边框 Table 头部的圆角样式问题。
    • 修复 title 和 footer 高度不随 Table[size] 变化的问题。commit
    • 修复选中状态出错的问题。#3900
  • Upload
    • 修复 children 不能为 null 的问题。
    • 修复预览逻辑的问题。commit
  • 修复 Badge 会覆盖其他组件的问题。#3898
  • 修复多行 Checkbox 样式不对齐的问题。#3971 @flashback313
  • 修复 InputNumber 与其它表单控件不对齐的问题。#3866(comment)
  • 修复 Menu.Divider 样式问题。#3813
  • 修复 Popover 直接内嵌 Checkbox 和 Radio 无效的问题。#3455
  • 修复 Select combobox 高度异常问题。#3855
  • 修复 Switch actived 后的样式问题。#3838
  • 修复 Transfer 搜索无结果时不展示 “Not Found” 提示的问题。#3996
  • 修复 TreeSelect 占位符的样式问题。#3841
  • 修复 TypeScript 编译报错的问题。#3969 @AlbertZheng
  • 修复表单反馈图标影响用户操作的问题。#3891