@chaibuilder/sdk 1.2.68 → 1.2.69

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 (46) hide show
  1. package/dist/CodeEditor-hWn_HIZX.cjs +1 -0
  2. package/dist/{CodeEditor-Jw5dt0Xj.js → CodeEditor-j7qNDNkC.js} +20 -16
  3. package/dist/STRINGS-hZpwIZMT.cjs +1 -0
  4. package/dist/STRINGS-rPGH65PW.js +8 -0
  5. package/dist/Topbar-MIYSo6jN.cjs +1 -0
  6. package/dist/{Topbar-J3_SbpA_.js → Topbar-Mfc4KKxc.js} +28 -26
  7. package/dist/{UnsplashImages-7vkIHXUl.js → UnsplashImages-KIgzZx57.js} +30 -26
  8. package/dist/UnsplashImages-zco6ruqn.cjs +1 -0
  9. package/dist/{UploadImages-dHtEwNpW.js → UploadImages-sygXbTXU.js} +18 -14
  10. package/dist/UploadImages-znUxJ9OD.cjs +1 -0
  11. package/dist/context-menu-Lx_MAqsu.cjs +1 -0
  12. package/dist/{context-menu-sks9vdzC.js → context-menu-zu6r7B6f.js} +298 -311
  13. package/dist/core.cjs +1 -1
  14. package/dist/core.d.ts +6 -1
  15. package/dist/core.js +88 -83
  16. package/dist/{index-CatHvcI6.cjs → index-FpYnmYj7.cjs} +22 -22
  17. package/dist/{index-ElwrrnPk.js → index-T7WZImL0.js} +2500 -2011
  18. package/dist/render.cjs +1 -1
  19. package/dist/render.js +1 -1
  20. package/dist/{select-JW3OMYm-.js → select-1WwjQDp6.js} +1 -1
  21. package/dist/{select-fXj5tdMX.cjs → select-FnytvxNn.cjs} +1 -1
  22. package/dist/ui.cjs +1 -1
  23. package/dist/ui.d.ts +5 -5
  24. package/dist/ui.js +251 -215
  25. package/dist/web-blocks.cjs +1 -1
  26. package/dist/web-blocks.js +385 -392
  27. package/package.json +1 -1
  28. package/dist/AddBlocks-ZpUetK5a.js +0 -123
  29. package/dist/AddBlocks-yiQ5OTLv.cjs +0 -1
  30. package/dist/CanvasArea-2cBQ9dE5.cjs +0 -1
  31. package/dist/CanvasArea-jo84KvNu.js +0 -136
  32. package/dist/CodeEditor-KGtD1Of3.cjs +0 -1
  33. package/dist/STRINGS--j49GZJP.js +0 -7
  34. package/dist/STRINGS-gPz7CUOk.cjs +0 -1
  35. package/dist/SettingsPanel-J5bAM-ug.cjs +0 -1
  36. package/dist/SettingsPanel-ukU3Ay9U.js +0 -81
  37. package/dist/SidePanels-VyoLHl0W.cjs +0 -1
  38. package/dist/SidePanels-miYmxJN0.js +0 -413
  39. package/dist/Topbar-gVd8cET_.cjs +0 -1
  40. package/dist/UnsplashImages-hYgO0rjn.cjs +0 -1
  41. package/dist/UploadImages-_t2yeuXp.cjs +0 -1
  42. package/dist/badge-7BVT3zxN.cjs +0 -1
  43. package/dist/badge-pJqQSA13.js +0 -23
  44. package/dist/context-menu-_8TFbFEJ.cjs +0 -1
  45. package/dist/separator-hT24N-xp.cjs +0 -1
  46. package/dist/separator-sgwOa1FE.js +0 -18
package/dist/ui.js CHANGED
@@ -1,15 +1,13 @@
1
- import { j as t } from "./jsx-runtime-Sp0orL4X.js";
2
- import * as i from "react";
1
+ import { j as o } from "./jsx-runtime-Sp0orL4X.js";
2
+ import * as n from "react";
3
3
  import * as m from "@radix-ui/react-toggle";
4
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";
5
+ import { af as r } from "./context-menu-zu6r7B6f.js";
6
+ import { H as Ne, K as we, I as Se, J as Me, $ as je, a7 as De, a6 as Te, a1 as Re, a4 as Ie, a5 as Ae, a2 as ke, a3 as Pe, a0 as ze, B as Ge, f as Ve, i as Le, h as He, k as Fe, g as Be, ah as Ee, t as Oe, ar as qe, w as _e, x as Je, u as Ke, y as Qe, v as Ue, at as We, as as Xe, C as Ye, au as Ze, b as $e, az as et, c as tt, aw as at, aA as ot, aE as st, av as rt, ax as nt, ay as it, aB as dt, aC as lt, aD as ct, a as mt, D as ut, m as pt, p as ft, q as gt, n as xt, o as bt, l as ht, Q as vt, a8 as yt, U as Ct, Y as Nt, Z as wt, W as St, ak as Mt, ao as jt, aj as Dt, X as Tt, _ as Rt, al as It, am as At, an as kt, R as Pt, a9 as zt, ab as Gt, aa as Vt, N as Lt, L as Ht, P as Ft, s as Bt, r as Et, V as Ot, ai as qt, ac as _t, S as Jt, G as Kt, z as Qt, F as Ut, A as Wt, E as Xt, j as Yt, ae as Zt, T as $t, e as ea, O as ta, ad as aa, d as oa, ag as sa, ap as ra, aq as na, M as ia } from "./context-menu-zu6r7B6f.js";
8
7
  import { ChevronRightIcon as g, CheckIcon as x, DotFilledIcon as b, Cross2Icon as h } from "@radix-ui/react-icons";
9
8
  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";
9
+ import { S as la, d as ca, a as ma, f as ua, e as pa, g as fa, c as ga, b as xa } from "./select-1WwjQDp6.js";
11
10
  import * as d from "@radix-ui/react-dialog";
12
- import { S as bt } from "./separator-sgwOa1FE.js";
13
11
  import "@radix-ui/react-switch";
14
12
  import "@radix-ui/react-accordion";
15
13
  import "@radix-ui/react-alert-dialog";
@@ -21,14 +19,14 @@ import "@radix-ui/react-tooltip";
21
19
  import "@radix-ui/react-popover";
22
20
  import "@radix-ui/react-hover-card";
23
21
  import "@radix-ui/react-dropdown-menu";
22
+ import "@radix-ui/react-separator";
24
23
  import "@radix-ui/react-toast";
25
24
  import "cmdk";
26
25
  import "@radix-ui/react-context-menu";
27
26
  import "clsx";
28
27
  import "tailwind-merge";
29
28
  import "@radix-ui/react-select";
30
- import "@radix-ui/react-separator";
31
- const C = c(
29
+ const v = c(
32
30
  "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
31
  {
34
32
  variants: {
@@ -47,65 +45,103 @@ const C = c(
47
45
  size: "default"
48
46
  }
49
47
  }
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 }));
48
+ ), y = n.forwardRef(({ className: e, variant: t, size: a, ...i }, l) => /* @__PURE__ */ o.jsx(m.Root, { ref: l, className: r(v({ variant: t, size: a, className: e })), ...i }));
51
49
  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(
50
+ const C = c(
51
+ "relative w-full rounded-lg border px-4 py-3 text-sm [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
52
+ {
53
+ variants: {
54
+ variant: {
55
+ default: "bg-background text-foreground",
56
+ destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
57
+ }
58
+ },
59
+ defaultVariants: {
60
+ variant: "default"
61
+ }
62
+ }
63
+ ), N = n.forwardRef(({ className: e, variant: t, ...a }, i) => /* @__PURE__ */ o.jsx("div", { ref: i, role: "alert", className: r(C({ variant: t }), e), ...a }));
64
+ N.displayName = "Alert";
65
+ const w = n.forwardRef(
66
+ ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("h5", { ref: a, className: r("mb-1 font-medium leading-none tracking-tight", e), ...t })
67
+ );
68
+ w.displayName = "AlertTitle";
69
+ const S = n.forwardRef(
70
+ ({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: r("text-sm [&_p]:leading-relaxed", e), ...t })
71
+ );
72
+ S.displayName = "AlertDescription";
73
+ const M = c(
74
+ "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
75
+ {
76
+ variants: {
77
+ variant: {
78
+ default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
79
+ secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
80
+ destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
81
+ outline: "text-foreground"
82
+ }
83
+ },
84
+ defaultVariants: {
85
+ variant: "default"
86
+ }
87
+ }
88
+ ), me = ({ className: e, variant: t, ...a }) => /* @__PURE__ */ o.jsx("div", { className: r(M({ variant: t }), e), ...a }), ue = s.Menu, pe = s.Group, fe = s.Portal, ge = s.Sub, xe = s.RadioGroup, j = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
53
89
  s.Root,
54
90
  {
55
- ref: o,
91
+ ref: a,
56
92
  className: r("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm", e),
57
- ...a
93
+ ...t
58
94
  }
59
95
  ));
60
- N.displayName = s.Root.displayName;
61
- const S = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
96
+ j.displayName = s.Root.displayName;
97
+ const D = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
62
98
  s.Trigger,
63
99
  {
64
- ref: o,
100
+ ref: a,
65
101
  className: r(
66
102
  "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
103
  e
68
104
  ),
69
- ...a
105
+ ...t
70
106
  }
71
107
  ));
72
- S.displayName = s.Trigger.displayName;
73
- const w = i.forwardRef(({ className: e, inset: a, children: o, ...n }, l) => /* @__PURE__ */ t.jsxs(
108
+ D.displayName = s.Trigger.displayName;
109
+ const T = n.forwardRef(({ className: e, inset: t, children: a, ...i }, l) => /* @__PURE__ */ o.jsxs(
74
110
  s.SubTrigger,
75
111
  {
76
112
  ref: l,
77
113
  className: r(
78
114
  "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",
115
+ t && "pl-8",
80
116
  e
81
117
  ),
82
- ...n,
118
+ ...i,
83
119
  children: [
84
- o,
85
- /* @__PURE__ */ t.jsx(g, { className: "ml-auto h-4 w-4" })
120
+ a,
121
+ /* @__PURE__ */ o.jsx(g, { className: "ml-auto h-4 w-4" })
86
122
  ]
87
123
  }
88
124
  ));
89
- w.displayName = s.SubTrigger.displayName;
90
- const M = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
125
+ T.displayName = s.SubTrigger.displayName;
126
+ const R = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
91
127
  s.SubContent,
92
128
  {
93
- ref: o,
129
+ ref: a,
94
130
  className: r(
95
131
  "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
132
  e
97
133
  ),
98
- ...a
134
+ ...t
99
135
  }
100
136
  ));
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(
137
+ R.displayName = s.SubContent.displayName;
138
+ const I = n.forwardRef(({ className: e, align: t = "start", alignOffset: a = -4, sideOffset: i = 8, ...l }, f) => /* @__PURE__ */ o.jsx(s.Portal, { children: /* @__PURE__ */ o.jsx(
103
139
  s.Content,
104
140
  {
105
141
  ref: f,
106
- align: a,
107
- alignOffset: o,
108
- sideOffset: n,
142
+ align: t,
143
+ alignOffset: a,
144
+ sideOffset: i,
109
145
  className: r(
110
146
  "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
147
  e
@@ -113,21 +149,21 @@ const v = i.forwardRef(({ className: e, align: a = "start", alignOffset: o = -4,
113
149
  ...l
114
150
  }
115
151
  ) }));
116
- v.displayName = s.Content.displayName;
117
- const D = i.forwardRef(({ className: e, inset: a, ...o }, n) => /* @__PURE__ */ t.jsx(
152
+ I.displayName = s.Content.displayName;
153
+ const A = n.forwardRef(({ className: e, inset: t, ...a }, i) => /* @__PURE__ */ o.jsx(
118
154
  s.Item,
119
155
  {
120
- ref: n,
156
+ ref: i,
121
157
  className: r(
122
158
  "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",
159
+ t && "pl-8",
124
160
  e
125
161
  ),
126
- ...o
162
+ ...a
127
163
  }
128
164
  ));
129
- D.displayName = s.Item.displayName;
130
- const T = i.forwardRef(({ className: e, children: a, checked: o, ...n }, l) => /* @__PURE__ */ t.jsxs(
165
+ A.displayName = s.Item.displayName;
166
+ const k = n.forwardRef(({ className: e, children: t, checked: a, ...i }, l) => /* @__PURE__ */ o.jsxs(
131
167
  s.CheckboxItem,
132
168
  {
133
169
  ref: l,
@@ -135,59 +171,59 @@ const T = i.forwardRef(({ className: e, children: a, checked: o, ...n }, l) => /
135
171
  "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
172
  e
137
173
  ),
138
- checked: o,
139
- ...n,
174
+ checked: a,
175
+ ...i,
140
176
  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
177
+ /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(s.ItemIndicator, { children: /* @__PURE__ */ o.jsx(x, { className: "h-4 w-4" }) }) }),
178
+ t
143
179
  ]
144
180
  }
145
181
  ));
146
- T.displayName = s.CheckboxItem.displayName;
147
- const j = i.forwardRef(({ className: e, children: a, ...o }, n) => /* @__PURE__ */ t.jsxs(
182
+ k.displayName = s.CheckboxItem.displayName;
183
+ const P = n.forwardRef(({ className: e, children: t, ...a }, i) => /* @__PURE__ */ o.jsxs(
148
184
  s.RadioItem,
149
185
  {
150
- ref: n,
186
+ ref: i,
151
187
  className: r(
152
188
  "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
189
  e
154
190
  ),
155
- ...o,
191
+ ...a,
156
192
  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
193
+ /* @__PURE__ */ o.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o.jsx(s.ItemIndicator, { children: /* @__PURE__ */ o.jsx(b, { className: "h-4 w-4 fill-current" }) }) }),
194
+ t
159
195
  ]
160
196
  }
161
197
  ));
162
- j.displayName = s.RadioItem.displayName;
163
- const R = i.forwardRef(({ className: e, inset: a, ...o }, n) => /* @__PURE__ */ t.jsx(
198
+ P.displayName = s.RadioItem.displayName;
199
+ const z = n.forwardRef(({ className: e, inset: t, ...a }, i) => /* @__PURE__ */ o.jsx(
164
200
  s.Label,
165
201
  {
166
- ref: n,
167
- className: r("px-2 py-1.5 text-sm font-semibold", a && "pl-8", e),
168
- ...o
202
+ ref: i,
203
+ className: r("px-2 py-1.5 text-sm font-semibold", t && "pl-8", e),
204
+ ...a
169
205
  }
170
206
  ));
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(
207
+ z.displayName = s.Label.displayName;
208
+ const G = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(s.Separator, { ref: a, className: r("-mx-1 my-1 h-px bg-muted", e), ...t }));
209
+ G.displayName = s.Separator.displayName;
210
+ const V = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
211
+ V.displayname = "MenubarShortcut";
212
+ const be = d.Root, he = d.Trigger, ve = d.Close, u = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx(d.Portal, { className: r(e), ...t });
213
+ u.displayName = d.Portal.displayName;
214
+ const p = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
179
215
  d.Overlay,
180
216
  {
181
217
  className: r(
182
218
  "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
219
  e
184
220
  ),
185
- ...a,
186
- ref: o
221
+ ...t,
222
+ ref: a
187
223
  }
188
224
  ));
189
- u.displayName = d.Overlay.displayName;
190
- const P = c(
225
+ p.displayName = d.Overlay.displayName;
226
+ const L = c(
191
227
  "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
228
  {
193
229
  variants: {
@@ -202,159 +238,159 @@ const P = c(
202
238
  side: "right"
203
239
  }
204
240
  }
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" })
241
+ ), H = n.forwardRef(
242
+ ({ side: e = "right", className: t, children: a, ...i }, l) => /* @__PURE__ */ o.jsxs(u, { children: [
243
+ /* @__PURE__ */ o.jsx(p, {}),
244
+ /* @__PURE__ */ o.jsxs(d.Content, { ref: l, className: r(L({ side: e }), t), ...i, children: [
245
+ a,
246
+ /* @__PURE__ */ o.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: [
247
+ /* @__PURE__ */ o.jsx(h, { className: "h-4 w-4" }),
248
+ /* @__PURE__ */ o.jsx("span", { className: "sr-only", children: "Close" })
213
249
  ] })
214
250
  ] })
215
251
  ] })
216
252
  );
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;
253
+ H.displayName = d.Content.displayName;
254
+ const F = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
255
+ F.displayName = "SheetHeader";
256
+ const B = ({ className: e, ...t }) => /* @__PURE__ */ o.jsx("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
257
+ B.displayName = "SheetFooter";
258
+ const E = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(d.Title, { ref: a, className: r("text-lg font-semibold text-foreground", e), ...t }));
259
+ E.displayName = d.Title.displayName;
260
+ const O = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(d.Description, { ref: a, className: r("text-sm text-muted-foreground", e), ...t }));
261
+ O.displayName = d.Description.displayName;
226
262
  export {
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,
263
+ Ne as Accordion,
264
+ we as AccordionContent,
265
+ Se as AccordionItem,
266
+ Me as AccordionTrigger,
267
+ N as Alert,
268
+ S as AlertDescription,
269
+ je as AlertDialog,
270
+ De as AlertDialogAction,
271
+ Te as AlertDialogCancel,
272
+ Re as AlertDialogContent,
273
+ Ie as AlertDialogDescription,
274
+ Ae as AlertDialogFooter,
275
+ ke as AlertDialogHeader,
276
+ Pe as AlertDialogTitle,
277
+ ze as AlertDialogTrigger,
278
+ w as AlertTitle,
279
+ me as Badge,
280
+ Ge as Button,
281
+ Ve as Card,
282
+ Le as CardContent,
283
+ He as CardDescription,
284
+ Fe as CardFooter,
285
+ Be as CardHeader,
286
+ Ee as CardTitle,
287
+ Oe as Command,
288
+ qe as CommandDialog,
289
+ _e as CommandEmpty,
290
+ Je as CommandGroup,
291
+ Ke as CommandInput,
292
+ Qe as CommandItem,
293
+ Ue as CommandList,
294
+ We as CommandSeparator,
295
+ Xe as CommandShortcut,
296
+ Ye as ContextMenu,
297
+ Ze as ContextMenuCheckboxItem,
298
+ $e as ContextMenuContent,
299
+ et as ContextMenuGroup,
300
+ tt as ContextMenuItem,
301
+ at as ContextMenuLabel,
302
+ ot as ContextMenuPortal,
303
+ st as ContextMenuRadioGroup,
304
+ rt as ContextMenuRadioItem,
305
+ nt as ContextMenuSeparator,
306
+ it as ContextMenuShortcut,
307
+ dt as ContextMenuSub,
308
+ lt as ContextMenuSubContent,
309
+ ct as ContextMenuSubTrigger,
310
+ mt as ContextMenuTrigger,
311
+ ut as Dialog,
312
+ pt as DialogContent,
313
+ ft as DialogDescription,
314
+ gt as DialogFooter,
315
+ xt as DialogHeader,
316
+ bt as DialogTitle,
317
+ ht as DialogTrigger,
318
+ vt as DropdownMenu,
319
+ yt as DropdownMenuCheckboxItem,
320
+ Ct as DropdownMenuContent,
321
+ Nt as DropdownMenuGroup,
322
+ wt as DropdownMenuItem,
323
+ St as DropdownMenuLabel,
324
+ Mt as DropdownMenuPortal,
325
+ jt as DropdownMenuRadioGroup,
326
+ Dt as DropdownMenuRadioItem,
327
+ Tt as DropdownMenuSeparator,
328
+ Rt as DropdownMenuShortcut,
329
+ It as DropdownMenuSub,
330
+ At as DropdownMenuSubContent,
331
+ kt as DropdownMenuSubTrigger,
332
+ Pt as DropdownMenuTrigger,
333
+ zt as HoverCard,
334
+ Gt as HoverCardContent,
335
+ Vt as HoverCardTrigger,
336
+ Lt as Input,
337
+ Ht as Label,
338
+ j as Menubar,
339
+ k as MenubarCheckboxItem,
340
+ I as MenubarContent,
341
+ pe as MenubarGroup,
342
+ A as MenubarItem,
343
+ z as MenubarLabel,
344
+ ue as MenubarMenu,
345
+ fe as MenubarPortal,
346
+ xe as MenubarRadioGroup,
347
+ P as MenubarRadioItem,
348
+ G as MenubarSeparator,
349
+ V as MenubarShortcut,
350
+ ge as MenubarSub,
351
+ R as MenubarSubContent,
352
+ T as MenubarSubTrigger,
353
+ D as MenubarTrigger,
354
+ Ft as Popover,
355
+ Bt as PopoverContent,
356
+ Et as PopoverTrigger,
357
+ Ot as ScrollArea,
358
+ qt as ScrollBar,
359
+ la as Select,
360
+ ca as SelectContent,
361
+ ma as SelectGroup,
362
+ ua as SelectItem,
363
+ pa as SelectLabel,
364
+ fa as SelectSeparator,
365
+ ga as SelectTrigger,
366
+ xa as SelectValue,
367
+ _t as Separator,
368
+ be as Sheet,
369
+ ve as SheetClose,
370
+ H as SheetContent,
371
+ O as SheetDescription,
372
+ B as SheetFooter,
373
+ F as SheetHeader,
374
+ E as SheetTitle,
375
+ he as SheetTrigger,
376
+ Jt as Skeleton,
377
+ Kt as Switch,
378
+ Qt as Tabs,
379
+ Ut as TabsContent,
380
+ Wt as TabsList,
381
+ Xt as TabsTrigger,
382
+ Yt as Textarea,
383
+ Zt as Toaster,
348
384
  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
385
+ $t as Tooltip,
386
+ ea as TooltipContent,
387
+ ta as TooltipPortal,
388
+ aa as TooltipProvider,
389
+ oa as TooltipTrigger,
390
+ M as badgeVariants,
391
+ sa as buttonVariants,
392
+ ra as reducer,
393
+ na as toast,
394
+ v as toggleVariants,
395
+ ia as useToast
360
396
  };