@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 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-in{animation-name:fade-in}.fade-out{animation-name:fade-out}.fade-move{transition:transform .3s 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)}}.scale-in{animation-name:scale-in}.scale-out{animation-name:scale-out}.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)}}.slide-x-left-in{animation-name:slide-x-left-in}.slide-x-left-out{animation-name:slide-x-left-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)}}.slide-x-right-in{animation-name:slide-x-right-in}.slide-x-right-out{animation-name:slide-x-right-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)}}.slide-y-down-in{animation-name:slide-y-down-in}.slide-y-down-out{animation-name:slide-y-down-out}.slide-move{transition:transform .3s}@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)}}.slide-y-in{animation-name:slide-y-in}.slide-y-out{animation-name:slide-y-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}}.zoom-in{animation-name:zoom-in}.zoom-out{animation-name:zoom-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}}.zoom-in-up{animation-name:zoom-in-up}.zoom-out-up{animation-name:zoom-out-up}@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}}.zoom-in-x{animation-name:zoom-in-x}.zoom-out-x{animation-name:zoom-out-x}.zoom-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}}.zoom-in-y{animation-name:zoom-in-y}.zoom-out-y{animation-name:zoom-out-y}
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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
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").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ComponentProps>, {
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;
@@ -1,54 +1,66 @@
1
- import { TransitionGroup as z, Transition as S, defineComponent as d, openBlock as f, createBlock as u, resolveDynamicComponent as c, unref as l, mergeProps as m, withCtx as p, renderSlot as g } from "vue";
2
- const v = (a) => a.group ? z : S;
3
- function T(a, o) {
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 D(a, o) {
7
- const t = T(a.duration, "enter"), n = T(a.delay, "enter");
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 w(a, o) {
11
- const t = T(a.duration, "leave"), n = T(a.delay, "leave");
12
- o.style.animationDuration = `${t}ms`, o.style.animationDelay = `${n}ms`, b(a, o);
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 $(a, o, t) {
15
- B(a, o);
16
- const n = T(a.duration, "leave"), i = T(a.delay, "leave");
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 _(a, o) {
20
- a.styles && Object.entries(a.styles).forEach(([t]) => {
21
- t in o.style && (o.style[t] = "");
22
- }), o.style.animationDuration = "", o.style.animationDelay = "";
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 b(a, o) {
25
- A(a, o), a.styles && Object.entries(a.styles).forEach(([t, n]) => {
26
- t in o.style && (o.style[t] = n);
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 B(a, o) {
30
- a.group && (o.style.position = "absolute");
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 A(a, o) {
33
- a.origin && (o.style.transformOrigin = a.origin);
44
+ function k(a, o) {
45
+ a.origin && o.style.setProperty("transform-origin", a.origin);
34
46
  }
35
- const y = (a, o) => ({
36
- onAfterEnter: (t) => {
37
- _(a, t), o("after-enter", t);
47
+ const T = (a, o) => ({
48
+ onAfterEnter: (e) => {
49
+ $(a, e), o("after-enter", e);
38
50
  },
39
- onAfterLeave: (t) => {
40
- _(a, t), o("after-leave", t);
51
+ onAfterLeave: (e) => {
52
+ $(a, e), o("after-leave", e);
41
53
  },
42
- onBeforeEnter: (t) => {
43
- D(a, t), o("before-enter", t);
54
+ onBeforeEnter: (e) => {
55
+ L(a, e), o("before-enter", e);
44
56
  },
45
- onBeforeLeave: (t) => {
46
- w(a, t), o("before-leave", t);
57
+ onBeforeLeave: (e) => {
58
+ M(a, e), o("before-leave", e);
47
59
  },
48
- onLeave: (t, n) => {
49
- $(a, t, n), o("leave", t, n);
60
+ onLeave: (e, n) => {
61
+ F(a, e, n), o("leave", e, n);
50
62
  }
51
- }), P = /* @__PURE__ */ d({
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 t = a, n = o, i = v(t), r = {
67
- onAfterEnter(e) {
68
- e.style.transition = "", e.style.height = "", e.style.overflow = e.dataset.oldOverflow, n("after-enter", e);
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(e) {
71
- e.style.transition = "", e.style.height = "", e.style.overflow = e.dataset.oldOverflow, e.style.paddingTop = e.dataset.oldPaddingTop, e.style.paddingBottom = e.dataset.oldPaddingBottom, n("after-leave", e);
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(e) {
74
- const h = T(t.duration, "enter");
75
- e.style.transition = s(h), e.dataset || (e.dataset = {}), e.dataset.oldPaddingTop = e.style.paddingTop, e.dataset.oldPaddingBottom = e.style.paddingBottom, e.style.height = "0", e.style.paddingTop = 0, e.style.paddingBottom = 0, b(t, e), n("before-enter", e);
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(e) {
78
- e.dataset || (e.dataset = {}), e.dataset.oldPaddingTop = e.style.paddingTop, e.dataset.oldPaddingBottom = e.style.paddingBottom, e.dataset.oldOverflow = e.style.overflow, e.style.height = `${e.scrollHeight}px`, e.style.overflow = "hidden", b(t, e), n("before-leave", e);
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(e) {
81
- e.dataset.oldOverflow = e.style.overflow, e.scrollHeight !== 0 ? (e.style.height = `${e.scrollHeight}px`, e.style.paddingTop = e.dataset.oldPaddingTop, e.style.paddingBottom = e.dataset.oldPaddingBottom) : (e.style.height = "", e.style.paddingTop = e.dataset.oldPaddingTop, e.style.paddingBottom = e.dataset.oldPaddingBottom), e.style.overflow = "hidden";
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(e, h) {
84
- const F = T(t.duration, "leave");
85
- e.scrollHeight !== 0 && (e.style.transition = s(F), e.style.height = 0, e.style.paddingTop = 0, e.style.paddingBottom = 0), B(t, e), $(t, e, h), n("leave", e, h);
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 = (e) => {
88
- const h = e / 1e3;
89
- return `${h}s height ease-in-out, ${h}s padding-top ease-in-out, ${h}s padding-bottom ease-in-out`;
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 (e, h) => (f(), u(c(l(i)), m({
92
- tag: t.tag
93
- }, { ...e.$attrs, ...r }, { "move-class": "collapse-move" }), {
94
- default: p(() => [
95
- g(e.$slots, "default")
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
- }), k = /* @__PURE__ */ d({
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 t = a, n = o, i = v(t), r = y(t, n);
117
- return (s, e) => (f(), u(c(l(i)), m({
118
- tag: t.tag,
119
- "enter-active-class": "fade-in",
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: p(() => [
124
- g(s.$slots, "default")
134
+ default: g(() => [
135
+ y(s.$slots, "default")
125
136
  ]),
126
137
  _: 3
127
138
  }, 16, ["tag"]));
128
139
  }
129
- }), M = /* @__PURE__ */ d({
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: "cubic-bezier(.25,.8,.50,1)"
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 t = a, n = o, i = v(t), r = y(t, n);
146
- return (s, e) => (f(), u(c(l(i)), m({
147
- tag: t.tag
148
- }, { ...s.$attrs, ...l(r) }, {
149
- "enter-active-class": "scale-in",
150
- "move-class": "scale-move",
151
- "leave-active-class": "scale-out"
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
- }), Z = /* @__PURE__ */ d({
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: "cubic-bezier(.25,.8,.50,1)"
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 t = a, n = o, i = v(t), r = y(t, n);
176
- return (s, e) => (f(), u(c(l(i)), m({
177
- tag: t.tag
178
- }, { ...s.$attrs, ...l(r) }, {
179
- "enter-active-class": "slide-x-left-in",
180
- "move-class": "slide-move",
181
- "leave-active-class": "slide-x-left-out"
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__ */ d({
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: "cubic-bezier(.25,.8,.50,1)"
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 t = a, n = o, i = v(t), r = y(t, n);
206
- return (s, e) => (f(), u(c(l(i)), m({
207
- tag: t.tag
208
- }, { ...s.$attrs, ...l(r) }, {
209
- "enter-active-class": "slide-x-right-in",
210
- "move-class": "slide-move",
211
- "leave-active-class": "slide-x-right-out"
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
- }), C = /* @__PURE__ */ d({
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: "cubic-bezier(.25,.8,.50,1)"
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 t = a, n = o, i = v(t), r = y(t, n);
236
- return (s, e) => (f(), u(c(l(i)), m({
237
- tag: t.tag
238
- }, { ...s.$attrs, ...l(r) }, {
239
- "enter-active-class": "slide-y-down-in",
240
- "leave-active-class": "slide-y-down-out"
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
- }), L = /* @__PURE__ */ d({
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: "cubic-bezier(.25,.8,.50,1)"
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 t = a, n = o, i = v(t), r = y(t, n);
265
- return (s, e) => (f(), u(c(l(i)), m({
266
- tag: t.tag,
267
- type: "animation"
268
- }, { ...s.$attrs, ...l(r) }, {
269
- "enter-active-class": "slide-y-in",
270
- "move-class": "slide-move",
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
- }), E = /* @__PURE__ */ d({
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 t = a, n = o, i = v(t), r = y(t, n);
296
- return (s, e) => (f(), u(c(l(i)), m({
297
- tag: t.tag
298
- }, { ...s.$attrs, ...l(r) }, {
299
- "enter-active-class": "zoom-in",
300
- "move-class": "zoom-move",
301
- "leave-active-class": "zoom-out"
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
- }), X = /* @__PURE__ */ d({
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 t = a, n = o, i = v(t), r = y(t, n);
326
- return (s, e) => (f(), u(c(l(i)), m({
327
- tag: t.tag
328
- }, { ...s.$attrs, ...l(r) }, {
329
- "enter-active-class": "zoom-in-up",
330
- "move-class": "zoom-move",
331
- "leave-active-class": "zoom-out-up"
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
- }), Y = /* @__PURE__ */ d({
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: "cubic-bezier(.55,0,.1,1)"
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 t = a, n = o, i = v(t), r = y(t, n);
356
- return (s, e) => (f(), u(c(l(i)), m({
357
- tag: t.tag,
358
- "enter-active-class": "zoom-in-x",
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: p(() => [
363
- g(s.$slots, "default")
350
+ default: g(() => [
351
+ y(s.$slots, "default")
364
352
  ]),
365
353
  _: 3
366
354
  }, 16, ["tag"]));
367
355
  }
368
- }), U = /* @__PURE__ */ d({
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: "cubic-bezier(.55,0,.1,1)"
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 t = a, n = o, i = v(t), r = y(t, n);
385
- return (s, e) => (f(), u(c(l(i)), m({
386
- tag: t.tag,
387
- "enter-active-class": "zoom-in-y",
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: p(() => [
392
- g(s.$slots, "default")
377
+ default: g(() => [
378
+ y(s.$slots, "default")
393
379
  ]),
394
380
  _: 3
395
381
  }, 16, ["tag"]));
396
382
  }
397
- }), j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
383
+ }), I = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
398
384
  __proto__: null,
399
- CollapseTransition: P,
400
- FadeTransition: k,
401
- ScaleTransition: M,
402
- SlideXLeftTransition: Z,
385
+ CollapseTransition: C,
386
+ FadeTransition: Z,
387
+ ScaleTransition: D,
388
+ SlideXLeftTransition: E,
403
389
  SlideXRightTransition: O,
404
- SlideYDownTransition: C,
405
- SlideYUpTransition: L,
406
- ZoomCenterTransition: E,
407
- ZoomUpTransition: X,
408
- ZoomXTransition: Y,
409
- ZoomYTransition: U
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 H(a) {
412
- a.$_vueBezierInstalled || (a.$_vueBezierInstalled = !0, Object.entries(j).forEach(
413
- ([o, t]) => a.component(o, t)
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 R = {
417
- install: H
402
+ const W = {
403
+ install: K
418
404
  };
419
405
  export {
420
- P as CollapseTransition,
421
- k as FadeTransition,
422
- M as ScaleTransition,
423
- Z as SlideXLeftTransition,
406
+ C as CollapseTransition,
407
+ Z as FadeTransition,
408
+ D as ScaleTransition,
409
+ E as SlideXLeftTransition,
424
410
  O as SlideXRightTransition,
425
- C as SlideYDownTransition,
426
- L as SlideYUpTransition,
427
- E as ZoomCenterTransition,
428
- X as ZoomUpTransition,
429
- Y as ZoomXTransition,
430
- U as ZoomYTransition,
431
- R as default,
432
- H as install
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
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@noction/vue-bezier",
4
- "version": "1.10.0",
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: 'cubic-bezier(.25,.8,.50,1)'\n})"
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: 'cubic-bezier(.25,.8,.50,1)'\n})"
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: 'cubic-bezier(.25,.8,.50,1)'\n})"
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: 'cubic-bezier(.25,.8,.50,1)'\n})"
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: 'cubic-bezier(.25,.8,.50,1)'\n})"
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: 'cubic-bezier(.55,0,.1,1)'\n})"
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: 'cubic-bezier(.55,0,.1,1)'\n})"
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.10.0",
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
- "devDependencies": {
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
+ }