@oxyhq/services 6.9.33 → 6.9.34
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/ui/components/Avatar.js +5 -3
- package/lib/commonjs/ui/components/Avatar.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheet.js +2 -2
- package/lib/commonjs/ui/components/BottomSheet.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheetRouter.js +3 -4
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedItem.js +12 -18
- package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
- package/lib/commonjs/ui/components/Header.js +11 -18
- package/lib/commonjs/ui/components/Header.js.map +1 -1
- package/lib/commonjs/ui/components/HelperText.js +6 -14
- package/lib/commonjs/ui/components/HelperText.js.map +1 -1
- package/lib/commonjs/ui/components/OxyLogo.js +4 -2
- package/lib/commonjs/ui/components/OxyLogo.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileCard.js +13 -20
- package/lib/commonjs/ui/components/ProfileCard.js.map +1 -1
- package/lib/commonjs/ui/components/QuickActions.js +9 -13
- package/lib/commonjs/ui/components/QuickActions.js.map +1 -1
- package/lib/commonjs/ui/components/SectionTitle.js +2 -8
- package/lib/commonjs/ui/components/SectionTitle.js.map +1 -1
- package/lib/commonjs/ui/components/SignInModal.js +10 -16
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +6 -4
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +6 -4
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +36 -51
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +68 -82
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +35 -48
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +22 -34
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/theming.js +14 -1
- package/lib/commonjs/ui/components/theming.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +15 -27
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +44 -49
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +22 -29
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +2 -25
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +20 -40
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +28 -24
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +25 -29
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +26 -27
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +70 -108
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +106 -119
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +13 -10
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +13 -10
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +9 -13
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +19 -20
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +16 -14
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/OxyAuthScreen.js +33 -60
- package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +2 -5
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +10 -16
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +65 -69
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +79 -110
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +16 -13
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +13 -17
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js +17 -30
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js +6 -12
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +41 -35
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +15 -14
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +7 -12
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +25 -23
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +9 -17
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +6 -11
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +18 -22
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +6 -11
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
- package/lib/module/ui/components/Avatar.js +5 -3
- package/lib/module/ui/components/Avatar.js.map +1 -1
- package/lib/module/ui/components/BottomSheet.js +2 -2
- package/lib/module/ui/components/BottomSheet.js.map +1 -1
- package/lib/module/ui/components/BottomSheetRouter.js +3 -4
- package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/module/ui/components/GroupedItem.js +12 -18
- package/lib/module/ui/components/GroupedItem.js.map +1 -1
- package/lib/module/ui/components/Header.js +11 -18
- package/lib/module/ui/components/Header.js.map +1 -1
- package/lib/module/ui/components/HelperText.js +6 -15
- package/lib/module/ui/components/HelperText.js.map +1 -1
- package/lib/module/ui/components/OxyLogo.js +4 -2
- package/lib/module/ui/components/OxyLogo.js.map +1 -1
- package/lib/module/ui/components/ProfileCard.js +13 -20
- package/lib/module/ui/components/ProfileCard.js.map +1 -1
- package/lib/module/ui/components/QuickActions.js +9 -13
- package/lib/module/ui/components/QuickActions.js.map +1 -1
- package/lib/module/ui/components/SectionTitle.js +2 -8
- package/lib/module/ui/components/SectionTitle.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +10 -16
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/TextField/TextFieldFlat.js +6 -4
- package/lib/module/ui/components/TextField/TextFieldFlat.js.map +1 -1
- package/lib/module/ui/components/TextField/TextFieldOutlined.js +6 -4
- package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +36 -51
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +68 -82
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +35 -48
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +22 -34
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/theming.js +15 -2
- package/lib/module/ui/components/theming.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +14 -26
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +45 -50
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +21 -28
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +2 -25
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +21 -41
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +28 -24
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +25 -29
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +26 -27
- package/lib/module/ui/screens/FAQScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +70 -108
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +106 -119
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +13 -10
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +13 -10
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +9 -13
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +19 -20
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +16 -14
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyAuthScreen.js +33 -60
- package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +2 -5
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +10 -16
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +65 -69
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +77 -108
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +16 -13
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +13 -17
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +17 -30
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +6 -12
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +39 -33
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +15 -14
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js +7 -12
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +25 -23
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +8 -16
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +6 -11
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +17 -21
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js +6 -11
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
- package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/HelperText.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/QuickActions.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SectionTitle.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +2 -2
- 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/theming.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/OxyAuthScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/BottomSheet.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/GroupedItem.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/HelperText.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileCard.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/QuickActions.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SectionTitle.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +2 -2
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +2 -2
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +2 -2
- 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/theming.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountSwitcherScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountVerificationScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HelpSupportScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/HistoryViewScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/OxyAuthScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/ui/components/Avatar.tsx +3 -3
- package/src/ui/components/BottomSheet.tsx +2 -3
- package/src/ui/components/BottomSheetRouter.tsx +2 -2
- package/src/ui/components/GroupedItem.tsx +8 -15
- package/src/ui/components/Header.tsx +7 -15
- package/src/ui/components/HelperText.tsx +4 -15
- package/src/ui/components/OxyLogo.tsx +2 -2
- package/src/ui/components/ProfileCard.tsx +14 -17
- package/src/ui/components/QuickActions.tsx +12 -14
- package/src/ui/components/SectionTitle.tsx +1 -7
- package/src/ui/components/SignInModal.tsx +4 -6
- package/src/ui/components/TextField/TextFieldFlat.tsx +4 -4
- package/src/ui/components/TextField/TextFieldOutlined.tsx +4 -4
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +23 -22
- package/src/ui/components/fileManagement/FileViewer.tsx +57 -45
- package/src/ui/components/fileManagement/UploadPreview.tsx +23 -28
- package/src/ui/components/modals/DeleteAccountModal.tsx +13 -12
- package/src/ui/components/theming.tsx +15 -2
- package/src/ui/screens/AccountCenterScreen.tsx +10 -13
- package/src/ui/screens/AccountOverviewScreen.tsx +39 -39
- package/src/ui/screens/AccountSettingsScreen.tsx +15 -19
- package/src/ui/screens/AccountSwitcherScreen.tsx +1 -23
- package/src/ui/screens/AccountVerificationScreen.tsx +15 -33
- package/src/ui/screens/AppInfoScreen.tsx +28 -24
- package/src/ui/screens/EditProfileFieldScreen.tsx +24 -26
- package/src/ui/screens/FAQScreen.tsx +23 -23
- package/src/ui/screens/FeedbackScreen.tsx +47 -38
- package/src/ui/screens/FileManagementScreen.tsx +102 -116
- package/src/ui/screens/HelpSupportScreen.tsx +12 -8
- package/src/ui/screens/HistoryViewScreen.tsx +12 -8
- package/src/ui/screens/LanguageSelectorScreen.tsx +8 -11
- package/src/ui/screens/LearnMoreUsernamesScreen.tsx +17 -17
- package/src/ui/screens/LegalDocumentsScreen.tsx +14 -10
- package/src/ui/screens/OxyAuthScreen.tsx +17 -27
- package/src/ui/screens/PaymentGatewayScreen.tsx +1 -3
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +10 -7
- package/src/ui/screens/PrivacySettingsScreen.tsx +63 -65
- package/src/ui/screens/ProfileScreen.tsx +54 -58
- package/src/ui/screens/SavesCollectionsScreen.tsx +15 -11
- package/src/ui/screens/SearchSettingsScreen.tsx +11 -13
- package/src/ui/screens/SessionManagementScreen.tsx +12 -12
- package/src/ui/screens/UserLinksScreen.tsx +4 -8
- package/src/ui/screens/UserListScreen.tsx +34 -46
- package/src/ui/screens/WelcomeNewUserScreen.tsx +11 -6
- package/src/ui/screens/karma/KarmaAboutScreen.tsx +6 -10
- package/src/ui/screens/karma/KarmaCenterScreen.tsx +23 -19
- package/src/ui/screens/karma/KarmaFAQScreen.tsx +7 -14
- package/src/ui/screens/karma/KarmaLeaderboardScreen.tsx +5 -9
- package/src/ui/screens/karma/KarmaRewardsScreen.tsx +15 -17
- package/src/ui/screens/karma/KarmaRulesScreen.tsx +5 -9
|
@@ -358,8 +358,8 @@ const SignInModal: React.FC = () => {
|
|
|
358
358
|
{/* Header */}
|
|
359
359
|
<View style={styles.header}>
|
|
360
360
|
<OxyLogo width={56} height={56} />
|
|
361
|
-
<Text style={
|
|
362
|
-
<Text style={
|
|
361
|
+
<Text className="text-foreground" style={styles.title}>Sign in with Oxy</Text>
|
|
362
|
+
<Text className="text-muted-foreground" style={styles.subtitle}>
|
|
363
363
|
Scan with Oxy Accounts app or use the button below
|
|
364
364
|
</Text>
|
|
365
365
|
</View>
|
|
@@ -367,13 +367,13 @@ const SignInModal: React.FC = () => {
|
|
|
367
367
|
{isLoading ? (
|
|
368
368
|
<View style={styles.loadingContainer}>
|
|
369
369
|
<Loading size="large" />
|
|
370
|
-
<Text style={
|
|
370
|
+
<Text className="text-muted-foreground" style={styles.loadingText}>
|
|
371
371
|
Preparing sign in...
|
|
372
372
|
</Text>
|
|
373
373
|
</View>
|
|
374
374
|
) : error ? (
|
|
375
375
|
<View style={styles.errorContainer}>
|
|
376
|
-
<Text style={
|
|
376
|
+
<Text className="text-destructive" style={styles.errorText}>{error}</Text>
|
|
377
377
|
<Button onPress={handleRefresh}>Try Again</Button>
|
|
378
378
|
</View>
|
|
379
379
|
) : (
|
|
@@ -462,13 +462,11 @@ const styles = StyleSheet.create({
|
|
|
462
462
|
fontSize: 28,
|
|
463
463
|
fontWeight: 'bold',
|
|
464
464
|
marginTop: 16,
|
|
465
|
-
color: 'white',
|
|
466
465
|
},
|
|
467
466
|
subtitle: {
|
|
468
467
|
fontSize: 15,
|
|
469
468
|
marginTop: 8,
|
|
470
469
|
textAlign: 'center',
|
|
471
|
-
color: 'rgba(255, 255, 255, 0.7)',
|
|
472
470
|
},
|
|
473
471
|
qrContainer: {
|
|
474
472
|
padding: 20,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
View,
|
|
9
9
|
Animated,
|
|
10
10
|
} from 'react-native';
|
|
11
|
-
import {
|
|
11
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
12
12
|
|
|
13
13
|
import { Underline } from './Addons/Underline';
|
|
14
14
|
import { AdornmentSide, AdornmentType, InputMode } from './Adornment/enums';
|
|
@@ -158,17 +158,17 @@ const TextInputFlat = ({
|
|
|
158
158
|
theme,
|
|
159
159
|
});
|
|
160
160
|
|
|
161
|
-
const
|
|
161
|
+
const { colors: bloomColors } = useTheme();
|
|
162
162
|
|
|
163
163
|
const containerStyle = {
|
|
164
|
-
backgroundColor:
|
|
164
|
+
backgroundColor: bloomColors.backgroundSecondary,
|
|
165
165
|
borderTopLeftRadius: theme.roundness,
|
|
166
166
|
borderTopRightRadius: theme.roundness,
|
|
167
167
|
};
|
|
168
168
|
|
|
169
169
|
// Override text color with theme color (unless custom textColor prop is provided)
|
|
170
170
|
// If disabled, keep the original inputTextColor which handles opacity correctly
|
|
171
|
-
const finalInputTextColor = textColor ?? (disabled ? inputTextColor :
|
|
171
|
+
const finalInputTextColor = textColor ?? (disabled ? inputTextColor : bloomColors.text);
|
|
172
172
|
|
|
173
173
|
const labelScale = MINIMIZED_LABEL_FONT_SIZE / fontSize;
|
|
174
174
|
const fontScale = MAXIMIZED_LABEL_FONT_SIZE / fontSize;
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
type ColorValue,
|
|
11
11
|
type LayoutChangeEvent,
|
|
12
12
|
} from 'react-native';
|
|
13
|
-
import {
|
|
13
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
14
14
|
|
|
15
15
|
import { Outline } from './Addons/Outline';
|
|
16
16
|
import { AdornmentType, AdornmentSide } from './Adornment/enums';
|
|
@@ -89,7 +89,7 @@ const TextInputOutlined = ({
|
|
|
89
89
|
const { INPUT_PADDING_HORIZONTAL, MIN_HEIGHT, ADORNMENT_OFFSET, MIN_WIDTH } =
|
|
90
90
|
getConstants(isV3);
|
|
91
91
|
|
|
92
|
-
const
|
|
92
|
+
const { colors: bloomColors } = useTheme();
|
|
93
93
|
|
|
94
94
|
const {
|
|
95
95
|
fontSize: fontSizeStyle,
|
|
@@ -101,7 +101,7 @@ const TextInputOutlined = ({
|
|
|
101
101
|
...viewStyle
|
|
102
102
|
} = (StyleSheet.flatten(style) || {}) as TextStyle;
|
|
103
103
|
|
|
104
|
-
const backgroundColor = styleBackgroundColor ??
|
|
104
|
+
const backgroundColor = styleBackgroundColor ?? bloomColors.background;
|
|
105
105
|
const fontSize = fontSizeStyle || MAXIMIZED_LABEL_FONT_SIZE;
|
|
106
106
|
// Always set a minimum lineHeight to prevent text cutoff
|
|
107
107
|
// Use at least 1.4x fontSize for better text spacing
|
|
@@ -127,7 +127,7 @@ const TextInputOutlined = ({
|
|
|
127
127
|
|
|
128
128
|
// Override text color with theme color (unless custom textColor prop is provided)
|
|
129
129
|
// If disabled, keep the original inputTextColor which handles opacity correctly
|
|
130
|
-
const finalInputTextColor = textColor ?? (disabled ? inputTextColor :
|
|
130
|
+
const finalInputTextColor = textColor ?? (disabled ? inputTextColor : bloomColors.text);
|
|
131
131
|
|
|
132
132
|
const densePaddingTop = label ? LABEL_PADDING_TOP_DENSE : 0;
|
|
133
133
|
const paddingTop = label ? LABEL_PADDING_TOP : 0;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import { View, Text, TouchableOpacity, Modal, ScrollView } from 'react-native';
|
|
3
3
|
import { Ionicons } from '@expo/vector-icons';
|
|
4
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
4
5
|
import type { FileMetadata } from '@oxyhq/core';
|
|
5
6
|
import { formatFileSize, getFileIcon } from '../../utils/fileManagement';
|
|
6
7
|
import { fileManagementStyles } from './styles';
|
|
7
|
-
import type { ThemeStyles } from '../../hooks/useThemeStyles';
|
|
8
8
|
|
|
9
9
|
interface FileDetailsModalProps {
|
|
10
10
|
visible: boolean;
|
|
@@ -12,8 +12,9 @@ interface FileDetailsModalProps {
|
|
|
12
12
|
onClose: () => void;
|
|
13
13
|
onDownload: (fileId: string, filename: string) => void;
|
|
14
14
|
onDelete: (fileId: string, filename: string) => void;
|
|
15
|
-
themeStyles: ThemeStyles;
|
|
16
15
|
isOwner: boolean;
|
|
16
|
+
/** @deprecated No longer used. Colors are sourced from useTheme() internally. */
|
|
17
|
+
themeStyles?: unknown;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
export const FileDetailsModal: React.FC<FileDetailsModalProps> = ({
|
|
@@ -22,11 +23,9 @@ export const FileDetailsModal: React.FC<FileDetailsModalProps> = ({
|
|
|
22
23
|
onClose,
|
|
23
24
|
onDownload,
|
|
24
25
|
onDelete,
|
|
25
|
-
themeStyles,
|
|
26
26
|
isOwner,
|
|
27
27
|
}) => {
|
|
28
|
-
const
|
|
29
|
-
const borderColor = themeStyles.borderColor;
|
|
28
|
+
const { colors } = useTheme();
|
|
30
29
|
|
|
31
30
|
if (!file) return null;
|
|
32
31
|
|
|
@@ -37,66 +36,66 @@ export const FileDetailsModal: React.FC<FileDetailsModalProps> = ({
|
|
|
37
36
|
presentationStyle="pageSheet"
|
|
38
37
|
onRequestClose={onClose}
|
|
39
38
|
>
|
|
40
|
-
<View style={
|
|
41
|
-
<View style={
|
|
39
|
+
<View className="bg-background" style={fileManagementStyles.modalContainer}>
|
|
40
|
+
<View className="border-b border-border" style={fileManagementStyles.modalHeader}>
|
|
42
41
|
<TouchableOpacity
|
|
43
42
|
style={fileManagementStyles.modalCloseButton}
|
|
44
43
|
onPress={onClose}
|
|
45
44
|
>
|
|
46
|
-
<Ionicons name="close" size={24} color={
|
|
45
|
+
<Ionicons name="close" size={24} color={colors.text} />
|
|
47
46
|
</TouchableOpacity>
|
|
48
|
-
<Text style={
|
|
47
|
+
<Text className="text-foreground" style={fileManagementStyles.modalTitle}>File Details</Text>
|
|
49
48
|
<View style={fileManagementStyles.modalPlaceholder} />
|
|
50
49
|
</View>
|
|
51
50
|
|
|
52
51
|
<ScrollView style={fileManagementStyles.modalContent}>
|
|
53
|
-
<View style={
|
|
52
|
+
<View className="bg-secondary border-border" style={fileManagementStyles.fileDetailCard}>
|
|
54
53
|
<View style={fileManagementStyles.fileDetailIcon}>
|
|
55
54
|
<Ionicons
|
|
56
55
|
name={getFileIcon(file.contentType) as React.ComponentProps<typeof Ionicons>['name']}
|
|
57
56
|
size={64}
|
|
58
|
-
color={
|
|
57
|
+
color={colors.primary}
|
|
59
58
|
/>
|
|
60
59
|
</View>
|
|
61
60
|
|
|
62
|
-
<Text style={
|
|
61
|
+
<Text className="text-foreground" style={fileManagementStyles.fileDetailName}>
|
|
63
62
|
{file.filename}
|
|
64
63
|
</Text>
|
|
65
64
|
|
|
66
65
|
<View style={fileManagementStyles.fileDetailInfo}>
|
|
67
66
|
<View style={fileManagementStyles.detailRow}>
|
|
68
|
-
<Text style={
|
|
67
|
+
<Text className="text-muted-foreground" style={fileManagementStyles.detailLabel}>
|
|
69
68
|
Size:
|
|
70
69
|
</Text>
|
|
71
|
-
<Text style={
|
|
70
|
+
<Text className="text-foreground" style={fileManagementStyles.detailValue}>
|
|
72
71
|
{formatFileSize(file.length)}
|
|
73
72
|
</Text>
|
|
74
73
|
</View>
|
|
75
74
|
|
|
76
75
|
<View style={fileManagementStyles.detailRow}>
|
|
77
|
-
<Text style={
|
|
76
|
+
<Text className="text-muted-foreground" style={fileManagementStyles.detailLabel}>
|
|
78
77
|
Type:
|
|
79
78
|
</Text>
|
|
80
|
-
<Text style={
|
|
79
|
+
<Text className="text-foreground" style={fileManagementStyles.detailValue}>
|
|
81
80
|
{file.contentType}
|
|
82
81
|
</Text>
|
|
83
82
|
</View>
|
|
84
83
|
|
|
85
84
|
<View style={fileManagementStyles.detailRow}>
|
|
86
|
-
<Text style={
|
|
85
|
+
<Text className="text-muted-foreground" style={fileManagementStyles.detailLabel}>
|
|
87
86
|
Uploaded:
|
|
88
87
|
</Text>
|
|
89
|
-
<Text style={
|
|
88
|
+
<Text className="text-foreground" style={fileManagementStyles.detailValue}>
|
|
90
89
|
{new Date(file.uploadDate).toLocaleString()}
|
|
91
90
|
</Text>
|
|
92
91
|
</View>
|
|
93
92
|
|
|
94
93
|
{file.metadata?.description && (
|
|
95
94
|
<View style={fileManagementStyles.detailRow}>
|
|
96
|
-
<Text style={
|
|
95
|
+
<Text className="text-muted-foreground" style={fileManagementStyles.detailLabel}>
|
|
97
96
|
Description:
|
|
98
97
|
</Text>
|
|
99
|
-
<Text style={
|
|
98
|
+
<Text className="text-foreground" style={fileManagementStyles.detailValue}>
|
|
100
99
|
{file.metadata.description}
|
|
101
100
|
</Text>
|
|
102
101
|
</View>
|
|
@@ -105,7 +104,8 @@ export const FileDetailsModal: React.FC<FileDetailsModalProps> = ({
|
|
|
105
104
|
|
|
106
105
|
<View style={fileManagementStyles.modalActions}>
|
|
107
106
|
<TouchableOpacity
|
|
108
|
-
|
|
107
|
+
className="bg-primary"
|
|
108
|
+
style={fileManagementStyles.modalActionButton}
|
|
109
109
|
onPress={() => {
|
|
110
110
|
onDownload(file.id, file.filename);
|
|
111
111
|
onClose();
|
|
@@ -117,7 +117,8 @@ export const FileDetailsModal: React.FC<FileDetailsModalProps> = ({
|
|
|
117
117
|
|
|
118
118
|
{isOwner && (
|
|
119
119
|
<TouchableOpacity
|
|
120
|
-
|
|
120
|
+
className="bg-destructive"
|
|
121
|
+
style={fileManagementStyles.modalActionButton}
|
|
121
122
|
onPress={() => {
|
|
122
123
|
onClose();
|
|
123
124
|
onDelete(file.id, file.filename);
|
|
@@ -4,10 +4,11 @@ import { View, Text, TouchableOpacity, ScrollView, ActivityIndicator, Image } fr
|
|
|
4
4
|
import { Image as ExpoImage } from 'expo-image';
|
|
5
5
|
// @ts-ignore - MaterialCommunityIcons is available at runtime
|
|
6
6
|
import { MaterialCommunityIcons } from '@expo/vector-icons';
|
|
7
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
7
8
|
import type { FileMetadata } from '@oxyhq/core';
|
|
8
9
|
import { formatFileSize } from '../../utils/fileManagement';
|
|
9
10
|
import { fileManagementStyles } from './styles';
|
|
10
|
-
import
|
|
11
|
+
import { Colors } from '../../constants/theme';
|
|
11
12
|
import { GroupedSection } from '../GroupedSection';
|
|
12
13
|
|
|
13
14
|
interface FileViewerProps {
|
|
@@ -19,8 +20,9 @@ interface FileViewerProps {
|
|
|
19
20
|
onClose: () => void;
|
|
20
21
|
onDownload: (fileId: string, filename: string) => void;
|
|
21
22
|
onDelete: (fileId: string, filename: string) => void;
|
|
22
|
-
themeStyles: ThemeStyles;
|
|
23
23
|
isOwner: boolean;
|
|
24
|
+
/** @deprecated No longer used. Colors are sourced from useTheme() internally. */
|
|
25
|
+
themeStyles?: unknown;
|
|
24
26
|
}
|
|
25
27
|
|
|
26
28
|
export const FileViewer: React.FC<FileViewerProps> = ({
|
|
@@ -32,9 +34,10 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
32
34
|
onClose,
|
|
33
35
|
onDownload,
|
|
34
36
|
onDelete,
|
|
35
|
-
themeStyles,
|
|
36
37
|
isOwner,
|
|
37
38
|
}) => {
|
|
39
|
+
const { colors, isDark } = useTheme();
|
|
40
|
+
const constantColors = Colors[isDark ? 'dark' : 'light'];
|
|
38
41
|
const isImage = file.contentType.startsWith('image/');
|
|
39
42
|
const isText = file.contentType.startsWith('text/') ||
|
|
40
43
|
file.contentType.includes('json') ||
|
|
@@ -45,10 +48,9 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
45
48
|
const isVideo = file.contentType.startsWith('video/');
|
|
46
49
|
const isAudio = file.contentType.startsWith('audio/');
|
|
47
50
|
|
|
48
|
-
const
|
|
51
|
+
const bgColor = isImage && fileContent
|
|
49
52
|
? 'transparent'
|
|
50
|
-
:
|
|
51
|
-
const borderColor = themeStyles.borderColor;
|
|
53
|
+
: undefined;
|
|
52
54
|
|
|
53
55
|
const [containerWidth, setContainerWidth] = useState<number>(0);
|
|
54
56
|
const [imageDimensions, setImageDimensions] = useState<{ width: number; height: number } | null>(null);
|
|
@@ -107,28 +109,28 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
107
109
|
{
|
|
108
110
|
id: 'filename',
|
|
109
111
|
icon: 'file-document',
|
|
110
|
-
iconColor:
|
|
112
|
+
iconColor: constantColors.iconSecurity,
|
|
111
113
|
title: 'File Name',
|
|
112
114
|
subtitle: file.filename,
|
|
113
115
|
},
|
|
114
116
|
{
|
|
115
117
|
id: 'size',
|
|
116
118
|
icon: 'server',
|
|
117
|
-
iconColor:
|
|
119
|
+
iconColor: constantColors.iconStorage,
|
|
118
120
|
title: 'Size',
|
|
119
121
|
subtitle: formatFileSize(file.length),
|
|
120
122
|
},
|
|
121
123
|
{
|
|
122
124
|
id: 'type',
|
|
123
125
|
icon: 'code-tags',
|
|
124
|
-
iconColor:
|
|
126
|
+
iconColor: constantColors.iconData,
|
|
125
127
|
title: 'Type',
|
|
126
128
|
subtitle: file.contentType,
|
|
127
129
|
},
|
|
128
130
|
{
|
|
129
131
|
id: 'uploaded',
|
|
130
132
|
icon: 'clock',
|
|
131
|
-
iconColor:
|
|
133
|
+
iconColor: constantColors.iconPersonalInfo,
|
|
132
134
|
title: 'Uploaded',
|
|
133
135
|
subtitle: new Date(file.uploadDate).toLocaleString(),
|
|
134
136
|
},
|
|
@@ -138,7 +140,7 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
138
140
|
items.push({
|
|
139
141
|
id: 'description',
|
|
140
142
|
icon: 'text',
|
|
141
|
-
iconColor:
|
|
143
|
+
iconColor: constantColors.iconData,
|
|
142
144
|
title: 'Description',
|
|
143
145
|
subtitle: file.metadata.description,
|
|
144
146
|
});
|
|
@@ -147,16 +149,19 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
147
149
|
items.push({
|
|
148
150
|
id: 'fileId',
|
|
149
151
|
icon: 'key',
|
|
150
|
-
iconColor:
|
|
152
|
+
iconColor: constantColors.iconSecurity,
|
|
151
153
|
title: 'File ID',
|
|
152
154
|
subtitle: file.id,
|
|
153
155
|
});
|
|
154
156
|
|
|
155
157
|
return items;
|
|
156
|
-
}, [file,
|
|
158
|
+
}, [file, constantColors]);
|
|
157
159
|
|
|
158
160
|
return (
|
|
159
|
-
<View
|
|
161
|
+
<View
|
|
162
|
+
className={isImage && fileContent ? undefined : 'bg-background'}
|
|
163
|
+
style={[fileManagementStyles.fileViewerContainer, bgColor ? { backgroundColor: bgColor } : undefined]}
|
|
164
|
+
>
|
|
160
165
|
{/* Blurred Background Image - only for images */}
|
|
161
166
|
{isImage && fileContent && (
|
|
162
167
|
<>
|
|
@@ -168,24 +173,26 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
168
173
|
transition={120}
|
|
169
174
|
cachePolicy="memory-disk"
|
|
170
175
|
/>
|
|
171
|
-
<View style={[fileManagementStyles.backgroundOverlay, { backgroundColor:
|
|
176
|
+
<View style={[fileManagementStyles.backgroundOverlay, { backgroundColor: isDark ? 'rgba(0, 0, 0, 0.6)' : 'rgba(255, 255, 255, 0.85)' }]} />
|
|
172
177
|
</>
|
|
173
178
|
)}
|
|
174
179
|
|
|
175
180
|
{/* Floating Back Button */}
|
|
176
181
|
<TouchableOpacity
|
|
177
|
-
|
|
182
|
+
className="bg-card"
|
|
183
|
+
style={fileManagementStyles.floatingBackButton}
|
|
178
184
|
onPress={onClose}
|
|
179
185
|
>
|
|
180
|
-
<MaterialCommunityIcons name="arrow-left" size={20} color={
|
|
186
|
+
<MaterialCommunityIcons name="arrow-left" size={20} color={colors.text} />
|
|
181
187
|
</TouchableOpacity>
|
|
182
188
|
|
|
183
189
|
{/* Floating Download Button */}
|
|
184
190
|
<TouchableOpacity
|
|
185
|
-
|
|
191
|
+
className="bg-card"
|
|
192
|
+
style={fileManagementStyles.floatingDownloadButton}
|
|
186
193
|
onPress={() => onDownload(file.id, file.filename)}
|
|
187
194
|
>
|
|
188
|
-
<MaterialCommunityIcons name="download" size={20} color={
|
|
195
|
+
<MaterialCommunityIcons name="download" size={20} color={colors.primary} />
|
|
189
196
|
</TouchableOpacity>
|
|
190
197
|
|
|
191
198
|
{/* File Content */}
|
|
@@ -195,13 +202,13 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
195
202
|
>
|
|
196
203
|
{loadingFileContent ? (
|
|
197
204
|
<View style={fileManagementStyles.fileViewerLoading}>
|
|
198
|
-
<ActivityIndicator size="large" color={
|
|
199
|
-
<Text style={
|
|
205
|
+
<ActivityIndicator size="large" color={colors.primary} />
|
|
206
|
+
<Text className="text-foreground" style={fileManagementStyles.fileViewerLoadingText}>
|
|
200
207
|
Loading file content...
|
|
201
208
|
</Text>
|
|
202
209
|
</View>
|
|
203
210
|
) : isImage && fileContent ? (
|
|
204
|
-
<View
|
|
211
|
+
<View
|
|
205
212
|
style={fileManagementStyles.imageContainer}
|
|
206
213
|
onLayout={(e) => {
|
|
207
214
|
const width = e.nativeEvent.layout.width;
|
|
@@ -210,7 +217,7 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
210
217
|
}
|
|
211
218
|
}}
|
|
212
219
|
>
|
|
213
|
-
<View
|
|
220
|
+
<View
|
|
214
221
|
style={[
|
|
215
222
|
fileManagementStyles.imageWrapper,
|
|
216
223
|
{
|
|
@@ -236,9 +243,9 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
236
243
|
</View>
|
|
237
244
|
</View>
|
|
238
245
|
) : isText && fileContent ? (
|
|
239
|
-
<View style={
|
|
246
|
+
<View className="bg-card" style={fileManagementStyles.textContainer}>
|
|
240
247
|
<ScrollView style={{ flex: 1 }} nestedScrollEnabled>
|
|
241
|
-
<Text style={
|
|
248
|
+
<Text className="text-foreground" style={fileManagementStyles.textContent}>
|
|
242
249
|
{fileContent}
|
|
243
250
|
</Text>
|
|
244
251
|
</ScrollView>
|
|
@@ -248,17 +255,18 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
248
255
|
<MaterialCommunityIcons
|
|
249
256
|
name="file-pdf-box"
|
|
250
257
|
size={64}
|
|
251
|
-
color={
|
|
258
|
+
color={colors.textSecondary}
|
|
252
259
|
/>
|
|
253
|
-
<Text style={
|
|
260
|
+
<Text className="text-foreground" style={fileManagementStyles.unsupportedFileTitle}>
|
|
254
261
|
PDF Preview Not Available
|
|
255
262
|
</Text>
|
|
256
|
-
<Text style={
|
|
263
|
+
<Text className="text-muted-foreground" style={fileManagementStyles.unsupportedFileDescription}>
|
|
257
264
|
PDF files cannot be previewed in this viewer.{'\n'}
|
|
258
265
|
Download the file to view its contents.
|
|
259
266
|
</Text>
|
|
260
267
|
<TouchableOpacity
|
|
261
|
-
|
|
268
|
+
className="bg-primary"
|
|
269
|
+
style={fileManagementStyles.downloadButtonLarge}
|
|
262
270
|
onPress={() => onDownload(file.id, file.filename)}
|
|
263
271
|
>
|
|
264
272
|
<MaterialCommunityIcons name="download" size={18} color="#FFFFFF" />
|
|
@@ -270,17 +278,18 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
270
278
|
<MaterialCommunityIcons
|
|
271
279
|
name="video-outline"
|
|
272
280
|
size={64}
|
|
273
|
-
color={
|
|
281
|
+
color={colors.textSecondary}
|
|
274
282
|
/>
|
|
275
|
-
<Text style={
|
|
283
|
+
<Text className="text-foreground" style={fileManagementStyles.unsupportedFileTitle}>
|
|
276
284
|
Video Playback Not Available
|
|
277
285
|
</Text>
|
|
278
|
-
<Text style={
|
|
286
|
+
<Text className="text-muted-foreground" style={fileManagementStyles.unsupportedFileDescription}>
|
|
279
287
|
Video playback is not supported in this viewer.{'\n'}
|
|
280
288
|
Download the file to view it.
|
|
281
289
|
</Text>
|
|
282
290
|
<TouchableOpacity
|
|
283
|
-
|
|
291
|
+
className="bg-primary"
|
|
292
|
+
style={fileManagementStyles.downloadButtonLarge}
|
|
284
293
|
onPress={() => onDownload(file.id, file.filename)}
|
|
285
294
|
>
|
|
286
295
|
<MaterialCommunityIcons name="download" size={18} color="#FFFFFF" />
|
|
@@ -292,17 +301,18 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
292
301
|
<MaterialCommunityIcons
|
|
293
302
|
name="music-note-outline"
|
|
294
303
|
size={64}
|
|
295
|
-
color={
|
|
304
|
+
color={colors.textSecondary}
|
|
296
305
|
/>
|
|
297
|
-
<Text style={
|
|
306
|
+
<Text className="text-foreground" style={fileManagementStyles.unsupportedFileTitle}>
|
|
298
307
|
Audio Playback Not Available
|
|
299
308
|
</Text>
|
|
300
|
-
<Text style={
|
|
309
|
+
<Text className="text-muted-foreground" style={fileManagementStyles.unsupportedFileDescription}>
|
|
301
310
|
Audio playback is not supported in this viewer.{'\n'}
|
|
302
311
|
Download the file to listen to it.
|
|
303
312
|
</Text>
|
|
304
313
|
<TouchableOpacity
|
|
305
|
-
|
|
314
|
+
className="bg-primary"
|
|
315
|
+
style={fileManagementStyles.downloadButtonLarge}
|
|
306
316
|
onPress={() => onDownload(file.id, file.filename)}
|
|
307
317
|
>
|
|
308
318
|
<MaterialCommunityIcons name="download" size={18} color="#FFFFFF" />
|
|
@@ -314,17 +324,18 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
314
324
|
<MaterialCommunityIcons
|
|
315
325
|
name="file-outline"
|
|
316
326
|
size={64}
|
|
317
|
-
color={
|
|
327
|
+
color={colors.textSecondary}
|
|
318
328
|
/>
|
|
319
|
-
<Text style={
|
|
329
|
+
<Text className="text-foreground" style={fileManagementStyles.unsupportedFileTitle}>
|
|
320
330
|
Preview Not Available
|
|
321
331
|
</Text>
|
|
322
|
-
<Text style={
|
|
332
|
+
<Text className="text-muted-foreground" style={fileManagementStyles.unsupportedFileDescription}>
|
|
323
333
|
This file type cannot be previewed.{'\n'}
|
|
324
334
|
Download the file to view its contents.
|
|
325
335
|
</Text>
|
|
326
336
|
<TouchableOpacity
|
|
327
|
-
|
|
337
|
+
className="bg-primary"
|
|
338
|
+
style={fileManagementStyles.downloadButtonLarge}
|
|
328
339
|
onPress={() => onDownload(file.id, file.filename)}
|
|
329
340
|
>
|
|
330
341
|
<MaterialCommunityIcons name="download" size={18} color="#FFFFFF" />
|
|
@@ -335,9 +346,9 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
335
346
|
</ScrollView>
|
|
336
347
|
|
|
337
348
|
{/* File Details Section - at bottom */}
|
|
338
|
-
<View style={
|
|
349
|
+
<View className="bg-card" style={fileManagementStyles.fileDetailsSection}>
|
|
339
350
|
<View style={fileManagementStyles.fileDetailsSectionHeader}>
|
|
340
|
-
<Text style={
|
|
351
|
+
<Text className="text-foreground" style={fileManagementStyles.fileDetailsSectionTitle}>
|
|
341
352
|
File Details
|
|
342
353
|
</Text>
|
|
343
354
|
<TouchableOpacity
|
|
@@ -347,7 +358,7 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
347
358
|
<MaterialCommunityIcons
|
|
348
359
|
name={showFileDetailsInViewer ? "chevron-up" : "chevron-down"}
|
|
349
360
|
size={20}
|
|
350
|
-
color={
|
|
361
|
+
color={colors.textSecondary}
|
|
351
362
|
/>
|
|
352
363
|
</TouchableOpacity>
|
|
353
364
|
</View>
|
|
@@ -361,7 +372,8 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
361
372
|
{isOwner && (
|
|
362
373
|
<View style={fileManagementStyles.fileDetailsActions}>
|
|
363
374
|
<TouchableOpacity
|
|
364
|
-
|
|
375
|
+
className="bg-destructive"
|
|
376
|
+
style={fileManagementStyles.fileDetailsActionButton}
|
|
365
377
|
onPress={() => {
|
|
366
378
|
onClose();
|
|
367
379
|
onDelete(file.id, file.filename);
|