@mirantes-micro/foundation-design-system 1.0.46 → 1.0.48
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 +2 -1
- package/dist/index.js +44 -44
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -65,6 +65,7 @@ interface IMirantesFoundationContext {
|
|
|
65
65
|
authedApi?: AxiosInstance;
|
|
66
66
|
uploadFilesApi?: AxiosInstance;
|
|
67
67
|
authApiUrl?: string;
|
|
68
|
+
queryClient?: QueryClient;
|
|
68
69
|
onOpenCreatePostModal?: (cb?: () => void) => void;
|
|
69
70
|
}
|
|
70
71
|
type CommonLinkProps = {
|
|
@@ -95,7 +96,7 @@ type User = {
|
|
|
95
96
|
type LinkComponent = (props: CommonLinkProps) => any;
|
|
96
97
|
type UsePathname = () => string;
|
|
97
98
|
|
|
98
|
-
declare function MirantesFoundationProvider({ children, Notification, queryClient
|
|
99
|
+
declare function MirantesFoundationProvider({ children, Notification, queryClient, onOpenCreatePostModal, values: { chatApiUrl, chatForPage, locale, Link, usePathname, user, isGettingUser, mirantesDomain, environment, feedApi, widgetsApi, hostUrl, isDev, profileApiUrl, isGettingStats, openCageApiKey, pageId, authedApi, authApiUrl, socketApiUrl, uploadFilesApi }, }: IMirantesFoundationProviderProps): React__default.JSX.Element;
|
|
99
100
|
|
|
100
101
|
declare function WorkspacePanel(): React__default.JSX.Element;
|
|
101
102
|
|