@levo-so/studio 0.2.1 → 0.2.3

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.
Files changed (40) hide show
  1. package/{BillingStep-D4P_J_PJ.js → BillingStep-mq3o5Hrf.js} +1 -1
  2. package/{Button-CmwbMGFV.js → Button-DIDhszPV.js} +69 -69
  3. package/{DateTimeWidget-CG9ylSgA.js → DateTimeWidget-DHUmirf1.js} +3 -3
  4. package/{EntryCard-FxB1uCis.js → EntryCard-DiMic9hv.js} +3 -3
  5. package/{KBChatWidget-_kcueoxi.js → KBChatWidget-hquzCtvm.js} +1 -1
  6. package/{LoginCard-D8ZVZjbR.js → LoginCard-Cs9X8LC8.js} +3 -3
  7. package/{LoginForm-Cg5F4guy.js → LoginForm-CLUpD3qG.js} +2 -2
  8. package/{LoginModal-Cn6Nsuz3.js → LoginModal-D9jhZlJr.js} +3 -3
  9. package/{MessageCard-Bx6pC8wW.js → MessageCard-CJltLT2a.js} +2 -2
  10. package/{MessageFooter-CsY4uBIJ.js → MessageFooter-CrhrI-su.js} +1 -1
  11. package/{ModalManager-BIKunQ8D.js → ModalManager-7Nhr8gTs.js} +1 -1
  12. package/{PendingApprovalCard-0ORO4y9v.js → PendingApprovalCard-wW8Ko-w8.js} +3 -3
  13. package/{PhoneWidget-CZr1PZ4G.js → PhoneWidget-BQEfbyV4.js} +3 -3
  14. package/{PopupRenderer-Bncp54gB-BOJj-taW.js → PopupRenderer-Bncp54gB-CQloeJYR.js} +1 -1
  15. package/{ProfileCard-C2lXYYkC.js → ProfileCard-BhnTmQaE.js} +4 -4
  16. package/{RichTextWidget-Dcq-NsEi.js → RichTextWidget-CStx2PMn.js} +3 -3
  17. package/Spinner-HCqR1eGW.js +7 -0
  18. package/{StripePaymentModal-DfFlmYsp.js → StripePaymentModal-Cw-AlxTS.js} +17 -17
  19. package/{VerifyButton-6BIXAEGp.js → VerifyButton-kdxRhJWI.js} +1 -1
  20. package/{bookingCard-CZ3Jj9sL.js → bookingCard-BSRCH57N.js} +201 -201
  21. package/cn-BL52QQS4.js +6 -0
  22. package/{dialog-CznAfWcE.js → dialog-RrTP-MGm.js} +32 -32
  23. package/{dist-B91ZHPA-.js → dist-D3lGqLBP.js} +5 -5
  24. package/index.js +1376 -1373
  25. package/{kbChat-BpJkUcpv.js → kbChat-g2bupQqp.js} +2 -2
  26. package/package.json +4 -4
  27. package/Spinner-wdUA5kVe.js +0 -7
  28. /package/{Beams-CDt4Mt3M.js → Beams-DVEhileN.js} +0 -0
  29. /package/{CollectionField-D25BVweU.js → CollectionField-CD6ok1A3.js} +0 -0
  30. /package/{CollectionInput-CG-Pu_51.js → CollectionInput-DyNbxIZ8.js} +0 -0
  31. /package/{Dots-DadBreAs.js → Dots-vp0H1Md3.js} +0 -0
  32. /package/{Gradient-CPoU73FR.js → Gradient-_5G8Qm5s.js} +0 -0
  33. /package/{Grid-CAXyHMvM.js → Grid-D694XUrO.js} +0 -0
  34. /package/{Popover-Dt4--ulK.js → Popover-V2O1gz6N.js} +0 -0
  35. /package/{Tooltip-DreKXbTO.js → Tooltip-DTnCNEcE.js} +0 -0
  36. /package/{Waves-DPbfUhRX.js → Waves-DeNoq6Bo.js} +0 -0
  37. /package/{authentication-BSNkm1-l.js → authentication-TdyaDNTn.js} +0 -0
  38. /package/{card-DFSlAwCq.js → card-Cb4m0p4i.js} +0 -0
  39. /package/{pillChrome-B4uuWJhY.js → pillChrome-Cx8qlbsn.js} +0 -0
  40. /package/{useLogin-mEuzGlb2.js → useLogin-BhysESLW.js} +0 -0
package/cn-BL52QQS4.js ADDED
@@ -0,0 +1,6 @@
1
+ import { clsx as e } from "clsx";
2
+ import { twMerge as t } from "tailwind-merge";
3
+ //#region src/utils/cn.ts
4
+ var n = (...n) => t(e(n));
5
+ //#endregion
6
+ export { n as t };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { jsx as e, jsxs as t } from "react/jsx-runtime";
3
- import { cn as n } from "@levo/utils/cn";
2
+ import { t as e } from "./cn-BL52QQS4.js";
3
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
4
4
  import { XIcon as r } from "lucide-react";
5
5
  import { Dialog as i } from "radix-ui";
6
6
  var a = {
@@ -19,72 +19,72 @@ var a = {
19
19
  };
20
20
  //#endregion
21
21
  //#region src/elements/dialog/index.tsx
22
- function o({ ...t }) {
23
- return /* @__PURE__ */ e(i.Root, {
22
+ function o({ ...e }) {
23
+ return /* @__PURE__ */ t(i.Root, {
24
24
  "data-slot": "dialog",
25
- ...t
25
+ ...e
26
26
  });
27
27
  }
28
- function s({ ...t }) {
29
- return /* @__PURE__ */ e(i.Trigger, {
28
+ function s({ ...e }) {
29
+ return /* @__PURE__ */ t(i.Trigger, {
30
30
  "data-slot": "dialog-trigger",
31
- ...t
31
+ ...e
32
32
  });
33
33
  }
34
- function c({ ...t }) {
35
- return /* @__PURE__ */ e(i.Portal, {
34
+ function c({ ...e }) {
35
+ return /* @__PURE__ */ t(i.Portal, {
36
36
  "data-slot": "dialog-portal",
37
- ...t
37
+ ...e
38
38
  });
39
39
  }
40
- function l({ className: t, ...r }) {
41
- return /* @__PURE__ */ e(i.Overlay, {
40
+ function l({ className: n, ...r }) {
41
+ return /* @__PURE__ */ t(i.Overlay, {
42
42
  "data-slot": "dialog-overlay",
43
- className: n(a.Overlay, t),
43
+ className: e(a.Overlay, n),
44
44
  ...r
45
45
  });
46
46
  }
47
47
  function u({ className: o, children: s, showCloseButton: u = !0, ...d }) {
48
- return /* @__PURE__ */ t(c, {
48
+ return /* @__PURE__ */ n(c, {
49
49
  "data-slot": "dialog-portal",
50
- children: [/* @__PURE__ */ e(l, {}), /* @__PURE__ */ t(i.Content, {
50
+ children: [/* @__PURE__ */ t(l, {}), /* @__PURE__ */ n(i.Content, {
51
51
  "data-slot": "dialog-content",
52
- className: n(a.Content, o),
52
+ className: e(a.Content, o),
53
53
  ...d,
54
- children: [s, u && /* @__PURE__ */ e(i.Close, {
54
+ children: [s, u && /* @__PURE__ */ t(i.Close, {
55
55
  "data-slot": "dialog-close",
56
56
  "aria-label": "Close Button",
57
- className: n(a.CloseButton),
58
- children: /* @__PURE__ */ e(r, {})
57
+ className: e(a.CloseButton),
58
+ children: /* @__PURE__ */ t(r, {})
59
59
  })]
60
60
  })]
61
61
  });
62
62
  }
63
- function d({ className: t, ...r }) {
64
- return /* @__PURE__ */ e("div", {
63
+ function d({ className: n, ...r }) {
64
+ return /* @__PURE__ */ t("div", {
65
65
  "data-slot": "dialog-header",
66
- className: n(a.Header, t),
66
+ className: e(a.Header, n),
67
67
  ...r
68
68
  });
69
69
  }
70
- function f({ className: t, ...r }) {
71
- return /* @__PURE__ */ e("div", {
70
+ function f({ className: n, ...r }) {
71
+ return /* @__PURE__ */ t("div", {
72
72
  "data-slot": "dialog-footer",
73
- className: n(a.Footer, t),
73
+ className: e(a.Footer, n),
74
74
  ...r
75
75
  });
76
76
  }
77
- function p({ className: t, ...r }) {
78
- return /* @__PURE__ */ e(i.Title, {
77
+ function p({ className: n, ...r }) {
78
+ return /* @__PURE__ */ t(i.Title, {
79
79
  "data-slot": "dialog-title",
80
- className: n(a.Title, t),
80
+ className: e(a.Title, n),
81
81
  ...r
82
82
  });
83
83
  }
84
- function m({ className: t, ...r }) {
85
- return /* @__PURE__ */ e(i.Description, {
84
+ function m({ className: n, ...r }) {
85
+ return /* @__PURE__ */ t(i.Description, {
86
86
  "data-slot": "dialog-description",
87
- className: n(a.Description, t),
87
+ className: e(a.Description, n),
88
88
  ...r
89
89
  });
90
90
  }
@@ -4,10 +4,10 @@ import { i as t, n, o as r, t as i } from "./Dialog-IrII0ugb.js";
4
4
  import { i as a, r as o, t as s } from "./Button-lUfKisu8.js";
5
5
  import { i as c, n as l, r as u, t as d } from "./inlineCollectionTheme-D2w17LHX.js";
6
6
  import { t as f } from "./theme.cssm-2YTdd8Yh.js";
7
- import { a as p, i as m, r as h, t as g } from "./CollectionField-D25BVweU.js";
8
- import { n as _, r as v, t as y } from "./VerifyButton-6BIXAEGp.js";
9
- import { n as b, r as x, t as S } from "./Tooltip-DreKXbTO.js";
10
- import { i as C, n as w, r as T, t as E } from "./CollectionInput-CG-Pu_51.js";
7
+ import { a as p, i as m, r as h, t as g } from "./CollectionField-CD6ok1A3.js";
8
+ import { n as _, r as v, t as y } from "./VerifyButton-kdxRhJWI.js";
9
+ import { n as b, r as x, t as S } from "./Tooltip-DTnCNEcE.js";
10
+ import { i as C, n as w, r as T, t as E } from "./CollectionInput-DyNbxIZ8.js";
11
11
  import { c as D } from "react/compiler-runtime";
12
12
  import { errorHandler as O, errorToast as k, successToast as A, useLevo as j } from "@levo-so/react";
13
13
  import * as M from "react";
@@ -1995,7 +1995,7 @@ var Or = "_156u72w0", kr = "_156u72w1", Ar = (e) => Array.isArray(e) && e.every(
1995
1995
  leftIcon: n,
1996
1996
  ...e
1997
1997
  }), t[1] = e, t[2] = r), r;
1998
- }, Nr = I(() => import("./DateTimeWidget-CG9ylSgA.js")), Pr = I(() => import("./PhoneWidget-CZr1PZ4G.js")), Fr = I(() => import("./RichTextWidget-Dcq-NsEi.js")), Ir = {
1998
+ }, Nr = I(() => import("./DateTimeWidget-DHUmirf1.js")), Pr = I(() => import("./PhoneWidget-BQEfbyV4.js")), Fr = I(() => import("./RichTextWidget-CStx2PMn.js")), Ir = {
1999
1999
  TextWidget: $((e) => /* @__PURE__ */ U(Qn, { ...e })),
2000
2000
  NumberWidget: $((e) => /* @__PURE__ */ U(Qn, {
2001
2001
  type: "number",