@mirantes-micro/foundation-design-system 1.2.244 → 1.2.246

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 (3) hide show
  1. package/dist/index.d.ts +8 -6
  2. package/dist/index.js +111 -111
  3. package/package.json +193 -193
package/dist/index.d.ts CHANGED
@@ -1009,8 +1009,9 @@ type AvatarRatingBadgeProps = {
1009
1009
  rating: number;
1010
1010
  asPage?: boolean;
1011
1011
  isCommunity?: boolean;
1012
+ className?: string;
1012
1013
  };
1013
- declare function AvatarRatingBadge({ name, asPage, src, rating, isCommunity }: AvatarRatingBadgeProps): React__default.JSX.Element;
1014
+ declare function AvatarRatingBadge({ name, asPage, src, rating, isCommunity, className, }: AvatarRatingBadgeProps): React__default.JSX.Element;
1014
1015
 
1015
1016
  type AddRatingProps = {
1016
1017
  enableTitle?: boolean;
@@ -1048,7 +1049,7 @@ declare const NoRecruitmentResponsiveIlustration: ({ className, }: {
1048
1049
  className?: string;
1049
1050
  }) => React__default.JSX.Element;
1050
1051
 
1051
- declare function RatingReviewsList({ variant, forPage, receiverPageId, receiverUserId, receiverCommunityId, inlinePreview, onOpenAllRatings }: {
1052
+ declare function RatingReviewsList({ variant, forPage, receiverPageId, receiverUserId, receiverCommunityId, inlinePreview, onOpenAllRatings, }: {
1052
1053
  variant?: "maximized" | "minimized";
1053
1054
  forPage?: boolean;
1054
1055
  receiverUserId?: string;
@@ -1360,7 +1361,7 @@ type PostAttachmentProps$1 = {
1360
1361
  };
1361
1362
  type Post$1 = {
1362
1363
  user: User$1;
1363
- postType: "NORMAL" | "REEL" | "ARTICLE";
1364
+ postType: 'NORMAL' | 'REEL' | 'ARTICLE';
1364
1365
  id: string;
1365
1366
  createdAt: string;
1366
1367
  scheduledAt?: string;
@@ -1368,6 +1369,7 @@ type Post$1 = {
1368
1369
  content: string;
1369
1370
  totalShares: number;
1370
1371
  totalReactions?: number;
1372
+ currentUserReaction?: string | undefined;
1371
1373
  totalComments?: number;
1372
1374
  attachment?: PostAttachmentProps$1;
1373
1375
  isFollowed?: boolean;
@@ -1458,14 +1460,14 @@ type Post$1 = {
1458
1460
  type PostAssetProps$1 = {
1459
1461
  id: string;
1460
1462
  url: string;
1461
- type?: "image" | "video" | "pdf";
1463
+ type?: 'image' | 'video' | 'pdf';
1462
1464
  createdAt?: string;
1463
1465
  };
1464
1466
  type PostReactionsProps$1 = {
1465
1467
  id: string;
1466
1468
  userId: string;
1467
1469
  postId: string;
1468
- reaction: "LIKE" | "LOVE" | "HAHA" | "WOW" | "SAD" | "ANGRY" | "AGREE" | "DISLIKE" | "EUREKA" | "NO_COMMENT" | "SUPPORT" | "DISAGREE";
1470
+ reaction: 'LIKE' | 'LOVE' | 'HAHA' | 'WOW' | 'SAD' | 'ANGRY' | 'AGREE' | 'DISLIKE' | 'EUREKA' | 'NO_COMMENT' | 'SUPPORT' | 'DISAGREE';
1469
1471
  createdAt?: string;
1470
1472
  updatedAt?: string;
1471
1473
  user?: User$1;
@@ -1474,7 +1476,7 @@ type CommentReactionsProps$1 = {
1474
1476
  id: string;
1475
1477
  userId: string;
1476
1478
  commentId: string;
1477
- reaction: "LIKE" | "LOVE" | "HAHA" | "AGREE" | "DISLIKE" | "EUREKA" | "NO_COMMENT" | "SUPPORT";
1479
+ reaction: 'LIKE' | 'LOVE' | 'HAHA' | 'AGREE' | 'DISLIKE' | 'EUREKA' | 'NO_COMMENT' | 'SUPPORT';
1478
1480
  createdAt: string;
1479
1481
  updatedAt: string;
1480
1482
  user?: User$1;