gsintegrations 0.0.483 → 0.0.485
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/bundle.cjs.js +7468 -1613
- package/dist/bundle.cjs.js.map +2 -2
- package/dist/bundle.esm.js +7343 -1614
- package/dist/bundle.esm.js.map +2 -2
- package/dist/index.d.ts +2952 -149
- package/dist/types/components/FormChatAssistant/FormChatAssistant.types.d.ts +5 -1
- package/dist/types/components/FormChatAssistant/FormChatPanelLayout.d.ts +17 -0
- package/dist/types/components/FormChatAssistant/formChatAssistant.theme.d.ts +34 -0
- package/dist/types/components/PageHeader/PageHeader.d.ts +4 -0
- package/dist/types/components/atoms/FacebookAuthButton/FacebookAuthButton.d.ts +4 -0
- package/dist/types/components/atoms/FacebookAuthButton/FacebookAuthButton.types.d.ts +18 -0
- package/dist/types/components/atoms/FacebookAuthButton/index.d.ts +2 -0
- package/dist/types/components/atoms/index.d.ts +2 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/molecules/GenericDrawer/GenericDrawer.types.d.ts +15 -0
- package/dist/types/components/molecules/QuickActions/iconMap.d.ts +6 -0
- package/dist/types/components/organisms/SignInForm/SignInForm.types.d.ts +17 -0
- package/dist/types/components/organisms/SignUpForm/SignUpForm.types.d.ts +17 -0
- package/dist/types/components/social/AlsoExperiencedButton.d.ts +10 -0
- package/dist/types/components/social/BlockDialog.d.ts +10 -0
- package/dist/types/components/social/ConnectionButton.d.ts +11 -0
- package/dist/types/components/social/EditedMark.d.ts +7 -0
- package/dist/types/components/social/ExperienceCard.d.ts +23 -0
- package/dist/types/components/social/ExperienceCategoryBadge.d.ts +8 -0
- package/dist/types/components/social/ExperienceCommentRow.d.ts +15 -0
- package/dist/types/components/social/ExperienceCommentsSheet.d.ts +30 -0
- package/dist/types/components/social/ExperienceComposer.d.ts +21 -0
- package/dist/types/components/social/ExperienceDetailView.d.ts +22 -0
- package/dist/types/components/social/ExperienceEngageMenu.d.ts +14 -0
- package/dist/types/components/social/ExperiencePostTypeBadge.d.ts +8 -0
- package/dist/types/components/social/ExperienceReactionBar.d.ts +11 -0
- package/dist/types/components/social/JourneyProfile.d.ts +34 -0
- package/dist/types/components/social/PeerMessageList.d.ts +10 -0
- package/dist/types/components/social/PostGiraPrompt.d.ts +8 -0
- package/dist/types/components/social/PrivacySelector.d.ts +11 -0
- package/dist/types/components/social/QuestionAnswerCard.d.ts +8 -0
- package/dist/types/components/social/QuestionAnswersSheet.d.ts +23 -0
- package/dist/types/components/social/QuestionCard.d.ts +16 -0
- package/dist/types/components/social/QuestionComposer.d.ts +17 -0
- package/dist/types/components/social/QuestionSourceBadge.d.ts +7 -0
- package/dist/types/components/social/ReportDialog.d.ts +13 -0
- package/dist/types/components/social/ShareSheet.d.ts +13 -0
- package/dist/types/components/social/SimilarExperienceCard.d.ts +8 -0
- package/dist/types/components/social/SimilarPeopleCard.d.ts +10 -0
- package/dist/types/components/social/SocialAccountDrawer.d.ts +31 -0
- package/dist/types/components/social/SocialConversationRow.d.ts +8 -0
- package/dist/types/components/social/SocialCreateActionsSheet.d.ts +13 -0
- package/dist/types/components/social/SocialDeleteConfirmDialog.d.ts +11 -0
- package/dist/types/components/social/SocialEditTextDialog.d.ts +19 -0
- package/dist/types/components/social/SocialEmptyState.d.ts +10 -0
- package/dist/types/components/social/SocialErrorState.d.ts +8 -0
- package/dist/types/components/social/SocialHomeBottomNav.d.ts +22 -0
- package/dist/types/components/social/SocialHomeHeader.d.ts +13 -0
- package/dist/types/components/social/SocialMessageBubble.d.ts +19 -0
- package/dist/types/components/social/SocialMessageComposer.d.ts +17 -0
- package/dist/types/components/social/SocialReadOnlyNotice.d.ts +6 -0
- package/dist/types/components/social/SocialSkeleton.d.ts +7 -0
- package/dist/types/components/social/SocialUnreadIndicator.d.ts +8 -0
- package/dist/types/components/social/SocialVerificationEarnedCelebration.d.ts +18 -0
- package/dist/types/components/social/SocialVerificationProgressSheet.d.ts +35 -0
- package/dist/types/components/social/TraditionBadge.d.ts +7 -0
- package/dist/types/components/social/WhatsAppShareButton.d.ts +8 -0
- package/dist/types/components/social/bannerPresets.d.ts +29 -0
- package/dist/types/components/social/formatAffinityPercent.d.ts +5 -0
- package/dist/types/components/social/index.d.ts +65 -0
- package/dist/types/components/social/labels.d.ts +20 -0
- package/dist/types/components/social/profileFields.d.ts +27 -0
- package/dist/types/components/social/socialSurfaces.d.ts +103 -0
- package/dist/types/components/social/types.d.ts +1014 -0
- package/dist/types/hooks/useHideOnScroll.d.ts +13 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/pages/AddMediumByQRCodePage/AddMediumByQRCodePage.types.d.ts +6 -6
- package/dist/types/pages/EventsPage/EventsPage.types.d.ts +36 -36
- package/dist/types/pages/FinancialAccountPage/FinancialAccountPage.types.d.ts +12 -12
- package/dist/types/pages/FinancialRegisterPage/FinancialRegister.types.d.ts +21 -21
- package/dist/types/pages/GamificationHelpPage/GamificationHelpPage.types.d.ts +2 -2
- package/dist/types/pages/HomePage/HomePage.constants.d.ts +4 -3
- package/dist/types/pages/HomePage/HomePage.types.d.ts +29 -13
- package/dist/types/pages/HomePage/components/HomeBottomNav.d.ts +12 -0
- package/dist/types/pages/HomePage/components/HomeMenu.d.ts +7 -7
- package/dist/types/pages/HomePage/components/HomeMenu.types.d.ts +20 -20
- package/dist/types/pages/HomePage/components/TopBar.d.ts +1 -1
- package/dist/types/pages/HomePage/components/TopBar.types.d.ts +2 -2
- package/dist/types/pages/HomePage/components/index.d.ts +1 -1
- package/dist/types/pages/HomePage/components/useHomeMenu.d.ts +2 -2
- package/dist/types/pages/HomePage/useHomePage.d.ts +2 -2
- package/dist/types/pages/HomePage/widgets/homeWidgets.catalog.d.ts +6 -6
- package/dist/types/pages/InviteLandingPage/InviteLandingPage.types.d.ts +4 -0
- package/dist/types/pages/InviteLandingPage/useInviteLandingPage.d.ts +1 -0
- package/dist/types/pages/NotFoundPage/NotFoundPage.types.d.ts +2 -2
- package/dist/types/pages/NotificationsPage/NotificationsPage.types.d.ts +38 -38
- package/dist/types/pages/NotificationsPage/useNotificationsPage.d.ts +3 -3
- package/dist/types/pages/PasswordCreationPage/PasswordCreationPage.types.d.ts +8 -8
- package/dist/types/pages/RitualBathDetailPage/RitualBathDetailPage.d.ts +1 -1
- package/dist/types/pages/RitualBathDetailPage/RitualBathDetailPage.types.d.ts +6 -6
- package/dist/types/pages/RitualBathDetailPage/useRitualBathDetailPage.d.ts +1 -1
- package/dist/types/pages/RitualBathListPage/RitualBathListPage.types.d.ts +16 -16
- package/dist/types/pages/RitualBathListPage/useRitualBathListPage.d.ts +2 -2
- package/dist/types/pages/RitualBathOnboardingPage/RitualBathOnboarding.types.d.ts +4 -4
- package/dist/types/pages/RitualBathOnboardingPage/useRitualBathOnboarding.d.ts +1 -1
- package/dist/types/pages/RitualBathSchedulePage/RitualBathSchedulePage.types.d.ts +6 -6
- package/dist/types/pages/RoleFormPage/RoleFormPage.types.d.ts +2 -2
- package/dist/types/pages/SigninPage/SigninPage.types.d.ts +14 -0
- package/dist/types/pages/SignupPage/SignupPage.types.d.ts +14 -0
- package/dist/types/pages/Social/CreateExperiencePage/CreateExperiencePage.d.ts +12 -0
- package/dist/types/pages/Social/CreateExperiencePage/CreateExperiencePage.types.d.ts +62 -0
- package/dist/types/pages/Social/CreateExperiencePage/CreateExperienceSummaryCard.d.ts +13 -0
- package/dist/types/pages/Social/CreateQuestionPage/CreateQuestionPage.d.ts +12 -0
- package/dist/types/pages/Social/CreateQuestionPage/CreateQuestionPage.types.d.ts +55 -0
- package/dist/types/pages/Social/CreateQuestionPage/CreateQuestionSummaryCard.d.ts +12 -0
- package/dist/types/pages/Social/EditJourneyPage/EditJourneyPage.d.ts +53 -0
- package/dist/types/pages/Social/ExperienceDetailPage/ExperienceDetailPage.d.ts +57 -0
- package/dist/types/pages/Social/JourneyProfilePage/JourneyProfilePage.d.ts +67 -0
- package/dist/types/pages/Social/PublicSocialPreviewPage/PublicSocialPreviewPage.d.ts +5 -0
- package/dist/types/pages/Social/PublicSocialPreviewPage/PublicSocialPreviewPage.types.d.ts +334 -0
- package/dist/types/pages/Social/PublicSocialPreviewPage/index.d.ts +3 -0
- package/dist/types/pages/Social/QuestionDetailPage/QuestionDetailPage.d.ts +15 -0
- package/dist/types/pages/Social/QuestionsPage/QuestionsPage.d.ts +13 -0
- package/dist/types/pages/Social/SimilarPage/SimilarPage.d.ts +15 -0
- package/dist/types/pages/Social/SocialConnectionsPage/SocialConnectionsPage.d.ts +41 -0
- package/dist/types/pages/Social/SocialConversationPage/SocialConversationPage.d.ts +19 -0
- package/dist/types/pages/Social/SocialDiscoverPage/SocialDiscoverPage.d.ts +40 -0
- package/dist/types/pages/Social/SocialHomePage/SocialHomePage.d.ts +123 -0
- package/dist/types/pages/Social/SocialHomePage/index.d.ts +2 -0
- package/dist/types/pages/Social/SocialInboxPage/SocialInboxPage.d.ts +14 -0
- package/dist/types/pages/Social/SocialNotificationsPage/SocialNotificationsPage.d.ts +21 -0
- package/dist/types/pages/Social/SocialOnboardingIntro/SocialOnboardingIntro.d.ts +5 -0
- package/dist/types/pages/Social/SocialOnboardingIntro/SocialOnboardingIntro.types.d.ts +14 -0
- package/dist/types/pages/Social/SocialOnboardingIntro/index.d.ts +2 -0
- package/dist/types/pages/Social/SocialOnboardingPage/SocialOnboardingPage.d.ts +13 -0
- package/dist/types/pages/Social/SocialOnboardingPage/SocialOnboardingPage.types.d.ts +59 -0
- package/dist/types/pages/Social/SocialOnboardingPage/SocialOnboardingSummaryCard.d.ts +12 -0
- package/dist/types/pages/Social/SocialPageShell.d.ts +29 -0
- package/dist/types/pages/Social/SocialPrivacySettingsPage/SocialPrivacySettingsPage.d.ts +18 -0
- package/dist/types/pages/Social/SocialSavedPage/SocialSavedPage.d.ts +66 -0
- package/dist/types/pages/Social/index.d.ts +42 -0
- package/dist/types/pages/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type React from "react";
|
|
2
2
|
export type FormChatRole = "user" | "assistant" | "system";
|
|
3
|
-
export type FormChatStep = "basic-info" | "quantity" | "location" | "template" | "time-selection" | "checkin-window" | "activity-selection" | "members-selection" | "insumos-selection" | "review" | "complete" | "personal" | "terreiro" | "password" | "guardian" | "financial" | "subscription" | "address" | "documents";
|
|
3
|
+
export type FormChatStep = "basic-info" | "quantity" | "location" | "template" | "time-selection" | "checkin-window" | "activity-selection" | "members-selection" | "insumos-selection" | "review" | "complete" | "personal" | "terreiro" | "password" | "guardian" | "financial" | "subscription" | "address" | "documents" | "social-identity" | "social-profile" | "social-privacy" | "social-experience" | "social-question";
|
|
4
4
|
export interface ActivityChatSummary {
|
|
5
5
|
title?: string;
|
|
6
6
|
description?: string;
|
|
@@ -287,6 +287,8 @@ export interface FormChatAssistantProps {
|
|
|
287
287
|
subcategoryAutoGenerated?: boolean;
|
|
288
288
|
defaultOpen?: boolean;
|
|
289
289
|
voiceEnabled?: boolean;
|
|
290
|
+
/** Solid white (light) / paper (dark) panel without brand glass gradient. */
|
|
291
|
+
plainSurface?: boolean;
|
|
290
292
|
hideCloseButton?: boolean;
|
|
291
293
|
activeField?: string;
|
|
292
294
|
fieldInput?: FormChatFieldInput;
|
|
@@ -300,6 +302,8 @@ export interface FormChatAssistantProps {
|
|
|
300
302
|
onEdit?: () => void;
|
|
301
303
|
onReset?: () => void;
|
|
302
304
|
onClose?: () => void;
|
|
305
|
+
closeLabel?: string;
|
|
306
|
+
onRetry?: () => void;
|
|
303
307
|
editInteraction?: FormChatEditInteraction;
|
|
304
308
|
editingFieldLabel?: string;
|
|
305
309
|
editableFieldOptions?: FormChatEditableFieldOption[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface FormChatPanelLayoutProps {
|
|
3
|
+
header: React.ReactNode;
|
|
4
|
+
messages: React.ReactNode;
|
|
5
|
+
messagesScrollRef: React.RefObject<HTMLDivElement | null>;
|
|
6
|
+
messagesBackground: string;
|
|
7
|
+
review?: React.ReactNode;
|
|
8
|
+
fieldPicker?: React.ReactNode;
|
|
9
|
+
fieldPanel?: React.ReactNode;
|
|
10
|
+
composer?: React.ReactNode;
|
|
11
|
+
listSelectDrawer?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Single flex chat shell: pinned header + composer, only the message area scrolls.
|
|
15
|
+
*/
|
|
16
|
+
declare const FormChatPanelLayout: React.FC<FormChatPanelLayoutProps>;
|
|
17
|
+
export default FormChatPanelLayout;
|
|
@@ -32,6 +32,40 @@ export declare const getUserMessageBubbleSx: (theme: Theme) => {
|
|
|
32
32
|
background?: undefined;
|
|
33
33
|
};
|
|
34
34
|
export declare const getHeaderGradient: (theme: Theme) => string;
|
|
35
|
+
/**
|
|
36
|
+
* Local stacking inside the FormChat flex shell (not modal/FAB overlay z-index).
|
|
37
|
+
* Header and composer sit above the message scroller so shadows stay visible.
|
|
38
|
+
*/
|
|
39
|
+
export declare const FORM_CHAT_CHROME_Z_INDEX = 2;
|
|
40
|
+
export declare const FORM_CHAT_MESSAGES_Z_INDEX = 0;
|
|
41
|
+
export declare const getHeaderChromeSx: (theme: Theme) => {
|
|
42
|
+
flexShrink: number;
|
|
43
|
+
position: "relative";
|
|
44
|
+
zIndex: number;
|
|
45
|
+
px: number;
|
|
46
|
+
py: number;
|
|
47
|
+
pt: {
|
|
48
|
+
xs: string;
|
|
49
|
+
sm: number;
|
|
50
|
+
};
|
|
51
|
+
background: string;
|
|
52
|
+
color: string;
|
|
53
|
+
boxShadow: string;
|
|
54
|
+
};
|
|
55
|
+
export declare const getComposerChromeSx: (theme: Theme) => {
|
|
56
|
+
flexShrink: number;
|
|
57
|
+
position: "relative";
|
|
58
|
+
zIndex: number;
|
|
59
|
+
borderTop: string;
|
|
60
|
+
p: number;
|
|
61
|
+
pb: {
|
|
62
|
+
xs: string;
|
|
63
|
+
sm: number;
|
|
64
|
+
};
|
|
65
|
+
bgcolor: string;
|
|
66
|
+
backdropFilter: string;
|
|
67
|
+
boxShadow: string;
|
|
68
|
+
};
|
|
35
69
|
export declare const getFabGlow: (theme: Theme) => {
|
|
36
70
|
boxShadow: string;
|
|
37
71
|
"&:hover": {
|
|
@@ -14,6 +14,10 @@ export interface PageHeaderProps {
|
|
|
14
14
|
tabs?: PageHeaderTab[];
|
|
15
15
|
selectedTab?: string;
|
|
16
16
|
onTabChange?: (value: string) => void;
|
|
17
|
+
/** Optional control between back and title (e.g. chat peer avatar). */
|
|
18
|
+
startAdornment?: React.ReactNode;
|
|
19
|
+
/** Optional trailing control in the toolbar (e.g. icon button). */
|
|
20
|
+
endAction?: React.ReactNode;
|
|
17
21
|
}
|
|
18
22
|
declare const PageHeader: React.FC<PageHeaderProps>;
|
|
19
23
|
export default PageHeader;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
export declare const FacebookAuthButtonPropsSchema: z.ZodObject<{
|
|
3
|
+
onClick: z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>;
|
|
4
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
+
text: z.ZodOptional<z.ZodString>;
|
|
6
|
+
dataTestId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
onClick: () => void;
|
|
9
|
+
text?: string | undefined;
|
|
10
|
+
disabled?: boolean | undefined;
|
|
11
|
+
dataTestId?: string | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
onClick: () => void;
|
|
14
|
+
text?: string | undefined;
|
|
15
|
+
disabled?: boolean | undefined;
|
|
16
|
+
dataTestId?: string | undefined;
|
|
17
|
+
}>;
|
|
18
|
+
export type FacebookAuthButtonProps = z.infer<typeof FacebookAuthButtonPropsSchema>;
|
|
@@ -12,6 +12,8 @@ export { default as InviteCard } from "./InviteCard/InviteCard";
|
|
|
12
12
|
export type { InviteCardProps } from "./InviteCard/InviteCard.types";
|
|
13
13
|
export { default as GoogleAuthButton } from "./GoogleAuthButton";
|
|
14
14
|
export type { GoogleAuthButtonProps } from "./GoogleAuthButton/GoogleAuthButton.types";
|
|
15
|
+
export { default as FacebookAuthButton } from "./FacebookAuthButton";
|
|
16
|
+
export type { FacebookAuthButtonProps } from "./FacebookAuthButton/FacebookAuthButton.types";
|
|
15
17
|
export * from "./SubscriptionGuard";
|
|
16
18
|
export * from "./UpgradePrompt";
|
|
17
19
|
export * from "./QuotaGuard";
|
|
@@ -11,3 +11,4 @@ export { default as PageHeader } from "./PageHeader/PageHeader";
|
|
|
11
11
|
export { default as SuggestionsCarousel } from "./SuggestionsCarousel/SuggestionsCarousel";
|
|
12
12
|
export type { SuggestionsCarouselProps } from "./SuggestionsCarousel/SuggestionsCarousel.types";
|
|
13
13
|
export * from "./FormChatAssistant";
|
|
14
|
+
export * from "./social";
|
|
@@ -6,20 +6,35 @@ export declare const GenericDrawerPropsSchema: z.ZodObject<{
|
|
|
6
6
|
onOpen: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], z.ZodUnknown>, z.ZodVoid>>;
|
|
7
7
|
anchor: z.ZodOptional<z.ZodEnum<["bottom", "left", "right", "top"]>>;
|
|
8
8
|
zIndex: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
/** When true, vertical drawers use 100dvh instead of the default 70dvh. */
|
|
10
|
+
fullHeight: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
+
/**
|
|
12
|
+
* When true, focus is not trapped in the drawer so chrome outside the sheet
|
|
13
|
+
* (e.g. Home bottom nav) stays interactive while open.
|
|
14
|
+
*/
|
|
15
|
+
disableEnforceFocus: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
/** Accessible name for the drawer dialog surface. */
|
|
17
|
+
"aria-label": z.ZodOptional<z.ZodString>;
|
|
9
18
|
children: z.ZodType<ReactNode, z.ZodTypeDef, ReactNode>;
|
|
10
19
|
}, "strip", z.ZodTypeAny, {
|
|
11
20
|
onClose: (...args: unknown[]) => void;
|
|
12
21
|
open: boolean;
|
|
13
22
|
children?: ReactNode;
|
|
23
|
+
"aria-label"?: string | undefined;
|
|
14
24
|
onOpen?: ((...args: unknown[]) => void) | undefined;
|
|
15
25
|
anchor?: "bottom" | "left" | "right" | "top" | undefined;
|
|
16
26
|
zIndex?: number | undefined;
|
|
27
|
+
disableEnforceFocus?: boolean | undefined;
|
|
28
|
+
fullHeight?: boolean | undefined;
|
|
17
29
|
}, {
|
|
18
30
|
onClose: (...args: unknown[]) => void;
|
|
19
31
|
open: boolean;
|
|
20
32
|
children?: ReactNode;
|
|
33
|
+
"aria-label"?: string | undefined;
|
|
21
34
|
onOpen?: ((...args: unknown[]) => void) | undefined;
|
|
22
35
|
anchor?: "bottom" | "left" | "right" | "top" | undefined;
|
|
23
36
|
zIndex?: number | undefined;
|
|
37
|
+
disableEnforceFocus?: boolean | undefined;
|
|
38
|
+
fullHeight?: boolean | undefined;
|
|
24
39
|
}>;
|
|
25
40
|
export type GenericDrawerProps = z.infer<typeof GenericDrawerPropsSchema>;
|
|
@@ -29,5 +29,11 @@ export declare const iconMap: {
|
|
|
29
29
|
readonly water: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
30
30
|
muiName: string;
|
|
31
31
|
};
|
|
32
|
+
readonly social: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
33
|
+
muiName: string;
|
|
34
|
+
};
|
|
35
|
+
readonly public: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
36
|
+
muiName: string;
|
|
37
|
+
};
|
|
32
38
|
};
|
|
33
39
|
export type QuickActionIconKey = keyof typeof iconMap;
|
|
@@ -9,6 +9,7 @@ export declare const FunctionsSchema: z.ZodObject<{
|
|
|
9
9
|
handleForgotPassword: z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>;
|
|
10
10
|
handleRememberMeChange: z.ZodFunction<z.ZodTuple<[z.ZodAny], null>, z.ZodVoid>;
|
|
11
11
|
handleGoogleAuth: z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>;
|
|
12
|
+
handleFacebookAuth: z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>;
|
|
12
13
|
}, "strip", z.ZodTypeAny, {
|
|
13
14
|
handleChange: (args_0: any) => void;
|
|
14
15
|
handleShowPassword: () => void;
|
|
@@ -18,6 +19,7 @@ export declare const FunctionsSchema: z.ZodObject<{
|
|
|
18
19
|
handleForgotPassword: () => void;
|
|
19
20
|
handleRememberMeChange: (args_0: any) => void;
|
|
20
21
|
handleGoogleAuth: () => void;
|
|
22
|
+
handleFacebookAuth: () => void;
|
|
21
23
|
}, {
|
|
22
24
|
handleChange: (args_0: any) => void;
|
|
23
25
|
handleShowPassword: () => void;
|
|
@@ -27,6 +29,7 @@ export declare const FunctionsSchema: z.ZodObject<{
|
|
|
27
29
|
handleForgotPassword: () => void;
|
|
28
30
|
handleRememberMeChange: (args_0: any) => void;
|
|
29
31
|
handleGoogleAuth: () => void;
|
|
32
|
+
handleFacebookAuth: () => void;
|
|
30
33
|
}>;
|
|
31
34
|
export declare const FormFieldsSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
|
|
32
35
|
export declare const ValidationErrorsSchema: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -39,6 +42,9 @@ export declare const SignInPropsSchema: z.ZodObject<{
|
|
|
39
42
|
onGoogleAuth: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>>;
|
|
40
43
|
googleAuthButtonText: z.ZodOptional<z.ZodString>;
|
|
41
44
|
googleAuthLoading: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
onFacebookAuth: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>>;
|
|
46
|
+
facebookAuthButtonText: z.ZodOptional<z.ZodString>;
|
|
47
|
+
facebookAuthLoading: z.ZodOptional<z.ZodBoolean>;
|
|
42
48
|
texts: z.ZodObject<{
|
|
43
49
|
welcome: z.ZodString;
|
|
44
50
|
signInButton: z.ZodString;
|
|
@@ -108,6 +114,9 @@ export declare const SignInPropsSchema: z.ZodObject<{
|
|
|
108
114
|
onGoogleAuth?: (() => void) | undefined;
|
|
109
115
|
googleAuthButtonText?: string | undefined;
|
|
110
116
|
googleAuthLoading?: boolean | undefined;
|
|
117
|
+
onFacebookAuth?: (() => void) | undefined;
|
|
118
|
+
facebookAuthButtonText?: string | undefined;
|
|
119
|
+
facebookAuthLoading?: boolean | undefined;
|
|
111
120
|
}, {
|
|
112
121
|
onSubmit: (args_0: Record<string, string>) => void;
|
|
113
122
|
texts: {
|
|
@@ -133,6 +142,9 @@ export declare const SignInPropsSchema: z.ZodObject<{
|
|
|
133
142
|
onGoogleAuth?: (() => void) | undefined;
|
|
134
143
|
googleAuthButtonText?: string | undefined;
|
|
135
144
|
googleAuthLoading?: boolean | undefined;
|
|
145
|
+
onFacebookAuth?: (() => void) | undefined;
|
|
146
|
+
facebookAuthButtonText?: string | undefined;
|
|
147
|
+
facebookAuthLoading?: boolean | undefined;
|
|
136
148
|
}>;
|
|
137
149
|
export declare const UseSignInSchema: z.ZodObject<{
|
|
138
150
|
showPassword: z.ZodBoolean;
|
|
@@ -148,6 +160,7 @@ export declare const UseSignInSchema: z.ZodObject<{
|
|
|
148
160
|
handleForgotPassword: z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>;
|
|
149
161
|
handleRememberMeChange: z.ZodFunction<z.ZodTuple<[z.ZodAny], null>, z.ZodVoid>;
|
|
150
162
|
handleGoogleAuth: z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>;
|
|
163
|
+
handleFacebookAuth: z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>;
|
|
151
164
|
}, "strip", z.ZodTypeAny, {
|
|
152
165
|
handleChange: (args_0: any) => void;
|
|
153
166
|
handleShowPassword: () => void;
|
|
@@ -157,6 +170,7 @@ export declare const UseSignInSchema: z.ZodObject<{
|
|
|
157
170
|
handleForgotPassword: () => void;
|
|
158
171
|
handleRememberMeChange: (args_0: any) => void;
|
|
159
172
|
handleGoogleAuth: () => void;
|
|
173
|
+
handleFacebookAuth: () => void;
|
|
160
174
|
}, {
|
|
161
175
|
handleChange: (args_0: any) => void;
|
|
162
176
|
handleShowPassword: () => void;
|
|
@@ -166,6 +180,7 @@ export declare const UseSignInSchema: z.ZodObject<{
|
|
|
166
180
|
handleForgotPassword: () => void;
|
|
167
181
|
handleRememberMeChange: (args_0: any) => void;
|
|
168
182
|
handleGoogleAuth: () => void;
|
|
183
|
+
handleFacebookAuth: () => void;
|
|
169
184
|
}>;
|
|
170
185
|
}, "strip", z.ZodTypeAny, {
|
|
171
186
|
data: Record<string, string>;
|
|
@@ -178,6 +193,7 @@ export declare const UseSignInSchema: z.ZodObject<{
|
|
|
178
193
|
handleForgotPassword: () => void;
|
|
179
194
|
handleRememberMeChange: (args_0: any) => void;
|
|
180
195
|
handleGoogleAuth: () => void;
|
|
196
|
+
handleFacebookAuth: () => void;
|
|
181
197
|
};
|
|
182
198
|
validationErrors: Record<string, string>;
|
|
183
199
|
showPassword: boolean;
|
|
@@ -193,6 +209,7 @@ export declare const UseSignInSchema: z.ZodObject<{
|
|
|
193
209
|
handleForgotPassword: () => void;
|
|
194
210
|
handleRememberMeChange: (args_0: any) => void;
|
|
195
211
|
handleGoogleAuth: () => void;
|
|
212
|
+
handleFacebookAuth: () => void;
|
|
196
213
|
};
|
|
197
214
|
validationErrors: Record<string, string>;
|
|
198
215
|
showPassword: boolean;
|
|
@@ -20,6 +20,7 @@ export declare const FunctionsSchema: z.ZodObject<{
|
|
|
20
20
|
handleRedirect: z.ZodFunction<z.ZodTuple<[], null>, z.ZodUnknown>;
|
|
21
21
|
handleRoleChange: z.ZodFunction<z.ZodTuple<[z.ZodAny], null>, z.ZodVoid>;
|
|
22
22
|
handleGoogleAuth: z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>;
|
|
23
|
+
handleFacebookAuth: z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>;
|
|
23
24
|
}, "strip", z.ZodTypeAny, {
|
|
24
25
|
handleChange: (args_0: any) => void;
|
|
25
26
|
handleShowPassword: (args_0: any) => void;
|
|
@@ -27,6 +28,7 @@ export declare const FunctionsSchema: z.ZodObject<{
|
|
|
27
28
|
handleSubmit: (args_0: any) => void;
|
|
28
29
|
handleRedirect: () => unknown;
|
|
29
30
|
handleGoogleAuth: () => void;
|
|
31
|
+
handleFacebookAuth: () => void;
|
|
30
32
|
handleRoleChange: (args_0: any) => void;
|
|
31
33
|
}, {
|
|
32
34
|
handleChange: (args_0: any) => void;
|
|
@@ -35,6 +37,7 @@ export declare const FunctionsSchema: z.ZodObject<{
|
|
|
35
37
|
handleSubmit: (args_0: any) => void;
|
|
36
38
|
handleRedirect: () => unknown;
|
|
37
39
|
handleGoogleAuth: () => void;
|
|
40
|
+
handleFacebookAuth: () => void;
|
|
38
41
|
handleRoleChange: (args_0: any) => void;
|
|
39
42
|
}>;
|
|
40
43
|
export declare const FormFieldsSchema: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
|
|
@@ -55,6 +58,9 @@ export declare const SignUpPropsSchema: z.ZodObject<{
|
|
|
55
58
|
onGoogleAuth: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>>;
|
|
56
59
|
googleAuthButtonText: z.ZodOptional<z.ZodString>;
|
|
57
60
|
googleAuthLoading: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
+
onFacebookAuth: z.ZodOptional<z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>>;
|
|
62
|
+
facebookAuthButtonText: z.ZodOptional<z.ZodString>;
|
|
63
|
+
facebookAuthLoading: z.ZodOptional<z.ZodBoolean>;
|
|
58
64
|
onAnalyticsTrack: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodDiscriminatedUnion<"event", [z.ZodObject<{
|
|
59
65
|
event: z.ZodLiteral<"signup_page_view">;
|
|
60
66
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -186,6 +192,9 @@ export declare const SignUpPropsSchema: z.ZodObject<{
|
|
|
186
192
|
onGoogleAuth?: (() => void) | undefined;
|
|
187
193
|
googleAuthButtonText?: string | undefined;
|
|
188
194
|
googleAuthLoading?: boolean | undefined;
|
|
195
|
+
onFacebookAuth?: (() => void) | undefined;
|
|
196
|
+
facebookAuthButtonText?: string | undefined;
|
|
197
|
+
facebookAuthLoading?: boolean | undefined;
|
|
189
198
|
onAnalyticsTrack?: ((args_0: {
|
|
190
199
|
event: "signup_page_view";
|
|
191
200
|
} | {
|
|
@@ -235,6 +244,9 @@ export declare const SignUpPropsSchema: z.ZodObject<{
|
|
|
235
244
|
onGoogleAuth?: (() => void) | undefined;
|
|
236
245
|
googleAuthButtonText?: string | undefined;
|
|
237
246
|
googleAuthLoading?: boolean | undefined;
|
|
247
|
+
onFacebookAuth?: (() => void) | undefined;
|
|
248
|
+
facebookAuthButtonText?: string | undefined;
|
|
249
|
+
facebookAuthLoading?: boolean | undefined;
|
|
238
250
|
onAnalyticsTrack?: ((args_0: {
|
|
239
251
|
event: "signup_page_view";
|
|
240
252
|
} | {
|
|
@@ -281,6 +293,7 @@ export declare const UseSignUpSchema: z.ZodObject<{
|
|
|
281
293
|
handleRedirect: z.ZodFunction<z.ZodTuple<[], null>, z.ZodUnknown>;
|
|
282
294
|
handleRoleChange: z.ZodFunction<z.ZodTuple<[z.ZodAny], null>, z.ZodVoid>;
|
|
283
295
|
handleGoogleAuth: z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>;
|
|
296
|
+
handleFacebookAuth: z.ZodFunction<z.ZodTuple<[], null>, z.ZodVoid>;
|
|
284
297
|
}, "strip", z.ZodTypeAny, {
|
|
285
298
|
handleChange: (args_0: any) => void;
|
|
286
299
|
handleShowPassword: (args_0: any) => void;
|
|
@@ -288,6 +301,7 @@ export declare const UseSignUpSchema: z.ZodObject<{
|
|
|
288
301
|
handleSubmit: (args_0: any) => void;
|
|
289
302
|
handleRedirect: () => unknown;
|
|
290
303
|
handleGoogleAuth: () => void;
|
|
304
|
+
handleFacebookAuth: () => void;
|
|
291
305
|
handleRoleChange: (args_0: any) => void;
|
|
292
306
|
}, {
|
|
293
307
|
handleChange: (args_0: any) => void;
|
|
@@ -296,6 +310,7 @@ export declare const UseSignUpSchema: z.ZodObject<{
|
|
|
296
310
|
handleSubmit: (args_0: any) => void;
|
|
297
311
|
handleRedirect: () => unknown;
|
|
298
312
|
handleGoogleAuth: () => void;
|
|
313
|
+
handleFacebookAuth: () => void;
|
|
299
314
|
handleRoleChange: (args_0: any) => void;
|
|
300
315
|
}>;
|
|
301
316
|
role: z.ZodOptional<z.ZodEnum<["medium", "terreiro"]>>;
|
|
@@ -316,6 +331,7 @@ export declare const UseSignUpSchema: z.ZodObject<{
|
|
|
316
331
|
handleSubmit: (args_0: any) => void;
|
|
317
332
|
handleRedirect: () => unknown;
|
|
318
333
|
handleGoogleAuth: () => void;
|
|
334
|
+
handleFacebookAuth: () => void;
|
|
319
335
|
handleRoleChange: (args_0: any) => void;
|
|
320
336
|
};
|
|
321
337
|
showPassword: boolean;
|
|
@@ -338,6 +354,7 @@ export declare const UseSignUpSchema: z.ZodObject<{
|
|
|
338
354
|
handleSubmit: (args_0: any) => void;
|
|
339
355
|
handleRedirect: () => unknown;
|
|
340
356
|
handleGoogleAuth: () => void;
|
|
357
|
+
handleFacebookAuth: () => void;
|
|
341
358
|
handleRoleChange: (args_0: any) => void;
|
|
342
359
|
};
|
|
343
360
|
showPassword: boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type AlsoExperiencedButtonProps = {
|
|
3
|
+
count?: number;
|
|
4
|
+
active?: boolean;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
};
|
|
9
|
+
declare const AlsoExperiencedButton: React.FC<AlsoExperiencedButtonProps>;
|
|
10
|
+
export default AlsoExperiencedButton;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type BlockDialogProps = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
displayName?: string;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onConfirm: () => void;
|
|
7
|
+
submitting?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const BlockDialog: React.FC<BlockDialogProps>;
|
|
10
|
+
export default BlockDialog;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type ConnectionButtonProps = {
|
|
3
|
+
status?: "NONE" | "PENDING" | "CONNECTED" | "SELF";
|
|
4
|
+
/** When PENDING: OUTBOUND = waiting, INBOUND = accept. */
|
|
5
|
+
direction?: "OUTBOUND" | "INBOUND";
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
onConnect?: () => void;
|
|
8
|
+
onDisconnect?: () => void;
|
|
9
|
+
};
|
|
10
|
+
declare const ConnectionButton: React.FC<ConnectionButtonProps>;
|
|
11
|
+
export default ConnectionButton;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { Experience, ExperienceReactionType } from "./types";
|
|
3
|
+
export type ExperienceCardProps = {
|
|
4
|
+
experience: Experience;
|
|
5
|
+
viewerUserId?: string;
|
|
6
|
+
onOpen?: (id: string) => void;
|
|
7
|
+
onAlsoExperienced?: (id: string) => void;
|
|
8
|
+
onReactionToggle?: (id: string, type: ExperienceReactionType) => void;
|
|
9
|
+
onShare?: (id: string) => void;
|
|
10
|
+
onReport?: (id: string) => void;
|
|
11
|
+
onEdit?: (id: string, value: {
|
|
12
|
+
content: string;
|
|
13
|
+
title?: string | null;
|
|
14
|
+
}) => void | Promise<void>;
|
|
15
|
+
onDelete?: (id: string) => void | Promise<void>;
|
|
16
|
+
onComment?: (id: string) => void;
|
|
17
|
+
onBookmark?: (id: string) => void;
|
|
18
|
+
onAuthorClick?: (userId: string, username?: string) => void;
|
|
19
|
+
alsoExperiencedLoading?: boolean;
|
|
20
|
+
compact?: boolean;
|
|
21
|
+
};
|
|
22
|
+
declare const ExperienceCard: React.FC<ExperienceCardProps>;
|
|
23
|
+
export default ExperienceCard;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ExperienceCategory } from "./types";
|
|
3
|
+
export type ExperienceCategoryBadgeProps = {
|
|
4
|
+
category?: ExperienceCategory | null;
|
|
5
|
+
size?: "small" | "medium";
|
|
6
|
+
};
|
|
7
|
+
declare const ExperienceCategoryBadge: React.FC<ExperienceCategoryBadgeProps>;
|
|
8
|
+
export default ExperienceCategoryBadge;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ExperienceComment } from "./types";
|
|
3
|
+
export type ExperienceCommentRowProps = {
|
|
4
|
+
comment: ExperienceComment;
|
|
5
|
+
depth?: 0 | 1;
|
|
6
|
+
likeDisabled?: boolean;
|
|
7
|
+
viewerUserId?: string;
|
|
8
|
+
onAuthorClick?: (userId: string, username?: string) => void;
|
|
9
|
+
onReply?: (comment: ExperienceComment) => void;
|
|
10
|
+
onToggleLike?: (comment: ExperienceComment) => void;
|
|
11
|
+
onEdit?: (comment: ExperienceComment) => void;
|
|
12
|
+
onDelete?: (comment: ExperienceComment) => void;
|
|
13
|
+
};
|
|
14
|
+
declare const ExperienceCommentRow: React.FC<ExperienceCommentRowProps>;
|
|
15
|
+
export default ExperienceCommentRow;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ExperienceComment } from "./types";
|
|
3
|
+
export type ExperienceCommentSubmitMeta = {
|
|
4
|
+
parentId?: string;
|
|
5
|
+
replyToCommentId?: string;
|
|
6
|
+
};
|
|
7
|
+
export type ExperienceCommentsSheetProps = {
|
|
8
|
+
open: boolean;
|
|
9
|
+
experienceId?: string | null;
|
|
10
|
+
comments?: ExperienceComment[];
|
|
11
|
+
commentCount?: number;
|
|
12
|
+
isLoading?: boolean;
|
|
13
|
+
isFetchingMore?: boolean;
|
|
14
|
+
hasMore?: boolean;
|
|
15
|
+
isSubmitting?: boolean;
|
|
16
|
+
error?: string | null;
|
|
17
|
+
composerDisabled?: boolean;
|
|
18
|
+
onClose: () => void;
|
|
19
|
+
onLoadMore?: () => void;
|
|
20
|
+
onLoadMoreReplies?: (rootCommentId: string) => void | Promise<void>;
|
|
21
|
+
onSubmitComment?: (body: string, meta?: ExperienceCommentSubmitMeta) => void | Promise<void>;
|
|
22
|
+
onRetry?: () => void;
|
|
23
|
+
onAuthorClick?: (userId: string, username?: string) => void;
|
|
24
|
+
onToggleLike?: (comment: ExperienceComment) => void;
|
|
25
|
+
viewerUserId?: string;
|
|
26
|
+
onEditComment?: (comment: ExperienceComment, body: string) => void | Promise<void>;
|
|
27
|
+
onDeleteComment?: (comment: ExperienceComment) => void | Promise<void>;
|
|
28
|
+
};
|
|
29
|
+
declare const ExperienceCommentsSheet: React.FC<ExperienceCommentsSheetProps>;
|
|
30
|
+
export default ExperienceCommentsSheet;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ExperienceCategory, SocialVisibility } from "./types";
|
|
3
|
+
export type ExperienceComposerValues = {
|
|
4
|
+
content: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
traditionLabel?: string;
|
|
7
|
+
category?: ExperienceCategory;
|
|
8
|
+
locationLabel?: string;
|
|
9
|
+
visibility: SocialVisibility;
|
|
10
|
+
eventId?: string;
|
|
11
|
+
};
|
|
12
|
+
export type ExperienceComposerProps = {
|
|
13
|
+
initialValues?: Partial<ExperienceComposerValues>;
|
|
14
|
+
eventTitle?: string;
|
|
15
|
+
submitting?: boolean;
|
|
16
|
+
onSubmit: (values: ExperienceComposerValues) => void;
|
|
17
|
+
onCancel?: () => void;
|
|
18
|
+
submitLabel?: string;
|
|
19
|
+
};
|
|
20
|
+
declare const ExperienceComposer: React.FC<ExperienceComposerProps>;
|
|
21
|
+
export default ExperienceComposer;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { Experience, ExperienceReactionType } from "./types";
|
|
3
|
+
export type ExperienceDetailViewProps = {
|
|
4
|
+
experience: Experience;
|
|
5
|
+
similarExperiences?: Experience[];
|
|
6
|
+
viewerUserId?: string;
|
|
7
|
+
alsoExperiencedLoading?: boolean;
|
|
8
|
+
onAlsoExperienced?: () => void;
|
|
9
|
+
onReactionToggle?: (type: ExperienceReactionType) => void;
|
|
10
|
+
onComment?: () => void;
|
|
11
|
+
onShare?: () => void;
|
|
12
|
+
onReport?: () => void;
|
|
13
|
+
onEdit?: (value: {
|
|
14
|
+
content: string;
|
|
15
|
+
title?: string | null;
|
|
16
|
+
}) => void | Promise<void>;
|
|
17
|
+
onDelete?: () => void | Promise<void>;
|
|
18
|
+
onAuthorClick?: () => void;
|
|
19
|
+
onSimilarOpen?: (id: string) => void;
|
|
20
|
+
};
|
|
21
|
+
declare const ExperienceDetailView: React.FC<ExperienceDetailViewProps>;
|
|
22
|
+
export default ExperienceDetailView;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ExperienceReactionType } from "./types";
|
|
3
|
+
export type ExperienceEngageMenuProps = {
|
|
4
|
+
selected?: ExperienceReactionType[];
|
|
5
|
+
alsoExperienced?: boolean;
|
|
6
|
+
alsoExperiencedCount?: number;
|
|
7
|
+
alsoExperiencedLoading?: boolean;
|
|
8
|
+
reactionCount?: number;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
onReactionToggle?: (type: ExperienceReactionType) => void;
|
|
11
|
+
onAlsoExperienced?: () => void;
|
|
12
|
+
};
|
|
13
|
+
declare const ExperienceEngageMenu: React.FC<ExperienceEngageMenuProps>;
|
|
14
|
+
export default ExperienceEngageMenu;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ExperiencePostType } from "./types";
|
|
3
|
+
export type ExperiencePostTypeBadgeProps = {
|
|
4
|
+
postType: ExperiencePostType;
|
|
5
|
+
size?: "small" | "medium";
|
|
6
|
+
};
|
|
7
|
+
declare const ExperiencePostTypeBadge: React.FC<ExperiencePostTypeBadgeProps>;
|
|
8
|
+
export default ExperiencePostTypeBadge;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ExperienceReactionType } from "./types";
|
|
3
|
+
export type ExperienceReactionBarProps = {
|
|
4
|
+
counts?: Partial<Record<ExperienceReactionType, number>>;
|
|
5
|
+
selected?: ExperienceReactionType[];
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
compact?: boolean;
|
|
8
|
+
onToggle?: (type: ExperienceReactionType) => void;
|
|
9
|
+
};
|
|
10
|
+
declare const ExperienceReactionBar: React.FC<ExperienceReactionBarProps>;
|
|
11
|
+
export default ExperienceReactionBar;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { SocialProfile } from "./types";
|
|
3
|
+
export type JourneyProfileProps = {
|
|
4
|
+
profile: SocialProfile;
|
|
5
|
+
isOwnProfile?: boolean;
|
|
6
|
+
connectionLoading?: boolean;
|
|
7
|
+
onBack?: () => void;
|
|
8
|
+
onSearch?: () => void;
|
|
9
|
+
onMore?: () => void;
|
|
10
|
+
onConnect?: () => void;
|
|
11
|
+
onDisconnect?: () => void;
|
|
12
|
+
onMessage?: () => void;
|
|
13
|
+
onEdit?: () => void;
|
|
14
|
+
onShare?: () => void;
|
|
15
|
+
onBlock?: () => void;
|
|
16
|
+
onOpenJoined?: () => void;
|
|
17
|
+
onOpenFollowing?: () => void;
|
|
18
|
+
onOpenFollowers?: () => void;
|
|
19
|
+
showVerificationBanner?: boolean;
|
|
20
|
+
/** Earn (unverified) vs expiring urgency (≤3 days left). */
|
|
21
|
+
verificationBannerMode?: "earn" | "expiring";
|
|
22
|
+
verificationDaysRemaining?: number | null;
|
|
23
|
+
/** Opens Selo de Presença progress sheet (replaces plan upsell). */
|
|
24
|
+
onOpenVerificationProgress?: () => void;
|
|
25
|
+
/** @deprecated Use onOpenVerificationProgress */
|
|
26
|
+
onGetVerification?: () => void;
|
|
27
|
+
onDismissVerification?: () => void;
|
|
28
|
+
/** @deprecated Prefer profile.followingCount / followersCount */
|
|
29
|
+
experiencesCount?: number;
|
|
30
|
+
/** @deprecated Prefer profile.followingCount / followersCount */
|
|
31
|
+
connectionsCount?: number;
|
|
32
|
+
};
|
|
33
|
+
declare const JourneyProfile: React.FC<JourneyProfileProps>;
|
|
34
|
+
export default JourneyProfile;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { SocialConversationPeer, SocialMessage } from "./types";
|
|
3
|
+
export type PeerMessageListProps = {
|
|
4
|
+
messages: SocialMessage[];
|
|
5
|
+
peer: SocialConversationPeer;
|
|
6
|
+
unreadBeforeMessageId?: string | null;
|
|
7
|
+
onRetryMessage?: (messageId: string) => void;
|
|
8
|
+
};
|
|
9
|
+
declare const PeerMessageList: React.FC<PeerMessageListProps>;
|
|
10
|
+
export default PeerMessageList;
|