@levo-so/studio 0.1.86 → 0.1.88
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/BillingStep-BXqAkFFY.js → BillingStep-DVKPpBT9.js} +1 -1
- package/{dist/Button-C8Q7VDMX.js → Button-vQpIKPk7.js} +7 -7
- package/{dist/bookingCard-CgPQ7Kgp.js → bookingCard-CPYdqA8t.js} +2 -2
- package/index.js +9504 -0
- package/package.json +48 -43
- package/studio.css +2 -0
- package/dist/index.js +0 -62053
- package/dist/studio.css +0 -2
- /package/{dist/AuthProvider-Ch5Ny0il.js → AuthProvider-Ch5Ny0il.js} +0 -0
- /package/{dist/Beams-BqUps11n.js → Beams-BqUps11n.js} +0 -0
- /package/{dist/Dots-BKqlE-Rv.js → Dots-BKqlE-Rv.js} +0 -0
- /package/{dist/EntryCard-UWxVYAD_.js → EntryCard-UWxVYAD_.js} +0 -0
- /package/{dist/Gradient-hC5P0PfD.js → Gradient-hC5P0PfD.js} +0 -0
- /package/{dist/Grid-DqZKCasl.js → Grid-DqZKCasl.js} +0 -0
- /package/{dist/LoginCard-BKq_s4ZT.js → LoginCard-BKq_s4ZT.js} +0 -0
- /package/{dist/LoginForm-54dtpOlx.js → LoginForm-54dtpOlx.js} +0 -0
- /package/{dist/LoginModal-DTSAYZLC.js → LoginModal-DTSAYZLC.js} +0 -0
- /package/{dist/MessageCard-YUS-pnpe.js → MessageCard-YUS-pnpe.js} +0 -0
- /package/{dist/MessageFooter-DrJ6jZ_n.js → MessageFooter-DrJ6jZ_n.js} +0 -0
- /package/{dist/ModalManager-DLxbnq-i.js → ModalManager-DLxbnq-i.js} +0 -0
- /package/{dist/PendingApprovalCard-BnteoK24.js → PendingApprovalCard-BnteoK24.js} +0 -0
- /package/{dist/StripePaymentModal-Kk0GUsIU.js → StripePaymentModal-Kk0GUsIU.js} +0 -0
- /package/{dist/Waves-CzQRk01F.js → Waves-CzQRk01F.js} +0 -0
- /package/{dist/card-oIl95-_C.js → card-oIl95-_C.js} +0 -0
- /package/{dist/dialog-BRgfpVtv.js → dialog-BRgfpVtv.js} +0 -0
- /package/{dist/index.d.ts → index.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./Button-
|
|
2
|
+
import { t as e } from "./Button-vQpIKPk7.js";
|
|
3
3
|
import { useState as t } from "react";
|
|
4
4
|
import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/bookingCard/BillingStep.tsx
|
|
@@ -6,8 +6,8 @@ import { createContext as r, forwardRef as i, memo as a, useContext as o, useEff
|
|
|
6
6
|
import { animate as d, scroll as f } from "motion/react";
|
|
7
7
|
import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
8
8
|
import { cn as g } from "@levo-so/react";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
9
|
+
import { LoaderCircle as _ } from "lucide-react";
|
|
10
|
+
import * as v from "motion/react-m";
|
|
11
11
|
//#region src/providers/BlockContext.tsx
|
|
12
12
|
var y = r({
|
|
13
13
|
isBuilder: !1,
|
|
@@ -968,7 +968,7 @@ var y = r({
|
|
|
968
968
|
children: e
|
|
969
969
|
});
|
|
970
970
|
}, z = (e) => {
|
|
971
|
-
let t =
|
|
971
|
+
let t = v.create(e), n = ({ elementKey: n, children: r, ...i }) => {
|
|
972
972
|
let { parsedBlockData: a, renderMode: o } = x(), { config: s, styles: l, content: u, id: d } = a || {}, f = s ? D(s, n) : void 0, p = N(i, n, f, l ? D(l, n) : void 0, u ? D(u, n) : void 0, M(n, d || "", f)), h = f?.animation, g = c(() => h?.scroll ? {
|
|
973
973
|
from: {
|
|
974
974
|
...C,
|
|
@@ -1064,7 +1064,7 @@ var y = r({
|
|
|
1064
1064
|
});
|
|
1065
1065
|
B.displayName = "BaseIcon";
|
|
1066
1066
|
var V = z(B), H = n.forwardRef(({ className: e, isLoading: t, loadingText: n, children: r, config: i = {}, styles: a, content: o, elementKey: s, generatedClassName: c, ...l }, u) => {
|
|
1067
|
-
let d = r ?? o, f = i,
|
|
1067
|
+
let d = r ?? o, f = i, v = (e, t) => e?.enabled ? /* @__PURE__ */ m(V, {
|
|
1068
1068
|
noElementKey: !0,
|
|
1069
1069
|
elementKey: `${s}_${t}Icon`
|
|
1070
1070
|
}) : null;
|
|
@@ -1075,13 +1075,13 @@ var V = z(B), H = n.forwardRef(({ className: e, isLoading: t, loadingText: n, ch
|
|
|
1075
1075
|
className: g("inline-flex items-center justify-center", e, c),
|
|
1076
1076
|
ref: u,
|
|
1077
1077
|
...l,
|
|
1078
|
-
children: t ? /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(
|
|
1079
|
-
|
|
1078
|
+
children: t ? /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m(_, { className: g("h-4 w-4 animate-spin", n ? "mr-2" : "") }), n] }) : /* @__PURE__ */ h(p, { children: [
|
|
1079
|
+
v(f?.button_icons?.left, "left"),
|
|
1080
1080
|
/* @__PURE__ */ m("span", {
|
|
1081
1081
|
className: "button-content",
|
|
1082
1082
|
children: d
|
|
1083
1083
|
}),
|
|
1084
|
-
|
|
1084
|
+
v(f?.button_icons?.right, "right")
|
|
1085
1085
|
] })
|
|
1086
1086
|
}) : null;
|
|
1087
1087
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as e } from "./AuthProvider-Ch5Ny0il.js";
|
|
3
|
-
import { t } from "./Button-
|
|
3
|
+
import { t } from "./Button-vQpIKPk7.js";
|
|
4
4
|
import { n, t as r } from "./StripePaymentModal-Kk0GUsIU.js";
|
|
5
|
-
import { BillingStep as ee } from "./BillingStep-
|
|
5
|
+
import { BillingStep as ee } from "./BillingStep-DVKPpBT9.js";
|
|
6
6
|
import { useRef as i, useState as a } from "react";
|
|
7
7
|
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
8
8
|
import { cn as te, errorHandler as l, useLevo as u } from "@levo-so/react";
|