From 3d9d2e508ef85dd277923c69570fdc2f4e1c72d2 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Fri, 17 Feb 2017 18:02:06 +0800 Subject: [PATCH] docs: add change log for 2.7.2 (#4922) * docs: add change log for 2.7.2 * deps: upgrade bisheng-plugin-antd --- CHANGELOG.en-US.md | 30 ++++++++++++++++++++++++++++++ CHANGELOG.zh-CN.md | 30 ++++++++++++++++++++++++++++++ package.json | 2 +- 3 files changed, 61 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 0c8de7d2be..02ebafc429 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -17,6 +17,36 @@ If you want to read change logs before `2.0.0`, please visit [GitHub](https://gi --- +## 2.7.2 + +`2017-02-17` + +- Fix that `antd.version` doesn't work as expected. [#4844](https://github.com/ant-design/ant-design/issues/4844) +- Fix that dist files don't include locales. [#4910](https://github.com/ant-design/ant-design/pull/4910) +- Fix that disabled option is selectable in search mode of Cascader. [#4699](https://github.com/ant-design/ant-design/issues/4699) +- **Button** + - Fix click animation of `Button[type=danger]`. + - Fix broken style with `loading`. [#4875](https://github.com/ant-design/ant-design/issues/4875) +- **Menu** + - Fix that `openKeys` should be controlled property in `vertical` mode. [#4876](https://github.com/ant-design/ant-design/issues/4876) + - Fix selected animation of Menu.Item. + - Fix broken style of Menu.SubMenu. [#4906](https://github.com/ant-design/ant-design/issues/4906) +- **Table** + - Fix broken style of table which use small size and fixed header. [#4850](https://github.com/ant-design/ant-design/issues/4850) + - Fix placeholder style. [#4851](https://github.com/ant-design/ant-design/pull/4851) + - Simplify DOM structure. [#4868](https://github.com/ant-design/ant-design/issues/4868) +- Fix that Radio should support number `0` as children. [#4874](https://github.com/ant-design/ant-design/issues/4874) [@HQidea](https://github.com/HQidea) +- Fix that RangePicker should work with `style.width` which is small than 300. [#4920](https://github.com/ant-design/ant-design/issues/4920) +- Fix CSS compile error caused by Spin. [#4915](https://github.com/ant-design/ant-design/issues/4915) +- Fix that Tooltip should work with disabled button in Chrome. [#4865](https://github.com/ant-design/ant-design/pull/4865) +- Fix UX of Tree while dragging. [#4858](https://github.com/ant-design/ant-design/issues/4858) +- Fix failed style of Upload. [#4810](https://github.com/ant-design/ant-design/issues/4810) +- Fix that `Menu[vertical]`'s SubMenu cannot popup in Layout.Sider. [#4890](https://github.com/ant-design/ant-design/issues/4890) +- Improve animation of Button and `Badge[status=processing]`. + +![Badge animation](https://camo.githubusercontent.com/6874b2333f2fac3fac346404c6e70684e4dafc1a/68747470733a2f2f7a6f732e616c697061796f626a656374732e636f6d2f726d73706f7274616c2f73516b72756c716346734b4e54785158615971512e676966) +![Button animation](https://camo.githubusercontent.com/3963d12b45de4f522c2799361dbc3177e7bd93d1/68747470733a2f2f7a6f732e616c697061796f626a656374732e636f6d2f726d73706f7274616c2f46624b776d636f766d795364666c557468494e522e676966) + ## 2.7.1 `2017-02-10` diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 440f274402..c9f802b0ac 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -17,6 +17,36 @@ timeline: true --- +## 2.7.2 + +`2017-02-17` + +- 修复 `antd.version` 无法正常使用的问题。 [#4844](https://github.com/ant-design/ant-design/issues/4844) +- 修复 dist 文件没有 locales 的问题。 [#4910](https://github.com/ant-design/ant-design/pull/4910) +- 修复 Cascader 搜索模式下可以选择已禁用选项的问题。 [#4699](https://github.com/ant-design/ant-design/issues/4699) +- **Button** + - 修复 `Button[type=danger]` 的点击动画。 + - 修复设置 `loading` 时的样式问题。 [#4875](https://github.com/ant-design/ant-design/issues/4875) +- **Menu** + - 修复 `vertical` 模式下 `openKeys` 为受控属性。 [#4876](https://github.com/ant-design/ant-design/issues/4876) + - 修复 Menu.Item 选中时的动画问题。 + - 修复 Menu.SubMenu 的样式问题。 [#4906](https://github.com/ant-design/ant-design/issues/4906) +- **Table** + - 修复在混合使用固定表头和小尺寸时的样式问题。 [#4850](https://github.com/ant-design/ant-design/issues/4850) + - 修复无数据时的占位符样式问题。 [#4851](https://github.com/ant-design/ant-design/pull/4851) + - 精简了 DOM 结构。 [#4868](https://github.com/ant-design/ant-design/issues/4868) +- 修复 Radio 组件 children 无法为数字 `0` 的问题。 [#4874](https://github.com/ant-design/ant-design/issues/4874) [@HQidea](https://github.com/HQidea) +- 修复 RangePicker `style.width` 无法小于 300 的问题。 [#4920](https://github.com/ant-design/ant-design/issues/4920) +- 修复 Spin 样式在打包时会导致编译错误的问题。 [#4915](https://github.com/ant-design/ant-design/issues/4915) +- 修复 Chrome 下 Tooltip 无法在 disabled 的按钮上使用的问题。 [#4865](https://github.com/ant-design/ant-design/pull/4865) +- 修复 Tree 节点在拖动时会导致整棵树抖动的问题。 [#4858](https://github.com/ant-design/ant-design/issues/4858) +- 修复 Upload 上传失败的样式问题。 [#4810](https://github.com/ant-design/ant-design/issues/4810) +- 修复 `Menu[vertical]` 和 Layout.Sider 配合使用时二级菜单无法弹出的问题。 [#4890](https://github.com/ant-design/ant-design/issues/4890) +- 优化 Button、`Badge[status=processing]` 的动画。 + +![Badge animation](https://camo.githubusercontent.com/6874b2333f2fac3fac346404c6e70684e4dafc1a/68747470733a2f2f7a6f732e616c697061796f626a656374732e636f6d2f726d73706f7274616c2f73516b72756c716346734b4e54785158615971512e676966) +![Button animation](https://camo.githubusercontent.com/3963d12b45de4f522c2799361dbc3177e7bd93d1/68747470733a2f2f7a6f732e616c697061796f626a656374732e636f6d2f726d73706f7274616c2f46624b776d636f766d795364666c557468494e522e676966) + ## 2.7.1 `2017-02-10` diff --git a/package.json b/package.json index e00d7d93c4..73a29a4250 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "babel-preset-react": "^6.16.0", "babel-preset-stage-0": "^6.16.0", "bisheng": "^0.22.0", - "bisheng-plugin-antd": "^0.11.0", + "bisheng-plugin-antd": "^0.12.0", "bisheng-plugin-description": "^0.1.1", "bisheng-plugin-react": "^0.5.0", "bisheng-plugin-toc": "^0.4.0",