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

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,9 +873,13 @@ 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, // 👈 novo prop
877
+ userSlug, pageSlug, communitySlug, }: IRatingsCardProps & {
874
878
  variant?: "maximized" | "minimized";
875
879
  className?: string;
880
+ userSlug?: string;
881
+ pageSlug?: string;
882
+ communitySlug?: string;
876
883
  }): React__default.JSX.Element;
877
884
 
878
885
  interface RattingSuggestionCardProps {
@@ -920,8 +927,9 @@ type AvatarRatingBadgeProps = {
920
927
  src?: string;
921
928
  rating: number;
922
929
  asPage?: boolean;
930
+ isCommunity?: boolean;
923
931
  };
924
- declare function AvatarRatingBadge({ name, asPage, src, rating }: AvatarRatingBadgeProps): React__default.JSX.Element;
932
+ declare function AvatarRatingBadge({ name, asPage, src, rating, isCommunity }: AvatarRatingBadgeProps): React__default.JSX.Element;
925
933
 
926
934
  type AddRatingProps = {
927
935
  enableTitle?: boolean;
@@ -936,9 +944,15 @@ type AddRatingProps = {
936
944
  receiverCommunityId?: string;
937
945
  className?: string;
938
946
  isCommunity?: boolean;
947
+ variant?: "default" | "feed";
948
+ userSlug?: string;
949
+ pageSlug?: string;
950
+ communitySlug?: string;
939
951
  };
940
952
  declare function AddRating({ enableTitle, variantStars, starSize, forAPage, receiverPageId, receiverUserId, receiverCommunityId, className, // <-- RECEBIDO
941
- isCommunity, }: AddRatingProps): React__default.JSX.Element;
953
+ isCommunity, // <-- NOVA PROP
954
+ variant, // <-- NOVA PROP
955
+ userSlug, pageSlug, communitySlug, }: AddRatingProps): React__default.JSX.Element;
942
956
 
943
957
  interface PageFloatFooterProps {
944
958
  /**