@moontra/moonui-pro 2.2.9 → 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/dist/index.mjs CHANGED
@@ -2016,7 +2016,7 @@ var MoonUIAvatarGroup = t.forwardRef(
2016
2016
  {
2017
2017
  className: "relative z-0",
2018
2018
  style: { marginLeft: `${overlapOffset}px` },
2019
- children: /* @__PURE__ */ jsx(Avatar, { variant: "border", children: /* @__PURE__ */ jsxs(AvatarFallback, { children: [
2019
+ children: /* @__PURE__ */ jsx(MoonUIAvatarPro, { variant: "border", children: /* @__PURE__ */ jsxs(MoonUIAvatarFallbackPro, { children: [
2020
2020
  "+",
2021
2021
  remainingCount
2022
2022
  ] }) })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "2.2.9",
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>
@@ -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>