@oxyhq/services 6.9.0 → 6.9.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/ui/components/ActivityIndicator.js +4 -4
- package/lib/commonjs/ui/components/ActivityIndicator.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheet.js +6 -6
- package/lib/commonjs/ui/components/BottomSheet.js.map +1 -1
- package/lib/commonjs/ui/components/BottomSheetRouter.js +70 -3
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/commonjs/ui/components/CrossFadeIcon.js +1 -1
- package/lib/commonjs/ui/components/CrossFadeIcon.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/FontLoader.js +1 -1
- package/lib/commonjs/ui/components/FontLoader.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedItem.js +1 -4
- package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedSection.js +1 -2
- package/lib/commonjs/ui/components/GroupedSection.js.map +1 -1
- package/lib/commonjs/ui/components/Header.js.map +1 -1
- package/lib/commonjs/ui/components/HelperText.js +2 -2
- package/lib/commonjs/ui/components/HelperText.js.map +1 -1
- package/lib/commonjs/ui/components/Icon.js +5 -5
- package/lib/commonjs/ui/components/Icon.js.map +1 -1
- package/lib/commonjs/ui/components/IconButton/IconButton.js +0 -2
- package/lib/commonjs/ui/components/IconButton/IconButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +17 -11
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/SignInModal.js +1 -1
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +6 -8
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js +3 -3
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/helpers.js +2 -3
- package/lib/commonjs/ui/components/TextField/helpers.js.map +1 -1
- package/lib/commonjs/ui/components/TextField.js +6 -9
- package/lib/commonjs/ui/components/TextField.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js +3 -3
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
- package/lib/commonjs/ui/components/Typography/AnimatedText.js +12 -15
- package/lib/commonjs/ui/components/Typography/AnimatedText.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/FormInput.js +1 -1
- package/lib/commonjs/ui/components/feedback/FormInput.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +1 -2
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +0 -2
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +1 -2
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +0 -2
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +15 -18
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +3 -4
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +1 -2
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js +1 -2
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js +1 -2
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js +1 -2
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js +1 -2
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/paymentStyles.js +2 -2
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/commonjs/ui/components/styles/overlay.js +4 -4
- package/lib/commonjs/ui/components/styles/overlay.js.map +1 -1
- package/lib/commonjs/ui/components/styles/shadow.js +58 -63
- package/lib/commonjs/ui/components/styles/shadow.js.map +1 -1
- package/lib/commonjs/ui/components/theming.js +7 -7
- package/lib/commonjs/ui/components/theming.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +1 -2
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/ThemeContext.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAssets.js +11 -27
- package/lib/commonjs/ui/hooks/useAssets.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAuth.js +5 -2
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFileFiltering.js +1 -1
- package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -1
- package/lib/commonjs/ui/index.js +19 -19
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +1 -2
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +2 -3
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +9 -9
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FollowersListScreen.js +0 -1
- package/lib/commonjs/ui/screens/FollowersListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FollowingListScreen.js +0 -1
- package/lib/commonjs/ui/screens/FollowingListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +3 -4
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +2 -3
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +10 -11
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +1 -2
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +2 -2
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +5 -5
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/stores/followStore.js +2 -2
- package/lib/commonjs/ui/stores/followStore.js.map +1 -1
- package/lib/commonjs/ui/utils/avatarUtils.js +1 -1
- package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
- package/lib/commonjs/ui/utils/fileManagement.js +2 -2
- package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
- package/lib/commonjs/ui/utils/userUtils.js +1 -1
- package/lib/commonjs/ui/utils/userUtils.js.map +1 -1
- package/lib/module/ui/components/ActivityIndicator.js +4 -4
- package/lib/module/ui/components/ActivityIndicator.js.map +1 -1
- package/lib/module/ui/components/BottomSheet.js +7 -7
- package/lib/module/ui/components/BottomSheet.js.map +1 -1
- package/lib/module/ui/components/BottomSheetRouter.js +72 -5
- package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/module/ui/components/CrossFadeIcon.js +1 -1
- package/lib/module/ui/components/CrossFadeIcon.js.map +1 -1
- package/lib/module/ui/components/ErrorBoundary.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +3 -5
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/FontLoader.js +1 -1
- package/lib/module/ui/components/FontLoader.js.map +1 -1
- package/lib/module/ui/components/GroupedItem.js +1 -2
- package/lib/module/ui/components/GroupedItem.js.map +1 -1
- package/lib/module/ui/components/GroupedSection.js +1 -1
- package/lib/module/ui/components/GroupedSection.js.map +1 -1
- package/lib/module/ui/components/Header.js.map +1 -1
- package/lib/module/ui/components/HelperText.js +2 -2
- package/lib/module/ui/components/HelperText.js.map +1 -1
- package/lib/module/ui/components/Icon.js +5 -4
- package/lib/module/ui/components/Icon.js.map +1 -1
- package/lib/module/ui/components/IconButton/IconButton.js +0 -1
- package/lib/module/ui/components/IconButton/IconButton.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +18 -12
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +1 -1
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/TextField/Addons/Underline.js.map +1 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +6 -8
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -1
- package/lib/module/ui/components/TextField/Adornment/utils.js +3 -3
- package/lib/module/ui/components/TextField/Adornment/utils.js.map +1 -1
- package/lib/module/ui/components/TextField/helpers.js +2 -3
- package/lib/module/ui/components/TextField/helpers.js.map +1 -1
- package/lib/module/ui/components/TextField.js +6 -9
- package/lib/module/ui/components/TextField.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +3 -3
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
- package/lib/module/ui/components/Typography/AnimatedText.js +12 -14
- package/lib/module/ui/components/Typography/AnimatedText.js.map +1 -1
- package/lib/module/ui/components/feedback/FormInput.js +1 -1
- package/lib/module/ui/components/feedback/FormInput.js.map +1 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js +1 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +0 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +0 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/internal/GroupedPillButtons.js +15 -18
- package/lib/module/ui/components/internal/GroupedPillButtons.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +3 -3
- 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/PaymentMethodStep.js +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.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/PaymentSummaryStep.js +1 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/module/ui/components/payment/paymentStyles.js +2 -2
- package/lib/module/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/module/ui/components/styles/overlay.js +4 -4
- package/lib/module/ui/components/styles/overlay.js.map +1 -1
- package/lib/module/ui/components/styles/shadow.js +58 -63
- package/lib/module/ui/components/styles/shadow.js.map +1 -1
- package/lib/module/ui/components/theming.js +7 -7
- package/lib/module/ui/components/theming.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +1 -1
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/ThemeContext.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +1 -1
- package/lib/module/ui/hooks/useAssets.js +11 -27
- package/lib/module/ui/hooks/useAssets.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js +5 -2
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useFileFiltering.js +1 -1
- package/lib/module/ui/hooks/useFileFiltering.js.map +1 -1
- package/lib/module/ui/index.js +19 -1
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +1 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +1 -1
- package/lib/module/ui/screens/FAQScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +2 -2
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +9 -9
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/FollowersListScreen.js +0 -1
- package/lib/module/ui/screens/FollowersListScreen.js.map +1 -1
- package/lib/module/ui/screens/FollowingListScreen.js +0 -1
- package/lib/module/ui/screens/FollowingListScreen.js.map +1 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +3 -3
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +2 -2
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +10 -11
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +1 -1
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +1 -1
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +2 -2
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +5 -5
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +1 -1
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/stores/followStore.js +2 -2
- package/lib/module/ui/stores/followStore.js.map +1 -1
- package/lib/module/ui/utils/avatarUtils.js +1 -1
- package/lib/module/ui/utils/avatarUtils.js.map +1 -1
- package/lib/module/ui/utils/fileManagement.js +2 -2
- package/lib/module/ui/utils/fileManagement.js.map +1 -1
- package/lib/module/ui/utils/userUtils.js +1 -1
- package/lib/module/ui/utils/userUtils.js.map +1 -1
- package/lib/typescript/commonjs/ui/components/ActivityIndicator.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/ActivityIndicator.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/BottomSheet.d.ts +1 -1
- 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/CrossFadeIcon.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/CrossFadeIcon.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ErrorBoundary.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/ErrorBoundary.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FontLoader.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/FontLoader.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/GroupedItem.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/GroupedSection.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/GroupedSection.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/HelperText.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/HelperText.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Icon.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/Icon.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/IconButton/IconButton.d.ts +3 -3
- package/lib/typescript/commonjs/ui/components/IconButton/IconButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/SignInModal.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Surface.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/Surface.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/Addons/Outline.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TextField/Addons/Underline.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/TextField/Addons/Underline.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAffix.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldIcon.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TextField/helpers.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/TextField/helpers.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TextField/types.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/TextField/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TextField.d.ts +3 -3
- package/lib/typescript/commonjs/ui/components/TextField.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Typography/AnimatedText.d.ts +2 -2
- package/lib/typescript/commonjs/ui/components/Typography/AnimatedText.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/AnimatedButton.d.ts +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 +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/internal/GroupedPillButtons.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts +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 +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 +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 +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 +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/styles/overlay.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts +1 -1
- package/lib/typescript/commonjs/ui/components/styles/shadow.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +2 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/ThemeContext.d.ts +1 -1
- package/lib/typescript/commonjs/ui/context/ThemeContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts +1 -1
- package/lib/typescript/commonjs/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts +2 -2
- package/lib/typescript/commonjs/ui/hooks/useAssets.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +4 -0
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useFileFiltering.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/index.d.ts +19 -1
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts +1 -1
- package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts +1 -1
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts +1 -1
- package/lib/typescript/commonjs/ui/screens/FollowersListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts +1 -1
- package/lib/typescript/commonjs/ui/screens/FollowingListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts +1 -1
- package/lib/typescript/commonjs/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts +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/UserListScreen.d.ts +1 -1
- package/lib/typescript/commonjs/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts +1 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts +1 -1
- package/lib/typescript/commonjs/ui/stores/assetStore.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts +1 -1
- package/lib/typescript/commonjs/ui/utils/avatarUtils.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts +1 -1
- package/lib/typescript/commonjs/ui/utils/fileManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ActivityIndicator.d.ts +1 -1
- package/lib/typescript/module/ui/components/ActivityIndicator.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/BottomSheet.d.ts +1 -1
- 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/CrossFadeIcon.d.ts +1 -1
- package/lib/typescript/module/ui/components/CrossFadeIcon.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ErrorBoundary.d.ts +1 -1
- package/lib/typescript/module/ui/components/ErrorBoundary.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FontLoader.d.ts +1 -1
- package/lib/typescript/module/ui/components/FontLoader.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/GroupedItem.d.ts +1 -1
- package/lib/typescript/module/ui/components/GroupedItem.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/GroupedSection.d.ts +1 -1
- package/lib/typescript/module/ui/components/GroupedSection.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/HelperText.d.ts +1 -1
- package/lib/typescript/module/ui/components/HelperText.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Icon.d.ts +2 -2
- package/lib/typescript/module/ui/components/Icon.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts +3 -3
- package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyProvider.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/SignInModal.d.ts +1 -1
- package/lib/typescript/module/ui/components/SignInModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Surface.d.ts +1 -1
- package/lib/typescript/module/ui/components/Surface.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/Addons/Outline.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TextField/Addons/Underline.d.ts +1 -1
- package/lib/typescript/module/ui/components/TextField/Addons/Underline.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAffix.d.ts +1 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldIcon.d.ts +1 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TextField/helpers.d.ts +1 -1
- package/lib/typescript/module/ui/components/TextField/helpers.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TextField/types.d.ts +1 -1
- package/lib/typescript/module/ui/components/TextField/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TextField.d.ts +3 -3
- package/lib/typescript/module/ui/components/TextField.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.d.ts +1 -1
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts +2 -2
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Typography/AnimatedText.d.ts +2 -2
- package/lib/typescript/module/ui/components/Typography/AnimatedText.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/AnimatedButton.d.ts +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 +1 -1
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts +1 -1
- package/lib/typescript/module/ui/components/fileManagement/UploadPreview.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/internal/GroupedPillButtons.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts +1 -1
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts +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 +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 +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 +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 +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/styles/overlay.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/styles/shadow.d.ts +1 -1
- package/lib/typescript/module/ui/components/styles/shadow.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts +2 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/ThemeContext.d.ts +1 -1
- package/lib/typescript/module/ui/context/ThemeContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts +1 -1
- package/lib/typescript/module/ui/hooks/mutations/mutationFactory.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/queries/useSecurityQueries.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAssets.d.ts +2 -2
- package/lib/typescript/module/ui/hooks/useAssets.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +4 -0
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useFileFiltering.d.ts.map +1 -1
- package/lib/typescript/module/ui/index.d.ts +19 -1
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FAQScreen.d.ts +1 -1
- package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts +1 -1
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts +1 -1
- package/lib/typescript/module/ui/screens/FollowersListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts +1 -1
- package/lib/typescript/module/ui/screens/FollowingListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts +1 -1
- package/lib/typescript/module/ui/screens/LearnMoreUsernamesScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts +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/UserListScreen.d.ts +1 -1
- package/lib/typescript/module/ui/screens/UserListScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts +1 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/stores/assetStore.d.ts +1 -1
- package/lib/typescript/module/ui/stores/assetStore.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts +1 -1
- package/lib/typescript/module/ui/utils/avatarUtils.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/fileManagement.d.ts +1 -1
- package/lib/typescript/module/ui/utils/fileManagement.d.ts.map +1 -1
- package/lib/typescript/types/expo-crypto.d.ts +1 -1
- package/lib/typescript/types/expo-secure-store.d.ts +4 -4
- package/package.json +1 -1
- package/src/types/expo-crypto.d.ts +1 -1
- package/src/types/expo-secure-store.d.ts +4 -4
- package/src/ui/components/ActivityIndicator.tsx +6 -6
- package/src/ui/components/BottomSheet.tsx +11 -12
- package/src/ui/components/BottomSheetRouter.tsx +69 -7
- package/src/ui/components/CrossFadeIcon.tsx +2 -2
- package/src/ui/components/ErrorBoundary.tsx +1 -1
- package/src/ui/components/FollowButton.tsx +3 -5
- package/src/ui/components/FontLoader.tsx +2 -1
- package/src/ui/components/GroupedItem.tsx +3 -3
- package/src/ui/components/GroupedSection.tsx +2 -1
- package/src/ui/components/Header.tsx +1 -1
- package/src/ui/components/HelperText.tsx +5 -5
- package/src/ui/components/Icon.tsx +5 -5
- package/src/ui/components/IconButton/IconButton.tsx +8 -8
- package/src/ui/components/OxyProvider.tsx +16 -10
- package/src/ui/components/SignInModal.tsx +2 -1
- package/src/ui/components/Surface.tsx +4 -4
- package/src/ui/components/TextField/Addons/Outline.tsx +4 -4
- package/src/ui/components/TextField/Addons/Underline.tsx +1 -1
- package/src/ui/components/TextField/Adornment/TextFieldAdornment.tsx +5 -8
- package/src/ui/components/TextField/Adornment/TextFieldAffix.tsx +6 -6
- package/src/ui/components/TextField/Adornment/TextFieldIcon.tsx +4 -4
- package/src/ui/components/TextField/Adornment/utils.ts +3 -3
- package/src/ui/components/TextField/Label/InputLabel.tsx +1 -1
- package/src/ui/components/TextField/TextFieldFlat.tsx +3 -3
- package/src/ui/components/TextField/TextFieldOutlined.tsx +5 -5
- package/src/ui/components/TextField/helpers.tsx +4 -5
- package/src/ui/components/TextField/types.tsx +1 -1
- package/src/ui/components/TextField.tsx +8 -11
- package/src/ui/components/TouchableRipple/TouchableRipple.native.tsx +6 -6
- package/src/ui/components/TouchableRipple/TouchableRipple.tsx +8 -8
- package/src/ui/components/Typography/AnimatedText.tsx +5 -6
- package/src/ui/components/feedback/FormInput.tsx +1 -1
- package/src/ui/components/fileManagement/AnimatedButton.tsx +2 -1
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +1 -1
- package/src/ui/components/fileManagement/FileViewer.tsx +2 -1
- package/src/ui/components/fileManagement/UploadPreview.tsx +1 -1
- package/src/ui/components/internal/GroupedPillButtons.tsx +2 -6
- package/src/ui/components/modals/DeleteAccountModal.tsx +4 -3
- package/src/ui/components/payment/PaymentDetailsStep.tsx +2 -1
- package/src/ui/components/payment/PaymentMethodStep.tsx +2 -1
- package/src/ui/components/payment/PaymentReviewStep.tsx +2 -1
- package/src/ui/components/payment/PaymentSuccessStep.tsx +2 -1
- package/src/ui/components/payment/PaymentSummaryStep.tsx +2 -1
- package/src/ui/components/payment/paymentStyles.ts +2 -2
- package/src/ui/components/styles/overlay.tsx +6 -6
- package/src/ui/components/styles/shadow.tsx +9 -14
- package/src/ui/components/theming.tsx +7 -7
- package/src/ui/context/OxyContext.tsx +2 -1
- package/src/ui/context/ThemeContext.tsx +1 -1
- package/src/ui/hooks/mutations/mutationFactory.ts +1 -1
- package/src/ui/hooks/queries/useSecurityQueries.ts +1 -1
- package/src/ui/hooks/useAssets.ts +3 -23
- package/src/ui/hooks/useAuth.ts +7 -0
- package/src/ui/hooks/useFileFiltering.ts +1 -2
- package/src/ui/index.ts +19 -1
- package/src/ui/screens/AccountSwitcherScreen.tsx +1 -1
- package/src/ui/screens/EditProfileFieldScreen.tsx +1 -1
- package/src/ui/screens/FAQScreen.tsx +2 -1
- package/src/ui/screens/FeedbackScreen.tsx +3 -2
- package/src/ui/screens/FileManagementScreen.tsx +10 -10
- package/src/ui/screens/FollowersListScreen.tsx +1 -1
- package/src/ui/screens/FollowingListScreen.tsx +1 -1
- package/src/ui/screens/LearnMoreUsernamesScreen.tsx +4 -3
- package/src/ui/screens/PaymentGatewayScreen.tsx +3 -2
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +5 -7
- package/src/ui/screens/ProfileScreen.tsx +1 -1
- package/src/ui/screens/UserListScreen.tsx +2 -1
- package/src/ui/screens/WelcomeNewUserScreen.tsx +3 -2
- package/src/ui/screens/karma/KarmaCenterScreen.tsx +5 -5
- package/src/ui/screens/karma/KarmaLeaderboardScreen.tsx +1 -1
- package/src/ui/stores/assetStore.ts +1 -1
- package/src/ui/stores/followStore.ts +2 -2
- package/src/ui/utils/avatarUtils.ts +2 -2
- package/src/ui/utils/fileManagement.ts +4 -4
- package/src/ui/utils/userUtils.ts +1 -1
- package/lib/commonjs/ui/context/hooks/useDeviceManagement.js +0 -73
- package/lib/commonjs/ui/context/hooks/useDeviceManagement.js.map +0 -1
- package/lib/commonjs/ui/context/hooks/useLanguageManagement.js +0 -112
- package/lib/commonjs/ui/context/hooks/useLanguageManagement.js.map +0 -1
- package/lib/commonjs/ui/context/hooks/useSessionManagement.js +0 -279
- package/lib/commonjs/ui/context/hooks/useSessionManagement.js.map +0 -1
- package/lib/module/ui/context/hooks/useDeviceManagement.js +0 -68
- package/lib/module/ui/context/hooks/useDeviceManagement.js.map +0 -1
- package/lib/module/ui/context/hooks/useLanguageManagement.js +0 -107
- package/lib/module/ui/context/hooks/useLanguageManagement.js.map +0 -1
- package/lib/module/ui/context/hooks/useSessionManagement.js +0 -274
- package/lib/module/ui/context/hooks/useSessionManagement.js.map +0 -1
- package/lib/typescript/commonjs/ui/context/hooks/useDeviceManagement.d.ts +0 -27
- package/lib/typescript/commonjs/ui/context/hooks/useDeviceManagement.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/hooks/useLanguageManagement.d.ts +0 -25
- package/lib/typescript/commonjs/ui/context/hooks/useLanguageManagement.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/hooks/useSessionManagement.d.ts +0 -41
- package/lib/typescript/commonjs/ui/context/hooks/useSessionManagement.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/hooks/useDeviceManagement.d.ts +0 -27
- package/lib/typescript/module/ui/context/hooks/useDeviceManagement.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/hooks/useLanguageManagement.d.ts +0 -25
- package/lib/typescript/module/ui/context/hooks/useLanguageManagement.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/hooks/useSessionManagement.d.ts +0 -41
- package/lib/typescript/module/ui/context/hooks/useSessionManagement.d.ts.map +0 -1
- package/src/ui/context/hooks/useDeviceManagement.ts +0 -108
- package/src/ui/context/hooks/useLanguageManagement.ts +0 -152
- package/src/ui/context/hooks/useSessionManagement.ts +0 -399
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assetStore.d.ts","sourceRoot":"","sources":["../../../../../src/ui/stores/assetStore.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"assetStore.d.ts","sourceRoot":"","sources":["../../../../../src/ui/stores/assetStore.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAEzE,UAAU,UAAU;IAElB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAC9B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;IAGpD,OAAO,EAAE;QACP,SAAS,EAAE,OAAO,CAAC;QACnB,OAAO,EAAE,OAAO,CAAC;QACjB,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;IAGF,MAAM,EAAE;QACN,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IAGF,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,SAAS,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,IAAI,CAAC;IACrC,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAGvC,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC3E,oBAAoB,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAG/C,OAAO,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACpD,UAAU,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAGzF,YAAY,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,UAAU,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IAGzC,cAAc,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,YAAY,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,cAAc,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,WAAW,EAAE,MAAM,IAAI,CAAC;IAGxB,cAAc,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,KAAK,EAAE,CAAC;IACzC,iBAAiB,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,KAAK,EAAE,CAAC;IAClF,kBAAkB,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,MAAM,CAAC;IAChD,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;IAG/F,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAaD,eAAO,MAAM,aAAa,yEAiMvB,CAAC;AAGJ,eAAO,MAAM,SAAS,eAA8D,CAAC;AACrF,eAAO,MAAM,QAAQ,GAAI,SAAS,MAAM,UAAoD,CAAC;AAC7F,eAAO,MAAM,iBAAiB,2CAAuD,CAAC;AACtF,eAAO,MAAM,eAAe;eAhQb,OAAO;aACT,OAAO;cACN,OAAO;CA8PuD,CAAC;AAC7E,eAAO,MAAM,cAAc;aA1Pd,MAAM;WACR,MAAM;aACJ,MAAM;CAwPuD,CAAC;AAG3E,eAAO,MAAM,cAAc,GAAI,KAAK,MAAM,YACW,CAAC;AAEtD,eAAO,MAAM,iBAAiB,GAAI,KAAK,MAAM,EAAE,YAAY,MAAM,EAAE,UAAU,MAAM,YACL,CAAC;AAE/E,eAAO,MAAM,kBAAkB,GAAI,SAAS,MAAM,WACW,CAAC;AAE9D,eAAO,MAAM,gBAAgB,GAAI,SAAS,MAAM,EAAE,KAAK,MAAM,EAAE,YAAY,MAAM,EAAE,UAAU,MAAM,YAChB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatarUtils.d.ts","sourceRoot":"","sources":["../../../../../src/ui/utils/avatarUtils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAGrD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"avatarUtils.d.ts","sourceRoot":"","sources":["../../../../../src/ui/utils/avatarUtils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAGrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGzD;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,WAAW,GACvB,IAAI,CAON;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,EACtB,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,MAAM,GAAG,IAAI,EAC9B,WAAW,EAAE,WAAW,EACxB,WAAW,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,GAChC,OAAO,CAAC,IAAI,CAAC,CA2Bf"}
|
|
@@ -32,7 +32,7 @@ export declare function convertDocumentPickerAssetToFile(doc: {
|
|
|
32
32
|
* @param variant - Variant type (default: 'thumb')
|
|
33
33
|
* @param getFileDownloadUrl - Function to get download URL from oxyServices
|
|
34
34
|
*/
|
|
35
|
-
export declare function getSafeDownloadUrl(file: FileMetadata, variant: string
|
|
35
|
+
export declare function getSafeDownloadUrl(file: FileMetadata, variant: string, getFileDownloadUrl: (fileId: string, variant?: string) => string): string;
|
|
36
36
|
/**
|
|
37
37
|
* Upload file raw - helper function for file uploads
|
|
38
38
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileManagement.d.ts","sourceRoot":"","sources":["../../../../../src/ui/utils/fileManagement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGtD;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAMpD;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CASvD;AAED;;GAEG;AACH,wBAAgB,aAAa,CACzB,OAAO,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,EACd,WAAW,
|
|
1
|
+
{"version":3,"file":"fileManagement.d.ts","sourceRoot":"","sources":["../../../../../src/ui/utils/fileManagement.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAGtD;;GAEG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAMpD;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CASvD;AAED;;GAEG;AACH,wBAAgB,aAAa,CACzB,OAAO,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,EACd,WAAW,SAAO,EAClB,UAAU,SAAW,GACtB,OAAO,CAAC,OAAO,CAAC,CAmBlB;AAED;;;;GAIG;AACH,wBAAsB,gCAAgC,CAClD,GAAG,EAAE;IAAE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,EAC/G,KAAK,EAAE,MAAM,GACd,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CAkEtB;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAC9B,IAAI,EAAE,YAAY,EAClB,OAAO,EAAE,MAAM,EACf,kBAAkB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,MAAM,GACjE,MAAM,CA8BR;AAED;;GAEG;AACH,wBAAsB,aAAa,CAC/B,IAAI,EAAE,IAAI,GAAG,IAAI,EACjB,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,GAAG,EAChB,UAAU,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,gBAGjD;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,CAAC;IACxE,2BAA2B;IAC3B,WAAW,EAAE,GAAG,CAAC;IACjB,mDAAmD;IACnD,qBAAqB,EAAE;QACnB,WAAW,EAAE,CAAC,OAAO,EAAE;YAAE,MAAM,EAAE,MAAM,CAAA;SAAE,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;KAC9D,CAAC;IACF,4CAA4C;IAC5C,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,gCAAgC;IAChC,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,GAAG,SAAS,CAAC;IACvC,oFAAoF;IACpF,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM,IAAI,CA8ChF"}
|
|
@@ -9,7 +9,7 @@ declare module 'expo-crypto' {
|
|
|
9
9
|
MD4 = 'MD4',
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export
|
|
12
|
+
export function digestStringAsync(
|
|
13
13
|
algorithm: CryptoDigestAlgorithm | 'MD5' | 'SHA1' | 'SHA256' | 'SHA384' | 'SHA512',
|
|
14
14
|
data: string,
|
|
15
15
|
options?: { encoding?: 'base64' | 'hex' }
|
|
@@ -13,10 +13,10 @@ declare module 'expo-secure-store' {
|
|
|
13
13
|
export const AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY: 'AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY';
|
|
14
14
|
export const WHEN_PASSCODE_SET_THIS_DEVICE_ONLY: 'WHEN_PASSCODE_SET_THIS_DEVICE_ONLY';
|
|
15
15
|
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
16
|
+
export function setItemAsync(key: string, value: string, options?: SecureStoreOptions): Promise<void>;
|
|
17
|
+
export function getItemAsync(key: string, options?: SecureStoreOptions): Promise<string | null>;
|
|
18
|
+
export function deleteItemAsync(key: string, options?: SecureStoreOptions): Promise<void>;
|
|
19
|
+
export function isAvailableAsync(): Promise<boolean>;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@ declare module 'expo-crypto' {
|
|
|
9
9
|
MD4 = 'MD4',
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export
|
|
12
|
+
export function digestStringAsync(
|
|
13
13
|
algorithm: CryptoDigestAlgorithm | 'MD5' | 'SHA1' | 'SHA256' | 'SHA384' | 'SHA512',
|
|
14
14
|
data: string,
|
|
15
15
|
options?: { encoding?: 'base64' | 'hex' }
|
|
@@ -13,10 +13,10 @@ declare module 'expo-secure-store' {
|
|
|
13
13
|
export const AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY: 'AFTER_FIRST_UNLOCK_THIS_DEVICE_ONLY';
|
|
14
14
|
export const WHEN_PASSCODE_SET_THIS_DEVICE_ONLY: 'WHEN_PASSCODE_SET_THIS_DEVICE_ONLY';
|
|
15
15
|
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
16
|
+
export function setItemAsync(key: string, value: string, options?: SecureStoreOptions): Promise<void>;
|
|
17
|
+
export function getItemAsync(key: string, options?: SecureStoreOptions): Promise<string | null>;
|
|
18
|
+
export function deleteItemAsync(key: string, options?: SecureStoreOptions): Promise<void>;
|
|
19
|
+
export function isAvailableAsync(): Promise<boolean>;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
Animated,
|
|
4
4
|
Easing,
|
|
5
5
|
Platform,
|
|
6
|
-
StyleProp,
|
|
6
|
+
type StyleProp,
|
|
7
7
|
StyleSheet,
|
|
8
8
|
View,
|
|
9
|
-
ViewStyle,
|
|
9
|
+
type ViewStyle,
|
|
10
10
|
} from 'react-native';
|
|
11
11
|
|
|
12
12
|
import { useInternalTheme } from './theming';
|
|
@@ -94,13 +94,13 @@ const ActivityIndicator = ({
|
|
|
94
94
|
// $FlowFixMe
|
|
95
95
|
Animated.loop(rotation.current).start();
|
|
96
96
|
}
|
|
97
|
-
}, [scale
|
|
97
|
+
}, [scale]);
|
|
98
98
|
|
|
99
|
-
const stopRotation = () => {
|
|
99
|
+
const stopRotation = React.useCallback(() => {
|
|
100
100
|
if (rotation.current) {
|
|
101
101
|
rotation.current.stop();
|
|
102
102
|
}
|
|
103
|
-
};
|
|
103
|
+
}, []);
|
|
104
104
|
|
|
105
105
|
React.useEffect(() => {
|
|
106
106
|
if (rotation.current === undefined) {
|
|
@@ -128,7 +128,7 @@ const ActivityIndicator = ({
|
|
|
128
128
|
} else {
|
|
129
129
|
stopRotation();
|
|
130
130
|
}
|
|
131
|
-
}, [animating,
|
|
131
|
+
}, [animating, hidesWhenStopped, startRotation, stopRotation, scale]);
|
|
132
132
|
|
|
133
133
|
const color = indicatorColor || theme.colors?.primary;
|
|
134
134
|
const size =
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import { forwardRef, useImperativeHandle, useRef, useEffect, useState, useCallback, useMemo } from 'react';
|
|
2
3
|
import {
|
|
3
4
|
View,
|
|
4
5
|
StyleSheet,
|
|
@@ -8,9 +9,8 @@ import {
|
|
|
8
9
|
Platform,
|
|
9
10
|
type ViewStyle,
|
|
10
11
|
type StyleProp,
|
|
11
|
-
ScrollView,
|
|
12
12
|
} from 'react-native';
|
|
13
|
-
import { Gesture, GestureDetector
|
|
13
|
+
import { Gesture, GestureDetector } from 'react-native-gesture-handler';
|
|
14
14
|
import { useKeyboardHandler } from 'react-native-keyboard-controller';
|
|
15
15
|
import Animated, {
|
|
16
16
|
interpolate,
|
|
@@ -72,7 +72,7 @@ const BottomSheet = forwardRef((props: BottomSheetProps, ref: React.ForwardedRef
|
|
|
72
72
|
const [rendered, setRendered] = useState(false); // keep mounted for exit animation
|
|
73
73
|
const closeTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);
|
|
74
74
|
const hasClosedRef = useRef(false);
|
|
75
|
-
const scrollViewRef = useRef<ScrollView>(null);
|
|
75
|
+
const scrollViewRef = useRef<Animated.ScrollView>(null);
|
|
76
76
|
|
|
77
77
|
const translateY = useSharedValue(SCREEN_HEIGHT);
|
|
78
78
|
const opacity = useSharedValue(0);
|
|
@@ -305,7 +305,7 @@ const BottomSheet = forwardRef((props: BottomSheetProps, ref: React.ForwardedRef
|
|
|
305
305
|
|
|
306
306
|
return (
|
|
307
307
|
<Modal visible={rendered} transparent animationType="none" statusBarTranslucent onRequestClose={dismiss}>
|
|
308
|
-
<
|
|
308
|
+
<View style={StyleSheet.absoluteFill}>
|
|
309
309
|
<Animated.View style={[styles.backdrop, backdropStyle]}>
|
|
310
310
|
{backdropComponent ? (
|
|
311
311
|
backdropComponent({ onPress: handleBackdropPress })
|
|
@@ -324,21 +324,20 @@ const BottomSheet = forwardRef((props: BottomSheetProps, ref: React.ForwardedRef
|
|
|
324
324
|
|
|
325
325
|
<GestureDetector gesture={nativeGesture}>
|
|
326
326
|
<Animated.ScrollView
|
|
327
|
-
ref={scrollViewRef
|
|
327
|
+
ref={scrollViewRef}
|
|
328
328
|
style={[
|
|
329
329
|
styles.scrollView,
|
|
330
|
-
Platform.OS === 'web' && {
|
|
331
|
-
scrollbarWidth: 'thin'
|
|
330
|
+
Platform.OS === 'web' && ({
|
|
331
|
+
scrollbarWidth: 'thin',
|
|
332
332
|
scrollbarColor: `${colors.border} transparent`,
|
|
333
|
-
} as
|
|
333
|
+
} as ViewStyle),
|
|
334
334
|
]}
|
|
335
335
|
contentContainerStyle={dynamicStyles.scrollContent}
|
|
336
336
|
showsVerticalScrollIndicator={false}
|
|
337
337
|
keyboardShouldPersistTaps="handled"
|
|
338
338
|
onScroll={scrollHandler}
|
|
339
339
|
scrollEventThrottle={16}
|
|
340
|
-
|
|
341
|
-
className={Platform.OS === 'web' ? 'bottom-sheet-scrollview' : undefined}
|
|
340
|
+
{...(Platform.OS === 'web' ? { className: 'bottom-sheet-scrollview' } : undefined)}
|
|
342
341
|
onLayout={() => {
|
|
343
342
|
if (Platform.OS === 'web') {
|
|
344
343
|
createWebScrollbarStyle(colors.border);
|
|
@@ -350,7 +349,7 @@ const BottomSheet = forwardRef((props: BottomSheetProps, ref: React.ForwardedRef
|
|
|
350
349
|
</GestureDetector>
|
|
351
350
|
</Animated.View>
|
|
352
351
|
</GestureDetector>
|
|
353
|
-
</
|
|
352
|
+
</View>
|
|
354
353
|
</Modal>
|
|
355
354
|
);
|
|
356
355
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React, { useRef, useEffect, useCallback, useMemo } from 'react';
|
|
2
|
-
import { BackHandler, View, StyleSheet, type StyleProp, type ViewStyle } from 'react-native';
|
|
1
|
+
import React, { useRef, useEffect, useCallback, useMemo, type ErrorInfo } from 'react';
|
|
2
|
+
import { BackHandler, View, StyleSheet, Text, type StyleProp, type ViewStyle } from 'react-native';
|
|
3
3
|
import { useStore } from 'zustand';
|
|
4
4
|
import type { RouteName } from '../navigation/routes';
|
|
5
5
|
import { getScreenComponent, isValidRoute } from '../navigation/routes';
|
|
@@ -16,6 +16,58 @@ import {
|
|
|
16
16
|
updateState,
|
|
17
17
|
} from '../navigation/bottomSheetManager';
|
|
18
18
|
|
|
19
|
+
/** Error boundary to catch screen rendering failures (e.g. lazy require() throws) */
|
|
20
|
+
interface ScreenErrorBoundaryState {
|
|
21
|
+
error: Error | null;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
class ScreenErrorBoundary extends React.Component<
|
|
25
|
+
{ screenName: string; children: React.ReactNode },
|
|
26
|
+
ScreenErrorBoundaryState
|
|
27
|
+
> {
|
|
28
|
+
state: ScreenErrorBoundaryState = { error: null };
|
|
29
|
+
|
|
30
|
+
static getDerivedStateFromError(error: Error): ScreenErrorBoundaryState {
|
|
31
|
+
return { error };
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
componentDidCatch(error: Error, info: ErrorInfo): void {
|
|
35
|
+
if (__DEV__) {
|
|
36
|
+
console.error(
|
|
37
|
+
`[BottomSheetRouter] Screen "${this.props.screenName}" crashed:`,
|
|
38
|
+
error,
|
|
39
|
+
info.componentStack,
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
componentDidUpdate(prevProps: { screenName: string }): void {
|
|
45
|
+
if (prevProps.screenName !== this.props.screenName && this.state.error) {
|
|
46
|
+
this.setState({ error: null });
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
render(): React.ReactNode {
|
|
51
|
+
if (this.state.error) {
|
|
52
|
+
return (
|
|
53
|
+
<View style={errorStyles.container}>
|
|
54
|
+
<Text style={errorStyles.title}>Something went wrong</Text>
|
|
55
|
+
{__DEV__ && (
|
|
56
|
+
<Text style={errorStyles.message}>{this.state.error.message}</Text>
|
|
57
|
+
)}
|
|
58
|
+
</View>
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
return this.props.children;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
const errorStyles = StyleSheet.create({
|
|
66
|
+
container: { flex: 1, alignItems: 'center', justifyContent: 'center', padding: 24 },
|
|
67
|
+
title: { fontSize: 16, fontWeight: '600', marginBottom: 8 },
|
|
68
|
+
message: { fontSize: 13, color: '#888', textAlign: 'center' },
|
|
69
|
+
});
|
|
70
|
+
|
|
19
71
|
export interface BottomSheetRouterProps {
|
|
20
72
|
onScreenChange?: (screen: RouteName | null) => void;
|
|
21
73
|
onDismiss?: () => void;
|
|
@@ -32,10 +84,16 @@ const BottomSheetRouter: React.FC<BottomSheetRouterProps> = ({ onScreenChange, o
|
|
|
32
84
|
|
|
33
85
|
const { currentScreen, screenProps, currentStep, isOpen } = useStore(bottomSheetStore);
|
|
34
86
|
|
|
35
|
-
const ScreenComponent = useMemo(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
87
|
+
const ScreenComponent = useMemo(() => {
|
|
88
|
+
if (!currentScreen) return null;
|
|
89
|
+
const component = getScreenComponent(currentScreen);
|
|
90
|
+
if (__DEV__ && !component) {
|
|
91
|
+
console.error(
|
|
92
|
+
`[BottomSheetRouter] getScreenComponent("${currentScreen}") returned undefined — the screen's lazy require() likely failed.`,
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
return component ?? null;
|
|
96
|
+
}, [currentScreen]);
|
|
39
97
|
|
|
40
98
|
// Notify screen changes
|
|
41
99
|
useEffect(() => {
|
|
@@ -163,7 +221,11 @@ const BottomSheetRouter: React.FC<BottomSheetRouterProps> = ({ onScreenChange, o
|
|
|
163
221
|
onDismiss={handleDismiss}
|
|
164
222
|
onDismissAttempt={handleDismissAttempt}
|
|
165
223
|
>
|
|
166
|
-
{ScreenComponent && currentScreen &&
|
|
224
|
+
{ScreenComponent && currentScreen && (
|
|
225
|
+
<ScreenErrorBoundary screenName={currentScreen}>
|
|
226
|
+
<ScreenComponent {...screenPropsValue} />
|
|
227
|
+
</ScreenErrorBoundary>
|
|
228
|
+
)}
|
|
167
229
|
</BottomSheet>
|
|
168
230
|
);
|
|
169
231
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Animated, StyleSheet, View } from 'react-native';
|
|
3
3
|
|
|
4
|
-
import Icon, { IconSource, isEqualIcon, isValidIcon } from './Icon';
|
|
4
|
+
import Icon, { type IconSource, isEqualIcon, isValidIcon } from './Icon';
|
|
5
5
|
import { useInternalTheme } from './theming';
|
|
6
6
|
import type { ThemeProp } from './types';
|
|
7
7
|
|
|
@@ -61,7 +61,7 @@ const CrossFadeIcon = ({
|
|
|
61
61
|
useNativeDriver: true,
|
|
62
62
|
}).start();
|
|
63
63
|
}
|
|
64
|
-
}, [currentIcon, previousIcon,
|
|
64
|
+
}, [currentIcon, previousIcon, scale]);
|
|
65
65
|
|
|
66
66
|
const opacityPrev = fade;
|
|
67
67
|
const opacityNext = previousIcon
|
|
@@ -111,12 +111,11 @@ const FollowButton: React.FC<FollowButtonProps> = ({
|
|
|
111
111
|
}
|
|
112
112
|
}, [disabled, isLoading, toggleFollow, onFollowChange, isFollowing, preventParentActions, scale]);
|
|
113
113
|
|
|
114
|
-
//
|
|
114
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies: intentional mount-only initialization
|
|
115
115
|
useEffect(() => {
|
|
116
116
|
if (userId && !isFollowing && initiallyFollowing) {
|
|
117
117
|
setFollowStatus?.(initiallyFollowing);
|
|
118
118
|
}
|
|
119
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
120
119
|
}, [userId, initiallyFollowing]);
|
|
121
120
|
|
|
122
121
|
// Fetch latest follow status from backend on mount if authenticated
|
|
@@ -124,13 +123,12 @@ const FollowButton: React.FC<FollowButtonProps> = ({
|
|
|
124
123
|
if (userId && isAuthenticated) {
|
|
125
124
|
fetchStatus?.();
|
|
126
125
|
}
|
|
127
|
-
|
|
128
|
-
}, [userId, oxyServices, isAuthenticated]);
|
|
126
|
+
}, [userId, fetchStatus, isAuthenticated]);
|
|
129
127
|
|
|
130
128
|
// Animate button on follow/unfollow
|
|
131
129
|
useEffect(() => {
|
|
132
130
|
animationProgress.value = withTiming(isFollowing ? 1 : 0, { duration: 300, easing: Easing.inOut(Easing.ease) });
|
|
133
|
-
}, [isFollowing]);
|
|
131
|
+
}, [isFollowing, animationProgress]);
|
|
134
132
|
|
|
135
133
|
// Animated styles for better performance
|
|
136
134
|
const animatedButtonStyle = useAnimatedStyle(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import { memo, useMemo } from 'react';
|
|
2
3
|
import { View, Text, TouchableOpacity, StyleSheet } from 'react-native';
|
|
3
4
|
import { Ionicons } from '@expo/vector-icons';
|
|
4
|
-
// @ts-ignore - MaterialCommunityIcons is available at runtime
|
|
5
5
|
import { MaterialCommunityIcons } from '@expo/vector-icons';
|
|
6
6
|
import { useColorScheme } from '../hooks/useColorScheme';
|
|
7
7
|
import { darkenColor } from '../utils/colorUtils';
|
|
@@ -68,7 +68,7 @@ const GroupedItemComponent = ({
|
|
|
68
68
|
<View style={styles.actionIcon}>{customIcon}</View>
|
|
69
69
|
) : icon ? (
|
|
70
70
|
<View style={[styles.iconContainer, { backgroundColor: finalIconColor }]}>
|
|
71
|
-
<MaterialCommunityIcons name={icon
|
|
71
|
+
<MaterialCommunityIcons name={icon} size={22} color={darkenColor(finalIconColor)} />
|
|
72
72
|
</View>
|
|
73
73
|
) : null}
|
|
74
74
|
<View style={styles.actionTextContainer}>
|
|
@@ -19,7 +19,7 @@ import { normalizeColorScheme } from '../utils/themeUtils';
|
|
|
19
19
|
import { Colors } from '../constants/theme';
|
|
20
20
|
|
|
21
21
|
// Calculate header height based on platform and variant
|
|
22
|
-
export const getHeaderHeight = (variant: HeaderProps['variant'] = 'default', safeAreaTop
|
|
22
|
+
export const getHeaderHeight = (variant: HeaderProps['variant'] = 'default', safeAreaTop = 0): number => {
|
|
23
23
|
const paddingTop = Platform.OS === 'ios' ? Math.max(safeAreaTop, 50) : 16;
|
|
24
24
|
const paddingBottom = 12;
|
|
25
25
|
const contentHeight = variant === 'minimal' ? 36 : 40;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import {
|
|
3
3
|
Animated,
|
|
4
|
-
LayoutChangeEvent,
|
|
5
|
-
StyleProp,
|
|
4
|
+
type LayoutChangeEvent,
|
|
5
|
+
type StyleProp,
|
|
6
6
|
StyleSheet,
|
|
7
|
-
TextStyle,
|
|
7
|
+
type TextStyle,
|
|
8
8
|
} from 'react-native';
|
|
9
9
|
import { useThemeColors } from '../styles';
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ const getTextColor = (colors: ReturnType<typeof useThemeColors>, disabled?: bool
|
|
|
14
14
|
return colors.error;
|
|
15
15
|
}
|
|
16
16
|
if (disabled) {
|
|
17
|
-
return colors.secondaryText
|
|
17
|
+
return `${colors.secondaryText}80`; // Add opacity
|
|
18
18
|
}
|
|
19
19
|
return colors.secondaryText;
|
|
20
20
|
};
|
|
@@ -109,7 +109,7 @@ const HelperText = ({
|
|
|
109
109
|
return colors.error;
|
|
110
110
|
}
|
|
111
111
|
if (disabled) {
|
|
112
|
-
return colors.secondaryText
|
|
112
|
+
return `${colors.secondaryText}80`; // Add opacity
|
|
113
113
|
}
|
|
114
114
|
return colors.secondaryText;
|
|
115
115
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
1
|
+
import type * as React from 'react';
|
|
2
2
|
import {
|
|
3
3
|
I18nManager,
|
|
4
4
|
Image,
|
|
5
|
-
ImageSourcePropType,
|
|
5
|
+
type ImageSourcePropType,
|
|
6
6
|
Platform,
|
|
7
7
|
} from 'react-native';
|
|
8
8
|
import { MaterialCommunityIcons } from '@expo/vector-icons';
|
|
@@ -141,14 +141,14 @@ const Icon = ({
|
|
|
141
141
|
width: size,
|
|
142
142
|
height: size,
|
|
143
143
|
tintColor: color,
|
|
144
|
-
resizeMode:
|
|
144
|
+
resizeMode: "contain",
|
|
145
145
|
},
|
|
146
146
|
]}
|
|
147
147
|
{...accessibilityProps}
|
|
148
148
|
accessibilityIgnoresInvertColors
|
|
149
149
|
/>
|
|
150
150
|
);
|
|
151
|
-
}
|
|
151
|
+
}if (typeof s === 'string') {
|
|
152
152
|
// String icons - use MaterialCommunityIcons from @expo/vector-icons
|
|
153
153
|
// This is the default icon library used by react-native-paper
|
|
154
154
|
const styleArray = Array.isArray(rest.style)
|
|
@@ -171,7 +171,7 @@ const Icon = ({
|
|
|
171
171
|
{...accessibilityProps}
|
|
172
172
|
/>
|
|
173
173
|
);
|
|
174
|
-
}
|
|
174
|
+
}if (typeof s === 'function') {
|
|
175
175
|
return s({ color: iconColor, size, direction, testID });
|
|
176
176
|
}
|
|
177
177
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
1
|
+
import type * as React from 'react';
|
|
2
2
|
import {
|
|
3
|
-
GestureResponderEvent,
|
|
4
|
-
StyleProp,
|
|
3
|
+
type GestureResponderEvent,
|
|
4
|
+
type StyleProp,
|
|
5
5
|
StyleSheet,
|
|
6
|
-
ViewStyle,
|
|
7
|
-
View,
|
|
8
|
-
Animated,
|
|
9
|
-
ColorValue,
|
|
6
|
+
type ViewStyle,
|
|
7
|
+
type View,
|
|
8
|
+
type Animated,
|
|
9
|
+
type ColorValue,
|
|
10
10
|
} from 'react-native';
|
|
11
11
|
|
|
12
12
|
import { getIconButtonColor } from './utils';
|
|
@@ -15,7 +15,7 @@ import type { $RemoveChildren, ThemeProp } from "../types";
|
|
|
15
15
|
import { forwardRef } from '../utils/forwardRef';
|
|
16
16
|
import ActivityIndicator from '../ActivityIndicator';
|
|
17
17
|
import CrossFadeIcon from '../CrossFadeIcon';
|
|
18
|
-
import Icon, { IconSource } from '../Icon';
|
|
18
|
+
import Icon, { type IconSource } from '../Icon';
|
|
19
19
|
import Surface from '../Surface';
|
|
20
20
|
import TouchableRipple from '../TouchableRipple/TouchableRipple';
|
|
21
21
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import type React from 'react';
|
|
1
2
|
import { useEffect, useRef, useState, type FC } from 'react';
|
|
2
3
|
import { AppState, Platform } from 'react-native';
|
|
3
4
|
import { GestureHandlerRootView } from 'react-native-gesture-handler';
|
|
4
5
|
import { SafeAreaProvider } from 'react-native-safe-area-context';
|
|
5
6
|
import type { OxyProviderProps } from '../types/navigation';
|
|
6
|
-
import { OxyContextProvider } from '../context/OxyContext';
|
|
7
|
+
import { OxyContextProvider, type OxyContextProviderProps } from '../context/OxyContext';
|
|
7
8
|
import { QueryClientProvider, focusManager, onlineManager } from '@tanstack/react-query';
|
|
8
9
|
import { setupFonts } from './FontLoader';
|
|
9
10
|
import { Toaster } from '../../lib/sonner';
|
|
@@ -17,9 +18,9 @@ setupFonts();
|
|
|
17
18
|
const isWeb = Platform.OS === 'web';
|
|
18
19
|
|
|
19
20
|
// Conditionally import components
|
|
20
|
-
let KeyboardProvider:
|
|
21
|
-
let BottomSheetRouter:
|
|
22
|
-
let SignInModal:
|
|
21
|
+
let KeyboardProvider: React.FC<{ children: React.ReactNode }> = ({ children }) => <>{children}</>;
|
|
22
|
+
let BottomSheetRouter: React.ComponentType | null = null;
|
|
23
|
+
let SignInModal: React.ComponentType | null = null;
|
|
23
24
|
|
|
24
25
|
// KeyboardProvider only on native
|
|
25
26
|
if (!isWeb) {
|
|
@@ -33,8 +34,10 @@ if (!isWeb) {
|
|
|
33
34
|
// BottomSheetRouter works on all platforms
|
|
34
35
|
try {
|
|
35
36
|
BottomSheetRouter = require('./BottomSheetRouter').default;
|
|
36
|
-
} catch {
|
|
37
|
-
|
|
37
|
+
} catch (error) {
|
|
38
|
+
if (__DEV__) {
|
|
39
|
+
console.error('[OxyProvider] Failed to load BottomSheetRouter:', error);
|
|
40
|
+
}
|
|
38
41
|
}
|
|
39
42
|
|
|
40
43
|
// SignInModal works on all platforms
|
|
@@ -44,6 +47,10 @@ try {
|
|
|
44
47
|
// SignInModal not available
|
|
45
48
|
}
|
|
46
49
|
|
|
50
|
+
if (__DEV__ && !BottomSheetRouter) {
|
|
51
|
+
console.warn('[OxyProvider] BottomSheetRouter is null — bottom sheet navigation will not work. Check that BottomSheetRouter.tsx and its dependencies are importable.');
|
|
52
|
+
}
|
|
53
|
+
|
|
47
54
|
/**
|
|
48
55
|
* OxyProvider - Universal provider for Expo apps (native + web)
|
|
49
56
|
*
|
|
@@ -135,7 +142,7 @@ const OxyProvider: FC<OxyProviderProps> = ({
|
|
|
135
142
|
return () => {
|
|
136
143
|
document.removeEventListener('visibilitychange', handleVisibilityChange);
|
|
137
144
|
};
|
|
138
|
-
}
|
|
145
|
+
}
|
|
139
146
|
// Native: use AppState
|
|
140
147
|
const subscription = AppState.addEventListener('change', (state) => {
|
|
141
148
|
focusManager.setFocused(state === 'active');
|
|
@@ -143,7 +150,6 @@ const OxyProvider: FC<OxyProviderProps> = ({
|
|
|
143
150
|
return () => {
|
|
144
151
|
subscription.remove();
|
|
145
152
|
};
|
|
146
|
-
}
|
|
147
153
|
}, []);
|
|
148
154
|
|
|
149
155
|
// Setup network status monitoring for offline detection
|
|
@@ -204,12 +210,12 @@ const OxyProvider: FC<OxyProviderProps> = ({
|
|
|
204
210
|
const coreContent = (
|
|
205
211
|
<QueryClientProvider client={queryClient}>
|
|
206
212
|
<OxyContextProvider
|
|
207
|
-
oxyServices={oxyServices as
|
|
213
|
+
oxyServices={oxyServices as OxyContextProviderProps['oxyServices']}
|
|
208
214
|
baseURL={baseURL}
|
|
209
215
|
authWebUrl={authWebUrl}
|
|
210
216
|
authRedirectUri={authRedirectUri}
|
|
211
217
|
storageKeyPrefix={storageKeyPrefix}
|
|
212
|
-
onAuthStateChange={onAuthStateChange as
|
|
218
|
+
onAuthStateChange={onAuthStateChange as OxyContextProviderProps['onAuthStateChange']}
|
|
213
219
|
>
|
|
214
220
|
{children}
|
|
215
221
|
{/* Only render bottom sheet router on native */}
|
|
@@ -2,11 +2,11 @@ import * as React from 'react';
|
|
|
2
2
|
import {
|
|
3
3
|
Animated,
|
|
4
4
|
Platform,
|
|
5
|
-
ShadowStyleIOS,
|
|
6
|
-
StyleProp,
|
|
5
|
+
type ShadowStyleIOS,
|
|
6
|
+
type StyleProp,
|
|
7
7
|
StyleSheet,
|
|
8
|
-
View,
|
|
9
|
-
ViewStyle,
|
|
8
|
+
type View,
|
|
9
|
+
type ViewStyle,
|
|
10
10
|
} from 'react-native';
|
|
11
11
|
|
|
12
12
|
import { useInternalTheme } from './theming';
|