@code-sherpas/pharos-react 0.19.0 → 0.20.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/components/Avatar.js +138 -0
- package/dist/components/Avatar.js.map +1 -0
- package/dist/components/Avatar.module.js +15 -0
- package/dist/components/Avatar.module.js.map +1 -0
- package/dist/components/Badge.js +30 -0
- package/dist/components/Badge.js.map +1 -0
- package/dist/components/Badge.module.js +14 -0
- package/dist/components/Badge.module.js.map +1 -0
- package/dist/components/Button.d.ts.map +1 -1
- package/dist/components/Button.js +49 -0
- package/dist/components/Button.js.map +1 -0
- package/dist/components/Button.module.js +14 -0
- package/dist/components/Button.module.js.map +1 -0
- package/dist/components/Card.js +66 -0
- package/dist/components/Card.js.map +1 -0
- package/dist/components/Card.module.js +15 -0
- package/dist/components/Card.module.js.map +1 -0
- package/dist/components/Checkbox.d.ts.map +1 -1
- package/dist/components/Checkbox.js +47 -0
- package/dist/components/Checkbox.js.map +1 -0
- package/dist/components/Checkbox.module.js +11 -0
- package/dist/components/Checkbox.module.js.map +1 -0
- package/dist/components/Combobox.d.ts.map +1 -1
- package/dist/components/Combobox.js +212 -0
- package/dist/components/Combobox.js.map +1 -0
- package/dist/components/Combobox.module.js +25 -0
- package/dist/components/Combobox.module.js.map +1 -0
- package/dist/components/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog.js +66 -0
- package/dist/components/Dialog.js.map +1 -0
- package/dist/components/Dialog.module.js +12 -0
- package/dist/components/Dialog.module.js.map +1 -0
- package/dist/components/DropdownMenu.d.ts.map +1 -1
- package/dist/components/DropdownMenu.js +64 -0
- package/dist/components/DropdownMenu.js.map +1 -0
- package/dist/components/DropdownMenu.module.js +12 -0
- package/dist/components/DropdownMenu.module.js.map +1 -0
- package/dist/components/IconButton.d.ts.map +1 -1
- package/dist/components/IconButton.js +53 -0
- package/dist/components/IconButton.js.map +1 -0
- package/dist/components/IconButton.module.js +14 -0
- package/dist/components/IconButton.module.js.map +1 -0
- package/dist/components/Input.js +28 -0
- package/dist/components/Input.js.map +1 -0
- package/dist/components/Input.module.js +10 -0
- package/dist/components/Input.module.js.map +1 -0
- package/dist/components/Popover.d.ts.map +1 -1
- package/dist/components/Popover.js +57 -0
- package/dist/components/Popover.js.map +1 -0
- package/dist/components/Popover.module.js +10 -0
- package/dist/components/Popover.module.js.map +1 -0
- package/dist/components/RadioGroup.d.ts.map +1 -1
- package/dist/components/RadioGroup.js +28 -0
- package/dist/components/RadioGroup.js.map +1 -0
- package/dist/components/RadioGroup.module.js +9 -0
- package/dist/components/RadioGroup.module.js.map +1 -0
- package/dist/components/Select.d.ts.map +1 -1
- package/dist/components/Select.js +130 -0
- package/dist/components/Select.js.map +1 -0
- package/dist/components/Select.module.js +19 -0
- package/dist/components/Select.module.js.map +1 -0
- package/dist/components/Separator.js +18 -0
- package/dist/components/Separator.js.map +1 -0
- package/dist/components/Separator.module.js +9 -0
- package/dist/components/Separator.module.js.map +1 -0
- package/dist/components/Sheet.d.ts.map +1 -1
- package/dist/components/Sheet.js +77 -0
- package/dist/components/Sheet.js.map +1 -0
- package/dist/components/Sheet.module.js +16 -0
- package/dist/components/Sheet.module.js.map +1 -0
- package/dist/components/Spinner.js +51 -0
- package/dist/components/Spinner.js.map +1 -0
- package/dist/components/Spinner.module.js +13 -0
- package/dist/components/Spinner.module.js.map +1 -0
- package/dist/components/Switch.d.ts.map +1 -1
- package/dist/components/Switch.js +19 -0
- package/dist/components/Switch.js.map +1 -0
- package/dist/components/Switch.module.js +8 -0
- package/dist/components/Switch.module.js.map +1 -0
- package/dist/components/Textarea.js +27 -0
- package/dist/components/Textarea.js.map +1 -0
- package/dist/components/Textarea.module.js +10 -0
- package/dist/components/Textarea.module.js.map +1 -0
- package/dist/index.js +20 -1218
- package/dist/lib/cn.js +9 -0
- package/dist/lib/cn.js.map +1 -0
- package/dist/styles.css +1 -1
- package/package.json +76 -3
- package/dist/index.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,1218 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
22
|
-
return r;
|
|
23
|
-
}
|
|
24
|
-
function y() {
|
|
25
|
-
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = v(e)) && (r && (r += " "), r += t);
|
|
26
|
-
return r;
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
|
-
//#region node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs
|
|
30
|
-
var b = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, x = y, S = (e, t) => (n) => {
|
|
31
|
-
if (t?.variants == null) return x(e, n?.class, n?.className);
|
|
32
|
-
let { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((e) => {
|
|
33
|
-
let t = n?.[e], a = i?.[e];
|
|
34
|
-
if (t === null) return null;
|
|
35
|
-
let o = b(t) || b(a);
|
|
36
|
-
return r[e][o];
|
|
37
|
-
}), o = n && Object.entries(n).reduce((e, t) => {
|
|
38
|
-
let [n, r] = t;
|
|
39
|
-
return r === void 0 || (e[n] = r), e;
|
|
40
|
-
}, {});
|
|
41
|
-
return x(e, a, t?.compoundVariants?.reduce((e, t) => {
|
|
42
|
-
let { class: n, className: r, ...a } = t;
|
|
43
|
-
return Object.entries(a).every((e) => {
|
|
44
|
-
let [t, n] = e;
|
|
45
|
-
return Array.isArray(n) ? n.includes({
|
|
46
|
-
...i,
|
|
47
|
-
...o
|
|
48
|
-
}[t]) : {
|
|
49
|
-
...i,
|
|
50
|
-
...o
|
|
51
|
-
}[t] === n;
|
|
52
|
-
}) ? [
|
|
53
|
-
...e,
|
|
54
|
-
n,
|
|
55
|
-
r
|
|
56
|
-
] : e;
|
|
57
|
-
}, []), n?.class, n?.className);
|
|
58
|
-
};
|
|
59
|
-
//#endregion
|
|
60
|
-
//#region src/lib/cn.ts
|
|
61
|
-
function C(...e) {
|
|
62
|
-
return y(e);
|
|
63
|
-
}
|
|
64
|
-
var w = {
|
|
65
|
-
button: "_button_iu0wg_18",
|
|
66
|
-
primary: "_primary_iu0wg_127",
|
|
67
|
-
secondary: "_secondary_iu0wg_141",
|
|
68
|
-
ghost: "_ghost_iu0wg_161",
|
|
69
|
-
destructive: "_destructive_iu0wg_175",
|
|
70
|
-
sizeSm: "_sizeSm_iu0wg_197",
|
|
71
|
-
sizeMd: "_sizeMd_iu0wg_205",
|
|
72
|
-
sizeLg: "_sizeLg_iu0wg_213"
|
|
73
|
-
}, ee = S(w.button, {
|
|
74
|
-
variants: {
|
|
75
|
-
intent: {
|
|
76
|
-
primary: w.primary,
|
|
77
|
-
secondary: w.secondary,
|
|
78
|
-
ghost: w.ghost,
|
|
79
|
-
destructive: w.destructive
|
|
80
|
-
},
|
|
81
|
-
size: {
|
|
82
|
-
sm: w.sizeSm,
|
|
83
|
-
md: w.sizeMd,
|
|
84
|
-
lg: w.sizeLg
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
defaultVariants: {
|
|
88
|
-
intent: "primary",
|
|
89
|
-
size: "md"
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
function te({ render: n, className: r, intent: i, size: a, type: o = "button", ref: s, ...c }) {
|
|
93
|
-
let l = i ?? "primary", u = a ?? "md";
|
|
94
|
-
return e({
|
|
95
|
-
render: n ?? /* @__PURE__ */ t("button", {}),
|
|
96
|
-
ref: s,
|
|
97
|
-
defaultTagName: "button",
|
|
98
|
-
props: {
|
|
99
|
-
type: o,
|
|
100
|
-
"data-pharos-intent": l,
|
|
101
|
-
"data-pharos-size": u,
|
|
102
|
-
className: C(ee({
|
|
103
|
-
intent: l,
|
|
104
|
-
size: u
|
|
105
|
-
}), r),
|
|
106
|
-
...c
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
te.displayName = "Button";
|
|
111
|
-
var T = {
|
|
112
|
-
spinner: "_spinner_gg970_28",
|
|
113
|
-
icon: "_icon_gg970_46",
|
|
114
|
-
"pharos-spinner-spin": "_pharos-spinner-spin_gg970_1",
|
|
115
|
-
sizeSm: "_sizeSm_gg970_69",
|
|
116
|
-
sizeMd: "_sizeMd_gg970_74",
|
|
117
|
-
sizeLg: "_sizeLg_gg970_79",
|
|
118
|
-
srOnly: "_srOnly_gg970_87"
|
|
119
|
-
}, E = S(T.spinner, {
|
|
120
|
-
variants: { size: {
|
|
121
|
-
sm: T.sizeSm,
|
|
122
|
-
md: T.sizeMd,
|
|
123
|
-
lg: T.sizeLg
|
|
124
|
-
} },
|
|
125
|
-
defaultVariants: { size: "md" }
|
|
126
|
-
});
|
|
127
|
-
function D({ size: e, className: r, srLabel: i = "Loading…", children: a, ref: o, ...s }) {
|
|
128
|
-
let c = e ?? "md";
|
|
129
|
-
return /* @__PURE__ */ n("span", {
|
|
130
|
-
ref: o,
|
|
131
|
-
role: "status",
|
|
132
|
-
"data-pharos-size": c,
|
|
133
|
-
className: C(E({ size: c }), r),
|
|
134
|
-
...s,
|
|
135
|
-
children: [
|
|
136
|
-
/* @__PURE__ */ t("svg", {
|
|
137
|
-
className: T.icon,
|
|
138
|
-
viewBox: "0 0 24 24",
|
|
139
|
-
fill: "none",
|
|
140
|
-
stroke: "currentColor",
|
|
141
|
-
strokeWidth: 2.5,
|
|
142
|
-
strokeLinecap: "round",
|
|
143
|
-
"aria-hidden": "true",
|
|
144
|
-
focusable: "false",
|
|
145
|
-
children: /* @__PURE__ */ t("circle", {
|
|
146
|
-
cx: "12",
|
|
147
|
-
cy: "12",
|
|
148
|
-
r: "10",
|
|
149
|
-
strokeDasharray: "50 25"
|
|
150
|
-
})
|
|
151
|
-
}),
|
|
152
|
-
/* @__PURE__ */ t("span", {
|
|
153
|
-
className: T.srOnly,
|
|
154
|
-
children: i
|
|
155
|
-
}),
|
|
156
|
-
a
|
|
157
|
-
]
|
|
158
|
-
});
|
|
159
|
-
}
|
|
160
|
-
D.displayName = "Spinner";
|
|
161
|
-
var O = {
|
|
162
|
-
button: "_button_ltuh2_14",
|
|
163
|
-
primary: "_primary_ltuh2_74",
|
|
164
|
-
secondary: "_secondary_ltuh2_88",
|
|
165
|
-
ghost: "_ghost_ltuh2_107",
|
|
166
|
-
destructive: "_destructive_ltuh2_121",
|
|
167
|
-
sizeSm: "_sizeSm_ltuh2_150",
|
|
168
|
-
sizeMd: "_sizeMd_ltuh2_160",
|
|
169
|
-
sizeLg: "_sizeLg_ltuh2_170"
|
|
170
|
-
}, ne = S(O.button, {
|
|
171
|
-
variants: {
|
|
172
|
-
intent: {
|
|
173
|
-
primary: O.primary,
|
|
174
|
-
secondary: O.secondary,
|
|
175
|
-
ghost: O.ghost,
|
|
176
|
-
destructive: O.destructive
|
|
177
|
-
},
|
|
178
|
-
size: {
|
|
179
|
-
sm: O.sizeSm,
|
|
180
|
-
md: O.sizeMd,
|
|
181
|
-
lg: O.sizeLg
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
defaultVariants: {
|
|
185
|
-
intent: "ghost",
|
|
186
|
-
size: "md"
|
|
187
|
-
}
|
|
188
|
-
});
|
|
189
|
-
function k({ render: n, className: r, intent: i, size: a, isLoading: o, disabled: s, type: c = "button", children: l, ref: u, ...d }) {
|
|
190
|
-
let f = i ?? "ghost", p = a ?? "md";
|
|
191
|
-
return e({
|
|
192
|
-
render: n ?? /* @__PURE__ */ t("button", {}),
|
|
193
|
-
ref: u,
|
|
194
|
-
defaultTagName: "button",
|
|
195
|
-
props: {
|
|
196
|
-
type: c,
|
|
197
|
-
"data-pharos-intent": f,
|
|
198
|
-
"data-pharos-size": p,
|
|
199
|
-
"aria-busy": o ? !0 : void 0,
|
|
200
|
-
disabled: !!s || !!o,
|
|
201
|
-
className: C(ne({
|
|
202
|
-
intent: f,
|
|
203
|
-
size: p
|
|
204
|
-
}), r),
|
|
205
|
-
...d,
|
|
206
|
-
children: o ? /* @__PURE__ */ t(D, { size: p }) : l
|
|
207
|
-
}
|
|
208
|
-
});
|
|
209
|
-
}
|
|
210
|
-
k.displayName = "IconButton";
|
|
211
|
-
var A = {
|
|
212
|
-
badge: "_badge_zrawy_5",
|
|
213
|
-
default: "_default_zrawy_30",
|
|
214
|
-
secondary: "_secondary_zrawy_35",
|
|
215
|
-
destructive: "_destructive_zrawy_40",
|
|
216
|
-
outline: "_outline_zrawy_45",
|
|
217
|
-
success: "_success_zrawy_55",
|
|
218
|
-
warning: "_warning_zrawy_60",
|
|
219
|
-
info: "_info_zrawy_65"
|
|
220
|
-
}, re = S(A.badge, {
|
|
221
|
-
variants: { variant: {
|
|
222
|
-
default: A.default,
|
|
223
|
-
secondary: A.secondary,
|
|
224
|
-
destructive: A.destructive,
|
|
225
|
-
outline: A.outline,
|
|
226
|
-
success: A.success,
|
|
227
|
-
warning: A.warning,
|
|
228
|
-
info: A.info
|
|
229
|
-
} },
|
|
230
|
-
defaultVariants: { variant: "default" }
|
|
231
|
-
});
|
|
232
|
-
function ie({ variant: e, className: n, ...r }) {
|
|
233
|
-
let i = e ?? "default";
|
|
234
|
-
return /* @__PURE__ */ t("span", {
|
|
235
|
-
"data-pharos-variant": i,
|
|
236
|
-
className: C(re({ variant: i }), n),
|
|
237
|
-
...r
|
|
238
|
-
});
|
|
239
|
-
}
|
|
240
|
-
ie.displayName = "Badge";
|
|
241
|
-
var j = {
|
|
242
|
-
input: "_input_11emo_14",
|
|
243
|
-
sizeSm: "_sizeSm_11emo_97",
|
|
244
|
-
sizeMd: "_sizeMd_11emo_103",
|
|
245
|
-
sizeLg: "_sizeLg_11emo_109"
|
|
246
|
-
}, ae = S(j.input, {
|
|
247
|
-
variants: { size: {
|
|
248
|
-
sm: j.sizeSm,
|
|
249
|
-
md: j.sizeMd,
|
|
250
|
-
lg: j.sizeLg
|
|
251
|
-
} },
|
|
252
|
-
defaultVariants: { size: "md" }
|
|
253
|
-
});
|
|
254
|
-
function oe({ size: e, className: n, type: r = "text", ref: i, ...a }) {
|
|
255
|
-
let o = e ?? "md";
|
|
256
|
-
return /* @__PURE__ */ t("input", {
|
|
257
|
-
ref: i,
|
|
258
|
-
type: r,
|
|
259
|
-
"data-pharos-size": o,
|
|
260
|
-
className: C(ae({ size: o }), n),
|
|
261
|
-
...a
|
|
262
|
-
});
|
|
263
|
-
}
|
|
264
|
-
oe.displayName = "Input";
|
|
265
|
-
var M = {
|
|
266
|
-
textarea: "_textarea_1mec8_21",
|
|
267
|
-
sizeSm: "_sizeSm_1mec8_113",
|
|
268
|
-
sizeMd: "_sizeMd_1mec8_119",
|
|
269
|
-
sizeLg: "_sizeLg_1mec8_125"
|
|
270
|
-
}, se = S(M.textarea, {
|
|
271
|
-
variants: { size: {
|
|
272
|
-
sm: M.sizeSm,
|
|
273
|
-
md: M.sizeMd,
|
|
274
|
-
lg: M.sizeLg
|
|
275
|
-
} },
|
|
276
|
-
defaultVariants: { size: "md" }
|
|
277
|
-
});
|
|
278
|
-
function ce({ size: e, className: n, ref: r, ...i }) {
|
|
279
|
-
let a = e ?? "md";
|
|
280
|
-
return /* @__PURE__ */ t("textarea", {
|
|
281
|
-
ref: r,
|
|
282
|
-
"data-pharos-size": a,
|
|
283
|
-
className: C(se({ size: a }), n),
|
|
284
|
-
...i
|
|
285
|
-
});
|
|
286
|
-
}
|
|
287
|
-
ce.displayName = "Textarea";
|
|
288
|
-
var le = {
|
|
289
|
-
separator: "_separator_da90p_13",
|
|
290
|
-
horizontal: "_horizontal_da90p_29",
|
|
291
|
-
vertical: "_vertical_da90p_34"
|
|
292
|
-
};
|
|
293
|
-
//#endregion
|
|
294
|
-
//#region src/components/Separator.tsx
|
|
295
|
-
function ue({ orientation: e = "horizontal", decorative: n = !0, className: r, ...i }) {
|
|
296
|
-
return /* @__PURE__ */ t("div", {
|
|
297
|
-
role: n ? "none" : "separator",
|
|
298
|
-
"aria-orientation": !n && e === "vertical" ? "vertical" : void 0,
|
|
299
|
-
"data-pharos-orientation": e,
|
|
300
|
-
className: C(le.separator, le[e], r),
|
|
301
|
-
...i
|
|
302
|
-
});
|
|
303
|
-
}
|
|
304
|
-
ue.displayName = "Separator";
|
|
305
|
-
var N = {
|
|
306
|
-
card: "_card_yxgwa_10",
|
|
307
|
-
default: "_default_yxgwa_42",
|
|
308
|
-
elevated: "_elevated_yxgwa_46",
|
|
309
|
-
outlined: "_outlined_yxgwa_51",
|
|
310
|
-
header: "_header_yxgwa_62",
|
|
311
|
-
title: "_title_yxgwa_69",
|
|
312
|
-
description: "_description_yxgwa_77",
|
|
313
|
-
content: "_content_yxgwa_85",
|
|
314
|
-
footer: "_footer_yxgwa_95"
|
|
315
|
-
}, de = S(N.card, {
|
|
316
|
-
variants: { variant: {
|
|
317
|
-
default: N.default,
|
|
318
|
-
elevated: N.elevated,
|
|
319
|
-
outlined: N.outlined
|
|
320
|
-
} },
|
|
321
|
-
defaultVariants: { variant: "default" }
|
|
322
|
-
});
|
|
323
|
-
function fe({ variant: e, className: n, ...r }) {
|
|
324
|
-
let i = e ?? "default";
|
|
325
|
-
return /* @__PURE__ */ t("div", {
|
|
326
|
-
"data-pharos-variant": i,
|
|
327
|
-
className: C(de({ variant: i }), n),
|
|
328
|
-
...r
|
|
329
|
-
});
|
|
330
|
-
}
|
|
331
|
-
fe.displayName = "Card";
|
|
332
|
-
function P({ className: e, ...n }) {
|
|
333
|
-
return /* @__PURE__ */ t("div", {
|
|
334
|
-
"data-pharos-slot": "card-header",
|
|
335
|
-
className: C(N.header, e),
|
|
336
|
-
...n
|
|
337
|
-
});
|
|
338
|
-
}
|
|
339
|
-
P.displayName = "CardHeader";
|
|
340
|
-
function F({ className: e, ...n }) {
|
|
341
|
-
return /* @__PURE__ */ t("div", {
|
|
342
|
-
"data-pharos-slot": "card-title",
|
|
343
|
-
className: C(N.title, e),
|
|
344
|
-
...n
|
|
345
|
-
});
|
|
346
|
-
}
|
|
347
|
-
F.displayName = "CardTitle";
|
|
348
|
-
function I({ className: e, ...n }) {
|
|
349
|
-
return /* @__PURE__ */ t("p", {
|
|
350
|
-
"data-pharos-slot": "card-description",
|
|
351
|
-
className: C(N.description, e),
|
|
352
|
-
...n
|
|
353
|
-
});
|
|
354
|
-
}
|
|
355
|
-
I.displayName = "CardDescription";
|
|
356
|
-
function L({ className: e, ...n }) {
|
|
357
|
-
return /* @__PURE__ */ t("div", {
|
|
358
|
-
"data-pharos-slot": "card-content",
|
|
359
|
-
className: C(N.content, e),
|
|
360
|
-
...n
|
|
361
|
-
});
|
|
362
|
-
}
|
|
363
|
-
L.displayName = "CardContent";
|
|
364
|
-
function R({ className: e, ...n }) {
|
|
365
|
-
return /* @__PURE__ */ t("div", {
|
|
366
|
-
"data-pharos-slot": "card-footer",
|
|
367
|
-
className: C(N.footer, e),
|
|
368
|
-
...n
|
|
369
|
-
});
|
|
370
|
-
}
|
|
371
|
-
R.displayName = "CardFooter";
|
|
372
|
-
var z = {
|
|
373
|
-
root: "_root_1xx27_21",
|
|
374
|
-
shapeCircle: "_shapeCircle_1xx27_63",
|
|
375
|
-
shapeSquare: "_shapeSquare_1xx27_67",
|
|
376
|
-
sizeSm: "_sizeSm_1xx27_86",
|
|
377
|
-
sizeMd: "_sizeMd_1xx27_93",
|
|
378
|
-
sizeLg: "_sizeLg_1xx27_100",
|
|
379
|
-
image: "_image_1xx27_118",
|
|
380
|
-
fallback: "_fallback_1xx27_134",
|
|
381
|
-
group: "_group_1xx27_175"
|
|
382
|
-
}, pe = r(null), B = r(null), V = r(null), me = {
|
|
383
|
-
sm: z.sizeSm,
|
|
384
|
-
md: z.sizeMd,
|
|
385
|
-
lg: z.sizeLg
|
|
386
|
-
}, he = {
|
|
387
|
-
circle: z.shapeCircle,
|
|
388
|
-
square: z.shapeSquare
|
|
389
|
-
};
|
|
390
|
-
function ge(e) {
|
|
391
|
-
if (typeof e == "number") return {
|
|
392
|
-
width: e,
|
|
393
|
-
height: e,
|
|
394
|
-
fontSize: `${Math.round(e * .4)}px`
|
|
395
|
-
};
|
|
396
|
-
}
|
|
397
|
-
function _e(e) {
|
|
398
|
-
if (typeof e != "number") return me[e];
|
|
399
|
-
}
|
|
400
|
-
function H({ size: n, shape: r, className: i, style: o, render: l, ref: u, children: d, ...f }) {
|
|
401
|
-
let p = a(V), m = n ?? p?.size ?? "md", h = r ?? p?.shape ?? "circle", [g, _] = c("idle"), v = s(() => ({
|
|
402
|
-
size: m,
|
|
403
|
-
shape: h
|
|
404
|
-
}), [m, h]), y = s(() => ({
|
|
405
|
-
status: g,
|
|
406
|
-
setStatus: _
|
|
407
|
-
}), [g]), b = _e(m), x = ge(m), S = typeof m == "number" ? String(m) : m;
|
|
408
|
-
return /* @__PURE__ */ t(pe.Provider, {
|
|
409
|
-
value: v,
|
|
410
|
-
children: /* @__PURE__ */ t(B.Provider, {
|
|
411
|
-
value: y,
|
|
412
|
-
children: e({
|
|
413
|
-
render: l ?? /* @__PURE__ */ t("span", {}),
|
|
414
|
-
ref: u,
|
|
415
|
-
defaultTagName: "span",
|
|
416
|
-
props: {
|
|
417
|
-
"data-pharos-size": S,
|
|
418
|
-
"data-pharos-shape": h,
|
|
419
|
-
"data-pharos-loading": g,
|
|
420
|
-
className: C(z.root, b, he[h], i),
|
|
421
|
-
style: x ? {
|
|
422
|
-
...x,
|
|
423
|
-
...o
|
|
424
|
-
} : o,
|
|
425
|
-
...f,
|
|
426
|
-
children: d
|
|
427
|
-
}
|
|
428
|
-
})
|
|
429
|
-
})
|
|
430
|
-
});
|
|
431
|
-
}
|
|
432
|
-
H.displayName = "Avatar";
|
|
433
|
-
function ve({ className: e, src: n, onLoad: r, onError: s, onLoadingStatusChange: c, ref: l, ...u }) {
|
|
434
|
-
let d = a(B), f = typeof n == "string" && n.length > 0;
|
|
435
|
-
o(() => {
|
|
436
|
-
d && (d.setStatus(f ? "loading" : "idle"), c?.(f ? "loading" : "idle"));
|
|
437
|
-
}, [n]);
|
|
438
|
-
let p = i((e) => {
|
|
439
|
-
d?.setStatus("loaded"), c?.("loaded"), r?.(e);
|
|
440
|
-
}, [
|
|
441
|
-
d,
|
|
442
|
-
r,
|
|
443
|
-
c
|
|
444
|
-
]), m = i((e) => {
|
|
445
|
-
d?.setStatus("error"), c?.("error"), s?.(e);
|
|
446
|
-
}, [
|
|
447
|
-
d,
|
|
448
|
-
s,
|
|
449
|
-
c
|
|
450
|
-
]);
|
|
451
|
-
return !f || d && d.status === "error" ? null : /* @__PURE__ */ t("img", {
|
|
452
|
-
ref: l,
|
|
453
|
-
src: n,
|
|
454
|
-
onLoad: p,
|
|
455
|
-
onError: m,
|
|
456
|
-
"data-pharos-loading": d?.status,
|
|
457
|
-
className: C(z.image, e),
|
|
458
|
-
...u
|
|
459
|
-
});
|
|
460
|
-
}
|
|
461
|
-
ve.displayName = "AvatarImage";
|
|
462
|
-
function U({ className: e, delayMs: n = 0, children: r, ref: i, ...s }) {
|
|
463
|
-
let l = a(B), [u, d] = c(n === 0);
|
|
464
|
-
return o(() => {
|
|
465
|
-
if (n === 0) {
|
|
466
|
-
d(!0);
|
|
467
|
-
return;
|
|
468
|
-
}
|
|
469
|
-
let e = window.setTimeout(() => d(!0), n);
|
|
470
|
-
return () => window.clearTimeout(e);
|
|
471
|
-
}, [n]), l && l.status === "loaded" || !u ? null : /* @__PURE__ */ t("span", {
|
|
472
|
-
ref: i,
|
|
473
|
-
"data-pharos-slot": "avatar-fallback",
|
|
474
|
-
"data-pharos-loading": l?.status,
|
|
475
|
-
className: C(z.fallback, e),
|
|
476
|
-
...s,
|
|
477
|
-
children: r
|
|
478
|
-
});
|
|
479
|
-
}
|
|
480
|
-
U.displayName = "AvatarFallback";
|
|
481
|
-
function ye({ size: e, shape: r, max: i, renderOverflow: a, className: o, children: c, ref: l, ...u }) {
|
|
482
|
-
let d = e ?? "md", f = r ?? "circle", p = s(() => {
|
|
483
|
-
let e = [], t = 0, n = [], r = (e) => {
|
|
484
|
-
n.push(e), t += 1;
|
|
485
|
-
};
|
|
486
|
-
return Array.isArray(c) ? c.forEach((e) => r(e)) : c && r(c), n.concat(e).slice(0, t);
|
|
487
|
-
}, [c]), m = typeof i == "number" && p.length > i ? p.slice(0, Math.max(i - 1, 0)) : p, h = typeof i == "number" && p.length > i ? p.length - m.length : 0, g = s(() => ({
|
|
488
|
-
size: d,
|
|
489
|
-
shape: f
|
|
490
|
-
}), [d, f]);
|
|
491
|
-
return /* @__PURE__ */ t(V.Provider, {
|
|
492
|
-
value: g,
|
|
493
|
-
children: /* @__PURE__ */ n("div", {
|
|
494
|
-
ref: l,
|
|
495
|
-
"data-pharos-slot": "avatar-group",
|
|
496
|
-
"data-pharos-size": typeof d == "number" ? String(d) : d,
|
|
497
|
-
"data-pharos-shape": f,
|
|
498
|
-
className: C(z.group, o),
|
|
499
|
-
...u,
|
|
500
|
-
children: [m, h > 0 ? /* @__PURE__ */ t(H, {
|
|
501
|
-
"aria-label": `${h} more`,
|
|
502
|
-
"data-pharos-slot": "avatar-group-overflow",
|
|
503
|
-
children: /* @__PURE__ */ t(U, { children: a ? a(h) : `+${h}` })
|
|
504
|
-
}) : null]
|
|
505
|
-
})
|
|
506
|
-
});
|
|
507
|
-
}
|
|
508
|
-
ye.displayName = "AvatarGroup";
|
|
509
|
-
var W = {
|
|
510
|
-
positioner: "_positioner_ua6x3_9",
|
|
511
|
-
content: "_content_ua6x3_4",
|
|
512
|
-
item: "_item_ua6x3_5",
|
|
513
|
-
itemDestructive: "_itemDestructive_ua6x3_113",
|
|
514
|
-
separator: "_separator_ua6x3_6",
|
|
515
|
-
label: "_label_ua6x3_6"
|
|
516
|
-
};
|
|
517
|
-
//#endregion
|
|
518
|
-
//#region src/components/DropdownMenu.tsx
|
|
519
|
-
function be(e) {
|
|
520
|
-
return /* @__PURE__ */ t(l.Root, { ...e });
|
|
521
|
-
}
|
|
522
|
-
be.displayName = "DropdownMenu";
|
|
523
|
-
function xe(e) {
|
|
524
|
-
return /* @__PURE__ */ t(l.Trigger, { ...e });
|
|
525
|
-
}
|
|
526
|
-
xe.displayName = "DropdownMenuTrigger";
|
|
527
|
-
function Se({ side: e = "bottom", align: n = "start", sideOffset: r = 8, className: i, children: a, ...o }) {
|
|
528
|
-
return /* @__PURE__ */ t(l.Portal, { children: /* @__PURE__ */ t(l.Positioner, {
|
|
529
|
-
className: W.positioner,
|
|
530
|
-
side: e,
|
|
531
|
-
align: n,
|
|
532
|
-
sideOffset: r,
|
|
533
|
-
children: /* @__PURE__ */ t(l.Popup, {
|
|
534
|
-
"data-pharos-slot": "dropdown-menu-content",
|
|
535
|
-
className: C(W.content, i),
|
|
536
|
-
...o,
|
|
537
|
-
children: a
|
|
538
|
-
})
|
|
539
|
-
}) });
|
|
540
|
-
}
|
|
541
|
-
Se.displayName = "DropdownMenuContent";
|
|
542
|
-
function Ce({ variant: e = "default", className: n, ...r }) {
|
|
543
|
-
return /* @__PURE__ */ t(l.Item, {
|
|
544
|
-
"data-pharos-variant": e,
|
|
545
|
-
className: C(W.item, e === "destructive" && W.itemDestructive, n),
|
|
546
|
-
...r
|
|
547
|
-
});
|
|
548
|
-
}
|
|
549
|
-
Ce.displayName = "DropdownMenuItem";
|
|
550
|
-
function we({ className: e, ...n }) {
|
|
551
|
-
return /* @__PURE__ */ t(l.Separator, {
|
|
552
|
-
"data-pharos-slot": "dropdown-menu-separator",
|
|
553
|
-
className: C(W.separator, e),
|
|
554
|
-
...n
|
|
555
|
-
});
|
|
556
|
-
}
|
|
557
|
-
we.displayName = "DropdownMenuSeparator";
|
|
558
|
-
function Te({ className: e, ...n }) {
|
|
559
|
-
return /* @__PURE__ */ t(l.GroupLabel, {
|
|
560
|
-
"data-pharos-slot": "dropdown-menu-label",
|
|
561
|
-
className: C(W.label, e),
|
|
562
|
-
...n
|
|
563
|
-
});
|
|
564
|
-
}
|
|
565
|
-
Te.displayName = "DropdownMenuLabel";
|
|
566
|
-
function Ee(e) {
|
|
567
|
-
return /* @__PURE__ */ t(l.Group, {
|
|
568
|
-
"data-pharos-slot": "dropdown-menu-group",
|
|
569
|
-
...e
|
|
570
|
-
});
|
|
571
|
-
}
|
|
572
|
-
Ee.displayName = "DropdownMenuGroup";
|
|
573
|
-
var G = {
|
|
574
|
-
positioner: "_positioner_ga28p_15",
|
|
575
|
-
content: "_content_ga28p_4",
|
|
576
|
-
title: "_title_ga28p_5",
|
|
577
|
-
description: "_description_ga28p_5"
|
|
578
|
-
};
|
|
579
|
-
//#endregion
|
|
580
|
-
//#region src/components/Popover.tsx
|
|
581
|
-
function De(e) {
|
|
582
|
-
return /* @__PURE__ */ t(u.Root, { ...e });
|
|
583
|
-
}
|
|
584
|
-
De.displayName = "Popover";
|
|
585
|
-
function Oe(e) {
|
|
586
|
-
return /* @__PURE__ */ t(u.Trigger, { ...e });
|
|
587
|
-
}
|
|
588
|
-
Oe.displayName = "PopoverTrigger";
|
|
589
|
-
function ke({ side: e = "bottom", align: n = "center", sideOffset: r = 8, alignOffset: i = 0, className: a, children: o, ...s }) {
|
|
590
|
-
return /* @__PURE__ */ t(u.Portal, { children: /* @__PURE__ */ t(u.Positioner, {
|
|
591
|
-
className: G.positioner,
|
|
592
|
-
side: e,
|
|
593
|
-
align: n,
|
|
594
|
-
sideOffset: r,
|
|
595
|
-
alignOffset: i,
|
|
596
|
-
children: /* @__PURE__ */ t(u.Popup, {
|
|
597
|
-
"data-pharos-slot": "popover-content",
|
|
598
|
-
className: C(G.content, a),
|
|
599
|
-
...s,
|
|
600
|
-
children: o
|
|
601
|
-
})
|
|
602
|
-
}) });
|
|
603
|
-
}
|
|
604
|
-
ke.displayName = "PopoverContent";
|
|
605
|
-
function Ae({ className: e, ...n }) {
|
|
606
|
-
return /* @__PURE__ */ t(u.Title, {
|
|
607
|
-
"data-pharos-slot": "popover-title",
|
|
608
|
-
className: C(G.title, e),
|
|
609
|
-
...n
|
|
610
|
-
});
|
|
611
|
-
}
|
|
612
|
-
Ae.displayName = "PopoverTitle";
|
|
613
|
-
function je({ className: e, ...n }) {
|
|
614
|
-
return /* @__PURE__ */ t(u.Description, {
|
|
615
|
-
"data-pharos-slot": "popover-description",
|
|
616
|
-
className: C(G.description, e),
|
|
617
|
-
...n
|
|
618
|
-
});
|
|
619
|
-
}
|
|
620
|
-
je.displayName = "PopoverDescription";
|
|
621
|
-
function Me(e) {
|
|
622
|
-
return /* @__PURE__ */ t(u.Close, {
|
|
623
|
-
"data-pharos-slot": "popover-close",
|
|
624
|
-
...e
|
|
625
|
-
});
|
|
626
|
-
}
|
|
627
|
-
Me.displayName = "PopoverClose";
|
|
628
|
-
var K = {
|
|
629
|
-
trigger: "_trigger_1w6j6_35",
|
|
630
|
-
sizeSm: "_sizeSm_1w6j6_92",
|
|
631
|
-
sizeMd: "_sizeMd_1w6j6_98",
|
|
632
|
-
sizeLg: "_sizeLg_1w6j6_104",
|
|
633
|
-
value: "_value_1w6j6_113",
|
|
634
|
-
icon: "_icon_1w6j6_127",
|
|
635
|
-
positioner: "_positioner_1w6j6_24",
|
|
636
|
-
content: "_content_1w6j6_146",
|
|
637
|
-
item: "_item_1w6j6_17",
|
|
638
|
-
itemText: "_itemText_1w6j6_17",
|
|
639
|
-
itemIndicator: "_itemIndicator_1w6j6_228",
|
|
640
|
-
label: "_label_1w6j6_242",
|
|
641
|
-
separator: "_separator_1w6j6_250"
|
|
642
|
-
};
|
|
643
|
-
//#endregion
|
|
644
|
-
//#region src/components/Select.tsx
|
|
645
|
-
function Ne(e) {
|
|
646
|
-
return /* @__PURE__ */ t(d.Root, { ...e });
|
|
647
|
-
}
|
|
648
|
-
Ne.displayName = "Select";
|
|
649
|
-
function Pe() {
|
|
650
|
-
return /* @__PURE__ */ t("svg", {
|
|
651
|
-
viewBox: "0 0 24 24",
|
|
652
|
-
fill: "none",
|
|
653
|
-
stroke: "currentColor",
|
|
654
|
-
strokeWidth: "2",
|
|
655
|
-
"aria-hidden": "true",
|
|
656
|
-
children: /* @__PURE__ */ t("path", {
|
|
657
|
-
d: "m6 9 6 6 6-6",
|
|
658
|
-
strokeLinecap: "round",
|
|
659
|
-
strokeLinejoin: "round"
|
|
660
|
-
})
|
|
661
|
-
});
|
|
662
|
-
}
|
|
663
|
-
function Fe() {
|
|
664
|
-
return /* @__PURE__ */ t("svg", {
|
|
665
|
-
viewBox: "0 0 24 24",
|
|
666
|
-
fill: "none",
|
|
667
|
-
stroke: "currentColor",
|
|
668
|
-
strokeWidth: "2",
|
|
669
|
-
"aria-hidden": "true",
|
|
670
|
-
children: /* @__PURE__ */ t("path", {
|
|
671
|
-
d: "M20 6 9 17l-5-5",
|
|
672
|
-
strokeLinecap: "round",
|
|
673
|
-
strokeLinejoin: "round"
|
|
674
|
-
})
|
|
675
|
-
});
|
|
676
|
-
}
|
|
677
|
-
var Ie = S(K.trigger, {
|
|
678
|
-
variants: { size: {
|
|
679
|
-
sm: K.sizeSm,
|
|
680
|
-
md: K.sizeMd,
|
|
681
|
-
lg: K.sizeLg
|
|
682
|
-
} },
|
|
683
|
-
defaultVariants: { size: "md" }
|
|
684
|
-
});
|
|
685
|
-
function Le({ size: e, className: r, children: i, ...a }) {
|
|
686
|
-
let o = e ?? "md";
|
|
687
|
-
return /* @__PURE__ */ n(d.Trigger, {
|
|
688
|
-
"data-pharos-slot": "select-trigger",
|
|
689
|
-
"data-pharos-size": o,
|
|
690
|
-
className: C(Ie({ size: o }), r),
|
|
691
|
-
...a,
|
|
692
|
-
children: [i, /* @__PURE__ */ t(d.Icon, {
|
|
693
|
-
className: K.icon,
|
|
694
|
-
children: /* @__PURE__ */ t(Pe, {})
|
|
695
|
-
})]
|
|
696
|
-
});
|
|
697
|
-
}
|
|
698
|
-
Le.displayName = "SelectTrigger";
|
|
699
|
-
function Re({ className: e, ...n }) {
|
|
700
|
-
return /* @__PURE__ */ t(d.Value, {
|
|
701
|
-
"data-pharos-slot": "select-value",
|
|
702
|
-
className: C(K.value, e),
|
|
703
|
-
...n
|
|
704
|
-
});
|
|
705
|
-
}
|
|
706
|
-
Re.displayName = "SelectValue";
|
|
707
|
-
function ze({ side: e = "bottom", align: n = "start", sideOffset: r = 8, alignOffset: i = 0, className: a, children: o, ...s }) {
|
|
708
|
-
return /* @__PURE__ */ t(d.Portal, { children: /* @__PURE__ */ t(d.Positioner, {
|
|
709
|
-
className: K.positioner,
|
|
710
|
-
alignItemWithTrigger: !1,
|
|
711
|
-
side: e,
|
|
712
|
-
align: n,
|
|
713
|
-
sideOffset: r,
|
|
714
|
-
alignOffset: i,
|
|
715
|
-
children: /* @__PURE__ */ t(d.Popup, {
|
|
716
|
-
"data-pharos-slot": "select-content",
|
|
717
|
-
className: C(K.content, a),
|
|
718
|
-
...s,
|
|
719
|
-
children: /* @__PURE__ */ t(d.List, { children: o })
|
|
720
|
-
})
|
|
721
|
-
}) });
|
|
722
|
-
}
|
|
723
|
-
ze.displayName = "SelectContent";
|
|
724
|
-
function Be({ className: e, children: r, ...i }) {
|
|
725
|
-
return /* @__PURE__ */ n(d.Item, {
|
|
726
|
-
"data-pharos-slot": "select-item",
|
|
727
|
-
className: C(K.item, e),
|
|
728
|
-
...i,
|
|
729
|
-
children: [/* @__PURE__ */ t(d.ItemText, {
|
|
730
|
-
className: K.itemText,
|
|
731
|
-
children: r
|
|
732
|
-
}), /* @__PURE__ */ t(d.ItemIndicator, {
|
|
733
|
-
className: K.itemIndicator,
|
|
734
|
-
children: /* @__PURE__ */ t(Fe, {})
|
|
735
|
-
})]
|
|
736
|
-
});
|
|
737
|
-
}
|
|
738
|
-
Be.displayName = "SelectItem";
|
|
739
|
-
function Ve(e) {
|
|
740
|
-
return /* @__PURE__ */ t(d.Group, {
|
|
741
|
-
"data-pharos-slot": "select-group",
|
|
742
|
-
...e
|
|
743
|
-
});
|
|
744
|
-
}
|
|
745
|
-
Ve.displayName = "SelectGroup";
|
|
746
|
-
function He({ className: e, ...n }) {
|
|
747
|
-
return /* @__PURE__ */ t(d.GroupLabel, {
|
|
748
|
-
"data-pharos-slot": "select-label",
|
|
749
|
-
className: C(K.label, e),
|
|
750
|
-
...n
|
|
751
|
-
});
|
|
752
|
-
}
|
|
753
|
-
He.displayName = "SelectLabel";
|
|
754
|
-
function Ue({ className: e, ...n }) {
|
|
755
|
-
return /* @__PURE__ */ t(d.Separator, {
|
|
756
|
-
"data-pharos-slot": "select-separator",
|
|
757
|
-
role: "none",
|
|
758
|
-
"aria-hidden": !0,
|
|
759
|
-
className: C(K.separator, e),
|
|
760
|
-
...n
|
|
761
|
-
});
|
|
762
|
-
}
|
|
763
|
-
Ue.displayName = "SelectSeparator";
|
|
764
|
-
var q = {
|
|
765
|
-
control: "_control_1dd5w_5",
|
|
766
|
-
chips: "_chips_1dd5w_61",
|
|
767
|
-
input: "_input_1dd5w_70",
|
|
768
|
-
inputSizeSm: "_inputSizeSm_1dd5w_99",
|
|
769
|
-
inputSizeMd: "_inputSizeMd_1dd5w_104",
|
|
770
|
-
inputSizeLg: "_inputSizeLg_1dd5w_109",
|
|
771
|
-
chipsInput: "_chipsInput_1dd5w_117",
|
|
772
|
-
trigger: "_trigger_1dd5w_124",
|
|
773
|
-
clear: "_clear_1dd5w_125",
|
|
774
|
-
chip: "_chip_1dd5w_61",
|
|
775
|
-
chipRemove: "_chipRemove_1dd5w_169",
|
|
776
|
-
positioner: "_positioner_1dd5w_203",
|
|
777
|
-
content: "_content_1dd5w_193",
|
|
778
|
-
item: "_item_1dd5w_14",
|
|
779
|
-
itemText: "_itemText_1dd5w_14",
|
|
780
|
-
itemIndicator: "_itemIndicator_1dd5w_272",
|
|
781
|
-
empty: "_empty_1dd5w_294",
|
|
782
|
-
label: "_label_1dd5w_304",
|
|
783
|
-
separator: "_separator_1dd5w_311"
|
|
784
|
-
}, J = r(null);
|
|
785
|
-
function We(e) {
|
|
786
|
-
let [n, r] = c(null), i = s(() => ({
|
|
787
|
-
anchorElement: n,
|
|
788
|
-
setAnchorElement: r
|
|
789
|
-
}), [n]);
|
|
790
|
-
return /* @__PURE__ */ t(J.Provider, {
|
|
791
|
-
value: i,
|
|
792
|
-
children: /* @__PURE__ */ t(f.Root, { ...e })
|
|
793
|
-
});
|
|
794
|
-
}
|
|
795
|
-
We.displayName = "Combobox";
|
|
796
|
-
function Ge() {
|
|
797
|
-
return /* @__PURE__ */ t("svg", {
|
|
798
|
-
viewBox: "0 0 24 24",
|
|
799
|
-
fill: "none",
|
|
800
|
-
stroke: "currentColor",
|
|
801
|
-
strokeWidth: "2",
|
|
802
|
-
"aria-hidden": "true",
|
|
803
|
-
children: /* @__PURE__ */ t("path", {
|
|
804
|
-
d: "m6 9 6 6 6-6",
|
|
805
|
-
strokeLinecap: "round",
|
|
806
|
-
strokeLinejoin: "round"
|
|
807
|
-
})
|
|
808
|
-
});
|
|
809
|
-
}
|
|
810
|
-
function Ke() {
|
|
811
|
-
return /* @__PURE__ */ t("svg", {
|
|
812
|
-
viewBox: "0 0 24 24",
|
|
813
|
-
fill: "none",
|
|
814
|
-
stroke: "currentColor",
|
|
815
|
-
strokeWidth: "2",
|
|
816
|
-
"aria-hidden": "true",
|
|
817
|
-
children: /* @__PURE__ */ t("path", {
|
|
818
|
-
d: "M20 6 9 17l-5-5",
|
|
819
|
-
strokeLinecap: "round",
|
|
820
|
-
strokeLinejoin: "round"
|
|
821
|
-
})
|
|
822
|
-
});
|
|
823
|
-
}
|
|
824
|
-
function qe() {
|
|
825
|
-
return /* @__PURE__ */ t("svg", {
|
|
826
|
-
viewBox: "0 0 24 24",
|
|
827
|
-
fill: "none",
|
|
828
|
-
stroke: "currentColor",
|
|
829
|
-
strokeWidth: "2",
|
|
830
|
-
"aria-hidden": "true",
|
|
831
|
-
children: /* @__PURE__ */ t("path", {
|
|
832
|
-
d: "M18 6 6 18M6 6l12 12",
|
|
833
|
-
strokeLinecap: "round",
|
|
834
|
-
strokeLinejoin: "round"
|
|
835
|
-
})
|
|
836
|
-
});
|
|
837
|
-
}
|
|
838
|
-
function Je({ className: e, ...n }) {
|
|
839
|
-
return /* @__PURE__ */ t(f.InputGroup, {
|
|
840
|
-
"data-pharos-slot": "combobox-control",
|
|
841
|
-
className: C(q.control, e),
|
|
842
|
-
...n
|
|
843
|
-
});
|
|
844
|
-
}
|
|
845
|
-
Je.displayName = "ComboboxControl";
|
|
846
|
-
function Ye({ className: e, ref: n, ...r }) {
|
|
847
|
-
let o = a(J), s = i((e) => {
|
|
848
|
-
o?.setAnchorElement(e), typeof n == "function" ? n(e) : n && (n.current = e);
|
|
849
|
-
}, [o, n]);
|
|
850
|
-
return /* @__PURE__ */ t(f.Chips, {
|
|
851
|
-
"data-pharos-slot": "combobox-chips",
|
|
852
|
-
className: C(q.control, q.chips, e),
|
|
853
|
-
ref: s,
|
|
854
|
-
...r
|
|
855
|
-
});
|
|
856
|
-
}
|
|
857
|
-
Ye.displayName = "ComboboxChips";
|
|
858
|
-
var Xe = S(q.input, {
|
|
859
|
-
variants: { size: {
|
|
860
|
-
sm: q.inputSizeSm,
|
|
861
|
-
md: q.inputSizeMd,
|
|
862
|
-
lg: q.inputSizeLg
|
|
863
|
-
} },
|
|
864
|
-
defaultVariants: { size: "md" }
|
|
865
|
-
});
|
|
866
|
-
function Ze({ size: e, inset: n = !1, className: r, ...i }) {
|
|
867
|
-
let a = e ?? "md";
|
|
868
|
-
return /* @__PURE__ */ t(f.Input, {
|
|
869
|
-
"data-pharos-slot": "combobox-input",
|
|
870
|
-
"data-pharos-size": a,
|
|
871
|
-
className: C(n ? C(q.input, q.chipsInput) : Xe({ size: a }), r),
|
|
872
|
-
...i
|
|
873
|
-
});
|
|
874
|
-
}
|
|
875
|
-
Ze.displayName = "ComboboxInput";
|
|
876
|
-
function Qe({ className: e, children: n, ...r }) {
|
|
877
|
-
return /* @__PURE__ */ t(f.Trigger, {
|
|
878
|
-
"data-pharos-slot": "combobox-trigger",
|
|
879
|
-
className: C(q.trigger, e),
|
|
880
|
-
...r,
|
|
881
|
-
children: n ?? /* @__PURE__ */ t(Ge, {})
|
|
882
|
-
});
|
|
883
|
-
}
|
|
884
|
-
Qe.displayName = "ComboboxTrigger";
|
|
885
|
-
function $e({ className: e, children: n, ...r }) {
|
|
886
|
-
return /* @__PURE__ */ t(f.Clear, {
|
|
887
|
-
"data-pharos-slot": "combobox-clear",
|
|
888
|
-
className: C(q.clear, e),
|
|
889
|
-
...r,
|
|
890
|
-
children: n ?? /* @__PURE__ */ t(qe, {})
|
|
891
|
-
});
|
|
892
|
-
}
|
|
893
|
-
$e.displayName = "ComboboxClear";
|
|
894
|
-
function et({ className: e, ...n }) {
|
|
895
|
-
return /* @__PURE__ */ t(f.Chip, {
|
|
896
|
-
"data-pharos-slot": "combobox-chip",
|
|
897
|
-
className: C(q.chip, e),
|
|
898
|
-
...n
|
|
899
|
-
});
|
|
900
|
-
}
|
|
901
|
-
et.displayName = "ComboboxChip";
|
|
902
|
-
function tt({ className: e, children: n, "aria-label": r = "Remove", ...i }) {
|
|
903
|
-
return /* @__PURE__ */ t(f.ChipRemove, {
|
|
904
|
-
"data-pharos-slot": "combobox-chip-remove",
|
|
905
|
-
"aria-label": r,
|
|
906
|
-
className: C(q.chipRemove, e),
|
|
907
|
-
...i,
|
|
908
|
-
children: n ?? /* @__PURE__ */ t(qe, {})
|
|
909
|
-
});
|
|
910
|
-
}
|
|
911
|
-
tt.displayName = "ComboboxChipRemove";
|
|
912
|
-
function nt({ side: e = "bottom", align: n = "start", sideOffset: r = 8, alignOffset: i = 0, className: o, children: s, ...c }) {
|
|
913
|
-
let l = a(J)?.anchorElement ?? void 0;
|
|
914
|
-
return /* @__PURE__ */ t(f.Portal, { children: /* @__PURE__ */ t(f.Positioner, {
|
|
915
|
-
className: q.positioner,
|
|
916
|
-
anchor: l,
|
|
917
|
-
side: e,
|
|
918
|
-
align: n,
|
|
919
|
-
sideOffset: r,
|
|
920
|
-
alignOffset: i,
|
|
921
|
-
children: /* @__PURE__ */ t(f.Popup, {
|
|
922
|
-
"data-pharos-slot": "combobox-content",
|
|
923
|
-
className: C(q.content, o),
|
|
924
|
-
...c,
|
|
925
|
-
children: s
|
|
926
|
-
})
|
|
927
|
-
}) });
|
|
928
|
-
}
|
|
929
|
-
nt.displayName = "ComboboxContent";
|
|
930
|
-
function rt({ className: e, ...n }) {
|
|
931
|
-
return /* @__PURE__ */ t(f.List, {
|
|
932
|
-
"data-pharos-slot": "combobox-list",
|
|
933
|
-
className: e,
|
|
934
|
-
...n
|
|
935
|
-
});
|
|
936
|
-
}
|
|
937
|
-
rt.displayName = "ComboboxList";
|
|
938
|
-
function it({ className: e, children: r, ...i }) {
|
|
939
|
-
return /* @__PURE__ */ n(f.Item, {
|
|
940
|
-
"data-pharos-slot": "combobox-item",
|
|
941
|
-
className: C(q.item, e),
|
|
942
|
-
...i,
|
|
943
|
-
children: [/* @__PURE__ */ t("span", {
|
|
944
|
-
className: q.itemText,
|
|
945
|
-
children: r
|
|
946
|
-
}), /* @__PURE__ */ t(f.ItemIndicator, {
|
|
947
|
-
className: q.itemIndicator,
|
|
948
|
-
children: /* @__PURE__ */ t(Ke, {})
|
|
949
|
-
})]
|
|
950
|
-
});
|
|
951
|
-
}
|
|
952
|
-
it.displayName = "ComboboxItem";
|
|
953
|
-
function at({ className: e, ...n }) {
|
|
954
|
-
return /* @__PURE__ */ t(f.Empty, {
|
|
955
|
-
"data-pharos-slot": "combobox-empty",
|
|
956
|
-
className: C(q.empty, e),
|
|
957
|
-
...n
|
|
958
|
-
});
|
|
959
|
-
}
|
|
960
|
-
at.displayName = "ComboboxEmpty";
|
|
961
|
-
function ot(e) {
|
|
962
|
-
return /* @__PURE__ */ t(f.Group, {
|
|
963
|
-
"data-pharos-slot": "combobox-group",
|
|
964
|
-
...e
|
|
965
|
-
});
|
|
966
|
-
}
|
|
967
|
-
ot.displayName = "ComboboxGroup";
|
|
968
|
-
function st({ className: e, ...n }) {
|
|
969
|
-
return /* @__PURE__ */ t(f.GroupLabel, {
|
|
970
|
-
"data-pharos-slot": "combobox-group-label",
|
|
971
|
-
className: C(q.label, e),
|
|
972
|
-
...n
|
|
973
|
-
});
|
|
974
|
-
}
|
|
975
|
-
st.displayName = "ComboboxGroupLabel";
|
|
976
|
-
function ct({ className: e, ...n }) {
|
|
977
|
-
return /* @__PURE__ */ t(f.Separator, {
|
|
978
|
-
"data-pharos-slot": "combobox-separator",
|
|
979
|
-
className: C(q.separator, e),
|
|
980
|
-
...n
|
|
981
|
-
});
|
|
982
|
-
}
|
|
983
|
-
ct.displayName = "ComboboxSeparator";
|
|
984
|
-
var Y = {
|
|
985
|
-
backdrop: "_backdrop_1pbfd_21",
|
|
986
|
-
content: "_content_1pbfd_37",
|
|
987
|
-
sideRight: "_sideRight_1pbfd_60",
|
|
988
|
-
sideLeft: "_sideLeft_1pbfd_73",
|
|
989
|
-
sideTop: "_sideTop_1pbfd_86",
|
|
990
|
-
sideBottom: "_sideBottom_1pbfd_99",
|
|
991
|
-
header: "_header_1pbfd_113",
|
|
992
|
-
title: "_title_1pbfd_119",
|
|
993
|
-
description: "_description_1pbfd_127",
|
|
994
|
-
footer: "_footer_1pbfd_134"
|
|
995
|
-
};
|
|
996
|
-
//#endregion
|
|
997
|
-
//#region src/components/Sheet.tsx
|
|
998
|
-
function lt(e) {
|
|
999
|
-
return /* @__PURE__ */ t(p.Root, { ...e });
|
|
1000
|
-
}
|
|
1001
|
-
lt.displayName = "Sheet";
|
|
1002
|
-
function ut(e) {
|
|
1003
|
-
return /* @__PURE__ */ t(p.Trigger, { ...e });
|
|
1004
|
-
}
|
|
1005
|
-
ut.displayName = "SheetTrigger";
|
|
1006
|
-
var dt = S(Y.content, {
|
|
1007
|
-
variants: { side: {
|
|
1008
|
-
top: Y.sideTop,
|
|
1009
|
-
right: Y.sideRight,
|
|
1010
|
-
bottom: Y.sideBottom,
|
|
1011
|
-
left: Y.sideLeft
|
|
1012
|
-
} },
|
|
1013
|
-
defaultVariants: { side: "right" }
|
|
1014
|
-
});
|
|
1015
|
-
function ft({ side: e = "right", className: r, children: i, ...a }) {
|
|
1016
|
-
return /* @__PURE__ */ n(p.Portal, { children: [/* @__PURE__ */ t(p.Backdrop, { className: Y.backdrop }), /* @__PURE__ */ t(p.Popup, {
|
|
1017
|
-
"data-pharos-slot": "sheet-content",
|
|
1018
|
-
"data-pharos-side": e ?? "right",
|
|
1019
|
-
className: C(dt({ side: e }), r),
|
|
1020
|
-
...a,
|
|
1021
|
-
children: i
|
|
1022
|
-
})] });
|
|
1023
|
-
}
|
|
1024
|
-
ft.displayName = "SheetContent";
|
|
1025
|
-
function pt({ className: e, ...n }) {
|
|
1026
|
-
return /* @__PURE__ */ t("div", {
|
|
1027
|
-
"data-pharos-slot": "sheet-header",
|
|
1028
|
-
className: C(Y.header, e),
|
|
1029
|
-
...n
|
|
1030
|
-
});
|
|
1031
|
-
}
|
|
1032
|
-
pt.displayName = "SheetHeader";
|
|
1033
|
-
function mt({ className: e, ...n }) {
|
|
1034
|
-
return /* @__PURE__ */ t(p.Title, {
|
|
1035
|
-
"data-pharos-slot": "sheet-title",
|
|
1036
|
-
className: C(Y.title, e),
|
|
1037
|
-
...n
|
|
1038
|
-
});
|
|
1039
|
-
}
|
|
1040
|
-
mt.displayName = "SheetTitle";
|
|
1041
|
-
function X({ className: e, ...n }) {
|
|
1042
|
-
return /* @__PURE__ */ t(p.Description, {
|
|
1043
|
-
"data-pharos-slot": "sheet-description",
|
|
1044
|
-
className: C(Y.description, e),
|
|
1045
|
-
...n
|
|
1046
|
-
});
|
|
1047
|
-
}
|
|
1048
|
-
X.displayName = "SheetDescription";
|
|
1049
|
-
function ht({ className: e, ...n }) {
|
|
1050
|
-
return /* @__PURE__ */ t("div", {
|
|
1051
|
-
"data-pharos-slot": "sheet-footer",
|
|
1052
|
-
className: C(Y.footer, e),
|
|
1053
|
-
...n
|
|
1054
|
-
});
|
|
1055
|
-
}
|
|
1056
|
-
ht.displayName = "SheetFooter";
|
|
1057
|
-
function gt(e) {
|
|
1058
|
-
return /* @__PURE__ */ t(p.Close, {
|
|
1059
|
-
"data-pharos-slot": "sheet-close",
|
|
1060
|
-
...e
|
|
1061
|
-
});
|
|
1062
|
-
}
|
|
1063
|
-
gt.displayName = "SheetClose";
|
|
1064
|
-
var Z = {
|
|
1065
|
-
backdrop: "_backdrop_mozml_18",
|
|
1066
|
-
content: "_content_mozml_32",
|
|
1067
|
-
header: "_header_mozml_75",
|
|
1068
|
-
title: "_title_mozml_81",
|
|
1069
|
-
description: "_description_mozml_89",
|
|
1070
|
-
footer: "_footer_mozml_96"
|
|
1071
|
-
};
|
|
1072
|
-
//#endregion
|
|
1073
|
-
//#region src/components/Dialog.tsx
|
|
1074
|
-
function _t(e) {
|
|
1075
|
-
return /* @__PURE__ */ t(p.Root, { ...e });
|
|
1076
|
-
}
|
|
1077
|
-
_t.displayName = "Dialog";
|
|
1078
|
-
function vt(e) {
|
|
1079
|
-
return /* @__PURE__ */ t(p.Trigger, { ...e });
|
|
1080
|
-
}
|
|
1081
|
-
vt.displayName = "DialogTrigger";
|
|
1082
|
-
function yt({ className: e, children: r, ...i }) {
|
|
1083
|
-
return /* @__PURE__ */ n(p.Portal, { children: [/* @__PURE__ */ t(p.Backdrop, { className: Z.backdrop }), /* @__PURE__ */ t(p.Popup, {
|
|
1084
|
-
"data-pharos-slot": "dialog-content",
|
|
1085
|
-
className: C(Z.content, e),
|
|
1086
|
-
...i,
|
|
1087
|
-
children: r
|
|
1088
|
-
})] });
|
|
1089
|
-
}
|
|
1090
|
-
yt.displayName = "DialogContent";
|
|
1091
|
-
function bt({ className: e, ...n }) {
|
|
1092
|
-
return /* @__PURE__ */ t("div", {
|
|
1093
|
-
"data-pharos-slot": "dialog-header",
|
|
1094
|
-
className: C(Z.header, e),
|
|
1095
|
-
...n
|
|
1096
|
-
});
|
|
1097
|
-
}
|
|
1098
|
-
bt.displayName = "DialogHeader";
|
|
1099
|
-
function xt({ className: e, ...n }) {
|
|
1100
|
-
return /* @__PURE__ */ t(p.Title, {
|
|
1101
|
-
"data-pharos-slot": "dialog-title",
|
|
1102
|
-
className: C(Z.title, e),
|
|
1103
|
-
...n
|
|
1104
|
-
});
|
|
1105
|
-
}
|
|
1106
|
-
xt.displayName = "DialogTitle";
|
|
1107
|
-
function St({ className: e, ...n }) {
|
|
1108
|
-
return /* @__PURE__ */ t(p.Description, {
|
|
1109
|
-
"data-pharos-slot": "dialog-description",
|
|
1110
|
-
className: C(Z.description, e),
|
|
1111
|
-
...n
|
|
1112
|
-
});
|
|
1113
|
-
}
|
|
1114
|
-
St.displayName = "DialogDescription";
|
|
1115
|
-
function Ct({ className: e, ...n }) {
|
|
1116
|
-
return /* @__PURE__ */ t("div", {
|
|
1117
|
-
"data-pharos-slot": "dialog-footer",
|
|
1118
|
-
className: C(Z.footer, e),
|
|
1119
|
-
...n
|
|
1120
|
-
});
|
|
1121
|
-
}
|
|
1122
|
-
Ct.displayName = "DialogFooter";
|
|
1123
|
-
function wt(e) {
|
|
1124
|
-
return /* @__PURE__ */ t(p.Close, {
|
|
1125
|
-
"data-pharos-slot": "dialog-close",
|
|
1126
|
-
...e
|
|
1127
|
-
});
|
|
1128
|
-
}
|
|
1129
|
-
wt.displayName = "DialogClose";
|
|
1130
|
-
var Q = {
|
|
1131
|
-
root: "_root_1v9tz_14",
|
|
1132
|
-
indicator: "_indicator_1v9tz_65",
|
|
1133
|
-
icon: "_icon_1v9tz_72",
|
|
1134
|
-
iconIndeterminate: "_iconIndeterminate_1v9tz_79",
|
|
1135
|
-
iconCheck: "_iconCheck_1v9tz_83"
|
|
1136
|
-
};
|
|
1137
|
-
//#endregion
|
|
1138
|
-
//#region src/components/Checkbox.tsx
|
|
1139
|
-
function Tt() {
|
|
1140
|
-
return /* @__PURE__ */ t("svg", {
|
|
1141
|
-
className: C(Q.icon, Q.iconCheck),
|
|
1142
|
-
viewBox: "0 0 24 24",
|
|
1143
|
-
fill: "none",
|
|
1144
|
-
stroke: "currentColor",
|
|
1145
|
-
strokeWidth: "3",
|
|
1146
|
-
strokeLinecap: "round",
|
|
1147
|
-
strokeLinejoin: "round",
|
|
1148
|
-
"aria-hidden": "true",
|
|
1149
|
-
children: /* @__PURE__ */ t("path", { d: "M20 6 9 17l-5-5" })
|
|
1150
|
-
});
|
|
1151
|
-
}
|
|
1152
|
-
function Et() {
|
|
1153
|
-
return /* @__PURE__ */ t("svg", {
|
|
1154
|
-
className: C(Q.icon, Q.iconIndeterminate),
|
|
1155
|
-
viewBox: "0 0 24 24",
|
|
1156
|
-
fill: "none",
|
|
1157
|
-
stroke: "currentColor",
|
|
1158
|
-
strokeWidth: "3",
|
|
1159
|
-
strokeLinecap: "round",
|
|
1160
|
-
"aria-hidden": "true",
|
|
1161
|
-
children: /* @__PURE__ */ t("path", { d: "M5 12h14" })
|
|
1162
|
-
});
|
|
1163
|
-
}
|
|
1164
|
-
function Dt({ className: e, ...r }) {
|
|
1165
|
-
return /* @__PURE__ */ t(m.Root, {
|
|
1166
|
-
"data-pharos-slot": "checkbox",
|
|
1167
|
-
className: C(Q.root, e),
|
|
1168
|
-
...r,
|
|
1169
|
-
children: /* @__PURE__ */ n(m.Indicator, {
|
|
1170
|
-
className: Q.indicator,
|
|
1171
|
-
children: [/* @__PURE__ */ t(Tt, {}), /* @__PURE__ */ t(Et, {})]
|
|
1172
|
-
})
|
|
1173
|
-
});
|
|
1174
|
-
}
|
|
1175
|
-
Dt.displayName = "Checkbox";
|
|
1176
|
-
var Ot = {
|
|
1177
|
-
root: "_root_5v2er_17",
|
|
1178
|
-
thumb: "_thumb_5v2er_72"
|
|
1179
|
-
};
|
|
1180
|
-
//#endregion
|
|
1181
|
-
//#region src/components/Switch.tsx
|
|
1182
|
-
function kt({ className: e, ...n }) {
|
|
1183
|
-
return /* @__PURE__ */ t(h.Root, {
|
|
1184
|
-
"data-pharos-slot": "switch",
|
|
1185
|
-
className: C(Ot.root, e),
|
|
1186
|
-
...n,
|
|
1187
|
-
children: /* @__PURE__ */ t(h.Thumb, { className: Ot.thumb })
|
|
1188
|
-
});
|
|
1189
|
-
}
|
|
1190
|
-
kt.displayName = "Switch";
|
|
1191
|
-
var $ = {
|
|
1192
|
-
group: "_group_rsllu_18",
|
|
1193
|
-
item: "_item_rsllu_24",
|
|
1194
|
-
indicator: "_indicator_rsllu_75"
|
|
1195
|
-
};
|
|
1196
|
-
//#endregion
|
|
1197
|
-
//#region src/components/RadioGroup.tsx
|
|
1198
|
-
function At({ className: e, ...n }) {
|
|
1199
|
-
return /* @__PURE__ */ t(g, {
|
|
1200
|
-
"data-pharos-slot": "radio-group",
|
|
1201
|
-
className: C($.group, e),
|
|
1202
|
-
...n
|
|
1203
|
-
});
|
|
1204
|
-
}
|
|
1205
|
-
At.displayName = "RadioGroup";
|
|
1206
|
-
function jt({ className: e, ...n }) {
|
|
1207
|
-
return /* @__PURE__ */ t(_.Root, {
|
|
1208
|
-
"data-pharos-slot": "radio-group-item",
|
|
1209
|
-
className: C($.item, e),
|
|
1210
|
-
...n,
|
|
1211
|
-
children: /* @__PURE__ */ t(_.Indicator, { className: $.indicator })
|
|
1212
|
-
});
|
|
1213
|
-
}
|
|
1214
|
-
jt.displayName = "RadioGroupItem";
|
|
1215
|
-
//#endregion
|
|
1216
|
-
export { H as Avatar, U as AvatarFallback, ye as AvatarGroup, ve as AvatarImage, ie as Badge, te as Button, fe as Card, L as CardContent, I as CardDescription, R as CardFooter, P as CardHeader, F as CardTitle, Dt as Checkbox, We as Combobox, et as ComboboxChip, tt as ComboboxChipRemove, Ye as ComboboxChips, $e as ComboboxClear, nt as ComboboxContent, Je as ComboboxControl, at as ComboboxEmpty, ot as ComboboxGroup, st as ComboboxGroupLabel, Ze as ComboboxInput, it as ComboboxItem, rt as ComboboxList, ct as ComboboxSeparator, Qe as ComboboxTrigger, _t as Dialog, wt as DialogClose, yt as DialogContent, St as DialogDescription, Ct as DialogFooter, bt as DialogHeader, xt as DialogTitle, vt as DialogTrigger, be as DropdownMenu, Se as DropdownMenuContent, Ee as DropdownMenuGroup, Ce as DropdownMenuItem, Te as DropdownMenuLabel, we as DropdownMenuSeparator, xe as DropdownMenuTrigger, k as IconButton, oe as Input, De as Popover, Me as PopoverClose, ke as PopoverContent, je as PopoverDescription, Ae as PopoverTitle, Oe as PopoverTrigger, At as RadioGroup, jt as RadioGroupItem, Ne as Select, ze as SelectContent, Ve as SelectGroup, Be as SelectItem, He as SelectLabel, Ue as SelectSeparator, Le as SelectTrigger, Re as SelectValue, ue as Separator, lt as Sheet, gt as SheetClose, ft as SheetContent, X as SheetDescription, ht as SheetFooter, pt as SheetHeader, mt as SheetTitle, ut as SheetTrigger, D as Spinner, kt as Switch, ce as Textarea, re as badgeVariants, ee as buttonVariants, de as cardVariants, C as cn, ne as iconButtonVariants, ae as inputVariants, dt as sheetVariants, E as spinnerVariants, se as textareaVariants };
|
|
1217
|
-
|
|
1218
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
import { cn as e } from "./lib/cn.js";
|
|
2
|
+
import { Button as t, buttonVariants as n } from "./components/Button.js";
|
|
3
|
+
import { Spinner as r, spinnerVariants as i } from "./components/Spinner.js";
|
|
4
|
+
import { IconButton as a, iconButtonVariants as o } from "./components/IconButton.js";
|
|
5
|
+
import { Badge as s, badgeVariants as c } from "./components/Badge.js";
|
|
6
|
+
import { Input as l, inputVariants as u } from "./components/Input.js";
|
|
7
|
+
import { Textarea as d, textareaVariants as f } from "./components/Textarea.js";
|
|
8
|
+
import { Separator as p } from "./components/Separator.js";
|
|
9
|
+
import { Card as m, CardContent as h, CardDescription as g, CardFooter as _, CardHeader as v, CardTitle as y, cardVariants as b } from "./components/Card.js";
|
|
10
|
+
import { Avatar as x, AvatarFallback as S, AvatarGroup as C, AvatarImage as w } from "./components/Avatar.js";
|
|
11
|
+
import { DropdownMenu as T, DropdownMenuContent as E, DropdownMenuGroup as D, DropdownMenuItem as O, DropdownMenuLabel as k, DropdownMenuSeparator as A, DropdownMenuTrigger as j } from "./components/DropdownMenu.js";
|
|
12
|
+
import { Popover as M, PopoverClose as N, PopoverContent as P, PopoverDescription as F, PopoverTitle as I, PopoverTrigger as L } from "./components/Popover.js";
|
|
13
|
+
import { Select as R, SelectContent as z, SelectGroup as B, SelectItem as V, SelectLabel as H, SelectSeparator as U, SelectTrigger as W, SelectValue as G } from "./components/Select.js";
|
|
14
|
+
import { Combobox as K, ComboboxChip as q, ComboboxChipRemove as J, ComboboxChips as Y, ComboboxClear as X, ComboboxContent as Z, ComboboxControl as Q, ComboboxEmpty as $, ComboboxGroup as ee, ComboboxGroupLabel as te, ComboboxInput as ne, ComboboxItem as re, ComboboxList as ie, ComboboxSeparator as ae, ComboboxTrigger as oe } from "./components/Combobox.js";
|
|
15
|
+
import { Sheet as se, SheetClose as ce, SheetContent as le, SheetDescription as ue, SheetFooter as de, SheetHeader as fe, SheetTitle as pe, SheetTrigger as me, sheetVariants as he } from "./components/Sheet.js";
|
|
16
|
+
import { Dialog as ge, DialogClose as _e, DialogContent as ve, DialogDescription as ye, DialogFooter as be, DialogHeader as xe, DialogTitle as Se, DialogTrigger as Ce } from "./components/Dialog.js";
|
|
17
|
+
import { Checkbox as we } from "./components/Checkbox.js";
|
|
18
|
+
import { Switch as Te } from "./components/Switch.js";
|
|
19
|
+
import { RadioGroup as Ee, RadioGroupItem as De } from "./components/RadioGroup.js";
|
|
20
|
+
export { x as Avatar, S as AvatarFallback, C as AvatarGroup, w as AvatarImage, s as Badge, t as Button, m as Card, h as CardContent, g as CardDescription, _ as CardFooter, v as CardHeader, y as CardTitle, we as Checkbox, K as Combobox, q as ComboboxChip, J as ComboboxChipRemove, Y as ComboboxChips, X as ComboboxClear, Z as ComboboxContent, Q as ComboboxControl, $ as ComboboxEmpty, ee as ComboboxGroup, te as ComboboxGroupLabel, ne as ComboboxInput, re as ComboboxItem, ie as ComboboxList, ae as ComboboxSeparator, oe as ComboboxTrigger, ge as Dialog, _e as DialogClose, ve as DialogContent, ye as DialogDescription, be as DialogFooter, xe as DialogHeader, Se as DialogTitle, Ce as DialogTrigger, T as DropdownMenu, E as DropdownMenuContent, D as DropdownMenuGroup, O as DropdownMenuItem, k as DropdownMenuLabel, A as DropdownMenuSeparator, j as DropdownMenuTrigger, a as IconButton, l as Input, M as Popover, N as PopoverClose, P as PopoverContent, F as PopoverDescription, I as PopoverTitle, L as PopoverTrigger, Ee as RadioGroup, De as RadioGroupItem, R as Select, z as SelectContent, B as SelectGroup, V as SelectItem, H as SelectLabel, U as SelectSeparator, W as SelectTrigger, G as SelectValue, p as Separator, se as Sheet, ce as SheetClose, le as SheetContent, ue as SheetDescription, de as SheetFooter, fe as SheetHeader, pe as SheetTitle, me as SheetTrigger, r as Spinner, Te as Switch, d as Textarea, c as badgeVariants, n as buttonVariants, b as cardVariants, e as cn, o as iconButtonVariants, u as inputVariants, he as sheetVariants, i as spinnerVariants, f as textareaVariants };
|