@mirantes-micro/foundation-design-system 1.2.106 → 1.2.109
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 +22 -3
- package/dist/index.js +144 -144
- package/package.json +196 -196
package/dist/index.d.ts
CHANGED
|
@@ -797,13 +797,13 @@ interface AutoDownloadBannerProps {
|
|
|
797
797
|
}
|
|
798
798
|
declare const AutoDownloadBanner: React__default.FC<AutoDownloadBannerProps>;
|
|
799
799
|
|
|
800
|
-
interface ModalState {
|
|
800
|
+
interface ModalState$1 {
|
|
801
801
|
isDownloadModalOpen: boolean;
|
|
802
802
|
openDownloadModal: () => void;
|
|
803
803
|
closeDownloadModal: () => void;
|
|
804
804
|
toggleDownloadModal: () => void;
|
|
805
805
|
}
|
|
806
|
-
declare const useModalStore: zustand.UseBoundStore<zustand.StoreApi<ModalState>>;
|
|
806
|
+
declare const useModalStore: zustand.UseBoundStore<zustand.StoreApi<ModalState$1>>;
|
|
807
807
|
|
|
808
808
|
interface BannerConfig {
|
|
809
809
|
/** Número máximo de vezes que o banner pode ser mostrado (padrão: 5) */
|
|
@@ -953,6 +953,16 @@ declare function RatingsSummary({ variant, asPage, receiverUserId, receiverPageI
|
|
|
953
953
|
|
|
954
954
|
declare function RatingUserCard({ user, rating, userRating, comment, createdAt, anonymous, }: TRatingUserCard): React__default.JSX.Element;
|
|
955
955
|
|
|
956
|
+
declare const useApiCheckRater: ({ userId, pageId, communityId, forAPage }: {
|
|
957
|
+
userId?: string;
|
|
958
|
+
pageId?: string;
|
|
959
|
+
communityId?: string;
|
|
960
|
+
forAPage?: boolean;
|
|
961
|
+
}) => {
|
|
962
|
+
hasRated: boolean | undefined;
|
|
963
|
+
isCheckingRater: boolean;
|
|
964
|
+
};
|
|
965
|
+
|
|
956
966
|
type User$1 = {
|
|
957
967
|
id?: string;
|
|
958
968
|
name?: string;
|
|
@@ -1656,6 +1666,15 @@ interface ArticleViewerProps {
|
|
|
1656
1666
|
}
|
|
1657
1667
|
declare function ArticleViewer({ content }: ArticleViewerProps): React__default.JSX.Element;
|
|
1658
1668
|
|
|
1669
|
+
type ModalState = {
|
|
1670
|
+
isOpen: boolean;
|
|
1671
|
+
modalId: string | null;
|
|
1672
|
+
openModal: () => void;
|
|
1673
|
+
closeModal: () => void;
|
|
1674
|
+
toggleModal: () => void;
|
|
1675
|
+
};
|
|
1676
|
+
declare const useModalArticleStore: zustand.UseBoundStore<zustand.StoreApi<ModalState>>;
|
|
1677
|
+
|
|
1659
1678
|
interface SavedItemsStoreProps {
|
|
1660
1679
|
isOpen: boolean;
|
|
1661
1680
|
openModal: () => void;
|
|
@@ -1664,4 +1683,4 @@ interface SavedItemsStoreProps {
|
|
|
1664
1683
|
}
|
|
1665
1684
|
declare const useSavedItemsStore: zustand.UseBoundStore<zustand.StoreApi<SavedItemsStoreProps>>;
|
|
1666
1685
|
|
|
1667
|
-
export { ActivateAccountModal, AddRating, AddressAutocompleteInput, AnimatedModal, ArticleContent, ArticleViewer, AutoDownloadBanner, AvatarRatingBadge, BaseInput, Button, ChatContacts, ChatListWrapper, ChatView, ChatViewDesktopPage, CheckBoxInput, ContactsModal, ControlButtons, CountryDisplay, CountryInput, CreatePostCard, 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, useApiGetPage, useArticleNavigation, useArticleStore, useAssetVersions, useBestAssetVersion, useCandidaciesTriggerStore, useCommunityTriggerStore, useJobTriggerStore, useLoadSettings, useMessageAppStore, useMirantesFoundation, useModalStore, useOportunitiesStore, usePeriodicDownloadBanner, useRestorePendingChat, useSavedItemsStore, useSetChatVisibility, useSignedUrl, useUploadAsset, useUploadAssetsBulk };
|
|
1686
|
+
export { ActivateAccountModal, AddRating, AddressAutocompleteInput, AnimatedModal, ArticleContent, ArticleViewer, AutoDownloadBanner, AvatarRatingBadge, BaseInput, Button, ChatContacts, ChatListWrapper, ChatView, ChatViewDesktopPage, CheckBoxInput, ContactsModal, ControlButtons, CountryDisplay, CountryInput, CreatePostCard, 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 };
|