@nextlyhq/ui 0.0.2-alpha.37 → 0.0.2-alpha.39

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.mjs CHANGED
@@ -1,34 +1,20 @@
1
- import { Slot } from '@radix-ui/react-slot';
2
- import { cva } from 'class-variance-authority';
3
- import * as React6 from 'react';
4
- import { forwardRef, createContext, useContext } from 'react';
5
- import { clsx } from 'clsx';
6
- import { twMerge } from 'tailwind-merge';
7
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
8
- import { Root as Root$2 } from '@radix-ui/react-label';
9
- import { Info, Minus, Check, ChevronDown, X, ChevronRight, Circle, Search, Loader2, ChevronUp, XCircle, AlertTriangle, AlertCircle, CheckCircle2, FileQuestion } from 'lucide-react';
10
- import { Portal, Content, Provider, Root, Trigger } from '@radix-ui/react-tooltip';
11
- import * as SeparatorPrimitive from '@radix-ui/react-separator';
12
- import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
13
- import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
14
- import { Root as Root$4, Thumb } from '@radix-ui/react-switch';
15
- import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
16
- import * as AccordionPrimitive from '@radix-ui/react-accordion';
17
- import { Root as Root$1, Image, Fallback } from '@radix-ui/react-avatar';
18
- import { List, Trigger as Trigger$1, Content as Content$1, Root as Root$3 } from '@radix-ui/react-tabs';
19
- import * as PopoverPrimitive from '@radix-ui/react-popover';
20
- import * as DialogPrimitive from '@radix-ui/react-dialog';
21
- import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
22
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
23
- import * as SelectPrimitive from '@radix-ui/react-select';
24
- import { Command as Command$1 } from 'cmdk';
25
- import { Toaster as Toaster$1 } from 'sonner';
26
- export { toast } from 'sonner';
1
+ "use client";
27
2
 
28
3
  // src/components/button.tsx
4
+ import { Slot } from "@radix-ui/react-slot";
5
+ import { cva } from "class-variance-authority";
6
+ import * as React from "react";
7
+ import { forwardRef } from "react";
8
+
9
+ // src/lib/utils.ts
10
+ import { clsx } from "clsx";
11
+ import { twMerge } from "tailwind-merge";
29
12
  function cn(...inputs) {
30
13
  return twMerge(clsx(inputs));
31
14
  }
15
+
16
+ // src/components/button.tsx
17
+ import { jsx } from "react/jsx-runtime";
32
18
  var buttonVariants = cva(
33
19
  "inline-flex items-center justify-center whitespace-nowrap rounded-none text-sm font-medium cursor-pointer transition-all duration-150 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-0 disabled:pointer-events-none disabled:opacity-50 disabled:cursor-not-allowed active:scale-[0.98] [&_svg]:text-current",
34
20
  {
@@ -74,7 +60,7 @@ var Button = forwardRef(
74
60
  ...props
75
61
  }, ref) => {
76
62
  const Comp = asChild ? Slot : "button";
77
- const hasMultipleChildren = React6.Children.count(children) > 1;
63
+ const hasMultipleChildren = React.Children.count(children) > 1;
78
64
  return /* @__PURE__ */ jsx(
79
65
  Comp,
80
66
  {
@@ -91,7 +77,12 @@ var Button = forwardRef(
91
77
  }
92
78
  );
93
79
  Button.displayName = "Button";
94
- var inputVariants = cva(
80
+
81
+ // src/components/input.tsx
82
+ import { cva as cva2 } from "class-variance-authority";
83
+ import { forwardRef as forwardRef2 } from "react";
84
+ import { jsx as jsx2 } from "react/jsx-runtime";
85
+ var inputVariants = cva2(
95
86
  "file:text-foreground placeholder:text-muted-foreground placeholder:opacity-50 selection:bg-primary selection:text-primary-foreground w-full min-w-0 rounded-none border border-input bg-background text-sm transition-all duration-150 outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 focus:ring-0 focus:ring-offset-0 focus:outline-none focus:border-primary! focus-visible:border-primary! aria-invalid:border-destructive aria-invalid:focus:border-destructive! data-[invalid=true]:border-destructive data-[invalid=true]:focus:border-destructive!",
96
87
  {
97
88
  variants: {
@@ -106,9 +97,9 @@ var inputVariants = cva(
106
97
  }
107
98
  }
108
99
  );
109
- var Input = forwardRef(
100
+ var Input = forwardRef2(
110
101
  ({ className, type, size, ...props }, ref) => {
111
- return /* @__PURE__ */ jsx(
102
+ return /* @__PURE__ */ jsx2(
112
103
  "input",
113
104
  {
114
105
  type,
@@ -121,8 +112,12 @@ var Input = forwardRef(
121
112
  }
122
113
  );
123
114
  Input.displayName = "Input";
124
- var Textarea = forwardRef(({ className, ...props }, ref) => {
125
- return /* @__PURE__ */ jsx(
115
+
116
+ // src/components/textarea.tsx
117
+ import { forwardRef as forwardRef3 } from "react";
118
+ import { jsx as jsx3 } from "react/jsx-runtime";
119
+ var Textarea = forwardRef3(({ className, ...props }, ref) => {
120
+ return /* @__PURE__ */ jsx3(
126
121
  "textarea",
127
122
  {
128
123
  "data-slot": "textarea",
@@ -139,9 +134,13 @@ var Textarea = forwardRef(({ className, ...props }, ref) => {
139
134
  );
140
135
  });
141
136
  Textarea.displayName = "Textarea";
137
+
138
+ // src/components/label.tsx
139
+ import { Root as LabelRoot } from "@radix-ui/react-label";
140
+ import { jsx as jsx4 } from "react/jsx-runtime";
142
141
  function Label({ className, ...props }) {
143
- return /* @__PURE__ */ jsx(
144
- Root$2,
142
+ return /* @__PURE__ */ jsx4(
143
+ LabelRoot,
145
144
  {
146
145
  "data-slot": "label",
147
146
  className: cn(
@@ -152,18 +151,39 @@ function Label({ className, ...props }) {
152
151
  }
153
152
  );
154
153
  }
154
+
155
+ // src/components/form-label-with-tooltip.tsx
156
+ import { Info } from "lucide-react";
157
+ import * as React2 from "react";
158
+
159
+ // src/components/tooltip.tsx
160
+ import {
161
+ Provider,
162
+ Root,
163
+ Trigger,
164
+ Portal,
165
+ Content
166
+ } from "@radix-ui/react-tooltip";
167
+ import { forwardRef as forwardRef4 } from "react";
168
+
169
+ // src/providers/portal-provider.tsx
170
+ import { createContext, useContext } from "react";
171
+ import { jsx as jsx5 } from "react/jsx-runtime";
155
172
  var PortalContext = createContext({ container: null });
156
173
  function PortalProvider({ container, children }) {
157
- return /* @__PURE__ */ jsx(PortalContext.Provider, { value: { container }, children });
174
+ return /* @__PURE__ */ jsx5(PortalContext.Provider, { value: { container }, children });
158
175
  }
159
176
  function usePortalContainer() {
160
177
  const { container } = useContext(PortalContext);
161
178
  return container ?? void 0;
162
179
  }
180
+
181
+ // src/components/tooltip.tsx
182
+ import { jsx as jsx6 } from "react/jsx-runtime";
163
183
  var TooltipProvider = Provider;
164
184
  var Tooltip = Root;
165
185
  var TooltipTrigger = Trigger;
166
- var TooltipContent = forwardRef(({ className, sideOffset = 4, ...props }, ref) => {
186
+ var TooltipContent = forwardRef4(({ className, sideOffset = 4, ...props }, ref) => {
167
187
  const portalContainer = usePortalContainer();
168
188
  return (
169
189
  // Portalled for the same reason as every other overlay here, plus one
@@ -172,7 +192,7 @@ var TooltipContent = forwardRef(({ className, sideOffset = 4, ...props }, ref) =
172
192
  // browser does not. Left inline under a `@container` element, the content
173
193
  // is offset by that element's own position. Portalling lifts it out of any
174
194
  // such ancestor, so the two agree again.
175
- /* @__PURE__ */ jsx(Portal, { container: portalContainer, children: /* @__PURE__ */ jsx(
195
+ /* @__PURE__ */ jsx6(Portal, { container: portalContainer, children: /* @__PURE__ */ jsx6(
176
196
  Content,
177
197
  {
178
198
  ref,
@@ -188,7 +208,10 @@ var TooltipContent = forwardRef(({ className, sideOffset = 4, ...props }, ref) =
188
208
  );
189
209
  });
190
210
  TooltipContent.displayName = Content.displayName;
191
- var FormLabelWithTooltip = React6.forwardRef(
211
+
212
+ // src/components/form-label-with-tooltip.tsx
213
+ import { jsx as jsx7, jsxs } from "react/jsx-runtime";
214
+ var FormLabelWithTooltip = React2.forwardRef(
192
215
  ({
193
216
  className,
194
217
  labelClassName,
@@ -201,9 +224,9 @@ var FormLabelWithTooltip = React6.forwardRef(
201
224
  return /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-2", className), children: [
202
225
  /* @__PURE__ */ jsxs(Label, { ref, className: labelClassName, ...props, children: [
203
226
  label,
204
- required && /* @__PURE__ */ jsx("span", { className: "text-destructive ml-1", children: "*" })
227
+ required && /* @__PURE__ */ jsx7("span", { className: "text-destructive ml-1", children: "*" })
205
228
  ] }),
206
- description && /* @__PURE__ */ jsx(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip, { delayDuration: 200, children: [
229
+ description && /* @__PURE__ */ jsx7(TooltipProvider, { children: /* @__PURE__ */ jsxs(Tooltip, { delayDuration: 200, children: [
207
230
  /* @__PURE__ */ jsxs(
208
231
  TooltipTrigger,
209
232
  {
@@ -211,12 +234,12 @@ var FormLabelWithTooltip = React6.forwardRef(
211
234
  tabIndex: -1,
212
235
  className: "shrink-0 text-muted-foreground hover:text-foreground focus:outline-none focus:text-foreground transition-colors cursor-help",
213
236
  children: [
214
- /* @__PURE__ */ jsx(Info, { className: "h-3.5 w-3.5" }),
215
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Toggle description" })
237
+ /* @__PURE__ */ jsx7(Info, { className: "h-3.5 w-3.5" }),
238
+ /* @__PURE__ */ jsx7("span", { className: "sr-only", children: "Toggle description" })
216
239
  ]
217
240
  }
218
241
  ),
219
- /* @__PURE__ */ jsx(
242
+ /* @__PURE__ */ jsx7(
220
243
  TooltipContent,
221
244
  {
222
245
  side: "right",
@@ -232,7 +255,11 @@ var FormLabelWithTooltip = React6.forwardRef(
232
255
  }
233
256
  );
234
257
  FormLabelWithTooltip.displayName = "FormLabelWithTooltip";
235
- var badgeVariants = cva(
258
+
259
+ // src/components/badge.tsx
260
+ import { cva as cva3 } from "class-variance-authority";
261
+ import { jsx as jsx8 } from "react/jsx-runtime";
262
+ var badgeVariants = cva3(
236
263
  "inline-flex items-center rounded-none px-2.5 py-0.5 h-[22px] text-xs font-medium transition-colors",
237
264
  {
238
265
  variants: {
@@ -253,7 +280,7 @@ var badgeVariants = cva(
253
280
  }
254
281
  );
255
282
  function Badge({ className, variant = "default", ...props }) {
256
- return /* @__PURE__ */ jsx(
283
+ return /* @__PURE__ */ jsx8(
257
284
  "div",
258
285
  {
259
286
  "data-slot": `badge.${variant}`,
@@ -262,7 +289,12 @@ function Badge({ className, variant = "default", ...props }) {
262
289
  }
263
290
  );
264
291
  }
265
- var cardVariants = cva(
292
+
293
+ // src/components/card.tsx
294
+ import { cva as cva4 } from "class-variance-authority";
295
+ import { forwardRef as forwardRef6 } from "react";
296
+ import { jsx as jsx9 } from "react/jsx-runtime";
297
+ var cardVariants = cva4(
266
298
  "bg-card text-foreground rounded-none border border-border transition-all duration-200",
267
299
  {
268
300
  variants: {
@@ -277,9 +309,9 @@ var cardVariants = cva(
277
309
  }
278
310
  }
279
311
  );
280
- var Card = forwardRef(
312
+ var Card = forwardRef6(
281
313
  ({ className, variant, ...props }, ref) => {
282
- return /* @__PURE__ */ jsx(
314
+ return /* @__PURE__ */ jsx9(
283
315
  "div",
284
316
  {
285
317
  ref,
@@ -291,9 +323,9 @@ var Card = forwardRef(
291
323
  }
292
324
  );
293
325
  Card.displayName = "Card";
294
- var CardHeader = forwardRef(
326
+ var CardHeader = forwardRef6(
295
327
  ({ className, noBorder = false, ...props }, ref) => {
296
- return /* @__PURE__ */ jsx(
328
+ return /* @__PURE__ */ jsx9(
297
329
  "div",
298
330
  {
299
331
  ref,
@@ -309,9 +341,9 @@ var CardHeader = forwardRef(
309
341
  }
310
342
  );
311
343
  CardHeader.displayName = "CardHeader";
312
- var CardTitle = forwardRef(
344
+ var CardTitle = forwardRef6(
313
345
  ({ className, ...props }, ref) => {
314
- return /* @__PURE__ */ jsx(
346
+ return /* @__PURE__ */ jsx9(
315
347
  "h3",
316
348
  {
317
349
  ref,
@@ -323,9 +355,9 @@ var CardTitle = forwardRef(
323
355
  }
324
356
  );
325
357
  CardTitle.displayName = "CardTitle";
326
- var CardDescription = forwardRef(
358
+ var CardDescription = forwardRef6(
327
359
  ({ className, ...props }, ref) => {
328
- return /* @__PURE__ */ jsx(
360
+ return /* @__PURE__ */ jsx9(
329
361
  "p",
330
362
  {
331
363
  ref,
@@ -337,9 +369,9 @@ var CardDescription = forwardRef(
337
369
  }
338
370
  );
339
371
  CardDescription.displayName = "CardDescription";
340
- var CardAction = forwardRef(
372
+ var CardAction = forwardRef6(
341
373
  ({ className, ...props }, ref) => {
342
- return /* @__PURE__ */ jsx(
374
+ return /* @__PURE__ */ jsx9(
343
375
  "div",
344
376
  {
345
377
  ref,
@@ -351,9 +383,9 @@ var CardAction = forwardRef(
351
383
  }
352
384
  );
353
385
  CardAction.displayName = "CardAction";
354
- var CardContent = forwardRef(
386
+ var CardContent = forwardRef6(
355
387
  ({ className, ...props }, ref) => {
356
- return /* @__PURE__ */ jsx(
388
+ return /* @__PURE__ */ jsx9(
357
389
  "div",
358
390
  {
359
391
  ref,
@@ -365,9 +397,9 @@ var CardContent = forwardRef(
365
397
  }
366
398
  );
367
399
  CardContent.displayName = "CardContent";
368
- var CardFooter = forwardRef(
400
+ var CardFooter = forwardRef6(
369
401
  ({ className, ...props }, ref) => {
370
- return /* @__PURE__ */ jsx(
402
+ return /* @__PURE__ */ jsx9(
371
403
  "div",
372
404
  {
373
405
  ref,
@@ -382,6 +414,10 @@ var CardFooter = forwardRef(
382
414
  }
383
415
  );
384
416
  CardFooter.displayName = "CardFooter";
417
+
418
+ // src/components/layout.tsx
419
+ import { forwardRef as forwardRef7 } from "react";
420
+ import { jsx as jsx10, jsxs as jsxs2 } from "react/jsx-runtime";
385
421
  var GAP = {
386
422
  0: "gap-0",
387
423
  1: "gap-1",
@@ -398,8 +434,8 @@ var COLS = {
398
434
  4: "grid-cols-4",
399
435
  6: "grid-cols-6"
400
436
  };
401
- var Stack = forwardRef(
402
- ({ direction = "col", gap = 4, className, ...props }, ref) => /* @__PURE__ */ jsx(
437
+ var Stack = forwardRef7(
438
+ ({ direction = "col", gap = 4, className, ...props }, ref) => /* @__PURE__ */ jsx10(
403
439
  "div",
404
440
  {
405
441
  ref,
@@ -414,8 +450,8 @@ var Stack = forwardRef(
414
450
  )
415
451
  );
416
452
  Stack.displayName = "Stack";
417
- var Grid = forwardRef(
418
- ({ cols = 2, gap = 4, className, ...props }, ref) => /* @__PURE__ */ jsx(
453
+ var Grid = forwardRef7(
454
+ ({ cols = 2, gap = 4, className, ...props }, ref) => /* @__PURE__ */ jsx10(
419
455
  "div",
420
456
  {
421
457
  ref,
@@ -425,14 +461,19 @@ var Grid = forwardRef(
425
461
  )
426
462
  );
427
463
  Grid.displayName = "Grid";
428
- var Stat = forwardRef(
429
- ({ label, value, className, ...props }, ref) => /* @__PURE__ */ jsxs("div", { ref, className: cn("flex flex-col gap-1", className), ...props, children: [
430
- /* @__PURE__ */ jsx("span", { className: "text-sm text-muted-foreground", children: label }),
431
- /* @__PURE__ */ jsx("span", { className: "text-2xl font-semibold text-foreground", children: value })
464
+ var Stat = forwardRef7(
465
+ ({ label, value, className, ...props }, ref) => /* @__PURE__ */ jsxs2("div", { ref, className: cn("flex flex-col gap-1", className), ...props, children: [
466
+ /* @__PURE__ */ jsx10("span", { className: "text-sm text-muted-foreground", children: label }),
467
+ /* @__PURE__ */ jsx10("span", { className: "text-2xl font-semibold text-foreground", children: value })
432
468
  ] })
433
469
  );
434
470
  Stat.displayName = "Stat";
435
- var alertVariants = cva(
471
+
472
+ // src/components/alert.tsx
473
+ import { cva as cva5 } from "class-variance-authority";
474
+ import { forwardRef as forwardRef8 } from "react";
475
+ import { jsx as jsx11 } from "react/jsx-runtime";
476
+ var alertVariants = cva5(
436
477
  "relative flex items-start gap-3 rounded-none border border-border p-4 text-sm transition-colors duration-150",
437
478
  {
438
479
  variants: {
@@ -454,9 +495,9 @@ var alertVariants = cva(
454
495
  }
455
496
  }
456
497
  );
457
- var Alert = forwardRef(
498
+ var Alert = forwardRef8(
458
499
  ({ className, variant = "info", role = "alert", ...props }, ref) => {
459
- return /* @__PURE__ */ jsx(
500
+ return /* @__PURE__ */ jsx11(
460
501
  "div",
461
502
  {
462
503
  ref,
@@ -469,9 +510,9 @@ var Alert = forwardRef(
469
510
  }
470
511
  );
471
512
  Alert.displayName = "Alert";
472
- var AlertTitle = forwardRef(
513
+ var AlertTitle = forwardRef8(
473
514
  ({ className, ...props }, ref) => {
474
- return /* @__PURE__ */ jsx(
515
+ return /* @__PURE__ */ jsx11(
475
516
  "h5",
476
517
  {
477
518
  ref,
@@ -486,9 +527,9 @@ var AlertTitle = forwardRef(
486
527
  }
487
528
  );
488
529
  AlertTitle.displayName = "AlertTitle";
489
- var AlertDescription = forwardRef(
530
+ var AlertDescription = forwardRef8(
490
531
  ({ className, ...props }, ref) => {
491
- return /* @__PURE__ */ jsx(
532
+ return /* @__PURE__ */ jsx11(
492
533
  "div",
493
534
  {
494
535
  ref,
@@ -500,13 +541,17 @@ var AlertDescription = forwardRef(
500
541
  }
501
542
  );
502
543
  AlertDescription.displayName = "AlertDescription";
544
+
545
+ // src/components/separator.tsx
546
+ import * as SeparatorPrimitive from "@radix-ui/react-separator";
547
+ import { jsx as jsx12 } from "react/jsx-runtime";
503
548
  function Separator({
504
549
  className,
505
550
  orientation = "horizontal",
506
551
  decorative = true,
507
552
  ...props
508
553
  }) {
509
- return /* @__PURE__ */ jsx(
554
+ return /* @__PURE__ */ jsx12(
510
555
  SeparatorPrimitive.Root,
511
556
  {
512
557
  "data-slot": "separator",
@@ -520,9 +565,13 @@ function Separator({
520
565
  }
521
566
  );
522
567
  }
523
- var Skeleton = React6.forwardRef(
568
+
569
+ // src/components/skeleton.tsx
570
+ import * as React3 from "react";
571
+ import { jsx as jsx13 } from "react/jsx-runtime";
572
+ var Skeleton = React3.forwardRef(
524
573
  ({ className, ...props }, ref) => {
525
- return /* @__PURE__ */ jsx(
574
+ return /* @__PURE__ */ jsx13(
526
575
  "div",
527
576
  {
528
577
  ref,
@@ -538,7 +587,12 @@ var Skeleton = React6.forwardRef(
538
587
  }
539
588
  );
540
589
  Skeleton.displayName = "Skeleton";
541
- var progressVariants = cva("h-full rounded-none transition-all", {
590
+
591
+ // src/components/progress.tsx
592
+ import { cva as cva6 } from "class-variance-authority";
593
+ import * as React4 from "react";
594
+ import { jsx as jsx14 } from "react/jsx-runtime";
595
+ var progressVariants = cva6("h-full rounded-none transition-all", {
542
596
  variants: {
543
597
  variant: {
544
598
  default: "bg-primary-500",
@@ -550,7 +604,7 @@ var progressVariants = cva("h-full rounded-none transition-all", {
550
604
  variant: "default"
551
605
  }
552
606
  });
553
- var Progress = React6.forwardRef(
607
+ var Progress = React4.forwardRef(
554
608
  ({
555
609
  value,
556
610
  max = 100,
@@ -561,7 +615,7 @@ var Progress = React6.forwardRef(
561
615
  }, ref) => {
562
616
  const clampedValue = Math.min(Math.max(0, value), max);
563
617
  const percentage = clampedValue / max * 100;
564
- return /* @__PURE__ */ jsx(
618
+ return /* @__PURE__ */ jsx14(
565
619
  "div",
566
620
  {
567
621
  ref,
@@ -575,7 +629,7 @@ var Progress = React6.forwardRef(
575
629
  className
576
630
  ),
577
631
  ...props,
578
- children: /* @__PURE__ */ jsx(
632
+ children: /* @__PURE__ */ jsx14(
579
633
  "div",
580
634
  {
581
635
  className: cn(progressVariants({ variant })),
@@ -590,7 +644,13 @@ var Progress = React6.forwardRef(
590
644
  }
591
645
  );
592
646
  Progress.displayName = "Progress";
593
- var Checkbox = forwardRef(({ className, indeterminate, ...props }, ref) => /* @__PURE__ */ jsx(
647
+
648
+ // src/components/checkbox.tsx
649
+ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
650
+ import { Check, Minus } from "lucide-react";
651
+ import { forwardRef as forwardRef11 } from "react";
652
+ import { jsx as jsx15 } from "react/jsx-runtime";
653
+ var Checkbox = forwardRef11(({ className, indeterminate, ...props }, ref) => /* @__PURE__ */ jsx15(
594
654
  CheckboxPrimitive.Root,
595
655
  {
596
656
  ref,
@@ -602,18 +662,23 @@ var Checkbox = forwardRef(({ className, indeterminate, ...props }, ref) => /* @_
602
662
  className
603
663
  ),
604
664
  ...props,
605
- children: /* @__PURE__ */ jsx(
665
+ children: /* @__PURE__ */ jsx15(
606
666
  CheckboxPrimitive.Indicator,
607
667
  {
608
668
  className: cn("flex items-center justify-center text-current"),
609
- children: indeterminate ? /* @__PURE__ */ jsx(Minus, { className: "h-3 w-3" }) : /* @__PURE__ */ jsx(Check, { className: "h-3 w-3" })
669
+ children: indeterminate ? /* @__PURE__ */ jsx15(Minus, { className: "h-3 w-3" }) : /* @__PURE__ */ jsx15(Check, { className: "h-3 w-3" })
610
670
  }
611
671
  )
612
672
  }
613
673
  ));
614
674
  Checkbox.displayName = "Checkbox";
615
- var RadioGroup = forwardRef(({ className, ...props }, ref) => {
616
- return /* @__PURE__ */ jsx(
675
+
676
+ // src/components/radio-group.tsx
677
+ import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
678
+ import { forwardRef as forwardRef12 } from "react";
679
+ import { jsx as jsx16 } from "react/jsx-runtime";
680
+ var RadioGroup = forwardRef12(({ className, ...props }, ref) => {
681
+ return /* @__PURE__ */ jsx16(
617
682
  RadioGroupPrimitive.Root,
618
683
  {
619
684
  className: cn("grid gap-2", className),
@@ -624,8 +689,8 @@ var RadioGroup = forwardRef(({ className, ...props }, ref) => {
624
689
  );
625
690
  });
626
691
  RadioGroup.displayName = "RadioGroup";
627
- var RadioGroupItem = forwardRef(({ className, ...props }, ref) => {
628
- return /* @__PURE__ */ jsx(
692
+ var RadioGroupItem = forwardRef12(({ className, ...props }, ref) => {
693
+ return /* @__PURE__ */ jsx16(
629
694
  RadioGroupPrimitive.Item,
630
695
  {
631
696
  ref,
@@ -639,14 +704,21 @@ var RadioGroupItem = forwardRef(({ className, ...props }, ref) => {
639
704
  className
640
705
  ),
641
706
  ...props,
642
- children: /* @__PURE__ */ jsx(RadioGroupPrimitive.Indicator, {})
707
+ children: /* @__PURE__ */ jsx16(RadioGroupPrimitive.Indicator, {})
643
708
  }
644
709
  );
645
710
  });
646
711
  RadioGroupItem.displayName = "RadioGroupItem";
712
+
713
+ // src/components/switch.tsx
714
+ import {
715
+ Root as SwitchRoot,
716
+ Thumb as SwitchThumb
717
+ } from "@radix-ui/react-switch";
718
+ import { jsx as jsx17 } from "react/jsx-runtime";
647
719
  function Switch({ className, ...props }) {
648
- return /* @__PURE__ */ jsx(
649
- Root$4,
720
+ return /* @__PURE__ */ jsx17(
721
+ SwitchRoot,
650
722
  {
651
723
  "data-slot": "switch",
652
724
  className: cn(
@@ -656,8 +728,8 @@ function Switch({ className, ...props }) {
656
728
  className
657
729
  ),
658
730
  ...props,
659
- children: /* @__PURE__ */ jsx(
660
- Thumb,
731
+ children: /* @__PURE__ */ jsx17(
732
+ SwitchThumb,
661
733
  {
662
734
  "data-slot": "switch-thumb",
663
735
  className: cn(
@@ -668,12 +740,21 @@ function Switch({ className, ...props }) {
668
740
  }
669
741
  );
670
742
  }
743
+
744
+ // src/components/collapsible.tsx
745
+ import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
671
746
  var Collapsible = CollapsiblePrimitive.Root;
672
747
  var CollapsibleTrigger2 = CollapsiblePrimitive.CollapsibleTrigger;
673
748
  var CollapsibleContent2 = CollapsiblePrimitive.CollapsibleContent;
749
+
750
+ // src/components/accordion.tsx
751
+ import * as AccordionPrimitive from "@radix-ui/react-accordion";
752
+ import { ChevronDown } from "lucide-react";
753
+ import { forwardRef as forwardRef13 } from "react";
754
+ import { jsx as jsx18, jsxs as jsxs3 } from "react/jsx-runtime";
674
755
  var Accordion = AccordionPrimitive.Root;
675
- var AccordionItem = forwardRef(
676
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
756
+ var AccordionItem = forwardRef13(
757
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx18(
677
758
  AccordionPrimitive.Item,
678
759
  {
679
760
  ref,
@@ -684,8 +765,8 @@ var AccordionItem = forwardRef(
684
765
  )
685
766
  );
686
767
  AccordionItem.displayName = "AccordionItem";
687
- var AccordionTrigger = forwardRef(
688
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", "data-slot": "accordion-header", children: /* @__PURE__ */ jsxs(
768
+ var AccordionTrigger = forwardRef13(
769
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx18(AccordionPrimitive.Header, { className: "flex", "data-slot": "accordion-header", children: /* @__PURE__ */ jsxs3(
689
770
  AccordionPrimitive.Trigger,
690
771
  {
691
772
  ref,
@@ -697,26 +778,36 @@ var AccordionTrigger = forwardRef(
697
778
  ...props,
698
779
  children: [
699
780
  children,
700
- /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-150 will-change-transform" })
781
+ /* @__PURE__ */ jsx18(ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-150 will-change-transform" })
701
782
  ]
702
783
  }
703
784
  ) })
704
785
  );
705
786
  AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName;
706
- var AccordionContent = forwardRef(
707
- ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
787
+ var AccordionContent = forwardRef13(
788
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ jsx18(
708
789
  AccordionPrimitive.Content,
709
790
  {
710
791
  ref,
711
792
  "data-slot": "accordion-content",
712
793
  className: "overflow-hidden text-sm transition-all will-change-[height] transform-[translateZ(0)] data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
713
794
  ...props,
714
- children: /* @__PURE__ */ jsx("div", { className: cn("pb-4 pt-0", className), children })
795
+ children: /* @__PURE__ */ jsx18("div", { className: cn("pb-4 pt-0", className), children })
715
796
  }
716
797
  )
717
798
  );
718
799
  AccordionContent.displayName = AccordionPrimitive.Content.displayName;
719
- var avatarVariants = cva(
800
+
801
+ // src/components/avatar.tsx
802
+ import {
803
+ Root as AvatarRoot,
804
+ Image as AvatarImagePrimitive,
805
+ Fallback as AvatarFallbackPrimitive
806
+ } from "@radix-ui/react-avatar";
807
+ import { cva as cva7 } from "class-variance-authority";
808
+ import { createContext as createContext2, forwardRef as forwardRef14, useContext as useContext2 } from "react";
809
+ import { jsx as jsx19 } from "react/jsx-runtime";
810
+ var avatarVariants = cva7(
720
811
  "relative inline-flex shrink-0 overflow-hidden rounded-none items-center justify-center bg-primary/5 text-muted-foreground",
721
812
  {
722
813
  variants: {
@@ -745,11 +836,11 @@ var fallbackTextSizeMap = {
745
836
  "2xl": "text-2xl"
746
837
  // 24px for 80px avatar
747
838
  };
748
- var AvatarSizeContext = createContext("md");
749
- var Avatar = forwardRef(
839
+ var AvatarSizeContext = createContext2("md");
840
+ var Avatar = forwardRef14(
750
841
  ({ className, size = "md", ...props }, ref) => {
751
- return /* @__PURE__ */ jsx(AvatarSizeContext.Provider, { value: size, children: /* @__PURE__ */ jsx(
752
- Root$1,
842
+ return /* @__PURE__ */ jsx19(AvatarSizeContext.Provider, { value: size, children: /* @__PURE__ */ jsx19(
843
+ AvatarRoot,
753
844
  {
754
845
  ref,
755
846
  "data-slot": "avatar",
@@ -760,10 +851,10 @@ var Avatar = forwardRef(
760
851
  }
761
852
  );
762
853
  Avatar.displayName = "Avatar";
763
- var AvatarImage = forwardRef(
854
+ var AvatarImage = forwardRef14(
764
855
  ({ className, ...props }, ref) => {
765
- return /* @__PURE__ */ jsx(
766
- Image,
856
+ return /* @__PURE__ */ jsx19(
857
+ AvatarImagePrimitive,
767
858
  {
768
859
  ref,
769
860
  "data-slot": "avatar-image",
@@ -774,12 +865,12 @@ var AvatarImage = forwardRef(
774
865
  }
775
866
  );
776
867
  AvatarImage.displayName = "AvatarImage";
777
- var AvatarFallback = forwardRef(
868
+ var AvatarFallback = forwardRef14(
778
869
  ({ className, children, ...props }, ref) => {
779
- const size = useContext(AvatarSizeContext) || "md";
870
+ const size = useContext2(AvatarSizeContext) || "md";
780
871
  const textSize = fallbackTextSizeMap[size];
781
- return /* @__PURE__ */ jsx(
782
- Fallback,
872
+ return /* @__PURE__ */ jsx19(
873
+ AvatarFallbackPrimitive,
783
874
  {
784
875
  ref,
785
876
  "data-slot": "avatar-fallback",
@@ -795,9 +886,14 @@ var AvatarFallback = forwardRef(
795
886
  }
796
887
  );
797
888
  AvatarFallback.displayName = "AvatarFallback";
798
- var Tabs = Root$3;
799
- var TabsList = forwardRef(
800
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
889
+
890
+ // src/components/tabs.tsx
891
+ import { Root as Root7, List, Trigger as Trigger3, Content as Content3 } from "@radix-ui/react-tabs";
892
+ import { forwardRef as forwardRef15 } from "react";
893
+ import { jsx as jsx20 } from "react/jsx-runtime";
894
+ var Tabs = Root7;
895
+ var TabsList = forwardRef15(
896
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
801
897
  List,
802
898
  {
803
899
  ref,
@@ -811,9 +907,9 @@ var TabsList = forwardRef(
811
907
  )
812
908
  );
813
909
  TabsList.displayName = List.displayName;
814
- var TabsTrigger = forwardRef(
815
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
816
- Trigger$1,
910
+ var TabsTrigger = forwardRef15(
911
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
912
+ Trigger3,
817
913
  {
818
914
  ref,
819
915
  "data-slot": "tabs-trigger",
@@ -825,10 +921,10 @@ var TabsTrigger = forwardRef(
825
921
  }
826
922
  )
827
923
  );
828
- TabsTrigger.displayName = Trigger$1.displayName;
829
- var TabsContent = forwardRef(
830
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
831
- Content$1,
924
+ TabsTrigger.displayName = Trigger3.displayName;
925
+ var TabsContent = forwardRef15(
926
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx20(
927
+ Content3,
832
928
  {
833
929
  ref,
834
930
  "data-slot": "tabs-content",
@@ -840,13 +936,18 @@ var TabsContent = forwardRef(
840
936
  }
841
937
  )
842
938
  );
843
- TabsContent.displayName = Content$1.displayName;
939
+ TabsContent.displayName = Content3.displayName;
940
+
941
+ // src/components/popover.tsx
942
+ import * as PopoverPrimitive from "@radix-ui/react-popover";
943
+ import * as React5 from "react";
944
+ import { jsx as jsx21 } from "react/jsx-runtime";
844
945
  var Popover = PopoverPrimitive.Root;
845
946
  var PopoverTrigger = PopoverPrimitive.Trigger;
846
947
  var PopoverAnchor = PopoverPrimitive.Anchor;
847
- var PopoverContent = React6.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => {
948
+ var PopoverContent = React5.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => {
848
949
  const portalContainer = usePortalContainer();
849
- return /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx(
950
+ return /* @__PURE__ */ jsx21(PopoverPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx21(
850
951
  PopoverPrimitive.Content,
851
952
  {
852
953
  ref,
@@ -862,11 +963,18 @@ var PopoverContent = React6.forwardRef(({ className, align = "center", sideOffse
862
963
  ) });
863
964
  });
864
965
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;
966
+
967
+ // src/components/dialog.tsx
968
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
969
+ import { cva as cva8 } from "class-variance-authority";
970
+ import { X } from "lucide-react";
971
+ import { forwardRef as forwardRef17 } from "react";
972
+ import { jsx as jsx22, jsxs as jsxs4 } from "react/jsx-runtime";
865
973
  var Dialog = DialogPrimitive.Root;
866
974
  var DialogTrigger = DialogPrimitive.Trigger;
867
975
  var DialogPortal = DialogPrimitive.Portal;
868
976
  var DialogClose = DialogPrimitive.Close;
869
- var DialogOverlay = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
977
+ var DialogOverlay = forwardRef17(({ className, ...props }, ref) => /* @__PURE__ */ jsx22(
870
978
  DialogPrimitive.Overlay,
871
979
  {
872
980
  ref,
@@ -879,7 +987,7 @@ var DialogOverlay = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
879
987
  }
880
988
  ));
881
989
  DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
882
- var dialogContentVariants = cva("", {
990
+ var dialogContentVariants = cva8("", {
883
991
  variants: {
884
992
  size: {
885
993
  sm: "max-w-sm",
@@ -893,11 +1001,11 @@ var dialogContentVariants = cva("", {
893
1001
  size: "md"
894
1002
  }
895
1003
  });
896
- var DialogContent = forwardRef(({ className, children, size, ...props }, ref) => {
1004
+ var DialogContent = forwardRef17(({ className, children, size, ...props }, ref) => {
897
1005
  const portalContainer = usePortalContainer();
898
- return /* @__PURE__ */ jsxs(DialogPortal, { container: portalContainer, children: [
899
- /* @__PURE__ */ jsx(DialogOverlay, {}),
900
- /* @__PURE__ */ jsxs(
1006
+ return /* @__PURE__ */ jsxs4(DialogPortal, { container: portalContainer, children: [
1007
+ /* @__PURE__ */ jsx22(DialogOverlay, {}),
1008
+ /* @__PURE__ */ jsxs4(
901
1009
  DialogPrimitive.Content,
902
1010
  {
903
1011
  ref,
@@ -910,14 +1018,14 @@ var DialogContent = forwardRef(({ className, children, size, ...props }, ref) =>
910
1018
  ...props,
911
1019
  children: [
912
1020
  children,
913
- /* @__PURE__ */ jsxs(
1021
+ /* @__PURE__ */ jsxs4(
914
1022
  DialogPrimitive.Close,
915
1023
  {
916
1024
  "data-slot": "dialog-close",
917
1025
  className: "absolute right-4 top-4 rounded-none p-1 text-muted-foreground cursor-pointer transition-colors duration-150 hover-unified focus:outline-none focus:ring-2 focus:ring-ring disabled:pointer-events-none disabled:cursor-not-allowed",
918
1026
  children: [
919
- /* @__PURE__ */ jsx(X, { className: "h-4 w-4" }),
920
- /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
1027
+ /* @__PURE__ */ jsx22(X, { className: "h-4 w-4" }),
1028
+ /* @__PURE__ */ jsx22("span", { className: "sr-only", children: "Close" })
921
1029
  ]
922
1030
  }
923
1031
  )
@@ -927,8 +1035,8 @@ var DialogContent = forwardRef(({ className, children, size, ...props }, ref) =>
927
1035
  ] });
928
1036
  });
929
1037
  DialogContent.displayName = DialogPrimitive.Content.displayName;
930
- var DialogHeader = forwardRef(
931
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1038
+ var DialogHeader = forwardRef17(
1039
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx22(
932
1040
  "div",
933
1041
  {
934
1042
  ref,
@@ -941,8 +1049,8 @@ var DialogHeader = forwardRef(
941
1049
  )
942
1050
  );
943
1051
  DialogHeader.displayName = "DialogHeader";
944
- var DialogFooter = forwardRef(
945
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1052
+ var DialogFooter = forwardRef17(
1053
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx22(
946
1054
  "div",
947
1055
  {
948
1056
  ref,
@@ -955,7 +1063,7 @@ var DialogFooter = forwardRef(
955
1063
  )
956
1064
  );
957
1065
  DialogFooter.displayName = "DialogFooter";
958
- var DialogTitle = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1066
+ var DialogTitle = forwardRef17(({ className, ...props }, ref) => /* @__PURE__ */ jsx22(
959
1067
  DialogPrimitive.Title,
960
1068
  {
961
1069
  ref,
@@ -967,7 +1075,7 @@ var DialogTitle = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ j
967
1075
  }
968
1076
  ));
969
1077
  DialogTitle.displayName = DialogPrimitive.Title.displayName;
970
- var DialogDescription = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1078
+ var DialogDescription = forwardRef17(({ className, ...props }, ref) => /* @__PURE__ */ jsx22(
971
1079
  DialogPrimitive.Description,
972
1080
  {
973
1081
  ref,
@@ -976,10 +1084,17 @@ var DialogDescription = forwardRef(({ className, ...props }, ref) => /* @__PURE_
976
1084
  }
977
1085
  ));
978
1086
  DialogDescription.displayName = DialogPrimitive.Description.displayName;
1087
+
1088
+ // src/components/alert-dialog.tsx
1089
+ import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
1090
+ import {
1091
+ forwardRef as forwardRef18
1092
+ } from "react";
1093
+ import { jsx as jsx23, jsxs as jsxs5 } from "react/jsx-runtime";
979
1094
  var AlertDialog = AlertDialogPrimitive.Root;
980
1095
  var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
981
1096
  var AlertDialogPortal = AlertDialogPrimitive.Portal;
982
- var AlertDialogOverlay = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1097
+ var AlertDialogOverlay = forwardRef18(({ className, ...props }, ref) => /* @__PURE__ */ jsx23(
983
1098
  AlertDialogPrimitive.Overlay,
984
1099
  {
985
1100
  ref,
@@ -991,11 +1106,11 @@ var AlertDialogOverlay = forwardRef(({ className, ...props }, ref) => /* @__PURE
991
1106
  }
992
1107
  ));
993
1108
  AlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;
994
- var AlertDialogContent = forwardRef(({ className, ...props }, ref) => {
1109
+ var AlertDialogContent = forwardRef18(({ className, ...props }, ref) => {
995
1110
  const portalContainer = usePortalContainer();
996
- return /* @__PURE__ */ jsxs(AlertDialogPortal, { container: portalContainer, children: [
997
- /* @__PURE__ */ jsx(AlertDialogOverlay, {}),
998
- /* @__PURE__ */ jsx(
1111
+ return /* @__PURE__ */ jsxs5(AlertDialogPortal, { container: portalContainer, children: [
1112
+ /* @__PURE__ */ jsx23(AlertDialogOverlay, {}),
1113
+ /* @__PURE__ */ jsx23(
999
1114
  AlertDialogPrimitive.Content,
1000
1115
  {
1001
1116
  ref,
@@ -1009,8 +1124,8 @@ var AlertDialogContent = forwardRef(({ className, ...props }, ref) => {
1009
1124
  ] });
1010
1125
  });
1011
1126
  AlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;
1012
- var AlertDialogHeader = forwardRef(
1013
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1127
+ var AlertDialogHeader = forwardRef18(
1128
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx23(
1014
1129
  "div",
1015
1130
  {
1016
1131
  ref,
@@ -1023,8 +1138,8 @@ var AlertDialogHeader = forwardRef(
1023
1138
  )
1024
1139
  );
1025
1140
  AlertDialogHeader.displayName = "AlertDialogHeader";
1026
- var AlertDialogFooter = forwardRef(
1027
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1141
+ var AlertDialogFooter = forwardRef18(
1142
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx23(
1028
1143
  "div",
1029
1144
  {
1030
1145
  ref,
@@ -1037,7 +1152,7 @@ var AlertDialogFooter = forwardRef(
1037
1152
  )
1038
1153
  );
1039
1154
  AlertDialogFooter.displayName = "AlertDialogFooter";
1040
- var AlertDialogTitle = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1155
+ var AlertDialogTitle = forwardRef18(({ className, ...props }, ref) => /* @__PURE__ */ jsx23(
1041
1156
  AlertDialogPrimitive.Title,
1042
1157
  {
1043
1158
  ref,
@@ -1049,7 +1164,7 @@ var AlertDialogTitle = forwardRef(({ className, ...props }, ref) => /* @__PURE__
1049
1164
  }
1050
1165
  ));
1051
1166
  AlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;
1052
- var AlertDialogDescription = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1167
+ var AlertDialogDescription = forwardRef18(({ className, ...props }, ref) => /* @__PURE__ */ jsx23(
1053
1168
  AlertDialogPrimitive.Description,
1054
1169
  {
1055
1170
  ref,
@@ -1058,7 +1173,7 @@ var AlertDialogDescription = forwardRef(({ className, ...props }, ref) => /* @__
1058
1173
  }
1059
1174
  ));
1060
1175
  AlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;
1061
- var AlertDialogAction = forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
1176
+ var AlertDialogAction = forwardRef18(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx23(
1062
1177
  AlertDialogPrimitive.Action,
1063
1178
  {
1064
1179
  ref,
@@ -1068,7 +1183,7 @@ var AlertDialogAction = forwardRef(({ className, children, ...props }, ref) => /
1068
1183
  }
1069
1184
  ));
1070
1185
  AlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;
1071
- var AlertDialogCancel = forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx(
1186
+ var AlertDialogCancel = forwardRef18(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx23(
1072
1187
  AlertDialogPrimitive.Cancel,
1073
1188
  {
1074
1189
  ref,
@@ -1082,6 +1197,12 @@ var AlertDialogCancel = forwardRef(({ className, children, ...props }, ref) => /
1082
1197
  }
1083
1198
  ));
1084
1199
  AlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;
1200
+
1201
+ // src/components/dropdown-menu.tsx
1202
+ import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
1203
+ import { Check as Check2, ChevronRight, Circle } from "lucide-react";
1204
+ import * as React6 from "react";
1205
+ import { jsx as jsx24, jsxs as jsxs6 } from "react/jsx-runtime";
1085
1206
  var DropdownMenu = DropdownMenuPrimitive.Root;
1086
1207
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
1087
1208
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
@@ -1089,7 +1210,7 @@ var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
1089
1210
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
1090
1211
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
1091
1212
  var menuItemBase = "cursor-pointer transition-colors data-[highlighted]:bg-muted data-[highlighted]:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50";
1092
- var DropdownMenuSubTrigger = React6.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1213
+ var DropdownMenuSubTrigger = React6.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ jsxs6(
1093
1214
  DropdownMenuPrimitive.SubTrigger,
1094
1215
  {
1095
1216
  ref,
@@ -1102,12 +1223,12 @@ var DropdownMenuSubTrigger = React6.forwardRef(({ className, inset, children, ..
1102
1223
  ...props,
1103
1224
  children: [
1104
1225
  children,
1105
- /* @__PURE__ */ jsx(ChevronRight, { className: "ml-auto" })
1226
+ /* @__PURE__ */ jsx24(ChevronRight, { className: "ml-auto" })
1106
1227
  ]
1107
1228
  }
1108
1229
  ));
1109
1230
  DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
1110
- var DropdownMenuSubContent = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1231
+ var DropdownMenuSubContent = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx24(
1111
1232
  DropdownMenuPrimitive.SubContent,
1112
1233
  {
1113
1234
  ref,
@@ -1121,7 +1242,7 @@ var DropdownMenuSubContent = React6.forwardRef(({ className, ...props }, ref) =>
1121
1242
  DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
1122
1243
  var DropdownMenuContent = React6.forwardRef(({ className, sideOffset = 4, ...props }, ref) => {
1123
1244
  const portalContainer = usePortalContainer();
1124
- return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx(
1245
+ return /* @__PURE__ */ jsx24(DropdownMenuPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsx24(
1125
1246
  DropdownMenuPrimitive.Content,
1126
1247
  {
1127
1248
  ref,
@@ -1135,7 +1256,7 @@ var DropdownMenuContent = React6.forwardRef(({ className, sideOffset = 4, ...pro
1135
1256
  ) });
1136
1257
  });
1137
1258
  DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
1138
- var DropdownMenuItem = React6.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1259
+ var DropdownMenuItem = React6.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx24(
1139
1260
  DropdownMenuPrimitive.Item,
1140
1261
  {
1141
1262
  ref,
@@ -1149,7 +1270,7 @@ var DropdownMenuItem = React6.forwardRef(({ className, inset, ...props }, ref) =
1149
1270
  }
1150
1271
  ));
1151
1272
  DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
1152
- var DropdownMenuCheckboxItem = React6.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
1273
+ var DropdownMenuCheckboxItem = React6.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs6(
1153
1274
  DropdownMenuPrimitive.CheckboxItem,
1154
1275
  {
1155
1276
  ref,
@@ -1161,13 +1282,13 @@ var DropdownMenuCheckboxItem = React6.forwardRef(({ className, children, checked
1161
1282
  checked,
1162
1283
  ...props,
1163
1284
  children: [
1164
- /* @__PURE__ */ jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }) }) }),
1285
+ /* @__PURE__ */ jsx24("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx24(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx24(Check2, { className: "h-4 w-4" }) }) }),
1165
1286
  children
1166
1287
  ]
1167
1288
  }
1168
1289
  ));
1169
1290
  DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
1170
- var DropdownMenuRadioItem = React6.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
1291
+ var DropdownMenuRadioItem = React6.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs6(
1171
1292
  DropdownMenuPrimitive.RadioItem,
1172
1293
  {
1173
1294
  ref,
@@ -1178,13 +1299,13 @@ var DropdownMenuRadioItem = React6.forwardRef(({ className, children, ...props }
1178
1299
  ),
1179
1300
  ...props,
1180
1301
  children: [
1181
- /* @__PURE__ */ jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(Circle, { className: "h-2 w-2 fill-current" }) }) }),
1302
+ /* @__PURE__ */ jsx24("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ jsx24(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx24(Circle, { className: "h-2 w-2 fill-current" }) }) }),
1182
1303
  children
1183
1304
  ]
1184
1305
  }
1185
1306
  ));
1186
1307
  DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
1187
- var DropdownMenuLabel = React6.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
1308
+ var DropdownMenuLabel = React6.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx24(
1188
1309
  DropdownMenuPrimitive.Label,
1189
1310
  {
1190
1311
  ref,
@@ -1197,7 +1318,7 @@ var DropdownMenuLabel = React6.forwardRef(({ className, inset, ...props }, ref)
1197
1318
  }
1198
1319
  ));
1199
1320
  DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
1200
- var DropdownMenuSeparator = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1321
+ var DropdownMenuSeparator = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx24(
1201
1322
  DropdownMenuPrimitive.Separator,
1202
1323
  {
1203
1324
  ref,
@@ -1207,7 +1328,7 @@ var DropdownMenuSeparator = React6.forwardRef(({ className, ...props }, ref) =>
1207
1328
  ));
1208
1329
  DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
1209
1330
  var DropdownMenuShortcut = React6.forwardRef(({ className, ...props }, ref) => {
1210
- return /* @__PURE__ */ jsx(
1331
+ return /* @__PURE__ */ jsx24(
1211
1332
  "span",
1212
1333
  {
1213
1334
  ref,
@@ -1217,20 +1338,27 @@ var DropdownMenuShortcut = React6.forwardRef(({ className, ...props }, ref) => {
1217
1338
  );
1218
1339
  });
1219
1340
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
1341
+
1342
+ // src/components/select.tsx
1343
+ import * as SelectPrimitive from "@radix-ui/react-select";
1344
+ import { cva as cva9 } from "class-variance-authority";
1345
+ import { Check as Check3, ChevronDown as ChevronDown2, ChevronUp } from "lucide-react";
1346
+ import { forwardRef as forwardRef20 } from "react";
1347
+ import { jsx as jsx25, jsxs as jsxs7 } from "react/jsx-runtime";
1220
1348
  function Select({ ...props }) {
1221
- return /* @__PURE__ */ jsx(SelectPrimitive.Root, { "data-slot": "select", ...props });
1349
+ return /* @__PURE__ */ jsx25(SelectPrimitive.Root, { "data-slot": "select", ...props });
1222
1350
  }
1223
1351
  function SelectGroup({
1224
1352
  ...props
1225
1353
  }) {
1226
- return /* @__PURE__ */ jsx(SelectPrimitive.Group, { "data-slot": "select-group", ...props });
1354
+ return /* @__PURE__ */ jsx25(SelectPrimitive.Group, { "data-slot": "select-group", ...props });
1227
1355
  }
1228
1356
  function SelectValue({
1229
1357
  ...props
1230
1358
  }) {
1231
- return /* @__PURE__ */ jsx(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
1359
+ return /* @__PURE__ */ jsx25(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
1232
1360
  }
1233
- var selectTriggerVariants = cva(
1361
+ var selectTriggerVariants = cva9(
1234
1362
  // hover:border-primary (full strength) keeps the hover boundary more visible
1235
1363
  // than the resting border-input, not a fainter alpha of it.
1236
1364
  "flex w-full items-center justify-between gap-2 rounded-none border border-input bg-background px-3 text-sm text-foreground cursor-pointer transition-all duration-150 focus:border-primary! focus-visible:border-primary! focus:outline-none hover:border-primary disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-primary/5 data-[placeholder]:text-muted-foreground aria-[invalid=true]:border-destructive aria-[invalid=true]:focus:border-destructive! [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:size-4",
@@ -1247,8 +1375,8 @@ var selectTriggerVariants = cva(
1247
1375
  }
1248
1376
  }
1249
1377
  );
1250
- var SelectTrigger = forwardRef(({ className, size, children, ...props }, ref) => {
1251
- return /* @__PURE__ */ jsxs(
1378
+ var SelectTrigger = forwardRef20(({ className, size, children, ...props }, ref) => {
1379
+ return /* @__PURE__ */ jsxs7(
1252
1380
  SelectPrimitive.Trigger,
1253
1381
  {
1254
1382
  ref,
@@ -1257,7 +1385,7 @@ var SelectTrigger = forwardRef(({ className, size, children, ...props }, ref) =>
1257
1385
  ...props,
1258
1386
  children: [
1259
1387
  children,
1260
- /* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(ChevronDown, { className: "size-4 opacity-50" }) })
1388
+ /* @__PURE__ */ jsx25(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx25(ChevronDown2, { className: "size-4 opacity-50" }) })
1261
1389
  ]
1262
1390
  }
1263
1391
  );
@@ -1270,7 +1398,7 @@ function SelectContent({
1270
1398
  ...props
1271
1399
  }) {
1272
1400
  const portalContainer = usePortalContainer();
1273
- return /* @__PURE__ */ jsx(SelectPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxs(
1401
+ return /* @__PURE__ */ jsx25(SelectPrimitive.Portal, { container: portalContainer, children: /* @__PURE__ */ jsxs7(
1274
1402
  SelectPrimitive.Content,
1275
1403
  {
1276
1404
  "data-slot": "select-content",
@@ -1282,8 +1410,8 @@ function SelectContent({
1282
1410
  position,
1283
1411
  ...props,
1284
1412
  children: [
1285
- /* @__PURE__ */ jsx(SelectScrollUpButton, {}),
1286
- /* @__PURE__ */ jsx(
1413
+ /* @__PURE__ */ jsx25(SelectScrollUpButton, {}),
1414
+ /* @__PURE__ */ jsx25(
1287
1415
  SelectPrimitive.Viewport,
1288
1416
  {
1289
1417
  className: cn(
@@ -1293,7 +1421,7 @@ function SelectContent({
1293
1421
  children
1294
1422
  }
1295
1423
  ),
1296
- /* @__PURE__ */ jsx(SelectScrollDownButton, {})
1424
+ /* @__PURE__ */ jsx25(SelectScrollDownButton, {})
1297
1425
  ]
1298
1426
  }
1299
1427
  ) });
@@ -1302,7 +1430,7 @@ function SelectLabel({
1302
1430
  className,
1303
1431
  ...props
1304
1432
  }) {
1305
- return /* @__PURE__ */ jsx(
1433
+ return /* @__PURE__ */ jsx25(
1306
1434
  SelectPrimitive.Label,
1307
1435
  {
1308
1436
  "data-slot": "select-label",
@@ -1316,7 +1444,7 @@ function SelectItem({
1316
1444
  children,
1317
1445
  ...props
1318
1446
  }) {
1319
- return /* @__PURE__ */ jsxs(
1447
+ return /* @__PURE__ */ jsxs7(
1320
1448
  SelectPrimitive.Item,
1321
1449
  {
1322
1450
  "data-slot": "select-item",
@@ -1326,8 +1454,8 @@ function SelectItem({
1326
1454
  ),
1327
1455
  ...props,
1328
1456
  children: [
1329
- /* @__PURE__ */ jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(Check, { className: "size-4" }) }) }),
1330
- /* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children })
1457
+ /* @__PURE__ */ jsx25("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx25(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx25(Check3, { className: "size-4" }) }) }),
1458
+ /* @__PURE__ */ jsx25(SelectPrimitive.ItemText, { children })
1331
1459
  ]
1332
1460
  }
1333
1461
  );
@@ -1336,7 +1464,7 @@ function SelectSeparator({
1336
1464
  className,
1337
1465
  ...props
1338
1466
  }) {
1339
- return /* @__PURE__ */ jsx(
1467
+ return /* @__PURE__ */ jsx25(
1340
1468
  SelectPrimitive.Separator,
1341
1469
  {
1342
1470
  "data-slot": "select-separator",
@@ -1349,7 +1477,7 @@ function SelectScrollUpButton({
1349
1477
  className,
1350
1478
  ...props
1351
1479
  }) {
1352
- return /* @__PURE__ */ jsx(
1480
+ return /* @__PURE__ */ jsx25(
1353
1481
  SelectPrimitive.ScrollUpButton,
1354
1482
  {
1355
1483
  "data-slot": "select-scroll-up-button",
@@ -1358,7 +1486,7 @@ function SelectScrollUpButton({
1358
1486
  className
1359
1487
  ),
1360
1488
  ...props,
1361
- children: /* @__PURE__ */ jsx(ChevronUp, { className: "size-4" })
1489
+ children: /* @__PURE__ */ jsx25(ChevronUp, { className: "size-4" })
1362
1490
  }
1363
1491
  );
1364
1492
  }
@@ -1366,7 +1494,7 @@ function SelectScrollDownButton({
1366
1494
  className,
1367
1495
  ...props
1368
1496
  }) {
1369
- return /* @__PURE__ */ jsx(
1497
+ return /* @__PURE__ */ jsx25(
1370
1498
  SelectPrimitive.ScrollDownButton,
1371
1499
  {
1372
1500
  "data-slot": "select-scroll-down-button",
@@ -1375,16 +1503,22 @@ function SelectScrollDownButton({
1375
1503
  className
1376
1504
  ),
1377
1505
  ...props,
1378
- children: /* @__PURE__ */ jsx(ChevronDown, { className: "size-4" })
1506
+ children: /* @__PURE__ */ jsx25(ChevronDown2, { className: "size-4" })
1379
1507
  }
1380
1508
  );
1381
1509
  }
1382
- var Sheet = DialogPrimitive.Root;
1383
- var SheetTrigger = DialogPrimitive.Trigger;
1384
- var SheetClose = DialogPrimitive.Close;
1385
- var SheetPortal = DialogPrimitive.Portal;
1386
- var SheetOverlay = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1387
- DialogPrimitive.Overlay,
1510
+
1511
+ // src/components/sheet.tsx
1512
+ import * as DialogPrimitive2 from "@radix-ui/react-dialog";
1513
+ import { cva as cva10 } from "class-variance-authority";
1514
+ import * as React7 from "react";
1515
+ import { jsx as jsx26, jsxs as jsxs8 } from "react/jsx-runtime";
1516
+ var Sheet = DialogPrimitive2.Root;
1517
+ var SheetTrigger = DialogPrimitive2.Trigger;
1518
+ var SheetClose = DialogPrimitive2.Close;
1519
+ var SheetPortal = DialogPrimitive2.Portal;
1520
+ var SheetOverlay = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx26(
1521
+ DialogPrimitive2.Overlay,
1388
1522
  {
1389
1523
  className: cn(
1390
1524
  "fixed inset-0 z-50 bg-black/50 backdrop-blur-sm",
@@ -1396,8 +1530,8 @@ var SheetOverlay = React6.forwardRef(({ className, ...props }, ref) => /* @__PUR
1396
1530
  ref
1397
1531
  }
1398
1532
  ));
1399
- SheetOverlay.displayName = DialogPrimitive.Overlay.displayName;
1400
- var sheetVariants = cva(
1533
+ SheetOverlay.displayName = DialogPrimitive2.Overlay.displayName;
1534
+ var sheetVariants = cva10(
1401
1535
  "fixed z-50 gap-4 bg-background p-6 shadow-lg will-change-transform transition ease-in-out data-[state=closed]:duration-150 data-[state=open]:duration-150 data-[state=open]:animate-in data-[state=closed]:animate-out",
1402
1536
  {
1403
1537
  variants: {
@@ -1413,12 +1547,12 @@ var sheetVariants = cva(
1413
1547
  }
1414
1548
  }
1415
1549
  );
1416
- var SheetContent = React6.forwardRef(({ side = "right", className, children, ...props }, ref) => {
1550
+ var SheetContent = React7.forwardRef(({ side = "right", className, children, ...props }, ref) => {
1417
1551
  const portalContainer = usePortalContainer();
1418
- return /* @__PURE__ */ jsxs(SheetPortal, { container: portalContainer, children: [
1419
- /* @__PURE__ */ jsx(SheetOverlay, {}),
1420
- /* @__PURE__ */ jsx(
1421
- DialogPrimitive.Content,
1552
+ return /* @__PURE__ */ jsxs8(SheetPortal, { container: portalContainer, children: [
1553
+ /* @__PURE__ */ jsx26(SheetOverlay, {}),
1554
+ /* @__PURE__ */ jsx26(
1555
+ DialogPrimitive2.Content,
1422
1556
  {
1423
1557
  ref,
1424
1558
  "data-slot": "sheet-content",
@@ -1429,11 +1563,11 @@ var SheetContent = React6.forwardRef(({ side = "right", className, children, ...
1429
1563
  )
1430
1564
  ] });
1431
1565
  });
1432
- SheetContent.displayName = DialogPrimitive.Content.displayName;
1566
+ SheetContent.displayName = DialogPrimitive2.Content.displayName;
1433
1567
  var SheetHeader = ({
1434
1568
  className,
1435
1569
  ...props
1436
- }) => /* @__PURE__ */ jsx(
1570
+ }) => /* @__PURE__ */ jsx26(
1437
1571
  "div",
1438
1572
  {
1439
1573
  className: cn(
@@ -1447,7 +1581,7 @@ SheetHeader.displayName = "SheetHeader";
1447
1581
  var SheetFooter = ({
1448
1582
  className,
1449
1583
  ...props
1450
- }) => /* @__PURE__ */ jsx(
1584
+ }) => /* @__PURE__ */ jsx26(
1451
1585
  "div",
1452
1586
  {
1453
1587
  className: cn(
@@ -1458,27 +1592,34 @@ var SheetFooter = ({
1458
1592
  }
1459
1593
  );
1460
1594
  SheetFooter.displayName = "SheetFooter";
1461
- var SheetTitle = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1462
- DialogPrimitive.Title,
1595
+ var SheetTitle = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx26(
1596
+ DialogPrimitive2.Title,
1463
1597
  {
1464
1598
  ref,
1465
1599
  className: cn("text-lg font-semibold text-foreground", className),
1466
1600
  ...props
1467
1601
  }
1468
1602
  ));
1469
- SheetTitle.displayName = DialogPrimitive.Title.displayName;
1470
- var SheetDescription = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1471
- DialogPrimitive.Description,
1603
+ SheetTitle.displayName = DialogPrimitive2.Title.displayName;
1604
+ var SheetDescription = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx26(
1605
+ DialogPrimitive2.Description,
1472
1606
  {
1473
1607
  ref,
1474
1608
  className: cn("text-sm text-muted-foreground", className),
1475
1609
  ...props
1476
1610
  }
1477
1611
  ));
1478
- SheetDescription.displayName = DialogPrimitive.Description.displayName;
1479
- var Command = forwardRef(
1480
- ({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1481
- Command$1,
1612
+ SheetDescription.displayName = DialogPrimitive2.Description.displayName;
1613
+
1614
+ // src/components/command.tsx
1615
+ import * as DialogPrimitive3 from "@radix-ui/react-dialog";
1616
+ import { Command as CommandPrimitive } from "cmdk";
1617
+ import { Search } from "lucide-react";
1618
+ import { forwardRef as forwardRef22 } from "react";
1619
+ import { jsx as jsx27, jsxs as jsxs9 } from "react/jsx-runtime";
1620
+ var Command = forwardRef22(
1621
+ ({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
1622
+ CommandPrimitive,
1482
1623
  {
1483
1624
  ref,
1484
1625
  className: cn(
@@ -1490,8 +1631,8 @@ var Command = forwardRef(
1490
1631
  )
1491
1632
  );
1492
1633
  Command.displayName = "Command";
1493
- var CommandDialogOverlay = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1494
- DialogPrimitive.Overlay,
1634
+ var CommandDialogOverlay = forwardRef22(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
1635
+ DialogPrimitive3.Overlay,
1495
1636
  {
1496
1637
  ref,
1497
1638
  className: cn(
@@ -1507,10 +1648,10 @@ var CommandDialogOverlay = forwardRef(({ className, ...props }, ref) => /* @__PU
1507
1648
  CommandDialogOverlay.displayName = "CommandDialogOverlay";
1508
1649
  var CommandDialog = ({ children, ...props }) => {
1509
1650
  const portalContainer = usePortalContainer();
1510
- return /* @__PURE__ */ jsx(DialogPrimitive.Root, { ...props, children: /* @__PURE__ */ jsxs(DialogPrimitive.Portal, { container: portalContainer, children: [
1511
- /* @__PURE__ */ jsx(CommandDialogOverlay, {}),
1512
- /* @__PURE__ */ jsx(
1513
- DialogPrimitive.Content,
1651
+ return /* @__PURE__ */ jsx27(DialogPrimitive3.Root, { ...props, children: /* @__PURE__ */ jsxs9(DialogPrimitive3.Portal, { container: portalContainer, children: [
1652
+ /* @__PURE__ */ jsx27(CommandDialogOverlay, {}),
1653
+ /* @__PURE__ */ jsx27(
1654
+ DialogPrimitive3.Content,
1514
1655
  {
1515
1656
  "data-slot": "command-content",
1516
1657
  className: cn(
@@ -1537,20 +1678,20 @@ var CommandDialog = ({ children, ...props }) => {
1537
1678
  "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
1538
1679
  "data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-top-[48%]"
1539
1680
  ),
1540
- children: /* @__PURE__ */ jsx(Command, { className: "[&_[cmdk-group-heading]]:px-3 [&_[cmdk-group-heading]]:py-2 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-semibold [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:uppercase [&_[cmdk-group-heading]]:tracking-wide [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:mb-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-3 [&_[cmdk-item]]:py-2 [&_[cmdk-item]_svg]:h-4 [&_[cmdk-item]_svg]:w-4", children })
1681
+ children: /* @__PURE__ */ jsx27(Command, { className: "[&_[cmdk-group-heading]]:px-3 [&_[cmdk-group-heading]]:py-2 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-semibold [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:uppercase [&_[cmdk-group-heading]]:tracking-wide [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:mb-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-3 [&_[cmdk-item]]:py-2 [&_[cmdk-item]_svg]:h-4 [&_[cmdk-item]_svg]:w-4", children })
1541
1682
  }
1542
1683
  )
1543
1684
  ] }) });
1544
1685
  };
1545
- var CommandInput = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(
1686
+ var CommandInput = forwardRef22(({ className, ...props }, ref) => /* @__PURE__ */ jsxs9(
1546
1687
  "div",
1547
1688
  {
1548
1689
  className: "flex items-center border-b border-border px-4",
1549
1690
  "cmdk-input-wrapper": "",
1550
1691
  children: [
1551
- /* @__PURE__ */ jsx(Search, { className: "mr-3 h-5 w-5 shrink-0 text-muted-foreground" }),
1552
- /* @__PURE__ */ jsx(
1553
- Command$1.Input,
1692
+ /* @__PURE__ */ jsx27(Search, { className: "mr-3 h-5 w-5 shrink-0 text-muted-foreground" }),
1693
+ /* @__PURE__ */ jsx27(
1694
+ CommandPrimitive.Input,
1554
1695
  {
1555
1696
  ref,
1556
1697
  className: cn(
@@ -1574,8 +1715,8 @@ var CommandInput = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
1574
1715
  }
1575
1716
  ));
1576
1717
  CommandInput.displayName = "CommandInput";
1577
- var CommandList = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1578
- Command$1.List,
1718
+ var CommandList = forwardRef22(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
1719
+ CommandPrimitive.List,
1579
1720
  {
1580
1721
  ref,
1581
1722
  className: cn(
@@ -1589,8 +1730,8 @@ var CommandList = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ j
1589
1730
  }
1590
1731
  ));
1591
1732
  CommandList.displayName = "CommandList";
1592
- var CommandEmpty = forwardRef((props, ref) => /* @__PURE__ */ jsx(
1593
- Command$1.Empty,
1733
+ var CommandEmpty = forwardRef22((props, ref) => /* @__PURE__ */ jsx27(
1734
+ CommandPrimitive.Empty,
1594
1735
  {
1595
1736
  ref,
1596
1737
  className: "py-8 px-4 text-center text-sm text-muted-foreground",
@@ -1598,8 +1739,8 @@ var CommandEmpty = forwardRef((props, ref) => /* @__PURE__ */ jsx(
1598
1739
  }
1599
1740
  ));
1600
1741
  CommandEmpty.displayName = "CommandEmpty";
1601
- var CommandGroup = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1602
- Command$1.Group,
1742
+ var CommandGroup = forwardRef22(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
1743
+ CommandPrimitive.Group,
1603
1744
  {
1604
1745
  ref,
1605
1746
  className: cn(
@@ -1613,8 +1754,8 @@ var CommandGroup = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
1613
1754
  }
1614
1755
  ));
1615
1756
  CommandGroup.displayName = "CommandGroup";
1616
- var CommandSeparator = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1617
- Command$1.Separator,
1757
+ var CommandSeparator = forwardRef22(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
1758
+ CommandPrimitive.Separator,
1618
1759
  {
1619
1760
  ref,
1620
1761
  className: cn("h-px bg-border my-2", className),
@@ -1622,8 +1763,8 @@ var CommandSeparator = forwardRef(({ className, ...props }, ref) => /* @__PURE__
1622
1763
  }
1623
1764
  ));
1624
1765
  CommandSeparator.displayName = "CommandSeparator";
1625
- var CommandItem = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1626
- Command$1.Item,
1766
+ var CommandItem = forwardRef22(({ className, ...props }, ref) => /* @__PURE__ */ jsx27(
1767
+ CommandPrimitive.Item,
1627
1768
  {
1628
1769
  ref,
1629
1770
  className: cn(
@@ -1651,9 +1792,9 @@ var CommandItem = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ j
1651
1792
  }
1652
1793
  ));
1653
1794
  CommandItem.displayName = "CommandItem";
1654
- var CommandShortcut = forwardRef(
1795
+ var CommandShortcut = forwardRef22(
1655
1796
  ({ className, ...props }, ref) => {
1656
- return /* @__PURE__ */ jsx(
1797
+ return /* @__PURE__ */ jsx27(
1657
1798
  "span",
1658
1799
  {
1659
1800
  ref,
@@ -1675,7 +1816,13 @@ var CommandShortcut = forwardRef(
1675
1816
  }
1676
1817
  );
1677
1818
  CommandShortcut.displayName = "CommandShortcut";
1678
- var spinnerVariants = cva("animate-spin motion-reduce:animate-none", {
1819
+
1820
+ // src/components/spinner.tsx
1821
+ import { cva as cva11 } from "class-variance-authority";
1822
+ import { Loader2 } from "lucide-react";
1823
+ import { forwardRef as forwardRef23 } from "react";
1824
+ import { jsx as jsx28 } from "react/jsx-runtime";
1825
+ var spinnerVariants = cva11("animate-spin motion-reduce:animate-none", {
1679
1826
  variants: {
1680
1827
  size: {
1681
1828
  sm: "h-4 w-4",
@@ -1687,9 +1834,9 @@ var spinnerVariants = cva("animate-spin motion-reduce:animate-none", {
1687
1834
  size: "md"
1688
1835
  }
1689
1836
  });
1690
- var Spinner = forwardRef(
1837
+ var Spinner = forwardRef23(
1691
1838
  ({ size = "md", className, "aria-label": ariaLabel = "Loading", ...props }, ref) => {
1692
- return /* @__PURE__ */ jsx(
1839
+ return /* @__PURE__ */ jsx28(
1693
1840
  Loader2,
1694
1841
  {
1695
1842
  ref,
@@ -1702,9 +1849,20 @@ var Spinner = forwardRef(
1702
1849
  }
1703
1850
  );
1704
1851
  Spinner.displayName = "Spinner";
1852
+
1853
+ // src/components/toaster.tsx
1854
+ import {
1855
+ CheckCircle2,
1856
+ AlertCircle,
1857
+ AlertTriangle,
1858
+ XCircle,
1859
+ Loader2 as Loader22
1860
+ } from "lucide-react";
1861
+ import { toast, Toaster as Sonner } from "sonner";
1862
+ import { jsx as jsx29 } from "react/jsx-runtime";
1705
1863
  function Toaster({ theme = "system", ...props }) {
1706
- return /* @__PURE__ */ jsx(
1707
- Toaster$1,
1864
+ return /* @__PURE__ */ jsx29(
1865
+ Sonner,
1708
1866
  {
1709
1867
  theme,
1710
1868
  className: "toaster group bg-transparent! overflow-visible! z-[9999]!",
@@ -1715,11 +1873,11 @@ function Toaster({ theme = "system", ...props }) {
1715
1873
  }
1716
1874
  },
1717
1875
  icons: {
1718
- success: /* @__PURE__ */ jsx(CheckCircle2, { className: "h-4 w-4" }),
1719
- info: /* @__PURE__ */ jsx(AlertCircle, { className: "h-4 w-4" }),
1720
- warning: /* @__PURE__ */ jsx(AlertTriangle, { className: "h-4 w-4" }),
1721
- error: /* @__PURE__ */ jsx(XCircle, { className: "h-4 w-4" }),
1722
- loading: /* @__PURE__ */ jsx(Loader2, { className: "h-4 w-4 animate-spin" })
1876
+ success: /* @__PURE__ */ jsx29(CheckCircle2, { className: "h-4 w-4" }),
1877
+ info: /* @__PURE__ */ jsx29(AlertCircle, { className: "h-4 w-4" }),
1878
+ warning: /* @__PURE__ */ jsx29(AlertTriangle, { className: "h-4 w-4" }),
1879
+ error: /* @__PURE__ */ jsx29(XCircle, { className: "h-4 w-4" }),
1880
+ loading: /* @__PURE__ */ jsx29(Loader22, { className: "h-4 w-4 animate-spin" })
1723
1881
  },
1724
1882
  style: {
1725
1883
  "--normal-bg": "var(--nx-popover)",
@@ -1731,7 +1889,11 @@ function Toaster({ theme = "system", ...props }) {
1731
1889
  }
1732
1890
  );
1733
1891
  }
1734
- var Table = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx(
1892
+
1893
+ // src/components/table.tsx
1894
+ import * as React8 from "react";
1895
+ import { jsx as jsx30 } from "react/jsx-runtime";
1896
+ var Table = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx30(
1735
1897
  "table",
1736
1898
  {
1737
1899
  ref,
@@ -1740,7 +1902,7 @@ var Table = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
1740
1902
  }
1741
1903
  ) }));
1742
1904
  Table.displayName = "Table";
1743
- var TableHeader = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1905
+ var TableHeader = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
1744
1906
  "thead",
1745
1907
  {
1746
1908
  ref,
@@ -1749,7 +1911,7 @@ var TableHeader = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE
1749
1911
  }
1750
1912
  ));
1751
1913
  TableHeader.displayName = "TableHeader";
1752
- var TableBody = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1914
+ var TableBody = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
1753
1915
  "tbody",
1754
1916
  {
1755
1917
  ref,
@@ -1758,7 +1920,7 @@ var TableBody = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1758
1920
  }
1759
1921
  ));
1760
1922
  TableBody.displayName = "TableBody";
1761
- var TableFooter = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1923
+ var TableFooter = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
1762
1924
  "tfoot",
1763
1925
  {
1764
1926
  ref,
@@ -1770,7 +1932,7 @@ var TableFooter = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE
1770
1932
  }
1771
1933
  ));
1772
1934
  TableFooter.displayName = "TableFooter";
1773
- var TableRow = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1935
+ var TableRow = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
1774
1936
  "tr",
1775
1937
  {
1776
1938
  ref,
@@ -1782,7 +1944,7 @@ var TableRow = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1782
1944
  }
1783
1945
  ));
1784
1946
  TableRow.displayName = "TableRow";
1785
- var TableHead = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1947
+ var TableHead = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
1786
1948
  "th",
1787
1949
  {
1788
1950
  ref,
@@ -1794,7 +1956,7 @@ var TableHead = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1794
1956
  }
1795
1957
  ));
1796
1958
  TableHead.displayName = "TableHead";
1797
- var TableCell = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1959
+ var TableCell = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
1798
1960
  "td",
1799
1961
  {
1800
1962
  ref,
@@ -1806,7 +1968,7 @@ var TableCell = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1806
1968
  }
1807
1969
  ));
1808
1970
  TableCell.displayName = "TableCell";
1809
- var TableCaption = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1971
+ var TableCaption = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
1810
1972
  "caption",
1811
1973
  {
1812
1974
  ref,
@@ -1815,6 +1977,10 @@ var TableCaption = React6.forwardRef(({ className, ...props }, ref) => /* @__PUR
1815
1977
  }
1816
1978
  ));
1817
1979
  TableCaption.displayName = "TableCaption";
1980
+
1981
+ // src/components/table-search.tsx
1982
+ import { Search as Search2, Loader2 as Loader23, X as X2 } from "lucide-react";
1983
+ import { jsx as jsx31, jsxs as jsxs10 } from "react/jsx-runtime";
1818
1984
  function TableSearch({
1819
1985
  value,
1820
1986
  onChange,
@@ -1823,9 +1989,9 @@ function TableSearch({
1823
1989
  isLoading = false,
1824
1990
  inputRef
1825
1991
  }) {
1826
- return /* @__PURE__ */ jsxs("div", { className: "relative w-full max-w-lg", children: [
1827
- /* @__PURE__ */ jsx(Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" }),
1828
- /* @__PURE__ */ jsx(
1992
+ return /* @__PURE__ */ jsxs10("div", { className: "relative w-full max-w-lg", children: [
1993
+ /* @__PURE__ */ jsx31(Search2, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" }),
1994
+ /* @__PURE__ */ jsx31(
1829
1995
  "input",
1830
1996
  {
1831
1997
  ref: inputRef,
@@ -1837,174 +2003,232 @@ function TableSearch({
1837
2003
  className: "h-10 w-full rounded-none border border-border bg-background pl-10 pr-10 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 transition-all"
1838
2004
  }
1839
2005
  ),
1840
- (value || isLoading) && /* @__PURE__ */ jsxs("div", { className: "absolute right-3 top-1/2 -translate-y-1/2 flex items-center gap-2", children: [
1841
- isLoading && /* @__PURE__ */ jsx(Loader2, { className: "w-3.5 h-3.5 text-primary animate-spin" }),
1842
- value && /* @__PURE__ */ jsx(
2006
+ (value || isLoading) && /* @__PURE__ */ jsxs10("div", { className: "absolute right-3 top-1/2 -translate-y-1/2 flex items-center gap-2", children: [
2007
+ isLoading && /* @__PURE__ */ jsx31(Loader23, { className: "w-3.5 h-3.5 text-primary animate-spin" }),
2008
+ value && /* @__PURE__ */ jsx31(
1843
2009
  "button",
1844
2010
  {
1845
2011
  type: "button",
1846
2012
  onClick: onClear,
1847
2013
  className: "text-muted-foreground hover:text-foreground transition-colors p-0.5 rounded-none hover:bg-primary/5",
1848
2014
  "aria-label": "Clear search",
1849
- children: /* @__PURE__ */ jsx(X, { className: "w-3.5 h-3.5" })
2015
+ children: /* @__PURE__ */ jsx31(X2, { className: "w-3.5 h-3.5" })
1850
2016
  }
1851
2017
  )
1852
2018
  ] })
1853
2019
  ] });
1854
2020
  }
2021
+
2022
+ // src/components/table-states.tsx
2023
+ import { AlertCircle as AlertCircle2, Loader2 as Loader24, FileQuestion } from "lucide-react";
2024
+ import { jsx as jsx32, jsxs as jsxs11 } from "react/jsx-runtime";
1855
2025
  function TableError({
1856
2026
  message = "An error occurred. Please try again."
1857
2027
  }) {
1858
- return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
1859
- /* @__PURE__ */ jsx(AlertCircle, { className: "w-4 h-4 shrink-0" }),
1860
- /* @__PURE__ */ jsx("span", { children: message })
2028
+ return /* @__PURE__ */ jsxs11("div", { className: "flex items-center gap-2", children: [
2029
+ /* @__PURE__ */ jsx32(AlertCircle2, { className: "w-4 h-4 shrink-0" }),
2030
+ /* @__PURE__ */ jsx32("span", { children: message })
1861
2031
  ] });
1862
2032
  }
1863
2033
  function TableLoading() {
1864
- return /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-center gap-4 p-12 text-muted-foreground", children: [
1865
- /* @__PURE__ */ jsx(Loader2, { className: "w-8 h-8 animate-spin text-primary/80" }),
1866
- /* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: "Loading data..." })
2034
+ return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col items-center justify-center gap-4 p-12 text-muted-foreground", children: [
2035
+ /* @__PURE__ */ jsx32(Loader24, { className: "w-8 h-8 animate-spin text-primary/80" }),
2036
+ /* @__PURE__ */ jsx32("span", { className: "text-sm font-medium", children: "Loading data..." })
1867
2037
  ] });
1868
2038
  }
1869
2039
  function TableEmpty({ message = "No records found" }) {
1870
- return /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-center gap-4 p-16 text-center text-muted-foreground", children: [
1871
- /* @__PURE__ */ jsx("div", { className: "flex h-12 w-12 items-center justify-center rounded-none bg-primary/5", children: /* @__PURE__ */ jsx(FileQuestion, { className: "h-6 w-6" }) }),
1872
- /* @__PURE__ */ jsx("span", { className: "text-sm font-medium", children: message })
2040
+ return /* @__PURE__ */ jsxs11("div", { className: "flex flex-col items-center justify-center gap-4 p-16 text-center text-muted-foreground", children: [
2041
+ /* @__PURE__ */ jsx32("div", { className: "flex h-12 w-12 items-center justify-center rounded-none bg-primary/5", children: /* @__PURE__ */ jsx32(FileQuestion, { className: "h-6 w-6" }) }),
2042
+ /* @__PURE__ */ jsx32("span", { className: "text-sm font-medium", children: message })
1873
2043
  ] });
1874
2044
  }
1875
- var GrayBar = ({ className }) => /* @__PURE__ */ jsx(Skeleton, { className });
2045
+
2046
+ // src/components/table-skeleton.tsx
2047
+ import { Fragment, jsx as jsx33, jsxs as jsxs12 } from "react/jsx-runtime";
2048
+ var GrayBar = ({ className }) => /* @__PURE__ */ jsx33(Skeleton, { className });
1876
2049
  var TableSkeleton = ({
1877
2050
  columns = 5,
1878
2051
  rowCount = 8,
1879
2052
  hideWrapper = false,
1880
2053
  hideFooter = false
1881
2054
  }) => {
1882
- const content = /* @__PURE__ */ jsxs(Fragment, { children: [
1883
- /* @__PURE__ */ jsx("div", { className: "border-0 rounded-none shadow-none", children: /* @__PURE__ */ jsxs(Table, { children: [
1884
- /* @__PURE__ */ jsx(TableHeader, { children: /* @__PURE__ */ jsx(TableRow, { children: Array.from({ length: columns }).map((_, colIdx) => /* @__PURE__ */ jsx(TableHead, { className: "py-3", children: colIdx === 0 ? /* @__PURE__ */ jsx(GrayBar, { className: "h-4 w-4" }) : colIdx === columns - 1 ? /* @__PURE__ */ jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-4 rounded-none" }) }) : colIdx === 1 ? /* @__PURE__ */ jsx(GrayBar, { className: "h-4 w-[70%] max-w-[180px]" }) : /* @__PURE__ */ jsx(GrayBar, { className: "h-4 w-[60%] max-w-[120px]" }) }, `skeleton-header-${colIdx}`)) }) }),
1885
- /* @__PURE__ */ jsx(TableBody, { children: Array.from({ length: rowCount }).map((_, rowIdx) => /* @__PURE__ */ jsx(TableRow, { className: "border-b border-border", children: Array.from({ length: columns }).map((_2, colIdx) => /* @__PURE__ */ jsx(TableCell, { className: "py-3", children: colIdx === 0 ? /* @__PURE__ */ jsx(GrayBar, { className: "h-4 w-4" }) : colIdx === columns - 1 ? /* @__PURE__ */ jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-8 rounded-none" }) }) : colIdx === 1 ? /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
1886
- /* @__PURE__ */ jsx(Skeleton, { className: "w-9 rounded-none shrink-0" }),
1887
- /* @__PURE__ */ jsxs("div", { className: "space-y-1.5 flex-1", children: [
1888
- /* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-[120px]" }),
1889
- /* @__PURE__ */ jsx(Skeleton, { className: "h-3 w-[80px]" })
2055
+ const content = /* @__PURE__ */ jsxs12(Fragment, { children: [
2056
+ /* @__PURE__ */ jsx33("div", { className: "border-0 rounded-none shadow-none", children: /* @__PURE__ */ jsxs12(Table, { children: [
2057
+ /* @__PURE__ */ jsx33(TableHeader, { children: /* @__PURE__ */ jsx33(TableRow, { children: Array.from({ length: columns }).map((_, colIdx) => /* @__PURE__ */ jsx33(TableHead, { className: "py-3", children: colIdx === 0 ? /* @__PURE__ */ jsx33(GrayBar, { className: "h-4 w-4" }) : colIdx === columns - 1 ? /* @__PURE__ */ jsx33("div", { className: "flex justify-center", children: /* @__PURE__ */ jsx33(Skeleton, { className: "h-4 w-4 rounded-none" }) }) : colIdx === 1 ? /* @__PURE__ */ jsx33(GrayBar, { className: "h-4 w-[70%] max-w-[180px]" }) : /* @__PURE__ */ jsx33(GrayBar, { className: "h-4 w-[60%] max-w-[120px]" }) }, `skeleton-header-${colIdx}`)) }) }),
2058
+ /* @__PURE__ */ jsx33(TableBody, { children: Array.from({ length: rowCount }).map((_, rowIdx) => /* @__PURE__ */ jsx33(TableRow, { className: "border-b border-border", children: Array.from({ length: columns }).map((_2, colIdx) => /* @__PURE__ */ jsx33(TableCell, { className: "py-3", children: colIdx === 0 ? /* @__PURE__ */ jsx33(GrayBar, { className: "h-4 w-4" }) : colIdx === columns - 1 ? /* @__PURE__ */ jsx33("div", { className: "flex justify-center", children: /* @__PURE__ */ jsx33(Skeleton, { className: "h-8 w-8 rounded-none" }) }) : colIdx === 1 ? /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-3", children: [
2059
+ /* @__PURE__ */ jsx33(Skeleton, { className: "w-9 rounded-none shrink-0" }),
2060
+ /* @__PURE__ */ jsxs12("div", { className: "space-y-1.5 flex-1", children: [
2061
+ /* @__PURE__ */ jsx33(Skeleton, { className: "h-4 w-[120px]" }),
2062
+ /* @__PURE__ */ jsx33(Skeleton, { className: "h-3 w-[80px]" })
1890
2063
  ] })
1891
- ] }) : /* @__PURE__ */ jsx(GrayBar, { className: "h-4 w-[60%] max-w-[120px]" }) }, colIdx)) }, rowIdx)) })
2064
+ ] }) : /* @__PURE__ */ jsx33(GrayBar, { className: "h-4 w-[60%] max-w-[120px]" }) }, colIdx)) }, rowIdx)) })
1892
2065
  ] }) }),
1893
- !hideFooter && /* @__PURE__ */ jsx("div", { className: "table-footer border-t border-border", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-2 py-4 p-4", children: [
1894
- /* @__PURE__ */ jsx("div", { className: "flex items-center gap-2 text-sm", children: /* @__PURE__ */ jsx(GrayBar, { className: "h-4 w-[120px]" }) }),
1895
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-6", children: [
1896
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
1897
- /* @__PURE__ */ jsx(GrayBar, { className: "h-4 w-20" }),
1898
- /* @__PURE__ */ jsx(GrayBar, { className: "h-8 w-[70px]" })
2066
+ !hideFooter && /* @__PURE__ */ jsx33("div", { className: "table-footer border-t border-border", children: /* @__PURE__ */ jsxs12("div", { className: "flex items-center justify-between px-2 py-4 p-4", children: [
2067
+ /* @__PURE__ */ jsx33("div", { className: "flex items-center gap-2 text-sm", children: /* @__PURE__ */ jsx33(GrayBar, { className: "h-4 w-[120px]" }) }),
2068
+ /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-6", children: [
2069
+ /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-2", children: [
2070
+ /* @__PURE__ */ jsx33(GrayBar, { className: "h-4 w-20" }),
2071
+ /* @__PURE__ */ jsx33(GrayBar, { className: "h-8 w-[70px]" })
1899
2072
  ] }),
1900
- /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
1901
- /* @__PURE__ */ jsx(GrayBar, { className: "h-8 w-8" }),
1902
- /* @__PURE__ */ jsx(GrayBar, { className: "h-8 w-8" }),
1903
- /* @__PURE__ */ jsx(GrayBar, { className: "h-8 w-8" }),
1904
- /* @__PURE__ */ jsx(GrayBar, { className: "h-8 w-8" }),
1905
- /* @__PURE__ */ jsx(GrayBar, { className: "h-8 w-8" })
2073
+ /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-1", children: [
2074
+ /* @__PURE__ */ jsx33(GrayBar, { className: "h-8 w-8" }),
2075
+ /* @__PURE__ */ jsx33(GrayBar, { className: "h-8 w-8" }),
2076
+ /* @__PURE__ */ jsx33(GrayBar, { className: "h-8 w-8" }),
2077
+ /* @__PURE__ */ jsx33(GrayBar, { className: "h-8 w-8" }),
2078
+ /* @__PURE__ */ jsx33(GrayBar, { className: "h-8 w-8" })
1906
2079
  ] }),
1907
- /* @__PURE__ */ jsx(GrayBar, { className: "h-4 w-[120px]" })
2080
+ /* @__PURE__ */ jsx33(GrayBar, { className: "h-4 w-[120px]" })
1908
2081
  ] })
1909
2082
  ] }) })
1910
2083
  ] });
1911
2084
  if (hideWrapper) {
1912
2085
  return content;
1913
2086
  }
1914
- return /* @__PURE__ */ jsx("div", { className: "table-wrapper rounded-none border border-border bg-card overflow-hidden", children: content });
2087
+ return /* @__PURE__ */ jsx33("div", { className: "table-wrapper rounded-none border border-border bg-card overflow-hidden", children: content });
1915
2088
  };
1916
2089
  TableSkeleton.displayName = "TableSkeleton";
1917
-
1918
- // src/tailwind-preset.ts
1919
- var statusScale = (base) => ({
1920
- 50: `color-mix(in srgb, var(${base}), white 95%)`,
1921
- 100: `color-mix(in srgb, var(${base}), white 90%)`,
1922
- 200: `color-mix(in srgb, var(${base}), white 70%)`,
1923
- 300: `color-mix(in srgb, var(${base}), white 50%)`,
1924
- 400: `color-mix(in srgb, var(${base}), white 30%)`,
1925
- 500: `var(${base})`,
1926
- 600: `color-mix(in srgb, var(${base}), black 10%)`,
1927
- 700: `color-mix(in srgb, var(${base}), black 30%)`,
1928
- 800: `color-mix(in srgb, var(${base}), black 50%)`,
1929
- 900: `color-mix(in srgb, var(${base}), black 70%)`,
1930
- 950: `color-mix(in srgb, var(${base}), black 85%)`
1931
- });
1932
- var uiPreset = {
1933
- theme: {
1934
- extend: {
1935
- colors: {
1936
- border: "var(--nx-border)",
1937
- input: "var(--nx-input)",
1938
- ring: "var(--nx-ring)",
1939
- background: "var(--nx-background)",
1940
- foreground: "var(--nx-foreground)",
1941
- primary: {
1942
- DEFAULT: "var(--nx-primary)",
1943
- foreground: "var(--nx-primary-foreground)"
1944
- },
1945
- secondary: {
1946
- DEFAULT: "var(--nx-secondary)",
1947
- foreground: "var(--nx-secondary-foreground)"
1948
- },
1949
- destructive: {
1950
- DEFAULT: "var(--nx-destructive)",
1951
- // Saturated fill for solid buttons, distinct from the text-tuned base.
1952
- solid: "var(--nx-destructive-solid)",
1953
- foreground: "var(--nx-destructive-foreground)",
1954
- ...statusScale("--nx-destructive")
1955
- },
1956
- success: {
1957
- DEFAULT: "var(--nx-success)",
1958
- solid: "var(--nx-success-solid)",
1959
- foreground: "var(--nx-success-foreground)",
1960
- ...statusScale("--nx-success")
1961
- },
1962
- warning: {
1963
- DEFAULT: "var(--nx-warning)",
1964
- foreground: "var(--nx-warning-foreground)",
1965
- ...statusScale("--nx-warning")
1966
- },
1967
- muted: {
1968
- DEFAULT: "var(--nx-muted)",
1969
- foreground: "var(--nx-muted-foreground)"
1970
- },
1971
- accent: {
1972
- DEFAULT: "var(--nx-accent)",
1973
- foreground: "var(--nx-accent-foreground)"
1974
- },
1975
- popover: {
1976
- DEFAULT: "var(--nx-popover)",
1977
- foreground: "var(--nx-popover-foreground)"
1978
- },
1979
- card: {
1980
- DEFAULT: "var(--nx-card)",
1981
- foreground: "var(--nx-card-foreground)"
1982
- }
1983
- },
1984
- borderRadius: {
1985
- lg: "var(--radius)",
1986
- md: "calc(var(--radius) - 2px)",
1987
- sm: "calc(var(--radius) - 4px)"
1988
- },
1989
- keyframes: {
1990
- "accordion-down": {
1991
- from: { height: "0" },
1992
- to: { height: "var(--radix-accordion-content-height)" }
1993
- },
1994
- "accordion-up": {
1995
- from: { height: "var(--radix-accordion-content-height)" },
1996
- to: { height: "0" }
1997
- }
1998
- },
1999
- animation: {
2000
- "accordion-down": "accordion-down 0.3s cubic-bezier(0.87, 0, 0.13, 1)",
2001
- "accordion-up": "accordion-up 0.3s cubic-bezier(0.87, 0, 0.13, 1)"
2002
- }
2003
- }
2004
- }
2090
+ export {
2091
+ Accordion,
2092
+ AccordionContent,
2093
+ AccordionItem,
2094
+ AccordionTrigger,
2095
+ Alert,
2096
+ AlertDescription,
2097
+ AlertDialog,
2098
+ AlertDialogAction,
2099
+ AlertDialogCancel,
2100
+ AlertDialogContent,
2101
+ AlertDialogDescription,
2102
+ AlertDialogFooter,
2103
+ AlertDialogHeader,
2104
+ AlertDialogOverlay,
2105
+ AlertDialogPortal,
2106
+ AlertDialogTitle,
2107
+ AlertDialogTrigger,
2108
+ AlertTitle,
2109
+ Avatar,
2110
+ AvatarFallback,
2111
+ AvatarImage,
2112
+ Badge,
2113
+ Button,
2114
+ Card,
2115
+ CardAction,
2116
+ CardContent,
2117
+ CardDescription,
2118
+ CardFooter,
2119
+ CardHeader,
2120
+ CardTitle,
2121
+ Checkbox,
2122
+ Collapsible,
2123
+ CollapsibleContent2 as CollapsibleContent,
2124
+ CollapsibleTrigger2 as CollapsibleTrigger,
2125
+ Command,
2126
+ CommandDialog,
2127
+ CommandEmpty,
2128
+ CommandGroup,
2129
+ CommandInput,
2130
+ CommandItem,
2131
+ CommandList,
2132
+ CommandSeparator,
2133
+ CommandShortcut,
2134
+ Dialog,
2135
+ DialogClose,
2136
+ DialogContent,
2137
+ DialogDescription,
2138
+ DialogFooter,
2139
+ DialogHeader,
2140
+ DialogOverlay,
2141
+ DialogPortal,
2142
+ DialogTitle,
2143
+ DialogTrigger,
2144
+ DropdownMenu,
2145
+ DropdownMenuCheckboxItem,
2146
+ DropdownMenuContent,
2147
+ DropdownMenuGroup,
2148
+ DropdownMenuItem,
2149
+ DropdownMenuLabel,
2150
+ DropdownMenuPortal,
2151
+ DropdownMenuRadioGroup,
2152
+ DropdownMenuRadioItem,
2153
+ DropdownMenuSeparator,
2154
+ DropdownMenuShortcut,
2155
+ DropdownMenuSub,
2156
+ DropdownMenuSubContent,
2157
+ DropdownMenuSubTrigger,
2158
+ DropdownMenuTrigger,
2159
+ FormLabelWithTooltip,
2160
+ Grid,
2161
+ Input,
2162
+ Label,
2163
+ Popover,
2164
+ PopoverAnchor,
2165
+ PopoverContent,
2166
+ PopoverTrigger,
2167
+ PortalProvider,
2168
+ Progress,
2169
+ RadioGroup,
2170
+ RadioGroupItem,
2171
+ Select,
2172
+ SelectContent,
2173
+ SelectGroup,
2174
+ SelectItem,
2175
+ SelectLabel,
2176
+ SelectScrollDownButton,
2177
+ SelectScrollUpButton,
2178
+ SelectSeparator,
2179
+ SelectTrigger,
2180
+ SelectValue,
2181
+ Separator,
2182
+ Sheet,
2183
+ SheetClose,
2184
+ SheetContent,
2185
+ SheetDescription,
2186
+ SheetFooter,
2187
+ SheetHeader,
2188
+ SheetOverlay,
2189
+ SheetPortal,
2190
+ SheetTitle,
2191
+ SheetTrigger,
2192
+ Skeleton,
2193
+ Spinner,
2194
+ Stack,
2195
+ Stat,
2196
+ Switch,
2197
+ Table,
2198
+ TableBody,
2199
+ TableCaption,
2200
+ TableCell,
2201
+ TableEmpty,
2202
+ TableError,
2203
+ TableFooter,
2204
+ TableHead,
2205
+ TableHeader,
2206
+ TableLoading,
2207
+ TableRow,
2208
+ TableSearch,
2209
+ TableSkeleton,
2210
+ Tabs,
2211
+ TabsContent,
2212
+ TabsList,
2213
+ TabsTrigger,
2214
+ Textarea,
2215
+ Toaster,
2216
+ Tooltip,
2217
+ TooltipContent,
2218
+ TooltipProvider,
2219
+ TooltipTrigger,
2220
+ alertVariants,
2221
+ avatarVariants,
2222
+ badgeVariants,
2223
+ buttonVariants,
2224
+ cardVariants,
2225
+ dialogContentVariants,
2226
+ inputVariants,
2227
+ progressVariants,
2228
+ selectTriggerVariants,
2229
+ sheetVariants,
2230
+ spinnerVariants,
2231
+ toast,
2232
+ usePortalContainer
2005
2233
  };
2006
- var tailwind_preset_default = uiPreset;
2007
-
2008
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Avatar, AvatarFallback, AvatarImage, Badge, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FormLabelWithTooltip, Grid, Input, Label, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalProvider, Progress, RadioGroup, RadioGroupItem, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Spinner, Stack, Stat, Switch, Table, TableBody, TableCaption, TableCell, TableEmpty, TableError, TableFooter, TableHead, TableHeader, TableLoading, TableRow, TableSearch, TableSkeleton, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, alertVariants, avatarVariants, badgeVariants, buttonVariants, cardVariants, cn, dialogContentVariants, inputVariants, progressVariants, selectTriggerVariants, sheetVariants, spinnerVariants, tailwind_preset_default as uiPreset, usePortalContainer };
2009
- //# sourceMappingURL=index.mjs.map
2010
2234
  //# sourceMappingURL=index.mjs.map