@moontra/moonui-pro 2.2.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -3384,7 +3384,7 @@ var MoonUILabelPro2 = React16.forwardRef(({ className, ...props }, ref) => /* @_
3384
3384
  ...props
3385
3385
  }
3386
3386
  ));
3387
- Label.displayName = LabelPrimitive.Root.displayName;
3387
+ MoonUILabel.displayName = LabelPrimitive.Root.displayName;
3388
3388
  var MoonUITextareaPro = React16__default.forwardRef(
3389
3389
  ({ className, ...props }, ref) => {
3390
3390
  return /* @__PURE__ */ jsx(
@@ -3445,8 +3445,8 @@ var MoonUISelectTriggerPro = React16.forwardRef(({ className, children, variant
3445
3445
  ]
3446
3446
  }
3447
3447
  ));
3448
- SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
3449
- var SelectScrollUpButton = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3448
+ MoonUISelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
3449
+ var MoonUISelectScrollUpButton = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3450
3450
  SelectPrimitive.ScrollUpButton,
3451
3451
  {
3452
3452
  ref,
@@ -3458,8 +3458,8 @@ var SelectScrollUpButton = React16.forwardRef(({ className, ...props }, ref) =>
3458
3458
  children: /* @__PURE__ */ jsx(ChevronUp, { className: "h-4 w-4" })
3459
3459
  }
3460
3460
  ));
3461
- SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
3462
- var SelectScrollDownButton = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3461
+ MoonUISelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
3462
+ var MoonUISelectScrollDownButton = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3463
3463
  SelectPrimitive.ScrollDownButton,
3464
3464
  {
3465
3465
  ref,
@@ -3471,7 +3471,7 @@ var SelectScrollDownButton = React16.forwardRef(({ className, ...props }, ref) =
3471
3471
  children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })
3472
3472
  }
3473
3473
  ));
3474
- SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
3474
+ MoonUISelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
3475
3475
  var MoonUISelectContentPro = React16.forwardRef(({ className, children, position = "item-aligned", ...props }, ref) => /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
3476
3476
  SelectPrimitive.Content,
3477
3477
  {
@@ -3508,7 +3508,7 @@ var MoonUISelectContentPro = React16.forwardRef(({ className, children, position
3508
3508
  ]
3509
3509
  }
3510
3510
  ) }));
3511
- SelectContent.displayName = SelectPrimitive.Content.displayName;
3511
+ MoonUISelectContent.displayName = SelectPrimitive.Content.displayName;
3512
3512
  React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3513
3513
  SelectPrimitive.Label,
3514
3514
  {
@@ -3517,7 +3517,7 @@ React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3517
3517
  ...props
3518
3518
  }
3519
3519
  ));
3520
- SelectLabel.displayName = SelectPrimitive.Label.displayName;
3520
+ MoonUISelectLabel.displayName = SelectPrimitive.Label.displayName;
3521
3521
  var MoonUISelectItemPro = React16.forwardRef(({ className, children, variant = "default", size = "md", rightIcon, customIndicator, ...props }, ref) => /* @__PURE__ */ jsxs(
3522
3522
  SelectPrimitive.Item,
3523
3523
  {
@@ -3544,7 +3544,7 @@ var MoonUISelectItemPro = React16.forwardRef(({ className, children, variant = "
3544
3544
  ]
3545
3545
  }
3546
3546
  ));
3547
- SelectItem.displayName = SelectPrimitive.Item.displayName;
3547
+ MoonUISelectItem.displayName = SelectPrimitive.Item.displayName;
3548
3548
  React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3549
3549
  SelectPrimitive.Separator,
3550
3550
  {
@@ -3553,10 +3553,9 @@ React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3553
3553
  ...props
3554
3554
  }
3555
3555
  ));
3556
- SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
3556
+ MoonUISelectSeparator.displayName = SelectPrimitive.Separator.displayName;
3557
3557
  var MoonUIDialogPro = DialogPrimitive2.Root;
3558
3558
  var MoonUIDialogTriggerPro = DialogPrimitive2.Trigger;
3559
- var DialogPortal = DialogPrimitive2.Portal;
3560
3559
  var overlayVariants = cva(
3561
3560
  "fixed inset-0 z-50 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
3562
3561
  {
@@ -3579,7 +3578,7 @@ var overlayVariants = cva(
3579
3578
  }
3580
3579
  }
3581
3580
  );
3582
- var DialogOverlay = React16.forwardRef(({ className, variant, animation, ...props }, ref) => /* @__PURE__ */ jsx(
3581
+ var MoonUIDialogOverlay = React16.forwardRef(({ className, variant, animation, ...props }, ref) => /* @__PURE__ */ jsx(
3583
3582
  DialogPrimitive2.Overlay,
3584
3583
  {
3585
3584
  ref,
@@ -3587,7 +3586,7 @@ var DialogOverlay = React16.forwardRef(({ className, variant, animation, ...prop
3587
3586
  ...props
3588
3587
  }
3589
3588
  ));
3590
- DialogOverlay.displayName = DialogPrimitive2.Overlay.displayName;
3589
+ MoonUIDialogOverlay.displayName = DialogPrimitive2.Overlay.displayName;
3591
3590
  var dialogContentVariants = cva(
3592
3591
  "fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background shadow-lg",
3593
3592
  {
@@ -3722,7 +3721,7 @@ var MoonUIDialogContentPro = React16.forwardRef(
3722
3721
  ] });
3723
3722
  }
3724
3723
  );
3725
- DialogContent.displayName = DialogPrimitive2.Content.displayName;
3724
+ MoonUIDialogContent.displayName = DialogPrimitive2.Content.displayName;
3726
3725
  var MoonUIDialogHeaderPro = ({
3727
3726
  className,
3728
3727
  ...props
@@ -3762,7 +3761,7 @@ var MoonUIDialogTitlePro = React16.forwardRef(({ className, ...props }, ref) =>
3762
3761
  ...props
3763
3762
  }
3764
3763
  ));
3765
- DialogTitle.displayName = DialogPrimitive2.Title.displayName;
3764
+ MoonUIDialogTitle.displayName = DialogPrimitive2.Title.displayName;
3766
3765
  var MoonUIDialogDescriptionPro = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3767
3766
  DialogPrimitive2.Description,
3768
3767
  {
@@ -3774,8 +3773,8 @@ var MoonUIDialogDescriptionPro = React16.forwardRef(({ className, ...props }, re
3774
3773
  ...props
3775
3774
  }
3776
3775
  ));
3777
- DialogDescription.displayName = DialogPrimitive2.Description.displayName;
3778
- var DialogForm = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3776
+ MoonUIDialogDescription.displayName = DialogPrimitive2.Description.displayName;
3777
+ var MoonUIDialogForm = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
3779
3778
  "form",
3780
3779
  {
3781
3780
  ref,
@@ -3783,7 +3782,7 @@ var DialogForm = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE
3783
3782
  ...props
3784
3783
  }
3785
3784
  ));
3786
- DialogForm.displayName = "DialogForm";
3785
+ MoonUIDialogForm.displayName = "DialogForm";
3787
3786
  var EVENT_TYPES = [
3788
3787
  { value: "meeting", label: "Meeting", color: "#3b82f6" },
3789
3788
  { value: "task", label: "Task", color: "#10b981" },
@@ -4555,7 +4554,7 @@ var MoonUIAvatarPro = React16.forwardRef(({ className, size, radius, variant, ..
4555
4554
  ...props
4556
4555
  }
4557
4556
  ));
4558
- Avatar.displayName = AvatarPrimitive.Root.displayName;
4557
+ MoonUIAvatar.displayName = AvatarPrimitive.Root.displayName;
4559
4558
  var MoonUIAvatarImagePro = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4560
4559
  AvatarPrimitive.Image,
4561
4560
  {
@@ -4564,7 +4563,7 @@ var MoonUIAvatarImagePro = React16.forwardRef(({ className, ...props }, ref) =>
4564
4563
  ...props
4565
4564
  }
4566
4565
  ));
4567
- AvatarImage.displayName = AvatarPrimitive.Image.displayName;
4566
+ MoonUIAvatarImage.displayName = AvatarPrimitive.Image.displayName;
4568
4567
  var MoonUIAvatarFallbackPro = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
4569
4568
  AvatarPrimitive.Fallback,
4570
4569
  {
@@ -4576,8 +4575,8 @@ var MoonUIAvatarFallbackPro = React16.forwardRef(({ className, ...props }, ref)
4576
4575
  ...props
4577
4576
  }
4578
4577
  ));
4579
- AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
4580
- var AvatarGroup = React16.forwardRef(
4578
+ MoonUIAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
4579
+ var MoonUIAvatarGroup = React16.forwardRef(
4581
4580
  ({ className, limit, avatars, overlapOffset = -8, ...props }, ref) => {
4582
4581
  const visibleAvatars = limit ? avatars.slice(0, limit) : avatars;
4583
4582
  const remainingCount = limit ? Math.max(0, avatars.length - limit) : 0;
@@ -4616,7 +4615,7 @@ var AvatarGroup = React16.forwardRef(
4616
4615
  );
4617
4616
  }
4618
4617
  );
4619
- AvatarGroup.displayName = "AvatarGroup";
4618
+ MoonUIAvatarGroup.displayName = "AvatarGroup";
4620
4619
  var PRIORITY_DOTS = {
4621
4620
  low: "bg-green-500",
4622
4621
  medium: "bg-yellow-500",
@@ -43433,7 +43432,7 @@ React16.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE
43433
43432
  ]
43434
43433
  }
43435
43434
  ));
43436
- DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
43435
+ MoonUIDropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName;
43437
43436
  React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
43438
43437
  DropdownMenuPrimitive.SubContent,
43439
43438
  {
@@ -43445,7 +43444,7 @@ React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
43445
43444
  ...props
43446
43445
  }
43447
43446
  ));
43448
- DropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
43447
+ MoonUIDropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName;
43449
43448
  var MoonUIDropdownMenuContentPro = React16.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx(
43450
43449
  DropdownMenuPrimitive.Content,
43451
43450
  {
@@ -43458,7 +43457,7 @@ var MoonUIDropdownMenuContentPro = React16.forwardRef(({ className, sideOffset =
43458
43457
  ...props
43459
43458
  }
43460
43459
  ) }));
43461
- DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
43460
+ MoonUIDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName;
43462
43461
  var MoonUIDropdownMenuItemPro = React16.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
43463
43462
  DropdownMenuPrimitive.Item,
43464
43463
  {
@@ -43471,7 +43470,7 @@ var MoonUIDropdownMenuItemPro = React16.forwardRef(({ className, inset, ...props
43471
43470
  ...props
43472
43471
  }
43473
43472
  ));
43474
- DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
43473
+ MoonUIDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName;
43475
43474
  React16.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ jsxs(
43476
43475
  DropdownMenuPrimitive.CheckboxItem,
43477
43476
  {
@@ -43488,7 +43487,7 @@ React16.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PU
43488
43487
  ]
43489
43488
  }
43490
43489
  ));
43491
- DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
43490
+ MoonUIDropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName;
43492
43491
  React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsxs(
43493
43492
  DropdownMenuPrimitive.RadioItem,
43494
43493
  {
@@ -43504,7 +43503,7 @@ React16.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ j
43504
43503
  ]
43505
43504
  }
43506
43505
  ));
43507
- DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
43506
+ MoonUIDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName;
43508
43507
  React16.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
43509
43508
  DropdownMenuPrimitive.Label,
43510
43509
  {
@@ -43517,7 +43516,7 @@ React16.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx(
43517
43516
  ...props
43518
43517
  }
43519
43518
  ));
43520
- DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
43519
+ MoonUIDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName;
43521
43520
  var MoonUIDropdownMenuSeparatorPro = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
43522
43521
  DropdownMenuPrimitive.Separator,
43523
43522
  {
@@ -43526,7 +43525,7 @@ var MoonUIDropdownMenuSeparatorPro = React16.forwardRef(({ className, ...props }
43526
43525
  ...props
43527
43526
  }
43528
43527
  ));
43529
- DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
43528
+ MoonUIDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
43530
43529
  var MoonUITooltipProviderPro = TooltipPrimitive.Provider;
43531
43530
  var tooltipVariants = cva(
43532
43531
  "z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
@@ -43554,7 +43553,7 @@ var tooltipVariants = cva(
43554
43553
  );
43555
43554
  var MoonUITooltipPro = TooltipPrimitive.Root;
43556
43555
  var MoonUITooltipTriggerPro = TooltipPrimitive.Trigger;
43557
- var TooltipArrow = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
43556
+ var MoonUITooltipArrow = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
43558
43557
  TooltipPrimitive.Arrow,
43559
43558
  {
43560
43559
  ref,
@@ -43562,7 +43561,7 @@ var TooltipArrow = React16.forwardRef(({ className, ...props }, ref) => /* @__PU
43562
43561
  ...props
43563
43562
  }
43564
43563
  ));
43565
- TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
43564
+ MoonUITooltipArrow.displayName = TooltipPrimitive.Arrow.displayName;
43566
43565
  var MoonUITooltipContentPro = React16.forwardRef(({ className, variant, size, showArrow = false, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsxs(
43567
43566
  TooltipPrimitive.Content,
43568
43567
  {
@@ -43576,8 +43575,8 @@ var MoonUITooltipContentPro = React16.forwardRef(({ className, variant, size, sh
43576
43575
  ]
43577
43576
  }
43578
43577
  ));
43579
- TooltipContent.displayName = TooltipPrimitive.Content.displayName;
43580
- var SimpleTooltip = React16.forwardRef(
43578
+ MoonUITooltipContent.displayName = TooltipPrimitive.Content.displayName;
43579
+ var MoonUISimpleTooltip = React16.forwardRef(
43581
43580
  ({
43582
43581
  children,
43583
43582
  content,
@@ -43625,7 +43624,7 @@ var SimpleTooltip = React16.forwardRef(
43625
43624
  );
43626
43625
  }
43627
43626
  );
43628
- SimpleTooltip.displayName = "SimpleTooltip";
43627
+ MoonUISimpleTooltip.displayName = "SimpleTooltip";
43629
43628
  var popoverContentVariants = cva(
43630
43629
  "z-50 w-72 rounded-md border border-border bg-background p-4 shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",
43631
43630
  {
@@ -43719,7 +43718,7 @@ var MoonUIPopoverContentPro = React16.forwardRef(({
43719
43718
  }
43720
43719
  )
43721
43720
  ] }));
43722
- PopoverContent.displayName = PopoverPrimitive.Content.displayName;
43721
+ MoonUIPopoverContent.displayName = PopoverPrimitive.Content.displayName;
43723
43722
  var defaultColors = [
43724
43723
  "#000000",
43725
43724
  "#374151",
@@ -44038,7 +44037,7 @@ var MoonUISliderPro = React16.forwardRef(({
44038
44037
  ] });
44039
44038
  });
44040
44039
  MoonUISliderPro.displayName = "MoonUISliderPro";
44041
- var ToastViewport = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
44040
+ var MoonUIToastViewport = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
44042
44041
  ToastPrimitives.Viewport,
44043
44042
  {
44044
44043
  ref,
@@ -44049,7 +44048,7 @@ var ToastViewport = React16.forwardRef(({ className, ...props }, ref) => /* @__P
44049
44048
  ...props
44050
44049
  }
44051
44050
  ));
44052
- ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
44051
+ MoonUIToastViewport.displayName = ToastPrimitives.Viewport.displayName;
44053
44052
  cva(
44054
44053
  "group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-8 shadow-sm transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
44055
44054
  {
@@ -44077,8 +44076,8 @@ React16.forwardRef(({ className, variant, ...props }, ref) => {
44077
44076
  }
44078
44077
  );
44079
44078
  });
44080
- Toast.displayName = ToastPrimitives.Root.displayName;
44081
- var ToastAction = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
44079
+ MoonUIToast.displayName = ToastPrimitives.Root.displayName;
44080
+ var MoonUIToastAction = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
44082
44081
  ToastPrimitives.Action,
44083
44082
  {
44084
44083
  ref,
@@ -44089,8 +44088,8 @@ var ToastAction = React16.forwardRef(({ className, ...props }, ref) => /* @__PUR
44089
44088
  ...props
44090
44089
  }
44091
44090
  ));
44092
- ToastAction.displayName = ToastPrimitives.Action.displayName;
44093
- var ToastClose = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
44091
+ MoonUIToastAction.displayName = ToastPrimitives.Action.displayName;
44092
+ var MoonUIToastClose = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
44094
44093
  ToastPrimitives.Close,
44095
44094
  {
44096
44095
  ref,
@@ -44103,8 +44102,8 @@ var ToastClose = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE
44103
44102
  children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
44104
44103
  }
44105
44104
  ));
44106
- ToastClose.displayName = ToastPrimitives.Close.displayName;
44107
- var ToastTitle = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
44105
+ MoonUIToastClose.displayName = ToastPrimitives.Close.displayName;
44106
+ var MoonUIToastTitle = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
44108
44107
  ToastPrimitives.Title,
44109
44108
  {
44110
44109
  ref,
@@ -44112,8 +44111,8 @@ var ToastTitle = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE
44112
44111
  ...props
44113
44112
  }
44114
44113
  ));
44115
- ToastTitle.displayName = ToastPrimitives.Title.displayName;
44116
- var ToastDescription = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
44114
+ MoonUIToastTitle.displayName = ToastPrimitives.Title.displayName;
44115
+ var MoonUIToastDescription = React16.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
44117
44116
  ToastPrimitives.Description,
44118
44117
  {
44119
44118
  ref,
@@ -44121,7 +44120,7 @@ var ToastDescription = React16.forwardRef(({ className, ...props }, ref) => /* @
44121
44120
  ...props
44122
44121
  }
44123
44122
  ));
44124
- ToastDescription.displayName = ToastPrimitives.Description.displayName;
44123
+ MoonUIToastDescription.displayName = ToastPrimitives.Description.displayName;
44125
44124
  var TOAST_LIMIT = 5;
44126
44125
  var TOAST_REMOVE_DELAY = 1e6;
44127
44126
  var toastTimeouts = /* @__PURE__ */ new Map();
@@ -46924,8 +46923,8 @@ var MoonUICheckboxPro2 = React16.forwardRef(({
46924
46923
  }
46925
46924
  );
46926
46925
  });
46927
- Checkbox.displayName = CheckboxPrimitive.Root.displayName;
46928
- var CheckboxGroup = React16.forwardRef(
46926
+ MoonUICheckbox.displayName = CheckboxPrimitive.Root.displayName;
46927
+ var MoonUICheckboxGroup = React16.forwardRef(
46929
46928
  ({ className, orientation = "vertical", spacing = "1rem", children, ...props }, ref) => {
46930
46929
  return /* @__PURE__ */ jsx(
46931
46930
  "div",
@@ -46944,8 +46943,8 @@ var CheckboxGroup = React16.forwardRef(
46944
46943
  );
46945
46944
  }
46946
46945
  );
46947
- CheckboxGroup.displayName = "CheckboxGroup";
46948
- var CheckboxLabel = React16.forwardRef(
46946
+ MoonUICheckboxGroup.displayName = "CheckboxGroup";
46947
+ var MoonUICheckboxLabel = React16.forwardRef(
46949
46948
  ({ className, htmlFor, children, position = "end", disabled = false, ...props }, ref) => {
46950
46949
  return /* @__PURE__ */ jsx(
46951
46950
  "label",
@@ -46964,8 +46963,8 @@ var CheckboxLabel = React16.forwardRef(
46964
46963
  );
46965
46964
  }
46966
46965
  );
46967
- CheckboxLabel.displayName = "CheckboxLabel";
46968
- var CheckboxWithLabel = React16.forwardRef(({
46966
+ MoonUICheckboxLabel.displayName = "CheckboxLabel";
46967
+ var MoonUICheckboxWithLabel = React16.forwardRef(({
46969
46968
  id,
46970
46969
  label,
46971
46970
  labelPosition = "end",
@@ -46998,7 +46997,7 @@ var CheckboxWithLabel = React16.forwardRef(({
46998
46997
  )
46999
46998
  ] });
47000
46999
  });
47001
- CheckboxWithLabel.displayName = "CheckboxWithLabel";
47000
+ MoonUICheckboxWithLabel.displayName = "CheckboxWithLabel";
47002
47001
  var MoonUISwitchPro = React16.forwardRef(({ className, size = "md", variant = "primary", loading, leftIcon, rightIcon, description, ...props }, ref) => /* @__PURE__ */ jsxs("div", { className: "inline-flex items-center gap-2", children: [
47003
47002
  leftIcon && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: leftIcon }),
47004
47003
  /* @__PURE__ */ jsxs(
@@ -47045,7 +47044,7 @@ var MoonUISwitchPro = React16.forwardRef(({ className, size = "md", variant = "p
47045
47044
  rightIcon && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: rightIcon }),
47046
47045
  description && /* @__PURE__ */ jsx("span", { className: "text-sm text-muted-foreground", children: description })
47047
47046
  ] }));
47048
- Switch.displayName = SwitchPrimitives.Root.displayName;
47047
+ MoonUISwitch.displayName = SwitchPrimitives.Root.displayName;
47049
47048
  var AdvancedFormsInternal = ({
47050
47049
  fields,
47051
47050
  onSubmit,
@@ -47727,7 +47726,7 @@ var ColorPicker = ({ className, ...props }) => {
47727
47726
  }
47728
47727
  return /* @__PURE__ */ jsx(ColorPickerInternal, { className, ...props });
47729
47728
  };
47730
- function Skeleton({
47729
+ function MoonUISkeleton({
47731
47730
  className,
47732
47731
  ...props
47733
47732
  }) {
@@ -47844,19 +47843,19 @@ var GitHubStarsInternal = ({
47844
47843
  if (loading) {
47845
47844
  return /* @__PURE__ */ jsx(MoonUICardPro, { className: cn("w-full", className), children: /* @__PURE__ */ jsx(MoonUICardContentPro, { className: "p-6", children: /* @__PURE__ */ jsxs("div", { className: "space-y-4", children: [
47846
47845
  /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
47847
- /* @__PURE__ */ jsx(Skeleton, { className: "h-6 w-48" }),
47848
- /* @__PURE__ */ jsx(Skeleton, { className: "h-8 w-20" })
47846
+ /* @__PURE__ */ jsx(MoonUISkeleton, { className: "h-6 w-48" }),
47847
+ /* @__PURE__ */ jsx(MoonUISkeleton, { className: "h-8 w-20" })
47849
47848
  ] }),
47850
47849
  /* @__PURE__ */ jsx("div", { className: cn(
47851
47850
  layout === "grid" ? "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4" : "space-y-4"
47852
47851
  ), children: Array.from({ length: maxItems || 6 }).map((_, index) => /* @__PURE__ */ jsx(MoonUICardPro, { children: /* @__PURE__ */ jsx(MoonUICardContentPro, { className: "p-4", children: /* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
47853
- /* @__PURE__ */ jsx(Skeleton, { className: "h-5 w-3/4" }),
47854
- /* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-full" }),
47855
- /* @__PURE__ */ jsx(Skeleton, { className: "h-4 w-2/3" }),
47852
+ /* @__PURE__ */ jsx(MoonUISkeleton, { className: "h-5 w-3/4" }),
47853
+ /* @__PURE__ */ jsx(MoonUISkeleton, { className: "h-4 w-full" }),
47854
+ /* @__PURE__ */ jsx(MoonUISkeleton, { className: "h-4 w-2/3" }),
47856
47855
  /* @__PURE__ */ jsxs("div", { className: "flex gap-2", children: [
47857
- /* @__PURE__ */ jsx(Skeleton, { className: "h-6 w-16" }),
47858
- /* @__PURE__ */ jsx(Skeleton, { className: "h-6 w-16" }),
47859
- /* @__PURE__ */ jsx(Skeleton, { className: "h-6 w-16" })
47856
+ /* @__PURE__ */ jsx(MoonUISkeleton, { className: "h-6 w-16" }),
47857
+ /* @__PURE__ */ jsx(MoonUISkeleton, { className: "h-6 w-16" }),
47858
+ /* @__PURE__ */ jsx(MoonUISkeleton, { className: "h-6 w-16" })
47860
47859
  ] })
47861
47860
  ] }) }) }, index)) })
47862
47861
  ] }) }) });
@@ -48366,7 +48365,7 @@ var LazyComponentInternal = ({
48366
48365
  }
48367
48366
  );
48368
48367
  }
48369
- return /* @__PURE__ */ jsx(Skeleton, { className: "w-full h-32" });
48368
+ return /* @__PURE__ */ jsx(MoonUISkeleton, { className: "w-full h-32" });
48370
48369
  };
48371
48370
  return /* @__PURE__ */ jsx("div", { ref: containerRef, className: cn("w-full", className), children: isLoaded ? /* @__PURE__ */ jsx(
48372
48371
  motion.div,
@@ -48439,7 +48438,7 @@ var LazyImage = ({
48439
48438
  transition: { duration: 0.3 },
48440
48439
  className: "w-full h-full object-cover"
48441
48440
  }
48442
- ) : showPlaceholder ? /* @__PURE__ */ jsx(Skeleton, { className: "w-full h-full min-h-32" }) : null,
48441
+ ) : showPlaceholder ? /* @__PURE__ */ jsx(MoonUISkeleton, { className: "w-full h-full min-h-32" }) : null,
48443
48442
  imageError && !fallbackSrc && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 flex items-center justify-center bg-muted", children: /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: "Failed to load image" }) })
48444
48443
  ] });
48445
48444
  };
@@ -48615,7 +48614,7 @@ var OptimizedImageInternal = ({
48615
48614
  initial: { opacity: 0 },
48616
48615
  animate: { opacity: 1 },
48617
48616
  className: "absolute inset-0 flex items-center justify-center bg-muted",
48618
- children: blur2 ? /* @__PURE__ */ jsx(Skeleton, { className: "w-full h-full" }) : /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
48617
+ children: blur2 ? /* @__PURE__ */ jsx(MoonUISkeleton, { className: "w-full h-full" }) : /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
48619
48618
  /* @__PURE__ */ jsx(Loader2, { className: "h-8 w-8 animate-spin text-muted-foreground mx-auto mb-2" }),
48620
48619
  /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground", children: "Loading image..." })
48621
48620
  ] })
@@ -48914,7 +48913,7 @@ var PROGRESS_NAME = "Progress";
48914
48913
  var DEFAULT_MAX = 100;
48915
48914
  var [createProgressContext, createProgressScope] = createContextScope(PROGRESS_NAME);
48916
48915
  var [ProgressProvider, useProgressContext] = createProgressContext(PROGRESS_NAME);
48917
- var Progress2 = React16.forwardRef(
48916
+ var Progress = React16.forwardRef(
48918
48917
  (props, forwardedRef) => {
48919
48918
  const {
48920
48919
  __scopeProgress,
@@ -48949,7 +48948,7 @@ var Progress2 = React16.forwardRef(
48949
48948
  ) });
48950
48949
  }
48951
48950
  );
48952
- Progress2.displayName = PROGRESS_NAME;
48951
+ Progress.displayName = PROGRESS_NAME;
48953
48952
  var INDICATOR_NAME = "ProgressIndicator";
48954
48953
  var ProgressIndicator = React16.forwardRef(
48955
48954
  (props, forwardedRef) => {
@@ -48994,7 +48993,7 @@ function getInvalidValueError(propValue, componentName) {
48994
48993
 
48995
48994
  Defaulting to \`null\`.`;
48996
48995
  }
48997
- var Root11 = Progress2;
48996
+ var Root11 = Progress;
48998
48997
  var Indicator2 = ProgressIndicator;
48999
48998
  var MoonUIProgressPro = React16.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ jsx(
49000
48999
  Root11,
@@ -49014,7 +49013,7 @@ var MoonUIProgressPro = React16.forwardRef(({ className, value, ...props }, ref)
49014
49013
  )
49015
49014
  }
49016
49015
  ));
49017
- Progress.displayName = Root11.displayName;
49016
+ MoonUIProgress.displayName = Root11.displayName;
49018
49017
  var MoonUITabsPro = React16.forwardRef(({ vertical = false, ...props }, ref) => /* @__PURE__ */ jsx(
49019
49018
  TabsPrimitive.Root,
49020
49019
  {
@@ -49023,7 +49022,7 @@ var MoonUITabsPro = React16.forwardRef(({ vertical = false, ...props }, ref) =>
49023
49022
  ...props
49024
49023
  }
49025
49024
  ));
49026
- Tabs.displayName = TabsPrimitive.Root.displayName;
49025
+ MoonUITabs.displayName = TabsPrimitive.Root.displayName;
49027
49026
  var tabsListVariants = cva(
49028
49027
  "flex items-center justify-start transition-all duration-200",
49029
49028
  {
@@ -49058,7 +49057,7 @@ var MoonUITabsListPro = React16.forwardRef(({ className, variant, orientation, f
49058
49057
  ...props
49059
49058
  }
49060
49059
  ));
49061
- TabsList.displayName = TabsPrimitive.List.displayName;
49060
+ MoonUITabsList.displayName = TabsPrimitive.List.displayName;
49062
49061
  var tabsTriggerVariants = cva(
49063
49062
  "inline-flex items-center justify-center whitespace-nowrap font-medium ring-offset-background transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
49064
49063
  {
@@ -49121,7 +49120,7 @@ var MoonUITabsTriggerPro = React16.forwardRef(({
49121
49120
  ]
49122
49121
  }
49123
49122
  ));
49124
- TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
49123
+ MoonUITabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
49125
49124
  var MoonUITabsContentPro = React16.forwardRef(({ className, animated = false, ...props }, ref) => /* @__PURE__ */ jsx(
49126
49125
  TabsPrimitive.Content,
49127
49126
  {
@@ -49134,7 +49133,7 @@ var MoonUITabsContentPro = React16.forwardRef(({ className, animated = false, ..
49134
49133
  ...props
49135
49134
  }
49136
49135
  ));
49137
- TabsContent.displayName = TabsPrimitive.Content.displayName;
49136
+ MoonUITabsContent.displayName = TabsPrimitive.Content.displayName;
49138
49137
  var PerformanceDebuggerInternal = ({
49139
49138
  autoCapture = true,
49140
49139
  captureInterval = 5e3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",
@@ -5,7 +5,7 @@ import { motion, AnimatePresence } from "framer-motion"
5
5
  import { Card, CardContent } from "../ui/card"
6
6
  import { Button } from "../ui/button"
7
7
  import { MoonUIBadgePro as Badge } from "../ui/badge"
8
- import { Skeleton } from "../ui/skeleton"
8
+ import { MoonUISkeleton as Skeleton } from "../ui/skeleton"
9
9
  import { cn } from "../../lib/utils"
10
10
  import { Star, GitFork, Eye, Users, ExternalLink, Github, Lock, Sparkles, RefreshCw } from "lucide-react"
11
11
  import { useSubscription } from "../../hooks/use-subscription"
@@ -4,7 +4,7 @@ import React, { useState, useEffect, useRef, Suspense } from "react"
4
4
  import { motion } from "framer-motion"
5
5
  import { Card, CardContent } from "../ui/card"
6
6
  import { Button } from "../ui/button"
7
- import { Skeleton } from "../ui/skeleton"
7
+ import { MoonUISkeleton as Skeleton } from "../ui/skeleton"
8
8
  import { cn } from "../../lib/utils"
9
9
  import { Eye, Loader2, Lock, Sparkles, RefreshCw } from "lucide-react"
10
10
  import { useSubscription } from "../../hooks/use-subscription"
@@ -5,7 +5,7 @@ import { motion, AnimatePresence } from "framer-motion"
5
5
  import { Card, CardContent } from "../ui/card"
6
6
  import { Button } from "../ui/button"
7
7
  import { MoonUIBadgePro as Badge } from "../ui/badge"
8
- import { Skeleton } from "../ui/skeleton"
8
+ import { MoonUISkeleton as Skeleton } from "../ui/skeleton"
9
9
  import { cn } from "../../lib/utils"
10
10
  import {
11
11
  Image as ImageIcon,
@@ -53,7 +53,7 @@ const MoonUIAvatarPro = React.forwardRef<
53
53
  {...props}
54
54
  />
55
55
  ));
56
- Avatar.displayName = AvatarPrimitive.Root.displayName;
56
+ MoonUIAvatar.displayName = AvatarPrimitive.Root.displayName;
57
57
 
58
58
  const MoonUIAvatarImagePro = React.forwardRef<
59
59
  React.ElementRef<typeof AvatarPrimitive.Image>,
@@ -65,7 +65,7 @@ const MoonUIAvatarImagePro = React.forwardRef<
65
65
  {...props}
66
66
  />
67
67
  ));
68
- AvatarImage.displayName = AvatarPrimitive.Image.displayName;
68
+ MoonUIAvatarImage.displayName = AvatarPrimitive.Image.displayName;
69
69
 
70
70
  const MoonUIAvatarFallbackPro = React.forwardRef<
71
71
  React.ElementRef<typeof AvatarPrimitive.Fallback>,
@@ -80,7 +80,7 @@ const MoonUIAvatarFallbackPro = React.forwardRef<
80
80
  {...props}
81
81
  />
82
82
  ));
83
- AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
83
+ MoonUIAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
84
84
 
85
85
  // Avatar Group Component for displaying multiple avatars
86
86
  interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -89,7 +89,7 @@ interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
89
89
  overlapOffset?: number;
90
90
  }
91
91
 
92
- const AvatarGroup = React.forwardRef<HTMLDivElement, AvatarGroupProps>(
92
+ const MoonUIAvatarGroup = React.forwardRef<HTMLDivElement, AvatarGroupProps>(
93
93
  ({ className, limit, avatars, overlapOffset = -8, ...props }, ref) => {
94
94
  const visibleAvatars = limit ? avatars.slice(0, limit) : avatars;
95
95
  const remainingCount = limit ? Math.max(0, avatars.length - limit) : 0;
@@ -130,7 +130,7 @@ const AvatarGroup = React.forwardRef<HTMLDivElement, AvatarGroupProps>(
130
130
  );
131
131
  }
132
132
  );
133
- AvatarGroup.displayName = "AvatarGroup";
133
+ MoonUIAvatarGroup.displayName = "AvatarGroup";
134
134
 
135
135
  export { MoonUIAvatarPro, MoonUIAvatarImagePro, MoonUIAvatarFallbackPro, AvatarGroup };
136
136
 
@@ -114,7 +114,7 @@ const MoonUICheckboxPro = React.forwardRef<
114
114
  </CheckboxPrimitive.Root>
115
115
  );
116
116
  });
117
- Checkbox.displayName = CheckboxPrimitive.Root.displayName;
117
+ MoonUICheckbox.displayName = CheckboxPrimitive.Root.displayName;
118
118
 
119
119
  // CheckboxGroup bileşeni
120
120
  interface CheckboxGroupProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -132,7 +132,7 @@ interface CheckboxGroupProps extends React.HTMLAttributes<HTMLDivElement> {
132
132
  children: React.ReactNode;
133
133
  }
134
134
 
135
- const CheckboxGroup = React.forwardRef<HTMLDivElement, CheckboxGroupProps>(
135
+ const MoonUICheckboxGroup = React.forwardRef<HTMLDivElement, CheckboxGroupProps>(
136
136
  ({ className, orientation = "vertical", spacing = "1rem", children, ...props }, ref) => {
137
137
  return (
138
138
  <div
@@ -151,7 +151,7 @@ const CheckboxGroup = React.forwardRef<HTMLDivElement, CheckboxGroupProps>(
151
151
  );
152
152
  }
153
153
  );
154
- CheckboxGroup.displayName = "CheckboxGroup";
154
+ MoonUICheckboxGroup.displayName = "CheckboxGroup";
155
155
 
156
156
  // CheckboxLabel bileşeni
157
157
  interface CheckboxLabelProps extends React.HTMLAttributes<HTMLLabelElement> {
@@ -173,7 +173,7 @@ interface CheckboxLabelProps extends React.HTMLAttributes<HTMLLabelElement> {
173
173
  disabled?: boolean;
174
174
  }
175
175
 
176
- const CheckboxLabel = React.forwardRef<HTMLLabelElement, CheckboxLabelProps>(
176
+ const MoonUICheckboxLabel = React.forwardRef<HTMLLabelElement, CheckboxLabelProps>(
177
177
  ({ className, htmlFor, children, position = "end", disabled = false, ...props }, ref) => {
178
178
  return (
179
179
  <label
@@ -192,7 +192,7 @@ const CheckboxLabel = React.forwardRef<HTMLLabelElement, CheckboxLabelProps>(
192
192
  );
193
193
  }
194
194
  );
195
- CheckboxLabel.displayName = "CheckboxLabel";
195
+ MoonUICheckboxLabel.displayName = "CheckboxLabel";
196
196
 
197
197
  // Checkbox ve Label içeren bileşen
198
198
  interface CheckboxWithLabelProps extends CheckboxProps {
@@ -210,7 +210,7 @@ interface CheckboxWithLabelProps extends CheckboxProps {
210
210
  labelClassName?: string;
211
211
  }
212
212
 
213
- const CheckboxWithLabel = React.forwardRef<
213
+ const MoonUICheckboxWithLabel = React.forwardRef<
214
214
  React.ElementRef<typeof CheckboxPrimitive.Root>,
215
215
  CheckboxWithLabelProps
216
216
  >(({
@@ -251,7 +251,7 @@ const CheckboxWithLabel = React.forwardRef<
251
251
  </div>
252
252
  );
253
253
  });
254
- CheckboxWithLabel.displayName = "CheckboxWithLabel";
254
+ MoonUICheckboxWithLabel.displayName = "CheckboxWithLabel";
255
255
 
256
256
  export { MoonUICheckboxPro, CheckboxGroup, CheckboxLabel, CheckboxWithLabel };
257
257
 
@@ -17,7 +17,7 @@ import { cn } from "../../lib/utils";
17
17
 
18
18
  const MoonUIDialogPro = DialogPrimitive.Root;
19
19
  const MoonUIDialogTriggerPro = DialogPrimitive.Trigger;
20
- const DialogPortal = DialogPrimitive.Portal;
20
+ const MoonUIDialogPortal = DialogPrimitive.Portal;
21
21
  const MoonUIDialogClosePro = DialogPrimitive.Close;
22
22
 
23
23
  const overlayVariants = cva(
@@ -47,7 +47,7 @@ interface DialogOverlayProps
47
47
  extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>,
48
48
  VariantProps<typeof overlayVariants> {}
49
49
 
50
- const DialogOverlay = React.forwardRef<
50
+ const MoonUIDialogOverlay = React.forwardRef<
51
51
  React.ElementRef<typeof DialogPrimitive.Overlay>,
52
52
  DialogOverlayProps
53
53
  >(({ className, variant, animation, ...props }, ref) => (
@@ -57,7 +57,7 @@ const DialogOverlay = React.forwardRef<
57
57
  {...props}
58
58
  />
59
59
  ));
60
- DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
60
+ MoonUIDialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
61
61
 
62
62
  const dialogContentVariants = cva(
63
63
  "fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background shadow-lg",
@@ -243,7 +243,7 @@ const MoonUIDialogContentPro = React.forwardRef<
243
243
  );
244
244
  }
245
245
  );
246
- DialogContent.displayName = DialogPrimitive.Content.displayName;
246
+ MoonUIDialogContent.displayName = DialogPrimitive.Content.displayName;
247
247
 
248
248
  const MoonUIDialogHeaderPro = ({
249
249
  className,
@@ -286,7 +286,7 @@ const MoonUIDialogTitlePro = React.forwardRef<
286
286
  {...props}
287
287
  />
288
288
  ));
289
- DialogTitle.displayName = DialogPrimitive.Title.displayName;
289
+ MoonUIDialogTitle.displayName = DialogPrimitive.Title.displayName;
290
290
 
291
291
  const MoonUIDialogDescriptionPro = React.forwardRef<
292
292
  React.ElementRef<typeof DialogPrimitive.Description>,
@@ -301,13 +301,13 @@ const MoonUIDialogDescriptionPro = React.forwardRef<
301
301
  {...props}
302
302
  />
303
303
  ));
304
- DialogDescription.displayName = DialogPrimitive.Description.displayName;
304
+ MoonUIDialogDescription.displayName = DialogPrimitive.Description.displayName;
305
305
 
306
306
  /**
307
307
  * Dialog-Form integration for use with form support
308
308
  * Used to integrate form submission processes into the modal
309
309
  */
310
- const DialogForm = React.forwardRef<
310
+ const MoonUIDialogForm = React.forwardRef<
311
311
  HTMLFormElement,
312
312
  React.HTMLAttributes<HTMLFormElement>
313
313
  >(({ className, ...props }, ref) => (
@@ -317,7 +317,7 @@ const DialogForm = React.forwardRef<
317
317
  {...props}
318
318
  />
319
319
  ));
320
- DialogForm.displayName = "DialogForm";
320
+ MoonUIDialogForm.displayName = "DialogForm";
321
321
 
322
322
  export { MoonUIDialogPro,
323
323
  MoonUIDialogTriggerPro,
@@ -37,7 +37,7 @@ const MoonUIDropdownMenuSubTriggerPro = React.forwardRef<
37
37
  <ChevronRight className="ml-auto h-4 w-4" />
38
38
  </DropdownMenuPrimitive.SubTrigger>
39
39
  ))
40
- DropdownMenuSubTrigger.displayName =
40
+ MoonUIDropdownMenuSubTrigger.displayName =
41
41
  DropdownMenuPrimitive.SubTrigger.displayName
42
42
 
43
43
  const MoonUIDropdownMenuSubContentPro = React.forwardRef<
@@ -53,7 +53,7 @@ const MoonUIDropdownMenuSubContentPro = React.forwardRef<
53
53
  {...props}
54
54
  />
55
55
  ))
56
- DropdownMenuSubContent.displayName =
56
+ MoonUIDropdownMenuSubContent.displayName =
57
57
  DropdownMenuPrimitive.SubContent.displayName
58
58
 
59
59
  const MoonUIDropdownMenuContentPro = React.forwardRef<
@@ -72,7 +72,7 @@ const MoonUIDropdownMenuContentPro = React.forwardRef<
72
72
  />
73
73
  </DropdownMenuPrimitive.Portal>
74
74
  ))
75
- DropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName
75
+ MoonUIDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName
76
76
 
77
77
  const MoonUIDropdownMenuItemPro = React.forwardRef<
78
78
  React.ElementRef<typeof DropdownMenuPrimitive.Item>,
@@ -90,7 +90,7 @@ const MoonUIDropdownMenuItemPro = React.forwardRef<
90
90
  {...props}
91
91
  />
92
92
  ))
93
- DropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName
93
+ MoonUIDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName
94
94
 
95
95
  const MoonUIDropdownMenuCheckboxItemPro = React.forwardRef<
96
96
  React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,
@@ -113,7 +113,7 @@ const MoonUIDropdownMenuCheckboxItemPro = React.forwardRef<
113
113
  {children}
114
114
  </DropdownMenuPrimitive.CheckboxItem>
115
115
  ))
116
- DropdownMenuCheckboxItem.displayName =
116
+ MoonUIDropdownMenuCheckboxItem.displayName =
117
117
  DropdownMenuPrimitive.CheckboxItem.displayName
118
118
 
119
119
  const MoonUIDropdownMenuRadioItemPro = React.forwardRef<
@@ -136,7 +136,7 @@ const MoonUIDropdownMenuRadioItemPro = React.forwardRef<
136
136
  {children}
137
137
  </DropdownMenuPrimitive.RadioItem>
138
138
  ))
139
- DropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName
139
+ MoonUIDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName
140
140
 
141
141
  const MoonUIDropdownMenuLabelPro = React.forwardRef<
142
142
  React.ElementRef<typeof DropdownMenuPrimitive.Label>,
@@ -154,7 +154,7 @@ const MoonUIDropdownMenuLabelPro = React.forwardRef<
154
154
  {...props}
155
155
  />
156
156
  ))
157
- DropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName
157
+ MoonUIDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName
158
158
 
159
159
  const MoonUIDropdownMenuSeparatorPro = React.forwardRef<
160
160
  React.ElementRef<typeof DropdownMenuPrimitive.Separator>,
@@ -166,7 +166,7 @@ const MoonUIDropdownMenuSeparatorPro = React.forwardRef<
166
166
  {...props}
167
167
  />
168
168
  ))
169
- DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName
169
+ MoonUIDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName
170
170
 
171
171
  const MoonUIDropdownMenuShortcutPro = ({
172
172
  className,
@@ -21,7 +21,7 @@ const MoonUILabelPro = React.forwardRef<
21
21
  {...props}
22
22
  />
23
23
  ))
24
- Label.displayName = LabelPrimitive.Root.displayName
24
+ MoonUILabel.displayName = LabelPrimitive.Root.displayName
25
25
 
26
26
  export { MoonUILabelPro };
27
27
 
@@ -130,7 +130,7 @@ const MoonUIPopoverContentPro = React.forwardRef<
130
130
  />
131
131
  </>
132
132
  ));
133
- PopoverContent.displayName = PopoverPrimitive.Content.displayName;
133
+ MoonUIPopoverContent.displayName = PopoverPrimitive.Content.displayName;
134
134
 
135
135
  /**
136
136
  * PopoverClose bileşeni
@@ -140,35 +140,35 @@ const PopoverClose = PopoverPrimitive.Close;
140
140
  /**
141
141
  * Popover için bölüm ayırıcı
142
142
  */
143
- const PopoverSeparator = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (
143
+ const MoonUIPopoverSeparator = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (
144
144
  <div
145
145
  className={cn("my-2 h-px bg-border", className)}
146
146
  {...props}
147
147
  />
148
148
  );
149
- PopoverSeparator.displayName = "PopoverSeparator";
149
+ MoonUIPopoverSeparator.displayName = "PopoverSeparator";
150
150
 
151
151
  /**
152
152
  * Popover başlık bileşeni
153
153
  */
154
- const PopoverHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (
154
+ const MoonUIPopoverHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (
155
155
  <div
156
156
  className={cn("-mx-4 -mt-4 mb-3 px-4 pt-4 pb-3 border-b border-border", className)}
157
157
  {...props}
158
158
  />
159
159
  );
160
- PopoverHeader.displayName = "PopoverHeader";
160
+ MoonUIPopoverHeader.displayName = "PopoverHeader";
161
161
 
162
162
  /**
163
163
  * Popover footer bileşeni
164
164
  */
165
- const PopoverFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (
165
+ const MoonUIPopoverFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (
166
166
  <div
167
167
  className={cn("-mx-4 -mb-4 mt-3 px-4 pt-3 pb-4 border-t border-border", className)}
168
168
  {...props}
169
169
  />
170
170
  );
171
- PopoverFooter.displayName = "PopoverFooter";
171
+ MoonUIPopoverFooter.displayName = "PopoverFooter";
172
172
 
173
173
  export { MoonUIPopoverPro,
174
174
  MoonUIPopoverTriggerPro,
@@ -22,7 +22,7 @@ const MoonUIProgressPro = React.forwardRef<
22
22
  />
23
23
  </ProgressPrimitive.Root>
24
24
  ))
25
- Progress.displayName = ProgressPrimitive.Root.displayName
25
+ MoonUIProgress.displayName = ProgressPrimitive.Root.displayName
26
26
 
27
27
  export { MoonUIProgressPro };
28
28
 
@@ -97,12 +97,12 @@ const MoonUISelectTriggerPro = React.forwardRef<
97
97
  )}
98
98
  </SelectPrimitive.Trigger>
99
99
  ))
100
- SelectTrigger.displayName = SelectPrimitive.Trigger.displayName
100
+ MoonUISelectTrigger.displayName = SelectPrimitive.Trigger.displayName
101
101
 
102
102
  /**
103
103
  * Scroll Up Button Component
104
104
  */
105
- const SelectScrollUpButton = React.forwardRef<
105
+ const MoonUISelectScrollUpButton = React.forwardRef<
106
106
  React.ElementRef<typeof SelectPrimitive.ScrollUpButton>,
107
107
  React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>
108
108
  >(({ className, ...props }, ref) => (
@@ -117,12 +117,12 @@ const SelectScrollUpButton = React.forwardRef<
117
117
  <ChevronUp className="h-4 w-4" />
118
118
  </SelectPrimitive.ScrollUpButton>
119
119
  ))
120
- SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName
120
+ MoonUISelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName
121
121
 
122
122
  /**
123
123
  * Scroll Down Button Component
124
124
  */
125
- const SelectScrollDownButton = React.forwardRef<
125
+ const MoonUISelectScrollDownButton = React.forwardRef<
126
126
  React.ElementRef<typeof SelectPrimitive.ScrollDownButton>,
127
127
  React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>
128
128
  >(({ className, ...props }, ref) => (
@@ -137,7 +137,7 @@ const SelectScrollDownButton = React.forwardRef<
137
137
  <ChevronDown className="h-4 w-4" />
138
138
  </SelectPrimitive.ScrollDownButton>
139
139
  ))
140
- SelectScrollDownButton.displayName =
140
+ MoonUISelectScrollDownButton.displayName =
141
141
  SelectPrimitive.ScrollDownButton.displayName
142
142
 
143
143
  const MoonUISelectContentPro = React.forwardRef<
@@ -177,7 +177,7 @@ const MoonUISelectContentPro = React.forwardRef<
177
177
  </SelectPrimitive.Content>
178
178
  </SelectPrimitive.Portal>
179
179
  ))
180
- SelectContent.displayName = SelectPrimitive.Content.displayName
180
+ MoonUISelectContent.displayName = SelectPrimitive.Content.displayName
181
181
 
182
182
  const MoonUISelectLabelPro = React.forwardRef<
183
183
  React.ElementRef<typeof SelectPrimitive.Label>,
@@ -189,7 +189,7 @@ const MoonUISelectLabelPro = React.forwardRef<
189
189
  {...props}
190
190
  />
191
191
  ))
192
- SelectLabel.displayName = SelectPrimitive.Label.displayName
192
+ MoonUISelectLabel.displayName = SelectPrimitive.Label.displayName
193
193
 
194
194
  type SelectItemVariant = "default" | "subtle" | "destructive" | "success" | "warning";
195
195
  type SelectItemSize = "sm" | "md" | "lg";
@@ -245,7 +245,7 @@ const MoonUISelectItemPro = React.forwardRef<
245
245
  )}
246
246
  </SelectPrimitive.Item>
247
247
  ))
248
- SelectItem.displayName = SelectPrimitive.Item.displayName
248
+ MoonUISelectItem.displayName = SelectPrimitive.Item.displayName
249
249
 
250
250
  const MoonUISelectSeparatorPro = React.forwardRef<
251
251
  React.ElementRef<typeof SelectPrimitive.Separator>,
@@ -257,7 +257,7 @@ const MoonUISelectSeparatorPro = React.forwardRef<
257
257
  {...props}
258
258
  />
259
259
  ))
260
- SelectSeparator.displayName = SelectPrimitive.Separator.displayName
260
+ MoonUISelectSeparator.displayName = SelectPrimitive.Separator.displayName
261
261
 
262
262
  export { MoonUISelectPro,
263
263
  MoonUISelectGroupPro,
@@ -135,7 +135,7 @@ const MoonUISeparatorPro = React.forwardRef<
135
135
  />
136
136
  )
137
137
  )
138
- Separator.displayName = SeparatorPrimitive.Root.displayName
138
+ MoonUISeparator.displayName = SeparatorPrimitive.Root.displayName
139
139
 
140
140
  export { MoonUISeparatorPro, moonUISeparatorVariantsPro };
141
141
 
@@ -4,14 +4,17 @@ import { cn } from "../../lib/utils"
4
4
 
5
5
  interface MoonUISkeletonProProps extends React.HTMLAttributes<HTMLDivElement> {}
6
6
 
7
- export function Skeleton({
7
+ export function MoonUISkeleton({
8
8
  className,
9
9
  ...props
10
- }: SkeletonProps) {
10
+ }: MoonUISkeletonProProps) {
11
11
  return (
12
12
  <div
13
13
  className={cn("animate-pulse rounded-md bg-muted", className)}
14
14
  {...props}
15
15
  />
16
16
  )
17
- }
17
+ }
18
+
19
+ // Backward compatibility export
20
+ export { MoonUISkeleton as Skeleton }
@@ -77,7 +77,7 @@ const MoonUISwitchPro = React.forwardRef<
77
77
  {description && <span className="text-sm text-muted-foreground">{description}</span>}
78
78
  </div>
79
79
  ))
80
- Switch.displayName = SwitchPrimitives.Root.displayName
80
+ MoonUISwitch.displayName = SwitchPrimitives.Root.displayName
81
81
 
82
82
  export { MoonUISwitchPro };
83
83
 
@@ -23,7 +23,7 @@ const MoonUITabsPro = React.forwardRef<
23
23
  />
24
24
  ));
25
25
 
26
- Tabs.displayName = TabsPrimitive.Root.displayName;
26
+ MoonUITabs.displayName = TabsPrimitive.Root.displayName;
27
27
 
28
28
  /* -------------------------------------------------------------------------------------------------
29
29
  * TabsList
@@ -73,7 +73,7 @@ const MoonUITabsListPro = React.forwardRef<
73
73
  />
74
74
  ));
75
75
 
76
- TabsList.displayName = TabsPrimitive.List.displayName;
76
+ MoonUITabsList.displayName = TabsPrimitive.List.displayName;
77
77
 
78
78
  /* -------------------------------------------------------------------------------------------------
79
79
  * TabsTrigger
@@ -164,7 +164,7 @@ const MoonUITabsTriggerPro = React.forwardRef<
164
164
  </TabsPrimitive.Trigger>
165
165
  ));
166
166
 
167
- TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
167
+ MoonUITabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
168
168
 
169
169
  /* -------------------------------------------------------------------------------------------------
170
170
  * TabsContent
@@ -190,7 +190,7 @@ const MoonUITabsContentPro = React.forwardRef<
190
190
  />
191
191
  ));
192
192
 
193
- TabsContent.displayName = TabsPrimitive.Content.displayName;
193
+ MoonUITabsContent.displayName = TabsPrimitive.Content.displayName;
194
194
 
195
195
  export { MoonUITabsPro, MoonUITabsListPro, MoonUITabsTriggerPro, MoonUITabsContentPro };
196
196
 
@@ -8,7 +8,7 @@ import { cn } from "../../lib/utils";
8
8
 
9
9
  const ToastProvider = ToastPrimitives.Provider;
10
10
 
11
- const ToastViewport = React.forwardRef<
11
+ const MoonUIToastViewport = React.forwardRef<
12
12
  React.ElementRef<typeof ToastPrimitives.Viewport>,
13
13
  React.ComponentPropsWithoutRef<typeof ToastPrimitives.Viewport>
14
14
  >(({ className, ...props }, ref) => (
@@ -21,7 +21,7 @@ const ToastViewport = React.forwardRef<
21
21
  {...props}
22
22
  />
23
23
  ));
24
- ToastViewport.displayName = ToastPrimitives.Viewport.displayName;
24
+ MoonUIToastViewport.displayName = ToastPrimitives.Viewport.displayName;
25
25
 
26
26
  const moonUIToastVariantsPro = cva(
27
27
  "group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-8 shadow-sm transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",
@@ -62,9 +62,9 @@ const MoonUIToastPro = React.forwardRef<
62
62
  />
63
63
  );
64
64
  });
65
- Toast.displayName = ToastPrimitives.Root.displayName;
65
+ MoonUIToast.displayName = ToastPrimitives.Root.displayName;
66
66
 
67
- const ToastAction = React.forwardRef<
67
+ const MoonUIToastAction = React.forwardRef<
68
68
  React.ElementRef<typeof ToastPrimitives.Action>,
69
69
  React.ComponentPropsWithoutRef<typeof ToastPrimitives.Action>
70
70
  >(({ className, ...props }, ref) => (
@@ -77,9 +77,9 @@ const ToastAction = React.forwardRef<
77
77
  {...props}
78
78
  />
79
79
  ));
80
- ToastAction.displayName = ToastPrimitives.Action.displayName;
80
+ MoonUIToastAction.displayName = ToastPrimitives.Action.displayName;
81
81
 
82
- const ToastClose = React.forwardRef<
82
+ const MoonUIToastClose = React.forwardRef<
83
83
  React.ElementRef<typeof ToastPrimitives.Close>,
84
84
  React.ComponentPropsWithoutRef<typeof ToastPrimitives.Close>
85
85
  >(({ className, ...props }, ref) => (
@@ -95,9 +95,9 @@ const ToastClose = React.forwardRef<
95
95
  <X className="h-4 w-4" />
96
96
  </ToastPrimitives.Close>
97
97
  ));
98
- ToastClose.displayName = ToastPrimitives.Close.displayName;
98
+ MoonUIToastClose.displayName = ToastPrimitives.Close.displayName;
99
99
 
100
- const ToastTitle = React.forwardRef<
100
+ const MoonUIToastTitle = React.forwardRef<
101
101
  React.ElementRef<typeof ToastPrimitives.Title>,
102
102
  React.ComponentPropsWithoutRef<typeof ToastPrimitives.Title>
103
103
  >(({ className, ...props }, ref) => (
@@ -107,9 +107,9 @@ const ToastTitle = React.forwardRef<
107
107
  {...props}
108
108
  />
109
109
  ));
110
- ToastTitle.displayName = ToastPrimitives.Title.displayName;
110
+ MoonUIToastTitle.displayName = ToastPrimitives.Title.displayName;
111
111
 
112
- const ToastDescription = React.forwardRef<
112
+ const MoonUIToastDescription = React.forwardRef<
113
113
  React.ElementRef<typeof ToastPrimitives.Description>,
114
114
  React.ComponentPropsWithoutRef<typeof ToastPrimitives.Description>
115
115
  >(({ className, ...props }, ref) => (
@@ -119,7 +119,7 @@ const ToastDescription = React.forwardRef<
119
119
  {...props}
120
120
  />
121
121
  ));
122
- ToastDescription.displayName = ToastPrimitives.Description.displayName;
122
+ MoonUIToastDescription.displayName = ToastPrimitives.Description.displayName;
123
123
 
124
124
  type ToastData = {
125
125
  id: string;
@@ -37,7 +37,7 @@ const MoonUITooltipPro = TooltipPrimitive.Root
37
37
 
38
38
  const MoonUITooltipTriggerPro = TooltipPrimitive.Trigger
39
39
 
40
- const TooltipArrow = React.forwardRef<
40
+ const MoonUITooltipArrow = React.forwardRef<
41
41
  React.ElementRef<typeof TooltipPrimitive.Arrow>,
42
42
  React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Arrow>
43
43
  >(({ className, ...props }, ref) => (
@@ -47,7 +47,7 @@ const TooltipArrow = React.forwardRef<
47
47
  {...props}
48
48
  />
49
49
  ))
50
- TooltipArrow.displayName = TooltipPrimitive.Arrow.displayName
50
+ MoonUITooltipArrow.displayName = TooltipPrimitive.Arrow.displayName
51
51
 
52
52
  export interface MoonUITooltipContentProProps
53
53
  extends React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>,
@@ -69,7 +69,7 @@ const MoonUITooltipContentPro = React.forwardRef<
69
69
  {showArrow && <TooltipArrow />}
70
70
  </TooltipPrimitive.Content>
71
71
  ))
72
- TooltipContent.displayName = TooltipPrimitive.Content.displayName
72
+ MoonUITooltipContent.displayName = TooltipPrimitive.Content.displayName
73
73
 
74
74
  // Simplified Tooltip component for easy usage
75
75
  interface SimpleTooltipProps {
@@ -89,7 +89,7 @@ interface SimpleTooltipProps {
89
89
  onOpenChange?: (open: boolean) => void
90
90
  }
91
91
 
92
- const SimpleTooltip = React.forwardRef<
92
+ const MoonUISimpleTooltip = React.forwardRef<
93
93
  React.ElementRef<typeof TooltipPrimitive.Content>,
94
94
  SimpleTooltipProps
95
95
  >(
@@ -139,7 +139,7 @@ const SimpleTooltip = React.forwardRef<
139
139
  )
140
140
  }
141
141
  )
142
- SimpleTooltip.displayName = "SimpleTooltip"
142
+ MoonUISimpleTooltip.displayName = "SimpleTooltip"
143
143
 
144
144
  export { MoonUITooltipPro,
145
145
  MoonUITooltipProviderPro,