Skip to content

Commit efa477a

Browse files
committed
bump 2.0.0-rc.6
1 parent adc6afb commit efa477a

File tree

8 files changed

+91
-5
lines changed

8 files changed

+91
-5
lines changed

CHANGELOG.en-US.md

+17
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,23 @@
1010

1111
---
1212

13+
## 2.0.0-rc.6
14+
15+
`2020-12-27`
16+
17+
- 🌟 Support Less 4 [#3449](https://github.com/vueComponent/ant-design-vue/issues/3449)
18+
- 🌟 Added Image component [#3235](https://github.com/vueComponent/ant-design-vue/issues/3235)
19+
- 🌟 Functional component, add displayName attribute [#3445](https://github.com/vueComponent/ant-design-vue/issues/3445)
20+
- 🐞 Message adds custom class style function [#3443](https://github.com/vueComponent/ant-design-vue/issues/3443)
21+
- 🐞 Fix the initial disabled state of the Tabs component does not take effect [#3366](https://github.com/vueComponent/ant-design-vue/issues/3366)
22+
- 🐞 Fix Slider accuracy issue [#3346](https://github.com/vueComponent/ant-design-vue/issues/3346)
23+
- 🐞 Fix the incorrect scroll height of Select [#3419](https://github.com/vueComponent/ant-design-vue/issues/3419)
24+
- 🐞 Fix the problem that Input small is too small and the height is 2px [#3396](https://github.com/vueComponent/ant-design-vue/issues/3396)
25+
- 🐞 Fix the problem that TreeSelect triggers two change events
26+
- 🐞 Fix the endless loop problem of TreeSelect defining title through slot
27+
- 🐞 Fix the problem that Drawer handle slot triggers two click events
28+
- 🌟 Added Checkbox and Switch event declaration
29+
1330
## 2.0.0-rc.5
1431

1532
`2020-12-13`

CHANGELOG.zh-CN.md

+17
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,23 @@
1010

1111
---
1212

13+
## 2.0.0-rc.6
14+
15+
`2020-12-27`
16+
17+
- 🌟 支持 Less 4 [#3449](https://github.com/vueComponent/ant-design-vue/issues/3449)
18+
- 🌟 新增 Image 组件 [#3235](https://github.com/vueComponent/ant-design-vue/issues/3235)
19+
- 🌟 函数式组件,添加 displayName 属性 [#3445](https://github.com/vueComponent/ant-design-vue/issues/3445)
20+
- 🐞 Message 新增自定义 class style 功能 [#3443](https://github.com/vueComponent/ant-design-vue/issues/3443)
21+
- 🐞 修复 Tabs 组件初始 disabled 状态没生效 [#3366](https://github.com/vueComponent/ant-design-vue/issues/3366)
22+
- 🐞 修复 Slider 精准度问题 [#3346](https://github.com/vueComponent/ant-design-vue/issues/3346)
23+
- 🐞 修复 Select 滚动高度不正确问题 [#3419](https://github.com/vueComponent/ant-design-vue/issues/3419)
24+
- 🐞 修复 Input small 大小时,高度偏大 2px 问题 [#3396](https://github.com/vueComponent/ant-design-vue/issues/3396)
25+
- 🐞 修复 TreeSelect 触发两次 change 事件问题
26+
- 🐞 修复 TreeSelect 通过 slot 定义 title 死循环问题
27+
- 🐞 修复 Drawer handle slot 触发两次 click 事件问题
28+
- 🌟 新增 Checkbox、Switch 事件声明
29+
1330
## 2.0.0-rc.5
1431

1532
`2020-12-13`

antdv-demo

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`renders ./antdv-demo/docs/image/demo/basic.md correctly 1`] = `
4+
<div class="ant-image" style="width: 200px;"><img class="ant-image-img" src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png">
5+
<!---->
6+
<!---->
7+
</div>
8+
<!---->
9+
`;
10+
11+
exports[`renders ./antdv-demo/docs/image/demo/fallback.md correctly 1`] = `
12+
<div class="ant-image" style="width: 200px; height: 200px;"><img class="ant-image-img" src="error">
13+
<!---->
14+
<!---->
15+
</div>
16+
<!---->
17+
`;
18+
19+
exports[`renders ./antdv-demo/docs/image/demo/placeholder.md correctly 1`] = `
20+
<div class="ant-space ant-space-horizontal ant-space-align-center">
21+
<div class="ant-space-item" style="margin-right: 12px;">
22+
<div class="ant-image" style="width: 200px;"><img class="ant-image-img" src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png?1479744000000">
23+
<div aria-hidden="true" class="ant-image-placeholder">
24+
<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">
25+
<!---->
26+
<!---->
27+
</div>
28+
<!---->
29+
</div>
30+
<!---->
31+
</div>
32+
<!---->
33+
</div>
34+
<div class="ant-space-item"><button class="ant-btn ant-btn-primary" type="button">
35+
<!----><span>reload</span>
36+
</button></div>
37+
</div>
38+
`;
39+
40+
exports[`renders ./antdv-demo/docs/image/demo/previewGroup.md correctly 1`] = `
41+
<div class="ant-image" style="width: 200px;"><img class="ant-image-img" src="https://qn.antdv.com/vue.png">
42+
<!---->
43+
<!---->
44+
</div>
45+
<!---->
46+
<div class="ant-image" style="width: 200px;"><img class="ant-image-img" src="https://qn.antdv.com/logo.png">
47+
<!---->
48+
<!---->
49+
</div>
50+
<!---->
51+
<!---->
52+
`;

components/layout/Sider.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ const generateId = (() => {
6161

6262
export default defineComponent({
6363
name: 'ALayoutSider',
64+
mixins: [BaseMixin],
6465
inheritAttrs: false,
6566
__ANT_LAYOUT_SIDER: true,
66-
mixins: [BaseMixin],
6767
props: initDefaultProps(SiderProps, {
6868
collapsible: false,
6969
defaultCollapsed: false,

components/switch/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const Switch = defineComponent({
2626
loading: PropTypes.looseBool,
2727
change: PropTypes.func,
2828
click: PropTypes.func,
29-
'onUpdate:checked': PropTypes.func
29+
'onUpdate:checked': PropTypes.func,
3030
},
3131
emits: ['change', 'click', 'update:checked'],
3232
setup() {

components/vc-drawer/src/Drawer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
isNumeric,
1616
} from './utils';
1717
import supportsPassive from '../../_util/supportsPassive';
18-
import { cloneElement } from 'ant-design-vue/es/_util/vnode';
18+
import { cloneElement } from '../../_util/vnode';
1919

2020
function noop() {}
2121

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ant-design-vue",
3-
"version": "2.0.0-rc.5",
3+
"version": "2.0.0-rc.6",
44
"title": "Ant Design Vue",
55
"description": "An enterprise-class UI design language and Vue-based implementation",
66
"keywords": [

0 commit comments

Comments
 (0)