@mirantes-micro/foundation-design-system 1.2.116 → 1.2.118
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 +11 -3
- package/dist/index.js +141 -141
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -873,9 +873,13 @@ type TRatingUserCard = {
|
|
|
873
873
|
createdAt: string | Date;
|
|
874
874
|
};
|
|
875
875
|
|
|
876
|
-
declare function RatingsCard({ isCurrentPageOrProfile, pageId, userId, communityId, variant, forAPage, currentUserId, className,
|
|
876
|
+
declare function RatingsCard({ isCurrentPageOrProfile, pageId, userId, communityId, variant, forAPage, currentUserId, className, // 👈 novo prop
|
|
877
|
+
userSlug, pageSlug, communitySlug, }: IRatingsCardProps & {
|
|
877
878
|
variant?: "maximized" | "minimized";
|
|
878
879
|
className?: string;
|
|
880
|
+
userSlug?: string;
|
|
881
|
+
pageSlug?: string;
|
|
882
|
+
communitySlug?: string;
|
|
879
883
|
}): React__default.JSX.Element;
|
|
880
884
|
|
|
881
885
|
interface RattingSuggestionCardProps {
|
|
@@ -940,11 +944,15 @@ type AddRatingProps = {
|
|
|
940
944
|
receiverCommunityId?: string;
|
|
941
945
|
className?: string;
|
|
942
946
|
isCommunity?: boolean;
|
|
943
|
-
|
|
947
|
+
variant?: "default" | "feed";
|
|
944
948
|
userSlug?: string;
|
|
949
|
+
pageSlug?: string;
|
|
945
950
|
communitySlug?: string;
|
|
946
951
|
};
|
|
947
|
-
declare function AddRating({ enableTitle, variantStars, starSize, forAPage, receiverPageId, receiverUserId, receiverCommunityId, className,
|
|
952
|
+
declare function AddRating({ enableTitle, variantStars, starSize, forAPage, receiverPageId, receiverUserId, receiverCommunityId, className, // <-- RECEBIDO
|
|
953
|
+
isCommunity, // <-- NOVA PROP
|
|
954
|
+
variant, // <-- NOVA PROP
|
|
955
|
+
userSlug, pageSlug, communitySlug, }: AddRatingProps): React__default.JSX.Element;
|
|
948
956
|
|
|
949
957
|
interface PageFloatFooterProps {
|
|
950
958
|
/**
|