diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 867e9914c5..c856fa2ae0 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -15,6 +15,17 @@ timeline: true --- +## 3.6.4 + +`2018-06-23` + +- 🐞 Fixed `Steps` theme `@process-icon-color`. [#10973](https://github.com/ant-design/ant-design/issues/10973) +- 🐞 Fixed style of RangePicker with preset ranges. [#10986](https://github.com/ant-design/ant-design/issues/10986) +- 🐞 Fixed `Dropdown` non-boolean attribute warning. [#7798](https://github.com/ant-design/ant-design/issues/7798) +- TypeScript + - 🌟 Add `Tree` prop `className` definition. [#10950](https://github.com/ant-design/ant-design/issues/10950) + - 🌟 Add `Tree` prop `selectable` definition. [3fb478e](https://github.com/ant-design/ant-design/commit/3fb478e743f3bad23dc300f501df11e5423468ba) + ## 3.6.3 `2018-06-17` diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index eaa4c2551c..2a05c8ec14 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -15,6 +15,18 @@ timeline: true --- +## 3.6.4 + +`2018-06-23` + +- 🐞 修复 `Steps` 组件的 `@process-icon-color` 样式定义。[#10973](https://github.com/ant-design/ant-design/issues/10973) +- 🐞 修复 `RangePicker` 组件使用预置范围时的样式问题。[#10986] +(https://github.com/ant-design/ant-design/issues/10986) +- 🐞 修复 `Dropdown` 组件可能报出的 `non-boolean attribute` 的警告。[#7798](https://github.com/ant-design/ant-design/issues/7798) +- TypeScript + - 🌟 给 `Tree` 组件添加 `className` 的定义。[#10950](https://github.com/ant-design/ant-design/issues/10950) + - 🌟 给 `Tree` 组件添加 `selectable` 的定义。[3fb478e](https://github.com/ant-design/ant-design/commit/3fb478e743f3bad23dc300f501df11e5423468ba) + ## 3.6.3 `2018-06-17` diff --git a/components/tree-select/demo/basic.md b/components/tree-select/demo/basic.md index de62cafdd3..d51b2daf37 100644 --- a/components/tree-select/demo/basic.md +++ b/components/tree-select/demo/basic.md @@ -22,7 +22,7 @@ class Demo extends React.Component { value: undefined, } onChange = (value) => { - console.log(arguments); + console.log(value); this.setState({ value }); } render() { diff --git a/components/tree-select/demo/checkable.md b/components/tree-select/demo/checkable.md index c921af08a0..e60615f8c3 100644 --- a/components/tree-select/demo/checkable.md +++ b/components/tree-select/demo/checkable.md @@ -50,7 +50,7 @@ class Demo extends React.Component { value: ['0-0-0'], } onChange = (value) => { - console.log('onChange ', value, arguments); + console.log('onChange ', value); this.setState({ value }); } render() { diff --git a/components/tree-select/demo/multiple.md b/components/tree-select/demo/multiple.md index 2d95081644..ed505dad8c 100644 --- a/components/tree-select/demo/multiple.md +++ b/components/tree-select/demo/multiple.md @@ -22,7 +22,7 @@ class Demo extends React.Component { value: undefined, } onChange = (value) => { - console.log(arguments); + console.log(value); this.setState({ value }); } render() { diff --git a/components/tree-select/demo/treeData.md b/components/tree-select/demo/treeData.md index ddb8947c82..be1b946112 100644 --- a/components/tree-select/demo/treeData.md +++ b/components/tree-select/demo/treeData.md @@ -41,7 +41,7 @@ class Demo extends React.Component { value: undefined, } onChange = (value) => { - console.log(arguments); + console.log(value); this.setState({ value }); } render() { diff --git a/components/tree/demo/basic-controlled.md b/components/tree/demo/basic-controlled.md index 466307bde1..4de8217825 100644 --- a/components/tree/demo/basic-controlled.md +++ b/components/tree/demo/basic-controlled.md @@ -61,7 +61,7 @@ class Demo extends React.Component { selectedKeys: [], } onExpand = (expandedKeys) => { - console.log('onExpand', arguments); + console.log('onExpand', expandedKeys); // if not set autoExpandParent to false, if children expanded, parent can not collapse. // or, you can remove all expanded children keys. this.setState({ diff --git a/package.json b/package.json index 388332dba9..6468fc305e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "antd", - "version": "3.6.3", + "version": "3.6.4", "title": "Ant Design", "description": "An enterprise-class UI design language and React-based implementation", "homepage": "http://ant.design/", @@ -91,9 +91,9 @@ "ansi-styles": "^3.2.0", "ant-design-palettes": "^1.0.0", "antd-theme-generator": "1.0.7", - "antd-tools": "^5.1.2", + "antd-tools": "^5.1.6", "babel-cli": "^6.18.0", - "babel-eslint": "^8.1.1", + "babel-eslint": "8.2.3", "babel-plugin-import": "^1.0.0", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-es2015": "^6.18.0", @@ -117,7 +117,7 @@ "enzyme-adapter-react-16": "^1.0.0", "enzyme-to-json": "^3.1.2", "eslint": "^4.8.0", - "eslint-config-airbnb": "latest", + "eslint-config-airbnb": "^16.1.0", "eslint-plugin-babel": "^5.0.0", "eslint-plugin-import": "^2.2.0", "eslint-plugin-jsx-a11y": "^6.0.2",