@oxyhq/services 11.0.0 → 11.1.1
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/index.js +7 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/components/AccountMenu.js +9 -5
- package/lib/commonjs/ui/components/AccountMenu.js.map +1 -1
- package/lib/commonjs/ui/components/AnotherDeviceQR.js +51 -56
- package/lib/commonjs/ui/components/AnotherDeviceQR.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheetRouter.js +1 -0
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +18 -5
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyLogo.js +1 -1
- package/lib/commonjs/ui/components/OxyLogo.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +23 -7
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/SignInModal.js +20 -1
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +19 -9
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +4 -2
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +153 -19
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +6 -17
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +5 -5
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +38 -38
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +2 -2
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +3 -3
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js +16 -12
- package/lib/commonjs/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +10 -6
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queryClient.js +6 -5
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useOxyAuthSession.js +40 -2
- package/lib/commonjs/ui/hooks/useOxyAuthSession.js.map +1 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js +21 -0
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js +3 -3
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +100 -108
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +227 -273
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +10 -4
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +20 -37
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js +89 -201
- package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +80 -208
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +56 -208
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +303 -352
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +20 -20
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +77 -89
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +43 -58
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +67 -90
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +77 -177
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +113 -107
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +55 -114
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/NotificationsScreen.js +67 -85
- package/lib/commonjs/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/OxyAuthScreen.js +71 -135
- package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +15 -9
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PreferencesScreen.js +65 -83
- package/lib/commonjs/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +378 -1023
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +294 -242
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +194 -333
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +57 -97
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +41 -41
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js +17 -24
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +83 -214
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +115 -77
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js +70 -57
- package/lib/commonjs/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +136 -332
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +47 -137
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +182 -115
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js +138 -214
- package/lib/commonjs/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +54 -92
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/commonjs/ui/utils/activeAuthuser.js +15 -9
- package/lib/commonjs/ui/utils/activeAuthuser.js.map +1 -1
- package/lib/commonjs/ui/utils/avatarUtils.js +1 -1
- package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
- package/lib/module/index.js +2 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/components/AccountMenu.js +10 -6
- package/lib/module/ui/components/AccountMenu.js.map +1 -1
- package/lib/module/ui/components/AnotherDeviceQR.js +50 -56
- package/lib/module/ui/components/AnotherDeviceQR.js.map +1 -1
- package/lib/module/ui/components/BottomSheetRouter.js +2 -1
- package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +18 -5
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/OxyLogo.js +1 -1
- package/lib/module/ui/components/OxyLogo.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +23 -7
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +20 -1
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +19 -9
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +4 -2
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +154 -20
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +6 -17
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js +5 -5
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +38 -38
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +2 -2
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/queryKeys.js +3 -3
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/usePaymentQueries.js +16 -12
- package/lib/module/ui/hooks/queries/usePaymentQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +9 -6
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/module/ui/hooks/queryClient.js +6 -5
- package/lib/module/ui/hooks/queryClient.js.map +1 -1
- package/lib/module/ui/hooks/useOxyAuthSession.js +40 -2
- package/lib/module/ui/hooks/useOxyAuthSession.js.map +1 -1
- package/lib/module/ui/hooks/useProfileEditing.js +21 -0
- package/lib/module/ui/hooks/useProfileEditing.js.map +1 -1
- package/lib/module/ui/hooks/useSessionManagement.js +4 -3
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +101 -109
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +228 -275
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +10 -4
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js +19 -39
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/module/ui/screens/CreateManagedAccountScreen.js +90 -202
- package/lib/module/ui/screens/CreateManagedAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +77 -205
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +55 -207
- package/lib/module/ui/screens/FAQScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +301 -350
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +20 -20
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +78 -90
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +44 -59
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +68 -91
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +75 -177
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +116 -108
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/ManageAccountScreen.js +52 -112
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/NotificationsScreen.js +68 -86
- package/lib/module/ui/screens/NotificationsScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyAuthScreen.js +69 -134
- package/lib/module/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +16 -10
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PreferencesScreen.js +66 -84
- package/lib/module/ui/screens/PreferencesScreen.js.map +1 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +366 -1012
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +295 -243
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +192 -331
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +58 -98
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +42 -42
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +18 -25
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +81 -212
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +114 -76
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustAboutScreen.js +69 -57
- package/lib/module/ui/screens/trust/TrustAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +135 -332
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustFAQScreen.js +48 -138
- package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +184 -117
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js +132 -208
- package/lib/module/ui/screens/trust/TrustRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +58 -94
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/module/ui/utils/activeAuthuser.js +15 -9
- package/lib/module/ui/utils/activeAuthuser.js.map +1 -1
- package/lib/module/ui/utils/avatarUtils.js +1 -1
- package/lib/module/ui/utils/avatarUtils.js.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +2 -0
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/AccountMenu.d.ts +2 -0
- package/lib/typescript/commonjs/ui/components/AccountMenu.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/AnotherDeviceQR.d.ts +12 -2
- package/lib/typescript/commonjs/ui/components/AnotherDeviceQR.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/BottomSheetRouter.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts +3 -2
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +34 -0
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +6 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +3 -3
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useOxyAuthSession.d.ts +22 -0
- package/lib/typescript/commonjs/ui/hooks/useOxyAuthSession.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts +3 -0
- package/lib/typescript/commonjs/ui/hooks/useProfileEditing.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts +2 -1
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.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/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/CreateManagedAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.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/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/NotificationsScreen.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/PreferencesScreen.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/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/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/activeAuthuser.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +2 -0
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/AccountMenu.d.ts +2 -0
- package/lib/typescript/module/ui/components/AccountMenu.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/AnotherDeviceQR.d.ts +12 -2
- package/lib/typescript/module/ui/components/AnotherDeviceQR.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/BottomSheetRouter.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts +3 -2
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts +1 -1
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts +34 -0
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/hooks/useAuthOperations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +6 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +3 -3
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useOxyAuthSession.d.ts +22 -0
- package/lib/typescript/module/ui/hooks/useOxyAuthSession.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts +3 -0
- package/lib/typescript/module/ui/hooks/useProfileEditing.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts +2 -1
- package/lib/typescript/module/ui/hooks/useSessionManagement.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/AvatarCropScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/CreateManagedAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FeedbackScreen.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/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/NotificationsScreen.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/PreferencesScreen.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/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/trust/TrustAboutScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/trust/TrustRulesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/activeAuthuser.d.ts.map +1 -1
- package/lib/typescript/types/expo-haptics.d.ts +42 -0
- package/package.json +8 -3
- package/src/index.ts +2 -0
- package/src/types/expo-haptics.d.ts +42 -0
- package/src/ui/components/AccountMenu.tsx +11 -5
- package/src/ui/components/AnotherDeviceQR.tsx +53 -45
- package/src/ui/components/BottomSheetRouter.tsx +2 -1
- package/src/ui/components/FollowButton.tsx +24 -5
- package/src/ui/components/OxyLogo.tsx +1 -1
- package/src/ui/components/OxyProvider.tsx +22 -8
- package/src/ui/components/SignInModal.tsx +21 -2
- package/src/ui/components/TouchableRipple/TouchableRipple.native.tsx +1 -1
- package/src/ui/components/fileManagement/FileViewer.tsx +9 -9
- package/src/ui/components/fileManagement/UploadPreview.tsx +2 -2
- package/src/ui/context/OxyContext.tsx +178 -21
- package/src/ui/context/hooks/useAuthOperations.ts +6 -17
- package/src/ui/hooks/mutations/mutationFactory.ts +5 -5
- package/src/ui/hooks/mutations/useAccountMutations.ts +38 -38
- package/src/ui/hooks/mutations/useServicesMutations.ts +2 -2
- package/src/ui/hooks/queries/queryKeys.ts +6 -3
- package/src/ui/hooks/queries/useAccountQueries.ts +1 -1
- package/src/ui/hooks/queries/usePaymentQueries.ts +12 -12
- package/src/ui/hooks/queries/useServicesQueries.ts +9 -6
- package/src/ui/hooks/queryClient.ts +5 -5
- package/src/ui/hooks/useOxyAuthSession.ts +76 -2
- package/src/ui/hooks/useProfileEditing.ts +24 -0
- package/src/ui/hooks/useSessionManagement.ts +9 -6
- package/src/ui/screens/AccountVerificationScreen.tsx +101 -113
- package/src/ui/screens/AppInfoScreen.tsx +200 -238
- package/src/ui/screens/AvatarCropScreen.tsx +17 -4
- package/src/ui/screens/ConnectedAppsScreen.tsx +16 -34
- package/src/ui/screens/CreateManagedAccountScreen.tsx +94 -170
- package/src/ui/screens/EditProfileFieldScreen.tsx +77 -190
- package/src/ui/screens/FAQScreen.tsx +77 -208
- package/src/ui/screens/FeedbackScreen.tsx +330 -239
- package/src/ui/screens/FileManagementScreen.tsx +20 -20
- package/src/ui/screens/HelpSupportScreen.tsx +67 -82
- package/src/ui/screens/HistoryViewScreen.tsx +32 -38
- package/src/ui/screens/LanguageSelectorScreen.tsx +79 -93
- package/src/ui/screens/LearnMoreUsernamesScreen.tsx +81 -164
- package/src/ui/screens/LegalDocumentsScreen.tsx +184 -123
- package/src/ui/screens/ManageAccountScreen.tsx +48 -114
- package/src/ui/screens/NotificationsScreen.tsx +107 -106
- package/src/ui/screens/OxyAuthScreen.tsx +76 -109
- package/src/ui/screens/PaymentGatewayScreen.tsx +16 -7
- package/src/ui/screens/PreferencesScreen.tsx +96 -116
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +419 -872
- package/src/ui/screens/PrivacySettingsScreen.tsx +203 -185
- package/src/ui/screens/ProfileScreen.tsx +162 -246
- package/src/ui/screens/SavesCollectionsScreen.tsx +78 -125
- package/src/ui/screens/SearchSettingsScreen.tsx +52 -41
- package/src/ui/screens/UserLinksScreen.tsx +18 -25
- package/src/ui/screens/UserListScreen.tsx +95 -188
- package/src/ui/screens/WelcomeNewUserScreen.tsx +109 -36
- package/src/ui/screens/trust/TrustAboutScreen.tsx +52 -41
- package/src/ui/screens/trust/TrustCenterScreen.tsx +184 -222
- package/src/ui/screens/trust/TrustFAQScreen.tsx +64 -124
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +190 -67
- package/src/ui/screens/trust/TrustRewardsScreen.tsx +147 -182
- package/src/ui/screens/trust/TrustRulesScreen.tsx +77 -50
- package/src/ui/utils/activeAuthuser.ts +15 -9
- package/src/ui/utils/avatarUtils.ts +1 -1
- package/lib/commonjs/ui/components/feedback/FormInput.js +0 -72
- package/lib/commonjs/ui/components/feedback/FormInput.js.map +0 -1
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js +0 -261
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +0 -1
- package/lib/module/ui/components/feedback/FormInput.js +0 -67
- package/lib/module/ui/components/feedback/FormInput.js.map +0 -1
- package/lib/module/ui/components/feedback/feedbackStyles.js +0 -256
- package/lib/module/ui/components/feedback/feedbackStyles.js.map +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/FormInput.d.ts +0 -20
- package/lib/typescript/commonjs/ui/components/feedback/FormInput.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts +0 -279
- package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/feedback/FormInput.d.ts +0 -20
- package/lib/typescript/module/ui/components/feedback/FormInput.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts +0 -279
- package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts.map +0 -1
- package/src/ui/components/feedback/FormInput.tsx +0 -84
- package/src/ui/components/feedback/feedbackStyles.ts +0 -246
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
import type { FeedbackColors } from './types';
|
|
2
|
-
export declare const createFeedbackStyles: (colors: FeedbackColors) => {
|
|
3
|
-
container: {
|
|
4
|
-
flex: number;
|
|
5
|
-
};
|
|
6
|
-
fullBleed: {
|
|
7
|
-
width: "100%";
|
|
8
|
-
alignSelf: "stretch";
|
|
9
|
-
};
|
|
10
|
-
scrollContent: {
|
|
11
|
-
paddingHorizontal: number;
|
|
12
|
-
paddingVertical: number;
|
|
13
|
-
paddingTop: number;
|
|
14
|
-
paddingBottom: number;
|
|
15
|
-
flexGrow: number;
|
|
16
|
-
};
|
|
17
|
-
stepContainer: {
|
|
18
|
-
flex: number;
|
|
19
|
-
justifyContent: "flex-start";
|
|
20
|
-
alignItems: "flex-start";
|
|
21
|
-
};
|
|
22
|
-
modernHeader: {
|
|
23
|
-
alignItems: "flex-start";
|
|
24
|
-
width: "100%";
|
|
25
|
-
marginBottom: number;
|
|
26
|
-
};
|
|
27
|
-
stepTitle: {
|
|
28
|
-
fontWeight: "bold" | undefined;
|
|
29
|
-
fontSize: number;
|
|
30
|
-
lineHeight: number;
|
|
31
|
-
marginBottom: number;
|
|
32
|
-
textAlign: "left";
|
|
33
|
-
letterSpacing: number;
|
|
34
|
-
};
|
|
35
|
-
modernSubtitle: {
|
|
36
|
-
fontSize: number;
|
|
37
|
-
lineHeight: number;
|
|
38
|
-
textAlign: "left";
|
|
39
|
-
opacity: number;
|
|
40
|
-
marginBottom: number;
|
|
41
|
-
};
|
|
42
|
-
inputContainer: {
|
|
43
|
-
width: "100%";
|
|
44
|
-
marginBottom: number;
|
|
45
|
-
};
|
|
46
|
-
premiumInputWrapper: {
|
|
47
|
-
flexDirection: "row";
|
|
48
|
-
alignItems: "center";
|
|
49
|
-
height: number;
|
|
50
|
-
borderRadius: number;
|
|
51
|
-
paddingHorizontal: number;
|
|
52
|
-
borderWidth: number;
|
|
53
|
-
backgroundColor: string;
|
|
54
|
-
};
|
|
55
|
-
textAreaWrapper: {
|
|
56
|
-
flexDirection: "column";
|
|
57
|
-
alignItems: "flex-start";
|
|
58
|
-
minHeight: number;
|
|
59
|
-
borderRadius: number;
|
|
60
|
-
paddingHorizontal: number;
|
|
61
|
-
paddingVertical: number;
|
|
62
|
-
borderWidth: number;
|
|
63
|
-
backgroundColor: string;
|
|
64
|
-
};
|
|
65
|
-
inputIcon: {
|
|
66
|
-
marginRight: number;
|
|
67
|
-
};
|
|
68
|
-
inputContent: {
|
|
69
|
-
flex: number;
|
|
70
|
-
};
|
|
71
|
-
modernLabel: {
|
|
72
|
-
fontSize: number;
|
|
73
|
-
fontWeight: "500";
|
|
74
|
-
marginBottom: number;
|
|
75
|
-
};
|
|
76
|
-
modernInput: {
|
|
77
|
-
flex: number;
|
|
78
|
-
fontSize: number;
|
|
79
|
-
height: "100%";
|
|
80
|
-
};
|
|
81
|
-
textArea: {
|
|
82
|
-
flex: number;
|
|
83
|
-
fontSize: number;
|
|
84
|
-
textAlignVertical: "top";
|
|
85
|
-
minHeight: number;
|
|
86
|
-
};
|
|
87
|
-
categoryContainer: {
|
|
88
|
-
marginBottom: number;
|
|
89
|
-
};
|
|
90
|
-
checkboxContainer: {
|
|
91
|
-
flexDirection: "row";
|
|
92
|
-
alignItems: "center";
|
|
93
|
-
marginBottom: number;
|
|
94
|
-
};
|
|
95
|
-
checkbox: {
|
|
96
|
-
width: number;
|
|
97
|
-
height: number;
|
|
98
|
-
borderRadius: number;
|
|
99
|
-
borderWidth: number;
|
|
100
|
-
marginRight: number;
|
|
101
|
-
alignItems: "center";
|
|
102
|
-
justifyContent: "center";
|
|
103
|
-
};
|
|
104
|
-
checkboxText: {
|
|
105
|
-
fontSize: number;
|
|
106
|
-
flex: number;
|
|
107
|
-
};
|
|
108
|
-
button: {
|
|
109
|
-
boxShadow: string;
|
|
110
|
-
shadowOffset?: undefined;
|
|
111
|
-
shadowOpacity?: undefined;
|
|
112
|
-
shadowRadius?: undefined;
|
|
113
|
-
elevation?: undefined;
|
|
114
|
-
flexDirection: "row";
|
|
115
|
-
alignItems: "center";
|
|
116
|
-
justifyContent: "center";
|
|
117
|
-
paddingVertical: number;
|
|
118
|
-
paddingHorizontal: number;
|
|
119
|
-
borderRadius: number;
|
|
120
|
-
marginVertical: number;
|
|
121
|
-
gap: number;
|
|
122
|
-
width: "100%";
|
|
123
|
-
} | {
|
|
124
|
-
shadowOffset: {
|
|
125
|
-
width: number;
|
|
126
|
-
height: number;
|
|
127
|
-
};
|
|
128
|
-
shadowOpacity: number;
|
|
129
|
-
shadowRadius: number;
|
|
130
|
-
elevation: number;
|
|
131
|
-
boxShadow?: undefined;
|
|
132
|
-
flexDirection: "row";
|
|
133
|
-
alignItems: "center";
|
|
134
|
-
justifyContent: "center";
|
|
135
|
-
paddingVertical: number;
|
|
136
|
-
paddingHorizontal: number;
|
|
137
|
-
borderRadius: number;
|
|
138
|
-
marginVertical: number;
|
|
139
|
-
gap: number;
|
|
140
|
-
width: "100%";
|
|
141
|
-
};
|
|
142
|
-
buttonText: {
|
|
143
|
-
color: string;
|
|
144
|
-
fontSize: number;
|
|
145
|
-
fontWeight: "600";
|
|
146
|
-
letterSpacing: number;
|
|
147
|
-
};
|
|
148
|
-
navigationButtons: {
|
|
149
|
-
flexDirection: "row";
|
|
150
|
-
justifyContent: "center";
|
|
151
|
-
marginTop: number;
|
|
152
|
-
marginBottom: number;
|
|
153
|
-
width: "100%";
|
|
154
|
-
gap: number;
|
|
155
|
-
};
|
|
156
|
-
navButton: {
|
|
157
|
-
boxShadow: string;
|
|
158
|
-
shadowOffset?: undefined;
|
|
159
|
-
shadowOpacity?: undefined;
|
|
160
|
-
shadowRadius?: undefined;
|
|
161
|
-
elevation?: undefined;
|
|
162
|
-
flexDirection: "row";
|
|
163
|
-
alignItems: "center";
|
|
164
|
-
paddingVertical: number;
|
|
165
|
-
paddingHorizontal: number;
|
|
166
|
-
gap: number;
|
|
167
|
-
minWidth: number;
|
|
168
|
-
borderWidth: number;
|
|
169
|
-
} | {
|
|
170
|
-
shadowOffset: {
|
|
171
|
-
width: number;
|
|
172
|
-
height: number;
|
|
173
|
-
};
|
|
174
|
-
shadowOpacity: number;
|
|
175
|
-
shadowRadius: number;
|
|
176
|
-
elevation: number;
|
|
177
|
-
boxShadow?: undefined;
|
|
178
|
-
flexDirection: "row";
|
|
179
|
-
alignItems: "center";
|
|
180
|
-
paddingVertical: number;
|
|
181
|
-
paddingHorizontal: number;
|
|
182
|
-
gap: number;
|
|
183
|
-
minWidth: number;
|
|
184
|
-
borderWidth: number;
|
|
185
|
-
};
|
|
186
|
-
backButton: {
|
|
187
|
-
backgroundColor: string;
|
|
188
|
-
borderTopLeftRadius: number;
|
|
189
|
-
borderBottomLeftRadius: number;
|
|
190
|
-
borderTopRightRadius: number;
|
|
191
|
-
borderBottomRightRadius: number;
|
|
192
|
-
};
|
|
193
|
-
nextButton: {
|
|
194
|
-
backgroundColor: string;
|
|
195
|
-
borderTopRightRadius: number;
|
|
196
|
-
borderBottomRightRadius: number;
|
|
197
|
-
borderTopLeftRadius: number;
|
|
198
|
-
borderBottomLeftRadius: number;
|
|
199
|
-
};
|
|
200
|
-
navButtonText: {
|
|
201
|
-
fontSize: number;
|
|
202
|
-
fontWeight: "500";
|
|
203
|
-
};
|
|
204
|
-
progressContainer: {
|
|
205
|
-
flexDirection: "row";
|
|
206
|
-
justifyContent: "center";
|
|
207
|
-
marginBottom: number;
|
|
208
|
-
marginTop: number;
|
|
209
|
-
};
|
|
210
|
-
progressDot: {
|
|
211
|
-
boxShadow: string;
|
|
212
|
-
shadowColor?: undefined;
|
|
213
|
-
shadowOpacity?: undefined;
|
|
214
|
-
shadowOffset?: undefined;
|
|
215
|
-
shadowRadius?: undefined;
|
|
216
|
-
elevation?: undefined;
|
|
217
|
-
height: number;
|
|
218
|
-
width: number;
|
|
219
|
-
borderRadius: number;
|
|
220
|
-
marginHorizontal: number;
|
|
221
|
-
borderWidth: number;
|
|
222
|
-
borderColor: string;
|
|
223
|
-
} | {
|
|
224
|
-
shadowColor: string;
|
|
225
|
-
shadowOpacity: number;
|
|
226
|
-
shadowOffset: {
|
|
227
|
-
width: number;
|
|
228
|
-
height: number;
|
|
229
|
-
};
|
|
230
|
-
shadowRadius: number;
|
|
231
|
-
elevation: number;
|
|
232
|
-
boxShadow?: undefined;
|
|
233
|
-
height: number;
|
|
234
|
-
width: number;
|
|
235
|
-
borderRadius: number;
|
|
236
|
-
marginHorizontal: number;
|
|
237
|
-
borderWidth: number;
|
|
238
|
-
borderColor: string;
|
|
239
|
-
};
|
|
240
|
-
summaryContainer: {
|
|
241
|
-
padding: number;
|
|
242
|
-
marginBottom: number;
|
|
243
|
-
width: "100%";
|
|
244
|
-
};
|
|
245
|
-
summaryRow: {
|
|
246
|
-
flexDirection: "row";
|
|
247
|
-
marginBottom: number;
|
|
248
|
-
};
|
|
249
|
-
summaryLabel: {
|
|
250
|
-
fontSize: number;
|
|
251
|
-
width: number;
|
|
252
|
-
};
|
|
253
|
-
summaryValue: {
|
|
254
|
-
fontSize: number;
|
|
255
|
-
fontWeight: "600";
|
|
256
|
-
flex: number;
|
|
257
|
-
};
|
|
258
|
-
successContainer: {
|
|
259
|
-
alignItems: "center";
|
|
260
|
-
justifyContent: "center";
|
|
261
|
-
padding: number;
|
|
262
|
-
};
|
|
263
|
-
successIcon: {
|
|
264
|
-
marginBottom: number;
|
|
265
|
-
};
|
|
266
|
-
successTitle: {
|
|
267
|
-
fontSize: number;
|
|
268
|
-
fontWeight: "bold";
|
|
269
|
-
marginBottom: number;
|
|
270
|
-
textAlign: "center";
|
|
271
|
-
};
|
|
272
|
-
successMessage: {
|
|
273
|
-
fontSize: number;
|
|
274
|
-
textAlign: "center";
|
|
275
|
-
opacity: number;
|
|
276
|
-
marginBottom: number;
|
|
277
|
-
};
|
|
278
|
-
};
|
|
279
|
-
//# sourceMappingURL=feedbackStyles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"feedbackStyles.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/components/feedback/feedbackStyles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAE9C,eAAO,MAAM,oBAAoB,GAAI,QAAQ,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiPzD,CAAC"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { View, Text, TextInput } from 'react-native';
|
|
3
|
-
import { Ionicons } from '@expo/vector-icons';
|
|
4
|
-
import type { FeedbackColors } from './types';
|
|
5
|
-
|
|
6
|
-
interface FormInputProps {
|
|
7
|
-
icon: string;
|
|
8
|
-
label: string;
|
|
9
|
-
value: string;
|
|
10
|
-
onChangeText: (text: string) => void;
|
|
11
|
-
placeholder?: string;
|
|
12
|
-
multiline?: boolean;
|
|
13
|
-
numberOfLines?: number;
|
|
14
|
-
testID?: string;
|
|
15
|
-
colors: FeedbackColors;
|
|
16
|
-
styles: any;
|
|
17
|
-
borderColor?: string;
|
|
18
|
-
accessibilityLabel?: string;
|
|
19
|
-
accessibilityHint?: string;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
const FormInput: React.FC<FormInputProps> = React.memo(({
|
|
23
|
-
icon,
|
|
24
|
-
label,
|
|
25
|
-
value,
|
|
26
|
-
onChangeText,
|
|
27
|
-
placeholder,
|
|
28
|
-
multiline = false,
|
|
29
|
-
numberOfLines = 1,
|
|
30
|
-
testID,
|
|
31
|
-
colors,
|
|
32
|
-
styles,
|
|
33
|
-
borderColor,
|
|
34
|
-
accessibilityLabel,
|
|
35
|
-
accessibilityHint,
|
|
36
|
-
}) => (
|
|
37
|
-
<View style={styles.inputContainer}>
|
|
38
|
-
<View style={[
|
|
39
|
-
multiline ? styles.textAreaWrapper : styles.premiumInputWrapper,
|
|
40
|
-
{
|
|
41
|
-
borderColor: borderColor || colors.border,
|
|
42
|
-
backgroundColor: colors.inputBackground,
|
|
43
|
-
shadowColor: colors.primary,
|
|
44
|
-
shadowOffset: { width: 0, height: 4 },
|
|
45
|
-
shadowOpacity: 0.1,
|
|
46
|
-
shadowRadius: 12,
|
|
47
|
-
elevation: 3,
|
|
48
|
-
}
|
|
49
|
-
]}>
|
|
50
|
-
{!multiline && (
|
|
51
|
-
<Ionicons
|
|
52
|
-
name={icon as React.ComponentProps<typeof Ionicons>['name']}
|
|
53
|
-
size={22}
|
|
54
|
-
color={colors.secondaryText}
|
|
55
|
-
style={styles.inputIcon}
|
|
56
|
-
/>
|
|
57
|
-
)}
|
|
58
|
-
<View style={styles.inputContent}>
|
|
59
|
-
<Text style={[styles.modernLabel, { color: colors.secondaryText }]}>
|
|
60
|
-
{label}
|
|
61
|
-
</Text>
|
|
62
|
-
<TextInput
|
|
63
|
-
style={[
|
|
64
|
-
multiline ? styles.textArea : styles.modernInput,
|
|
65
|
-
{ color: colors.text }
|
|
66
|
-
]}
|
|
67
|
-
value={value}
|
|
68
|
-
onChangeText={onChangeText}
|
|
69
|
-
placeholder={placeholder}
|
|
70
|
-
placeholderTextColor={`${colors.secondaryText}60`}
|
|
71
|
-
multiline={multiline}
|
|
72
|
-
numberOfLines={multiline ? numberOfLines : undefined}
|
|
73
|
-
testID={testID}
|
|
74
|
-
accessibilityLabel={accessibilityLabel || label}
|
|
75
|
-
accessibilityHint={accessibilityHint}
|
|
76
|
-
/>
|
|
77
|
-
</View>
|
|
78
|
-
</View>
|
|
79
|
-
</View>
|
|
80
|
-
));
|
|
81
|
-
|
|
82
|
-
FormInput.displayName = 'FormInput';
|
|
83
|
-
|
|
84
|
-
export default FormInput;
|
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
import { StyleSheet, Platform, Dimensions } from 'react-native';
|
|
2
|
-
import { screenContentStyle } from '../../constants/spacing';
|
|
3
|
-
import type { FeedbackColors } from './types';
|
|
4
|
-
|
|
5
|
-
export const createFeedbackStyles = (colors: FeedbackColors) => StyleSheet.create({
|
|
6
|
-
container: {
|
|
7
|
-
flex: 1,
|
|
8
|
-
},
|
|
9
|
-
fullBleed: {
|
|
10
|
-
width: '100%',
|
|
11
|
-
alignSelf: 'stretch',
|
|
12
|
-
},
|
|
13
|
-
scrollContent: {
|
|
14
|
-
flexGrow: 1,
|
|
15
|
-
...screenContentStyle,
|
|
16
|
-
},
|
|
17
|
-
stepContainer: {
|
|
18
|
-
flex: 1,
|
|
19
|
-
justifyContent: 'flex-start',
|
|
20
|
-
alignItems: 'flex-start',
|
|
21
|
-
},
|
|
22
|
-
modernHeader: {
|
|
23
|
-
alignItems: 'flex-start',
|
|
24
|
-
width: '100%',
|
|
25
|
-
marginBottom: 24,
|
|
26
|
-
},
|
|
27
|
-
stepTitle: {
|
|
28
|
-
fontWeight: Platform.OS === 'web' ? 'bold' : undefined,
|
|
29
|
-
fontSize: 42,
|
|
30
|
-
lineHeight: 48,
|
|
31
|
-
marginBottom: 12,
|
|
32
|
-
textAlign: 'left',
|
|
33
|
-
letterSpacing: -1,
|
|
34
|
-
},
|
|
35
|
-
modernSubtitle: {
|
|
36
|
-
fontSize: 18,
|
|
37
|
-
lineHeight: 24,
|
|
38
|
-
textAlign: 'left',
|
|
39
|
-
opacity: 0.8,
|
|
40
|
-
marginBottom: 24,
|
|
41
|
-
},
|
|
42
|
-
inputContainer: {
|
|
43
|
-
width: '100%',
|
|
44
|
-
marginBottom: 24,
|
|
45
|
-
},
|
|
46
|
-
premiumInputWrapper: {
|
|
47
|
-
flexDirection: 'row',
|
|
48
|
-
alignItems: 'center',
|
|
49
|
-
height: 56,
|
|
50
|
-
borderRadius: 16,
|
|
51
|
-
paddingHorizontal: 20,
|
|
52
|
-
borderWidth: 2,
|
|
53
|
-
backgroundColor: colors.inputBackground,
|
|
54
|
-
},
|
|
55
|
-
textAreaWrapper: {
|
|
56
|
-
flexDirection: 'column',
|
|
57
|
-
alignItems: 'flex-start',
|
|
58
|
-
minHeight: 120,
|
|
59
|
-
borderRadius: 16,
|
|
60
|
-
paddingHorizontal: 20,
|
|
61
|
-
paddingVertical: 16,
|
|
62
|
-
borderWidth: 2,
|
|
63
|
-
backgroundColor: colors.inputBackground,
|
|
64
|
-
},
|
|
65
|
-
inputIcon: {
|
|
66
|
-
marginRight: 12,
|
|
67
|
-
},
|
|
68
|
-
inputContent: {
|
|
69
|
-
flex: 1,
|
|
70
|
-
},
|
|
71
|
-
modernLabel: {
|
|
72
|
-
fontSize: 12,
|
|
73
|
-
fontWeight: '500',
|
|
74
|
-
marginBottom: 2,
|
|
75
|
-
},
|
|
76
|
-
modernInput: {
|
|
77
|
-
flex: 1,
|
|
78
|
-
fontSize: 16,
|
|
79
|
-
height: '100%',
|
|
80
|
-
},
|
|
81
|
-
textArea: {
|
|
82
|
-
flex: 1,
|
|
83
|
-
fontSize: 16,
|
|
84
|
-
textAlignVertical: 'top',
|
|
85
|
-
minHeight: 80,
|
|
86
|
-
},
|
|
87
|
-
categoryContainer: {
|
|
88
|
-
marginBottom: 24,
|
|
89
|
-
},
|
|
90
|
-
checkboxContainer: {
|
|
91
|
-
flexDirection: 'row',
|
|
92
|
-
alignItems: 'center',
|
|
93
|
-
marginBottom: 24,
|
|
94
|
-
},
|
|
95
|
-
checkbox: {
|
|
96
|
-
width: 24,
|
|
97
|
-
height: 24,
|
|
98
|
-
borderRadius: 6,
|
|
99
|
-
borderWidth: 2,
|
|
100
|
-
marginRight: 12,
|
|
101
|
-
alignItems: 'center',
|
|
102
|
-
justifyContent: 'center',
|
|
103
|
-
},
|
|
104
|
-
checkboxText: {
|
|
105
|
-
fontSize: 16,
|
|
106
|
-
flex: 1,
|
|
107
|
-
},
|
|
108
|
-
button: {
|
|
109
|
-
flexDirection: 'row',
|
|
110
|
-
alignItems: 'center',
|
|
111
|
-
justifyContent: 'center',
|
|
112
|
-
paddingVertical: 18,
|
|
113
|
-
paddingHorizontal: 32,
|
|
114
|
-
borderRadius: 16,
|
|
115
|
-
marginVertical: 8,
|
|
116
|
-
gap: 8,
|
|
117
|
-
width: '100%',
|
|
118
|
-
...Platform.select({
|
|
119
|
-
web: {
|
|
120
|
-
boxShadow: '0 4px 8px rgba(0,0,0,0.3)',
|
|
121
|
-
},
|
|
122
|
-
default: {
|
|
123
|
-
shadowOffset: { width: 0, height: 4 },
|
|
124
|
-
shadowOpacity: 0.3,
|
|
125
|
-
shadowRadius: 8,
|
|
126
|
-
elevation: 6,
|
|
127
|
-
}
|
|
128
|
-
}),
|
|
129
|
-
},
|
|
130
|
-
buttonText: {
|
|
131
|
-
color: colors.background,
|
|
132
|
-
fontSize: 16,
|
|
133
|
-
fontWeight: '600',
|
|
134
|
-
letterSpacing: 0.5,
|
|
135
|
-
},
|
|
136
|
-
navigationButtons: {
|
|
137
|
-
flexDirection: 'row',
|
|
138
|
-
justifyContent: 'center',
|
|
139
|
-
marginTop: 16,
|
|
140
|
-
marginBottom: 8,
|
|
141
|
-
width: '100%',
|
|
142
|
-
gap: 8,
|
|
143
|
-
},
|
|
144
|
-
navButton: {
|
|
145
|
-
flexDirection: 'row',
|
|
146
|
-
alignItems: 'center',
|
|
147
|
-
paddingVertical: 6,
|
|
148
|
-
paddingHorizontal: 12,
|
|
149
|
-
gap: 6,
|
|
150
|
-
minWidth: 70,
|
|
151
|
-
borderWidth: 1,
|
|
152
|
-
...Platform.select({
|
|
153
|
-
web: {
|
|
154
|
-
boxShadow: '0 2px 4px rgba(0,0,0,0.1)',
|
|
155
|
-
},
|
|
156
|
-
default: {
|
|
157
|
-
shadowOffset: { width: 0, height: 2 },
|
|
158
|
-
shadowOpacity: 0.1,
|
|
159
|
-
shadowRadius: 4,
|
|
160
|
-
elevation: 2,
|
|
161
|
-
}
|
|
162
|
-
}),
|
|
163
|
-
},
|
|
164
|
-
backButton: {
|
|
165
|
-
backgroundColor: 'transparent',
|
|
166
|
-
borderTopLeftRadius: 35,
|
|
167
|
-
borderBottomLeftRadius: 35,
|
|
168
|
-
borderTopRightRadius: 12,
|
|
169
|
-
borderBottomRightRadius: 12,
|
|
170
|
-
},
|
|
171
|
-
nextButton: {
|
|
172
|
-
backgroundColor: 'transparent',
|
|
173
|
-
borderTopRightRadius: 35,
|
|
174
|
-
borderBottomRightRadius: 35,
|
|
175
|
-
borderTopLeftRadius: 12,
|
|
176
|
-
borderBottomLeftRadius: 12,
|
|
177
|
-
},
|
|
178
|
-
navButtonText: {
|
|
179
|
-
fontSize: 13,
|
|
180
|
-
fontWeight: '500',
|
|
181
|
-
},
|
|
182
|
-
progressContainer: {
|
|
183
|
-
flexDirection: 'row',
|
|
184
|
-
justifyContent: 'center',
|
|
185
|
-
marginBottom: 20,
|
|
186
|
-
marginTop: 8,
|
|
187
|
-
},
|
|
188
|
-
progressDot: {
|
|
189
|
-
height: 10,
|
|
190
|
-
width: 10,
|
|
191
|
-
borderRadius: 5,
|
|
192
|
-
marginHorizontal: 6,
|
|
193
|
-
borderWidth: 2,
|
|
194
|
-
borderColor: colors.background,
|
|
195
|
-
...Platform.select({
|
|
196
|
-
web: {
|
|
197
|
-
boxShadow: '0 1px 2px rgba(0,0,0,0.08)',
|
|
198
|
-
},
|
|
199
|
-
default: {
|
|
200
|
-
shadowColor: colors.primary,
|
|
201
|
-
shadowOpacity: 0.08,
|
|
202
|
-
shadowOffset: { width: 0, height: 1 },
|
|
203
|
-
shadowRadius: 2,
|
|
204
|
-
elevation: 1,
|
|
205
|
-
}
|
|
206
|
-
}),
|
|
207
|
-
},
|
|
208
|
-
summaryContainer: {
|
|
209
|
-
padding: 0,
|
|
210
|
-
marginBottom: 24,
|
|
211
|
-
width: '100%',
|
|
212
|
-
},
|
|
213
|
-
summaryRow: {
|
|
214
|
-
flexDirection: 'row',
|
|
215
|
-
marginBottom: 10,
|
|
216
|
-
},
|
|
217
|
-
summaryLabel: {
|
|
218
|
-
fontSize: 15,
|
|
219
|
-
width: 90,
|
|
220
|
-
},
|
|
221
|
-
summaryValue: {
|
|
222
|
-
fontSize: 15,
|
|
223
|
-
fontWeight: '600',
|
|
224
|
-
flex: 1,
|
|
225
|
-
},
|
|
226
|
-
successContainer: {
|
|
227
|
-
alignItems: 'center',
|
|
228
|
-
justifyContent: 'center',
|
|
229
|
-
padding: 40,
|
|
230
|
-
},
|
|
231
|
-
successIcon: {
|
|
232
|
-
marginBottom: 24,
|
|
233
|
-
},
|
|
234
|
-
successTitle: {
|
|
235
|
-
fontSize: 24,
|
|
236
|
-
fontWeight: 'bold',
|
|
237
|
-
marginBottom: 12,
|
|
238
|
-
textAlign: 'center',
|
|
239
|
-
},
|
|
240
|
-
successMessage: {
|
|
241
|
-
fontSize: 16,
|
|
242
|
-
textAlign: 'center',
|
|
243
|
-
opacity: 0.8,
|
|
244
|
-
marginBottom: 24,
|
|
245
|
-
},
|
|
246
|
-
});
|