@moontra/moonui-pro 2.2.8 → 2.2.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.2.8",
3
+ "version": "2.2.10",
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",
@@ -4,7 +4,7 @@ import React from 'react'
4
4
  import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../ui/card'
5
5
  import { Button } from '../ui/button'
6
6
  import { MoonUIBadgePro as Badge } from '../ui/badge'
7
- import { Avatar, AvatarFallback, AvatarImage } from '../ui/avatar'
7
+ import { MoonUIAvatarPro, MoonUIAvatarFallbackPro, MoonUIAvatarImagePro } from '../ui/avatar'
8
8
  import {
9
9
  Plus,
10
10
  MoreHorizontal,
@@ -380,12 +380,12 @@ export function Kanban({
380
380
  </div>
381
381
  )}
382
382
  {card.assignee && (
383
- <Avatar className="h-5 w-5">
384
- <AvatarImage src={card.assignee.avatar} />
385
- <AvatarFallback className="text-xs">
383
+ <MoonUIAvatarPro className="h-5 w-5">
384
+ <MoonUIAvatarImagePro src={card.assignee.avatar} />
385
+ <MoonUIAvatarFallbackPro className="text-xs">
386
386
  {getInitials(card.assignee.name)}
387
- </AvatarFallback>
388
- </Avatar>
387
+ </MoonUIAvatarFallbackPro>
388
+ </MoonUIAvatarPro>
389
389
  )}
390
390
  </div>
391
391
  </div>
@@ -3,7 +3,7 @@
3
3
  import React from 'react'
4
4
  import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '../ui/card'
5
5
  import { MoonUIBadgePro as Badge } from '../ui/badge'
6
- import { Avatar, AvatarFallback, AvatarImage } from '../ui/avatar'
6
+ import { MoonUIAvatarPro, MoonUIAvatarFallbackPro, MoonUIAvatarImagePro } from '../ui/avatar'
7
7
  import { Button } from '../ui/button'
8
8
  import {
9
9
  Clock,
@@ -219,12 +219,12 @@ export function Timeline({
219
219
  {/* User Info */}
220
220
  {showUserInfo && event.user && (
221
221
  <div className="flex items-center gap-2 mb-2">
222
- <Avatar className="h-6 w-6">
223
- <AvatarImage src={event.user.avatar} />
224
- <AvatarFallback className="text-xs">
222
+ <MoonUIAvatarPro className="h-6 w-6">
223
+ <MoonUIAvatarImagePro src={event.user.avatar} />
224
+ <MoonUIAvatarFallbackPro className="text-xs">
225
225
  {getInitials(event.user.name)}
226
- </AvatarFallback>
227
- </Avatar>
226
+ </MoonUIAvatarFallbackPro>
227
+ </MoonUIAvatarPro>
228
228
  <span className="text-sm text-muted-foreground">
229
229
  {event.user.name}
230
230
  </span>
@@ -45,15 +45,15 @@ export interface MoonUIAvatarProProps
45
45
 
46
46
  const MoonUIAvatarPro = React.forwardRef<
47
47
  React.ElementRef<typeof AvatarPrimitive.Root>,
48
- AvatarProps
48
+ MoonUIAvatarProProps
49
49
  >(({ className, size, radius, variant, ...props }, ref) => (
50
50
  <AvatarPrimitive.Root
51
51
  ref={ref}
52
- className={cn(avatarVariants({ size, radius, variant }), className)}
52
+ className={cn(moonUIAvatarVariantsPro({ size, radius, variant }), className)}
53
53
  {...props}
54
54
  />
55
55
  ));
56
- MoonUIAvatar.displayName = AvatarPrimitive.Root.displayName;
56
+ MoonUIAvatarPro.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
- MoonUIAvatarImage.displayName = AvatarPrimitive.Image.displayName;
68
+ MoonUIAvatarImagePro.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
- MoonUIAvatarFallback.displayName = AvatarPrimitive.Fallback.displayName;
83
+ MoonUIAvatarFallbackPro.displayName = AvatarPrimitive.Fallback.displayName;
84
84
 
85
85
  // Avatar Group Component for displaying multiple avatars
86
86
  interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -118,11 +118,11 @@ const MoonUIAvatarGroup = React.forwardRef<HTMLDivElement, AvatarGroupProps>(
118
118
  className="relative z-0"
119
119
  style={{ marginLeft: `${overlapOffset}px` }}
120
120
  >
121
- <Avatar variant="border">
122
- <AvatarFallback>
121
+ <MoonUIAvatarPro variant="border">
122
+ <MoonUIAvatarFallbackPro>
123
123
  +{remainingCount}
124
- </AvatarFallback>
125
- </Avatar>
124
+ </MoonUIAvatarFallbackPro>
125
+ </MoonUIAvatarPro>
126
126
  </div>
127
127
  )}
128
128
  </div>
@@ -86,7 +86,7 @@ export interface MoonUIPopoverContentProProps
86
86
 
87
87
  const MoonUIPopoverContentPro = React.forwardRef<
88
88
  React.ElementRef<typeof PopoverPrimitive.Content>,
89
- PopoverContentProps
89
+ MoonUIPopoverContentProProps
90
90
  >(({
91
91
  className,
92
92
  variant,
@@ -130,7 +130,7 @@ const MoonUIPopoverContentPro = React.forwardRef<
130
130
  />
131
131
  </>
132
132
  ));
133
- MoonUIPopoverContent.displayName = PopoverPrimitive.Content.displayName;
133
+ MoonUIPopoverContentPro.displayName = PopoverPrimitive.Content.displayName;
134
134
 
135
135
  /**
136
136
  * PopoverClose bileşeni
@@ -175,11 +175,11 @@ export { MoonUIPopoverPro,
175
175
  MoonUIPopoverContentPro,
176
176
  PopoverAnchor,
177
177
  PopoverClose,
178
- PopoverSeparator,
179
- PopoverHeader,
180
- PopoverFooter,
178
+ MoonUIPopoverSeparator,
179
+ MoonUIPopoverHeader,
180
+ MoonUIPopoverFooter,
181
181
  popoverContentVariants,
182
182
  };
183
183
 
184
184
  // Backward compatibility exports
185
- export { MoonUIPopoverPro as Popover, MoonUISeparatorPro as Separator, MoonUIPopoverTriggerPro as PopoverTrigger, MoonUIPopoverContentPro as PopoverContent };
185
+ export { MoonUIPopoverPro as Popover, MoonUIPopoverSeparator as PopoverSeparator, MoonUIPopoverTriggerPro as PopoverTrigger, MoonUIPopoverContentPro as PopoverContent };
@@ -272,4 +272,4 @@ export { MoonUISelectPro,
272
272
  };
273
273
 
274
274
  // Backward compatibility exports
275
- export { MoonUIButtonPro as Button, MoonUILabelPro as Label, MoonUISelectPro as Select, MoonUISeparatorPro as Separator, MoonUISelectTriggerPro as SelectTrigger, MoonUISelectContentPro as SelectContent, MoonUISelectItemPro as SelectItem, MoonUISelectValuePro as SelectValue, MoonUISelectGroupPro as SelectGroup, MoonUISelectLabelPro as SelectLabel, MoonUISelectSeparatorPro as SelectSeparator }
275
+ export { MoonUISelectPro as Select, MoonUISelectTriggerPro as SelectTrigger, MoonUISelectContentPro as SelectContent, MoonUISelectItemPro as SelectItem, MoonUISelectValuePro as SelectValue, MoonUISelectGroupPro as SelectGroup, MoonUISelectLabelPro as SelectLabel, MoonUISelectSeparatorPro as SelectSeparator }