Merge remote-tracking branch 'origin/next' into feat-css-var
commit
41d8d0ec0f
|
@ -10,6 +10,14 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## 3.0.0-beta.13
|
||||||
|
|
||||||
|
`2022-03-04`
|
||||||
|
|
||||||
|
- 🌟 Optimize the animation after Menu overflow to avoid flickering
|
||||||
|
- 🐞 Fix the issue of automatic parse when inputting invalid values when using dateFns [#5302](https://github.com/vueComponent/ant-design-vue/issues/5302)
|
||||||
|
- 🐞 Fix `Carousel` click error when using image [#5299](https://github.com/vueComponent/ant-design-vue/issues/5299)
|
||||||
|
|
||||||
## 3.0.0-beta.12
|
## 3.0.0-beta.12
|
||||||
|
|
||||||
`2022-03-02`
|
`2022-03-02`
|
||||||
|
|
|
@ -10,6 +10,14 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## 3.0.0-beta.13
|
||||||
|
|
||||||
|
`2022-03-04`
|
||||||
|
|
||||||
|
- 🌟 优化 Menu overflow 后动画,避免闪动
|
||||||
|
- 🐞 修复日期组件使用 dateFns 时,输入不合法值时自动 parse 问题 [#5302](https://github.com/vueComponent/ant-design-vue/issues/5302)
|
||||||
|
- 🐞 修复 `Carousel` 使用图片时点击报错问题 [#5299](https://github.com/vueComponent/ant-design-vue/issues/5299)
|
||||||
|
|
||||||
## 3.0.0-beta.12
|
## 3.0.0-beta.12
|
||||||
|
|
||||||
`2022-03-02`
|
`2022-03-02`
|
||||||
|
|
|
@ -105,7 +105,7 @@ const generateConfig: GenerateConfig<Date> = {
|
||||||
const date = parseDate(formatText, format, new Date(), {
|
const date = parseDate(formatText, format, new Date(), {
|
||||||
locale: Locale[dealLocal(locale)],
|
locale: Locale[dealLocal(locale)],
|
||||||
});
|
});
|
||||||
if (isValid(date) && isMatch(formatText, format)) {
|
if (isValid(date) && formatText.length === format.length && isMatch(formatText, format)) {
|
||||||
return date;
|
return date;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -309,7 +309,7 @@ export const keyHandler = (e, accessibility, rtl) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
export const swipeStart = (e, swipe, draggable) => {
|
export const swipeStart = (e, swipe, draggable) => {
|
||||||
e.target.tagName === 'IMG' && safePreventDefault.preventDefault();
|
e.target.tagName === 'IMG' && safePreventDefault(e);
|
||||||
if (!swipe || (!draggable && e.type.indexOf('mouse') !== -1)) return '';
|
if (!swipe || (!draggable && e.type.indexOf('mouse') !== -1)) return '';
|
||||||
return {
|
return {
|
||||||
dragging: true,
|
dragging: true,
|
||||||
|
|
|
@ -108,7 +108,7 @@ export default defineComponent({
|
||||||
};
|
};
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
[motion.value, status],
|
[motion, status],
|
||||||
() => {
|
() => {
|
||||||
if (!motion.value && status.value === 'motion') {
|
if (!motion.value && status.value === 'motion') {
|
||||||
goNextStatus();
|
goNextStatus();
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "ant-design-vue",
|
"name": "ant-design-vue",
|
||||||
"version": "3.0.0-beta.12",
|
"version": "3.0.0-beta.13",
|
||||||
"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