onRowClick
。
#1470
Option is not defined
的问题。
#1521
2016-04-13
selectedRowKeys
控制的问题。
#1346
2016-03-29
z-index
,并增加了对应的 less 变量。
2016-03-18
Axure Components
和
Axure Box
。
2016-03-16
语言
部分。
onConfirm
和
onCancel
时没有触发
onVisibleChange
的问题。
showCheckedStrategy
属性,支持回填数据的不同展示方式。
align
属性的文档。
z-index
丢失的问题。
z-index
太低的问题。
pageSize
没有触发
onChange
的问题。
#1206
rowKey
时导致
rowSelection.onChange
的
selectedRows
参数为空的问题。
2016-03-11
notFoundContent
。
searchPlaceholder
使用了
placeholder
的值的问题。
margin-bottom
。
#1141
style
设置错误的问题。
2016-03-06
heart
calculator
图标。
showHeader
和
footer
属性。
maskClosable
属性。
treeDefaultExpandAll
默认属性设为 false,并优化了性能。
2016-03-03
rowSelect.onSelectAll
的第三个参数
deselectedRows
为
changeRows
,记录每次变化的列。
2016-03-02
defaultPageSize
属性。
#1087
0.11
,修复自动播放有时会失效的问题。
#1009
null
时报错的问题。
rowSelect.onSelectAll
补充了第三个参数
deselectedRows
,
rowSelect.onChange
补充了第二个参数
selectedRows
。
#1105
2016-02-25
showTotal
属性。
#1077
allowClear
属性,允许隐藏清除按钮。
2016-02-22
2016-02-19
确定
按钮失效样式。
2016-02-19
确定
按钮,现在只有点击
确定
按钮才会触发 onChange 事件。
0.10
。
2016-02-03
[email protected]
、
[email protected]
、
[email protected]
。
getCalendarContainer
属性,用于解决问题
#991
。
onCancel
的参数为点击事件。
#980
onOk
一直不可用的问题。
2016-02-01
activeKey
修正为受控属性。
combobox
模式时,可配置是否默认选中第一项。
rc-select#38
onRowClick
。
dataSource
和变换页面时不再默认清除选择数据,你可以用
selectedRowKeys
手动控制。
原来默认清除的行为会触发一个数据更新的死循环,而且难以实现跨页选择。
href
属性,默认标签名从
a
改为
span
。
onExpand
。
onCheck
onSelect
参数调整。
onDataLoaded
改为
loadData
。
onDragStart
onDragEnter
onDragOver
onDragLeave
onDrop
disableCheckbox
isLeaf
onChange
增加参数。
#972
format
对浮层不生效问题。
#917
value
为
null
时没有进入受控模式的问题。
headers
设置上传头部。
format
属性现在支持自定义 function 的方式进行定义。
#893
format
指定 string 和 React.Node 的方式被废弃。
style
属性。
#895
4px
。
router
属性,无需设置。
2016-01-19
pagination.onChange
指定无效的问题。
#824
2015-01-03
rowSelection.onChange
和
rowSelection.selectedRowKeys
,完善选择功能。
0.11.1
版本 menu 内嵌型菜单(inline)选中后关闭的问题。
0.11.1
版本对 React 版本要求太严的问题,对应的警告提示对于
0.14.x
将不再出现。
2015-12-29
2015-12-28
6px
。
type="warn"
图标修改。
Dropdown.Button
。
演示
Menu.ItemGroup
用于把菜单项分组。
keyPath
数据,可用于制作手风琴类型的菜单。
99+
的数字。
演示
onAfterChange
事件。
演示
tipFormatter={null}
可以隐藏
Tooltip
。
visible
属性,使其可以控制是否显示。
演示
ref
引起的报错。
Checkbox.Group
,现可以方便的
生成一组选择框
tabPosition="top|right|bottom|left"
。
animation
属性,并在
tabPosition="top|bottom"
时默认启用切换动画。
locale
结构发生了
变化
。
value
属性。
disabledHours
disabledMinutes
disabledSeconds
。
演示
hourOptions
minuteOptions
secondOptions
,新增
hideDisabled
属性用于替代。
showTime
的交互。
演示
dataSource
的远程模式。
onShowSizeChange
。
演示
cols
和
rows
属性失效的问题。
#694
className
的问题。
#711
beforeUpload
返回
false
后依然更新上传列表问题。
#757
antd build
为
atool-build
,重构并改善了 webpack 配置的自定义方式。
antd server
为
dora
,一个完全插件化的开发服务器,支持
代理转发和数据 Mock
、
atool-build
、
热替换
。
import {Button} from 'antd'
为
import Button from 'antd/lib/button'
。
[email protected]
,支持以上改动。
2015-11-26
antd/lib/index.css
(而非 less 文件),方便第三方引用。引用 less 文件进行变量配置的可自行
import 'antd/style/index.less'
。
#593
defaultCurrent
属性,修正原来的
current
为
完全受控属性
。
2015-11-25
tipFormatter
用于格式化 Tooltip 的内容。
multiple
为
true
时,未显示每个文件的上传进度。
breadcrumbName
会抛错。
size
className
时会有冲突。
2015-11-20
修改内部组件的引用结构,方便工具优化。 #566
antd.ButtonGroup
,依然用
const ButtonGroup = Button.Group
来使用。
Form 和 Input 目录分离,
import { Form, Input } from 'ant/lib/form'
的引用方式被废弃。
现在可以
import Form from 'ant/lib/form'
和
import Input from 'ant/lib/input'
。
原有的
import { Form, Input } from 'antd'
则不受影响。
修复 Datepicker 的
style
和
calendarStyle
属性失效的问题,并将
calendarStyle
更名为
popupStyle
。
2015-11-20
[email protected]
。
small
default
large
。
0.10
。
colSpan
和
rowSpan
配置。
演示
loading
属性。
filterMultiple
属性,支持单选的配置。
onChange
属性代替
onSelect
属性。
dots
代替了
withDots
属性,用
included
代替了
isIncluded
。
count
为 0 时不展示。
format
属性,能够自定义展示的进度文案。
confirmLoading
属性。
antd.Notification()
修正为
antd.notification()
。
2015-11-04
react@~0.13.3
。
2015-10-26
2015-09-26
[email protected]
。
2015-09-14
onChange(file) {}
接口,移出原来的
onSuccess
、
onProgess
、
onError
等接口。
fileList
和
defaultFileList
属性,以满足更多的自定义功能,具体见演示。
dataSource
无法更新的问题。
6d2dcc4
Modal.confirm()
代替
confirm()
方法。
2015-08-25
这个版本是第一个稳定版,组件经过三期迭代,基本到齐,并有大量改进和变化,不向下兼容。
menu
、
upload
、
carousel
、
tree
、
notification
、
validation
、
affix
、
alert
、
enterAnimation
。目前共有组件 34 个,基本能满足后台类项目的组件需求。
antd-bin
升级到
0.4.0
版本,支持合并 webpack 配置,热替换(HMR)等特性,
详见
。
2015-07-30
2015-07-27
2015-07-22
2015-07-21
layout
、
iconfont
、
button
、
form
、
checkbox
、
radio
、
switch
、
slider
、
input-number
、
datepicker
、
select
、
tabs
、
steps
、
breadcrumb
、
collapse
、
pagination
、
modal
、
message
、
dropdown
、
popover
、
popconfirm
、
tooltip
、
progress
、
table
等组件。