Skip to content

Commit

Permalink
chore(*): Release-1.18.1
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna committed Sep 26, 2019
1 parent 4da68f9 commit 79db663
Show file tree
Hide file tree
Showing 10 changed files with 80 additions and 25 deletions.
38 changes: 37 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,40 @@
# Change Log
# Change Log

## [1.18.1](https://github.com/alibaba-fusion/next/compare/1.17.12...1.18.1) (2019-09-26)


### Bug Fixes

* **ConfigProvider:** support component created by React.forwardRef() ([cc6d002](https://github.com/alibaba-fusion/next/commit/cc6d002))
* **Dialog:** fullscreen mask click. fix [#927](https://github.com/alibaba-fusion/next/issues/927) ([#932](https://github.com/alibaba-fusion/next/issues/932)) ([e9b5d28](https://github.com/alibaba-fusion/next/commit/e9b5d28))
* **Dialog:** option.type can only be set as alert or confirm ([be7d644](https://github.com/alibaba-fusion/next/commit/be7d644))
* **Field:** spliceArray can remove a obj in array. close [#1091](https://github.com/alibaba-fusion/next/issues/1091) ([8cc5546](https://github.com/alibaba-fusion/next/commit/8cc5546))
* **NumberPicker:** add variable for button corner. close [#1151](https://github.com/alibaba-fusion/next/issues/1151) ([882fa89](https://github.com/alibaba-fusion/next/commit/882fa89))
* **Overlay:** fullscreen mask click issue with pr [#932](https://github.com/alibaba-fusion/next/issues/932) ([e117487](https://github.com/alibaba-fusion/next/commit/e117487))
* **Tab:** all key should use string ([#1070](https://github.com/alibaba-fusion/next/issues/1070)) ([0d8396f](https://github.com/alibaba-fusion/next/commit/0d8396f))
* **TimePicker:** support format HH ([e5924c2](https://github.com/alibaba-fusion/next/commit/e5924c2))

### Deprecated

* **ConfigProvider(pure):** deprecated API pure ([434e6e0](https://github.com/alibaba-fusion/next/commit/434e6e0))


### Features

* **Field** use field and validate npm packages ([6e70255](https://github.com/alibaba-fusion/next/commit/6e70255))
* **Card:** add free card ([5ee79c7](https://github.com/alibaba-fusion/next/commit/5ee79c7))
* **ConfigProvider:** add popupContainer ([6631a55](https://github.com/alibaba-fusion/next/commit/6631a55))
* **Field:** add api addArrayValue/deleteArrayValue for spliceArray ([ccc95e9](https://github.com/alibaba-fusion/next/commit/ccc95e9))
* **Form:** add fullWidth prop ([c9e6ded](https://github.com/alibaba-fusion/next/commit/c9e6ded))
* **Form:** api field={false} to disable inner field. fix [#1162](https://github.com/alibaba-fusion/next/issues/1162) ([4ed9cde](https://github.com/alibaba-fusion/next/commit/4ed9cde))
* **Icon:** add new icon, close [#1114](https://github.com/alibaba-fusion/next/issues/1114) ([9651f2f](https://github.com/alibaba-fusion/next/commit/9651f2f))
* **Transfer:** support customer panel ([7bef81e](https://github.com/alibaba-fusion/next/commit/7bef81e)) ([6a57e62](https://github.com/alibaba-fusion/next/commit/6a57e62))
* **Notification:** add Notification Component ([f135a67](https://github.com/alibaba-fusion/next/commit/f135a67))
* **Shell:** add Shell ([#1175](https://github.com/alibaba-fusion/next/issues/1175)) ([dd03a64](https://github.com/alibaba-fusion/next/commit/dd03a64))
* **Typography:** add Typography, deprecated Paragraph ([ed3afce](https://github.com/alibaba-fusion/next/commit/ed3afce))




## [1.17.12](https://github.com/alibaba-fusion/next/compare/1.17.11...1.17.12) (2019-09-19)

Expand Down
38 changes: 29 additions & 9 deletions LATESTLOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,35 @@
# Latest Log

## [1.17.12](https://github.com/alibaba-fusion/next/compare/1.17.11...1.17.12) (2019-09-19)
# Latest Log

## [1.18.1](https://github.com/alibaba-fusion/next/compare/1.17.12...1.18.1) (2019-09-26)

### Bug Fixes

* **Input:** border should collapse in input group, close [#1127](https://github.com/alibaba-fusion/next/issues/1127) ([ac4e604](https://github.com/alibaba-fusion/next/commit/ac4e604))
* **Overlay:** wrong object of reference in safari ([cba0d1e](https://github.com/alibaba-fusion/next/commit/cba0d1e))
* **Rating:** click offset in allowHalf, close [#1123](https://github.com/alibaba-fusion/next/issues/1123) ([b4278c4](https://github.com/alibaba-fusion/next/commit/b4278c4))
* **Select:** popupStyle width should override autoWidth, close [#1075](https://github.com/alibaba-fusion/next/issues/1075) ([0e75a2f](https://github.com/alibaba-fusion/next/commit/0e75a2f))
* **Tab:** fix tab nav border in fusion cool ([43d2013](https://github.com/alibaba-fusion/next/commit/43d2013))
* **Util:** copy react node directly, close [#1132](https://github.com/alibaba-fusion/next/issues/1132) ([04618b0](https://github.com/alibaba-fusion/next/commit/04618b0))
* **ConfigProvider:** support component created by React.forwardRef() ([cc6d002](https://github.com/alibaba-fusion/next/commit/cc6d002))
* **Dialog:** fullscreen mask click. fix [#927](https://github.com/alibaba-fusion/next/issues/927) ([#932](https://github.com/alibaba-fusion/next/issues/932)) ([e9b5d28](https://github.com/alibaba-fusion/next/commit/e9b5d28))
* **Dialog:** option.type can only be set as alert or confirm ([be7d644](https://github.com/alibaba-fusion/next/commit/be7d644))
* **Field:** spliceArray can remove a obj in array. close [#1091](https://github.com/alibaba-fusion/next/issues/1091) ([8cc5546](https://github.com/alibaba-fusion/next/commit/8cc5546))
* **NumberPicker:** add variable for button corner. close [#1151](https://github.com/alibaba-fusion/next/issues/1151) ([882fa89](https://github.com/alibaba-fusion/next/commit/882fa89))
* **Overlay:** fullscreen mask click issue with pr [#932](https://github.com/alibaba-fusion/next/issues/932) ([e117487](https://github.com/alibaba-fusion/next/commit/e117487))
* **Tab:** all key should use string ([#1070](https://github.com/alibaba-fusion/next/issues/1070)) ([0d8396f](https://github.com/alibaba-fusion/next/commit/0d8396f))
* **TimePicker:** support format HH ([e5924c2](https://github.com/alibaba-fusion/next/commit/e5924c2))

### Deprecated

* **ConfigProvider(pure):** deprecated API pure ([434e6e0](https://github.com/alibaba-fusion/next/commit/434e6e0))


### Features

* **Field** use field and validate npm packages ([6e70255](https://github.com/alibaba-fusion/next/commit/6e70255))
* **Card:** add free card ([5ee79c7](https://github.com/alibaba-fusion/next/commit/5ee79c7))
* **ConfigProvider:** add popupContainer ([6631a55](https://github.com/alibaba-fusion/next/commit/6631a55))
* **Field:** add api addArrayValue/deleteArrayValue for spliceArray ([ccc95e9](https://github.com/alibaba-fusion/next/commit/ccc95e9))
* **Form:** add fullWidth prop ([c9e6ded](https://github.com/alibaba-fusion/next/commit/c9e6ded))
* **Form:** api field={false} to disable inner field. fix [#1162](https://github.com/alibaba-fusion/next/issues/1162) ([4ed9cde](https://github.com/alibaba-fusion/next/commit/4ed9cde))
* **Icon:** add new icon, close [#1114](https://github.com/alibaba-fusion/next/issues/1114) ([9651f2f](https://github.com/alibaba-fusion/next/commit/9651f2f))
* **Transfer:** support customer panel ([7bef81e](https://github.com/alibaba-fusion/next/commit/7bef81e)) ([6a57e62](https://github.com/alibaba-fusion/next/commit/6a57e62))
* **Notification:** add Notification Component ([f135a67](https://github.com/alibaba-fusion/next/commit/f135a67))
* **Shell:** add Shell ([#1175](https://github.com/alibaba-fusion/next/issues/1175)) ([dd03a64](https://github.com/alibaba-fusion/next/commit/dd03a64))
* **Typography:** add Typography, deprecated Paragraph ([ed3afce](https://github.com/alibaba-fusion/next/commit/ed3afce))


2 changes: 1 addition & 1 deletion docs/dialog/demo/quick.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const popupCustomIcon = () => {
onOk: () => console.log('ok'),
onCancel: () => console.log('cancel')
});
}
};

ReactDOM.render(
<ConfigProvider locale={{ Dialog: { ok: 'OK', cancel: 'Cancel' } }}>
Expand Down
4 changes: 2 additions & 2 deletions docs/field/demo/dynamic.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ class Demo extends React.Component {

input = (value, index) => <Input {...this.field.init(`name.${index}.input`)} />;
op = (value, index) => {
return <span>
return (<span>
<Button type="primary" onClick={this.addItem.bind(this, index + 1)}>add</Button>
<Button warning onClick={this.removeItem.bind(this, index)} style={{marginLeft: 4}}>delete</Button>
</span>
</span>);
}

render() {
Expand Down
6 changes: 3 additions & 3 deletions docs/field/demo/validatorPromise.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class App extends React.Component {

isChecked(rule, value) {
if (!value) {
return Promise.reject('consent agreement not checked ')
return Promise.reject('consent agreement not checked ');
} else {
return Promise.resolve(null);
}
Expand All @@ -55,11 +55,11 @@ class App extends React.Component {
if (value === 'frank') {
return new Promise((resolve, reject) => {
setTimeout(() => reject('name existed'), 200);
})
});
} else {
return new Promise((resolve) => {
setTimeout(() => resolve(null), 200);
})
});
}
}

Expand Down
2 changes: 1 addition & 1 deletion docs/transfer/demo/custom-panel.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class Demo extends React.Component {
<Tree checkable editable
style={{padding: '10px'}}
checkedKeys={value}
onCheck={(keys, extra) => {const newValues=extra.checkedNodes.map(item => item.props.value); onChange(position, newValues)}}
onCheck={(keys, extra) => {const newValues=extra.checkedNodes.map(item => item.props.value); onChange(position, newValues);}}
>
{this.getTreeDataSource(treeDataSource, selected)}
</Tree>
Expand Down
2 changes: 1 addition & 1 deletion docs/transfer/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
| sortable | 是否允许拖拽排序 | Boolean | false |
| onSort | 拖拽排序时触发的回调函数<br><br>**签名**:<br>Function(value: Array, position: String) => void<br>**参数**:<br>_value_: {Array} 排序后的值<br>_position_: {String} 拖拽的面板位置,值为:left 或 right | Function | () => {} |
| id | 请设置 id 以保证transfer的可访问性 | String | - |
| children | 接收 children 自定义渲染列表<br><br>**签名**:<br>Function(props: TransferPanelProps) => ReactNode | Function | - |
| children | 接收 children 自定义渲染列表<br><br>**签名**:<br>Function() => void | Function | - |

## ARIA and KeyBoard

Expand Down
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.17.12';
next.version = '1.18.1';

module.exports = next;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alifd/next",
"version": "1.17.12",
"version": "1.18.1",
"description": "A configurable component library for web built on React.",
"keywords": [
"fusion",
Expand Down
9 changes: 4 additions & 5 deletions variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
@import "lib/message/scss/variable.scss";
@import "lib/nav/scss/variable.scss";
@import "lib/number-picker/scss/variable.scss";
@import "lib/overlay/scss/variable.scss";
@import "lib/pagination/scss/variable.scss";
@import "lib/paragraph/scss/variable.scss";
@import "lib/progress/scss/variable.scss";
Expand All @@ -43,6 +44,7 @@
@import "lib/rating/scss/variable.scss";
@import "lib/search/scss/variable.scss";
@import "lib/select/scss/variable.scss";
@import "lib/shell/scss/variable.scss";
@import "lib/slider/scss/variable.scss";
@import "lib/split-button/scss/variable.scss";
@import "lib/step/scss/variable.scss";
Expand All @@ -55,9 +57,6 @@
@import "lib/transfer/scss/variable.scss";
@import "lib/tree/scss/variable.scss";
@import "lib/tree-select/scss/variable.scss";
@import "lib/upload/scss/variable.scss";
@import "lib/virtual-list/scss/variable.scss";
@import "lib/shell/scss/variable.scss";
@import "lib/notification/scss/variable.scss";
@import "lib/typography/scss/variable.scss";

@import "lib/upload/scss/variable.scss";
@import "lib/virtual-list/scss/variable.scss";

0 comments on commit 79db663

Please sign in to comment.