@chaibuilder/sdk 2.2.3 → 2.2.4
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/CodeEditor-B7r9YjDC.cjs +1 -0
- package/dist/CodeEditor-HKrlrH8b.js +71 -0
- package/dist/core.cjs +5 -5
- package/dist/core.d.ts +3 -4
- package/dist/core.js +4355 -4390
- package/dist/get-chai-builder-theme-ByeXCyGx.js +12 -0
- package/dist/get-chai-builder-theme-CeaKvOZ8.cjs +1 -0
- package/dist/mockServiceWorker.js +1 -1
- package/dist/plugin-C01tjI6V.cjs +22 -0
- package/dist/{chai-theme-helpers-CfZwxV6S.js → plugin-fnBB3TCm.js} +111 -99
- package/dist/render-chai-blocks-6SVNwoLW.js +201 -0
- package/dist/render-chai-blocks-Bvl2_fRE.cjs +1 -0
- package/dist/render.cjs +2 -2
- package/dist/render.js +38 -188
- package/dist/sooner-AJ7QkeLS.cjs +1 -0
- package/dist/sooner-DGhT8-JI.js +831 -0
- package/dist/tailwind.cjs +1 -1
- package/dist/tailwind.js +3 -2
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +37 -29
- package/dist/ui.js +232 -196
- package/dist/web-blocks.cjs +2 -2
- package/dist/web-blocks.js +1210 -1069
- package/package.json +3 -2
- package/dist/CodeEditor-CPR3N3wa.cjs +0 -1
- package/dist/CodeEditor-CuhsobXe.js +0 -65
- package/dist/chai-theme-helpers-utzv3TbX.cjs +0 -22
- package/dist/getSplitClasses-DodqA_KW.cjs +0 -1
- package/dist/getSplitClasses-DphwgQiE.js +0 -48
- package/dist/plugin-DW1HhfzA.js +0 -24
- package/dist/plugin-kqWzHDpF.cjs +0 -1
- package/dist/tooltip-BF2E5xPf.cjs +0 -1
- package/dist/tooltip-DGVZAvLU.js +0 -755
- /package/dist/{Functions-BGzDsf1z.js → common-functions-BGzDsf1z.js} +0 -0
- /package/dist/{Functions-BZmyleS1.cjs → common-functions-BZmyleS1.cjs} +0 -0
package/dist/ui.js
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { A as
|
|
1
|
+
import { c as n } from "./sooner-DGhT8-JI.js";
|
|
2
|
+
import { A as $, d as ee, a as ae, b as te, e as oe, f as re, h as se, i as ne, j as ie, k as le, l as de, m as ce, n as me, o as pe, p as ue, q as fe, r as ge, g as he, s as be, u as xe, t as we, v as ye, B as ve, C as Ce, y as Ne, z as Se, D as De, E as Te, F as Re, G as Me, H as Ie, K as Ae, L as Pe, I as ke, M as ze, J as je, O as Be, N as Ge, P as Le, Q as He, R as Ve, S as Fe, T as Ue, U as Oe, V as _e, W as Ee, X as qe, Y as Je, Z as Ke, _ as Qe, $ as We, a0 as Xe, a1 as Ye, a2 as Ze, a3 as $e, a4 as ea, a5 as aa, a6 as ta, a7 as oa, a8 as ra, a9 as sa, aa as na, ab as ia, ac as la, ad as da, ae as ca, af as ma, ag as pa, ah as ua, ai as fa, aj as ga, ak as ha, al as ba, am as xa, an as wa, ao as ya, ap as va, aq as Ca, ar as Na, as as Sa, at as Da, au as Ta, av as Ra, aw as Ma, ax as Ia, ay as Aa, aA as Pa, aB as ka, aC as za, aD as ja, aE as Ba, aF as Ga, az as La, aG as Ha, aH as Va, aI as Fa, aJ as Ua, w as Oa, x as _a } from "./sooner-DGhT8-JI.js";
|
|
3
3
|
import { jsxs as c, jsx as o } from "react/jsx-runtime";
|
|
4
|
-
import * as i from "react";
|
|
5
4
|
import * as r from "@radix-ui/react-context-menu";
|
|
6
|
-
import {
|
|
5
|
+
import { ChevronRight as b, Check as p, Circle as x, ChevronDown as u, ChevronUp as w } from "lucide-react";
|
|
6
|
+
import * as l from "react";
|
|
7
7
|
import * as s from "@radix-ui/react-select";
|
|
8
8
|
import * as m from "@radix-ui/react-slider";
|
|
9
|
-
import * as
|
|
10
|
-
import { cva as
|
|
11
|
-
const
|
|
9
|
+
import * as f from "@radix-ui/react-toggle";
|
|
10
|
+
import { cva as y } from "class-variance-authority";
|
|
11
|
+
const O = r.Root, _ = r.Trigger, E = r.Group, q = r.Portal, J = r.Sub, K = r.RadioGroup, v = l.forwardRef(({ className: e, inset: a, children: t, ...i }, d) => /* @__PURE__ */ c(
|
|
12
12
|
r.SubTrigger,
|
|
13
13
|
{
|
|
14
|
-
ref:
|
|
15
|
-
className:
|
|
14
|
+
ref: d,
|
|
15
|
+
className: n(
|
|
16
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",
|
|
17
17
|
a && "pl-8",
|
|
18
18
|
e
|
|
19
19
|
),
|
|
20
|
-
...
|
|
20
|
+
...i,
|
|
21
21
|
children: [
|
|
22
22
|
t,
|
|
23
|
-
/* @__PURE__ */ o(
|
|
23
|
+
/* @__PURE__ */ o(b, { className: "ml-auto h-4 w-4" })
|
|
24
24
|
]
|
|
25
25
|
}
|
|
26
26
|
));
|
|
27
|
-
|
|
28
|
-
const C =
|
|
27
|
+
v.displayName = r.SubTrigger.displayName;
|
|
28
|
+
const C = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
29
29
|
r.SubContent,
|
|
30
30
|
{
|
|
31
31
|
ref: t,
|
|
32
|
-
className:
|
|
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",
|
|
32
|
+
className: n(
|
|
33
|
+
"z-50 min-w-[8rem] origin-[--radix-context-menu-content-transform-origin] 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",
|
|
34
34
|
e
|
|
35
35
|
),
|
|
36
36
|
...a
|
|
37
37
|
}
|
|
38
38
|
));
|
|
39
39
|
C.displayName = r.SubContent.displayName;
|
|
40
|
-
const
|
|
40
|
+
const N = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(r.Portal, { children: /* @__PURE__ */ o(
|
|
41
41
|
r.Content,
|
|
42
42
|
{
|
|
43
43
|
ref: t,
|
|
44
|
-
className:
|
|
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",
|
|
44
|
+
className: n(
|
|
45
|
+
"z-50 max-h-[--radix-context-menu-content-available-height] min-w-[8rem] origin-[--radix-context-menu-content-transform-origin] overflow-y-auto overflow-x-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",
|
|
46
46
|
e
|
|
47
47
|
),
|
|
48
48
|
...a
|
|
49
49
|
}
|
|
50
50
|
) }));
|
|
51
|
-
|
|
52
|
-
const
|
|
51
|
+
N.displayName = r.Content.displayName;
|
|
52
|
+
const S = l.forwardRef(({ className: e, inset: a, ...t }, i) => /* @__PURE__ */ o(
|
|
53
53
|
r.Item,
|
|
54
54
|
{
|
|
55
|
-
ref:
|
|
56
|
-
className:
|
|
55
|
+
ref: i,
|
|
56
|
+
className: n(
|
|
57
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",
|
|
58
58
|
a && "pl-8",
|
|
59
59
|
e
|
|
@@ -61,100 +61,124 @@ const y = i.forwardRef(({ className: e, inset: a, ...t }, n) => /* @__PURE__ */
|
|
|
61
61
|
...t
|
|
62
62
|
}
|
|
63
63
|
));
|
|
64
|
-
|
|
65
|
-
const
|
|
64
|
+
S.displayName = r.Item.displayName;
|
|
65
|
+
const D = l.forwardRef(({ className: e, children: a, checked: t, ...i }, d) => /* @__PURE__ */ c(
|
|
66
66
|
r.CheckboxItem,
|
|
67
67
|
{
|
|
68
|
-
ref:
|
|
69
|
-
className:
|
|
68
|
+
ref: d,
|
|
69
|
+
className: n(
|
|
70
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",
|
|
71
71
|
e
|
|
72
72
|
),
|
|
73
73
|
checked: t,
|
|
74
|
-
...
|
|
74
|
+
...i,
|
|
75
75
|
children: [
|
|
76
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
77
|
a
|
|
78
78
|
]
|
|
79
79
|
}
|
|
80
80
|
));
|
|
81
|
-
|
|
82
|
-
const
|
|
81
|
+
D.displayName = r.CheckboxItem.displayName;
|
|
82
|
+
const T = l.forwardRef(({ className: e, children: a, ...t }, i) => /* @__PURE__ */ c(
|
|
83
83
|
r.RadioItem,
|
|
84
84
|
{
|
|
85
|
-
ref:
|
|
86
|
-
className:
|
|
85
|
+
ref: i,
|
|
86
|
+
className: n(
|
|
87
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",
|
|
88
88
|
e
|
|
89
89
|
),
|
|
90
90
|
...t,
|
|
91
91
|
children: [
|
|
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(
|
|
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(x, { className: "h-4 w-4 fill-current" }) }) }),
|
|
93
93
|
a
|
|
94
94
|
]
|
|
95
95
|
}
|
|
96
96
|
));
|
|
97
|
-
|
|
98
|
-
const
|
|
97
|
+
T.displayName = r.RadioItem.displayName;
|
|
98
|
+
const R = l.forwardRef(({ className: e, inset: a, ...t }, i) => /* @__PURE__ */ o(
|
|
99
99
|
r.Label,
|
|
100
100
|
{
|
|
101
|
-
ref:
|
|
102
|
-
className:
|
|
101
|
+
ref: i,
|
|
102
|
+
className: n("px-2 py-1.5 text-sm font-semibold text-foreground", a && "pl-8", e),
|
|
103
103
|
...t
|
|
104
104
|
}
|
|
105
105
|
));
|
|
106
|
-
|
|
107
|
-
const
|
|
108
|
-
|
|
109
|
-
const
|
|
110
|
-
|
|
111
|
-
const
|
|
106
|
+
R.displayName = r.Label.displayName;
|
|
107
|
+
const M = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(r.Separator, { ref: t, className: n("-mx-1 my-1 h-px bg-border", e), ...a }));
|
|
108
|
+
M.displayName = r.Separator.displayName;
|
|
109
|
+
const I = ({ className: e, ...a }) => /* @__PURE__ */ o("span", { className: n("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
|
|
110
|
+
I.displayName = "ContextMenuShortcut";
|
|
111
|
+
const Q = s.Root, W = s.Group, X = s.Value, A = l.forwardRef(({ className: e, children: a, ...t }, i) => /* @__PURE__ */ c(
|
|
112
112
|
s.Trigger,
|
|
113
113
|
{
|
|
114
|
-
ref:
|
|
115
|
-
className:
|
|
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
|
|
114
|
+
ref: i,
|
|
115
|
+
className: n(
|
|
116
|
+
"flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 data-[placeholder]:text-muted-foreground [&>span]:line-clamp-1",
|
|
117
117
|
e
|
|
118
118
|
),
|
|
119
119
|
...t,
|
|
120
120
|
children: [
|
|
121
121
|
a,
|
|
122
|
-
/* @__PURE__ */ o(s.Icon, { asChild: !0, children: /* @__PURE__ */ o(
|
|
122
|
+
/* @__PURE__ */ o(s.Icon, { asChild: !0, children: /* @__PURE__ */ o(u, { className: "h-4 w-4 opacity-50" }) })
|
|
123
123
|
]
|
|
124
124
|
}
|
|
125
125
|
));
|
|
126
|
-
|
|
127
|
-
const
|
|
126
|
+
A.displayName = s.Trigger.displayName;
|
|
127
|
+
const g = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
128
|
+
s.ScrollUpButton,
|
|
129
|
+
{
|
|
130
|
+
ref: t,
|
|
131
|
+
className: n("flex cursor-default items-center justify-center py-1", e),
|
|
132
|
+
...a,
|
|
133
|
+
children: /* @__PURE__ */ o(w, { className: "h-4 w-4" })
|
|
134
|
+
}
|
|
135
|
+
));
|
|
136
|
+
g.displayName = s.ScrollUpButton.displayName;
|
|
137
|
+
const h = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
138
|
+
s.ScrollDownButton,
|
|
139
|
+
{
|
|
140
|
+
ref: t,
|
|
141
|
+
className: n("flex cursor-default items-center justify-center py-1", e),
|
|
142
|
+
...a,
|
|
143
|
+
children: /* @__PURE__ */ o(u, { className: "h-4 w-4" })
|
|
144
|
+
}
|
|
145
|
+
));
|
|
146
|
+
h.displayName = s.ScrollDownButton.displayName;
|
|
147
|
+
const P = l.forwardRef(({ className: e, children: a, position: t = "popper", ...i }, d) => /* @__PURE__ */ o(s.Portal, { children: /* @__PURE__ */ c(
|
|
128
148
|
s.Content,
|
|
129
149
|
{
|
|
130
|
-
ref:
|
|
131
|
-
className:
|
|
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",
|
|
150
|
+
ref: d,
|
|
151
|
+
className: n(
|
|
152
|
+
"relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] origin-[--radix-select-content-transform-origin] overflow-y-auto overflow-x-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",
|
|
133
153
|
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",
|
|
134
154
|
e
|
|
135
155
|
),
|
|
136
156
|
position: t,
|
|
137
|
-
...
|
|
138
|
-
children:
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
157
|
+
...i,
|
|
158
|
+
children: [
|
|
159
|
+
/* @__PURE__ */ o(g, {}),
|
|
160
|
+
/* @__PURE__ */ o(
|
|
161
|
+
s.Viewport,
|
|
162
|
+
{
|
|
163
|
+
className: n(
|
|
164
|
+
"p-1",
|
|
165
|
+
t === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
|
|
166
|
+
),
|
|
167
|
+
children: a
|
|
168
|
+
}
|
|
169
|
+
),
|
|
170
|
+
/* @__PURE__ */ o(h, {})
|
|
171
|
+
]
|
|
148
172
|
}
|
|
149
173
|
) }));
|
|
150
|
-
|
|
151
|
-
const
|
|
152
|
-
|
|
153
|
-
const
|
|
174
|
+
P.displayName = s.Content.displayName;
|
|
175
|
+
const k = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(s.Label, { ref: t, className: n("px-2 py-1.5 text-sm font-semibold", e), ...a }));
|
|
176
|
+
k.displayName = s.Label.displayName;
|
|
177
|
+
const z = l.forwardRef(({ className: e, children: a, ...t }, i) => /* @__PURE__ */ c(
|
|
154
178
|
s.Item,
|
|
155
179
|
{
|
|
156
|
-
ref:
|
|
157
|
-
className:
|
|
180
|
+
ref: i,
|
|
181
|
+
className: n(
|
|
158
182
|
"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",
|
|
159
183
|
e
|
|
160
184
|
),
|
|
@@ -165,14 +189,17 @@ const A = i.forwardRef(({ className: e, children: a, ...t }, n) => /* @__PURE__
|
|
|
165
189
|
]
|
|
166
190
|
}
|
|
167
191
|
));
|
|
168
|
-
|
|
169
|
-
const
|
|
170
|
-
|
|
171
|
-
const
|
|
192
|
+
z.displayName = s.Item.displayName;
|
|
193
|
+
const j = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(s.Separator, { ref: t, className: n("-mx-1 my-1 h-px bg-muted", e), ...a }));
|
|
194
|
+
j.displayName = s.Separator.displayName;
|
|
195
|
+
const B = l.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ c(
|
|
172
196
|
m.Root,
|
|
173
197
|
{
|
|
174
198
|
ref: t,
|
|
175
|
-
className:
|
|
199
|
+
className: n(
|
|
200
|
+
"relative flex w-full touch-none select-none items-center",
|
|
201
|
+
e
|
|
202
|
+
),
|
|
176
203
|
...a,
|
|
177
204
|
children: [
|
|
178
205
|
/* @__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" }) }),
|
|
@@ -180,19 +207,19 @@ const P = i.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ c(
|
|
|
180
207
|
]
|
|
181
208
|
}
|
|
182
209
|
));
|
|
183
|
-
|
|
184
|
-
const
|
|
185
|
-
"inline-flex items-center justify-center rounded-md text-sm font-medium
|
|
210
|
+
B.displayName = m.Root.displayName;
|
|
211
|
+
const G = y(
|
|
212
|
+
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
186
213
|
{
|
|
187
214
|
variants: {
|
|
188
215
|
variant: {
|
|
189
216
|
default: "bg-transparent",
|
|
190
|
-
outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"
|
|
217
|
+
outline: "border border-input bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground"
|
|
191
218
|
},
|
|
192
219
|
size: {
|
|
193
|
-
default: "h-
|
|
194
|
-
sm: "h-
|
|
195
|
-
lg: "h-
|
|
220
|
+
default: "h-9 px-2 min-w-9",
|
|
221
|
+
sm: "h-8 px-1.5 min-w-8",
|
|
222
|
+
lg: "h-10 px-2.5 min-w-10"
|
|
196
223
|
}
|
|
197
224
|
},
|
|
198
225
|
defaultVariants: {
|
|
@@ -200,125 +227,134 @@ const z = h(
|
|
|
200
227
|
size: "default"
|
|
201
228
|
}
|
|
202
229
|
}
|
|
203
|
-
), L =
|
|
204
|
-
L.displayName =
|
|
230
|
+
), L = l.forwardRef(({ className: e, variant: a, size: t, ...i }, d) => /* @__PURE__ */ o(f.Root, { ref: d, className: n(G({ variant: a, size: t, className: e })), ...i }));
|
|
231
|
+
L.displayName = f.Root.displayName;
|
|
205
232
|
export {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
Ce as
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
233
|
+
$ as Accordion,
|
|
234
|
+
ee as AccordionContent,
|
|
235
|
+
ae as AccordionItem,
|
|
236
|
+
te as AccordionTrigger,
|
|
237
|
+
oe as Alert,
|
|
238
|
+
re as AlertDescription,
|
|
239
|
+
se as AlertDialog,
|
|
240
|
+
ne as AlertDialogAction,
|
|
241
|
+
ie as AlertDialogCancel,
|
|
242
|
+
le as AlertDialogContent,
|
|
243
|
+
de as AlertDialogDescription,
|
|
244
|
+
ce as AlertDialogFooter,
|
|
245
|
+
me as AlertDialogHeader,
|
|
246
|
+
pe as AlertDialogOverlay,
|
|
247
|
+
ue as AlertDialogPortal,
|
|
248
|
+
fe as AlertDialogTitle,
|
|
249
|
+
ge as AlertDialogTrigger,
|
|
250
|
+
he as AlertTitle,
|
|
251
|
+
be as Avatar,
|
|
252
|
+
xe as AvatarFallback,
|
|
253
|
+
we as AvatarImage,
|
|
254
|
+
ye as Badge,
|
|
255
|
+
ve as Button,
|
|
256
|
+
Ce as Card,
|
|
257
|
+
Ne as CardContent,
|
|
258
|
+
Se as CardDescription,
|
|
259
|
+
De as CardFooter,
|
|
260
|
+
Te as CardHeader,
|
|
261
|
+
Re as CardTitle,
|
|
262
|
+
Me as Command,
|
|
263
|
+
Ie as CommandDialog,
|
|
264
|
+
Ae as CommandEmpty,
|
|
265
|
+
Pe as CommandGroup,
|
|
266
|
+
ke as CommandInput,
|
|
267
|
+
ze as CommandItem,
|
|
268
|
+
je as CommandList,
|
|
269
|
+
Be as CommandSeparator,
|
|
270
|
+
Ge as CommandShortcut,
|
|
271
|
+
O as ContextMenu,
|
|
272
|
+
D as ContextMenuCheckboxItem,
|
|
273
|
+
N as ContextMenuContent,
|
|
274
|
+
E as ContextMenuGroup,
|
|
275
|
+
S as ContextMenuItem,
|
|
276
|
+
R as ContextMenuLabel,
|
|
277
|
+
q as ContextMenuPortal,
|
|
249
278
|
K as ContextMenuRadioGroup,
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
279
|
+
T as ContextMenuRadioItem,
|
|
280
|
+
M as ContextMenuSeparator,
|
|
281
|
+
I as ContextMenuShortcut,
|
|
253
282
|
J as ContextMenuSub,
|
|
254
283
|
C as ContextMenuSubContent,
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
Ca as
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
284
|
+
v as ContextMenuSubTrigger,
|
|
285
|
+
_ as ContextMenuTrigger,
|
|
286
|
+
Le as Dialog,
|
|
287
|
+
He as DialogClose,
|
|
288
|
+
Ve as DialogContent,
|
|
289
|
+
Fe as DialogDescription,
|
|
290
|
+
Ue as DialogFooter,
|
|
291
|
+
Oe as DialogHeader,
|
|
292
|
+
_e as DialogOverlay,
|
|
293
|
+
Ee as DialogPortal,
|
|
294
|
+
qe as DialogTitle,
|
|
295
|
+
Je as DialogTrigger,
|
|
296
|
+
Ke as DropdownMenu,
|
|
297
|
+
Qe as DropdownMenuCheckboxItem,
|
|
298
|
+
We as DropdownMenuContent,
|
|
299
|
+
Xe as DropdownMenuGroup,
|
|
300
|
+
Ye as DropdownMenuItem,
|
|
301
|
+
Ze as DropdownMenuLabel,
|
|
302
|
+
$e as DropdownMenuPortal,
|
|
303
|
+
ea as DropdownMenuRadioGroup,
|
|
304
|
+
aa as DropdownMenuRadioItem,
|
|
305
|
+
ta as DropdownMenuSeparator,
|
|
306
|
+
oa as DropdownMenuShortcut,
|
|
307
|
+
ra as DropdownMenuSub,
|
|
308
|
+
sa as DropdownMenuSubContent,
|
|
309
|
+
na as DropdownMenuSubTrigger,
|
|
310
|
+
ia as DropdownMenuTrigger,
|
|
311
|
+
la as HoverCard,
|
|
312
|
+
da as HoverCardContent,
|
|
313
|
+
ca as HoverCardTrigger,
|
|
314
|
+
ma as Input,
|
|
315
|
+
pa as Label,
|
|
316
|
+
ua as Popover,
|
|
317
|
+
fa as PopoverAnchor,
|
|
318
|
+
ga as PopoverContent,
|
|
319
|
+
ha as PopoverTrigger,
|
|
320
|
+
ba as ScrollArea,
|
|
321
|
+
xa as ScrollBar,
|
|
322
|
+
Q as Select,
|
|
323
|
+
P as SelectContent,
|
|
324
|
+
W as SelectGroup,
|
|
325
|
+
z as SelectItem,
|
|
326
|
+
k as SelectLabel,
|
|
327
|
+
h as SelectScrollDownButton,
|
|
328
|
+
g as SelectScrollUpButton,
|
|
329
|
+
j as SelectSeparator,
|
|
330
|
+
A as SelectTrigger,
|
|
331
|
+
X as SelectValue,
|
|
332
|
+
wa as Separator,
|
|
333
|
+
ya as Sheet,
|
|
334
|
+
va as SheetClose,
|
|
335
|
+
Ca as SheetContent,
|
|
336
|
+
Na as SheetDescription,
|
|
337
|
+
Sa as SheetFooter,
|
|
338
|
+
Da as SheetHeader,
|
|
339
|
+
Ta as SheetOverlay,
|
|
340
|
+
Ra as SheetPortal,
|
|
341
|
+
Ma as SheetTitle,
|
|
342
|
+
Ia as SheetTrigger,
|
|
343
|
+
Aa as Skeleton,
|
|
344
|
+
B as Slider,
|
|
345
|
+
Pa as Switch,
|
|
346
|
+
ka as Tabs,
|
|
347
|
+
za as TabsContent,
|
|
348
|
+
ja as TabsList,
|
|
349
|
+
Ba as TabsTrigger,
|
|
350
|
+
Ga as Textarea,
|
|
351
|
+
La as Toaster,
|
|
315
352
|
L as Toggle,
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
z as toggleVariants
|
|
353
|
+
Ha as Tooltip,
|
|
354
|
+
Va as TooltipContent,
|
|
355
|
+
Fa as TooltipProvider,
|
|
356
|
+
Ua as TooltipTrigger,
|
|
357
|
+
Oa as badgeVariants,
|
|
358
|
+
_a as buttonVariants,
|
|
359
|
+
G as toggleVariants
|
|
324
360
|
};
|