@mirantes-micro/foundation-design-system 1.2.401 → 1.2.404
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 +4 -3
- package/dist/index.js +161 -161
- package/package.json +212 -212
package/dist/index.d.ts
CHANGED
|
@@ -835,7 +835,7 @@ interface IMessageButtonProps {
|
|
|
835
835
|
className?: string;
|
|
836
836
|
disabled?: boolean;
|
|
837
837
|
onClick?: () => void;
|
|
838
|
-
variant?:
|
|
838
|
+
variant?: 'default' | 'small';
|
|
839
839
|
onConversationReady?: (conversationId: string) => void;
|
|
840
840
|
}
|
|
841
841
|
declare function MessagesButtonFromPage({ user, label, className, disabled, onClick: customOnClick, variant, }: IMessageButtonProps): React__default.JSX.Element;
|
|
@@ -2349,7 +2349,7 @@ declare function RatingsSummary({ variant, asPage, receiverUserId, receiverPageI
|
|
|
2349
2349
|
interface ShareProfileDivProps extends RattingSuggestionCardProps {
|
|
2350
2350
|
className?: string;
|
|
2351
2351
|
}
|
|
2352
|
-
declare function ShareProfile({ asPage, page, user, className
|
|
2352
|
+
declare function ShareProfile({ asPage, page, user, className }: ShareProfileDivProps): React__default.JSX.Element;
|
|
2353
2353
|
|
|
2354
2354
|
interface ShareProfileButtonProps {
|
|
2355
2355
|
onClick: () => void;
|
|
@@ -2389,6 +2389,7 @@ type TReactionPostSnapshot = {
|
|
|
2389
2389
|
};
|
|
2390
2390
|
};
|
|
2391
2391
|
type TReactionsButtonProps = {
|
|
2392
|
+
className?: string;
|
|
2392
2393
|
currentReaction?: TReaction | null;
|
|
2393
2394
|
totalReactions?: number;
|
|
2394
2395
|
topReactions?: TReaction[];
|
|
@@ -2404,7 +2405,7 @@ type TReactionsButtonProps = {
|
|
|
2404
2405
|
pageId?: string;
|
|
2405
2406
|
};
|
|
2406
2407
|
|
|
2407
|
-
declare function ReactionButton({ reactionsFor, currentReaction, isGettingReactions, topReactions, totalReactions, post, postId, commentId, profileUserId, pageId, }: TReactionsButtonProps): React__default.JSX.Element;
|
|
2408
|
+
declare function ReactionButton({ reactionsFor, currentReaction, isGettingReactions, topReactions, totalReactions, post, postId, commentId, profileUserId, pageId, className, }: TReactionsButtonProps): React__default.JSX.Element;
|
|
2408
2409
|
|
|
2409
2410
|
declare function getPostReactionSummary(post: TReactionPostSnapshot, options?: {
|
|
2410
2411
|
fallbackTop?: TReaction[];
|