@mirantes-micro/foundation-design-system 1.0.82 → 1.0.85
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 +103 -77
- package/package.json +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -32,6 +32,8 @@ interface IMirantesFoundationProviderProps {
|
|
|
32
32
|
feedApi?: string;
|
|
33
33
|
environment?: string;
|
|
34
34
|
profileApiUrl?: string;
|
|
35
|
+
billingApiUrl?: string;
|
|
36
|
+
multicaixaApiUrl?: string;
|
|
35
37
|
socketApiUrl?: string;
|
|
36
38
|
chatApiUrl?: string;
|
|
37
39
|
chatForPage?: boolean;
|
|
@@ -56,6 +58,8 @@ interface IMirantesFoundationContext {
|
|
|
56
58
|
feedApi?: string;
|
|
57
59
|
profileApiUrl?: string;
|
|
58
60
|
chatApiUrl?: string;
|
|
61
|
+
billingApiUrl?: string;
|
|
62
|
+
multicaixaApiUrl?: string;
|
|
59
63
|
chatForPage?: boolean;
|
|
60
64
|
environment?: string;
|
|
61
65
|
socketApiUrl?: string;
|
|
@@ -110,7 +114,7 @@ type User = {
|
|
|
110
114
|
type LinkComponent = (props: CommonLinkProps) => any;
|
|
111
115
|
type UsePathname = () => string;
|
|
112
116
|
|
|
113
|
-
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, ocpSubscriptionKey, }, }: IMirantesFoundationProviderProps): React__default.JSX.Element;
|
|
117
|
+
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, ocpSubscriptionKey, billingApiUrl, multicaixaApiUrl }, }: IMirantesFoundationProviderProps): React__default.JSX.Element;
|
|
114
118
|
|
|
115
119
|
declare function WorkspacePanel(): React__default.JSX.Element;
|
|
116
120
|
|
|
@@ -625,8 +629,12 @@ interface IMessageButton {
|
|
|
625
629
|
className?: string;
|
|
626
630
|
disabled?: boolean;
|
|
627
631
|
onClick?: () => void;
|
|
632
|
+
isSharing?: boolean;
|
|
633
|
+
user?: any;
|
|
634
|
+
page?: any;
|
|
635
|
+
link?: string;
|
|
628
636
|
}
|
|
629
|
-
declare function MessageButton({ avatar, id, name, sendToPage, icon, label, className, disabled, onClick: customOnClick }: IMessageButton): React__default.JSX.Element;
|
|
637
|
+
declare function MessageButton({ avatar, id, name, sendToPage, icon, label, className, disabled, onClick: customOnClick, isSharing, user, page, link }: IMessageButton): React__default.JSX.Element;
|
|
630
638
|
|
|
631
639
|
interface JobTriggerState {
|
|
632
640
|
isJobOpen: boolean;
|