bump 2.0.0-rc.6

pull/3454/head 2.0.0-rc.6
tangjinzhou 2020-12-27 19:06:54 +08:00
parent adc6afb8fd
commit efa477a3b0
8 changed files with 91 additions and 5 deletions

View File

@ -10,6 +10,23 @@
--- ---
## 2.0.0-rc.6
`2020-12-27`
- ๐ŸŒŸ Support Less 4 [#3449](https://github.com/vueComponent/ant-design-vue/issues/3449)
- ๐ŸŒŸ Added Image component [#3235](https://github.com/vueComponent/ant-design-vue/issues/3235)
- ๐ŸŒŸ Functional component, add displayName attribute [#3445](https://github.com/vueComponent/ant-design-vue/issues/3445)
- ๐Ÿž Message adds custom class style function [#3443](https://github.com/vueComponent/ant-design-vue/issues/3443)
- ๐Ÿž Fix the initial disabled state of the Tabs component does not take effect [#3366](https://github.com/vueComponent/ant-design-vue/issues/3366)
- ๐Ÿž Fix Slider accuracy issue [#3346](https://github.com/vueComponent/ant-design-vue/issues/3346)
- ๐Ÿž Fix the incorrect scroll height of Select [#3419](https://github.com/vueComponent/ant-design-vue/issues/3419)
- ๐Ÿž Fix the problem that Input small is too small and the height is 2px [#3396](https://github.com/vueComponent/ant-design-vue/issues/3396)
- ๐Ÿž Fix the problem that TreeSelect triggers two change events
- ๐Ÿž Fix the endless loop problem of TreeSelect defining title through slot
- ๐Ÿž Fix the problem that Drawer handle slot triggers two click events
- ๐ŸŒŸ Added Checkbox and Switch event declaration
## 2.0.0-rc.5 ## 2.0.0-rc.5
`2020-12-13` `2020-12-13`

View File

@ -10,6 +10,23 @@
--- ---
## 2.0.0-rc.6
`2020-12-27`
- ๐ŸŒŸ ๆ”ฏๆŒ Less 4 [#3449](https://github.com/vueComponent/ant-design-vue/issues/3449)
- ๐ŸŒŸ ๆ–ฐๅขž Image ็ป„ไปถ [#3235](https://github.com/vueComponent/ant-design-vue/issues/3235)
- ๐ŸŒŸ ๅ‡ฝๆ•ฐๅผ็ป„ไปถ๏ผŒๆทปๅŠ  displayName ๅฑžๆ€ง [#3445](https://github.com/vueComponent/ant-design-vue/issues/3445)
- ๐Ÿž Message ๆ–ฐๅขž่‡ชๅฎšไน‰ class style ๅŠŸ่ƒฝ [#3443](https://github.com/vueComponent/ant-design-vue/issues/3443)
- ๐Ÿž ไฟฎๅค Tabs ็ป„ไปถๅˆๅง‹ disabled ็Šถๆ€ๆฒก็”Ÿๆ•ˆ [#3366](https://github.com/vueComponent/ant-design-vue/issues/3366)
- ๐Ÿž ไฟฎๅค Slider ็ฒพๅ‡†ๅบฆ้—ฎ้ข˜ [#3346](https://github.com/vueComponent/ant-design-vue/issues/3346)
- ๐Ÿž ไฟฎๅค Select ๆปšๅŠจ้ซ˜ๅบฆไธๆญฃ็กฎ้—ฎ้ข˜ [#3419](https://github.com/vueComponent/ant-design-vue/issues/3419)
- ๐Ÿž ไฟฎๅค Input small ๅคงๅฐๆ—ถ๏ผŒ้ซ˜ๅบฆๅๅคง 2px ้—ฎ้ข˜ [#3396](https://github.com/vueComponent/ant-design-vue/issues/3396)
- ๐Ÿž ไฟฎๅค TreeSelect ่งฆๅ‘ไธคๆฌก change ไบ‹ไปถ้—ฎ้ข˜
- ๐Ÿž ไฟฎๅค TreeSelect ้€š่ฟ‡ slot ๅฎšไน‰ title ๆญปๅพช็Žฏ้—ฎ้ข˜
- ๐Ÿž ไฟฎๅค Drawer handle slot ่งฆๅ‘ไธคๆฌก click ไบ‹ไปถ้—ฎ้ข˜
- ๐ŸŒŸ ๆ–ฐๅขž Checkboxใ€Switch ไบ‹ไปถๅฃฐๆ˜Ž
## 2.0.0-rc.5 ## 2.0.0-rc.5
`2020-12-13` `2020-12-13`

@ -1 +1 @@
Subproject commit ea0def709e64f3d312ec46b2d5369542e2224628 Subproject commit ac98f90e5fe922fb787559eb81b06f39ed2c8a39

View File

@ -0,0 +1,52 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./antdv-demo/docs/image/demo/basic.md correctly 1`] = `
<div class="ant-image" style="width: 200px;"><img class="ant-image-img" src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png">
<!---->
<!---->
</div>
<!---->
`;
exports[`renders ./antdv-demo/docs/image/demo/fallback.md correctly 1`] = `
<div class="ant-image" style="width: 200px; height: 200px;"><img class="ant-image-img" src="error">
<!---->
<!---->
</div>
<!---->
`;
exports[`renders ./antdv-demo/docs/image/demo/placeholder.md correctly 1`] = `
<div class="ant-space ant-space-horizontal ant-space-align-center">
<div class="ant-space-item" style="margin-right: 12px;">
<div class="ant-image" style="width: 200px;"><img class="ant-image-img" src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png?1479744000000">
<div aria-hidden="true" class="ant-image-placeholder">
<div class="ant-image" style="width: 200px;"><img class="ant-image-img" src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png?x-oss-process=image/blur,r_50,s_50/quality,q_1/resize,m_mfit,h_200,w_200">
<!---->
<!---->
</div>
<!---->
</div>
<!---->
</div>
<!---->
</div>
<div class="ant-space-item"><button class="ant-btn ant-btn-primary" type="button">
<!----><span>reload</span>
</button></div>
</div>
`;
exports[`renders ./antdv-demo/docs/image/demo/previewGroup.md correctly 1`] = `
<div class="ant-image" style="width: 200px;"><img class="ant-image-img" src="https://qn.antdv.com/vue.png">
<!---->
<!---->
</div>
<!---->
<div class="ant-image" style="width: 200px;"><img class="ant-image-img" src="https://qn.antdv.com/logo.png">
<!---->
<!---->
</div>
<!---->
<!---->
`;

View File

@ -61,9 +61,9 @@ const generateId = (() => {
export default defineComponent({ export default defineComponent({
name: 'ALayoutSider', name: 'ALayoutSider',
mixins: [BaseMixin],
inheritAttrs: false, inheritAttrs: false,
__ANT_LAYOUT_SIDER: true, __ANT_LAYOUT_SIDER: true,
mixins: [BaseMixin],
props: initDefaultProps(SiderProps, { props: initDefaultProps(SiderProps, {
collapsible: false, collapsible: false,
defaultCollapsed: false, defaultCollapsed: false,

View File

@ -26,7 +26,7 @@ const Switch = defineComponent({
loading: PropTypes.looseBool, loading: PropTypes.looseBool,
change: PropTypes.func, change: PropTypes.func,
click: PropTypes.func, click: PropTypes.func,
'onUpdate:checked': PropTypes.func 'onUpdate:checked': PropTypes.func,
}, },
emits: ['change', 'click', 'update:checked'], emits: ['change', 'click', 'update:checked'],
setup() { setup() {

View File

@ -15,7 +15,7 @@ import {
isNumeric, isNumeric,
} from './utils'; } from './utils';
import supportsPassive from '../../_util/supportsPassive'; import supportsPassive from '../../_util/supportsPassive';
import { cloneElement } from 'ant-design-vue/es/_util/vnode'; import { cloneElement } from '../../_util/vnode';
function noop() {} function noop() {}

View File

@ -1,6 +1,6 @@
{ {
"name": "ant-design-vue", "name": "ant-design-vue",
"version": "2.0.0-rc.5", "version": "2.0.0-rc.6",
"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": [