@mirantes-micro/foundation-design-system 1.2.97 → 1.2.99

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
@@ -25,11 +25,13 @@ interface IMirantesFoundationProviderProps {
25
25
  pageTriggerComponents?: ReactNode | JSX.Element;
26
26
  values?: {
27
27
  pageId?: string;
28
+ isPageFeed?: boolean;
28
29
  page?: {
29
30
  id?: string;
30
31
  slug?: string;
31
32
  logo?: string;
32
33
  name?: string;
34
+ sector?: string;
33
35
  };
34
36
  widgetsApi?: string;
35
37
  searchApi?: string;
@@ -76,13 +78,15 @@ interface IMirantesFoundationContext {
76
78
  locale?: TLocale;
77
79
  Link?: LinkComponent;
78
80
  usePathname?: UsePathname;
79
- pageId?: string;
80
81
  user?: User$2;
82
+ isPageFeed?: boolean;
83
+ pageId?: string;
81
84
  page?: {
82
85
  id?: string;
83
86
  slug?: string;
84
87
  logo?: string;
85
88
  name?: string;
89
+ sector?: string;
86
90
  };
87
91
  isGettingUser?: boolean;
88
92
  isGettingStats?: boolean;
@@ -128,7 +132,7 @@ type User$2 = {
128
132
  type LinkComponent = (props: CommonLinkProps) => any;
129
133
  type UsePathname = () => string;
130
134
 
131
- declare function MirantesFoundationProvider({ children, Notification, queryClient, onOpenCreatePostModal, commentComponents, pageTriggerComponents, values: { chatApiUrl, chatForPage, locale, Link, usePathname, user, isGettingUser, mirantesDomain, environment, feedApi, searchApi, widgetsApi, hostUrl, assetsApiUrl, isDev, profileApiUrl, isGettingStats, openCageApiKey, pageId, authedApi, authApiUrl, socketApiUrl, uploadFilesApi, page, ocpSubscriptionKey, billingApiUrl, multicaixaExpressUrl, stripeKey, }, }: IMirantesFoundationProviderProps): React__default.JSX.Element;
135
+ declare function MirantesFoundationProvider({ children, Notification, queryClient, onOpenCreatePostModal, commentComponents, pageTriggerComponents, values: { chatApiUrl, chatForPage, locale, Link, usePathname, user, isGettingUser, mirantesDomain, environment, feedApi, searchApi, widgetsApi, hostUrl, assetsApiUrl, isDev, profileApiUrl, isGettingStats, openCageApiKey, pageId, authedApi, authApiUrl, socketApiUrl, uploadFilesApi, page, ocpSubscriptionKey, billingApiUrl, multicaixaExpressUrl, stripeKey, isPageFeed }, }: IMirantesFoundationProviderProps): React__default.JSX.Element;
132
136
 
133
137
  declare function WorkspacePanel(): React__default.JSX.Element;
134
138
 
@@ -1597,4 +1601,9 @@ declare const PostCardArticle: ({ src, title, content }: {
1597
1601
  content?: string;
1598
1602
  }) => React__default.JSX.Element;
1599
1603
 
1600
- export { ActivateAccountModal, AddRating, AddressAutocompleteInput, AnimatedModal, ArticleContent, 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, RatingsCard, 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, useSetChatVisibility, useSignedUrl, useUploadAsset, useUploadAssetsBulk };
1604
+ interface ArticleViewerProps {
1605
+ content: string;
1606
+ }
1607
+ declare function ArticleViewer({ content }: ArticleViewerProps): React__default.JSX.Element;
1608
+
1609
+ 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, RatingsCard, 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, useSetChatVisibility, useSignedUrl, useUploadAsset, useUploadAssetsBulk };