@mirantes-micro/foundation-design-system 1.2.104 → 1.2.106
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 +17 -2
- package/dist/index.js +129 -129
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -26,6 +26,13 @@ interface IMirantesFoundationProviderProps {
|
|
|
26
26
|
values?: {
|
|
27
27
|
pageId?: string;
|
|
28
28
|
isPageFeed?: boolean;
|
|
29
|
+
isCommunityFeed?: boolean;
|
|
30
|
+
community?: {
|
|
31
|
+
id?: string;
|
|
32
|
+
name?: string;
|
|
33
|
+
slug?: string;
|
|
34
|
+
image?: string;
|
|
35
|
+
};
|
|
29
36
|
page?: {
|
|
30
37
|
id?: string;
|
|
31
38
|
slug?: string;
|
|
@@ -80,6 +87,13 @@ interface IMirantesFoundationContext {
|
|
|
80
87
|
usePathname?: UsePathname;
|
|
81
88
|
user?: User$2;
|
|
82
89
|
isPageFeed?: boolean;
|
|
90
|
+
isCommunityFeed?: boolean;
|
|
91
|
+
community?: {
|
|
92
|
+
id?: string;
|
|
93
|
+
name?: string;
|
|
94
|
+
slug?: string;
|
|
95
|
+
image?: string;
|
|
96
|
+
};
|
|
83
97
|
pageId?: string;
|
|
84
98
|
page?: {
|
|
85
99
|
id?: string;
|
|
@@ -132,7 +146,7 @@ type User$2 = {
|
|
|
132
146
|
type LinkComponent = (props: CommonLinkProps) => any;
|
|
133
147
|
type UsePathname = () => string;
|
|
134
148
|
|
|
135
|
-
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, isGettingStats, openCageApiKey, pageId, authedApi, authApiUrl, socketApiUrl, uploadFilesApi, page, ocpSubscriptionKey, billingApiUrl, multicaixaExpressUrl, stripeKey, isPageFeed }, }: IMirantesFoundationProviderProps): React__default.JSX.Element;
|
|
149
|
+
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, isGettingStats, openCageApiKey, pageId, authedApi, authApiUrl, socketApiUrl, uploadFilesApi, page, ocpSubscriptionKey, billingApiUrl, multicaixaExpressUrl, stripeKey, isPageFeed, community, isCommunityFeed }, }: IMirantesFoundationProviderProps): React__default.JSX.Element;
|
|
136
150
|
|
|
137
151
|
declare function WorkspacePanel(): React__default.JSX.Element;
|
|
138
152
|
|
|
@@ -1479,8 +1493,9 @@ interface PdfReaderProps {
|
|
|
1479
1493
|
pdfUrl?: string;
|
|
1480
1494
|
totalPages?: number;
|
|
1481
1495
|
pdfName?: string;
|
|
1496
|
+
className?: string;
|
|
1482
1497
|
}
|
|
1483
|
-
declare const PdfReader: ({ pdfUrl, totalPages: initialTotalPages, pdfName: initialPdfName }: PdfReaderProps) => React__default.JSX.Element;
|
|
1498
|
+
declare const PdfReader: ({ pdfUrl, totalPages: initialTotalPages, pdfName: initialPdfName, className }: PdfReaderProps) => React__default.JSX.Element;
|
|
1484
1499
|
|
|
1485
1500
|
interface PdfFullscreenViewProps {
|
|
1486
1501
|
pdfUrl: string;
|