@arcadeai/design-system 0.7.3 → 0.7.5
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/components/index.js +109 -108
- package/dist/components/ui/atoms/accordion.js +1 -1
- package/dist/components/ui/atoms/avatar.js +200 -82
- package/dist/components/ui/atoms/breadcrumb.js +25 -37
- package/dist/components/ui/atoms/chart.js +115 -10378
- package/dist/components/ui/atoms/command.js +158 -168
- package/dist/components/ui/atoms/dialog.js +30 -29
- package/dist/components/ui/atoms/dropdown-menu.js +153 -162
- package/dist/components/ui/atoms/form.js +57 -250
- package/dist/components/ui/atoms/hover-card.js +1 -1
- package/dist/components/ui/atoms/index.js +109 -108
- package/dist/components/ui/atoms/popover.js +1 -1
- package/dist/components/ui/atoms/resizable.js +359 -372
- package/dist/components/ui/atoms/select.js +101 -110
- package/dist/components/ui/atoms/sheet.js +24 -23
- package/dist/components/ui/atoms/sidebar.js +80 -89
- package/dist/components/ui/atoms/tooltip.js +1 -1
- package/dist/components/ui/index.js +109 -108
- package/dist/{index-f0YS5Ufh.js → index-PlrlSrPo.js} +266 -259
- package/dist/{index-DLfXSskr.js → index-toVHZ337.js} +49 -61
- package/dist/main.js +109 -108
- package/package.json +4 -3
- package/dist/check-B5h1DvDs.js +0 -11
- package/dist/chevron-down-DmZMdOiC.js +0 -11
- package/dist/chevron-right-BYYHEJjK.js +0 -11
- package/dist/createLucideIcon-XRdN60yz.js +0 -94
- package/dist/index-CJFGOBPb.js +0 -122
|
@@ -1,296 +1,103 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { S as
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
var b = (e) => !O(e) && !Array.isArray(e) && q(e) && !K(e), z = (e) => b(e) && e.target ? j(e.target) ? e.target.checked : e.target.value : e, J = (e) => e.substring(0, e.search(/\.\d+(\.|$)/)) || e, Q = (e, o) => e.has(J(o)), X = (e) => {
|
|
10
|
-
const o = e.constructor && e.constructor.prototype;
|
|
11
|
-
return b(o) && o.hasOwnProperty("isPrototypeOf");
|
|
12
|
-
}, Y = typeof window < "u" && typeof window.HTMLElement < "u" && typeof document < "u";
|
|
13
|
-
function L(e) {
|
|
14
|
-
let o;
|
|
15
|
-
const t = Array.isArray(e), s = typeof FileList < "u" ? e instanceof FileList : !1;
|
|
16
|
-
if (e instanceof Date)
|
|
17
|
-
o = new Date(e);
|
|
18
|
-
else if (!(Y && (e instanceof Blob || s)) && (t || b(e)))
|
|
19
|
-
if (o = t ? [] : {}, !t && !X(e))
|
|
20
|
-
o = e;
|
|
21
|
-
else
|
|
22
|
-
for (const r in e)
|
|
23
|
-
e.hasOwnProperty(r) && (o[r] = L(e[r]));
|
|
24
|
-
else
|
|
25
|
-
return e;
|
|
26
|
-
return o;
|
|
27
|
-
}
|
|
28
|
-
var M = (e) => /^\w*$/.test(e), V = (e) => e === void 0, Z = (e) => Array.isArray(e) ? e.filter(Boolean) : [], B = (e) => Z(e.replace(/["|']|\]/g, "").split(/\.|\[/)), c = (e, o, t) => {
|
|
29
|
-
if (!o || !b(e))
|
|
30
|
-
return t;
|
|
31
|
-
const s = (M(o) ? [o] : B(o)).reduce((r, n) => O(r) ? r : r[n], e);
|
|
32
|
-
return V(s) || s === e ? V(e[o]) ? t : e[o] : s;
|
|
33
|
-
}, C = (e) => typeof e == "boolean", P = (e, o, t) => {
|
|
34
|
-
let s = -1;
|
|
35
|
-
const r = M(o) ? [o] : B(o), n = r.length, l = n - 1;
|
|
36
|
-
for (; ++s < n; ) {
|
|
37
|
-
const u = r[s];
|
|
38
|
-
let a = t;
|
|
39
|
-
if (s !== l) {
|
|
40
|
-
const f = e[u];
|
|
41
|
-
a = b(f) || Array.isArray(f) ? f : isNaN(+r[s + 1]) ? {} : [];
|
|
42
|
-
}
|
|
43
|
-
if (u === "__proto__" || u === "constructor" || u === "prototype")
|
|
44
|
-
return;
|
|
45
|
-
e[u] = a, e = e[u];
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
const k = {
|
|
49
|
-
BLUR: "blur",
|
|
50
|
-
CHANGE: "change"
|
|
51
|
-
}, D = {
|
|
52
|
-
all: "all"
|
|
53
|
-
}, I = i.createContext(null);
|
|
54
|
-
I.displayName = "HookFormContext";
|
|
55
|
-
const v = () => i.useContext(I), ee = (e) => {
|
|
56
|
-
const { children: o, ...t } = e;
|
|
57
|
-
return i.createElement(I.Provider, { value: t }, o);
|
|
58
|
-
};
|
|
59
|
-
var te = (e, o, t, s = !0) => {
|
|
60
|
-
const r = {
|
|
61
|
-
defaultValues: o._defaultValues
|
|
62
|
-
};
|
|
63
|
-
for (const n in e)
|
|
64
|
-
Object.defineProperty(r, n, {
|
|
65
|
-
get: () => {
|
|
66
|
-
const l = n;
|
|
67
|
-
return o._proxyFormState[l] !== D.all && (o._proxyFormState[l] = !s || D.all), t && (t[l] = !0), e[l];
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
return r;
|
|
71
|
-
};
|
|
72
|
-
const R = typeof window < "u" ? y.useLayoutEffect : y.useEffect;
|
|
73
|
-
function U(e) {
|
|
74
|
-
const o = v(), { control: t = o.control, disabled: s, name: r, exact: n } = e || {}, [l, u] = i.useState(t._formState), a = i.useRef({
|
|
75
|
-
isDirty: !1,
|
|
76
|
-
isLoading: !1,
|
|
77
|
-
dirtyFields: !1,
|
|
78
|
-
touchedFields: !1,
|
|
79
|
-
validatingFields: !1,
|
|
80
|
-
isValidating: !1,
|
|
81
|
-
isValid: !1,
|
|
82
|
-
errors: !1
|
|
83
|
-
});
|
|
84
|
-
return R(() => t._subscribe({
|
|
85
|
-
name: r,
|
|
86
|
-
formState: a.current,
|
|
87
|
-
exact: n,
|
|
88
|
-
callback: (f) => {
|
|
89
|
-
!s && u({
|
|
90
|
-
...t._formState,
|
|
91
|
-
...f
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
}), [r, s, n]), i.useEffect(() => {
|
|
95
|
-
a.current.isValid && t._setValid(!0);
|
|
96
|
-
}, [t]), i.useMemo(() => te(l, t, a.current, !1), [l, t]);
|
|
97
|
-
}
|
|
98
|
-
var re = (e) => typeof e == "string", oe = (e, o, t, s, r) => re(e) ? c(t, e, r) : Array.isArray(e) ? e.map((n) => c(t, n)) : t;
|
|
99
|
-
function se(e) {
|
|
100
|
-
const o = v(), { control: t = o.control, name: s, defaultValue: r, disabled: n, exact: l } = e || {}, u = i.useRef(r), [a, f] = i.useState(t._getWatch(s, u.current));
|
|
101
|
-
return R(() => t._subscribe({
|
|
102
|
-
name: s,
|
|
103
|
-
formState: {
|
|
104
|
-
values: !0
|
|
105
|
-
},
|
|
106
|
-
exact: l,
|
|
107
|
-
callback: (F) => !n && f(oe(s, t._names, F.values || t._formValues, !1, u.current))
|
|
108
|
-
}), [s, t, n, l]), i.useEffect(() => t._removeUnmounted()), a;
|
|
109
|
-
}
|
|
110
|
-
function ne(e) {
|
|
111
|
-
const o = v(), { name: t, disabled: s, control: r = o.control, shouldUnregister: n } = e, l = Q(r._names.array, t), u = se({
|
|
112
|
-
control: r,
|
|
113
|
-
name: t,
|
|
114
|
-
defaultValue: c(r._formValues, t, c(r._defaultValues, t, e.defaultValue)),
|
|
115
|
-
exact: !0
|
|
116
|
-
}), a = U({
|
|
117
|
-
control: r,
|
|
118
|
-
name: t,
|
|
119
|
-
exact: !0
|
|
120
|
-
}), f = i.useRef(e), F = i.useRef(r.register(t, {
|
|
121
|
-
...e.rules,
|
|
122
|
-
value: u,
|
|
123
|
-
...C(e.disabled) ? { disabled: e.disabled } : {}
|
|
124
|
-
})), S = i.useMemo(() => Object.defineProperties({}, {
|
|
125
|
-
invalid: {
|
|
126
|
-
enumerable: !0,
|
|
127
|
-
get: () => !!c(a.errors, t)
|
|
128
|
-
},
|
|
129
|
-
isDirty: {
|
|
130
|
-
enumerable: !0,
|
|
131
|
-
get: () => !!c(a.dirtyFields, t)
|
|
132
|
-
},
|
|
133
|
-
isTouched: {
|
|
134
|
-
enumerable: !0,
|
|
135
|
-
get: () => !!c(a.touchedFields, t)
|
|
136
|
-
},
|
|
137
|
-
isValidating: {
|
|
138
|
-
enumerable: !0,
|
|
139
|
-
get: () => !!c(a.validatingFields, t)
|
|
140
|
-
},
|
|
141
|
-
error: {
|
|
142
|
-
enumerable: !0,
|
|
143
|
-
get: () => c(a.errors, t)
|
|
144
|
-
}
|
|
145
|
-
}), [a, t]), A = i.useCallback((d) => F.current.onChange({
|
|
146
|
-
target: {
|
|
147
|
-
value: z(d),
|
|
148
|
-
name: t
|
|
149
|
-
},
|
|
150
|
-
type: k.CHANGE
|
|
151
|
-
}), [t]), E = i.useCallback(() => F.current.onBlur({
|
|
152
|
-
target: {
|
|
153
|
-
value: c(r._formValues, t),
|
|
154
|
-
name: t
|
|
155
|
-
},
|
|
156
|
-
type: k.BLUR
|
|
157
|
-
}), [t, r._formValues]), w = i.useCallback((d) => {
|
|
158
|
-
const _ = c(r._fields, t);
|
|
159
|
-
_ && d && (_._f.ref = {
|
|
160
|
-
focus: () => d.focus && d.focus(),
|
|
161
|
-
select: () => d.select && d.select(),
|
|
162
|
-
setCustomValidity: (g) => d.setCustomValidity(g),
|
|
163
|
-
reportValidity: () => d.reportValidity()
|
|
164
|
-
});
|
|
165
|
-
}, [r._fields, t]), N = i.useMemo(() => ({
|
|
166
|
-
name: t,
|
|
167
|
-
value: u,
|
|
168
|
-
...C(s) || a.disabled ? { disabled: a.disabled || s } : {},
|
|
169
|
-
onChange: A,
|
|
170
|
-
onBlur: E,
|
|
171
|
-
ref: w
|
|
172
|
-
}), [t, s, a.disabled, A, E, w, u]);
|
|
173
|
-
return i.useEffect(() => {
|
|
174
|
-
const d = r._options.shouldUnregister || n;
|
|
175
|
-
r.register(t, {
|
|
176
|
-
...f.current.rules,
|
|
177
|
-
...C(f.current.disabled) ? { disabled: f.current.disabled } : {}
|
|
178
|
-
});
|
|
179
|
-
const _ = (g, H) => {
|
|
180
|
-
const h = c(r._fields, g);
|
|
181
|
-
h && h._f && (h._f.mount = H);
|
|
182
|
-
};
|
|
183
|
-
if (_(t, !0), d) {
|
|
184
|
-
const g = L(c(r._options.defaultValues, t));
|
|
185
|
-
P(r._defaultValues, t, g), V(c(r._formValues, t)) && P(r._formValues, t, g);
|
|
186
|
-
}
|
|
187
|
-
return !l && r.register(t), () => {
|
|
188
|
-
(l ? d && !r._state.action : d) ? r.unregister(t) : _(t, !1);
|
|
189
|
-
};
|
|
190
|
-
}, [t, r, l, n]), i.useEffect(() => {
|
|
191
|
-
r._setDisabledField({
|
|
192
|
-
disabled: s,
|
|
193
|
-
name: t
|
|
194
|
-
});
|
|
195
|
-
}, [s, t, r]), i.useMemo(() => ({
|
|
196
|
-
field: N,
|
|
197
|
-
formState: a,
|
|
198
|
-
fieldState: S
|
|
199
|
-
}), [N, a, S]);
|
|
200
|
-
}
|
|
201
|
-
const ae = (e) => e.render(ne(e)), fe = ee, $ = y.createContext(
|
|
2
|
+
import { S as f } from "../../../index-5Bhkapwi.js";
|
|
3
|
+
import * as s from "react";
|
|
4
|
+
import { FormProvider as u, useFormContext as F, useFormState as x, Controller as I } from "react-hook-form";
|
|
5
|
+
import { useFormContext as j } from "react-hook-form";
|
|
6
|
+
import { Label as p } from "./label.js";
|
|
7
|
+
import { c as a } from "../../../utils-CRiPKpXj.js";
|
|
8
|
+
const S = u, c = s.createContext(
|
|
202
9
|
{}
|
|
203
|
-
),
|
|
10
|
+
), $ = ({
|
|
204
11
|
...e
|
|
205
|
-
}) => /* @__PURE__ */ m(
|
|
206
|
-
const e =
|
|
12
|
+
}) => /* @__PURE__ */ m(c.Provider, { value: { name: e.name }, children: /* @__PURE__ */ m(I, { ...e }) }), d = () => {
|
|
13
|
+
const e = s.useContext(c), t = s.useContext(l), { getFieldState: r } = F(), o = x({ name: e.name }), n = r(e.name, o);
|
|
207
14
|
if (!e)
|
|
208
15
|
throw new Error("useFormField should be used within <FormField>");
|
|
209
|
-
const { id:
|
|
16
|
+
const { id: i } = t;
|
|
210
17
|
return {
|
|
211
|
-
id:
|
|
18
|
+
id: i,
|
|
212
19
|
name: e.name,
|
|
213
|
-
formItemId: `${
|
|
214
|
-
formDescriptionId: `${
|
|
215
|
-
formMessageId: `${
|
|
216
|
-
...
|
|
20
|
+
formItemId: `${i}-form-item`,
|
|
21
|
+
formDescriptionId: `${i}-form-item-description`,
|
|
22
|
+
formMessageId: `${i}-form-item-message`,
|
|
23
|
+
...n
|
|
217
24
|
};
|
|
218
|
-
},
|
|
25
|
+
}, l = s.createContext(
|
|
219
26
|
{}
|
|
220
27
|
);
|
|
221
|
-
function
|
|
222
|
-
const
|
|
223
|
-
return /* @__PURE__ */ m(
|
|
28
|
+
function D({ className: e, ...t }) {
|
|
29
|
+
const r = s.useId();
|
|
30
|
+
return /* @__PURE__ */ m(l.Provider, { value: { id: r }, children: /* @__PURE__ */ m(
|
|
224
31
|
"div",
|
|
225
32
|
{
|
|
226
|
-
className:
|
|
33
|
+
className: a("grid gap-2", e),
|
|
227
34
|
"data-slot": "form-item",
|
|
228
|
-
...
|
|
35
|
+
...t
|
|
229
36
|
}
|
|
230
37
|
) });
|
|
231
38
|
}
|
|
232
|
-
function
|
|
39
|
+
function M({
|
|
233
40
|
className: e,
|
|
234
|
-
...
|
|
41
|
+
...t
|
|
235
42
|
}) {
|
|
236
|
-
const { error:
|
|
43
|
+
const { error: r, formItemId: o } = d();
|
|
237
44
|
return /* @__PURE__ */ m(
|
|
238
|
-
|
|
45
|
+
p,
|
|
239
46
|
{
|
|
240
|
-
className:
|
|
241
|
-
"data-error": !!
|
|
47
|
+
className: a("data-[error=true]:text-destructive", e),
|
|
48
|
+
"data-error": !!r,
|
|
242
49
|
"data-slot": "form-label",
|
|
243
|
-
htmlFor:
|
|
244
|
-
...
|
|
50
|
+
htmlFor: o,
|
|
51
|
+
...t
|
|
245
52
|
}
|
|
246
53
|
);
|
|
247
54
|
}
|
|
248
|
-
function
|
|
249
|
-
const { error:
|
|
55
|
+
function N({ ...e }) {
|
|
56
|
+
const { error: t, formItemId: r, formDescriptionId: o, formMessageId: n } = d();
|
|
250
57
|
return /* @__PURE__ */ m(
|
|
251
|
-
|
|
58
|
+
f,
|
|
252
59
|
{
|
|
253
|
-
"aria-describedby":
|
|
254
|
-
"aria-invalid": !!
|
|
60
|
+
"aria-describedby": t ? `${o} ${n}` : `${o}`,
|
|
61
|
+
"aria-invalid": !!t,
|
|
255
62
|
"data-slot": "form-control",
|
|
256
|
-
id:
|
|
63
|
+
id: r,
|
|
257
64
|
...e
|
|
258
65
|
}
|
|
259
66
|
);
|
|
260
67
|
}
|
|
261
|
-
function
|
|
262
|
-
const { formDescriptionId:
|
|
68
|
+
function w({ className: e, ...t }) {
|
|
69
|
+
const { formDescriptionId: r } = d();
|
|
263
70
|
return /* @__PURE__ */ m(
|
|
264
71
|
"p",
|
|
265
72
|
{
|
|
266
|
-
className:
|
|
73
|
+
className: a("text-muted-foreground text-sm", e),
|
|
267
74
|
"data-slot": "form-description",
|
|
268
|
-
id:
|
|
269
|
-
...
|
|
75
|
+
id: r,
|
|
76
|
+
...t
|
|
270
77
|
}
|
|
271
78
|
);
|
|
272
79
|
}
|
|
273
|
-
function
|
|
274
|
-
const { error:
|
|
275
|
-
return
|
|
80
|
+
function P({ className: e, ...t }) {
|
|
81
|
+
const { error: r, formMessageId: o } = d(), n = r ? String(r?.message ?? "") : t.children;
|
|
82
|
+
return n ? /* @__PURE__ */ m(
|
|
276
83
|
"p",
|
|
277
84
|
{
|
|
278
|
-
className:
|
|
85
|
+
className: a("text-destructive text-sm", e),
|
|
279
86
|
"data-slot": "form-message",
|
|
280
|
-
id:
|
|
281
|
-
...
|
|
282
|
-
children:
|
|
87
|
+
id: o,
|
|
88
|
+
...t,
|
|
89
|
+
children: n
|
|
283
90
|
}
|
|
284
91
|
) : null;
|
|
285
92
|
}
|
|
286
93
|
export {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
94
|
+
S as Form,
|
|
95
|
+
N as FormControl,
|
|
96
|
+
w as FormDescription,
|
|
97
|
+
$ as FormField,
|
|
98
|
+
D as FormItem,
|
|
99
|
+
M as FormLabel,
|
|
100
|
+
P as FormMessage,
|
|
101
|
+
j as useFormContext,
|
|
102
|
+
d as useFormField
|
|
296
103
|
};
|
|
@@ -4,7 +4,7 @@ import { c as l } from "../../../index-B695uy69.js";
|
|
|
4
4
|
import { c as k } from "../../../index-DFZozV_h.js";
|
|
5
5
|
import { u as F } from "../../../index-437EL2iq.js";
|
|
6
6
|
import { u as I } from "../../../index-5Bhkapwi.js";
|
|
7
|
-
import { c as H, R as U, A as $, C as W, a as z } from "../../../index-
|
|
7
|
+
import { c as H, R as U, A as $, C as W, a as z } from "../../../index-PlrlSrPo.js";
|
|
8
8
|
import { P as B, D as G } from "../../../index-DYHsXnnS.js";
|
|
9
9
|
import { P as T } from "../../../index-C8_QusYl.js";
|
|
10
10
|
import { P as K } from "../../../index-CpDnqHCm.js";
|
|
@@ -2,35 +2,36 @@ import { Accordion as o, AccordionContent as t, AccordionItem as a, AccordionTri
|
|
|
2
2
|
import { Alert as l, AlertDescription as d, AlertTitle as p } from "./alert.js";
|
|
3
3
|
import { Avatar as S, AvatarFallback as b, AvatarImage as u } from "./avatar.js";
|
|
4
4
|
import { Badge as g, badgeVariants as c } from "./badge.js";
|
|
5
|
-
import { Breadcrumb as
|
|
5
|
+
import { Breadcrumb as T, BreadcrumbEllipsis as f, BreadcrumbItem as s, BreadcrumbLink as D, BreadcrumbList as M, BreadcrumbPage as h, BreadcrumbSeparator as w } from "./breadcrumb.js";
|
|
6
6
|
import { Button as B, buttonVariants as A } from "./button.js";
|
|
7
7
|
import { Card as v, CardAction as P, CardContent as L, CardDescription as H, CardFooter as G, CardHeader as R, CardTitle as k } from "./card.js";
|
|
8
8
|
import { ChartContainer as V, ChartLegend as z, ChartLegendContent as E, ChartStyle as O, ChartTooltip as U, ChartTooltipContent as j } from "./chart.js";
|
|
9
9
|
import { Collapsible as J, CollapsibleContent as K, CollapsibleTrigger as N } from "./collapsible.js";
|
|
10
10
|
import { Command as W, CommandDialog as X, CommandEmpty as Y, CommandGroup as Z, CommandInput as _, CommandItem as $, CommandList as ee, CommandSeparator as re, CommandShortcut as oe } from "./command.js";
|
|
11
11
|
import { Dialog as ae, DialogClose as ne, DialogContent as ie, DialogDescription as le, DialogFooter as de, DialogHeader as pe, DialogOverlay as me, DialogPortal as Se, DialogTitle as be, DialogTrigger as ue } from "./dialog.js";
|
|
12
|
-
import { DropdownMenu as ge, DropdownMenuCheckboxItem as ce, DropdownMenuContent as
|
|
13
|
-
import { Form as Le, FormControl as He, FormDescription as Ge, FormField as Re, FormItem as ke, FormLabel as ye, FormMessage as Ve,
|
|
14
|
-
import { HoverCard as
|
|
15
|
-
import { Input as
|
|
16
|
-
import { Label as
|
|
17
|
-
import { Popover as
|
|
18
|
-
import { Progress as
|
|
19
|
-
import { ResizableHandle as
|
|
20
|
-
import { ScrollArea as
|
|
21
|
-
import { Select as
|
|
12
|
+
import { DropdownMenu as ge, DropdownMenuCheckboxItem as ce, DropdownMenuContent as xe, DropdownMenuGroup as Te, DropdownMenuItem as fe, DropdownMenuLabel as se, DropdownMenuPortal as De, DropdownMenuRadioGroup as Me, DropdownMenuRadioItem as he, DropdownMenuSeparator as we, DropdownMenuShortcut as Fe, DropdownMenuSub as Be, DropdownMenuSubContent as Ae, DropdownMenuSubTrigger as Ie, DropdownMenuTrigger as ve } from "./dropdown-menu.js";
|
|
13
|
+
import { Form as Le, FormControl as He, FormDescription as Ge, FormField as Re, FormItem as ke, FormLabel as ye, FormMessage as Ve, useFormField as ze } from "./form.js";
|
|
14
|
+
import { HoverCard as Oe, HoverCardContent as Ue, HoverCardTrigger as je } from "./hover-card.js";
|
|
15
|
+
import { Input as Je } from "./input.js";
|
|
16
|
+
import { Label as Ne } from "./label.js";
|
|
17
|
+
import { Popover as We, PopoverAnchor as Xe, PopoverContent as Ye, PopoverTrigger as Ze } from "./popover.js";
|
|
18
|
+
import { Progress as $e } from "./progress.js";
|
|
19
|
+
import { ResizableHandle as rr, ResizablePanel as or, ResizablePanelGroup as tr } from "./resizable.js";
|
|
20
|
+
import { ScrollArea as nr, ScrollBar as ir } from "./scroll-area.js";
|
|
21
|
+
import { Select as dr, SelectContent as pr, SelectGroup as mr, SelectItem as Sr, SelectLabel as br, SelectScrollDownButton as ur, SelectScrollUpButton as Cr, SelectSeparator as gr, SelectTrigger as cr, SelectValue as xr } from "./select.js";
|
|
22
22
|
import { Separator as fr } from "./separator.js";
|
|
23
|
-
import { Sheet as
|
|
24
|
-
import { Sidebar as
|
|
25
|
-
import { Skeleton as
|
|
26
|
-
import { Slider as
|
|
27
|
-
import { Toaster as
|
|
28
|
-
import { Switch as
|
|
29
|
-
import { Table as
|
|
30
|
-
import { Tabs as fo, TabsContent as
|
|
31
|
-
import { Textarea as
|
|
32
|
-
import { Toggle as
|
|
33
|
-
import { Tooltip as
|
|
23
|
+
import { Sheet as Dr, SheetClose as Mr, SheetContent as hr, SheetDescription as wr, SheetFooter as Fr, SheetHeader as Br, SheetTitle as Ar, SheetTrigger as Ir } from "./sheet.js";
|
|
24
|
+
import { Sidebar as Pr, SidebarContent as Lr, SidebarFooter as Hr, SidebarGroup as Gr, SidebarGroupAction as Rr, SidebarGroupContent as kr, SidebarGroupLabel as yr, SidebarHeader as Vr, SidebarInput as zr, SidebarInset as Er, SidebarMenu as Or, SidebarMenuAction as Ur, SidebarMenuBadge as jr, SidebarMenuButton as qr, SidebarMenuItem as Jr, SidebarMenuSkeleton as Kr, SidebarMenuSub as Nr, SidebarMenuSubButton as Qr, SidebarMenuSubItem as Wr, SidebarProvider as Xr, SidebarRail as Yr, SidebarSeparator as Zr, SidebarTrigger as _r, useSidebar as $r } from "./sidebar.js";
|
|
25
|
+
import { Skeleton as ro } from "./skeleton.js";
|
|
26
|
+
import { Slider as to } from "./slider.js";
|
|
27
|
+
import { Toaster as no } from "./sonner.js";
|
|
28
|
+
import { Switch as lo } from "./switch.js";
|
|
29
|
+
import { Table as mo, TableBody as So, TableCaption as bo, TableCell as uo, TableFooter as Co, TableHead as go, TableHeader as co, TableRow as xo } from "./table.js";
|
|
30
|
+
import { Tabs as fo, TabsContent as so, TabsList as Do, TabsTrigger as Mo } from "./tabs.js";
|
|
31
|
+
import { Textarea as wo } from "./textarea.js";
|
|
32
|
+
import { Toggle as Bo, toggleVariants as Ao } from "./toggle.js";
|
|
33
|
+
import { Tooltip as vo, TooltipContent as Po, TooltipProvider as Lo, TooltipTrigger as Ho } from "./tooltip.js";
|
|
34
|
+
import { useFormContext as Ro } from "react-hook-form";
|
|
34
35
|
export {
|
|
35
36
|
o as Accordion,
|
|
36
37
|
t as AccordionContent,
|
|
@@ -43,9 +44,9 @@ export {
|
|
|
43
44
|
b as AvatarFallback,
|
|
44
45
|
u as AvatarImage,
|
|
45
46
|
g as Badge,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
T as Breadcrumb,
|
|
48
|
+
f as BreadcrumbEllipsis,
|
|
49
|
+
s as BreadcrumbItem,
|
|
49
50
|
D as BreadcrumbLink,
|
|
50
51
|
M as BreadcrumbList,
|
|
51
52
|
h as BreadcrumbPage,
|
|
@@ -88,10 +89,10 @@ export {
|
|
|
88
89
|
ue as DialogTrigger,
|
|
89
90
|
ge as DropdownMenu,
|
|
90
91
|
ce as DropdownMenuCheckboxItem,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
xe as DropdownMenuContent,
|
|
93
|
+
Te as DropdownMenuGroup,
|
|
94
|
+
fe as DropdownMenuItem,
|
|
95
|
+
se as DropdownMenuLabel,
|
|
95
96
|
De as DropdownMenuPortal,
|
|
96
97
|
Me as DropdownMenuRadioGroup,
|
|
97
98
|
he as DropdownMenuRadioItem,
|
|
@@ -108,89 +109,89 @@ export {
|
|
|
108
109
|
ke as FormItem,
|
|
109
110
|
ye as FormLabel,
|
|
110
111
|
Ve as FormMessage,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
112
|
+
Oe as HoverCard,
|
|
113
|
+
Ue as HoverCardContent,
|
|
114
|
+
je as HoverCardTrigger,
|
|
115
|
+
Je as Input,
|
|
116
|
+
Ne as Label,
|
|
117
|
+
We as Popover,
|
|
118
|
+
Xe as PopoverAnchor,
|
|
119
|
+
Ye as PopoverContent,
|
|
120
|
+
Ze as PopoverTrigger,
|
|
121
|
+
$e as Progress,
|
|
122
|
+
rr as ResizableHandle,
|
|
123
|
+
or as ResizablePanel,
|
|
124
|
+
tr as ResizablePanelGroup,
|
|
125
|
+
nr as ScrollArea,
|
|
126
|
+
ir as ScrollBar,
|
|
127
|
+
dr as Select,
|
|
128
|
+
pr as SelectContent,
|
|
129
|
+
mr as SelectGroup,
|
|
130
|
+
Sr as SelectItem,
|
|
131
|
+
br as SelectLabel,
|
|
132
|
+
ur as SelectScrollDownButton,
|
|
133
|
+
Cr as SelectScrollUpButton,
|
|
134
|
+
gr as SelectSeparator,
|
|
135
|
+
cr as SelectTrigger,
|
|
135
136
|
xr as SelectValue,
|
|
136
137
|
fr as Separator,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
138
|
+
Dr as Sheet,
|
|
139
|
+
Mr as SheetClose,
|
|
140
|
+
hr as SheetContent,
|
|
141
|
+
wr as SheetDescription,
|
|
142
|
+
Fr as SheetFooter,
|
|
143
|
+
Br as SheetHeader,
|
|
144
|
+
Ar as SheetTitle,
|
|
145
|
+
Ir as SheetTrigger,
|
|
146
|
+
Pr as Sidebar,
|
|
147
|
+
Lr as SidebarContent,
|
|
148
|
+
Hr as SidebarFooter,
|
|
149
|
+
Gr as SidebarGroup,
|
|
150
|
+
Rr as SidebarGroupAction,
|
|
151
|
+
kr as SidebarGroupContent,
|
|
152
|
+
yr as SidebarGroupLabel,
|
|
153
|
+
Vr as SidebarHeader,
|
|
154
|
+
zr as SidebarInput,
|
|
155
|
+
Er as SidebarInset,
|
|
156
|
+
Or as SidebarMenu,
|
|
157
|
+
Ur as SidebarMenuAction,
|
|
158
|
+
jr as SidebarMenuBadge,
|
|
159
|
+
qr as SidebarMenuButton,
|
|
160
|
+
Jr as SidebarMenuItem,
|
|
161
|
+
Kr as SidebarMenuSkeleton,
|
|
162
|
+
Nr as SidebarMenuSub,
|
|
163
|
+
Qr as SidebarMenuSubButton,
|
|
164
|
+
Wr as SidebarMenuSubItem,
|
|
165
|
+
Xr as SidebarProvider,
|
|
166
|
+
Yr as SidebarRail,
|
|
167
|
+
Zr as SidebarSeparator,
|
|
168
|
+
_r as SidebarTrigger,
|
|
169
|
+
ro as Skeleton,
|
|
170
|
+
to as Slider,
|
|
171
|
+
lo as Switch,
|
|
172
|
+
mo as Table,
|
|
173
|
+
So as TableBody,
|
|
174
|
+
bo as TableCaption,
|
|
175
|
+
uo as TableCell,
|
|
176
|
+
Co as TableFooter,
|
|
177
|
+
go as TableHead,
|
|
178
|
+
co as TableHeader,
|
|
178
179
|
xo as TableRow,
|
|
179
180
|
fo as Tabs,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
181
|
+
so as TabsContent,
|
|
182
|
+
Do as TabsList,
|
|
183
|
+
Mo as TabsTrigger,
|
|
184
|
+
wo as Textarea,
|
|
185
|
+
no as Toaster,
|
|
186
|
+
Bo as Toggle,
|
|
187
|
+
vo as Tooltip,
|
|
188
|
+
Po as TooltipContent,
|
|
189
|
+
Lo as TooltipProvider,
|
|
190
|
+
Ho as TooltipTrigger,
|
|
190
191
|
c as badgeVariants,
|
|
191
192
|
A as buttonVariants,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
193
|
+
Ao as toggleVariants,
|
|
194
|
+
Ro as useFormContext,
|
|
195
|
+
ze as useFormField,
|
|
196
|
+
$r as useSidebar
|
|
196
197
|
};
|
|
@@ -6,7 +6,7 @@ import { c as z } from "../../../index-DFZozV_h.js";
|
|
|
6
6
|
import { P as G, D as H } from "../../../index-DYHsXnnS.js";
|
|
7
7
|
import { h as K, R as j, u as U, F as V } from "../../../index-BvWMjxZ5.js";
|
|
8
8
|
import { u as W } from "../../../index-Cv867SGx.js";
|
|
9
|
-
import { c as _, R as Z, A as x, C as q, a as B } from "../../../index-
|
|
9
|
+
import { c as _, R as Z, A as x, C as q, a as B } from "../../../index-PlrlSrPo.js";
|
|
10
10
|
import { P as w } from "../../../index-C8_QusYl.js";
|
|
11
11
|
import { P as b } from "../../../index-CpDnqHCm.js";
|
|
12
12
|
import { u as J } from "../../../index-437EL2iq.js";
|