@mirantes-micro/foundation-design-system 1.2.188 → 1.2.190
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 +10 -2
- package/dist/index.js +241 -234
- 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;
|
|
@@ -85,6 +86,7 @@ interface IMirantesFoundationContext {
|
|
|
85
86
|
environment?: string;
|
|
86
87
|
socketApiUrl?: string;
|
|
87
88
|
mirantesDomain?: string;
|
|
89
|
+
hostUrl?: string;
|
|
88
90
|
locale?: TLocale;
|
|
89
91
|
Link?: LinkComponent;
|
|
90
92
|
usePathname?: UsePathname;
|
|
@@ -115,6 +117,7 @@ interface IMirantesFoundationContext {
|
|
|
115
117
|
authApiUrl?: string;
|
|
116
118
|
queryClient?: QueryClient;
|
|
117
119
|
onOpenCreatePostModal?: (cb?: () => void) => void;
|
|
120
|
+
openCreateJobModal?: () => void;
|
|
118
121
|
commentComponents?: ReactNode | JSX.Element;
|
|
119
122
|
pageTriggerComponents?: ReactNode | JSX.Element;
|
|
120
123
|
}
|
|
@@ -149,7 +152,7 @@ type User$3 = {
|
|
|
149
152
|
type LinkComponent = (props: CommonLinkProps) => any;
|
|
150
153
|
type UsePathname = () => string;
|
|
151
154
|
|
|
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;
|
|
155
|
+
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
156
|
|
|
154
157
|
declare function WorkspacePanel(): React__default.JSX.Element;
|
|
155
158
|
|
|
@@ -826,10 +829,12 @@ interface OportunitiesState {
|
|
|
826
829
|
}
|
|
827
830
|
declare const useOportunitiesStore: zustand.UseBoundStore<zustand.StoreApi<OportunitiesState>>;
|
|
828
831
|
|
|
829
|
-
declare function ChatContacts({ postId, onClose, searchTerm }: {
|
|
832
|
+
declare function ChatContacts({ postId, onClose, searchTerm, selectedContacts, setSelectedContacts }: {
|
|
830
833
|
postId?: string;
|
|
831
834
|
onClose?: () => void;
|
|
832
835
|
searchTerm?: string;
|
|
836
|
+
selectedContacts?: Set<string>;
|
|
837
|
+
setSelectedContacts?: (contacts: Set<string> | ((prev: Set<string>) => Set<string>)) => void;
|
|
833
838
|
}): React__default.JSX.Element;
|
|
834
839
|
|
|
835
840
|
declare const DownloadMobileVersionBanner: () => React__default.JSX.Element;
|
|
@@ -1087,12 +1092,14 @@ type PostAttachmentProps$2 = {
|
|
|
1087
1092
|
description?: string;
|
|
1088
1093
|
imageUrl?: string;
|
|
1089
1094
|
url?: string;
|
|
1095
|
+
slug?: string;
|
|
1090
1096
|
type: string;
|
|
1091
1097
|
};
|
|
1092
1098
|
type Post$2 = {
|
|
1093
1099
|
user: User$2;
|
|
1094
1100
|
postType: "NORMAL" | "REEL";
|
|
1095
1101
|
id: string;
|
|
1102
|
+
slug: string;
|
|
1096
1103
|
createdAt: string;
|
|
1097
1104
|
scheduledAt?: string;
|
|
1098
1105
|
bio: string;
|
|
@@ -1110,6 +1117,7 @@ type Post$2 = {
|
|
|
1110
1117
|
description: string;
|
|
1111
1118
|
imageUrl: string;
|
|
1112
1119
|
url: string;
|
|
1120
|
+
slug: string;
|
|
1113
1121
|
};
|
|
1114
1122
|
images: PostAssetProps$2[];
|
|
1115
1123
|
videos: PostAssetProps$2[];
|