@oxyhq/services 6.9.46 → 6.10.2
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 +36 -13
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/client.js +0 -20
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/ActingAsBanner.js +0 -4
- package/lib/commonjs/ui/components/ActingAsBanner.js.map +1 -1
- package/lib/commonjs/ui/components/ActivityIndicator.js +1 -1
- package/lib/commonjs/ui/components/ActivityIndicator.js.map +1 -1
- package/lib/commonjs/ui/components/Avatar.js +0 -2
- package/lib/commonjs/ui/components/Avatar.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheet.js +33 -398
- package/lib/commonjs/ui/components/BottomSheet.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheetRouter.js +8 -0
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +3 -5
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/Header.js +0 -5
- package/lib/commonjs/ui/components/Header.js.map +1 -1
- package/lib/commonjs/ui/components/Icon.js +6 -7
- package/lib/commonjs/ui/components/Icon.js.map +1 -1
- package/lib/commonjs/ui/components/IconButton/IconButton.js +1 -5
- package/lib/commonjs/ui/components/IconButton/IconButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyPayButton.js +0 -2
- package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +100 -37
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +23 -9
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileCard.js +11 -8
- package/lib/commonjs/ui/components/ProfileCard.js.map +1 -1
- package/lib/commonjs/ui/components/QuickActions.js +2 -2
- package/lib/commonjs/ui/components/QuickActions.js.map +1 -1
- package/lib/commonjs/ui/components/SignInModal.js +139 -284
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/StepBasedScreen.js +0 -2
- package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -1
- package/lib/commonjs/ui/components/TextField.js +0 -1
- package/lib/commonjs/ui/components/TextField.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js +0 -2
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +0 -2
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +80 -76
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +6 -8
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +18 -23
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/styles.js +213 -25
- package/lib/commonjs/ui/components/fileManagement/styles.js.map +1 -1
- package/lib/commonjs/ui/components/logo/LogoIcon.js +63 -0
- package/lib/commonjs/ui/components/logo/LogoIcon.js.map +1 -0
- package/lib/commonjs/ui/components/logo/LogoText.js +50 -0
- package/lib/commonjs/ui/components/logo/LogoText.js.map +1 -0
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +54 -88
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +2 -2
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/paymentStyles.js +2 -10
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/commonjs/ui/components/styles/overlay.js +7 -9
- package/lib/commonjs/ui/components/styles/overlay.js.map +1 -1
- package/lib/commonjs/ui/components/theming.js +0 -1
- package/lib/commonjs/ui/components/theming.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +34 -21
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +1 -3
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/commonjs/ui/hooks/index.js +32 -12
- package/lib/commonjs/ui/hooks/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js +10 -5
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js +34 -0
- package/lib/commonjs/ui/hooks/mutations/mutationKeys.js.map +1 -0
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +235 -57
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +17 -13
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/index.js +6 -0
- package/lib/commonjs/ui/hooks/queries/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +2 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +80 -3
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +36 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queryClient.js +168 -70
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAsyncAction.js +7 -7
- package/lib/commonjs/ui/hooks/useAsyncAction.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAuth.js +0 -8
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAvatarPicker.js +71 -20
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +12 -41
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -1
- package/lib/commonjs/ui/hooks/useMutationStatus.js +86 -0
- package/lib/commonjs/ui/hooks/useMutationStatus.js.map +1 -0
- package/lib/commonjs/ui/hooks/useOnlineStatus.js +33 -0
- package/lib/commonjs/ui/hooks/useOnlineStatus.js.map +1 -0
- package/lib/commonjs/ui/hooks/useSessionSocket.js +101 -130
- package/lib/commonjs/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSettingToggle.js +4 -4
- package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -1
- package/lib/commonjs/ui/index.js +1 -11
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/navigation/routes.js +55 -3
- package/lib/commonjs/ui/navigation/routes.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +16 -16
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +108 -123
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +20 -19
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +204 -161
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +18 -18
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js +22 -23
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AvatarCropScreen.js +939 -0
- package/lib/commonjs/ui/screens/AvatarCropScreen.js.map +1 -0
- package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js +13 -20
- package/lib/commonjs/ui/screens/CreateManagedAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +10 -13
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +4 -4
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +17 -15
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +797 -159
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +8 -9
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +29 -21
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +3 -5
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +5 -5
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +2 -2
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +75 -73
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +32 -21
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +4 -3
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +3 -3
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js +57 -56
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js +2 -3
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +39 -22
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +18 -21
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js +0 -3
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +6 -10
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +6 -6
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js +13 -19
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +5 -5
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
- package/lib/commonjs/ui/server.js +0 -5
- package/lib/commonjs/ui/server.js.map +1 -1
- package/lib/commonjs/ui/styles/authStyles.js +0 -5
- package/lib/commonjs/ui/styles/authStyles.js.map +1 -1
- package/lib/commonjs/ui/styles/index.js +0 -11
- package/lib/commonjs/ui/styles/index.js.map +1 -1
- package/lib/commonjs/ui/styles/spacing.js +1 -42
- package/lib/commonjs/ui/styles/spacing.js.map +1 -1
- package/lib/commonjs/ui/styles/theme.js +0 -4
- package/lib/commonjs/ui/styles/theme.js.map +1 -1
- package/lib/commonjs/ui/utils/fileManagement.js +58 -39
- package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
- package/lib/commonjs/ui/utils/sessionHelpers.js +3 -1
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/commonjs/ui/utils/userUtils.js +33 -16
- package/lib/commonjs/ui/utils/userUtils.js.map +1 -1
- package/lib/module/index.js +9 -5
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/client.js +0 -6
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/ActingAsBanner.js +0 -4
- package/lib/module/ui/components/ActingAsBanner.js.map +1 -1
- package/lib/module/ui/components/ActivityIndicator.js +1 -1
- package/lib/module/ui/components/ActivityIndicator.js.map +1 -1
- package/lib/module/ui/components/Avatar.js +0 -2
- package/lib/module/ui/components/Avatar.js.map +1 -1
- package/lib/module/ui/components/BottomSheet.js +35 -400
- package/lib/module/ui/components/BottomSheet.js.map +1 -1
- package/lib/module/ui/components/BottomSheetRouter.js +9 -1
- package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +2 -4
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/Header.js +0 -5
- package/lib/module/ui/components/Header.js.map +1 -1
- package/lib/module/ui/components/Icon.js +6 -7
- package/lib/module/ui/components/Icon.js.map +1 -1
- package/lib/module/ui/components/IconButton/IconButton.js +1 -5
- package/lib/module/ui/components/IconButton/IconButton.js.map +1 -1
- package/lib/module/ui/components/OxyPayButton.js +0 -2
- package/lib/module/ui/components/OxyPayButton.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +103 -40
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +23 -9
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/ProfileCard.js +11 -8
- package/lib/module/ui/components/ProfileCard.js.map +1 -1
- package/lib/module/ui/components/QuickActions.js +2 -2
- package/lib/module/ui/components/QuickActions.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +137 -284
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/StepBasedScreen.js +0 -2
- package/lib/module/ui/components/StepBasedScreen.js.map +1 -1
- package/lib/module/ui/components/TextField.js +0 -1
- package/lib/module/ui/components/TextField.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
- package/lib/module/ui/components/feedback/feedbackStyles.js +0 -2
- package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js +0 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +80 -75
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +6 -7
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +18 -22
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/fileManagement/styles.js +212 -24
- package/lib/module/ui/components/fileManagement/styles.js.map +1 -1
- package/lib/module/ui/components/logo/LogoIcon.js +56 -0
- package/lib/module/ui/components/logo/LogoIcon.js.map +1 -0
- package/lib/module/ui/components/logo/LogoText.js +43 -0
- package/lib/module/ui/components/logo/LogoText.js.map +1 -0
- package/lib/module/ui/components/modals/DeleteAccountModal.js +55 -88
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +1 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/module/ui/components/payment/paymentStyles.js +2 -10
- package/lib/module/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/module/ui/components/styles/overlay.js +8 -8
- package/lib/module/ui/components/styles/overlay.js.map +1 -1
- package/lib/module/ui/components/theming.js +0 -1
- package/lib/module/ui/components/theming.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +32 -19
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +1 -3
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/hooks/index.js +5 -3
- package/lib/module/ui/hooks/index.js.map +1 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js +6 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/module/ui/hooks/mutations/mutationKeys.js +30 -0
- package/lib/module/ui/hooks/mutations/mutationKeys.js.map +1 -0
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +231 -52
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +9 -5
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/index.js +1 -1
- package/lib/module/ui/hooks/queries/index.js.map +1 -1
- package/lib/module/ui/hooks/queries/queryKeys.js +2 -1
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +80 -3
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +35 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/module/ui/hooks/queryClient.js +166 -68
- package/lib/module/ui/hooks/queryClient.js.map +1 -1
- package/lib/module/ui/hooks/useAsyncAction.js +3 -3
- package/lib/module/ui/hooks/useAsyncAction.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js +0 -3
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useAvatarPicker.js +73 -22
- package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/module/ui/hooks/useFileDownloadUrl.js +11 -39
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +1 -1
- package/lib/module/ui/hooks/useMutationStatus.js +82 -0
- package/lib/module/ui/hooks/useMutationStatus.js.map +1 -0
- package/lib/module/ui/hooks/useOnlineStatus.js +29 -0
- package/lib/module/ui/hooks/useOnlineStatus.js.map +1 -0
- package/lib/module/ui/hooks/useSessionSocket.js +101 -130
- package/lib/module/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/module/ui/hooks/useSettingToggle.js +1 -1
- package/lib/module/ui/hooks/useSettingToggle.js.map +1 -1
- package/lib/module/ui/index.js +1 -10
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/navigation/routes.js +54 -2
- package/lib/module/ui/navigation/routes.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +15 -14
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +96 -111
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +19 -18
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +189 -145
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +15 -15
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +14 -15
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/AvatarCropScreen.js +936 -0
- package/lib/module/ui/screens/AvatarCropScreen.js.map +1 -0
- package/lib/module/ui/screens/CreateManagedAccountScreen.js +11 -18
- package/lib/module/ui/screens/CreateManagedAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +8 -11
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +3 -3
- package/lib/module/ui/screens/FAQScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +14 -12
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +764 -125
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +2 -3
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +26 -17
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +1 -3
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +3 -3
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +2 -2
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +60 -57
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +27 -16
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +4 -3
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +2 -2
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +48 -47
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +2 -3
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +40 -23
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +16 -19
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js +0 -3
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +6 -10
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +1 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +6 -6
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +13 -19
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js +5 -5
- package/lib/module/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
- package/lib/module/ui/server.js +0 -4
- package/lib/module/ui/server.js.map +1 -1
- package/lib/module/ui/styles/authStyles.js +0 -5
- package/lib/module/ui/styles/authStyles.js.map +1 -1
- package/lib/module/ui/styles/index.js +0 -1
- package/lib/module/ui/styles/index.js.map +1 -1
- package/lib/module/ui/styles/spacing.js +0 -42
- package/lib/module/ui/styles/spacing.js.map +1 -1
- package/lib/module/ui/styles/theme.js +0 -4
- package/lib/module/ui/styles/theme.js.map +1 -1
- package/lib/module/ui/utils/fileManagement.js +54 -36
- package/lib/module/ui/utils/fileManagement.js.map +1 -1
- package/lib/module/ui/utils/sessionHelpers.js +3 -1
- package/lib/module/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/module/ui/utils/userUtils.js +34 -16
- package/lib/module/ui/utils/userUtils.js.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +7 -3
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/client.d.ts +0 -2
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ActingAsBanner.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Avatar.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts +27 -27
- package/lib/typescript/commonjs/ui/components/BottomSheet.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/Header.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Icon.d.ts +3 -2
- package/lib/typescript/commonjs/ui/components/Icon.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/IconButton/IconButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts +4 -1
- package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/StepBasedScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TextField/Addons/Outline.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/TextField/helpers.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/TextField/types.d.ts +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TextField.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/TextField.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/feedbackStyles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts +0 -2
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +3 -2
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/styles.d.ts +200 -17
- package/lib/typescript/commonjs/ui/components/fileManagement/styles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts +22 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoIcon.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts +22 -0
- package/lib/typescript/commonjs/ui/components/logo/LogoText.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts +0 -7
- package/lib/typescript/commonjs/ui/components/payment/paymentStyles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts +3 -1
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/theming.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/types.d.ts.map +1 -1
- 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/index.d.ts +5 -3
- package/lib/typescript/commonjs/ui/hooks/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +11 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts +25 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts +161 -9
- package/lib/typescript/commonjs/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/index.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts +1 -0
- package/lib/typescript/commonjs/ui/hooks/queries/queryKeys.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts +22 -8
- package/lib/typescript/commonjs/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts +13 -3
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts +7 -5
- package/lib/typescript/commonjs/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +57 -9
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +0 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts +10 -2
- package/lib/typescript/commonjs/ui/hooks/useAvatarPicker.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts +2 -6
- package/lib/typescript/commonjs/ui/hooks/useFileDownloadUrl.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts +23 -0
- package/lib/typescript/commonjs/ui/hooks/useMutationStatus.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts +13 -0
- package/lib/typescript/commonjs/ui/hooks/useOnlineStatus.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/useSessionSocket.d.ts +1 -2
- package/lib/typescript/commonjs/ui/hooks/useSessionSocket.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/index.d.ts +1 -4
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts +48 -2
- package/lib/typescript/commonjs/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AccountOverviewScreen.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/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts +49 -0
- package/lib/typescript/commonjs/ui/screens/AvatarCropScreen.d.ts.map +1 -0
- 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/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/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/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/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/commonjs/ui/server.d.ts +0 -2
- package/lib/typescript/commonjs/ui/server.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/styles/authStyles.d.ts +0 -4
- package/lib/typescript/commonjs/ui/styles/authStyles.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/styles/index.d.ts +0 -1
- package/lib/typescript/commonjs/ui/styles/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/styles/spacing.d.ts +0 -36
- package/lib/typescript/commonjs/ui/styles/spacing.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/styles/theme.d.ts +0 -1
- package/lib/typescript/commonjs/ui/styles/theme.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +39 -12
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts +3 -1
- package/lib/typescript/commonjs/ui/utils/sessionHelpers.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts +19 -18
- package/lib/typescript/commonjs/ui/utils/userUtils.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +7 -3
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/client.d.ts +0 -2
- package/lib/typescript/module/ui/client.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ActingAsBanner.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Avatar.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/BottomSheet.d.ts +27 -27
- package/lib/typescript/module/ui/components/BottomSheet.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/Header.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Icon.d.ts +3 -2
- package/lib/typescript/module/ui/components/Icon.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileCard.d.ts +4 -1
- package/lib/typescript/module/ui/components/ProfileCard.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/StepBasedScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TextField/Addons/Outline.d.ts +2 -2
- package/lib/typescript/module/ui/components/TextField/helpers.d.ts +2 -2
- package/lib/typescript/module/ui/components/TextField/types.d.ts +0 -1
- package/lib/typescript/module/ui/components/TextField/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TextField.d.ts +1 -1
- package/lib/typescript/module/ui/components/TextField.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts +0 -1
- package/lib/typescript/module/ui/components/feedback/feedbackStyles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileDetailsModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts +0 -2
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +3 -2
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/styles.d.ts +200 -17
- package/lib/typescript/module/ui/components/fileManagement/styles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts +22 -0
- package/lib/typescript/module/ui/components/logo/LogoIcon.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts +22 -0
- package/lib/typescript/module/ui/components/logo/LogoText.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +2 -2
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts +0 -7
- package/lib/typescript/module/ui/components/payment/paymentStyles.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/styles/overlay.d.ts +3 -1
- package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/theming.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/types.d.ts.map +1 -1
- 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/index.d.ts +5 -3
- package/lib/typescript/module/ui/hooks/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +11 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts +25 -0
- package/lib/typescript/module/ui/hooks/mutations/mutationKeys.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts +161 -9
- package/lib/typescript/module/ui/hooks/mutations/useAccountMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/useServicesMutations.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/index.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/queries/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts +1 -0
- package/lib/typescript/module/ui/hooks/queries/queryKeys.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts +22 -8
- package/lib/typescript/module/ui/hooks/queries/useAccountQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts +13 -3
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts +7 -5
- package/lib/typescript/module/ui/hooks/queries/useServicesQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queryClient.d.ts +57 -9
- package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAssets.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +0 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts +10 -2
- package/lib/typescript/module/ui/hooks/useAvatarPicker.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts +2 -6
- package/lib/typescript/module/ui/hooks/useFileDownloadUrl.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts +23 -0
- package/lib/typescript/module/ui/hooks/useMutationStatus.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts +13 -0
- package/lib/typescript/module/ui/hooks/useOnlineStatus.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/useSessionSocket.d.ts +1 -2
- package/lib/typescript/module/ui/hooks/useSessionSocket.d.ts.map +1 -1
- package/lib/typescript/module/ui/index.d.ts +1 -4
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/routes.d.ts +48 -2
- package/lib/typescript/module/ui/navigation/routes.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AccountOverviewScreen.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/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts +49 -0
- package/lib/typescript/module/ui/screens/AvatarCropScreen.d.ts.map +1 -0
- 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/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/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/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/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/module/ui/server.d.ts +0 -2
- package/lib/typescript/module/ui/server.d.ts.map +1 -1
- package/lib/typescript/module/ui/styles/authStyles.d.ts +0 -4
- package/lib/typescript/module/ui/styles/authStyles.d.ts.map +1 -1
- package/lib/typescript/module/ui/styles/index.d.ts +0 -1
- package/lib/typescript/module/ui/styles/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/styles/spacing.d.ts +0 -36
- package/lib/typescript/module/ui/styles/spacing.d.ts.map +1 -1
- package/lib/typescript/module/ui/styles/theme.d.ts +0 -1
- package/lib/typescript/module/ui/styles/theme.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/fileManagement.d.ts +39 -12
- package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts +3 -1
- package/lib/typescript/module/ui/utils/sessionHelpers.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/userUtils.d.ts +19 -18
- package/lib/typescript/module/ui/utils/userUtils.d.ts.map +1 -1
- package/lib/typescript/types/expo-vector-icons.d.ts +7 -4
- package/package.json +64 -31
- package/src/index.ts +11 -4
- package/src/types/expo-vector-icons.d.ts +7 -4
- package/src/ui/client.ts +0 -6
- package/src/ui/components/ActingAsBanner.tsx +0 -4
- package/src/ui/components/ActivityIndicator.tsx +1 -1
- package/src/ui/components/Avatar.tsx +0 -2
- package/src/ui/components/BottomSheet.tsx +41 -440
- package/src/ui/components/BottomSheetRouter.tsx +12 -1
- package/src/ui/components/FollowButton.tsx +2 -4
- package/src/ui/components/Header.tsx +0 -5
- package/src/ui/components/Icon.tsx +12 -6
- package/src/ui/components/IconButton/IconButton.tsx +0 -3
- package/src/ui/components/OxyPayButton.tsx +0 -2
- package/src/ui/components/OxyProvider.tsx +127 -48
- package/src/ui/components/OxySignInButton.tsx +21 -9
- package/src/ui/components/ProfileCard.tsx +13 -10
- package/src/ui/components/QuickActions.tsx +2 -2
- package/src/ui/components/SignInModal.tsx +80 -199
- package/src/ui/components/StepBasedScreen.tsx +0 -2
- package/src/ui/components/TextField/Addons/Outline.tsx +2 -2
- package/src/ui/components/TextField/helpers.tsx +2 -2
- package/src/ui/components/TextField/types.tsx +0 -1
- package/src/ui/components/TextField.tsx +1 -2
- package/src/ui/components/TouchableRipple/TouchableRipple.native.tsx +1 -1
- package/src/ui/components/feedback/feedbackStyles.ts +0 -2
- package/src/ui/components/fileManagement/AnimatedButton.tsx +0 -1
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +71 -65
- package/src/ui/components/fileManagement/FileViewer.tsx +6 -9
- package/src/ui/components/fileManagement/UploadPreview.tsx +21 -25
- package/src/ui/components/fileManagement/styles.ts +206 -18
- package/src/ui/components/logo/LogoIcon.tsx +70 -0
- package/src/ui/components/logo/LogoText.tsx +70 -0
- package/src/ui/components/modals/DeleteAccountModal.tsx +56 -91
- package/src/ui/components/payment/PaymentDetailsStep.tsx +1 -1
- package/src/ui/components/payment/PaymentReviewStep.tsx +1 -1
- package/src/ui/components/payment/PaymentSuccessStep.tsx +1 -1
- package/src/ui/components/payment/paymentStyles.ts +0 -8
- package/src/ui/components/styles/overlay.tsx +17 -8
- package/src/ui/components/theming.tsx +0 -1
- package/src/ui/components/types.tsx +3 -2
- package/src/ui/context/OxyContext.tsx +34 -19
- package/src/ui/context/hooks/useAuthOperations.ts +1 -3
- package/src/ui/hooks/index.ts +11 -4
- package/src/ui/hooks/mutations/mutationFactory.ts +16 -1
- package/src/ui/hooks/mutations/mutationKeys.ts +28 -0
- package/src/ui/hooks/mutations/useAccountMutations.ts +251 -59
- package/src/ui/hooks/mutations/useServicesMutations.ts +10 -4
- package/src/ui/hooks/queries/index.ts +1 -0
- package/src/ui/hooks/queries/queryKeys.ts +2 -0
- package/src/ui/hooks/queries/useAccountQueries.ts +83 -3
- package/src/ui/hooks/queries/useSecurityQueries.ts +42 -2
- package/src/ui/hooks/queryClient.ts +194 -69
- package/src/ui/hooks/useAsyncAction.ts +3 -3
- package/src/ui/hooks/useAuth.ts +0 -2
- package/src/ui/hooks/useAvatarPicker.ts +108 -27
- package/src/ui/hooks/useFileDownloadUrl.ts +15 -39
- package/src/ui/hooks/useMutationStatus.ts +111 -0
- package/src/ui/hooks/useOnlineStatus.ts +29 -0
- package/src/ui/hooks/useSessionSocket.ts +136 -126
- package/src/ui/hooks/useSettingToggle.ts +1 -1
- package/src/ui/index.ts +0 -12
- package/src/ui/navigation/routes.ts +93 -2
- package/src/ui/screens/AccountCenterScreen.tsx +15 -13
- package/src/ui/screens/AccountOverviewScreen.tsx +94 -104
- package/src/ui/screens/AccountSettingsScreen.tsx +18 -17
- package/src/ui/screens/AccountSwitcherScreen.tsx +331 -298
- package/src/ui/screens/AccountVerificationScreen.tsx +15 -15
- package/src/ui/screens/AppInfoScreen.tsx +8 -13
- package/src/ui/screens/AvatarCropScreen.tsx +1073 -0
- package/src/ui/screens/CreateManagedAccountScreen.tsx +5 -16
- package/src/ui/screens/EditProfileFieldScreen.tsx +5 -10
- package/src/ui/screens/FAQScreen.tsx +3 -3
- package/src/ui/screens/FeedbackScreen.tsx +14 -12
- package/src/ui/screens/FileManagementScreen.tsx +885 -124
- package/src/ui/screens/HelpSupportScreen.tsx +2 -3
- package/src/ui/screens/HistoryViewScreen.tsx +24 -9
- package/src/ui/screens/LanguageSelectorScreen.tsx +1 -3
- package/src/ui/screens/LegalDocumentsScreen.tsx +3 -3
- package/src/ui/screens/PaymentGatewayScreen.tsx +2 -2
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +51 -56
- package/src/ui/screens/PrivacySettingsScreen.tsx +22 -20
- package/src/ui/screens/ProfileScreen.tsx +1 -2
- package/src/ui/screens/SavesCollectionsScreen.tsx +2 -2
- package/src/ui/screens/SessionManagementScreen.tsx +35 -47
- package/src/ui/screens/UserLinksScreen.tsx +1 -2
- package/src/ui/screens/UserListScreen.tsx +30 -19
- package/src/ui/screens/WelcomeNewUserScreen.tsx +14 -18
- package/src/ui/screens/karma/KarmaAboutScreen.tsx +0 -3
- package/src/ui/screens/karma/KarmaCenterScreen.tsx +4 -8
- package/src/ui/screens/karma/KarmaFAQScreen.tsx +1 -1
- package/src/ui/screens/karma/KarmaLeaderboardScreen.tsx +3 -4
- package/src/ui/screens/karma/KarmaRewardsScreen.tsx +13 -18
- package/src/ui/screens/karma/KarmaRulesScreen.tsx +3 -4
- package/src/ui/server.ts +0 -4
- package/src/ui/styles/authStyles.ts +0 -5
- package/src/ui/styles/index.ts +0 -1
- package/src/ui/styles/spacing.ts +0 -43
- package/src/ui/styles/theme.ts +0 -4
- package/src/ui/utils/fileManagement.ts +66 -38
- package/src/ui/utils/sessionHelpers.ts +3 -1
- package/src/ui/utils/userUtils.ts +45 -29
- package/lib/commonjs/lib/sonner-safe.js +0 -32
- package/lib/commonjs/lib/sonner-safe.js.map +0 -1
- package/lib/commonjs/lib/sonner.js +0 -19
- package/lib/commonjs/lib/sonner.js.map +0 -1
- package/lib/commonjs/lib/sonner.native.js +0 -24
- package/lib/commonjs/lib/sonner.native.js.map +0 -1
- package/lib/commonjs/lib/sonner.web.js +0 -24
- package/lib/commonjs/lib/sonner.web.js.map +0 -1
- package/lib/commonjs/ui/hooks/useThemeColors.js +0 -33
- package/lib/commonjs/ui/hooks/useThemeColors.js.map +0 -1
- package/lib/commonjs/ui/hooks/useThemeStyles.js +0 -38
- package/lib/commonjs/ui/hooks/useThemeStyles.js.map +0 -1
- package/lib/commonjs/ui/styles/fonts.js +0 -84
- package/lib/commonjs/ui/styles/fonts.js.map +0 -1
- package/lib/module/lib/sonner-safe.js +0 -29
- package/lib/module/lib/sonner-safe.js.map +0 -1
- package/lib/module/lib/sonner.js +0 -14
- package/lib/module/lib/sonner.js.map +0 -1
- package/lib/module/lib/sonner.native.js +0 -19
- package/lib/module/lib/sonner.native.js.map +0 -1
- package/lib/module/lib/sonner.web.js +0 -19
- package/lib/module/lib/sonner.web.js.map +0 -1
- package/lib/module/ui/hooks/useThemeColors.js +0 -29
- package/lib/module/ui/hooks/useThemeColors.js.map +0 -1
- package/lib/module/ui/hooks/useThemeStyles.js +0 -33
- package/lib/module/ui/hooks/useThemeStyles.js.map +0 -1
- package/lib/module/ui/styles/fonts.js +0 -81
- package/lib/module/ui/styles/fonts.js.map +0 -1
- package/lib/typescript/commonjs/lib/sonner-safe.d.ts +0 -9
- package/lib/typescript/commonjs/lib/sonner-safe.d.ts.map +0 -1
- package/lib/typescript/commonjs/lib/sonner.d.ts +0 -12
- package/lib/typescript/commonjs/lib/sonner.d.ts.map +0 -1
- package/lib/typescript/commonjs/lib/sonner.native.d.ts +0 -15
- package/lib/typescript/commonjs/lib/sonner.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/lib/sonner.web.d.ts +0 -15
- package/lib/typescript/commonjs/lib/sonner.web.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useThemeColors.d.ts +0 -87
- package/lib/typescript/commonjs/ui/hooks/useThemeColors.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useThemeStyles.d.ts +0 -22
- package/lib/typescript/commonjs/ui/hooks/useThemeStyles.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/styles/fonts.d.ts +0 -21
- package/lib/typescript/commonjs/ui/styles/fonts.d.ts.map +0 -1
- package/lib/typescript/module/lib/sonner-safe.d.ts +0 -9
- package/lib/typescript/module/lib/sonner-safe.d.ts.map +0 -1
- package/lib/typescript/module/lib/sonner.d.ts +0 -12
- package/lib/typescript/module/lib/sonner.d.ts.map +0 -1
- package/lib/typescript/module/lib/sonner.native.d.ts +0 -15
- package/lib/typescript/module/lib/sonner.native.d.ts.map +0 -1
- package/lib/typescript/module/lib/sonner.web.d.ts +0 -15
- package/lib/typescript/module/lib/sonner.web.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useThemeColors.d.ts +0 -87
- package/lib/typescript/module/ui/hooks/useThemeColors.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useThemeStyles.d.ts +0 -22
- package/lib/typescript/module/ui/hooks/useThemeStyles.d.ts.map +0 -1
- package/lib/typescript/module/ui/styles/fonts.d.ts +0 -21
- package/lib/typescript/module/ui/styles/fonts.d.ts.map +0 -1
- package/src/lib/sonner-safe.ts +0 -31
- package/src/lib/sonner.native.ts +0 -28
- package/src/lib/sonner.ts +0 -11
- package/src/lib/sonner.web.ts +0 -28
- package/src/ui/hooks/useThemeColors.ts +0 -27
- package/src/ui/hooks/useThemeStyles.ts +0 -50
- package/src/ui/styles/fonts.ts +0 -77
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import { View, Text } from 'react-native';
|
|
3
3
|
import { Ionicons } from '@expo/vector-icons';
|
|
4
|
-
import
|
|
5
|
-
import type { DialogControlProps } from '@oxyhq/bloom/dialog';
|
|
6
|
-
import * as Prompt from '@oxyhq/bloom/prompt';
|
|
4
|
+
import { Dialog, type DialogControlProps } from '@oxyhq/bloom';
|
|
7
5
|
import { useTheme } from '@oxyhq/bloom/theme';
|
|
8
6
|
import type { FileMetadata } from '@oxyhq/core';
|
|
9
7
|
import { formatFileSize, getFileIcon } from '../../utils/fileManagement';
|
|
@@ -30,79 +28,87 @@ export const FileDetailsModal: React.FC<FileDetailsModalProps> = ({
|
|
|
30
28
|
|
|
31
29
|
if (!file) return null;
|
|
32
30
|
|
|
31
|
+
const actions = isOwner
|
|
32
|
+
? [
|
|
33
|
+
{
|
|
34
|
+
label: 'Download',
|
|
35
|
+
onPress: () => onDownload(file.id, file.filename),
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
label: 'Delete',
|
|
39
|
+
color: 'destructive' as const,
|
|
40
|
+
onPress: () => onDelete(file.id, file.filename),
|
|
41
|
+
},
|
|
42
|
+
{ label: 'Cancel', color: 'cancel' as const },
|
|
43
|
+
]
|
|
44
|
+
: [
|
|
45
|
+
{
|
|
46
|
+
label: 'Download',
|
|
47
|
+
onPress: () => onDownload(file.id, file.filename),
|
|
48
|
+
},
|
|
49
|
+
{ label: 'Cancel', color: 'cancel' as const },
|
|
50
|
+
];
|
|
51
|
+
|
|
33
52
|
return (
|
|
34
|
-
<Dialog
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
53
|
+
<Dialog
|
|
54
|
+
control={control}
|
|
55
|
+
onClose={onClose}
|
|
56
|
+
label="File Details"
|
|
57
|
+
actions={actions}
|
|
58
|
+
>
|
|
59
|
+
<View className="bg-secondary border-border" style={fileManagementStyles.fileDetailCard}>
|
|
60
|
+
<View style={fileManagementStyles.fileDetailIcon}>
|
|
61
|
+
<Ionicons
|
|
62
|
+
name={getFileIcon(file.contentType) as React.ComponentProps<typeof Ionicons>['name']}
|
|
63
|
+
size={64}
|
|
64
|
+
color={colors.primary}
|
|
65
|
+
/>
|
|
66
|
+
</View>
|
|
45
67
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
68
|
+
<Text className="text-foreground" style={fileManagementStyles.fileDetailName}>
|
|
69
|
+
{file.filename}
|
|
70
|
+
</Text>
|
|
49
71
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
72
|
+
<View style={fileManagementStyles.fileDetailInfo}>
|
|
73
|
+
<View style={fileManagementStyles.detailRow}>
|
|
74
|
+
<Text className="text-muted-foreground" style={fileManagementStyles.detailLabel}>
|
|
75
|
+
Size:
|
|
76
|
+
</Text>
|
|
77
|
+
<Text className="text-foreground" style={fileManagementStyles.detailValue}>
|
|
78
|
+
{formatFileSize(file.length)}
|
|
79
|
+
</Text>
|
|
80
|
+
</View>
|
|
59
81
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
82
|
+
<View style={fileManagementStyles.detailRow}>
|
|
83
|
+
<Text className="text-muted-foreground" style={fileManagementStyles.detailLabel}>
|
|
84
|
+
Type:
|
|
85
|
+
</Text>
|
|
86
|
+
<Text className="text-foreground" style={fileManagementStyles.detailValue}>
|
|
87
|
+
{file.contentType}
|
|
88
|
+
</Text>
|
|
89
|
+
</View>
|
|
68
90
|
|
|
91
|
+
<View style={fileManagementStyles.detailRow}>
|
|
92
|
+
<Text className="text-muted-foreground" style={fileManagementStyles.detailLabel}>
|
|
93
|
+
Uploaded:
|
|
94
|
+
</Text>
|
|
95
|
+
<Text className="text-foreground" style={fileManagementStyles.detailValue}>
|
|
96
|
+
{new Date(file.uploadDate).toLocaleString()}
|
|
97
|
+
</Text>
|
|
98
|
+
</View>
|
|
99
|
+
|
|
100
|
+
{file.metadata?.description && (
|
|
69
101
|
<View style={fileManagementStyles.detailRow}>
|
|
70
102
|
<Text className="text-muted-foreground" style={fileManagementStyles.detailLabel}>
|
|
71
|
-
|
|
103
|
+
Description:
|
|
72
104
|
</Text>
|
|
73
105
|
<Text className="text-foreground" style={fileManagementStyles.detailValue}>
|
|
74
|
-
{
|
|
106
|
+
{file.metadata.description}
|
|
75
107
|
</Text>
|
|
76
108
|
</View>
|
|
77
|
-
|
|
78
|
-
{file.metadata?.description && (
|
|
79
|
-
<View style={fileManagementStyles.detailRow}>
|
|
80
|
-
<Text className="text-muted-foreground" style={fileManagementStyles.detailLabel}>
|
|
81
|
-
Description:
|
|
82
|
-
</Text>
|
|
83
|
-
<Text className="text-foreground" style={fileManagementStyles.detailValue}>
|
|
84
|
-
{file.metadata.description}
|
|
85
|
-
</Text>
|
|
86
|
-
</View>
|
|
87
|
-
)}
|
|
88
|
-
</View>
|
|
89
|
-
|
|
90
|
-
<Prompt.Actions>
|
|
91
|
-
<Prompt.Action
|
|
92
|
-
onPress={() => onDownload(file.id, file.filename)}
|
|
93
|
-
cta="Download"
|
|
94
|
-
color="primary"
|
|
95
|
-
/>
|
|
96
|
-
{isOwner && (
|
|
97
|
-
<Prompt.Action
|
|
98
|
-
onPress={() => onDelete(file.id, file.filename)}
|
|
99
|
-
cta="Delete"
|
|
100
|
-
color="negative"
|
|
101
|
-
/>
|
|
102
|
-
)}
|
|
103
|
-
</Prompt.Actions>
|
|
109
|
+
)}
|
|
104
110
|
</View>
|
|
105
|
-
</
|
|
106
|
-
</Dialog
|
|
111
|
+
</View>
|
|
112
|
+
</Dialog>
|
|
107
113
|
);
|
|
108
114
|
};
|
|
@@ -2,7 +2,6 @@ import type React from 'react';
|
|
|
2
2
|
import { useMemo, useState, useEffect } from 'react';
|
|
3
3
|
import { View, Text, TouchableOpacity, ScrollView, ActivityIndicator, Image } from 'react-native';
|
|
4
4
|
import { Image as ExpoImage } from 'expo-image';
|
|
5
|
-
// @ts-ignore - MaterialCommunityIcons is available at runtime
|
|
6
5
|
import { MaterialCommunityIcons } from '@expo/vector-icons';
|
|
7
6
|
import { useTheme } from '@oxyhq/bloom/theme';
|
|
8
7
|
import type { FileMetadata } from '@oxyhq/core';
|
|
@@ -21,8 +20,6 @@ interface FileViewerProps {
|
|
|
21
20
|
onDownload: (fileId: string, filename: string) => void;
|
|
22
21
|
onDelete: (fileId: string, filename: string) => void;
|
|
23
22
|
isOwner: boolean;
|
|
24
|
-
/** @deprecated No longer used. Colors are sourced from useTheme() internally. */
|
|
25
|
-
themeStyles?: unknown;
|
|
26
23
|
}
|
|
27
24
|
|
|
28
25
|
export const FileViewer: React.FC<FileViewerProps> = ({
|
|
@@ -173,7 +170,7 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
173
170
|
transition={120}
|
|
174
171
|
cachePolicy="memory-disk"
|
|
175
172
|
/>
|
|
176
|
-
<View style={[fileManagementStyles.backgroundOverlay, { backgroundColor:
|
|
173
|
+
<View style={[fileManagementStyles.backgroundOverlay, { backgroundColor: colors.overlay }]} />
|
|
177
174
|
</>
|
|
178
175
|
)}
|
|
179
176
|
|
|
@@ -269,7 +266,7 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
269
266
|
style={fileManagementStyles.downloadButtonLarge}
|
|
270
267
|
onPress={() => onDownload(file.id, file.filename)}
|
|
271
268
|
>
|
|
272
|
-
<MaterialCommunityIcons name="download" size={18} color=
|
|
269
|
+
<MaterialCommunityIcons name="download" size={18} color={colors.negativeForeground} />
|
|
273
270
|
<Text style={fileManagementStyles.downloadButtonText}>Download PDF</Text>
|
|
274
271
|
</TouchableOpacity>
|
|
275
272
|
</View>
|
|
@@ -292,7 +289,7 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
292
289
|
style={fileManagementStyles.downloadButtonLarge}
|
|
293
290
|
onPress={() => onDownload(file.id, file.filename)}
|
|
294
291
|
>
|
|
295
|
-
<MaterialCommunityIcons name="download" size={18} color=
|
|
292
|
+
<MaterialCommunityIcons name="download" size={18} color={colors.negativeForeground} />
|
|
296
293
|
<Text style={fileManagementStyles.downloadButtonText}>Download Video</Text>
|
|
297
294
|
</TouchableOpacity>
|
|
298
295
|
</View>
|
|
@@ -315,7 +312,7 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
315
312
|
style={fileManagementStyles.downloadButtonLarge}
|
|
316
313
|
onPress={() => onDownload(file.id, file.filename)}
|
|
317
314
|
>
|
|
318
|
-
<MaterialCommunityIcons name="download" size={18} color=
|
|
315
|
+
<MaterialCommunityIcons name="download" size={18} color={colors.negativeForeground} />
|
|
319
316
|
<Text style={fileManagementStyles.downloadButtonText}>Download Audio</Text>
|
|
320
317
|
</TouchableOpacity>
|
|
321
318
|
</View>
|
|
@@ -338,7 +335,7 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
338
335
|
style={fileManagementStyles.downloadButtonLarge}
|
|
339
336
|
onPress={() => onDownload(file.id, file.filename)}
|
|
340
337
|
>
|
|
341
|
-
<MaterialCommunityIcons name="download" size={18} color=
|
|
338
|
+
<MaterialCommunityIcons name="download" size={18} color={colors.negativeForeground} />
|
|
342
339
|
<Text style={fileManagementStyles.downloadButtonText}>Download File</Text>
|
|
343
340
|
</TouchableOpacity>
|
|
344
341
|
</View>
|
|
@@ -389,7 +386,7 @@ export const FileViewer: React.FC<FileViewerProps> = ({
|
|
|
389
386
|
onDelete(file.id, file.filename);
|
|
390
387
|
}}
|
|
391
388
|
>
|
|
392
|
-
<MaterialCommunityIcons name="delete" size={16} color=
|
|
389
|
+
<MaterialCommunityIcons name="delete" size={16} color={colors.negativeForeground} />
|
|
393
390
|
<Text style={fileManagementStyles.fileDetailsActionText}>Delete</Text>
|
|
394
391
|
</TouchableOpacity>
|
|
395
392
|
</View>
|
|
@@ -2,15 +2,14 @@ import type React from 'react';
|
|
|
2
2
|
import { View, Text, TouchableOpacity, ScrollView } from 'react-native';
|
|
3
3
|
import { Image as ExpoImage } from 'expo-image';
|
|
4
4
|
import { Ionicons } from '@expo/vector-icons';
|
|
5
|
-
import
|
|
6
|
-
import type { DialogControlProps } from '@oxyhq/bloom/dialog';
|
|
7
|
-
import * as Prompt from '@oxyhq/bloom/prompt';
|
|
5
|
+
import { Dialog, type DialogControlProps } from '@oxyhq/bloom';
|
|
8
6
|
import { useTheme } from '@oxyhq/bloom/theme';
|
|
7
|
+
import type { RNFileDescriptor } from '@oxyhq/core';
|
|
9
8
|
import { formatFileSize, getFileIcon } from '../../utils/fileManagement';
|
|
10
9
|
import { fileManagementStyles } from './styles';
|
|
11
10
|
|
|
12
11
|
interface PendingFile {
|
|
13
|
-
file: File | Blob;
|
|
12
|
+
file: File | Blob | RNFileDescriptor;
|
|
14
13
|
preview?: string;
|
|
15
14
|
size: number;
|
|
16
15
|
name: string;
|
|
@@ -124,7 +123,7 @@ const UploadPreviewContent: React.FC<{
|
|
|
124
123
|
style={fileManagementStyles.uploadPreviewConfirmButton}
|
|
125
124
|
onPress={onConfirm}
|
|
126
125
|
>
|
|
127
|
-
<Ionicons name="cloud-upload" size={20} color=
|
|
126
|
+
<Ionicons name="cloud-upload" size={20} color={colors.negativeForeground} />
|
|
128
127
|
<Text style={fileManagementStyles.uploadPreviewConfirmText}>Upload</Text>
|
|
129
128
|
</TouchableOpacity>
|
|
130
129
|
</View>
|
|
@@ -158,25 +157,22 @@ export const UploadPreview: React.FC<UploadPreviewProps> = ({
|
|
|
158
157
|
if (!control) return null;
|
|
159
158
|
|
|
160
159
|
return (
|
|
161
|
-
<Dialog
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
</Prompt.Actions>
|
|
179
|
-
</Dialog.ScrollableInner>
|
|
180
|
-
</Dialog.Outer>
|
|
160
|
+
<Dialog
|
|
161
|
+
control={control}
|
|
162
|
+
onClose={onCancel}
|
|
163
|
+
label="Review Files"
|
|
164
|
+
actions={[
|
|
165
|
+
{ label: 'Upload', onPress: onConfirm },
|
|
166
|
+
{ label: 'Cancel', color: 'cancel' },
|
|
167
|
+
]}
|
|
168
|
+
>
|
|
169
|
+
<UploadPreviewContent
|
|
170
|
+
pendingFiles={pendingFiles}
|
|
171
|
+
onConfirm={onConfirm}
|
|
172
|
+
onCancel={onCancel}
|
|
173
|
+
onRemoveFile={onRemoveFile}
|
|
174
|
+
showActions={false}
|
|
175
|
+
/>
|
|
176
|
+
</Dialog>
|
|
181
177
|
);
|
|
182
178
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { StyleSheet } from 'react-native';
|
|
2
|
-
import { fontFamilies } from '../../styles/fonts';
|
|
3
2
|
|
|
4
3
|
export const fileManagementStyles = StyleSheet.create({
|
|
5
4
|
container: {
|
|
@@ -50,14 +49,12 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
50
49
|
headerTitle: {
|
|
51
50
|
fontSize: 22,
|
|
52
51
|
fontWeight: '700',
|
|
53
|
-
fontFamily: fontFamilies.interBold,
|
|
54
52
|
letterSpacing: -0.5,
|
|
55
53
|
lineHeight: 28,
|
|
56
54
|
},
|
|
57
55
|
headerSubtitle: {
|
|
58
56
|
fontSize: 13,
|
|
59
57
|
fontWeight: '500',
|
|
60
|
-
fontFamily: fontFamilies.interMedium,
|
|
61
58
|
marginTop: 2,
|
|
62
59
|
letterSpacing: 0.2,
|
|
63
60
|
},
|
|
@@ -68,6 +65,25 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
68
65
|
alignItems: 'center',
|
|
69
66
|
justifyContent: 'center',
|
|
70
67
|
},
|
|
68
|
+
/**
|
|
69
|
+
* Expanded variant of the upload button shown in image-only picker mode,
|
|
70
|
+
* where surfacing "Upload" prominently helps users when they have no files.
|
|
71
|
+
*/
|
|
72
|
+
uploadButtonExtended: {
|
|
73
|
+
width: 'auto',
|
|
74
|
+
minWidth: 44,
|
|
75
|
+
paddingHorizontal: 14,
|
|
76
|
+
},
|
|
77
|
+
uploadButtonContent: {
|
|
78
|
+
flexDirection: 'row',
|
|
79
|
+
alignItems: 'center',
|
|
80
|
+
gap: 6,
|
|
81
|
+
},
|
|
82
|
+
uploadButtonLabel: {
|
|
83
|
+
color: '#FFFFFF',
|
|
84
|
+
fontSize: 14,
|
|
85
|
+
fontWeight: '600',
|
|
86
|
+
},
|
|
71
87
|
uploadProgress: {
|
|
72
88
|
alignItems: 'center',
|
|
73
89
|
justifyContent: 'center',
|
|
@@ -133,7 +149,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
133
149
|
searchInput: {
|
|
134
150
|
flex: 1,
|
|
135
151
|
fontSize: 16,
|
|
136
|
-
fontFamily: fontFamilies.inter,
|
|
137
152
|
lineHeight: 20,
|
|
138
153
|
},
|
|
139
154
|
searchClearButton: {
|
|
@@ -159,14 +174,12 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
159
174
|
statValue: {
|
|
160
175
|
fontSize: 20,
|
|
161
176
|
fontWeight: '800',
|
|
162
|
-
fontFamily: fontFamilies.interBold,
|
|
163
177
|
letterSpacing: -0.5,
|
|
164
178
|
lineHeight: 24,
|
|
165
179
|
},
|
|
166
180
|
statLabel: {
|
|
167
181
|
fontSize: 12,
|
|
168
182
|
fontWeight: '500',
|
|
169
|
-
fontFamily: fontFamilies.interMedium,
|
|
170
183
|
marginTop: 2,
|
|
171
184
|
letterSpacing: 0.2,
|
|
172
185
|
},
|
|
@@ -322,7 +335,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
322
335
|
emptyStateTitle: {
|
|
323
336
|
fontSize: 24,
|
|
324
337
|
fontWeight: 'bold',
|
|
325
|
-
fontFamily: fontFamilies.interBold,
|
|
326
338
|
marginTop: 16,
|
|
327
339
|
marginBottom: 8,
|
|
328
340
|
},
|
|
@@ -362,7 +374,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
362
374
|
modalTitle: {
|
|
363
375
|
fontSize: 18,
|
|
364
376
|
fontWeight: '600',
|
|
365
|
-
fontFamily: fontFamilies.interSemiBold,
|
|
366
377
|
},
|
|
367
378
|
modalPlaceholder: {
|
|
368
379
|
width: 40,
|
|
@@ -383,7 +394,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
383
394
|
fileDetailName: {
|
|
384
395
|
fontSize: 20,
|
|
385
396
|
fontWeight: 'bold',
|
|
386
|
-
fontFamily: fontFamilies.interBold,
|
|
387
397
|
textAlign: 'center',
|
|
388
398
|
marginBottom: 24,
|
|
389
399
|
},
|
|
@@ -442,7 +452,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
442
452
|
uploadPreviewTitle: {
|
|
443
453
|
fontSize: 20,
|
|
444
454
|
fontWeight: '700',
|
|
445
|
-
fontFamily: fontFamilies.interBold,
|
|
446
455
|
},
|
|
447
456
|
uploadPreviewList: {
|
|
448
457
|
flex: 1,
|
|
@@ -476,12 +485,10 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
476
485
|
uploadPreviewName: {
|
|
477
486
|
fontSize: 16,
|
|
478
487
|
fontWeight: '600',
|
|
479
|
-
fontFamily: fontFamilies.interSemiBold,
|
|
480
488
|
marginBottom: 4,
|
|
481
489
|
},
|
|
482
490
|
uploadPreviewMeta: {
|
|
483
491
|
fontSize: 13,
|
|
484
|
-
fontFamily: fontFamilies.inter,
|
|
485
492
|
},
|
|
486
493
|
uploadPreviewRemove: {
|
|
487
494
|
padding: 4,
|
|
@@ -498,7 +505,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
498
505
|
uploadPreviewStatsText: {
|
|
499
506
|
fontSize: 15,
|
|
500
507
|
fontWeight: '600',
|
|
501
|
-
fontFamily: fontFamilies.interSemiBold,
|
|
502
508
|
},
|
|
503
509
|
uploadPreviewActions: {
|
|
504
510
|
flexDirection: 'row',
|
|
@@ -515,7 +521,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
515
521
|
uploadPreviewCancelText: {
|
|
516
522
|
fontSize: 16,
|
|
517
523
|
fontWeight: '600',
|
|
518
|
-
fontFamily: fontFamilies.interSemiBold,
|
|
519
524
|
},
|
|
520
525
|
uploadPreviewConfirmButton: {
|
|
521
526
|
flex: 2,
|
|
@@ -530,7 +535,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
530
535
|
color: '#FFFFFF',
|
|
531
536
|
fontSize: 16,
|
|
532
537
|
fontWeight: '600',
|
|
533
|
-
fontFamily: fontFamilies.interSemiBold,
|
|
534
538
|
},
|
|
535
539
|
fileViewerContainer: {
|
|
536
540
|
flex: 1,
|
|
@@ -570,7 +574,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
570
574
|
fileViewerTitle: {
|
|
571
575
|
fontSize: 18,
|
|
572
576
|
fontWeight: '600',
|
|
573
|
-
fontFamily: fontFamilies.interSemiBold,
|
|
574
577
|
marginBottom: 2,
|
|
575
578
|
},
|
|
576
579
|
fileViewerSubtitle: {
|
|
@@ -661,7 +664,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
661
664
|
unsupportedFileTitle: {
|
|
662
665
|
fontSize: 24,
|
|
663
666
|
fontWeight: 'bold',
|
|
664
|
-
fontFamily: fontFamilies.interBold,
|
|
665
667
|
marginTop: 16,
|
|
666
668
|
marginBottom: 8,
|
|
667
669
|
textAlign: 'center',
|
|
@@ -719,7 +721,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
719
721
|
fileDetailsSectionTitle: {
|
|
720
722
|
fontSize: 18,
|
|
721
723
|
fontWeight: '600',
|
|
722
|
-
fontFamily: fontFamilies.interSemiBold,
|
|
723
724
|
flex: 1,
|
|
724
725
|
},
|
|
725
726
|
fileDetailsSectionHeader: {
|
|
@@ -858,3 +859,190 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
858
859
|
},
|
|
859
860
|
});
|
|
860
861
|
|
|
862
|
+
/**
|
|
863
|
+
* Styles for the dedicated photo picker view used when `selectMode + image-only`
|
|
864
|
+
* is active (e.g. the avatar picker context). This view is intentionally
|
|
865
|
+
* flagship-grade: black backdrop, translucent header, edge-to-edge grid.
|
|
866
|
+
*
|
|
867
|
+
* Kept in a separate StyleSheet so the rest of `fileManagementStyles` does not
|
|
868
|
+
* carry a black-background bias when used elsewhere.
|
|
869
|
+
*/
|
|
870
|
+
export const photoPickerStyles = StyleSheet.create({
|
|
871
|
+
root: {
|
|
872
|
+
flex: 1,
|
|
873
|
+
backgroundColor: '#000000',
|
|
874
|
+
},
|
|
875
|
+
headerSpacer: {
|
|
876
|
+
// Reserved for the absolute header so content does not sit underneath it.
|
|
877
|
+
backgroundColor: '#000000',
|
|
878
|
+
},
|
|
879
|
+
header: {
|
|
880
|
+
position: 'absolute',
|
|
881
|
+
top: 0,
|
|
882
|
+
left: 0,
|
|
883
|
+
right: 0,
|
|
884
|
+
backgroundColor: 'rgba(0,0,0,0.92)',
|
|
885
|
+
flexDirection: 'row',
|
|
886
|
+
alignItems: 'center',
|
|
887
|
+
justifyContent: 'space-between',
|
|
888
|
+
paddingHorizontal: 12,
|
|
889
|
+
zIndex: 30,
|
|
890
|
+
},
|
|
891
|
+
headerRow: {
|
|
892
|
+
flexDirection: 'row',
|
|
893
|
+
alignItems: 'center',
|
|
894
|
+
justifyContent: 'space-between',
|
|
895
|
+
width: '100%',
|
|
896
|
+
// Material 3 top app bar height — leaves a generous tap target for
|
|
897
|
+
// the Cancel / Upload pills without crowding the title.
|
|
898
|
+
height: 56,
|
|
899
|
+
},
|
|
900
|
+
headerSide: {
|
|
901
|
+
flexBasis: 0,
|
|
902
|
+
flexGrow: 1,
|
|
903
|
+
flexDirection: 'row',
|
|
904
|
+
alignItems: 'center',
|
|
905
|
+
},
|
|
906
|
+
headerSideRight: {
|
|
907
|
+
justifyContent: 'flex-end',
|
|
908
|
+
},
|
|
909
|
+
headerSideLeft: {
|
|
910
|
+
justifyContent: 'flex-start',
|
|
911
|
+
},
|
|
912
|
+
headerTitle: {
|
|
913
|
+
fontSize: 17,
|
|
914
|
+
fontWeight: '600',
|
|
915
|
+
color: '#FFFFFF',
|
|
916
|
+
letterSpacing: -0.2,
|
|
917
|
+
textAlign: 'center',
|
|
918
|
+
},
|
|
919
|
+
headerCancel: {
|
|
920
|
+
paddingHorizontal: 6,
|
|
921
|
+
paddingVertical: 8,
|
|
922
|
+
minHeight: 36,
|
|
923
|
+
minWidth: 44,
|
|
924
|
+
justifyContent: 'center',
|
|
925
|
+
},
|
|
926
|
+
headerCancelText: {
|
|
927
|
+
fontSize: 17,
|
|
928
|
+
fontWeight: '500',
|
|
929
|
+
color: '#FFFFFF',
|
|
930
|
+
},
|
|
931
|
+
headerPrimaryPill: {
|
|
932
|
+
flexDirection: 'row',
|
|
933
|
+
alignItems: 'center',
|
|
934
|
+
gap: 6,
|
|
935
|
+
paddingHorizontal: 14,
|
|
936
|
+
paddingVertical: 8,
|
|
937
|
+
borderRadius: 999,
|
|
938
|
+
minHeight: 36,
|
|
939
|
+
},
|
|
940
|
+
headerPrimaryPillIconOnly: {
|
|
941
|
+
paddingHorizontal: 8,
|
|
942
|
+
width: 36,
|
|
943
|
+
justifyContent: 'center',
|
|
944
|
+
},
|
|
945
|
+
headerPrimaryText: {
|
|
946
|
+
color: '#FFFFFF',
|
|
947
|
+
fontSize: 15,
|
|
948
|
+
fontWeight: '600',
|
|
949
|
+
},
|
|
950
|
+
headerProgressBarTrack: {
|
|
951
|
+
position: 'absolute',
|
|
952
|
+
left: 0,
|
|
953
|
+
right: 0,
|
|
954
|
+
bottom: 0,
|
|
955
|
+
height: 2,
|
|
956
|
+
backgroundColor: 'rgba(255,255,255,0.12)',
|
|
957
|
+
},
|
|
958
|
+
headerProgressBarFill: {
|
|
959
|
+
height: '100%',
|
|
960
|
+
},
|
|
961
|
+
grid: {
|
|
962
|
+
flex: 1,
|
|
963
|
+
},
|
|
964
|
+
gridContent: {
|
|
965
|
+
// Top inset is set dynamically (header height + safe area).
|
|
966
|
+
paddingBottom: 24,
|
|
967
|
+
},
|
|
968
|
+
cellWrapper: {
|
|
969
|
+
position: 'relative',
|
|
970
|
+
// width/height set dynamically per device
|
|
971
|
+
},
|
|
972
|
+
cellInner: {
|
|
973
|
+
flex: 1,
|
|
974
|
+
borderRadius: 8,
|
|
975
|
+
overflow: 'hidden',
|
|
976
|
+
backgroundColor: '#111111',
|
|
977
|
+
},
|
|
978
|
+
cellImage: {
|
|
979
|
+
width: '100%',
|
|
980
|
+
height: '100%',
|
|
981
|
+
},
|
|
982
|
+
cellRing: {
|
|
983
|
+
position: 'absolute',
|
|
984
|
+
top: 0,
|
|
985
|
+
left: 0,
|
|
986
|
+
right: 0,
|
|
987
|
+
bottom: 0,
|
|
988
|
+
borderRadius: 8,
|
|
989
|
+
borderWidth: 3,
|
|
990
|
+
},
|
|
991
|
+
cellDim: {
|
|
992
|
+
opacity: 0.6,
|
|
993
|
+
},
|
|
994
|
+
cellBadge: {
|
|
995
|
+
position: 'absolute',
|
|
996
|
+
top: 6,
|
|
997
|
+
right: 6,
|
|
998
|
+
minWidth: 22,
|
|
999
|
+
height: 22,
|
|
1000
|
+
paddingHorizontal: 6,
|
|
1001
|
+
borderRadius: 11,
|
|
1002
|
+
alignItems: 'center',
|
|
1003
|
+
justifyContent: 'center',
|
|
1004
|
+
},
|
|
1005
|
+
cellBadgeText: {
|
|
1006
|
+
color: '#FFFFFF',
|
|
1007
|
+
fontSize: 12,
|
|
1008
|
+
fontWeight: '700',
|
|
1009
|
+
lineHeight: 14,
|
|
1010
|
+
},
|
|
1011
|
+
empty: {
|
|
1012
|
+
flex: 1,
|
|
1013
|
+
alignItems: 'center',
|
|
1014
|
+
justifyContent: 'center',
|
|
1015
|
+
paddingHorizontal: 32,
|
|
1016
|
+
},
|
|
1017
|
+
emptyIconWrap: {
|
|
1018
|
+
opacity: 0.3,
|
|
1019
|
+
marginBottom: 16,
|
|
1020
|
+
},
|
|
1021
|
+
emptyTitle: {
|
|
1022
|
+
fontSize: 17,
|
|
1023
|
+
fontWeight: '600',
|
|
1024
|
+
textAlign: 'center',
|
|
1025
|
+
marginBottom: 6,
|
|
1026
|
+
},
|
|
1027
|
+
emptySubtitle: {
|
|
1028
|
+
fontSize: 14,
|
|
1029
|
+
fontWeight: '400',
|
|
1030
|
+
textAlign: 'center',
|
|
1031
|
+
opacity: 0.7,
|
|
1032
|
+
marginBottom: 24,
|
|
1033
|
+
},
|
|
1034
|
+
emptyCta: {
|
|
1035
|
+
flexDirection: 'row',
|
|
1036
|
+
alignItems: 'center',
|
|
1037
|
+
gap: 8,
|
|
1038
|
+
paddingHorizontal: 22,
|
|
1039
|
+
paddingVertical: 12,
|
|
1040
|
+
borderRadius: 999,
|
|
1041
|
+
},
|
|
1042
|
+
emptyCtaText: {
|
|
1043
|
+
color: '#FFFFFF',
|
|
1044
|
+
fontSize: 15,
|
|
1045
|
+
fontWeight: '600',
|
|
1046
|
+
},
|
|
1047
|
+
});
|
|
1048
|
+
|