@mirantes-micro/foundation-design-system 1.0.49 → 1.0.51

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
@@ -21,7 +21,12 @@ interface IMirantesFoundationProviderProps {
21
21
  onOpenCreatePostModal?: () => void;
22
22
  values?: {
23
23
  pageId?: string;
24
- page?: {};
24
+ page?: {
25
+ id?: string;
26
+ slug?: string;
27
+ logo?: string;
28
+ name?: string;
29
+ };
25
30
  widgetsApi?: string;
26
31
  feedApi?: string;
27
32
  environment?: string;
@@ -58,6 +63,12 @@ interface IMirantesFoundationContext {
58
63
  usePathname?: UsePathname;
59
64
  pageId?: string;
60
65
  user?: User;
66
+ page?: {
67
+ id?: string;
68
+ slug?: string;
69
+ logo?: string;
70
+ name?: string;
71
+ };
61
72
  isGettingUser?: boolean;
62
73
  isGettingStats?: boolean;
63
74
  Notification?: ReactNode;
@@ -96,7 +107,7 @@ type User = {
96
107
  type LinkComponent = (props: CommonLinkProps) => any;
97
108
  type UsePathname = () => string;
98
109
 
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;
110
+ 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, page }, }: IMirantesFoundationProviderProps): React__default.JSX.Element;
100
111
 
101
112
  declare function WorkspacePanel(): React__default.JSX.Element;
102
113