@fea-ui/react 0.0.0 → 0.0.1

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/index.cjs ADDED
@@ -0,0 +1,3699 @@
1
+ //#region rolldown:runtime
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __copyProps = (to, from, except, desc) => {
9
+ if (from && typeof from === "object" || typeof from === "function") {
10
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) {
13
+ __defProp(to, key, {
14
+ get: ((k) => from[k]).bind(null, key),
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ }
19
+ }
20
+ return to;
21
+ };
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
+ value: mod,
24
+ enumerable: true
25
+ }) : target, mod));
26
+
27
+ //#endregion
28
+ let tailwind_variants = require("tailwind-variants");
29
+ let _base_ui_react = require("@base-ui/react");
30
+ let lucide_react = require("lucide-react");
31
+ let react = require("react");
32
+ react = __toESM(react);
33
+ let react_jsx_runtime = require("react/jsx-runtime");
34
+
35
+ //#region src/components/accordion/accordion.context.ts
36
+ const AccordionContext = (0, react.createContext)(null);
37
+
38
+ //#endregion
39
+ //#region src/components/accordion/accordion.variants.ts
40
+ const accordionVariants = (0, tailwind_variants.tv)({ slots: {
41
+ content: "accordion__content",
42
+ header: "accordion__header",
43
+ item: "accordion__item",
44
+ panel: "accordion__panel",
45
+ root: "accordion",
46
+ trigger: "accordion__trigger",
47
+ triggerIcon: "accordion__trigger-icon"
48
+ } });
49
+
50
+ //#endregion
51
+ //#region src/components/accordion/use-accordion.ts
52
+ const useAccordion = () => {
53
+ const context = (0, react.useContext)(AccordionContext);
54
+ if (!context) throw new Error("useAccordion must be used within a AccordionProvider");
55
+ return context;
56
+ };
57
+
58
+ //#endregion
59
+ //#region src/components/accordion/accordion.tsx
60
+ const Accordion = ({ className, ...props }) => {
61
+ const slots = (0, react.useMemo)(() => accordionVariants({}), []);
62
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AccordionContext.Provider, {
63
+ value: { slots },
64
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Accordion.Root, {
65
+ className: (0, tailwind_variants.cn)(className, slots.root()),
66
+ ...props
67
+ })
68
+ });
69
+ };
70
+ const AccordionItem = ({ className, ...props }) => {
71
+ const { slots } = useAccordion();
72
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Accordion.Item, {
73
+ className: (0, tailwind_variants.cn)(className, slots.item()),
74
+ ...props
75
+ });
76
+ };
77
+ const AccordionHeader = ({ className, ...props }) => {
78
+ const { slots } = useAccordion();
79
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Accordion.Header, {
80
+ className: (0, tailwind_variants.cn)(className, slots.header()),
81
+ ...props
82
+ });
83
+ };
84
+ const AccordionTrigger = ({ className, ...props }) => {
85
+ const { slots } = useAccordion();
86
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Accordion.Trigger, {
87
+ className: (0, tailwind_variants.cn)(className, slots.trigger()),
88
+ ...props
89
+ });
90
+ };
91
+ const AccordionTriggerIcon = ({ className, ...props }) => {
92
+ const { slots } = useAccordion();
93
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucideChevronDown, {
94
+ className: (0, tailwind_variants.cn)(className, slots.triggerIcon()),
95
+ ...props
96
+ });
97
+ };
98
+ const AccordionPanel = ({ className, ...props }) => {
99
+ const { slots } = useAccordion();
100
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Accordion.Panel, {
101
+ className: (0, tailwind_variants.cn)(className, slots.panel()),
102
+ ...props
103
+ });
104
+ };
105
+ const AccordionContent = ({ className, ...props }) => {
106
+ const { slots } = useAccordion();
107
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
108
+ className: (0, tailwind_variants.cn)(className, slots.content()),
109
+ ...props
110
+ });
111
+ };
112
+ var accordion_default = Object.assign(Accordion, {
113
+ Content: AccordionContent,
114
+ Header: AccordionHeader,
115
+ Item: AccordionItem,
116
+ Panel: AccordionPanel,
117
+ Root: Accordion,
118
+ Trigger: AccordionTrigger,
119
+ TriggerIcon: AccordionTriggerIcon
120
+ });
121
+
122
+ //#endregion
123
+ //#region src/components/alert/alert.context.ts
124
+ const AlertContext = (0, react.createContext)(null);
125
+
126
+ //#endregion
127
+ //#region src/components/alert/alert.variants.ts
128
+ const alertVariants = (0, tailwind_variants.tv)({
129
+ defaultVariants: { variant: "info" },
130
+ slots: {
131
+ content: "alert__content",
132
+ description: "alert__description",
133
+ indicator: "alert__indicator",
134
+ root: "alert",
135
+ title: "alert__title"
136
+ },
137
+ variants: { variant: {
138
+ danger: { root: "alert--danger" },
139
+ info: { root: "alert--info" },
140
+ primary: { root: "alert--primary" },
141
+ success: { root: "alert--success" },
142
+ warning: { root: "alert--warning" }
143
+ } }
144
+ });
145
+
146
+ //#endregion
147
+ //#region src/components/alert/use-alert.ts
148
+ const useAlert = () => {
149
+ const context = (0, react.useContext)(AlertContext);
150
+ if (!context) throw new Error("useAlert must be used within a AlertProvider");
151
+ return context;
152
+ };
153
+
154
+ //#endregion
155
+ //#region src/components/alert/alert.tsx
156
+ const Alert = ({ className, variant, ...props }) => {
157
+ const slots = (0, react.useMemo)(() => alertVariants({
158
+ className,
159
+ variant
160
+ }), [className, variant]);
161
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AlertContext, {
162
+ value: {
163
+ slots,
164
+ variant
165
+ },
166
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
167
+ className: (0, tailwind_variants.cn)(className, slots.root()),
168
+ ...props
169
+ })
170
+ });
171
+ };
172
+ const AlertIndicator = ({ className, children, ...props }) => {
173
+ const { slots, variant } = useAlert();
174
+ const IndicatorIcon = ({ children: children$1 }) => {
175
+ if (children$1) return children$1;
176
+ switch (variant) {
177
+ case "danger": return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucideXCircle, {});
178
+ case "success": return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucideCheckCircle, {});
179
+ case "warning": return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucideAlertTriangle, {});
180
+ default: return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucideInfo, {});
181
+ }
182
+ };
183
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
184
+ className: (0, tailwind_variants.cn)(className, slots.indicator()),
185
+ ...props,
186
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IndicatorIcon, { children })
187
+ });
188
+ };
189
+ const AlertContent = ({ className, ...props }) => {
190
+ const { slots } = useAlert();
191
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
192
+ className: (0, tailwind_variants.cn)(className, slots.content()),
193
+ ...props
194
+ });
195
+ };
196
+ const AlertTitle = ({ className, ...props }) => {
197
+ const { slots } = useAlert();
198
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
199
+ className: (0, tailwind_variants.cn)(className, slots.title()),
200
+ ...props
201
+ });
202
+ };
203
+ const AlertDescription = ({ className, ...props }) => {
204
+ const { slots } = useAlert();
205
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
206
+ className: (0, tailwind_variants.cn)(className, slots.description()),
207
+ ...props
208
+ });
209
+ };
210
+ var alert_default = Object.assign(Alert, {
211
+ Content: AlertContent,
212
+ Description: AlertDescription,
213
+ Indicator: AlertIndicator,
214
+ Root: Alert,
215
+ Title: AlertTitle
216
+ });
217
+
218
+ //#endregion
219
+ //#region src/components/alert-dialog/alert-dialog.context.ts
220
+ const AlertDialogContext = (0, react.createContext)(null);
221
+
222
+ //#endregion
223
+ //#region src/components/alert-dialog/alert-dialog.variants.ts
224
+ const alertDialogVariants = (0, tailwind_variants.tv)({ slots: {
225
+ backdrop: "alert-dialog__backdrop",
226
+ close: "alert-dialog__close",
227
+ description: "alert-dialog__description",
228
+ popup: "alert-dialog__popup",
229
+ portal: "alert-dialog__portal",
230
+ root: "alert-dialog",
231
+ title: "alert-dialog__title",
232
+ trigger: "alert-dialog__trigger",
233
+ viewport: "alert-dialog__viewport"
234
+ } });
235
+
236
+ //#endregion
237
+ //#region src/components/alert-dialog/use-alert-dialog.ts
238
+ const useAlertDialog = () => {
239
+ const context = (0, react.useContext)(AlertDialogContext);
240
+ if (!context) throw new Error("useAlertDialog must be used within a AlertDialogProvider");
241
+ return context;
242
+ };
243
+
244
+ //#endregion
245
+ //#region src/components/alert-dialog/alert-dialog.tsx
246
+ const AlertDialog = ({ ...props }) => {
247
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AlertDialogContext, {
248
+ value: { slots: (0, react.useMemo)(() => alertDialogVariants(), []) },
249
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.AlertDialog.Root, { ...props })
250
+ });
251
+ };
252
+ const AlertDialogTrigger = ({ className, ...props }) => {
253
+ const { slots } = useAlertDialog();
254
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.AlertDialog.Trigger, {
255
+ className: (0, tailwind_variants.cn)(slots.trigger(), className),
256
+ ...props
257
+ });
258
+ };
259
+ const AlertDialogPortal = ({ className, ...props }) => {
260
+ const { slots } = useAlertDialog();
261
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.AlertDialog.Portal, {
262
+ className: (0, tailwind_variants.cn)(slots.portal(), className),
263
+ ...props
264
+ });
265
+ };
266
+ const AlertDialogBackdrop = ({ className, ...props }) => {
267
+ const { slots } = useAlertDialog();
268
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.AlertDialog.Backdrop, {
269
+ className: (0, tailwind_variants.cn)(slots.backdrop(), className),
270
+ ...props
271
+ });
272
+ };
273
+ const AlertDialogViewport = ({ className, ...props }) => {
274
+ const { slots } = useAlertDialog();
275
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.AlertDialog.Viewport, {
276
+ className: (0, tailwind_variants.cn)(slots.viewport(), className),
277
+ ...props
278
+ });
279
+ };
280
+ const AlertDialogPopup = ({ className, ...props }) => {
281
+ const { slots } = useAlertDialog();
282
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.AlertDialog.Popup, {
283
+ className: (0, tailwind_variants.cn)(slots.popup(), className),
284
+ ...props
285
+ });
286
+ };
287
+ const AlertDialogTitle = ({ className, ...props }) => {
288
+ const { slots } = useAlertDialog();
289
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.AlertDialog.Title, {
290
+ className: (0, tailwind_variants.cn)(slots.title(), className),
291
+ ...props
292
+ });
293
+ };
294
+ const AlertDialogDescription = ({ className, ...props }) => {
295
+ const { slots } = useAlertDialog();
296
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.AlertDialog.Description, {
297
+ className: (0, tailwind_variants.cn)(slots.description(), className),
298
+ ...props
299
+ });
300
+ };
301
+ const AlertDialogClose = ({ className, children, ...props }) => {
302
+ const { slots } = useAlertDialog();
303
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.AlertDialog.Close, {
304
+ className: (0, tailwind_variants.cn)(slots.close(), className),
305
+ ...props,
306
+ children: children ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucideX, {})
307
+ });
308
+ };
309
+ var alert_dialog_default = Object.assign(AlertDialog, {
310
+ Backdrop: AlertDialogBackdrop,
311
+ Close: AlertDialogClose,
312
+ Description: AlertDialogDescription,
313
+ Popup: AlertDialogPopup,
314
+ Portal: AlertDialogPortal,
315
+ Root: AlertDialog,
316
+ Title: AlertDialogTitle,
317
+ Trigger: AlertDialogTrigger,
318
+ Viewport: AlertDialogViewport
319
+ });
320
+
321
+ //#endregion
322
+ //#region src/components/autocomplete/autocomplete.context.ts
323
+ const AutocompleteContext = (0, react.createContext)(null);
324
+
325
+ //#endregion
326
+ //#region src/components/autocomplete/autocomplete.variants.ts
327
+ /** biome-ignore-all assist/source/useSortedKeys: <> */
328
+ const autocompleteVariants = (0, tailwind_variants.tv)({ slots: {
329
+ root: "autcomplete",
330
+ input: "autocomplete__input",
331
+ trigger: "autocomplete__trigger",
332
+ icon: "autocomplete__icon",
333
+ clear: "autocomplete__clear",
334
+ value: "autocomplete__value",
335
+ portal: "autocomplete__portal",
336
+ backdrop: "autocomplete__backdrop",
337
+ positioner: "autocomplete__positioner",
338
+ popup: "autocomplete__popup",
339
+ arrow: "autocomplete__arrow",
340
+ status: "autocomplete__status",
341
+ empty: "autocomplete__empty",
342
+ list: "autocomplete__list",
343
+ row: "autocomplete__row",
344
+ item: "autocomplete__item",
345
+ separator: "autocomplete__separator",
346
+ group: "autocomplete__group",
347
+ groupLabel: "autocomplete__group-label"
348
+ } });
349
+
350
+ //#endregion
351
+ //#region src/components/autocomplete/use-autocomplete.ts
352
+ const useAutocomplete = () => {
353
+ const context = (0, react.useContext)(AutocompleteContext);
354
+ if (!context) throw new Error("useAutocomplete must be used within a AutocompleteProvider");
355
+ return context;
356
+ };
357
+
358
+ //#endregion
359
+ //#region src/components/autocomplete/autocomplete.tsx
360
+ const Autocomplete = ({ ...props }) => {
361
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AutocompleteContext, {
362
+ value: { slots: (0, react.useMemo)(() => autocompleteVariants(), []) },
363
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Root, { ...props })
364
+ });
365
+ };
366
+ const AutocompleteTrigger = ({ className, ...props }) => {
367
+ const { slots } = useAutocomplete();
368
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Trigger, {
369
+ className: (0, tailwind_variants.cn)(slots.trigger(), className),
370
+ ...props
371
+ });
372
+ };
373
+ const AutocompleteInput = ({ className, ...props }) => {
374
+ const { slots } = useAutocomplete();
375
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Input, {
376
+ className: (0, tailwind_variants.cn)(slots.input(), className),
377
+ ...props
378
+ });
379
+ };
380
+ const AutocompleteIcon = ({ className, ...props }) => {
381
+ const { slots } = useAutocomplete();
382
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Icon, {
383
+ className: (0, tailwind_variants.cn)(slots.icon(), className),
384
+ ...props
385
+ });
386
+ };
387
+ const AutocompleteClear = ({ className, ...props }) => {
388
+ const { slots } = useAutocomplete();
389
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Clear, {
390
+ className: (0, tailwind_variants.cn)(slots.clear(), className),
391
+ ...props
392
+ });
393
+ };
394
+ const AutocompleteValue = ({ ...props }) => {
395
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Value, { ...props });
396
+ };
397
+ const AutocompletePortal = ({ className, ...props }) => {
398
+ const { slots } = useAutocomplete();
399
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Portal, {
400
+ className: (0, tailwind_variants.cn)(slots.portal(), className),
401
+ ...props
402
+ });
403
+ };
404
+ const AutocompleteBackdrop = ({ className, ...props }) => {
405
+ const { slots } = useAutocomplete();
406
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Backdrop, {
407
+ className: (0, tailwind_variants.cn)(slots.backdrop(), className),
408
+ ...props
409
+ });
410
+ };
411
+ const AutocompletePositioner = ({ className, ...props }) => {
412
+ const { slots } = useAutocomplete();
413
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Positioner, {
414
+ className: (0, tailwind_variants.cn)(slots.positioner(), className),
415
+ ...props
416
+ });
417
+ };
418
+ const AutocompletePopup = ({ className, ...props }) => {
419
+ const { slots } = useAutocomplete();
420
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Popup, {
421
+ className: (0, tailwind_variants.cn)(slots.popup(), className),
422
+ ...props
423
+ });
424
+ };
425
+ const AutocompleteArrow = ({ className, ...props }) => {
426
+ const { slots } = useAutocomplete();
427
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Arrow, {
428
+ className: (0, tailwind_variants.cn)(slots.arrow(), className),
429
+ ...props
430
+ });
431
+ };
432
+ const AutocompleteStatus = ({ className, ...props }) => {
433
+ const { slots } = useAutocomplete();
434
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Status, {
435
+ className: (0, tailwind_variants.cn)(slots.status(), className),
436
+ ...props
437
+ });
438
+ };
439
+ const AutocompleteEmpty = ({ className, ...props }) => {
440
+ const { slots } = useAutocomplete();
441
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Empty, {
442
+ className: (0, tailwind_variants.cn)(slots.empty(), className),
443
+ ...props
444
+ });
445
+ };
446
+ const AutocompleteList = ({ className, ...props }) => {
447
+ const { slots } = useAutocomplete();
448
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.List, {
449
+ className: (0, tailwind_variants.cn)(slots.list(), className),
450
+ ...props
451
+ });
452
+ };
453
+ const AutocompleteRow = ({ className, ...props }) => {
454
+ const { slots } = useAutocomplete();
455
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Row, {
456
+ className: (0, tailwind_variants.cn)(slots.row(), className),
457
+ ...props
458
+ });
459
+ };
460
+ const AutocompleteItem = ({ className, ...props }) => {
461
+ const { slots } = useAutocomplete();
462
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Item, {
463
+ className: (0, tailwind_variants.cn)(slots.item(), className),
464
+ ...props
465
+ });
466
+ };
467
+ const AutocompleteSeparator = ({ className, ...props }) => {
468
+ const { slots } = useAutocomplete();
469
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Separator, {
470
+ className: (0, tailwind_variants.cn)(slots.separator(), className),
471
+ ...props
472
+ });
473
+ };
474
+ const AutocompleteGroup = ({ className, ...props }) => {
475
+ const { slots } = useAutocomplete();
476
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.Group, {
477
+ className: (0, tailwind_variants.cn)(slots.group(), className),
478
+ ...props
479
+ });
480
+ };
481
+ const AutocompleteGroupLabel = ({ className, ...props }) => {
482
+ const { slots } = useAutocomplete();
483
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Autocomplete.GroupLabel, {
484
+ className: (0, tailwind_variants.cn)(slots.groupLabel(), className),
485
+ ...props
486
+ });
487
+ };
488
+ var autocomplete_default = Object.assign(Autocomplete, {
489
+ Arrow: AutocompleteArrow,
490
+ Backdrop: AutocompleteBackdrop,
491
+ Clear: AutocompleteClear,
492
+ Empty: AutocompleteEmpty,
493
+ Group: AutocompleteGroup,
494
+ GroupLabel: AutocompleteGroupLabel,
495
+ Icon: AutocompleteIcon,
496
+ Input: AutocompleteInput,
497
+ Item: AutocompleteItem,
498
+ List: AutocompleteList,
499
+ Popup: AutocompletePopup,
500
+ Portal: AutocompletePortal,
501
+ Positioner: AutocompletePositioner,
502
+ Root: Autocomplete,
503
+ Row: AutocompleteRow,
504
+ Separator: AutocompleteSeparator,
505
+ Status: AutocompleteStatus,
506
+ Trigger: AutocompleteTrigger,
507
+ Value: AutocompleteValue
508
+ });
509
+
510
+ //#endregion
511
+ //#region src/components/avatar/avatar.context.ts
512
+ const AvatarContext = (0, react.createContext)(null);
513
+
514
+ //#endregion
515
+ //#region src/components/avatar/avatar.variants.ts
516
+ const avatarVariants = (0, tailwind_variants.tv)({
517
+ defaultVariants: { size: "md" },
518
+ slots: {
519
+ fallback: "avatar__fallback",
520
+ image: "avatar__image",
521
+ root: "avatar"
522
+ },
523
+ variants: { size: {
524
+ lg: { root: "avatar--lg" },
525
+ md: { root: "avatar--md" },
526
+ sm: { root: "avatar--sm" }
527
+ } }
528
+ });
529
+
530
+ //#endregion
531
+ //#region src/components/avatar/use-avatar.ts
532
+ const useAvatar = () => {
533
+ const ctx = (0, react.useContext)(AvatarContext);
534
+ if (!ctx) throw new Error("useAvatar must be used within the Avatar component.");
535
+ return ctx;
536
+ };
537
+
538
+ //#endregion
539
+ //#region src/components/avatar/avatar.tsx
540
+ const Avatar = ({ className, size, ...props }) => {
541
+ const slots = (0, react.useMemo)(() => avatarVariants({ size }), [size]);
542
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AvatarContext.Provider, {
543
+ value: { slots },
544
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Avatar.Root, {
545
+ className: (0, tailwind_variants.cn)(className, slots.root()),
546
+ ...props
547
+ })
548
+ });
549
+ };
550
+ const AvatarImage = ({ className, ...props }) => {
551
+ const { slots } = useAvatar();
552
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Avatar.Image, {
553
+ className: (0, tailwind_variants.cn)(className, slots.image()),
554
+ ...props
555
+ });
556
+ };
557
+ const AvatarFallback = ({ className, ...props }) => {
558
+ const { slots } = useAvatar();
559
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Avatar.Fallback, {
560
+ className: (0, tailwind_variants.cn)(className, slots.fallback()),
561
+ ...props
562
+ });
563
+ };
564
+ var avatar_default = Object.assign(Avatar, {
565
+ Fallback: AvatarFallback,
566
+ Image: AvatarImage,
567
+ Root: Avatar
568
+ });
569
+
570
+ //#endregion
571
+ //#region src/components/button/button.variants.ts
572
+ const buttonVariants = (0, tailwind_variants.tv)({
573
+ base: "button",
574
+ defaultVariants: {
575
+ isIconOnly: false,
576
+ size: "md",
577
+ variant: "primary"
578
+ },
579
+ variants: {
580
+ isIconOnly: { true: "button--icon-only" },
581
+ size: {
582
+ lg: "button--lg",
583
+ md: "button--md",
584
+ sm: "button--sm"
585
+ },
586
+ variant: {
587
+ danger: "button--danger",
588
+ ghost: "button--ghost",
589
+ outline: "button--outline",
590
+ primary: "button--primary",
591
+ secondary: "button--secondary"
592
+ }
593
+ }
594
+ });
595
+
596
+ //#endregion
597
+ //#region src/components/button/button.tsx
598
+ const Button = ({ className, variant, size, isIconOnly, ...props }) => {
599
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Button, {
600
+ className: (0, tailwind_variants.cn)(buttonVariants({
601
+ isIconOnly,
602
+ size,
603
+ variant
604
+ }), className),
605
+ ...props
606
+ });
607
+ };
608
+ var button_default = Button;
609
+
610
+ //#endregion
611
+ //#region src/components/button-group/button-group.variants.ts
612
+ const buttonGroupVariants = (0, tailwind_variants.tv)({ base: "button-group" });
613
+
614
+ //#endregion
615
+ //#region src/components/button-group/button-group.tsx
616
+ const ButtonGroup = ({ className, ...props }) => {
617
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
618
+ className: (0, tailwind_variants.cn)(className, buttonGroupVariants()),
619
+ ...props
620
+ });
621
+ };
622
+ var button_group_default = ButtonGroup;
623
+
624
+ //#endregion
625
+ //#region src/components/card/card.context.ts
626
+ const CardContext = (0, react.createContext)(null);
627
+
628
+ //#endregion
629
+ //#region src/components/card/card.variants.ts
630
+ const cardVariants = (0, tailwind_variants.tv)({
631
+ defaultVariants: { variant: "default" },
632
+ slots: {
633
+ content: "card__content",
634
+ description: "card__description",
635
+ header: "card__header",
636
+ root: "card",
637
+ title: "card__title"
638
+ },
639
+ variants: { variant: {
640
+ default: { root: "card--default" },
641
+ transparent: { root: "card--transparent" }
642
+ } }
643
+ });
644
+
645
+ //#endregion
646
+ //#region src/components/card/use-card.ts
647
+ const useCard = () => {
648
+ const ctx = (0, react.useContext)(CardContext);
649
+ if (!ctx) throw new Error("CardContext must be used with in the Card component.");
650
+ return ctx;
651
+ };
652
+
653
+ //#endregion
654
+ //#region src/components/card/card.tsx
655
+ const Card = ({ className, variant, ...props }) => {
656
+ const slots = (0, react.useMemo)(() => cardVariants({ variant }), [variant]);
657
+ console.log(slots);
658
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CardContext.Provider, {
659
+ value: { slots },
660
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
661
+ className: (0, tailwind_variants.cn)(className, slots.root()),
662
+ ...props
663
+ })
664
+ });
665
+ };
666
+ const CardHeader = ({ className, ...props }) => {
667
+ const { slots } = useCard();
668
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
669
+ className: (0, tailwind_variants.cn)(className, slots.header()),
670
+ ...props
671
+ });
672
+ };
673
+ const CardContent = ({ className, ...props }) => {
674
+ const { slots } = useCard();
675
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
676
+ className: (0, tailwind_variants.cn)(className, slots.content()),
677
+ ...props
678
+ });
679
+ };
680
+ const CardTitle = ({ className, ...props }) => {
681
+ const { slots } = useCard();
682
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("h2", {
683
+ className: (0, tailwind_variants.cn)(className, slots.title()),
684
+ ...props
685
+ });
686
+ };
687
+ const CardDescription = ({ className, ...props }) => {
688
+ const { slots } = useCard();
689
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
690
+ className: (0, tailwind_variants.cn)(className, slots.description()),
691
+ ...props
692
+ });
693
+ };
694
+ /** Exports */
695
+ var card_default = Object.assign(Card, {
696
+ Content: CardContent,
697
+ Description: CardDescription,
698
+ Header: CardHeader,
699
+ Root: Card,
700
+ Title: CardTitle
701
+ });
702
+
703
+ //#endregion
704
+ //#region src/components/checkbox/checkbox.context.ts
705
+ const CheckboxContext = (0, react.createContext)(null);
706
+
707
+ //#endregion
708
+ //#region src/components/checkbox/checkbox.variants.ts
709
+ const checkboxVariants = (0, tailwind_variants.tv)({ slots: {
710
+ indicator: "checkbox__indicator",
711
+ root: "checkbox"
712
+ } });
713
+
714
+ //#endregion
715
+ //#region src/components/checkbox/use-checkbox.ts
716
+ const useCheckbox = () => {
717
+ const context = (0, react.useContext)(CheckboxContext);
718
+ if (!context) throw new Error("useCheckbox must be used within a CheckboxProvider");
719
+ return context;
720
+ };
721
+
722
+ //#endregion
723
+ //#region src/components/checkbox/checkbox.tsx
724
+ const Checkbox = ({ className, ...props }) => {
725
+ const slots = (0, react.useMemo)(() => checkboxVariants({}), []);
726
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CheckboxContext, {
727
+ value: { slots },
728
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Checkbox.Root, {
729
+ className: (0, tailwind_variants.cn)(className, slots.root()),
730
+ ...props
731
+ })
732
+ });
733
+ };
734
+ const CheckboxIndicator = ({ className, children, ...props }) => {
735
+ const { slots } = useCheckbox();
736
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Checkbox.Indicator, {
737
+ className: (0, tailwind_variants.cn)(className, slots.indicator()),
738
+ ...props,
739
+ children: children ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucideCheck, {})
740
+ });
741
+ };
742
+ var checkbox_default = Object.assign(Checkbox, {
743
+ Indicator: CheckboxIndicator,
744
+ Root: Checkbox
745
+ });
746
+
747
+ //#endregion
748
+ //#region src/components/checkbox-group/checkbox-group.variants.ts
749
+ const checkboxGroupVariants = (0, tailwind_variants.tv)({ base: "checkbox-group" });
750
+
751
+ //#endregion
752
+ //#region src/components/checkbox-group/checkbox-group.tsx
753
+ const CheckboxGroup = ({ className, ...props }) => {
754
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.CheckboxGroup, {
755
+ className: (0, tailwind_variants.cn)(className, checkboxGroupVariants()),
756
+ ...props
757
+ });
758
+ };
759
+ var checkbox_group_default = CheckboxGroup;
760
+
761
+ //#endregion
762
+ //#region src/components/chip/chip.variants.ts
763
+ const chipVariants = (0, tailwind_variants.tv)({
764
+ base: "chip",
765
+ defaultVariants: {
766
+ size: "md",
767
+ variant: "primary"
768
+ },
769
+ variants: {
770
+ size: {
771
+ lg: "chip--lg",
772
+ md: "chip--md",
773
+ sm: "chip--sm"
774
+ },
775
+ variant: {
776
+ danger: "chip--danger",
777
+ outline: "chip--outline",
778
+ primary: "chip--primary",
779
+ secondary: "chip--secondary",
780
+ success: "chip--success"
781
+ }
782
+ }
783
+ });
784
+
785
+ //#endregion
786
+ //#region src/components/chip/chip.tsx
787
+ const Chip = ({ className, variant, size, ...props }) => {
788
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
789
+ className: (0, tailwind_variants.cn)(className, chipVariants({
790
+ size,
791
+ variant
792
+ })),
793
+ ...props
794
+ });
795
+ };
796
+ var chip_default = Chip;
797
+
798
+ //#endregion
799
+ //#region src/components/collapsible/collapsible.context.ts
800
+ const CollapsibleContext = (0, react.createContext)(null);
801
+
802
+ //#endregion
803
+ //#region src/components/collapsible/collapsible.variants.ts
804
+ const collapsibleVariants = (0, tailwind_variants.tv)({ slots: {
805
+ content: "collapsible__content",
806
+ panel: "collapsible__panel",
807
+ root: "collapsible",
808
+ trigger: "collapsible__trigger",
809
+ triggerIcon: "collapsible__trigger-icon"
810
+ } });
811
+
812
+ //#endregion
813
+ //#region src/components/collapsible/use-collapsible.ts
814
+ const useCollapsible = () => {
815
+ const context = (0, react.useContext)(CollapsibleContext);
816
+ if (!context) throw new Error("useCollapsible must be used within a CollapsibleProvider");
817
+ return context;
818
+ };
819
+
820
+ //#endregion
821
+ //#region src/components/collapsible/collapsible.tsx
822
+ const Collapsible = ({ className, ...props }) => {
823
+ const slots = (0, react.useMemo)(() => collapsibleVariants({}), []);
824
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CollapsibleContext, {
825
+ value: { slots },
826
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Collapsible.Root, {
827
+ className: (0, tailwind_variants.cn)(className, slots.root()),
828
+ ...props
829
+ })
830
+ });
831
+ };
832
+ const CollapsibleTrigger = ({ className, children, ...props }) => {
833
+ const { slots } = useCollapsible();
834
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Collapsible.Trigger, {
835
+ className: (0, tailwind_variants.cn)(className, slots.trigger()),
836
+ ...props,
837
+ children
838
+ });
839
+ };
840
+ const CollapsibleTriggerIcon = ({ className, ...props }) => {
841
+ const { slots } = useCollapsible();
842
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucideChevronDown, {
843
+ className: (0, tailwind_variants.cn)(className, slots.triggerIcon()),
844
+ ...props
845
+ });
846
+ };
847
+ const CollapsiblePanel = ({ className, children, ...props }) => {
848
+ const { slots } = useCollapsible();
849
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Collapsible.Panel, {
850
+ className: (0, tailwind_variants.cn)(className, slots.panel()),
851
+ ...props,
852
+ children
853
+ });
854
+ };
855
+ const CollapsibleContent = ({ className, ...props }) => {
856
+ const { slots } = useCollapsible();
857
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
858
+ className: (0, tailwind_variants.cn)(className, slots.content()),
859
+ ...props
860
+ });
861
+ };
862
+ var collapsible_default = Object.assign(Collapsible, {
863
+ Content: CollapsibleContent,
864
+ Panel: CollapsiblePanel,
865
+ Root: Collapsible,
866
+ Trigger: CollapsibleTrigger,
867
+ TriggerIcon: CollapsibleTriggerIcon
868
+ });
869
+
870
+ //#endregion
871
+ //#region src/components/combobox/combobox.context.ts
872
+ const ComboboxContext = (0, react.createContext)(null);
873
+
874
+ //#endregion
875
+ //#region src/components/combobox/combobox.variants.ts
876
+ /** biome-ignore-all assist/source/useSortedKeys: believe me its better */
877
+ const comboboxVariants = (0, tailwind_variants.tv)({ slots: {
878
+ root: "combobox",
879
+ input: "combobox__input",
880
+ trigger: "combobox__trigger",
881
+ icon: "combobox__icon",
882
+ clear: "combobox__clear",
883
+ value: "combobox__value",
884
+ chips: "combobox__chips",
885
+ chip: "combobox__chip",
886
+ chipRemove: "combobox__chip-remove",
887
+ portal: "combobox__portal",
888
+ backdrop: "combobox__backdrop",
889
+ positioner: "combobox__positioner",
890
+ popup: "combobox__popup",
891
+ arrow: "combobox__arrow",
892
+ status: "combobox__status",
893
+ empty: "combobox__empty",
894
+ list: "combobox__list",
895
+ row: "combobox__row",
896
+ item: "combobox__item",
897
+ itemIndicator: "combobox__item-indicator",
898
+ separator: "combobox__separator",
899
+ group: "combobox__group",
900
+ groupLabel: "combobox__group-label"
901
+ } });
902
+
903
+ //#endregion
904
+ //#region src/components/combobox/use-combobox.ts
905
+ const useCombobox = () => {
906
+ const context = (0, react.useContext)(ComboboxContext);
907
+ if (!context) throw new Error("useCombobox must be used within a ComboboxProvider");
908
+ return context;
909
+ };
910
+
911
+ //#endregion
912
+ //#region src/components/combobox/combobox.tsx
913
+ const Combobox = ({ ...props }) => {
914
+ const slots = (0, react.useMemo)(() => comboboxVariants(), []);
915
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ComboboxContext.Provider, {
916
+ value: { slots },
917
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.Root, { ...props })
918
+ });
919
+ };
920
+ const ComboboxInput = ({ className, ...props }) => {
921
+ const { slots } = useCombobox();
922
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.Input, {
923
+ className: (0, tailwind_variants.cn)(slots.input(), className),
924
+ ...props
925
+ });
926
+ };
927
+ const ComboboxTrigger = ({ className, children, ...props }) => {
928
+ const { slots } = useCombobox();
929
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_base_ui_react.Combobox.Trigger, {
930
+ className: (0, tailwind_variants.cn)(slots.trigger(), className),
931
+ ...props,
932
+ children: [children, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.Icon, {
933
+ className: slots.icon(),
934
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronDown, {})
935
+ })]
936
+ });
937
+ };
938
+ const ComboboxValue = ({ ...props }) => {
939
+ const { slots } = useCombobox();
940
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
941
+ className: (0, tailwind_variants.cn)(slots.value()),
942
+ ...props
943
+ });
944
+ };
945
+ const ComboboxClear = ({ className, ...props }) => {
946
+ const { slots } = useCombobox();
947
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.Clear, {
948
+ className: (0, tailwind_variants.cn)(slots.clear(), className),
949
+ ...props,
950
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.X, { className: "h-4 w-4" })
951
+ });
952
+ };
953
+ const ComboboxChips = ({ className, ...props }) => {
954
+ const { slots } = useCombobox();
955
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.Chips, {
956
+ className: (0, tailwind_variants.cn)(slots.chips(), className),
957
+ ...props
958
+ });
959
+ };
960
+ const ComboboxChip = ({ className, children, ...props }) => {
961
+ const { slots } = useCombobox();
962
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_base_ui_react.Combobox.Chip, {
963
+ className: (0, tailwind_variants.cn)(slots.chip(), className),
964
+ ...props,
965
+ children: [children, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.ChipRemove, { className: slots.chipRemove() })]
966
+ });
967
+ };
968
+ const ComboboxChipRemove = ({ className, ...props }) => {
969
+ const { slots } = useCombobox();
970
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.ChipRemove, {
971
+ className: (0, tailwind_variants.cn)(slots.chipRemove(), className),
972
+ ...props
973
+ });
974
+ };
975
+ const ComboboxPortal = ({ ...props }) => {
976
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.Portal, { ...props });
977
+ };
978
+ const ComboboxBackdrop = ({ className, ...props }) => {
979
+ const { slots } = useCombobox();
980
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.Backdrop, {
981
+ className: (0, tailwind_variants.cn)(slots.backdrop(), className),
982
+ ...props
983
+ });
984
+ };
985
+ const ComboboxPositioner = ({ className, ...props }) => {
986
+ const { slots } = useCombobox();
987
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.Positioner, {
988
+ className: (0, tailwind_variants.cn)(slots.positioner(), className),
989
+ ...props
990
+ });
991
+ };
992
+ const ComboboxPopup = ({ className, ...props }) => {
993
+ const { slots } = useCombobox();
994
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.Popup, {
995
+ className: (0, tailwind_variants.cn)(slots.popup(), className),
996
+ ...props
997
+ });
998
+ };
999
+ const ComboboxArrow = ({ className, ...props }) => {
1000
+ const { slots } = useCombobox();
1001
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.Arrow, {
1002
+ className: (0, tailwind_variants.cn)(slots.arrow(), className),
1003
+ ...props
1004
+ });
1005
+ };
1006
+ const ComboboxStatus = ({ className, ...props }) => {
1007
+ const { slots } = useCombobox();
1008
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.Status, {
1009
+ className: (0, tailwind_variants.cn)(slots.status(), className),
1010
+ ...props
1011
+ });
1012
+ };
1013
+ const ComboboxEmpty = ({ className, ...props }) => {
1014
+ const { slots } = useCombobox();
1015
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.Empty, {
1016
+ className: (0, tailwind_variants.cn)(slots.empty(), className),
1017
+ ...props
1018
+ });
1019
+ };
1020
+ const ComboboxList = ({ className, ...props }) => {
1021
+ const { slots } = useCombobox();
1022
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.List, {
1023
+ className: (0, tailwind_variants.cn)(slots.list(), className),
1024
+ ...props
1025
+ });
1026
+ };
1027
+ const ComboboxRow = ({ className, ...props }) => {
1028
+ const { slots } = useCombobox();
1029
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.Row, {
1030
+ className: (0, tailwind_variants.cn)(slots.row(), className),
1031
+ ...props
1032
+ });
1033
+ };
1034
+ const ComboboxItemIndicator = ({ className, children, ...props }) => {
1035
+ const { slots } = useCombobox();
1036
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.ItemIndicator, {
1037
+ className: (0, tailwind_variants.cn)(slots.itemIndicator(), className),
1038
+ ...props,
1039
+ children: children ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Check, {})
1040
+ });
1041
+ };
1042
+ const ComboboxItem = ({ className, children, ...props }) => {
1043
+ const { slots } = useCombobox();
1044
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_base_ui_react.Combobox.Item, {
1045
+ className: (0, tailwind_variants.cn)(slots.item(), className),
1046
+ ...props,
1047
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(ComboboxItemIndicator, {}), children]
1048
+ });
1049
+ };
1050
+ const ComboboxSeparator = ({ className, ...props }) => {
1051
+ const { slots } = useCombobox();
1052
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.Separator, {
1053
+ className: (0, tailwind_variants.cn)(slots.separator(), className),
1054
+ ...props
1055
+ });
1056
+ };
1057
+ const ComboboxGroup = ({ className, ...props }) => {
1058
+ const { slots } = useCombobox();
1059
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.Group, {
1060
+ className: (0, tailwind_variants.cn)(slots.group(), className),
1061
+ ...props
1062
+ });
1063
+ };
1064
+ const ComboboxGroupLabel = ({ className, ...props }) => {
1065
+ const { slots } = useCombobox();
1066
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Combobox.GroupLabel, {
1067
+ className: (0, tailwind_variants.cn)(slots.groupLabel(), className),
1068
+ ...props
1069
+ });
1070
+ };
1071
+ var combobox_default = Object.assign(Combobox, {
1072
+ Arrow: ComboboxArrow,
1073
+ Backdrop: ComboboxBackdrop,
1074
+ Chip: ComboboxChip,
1075
+ ChipRemove: ComboboxChipRemove,
1076
+ Chips: ComboboxChips,
1077
+ Clear: ComboboxClear,
1078
+ Empty: ComboboxEmpty,
1079
+ Group: ComboboxGroup,
1080
+ GroupLabel: ComboboxGroupLabel,
1081
+ Input: ComboboxInput,
1082
+ Item: ComboboxItem,
1083
+ ItemIndicator: ComboboxItemIndicator,
1084
+ List: ComboboxList,
1085
+ Popup: ComboboxPopup,
1086
+ Portal: ComboboxPortal,
1087
+ Positioner: ComboboxPositioner,
1088
+ Root: Combobox,
1089
+ Row: ComboboxRow,
1090
+ Separator: ComboboxSeparator,
1091
+ Status: ComboboxStatus,
1092
+ Trigger: ComboboxTrigger,
1093
+ Value: ComboboxValue
1094
+ });
1095
+
1096
+ //#endregion
1097
+ //#region src/components/container/container.variants.ts
1098
+ const containerVariants = (0, tailwind_variants.tv)({ base: "container" });
1099
+
1100
+ //#endregion
1101
+ //#region src/components/container/container.tsx
1102
+ const Container = ({ className, ...props }) => {
1103
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
1104
+ className: (0, tailwind_variants.cn)(className, containerVariants()),
1105
+ ...props
1106
+ });
1107
+ };
1108
+ var container_default = Container;
1109
+
1110
+ //#endregion
1111
+ //#region src/components/context-menu/context-menu.context.ts
1112
+ const ContextMenuContext = (0, react.createContext)(null);
1113
+
1114
+ //#endregion
1115
+ //#region src/components/context-menu/context-menu.variants.ts
1116
+ /** biome-ignore-all assist/source/useSortedKeys: <> */
1117
+ const contextMenuVariants = (0, tailwind_variants.tv)({ slots: {
1118
+ root: "context-menu",
1119
+ trigger: "context-menu__trigger",
1120
+ portal: "context-menu__portal",
1121
+ backdrop: "context-menu__backdrop",
1122
+ positioner: "context-menu__positioner",
1123
+ popup: "context-menu__popup",
1124
+ arrow: "context-menu__arrow",
1125
+ item: "context-menu__item",
1126
+ separator: "context-menu__separator",
1127
+ group: "context-menu__group",
1128
+ groupLabel: "context-menu__group-label",
1129
+ submenu: "context-menu__submenu",
1130
+ submenuTrigger: "context-menu__submenu-trigger"
1131
+ } });
1132
+
1133
+ //#endregion
1134
+ //#region src/components/context-menu/use-context-menu.ts
1135
+ const useContextMenu = () => {
1136
+ const context = (0, react.useContext)(ContextMenuContext);
1137
+ if (!context) throw new Error("useContextMenu must be used within a ContextMenuProvider");
1138
+ return context;
1139
+ };
1140
+
1141
+ //#endregion
1142
+ //#region src/components/context-menu/context-menu.tsx
1143
+ const ContextMenu = ({ ...props }) => {
1144
+ const slots = (0, react.useMemo)(() => contextMenuVariants(), []);
1145
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ContextMenuContext.Provider, {
1146
+ value: { slots },
1147
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ContextMenu.Root, { ...props })
1148
+ });
1149
+ };
1150
+ const ContextMenuTrigger = ({ className, ...props }) => {
1151
+ const { slots } = useContextMenu();
1152
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ContextMenu.Trigger, {
1153
+ className: (0, tailwind_variants.cn)(slots.trigger(), className),
1154
+ ...props
1155
+ });
1156
+ };
1157
+ const ContextMenuPortal = ({ className, ...props }) => {
1158
+ const { slots } = useContextMenu();
1159
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ContextMenu.Portal, {
1160
+ className: (0, tailwind_variants.cn)(slots.portal(), className),
1161
+ ...props
1162
+ });
1163
+ };
1164
+ const ContextMenuBackdrop = ({ className, ...props }) => {
1165
+ const { slots } = useContextMenu();
1166
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ContextMenu.Backdrop, {
1167
+ className: (0, tailwind_variants.cn)(slots.backdrop(), className),
1168
+ ...props
1169
+ });
1170
+ };
1171
+ const ContextMenuPositioner = ({ className, ...props }) => {
1172
+ const { slots } = useContextMenu();
1173
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ContextMenu.Positioner, {
1174
+ className: (0, tailwind_variants.cn)(slots.positioner(), className),
1175
+ ...props
1176
+ });
1177
+ };
1178
+ const ContextMenuPopup = ({ className, ...props }) => {
1179
+ const { slots } = useContextMenu();
1180
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ContextMenu.Popup, {
1181
+ className: (0, tailwind_variants.cn)(slots.popup(), className),
1182
+ ...props
1183
+ });
1184
+ };
1185
+ const ContextMenuArrow = ({ className, ...props }) => {
1186
+ const { slots } = useContextMenu();
1187
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ContextMenu.Arrow, {
1188
+ className: (0, tailwind_variants.cn)(slots.arrow(), className),
1189
+ ...props
1190
+ });
1191
+ };
1192
+ const ContextMenuItem = ({ className, ...props }) => {
1193
+ const { slots } = useContextMenu();
1194
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ContextMenu.Item, {
1195
+ className: (0, tailwind_variants.cn)(slots.item(), className),
1196
+ ...props
1197
+ });
1198
+ };
1199
+ const ContextMenuSeparator = ({ className, ...props }) => {
1200
+ const { slots } = useContextMenu();
1201
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ContextMenu.Separator, {
1202
+ className: (0, tailwind_variants.cn)(slots.separator(), className),
1203
+ ...props
1204
+ });
1205
+ };
1206
+ const ContextMenuGroup = ({ className, ...props }) => {
1207
+ const { slots } = useContextMenu();
1208
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ContextMenu.Group, {
1209
+ className: (0, tailwind_variants.cn)(slots.group(), className),
1210
+ ...props
1211
+ });
1212
+ };
1213
+ const ContextMenuGroupLabel = ({ className, ...props }) => {
1214
+ const { slots } = useContextMenu();
1215
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ContextMenu.GroupLabel, {
1216
+ className: (0, tailwind_variants.cn)(slots.groupLabel(), className),
1217
+ ...props
1218
+ });
1219
+ };
1220
+ const ContextMenuSubmenu = ({ ...props }) => {
1221
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ContextMenu.SubmenuRoot, { ...props });
1222
+ };
1223
+ const ContextMenuSubmenuTrigger = ({ className, children, ...props }) => {
1224
+ const { slots } = useContextMenu();
1225
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ContextMenu.SubmenuTrigger, {
1226
+ className: (0, tailwind_variants.cn)(slots.submenuTrigger(), className),
1227
+ ...props,
1228
+ children
1229
+ });
1230
+ };
1231
+ var context_menu_default = Object.assign(ContextMenu, {
1232
+ Arrow: ContextMenuArrow,
1233
+ Backdrop: ContextMenuBackdrop,
1234
+ Group: ContextMenuGroup,
1235
+ GroupLabel: ContextMenuGroupLabel,
1236
+ Item: ContextMenuItem,
1237
+ Popup: ContextMenuPopup,
1238
+ Portal: ContextMenuPortal,
1239
+ Positioner: ContextMenuPositioner,
1240
+ Root: ContextMenu,
1241
+ Separator: ContextMenuSeparator,
1242
+ SubmenuRoot: ContextMenuSubmenu,
1243
+ SubmenuTrigger: ContextMenuSubmenuTrigger,
1244
+ Trigger: ContextMenuTrigger
1245
+ });
1246
+
1247
+ //#endregion
1248
+ //#region src/components/dialog/dialog.context.ts
1249
+ const DialogContext = (0, react.createContext)(null);
1250
+
1251
+ //#endregion
1252
+ //#region src/components/dialog/dialog.variants.ts
1253
+ const dialogVariants = (0, tailwind_variants.tv)({ slots: {
1254
+ backdrop: "dialog__backdrop",
1255
+ close: "dialog__close",
1256
+ description: "dialog__description",
1257
+ popup: "dialog__popup",
1258
+ portal: "dialog__portal",
1259
+ root: "dialog",
1260
+ title: "dialog__title",
1261
+ trigger: "dialog__trigger",
1262
+ viewport: "dialog__viewport"
1263
+ } });
1264
+
1265
+ //#endregion
1266
+ //#region src/components/dialog/use-dialog.ts
1267
+ const useDialog = () => {
1268
+ const context = (0, react.useContext)(DialogContext);
1269
+ if (!context) throw new Error("useDialog must be used within a DialogProvider");
1270
+ return context;
1271
+ };
1272
+
1273
+ //#endregion
1274
+ //#region src/components/dialog/dialog.tsx
1275
+ const Dialog = ({ ...props }) => {
1276
+ const slots = (0, react.useMemo)(() => dialogVariants(), []);
1277
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DialogContext.Provider, {
1278
+ value: { slots },
1279
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Root, { ...props })
1280
+ });
1281
+ };
1282
+ const DialogTrigger = ({ className, ...props }) => {
1283
+ const { slots } = useDialog();
1284
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Trigger, {
1285
+ className: (0, tailwind_variants.cn)(slots.trigger(), className),
1286
+ ...props
1287
+ });
1288
+ };
1289
+ const DialogPortal = ({ className, ...props }) => {
1290
+ const { slots } = useDialog();
1291
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Portal, {
1292
+ className: (0, tailwind_variants.cn)(slots.portal(), className),
1293
+ ...props
1294
+ });
1295
+ };
1296
+ const DialogBackdrop = ({ className, ...props }) => {
1297
+ const { slots } = useDialog();
1298
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Backdrop, {
1299
+ className: (0, tailwind_variants.cn)(slots.backdrop(), className),
1300
+ ...props
1301
+ });
1302
+ };
1303
+ const DialogViewport = ({ className, ...props }) => {
1304
+ const { slots } = useDialog();
1305
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Viewport, {
1306
+ className: (0, tailwind_variants.cn)(slots.viewport(), className),
1307
+ ...props
1308
+ });
1309
+ };
1310
+ const DialogPopup = ({ className, ...props }) => {
1311
+ const { slots } = useDialog();
1312
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Popup, {
1313
+ className: (0, tailwind_variants.cn)(slots.popup(), className),
1314
+ ...props
1315
+ });
1316
+ };
1317
+ const DialogTitle = ({ className, ...props }) => {
1318
+ const { slots } = useDialog();
1319
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Title, {
1320
+ className: (0, tailwind_variants.cn)(slots.title(), className),
1321
+ ...props
1322
+ });
1323
+ };
1324
+ const DialogDescription = ({ className, ...props }) => {
1325
+ const { slots } = useDialog();
1326
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Description, {
1327
+ className: (0, tailwind_variants.cn)(slots.description(), className),
1328
+ ...props
1329
+ });
1330
+ };
1331
+ const DialogClose = ({ className, ...props }) => {
1332
+ const { slots } = useDialog();
1333
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Close, {
1334
+ className: (0, tailwind_variants.cn)(slots.close(), className),
1335
+ ...props,
1336
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucideX, {})
1337
+ });
1338
+ };
1339
+ var dialog_default = Object.assign(Dialog, {
1340
+ Backdrop: DialogBackdrop,
1341
+ Close: DialogClose,
1342
+ Description: DialogDescription,
1343
+ Popup: DialogPopup,
1344
+ Portal: DialogPortal,
1345
+ Root: Dialog,
1346
+ Title: DialogTitle,
1347
+ Trigger: DialogTrigger,
1348
+ Viewport: DialogViewport
1349
+ });
1350
+
1351
+ //#endregion
1352
+ //#region src/components/drawer/drawer.context.ts
1353
+ const DrawerContext = (0, react.createContext)(null);
1354
+
1355
+ //#endregion
1356
+ //#region src/components/drawer/drawer.variants.ts
1357
+ const drawerVariants = (0, tailwind_variants.tv)({
1358
+ defaultVariants: { position: "left" },
1359
+ slots: {
1360
+ backdrop: "drawer__backdrop",
1361
+ close: "drawer__close",
1362
+ description: "drawer__description",
1363
+ popup: "drawer__popup",
1364
+ portal: "drawer__portal",
1365
+ root: "drawer",
1366
+ title: "drawer__title",
1367
+ trigger: "drawer__trigger",
1368
+ viewport: "drawer__viewport"
1369
+ },
1370
+ variants: { position: {
1371
+ bottom: { popup: "drawer--bottom" },
1372
+ left: { popup: "drawer--left" },
1373
+ right: { popup: "drawer--right" },
1374
+ top: { popup: "drawer--top" }
1375
+ } }
1376
+ });
1377
+
1378
+ //#endregion
1379
+ //#region src/components/drawer/use-drawer.ts
1380
+ const useDrawer = () => {
1381
+ const context = (0, react.useContext)(DrawerContext);
1382
+ if (!context) throw new Error("useDrawer must be used within a DrawerProvider");
1383
+ return context;
1384
+ };
1385
+
1386
+ //#endregion
1387
+ //#region src/components/drawer/drawer.tsx
1388
+ const Drawer = ({ position, ...props }) => {
1389
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DrawerContext, {
1390
+ value: { slots: (0, react.useMemo)(() => drawerVariants({ position }), [position]) },
1391
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Root, { ...props })
1392
+ });
1393
+ };
1394
+ const DrawerTrigger = ({ className, ...props }) => {
1395
+ const { slots } = useDrawer();
1396
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Trigger, {
1397
+ className: (0, tailwind_variants.cn)(slots.trigger(), className),
1398
+ ...props
1399
+ });
1400
+ };
1401
+ const DrawerPortal = ({ className, ...props }) => {
1402
+ const { slots } = useDrawer();
1403
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Portal, {
1404
+ className: (0, tailwind_variants.cn)(slots.portal(), className),
1405
+ ...props
1406
+ });
1407
+ };
1408
+ const DrawerBackdrop = ({ className, ...props }) => {
1409
+ const { slots } = useDrawer();
1410
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Backdrop, {
1411
+ className: (0, tailwind_variants.cn)(slots.backdrop(), className),
1412
+ ...props
1413
+ });
1414
+ };
1415
+ const DrawerViewport = ({ className, ...props }) => {
1416
+ const { slots } = useDrawer();
1417
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Viewport, {
1418
+ className: (0, tailwind_variants.cn)(slots.viewport(), className),
1419
+ ...props
1420
+ });
1421
+ };
1422
+ const DrawerPopup = ({ className, ...props }) => {
1423
+ const { slots } = useDrawer();
1424
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Popup, {
1425
+ className: (0, tailwind_variants.cn)(slots.popup(), className),
1426
+ ...props
1427
+ });
1428
+ };
1429
+ const DrawerTitle = ({ className, ...props }) => {
1430
+ const { slots } = useDrawer();
1431
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Title, {
1432
+ className: (0, tailwind_variants.cn)(slots.title(), className),
1433
+ ...props
1434
+ });
1435
+ };
1436
+ const DrawerDescription = ({ className, ...props }) => {
1437
+ const { slots } = useDrawer();
1438
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Description, {
1439
+ className: (0, tailwind_variants.cn)(slots.description(), className),
1440
+ ...props
1441
+ });
1442
+ };
1443
+ const DrawerClose = ({ className, children, ...props }) => {
1444
+ const { slots } = useDrawer();
1445
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Dialog.Close, {
1446
+ className: (0, tailwind_variants.cn)(slots.close(), className),
1447
+ ...props,
1448
+ children: children ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucideX, {})
1449
+ });
1450
+ };
1451
+ var drawer_default = Object.assign(Drawer, {
1452
+ Backdrop: DrawerBackdrop,
1453
+ Close: DrawerClose,
1454
+ Description: DrawerDescription,
1455
+ Popup: DrawerPopup,
1456
+ Portal: DrawerPortal,
1457
+ Root: Drawer,
1458
+ Title: DrawerTitle,
1459
+ Trigger: DrawerTrigger,
1460
+ Viewport: DrawerViewport
1461
+ });
1462
+
1463
+ //#endregion
1464
+ //#region src/components/field/field.context.ts
1465
+ const FieldContext = (0, react.createContext)(null);
1466
+
1467
+ //#endregion
1468
+ //#region src/components/field/field.variants.ts
1469
+ const fieldVariants = (0, tailwind_variants.tv)({ slots: {
1470
+ control: "input field__control",
1471
+ description: "field__description",
1472
+ error: "field__error",
1473
+ label: "label field__label",
1474
+ root: "field"
1475
+ } });
1476
+
1477
+ //#endregion
1478
+ //#region src/components/field/use-field.ts
1479
+ const useField = () => {
1480
+ const context = (0, react.useContext)(FieldContext);
1481
+ if (!context) throw new Error("useField must be used within a FieldProvider");
1482
+ return context;
1483
+ };
1484
+
1485
+ //#endregion
1486
+ //#region src/components/field/field.tsx
1487
+ const FieldRoot = ({ className, required, ...props }) => {
1488
+ const slots = (0, react.useMemo)(() => fieldVariants({}), []);
1489
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FieldContext, {
1490
+ value: {
1491
+ required,
1492
+ slots
1493
+ },
1494
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Field.Root, {
1495
+ className: (0, tailwind_variants.cn)(className, slots.root()),
1496
+ "data-required": required,
1497
+ ...props
1498
+ })
1499
+ });
1500
+ };
1501
+ const FieldLabel = ({ className, ...props }) => {
1502
+ const { slots } = useField();
1503
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Field.Label, {
1504
+ className: (0, tailwind_variants.cn)(className, slots.label()),
1505
+ ...props
1506
+ });
1507
+ };
1508
+ const FieldControl = ({ className, ...props }) => {
1509
+ const { slots, required } = useField();
1510
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Field.Control, {
1511
+ className: (0, tailwind_variants.cn)(className, slots.control()),
1512
+ required,
1513
+ ...props
1514
+ });
1515
+ };
1516
+ const FieldDescription = ({ className, ...props }) => {
1517
+ const { slots } = useField();
1518
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Field.Description, {
1519
+ className: (0, tailwind_variants.cn)(className, slots.description()),
1520
+ ...props
1521
+ });
1522
+ };
1523
+ const FieldError = ({ className, ...props }) => {
1524
+ const { slots } = useField();
1525
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Field.Error, {
1526
+ className: (0, tailwind_variants.cn)(className, slots.error()),
1527
+ ...props
1528
+ });
1529
+ };
1530
+ var field_default = Object.assign(FieldRoot, {
1531
+ Control: FieldControl,
1532
+ Description: FieldDescription,
1533
+ Error: FieldError,
1534
+ Label: FieldLabel,
1535
+ Root: FieldRoot
1536
+ });
1537
+
1538
+ //#endregion
1539
+ //#region src/components/fieldset/fieldset.context.ts
1540
+ const FieldsetContext = (0, react.createContext)(null);
1541
+
1542
+ //#endregion
1543
+ //#region src/components/fieldset/fieldset.variants.ts
1544
+ const fieldsetVariants = (0, tailwind_variants.tv)({ slots: {
1545
+ legend: "fieldset__legend",
1546
+ root: "fieldset"
1547
+ } });
1548
+
1549
+ //#endregion
1550
+ //#region src/components/fieldset/use-fieldset.ts
1551
+ const useFieldset = () => {
1552
+ const context = (0, react.useContext)(FieldsetContext);
1553
+ if (!context) throw new Error("useFieldset must be used within a FieldsetProvider");
1554
+ return context;
1555
+ };
1556
+
1557
+ //#endregion
1558
+ //#region src/components/fieldset/fieldset.tsx
1559
+ const Fieldset = ({ className, ...props }) => {
1560
+ const slots = (0, react.useMemo)(() => fieldsetVariants(), []);
1561
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FieldsetContext, {
1562
+ value: { slots },
1563
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Fieldset.Root, {
1564
+ className: (0, tailwind_variants.cn)(className, slots.root()),
1565
+ ...props
1566
+ })
1567
+ });
1568
+ };
1569
+ const FieldsetLegend = ({ className, ...props }) => {
1570
+ const { slots } = useFieldset();
1571
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Fieldset.Legend, {
1572
+ className: (0, tailwind_variants.cn)(slots.legend(), className),
1573
+ ...props
1574
+ });
1575
+ };
1576
+ var fieldset_default = Object.assign(Fieldset, {
1577
+ Legend: FieldsetLegend,
1578
+ Root: Fieldset
1579
+ });
1580
+
1581
+ //#endregion
1582
+ //#region src/components/form/form.variants.ts
1583
+ const formVariants = (0, tailwind_variants.tv)({ base: "form" });
1584
+
1585
+ //#endregion
1586
+ //#region src/components/form/form.tsx
1587
+ const Form = ({ className, ...props }) => {
1588
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Form, {
1589
+ className: (0, tailwind_variants.cn)(className, formVariants()),
1590
+ ...props
1591
+ });
1592
+ };
1593
+ var form_default = Form;
1594
+
1595
+ //#endregion
1596
+ //#region src/components/icon-button/icon-button.variants.ts
1597
+ const iconButtonVariants = (0, tailwind_variants.tv)({
1598
+ base: "icon-button",
1599
+ defaultVariants: { isIconOnly: true },
1600
+ extend: buttonVariants
1601
+ });
1602
+
1603
+ //#endregion
1604
+ //#region src/components/icon-button/icon-button.tsx
1605
+ const IconButton = ({ className, variant, size, isIconOnly, ...props }) => {
1606
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(button_default, {
1607
+ className: (0, tailwind_variants.cn)(className, iconButtonVariants({
1608
+ isIconOnly,
1609
+ size,
1610
+ variant
1611
+ })),
1612
+ ...props
1613
+ });
1614
+ };
1615
+ var icon_button_default = IconButton;
1616
+
1617
+ //#endregion
1618
+ //#region src/components/input/input.variants.ts
1619
+ const inputVariants = (0, tailwind_variants.tv)({ base: "input" });
1620
+
1621
+ //#endregion
1622
+ //#region src/components/input/input.tsx
1623
+ const Input = ({ className, ...props }) => {
1624
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Input, {
1625
+ className: (0, tailwind_variants.cn)(className, inputVariants()),
1626
+ ...props
1627
+ });
1628
+ };
1629
+ var input_default = Input;
1630
+
1631
+ //#endregion
1632
+ //#region src/components/label/label.variants.ts
1633
+ const labelVariants = (0, tailwind_variants.tv)({ base: "label" });
1634
+
1635
+ //#endregion
1636
+ //#region src/components/label/label.tsx
1637
+ const Label = ({ className, ...props }) => {
1638
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
1639
+ className: (0, tailwind_variants.cn)(className, labelVariants()),
1640
+ ...props
1641
+ });
1642
+ };
1643
+ var label_default = Label;
1644
+
1645
+ //#endregion
1646
+ //#region src/components/link/link.variants.ts
1647
+ const linkVariants = (0, tailwind_variants.tv)({
1648
+ base: "link",
1649
+ defaultVariants: { variant: "no-underline" },
1650
+ variants: { variant: {
1651
+ "no-underline": "link--no-underline",
1652
+ underline: "link--underline"
1653
+ } }
1654
+ });
1655
+
1656
+ //#endregion
1657
+ //#region src/components/link/link.tsx
1658
+ const Link = ({ className, variant, ...props }) => {
1659
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
1660
+ className: (0, tailwind_variants.cn)(className, linkVariants({ variant })),
1661
+ ...props
1662
+ });
1663
+ };
1664
+ var link_default = Link;
1665
+
1666
+ //#endregion
1667
+ //#region src/components/list/list.context.ts
1668
+ const ListContext = (0, react.createContext)(null);
1669
+
1670
+ //#endregion
1671
+ //#region src/components/list/list.variants.ts
1672
+ const listVariants = (0, tailwind_variants.tv)({ slots: {
1673
+ item: "list__item",
1674
+ root: "list"
1675
+ } });
1676
+
1677
+ //#endregion
1678
+ //#region src/components/list/use-list.ts
1679
+ const useList = () => {
1680
+ const context = (0, react.useContext)(ListContext);
1681
+ if (!context) throw new Error("useList must be used within a ListProvider");
1682
+ return context;
1683
+ };
1684
+
1685
+ //#endregion
1686
+ //#region src/components/list/list.tsx
1687
+ const List = ({ className, ...props }) => {
1688
+ const slots = (0, react.useMemo)(() => listVariants(), []);
1689
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ListContext.Provider, {
1690
+ value: { slots },
1691
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
1692
+ className: (0, tailwind_variants.cn)(className, slots.root()),
1693
+ ...props
1694
+ })
1695
+ });
1696
+ };
1697
+ const ListItem = ({ className, ...props }) => {
1698
+ const { slots } = useList();
1699
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
1700
+ className: (0, tailwind_variants.cn)(className, slots.item()),
1701
+ ...props
1702
+ });
1703
+ };
1704
+ var list_default = Object.assign(List, {
1705
+ Item: ListItem,
1706
+ Root: List
1707
+ });
1708
+
1709
+ //#endregion
1710
+ //#region src/components/menu/menu.context.ts
1711
+ const MenuContext = (0, react.createContext)(null);
1712
+
1713
+ //#endregion
1714
+ //#region src/components/menu/menu.variants.ts
1715
+ const menuVariants = (0, tailwind_variants.tv)({ slots: {
1716
+ arrow: "menu__arrow",
1717
+ backdrop: "menu__backdrop",
1718
+ checkboxItem: "menu__checkbox-item",
1719
+ group: "menu__group",
1720
+ groupLabel: "menu__group-label",
1721
+ item: "menu__item",
1722
+ popup: "menu__popup",
1723
+ portal: "menu__portal",
1724
+ positioner: "menu__positioner",
1725
+ radioGroup: "menu__radio-group",
1726
+ radioItem: "menu__radio-item",
1727
+ root: "menu",
1728
+ separator: "menu__separator",
1729
+ submenu: "menu__submenu",
1730
+ submenuTrigger: "menu__submenu__trigger",
1731
+ trigger: "menu__trigger"
1732
+ } });
1733
+
1734
+ //#endregion
1735
+ //#region src/components/menu/use-menu.ts
1736
+ const useMenu = () => {
1737
+ const context = (0, react.useContext)(MenuContext);
1738
+ if (!context) throw new Error("useMenu must be used within a MenuProvider");
1739
+ return context;
1740
+ };
1741
+
1742
+ //#endregion
1743
+ //#region src/components/menu/menu.tsx
1744
+ const Menu = ({ ...props }) => {
1745
+ const slots = (0, react.useMemo)(() => menuVariants(), []);
1746
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MenuContext.Provider, {
1747
+ value: { slots },
1748
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Menu.Root, { ...props })
1749
+ });
1750
+ };
1751
+ const MenuTrigger = ({ className, ...props }) => {
1752
+ const { slots } = useMenu();
1753
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Menu.Trigger, {
1754
+ className: (0, tailwind_variants.cn)(slots.trigger(), className),
1755
+ ...props
1756
+ });
1757
+ };
1758
+ const MenuPortal = ({ className, ...props }) => {
1759
+ const { slots } = useMenu();
1760
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Menu.Portal, {
1761
+ className: (0, tailwind_variants.cn)(slots.portal(), className),
1762
+ ...props
1763
+ });
1764
+ };
1765
+ const MenuBackdrop = ({ className, ...props }) => {
1766
+ const { slots } = useMenu();
1767
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Menu.Backdrop, {
1768
+ className: (0, tailwind_variants.cn)(slots.backdrop(), className),
1769
+ ...props
1770
+ });
1771
+ };
1772
+ const MenuPositioner = ({ className, ...props }) => {
1773
+ const { slots } = useMenu();
1774
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Menu.Positioner, {
1775
+ className: (0, tailwind_variants.cn)(slots.positioner(), className),
1776
+ ...props
1777
+ });
1778
+ };
1779
+ const MenuPopup = ({ className, ...props }) => {
1780
+ const { slots } = useMenu();
1781
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Menu.Popup, {
1782
+ className: (0, tailwind_variants.cn)(slots.popup(), className),
1783
+ ...props
1784
+ });
1785
+ };
1786
+ const MenuArrow = ({ className, children, ...props }) => {
1787
+ const { slots } = useMenu();
1788
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Menu.Arrow, {
1789
+ className: (0, tailwind_variants.cn)(slots.arrow(), className),
1790
+ ...props,
1791
+ children: children ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucideChevronUp, {})
1792
+ });
1793
+ };
1794
+ const MenuItem = ({ className, ...props }) => {
1795
+ const { slots } = useMenu();
1796
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Menu.Item, {
1797
+ className: (0, tailwind_variants.cn)(slots.item(), className),
1798
+ ...props
1799
+ });
1800
+ };
1801
+ const MenuSeparator = ({ className, ...props }) => {
1802
+ const { slots } = useMenu();
1803
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Menu.Separator, {
1804
+ className: (0, tailwind_variants.cn)(slots.separator(), className),
1805
+ ...props
1806
+ });
1807
+ };
1808
+ const MenuGroup = ({ className, ...props }) => {
1809
+ const { slots } = useMenu();
1810
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Menu.Group, {
1811
+ className: (0, tailwind_variants.cn)(slots.group(), className),
1812
+ ...props
1813
+ });
1814
+ };
1815
+ const MenuGroupLabel = ({ className, ...props }) => {
1816
+ const { slots } = useMenu();
1817
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Menu.GroupLabel, {
1818
+ className: (0, tailwind_variants.cn)(slots.groupLabel(), className),
1819
+ ...props
1820
+ });
1821
+ };
1822
+ const MenuRadioGroup = ({ className, ...props }) => {
1823
+ const { slots } = useMenu();
1824
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Menu.RadioGroup, {
1825
+ className: (0, tailwind_variants.cn)(slots.radioGroup(), className),
1826
+ ...props
1827
+ });
1828
+ };
1829
+ const MenuRadioItem = ({ className, ...props }) => {
1830
+ const { slots } = useMenu();
1831
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Menu.RadioItem, {
1832
+ className: (0, tailwind_variants.cn)(slots.radioItem(), className),
1833
+ ...props
1834
+ });
1835
+ };
1836
+ const MenuCheckboxItem = ({ className, ...props }) => {
1837
+ const { slots } = useMenu();
1838
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Menu.CheckboxItem, {
1839
+ className: (0, tailwind_variants.cn)(slots.checkboxItem(), className),
1840
+ ...props
1841
+ });
1842
+ };
1843
+ const MenuSubmenu = ({ ...props }) => {
1844
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Menu.SubmenuRoot, { ...props });
1845
+ };
1846
+ const MenuSubmenuTrigger = ({ className, ...props }) => {
1847
+ const { slots } = useMenu();
1848
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Menu.SubmenuTrigger, {
1849
+ className: (0, tailwind_variants.cn)(slots.submenuTrigger(), className),
1850
+ ...props
1851
+ });
1852
+ };
1853
+ var menu_default = Object.assign(Menu, {
1854
+ Arrow: MenuArrow,
1855
+ Backdrop: MenuBackdrop,
1856
+ CheckboxItem: MenuCheckboxItem,
1857
+ Group: MenuGroup,
1858
+ GroupLabel: MenuGroupLabel,
1859
+ Item: MenuItem,
1860
+ Popup: MenuPopup,
1861
+ Portal: MenuPortal,
1862
+ Positioner: MenuPositioner,
1863
+ RadioGroup: MenuRadioGroup,
1864
+ RadioItem: MenuRadioItem,
1865
+ Root: Menu,
1866
+ Separator: MenuSeparator,
1867
+ Submenu: MenuSubmenu,
1868
+ SubmenuTrigger: MenuSubmenuTrigger,
1869
+ Trigger: MenuTrigger
1870
+ });
1871
+
1872
+ //#endregion
1873
+ //#region src/components/meter/meter.context.ts
1874
+ const MeterContext = (0, react.createContext)(void 0);
1875
+
1876
+ //#endregion
1877
+ //#region src/components/meter/meter.variants.ts
1878
+ const meterVariants = (0, tailwind_variants.tv)({
1879
+ slots: {
1880
+ indicator: "meter__indicator",
1881
+ label: "meter__label",
1882
+ root: "meter",
1883
+ track: "meter__track",
1884
+ value: "meter__value"
1885
+ },
1886
+ variants: {
1887
+ size: {
1888
+ lg: { root: "meter--lg" },
1889
+ md: { root: "meter--md" },
1890
+ sm: { root: "meter--sm" }
1891
+ },
1892
+ variant: {
1893
+ danger: { root: "meter--danger" },
1894
+ primary: { root: "meter--primary" },
1895
+ secondary: { root: "meter--secondary" },
1896
+ success: { root: "meter--success" }
1897
+ }
1898
+ }
1899
+ });
1900
+
1901
+ //#endregion
1902
+ //#region src/components/meter/use-meter.ts
1903
+ const useMeter = () => {
1904
+ const context = (0, react.useContext)(MeterContext);
1905
+ if (!context) throw new Error("useMeter must be used within a MeterProvider");
1906
+ return context;
1907
+ };
1908
+
1909
+ //#endregion
1910
+ //#region src/components/meter/meter.tsx
1911
+ const Meter = ({ className, size, variant, ...props }) => {
1912
+ const slots = (0, react.useMemo)(() => meterVariants({
1913
+ size,
1914
+ variant
1915
+ }), [size, variant]);
1916
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(MeterContext, {
1917
+ value: { slots },
1918
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Meter.Root, {
1919
+ className: (0, tailwind_variants.cn)(className, slots.root()),
1920
+ ...props
1921
+ })
1922
+ });
1923
+ };
1924
+ const MeterLabel = ({ className, ...props }) => {
1925
+ const { slots } = useMeter();
1926
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Meter.Label, {
1927
+ className: (0, tailwind_variants.cn)(className, slots.label()),
1928
+ ...props
1929
+ });
1930
+ };
1931
+ const MeterValue = ({ className, ...props }) => {
1932
+ const { slots } = useMeter();
1933
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Meter.Value, {
1934
+ className: (0, tailwind_variants.cn)(className, slots.value()),
1935
+ ...props
1936
+ });
1937
+ };
1938
+ const MeterTrack = ({ className, ...props }) => {
1939
+ const { slots } = useMeter();
1940
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Meter.Track, {
1941
+ className: (0, tailwind_variants.cn)(className, slots.track()),
1942
+ ...props
1943
+ });
1944
+ };
1945
+ const MeterIndicator = ({ className, ...props }) => {
1946
+ const { slots } = useMeter();
1947
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Meter.Indicator, {
1948
+ className: (0, tailwind_variants.cn)(className, slots.indicator()),
1949
+ ...props
1950
+ });
1951
+ };
1952
+ var meter_default = Object.assign(Meter, {
1953
+ Indicator: MeterIndicator,
1954
+ Label: MeterLabel,
1955
+ Root: Meter,
1956
+ Track: MeterTrack,
1957
+ Value: MeterValue
1958
+ });
1959
+
1960
+ //#endregion
1961
+ //#region src/components/separator/separator.variants.ts
1962
+ const separatorVariants = (0, tailwind_variants.tv)({
1963
+ base: "separator",
1964
+ defaultVariants: { orientation: "horizontal" },
1965
+ variants: { orientation: {
1966
+ horizontal: "separator--horizontal",
1967
+ vertical: "separator--vertical"
1968
+ } }
1969
+ });
1970
+
1971
+ //#endregion
1972
+ //#region src/components/separator/separator.tsx
1973
+ const Separator = ({ className, orientation, ...props }) => {
1974
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Separator, {
1975
+ className: (0, tailwind_variants.cn)(className, separatorVariants({ orientation })),
1976
+ ...props
1977
+ });
1978
+ };
1979
+ var separator_default = Separator;
1980
+
1981
+ //#endregion
1982
+ //#region src/components/navbar/navbar.context.ts
1983
+ const NavbarContext = (0, react.createContext)(null);
1984
+
1985
+ //#endregion
1986
+ //#region src/components/navbar/navbar.variants.ts
1987
+ const navbarVariants = (0, tailwind_variants.tv)({ slots: {
1988
+ container: "navbar__container",
1989
+ content: "navbar__content",
1990
+ list: "navbar__list",
1991
+ listItem: "navbar__list-item",
1992
+ menu: "navbar__menu",
1993
+ menuItem: "navbar__menu-item",
1994
+ root: "navbar",
1995
+ toggle: "navbar__toggle"
1996
+ } });
1997
+
1998
+ //#endregion
1999
+ //#region src/components/navbar/use-navbar.ts
2000
+ const useNavbar = () => {
2001
+ const context = react.default.useContext(NavbarContext);
2002
+ if (!context) throw new Error("useNavbar must be used within a NavbarProvider");
2003
+ return context;
2004
+ };
2005
+
2006
+ //#endregion
2007
+ //#region src/components/navbar/navbar.tsx
2008
+ const Navbar = ({ className, isOpen, onOpenChange, ...props }) => {
2009
+ const slots = (0, react.useMemo)(() => navbarVariants(), []);
2010
+ const [internalOpen, setInternalOpen] = (0, react.useState)(false);
2011
+ const open = isOpen ?? internalOpen;
2012
+ const handleOpenChange = (0, react.useCallback)((next) => {
2013
+ if (isOpen === void 0) setInternalOpen(next);
2014
+ onOpenChange?.(next);
2015
+ }, [isOpen, onOpenChange]);
2016
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(NavbarContext.Provider, {
2017
+ value: {
2018
+ isOpen: open,
2019
+ onOpenChange: handleOpenChange,
2020
+ slots
2021
+ },
2022
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("header", {
2023
+ className: (0, tailwind_variants.cn)(slots.root(), className),
2024
+ ...props
2025
+ })
2026
+ });
2027
+ };
2028
+ const NavbarContainer = ({ className, ...props }) => {
2029
+ const { slots } = useNavbar();
2030
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("nav", {
2031
+ className: (0, tailwind_variants.cn)(slots.container(), className),
2032
+ ...props
2033
+ });
2034
+ };
2035
+ const NavbarContent = ({ className, ...props }) => {
2036
+ const { slots } = useNavbar();
2037
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2038
+ className: (0, tailwind_variants.cn)(slots.content(), className),
2039
+ ...props
2040
+ });
2041
+ };
2042
+ const NavbarList = ({ className, ...props }) => {
2043
+ const { slots } = useNavbar();
2044
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
2045
+ className: (0, tailwind_variants.cn)(slots.list(), className),
2046
+ ...props
2047
+ });
2048
+ };
2049
+ const NavbarListItem = ({ className, ...props }) => {
2050
+ const { slots } = useNavbar();
2051
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
2052
+ className: (0, tailwind_variants.cn)(slots.listItem(), className),
2053
+ ...props
2054
+ });
2055
+ };
2056
+ const NavbarToggle = ({ className, ...props }) => {
2057
+ const { slots, isOpen, onOpenChange } = useNavbar();
2058
+ const Icon = isOpen ? lucide_react.LucideX : lucide_react.LucideMenu;
2059
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
2060
+ className: (0, tailwind_variants.cn)(className, slots.toggle()),
2061
+ onClick: () => onOpenChange(!isOpen),
2062
+ ...props,
2063
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Icon, { className: "size-5" })
2064
+ });
2065
+ };
2066
+ const NavbarMenu = ({ className, header, ...props }) => {
2067
+ const { slots, isOpen, onOpenChange } = useNavbar();
2068
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(drawer_default, {
2069
+ onOpenChange,
2070
+ open: isOpen,
2071
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(drawer_default.Portal, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(drawer_default.Backdrop, {}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(drawer_default.Viewport, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(drawer_default.Popup, { children: [
2072
+ header,
2073
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(drawer_default.Close, {}),
2074
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(separator_default, {}),
2075
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
2076
+ className: (0, tailwind_variants.cn)(slots.menu(), className),
2077
+ ...props
2078
+ })
2079
+ ] }) })] })
2080
+ });
2081
+ };
2082
+ const NavbarMenuItem = ({ className, ...props }) => {
2083
+ const { slots } = useNavbar();
2084
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
2085
+ className: (0, tailwind_variants.cn)(slots.menuItem(), className),
2086
+ ...props
2087
+ });
2088
+ };
2089
+ var navbar_default = Object.assign(Navbar, {
2090
+ Container: NavbarContainer,
2091
+ Content: NavbarContent,
2092
+ List: NavbarList,
2093
+ ListItem: NavbarListItem,
2094
+ Menu: NavbarMenu,
2095
+ MenuItem: NavbarMenuItem,
2096
+ Root: Navbar,
2097
+ Toggle: NavbarToggle
2098
+ });
2099
+
2100
+ //#endregion
2101
+ //#region src/components/navigation-menu/navigation-menu.context.ts
2102
+ const NavigationMenuContext = (0, react.createContext)(null);
2103
+
2104
+ //#endregion
2105
+ //#region src/components/navigation-menu/navigation-menu.variants.ts
2106
+ /** biome-ignore-all assist/source/useSortedKeys: <> */
2107
+ const navigationMenuVariants = (0, tailwind_variants.tv)({ slots: {
2108
+ root: "navigation-menu",
2109
+ list: "navigation-menu__list",
2110
+ item: "navigation-menu__item",
2111
+ trigger: "navigation-menu__trigger",
2112
+ icon: "navigation-menu__icon",
2113
+ content: "navigation-menu__content",
2114
+ link: "navigation-menu__link",
2115
+ portal: "navigation-menu__portal",
2116
+ backdrop: "navigation-menu__backdrop",
2117
+ positioner: "navigation-menu__positioner",
2118
+ popup: "navigation-menu__popup",
2119
+ arrow: "navigation-menu__arrow",
2120
+ viewport: "navigation-menu__viewport"
2121
+ } });
2122
+
2123
+ //#endregion
2124
+ //#region src/components/navigation-menu/use-navigation-menu.ts
2125
+ const useNavigationMenu = () => {
2126
+ const context = (0, react.useContext)(NavigationMenuContext);
2127
+ if (!context) throw new Error("useNavigationMenu must be used within a NavigationMenuProvider");
2128
+ return context;
2129
+ };
2130
+
2131
+ //#endregion
2132
+ //#region src/components/navigation-menu/navigation-menu.tsx
2133
+ const NavigationMenu = ({ className, ...props }) => {
2134
+ const slots = (0, react.useMemo)(() => navigationMenuVariants(), []);
2135
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(NavigationMenuContext.Provider, {
2136
+ value: { slots },
2137
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NavigationMenu.Root, {
2138
+ className: (0, tailwind_variants.cn)(className, slots.root()),
2139
+ ...props
2140
+ })
2141
+ });
2142
+ };
2143
+ const NavigationMenuList = ({ className, ...props }) => {
2144
+ const { slots } = useNavigationMenu();
2145
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NavigationMenu.List, {
2146
+ className: (0, tailwind_variants.cn)(slots.list(), className),
2147
+ ...props
2148
+ });
2149
+ };
2150
+ const NavigationMenuItem = ({ className, ...props }) => {
2151
+ const { slots } = useNavigationMenu();
2152
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NavigationMenu.Item, {
2153
+ className: (0, tailwind_variants.cn)(slots.item(), className),
2154
+ ...props
2155
+ });
2156
+ };
2157
+ const NavigationMenuTrigger = ({ className, children, ...props }) => {
2158
+ const { slots } = useNavigationMenu();
2159
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_base_ui_react.NavigationMenu.Trigger, {
2160
+ className: (0, tailwind_variants.cn)(slots.trigger(), className),
2161
+ ...props,
2162
+ children: [children, /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NavigationMenu.Icon, {
2163
+ className: slots.icon(),
2164
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronDown, { className: "h-4 w-4" })
2165
+ })]
2166
+ });
2167
+ };
2168
+ const NavigationMenuIcon = ({ className, children, ...props }) => {
2169
+ const { slots } = useNavigationMenu();
2170
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NavigationMenu.Icon, {
2171
+ className: (0, tailwind_variants.cn)(slots.icon(), className),
2172
+ ...props,
2173
+ children: children || /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronDown, {})
2174
+ });
2175
+ };
2176
+ const NavigationMenuContent = ({ className, ...props }) => {
2177
+ const { slots } = useNavigationMenu();
2178
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NavigationMenu.Content, {
2179
+ className: (0, tailwind_variants.cn)(slots.content(), className),
2180
+ ...props
2181
+ });
2182
+ };
2183
+ const NavigationMenuLink = ({ className, ...props }) => {
2184
+ const { slots } = useNavigationMenu();
2185
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NavigationMenu.Link, {
2186
+ className: (0, tailwind_variants.cn)(slots.link(), className),
2187
+ ...props
2188
+ });
2189
+ };
2190
+ const NavigationMenuPortal = ({ ...props }) => {
2191
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NavigationMenu.Portal, { ...props });
2192
+ };
2193
+ const NavigationMenuBackdrop = ({ className, ...props }) => {
2194
+ const { slots } = useNavigationMenu();
2195
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NavigationMenu.Backdrop, {
2196
+ className: (0, tailwind_variants.cn)(slots.backdrop(), className),
2197
+ ...props
2198
+ });
2199
+ };
2200
+ const NavigationMenuPositioner = ({ className, ...props }) => {
2201
+ const { slots } = useNavigationMenu();
2202
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NavigationMenu.Positioner, {
2203
+ className: (0, tailwind_variants.cn)(slots.positioner(), className),
2204
+ ...props
2205
+ });
2206
+ };
2207
+ const NavigationMenuPopup = ({ className, ...props }) => {
2208
+ const { slots } = useNavigationMenu();
2209
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NavigationMenu.Popup, {
2210
+ className: (0, tailwind_variants.cn)(slots.popup(), className),
2211
+ ...props
2212
+ });
2213
+ };
2214
+ const NavigationMenuArrow = ({ className, ...props }) => {
2215
+ const { slots } = useNavigationMenu();
2216
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NavigationMenu.Arrow, {
2217
+ className: (0, tailwind_variants.cn)(slots.arrow(), className),
2218
+ ...props
2219
+ });
2220
+ };
2221
+ const NavigationMenuViewport = ({ className, ...props }) => {
2222
+ const { slots } = useNavigationMenu();
2223
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NavigationMenu.Viewport, {
2224
+ className: (0, tailwind_variants.cn)(slots.viewport(), className),
2225
+ ...props
2226
+ });
2227
+ };
2228
+ var navigation_menu_default = Object.assign(NavigationMenu, {
2229
+ Arrow: NavigationMenuArrow,
2230
+ Backdrop: NavigationMenuBackdrop,
2231
+ Content: NavigationMenuContent,
2232
+ Icon: NavigationMenuIcon,
2233
+ Item: NavigationMenuItem,
2234
+ Link: NavigationMenuLink,
2235
+ List: NavigationMenuList,
2236
+ Popup: NavigationMenuPopup,
2237
+ Portal: NavigationMenuPortal,
2238
+ Positioner: NavigationMenuPositioner,
2239
+ Root: NavigationMenu,
2240
+ Trigger: NavigationMenuTrigger,
2241
+ Viewport: NavigationMenuViewport
2242
+ });
2243
+
2244
+ //#endregion
2245
+ //#region src/components/number-field/number-field.context.ts
2246
+ const NumberFieldContext = (0, react.createContext)(null);
2247
+
2248
+ //#endregion
2249
+ //#region src/components/number-field/number-field.variants.ts
2250
+ const numberFieldVariants = (0, tailwind_variants.tv)({ slots: {
2251
+ decrement: "number-field__decrement",
2252
+ group: "number-field__group",
2253
+ increment: "number-field__increment",
2254
+ input: "number-field__input",
2255
+ root: "number-field",
2256
+ scrubArea: "number-field__scrub-area",
2257
+ scrubAreaCursor: "number-field__scrub-area-cursor"
2258
+ } });
2259
+
2260
+ //#endregion
2261
+ //#region src/components/number-field/use-number-field.ts
2262
+ const useNumberField = () => {
2263
+ const context = (0, react.useContext)(NumberFieldContext);
2264
+ if (!context) throw new Error("useNumberField must be used within a NumberFieldProvider");
2265
+ return context;
2266
+ };
2267
+
2268
+ //#endregion
2269
+ //#region src/components/number-field/number-field.tsx
2270
+ const NumberField = ({ className, ...props }) => {
2271
+ const slots = (0, react.useMemo)(() => numberFieldVariants(), []);
2272
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(NumberFieldContext, {
2273
+ value: { slots },
2274
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NumberField.Root, {
2275
+ className: (0, tailwind_variants.cn)(className, slots.root()),
2276
+ ...props
2277
+ })
2278
+ });
2279
+ };
2280
+ const NumberFieldScrubArea = ({ className, ...props }) => {
2281
+ const { slots } = useNumberField();
2282
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NumberField.ScrubArea, {
2283
+ className: (0, tailwind_variants.cn)(slots.scrubArea(), className),
2284
+ ...props
2285
+ });
2286
+ };
2287
+ const NumberFieldGroup = ({ className, ...props }) => {
2288
+ const { slots } = useNumberField();
2289
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NumberField.Group, {
2290
+ className: (0, tailwind_variants.cn)(slots.group(), className),
2291
+ ...props
2292
+ });
2293
+ };
2294
+ const NumberFieldScrubAreaCursor = ({ className, children, ...props }) => {
2295
+ const { slots } = useNumberField();
2296
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NumberField.ScrubAreaCursor, {
2297
+ className: (0, tailwind_variants.cn)(slots.scrubAreaCursor(), className),
2298
+ ...props,
2299
+ children: children ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucideChevronsLeftRight, {})
2300
+ });
2301
+ };
2302
+ const NumberFieldDecrement = ({ className, children, ...props }) => {
2303
+ const { slots } = useNumberField();
2304
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NumberField.Decrement, {
2305
+ className: (0, tailwind_variants.cn)(slots.decrement(), className),
2306
+ ...props,
2307
+ children: children ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucideMinus, {})
2308
+ });
2309
+ };
2310
+ const NumberFieldInput = ({ className, ...props }) => {
2311
+ const { slots } = useNumberField();
2312
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NumberField.Input, {
2313
+ className: (0, tailwind_variants.cn)(slots.input(), className),
2314
+ ...props
2315
+ });
2316
+ };
2317
+ const NumberFieldIncrement = ({ className, children, ...props }) => {
2318
+ const { slots } = useNumberField();
2319
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.NumberField.Increment, {
2320
+ className: (0, tailwind_variants.cn)(slots.increment(), className),
2321
+ ...props,
2322
+ children: children ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucidePlus, {})
2323
+ });
2324
+ };
2325
+ var number_field_default = Object.assign(NumberField, {
2326
+ Decrement: NumberFieldDecrement,
2327
+ Group: NumberFieldGroup,
2328
+ Increment: NumberFieldIncrement,
2329
+ Input: NumberFieldInput,
2330
+ Root: NumberField,
2331
+ ScrubArea: NumberFieldScrubArea,
2332
+ ScrubAreaCursor: NumberFieldScrubAreaCursor
2333
+ });
2334
+
2335
+ //#endregion
2336
+ //#region src/components/popover/popover.context.ts
2337
+ const PopoverContext = (0, react.createContext)(null);
2338
+
2339
+ //#endregion
2340
+ //#region src/components/popover/popover.variants.ts
2341
+ const popoverVariants = (0, tailwind_variants.tv)({ slots: {
2342
+ arrow: "popover__arrow",
2343
+ backdrop: "popover__backdrop",
2344
+ close: "popover__close",
2345
+ content: "popover__content",
2346
+ description: "popover__description",
2347
+ popup: "popover__popup",
2348
+ portal: "popover__portal",
2349
+ positioner: "popover__positioner",
2350
+ root: "popover",
2351
+ title: "popover__title",
2352
+ trigger: "popover__trigger",
2353
+ viewport: "popover__viewport"
2354
+ } });
2355
+
2356
+ //#endregion
2357
+ //#region src/components/popover/use-popover.ts
2358
+ const usePopover = () => {
2359
+ const context = (0, react.useContext)(PopoverContext);
2360
+ if (!context) throw new Error("usePopover must be used within a PopoverProvider");
2361
+ return context;
2362
+ };
2363
+
2364
+ //#endregion
2365
+ //#region src/components/popover/popover.tsx
2366
+ const Popover = ({ ...props }) => {
2367
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PopoverContext, {
2368
+ value: { slots: (0, react.useMemo)(() => popoverVariants({}), []) },
2369
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Popover.Root, { ...props })
2370
+ });
2371
+ };
2372
+ const PopoverTrigger = ({ className, ...props }) => {
2373
+ const { slots } = usePopover();
2374
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Popover.Trigger, {
2375
+ className: (0, tailwind_variants.cn)(className, slots.trigger()),
2376
+ ...props
2377
+ });
2378
+ };
2379
+ const PopoverPortal = ({ className, ...props }) => {
2380
+ const { slots } = usePopover();
2381
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Popover.Portal, {
2382
+ className: (0, tailwind_variants.cn)(className, slots.portal()),
2383
+ ...props
2384
+ });
2385
+ };
2386
+ const PopoverBackdrop = ({ className, ...props }) => {
2387
+ const { slots } = usePopover();
2388
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Popover.Backdrop, {
2389
+ className: (0, tailwind_variants.cn)(className, slots.backdrop()),
2390
+ ...props
2391
+ });
2392
+ };
2393
+ const PopoverPositioner = ({ className, ...props }) => {
2394
+ const { slots } = usePopover();
2395
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Popover.Positioner, {
2396
+ className: (0, tailwind_variants.cn)(className, slots.positioner()),
2397
+ ...props
2398
+ });
2399
+ };
2400
+ const PopoverPopup = ({ className, ...props }) => {
2401
+ const { slots } = usePopover();
2402
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Popover.Popup, {
2403
+ className: (0, tailwind_variants.cn)(className, slots.popup()),
2404
+ ...props
2405
+ });
2406
+ };
2407
+ const PopoverArrow = ({ className, ...props }) => {
2408
+ const { slots } = usePopover();
2409
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Popover.Arrow, {
2410
+ className: (0, tailwind_variants.cn)(className, slots.arrow()),
2411
+ ...props
2412
+ });
2413
+ };
2414
+ const PopoverViewport = ({ className, ...props }) => {
2415
+ const { slots } = usePopover();
2416
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Popover.Viewport, {
2417
+ className: (0, tailwind_variants.cn)(className, slots.viewport()),
2418
+ ...props
2419
+ });
2420
+ };
2421
+ const PopoverTitle = ({ className, ...props }) => {
2422
+ const { slots } = usePopover();
2423
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Popover.Title, {
2424
+ className: (0, tailwind_variants.cn)(className, slots.title()),
2425
+ ...props
2426
+ });
2427
+ };
2428
+ const PopoverDescription = ({ className, ...props }) => {
2429
+ const { slots } = usePopover();
2430
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Popover.Description, {
2431
+ className: (0, tailwind_variants.cn)(className, slots.description()),
2432
+ ...props
2433
+ });
2434
+ };
2435
+ const PopoverClose = ({ className, children, ...props }) => {
2436
+ const { slots } = usePopover();
2437
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Popover.Close, {
2438
+ className: (0, tailwind_variants.cn)(className, slots.close()),
2439
+ ...props,
2440
+ children: children ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucideX, {})
2441
+ });
2442
+ };
2443
+ var popover_default = Object.assign(Popover, {
2444
+ Arrow: PopoverArrow,
2445
+ Backdrop: PopoverBackdrop,
2446
+ Close: PopoverClose,
2447
+ Description: PopoverDescription,
2448
+ Popup: PopoverPopup,
2449
+ Portal: PopoverPortal,
2450
+ Positioner: PopoverPositioner,
2451
+ Root: Popover,
2452
+ Title: PopoverTitle,
2453
+ Trigger: PopoverTrigger,
2454
+ Viewport: PopoverViewport
2455
+ });
2456
+
2457
+ //#endregion
2458
+ //#region src/components/preview-card/preview-card.context.ts
2459
+ const PreviewCardContext = (0, react.createContext)(null);
2460
+
2461
+ //#endregion
2462
+ //#region src/components/preview-card/preview-card.variants.ts
2463
+ /** biome-ignore-all assist/source/useSortedKeys: <> */
2464
+ const previewCardVariants = (0, tailwind_variants.tv)({ slots: {
2465
+ root: "preview-card",
2466
+ trigger: "preview-card__trigger",
2467
+ portal: "preview-card__portal",
2468
+ backdrop: "preview-card__backdrop",
2469
+ positioner: "preview-card__positioner",
2470
+ popup: "preview-card__popup",
2471
+ arrow: "preview-card__arrow"
2472
+ } });
2473
+
2474
+ //#endregion
2475
+ //#region src/components/preview-card/use-preview-card.ts
2476
+ const usePreviewCard = () => {
2477
+ const context = (0, react.useContext)(PreviewCardContext);
2478
+ if (!context) throw new Error("usePreviewCard must be used within a PreviewCardProvider");
2479
+ return context;
2480
+ };
2481
+
2482
+ //#endregion
2483
+ //#region src/components/preview-card/preview-card.tsx
2484
+ const PreviewCard = ({ ...props }) => {
2485
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PreviewCardContext, {
2486
+ value: { slots: (0, react.useMemo)(() => previewCardVariants(), []) },
2487
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.PreviewCard.Root, { ...props })
2488
+ });
2489
+ };
2490
+ const PreviewCardTrigger = ({ className, ...props }) => {
2491
+ const { slots } = usePreviewCard();
2492
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.PreviewCard.Trigger, {
2493
+ className: (0, tailwind_variants.cn)(slots.trigger(), className),
2494
+ ...props
2495
+ });
2496
+ };
2497
+ const PreviewCardPortal = ({ className, ...props }) => {
2498
+ const { slots } = usePreviewCard();
2499
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.PreviewCard.Portal, {
2500
+ className: (0, tailwind_variants.cn)(slots.portal(), className),
2501
+ ...props
2502
+ });
2503
+ };
2504
+ const PreviewCardBackdrop = ({ className, ...props }) => {
2505
+ const { slots } = usePreviewCard();
2506
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.PreviewCard.Backdrop, {
2507
+ className: (0, tailwind_variants.cn)(slots.backdrop(), className),
2508
+ ...props
2509
+ });
2510
+ };
2511
+ const PreviewCardPositioner = ({ className, ...props }) => {
2512
+ const { slots } = usePreviewCard();
2513
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.PreviewCard.Positioner, {
2514
+ className: (0, tailwind_variants.cn)(slots.positioner(), className),
2515
+ ...props
2516
+ });
2517
+ };
2518
+ const PreviewCardPopup = ({ className, ...props }) => {
2519
+ const { slots } = usePreviewCard();
2520
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.PreviewCard.Popup, {
2521
+ className: (0, tailwind_variants.cn)(slots.popup(), className),
2522
+ ...props
2523
+ });
2524
+ };
2525
+ const PreviewCardArrow = ({ className, ...props }) => {
2526
+ const { slots } = usePreviewCard();
2527
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.PreviewCard.Arrow, {
2528
+ className: (0, tailwind_variants.cn)(slots.arrow(), className),
2529
+ ...props
2530
+ });
2531
+ };
2532
+ var preview_card_default = Object.assign(PreviewCard, {
2533
+ Arrow: PreviewCardArrow,
2534
+ Backdrop: PreviewCardBackdrop,
2535
+ Popup: PreviewCardPopup,
2536
+ Portal: PreviewCardPortal,
2537
+ Positioner: PreviewCardPositioner,
2538
+ Root: PreviewCard,
2539
+ Trigger: PreviewCardTrigger
2540
+ });
2541
+
2542
+ //#endregion
2543
+ //#region src/components/progress/progress.context.ts
2544
+ const ProgressContext = (0, react.createContext)(null);
2545
+
2546
+ //#endregion
2547
+ //#region src/components/progress/progress.variants.ts
2548
+ const progressVariants = (0, tailwind_variants.tv)({
2549
+ defaultVariants: {
2550
+ size: "md",
2551
+ variant: "primary"
2552
+ },
2553
+ slots: {
2554
+ indicator: "progress__indicator",
2555
+ label: "progress__label",
2556
+ root: "progress",
2557
+ track: "progress__track",
2558
+ value: "progress__value"
2559
+ },
2560
+ variants: {
2561
+ size: {
2562
+ lg: { root: "progress--lg" },
2563
+ md: { root: "progress--md" },
2564
+ sm: { root: "progress--sm" }
2565
+ },
2566
+ variant: {
2567
+ danger: { root: "progress--danger" },
2568
+ primary: { root: "progress--primary" },
2569
+ secondary: { root: "progress--secondary" },
2570
+ success: { root: "progress--success" }
2571
+ }
2572
+ }
2573
+ });
2574
+
2575
+ //#endregion
2576
+ //#region src/components/progress/use-progress.ts
2577
+ const useProgress = () => {
2578
+ const context = (0, react.useContext)(ProgressContext);
2579
+ if (!context) throw new Error("useProgress must be used within a ProgressProvider");
2580
+ return context;
2581
+ };
2582
+
2583
+ //#endregion
2584
+ //#region src/components/progress/progress.tsx
2585
+ const Progress = ({ className, variant, size, ...props }) => {
2586
+ const slots = (0, react.useMemo)(() => progressVariants({
2587
+ size,
2588
+ variant
2589
+ }), [variant, size]);
2590
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ProgressContext, {
2591
+ value: { slots },
2592
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Progress.Root, {
2593
+ className: (0, tailwind_variants.cn)(className, slots.root()),
2594
+ ...props
2595
+ })
2596
+ });
2597
+ };
2598
+ const ProgressLabel = ({ className, ...props }) => {
2599
+ const { slots } = useProgress();
2600
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Progress.Label, {
2601
+ className: (0, tailwind_variants.cn)(className, slots.label()),
2602
+ ...props
2603
+ });
2604
+ };
2605
+ const ProgressValue = ({ className, ...props }) => {
2606
+ const { slots } = useProgress();
2607
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Progress.Value, {
2608
+ className: (0, tailwind_variants.cn)(className, slots.value()),
2609
+ ...props
2610
+ });
2611
+ };
2612
+ const ProgressTrack = ({ className, ...props }) => {
2613
+ const { slots } = useProgress();
2614
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Progress.Track, {
2615
+ className: (0, tailwind_variants.cn)(className, slots.track()),
2616
+ ...props
2617
+ });
2618
+ };
2619
+ const ProgressIndicator = ({ className, ...props }) => {
2620
+ const { slots } = useProgress();
2621
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Progress.Indicator, {
2622
+ className: (0, tailwind_variants.cn)(className, slots.indicator()),
2623
+ ...props
2624
+ });
2625
+ };
2626
+ var progress_default = Object.assign(Progress, {
2627
+ Indicator: ProgressIndicator,
2628
+ Label: ProgressLabel,
2629
+ Root: Progress,
2630
+ Track: ProgressTrack,
2631
+ Value: ProgressValue
2632
+ });
2633
+
2634
+ //#endregion
2635
+ //#region src/components/radio/radio.context.ts
2636
+ const RadioContext = (0, react.createContext)(null);
2637
+
2638
+ //#endregion
2639
+ //#region src/components/radio/radio.variants.ts
2640
+ const radioVariants = (0, tailwind_variants.tv)({ slots: {
2641
+ indicator: "radio__indicator",
2642
+ root: "radio"
2643
+ } });
2644
+
2645
+ //#endregion
2646
+ //#region src/components/radio/use-radio.ts
2647
+ const useRadio = () => {
2648
+ const context = (0, react.useContext)(RadioContext);
2649
+ if (!context) throw new Error("useRadio must be used within a RadioProvider");
2650
+ return context;
2651
+ };
2652
+
2653
+ //#endregion
2654
+ //#region src/components/radio/radio.tsx
2655
+ const Radio = ({ className, ...props }) => {
2656
+ const slots = (0, react.useMemo)(() => radioVariants({}), []);
2657
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(RadioContext, {
2658
+ value: { slots },
2659
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Radio.Root, {
2660
+ className: (0, tailwind_variants.cn)(slots.root(), className),
2661
+ ...props
2662
+ })
2663
+ });
2664
+ };
2665
+ const RadioIndicator = ({ className, ...props }) => {
2666
+ const { slots } = useRadio();
2667
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Radio.Indicator, {
2668
+ className: (0, tailwind_variants.cn)(slots.indicator(), className),
2669
+ ...props
2670
+ });
2671
+ };
2672
+ var radio_default = Object.assign(Radio, {
2673
+ Indicator: RadioIndicator,
2674
+ Root: Radio
2675
+ });
2676
+
2677
+ //#endregion
2678
+ //#region src/components/radio-group/radio-group.variants.ts
2679
+ const radioGroupVariants = (0, tailwind_variants.tv)({ base: "radio-group" });
2680
+
2681
+ //#endregion
2682
+ //#region src/components/radio-group/radio-group.tsx
2683
+ const RadioGroup = ({ className, ...props }) => {
2684
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.RadioGroup, {
2685
+ className: (0, tailwind_variants.cn)(className, (0, react.useMemo)(() => radioGroupVariants(), [])),
2686
+ ...props
2687
+ });
2688
+ };
2689
+ var radio_group_default = RadioGroup;
2690
+
2691
+ //#endregion
2692
+ //#region src/components/scroll-area/scroll-area.context.ts
2693
+ const ScrollAreaContext = (0, react.createContext)(null);
2694
+
2695
+ //#endregion
2696
+ //#region src/components/scroll-area/scroll-area.variants.ts
2697
+ /** biome-ignore-all assist/source/useSortedKeys: <> */
2698
+ const scrollAreaVariants = (0, tailwind_variants.tv)({ slots: {
2699
+ root: "scroll-area",
2700
+ viewport: "scroll-area__viewport",
2701
+ content: "scroll-area__content",
2702
+ scrollbar: "scroll-area__scrollbar",
2703
+ thumb: "scroll-area__thumb",
2704
+ corner: "scroll-area__corner"
2705
+ } });
2706
+
2707
+ //#endregion
2708
+ //#region src/components/scroll-area/use-scroll-area.ts
2709
+ const useScrollArea = () => {
2710
+ const context = (0, react.useContext)(ScrollAreaContext);
2711
+ if (!context) throw new Error("useScrollArea must be used within a ScrollAreaProvider");
2712
+ return context;
2713
+ };
2714
+
2715
+ //#endregion
2716
+ //#region src/components/scroll-area/scroll-area.tsx
2717
+ const ScrollArea = ({ className, ...props }) => {
2718
+ const slots = (0, react.useMemo)(() => scrollAreaVariants(), []);
2719
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ScrollAreaContext.Provider, {
2720
+ value: { slots },
2721
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ScrollArea.Root, {
2722
+ className: (0, tailwind_variants.cn)(className, slots.root()),
2723
+ ...props
2724
+ })
2725
+ });
2726
+ };
2727
+ const ScrollAreaViewport = ({ className, ...props }) => {
2728
+ const { slots } = useScrollArea();
2729
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ScrollArea.Viewport, {
2730
+ className: (0, tailwind_variants.cn)(slots.viewport(), className),
2731
+ ...props
2732
+ });
2733
+ };
2734
+ const ScrollAreaContent = ({ className, ...props }) => {
2735
+ const { slots } = useScrollArea();
2736
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ScrollArea.Content, {
2737
+ className: (0, tailwind_variants.cn)(slots.content(), className),
2738
+ ...props
2739
+ });
2740
+ };
2741
+ const ScrollAreaScrollbar = ({ className, ...props }) => {
2742
+ const { slots } = useScrollArea();
2743
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ScrollArea.Scrollbar, {
2744
+ className: (0, tailwind_variants.cn)(slots.scrollbar(), className),
2745
+ ...props
2746
+ });
2747
+ };
2748
+ const ScrollAreaThumb = ({ className, ...props }) => {
2749
+ const { slots } = useScrollArea();
2750
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.ScrollArea.Thumb, {
2751
+ className: (0, tailwind_variants.cn)(slots.thumb(), className),
2752
+ ...props
2753
+ });
2754
+ };
2755
+ var scroll_area_default = Object.assign(ScrollArea, {
2756
+ Content: ScrollAreaContent,
2757
+ Root: ScrollArea,
2758
+ Scrollbar: ScrollAreaScrollbar,
2759
+ Thumb: ScrollAreaThumb,
2760
+ Viewport: ScrollAreaViewport
2761
+ });
2762
+
2763
+ //#endregion
2764
+ //#region src/components/select/select.context.ts
2765
+ const SelectContext = (0, react.createContext)(null);
2766
+
2767
+ //#endregion
2768
+ //#region src/components/select/select.variants.ts
2769
+ /** biome-ignore-all assist/source/useSortedKeys: believe me its better */
2770
+ const selectVariants = (0, tailwind_variants.tv)({ slots: {
2771
+ root: "select",
2772
+ trigger: "select__trigger",
2773
+ value: "select__value",
2774
+ icon: "select__icon",
2775
+ portal: "select__portal",
2776
+ backdrop: "select__backdrop",
2777
+ positioner: "select__positioner",
2778
+ popup: "select__popup",
2779
+ arrow: "select__arrow",
2780
+ list: "select__list",
2781
+ item: "select__item",
2782
+ itemText: "select__item-text",
2783
+ itemIndicator: "select__item-indicator",
2784
+ separator: "select__separator",
2785
+ group: "select__group",
2786
+ groupLabel: "select__group-label"
2787
+ } });
2788
+
2789
+ //#endregion
2790
+ //#region src/components/select/use-select.ts
2791
+ const useSelect = () => {
2792
+ const context = (0, react.useContext)(SelectContext);
2793
+ if (!context) throw new Error("useSelect must be used within a SelectProvider");
2794
+ return context;
2795
+ };
2796
+
2797
+ //#endregion
2798
+ //#region src/components/select/select.tsx
2799
+ const Select = ({ ...props }) => {
2800
+ const slots = (0, react.useMemo)(() => selectVariants(), []);
2801
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SelectContext.Provider, {
2802
+ value: { slots },
2803
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Select.Root, { ...props })
2804
+ });
2805
+ };
2806
+ const SelectTrigger = ({ className, ...props }) => {
2807
+ const { slots } = useSelect();
2808
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Select.Trigger, {
2809
+ className: (0, tailwind_variants.cn)(slots.trigger(), className),
2810
+ ...props
2811
+ });
2812
+ };
2813
+ const SelectIcon = ({ className, children, ...props }) => {
2814
+ const { slots } = useSelect();
2815
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Select.Icon, {
2816
+ className: (0, tailwind_variants.cn)(slots.icon(), className),
2817
+ ...props,
2818
+ children: children || /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.ChevronsUpDown, {})
2819
+ });
2820
+ };
2821
+ const SelectValue = ({ className, ...props }) => {
2822
+ const { slots } = useSelect();
2823
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Select.Value, {
2824
+ className: (0, tailwind_variants.cn)(slots.value(), className),
2825
+ ...props
2826
+ });
2827
+ };
2828
+ const SelectPortal = ({ ...props }) => {
2829
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Select.Portal, { ...props });
2830
+ };
2831
+ const SelectBackdrop = ({ className, ...props }) => {
2832
+ const { slots } = useSelect();
2833
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Select.Backdrop, {
2834
+ className: (0, tailwind_variants.cn)(slots.backdrop(), className),
2835
+ ...props
2836
+ });
2837
+ };
2838
+ const SelectPositioner = ({ className, ...props }) => {
2839
+ const { slots } = useSelect();
2840
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Select.Positioner, {
2841
+ className: (0, tailwind_variants.cn)(slots.positioner(), className),
2842
+ ...props
2843
+ });
2844
+ };
2845
+ const SelectPopup = ({ className, ...props }) => {
2846
+ const { slots } = useSelect();
2847
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Select.Popup, {
2848
+ className: (0, tailwind_variants.cn)(slots.popup(), className),
2849
+ ...props
2850
+ });
2851
+ };
2852
+ const SelectArrow = ({ className, ...props }) => {
2853
+ const { slots } = useSelect();
2854
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Select.Arrow, {
2855
+ className: (0, tailwind_variants.cn)(slots.arrow(), className),
2856
+ ...props
2857
+ });
2858
+ };
2859
+ const SelectList = ({ className, ...props }) => {
2860
+ const { slots } = useSelect();
2861
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Select.List, {
2862
+ className: (0, tailwind_variants.cn)(slots.list(), className),
2863
+ ...props
2864
+ });
2865
+ };
2866
+ const SelectItemIndicator = ({ className, children, ...props }) => {
2867
+ const { slots } = useSelect();
2868
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Select.ItemIndicator, {
2869
+ className: (0, tailwind_variants.cn)(slots.itemIndicator(), className),
2870
+ ...props,
2871
+ children: children || /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Check, {})
2872
+ });
2873
+ };
2874
+ const SelectItemText = ({ className, ...props }) => {
2875
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Select.ItemText, {
2876
+ className,
2877
+ ...props
2878
+ });
2879
+ };
2880
+ const SelectItem = ({ className, ...props }) => {
2881
+ const { slots } = useSelect();
2882
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Select.Item, {
2883
+ className: (0, tailwind_variants.cn)(slots.item(), className),
2884
+ ...props
2885
+ });
2886
+ };
2887
+ const SelectGroup = ({ className, ...props }) => {
2888
+ const { slots } = useSelect();
2889
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Select.Group, {
2890
+ className: (0, tailwind_variants.cn)(slots.group(), className),
2891
+ ...props
2892
+ });
2893
+ };
2894
+ const SelectGroupLabel = ({ className, ...props }) => {
2895
+ const { slots } = useSelect();
2896
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Select.GroupLabel, {
2897
+ className: (0, tailwind_variants.cn)(slots.groupLabel(), className),
2898
+ ...props
2899
+ });
2900
+ };
2901
+ const SelectSeparator = ({ className, ...props }) => {
2902
+ const { slots } = useSelect();
2903
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Select.Separator, {
2904
+ className: (0, tailwind_variants.cn)(slots.separator(), className),
2905
+ ...props
2906
+ });
2907
+ };
2908
+ var select_default = Object.assign(Select, {
2909
+ Arrow: SelectArrow,
2910
+ Backdrop: SelectBackdrop,
2911
+ Group: SelectGroup,
2912
+ GroupLabel: SelectGroupLabel,
2913
+ Icon: SelectIcon,
2914
+ Item: SelectItem,
2915
+ ItemIndicator: SelectItemIndicator,
2916
+ ItemText: SelectItemText,
2917
+ List: SelectList,
2918
+ Popup: SelectPopup,
2919
+ Portal: SelectPortal,
2920
+ Positioner: SelectPositioner,
2921
+ Separator: SelectSeparator,
2922
+ Trigger: SelectTrigger,
2923
+ Value: SelectValue
2924
+ });
2925
+
2926
+ //#endregion
2927
+ //#region src/components/sidebar/sidebar.context.ts
2928
+ const SidebarContext = (0, react.createContext)(null);
2929
+
2930
+ //#endregion
2931
+ //#region src/components/sidebar/sidebar.variants.ts
2932
+ const sidebarVariants = (0, tailwind_variants.tv)({ slots: {
2933
+ content: "sidebar__content",
2934
+ footer: "sidebar__footer",
2935
+ header: "sidebar__header",
2936
+ menu: "sidebar__menu",
2937
+ menuItem: "sidebar__menu-item",
2938
+ menuLabel: "sidebar__menu-label",
2939
+ outlet: "sidebar__outlet",
2940
+ panel: "sidebar__panel",
2941
+ root: "sidebar",
2942
+ trigger: "sidebar__trigger"
2943
+ } });
2944
+
2945
+ //#endregion
2946
+ //#region src/components/sidebar/use-sidebar.ts
2947
+ const useSidebar = () => {
2948
+ const context = (0, react.useContext)(SidebarContext);
2949
+ if (!context) throw new Error("useSidebar must be used within a SidebarProvider");
2950
+ return context;
2951
+ };
2952
+
2953
+ //#endregion
2954
+ //#region src/components/sidebar/sidebar.tsx
2955
+ const Sidebar = ({ className, isOpen, onOpenChange, ...props }) => {
2956
+ const [internalIsOpen, setInternalIsOpen] = react.default.useState(false);
2957
+ const isOpenState = isOpen !== void 0 ? isOpen : internalIsOpen;
2958
+ const handleOpenChange = onOpenChange || setInternalIsOpen;
2959
+ const slots = (0, react.useMemo)(() => sidebarVariants({ className }), [className]);
2960
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SidebarContext, {
2961
+ value: {
2962
+ isOpen: isOpenState,
2963
+ onOpenChange: handleOpenChange,
2964
+ slots
2965
+ },
2966
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2967
+ className: slots.root(),
2968
+ "data-open": isOpenState,
2969
+ ...props
2970
+ })
2971
+ });
2972
+ };
2973
+ const SidebarPanel = ({ className, ...props }) => {
2974
+ const { slots } = useSidebar();
2975
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("aside", {
2976
+ className: (0, tailwind_variants.cn)(slots.panel(), className),
2977
+ ...props
2978
+ });
2979
+ };
2980
+ const SidebarHeader = ({ className, ...props }) => {
2981
+ const { slots } = useSidebar();
2982
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("header", {
2983
+ className: (0, tailwind_variants.cn)(slots.header(), className),
2984
+ ...props
2985
+ });
2986
+ };
2987
+ const SidebarContent = ({ className, ...props }) => {
2988
+ const { slots } = useSidebar();
2989
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
2990
+ className: (0, tailwind_variants.cn)(slots.content(), className),
2991
+ ...props
2992
+ });
2993
+ };
2994
+ const SidebarFooter = ({ className, ...props }) => {
2995
+ const { slots } = useSidebar();
2996
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("footer", {
2997
+ className: (0, tailwind_variants.cn)(slots.footer(), className),
2998
+ ...props
2999
+ });
3000
+ };
3001
+ const SidebarTrigger = ({ className, children, ...props }) => {
3002
+ const { slots, isOpen, onOpenChange } = useSidebar();
3003
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
3004
+ "aria-expanded": isOpen,
3005
+ className: (0, tailwind_variants.cn)(slots.trigger(), className),
3006
+ onClick: () => onOpenChange(!isOpen),
3007
+ ...props,
3008
+ children: children ?? (isOpen ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucidePanelLeftClose, {}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucidePanelLeftOpen, {}))
3009
+ });
3010
+ };
3011
+ const SidebarOutlet = ({ className, ...props }) => {
3012
+ const { slots } = useSidebar();
3013
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3014
+ className: (0, tailwind_variants.cn)(slots.outlet(), className),
3015
+ ...props
3016
+ });
3017
+ };
3018
+ const SidebarMenu = ({ className, ...props }) => {
3019
+ const { slots } = useSidebar();
3020
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("nav", {
3021
+ className: (0, tailwind_variants.cn)(slots.menu(), className),
3022
+ ...props
3023
+ });
3024
+ };
3025
+ const SidebarMenuItem = ({ className, ...props }) => {
3026
+ const { slots } = useSidebar();
3027
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("li", {
3028
+ className: (0, tailwind_variants.cn)(slots.menuItem(), className),
3029
+ ...props
3030
+ });
3031
+ };
3032
+ const SidebarMenuLabel = ({ className, ...props }) => {
3033
+ const { slots } = useSidebar();
3034
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3035
+ className: (0, tailwind_variants.cn)(slots.menuLabel(), className),
3036
+ ...props
3037
+ });
3038
+ };
3039
+ var sidebar_default = Object.assign(Sidebar, {
3040
+ Content: SidebarContent,
3041
+ Footer: SidebarFooter,
3042
+ Header: SidebarHeader,
3043
+ Menu: SidebarMenu,
3044
+ MenuItem: SidebarMenuItem,
3045
+ MenuLabel: SidebarMenuLabel,
3046
+ Outlet: SidebarOutlet,
3047
+ Panel: SidebarPanel,
3048
+ Root: Sidebar,
3049
+ Trigger: SidebarTrigger
3050
+ });
3051
+
3052
+ //#endregion
3053
+ //#region src/components/slider/slider.context.ts
3054
+ const SliderContext = (0, react.createContext)(null);
3055
+
3056
+ //#endregion
3057
+ //#region src/components/slider/slider.variants.ts
3058
+ const sliderVariants = (0, tailwind_variants.tv)({ slots: {
3059
+ control: "slider__control",
3060
+ indicator: "slider__indicator",
3061
+ root: "slider",
3062
+ thumb: "slider__thumb",
3063
+ track: "slider__track",
3064
+ value: "slider__value"
3065
+ } });
3066
+
3067
+ //#endregion
3068
+ //#region src/components/slider/use-slider.tsx
3069
+ const useSlider = () => {
3070
+ const context = (0, react.useContext)(SliderContext);
3071
+ if (!context) throw new Error("useSlider must be used within a SliderProvider");
3072
+ return context;
3073
+ };
3074
+
3075
+ //#endregion
3076
+ //#region src/components/slider/slider.tsx
3077
+ const Slider = ({ className, ...props }) => {
3078
+ const slots = (0, react.useMemo)(() => sliderVariants(), []);
3079
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SliderContext, {
3080
+ value: { slots },
3081
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Slider.Root, {
3082
+ className: (0, tailwind_variants.cn)(className, slots.root()),
3083
+ ...props
3084
+ })
3085
+ });
3086
+ };
3087
+ const SliderValue = ({ className, ...props }) => {
3088
+ const { slots } = useSlider();
3089
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Slider.Value, {
3090
+ className: (0, tailwind_variants.cn)(className, slots.value()),
3091
+ ...props
3092
+ });
3093
+ };
3094
+ const SliderControl = ({ className, ...props }) => {
3095
+ const { slots } = useSlider();
3096
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Slider.Control, {
3097
+ className: (0, tailwind_variants.cn)(className, slots.control()),
3098
+ ...props
3099
+ });
3100
+ };
3101
+ const SliderTrack = ({ className, ...props }) => {
3102
+ const { slots } = useSlider();
3103
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Slider.Track, {
3104
+ className: (0, tailwind_variants.cn)(className, slots.track()),
3105
+ ...props
3106
+ });
3107
+ };
3108
+ const SliderIndicator = ({ className, ...props }) => {
3109
+ const { slots } = useSlider();
3110
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Slider.Indicator, {
3111
+ className: (0, tailwind_variants.cn)(className, slots.indicator()),
3112
+ ...props
3113
+ });
3114
+ };
3115
+ const SliderThumb = ({ className, ...props }) => {
3116
+ const { slots } = useSlider();
3117
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Slider.Thumb, {
3118
+ className: (0, tailwind_variants.cn)(className, slots.thumb()),
3119
+ ...props
3120
+ });
3121
+ };
3122
+ var slider_default = Object.assign(Slider, {
3123
+ Control: SliderControl,
3124
+ Indicator: SliderIndicator,
3125
+ Root: Slider,
3126
+ Thumb: SliderThumb,
3127
+ Track: SliderTrack,
3128
+ Value: SliderValue
3129
+ });
3130
+
3131
+ //#endregion
3132
+ //#region src/components/spinner/spinner.variants.ts
3133
+ const spinnerVariants = (0, tailwind_variants.tv)({
3134
+ base: "spinner",
3135
+ defaultVariants: {
3136
+ size: "md",
3137
+ variant: "primary"
3138
+ },
3139
+ variants: {
3140
+ size: {
3141
+ lg: "spinner--lg",
3142
+ md: "spinner--md",
3143
+ sm: "spinner--sm",
3144
+ xl: "spinner--xl"
3145
+ },
3146
+ variant: {
3147
+ danger: "spinner--danger",
3148
+ primary: "spinner--primary",
3149
+ success: "spinner--success"
3150
+ }
3151
+ }
3152
+ });
3153
+
3154
+ //#endregion
3155
+ //#region src/components/spinner/spinner.tsx
3156
+ const Spinner = ({ className, size, variant, asChild, ...props }) => {
3157
+ const styles = spinnerVariants({
3158
+ size,
3159
+ variant
3160
+ });
3161
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucideLoader, {
3162
+ "aria-label": "Loading",
3163
+ className: (0, tailwind_variants.cn)(className, styles),
3164
+ role: "status",
3165
+ ...props
3166
+ });
3167
+ };
3168
+ var spinner_default = Spinner;
3169
+
3170
+ //#endregion
3171
+ //#region src/components/switch/switch.context.ts
3172
+ const SwitchContext = (0, react.createContext)(null);
3173
+
3174
+ //#endregion
3175
+ //#region src/components/switch/switch.variants.ts
3176
+ const switchVariants = (0, tailwind_variants.tv)({
3177
+ defaultVariants: { size: "md" },
3178
+ slots: {
3179
+ root: "switch",
3180
+ thumb: "switch__thumb"
3181
+ },
3182
+ variants: { size: {
3183
+ lg: { root: "switch--lg" },
3184
+ md: { root: "switch--md" },
3185
+ sm: { root: "switch--sm" }
3186
+ } }
3187
+ });
3188
+
3189
+ //#endregion
3190
+ //#region src/components/switch/use-switch.ts
3191
+ const useSwitch = () => {
3192
+ const context = (0, react.useContext)(SwitchContext);
3193
+ if (!context) throw new Error("useSwitch must be used within a SwitchProvider");
3194
+ return context;
3195
+ };
3196
+
3197
+ //#endregion
3198
+ //#region src/components/switch/switch.tsx
3199
+ const Switch = ({ className, size, ...props }) => {
3200
+ const slots = (0, react.useMemo)(() => switchVariants({ size }), [size]);
3201
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(SwitchContext.Provider, {
3202
+ value: { slots },
3203
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Switch.Root, {
3204
+ className: (0, tailwind_variants.cn)(className, slots.root()),
3205
+ ...props
3206
+ })
3207
+ });
3208
+ };
3209
+ const SwitchThumb = ({ className, ...props }) => {
3210
+ const { slots } = useSwitch();
3211
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Switch.Thumb, {
3212
+ className: (0, tailwind_variants.cn)(className, slots.thumb()),
3213
+ ...props
3214
+ });
3215
+ };
3216
+ var switch_default = Object.assign(Switch, {
3217
+ Root: Switch,
3218
+ Thumb: SwitchThumb
3219
+ });
3220
+
3221
+ //#endregion
3222
+ //#region src/components/table/table.context.ts
3223
+ const TableContext = (0, react.createContext)(null);
3224
+
3225
+ //#endregion
3226
+ //#region src/components/table/table.variants.ts
3227
+ const tableVariants = (0, tailwind_variants.tv)({ slots: {
3228
+ root: "table",
3229
+ tbody: "table__tbody",
3230
+ td: "table__td",
3231
+ tfoot: "table__tfoot",
3232
+ th: "table__th",
3233
+ thead: "table__thead",
3234
+ tr: "table__tr"
3235
+ } });
3236
+
3237
+ //#endregion
3238
+ //#region src/components/table/use-table.ts
3239
+ const useTable = () => {
3240
+ const context = (0, react.useContext)(TableContext);
3241
+ if (!context) throw new Error("useTable must be used within a TableProvider");
3242
+ return context;
3243
+ };
3244
+
3245
+ //#endregion
3246
+ //#region src/components/table/table.tsx
3247
+ const Table = ({ className, ...props }) => {
3248
+ const slots = (0, react.useMemo)(() => tableVariants(), []);
3249
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TableContext, {
3250
+ value: { slots },
3251
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("table", {
3252
+ className: (0, tailwind_variants.cn)(className, slots.root()),
3253
+ ...props
3254
+ })
3255
+ });
3256
+ };
3257
+ const TableHead = ({ className, ...props }) => {
3258
+ const { slots } = useTable();
3259
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("thead", {
3260
+ className: (0, tailwind_variants.cn)(className, slots.thead()),
3261
+ ...props
3262
+ });
3263
+ };
3264
+ const TableRow = ({ className, ...props }) => {
3265
+ const { slots } = useTable();
3266
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tr", {
3267
+ className: (0, tailwind_variants.cn)(className, slots.tr()),
3268
+ ...props
3269
+ });
3270
+ };
3271
+ const TableHeaderCell = ({ className, ...props }) => {
3272
+ const { slots } = useTable();
3273
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("th", {
3274
+ className: (0, tailwind_variants.cn)(className, slots.th()),
3275
+ ...props
3276
+ });
3277
+ };
3278
+ const TableBody = ({ className, ...props }) => {
3279
+ const { slots } = useTable();
3280
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tbody", {
3281
+ className: (0, tailwind_variants.cn)(className, slots.tbody()),
3282
+ ...props
3283
+ });
3284
+ };
3285
+ const TableDataCell = ({ className, ...props }) => {
3286
+ const { slots } = useTable();
3287
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("td", {
3288
+ className: (0, tailwind_variants.cn)(className, slots.td()),
3289
+ ...props
3290
+ });
3291
+ };
3292
+ const TableFooter = ({ className, ...props }) => {
3293
+ const { slots } = useTable();
3294
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("tfoot", {
3295
+ className: (0, tailwind_variants.cn)(className, slots.tfoot()),
3296
+ ...props
3297
+ });
3298
+ };
3299
+ var table_default = Object.assign(Table, {
3300
+ Body: TableBody,
3301
+ DataCell: TableDataCell,
3302
+ Footer: TableFooter,
3303
+ Head: TableHead,
3304
+ HeaderCell: TableHeaderCell,
3305
+ Root: Table,
3306
+ Row: TableRow
3307
+ });
3308
+
3309
+ //#endregion
3310
+ //#region src/components/tabs/tabs.context.ts
3311
+ const TabsContext = (0, react.createContext)(null);
3312
+
3313
+ //#endregion
3314
+ //#region src/components/tabs/tabs.variants.ts
3315
+ const tabsVariants = (0, tailwind_variants.tv)({ slots: {
3316
+ indicator: "tabs__indicator",
3317
+ list: "tabs__list",
3318
+ panel: "tabs__panel",
3319
+ root: "tabs",
3320
+ tab: "tabs__tab"
3321
+ } });
3322
+
3323
+ //#endregion
3324
+ //#region src/components/tabs/use-tabs.ts
3325
+ const useTabs = () => {
3326
+ const context = (0, react.useContext)(TabsContext);
3327
+ if (!context) throw new Error("useTabs must be used within a TabsProvider");
3328
+ return context;
3329
+ };
3330
+
3331
+ //#endregion
3332
+ //#region src/components/tabs/tabs.tsx
3333
+ const Tabs = ({ className, ...props }) => {
3334
+ const slots = (0, react.useMemo)(() => tabsVariants(), []);
3335
+ const [listRef, setListRef] = react.default.useState(null);
3336
+ react.default.useEffect(() => {
3337
+ if (!listRef) return;
3338
+ const updateIndicator = () => {
3339
+ const activeTab = listRef.querySelector("[data-state=\"active\"]");
3340
+ if (activeTab) {
3341
+ const listRect = listRef.getBoundingClientRect();
3342
+ const tabRect = activeTab.getBoundingClientRect();
3343
+ listRef.style.setProperty("--active-tab-width", `${tabRect.width}px`);
3344
+ listRef.style.setProperty("--active-tab-left", `${tabRect.left - listRect.left + tabRect.width / 2}px`);
3345
+ }
3346
+ };
3347
+ updateIndicator();
3348
+ const observer = new MutationObserver(updateIndicator);
3349
+ observer.observe(listRef, {
3350
+ attributeFilter: ["data-state"],
3351
+ attributes: true,
3352
+ subtree: true
3353
+ });
3354
+ window.addEventListener("resize", updateIndicator);
3355
+ return () => {
3356
+ observer.disconnect();
3357
+ window.removeEventListener("resize", updateIndicator);
3358
+ };
3359
+ }, [listRef]);
3360
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TabsContext.Provider, {
3361
+ value: {
3362
+ listRef,
3363
+ setListRef,
3364
+ slots
3365
+ },
3366
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Tabs.Root, {
3367
+ className: (0, tailwind_variants.cn)(className, slots.root()),
3368
+ ...props
3369
+ })
3370
+ });
3371
+ };
3372
+ const TabsList = ({ className, ...props }) => {
3373
+ const { slots, setListRef } = useTabs();
3374
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Tabs.List, {
3375
+ className: (0, tailwind_variants.cn)(slots.list(), className),
3376
+ ref: setListRef,
3377
+ ...props
3378
+ });
3379
+ };
3380
+ const TabsTab = ({ className, ...props }) => {
3381
+ const { slots } = useTabs();
3382
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Tabs.Tab, {
3383
+ className: (0, tailwind_variants.cn)(slots.tab(), className),
3384
+ ...props
3385
+ });
3386
+ };
3387
+ const TabsIndicator = ({ className, ...props }) => {
3388
+ const { slots } = useTabs();
3389
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Tabs.Indicator, {
3390
+ className: (0, tailwind_variants.cn)(slots.indicator(), className),
3391
+ ...props
3392
+ });
3393
+ };
3394
+ const TabsPanel = ({ className, ...props }) => {
3395
+ const { slots } = useTabs();
3396
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Tabs.Panel, {
3397
+ className: (0, tailwind_variants.cn)(slots.panel(), className),
3398
+ ...props
3399
+ });
3400
+ };
3401
+ var tabs_default = Object.assign(Tabs, {
3402
+ Indicator: TabsIndicator,
3403
+ List: TabsList,
3404
+ Panel: TabsPanel,
3405
+ Root: Tabs,
3406
+ Tab: TabsTab
3407
+ });
3408
+
3409
+ //#endregion
3410
+ //#region src/components/toast/toast.context.ts
3411
+ const ToastContext = (0, react.createContext)(null);
3412
+
3413
+ //#endregion
3414
+ //#region src/components/toast/toast.variants.ts
3415
+ const toastVariants = (0, tailwind_variants.tv)({
3416
+ defaultVariants: { variant: "default" },
3417
+ slots: {
3418
+ action: "toast__action",
3419
+ close: "toast__close",
3420
+ description: "toast__description",
3421
+ root: "toast group",
3422
+ title: "toast__title",
3423
+ viewport: "toast__viewport"
3424
+ },
3425
+ variants: { variant: {
3426
+ default: { root: "bg-background text-foreground" },
3427
+ destructive: { root: "destructive group border-danger bg-danger text-danger-foreground" }
3428
+ } }
3429
+ });
3430
+
3431
+ //#endregion
3432
+ //#region src/components/toast/use-toast.ts
3433
+ const useToast$1 = () => {
3434
+ const context = (0, react.useContext)(ToastContext);
3435
+ if (!context) throw new Error("useToast must be used within a ToastProvider");
3436
+ return context;
3437
+ };
3438
+
3439
+ //#endregion
3440
+ //#region src/components/toast/toast.tsx
3441
+ const Toast = ({ className, variant, ...props }) => {
3442
+ const slots = (0, react.useMemo)(() => toastVariants({ variant }), [variant]);
3443
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ToastContext, {
3444
+ value: { slots },
3445
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Toast.Root, {
3446
+ className: (0, tailwind_variants.cn)(className, slots.root()),
3447
+ ...props
3448
+ })
3449
+ });
3450
+ };
3451
+ const ToastTitle = ({ className, ...props }) => {
3452
+ const { slots } = useToast$1();
3453
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Toast.Title, {
3454
+ className: (0, tailwind_variants.cn)(className, slots.title()),
3455
+ ...props
3456
+ });
3457
+ };
3458
+ const ToastDescription = ({ className, ...props }) => {
3459
+ const { slots } = useToast$1();
3460
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Toast.Description, {
3461
+ className: (0, tailwind_variants.cn)(className, slots.description()),
3462
+ ...props
3463
+ });
3464
+ };
3465
+ const ToastAction = ({ className, ...props }) => {
3466
+ const { slots } = useToast$1();
3467
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Toast.Action, {
3468
+ className: (0, tailwind_variants.cn)(className, slots.action()),
3469
+ ...props
3470
+ });
3471
+ };
3472
+ const ToastClose = ({ className, children, ...props }) => {
3473
+ const { slots } = useToast$1();
3474
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Toast.Close, {
3475
+ className: (0, tailwind_variants.cn)(className, slots.close()),
3476
+ ...props,
3477
+ children: children ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.LucideX, { className: "size-4" })
3478
+ });
3479
+ };
3480
+ const ToastProvider = _base_ui_react.Toast.Provider;
3481
+ const ToastPortal = _base_ui_react.Toast.Portal;
3482
+ const ToastViewport = ({ className, ...props }) => {
3483
+ const { viewport } = toastVariants();
3484
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Toast.Viewport, {
3485
+ className: (0, tailwind_variants.cn)(className, viewport()),
3486
+ ...props
3487
+ });
3488
+ };
3489
+ var toast_default = Object.assign(Toast, {
3490
+ Action: ToastAction,
3491
+ Close: ToastClose,
3492
+ Description: ToastDescription,
3493
+ Portal: ToastPortal,
3494
+ Provider: ToastProvider,
3495
+ Root: Toast,
3496
+ Title: ToastTitle,
3497
+ Viewport: ToastViewport
3498
+ });
3499
+
3500
+ //#endregion
3501
+ //#region src/components/toast/index.ts
3502
+ const useToast = _base_ui_react.Toast.useToastManager;
3503
+
3504
+ //#endregion
3505
+ //#region src/components/toggle-button/toggle-button.variants.ts
3506
+ const toggleButtonVariants = (0, tailwind_variants.tv)({
3507
+ base: "toggle-button",
3508
+ extend: buttonVariants
3509
+ });
3510
+
3511
+ //#endregion
3512
+ //#region src/components/toggle-button/toggle-button.tsx
3513
+ const ToggleButton = ({ className, variant, size, ...props }) => {
3514
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Toggle, {
3515
+ className: (0, tailwind_variants.cn)(className, toggleButtonVariants({
3516
+ size,
3517
+ variant
3518
+ })),
3519
+ ...props
3520
+ });
3521
+ };
3522
+ var toggle_button_default = ToggleButton;
3523
+
3524
+ //#endregion
3525
+ //#region src/components/tooltip/tooltip.context.ts
3526
+ const TooltipContext = (0, react.createContext)(null);
3527
+
3528
+ //#endregion
3529
+ //#region src/components/tooltip/tooltip.variants.ts
3530
+ const tooltipVariants = (0, tailwind_variants.tv)({ slots: {
3531
+ arrow: "tooltip__arrow",
3532
+ popup: "tooltip__popup",
3533
+ portal: "tooltip__portal",
3534
+ positioner: "tooltip__positioner",
3535
+ root: "tooltip",
3536
+ trigger: "tooltip__trigger"
3537
+ } });
3538
+
3539
+ //#endregion
3540
+ //#region src/components/tooltip/use-tooltip.ts
3541
+ const useTooltip = () => {
3542
+ const context = (0, react.useContext)(TooltipContext);
3543
+ if (!context) throw new Error("useTooltip must be used within a TooltipProvider");
3544
+ return context;
3545
+ };
3546
+
3547
+ //#endregion
3548
+ //#region src/components/tooltip/tooltip.tsx
3549
+ const Tooltip = ({ ...props }) => {
3550
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(TooltipContext, {
3551
+ value: { slots: (0, react.useMemo)(() => tooltipVariants({}), []) },
3552
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Tooltip.Root, { ...props })
3553
+ });
3554
+ };
3555
+ const TooltipTrigger = ({ className, ...props }) => {
3556
+ const { slots } = useTooltip();
3557
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Tooltip.Trigger, {
3558
+ className: (0, tailwind_variants.cn)(className, slots.trigger()),
3559
+ ...props
3560
+ });
3561
+ };
3562
+ const TooltipPortal = ({ className, ...props }) => {
3563
+ const { slots } = useTooltip();
3564
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Tooltip.Portal, {
3565
+ className: (0, tailwind_variants.cn)(className, slots.portal()),
3566
+ ...props
3567
+ });
3568
+ };
3569
+ const TooltipPositioner = ({ className, ...props }) => {
3570
+ const { slots } = useTooltip();
3571
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Tooltip.Positioner, {
3572
+ className: (0, tailwind_variants.cn)(className, slots.positioner()),
3573
+ ...props
3574
+ });
3575
+ };
3576
+ const TooltipPopup = ({ className, ...props }) => {
3577
+ const { slots } = useTooltip();
3578
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Tooltip.Popup, {
3579
+ className: (0, tailwind_variants.cn)(className, slots.popup()),
3580
+ ...props
3581
+ });
3582
+ };
3583
+ const TooltipArrow = ({ className, ...props }) => {
3584
+ const { slots } = useTooltip();
3585
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_base_ui_react.Tooltip.Arrow, {
3586
+ className: (0, tailwind_variants.cn)(className, slots.arrow()),
3587
+ ...props
3588
+ });
3589
+ };
3590
+ var tooltip_default = Object.assign(Tooltip, {
3591
+ Arrow: TooltipArrow,
3592
+ Popup: TooltipPopup,
3593
+ Portal: TooltipPortal,
3594
+ Positioner: TooltipPositioner,
3595
+ Provider: _base_ui_react.Tooltip.Provider,
3596
+ Root: Tooltip,
3597
+ Trigger: TooltipTrigger
3598
+ });
3599
+
3600
+ //#endregion
3601
+ exports.Accordion = accordion_default;
3602
+ exports.Alert = alert_default;
3603
+ exports.AlertDialog = alert_dialog_default;
3604
+ exports.Autocomplete = autocomplete_default;
3605
+ exports.Avatar = avatar_default;
3606
+ exports.Button = button_default;
3607
+ exports.ButtonGroup = button_group_default;
3608
+ exports.Card = card_default;
3609
+ exports.Checkbox = checkbox_default;
3610
+ exports.CheckboxGroup = checkbox_group_default;
3611
+ exports.Chip = chip_default;
3612
+ exports.Collapsible = collapsible_default;
3613
+ exports.Combobox = combobox_default;
3614
+ exports.Container = container_default;
3615
+ exports.ContextMenu = context_menu_default;
3616
+ exports.Dialog = dialog_default;
3617
+ exports.Drawer = drawer_default;
3618
+ exports.Field = field_default;
3619
+ exports.Fieldset = fieldset_default;
3620
+ exports.Form = form_default;
3621
+ exports.IconButton = icon_button_default;
3622
+ exports.Input = input_default;
3623
+ exports.Label = label_default;
3624
+ exports.Link = link_default;
3625
+ exports.List = list_default;
3626
+ exports.Menu = menu_default;
3627
+ exports.Meter = meter_default;
3628
+ exports.Navbar = navbar_default;
3629
+ exports.NavigationMenu = navigation_menu_default;
3630
+ exports.NumberField = number_field_default;
3631
+ exports.Popover = popover_default;
3632
+ exports.PreviewCard = preview_card_default;
3633
+ exports.Progress = progress_default;
3634
+ exports.Radio = radio_default;
3635
+ exports.RadioGroup = radio_group_default;
3636
+ exports.ScrollArea = scroll_area_default;
3637
+ exports.Select = select_default;
3638
+ exports.Separator = separator_default;
3639
+ exports.Sidebar = sidebar_default;
3640
+ exports.Slider = slider_default;
3641
+ exports.Spinner = spinner_default;
3642
+ exports.Switch = switch_default;
3643
+ exports.Table = table_default;
3644
+ exports.Tabs = tabs_default;
3645
+ exports.Toast = toast_default;
3646
+ exports.ToggleButton = toggle_button_default;
3647
+ exports.Tooltip = tooltip_default;
3648
+ exports.accordionVariants = accordionVariants;
3649
+ exports.alertDialogVariants = alertDialogVariants;
3650
+ exports.alertVariants = alertVariants;
3651
+ exports.autocompleteVariants = autocompleteVariants;
3652
+ exports.avatarVariants = avatarVariants;
3653
+ exports.buttonGroupVariants = buttonGroupVariants;
3654
+ exports.buttonVariants = buttonVariants;
3655
+ exports.cardVariants = cardVariants;
3656
+ exports.checkboxGroupVariants = checkboxGroupVariants;
3657
+ exports.checkboxVariants = checkboxVariants;
3658
+ exports.chipVariants = chipVariants;
3659
+ Object.defineProperty(exports, 'cn', {
3660
+ enumerable: true,
3661
+ get: function () {
3662
+ return tailwind_variants.cn;
3663
+ }
3664
+ });
3665
+ exports.comboboxVariants = comboboxVariants;
3666
+ exports.containerVariants = containerVariants;
3667
+ exports.contextMenuVariants = contextMenuVariants;
3668
+ exports.dialogVariants = dialogVariants;
3669
+ exports.drawerVariants = drawerVariants;
3670
+ exports.fieldVariants = fieldVariants;
3671
+ exports.fieldsetVariants = fieldsetVariants;
3672
+ exports.formVariants = formVariants;
3673
+ exports.iconButtonVariants = iconButtonVariants;
3674
+ exports.inputVariants = inputVariants;
3675
+ exports.labelVariants = labelVariants;
3676
+ exports.linkVariants = linkVariants;
3677
+ exports.listVariants = listVariants;
3678
+ exports.menuVariants = menuVariants;
3679
+ exports.meterVariants = meterVariants;
3680
+ exports.navbarVariants = navbarVariants;
3681
+ exports.navigationMenuVariants = navigationMenuVariants;
3682
+ exports.numberFieldVariants = numberFieldVariants;
3683
+ exports.popoverVariants = popoverVariants;
3684
+ exports.previewCardVariants = previewCardVariants;
3685
+ exports.progressVariants = progressVariants;
3686
+ exports.radioGroupVariants = radioGroupVariants;
3687
+ exports.radioVariants = radioVariants;
3688
+ exports.scrollAreaVariants = scrollAreaVariants;
3689
+ exports.selectVariants = selectVariants;
3690
+ exports.separatorVariants = separatorVariants;
3691
+ exports.sidebarVariants = sidebarVariants;
3692
+ exports.sliderVariants = sliderVariants;
3693
+ exports.spinnerVariants = spinnerVariants;
3694
+ exports.switchVariants = switchVariants;
3695
+ exports.tableVariants = tableVariants;
3696
+ exports.tabsVariants = tabsVariants;
3697
+ exports.toggleButtonVariants = toggleButtonVariants;
3698
+ exports.useToast = useToast;
3699
+ //# sourceMappingURL=index.cjs.map