@mirantes-micro/foundation-design-system 1.2.188 → 1.2.189
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 +3 -1
- package/dist/index.js +224 -224
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ interface IMirantesFoundationProviderProps {
|
|
|
24
24
|
onOpenCreatePostModal?: () => void;
|
|
25
25
|
commentComponents?: ReactNode | JSX.Element;
|
|
26
26
|
pageTriggerComponents?: ReactNode | JSX.Element;
|
|
27
|
+
openCreateJobModal?: () => void;
|
|
27
28
|
values?: {
|
|
28
29
|
pageId?: string;
|
|
29
30
|
isPageFeed?: boolean;
|
|
@@ -115,6 +116,7 @@ interface IMirantesFoundationContext {
|
|
|
115
116
|
authApiUrl?: string;
|
|
116
117
|
queryClient?: QueryClient;
|
|
117
118
|
onOpenCreatePostModal?: (cb?: () => void) => void;
|
|
119
|
+
openCreateJobModal?: () => void;
|
|
118
120
|
commentComponents?: ReactNode | JSX.Element;
|
|
119
121
|
pageTriggerComponents?: ReactNode | JSX.Element;
|
|
120
122
|
}
|
|
@@ -149,7 +151,7 @@ type User$3 = {
|
|
|
149
151
|
type LinkComponent = (props: CommonLinkProps) => any;
|
|
150
152
|
type UsePathname = () => string;
|
|
151
153
|
|
|
152
|
-
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, analyticsApiUrl, isGettingStats, openCageApiKey, pageId, authedApi, authApiUrl, socketApiUrl, uploadFilesApi, page, ocpSubscriptionKey, billingApiUrl, multicaixaExpressUrl, stripeKey, isPageFeed, community, isCommunityFeed }, }: IMirantesFoundationProviderProps): React__default.JSX.Element;
|
|
154
|
+
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;
|
|
153
155
|
|
|
154
156
|
declare function WorkspacePanel(): React__default.JSX.Element;
|
|
155
157
|
|