@mfs-atomic/ui 1.3.0 → 1.3.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/dist/index.d.ts CHANGED
@@ -905,7 +905,6 @@ closeOnBackdrop: boolean;
905
905
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
906
906
 
907
907
  declare const __VLS_component_70: DefineComponent<__VLS_Props_98, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_98> & Readonly<{}>, {
908
- variant: PageTransitionVariant;
909
908
  duration: number;
910
909
  mode: PageTransitionMode;
911
910
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -1774,6 +1773,7 @@ declare type __VLS_Props_97 = {
1774
1773
 
1775
1774
  declare type __VLS_Props_98 = {
1776
1775
  variant?: PageTransitionVariant;
1776
+ name?: PageTransitionVariant;
1777
1777
  mode?: PageTransitionMode;
1778
1778
  duration?: number;
1779
1779
  };
package/dist/mfs-theme.js CHANGED
@@ -12610,18 +12610,20 @@ const h1 = /* @__PURE__ */ G({
12610
12610
  }), oy = /* @__PURE__ */ G({
12611
12611
  __name: "PageTransition",
12612
12612
  props: {
12613
- variant: { default: "slide-up" },
12613
+ variant: {},
12614
+ name: {},
12614
12615
  mode: { default: "out-in" },
12615
12616
  duration: { default: 220 }
12616
12617
  },
12617
12618
  setup(e) {
12618
- return (i, t) => (s(), re($e, {
12619
- name: `mfs-pt-${e.variant}`,
12619
+ const i = e, t = P(() => i.variant ?? i.name ?? "slide-up");
12620
+ return (n, u) => (s(), re($e, {
12621
+ name: `mfs-pt-${t.value}`,
12620
12622
  mode: e.mode === "default" ? void 0 : e.mode,
12621
12623
  style: ne({ "--mfs-pt-duration": `${e.duration}ms` })
12622
12624
  }, {
12623
12625
  default: fe(() => [
12624
- O(i.$slots, "default")
12626
+ O(n.$slots, "default")
12625
12627
  ]),
12626
12628
  _: 3
12627
12629
  }, 8, ["name", "mode", "style"]));