@oxy.so/services 11.14.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 +10 -13
- 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 +33 -188
- 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 +16 -81
- 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 +10 -13
- 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 +33 -188
- 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 +18 -83
- 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 +19 -68
- 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/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.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 +19 -68
- 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/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.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 +28 -12
- 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 +11 -15
- 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 +44 -205
- package/src/ui/screens/FileTrashScreen.tsx +1 -1
- 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 +7 -6
- package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +15 -78
- 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
|
@@ -4,100 +4,28 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
+
var _loading = require("@oxy.so/bloom/loading");
|
|
7
8
|
var _react = require("react");
|
|
8
9
|
var _components = require("react-native-css/components");
|
|
9
10
|
var _reactNativeReanimated = _interopRequireWildcard(require("react-native-reanimated"));
|
|
10
11
|
var _MaterialCommunityIcons = _interopRequireDefault(require("../../icons/MaterialCommunityIcons.js"));
|
|
11
12
|
var _avatar = require("@oxy.so/bloom/avatar");
|
|
12
|
-
var _avatarGroup = require("@oxy.so/bloom/avatar-group");
|
|
13
13
|
var _button = require("@oxy.so/bloom/button");
|
|
14
|
+
var _RiSparklingFill = require("@oxy.so/bloom/icons/RiSparklingFill");
|
|
14
15
|
var _pressableScale = require("@oxy.so/bloom/pressable-scale");
|
|
15
|
-
var
|
|
16
|
-
var
|
|
16
|
+
var _usageCard = require("@oxy.so/bloom/usage-card");
|
|
17
|
+
var _groupedSection = require("@oxy.so/bloom/grouped-section");
|
|
17
18
|
var _typography = require("@oxy.so/bloom/typography");
|
|
18
19
|
var _session = require("@oxy.so/core/session");
|
|
19
20
|
var _AvatarCameraBadge = _interopRequireDefault(require("../AvatarCameraBadge.js"));
|
|
21
|
+
var _LogoIcon = _interopRequireDefault(require("../logo/LogoIcon.js"));
|
|
20
22
|
var _styles = require("./styles.js");
|
|
23
|
+
var _storageUsage = require("./storageUsage.js");
|
|
21
24
|
var _types = require("./types.js");
|
|
22
25
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
23
26
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
24
27
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
25
|
-
/**
|
|
26
|
-
* The signed-in Oxy account MENU (`accounts` view) — a Google-account-menu-style
|
|
27
|
-
* full menu built entirely with NativeWind `className` (the dynamic per-account
|
|
28
|
-
* accent hex is the one inline style NativeWind cannot express). Structure:
|
|
29
|
-
*
|
|
30
|
-
* - HERO on its own chrome-free block: the current account's large pressable
|
|
31
|
-
* avatar (with a camera badge to change the photo), the greeting, the account
|
|
32
|
-
* address, and a "Manage your Oxy account" pill.
|
|
33
|
-
* - SWITCH ACCOUNT: a disclosure row whose corner animates from pill to card as
|
|
34
|
-
* the device's people + "Add another account" + "Manage accounts on this
|
|
35
|
-
* device" reveal beneath it. The list is grouped BY PERSON (ADR 0002): an
|
|
36
|
-
* account sits under the human who can operate it, and the same organization
|
|
37
|
-
* reachable through two people is two rows under two names — the thing a list
|
|
38
|
-
* keyed by account id structurally cannot say.
|
|
39
|
-
* - OXY STORAGE: cloud + used/total + a composition meter + Upgrade / Manage chips.
|
|
40
|
-
* - MENU rows: Your data in Oxy · Oxy settings · Help & feedback · Sign out —
|
|
41
|
-
* Bloom's grouped section, the same component every other SDK settings surface
|
|
42
|
-
* uses, not a local row copy.
|
|
43
|
-
* - FOOTER: Privacy Policy · Terms of Service.
|
|
44
|
-
*
|
|
45
|
-
* All three blocks share ONE rhythm taken from that grouped section: a 12px
|
|
46
|
-
* content inset, a 12px gap after the leading element, 16px between blocks, and
|
|
47
|
-
* a 16px trailing chevron column.
|
|
48
|
-
*
|
|
49
|
-
* Collapse state is a plain `useState` toggled in the row's press handler — no
|
|
50
|
-
* effect hook, no derived-from-props sync.
|
|
51
|
-
*/
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* A `Pressable` that appends a hover-tint NativeWind token while pointer-hovered.
|
|
55
|
-
* The Metro web pipeline here does NOT emit NativeWind `hover:` variants, so hover
|
|
56
|
-
* is driven by RN's cross-platform `onHoverIn`/`onHoverOut` (they fire only on web
|
|
57
|
-
* via react-native-web; a no-op on native) toggling a plain background token —
|
|
58
|
-
* the tint stays a NativeWind class, only the trigger is JS.
|
|
59
|
-
*/
|
|
60
|
-
const HoverPressable = ({
|
|
61
|
-
baseClassName,
|
|
62
|
-
hoverClassName,
|
|
63
|
-
...rest
|
|
64
|
-
}) => {
|
|
65
|
-
const [hovered, setHovered] = (0, _react.useState)(false);
|
|
66
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Pressable, {
|
|
67
|
-
...rest,
|
|
68
|
-
className: hovered ? `${baseClassName} ${hoverClassName}` : baseClassName,
|
|
69
|
-
onHoverIn: () => setHovered(true),
|
|
70
|
-
onHoverOut: () => setHovered(false)
|
|
71
|
-
});
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Leading glyph for the rows that live in a Bloom grouped section (the MENU
|
|
76
|
-
* block) and for the storage card's cloud, which lines its title up with them.
|
|
77
|
-
* It is Bloom's OWN icon-slot size: `SettingsListItem` reserves a fixed 20px
|
|
78
|
-
* leading column and Bloom is consumed exactly as it ships, so a menu glyph
|
|
79
|
-
* larger than this would overhang into the row's title.
|
|
80
|
-
*/
|
|
81
|
-
const ROW_ICON_SIZE = 20;
|
|
82
|
-
/**
|
|
83
|
-
* The switch card's two corner states. Collapsed it is one row and reads as a
|
|
84
|
-
* PILL; opened it is a card holding rows, on the same 16px corner the Bloom
|
|
85
|
-
* grouped section below it uses. Interpolated across the reveal, never snapped.
|
|
86
|
-
*/
|
|
87
|
-
const SWITCH_CARD_PILL_RADIUS = 999;
|
|
88
|
-
const SWITCH_CARD_RADIUS = 16;
|
|
89
|
-
/**
|
|
90
|
-
* The fraction of the reveal over which the corner resolves. The corner is a
|
|
91
|
-
* FASTER gesture than the reveal — it has to be finished before the rows read as
|
|
92
|
-
* rows, or the card still looks like a pill while a list falls out of it — so it
|
|
93
|
-
* is clamped to the reveal's opening fraction instead of tracking it end to end.
|
|
94
|
-
* Measured in a browser against the 240ms reveal: the corner reaches its card
|
|
95
|
-
* value ~120ms in, with the list only ~20% revealed, and (mirrored) the pill is
|
|
96
|
-
* back ~250ms into the close, with the list already down to ~0.
|
|
97
|
-
*/
|
|
98
|
-
const SWITCH_CARD_RADIUS_SETTLE = 0.2;
|
|
99
|
-
/** Duration of the switch-list reveal. */
|
|
100
|
-
const SWITCH_REVEAL_MS = 240;
|
|
28
|
+
/** Duration of the disclosure chevron rotation. */const SWITCH_REVEAL_MS = 240;
|
|
101
29
|
/** Diameter of an account row's avatar in the switch list (own markup). */
|
|
102
30
|
const SWITCH_AVATAR_SIZE = 36;
|
|
103
31
|
/**
|
|
@@ -105,30 +33,8 @@ const SWITCH_AVATAR_SIZE = 36;
|
|
|
105
33
|
* rows beneath it: the header labels the group, the rows are the targets.
|
|
106
34
|
*/
|
|
107
35
|
const PRINCIPAL_AVATAR_SIZE = 24;
|
|
108
|
-
/**
|
|
109
|
-
const
|
|
110
|
-
/** The hero block's large current-account avatar. */
|
|
111
|
-
const HERO_AVATAR_SIZE = 72;
|
|
112
|
-
/** Avatars shown in the switch row's facepile before it collapses into `+N`. */
|
|
113
|
-
const FACEPILE_MAX = 2;
|
|
114
|
-
/** Facepile avatar diameter — one clear step down from a switch-list avatar. */
|
|
115
|
-
const FACEPILE_AVATAR_SIZE = 32;
|
|
116
|
-
/**
|
|
117
|
-
* Facepile overlap. Well under Bloom's `size / 3` default: the stack draws the
|
|
118
|
-
* FIRST item on top, so a deep overlap would bury the trailing `+N` chip's own
|
|
119
|
-
* label under the avatar before it.
|
|
120
|
-
*/
|
|
121
|
-
const FACEPILE_OVERLAP = 4;
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* `bytes` → `"11.6 GB"`. Whole plan sizes read as whole numbers (`"17 GB"`, not
|
|
125
|
-
* `"17.0 GB"`), and anything ≥ 100 GB drops the decimal entirely.
|
|
126
|
-
*/
|
|
127
|
-
function formatStorageGb(bytes) {
|
|
128
|
-
const gb = bytes / 1024 ** 3;
|
|
129
|
-
if (gb >= 100 || Number.isInteger(gb)) return `${Math.round(gb)} GB`;
|
|
130
|
-
return `${gb.toFixed(1)} GB`;
|
|
131
|
-
}
|
|
36
|
+
/** Current-account avatar in the summary row. */
|
|
37
|
+
const HERO_AVATAR_SIZE = 56;
|
|
132
38
|
const AccountsMenuView = ({
|
|
133
39
|
snapshot,
|
|
134
40
|
principals,
|
|
@@ -140,37 +46,14 @@ const AccountsMenuView = ({
|
|
|
140
46
|
menu
|
|
141
47
|
}) => {
|
|
142
48
|
const [expanded, setExpanded] = (0, _react.useState)(false);
|
|
143
|
-
|
|
144
|
-
//
|
|
145
|
-
// guessed max. The measuring wrapper is style-based, NOT className'd — on
|
|
146
|
-
// RN-Web `onLayout` never fires for className'd Views (see AGENTS.md).
|
|
147
|
-
const [listContentHeight, setListContentHeight] = (0, _react.useState)(0);
|
|
148
|
-
// 0 = collapsed, 1 = expanded. Set imperatively in the toggle handler (no
|
|
149
|
-
// effect hook). On RN-Web there is no worklets plugin, so every shared value a
|
|
150
|
-
// mapper reads MUST be in its deps array or it freezes on the first frame
|
|
151
|
-
// (AGENTS.md "Reanimated (web)").
|
|
49
|
+
const [summaryHovered, setSummaryHovered] = (0, _react.useState)(false);
|
|
50
|
+
// Bloom owns the grouped surface; the dialog owns measured size transitions.
|
|
152
51
|
const listProgress = (0, _reactNativeReanimated.useSharedValue)(0);
|
|
153
|
-
const listStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => ({
|
|
154
|
-
height: listProgress.value * listContentHeight,
|
|
155
|
-
opacity: listProgress.value
|
|
156
|
-
}), [listProgress, listContentHeight]);
|
|
157
52
|
const chevronStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => ({
|
|
158
53
|
transform: [{
|
|
159
54
|
rotate: `${listProgress.value * 180}deg`
|
|
160
55
|
}]
|
|
161
56
|
}), [listProgress]);
|
|
162
|
-
// Collapsed, the switch card is a single row and reads as a PILL; opened, it
|
|
163
|
-
// becomes a card holding rows and takes the grouped-section corner. The corner
|
|
164
|
-
// is driven off the SAME `listProgress` as the reveal — but clamped to its
|
|
165
|
-
// opening fraction, so it resolves early instead of trailing the rows.
|
|
166
|
-
const switchCardStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => ({
|
|
167
|
-
borderRadius: (0, _reactNativeReanimated.interpolate)(listProgress.value, [0, SWITCH_CARD_RADIUS_SETTLE], [SWITCH_CARD_PILL_RADIUS, SWITCH_CARD_RADIUS], _reactNativeReanimated.Extrapolation.CLAMP)
|
|
168
|
-
}), [listProgress]);
|
|
169
|
-
// `CompositionBar` ships as an interactive breakdown: a selected segment
|
|
170
|
-
// replaces its hint line with that segment's readout. Tapping the selected one
|
|
171
|
-
// again clears it.
|
|
172
|
-
const [storageSegment, setStorageSegment] = (0, _react.useState)(null);
|
|
173
|
-
const toggleStorageSegment = (0, _react.useCallback)(key => setStorageSegment(previous => previous === key ? null : key), []);
|
|
174
57
|
const toggleExpanded = (0, _react.useCallback)(() => {
|
|
175
58
|
const next = !expanded;
|
|
176
59
|
setExpanded(next);
|
|
@@ -178,305 +61,218 @@ const AccountsMenuView = ({
|
|
|
178
61
|
duration: SWITCH_REVEAL_MS
|
|
179
62
|
});
|
|
180
63
|
}, [expanded, listProgress]);
|
|
181
|
-
if (snapshot.loading && principals.length === 0) {
|
|
182
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.View, {
|
|
183
|
-
className: "items-center justify-center gap-space-12 py-space-24",
|
|
184
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
|
|
185
|
-
name: "loading",
|
|
186
|
-
size: 24,
|
|
187
|
-
color: theme.colors.textSecondary
|
|
188
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
189
|
-
className: "text-body text-text-secondary text-center",
|
|
190
|
-
children: t('accountSwitcher.loading')
|
|
191
|
-
})]
|
|
192
|
-
});
|
|
193
|
-
}
|
|
194
64
|
|
|
195
65
|
// Activation and the two removals all mutate the same device, so any one of
|
|
196
66
|
// them in flight disables every row: a second press would race the first for
|
|
197
67
|
// which context the server ends up electing as active.
|
|
198
68
|
const busy = snapshot.activatingContextId !== null || snapshot.removingContextId !== null || snapshot.removingPrincipalId !== null;
|
|
199
|
-
const currentAccent = hero?.accentHex ?? theme.colors.primary;
|
|
200
69
|
// Naming the person above each block earns its place only when the grouping
|
|
201
70
|
// carries information — a second person, or somebody with more than one
|
|
202
71
|
// account. On a one-person, one-account device it would just repeat the hero.
|
|
203
72
|
const showPrincipalHeaders = (0, _session.showsPrincipalHeaders)(principals);
|
|
204
|
-
const contextRows = principals.flatMap(principal => principal.contexts);
|
|
205
|
-
// Remounts the measured wrapper when the rows change, so the collapse animates
|
|
206
|
-
// to the new natural height instead of the previous one.
|
|
207
|
-
const switchListKey = contextRows.map(context => context.contextId).join(':');
|
|
208
|
-
const facepile = contextRows.map(context => ({
|
|
209
|
-
id: context.contextId,
|
|
210
|
-
uri: context.avatarUrl ?? undefined,
|
|
211
|
-
displayName: context.displayName
|
|
212
|
-
}));
|
|
213
|
-
|
|
214
|
-
// Used vs free is a two-part COMPOSITION (the parts always fill the bar), not
|
|
215
|
-
// a progress value — exactly what Bloom's `CompositionBar` models. Both colors
|
|
216
|
-
// are theme tokens, so the bar is correct in light and dark.
|
|
217
|
-
const storageCategories = storage ? [{
|
|
218
|
-
key: 'used',
|
|
219
|
-
name: t('accountMenu.storage.used'),
|
|
220
|
-
amount: storage.usedBytes,
|
|
221
|
-
color: theme.colors.primary
|
|
222
|
-
}, {
|
|
223
|
-
key: 'free',
|
|
224
|
-
name: t('accountMenu.storage.free'),
|
|
225
|
-
amount: Math.max(0, storage.limitBytes - storage.usedBytes),
|
|
226
|
-
color: theme.colors.contrast50
|
|
227
|
-
}] : [];
|
|
228
|
-
const usageLabel = storage ? t('accountMenu.storage.usage', {
|
|
229
|
-
used: formatStorageGb(storage.usedBytes),
|
|
230
|
-
total: formatStorageGb(storage.limitBytes)
|
|
231
|
-
}) : t('accountMenu.storage.unavailable');
|
|
232
73
|
|
|
233
|
-
//
|
|
234
|
-
//
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
context: context,
|
|
255
|
-
principalName: principal.displayName,
|
|
256
|
-
accent: (0, _types.resolveAccentHex)(context.color, theme.colors.primary),
|
|
257
|
-
activating: snapshot.activatingContextId === context.contextId,
|
|
258
|
-
removing: snapshot.removingContextId === context.contextId,
|
|
259
|
-
disabled: busy,
|
|
260
|
-
onActivate: () => handlers.onActivate(context.contextId),
|
|
261
|
-
onRemove: () => handlers.onRemoveContext(context.contextId),
|
|
262
|
-
theme: theme,
|
|
263
|
-
t: t
|
|
264
|
-
})]
|
|
265
|
-
}, context.contextId))]
|
|
266
|
-
}, principal.principalId)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.View, {
|
|
267
|
-
className: "h-px bg-border opacity-30 ml-space-12"
|
|
268
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(AccountAffordanceRow, {
|
|
269
|
-
icon: "plus",
|
|
270
|
-
label: t('accountMenu.addAnother'),
|
|
271
|
-
onPress: handlers.onAdd,
|
|
272
|
-
disabled: busy,
|
|
273
|
-
theme: theme
|
|
274
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.View, {
|
|
275
|
-
className: "h-px bg-border opacity-30 ml-space-12"
|
|
276
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(AccountAffordanceRow, {
|
|
277
|
-
icon: "account-multiple-outline",
|
|
278
|
-
label: t('accountSwitcher.manageOnDevice'),
|
|
279
|
-
onPress: handlers.onManage,
|
|
280
|
-
disabled: busy,
|
|
281
|
-
theme: theme
|
|
282
|
-
})]
|
|
283
|
-
});
|
|
74
|
+
// Direct children share Bloom's grouped shape and spacing. Keep the
|
|
75
|
+
// principal/context pair as the action identity, even for shared accounts.
|
|
76
|
+
const listItems = principals.flatMap(principal => [...(showPrincipalHeaders ? [/*#__PURE__*/(0, _jsxRuntime.jsx)(PrincipalHeaderRow, {
|
|
77
|
+
principal: principal,
|
|
78
|
+
removing: snapshot.removingPrincipalId === principal.principalId,
|
|
79
|
+
disabled: busy,
|
|
80
|
+
onSignOut: () => handlers.onRemovePrincipal(principal.principalId),
|
|
81
|
+
theme: theme,
|
|
82
|
+
t: t
|
|
83
|
+
}, `principal:${principal.principalId}`)] : []), ...principal.contexts.filter(context => !context.isActive).map(context => /*#__PURE__*/(0, _jsxRuntime.jsx)(ContextRow, {
|
|
84
|
+
context: context,
|
|
85
|
+
principalName: principal.displayName,
|
|
86
|
+
accent: (0, _types.resolveAccentHex)(context.color, theme.colors.primary),
|
|
87
|
+
activating: snapshot.activatingContextId === context.contextId,
|
|
88
|
+
removing: snapshot.removingContextId === context.contextId,
|
|
89
|
+
disabled: busy,
|
|
90
|
+
onActivate: () => handlers.onActivate(context.contextId),
|
|
91
|
+
onRemove: () => handlers.onRemoveContext(context.contextId),
|
|
92
|
+
theme: theme,
|
|
93
|
+
t: t
|
|
94
|
+
}, context.contextId))]);
|
|
284
95
|
const manageLabel = t('accountMenu.manage');
|
|
285
96
|
const switchLabel = t('accountMenu.switchAccount');
|
|
286
97
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.View, {
|
|
287
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(
|
|
288
|
-
style: _styles.authChooserStyles.
|
|
289
|
-
children: [
|
|
290
|
-
|
|
98
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_groupedSection.GroupedSection, {
|
|
99
|
+
style: _styles.authChooserStyles.menuGroup,
|
|
100
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.View, {
|
|
101
|
+
testID: "account-summary",
|
|
102
|
+
onPointerEnter: () => setSummaryHovered(true),
|
|
103
|
+
onPointerLeave: () => setSummaryHovered(false),
|
|
104
|
+
style: [_styles.authChooserStyles.accountSummary, summaryHovered && !busy && {
|
|
105
|
+
backgroundColor: theme.colors.contrast50
|
|
106
|
+
}],
|
|
107
|
+
children: [hero ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_pressableScale.PressableScale, {
|
|
291
108
|
onPress: handlers.onEditAvatar,
|
|
292
109
|
accessibilityRole: "button",
|
|
293
110
|
accessibilityLabel: t('editProfile.changeAvatar'),
|
|
294
|
-
style: _styles.authChooserStyles.
|
|
111
|
+
style: _styles.authChooserStyles.accountAvatar,
|
|
295
112
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_avatar.Avatar, {
|
|
296
113
|
source: hero.avatarUrl ?? undefined,
|
|
297
114
|
name: hero.displayName,
|
|
298
115
|
size: HERO_AVATAR_SIZE
|
|
299
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.View, {
|
|
300
|
-
style: [_styles.authChooserStyles.heroAvatarRing, {
|
|
301
|
-
borderColor: currentAccent
|
|
302
|
-
}],
|
|
303
|
-
pointerEvents: "none"
|
|
304
116
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_AvatarCameraBadge.default, {})]
|
|
305
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
})
|
|
315
|
-
}), hero.addressLine ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
316
|
-
style: [_styles.authChooserStyles.heroAddress, {
|
|
317
|
-
color: theme.colors.textSecondary
|
|
318
|
-
}],
|
|
319
|
-
numberOfLines: 1,
|
|
320
|
-
children: hero.addressLine
|
|
321
|
-
}) : null]
|
|
322
|
-
})]
|
|
323
|
-
}) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
324
|
-
appearance: "subtle",
|
|
325
|
-
tone: "neutral",
|
|
326
|
-
size: "sm",
|
|
327
|
-
onPress: handlers.onManage,
|
|
328
|
-
accessibilityLabel: manageLabel,
|
|
329
|
-
children: manageLabel
|
|
330
|
-
})]
|
|
331
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.View, {
|
|
332
|
-
className: "mb-space-16",
|
|
333
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeReanimated.default.View, {
|
|
334
|
-
style: [{
|
|
335
|
-
overflow: 'hidden'
|
|
336
|
-
}, switchCardStyle],
|
|
337
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.View, {
|
|
338
|
-
className: "bg-fill",
|
|
339
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(HoverPressable, {
|
|
340
|
-
baseClassName: `flex-row items-center gap-space-12 px-space-12 py-[10px] min-h-[44px]${busy ? ' opacity-60' : ''}`,
|
|
341
|
-
hoverClassName: "bg-fill-secondary",
|
|
342
|
-
onPress: toggleExpanded,
|
|
343
|
-
disabled: busy,
|
|
344
|
-
accessibilityRole: "button"
|
|
345
|
-
// The ARIA prop, not `accessibilityState`: react-native-web 0.21
|
|
346
|
-
// forwards only this one, and RN maps it to
|
|
347
|
-
// `accessibilityState.expanded` natively — so the disclosure state
|
|
348
|
-
// reaches assistive tech on BOTH platforms.
|
|
349
|
-
,
|
|
350
|
-
"aria-expanded": expanded,
|
|
351
|
-
accessibilityLabel: switchLabel,
|
|
117
|
+
}) : null, /*#__PURE__*/(0, _jsxRuntime.jsxs)(_pressableScale.PressableScale, {
|
|
118
|
+
className: `flex-1 min-w-0 flex-row items-center gap-space-12 py-space-12${busy ? ' opacity-60' : ''}`,
|
|
119
|
+
onPress: toggleExpanded,
|
|
120
|
+
disabled: busy,
|
|
121
|
+
accessibilityRole: "button",
|
|
122
|
+
"aria-expanded": expanded,
|
|
123
|
+
accessibilityLabel: switchLabel,
|
|
124
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.View, {
|
|
125
|
+
style: _styles.authChooserStyles.accountIdentity,
|
|
352
126
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
353
|
-
|
|
127
|
+
style: [_styles.authChooserStyles.accountName, {
|
|
128
|
+
color: theme.colors.text
|
|
129
|
+
}],
|
|
354
130
|
numberOfLines: 1,
|
|
355
|
-
children:
|
|
356
|
-
}),
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
size: FACEPILE_AVATAR_SIZE,
|
|
360
|
-
max: FACEPILE_MAX,
|
|
361
|
-
overlap: FACEPILE_OVERLAP,
|
|
362
|
-
variant: "thumb",
|
|
363
|
-
showInitials: true,
|
|
364
|
-
ringColor: theme.colors.card
|
|
365
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.View, {
|
|
366
|
-
style: [_styles.authChooserStyles.chevronCircle, {
|
|
367
|
-
backgroundColor: theme.colors.contrast50
|
|
131
|
+
children: hero?.displayName
|
|
132
|
+
}), hero?.addressLine ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
133
|
+
style: [_styles.authChooserStyles.accountAddress, {
|
|
134
|
+
color: theme.colors.textSecondary
|
|
368
135
|
}],
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
style: _styles.authChooserStyles.collapseMeasure,
|
|
383
|
-
onLayout: event => setListContentHeight(event.nativeEvent.layout.height),
|
|
384
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.View, {
|
|
385
|
-
children: listItems
|
|
136
|
+
numberOfLines: 1,
|
|
137
|
+
children: hero.addressLine
|
|
138
|
+
}) : null]
|
|
139
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.View, {
|
|
140
|
+
style: [_styles.authChooserStyles.chevronCircle, {
|
|
141
|
+
backgroundColor: theme.colors.contrast50
|
|
142
|
+
}],
|
|
143
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeReanimated.default.View, {
|
|
144
|
+
style: chevronStyle,
|
|
145
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
|
|
146
|
+
name: "chevron-down",
|
|
147
|
+
size: 20,
|
|
148
|
+
color: theme.colors.text
|
|
386
149
|
})
|
|
387
|
-
}
|
|
150
|
+
})
|
|
388
151
|
})]
|
|
389
|
-
})
|
|
390
|
-
})
|
|
391
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.View, {
|
|
392
|
-
className: "bg-fill rounded-[16px] overflow-hidden mb-space-16 px-space-12 py-[10px] gap-space-12",
|
|
393
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.View, {
|
|
394
|
-
className: "flex-row items-center gap-space-12 min-h-[24px]",
|
|
395
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_components.View, {
|
|
396
|
-
className: "w-[20px] items-center",
|
|
397
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
|
|
398
|
-
name: "cloud-outline",
|
|
399
|
-
size: ROW_ICON_SIZE,
|
|
400
|
-
color: theme.colors.textSecondary
|
|
401
|
-
})
|
|
402
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
403
|
-
className: "flex-1 text-body font-semibold text-text",
|
|
404
|
-
numberOfLines: 1,
|
|
405
|
-
children: t('accountMenu.storage.title')
|
|
406
152
|
})]
|
|
407
|
-
}), /*#__PURE__*/(0, _jsxRuntime.
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
153
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_groupedSection.GroupedSectionCollapse, {
|
|
154
|
+
open: expanded,
|
|
155
|
+
testID: "account-switcher-content",
|
|
156
|
+
children: [listItems, /*#__PURE__*/(0, _jsxRuntime.jsx)(AccountAffordanceRow, {
|
|
157
|
+
icon: "plus",
|
|
158
|
+
label: t('accountMenu.addAnother'),
|
|
159
|
+
onPress: handlers.onAdd,
|
|
160
|
+
disabled: busy,
|
|
161
|
+
theme: theme
|
|
162
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(AccountAffordanceRow, {
|
|
163
|
+
icon: "logout",
|
|
164
|
+
label: t('accountMenu.signOut'),
|
|
165
|
+
onPress: menu.onSignOut,
|
|
166
|
+
disabled: busy,
|
|
167
|
+
theme: theme
|
|
168
|
+
})]
|
|
169
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_groupedSection.GroupedSectionItem, {
|
|
170
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_LogoIcon.default, {
|
|
171
|
+
height: 22
|
|
172
|
+
}),
|
|
173
|
+
title: manageLabel,
|
|
174
|
+
onPress: handlers.onManage,
|
|
175
|
+
showChevron: false
|
|
176
|
+
})]
|
|
177
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_usageCard.UsageCard, {
|
|
178
|
+
title: t('accountMenu.storage.title'),
|
|
179
|
+
style: _styles.authChooserStyles.menuGroup,
|
|
180
|
+
usage: (0, _storageUsage.accountStorageUsage)(storage, theme.colors, t),
|
|
181
|
+
formatValue: _storageUsage.formatStorageSize,
|
|
182
|
+
labels: {
|
|
183
|
+
freeSpace: t('accountMenu.storage.free')
|
|
184
|
+
},
|
|
185
|
+
fallback: /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
186
|
+
className: "text-bodySmall text-text-secondary",
|
|
187
|
+
children: t('accountMenu.storage.unavailable')
|
|
188
|
+
}),
|
|
189
|
+
footer: (0, _storageUsage.shouldShowStorageActions)(storage) ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.View, {
|
|
190
|
+
className: "flex-row justify-end gap-space-8",
|
|
415
191
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(StorageChip, {
|
|
416
|
-
label: t('accountMenu.storage.
|
|
192
|
+
label: t('accountMenu.storage.getStorage'),
|
|
417
193
|
onPress: menu.onUpgradeStorage
|
|
418
194
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(StorageChip, {
|
|
419
|
-
label: t('accountMenu.storage.
|
|
195
|
+
label: t('accountMenu.storage.cleanUp'),
|
|
420
196
|
onPress: menu.onManageStorage
|
|
421
197
|
})]
|
|
422
|
-
})
|
|
423
|
-
}), /*#__PURE__*/(0, _jsxRuntime.
|
|
424
|
-
|
|
198
|
+
}) : undefined
|
|
199
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_groupedSection.GroupedSection, {
|
|
200
|
+
style: _styles.authChooserStyles.menuGroup,
|
|
201
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_groupedSection.GroupedSectionItem, {
|
|
202
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_groupedSection.GroupedSectionIcon, {
|
|
203
|
+
children: ({
|
|
204
|
+
color,
|
|
205
|
+
size
|
|
206
|
+
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_RiSparklingFill.RiSparklingFill, {
|
|
207
|
+
fill: color,
|
|
208
|
+
width: size,
|
|
209
|
+
height: size
|
|
210
|
+
})
|
|
211
|
+
}),
|
|
212
|
+
title: storage?.plan === 'pro' || storage?.plan === 'business' ? t('accountMenu.plan.current', {
|
|
213
|
+
plan: storage.plan === 'pro' ? 'Pro' : 'Business'
|
|
214
|
+
}) : t(storage?.plan === 'basic' ? 'accountMenu.plan.get' : 'accountMenu.plan.explore'),
|
|
215
|
+
description: storage?.plan === 'pro' || storage?.plan === 'business' ? t('accountMenu.plan.manage') : undefined,
|
|
216
|
+
onPress: menu.onOpenPlan,
|
|
217
|
+
showChevron: false
|
|
218
|
+
})
|
|
219
|
+
}), menu.sections.map(section => /*#__PURE__*/(0, _jsxRuntime.jsx)(_groupedSection.GroupedSection, {
|
|
220
|
+
title: section.title,
|
|
221
|
+
style: _styles.authChooserStyles.menuGroup,
|
|
222
|
+
children: section.items.map(item => /*#__PURE__*/(0, _jsxRuntime.jsx)(_groupedSection.GroupedSectionItem, {
|
|
223
|
+
icon: typeof item.icon === 'string' || !item.icon ? /*#__PURE__*/(0, _jsxRuntime.jsx)(MenuIcon, {
|
|
224
|
+
name: item.icon ?? 'dots-horizontal'
|
|
225
|
+
}) : item.icon,
|
|
226
|
+
title: item.label,
|
|
227
|
+
description: item.description,
|
|
228
|
+
value: item.badge,
|
|
229
|
+
disabled: item.disabled,
|
|
230
|
+
onPress: item.onPress,
|
|
231
|
+
showChevron: false
|
|
232
|
+
}, item.key))
|
|
233
|
+
}, section.key)), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_groupedSection.GroupedSection, {
|
|
234
|
+
style: _styles.authChooserStyles.menuGroup,
|
|
235
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_groupedSection.GroupedSectionItem, {
|
|
425
236
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(MenuIcon, {
|
|
426
|
-
name: "tray-arrow-down"
|
|
427
|
-
theme: theme
|
|
237
|
+
name: "tray-arrow-down"
|
|
428
238
|
}),
|
|
429
239
|
title: t('accountMenu.data'),
|
|
430
|
-
|
|
431
|
-
|
|
240
|
+
description: t('accountMenu.dataDescription'),
|
|
241
|
+
onPress: menu.onOpenData,
|
|
242
|
+
showChevron: false
|
|
243
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_groupedSection.GroupedSectionItem, {
|
|
432
244
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(MenuIcon, {
|
|
433
245
|
name: "cog-outline",
|
|
434
|
-
|
|
246
|
+
tone: "info"
|
|
435
247
|
}),
|
|
436
248
|
title: t('accountMenu.settings'),
|
|
437
|
-
|
|
438
|
-
|
|
249
|
+
description: t('accountMenu.settingsDescription'),
|
|
250
|
+
onPress: menu.onOpenSettings,
|
|
251
|
+
showChevron: false
|
|
252
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_groupedSection.GroupedSectionItem, {
|
|
439
253
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(MenuIcon, {
|
|
440
|
-
name: "help-circle-outline"
|
|
441
|
-
theme: theme
|
|
254
|
+
name: "help-circle-outline"
|
|
442
255
|
}),
|
|
443
256
|
title: t('accountMenu.help'),
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(MenuIcon, {
|
|
447
|
-
name: item.icon ?? 'dots-horizontal',
|
|
448
|
-
theme: theme
|
|
449
|
-
}),
|
|
450
|
-
title: item.label,
|
|
451
|
-
onPress: item.onPress
|
|
452
|
-
}, item.key)), /*#__PURE__*/(0, _jsxRuntime.jsx)(_settingsList.SettingsListItem, {
|
|
453
|
-
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(MenuIcon, {
|
|
454
|
-
name: "logout",
|
|
455
|
-
theme: theme
|
|
456
|
-
}),
|
|
457
|
-
title: t('accountMenu.signOut'),
|
|
458
|
-
onPress: menu.onSignOut,
|
|
257
|
+
description: t('accountOverview.items.help.subtitle'),
|
|
258
|
+
onPress: menu.onHelp,
|
|
459
259
|
showChevron: false
|
|
460
260
|
})]
|
|
461
261
|
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.View, {
|
|
462
|
-
className: "flex-row items-center justify-center gap-space-12 px-space-12 pb-space-8",
|
|
463
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
262
|
+
className: "flex-row items-center justify-center gap-space-12 px-space-12 pt-space-12 pb-space-8",
|
|
263
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_button.LinkButton, {
|
|
264
|
+
size: "sm",
|
|
265
|
+
linkTone: "secondary",
|
|
464
266
|
onPress: menu.onPrivacy,
|
|
465
|
-
|
|
466
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
467
|
-
className: "text-bodySmall text-text-secondary",
|
|
468
|
-
children: t('accountMenu.privacy')
|
|
469
|
-
})
|
|
267
|
+
children: t('accountMenu.privacy')
|
|
470
268
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
471
269
|
className: "text-bodySmall text-text-tertiary",
|
|
472
270
|
children: "\xB7"
|
|
473
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
271
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.LinkButton, {
|
|
272
|
+
size: "sm",
|
|
273
|
+
linkTone: "secondary",
|
|
474
274
|
onPress: menu.onTerms,
|
|
475
|
-
|
|
476
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
477
|
-
className: "text-bodySmall text-text-secondary",
|
|
478
|
-
children: t('accountMenu.terms')
|
|
479
|
-
})
|
|
275
|
+
children: t('accountMenu.terms')
|
|
480
276
|
})]
|
|
481
277
|
})]
|
|
482
278
|
});
|
|
@@ -520,21 +316,15 @@ const PrincipalHeaderRow = ({
|
|
|
520
316
|
numberOfLines: 1,
|
|
521
317
|
children: `@${principal.handle}`
|
|
522
318
|
}) : null]
|
|
523
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
524
|
-
|
|
525
|
-
|
|
319
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
320
|
+
appearance: "plain",
|
|
321
|
+
tone: "neutral",
|
|
322
|
+
size: "sm",
|
|
526
323
|
onPress: onSignOut,
|
|
527
324
|
disabled: disabled,
|
|
528
|
-
|
|
325
|
+
loading: removing,
|
|
529
326
|
accessibilityLabel: signOutLabel,
|
|
530
|
-
children:
|
|
531
|
-
name: "loading",
|
|
532
|
-
size: 16,
|
|
533
|
-
color: theme.colors.textSecondary
|
|
534
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
535
|
-
className: "text-caption text-text-secondary",
|
|
536
|
-
children: t('accountMenu.signOut')
|
|
537
|
-
})
|
|
327
|
+
children: t('accountMenu.signOut')
|
|
538
328
|
})]
|
|
539
329
|
});
|
|
540
330
|
};
|
|
@@ -569,66 +359,50 @@ const ContextRow = ({
|
|
|
569
359
|
});
|
|
570
360
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.View, {
|
|
571
361
|
className: "flex-row items-center",
|
|
572
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
accessibilityState: {
|
|
579
|
-
selected: context.isActive,
|
|
580
|
-
disabled: rowDisabled
|
|
581
|
-
},
|
|
582
|
-
accessibilityLabel: context.displayName,
|
|
583
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.View, {
|
|
584
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_avatar.Avatar, {
|
|
362
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_components.View, {
|
|
363
|
+
className: "flex-1 min-w-0",
|
|
364
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_groupedSection.GroupedSectionItem, {
|
|
365
|
+
title: context.displayName,
|
|
366
|
+
description: unavailable ? t('accountSwitcher.context.unavailable') : context.handle ? `@${context.handle}` : undefined,
|
|
367
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_avatar.Avatar, {
|
|
585
368
|
source: context.avatarUrl ?? undefined,
|
|
586
369
|
variant: "thumb",
|
|
587
370
|
name: context.displayName,
|
|
588
371
|
size: SWITCH_AVATAR_SIZE
|
|
589
|
-
}),
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
color: accent
|
|
610
|
-
}) : null]
|
|
611
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(HoverPressable, {
|
|
612
|
-
baseClassName: `px-space-12 py-[10px]${disabled ? ' opacity-60' : ''}`,
|
|
613
|
-
hoverClassName: "bg-fill-secondary",
|
|
372
|
+
}),
|
|
373
|
+
onPress: onActivate,
|
|
374
|
+
disabled: rowDisabled,
|
|
375
|
+
accessibilityState: {
|
|
376
|
+
selected: context.isActive,
|
|
377
|
+
disabled: rowDisabled,
|
|
378
|
+
busy: activating
|
|
379
|
+
},
|
|
380
|
+
accessibilityLabel: context.displayName,
|
|
381
|
+
showChevron: false,
|
|
382
|
+
rightElement: activating ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_loading.SpinnerIcon, {
|
|
383
|
+
size: 20,
|
|
384
|
+
color: accent
|
|
385
|
+
}) : undefined
|
|
386
|
+
})
|
|
387
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
388
|
+
appearance: "plain",
|
|
389
|
+
tone: "neutral",
|
|
390
|
+
size: "sm",
|
|
391
|
+
iconOnly: true,
|
|
614
392
|
onPress: onRemove,
|
|
615
393
|
disabled: disabled,
|
|
616
|
-
|
|
394
|
+
loading: removing,
|
|
617
395
|
accessibilityLabel: removeLabel,
|
|
618
|
-
|
|
619
|
-
name:
|
|
620
|
-
size: 18
|
|
621
|
-
color: theme.colors.textTertiary
|
|
396
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
|
|
397
|
+
name: "close",
|
|
398
|
+
size: 18
|
|
622
399
|
})
|
|
623
400
|
})]
|
|
624
401
|
});
|
|
625
402
|
};
|
|
626
403
|
|
|
627
404
|
/**
|
|
628
|
-
*
|
|
629
|
-
* this device") — a bordered circle sized to the avatar it stands in for, so its
|
|
630
|
-
* label lands on the same line as every account name above it. Own markup, like
|
|
631
|
-
* the account rows it closes: this list is not a Bloom grouped section.
|
|
405
|
+
* Account actions align with the avatars above them inside the same Bloom group.
|
|
632
406
|
*/
|
|
633
407
|
const AccountAffordanceRow = ({
|
|
634
408
|
icon,
|
|
@@ -636,54 +410,40 @@ const AccountAffordanceRow = ({
|
|
|
636
410
|
onPress,
|
|
637
411
|
disabled,
|
|
638
412
|
theme
|
|
639
|
-
}) => /*#__PURE__*/(0, _jsxRuntime.
|
|
640
|
-
|
|
641
|
-
hoverClassName: "bg-fill-secondary",
|
|
413
|
+
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_groupedSection.GroupedSectionItem, {
|
|
414
|
+
title: label,
|
|
642
415
|
onPress: onPress,
|
|
643
416
|
disabled: disabled,
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
|
|
649
|
-
name: icon,
|
|
650
|
-
size: BADGE_GLYPH_SIZE,
|
|
651
|
-
color: theme.colors.textSecondary
|
|
652
|
-
})
|
|
653
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_typography.Text, {
|
|
654
|
-
className: "flex-1 text-body font-semibold text-text",
|
|
655
|
-
numberOfLines: 1,
|
|
656
|
-
children: label
|
|
657
|
-
})]
|
|
417
|
+
showChevron: false,
|
|
418
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(MenuIcon, {
|
|
419
|
+
name: icon
|
|
420
|
+
})
|
|
658
421
|
});
|
|
659
422
|
|
|
660
|
-
/**
|
|
661
|
-
* The leading glyph for a grouped-section menu row, sized to Bloom's 20px icon
|
|
662
|
-
* column so the icons, the storage block's cloud and every row title align.
|
|
663
|
-
*/
|
|
423
|
+
/** Bloom owns the icon surface, sizing and contrast. */
|
|
664
424
|
const MenuIcon = ({
|
|
665
425
|
name,
|
|
666
|
-
|
|
667
|
-
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
426
|
+
tone
|
|
427
|
+
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_groupedSection.GroupedSectionIcon, {
|
|
428
|
+
tone: tone,
|
|
429
|
+
children: ({
|
|
430
|
+
color,
|
|
431
|
+
size
|
|
432
|
+
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialCommunityIcons.default, {
|
|
433
|
+
name: name,
|
|
434
|
+
size: size,
|
|
435
|
+
color: color
|
|
436
|
+
})
|
|
671
437
|
});
|
|
672
|
-
|
|
673
|
-
/** A storage action chip — a bordered pill on the sheet background. */
|
|
674
438
|
const StorageChip = ({
|
|
675
439
|
label,
|
|
676
440
|
onPress
|
|
677
|
-
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
678
|
-
|
|
679
|
-
|
|
441
|
+
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_button.Button, {
|
|
442
|
+
appearance: "plain",
|
|
443
|
+
size: "sm",
|
|
680
444
|
onPress: onPress,
|
|
681
|
-
accessibilityRole: "button",
|
|
682
445
|
accessibilityLabel: label,
|
|
683
|
-
children:
|
|
684
|
-
className: "text-bodySmall font-semibold text-text",
|
|
685
|
-
children: label
|
|
686
|
-
})
|
|
446
|
+
children: label
|
|
687
447
|
});
|
|
688
448
|
var _default = exports.default = AccountsMenuView;
|
|
689
449
|
//# sourceMappingURL=AccountsMenuView.js.map
|