@nextlyhq/ui 0.0.2-alpha.33 → 0.0.2-alpha.34

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
@@ -43,13 +43,13 @@ var buttonVariants = cva(
43
43
  link: "text-primary border border-transparent underline-offset-4 hover:underline"
44
44
  },
45
45
  size: {
46
- default: "h-10 px-6 py-2",
47
- sm: "h-9 px-4 text-[13px]",
48
- md: "h-10 px-6 text-sm",
49
- lg: "h-11 px-8 text-base",
50
- icon: "h-10 w-10 p-0",
51
- "icon-sm": "h-9 w-9 p-0",
52
- "icon-lg": "h-11 w-11 p-0"
46
+ default: "h-[var(--control-height)] px-6 py-2",
47
+ sm: "h-[var(--control-height-md)] px-4 text-[13px]",
48
+ md: "h-[var(--control-height)] px-6 text-sm",
49
+ lg: "h-[var(--control-height-lg)] px-8 text-base",
50
+ icon: "h-[var(--control-height)] w-[var(--control-height)] p-0",
51
+ "icon-sm": "h-[var(--control-height-md)] w-[var(--control-height-md)] p-0",
52
+ "icon-lg": "h-[var(--control-height-lg)] w-[var(--control-height-lg)] p-0"
53
53
  }
54
54
  },
55
55
  defaultVariants: {
@@ -86,13 +86,13 @@ var Button = forwardRef(
86
86
  );
87
87
  Button.displayName = "Button";
88
88
  var inputVariants = cva(
89
- "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",
89
+ "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!",
90
90
  {
91
91
  variants: {
92
92
  size: {
93
- sm: "h-8 px-2.5 py-2 text-sm",
94
- default: "h-10 px-3 py-2.5 text-sm",
95
- lg: "h-11 px-4 py-3 text-base"
93
+ sm: "h-[var(--control-height-sm)] px-2.5 py-2 text-sm",
94
+ default: "h-[var(--control-height)] px-3 py-2.5 text-sm",
95
+ lg: "h-[var(--control-height-lg)] px-4 py-3 text-base"
96
96
  }
97
97
  },
98
98
  defaultVariants: {
@@ -121,8 +121,8 @@ var Textarea = forwardRef(({ className, ...props }, ref) => {
121
121
  {
122
122
  "data-slot": "textarea",
123
123
  className: cn(
124
- "flex min-h-[80px] w-full rounded-none border border-input bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground placeholder:opacity-50 transition-all duration-200 focus:!border-primary focus-visible:!border-primary focus:outline-none hover:border-primary/30 disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-primary/5 resize-y",
125
- "aria-invalid:border-destructive aria-invalid:focus:!border-destructive",
124
+ "flex min-h-[80px] w-full rounded-none border border-input bg-background px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground placeholder:opacity-50 transition-all duration-200 focus:border-primary! focus-visible:border-primary! focus:outline-none hover:border-primary/30 disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-primary/5 resize-y",
125
+ "aria-invalid:border-destructive aria-invalid:focus:border-destructive!",
126
126
  className
127
127
  ),
128
128
  ref,
@@ -154,7 +154,7 @@ var TooltipContent = forwardRef(({ className, sideOffset = 4, ...props }, ref) =
154
154
  sideOffset,
155
155
  "data-slot": "tooltip-content",
156
156
  className: cn(
157
- "z-50 overflow-hidden rounded-none px-3 py-1.5 text-xs shadow-lg border border-primary/5 bg-popover text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
157
+ "z-50 overflow-hidden rounded-none px-3 py-1.5 text-xs shadow-lg border border-border bg-popover text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
158
158
  className
159
159
  ),
160
160
  ...props
@@ -194,7 +194,7 @@ var FormLabelWithTooltip = React6.forwardRef(
194
194
  {
195
195
  side: "right",
196
196
  className: cn(
197
- "max-w-[250px] text-[12px] break-words relative z-[100] shadow-md border border-primary/5 bg-black text-white dark:bg-zinc-800 dark:text-zinc-50 px-3 py-2 rounded-none",
197
+ "max-w-[250px] text-[12px] break-words relative z-[100] shadow-md border border-border bg-primary text-primary-foreground px-3 py-2 rounded-none",
198
198
  tooltipClassName
199
199
  ),
200
200
  children: description
@@ -210,12 +210,14 @@ var badgeVariants = cva(
210
210
  {
211
211
  variants: {
212
212
  variant: {
213
- default: "bg-primary/5 text-slate-900 dark:bg-slate-800 dark:text-slate-100",
214
- primary: "bg-primary/5 text-primary dark:bg-primary/20 dark:text-primary-foreground/90",
213
+ // Clear, legible chip in both modes (was bg-primary/5 at ~5% opacity,
214
+ // which was nearly invisible on dark backgrounds).
215
+ default: "bg-muted text-foreground",
216
+ primary: "bg-primary/10 text-primary dark:bg-primary/20",
215
217
  success: "bg-green-100 text-green-700 dark:bg-green-900 dark:text-green-100",
216
218
  warning: "bg-amber-100 text-amber-700 dark:bg-amber-900 dark:text-amber-100",
217
219
  destructive: "bg-red-100 text-red-700 dark:bg-red-900 dark:text-red-100",
218
- outline: "border !border-primary/5 bg-transparent text-slate-700 dark:text-slate-300 dark:!border-primary/5"
220
+ outline: "border border-border! bg-transparent text-foreground dark:text-muted-foreground dark:border-border!"
219
221
  }
220
222
  },
221
223
  defaultVariants: {
@@ -234,7 +236,7 @@ function Badge({ className, variant = "default", ...props }) {
234
236
  );
235
237
  }
236
238
  var cardVariants = cva(
237
- "bg-card text-foreground rounded-none border border-primary/5 transition-all duration-200",
239
+ "bg-card text-foreground rounded-none border border-border transition-all duration-200",
238
240
  {
239
241
  variants: {
240
242
  variant: {
@@ -271,7 +273,7 @@ var CardHeader = forwardRef(
271
273
  "data-slot": "card-header",
272
274
  className: cn(
273
275
  "flex flex-col p-4",
274
- !noBorder && "border-b border-primary/5",
276
+ !noBorder && "border-b border-border",
275
277
  className
276
278
  ),
277
279
  ...props
@@ -344,7 +346,7 @@ var CardFooter = forwardRef(
344
346
  ref,
345
347
  "data-slot": "card-footer",
346
348
  className: cn(
347
- "flex items-center px-6 py-4 border-t border-primary/5 bg-primary/5",
349
+ "flex items-center px-6 py-4 border-t border-border bg-primary/5",
348
350
  className
349
351
  ),
350
352
  ...props
@@ -354,14 +356,14 @@ var CardFooter = forwardRef(
354
356
  );
355
357
  CardFooter.displayName = "CardFooter";
356
358
  var alertVariants = cva(
357
- "relative flex items-start gap-3 rounded-none border border-primary/5 p-4 text-sm transition-colors duration-150",
359
+ "relative flex items-start gap-3 rounded-none border border-border p-4 text-sm transition-colors duration-150",
358
360
  {
359
361
  variants: {
360
362
  variant: {
361
- info: "border-primary/5 bg-primary/5 text-primary dark:border-primary/30 dark:bg-primary/5 dark:text-primary-foreground/90",
362
- success: "border-green-200 bg-green-50 text-green-900 dark:border-green-900 dark:bg-green-950 dark:text-green-100",
363
- warning: "border-amber-200 bg-amber-50 text-amber-900 dark:border-amber-900 dark:bg-amber-950 dark:text-amber-100",
364
- destructive: "border-red-200 bg-red-50 text-red-900 dark:border-red-900 dark:bg-red-950 dark:text-red-100"
363
+ info: "border-border bg-primary/5 text-primary dark:border-primary/30 dark:bg-primary/5 dark:text-primary-foreground/90",
364
+ success: "border-green-200 bg-green-50 text-green-900 border-l-4 border-l-success dark:border-green-900 dark:bg-green-950 dark:text-green-100",
365
+ warning: "border-amber-200 bg-amber-50 text-amber-900 border-l-4 border-l-warning dark:border-amber-900 dark:bg-amber-950 dark:text-amber-100",
366
+ destructive: "border-red-200 bg-red-50 text-red-900 border-l-4 border-l-destructive dark:border-red-900 dark:bg-red-950 dark:text-red-100"
365
367
  }
366
368
  },
367
369
  defaultVariants: {
@@ -511,7 +513,11 @@ var Checkbox = forwardRef(({ className, indeterminate, ...props }, ref) => /* @_
511
513
  ref,
512
514
  "data-slot": "checkbox",
513
515
  className: cn(
514
- "peer h-4 w-4 shrink-0 rounded-none border border-primary/5 ring-offset-background focus:!border-primary focus-visible:!border-primary focus:outline-none focus-visible:outline-none aria-invalid:border-destructive aria-invalid:focus:!border-destructive aria-invalid:focus-visible:!border-destructive disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=checked]:border-primary transition-all duration-200",
516
+ // Unchecked outline uses primary/40 (clearly visible, monochrome) instead of
517
+ // primary/5, which rendered at ~5% opacity and was effectively invisible.
518
+ // Checked and indeterminate share the filled appearance; declaring both
519
+ // here keeps the control self-sufficient without host overrides.
520
+ "peer h-4 w-4 shrink-0 rounded-none border border-primary/40 ring-offset-background focus:border-primary! focus-visible:border-primary! focus:outline-none focus-visible:outline-none aria-invalid:border-destructive aria-invalid:focus:border-destructive! aria-invalid:focus-visible:border-destructive! disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=checked]:border-primary data-[state=indeterminate]:bg-primary data-[state=indeterminate]:text-primary-foreground data-[state=indeterminate]:border-primary transition-all duration-200",
515
521
  className
516
522
  ),
517
523
  ...props,
@@ -544,7 +550,9 @@ var RadioGroupItem = forwardRef(({ className, ...props }, ref) => {
544
550
  ref,
545
551
  "data-slot": "radio-group-item",
546
552
  className: cn(
547
- "peer h-4 w-4 shrink-0 rounded-none border border-primary/5 bg-background cursor-pointer transition-all duration-150 focus:!border-primary focus-visible:!border-primary focus:outline-none focus-visible:outline-none aria-invalid:border-destructive aria-invalid:focus:!border-destructive aria-invalid:focus-visible:!border-destructive disabled:cursor-not-allowed disabled:opacity-50 hover:border-primary/30 data-[state=checked]:border-primary data-[state=checked]:border-[5px]",
553
+ // Unchecked outline uses primary/40 (clearly visible) instead of primary/5
554
+ // (~5% opacity, effectively invisible); hover strengthens above the resting state.
555
+ "peer h-4 w-4 shrink-0 rounded-none border border-primary/40 bg-background cursor-pointer transition-all duration-150 focus:border-primary! focus-visible:border-primary! focus:outline-none focus-visible:outline-none aria-invalid:border-destructive aria-invalid:focus:border-destructive! aria-invalid:focus-visible:border-destructive! disabled:cursor-not-allowed disabled:opacity-50 hover:border-primary/70 data-[state=checked]:border-primary data-[state=checked]:border-[5px]",
548
556
  className
549
557
  ),
550
558
  ...props,
@@ -559,9 +567,9 @@ function Switch({ className, ...props }) {
559
567
  {
560
568
  "data-slot": "switch",
561
569
  className: cn(
562
- "peer inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-none border border-primary/5 transition-all outline-none focus-visible:border-primary aria-invalid:border-destructive aria-invalid:focus-visible:!border-destructive disabled:cursor-not-allowed disabled:opacity-50",
563
- "data-[state=checked]:bg-primary data-[state=checked]:!border-primary",
564
- "data-[state=unchecked]:bg-input data-[state=unchecked]:border-primary/5 dark:data-[state=unchecked]:bg-input/80",
570
+ "peer inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-none border border-border transition-all outline-none focus-visible:border-primary aria-invalid:border-destructive aria-invalid:focus-visible:border-destructive! disabled:cursor-not-allowed disabled:opacity-50",
571
+ "data-[state=checked]:bg-primary data-[state=checked]:border-primary!",
572
+ "data-[state=unchecked]:bg-input data-[state=unchecked]:border-border dark:data-[state=unchecked]:bg-input/80",
565
573
  className
566
574
  ),
567
575
  ...props,
@@ -606,7 +614,7 @@ var AccordionTrigger = forwardRef(
606
614
  ...props,
607
615
  children: [
608
616
  children,
609
- /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-150" })
617
+ /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4 shrink-0 transition-transform duration-150 will-change-transform" })
610
618
  ]
611
619
  }
612
620
  ) })
@@ -618,7 +626,7 @@ var AccordionContent = forwardRef(
618
626
  {
619
627
  ref,
620
628
  "data-slot": "accordion-content",
621
- className: "overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",
629
+ 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",
622
630
  ...props,
623
631
  children: /* @__PURE__ */ jsx("div", { className: cn("pb-4 pt-0", className), children })
624
632
  }
@@ -727,7 +735,7 @@ var TabsTrigger = forwardRef(
727
735
  ref,
728
736
  "data-slot": "tabs-trigger",
729
737
  className: cn(
730
- "inline-flex items-center justify-center whitespace-nowrap rounded-none bg-transparent px-4 py-2 text-sm font-medium cursor-pointer transition-all duration-200 border-b-2 relative -mb-0.5 data-[state=active]:!border-b-primary data-[state=active]:text-primary data-[state=inactive]:border-transparent data-[state=inactive]:text-muted-foreground hover:text-primary hover:border-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/20 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 disabled:cursor-not-allowed",
738
+ "inline-flex items-center justify-center whitespace-nowrap rounded-none bg-transparent px-4 py-2 text-sm font-medium cursor-pointer transition-all duration-200 border-b-2 relative -mb-0.5 data-[state=active]:border-b-primary! data-[state=active]:text-primary data-[state=inactive]:border-transparent data-[state=inactive]:text-muted-foreground hover:text-primary hover:border-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/20 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 disabled:cursor-not-allowed",
731
739
  className
732
740
  ),
733
741
  ...props
@@ -771,7 +779,7 @@ var PopoverContent = React6.forwardRef(({ className, align = "center", sideOffse
771
779
  sideOffset,
772
780
  "data-slot": "popover-content",
773
781
  className: cn(
774
- "z-[100] w-72 rounded-none border border-primary/5 bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",
782
+ "z-[100] w-72 rounded-none border border-border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",
775
783
  className
776
784
  ),
777
785
  ...props
@@ -820,7 +828,7 @@ var DialogContent = forwardRef(({ className, children, size, ...props }, ref) =>
820
828
  ref,
821
829
  "data-slot": "dialog-content",
822
830
  className: cn(
823
- "fixed left-[50%] top-[50%] z-[51] grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border border-primary/5 bg-background p-6 shadow-xl rounded-none duration-150 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",
831
+ "fixed left-[50%] top-[50%] z-[51] grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border border-border bg-background p-6 shadow-xl rounded-none duration-150 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",
824
832
  dialogContentVariants({ size }),
825
833
  className
826
834
  ),
@@ -917,7 +925,7 @@ var AlertDialogContent = forwardRef(({ className, ...props }, ref) => {
917
925
  {
918
926
  ref,
919
927
  className: cn(
920
- "fixed left-[50%] top-[50%] z-[51] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-primary/5 bg-background p-6 shadow-xl rounded-none duration-150 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",
928
+ "fixed left-[50%] top-[50%] z-[51] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border border-border bg-background p-6 shadow-xl rounded-none duration-150 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",
921
929
  className
922
930
  ),
923
931
  ...props
@@ -1027,7 +1035,7 @@ var DropdownMenuSubContent = React6.forwardRef(({ className, ...props }, ref) =>
1027
1035
  {
1028
1036
  ref,
1029
1037
  className: cn(
1030
- "z-50 min-w-[8rem] overflow-hidden rounded-none border border-primary/5 bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",
1038
+ "z-50 min-w-[8rem] overflow-hidden rounded-none border border-border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",
1031
1039
  className
1032
1040
  ),
1033
1041
  ...props
@@ -1042,7 +1050,7 @@ var DropdownMenuContent = React6.forwardRef(({ className, sideOffset = 4, ...pro
1042
1050
  ref,
1043
1051
  sideOffset,
1044
1052
  className: cn(
1045
- "z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-none border border-primary/5 bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",
1053
+ "z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-none border border-border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",
1046
1054
  className
1047
1055
  ),
1048
1056
  ...props
@@ -1143,13 +1151,13 @@ function SelectValue({
1143
1151
  return /* @__PURE__ */ jsx(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
1144
1152
  }
1145
1153
  var selectTriggerVariants = cva(
1146
- "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/30 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",
1154
+ "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/30 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",
1147
1155
  {
1148
1156
  variants: {
1149
1157
  size: {
1150
- sm: "h-8 text-sm",
1151
- default: "h-10 text-sm",
1152
- lg: "h-11 text-base"
1158
+ sm: "h-[var(--control-height-sm)] text-sm",
1159
+ default: "h-[var(--control-height)] text-sm",
1160
+ lg: "h-[var(--control-height-lg)] text-base"
1153
1161
  }
1154
1162
  },
1155
1163
  defaultVariants: {
@@ -1185,7 +1193,7 @@ function SelectContent({
1185
1193
  {
1186
1194
  "data-slot": "select-content",
1187
1195
  className: cn(
1188
- "bg-popover text-popover-foreground border border-primary/5 shadow-none rounded-none z-9999 max-h-(--radix-select-content-available-height) min-w-32 overflow-hidden data-[state=open]:animate-zoom-in-95 data-[state=closed]:animate-zoom-out-95 data-[side=bottom]:animate-slide-in-from-top-2 data-[side=left]:animate-slide-in-from-right-2 data-[side=right]:animate-slide-in-from-left-2 data-[side=top]:animate-slide-in-from-bottom-2",
1196
+ "bg-popover text-popover-foreground border border-border shadow-none rounded-none z-9999 max-h-(--radix-select-content-available-height) min-w-32 overflow-hidden data-[state=open]:animate-zoom-in-95 data-[state=closed]:animate-zoom-out-95 data-[side=bottom]:animate-slide-in-from-top-2 data-[side=left]:animate-slide-in-from-right-2 data-[side=right]:animate-slide-in-from-left-2 data-[side=top]:animate-slide-in-from-bottom-2",
1189
1197
  position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
1190
1198
  className
1191
1199
  ),
@@ -1312,10 +1320,10 @@ var sheetVariants = cva(
1312
1320
  {
1313
1321
  variants: {
1314
1322
  side: {
1315
- top: "inset-x-0 top-0 border-b border-primary/5 data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
1316
- bottom: "inset-x-0 bottom-0 border-t border-primary/5 data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
1317
- left: "inset-y-0 left-0 h-full w-3/4 border-r border-primary/5 data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
1318
- right: "inset-y-0 right-0 h-full w-3/4 border-l border-primary/5 data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
1323
+ top: "inset-x-0 top-0 border-b border-border data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
1324
+ bottom: "inset-x-0 bottom-0 border-t border-border data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
1325
+ left: "inset-y-0 left-0 h-full w-3/4 border-r border-border data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
1326
+ right: "inset-y-0 right-0 h-full w-3/4 border-l border-border data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
1319
1327
  }
1320
1328
  },
1321
1329
  defaultVariants: {
@@ -1439,7 +1447,7 @@ var CommandDialog = ({ children, ...props }) => {
1439
1447
  "m-4 sm:m-0",
1440
1448
  // 16px margin on mobile, no margin on desktop
1441
1449
  // Visual
1442
- "overflow-hidden rounded-none border border-primary/5 bg-background shadow-xl",
1450
+ "overflow-hidden rounded-none border border-border bg-background shadow-xl",
1443
1451
  // Animation
1444
1452
  "duration-200",
1445
1453
  "data-[state=open]:animate-in data-[state=closed]:animate-out",
@@ -1455,7 +1463,7 @@ var CommandDialog = ({ children, ...props }) => {
1455
1463
  var CommandInput = forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs(
1456
1464
  "div",
1457
1465
  {
1458
- className: "flex items-center border-b border-primary/5 px-4",
1466
+ className: "flex items-center border-b border-border px-4",
1459
1467
  "cmdk-input-wrapper": "",
1460
1468
  children: [
1461
1469
  /* @__PURE__ */ jsx(Search, { className: "mr-3 h-5 w-5 shrink-0 text-muted-foreground" }),
@@ -1574,7 +1582,7 @@ var CommandShortcut = forwardRef(
1574
1582
  "text-xs font-mono",
1575
1583
  // Visual
1576
1584
  "text-muted-foreground bg-primary/5",
1577
- "border border-primary/5 rounded-none",
1585
+ "border border-border rounded-none",
1578
1586
  // Spacing
1579
1587
  "px-1.5 py-0.5",
1580
1588
  className
@@ -1617,7 +1625,7 @@ function Toaster({ theme = "system", ...props }) {
1617
1625
  Toaster$1,
1618
1626
  {
1619
1627
  theme,
1620
- className: "toaster group !bg-transparent !overflow-visible !z-[9999]",
1628
+ className: "toaster group bg-transparent! overflow-visible! z-[9999]!",
1621
1629
  "data-slot": "toaster",
1622
1630
  toastOptions: {
1623
1631
  classNames: {
@@ -1632,9 +1640,9 @@ function Toaster({ theme = "system", ...props }) {
1632
1640
  loading: /* @__PURE__ */ jsx(Loader2, { className: "h-4 w-4 animate-spin" })
1633
1641
  },
1634
1642
  style: {
1635
- "--normal-bg": "hsl(var(--popover, 0 0% 100%))",
1636
- "--normal-text": "hsl(var(--popover-foreground, 222.2 84% 4.9%))",
1637
- "--normal-border": "hsl(var(--border, 214.3 31.8% 91.4%))",
1643
+ "--normal-bg": "var(--popover)",
1644
+ "--normal-text": "var(--popover-foreground)",
1645
+ "--normal-border": "var(--border)",
1638
1646
  "--border-radius": "0px"
1639
1647
  },
1640
1648
  ...props
@@ -1650,7 +1658,14 @@ var Table = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
1650
1658
  }
1651
1659
  ) }));
1652
1660
  Table.displayName = "Table";
1653
- var TableHeader = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("[&_tr] :border-b border-primary/5", className), ...props }));
1661
+ var TableHeader = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1662
+ "thead",
1663
+ {
1664
+ ref,
1665
+ className: cn("[&_tr]:border-b border-border", className),
1666
+ ...props
1667
+ }
1668
+ ));
1654
1669
  TableHeader.displayName = "TableHeader";
1655
1670
  var TableBody = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1656
1671
  "tbody",
@@ -1665,7 +1680,10 @@ var TableFooter = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE
1665
1680
  "tfoot",
1666
1681
  {
1667
1682
  ref,
1668
- className: cn("border-t border-primary/5 font-medium [&>tr]:last:border-b-0", className),
1683
+ className: cn(
1684
+ "border-t border-border font-medium [&>tr]:last:border-b-0",
1685
+ className
1686
+ ),
1669
1687
  ...props
1670
1688
  }
1671
1689
  ));
@@ -1675,7 +1693,7 @@ var TableRow = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1675
1693
  {
1676
1694
  ref,
1677
1695
  className: cn(
1678
- "border-b border-primary/5 transition-colors data-[state=selected]:bg-primary/5",
1696
+ "border-b border-border transition-colors data-[state=selected]:bg-primary/5",
1679
1697
  className
1680
1698
  ),
1681
1699
  ...props
@@ -1734,7 +1752,7 @@ function TableSearch({
1734
1752
  value,
1735
1753
  onChange: (e) => onChange(e.target.value),
1736
1754
  "aria-busy": isLoading,
1737
- className: "h-10 w-full rounded-none border border-primary/5 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"
1755
+ 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"
1738
1756
  }
1739
1757
  ),
1740
1758
  (value || isLoading) && /* @__PURE__ */ jsxs("div", { className: "absolute right-3 top-1/2 -translate-y-1/2 flex items-center gap-2", children: [
@@ -1773,7 +1791,7 @@ function TableEmpty({ message = "No records found" }) {
1773
1791
  ] });
1774
1792
  }
1775
1793
  function renderPageNumbers(currentPage, totalPages, maxVisiblePages, onPageChange) {
1776
- const getBtnClass = (active) => `flex h-8 w-8 items-center justify-center border-y border-primary/5 border-r border-primary/5 text-xs z-10 -ml-px transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring ${active ? "!bg-primary !text-primary-foreground !border-primary z-20" : "!bg-background !border-primary/5 hover-muted disabled:opacity-50"}`;
1794
+ const getBtnClass = (active) => `flex h-8 w-8 items-center justify-center border-y border-border border-r border-border text-xs z-10 -ml-px transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring ${active ? "bg-primary! text-primary-foreground! border-primary! z-20" : "bg-background! border-border! hover-muted disabled:opacity-50"}`;
1777
1795
  if (totalPages <= maxVisiblePages) {
1778
1796
  return Array.from({ length: totalPages }).map((_, i) => /* @__PURE__ */ jsx(
1779
1797
  "button",
@@ -1808,7 +1826,7 @@ function renderPageNumbers(currentPage, totalPages, maxVisiblePages, onPageChang
1808
1826
  /* @__PURE__ */ jsx(
1809
1827
  "span",
1810
1828
  {
1811
- className: "flex h-8 w-8 items-center justify-center border-y border-primary/5 border-r border-primary/5 !border-primary/5 !bg-background text-muted-foreground text-xs -ml-px",
1829
+ className: "flex h-8 w-8 items-center justify-center border-y border-border border-r border-border border-border! bg-background! text-muted-foreground text-xs -ml-px",
1812
1830
  "aria-hidden": "true",
1813
1831
  children: "..."
1814
1832
  },
@@ -1838,7 +1856,7 @@ function renderPageNumbers(currentPage, totalPages, maxVisiblePages, onPageChang
1838
1856
  /* @__PURE__ */ jsx(
1839
1857
  "span",
1840
1858
  {
1841
- className: "flex h-8 w-8 items-center justify-center border-y border-primary/5 border-r border-primary/5 !border-primary/5 !bg-background text-muted-foreground text-xs -ml-px",
1859
+ className: "flex h-8 w-8 items-center justify-center border-y border-border border-r border-border border-border! bg-background! text-muted-foreground text-xs -ml-px",
1842
1860
  "aria-hidden": "true",
1843
1861
  children: "..."
1844
1862
  },
@@ -1873,7 +1891,8 @@ function TablePagination({
1873
1891
  pageSizeOptions = [10, 20, 30, 50],
1874
1892
  maxVisiblePages = 5
1875
1893
  } = config || {};
1876
- return /* @__PURE__ */ jsxs("div", { className: "flex flex-col sm:flex-row w-full items-center justify-between gap-4 text-xs sm:text-sm text-muted-foreground p-4 border-t border-primary/5", children: [
1894
+ const pageIndex = meta.page - 1;
1895
+ return /* @__PURE__ */ jsxs("div", { className: "flex flex-col sm:flex-row w-full items-center justify-between gap-4 text-xs sm:text-sm text-muted-foreground p-4 border-t border-border", children: [
1877
1896
  /* @__PURE__ */ jsxs("div", { className: "whitespace-nowrap order-2 sm:order-1", children: [
1878
1897
  "Showing ",
1879
1898
  (meta.page - 1) * meta.limit + 1,
@@ -1896,7 +1915,7 @@ function TablePagination({
1896
1915
  const newPageSize = Number(e.target.value);
1897
1916
  onPageSizeChange(newPageSize);
1898
1917
  },
1899
- className: "h-8 w-[70px] appearance-none rounded-none border border-primary/5 bg-background px-2 py-1 text-sm font-medium focus-visible:outline-none focus:ring-1 focus:ring-ring disabled:opacity-50 hover-muted cursor-pointer",
1918
+ className: "h-8 w-[70px] appearance-none rounded-none border border-border bg-background px-2 py-1 text-sm font-medium focus-visible:outline-none focus:ring-1 focus:ring-ring disabled:opacity-50 hover-muted cursor-pointer",
1900
1919
  disabled: isLoading,
1901
1920
  children: pageSizeOptions.map((size) => /* @__PURE__ */ jsx("option", { value: size, children: size }, size))
1902
1921
  }
@@ -1926,8 +1945,8 @@ function TablePagination({
1926
1945
  "button",
1927
1946
  {
1928
1947
  onClick: () => onPageChange(0),
1929
- disabled: meta.page === 0 || isLoading,
1930
- className: "hidden sm:flex h-8 w-8 items-center justify-center rounded-none border border-primary/5 bg-background hover-muted disabled:opacity-50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring z-10",
1948
+ disabled: pageIndex === 0 || isLoading,
1949
+ className: "hidden sm:flex h-8 w-8 items-center justify-center rounded-none border border-border bg-background hover-muted disabled:opacity-50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring z-10",
1931
1950
  "aria-label": "First page",
1932
1951
  children: /* @__PURE__ */ jsx(ChevronsLeft, { className: "h-4 w-4" })
1933
1952
  }
@@ -1935,15 +1954,15 @@ function TablePagination({
1935
1954
  /* @__PURE__ */ jsx(
1936
1955
  "button",
1937
1956
  {
1938
- onClick: () => onPageChange(meta.page - 1),
1939
- disabled: meta.page === 0 || isLoading,
1940
- className: "flex h-8 w-8 items-center justify-center rounded-none sm:rounded-none border border-primary/5 bg-background hover-muted disabled:opacity-50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring z-10",
1957
+ onClick: () => onPageChange(pageIndex - 1),
1958
+ disabled: pageIndex === 0 || isLoading,
1959
+ className: "flex h-8 w-8 items-center justify-center rounded-none sm:rounded-none border border-border bg-background hover-muted disabled:opacity-50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring z-10",
1941
1960
  "aria-label": "Previous page",
1942
1961
  children: /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" })
1943
1962
  }
1944
1963
  ),
1945
1964
  /* @__PURE__ */ jsx("div", { className: "flex", children: renderPageNumbers(
1946
- meta.page,
1965
+ pageIndex,
1947
1966
  meta.totalPages,
1948
1967
  maxVisiblePages,
1949
1968
  onPageChange
@@ -1951,9 +1970,9 @@ function TablePagination({
1951
1970
  /* @__PURE__ */ jsx(
1952
1971
  "button",
1953
1972
  {
1954
- onClick: () => onPageChange(meta.page + 1),
1955
- disabled: meta.page >= meta.totalPages - 1 || isLoading,
1956
- className: "flex h-8 w-8 items-center justify-center rounded-none sm:rounded-none border-y border-primary/5 border-x border-primary/5 sm :border-r border-primary/5 bg-background hover-muted disabled:opacity-50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring z-10",
1973
+ onClick: () => onPageChange(pageIndex + 1),
1974
+ disabled: pageIndex >= meta.totalPages - 1 || isLoading,
1975
+ className: "flex h-8 w-8 items-center justify-center rounded-none sm:rounded-none border-y border-border border-x border-border sm:border-r border-border bg-background hover-muted disabled:opacity-50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring z-10",
1957
1976
  "aria-label": "Next page",
1958
1977
  children: /* @__PURE__ */ jsx(ChevronRight, { className: "h-4 w-4" })
1959
1978
  }
@@ -1962,8 +1981,8 @@ function TablePagination({
1962
1981
  "button",
1963
1982
  {
1964
1983
  onClick: () => onPageChange(meta.totalPages - 1),
1965
- disabled: meta.page >= meta.totalPages - 1 || isLoading,
1966
- className: "hidden sm:flex h-8 w-8 items-center justify-center rounded-none border border-primary/5 bg-background hover-muted disabled:opacity-50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring z-10",
1984
+ disabled: pageIndex >= meta.totalPages - 1 || isLoading,
1985
+ className: "hidden sm:flex h-8 w-8 items-center justify-center rounded-none border border-border bg-background hover-muted disabled:opacity-50 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring z-10",
1967
1986
  "aria-label": "Last page",
1968
1987
  children: /* @__PURE__ */ jsx(ChevronsRight, { className: "h-4 w-4" })
1969
1988
  }
@@ -1971,7 +1990,7 @@ function TablePagination({
1971
1990
  ] }),
1972
1991
  /* @__PURE__ */ jsxs("div", { className: "whitespace-nowrap hidden sm:block", children: [
1973
1992
  "Page ",
1974
- meta.page + 1,
1993
+ meta.page,
1975
1994
  " of ",
1976
1995
  meta.totalPages
1977
1996
  ] })
@@ -1988,7 +2007,7 @@ var TableSkeleton = ({
1988
2007
  const content = /* @__PURE__ */ jsxs(Fragment, { children: [
1989
2008
  /* @__PURE__ */ jsx("div", { className: "border-0 rounded-none shadow-none", children: /* @__PURE__ */ jsxs(Table, { children: [
1990
2009
  /* @__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}`)) }) }),
1991
- /* @__PURE__ */ jsx(TableBody, { children: Array.from({ length: rowCount }).map((_, rowIdx) => /* @__PURE__ */ jsx(TableRow, { className: "border-b border-primary/5", 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: [
2010
+ /* @__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: [
1992
2011
  /* @__PURE__ */ jsx(Skeleton, { className: "w-9 rounded-none shrink-0" }),
1993
2012
  /* @__PURE__ */ jsxs("div", { className: "space-y-1.5 flex-1", children: [
1994
2013
  /* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-[120px]" }),
@@ -1996,7 +2015,7 @@ var TableSkeleton = ({
1996
2015
  ] })
1997
2016
  ] }) : /* @__PURE__ */ jsx(GrayBar, { className: "h-4 w-[60%] max-w-[120px]" }) }, colIdx)) }, rowIdx)) })
1998
2017
  ] }) }),
1999
- !hideFooter && /* @__PURE__ */ jsx("div", { className: "table-footer border-t border-primary/5", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-2 py-4 p-4", children: [
2018
+ !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: [
2000
2019
  /* @__PURE__ */ jsx("div", { className: "flex items-center gap-2 text-sm", children: /* @__PURE__ */ jsx(GrayBar, { className: "h-4 w-[120px]" }) }),
2001
2020
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-6", children: [
2002
2021
  /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
@@ -2017,7 +2036,7 @@ var TableSkeleton = ({
2017
2036
  if (hideWrapper) {
2018
2037
  return content;
2019
2038
  }
2020
- return /* @__PURE__ */ jsx("div", { className: "table-wrapper rounded-none border border-primary/5 bg-card overflow-hidden", children: content });
2039
+ return /* @__PURE__ */ jsx("div", { className: "table-wrapper rounded-none border border-border bg-card overflow-hidden", children: content });
2021
2040
  };
2022
2041
  TableSkeleton.displayName = "TableSkeleton";
2023
2042
  function ResponsiveTableInner({
@@ -2075,17 +2094,7 @@ function ResponsiveTableInner({
2075
2094
  [handleItemClick, onRowClick]
2076
2095
  );
2077
2096
  if (data.length === 0) {
2078
- return /* @__PURE__ */ jsx(
2079
- "div",
2080
- {
2081
- ref,
2082
- className: cn(
2083
- "p-8 text-center",
2084
- className
2085
- ),
2086
- children: /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: emptyMessage })
2087
- }
2088
- );
2097
+ return /* @__PURE__ */ jsx("div", { ref, className: cn("p-8 text-center", className), children: /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: emptyMessage }) });
2089
2098
  }
2090
2099
  return /* @__PURE__ */ jsxs("div", { ref, className: cn("w-full", className), children: [
2091
2100
  /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-4 md:hidden", children: data.map((item) => {
@@ -2152,11 +2161,11 @@ function ResponsiveTableInner({
2152
2161
  "div",
2153
2162
  {
2154
2163
  className: cn(
2155
- "table-wrapper hidden md:block overflow-hidden rounded-none border border-primary/5",
2164
+ "table-wrapper hidden md:block overflow-hidden rounded-none border border-border",
2156
2165
  tableWrapperClassName
2157
2166
  ),
2158
2167
  children: /* @__PURE__ */ jsxs(Table, { "aria-label": ariaLabel || "Data table", children: [
2159
- /* @__PURE__ */ jsx(TableHeader, { className: "bg-[hsl(var(--table-header-bg))]", children: /* @__PURE__ */ jsx(TableRow, { children: columns.map((column) => /* @__PURE__ */ jsx(
2168
+ /* @__PURE__ */ jsx(TableHeader, { className: "bg-[var(--table-header-bg)]", children: /* @__PURE__ */ jsx(TableRow, { children: columns.map((column) => /* @__PURE__ */ jsx(
2160
2169
  TableHead,
2161
2170
  {
2162
2171
  className: column.headerClassName,
@@ -2193,7 +2202,7 @@ function ResponsiveTableInner({
2193
2202
  ] })
2194
2203
  }
2195
2204
  ),
2196
- footer && /* @__PURE__ */ jsx("div", { className: "table-footer border-t border-primary/5 bg-[hsl(var(--table-header-bg))]", children: footer })
2205
+ footer && /* @__PURE__ */ jsx("div", { className: "table-footer border-t border-border bg-[var(--table-header-bg)]", children: footer })
2197
2206
  ] });
2198
2207
  }
2199
2208
  var ResponsiveTable = React6.forwardRef(ResponsiveTableInner);
@@ -2203,46 +2212,46 @@ var uiPreset = {
2203
2212
  theme: {
2204
2213
  extend: {
2205
2214
  colors: {
2206
- border: "hsl(var(--border))",
2207
- input: "hsl(var(--input))",
2208
- ring: "hsl(var(--ring))",
2209
- background: "hsl(var(--background))",
2210
- foreground: "hsl(var(--foreground))",
2215
+ border: "var(--border)",
2216
+ input: "var(--input)",
2217
+ ring: "var(--ring)",
2218
+ background: "var(--background)",
2219
+ foreground: "var(--foreground)",
2211
2220
  primary: {
2212
- DEFAULT: "hsl(var(--primary))",
2213
- foreground: "hsl(var(--primary-foreground))"
2221
+ DEFAULT: "var(--primary)",
2222
+ foreground: "var(--primary-foreground)"
2214
2223
  },
2215
2224
  secondary: {
2216
- DEFAULT: "hsl(var(--secondary))",
2217
- foreground: "hsl(var(--secondary-foreground))"
2225
+ DEFAULT: "var(--secondary)",
2226
+ foreground: "var(--secondary-foreground)"
2218
2227
  },
2219
2228
  destructive: {
2220
- DEFAULT: "hsl(var(--destructive))",
2221
- foreground: "hsl(var(--destructive-foreground))"
2229
+ DEFAULT: "var(--destructive)",
2230
+ foreground: "var(--destructive-foreground)"
2222
2231
  },
2223
2232
  success: {
2224
- DEFAULT: "hsl(var(--success))",
2225
- foreground: "hsl(var(--success-foreground))"
2233
+ DEFAULT: "var(--success)",
2234
+ foreground: "var(--success-foreground)"
2226
2235
  },
2227
2236
  warning: {
2228
- DEFAULT: "hsl(var(--warning))",
2229
- foreground: "hsl(var(--warning-foreground))"
2237
+ DEFAULT: "var(--warning)",
2238
+ foreground: "var(--warning-foreground)"
2230
2239
  },
2231
2240
  muted: {
2232
- DEFAULT: "hsl(var(--muted))",
2233
- foreground: "hsl(var(--muted-foreground))"
2241
+ DEFAULT: "var(--muted)",
2242
+ foreground: "var(--muted-foreground)"
2234
2243
  },
2235
2244
  accent: {
2236
- DEFAULT: "hsl(var(--accent))",
2237
- foreground: "hsl(var(--accent-foreground))"
2245
+ DEFAULT: "var(--accent)",
2246
+ foreground: "var(--accent-foreground)"
2238
2247
  },
2239
2248
  popover: {
2240
- DEFAULT: "hsl(var(--popover))",
2241
- foreground: "hsl(var(--popover-foreground))"
2249
+ DEFAULT: "var(--popover)",
2250
+ foreground: "var(--popover-foreground)"
2242
2251
  },
2243
2252
  card: {
2244
- DEFAULT: "hsl(var(--card))",
2245
- foreground: "hsl(var(--card-foreground))"
2253
+ DEFAULT: "var(--card)",
2254
+ foreground: "var(--card-foreground)"
2246
2255
  }
2247
2256
  },
2248
2257
  borderRadius: {