@mirantes-micro/foundation-design-system 1.2.17 → 1.2.19
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 +5 -1
- package/dist/index.js +107 -64
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -650,19 +650,22 @@ interface IRatingsCardProps {
|
|
|
650
650
|
userId?: string;
|
|
651
651
|
pageId?: string;
|
|
652
652
|
forAPage?: boolean;
|
|
653
|
+
currentUserId?: string;
|
|
653
654
|
}
|
|
654
655
|
|
|
655
|
-
declare function RatingsCard({ isCurrentPageOrProfile, pageId, userId, variant, forAPage }: IRatingsCardProps & {
|
|
656
|
+
declare function RatingsCard({ isCurrentPageOrProfile, pageId, userId, variant, forAPage, currentUserId, }: IRatingsCardProps & {
|
|
656
657
|
variant?: "maximized" | "minimized";
|
|
657
658
|
}): React__default.JSX.Element;
|
|
658
659
|
|
|
659
660
|
interface RattingSuggestionCardProps {
|
|
660
661
|
asPage?: boolean;
|
|
661
662
|
page?: {
|
|
663
|
+
slug?: string;
|
|
662
664
|
id?: string;
|
|
663
665
|
sector?: string;
|
|
664
666
|
logo?: string;
|
|
665
667
|
rating?: number;
|
|
668
|
+
totalRatings?: number;
|
|
666
669
|
};
|
|
667
670
|
user?: {
|
|
668
671
|
avatar?: string;
|
|
@@ -671,6 +674,7 @@ interface RattingSuggestionCardProps {
|
|
|
671
674
|
headline?: string;
|
|
672
675
|
slug?: string;
|
|
673
676
|
rating?: number;
|
|
677
|
+
totalRatings?: number;
|
|
674
678
|
};
|
|
675
679
|
renderFollowButton?: ReactNode;
|
|
676
680
|
}
|