@moontra/moonui 2.1.9 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/index.d.mts +1579 -0
  2. package/dist/index.d.ts +1579 -0
  3. package/dist/index.js +182 -149
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +182 -149
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +4 -4
  8. package/src/components/ui/accordion.tsx +1 -1
  9. package/src/components/ui/alert.tsx +3 -3
  10. package/src/components/ui/aspect-ratio.tsx +1 -1
  11. package/src/components/ui/avatar.tsx +6 -6
  12. package/src/components/ui/badge.tsx +1 -1
  13. package/src/components/ui/breadcrumb.tsx +10 -10
  14. package/src/components/ui/button.tsx +48 -51
  15. package/src/components/ui/calendar.tsx +1 -1
  16. package/src/components/ui/card.tsx +7 -7
  17. package/src/components/ui/checkbox.tsx +1 -1
  18. package/src/components/ui/collapsible.tsx +3 -3
  19. package/src/components/ui/color-picker.tsx +2 -2
  20. package/src/components/ui/command.tsx +4 -4
  21. package/src/components/ui/data-table.tsx +1 -1
  22. package/src/components/ui/date-picker.tsx +9 -8
  23. package/src/components/ui/dialog.tsx +2 -2
  24. package/src/components/ui/draggable-list.tsx +1 -1
  25. package/src/components/ui/dropdown-menu.tsx +2 -2
  26. package/src/components/ui/file-upload.tsx +2 -2
  27. package/src/components/ui/github-stars.tsx +1 -1
  28. package/src/components/ui/index.ts +0 -1
  29. package/src/components/ui/input.tsx +1 -1
  30. package/src/components/ui/moon-logo.tsx +1 -1
  31. package/src/components/ui/pagination.tsx +8 -8
  32. package/src/components/ui/popover.tsx +3 -3
  33. package/src/components/ui/progress.tsx +1 -1
  34. package/src/components/ui/radio-group.tsx +1 -1
  35. package/src/components/ui/select.tsx +2 -2
  36. package/src/components/ui/skeleton.tsx +19 -7
  37. package/src/components/ui/slider.tsx +1 -1
  38. package/src/components/ui/switch.tsx +1 -1
  39. package/src/components/ui/table.tsx +5 -5
  40. package/src/components/ui/tabs.tsx +4 -1
  41. package/src/components/ui/textarea.tsx +1 -1
  42. package/src/components/ui/toast.tsx +3 -3
  43. package/src/components/ui/toggle.tsx +2 -3
  44. package/src/components/ui/tooltip.tsx +2 -5
  45. package/src/lib/micro-interactions.ts +2 -1
package/dist/index.mjs CHANGED
@@ -35,7 +35,7 @@ var AccordionItem = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__
35
35
  AccordionPrimitive.Item,
36
36
  {
37
37
  ref,
38
- className: cn("border-b border-gray-200 dark:border-gray-800", className),
38
+ className: cn("moonui-theme", "border-b border-gray-200 dark:border-gray-800", className),
39
39
  ...props
40
40
  }
41
41
  ));
@@ -129,7 +129,7 @@ var Alert = t.forwardRef(
129
129
  {
130
130
  ref,
131
131
  role: "alert",
132
- className: cn(alertVariants({ variant, size, radius, withClose: closable }), className),
132
+ className: cn("moonui-theme", alertVariants({ variant, size, radius, withClose: closable }), className),
133
133
  ...props,
134
134
  children: [
135
135
  !hideIcon && /* @__PURE__ */ jsx(Icon2, { className: "h-5 w-5" }),
@@ -153,7 +153,7 @@ var AlertTitle = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
153
153
  "h5",
154
154
  {
155
155
  ref,
156
- className: cn("font-semibold leading-tight tracking-tight mb-1", className),
156
+ className: cn("moonui-theme", "font-semibold leading-tight tracking-tight mb-1", className),
157
157
  ...props
158
158
  }
159
159
  ));
@@ -162,7 +162,7 @@ var AlertDescription = t.forwardRef(({ className, ...props }, ref) => /* @__PURE
162
162
  "div",
163
163
  {
164
164
  ref,
165
- className: cn("text-sm leading-5 text-muted-foreground", className),
165
+ className: cn("moonui-theme", "text-sm leading-5 text-muted-foreground", className),
166
166
  ...props
167
167
  }
168
168
  ));
@@ -194,7 +194,7 @@ var AspectRatio = t.forwardRef(({ className, variant, radius, ratio = 16 / 9, st
194
194
  "div",
195
195
  {
196
196
  ref,
197
- className: cn(aspectRatioVariants({ variant, radius }), className),
197
+ className: cn("moonui-theme", aspectRatioVariants({ variant, radius }), className),
198
198
  style: {
199
199
  position: "relative",
200
200
  paddingBottom: `${1 / ratio * 100}%`,
@@ -227,9 +227,9 @@ var avatarVariants = cva(
227
227
  },
228
228
  variant: {
229
229
  default: "",
230
- ring: "ring-2 ring-gray-300 dark:ring-gray-600",
231
- ringOffset: "ring-2 ring-gray-300 dark:ring-gray-600 ring-offset-2 ring-offset-background dark:ring-offset-gray-950",
232
- border: "border-2 border-gray-200 dark:border-gray-800"
230
+ ring: "ring-2 ring-border",
231
+ ringOffset: "ring-2 ring-border ring-offset-2 ring-offset-background",
232
+ border: "border-2 border-border"
233
233
  }
234
234
  },
235
235
  defaultVariants: {
@@ -243,7 +243,7 @@ var Avatar = t.forwardRef(({ className, size, radius, variant, ...props }, ref)
243
243
  AvatarPrimitive.Root,
244
244
  {
245
245
  ref,
246
- className: cn(avatarVariants({ size, radius, variant }), className),
246
+ className: cn("moonui-theme", avatarVariants({ size, radius, variant }), className),
247
247
  ...props
248
248
  }
249
249
  ));
@@ -252,7 +252,7 @@ var AvatarImage = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
252
252
  AvatarPrimitive.Image,
253
253
  {
254
254
  ref,
255
- className: cn("aspect-square h-full w-full", className),
255
+ className: cn("moonui-theme", "aspect-square h-full w-full", className),
256
256
  ...props
257
257
  }
258
258
  ));
@@ -277,7 +277,7 @@ var AvatarGroup = t.forwardRef(
277
277
  "div",
278
278
  {
279
279
  ref,
280
- className: cn("flex items-center", className),
280
+ className: cn("moonui-theme", "flex items-center", className),
281
281
  ...props,
282
282
  children: /* @__PURE__ */ jsxs("div", { className: "flex", children: [
283
283
  visibleAvatars.map((avatar, index) => /* @__PURE__ */ jsx(
@@ -426,7 +426,7 @@ function Badge({
426
426
  return /* @__PURE__ */ jsxs(
427
427
  "div",
428
428
  {
429
- className: cn(badgeVariants({ variant, size, radius }), className),
429
+ className: cn("moonui-theme", badgeVariants({ variant, size, radius }), className),
430
430
  "data-removable": removable ? "" : void 0,
431
431
  ...props,
432
432
  children: [
@@ -477,9 +477,9 @@ var breadcrumbVariants = cva(
477
477
  {
478
478
  variants: {
479
479
  variant: {
480
- default: "dark:text-gray-100 transition-colors",
481
- muted: "text-muted-foreground dark:text-gray-400 transition-colors",
482
- ghost: "text-foreground/60 dark:text-gray-300/60 transition-colors"
480
+ default: "text-foreground transition-colors",
481
+ muted: "text-muted-foreground transition-colors",
482
+ ghost: "text-foreground/60 transition-colors"
483
483
  },
484
484
  size: {
485
485
  default: "text-sm",
@@ -498,7 +498,7 @@ var Breadcrumb = t.forwardRef(
498
498
  "nav",
499
499
  {
500
500
  ref,
501
- className: cn(breadcrumbVariants({ variant, size }), className),
501
+ className: cn("moonui-theme", breadcrumbVariants({ variant, size }), className),
502
502
  "aria-label": "breadcrumb",
503
503
  ...props
504
504
  }
@@ -551,7 +551,7 @@ var BreadcrumbItem = t.forwardRef(
551
551
  "li",
552
552
  {
553
553
  ref,
554
- className: cn("inline-flex items-center gap-1.5", className),
554
+ className: cn("moonui-theme", "inline-flex items-center gap-1.5", className),
555
555
  "aria-current": isCurrent ? "page" : void 0,
556
556
  ...props,
557
557
  children: /* @__PURE__ */ jsx(
@@ -559,7 +559,7 @@ var BreadcrumbItem = t.forwardRef(
559
559
  {
560
560
  className: cn(
561
561
  "transition-colors duration-200 hover:text-foreground",
562
- isCurrent ? "font-medium text-foreground dark:text-white dark:text-opacity-95" : "text-muted-foreground hover:text-foreground dark:text-gray-400 dark:hover:text-gray-200 dark:hover:text-opacity-95 hover:underline hover:underline-offset-4 hover:decoration-gray-300/30"
562
+ isCurrent ? "font-medium text-foreground" : "text-muted-foreground hover:text-foreground hover:underline hover:underline-offset-4 hover:decoration-muted-foreground/30"
563
563
  ),
564
564
  ...itemProps,
565
565
  children: props.children
@@ -579,7 +579,7 @@ var BreadcrumbSeparator = ({
579
579
  {
580
580
  role: "presentation",
581
581
  "aria-hidden": "true",
582
- className: cn("text-muted-foreground dark:text-gray-500 opacity-70", className),
582
+ className: cn("moonui-theme", "text-muted-foreground opacity-70", className),
583
583
  ...props,
584
584
  children: children || /* @__PURE__ */ jsx(ChevronRight, { className: "h-3.5 w-3.5" })
585
585
  }
@@ -593,7 +593,7 @@ var BreadcrumbEllipsis = ({
593
593
  {
594
594
  role: "presentation",
595
595
  "aria-hidden": "true",
596
- className: cn("flex items-center text-muted-foreground dark:text-gray-500 dark:hover:text-gray-400 transition-colors duration-200", className),
596
+ className: cn("moonui-theme", "flex items-center text-muted-foreground hover:text-foreground/80 transition-colors duration-200", className),
597
597
  ...props,
598
598
  children: [
599
599
  /* @__PURE__ */ jsx(MoreHorizontal, { className: "h-4 w-4" }),
@@ -609,7 +609,7 @@ var BreadcrumbLink = t.forwardRef(
609
609
  ref,
610
610
  href,
611
611
  className: cn(
612
- "transition-colors duration-200 hover:text-foreground text-muted-foreground hover:underline hover:underline-offset-4 hover:decoration-gray-300/30 dark:text-gray-400 dark:hover:text-gray-200",
612
+ "transition-colors duration-200 hover:text-foreground text-muted-foreground hover:underline hover:underline-offset-4 hover:decoration-muted-foreground/30",
613
613
  className
614
614
  ),
615
615
  ...props
@@ -636,75 +636,71 @@ var buttonVariants = cva(
636
636
  "inline-flex items-center justify-center gap-2 whitespace-nowrap",
637
637
  "font-medium relative",
638
638
  "transition-all duration-200 ease-out",
639
- "premium-hover",
640
- /* Standart premium hover efekti */
639
+ "transform active:scale-[0.98]",
641
640
  "focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
642
- "disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none"
641
+ "disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none disabled:transform-none"
643
642
  ],
644
643
  {
645
644
  variants: {
646
645
  variant: {
647
646
  primary: [
648
647
  "bg-primary text-primary-foreground",
649
- "hover:bg-primary-hover dark:hover:bg-primary/90",
650
- "active:bg-primary-active dark:active:bg-primary/80",
651
- "shadow-sm dark:shadow-primary/20 dark:shadow-md",
652
- "focus-visible:ring-primary/50 dark:focus-visible:ring-primary/30",
653
- "dark:bg-primary dark:text-white",
648
+ "dark:bg-primary dark:text-primary-foreground",
649
+ "hover:bg-primary/90 dark:hover:bg-primary/90",
650
+ "active:bg-primary/80 dark:active:bg-primary/80",
651
+ "shadow-sm hover:shadow-md",
652
+ "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
654
653
  "transition-all duration-200"
655
654
  ],
656
655
  secondary: [
657
- "bg-secondary text-secondary-foreground",
658
- "hover:bg-gray-200 dark:hover:bg-gray-700/90",
659
- "active:bg-gray-300 dark:active:bg-gray-600/90",
660
- "border border-transparent dark:border-gray-700",
661
- "focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40",
662
- "dark:bg-gray-800 dark:text-gray-100",
663
- "dark:shadow-sm dark:shadow-gray-900/20"
656
+ "bg-muted text-muted-foreground",
657
+ "dark:bg-muted dark:text-muted-foreground",
658
+ "hover:bg-muted/80 dark:hover:bg-muted/80",
659
+ "active:bg-muted/70 dark:active:bg-muted/70",
660
+ "border border-input dark:border-input",
661
+ "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
662
+ "shadow-sm hover:shadow-md"
664
663
  ],
665
664
  outline: [
666
665
  "bg-background text-foreground",
667
- "border border-gray-300 dark:border-gray-700",
668
- "hover:border-gray-400 dark:hover:border-gray-500",
669
- "hover:bg-gray-50 dark:hover:bg-gray-800/80",
670
- "active:bg-gray-100 dark:active:bg-gray-800/90",
671
- "focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40",
672
- "dark:text-gray-200 dark:bg-gray-900/50",
673
- "dark:shadow-sm dark:shadow-gray-950/10"
666
+ "dark:bg-background dark:text-foreground",
667
+ "border border-input dark:border-input",
668
+ "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent dark:hover:text-accent-foreground",
669
+ "active:bg-accent/80 dark:active:bg-accent/80",
670
+ "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
671
+ "transition-all duration-200"
674
672
  ],
675
673
  ghost: [
676
674
  "text-foreground",
677
- "hover:bg-gray-100 dark:hover:bg-gray-800/90",
678
- "active:bg-gray-200 dark:active:bg-gray-700/90",
679
- "focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40",
680
- "dark:text-gray-200",
681
- "transition-colors duration-200"
675
+ "dark:text-foreground",
676
+ "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent dark:hover:text-accent-foreground",
677
+ "active:bg-accent/80 dark:active:bg-accent/80",
678
+ "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
679
+ "transition-all duration-200"
682
680
  ],
683
681
  destructive: [
684
- "bg-error text-white",
685
- "hover:bg-error/90 dark:hover:bg-error/80",
686
- "active:bg-error/80 dark:active:bg-error/70",
687
- "shadow-sm dark:shadow-error/10 dark:shadow-md",
688
- "focus-visible:ring-error/50 dark:focus-visible:ring-error/30",
689
- "dark:text-white dark:border-error/20",
690
- "transition-colors duration-200"
682
+ "bg-destructive text-destructive-foreground",
683
+ "dark:bg-destructive dark:text-destructive-foreground",
684
+ "hover:bg-destructive/90 dark:hover:bg-destructive/90",
685
+ "active:bg-destructive/80 dark:active:bg-destructive/80",
686
+ "shadow-sm hover:shadow-md",
687
+ "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
688
+ "transition-all duration-200"
691
689
  ],
692
690
  success: [
693
- "bg-success text-white",
694
- "hover:bg-success/90 dark:hover:bg-success/80",
695
- "active:bg-success/80 dark:active:bg-success/70",
696
- "shadow-sm dark:shadow-success/10 dark:shadow-md",
697
- "focus-visible:ring-success/50 dark:focus-visible:ring-success/30",
698
- "dark:text-white dark:border-success/20",
699
- "transition-colors duration-200"
691
+ "bg-success text-success-foreground",
692
+ "dark:bg-success dark:text-success-foreground",
693
+ "hover:bg-success/90 dark:hover:bg-success/90",
694
+ "active:bg-success/80 dark:active:bg-success/80",
695
+ "shadow-sm hover:shadow-md",
696
+ "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
697
+ "transition-all duration-200"
700
698
  ],
701
699
  link: [
702
700
  "text-primary bg-transparent",
703
701
  "underline-offset-4 hover:underline",
704
- "hover:text-primary-hover active:text-primary-active",
702
+ "hover:text-primary/80 active:text-primary/70",
705
703
  "p-0 h-auto",
706
- "dark:text-blue-400 dark:hover:text-blue-300",
707
- "dark:active:text-blue-500",
708
704
  "transition-colors duration-200"
709
705
  ],
710
706
  gradient: [
@@ -754,14 +750,14 @@ var buttonVariants = cva(
754
750
  ]
755
751
  },
756
752
  size: {
757
- xs: "h-7 px-2.5 text-xs rounded",
758
- sm: "h-8 px-3 text-sm rounded",
759
- md: "h-10 px-4 text-base rounded-md",
753
+ xs: "h-7 px-2.5 text-xs rounded-md",
754
+ sm: "h-8 px-3 text-sm rounded-md",
755
+ md: "h-10 px-4 text-base rounded-lg",
760
756
  lg: "h-12 px-6 text-lg rounded-lg",
761
- xl: "h-14 px-8 text-xl rounded-lg",
762
- icon: "h-10 w-10 p-2 rounded-md",
763
- "icon-sm": "h-8 w-8 p-1.5 rounded",
764
- "icon-lg": "h-12 w-12 p-3 rounded-lg"
757
+ xl: "h-14 px-8 text-xl rounded-xl",
758
+ icon: "h-10 w-10 p-2 rounded-lg",
759
+ "icon-sm": "h-8 w-8 p-1.5 rounded-md",
760
+ "icon-lg": "h-12 w-12 p-3 rounded-xl"
765
761
  },
766
762
  rounded: {
767
763
  default: "",
@@ -799,7 +795,7 @@ var Button = t.forwardRef(
799
795
  return /* @__PURE__ */ jsxs(
800
796
  Comp,
801
797
  {
802
- className: cn(buttonVariants({ variant, size, rounded, fullWidth, className })),
798
+ className: cn("moonui-theme", buttonVariants({ variant, size, rounded, fullWidth, className })),
803
799
  ref,
804
800
  disabled: disabled || loading,
805
801
  "data-loading": loading ? "" : void 0,
@@ -815,7 +811,7 @@ var Button = t.forwardRef(
815
811
  }
816
812
  );
817
813
  Button.displayName = "Button";
818
- var microInteractionVariants = cva("", {
814
+ cva("", {
819
815
  variants: {
820
816
  hover: {
821
817
  lift: [
@@ -946,6 +942,32 @@ var tapAnimations = {
946
942
  transition: { duration: 0.1 }
947
943
  }
948
944
  };
945
+ var pageTransitions = {
946
+ fadeIn: {
947
+ initial: { opacity: 0 },
948
+ animate: { opacity: 1 },
949
+ exit: { opacity: 0 },
950
+ transition: { duration: 0.3 }
951
+ },
952
+ slideUp: {
953
+ initial: { opacity: 0, y: 20 },
954
+ animate: { opacity: 1, y: 0 },
955
+ exit: { opacity: 0, y: -20 },
956
+ transition: springAnimations.smooth
957
+ },
958
+ slideRight: {
959
+ initial: { opacity: 0, x: -20 },
960
+ animate: { opacity: 1, x: 0 },
961
+ exit: { opacity: 0, x: 20 },
962
+ transition: springAnimations.smooth
963
+ },
964
+ scale: {
965
+ initial: { opacity: 0, scale: 0.95 },
966
+ animate: { opacity: 1, scale: 1 },
967
+ exit: { opacity: 0, scale: 1.05 },
968
+ transition: springAnimations.smooth
969
+ }
970
+ };
949
971
  var skeletonAnimation = {
950
972
  initial: { opacity: 0.5 },
951
973
  animate: {
@@ -1005,7 +1027,7 @@ var Card = t.forwardRef(
1005
1027
  motion.div,
1006
1028
  {
1007
1029
  ref,
1008
- className: cn(cardVariants({ variant, size, radius, interactive, className })),
1030
+ className: cn("moonui-theme", cardVariants({ variant, size, radius, interactive, className })),
1009
1031
  ...interactionProps,
1010
1032
  ...props
1011
1033
  }
@@ -1015,7 +1037,7 @@ var Card = t.forwardRef(
1015
1037
  "div",
1016
1038
  {
1017
1039
  ref,
1018
- className: cn(cardVariants({ variant, size, radius, interactive, className })),
1040
+ className: cn("moonui-theme", cardVariants({ variant, size, radius, interactive, className })),
1019
1041
  ...props
1020
1042
  }
1021
1043
  );
@@ -1026,7 +1048,7 @@ var CardHeader = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
1026
1048
  "div",
1027
1049
  {
1028
1050
  ref,
1029
- className: cn("flex flex-col space-y-1.5", className),
1051
+ className: cn("moonui-theme", "flex flex-col space-y-1.5", className),
1030
1052
  ...props
1031
1053
  }
1032
1054
  ));
@@ -1035,7 +1057,7 @@ var CardTitle = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ j
1035
1057
  "h3",
1036
1058
  {
1037
1059
  ref,
1038
- className: cn("text-lg font-semibold leading-none tracking-tight", className),
1060
+ className: cn("moonui-theme", "text-lg font-semibold leading-none tracking-tight", className),
1039
1061
  ...props
1040
1062
  }
1041
1063
  ));
@@ -1044,18 +1066,18 @@ var CardDescription = t.forwardRef(({ className, ...props }, ref) => /* @__PURE_
1044
1066
  "p",
1045
1067
  {
1046
1068
  ref,
1047
- className: cn("text-sm text-muted-foreground", className),
1069
+ className: cn("moonui-theme", "text-sm text-muted-foreground", className),
1048
1070
  ...props
1049
1071
  }
1050
1072
  ));
1051
1073
  CardDescription.displayName = "CardDescription";
1052
- var CardContent = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("pt-0", className), ...props }));
1074
+ var CardContent = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { ref, className: cn("moonui-theme", "pt-0", className), ...props }));
1053
1075
  CardContent.displayName = "CardContent";
1054
1076
  var CardFooter = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
1055
1077
  "div",
1056
1078
  {
1057
1079
  ref,
1058
- className: cn("flex items-center pt-4", className),
1080
+ className: cn("moonui-theme", "flex items-center pt-4", className),
1059
1081
  ...props
1060
1082
  }
1061
1083
  ));
@@ -1119,7 +1141,7 @@ var Checkbox = t.forwardRef(({
1119
1141
  {
1120
1142
  ref,
1121
1143
  checked: effectiveChecked,
1122
- className: cn(checkboxVariants({ variant, size, radius, animation }), className),
1144
+ className: cn("moonui-theme", checkboxVariants({ variant, size, radius, animation }), className),
1123
1145
  ...props,
1124
1146
  children: /* @__PURE__ */ jsx(
1125
1147
  CheckboxPrimitive.Indicator,
@@ -1704,7 +1726,7 @@ var CollapsibleTrigger2 = t.forwardRef(({ className, children, variant, size, as
1704
1726
  Trigger2,
1705
1727
  {
1706
1728
  ref,
1707
- className: cn(collapsibleTriggerVariants({ variant, size }), className),
1729
+ className: cn("moonui-theme", collapsibleTriggerVariants({ variant, size }), className),
1708
1730
  asChild,
1709
1731
  ...props,
1710
1732
  children
@@ -1715,7 +1737,7 @@ var CollapsibleTrigger2 = t.forwardRef(({ className, children, variant, size, as
1715
1737
  Trigger2,
1716
1738
  {
1717
1739
  ref,
1718
- className: cn(collapsibleTriggerVariants({ variant, size }), className),
1740
+ className: cn("moonui-theme", collapsibleTriggerVariants({ variant, size }), className),
1719
1741
  ...props,
1720
1742
  children: [
1721
1743
  children,
@@ -1751,7 +1773,7 @@ var CollapsibleContent2 = t.forwardRef(({ className, children, variant, size, ..
1751
1773
  Content2,
1752
1774
  {
1753
1775
  ref,
1754
- className: cn(collapsibleContentVariants({ variant, size }), className),
1776
+ className: cn("moonui-theme", collapsibleContentVariants({ variant, size }), className),
1755
1777
  ...props,
1756
1778
  children: /* @__PURE__ */ jsx("div", { className: "p-4", children })
1757
1779
  }
@@ -1851,7 +1873,7 @@ var Input = t.forwardRef(
1851
1873
  const showMessage = alwaysShowMessage || error || success;
1852
1874
  const messageType = error ? "error" : success ? "success" : "normal";
1853
1875
  return /* @__PURE__ */ jsxs("div", { className: "space-y-1.5 w-full", children: [
1854
- /* @__PURE__ */ jsxs("div", { className: cn(inputWrapperVariants({ size }), wrapperClassName), children: [
1876
+ /* @__PURE__ */ jsxs("div", { className: cn("moonui-theme", inputWrapperVariants({ size }), wrapperClassName), children: [
1855
1877
  leftIcon && /* @__PURE__ */ jsx("div", { className: "absolute left-3 text-gray-500 flex items-center justify-center pointer-events-none", children: loading ? /* @__PURE__ */ jsx(Loader2, { className: "h-4 w-4 animate-spin" }) : leftIcon }),
1856
1878
  /* @__PURE__ */ jsx(
1857
1879
  "input",
@@ -2012,7 +2034,7 @@ var PopoverClose = PopoverPrimitive.Close;
2012
2034
  var PopoverSeparator = ({ className, ...props }) => /* @__PURE__ */ jsx(
2013
2035
  "div",
2014
2036
  {
2015
- className: cn("my-2 h-px bg-border", className),
2037
+ className: cn("moonui-theme", "my-2 h-px bg-border", className),
2016
2038
  ...props
2017
2039
  }
2018
2040
  );
@@ -2020,7 +2042,7 @@ PopoverSeparator.displayName = "PopoverSeparator";
2020
2042
  var PopoverHeader = ({ className, ...props }) => /* @__PURE__ */ jsx(
2021
2043
  "div",
2022
2044
  {
2023
- className: cn("-mx-4 -mt-4 mb-3 px-4 pt-4 pb-3 border-b border-border", className),
2045
+ className: cn("moonui-theme", "-mx-4 -mt-4 mb-3 px-4 pt-4 pb-3 border-b border-border", className),
2024
2046
  ...props
2025
2047
  }
2026
2048
  );
@@ -2028,7 +2050,7 @@ PopoverHeader.displayName = "PopoverHeader";
2028
2050
  var PopoverFooter = ({ className, ...props }) => /* @__PURE__ */ jsx(
2029
2051
  "div",
2030
2052
  {
2031
- className: cn("-mx-4 -mb-4 mt-3 px-4 pt-3 pb-4 border-t border-border", className),
2053
+ className: cn("moonui-theme", "-mx-4 -mb-4 mt-3 px-4 pt-3 pb-4 border-t border-border", className),
2032
2054
  ...props
2033
2055
  }
2034
2056
  );
@@ -2037,6 +2059,7 @@ var Tabs = t.forwardRef(({ vertical = false, ...props }, ref) => /* @__PURE__ */
2037
2059
  TabsPrimitive.Root,
2038
2060
  {
2039
2061
  ref,
2062
+ className: cn("moonui-theme", props.className),
2040
2063
  orientation: vertical ? "vertical" : "horizontal",
2041
2064
  ...props
2042
2065
  }
@@ -2072,7 +2095,7 @@ var TabsList = t.forwardRef(({ className, variant, orientation, fullWidth, ...pr
2072
2095
  TabsPrimitive.List,
2073
2096
  {
2074
2097
  ref,
2075
- className: cn(tabsListVariants({ variant, orientation, fullWidth, className })),
2098
+ className: cn("moonui-theme", tabsListVariants({ variant, orientation, fullWidth, className })),
2076
2099
  ...props
2077
2100
  }
2078
2101
  ));
@@ -2126,6 +2149,7 @@ var TabsTrigger = t.forwardRef(({
2126
2149
  {
2127
2150
  ref,
2128
2151
  className: cn(
2152
+ "moonui-theme",
2129
2153
  tabsTriggerVariants({ variant, size, orientation, fullWidth }),
2130
2154
  fadeTabs && "data-[state=inactive]:opacity-60",
2131
2155
  className
@@ -2145,6 +2169,7 @@ var TabsContent = t.forwardRef(({ className, animated = false, ...props }, ref)
2145
2169
  {
2146
2170
  ref,
2147
2171
  className: cn(
2172
+ "moonui-theme",
2148
2173
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
2149
2174
  animated && "data-[state=active]:animate-fadeIn data-[state=inactive]:animate-fadeOut",
2150
2175
  className
@@ -2335,7 +2360,7 @@ var Slider = t.forwardRef(({
2335
2360
  /* @__PURE__ */ jsxs(
2336
2361
  "div",
2337
2362
  {
2338
- className: cn(sliderVariants({ size }), className),
2363
+ className: cn("moonui-theme", sliderVariants({ size }), className),
2339
2364
  "data-disabled": disabled ? true : void 0,
2340
2365
  children: [
2341
2366
  /* @__PURE__ */ jsx(
@@ -2915,7 +2940,7 @@ function SimpleColorPicker({
2915
2940
  default: "h-8 w-8",
2916
2941
  lg: "h-10 w-10"
2917
2942
  };
2918
- return /* @__PURE__ */ jsx("div", { className: cn("flex flex-wrap gap-2", className), children: colors.map((color) => /* @__PURE__ */ jsx(
2943
+ return /* @__PURE__ */ jsx("div", { className: cn("moonui-theme", "flex flex-wrap gap-2", className), children: colors.map((color) => /* @__PURE__ */ jsx(
2919
2944
  "button",
2920
2945
  {
2921
2946
  className: cn(
@@ -2940,7 +2965,7 @@ function GradientPicker({
2940
2965
  setGradient(newGradient);
2941
2966
  onChange?.(newGradient);
2942
2967
  };
2943
- return /* @__PURE__ */ jsxs("div", { className: cn("space-y-4", className), children: [
2968
+ return /* @__PURE__ */ jsxs("div", { className: cn("moonui-theme", "space-y-4", className), children: [
2944
2969
  /* @__PURE__ */ jsx(
2945
2970
  "div",
2946
2971
  {
@@ -3460,7 +3485,7 @@ var DialogOverlay = t.forwardRef(({ className, variant, animation, ...props }, r
3460
3485
  DialogPrimitive.Overlay,
3461
3486
  {
3462
3487
  ref,
3463
- className: cn(overlayVariants({ variant, animation }), className),
3488
+ className: cn("moonui-theme", overlayVariants({ variant, animation }), className),
3464
3489
  ...props
3465
3490
  }
3466
3491
  ));
@@ -3656,7 +3681,7 @@ var DialogForm = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
3656
3681
  "form",
3657
3682
  {
3658
3683
  ref,
3659
- className: cn("flex flex-col gap-4", className),
3684
+ className: cn("moonui-theme", "flex flex-col gap-4", className),
3660
3685
  ...props
3661
3686
  }
3662
3687
  ));
@@ -3686,7 +3711,7 @@ var Command = t.forwardRef(({ className, variant, size, ...props }, ref) => /* @
3686
3711
  _e,
3687
3712
  {
3688
3713
  ref,
3689
- className: cn(commandVariants({ variant, size }), className),
3714
+ className: cn("moonui-theme", commandVariants({ variant, size }), className),
3690
3715
  ...props
3691
3716
  }
3692
3717
  ));
@@ -3723,7 +3748,7 @@ var CommandList = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
3723
3748
  _e.List,
3724
3749
  {
3725
3750
  ref,
3726
- className: cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className),
3751
+ className: cn("moonui-theme", "max-h-[300px] overflow-y-auto overflow-x-hidden", className),
3727
3752
  ...props
3728
3753
  }
3729
3754
  ));
@@ -3732,7 +3757,7 @@ var CommandEmpty = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
3732
3757
  _e.Empty,
3733
3758
  {
3734
3759
  ref,
3735
- className: cn("py-6 text-center text-sm text-muted-foreground", className),
3760
+ className: cn("moonui-theme", "py-6 text-center text-sm text-muted-foreground", className),
3736
3761
  ...props
3737
3762
  }
3738
3763
  ));
@@ -3753,7 +3778,7 @@ var CommandSeparator = t.forwardRef(({ className, ...props }, ref) => /* @__PURE
3753
3778
  _e.Separator,
3754
3779
  {
3755
3780
  ref,
3756
- className: cn("-mx-1 h-px bg-border", className),
3781
+ className: cn("moonui-theme", "-mx-1 h-px bg-border", className),
3757
3782
  ...props
3758
3783
  }
3759
3784
  ));
@@ -6886,7 +6911,7 @@ var Table = t.forwardRef(({
6886
6911
  ] });
6887
6912
  });
6888
6913
  Table.displayName = "Table";
6889
- var TableHeader = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
6914
+ var TableHeader = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("moonui-theme", "[&_tr]:border-b", className), ...props }));
6890
6915
  TableHeader.displayName = "TableHeader";
6891
6916
  var TableBody = t.forwardRef(({ className, emptyContent, emptyMessage = "No data available", children, ...props }, ref) => {
6892
6917
  const hasChildren = t.Children.count(children) > 0;
@@ -6894,7 +6919,7 @@ var TableBody = t.forwardRef(({ className, emptyContent, emptyMessage = "No data
6894
6919
  "tbody",
6895
6920
  {
6896
6921
  ref,
6897
- className: cn("[&_tr:last-child]:border-0", className),
6922
+ className: cn("moonui-theme", "[&_tr:last-child]:border-0", className),
6898
6923
  ...props,
6899
6924
  children: hasChildren ? children : /* @__PURE__ */ jsx("tr", { children: /* @__PURE__ */ jsx("td", { colSpan: 100, className: "h-24 text-center", children: emptyContent || /* @__PURE__ */ jsx("div", { className: "py-6 text-muted-foreground", children: /* @__PURE__ */ jsx("div", { className: "text-sm", children: emptyMessage }) }) }) })
6900
6925
  }
@@ -6905,7 +6930,7 @@ var TableFooter = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
6905
6930
  "tfoot",
6906
6931
  {
6907
6932
  ref,
6908
- className: cn("bg-primary text-primary-foreground font-medium", className),
6933
+ className: cn("moonui-theme", "bg-primary text-primary-foreground font-medium", className),
6909
6934
  ...props
6910
6935
  }
6911
6936
  ));
@@ -7007,7 +7032,7 @@ var TableCell = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ j
7007
7032
  "td",
7008
7033
  {
7009
7034
  ref,
7010
- className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className),
7035
+ className: cn("moonui-theme", "p-4 align-middle [&:has([role=checkbox])]:pr-0", className),
7011
7036
  ...props
7012
7037
  }
7013
7038
  ));
@@ -7016,7 +7041,7 @@ var TableCaption = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
7016
7041
  "caption",
7017
7042
  {
7018
7043
  ref,
7019
- className: cn("mt-4 text-sm text-muted-foreground", className),
7044
+ className: cn("moonui-theme", "mt-4 text-sm text-muted-foreground", className),
7020
7045
  ...props
7021
7046
  }
7022
7047
  ));
@@ -7134,7 +7159,7 @@ var SelectLabel = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
7134
7159
  SelectPrimitive.Label,
7135
7160
  {
7136
7161
  ref,
7137
- className: cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className),
7162
+ className: cn("moonui-theme", "py-1.5 pl-8 pr-2 text-sm font-semibold", className),
7138
7163
  ...props
7139
7164
  }
7140
7165
  ));
@@ -7170,7 +7195,7 @@ var SelectSeparator = t.forwardRef(({ className, ...props }, ref) => /* @__PURE_
7170
7195
  SelectPrimitive.Separator,
7171
7196
  {
7172
7197
  ref,
7173
- className: cn("-mx-1 my-1 h-px bg-muted dark:bg-gray-700", className),
7198
+ className: cn("moonui-theme", "-mx-1 my-1 h-px bg-muted dark:bg-gray-700", className),
7174
7199
  ...props
7175
7200
  }
7176
7201
  ));
@@ -7286,7 +7311,7 @@ var DropdownMenuSeparator = t.forwardRef(({ className, ...props }, ref) => /* @_
7286
7311
  DropdownMenuPrimitive.Separator,
7287
7312
  {
7288
7313
  ref,
7289
- className: cn("-mx-1 my-1 h-px bg-muted", className),
7314
+ className: cn("moonui-theme", "-mx-1 my-1 h-px bg-muted", className),
7290
7315
  ...props
7291
7316
  }
7292
7317
  ));
@@ -7298,7 +7323,7 @@ var DropdownMenuShortcut = ({
7298
7323
  return /* @__PURE__ */ jsx(
7299
7324
  "span",
7300
7325
  {
7301
- className: cn("ml-auto text-xs tracking-widest opacity-60", className),
7326
+ className: cn("moonui-theme", "ml-auto text-xs tracking-widest opacity-60", className),
7302
7327
  ...props
7303
7328
  }
7304
7329
  );
@@ -7354,6 +7379,15 @@ var Skeleton = t.forwardRef(
7354
7379
  style,
7355
7380
  ...props
7356
7381
  }, ref) => {
7382
+ const {
7383
+ onDrag,
7384
+ onDragEnd,
7385
+ onDragStart,
7386
+ onAnimationStart,
7387
+ onAnimationEnd,
7388
+ onAnimationIteration,
7389
+ ...filteredProps
7390
+ } = props;
7357
7391
  if (isLoaded && children) {
7358
7392
  if (useMotion) {
7359
7393
  return /* @__PURE__ */ jsx(
@@ -7363,13 +7397,13 @@ var Skeleton = t.forwardRef(
7363
7397
  initial: { opacity: 0 },
7364
7398
  animate: { opacity: 1 },
7365
7399
  transition: { duration: fadeInDuration / 1e3 },
7366
- className,
7400
+ className: cn("moonui-theme", className),
7367
7401
  style: {
7368
7402
  height,
7369
7403
  width,
7370
7404
  ...style
7371
7405
  },
7372
- ...props,
7406
+ ...filteredProps,
7373
7407
  children
7374
7408
  }
7375
7409
  );
@@ -7378,7 +7412,7 @@ var Skeleton = t.forwardRef(
7378
7412
  "div",
7379
7413
  {
7380
7414
  ref,
7381
- className: cn("animate-fade-in", className),
7415
+ className: cn("moonui-theme", "animate-fade-in", className),
7382
7416
  style: {
7383
7417
  animationDuration: `${fadeInDuration}ms`,
7384
7418
  height,
@@ -7396,6 +7430,7 @@ var Skeleton = t.forwardRef(
7396
7430
  {
7397
7431
  ref,
7398
7432
  className: cn(
7433
+ "moonui-theme",
7399
7434
  skeletonVariants({ variant, size, shape, animation }),
7400
7435
  "relative isolate",
7401
7436
  className
@@ -7406,7 +7441,7 @@ var Skeleton = t.forwardRef(
7406
7441
  ...style
7407
7442
  },
7408
7443
  ...useMotion ? skeletonAnimation : {},
7409
- ...props
7444
+ ...filteredProps
7410
7445
  }
7411
7446
  );
7412
7447
  }
@@ -7428,7 +7463,7 @@ var SkeletonText = t.forwardRef(
7428
7463
  "div",
7429
7464
  {
7430
7465
  ref,
7431
- className: cn("flex flex-col", className),
7466
+ className: cn("moonui-theme", "flex flex-col", className),
7432
7467
  style: { gap: spacing },
7433
7468
  ...props,
7434
7469
  children: Array.from({ length: lines }).map((_, i) => {
@@ -7468,7 +7503,7 @@ var SkeletonAvatar = t.forwardRef(
7468
7503
  variant,
7469
7504
  animation,
7470
7505
  shape: "circle",
7471
- className: cn("shrink-0", className),
7506
+ className: cn("moonui-theme", "shrink-0", className),
7472
7507
  style: {
7473
7508
  height: size,
7474
7509
  width: size
@@ -7660,7 +7695,7 @@ function DataTable({
7660
7695
  return /* @__PURE__ */ jsx(DataTableLoading, {});
7661
7696
  }
7662
7697
  const selectedRows = table.getFilteredSelectedRowModel().rows;
7663
- return /* @__PURE__ */ jsxs("div", { className: cn("space-y-4", className), children: [
7698
+ return /* @__PURE__ */ jsxs("div", { className: cn("moonui-theme", "space-y-4", className), children: [
7664
7699
  (title || description) && /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
7665
7700
  title && /* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold", children: title }),
7666
7701
  description && /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: description })
@@ -8025,7 +8060,7 @@ function Calendar({
8025
8060
  return [...previousMonthDays, ...emptyCells, ...days2, ...nextMonthDays];
8026
8061
  };
8027
8062
  const days = getDaysInMonth();
8028
- return /* @__PURE__ */ jsxs("div", { className: cn("p-0", className), children: [
8063
+ return /* @__PURE__ */ jsxs("div", { className: cn("moonui-theme", "p-0", className), children: [
8029
8064
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", children: [
8030
8065
  /* @__PURE__ */ jsx(
8031
8066
  "button",
@@ -8111,8 +8146,7 @@ var datePickerVariants = cva(
8111
8146
  variant: {
8112
8147
  default: "",
8113
8148
  outline: "border-2",
8114
- ghost: "hover:bg-accent hover:text-accent-foreground",
8115
- minimal: "h-auto p-0 border-0 shadow-none"
8149
+ ghost: "hover:bg-accent hover:text-accent-foreground"
8116
8150
  },
8117
8151
  size: {
8118
8152
  default: "h-10 px-4 py-2",
@@ -8190,11 +8224,11 @@ function DatePicker({
8190
8224
  };
8191
8225
  const displayValue = internalDate && isValid(internalDate) ? format(internalDate, formatString) : null;
8192
8226
  const iconElement = icon || /* @__PURE__ */ jsx(Calendar$1, { className: "h-4 w-4" });
8193
- return /* @__PURE__ */ jsxs(Popover, { open, onOpenChange: setOpen, children: [
8227
+ return /* @__PURE__ */ jsx("div", { className: "moonui-theme", children: /* @__PURE__ */ jsxs(Popover, { open, onOpenChange: setOpen, children: [
8194
8228
  /* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
8195
8229
  Button,
8196
8230
  {
8197
- variant: variant === "minimal" ? "ghost" : variant || "outline",
8231
+ variant: variant === "ghost" ? "ghost" : "outline",
8198
8232
  className: cn(
8199
8233
  datePickerVariants({ variant, size, state }),
8200
8234
  !displayValue && "text-muted-foreground",
@@ -8273,7 +8307,7 @@ function DatePicker({
8273
8307
  children: /* @__PURE__ */ jsxs(
8274
8308
  motion.div,
8275
8309
  {
8276
- ...microInteractionVariants.fadeIn,
8310
+ ...pageTransitions.fadeIn,
8277
8311
  className: "rounded-2xl bg-background overflow-hidden",
8278
8312
  children: [
8279
8313
  /* @__PURE__ */ jsx(
@@ -8303,7 +8337,7 @@ function DatePicker({
8303
8337
  )
8304
8338
  }
8305
8339
  )
8306
- ] });
8340
+ ] }) });
8307
8341
  }
8308
8342
  function DateRangePicker({
8309
8343
  className,
@@ -8341,7 +8375,7 @@ function DateRangePicker({
8341
8375
  /* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
8342
8376
  Button,
8343
8377
  {
8344
- variant: props.variant === "minimal" ? "ghost" : props.variant || "outline",
8378
+ variant: props.variant === "ghost" ? "ghost" : "outline",
8345
8379
  className: cn(
8346
8380
  datePickerVariants({
8347
8381
  variant: props.variant,
@@ -8499,7 +8533,7 @@ function MonthPicker({
8499
8533
  /* @__PURE__ */ jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxs(
8500
8534
  Button,
8501
8535
  {
8502
- variant: props.variant || "outline",
8536
+ variant: props.variant === "default" ? "outline" : props.variant || "outline",
8503
8537
  className: cn(
8504
8538
  datePickerVariants({
8505
8539
  variant: props.variant,
@@ -8541,7 +8575,7 @@ function MonthPicker({
8541
8575
  /* @__PURE__ */ jsx("div", { className: "grid grid-cols-3 gap-2", children: months.map((month, index) => /* @__PURE__ */ jsx(
8542
8576
  Button,
8543
8577
  {
8544
- variant: value && value.getMonth() === index ? "default" : "outline",
8578
+ variant: value && value.getMonth() === index ? "primary" : "outline",
8545
8579
  size: "sm",
8546
8580
  onClick: () => handleMonthSelect(index),
8547
8581
  className: "h-8 text-xs",
@@ -8587,7 +8621,7 @@ function DraggableList({
8587
8621
  const handleDragEnd = () => {
8588
8622
  setDraggedIndex(null);
8589
8623
  };
8590
- return /* @__PURE__ */ jsx("div", { className: cn("space-y-2", className), children: items.map((item, index) => /* @__PURE__ */ jsx(
8624
+ return /* @__PURE__ */ jsx("div", { className: cn("moonui-theme", "space-y-2", className), children: items.map((item, index) => /* @__PURE__ */ jsx(
8591
8625
  "div",
8592
8626
  {
8593
8627
  draggable: !disabled,
@@ -8706,7 +8740,7 @@ var Progress = t.forwardRef(({
8706
8740
  "div",
8707
8741
  {
8708
8742
  ref,
8709
- className: cn(progressVariants({ variant, size, radius, animation }), className),
8743
+ className: cn("moonui-theme", progressVariants({ variant, size, radius, animation }), className),
8710
8744
  role: "progressbar",
8711
8745
  "aria-valuemin": 0,
8712
8746
  "aria-valuemax": max2,
@@ -8787,7 +8821,7 @@ var FileItem = ({
8787
8821
  /* @__PURE__ */ jsx(Loader2, { className: "h-3 w-3 mr-1 animate-spin" }),
8788
8822
  "Uploading"
8789
8823
  ] }),
8790
- status === "success" && /* @__PURE__ */ jsxs(Badge, { variant: "default", className: "h-5 bg-green-500", children: [
8824
+ status === "success" && /* @__PURE__ */ jsxs(Badge, { variant: "success", className: "h-5", children: [
8791
8825
  /* @__PURE__ */ jsx(CheckCircle, { className: "h-3 w-3 mr-1" }),
8792
8826
  "Done"
8793
8827
  ] }),
@@ -8936,7 +8970,7 @@ var FileUpload = t__default.forwardRef(
8936
8970
  onRemove(fileId);
8937
8971
  }
8938
8972
  }, [onRemove]);
8939
- return /* @__PURE__ */ jsxs("div", { ref, className: cn("space-y-4", className), ...props, children: [
8973
+ return /* @__PURE__ */ jsxs("div", { ref, className: cn("moonui-theme", "space-y-4", className), ...props, children: [
8940
8974
  /* @__PURE__ */ jsxs(
8941
8975
  motion.div,
8942
8976
  {
@@ -9275,7 +9309,7 @@ function GitHubStarButton({
9275
9309
  {
9276
9310
  variant: "outline",
9277
9311
  size,
9278
- className: cn("group", className),
9312
+ className: cn("moonui-theme", "group", className),
9279
9313
  asChild: true,
9280
9314
  children: /* @__PURE__ */ jsxs(
9281
9315
  "a",
@@ -9303,7 +9337,7 @@ function MoonLogo({
9303
9337
  }) {
9304
9338
  const logoId = t.useId();
9305
9339
  const gradientId = `moon-gradient-${logoId}`;
9306
- return /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-2", className), children: [
9340
+ return /* @__PURE__ */ jsxs("div", { className: cn("moonui-theme", "flex items-center gap-2", className), children: [
9307
9341
  /* @__PURE__ */ jsxs(
9308
9342
  "svg",
9309
9343
  {
@@ -9380,7 +9414,7 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsx(
9380
9414
  {
9381
9415
  role: "navigation",
9382
9416
  "aria-label": "pagination",
9383
- className: cn("mx-auto flex w-full justify-center", className),
9417
+ className: cn("moonui-theme", "mx-auto flex w-full justify-center", className),
9384
9418
  ...props
9385
9419
  }
9386
9420
  );
@@ -9389,12 +9423,12 @@ var PaginationContent = t.forwardRef(({ className, ...props }, ref) => /* @__PUR
9389
9423
  "ul",
9390
9424
  {
9391
9425
  ref,
9392
- className: cn("flex flex-row items-center gap-1", className),
9426
+ className: cn("moonui-theme", "flex flex-row items-center gap-1", className),
9393
9427
  ...props
9394
9428
  }
9395
9429
  ));
9396
9430
  PaginationContent.displayName = "PaginationContent";
9397
- var PaginationItem = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cn("", className), ...props }));
9431
+ var PaginationItem = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cn("moonui-theme", "", className), ...props }));
9398
9432
  PaginationItem.displayName = "PaginationItem";
9399
9433
  var PaginationLink = ({
9400
9434
  className,
@@ -9423,8 +9457,8 @@ var PaginationPrevious = ({
9423
9457
  PaginationLink,
9424
9458
  {
9425
9459
  "aria-label": "Go to previous page",
9426
- size: "default",
9427
- className: cn("gap-1 pl-2.5", className),
9460
+ size: "md",
9461
+ className: cn("moonui-theme", "gap-1 pl-2.5", className),
9428
9462
  ...props,
9429
9463
  children: [
9430
9464
  /* @__PURE__ */ jsx(ChevronLeft, { className: "h-4 w-4" }),
@@ -9440,8 +9474,8 @@ var PaginationNext = ({
9440
9474
  PaginationLink,
9441
9475
  {
9442
9476
  "aria-label": "Go to next page",
9443
- size: "default",
9444
- className: cn("gap-1 pr-2.5", className),
9477
+ size: "md",
9478
+ className: cn("moonui-theme", "gap-1 pr-2.5", className),
9445
9479
  ...props,
9446
9480
  children: [
9447
9481
  /* @__PURE__ */ jsx("span", { children: "Next" }),
@@ -9457,7 +9491,7 @@ var PaginationEllipsis = ({
9457
9491
  "span",
9458
9492
  {
9459
9493
  "aria-hidden": true,
9460
- className: cn("flex h-9 w-9 items-center justify-center", className),
9494
+ className: cn("moonui-theme", "flex h-9 w-9 items-center justify-center", className),
9461
9495
  ...props,
9462
9496
  children: [
9463
9497
  /* @__PURE__ */ jsx(MoreHorizontal, { className: "h-4 w-4" }),
@@ -9496,7 +9530,7 @@ var RadioGroup2 = t.forwardRef(
9496
9530
  {
9497
9531
  ref,
9498
9532
  role: "radiogroup",
9499
- className: cn("grid gap-2", className),
9533
+ className: cn("moonui-theme", "grid gap-2", className),
9500
9534
  ...props
9501
9535
  }
9502
9536
  ) });
@@ -9901,7 +9935,7 @@ var Toggle2 = t.forwardRef(({ className, variant, size, ...props }, ref) => /* @
9901
9935
  Root13,
9902
9936
  {
9903
9937
  ref,
9904
- className: cn(toggleVariants({ variant, size, className })),
9938
+ className: cn("moonui-theme", toggleVariants({ variant, size, className })),
9905
9939
  ...props
9906
9940
  }
9907
9941
  ));
@@ -9937,7 +9971,7 @@ var TooltipArrow = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ *
9937
9971
  TooltipPrimitive.Arrow,
9938
9972
  {
9939
9973
  ref,
9940
- className: cn("fill-current", className),
9974
+ className: cn("moonui-theme", "fill-current", className),
9941
9975
  ...props
9942
9976
  }
9943
9977
  ));
@@ -9947,7 +9981,7 @@ var TooltipContent = t.forwardRef(({ className, variant, size, showArrow = false
9947
9981
  {
9948
9982
  ref,
9949
9983
  sideOffset,
9950
- className: cn(tooltipVariants({ variant, size }), className),
9984
+ className: cn("moonui-theme", tooltipVariants({ variant, size }), className),
9951
9985
  ...props,
9952
9986
  children: [
9953
9987
  props.children,
@@ -9965,7 +9999,6 @@ var SimpleTooltip = t.forwardRef(
9965
9999
  side = "top",
9966
10000
  align = "center",
9967
10001
  delayDuration = 400,
9968
- skipDelayDuration = 300,
9969
10002
  sideOffset = 4,
9970
10003
  showArrow = false,
9971
10004
  className,
@@ -9981,7 +10014,6 @@ var SimpleTooltip = t.forwardRef(
9981
10014
  defaultOpen,
9982
10015
  onOpenChange,
9983
10016
  delayDuration,
9984
- skipDelayDuration,
9985
10017
  children: [
9986
10018
  /* @__PURE__ */ jsx(TooltipTrigger, { asChild: true, children }),
9987
10019
  /* @__PURE__ */ jsx(
@@ -10619,7 +10651,7 @@ var SwipeableCard = t.forwardRef(
10619
10651
  }
10620
10652
  );
10621
10653
  SwipeableCard.displayName = "SwipeableCard";
10622
- var Switch = t.forwardRef(({ className, size = "md", variant = "primary", loading, leftIcon, rightIcon, description, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "inline-flex items-center gap-2", children: [
10654
+ var Switch = t.forwardRef(({ className, size = "md", variant = "primary", loading, leftIcon, rightIcon, description, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "moonui-theme inline-flex items-center gap-2", children: [
10623
10655
  leftIcon && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: leftIcon }),
10624
10656
  /* @__PURE__ */ jsxs(
10625
10657
  SwitchPrimitives.Root,
@@ -10684,6 +10716,7 @@ var Textarea = t.forwardRef(
10684
10716
  "textarea",
10685
10717
  {
10686
10718
  className: cn(
10719
+ "moonui-theme",
10687
10720
  "flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
10688
10721
  className
10689
10722
  ),
@@ -10729,7 +10762,7 @@ var Toast = t.forwardRef(({ className, variant, ...props }, ref) => {
10729
10762
  ToastPrimitives.Root,
10730
10763
  {
10731
10764
  ref,
10732
- className: cn(toastVariants({ variant }), className),
10765
+ className: cn("moonui-theme", toastVariants({ variant }), className),
10733
10766
  ...props
10734
10767
  }
10735
10768
  );
@@ -10765,7 +10798,7 @@ var ToastTitle = t.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
10765
10798
  ToastPrimitives.Title,
10766
10799
  {
10767
10800
  ref,
10768
- className: cn("text-sm font-semibold [&+div]:text-xs", className),
10801
+ className: cn("moonui-theme", "text-sm font-semibold [&+div]:text-xs", className),
10769
10802
  ...props
10770
10803
  }
10771
10804
  ));
@@ -10774,7 +10807,7 @@ var ToastDescription = t.forwardRef(({ className, ...props }, ref) => /* @__PURE
10774
10807
  ToastPrimitives.Description,
10775
10808
  {
10776
10809
  ref,
10777
- className: cn("text-sm opacity-90", className),
10810
+ className: cn("moonui-theme", "text-sm opacity-90", className),
10778
10811
  ...props
10779
10812
  }
10780
10813
  ));