@chaibuilder/sdk 1.2.88 → 1.2.90

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/ui.js CHANGED
@@ -1,13 +1,13 @@
1
- import { j as o } from "./jsx-runtime-Sp0orL4X.js";
2
- import * as n from "react";
3
- import * as m from "@radix-ui/react-toggle";
4
- import { cva as c } from "class-variance-authority";
5
- import { af as r } from "./context-menu-LFlr5p9-.js";
6
- import { H as Ne, K as we, I as Se, J as Me, $ as je, a7 as De, a6 as Te, a0 as Re, a4 as Ie, a5 as Ae, a1 as ke, a2 as Pe, a3 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-LFlr5p9-.js";
7
- import { ChevronRightIcon as g, CheckIcon as x, DotFilledIcon as b, Cross2Icon as h } from "@radix-ui/react-icons";
8
- import * as s from "@radix-ui/react-menubar";
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-8MHQqep3.js";
10
- import * as d from "@radix-ui/react-dialog";
1
+ import { j as t } from "./jsx-runtime-Sp0orL4X.js";
2
+ import * as d from "react";
3
+ import * as p from "@radix-ui/react-toggle";
4
+ import { cva as m } from "class-variance-authority";
5
+ import { ag as s } from "./context-menu-DeUUflYX.js";
6
+ import { H as Re, K as Ie, I as Ae, J as ke, $ as Pe, a7 as ze, a6 as Ge, a0 as Le, a4 as Ve, a5 as He, a1 as Fe, a2 as Be, a3 as Ee, ad as Oe, B as qe, f as _e, i as Je, h as Ke, k as Qe, g as Ue, aj as We, t as Xe, at as Ye, w as Ze, x as $e, u as ea, y as aa, v as ta, av as oa, au as sa, C as ra, aw as na, b as da, aB as ia, c as la, ay as ca, aC as ma, aG as pa, ax as ua, az as fa, aA as ga, aD as xa, aE as ba, aF as ha, a as ya, D as Na, m as wa, p as va, q as Ca, n as ja, o as Sa, l as Ma, Q as Ta, a8 as Da, U as Ra, Y as Ia, Z as Aa, W as ka, am as Pa, aq as za, al as Ga, X as La, _ as Va, an as Ha, ao as Fa, ap as Ba, R as Ea, a9 as Oa, ab as qa, aa as _a, N as Ja, L as Ka, P as Qa, s as Ua, r as Wa, V as Xa, ak as Ya, ac as Za, S as $a, G as et, z as at, F as tt, A as ot, E as st, j as rt, af as nt, T as dt, e as it, O as lt, ae as ct, d as mt, ai as pt, ah as ut, ar as ft, as as gt, M as xt } from "./context-menu-DeUUflYX.js";
7
+ import { ChevronRightIcon as b, CheckIcon as u, DotFilledIcon as h, CaretSortIcon as y, Cross2Icon as N } from "@radix-ui/react-icons";
8
+ import * as r from "@radix-ui/react-menubar";
9
+ import * as i from "@radix-ui/react-select";
10
+ import * as l from "@radix-ui/react-dialog";
11
11
  import "@radix-ui/react-switch";
12
12
  import "@radix-ui/react-accordion";
13
13
  import "@radix-ui/react-alert-dialog";
@@ -25,8 +25,7 @@ import "cmdk";
25
25
  import "@radix-ui/react-context-menu";
26
26
  import "clsx";
27
27
  import "tailwind-merge";
28
- import "@radix-ui/react-select";
29
- const v = c(
28
+ const w = m(
30
29
  "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",
31
30
  {
32
31
  variants: {
@@ -45,9 +44,9 @@ const v = c(
45
44
  size: "default"
46
45
  }
47
46
  }
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 }));
49
- y.displayName = m.Root.displayName;
50
- const C = c(
47
+ ), v = d.forwardRef(({ className: e, variant: a, size: o, ...n }, c) => /* @__PURE__ */ t.jsx(p.Root, { ref: c, className: s(w({ variant: a, size: o, className: e })), ...n }));
48
+ v.displayName = p.Root.displayName;
49
+ const C = m(
51
50
  "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
51
  {
53
52
  variants: {
@@ -60,170 +59,215 @@ const C = c(
60
59
  variant: "default"
61
60
  }
62
61
  }
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 })
62
+ ), j = d.forwardRef(({ className: e, variant: a, ...o }, n) => /* @__PURE__ */ t.jsx("div", { ref: n, role: "alert", className: s(C({ variant: a }), e), ...o }));
63
+ j.displayName = "Alert";
64
+ const S = d.forwardRef(
65
+ ({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx("h5", { ref: o, className: s("mb-1 font-medium leading-none tracking-tight", e), ...a })
67
66
  );
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 })
67
+ S.displayName = "AlertTitle";
68
+ const M = d.forwardRef(
69
+ ({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx("div", { ref: o, className: s("text-sm [&_p]:leading-relaxed", e), ...a })
71
70
  );
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",
71
+ M.displayName = "AlertDescription";
72
+ const xe = r.Menu, be = r.Group, he = r.Portal, ye = r.Sub, Ne = r.RadioGroup, T = d.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
73
+ r.Root,
75
74
  {
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(
89
- s.Root,
90
- {
91
- ref: a,
92
- className: r("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm", e),
93
- ...t
75
+ ref: o,
76
+ className: s("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm", e),
77
+ ...a
94
78
  }
95
79
  ));
96
- j.displayName = s.Root.displayName;
97
- const D = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
98
- s.Trigger,
80
+ T.displayName = r.Root.displayName;
81
+ const D = d.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
82
+ r.Trigger,
99
83
  {
100
- ref: a,
101
- className: r(
84
+ ref: o,
85
+ className: s(
102
86
  "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",
103
87
  e
104
88
  ),
105
- ...t
89
+ ...a
106
90
  }
107
91
  ));
108
- D.displayName = s.Trigger.displayName;
109
- const T = n.forwardRef(({ className: e, inset: t, children: a, ...i }, l) => /* @__PURE__ */ o.jsxs(
110
- s.SubTrigger,
92
+ D.displayName = r.Trigger.displayName;
93
+ const R = d.forwardRef(({ className: e, inset: a, children: o, ...n }, c) => /* @__PURE__ */ t.jsxs(
94
+ r.SubTrigger,
111
95
  {
112
- ref: l,
113
- className: r(
96
+ ref: c,
97
+ className: s(
114
98
  "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",
115
- t && "pl-8",
99
+ a && "pl-8",
116
100
  e
117
101
  ),
118
- ...i,
102
+ ...n,
119
103
  children: [
120
- a,
121
- /* @__PURE__ */ o.jsx(g, { className: "ml-auto h-4 w-4" })
104
+ o,
105
+ /* @__PURE__ */ t.jsx(b, { className: "ml-auto h-4 w-4" })
122
106
  ]
123
107
  }
124
108
  ));
125
- T.displayName = s.SubTrigger.displayName;
126
- const R = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o.jsx(
127
- s.SubContent,
109
+ R.displayName = r.SubTrigger.displayName;
110
+ const I = d.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
111
+ r.SubContent,
128
112
  {
129
- ref: a,
130
- className: r(
113
+ ref: o,
114
+ className: s(
131
115
  "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",
132
116
  e
133
117
  ),
134
- ...t
118
+ ...a
135
119
  }
136
120
  ));
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(
139
- s.Content,
121
+ I.displayName = r.SubContent.displayName;
122
+ const A = d.forwardRef(({ className: e, align: a = "start", alignOffset: o = -4, sideOffset: n = 8, ...c }, x) => /* @__PURE__ */ t.jsx(r.Portal, { children: /* @__PURE__ */ t.jsx(
123
+ r.Content,
140
124
  {
141
- ref: f,
142
- align: t,
143
- alignOffset: a,
144
- sideOffset: i,
145
- className: r(
125
+ ref: x,
126
+ align: a,
127
+ alignOffset: o,
128
+ sideOffset: n,
129
+ className: s(
146
130
  "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",
147
131
  e
148
132
  ),
149
- ...l
133
+ ...c
150
134
  }
151
135
  ) }));
152
- I.displayName = s.Content.displayName;
153
- const A = n.forwardRef(({ className: e, inset: t, ...a }, i) => /* @__PURE__ */ o.jsx(
154
- s.Item,
136
+ A.displayName = r.Content.displayName;
137
+ const k = d.forwardRef(({ className: e, inset: a, ...o }, n) => /* @__PURE__ */ t.jsx(
138
+ r.Item,
155
139
  {
156
- ref: i,
157
- className: r(
140
+ ref: n,
141
+ className: s(
158
142
  "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",
159
- t && "pl-8",
143
+ a && "pl-8",
160
144
  e
161
145
  ),
162
- ...a
146
+ ...o
163
147
  }
164
148
  ));
165
- A.displayName = s.Item.displayName;
166
- const k = n.forwardRef(({ className: e, children: t, checked: a, ...i }, l) => /* @__PURE__ */ o.jsxs(
167
- s.CheckboxItem,
149
+ k.displayName = r.Item.displayName;
150
+ const P = d.forwardRef(({ className: e, children: a, checked: o, ...n }, c) => /* @__PURE__ */ t.jsxs(
151
+ r.CheckboxItem,
168
152
  {
169
- ref: l,
170
- className: r(
153
+ ref: c,
154
+ className: s(
171
155
  "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",
172
156
  e
173
157
  ),
174
- checked: a,
175
- ...i,
158
+ checked: o,
159
+ ...n,
176
160
  children: [
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
161
+ /* @__PURE__ */ t.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ t.jsx(r.ItemIndicator, { children: /* @__PURE__ */ t.jsx(u, { className: "h-4 w-4" }) }) }),
162
+ a
179
163
  ]
180
164
  }
181
165
  ));
182
- k.displayName = s.CheckboxItem.displayName;
183
- const P = n.forwardRef(({ className: e, children: t, ...a }, i) => /* @__PURE__ */ o.jsxs(
184
- s.RadioItem,
166
+ P.displayName = r.CheckboxItem.displayName;
167
+ const z = d.forwardRef(({ className: e, children: a, ...o }, n) => /* @__PURE__ */ t.jsxs(
168
+ r.RadioItem,
185
169
  {
186
- ref: i,
187
- className: r(
170
+ ref: n,
171
+ className: s(
188
172
  "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",
189
173
  e
190
174
  ),
191
- ...a,
175
+ ...o,
192
176
  children: [
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
177
+ /* @__PURE__ */ t.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ t.jsx(r.ItemIndicator, { children: /* @__PURE__ */ t.jsx(h, { className: "h-4 w-4 fill-current" }) }) }),
178
+ a
195
179
  ]
196
180
  }
197
181
  ));
198
- P.displayName = s.RadioItem.displayName;
199
- const z = n.forwardRef(({ className: e, inset: t, ...a }, i) => /* @__PURE__ */ o.jsx(
200
- s.Label,
182
+ z.displayName = r.RadioItem.displayName;
183
+ const G = d.forwardRef(({ className: e, inset: a, ...o }, n) => /* @__PURE__ */ t.jsx(
184
+ r.Label,
201
185
  {
202
- ref: i,
203
- className: r("px-2 py-1.5 text-sm font-semibold", t && "pl-8", e),
204
- ...a
186
+ ref: n,
187
+ className: s("px-2 py-1.5 text-sm font-semibold", a && "pl-8", e),
188
+ ...o
205
189
  }
206
190
  ));
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 });
191
+ G.displayName = r.Label.displayName;
192
+ const L = d.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(r.Separator, { ref: o, className: s("-mx-1 my-1 h-px bg-muted", e), ...a }));
193
+ L.displayName = r.Separator.displayName;
194
+ const V = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
211
195
  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(
215
- d.Overlay,
196
+ const we = i.Root, ve = i.Group, Ce = i.Value, H = d.forwardRef(({ className: e, children: a, ...o }, n) => /* @__PURE__ */ t.jsxs(
197
+ i.Trigger,
216
198
  {
217
- className: r(
199
+ ref: n,
200
+ className: s(
201
+ "flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50",
202
+ e
203
+ ),
204
+ ...o,
205
+ children: [
206
+ a,
207
+ /* @__PURE__ */ t.jsx(i.Icon, { asChild: !0, children: /* @__PURE__ */ t.jsx(y, { className: "h-4 w-4 opacity-50" }) })
208
+ ]
209
+ }
210
+ ));
211
+ H.displayName = i.Trigger.displayName;
212
+ const F = d.forwardRef(({ className: e, children: a, position: o = "popper", ...n }, c) => /* @__PURE__ */ t.jsx(i.Portal, { children: /* @__PURE__ */ t.jsx(
213
+ i.Content,
214
+ {
215
+ ref: c,
216
+ className: s(
217
+ "relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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",
218
+ o === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
219
+ e
220
+ ),
221
+ position: o,
222
+ ...n,
223
+ children: /* @__PURE__ */ t.jsx(
224
+ i.Viewport,
225
+ {
226
+ className: s(
227
+ "p-1",
228
+ o === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
229
+ ),
230
+ children: a
231
+ }
232
+ )
233
+ }
234
+ ) }));
235
+ F.displayName = i.Content.displayName;
236
+ const B = d.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(i.Label, { ref: o, className: s("px-2 py-1.5 text-sm font-semibold", e), ...a }));
237
+ B.displayName = i.Label.displayName;
238
+ const E = d.forwardRef(({ className: e, children: a, ...o }, n) => /* @__PURE__ */ t.jsxs(
239
+ i.Item,
240
+ {
241
+ ref: n,
242
+ className: s(
243
+ "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
244
+ e
245
+ ),
246
+ ...o,
247
+ children: [
248
+ /* @__PURE__ */ t.jsx("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ t.jsx(i.ItemIndicator, { children: /* @__PURE__ */ t.jsx(u, { className: "h-4 w-4" }) }) }),
249
+ /* @__PURE__ */ t.jsx(i.ItemText, { children: a })
250
+ ]
251
+ }
252
+ ));
253
+ E.displayName = i.Item.displayName;
254
+ const O = d.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(i.Separator, { ref: o, className: s("-mx-1 my-1 h-px bg-muted", e), ...a }));
255
+ O.displayName = i.Separator.displayName;
256
+ const je = l.Root, Se = l.Trigger, Me = l.Close, f = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx(l.Portal, { className: s(e), ...a });
257
+ f.displayName = l.Portal.displayName;
258
+ const g = d.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
259
+ l.Overlay,
260
+ {
261
+ className: s(
218
262
  "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",
219
263
  e
220
264
  ),
221
- ...t,
222
- ref: a
265
+ ...a,
266
+ ref: o
223
267
  }
224
268
  ));
225
- p.displayName = d.Overlay.displayName;
226
- const L = c(
269
+ g.displayName = l.Overlay.displayName;
270
+ const q = m(
227
271
  "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",
228
272
  {
229
273
  variants: {
@@ -238,159 +282,159 @@ const L = c(
238
282
  side: "right"
239
283
  }
240
284
  }
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" })
285
+ ), _ = d.forwardRef(
286
+ ({ side: e = "right", className: a, children: o, ...n }, c) => /* @__PURE__ */ t.jsxs(f, { children: [
287
+ /* @__PURE__ */ t.jsx(g, {}),
288
+ /* @__PURE__ */ t.jsxs(l.Content, { ref: c, className: s(q({ side: e }), a), ...n, children: [
289
+ o,
290
+ /* @__PURE__ */ t.jsxs(l.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: [
291
+ /* @__PURE__ */ t.jsx(N, { className: "h-4 w-4" }),
292
+ /* @__PURE__ */ t.jsx("span", { className: "sr-only", children: "Close" })
249
293
  ] })
250
294
  ] })
251
295
  ] })
252
296
  );
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;
297
+ _.displayName = l.Content.displayName;
298
+ const J = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...a });
299
+ J.displayName = "SheetHeader";
300
+ const K = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...a });
301
+ K.displayName = "SheetFooter";
302
+ const Q = d.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(l.Title, { ref: o, className: s("text-lg font-semibold text-foreground", e), ...a }));
303
+ Q.displayName = l.Title.displayName;
304
+ const U = d.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(l.Description, { ref: o, className: s("text-sm text-muted-foreground", e), ...a }));
305
+ U.displayName = l.Description.displayName;
262
306
  export {
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,
307
+ Re as Accordion,
308
+ Ie as AccordionContent,
309
+ Ae as AccordionItem,
310
+ ke as AccordionTrigger,
311
+ j as Alert,
312
+ M as AlertDescription,
313
+ Pe as AlertDialog,
314
+ ze as AlertDialogAction,
315
+ Ge as AlertDialogCancel,
316
+ Le as AlertDialogContent,
317
+ Ve as AlertDialogDescription,
318
+ He as AlertDialogFooter,
319
+ Fe as AlertDialogHeader,
320
+ Be as AlertDialogTitle,
321
+ Ee as AlertDialogTrigger,
322
+ S as AlertTitle,
323
+ Oe as Badge,
324
+ qe as Button,
325
+ _e as Card,
326
+ Je as CardContent,
327
+ Ke as CardDescription,
328
+ Qe as CardFooter,
329
+ Ue as CardHeader,
330
+ We as CardTitle,
331
+ Xe as Command,
332
+ Ye as CommandDialog,
333
+ Ze as CommandEmpty,
334
+ $e as CommandGroup,
335
+ ea as CommandInput,
336
+ aa as CommandItem,
337
+ ta as CommandList,
338
+ oa as CommandSeparator,
339
+ sa as CommandShortcut,
340
+ ra as ContextMenu,
341
+ na as ContextMenuCheckboxItem,
342
+ da as ContextMenuContent,
343
+ ia as ContextMenuGroup,
344
+ la as ContextMenuItem,
345
+ ca as ContextMenuLabel,
346
+ ma as ContextMenuPortal,
347
+ pa as ContextMenuRadioGroup,
348
+ ua as ContextMenuRadioItem,
349
+ fa as ContextMenuSeparator,
350
+ ga as ContextMenuShortcut,
351
+ xa as ContextMenuSub,
352
+ ba as ContextMenuSubContent,
353
+ ha as ContextMenuSubTrigger,
354
+ ya as ContextMenuTrigger,
355
+ Na as Dialog,
356
+ wa as DialogContent,
357
+ va as DialogDescription,
358
+ Ca as DialogFooter,
359
+ ja as DialogHeader,
360
+ Sa as DialogTitle,
361
+ Ma as DialogTrigger,
362
+ Ta as DropdownMenu,
363
+ Da as DropdownMenuCheckboxItem,
364
+ Ra as DropdownMenuContent,
365
+ Ia as DropdownMenuGroup,
366
+ Aa as DropdownMenuItem,
367
+ ka as DropdownMenuLabel,
368
+ Pa as DropdownMenuPortal,
369
+ za as DropdownMenuRadioGroup,
370
+ Ga as DropdownMenuRadioItem,
371
+ La as DropdownMenuSeparator,
372
+ Va as DropdownMenuShortcut,
373
+ Ha as DropdownMenuSub,
374
+ Fa as DropdownMenuSubContent,
375
+ Ba as DropdownMenuSubTrigger,
376
+ Ea as DropdownMenuTrigger,
377
+ Oa as HoverCard,
378
+ qa as HoverCardContent,
379
+ _a as HoverCardTrigger,
380
+ Ja as Input,
381
+ Ka as Label,
382
+ T as Menubar,
383
+ P as MenubarCheckboxItem,
384
+ A as MenubarContent,
385
+ be as MenubarGroup,
386
+ k as MenubarItem,
387
+ G as MenubarLabel,
388
+ xe as MenubarMenu,
389
+ he as MenubarPortal,
390
+ Ne as MenubarRadioGroup,
391
+ z as MenubarRadioItem,
392
+ L as MenubarSeparator,
349
393
  V as MenubarShortcut,
350
- ge as MenubarSub,
351
- R as MenubarSubContent,
352
- T as MenubarSubTrigger,
394
+ ye as MenubarSub,
395
+ I as MenubarSubContent,
396
+ R as MenubarSubTrigger,
353
397
  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,
384
- y as Toggle,
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
398
+ Qa as Popover,
399
+ Ua as PopoverContent,
400
+ Wa as PopoverTrigger,
401
+ Xa as ScrollArea,
402
+ Ya as ScrollBar,
403
+ we as Select,
404
+ F as SelectContent,
405
+ ve as SelectGroup,
406
+ E as SelectItem,
407
+ B as SelectLabel,
408
+ O as SelectSeparator,
409
+ H as SelectTrigger,
410
+ Ce as SelectValue,
411
+ Za as Separator,
412
+ je as Sheet,
413
+ Me as SheetClose,
414
+ _ as SheetContent,
415
+ U as SheetDescription,
416
+ K as SheetFooter,
417
+ J as SheetHeader,
418
+ Q as SheetTitle,
419
+ Se as SheetTrigger,
420
+ $a as Skeleton,
421
+ et as Switch,
422
+ at as Tabs,
423
+ tt as TabsContent,
424
+ ot as TabsList,
425
+ st as TabsTrigger,
426
+ rt as Textarea,
427
+ nt as Toaster,
428
+ v as Toggle,
429
+ dt as Tooltip,
430
+ it as TooltipContent,
431
+ lt as TooltipPortal,
432
+ ct as TooltipProvider,
433
+ mt as TooltipTrigger,
434
+ pt as badgeVariants,
435
+ ut as buttonVariants,
436
+ ft as reducer,
437
+ gt as toast,
438
+ w as toggleVariants,
439
+ xt as useToast
396
440
  };