@mirantes-micro/foundation-design-system 1.2.114 → 1.2.116
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 +30 -6
- package/dist/index.js +277 -193
- package/package.json +196 -196
package/dist/index.d.ts
CHANGED
|
@@ -588,7 +588,6 @@ interface IUser {
|
|
|
588
588
|
isGroup?: boolean;
|
|
589
589
|
isMuted?: boolean;
|
|
590
590
|
participants?: IUser[];
|
|
591
|
-
asPage?: boolean;
|
|
592
591
|
isGroupAdmin?: boolean;
|
|
593
592
|
}
|
|
594
593
|
type TMessage = {
|
|
@@ -684,6 +683,25 @@ type State = {
|
|
|
684
683
|
|
|
685
684
|
declare const useMessageAppStore: zustand.UseBoundStore<zustand.StoreApi<State>>;
|
|
686
685
|
|
|
686
|
+
declare function PageChatList(): React__default.JSX.Element;
|
|
687
|
+
|
|
688
|
+
declare function PageChatContent(): React__default.JSX.Element;
|
|
689
|
+
|
|
690
|
+
type PageChatUserSuggestionsProps = {
|
|
691
|
+
onUserClick?: () => void;
|
|
692
|
+
};
|
|
693
|
+
declare const PageChatUserSuggestions: React__default.ForwardRefExoticComponent<PageChatUserSuggestionsProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
694
|
+
|
|
695
|
+
declare function PageChatListWrapper(): React__default.JSX.Element;
|
|
696
|
+
|
|
697
|
+
declare function PageChatInput(): React__default.JSX.Element;
|
|
698
|
+
|
|
699
|
+
declare function PageChatContentHeader(): React__default.JSX.Element | null;
|
|
700
|
+
|
|
701
|
+
declare function PageMessageWrapper({ containerRef: externalContainerRef }: {
|
|
702
|
+
containerRef?: React__default.RefObject<HTMLDivElement | null>;
|
|
703
|
+
}): React__default.JSX.Element;
|
|
704
|
+
|
|
687
705
|
interface JobTriggerState {
|
|
688
706
|
isJobOpen: boolean;
|
|
689
707
|
openJob: () => void;
|
|
@@ -837,6 +855,9 @@ interface IRatingsCardProps {
|
|
|
837
855
|
communityId?: string;
|
|
838
856
|
forAPage?: boolean;
|
|
839
857
|
currentUserId?: string;
|
|
858
|
+
pageSlug?: string;
|
|
859
|
+
userSlug?: string;
|
|
860
|
+
communitySlug?: string;
|
|
840
861
|
}
|
|
841
862
|
type TRatingUserCard = {
|
|
842
863
|
user: {
|
|
@@ -852,7 +873,7 @@ type TRatingUserCard = {
|
|
|
852
873
|
createdAt: string | Date;
|
|
853
874
|
};
|
|
854
875
|
|
|
855
|
-
declare function RatingsCard({ isCurrentPageOrProfile, pageId, userId, communityId, variant, forAPage, currentUserId, className, }: IRatingsCardProps & {
|
|
876
|
+
declare function RatingsCard({ isCurrentPageOrProfile, pageId, userId, communityId, variant, forAPage, currentUserId, className, pageSlug, userSlug, communitySlug, }: IRatingsCardProps & {
|
|
856
877
|
variant?: "maximized" | "minimized";
|
|
857
878
|
className?: string;
|
|
858
879
|
}): React__default.JSX.Element;
|
|
@@ -902,8 +923,9 @@ type AvatarRatingBadgeProps = {
|
|
|
902
923
|
src?: string;
|
|
903
924
|
rating: number;
|
|
904
925
|
asPage?: boolean;
|
|
926
|
+
isCommunity?: boolean;
|
|
905
927
|
};
|
|
906
|
-
declare function AvatarRatingBadge({ name, asPage, src, rating }: AvatarRatingBadgeProps): React__default.JSX.Element;
|
|
928
|
+
declare function AvatarRatingBadge({ name, asPage, src, rating, isCommunity }: AvatarRatingBadgeProps): React__default.JSX.Element;
|
|
907
929
|
|
|
908
930
|
type AddRatingProps = {
|
|
909
931
|
enableTitle?: boolean;
|
|
@@ -918,9 +940,11 @@ type AddRatingProps = {
|
|
|
918
940
|
receiverCommunityId?: string;
|
|
919
941
|
className?: string;
|
|
920
942
|
isCommunity?: boolean;
|
|
943
|
+
pageSlug?: string;
|
|
944
|
+
userSlug?: string;
|
|
945
|
+
communitySlug?: string;
|
|
921
946
|
};
|
|
922
|
-
declare function AddRating({ enableTitle, variantStars, starSize, forAPage, receiverPageId, receiverUserId, receiverCommunityId, className,
|
|
923
|
-
isCommunity, }: AddRatingProps): React__default.JSX.Element;
|
|
947
|
+
declare function AddRating({ enableTitle, variantStars, starSize, forAPage, receiverPageId, receiverUserId, receiverCommunityId, className, isCommunity, pageSlug, userSlug, communitySlug, }: AddRatingProps): React__default.JSX.Element;
|
|
924
948
|
|
|
925
949
|
interface PageFloatFooterProps {
|
|
926
950
|
/**
|
|
@@ -1691,4 +1715,4 @@ interface SavedItemsStoreProps {
|
|
|
1691
1715
|
}
|
|
1692
1716
|
declare const useSavedItemsStore: zustand.UseBoundStore<zustand.StoreApi<SavedItemsStoreProps>>;
|
|
1693
1717
|
|
|
1694
|
-
export { ActivateAccountModal, AddRating, AddressAutocompleteInput, AnimatedModal, ArticleContent, ArticleViewer, AutoDownloadBanner, AvatarRatingBadge, BaseInput, Button, ChatContacts, ChatListWrapper, ChatView, ChatViewDesktopPage, CheckBoxInput, ContactsModal, ControlButtons, CountryDisplay, CountryInput, CreatePostCard, CreatePostModal, CustomDateInput, CustomDrawer, CustomDropdown, CustomSelectInput, DateInput, DownloadMobileVersionBanner, DownloadModalTrigger, GradientModal, Header, MessageButton, MessagesButtonFromPage, MirantesButton, MirantesFoundationProvider, NoRecruitmentResponsiveIlustration, PageFloatFooter, 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, clearSettingsCookie, closeLogoutChannel, getInitials, getSettingsFromCookie, joinUrlWithPathAndQuery, onLogout, stringToObj, useApiCheckRater, useApiGetPage, useArticleNavigation, useArticleStore, useAssetVersions, useBestAssetVersion, useCandidaciesTriggerStore, useCommunityTriggerStore, useJobTriggerStore, useLoadSettings, useMessageAppStore, useMirantesFoundation, useModalArticleStore, useModalStore, useOportunitiesStore, usePeriodicDownloadBanner, useRestorePendingChat, useSavedItemsStore, useSetChatVisibility, useSignedUrl, useUploadAsset, useUploadAssetsBulk };
|
|
1718
|
+
export { ActivateAccountModal, AddRating, AddressAutocompleteInput, AnimatedModal, ArticleContent, ArticleViewer, AutoDownloadBanner, AvatarRatingBadge, BaseInput, Button, ChatContacts, ChatListWrapper, ChatView, ChatViewDesktopPage, CheckBoxInput, ContactsModal, ControlButtons, CountryDisplay, CountryInput, CreatePostCard, CreatePostModal, CustomDateInput, CustomDrawer, CustomDropdown, CustomSelectInput, DateInput, DownloadMobileVersionBanner, DownloadModalTrigger, GradientModal, Header, MessageButton, MessagesButtonFromPage, MirantesButton, MirantesFoundationProvider, NoRecruitmentResponsiveIlustration, 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, clearSettingsCookie, closeLogoutChannel, getInitials, getSettingsFromCookie, joinUrlWithPathAndQuery, onLogout, stringToObj, useApiCheckRater, useApiGetPage, useArticleNavigation, useArticleStore, useAssetVersions, useBestAssetVersion, useCandidaciesTriggerStore, useCommunityTriggerStore, useJobTriggerStore, useLoadSettings, useMessageAppStore, useMirantesFoundation, useModalArticleStore, useModalStore, useOportunitiesStore, usePeriodicDownloadBanner, useRestorePendingChat, useSavedItemsStore, useSetChatVisibility, useSignedUrl, useUploadAsset, useUploadAssetsBulk };
|