@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.js CHANGED
@@ -67,7 +67,7 @@ var AccordionItem = t__namespace.forwardRef(({ className, ...props }, ref) => /*
67
67
  AccordionPrimitive__namespace.Item,
68
68
  {
69
69
  ref,
70
- className: cn("border-b border-gray-200 dark:border-gray-800", className),
70
+ className: cn("moonui-theme", "border-b border-gray-200 dark:border-gray-800", className),
71
71
  ...props
72
72
  }
73
73
  ));
@@ -161,7 +161,7 @@ var Alert = t__namespace.forwardRef(
161
161
  {
162
162
  ref,
163
163
  role: "alert",
164
- className: cn(alertVariants({ variant, size, radius, withClose: closable }), className),
164
+ className: cn("moonui-theme", alertVariants({ variant, size, radius, withClose: closable }), className),
165
165
  ...props,
166
166
  children: [
167
167
  !hideIcon && /* @__PURE__ */ jsxRuntime.jsx(Icon2, { className: "h-5 w-5" }),
@@ -185,7 +185,7 @@ var AlertTitle = t__namespace.forwardRef(({ className, ...props }, ref) => /* @_
185
185
  "h5",
186
186
  {
187
187
  ref,
188
- className: cn("font-semibold leading-tight tracking-tight mb-1", className),
188
+ className: cn("moonui-theme", "font-semibold leading-tight tracking-tight mb-1", className),
189
189
  ...props
190
190
  }
191
191
  ));
@@ -194,7 +194,7 @@ var AlertDescription = t__namespace.forwardRef(({ className, ...props }, ref) =>
194
194
  "div",
195
195
  {
196
196
  ref,
197
- className: cn("text-sm leading-5 text-muted-foreground", className),
197
+ className: cn("moonui-theme", "text-sm leading-5 text-muted-foreground", className),
198
198
  ...props
199
199
  }
200
200
  ));
@@ -226,7 +226,7 @@ var AspectRatio = t__namespace.forwardRef(({ className, variant, radius, ratio =
226
226
  "div",
227
227
  {
228
228
  ref,
229
- className: cn(aspectRatioVariants({ variant, radius }), className),
229
+ className: cn("moonui-theme", aspectRatioVariants({ variant, radius }), className),
230
230
  style: {
231
231
  position: "relative",
232
232
  paddingBottom: `${1 / ratio * 100}%`,
@@ -259,9 +259,9 @@ var avatarVariants = classVarianceAuthority.cva(
259
259
  },
260
260
  variant: {
261
261
  default: "",
262
- ring: "ring-2 ring-gray-300 dark:ring-gray-600",
263
- ringOffset: "ring-2 ring-gray-300 dark:ring-gray-600 ring-offset-2 ring-offset-background dark:ring-offset-gray-950",
264
- border: "border-2 border-gray-200 dark:border-gray-800"
262
+ ring: "ring-2 ring-border",
263
+ ringOffset: "ring-2 ring-border ring-offset-2 ring-offset-background",
264
+ border: "border-2 border-border"
265
265
  }
266
266
  },
267
267
  defaultVariants: {
@@ -275,7 +275,7 @@ var Avatar = t__namespace.forwardRef(({ className, size, radius, variant, ...pro
275
275
  AvatarPrimitive__namespace.Root,
276
276
  {
277
277
  ref,
278
- className: cn(avatarVariants({ size, radius, variant }), className),
278
+ className: cn("moonui-theme", avatarVariants({ size, radius, variant }), className),
279
279
  ...props
280
280
  }
281
281
  ));
@@ -284,7 +284,7 @@ var AvatarImage = t__namespace.forwardRef(({ className, ...props }, ref) => /* @
284
284
  AvatarPrimitive__namespace.Image,
285
285
  {
286
286
  ref,
287
- className: cn("aspect-square h-full w-full", className),
287
+ className: cn("moonui-theme", "aspect-square h-full w-full", className),
288
288
  ...props
289
289
  }
290
290
  ));
@@ -309,7 +309,7 @@ var AvatarGroup = t__namespace.forwardRef(
309
309
  "div",
310
310
  {
311
311
  ref,
312
- className: cn("flex items-center", className),
312
+ className: cn("moonui-theme", "flex items-center", className),
313
313
  ...props,
314
314
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex", children: [
315
315
  visibleAvatars.map((avatar, index) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -458,7 +458,7 @@ function Badge({
458
458
  return /* @__PURE__ */ jsxRuntime.jsxs(
459
459
  "div",
460
460
  {
461
- className: cn(badgeVariants({ variant, size, radius }), className),
461
+ className: cn("moonui-theme", badgeVariants({ variant, size, radius }), className),
462
462
  "data-removable": removable ? "" : void 0,
463
463
  ...props,
464
464
  children: [
@@ -509,9 +509,9 @@ var breadcrumbVariants = classVarianceAuthority.cva(
509
509
  {
510
510
  variants: {
511
511
  variant: {
512
- default: "dark:text-gray-100 transition-colors",
513
- muted: "text-muted-foreground dark:text-gray-400 transition-colors",
514
- ghost: "text-foreground/60 dark:text-gray-300/60 transition-colors"
512
+ default: "text-foreground transition-colors",
513
+ muted: "text-muted-foreground transition-colors",
514
+ ghost: "text-foreground/60 transition-colors"
515
515
  },
516
516
  size: {
517
517
  default: "text-sm",
@@ -530,7 +530,7 @@ var Breadcrumb = t__namespace.forwardRef(
530
530
  "nav",
531
531
  {
532
532
  ref,
533
- className: cn(breadcrumbVariants({ variant, size }), className),
533
+ className: cn("moonui-theme", breadcrumbVariants({ variant, size }), className),
534
534
  "aria-label": "breadcrumb",
535
535
  ...props
536
536
  }
@@ -583,7 +583,7 @@ var BreadcrumbItem = t__namespace.forwardRef(
583
583
  "li",
584
584
  {
585
585
  ref,
586
- className: cn("inline-flex items-center gap-1.5", className),
586
+ className: cn("moonui-theme", "inline-flex items-center gap-1.5", className),
587
587
  "aria-current": isCurrent ? "page" : void 0,
588
588
  ...props,
589
589
  children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -591,7 +591,7 @@ var BreadcrumbItem = t__namespace.forwardRef(
591
591
  {
592
592
  className: cn(
593
593
  "transition-colors duration-200 hover:text-foreground",
594
- 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"
594
+ isCurrent ? "font-medium text-foreground" : "text-muted-foreground hover:text-foreground hover:underline hover:underline-offset-4 hover:decoration-muted-foreground/30"
595
595
  ),
596
596
  ...itemProps,
597
597
  children: props.children
@@ -611,7 +611,7 @@ var BreadcrumbSeparator = ({
611
611
  {
612
612
  role: "presentation",
613
613
  "aria-hidden": "true",
614
- className: cn("text-muted-foreground dark:text-gray-500 opacity-70", className),
614
+ className: cn("moonui-theme", "text-muted-foreground opacity-70", className),
615
615
  ...props,
616
616
  children: children || /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronRight, { className: "h-3.5 w-3.5" })
617
617
  }
@@ -625,7 +625,7 @@ var BreadcrumbEllipsis = ({
625
625
  {
626
626
  role: "presentation",
627
627
  "aria-hidden": "true",
628
- className: cn("flex items-center text-muted-foreground dark:text-gray-500 dark:hover:text-gray-400 transition-colors duration-200", className),
628
+ className: cn("moonui-theme", "flex items-center text-muted-foreground hover:text-foreground/80 transition-colors duration-200", className),
629
629
  ...props,
630
630
  children: [
631
631
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontal, { className: "h-4 w-4" }),
@@ -641,7 +641,7 @@ var BreadcrumbLink = t__namespace.forwardRef(
641
641
  ref,
642
642
  href,
643
643
  className: cn(
644
- "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",
644
+ "transition-colors duration-200 hover:text-foreground text-muted-foreground hover:underline hover:underline-offset-4 hover:decoration-muted-foreground/30",
645
645
  className
646
646
  ),
647
647
  ...props
@@ -668,75 +668,71 @@ var buttonVariants = classVarianceAuthority.cva(
668
668
  "inline-flex items-center justify-center gap-2 whitespace-nowrap",
669
669
  "font-medium relative",
670
670
  "transition-all duration-200 ease-out",
671
- "premium-hover",
672
- /* Standart premium hover efekti */
671
+ "transform active:scale-[0.98]",
673
672
  "focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
674
- "disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none"
673
+ "disabled:opacity-50 disabled:cursor-not-allowed disabled:pointer-events-none disabled:transform-none"
675
674
  ],
676
675
  {
677
676
  variants: {
678
677
  variant: {
679
678
  primary: [
680
679
  "bg-primary text-primary-foreground",
681
- "hover:bg-primary-hover dark:hover:bg-primary/90",
682
- "active:bg-primary-active dark:active:bg-primary/80",
683
- "shadow-sm dark:shadow-primary/20 dark:shadow-md",
684
- "focus-visible:ring-primary/50 dark:focus-visible:ring-primary/30",
685
- "dark:bg-primary dark:text-white",
680
+ "dark:bg-primary dark:text-primary-foreground",
681
+ "hover:bg-primary/90 dark:hover:bg-primary/90",
682
+ "active:bg-primary/80 dark:active:bg-primary/80",
683
+ "shadow-sm hover:shadow-md",
684
+ "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
686
685
  "transition-all duration-200"
687
686
  ],
688
687
  secondary: [
689
- "bg-secondary text-secondary-foreground",
690
- "hover:bg-gray-200 dark:hover:bg-gray-700/90",
691
- "active:bg-gray-300 dark:active:bg-gray-600/90",
692
- "border border-transparent dark:border-gray-700",
693
- "focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40",
694
- "dark:bg-gray-800 dark:text-gray-100",
695
- "dark:shadow-sm dark:shadow-gray-900/20"
688
+ "bg-muted text-muted-foreground",
689
+ "dark:bg-muted dark:text-muted-foreground",
690
+ "hover:bg-muted/80 dark:hover:bg-muted/80",
691
+ "active:bg-muted/70 dark:active:bg-muted/70",
692
+ "border border-input dark:border-input",
693
+ "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
694
+ "shadow-sm hover:shadow-md"
696
695
  ],
697
696
  outline: [
698
697
  "bg-background text-foreground",
699
- "border border-gray-300 dark:border-gray-700",
700
- "hover:border-gray-400 dark:hover:border-gray-500",
701
- "hover:bg-gray-50 dark:hover:bg-gray-800/80",
702
- "active:bg-gray-100 dark:active:bg-gray-800/90",
703
- "focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40",
704
- "dark:text-gray-200 dark:bg-gray-900/50",
705
- "dark:shadow-sm dark:shadow-gray-950/10"
698
+ "dark:bg-background dark:text-foreground",
699
+ "border border-input dark:border-input",
700
+ "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent dark:hover:text-accent-foreground",
701
+ "active:bg-accent/80 dark:active:bg-accent/80",
702
+ "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
703
+ "transition-all duration-200"
706
704
  ],
707
705
  ghost: [
708
706
  "text-foreground",
709
- "hover:bg-gray-100 dark:hover:bg-gray-800/90",
710
- "active:bg-gray-200 dark:active:bg-gray-700/90",
711
- "focus-visible:ring-gray-400/30 dark:focus-visible:ring-gray-500/40",
712
- "dark:text-gray-200",
713
- "transition-colors duration-200"
707
+ "dark:text-foreground",
708
+ "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent dark:hover:text-accent-foreground",
709
+ "active:bg-accent/80 dark:active:bg-accent/80",
710
+ "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
711
+ "transition-all duration-200"
714
712
  ],
715
713
  destructive: [
716
- "bg-error text-white",
717
- "hover:bg-error/90 dark:hover:bg-error/80",
718
- "active:bg-error/80 dark:active:bg-error/70",
719
- "shadow-sm dark:shadow-error/10 dark:shadow-md",
720
- "focus-visible:ring-error/50 dark:focus-visible:ring-error/30",
721
- "dark:text-white dark:border-error/20",
722
- "transition-colors duration-200"
714
+ "bg-destructive text-destructive-foreground",
715
+ "dark:bg-destructive dark:text-destructive-foreground",
716
+ "hover:bg-destructive/90 dark:hover:bg-destructive/90",
717
+ "active:bg-destructive/80 dark:active:bg-destructive/80",
718
+ "shadow-sm hover:shadow-md",
719
+ "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
720
+ "transition-all duration-200"
723
721
  ],
724
722
  success: [
725
- "bg-success text-white",
726
- "hover:bg-success/90 dark:hover:bg-success/80",
727
- "active:bg-success/80 dark:active:bg-success/70",
728
- "shadow-sm dark:shadow-success/10 dark:shadow-md",
729
- "focus-visible:ring-success/50 dark:focus-visible:ring-success/30",
730
- "dark:text-white dark:border-success/20",
731
- "transition-colors duration-200"
723
+ "bg-success text-success-foreground",
724
+ "dark:bg-success dark:text-success-foreground",
725
+ "hover:bg-success/90 dark:hover:bg-success/90",
726
+ "active:bg-success/80 dark:active:bg-success/80",
727
+ "shadow-sm hover:shadow-md",
728
+ "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
729
+ "transition-all duration-200"
732
730
  ],
733
731
  link: [
734
732
  "text-primary bg-transparent",
735
733
  "underline-offset-4 hover:underline",
736
- "hover:text-primary-hover active:text-primary-active",
734
+ "hover:text-primary/80 active:text-primary/70",
737
735
  "p-0 h-auto",
738
- "dark:text-blue-400 dark:hover:text-blue-300",
739
- "dark:active:text-blue-500",
740
736
  "transition-colors duration-200"
741
737
  ],
742
738
  gradient: [
@@ -786,14 +782,14 @@ var buttonVariants = classVarianceAuthority.cva(
786
782
  ]
787
783
  },
788
784
  size: {
789
- xs: "h-7 px-2.5 text-xs rounded",
790
- sm: "h-8 px-3 text-sm rounded",
791
- md: "h-10 px-4 text-base rounded-md",
785
+ xs: "h-7 px-2.5 text-xs rounded-md",
786
+ sm: "h-8 px-3 text-sm rounded-md",
787
+ md: "h-10 px-4 text-base rounded-lg",
792
788
  lg: "h-12 px-6 text-lg rounded-lg",
793
- xl: "h-14 px-8 text-xl rounded-lg",
794
- icon: "h-10 w-10 p-2 rounded-md",
795
- "icon-sm": "h-8 w-8 p-1.5 rounded",
796
- "icon-lg": "h-12 w-12 p-3 rounded-lg"
789
+ xl: "h-14 px-8 text-xl rounded-xl",
790
+ icon: "h-10 w-10 p-2 rounded-lg",
791
+ "icon-sm": "h-8 w-8 p-1.5 rounded-md",
792
+ "icon-lg": "h-12 w-12 p-3 rounded-xl"
797
793
  },
798
794
  rounded: {
799
795
  default: "",
@@ -831,7 +827,7 @@ var Button = t__namespace.forwardRef(
831
827
  return /* @__PURE__ */ jsxRuntime.jsxs(
832
828
  Comp,
833
829
  {
834
- className: cn(buttonVariants({ variant, size, rounded, fullWidth, className })),
830
+ className: cn("moonui-theme", buttonVariants({ variant, size, rounded, fullWidth, className })),
835
831
  ref,
836
832
  disabled: disabled || loading,
837
833
  "data-loading": loading ? "" : void 0,
@@ -847,7 +843,7 @@ var Button = t__namespace.forwardRef(
847
843
  }
848
844
  );
849
845
  Button.displayName = "Button";
850
- var microInteractionVariants = classVarianceAuthority.cva("", {
846
+ classVarianceAuthority.cva("", {
851
847
  variants: {
852
848
  hover: {
853
849
  lift: [
@@ -978,6 +974,32 @@ var tapAnimations = {
978
974
  transition: { duration: 0.1 }
979
975
  }
980
976
  };
977
+ var pageTransitions = {
978
+ fadeIn: {
979
+ initial: { opacity: 0 },
980
+ animate: { opacity: 1 },
981
+ exit: { opacity: 0 },
982
+ transition: { duration: 0.3 }
983
+ },
984
+ slideUp: {
985
+ initial: { opacity: 0, y: 20 },
986
+ animate: { opacity: 1, y: 0 },
987
+ exit: { opacity: 0, y: -20 },
988
+ transition: springAnimations.smooth
989
+ },
990
+ slideRight: {
991
+ initial: { opacity: 0, x: -20 },
992
+ animate: { opacity: 1, x: 0 },
993
+ exit: { opacity: 0, x: 20 },
994
+ transition: springAnimations.smooth
995
+ },
996
+ scale: {
997
+ initial: { opacity: 0, scale: 0.95 },
998
+ animate: { opacity: 1, scale: 1 },
999
+ exit: { opacity: 0, scale: 1.05 },
1000
+ transition: springAnimations.smooth
1001
+ }
1002
+ };
981
1003
  var skeletonAnimation = {
982
1004
  initial: { opacity: 0.5 },
983
1005
  animate: {
@@ -1037,7 +1059,7 @@ var Card = t__namespace.forwardRef(
1037
1059
  framerMotion.motion.div,
1038
1060
  {
1039
1061
  ref,
1040
- className: cn(cardVariants({ variant, size, radius, interactive, className })),
1062
+ className: cn("moonui-theme", cardVariants({ variant, size, radius, interactive, className })),
1041
1063
  ...interactionProps,
1042
1064
  ...props
1043
1065
  }
@@ -1047,7 +1069,7 @@ var Card = t__namespace.forwardRef(
1047
1069
  "div",
1048
1070
  {
1049
1071
  ref,
1050
- className: cn(cardVariants({ variant, size, radius, interactive, className })),
1072
+ className: cn("moonui-theme", cardVariants({ variant, size, radius, interactive, className })),
1051
1073
  ...props
1052
1074
  }
1053
1075
  );
@@ -1058,7 +1080,7 @@ var CardHeader = t__namespace.forwardRef(({ className, ...props }, ref) => /* @_
1058
1080
  "div",
1059
1081
  {
1060
1082
  ref,
1061
- className: cn("flex flex-col space-y-1.5", className),
1083
+ className: cn("moonui-theme", "flex flex-col space-y-1.5", className),
1062
1084
  ...props
1063
1085
  }
1064
1086
  ));
@@ -1067,7 +1089,7 @@ var CardTitle = t__namespace.forwardRef(({ className, ...props }, ref) => /* @__
1067
1089
  "h3",
1068
1090
  {
1069
1091
  ref,
1070
- className: cn("text-lg font-semibold leading-none tracking-tight", className),
1092
+ className: cn("moonui-theme", "text-lg font-semibold leading-none tracking-tight", className),
1071
1093
  ...props
1072
1094
  }
1073
1095
  ));
@@ -1076,18 +1098,18 @@ var CardDescription = t__namespace.forwardRef(({ className, ...props }, ref) =>
1076
1098
  "p",
1077
1099
  {
1078
1100
  ref,
1079
- className: cn("text-sm text-muted-foreground", className),
1101
+ className: cn("moonui-theme", "text-sm text-muted-foreground", className),
1080
1102
  ...props
1081
1103
  }
1082
1104
  ));
1083
1105
  CardDescription.displayName = "CardDescription";
1084
- var CardContent = t__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("pt-0", className), ...props }));
1106
+ var CardContent = t__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("moonui-theme", "pt-0", className), ...props }));
1085
1107
  CardContent.displayName = "CardContent";
1086
1108
  var CardFooter = t__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
1087
1109
  "div",
1088
1110
  {
1089
1111
  ref,
1090
- className: cn("flex items-center pt-4", className),
1112
+ className: cn("moonui-theme", "flex items-center pt-4", className),
1091
1113
  ...props
1092
1114
  }
1093
1115
  ));
@@ -1151,7 +1173,7 @@ var Checkbox = t__namespace.forwardRef(({
1151
1173
  {
1152
1174
  ref,
1153
1175
  checked: effectiveChecked,
1154
- className: cn(checkboxVariants({ variant, size, radius, animation }), className),
1176
+ className: cn("moonui-theme", checkboxVariants({ variant, size, radius, animation }), className),
1155
1177
  ...props,
1156
1178
  children: /* @__PURE__ */ jsxRuntime.jsx(
1157
1179
  CheckboxPrimitive__namespace.Indicator,
@@ -1736,7 +1758,7 @@ var CollapsibleTrigger2 = t__namespace.forwardRef(({ className, children, varian
1736
1758
  Trigger2,
1737
1759
  {
1738
1760
  ref,
1739
- className: cn(collapsibleTriggerVariants({ variant, size }), className),
1761
+ className: cn("moonui-theme", collapsibleTriggerVariants({ variant, size }), className),
1740
1762
  asChild,
1741
1763
  ...props,
1742
1764
  children
@@ -1747,7 +1769,7 @@ var CollapsibleTrigger2 = t__namespace.forwardRef(({ className, children, varian
1747
1769
  Trigger2,
1748
1770
  {
1749
1771
  ref,
1750
- className: cn(collapsibleTriggerVariants({ variant, size }), className),
1772
+ className: cn("moonui-theme", collapsibleTriggerVariants({ variant, size }), className),
1751
1773
  ...props,
1752
1774
  children: [
1753
1775
  children,
@@ -1783,7 +1805,7 @@ var CollapsibleContent2 = t__namespace.forwardRef(({ className, children, varian
1783
1805
  Content2,
1784
1806
  {
1785
1807
  ref,
1786
- className: cn(collapsibleContentVariants({ variant, size }), className),
1808
+ className: cn("moonui-theme", collapsibleContentVariants({ variant, size }), className),
1787
1809
  ...props,
1788
1810
  children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-4", children })
1789
1811
  }
@@ -1883,7 +1905,7 @@ var Input = t__namespace.forwardRef(
1883
1905
  const showMessage = alwaysShowMessage || error || success;
1884
1906
  const messageType = error ? "error" : success ? "success" : "normal";
1885
1907
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5 w-full", children: [
1886
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(inputWrapperVariants({ size }), wrapperClassName), children: [
1908
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("moonui-theme", inputWrapperVariants({ size }), wrapperClassName), children: [
1887
1909
  leftIcon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute left-3 text-gray-500 flex items-center justify-center pointer-events-none", children: loading ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "h-4 w-4 animate-spin" }) : leftIcon }),
1888
1910
  /* @__PURE__ */ jsxRuntime.jsx(
1889
1911
  "input",
@@ -2044,7 +2066,7 @@ var PopoverClose = PopoverPrimitive__namespace.Close;
2044
2066
  var PopoverSeparator = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
2045
2067
  "div",
2046
2068
  {
2047
- className: cn("my-2 h-px bg-border", className),
2069
+ className: cn("moonui-theme", "my-2 h-px bg-border", className),
2048
2070
  ...props
2049
2071
  }
2050
2072
  );
@@ -2052,7 +2074,7 @@ PopoverSeparator.displayName = "PopoverSeparator";
2052
2074
  var PopoverHeader = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
2053
2075
  "div",
2054
2076
  {
2055
- className: cn("-mx-4 -mt-4 mb-3 px-4 pt-4 pb-3 border-b border-border", className),
2077
+ className: cn("moonui-theme", "-mx-4 -mt-4 mb-3 px-4 pt-4 pb-3 border-b border-border", className),
2056
2078
  ...props
2057
2079
  }
2058
2080
  );
@@ -2060,7 +2082,7 @@ PopoverHeader.displayName = "PopoverHeader";
2060
2082
  var PopoverFooter = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
2061
2083
  "div",
2062
2084
  {
2063
- className: cn("-mx-4 -mb-4 mt-3 px-4 pt-3 pb-4 border-t border-border", className),
2085
+ className: cn("moonui-theme", "-mx-4 -mb-4 mt-3 px-4 pt-3 pb-4 border-t border-border", className),
2064
2086
  ...props
2065
2087
  }
2066
2088
  );
@@ -2069,6 +2091,7 @@ var Tabs = t__namespace.forwardRef(({ vertical = false, ...props }, ref) => /* @
2069
2091
  TabsPrimitive__namespace.Root,
2070
2092
  {
2071
2093
  ref,
2094
+ className: cn("moonui-theme", props.className),
2072
2095
  orientation: vertical ? "vertical" : "horizontal",
2073
2096
  ...props
2074
2097
  }
@@ -2104,7 +2127,7 @@ var TabsList = t__namespace.forwardRef(({ className, variant, orientation, fullW
2104
2127
  TabsPrimitive__namespace.List,
2105
2128
  {
2106
2129
  ref,
2107
- className: cn(tabsListVariants({ variant, orientation, fullWidth, className })),
2130
+ className: cn("moonui-theme", tabsListVariants({ variant, orientation, fullWidth, className })),
2108
2131
  ...props
2109
2132
  }
2110
2133
  ));
@@ -2158,6 +2181,7 @@ var TabsTrigger = t__namespace.forwardRef(({
2158
2181
  {
2159
2182
  ref,
2160
2183
  className: cn(
2184
+ "moonui-theme",
2161
2185
  tabsTriggerVariants({ variant, size, orientation, fullWidth }),
2162
2186
  fadeTabs && "data-[state=inactive]:opacity-60",
2163
2187
  className
@@ -2177,6 +2201,7 @@ var TabsContent = t__namespace.forwardRef(({ className, animated = false, ...pro
2177
2201
  {
2178
2202
  ref,
2179
2203
  className: cn(
2204
+ "moonui-theme",
2180
2205
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
2181
2206
  animated && "data-[state=active]:animate-fadeIn data-[state=inactive]:animate-fadeOut",
2182
2207
  className
@@ -2367,7 +2392,7 @@ var Slider = t__namespace.forwardRef(({
2367
2392
  /* @__PURE__ */ jsxRuntime.jsxs(
2368
2393
  "div",
2369
2394
  {
2370
- className: cn(sliderVariants({ size }), className),
2395
+ className: cn("moonui-theme", sliderVariants({ size }), className),
2371
2396
  "data-disabled": disabled ? true : void 0,
2372
2397
  children: [
2373
2398
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -2947,7 +2972,7 @@ function SimpleColorPicker({
2947
2972
  default: "h-8 w-8",
2948
2973
  lg: "h-10 w-10"
2949
2974
  };
2950
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-wrap gap-2", className), children: colors.map((color) => /* @__PURE__ */ jsxRuntime.jsx(
2975
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("moonui-theme", "flex flex-wrap gap-2", className), children: colors.map((color) => /* @__PURE__ */ jsxRuntime.jsx(
2951
2976
  "button",
2952
2977
  {
2953
2978
  className: cn(
@@ -2972,7 +2997,7 @@ function GradientPicker({
2972
2997
  setGradient(newGradient);
2973
2998
  onChange?.(newGradient);
2974
2999
  };
2975
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("space-y-4", className), children: [
3000
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("moonui-theme", "space-y-4", className), children: [
2976
3001
  /* @__PURE__ */ jsxRuntime.jsx(
2977
3002
  "div",
2978
3003
  {
@@ -3492,7 +3517,7 @@ var DialogOverlay = t__namespace.forwardRef(({ className, variant, animation, ..
3492
3517
  DialogPrimitive__namespace.Overlay,
3493
3518
  {
3494
3519
  ref,
3495
- className: cn(overlayVariants({ variant, animation }), className),
3520
+ className: cn("moonui-theme", overlayVariants({ variant, animation }), className),
3496
3521
  ...props
3497
3522
  }
3498
3523
  ));
@@ -3688,7 +3713,7 @@ var DialogForm = t__namespace.forwardRef(({ className, ...props }, ref) => /* @_
3688
3713
  "form",
3689
3714
  {
3690
3715
  ref,
3691
- className: cn("flex flex-col gap-4", className),
3716
+ className: cn("moonui-theme", "flex flex-col gap-4", className),
3692
3717
  ...props
3693
3718
  }
3694
3719
  ));
@@ -3718,7 +3743,7 @@ var Command = t__namespace.forwardRef(({ className, variant, size, ...props }, r
3718
3743
  _e,
3719
3744
  {
3720
3745
  ref,
3721
- className: cn(commandVariants({ variant, size }), className),
3746
+ className: cn("moonui-theme", commandVariants({ variant, size }), className),
3722
3747
  ...props
3723
3748
  }
3724
3749
  ));
@@ -3755,7 +3780,7 @@ var CommandList = t__namespace.forwardRef(({ className, ...props }, ref) => /* @
3755
3780
  _e.List,
3756
3781
  {
3757
3782
  ref,
3758
- className: cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className),
3783
+ className: cn("moonui-theme", "max-h-[300px] overflow-y-auto overflow-x-hidden", className),
3759
3784
  ...props
3760
3785
  }
3761
3786
  ));
@@ -3764,7 +3789,7 @@ var CommandEmpty = t__namespace.forwardRef(({ className, ...props }, ref) => /*
3764
3789
  _e.Empty,
3765
3790
  {
3766
3791
  ref,
3767
- className: cn("py-6 text-center text-sm text-muted-foreground", className),
3792
+ className: cn("moonui-theme", "py-6 text-center text-sm text-muted-foreground", className),
3768
3793
  ...props
3769
3794
  }
3770
3795
  ));
@@ -3785,7 +3810,7 @@ var CommandSeparator = t__namespace.forwardRef(({ className, ...props }, ref) =>
3785
3810
  _e.Separator,
3786
3811
  {
3787
3812
  ref,
3788
- className: cn("-mx-1 h-px bg-border", className),
3813
+ className: cn("moonui-theme", "-mx-1 h-px bg-border", className),
3789
3814
  ...props
3790
3815
  }
3791
3816
  ));
@@ -6918,7 +6943,7 @@ var Table = t__namespace.forwardRef(({
6918
6943
  ] });
6919
6944
  });
6920
6945
  Table.displayName = "Table";
6921
- var TableHeader = t__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
6946
+ var TableHeader = t__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("thead", { ref, className: cn("moonui-theme", "[&_tr]:border-b", className), ...props }));
6922
6947
  TableHeader.displayName = "TableHeader";
6923
6948
  var TableBody = t__namespace.forwardRef(({ className, emptyContent, emptyMessage = "No data available", children, ...props }, ref) => {
6924
6949
  const hasChildren = t__namespace.Children.count(children) > 0;
@@ -6926,7 +6951,7 @@ var TableBody = t__namespace.forwardRef(({ className, emptyContent, emptyMessage
6926
6951
  "tbody",
6927
6952
  {
6928
6953
  ref,
6929
- className: cn("[&_tr:last-child]:border-0", className),
6954
+ className: cn("moonui-theme", "[&_tr:last-child]:border-0", className),
6930
6955
  ...props,
6931
6956
  children: hasChildren ? children : /* @__PURE__ */ jsxRuntime.jsx("tr", { children: /* @__PURE__ */ jsxRuntime.jsx("td", { colSpan: 100, className: "h-24 text-center", children: emptyContent || /* @__PURE__ */ jsxRuntime.jsx("div", { className: "py-6 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm", children: emptyMessage }) }) }) })
6932
6957
  }
@@ -6937,7 +6962,7 @@ var TableFooter = t__namespace.forwardRef(({ className, ...props }, ref) => /* @
6937
6962
  "tfoot",
6938
6963
  {
6939
6964
  ref,
6940
- className: cn("bg-primary text-primary-foreground font-medium", className),
6965
+ className: cn("moonui-theme", "bg-primary text-primary-foreground font-medium", className),
6941
6966
  ...props
6942
6967
  }
6943
6968
  ));
@@ -7039,7 +7064,7 @@ var TableCell = t__namespace.forwardRef(({ className, ...props }, ref) => /* @__
7039
7064
  "td",
7040
7065
  {
7041
7066
  ref,
7042
- className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className),
7067
+ className: cn("moonui-theme", "p-4 align-middle [&:has([role=checkbox])]:pr-0", className),
7043
7068
  ...props
7044
7069
  }
7045
7070
  ));
@@ -7048,7 +7073,7 @@ var TableCaption = t__namespace.forwardRef(({ className, ...props }, ref) => /*
7048
7073
  "caption",
7049
7074
  {
7050
7075
  ref,
7051
- className: cn("mt-4 text-sm text-muted-foreground", className),
7076
+ className: cn("moonui-theme", "mt-4 text-sm text-muted-foreground", className),
7052
7077
  ...props
7053
7078
  }
7054
7079
  ));
@@ -7166,7 +7191,7 @@ var SelectLabel = t__namespace.forwardRef(({ className, ...props }, ref) => /* @
7166
7191
  SelectPrimitive__namespace.Label,
7167
7192
  {
7168
7193
  ref,
7169
- className: cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className),
7194
+ className: cn("moonui-theme", "py-1.5 pl-8 pr-2 text-sm font-semibold", className),
7170
7195
  ...props
7171
7196
  }
7172
7197
  ));
@@ -7202,7 +7227,7 @@ var SelectSeparator = t__namespace.forwardRef(({ className, ...props }, ref) =>
7202
7227
  SelectPrimitive__namespace.Separator,
7203
7228
  {
7204
7229
  ref,
7205
- className: cn("-mx-1 my-1 h-px bg-muted dark:bg-gray-700", className),
7230
+ className: cn("moonui-theme", "-mx-1 my-1 h-px bg-muted dark:bg-gray-700", className),
7206
7231
  ...props
7207
7232
  }
7208
7233
  ));
@@ -7318,7 +7343,7 @@ var DropdownMenuSeparator = t__namespace.forwardRef(({ className, ...props }, re
7318
7343
  DropdownMenuPrimitive__namespace.Separator,
7319
7344
  {
7320
7345
  ref,
7321
- className: cn("-mx-1 my-1 h-px bg-muted", className),
7346
+ className: cn("moonui-theme", "-mx-1 my-1 h-px bg-muted", className),
7322
7347
  ...props
7323
7348
  }
7324
7349
  ));
@@ -7330,7 +7355,7 @@ var DropdownMenuShortcut = ({
7330
7355
  return /* @__PURE__ */ jsxRuntime.jsx(
7331
7356
  "span",
7332
7357
  {
7333
- className: cn("ml-auto text-xs tracking-widest opacity-60", className),
7358
+ className: cn("moonui-theme", "ml-auto text-xs tracking-widest opacity-60", className),
7334
7359
  ...props
7335
7360
  }
7336
7361
  );
@@ -7386,6 +7411,15 @@ var Skeleton = t__namespace.forwardRef(
7386
7411
  style,
7387
7412
  ...props
7388
7413
  }, ref) => {
7414
+ const {
7415
+ onDrag,
7416
+ onDragEnd,
7417
+ onDragStart,
7418
+ onAnimationStart,
7419
+ onAnimationEnd,
7420
+ onAnimationIteration,
7421
+ ...filteredProps
7422
+ } = props;
7389
7423
  if (isLoaded && children) {
7390
7424
  if (useMotion) {
7391
7425
  return /* @__PURE__ */ jsxRuntime.jsx(
@@ -7395,13 +7429,13 @@ var Skeleton = t__namespace.forwardRef(
7395
7429
  initial: { opacity: 0 },
7396
7430
  animate: { opacity: 1 },
7397
7431
  transition: { duration: fadeInDuration / 1e3 },
7398
- className,
7432
+ className: cn("moonui-theme", className),
7399
7433
  style: {
7400
7434
  height,
7401
7435
  width,
7402
7436
  ...style
7403
7437
  },
7404
- ...props,
7438
+ ...filteredProps,
7405
7439
  children
7406
7440
  }
7407
7441
  );
@@ -7410,7 +7444,7 @@ var Skeleton = t__namespace.forwardRef(
7410
7444
  "div",
7411
7445
  {
7412
7446
  ref,
7413
- className: cn("animate-fade-in", className),
7447
+ className: cn("moonui-theme", "animate-fade-in", className),
7414
7448
  style: {
7415
7449
  animationDuration: `${fadeInDuration}ms`,
7416
7450
  height,
@@ -7428,6 +7462,7 @@ var Skeleton = t__namespace.forwardRef(
7428
7462
  {
7429
7463
  ref,
7430
7464
  className: cn(
7465
+ "moonui-theme",
7431
7466
  skeletonVariants({ variant, size, shape, animation }),
7432
7467
  "relative isolate",
7433
7468
  className
@@ -7438,7 +7473,7 @@ var Skeleton = t__namespace.forwardRef(
7438
7473
  ...style
7439
7474
  },
7440
7475
  ...useMotion ? skeletonAnimation : {},
7441
- ...props
7476
+ ...filteredProps
7442
7477
  }
7443
7478
  );
7444
7479
  }
@@ -7460,7 +7495,7 @@ var SkeletonText = t__namespace.forwardRef(
7460
7495
  "div",
7461
7496
  {
7462
7497
  ref,
7463
- className: cn("flex flex-col", className),
7498
+ className: cn("moonui-theme", "flex flex-col", className),
7464
7499
  style: { gap: spacing },
7465
7500
  ...props,
7466
7501
  children: Array.from({ length: lines }).map((_, i) => {
@@ -7500,7 +7535,7 @@ var SkeletonAvatar = t__namespace.forwardRef(
7500
7535
  variant,
7501
7536
  animation,
7502
7537
  shape: "circle",
7503
- className: cn("shrink-0", className),
7538
+ className: cn("moonui-theme", "shrink-0", className),
7504
7539
  style: {
7505
7540
  height: size,
7506
7541
  width: size
@@ -7692,7 +7727,7 @@ function DataTable({
7692
7727
  return /* @__PURE__ */ jsxRuntime.jsx(DataTableLoading, {});
7693
7728
  }
7694
7729
  const selectedRows = table.getFilteredSelectedRowModel().rows;
7695
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("space-y-4", className), children: [
7730
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("moonui-theme", "space-y-4", className), children: [
7696
7731
  (title || description) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", children: [
7697
7732
  title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold", children: title }),
7698
7733
  description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: description })
@@ -8057,7 +8092,7 @@ function Calendar({
8057
8092
  return [...previousMonthDays, ...emptyCells, ...days2, ...nextMonthDays];
8058
8093
  };
8059
8094
  const days = getDaysInMonth();
8060
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("p-0", className), children: [
8095
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("moonui-theme", "p-0", className), children: [
8061
8096
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between px-6 py-4", children: [
8062
8097
  /* @__PURE__ */ jsxRuntime.jsx(
8063
8098
  "button",
@@ -8143,8 +8178,7 @@ var datePickerVariants = classVarianceAuthority.cva(
8143
8178
  variant: {
8144
8179
  default: "",
8145
8180
  outline: "border-2",
8146
- ghost: "hover:bg-accent hover:text-accent-foreground",
8147
- minimal: "h-auto p-0 border-0 shadow-none"
8181
+ ghost: "hover:bg-accent hover:text-accent-foreground"
8148
8182
  },
8149
8183
  size: {
8150
8184
  default: "h-10 px-4 py-2",
@@ -8222,11 +8256,11 @@ function DatePicker({
8222
8256
  };
8223
8257
  const displayValue = internalDate && dateFns.isValid(internalDate) ? dateFns.format(internalDate, formatString) : null;
8224
8258
  const iconElement = icon || /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Calendar, { className: "h-4 w-4" });
8225
- return /* @__PURE__ */ jsxRuntime.jsxs(Popover, { open, onOpenChange: setOpen, children: [
8259
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "moonui-theme", children: /* @__PURE__ */ jsxRuntime.jsxs(Popover, { open, onOpenChange: setOpen, children: [
8226
8260
  /* @__PURE__ */ jsxRuntime.jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
8227
8261
  Button,
8228
8262
  {
8229
- variant: variant === "minimal" ? "ghost" : variant || "outline",
8263
+ variant: variant === "ghost" ? "ghost" : "outline",
8230
8264
  className: cn(
8231
8265
  datePickerVariants({ variant, size, state }),
8232
8266
  !displayValue && "text-muted-foreground",
@@ -8305,7 +8339,7 @@ function DatePicker({
8305
8339
  children: /* @__PURE__ */ jsxRuntime.jsxs(
8306
8340
  framerMotion.motion.div,
8307
8341
  {
8308
- ...microInteractionVariants.fadeIn,
8342
+ ...pageTransitions.fadeIn,
8309
8343
  className: "rounded-2xl bg-background overflow-hidden",
8310
8344
  children: [
8311
8345
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -8335,7 +8369,7 @@ function DatePicker({
8335
8369
  )
8336
8370
  }
8337
8371
  )
8338
- ] });
8372
+ ] }) });
8339
8373
  }
8340
8374
  function DateRangePicker({
8341
8375
  className,
@@ -8373,7 +8407,7 @@ function DateRangePicker({
8373
8407
  /* @__PURE__ */ jsxRuntime.jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
8374
8408
  Button,
8375
8409
  {
8376
- variant: props.variant === "minimal" ? "ghost" : props.variant || "outline",
8410
+ variant: props.variant === "ghost" ? "ghost" : "outline",
8377
8411
  className: cn(
8378
8412
  datePickerVariants({
8379
8413
  variant: props.variant,
@@ -8531,7 +8565,7 @@ function MonthPicker({
8531
8565
  /* @__PURE__ */ jsxRuntime.jsx(PopoverTrigger, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
8532
8566
  Button,
8533
8567
  {
8534
- variant: props.variant || "outline",
8568
+ variant: props.variant === "default" ? "outline" : props.variant || "outline",
8535
8569
  className: cn(
8536
8570
  datePickerVariants({
8537
8571
  variant: props.variant,
@@ -8573,7 +8607,7 @@ function MonthPicker({
8573
8607
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-3 gap-2", children: months.map((month, index) => /* @__PURE__ */ jsxRuntime.jsx(
8574
8608
  Button,
8575
8609
  {
8576
- variant: value && value.getMonth() === index ? "default" : "outline",
8610
+ variant: value && value.getMonth() === index ? "primary" : "outline",
8577
8611
  size: "sm",
8578
8612
  onClick: () => handleMonthSelect(index),
8579
8613
  className: "h-8 text-xs",
@@ -8619,7 +8653,7 @@ function DraggableList({
8619
8653
  const handleDragEnd = () => {
8620
8654
  setDraggedIndex(null);
8621
8655
  };
8622
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("space-y-2", className), children: items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
8656
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("moonui-theme", "space-y-2", className), children: items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsx(
8623
8657
  "div",
8624
8658
  {
8625
8659
  draggable: !disabled,
@@ -8738,7 +8772,7 @@ var Progress = t__namespace.forwardRef(({
8738
8772
  "div",
8739
8773
  {
8740
8774
  ref,
8741
- className: cn(progressVariants({ variant, size, radius, animation }), className),
8775
+ className: cn("moonui-theme", progressVariants({ variant, size, radius, animation }), className),
8742
8776
  role: "progressbar",
8743
8777
  "aria-valuemin": 0,
8744
8778
  "aria-valuemax": max2,
@@ -8819,7 +8853,7 @@ var FileItem = ({
8819
8853
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "h-3 w-3 mr-1 animate-spin" }),
8820
8854
  "Uploading"
8821
8855
  ] }),
8822
- status === "success" && /* @__PURE__ */ jsxRuntime.jsxs(Badge, { variant: "default", className: "h-5 bg-green-500", children: [
8856
+ status === "success" && /* @__PURE__ */ jsxRuntime.jsxs(Badge, { variant: "success", className: "h-5", children: [
8823
8857
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CheckCircle, { className: "h-3 w-3 mr-1" }),
8824
8858
  "Done"
8825
8859
  ] }),
@@ -8968,7 +9002,7 @@ var FileUpload = t__namespace.default.forwardRef(
8968
9002
  onRemove(fileId);
8969
9003
  }
8970
9004
  }, [onRemove]);
8971
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, className: cn("space-y-4", className), ...props, children: [
9005
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, className: cn("moonui-theme", "space-y-4", className), ...props, children: [
8972
9006
  /* @__PURE__ */ jsxRuntime.jsxs(
8973
9007
  framerMotion.motion.div,
8974
9008
  {
@@ -9307,7 +9341,7 @@ function GitHubStarButton({
9307
9341
  {
9308
9342
  variant: "outline",
9309
9343
  size,
9310
- className: cn("group", className),
9344
+ className: cn("moonui-theme", "group", className),
9311
9345
  asChild: true,
9312
9346
  children: /* @__PURE__ */ jsxRuntime.jsxs(
9313
9347
  "a",
@@ -9335,7 +9369,7 @@ function MoonLogo({
9335
9369
  }) {
9336
9370
  const logoId = t__namespace.useId();
9337
9371
  const gradientId = `moon-gradient-${logoId}`;
9338
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex items-center gap-2", className), children: [
9372
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("moonui-theme", "flex items-center gap-2", className), children: [
9339
9373
  /* @__PURE__ */ jsxRuntime.jsxs(
9340
9374
  "svg",
9341
9375
  {
@@ -9412,7 +9446,7 @@ var Pagination = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
9412
9446
  {
9413
9447
  role: "navigation",
9414
9448
  "aria-label": "pagination",
9415
- className: cn("mx-auto flex w-full justify-center", className),
9449
+ className: cn("moonui-theme", "mx-auto flex w-full justify-center", className),
9416
9450
  ...props
9417
9451
  }
9418
9452
  );
@@ -9421,12 +9455,12 @@ var PaginationContent = t__namespace.forwardRef(({ className, ...props }, ref) =
9421
9455
  "ul",
9422
9456
  {
9423
9457
  ref,
9424
- className: cn("flex flex-row items-center gap-1", className),
9458
+ className: cn("moonui-theme", "flex flex-row items-center gap-1", className),
9425
9459
  ...props
9426
9460
  }
9427
9461
  ));
9428
9462
  PaginationContent.displayName = "PaginationContent";
9429
- var PaginationItem = t__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("li", { ref, className: cn("", className), ...props }));
9463
+ var PaginationItem = t__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsx("li", { ref, className: cn("moonui-theme", "", className), ...props }));
9430
9464
  PaginationItem.displayName = "PaginationItem";
9431
9465
  var PaginationLink = ({
9432
9466
  className,
@@ -9455,8 +9489,8 @@ var PaginationPrevious = ({
9455
9489
  PaginationLink,
9456
9490
  {
9457
9491
  "aria-label": "Go to previous page",
9458
- size: "default",
9459
- className: cn("gap-1 pl-2.5", className),
9492
+ size: "md",
9493
+ className: cn("moonui-theme", "gap-1 pl-2.5", className),
9460
9494
  ...props,
9461
9495
  children: [
9462
9496
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronLeft, { className: "h-4 w-4" }),
@@ -9472,8 +9506,8 @@ var PaginationNext = ({
9472
9506
  PaginationLink,
9473
9507
  {
9474
9508
  "aria-label": "Go to next page",
9475
- size: "default",
9476
- className: cn("gap-1 pr-2.5", className),
9509
+ size: "md",
9510
+ className: cn("moonui-theme", "gap-1 pr-2.5", className),
9477
9511
  ...props,
9478
9512
  children: [
9479
9513
  /* @__PURE__ */ jsxRuntime.jsx("span", { children: "Next" }),
@@ -9489,7 +9523,7 @@ var PaginationEllipsis = ({
9489
9523
  "span",
9490
9524
  {
9491
9525
  "aria-hidden": true,
9492
- className: cn("flex h-9 w-9 items-center justify-center", className),
9526
+ className: cn("moonui-theme", "flex h-9 w-9 items-center justify-center", className),
9493
9527
  ...props,
9494
9528
  children: [
9495
9529
  /* @__PURE__ */ jsxRuntime.jsx(lucideReact.MoreHorizontal, { className: "h-4 w-4" }),
@@ -9528,7 +9562,7 @@ var RadioGroup2 = t__namespace.forwardRef(
9528
9562
  {
9529
9563
  ref,
9530
9564
  role: "radiogroup",
9531
- className: cn("grid gap-2", className),
9565
+ className: cn("moonui-theme", "grid gap-2", className),
9532
9566
  ...props
9533
9567
  }
9534
9568
  ) });
@@ -9933,7 +9967,7 @@ var Toggle2 = t__namespace.forwardRef(({ className, variant, size, ...props }, r
9933
9967
  Root13,
9934
9968
  {
9935
9969
  ref,
9936
- className: cn(toggleVariants({ variant, size, className })),
9970
+ className: cn("moonui-theme", toggleVariants({ variant, size, className })),
9937
9971
  ...props
9938
9972
  }
9939
9973
  ));
@@ -9969,7 +10003,7 @@ var TooltipArrow = t__namespace.forwardRef(({ className, ...props }, ref) => /*
9969
10003
  TooltipPrimitive__namespace.Arrow,
9970
10004
  {
9971
10005
  ref,
9972
- className: cn("fill-current", className),
10006
+ className: cn("moonui-theme", "fill-current", className),
9973
10007
  ...props
9974
10008
  }
9975
10009
  ));
@@ -9979,7 +10013,7 @@ var TooltipContent = t__namespace.forwardRef(({ className, variant, size, showAr
9979
10013
  {
9980
10014
  ref,
9981
10015
  sideOffset,
9982
- className: cn(tooltipVariants({ variant, size }), className),
10016
+ className: cn("moonui-theme", tooltipVariants({ variant, size }), className),
9983
10017
  ...props,
9984
10018
  children: [
9985
10019
  props.children,
@@ -9997,7 +10031,6 @@ var SimpleTooltip = t__namespace.forwardRef(
9997
10031
  side = "top",
9998
10032
  align = "center",
9999
10033
  delayDuration = 400,
10000
- skipDelayDuration = 300,
10001
10034
  sideOffset = 4,
10002
10035
  showArrow = false,
10003
10036
  className,
@@ -10013,7 +10046,6 @@ var SimpleTooltip = t__namespace.forwardRef(
10013
10046
  defaultOpen,
10014
10047
  onOpenChange,
10015
10048
  delayDuration,
10016
- skipDelayDuration,
10017
10049
  children: [
10018
10050
  /* @__PURE__ */ jsxRuntime.jsx(TooltipTrigger, { asChild: true, children }),
10019
10051
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -10651,7 +10683,7 @@ var SwipeableCard = t__namespace.forwardRef(
10651
10683
  }
10652
10684
  );
10653
10685
  SwipeableCard.displayName = "SwipeableCard";
10654
- var Switch = t__namespace.forwardRef(({ className, size = "md", variant = "primary", loading, leftIcon, rightIcon, description, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "inline-flex items-center gap-2", children: [
10686
+ var Switch = t__namespace.forwardRef(({ className, size = "md", variant = "primary", loading, leftIcon, rightIcon, description, ...props }, ref) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "moonui-theme inline-flex items-center gap-2", children: [
10655
10687
  leftIcon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: leftIcon }),
10656
10688
  /* @__PURE__ */ jsxRuntime.jsxs(
10657
10689
  SwitchPrimitives__namespace.Root,
@@ -10716,6 +10748,7 @@ var Textarea = t__namespace.forwardRef(
10716
10748
  "textarea",
10717
10749
  {
10718
10750
  className: cn(
10751
+ "moonui-theme",
10719
10752
  "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",
10720
10753
  className
10721
10754
  ),
@@ -10761,7 +10794,7 @@ var Toast = t__namespace.forwardRef(({ className, variant, ...props }, ref) => {
10761
10794
  ToastPrimitives__namespace.Root,
10762
10795
  {
10763
10796
  ref,
10764
- className: cn(toastVariants({ variant }), className),
10797
+ className: cn("moonui-theme", toastVariants({ variant }), className),
10765
10798
  ...props
10766
10799
  }
10767
10800
  );
@@ -10797,7 +10830,7 @@ var ToastTitle = t__namespace.forwardRef(({ className, ...props }, ref) => /* @_
10797
10830
  ToastPrimitives__namespace.Title,
10798
10831
  {
10799
10832
  ref,
10800
- className: cn("text-sm font-semibold [&+div]:text-xs", className),
10833
+ className: cn("moonui-theme", "text-sm font-semibold [&+div]:text-xs", className),
10801
10834
  ...props
10802
10835
  }
10803
10836
  ));
@@ -10806,7 +10839,7 @@ var ToastDescription = t__namespace.forwardRef(({ className, ...props }, ref) =>
10806
10839
  ToastPrimitives__namespace.Description,
10807
10840
  {
10808
10841
  ref,
10809
- className: cn("text-sm opacity-90", className),
10842
+ className: cn("moonui-theme", "text-sm opacity-90", className),
10810
10843
  ...props
10811
10844
  }
10812
10845
  ));