release 1.6.0

pull/2247/head^2 1.6.0
tanjinzhou 2020-05-15 14:09:19 +08:00
parent 1d3fe0f307
commit d499fe031e
10 changed files with 51 additions and 6 deletions

View File

@ -10,6 +10,22 @@
--- ---
## 1.6.0
`2020-05-15`
- ๐ŸŒŸ Tootip supports custom components [741897](https://github.com/vueComponent/ant-design-vue/commit/741897be6742c752f0b0d29481add702ee7e7fb0)
- ๐Ÿž 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)
- ๐Ÿž Fix Select option focus border style in Input.Group [#2224](https://github.com/vueComponent/ant-design-vue/pull/2224)
- ๐Ÿž Fix Cascader option icon color when disabled [#2223](https://github.com/vueComponent/ant-design-vue/pull/2223)
- ๐Ÿž Fix DatePicker color when separator is disabled [#2222](https://github.com/vueComponent/ant-design-vue/pull/2222)
- ๐Ÿž Fix Carousel keyboard switch to Radio / Checkbox on inactive slide.
- ๐Ÿž 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)
- ๐Ÿž Fix the failure of Table `column.filtered`.
- ๐Ÿž Fix the style problem of Input in Safari browser in Select `multiple` mode. [#22586](https://github.com/ant-design/ant-design/pull/22586)
- ๐Ÿž Fix the problem that Descriptions can not adapt in small size. [#22407](https://github.com/ant-design/ant-design/pull/22407)
## 1.5.6 ## 1.5.6
`2020-05-09` `2020-05-09`
@ -205,7 +221,7 @@
`2019-11-27` `2019-11-27`
- ๐ŸŒŸ `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) - ๐ŸŒŸ `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)
- ๐Ÿž Fix `ConfigProvider` reporting error in Vue 2.5 [309baa](https://github.com/vueComponent/ant-design-vue/commit/309baa138a9c9a1885c17ef636c9132349024359) - ๐Ÿž Fix `ConfigProvider` reporting error in Vue 2.5 [309baa](https://github.com/vueComponent/ant-design-vue/commit/309baa138a9c9a1885c17ef636c9132349024359)
- ๐Ÿž Fix `Menu` click event is triggered twice [#1450](https://github.com/vueComponent/ant-design-vue/issues/1427) - ๐Ÿž Fix `Menu` click event is triggered twice [#1450](https://github.com/vueComponent/ant-design-vue/issues/1427)
- ๐Ÿž Fix incorrect width of input box in `Select` [#1458](https://github.com/vueComponent/ant-design-vue/issues/1458) - ๐Ÿž Fix incorrect width of input box in `Select` [#1458](https://github.com/vueComponent/ant-design-vue/issues/1458)

View File

@ -10,6 +10,21 @@
--- ---
## 1.6.0
`2020-05-15`
- ๐ŸŒŸ Tootip ๆ”ฏๆŒ่‡ชๅฎšไน‰็ป„ไปถ [741897](https://github.com/vueComponent/ant-design-vue/commit/741897be6742c752f0b0d29481add702ee7e7fb0)
- ๐Ÿž ้‡ๆž„ Modalใ€Drawer ๅบ•ๅฑ‚ Portal ็ป„ไปถ๏ผŒ่งฃๅ†ณ Modalใ€Drawer ๅ†…ๅฎนๆ›ดๆ–ฐๅปถ่ฟŸ้—ฎ้ข˜ [#2244](https://github.com/vueComponent/ant-design-vue/issues/2244)
- ๐Ÿž ไฟฎๅค Input.Group ไธญ Select ้€‰้กน focus ่พนๆก†ๆ ทๅผ [#2224](https://github.com/vueComponent/ant-design-vue/pull/2224)
- ๐Ÿž ไฟฎๅค Cascader ้€‰้กนๅ›พๆ ‡็ฆ็”จๆ—ถ็š„้ขœ่‰ฒ [#2223](https://github.com/vueComponent/ant-design-vue/pull/2223)
- ๐Ÿž ไฟฎๅค DatePicker ๅˆ†้š”็ฌฆ็ฆ็”จๆ—ถ้ขœ่‰ฒ [#2222](https://github.com/vueComponent/ant-design-vue/pull/2222)
- ๐Ÿž ไฟฎๅค Carousel ้”ฎ็›˜ๅˆ‡ๆขๅˆฐ้žๆดป่ทƒ slide ไธŠ็š„ Radio/Checkbox ็š„้—ฎ้ข˜ใ€‚
- ๐Ÿž ไฟฎๅค Table ็ญ›้€‰่œๅ•ๅœจ less ็‰ˆๆœฌไธบ `2.x` ๆ—ถไธๆ˜พ็คบ็š„้—ฎ้ข˜ใ€‚[#23272](https://github.com/ant-design/ant-design/pull/23272)
- ๐Ÿž ไฟฎๅค Table `column.filtered` ๅคฑๆ•ˆ็š„้—ฎ้ข˜ใ€‚
- ๐Ÿž ไฟฎๅค Select `multiple` ๆจกๅผไธ‹๏ผŒInput ๅœจ Safari ๆต่งˆๅ™จ็š„ๆ ทๅผ้—ฎ้ข˜ใ€‚[#22586](https://github.com/ant-design/ant-design/pull/22586)
- ๐Ÿž ไฟฎๅค Descriptions ๅœจๅฐๅฐบๅฏธไธ‹ๆ— ๆณ•่‡ช้€‚ๅบ”็š„้—ฎ้ข˜ใ€‚[#22407](https://github.com/ant-design/ant-design/pull/22407)
## 1.5.6 ## 1.5.6
`2020-05-09` `2020-05-09`

View File

@ -100,6 +100,8 @@ const Affix = {
clearTimeout(this.timeout); clearTimeout(this.timeout);
removeObserveTarget(this); removeObserveTarget(this);
this.updatePosition.cancel(); this.updatePosition.cancel();
// https://github.com/ant-design/ant-design/issues/22683
this.lazyUpdatePosition.cancel();
}, },
methods: { methods: {
getOffsetTop() { getOffsetTop() {

View File

@ -31,8 +31,19 @@
.slick-slide { .slick-slide {
pointer-events: none; pointer-events: none;
// https://github.com/ant-design/ant-design/issues/23294
input.@{ant-prefix}-radio-input,
input.@{ant-prefix}-checkbox-input {
visibility: hidden;
}
&.slick-active { &.slick-active {
pointer-events: auto; pointer-events: auto;
input.@{ant-prefix}-radio-input,
input.@{ant-prefix}-checkbox-input {
visibility: visible;
}
} }
} }
} }

View File

@ -1,5 +1,4 @@
import Modal from '..'; import Modal from '..';
import { asyncExpect } from '@/tests/utils';
import { sleep } from '../../../tests/utils'; import { sleep } from '../../../tests/utils';
const { confirm } = Modal; const { confirm } = Modal;

View File

@ -310,6 +310,7 @@
.@{select-prefix-cls}-search__field { .@{select-prefix-cls}-search__field {
width: 0.75em; width: 0.75em;
max-width: 100%; max-width: 100%;
padding: 1px;
} }
} }

View File

@ -216,7 +216,7 @@ export default {
filterIcon = filterIcon(filtered, column); filterIcon = filterIcon(filtered, column);
} }
const dropdownIconClass = classNames({ const dropdownIconClass = classNames({
[`${prefixCls}-selected`]: filtered, [`${prefixCls}-selected`]: 'filtered' in column ? column.filtered : filtered,
[`${prefixCls}-open`]: this.getDropdownVisible(), [`${prefixCls}-open`]: this.getDropdownVisible(),
}); });
if (!filterIcon) { if (!filterIcon) {

View File

@ -36,6 +36,7 @@ export const ColumnProps = {
fixed: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['left', 'right'])]), fixed: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['left', 'right'])]),
filterIcon: PropTypes.any, filterIcon: PropTypes.any,
filteredValue: PropTypes.array, filteredValue: PropTypes.array,
filtered: PropTypes.bool,
defaultFilteredValue: PropTypes.array, defaultFilteredValue: PropTypes.array,
sortOrder: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['ascend', 'descend'])]), sortOrder: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['ascend', 'descend'])]),
sortDirections: PropTypes.array, sortDirections: PropTypes.array,

View File

@ -75,7 +75,7 @@
} }
} }
.@{table-prefix-cls}-filter-selected.@{iconfont-css-prefix}-filter { .@{table-prefix-cls}-filter-selected.@{iconfont-css-prefix} {
color: @primary-color; color: @primary-color;
} }
@ -447,7 +447,7 @@
.@{ant-prefix}-dropdown-menu { .@{ant-prefix}-dropdown-menu {
// https://github.com/ant-design/ant-design/issues/4916 // https://github.com/ant-design/ant-design/issues/4916
// https://github.com/ant-design/ant-design/issues/19542 // https://github.com/ant-design/ant-design/issues/19542
max-height: calc(100vh - 130px); max-height: ~'calc(100vh - 130px)';
overflow-x: hidden; overflow-x: hidden;
border: 0; border: 0;
border-radius: @border-radius-base @border-radius-base 0 0; border-radius: @border-radius-base @border-radius-base 0 0;

View File

@ -1,6 +1,6 @@
{ {
"name": "ant-design-vue", "name": "ant-design-vue",
"version": "1.5.6", "version": "1.6.0",
"title": "Ant Design Vue", "title": "Ant Design Vue",
"description": "An enterprise-class UI design language and Vue-based implementation", "description": "An enterprise-class UI design language and Vue-based implementation",
"keywords": [ "keywords": [