From 9ec8f66c4d2ce8ed39b964b36d6c0fc1f6ceb201 Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Fri, 22 Sep 2017 04:47:45 -0500 Subject: [PATCH 1/4] docs: add changelog for 2.13.3 (#7702) --- CHANGELOG.en-US.md | 20 ++++++++++++++++++++ CHANGELOG.zh-CN.md | 19 +++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 7d1ff215a5..fc3fcfb514 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -17,6 +17,26 @@ If you want to read change logs before `2.0.0`, please visit [GitHub](https://gi --- +## 2.13.3 + +`2017-09-22` + +- Fix Affix scrolling bug when document's height minus viewport's height is smaller than the height of children of Affix. [#2349](https://github.com/ant-design/ant-design/issues/2349) +- Fix broken style of header of Card when `Card[title]` is void and `Card[extra]` is set. [f46112d#commitcomment-24480417](https://github.com/ant-design/ant-design/commit/f46112d38561c89780eb44ecbba82347d2b912da#commitcomment-24480417) +- Fix TypeScript definition of `Checkbox[children]`. [#7650](https://github.com/ant-design/ant-design/issues/7650) [@liaokaien](https://github.com/liaokaien) +- Fix error when set nested name in `getFieldDecorator` and then click the label of `Form.Item`. [#7693](https://github.com/ant-design/ant-design/issues/7693) +- Input + - Fix broken style of `Input.Group[compat]` when it has `Select` as its children. [#7662](https://github.com/ant-design/ant-design/issues/7662) + - Fix TypeScript definition of `Input[autoComplete]`. [#7699](https://github.com/ant-design/ant-design/pull/7699) [@delesseps](https://github.com/delesseps) +- LocaleProvider + - Support Portuguese. [#7449](https://github.com/ant-design/ant-design/pull/7449) [@taviroquai](https://github.com/taviroquai) + - Fix missing translations in Dutch locale. [#7694](https://github.com/ant-design/ant-design/pull/7694) [@kstiopin](https://github.com/kstiopin) +- Table + - Fix height of table header when `rowSelection` is set. [#7663](https://github.com/ant-design/ant-design/issues/7663) + - Fix bug that click on first two options will not trigger event when `rowSelection.hideDefaultselections` is set. [#7626](https://github.com/ant-design/ant-design/issues/7626) [@infeng](https://github.com/infeng) + - Fix TypeScript definition of `Table[scroll]`. [#7640](https://github.com/ant-design/ant-design/pull/7640) [@BlackGanglion](https://github.com/BlackGanglion) + + ## 2.13.2 `2017-09-15` diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index cee3362807..d4f9f62fce 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -17,6 +17,25 @@ timeline: true --- +## 2.13.3 + +`2017-09-22` + +- 修复 Affix 在内容与视口高度差小于 children 高度时触发的滚动抖动问题。[#2349](https://github.com/ant-design/ant-design/issues/2349) +- 修复 `Card[title]` 为空且设置 `Card[extra]` 时样式错乱的问题。[f46112d#commitcomment-24480417](https://github.com/ant-design/ant-design/commit/f46112d38561c89780eb44ecbba82347d2b912da#commitcomment-24480417) +- 修复 `Checkbox[children]` TypeScript definition。[#7650](https://github.com/ant-design/ant-design/issues/7650) [@liaokaien](https://github.com/liaokaien) +- 修复 `getFieldDecorator` 内使用嵌套 id 后点击 `Form.Item` label 报错的问题。[#7693](https://github.com/ant-design/ant-design/issues/7693) +- Input + - 修复 `Input.Group[compat]` 内嵌 `Select` 等控件时的样式问题。[#7662](https://github.com/ant-design/ant-design/issues/7662) + - 优化 `Input[autoComplete]` TypeScript 定义。[#7699](https://github.com/ant-design/ant-design/pull/7699) [@delesseps](https://github.com/delesseps) +- LocaleProvider + - 新增葡萄牙语。[#7449](https://github.com/ant-design/ant-design/pull/7449) [@taviroquai](https://github.com/taviroquai) + - 修复荷兰语 locale 缺少文案的问题。[#7694](https://github.com/ant-design/ant-design/pull/7694) [@kstiopin](https://github.com/kstiopin) +- Table + - 修复 `rowSelection` 导致的表头高度问题。[#7663](https://github.com/ant-design/ant-design/issues/7663) + - 修复使用 `rowSelection.hideDefaultselections` 时导致自定义选项点击没反应的问题。[#7626](https://github.com/ant-design/ant-design/issues/7626) [@infeng](https://github.com/infeng) + - 优化 `Table[scroll]` TypeScript definition。[#7640](https://github.com/ant-design/ant-design/pull/7640) [@BlackGanglion](https://github.com/BlackGanglion) + ## 2.13.2 `2017-09-15` From bdecb4ebd90278de908cf9e0b7fb63b51a0c186d Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Fri, 22 Sep 2017 17:49:16 +0800 Subject: [PATCH 2/4] bump 2.13.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 65aadb40b0..5be50f35a9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "antd", - "version": "2.13.2", + "version": "2.13.3", "title": "Ant Design", "description": "An enterprise-class UI design language and React-based implementation", "homepage": "http://ant.design/", From 776beaee050c971916c00411d8cf924c9c53ce11 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 22 Sep 2017 20:16:36 +0800 Subject: [PATCH 3/4] Fix cursor height in safari --- components/select/style/index.less | 1 + 1 file changed, 1 insertion(+) diff --git a/components/select/style/index.less b/components/select/style/index.less index 45aba5a454..91ac77accd 100644 --- a/components/select/style/index.less +++ b/components/select/style/index.less @@ -258,6 +258,7 @@ background: transparent; outline: 0; border-radius: @border-radius-base; + line-height: 1; } .@{select-prefix-cls}-search__field__mirror { From c66062edb4a9ba24405750ff4bf017731960aca1 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 22 Sep 2017 20:35:30 +0800 Subject: [PATCH 4/4] Fix input compact style --- components/input/style/mixin.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/input/style/mixin.less b/components/input/style/mixin.less index 09f6299ac5..95a3c58200 100644 --- a/components/input/style/mixin.less +++ b/components/input/style/mixin.less @@ -251,7 +251,7 @@ } &&-compact { - display: inline-block; + display: block; .clearfix; & > * {