@oxyhq/services 11.0.0 → 11.1.1
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/index.js +7 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/components/AccountMenu.js +9 -5
- package/lib/commonjs/ui/components/AccountMenu.js.map +1 -1
- package/lib/commonjs/ui/components/AnotherDeviceQR.js +51 -56
- package/lib/commonjs/ui/components/AnotherDeviceQR.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheetRouter.js +1 -0
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +18 -5
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyLogo.js +1 -1
- package/lib/commonjs/ui/components/OxyLogo.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +23 -7
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/SignInModal.js +20 -1
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +19 -9
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +4 -2
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +153 -19
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +6 -17
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +5 -5
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +38 -38
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +2 -2
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +3 -3
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +16 -12
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +10 -6
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queryClient.js +6 -5
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useOxyAuthSession.js +40 -2
- package/lib/commonjs/ui/hooks/useOxyAuthSession.js.map +1 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js +21 -0
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js +3 -3
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +100 -108
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +227 -273
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +10 -4
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +20 -37
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js +89 -201
- package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +80 -208
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +56 -208
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +303 -352
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +20 -20
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +77 -89
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +43 -58
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +67 -90
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +77 -177
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +113 -107
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +55 -114
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/NotificationsScreen.js +67 -85
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/OxyAuthScreen.js +71 -135
- package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +15 -9
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PreferencesScreen.js +65 -83
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +378 -1023
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +294 -242
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +194 -333
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +57 -97
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +41 -41
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js +17 -24
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +83 -214
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +115 -77
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +70 -57
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +136 -332
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +47 -137
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +182 -115
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +138 -214
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +54 -92
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/commonjs/ui/utils/activeAuthuser.js +15 -9
- package/lib/commonjs/ui/utils/activeAuthuser.js.map +1 -1
- package/lib/commonjs/ui/utils/avatarUtils.js +1 -1
- package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
- package/lib/module/index.js +2 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/components/AccountMenu.js +10 -6
- package/lib/module/ui/components/AccountMenu.js.map +1 -1
- package/lib/module/ui/components/AnotherDeviceQR.js +50 -56
- package/lib/module/ui/components/AnotherDeviceQR.js.map +1 -1
- package/lib/module/ui/components/BottomSheetRouter.js +2 -1
- package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +18 -5
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/OxyLogo.js +1 -1
- package/lib/module/ui/components/OxyLogo.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +23 -7
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +20 -1
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +19 -9
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +4 -2
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +154 -20
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +6 -17
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js +5 -5
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +38 -38
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +2 -2
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/queryKeys.js +3 -3
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js +16 -12
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +9 -6
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/module/ui/hooks/queryClient.js +6 -5
- package/lib/module/ui/hooks/queryClient.js.map +1 -1
- package/lib/module/ui/hooks/useOxyAuthSession.js +40 -2
- package/lib/module/ui/hooks/useOxyAuthSession.js.map +1 -1
- package/lib/module/ui/hooks/useProfileEditing.js +21 -0
- package/lib/module/ui/hooks/useProfileEditing.js.map +1 -1
- package/lib/module/ui/hooks/useSessionManagement.js +4 -3
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +101 -109
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +228 -275
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +10 -4
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js +19 -39
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/module/ui/screens/CreateManagedAccountScreen.js +90 -202
- package/lib/module/ui/screens/CreateManagedAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +77 -205
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +55 -207
- package/lib/module/ui/screens/FAQScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +301 -350
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +20 -20
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +78 -90
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +44 -59
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +68 -91
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +75 -177
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +116 -108
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/ManageAccountScreen.js +52 -112
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/NotificationsScreen.js +68 -86
- package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyAuthScreen.js +69 -134
- package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +16 -10
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PreferencesScreen.js +66 -84
- package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +366 -1012
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +295 -243
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +192 -331
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +58 -98
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +42 -42
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +18 -25
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +81 -212
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +114 -76
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustAboutScreen.js +69 -57
- package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +135 -332
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustFAQScreen.js +48 -138
- package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +184 -117
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js +132 -208
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +58 -94
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/module/ui/utils/activeAuthuser.js +15 -9
- package/lib/module/ui/utils/activeAuthuser.js.map +1 -1
- package/lib/module/ui/utils/avatarUtils.js +1 -1
- package/lib/module/ui/utils/avatarUtils.js.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +2 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/AccountMenu.d.ts +2 -0
- package/lib/typescript/commonjs/ui/components/AccountMenu.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/AnotherDeviceQR.d.ts +12 -2
- package/lib/typescript/commonjs/ui/components/AnotherDeviceQR.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/BottomSheetRouter.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts +3 -2
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +34 -0
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +6 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +3 -3
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useOxyAuthSession.d.ts +22 -0
- package/lib/typescript/commonjs/ui/hooks/useOxyAuthSession.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts +3 -0
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +2 -1
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/CreateManagedAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/NotificationsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/OxyAuthScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PreferencesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/activeAuthuser.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +2 -0
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/AccountMenu.d.ts +2 -0
- package/lib/typescript/module/ui/components/AccountMenu.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/AnotherDeviceQR.d.ts +12 -2
- package/lib/typescript/module/ui/components/AnotherDeviceQR.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/BottomSheetRouter.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts +3 -2
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts +1 -1
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts +34 -0
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +6 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +3 -3
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useOxyAuthSession.d.ts +22 -0
- package/lib/typescript/module/ui/hooks/useOxyAuthSession.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +3 -0
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +2 -1
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/CreateManagedAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/NotificationsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/OxyAuthScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PreferencesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/activeAuthuser.d.ts.map +1 -1
- package/lib/typescript/types/expo-haptics.d.ts +42 -0
- package/package.json +8 -3
- package/src/index.ts +2 -0
- package/src/types/expo-haptics.d.ts +42 -0
- package/src/ui/components/AccountMenu.tsx +11 -5
- package/src/ui/components/AnotherDeviceQR.tsx +53 -45
- package/src/ui/components/BottomSheetRouter.tsx +2 -1
- package/src/ui/components/FollowButton.tsx +24 -5
- package/src/ui/components/OxyLogo.tsx +1 -1
- package/src/ui/components/OxyProvider.tsx +22 -8
- package/src/ui/components/SignInModal.tsx +21 -2
- package/src/ui/components/TouchableRipple/TouchableRipple.native.tsx +1 -1
- package/src/ui/components/fileManagement/FileViewer.tsx +9 -9
- package/src/ui/components/fileManagement/UploadPreview.tsx +2 -2
- package/src/ui/context/OxyContext.tsx +178 -21
- package/src/ui/context/hooks/useAuthOperations.ts +6 -17
- package/src/ui/hooks/mutations/mutationFactory.ts +5 -5
- package/src/ui/hooks/mutations/useAccountMutations.ts +38 -38
- package/src/ui/hooks/mutations/useServicesMutations.ts +2 -2
- package/src/ui/hooks/queries/queryKeys.ts +6 -3
- package/src/ui/hooks/queries/useAccountQueries.ts +1 -1
- package/src/ui/hooks/queries/usePaymentQueries.ts +12 -12
- package/src/ui/hooks/queries/useServicesQueries.ts +9 -6
- package/src/ui/hooks/queryClient.ts +5 -5
- package/src/ui/hooks/useOxyAuthSession.ts +76 -2
- package/src/ui/hooks/useProfileEditing.ts +24 -0
- package/src/ui/hooks/useSessionManagement.ts +9 -6
- package/src/ui/screens/AccountVerificationScreen.tsx +101 -113
- package/src/ui/screens/AppInfoScreen.tsx +200 -238
- package/src/ui/screens/AvatarCropScreen.tsx +17 -4
- package/src/ui/screens/ConnectedAppsScreen.tsx +16 -34
- package/src/ui/screens/CreateManagedAccountScreen.tsx +94 -170
- package/src/ui/screens/EditProfileFieldScreen.tsx +77 -190
- package/src/ui/screens/FAQScreen.tsx +77 -208
- package/src/ui/screens/FeedbackScreen.tsx +330 -239
- package/src/ui/screens/FileManagementScreen.tsx +20 -20
- package/src/ui/screens/HelpSupportScreen.tsx +67 -82
- package/src/ui/screens/HistoryViewScreen.tsx +32 -38
- package/src/ui/screens/LanguageSelectorScreen.tsx +79 -93
- package/src/ui/screens/LearnMoreUsernamesScreen.tsx +81 -164
- package/src/ui/screens/LegalDocumentsScreen.tsx +184 -123
- package/src/ui/screens/ManageAccountScreen.tsx +48 -114
- package/src/ui/screens/NotificationsScreen.tsx +107 -106
- package/src/ui/screens/OxyAuthScreen.tsx +76 -109
- package/src/ui/screens/PaymentGatewayScreen.tsx +16 -7
- package/src/ui/screens/PreferencesScreen.tsx +96 -116
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +419 -872
- package/src/ui/screens/PrivacySettingsScreen.tsx +203 -185
- package/src/ui/screens/ProfileScreen.tsx +162 -246
- package/src/ui/screens/SavesCollectionsScreen.tsx +78 -125
- package/src/ui/screens/SearchSettingsScreen.tsx +52 -41
- package/src/ui/screens/UserLinksScreen.tsx +18 -25
- package/src/ui/screens/UserListScreen.tsx +95 -188
- package/src/ui/screens/WelcomeNewUserScreen.tsx +109 -36
- package/src/ui/screens/trust/TrustAboutScreen.tsx +52 -41
- package/src/ui/screens/trust/TrustCenterScreen.tsx +184 -222
- package/src/ui/screens/trust/TrustFAQScreen.tsx +64 -124
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +190 -67
- package/src/ui/screens/trust/TrustRewardsScreen.tsx +147 -182
- package/src/ui/screens/trust/TrustRulesScreen.tsx +77 -50
- package/src/ui/utils/activeAuthuser.ts +15 -9
- package/src/ui/utils/avatarUtils.ts +1 -1
- package/lib/commonjs/ui/components/feedback/FormInput.js +0 -72
- package/lib/commonjs/ui/components/feedback/FormInput.js.map +0 -1
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js +0 -261
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +0 -1
- package/lib/module/ui/components/feedback/FormInput.js +0 -67
- package/lib/module/ui/components/feedback/FormInput.js.map +0 -1
- package/lib/module/ui/components/feedback/feedbackStyles.js +0 -256
- package/lib/module/ui/components/feedback/feedbackStyles.js.map +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/FormInput.d.ts +0 -20
- package/lib/typescript/commonjs/ui/components/feedback/FormInput.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts +0 -279
- package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/feedback/FormInput.d.ts +0 -20
- package/lib/typescript/module/ui/components/feedback/FormInput.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts +0 -279
- package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts.map +0 -1
- package/src/ui/components/feedback/FormInput.tsx +0 -84
- package/src/ui/components/feedback/feedbackStyles.ts +0 -246
|
@@ -2,7 +2,6 @@ import type React from 'react';
|
|
|
2
2
|
import { useCallback, useMemo, useState } from 'react';
|
|
3
3
|
import {
|
|
4
4
|
View,
|
|
5
|
-
Text,
|
|
6
5
|
ScrollView,
|
|
7
6
|
StyleSheet,
|
|
8
7
|
ActivityIndicator,
|
|
@@ -13,6 +12,7 @@ import {
|
|
|
13
12
|
import { Ionicons } from '@expo/vector-icons';
|
|
14
13
|
import { Dialog, toast, useDialogControl } from '@oxyhq/bloom';
|
|
15
14
|
import { useTheme } from '@oxyhq/bloom/theme';
|
|
15
|
+
import { H4, Text } from '@oxyhq/bloom/typography';
|
|
16
16
|
import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list';
|
|
17
17
|
import {
|
|
18
18
|
getAccountDisplayName,
|
|
@@ -30,10 +30,6 @@ import { useI18n } from '../hooks/useI18n';
|
|
|
30
30
|
import { useCurrentUser } from '../hooks/queries/useAccountQueries';
|
|
31
31
|
import { useUserSubscription } from '../hooks/queries/usePaymentQueries';
|
|
32
32
|
import { useDeviceSessions } from '../hooks/queries/useServicesQueries';
|
|
33
|
-
import { useColorScheme } from '../hooks/useColorScheme';
|
|
34
|
-
import { Colors } from '../constants/theme';
|
|
35
|
-
import { normalizeColorScheme, normalizeTheme } from '@oxyhq/core';
|
|
36
|
-
import { screenContentStyle } from '../constants/spacing';
|
|
37
33
|
|
|
38
34
|
interface DeviceSessionRow {
|
|
39
35
|
sessionId: string;
|
|
@@ -45,6 +41,8 @@ interface DeviceSessionRow {
|
|
|
45
41
|
isCurrent: boolean;
|
|
46
42
|
}
|
|
47
43
|
|
|
44
|
+
const AVATAR_SIZE = 88;
|
|
45
|
+
|
|
48
46
|
const formatRelative = (dateString?: string): string => {
|
|
49
47
|
if (!dateString) {
|
|
50
48
|
return '—';
|
|
@@ -86,15 +84,9 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
86
84
|
onClose,
|
|
87
85
|
goBack,
|
|
88
86
|
navigate,
|
|
89
|
-
theme,
|
|
90
87
|
}) => {
|
|
91
88
|
const bloomTheme = useTheme();
|
|
92
89
|
const { t, locale } = useI18n();
|
|
93
|
-
const colorScheme = useColorScheme();
|
|
94
|
-
const palette = useMemo(
|
|
95
|
-
() => Colors[normalizeColorScheme(colorScheme, normalizeTheme(theme))],
|
|
96
|
-
[colorScheme, theme],
|
|
97
|
-
);
|
|
98
90
|
const {
|
|
99
91
|
user: contextUser,
|
|
100
92
|
isAuthenticated,
|
|
@@ -290,14 +282,14 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
290
282
|
|
|
291
283
|
if (!isAuthenticated) {
|
|
292
284
|
return (
|
|
293
|
-
<View
|
|
285
|
+
<View className="flex-1 bg-bg">
|
|
294
286
|
<Header
|
|
295
287
|
title={t('manageAccount.title') || 'Manage your Oxy Account'}
|
|
296
288
|
onBack={goBack || onClose}
|
|
297
289
|
elevation="subtle"
|
|
298
290
|
/>
|
|
299
291
|
<View style={styles.center}>
|
|
300
|
-
<Text
|
|
292
|
+
<Text className="text-text font-medium text-base">
|
|
301
293
|
{t('common.status.notSignedIn') || 'Not signed in'}
|
|
302
294
|
</Text>
|
|
303
295
|
</View>
|
|
@@ -307,7 +299,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
307
299
|
|
|
308
300
|
if (userLoading && !user) {
|
|
309
301
|
return (
|
|
310
|
-
<View
|
|
302
|
+
<View className="flex-1 bg-bg">
|
|
311
303
|
<Header
|
|
312
304
|
title={t('manageAccount.title') || 'Manage your Oxy Account'}
|
|
313
305
|
onBack={goBack || onClose}
|
|
@@ -324,15 +316,15 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
324
316
|
const otherDevices = deviceRows.filter((d) => !d.isCurrent);
|
|
325
317
|
|
|
326
318
|
return (
|
|
327
|
-
<View
|
|
319
|
+
<View className="flex-1 bg-bg">
|
|
328
320
|
<Header
|
|
329
321
|
title={t('manageAccount.title') || 'Manage your Oxy Account'}
|
|
330
322
|
onBack={goBack || onClose}
|
|
331
323
|
elevation="subtle"
|
|
332
324
|
/>
|
|
333
325
|
<ScrollView
|
|
334
|
-
|
|
335
|
-
|
|
326
|
+
className="flex-1"
|
|
327
|
+
contentContainerClassName="px-screen-margin pb-space-24"
|
|
336
328
|
refreshControl={
|
|
337
329
|
<RefreshControl
|
|
338
330
|
refreshing={deviceSessionsRefetching}
|
|
@@ -342,47 +334,32 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
342
334
|
}
|
|
343
335
|
>
|
|
344
336
|
{/* Profile card */}
|
|
345
|
-
<View
|
|
346
|
-
style={[
|
|
347
|
-
styles.profileCard,
|
|
348
|
-
{ backgroundColor: bloomTheme.colors.card },
|
|
349
|
-
]}
|
|
350
|
-
>
|
|
337
|
+
<View className="items-center bg-fill-secondary rounded-radius-20 px-space-20 py-space-24 mb-space-16">
|
|
351
338
|
<TouchableOpacity
|
|
352
339
|
onPress={openAvatarPicker}
|
|
353
340
|
accessibilityRole="button"
|
|
354
341
|
accessibilityLabel={t('editProfile.changeAvatar') || 'Change avatar'}
|
|
355
342
|
style={styles.avatarTouchable}
|
|
343
|
+
className="mb-space-12"
|
|
356
344
|
>
|
|
357
|
-
<Avatar uri={avatarUri} name={displayName} size={
|
|
345
|
+
<Avatar uri={avatarUri} name={displayName} size={AVATAR_SIZE} />
|
|
358
346
|
<View
|
|
359
|
-
style={
|
|
360
|
-
|
|
361
|
-
{ backgroundColor: bloomTheme.colors.primary },
|
|
362
|
-
]}
|
|
347
|
+
style={styles.avatarBadge}
|
|
348
|
+
className="bg-fill-brand border-border-image"
|
|
363
349
|
>
|
|
364
|
-
<Ionicons name="camera" size={14} color={bloomTheme.colors.
|
|
350
|
+
<Ionicons name="camera" size={14} color={bloomTheme.colors.primaryForeground} />
|
|
365
351
|
</View>
|
|
366
352
|
</TouchableOpacity>
|
|
367
|
-
<
|
|
368
|
-
style={[styles.displayName, { color: bloomTheme.colors.text }]}
|
|
369
|
-
numberOfLines={1}
|
|
370
|
-
>
|
|
353
|
+
<H4 className="text-text" numberOfLines={1}>
|
|
371
354
|
{displayName}
|
|
372
|
-
</
|
|
355
|
+
</H4>
|
|
373
356
|
{handle ? (
|
|
374
|
-
<Text
|
|
375
|
-
style={[styles.handle, { color: bloomTheme.colors.textSecondary }]}
|
|
376
|
-
numberOfLines={1}
|
|
377
|
-
>
|
|
357
|
+
<Text className="text-text-secondary text-sm mt-space-2" numberOfLines={1}>
|
|
378
358
|
{user?.username ? `@${handle}` : handle}
|
|
379
359
|
</Text>
|
|
380
360
|
) : null}
|
|
381
361
|
{user?.email ? (
|
|
382
|
-
<Text
|
|
383
|
-
style={[styles.email, { color: bloomTheme.colors.textSecondary }]}
|
|
384
|
-
numberOfLines={1}
|
|
385
|
-
>
|
|
362
|
+
<Text className="text-text-secondary text-sm mt-space-2" numberOfLines={1}>
|
|
386
363
|
{user.email}
|
|
387
364
|
</Text>
|
|
388
365
|
) : null}
|
|
@@ -394,7 +371,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
394
371
|
icon={
|
|
395
372
|
<SettingsIcon
|
|
396
373
|
name="account-circle"
|
|
397
|
-
color={
|
|
374
|
+
color={bloomTheme.colors.primary}
|
|
398
375
|
/>
|
|
399
376
|
}
|
|
400
377
|
title={t('manageAccount.items.editProfile.title') || 'Edit profile'}
|
|
@@ -410,7 +387,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
410
387
|
icon={
|
|
411
388
|
<SettingsIcon
|
|
412
389
|
name="palette"
|
|
413
|
-
color={
|
|
390
|
+
color={bloomTheme.colors.info}
|
|
414
391
|
/>
|
|
415
392
|
}
|
|
416
393
|
title={t('manageAccount.items.theme.title') || 'Theme color'}
|
|
@@ -426,7 +403,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
426
403
|
icon={
|
|
427
404
|
<SettingsIcon
|
|
428
405
|
name="eye"
|
|
429
|
-
color={
|
|
406
|
+
color={bloomTheme.colors.success}
|
|
430
407
|
/>
|
|
431
408
|
}
|
|
432
409
|
title={t('editProfile.items.previewProfile.title') || 'Preview profile'}
|
|
@@ -443,7 +420,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
443
420
|
icon={
|
|
444
421
|
<SettingsIcon
|
|
445
422
|
name="check-circle"
|
|
446
|
-
color={
|
|
423
|
+
color={bloomTheme.colors.primary}
|
|
447
424
|
/>
|
|
448
425
|
}
|
|
449
426
|
title={
|
|
@@ -581,7 +558,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
581
558
|
icon={
|
|
582
559
|
<SettingsIcon
|
|
583
560
|
name="shield-check"
|
|
584
|
-
color={
|
|
561
|
+
color={bloomTheme.colors.primary}
|
|
585
562
|
/>
|
|
586
563
|
}
|
|
587
564
|
title={
|
|
@@ -597,7 +574,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
597
574
|
icon={
|
|
598
575
|
<SettingsIcon
|
|
599
576
|
name="star"
|
|
600
|
-
color={
|
|
577
|
+
color={bloomTheme.colors.warning}
|
|
601
578
|
/>
|
|
602
579
|
}
|
|
603
580
|
title={
|
|
@@ -615,7 +592,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
615
592
|
icon={
|
|
616
593
|
<SettingsIcon
|
|
617
594
|
name="credit-card"
|
|
618
|
-
color={
|
|
595
|
+
color={bloomTheme.colors.success}
|
|
619
596
|
/>
|
|
620
597
|
}
|
|
621
598
|
title={
|
|
@@ -636,7 +613,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
636
613
|
>
|
|
637
614
|
<SettingsListItem
|
|
638
615
|
icon={
|
|
639
|
-
<SettingsIcon name="clock" color={
|
|
616
|
+
<SettingsIcon name="clock" color={bloomTheme.colors.primary} />
|
|
640
617
|
}
|
|
641
618
|
title={t('accountOverview.items.history.title') || 'History'}
|
|
642
619
|
description={
|
|
@@ -647,7 +624,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
647
624
|
/>
|
|
648
625
|
<SettingsListItem
|
|
649
626
|
icon={
|
|
650
|
-
<SettingsIcon name="bookmark" color={
|
|
627
|
+
<SettingsIcon name="bookmark" color={bloomTheme.colors.info} />
|
|
651
628
|
}
|
|
652
629
|
title={
|
|
653
630
|
t('accountOverview.items.saves.title') || 'Saves & Collections'
|
|
@@ -660,7 +637,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
660
637
|
/>
|
|
661
638
|
<SettingsListItem
|
|
662
639
|
icon={
|
|
663
|
-
<SettingsIcon name="folder" color={
|
|
640
|
+
<SettingsIcon name="folder" color={bloomTheme.colors.info} />
|
|
664
641
|
}
|
|
665
642
|
title={
|
|
666
643
|
t('accountCenter.items.fileManagement.title') || 'Files'
|
|
@@ -675,7 +652,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
675
652
|
icon={
|
|
676
653
|
<SettingsIcon
|
|
677
654
|
name="download"
|
|
678
|
-
color={
|
|
655
|
+
color={bloomTheme.colors.primary}
|
|
679
656
|
/>
|
|
680
657
|
}
|
|
681
658
|
title={
|
|
@@ -702,7 +679,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
702
679
|
icon={
|
|
703
680
|
<SettingsIcon
|
|
704
681
|
name="account-switch"
|
|
705
|
-
color={
|
|
682
|
+
color={bloomTheme.colors.info}
|
|
706
683
|
/>
|
|
707
684
|
}
|
|
708
685
|
title={
|
|
@@ -728,7 +705,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
728
705
|
icon={
|
|
729
706
|
<SettingsIcon
|
|
730
707
|
name="account-plus"
|
|
731
|
-
color={
|
|
708
|
+
color={bloomTheme.colors.primary}
|
|
732
709
|
/>
|
|
733
710
|
}
|
|
734
711
|
title={
|
|
@@ -750,7 +727,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
750
727
|
>
|
|
751
728
|
<SettingsListItem
|
|
752
729
|
icon={
|
|
753
|
-
<SettingsIcon name="cog" color={
|
|
730
|
+
<SettingsIcon name="cog" color={bloomTheme.colors.info} />
|
|
754
731
|
}
|
|
755
732
|
title={t('preferences.title') || 'Preferences'}
|
|
756
733
|
description={
|
|
@@ -761,7 +738,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
761
738
|
/>
|
|
762
739
|
<SettingsListItem
|
|
763
740
|
icon={
|
|
764
|
-
<SettingsIcon name="bell" color={
|
|
741
|
+
<SettingsIcon name="bell" color={bloomTheme.colors.primary} />
|
|
765
742
|
}
|
|
766
743
|
title={t('notifications.title') || 'Notifications'}
|
|
767
744
|
description={
|
|
@@ -772,7 +749,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
772
749
|
/>
|
|
773
750
|
<SettingsListItem
|
|
774
751
|
icon={
|
|
775
|
-
<SettingsIcon name="translate" color={
|
|
752
|
+
<SettingsIcon name="translate" color={bloomTheme.colors.primary} />
|
|
776
753
|
}
|
|
777
754
|
title={t('language.title') || 'Language'}
|
|
778
755
|
description={
|
|
@@ -782,7 +759,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
782
759
|
/>
|
|
783
760
|
<SettingsListItem
|
|
784
761
|
icon={
|
|
785
|
-
<SettingsIcon name="apps" color={
|
|
762
|
+
<SettingsIcon name="apps" color={bloomTheme.colors.info} />
|
|
786
763
|
}
|
|
787
764
|
title={t('connectedApps.title') || 'Connected apps'}
|
|
788
765
|
description={
|
|
@@ -793,7 +770,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
793
770
|
/>
|
|
794
771
|
<SettingsListItem
|
|
795
772
|
icon={
|
|
796
|
-
<SettingsIcon name="magnify" color={
|
|
773
|
+
<SettingsIcon name="magnify" color={bloomTheme.colors.primary} />
|
|
797
774
|
}
|
|
798
775
|
title={
|
|
799
776
|
t('accountOverview.items.searchSettings.title') || 'Search settings'
|
|
@@ -812,7 +789,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
812
789
|
>
|
|
813
790
|
<SettingsListItem
|
|
814
791
|
icon={
|
|
815
|
-
<SettingsIcon name="help-circle" color={
|
|
792
|
+
<SettingsIcon name="help-circle" color={bloomTheme.colors.primary} />
|
|
816
793
|
}
|
|
817
794
|
title={t('accountOverview.items.help.title') || 'Help & support'}
|
|
818
795
|
description={
|
|
@@ -825,7 +802,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
825
802
|
icon={
|
|
826
803
|
<SettingsIcon
|
|
827
804
|
name="message-text"
|
|
828
|
-
color={
|
|
805
|
+
color={bloomTheme.colors.info}
|
|
829
806
|
/>
|
|
830
807
|
}
|
|
831
808
|
title={t('feedback.title') || 'Send feedback'}
|
|
@@ -836,7 +813,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
836
813
|
/>
|
|
837
814
|
<SettingsListItem
|
|
838
815
|
icon={
|
|
839
|
-
<SettingsIcon name="information" color={
|
|
816
|
+
<SettingsIcon name="information" color={bloomTheme.colors.success} />
|
|
840
817
|
}
|
|
841
818
|
title={t('accountOverview.items.about.title') || 'About'}
|
|
842
819
|
description={
|
|
@@ -855,7 +832,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
855
832
|
icon={
|
|
856
833
|
<SettingsIcon
|
|
857
834
|
name="shield-check"
|
|
858
|
-
color={
|
|
835
|
+
color={bloomTheme.colors.primary}
|
|
859
836
|
/>
|
|
860
837
|
}
|
|
861
838
|
title={
|
|
@@ -871,7 +848,7 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
871
848
|
icon={
|
|
872
849
|
<SettingsIcon
|
|
873
850
|
name="file-document"
|
|
874
|
-
color={
|
|
851
|
+
color={bloomTheme.colors.primary}
|
|
875
852
|
/>
|
|
876
853
|
}
|
|
877
854
|
title={
|
|
@@ -930,13 +907,8 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
930
907
|
/>
|
|
931
908
|
</SettingsListGroup>
|
|
932
909
|
|
|
933
|
-
<View
|
|
934
|
-
<Text
|
|
935
|
-
style={[
|
|
936
|
-
styles.versionText,
|
|
937
|
-
{ color: bloomTheme.colors.textTertiary },
|
|
938
|
-
]}
|
|
939
|
-
>
|
|
910
|
+
<View className="items-center mt-space-12 mb-space-8">
|
|
911
|
+
<Text className="text-text-tertiary text-xs">
|
|
940
912
|
{t('accountCenter.version', { version: packageInfo.version })
|
|
941
913
|
|| `Version ${packageInfo.version}`}
|
|
942
914
|
</Text>
|
|
@@ -1032,35 +1004,18 @@ const ManageAccountScreen: React.FC<BaseScreenProps> = ({
|
|
|
1032
1004
|
);
|
|
1033
1005
|
};
|
|
1034
1006
|
|
|
1007
|
+
// Layout-only styles: flex centering, the absolutely-positioned avatar badge,
|
|
1008
|
+
// and measured pixel dimensions that no token class can express. Colors,
|
|
1009
|
+
// spacing, radius, and typography roles live on Bloom components + NativeWind
|
|
1010
|
+
// token classes.
|
|
1035
1011
|
const styles = StyleSheet.create({
|
|
1036
|
-
container: {
|
|
1037
|
-
flex: 1,
|
|
1038
|
-
},
|
|
1039
1012
|
center: {
|
|
1040
1013
|
flex: 1,
|
|
1041
1014
|
alignItems: 'center',
|
|
1042
1015
|
justifyContent: 'center',
|
|
1043
1016
|
},
|
|
1044
|
-
notSignedIn: {
|
|
1045
|
-
fontSize: 16,
|
|
1046
|
-
},
|
|
1047
|
-
scroll: {
|
|
1048
|
-
flex: 1,
|
|
1049
|
-
},
|
|
1050
|
-
scrollContent: {
|
|
1051
|
-
...screenContentStyle,
|
|
1052
|
-
paddingTop: 0,
|
|
1053
|
-
},
|
|
1054
|
-
profileCard: {
|
|
1055
|
-
alignItems: 'center',
|
|
1056
|
-
paddingVertical: 24,
|
|
1057
|
-
paddingHorizontal: 20,
|
|
1058
|
-
borderRadius: 24,
|
|
1059
|
-
marginBottom: 16,
|
|
1060
|
-
},
|
|
1061
1017
|
avatarTouchable: {
|
|
1062
1018
|
position: 'relative',
|
|
1063
|
-
marginBottom: 12,
|
|
1064
1019
|
},
|
|
1065
1020
|
avatarBadge: {
|
|
1066
1021
|
position: 'absolute',
|
|
@@ -1072,31 +1027,10 @@ const styles = StyleSheet.create({
|
|
|
1072
1027
|
alignItems: 'center',
|
|
1073
1028
|
justifyContent: 'center',
|
|
1074
1029
|
borderWidth: 2,
|
|
1075
|
-
borderColor: '#fff',
|
|
1076
|
-
},
|
|
1077
|
-
displayName: {
|
|
1078
|
-
fontSize: 22,
|
|
1079
|
-
fontWeight: '700',
|
|
1080
|
-
marginBottom: 4,
|
|
1081
|
-
},
|
|
1082
|
-
handle: {
|
|
1083
|
-
fontSize: 14,
|
|
1084
|
-
marginBottom: 2,
|
|
1085
|
-
},
|
|
1086
|
-
email: {
|
|
1087
|
-
fontSize: 14,
|
|
1088
1030
|
},
|
|
1089
1031
|
footerSpacer: {
|
|
1090
1032
|
height: 24,
|
|
1091
1033
|
},
|
|
1092
|
-
versionContainer: {
|
|
1093
|
-
alignItems: 'center',
|
|
1094
|
-
marginTop: 12,
|
|
1095
|
-
marginBottom: 8,
|
|
1096
|
-
},
|
|
1097
|
-
versionText: {
|
|
1098
|
-
fontSize: 12,
|
|
1099
|
-
},
|
|
1100
1034
|
});
|
|
1101
1035
|
|
|
1102
1036
|
export default ManageAccountScreen;
|