@mirantes-micro/foundation-design-system 1.2.115 → 1.2.116

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.d.ts CHANGED
@@ -855,6 +855,9 @@ interface IRatingsCardProps {
855
855
  communityId?: string;
856
856
  forAPage?: boolean;
857
857
  currentUserId?: string;
858
+ pageSlug?: string;
859
+ userSlug?: string;
860
+ communitySlug?: string;
858
861
  }
859
862
  type TRatingUserCard = {
860
863
  user: {
@@ -870,7 +873,7 @@ type TRatingUserCard = {
870
873
  createdAt: string | Date;
871
874
  };
872
875
 
873
- declare function RatingsCard({ isCurrentPageOrProfile, pageId, userId, communityId, variant, forAPage, currentUserId, className, }: IRatingsCardProps & {
876
+ declare function RatingsCard({ isCurrentPageOrProfile, pageId, userId, communityId, variant, forAPage, currentUserId, className, pageSlug, userSlug, communitySlug, }: IRatingsCardProps & {
874
877
  variant?: "maximized" | "minimized";
875
878
  className?: string;
876
879
  }): React__default.JSX.Element;
@@ -920,8 +923,9 @@ type AvatarRatingBadgeProps = {
920
923
  src?: string;
921
924
  rating: number;
922
925
  asPage?: boolean;
926
+ isCommunity?: boolean;
923
927
  };
924
- declare function AvatarRatingBadge({ name, asPage, src, rating }: AvatarRatingBadgeProps): React__default.JSX.Element;
928
+ declare function AvatarRatingBadge({ name, asPage, src, rating, isCommunity }: AvatarRatingBadgeProps): React__default.JSX.Element;
925
929
 
926
930
  type AddRatingProps = {
927
931
  enableTitle?: boolean;
@@ -936,9 +940,11 @@ type AddRatingProps = {
936
940
  receiverCommunityId?: string;
937
941
  className?: string;
938
942
  isCommunity?: boolean;
943
+ pageSlug?: string;
944
+ userSlug?: string;
945
+ communitySlug?: string;
939
946
  };
940
- declare function AddRating({ enableTitle, variantStars, starSize, forAPage, receiverPageId, receiverUserId, receiverCommunityId, className, // <-- RECEBIDO
941
- isCommunity, }: AddRatingProps): React__default.JSX.Element;
947
+ declare function AddRating({ enableTitle, variantStars, starSize, forAPage, receiverPageId, receiverUserId, receiverCommunityId, className, isCommunity, pageSlug, userSlug, communitySlug, }: AddRatingProps): React__default.JSX.Element;
942
948
 
943
949
  interface PageFloatFooterProps {
944
950
  /**