@oxyhq/services 6.9.32 → 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/FollowButton.js +13 -65
- package/lib/commonjs/ui/components/FollowButton.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/FollowButton.js +12 -64
- package/lib/module/ui/components/FollowButton.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/FollowButton.d.ts +0 -11
- package/lib/typescript/commonjs/ui/components/FollowButton.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/FollowButton.d.ts +0 -11
- package/lib/typescript/module/ui/components/FollowButton.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/lib/typescript/nativewind-env.d.ts +1 -0
- package/package.json +8 -2
- package/src/nativewind-env.d.ts +1 -0
- 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/FollowButton.tsx +14 -50
- 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
|
@@ -10,8 +10,10 @@ import { toast } from '../../lib/sonner';
|
|
|
10
10
|
import { Header } from '../components';
|
|
11
11
|
import { SettingsIcon } from '../components/SettingsIcon';
|
|
12
12
|
import { useI18n } from '../hooks/useI18n';
|
|
13
|
-
import {
|
|
13
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
14
14
|
import { useColorScheme } from '../hooks/useColorScheme';
|
|
15
|
+
import { Colors } from '../constants/theme';
|
|
16
|
+
import { normalizeColorScheme } from '../utils/themeUtils';
|
|
15
17
|
import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list';
|
|
16
18
|
|
|
17
19
|
const HelpSupportScreen: React.FC<BaseScreenProps> = ({
|
|
@@ -21,8 +23,10 @@ const HelpSupportScreen: React.FC<BaseScreenProps> = ({
|
|
|
21
23
|
navigate,
|
|
22
24
|
}) => {
|
|
23
25
|
const { t } = useI18n();
|
|
26
|
+
const bloomTheme = useTheme();
|
|
24
27
|
const colorScheme = useColorScheme();
|
|
25
|
-
const
|
|
28
|
+
const normalizedColorScheme = normalizeColorScheme(colorScheme);
|
|
29
|
+
const themeColors = Colors[normalizedColorScheme];
|
|
26
30
|
|
|
27
31
|
const handleContactSupport = useMemo(() => () => {
|
|
28
32
|
Linking.openURL('mailto:support@oxy.so?subject=Support Request').catch(() => {
|
|
@@ -46,7 +50,7 @@ const HelpSupportScreen: React.FC<BaseScreenProps> = ({
|
|
|
46
50
|
}, [t]);
|
|
47
51
|
|
|
48
52
|
return (
|
|
49
|
-
<View style={
|
|
53
|
+
<View style={styles.container} className="bg-background">
|
|
50
54
|
<Header
|
|
51
55
|
title={t('help.title') || 'Help & Support'}
|
|
52
56
|
|
|
@@ -59,19 +63,19 @@ const HelpSupportScreen: React.FC<BaseScreenProps> = ({
|
|
|
59
63
|
{/* Help Options */}
|
|
60
64
|
<SettingsListGroup title={t('help.options') || 'Get Help'}>
|
|
61
65
|
<SettingsListItem
|
|
62
|
-
icon={<SettingsIcon name="help-circle" color={
|
|
66
|
+
icon={<SettingsIcon name="help-circle" color={themeColors.iconSecurity} />}
|
|
63
67
|
title={t('help.faq.title') || 'Frequently Asked Questions'}
|
|
64
68
|
description={t('help.faq.subtitle') || 'Find answers to common questions'}
|
|
65
69
|
onPress={handleFAQ}
|
|
66
70
|
/>
|
|
67
71
|
<SettingsListItem
|
|
68
|
-
icon={<SettingsIcon name="email" color={
|
|
72
|
+
icon={<SettingsIcon name="email" color={themeColors.iconPersonalInfo} />}
|
|
69
73
|
title={t('help.contact.title') || 'Contact Support'}
|
|
70
74
|
description={t('help.contact.subtitle') || 'Get help from our support team'}
|
|
71
75
|
onPress={handleContactSupport}
|
|
72
76
|
/>
|
|
73
77
|
<SettingsListItem
|
|
74
|
-
icon={<SettingsIcon name="bug" color={
|
|
78
|
+
icon={<SettingsIcon name="bug" color={themeColors.iconStorage} />}
|
|
75
79
|
title={t('help.reportBug.title') || 'Report a Bug'}
|
|
76
80
|
description={t('help.reportBug.subtitle') || 'Help us improve by reporting issues'}
|
|
77
81
|
onPress={handleReportBug}
|
|
@@ -91,7 +95,7 @@ const HelpSupportScreen: React.FC<BaseScreenProps> = ({
|
|
|
91
95
|
}}
|
|
92
96
|
/>
|
|
93
97
|
<SettingsListItem
|
|
94
|
-
icon={<SettingsIcon name="account-group" color={
|
|
98
|
+
icon={<SettingsIcon name="account-group" color={themeColors.iconData} />}
|
|
95
99
|
title={t('help.community.title') || 'Community'}
|
|
96
100
|
description={t('help.community.subtitle') || 'Join our community'}
|
|
97
101
|
onPress={() => {
|
|
@@ -101,7 +105,7 @@ const HelpSupportScreen: React.FC<BaseScreenProps> = ({
|
|
|
101
105
|
}}
|
|
102
106
|
/>
|
|
103
107
|
<SettingsListItem
|
|
104
|
-
icon={<SettingsIcon name="code-tags" color={
|
|
108
|
+
icon={<SettingsIcon name="code-tags" color={themeColors.iconSharing} />}
|
|
105
109
|
title={t('help.developersPortal.title') || 'Developers Portal'}
|
|
106
110
|
description={t('help.developersPortal.subtitle') || 'API documentation and developer resources'}
|
|
107
111
|
onPress={() => {
|
|
@@ -9,8 +9,10 @@ import { toast } from '../../lib/sonner';
|
|
|
9
9
|
import { confirmAction } from '../utils/confirmAction';
|
|
10
10
|
import { Header, Section, GroupedSection, LoadingState, EmptyState } from '../components';
|
|
11
11
|
import { useI18n } from '../hooks/useI18n';
|
|
12
|
-
import {
|
|
12
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
13
13
|
import { useColorScheme } from '../hooks/useColorScheme';
|
|
14
|
+
import { Colors } from '../constants/theme';
|
|
15
|
+
import { normalizeColorScheme } from '../utils/themeUtils';
|
|
14
16
|
import { useOxy } from '../context/OxyContext';
|
|
15
17
|
|
|
16
18
|
interface HistoryItem {
|
|
@@ -28,8 +30,10 @@ const HistoryViewScreen: React.FC<BaseScreenProps> = ({
|
|
|
28
30
|
// Use useOxy() hook for OxyContext values
|
|
29
31
|
const { user } = useOxy();
|
|
30
32
|
const { t } = useI18n();
|
|
33
|
+
const bloomTheme = useTheme();
|
|
31
34
|
const colorScheme = useColorScheme();
|
|
32
|
-
const
|
|
35
|
+
const normalizedColorScheme = normalizeColorScheme(colorScheme);
|
|
36
|
+
const themeColors = Colors[normalizedColorScheme];
|
|
33
37
|
const [history, setHistory] = useState<HistoryItem[]>([]);
|
|
34
38
|
const [isLoading, setIsLoading] = useState(true);
|
|
35
39
|
const [isDeleting, setIsDeleting] = useState(false);
|
|
@@ -180,7 +184,7 @@ const HistoryViewScreen: React.FC<BaseScreenProps> = ({
|
|
|
180
184
|
};
|
|
181
185
|
|
|
182
186
|
return (
|
|
183
|
-
<View style={
|
|
187
|
+
<View style={styles.container} className="bg-background">
|
|
184
188
|
<Header
|
|
185
189
|
title={t('history.title') || 'History'}
|
|
186
190
|
onBack={goBack || onClose}
|
|
@@ -196,7 +200,7 @@ const HistoryViewScreen: React.FC<BaseScreenProps> = ({
|
|
|
196
200
|
{
|
|
197
201
|
id: 'delete-last-15',
|
|
198
202
|
icon: 'clock-outline',
|
|
199
|
-
iconColor:
|
|
203
|
+
iconColor: themeColors.iconStorage,
|
|
200
204
|
title: t('history.deleteLast15Minutes.title') || 'Delete Last 15 Minutes',
|
|
201
205
|
subtitle: t('history.deleteLast15Minutes.subtitle') || 'Remove recent history entries',
|
|
202
206
|
onPress: handleDeleteLast15Minutes,
|
|
@@ -205,7 +209,7 @@ const HistoryViewScreen: React.FC<BaseScreenProps> = ({
|
|
|
205
209
|
{
|
|
206
210
|
id: 'clear-all',
|
|
207
211
|
icon: 'delete-outline',
|
|
208
|
-
iconColor:
|
|
212
|
+
iconColor: themeColors.iconSharing,
|
|
209
213
|
title: t('history.clearAll.title') || 'Clear All History',
|
|
210
214
|
subtitle: t('history.clearAll.subtitle') || 'Remove all history entries',
|
|
211
215
|
onPress: handleClearAll,
|
|
@@ -221,19 +225,19 @@ const HistoryViewScreen: React.FC<BaseScreenProps> = ({
|
|
|
221
225
|
{isLoading ? (
|
|
222
226
|
<LoadingState
|
|
223
227
|
message={t('history.loading') || 'Loading history...'}
|
|
224
|
-
color={
|
|
228
|
+
color={bloomTheme.colors.text}
|
|
225
229
|
/>
|
|
226
230
|
) : history.length === 0 ? (
|
|
227
231
|
<EmptyState
|
|
228
232
|
message={t('history.empty') || 'No history yet'}
|
|
229
|
-
textColor={
|
|
233
|
+
textColor={bloomTheme.colors.text}
|
|
230
234
|
/>
|
|
231
235
|
) : (
|
|
232
236
|
<GroupedSection
|
|
233
237
|
items={history.map((item) => ({
|
|
234
238
|
id: item.id,
|
|
235
239
|
icon: item.type === 'search' ? 'search' : 'globe',
|
|
236
|
-
iconColor: item.type === 'search' ?
|
|
240
|
+
iconColor: item.type === 'search' ? themeColors.iconSecurity : themeColors.iconPersonalInfo,
|
|
237
241
|
title: item.query,
|
|
238
242
|
subtitle: formatTime(item.timestamp),
|
|
239
243
|
}))}
|
|
@@ -8,8 +8,7 @@ import {
|
|
|
8
8
|
Platform,
|
|
9
9
|
} from 'react-native';
|
|
10
10
|
import type { BaseScreenProps } from '../types/navigation';
|
|
11
|
-
import {
|
|
12
|
-
import { useColorScheme } from '../hooks/useColorScheme';
|
|
11
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
13
12
|
import { normalizeTheme } from '../utils/themeUtils';
|
|
14
13
|
import { Ionicons } from '@expo/vector-icons';
|
|
15
14
|
import { toast } from '../../lib/sonner';
|
|
@@ -37,10 +36,8 @@ const LanguageSelectorScreen: React.FC<LanguageSelectorScreenProps> = ({
|
|
|
37
36
|
// Use useOxy() hook for OxyContext values
|
|
38
37
|
const { user, currentLanguage, setLanguage, oxyServices, isAuthenticated } = useOxy();
|
|
39
38
|
const { t } = useI18n();
|
|
40
|
-
const
|
|
39
|
+
const bloomTheme = useTheme();
|
|
41
40
|
const normalizedTheme = normalizeTheme(theme);
|
|
42
|
-
const themeStyles = useThemeStyles(normalizedTheme, colorScheme);
|
|
43
|
-
const themeColors = themeStyles.colors;
|
|
44
41
|
const [isLoading, setIsLoading] = useState(false);
|
|
45
42
|
|
|
46
43
|
// Memoize the language select handler to prevent recreation on every render
|
|
@@ -111,16 +108,16 @@ const LanguageSelectorScreen: React.FC<LanguageSelectorScreenProps> = ({
|
|
|
111
108
|
selected: isSelected,
|
|
112
109
|
onPress: () => handleLanguageSelect(language.id),
|
|
113
110
|
customContent: isSelected ? (
|
|
114
|
-
<Ionicons name="checkmark-circle" size={24} color={
|
|
111
|
+
<Ionicons name="checkmark-circle" size={24} color={bloomTheme.colors.primary} />
|
|
115
112
|
) : undefined,
|
|
116
113
|
};
|
|
117
114
|
}),
|
|
118
|
-
[currentLanguage, handleLanguageSelect,
|
|
115
|
+
[currentLanguage, handleLanguageSelect, bloomTheme]
|
|
119
116
|
);
|
|
120
117
|
|
|
121
118
|
|
|
122
119
|
return (
|
|
123
|
-
<View style={
|
|
120
|
+
<View style={styles.container} className="bg-background">
|
|
124
121
|
<Header
|
|
125
122
|
title=""
|
|
126
123
|
subtitle=""
|
|
@@ -138,11 +135,11 @@ const LanguageSelectorScreen: React.FC<LanguageSelectorScreenProps> = ({
|
|
|
138
135
|
>
|
|
139
136
|
{/* Big Title */}
|
|
140
137
|
<View style={styles.titleContainer}>
|
|
141
|
-
<Text style={[styles.bigTitle, { color:
|
|
138
|
+
<Text style={[styles.bigTitle, { color: bloomTheme.colors.text }]}>
|
|
142
139
|
{t('language.title')}
|
|
143
140
|
</Text>
|
|
144
141
|
{t('language.subtitle') && (
|
|
145
|
-
<Text style={[styles.bigSubtitle, { color:
|
|
142
|
+
<Text style={[styles.bigSubtitle, { color: bloomTheme.colors.textSecondary }]}>
|
|
146
143
|
{t('language.subtitle')}
|
|
147
144
|
</Text>
|
|
148
145
|
)}
|
|
@@ -151,7 +148,7 @@ const LanguageSelectorScreen: React.FC<LanguageSelectorScreenProps> = ({
|
|
|
151
148
|
{/* Available languages - Main section */}
|
|
152
149
|
<View style={styles.sectionContainer}>
|
|
153
150
|
<View style={[styles.materialCard, {
|
|
154
|
-
backgroundColor:
|
|
151
|
+
backgroundColor: bloomTheme.colors.card,
|
|
155
152
|
}]}>
|
|
156
153
|
<GroupedSection items={languageItems} />
|
|
157
154
|
</View>
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from 'react-native';
|
|
10
10
|
import { Ionicons } from '@expo/vector-icons';
|
|
11
11
|
import type { BaseScreenProps } from '../types/navigation';
|
|
12
|
-
import {
|
|
12
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
13
13
|
import { useI18n } from '../hooks/useI18n';
|
|
14
14
|
|
|
15
15
|
interface InfoSection {
|
|
@@ -55,7 +55,7 @@ const INFO_SECTIONS: InfoSection[] = [
|
|
|
55
55
|
const LearnMoreUsernamesScreen: React.FC<BaseScreenProps> = ({
|
|
56
56
|
theme,
|
|
57
57
|
}) => {
|
|
58
|
-
const
|
|
58
|
+
const bloomTheme = useTheme();
|
|
59
59
|
const { t } = useI18n();
|
|
60
60
|
const [expandedIds, setExpandedIds] = useState<Set<string>>(new Set(['what'])); // Start with first section expanded
|
|
61
61
|
|
|
@@ -71,23 +71,23 @@ const LearnMoreUsernamesScreen: React.FC<BaseScreenProps> = ({
|
|
|
71
71
|
});
|
|
72
72
|
}, []);
|
|
73
73
|
|
|
74
|
-
const styles = useMemo(() => createStyles(
|
|
74
|
+
const styles = useMemo(() => createStyles(), []);
|
|
75
75
|
|
|
76
76
|
return (
|
|
77
|
-
<View style={
|
|
77
|
+
<View style={styles.container} className="bg-background">
|
|
78
78
|
<ScrollView
|
|
79
79
|
style={styles.content}
|
|
80
80
|
showsVerticalScrollIndicator={false}
|
|
81
81
|
contentContainerStyle={styles.contentContainer}
|
|
82
82
|
>
|
|
83
83
|
<View style={styles.introSection}>
|
|
84
|
-
<View style={[styles.introIcon, { backgroundColor: `${
|
|
85
|
-
<Ionicons name="at" size={32} color={
|
|
84
|
+
<View style={[styles.introIcon, { backgroundColor: `${bloomTheme.colors.primary}15` }]}>
|
|
85
|
+
<Ionicons name="at" size={32} color={bloomTheme.colors.primary} />
|
|
86
86
|
</View>
|
|
87
|
-
<Text style={[styles.introTitle, { color:
|
|
87
|
+
<Text style={[styles.introTitle, { color: bloomTheme.colors.text }]}>
|
|
88
88
|
{t('learnMoreUsernames.introTitle')}
|
|
89
89
|
</Text>
|
|
90
|
-
<Text style={[styles.introText, { color:
|
|
90
|
+
<Text style={[styles.introText, { color: bloomTheme.colors.textSecondary }]}>
|
|
91
91
|
{t('learnMoreUsernames.introText')}
|
|
92
92
|
</Text>
|
|
93
93
|
</View>
|
|
@@ -100,7 +100,7 @@ const LearnMoreUsernamesScreen: React.FC<BaseScreenProps> = ({
|
|
|
100
100
|
key={section.id}
|
|
101
101
|
style={[
|
|
102
102
|
styles.section,
|
|
103
|
-
{ backgroundColor:
|
|
103
|
+
{ backgroundColor: bloomTheme.colors.backgroundSecondary, borderColor: bloomTheme.colors.border },
|
|
104
104
|
index === 0 && styles.sectionFirst,
|
|
105
105
|
]}
|
|
106
106
|
>
|
|
@@ -112,25 +112,25 @@ const LearnMoreUsernamesScreen: React.FC<BaseScreenProps> = ({
|
|
|
112
112
|
accessibilityHint={isExpanded ? t('learnMoreUsernames.collapseHint') : t('learnMoreUsernames.expandHint')}
|
|
113
113
|
accessibilityState={{ expanded: isExpanded }}
|
|
114
114
|
>
|
|
115
|
-
<View style={[styles.sectionIconContainer, { backgroundColor: `${
|
|
115
|
+
<View style={[styles.sectionIconContainer, { backgroundColor: `${bloomTheme.colors.primary}15` }]}>
|
|
116
116
|
<Ionicons
|
|
117
117
|
name={section.icon}
|
|
118
118
|
size={20}
|
|
119
|
-
color={
|
|
119
|
+
color={bloomTheme.colors.primary}
|
|
120
120
|
/>
|
|
121
121
|
</View>
|
|
122
|
-
<Text style={[styles.sectionTitle, { color:
|
|
122
|
+
<Text style={[styles.sectionTitle, { color: bloomTheme.colors.text }]}>
|
|
123
123
|
{sectionTitle}
|
|
124
124
|
</Text>
|
|
125
125
|
<Ionicons
|
|
126
126
|
name={isExpanded ? 'chevron-up' : 'chevron-down'}
|
|
127
127
|
size={20}
|
|
128
|
-
color={
|
|
128
|
+
color={bloomTheme.colors.textSecondary}
|
|
129
129
|
/>
|
|
130
130
|
</TouchableOpacity>
|
|
131
131
|
{isExpanded && (
|
|
132
|
-
<View style={[styles.sectionContent, { borderTopColor:
|
|
133
|
-
<Text style={[styles.sectionText, { color:
|
|
132
|
+
<View style={[styles.sectionContent, { borderTopColor: bloomTheme.colors.border }]}>
|
|
133
|
+
<Text style={[styles.sectionText, { color: bloomTheme.colors.textSecondary }]}>
|
|
134
134
|
{t(section.contentKey)}
|
|
135
135
|
</Text>
|
|
136
136
|
</View>
|
|
@@ -140,7 +140,7 @@ const LearnMoreUsernamesScreen: React.FC<BaseScreenProps> = ({
|
|
|
140
140
|
})}
|
|
141
141
|
|
|
142
142
|
<View style={styles.footer}>
|
|
143
|
-
<Text style={[styles.footerText, { color:
|
|
143
|
+
<Text style={[styles.footerText, { color: bloomTheme.colors.textSecondary }]}>
|
|
144
144
|
{t('learnMoreUsernames.footer')}
|
|
145
145
|
</Text>
|
|
146
146
|
</View>
|
|
@@ -149,7 +149,7 @@ const LearnMoreUsernamesScreen: React.FC<BaseScreenProps> = ({
|
|
|
149
149
|
);
|
|
150
150
|
};
|
|
151
151
|
|
|
152
|
-
const createStyles = (
|
|
152
|
+
const createStyles = () => StyleSheet.create({
|
|
153
153
|
container: {
|
|
154
154
|
flex: 1,
|
|
155
155
|
},
|
|
@@ -9,8 +9,10 @@ import type { BaseScreenProps } from '../types/navigation';
|
|
|
9
9
|
import { toast } from '../../lib/sonner';
|
|
10
10
|
import { Header, Section, GroupedSection, LoadingState } from '../components';
|
|
11
11
|
import { useI18n } from '../hooks/useI18n';
|
|
12
|
-
import {
|
|
12
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
13
13
|
import { useColorScheme } from '../hooks/useColorScheme';
|
|
14
|
+
import { Colors } from '../constants/theme';
|
|
15
|
+
import { normalizeColorScheme } from '../utils/themeUtils';
|
|
14
16
|
|
|
15
17
|
const LegalDocumentsScreen: React.FC<BaseScreenProps> = ({
|
|
16
18
|
onClose,
|
|
@@ -20,8 +22,10 @@ const LegalDocumentsScreen: React.FC<BaseScreenProps> = ({
|
|
|
20
22
|
}) => {
|
|
21
23
|
const { t } = useI18n();
|
|
22
24
|
const [loading, setLoading] = useState(false);
|
|
25
|
+
const bloomTheme = useTheme();
|
|
23
26
|
const colorScheme = useColorScheme();
|
|
24
|
-
const
|
|
27
|
+
const normalizedColorScheme = normalizeColorScheme(colorScheme);
|
|
28
|
+
const themeColors = Colors[normalizedColorScheme];
|
|
25
29
|
|
|
26
30
|
// Policy URLs from Oxy Transparency Center
|
|
27
31
|
const POLICY_URLS = {
|
|
@@ -91,7 +95,7 @@ const LegalDocumentsScreen: React.FC<BaseScreenProps> = ({
|
|
|
91
95
|
// If a specific document type is requested, show loading state while opening
|
|
92
96
|
if (documentType) {
|
|
93
97
|
return (
|
|
94
|
-
<View style={
|
|
98
|
+
<View style={styles.container} className="bg-background">
|
|
95
99
|
<Header
|
|
96
100
|
title={getPolicyTitle(documentType)}
|
|
97
101
|
onBack={goBack || onClose}
|
|
@@ -100,7 +104,7 @@ const LegalDocumentsScreen: React.FC<BaseScreenProps> = ({
|
|
|
100
104
|
/>
|
|
101
105
|
<LoadingState
|
|
102
106
|
message={t('legal.opening') || 'Opening document...'}
|
|
103
|
-
color={
|
|
107
|
+
color={bloomTheme.colors.text}
|
|
104
108
|
/>
|
|
105
109
|
</View>
|
|
106
110
|
);
|
|
@@ -108,7 +112,7 @@ const LegalDocumentsScreen: React.FC<BaseScreenProps> = ({
|
|
|
108
112
|
|
|
109
113
|
// Default: show both options
|
|
110
114
|
return (
|
|
111
|
-
<View style={
|
|
115
|
+
<View style={styles.container} className="bg-background">
|
|
112
116
|
<Header
|
|
113
117
|
title={t('legal.title') || 'Legal Documents'}
|
|
114
118
|
onBack={goBack || onClose}
|
|
@@ -123,7 +127,7 @@ const LegalDocumentsScreen: React.FC<BaseScreenProps> = ({
|
|
|
123
127
|
{
|
|
124
128
|
id: 'privacy-policy',
|
|
125
129
|
icon: 'shield-check',
|
|
126
|
-
iconColor:
|
|
130
|
+
iconColor: themeColors.iconPersonalInfo,
|
|
127
131
|
title: t('legal.privacyPolicy.title') || 'Privacy Policy',
|
|
128
132
|
subtitle: t('legal.privacyPolicy.subtitle') || 'How we handle your data',
|
|
129
133
|
onPress: handleOpenPolicy('privacy'),
|
|
@@ -131,7 +135,7 @@ const LegalDocumentsScreen: React.FC<BaseScreenProps> = ({
|
|
|
131
135
|
{
|
|
132
136
|
id: 'terms-of-service',
|
|
133
137
|
icon: 'file-document',
|
|
134
|
-
iconColor:
|
|
138
|
+
iconColor: themeColors.iconSecurity,
|
|
135
139
|
title: t('legal.termsOfService.title') || 'Terms of Service',
|
|
136
140
|
subtitle: t('legal.termsOfService.subtitle') || 'Terms and conditions of use',
|
|
137
141
|
onPress: handleOpenPolicy('terms'),
|
|
@@ -139,7 +143,7 @@ const LegalDocumentsScreen: React.FC<BaseScreenProps> = ({
|
|
|
139
143
|
{
|
|
140
144
|
id: 'community-guidelines',
|
|
141
145
|
icon: 'account-group',
|
|
142
|
-
iconColor:
|
|
146
|
+
iconColor: themeColors.iconData,
|
|
143
147
|
title: t('legal.communityGuidelines.title') || 'Community Guidelines',
|
|
144
148
|
subtitle: t('legal.communityGuidelines.subtitle') || 'Rules and expectations for our community',
|
|
145
149
|
onPress: handleOpenPolicy('community'),
|
|
@@ -147,7 +151,7 @@ const LegalDocumentsScreen: React.FC<BaseScreenProps> = ({
|
|
|
147
151
|
{
|
|
148
152
|
id: 'data-retention',
|
|
149
153
|
icon: 'clock',
|
|
150
|
-
iconColor:
|
|
154
|
+
iconColor: themeColors.iconStorage,
|
|
151
155
|
title: t('legal.dataRetention.title') || 'Data Retention Policy',
|
|
152
156
|
subtitle: t('legal.dataRetention.subtitle') || 'How long we keep your data',
|
|
153
157
|
onPress: handleOpenPolicy('dataRetention'),
|
|
@@ -155,7 +159,7 @@ const LegalDocumentsScreen: React.FC<BaseScreenProps> = ({
|
|
|
155
159
|
{
|
|
156
160
|
id: 'content-moderation',
|
|
157
161
|
icon: 'eye',
|
|
158
|
-
iconColor:
|
|
162
|
+
iconColor: themeColors.iconSharing,
|
|
159
163
|
title: t('legal.contentModeration.title') || 'Content Moderation Policy',
|
|
160
164
|
subtitle: t('legal.contentModeration.subtitle') || 'How we moderate content',
|
|
161
165
|
onPress: handleOpenPolicy('contentModeration'),
|
|
@@ -119,16 +119,6 @@ const OxyAuthScreen: React.FC<BaseScreenProps> = ({
|
|
|
119
119
|
theme,
|
|
120
120
|
}) => {
|
|
121
121
|
const bloomTheme = useTheme();
|
|
122
|
-
const colors = {
|
|
123
|
-
background: bloomTheme.colors.background,
|
|
124
|
-
text: bloomTheme.colors.text,
|
|
125
|
-
secondaryText: bloomTheme.colors.textSecondary,
|
|
126
|
-
primary: bloomTheme.colors.primary,
|
|
127
|
-
error: bloomTheme.colors.error,
|
|
128
|
-
border: bloomTheme.colors.border,
|
|
129
|
-
card: bloomTheme.colors.card,
|
|
130
|
-
inputBackground: bloomTheme.colors.backgroundSecondary,
|
|
131
|
-
};
|
|
132
122
|
const { oxyServices, signIn, switchSession } = useOxy();
|
|
133
123
|
|
|
134
124
|
const [authSession, setAuthSession] = useState<AuthSession | null>(null);
|
|
@@ -410,9 +400,9 @@ const OxyAuthScreen: React.FC<BaseScreenProps> = ({
|
|
|
410
400
|
|
|
411
401
|
if (isLoading) {
|
|
412
402
|
return (
|
|
413
|
-
<View style={
|
|
403
|
+
<View style={styles.container} className="bg-background">
|
|
414
404
|
<Loading size="large" />
|
|
415
|
-
<Text style={
|
|
405
|
+
<Text style={styles.loadingText} className="text-muted-foreground">
|
|
416
406
|
Preparing sign in...
|
|
417
407
|
</Text>
|
|
418
408
|
</View>
|
|
@@ -421,8 +411,8 @@ const OxyAuthScreen: React.FC<BaseScreenProps> = ({
|
|
|
421
411
|
|
|
422
412
|
if (error) {
|
|
423
413
|
return (
|
|
424
|
-
<View style={
|
|
425
|
-
<Text style={
|
|
414
|
+
<View style={styles.container} className="bg-background">
|
|
415
|
+
<Text style={styles.errorText} className="text-destructive">{error}</Text>
|
|
426
416
|
<Button variant="primary" onPress={handleRefresh} style={{ width: '100%', borderRadius: 12 }}>
|
|
427
417
|
Try Again
|
|
428
418
|
</Button>
|
|
@@ -431,18 +421,18 @@ const OxyAuthScreen: React.FC<BaseScreenProps> = ({
|
|
|
431
421
|
}
|
|
432
422
|
|
|
433
423
|
return (
|
|
434
|
-
<View style={
|
|
424
|
+
<View style={styles.container} className="bg-background">
|
|
435
425
|
{/* Header */}
|
|
436
426
|
<View style={styles.header}>
|
|
437
427
|
<OxyLogo width={48} height={48} />
|
|
438
|
-
<Text style={
|
|
439
|
-
<Text style={
|
|
428
|
+
<Text style={styles.title} className="text-foreground">Sign in with Oxy</Text>
|
|
429
|
+
<Text style={styles.subtitle} className="text-muted-foreground">
|
|
440
430
|
Use your Oxy identity to sign in securely
|
|
441
431
|
</Text>
|
|
442
432
|
</View>
|
|
443
433
|
|
|
444
434
|
{/* QR Code */}
|
|
445
|
-
<View style={
|
|
435
|
+
<View style={styles.qrContainer} className="bg-secondary border-border">
|
|
446
436
|
<View style={styles.qrWrapper}>
|
|
447
437
|
<QRCode
|
|
448
438
|
value={getQRData()}
|
|
@@ -451,23 +441,23 @@ const OxyAuthScreen: React.FC<BaseScreenProps> = ({
|
|
|
451
441
|
color="black"
|
|
452
442
|
/>
|
|
453
443
|
</View>
|
|
454
|
-
<Text style={
|
|
444
|
+
<Text style={styles.qrHint} className="text-muted-foreground">
|
|
455
445
|
Scan with Oxy Accounts app
|
|
456
446
|
</Text>
|
|
457
447
|
</View>
|
|
458
448
|
|
|
459
449
|
{/* Divider */}
|
|
460
450
|
<View style={styles.dividerContainer}>
|
|
461
|
-
<View style={
|
|
462
|
-
<Text style={
|
|
463
|
-
<View style={
|
|
451
|
+
<View style={styles.divider} className="bg-border" />
|
|
452
|
+
<Text style={styles.dividerText} className="text-muted-foreground">or</Text>
|
|
453
|
+
<View style={styles.divider} className="bg-border" />
|
|
464
454
|
</View>
|
|
465
455
|
|
|
466
456
|
{/* Open Oxy Auth Button */}
|
|
467
457
|
<Button
|
|
468
458
|
variant="primary"
|
|
469
459
|
onPress={handleOpenAuth}
|
|
470
|
-
icon={<OxyLogo width={20} height={20} fillColor={colors.card} style={styles.buttonIcon} />}
|
|
460
|
+
icon={<OxyLogo width={20} height={20} fillColor={bloomTheme.colors.card} style={styles.buttonIcon} />}
|
|
471
461
|
style={{ width: '100%', borderRadius: 12 }}
|
|
472
462
|
>
|
|
473
463
|
Open Oxy Auth
|
|
@@ -477,7 +467,7 @@ const OxyAuthScreen: React.FC<BaseScreenProps> = ({
|
|
|
477
467
|
{isWaiting && (
|
|
478
468
|
<View style={styles.statusContainer}>
|
|
479
469
|
<Loading size="small" style={{ flex: undefined }} />
|
|
480
|
-
<Text style={
|
|
470
|
+
<Text style={styles.statusText} className="text-muted-foreground">
|
|
481
471
|
Waiting for authorization...
|
|
482
472
|
</Text>
|
|
483
473
|
</View>
|
|
@@ -485,11 +475,11 @@ const OxyAuthScreen: React.FC<BaseScreenProps> = ({
|
|
|
485
475
|
|
|
486
476
|
{/* Footer */}
|
|
487
477
|
<View style={styles.footer}>
|
|
488
|
-
<Text style={
|
|
478
|
+
<Text style={styles.footerText} className="text-muted-foreground">
|
|
489
479
|
Don't have Oxy Accounts?{' '}
|
|
490
480
|
</Text>
|
|
491
481
|
<TouchableOpacity onPress={() => Linking.openURL(OXY_ACCOUNTS_WEB_URL)}>
|
|
492
|
-
<Text style={
|
|
482
|
+
<Text style={styles.footerLink} className="text-primary">
|
|
493
483
|
Get it here
|
|
494
484
|
</Text>
|
|
495
485
|
</TouchableOpacity>
|
|
@@ -498,7 +488,7 @@ const OxyAuthScreen: React.FC<BaseScreenProps> = ({
|
|
|
498
488
|
{/* Cancel Button */}
|
|
499
489
|
{goBack && (
|
|
500
490
|
<TouchableOpacity style={styles.cancelButton} onPress={goBack}>
|
|
501
|
-
<Text style={
|
|
491
|
+
<Text style={styles.cancelText} className="text-muted-foreground">Cancel</Text>
|
|
502
492
|
</TouchableOpacity>
|
|
503
493
|
)}
|
|
504
494
|
</View>
|
|
@@ -12,7 +12,6 @@ import type { BaseScreenProps } from '../types/navigation';
|
|
|
12
12
|
import { useThemeColors } from '../styles';
|
|
13
13
|
import { normalizeTheme } from '../utils/themeUtils';
|
|
14
14
|
import GroupedPillButtons from '../components/internal/GroupedPillButtons';
|
|
15
|
-
import { useThemeStyles } from '../hooks/useThemeStyles';
|
|
16
15
|
import { useI18n } from '../hooks/useI18n';
|
|
17
16
|
import QRCode from 'react-native-qrcode-svg';
|
|
18
17
|
|
|
@@ -80,7 +79,6 @@ const PaymentGatewayScreen: React.FC<PaymentGatewayScreenProps> = (props) => {
|
|
|
80
79
|
|
|
81
80
|
const normalizedTheme = normalizeTheme(theme);
|
|
82
81
|
const colors = useThemeColors(normalizedTheme);
|
|
83
|
-
const themeStyles = useThemeStyles(normalizedTheme);
|
|
84
82
|
const { t } = useI18n();
|
|
85
83
|
const styles = useMemo(() => createPaymentStyles(colors), [colors]);
|
|
86
84
|
|
|
@@ -282,7 +280,7 @@ const PaymentGatewayScreen: React.FC<PaymentGatewayScreenProps> = (props) => {
|
|
|
282
280
|
};
|
|
283
281
|
|
|
284
282
|
return (
|
|
285
|
-
<View style={
|
|
283
|
+
<View style={styles.container} className="bg-background">
|
|
286
284
|
<ScrollView style={styles.content} showsVerticalScrollIndicator={false}>
|
|
287
285
|
{renderCurrentStep()}
|
|
288
286
|
</ScrollView>
|
|
@@ -19,9 +19,7 @@ import { confirmAction } from '../utils/confirmAction';
|
|
|
19
19
|
import { Ionicons } from '@expo/vector-icons';
|
|
20
20
|
import Avatar from '../components/Avatar';
|
|
21
21
|
import { useI18n } from '../hooks/useI18n';
|
|
22
|
-
import {
|
|
23
|
-
import { normalizeTheme } from '../utils/themeUtils';
|
|
24
|
-
import { useColorScheme } from '../hooks/useColorScheme';
|
|
22
|
+
import { useTheme } from '@oxyhq/bloom/theme';
|
|
25
23
|
import { useOxy } from '../context/OxyContext';
|
|
26
24
|
|
|
27
25
|
interface SubscriptionPlan {
|
|
@@ -84,11 +82,16 @@ const PremiumSubscriptionScreen: React.FC<BaseScreenProps> = ({
|
|
|
84
82
|
const [currentAppPackage, setCurrentAppPackage] = useState<string>('mention'); // Default to mention for demo
|
|
85
83
|
|
|
86
84
|
const { t } = useI18n();
|
|
87
|
-
const
|
|
88
|
-
const normalizedTheme = normalizeTheme(theme);
|
|
89
|
-
const themeStyles = useThemeStyles(normalizedTheme, colorScheme);
|
|
85
|
+
const bloomTheme = useTheme();
|
|
90
86
|
// Extract commonly used colors for readability
|
|
91
|
-
const
|
|
87
|
+
const textColor = bloomTheme.colors.text;
|
|
88
|
+
const backgroundColor = bloomTheme.colors.background;
|
|
89
|
+
const secondaryBackgroundColor = bloomTheme.colors.backgroundSecondary;
|
|
90
|
+
const borderColor = bloomTheme.colors.border;
|
|
91
|
+
const primaryColor = bloomTheme.colors.primary;
|
|
92
|
+
const successColor = bloomTheme.colors.success;
|
|
93
|
+
const dangerColor = bloomTheme.colors.error;
|
|
94
|
+
const isDarkTheme = bloomTheme.isDark;
|
|
92
95
|
const warningColor = '#FF9500';
|
|
93
96
|
|
|
94
97
|
// TODO: Replace mock data with actual API integration
|