Skip to content

Commit

Permalink
chore(*): Release-1.14.4
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed May 16, 2019
1 parent 03bda63 commit f6a46c0
Show file tree
Hide file tree
Showing 12 changed files with 67 additions and 31 deletions.
25 changes: 24 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
# Change Log
# Change Log

## [1.14.4](https://github.com/alibaba-fusion/next/compare/1.14.3...1.14.4) (2019-05-16)


### Bug Fixes

* fix DatePicker,Switch,Upload to a11y ([99ef836](https://github.com/alibaba-fusion/next/commit/99ef836))
* **Checkbox:** number 0 should be rendered ([93318d8](https://github.com/alibaba-fusion/next/commit/93318d8))
* **Field:** no react key props for errors ([93127d6](https://github.com/alibaba-fusion/next/commit/93127d6))
* **Menu:** Resolve expanding and selecting in uncontrolled mode ([#667](https://github.com/alibaba-fusion/next/issues/667)) ([0ba7e4a](https://github.com/alibaba-fusion/next/commit/0ba7e4a))
* **Menu:** Resolve items that created by `React.forwardRef` ([807d8de](https://github.com/alibaba-fusion/next/commit/807d8de))
* **Select:** hight first item with remote datasource. Close [#654](https://github.com/alibaba-fusion/next/issues/654) ([d784ee0](https://github.com/alibaba-fusion/next/commit/d784ee0))


### Features

* add file types/ to customize index.d.ts ([c537d81](https://github.com/alibaba-fusion/next/commit/c537d81))
* **Menu:** add API embeddable ([6d21bb1](https://github.com/alibaba-fusion/next/commit/6d21bb1))
* **Nav:** add API embeddable ([1379df3](https://github.com/alibaba-fusion/next/commit/1379df3))
* **Table:** add API sortIcons to customize sort icons ([7abcf7c](https://github.com/alibaba-fusion/next/commit/7abcf7c))




## [1.14.3](https://github.com/alibaba-fusion/next/compare/1.14.2...1.14.3) (2019-05-09)

Expand Down
24 changes: 16 additions & 8 deletions LATESTLOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
# Latest Log
# Latest Log

## [1.14.3](https://github.com/alibaba-fusion/next/compare/1.14.2...1.14.3) (2019-05-09)
## [1.14.4](https://github.com/alibaba-fusion/next/compare/1.14.3...1.14.4) (2019-05-16)


### Bug Fixes

* **Core:** clip-path in sr-only destroys scrolling performance ([49ff99f](https://github.com/alibaba-fusion/next/commit/49ff99f))
* **Dialog:** fixed height dialog ([c334b2b](https://github.com/alibaba-fusion/next/commit/c334b2b))
* **Menu** empty focus key when blur using undefined ([#634](https://github.com/alibaba-fusion/next/issues/634)) ([8c6a3af](https://github.com/alibaba-fusion/next/commit/8c6a3af))
* **Slider:** dots should be cursor: pointer; ([1754a74](https://github.com/alibaba-fusion/next/commit/1754a74))
* **Table:** using clientHeight instead of maxBodyHeight ([33abd4a](https://github.com/alibaba-fusion/next/commit/33abd4a))
* **Upload:** a11y problem ([97ab17b](https://github.com/alibaba-fusion/next/commit/97ab17b))
* fix DatePicker,Switch,Upload to a11y ([99ef836](https://github.com/alibaba-fusion/next/commit/99ef836))
* **Checkbox:** number 0 should be rendered ([93318d8](https://github.com/alibaba-fusion/next/commit/93318d8))
* **Field:** no react key props for errors ([93127d6](https://github.com/alibaba-fusion/next/commit/93127d6))
* **Menu:** Resolve expanding and selecting in uncontrolled mode ([#667](https://github.com/alibaba-fusion/next/issues/667)) ([0ba7e4a](https://github.com/alibaba-fusion/next/commit/0ba7e4a))
* **Menu:** Resolve items that created by `React.forwardRef` ([807d8de](https://github.com/alibaba-fusion/next/commit/807d8de))
* **Select:** hight first item with remote datasource. Close [#654](https://github.com/alibaba-fusion/next/issues/654) ([d784ee0](https://github.com/alibaba-fusion/next/commit/d784ee0))


### Features

* add file types/ to customize index.d.ts ([c537d81](https://github.com/alibaba-fusion/next/commit/c537d81))
* **Menu:** add API embeddable ([6d21bb1](https://github.com/alibaba-fusion/next/commit/6d21bb1))
* **Nav:** add API embeddable ([1379df3](https://github.com/alibaba-fusion/next/commit/1379df3))
* **Table:** add API sortIcons to customize sort icons ([7abcf7c](https://github.com/alibaba-fusion/next/commit/7abcf7c))


5 changes: 5 additions & 0 deletions docs/cascader-select/demo/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,8 @@ class Demo extends React.Component {
ReactDOM.render(<Demo />, mountNode);

````
```css
.next-menu-item:focus {
background-color: #F2F3F7;
}
```
2 changes: 1 addition & 1 deletion docs/cascader-select/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ const dataSource = [{
| Down Arrow | 获取同级当前项后一项焦点 |
| Left Arrow | 进入当前项的子元素,并获取第一个子元素为焦点 |
| Right Arrow | 返回当前项的父元素并获取焦点 |
| Enter | 打开目录或选择当前项 |
| Enter | 打开目录或选择当前项 |
| Esc | 关闭目录 |
| SPACE | 选择当前项 |
6 changes: 3 additions & 3 deletions docs/date-picker/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ DatePicker 默认情况下接收和返回的数据类型都是 Moment 对象。
| disabled | 是否禁用 | Boolean | - |
| hasClear | 是否显示清空按钮 | Boolean | true |
| visible | 弹层显示状态 | Boolean | - |
| defaultVisible | 弹层默认是否显示 | Boolean | - |
| defaultVisible | 弹层默认是否显示 | Boolean | false |
| onVisibleChange | 弹层展示状态变化时的回调<br><br>**签名**:<br>Function(visible: Boolean, reason: String) => void<br>**参数**:<br>_visible_: {Boolean} 弹层是否显示<br>_reason_: {String} 触发弹层显示和隐藏的来源 | Function | func.noop |
| popupTriggerType | 弹层触发方式<br><br>**可选值**:<br>'click', 'hover' | Enum | 'click' |
| popupAlign | 弹层对齐方式,具体含义见 OverLay文档 | String | 'tl tl' |
Expand Down Expand Up @@ -172,7 +172,7 @@ DatePicker 默认情况下接收和返回的数据类型都是 Moment 对象。
| disabled | 是否禁用 | Boolean | - | | |
| hasClear | 是否显示清空按钮 | Boolean | true | | |
| visible | 弹层显示状态 | Boolean | - | | |
| defaultVisible | 弹层默认是否显示 | Boolean | - | | |
| defaultVisible | 弹层默认是否显示 | Boolean | false | | |
| onVisibleChange | 弹层展示状态变化时的回调<br><br>**签名**:<br>Function(visible: Boolean, reason: String) => void<br>**参数**:<br>_visible_: {Boolean} 弹层是否显示<br>_reason_: {String} 触发弹层显示和隐藏的来源 | Function | func.noop | | |
| popupTriggerType | 弹层触发方式<br><br>**可选值**:<br>'click', 'hover' | Enum | 'click' | | |
| popupAlign | 弹层对齐方式, 具体含义见 OverLay文档 | String | 'tl tl' | | |
Expand Down Expand Up @@ -222,7 +222,7 @@ DatePicker 默认情况下接收和返回的数据类型都是 Moment 对象。
| 按键 | 说明 |
| :-------------- | :-------------------------------------------- |
| 数字键 | 需要手动输入日期,指定的日期格式 |
| Enter | 打开日期选择框或输入后选择日期 |
| Enter | 打开日期选择框或输入后选择日期 |
| Esc | 关闭日期选择框 |
| Up | 输入上一天(Month Picker 则是上一个月, Year Picker 则是上一年) |
| Down | 输入下一天(Month Picker 则是下一个月, Year Picker 则是下一年) |
Expand Down
12 changes: 6 additions & 6 deletions docs/select/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,9 @@ const dataSource = [

## ARIA and KeyBoard

| 按键 | 说明 |
| :---------- | :--------------------- |
| Up Arrow | 获取当前项前一项焦点 |
| Down Arrow | 获取当前项后一项焦点 |
| Enter | 打开列表或选择当前项 |
| Esc | 关闭列表 |
| 按键 | 说明 |
| :--------- | :--------- |
| Up Arrow | 获取当前项前一项焦点 |
| Down Arrow | 获取当前项后一项焦点 |
| Enter | 打开列表或选择当前项 |
| Esc | 关闭列表 |
2 changes: 1 addition & 1 deletion docs/switch/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
| unCheckedChildren | 关闭时的内容 | any | - |
| onChange | 开关状态改变是触发此事件<br><br>**签名**:<br>Function(checked: Boolean, e: Event) => void<br>**参数**:<br>_checked_: {Boolean} 是否为打开状态<br>_e_: {Event} DOM事件对象 | Function | () => {} |
| checked | 开关当前的值(针对受控组件) | Boolean | - |
| defaultChecked | 开关默认值 (针对非受控组件) | Boolean | - |
| defaultChecked | 开关默认值 (针对非受控组件) | Boolean | false |
| disabled | 表示开关被禁用 | Boolean | false |
| onClick | 鼠标点击事件<br><br>**签名**:<br>Function(e: Event) => void<br>**参数**:<br>_e_: {Event} DOM事件对象 | Function | - |
| onKeyDown | 键盘按键事件<br><br>**签名**:<br>Function(e: Event) => void<br>**参数**:<br>_e_: {Event} DOM事件对象 | Function | - |
Expand Down
2 changes: 1 addition & 1 deletion docs/table/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ ReactDOM.render(
| loadingComponent | 自定义 Loading 组件<br>请务必传递 props, 使用方式: loadingComponent={props => &lt;Loading {...props}/>}<br><br>**签名**:<br>Function(props: Object) => void<br>**参数**:<br>_props_: {Object} 当前点击行的key | Function | - |
| filterParams | 当前过滤的的keys,使用此属性可以控制表格的头部的过滤选项中哪个菜单被选中,格式为 {dataIndex: {selectedKeys:\[]}}<br>示例:<br>假设要控制dataIndex为id的列的过滤菜单中key为one的菜单项选中<br>`<Table filterParams={{id: {selectedKeys: ['one']}}}/>` | Object | - |
| sort | 当前排序的字段,使用此属性可以控制表格的字段的排序,格式为{dataIndex: 'asc'} | Object | - |
| sortIcons | 自定义排序按钮,例如上下排布的: `{desc: <Icon style={{top: '6px', left: '4px'}} type={'arrow-down'} size="small" />, asc: <Icon style={{top: '-6px', left: '4px'}} type={'arrow-up'} size="small" />}` | Object | - |
| sortIcons | 自定义排序按钮,例如上下排布的: `{desc: <Icon style={{top: '6px', left: '4px'}} type={'arrow-down'} size="small" />, asc: <Icon style={{top: '-6px', left: '4px'}} type={'arrow-up'} size="small" />}` | Object | - |
| emptyContent | 设置数据为空的时候的表格内容展现 | ReactNode | - |
| primaryKey | dataSource当中数据的主键,如果给定的数据源中的属性不包含该主键,会造成选择状态全部选中 | String | 'id' |
| expandedRowRender | 额外渲染行的渲染函数<br><br>**签名**:<br>Function(record: Object, index: Number) => Element<br>**参数**:<br>_record_: {Object} 该行所对应的数据<br>_index_: {Number} 该行所对应的序列<br>**返回值**:<br>{Element} 渲染内容<br> | Function | - |
Expand Down
2 changes: 1 addition & 1 deletion docs/tree-select/demo/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Demo extends React.Component {
}

handleChange(value, data) {
console.log(value, data)
console.log(value, data);
}

render() {
Expand Down
14 changes: 7 additions & 7 deletions docs/tree-select/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ const dataSource = [{

## ARIA and KeyBoard

| 按键 | 说明 |
| :---------- | :------------- |
| Enter | 打开选择树或选择某一项 |
| Up Arrow | 获取同级当前项前一项焦点 |
| Down Arrow | 获取同级当前项后一项焦点 |
| Right Arrow | 打开当前元素的下一级子树并聚焦到第一项|
| Left Arrow | 返回到当前元素的父节点并关闭当前子树 |
| 按键 | 说明 |
| :---------- | :------------------ |
| Enter | 打开选择树或选择某一项 |
| Up Arrow | 获取同级当前项前一项焦点 |
| Down Arrow | 获取同级当前项后一项焦点 |
| Right Arrow | 打开当前元素的下一级子树并聚焦到第一项 |
| Left Arrow | 返回到当前元素的父节点并关闭当前子树 |
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var next = require('./lib/index.js');

next.version = '1.14.3';
next.version = '1.14.4';

module.exports = next;
Loading

0 comments on commit f6a46c0

Please sign in to comment.