Skip to content

Commit

Permalink
chore(*): Release-1.13.5
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed Mar 7, 2019
1 parent ba10849 commit e08bbc6
Show file tree
Hide file tree
Showing 12 changed files with 323 additions and 294 deletions.
23 changes: 22 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
# Change Log
# Change Log

<a name="1.13.5"></a>
## [1.13.5](https://github.com/alibaba-fusion/next/compare/1.13.3...1.13.5) (2019-03-07)


### Bug Fixes

* **Collapse:** fix nested collapse icon ([7a6842a](https://github.com/alibaba-fusion/next/commit/7a6842a))
* **DatePicker:** date range picker select time error ([59eaa9c](https://github.com/alibaba-fusion/next/commit/59eaa9c))
* **Step:** step-item param of labelPlacement change update bug ([f0939af](https://github.com/alibaba-fusion/next/commit/f0939af))
* **Tab:** can't scroll when active item is inside view ([a8f4d18](https://github.com/alibaba-fusion/next/commit/a8f4d18))
* **Table:** extra lock columns when enough space && dataSource=[], close[#364](https://github.com/alibaba-fusion/next/issues/364) ([b9c2328](https://github.com/alibaba-fusion/next/commit/b9c2328))


### Features

* **NumberPicker:** consider [] as [.] ([8369b4a](https://github.com/alibaba-fusion/next/commit/8369b4a))
* **Upload:** add rtl support ([5505d6d](https://github.com/alibaba-fusion/next/commit/5505d6d))




<a name="1.13.4"></a>
## [1.13.4](https://github.com/alibaba-fusion/next/compare/1.13.3...1.13.4) (2019-02-28)
Expand Down
14 changes: 12 additions & 2 deletions LATESTLOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
# Latest Log
# Latest Log

## [1.13.4](https://github.com/alibaba-fusion/next/compare/1.13.3...1.13.4) (2019-02-28)
## [1.13.5](https://github.com/alibaba-fusion/next/compare/1.13.3...1.13.5) (2019-03-07)


### Bug Fixes

* **Collapse:** fix nested collapse icon ([7a6842a](https://github.com/alibaba-fusion/next/commit/7a6842a))
* **DatePicker:** date range picker select time error ([59eaa9c](https://github.com/alibaba-fusion/next/commit/59eaa9c))
* **Step:** step-item param of labelPlacement change update bug ([f0939af](https://github.com/alibaba-fusion/next/commit/f0939af))
* **Tab:** can't scroll when active item is inside view ([a8f4d18](https://github.com/alibaba-fusion/next/commit/a8f4d18))
* **Table:** extra lock columns when enough space && dataSource=[], close[#364](https://github.com/alibaba-fusion/next/issues/364) ([b9c2328](https://github.com/alibaba-fusion/next/commit/b9c2328))


### Features

* **NumberPicker:** consider [] as [.] ([8369b4a](https://github.com/alibaba-fusion/next/commit/8369b4a))
* **Upload:** add rtl support ([5505d6d](https://github.com/alibaba-fusion/next/commit/5505d6d))


80 changes: 40 additions & 40 deletions docs/balloon/index.md

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions docs/calendar/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ moment.locale('zh-cn');

### Calendar

| 参数 | 说明 | 类型 | 默认值 |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ----------------------- |
| defaultValue | 默认选中的日期(moment 对象) | custom | - |
| shape | 展现形态<br><br>**可选值**:<br>'card', 'fullscreen', 'panel' | Enum | 'fullscreen' |
| value | 选中的日期值 (moment 对象) | custom | - |
| showOtherMonth | 是否展示非本月的日期 | Boolean | true |
| defaultVisibleMonth | 默认展示的月份<br><br>**签名**:<br>Function() => void | Function | - |
| onSelect | 选择日期单元格时的回调<br><br>**签名**:<br>Function(value: Object) => void<br>**参数**:<br>_value_: {Object} 对应的日期值 (moment 对象) | Function | func.noop |
| onVisibleMonthChange | 展现的月份变化时的回调<br><br>**签名**:<br>Function(value: Object, reason: String) => void<br>**参数**:<br>_value_: {Object} 显示的月份 (moment 对象)<br>_reason_: {String} 触发月份改变原因 | Function | func.noop |
| dateCellRender | 自定义日期渲染函数<br><br>**签名**:<br>Function(value: Object) => ReactNode<br>**参数**:<br>_value_: {Object} 日期值(moment对象)<br>**返回值**:<br>{ReactNode} null<br> | Function | (value) => value.date() |
| monthCellRender | 自定义月份渲染函数<br><br>**签名**:<br>Function(calendarDate: Object) => ReactNode<br>**参数**:<br>_calendarDate_: {Object} 对应 Calendar 返回的自定义日期对象<br>**返回值**:<br>{ReactNode} null<br> | Function | - |
| disabledDate | 不可选择的日期<br><br>**签名**:<br>Function(calendarDate: Object) => Boolean<br>**参数**:<br>_calendarDate_: {Object} 对应 Calendar 返回的自定义日期对象<br>**返回值**:<br>{Boolean} null<br> | Function | - |
| 参数 | 说明 | 类型 | 默认值 |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | --------------------- |
| defaultValue | 默认选中的日期(moment 对象) | custom | - |
| shape | 展现形态<br><br>**可选值**:<br>'card', 'fullscreen', 'panel' | Enum | 'fullscreen' |
| value | 选中的日期值 (moment 对象) | custom | - |
| showOtherMonth | 是否展示非本月的日期 | Boolean | true |
| defaultVisibleMonth | 默认展示的月份<br><br>**签名**:<br>Function() => void | Function | - |
| onSelect | 选择日期单元格时的回调<br><br>**签名**:<br>Function(value: Object) => void<br>**参数**:<br>_value_: {Object} 对应的日期值 (moment 对象) | Function | func.noop |
| onVisibleMonthChange | 展现的月份变化时的回调<br><br>**签名**:<br>Function(value: Object, reason: String) => void<br>**参数**:<br>_value_: {Object} 显示的月份 (moment 对象)<br>_reason_: {String} 触发月份改变原因 | Function | func.noop |
| dateCellRender | 自定义日期渲染函数<br><br>**签名**:<br>Function(value: Object) => ReactNode<br>**参数**:<br>_value_: {Object} 日期值(moment对象)<br>**返回值**:<br>{ReactNode} null<br> | Function | value => value.date() |
| monthCellRender | 自定义月份渲染函数<br><br>**签名**:<br>Function(calendarDate: Object) => ReactNode<br>**参数**:<br>_calendarDate_: {Object} 对应 Calendar 返回的自定义日期对象<br>**返回值**:<br>{ReactNode} null<br> | Function | - |
| disabledDate | 不可选择的日期<br><br>**签名**:<br>Function(calendarDate: Object) => Boolean<br>**参数**:<br>_calendarDate_: {Object} 对应 Calendar 返回的自定义日期对象<br>**返回值**:<br>{Boolean} null<br> | Function | - |
18 changes: 9 additions & 9 deletions docs/checkbox/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@

### Checkbox.Group

| 参数 | 说明 | 类型 | 默认值 |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | --------- |
| disabled | 整体禁用 | Boolean | - |
| dataSource | 可选项列表, 数据项可为 String 或者 Object, 如 `['apple', 'pear', 'orange']` 或者 `[{value: 'apple', label: '苹果',}, {value: 'pear', label: '梨'}, {value: 'orange', label: '橙子'}]` | Array&lt;any> | \[] |
| value | 被选中的值列表 | Array/String/Number | - |
| defaultValue | 默认被选中的值列表 | Array/String/Number | - |
| children | 通过子元素方式设置内部 checkbox | Array&lt;ReactElement> | - |
| onChange | 选中值改变时的事件<br><br>**签名**:<br>Function(value: Array, e: Event) => void<br>**参数**:<br>_value_: {Array} 选中项列表<br>_e_: {Event} Dom 事件对象 | Function | () => { } |
| itemDirection | 子项目的排列方式<br>- hoz: 水平排列 (default)<br>- ver: 垂直排列<br><br>**可选值**:<br>'hoz', 'ver' | Enum | 'hoz' |
| 参数 | 说明 | 类型 | 默认值 |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- | -------- |
| disabled | 整体禁用 | Boolean | - |
| dataSource | 可选项列表, 数据项可为 String 或者 Object, 如 `['apple', 'pear', 'orange']` 或者 `[{value: 'apple', label: '苹果',}, {value: 'pear', label: '梨'}, {value: 'orange', label: '橙子'}]` | Array&lt;any> | \[] |
| value | 被选中的值列表 | Array/String/Number | - |
| defaultValue | 默认被选中的值列表 | Array/String/Number | - |
| children | 通过子元素方式设置内部 checkbox | Array&lt;ReactElement> | - |
| onChange | 选中值改变时的事件<br><br>**签名**:<br>Function(value: Array, e: Event) => void<br>**参数**:<br>_value_: {Array} 选中项列表<br>_e_: {Event} Dom 事件对象 | Function | () => {} |
| itemDirection | 子项目的排列方式<br>- hoz: 水平排列 (default)<br>- ver: 垂直排列<br><br>**可选值**:<br>'hoz', 'ver' | Enum | 'hoz' |

## ARIA and KeyBoard

Expand Down
10 changes: 4 additions & 6 deletions docs/grid/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@

默认 `<Row>``<Col>` 会加上 `role="row"``role="gridcell"`, 但是为了完美的无障碍实现, 开发者还应该在外部容器加上 `role="grid"`。示例代码如下:

````
<div role="grid">
<Row><Col span={6}>1</Col><Col span={6}>2</Col><Col span={6}>3</Col><Col span={6}>4</Col></Row>
<Row><Col span={6} offset={6}>1</Col><Col span={6} offset={6}>2</Col></Row>
</div>
````
<div role="grid">
<Row><Col span={6}>1</Col><Col span={6}>2</Col><Col span={6}>3</Col><Col span={6}>4</Col></Row>
<Row><Col span={6} offset={6}>1</Col><Col span={6} offset={6}>2</Col></Row>
</div>

## API

Expand Down
26 changes: 13 additions & 13 deletions docs/radio/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@

### Radio.Group

| 参数 | 说明 | 类型 | 默认值 |
| ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- | --------- |
| name | name | String | - |
| size |`shape` 属性配套使用,shape设为button时有效<br><br>**可选值**:<br>'large'(大)<br>'medium'(中)<br>'small'(小) | Enum | 'medium' |
| shape | 可以设置成 button 展示形状<br><br>**可选值**:<br>'button'(按钮状) | Enum | - |
| value | radio group的选中项的值 | String/Number/Boolean | - |
| defaultValue | radio group的默认值 | String/Number/Boolean | - |
| component | 设置标签类型 | String/Function | 'div' |
| onChange | 选中值改变时的事件<br><br>**签名**:<br>Function(value: String/Number, e: Event) => void<br>**参数**:<br>_value_: {String/Number} 选中项的值<br>_e_: {Event} Dom 事件对象 | Function | () => { } |
| disabled | 表示radio被禁用 | Boolean | - |
| dataSource | 可选项列表, 数据项可为 String 或者 Object, 如 `['apple', 'pear', 'orange']` | Array&lt;any> | \[] |
| children | 通过子元素方式设置内部radio | Array&lt;ReactElement>/ReactElement | - |
| itemDirection | 子项目的排列方式<br>- hoz: 水平排列 (default)<br>- ver: 垂直排列<br><br>**可选值**:<br>'hoz', 'ver' | Enum | 'hoz' |
| 参数 | 说明 | 类型 | 默认值 |
| ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- | -------- |
| name | name | String | - |
| size |`shape` 属性配套使用,shape设为button时有效<br><br>**可选值**:<br>'large'(大)<br>'medium'(中)<br>'small'(小) | Enum | 'medium' |
| shape | 可以设置成 button 展示形状<br><br>**可选值**:<br>'button'(按钮状) | Enum | - |
| value | radio group的选中项的值 | String/Number/Boolean | - |
| defaultValue | radio group的默认值 | String/Number/Boolean | - |
| component | 设置标签类型 | String/Function | 'div' |
| onChange | 选中值改变时的事件<br><br>**签名**:<br>Function(value: String/Number, e: Event) => void<br>**参数**:<br>_value_: {String/Number} 选中项的值<br>_e_: {Event} Dom 事件对象 | Function | () => {} |
| disabled | 表示radio被禁用 | Boolean | - |
| dataSource | 可选项列表, 数据项可为 String 或者 Object, 如 `['apple', 'pear', 'orange']` | Array&lt;any> | \[] |
| children | 通过子元素方式设置内部radio | Array&lt;ReactElement>/ReactElement | - |
| itemDirection | 子项目的排列方式<br>- hoz: 水平排列 (default)<br>- ver: 垂直排列<br><br>**可选值**:<br>'hoz', 'ver' | Enum | 'hoz' |

## ARIA and KeyBoard

Expand Down
Loading

0 comments on commit e08bbc6

Please sign in to comment.