@mirantes-micro/foundation-design-system 1.2.261 → 1.2.262

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
@@ -63,7 +63,6 @@ interface IMirantesFoundationProviderProps {
63
63
  onOpenCreatePostModal?: () => void;
64
64
  commentComponents?: ReactNode | JSX.Element;
65
65
  pageTriggerComponents?: ReactNode | JSX.Element;
66
- postCardComponent?: ReactNode | JSX.Element;
67
66
  openCreateJobModal?: () => void;
68
67
  values?: {
69
68
  pageId?: string;
@@ -161,7 +160,6 @@ interface IMirantesFoundationContext {
161
160
  openCreateJobModal?: () => void;
162
161
  commentComponents?: ReactNode | JSX.Element;
163
162
  pageTriggerComponents?: ReactNode | JSX.Element;
164
- postCardComponent?: ReactNode | JSX.Element;
165
163
  }
166
164
  type CommonLinkProps = {
167
165
  to?: string;
@@ -199,7 +197,7 @@ type User$3 = {
199
197
  type LinkComponent = (props: CommonLinkProps) => any;
200
198
  type UsePathname = () => string;
201
199
 
202
- declare function MirantesFoundationProvider({ children, Notification, queryClient, onOpenCreatePostModal, commentComponents, pageTriggerComponents, postCardComponent, openCreateJobModal, values: { chatApiUrl, chatForPage, locale, Link, usePathname, user, isGettingUser, mirantesDomain, environment, feedApi, searchApi, widgetsApi, hostUrl, assetsApiUrl, isDev, profileApiUrl, analyticsApiUrl, isGettingStats, openCageApiKey, pageId, authedApi, authApiUrl, socketApiUrl, uploadFilesApi, page, ocpSubscriptionKey, billingApiUrl, multicaixaExpressUrl, stripeKey, isPageFeed, community, isCommunityFeed, }, }: IMirantesFoundationProviderProps): React__default.JSX.Element;
200
+ declare function MirantesFoundationProvider({ children, Notification, queryClient, onOpenCreatePostModal, commentComponents, pageTriggerComponents, openCreateJobModal, values: { chatApiUrl, chatForPage, locale, Link, usePathname, user, isGettingUser, mirantesDomain, environment, feedApi, searchApi, widgetsApi, hostUrl, assetsApiUrl, isDev, profileApiUrl, analyticsApiUrl, isGettingStats, openCageApiKey, pageId, authedApi, authApiUrl, socketApiUrl, uploadFilesApi, page, ocpSubscriptionKey, billingApiUrl, multicaixaExpressUrl, stripeKey, isPageFeed, community, isCommunityFeed, }, }: IMirantesFoundationProviderProps): React__default.JSX.Element;
203
201
 
204
202
  declare function useMirantesFoundation(): IMirantesFoundationContext;
205
203
 
@@ -2316,8 +2314,9 @@ interface SharePostModalProps {
2316
2314
  post: Post;
2317
2315
  isProfileLink?: boolean;
2318
2316
  variant?: "share" | "repost";
2317
+ postCardComponent?: React__default.ReactNode | JSX.Element;
2319
2318
  }
2320
- declare const SharePostModal: ({ isOpen, onClose, post, variant, isProfileLink, }: SharePostModalProps) => React__default.JSX.Element;
2319
+ declare const SharePostModal: ({ isOpen, onClose, post, variant, isProfileLink, postCardComponent, }: SharePostModalProps) => JSX.Element;
2321
2320
 
2322
2321
  declare function getInitials(fullName: string): string;
2323
2322