parent
adc6afb8fd
commit
efa477a3b0
|
@ -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`
|
||||||
|
|
|
@ -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
|
|
@ -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>
|
||||||
|
<!---->
|
||||||
|
<!---->
|
||||||
|
`;
|
|
@ -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,
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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() {}
|
||||||
|
|
||||||
|
|
|
@ -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": [
|
||||||
|
|
Loadingโฆ
Reference in New Issue