@oxyhq/services 5.26.3 → 5.27.0
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/web/oxy-services.esm.js +2 -0
- package/dist/web/oxy-services.esm.js.map +1 -0
- package/dist/web/types/assets/icons/OxyServices.d.ts +28 -0
- package/dist/web/types/assets/illustrations/HighFive.d.ts +8 -0
- package/dist/web/types/constants/version.d.ts +13 -0
- package/dist/web/types/core/AuthManager.d.ts +143 -0
- package/dist/web/types/core/CrossDomainAuth.d.ts +160 -0
- package/dist/web/types/core/HttpService.d.ts +163 -0
- package/dist/web/types/core/OxyServices.base.d.ts +126 -0
- package/dist/web/types/core/OxyServices.d.ts +81 -0
- package/dist/web/types/core/OxyServices.errors.d.ts +11 -0
- package/dist/web/types/core/index.d.ts +20 -0
- package/dist/web/types/core/mixins/OxyServices.analytics.d.ts +66 -0
- package/dist/web/types/core/mixins/OxyServices.assets.d.ts +135 -0
- package/dist/web/types/core/mixins/OxyServices.auth.d.ts +186 -0
- package/dist/web/types/core/mixins/OxyServices.developer.d.ts +99 -0
- package/dist/web/types/core/mixins/OxyServices.devices.d.ts +96 -0
- package/dist/web/types/core/mixins/OxyServices.features.d.ts +228 -0
- package/dist/web/types/core/mixins/OxyServices.fedcm.d.ts +200 -0
- package/dist/web/types/core/mixins/OxyServices.karma.d.ts +85 -0
- package/dist/web/types/core/mixins/OxyServices.language.d.ts +81 -0
- package/dist/web/types/core/mixins/OxyServices.location.d.ts +64 -0
- package/dist/web/types/core/mixins/OxyServices.payment.d.ts +111 -0
- package/dist/web/types/core/mixins/OxyServices.popup.d.ts +205 -0
- package/dist/web/types/core/mixins/OxyServices.privacy.d.ts +122 -0
- package/dist/web/types/core/mixins/OxyServices.redirect.d.ts +245 -0
- package/dist/web/types/core/mixins/OxyServices.security.d.ts +78 -0
- package/dist/web/types/core/mixins/OxyServices.user.d.ts +184 -0
- package/dist/web/types/core/mixins/OxyServices.utility.d.ts +93 -0
- package/dist/web/types/core/mixins/index.d.ts +30 -0
- package/dist/web/types/core/mixins/mixinHelpers.d.ts +31 -0
- package/dist/web/types/crypto/index.d.ts +11 -0
- package/dist/web/types/crypto/keyManager.d.ts +189 -0
- package/dist/web/types/crypto/polyfill.d.ts +12 -0
- package/dist/web/types/crypto/recoveryPhrase.d.ts +58 -0
- package/dist/web/types/crypto/signatureService.d.ts +86 -0
- package/dist/web/types/i18n/index.d.ts +3 -0
- package/dist/web/types/index.d.ts +62 -0
- package/dist/web/types/lib/sonner-safe.d.ts +8 -0
- package/dist/web/types/lib/sonner.d.ts +11 -0
- package/dist/web/types/lib/sonner.web.d.ts +14 -0
- package/dist/web/types/models/interfaces.d.ts +415 -0
- package/dist/web/types/models/session.d.ts +27 -0
- package/dist/web/types/node/index.d.ts +9 -0
- package/dist/web/types/shared/index.d.ts +28 -0
- package/dist/web/types/shared/utils/colorUtils.d.ts +104 -0
- package/dist/web/types/shared/utils/debugUtils.d.ts +48 -0
- package/dist/web/types/shared/utils/errorUtils.d.ts +97 -0
- package/dist/web/types/shared/utils/index.d.ts +13 -0
- package/dist/web/types/shared/utils/networkUtils.d.ts +139 -0
- package/dist/web/types/shared/utils/themeUtils.d.ts +90 -0
- package/dist/web/types/ui/client.d.ts +33 -0
- package/dist/web/types/ui/components/ActivityIndicator.d.ts +44 -0
- package/dist/web/types/ui/components/AnimationExample.d.ts +3 -0
- package/dist/web/types/ui/components/AutoHeightScrollView.d.ts +22 -0
- package/dist/web/types/ui/components/Avatar.d.ts +60 -0
- package/dist/web/types/ui/components/BottomSheet.d.ts +28 -0
- package/dist/web/types/ui/components/BottomSheetRouter.d.ts +8 -0
- package/dist/web/types/ui/components/CrossFadeIcon.d.ts +26 -0
- package/dist/web/types/ui/components/EmptyState.d.ts +7 -0
- package/dist/web/types/ui/components/ErrorBoundary.d.ts +30 -0
- package/dist/web/types/ui/components/FollowButton.d.ts +17 -0
- package/dist/web/types/ui/components/FontLoader.d.ts +14 -0
- package/dist/web/types/ui/components/GroupedItem.d.ts +23 -0
- package/dist/web/types/ui/components/GroupedSection.d.ts +24 -0
- package/dist/web/types/ui/components/Header.d.ts +37 -0
- package/dist/web/types/ui/components/HelperText.d.ts +46 -0
- package/dist/web/types/ui/components/Icon.d.ts +59 -0
- package/dist/web/types/ui/components/IconButton/IconButton.d.ts +98 -0
- package/dist/web/types/ui/components/IconButton/utils.d.ts +18 -0
- package/dist/web/types/ui/components/LoadingState.d.ts +8 -0
- package/dist/web/types/ui/components/OxyLogo.d.ts +28 -0
- package/dist/web/types/ui/components/OxyPayButton.d.ts +28 -0
- package/dist/web/types/ui/components/OxyProvider.d.ts +33 -0
- package/dist/web/types/ui/components/OxySignInButton.d.ts +64 -0
- package/dist/web/types/ui/components/ProfileCard.d.ts +17 -0
- package/dist/web/types/ui/components/QuickActions.d.ts +14 -0
- package/dist/web/types/ui/components/Section.d.ts +11 -0
- package/dist/web/types/ui/components/SectionTitle.d.ts +9 -0
- package/dist/web/types/ui/components/SettingRow.d.ts +19 -0
- package/dist/web/types/ui/components/SignInModal.d.ts +17 -0
- package/dist/web/types/ui/components/StepBasedScreen.d.ts +25 -0
- package/dist/web/types/ui/components/Surface.d.ts +75 -0
- package/dist/web/types/ui/components/TextField/Addons/Outline.d.ts +15 -0
- package/dist/web/types/ui/components/TextField/Addons/Underline.d.ts +18 -0
- package/dist/web/types/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +44 -0
- package/dist/web/types/ui/components/TextField/Adornment/TextFieldAffix.d.ts +72 -0
- package/dist/web/types/ui/components/TextField/Adornment/TextFieldIcon.d.ts +77 -0
- package/dist/web/types/ui/components/TextField/Adornment/enums.d.ts +12 -0
- package/dist/web/types/ui/components/TextField/Adornment/types.d.ts +11 -0
- package/dist/web/types/ui/components/TextField/Adornment/utils.d.ts +11 -0
- package/dist/web/types/ui/components/TextField/Label/InputLabel.d.ts +4 -0
- package/dist/web/types/ui/components/TextField/Label/LabelBackground.d.ts +3 -0
- package/dist/web/types/ui/components/TextField/TextFieldFlat.d.ts +3 -0
- package/dist/web/types/ui/components/TextField/TextFieldOutlined.d.ts +3 -0
- package/dist/web/types/ui/components/TextField/constants.d.ts +31 -0
- package/dist/web/types/ui/components/TextField/helpers.d.ts +96 -0
- package/dist/web/types/ui/components/TextField/types.d.ts +155 -0
- package/dist/web/types/ui/components/TextField.d.ts +191 -0
- package/dist/web/types/ui/components/TouchableRipple/Pressable.d.ts +12 -0
- package/dist/web/types/ui/components/TouchableRipple/TouchableRipple.d.ts +61 -0
- package/dist/web/types/ui/components/TouchableRipple/utils.d.ts +10 -0
- package/dist/web/types/ui/components/Typography/AnimatedText.d.ts +34 -0
- package/dist/web/types/ui/components/Typography/types.d.ts +18 -0
- package/dist/web/types/ui/components/WebOxyProvider.d.ts +51 -0
- package/dist/web/types/ui/components/feedback/FormInput.d.ts +19 -0
- package/dist/web/types/ui/components/feedback/ProgressIndicator.d.ts +10 -0
- package/dist/web/types/ui/components/feedback/constants.d.ts +4 -0
- package/dist/web/types/ui/components/feedback/feedbackStyles.d.ts +279 -0
- package/dist/web/types/ui/components/feedback/index.d.ts +6 -0
- package/dist/web/types/ui/components/feedback/types.d.ts +45 -0
- package/dist/web/types/ui/components/feedback/useFeedbackForm.d.ts +8 -0
- package/dist/web/types/ui/components/fileManagement/AnimatedButton.d.ts +15 -0
- package/dist/web/types/ui/components/fileManagement/FileDetailsModal.d.ts +14 -0
- package/dist/web/types/ui/components/fileManagement/FileViewer.d.ts +17 -0
- package/dist/web/types/ui/components/fileManagement/UploadPreview.d.ts +20 -0
- package/dist/web/types/ui/components/fileManagement/styles.d.ts +859 -0
- package/dist/web/types/ui/components/icon/FAIRWalletIcon.d.ts +8 -0
- package/dist/web/types/ui/components/icon/OxyIcon.d.ts +9 -0
- package/dist/web/types/ui/components/icon/index.d.ts +3 -0
- package/dist/web/types/ui/components/index.d.ts +16 -0
- package/dist/web/types/ui/components/internal/GroupedPillButtons.d.ts +17 -0
- package/dist/web/types/ui/components/internal/PinInput.d.ts +22 -0
- package/dist/web/types/ui/components/modals/DeleteAccountModal.d.ts +18 -0
- package/dist/web/types/ui/components/modals/index.d.ts +1 -0
- package/dist/web/types/ui/components/payment/PaymentDetailsStep.d.ts +20 -0
- package/dist/web/types/ui/components/payment/PaymentMethodStep.d.ts +13 -0
- package/dist/web/types/ui/components/payment/PaymentReviewStep.d.ts +15 -0
- package/dist/web/types/ui/components/payment/PaymentSuccessStep.d.ts +9 -0
- package/dist/web/types/ui/components/payment/PaymentSummaryStep.d.ts +14 -0
- package/dist/web/types/ui/components/payment/constants.d.ts +6 -0
- package/dist/web/types/ui/components/payment/index.d.ts +8 -0
- package/dist/web/types/ui/components/payment/paymentStyles.d.ts +395 -0
- package/dist/web/types/ui/components/payment/types.d.ts +39 -0
- package/dist/web/types/ui/components/photogrid/JustifiedPhotoGrid.d.ts +26 -0
- package/dist/web/types/ui/components/styles/overlay.d.ts +3 -0
- package/dist/web/types/ui/components/styles/shadow.d.ts +2 -0
- package/dist/web/types/ui/components/theming.d.ts +7 -0
- package/dist/web/types/ui/components/types.d.ts +79 -0
- package/dist/web/types/ui/components/utils/forwardRef.d.ts +11 -0
- package/dist/web/types/ui/components/utils/hasTouchHandler.d.ts +5 -0
- package/dist/web/types/ui/components/utils/roundLayoutSize.d.ts +1 -0
- package/dist/web/types/ui/components/utils/splitStyles.d.ts +19 -0
- package/dist/web/types/ui/constants/iconColors.d.ts +129 -0
- package/dist/web/types/ui/constants/spacing.d.ts +32 -0
- package/dist/web/types/ui/constants/theme.d.ts +96 -0
- package/dist/web/types/ui/context/OxyContext.d.ts +74 -0
- package/dist/web/types/ui/context/ThemeContext.d.ts +18 -0
- package/dist/web/types/ui/context/hooks/useAuthOperations.d.ts +39 -0
- package/dist/web/types/ui/context/hooks/useDeviceManagement.d.ts +26 -0
- package/dist/web/types/ui/context/hooks/useLanguageManagement.d.ts +24 -0
- package/dist/web/types/ui/context/hooks/useSessionManagement.d.ts +40 -0
- package/dist/web/types/ui/hooks/index.d.ts +6 -0
- package/dist/web/types/ui/hooks/mutations/index.d.ts +8 -0
- package/dist/web/types/ui/hooks/mutations/mutationFactory.d.ts +75 -0
- package/dist/web/types/ui/hooks/mutations/useAccountMutations.d.ts +68 -0
- package/dist/web/types/ui/hooks/mutations/useServicesMutations.d.ts +22 -0
- package/dist/web/types/ui/hooks/queries/index.d.ts +10 -0
- package/dist/web/types/ui/hooks/queries/queryKeys.d.ts +64 -0
- package/dist/web/types/ui/hooks/queries/useAccountQueries.d.ts +42 -0
- package/dist/web/types/ui/hooks/queries/useSecurityQueries.d.ts +14 -0
- package/dist/web/types/ui/hooks/queries/useServicesQueries.d.ts +31 -0
- package/dist/web/types/ui/hooks/queryClient.d.ts +18 -0
- package/dist/web/types/ui/hooks/useAssets.d.ts +34 -0
- package/dist/web/types/ui/hooks/useAsyncAction.d.ts +50 -0
- package/dist/web/types/ui/hooks/useAuth.d.ts +73 -0
- package/dist/web/types/ui/hooks/useColorScheme.d.ts +7 -0
- package/dist/web/types/ui/hooks/useDeviceManagement.d.ts +26 -0
- package/dist/web/types/ui/hooks/useFileDownloadUrl.d.ts +18 -0
- package/dist/web/types/ui/hooks/useFileFiltering.d.ts +28 -0
- package/dist/web/types/ui/hooks/useFollow.d.ts +61 -0
- package/dist/web/types/ui/hooks/useFollow.types.d.ts +32 -0
- package/dist/web/types/ui/hooks/useI18n.d.ts +4 -0
- package/dist/web/types/ui/hooks/useLanguageManagement.d.ts +24 -0
- package/dist/web/types/ui/hooks/useProfileEditing.d.ts +35 -0
- package/dist/web/types/ui/hooks/useQueryClient.d.ts +6 -0
- package/dist/web/types/ui/hooks/useSessionManagement.d.ts +40 -0
- package/dist/web/types/ui/hooks/useSessionSocket.d.ts +13 -0
- package/dist/web/types/ui/hooks/useSettingToggle.d.ts +56 -0
- package/dist/web/types/ui/hooks/useStorage.d.ts +15 -0
- package/dist/web/types/ui/hooks/useThemeColors.d.ts +93 -0
- package/dist/web/types/ui/hooks/useThemeStyles.d.ts +44 -0
- package/dist/web/types/ui/hooks/useWebSSO.d.ts +57 -0
- package/dist/web/types/ui/index.d.ts +7 -0
- package/dist/web/types/ui/isFrontend.d.ts +2 -0
- package/dist/web/types/ui/navigation/bottomSheetManager.d.ts +26 -0
- package/dist/web/types/ui/navigation/routes.d.ts +5 -0
- package/dist/web/types/ui/screens/AccountCenterScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/AccountOverviewScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/AccountSettingsScreen.d.ts +7 -0
- package/dist/web/types/ui/screens/AccountSwitcherScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/AccountVerificationScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/AppInfoScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/EditProfileFieldScreen.d.ts +12 -0
- package/dist/web/types/ui/screens/FAQScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/FeedbackScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/FileManagementScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/FollowersListScreen.d.ts +8 -0
- package/dist/web/types/ui/screens/FollowingListScreen.d.ts +8 -0
- package/dist/web/types/ui/screens/HelpSupportScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/HistoryViewScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/LanguageSelectorScreen.d.ts +6 -0
- package/dist/web/types/ui/screens/LearnMoreUsernamesScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/LegalDocumentsScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/OxyAuthScreen.d.ts +16 -0
- package/dist/web/types/ui/screens/PaymentGatewayScreen.d.ts +14 -0
- package/dist/web/types/ui/screens/PremiumSubscriptionScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/PrivacySettingsScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/ProfileScreen.d.ts +8 -0
- package/dist/web/types/ui/screens/SavesCollectionsScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/SearchSettingsScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/SessionManagementScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/UserLinksScreen.d.ts +14 -0
- package/dist/web/types/ui/screens/UserListScreen.d.ts +10 -0
- package/dist/web/types/ui/screens/WelcomeNewUserScreen.d.ts +12 -0
- package/dist/web/types/ui/screens/karma/KarmaAboutScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/karma/KarmaCenterScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/karma/KarmaFAQScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/karma/KarmaLeaderboardScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/karma/KarmaRewardsScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/karma/KarmaRulesScreen.d.ts +4 -0
- package/dist/web/types/ui/server.d.ts +42 -0
- package/dist/web/types/ui/stores/accountStore.d.ts +33 -0
- package/dist/web/types/ui/stores/assetStore.d.ts +53 -0
- package/dist/web/types/ui/stores/authStore.d.ts +16 -0
- package/dist/web/types/ui/stores/fileStore.d.ts +30 -0
- package/dist/web/types/ui/stores/followStore.d.ts +24 -0
- package/dist/web/types/ui/styles/authStyles.d.ts +331 -0
- package/dist/web/types/ui/styles/fonts.d.ts +20 -0
- package/dist/web/types/ui/styles/index.d.ts +4 -0
- package/dist/web/types/ui/styles/spacing.d.ts +48 -0
- package/dist/web/types/ui/styles/theme.d.ts +67 -0
- package/dist/web/types/ui/types/fileManagement.d.ts +40 -0
- package/dist/web/types/ui/types/navigation.d.ts +36 -0
- package/dist/web/types/ui/utils/authHelpers.d.ts +98 -0
- package/dist/web/types/ui/utils/avatarUtils.d.ts +33 -0
- package/dist/web/types/ui/utils/colorUtils.d.ts +9 -0
- package/dist/web/types/ui/utils/confirmAction.d.ts +6 -0
- package/dist/web/types/ui/utils/errorHandlers.d.ts +34 -0
- package/dist/web/types/ui/utils/fileManagement.d.ts +86 -0
- package/dist/web/types/ui/utils/iconNames.d.ts +111 -0
- package/dist/web/types/ui/utils/sessionHelpers.d.ts +63 -0
- package/dist/web/types/ui/utils/storageHelpers.d.ts +27 -0
- package/dist/web/types/ui/utils/themeUtils.d.ts +10 -0
- package/dist/web/types/ui/utils/userUtils.d.ts +28 -0
- package/dist/web/types/utils/apiUtils.d.ts +53 -0
- package/dist/web/types/utils/asyncUtils.d.ts +58 -0
- package/dist/web/types/utils/cache.d.ts +127 -0
- package/dist/web/types/utils/deviceManager.d.ts +65 -0
- package/dist/web/types/utils/errorUtils.d.ts +46 -0
- package/dist/web/types/utils/hookUtils.d.ts +101 -0
- package/dist/web/types/utils/index.d.ts +6 -0
- package/dist/web/types/utils/languageUtils.d.ts +37 -0
- package/dist/web/types/utils/loggerUtils.d.ts +48 -0
- package/dist/web/types/utils/platform.d.ts +40 -0
- package/dist/web/types/utils/platformInit.d.ts +8 -0
- package/dist/web/types/utils/requestUtils.d.ts +123 -0
- package/dist/web/types/utils/sessionUtils.d.ts +54 -0
- package/dist/web/types/utils/validationUtils.d.ts +85 -0
- package/dist/web/types/web/WebOxyContext.d.ts +151 -0
- package/dist/web/types/web/index.d.ts +52 -0
- package/dist/web/types/web.d.ts +53 -0
- package/package.json +77 -35
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { BaseScreenProps } from '../types/navigation';
|
|
3
|
+
interface ProfileScreenProps extends BaseScreenProps {
|
|
4
|
+
userId: string;
|
|
5
|
+
username?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const ProfileScreen: React.FC<ProfileScreenProps>;
|
|
8
|
+
export default ProfileScreen;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import type { BaseScreenProps } from '../types/navigation';
|
|
3
|
+
interface UserLinksScreenProps extends BaseScreenProps {
|
|
4
|
+
userId: string;
|
|
5
|
+
links?: Array<{
|
|
6
|
+
url: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
image?: string;
|
|
10
|
+
id: string;
|
|
11
|
+
}>;
|
|
12
|
+
}
|
|
13
|
+
declare const UserLinksScreen: React.FC<UserLinksScreenProps>;
|
|
14
|
+
export default UserLinksScreen;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { BaseScreenProps } from '../types/navigation';
|
|
3
|
+
type ListMode = 'followers' | 'following';
|
|
4
|
+
interface UserListScreenProps extends BaseScreenProps {
|
|
5
|
+
userId: string;
|
|
6
|
+
mode: ListMode;
|
|
7
|
+
initialCount?: number;
|
|
8
|
+
}
|
|
9
|
+
declare const UserListScreen: React.FC<UserListScreenProps>;
|
|
10
|
+
export default UserListScreen;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { BaseScreenProps } from '../types/navigation';
|
|
3
|
+
/**
|
|
4
|
+
* Post-signup welcome & onboarding screen.
|
|
5
|
+
* - Greets the newly registered user
|
|
6
|
+
* - Lets them immediately set / change their avatar using existing FileManagement picker
|
|
7
|
+
* - Only when the user presses "Continue" do we invoke onAuthenticated to finish flow & close sheet
|
|
8
|
+
*/
|
|
9
|
+
declare const WelcomeNewUserScreen: React.FC<BaseScreenProps & {
|
|
10
|
+
newUser?: any;
|
|
11
|
+
}>;
|
|
12
|
+
export default WelcomeNewUserScreen;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Server-safe UI exports (noops)
|
|
3
|
+
*
|
|
4
|
+
* Import from this module for SSR environments where React components
|
|
5
|
+
* shouldn't be rendered on the server.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* import { OxyProvider, useOxy } from '@oxyhq/services/ui/server';
|
|
9
|
+
*/
|
|
10
|
+
export declare const OxyProvider: () => null;
|
|
11
|
+
export declare const OxySignInButton: () => null;
|
|
12
|
+
export declare const OxyLogo: () => null;
|
|
13
|
+
export declare const Avatar: () => null;
|
|
14
|
+
export declare const FollowButton: () => null;
|
|
15
|
+
export declare const OxyPayButton: () => null;
|
|
16
|
+
export declare const FontLoader: () => null;
|
|
17
|
+
export declare const setupFonts: () => void;
|
|
18
|
+
export declare const OxyIcon: () => null;
|
|
19
|
+
export declare const useOxy: () => {};
|
|
20
|
+
export declare const useAuth: () => {};
|
|
21
|
+
export declare const useFollow: () => {};
|
|
22
|
+
export declare const useStorage: () => {
|
|
23
|
+
storage: null;
|
|
24
|
+
isReady: boolean;
|
|
25
|
+
};
|
|
26
|
+
export declare const ProfileScreen: () => null;
|
|
27
|
+
export declare const useAuthStore: () => {};
|
|
28
|
+
export declare const useAccountStore: () => {};
|
|
29
|
+
export declare const fontFamilies: {};
|
|
30
|
+
export declare const fontStyles: {};
|
|
31
|
+
export declare const toast: (() => void) & {
|
|
32
|
+
success: () => void;
|
|
33
|
+
error: () => void;
|
|
34
|
+
info: () => void;
|
|
35
|
+
warning: () => void;
|
|
36
|
+
loading: () => void;
|
|
37
|
+
dismiss: () => void;
|
|
38
|
+
};
|
|
39
|
+
export { OxyServices } from '../core';
|
|
40
|
+
export type { User, LoginResponse, ApiError } from '../models/interfaces';
|
|
41
|
+
export { handleAuthError, isInvalidSessionError, isTimeoutOrNetworkError, extractErrorMessage, } from './utils/errorHandlers';
|
|
42
|
+
export type { HandleAuthErrorOptions } from './utils/errorHandlers';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { OxyServices } from '../../core';
|
|
2
|
+
export interface QuickAccount {
|
|
3
|
+
sessionId: string;
|
|
4
|
+
userId?: string;
|
|
5
|
+
username: string;
|
|
6
|
+
displayName: string;
|
|
7
|
+
avatar?: string;
|
|
8
|
+
avatarUrl?: string;
|
|
9
|
+
}
|
|
10
|
+
interface AccountState {
|
|
11
|
+
accounts: Record<string, QuickAccount>;
|
|
12
|
+
accountOrder: string[];
|
|
13
|
+
accountsArray: QuickAccount[];
|
|
14
|
+
loading: boolean;
|
|
15
|
+
loadingSessionIds: Set<string>;
|
|
16
|
+
error: string | null;
|
|
17
|
+
setAccounts: (accounts: QuickAccount[]) => void;
|
|
18
|
+
addAccount: (account: QuickAccount) => void;
|
|
19
|
+
updateAccount: (sessionId: string, updates: Partial<QuickAccount>) => void;
|
|
20
|
+
removeAccount: (sessionId: string) => void;
|
|
21
|
+
moveAccountToTop: (sessionId: string) => void;
|
|
22
|
+
setLoading: (loading: boolean) => void;
|
|
23
|
+
setLoadingSession: (sessionId: string, loading: boolean) => void;
|
|
24
|
+
setError: (error: string | null) => void;
|
|
25
|
+
loadAccounts: (sessionIds: string[], oxyServices: OxyServices, existingAccounts?: QuickAccount[], preserveOrder?: boolean) => Promise<void>;
|
|
26
|
+
reset: () => void;
|
|
27
|
+
}
|
|
28
|
+
export declare const useAccountStore: import("zustand").UseBoundStore<import("zustand").StoreApi<AccountState>>;
|
|
29
|
+
export declare const useAccounts: () => QuickAccount[];
|
|
30
|
+
export declare const useAccountLoading: () => boolean;
|
|
31
|
+
export declare const useAccountError: () => string | null;
|
|
32
|
+
export declare const useAccountLoadingSession: (sessionId: string) => boolean;
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Asset, AssetUploadProgress, AssetLink } from '../../models/interfaces';
|
|
2
|
+
interface AssetState {
|
|
3
|
+
assets: Record<string, Asset>;
|
|
4
|
+
uploadProgress: Record<string, AssetUploadProgress>;
|
|
5
|
+
loading: {
|
|
6
|
+
uploading: boolean;
|
|
7
|
+
linking: boolean;
|
|
8
|
+
deleting: boolean;
|
|
9
|
+
};
|
|
10
|
+
errors: {
|
|
11
|
+
upload?: string;
|
|
12
|
+
link?: string;
|
|
13
|
+
delete?: string;
|
|
14
|
+
};
|
|
15
|
+
setAsset: (asset: Asset) => void;
|
|
16
|
+
setAssets: (assets: Asset[]) => void;
|
|
17
|
+
removeAsset: (assetId: string) => void;
|
|
18
|
+
setUploadProgress: (fileId: string, progress: AssetUploadProgress) => void;
|
|
19
|
+
removeUploadProgress: (fileId: string) => void;
|
|
20
|
+
addLink: (assetId: string, link: AssetLink) => void;
|
|
21
|
+
removeLink: (assetId: string, app: string, entityType: string, entityId: string) => void;
|
|
22
|
+
setUploading: (uploading: boolean) => void;
|
|
23
|
+
setLinking: (linking: boolean) => void;
|
|
24
|
+
setDeleting: (deleting: boolean) => void;
|
|
25
|
+
setUploadError: (error?: string) => void;
|
|
26
|
+
setLinkError: (error?: string) => void;
|
|
27
|
+
setDeleteError: (error?: string) => void;
|
|
28
|
+
clearErrors: () => void;
|
|
29
|
+
getAssetsByApp: (app: string) => Asset[];
|
|
30
|
+
getAssetsByEntity: (app: string, entityType: string, entityId: string) => Asset[];
|
|
31
|
+
getAssetUsageCount: (assetId: string) => number;
|
|
32
|
+
isAssetLinked: (assetId: string, app: string, entityType: string, entityId: string) => boolean;
|
|
33
|
+
reset: () => void;
|
|
34
|
+
}
|
|
35
|
+
export declare const useAssetStore: import("zustand").UseBoundStore<import("zustand").StoreApi<AssetState>>;
|
|
36
|
+
export declare const useAssets: () => Asset[];
|
|
37
|
+
export declare const useAsset: (assetId: string) => Asset;
|
|
38
|
+
export declare const useUploadProgress: () => Record<string, AssetUploadProgress>;
|
|
39
|
+
export declare const useAssetLoading: () => {
|
|
40
|
+
uploading: boolean;
|
|
41
|
+
linking: boolean;
|
|
42
|
+
deleting: boolean;
|
|
43
|
+
};
|
|
44
|
+
export declare const useAssetErrors: () => {
|
|
45
|
+
upload?: string;
|
|
46
|
+
link?: string;
|
|
47
|
+
delete?: string;
|
|
48
|
+
};
|
|
49
|
+
export declare const useAssetsByApp: (app: string) => Asset[];
|
|
50
|
+
export declare const useAssetsByEntity: (app: string, entityType: string, entityId: string) => Asset[];
|
|
51
|
+
export declare const useAssetUsageCount: (assetId: string) => number;
|
|
52
|
+
export declare const useIsAssetLinked: (assetId: string, app: string, entityType: string, entityId: string) => boolean;
|
|
53
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { User } from '../../models/interfaces';
|
|
2
|
+
export interface AuthState {
|
|
3
|
+
user: User | null;
|
|
4
|
+
isAuthenticated: boolean;
|
|
5
|
+
isLoading: boolean;
|
|
6
|
+
error: string | null;
|
|
7
|
+
lastUserFetch: number | null;
|
|
8
|
+
loginSuccess: (user: User) => void;
|
|
9
|
+
loginFailure: (error: string) => void;
|
|
10
|
+
logout: () => void;
|
|
11
|
+
fetchUser: (oxyServices: {
|
|
12
|
+
getCurrentUser: () => Promise<User>;
|
|
13
|
+
}, forceRefresh?: boolean) => Promise<void>;
|
|
14
|
+
setUser: (user: User) => void;
|
|
15
|
+
}
|
|
16
|
+
export declare const useAuthStore: import("zustand").UseBoundStore<import("zustand").StoreApi<AuthState>>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { FileMetadata } from '../../models/interfaces';
|
|
2
|
+
export interface FileUploadAggregateProgress {
|
|
3
|
+
current: number;
|
|
4
|
+
total: number;
|
|
5
|
+
}
|
|
6
|
+
interface FileState {
|
|
7
|
+
files: Record<string, FileMetadata>;
|
|
8
|
+
order: string[];
|
|
9
|
+
uploading: boolean;
|
|
10
|
+
deleting: string | null;
|
|
11
|
+
uploadProgress: FileUploadAggregateProgress | null;
|
|
12
|
+
setFiles: (files: FileMetadata[], opts?: {
|
|
13
|
+
merge?: boolean;
|
|
14
|
+
}) => void;
|
|
15
|
+
addFile: (file: FileMetadata, opts?: {
|
|
16
|
+
prepend?: boolean;
|
|
17
|
+
}) => void;
|
|
18
|
+
updateFile: (id: string, patch: Partial<FileMetadata>) => void;
|
|
19
|
+
removeFile: (id: string) => void;
|
|
20
|
+
setUploading: (val: boolean) => void;
|
|
21
|
+
setDeleting: (id: string | null) => void;
|
|
22
|
+
setUploadProgress: (p: FileUploadAggregateProgress | null) => void;
|
|
23
|
+
reset: () => void;
|
|
24
|
+
}
|
|
25
|
+
export declare const useFileStore: import("zustand").UseBoundStore<import("zustand").StoreApi<FileState>>;
|
|
26
|
+
export declare const useFiles: () => FileMetadata[];
|
|
27
|
+
export declare const useUploading: () => boolean;
|
|
28
|
+
export declare const useUploadAggregateProgress: () => FileUploadAggregateProgress | null;
|
|
29
|
+
export declare const useDeleting: () => string | null;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { OxyServices } from '../../core';
|
|
2
|
+
interface FollowState {
|
|
3
|
+
followingUsers: Record<string, boolean>;
|
|
4
|
+
loadingUsers: Record<string, boolean>;
|
|
5
|
+
fetchingUsers: Record<string, boolean>;
|
|
6
|
+
errors: Record<string, string | null>;
|
|
7
|
+
followerCounts: Record<string, number>;
|
|
8
|
+
followingCounts: Record<string, number>;
|
|
9
|
+
loadingCounts: Record<string, boolean>;
|
|
10
|
+
setFollowingStatus: (userId: string, isFollowing: boolean) => void;
|
|
11
|
+
clearFollowError: (userId: string) => void;
|
|
12
|
+
resetFollowState: () => void;
|
|
13
|
+
fetchFollowStatus: (userId: string, oxyServices: OxyServices) => Promise<void>;
|
|
14
|
+
toggleFollowUser: (userId: string, oxyServices: OxyServices, isCurrentlyFollowing: boolean) => Promise<void>;
|
|
15
|
+
setFollowerCount: (userId: string, count: number) => void;
|
|
16
|
+
setFollowingCount: (userId: string, count: number) => void;
|
|
17
|
+
updateCountsFromFollowAction: (targetUserId: string, action: 'follow' | 'unfollow', counts: {
|
|
18
|
+
followers: number;
|
|
19
|
+
following: number;
|
|
20
|
+
}, currentUserId?: string) => void;
|
|
21
|
+
fetchUserCounts: (userId: string, oxyServices: OxyServices) => Promise<void>;
|
|
22
|
+
}
|
|
23
|
+
export declare const useFollowStore: import("zustand").UseBoundStore<import("zustand").StoreApi<FollowState>>;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,331 @@
|
|
|
1
|
+
export interface AuthThemeColors {
|
|
2
|
+
text: string;
|
|
3
|
+
background: string;
|
|
4
|
+
inputBackground: string;
|
|
5
|
+
placeholder: string;
|
|
6
|
+
primary: string;
|
|
7
|
+
border: string;
|
|
8
|
+
error: string;
|
|
9
|
+
success: string;
|
|
10
|
+
warning: string;
|
|
11
|
+
secondaryText: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const createAuthStyles: (colors: AuthThemeColors, theme: string) => {
|
|
14
|
+
stepContainer: {
|
|
15
|
+
justifyContent: "flex-start";
|
|
16
|
+
alignItems: "flex-start";
|
|
17
|
+
};
|
|
18
|
+
modernHeader: {
|
|
19
|
+
alignItems: "flex-start";
|
|
20
|
+
width: "100%";
|
|
21
|
+
marginBottom: number;
|
|
22
|
+
};
|
|
23
|
+
modernTitle: {
|
|
24
|
+
fontFamily: string;
|
|
25
|
+
fontWeight: "bold" | undefined;
|
|
26
|
+
fontSize: number;
|
|
27
|
+
lineHeight: number;
|
|
28
|
+
marginBottom: number;
|
|
29
|
+
textAlign: "left";
|
|
30
|
+
letterSpacing: number;
|
|
31
|
+
};
|
|
32
|
+
modernSubtitle: {
|
|
33
|
+
fontSize: number;
|
|
34
|
+
lineHeight: number;
|
|
35
|
+
textAlign: "left";
|
|
36
|
+
opacity: number;
|
|
37
|
+
};
|
|
38
|
+
welcomeTitle: {
|
|
39
|
+
fontFamily: string;
|
|
40
|
+
fontWeight: "bold" | undefined;
|
|
41
|
+
fontSize: number;
|
|
42
|
+
lineHeight: number;
|
|
43
|
+
marginBottom: number;
|
|
44
|
+
textAlign: "left";
|
|
45
|
+
letterSpacing: number;
|
|
46
|
+
};
|
|
47
|
+
stepTitle: {
|
|
48
|
+
fontFamily: string;
|
|
49
|
+
fontWeight: "bold" | undefined;
|
|
50
|
+
fontSize: number;
|
|
51
|
+
lineHeight: number;
|
|
52
|
+
marginBottom: number;
|
|
53
|
+
textAlign: "left";
|
|
54
|
+
letterSpacing: number;
|
|
55
|
+
};
|
|
56
|
+
modernInfoCard: {
|
|
57
|
+
flexDirection: "row";
|
|
58
|
+
alignItems: "center";
|
|
59
|
+
padding: number;
|
|
60
|
+
borderRadius: number;
|
|
61
|
+
marginBottom: number;
|
|
62
|
+
gap: number;
|
|
63
|
+
width: "100%";
|
|
64
|
+
};
|
|
65
|
+
modernInfoText: {
|
|
66
|
+
fontSize: number;
|
|
67
|
+
flex: number;
|
|
68
|
+
};
|
|
69
|
+
modernErrorCard: {
|
|
70
|
+
flexDirection: "row";
|
|
71
|
+
alignItems: "center";
|
|
72
|
+
padding: number;
|
|
73
|
+
borderRadius: number;
|
|
74
|
+
marginBottom: number;
|
|
75
|
+
gap: number;
|
|
76
|
+
width: "100%";
|
|
77
|
+
};
|
|
78
|
+
errorText: {
|
|
79
|
+
fontSize: number;
|
|
80
|
+
fontWeight: "500";
|
|
81
|
+
flex: number;
|
|
82
|
+
};
|
|
83
|
+
modernInputContainer: {
|
|
84
|
+
width: "100%";
|
|
85
|
+
marginBottom: number;
|
|
86
|
+
};
|
|
87
|
+
inputWrapper: {
|
|
88
|
+
flexDirection: "row";
|
|
89
|
+
alignItems: "center";
|
|
90
|
+
height: number;
|
|
91
|
+
borderRadius: number;
|
|
92
|
+
paddingHorizontal: number;
|
|
93
|
+
borderWidth: number;
|
|
94
|
+
backgroundColor: string;
|
|
95
|
+
};
|
|
96
|
+
premiumInputWrapper: {
|
|
97
|
+
flexDirection: "row";
|
|
98
|
+
alignItems: "center";
|
|
99
|
+
height: number;
|
|
100
|
+
borderRadius: number;
|
|
101
|
+
paddingHorizontal: number;
|
|
102
|
+
borderWidth: number;
|
|
103
|
+
backgroundColor: string;
|
|
104
|
+
};
|
|
105
|
+
inputIcon: {
|
|
106
|
+
marginRight: number;
|
|
107
|
+
};
|
|
108
|
+
inputContent: {
|
|
109
|
+
flex: number;
|
|
110
|
+
};
|
|
111
|
+
modernInput: {
|
|
112
|
+
flex: number;
|
|
113
|
+
fontSize: number;
|
|
114
|
+
height: "100%";
|
|
115
|
+
};
|
|
116
|
+
passwordToggle: {
|
|
117
|
+
padding: number;
|
|
118
|
+
};
|
|
119
|
+
validationIndicator: {
|
|
120
|
+
marginLeft: number;
|
|
121
|
+
};
|
|
122
|
+
validationSuccessCard: {
|
|
123
|
+
flexDirection: "row";
|
|
124
|
+
alignItems: "center";
|
|
125
|
+
padding: number;
|
|
126
|
+
borderRadius: number;
|
|
127
|
+
marginTop: number;
|
|
128
|
+
gap: number;
|
|
129
|
+
};
|
|
130
|
+
validationErrorCard: {
|
|
131
|
+
flexDirection: "row";
|
|
132
|
+
alignItems: "center";
|
|
133
|
+
padding: number;
|
|
134
|
+
borderRadius: number;
|
|
135
|
+
marginTop: number;
|
|
136
|
+
gap: number;
|
|
137
|
+
};
|
|
138
|
+
validationCard: {
|
|
139
|
+
flexDirection: "row";
|
|
140
|
+
alignItems: "center";
|
|
141
|
+
padding: number;
|
|
142
|
+
borderRadius: number;
|
|
143
|
+
marginTop: number;
|
|
144
|
+
gap: number;
|
|
145
|
+
};
|
|
146
|
+
validationText: {
|
|
147
|
+
fontSize: number;
|
|
148
|
+
fontWeight: "500";
|
|
149
|
+
};
|
|
150
|
+
belowInputMessage: {
|
|
151
|
+
flexDirection: "row";
|
|
152
|
+
alignItems: "center";
|
|
153
|
+
marginTop: number;
|
|
154
|
+
marginBottom: number;
|
|
155
|
+
gap: number;
|
|
156
|
+
};
|
|
157
|
+
belowInputText: {
|
|
158
|
+
fontSize: number;
|
|
159
|
+
fontWeight: "500";
|
|
160
|
+
};
|
|
161
|
+
modernButton: {
|
|
162
|
+
gap: number;
|
|
163
|
+
width: "100%";
|
|
164
|
+
boxShadow: string;
|
|
165
|
+
shadowOffset?: undefined;
|
|
166
|
+
shadowOpacity?: undefined;
|
|
167
|
+
shadowRadius?: undefined;
|
|
168
|
+
elevation?: undefined;
|
|
169
|
+
flexDirection: "row";
|
|
170
|
+
alignItems: "center";
|
|
171
|
+
justifyContent: "center";
|
|
172
|
+
paddingVertical: number;
|
|
173
|
+
paddingHorizontal: number;
|
|
174
|
+
borderRadius: number;
|
|
175
|
+
marginVertical: number;
|
|
176
|
+
} | {
|
|
177
|
+
gap: number;
|
|
178
|
+
width: "100%";
|
|
179
|
+
shadowOffset: {
|
|
180
|
+
width: number;
|
|
181
|
+
height: number;
|
|
182
|
+
};
|
|
183
|
+
shadowOpacity: number;
|
|
184
|
+
shadowRadius: number;
|
|
185
|
+
elevation: number;
|
|
186
|
+
boxShadow?: undefined;
|
|
187
|
+
flexDirection: "row";
|
|
188
|
+
alignItems: "center";
|
|
189
|
+
justifyContent: "center";
|
|
190
|
+
paddingVertical: number;
|
|
191
|
+
paddingHorizontal: number;
|
|
192
|
+
borderRadius: number;
|
|
193
|
+
marginVertical: number;
|
|
194
|
+
};
|
|
195
|
+
modernButtonText: {
|
|
196
|
+
color: string;
|
|
197
|
+
fontSize: number;
|
|
198
|
+
fontWeight: "600";
|
|
199
|
+
letterSpacing: number;
|
|
200
|
+
};
|
|
201
|
+
buttonIcon: {
|
|
202
|
+
marginLeft: number;
|
|
203
|
+
};
|
|
204
|
+
modernLabel: {
|
|
205
|
+
fontSize: number;
|
|
206
|
+
fontWeight: "500";
|
|
207
|
+
marginBottom: number;
|
|
208
|
+
};
|
|
209
|
+
modernLinkText: {
|
|
210
|
+
fontSize: number;
|
|
211
|
+
lineHeight: number;
|
|
212
|
+
fontWeight: "600";
|
|
213
|
+
textDecorationLine: "underline";
|
|
214
|
+
};
|
|
215
|
+
footerTextContainer: {
|
|
216
|
+
flexDirection: "row";
|
|
217
|
+
justifyContent: "center";
|
|
218
|
+
marginTop: number;
|
|
219
|
+
};
|
|
220
|
+
footerText: {
|
|
221
|
+
fontSize: number;
|
|
222
|
+
};
|
|
223
|
+
modernUserProfileContainer: {
|
|
224
|
+
alignItems: "flex-start";
|
|
225
|
+
paddingVertical: number;
|
|
226
|
+
};
|
|
227
|
+
avatarContainer: {
|
|
228
|
+
position: "relative";
|
|
229
|
+
marginBottom: number;
|
|
230
|
+
};
|
|
231
|
+
modernUserAvatar: {
|
|
232
|
+
borderWidth: number;
|
|
233
|
+
borderColor: string;
|
|
234
|
+
};
|
|
235
|
+
statusIndicator: {
|
|
236
|
+
position: "absolute";
|
|
237
|
+
bottom: number;
|
|
238
|
+
right: number;
|
|
239
|
+
width: number;
|
|
240
|
+
height: number;
|
|
241
|
+
borderRadius: number;
|
|
242
|
+
borderWidth: number;
|
|
243
|
+
borderColor: string;
|
|
244
|
+
};
|
|
245
|
+
modernUserDisplayName: {
|
|
246
|
+
fontFamily: string;
|
|
247
|
+
fontWeight: "bold" | undefined;
|
|
248
|
+
fontSize: number;
|
|
249
|
+
marginBottom: number;
|
|
250
|
+
textAlign: "left";
|
|
251
|
+
letterSpacing: number;
|
|
252
|
+
};
|
|
253
|
+
modernUsernameSubtext: {
|
|
254
|
+
fontSize: number;
|
|
255
|
+
textAlign: "left";
|
|
256
|
+
marginBottom: number;
|
|
257
|
+
opacity: number;
|
|
258
|
+
};
|
|
259
|
+
welcomeBackBadge: {
|
|
260
|
+
flexDirection: "row";
|
|
261
|
+
alignItems: "center";
|
|
262
|
+
paddingHorizontal: number;
|
|
263
|
+
paddingVertical: number;
|
|
264
|
+
borderRadius: number;
|
|
265
|
+
gap: number;
|
|
266
|
+
};
|
|
267
|
+
welcomeBackText: {
|
|
268
|
+
fontSize: number;
|
|
269
|
+
fontWeight: "600";
|
|
270
|
+
textTransform: "uppercase";
|
|
271
|
+
letterSpacing: number;
|
|
272
|
+
};
|
|
273
|
+
modernNavigationButtons: {
|
|
274
|
+
flexDirection: "row";
|
|
275
|
+
justifyContent: "center";
|
|
276
|
+
marginTop: number;
|
|
277
|
+
marginBottom: number;
|
|
278
|
+
width: "100%";
|
|
279
|
+
gap: number;
|
|
280
|
+
};
|
|
281
|
+
modernBackButton: {
|
|
282
|
+
flexDirection: "row";
|
|
283
|
+
alignItems: "center";
|
|
284
|
+
paddingVertical: number;
|
|
285
|
+
paddingHorizontal: number;
|
|
286
|
+
borderRadius: number;
|
|
287
|
+
borderWidth: number;
|
|
288
|
+
gap: number;
|
|
289
|
+
};
|
|
290
|
+
modernBackButtonText: {
|
|
291
|
+
fontSize: number;
|
|
292
|
+
fontWeight: "500";
|
|
293
|
+
};
|
|
294
|
+
securityNotice: {
|
|
295
|
+
flexDirection: "row";
|
|
296
|
+
alignItems: "center";
|
|
297
|
+
justifyContent: "center";
|
|
298
|
+
marginTop: number;
|
|
299
|
+
gap: number;
|
|
300
|
+
};
|
|
301
|
+
securityText: {
|
|
302
|
+
fontSize: number;
|
|
303
|
+
fontWeight: "500";
|
|
304
|
+
};
|
|
305
|
+
welcomeImageContainer: {
|
|
306
|
+
alignItems: "center";
|
|
307
|
+
justifyContent: "center";
|
|
308
|
+
marginVertical: number;
|
|
309
|
+
};
|
|
310
|
+
welcomeText: {
|
|
311
|
+
fontSize: number;
|
|
312
|
+
lineHeight: number;
|
|
313
|
+
textAlign: "left";
|
|
314
|
+
opacity: number;
|
|
315
|
+
marginBottom: number;
|
|
316
|
+
};
|
|
317
|
+
successCard: {
|
|
318
|
+
flexDirection: "row";
|
|
319
|
+
alignItems: "center";
|
|
320
|
+
padding: number;
|
|
321
|
+
borderRadius: number;
|
|
322
|
+
marginBottom: number;
|
|
323
|
+
gap: number;
|
|
324
|
+
width: "100%";
|
|
325
|
+
};
|
|
326
|
+
successText: {
|
|
327
|
+
fontSize: number;
|
|
328
|
+
fontWeight: "500";
|
|
329
|
+
flex: number;
|
|
330
|
+
};
|
|
331
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type TextStyle } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* Font family names for use across the app
|
|
4
|
+
*
|
|
5
|
+
* For web platforms, we use the CSS font name with weights
|
|
6
|
+
* For native platforms, we use the specific static font file names
|
|
7
|
+
*/
|
|
8
|
+
export declare const fontFamilies: {
|
|
9
|
+
inter: string;
|
|
10
|
+
interLight: string;
|
|
11
|
+
interMedium: string;
|
|
12
|
+
interSemiBold: string;
|
|
13
|
+
interBold: string;
|
|
14
|
+
interExtraBold: string;
|
|
15
|
+
interBlack: string;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Font styles that can be reused across the app
|
|
19
|
+
*/
|
|
20
|
+
export declare const fontStyles: Record<string, TextStyle>;
|