@chaibuilder/sdk 2.0.12 → 2.1.0

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,261 +1,187 @@
1
- import { c as s } from "./tooltip-VMv3Eoxb.js";
2
- import { A as ue, d as fe, a as ge, b as be, e as he, l as xe, m as ye, g as Ne, k as ve, i as we, h as Ce, j as Se, f as Te, n as De, o as Re, p as Ie, q as Me, B as Ae, C as ke, x as Pe, w as ze, u as Ve, t as Le, v as je, y as Ge, z as He, F as Fe, G as Be, D as Oe, H as qe, E as Ee, J as _e, I as Je, K as Ke, M as Qe, Q as Ue, O as We, N as Xe, P as Ye, L as Ze, R as $e, W as et, U as tt, $ as at, V as ot, Y as st, a0 as rt, a4 as nt, X as dt, Z as it, _ as lt, a1 as ct, a2 as mt, a3 as pt, T as ut, a5 as ft, a7 as gt, a6 as bt, a8 as ht, a9 as xt, aa as yt, ac as Nt, ab as vt, ad as wt, ae as Ct, af as St, S as Tt, ah as Dt, ai as Rt, al as It, aj as Mt, ak as At, am as kt, ag as Pt, an as zt, ap as Vt, ar as Lt, aq as jt, ao as Gt, r as Ht, s as Ft } from "./tooltip-VMv3Eoxb.js";
3
- import { jsx as o, jsxs as m } from "react/jsx-runtime";
4
- import * as n from "react";
5
- import { cva as u } from "class-variance-authority";
1
+ import { c as i } from "./tooltip-D9DF_nUo.js";
2
+ import { A as Y, d as Z, a as _, b as $, e as ee, g as ae, h as te, o as oe, p as re, j as se, n as ne, l as ie, k as de, m as le, i as ce, f as me, q as pe, r as ue, s as fe, t as ge, B as be, C as he, D as xe, z as Ce, x as we, w as ye, y as Ne, E as ve, F as Se, I as De, J as Te, G as Ie, K as Me, H as Re, M as Ae, L as Fe, N as ke, P as Pe, T as ze, R as Le, Q as Ge, S as je, O as He, U as Ve, Y as Be, W as Ee, a1 as qe, X as Je, _ as Ke, a2 as Oe, a6 as Qe, Z as Ue, $ as We, a0 as Xe, a3 as Ye, a4 as Ze, a5 as _e, V as $e, a7 as ea, a8 as aa, a9 as ta, aa as oa, ab as ra, ac as sa, ad as na, af as ia, ah as da, ag as la, ai as ca, aj as ma, ak as pa, am as ua, al as fa, an as ga, ao as ba, ap as ha, aq as xa, as as Ca, at as wa, ax as ya, av as Na, au as va, aw as Sa, ar as Da, ay as Ta, aA as Ia, aB as Ma, aE as Ra, aC as Aa, aD as Fa, aF as ka, az as Pa, aG as za, aI as La, aK as Ga, aJ as ja, aH as Ha, u as Va, v as Ba, ae as Ea } from "./tooltip-D9DF_nUo.js";
3
+ import { jsxs as c, jsx as o } from "react/jsx-runtime";
4
+ import * as d from "react";
6
5
  import * as r from "@radix-ui/react-context-menu";
7
- import { ChevronRightIcon as x, CheckIcon as f, DotFilledIcon as y, CaretSortIcon as N, Cross2Icon as v } from "@radix-ui/react-icons";
8
- import * as i from "@radix-ui/react-select";
9
- import * as l from "@radix-ui/react-dialog";
10
- import * as p from "@radix-ui/react-slider";
11
- import * as g from "@radix-ui/react-toggle";
12
- const w = u(
13
- "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",
14
- {
15
- variants: {
16
- variant: {
17
- default: "bg-background text-foreground",
18
- destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
19
- }
20
- },
21
- defaultVariants: {
22
- variant: "default"
23
- }
24
- }
25
- ), C = n.forwardRef(({ className: e, variant: t, ...a }, d) => /* @__PURE__ */ o("div", { ref: d, role: "alert", className: s(w({ variant: t }), e), ...a }));
26
- C.displayName = "Alert";
27
- const S = n.forwardRef(
28
- ({ className: e, ...t }, a) => /* @__PURE__ */ o("h5", { ref: a, className: s("mb-1 font-medium leading-none tracking-tight", e), ...t })
29
- );
30
- S.displayName = "AlertTitle";
31
- const T = n.forwardRef(
32
- ({ className: e, ...t }, a) => /* @__PURE__ */ o("div", { ref: a, className: s("text-sm [&_p]:leading-relaxed", e), ...t })
33
- );
34
- T.displayName = "AlertDescription";
35
- const $ = r.Root, ee = r.Trigger, te = r.Group, ae = r.Portal, oe = r.Sub, se = r.RadioGroup, D = n.forwardRef(({ className: e, inset: t, children: a, ...d }, c) => /* @__PURE__ */ m(
6
+ import { ChevronRightIcon as f, CheckIcon as p, DotFilledIcon as g, CaretSortIcon as b } from "@radix-ui/react-icons";
7
+ import * as s from "@radix-ui/react-select";
8
+ import * as m from "@radix-ui/react-slider";
9
+ import * as u from "@radix-ui/react-toggle";
10
+ import { cva as h } from "class-variance-authority";
11
+ const V = r.Root, B = r.Trigger, E = r.Group, q = r.Portal, J = r.Sub, K = r.RadioGroup, x = d.forwardRef(({ className: e, inset: a, children: t, ...n }, l) => /* @__PURE__ */ c(
36
12
  r.SubTrigger,
37
13
  {
38
- ref: c,
39
- className: s(
14
+ ref: l,
15
+ className: i(
40
16
  "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",
41
- t && "pl-8",
17
+ a && "pl-8",
42
18
  e
43
19
  ),
44
- ...d,
20
+ ...n,
45
21
  children: [
46
- a,
47
- /* @__PURE__ */ o(x, { className: "ml-auto h-4 w-4" })
22
+ t,
23
+ /* @__PURE__ */ o(f, { className: "ml-auto h-4 w-4" })
48
24
  ]
49
25
  }
50
26
  ));
51
- D.displayName = r.SubTrigger.displayName;
52
- const R = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
27
+ x.displayName = r.SubTrigger.displayName;
28
+ const C = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
53
29
  r.SubContent,
54
30
  {
55
- ref: a,
56
- className: s(
31
+ ref: t,
32
+ className: i(
57
33
  "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",
58
34
  e
59
35
  ),
60
- ...t
36
+ ...a
61
37
  }
62
38
  ));
63
- R.displayName = r.SubContent.displayName;
64
- const I = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(r.Portal, { children: /* @__PURE__ */ o(
39
+ C.displayName = r.SubContent.displayName;
40
+ const w = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(r.Portal, { children: /* @__PURE__ */ o(
65
41
  r.Content,
66
42
  {
67
- ref: a,
68
- className: s(
43
+ ref: t,
44
+ className: i(
69
45
  "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 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",
70
46
  e
71
47
  ),
72
- ...t
48
+ ...a
73
49
  }
74
50
  ) }));
75
- I.displayName = r.Content.displayName;
76
- const M = n.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */ o(
51
+ w.displayName = r.Content.displayName;
52
+ const y = d.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
77
53
  r.Item,
78
54
  {
79
- ref: d,
80
- className: s(
55
+ ref: n,
56
+ className: i(
81
57
  "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",
82
- t && "pl-8",
58
+ a && "pl-8",
83
59
  e
84
60
  ),
85
- ...a
61
+ ...t
86
62
  }
87
63
  ));
88
- M.displayName = r.Item.displayName;
89
- const A = n.forwardRef(({ className: e, children: t, checked: a, ...d }, c) => /* @__PURE__ */ m(
64
+ y.displayName = r.Item.displayName;
65
+ const N = d.forwardRef(({ className: e, children: a, checked: t, ...n }, l) => /* @__PURE__ */ c(
90
66
  r.CheckboxItem,
91
67
  {
92
- ref: c,
93
- className: s(
68
+ ref: l,
69
+ className: i(
94
70
  "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",
95
71
  e
96
72
  ),
97
- checked: a,
98
- ...d,
73
+ checked: t,
74
+ ...n,
99
75
  children: [
100
- /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(r.ItemIndicator, { children: /* @__PURE__ */ o(f, { className: "h-4 w-4" }) }) }),
101
- t
76
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(r.ItemIndicator, { children: /* @__PURE__ */ o(p, { className: "h-4 w-4" }) }) }),
77
+ a
102
78
  ]
103
79
  }
104
80
  ));
105
- A.displayName = r.CheckboxItem.displayName;
106
- const k = n.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ m(
81
+ N.displayName = r.CheckboxItem.displayName;
82
+ const v = d.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ c(
107
83
  r.RadioItem,
108
84
  {
109
- ref: d,
110
- className: s(
85
+ ref: n,
86
+ className: i(
111
87
  "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",
112
88
  e
113
89
  ),
114
- ...a,
90
+ ...t,
115
91
  children: [
116
- /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(r.ItemIndicator, { children: /* @__PURE__ */ o(y, { className: "h-4 w-4 fill-current" }) }) }),
117
- t
92
+ /* @__PURE__ */ o("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(r.ItemIndicator, { children: /* @__PURE__ */ o(g, { className: "h-4 w-4 fill-current" }) }) }),
93
+ a
118
94
  ]
119
95
  }
120
96
  ));
121
- k.displayName = r.RadioItem.displayName;
122
- const P = n.forwardRef(({ className: e, inset: t, ...a }, d) => /* @__PURE__ */ o(
97
+ v.displayName = r.RadioItem.displayName;
98
+ const S = d.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */ o(
123
99
  r.Label,
124
100
  {
125
- ref: d,
126
- className: s("px-2 py-1.5 text-sm font-semibold text-foreground", t && "pl-8", e),
127
- ...a
101
+ ref: n,
102
+ className: i("px-2 py-1.5 text-sm font-semibold text-foreground", a && "pl-8", e),
103
+ ...t
128
104
  }
129
105
  ));
130
- P.displayName = r.Label.displayName;
131
- const z = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(r.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-border", e), ...t }));
132
- z.displayName = r.Separator.displayName;
133
- const V = ({ className: e, ...t }) => /* @__PURE__ */ o("span", { className: s("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
134
- V.displayName = "ContextMenuShortcut";
135
- const re = i.Root, ne = i.Group, de = i.Value, L = n.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ m(
136
- i.Trigger,
106
+ S.displayName = r.Label.displayName;
107
+ const D = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(r.Separator, { ref: t, className: i("-mx-1 my-1 h-px bg-border", e), ...a }));
108
+ D.displayName = r.Separator.displayName;
109
+ const T = ({ className: e, ...a }) => /* @__PURE__ */ o("span", { className: i("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
110
+ T.displayName = "ContextMenuShortcut";
111
+ const O = s.Root, Q = s.Group, U = s.Value, I = d.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ c(
112
+ s.Trigger,
137
113
  {
138
- ref: d,
139
- className: s(
114
+ ref: n,
115
+ className: i(
140
116
  "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",
141
117
  e
142
118
  ),
143
- ...a,
119
+ ...t,
144
120
  children: [
145
- t,
146
- /* @__PURE__ */ o(i.Icon, { asChild: !0, children: /* @__PURE__ */ o(N, { className: "h-4 w-4 opacity-50" }) })
121
+ a,
122
+ /* @__PURE__ */ o(s.Icon, { asChild: !0, children: /* @__PURE__ */ o(b, { className: "h-4 w-4 opacity-50" }) })
147
123
  ]
148
124
  }
149
125
  ));
150
- L.displayName = i.Trigger.displayName;
151
- const j = n.forwardRef(({ className: e, children: t, position: a = "popper", ...d }, c) => /* @__PURE__ */ o(i.Portal, { children: /* @__PURE__ */ o(
152
- i.Content,
126
+ I.displayName = s.Trigger.displayName;
127
+ const M = d.forwardRef(({ className: e, children: a, position: t = "popper", ...n }, l) => /* @__PURE__ */ o(s.Portal, { children: /* @__PURE__ */ o(
128
+ s.Content,
153
129
  {
154
- ref: c,
155
- className: s(
130
+ ref: l,
131
+ className: i(
156
132
  "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",
157
- a === "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",
133
+ t === "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",
158
134
  e
159
135
  ),
160
- position: a,
161
- ...d,
136
+ position: t,
137
+ ...n,
162
138
  children: /* @__PURE__ */ o(
163
- i.Viewport,
139
+ s.Viewport,
164
140
  {
165
- className: s(
141
+ className: i(
166
142
  "p-1",
167
- a === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
143
+ t === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
168
144
  ),
169
- children: t
145
+ children: a
170
146
  }
171
147
  )
172
148
  }
173
149
  ) }));
174
- j.displayName = i.Content.displayName;
175
- const G = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(i.Label, { ref: a, className: s("px-2 py-1.5 text-sm font-semibold", e), ...t }));
176
- G.displayName = i.Label.displayName;
177
- const H = n.forwardRef(({ className: e, children: t, ...a }, d) => /* @__PURE__ */ m(
178
- i.Item,
150
+ M.displayName = s.Content.displayName;
151
+ const R = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(s.Label, { ref: t, className: i("px-2 py-1.5 text-sm font-semibold", e), ...a }));
152
+ R.displayName = s.Label.displayName;
153
+ const A = d.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__ */ c(
154
+ s.Item,
179
155
  {
180
- ref: d,
181
- className: s(
156
+ ref: n,
157
+ className: i(
182
158
  "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",
183
159
  e
184
160
  ),
185
- ...a,
161
+ ...t,
186
162
  children: [
187
- /* @__PURE__ */ o("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(i.ItemIndicator, { children: /* @__PURE__ */ o(f, { className: "h-4 w-4" }) }) }),
188
- /* @__PURE__ */ o(i.ItemText, { children: t })
163
+ /* @__PURE__ */ o("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ o(s.ItemIndicator, { children: /* @__PURE__ */ o(p, { className: "h-4 w-4" }) }) }),
164
+ /* @__PURE__ */ o(s.ItemText, { children: a })
189
165
  ]
190
166
  }
191
167
  ));
192
- H.displayName = i.Item.displayName;
193
- const F = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(i.Separator, { ref: a, className: s("-mx-1 my-1 h-px bg-muted", e), ...t }));
194
- F.displayName = i.Separator.displayName;
195
- const ie = l.Root, le = l.Trigger, ce = l.Close, b = ({ className: e, ...t }) => /* @__PURE__ */ o(l.Portal, { className: s(e), ...t });
196
- b.displayName = l.Portal.displayName;
197
- const h = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
198
- l.Overlay,
199
- {
200
- className: s(
201
- "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",
202
- e
203
- ),
204
- ...t,
205
- ref: a
206
- }
207
- ));
208
- h.displayName = l.Overlay.displayName;
209
- const B = u(
210
- "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",
168
+ A.displayName = s.Item.displayName;
169
+ const F = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(s.Separator, { ref: t, className: i("-mx-1 my-1 h-px bg-muted", e), ...a }));
170
+ F.displayName = s.Separator.displayName;
171
+ const k = d.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ c(
172
+ m.Root,
211
173
  {
212
- variants: {
213
- side: {
214
- top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
215
- bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
216
- 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",
217
- 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"
218
- }
219
- },
220
- defaultVariants: {
221
- side: "right"
222
- }
223
- }
224
- ), O = n.forwardRef(
225
- ({ side: e = "right", className: t, children: a, ...d }, c) => /* @__PURE__ */ m(b, { children: [
226
- /* @__PURE__ */ o(h, {}),
227
- /* @__PURE__ */ m(l.Content, { ref: c, className: s(B({ side: e }), t), ...d, children: [
228
- a,
229
- /* @__PURE__ */ m(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: [
230
- /* @__PURE__ */ o(v, { className: "h-4 w-4" }),
231
- /* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
232
- ] })
233
- ] })
234
- ] })
235
- );
236
- O.displayName = l.Content.displayName;
237
- const q = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
238
- q.displayName = "SheetHeader";
239
- const E = ({ className: e, ...t }) => /* @__PURE__ */ o("div", { className: s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
240
- E.displayName = "SheetFooter";
241
- const _ = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(l.Title, { ref: a, className: s("text-lg font-semibold text-foreground", e), ...t }));
242
- _.displayName = l.Title.displayName;
243
- const J = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(l.Description, { ref: a, className: s("text-sm text-muted-foreground", e), ...t }));
244
- J.displayName = l.Description.displayName;
245
- const K = n.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ m(
246
- p.Root,
247
- {
248
- ref: a,
249
- className: s("relative flex w-full touch-none select-none items-center", e),
250
- ...t,
174
+ ref: t,
175
+ className: i("relative flex w-full touch-none select-none items-center", e),
176
+ ...a,
251
177
  children: [
252
- /* @__PURE__ */ o(p.Track, { className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20", children: /* @__PURE__ */ o(p.Range, { className: "absolute h-full bg-primary" }) }),
253
- /* @__PURE__ */ o(p.Thumb, { className: "block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50" })
178
+ /* @__PURE__ */ o(m.Track, { className: "relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20", children: /* @__PURE__ */ o(m.Range, { className: "absolute h-full bg-primary" }) }),
179
+ /* @__PURE__ */ o(m.Thumb, { className: "block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50" })
254
180
  ]
255
181
  }
256
182
  ));
257
- K.displayName = p.Root.displayName;
258
- const Q = u(
183
+ k.displayName = m.Root.displayName;
184
+ const P = h(
259
185
  "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",
260
186
  {
261
187
  variants: {
@@ -274,125 +200,133 @@ const Q = u(
274
200
  size: "default"
275
201
  }
276
202
  }
277
- ), U = n.forwardRef(({ className: e, variant: t, size: a, ...d }, c) => /* @__PURE__ */ o(g.Root, { ref: c, className: s(Q({ variant: t, size: a, className: e })), ...d }));
278
- U.displayName = g.Root.displayName;
203
+ ), z = d.forwardRef(({ className: e, variant: a, size: t, ...n }, l) => /* @__PURE__ */ o(u.Root, { ref: l, className: i(P({ variant: a, size: t, className: e })), ...n }));
204
+ z.displayName = u.Root.displayName;
279
205
  export {
280
- ue as Accordion,
281
- fe as AccordionContent,
282
- ge as AccordionItem,
283
- be as AccordionTrigger,
284
- C as Alert,
285
- T as AlertDescription,
286
- he as AlertDialog,
287
- xe as AlertDialogAction,
288
- ye as AlertDialogCancel,
289
- Ne as AlertDialogContent,
290
- ve as AlertDialogDescription,
291
- we as AlertDialogFooter,
292
- Ce as AlertDialogHeader,
293
- Se as AlertDialogTitle,
294
- Te as AlertDialogTrigger,
295
- S as AlertTitle,
296
- De as Avatar,
297
- Re as AvatarFallback,
298
- Ie as AvatarImage,
299
- Me as Badge,
300
- Ae as Button,
301
- ke as Card,
302
- Pe as CardContent,
303
- ze as CardDescription,
304
- Ve as CardFooter,
305
- Le as CardHeader,
306
- je as CardTitle,
307
- Ge as Command,
308
- He as CommandDialog,
309
- Fe as CommandEmpty,
310
- Be as CommandGroup,
311
- Oe as CommandInput,
312
- qe as CommandItem,
313
- Ee as CommandList,
314
- _e as CommandSeparator,
315
- Je as CommandShortcut,
316
- $ as ContextMenu,
317
- A as ContextMenuCheckboxItem,
318
- I as ContextMenuContent,
319
- te as ContextMenuGroup,
320
- M as ContextMenuItem,
321
- P as ContextMenuLabel,
322
- ae as ContextMenuPortal,
323
- se as ContextMenuRadioGroup,
324
- k as ContextMenuRadioItem,
325
- z as ContextMenuSeparator,
326
- V as ContextMenuShortcut,
327
- oe as ContextMenuSub,
328
- R as ContextMenuSubContent,
329
- D as ContextMenuSubTrigger,
330
- ee as ContextMenuTrigger,
331
- Ke as Dialog,
332
- Qe as DialogContent,
333
- Ue as DialogDescription,
334
- We as DialogFooter,
335
- Xe as DialogHeader,
336
- Ye as DialogTitle,
337
- Ze as DialogTrigger,
338
- $e as DropdownMenu,
339
- et as DropdownMenuCheckboxItem,
340
- tt as DropdownMenuContent,
341
- at as DropdownMenuGroup,
342
- ot as DropdownMenuItem,
343
- st as DropdownMenuLabel,
344
- rt as DropdownMenuPortal,
345
- nt as DropdownMenuRadioGroup,
346
- dt as DropdownMenuRadioItem,
347
- it as DropdownMenuSeparator,
348
- lt as DropdownMenuShortcut,
349
- ct as DropdownMenuSub,
350
- mt as DropdownMenuSubContent,
351
- pt as DropdownMenuSubTrigger,
352
- ut as DropdownMenuTrigger,
353
- ft as HoverCard,
354
- gt as HoverCardContent,
355
- bt as HoverCardTrigger,
356
- ht as Input,
357
- xt as Label,
358
- yt as Popover,
359
- Nt as PopoverContent,
360
- vt as PopoverTrigger,
361
- wt as ScrollArea,
362
- Ct as ScrollBar,
363
- re as Select,
364
- j as SelectContent,
365
- ne as SelectGroup,
366
- H as SelectItem,
367
- G as SelectLabel,
206
+ Y as Accordion,
207
+ Z as AccordionContent,
208
+ _ as AccordionItem,
209
+ $ as AccordionTrigger,
210
+ ee as Alert,
211
+ ae as AlertDescription,
212
+ te as AlertDialog,
213
+ oe as AlertDialogAction,
214
+ re as AlertDialogCancel,
215
+ se as AlertDialogContent,
216
+ ne as AlertDialogDescription,
217
+ ie as AlertDialogFooter,
218
+ de as AlertDialogHeader,
219
+ le as AlertDialogTitle,
220
+ ce as AlertDialogTrigger,
221
+ me as AlertTitle,
222
+ pe as Avatar,
223
+ ue as AvatarFallback,
224
+ fe as AvatarImage,
225
+ ge as Badge,
226
+ be as Button,
227
+ he as Card,
228
+ xe as CardContent,
229
+ Ce as CardDescription,
230
+ we as CardFooter,
231
+ ye as CardHeader,
232
+ Ne as CardTitle,
233
+ ve as Command,
234
+ Se as CommandDialog,
235
+ De as CommandEmpty,
236
+ Te as CommandGroup,
237
+ Ie as CommandInput,
238
+ Me as CommandItem,
239
+ Re as CommandList,
240
+ Ae as CommandSeparator,
241
+ Fe as CommandShortcut,
242
+ V as ContextMenu,
243
+ N as ContextMenuCheckboxItem,
244
+ w as ContextMenuContent,
245
+ E as ContextMenuGroup,
246
+ y as ContextMenuItem,
247
+ S as ContextMenuLabel,
248
+ q as ContextMenuPortal,
249
+ K as ContextMenuRadioGroup,
250
+ v as ContextMenuRadioItem,
251
+ D as ContextMenuSeparator,
252
+ T as ContextMenuShortcut,
253
+ J as ContextMenuSub,
254
+ C as ContextMenuSubContent,
255
+ x as ContextMenuSubTrigger,
256
+ B as ContextMenuTrigger,
257
+ ke as Dialog,
258
+ Pe as DialogContent,
259
+ ze as DialogDescription,
260
+ Le as DialogFooter,
261
+ Ge as DialogHeader,
262
+ je as DialogTitle,
263
+ He as DialogTrigger,
264
+ Ve as DropdownMenu,
265
+ Be as DropdownMenuCheckboxItem,
266
+ Ee as DropdownMenuContent,
267
+ qe as DropdownMenuGroup,
268
+ Je as DropdownMenuItem,
269
+ Ke as DropdownMenuLabel,
270
+ Oe as DropdownMenuPortal,
271
+ Qe as DropdownMenuRadioGroup,
272
+ Ue as DropdownMenuRadioItem,
273
+ We as DropdownMenuSeparator,
274
+ Xe as DropdownMenuShortcut,
275
+ Ye as DropdownMenuSub,
276
+ Ze as DropdownMenuSubContent,
277
+ _e as DropdownMenuSubTrigger,
278
+ $e as DropdownMenuTrigger,
279
+ ea as Form,
280
+ aa as FormControl,
281
+ ta as FormDescription,
282
+ oa as FormField,
283
+ ra as FormItem,
284
+ sa as FormLabel,
285
+ na as FormMessage,
286
+ ia as HoverCard,
287
+ da as HoverCardContent,
288
+ la as HoverCardTrigger,
289
+ ca as Input,
290
+ ma as Label,
291
+ pa as Popover,
292
+ ua as PopoverContent,
293
+ fa as PopoverTrigger,
294
+ ga as ScrollArea,
295
+ ba as ScrollBar,
296
+ O as Select,
297
+ M as SelectContent,
298
+ Q as SelectGroup,
299
+ A as SelectItem,
300
+ R as SelectLabel,
368
301
  F as SelectSeparator,
369
- L as SelectTrigger,
370
- de as SelectValue,
371
- St as Separator,
372
- ie as Sheet,
373
- ce as SheetClose,
374
- O as SheetContent,
375
- J as SheetDescription,
376
- E as SheetFooter,
377
- q as SheetHeader,
378
- _ as SheetTitle,
379
- le as SheetTrigger,
380
- Tt as Skeleton,
381
- K as Slider,
382
- Dt as Switch,
383
- Rt as Tabs,
384
- It as TabsContent,
385
- Mt as TabsList,
386
- At as TabsTrigger,
387
- kt as Textarea,
388
- Pt as Toaster,
389
- U as Toggle,
390
- zt as Tooltip,
391
- Vt as TooltipContent,
392
- Lt as TooltipPortal,
393
- jt as TooltipProvider,
394
- Gt as TooltipTrigger,
395
- Ht as badgeVariants,
396
- Ft as buttonVariants,
397
- Q as toggleVariants
302
+ I as SelectTrigger,
303
+ U as SelectValue,
304
+ ha as Separator,
305
+ xa as Sheet,
306
+ Ca as SheetClose,
307
+ wa as SheetContent,
308
+ ya as SheetDescription,
309
+ Na as SheetFooter,
310
+ va as SheetHeader,
311
+ Sa as SheetTitle,
312
+ Da as SheetTrigger,
313
+ Ta as Skeleton,
314
+ k as Slider,
315
+ Ia as Switch,
316
+ Ma as Tabs,
317
+ Ra as TabsContent,
318
+ Aa as TabsList,
319
+ Fa as TabsTrigger,
320
+ ka as Textarea,
321
+ Pa as Toaster,
322
+ z as Toggle,
323
+ za as Tooltip,
324
+ La as TooltipContent,
325
+ Ga as TooltipPortal,
326
+ ja as TooltipProvider,
327
+ Ha as TooltipTrigger,
328
+ Va as badgeVariants,
329
+ Ba as buttonVariants,
330
+ P as toggleVariants,
331
+ Ea as useFormField
398
332
  };