@noction/vue-bezier 1.10.0 → 1.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/style.css +1 -1
- package/dist/types/components/Collapse/CollapseTransition.vue.d.ts +1 -1
- package/dist/types/components/Fade/FadeTransition.vue.d.ts +1 -1
- package/dist/types/components/Scale/ScaleTransition.vue.d.ts +1 -1
- package/dist/types/components/Slide/SlideXLeftTransition.vue.d.ts +1 -1
- package/dist/types/components/Slide/SlideXRightTransition.vue.d.ts +1 -1
- package/dist/types/components/Slide/SlideYDownTransition.vue.d.ts +1 -1
- package/dist/types/components/Slide/SlideYUpTransition.vue.d.ts +1 -1
- package/dist/types/components/Zoom/ZoomCenterTransition.vue.d.ts +1 -1
- package/dist/types/components/Zoom/ZoomUpTransition.vue.d.ts +1 -1
- package/dist/types/components/Zoom/ZoomXTransition.vue.d.ts +1 -1
- package/dist/types/components/Zoom/ZoomYTransition.vue.d.ts +1 -1
- package/dist/vue-bezier.js +184 -198
- package/dist/web-types.json +8 -8
- package/package.json +20 -21
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019-PRESENT Noction<sales@noction.com>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.collapse-move{transition:transform .3s ease-in-out}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}.fade-
|
|
1
|
+
.noc-collapse-move{transition:transform .3s ease-in-out}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}.noc-fade-enter-active{animation-name:fade-in}.noc-fade-leave-active{animation-name:fade-out}.noc-fade-move{transition:transform .35s ease-out}@keyframes scale-in{0%{opacity:0;transform:scale(0)}to{opacity:1}}@keyframes scale-out{0%{opacity:1}to{opacity:0;transform:scale(0)}}.noc-scale-enter-active{animation-name:scale-in}.noc-scale-leave-active{animation-name:scale-out}.noc-scale-move{transition:transform .3s cubic-bezier(.25,.8,.5,1)}@keyframes slide-x-left-in{0%{opacity:0;transform:translate(-15px)}to{opacity:1}}@keyframes slide-x-left-out{0%{opacity:1}to{opacity:0;transform:translate(-15px)}}.noc-slide-left-enter-active{animation-name:slide-x-left-in}.noc-slide-left-leave-active{animation-name:slide-x-left-out}.noc-slide-left-move{transition:transform .3s ease-out}@keyframes slide-x-right-in{0%{opacity:0;transform:translate(15px)}to{opacity:1}}@keyframes slide-x-right-out{0%{opacity:1}to{opacity:0;transform:translate(15px)}}.noc-slide-right-enter-active{animation-name:slide-x-right-in}.noc-slide-right-leave-active{animation-name:slide-x-right-out}.noc-slide-right-move{transition:transform .3s ease-out}@keyframes slide-y-down-in{0%{opacity:0;transform:translateY(15px)}to{opacity:1}}@keyframes slide-y-down-out{0%{opacity:1}to{opacity:0;transform:translateY(15px)}}.noc-slide-down-enter-active{animation-name:slide-y-down-in}.noc-slide-down-leave-active{animation-name:slide-y-down-out}.noc-slide-down-move{transition:transform .3s ease-out}@keyframes slide-y-in{0%{opacity:0;transform:translateY(-15px)}to{opacity:1}}@keyframes slide-y-out{0%{opacity:1}to{opacity:0;transform:translateY(-15px)}}.noc-slide-up-enter-active{animation-name:slide-y-in}.noc-slide-up-leave-active{animation-name:slide-y-out}.noc-slide-up-move{transition:transform .3s ease-out}@keyframes zoom-in{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoom-out{0%{opacity:1}50%{opacity:0;transform:scale3d(.3,.3,.3)}to{opacity:0}}.noc-zoom-enter-active{animation-name:zoom-in}.noc-zoom-leave-active{animation-name:zoom-out}.noc-zoom-move{transition:transform .3s ease-out}@keyframes zoom-in-up{0%{opacity:0;transform:scaleY(0);transform-origin:top center}50%{opacity:1}to{transform:scaleY(1)}}@keyframes zoom-out-up{0%{opacity:1}50%{transform:scaleY(0)}to{opacity:0}}.noc-zoom-up-enter-active{animation-name:zoom-in-up}.noc-zoom-up-leave-active{animation-name:zoom-out-up}.noc-zoom-up-move{transition:transform .3s ease-out}@keyframes zoom-in-x{0%{opacity:0;transform:scaleX(0)}50%{opacity:1}}@keyframes zoom-out-x{0%{opacity:1}50%{opacity:0;transform:scaleX(0)}to{opacity:0}}.noc-zoom-x-enter-active{animation-name:zoom-in-x}.noc-zoom-x-leave-active{animation-name:zoom-out-x}.noc-zoom-x-move{transition:transform .3s ease-out}@keyframes zoom-in-y{0%{opacity:0;transform:scaleY(0)}50%{opacity:1;transform:scaleY(1)}}@keyframes zoom-out-y{0%{opacity:1}50%{opacity:0;transform:scaleY(0)}to{opacity:0}}.noc-zoom-y-enter-active{animation-name:zoom-in-y}.noc-zoom-y-leave-active{animation-name:zoom-out-y}.noc-zoom-y-move{transition:transform .3s ease-out}
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
"after-leave": (el: import("vue").RendererElement) => void;
|
|
16
16
|
"before-enter": (el: import("vue").RendererElement) => void;
|
|
17
17
|
"before-leave": (el: import("vue").RendererElement) => void;
|
|
18
|
-
}, string, import("vue").
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
|
|
19
19
|
delay: number;
|
|
20
20
|
duration: number;
|
|
21
21
|
group: boolean;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
"after-leave": (el: import("vue").RendererElement) => void;
|
|
16
16
|
"before-enter": (el: import("vue").RendererElement) => void;
|
|
17
17
|
"before-leave": (el: import("vue").RendererElement) => void;
|
|
18
|
-
}, string, import("vue").
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
|
|
19
19
|
delay: number;
|
|
20
20
|
duration: number;
|
|
21
21
|
group: boolean;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
"after-leave": (el: import("vue").RendererElement) => void;
|
|
16
16
|
"before-enter": (el: import("vue").RendererElement) => void;
|
|
17
17
|
"before-leave": (el: import("vue").RendererElement) => void;
|
|
18
|
-
}, string, import("vue").
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
|
|
19
19
|
delay: number;
|
|
20
20
|
duration: number;
|
|
21
21
|
group: boolean;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
"after-leave": (el: import("vue").RendererElement) => void;
|
|
16
16
|
"before-enter": (el: import("vue").RendererElement) => void;
|
|
17
17
|
"before-leave": (el: import("vue").RendererElement) => void;
|
|
18
|
-
}, string, import("vue").
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
|
|
19
19
|
delay: number;
|
|
20
20
|
duration: number;
|
|
21
21
|
group: boolean;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
"after-leave": (el: import("vue").RendererElement) => void;
|
|
16
16
|
"before-enter": (el: import("vue").RendererElement) => void;
|
|
17
17
|
"before-leave": (el: import("vue").RendererElement) => void;
|
|
18
|
-
}, string, import("vue").
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
|
|
19
19
|
delay: number;
|
|
20
20
|
duration: number;
|
|
21
21
|
group: boolean;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
"after-leave": (el: import("vue").RendererElement) => void;
|
|
16
16
|
"before-enter": (el: import("vue").RendererElement) => void;
|
|
17
17
|
"before-leave": (el: import("vue").RendererElement) => void;
|
|
18
|
-
}, string, import("vue").
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
|
|
19
19
|
delay: number;
|
|
20
20
|
duration: number;
|
|
21
21
|
group: boolean;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
"after-leave": (el: import("vue").RendererElement) => void;
|
|
16
16
|
"before-enter": (el: import("vue").RendererElement) => void;
|
|
17
17
|
"before-leave": (el: import("vue").RendererElement) => void;
|
|
18
|
-
}, string, import("vue").
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
|
|
19
19
|
delay: number;
|
|
20
20
|
duration: number;
|
|
21
21
|
group: boolean;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
"after-leave": (el: import("vue").RendererElement) => void;
|
|
16
16
|
"before-enter": (el: import("vue").RendererElement) => void;
|
|
17
17
|
"before-leave": (el: import("vue").RendererElement) => void;
|
|
18
|
-
}, string, import("vue").
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
|
|
19
19
|
delay: number;
|
|
20
20
|
duration: number;
|
|
21
21
|
group: boolean;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
"after-leave": (el: import("vue").RendererElement) => void;
|
|
16
16
|
"before-enter": (el: import("vue").RendererElement) => void;
|
|
17
17
|
"before-leave": (el: import("vue").RendererElement) => void;
|
|
18
|
-
}, string, import("vue").
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
|
|
19
19
|
delay: number;
|
|
20
20
|
duration: number;
|
|
21
21
|
group: boolean;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
"after-leave": (el: import("vue").RendererElement) => void;
|
|
16
16
|
"before-enter": (el: import("vue").RendererElement) => void;
|
|
17
17
|
"before-leave": (el: import("vue").RendererElement) => void;
|
|
18
|
-
}, string, import("vue").
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
|
|
19
19
|
delay: number;
|
|
20
20
|
duration: number;
|
|
21
21
|
group: boolean;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
"after-leave": (el: import("vue").RendererElement) => void;
|
|
16
16
|
"before-enter": (el: import("vue").RendererElement) => void;
|
|
17
17
|
"before-leave": (el: import("vue").RendererElement) => void;
|
|
18
|
-
}, string, import("vue").
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
|
|
19
19
|
delay: number;
|
|
20
20
|
duration: number;
|
|
21
21
|
group: boolean;
|
package/dist/vue-bezier.js
CHANGED
|
@@ -1,54 +1,66 @@
|
|
|
1
|
-
import { TransitionGroup as
|
|
2
|
-
const
|
|
3
|
-
function
|
|
1
|
+
import { TransitionGroup as w, Transition as A, defineComponent as f, openBlock as u, createBlock as p, resolveDynamicComponent as c, unref as l, mergeProps as m, withCtx as g, renderSlot as y } from "vue";
|
|
2
|
+
const h = (a) => a.group ? w : A;
|
|
3
|
+
function v(a, o) {
|
|
4
4
|
return typeof a == "number" ? a : typeof a == "object" && a !== null ? a[o] ?? 0 : 0;
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
|
|
8
|
-
o.style.animationDuration = `${t}ms`, o.style.animationDelay = `${n}ms`, b(a, o);
|
|
6
|
+
function B(a) {
|
|
7
|
+
return a.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
9
8
|
}
|
|
10
|
-
function
|
|
11
|
-
const
|
|
12
|
-
o.style.
|
|
9
|
+
function L(a, o) {
|
|
10
|
+
const e = v(a.duration, "enter"), n = v(a.delay, "enter");
|
|
11
|
+
o.style.setProperty("animation-duration", `${e}ms`), o.style.setProperty("animation-delay", `${n}ms`), _(a, o);
|
|
13
12
|
}
|
|
14
|
-
function
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
setTimeout(t, n + i);
|
|
13
|
+
function M(a, o) {
|
|
14
|
+
const e = v(a.duration, "leave"), n = v(a.delay, "leave");
|
|
15
|
+
o.style.setProperty("animation-duration", `${e}ms`), o.style.setProperty("animation-delay", `${n}ms`), _(a, o);
|
|
18
16
|
}
|
|
19
|
-
function
|
|
20
|
-
a
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
function F(a, o, e) {
|
|
18
|
+
P(a, o);
|
|
19
|
+
const n = v(a.duration, "leave"), i = v(a.delay, "leave");
|
|
20
|
+
setTimeout(e, n + i);
|
|
21
|
+
}
|
|
22
|
+
function $(a, o) {
|
|
23
|
+
a.styles && Object.entries(a.styles).forEach(([e]) => {
|
|
24
|
+
if (e in o.style) {
|
|
25
|
+
const n = B(e);
|
|
26
|
+
o.style.removeProperty(n);
|
|
27
|
+
}
|
|
28
|
+
}), o.style.removeProperty("animation-duration"), o.style.removeProperty("animation-delay");
|
|
23
29
|
}
|
|
24
|
-
function
|
|
25
|
-
|
|
26
|
-
|
|
30
|
+
function _(a, o) {
|
|
31
|
+
k(a, o), a.styles && Object.entries(a.styles).forEach(([e, n]) => {
|
|
32
|
+
if (e in o.style) {
|
|
33
|
+
const i = B(e);
|
|
34
|
+
o.style.setProperty(i, n);
|
|
35
|
+
}
|
|
27
36
|
});
|
|
28
37
|
}
|
|
29
|
-
function
|
|
30
|
-
a.group &&
|
|
38
|
+
function P(a, o) {
|
|
39
|
+
if (a.group && o instanceof HTMLElement) {
|
|
40
|
+
const e = getComputedStyle(o), { width: n, height: i, marginLeft: r, marginTop: s } = e, t = n !== "auto" ? parseFloat(n) : o.offsetWidth, d = i !== "auto" ? parseFloat(i) : o.offsetHeight, b = parseFloat(r), S = parseFloat(s);
|
|
41
|
+
o.style.setProperty("left", `${o.offsetLeft - b}px`, "important"), o.style.setProperty("top", `${o.offsetTop - S}px`, "important"), o.style.setProperty("width", `${t}px`, "important"), o.style.setProperty("height", `${d}px`, "important"), o.style.setProperty("position", "absolute", "important");
|
|
42
|
+
}
|
|
31
43
|
}
|
|
32
|
-
function
|
|
33
|
-
a.origin &&
|
|
44
|
+
function k(a, o) {
|
|
45
|
+
a.origin && o.style.setProperty("transform-origin", a.origin);
|
|
34
46
|
}
|
|
35
|
-
const
|
|
36
|
-
onAfterEnter: (
|
|
37
|
-
|
|
47
|
+
const T = (a, o) => ({
|
|
48
|
+
onAfterEnter: (e) => {
|
|
49
|
+
$(a, e), o("after-enter", e);
|
|
38
50
|
},
|
|
39
|
-
onAfterLeave: (
|
|
40
|
-
|
|
51
|
+
onAfterLeave: (e) => {
|
|
52
|
+
$(a, e), o("after-leave", e);
|
|
41
53
|
},
|
|
42
|
-
onBeforeEnter: (
|
|
43
|
-
|
|
54
|
+
onBeforeEnter: (e) => {
|
|
55
|
+
L(a, e), o("before-enter", e);
|
|
44
56
|
},
|
|
45
|
-
onBeforeLeave: (
|
|
46
|
-
|
|
57
|
+
onBeforeLeave: (e) => {
|
|
58
|
+
M(a, e), o("before-leave", e);
|
|
47
59
|
},
|
|
48
|
-
onLeave: (
|
|
49
|
-
|
|
60
|
+
onLeave: (e, n) => {
|
|
61
|
+
F(a, e, n), o("leave", e, n);
|
|
50
62
|
}
|
|
51
|
-
}),
|
|
63
|
+
}), C = /* @__PURE__ */ f({
|
|
52
64
|
__name: "CollapseTransition",
|
|
53
65
|
props: {
|
|
54
66
|
delay: { default: 0 },
|
|
@@ -63,41 +75,42 @@ const y = (a, o) => ({
|
|
|
63
75
|
},
|
|
64
76
|
emits: ["after-enter", "after-leave", "before-enter", "before-leave", "leave"],
|
|
65
77
|
setup(a, { emit: o }) {
|
|
66
|
-
const
|
|
67
|
-
onAfterEnter(
|
|
68
|
-
|
|
78
|
+
const e = a, n = o, i = h(e), r = {
|
|
79
|
+
onAfterEnter(t) {
|
|
80
|
+
t.style.transition = "", t.style.height = "", t.style.overflow = t.dataset.oldOverflow, n("after-enter", t);
|
|
69
81
|
},
|
|
70
|
-
onAfterLeave(
|
|
71
|
-
|
|
82
|
+
onAfterLeave(t) {
|
|
83
|
+
t.style.transition = "", t.style.height = "", t.style.overflow = t.dataset.oldOverflow, t.style.paddingTop = t.dataset.oldPaddingTop, t.style.paddingBottom = t.dataset.oldPaddingBottom, n("after-leave", t);
|
|
72
84
|
},
|
|
73
|
-
onBeforeEnter(
|
|
74
|
-
const
|
|
75
|
-
|
|
85
|
+
onBeforeEnter(t) {
|
|
86
|
+
const d = v(e.duration, "enter");
|
|
87
|
+
t.style.transition = s(d), t.dataset || (t.dataset = {}), t.dataset.oldPaddingTop = t.style.paddingTop, t.dataset.oldPaddingBottom = t.style.paddingBottom, t.style.height = "0", t.style.paddingTop = 0, t.style.paddingBottom = 0, _(e, t), n("before-enter", t);
|
|
76
88
|
},
|
|
77
|
-
onBeforeLeave(
|
|
78
|
-
|
|
89
|
+
onBeforeLeave(t) {
|
|
90
|
+
t.dataset || (t.dataset = {}), t.dataset.oldPaddingTop = t.style.paddingTop, t.dataset.oldPaddingBottom = t.style.paddingBottom, t.dataset.oldOverflow = t.style.overflow, t.style.height = `${t.scrollHeight}px`, t.style.overflow = "hidden", _(e, t), n("before-leave", t);
|
|
79
91
|
},
|
|
80
|
-
onEnter(
|
|
81
|
-
|
|
92
|
+
onEnter(t) {
|
|
93
|
+
t.dataset.oldOverflow = t.style.overflow, t.scrollHeight !== 0 ? (t.style.height = `${t.scrollHeight}px`, t.style.paddingTop = t.dataset.oldPaddingTop, t.style.paddingBottom = t.dataset.oldPaddingBottom) : (t.style.height = "", t.style.paddingTop = t.dataset.oldPaddingTop, t.style.paddingBottom = t.dataset.oldPaddingBottom), t.style.overflow = "hidden";
|
|
82
94
|
},
|
|
83
|
-
onLeave(
|
|
84
|
-
const
|
|
85
|
-
|
|
95
|
+
onLeave(t, d) {
|
|
96
|
+
const b = v(e.duration, "leave");
|
|
97
|
+
t.scrollHeight !== 0 && (t.style.transition = s(b), t.style.height = 0, t.style.paddingTop = 0, t.style.paddingBottom = 0), P(e, t), F(e, t, d), n("leave", t, d);
|
|
86
98
|
}
|
|
87
|
-
}, s = (
|
|
88
|
-
const
|
|
89
|
-
return `${
|
|
99
|
+
}, s = (t) => {
|
|
100
|
+
const d = t / 1e3;
|
|
101
|
+
return `${d}s height ease-in-out, ${d}s padding-top ease-in-out, ${d}s padding-bottom ease-in-out`;
|
|
90
102
|
};
|
|
91
|
-
return (
|
|
92
|
-
tag:
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
103
|
+
return (t, d) => (u(), p(c(l(i)), m({
|
|
104
|
+
tag: e.tag,
|
|
105
|
+
name: "noc-collapse"
|
|
106
|
+
}, { ...t.$attrs, ...r }), {
|
|
107
|
+
default: g(() => [
|
|
108
|
+
y(t.$slots, "default")
|
|
96
109
|
]),
|
|
97
110
|
_: 3
|
|
98
111
|
}, 16, ["tag"]));
|
|
99
112
|
}
|
|
100
|
-
}),
|
|
113
|
+
}), Z = /* @__PURE__ */ f({
|
|
101
114
|
inheritAttrs: !1,
|
|
102
115
|
__name: "FadeTransition",
|
|
103
116
|
props: {
|
|
@@ -113,20 +126,18 @@ const y = (a, o) => ({
|
|
|
113
126
|
},
|
|
114
127
|
emits: ["after-enter", "after-leave", "before-enter", "before-leave", "leave"],
|
|
115
128
|
setup(a, { emit: o }) {
|
|
116
|
-
const
|
|
117
|
-
return (s,
|
|
118
|
-
tag:
|
|
119
|
-
|
|
120
|
-
"move-class": "fade-move",
|
|
121
|
-
"leave-active-class": "fade-out"
|
|
129
|
+
const e = a, n = o, i = h(e), r = T(e, n);
|
|
130
|
+
return (s, t) => (u(), p(c(l(i)), m({
|
|
131
|
+
tag: e.tag,
|
|
132
|
+
name: "noc-fade"
|
|
122
133
|
}, { ...s.$attrs, ...l(r) }), {
|
|
123
|
-
default:
|
|
124
|
-
|
|
134
|
+
default: g(() => [
|
|
135
|
+
y(s.$slots, "default")
|
|
125
136
|
]),
|
|
126
137
|
_: 3
|
|
127
138
|
}, 16, ["tag"]));
|
|
128
139
|
}
|
|
129
|
-
}),
|
|
140
|
+
}), D = /* @__PURE__ */ f({
|
|
130
141
|
inheritAttrs: !1,
|
|
131
142
|
__name: "ScaleTransition",
|
|
132
143
|
props: {
|
|
@@ -136,27 +147,24 @@ const y = (a, o) => ({
|
|
|
136
147
|
origin: { default: "top left" },
|
|
137
148
|
styles: { default: () => ({
|
|
138
149
|
animationFillMode: "both",
|
|
139
|
-
animationTimingFunction: "
|
|
150
|
+
animationTimingFunction: "ease-out"
|
|
140
151
|
}) },
|
|
141
152
|
tag: { default: "span" }
|
|
142
153
|
},
|
|
143
154
|
emits: ["after-enter", "after-leave", "before-enter", "before-leave", "leave"],
|
|
144
155
|
setup(a, { emit: o }) {
|
|
145
|
-
const
|
|
146
|
-
return (s,
|
|
147
|
-
tag:
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}), {
|
|
153
|
-
default: p(() => [
|
|
154
|
-
g(s.$slots, "default")
|
|
156
|
+
const e = a, n = o, i = h(e), r = T(e, n);
|
|
157
|
+
return (s, t) => (u(), p(c(l(i)), m({
|
|
158
|
+
tag: e.tag,
|
|
159
|
+
name: "noc-scale"
|
|
160
|
+
}, { ...s.$attrs, ...l(r) }), {
|
|
161
|
+
default: g(() => [
|
|
162
|
+
y(s.$slots, "default")
|
|
155
163
|
]),
|
|
156
164
|
_: 3
|
|
157
165
|
}, 16, ["tag"]));
|
|
158
166
|
}
|
|
159
|
-
}),
|
|
167
|
+
}), E = /* @__PURE__ */ f({
|
|
160
168
|
inheritAttrs: !1,
|
|
161
169
|
__name: "SlideXLeftTransition",
|
|
162
170
|
props: {
|
|
@@ -166,27 +174,24 @@ const y = (a, o) => ({
|
|
|
166
174
|
origin: { default: "" },
|
|
167
175
|
styles: { default: () => ({
|
|
168
176
|
animationFillMode: "both",
|
|
169
|
-
animationTimingFunction: "
|
|
177
|
+
animationTimingFunction: "ease-out"
|
|
170
178
|
}) },
|
|
171
179
|
tag: { default: "span" }
|
|
172
180
|
},
|
|
173
181
|
emits: ["after-enter", "after-leave", "before-enter", "before-leave", "leave"],
|
|
174
182
|
setup(a, { emit: o }) {
|
|
175
|
-
const
|
|
176
|
-
return (s,
|
|
177
|
-
tag:
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}), {
|
|
183
|
-
default: p(() => [
|
|
184
|
-
g(s.$slots, "default")
|
|
183
|
+
const e = a, n = o, i = h(e), r = T(e, n);
|
|
184
|
+
return (s, t) => (u(), p(c(l(i)), m({
|
|
185
|
+
tag: e.tag,
|
|
186
|
+
name: "noc-slide-left"
|
|
187
|
+
}, { ...s.$attrs, ...l(r) }), {
|
|
188
|
+
default: g(() => [
|
|
189
|
+
y(s.$slots, "default")
|
|
185
190
|
]),
|
|
186
191
|
_: 3
|
|
187
192
|
}, 16, ["tag"]));
|
|
188
193
|
}
|
|
189
|
-
}), O = /* @__PURE__ */
|
|
194
|
+
}), O = /* @__PURE__ */ f({
|
|
190
195
|
inheritAttrs: !1,
|
|
191
196
|
__name: "SlideXRightTransition",
|
|
192
197
|
props: {
|
|
@@ -196,27 +201,24 @@ const y = (a, o) => ({
|
|
|
196
201
|
origin: { default: "" },
|
|
197
202
|
styles: { default: () => ({
|
|
198
203
|
animationFillMode: "both",
|
|
199
|
-
animationTimingFunction: "
|
|
204
|
+
animationTimingFunction: "ease-out"
|
|
200
205
|
}) },
|
|
201
206
|
tag: { default: "span" }
|
|
202
207
|
},
|
|
203
208
|
emits: ["after-enter", "after-leave", "before-enter", "before-leave", "leave"],
|
|
204
209
|
setup(a, { emit: o }) {
|
|
205
|
-
const
|
|
206
|
-
return (s,
|
|
207
|
-
tag:
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
}), {
|
|
213
|
-
default: p(() => [
|
|
214
|
-
g(s.$slots, "default")
|
|
210
|
+
const e = a, n = o, i = h(e), r = T(e, n);
|
|
211
|
+
return (s, t) => (u(), p(c(l(i)), m({
|
|
212
|
+
tag: e.tag,
|
|
213
|
+
name: "noc-slide-right"
|
|
214
|
+
}, { ...s.$attrs, ...l(r) }), {
|
|
215
|
+
default: g(() => [
|
|
216
|
+
y(s.$slots, "default")
|
|
215
217
|
]),
|
|
216
218
|
_: 3
|
|
217
219
|
}, 16, ["tag"]));
|
|
218
220
|
}
|
|
219
|
-
}),
|
|
221
|
+
}), X = /* @__PURE__ */ f({
|
|
220
222
|
inheritAttrs: !1,
|
|
221
223
|
__name: "SlideYDownTransition",
|
|
222
224
|
props: {
|
|
@@ -226,26 +228,24 @@ const y = (a, o) => ({
|
|
|
226
228
|
origin: { default: "" },
|
|
227
229
|
styles: { default: () => ({
|
|
228
230
|
animationFillMode: "both",
|
|
229
|
-
animationTimingFunction: "
|
|
231
|
+
animationTimingFunction: "ease-out"
|
|
230
232
|
}) },
|
|
231
233
|
tag: { default: "span" }
|
|
232
234
|
},
|
|
233
235
|
emits: ["after-enter", "after-leave", "before-enter", "before-leave", "leave"],
|
|
234
236
|
setup(a, { emit: o }) {
|
|
235
|
-
const
|
|
236
|
-
return (s,
|
|
237
|
-
tag:
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
default: p(() => [
|
|
243
|
-
g(s.$slots, "default")
|
|
237
|
+
const e = a, n = o, i = h(e), r = T(e, n);
|
|
238
|
+
return (s, t) => (u(), p(c(l(i)), m({
|
|
239
|
+
tag: e.tag,
|
|
240
|
+
name: "noc-slide-down"
|
|
241
|
+
}, { ...s.$attrs, ...l(r) }), {
|
|
242
|
+
default: g(() => [
|
|
243
|
+
y(s.$slots, "default")
|
|
244
244
|
]),
|
|
245
245
|
_: 3
|
|
246
246
|
}, 16, ["tag"]));
|
|
247
247
|
}
|
|
248
|
-
}),
|
|
248
|
+
}), Y = /* @__PURE__ */ f({
|
|
249
249
|
inheritAttrs: !1,
|
|
250
250
|
__name: "SlideYUpTransition",
|
|
251
251
|
props: {
|
|
@@ -255,28 +255,24 @@ const y = (a, o) => ({
|
|
|
255
255
|
origin: { default: "" },
|
|
256
256
|
styles: { default: () => ({
|
|
257
257
|
animationFillMode: "both",
|
|
258
|
-
animationTimingFunction: "
|
|
258
|
+
animationTimingFunction: "ease-out"
|
|
259
259
|
}) },
|
|
260
260
|
tag: { default: "span" }
|
|
261
261
|
},
|
|
262
262
|
emits: ["after-enter", "after-leave", "before-enter", "before-leave", "leave"],
|
|
263
263
|
setup(a, { emit: o }) {
|
|
264
|
-
const
|
|
265
|
-
return (s,
|
|
266
|
-
tag:
|
|
267
|
-
|
|
268
|
-
}, { ...s.$attrs, ...l(r) }, {
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
"leave-active-class": "slide-y-out"
|
|
272
|
-
}), {
|
|
273
|
-
default: p(() => [
|
|
274
|
-
g(s.$slots, "default")
|
|
264
|
+
const e = a, n = o, i = h(e), r = T(e, n);
|
|
265
|
+
return (s, t) => (u(), p(c(l(i)), m({
|
|
266
|
+
tag: e.tag,
|
|
267
|
+
name: "noc-slide-up"
|
|
268
|
+
}, { ...s.$attrs, ...l(r) }), {
|
|
269
|
+
default: g(() => [
|
|
270
|
+
y(s.$slots, "default")
|
|
275
271
|
]),
|
|
276
272
|
_: 3
|
|
277
273
|
}, 16, ["tag"]));
|
|
278
274
|
}
|
|
279
|
-
}),
|
|
275
|
+
}), z = /* @__PURE__ */ f({
|
|
280
276
|
inheritAttrs: !1,
|
|
281
277
|
__name: "ZoomCenterTransition",
|
|
282
278
|
props: {
|
|
@@ -292,21 +288,18 @@ const y = (a, o) => ({
|
|
|
292
288
|
},
|
|
293
289
|
emits: ["after-enter", "after-leave", "before-enter", "before-leave", "leave"],
|
|
294
290
|
setup(a, { emit: o }) {
|
|
295
|
-
const
|
|
296
|
-
return (s,
|
|
297
|
-
tag:
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
}), {
|
|
303
|
-
default: p(() => [
|
|
304
|
-
g(s.$slots, "default")
|
|
291
|
+
const e = a, n = o, i = h(e), r = T(e, n);
|
|
292
|
+
return (s, t) => (u(), p(c(l(i)), m({
|
|
293
|
+
tag: e.tag,
|
|
294
|
+
name: "noc-zoom"
|
|
295
|
+
}, { ...s.$attrs, ...l(r) }), {
|
|
296
|
+
default: g(() => [
|
|
297
|
+
y(s.$slots, "default")
|
|
305
298
|
]),
|
|
306
299
|
_: 3
|
|
307
300
|
}, 16, ["tag"]));
|
|
308
301
|
}
|
|
309
|
-
}),
|
|
302
|
+
}), H = /* @__PURE__ */ f({
|
|
310
303
|
inheritAttrs: !1,
|
|
311
304
|
__name: "ZoomUpTransition",
|
|
312
305
|
props: {
|
|
@@ -322,21 +315,18 @@ const y = (a, o) => ({
|
|
|
322
315
|
},
|
|
323
316
|
emits: ["after-enter", "after-leave", "before-enter", "before-leave", "leave"],
|
|
324
317
|
setup(a, { emit: o }) {
|
|
325
|
-
const
|
|
326
|
-
return (s,
|
|
327
|
-
tag:
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
}), {
|
|
333
|
-
default: p(() => [
|
|
334
|
-
g(s.$slots, "default")
|
|
318
|
+
const e = a, n = o, i = h(e), r = T(e, n);
|
|
319
|
+
return (s, t) => (u(), p(c(l(i)), m({
|
|
320
|
+
tag: e.tag,
|
|
321
|
+
name: "noc-zoom-up"
|
|
322
|
+
}, { ...s.$attrs, ...l(r) }), {
|
|
323
|
+
default: g(() => [
|
|
324
|
+
y(s.$slots, "default")
|
|
335
325
|
]),
|
|
336
326
|
_: 3
|
|
337
327
|
}, 16, ["tag"]));
|
|
338
328
|
}
|
|
339
|
-
}),
|
|
329
|
+
}), U = /* @__PURE__ */ f({
|
|
340
330
|
inheritAttrs: !1,
|
|
341
331
|
__name: "ZoomXTransition",
|
|
342
332
|
props: {
|
|
@@ -346,26 +336,24 @@ const y = (a, o) => ({
|
|
|
346
336
|
origin: { default: "" },
|
|
347
337
|
styles: { default: () => ({
|
|
348
338
|
animationFillMode: "both",
|
|
349
|
-
animationTimingFunction: "
|
|
339
|
+
animationTimingFunction: "ease-out"
|
|
350
340
|
}) },
|
|
351
341
|
tag: { default: "span" }
|
|
352
342
|
},
|
|
353
343
|
emits: ["after-enter", "after-leave", "before-enter", "before-leave", "leave"],
|
|
354
344
|
setup(a, { emit: o }) {
|
|
355
|
-
const
|
|
356
|
-
return (s,
|
|
357
|
-
tag:
|
|
358
|
-
|
|
359
|
-
"move-class": "zoom-move",
|
|
360
|
-
"leave-active-class": "zoom-out-x"
|
|
345
|
+
const e = a, n = o, i = h(e), r = T(e, n);
|
|
346
|
+
return (s, t) => (u(), p(c(l(i)), m({
|
|
347
|
+
tag: e.tag,
|
|
348
|
+
name: "noc-zoom-x"
|
|
361
349
|
}, { ...s.$attrs, ...l(r) }), {
|
|
362
|
-
default:
|
|
363
|
-
|
|
350
|
+
default: g(() => [
|
|
351
|
+
y(s.$slots, "default")
|
|
364
352
|
]),
|
|
365
353
|
_: 3
|
|
366
354
|
}, 16, ["tag"]));
|
|
367
355
|
}
|
|
368
|
-
}),
|
|
356
|
+
}), j = /* @__PURE__ */ f({
|
|
369
357
|
inheritAttrs: !1,
|
|
370
358
|
__name: "ZoomYTransition",
|
|
371
359
|
props: {
|
|
@@ -375,59 +363,57 @@ const y = (a, o) => ({
|
|
|
375
363
|
origin: { default: "" },
|
|
376
364
|
styles: { default: () => ({
|
|
377
365
|
animationFillMode: "both",
|
|
378
|
-
animationTimingFunction: "
|
|
366
|
+
animationTimingFunction: "ease-out"
|
|
379
367
|
}) },
|
|
380
368
|
tag: { default: "span" }
|
|
381
369
|
},
|
|
382
370
|
emits: ["after-enter", "after-leave", "before-enter", "before-leave", "leave"],
|
|
383
371
|
setup(a, { emit: o }) {
|
|
384
|
-
const
|
|
385
|
-
return (s,
|
|
386
|
-
tag:
|
|
387
|
-
|
|
388
|
-
"move-class": "zoom-move",
|
|
389
|
-
"leave-active-class": "zoom-out-y"
|
|
372
|
+
const e = a, n = o, i = h(e), r = T(e, n);
|
|
373
|
+
return (s, t) => (u(), p(c(l(i)), m({
|
|
374
|
+
tag: e.tag,
|
|
375
|
+
name: "noc-zoom-y"
|
|
390
376
|
}, { ...s.$attrs, ...l(r) }), {
|
|
391
|
-
default:
|
|
392
|
-
|
|
377
|
+
default: g(() => [
|
|
378
|
+
y(s.$slots, "default")
|
|
393
379
|
]),
|
|
394
380
|
_: 3
|
|
395
381
|
}, 16, ["tag"]));
|
|
396
382
|
}
|
|
397
|
-
}),
|
|
383
|
+
}), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
398
384
|
__proto__: null,
|
|
399
|
-
CollapseTransition:
|
|
400
|
-
FadeTransition:
|
|
401
|
-
ScaleTransition:
|
|
402
|
-
SlideXLeftTransition:
|
|
385
|
+
CollapseTransition: C,
|
|
386
|
+
FadeTransition: Z,
|
|
387
|
+
ScaleTransition: D,
|
|
388
|
+
SlideXLeftTransition: E,
|
|
403
389
|
SlideXRightTransition: O,
|
|
404
|
-
SlideYDownTransition:
|
|
405
|
-
SlideYUpTransition:
|
|
406
|
-
ZoomCenterTransition:
|
|
407
|
-
ZoomUpTransition:
|
|
408
|
-
ZoomXTransition:
|
|
409
|
-
ZoomYTransition:
|
|
390
|
+
SlideYDownTransition: X,
|
|
391
|
+
SlideYUpTransition: Y,
|
|
392
|
+
ZoomCenterTransition: z,
|
|
393
|
+
ZoomUpTransition: H,
|
|
394
|
+
ZoomXTransition: U,
|
|
395
|
+
ZoomYTransition: j
|
|
410
396
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
411
|
-
function
|
|
412
|
-
a.$_vueBezierInstalled || (a.$_vueBezierInstalled = !0, Object.entries(
|
|
413
|
-
([o,
|
|
397
|
+
function K(a) {
|
|
398
|
+
a.$_vueBezierInstalled || (a.$_vueBezierInstalled = !0, Object.entries(I).forEach(
|
|
399
|
+
([o, e]) => a.component(o, e)
|
|
414
400
|
));
|
|
415
401
|
}
|
|
416
|
-
const
|
|
417
|
-
install:
|
|
402
|
+
const W = {
|
|
403
|
+
install: K
|
|
418
404
|
};
|
|
419
405
|
export {
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
406
|
+
C as CollapseTransition,
|
|
407
|
+
Z as FadeTransition,
|
|
408
|
+
D as ScaleTransition,
|
|
409
|
+
E as SlideXLeftTransition,
|
|
424
410
|
O as SlideXRightTransition,
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
411
|
+
X as SlideYDownTransition,
|
|
412
|
+
Y as SlideYUpTransition,
|
|
413
|
+
z as ZoomCenterTransition,
|
|
414
|
+
H as ZoomUpTransition,
|
|
415
|
+
U as ZoomXTransition,
|
|
416
|
+
j as ZoomYTransition,
|
|
417
|
+
W as default,
|
|
418
|
+
K as install
|
|
433
419
|
};
|
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "vue",
|
|
3
3
|
"name": "@noction/vue-bezier",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.11.2",
|
|
5
5
|
"contributions": {
|
|
6
6
|
"html": {
|
|
7
7
|
"description-markup": "markdown",
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
"kind": "expression",
|
|
176
176
|
"type": "any"
|
|
177
177
|
},
|
|
178
|
-
"default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: '
|
|
178
|
+
"default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
181
|
"name": "tag",
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
"kind": "expression",
|
|
239
239
|
"type": "any"
|
|
240
240
|
},
|
|
241
|
-
"default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: '
|
|
241
|
+
"default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
244
|
"name": "tag",
|
|
@@ -301,7 +301,7 @@
|
|
|
301
301
|
"kind": "expression",
|
|
302
302
|
"type": "any"
|
|
303
303
|
},
|
|
304
|
-
"default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: '
|
|
304
|
+
"default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
|
|
305
305
|
},
|
|
306
306
|
{
|
|
307
307
|
"name": "tag",
|
|
@@ -364,7 +364,7 @@
|
|
|
364
364
|
"kind": "expression",
|
|
365
365
|
"type": "any"
|
|
366
366
|
},
|
|
367
|
-
"default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: '
|
|
367
|
+
"default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
|
|
368
368
|
},
|
|
369
369
|
{
|
|
370
370
|
"name": "tag",
|
|
@@ -427,7 +427,7 @@
|
|
|
427
427
|
"kind": "expression",
|
|
428
428
|
"type": "any"
|
|
429
429
|
},
|
|
430
|
-
"default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: '
|
|
430
|
+
"default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
|
|
431
431
|
},
|
|
432
432
|
{
|
|
433
433
|
"name": "tag",
|
|
@@ -616,7 +616,7 @@
|
|
|
616
616
|
"kind": "expression",
|
|
617
617
|
"type": "any"
|
|
618
618
|
},
|
|
619
|
-
"default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: '
|
|
619
|
+
"default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
|
|
620
620
|
},
|
|
621
621
|
{
|
|
622
622
|
"name": "tag",
|
|
@@ -679,7 +679,7 @@
|
|
|
679
679
|
"kind": "expression",
|
|
680
680
|
"type": "any"
|
|
681
681
|
},
|
|
682
|
-
"default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: '
|
|
682
|
+
"default": "() => ({\n animationFillMode: 'both',\n animationTimingFunction: 'ease-out'\n})"
|
|
683
683
|
},
|
|
684
684
|
{
|
|
685
685
|
"name": "tag",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@noction/vue-bezier",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.2",
|
|
4
4
|
"description": "Vue3 reusable transition components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"transitions",
|
|
@@ -38,34 +38,33 @@
|
|
|
38
38
|
"module": "dist/vue-bezier.js",
|
|
39
39
|
"types": "dist/types/main.d.ts",
|
|
40
40
|
"type": "module",
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@faker-js/faker": "^8.4.1",
|
|
43
|
+
"@types/node": "^20.11.17",
|
|
44
|
+
"@vitejs/plugin-vue": "^5.0.3",
|
|
45
|
+
"@vitest/coverage-v8": "^1.2.2",
|
|
46
|
+
"@vue/test-utils": "^2.4.4",
|
|
47
|
+
"cross-env": "^7.0.3",
|
|
48
|
+
"jsdom": "^24.0.0",
|
|
49
|
+
"minimist": "^1.2.8",
|
|
50
|
+
"sass": "^1.70.0",
|
|
51
|
+
"vite": "^5.1.1",
|
|
52
|
+
"vitest": "^1.2.2",
|
|
53
|
+
"vue": "^3.4.18",
|
|
54
|
+
"vue-docgen-web-types": "^0.1.8",
|
|
55
|
+
"vue-tsc": "^1.8.27"
|
|
56
|
+
},
|
|
57
|
+
"web-types": "./dist/web-types.json",
|
|
41
58
|
"scripts": {
|
|
42
59
|
"dev": "cross-env NODE_ENV=development vite build --watch",
|
|
43
60
|
"build:light": "cross-env NODE_ENV=development vite build",
|
|
44
61
|
"prebuild": "vue-tsc -p tsconfig.build.json",
|
|
45
62
|
"build": "vite build",
|
|
46
63
|
"postbuild": "vue-docgen-web-types",
|
|
47
|
-
"prepublishOnly": "npm run build",
|
|
48
64
|
"lint:es": "eslint \"src/**/*.{js,ts,vue}\" --fix --color",
|
|
49
65
|
"lint:style": "stylelint src/**/*.{css,scss,vue} --color --fix",
|
|
50
66
|
"test": "vitest",
|
|
51
67
|
"test:coverage": "vitest run --coverage",
|
|
52
68
|
"type:check": "vue-tsc --noEmit"
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
"@faker-js/faker": "^8.3.1",
|
|
56
|
-
"@types/node": "^20.10.5",
|
|
57
|
-
"@vitejs/plugin-vue": "^5.0.0",
|
|
58
|
-
"@vitest/coverage-v8": "^1.1.0",
|
|
59
|
-
"@vue/test-utils": "^2.4.3",
|
|
60
|
-
"cross-env": "^7.0.3",
|
|
61
|
-
"jsdom": "^23.0.1",
|
|
62
|
-
"minimist": "^1.2.8",
|
|
63
|
-
"sass": "^1.69.5",
|
|
64
|
-
"vite": "^5.0.10",
|
|
65
|
-
"vitest": "^1.1.0",
|
|
66
|
-
"vue": "^3.3.13",
|
|
67
|
-
"vue-tsc": "^1.8.27",
|
|
68
|
-
"vue-docgen-web-types": "^0.1.8"
|
|
69
|
-
},
|
|
70
|
-
"web-types": "./dist/web-types.json"
|
|
71
|
-
}
|
|
69
|
+
}
|
|
70
|
+
}
|