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