@oxyhq/services 6.9.45 → 6.10.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 +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 +102 -38
- 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 +37 -13
- 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 +30 -23
- 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/index.js +0 -35
- package/lib/commonjs/ui/components/index.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 +28 -15
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +50 -28
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +83 -48
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +12 -11
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +38 -23
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.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 -2
- 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 +17 -19
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +131 -162
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +110 -87
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +268 -216
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +23 -23
- 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 +74 -66
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +822 -195
- 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 +58 -50
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +18 -13
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +63 -57
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +14 -11
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- 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 +185 -205
- 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 +23 -25
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +16 -17
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js +83 -60
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js +14 -31
- 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 +128 -73
- 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 +4 -6
- 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 +105 -41
- 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 +37 -13
- 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 +30 -22
- 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/index.js +0 -5
- package/lib/module/ui/components/index.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 +27 -14
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +49 -26
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +84 -48
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +12 -10
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +38 -22
- package/lib/module/ui/components/payment/PaymentSummaryStep.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 -2
- 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 +16 -17
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +117 -148
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +109 -86
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +254 -201
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +21 -21
- 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 +62 -54
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +789 -161
- 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 +56 -47
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +17 -12
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +62 -56
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +14 -11
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- 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 +182 -202
- 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 +23 -25
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +17 -18
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +75 -52
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +16 -33
- 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 +126 -71
- 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 +5 -7
- 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/index.d.ts +0 -5
- package/lib/typescript/commonjs/ui/components/index.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/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/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/bottomSheetManager.d.ts +1 -1
- package/lib/typescript/commonjs/ui/navigation/bottomSheetManager.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/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 +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/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserLinksScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -1
- package/lib/typescript/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/index.d.ts +0 -5
- package/lib/typescript/module/ui/components/index.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/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentMethodStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentReviewStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentSuccessStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/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/bottomSheetManager.d.ts +1 -1
- package/lib/typescript/module/ui/navigation/bottomSheetManager.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/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 +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/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SearchSettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserLinksScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaAboutScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaCenterScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaFAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaLeaderboardScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaRewardsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/karma/KarmaRulesScreen.d.ts.map +1 -1
- package/lib/typescript/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 +129 -49
- 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 +38 -13
- 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 +31 -24
- package/src/ui/components/fileManagement/UploadPreview.tsx +21 -25
- package/src/ui/components/fileManagement/styles.ts +206 -18
- package/src/ui/components/index.ts +0 -5
- 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 +17 -20
- package/src/ui/components/payment/PaymentMethodStep.tsx +33 -35
- package/src/ui/components/payment/PaymentReviewStep.tsx +63 -67
- package/src/ui/components/payment/PaymentSuccessStep.tsx +5 -13
- package/src/ui/components/payment/PaymentSummaryStep.tsx +26 -33
- 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 -2
- 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 +17 -16
- package/src/ui/screens/AccountOverviewScreen.tsx +98 -129
- package/src/ui/screens/AccountSettingsScreen.tsx +138 -165
- package/src/ui/screens/AccountSwitcherScreen.tsx +414 -402
- package/src/ui/screens/AccountVerificationScreen.tsx +25 -24
- 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 +64 -50
- package/src/ui/screens/FileManagementScreen.tsx +911 -158
- package/src/ui/screens/HelpSupportScreen.tsx +2 -3
- package/src/ui/screens/HistoryViewScreen.tsx +51 -17
- package/src/ui/screens/LanguageSelectorScreen.tsx +20 -10
- package/src/ui/screens/LegalDocumentsScreen.tsx +47 -64
- package/src/ui/screens/PaymentGatewayScreen.tsx +13 -14
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +51 -56
- package/src/ui/screens/PrivacySettingsScreen.tsx +97 -207
- package/src/ui/screens/ProfileScreen.tsx +1 -2
- package/src/ui/screens/SavesCollectionsScreen.tsx +25 -25
- package/src/ui/screens/SearchSettingsScreen.tsx +11 -19
- package/src/ui/screens/SessionManagementScreen.tsx +64 -50
- package/src/ui/screens/UserLinksScreen.tsx +15 -33
- package/src/ui/screens/UserListScreen.tsx +30 -19
- package/src/ui/screens/WelcomeNewUserScreen.tsx +60 -38
- 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 +5 -7
- 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/components/GroupedItem.js +0 -138
- package/lib/commonjs/ui/components/GroupedItem.js.map +0 -1
- package/lib/commonjs/ui/components/GroupedSection.js +0 -41
- package/lib/commonjs/ui/components/GroupedSection.js.map +0 -1
- package/lib/commonjs/ui/components/Section.js +0 -39
- package/lib/commonjs/ui/components/Section.js.map +0 -1
- package/lib/commonjs/ui/components/SectionTitle.js +0 -29
- package/lib/commonjs/ui/components/SectionTitle.js.map +0 -1
- package/lib/commonjs/ui/components/SettingRow.js +0 -96
- package/lib/commonjs/ui/components/SettingRow.js.map +0 -1
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +0 -208
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.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/components/GroupedItem.js +0 -135
- package/lib/module/ui/components/GroupedItem.js.map +0 -1
- package/lib/module/ui/components/GroupedSection.js +0 -37
- package/lib/module/ui/components/GroupedSection.js.map +0 -1
- package/lib/module/ui/components/Section.js +0 -34
- package/lib/module/ui/components/Section.js.map +0 -1
- package/lib/module/ui/components/SectionTitle.js +0 -25
- package/lib/module/ui/components/SectionTitle.js.map +0 -1
- package/lib/module/ui/components/SettingRow.js +0 -91
- package/lib/module/ui/components/SettingRow.js.map +0 -1
- package/lib/module/ui/components/internal/GroupedPillButtons.js +0 -204
- package/lib/module/ui/components/internal/GroupedPillButtons.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/components/GroupedItem.d.ts +0 -24
- package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/GroupedSection.d.ts +0 -30
- package/lib/typescript/commonjs/ui/components/GroupedSection.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Section.d.ts +0 -12
- package/lib/typescript/commonjs/ui/components/Section.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SectionTitle.d.ts +0 -10
- package/lib/typescript/commonjs/ui/components/SectionTitle.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/SettingRow.d.ts +0 -20
- package/lib/typescript/commonjs/ui/components/SettingRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/internal/GroupedPillButtons.d.ts +0 -24
- package/lib/typescript/commonjs/ui/components/internal/GroupedPillButtons.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/components/GroupedItem.d.ts +0 -24
- package/lib/typescript/module/ui/components/GroupedItem.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/GroupedSection.d.ts +0 -30
- package/lib/typescript/module/ui/components/GroupedSection.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Section.d.ts +0 -12
- package/lib/typescript/module/ui/components/Section.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SectionTitle.d.ts +0 -10
- package/lib/typescript/module/ui/components/SectionTitle.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/SettingRow.d.ts +0 -20
- package/lib/typescript/module/ui/components/SettingRow.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/internal/GroupedPillButtons.d.ts +0 -24
- package/lib/typescript/module/ui/components/internal/GroupedPillButtons.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/components/GroupedItem.tsx +0 -161
- package/src/ui/components/GroupedSection.tsx +0 -60
- package/src/ui/components/Section.tsx +0 -42
- package/src/ui/components/SectionTitle.tsx +0 -27
- package/src/ui/components/SettingRow.tsx +0 -105
- package/src/ui/components/internal/GroupedPillButtons.tsx +0 -253
- package/src/ui/hooks/useThemeColors.ts +0 -27
- package/src/ui/hooks/useThemeStyles.ts +0 -50
- package/src/ui/styles/fonts.ts +0 -77
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
import { useMemo, useState, useEffect } from 'react';
|
|
4
4
|
import { View, Text, TouchableOpacity, ScrollView, ActivityIndicator, Image } from 'react-native';
|
|
5
5
|
import { Image as ExpoImage } from 'expo-image';
|
|
6
|
-
// @ts-ignore - MaterialCommunityIcons is available at runtime
|
|
7
6
|
import { MaterialCommunityIcons } from '@expo/vector-icons';
|
|
8
7
|
import { useTheme } from '@oxyhq/bloom/theme';
|
|
9
8
|
import { formatFileSize } from "../../utils/fileManagement.js";
|
|
10
9
|
import { fileManagementStyles } from "./styles.js";
|
|
11
10
|
import { Colors } from "../../constants/theme.js";
|
|
12
|
-
import {
|
|
11
|
+
import { SettingsListGroup, SettingsListItem } from '@oxyhq/bloom/settings-list';
|
|
13
12
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
13
|
export const FileViewer = ({
|
|
15
14
|
file,
|
|
@@ -93,44 +92,44 @@ export const FileViewer = ({
|
|
|
93
92
|
const fileDetailItems = useMemo(() => {
|
|
94
93
|
const items = [{
|
|
95
94
|
id: 'filename',
|
|
96
|
-
|
|
95
|
+
iconName: 'file-document',
|
|
97
96
|
iconColor: constantColors.iconSecurity,
|
|
98
97
|
title: 'File Name',
|
|
99
|
-
|
|
98
|
+
description: file.filename
|
|
100
99
|
}, {
|
|
101
100
|
id: 'size',
|
|
102
|
-
|
|
101
|
+
iconName: 'server',
|
|
103
102
|
iconColor: constantColors.iconStorage,
|
|
104
103
|
title: 'Size',
|
|
105
|
-
|
|
104
|
+
description: formatFileSize(file.length)
|
|
106
105
|
}, {
|
|
107
106
|
id: 'type',
|
|
108
|
-
|
|
107
|
+
iconName: 'code-tags',
|
|
109
108
|
iconColor: constantColors.iconData,
|
|
110
109
|
title: 'Type',
|
|
111
|
-
|
|
110
|
+
description: file.contentType
|
|
112
111
|
}, {
|
|
113
112
|
id: 'uploaded',
|
|
114
|
-
|
|
113
|
+
iconName: 'clock',
|
|
115
114
|
iconColor: constantColors.iconPersonalInfo,
|
|
116
115
|
title: 'Uploaded',
|
|
117
|
-
|
|
116
|
+
description: new Date(file.uploadDate).toLocaleString()
|
|
118
117
|
}];
|
|
119
118
|
if (file.metadata?.description) {
|
|
120
119
|
items.push({
|
|
121
120
|
id: 'description',
|
|
122
|
-
|
|
121
|
+
iconName: 'text',
|
|
123
122
|
iconColor: constantColors.iconData,
|
|
124
123
|
title: 'Description',
|
|
125
|
-
|
|
124
|
+
description: file.metadata.description
|
|
126
125
|
});
|
|
127
126
|
}
|
|
128
127
|
items.push({
|
|
129
128
|
id: 'fileId',
|
|
130
|
-
|
|
129
|
+
iconName: 'key',
|
|
131
130
|
iconColor: constantColors.iconSecurity,
|
|
132
131
|
title: 'File ID',
|
|
133
|
-
|
|
132
|
+
description: file.id
|
|
134
133
|
});
|
|
135
134
|
return items;
|
|
136
135
|
}, [file, constantColors]);
|
|
@@ -151,7 +150,7 @@ export const FileViewer = ({
|
|
|
151
150
|
cachePolicy: "memory-disk"
|
|
152
151
|
}), /*#__PURE__*/_jsx(View, {
|
|
153
152
|
style: [fileManagementStyles.backgroundOverlay, {
|
|
154
|
-
backgroundColor:
|
|
153
|
+
backgroundColor: colors.overlay
|
|
155
154
|
}]
|
|
156
155
|
})]
|
|
157
156
|
}), /*#__PURE__*/_jsx(TouchableOpacity, {
|
|
@@ -250,7 +249,7 @@ export const FileViewer = ({
|
|
|
250
249
|
children: [/*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
251
250
|
name: "download",
|
|
252
251
|
size: 18,
|
|
253
|
-
color:
|
|
252
|
+
color: colors.negativeForeground
|
|
254
253
|
}), /*#__PURE__*/_jsx(Text, {
|
|
255
254
|
style: fileManagementStyles.downloadButtonText,
|
|
256
255
|
children: "Download PDF"
|
|
@@ -277,7 +276,7 @@ export const FileViewer = ({
|
|
|
277
276
|
children: [/*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
278
277
|
name: "download",
|
|
279
278
|
size: 18,
|
|
280
|
-
color:
|
|
279
|
+
color: colors.negativeForeground
|
|
281
280
|
}), /*#__PURE__*/_jsx(Text, {
|
|
282
281
|
style: fileManagementStyles.downloadButtonText,
|
|
283
282
|
children: "Download Video"
|
|
@@ -304,7 +303,7 @@ export const FileViewer = ({
|
|
|
304
303
|
children: [/*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
305
304
|
name: "download",
|
|
306
305
|
size: 18,
|
|
307
|
-
color:
|
|
306
|
+
color: colors.negativeForeground
|
|
308
307
|
}), /*#__PURE__*/_jsx(Text, {
|
|
309
308
|
style: fileManagementStyles.downloadButtonText,
|
|
310
309
|
children: "Download Audio"
|
|
@@ -331,7 +330,7 @@ export const FileViewer = ({
|
|
|
331
330
|
children: [/*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
332
331
|
name: "download",
|
|
333
332
|
size: 18,
|
|
334
|
-
color:
|
|
333
|
+
color: colors.negativeForeground
|
|
335
334
|
}), /*#__PURE__*/_jsx(Text, {
|
|
336
335
|
style: fileManagementStyles.downloadButtonText,
|
|
337
336
|
children: "Download File"
|
|
@@ -359,8 +358,17 @@ export const FileViewer = ({
|
|
|
359
358
|
}), showFileDetailsInViewer && /*#__PURE__*/_jsxs(_Fragment, {
|
|
360
359
|
children: [/*#__PURE__*/_jsx(View, {
|
|
361
360
|
style: fileManagementStyles.fileDetailsSectionContent,
|
|
362
|
-
children: /*#__PURE__*/_jsx(
|
|
363
|
-
|
|
361
|
+
children: /*#__PURE__*/_jsx(SettingsListGroup, {
|
|
362
|
+
children: fileDetailItems.map(item => /*#__PURE__*/_jsx(SettingsListItem, {
|
|
363
|
+
icon: /*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
364
|
+
name: item.iconName,
|
|
365
|
+
size: 20,
|
|
366
|
+
color: item.iconColor
|
|
367
|
+
}),
|
|
368
|
+
title: item.title,
|
|
369
|
+
description: item.description,
|
|
370
|
+
showChevron: false
|
|
371
|
+
}, item.id))
|
|
364
372
|
})
|
|
365
373
|
}), isOwner && /*#__PURE__*/_jsx(View, {
|
|
366
374
|
style: fileManagementStyles.fileDetailsActions,
|
|
@@ -374,7 +382,7 @@ export const FileViewer = ({
|
|
|
374
382
|
children: [/*#__PURE__*/_jsx(MaterialCommunityIcons, {
|
|
375
383
|
name: "delete",
|
|
376
384
|
size: 16,
|
|
377
|
-
color:
|
|
385
|
+
color: colors.negativeForeground
|
|
378
386
|
}), /*#__PURE__*/_jsx(Text, {
|
|
379
387
|
style: fileManagementStyles.fileDetailsActionText,
|
|
380
388
|
children: "Delete"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useMemo","useState","useEffect","View","Text","TouchableOpacity","ScrollView","ActivityIndicator","Image","ExpoImage","MaterialCommunityIcons","useTheme","formatFileSize","fileManagementStyles","Colors","GroupedSection","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","FileViewer","file","fileContent","loadingFileContent","showFileDetailsInViewer","onToggleDetails","onClose","onDownload","onDelete","isOwner","colors","isDark","constantColors","isImage","contentType","startsWith","isText","includes","isPDF","isVideo","isAudio","bgColor","undefined","containerWidth","setContainerWidth","imageDimensions","setImageDimensions","getSize","width","height","imageDisplaySize","maxWidth","maxHeight","aspectRatio","displayWidth","displayHeight","fileDetailItems","items","id","icon","iconColor","iconSecurity","title","subtitle","filename","iconStorage","length","iconData","iconPersonalInfo","Date","uploadDate","toLocaleString","metadata","description","push","className","style","fileViewerContainer","backgroundColor","children","source","uri","backgroundImage","contentFit","blurRadius","transition","cachePolicy","backgroundOverlay","floatingBackButton","onPress","name","size","color","text","floatingDownloadButton","primary","fileViewerContent","contentContainerStyle","fileViewerContentContainer","fileViewerLoading","fileViewerLoadingText","imageContainer","onLayout","e","nativeEvent","layout","imageWrapper","onError","accessibilityLabel","textContainer","flex","nestedScrollEnabled","textContent","unsupportedFileContainer","textSecondary","unsupportedFileTitle","unsupportedFileDescription","downloadButtonLarge","downloadButtonText","fileDetailsSection","fileDetailsSectionHeader","fileDetailsSectionTitle","fileDetailsSectionToggle","fileDetailsSectionContent","fileDetailsActions","fileDetailsActionButton","fileDetailsActionText"],"sourceRoot":"../../../../../src","sources":["ui/components/fileManagement/FileViewer.tsx"],"mappings":";;AACA,SAASA,OAAO,EAAEC,QAAQ,EAAEC,SAAS,QAAQ,OAAO;AACpD,SAASC,IAAI,EAAEC,IAAI,EAAEC,gBAAgB,EAAEC,UAAU,EAAEC,iBAAiB,EAAEC,KAAK,QAAQ,cAAc;AACjG,SAASA,KAAK,IAAIC,SAAS,QAAQ,YAAY;AAC/C;AACA,SAASC,sBAAsB,QAAQ,oBAAoB;AAC3D,SAASC,QAAQ,QAAQ,oBAAoB;AAE7C,SAASC,cAAc,QAAQ,+BAA4B;AAC3D,SAASC,oBAAoB,QAAQ,aAAU;AAC/C,SAASC,MAAM,QAAQ,0BAAuB;AAC9C,SAASC,cAAc,QAAQ,sBAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,QAAA,IAAAC,SAAA,EAAAC,IAAA,IAAAC,KAAA;AAgBnD,OAAO,MAAMC,UAAqC,GAAGA,CAAC;EAClDC,IAAI;EACJC,WAAW;EACXC,kBAAkB;EAClBC,uBAAuB;EACvBC,eAAe;EACfC,OAA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cAACC,IAAI,EAAE,EAAG;cAACC,KAAK,EAAC;YAAS,CAAE,CAAC,eAClE7E,IAAA,CAACb,IAAI;cAAC0E,KAAK,EAAEjE,oBAAoB,CAACmH,qBAAsB;cAAA/C,QAAA,EAAC;YAAM,CAAM,CAAC;UAAA,CACxD;QAAC,CACjB,CACT;MAAA,CACH,CACL;IAAA,CACC,CAAC;EAAA,CACL,CAAC;AAEf,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["useMemo","useState","useEffect","View","Text","TouchableOpacity","ScrollView","ActivityIndicator","Image","ExpoImage","MaterialCommunityIcons","useTheme","formatFileSize","fileManagementStyles","Colors","SettingsListGroup","SettingsListItem","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","FileViewer","file","fileContent","loadingFileContent","showFileDetailsInViewer","onToggleDetails","onClose","onDownload","onDelete","isOwner","colors","isDark","constantColors","isImage","contentType","startsWith","isText","includes","isPDF","isVideo","isAudio","bgColor","undefined","containerWidth","setContainerWidth","imageDimensions","setImageDimensions","getSize","width","height","imageDisplaySize","maxWidth","maxHeight","aspectRatio","displayWidth","displayHeight","fileDetailItems","items","id","iconName","iconColor","iconSecurity","title","description","filename","iconStorage","length","iconData","iconPersonalInfo","Date","uploadDate","toLocaleString","metadata","push","className","style","fileViewerContainer","backgroundColor","children","source","uri","backgroundImage","contentFit","blurRadius","transition","cachePolicy","backgroundOverlay","overlay","floatingBackButton","onPress","name","size","color","text","floatingDownloadButton","primary","fileViewerContent","contentContainerStyle","fileViewerContentContainer","fileViewerLoading","fileViewerLoadingText","imageContainer","onLayout","e","nativeEvent","layout","imageWrapper","onError","accessibilityLabel","textContainer","flex","nestedScrollEnabled","textContent","unsupportedFileContainer","textSecondary","unsupportedFileTitle","unsupportedFileDescription","downloadButtonLarge","negativeForeground","downloadButtonText","fileDetailsSection","fileDetailsSectionHeader","fileDetailsSectionTitle","fileDetailsSectionToggle","fileDetailsSectionContent","map","item","icon","showChevron","fileDetailsActions","fileDetailsActionBut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FvG,IAAA,CAACd,IAAI;cAAC0E,KAAK,EAAEjE,oBAAoB,CAACyH,qBAAsB;cAAArD,QAAA,EAAC;YAAM,CAAM,CAAC;UAAA,CACxD;QAAC,CACjB,CACT;MAAA,CACH,CACL;IAAA,CACC,CAAC;EAAA,CACL,CAAC;AAEf,CAAC","ignoreList":[]}
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
import { View, Text, TouchableOpacity, ScrollView } from 'react-native';
|
|
4
4
|
import { Image as ExpoImage } from 'expo-image';
|
|
5
5
|
import { Ionicons } from '@expo/vector-icons';
|
|
6
|
-
import
|
|
7
|
-
import * as Prompt from '@oxyhq/bloom/prompt';
|
|
6
|
+
import { Dialog } from '@oxyhq/bloom';
|
|
8
7
|
import { useTheme } from '@oxyhq/bloom/theme';
|
|
9
8
|
import { formatFileSize, getFileIcon } from "../../utils/fileManagement.js";
|
|
10
9
|
import { fileManagementStyles } from "./styles.js";
|
|
@@ -119,7 +118,7 @@ const UploadPreviewContent = ({
|
|
|
119
118
|
children: [/*#__PURE__*/_jsx(Ionicons, {
|
|
120
119
|
name: "cloud-upload",
|
|
121
120
|
size: 20,
|
|
122
|
-
color:
|
|
121
|
+
color: colors.negativeForeground
|
|
123
122
|
}), /*#__PURE__*/_jsx(Text, {
|
|
124
123
|
style: fileManagementStyles.uploadPreviewConfirmText,
|
|
125
124
|
children: "Upload"
|
|
@@ -149,27 +148,24 @@ export const UploadPreview = ({
|
|
|
149
148
|
|
|
150
149
|
// Dialog mode: requires control prop
|
|
151
150
|
if (!control) return null;
|
|
152
|
-
return /*#__PURE__*/
|
|
151
|
+
return /*#__PURE__*/_jsx(Dialog, {
|
|
153
152
|
control: control,
|
|
154
153
|
onClose: onCancel,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
})]
|
|
171
|
-
})]
|
|
172
|
-
})]
|
|
154
|
+
label: "Review Files",
|
|
155
|
+
actions: [{
|
|
156
|
+
label: 'Upload',
|
|
157
|
+
onPress: onConfirm
|
|
158
|
+
}, {
|
|
159
|
+
label: 'Cancel',
|
|
160
|
+
color: 'cancel'
|
|
161
|
+
}],
|
|
162
|
+
children: /*#__PURE__*/_jsx(UploadPreviewContent, {
|
|
163
|
+
pendingFiles: pendingFiles,
|
|
164
|
+
onConfirm: onConfirm,
|
|
165
|
+
onCancel: onCancel,
|
|
166
|
+
onRemoveFile: onRemoveFile,
|
|
167
|
+
showActions: false
|
|
168
|
+
})
|
|
173
169
|
});
|
|
174
170
|
};
|
|
175
171
|
//# sourceMappingURL=UploadPreview.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["View","Text","TouchableOpacity","ScrollView","Image","ExpoImage","Ionicons","Dialog","
|
|
1
|
+
{"version":3,"names":["View","Text","TouchableOpacity","ScrollView","Image","ExpoImage","Ionicons","Dialog","useTheme","formatFileSize","getFileIcon","fileManagementStyles","jsxs","_jsxs","jsx","_jsx","UploadPreviewContent","pendingFiles","onConfirm","onCancel","onRemoveFile","showActions","colors","isDark","totalSize","reduce","sum","f","size","style","uploadPreviewContainer","backgroundColor","background","children","className","uploadPreviewHeader","uploadPreviewTitle","length","onPress","name","color","text","uploadPreviewList","map","pendingFile","index","isImage","type","startsWith","uploadPreviewItem","preview","source","uri","uploadPreviewThumbnail","contentFit","uploadPreviewIconContainer","backgroundSecondary","primary","uploadPreviewInfo","uploadPreviewName","numberOfLines","uploadPreviewMeta","uploadPreviewRemove","error","uploadPreviewFooter","uploadPreviewStats","uploadPreviewStatsText","uploadPreviewActions","uploadPreviewCancelButton","uploadPreviewCancelText","uploadPreviewConfirmButton","negativeForeground","uploadPreviewConfirmText","UploadPreview","control","inline","onClose","label","actions"],"sourceRoot":"../../../../../src","sources":["ui/components/fileManagement/Upload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A;IAAa,CAC9B,CAAC;EAEV;;EAEA;EACA,IAAI,CAACsD,OAAO,EAAE,OAAO,IAAI;EAEzB,oBACI3D,IAAA,CAACR,MAAM;IACHmE,OAAO,EAAEA,OAAQ;IACjBE,OAAO,EAAEzD,QAAS;IAClB0D,KAAK,EAAC,cAAc;IACpBC,OAAO,EAAE,CACL;MAAED,KAAK,EAAE,QAAQ;MAAEvC,OAAO,EAAEpB;IAAU,CAAC,EACvC;MAAE2D,KAAK,EAAE,QAAQ;MAAErC,KAAK,EAAE;IAAS,CAAC,CACtC;IAAAP,QAAA,eAEFlB,IAAA,CAACC,oBAAoB;MACjBC,YAAY,EAAEA,YAAa;MAC3BC,SAAS,EAAEA,SAAU;MACrBC,QAAQ,EAAEA,QAAS;MACnBC,YAAY,EAAEA,YAAa;MAC3BC,WAAW,EAAE;IAAM,CACtB;EAAC,CACE,CAAC;AAEjB,CAAC","ignoreList":[]}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { StyleSheet } from 'react-native';
|
|
4
|
-
import { fontFamilies } from "../../styles/fonts.js";
|
|
5
4
|
export const fileManagementStyles = StyleSheet.create({
|
|
6
5
|
container: {
|
|
7
6
|
flex: 1
|
|
@@ -51,14 +50,12 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
51
50
|
headerTitle: {
|
|
52
51
|
fontSize: 22,
|
|
53
52
|
fontWeight: '700',
|
|
54
|
-
fontFamily: fontFamilies.interBold,
|
|
55
53
|
letterSpacing: -0.5,
|
|
56
54
|
lineHeight: 28
|
|
57
55
|
},
|
|
58
56
|
headerSubtitle: {
|
|
59
57
|
fontSize: 13,
|
|
60
58
|
fontWeight: '500',
|
|
61
|
-
fontFamily: fontFamilies.interMedium,
|
|
62
59
|
marginTop: 2,
|
|
63
60
|
letterSpacing: 0.2
|
|
64
61
|
},
|
|
@@ -69,6 +66,25 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
69
66
|
alignItems: 'center',
|
|
70
67
|
justifyContent: 'center'
|
|
71
68
|
},
|
|
69
|
+
/**
|
|
70
|
+
* Expanded variant of the upload button shown in image-only picker mode,
|
|
71
|
+
* where surfacing "Upload" prominently helps users when they have no files.
|
|
72
|
+
*/
|
|
73
|
+
uploadButtonExtended: {
|
|
74
|
+
width: 'auto',
|
|
75
|
+
minWidth: 44,
|
|
76
|
+
paddingHorizontal: 14
|
|
77
|
+
},
|
|
78
|
+
uploadButtonContent: {
|
|
79
|
+
flexDirection: 'row',
|
|
80
|
+
alignItems: 'center',
|
|
81
|
+
gap: 6
|
|
82
|
+
},
|
|
83
|
+
uploadButtonLabel: {
|
|
84
|
+
color: '#FFFFFF',
|
|
85
|
+
fontSize: 14,
|
|
86
|
+
fontWeight: '600'
|
|
87
|
+
},
|
|
72
88
|
uploadProgress: {
|
|
73
89
|
alignItems: 'center',
|
|
74
90
|
justifyContent: 'center'
|
|
@@ -137,7 +153,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
137
153
|
searchInput: {
|
|
138
154
|
flex: 1,
|
|
139
155
|
fontSize: 16,
|
|
140
|
-
fontFamily: fontFamilies.inter,
|
|
141
156
|
lineHeight: 20
|
|
142
157
|
},
|
|
143
158
|
searchClearButton: {
|
|
@@ -163,14 +178,12 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
163
178
|
statValue: {
|
|
164
179
|
fontSize: 20,
|
|
165
180
|
fontWeight: '800',
|
|
166
|
-
fontFamily: fontFamilies.interBold,
|
|
167
181
|
letterSpacing: -0.5,
|
|
168
182
|
lineHeight: 24
|
|
169
183
|
},
|
|
170
184
|
statLabel: {
|
|
171
185
|
fontSize: 12,
|
|
172
186
|
fontWeight: '500',
|
|
173
|
-
fontFamily: fontFamilies.interMedium,
|
|
174
187
|
marginTop: 2,
|
|
175
188
|
letterSpacing: 0.2
|
|
176
189
|
},
|
|
@@ -326,7 +339,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
326
339
|
emptyStateTitle: {
|
|
327
340
|
fontSize: 24,
|
|
328
341
|
fontWeight: 'bold',
|
|
329
|
-
fontFamily: fontFamilies.interBold,
|
|
330
342
|
marginTop: 16,
|
|
331
343
|
marginBottom: 8
|
|
332
344
|
},
|
|
@@ -365,8 +377,7 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
365
377
|
},
|
|
366
378
|
modalTitle: {
|
|
367
379
|
fontSize: 18,
|
|
368
|
-
fontWeight: '600'
|
|
369
|
-
fontFamily: fontFamilies.interSemiBold
|
|
380
|
+
fontWeight: '600'
|
|
370
381
|
},
|
|
371
382
|
modalPlaceholder: {
|
|
372
383
|
width: 40
|
|
@@ -387,7 +398,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
387
398
|
fileDetailName: {
|
|
388
399
|
fontSize: 20,
|
|
389
400
|
fontWeight: 'bold',
|
|
390
|
-
fontFamily: fontFamilies.interBold,
|
|
391
401
|
textAlign: 'center',
|
|
392
402
|
marginBottom: 24
|
|
393
403
|
},
|
|
@@ -445,8 +455,7 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
445
455
|
},
|
|
446
456
|
uploadPreviewTitle: {
|
|
447
457
|
fontSize: 20,
|
|
448
|
-
fontWeight: '700'
|
|
449
|
-
fontFamily: fontFamilies.interBold
|
|
458
|
+
fontWeight: '700'
|
|
450
459
|
},
|
|
451
460
|
uploadPreviewList: {
|
|
452
461
|
flex: 1,
|
|
@@ -480,12 +489,10 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
480
489
|
uploadPreviewName: {
|
|
481
490
|
fontSize: 16,
|
|
482
491
|
fontWeight: '600',
|
|
483
|
-
fontFamily: fontFamilies.interSemiBold,
|
|
484
492
|
marginBottom: 4
|
|
485
493
|
},
|
|
486
494
|
uploadPreviewMeta: {
|
|
487
|
-
fontSize: 13
|
|
488
|
-
fontFamily: fontFamilies.inter
|
|
495
|
+
fontSize: 13
|
|
489
496
|
},
|
|
490
497
|
uploadPreviewRemove: {
|
|
491
498
|
padding: 4
|
|
@@ -501,8 +508,7 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
501
508
|
},
|
|
502
509
|
uploadPreviewStatsText: {
|
|
503
510
|
fontSize: 15,
|
|
504
|
-
fontWeight: '600'
|
|
505
|
-
fontFamily: fontFamilies.interSemiBold
|
|
511
|
+
fontWeight: '600'
|
|
506
512
|
},
|
|
507
513
|
uploadPreviewActions: {
|
|
508
514
|
flexDirection: 'row',
|
|
@@ -518,8 +524,7 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
518
524
|
},
|
|
519
525
|
uploadPreviewCancelText: {
|
|
520
526
|
fontSize: 16,
|
|
521
|
-
fontWeight: '600'
|
|
522
|
-
fontFamily: fontFamilies.interSemiBold
|
|
527
|
+
fontWeight: '600'
|
|
523
528
|
},
|
|
524
529
|
uploadPreviewConfirmButton: {
|
|
525
530
|
flex: 2,
|
|
@@ -533,8 +538,7 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
533
538
|
uploadPreviewConfirmText: {
|
|
534
539
|
color: '#FFFFFF',
|
|
535
540
|
fontSize: 16,
|
|
536
|
-
fontWeight: '600'
|
|
537
|
-
fontFamily: fontFamilies.interSemiBold
|
|
541
|
+
fontWeight: '600'
|
|
538
542
|
},
|
|
539
543
|
fileViewerContainer: {
|
|
540
544
|
flex: 1,
|
|
@@ -574,7 +578,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
574
578
|
fileViewerTitle: {
|
|
575
579
|
fontSize: 18,
|
|
576
580
|
fontWeight: '600',
|
|
577
|
-
fontFamily: fontFamilies.interSemiBold,
|
|
578
581
|
marginBottom: 2
|
|
579
582
|
},
|
|
580
583
|
fileViewerSubtitle: {
|
|
@@ -665,7 +668,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
665
668
|
unsupportedFileTitle: {
|
|
666
669
|
fontSize: 24,
|
|
667
670
|
fontWeight: 'bold',
|
|
668
|
-
fontFamily: fontFamilies.interBold,
|
|
669
671
|
marginTop: 16,
|
|
670
672
|
marginBottom: 8,
|
|
671
673
|
textAlign: 'center'
|
|
@@ -723,7 +725,6 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
723
725
|
fileDetailsSectionTitle: {
|
|
724
726
|
fontSize: 18,
|
|
725
727
|
fontWeight: '600',
|
|
726
|
-
fontFamily: fontFamilies.interSemiBold,
|
|
727
728
|
flex: 1
|
|
728
729
|
},
|
|
729
730
|
fileDetailsSectionHeader: {
|
|
@@ -861,4 +862,191 @@ export const fileManagementStyles = StyleSheet.create({
|
|
|
861
862
|
borderRadius: 8
|
|
862
863
|
}
|
|
863
864
|
});
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* Styles for the dedicated photo picker view used when `selectMode + image-only`
|
|
868
|
+
* is active (e.g. the avatar picker context). This view is intentionally
|
|
869
|
+
* flagship-grade: black backdrop, translucent header, edge-to-edge grid.
|
|
870
|
+
*
|
|
871
|
+
* Kept in a separate StyleSheet so the rest of `fileManagementStyles` does not
|
|
872
|
+
* carry a black-background bias when used elsewhere.
|
|
873
|
+
*/
|
|
874
|
+
export const photoPickerStyles = StyleSheet.create({
|
|
875
|
+
root: {
|
|
876
|
+
flex: 1,
|
|
877
|
+
backgroundColor: '#000000'
|
|
878
|
+
},
|
|
879
|
+
headerSpacer: {
|
|
880
|
+
// Reserved for the absolute header so content does not sit underneath it.
|
|
881
|
+
backgroundColor: '#000000'
|
|
882
|
+
},
|
|
883
|
+
header: {
|
|
884
|
+
position: 'absolute',
|
|
885
|
+
top: 0,
|
|
886
|
+
left: 0,
|
|
887
|
+
right: 0,
|
|
888
|
+
backgroundColor: 'rgba(0,0,0,0.92)',
|
|
889
|
+
flexDirection: 'row',
|
|
890
|
+
alignItems: 'center',
|
|
891
|
+
justifyContent: 'space-between',
|
|
892
|
+
paddingHorizontal: 12,
|
|
893
|
+
zIndex: 30
|
|
894
|
+
},
|
|
895
|
+
headerRow: {
|
|
896
|
+
flexDirection: 'row',
|
|
897
|
+
alignItems: 'center',
|
|
898
|
+
justifyContent: 'space-between',
|
|
899
|
+
width: '100%',
|
|
900
|
+
// Material 3 top app bar height — leaves a generous tap target for
|
|
901
|
+
// the Cancel / Upload pills without crowding the title.
|
|
902
|
+
height: 56
|
|
903
|
+
},
|
|
904
|
+
headerSide: {
|
|
905
|
+
flexBasis: 0,
|
|
906
|
+
flexGrow: 1,
|
|
907
|
+
flexDirection: 'row',
|
|
908
|
+
alignItems: 'center'
|
|
909
|
+
},
|
|
910
|
+
headerSideRight: {
|
|
911
|
+
justifyContent: 'flex-end'
|
|
912
|
+
},
|
|
913
|
+
headerSideLeft: {
|
|
914
|
+
justifyContent: 'flex-start'
|
|
915
|
+
},
|
|
916
|
+
headerTitle: {
|
|
917
|
+
fontSize: 17,
|
|
918
|
+
fontWeight: '600',
|
|
919
|
+
color: '#FFFFFF',
|
|
920
|
+
letterSpacing: -0.2,
|
|
921
|
+
textAlign: 'center'
|
|
922
|
+
},
|
|
923
|
+
headerCancel: {
|
|
924
|
+
paddingHorizontal: 6,
|
|
925
|
+
paddingVertical: 8,
|
|
926
|
+
minHeight: 36,
|
|
927
|
+
minWidth: 44,
|
|
928
|
+
justifyContent: 'center'
|
|
929
|
+
},
|
|
930
|
+
headerCancelText: {
|
|
931
|
+
fontSize: 17,
|
|
932
|
+
fontWeight: '500',
|
|
933
|
+
color: '#FFFFFF'
|
|
934
|
+
},
|
|
935
|
+
headerPrimaryPill: {
|
|
936
|
+
flexDirection: 'row',
|
|
937
|
+
alignItems: 'center',
|
|
938
|
+
gap: 6,
|
|
939
|
+
paddingHorizontal: 14,
|
|
940
|
+
paddingVertical: 8,
|
|
941
|
+
borderRadius: 999,
|
|
942
|
+
minHeight: 36
|
|
943
|
+
},
|
|
944
|
+
headerPrimaryPillIconOnly: {
|
|
945
|
+
paddingHorizontal: 8,
|
|
946
|
+
width: 36,
|
|
947
|
+
justifyContent: 'center'
|
|
948
|
+
},
|
|
949
|
+
headerPrimaryText: {
|
|
950
|
+
color: '#FFFFFF',
|
|
951
|
+
fontSize: 15,
|
|
952
|
+
fontWeight: '600'
|
|
953
|
+
},
|
|
954
|
+
headerProgressBarTrack: {
|
|
955
|
+
position: 'absolute',
|
|
956
|
+
left: 0,
|
|
957
|
+
right: 0,
|
|
958
|
+
bottom: 0,
|
|
959
|
+
height: 2,
|
|
960
|
+
backgroundColor: 'rgba(255,255,255,0.12)'
|
|
961
|
+
},
|
|
962
|
+
headerProgressBarFill: {
|
|
963
|
+
height: '100%'
|
|
964
|
+
},
|
|
965
|
+
grid: {
|
|
966
|
+
flex: 1
|
|
967
|
+
},
|
|
968
|
+
gridContent: {
|
|
969
|
+
// Top inset is set dynamically (header height + safe area).
|
|
970
|
+
paddingBottom: 24
|
|
971
|
+
},
|
|
972
|
+
cellWrapper: {
|
|
973
|
+
position: 'relative'
|
|
974
|
+
// width/height set dynamically per device
|
|
975
|
+
},
|
|
976
|
+
cellInner: {
|
|
977
|
+
flex: 1,
|
|
978
|
+
borderRadius: 8,
|
|
979
|
+
overflow: 'hidden',
|
|
980
|
+
backgroundColor: '#111111'
|
|
981
|
+
},
|
|
982
|
+
cellImage: {
|
|
983
|
+
width: '100%',
|
|
984
|
+
height: '100%'
|
|
985
|
+
},
|
|
986
|
+
cellRing: {
|
|
987
|
+
position: 'absolute',
|
|
988
|
+
top: 0,
|
|
989
|
+
left: 0,
|
|
990
|
+
right: 0,
|
|
991
|
+
bottom: 0,
|
|
992
|
+
borderRadius: 8,
|
|
993
|
+
borderWidth: 3
|
|
994
|
+
},
|
|
995
|
+
cellDim: {
|
|
996
|
+
opacity: 0.6
|
|
997
|
+
},
|
|
998
|
+
cellBadge: {
|
|
999
|
+
position: 'absolute',
|
|
1000
|
+
top: 6,
|
|
1001
|
+
right: 6,
|
|
1002
|
+
minWidth: 22,
|
|
1003
|
+
height: 22,
|
|
1004
|
+
paddingHorizontal: 6,
|
|
1005
|
+
borderRadius: 11,
|
|
1006
|
+
alignItems: 'center',
|
|
1007
|
+
justifyContent: 'center'
|
|
1008
|
+
},
|
|
1009
|
+
cellBadgeText: {
|
|
1010
|
+
color: '#FFFFFF',
|
|
1011
|
+
fontSize: 12,
|
|
1012
|
+
fontWeight: '700',
|
|
1013
|
+
lineHeight: 14
|
|
1014
|
+
},
|
|
1015
|
+
empty: {
|
|
1016
|
+
flex: 1,
|
|
1017
|
+
alignItems: 'center',
|
|
1018
|
+
justifyContent: 'center',
|
|
1019
|
+
paddingHorizontal: 32
|
|
1020
|
+
},
|
|
1021
|
+
emptyIconWrap: {
|
|
1022
|
+
opacity: 0.3,
|
|
1023
|
+
marginBottom: 16
|
|
1024
|
+
},
|
|
1025
|
+
emptyTitle: {
|
|
1026
|
+
fontSize: 17,
|
|
1027
|
+
fontWeight: '600',
|
|
1028
|
+
textAlign: 'center',
|
|
1029
|
+
marginBottom: 6
|
|
1030
|
+
},
|
|
1031
|
+
emptySubtitle: {
|
|
1032
|
+
fontSize: 14,
|
|
1033
|
+
fontWeight: '400',
|
|
1034
|
+
textAlign: 'center',
|
|
1035
|
+
opacity: 0.7,
|
|
1036
|
+
marginBottom: 24
|
|
1037
|
+
},
|
|
1038
|
+
emptyCta: {
|
|
1039
|
+
flexDirection: 'row',
|
|
1040
|
+
alignItems: 'center',
|
|
1041
|
+
gap: 8,
|
|
1042
|
+
paddingHorizontal: 22,
|
|
1043
|
+
paddingVertical: 12,
|
|
1044
|
+
borderRadius: 999
|
|
1045
|
+
},
|
|
1046
|
+
emptyCtaText: {
|
|
1047
|
+
color: '#FFFFFF',
|
|
1048
|
+
fontSize: 15,
|
|
1049
|
+
fontWeight: '600'
|
|
1050
|
+
}
|
|
1051
|
+
});
|
|
864
1052
|
//# sourceMappingURL=styles.js.map
|