@mirantes-micro/foundation-design-system 1.2.298 → 1.2.299

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
@@ -87,6 +87,10 @@ interface IMirantesFoundationProviderProps {
87
87
  onOpenCreatePostModal?: () => void;
88
88
  commentComponents?: ReactNode | JSX.Element;
89
89
  pageTriggerComponents?: ReactNode | JSX.Element;
90
+ createJobButton?: ({ onClick, showLabel, }: {
91
+ onClick?: () => void;
92
+ showLabel?: boolean;
93
+ }) => JSX.Element;
90
94
  openCreateJobModal?: () => void;
91
95
  values?: {
92
96
  pageId?: string;
@@ -184,6 +188,10 @@ interface IMirantesFoundationContext {
184
188
  openCreateJobModal?: () => void;
185
189
  commentComponents?: ReactNode | JSX.Element;
186
190
  pageTriggerComponents?: ReactNode | JSX.Element;
191
+ createJobButton?: ({ onClick, showLabel, }: {
192
+ onClick?: () => void;
193
+ showLabel?: boolean;
194
+ }) => JSX.Element;
187
195
  }
188
196
  type CommonLinkProps = {
189
197
  to?: string;
@@ -221,7 +229,7 @@ type User$3 = {
221
229
  type LinkComponent = (props: CommonLinkProps) => any;
222
230
  type UsePathname = () => string;
223
231
 
224
- 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;
232
+ declare function MirantesFoundationProvider({ children, Notification, queryClient, onOpenCreatePostModal, commentComponents, pageTriggerComponents, openCreateJobModal, createJobButton, 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;
225
233
 
226
234
  declare function useMirantesFoundation(): IMirantesFoundationContext;
227
235