Skip to content

Commit d499fe0

Browse files
committed
release 1.6.0
1 parent 1d3fe0f commit d499fe0

File tree

10 files changed

+51
-6
lines changed

10 files changed

+51
-6
lines changed

CHANGELOG.en-US.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,22 @@
1010

1111
---
1212

13+
14+
## 1.6.0
15+
16+
`2020-05-15`
17+
18+
- 🌟 Tootip supports custom components [741897](https://github.com/vueComponent/ant-design-vue/commit/741897be6742c752f0b0d29481add702ee7e7fb0)
19+
- 🐞 Refactor Modal's underlying Portal components to solve the problem of delayed content update in Modal [#2244](https://github.com/vueComponent/ant-design-vue/issues/2244)
20+
- 🐞 Fix Select option focus border style in Input.Group [#2224](https://github.com/vueComponent/ant-design-vue/pull/2224)
21+
- 🐞 Fix Cascader option icon color when disabled [#2223](https://github.com/vueComponent/ant-design-vue/pull/2223)
22+
- 🐞 Fix DatePicker color when separator is disabled [#2222](https://github.com/vueComponent/ant-design-vue/pull/2222)
23+
- 🐞 Fix Carousel keyboard switch to Radio / Checkbox on inactive slide.
24+
- 🐞 Fix the problem that Table filter menu is not displayed when less version is `2.x`. [#23272](https://github.com/ant-design/ant-design/pull/23272)
25+
- 🐞 Fix the failure of Table `column.filtered`.
26+
- 🐞 Fix the style problem of Input in Safari browser in Select `multiple` mode. [#22586](https://github.com/ant-design/ant-design/pull/22586)
27+
- 🐞 Fix the problem that Descriptions can not adapt in small size. [#22407](https://github.com/ant-design/ant-design/pull/22407)
28+
1329
## 1.5.6
1430

1531
`2020-05-09`
@@ -205,7 +221,7 @@
205221

206222
`2019-11-27`
207223

208-
- 🌟 `getPopupContainer` of`ConfigProvider` Added popup context as the second parameter for uniform configuration of `getPopupContainer` in`Modal` [7a3c88] (https://github.com/vueComponent/ant-design -vue / commit / 7a3c88107598b4b1cf6842d3254b43dc26103c14)
224+
- 🌟 `getPopupContainer` of`ConfigProvider` Added popup context as the second parameter for uniform configuration of `getPopupContainer` in`Modal` [7a3c88](https://github.com/vueComponent/ant-design -vue / commit / 7a3c88107598b4b1cf6842d3254b43dc26103c14)
209225
- 🐞 Fix `ConfigProvider` reporting error in Vue 2.5 [309baa](https://github.com/vueComponent/ant-design-vue/commit/309baa138a9c9a1885c17ef636c9132349024359)
210226
- 🐞 Fix `Menu` click event is triggered twice [#1450](https://github.com/vueComponent/ant-design-vue/issues/1427)
211227
- 🐞 Fix incorrect width of input box in `Select` [#1458](https://github.com/vueComponent/ant-design-vue/issues/1458)

CHANGELOG.zh-CN.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,21 @@
1010

1111
---
1212

13+
## 1.6.0
14+
15+
`2020-05-15`
16+
17+
- 🌟 Tootip 支持自定义组件 [741897](https://github.com/vueComponent/ant-design-vue/commit/741897be6742c752f0b0d29481add702ee7e7fb0)
18+
- 🐞 重构 Modal、Drawer 底层 Portal 组件,解决 Modal、Drawer 内容更新延迟问题 [#2244](https://github.com/vueComponent/ant-design-vue/issues/2244)
19+
- 🐞 修复 Input.Group 中 Select 选项 focus 边框样式 [#2224](https://github.com/vueComponent/ant-design-vue/pull/2224)
20+
- 🐞 修复 Cascader 选项图标禁用时的颜色 [#2223](https://github.com/vueComponent/ant-design-vue/pull/2223)
21+
- 🐞 修复 DatePicker 分隔符禁用时颜色 [#2222](https://github.com/vueComponent/ant-design-vue/pull/2222)
22+
- 🐞 修复 Carousel 键盘切换到非活跃 slide 上的 Radio/Checkbox 的问题。
23+
- 🐞 修复 Table 筛选菜单在 less 版本为 `2.x` 时不显示的问题。[#23272](https://github.com/ant-design/ant-design/pull/23272)
24+
- 🐞 修复 Table `column.filtered` 失效的问题。
25+
- 🐞 修复 Select `multiple` 模式下,Input 在 Safari 浏览器的样式问题。[#22586](https://github.com/ant-design/ant-design/pull/22586)
26+
- 🐞 修复 Descriptions 在小尺寸下无法自适应的问题。[#22407](https://github.com/ant-design/ant-design/pull/22407)
27+
1328
## 1.5.6
1429

1530
`2020-05-09`

components/affix/index.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ const Affix = {
100100
clearTimeout(this.timeout);
101101
removeObserveTarget(this);
102102
this.updatePosition.cancel();
103+
// https://github.com/ant-design/ant-design/issues/22683
104+
this.lazyUpdatePosition.cancel();
103105
},
104106
methods: {
105107
getOffsetTop() {

components/carousel/style/index.less

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,19 @@
3131
.slick-slide {
3232
pointer-events: none;
3333

34+
// https://github.com/ant-design/ant-design/issues/23294
35+
input.@{ant-prefix}-radio-input,
36+
input.@{ant-prefix}-checkbox-input {
37+
visibility: hidden;
38+
}
39+
3440
&.slick-active {
3541
pointer-events: auto;
42+
43+
input.@{ant-prefix}-radio-input,
44+
input.@{ant-prefix}-checkbox-input {
45+
visibility: visible;
46+
}
3647
}
3748
}
3849
}

components/modal/__tests__/confirm.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import Modal from '..';
2-
import { asyncExpect } from '@/tests/utils';
32
import { sleep } from '../../../tests/utils';
43
const { confirm } = Modal;
54

components/select/style/index.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@
310310
.@{select-prefix-cls}-search__field {
311311
width: 0.75em;
312312
max-width: 100%;
313+
padding: 1px;
313314
}
314315
}
315316

components/table/filterDropdown.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export default {
216216
filterIcon = filterIcon(filtered, column);
217217
}
218218
const dropdownIconClass = classNames({
219-
[`${prefixCls}-selected`]: filtered,
219+
[`${prefixCls}-selected`]: 'filtered' in column ? column.filtered : filtered,
220220
[`${prefixCls}-open`]: this.getDropdownVisible(),
221221
});
222222
if (!filterIcon) {

components/table/interface.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const ColumnProps = {
3636
fixed: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['left', 'right'])]),
3737
filterIcon: PropTypes.any,
3838
filteredValue: PropTypes.array,
39+
filtered: PropTypes.bool,
3940
defaultFilteredValue: PropTypes.array,
4041
sortOrder: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['ascend', 'descend'])]),
4142
sortDirections: PropTypes.array,

components/table/style/index.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
}
7676
}
7777

78-
.@{table-prefix-cls}-filter-selected.@{iconfont-css-prefix}-filter {
78+
.@{table-prefix-cls}-filter-selected.@{iconfont-css-prefix} {
7979
color: @primary-color;
8080
}
8181

@@ -447,7 +447,7 @@
447447
.@{ant-prefix}-dropdown-menu {
448448
// https://github.com/ant-design/ant-design/issues/4916
449449
// https://github.com/ant-design/ant-design/issues/19542
450-
max-height: calc(100vh - 130px);
450+
max-height: ~'calc(100vh - 130px)';
451451
overflow-x: hidden;
452452
border: 0;
453453
border-radius: @border-radius-base @border-radius-base 0 0;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ant-design-vue",
3-
"version": "1.5.6",
3+
"version": "1.6.0",
44
"title": "Ant Design Vue",
55
"description": "An enterprise-class UI design language and Vue-based implementation",
66
"keywords": [

0 commit comments

Comments
 (0)