@chaibuilder/sdk 1.2.65 → 1.2.67

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 (125) hide show
  1. package/dist/AddBlocks-TVOOPK2w.cjs +1 -0
  2. package/dist/AddBlocks-mbuhydG3.js +123 -0
  3. package/dist/CanvasArea-KJMcis97.cjs +1 -0
  4. package/dist/CanvasArea-kg3Rgg9t.js +136 -0
  5. package/dist/CodeEditor-QP6l0mv4.cjs +1 -0
  6. package/dist/{CodeEditor-Qff4q7sx.js → CodeEditor-q5unEaUI.js} +60 -46
  7. package/dist/STRINGS--j49GZJP.js +7 -0
  8. package/dist/STRINGS-gPz7CUOk.cjs +1 -0
  9. package/dist/SettingsPanel-MWeQjDWs.cjs +1 -0
  10. package/dist/SettingsPanel-pomLrOxB.js +81 -0
  11. package/dist/SidePanels-9sbERNEv.cjs +1 -0
  12. package/dist/{SidePanels-ijaUKSek.js → SidePanels-YpRrvfiH.js} +87 -93
  13. package/dist/{Topbar-vHlnfxPs.js → Topbar-kVBx7pp4.js} +56 -61
  14. package/dist/Topbar-veJ2_blW.cjs +1 -0
  15. package/dist/{UILibrariesPanel-NVUMUPUj.js → UILibrariesPanel-ES8YzN9C.js} +92 -101
  16. package/dist/UILibrariesPanel-H8t36R6M.cjs +1 -0
  17. package/dist/UnsplashImages--MXx-DYM.cjs +1 -0
  18. package/dist/{UnsplashImages-UkHihhA5.js → UnsplashImages-sotLcz6r.js} +72 -57
  19. package/dist/{UploadImages-HtuJZJlo.js → UploadImages-I0QQ6vj1.js} +57 -44
  20. package/dist/UploadImages-xhxeYKkl.cjs +1 -0
  21. package/dist/badge-7BVT3zxN.cjs +1 -0
  22. package/dist/badge-pJqQSA13.js +23 -0
  23. package/dist/context-menu-_8TFbFEJ.cjs +1 -0
  24. package/dist/context-menu-sks9vdzC.js +906 -0
  25. package/dist/core.cjs +1 -1
  26. package/dist/core.d.ts +45 -20
  27. package/dist/core.js +85 -87
  28. package/dist/iconBase-vJD0OXxU.cjs +1 -0
  29. package/dist/iconBase-zweRWSz0.js +323 -0
  30. package/dist/index-5hfuDpYs.cjs +223 -0
  31. package/dist/index-Zu-K_BX7.js +33933 -0
  32. package/dist/jsx-runtime-JYMCiFoE.cjs +27 -0
  33. package/dist/{jsx-runtime-WbnYoNE9.js → jsx-runtime-Sp0orL4X.js} +106 -109
  34. package/dist/plugin-P0tpo_XZ.cjs +1 -0
  35. package/dist/plugin-_F-KZp1i.cjs +1 -0
  36. package/dist/plugin-f5uJtdXY.js +43 -0
  37. package/dist/plugin-sJ3Hzvpv.js +57 -0
  38. package/dist/render.cjs +3 -1
  39. package/dist/render.d.ts +19 -52
  40. package/dist/render.js +136 -183
  41. package/dist/select-JW3OMYm-.js +75 -0
  42. package/dist/select-fXj5tdMX.cjs +1 -0
  43. package/dist/separator-hT24N-xp.cjs +1 -0
  44. package/dist/separator-sgwOa1FE.js +18 -0
  45. package/dist/style.css +1 -1
  46. package/dist/tailwind.cjs +1 -1
  47. package/dist/tailwind.d.ts +41 -1
  48. package/dist/tailwind.js +16 -8
  49. package/dist/ui.cjs +1 -1
  50. package/dist/ui.d.ts +0 -10
  51. package/dist/ui.js +345 -163
  52. package/dist/web-blocks.cjs +1 -1
  53. package/dist/web-blocks.d.ts +1 -1
  54. package/dist/web-blocks.js +489 -724
  55. package/package.json +15 -45
  56. package/dist/CanvasArea-fSdH_RiN.cjs +0 -1
  57. package/dist/CanvasArea-ut5yknzX.js +0 -168
  58. package/dist/CodeEditor-ypUx3RAV.cjs +0 -1
  59. package/dist/CurrentPage-jHSVy3hq.js +0 -120
  60. package/dist/CurrentPage-p_AM4lrF.cjs +0 -1
  61. package/dist/Functions-7jnEwJyw.js +0 -15
  62. package/dist/Functions-N3yhPYKY.cjs +0 -1
  63. package/dist/MODIFIERS-fd5XOmum.js +0 -60
  64. package/dist/MODIFIERS-mVmfEGgo.cjs +0 -1
  65. package/dist/PagesPanel-U3InJ9Db.js +0 -78
  66. package/dist/PagesPanel-wqDb4D-x.cjs +0 -1
  67. package/dist/ProjectPanel-XODJTO4J.js +0 -99
  68. package/dist/ProjectPanel-fWESzHr6.cjs +0 -1
  69. package/dist/SidePanels-lrMQqc0h.cjs +0 -1
  70. package/dist/Topbar-RrCDxd0i.cjs +0 -1
  71. package/dist/UILibrariesPanel-7btHgBD0.cjs +0 -1
  72. package/dist/UnsplashImages-6UjgojvF.cjs +0 -1
  73. package/dist/UploadImages-3h0cRsvr.cjs +0 -1
  74. package/dist/_commonjsHelpers-UyOWmZb0.js +0 -8
  75. package/dist/_commonjsHelpers-wDK0ZLPo.cjs +0 -1
  76. package/dist/add-page-modal-RwIj1FxH.cjs +0 -1
  77. package/dist/add-page-modal-TOfMfmPA.js +0 -115
  78. package/dist/confirm-alert-eIp2cAkc.js +0 -60
  79. package/dist/confirm-alert-v1lG8ex4.cjs +0 -1
  80. package/dist/controls-rRZhz0vu.cjs +0 -1
  81. package/dist/controls-yjgoZzB6.js +0 -199
  82. package/dist/delete-page-modal-4bxjpVBD.js +0 -97
  83. package/dist/delete-page-modal-qYDZmpgT.cjs +0 -1
  84. package/dist/email-blocks.cjs +0 -1
  85. package/dist/email-blocks.d.ts +0 -3
  86. package/dist/email-blocks.js +0 -294
  87. package/dist/email.cjs +0 -1
  88. package/dist/email.d.ts +0 -171
  89. package/dist/email.js +0 -90
  90. package/dist/empty-slot-Lsxjts7Q.js +0 -6
  91. package/dist/empty-slot-Sy930lX6.cjs +0 -1
  92. package/dist/form-4jTocVbZ.cjs +0 -1
  93. package/dist/form-NAzFjGs0.js +0 -125
  94. package/dist/functions--tdNWQDW.js +0 -30
  95. package/dist/functions-EVUeSwX1.cjs +0 -1
  96. package/dist/html-to-json-NqRjgFqp.cjs +0 -1
  97. package/dist/html-to-json-l_mw5y-e.js +0 -243
  98. package/dist/index--k2M8kzI.cjs +0 -1
  99. package/dist/index--mLLy7QQ.cjs +0 -1
  100. package/dist/index-5XyNUAjc.cjs +0 -290
  101. package/dist/index-C7mB4XFm.js +0 -3141
  102. package/dist/index-VBXQixVm.js +0 -117
  103. package/dist/index-YZhtVcj_.js +0 -2201
  104. package/dist/index-aeDphKpP.cjs +0 -1
  105. package/dist/index-lFgDm1oa.js +0 -83780
  106. package/dist/jsx-runtime-Z_BpKhVy.cjs +0 -27
  107. package/dist/lib.cjs +0 -3
  108. package/dist/lib.d.ts +0 -80
  109. package/dist/lib.js +0 -1350
  110. package/dist/page-viewer-4wrnWnK0.js +0 -124
  111. package/dist/page-viewer-ra0GLx1p.cjs +0 -1
  112. package/dist/project-general-setting-IwZUkYF3.js +0 -90
  113. package/dist/project-general-setting-lFjTUhHD.cjs +0 -1
  114. package/dist/project-seo-setting-e1fTqVsd.js +0 -83
  115. package/dist/project-seo-setting-o0V9acCV.cjs +0 -1
  116. package/dist/server.cjs +0 -1
  117. package/dist/server.d.ts +0 -299
  118. package/dist/server.js +0 -216
  119. package/dist/single-page-detail-ZNWFKqLW.js +0 -229
  120. package/dist/single-page-detail-g55Anu7R.cjs +0 -1
  121. package/dist/studio.cjs +0 -1
  122. package/dist/studio.d.ts +0 -176
  123. package/dist/studio.js +0 -67
  124. package/dist/utils-D_vtk3zK.cjs +0 -1
  125. package/dist/utils-VpVqnC9m.js +0 -1075
package/dist/ui.js CHANGED
@@ -1,178 +1,360 @@
1
- import { av as Q, ay as j, aw as J, ax as K, aU as N, bJ as O, A as U, b8 as X, g as Y, b as Z, e as z, f as W, c as _, d as $, a as aa, aV as ea, bB as oa, B as ta, aP as ra, aS as sa, aR as na, aT as ia, aQ as pa, bL as ba, a7 as ua, ci as ca, aa as ma, ab as la, a8 as da, ac as ga, a9 as Ca, ck as Ma, cj as Sa, q as Da, cl as Ta, o as xa, cq as Aa, C as wa, cn as ha, cr as Ia, cv as Pa, cm as Ga, co as La, cp as va, cs as Fa, ct as Ha, cu as Ra, r as ka, ah as Ba, aj as Va, af as fa, ag as Ea, ad as qa, ae as ya, ai as Qa, L as ja, Q as Ja, N as Ka, aK as Na, aL as Oa, O as Ua, cb as Xa, cf as Ya, ca as Za, P as za, aM as Wa, cc as _a, cd as $a, ce as ae, M as ee, H as oe, I as te, G as re, ao as se, ap as ne, aF as ie, as as pe, aq as be, bN as ue, bU as ce, bQ as me, b_ as le, bR as de, bT as ge, bO as Ce, bX as Me, bV as Se, bW as De, bS as Te, c0 as xe, b$ as Ae, bY as we, bZ as he, bP as Ie, a4 as Pe, a6 as Ge, a5 as Le, an as ve, aJ as Fe, bM as He, bw as Re, bz as ke, bD as Be, bA as Ve, bE as fe, c1 as Ee, bx as qe, by as ye, bF as Qe, c2 as je, c4 as Je, c5 as Ke, c9 as Ne, c7 as Oe, c6 as Ue, c8 as Xe, c3 as Ye, a3 as Ze, ar as ze, aX as We, bC as _e, aY as $e, aZ as ao, aB as eo, bg as oo, bG as to, T as ro, w as so, aG as no, bd as io, v as po, bK as bo, bI as uo, cg as co, ch as mo, bH as lo, aE as go } from "./index-C7mB4XFm.js";
2
- import "./jsx-runtime-WbnYoNE9.js";
3
- import "./_commonjsHelpers-UyOWmZb0.js";
4
- import "react";
5
- import "@radix-ui/react-toggle";
6
- import "class-variance-authority";
7
- import "./utils-VpVqnC9m.js";
8
- import "lodash-es";
9
- import "./MODIFIERS-fd5XOmum.js";
10
- import "clsx";
11
- import "tailwind-merge";
1
+ import { j as t } from "./jsx-runtime-Sp0orL4X.js";
2
+ import * as i from "react";
3
+ import * as m from "@radix-ui/react-toggle";
4
+ import { cva as c } from "class-variance-authority";
5
+ import { ag as r } from "./context-menu-sks9vdzC.js";
6
+ import { J as xe, N as be, K as he, M as Ce, A as ye, ai as Ne, a1 as Se, a9 as we, a8 as Me, a3 as ve, a6 as De, a7 as Te, a4 as je, a5 as Re, a2 as Ie, l as Ae, B as Pe, f as ke, i as ze, h as Ge, k as Le, g as He, aj as Fe, u as Ve, at as Be, x as Ee, y as Oe, v as qe, z as Je, w as Ke, av as Qe, au as Ue, C as We, aw as Xe, b as Ye, aB as Ze, c as _e, ay as $e, aC as ea, aG as aa, ax as ta, az as oa, aA as sa, aD as ra, aE as na, aF as ia, a as da, D as la, n as ma, q as ca, r as pa, o as ua, p as fa, m as ga, U as xa, ac as ba, W as ha, _ as Ca, $ as ya, Y as Na, am as Sa, aq as wa, al as Ma, Z as va, a0 as Da, an as Ta, ao as ja, ap as Ra, V as Ia, ad as Aa, af as Pa, ae as ka, Q as za, L as Ga, P as La, t as Ha, s as Fa, X as Va, ak as Ba, S as Ea, I as Oa, E as qa, H as Ja, F as Ka, G as Qa, j as Ua, ab as Wa, T as Xa, e as Ya, R as Za, aa as _a, d as $a, ah as et, ar as at, as as tt, O as ot } from "./context-menu-sks9vdzC.js";
7
+ import { B as rt, b as nt } from "./badge-pJqQSA13.js";
8
+ import { ChevronRightIcon as g, CheckIcon as x, DotFilledIcon as b, Cross2Icon as h } from "@radix-ui/react-icons";
9
+ import * as s from "@radix-ui/react-menubar";
10
+ import { S as dt, d as lt, a as mt, f as ct, e as pt, g as ut, c as ft, b as gt } from "./select-JW3OMYm-.js";
11
+ import * as d from "@radix-ui/react-dialog";
12
+ import { S as bt } from "./separator-sgwOa1FE.js";
12
13
  import "@radix-ui/react-switch";
13
- import "@radix-ui/react-slot";
14
14
  import "@radix-ui/react-accordion";
15
- import "@radix-ui/react-icons";
16
15
  import "@radix-ui/react-alert-dialog";
17
- import "@radix-ui/react-dialog";
16
+ import "@radix-ui/react-slot";
18
17
  import "@radix-ui/react-label";
19
18
  import "@radix-ui/react-scroll-area";
20
19
  import "@radix-ui/react-tabs";
21
20
  import "@radix-ui/react-tooltip";
22
21
  import "@radix-ui/react-popover";
23
- import "@radix-ui/react-menubar";
24
22
  import "@radix-ui/react-hover-card";
25
- import "@radix-ui/react-select";
26
23
  import "@radix-ui/react-dropdown-menu";
27
- import "@radix-ui/react-separator";
28
24
  import "@radix-ui/react-toast";
29
25
  import "cmdk";
30
26
  import "@radix-ui/react-context-menu";
31
- import "react-icons-picker";
32
- import "react-dom";
33
- import "react-quill";
34
- import "./Functions-7jnEwJyw.js";
35
- import "@chaibuilder/runtime";
36
- import "jotai";
37
- import "@react-hookz/web";
38
- import "tree-model";
39
- import "react-i18next";
27
+ import "clsx";
28
+ import "tailwind-merge";
29
+ import "@radix-ui/react-select";
30
+ import "@radix-ui/react-separator";
31
+ const C = c(
32
+ "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",
33
+ {
34
+ variants: {
35
+ variant: {
36
+ default: "bg-transparent",
37
+ outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"
38
+ },
39
+ size: {
40
+ default: "h-10 px-3",
41
+ sm: "h-9 px-2.5",
42
+ lg: "h-11 px-5"
43
+ }
44
+ },
45
+ defaultVariants: {
46
+ variant: "default",
47
+ size: "default"
48
+ }
49
+ }
50
+ ), y = i.forwardRef(({ className: e, variant: a, size: o, ...n }, l) => /* @__PURE__ */ t.jsx(m.Root, { ref: l, className: r(C({ variant: a, size: o, className: e })), ...n }));
51
+ y.displayName = m.Root.displayName;
52
+ const ne = s.Menu, ie = s.Group, de = s.Portal, le = s.Sub, me = s.RadioGroup, N = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
53
+ s.Root,
54
+ {
55
+ ref: o,
56
+ className: r("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm", e),
57
+ ...a
58
+ }
59
+ ));
60
+ N.displayName = s.Root.displayName;
61
+ const S = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
62
+ s.Trigger,
63
+ {
64
+ ref: o,
65
+ className: r(
66
+ "flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
67
+ e
68
+ ),
69
+ ...a
70
+ }
71
+ ));
72
+ S.displayName = s.Trigger.displayName;
73
+ const w = i.forwardRef(({ className: e, inset: a, children: o, ...n }, l) => /* @__PURE__ */ t.jsxs(
74
+ s.SubTrigger,
75
+ {
76
+ ref: l,
77
+ className: r(
78
+ "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
79
+ a && "pl-8",
80
+ e
81
+ ),
82
+ ...n,
83
+ children: [
84
+ o,
85
+ /* @__PURE__ */ t.jsx(g, { className: "ml-auto h-4 w-4" })
86
+ ]
87
+ }
88
+ ));
89
+ w.displayName = s.SubTrigger.displayName;
90
+ const M = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
91
+ s.SubContent,
92
+ {
93
+ ref: o,
94
+ className: r(
95
+ "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
96
+ e
97
+ ),
98
+ ...a
99
+ }
100
+ ));
101
+ M.displayName = s.SubContent.displayName;
102
+ const v = i.forwardRef(({ className: e, align: a = "start", alignOffset: o = -4, sideOffset: n = 8, ...l }, f) => /* @__PURE__ */ t.jsx(s.Portal, { children: /* @__PURE__ */ t.jsx(
103
+ s.Content,
104
+ {
105
+ ref: f,
106
+ align: a,
107
+ alignOffset: o,
108
+ sideOffset: n,
109
+ className: r(
110
+ "z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
111
+ e
112
+ ),
113
+ ...l
114
+ }
115
+ ) }));
116
+ v.displayName = s.Content.displayName;
117
+ const D = i.forwardRef(({ className: e, inset: a, ...o }, n) => /* @__PURE__ */ t.jsx(
118
+ s.Item,
119
+ {
120
+ ref: n,
121
+ className: r(
122
+ "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
123
+ a && "pl-8",
124
+ e
125
+ ),
126
+ ...o
127
+ }
128
+ ));
129
+ D.displayName = s.Item.displayName;
130
+ const T = i.forwardRef(({ className: e, children: a, checked: o, ...n }, l) => /* @__PURE__ */ t.jsxs(
131
+ s.CheckboxItem,
132
+ {
133
+ ref: l,
134
+ className: r(
135
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
136
+ e
137
+ ),
138
+ checked: o,
139
+ ...n,
140
+ children: [
141
+ /* @__PURE__ */ t.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ t.jsx(s.ItemIndicator, { children: /* @__PURE__ */ t.jsx(x, { className: "h-4 w-4" }) }) }),
142
+ a
143
+ ]
144
+ }
145
+ ));
146
+ T.displayName = s.CheckboxItem.displayName;
147
+ const j = i.forwardRef(({ className: e, children: a, ...o }, n) => /* @__PURE__ */ t.jsxs(
148
+ s.RadioItem,
149
+ {
150
+ ref: n,
151
+ className: r(
152
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
153
+ e
154
+ ),
155
+ ...o,
156
+ children: [
157
+ /* @__PURE__ */ t.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ t.jsx(s.ItemIndicator, { children: /* @__PURE__ */ t.jsx(b, { className: "h-4 w-4 fill-current" }) }) }),
158
+ a
159
+ ]
160
+ }
161
+ ));
162
+ j.displayName = s.RadioItem.displayName;
163
+ const R = i.forwardRef(({ className: e, inset: a, ...o }, n) => /* @__PURE__ */ t.jsx(
164
+ s.Label,
165
+ {
166
+ ref: n,
167
+ className: r("px-2 py-1.5 text-sm font-semibold", a && "pl-8", e),
168
+ ...o
169
+ }
170
+ ));
171
+ R.displayName = s.Label.displayName;
172
+ const I = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(s.Separator, { ref: o, className: r("-mx-1 my-1 h-px bg-muted", e), ...a }));
173
+ I.displayName = s.Separator.displayName;
174
+ const A = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
175
+ A.displayname = "MenubarShortcut";
176
+ const ce = d.Root, pe = d.Trigger, ue = d.Close, p = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx(d.Portal, { className: r(e), ...a });
177
+ p.displayName = d.Portal.displayName;
178
+ const u = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
179
+ d.Overlay,
180
+ {
181
+ className: r(
182
+ "fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
183
+ e
184
+ ),
185
+ ...a,
186
+ ref: o
187
+ }
188
+ ));
189
+ u.displayName = d.Overlay.displayName;
190
+ const P = c(
191
+ "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
192
+ {
193
+ variants: {
194
+ side: {
195
+ top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
196
+ bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
197
+ left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
198
+ right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
199
+ }
200
+ },
201
+ defaultVariants: {
202
+ side: "right"
203
+ }
204
+ }
205
+ ), k = i.forwardRef(
206
+ ({ side: e = "right", className: a, children: o, ...n }, l) => /* @__PURE__ */ t.jsxs(p, { children: [
207
+ /* @__PURE__ */ t.jsx(u, {}),
208
+ /* @__PURE__ */ t.jsxs(d.Content, { ref: l, className: r(P({ side: e }), a), ...n, children: [
209
+ o,
210
+ /* @__PURE__ */ t.jsxs(d.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
211
+ /* @__PURE__ */ t.jsx(h, { className: "h-4 w-4" }),
212
+ /* @__PURE__ */ t.jsx("span", { className: "sr-only", children: "Close" })
213
+ ] })
214
+ ] })
215
+ ] })
216
+ );
217
+ k.displayName = d.Content.displayName;
218
+ const z = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", e), ...a });
219
+ z.displayName = "SheetHeader";
220
+ const G = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...a });
221
+ G.displayName = "SheetFooter";
222
+ const L = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(d.Title, { ref: o, className: r("text-lg font-semibold text-foreground", e), ...a }));
223
+ L.displayName = d.Title.displayName;
224
+ const H = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(d.Description, { ref: o, className: r("text-sm text-muted-foreground", e), ...a }));
225
+ H.displayName = d.Description.displayName;
40
226
  export {
41
- Q as Accordion,
42
- j as AccordionContent,
43
- J as AccordionItem,
44
- K as AccordionTrigger,
45
- N as Alert,
46
- O as AlertDescription,
47
- U as AlertDialog,
48
- X as AlertDialogAction,
49
- Y as AlertDialogCancel,
50
- Z as AlertDialogContent,
51
- z as AlertDialogDescription,
52
- W as AlertDialogFooter,
53
- _ as AlertDialogHeader,
54
- $ as AlertDialogTitle,
55
- aa as AlertDialogTrigger,
56
- ea as AlertTitle,
57
- oa as Badge,
58
- ta as Button,
59
- ra as Card,
60
- sa as CardContent,
61
- na as CardDescription,
62
- ia as CardFooter,
63
- pa as CardHeader,
64
- ba as CardTitle,
65
- ua as Command,
66
- ca as CommandDialog,
67
- ma as CommandEmpty,
68
- la as CommandGroup,
69
- da as CommandInput,
70
- ga as CommandItem,
71
- Ca as CommandList,
72
- Ma as CommandSeparator,
73
- Sa as CommandShortcut,
74
- Da as ContextMenu,
75
- Ta as ContextMenuCheckboxItem,
76
- xa as ContextMenuContent,
77
- Aa as ContextMenuGroup,
78
- wa as ContextMenuItem,
79
- ha as ContextMenuLabel,
80
- Ia as ContextMenuPortal,
81
- Pa as ContextMenuRadioGroup,
82
- Ga as ContextMenuRadioItem,
83
- La as ContextMenuSeparator,
84
- va as ContextMenuShortcut,
85
- Fa as ContextMenuSub,
86
- Ha as ContextMenuSubContent,
87
- Ra as ContextMenuSubTrigger,
88
- ka as ContextMenuTrigger,
89
- Ba as Dialog,
90
- Va as DialogContent,
91
- fa as DialogDescription,
92
- Ea as DialogFooter,
93
- qa as DialogHeader,
94
- ya as DialogTitle,
95
- Qa as DialogTrigger,
96
- ja as DropdownMenu,
97
- Ja as DropdownMenuCheckboxItem,
98
- Ka as DropdownMenuContent,
99
- Na as DropdownMenuGroup,
100
- Oa as DropdownMenuItem,
101
- Ua as DropdownMenuLabel,
102
- Xa as DropdownMenuPortal,
103
- Ya as DropdownMenuRadioGroup,
104
- Za as DropdownMenuRadioItem,
105
- za as DropdownMenuSeparator,
106
- Wa as DropdownMenuShortcut,
107
- _a as DropdownMenuSub,
108
- $a as DropdownMenuSubContent,
109
- ae as DropdownMenuSubTrigger,
110
- ee as DropdownMenuTrigger,
111
- oe as HoverCard,
112
- te as HoverCardContent,
113
- re as HoverCardTrigger,
114
- se as IconPickerField,
115
- ne as ImagePickerField,
116
- ie as Input,
117
- pe as Label,
118
- be as LinkField,
119
- ue as Menubar,
120
- ce as MenubarCheckboxItem,
121
- me as MenubarContent,
122
- le as MenubarGroup,
123
- de as MenubarItem,
124
- ge as MenubarLabel,
125
- Ce as MenubarMenu,
126
- Me as MenubarPortal,
127
- Se as MenubarRadioGroup,
128
- De as MenubarRadioItem,
129
- Te as MenubarSeparator,
130
- xe as MenubarShortcut,
131
- Ae as MenubarSub,
132
- we as MenubarSubContent,
133
- he as MenubarSubTrigger,
134
- Ie as MenubarTrigger,
135
- Pe as Popover,
136
- Ge as PopoverContent,
137
- Le as PopoverTrigger,
138
- ve as RTEField,
139
- Fe as ScrollArea,
140
- He as ScrollBar,
141
- Re as Select,
142
- ke as SelectContent,
143
- Be as SelectGroup,
144
- Ve as SelectItem,
145
- fe as SelectLabel,
146
- Ee as SelectSeparator,
147
- qe as SelectTrigger,
148
- ye as SelectValue,
149
- Qe as Separator,
150
- je as Sheet,
151
- Je as SheetClose,
152
- Ke as SheetContent,
153
- Ne as SheetDescription,
154
- Oe as SheetFooter,
155
- Ue as SheetHeader,
156
- Xe as SheetTitle,
157
- Ye as SheetTrigger,
158
- Ze as Skeleton,
159
- ze as Switch,
160
- We as Tabs,
161
- _e as TabsContent,
162
- $e as TabsList,
163
- ao as TabsTrigger,
164
- eo as Textarea,
165
- oo as Toaster,
166
- to as Toggle,
167
- ro as Tooltip,
168
- so as TooltipContent,
169
- no as TooltipPortal,
170
- io as TooltipProvider,
171
- po as TooltipTrigger,
172
- bo as badgeVariants,
173
- uo as buttonVariants,
174
- co as reducer,
175
- mo as toast,
176
- lo as toggleVariants,
177
- go as useToast
227
+ xe as Accordion,
228
+ be as AccordionContent,
229
+ he as AccordionItem,
230
+ Ce as AccordionTrigger,
231
+ ye as Alert,
232
+ Ne as AlertDescription,
233
+ Se as AlertDialog,
234
+ we as AlertDialogAction,
235
+ Me as AlertDialogCancel,
236
+ ve as AlertDialogContent,
237
+ De as AlertDialogDescription,
238
+ Te as AlertDialogFooter,
239
+ je as AlertDialogHeader,
240
+ Re as AlertDialogTitle,
241
+ Ie as AlertDialogTrigger,
242
+ Ae as AlertTitle,
243
+ rt as Badge,
244
+ Pe as Button,
245
+ ke as Card,
246
+ ze as CardContent,
247
+ Ge as CardDescription,
248
+ Le as CardFooter,
249
+ He as CardHeader,
250
+ Fe as CardTitle,
251
+ Ve as Command,
252
+ Be as CommandDialog,
253
+ Ee as CommandEmpty,
254
+ Oe as CommandGroup,
255
+ qe as CommandInput,
256
+ Je as CommandItem,
257
+ Ke as CommandList,
258
+ Qe as CommandSeparator,
259
+ Ue as CommandShortcut,
260
+ We as ContextMenu,
261
+ Xe as ContextMenuCheckboxItem,
262
+ Ye as ContextMenuContent,
263
+ Ze as ContextMenuGroup,
264
+ _e as ContextMenuItem,
265
+ $e as ContextMenuLabel,
266
+ ea as ContextMenuPortal,
267
+ aa as ContextMenuRadioGroup,
268
+ ta as ContextMenuRadioItem,
269
+ oa as ContextMenuSeparator,
270
+ sa as ContextMenuShortcut,
271
+ ra as ContextMenuSub,
272
+ na as ContextMenuSubContent,
273
+ ia as ContextMenuSubTrigger,
274
+ da as ContextMenuTrigger,
275
+ la as Dialog,
276
+ ma as DialogContent,
277
+ ca as DialogDescription,
278
+ pa as DialogFooter,
279
+ ua as DialogHeader,
280
+ fa as DialogTitle,
281
+ ga as DialogTrigger,
282
+ xa as DropdownMenu,
283
+ ba as DropdownMenuCheckboxItem,
284
+ ha as DropdownMenuContent,
285
+ Ca as DropdownMenuGroup,
286
+ ya as DropdownMenuItem,
287
+ Na as DropdownMenuLabel,
288
+ Sa as DropdownMenuPortal,
289
+ wa as DropdownMenuRadioGroup,
290
+ Ma as DropdownMenuRadioItem,
291
+ va as DropdownMenuSeparator,
292
+ Da as DropdownMenuShortcut,
293
+ Ta as DropdownMenuSub,
294
+ ja as DropdownMenuSubContent,
295
+ Ra as DropdownMenuSubTrigger,
296
+ Ia as DropdownMenuTrigger,
297
+ Aa as HoverCard,
298
+ Pa as HoverCardContent,
299
+ ka as HoverCardTrigger,
300
+ za as Input,
301
+ Ga as Label,
302
+ N as Menubar,
303
+ T as MenubarCheckboxItem,
304
+ v as MenubarContent,
305
+ ie as MenubarGroup,
306
+ D as MenubarItem,
307
+ R as MenubarLabel,
308
+ ne as MenubarMenu,
309
+ de as MenubarPortal,
310
+ me as MenubarRadioGroup,
311
+ j as MenubarRadioItem,
312
+ I as MenubarSeparator,
313
+ A as MenubarShortcut,
314
+ le as MenubarSub,
315
+ M as MenubarSubContent,
316
+ w as MenubarSubTrigger,
317
+ S as MenubarTrigger,
318
+ La as Popover,
319
+ Ha as PopoverContent,
320
+ Fa as PopoverTrigger,
321
+ Va as ScrollArea,
322
+ Ba as ScrollBar,
323
+ dt as Select,
324
+ lt as SelectContent,
325
+ mt as SelectGroup,
326
+ ct as SelectItem,
327
+ pt as SelectLabel,
328
+ ut as SelectSeparator,
329
+ ft as SelectTrigger,
330
+ gt as SelectValue,
331
+ bt as Separator,
332
+ ce as Sheet,
333
+ ue as SheetClose,
334
+ k as SheetContent,
335
+ H as SheetDescription,
336
+ G as SheetFooter,
337
+ z as SheetHeader,
338
+ L as SheetTitle,
339
+ pe as SheetTrigger,
340
+ Ea as Skeleton,
341
+ Oa as Switch,
342
+ qa as Tabs,
343
+ Ja as TabsContent,
344
+ Ka as TabsList,
345
+ Qa as TabsTrigger,
346
+ Ua as Textarea,
347
+ Wa as Toaster,
348
+ y as Toggle,
349
+ Xa as Tooltip,
350
+ Ya as TooltipContent,
351
+ Za as TooltipPortal,
352
+ _a as TooltipProvider,
353
+ $a as TooltipTrigger,
354
+ nt as badgeVariants,
355
+ et as buttonVariants,
356
+ at as reducer,
357
+ tt as toast,
358
+ C as toggleVariants,
359
+ ot as useToast
178
360
  };