@oxy.so/services 3.0.0 → 4.0.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/LICENSE +675 -201
- package/NOTICE +215 -3
- package/README.md +1 -3
- 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 +5 -11
- 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 +5 -11
- package/lib/commonjs/ui/components/FollowButton.js +15 -28
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/FollowTargetButton.js +17 -13
- package/lib/commonjs/ui/components/FollowTargetButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAuthPrompt.js +3 -2
- package/lib/commonjs/ui/components/OxyAuthPrompt.js.map +1 -1
- package/lib/commonjs/ui/components/OxyConsentScreen.js +4 -2
- package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInRequestSurface.js +2 -1
- package/lib/commonjs/ui/components/OxySignInRequestSurface.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileButton.js +67 -267
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileSummaryCard.js +2 -2
- package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -1
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js +9 -49
- package/lib/commonjs/ui/components/SurfaceHeaderAction.js.map +1 -1
- package/lib/commonjs/ui/components/SurfaceScreen.js +3 -2
- package/lib/commonjs/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js +2 -1
- package/lib/commonjs/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js +2 -1
- package/lib/commonjs/ui/components/authChooser/SignInEntryView.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/SignUpView.js +4 -2
- package/lib/commonjs/ui/components/authChooser/SignUpView.js.map +1 -1
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js +2 -1
- package/lib/commonjs/ui/components/authChooser/requestSurfaces.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +20 -14
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +48 -85
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +35 -31
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +9 -6
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +22 -19
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +6 -3
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +6 -3
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +7 -5
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +20 -17
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +2 -1
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js +5 -3
- package/lib/commonjs/ui/components/surfaces/ActionSheetSurface.js.map +1 -1
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js +0 -6
- package/lib/commonjs/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountMembersScreen.js +36 -60
- package/lib/commonjs/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +2 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +16 -7
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +7 -6
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CreateAccountScreen.js +2 -1
- package/lib/commonjs/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +18 -9
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +99 -200
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +8 -9
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +19 -8
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +2 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +20 -10
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +4 -2
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +2 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +31 -33
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +22 -11
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js +7 -18
- package/lib/commonjs/ui/screens/fileManagement/FileLibraryError.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +7 -16
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +6 -6
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +23 -66
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +17 -8
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +2 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +3 -2
- 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 +5 -11
- 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 +5 -11
- package/lib/module/ui/components/FollowButton.js +15 -28
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/FollowTargetButton.js +15 -12
- package/lib/module/ui/components/FollowTargetButton.js.map +1 -1
- package/lib/module/ui/components/OxyAuthPrompt.js +2 -1
- package/lib/module/ui/components/OxyAuthPrompt.js.map +1 -1
- package/lib/module/ui/components/OxyConsentScreen.js +4 -2
- package/lib/module/ui/components/OxyConsentScreen.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/OxySignInRequestSurface.js +2 -1
- package/lib/module/ui/components/OxySignInRequestSurface.js.map +1 -1
- package/lib/module/ui/components/ProfileButton.js +70 -269
- package/lib/module/ui/components/ProfileButton.js.map +1 -1
- package/lib/module/ui/components/ProfileSummaryCard.js +2 -2
- package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -1
- package/lib/module/ui/components/SurfaceHeaderAction.js +8 -48
- package/lib/module/ui/components/SurfaceHeaderAction.js.map +1 -1
- package/lib/module/ui/components/SurfaceScreen.js +2 -1
- package/lib/module/ui/components/SurfaceScreen.js.map +1 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js +2 -1
- package/lib/module/ui/components/authChooser/AccountsMenuView.js.map +1 -1
- package/lib/module/ui/components/authChooser/SignInEntryView.js +2 -1
- package/lib/module/ui/components/authChooser/SignInEntryView.js.map +1 -1
- package/lib/module/ui/components/authChooser/SignUpView.js +4 -2
- package/lib/module/ui/components/authChooser/SignUpView.js.map +1 -1
- package/lib/module/ui/components/authChooser/requestSurfaces.js +2 -1
- package/lib/module/ui/components/authChooser/requestSurfaces.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +12 -6
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +38 -75
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +31 -27
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +6 -3
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +6 -3
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +6 -3
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +6 -3
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +4 -2
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +6 -3
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +2 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js +4 -2
- package/lib/module/ui/components/surfaces/ActionSheetSurface.js.map +1 -1
- package/lib/module/ui/icons/subsetGlyphMaps.js +0 -6
- package/lib/module/ui/icons/subsetGlyphMaps.js.map +1 -1
- package/lib/module/ui/screens/AccountMembersScreen.js +37 -61
- package/lib/module/ui/screens/AccountMembersScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +2 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +15 -7
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +2 -1
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/module/ui/screens/CreateAccountScreen.js +2 -1
- package/lib/module/ui/screens/CreateAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +18 -9
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +91 -192
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +9 -10
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +18 -7
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +2 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +20 -10
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +4 -2
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +2 -1
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +32 -34
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +22 -11
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js +6 -17
- package/lib/module/ui/screens/fileManagement/FileLibraryError.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileListSection.js +5 -14
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +3 -3
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/UploadBar.js +24 -66
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustAboutScreen.js +16 -7
- package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +2 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +2 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowTargetButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAuthPrompt.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts +1 -20
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts +1 -5
- package/lib/typescript/commonjs/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.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/PaymentMethodStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -1
- 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 +0 -6
- package/lib/typescript/commonjs/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountMembersScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.d.ts +0 -2
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileLibraryError.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.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts +1 -14
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowTargetButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAuthPrompt.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts +1 -1
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts +1 -20
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts +1 -5
- package/lib/typescript/module/ui/components/SurfaceHeaderAction.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SurfaceScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.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/PaymentMethodStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/photogrid/JustifiedPhotoGrid.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/surfaces/ActionSheetSurface.d.ts.map +1 -1
- 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 +0 -6
- package/lib/typescript/module/ui/icons/subsetGlyphMaps.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountMembersScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.d.ts +0 -2
- package/lib/typescript/module/ui/screens/fileManagement/FileLibraryError.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.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts +1 -14
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/package.json +7 -7
- 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 +5 -11
- package/src/ui/components/FollowButton.tsx +14 -29
- package/src/ui/components/FollowTargetButton.tsx +14 -12
- package/src/ui/components/OxyAuthPrompt.tsx +2 -7
- package/src/ui/components/OxyConsentScreen.tsx +2 -2
- package/src/ui/components/OxySignInButton.tsx +2 -2
- package/src/ui/components/OxySignInRequestSurface.tsx +1 -1
- package/src/ui/components/ProfileButton.tsx +30 -297
- package/src/ui/components/ProfileSummaryCard.tsx +1 -2
- package/src/ui/components/SurfaceHeaderAction.tsx +7 -49
- package/src/ui/components/SurfaceScreen.tsx +2 -1
- package/src/ui/components/authChooser/AccountsMenuView.tsx +1 -1
- package/src/ui/components/authChooser/SignInEntryView.tsx +1 -1
- package/src/ui/components/authChooser/SignUpView.tsx +2 -2
- package/src/ui/components/authChooser/requestSurfaces.tsx +1 -1
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +8 -6
- package/src/ui/components/fileManagement/FileViewer.tsx +21 -50
- package/src/ui/components/fileManagement/UploadPreview.tsx +12 -29
- package/src/ui/components/modals/DeleteAccountModal.tsx +4 -3
- package/src/ui/components/payment/PaymentDetailsStep.tsx +4 -3
- package/src/ui/components/payment/PaymentMethodStep.tsx +4 -3
- package/src/ui/components/payment/PaymentReviewStep.tsx +4 -3
- package/src/ui/components/payment/PaymentSuccessStep.tsx +3 -2
- package/src/ui/components/payment/PaymentSummaryStep.tsx +4 -3
- package/src/ui/components/photogrid/JustifiedPhotoGrid.tsx +2 -1
- package/src/ui/components/surfaces/ActionSheetSurface.tsx +3 -2
- package/src/ui/icons/subsetGlyphMaps.ts +0 -6
- package/src/ui/screens/AccountMembersScreen.tsx +17 -65
- package/src/ui/screens/AccountSettingsScreen.tsx +1 -1
- package/src/ui/screens/AccountVerificationScreen.tsx +14 -7
- package/src/ui/screens/AvatarCropScreen.tsx +2 -10
- package/src/ui/screens/CreateAccountScreen.tsx +1 -1
- package/src/ui/screens/FeedbackScreen.tsx +9 -9
- package/src/ui/screens/FileManagementScreen.tsx +37 -184
- package/src/ui/screens/LanguageSelectorScreen.tsx +5 -13
- package/src/ui/screens/LearnMoreUsernamesScreen.tsx +17 -7
- package/src/ui/screens/PaymentGatewayScreen.tsx +1 -1
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +10 -10
- package/src/ui/screens/PrivacySettingsScreen.tsx +2 -2
- package/src/ui/screens/ProfileScreen.tsx +1 -1
- package/src/ui/screens/UserListScreen.tsx +17 -44
- package/src/ui/screens/WelcomeNewUserScreen.tsx +11 -11
- package/src/ui/screens/fileManagement/FileLibraryError.tsx +6 -14
- package/src/ui/screens/fileManagement/FileListSection.tsx +4 -16
- package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +2 -13
- package/src/ui/screens/fileManagement/UploadBar.tsx +17 -56
- package/src/ui/screens/trust/TrustAboutScreen.tsx +16 -7
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +1 -1
- package/src/ui/screens/trust/TrustRulesScreen.tsx +2 -1
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +0 -61
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +0 -1
- package/lib/commonjs/ui/components/internal/PinInput.js +0 -118
- package/lib/commonjs/ui/components/internal/PinInput.js.map +0 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js +0 -55
- package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +0 -1
- package/lib/module/ui/components/internal/PinInput.js +0 -113
- package/lib/module/ui/components/internal/PinInput.js.map +0 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +0 -17
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts +0 -23
- package/lib/typescript/commonjs/ui/components/internal/PinInput.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +0 -17
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/internal/PinInput.d.ts +0 -23
- package/lib/typescript/module/ui/components/internal/PinInput.d.ts.map +0 -1
- package/src/ui/components/fileManagement/AnimatedButton.tsx +0 -64
- package/src/ui/components/internal/PinInput.tsx +0 -123
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { useCallback, useEffect, useMemo
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
3
|
+
import { useCallback, useEffect, useMemo } from 'react';
|
|
4
|
+
import { View } from 'react-native-css/components';
|
|
5
|
+
import * as Icons from '@oxy.so/bloom/icons';
|
|
6
|
+
import { Button } from '@oxy.so/bloom/button';
|
|
7
7
|
import { Avatar } from '@oxy.so/bloom/avatar';
|
|
8
8
|
import * as Skeleton from '@oxy.so/bloom/skeleton';
|
|
9
9
|
import { Text } from '@oxy.so/bloom/typography';
|
|
@@ -13,55 +13,8 @@ import { useAuth } from "../hooks/useAuth.js";
|
|
|
13
13
|
import { useOxy } from "../context/OxyContext.js";
|
|
14
14
|
import { useI18n } from "../hooks/useI18n.js";
|
|
15
15
|
import { registerAccountDialogConsumerHooks } from "../navigation/accountDialogManager.js";
|
|
16
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Web-only Bluesky-style hover animation timings, mirrored from
|
|
21
|
-
* `social-app/src/view/shell/desktop/LeftNav.tsx`. The row background and the
|
|
22
|
-
* name/handle/chevron opacity cross-fade quickly; the avatar shrink+slide is
|
|
23
|
-
* slower and more deliberate. A short delay on the LEAVE transition keeps the
|
|
24
|
-
* row from flickering when the pointer crosses a child boundary.
|
|
25
|
-
*/
|
|
26
|
-
const BG_TRANSITION_MS = 150;
|
|
27
|
-
const AVATAR_TRANSITION_MS = 250;
|
|
28
|
-
const OPACITY_TRANSITION_MS = 150;
|
|
29
|
-
const LEAVE_DELAY_MS = 50;
|
|
30
|
-
|
|
31
|
-
/** Shrunk-avatar scale on hover, matching Bluesky's `scale: 2/3`. */
|
|
32
|
-
const ACTIVE_AVATAR_SCALE = 2 / 3;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Reads the OS "reduce motion" preference on web. Guards `window`/`matchMedia`
|
|
36
|
-
* so it is safe during SSR and on native (where it is never called). When
|
|
37
|
-
* reduced motion is on, the avatar transform snaps instead of transitioning.
|
|
38
|
-
*/
|
|
39
|
-
const prefersReducedMotion = () => {
|
|
40
|
-
if (typeof window === 'undefined' || typeof window.matchMedia !== 'function') {
|
|
41
|
-
return false;
|
|
42
|
-
}
|
|
43
|
-
return window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* Self-contained sidebar account trigger, modeled on Bluesky's ProfileCard and
|
|
47
|
-
* the Oxy inbox's `MailboxDrawer` footer. Pressing it opens the unified
|
|
48
|
-
* {@link OxyAccountDialogScreen} — the single account switcher + sign-in surface — via
|
|
49
|
-
* `useOxy().openAccountDialog`.
|
|
50
|
-
*
|
|
51
|
-
* Three auth states from {@link useAuth}:
|
|
52
|
-
* - **Undetermined** (`!isAuthResolved || isPrivateApiPending`): a neutral
|
|
53
|
-
* avatar-sized skeleton circle, no press.
|
|
54
|
-
* - **Signed in**: a pressable row — Bloom `Avatar` + display name + `@handle`
|
|
55
|
-
* + a chevron. Press opens the dialog on its `accounts` view.
|
|
56
|
-
* - **Signed out**: a "Sign in" row that calls `useAuth().signIn()` (which opens
|
|
57
|
-
* the dialog on its `signin` view).
|
|
58
|
-
*
|
|
59
|
-
* Styling uses react-native `StyleSheet` + the Bloom theme (via `useTheme`) so
|
|
60
|
-
* the layout renders identically in EVERY consumer — including apps that do not
|
|
61
|
-
* use NativeWind (e.g. the accounts app). Only the web hover animation keeps
|
|
62
|
-
* dynamic inline `style` (the CSS transition/transform values), which is what
|
|
63
|
-
* the `react-native-web-style.d.ts` augmentation exists for.
|
|
64
|
-
*/
|
|
16
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
17
|
+
/** Account business binding over Bloom's shared Button and Avatar. */
|
|
65
18
|
const ProfileButton = ({
|
|
66
19
|
expanded = true,
|
|
67
20
|
avatarSize,
|
|
@@ -90,11 +43,6 @@ const ProfileButton = ({
|
|
|
90
43
|
t,
|
|
91
44
|
locale
|
|
92
45
|
} = useI18n();
|
|
93
|
-
|
|
94
|
-
// Web-only hover/focus tracking for the Bluesky-style reveal animation.
|
|
95
|
-
// Native has no hover, so these stay false and the row renders statically.
|
|
96
|
-
const [hovered, setHovered] = useState(false);
|
|
97
|
-
const [focused, setFocused] = useState(false);
|
|
98
46
|
const resolvedAvatarSize = avatarSize ?? (expanded ? 40 : 32);
|
|
99
47
|
const openDialog = useCallback(() => {
|
|
100
48
|
openAccountDialog('accounts');
|
|
@@ -124,222 +72,75 @@ const ProfileButton = ({
|
|
|
124
72
|
})
|
|
125
73
|
});
|
|
126
74
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
return /*#__PURE__*/_jsxs(Pressable, {
|
|
132
|
-
className: className,
|
|
133
|
-
style: [styles.row, expanded && styles.rowExpanded, style],
|
|
134
|
-
onPress: () => {
|
|
135
|
-
void signIn();
|
|
136
|
-
},
|
|
137
|
-
accessibilityRole: "button",
|
|
138
|
-
accessibilityLabel: signInLabel,
|
|
139
|
-
children: [/*#__PURE__*/_jsx(View, {
|
|
140
|
-
style: [styles.avatarBadge, {
|
|
141
|
-
width: resolvedAvatarSize,
|
|
142
|
-
height: resolvedAvatarSize,
|
|
143
|
-
backgroundColor: colors.backgroundSecondary
|
|
144
|
-
}],
|
|
145
|
-
children: /*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
146
|
-
name: "login",
|
|
147
|
-
size: Math.round(resolvedAvatarSize * 0.5),
|
|
148
|
-
color: colors.icon
|
|
149
|
-
})
|
|
150
|
-
}), expanded ? /*#__PURE__*/_jsx(Text, {
|
|
151
|
-
style: [styles.signInLabel, {
|
|
152
|
-
color: colors.text
|
|
153
|
-
}],
|
|
154
|
-
numberOfLines: 1,
|
|
155
|
-
children: signInLabel
|
|
156
|
-
}) : null]
|
|
157
|
-
});
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
// ── Signed in: avatar + identity + chevron. ─────────────────────────────
|
|
161
|
-
const displayName = user?.name?.displayName ?? getNormalizedUserHandle(user) ?? getAccountDisplayName(null, locale);
|
|
162
|
-
const handle = getAccountFallbackHandle(user);
|
|
163
|
-
const handleLine = handle ? `@${handle}` : null;
|
|
164
|
-
const avatarNode = /*#__PURE__*/_jsx(Avatar, {
|
|
165
|
-
source: avatarUrl,
|
|
166
|
-
variant: "thumb",
|
|
167
|
-
name: displayName,
|
|
168
|
-
size: resolvedAvatarSize
|
|
169
|
-
});
|
|
170
|
-
|
|
171
|
-
// `active` combines hover and keyboard focus — exactly like Bluesky's
|
|
172
|
-
// `state.hovered || state.focused`. Only web ever sets these, so on native
|
|
173
|
-
// the row renders statically.
|
|
174
|
-
const active = hovered || focused;
|
|
175
|
-
const accountLabel = t('accountSwitcher.switchWhileSignedInAs', {
|
|
75
|
+
const signedIn = isAuthenticated && Boolean(user);
|
|
76
|
+
const displayName = signedIn ? user?.name?.displayName ?? getNormalizedUserHandle(user) ?? getAccountDisplayName(null, locale) : t('common.actions.signIn') || 'Sign in';
|
|
77
|
+
const handle = signedIn ? getAccountFallbackHandle(user) : undefined;
|
|
78
|
+
const label = signedIn ? t('accountSwitcher.switchWhileSignedInAs', {
|
|
176
79
|
name: displayName
|
|
177
|
-
});
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
// we only attach them on web to keep the native path pristine.
|
|
182
|
-
const webInteractionProps = isWeb ? {
|
|
183
|
-
onHoverIn: () => setHovered(true),
|
|
184
|
-
onHoverOut: () => setHovered(false),
|
|
185
|
-
onFocus: () => setFocused(true),
|
|
186
|
-
onBlur: () => setFocused(false)
|
|
187
|
-
} : undefined;
|
|
188
|
-
if (!expanded) {
|
|
189
|
-
// Collapsed: avatar-only. On web, hovering just fades a subtle round
|
|
190
|
-
// background behind the avatar — no shrink, no text.
|
|
191
|
-
const collapsedBgStyle = isWeb ? {
|
|
192
|
-
backgroundColor: active ? colors.backgroundSecondary : 'transparent',
|
|
193
|
-
transitionProperty: 'background-color',
|
|
194
|
-
transitionDuration: `${BG_TRANSITION_MS}ms`,
|
|
195
|
-
transitionDelay: active ? '0ms' : `${LEAVE_DELAY_MS}ms`
|
|
196
|
-
} : undefined;
|
|
197
|
-
return /*#__PURE__*/_jsx(View, {
|
|
198
|
-
className: className,
|
|
199
|
-
style: style,
|
|
200
|
-
children: /*#__PURE__*/_jsx(Pressable, {
|
|
201
|
-
style: [styles.collapsedTrigger, collapsedBgStyle],
|
|
202
|
-
onPress: openDialog,
|
|
203
|
-
accessibilityRole: "button",
|
|
204
|
-
accessibilityLabel: accountLabel,
|
|
205
|
-
...webInteractionProps,
|
|
206
|
-
children: avatarNode
|
|
207
|
-
})
|
|
208
|
-
});
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
// ── Expanded row animation ──────────────────────────────────────────────
|
|
212
|
-
// On native everything is statically visible (no hover exists). On web we
|
|
213
|
-
// reproduce Bluesky's reveal: the row fills with a subtle contrast bg, the
|
|
214
|
-
// avatar shrinks + slides left, and the name/handle/actions fade in from
|
|
215
|
-
// behind it. Keeping the identity hidden while inactive is what makes the
|
|
216
|
-
// negative margin intentional instead of an overlap.
|
|
217
|
-
const reducedMotion = isWeb && prefersReducedMotion();
|
|
218
|
-
|
|
219
|
-
// Slide the shrunk avatar left so its visual left edge stays put as it
|
|
220
|
-
// contracts. The avatar loses `size * (1 - scale)` of width; half of that
|
|
221
|
-
// (the left half, since scale is centered) is the offset, plus the row's
|
|
222
|
-
// left padding (8px) so it hugs the row edge like Bluesky's.
|
|
223
|
-
const activeAvatarTranslateX = -(resolvedAvatarSize * (1 - ACTIVE_AVATAR_SCALE)) / 2 - 8;
|
|
224
|
-
const rowStyle = isWeb ? {
|
|
225
|
-
backgroundColor: active ? colors.backgroundSecondary : 'transparent',
|
|
226
|
-
transitionProperty: 'background-color',
|
|
227
|
-
transitionDuration: `${BG_TRANSITION_MS}ms`,
|
|
228
|
-
transitionDelay: active ? '0ms' : `${LEAVE_DELAY_MS}ms`
|
|
229
|
-
} : undefined;
|
|
230
|
-
const avatarWrapperStyle = isWeb ? {
|
|
231
|
-
zIndex: 10,
|
|
232
|
-
...(reducedMotion ? {} : {
|
|
233
|
-
transitionProperty: 'transform',
|
|
234
|
-
transitionDuration: `${AVATAR_TRANSITION_MS}ms`,
|
|
235
|
-
transitionDelay: active ? '0ms' : `${LEAVE_DELAY_MS}ms`
|
|
236
|
-
}),
|
|
237
|
-
transform: active ? [{
|
|
238
|
-
scale: ACTIVE_AVATAR_SCALE
|
|
239
|
-
}, {
|
|
240
|
-
translateX: activeAvatarTranslateX
|
|
241
|
-
}] : [{
|
|
242
|
-
scale: 1
|
|
243
|
-
}, {
|
|
244
|
-
translateX: 0
|
|
245
|
-
}]
|
|
246
|
-
} : undefined;
|
|
247
|
-
const identityStyle = isWeb ? {
|
|
248
|
-
marginLeft: -resolvedAvatarSize / 2,
|
|
249
|
-
opacity: active ? 1 : 0,
|
|
250
|
-
transitionProperty: 'opacity',
|
|
251
|
-
transitionDuration: `${OPACITY_TRANSITION_MS}ms`,
|
|
252
|
-
transitionDelay: active ? '0ms' : `${LEAVE_DELAY_MS}ms`
|
|
253
|
-
} : undefined;
|
|
254
|
-
const actionStyle = isWeb ? {
|
|
255
|
-
opacity: active ? 1 : 0,
|
|
256
|
-
transitionProperty: 'opacity',
|
|
257
|
-
transitionDuration: `${OPACITY_TRANSITION_MS}ms`,
|
|
258
|
-
transitionDelay: active ? '0ms' : `${LEAVE_DELAY_MS}ms`
|
|
259
|
-
} : undefined;
|
|
260
|
-
return /*#__PURE__*/_jsx(View, {
|
|
80
|
+
}) : displayName;
|
|
81
|
+
return /*#__PURE__*/_jsx(Button, {
|
|
82
|
+
appearance: "plain",
|
|
83
|
+
tone: "neutral",
|
|
261
84
|
className: className,
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
85
|
+
accessibilityLabel: label,
|
|
86
|
+
onPress: signedIn ? openDialog : () => {
|
|
87
|
+
void signIn();
|
|
88
|
+
},
|
|
89
|
+
style: [{
|
|
90
|
+
height: resolvedAvatarSize + 16,
|
|
91
|
+
borderRadius: 9999,
|
|
92
|
+
paddingLeft: 8,
|
|
93
|
+
paddingRight: 8,
|
|
94
|
+
...(expanded ? {
|
|
95
|
+
width: '100%'
|
|
96
|
+
} : {
|
|
97
|
+
width: resolvedAvatarSize + 16
|
|
98
|
+
})
|
|
99
|
+
}, style],
|
|
100
|
+
trailing: /*#__PURE__*/_jsxs(View, {
|
|
101
|
+
style: {
|
|
102
|
+
flexDirection: 'row',
|
|
103
|
+
alignItems: 'center',
|
|
104
|
+
gap: 12,
|
|
105
|
+
...(expanded ? {
|
|
106
|
+
flex: 1
|
|
107
|
+
} : {})
|
|
108
|
+
},
|
|
109
|
+
children: [signedIn ? /*#__PURE__*/_jsx(Avatar, {
|
|
110
|
+
source: avatarUrl,
|
|
111
|
+
variant: "thumb",
|
|
112
|
+
name: displayName,
|
|
113
|
+
size: resolvedAvatarSize
|
|
114
|
+
}) : /*#__PURE__*/_jsx(Icons.RiLoginBoxLine, {
|
|
115
|
+
width: resolvedAvatarSize / 2,
|
|
116
|
+
height: resolvedAvatarSize / 2,
|
|
117
|
+
color: colors.icon
|
|
118
|
+
}), expanded ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
119
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
120
|
+
style: {
|
|
121
|
+
flex: 1,
|
|
122
|
+
minWidth: 0
|
|
123
|
+
},
|
|
124
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
125
|
+
variant: "body-semibold",
|
|
126
|
+
numberOfLines: 1,
|
|
127
|
+
children: displayName
|
|
128
|
+
}), handle ? /*#__PURE__*/_jsxs(Text, {
|
|
129
|
+
variant: "caption-1-regular",
|
|
130
|
+
numberOfLines: 1,
|
|
131
|
+
style: {
|
|
132
|
+
color: colors.textSecondary
|
|
133
|
+
},
|
|
134
|
+
children: ["@", handle]
|
|
135
|
+
}) : null]
|
|
136
|
+
}), signedIn ? /*#__PURE__*/_jsx(Icons.RiMoreLine, {
|
|
137
|
+
width: 18,
|
|
138
|
+
height: 18,
|
|
292
139
|
color: colors.textSecondary
|
|
293
|
-
})
|
|
294
|
-
})]
|
|
140
|
+
}) : null]
|
|
141
|
+
}) : null]
|
|
295
142
|
})
|
|
296
143
|
});
|
|
297
144
|
};
|
|
298
|
-
const styles = StyleSheet.create({
|
|
299
|
-
fullWidth: {
|
|
300
|
-
width: '100%'
|
|
301
|
-
},
|
|
302
|
-
// Shared trigger row (`flex-row items-center gap-3 rounded-full px-2 py-2`).
|
|
303
|
-
row: {
|
|
304
|
-
flexDirection: 'row',
|
|
305
|
-
alignItems: 'center',
|
|
306
|
-
gap: 12,
|
|
307
|
-
borderRadius: 9999,
|
|
308
|
-
paddingHorizontal: 8,
|
|
309
|
-
paddingVertical: 8
|
|
310
|
-
},
|
|
311
|
-
// `w-full` on the expanded row + its signed-out variant.
|
|
312
|
-
rowExpanded: {
|
|
313
|
-
width: '100%'
|
|
314
|
-
},
|
|
315
|
-
// Signed-out login badge (`items-center justify-center rounded-full`).
|
|
316
|
-
avatarBadge: {
|
|
317
|
-
alignItems: 'center',
|
|
318
|
-
justifyContent: 'center',
|
|
319
|
-
borderRadius: 9999
|
|
320
|
-
},
|
|
321
|
-
// Signed-out label (`flex-1 font-semibold`).
|
|
322
|
-
signInLabel: {
|
|
323
|
-
flex: 1,
|
|
324
|
-
fontWeight: '600'
|
|
325
|
-
},
|
|
326
|
-
// Collapsed avatar-only trigger (`rounded-full`).
|
|
327
|
-
collapsedTrigger: {
|
|
328
|
-
borderRadius: 9999
|
|
329
|
-
},
|
|
330
|
-
// Identity block (`min-w-0 flex-1`).
|
|
331
|
-
identity: {
|
|
332
|
-
flex: 1,
|
|
333
|
-
minWidth: 0
|
|
334
|
-
},
|
|
335
|
-
// Display name (`font-bold`).
|
|
336
|
-
displayName: {
|
|
337
|
-
fontWeight: '700'
|
|
338
|
-
},
|
|
339
|
-
// Handle line (`text-xs`).
|
|
340
|
-
handle: {
|
|
341
|
-
fontSize: 12
|
|
342
|
-
}
|
|
343
|
-
});
|
|
344
145
|
export default ProfileButton;
|
|
345
146
|
//# sourceMappingURL=ProfileButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useCallback","useEffect","useMemo","
|
|
1
|
+
{"version":3,"names":["useCallback","useEffect","useMemo","View","Icons","Button","Avatar","Skeleton","Text","useTheme","getAccountDisplayName","getAccountFallbackHandle","getNormalizedUserHandle","useAuth","useOxy","useI18n","registerAccountDialogConsumerHooks","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","ProfileButton","expanded","avatarSize","onNavigateManage","onAddAccount","onNavigateProfile","menuItems","className","style","user","isAuthenticated","isAuthResolved","isPrivateApiPending","signIn","openAccountDialog","oxyServices","colors","t","locale","resolvedAvatarSize","openDialog","length","undefined","avatarUrl","avatar","getFileDownloadUrl","accessibilityElementsHidden","importantForAccessibility","children","Circle","size","signedIn","Boolean","displayName","name","handle","label","appearance","tone","accessibilityLabel","onPress","height","borderRadius","paddingLeft","paddingRight","width","trailing","flexDirection","alignItems","gap","flex","source","variant","RiLoginBoxLine","color","icon","minWidth","numberOfLines","textSecondary","RiMoreLine"],"sourceRoot":"../../../../src","sources":["ui/components/ProfileButton.tsx"],"mappings":";;AACA,SAASA,WAAW,EAAEC,SAAS,EAAEC,OAAO,QAAQ,OAAO;AAKvD,SAASC,IAAI,QAAQ,6BAA6B;AAClD,OAAO,KAAKC,KAAK,MAAM,qBAAqB;AAC5C,SAASC,MAAM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YAAE0C,IAAI,EAAE,CAAC;YAAEM,QAAQ,EAAE;UAAE,CAAE;UAAA5B,QAAA,gBAClCjC,IAAA,CAACV,IAAI;YAACmE,OAAO,EAAC,eAAe;YAACK,aAAa,EAAE,CAAE;YAAA7B,QAAA,EAAEK;UAAW,CAAO,CAAC,EACnEE,MAAM,gBAAGtC,KAAA,CAACZ,IAAI;YAACmE,OAAO,EAAC,mBAAmB;YAACK,aAAa,EAAE,CAAE;YAACjD,KAAK,EAAE;cAAE8C,KAAK,EAAEtC,MAAM,CAAC0C;YAAc,CAAE;YAAA9B,QAAA,GAAC,GAAC,EAACO,MAAM;UAAA,CAAO,CAAC,GAAG,IAAI;QAAA,CAC3H,CAAC,EACNJ,QAAQ,gBAAGpC,IAAA,CAACd,KAAK,CAAC8E,UAAU;UAACd,KAAK,EAAE,EAAG;UAACJ,MAAM,EAAE,EAAG;UAACa,KAAK,EAAEtC,MAAM,CAAC0C;QAAc,CAAE,CAAC,GAAG,IAAI;MAAA,CAC7F,CAAC,GAAG,IAAI;IAAA,CACR;EACT,CACJ,CAAC;AAEV,CAAC;AAED,eAAe1D,aAAa","ignoreList":[]}
|
|
@@ -19,7 +19,6 @@ import AvatarCameraBadge from "./AvatarCameraBadge.js";
|
|
|
19
19
|
*/
|
|
20
20
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
21
|
const cardStyle = {
|
|
22
|
-
borderRadius: 20,
|
|
23
22
|
marginBottom: 16
|
|
24
23
|
};
|
|
25
24
|
const pressableStyle = {
|
|
@@ -52,7 +51,8 @@ const ProfileSummaryCard = ({
|
|
|
52
51
|
});
|
|
53
52
|
const subtitleLines = (lines ?? []).filter(line => typeof line === 'string' && line.length > 0);
|
|
54
53
|
return /*#__PURE__*/_jsx(Card, {
|
|
55
|
-
|
|
54
|
+
appearance: "subtle",
|
|
55
|
+
radius: "radius-20",
|
|
56
56
|
style: cardStyle,
|
|
57
57
|
children: /*#__PURE__*/_jsxs(View, {
|
|
58
58
|
className: "items-center px-space-20 py-space-24",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["View","H4","Text","Avatar","Card","PressableScale","AvatarCameraBadge","jsx","_jsx","jsxs","_jsxs","cardStyle","
|
|
1
|
+
{"version":3,"names":["View","H4","Text","Avatar","Card","PressableScale","AvatarCameraBadge","jsx","_jsx","jsxs","_jsxs","cardStyle","marginBottom","pressableStyle","position","ProfileSummaryCard","displayName","avatarUri","avatarSize","lines","onAvatarPress","showCameraBadge","avatarAccessibilityLabel","avatar","source","name","size","avatarNode","onPress","accessibilityRole","accessibilityLabel","style","className","children","subtitleLines","filter","line","length","appearance","radius","numberOfLines","map","index"],"sourceRoot":"../../../../src","sources":["ui/components/ProfileSummaryCard.tsx"],"mappings":";;AACA,SAASA,IAAI,QAAwB,cAAc;AACnD,SAASC,EAAE,EAAEC,IAAI,QAAQ,0BAA0B;AACnD,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,IAAI,QAAQ,oBAAoB;AACzC,SAASC,cAAc,QAAQ,+BAA+B;AAC9D,OAAOC,iBAAiB,MAAM,wBAAqB;;AAEnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AA8BA,MAAMC,SAAoB,GAAG;EACzBC,YAAY,EAAE;AAClB,CAAC;AAED,MAAMC,cAAyB,GAAG;EAC9BC,QAAQ,EAAE;AACd,CAAC;AAED,MAAMC,kBAAqD,GAAGA,CAAC;EAC3DC,WAAW;EACXC,SAAS;EACTC,UAAU,GAAG,EAAE;EACfC,KAAK;EACLC,aAAa;EACbC,eAAe,GAAG,KAAK;EACvBC;AACJ,CAAC,KAAK;EACF,MAAMC,MAAM,gBAAGf,IAAA,CAACL,MAAM;IAACqB,MAAM,EAAEP,SAAU;IAACQ,IAAI,EAAET,WAAY;IAACU,IAAI,EAAER;EAAW,CAAE,CAAC;EAEjF,MAAMS,UAA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
|
4
|
-
import { useTheme } from '@oxy.so/bloom/theme';
|
|
5
|
-
import { PressableScale } from '@oxy.so/bloom/pressable-scale';
|
|
6
|
-
import { Text } from '@oxy.so/bloom/typography';
|
|
3
|
+
import { Button } from '@oxy.so/bloom/button';
|
|
7
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
/**
|
|
9
|
-
* A filled pill action for a surface's nav-header right slot — the canonical
|
|
10
|
-
* "Save" affordance. Pass a memoized instance to `useSurfaceHeader({ right })`
|
|
11
|
-
* so the header does not thrash between renders.
|
|
12
|
-
*/
|
|
5
|
+
/** Header actions share Bloom's sizing, surface, disabled and loading behavior. */
|
|
13
6
|
export const SurfaceHeaderAction = ({
|
|
14
7
|
label,
|
|
15
8
|
onPress,
|
|
16
9
|
loading,
|
|
17
10
|
disabled
|
|
18
|
-
}) => {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
onPress: onPress,
|
|
25
|
-
disabled: isDisabled,
|
|
26
|
-
accessibilityRole: "button",
|
|
27
|
-
accessibilityLabel: label,
|
|
28
|
-
style: [styles.button, {
|
|
29
|
-
backgroundColor: colors.primary,
|
|
30
|
-
opacity: isDisabled ? 0.5 : 1
|
|
31
|
-
}],
|
|
32
|
-
children: loading ? /*#__PURE__*/_jsx(ActivityIndicator, {
|
|
33
|
-
size: "small",
|
|
34
|
-
color: colors.primaryForeground
|
|
35
|
-
}) : /*#__PURE__*/_jsx(Text, {
|
|
36
|
-
style: [styles.label, {
|
|
37
|
-
color: colors.primaryForeground
|
|
38
|
-
}],
|
|
39
|
-
children: label
|
|
40
|
-
})
|
|
41
|
-
});
|
|
42
|
-
};
|
|
43
|
-
const styles = StyleSheet.create({
|
|
44
|
-
button: {
|
|
45
|
-
height: 36,
|
|
46
|
-
minWidth: 64,
|
|
47
|
-
paddingHorizontal: 14,
|
|
48
|
-
borderRadius: 18,
|
|
49
|
-
alignItems: 'center',
|
|
50
|
-
justifyContent: 'center'
|
|
51
|
-
},
|
|
52
|
-
label: {
|
|
53
|
-
fontSize: 14,
|
|
54
|
-
fontWeight: '600',
|
|
55
|
-
letterSpacing: -0.2
|
|
56
|
-
}
|
|
11
|
+
}) => /*#__PURE__*/_jsx(Button, {
|
|
12
|
+
size: "medium",
|
|
13
|
+
onPress: onPress,
|
|
14
|
+
loading: loading,
|
|
15
|
+
disabled: disabled,
|
|
16
|
+
children: label
|
|
57
17
|
});
|
|
58
18
|
//# sourceMappingURL=SurfaceHeaderAction.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["Button","jsx","_jsx","SurfaceHeaderAction","label","onPress","loading","disabled","size","children"],"sourceRoot":"../../../../src","sources":["ui/components/SurfaceHeaderAction.tsx"],"mappings":";;AACA,SAASA,MAAM,QAAQ,sBAAsB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAW9C;AACA,OAAO,MAAMC,mBAAuD,GAAGA,CAAC;EAAEC,KAAK;EAAEC,OAAO;EAAEC,OAAO;EAAEC;AAAS,CAAC,kBAC3GL,IAAA,CAACF,MAAM;EAACQ,IAAI,EAAC,QAAQ;EAACH,OAAO,EAAEA,OAAQ;EAACC,OAAO,EAAEA,OAAQ;EAACC,QAAQ,EAAEA,QAAS;EAAAE,QAAA,EAC1EL;AAAK,CACA,CACT","ignoreList":[]}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import React, { Suspense, useCallback, useEffect, useMemo, useState } from 'react';
|
|
4
|
-
import { ActivityIndicator, StyleSheet,
|
|
4
|
+
import { ActivityIndicator, StyleSheet, View, useWindowDimensions } from 'react-native';
|
|
5
|
+
import { Text } from '@oxy.so/bloom/typography';
|
|
5
6
|
import { useStore } from 'zustand';
|
|
6
7
|
import { useTheme } from '@oxy.so/bloom/theme';
|
|
7
8
|
import { useDialogFrame, useDialogHeader } from '@oxy.so/bloom/dialog';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","Suspense","useCallback","useEffect","useMemo","useState","ActivityIndicator","StyleSheet","
|
|
1
|
+
{"version":3,"names":["React","Suspense","useCallback","useEffect","useMemo","useState","ActivityIndicator","StyleSheet","View","useWindowDimensions","Text","useStore","useTheme","useDialogFrame","useDialogHeader","getScreenComponent","pushSurfaceBackHandler","getSurfaceConfig","closeAllRouteSurfaces","navigateWithinOrPresent","presentRoute","replaceWithinOrPresent","SurfaceHeaderContext","jsx","_jsx","jsxs","_jsxs","ScreenErrorBoundary","Component","state","error","getDerivedStateFromError","componentDidCatch","info","__DEV__","console","props","screenName","componentStack","componentDidUpdate","prevProps","setState","render","style","errorStyles","container","children","title","message","create","flex","alignItems","justifyContent","padding","fontSize","fontWeight","marginBottom","textAlign","ScreenPending","theme","size","color","colors","primary","SurfaceScreen","navStack","surface","dismissOnBackdrop","store","top","frames","length","closing","dismiss","closeResult","ScreenComponent","route","navigate","replace","result","resolveFlowOrDismiss","canGoBack","setStep","step","goBack","current","getTop","requestDismiss","handleSystemBack","present","headerContent","setHeaderContent","headerContext","setContent","config","headerMode","header","height","viewportHeight","frameSize","spec","undefined","heightRatio","Math","round","maxWidth","key","morph","canGoBackNow","dialogHeader","largeTitle","onBack","screenProps","initialStep","_omitInitialStep","rest","onStepChange","currentScreen","onClose","onAuthenticated","mode","Provider","value","fallback"],"sourceRoot":"../../../../src","sources":["ui/components/SurfaceScreen.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,EAAEC,WAAW,EAAEC,SAAS,EAAEC,OAAO,EAAEC,QAAQ,QAAwB,OAAO;AAClG,SAASC,iBAAiB,EAAEC,UAAU,EAAEC,IAAI,EAAEC,mBAAmB,QAAQ,cAAc;AACvF,SAASC,IAAI,QAAQ,0BAA0B;AAC/C,SAASC,QAAQ,QAAQ,SAAS;AAClC,SAASC,QAAQ,QAAQ,qBAAqB;AAC9C,SACEC,cAAc,EACdC,eAAe,QA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Ac;IAAA9C,QAAA,eAClDtB,IAAA,CAACG,mBAAmB;MAACU,UAAU,EAAEgC,GAAG,CAACO,KAAM;MAAA9B,QAAA,eACzCtB,IAAA,CAACvB,QAAQ;QAAC0H,QAAQ,eAAEnG,IAAA,CAACkC,aAAa,IAAE,CAAE;QAAAZ,QAAA,eACpCtB,IAAA,CAACmD,eAAe;UAAA,GAAKqC;QAAW,CAAG;MAAC,CAC5B;IAAC,CACQ;EAAC,CACO,CAAC;AAEpC;AAEA,eAAehD,aAAa","ignoreList":[]}
|
|
@@ -296,7 +296,8 @@ const AccountsMenuView = ({
|
|
|
296
296
|
}) : null]
|
|
297
297
|
})]
|
|
298
298
|
}) : null, /*#__PURE__*/_jsx(Button, {
|
|
299
|
-
|
|
299
|
+
appearance: "subtle",
|
|
300
|
+
tone: "neutral",
|
|
300
301
|
size: "small",
|
|
301
302
|
onPress: handlers.onManage,
|
|
302
303
|
accessibilityLabel: manageLabel,
|