@oxy.so/services 3.1.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/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 +10 -11
- 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 +2 -1
- 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/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/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 +10 -11
- 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 +2 -1
- 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/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/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/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/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/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/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/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/TrustRulesScreen.d.ts.map +1 -1
- package/package.json +6 -6
- 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 +9 -11
- 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 +1 -1
- 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/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/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,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useEffect, useRef } from 'react';
|
|
4
|
-
import { TouchableOpacity, Animated, Easing } from 'react-native';
|
|
5
|
-
import MaterialCommunityIcons from "../../icons/MaterialCommunityIcons.js";
|
|
6
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
/**
|
|
8
|
-
* Animated button component for smooth selection transitions
|
|
9
|
-
* Used in file management views for view mode toggles
|
|
10
|
-
*/
|
|
11
|
-
export const AnimatedButton = ({
|
|
12
|
-
isSelected,
|
|
13
|
-
onPress,
|
|
14
|
-
icon,
|
|
15
|
-
primaryColor,
|
|
16
|
-
textColor,
|
|
17
|
-
style,
|
|
18
|
-
accessibilityLabel
|
|
19
|
-
}) => {
|
|
20
|
-
const animatedValue = useRef(new Animated.Value(isSelected ? 1 : 0)).current;
|
|
21
|
-
useEffect(() => {
|
|
22
|
-
Animated.timing(animatedValue, {
|
|
23
|
-
toValue: isSelected ? 1 : 0,
|
|
24
|
-
duration: 200,
|
|
25
|
-
easing: Easing.out(Easing.ease),
|
|
26
|
-
useNativeDriver: false
|
|
27
|
-
}).start();
|
|
28
|
-
}, [isSelected, animatedValue]);
|
|
29
|
-
const backgroundColor = animatedValue.interpolate({
|
|
30
|
-
inputRange: [0, 1],
|
|
31
|
-
outputRange: ['transparent', primaryColor]
|
|
32
|
-
});
|
|
33
|
-
return /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
34
|
-
onPress: onPress,
|
|
35
|
-
activeOpacity: 0.7,
|
|
36
|
-
accessibilityRole: "button",
|
|
37
|
-
accessibilityLabel: accessibilityLabel,
|
|
38
|
-
accessibilityState: {
|
|
39
|
-
selected: isSelected
|
|
40
|
-
},
|
|
41
|
-
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
42
|
-
style: [style, {
|
|
43
|
-
backgroundColor
|
|
44
|
-
}],
|
|
45
|
-
children: /*#__PURE__*/_jsx(Animated.View, {
|
|
46
|
-
children: /*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
47
|
-
name: icon,
|
|
48
|
-
size: 16,
|
|
49
|
-
color: isSelected ? '#FFFFFF' : textColor
|
|
50
|
-
})
|
|
51
|
-
})
|
|
52
|
-
})
|
|
53
|
-
});
|
|
54
|
-
};
|
|
55
|
-
//# sourceMappingURL=AnimatedButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useEffect","useRef","TouchableOpacity","Animated","Easing","MaterialCommunityIcons","jsx","_jsx","AnimatedButton","isSelected","onPress","icon","primaryColor","textColor","style","accessibilityLabel","animatedValue","Value","current","timing","toValue","duration","easing","out","ease","useNativeDriver","start","backgroundColor","interpolate","inputRange","outputRange","activeOpacity","accessibilityRole","accessibilityState","selected","children","View","name","size","color"],"sourceRoot":"../../../../../src","sources":["ui/components/fileManagement/AnimatedButton.tsx"],"mappings":";;AACA,SAASA,SAAS,EAAEC,MAAM,QAAQ,OAAO;AACzC,SAASC,gBAAgB,EAAEC,QAAQ,EAAEC,MAAM,QAAQ,cAAc;AACjE,OAAOC,sBAAsB,MAAM,uCAAoC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAYxE;AACA;AACA;AACA;AACA,OAAO,MAAMC,cAA6C,GAAGA,CAAC;EAC5DC,UAAU;EACVC,OAAO;EACPC,IAAI;EACJC,YAAY;EACZC,SAAS;EACTC,KAAK;EACLC;AACF,CAAC,KAAK;EACJ,MAAMC,aAAa,GAAGf,MAAM,CAAC,IAAIE,QAAQ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";
|
|
2
|
-
|
|
3
|
-
import React, { useRef, forwardRef, useImperativeHandle } from 'react';
|
|
4
|
-
import { View, TextInput, StyleSheet, Platform } from 'react-native';
|
|
5
|
-
import { useTheme } from '@oxy.so/bloom/theme';
|
|
6
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
const PinInput = /*#__PURE__*/forwardRef(({
|
|
8
|
-
value,
|
|
9
|
-
onChange,
|
|
10
|
-
length = 6,
|
|
11
|
-
disabled,
|
|
12
|
-
autoFocus,
|
|
13
|
-
colors
|
|
14
|
-
}, ref) => {
|
|
15
|
-
const theme = useTheme();
|
|
16
|
-
const inputs = useRef([]);
|
|
17
|
-
useImperativeHandle(ref, () => ({
|
|
18
|
-
focus: () => {
|
|
19
|
-
inputs.current[0]?.focus();
|
|
20
|
-
}
|
|
21
|
-
}), []);
|
|
22
|
-
const handleChange = (text, idx) => {
|
|
23
|
-
if (!/^[0-9]*$/.test(text)) return;
|
|
24
|
-
let newValue = value.split('');
|
|
25
|
-
if (text.length > 1) {
|
|
26
|
-
// Paste or autofill
|
|
27
|
-
newValue = text.split('').slice(0, length);
|
|
28
|
-
onChange(newValue.join(''));
|
|
29
|
-
if (newValue.length < length) {
|
|
30
|
-
inputs.current[newValue.length]?.focus();
|
|
31
|
-
}
|
|
32
|
-
return;
|
|
33
|
-
}
|
|
34
|
-
newValue[idx] = text;
|
|
35
|
-
const joined = newValue.join('').slice(0, length);
|
|
36
|
-
onChange(joined);
|
|
37
|
-
if (text && idx < length - 1) {
|
|
38
|
-
inputs.current[idx + 1]?.focus();
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
const handleKeyPress = (e, idx) => {
|
|
42
|
-
if (e.nativeEvent.key === 'Backspace' && !value[idx] && idx > 0) {
|
|
43
|
-
inputs.current[idx - 1]?.focus();
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
return /*#__PURE__*/_jsx(View, {
|
|
47
|
-
style: styles.pinContainer,
|
|
48
|
-
children: Array.from({
|
|
49
|
-
length
|
|
50
|
-
}).map((_, idx) => /*#__PURE__*/_jsx(TextInput
|
|
51
|
-
// biome-ignore lint/suspicious/noArrayIndexKey: fixed-position PIN cells, order never changes
|
|
52
|
-
, {
|
|
53
|
-
ref: ref => {
|
|
54
|
-
inputs.current[idx] = ref;
|
|
55
|
-
},
|
|
56
|
-
style: [styles.pinInput, {
|
|
57
|
-
borderColor: colors.primary,
|
|
58
|
-
color: colors.text,
|
|
59
|
-
backgroundColor: colors.inputBackground || theme.colors.backgroundSecondary
|
|
60
|
-
}, value[idx] ? {
|
|
61
|
-
borderWidth: 2
|
|
62
|
-
} : {
|
|
63
|
-
borderWidth: 1
|
|
64
|
-
}],
|
|
65
|
-
value: value[idx] || '',
|
|
66
|
-
onChangeText: text => handleChange(text, idx),
|
|
67
|
-
onKeyPress: e => handleKeyPress(e, idx),
|
|
68
|
-
keyboardType: Platform.OS === 'ios' ? 'number-pad' : 'numeric',
|
|
69
|
-
maxLength: 1,
|
|
70
|
-
editable: !disabled,
|
|
71
|
-
autoFocus: autoFocus && idx === 0,
|
|
72
|
-
textAlign: "center",
|
|
73
|
-
selectionColor: colors.primary,
|
|
74
|
-
returnKeyType: "done"
|
|
75
|
-
}, `pin-input-${idx}`))
|
|
76
|
-
});
|
|
77
|
-
});
|
|
78
|
-
const styles = StyleSheet.create({
|
|
79
|
-
pinContainer: {
|
|
80
|
-
flexDirection: 'row',
|
|
81
|
-
justifyContent: 'center',
|
|
82
|
-
gap: 12,
|
|
83
|
-
marginBottom: 0,
|
|
84
|
-
marginTop: 0
|
|
85
|
-
},
|
|
86
|
-
pinInput: {
|
|
87
|
-
width: 44,
|
|
88
|
-
height: 54,
|
|
89
|
-
borderRadius: 12,
|
|
90
|
-
borderWidth: 1,
|
|
91
|
-
fontSize: 28,
|
|
92
|
-
fontWeight: '600',
|
|
93
|
-
textAlign: 'center',
|
|
94
|
-
marginHorizontal: 2,
|
|
95
|
-
...Platform.select({
|
|
96
|
-
web: {
|
|
97
|
-
boxShadow: '0 1px 4px rgba(0,0,0,0.04)'
|
|
98
|
-
},
|
|
99
|
-
default: {
|
|
100
|
-
shadowColor: '#000',
|
|
101
|
-
shadowOpacity: 0.04,
|
|
102
|
-
shadowOffset: {
|
|
103
|
-
width: 0,
|
|
104
|
-
height: 1
|
|
105
|
-
},
|
|
106
|
-
shadowRadius: 4,
|
|
107
|
-
elevation: 1
|
|
108
|
-
}
|
|
109
|
-
})
|
|
110
|
-
}
|
|
111
|
-
});
|
|
112
|
-
export default PinInput;
|
|
113
|
-
//# sourceMappingURL=PinInput.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","useRef","forwardRef","useImperativeHandle","View","TextInput","StyleSheet","Platform","useTheme","jsx","_jsx","PinInput","value","onChange","length","disabled","autoFocus","colors","ref","theme","inputs","focus","current","handleChange","text","idx","test","newValue","split","slice","join","joined","handleKeyPress","e","nativeEvent","key","style","styles","pinContainer","children","Array","from","map","_","pinInput","borderColor","primary","color","backgroundColor","inputBackground","backgroundSecondary","borderWidth","onChangeText","onKeyPress","keyboardType","OS","maxLength","editable","textAlign","selectionColor","returnKeyType","create","flexDirection","justifyContent","gap","marginBottom","marginTop","width","height","borderRadius","fontSize","fontWeight","marginHorizontal","select","web","boxShadow","default","shadowColor","shadowOpacity","shadowOffset","shadowRadius","elevation"],"sourceRoot":"../../../../../src","sources":["ui/components/internal/PinInput.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,MAAM,EAAEC,UAAU,EAAEC,mBAAmB,QAAQ,OAAO;AACtE,SAASC,IAAI,EAAEC,SAAS,EAAEC,UAAU,EAAEC,QAAQ,QAAoE,cAAc;AAChI,SAASC,QAAQ,QAAQ,qBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAwB/C,MAAMC,QAAQ,gBAAGT,UAAU,CAAgC,CAAC;EAAEU,KAAK;EAAEC,QAAQ;EAAEC,MAAM,GAAG,CAAC;EAAEC,QAAQ;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;MAC/DC,SAAS,EAAE,CAAE;MACbC,QAAQ,EAAE,CAAC1C,QAAS;MACpBC,SAAS,EAAEA,SAAS,IAAIS,GAAG,KAAK,CAAE;MAClCiC,SAAS,EAAC,QAAQ;MAClBC,cAAc,EAAE1C,MAAM,CAAC6B,OAAQ;MAC/Bc,aAAa,EAAC;IAAM,GAhBf,aAAanC,GAAG,EAiBxB,CACJ;EAAC,CACA,CAAC;AAEf,CAAC,CAAC;AAEF,MAAMY,MAAM,GAAG/B,UAAU,CAACuD,MAAM,CAAC;EAC7BvB,YAAY,EAAE;IACVwB,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,QAAQ;IACxBC,GAAG,EAAE,EAAE;IACPC,YAAY,EAAE,CAAC;IACfC,SAAS,EAAE;EACf,CAAC;EACDtB,QAAQ,EAAE;IACNuB,KAAK,EAAE,EAAE;IACTC,MAAM,EAAE,EAAE;IACVC,YAAY,EAAE,EAAE;IAChBlB,WAAW,EAAE,CAAC;IACdmB,QAAQ,EAAE,EAAE;IACZC,UAAU,EAAE,KAAK;IACjBb,SAAS,EAAE,QAAQ;IACnBc,gBAAgB,EAAE,CAAC;IACnB,GAAGjE,QAAQ,CAACkE,MAAM,CAAC;MACfC,GAAG,EAAE;QACDC,SAAS,EAAE;MACf,CAAC;MACDC,OAAO,EAAE;QACLC,WAAW,EAAE,MAAM;QACnBC,aAAa,EAAE,IAAI;QACnBC,YAAY,EAAE;UAAEZ,KAAK,EAAE,CAAC;UAAEC,MAAM,EAAE;QAAE,CAAC;QACrCY,YAAY,EAAE,CAAC;QACfC,SAAS,EAAE;MACf;IACJ,CAAC;EACL;AACJ,CAAC,CAAC;AAEF,eAAetE,QAAQ","ignoreList":[]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
interface AnimatedButtonProps {
|
|
3
|
-
isSelected: boolean;
|
|
4
|
-
onPress: () => void;
|
|
5
|
-
icon: string;
|
|
6
|
-
primaryColor: string;
|
|
7
|
-
textColor: string;
|
|
8
|
-
style: Record<string, unknown>;
|
|
9
|
-
accessibilityLabel: string;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Animated button component for smooth selection transitions
|
|
13
|
-
* Used in file management views for view mode toggles
|
|
14
|
-
*/
|
|
15
|
-
export declare const AnimatedButton: React.FC<AnimatedButtonProps>;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=AnimatedButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnimatedButton.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/fileManagement/AnimatedButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,UAAU,mBAAmB;IAC3B,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA4CxD,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface PinInputColors {
|
|
3
|
-
primary: string;
|
|
4
|
-
secondary?: string;
|
|
5
|
-
background: string;
|
|
6
|
-
inputBackground: string;
|
|
7
|
-
text: string;
|
|
8
|
-
border: string;
|
|
9
|
-
}
|
|
10
|
-
export interface PinInputProps {
|
|
11
|
-
value: string;
|
|
12
|
-
onChange: (val: string) => void;
|
|
13
|
-
length?: number;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
autoFocus?: boolean;
|
|
16
|
-
colors: PinInputColors;
|
|
17
|
-
}
|
|
18
|
-
export interface PinInputHandle {
|
|
19
|
-
focus: () => void;
|
|
20
|
-
}
|
|
21
|
-
declare const PinInput: React.ForwardRefExoticComponent<PinInputProps & React.RefAttributes<PinInputHandle>>;
|
|
22
|
-
export default PinInput;
|
|
23
|
-
//# sourceMappingURL=PinInput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PinInput.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/internal/PinInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAIvE,UAAU,cAAc;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,cAAc,CAAC;CAC1B;AAED,MAAM,WAAW,cAAc;IAC3B,KAAK,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,QAAQ,sFA8DZ,CAAC;AAkCH,eAAe,QAAQ,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
interface AnimatedButtonProps {
|
|
3
|
-
isSelected: boolean;
|
|
4
|
-
onPress: () => void;
|
|
5
|
-
icon: string;
|
|
6
|
-
primaryColor: string;
|
|
7
|
-
textColor: string;
|
|
8
|
-
style: Record<string, unknown>;
|
|
9
|
-
accessibilityLabel: string;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Animated button component for smooth selection transitions
|
|
13
|
-
* Used in file management views for view mode toggles
|
|
14
|
-
*/
|
|
15
|
-
export declare const AnimatedButton: React.FC<AnimatedButtonProps>;
|
|
16
|
-
export {};
|
|
17
|
-
//# sourceMappingURL=AnimatedButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnimatedButton.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/fileManagement/AnimatedButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,UAAU,mBAAmB;IAC3B,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA4CxD,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface PinInputColors {
|
|
3
|
-
primary: string;
|
|
4
|
-
secondary?: string;
|
|
5
|
-
background: string;
|
|
6
|
-
inputBackground: string;
|
|
7
|
-
text: string;
|
|
8
|
-
border: string;
|
|
9
|
-
}
|
|
10
|
-
export interface PinInputProps {
|
|
11
|
-
value: string;
|
|
12
|
-
onChange: (val: string) => void;
|
|
13
|
-
length?: number;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
autoFocus?: boolean;
|
|
16
|
-
colors: PinInputColors;
|
|
17
|
-
}
|
|
18
|
-
export interface PinInputHandle {
|
|
19
|
-
focus: () => void;
|
|
20
|
-
}
|
|
21
|
-
declare const PinInput: React.ForwardRefExoticComponent<PinInputProps & React.RefAttributes<PinInputHandle>>;
|
|
22
|
-
export default PinInput;
|
|
23
|
-
//# sourceMappingURL=PinInput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PinInput.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/internal/PinInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAIvE,UAAU,cAAc;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,cAAc,CAAC;CAC1B;AAED,MAAM,WAAW,cAAc;IAC3B,KAAK,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,QAAQ,sFA8DZ,CAAC;AAkCH,eAAe,QAAQ,CAAC"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
import { useEffect, useRef } from 'react';
|
|
3
|
-
import { TouchableOpacity, Animated, Easing } from 'react-native';
|
|
4
|
-
import MaterialCommunityIcons from '../../icons/MaterialCommunityIcons';
|
|
5
|
-
|
|
6
|
-
interface AnimatedButtonProps {
|
|
7
|
-
isSelected: boolean;
|
|
8
|
-
onPress: () => void;
|
|
9
|
-
icon: string;
|
|
10
|
-
primaryColor: string;
|
|
11
|
-
textColor: string;
|
|
12
|
-
style: Record<string, unknown>;
|
|
13
|
-
accessibilityLabel: string;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Animated button component for smooth selection transitions
|
|
18
|
-
* Used in file management views for view mode toggles
|
|
19
|
-
*/
|
|
20
|
-
export const AnimatedButton: React.FC<AnimatedButtonProps> = ({
|
|
21
|
-
isSelected,
|
|
22
|
-
onPress,
|
|
23
|
-
icon,
|
|
24
|
-
primaryColor,
|
|
25
|
-
textColor,
|
|
26
|
-
style,
|
|
27
|
-
accessibilityLabel,
|
|
28
|
-
}) => {
|
|
29
|
-
const animatedValue = useRef(new Animated.Value(isSelected ? 1 : 0)).current;
|
|
30
|
-
|
|
31
|
-
useEffect(() => {
|
|
32
|
-
Animated.timing(animatedValue, {
|
|
33
|
-
toValue: isSelected ? 1 : 0,
|
|
34
|
-
duration: 200,
|
|
35
|
-
easing: Easing.out(Easing.ease),
|
|
36
|
-
useNativeDriver: false,
|
|
37
|
-
}).start();
|
|
38
|
-
}, [isSelected, animatedValue]);
|
|
39
|
-
|
|
40
|
-
const backgroundColor = animatedValue.interpolate({
|
|
41
|
-
inputRange: [0, 1],
|
|
42
|
-
outputRange: ['transparent', primaryColor],
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
return (
|
|
46
|
-
<TouchableOpacity
|
|
47
|
-
onPress={onPress}
|
|
48
|
-
activeOpacity={0.7}
|
|
49
|
-
accessibilityRole="button"
|
|
50
|
-
accessibilityLabel={accessibilityLabel}
|
|
51
|
-
accessibilityState={{ selected: isSelected }}
|
|
52
|
-
>
|
|
53
|
-
<Animated.View style={[style, { backgroundColor }]}>
|
|
54
|
-
<Animated.View>
|
|
55
|
-
<MaterialCommunityIcons
|
|
56
|
-
name={icon as React.ComponentProps<typeof MaterialCommunityIcons>['name']}
|
|
57
|
-
size={16}
|
|
58
|
-
color={isSelected ? '#FFFFFF' : textColor}
|
|
59
|
-
/>
|
|
60
|
-
</Animated.View>
|
|
61
|
-
</Animated.View>
|
|
62
|
-
</TouchableOpacity>
|
|
63
|
-
);
|
|
64
|
-
};
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import React, { useRef, forwardRef, useImperativeHandle } from 'react';
|
|
2
|
-
import { View, TextInput, StyleSheet, Platform, type NativeSyntheticEvent, type TextInputKeyPressEventData } from 'react-native';
|
|
3
|
-
import { useTheme } from '@oxy.so/bloom/theme';
|
|
4
|
-
|
|
5
|
-
interface PinInputColors {
|
|
6
|
-
primary: string;
|
|
7
|
-
secondary?: string;
|
|
8
|
-
background: string;
|
|
9
|
-
inputBackground: string;
|
|
10
|
-
text: string;
|
|
11
|
-
border: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface PinInputProps {
|
|
15
|
-
value: string;
|
|
16
|
-
onChange: (val: string) => void;
|
|
17
|
-
length?: number;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
autoFocus?: boolean;
|
|
20
|
-
colors: PinInputColors;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface PinInputHandle {
|
|
24
|
-
focus: () => void;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
const PinInput = forwardRef<PinInputHandle, PinInputProps>(({ value, onChange, length = 6, disabled, autoFocus, colors }, ref) => {
|
|
28
|
-
const theme = useTheme();
|
|
29
|
-
const inputs = useRef<Array<TextInput | null>>([]);
|
|
30
|
-
|
|
31
|
-
useImperativeHandle(ref, () => ({
|
|
32
|
-
focus: () => {
|
|
33
|
-
inputs.current[0]?.focus();
|
|
34
|
-
}
|
|
35
|
-
}), []);
|
|
36
|
-
|
|
37
|
-
const handleChange = (text: string, idx: number) => {
|
|
38
|
-
if (!/^[0-9]*$/.test(text)) return;
|
|
39
|
-
let newValue = value.split('');
|
|
40
|
-
if (text.length > 1) {
|
|
41
|
-
// Paste or autofill
|
|
42
|
-
newValue = text.split('').slice(0, length);
|
|
43
|
-
onChange(newValue.join(''));
|
|
44
|
-
if (newValue.length < length) {
|
|
45
|
-
inputs.current[newValue.length]?.focus();
|
|
46
|
-
}
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
newValue[idx] = text;
|
|
50
|
-
const joined = newValue.join('').slice(0, length);
|
|
51
|
-
onChange(joined);
|
|
52
|
-
if (text && idx < length - 1) {
|
|
53
|
-
inputs.current[idx + 1]?.focus();
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
const handleKeyPress = (e: NativeSyntheticEvent<TextInputKeyPressEventData>, idx: number) => {
|
|
58
|
-
if (e.nativeEvent.key === 'Backspace' && !value[idx] && idx > 0) {
|
|
59
|
-
inputs.current[idx - 1]?.focus();
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
return (
|
|
64
|
-
<View style={styles.pinContainer}>
|
|
65
|
-
{Array.from({ length }).map((_, idx) => (
|
|
66
|
-
<TextInput
|
|
67
|
-
// biome-ignore lint/suspicious/noArrayIndexKey: fixed-position PIN cells, order never changes
|
|
68
|
-
key={`pin-input-${idx}`}
|
|
69
|
-
ref={(ref) => { inputs.current[idx] = ref; }}
|
|
70
|
-
style={[
|
|
71
|
-
styles.pinInput,
|
|
72
|
-
{ borderColor: colors.primary, color: colors.text, backgroundColor: colors.inputBackground || theme.colors.backgroundSecondary },
|
|
73
|
-
value[idx] ? { borderWidth: 2 } : { borderWidth: 1 },
|
|
74
|
-
]}
|
|
75
|
-
value={value[idx] || ''}
|
|
76
|
-
onChangeText={text => handleChange(text, idx)}
|
|
77
|
-
onKeyPress={e => handleKeyPress(e, idx)}
|
|
78
|
-
keyboardType={Platform.OS === 'ios' ? 'number-pad' : 'numeric'}
|
|
79
|
-
maxLength={1}
|
|
80
|
-
editable={!disabled}
|
|
81
|
-
autoFocus={autoFocus && idx === 0}
|
|
82
|
-
textAlign="center"
|
|
83
|
-
selectionColor={colors.primary}
|
|
84
|
-
returnKeyType="done"
|
|
85
|
-
/>
|
|
86
|
-
))}
|
|
87
|
-
</View>
|
|
88
|
-
);
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
const styles = StyleSheet.create({
|
|
92
|
-
pinContainer: {
|
|
93
|
-
flexDirection: 'row',
|
|
94
|
-
justifyContent: 'center',
|
|
95
|
-
gap: 12,
|
|
96
|
-
marginBottom: 0,
|
|
97
|
-
marginTop: 0,
|
|
98
|
-
},
|
|
99
|
-
pinInput: {
|
|
100
|
-
width: 44,
|
|
101
|
-
height: 54,
|
|
102
|
-
borderRadius: 12,
|
|
103
|
-
borderWidth: 1,
|
|
104
|
-
fontSize: 28,
|
|
105
|
-
fontWeight: '600',
|
|
106
|
-
textAlign: 'center',
|
|
107
|
-
marginHorizontal: 2,
|
|
108
|
-
...Platform.select({
|
|
109
|
-
web: {
|
|
110
|
-
boxShadow: '0 1px 4px rgba(0,0,0,0.04)',
|
|
111
|
-
},
|
|
112
|
-
default: {
|
|
113
|
-
shadowColor: '#000',
|
|
114
|
-
shadowOpacity: 0.04,
|
|
115
|
-
shadowOffset: { width: 0, height: 1 },
|
|
116
|
-
shadowRadius: 4,
|
|
117
|
-
elevation: 1,
|
|
118
|
-
}
|
|
119
|
-
}),
|
|
120
|
-
},
|
|
121
|
-
});
|
|
122
|
-
|
|
123
|
-
export default PinInput;
|