@oxy.so/services 11.13.0 → 11.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/assets/fonts/icons/manifest.json +9 -9
- package/lib/commonjs/assets/assets/one/README.md +8 -0
- package/lib/commonjs/assets/assets/one/floral.jpg +0 -0
- package/lib/commonjs/assets/assets/one/floral.jpg.d.ts +2 -0
- package/lib/commonjs/assets/assets/one/floral.mp4 +0 -0
- package/lib/commonjs/assets/assets/one/floral.mp4.d.ts +2 -0
- package/lib/commonjs/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/commonjs/assets/fonts/icons/manifest.json +9 -9
- package/lib/commonjs/assets/one/README.md +8 -0
- package/lib/commonjs/assets/one/floral.jpg +0 -0
- package/lib/commonjs/assets/one/floral.mp4 +0 -0
- package/lib/commonjs/index.js +3 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/AccountInvitationAcceptance.js +2 -2
- package/lib/commonjs/ui/components/AccountInvitationAcceptance.js.map +1 -1
- package/lib/commonjs/ui/components/BloomLocaleBridge.js +2 -2
- package/lib/commonjs/ui/components/BloomLocaleBridge.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +2 -2
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/LanguageBridge.js +2 -2
- package/lib/commonjs/ui/components/LanguageBridge.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js +5 -18
- package/lib/commonjs/ui/components/OxyAccountDialogScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAuthChooser.js +30 -25
- package/lib/commonjs/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/commonjs/ui/components/OxyConsentScreen.js +6 -30
- package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxyOAuthCallback.js +2 -1
- package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +36 -6
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +2 -2
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileButton.js +7 -5
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileSummaryCard.js +24 -57
- package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -1
- package/lib/commonjs/ui/components/RequireOxyAuth.js +17 -43
- package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/commonjs/ui/components/SettingsIcon.js +14 -25
- package/lib/commonjs/ui/components/SettingsIcon.js.map +1 -1
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js +1 -1
- package/lib/commonjs/ui/components/SurfaceScreen.js +38 -47
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +232 -472
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/storageUsage.js +62 -0
- package/lib/commonjs/ui/components/authChooser/storageUsage.js.map +1 -0
- package/lib/commonjs/ui/components/authChooser/styles.js +21 -70
- package/lib/commonjs/ui/components/authChooser/styles.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/types.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +6 -5
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +25 -25
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js +4 -4
- package/lib/commonjs/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationClaims.js +2 -2
- package/lib/commonjs/ui/components/organizations/OrganizationClaims.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js +2 -2
- package/lib/commonjs/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
- package/lib/commonjs/ui/components/organizations/OrganizationSettings.js +3 -3
- package/lib/commonjs/ui/components/organizations/OrganizationSettings.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +16 -50
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +3 -3
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +10 -12
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +3 -3
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js +13 -6
- package/lib/commonjs/ui/components/signIn/InlineCommonsQr.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js +53 -112
- package/lib/commonjs/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyEmailAccountChoice.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyEmailAccountChoice.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js +2 -2
- package/lib/commonjs/ui/components/signIn/OxySignUpPanel.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/ReauthStep.js +31 -13
- package/lib/commonjs/ui/components/signIn/ReauthStep.js.map +1 -1
- package/lib/commonjs/ui/components/signIn/accountFlowParts.js +2 -2
- package/lib/commonjs/ui/components/signIn/accountFlowParts.js.map +1 -1
- package/lib/commonjs/ui/components/supervision/PersonPicker.js +2 -2
- package/lib/commonjs/ui/components/supervision/PersonPicker.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +32 -58
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/oxyRuntimeContext.js +57 -0
- package/lib/commonjs/ui/context/oxyRuntimeContext.js.map +1 -0
- package/lib/commonjs/ui/context/oxySupportContext.js +10 -0
- package/lib/commonjs/ui/context/oxySupportContext.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +10 -10
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +6 -6
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +13 -10
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js +3 -3
- package/lib/commonjs/ui/hooks/queries/useAuthMethods.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js +3 -3
- package/lib/commonjs/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +5 -5
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js +3 -3
- package/lib/commonjs/ui/hooks/queries/usePersonalPlans.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +4 -4
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +7 -7
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSupervision.js +2 -2
- package/lib/commonjs/ui/hooks/queries/useSupervision.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAuth.js +2 -2
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js +2 -2
- package/lib/commonjs/ui/hooks/useDeviceSwitcher.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDisplayCurrency.js +2 -2
- package/lib/commonjs/ui/hooks/useDisplayCurrency.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.js +3 -3
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollowTarget.js +2 -2
- package/lib/commonjs/ui/hooks/useFollowTarget.js.map +1 -1
- package/lib/commonjs/ui/hooks/useI18n.js +2 -2
- package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +33 -18
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useOxyEvent.js +2 -2
- package/lib/commonjs/ui/hooks/useOxyEvent.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js +40 -2
- package/lib/commonjs/ui/hooks/useSurfaceHeader.js.map +1 -1
- package/lib/commonjs/ui/hooks/useUsernameAvailability.js +60 -0
- package/lib/commonjs/ui/hooks/useUsernameAvailability.js.map +1 -0
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js +4 -4
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/commonjs/ui/index.js +37 -0
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/navigation/accountDialogManager.js +2 -0
- package/lib/commonjs/ui/navigation/accountDialogManager.js.map +1 -1
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +2 -2
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/commonjs/ui/navigation/routes.js +27 -101
- package/lib/commonjs/ui/navigation/routes.js.map +1 -1
- package/lib/commonjs/ui/navigation/screenComponents.js +101 -0
- package/lib/commonjs/ui/navigation/screenComponents.js.map +1 -0
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js +1 -1
- package/lib/commonjs/ui/navigation/surfaceBackBridge.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaceNavStack.js +25 -6
- package/lib/commonjs/ui/navigation/surfaceNavStack.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaceRegistry.js +4 -0
- package/lib/commonjs/ui/navigation/surfaceRegistry.js.map +1 -1
- package/lib/commonjs/ui/navigation/surfaces.js +19 -7
- package/lib/commonjs/ui/navigation/surfaces.js.map +1 -1
- package/lib/commonjs/ui/one-video.js +50 -0
- package/lib/commonjs/ui/one-video.js.map +1 -0
- package/lib/commonjs/ui/runtime/createOxyRuntime.js +7 -1
- package/lib/commonjs/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +7 -6
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +10 -10
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +2 -2
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +36 -35
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +35 -64
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js +8 -8
- package/lib/commonjs/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +13 -14
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CreateAccountScreen.js +10 -10
- package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/DomainsScreen.js +7 -14
- package/lib/commonjs/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +137 -285
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileScreen.js +19 -16
- package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +38 -189
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileTrashScreen.js +2 -2
- package/lib/commonjs/ui/screens/FileTrashScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +74 -62
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +9 -14
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +35 -36
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +9 -17
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +319 -328
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/NotificationsScreen.js +10 -10
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/OxyOneScreen.js +213 -0
- package/lib/commonjs/ui/screens/OxyOneScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/PreferencesScreen.js +12 -12
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +64 -87
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +309 -233
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ReportBugScreen.js +72 -0
- package/lib/commonjs/ui/screens/ReportBugScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +32 -61
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SupervisionScreen.js +4 -4
- package/lib/commonjs/ui/screens/SupervisionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +66 -58
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +2 -2
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +6 -5
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +17 -82
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +3 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/commonjs/ui/screens/index.js +7 -0
- package/lib/commonjs/ui/screens/index.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +12 -22
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +37 -67
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +20 -8
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +6 -10
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/module/assets/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/assets/fonts/icons/manifest.json +9 -9
- package/lib/module/assets/assets/one/README.md +8 -0
- package/lib/module/assets/assets/one/floral.jpg +0 -0
- package/lib/module/assets/assets/one/floral.jpg.d.ts +2 -0
- package/lib/module/assets/assets/one/floral.mp4 +0 -0
- package/lib/module/assets/assets/one/floral.mp4.d.ts +2 -0
- package/lib/module/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/lib/module/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/lib/module/assets/fonts/icons/manifest.json +9 -9
- package/lib/module/assets/one/README.md +8 -0
- package/lib/module/assets/one/floral.jpg +0 -0
- package/lib/module/assets/one/floral.mp4 +0 -0
- package/lib/module/index.js +3 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/client.js +2 -3
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/AccountInvitationAcceptance.js +1 -1
- package/lib/module/ui/components/AccountInvitationAcceptance.js.map +1 -1
- package/lib/module/ui/components/BloomLocaleBridge.js +1 -1
- package/lib/module/ui/components/BloomLocaleBridge.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +1 -1
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/LanguageBridge.js +1 -1
- package/lib/module/ui/components/LanguageBridge.js.map +1 -1
- package/lib/module/ui/components/OxyAccountDialogScreen.js +4 -17
- package/lib/module/ui/components/OxyAccountDialogScreen.js.map +1 -1
- package/lib/module/ui/components/OxyAuthChooser.js +29 -24
- package/lib/module/ui/components/OxyAuthChooser.js.map +1 -1
- package/lib/module/ui/components/OxyConsentScreen.js +8 -32
- package/lib/module/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/module/ui/components/OxyOAuthCallback.js +3 -2
- package/lib/module/ui/components/OxyOAuthCallback.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +38 -6
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +1 -1
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/ProfileButton.js +6 -4
- package/lib/module/ui/components/ProfileButton.js.map +1 -1
- package/lib/module/ui/components/ProfileSummaryCard.js +24 -57
- package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -1
- package/lib/module/ui/components/RequireOxyAuth.js +17 -43
- package/lib/module/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/module/ui/components/SettingsIcon.js +14 -25
- package/lib/module/ui/components/SettingsIcon.js.map +1 -1
- package/lib/module/ui/components/SurfaceHeaderAction.js +1 -1
- package/lib/module/ui/components/SurfaceScreen.js +39 -48
- package/lib/module/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +237 -475
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/module/ui/components/authChooser/storageUsage.js +56 -0
- package/lib/module/ui/components/authChooser/storageUsage.js.map +1 -0
- package/lib/module/ui/components/authChooser/styles.js +21 -70
- package/lib/module/ui/components/authChooser/styles.js.map +1 -1
- package/lib/module/ui/components/authChooser/types.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +7 -6
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +26 -26
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaimReview.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaimReview.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaims.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationClaims.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationDirectorySearch.js.map +1 -1
- package/lib/module/ui/components/organizations/OrganizationSettings.js +1 -1
- package/lib/module/ui/components/organizations/OrganizationSettings.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +17 -51
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +3 -3
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +11 -13
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +3 -3
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/module/ui/components/signIn/InlineCommonsQr.js +14 -7
- package/lib/module/ui/components/signIn/InlineCommonsQr.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAccountPicker.js +54 -113
- package/lib/module/ui/components/signIn/OxyAccountPicker.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyAuthenticatorPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyDeleteAccountPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyEmailAccountChoice.js +1 -1
- package/lib/module/ui/components/signIn/OxyEmailAccountChoice.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyLinkCommonsPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxyPasswordPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignInPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxySignInPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/OxySignUpPanel.js +1 -1
- package/lib/module/ui/components/signIn/OxySignUpPanel.js.map +1 -1
- package/lib/module/ui/components/signIn/ReauthStep.js +30 -12
- package/lib/module/ui/components/signIn/ReauthStep.js.map +1 -1
- package/lib/module/ui/components/signIn/accountFlowParts.js +1 -1
- package/lib/module/ui/components/signIn/accountFlowParts.js.map +1 -1
- package/lib/module/ui/components/supervision/PersonPicker.js +1 -1
- package/lib/module/ui/components/supervision/PersonPicker.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +7 -51
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/oxyRuntimeContext.js +49 -0
- package/lib/module/ui/context/oxyRuntimeContext.js.map +1 -0
- package/lib/module/ui/context/oxySupportContext.js +7 -0
- package/lib/module/ui/context/oxySupportContext.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +1 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +5 -2
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAuthMethods.js +1 -1
- package/lib/module/ui/hooks/queries/useAuthMethods.js.map +1 -1
- package/lib/module/ui/hooks/queries/useFileQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useFileQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePersonalPlans.js +1 -1
- package/lib/module/ui/hooks/queries/usePersonalPlans.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSupervision.js +1 -1
- package/lib/module/ui/hooks/queries/useSupervision.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js +1 -1
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useDeviceSwitcher.js +1 -1
- package/lib/module/ui/hooks/useDeviceSwitcher.js.map +1 -1
- package/lib/module/ui/hooks/useDisplayCurrency.js +1 -1
- package/lib/module/ui/hooks/useDisplayCurrency.js.map +1 -1
- package/lib/module/ui/hooks/useFollow.js +1 -1
- package/lib/module/ui/hooks/useFollow.js.map +1 -1
- package/lib/module/ui/hooks/useFollowTarget.js +1 -1
- package/lib/module/ui/hooks/useFollowTarget.js.map +1 -1
- package/lib/module/ui/hooks/useI18n.js +1 -1
- package/lib/module/ui/hooks/useI18n.js.map +1 -1
- package/lib/module/ui/hooks/useLanguageManagement.js +34 -19
- package/lib/module/ui/hooks/useLanguageManagement.js.map +1 -1
- package/lib/module/ui/hooks/useOxyEvent.js +1 -1
- package/lib/module/ui/hooks/useOxyEvent.js.map +1 -1
- package/lib/module/ui/hooks/useSurfaceHeader.js +41 -3
- package/lib/module/ui/hooks/useSurfaceHeader.js.map +1 -1
- package/lib/module/ui/hooks/useUsernameAvailability.js +56 -0
- package/lib/module/ui/hooks/useUsernameAvailability.js.map +1 -0
- package/lib/module/ui/icons/subsetGlyphMaps.js +4 -4
- package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/module/ui/index.js +4 -0
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/navigation/accountDialogManager.js +2 -0
- package/lib/module/ui/navigation/accountDialogManager.js.map +1 -1
- package/lib/module/ui/navigation/bottomSheetManager.js +3 -3
- package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/module/ui/navigation/routes.js +24 -102
- package/lib/module/ui/navigation/routes.js.map +1 -1
- package/lib/module/ui/navigation/screenComponents.js +96 -0
- package/lib/module/ui/navigation/screenComponents.js.map +1 -0
- package/lib/module/ui/navigation/surfaceBackBridge.js +1 -1
- package/lib/module/ui/navigation/surfaceBackBridge.js.map +1 -1
- package/lib/module/ui/navigation/surfaceNavStack.js +25 -6
- package/lib/module/ui/navigation/surfaceNavStack.js.map +1 -1
- package/lib/module/ui/navigation/surfaceRegistry.js +4 -0
- package/lib/module/ui/navigation/surfaceRegistry.js.map +1 -1
- package/lib/module/ui/navigation/surfaces.js +19 -7
- package/lib/module/ui/navigation/surfaces.js.map +1 -1
- package/lib/module/ui/one-video.js +45 -0
- package/lib/module/ui/one-video.js.map +1 -0
- package/lib/module/ui/runtime/createOxyRuntime.js +7 -1
- package/lib/module/ui/runtime/createOxyRuntime.js.map +1 -1
- package/lib/module/ui/screens/AccountMembersScreen.js +7 -6
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +10 -10
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +36 -35
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +35 -64
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/module/ui/screens/ChangeAvatarScreen.js +7 -7
- package/lib/module/ui/screens/ChangeAvatarScreen.js.map +1 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js +13 -14
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/module/ui/screens/CreateAccountScreen.js +9 -9
- package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/DomainsScreen.js +6 -13
- package/lib/module/ui/screens/DomainsScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +138 -287
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileScreen.js +18 -15
- package/lib/module/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +38 -189
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/FileTrashScreen.js +1 -1
- package/lib/module/ui/screens/FileTrashScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +76 -64
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +8 -13
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +34 -35
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +9 -17
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/ManageAccountScreen.js +319 -328
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/NotificationsScreen.js +9 -9
- package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyOneScreen.js +208 -0
- package/lib/module/ui/screens/OxyOneScreen.js.map +1 -0
- package/lib/module/ui/screens/PreferencesScreen.js +11 -11
- package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +64 -87
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +310 -235
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/ReportBugScreen.js +68 -0
- package/lib/module/ui/screens/ReportBugScreen.js.map +1 -0
- package/lib/module/ui/screens/SearchSettingsScreen.js +33 -62
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SupervisionScreen.js +1 -1
- package/lib/module/ui/screens/SupervisionScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +67 -59
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileListSection.js +7 -6
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +19 -84
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js +3 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/module/ui/screens/index.js +1 -0
- package/lib/module/ui/screens/index.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +11 -21
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +37 -67
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js +20 -8
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +5 -9
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/typescript/assets/one/floral.jpg.d.ts +2 -0
- package/lib/typescript/assets/one/floral.mp4.d.ts +2 -0
- package/lib/typescript/commonjs/index.d.ts +1 -1
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/client.d.ts +1 -2
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyConsentScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +3 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +4 -13
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/RequireOxyAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts +0 -4
- package/lib/typescript/commonjs/ui/components/SettingsIcon.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts +8 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts +2 -29
- package/lib/typescript/commonjs/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/storageUsage.d.ts +11 -0
- package/lib/typescript/commonjs/ui/components/authChooser/storageUsage.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts +24 -73
- package/lib/typescript/commonjs/ui/components/authChooser/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts +6 -6
- package/lib/typescript/commonjs/ui/components/authChooser/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +22 -22
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/signIn/ReauthStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +2 -28
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +1 -0
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyRuntimeContext.d.ts +31 -0
- package/lib/typescript/commonjs/ui/context/oxyRuntimeContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/oxySupportContext.d.ts +9 -0
- package/lib/typescript/commonjs/ui/context/oxySupportContext.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts +4 -2
- package/lib/typescript/commonjs/ui/hooks/useLanguageManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSurfaceHeader.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useUsernameAvailability.d.ts +9 -0
- package/lib/typescript/commonjs/ui/hooks/useUsernameAvailability.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts +1 -1
- package/lib/typescript/commonjs/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts +1 -1
- package/lib/typescript/commonjs/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts +4 -4
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +15 -1
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts +10 -18
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/screenComponents.d.ts +4 -0
- package/lib/typescript/commonjs/ui/navigation/screenComponents.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts +3 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceNavStack.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts +6 -1
- package/lib/typescript/commonjs/ui/navigation/surfaceRegistry.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts +1 -1
- package/lib/typescript/commonjs/ui/navigation/surfaces.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/one-video.d.ts +3 -0
- package/lib/typescript/commonjs/ui/one-video.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/runtime/createOxyRuntime.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/DomainsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.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/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts +4 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/OxyOneScreen.d.ts +4 -0
- package/lib/typescript/commonjs/ui/screens/OxyOneScreen.d.ts.map +1 -0
- 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/ReportBugScreen.d.ts +2 -0
- package/lib/typescript/commonjs/ui/screens/ReportBugScreen.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts +1 -5
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/index.d.ts +1 -0
- package/lib/typescript/commonjs/ui/screens/index.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/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/types/navigation.d.ts +12 -0
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +1 -1
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/client.d.ts +1 -2
- package/lib/typescript/module/ui/client.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAccountDialogScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAuthChooser.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyConsentScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts +3 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +4 -13
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/RequireOxyAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts +0 -4
- package/lib/typescript/module/ui/components/SettingsIcon.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +1 -1
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts +8 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts +2 -29
- package/lib/typescript/module/ui/components/authChooser/AccountsMenuView.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/storageUsage.d.ts +11 -0
- package/lib/typescript/module/ui/components/authChooser/storageUsage.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts +24 -73
- package/lib/typescript/module/ui/components/authChooser/styles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/authChooser/types.d.ts +6 -6
- package/lib/typescript/module/ui/components/authChooser/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +22 -22
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/OxyAccountPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/signIn/ReauthStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts +2 -28
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +1 -0
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyRuntimeContext.d.ts +31 -0
- package/lib/typescript/module/ui/context/oxyRuntimeContext.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/oxySupportContext.d.ts +9 -0
- package/lib/typescript/module/ui/context/oxySupportContext.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/usePersonalPlans.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts +4 -2
- package/lib/typescript/module/ui/hooks/useLanguageManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useSurfaceHeader.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useUsernameAvailability.d.ts +9 -0
- package/lib/typescript/module/ui/hooks/useUsernameAvailability.d.ts.map +1 -0
- package/lib/typescript/module/ui/icons/Ionicons.d.ts +1 -1
- package/lib/typescript/module/ui/icons/Ionicons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts +1 -1
- package/lib/typescript/module/ui/icons/MaterialCommunityIcons.d.ts.map +1 -1
- package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts +4 -4
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +15 -1
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/routes.d.ts +10 -18
- package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/screenComponents.d.ts +4 -0
- package/lib/typescript/module/ui/navigation/screenComponents.d.ts.map +1 -0
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts +3 -1
- package/lib/typescript/module/ui/navigation/surfaceNavStack.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts +6 -1
- package/lib/typescript/module/ui/navigation/surfaceRegistry.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/surfaces.d.ts +1 -1
- package/lib/typescript/module/ui/navigation/surfaces.d.ts.map +1 -1
- package/lib/typescript/module/ui/one-video.d.ts +3 -0
- package/lib/typescript/module/ui/one-video.d.ts.map +1 -0
- package/lib/typescript/module/ui/runtime/createOxyRuntime.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/DomainsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.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/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts +4 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/OxyOneScreen.d.ts +4 -0
- package/lib/typescript/module/ui/screens/OxyOneScreen.d.ts.map +1 -0
- 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/ReportBugScreen.d.ts +2 -0
- package/lib/typescript/module/ui/screens/ReportBugScreen.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts +1 -5
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/index.d.ts +1 -0
- package/lib/typescript/module/ui/screens/index.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/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/types/navigation.d.ts +12 -0
- package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/types/assets.d.ts +10 -0
- package/package.json +64 -48
- package/plugins/withOxySharedPermissions.js +2 -1
- package/plugins/withSharedDeviceSessionProvider.js +2 -1
- package/src/assets/fonts/icons/OxyServicesIonicons.ttf +0 -0
- package/src/assets/fonts/icons/OxyServicesMaterialCommunityIcons.ttf +0 -0
- package/src/assets/fonts/icons/manifest.json +9 -9
- package/src/assets/one/README.md +8 -0
- package/src/assets/one/floral.jpg +0 -0
- package/src/assets/one/floral.jpg.d.ts +2 -0
- package/src/assets/one/floral.mp4 +0 -0
- package/src/assets/one/floral.mp4.d.ts +2 -0
- package/src/index.ts +9 -1
- package/src/types/assets.d.ts +10 -0
- package/src/ui/client.ts +2 -3
- package/src/ui/components/AccountInvitationAcceptance.tsx +1 -1
- package/src/ui/components/BloomLocaleBridge.tsx +1 -1
- package/src/ui/components/FollowButton.tsx +1 -1
- package/src/ui/components/LanguageBridge.tsx +1 -1
- package/src/ui/components/OxyAccountDialogScreen.tsx +3 -14
- package/src/ui/components/OxyAuthChooser.tsx +28 -24
- package/src/ui/components/OxyConsentScreen.tsx +8 -25
- package/src/ui/components/OxyOAuthCallback.tsx +3 -2
- package/src/ui/components/OxyProvider.tsx +34 -8
- package/src/ui/components/OxySignInButton.tsx +1 -1
- package/src/ui/components/ProfileButton.tsx +17 -4
- package/src/ui/components/ProfileSummaryCard.tsx +27 -68
- package/src/ui/components/RequireOxyAuth.tsx +16 -38
- package/src/ui/components/SettingsIcon.tsx +8 -33
- package/src/ui/components/SurfaceHeaderAction.tsx +1 -1
- package/src/ui/components/SurfaceScreen.tsx +56 -49
- package/src/ui/components/__tests__/AccountInvitationAcceptance.test.tsx +1 -1
- package/src/ui/components/__tests__/BloomLocaleBridge.test.tsx +1 -1
- package/src/ui/components/__tests__/LanguageBridge.test.tsx +1 -1
- package/src/ui/components/__tests__/followButtonAccessibility.test.tsx +1 -1
- package/src/ui/components/authChooser/AccountsMenuView.tsx +271 -521
- package/src/ui/components/authChooser/storageUsage.ts +75 -0
- package/src/ui/components/authChooser/styles.ts +14 -76
- package/src/ui/components/authChooser/types.ts +6 -6
- package/src/ui/components/fileManagement/FileViewer.tsx +7 -6
- package/src/ui/components/modals/DeleteAccountModal.tsx +25 -24
- package/src/ui/components/organizations/OrganizationClaimReview.tsx +1 -1
- package/src/ui/components/organizations/OrganizationClaims.tsx +1 -1
- package/src/ui/components/organizations/OrganizationDirectorySearch.tsx +1 -1
- package/src/ui/components/organizations/OrganizationSettings.tsx +1 -1
- package/src/ui/components/payment/PaymentDetailsStep.tsx +13 -51
- package/src/ui/components/payment/PaymentMethodStep.tsx +4 -4
- package/src/ui/components/payment/PaymentReviewStep.tsx +12 -17
- package/src/ui/components/payment/PaymentSummaryStep.tsx +4 -4
- package/src/ui/components/signIn/InlineCommonsQr.tsx +9 -4
- package/src/ui/components/signIn/OxyAccountPicker.tsx +42 -93
- package/src/ui/components/signIn/OxyAuthenticatorPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyDeleteAccountPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyEmailAccountChoice.tsx +1 -1
- package/src/ui/components/signIn/OxyLinkCommonsPanel.tsx +1 -1
- package/src/ui/components/signIn/OxyPasswordPanel.tsx +1 -1
- package/src/ui/components/signIn/OxySignInPanel.tsx +1 -1
- package/src/ui/components/signIn/OxySignUpPanel.tsx +1 -1
- package/src/ui/components/signIn/ReauthStep.tsx +26 -16
- package/src/ui/components/signIn/accountFlowParts.tsx +1 -1
- package/src/ui/components/supervision/PersonPicker.tsx +1 -1
- package/src/ui/context/OxyContext.tsx +15 -79
- package/src/ui/context/oxyContextTypes.ts +1 -0
- package/src/ui/context/oxyRuntimeContext.ts +69 -0
- package/src/ui/context/oxySupportContext.ts +9 -0
- package/src/ui/hooks/mutations/useAccountMutations.ts +1 -1
- package/src/ui/hooks/mutations/useServicesMutations.ts +1 -1
- package/src/ui/hooks/queries/useAccountQueries.ts +4 -2
- package/src/ui/hooks/queries/useAuthMethods.ts +1 -1
- package/src/ui/hooks/queries/useFileQueries.ts +1 -1
- package/src/ui/hooks/queries/usePaymentQueries.ts +1 -1
- package/src/ui/hooks/queries/usePersonalPlans.ts +1 -1
- package/src/ui/hooks/queries/useSecurityQueries.ts +1 -1
- package/src/ui/hooks/queries/useServicesQueries.ts +1 -1
- package/src/ui/hooks/queries/useSupervision.ts +1 -1
- package/src/ui/hooks/useAuth.ts +1 -1
- package/src/ui/hooks/useDeviceSwitcher.ts +1 -1
- package/src/ui/hooks/useDisplayCurrency.ts +1 -1
- package/src/ui/hooks/useFollow.ts +1 -1
- package/src/ui/hooks/useFollowTarget.ts +1 -1
- package/src/ui/hooks/useI18n.ts +1 -1
- package/src/ui/hooks/useLanguageManagement.ts +48 -23
- package/src/ui/hooks/useOxyEvent.ts +1 -1
- package/src/ui/hooks/useSurfaceHeader.ts +50 -2
- package/src/ui/hooks/useUsernameAvailability.ts +57 -0
- package/src/ui/icons/subsetGlyphMaps.ts +4 -4
- package/src/ui/index.ts +5 -0
- package/src/ui/navigation/__tests__/bottomSheetManager.test.ts +37 -0
- package/src/ui/navigation/__tests__/surfaceNavStack.test.ts +27 -0
- package/src/ui/navigation/accountDialogManager.ts +16 -1
- package/src/ui/navigation/bottomSheetManager.ts +3 -3
- package/src/ui/navigation/routes.ts +75 -103
- package/src/ui/navigation/screenComponents.ts +96 -0
- package/src/ui/navigation/surfaceBackBridge.ts +1 -1
- package/src/ui/navigation/surfaceNavStack.ts +33 -6
- package/src/ui/navigation/surfaceRegistry.ts +7 -1
- package/src/ui/navigation/surfaces.ts +30 -15
- package/src/ui/one-video.tsx +44 -0
- package/src/ui/runtime/createOxyRuntime.ts +7 -1
- package/src/ui/screens/AccountMembersScreen.tsx +6 -6
- package/src/ui/screens/AccountSettingsScreen.tsx +14 -14
- package/src/ui/screens/AccountVerificationScreen.tsx +1 -1
- package/src/ui/screens/AppInfoScreen.tsx +41 -42
- package/src/ui/screens/AvatarCropScreen.tsx +33 -57
- package/src/ui/screens/ChangeAvatarScreen.tsx +8 -8
- package/src/ui/screens/ConnectedAppsScreen.tsx +14 -16
- package/src/ui/screens/CreateAccountScreen.tsx +13 -13
- package/src/ui/screens/DomainsScreen.tsx +9 -14
- package/src/ui/screens/EditProfileFieldScreen.tsx +189 -282
- package/src/ui/screens/EditProfileScreen.tsx +21 -18
- package/src/ui/screens/FileManagementScreen.tsx +52 -209
- package/src/ui/screens/FileTrashScreen.tsx +3 -3
- package/src/ui/screens/HelpSupportScreen.tsx +59 -53
- package/src/ui/screens/HistoryViewScreen.tsx +10 -17
- package/src/ui/screens/LanguageSelectorScreen.tsx +37 -35
- package/src/ui/screens/LegalDocumentsScreen.tsx +10 -20
- package/src/ui/screens/ManageAccountScreen.tsx +367 -340
- package/src/ui/screens/NotificationsScreen.tsx +12 -12
- package/src/ui/screens/OxyOneScreen.tsx +223 -0
- package/src/ui/screens/PreferencesScreen.tsx +15 -15
- package/src/ui/screens/PrivacySettingsScreen.tsx +65 -89
- package/src/ui/screens/ProfileScreen.tsx +242 -268
- package/src/ui/screens/ReportBugScreen.tsx +68 -0
- package/src/ui/screens/SearchSettingsScreen.tsx +30 -65
- package/src/ui/screens/SupervisionScreen.tsx +1 -1
- package/src/ui/screens/UserListScreen.tsx +85 -62
- package/src/ui/screens/WelcomeNewUserScreen.tsx +1 -1
- package/src/ui/screens/fileManagement/FileListSection.tsx +8 -7
- package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +16 -79
- package/src/ui/screens/fileManagement/UploadBar.tsx +4 -1
- package/src/ui/screens/index.ts +1 -0
- package/src/ui/screens/trust/TrustCenterScreen.tsx +13 -22
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +32 -62
- package/src/ui/screens/trust/TrustRewardsScreen.tsx +10 -5
- package/src/ui/screens/trust/TrustRulesScreen.tsx +6 -9
- package/src/ui/types/navigation.ts +12 -0
- package/lib/commonjs/ui/screens/UserLinksScreen.js +0 -61
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/module/ui/screens/UserLinksScreen.js +0 -57
- package/lib/module/ui/screens/UserLinksScreen.js.map +0 -1
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts +0 -15
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts +0 -15
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +0 -1
- package/lib/typescript/types/expo-document-picker.d.ts +0 -35
- package/lib/typescript/types/expo-image-picker.d.ts +0 -35
- package/src/types/expo-document-picker.d.ts +0 -35
- package/src/types/expo-image-picker.d.ts +0 -35
- package/src/ui/screens/UserLinksScreen.tsx +0 -68
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { useMemo } from 'react';
|
|
4
|
-
import { View, StyleSheet
|
|
4
|
+
import { View, StyleSheet } from 'react-native';
|
|
5
5
|
import { useQuery } from '@tanstack/react-query';
|
|
6
6
|
import { useTheme } from '@oxy.so/bloom/theme';
|
|
7
|
-
import { Button } from '@oxy.so/bloom/button';
|
|
7
|
+
import { Button, LinkButton } from '@oxy.so/bloom/button';
|
|
8
|
+
import { ButtonGroup, ButtonGroupItem } from '@oxy.so/bloom/button-group';
|
|
9
|
+
import { RiSettings3Line } from '@oxy.so/bloom/icons/RiSettings3Line';
|
|
10
|
+
import { PressableScale } from '@oxy.so/bloom/pressable-scale';
|
|
11
|
+
import { useSurfaceFill } from '@oxy.so/bloom/styles';
|
|
8
12
|
import { H2, Text } from '@oxy.so/bloom/typography';
|
|
9
|
-
import { SettingsListGroup, SettingsListItem } from '@oxy.so/bloom/settings-list';
|
|
10
13
|
import { Avatar } from '@oxy.so/bloom/avatar';
|
|
14
|
+
import * as Skeleton from '@oxy.so/bloom/skeleton';
|
|
15
|
+
import { CoverHeader } from '@oxy.so/bloom/cover-header';
|
|
11
16
|
import FollowButton from "../components/FollowButton.js";
|
|
12
17
|
import { useFollow } from "../hooks/useFollow.js";
|
|
13
18
|
import Ionicons from "../icons/Ionicons.js";
|
|
14
19
|
import { useI18n } from "../hooks/useI18n.js";
|
|
15
20
|
import { useSurfaceHeader } from "../hooks/useSurfaceHeader.js";
|
|
16
|
-
import { useOxy } from "../context/
|
|
17
|
-
import { getNormalizedUserHandle, logger
|
|
21
|
+
import { useOxy } from "../context/oxyRuntimeContext.js";
|
|
22
|
+
import { getNormalizedUserHandle, logger } from '@oxy.so/core';
|
|
18
23
|
import { extractErrorMessage } from "../utils/errorHandlers.js";
|
|
19
24
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
25
|
const AVATAR_SIZE = 96;
|
|
21
|
-
const BANNER_HEIGHT = 160;
|
|
22
|
-
const AVATAR_OVERLAP = -56;
|
|
23
26
|
const INFO_ICON_SIZE = 18;
|
|
24
27
|
const ProfileScreen = ({
|
|
25
28
|
userId,
|
|
26
29
|
username,
|
|
27
|
-
theme,
|
|
28
|
-
goBack,
|
|
29
30
|
navigate
|
|
30
31
|
}) => {
|
|
31
32
|
// Use useOxy() hook for OxyContext values. "Me" for own-profile detection
|
|
@@ -44,8 +45,10 @@ const ProfileScreen = ({
|
|
|
44
45
|
isLoadingCounts
|
|
45
46
|
} = useFollow(userId);
|
|
46
47
|
const bloomTheme = useTheme();
|
|
48
|
+
const surfaceFill = useSurfaceFill();
|
|
47
49
|
const {
|
|
48
|
-
t
|
|
50
|
+
t,
|
|
51
|
+
locale
|
|
49
52
|
} = useI18n();
|
|
50
53
|
|
|
51
54
|
// Check if current user is viewing their own profile
|
|
@@ -85,15 +88,12 @@ const ProfileScreen = ({
|
|
|
85
88
|
}
|
|
86
89
|
return {
|
|
87
90
|
profile: profileRes,
|
|
88
|
-
reputationTotal: typeof reputationRes.total === 'number' ? reputationRes.total : null
|
|
89
|
-
links: normalizeProfileLinks(profileRes.linksMetadata, profileRes.links)
|
|
91
|
+
reputationTotal: typeof reputationRes.total === 'number' ? reputationRes.total : null
|
|
90
92
|
};
|
|
91
93
|
}
|
|
92
94
|
});
|
|
93
|
-
const profile = profileQuery.data?.profile ?? null;
|
|
95
|
+
const profile = profileQuery.data?.profile ?? (isOwnProfile ? currentUser : null);
|
|
94
96
|
const reputationTotal = profileQuery.data?.reputationTotal ?? null;
|
|
95
|
-
const links = profileQuery.data?.links ?? [];
|
|
96
|
-
const isLoading = !!userId && profileQuery.isLoading;
|
|
97
97
|
|
|
98
98
|
// Friendly, status-aware error copy derived from the query error (no effect).
|
|
99
99
|
const error = useMemo(() => {
|
|
@@ -114,30 +114,13 @@ const ProfileScreen = ({
|
|
|
114
114
|
return errorMessageText || 'Failed to load profile';
|
|
115
115
|
}, [userId, profileQuery.isError, profileQuery.error, isOwnProfile]);
|
|
116
116
|
|
|
117
|
-
//
|
|
118
|
-
//
|
|
119
|
-
// overlapping avatar scroll as content UNDER the shared gradient nav bar.
|
|
120
|
-
// `onImage` tone keeps the title + close legible over the colored banner.
|
|
121
|
-
// Ends in a string, deliberately: `getNormalizedUserHandle` answers `null` for a
|
|
122
|
-
// user it cannot normalise, and letting that null travel makes this `string | null`
|
|
123
|
-
// — which does not satisfy `Avatar.name` and does not typecheck. Empty is the honest
|
|
124
|
-
// bottom of the chain and every reader below already treats it as falsy
|
|
125
|
-
// (`displayName || t('profile.title')`), so nothing renders a literal "null".
|
|
117
|
+
// The dialog owns navigation chrome; CoverHeader owns the profile artwork
|
|
118
|
+
// and avatar overlap. A neutral cover is not an on-image navigation surface.
|
|
126
119
|
const displayName = profile ? profile.name?.displayName ?? getNormalizedUserHandle(profile) ?? '' : username || '';
|
|
127
120
|
useSurfaceHeader({
|
|
128
121
|
title: displayName || t('profile.title'),
|
|
129
|
-
largeTitle: false
|
|
130
|
-
tone: 'onImage'
|
|
122
|
+
largeTitle: false
|
|
131
123
|
});
|
|
132
|
-
if (isLoading) {
|
|
133
|
-
return /*#__PURE__*/_jsx(View, {
|
|
134
|
-
className: "items-center py-space-40",
|
|
135
|
-
children: /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
136
|
-
size: "large",
|
|
137
|
-
color: bloomTheme.colors.primary
|
|
138
|
-
})
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
124
|
if (error) {
|
|
142
125
|
// The shared nav header owns back/close; the error body is just the alert.
|
|
143
126
|
return /*#__PURE__*/_jsxs(View, {
|
|
@@ -162,6 +145,58 @@ const ProfileScreen = ({
|
|
|
162
145
|
})]
|
|
163
146
|
});
|
|
164
147
|
}
|
|
148
|
+
if (!profile && profileQuery.isPending) {
|
|
149
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
150
|
+
testID: "profile-skeleton",
|
|
151
|
+
accessibilityLabel: t('common.loading'),
|
|
152
|
+
accessibilityState: {
|
|
153
|
+
busy: true
|
|
154
|
+
},
|
|
155
|
+
style: styles.scrollContainer,
|
|
156
|
+
children: [/*#__PURE__*/_jsxs(CoverHeader, {
|
|
157
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
158
|
+
style: styles.avatarRow,
|
|
159
|
+
className: "px-screen-margin",
|
|
160
|
+
children: [/*#__PURE__*/_jsx(Skeleton.Circle, {
|
|
161
|
+
size: AVATAR_SIZE
|
|
162
|
+
}), /*#__PURE__*/_jsx(Skeleton.Box, {
|
|
163
|
+
width: 88,
|
|
164
|
+
height: 32,
|
|
165
|
+
borderRadius: 16
|
|
166
|
+
})]
|
|
167
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
168
|
+
className: "px-screen-margin gap-space-8",
|
|
169
|
+
style: styles.header,
|
|
170
|
+
children: [/*#__PURE__*/_jsx(Skeleton.Box, {
|
|
171
|
+
width: 180,
|
|
172
|
+
height: 28
|
|
173
|
+
}), /*#__PURE__*/_jsx(Skeleton.Box, {
|
|
174
|
+
width: 110,
|
|
175
|
+
height: 18
|
|
176
|
+
}), /*#__PURE__*/_jsx(Skeleton.Box, {
|
|
177
|
+
width: "100%",
|
|
178
|
+
height: 18,
|
|
179
|
+
style: {
|
|
180
|
+
marginTop: 10
|
|
181
|
+
}
|
|
182
|
+
}), /*#__PURE__*/_jsx(Skeleton.Box, {
|
|
183
|
+
width: "75%",
|
|
184
|
+
height: 18
|
|
185
|
+
})]
|
|
186
|
+
})]
|
|
187
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
188
|
+
className: "px-screen-margin gap-space-12",
|
|
189
|
+
style: styles.details,
|
|
190
|
+
children: [/*#__PURE__*/_jsx(Skeleton.Box, {
|
|
191
|
+
width: "65%",
|
|
192
|
+
height: 18
|
|
193
|
+
}), /*#__PURE__*/_jsx(Skeleton.Box, {
|
|
194
|
+
width: "85%",
|
|
195
|
+
height: 18
|
|
196
|
+
})]
|
|
197
|
+
})]
|
|
198
|
+
});
|
|
199
|
+
}
|
|
165
200
|
|
|
166
201
|
// The singular `location` field was removed from the User contract; derive
|
|
167
202
|
// the primary place from the `locations` list instead. `locations` is only
|
|
@@ -175,189 +210,214 @@ const ProfileScreen = ({
|
|
|
175
210
|
}
|
|
176
211
|
return undefined;
|
|
177
212
|
})();
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
children: /*#__PURE__*/_jsx(Avatar
|
|
194
|
-
// `getFileDownloadUrl` answers `null` for a reference it cannot
|
|
195
|
-
// resolve, and `Avatar.source` takes `undefined` for "no picture" —
|
|
196
|
-
// the two spellings of absent do not meet, so the coalesce is the
|
|
197
|
-
// whole fix. Without it this file does not typecheck, which blocks
|
|
198
|
-
// `bun run build` and therefore every publish of this package.
|
|
199
|
-
, {
|
|
200
|
-
source: profile?.avatar ? oxyServices.assets.publicUrl(profile.avatar, 'thumb') ?? undefined : undefined,
|
|
201
|
-
name: displayName,
|
|
202
|
-
size: AVATAR_SIZE
|
|
213
|
+
const metadata = [];
|
|
214
|
+
if (primaryLocation) metadata.push({
|
|
215
|
+
key: 'location',
|
|
216
|
+
icon: 'location-outline',
|
|
217
|
+
label: primaryLocation
|
|
218
|
+
});
|
|
219
|
+
if (profile?.createdAt) {
|
|
220
|
+
const joined = new Date(profile.createdAt);
|
|
221
|
+
if (!Number.isNaN(joined.getTime())) metadata.push({
|
|
222
|
+
key: 'joined',
|
|
223
|
+
icon: 'calendar-outline',
|
|
224
|
+
label: t('profile.joinedOn', {
|
|
225
|
+
date: joined.toLocaleDateString(locale, {
|
|
226
|
+
month: 'long',
|
|
227
|
+
year: 'numeric'
|
|
203
228
|
})
|
|
204
|
-
})
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
229
|
+
})
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
for (const [key, icon] of [['company', 'business-outline'], ['jobTitle', 'briefcase-outline'], ['education', 'school-outline']]) {
|
|
233
|
+
const value = profile?.[key];
|
|
234
|
+
if (typeof value === 'string' && value.trim()) metadata.push({
|
|
235
|
+
key,
|
|
236
|
+
icon,
|
|
237
|
+
label: value
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
if (typeof profile?.birthday === 'string' && profile.birthday) {
|
|
241
|
+
const birthday = new Date(profile.birthday);
|
|
242
|
+
if (!Number.isNaN(birthday.getTime())) metadata.push({
|
|
243
|
+
key: 'birthday',
|
|
244
|
+
icon: 'gift-outline',
|
|
245
|
+
label: t('profile.bornOn', {
|
|
246
|
+
date: birthday.toLocaleDateString(locale, {
|
|
247
|
+
timeZone: 'UTC'
|
|
222
248
|
})
|
|
223
|
-
})]
|
|
224
|
-
}), /*#__PURE__*/_jsxs(View, {
|
|
225
|
-
style: styles.header,
|
|
226
|
-
className: "px-screen-margin",
|
|
227
|
-
children: [/*#__PURE__*/_jsx(H2, {
|
|
228
|
-
style: styles.displayName,
|
|
229
|
-
className: "text-text",
|
|
230
|
-
children: displayName
|
|
231
|
-
}), profile?.username && /*#__PURE__*/_jsxs(Text, {
|
|
232
|
-
style: styles.subText,
|
|
233
|
-
className: "text-text-secondary",
|
|
234
|
-
children: ["@", profile.username]
|
|
235
|
-
}), /*#__PURE__*/_jsx(Text, {
|
|
236
|
-
style: styles.bio,
|
|
237
|
-
className: "text-text",
|
|
238
|
-
children: profile?.bio || t('profile.noBio') || 'This user has no bio yet.'
|
|
239
|
-
})]
|
|
240
|
-
}), /*#__PURE__*/_jsx(View, {
|
|
241
|
-
className: "px-screen-margin",
|
|
242
|
-
children: /*#__PURE__*/_jsxs(SettingsListGroup, {
|
|
243
|
-
children: [profile?.createdAt && /*#__PURE__*/_jsx(SettingsListItem, {
|
|
244
|
-
icon: /*#__PURE__*/_jsx(Ionicons, {
|
|
245
|
-
name: "calendar-outline",
|
|
246
|
-
size: INFO_ICON_SIZE,
|
|
247
|
-
color: bloomTheme.colors.textSecondary
|
|
248
|
-
}),
|
|
249
|
-
title: t('profile.joinedOn', {
|
|
250
|
-
date: new Date(profile.createdAt).toLocaleDateString()
|
|
251
|
-
}) || `Joined ${new Date(profile.createdAt).toLocaleDateString()}`,
|
|
252
|
-
showChevron: false
|
|
253
|
-
}), primaryLocation && /*#__PURE__*/_jsx(SettingsListItem, {
|
|
254
|
-
icon: /*#__PURE__*/_jsx(Ionicons, {
|
|
255
|
-
name: "location-outline",
|
|
256
|
-
size: INFO_ICON_SIZE,
|
|
257
|
-
color: bloomTheme.colors.textSecondary
|
|
258
|
-
}),
|
|
259
|
-
title: primaryLocation,
|
|
260
|
-
showChevron: false
|
|
261
|
-
}), profile?.website && /*#__PURE__*/_jsx(SettingsListItem, {
|
|
262
|
-
icon: /*#__PURE__*/_jsx(Ionicons, {
|
|
263
|
-
name: "globe-outline",
|
|
264
|
-
size: INFO_ICON_SIZE,
|
|
265
|
-
color: bloomTheme.colors.textSecondary
|
|
266
|
-
}),
|
|
267
|
-
title: profile.website,
|
|
268
|
-
showChevron: false
|
|
269
|
-
}), profile && 'company' in profile && typeof profile.company === 'string' && profile.company && /*#__PURE__*/_jsx(SettingsListItem, {
|
|
270
|
-
icon: /*#__PURE__*/_jsx(Ionicons, {
|
|
271
|
-
name: "business-outline",
|
|
272
|
-
size: INFO_ICON_SIZE,
|
|
273
|
-
color: bloomTheme.colors.textSecondary
|
|
274
|
-
}),
|
|
275
|
-
title: profile.company,
|
|
276
|
-
showChevron: false
|
|
277
|
-
}), profile && 'jobTitle' in profile && typeof profile.jobTitle === 'string' && profile.jobTitle && /*#__PURE__*/_jsx(SettingsListItem, {
|
|
278
|
-
icon: /*#__PURE__*/_jsx(Ionicons, {
|
|
279
|
-
name: "briefcase-outline",
|
|
280
|
-
size: INFO_ICON_SIZE,
|
|
281
|
-
color: bloomTheme.colors.textSecondary
|
|
282
|
-
}),
|
|
283
|
-
title: profile.jobTitle,
|
|
284
|
-
showChevron: false
|
|
285
|
-
}), profile && 'education' in profile && typeof profile.education === 'string' && profile.education && /*#__PURE__*/_jsx(SettingsListItem, {
|
|
286
|
-
icon: /*#__PURE__*/_jsx(Ionicons, {
|
|
287
|
-
name: "school-outline",
|
|
288
|
-
size: INFO_ICON_SIZE,
|
|
289
|
-
color: bloomTheme.colors.textSecondary
|
|
290
|
-
}),
|
|
291
|
-
title: profile.education,
|
|
292
|
-
showChevron: false
|
|
293
|
-
}), profile && 'birthday' in profile && typeof profile.birthday === 'string' && profile.birthday && /*#__PURE__*/_jsx(SettingsListItem, {
|
|
294
|
-
icon: /*#__PURE__*/_jsx(Ionicons, {
|
|
295
|
-
name: "gift-outline",
|
|
296
|
-
size: INFO_ICON_SIZE,
|
|
297
|
-
color: bloomTheme.colors.textSecondary
|
|
298
|
-
}),
|
|
299
|
-
title: t('profile.bornOn', {
|
|
300
|
-
date: new Date(profile.birthday).toLocaleDateString()
|
|
301
|
-
}) || `Born ${new Date(profile.birthday).toLocaleDateString()}`,
|
|
302
|
-
showChevron: false
|
|
303
|
-
}), links.length > 0 && /*#__PURE__*/_jsx(SettingsListItem, {
|
|
304
|
-
icon: /*#__PURE__*/_jsx(Ionicons, {
|
|
305
|
-
name: "link-outline",
|
|
306
|
-
size: INFO_ICON_SIZE,
|
|
307
|
-
color: bloomTheme.colors.textSecondary
|
|
308
|
-
}),
|
|
309
|
-
title: links[0].url,
|
|
310
|
-
value: links.length > 1 ? t('profile.more', {
|
|
311
|
-
count: links.length - 1
|
|
312
|
-
}) || `+ ${links.length - 1} more` : undefined,
|
|
313
|
-
onPress: () => navigate?.('UserLinks', {
|
|
314
|
-
userId,
|
|
315
|
-
links
|
|
316
|
-
})
|
|
317
|
-
})]
|
|
318
249
|
})
|
|
319
|
-
})
|
|
320
|
-
|
|
321
|
-
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
let websiteUrl;
|
|
253
|
+
if (profile?.website) {
|
|
254
|
+
try {
|
|
255
|
+
const url = new URL(profile.website);
|
|
256
|
+
if (url.protocol === 'https:' || url.protocol === 'http:') websiteUrl = url.href;
|
|
257
|
+
} catch {
|
|
258
|
+
/* Invalid profile URLs are not interactive links. */
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
262
|
+
style: styles.scrollContainer,
|
|
263
|
+
children: [/*#__PURE__*/_jsxs(CoverHeader, {
|
|
264
|
+
testID: "profile-cover-header",
|
|
322
265
|
children: [/*#__PURE__*/_jsxs(View, {
|
|
323
|
-
style: styles.
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
className: "
|
|
331
|
-
children:
|
|
266
|
+
style: styles.avatarRow,
|
|
267
|
+
className: "px-screen-margin",
|
|
268
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
269
|
+
style: [styles.avatarWrapper, {
|
|
270
|
+
borderColor: surfaceFill,
|
|
271
|
+
backgroundColor: surfaceFill
|
|
272
|
+
}],
|
|
273
|
+
className: "rounded-radius-max",
|
|
274
|
+
children: /*#__PURE__*/_jsx(Avatar
|
|
275
|
+
// `getFileDownloadUrl` answers `null` for a reference it cannot
|
|
276
|
+
// resolve, and `Avatar.source` takes `undefined` for "no picture" —
|
|
277
|
+
// the two spellings of absent do not meet, so the coalesce is the
|
|
278
|
+
// whole fix. Without it this file does not typecheck, which blocks
|
|
279
|
+
// `bun run build` and therefore every publish of this package.
|
|
280
|
+
, {
|
|
281
|
+
source: profile?.avatar ? oxyServices.assets.publicUrl(profile.avatar, 'thumb') ?? undefined : undefined,
|
|
282
|
+
name: displayName,
|
|
283
|
+
size: AVATAR_SIZE
|
|
284
|
+
})
|
|
285
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
286
|
+
style: styles.actionButtonWrapper,
|
|
287
|
+
children: isOwnProfile ? /*#__PURE__*/_jsxs(View, {
|
|
288
|
+
style: styles.profileActions,
|
|
289
|
+
children: [/*#__PURE__*/_jsx(Button, {
|
|
290
|
+
appearance: "subtle",
|
|
291
|
+
tone: "neutral",
|
|
292
|
+
size: "sm",
|
|
293
|
+
onPress: () => navigate?.('EditProfile'),
|
|
294
|
+
children: t('editProfile.title') || 'Edit Profile'
|
|
295
|
+
}), /*#__PURE__*/_jsx(ButtonGroup, {
|
|
296
|
+
children: /*#__PURE__*/_jsx(ButtonGroupItem, {
|
|
297
|
+
iconOnly: true,
|
|
298
|
+
leadingIcon: RiSettings3Line,
|
|
299
|
+
accessibilityLabel: t('accountMenu.settings') || 'Settings',
|
|
300
|
+
onPress: () => navigate?.('Preferences')
|
|
301
|
+
})
|
|
302
|
+
})]
|
|
303
|
+
}) : /*#__PURE__*/_jsx(FollowButton, {
|
|
304
|
+
userId: userId,
|
|
305
|
+
onFollowChange: isFollowing => {
|
|
306
|
+
// The follow button will automatically update counts via Zustand
|
|
307
|
+
if (__DEV__) {
|
|
308
|
+
logger.debug(`Follow status changed: ${isFollowing}`, {
|
|
309
|
+
component: 'ProfileScreen'
|
|
310
|
+
});
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
})
|
|
332
314
|
})]
|
|
333
315
|
}), /*#__PURE__*/_jsxs(View, {
|
|
334
|
-
style: styles.
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
}) : /*#__PURE__*/_jsx(Text, {
|
|
339
|
-
style: styles.statAmount,
|
|
316
|
+
style: styles.header,
|
|
317
|
+
className: "px-screen-margin",
|
|
318
|
+
children: [/*#__PURE__*/_jsx(H2, {
|
|
319
|
+
style: styles.displayName,
|
|
340
320
|
className: "text-text",
|
|
341
|
-
children:
|
|
342
|
-
}), /*#__PURE__*/
|
|
343
|
-
style: styles.
|
|
321
|
+
children: displayName
|
|
322
|
+
}), profile?.username && /*#__PURE__*/_jsxs(Text, {
|
|
323
|
+
style: styles.subText,
|
|
344
324
|
className: "text-text-secondary",
|
|
345
|
-
children:
|
|
346
|
-
})
|
|
347
|
-
|
|
348
|
-
style: styles.statItem,
|
|
349
|
-
children: [isLoadingCounts ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
350
|
-
size: "small",
|
|
351
|
-
color: bloomTheme.colors.text
|
|
352
|
-
}) : /*#__PURE__*/_jsx(Text, {
|
|
353
|
-
style: styles.statAmount,
|
|
325
|
+
children: ["@", profile.username]
|
|
326
|
+
}), profile?.bio ? /*#__PURE__*/_jsx(Text, {
|
|
327
|
+
style: styles.bio,
|
|
354
328
|
className: "text-text",
|
|
355
|
-
children:
|
|
356
|
-
})
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
329
|
+
children: profile.bio
|
|
330
|
+
}) : null]
|
|
331
|
+
})]
|
|
332
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
333
|
+
className: "px-screen-margin",
|
|
334
|
+
style: styles.details,
|
|
335
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
336
|
+
style: styles.metadataRow,
|
|
337
|
+
children: metadata.map(({
|
|
338
|
+
key,
|
|
339
|
+
icon,
|
|
340
|
+
label
|
|
341
|
+
}) => /*#__PURE__*/_jsxs(View, {
|
|
342
|
+
style: styles.metadataEntry,
|
|
343
|
+
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
344
|
+
name: icon,
|
|
345
|
+
size: 16,
|
|
346
|
+
color: bloomTheme.colors.textSecondary
|
|
347
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
348
|
+
style: [styles.metadataText, {
|
|
349
|
+
color: bloomTheme.colors.textSecondary
|
|
350
|
+
}],
|
|
351
|
+
children: label
|
|
352
|
+
})]
|
|
353
|
+
}, key))
|
|
354
|
+
}), websiteUrl ? /*#__PURE__*/_jsx(LinkButton, {
|
|
355
|
+
size: "sm",
|
|
356
|
+
href: websiteUrl,
|
|
357
|
+
style: {
|
|
358
|
+
alignSelf: 'flex-start',
|
|
359
|
+
paddingLeft: 0,
|
|
360
|
+
paddingRight: 0
|
|
361
|
+
},
|
|
362
|
+
target: "_blank",
|
|
363
|
+
rel: "noopener noreferrer",
|
|
364
|
+
icon: /*#__PURE__*/_jsx(Ionicons, {
|
|
365
|
+
name: "link-outline",
|
|
366
|
+
size: INFO_ICON_SIZE
|
|
367
|
+
}),
|
|
368
|
+
children: profile?.website
|
|
369
|
+
}) : null, /*#__PURE__*/_jsxs(View, {
|
|
370
|
+
style: styles.statsRow,
|
|
371
|
+
children: [!isLoadingCounts && followingCount !== null ? /*#__PURE__*/_jsxs(PressableScale, {
|
|
372
|
+
style: styles.statItem,
|
|
373
|
+
accessibilityLabel: `${followingCount} ${t('profile.following')}`,
|
|
374
|
+
onPress: () => navigate?.('FollowingList', {
|
|
375
|
+
userId,
|
|
376
|
+
initialCount: followingCount
|
|
377
|
+
}),
|
|
378
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
379
|
+
style: [styles.statNumber, {
|
|
380
|
+
color: bloomTheme.colors.text
|
|
381
|
+
}],
|
|
382
|
+
children: followingCount
|
|
383
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
384
|
+
style: [styles.statLabel, {
|
|
385
|
+
color: bloomTheme.colors.textSecondary
|
|
386
|
+
}],
|
|
387
|
+
children: t('profile.following')
|
|
388
|
+
})]
|
|
389
|
+
}) : null, !isLoadingCounts && followerCount !== null ? /*#__PURE__*/_jsxs(PressableScale, {
|
|
390
|
+
style: styles.statItem,
|
|
391
|
+
accessibilityLabel: `${followerCount} ${t('profile.followers')}`,
|
|
392
|
+
onPress: () => navigate?.('FollowersList', {
|
|
393
|
+
userId,
|
|
394
|
+
initialCount: followerCount
|
|
395
|
+
}),
|
|
396
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
397
|
+
style: [styles.statNumber, {
|
|
398
|
+
color: bloomTheme.colors.text
|
|
399
|
+
}],
|
|
400
|
+
children: followerCount
|
|
401
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
402
|
+
style: [styles.statLabel, {
|
|
403
|
+
color: bloomTheme.colors.textSecondary
|
|
404
|
+
}],
|
|
405
|
+
children: t('profile.followers')
|
|
406
|
+
})]
|
|
407
|
+
}) : null, reputationTotal !== null ? /*#__PURE__*/_jsxs(View, {
|
|
408
|
+
style: styles.statItem,
|
|
409
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
410
|
+
style: [styles.statNumber, {
|
|
411
|
+
color: bloomTheme.colors.text
|
|
412
|
+
}],
|
|
413
|
+
children: reputationTotal
|
|
414
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
415
|
+
style: [styles.statLabel, {
|
|
416
|
+
color: bloomTheme.colors.textSecondary
|
|
417
|
+
}],
|
|
418
|
+
children: t('profile.reputation')
|
|
419
|
+
})]
|
|
420
|
+
}) : null]
|
|
361
421
|
})]
|
|
362
422
|
})]
|
|
363
423
|
});
|
|
@@ -367,22 +427,13 @@ const ProfileScreen = ({
|
|
|
367
427
|
// that no token class can express. Colors, spacing, radius, and typography roles
|
|
368
428
|
// live on Bloom components + NativeWind token classes.
|
|
369
429
|
const styles = StyleSheet.create({
|
|
370
|
-
flex: {
|
|
371
|
-
flex: 1
|
|
372
|
-
},
|
|
373
430
|
scrollContainer: {
|
|
374
431
|
alignItems: 'stretch',
|
|
375
432
|
paddingBottom: 40
|
|
376
433
|
},
|
|
377
|
-
bannerContainer: {
|
|
378
|
-
height: BANNER_HEIGHT,
|
|
379
|
-
position: 'relative',
|
|
380
|
-
overflow: 'hidden'
|
|
381
|
-
},
|
|
382
434
|
avatarRow: {
|
|
383
435
|
flexDirection: 'row',
|
|
384
436
|
alignItems: 'flex-end',
|
|
385
|
-
marginTop: AVATAR_OVERLAP,
|
|
386
437
|
justifyContent: 'space-between',
|
|
387
438
|
zIndex: 2
|
|
388
439
|
},
|
|
@@ -411,33 +462,57 @@ const styles = StyleSheet.create({
|
|
|
411
462
|
marginBottom: 2
|
|
412
463
|
},
|
|
413
464
|
bio: {
|
|
414
|
-
fontSize:
|
|
465
|
+
fontSize: 15,
|
|
415
466
|
marginTop: 10,
|
|
416
|
-
lineHeight:
|
|
467
|
+
lineHeight: 20
|
|
468
|
+
},
|
|
469
|
+
profileActions: {
|
|
470
|
+
flexDirection: 'row',
|
|
471
|
+
alignItems: 'center',
|
|
472
|
+
gap: 8,
|
|
473
|
+
flexWrap: 'wrap',
|
|
474
|
+
justifyContent: 'flex-end'
|
|
475
|
+
},
|
|
476
|
+
details: {
|
|
477
|
+
marginTop: 12
|
|
478
|
+
},
|
|
479
|
+
metadataRow: {
|
|
480
|
+
flexDirection: 'row',
|
|
481
|
+
flexWrap: 'wrap',
|
|
482
|
+
columnGap: 16,
|
|
483
|
+
rowGap: 4
|
|
484
|
+
},
|
|
485
|
+
metadataEntry: {
|
|
486
|
+
flexDirection: 'row',
|
|
487
|
+
alignItems: 'center',
|
|
488
|
+
gap: 4,
|
|
489
|
+
flexShrink: 1
|
|
490
|
+
},
|
|
491
|
+
metadataText: {
|
|
492
|
+
fontSize: 15,
|
|
493
|
+
lineHeight: 20,
|
|
494
|
+
flexShrink: 1
|
|
417
495
|
},
|
|
418
496
|
statsRow: {
|
|
419
|
-
width: '100%',
|
|
420
497
|
flexDirection: 'row',
|
|
498
|
+
flexWrap: 'wrap',
|
|
421
499
|
alignItems: 'center',
|
|
422
|
-
|
|
423
|
-
|
|
500
|
+
gap: 10,
|
|
501
|
+
marginTop: 12
|
|
424
502
|
},
|
|
425
503
|
statItem: {
|
|
426
|
-
|
|
504
|
+
flexDirection: 'row',
|
|
427
505
|
alignItems: 'center',
|
|
428
|
-
|
|
429
|
-
marginBottom: 12
|
|
506
|
+
gap: 4
|
|
430
507
|
},
|
|
431
|
-
|
|
432
|
-
fontSize:
|
|
433
|
-
|
|
434
|
-
|
|
508
|
+
statNumber: {
|
|
509
|
+
fontSize: 15,
|
|
510
|
+
lineHeight: 20,
|
|
511
|
+
fontWeight: '700'
|
|
435
512
|
},
|
|
436
|
-
|
|
437
|
-
fontSize:
|
|
438
|
-
|
|
439
|
-
textAlign: 'center',
|
|
440
|
-
letterSpacing: 0.2
|
|
513
|
+
statLabel: {
|
|
514
|
+
fontSize: 15,
|
|
515
|
+
lineHeight: 20
|
|
441
516
|
},
|
|
442
517
|
// Error state layout
|
|
443
518
|
errorTitle: {
|