@mirantes-micro/foundation-design-system 1.2.218 → 1.2.220

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
@@ -978,6 +978,11 @@ interface ShareProfileButtonProps {
978
978
  }
979
979
  declare function ShareProfileButton({ onClick }: ShareProfileButtonProps): React__default.JSX.Element;
980
980
 
981
+ interface ShareOtherProfileButtonProps {
982
+ onClick: () => void;
983
+ }
984
+ declare function ShareOtherProfileButton({ onClick }: ShareOtherProfileButtonProps): React__default.JSX.Element;
985
+
981
986
  interface ShareProfileModalProps extends RattingSuggestionCardProps {
982
987
  isOpen: boolean;
983
988
  onClose: () => void;
@@ -1344,7 +1349,7 @@ type PostAttachmentProps$1 = {
1344
1349
  };
1345
1350
  type Post$1 = {
1346
1351
  user: User$1;
1347
- postType: "NORMAL" | "REEL" | "ARTICLE";
1352
+ postType: 'NORMAL' | 'REEL' | 'ARTICLE';
1348
1353
  id: string;
1349
1354
  createdAt: string;
1350
1355
  scheduledAt?: string;
@@ -1352,6 +1357,7 @@ type Post$1 = {
1352
1357
  content: string;
1353
1358
  totalShares: number;
1354
1359
  totalReactions?: number;
1360
+ currentUserReaction?: string;
1355
1361
  totalComments?: number;
1356
1362
  attachment?: PostAttachmentProps$1;
1357
1363
  isFollowed?: boolean;
@@ -1442,14 +1448,14 @@ type Post$1 = {
1442
1448
  type PostAssetProps$1 = {
1443
1449
  id: string;
1444
1450
  url: string;
1445
- type?: "image" | "video" | "pdf";
1451
+ type?: 'image' | 'video' | 'pdf';
1446
1452
  createdAt?: string;
1447
1453
  };
1448
1454
  type PostReactionsProps$1 = {
1449
1455
  id: string;
1450
1456
  userId: string;
1451
1457
  postId: string;
1452
- reaction: "LIKE" | "LOVE" | "HAHA" | "WOW" | "SAD" | "ANGRY" | "AGREE" | "DISLIKE" | "EUREKA" | "NO_COMMENT" | "SUPPORT" | "DISAGREE";
1458
+ reaction: 'LIKE' | 'LOVE' | 'HAHA' | 'WOW' | 'SAD' | 'ANGRY' | 'AGREE' | 'DISLIKE' | 'EUREKA' | 'NO_COMMENT' | 'SUPPORT' | 'DISAGREE';
1453
1459
  createdAt?: string;
1454
1460
  updatedAt?: string;
1455
1461
  user?: User$1;
@@ -1458,7 +1464,7 @@ type CommentReactionsProps$1 = {
1458
1464
  id: string;
1459
1465
  userId: string;
1460
1466
  commentId: string;
1461
- reaction: "LIKE" | "LOVE" | "HAHA" | "AGREE" | "DISLIKE" | "EUREKA" | "NO_COMMENT" | "SUPPORT";
1467
+ reaction: 'LIKE' | 'LOVE' | 'HAHA' | 'AGREE' | 'DISLIKE' | 'EUREKA' | 'NO_COMMENT' | 'SUPPORT';
1462
1468
  createdAt: string;
1463
1469
  updatedAt: string;
1464
1470
  user?: User$1;
@@ -1489,7 +1495,7 @@ declare function ReactPostButton({ post, hideLabel, className, orientation, }: {
1489
1495
  post: Post$1;
1490
1496
  hideLabel?: boolean;
1491
1497
  className?: string;
1492
- orientation?: "vertical" | "horizontal";
1498
+ orientation?: 'vertical' | 'horizontal';
1493
1499
  }): JSX.Element;
1494
1500
 
1495
1501
  interface TargetEntity {
@@ -2240,4 +2246,4 @@ declare function useRegisterTracking(): {
2240
2246
  registerEvent: _tanstack_react_query.UseMutateFunction<ICreateTelemetryEventOutput | null, Error, ICreateTelemetryEventInput, unknown>;
2241
2247
  };
2242
2248
 
2243
- export { ActivateAccountModal, AddRating, AddressAutocompleteInput, AnimatedModal, ArticleContent, ArticleViewer, AutoDownloadBanner, AvatarRatingBadge, BaseInput, Button, ChatContacts, ChatListWrapper, ChatView, ChatViewDesktopPage, CheckBoxInput, closeLogoutChannel as CloseLogoutChannel, ContactsModal, ControlButtons, CountryDisplay, CountryInput, CreatePostCard, CreatePostContent, CreatePostForm, CreatePostModal, CreatePostModalFilters, CreatePostReelForm, CreatePostScheduleStep, CreatePostToolbar, CustomDateInput, CustomDrawer, CustomDropdown, CustomSelectInput, DateInput, DownloadMobileVersionBanner, DownloadModalTrigger, GradientModal, Header, MessageButton, MessagesButtonFromPage, MirantesButton, Index as MirantesChatApp, MirantesChatButton, MirantesFoundationProvider, MobileWorkspaceBar, NoRecruitmentResponsiveIlustration, onLogout as Onlogout, PageChatContent, PageChatContentHeader, PageChatInput, PageChatList, PageChatListWrapper, PageChatUserSuggestions, PageFloatFooter, PageMessageWrapper, PagesFeedTrigger, PdfFooter, PdfFullscreenView, PdfReader, PdfReaderHeader, PostCardArticle, ProgressBar, RadioButtonInput, RatingReviewsList, RatingUserCard, RatingsCard, RatingsSummary, RattingSuggestionCard, ReactPostButton, ResponsiveDrawer, SalaryInputWithButton, Calendar as ScheduleCalendar, SharePostModal, ShareProfile, ShareProfileButton, ShareProfileModal, Spinner, WorkspacePanel, broadcastLogout, clearSettingsCookie, clearUserSession, closeLogoutChannel, createPersistentState, getInitials, getSettingsFromCookie, joinUrlWithPathAndQuery, onLogout, stringToObj, useApiCheckRater, useApiGetPage, useArticleNavigation, useArticleStore, useAssetVersions, useBestAssetVersion, useCandidaciesTriggerStore, useCommunityTriggerStore, useCreatePostFormStore, useCreatePostStore, useJobTriggerStore, useLoadSettings, useMessageAppStore, useMirantesFoundation, useModalArticleStore, useModalStore, useOpenChat, useOportunitiesStore, usePeriodicDownloadBanner, usePersistentUIState, useRegisterTracking, useRestorePendingChat, useSavedItemsStore, useSetChatVisibility, useSignedUrl, useUploadAsset, useUploadAssetsBulk };
2249
+ export { ActivateAccountModal, AddRating, AddressAutocompleteInput, AnimatedModal, ArticleContent, ArticleViewer, AutoDownloadBanner, AvatarRatingBadge, BaseInput, Button, ChatContacts, ChatListWrapper, ChatView, ChatViewDesktopPage, CheckBoxInput, closeLogoutChannel as CloseLogoutChannel, ContactsModal, ControlButtons, CountryDisplay, CountryInput, CreatePostCard, CreatePostContent, CreatePostForm, CreatePostModal, CreatePostModalFilters, CreatePostReelForm, CreatePostScheduleStep, CreatePostToolbar, CustomDateInput, CustomDrawer, CustomDropdown, CustomSelectInput, DateInput, DownloadMobileVersionBanner, DownloadModalTrigger, GradientModal, Header, MessageButton, MessagesButtonFromPage, MirantesButton, Index as MirantesChatApp, MirantesChatButton, MirantesFoundationProvider, MobileWorkspaceBar, NoRecruitmentResponsiveIlustration, onLogout as Onlogout, PageChatContent, PageChatContentHeader, PageChatInput, PageChatList, PageChatListWrapper, PageChatUserSuggestions, PageFloatFooter, PageMessageWrapper, PagesFeedTrigger, PdfFooter, PdfFullscreenView, PdfReader, PdfReaderHeader, PostCardArticle, ProgressBar, RadioButtonInput, RatingReviewsList, RatingUserCard, RatingsCard, RatingsSummary, RattingSuggestionCard, ReactPostButton, ResponsiveDrawer, SalaryInputWithButton, Calendar as ScheduleCalendar, ShareOtherProfileButton, SharePostModal, ShareProfile, ShareProfileButton, ShareProfileModal, Spinner, WorkspacePanel, broadcastLogout, clearSettingsCookie, clearUserSession, closeLogoutChannel, createPersistentState, getInitials, getSettingsFromCookie, joinUrlWithPathAndQuery, onLogout, stringToObj, useApiCheckRater, useApiGetPage, useArticleNavigation, useArticleStore, useAssetVersions, useBestAssetVersion, useCandidaciesTriggerStore, useCommunityTriggerStore, useCreatePostFormStore, useCreatePostStore, useJobTriggerStore, useLoadSettings, useMessageAppStore, useMirantesFoundation, useModalArticleStore, useModalStore, useOpenChat, useOportunitiesStore, usePeriodicDownloadBanner, usePersistentUIState, useRegisterTracking, useRestorePendingChat, useSavedItemsStore, useSetChatVisibility, useSignedUrl, useUploadAsset, useUploadAssetsBulk };