@oxyhq/services 6.9.13 → 6.9.15
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/lib/commonjs/assets/assets/icons/OxyServices.d.ts +28 -0
- package/lib/commonjs/assets/assets/icons/OxyServices.js +53 -0
- package/lib/commonjs/assets/assets/illustrations/HighFive.d.ts +7 -0
- package/lib/commonjs/assets/assets/illustrations/HighFive.js +41 -0
- package/lib/commonjs/assets/icons/OxyServices.js +52 -13
- package/lib/commonjs/assets/icons/OxyServices.js.map +1 -1
- package/lib/commonjs/assets/illustrations/HighFive.js +57 -18
- package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -1
- package/lib/commonjs/index.js +190 -200
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/lib/sonner-safe.js.map +1 -0
- package/lib/commonjs/lib/sonner.js +16 -5
- package/lib/commonjs/lib/sonner.js.map +1 -1
- package/lib/commonjs/lib/sonner.native.js +45 -8
- package/lib/commonjs/lib/sonner.native.js.map +1 -1
- package/lib/commonjs/lib/sonner.web.js +45 -8
- package/lib/commonjs/lib/sonner.web.js.map +1 -1
- package/lib/commonjs/ui/client.js +88 -66
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/ActivityIndicator.js +26 -0
- package/lib/commonjs/ui/components/ActivityIndicator.js.map +1 -0
- package/lib/commonjs/ui/components/Avatar.js +27 -39
- package/lib/commonjs/ui/components/Avatar.js.map +1 -0
- package/lib/commonjs/ui/components/BottomSheet.js +20 -0
- package/lib/commonjs/ui/components/BottomSheet.js.map +1 -0
- package/lib/commonjs/ui/components/BottomSheetRouter.js +103 -65
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -0
- package/lib/commonjs/ui/components/CrossFadeIcon.js +30 -0
- package/lib/commonjs/ui/components/CrossFadeIcon.js.map +1 -0
- package/lib/commonjs/ui/components/EmptyState.js +13 -10
- package/lib/commonjs/ui/components/EmptyState.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +81 -52
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/FontLoader.js +52 -17
- package/lib/commonjs/ui/components/FontLoader.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedItem.js +29 -27
- package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedSection.js +11 -10
- package/lib/commonjs/ui/components/GroupedSection.js.map +1 -1
- package/lib/commonjs/ui/components/Header.js +34 -0
- package/lib/commonjs/ui/components/Header.js.map +1 -0
- package/lib/commonjs/ui/components/HelperText.js +26 -0
- package/lib/commonjs/ui/components/HelperText.js.map +1 -0
- package/lib/commonjs/ui/components/Icon.js +12 -12
- package/lib/commonjs/ui/components/Icon.js.map +1 -1
- package/lib/commonjs/ui/components/IconButton/IconButton.js.map +1 -0
- package/lib/commonjs/ui/components/IconButton/utils.js +8 -4
- package/lib/commonjs/ui/components/IconButton/utils.js.map +1 -1
- package/lib/commonjs/ui/components/LoadingState.js +14 -11
- package/lib/commonjs/ui/components/LoadingState.js.map +1 -1
- package/lib/commonjs/ui/components/OxyLogo.js +53 -14
- package/lib/commonjs/ui/components/OxyLogo.js.map +1 -1
- package/lib/commonjs/ui/components/OxyPayButton.js +19 -17
- package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -0
- package/lib/commonjs/ui/components/OxySignInButton.js +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileCard.js +35 -31
- package/lib/commonjs/ui/components/ProfileCard.js.map +1 -0
- package/lib/commonjs/ui/components/QuickActions.js +16 -16
- package/lib/commonjs/ui/components/QuickActions.js.map +1 -1
- package/lib/commonjs/ui/components/Section.js +15 -12
- package/lib/commonjs/ui/components/Section.js.map +1 -1
- package/lib/commonjs/ui/components/SectionTitle.js +13 -14
- package/lib/commonjs/ui/components/SectionTitle.js.map +1 -1
- package/lib/commonjs/ui/components/SettingRow.js.map +1 -0
- package/lib/commonjs/ui/components/SignInModal.js +132 -115
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/StepBasedScreen.js +85 -71
- package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -1
- package/lib/commonjs/ui/components/Surface.js +79 -37
- package/lib/commonjs/ui/components/Surface.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js +6 -8
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +74 -29
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js +27 -23
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js +31 -27
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js +11 -11
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/types.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js +23 -21
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js +37 -10
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js.map +2 -1
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +106 -65
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +33 -0
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +1 -0
- package/lib/commonjs/ui/components/TextField/constants.js +35 -25
- package/lib/commonjs/ui/components/TextField/constants.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/helpers.js +44 -43
- package/lib/commonjs/ui/components/TextField/helpers.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/types.js.map +1 -0
- package/lib/commonjs/ui/components/TextField.js +76 -35
- package/lib/commonjs/ui/components/TextField.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/Pressable.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js +64 -30
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +68 -26
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/utils.js +10 -6
- package/lib/commonjs/ui/components/TouchableRipple/utils.js.map +1 -1
- package/lib/commonjs/ui/components/Typography/AnimatedText.js.map +1 -0
- package/lib/commonjs/ui/components/Typography/types.js +3 -3
- package/lib/commonjs/ui/components/Typography/types.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/FormInput.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/ProgressIndicator.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/constants.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js +1 -1
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +1 -0
- package/lib/commonjs/ui/components/feedback/index.js +10 -0
- package/lib/commonjs/ui/components/feedback/index.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/types.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +5 -5
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +13 -14
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +77 -66
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +127 -118
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -0
- package/lib/commonjs/ui/components/fileManagement/styles.js.map +1 -0
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +20 -0
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +1 -0
- package/lib/commonjs/ui/components/icon/OxyIcon.js.map +1 -0
- package/lib/commonjs/ui/components/icon/index.js +12 -7
- package/lib/commonjs/ui/components/icon/index.js.map +1 -1
- package/lib/commonjs/ui/components/index.js +62 -54
- package/lib/commonjs/ui/components/index.js.map +1 -1
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +22 -21
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +1 -0
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +52 -41
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/modals/index.js +8 -3
- package/lib/commonjs/ui/components/modals/index.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +89 -70
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -0
- package/lib/commonjs/ui/components/payment/constants.js.map +1 -0
- package/lib/commonjs/ui/components/payment/index.js +15 -0
- package/lib/commonjs/ui/components/payment/index.js.map +1 -1
- package/lib/commonjs/ui/components/payment/paymentStyles.js +10 -10
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/commonjs/ui/components/payment/types.js.map +1 -1
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +59 -27
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/commonjs/ui/components/styles/overlay.js +4 -6
- package/lib/commonjs/ui/components/styles/overlay.js.map +1 -1
- package/lib/commonjs/ui/components/styles/shadow.js +7 -7
- package/lib/commonjs/ui/components/styles/shadow.js.map +1 -1
- package/lib/commonjs/ui/components/theming.js +4 -6
- package/lib/commonjs/ui/components/theming.js.map +1 -1
- package/lib/commonjs/ui/components/types.js.map +1 -1
- package/lib/commonjs/ui/components/utils/forwardRef.js +43 -3
- package/lib/commonjs/ui/components/utils/forwardRef.js.map +1 -1
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +1 -1
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +1 -0
- package/lib/commonjs/ui/components/utils/splitStyles.js +1 -7
- package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -1
- package/lib/commonjs/ui/constants/iconColors.js +12 -16
- package/lib/commonjs/ui/constants/iconColors.js.map +1 -0
- package/lib/commonjs/ui/constants/spacing.js.map +1 -1
- package/lib/commonjs/ui/constants/theme.js +8 -9
- package/lib/commonjs/ui/constants/theme.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +1 -0
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -0
- package/lib/commonjs/ui/context/ThemeContext.js +27 -4
- package/lib/commonjs/ui/context/ThemeContext.js.map +2 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +27 -0
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -0
- package/lib/commonjs/ui/hooks/index.js +27 -26
- package/lib/commonjs/ui/hooks/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/index.js +31 -22
- package/lib/commonjs/ui/hooks/mutations/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +83 -106
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +45 -53
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/index.js +50 -39
- package/lib/commonjs/ui/hooks/queries/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +6 -0
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +33 -39
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +11 -12
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -0
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +28 -32
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queryClient.js +10 -17
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAssets.js +13 -26
- package/lib/commonjs/ui/hooks/useAssets.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -0
- package/lib/commonjs/ui/hooks/useAuth.js +23 -28
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAvatarPicker.js +3 -0
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/commonjs/ui/hooks/useColorScheme.js +6 -8
- package/lib/commonjs/ui/hooks/useColorScheme.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDeviceManagement.js +10 -10
- package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +7 -7
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFileFiltering.js +7 -9
- package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.js +67 -75
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.types.js +5 -0
- package/lib/commonjs/ui/hooks/useFollow.types.js.map +1 -0
- package/lib/commonjs/ui/hooks/useI18n.js +1 -1
- package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +16 -17
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js +1 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
- package/lib/commonjs/ui/hooks/useQueryClient.js +2 -2
- package/lib/commonjs/ui/hooks/useQueryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js +40 -44
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionSocket.js +34 -39
- package/lib/commonjs/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSettingToggle.js +16 -22
- package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -1
- package/lib/commonjs/ui/hooks/useStorage.js +6 -6
- package/lib/commonjs/ui/hooks/useStorage.js.map +1 -1
- package/lib/commonjs/ui/hooks/useThemeColors.js +1 -1
- package/lib/commonjs/ui/hooks/useThemeColors.js.map +1 -1
- package/lib/commonjs/ui/hooks/useThemeStyles.js +12 -13
- package/lib/commonjs/ui/hooks/useThemeStyles.js.map +1 -1
- package/lib/commonjs/ui/hooks/useWebSSO.js +11 -19
- package/lib/commonjs/ui/hooks/useWebSSO.js.map +1 -1
- package/lib/commonjs/ui/index.js +61 -51
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/isFrontend.js +2 -2
- package/lib/commonjs/ui/isFrontend.js.map +1 -1
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +1 -1
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -0
- package/lib/commonjs/ui/navigation/routes.js +6 -12
- package/lib/commonjs/ui/navigation/routes.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +75 -66
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +164 -133
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +150 -133
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +83 -44
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +19 -0
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +61 -54
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FeedbackScreen.js +155 -137
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/FollowersListScreen.js +9 -6
- package/lib/commonjs/ui/screens/FollowersListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FollowingListScreen.js +9 -6
- package/lib/commonjs/ui/screens/FollowingListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +75 -36
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +79 -43
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +82 -50
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +35 -31
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +23 -0
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/OxyAuthScreen.js +120 -107
- package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +63 -69
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +241 -205
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +114 -81
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +128 -102
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +31 -0
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +69 -32
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +120 -85
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +91 -72
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +80 -45
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +29 -29
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
- package/lib/commonjs/ui/server.js +47 -58
- package/lib/commonjs/ui/server.js.map +1 -1
- package/lib/commonjs/ui/stores/accountStore.js +1 -1
- package/lib/commonjs/ui/stores/accountStore.js.map +1 -0
- package/lib/commonjs/ui/stores/assetStore.js +13 -16
- package/lib/commonjs/ui/stores/assetStore.js.map +1 -1
- package/lib/commonjs/ui/stores/authStore.js +5 -6
- package/lib/commonjs/ui/stores/authStore.js.map +1 -1
- package/lib/commonjs/ui/stores/fileStore.js.map +1 -1
- package/lib/commonjs/ui/stores/followStore.js +3 -10
- package/lib/commonjs/ui/stores/followStore.js.map +1 -1
- package/lib/commonjs/ui/styles/authStyles.js +12 -12
- package/lib/commonjs/ui/styles/authStyles.js.map +1 -1
- package/lib/commonjs/ui/styles/fonts.js +18 -19
- package/lib/commonjs/ui/styles/fonts.js.map +1 -1
- package/lib/commonjs/ui/styles/index.js.map +1 -0
- package/lib/commonjs/ui/styles/spacing.js +11 -0
- package/lib/commonjs/ui/styles/spacing.js.map +1 -0
- package/lib/commonjs/ui/styles/theme.js +11 -12
- package/lib/commonjs/ui/styles/theme.js.map +1 -1
- package/lib/commonjs/ui/types/fileManagement.js.map +1 -1
- package/lib/commonjs/ui/types/navigation.js.map +1 -1
- package/lib/commonjs/ui/utils/avatarUtils.js +11 -16
- package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
- package/lib/commonjs/ui/utils/colorUtils.js +17 -0
- package/lib/commonjs/ui/utils/colorUtils.js.map +1 -0
- package/lib/commonjs/ui/utils/confirmAction.js +1 -1
- package/lib/commonjs/ui/utils/confirmAction.js.map +1 -1
- package/lib/commonjs/ui/utils/errorHandlers.js +1 -0
- package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -1
- package/lib/commonjs/ui/utils/fileManagement.js +22 -38
- package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
- package/lib/commonjs/ui/utils/iconNames.js.map +1 -0
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/commonjs/ui/utils/storageHelpers.js +7 -12
- package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -1
- package/lib/commonjs/ui/utils/themeUtils.js +15 -0
- package/lib/commonjs/ui/utils/themeUtils.js.map +1 -0
- package/lib/commonjs/ui/utils/userUtils.js +6 -9
- package/lib/commonjs/ui/utils/userUtils.js.map +1 -1
- package/lib/commonjs/utils/hookUtils.js +60 -79
- package/lib/commonjs/utils/hookUtils.js.map +1 -1
- package/lib/module/assets/assets/icons/OxyServices.d.ts +28 -0
- package/lib/module/assets/assets/icons/OxyServices.js +53 -0
- package/lib/module/assets/assets/illustrations/HighFive.d.ts +7 -0
- package/lib/module/assets/assets/illustrations/HighFive.js +41 -0
- package/lib/module/assets/icons/OxyServices.js +12 -0
- package/lib/module/assets/icons/OxyServices.js.map +1 -0
- package/lib/module/assets/illustrations/HighFive.js +15 -0
- package/lib/module/assets/illustrations/HighFive.js.map +1 -0
- package/lib/module/index.js +406 -34
- package/lib/module/index.js.map +1 -1
- package/lib/module/lib/sonner-safe.js +7 -8
- package/lib/module/lib/sonner-safe.js.map +1 -1
- package/lib/module/lib/sonner.js +17 -1
- package/lib/module/lib/sonner.js.map +1 -1
- package/lib/module/lib/sonner.native.js +45 -0
- package/lib/module/lib/sonner.native.js.map +1 -1
- package/lib/module/lib/sonner.web.js +48 -6
- package/lib/module/lib/sonner.web.js.map +1 -1
- package/lib/module/ui/client.js +165 -25
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/ActivityIndicator.js +69 -27
- package/lib/module/ui/components/ActivityIndicator.js.map +1 -1
- package/lib/module/ui/components/AutoHeightScrollView.js +13 -9
- package/lib/module/ui/components/AutoHeightScrollView.js.map +1 -1
- package/lib/module/ui/components/Avatar.js +8 -0
- package/lib/module/ui/components/Avatar.js.map +1 -1
- package/lib/module/ui/components/BottomSheet.js +99 -0
- package/lib/module/ui/components/BottomSheet.js.map +1 -0
- package/lib/module/ui/components/BottomSheetRouter.js +105 -61
- package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/module/ui/components/CrossFadeIcon.js +60 -16
- package/lib/module/ui/components/CrossFadeIcon.js.map +1 -1
- package/lib/module/ui/components/EmptyState.js +15 -7
- package/lib/module/ui/components/EmptyState.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +84 -50
- package/lib/module/ui/components/FollowButton.js.map +1 -0
- package/lib/module/ui/components/FontLoader.js +57 -17
- package/lib/module/ui/components/FontLoader.js.map +1 -1
- package/lib/module/ui/components/GroupedItem.js +31 -27
- package/lib/module/ui/components/GroupedItem.js.map +1 -1
- package/lib/module/ui/components/GroupedSection.js +13 -9
- package/lib/module/ui/components/GroupedSection.js.map +1 -1
- package/lib/module/ui/components/Header.js +102 -57
- package/lib/module/ui/components/Header.js.map +1 -1
- package/lib/module/ui/components/HelperText.js +55 -13
- package/lib/module/ui/components/HelperText.js.map +1 -1
- package/lib/module/ui/components/Icon.js +19 -13
- package/lib/module/ui/components/Icon.js.map +1 -0
- package/lib/module/ui/components/IconButton/IconButton.js +31 -24
- package/lib/module/ui/components/IconButton/IconButton.js.map +1 -0
- package/lib/module/ui/components/IconButton/utils.js +14 -4
- package/lib/module/ui/components/IconButton/utils.js.map +1 -1
- package/lib/module/ui/components/LoadingState.js +12 -0
- package/lib/module/ui/components/LoadingState.js.map +1 -0
- package/lib/module/ui/components/OxyLogo.js +13 -0
- package/lib/module/ui/components/OxyLogo.js.map +1 -1
- package/lib/module/ui/components/OxyPayButton.js +14 -0
- package/lib/module/ui/components/OxyPayButton.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +39 -48
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +42 -37
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/ProfileCard.js +37 -29
- package/lib/module/ui/components/ProfileCard.js.map +1 -1
- package/lib/module/ui/components/QuickActions.js +18 -15
- package/lib/module/ui/components/QuickActions.js.map +1 -1
- package/lib/module/ui/components/Section.js +16 -0
- package/lib/module/ui/components/Section.js.map +1 -1
- package/lib/module/ui/components/SectionTitle.js +15 -12
- package/lib/module/ui/components/SectionTitle.js.map +1 -1
- package/lib/module/ui/components/SettingRow.js +17 -0
- package/lib/module/ui/components/SettingRow.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +142 -115
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/StepBasedScreen.js +43 -0
- package/lib/module/ui/components/StepBasedScreen.js.map +1 -0
- package/lib/module/ui/components/Surface.js +82 -34
- package/lib/module/ui/components/Surface.js.map +1 -1
- package/lib/module/ui/components/TextField/Addons/Outline.js +8 -0
- package/lib/module/ui/components/TextField/Addons/Outline.js.map +1 -0
- package/lib/module/ui/components/TextField/Addons/Underline.js +12 -8
- package/lib/module/ui/components/TextField/Addons/Underline.js.map +1 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +62 -0
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -0
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js +15 -0
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js.map +1 -0
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js +33 -28
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -1
- package/lib/module/ui/components/TextField/Adornment/enums.js +13 -9
- package/lib/module/ui/components/TextField/Adornment/enums.js.map +1 -0
- package/lib/module/ui/components/TextField/Adornment/types.js +3 -0
- package/lib/module/ui/components/TextField/Adornment/types.js.map +1 -0
- package/lib/module/ui/components/TextField/Adornment/utils.js +7 -2
- package/lib/module/ui/components/TextField/Adornment/utils.js.map +1 -1
- package/lib/module/ui/components/TextField/Label/InputLabel.js +25 -18
- package/lib/module/ui/components/TextField/Label/InputLabel.js.map +1 -0
- package/lib/module/ui/components/TextField/TextFieldFlat.js +109 -63
- package/lib/module/ui/components/TextField/TextFieldFlat.js.map +1 -1
- package/lib/module/ui/components/TextField/TextFieldOutlined.js +109 -61
- package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +1 -1
- package/lib/module/ui/components/TextField/constants.js +23 -0
- package/lib/module/ui/components/TextField/constants.js.map +1 -0
- package/lib/module/ui/components/TextField/helpers.js +69 -50
- package/lib/module/ui/components/TextField/helpers.js.map +1 -1
- package/lib/module/ui/components/TextField/types.js +3 -1
- package/lib/module/ui/components/TextField/types.js.map +1 -1
- package/lib/module/ui/components/TextField.js +64 -0
- package/lib/module/ui/components/TextField.js.map +1 -0
- package/lib/module/ui/components/TouchableRipple/Pressable.js +7 -6
- package/lib/module/ui/components/TouchableRipple/Pressable.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +67 -28
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +47 -0
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/utils.js +16 -6
- package/lib/module/ui/components/TouchableRipple/utils.js.map +1 -1
- package/lib/module/ui/components/Typography/AnimatedText.js +8 -0
- package/lib/module/ui/components/Typography/AnimatedText.js.map +1 -0
- package/lib/module/ui/components/Typography/types.js +7 -3
- package/lib/module/ui/components/Typography/types.js.map +1 -1
- package/lib/module/ui/components/feedback/FormInput.js +20 -12
- package/lib/module/ui/components/feedback/FormInput.js.map +1 -1
- package/lib/module/ui/components/feedback/ProgressIndicator.js +10 -0
- package/lib/module/ui/components/feedback/ProgressIndicator.js.map +1 -0
- package/lib/module/ui/components/feedback/constants.js +7 -3
- package/lib/module/ui/components/feedback/constants.js.map +1 -1
- package/lib/module/ui/components/feedback/feedbackStyles.js +15 -10
- package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -1
- package/lib/module/ui/components/feedback/index.js +56 -5
- package/lib/module/ui/components/feedback/index.js.map +1 -1
- package/lib/module/ui/components/feedback/types.js +3 -0
- package/lib/module/ui/components/feedback/types.js.map +1 -0
- package/lib/module/ui/components/feedback/useFeedbackForm.js +11 -6
- package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js +10 -0
- package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -0
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +72 -67
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +38 -0
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -0
- package/lib/module/ui/components/fileManagement/UploadPreview.js +27 -0
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/fileManagement/styles.js +24 -20
- package/lib/module/ui/components/fileManagement/styles.js.map +1 -1
- package/lib/module/ui/components/icon/FAIRWalletIcon.js +58 -14
- package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +1 -0
- package/lib/module/ui/components/icon/OxyIcon.js +5 -0
- package/lib/module/ui/components/icon/OxyIcon.js.map +1 -0
- package/lib/module/ui/components/icon/index.js +23 -2
- package/lib/module/ui/components/icon/index.js.map +1 -1
- package/lib/module/ui/components/index.js +111 -0
- package/lib/module/ui/components/index.js.map +1 -1
- package/lib/module/ui/components/internal/GroupedPillButtons.js +11 -0
- package/lib/module/ui/components/internal/GroupedPillButtons.js.map +1 -1
- package/lib/module/ui/components/internal/PinInput.js +15 -12
- package/lib/module/ui/components/internal/PinInput.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +48 -40
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/modals/index.js +16 -1
- package/lib/module/ui/components/modals/index.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +77 -69
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +25 -17
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +13 -0
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +18 -0
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -0
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +29 -0
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -0
- package/lib/module/ui/components/payment/constants.js +7 -0
- package/lib/module/ui/components/payment/constants.js.map +1 -0
- package/lib/module/ui/components/payment/index.js +73 -0
- package/lib/module/ui/components/payment/index.js.map +1 -1
- package/lib/module/ui/components/payment/paymentStyles.js +9 -0
- package/lib/module/ui/components/payment/paymentStyles.js.map +1 -0
- package/lib/module/ui/components/payment/types.js +3 -1
- package/lib/module/ui/components/payment/types.js.map +1 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +62 -25
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/module/ui/components/styles/overlay.js +13 -0
- package/lib/module/ui/components/styles/overlay.js.map +1 -1
- package/lib/module/ui/components/styles/shadow.js +12 -8
- package/lib/module/ui/components/styles/shadow.js.map +1 -1
- package/lib/module/ui/components/theming.js +9 -6
- package/lib/module/ui/components/theming.js.map +1 -1
- package/lib/module/ui/components/types.js +3 -1
- package/lib/module/ui/components/types.js.map +1 -1
- package/lib/module/ui/components/utils/forwardRef.js +40 -0
- package/lib/module/ui/components/utils/forwardRef.js.map +1 -0
- package/lib/module/ui/components/utils/hasTouchHandler.js +5 -1
- package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -1
- package/lib/module/ui/components/utils/roundLayoutSize.js +6 -1
- package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -1
- package/lib/module/ui/components/utils/splitStyles.js +5 -7
- package/lib/module/ui/components/utils/splitStyles.js.map +1 -1
- package/lib/module/ui/constants/iconColors.js +16 -14
- package/lib/module/ui/constants/iconColors.js.map +1 -1
- package/lib/module/ui/constants/spacing.js +24 -25
- package/lib/module/ui/constants/spacing.js.map +1 -1
- package/lib/module/ui/constants/theme.js +7 -4
- package/lib/module/ui/constants/theme.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +17 -0
- package/lib/module/ui/context/OxyContext.js.map +1 -0
- package/lib/module/ui/context/ThemeContext.js +13 -7
- package/lib/module/ui/context/ThemeContext.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +68 -39
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/hooks/index.js +64 -0
- package/lib/module/ui/hooks/index.js.map +1 -0
- package/lib/module/ui/hooks/mutations/index.js +67 -5
- package/lib/module/ui/hooks/mutations/index.js.map +1 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js +7 -0
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +92 -109
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +54 -54
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/index.js +114 -0
- package/lib/module/ui/hooks/queries/index.js.map +1 -0
- package/lib/module/ui/hooks/queries/queryKeys.js +39 -36
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +44 -40
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +17 -12
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -0
- package/lib/module/ui/hooks/queries/useServicesQueries.js +37 -33
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/module/ui/hooks/queryClient.js +17 -17
- package/lib/module/ui/hooks/queryClient.js.map +1 -1
- package/lib/module/ui/hooks/useAssets.js +19 -26
- package/lib/module/ui/hooks/useAssets.js.map +1 -1
- package/lib/module/ui/hooks/useAsyncAction.js +20 -16
- package/lib/module/ui/hooks/useAsyncAction.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js +24 -20
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useAvatarPicker.js +16 -13
- package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/module/ui/hooks/useColorScheme.js +3 -0
- package/lib/module/ui/hooks/useColorScheme.js.map +1 -1
- package/lib/module/ui/hooks/useDeviceManagement.js +16 -11
- package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -1
- package/lib/module/ui/hooks/useFileDownloadUrl.js +15 -9
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -0
- package/lib/module/ui/hooks/useFileFiltering.js +9 -0
- package/lib/module/ui/hooks/useFileFiltering.js.map +1 -0
- package/lib/module/ui/hooks/useFollow.js +75 -77
- package/lib/module/ui/hooks/useFollow.js.map +1 -1
- package/lib/module/ui/hooks/useFollow.types.js +6 -0
- package/lib/module/ui/hooks/useFollow.types.js.map +1 -1
- package/lib/module/ui/hooks/useI18n.js +7 -0
- package/lib/module/ui/hooks/useI18n.js.map +1 -0
- package/lib/module/ui/hooks/useLanguageManagement.js +22 -18
- package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -0
- package/lib/module/ui/hooks/useProfileEditing.js +9 -0
- package/lib/module/ui/hooks/useProfileEditing.js.map +1 -0
- package/lib/module/ui/hooks/useQueryClient.js +5 -0
- package/lib/module/ui/hooks/useQueryClient.js.map +1 -0
- package/lib/module/ui/hooks/useSessionManagement.js +46 -45
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/module/ui/hooks/useSessionSocket.js +15 -0
- package/lib/module/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/module/ui/hooks/useSettingToggle.js +14 -0
- package/lib/module/ui/hooks/useSettingToggle.js.map +1 -0
- package/lib/module/ui/hooks/useStorage.js +12 -7
- package/lib/module/ui/hooks/useStorage.js.map +1 -0
- package/lib/module/ui/hooks/useThemeColors.js +14 -10
- package/lib/module/ui/hooks/useThemeColors.js.map +1 -0
- package/lib/module/ui/hooks/useThemeStyles.js +18 -14
- package/lib/module/ui/hooks/useThemeStyles.js.map +1 -1
- package/lib/module/ui/hooks/useWebSSO.js +12 -16
- package/lib/module/ui/hooks/useWebSSO.js.map +1 -1
- package/lib/module/ui/index.js +74 -46
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/isFrontend.js +4 -1
- package/lib/module/ui/isFrontend.js.map +1 -1
- package/lib/module/ui/navigation/bottomSheetManager.js +17 -0
- package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/module/ui/navigation/routes.js +8 -14
- package/lib/module/ui/navigation/routes.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +71 -65
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +167 -131
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +88 -0
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountSwitcherScreen.js +88 -0
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -0
- package/lib/module/ui/screens/AccountVerificationScreen.js +86 -42
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +79 -76
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +114 -89
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +38 -0
- package/lib/module/ui/screens/FAQScreen.js.map +1 -0
- package/lib/module/ui/screens/FeedbackScreen.js +58 -0
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -0
- package/lib/module/ui/screens/FileManagementScreen.js +149 -0
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -0
- package/lib/module/ui/screens/FollowersListScreen.js +8 -0
- package/lib/module/ui/screens/FollowersListScreen.js.map +1 -1
- package/lib/module/ui/screens/FollowingListScreen.js +12 -4
- package/lib/module/ui/screens/FollowingListScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +45 -0
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +81 -41
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +71 -0
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -0
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +33 -31
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +72 -35
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyAuthScreen.js +50 -0
- package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -0
- package/lib/module/ui/screens/PaymentGatewayScreen.js +28 -0
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -0
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +186 -205
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +56 -0
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/ProfileScreen.js +102 -101
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +55 -0
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js +39 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -0
- package/lib/module/ui/screens/SessionManagementScreen.js +81 -89
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +21 -18
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +69 -0
- package/lib/module/ui/screens/UserListScreen.js.map +1 -0
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +123 -82
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js +29 -26
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +74 -72
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +83 -43
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +30 -0
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +81 -80
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/module/ui/server.js +50 -29
- package/lib/module/ui/server.js.map +1 -1
- package/lib/module/ui/stores/accountStore.js +7 -0
- package/lib/module/ui/stores/accountStore.js.map +1 -0
- package/lib/module/ui/stores/assetStore.js +24 -14
- package/lib/module/ui/stores/assetStore.js.map +1 -1
- package/lib/module/ui/stores/authStore.js +8 -5
- package/lib/module/ui/stores/authStore.js.map +1 -1
- package/lib/module/ui/stores/fileStore.js +6 -0
- package/lib/module/ui/stores/fileStore.js.map +1 -0
- package/lib/module/ui/stores/followStore.js +6 -9
- package/lib/module/ui/stores/followStore.js.map +1 -1
- package/lib/module/ui/styles/authStyles.js +17 -12
- package/lib/module/ui/styles/authStyles.js.map +1 -1
- package/lib/module/ui/styles/fonts.js +8 -0
- package/lib/module/ui/styles/fonts.js.map +1 -0
- package/lib/module/ui/styles/index.js +26 -4
- package/lib/module/ui/styles/index.js.map +1 -1
- package/lib/module/ui/styles/spacing.js +54 -0
- package/lib/module/ui/styles/spacing.js.map +1 -1
- package/lib/module/ui/styles/theme.js +19 -13
- package/lib/module/ui/styles/theme.js.map +1 -1
- package/lib/module/ui/types/fileManagement.js +3 -1
- package/lib/module/ui/types/fileManagement.js.map +1 -0
- package/lib/module/ui/types/navigation.js +3 -1
- package/lib/module/ui/types/navigation.js.map +1 -1
- package/lib/module/ui/utils/avatarUtils.js +5 -0
- package/lib/module/ui/utils/avatarUtils.js.map +1 -0
- package/lib/module/ui/utils/colorUtils.js +44 -0
- package/lib/module/ui/utils/colorUtils.js.map +1 -0
- package/lib/module/ui/utils/confirmAction.js +7 -0
- package/lib/module/ui/utils/confirmAction.js.map +1 -1
- package/lib/module/ui/utils/errorHandlers.js +16 -18
- package/lib/module/ui/utils/errorHandlers.js.map +1 -1
- package/lib/module/ui/utils/fileManagement.js +6 -0
- package/lib/module/ui/utils/fileManagement.js.map +1 -0
- package/lib/module/ui/utils/iconNames.js +24 -20
- package/lib/module/ui/utils/iconNames.js.map +1 -1
- package/lib/module/ui/utils/sessionHelpers.js +17 -15
- package/lib/module/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/module/ui/utils/storageHelpers.js +12 -10
- package/lib/module/ui/utils/storageHelpers.js.map +1 -1
- package/lib/module/ui/utils/themeUtils.js +35 -2
- package/lib/module/ui/utils/themeUtils.js.map +1 -0
- package/lib/module/ui/utils/userUtils.js +10 -6
- package/lib/module/ui/utils/userUtils.js.map +1 -1
- package/lib/module/utils/hookUtils.js +82 -83
- package/lib/module/utils/hookUtils.js.map +1 -1
- package/lib/typescript/assets/icons/OxyServices.d.ts +28 -0
- package/lib/typescript/assets/illustrations/HighFive.d.ts +7 -0
- package/lib/typescript/index.d.ts +46 -0
- package/lib/typescript/lib/sonner-safe.d.ts +8 -0
- package/lib/typescript/lib/sonner.d.ts +11 -0
- package/lib/typescript/lib/sonner.native.d.ts +14 -0
- package/lib/typescript/lib/sonner.web.d.ts +14 -0
- package/lib/typescript/ui/client.d.ts +30 -0
- package/lib/typescript/ui/components/ActivityIndicator.d.ts +44 -0
- package/lib/typescript/ui/components/AutoHeightScrollView.d.ts +22 -0
- package/lib/typescript/ui/components/Avatar.d.ts +60 -0
- package/lib/typescript/ui/components/BottomSheet.d.ts +28 -0
- package/lib/typescript/ui/components/BottomSheetRouter.d.ts +8 -0
- package/lib/typescript/ui/components/CrossFadeIcon.d.ts +26 -0
- package/lib/typescript/ui/components/EmptyState.d.ts +7 -0
- package/lib/typescript/ui/components/FollowButton.d.ts +28 -0
- package/lib/typescript/ui/components/FontLoader.d.ts +14 -0
- package/lib/typescript/ui/components/GroupedItem.d.ts +23 -0
- package/lib/typescript/ui/components/GroupedSection.d.ts +29 -0
- package/lib/typescript/ui/components/Header.d.ts +37 -0
- package/lib/typescript/ui/components/HelperText.d.ts +46 -0
- package/lib/typescript/ui/components/Icon.d.ts +59 -0
- package/lib/typescript/ui/components/IconButton/IconButton.d.ts +98 -0
- package/lib/typescript/ui/components/IconButton/utils.d.ts +18 -0
- package/lib/typescript/ui/components/LoadingState.d.ts +8 -0
- package/lib/typescript/ui/components/OxyLogo.d.ts +28 -0
- package/lib/typescript/ui/components/OxyPayButton.d.ts +28 -0
- package/lib/typescript/ui/components/OxyProvider.d.ts +37 -0
- package/lib/typescript/ui/components/OxySignInButton.d.ts +64 -0
- package/lib/typescript/ui/components/ProfileCard.d.ts +17 -0
- package/lib/typescript/ui/components/QuickActions.d.ts +14 -0
- package/lib/typescript/ui/components/Section.d.ts +11 -0
- package/lib/typescript/ui/components/SectionTitle.d.ts +9 -0
- package/lib/typescript/ui/components/SettingRow.d.ts +19 -0
- package/lib/typescript/ui/components/SignInModal.d.ts +17 -0
- package/lib/typescript/ui/components/StepBasedScreen.d.ts +25 -0
- package/lib/typescript/ui/components/Surface.d.ts +75 -0
- package/lib/typescript/ui/components/TextField/Addons/Outline.d.ts +15 -0
- package/lib/typescript/ui/components/TextField/Addons/Underline.d.ts +18 -0
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +44 -0
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAffix.d.ts +72 -0
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldIcon.d.ts +77 -0
- package/lib/typescript/ui/components/TextField/Adornment/enums.d.ts +12 -0
- package/lib/typescript/ui/components/TextField/Adornment/types.d.ts +11 -0
- package/lib/typescript/ui/components/TextField/Adornment/utils.d.ts +11 -0
- package/lib/typescript/ui/components/TextField/Label/InputLabel.d.ts +4 -0
- package/lib/typescript/ui/components/TextField/Label/LabelBackground.d.ts +3 -0
- package/lib/typescript/ui/components/TextField/TextFieldFlat.d.ts +3 -0
- package/lib/typescript/ui/components/TextField/TextFieldOutlined.d.ts +3 -0
- package/lib/typescript/ui/components/TextField/constants.d.ts +31 -0
- package/lib/typescript/ui/components/TextField/helpers.d.ts +96 -0
- package/lib/typescript/ui/components/TextField/types.d.ts +155 -0
- package/lib/typescript/ui/components/TextField.d.ts +191 -0
- package/lib/typescript/ui/components/TouchableRipple/Pressable.d.ts +12 -0
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.d.ts +61 -0
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.native.d.ts +24 -0
- package/lib/typescript/ui/components/TouchableRipple/utils.d.ts +10 -0
- package/lib/typescript/ui/components/Typography/AnimatedText.d.ts +34 -0
- package/lib/typescript/ui/components/Typography/types.d.ts +18 -0
- package/lib/typescript/ui/components/feedback/FormInput.d.ts +19 -0
- package/lib/typescript/ui/components/feedback/ProgressIndicator.d.ts +10 -0
- package/lib/typescript/ui/components/feedback/constants.d.ts +4 -0
- package/lib/typescript/ui/components/feedback/feedbackStyles.d.ts +279 -0
- package/lib/typescript/ui/components/feedback/index.d.ts +6 -0
- package/lib/typescript/ui/components/feedback/types.d.ts +45 -0
- package/lib/typescript/ui/components/feedback/useFeedbackForm.d.ts +8 -0
- package/lib/typescript/ui/components/fileManagement/AnimatedButton.d.ts +15 -0
- package/lib/typescript/ui/components/fileManagement/FileDetailsModal.d.ts +14 -0
- package/lib/typescript/ui/components/fileManagement/FileViewer.d.ts +17 -0
- package/lib/typescript/ui/components/fileManagement/UploadPreview.d.ts +20 -0
- package/lib/typescript/ui/components/fileManagement/styles.d.ts +859 -0
- package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts +8 -0
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts +9 -0
- package/lib/typescript/ui/components/icon/index.d.ts +3 -0
- package/lib/typescript/ui/components/index.d.ts +16 -0
- package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts +23 -0
- package/lib/typescript/ui/components/internal/PinInput.d.ts +22 -0
- package/lib/typescript/ui/components/modals/DeleteAccountModal.d.ts +18 -0
- package/lib/typescript/ui/components/modals/index.d.ts +1 -0
- package/lib/typescript/ui/components/payment/PaymentDetailsStep.d.ts +20 -0
- package/lib/typescript/ui/components/payment/PaymentMethodStep.d.ts +13 -0
- package/lib/typescript/ui/components/payment/PaymentReviewStep.d.ts +15 -0
- package/lib/typescript/ui/components/payment/PaymentSuccessStep.d.ts +9 -0
- package/lib/typescript/ui/components/payment/PaymentSummaryStep.d.ts +14 -0
- package/lib/typescript/ui/components/payment/constants.d.ts +6 -0
- package/lib/typescript/ui/components/payment/index.d.ts +8 -0
- package/lib/typescript/ui/components/payment/paymentStyles.d.ts +395 -0
- package/lib/typescript/ui/components/payment/types.d.ts +39 -0
- package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts +26 -0
- package/lib/typescript/ui/components/styles/overlay.d.ts +3 -0
- package/lib/typescript/ui/components/styles/shadow.d.ts +2 -0
- package/lib/typescript/ui/components/theming.d.ts +7 -0
- package/lib/typescript/ui/components/types.d.ts +80 -0
- package/lib/typescript/ui/components/utils/forwardRef.d.ts +11 -0
- package/lib/typescript/ui/components/utils/hasTouchHandler.d.ts +5 -0
- package/lib/typescript/ui/components/utils/roundLayoutSize.d.ts +1 -0
- package/lib/typescript/ui/components/utils/splitStyles.d.ts +19 -0
- package/lib/typescript/ui/constants/iconColors.d.ts +129 -0
- package/lib/typescript/ui/constants/spacing.d.ts +32 -0
- package/lib/typescript/ui/constants/theme.d.ts +96 -0
- package/lib/typescript/ui/context/OxyContext.d.ts +75 -0
- package/lib/typescript/ui/context/ThemeContext.d.ts +18 -0
- package/lib/typescript/ui/context/hooks/useAuthOperations.d.ts +39 -0
- package/lib/typescript/ui/hooks/index.d.ts +6 -0
- package/lib/typescript/ui/hooks/mutations/index.d.ts +8 -0
- package/lib/typescript/ui/hooks/mutations/mutationFactory.d.ts +75 -0
- package/lib/typescript/ui/hooks/mutations/useAccountMutations.d.ts +42 -0
- package/lib/typescript/ui/hooks/mutations/useServicesMutations.d.ts +22 -0
- package/lib/typescript/ui/hooks/queries/index.d.ts +10 -0
- package/lib/typescript/ui/hooks/queries/queryKeys.d.ts +64 -0
- package/lib/typescript/ui/hooks/queries/useAccountQueries.d.ts +42 -0
- package/lib/typescript/ui/hooks/queries/useSecurityQueries.d.ts +14 -0
- package/lib/typescript/ui/hooks/queries/useServicesQueries.d.ts +30 -0
- package/lib/typescript/ui/hooks/queryClient.d.ts +18 -0
- package/lib/typescript/ui/hooks/useAssets.d.ts +34 -0
- package/lib/typescript/ui/hooks/useAsyncAction.d.ts +50 -0
- package/lib/typescript/ui/hooks/useAuth.d.ts +77 -0
- package/lib/typescript/ui/hooks/useAvatarPicker.d.ts +24 -0
- package/lib/typescript/ui/hooks/useColorScheme.d.ts +7 -0
- package/lib/typescript/ui/hooks/useDeviceManagement.d.ts +26 -0
- package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts +21 -0
- package/lib/typescript/ui/hooks/useFileFiltering.d.ts +28 -0
- package/lib/typescript/ui/hooks/useFollow.d.ts +92 -0
- package/lib/typescript/ui/hooks/useFollow.types.d.ts +32 -0
- package/lib/typescript/ui/hooks/useI18n.d.ts +4 -0
- package/lib/typescript/ui/hooks/useLanguageManagement.d.ts +24 -0
- package/lib/typescript/ui/hooks/useProfileEditing.d.ts +35 -0
- package/lib/typescript/ui/hooks/useQueryClient.d.ts +6 -0
- package/lib/typescript/ui/hooks/useSessionManagement.d.ts +40 -0
- package/lib/typescript/ui/hooks/useSessionSocket.d.ts +14 -0
- package/lib/typescript/ui/hooks/useSettingToggle.d.ts +56 -0
- package/lib/typescript/ui/hooks/useStorage.d.ts +15 -0
- package/lib/typescript/ui/hooks/useThemeColors.d.ts +93 -0
- package/lib/typescript/ui/hooks/useThemeStyles.d.ts +44 -0
- package/lib/typescript/ui/hooks/useWebSSO.d.ts +57 -0
- package/lib/typescript/ui/index.d.ts +23 -0
- package/lib/typescript/ui/isFrontend.d.ts +2 -0
- package/lib/typescript/ui/navigation/bottomSheetManager.d.ts +26 -0
- package/lib/typescript/ui/navigation/routes.d.ts +5 -0
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +7 -0
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/AccountVerificationScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/EditProfileFieldScreen.d.ts +12 -0
- package/lib/typescript/ui/screens/FAQScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/FeedbackScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/FollowersListScreen.d.ts +8 -0
- package/lib/typescript/ui/screens/FollowingListScreen.d.ts +8 -0
- package/lib/typescript/ui/screens/HelpSupportScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/HistoryViewScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts +6 -0
- package/lib/typescript/ui/screens/LearnMoreUsernamesScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/LegalDocumentsScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/OxyAuthScreen.d.ts +16 -0
- package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts +14 -0
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/ProfileScreen.d.ts +8 -0
- package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/SearchSettingsScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/UserLinksScreen.d.ts +14 -0
- package/lib/typescript/ui/screens/UserListScreen.d.ts +10 -0
- package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts +12 -0
- package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +4 -0
- package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +4 -0
- package/lib/typescript/ui/server.d.ts +40 -0
- package/lib/typescript/ui/stores/accountStore.d.ts +26 -0
- package/lib/typescript/ui/stores/assetStore.d.ts +53 -0
- package/lib/typescript/ui/stores/authStore.d.ts +16 -0
- package/lib/typescript/ui/stores/fileStore.d.ts +30 -0
- package/lib/typescript/ui/stores/followStore.d.ts +24 -0
- package/lib/typescript/ui/styles/authStyles.d.ts +331 -0
- package/lib/typescript/ui/styles/fonts.d.ts +20 -0
- package/lib/typescript/ui/styles/index.d.ts +4 -0
- package/lib/typescript/ui/styles/spacing.d.ts +48 -0
- package/lib/typescript/ui/styles/theme.d.ts +67 -0
- package/lib/typescript/ui/types/fileManagement.d.ts +40 -0
- package/lib/typescript/ui/types/navigation.d.ts +36 -0
- package/lib/typescript/ui/utils/avatarUtils.d.ts +22 -0
- package/lib/typescript/ui/utils/colorUtils.d.ts +9 -0
- package/lib/typescript/ui/utils/confirmAction.d.ts +6 -0
- package/lib/typescript/ui/utils/errorHandlers.d.ts +34 -0
- package/lib/typescript/ui/utils/fileManagement.d.ts +86 -0
- package/lib/typescript/ui/utils/iconNames.d.ts +111 -0
- package/lib/typescript/ui/utils/sessionHelpers.d.ts +64 -0
- package/lib/typescript/ui/utils/storageHelpers.d.ts +27 -0
- package/lib/typescript/ui/utils/themeUtils.d.ts +10 -0
- package/lib/typescript/ui/utils/userUtils.d.ts +28 -0
- package/lib/typescript/utils/hookUtils.d.ts +101 -0
- package/package.json +3 -3
- package/src/assets/icons/OxyServices.d.ts +28 -0
- package/src/assets/icons/OxyServices.js +53 -0
- package/src/assets/illustrations/HighFive.d.ts +7 -0
- package/src/assets/illustrations/HighFive.js +41 -0
- package/src/index.d.ts +46 -0
- package/src/index.js +127 -0
- package/src/lib/sonner-safe.d.ts +8 -0
- package/src/lib/sonner-safe.js +28 -0
- package/src/lib/sonner.d.ts +11 -0
- package/src/lib/sonner.js +16 -0
- package/src/lib/sonner.native.d.ts +14 -0
- package/src/lib/sonner.native.js +46 -0
- package/src/lib/sonner.web.d.ts +14 -0
- package/src/lib/sonner.web.js +46 -0
- package/src/ui/client.d.ts +30 -0
- package/src/ui/client.js +64 -0
- package/src/ui/components/ActivityIndicator.d.ts +44 -0
- package/src/ui/components/ActivityIndicator.js +184 -0
- package/src/ui/components/AutoHeightScrollView.d.ts +22 -0
- package/src/ui/components/AutoHeightScrollView.js +33 -0
- package/src/ui/components/Avatar.d.ts +60 -0
- package/src/ui/components/Avatar.js +146 -0
- package/src/ui/components/BottomSheet.d.ts +28 -0
- package/src/ui/components/BottomSheet.js +374 -0
- package/src/ui/components/BottomSheetRouter.d.ts +8 -0
- package/src/ui/components/BottomSheetRouter.js +211 -0
- package/src/ui/components/CrossFadeIcon.d.ts +26 -0
- package/src/ui/components/CrossFadeIcon.js +111 -0
- package/src/ui/components/EmptyState.d.ts +7 -0
- package/src/ui/components/EmptyState.js +27 -0
- package/src/ui/components/FollowButton.d.ts +28 -0
- package/src/ui/components/FollowButton.js +197 -0
- package/src/ui/components/FontLoader.d.ts +14 -0
- package/src/ui/components/FontLoader.js +185 -0
- package/src/ui/components/GroupedItem.d.ts +23 -0
- package/src/ui/components/GroupedItem.js +84 -0
- package/src/ui/components/GroupedSection.d.ts +29 -0
- package/src/ui/components/GroupedSection.js +13 -0
- package/src/ui/components/Header.d.ts +37 -0
- package/src/ui/components/Header.js +400 -0
- package/src/ui/components/HelperText.d.ts +46 -0
- package/src/ui/components/HelperText.js +119 -0
- package/src/ui/components/Icon.d.ts +59 -0
- package/src/ui/components/Icon.js +108 -0
- package/src/ui/components/IconButton/IconButton.d.ts +98 -0
- package/src/ui/components/IconButton/IconButton.js +90 -0
- package/src/ui/components/IconButton/utils.d.ts +18 -0
- package/src/ui/components/IconButton/utils.js +119 -0
- package/src/ui/components/LoadingState.d.ts +8 -0
- package/src/ui/components/LoadingState.js +29 -0
- package/src/ui/components/OxyLogo.d.ts +28 -0
- package/src/ui/components/OxyLogo.js +53 -0
- package/src/ui/components/OxyPayButton.d.ts +28 -0
- package/src/ui/components/OxyPayButton.js +76 -0
- package/src/ui/components/OxyProvider.d.ts +37 -0
- package/src/ui/components/OxyProvider.js +197 -0
- package/src/ui/components/OxySignInButton.d.ts +64 -0
- package/src/ui/components/OxySignInButton.js +145 -0
- package/src/ui/components/ProfileCard.d.ts +17 -0
- package/src/ui/components/ProfileCard.js +82 -0
- package/src/ui/components/QuickActions.d.ts +14 -0
- package/src/ui/components/QuickActions.js +62 -0
- package/src/ui/components/Section.d.ts +11 -0
- package/src/ui/components/Section.js +24 -0
- package/src/ui/components/SectionTitle.d.ts +9 -0
- package/src/ui/components/SectionTitle.js +21 -0
- package/src/ui/components/SettingRow.d.ts +19 -0
- package/src/ui/components/SettingRow.js +38 -0
- package/src/ui/components/SignInModal.d.ts +17 -0
- package/src/ui/components/SignInModal.js +428 -0
- package/src/ui/components/StepBasedScreen.d.ts +25 -0
- package/src/ui/components/StepBasedScreen.js +372 -0
- package/src/ui/components/Surface.d.ts +75 -0
- package/src/ui/components/Surface.js +239 -0
- package/src/ui/components/TextField/Addons/Outline.d.ts +15 -0
- package/src/ui/components/TextField/Addons/Outline.js +30 -0
- package/src/ui/components/TextField/Addons/Underline.d.ts +18 -0
- package/src/ui/components/TextField/Addons/Underline.js +45 -0
- package/src/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +44 -0
- package/src/ui/components/TextField/Adornment/TextFieldAdornment.js +132 -0
- package/src/ui/components/TextField/Adornment/TextFieldAffix.d.ts +72 -0
- package/src/ui/components/TextField/Adornment/TextFieldAffix.js +88 -0
- package/src/ui/components/TextField/Adornment/TextFieldIcon.d.ts +77 -0
- package/src/ui/components/TextField/Adornment/TextFieldIcon.js +91 -0
- package/src/ui/components/TextField/Adornment/enums.d.ts +12 -0
- package/src/ui/components/TextField/Adornment/enums.js +18 -0
- package/src/ui/components/TextField/Adornment/types.d.ts +11 -0
- package/src/ui/components/TextField/Adornment/types.js +2 -0
- package/src/ui/components/TextField/Adornment/utils.d.ts +11 -0
- package/src/ui/components/TextField/Adornment/utils.js +50 -0
- package/src/ui/components/TextField/Label/InputLabel.d.ts +4 -0
- package/src/ui/components/TextField/Label/InputLabel.js +125 -0
- package/src/ui/components/TextField/Label/LabelBackground.d.ts +3 -0
- package/src/ui/components/TextField/Label/LabelBackground.js +71 -0
- package/src/ui/components/TextField/TextFieldFlat.d.ts +3 -0
- package/src/ui/components/TextField/TextFieldFlat.js +347 -0
- package/src/ui/components/TextField/TextFieldOutlined.d.ts +3 -0
- package/src/ui/components/TextField/TextFieldOutlined.js +313 -0
- package/src/ui/components/TextField/constants.d.ts +31 -0
- package/src/ui/components/TextField/constants.js +40 -0
- package/src/ui/components/TextField/helpers.d.ts +96 -0
- package/src/ui/components/TextField/helpers.js +388 -0
- package/src/ui/components/TextField/types.d.ts +155 -0
- package/src/ui/components/TextField/types.js +2 -0
- package/src/ui/components/TextField.d.ts +191 -0
- package/src/ui/components/TextField.js +291 -0
- package/src/ui/components/TouchableRipple/Pressable.d.ts +12 -0
- package/src/ui/components/TouchableRipple/Pressable.js +5 -0
- package/src/ui/components/TouchableRipple/TouchableRipple.d.ts +61 -0
- package/src/ui/components/TouchableRipple/TouchableRipple.js +246 -0
- package/src/ui/components/TouchableRipple/TouchableRipple.native.d.ts +24 -0
- package/src/ui/components/TouchableRipple/TouchableRipple.native.js +99 -0
- package/src/ui/components/TouchableRipple/utils.d.ts +10 -0
- package/src/ui/components/TouchableRipple/utils.js +40 -0
- package/src/ui/components/Typography/AnimatedText.d.ts +34 -0
- package/src/ui/components/Typography/AnimatedText.js +49 -0
- package/src/ui/components/Typography/types.d.ts +18 -0
- package/src/ui/components/Typography/types.js +22 -0
- package/src/ui/components/feedback/FormInput.d.ts +19 -0
- package/src/ui/components/feedback/FormInput.js +26 -0
- package/src/ui/components/feedback/ProgressIndicator.d.ts +10 -0
- package/src/ui/components/feedback/ProgressIndicator.js +16 -0
- package/src/ui/components/feedback/constants.d.ts +4 -0
- package/src/ui/components/feedback/constants.js +21 -0
- package/src/ui/components/feedback/feedbackStyles.d.ts +279 -0
- package/src/ui/components/feedback/feedbackStyles.js +250 -0
- package/src/ui/components/feedback/index.d.ts +6 -0
- package/src/ui/components/feedback/index.js +18 -0
- package/src/ui/components/feedback/types.d.ts +45 -0
- package/src/ui/components/feedback/types.js +2 -0
- package/src/ui/components/feedback/useFeedbackForm.d.ts +8 -0
- package/src/ui/components/feedback/useFeedbackForm.js +42 -0
- package/src/ui/components/fileManagement/AnimatedButton.d.ts +15 -0
- package/src/ui/components/fileManagement/AnimatedButton.js +29 -0
- package/src/ui/components/fileManagement/FileDetailsModal.d.ts +14 -0
- package/src/ui/components/fileManagement/FileDetailsModal.js +22 -0
- package/src/ui/components/fileManagement/FileViewer.d.ts +17 -0
- package/src/ui/components/fileManagement/FileViewer.js +138 -0
- package/src/ui/components/fileManagement/UploadPreview.d.ts +20 -0
- package/src/ui/components/fileManagement/UploadPreview.js +35 -0
- package/src/ui/components/fileManagement/styles.d.ts +859 -0
- package/src/ui/components/fileManagement/styles.js +861 -0
- package/src/ui/components/icon/FAIRWalletIcon.d.ts +8 -0
- package/src/ui/components/icon/FAIRWalletIcon.js +54 -0
- package/src/ui/components/icon/OxyIcon.d.ts +9 -0
- package/src/ui/components/icon/OxyIcon.js +9 -0
- package/src/ui/components/icon/index.d.ts +3 -0
- package/src/ui/components/icon/index.js +10 -0
- package/src/ui/components/index.d.ts +16 -0
- package/src/ui/components/index.js +42 -0
- package/src/ui/components/internal/GroupedPillButtons.d.ts +23 -0
- package/src/ui/components/internal/GroupedPillButtons.js +149 -0
- package/src/ui/components/internal/PinInput.d.ts +22 -0
- package/src/ui/components/internal/PinInput.js +76 -0
- package/src/ui/components/modals/DeleteAccountModal.d.ts +18 -0
- package/src/ui/components/modals/DeleteAccountModal.js +154 -0
- package/src/ui/components/modals/index.d.ts +1 -0
- package/src/ui/components/modals/index.js +8 -0
- package/src/ui/components/payment/PaymentDetailsStep.d.ts +20 -0
- package/src/ui/components/payment/PaymentDetailsStep.js +65 -0
- package/src/ui/components/payment/PaymentMethodStep.d.ts +13 -0
- package/src/ui/components/payment/PaymentMethodStep.js +54 -0
- package/src/ui/components/payment/PaymentReviewStep.d.ts +15 -0
- package/src/ui/components/payment/PaymentReviewStep.js +88 -0
- package/src/ui/components/payment/PaymentSuccessStep.d.ts +9 -0
- package/src/ui/components/payment/PaymentSuccessStep.js +35 -0
- package/src/ui/components/payment/PaymentSummaryStep.d.ts +14 -0
- package/src/ui/components/payment/PaymentSummaryStep.js +60 -0
- package/src/ui/components/payment/constants.d.ts +6 -0
- package/src/ui/components/payment/constants.js +38 -0
- package/src/ui/components/payment/index.d.ts +8 -0
- package/src/ui/components/payment/index.js +24 -0
- package/src/ui/components/payment/paymentStyles.d.ts +395 -0
- package/src/ui/components/payment/paymentStyles.js +399 -0
- package/src/ui/components/payment/types.d.ts +39 -0
- package/src/ui/components/payment/types.js +2 -0
- package/src/ui/components/photogrid/JustifiedPhotoGrid.d.ts +26 -0
- package/src/ui/components/photogrid/JustifiedPhotoGrid.js +122 -0
- package/src/ui/components/styles/overlay.d.ts +3 -0
- package/src/ui/components/styles/overlay.js +81 -0
- package/src/ui/components/styles/shadow.d.ts +2 -0
- package/src/ui/components/styles/shadow.js +123 -0
- package/src/ui/components/theming.d.ts +7 -0
- package/src/ui/components/theming.js +111 -0
- package/src/ui/components/types.d.ts +80 -0
- package/src/ui/components/types.js +2 -0
- package/src/ui/components/utils/forwardRef.d.ts +11 -0
- package/src/ui/components/utils/forwardRef.js +46 -0
- package/src/ui/components/utils/hasTouchHandler.d.ts +5 -0
- package/src/ui/components/utils/hasTouchHandler.js +14 -0
- package/src/ui/components/utils/roundLayoutSize.d.ts +1 -0
- package/src/ui/components/utils/roundLayoutSize.js +5 -0
- package/src/ui/components/utils/splitStyles.d.ts +19 -0
- package/src/ui/components/utils/splitStyles.js +40 -0
- package/src/ui/constants/iconColors.d.ts +129 -0
- package/src/ui/constants/iconColors.js +76 -0
- package/src/ui/constants/spacing.d.ts +32 -0
- package/src/ui/constants/spacing.js +40 -0
- package/src/ui/constants/theme.d.ts +96 -0
- package/src/ui/constants/theme.js +118 -0
- package/src/ui/context/OxyContext.d.ts +75 -0
- package/src/ui/context/OxyContext.js +522 -0
- package/src/ui/context/ThemeContext.d.ts +18 -0
- package/src/ui/context/ThemeContext.js +25 -0
- package/src/ui/context/hooks/useAuthOperations.d.ts +39 -0
- package/src/ui/context/hooks/useAuthOperations.js +318 -0
- package/src/ui/hooks/index.d.ts +6 -0
- package/src/ui/hooks/index.js +19 -0
- package/src/ui/hooks/mutations/index.d.ts +8 -0
- package/src/ui/hooks/mutations/index.js +23 -0
- package/src/ui/hooks/mutations/mutationFactory.d.ts +75 -0
- package/src/ui/hooks/mutations/mutationFactory.js +126 -0
- package/src/ui/hooks/mutations/useAccountMutations.d.ts +42 -0
- package/src/ui/hooks/mutations/useAccountMutations.js +274 -0
- package/src/ui/hooks/mutations/useServicesMutations.d.ts +22 -0
- package/src/ui/hooks/mutations/useServicesMutations.js +149 -0
- package/src/ui/hooks/queries/index.d.ts +10 -0
- package/src/ui/hooks/queries/index.js +35 -0
- package/src/ui/hooks/queries/queryKeys.d.ts +64 -0
- package/src/ui/hooks/queries/queryKeys.js +82 -0
- package/src/ui/hooks/queries/useAccountQueries.d.ts +42 -0
- package/src/ui/hooks/queries/useAccountQueries.js +141 -0
- package/src/ui/hooks/queries/useSecurityQueries.d.ts +14 -0
- package/src/ui/hooks/queries/useSecurityQueries.js +45 -0
- package/src/ui/hooks/queries/useServicesQueries.d.ts +30 -0
- package/src/ui/hooks/queries/useServicesQueries.js +113 -0
- package/src/ui/hooks/queryClient.d.ts +18 -0
- package/src/ui/hooks/queryClient.js +111 -0
- package/src/ui/hooks/useAssets.d.ts +34 -0
- package/src/ui/hooks/useAssets.js +204 -0
- package/src/ui/hooks/useAsyncAction.d.ts +50 -0
- package/src/ui/hooks/useAsyncAction.js +77 -0
- package/src/ui/hooks/useAuth.d.ts +77 -0
- package/src/ui/hooks/useAuth.js +135 -0
- package/src/ui/hooks/useAvatarPicker.d.ts +24 -0
- package/src/ui/hooks/useAvatarPicker.js +44 -0
- package/src/ui/hooks/useColorScheme.d.ts +7 -0
- package/src/ui/hooks/useColorScheme.js +23 -0
- package/src/ui/hooks/useDeviceManagement.d.ts +26 -0
- package/src/ui/hooks/useDeviceManagement.js +69 -0
- package/src/ui/hooks/useFileDownloadUrl.d.ts +21 -0
- package/src/ui/hooks/useFileDownloadUrl.js +104 -0
- package/src/ui/hooks/useFileFiltering.d.ts +28 -0
- package/src/ui/hooks/useFileFiltering.js +80 -0
- package/src/ui/hooks/useFollow.d.ts +92 -0
- package/src/ui/hooks/useFollow.js +216 -0
- package/src/ui/hooks/useFollow.types.d.ts +32 -0
- package/src/ui/hooks/useFollow.types.js +4 -0
- package/src/ui/hooks/useI18n.d.ts +4 -0
- package/src/ui/hooks/useI18n.js +13 -0
- package/src/ui/hooks/useLanguageManagement.d.ts +24 -0
- package/src/ui/hooks/useLanguageManagement.js +108 -0
- package/src/ui/hooks/useProfileEditing.d.ts +35 -0
- package/src/ui/hooks/useProfileEditing.js +101 -0
- package/src/ui/hooks/useQueryClient.d.ts +6 -0
- package/src/ui/hooks/useQueryClient.js +16 -0
- package/src/ui/hooks/useSessionManagement.d.ts +40 -0
- package/src/ui/hooks/useSessionManagement.js +312 -0
- package/src/ui/hooks/useSessionSocket.d.ts +14 -0
- package/src/ui/hooks/useSessionSocket.js +209 -0
- package/src/ui/hooks/useSettingToggle.d.ts +56 -0
- package/src/ui/hooks/useSettingToggle.js +97 -0
- package/src/ui/hooks/useStorage.d.ts +15 -0
- package/src/ui/hooks/useStorage.js +40 -0
- package/src/ui/hooks/useThemeColors.d.ts +93 -0
- package/src/ui/hooks/useThemeColors.js +27 -0
- package/src/ui/hooks/useThemeStyles.d.ts +44 -0
- package/src/ui/hooks/useThemeStyles.js +63 -0
- package/src/ui/hooks/useWebSSO.d.ts +57 -0
- package/src/ui/hooks/useWebSSO.js +146 -0
- package/src/ui/index.d.ts +23 -0
- package/src/ui/index.js +97 -0
- package/src/ui/isFrontend.d.ts +2 -0
- package/src/ui/isFrontend.js +6 -0
- package/src/ui/navigation/bottomSheetManager.d.ts +26 -0
- package/src/ui/navigation/bottomSheetManager.js +68 -0
- package/src/ui/navigation/routes.d.ts +5 -0
- package/src/ui/navigation/routes.js +75 -0
- package/src/ui/screens/AccountCenterScreen.d.ts +4 -0
- package/src/ui/screens/AccountCenterScreen.js +202 -0
- package/src/ui/screens/AccountOverviewScreen.d.ts +4 -0
- package/src/ui/screens/AccountOverviewScreen.js +648 -0
- package/src/ui/screens/AccountSettingsScreen.d.ts +7 -0
- package/src/ui/screens/AccountSettingsScreen.js +480 -0
- package/src/ui/screens/AccountSwitcherScreen.d.ts +4 -0
- package/src/ui/screens/AccountSwitcherScreen.js +482 -0
- package/src/ui/screens/AccountVerificationScreen.d.ts +4 -0
- package/src/ui/screens/AccountVerificationScreen.js +164 -0
- package/src/ui/screens/AppInfoScreen.d.ts +4 -0
- package/src/ui/screens/AppInfoScreen.js +373 -0
- package/src/ui/screens/EditProfileFieldScreen.d.ts +12 -0
- package/src/ui/screens/EditProfileFieldScreen.js +549 -0
- package/src/ui/screens/FAQScreen.d.ts +4 -0
- package/src/ui/screens/FAQScreen.js +182 -0
- package/src/ui/screens/FeedbackScreen.d.ts +4 -0
- package/src/ui/screens/FeedbackScreen.js +160 -0
- package/src/ui/screens/FileManagementScreen.d.ts +4 -0
- package/src/ui/screens/FileManagementScreen.js +1473 -0
- package/src/ui/screens/FollowersListScreen.d.ts +8 -0
- package/src/ui/screens/FollowersListScreen.js +11 -0
- package/src/ui/screens/FollowingListScreen.d.ts +8 -0
- package/src/ui/screens/FollowingListScreen.js +11 -0
- package/src/ui/screens/HelpSupportScreen.d.ts +4 -0
- package/src/ui/screens/HelpSupportScreen.js +140 -0
- package/src/ui/screens/HistoryViewScreen.d.ts +4 -0
- package/src/ui/screens/HistoryViewScreen.js +225 -0
- package/src/ui/screens/LanguageSelectorScreen.d.ts +6 -0
- package/src/ui/screens/LanguageSelectorScreen.js +178 -0
- package/src/ui/screens/LearnMoreUsernamesScreen.d.ts +4 -0
- package/src/ui/screens/LearnMoreUsernamesScreen.js +150 -0
- package/src/ui/screens/LegalDocumentsScreen.d.ts +4 -0
- package/src/ui/screens/LegalDocumentsScreen.js +185 -0
- package/src/ui/screens/OxyAuthScreen.d.ts +16 -0
- package/src/ui/screens/OxyAuthScreen.js +431 -0
- package/src/ui/screens/PaymentGatewayScreen.d.ts +14 -0
- package/src/ui/screens/PaymentGatewayScreen.js +171 -0
- package/src/ui/screens/PremiumSubscriptionScreen.d.ts +4 -0
- package/src/ui/screens/PremiumSubscriptionScreen.js +1080 -0
- package/src/ui/screens/PrivacySettingsScreen.d.ts +4 -0
- package/src/ui/screens/PrivacySettingsScreen.js +252 -0
- package/src/ui/screens/ProfileScreen.d.ts +8 -0
- package/src/ui/screens/ProfileScreen.js +254 -0
- package/src/ui/screens/SavesCollectionsScreen.d.ts +4 -0
- package/src/ui/screens/SavesCollectionsScreen.js +150 -0
- package/src/ui/screens/SearchSettingsScreen.d.ts +4 -0
- package/src/ui/screens/SearchSettingsScreen.js +109 -0
- package/src/ui/screens/SessionManagementScreen.d.ts +4 -0
- package/src/ui/screens/SessionManagementScreen.js +320 -0
- package/src/ui/screens/UserLinksScreen.d.ts +14 -0
- package/src/ui/screens/UserLinksScreen.js +57 -0
- package/src/ui/screens/UserListScreen.d.ts +10 -0
- package/src/ui/screens/UserListScreen.js +249 -0
- package/src/ui/screens/WelcomeNewUserScreen.d.ts +12 -0
- package/src/ui/screens/WelcomeNewUserScreen.js +304 -0
- package/src/ui/screens/karma/KarmaAboutScreen.d.ts +4 -0
- package/src/ui/screens/karma/KarmaAboutScreen.js +39 -0
- package/src/ui/screens/karma/KarmaCenterScreen.d.ts +4 -0
- package/src/ui/screens/karma/KarmaCenterScreen.js +159 -0
- package/src/ui/screens/karma/KarmaFAQScreen.d.ts +4 -0
- package/src/ui/screens/karma/KarmaFAQScreen.js +143 -0
- package/src/ui/screens/karma/KarmaLeaderboardScreen.d.ts +4 -0
- package/src/ui/screens/karma/KarmaLeaderboardScreen.js +56 -0
- package/src/ui/screens/karma/KarmaRewardsScreen.d.ts +4 -0
- package/src/ui/screens/karma/KarmaRewardsScreen.js +460 -0
- package/src/ui/screens/karma/KarmaRulesScreen.d.ts +4 -0
- package/src/ui/screens/karma/KarmaRulesScreen.js +47 -0
- package/src/ui/server.d.ts +40 -0
- package/src/ui/server.js +57 -0
- package/src/ui/stores/accountStore.d.ts +26 -0
- package/src/ui/stores/accountStore.js +196 -0
- package/src/ui/stores/assetStore.d.ts +53 -0
- package/src/ui/stores/assetStore.js +192 -0
- package/src/ui/stores/authStore.d.ts +16 -0
- package/src/ui/stores/authStore.js +47 -0
- package/src/ui/stores/fileStore.d.ts +30 -0
- package/src/ui/stores/fileStore.js +113 -0
- package/src/ui/stores/followStore.d.ts +24 -0
- package/src/ui/stores/followStore.js +154 -0
- package/src/ui/styles/authStyles.d.ts +331 -0
- package/src/ui/styles/authStyles.js +332 -0
- package/src/ui/styles/fonts.d.ts +20 -0
- package/src/ui/styles/fonts.js +72 -0
- package/src/ui/styles/index.d.ts +4 -0
- package/src/ui/styles/index.js +20 -0
- package/src/ui/styles/spacing.d.ts +48 -0
- package/src/ui/styles/spacing.js +63 -0
- package/src/ui/styles/theme.d.ts +67 -0
- package/src/ui/styles/theme.js +114 -0
- package/src/ui/types/fileManagement.d.ts +40 -0
- package/src/ui/types/fileManagement.js +2 -0
- package/src/ui/types/navigation.d.ts +36 -0
- package/src/ui/types/navigation.js +2 -0
- package/src/ui/utils/avatarUtils.d.ts +22 -0
- package/src/ui/utils/avatarUtils.js +52 -0
- package/src/ui/utils/colorUtils.d.ts +9 -0
- package/src/ui/utils/colorUtils.js +19 -0
- package/src/ui/utils/confirmAction.d.ts +6 -0
- package/src/ui/utils/confirmAction.js +22 -0
- package/src/ui/utils/errorHandlers.d.ts +34 -0
- package/src/ui/utils/errorHandlers.js +128 -0
- package/src/ui/utils/fileManagement.d.ts +86 -0
- package/src/ui/utils/fileManagement.js +238 -0
- package/src/ui/utils/iconNames.d.ts +111 -0
- package/src/ui/utils/iconNames.js +124 -0
- package/src/ui/utils/sessionHelpers.d.ts +64 -0
- package/src/ui/utils/sessionHelpers.js +90 -0
- package/src/ui/utils/storageHelpers.d.ts +27 -0
- package/src/ui/utils/storageHelpers.js +114 -0
- package/src/ui/utils/themeUtils.d.ts +10 -0
- package/src/ui/utils/themeUtils.js +17 -0
- package/src/ui/utils/userUtils.d.ts +28 -0
- package/src/ui/utils/userUtils.js +54 -0
- package/src/utils/hookUtils.d.ts +101 -0
- package/src/utils/hookUtils.js +373 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type 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,249 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
|
+
const react_1 = require("react");
|
|
8
|
+
const react_native_1 = require("react-native");
|
|
9
|
+
const styles_1 = require("../styles");
|
|
10
|
+
const Avatar_1 = __importDefault(require("../components/Avatar"));
|
|
11
|
+
const components_1 = require("../components");
|
|
12
|
+
const vector_icons_1 = require("@expo/vector-icons");
|
|
13
|
+
const useI18n_1 = require("../hooks/useI18n");
|
|
14
|
+
const OxyContext_1 = require("../context/OxyContext");
|
|
15
|
+
const core_1 = require("@oxyhq/core");
|
|
16
|
+
const PAGE_SIZE = 20;
|
|
17
|
+
const UserListScreen = ({ userId, mode, initialCount, theme, goBack, navigate, }) => {
|
|
18
|
+
const { oxyServices, user: currentUser } = (0, OxyContext_1.useOxy)();
|
|
19
|
+
const [users, setUsers] = (0, react_1.useState)([]);
|
|
20
|
+
const [total, setTotal] = (0, react_1.useState)(initialCount ?? 0);
|
|
21
|
+
const [isLoading, setIsLoading] = (0, react_1.useState)(true);
|
|
22
|
+
const [isLoadingMore, setIsLoadingMore] = (0, react_1.useState)(false);
|
|
23
|
+
const [isRefreshing, setIsRefreshing] = (0, react_1.useState)(false);
|
|
24
|
+
const [error, setError] = (0, react_1.useState)(null);
|
|
25
|
+
const [hasMore, setHasMore] = (0, react_1.useState)(true);
|
|
26
|
+
const colors = (0, styles_1.useThemeColors)(theme ?? 'light');
|
|
27
|
+
const styles = createStyles(colors);
|
|
28
|
+
const { t } = (0, useI18n_1.useI18n)();
|
|
29
|
+
const currentUserId = currentUser?.id || currentUser?._id;
|
|
30
|
+
const fetchUsers = (0, react_1.useCallback)(async (offset = 0, isRefresh = false) => {
|
|
31
|
+
if (!userId) {
|
|
32
|
+
setError('No user ID provided');
|
|
33
|
+
setIsLoading(false);
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
try {
|
|
37
|
+
if (isRefresh) {
|
|
38
|
+
setIsRefreshing(true);
|
|
39
|
+
}
|
|
40
|
+
else if (offset === 0) {
|
|
41
|
+
setIsLoading(true);
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
setIsLoadingMore(true);
|
|
45
|
+
}
|
|
46
|
+
setError(null);
|
|
47
|
+
const response = mode === 'followers'
|
|
48
|
+
? await oxyServices.getUserFollowers(userId, { limit: PAGE_SIZE, offset })
|
|
49
|
+
: await oxyServices.getUserFollowing(userId, { limit: PAGE_SIZE, offset });
|
|
50
|
+
const newUsers = mode === 'followers' ? response.followers : response.following;
|
|
51
|
+
if (offset === 0 || isRefresh) {
|
|
52
|
+
setUsers(newUsers);
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
setUsers((prev) => [...prev, ...newUsers]);
|
|
56
|
+
}
|
|
57
|
+
setTotal(response.total);
|
|
58
|
+
setHasMore(response.hasMore);
|
|
59
|
+
}
|
|
60
|
+
catch (err) {
|
|
61
|
+
core_1.logger.error(`Failed to fetch ${mode}`, err instanceof Error ? err : new Error(String(err)), {
|
|
62
|
+
component: 'UserListScreen',
|
|
63
|
+
});
|
|
64
|
+
setError(`Failed to load ${mode}. Please try again.`);
|
|
65
|
+
}
|
|
66
|
+
finally {
|
|
67
|
+
setIsLoading(false);
|
|
68
|
+
setIsLoadingMore(false);
|
|
69
|
+
setIsRefreshing(false);
|
|
70
|
+
}
|
|
71
|
+
}, [userId, mode, oxyServices]);
|
|
72
|
+
(0, react_1.useEffect)(() => {
|
|
73
|
+
fetchUsers(0);
|
|
74
|
+
}, [fetchUsers]);
|
|
75
|
+
const handleLoadMore = (0, react_1.useCallback)(() => {
|
|
76
|
+
if (!isLoadingMore && hasMore && !isLoading) {
|
|
77
|
+
fetchUsers(users.length);
|
|
78
|
+
}
|
|
79
|
+
}, [isLoadingMore, hasMore, isLoading, users.length, fetchUsers]);
|
|
80
|
+
const handleRefresh = (0, react_1.useCallback)(() => {
|
|
81
|
+
fetchUsers(0, true);
|
|
82
|
+
}, [fetchUsers]);
|
|
83
|
+
const handleUserPress = (0, react_1.useCallback)((user) => {
|
|
84
|
+
const targetUserId = user.id || user._id;
|
|
85
|
+
if (targetUserId && navigate) {
|
|
86
|
+
navigate('Profile', { userId: targetUserId });
|
|
87
|
+
}
|
|
88
|
+
}, [navigate]);
|
|
89
|
+
const renderUser = (0, react_1.useCallback)(({ item }) => {
|
|
90
|
+
const itemUserId = item.id || item._id || '';
|
|
91
|
+
const isCurrentUser = itemUserId === currentUserId;
|
|
92
|
+
const description = typeof item.description === 'string' ? item.description : '';
|
|
93
|
+
return ((0, jsx_runtime_1.jsxs)(react_native_1.TouchableOpacity, { style: styles.userItem, onPress: () => handleUserPress(item), activeOpacity: 0.7, children: [(0, jsx_runtime_1.jsx)(Avatar_1.default, { uri: item.avatar
|
|
94
|
+
? oxyServices.getFileDownloadUrl(item.avatar, 'thumb')
|
|
95
|
+
: undefined, name: item.username || item.name?.full, size: 48 }), (0, jsx_runtime_1.jsxs)(react_native_1.View, { style: styles.userInfo, children: [(0, jsx_runtime_1.jsx)(react_native_1.Text, { style: styles.userName, numberOfLines: 1, children: item.name?.full || item.username || 'Unknown User' }), item.username && ((0, jsx_runtime_1.jsxs)(react_native_1.Text, { style: styles.userHandle, numberOfLines: 1, children: ["@", item.username] })), description ? ((0, jsx_runtime_1.jsx)(react_native_1.Text, { style: styles.userBio, numberOfLines: 2, children: description })) : null] }), !isCurrentUser && itemUserId ? ((0, jsx_runtime_1.jsx)(react_native_1.View, { style: styles.followButtonWrapper, children: (0, jsx_runtime_1.jsx)(components_1.FollowButton, { userId: itemUserId, size: "small" }) })) : null] }));
|
|
96
|
+
}, [colors, styles, handleUserPress, currentUserId, oxyServices]);
|
|
97
|
+
const renderEmpty = (0, react_1.useCallback)(() => {
|
|
98
|
+
if (isLoading)
|
|
99
|
+
return null;
|
|
100
|
+
return ((0, jsx_runtime_1.jsxs)(react_native_1.View, { style: styles.emptyContainer, children: [(0, jsx_runtime_1.jsx)(vector_icons_1.Ionicons, { name: mode === 'followers' ? 'people-outline' : 'heart-outline', size: 64, color: colors.secondaryText }), (0, jsx_runtime_1.jsx)(react_native_1.Text, { style: styles.emptyTitle, children: mode === 'followers'
|
|
101
|
+
? t('userList.noFollowers') || 'No followers yet'
|
|
102
|
+
: t('userList.noFollowing') || 'Not following anyone' }), (0, jsx_runtime_1.jsx)(react_native_1.Text, { style: styles.emptySubtitle, children: mode === 'followers'
|
|
103
|
+
? t('userList.noFollowersDesc') || 'When people follow this user, they will appear here.'
|
|
104
|
+
: t('userList.noFollowingDesc') || 'When this user follows people, they will appear here.' })] }));
|
|
105
|
+
}, [isLoading, mode, colors, styles, t]);
|
|
106
|
+
const renderFooter = (0, react_1.useCallback)(() => {
|
|
107
|
+
if (!isLoadingMore)
|
|
108
|
+
return null;
|
|
109
|
+
return ((0, jsx_runtime_1.jsx)(react_native_1.View, { style: styles.footerLoader, children: (0, jsx_runtime_1.jsx)(react_native_1.ActivityIndicator, { size: "small", color: colors.primary }) }));
|
|
110
|
+
}, [isLoadingMore, colors, styles]);
|
|
111
|
+
const title = mode === 'followers'
|
|
112
|
+
? (t('userList.followers') || 'Followers')
|
|
113
|
+
: (t('userList.following') || 'Following');
|
|
114
|
+
if (isLoading && users.length === 0) {
|
|
115
|
+
return ((0, jsx_runtime_1.jsxs)(react_native_1.View, { style: styles.container, children: [(0, jsx_runtime_1.jsxs)(react_native_1.View, { style: styles.header, children: [goBack && ((0, jsx_runtime_1.jsx)(react_native_1.TouchableOpacity, { onPress: goBack, style: styles.backButton, children: (0, jsx_runtime_1.jsx)(vector_icons_1.Ionicons, { name: "arrow-back", size: 24, color: colors.text }) })), (0, jsx_runtime_1.jsx)(react_native_1.Text, { style: styles.headerTitle, children: title }), (0, jsx_runtime_1.jsx)(react_native_1.View, { style: styles.headerRight })] }), (0, jsx_runtime_1.jsx)(react_native_1.View, { style: styles.loadingContainer, children: (0, jsx_runtime_1.jsx)(react_native_1.ActivityIndicator, { size: "large", color: colors.primary }) })] }));
|
|
116
|
+
}
|
|
117
|
+
if (error) {
|
|
118
|
+
return ((0, jsx_runtime_1.jsxs)(react_native_1.View, { style: styles.container, children: [(0, jsx_runtime_1.jsxs)(react_native_1.View, { style: styles.header, children: [goBack && ((0, jsx_runtime_1.jsx)(react_native_1.TouchableOpacity, { onPress: goBack, style: styles.backButton, children: (0, jsx_runtime_1.jsx)(vector_icons_1.Ionicons, { name: "arrow-back", size: 24, color: colors.text }) })), (0, jsx_runtime_1.jsx)(react_native_1.Text, { style: styles.headerTitle, children: title }), (0, jsx_runtime_1.jsx)(react_native_1.View, { style: styles.headerRight })] }), (0, jsx_runtime_1.jsxs)(react_native_1.View, { style: styles.errorContainer, children: [(0, jsx_runtime_1.jsx)(vector_icons_1.Ionicons, { name: "alert-circle", size: 48, color: colors.error }), (0, jsx_runtime_1.jsx)(react_native_1.Text, { style: styles.errorText, children: error }), (0, jsx_runtime_1.jsx)(react_native_1.TouchableOpacity, { style: styles.retryButton, onPress: () => fetchUsers(0), children: (0, jsx_runtime_1.jsx)(react_native_1.Text, { style: styles.retryButtonText, children: t('common.retry') || 'Retry' }) })] })] }));
|
|
119
|
+
}
|
|
120
|
+
return ((0, jsx_runtime_1.jsxs)(react_native_1.View, { style: styles.container, children: [(0, jsx_runtime_1.jsxs)(react_native_1.View, { style: styles.header, children: [goBack && ((0, jsx_runtime_1.jsx)(react_native_1.TouchableOpacity, { onPress: goBack, style: styles.backButton, children: (0, jsx_runtime_1.jsx)(vector_icons_1.Ionicons, { name: "arrow-back", size: 24, color: colors.text }) })), (0, jsx_runtime_1.jsxs)(react_native_1.View, { style: styles.headerTitleContainer, children: [(0, jsx_runtime_1.jsx)(react_native_1.Text, { style: styles.headerTitle, children: title }), total > 0 && (0, jsx_runtime_1.jsx)(react_native_1.Text, { style: styles.headerCount, children: total })] }), (0, jsx_runtime_1.jsx)(react_native_1.View, { style: styles.headerRight })] }), (0, jsx_runtime_1.jsx)(react_native_1.FlatList, { data: users, renderItem: renderUser, keyExtractor: (item, index) => item.id || item._id || `user-${index}`, contentContainerStyle: styles.listContent, ItemSeparatorComponent: () => (0, jsx_runtime_1.jsx)(react_native_1.View, { style: styles.separator }), ListEmptyComponent: renderEmpty, ListFooterComponent: renderFooter, onEndReached: handleLoadMore, onEndReachedThreshold: 0.3, refreshControl: (0, jsx_runtime_1.jsx)(react_native_1.RefreshControl, { refreshing: isRefreshing, onRefresh: handleRefresh, tintColor: colors.primary, colors: [colors.primary] }) })] }));
|
|
121
|
+
};
|
|
122
|
+
const createStyles = (colors) => react_native_1.StyleSheet.create({
|
|
123
|
+
container: {
|
|
124
|
+
flex: 1,
|
|
125
|
+
backgroundColor: colors.background,
|
|
126
|
+
},
|
|
127
|
+
header: {
|
|
128
|
+
flexDirection: 'row',
|
|
129
|
+
alignItems: 'center',
|
|
130
|
+
paddingHorizontal: 16,
|
|
131
|
+
paddingVertical: 12,
|
|
132
|
+
borderBottomWidth: 1,
|
|
133
|
+
borderBottomColor: colors.border,
|
|
134
|
+
},
|
|
135
|
+
backButton: {
|
|
136
|
+
padding: 8,
|
|
137
|
+
marginRight: 8,
|
|
138
|
+
},
|
|
139
|
+
headerTitleContainer: {
|
|
140
|
+
flex: 1,
|
|
141
|
+
flexDirection: 'row',
|
|
142
|
+
alignItems: 'center',
|
|
143
|
+
},
|
|
144
|
+
headerTitle: {
|
|
145
|
+
fontSize: 18,
|
|
146
|
+
fontWeight: '600',
|
|
147
|
+
color: colors.text,
|
|
148
|
+
},
|
|
149
|
+
headerCount: {
|
|
150
|
+
fontSize: 16,
|
|
151
|
+
color: colors.secondaryText,
|
|
152
|
+
marginLeft: 8,
|
|
153
|
+
},
|
|
154
|
+
headerRight: {
|
|
155
|
+
width: 40,
|
|
156
|
+
},
|
|
157
|
+
loadingContainer: {
|
|
158
|
+
flex: 1,
|
|
159
|
+
justifyContent: 'center',
|
|
160
|
+
alignItems: 'center',
|
|
161
|
+
},
|
|
162
|
+
errorContainer: {
|
|
163
|
+
flex: 1,
|
|
164
|
+
justifyContent: 'center',
|
|
165
|
+
alignItems: 'center',
|
|
166
|
+
paddingHorizontal: 32,
|
|
167
|
+
},
|
|
168
|
+
errorText: {
|
|
169
|
+
fontSize: 16,
|
|
170
|
+
color: colors.error,
|
|
171
|
+
textAlign: 'center',
|
|
172
|
+
marginTop: 16,
|
|
173
|
+
marginBottom: 24,
|
|
174
|
+
},
|
|
175
|
+
retryButton: {
|
|
176
|
+
backgroundColor: colors.primary,
|
|
177
|
+
paddingHorizontal: 24,
|
|
178
|
+
paddingVertical: 12,
|
|
179
|
+
borderRadius: 8,
|
|
180
|
+
},
|
|
181
|
+
retryButtonText: {
|
|
182
|
+
color: '#fff',
|
|
183
|
+
fontSize: 16,
|
|
184
|
+
fontWeight: '600',
|
|
185
|
+
},
|
|
186
|
+
listContent: {
|
|
187
|
+
flexGrow: 1,
|
|
188
|
+
},
|
|
189
|
+
userItem: {
|
|
190
|
+
flexDirection: 'row',
|
|
191
|
+
alignItems: 'center',
|
|
192
|
+
paddingHorizontal: 16,
|
|
193
|
+
paddingVertical: 12,
|
|
194
|
+
},
|
|
195
|
+
userInfo: {
|
|
196
|
+
flex: 1,
|
|
197
|
+
marginLeft: 12,
|
|
198
|
+
marginRight: 8,
|
|
199
|
+
},
|
|
200
|
+
userName: {
|
|
201
|
+
fontSize: 16,
|
|
202
|
+
fontWeight: '600',
|
|
203
|
+
color: colors.text,
|
|
204
|
+
},
|
|
205
|
+
userHandle: {
|
|
206
|
+
fontSize: 14,
|
|
207
|
+
color: colors.secondaryText,
|
|
208
|
+
marginTop: 2,
|
|
209
|
+
},
|
|
210
|
+
userBio: {
|
|
211
|
+
fontSize: 14,
|
|
212
|
+
color: colors.text,
|
|
213
|
+
marginTop: 4,
|
|
214
|
+
opacity: 0.8,
|
|
215
|
+
},
|
|
216
|
+
followButtonWrapper: {
|
|
217
|
+
marginLeft: 'auto',
|
|
218
|
+
},
|
|
219
|
+
separator: {
|
|
220
|
+
height: 1,
|
|
221
|
+
backgroundColor: colors.border,
|
|
222
|
+
marginLeft: 76,
|
|
223
|
+
},
|
|
224
|
+
emptyContainer: {
|
|
225
|
+
flex: 1,
|
|
226
|
+
justifyContent: 'center',
|
|
227
|
+
alignItems: 'center',
|
|
228
|
+
paddingHorizontal: 32,
|
|
229
|
+
paddingTop: 80,
|
|
230
|
+
},
|
|
231
|
+
emptyTitle: {
|
|
232
|
+
fontSize: 18,
|
|
233
|
+
fontWeight: '600',
|
|
234
|
+
color: colors.text,
|
|
235
|
+
marginTop: 16,
|
|
236
|
+
textAlign: 'center',
|
|
237
|
+
},
|
|
238
|
+
emptySubtitle: {
|
|
239
|
+
fontSize: 14,
|
|
240
|
+
color: colors.secondaryText,
|
|
241
|
+
marginTop: 8,
|
|
242
|
+
textAlign: 'center',
|
|
243
|
+
},
|
|
244
|
+
footerLoader: {
|
|
245
|
+
paddingVertical: 16,
|
|
246
|
+
alignItems: 'center',
|
|
247
|
+
},
|
|
248
|
+
});
|
|
249
|
+
exports.default = UserListScreen;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type 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,304 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
40
|
+
const react_1 = require("react");
|
|
41
|
+
const react_native_1 = require("react-native");
|
|
42
|
+
const react_native_reanimated_1 = __importStar(require("react-native-reanimated"));
|
|
43
|
+
const Avatar_1 = __importDefault(require("../components/Avatar"));
|
|
44
|
+
const vector_icons_1 = require("@expo/vector-icons");
|
|
45
|
+
const sonner_1 = require("../../lib/sonner");
|
|
46
|
+
const styles_1 = require("../styles");
|
|
47
|
+
const fonts_1 = require("../styles/fonts");
|
|
48
|
+
const themeUtils_1 = require("../utils/themeUtils");
|
|
49
|
+
const GroupedPillButtons_1 = __importDefault(require("../components/internal/GroupedPillButtons"));
|
|
50
|
+
const useI18n_1 = require("../hooks/useI18n");
|
|
51
|
+
const OxyContext_1 = require("../context/OxyContext");
|
|
52
|
+
const useAccountMutations_1 = require("../hooks/mutations/useAccountMutations");
|
|
53
|
+
const core_1 = require("@oxyhq/core");
|
|
54
|
+
const GAP = 12;
|
|
55
|
+
const INNER_GAP = 8;
|
|
56
|
+
// Individual animated progress dot
|
|
57
|
+
const AnimatedProgressDot = ({ isActive, colors, styles }) => {
|
|
58
|
+
const width = (0, react_native_reanimated_1.useSharedValue)(isActive ? 12 : 6);
|
|
59
|
+
const backgroundColor = (0, react_native_reanimated_1.useSharedValue)(isActive ? colors.primary : colors.border);
|
|
60
|
+
(0, react_1.useEffect)(() => {
|
|
61
|
+
width.value = (0, react_native_reanimated_1.withTiming)(isActive ? 12 : 6, { duration: 300 });
|
|
62
|
+
backgroundColor.value = (0, react_native_reanimated_1.withTiming)(isActive ? colors.primary : colors.border, { duration: 300 });
|
|
63
|
+
}, [isActive, colors.primary, colors.border, width, backgroundColor]);
|
|
64
|
+
const animatedStyle = (0, react_native_reanimated_1.useAnimatedStyle)(() => ({
|
|
65
|
+
width: width.value,
|
|
66
|
+
backgroundColor: backgroundColor.value,
|
|
67
|
+
}));
|
|
68
|
+
return ((0, jsx_runtime_1.jsx)(react_native_reanimated_1.default.View, { style: [
|
|
69
|
+
styles.progressDot,
|
|
70
|
+
animatedStyle,
|
|
71
|
+
] }));
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Post-signup welcome & onboarding screen.
|
|
75
|
+
* - Greets the newly registered user
|
|
76
|
+
* - Lets them immediately set / change their avatar using existing FileManagement picker
|
|
77
|
+
* - Only when the user presses "Continue" do we invoke onAuthenticated to finish flow & close sheet
|
|
78
|
+
*/
|
|
79
|
+
const WelcomeNewUserScreen = ({ navigate, onAuthenticated, theme, newUser, }) => {
|
|
80
|
+
// Use useOxy() hook for OxyContext values
|
|
81
|
+
const { user, oxyServices } = (0, OxyContext_1.useOxy)();
|
|
82
|
+
const { t } = (0, useI18n_1.useI18n)();
|
|
83
|
+
const updateProfileMutation = (0, useAccountMutations_1.useUpdateProfile)();
|
|
84
|
+
const currentUser = user || newUser; // fallback
|
|
85
|
+
const normalizedTheme = (0, themeUtils_1.normalizeTheme)(theme);
|
|
86
|
+
const colors = (0, styles_1.useThemeColors)(normalizedTheme);
|
|
87
|
+
const styles = (0, react_1.useMemo)(() => createStyles(normalizedTheme), [normalizedTheme]);
|
|
88
|
+
// Animation state
|
|
89
|
+
const fadeAnim = (0, react_1.useRef)(new react_native_1.Animated.Value(1)).current;
|
|
90
|
+
const slideAnim = (0, react_1.useRef)(new react_native_1.Animated.Value(0)).current;
|
|
91
|
+
const [currentStep, setCurrentStep] = (0, react_1.useState)(0);
|
|
92
|
+
// Track avatar separately to ensure it updates immediately after selection
|
|
93
|
+
const [selectedAvatarId, setSelectedAvatarId] = (0, react_1.useState)(currentUser?.avatar);
|
|
94
|
+
// Update selectedAvatarId when user changes
|
|
95
|
+
(0, react_1.useEffect)(() => {
|
|
96
|
+
if (user?.avatar) {
|
|
97
|
+
setSelectedAvatarId(user.avatar);
|
|
98
|
+
}
|
|
99
|
+
else if (newUser?.avatar) {
|
|
100
|
+
setSelectedAvatarId(newUser.avatar);
|
|
101
|
+
}
|
|
102
|
+
}, [user?.avatar, newUser?.avatar]);
|
|
103
|
+
const avatarUri = selectedAvatarId ? oxyServices.getFileDownloadUrl(selectedAvatarId, 'thumb') : undefined;
|
|
104
|
+
// Steps content
|
|
105
|
+
const welcomeTitle = currentUser?.username
|
|
106
|
+
? (t('welcomeNew.welcome.titleWithName', { username: currentUser.username }) || `Welcome, ${currentUser.username} 👋`)
|
|
107
|
+
: (t('welcomeNew.welcome.title') || 'Welcome 👋');
|
|
108
|
+
const steps = [
|
|
109
|
+
{ key: 'welcome', title: welcomeTitle, body: t('welcomeNew.welcome.body') || "You just created an account in a calm, ethical space. A few quick things — then you're in." },
|
|
110
|
+
{
|
|
111
|
+
key: 'account', title: t('welcomeNew.account.title') || 'One Account. Simple.', bullets: [
|
|
112
|
+
t('welcomeNew.account.bullets.0') || 'One identity across everything',
|
|
113
|
+
t('welcomeNew.account.bullets.1') || 'No re‑signing in all the time',
|
|
114
|
+
t('welcomeNew.account.bullets.2') || 'Your preferences stay with you',
|
|
115
|
+
]
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
key: 'principles', title: t('welcomeNew.principles.title') || 'What We Stand For', bullets: [
|
|
119
|
+
t('welcomeNew.principles.bullets.0') || 'Privacy by default',
|
|
120
|
+
t('welcomeNew.principles.bullets.1') || 'No manipulative feeds',
|
|
121
|
+
t('welcomeNew.principles.bullets.2') || 'You decide what to share',
|
|
122
|
+
t('welcomeNew.principles.bullets.3') || 'No selling your data',
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
{ key: 'karma', title: t('welcomeNew.karma.title') || 'Karma = Trust & Growth', body: t('welcomeNew.karma.body') || 'Oxy Karma is a points system that reacts to what you do. Helpful, respectful, constructive actions earn it. Harmful or low‑effort stuff chips it away. More karma can unlock benefits; low karma can limit features. It keeps things fair and rewards real contribution.' },
|
|
126
|
+
{ key: 'avatar', title: t('welcomeNew.avatar.title') || 'Make It Yours', body: t('welcomeNew.avatar.body') || 'Add an avatar so people recognize you. It will show anywhere you show up here. Skip if you want — you can add it later.', showAvatar: true },
|
|
127
|
+
{ key: 'ready', title: t('welcomeNew.ready.title') || "You're Ready", body: t('welcomeNew.ready.body') || 'Explore. Contribute. Earn karma. Stay in control.' }
|
|
128
|
+
];
|
|
129
|
+
const totalSteps = steps.length;
|
|
130
|
+
const avatarStepIndex = steps.findIndex(s => s.showAvatar);
|
|
131
|
+
const animateToStepCallback = (0, react_1.useCallback)((next) => {
|
|
132
|
+
react_native_1.Animated.timing(fadeAnim, { toValue: 0, duration: 180, useNativeDriver: react_native_1.Platform.OS !== 'web' }).start(() => {
|
|
133
|
+
setCurrentStep(next);
|
|
134
|
+
slideAnim.setValue(-40);
|
|
135
|
+
react_native_1.Animated.parallel([
|
|
136
|
+
react_native_1.Animated.timing(fadeAnim, { toValue: 1, duration: 220, useNativeDriver: react_native_1.Platform.OS !== 'web' }),
|
|
137
|
+
react_native_1.Animated.spring(slideAnim, { toValue: 0, useNativeDriver: react_native_1.Platform.OS !== 'web', friction: 9 })
|
|
138
|
+
]).start();
|
|
139
|
+
});
|
|
140
|
+
}, [fadeAnim, slideAnim]);
|
|
141
|
+
const nextStep = (0, react_1.useCallback)(() => { if (currentStep < totalSteps - 1)
|
|
142
|
+
animateToStepCallback(currentStep + 1); }, [currentStep, totalSteps, animateToStepCallback]);
|
|
143
|
+
const prevStep = (0, react_1.useCallback)(() => { if (currentStep > 0)
|
|
144
|
+
animateToStepCallback(currentStep - 1); }, [currentStep, animateToStepCallback]);
|
|
145
|
+
const skipToAvatar = (0, react_1.useCallback)(() => { if (avatarStepIndex >= 0)
|
|
146
|
+
animateToStepCallback(avatarStepIndex); }, [avatarStepIndex, animateToStepCallback]);
|
|
147
|
+
const finish = (0, react_1.useCallback)(() => { if (onAuthenticated && currentUser)
|
|
148
|
+
onAuthenticated(currentUser); }, [onAuthenticated, currentUser]);
|
|
149
|
+
const openAvatarPicker = (0, react_1.useCallback)(() => {
|
|
150
|
+
// Ensure we're on the avatar step before opening picker
|
|
151
|
+
if (avatarStepIndex >= 0 && currentStep !== avatarStepIndex) {
|
|
152
|
+
animateToStepCallback(avatarStepIndex);
|
|
153
|
+
}
|
|
154
|
+
navigate?.('FileManagement', {
|
|
155
|
+
selectMode: true,
|
|
156
|
+
multiSelect: false,
|
|
157
|
+
disabledMimeTypes: ['video/', 'audio/', 'application/pdf'],
|
|
158
|
+
afterSelect: 'none', // Don't navigate away - stay on current screen
|
|
159
|
+
onSelect: async (file) => {
|
|
160
|
+
if (!file.contentType.startsWith('image/')) {
|
|
161
|
+
sonner_1.toast.error(t('editProfile.toasts.selectImage') || 'Please select an image file');
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
try {
|
|
165
|
+
// Update file visibility to public for avatar
|
|
166
|
+
await (0, core_1.updateAvatarVisibility)(file.id, oxyServices, 'WelcomeNewUser');
|
|
167
|
+
// Update the avatar immediately in local state
|
|
168
|
+
setSelectedAvatarId(file.id);
|
|
169
|
+
// Update user using TanStack Query mutation
|
|
170
|
+
await updateProfileMutation.mutateAsync({ avatar: file.id });
|
|
171
|
+
sonner_1.toast.success(t('editProfile.toasts.avatarUpdated') || 'Avatar updated');
|
|
172
|
+
// Ensure we stay on the avatar step
|
|
173
|
+
if (avatarStepIndex >= 0 && currentStep !== avatarStepIndex) {
|
|
174
|
+
animateToStepCallback(avatarStepIndex);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
catch (e) {
|
|
178
|
+
sonner_1.toast.error((e instanceof Error ? e.message : null) || t('editProfile.toasts.updateAvatarFailed') || 'Failed to update avatar');
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
}, [navigate, updateProfileMutation, oxyServices, currentStep, avatarStepIndex, animateToStepCallback, t]);
|
|
183
|
+
const step = steps[currentStep];
|
|
184
|
+
const pillButtons = (0, react_1.useMemo)(() => {
|
|
185
|
+
if (currentStep === totalSteps - 1) {
|
|
186
|
+
return [
|
|
187
|
+
{ text: t('welcomeNew.actions.back') || 'Back', onPress: prevStep, icon: 'arrow-back', variant: 'transparent' },
|
|
188
|
+
{ text: t('welcomeNew.actions.enter') || 'Enter', onPress: finish, icon: 'log-in-outline', variant: 'primary' },
|
|
189
|
+
];
|
|
190
|
+
}
|
|
191
|
+
if (currentStep === 0) {
|
|
192
|
+
const arr = [];
|
|
193
|
+
if (avatarStepIndex > 0)
|
|
194
|
+
arr.push({ text: t('welcomeNew.actions.skip') || 'Skip', onPress: skipToAvatar, icon: 'play-skip-forward', variant: 'transparent' });
|
|
195
|
+
arr.push({ text: t('welcomeNew.actions.next') || 'Next', onPress: nextStep, icon: 'arrow-forward', variant: 'primary' });
|
|
196
|
+
return arr;
|
|
197
|
+
}
|
|
198
|
+
if (step.showAvatar) {
|
|
199
|
+
return [
|
|
200
|
+
{ text: t('welcomeNew.actions.back') || 'Back', onPress: prevStep, icon: 'arrow-back', variant: 'transparent' },
|
|
201
|
+
{ text: avatarUri ? (t('welcomeNew.actions.continue') || 'Continue') : (t('welcomeNew.actions.skip') || 'Skip'), onPress: nextStep, icon: 'arrow-forward', variant: 'primary' },
|
|
202
|
+
];
|
|
203
|
+
}
|
|
204
|
+
return [
|
|
205
|
+
{ text: t('welcomeNew.actions.back') || 'Back', onPress: prevStep, icon: 'arrow-back', variant: 'transparent' },
|
|
206
|
+
{ text: t('welcomeNew.actions.next') || 'Next', onPress: nextStep, icon: 'arrow-forward', variant: 'primary' },
|
|
207
|
+
];
|
|
208
|
+
}, [currentStep, totalSteps, prevStep, nextStep, finish, skipToAvatar, avatarStepIndex, step.showAvatar, avatarUri]);
|
|
209
|
+
return ((0, jsx_runtime_1.jsxs)(react_native_1.View, { style: styles.container, children: [(0, jsx_runtime_1.jsx)(react_native_1.View, { style: styles.progressContainer, children: steps.map((s, i) => ((0, jsx_runtime_1.jsx)(AnimatedProgressDot, { isActive: i === currentStep, colors: colors, styles: styles }, s.key))) }), (0, jsx_runtime_1.jsx)(react_native_1.Animated.View, { style: { opacity: fadeAnim, transform: [{ translateX: slideAnim }] }, children: (0, jsx_runtime_1.jsxs)(react_native_1.View, { style: [styles.scrollInner, styles.contentContainer], children: [(0, jsx_runtime_1.jsxs)(react_native_1.View, { style: [styles.header, styles.sectionSpacing], children: [(0, jsx_runtime_1.jsx)(react_native_1.Text, { style: [styles.title, { color: colors.text }], children: step.title }), step.body && (0, jsx_runtime_1.jsx)(react_native_1.Text, { style: [styles.body, { color: colors.secondaryText }], children: step.body })] }), Array.isArray(step.bullets) && step.bullets.length > 0 && ((0, jsx_runtime_1.jsx)(react_native_1.View, { style: [styles.bulletContainer, styles.sectionSpacing], children: step.bullets.map(b => ((0, jsx_runtime_1.jsxs)(react_native_1.View, { style: styles.bulletRow, children: [(0, jsx_runtime_1.jsx)(vector_icons_1.Ionicons, { name: "ellipse", size: 8, color: colors.primary, style: { marginTop: 6 } }), (0, jsx_runtime_1.jsx)(react_native_1.Text, { style: [styles.bulletText, { color: colors.secondaryText }], children: b })] }, b))) })), step.showAvatar && ((0, jsx_runtime_1.jsxs)(react_native_1.View, { style: [styles.avatarSection, styles.sectionSpacing], children: [(0, jsx_runtime_1.jsx)(Avatar_1.default, { size: 120, name: currentUser?.name?.full || currentUser?.name?.first || currentUser?.username, uri: avatarUri, backgroundColor: `${colors.primary}20`, style: styles.avatar }), (0, jsx_runtime_1.jsxs)(react_native_1.TouchableOpacity, { style: [styles.changeAvatarButton, { backgroundColor: colors.primary }], onPress: openAvatarPicker, children: [(0, jsx_runtime_1.jsx)(vector_icons_1.Ionicons, { name: "image-outline", size: 18, color: "#FFFFFF" }), (0, jsx_runtime_1.jsx)(react_native_1.Text, { style: styles.changeAvatarText, children: avatarUri ? (t('welcomeNew.avatar.change') || 'Change Avatar') : (t('welcomeNew.avatar.add') || 'Add Avatar') })] })] })), (0, jsx_runtime_1.jsx)(react_native_1.View, { style: styles.sectionSpacing, children: (0, jsx_runtime_1.jsx)(GroupedPillButtons_1.default, { buttons: pillButtons, colors: colors }) })] }) })] }));
|
|
210
|
+
};
|
|
211
|
+
const createStyles = (theme) => {
|
|
212
|
+
const isDark = theme === 'dark';
|
|
213
|
+
const border = isDark ? '#333333' : '#E0E0E0';
|
|
214
|
+
return react_native_1.StyleSheet.create({
|
|
215
|
+
container: {
|
|
216
|
+
width: '100%',
|
|
217
|
+
paddingHorizontal: 20,
|
|
218
|
+
},
|
|
219
|
+
scrollInner: {
|
|
220
|
+
paddingTop: 0,
|
|
221
|
+
},
|
|
222
|
+
contentContainer: {
|
|
223
|
+
width: '100%',
|
|
224
|
+
maxWidth: 420,
|
|
225
|
+
alignSelf: 'center',
|
|
226
|
+
},
|
|
227
|
+
sectionSpacing: {
|
|
228
|
+
marginBottom: GAP,
|
|
229
|
+
},
|
|
230
|
+
header: {
|
|
231
|
+
alignItems: 'flex-start',
|
|
232
|
+
width: '100%',
|
|
233
|
+
gap: INNER_GAP / 2,
|
|
234
|
+
},
|
|
235
|
+
title: {
|
|
236
|
+
fontSize: 42,
|
|
237
|
+
fontFamily: fonts_1.fontFamilies.interBold,
|
|
238
|
+
fontWeight: react_native_1.Platform.OS === 'web' ? 'bold' : undefined,
|
|
239
|
+
letterSpacing: -1,
|
|
240
|
+
textAlign: 'left',
|
|
241
|
+
},
|
|
242
|
+
body: {
|
|
243
|
+
fontSize: 16,
|
|
244
|
+
lineHeight: 22,
|
|
245
|
+
textAlign: 'left',
|
|
246
|
+
maxWidth: 320,
|
|
247
|
+
alignSelf: 'flex-start',
|
|
248
|
+
},
|
|
249
|
+
bulletContainer: {
|
|
250
|
+
gap: INNER_GAP,
|
|
251
|
+
width: '100%',
|
|
252
|
+
},
|
|
253
|
+
bulletRow: {
|
|
254
|
+
flexDirection: 'row',
|
|
255
|
+
alignItems: 'flex-start',
|
|
256
|
+
gap: 10,
|
|
257
|
+
},
|
|
258
|
+
bulletText: {
|
|
259
|
+
flex: 1,
|
|
260
|
+
fontSize: 15,
|
|
261
|
+
lineHeight: 20,
|
|
262
|
+
},
|
|
263
|
+
avatarSection: {
|
|
264
|
+
width: '100%',
|
|
265
|
+
alignItems: 'center',
|
|
266
|
+
},
|
|
267
|
+
avatar: {
|
|
268
|
+
marginBottom: INNER_GAP,
|
|
269
|
+
},
|
|
270
|
+
changeAvatarButton: {
|
|
271
|
+
flexDirection: 'row',
|
|
272
|
+
alignItems: 'center',
|
|
273
|
+
paddingHorizontal: 18,
|
|
274
|
+
paddingVertical: 10,
|
|
275
|
+
borderRadius: 28,
|
|
276
|
+
gap: 8,
|
|
277
|
+
shadowOpacity: 0,
|
|
278
|
+
shadowRadius: 0,
|
|
279
|
+
shadowOffset: { width: 0, height: 0 },
|
|
280
|
+
elevation: 0,
|
|
281
|
+
...(react_native_1.Platform.OS === 'web' ? { boxShadow: 'none' } : null),
|
|
282
|
+
},
|
|
283
|
+
changeAvatarText: {
|
|
284
|
+
color: '#FFFFFF',
|
|
285
|
+
fontSize: 15,
|
|
286
|
+
fontWeight: '600',
|
|
287
|
+
},
|
|
288
|
+
progressContainer: {
|
|
289
|
+
flexDirection: 'row',
|
|
290
|
+
width: '100%',
|
|
291
|
+
justifyContent: 'center',
|
|
292
|
+
marginTop: 24, // Space for bottom sheet handle (~20px) + small buffer
|
|
293
|
+
marginBottom: 24, // Equal spacing below dots
|
|
294
|
+
},
|
|
295
|
+
progressDot: {
|
|
296
|
+
height: 6,
|
|
297
|
+
width: 6,
|
|
298
|
+
borderRadius: 3,
|
|
299
|
+
marginHorizontal: 3,
|
|
300
|
+
backgroundColor: border,
|
|
301
|
+
},
|
|
302
|
+
});
|
|
303
|
+
};
|
|
304
|
+
exports.default = WelcomeNewUserScreen;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
const react_native_1 = require("react-native");
|
|
5
|
+
const components_1 = require("../../components");
|
|
6
|
+
const useI18n_1 = require("../../hooks/useI18n");
|
|
7
|
+
const useThemeStyles_1 = require("../../hooks/useThemeStyles");
|
|
8
|
+
const themeUtils_1 = require("../../utils/themeUtils");
|
|
9
|
+
const useColorScheme_1 = require("../../hooks/useColorScheme");
|
|
10
|
+
const fonts_1 = require("../../styles/fonts");
|
|
11
|
+
const KarmaAboutScreen = ({ goBack, theme }) => {
|
|
12
|
+
const { t } = (0, useI18n_1.useI18n)();
|
|
13
|
+
const colorScheme = (0, useColorScheme_1.useColorScheme)();
|
|
14
|
+
const normalizedTheme = (0, themeUtils_1.normalizeTheme)(theme);
|
|
15
|
+
const themeStyles = (0, useThemeStyles_1.useThemeStyles)(normalizedTheme, colorScheme);
|
|
16
|
+
// Override primaryColor for Karma screens (purple instead of blue)
|
|
17
|
+
const primaryColor = '#d169e5';
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)(react_native_1.View, { style: [styles.container, { backgroundColor: themeStyles.backgroundColor }], children: [(0, jsx_runtime_1.jsx)(components_1.Header, { title: t('karma.about.title') || 'About Karma', subtitle: t('karma.about.subtitle') || 'Learn about the karma system', onBack: goBack, elevation: "subtle" }), (0, jsx_runtime_1.jsxs)(react_native_1.ScrollView, { contentContainerStyle: styles.contentContainer, children: [(0, jsx_runtime_1.jsx)(react_native_1.Text, { style: [styles.paragraph, { color: themeStyles.textColor }], children: t('karma.about.intro') || 'Karma is a recognition of your positive actions in the Oxy Ecosystem. It cannot be sent or received directly, only earned by contributing to the community.' }), (0, jsx_runtime_1.jsx)(react_native_1.Text, { style: [styles.section, { color: primaryColor }], children: t('karma.about.how.title') || 'How to Earn Karma' }), (0, jsx_runtime_1.jsxs)(react_native_1.Text, { style: [styles.paragraph, { color: themeStyles.textColor }], children: ["\u2022 ", t('karma.about.how.help') || 'Helping other users', '\n', "\u2022 ", t('karma.about.how.report') || 'Reporting bugs', '\n', "\u2022 ", t('karma.about.how.contribute') || 'Contributing content', '\n', "\u2022 ", t('karma.about.how.participate') || 'Participating in events', '\n', "\u2022 ", t('karma.about.how.other') || 'Other positive actions'] }), (0, jsx_runtime_1.jsx)(react_native_1.Text, { style: [styles.section, { color: primaryColor }], children: t('karma.about.why.title') || 'Why Karma?' }), (0, jsx_runtime_1.jsx)(react_native_1.Text, { style: [styles.paragraph, { color: themeStyles.textColor }], children: t('karma.about.why.text') || 'Karma unlocks special features and recognition in the Oxy Ecosystem. The more you contribute, the more you earn!' })] })] }));
|
|
19
|
+
};
|
|
20
|
+
const styles = react_native_1.StyleSheet.create({
|
|
21
|
+
container: { flex: 1 },
|
|
22
|
+
title: {
|
|
23
|
+
fontFamily: fonts_1.fontFamilies.interBold,
|
|
24
|
+
fontWeight: react_native_1.Platform.OS === 'web' ? 'bold' : undefined, // Only apply fontWeight on web
|
|
25
|
+
fontSize: 54,
|
|
26
|
+
margin: 24,
|
|
27
|
+
marginBottom: 24,
|
|
28
|
+
},
|
|
29
|
+
contentContainer: { padding: 24, paddingTop: 20 },
|
|
30
|
+
section: {
|
|
31
|
+
fontSize: 18,
|
|
32
|
+
fontWeight: react_native_1.Platform.OS === 'web' ? 'bold' : undefined,
|
|
33
|
+
fontFamily: fonts_1.fontFamilies.interBold,
|
|
34
|
+
marginTop: 24,
|
|
35
|
+
marginBottom: 8
|
|
36
|
+
},
|
|
37
|
+
paragraph: { fontSize: 16, marginBottom: 12 },
|
|
38
|
+
});
|
|
39
|
+
exports.default = KarmaAboutScreen;
|