@oxyhq/services 6.9.15 → 6.9.17
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/assets/icons/OxyServices.js +13 -52
- package/lib/commonjs/assets/icons/OxyServices.js.map +1 -1
- package/lib/commonjs/assets/illustrations/HighFive.js +18 -57
- package/lib/commonjs/assets/illustrations/HighFive.js.map +1 -1
- package/lib/commonjs/index.js +201 -190
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/lib/sonner-safe.js.map +0 -1
- package/lib/commonjs/lib/sonner.js +5 -16
- package/lib/commonjs/lib/sonner.js.map +1 -1
- package/lib/commonjs/lib/sonner.native.js +8 -45
- package/lib/commonjs/lib/sonner.native.js.map +1 -1
- package/lib/commonjs/lib/sonner.web.js +8 -45
- package/lib/commonjs/lib/sonner.web.js.map +1 -1
- package/lib/commonjs/ui/client.js +66 -88
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/ActivityIndicator.js +0 -26
- package/lib/commonjs/ui/components/ActivityIndicator.js.map +0 -1
- package/lib/commonjs/ui/components/Avatar.js +39 -27
- package/lib/commonjs/ui/components/Avatar.js.map +0 -1
- package/lib/commonjs/ui/components/BottomSheet.js +0 -20
- package/lib/commonjs/ui/components/BottomSheet.js.map +0 -1
- package/lib/commonjs/ui/components/BottomSheetRouter.js +65 -103
- package/lib/commonjs/ui/components/BottomSheetRouter.js.map +0 -1
- package/lib/commonjs/ui/components/CrossFadeIcon.js +0 -30
- package/lib/commonjs/ui/components/CrossFadeIcon.js.map +0 -1
- package/lib/commonjs/ui/components/EmptyState.js +10 -13
- package/lib/commonjs/ui/components/EmptyState.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +52 -81
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/FontLoader.js +17 -52
- package/lib/commonjs/ui/components/FontLoader.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedItem.js +27 -29
- package/lib/commonjs/ui/components/GroupedItem.js.map +1 -1
- package/lib/commonjs/ui/components/GroupedSection.js +10 -11
- package/lib/commonjs/ui/components/GroupedSection.js.map +1 -1
- package/lib/commonjs/ui/components/Header.js +0 -34
- package/lib/commonjs/ui/components/Header.js.map +0 -1
- package/lib/commonjs/ui/components/HelperText.js +0 -26
- package/lib/commonjs/ui/components/HelperText.js.map +0 -1
- package/lib/commonjs/ui/components/Icon.js +12 -12
- package/lib/commonjs/ui/components/Icon.js.map +1 -1
- package/lib/commonjs/ui/components/IconButton/IconButton.js.map +0 -1
- package/lib/commonjs/ui/components/IconButton/utils.js +4 -8
- package/lib/commonjs/ui/components/IconButton/utils.js.map +1 -1
- package/lib/commonjs/ui/components/LoadingState.js +11 -14
- package/lib/commonjs/ui/components/LoadingState.js.map +1 -1
- package/lib/commonjs/ui/components/OxyLogo.js +14 -53
- package/lib/commonjs/ui/components/OxyLogo.js.map +1 -1
- package/lib/commonjs/ui/components/OxyPayButton.js +17 -19
- package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js.map +0 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileCard.js +31 -35
- package/lib/commonjs/ui/components/ProfileCard.js.map +0 -1
- package/lib/commonjs/ui/components/QuickActions.js +16 -16
- package/lib/commonjs/ui/components/QuickActions.js.map +1 -1
- package/lib/commonjs/ui/components/Section.js +12 -15
- package/lib/commonjs/ui/components/Section.js.map +1 -1
- package/lib/commonjs/ui/components/SectionTitle.js +14 -13
- package/lib/commonjs/ui/components/SectionTitle.js.map +1 -1
- package/lib/commonjs/ui/components/SettingRow.js.map +0 -1
- package/lib/commonjs/ui/components/SignInModal.js +115 -132
- package/lib/commonjs/ui/components/SignInModal.js.map +1 -1
- package/lib/commonjs/ui/components/StepBasedScreen.js +71 -85
- package/lib/commonjs/ui/components/StepBasedScreen.js.map +1 -1
- package/lib/commonjs/ui/components/Surface.js +37 -79
- package/lib/commonjs/ui/components/Surface.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js +8 -6
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +29 -74
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js +23 -27
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js +27 -31
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js +11 -11
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/types.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js +1 -1
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js +21 -23
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js +10 -37
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js.map +1 -2
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +65 -106
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +0 -33
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/constants.js +25 -35
- package/lib/commonjs/ui/components/TextField/constants.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/helpers.js +43 -44
- package/lib/commonjs/ui/components/TextField/helpers.js.map +1 -1
- package/lib/commonjs/ui/components/TextField/types.js.map +0 -1
- package/lib/commonjs/ui/components/TextField.js +35 -76
- package/lib/commonjs/ui/components/TextField.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/Pressable.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js +30 -64
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +26 -68
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
- package/lib/commonjs/ui/components/TouchableRipple/utils.js +6 -10
- package/lib/commonjs/ui/components/TouchableRipple/utils.js.map +1 -1
- package/lib/commonjs/ui/components/Typography/AnimatedText.js.map +0 -1
- package/lib/commonjs/ui/components/Typography/types.js +3 -3
- package/lib/commonjs/ui/components/Typography/types.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/FormInput.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/ProgressIndicator.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/constants.js.map +0 -1
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js +1 -1
- package/lib/commonjs/ui/components/feedback/feedbackStyles.js.map +0 -1
- package/lib/commonjs/ui/components/feedback/index.js +0 -10
- package/lib/commonjs/ui/components/feedback/index.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/types.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js +5 -5
- package/lib/commonjs/ui/components/feedback/useFeedbackForm.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js +14 -13
- package/lib/commonjs/ui/components/fileManagement/AnimatedButton.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +66 -77
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +118 -127
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +0 -1
- package/lib/commonjs/ui/components/fileManagement/styles.js.map +0 -1
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js +0 -20
- package/lib/commonjs/ui/components/icon/FAIRWalletIcon.js.map +0 -1
- package/lib/commonjs/ui/components/icon/OxyIcon.js.map +0 -1
- package/lib/commonjs/ui/components/icon/index.js +7 -12
- package/lib/commonjs/ui/components/icon/index.js.map +1 -1
- package/lib/commonjs/ui/components/index.js +54 -62
- package/lib/commonjs/ui/components/index.js.map +1 -1
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js +21 -22
- package/lib/commonjs/ui/components/internal/GroupedPillButtons.js.map +0 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +41 -52
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/modals/index.js +3 -8
- package/lib/commonjs/ui/components/modals/index.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +70 -89
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentReviewStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/PaymentSuccessStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +0 -1
- package/lib/commonjs/ui/components/payment/constants.js.map +0 -1
- package/lib/commonjs/ui/components/payment/index.js +0 -15
- package/lib/commonjs/ui/components/payment/index.js.map +1 -1
- package/lib/commonjs/ui/components/payment/paymentStyles.js +10 -10
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/commonjs/ui/components/payment/types.js.map +1 -1
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js +27 -59
- package/lib/commonjs/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/commonjs/ui/components/styles/overlay.js +6 -4
- package/lib/commonjs/ui/components/styles/overlay.js.map +1 -1
- package/lib/commonjs/ui/components/styles/shadow.js +7 -7
- package/lib/commonjs/ui/components/styles/shadow.js.map +1 -1
- package/lib/commonjs/ui/components/theming.js +6 -4
- package/lib/commonjs/ui/components/theming.js.map +1 -1
- package/lib/commonjs/ui/components/types.js.map +1 -1
- package/lib/commonjs/ui/components/utils/forwardRef.js +3 -43
- package/lib/commonjs/ui/components/utils/forwardRef.js.map +1 -1
- package/lib/commonjs/ui/components/utils/hasTouchHandler.js.map +1 -1
- package/lib/commonjs/ui/components/utils/roundLayoutSize.js.map +0 -1
- package/lib/commonjs/ui/components/utils/splitStyles.js +7 -1
- package/lib/commonjs/ui/components/utils/splitStyles.js.map +1 -1
- package/lib/commonjs/ui/constants/iconColors.js +16 -12
- package/lib/commonjs/ui/constants/iconColors.js.map +0 -1
- package/lib/commonjs/ui/constants/spacing.js.map +1 -1
- package/lib/commonjs/ui/constants/theme.js +9 -8
- package/lib/commonjs/ui/constants/theme.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +0 -1
- package/lib/commonjs/ui/context/OxyContext.js.map +0 -1
- package/lib/commonjs/ui/context/ThemeContext.js +4 -27
- package/lib/commonjs/ui/context/ThemeContext.js.map +1 -2
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js +0 -27
- package/lib/commonjs/ui/context/hooks/useAuthOperations.js.map +0 -1
- package/lib/commonjs/ui/hooks/index.js +26 -27
- package/lib/commonjs/ui/hooks/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/index.js +22 -31
- package/lib/commonjs/ui/hooks/mutations/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/mutationFactory.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js +106 -83
- package/lib/commonjs/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js +53 -45
- package/lib/commonjs/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/index.js +39 -50
- package/lib/commonjs/ui/hooks/queries/index.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/queryKeys.js +0 -6
- package/lib/commonjs/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js +39 -33
- package/lib/commonjs/ui/hooks/queries/useAccountQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js +12 -11
- package/lib/commonjs/ui/hooks/queries/useSecurityQueries.js.map +0 -1
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js +32 -28
- package/lib/commonjs/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/commonjs/ui/hooks/queryClient.js +17 -10
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAssets.js +26 -13
- package/lib/commonjs/ui/hooks/useAssets.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAsyncAction.js.map +0 -1
- package/lib/commonjs/ui/hooks/useAuth.js +21 -24
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAvatarPicker.js +0 -3
- package/lib/commonjs/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/commonjs/ui/hooks/useColorScheme.js +8 -6
- package/lib/commonjs/ui/hooks/useColorScheme.js.map +1 -1
- package/lib/commonjs/ui/hooks/useDeviceManagement.js +10 -10
- package/lib/commonjs/ui/hooks/useDeviceManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js +7 -7
- package/lib/commonjs/ui/hooks/useFileDownloadUrl.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFileFiltering.js +9 -7
- package/lib/commonjs/ui/hooks/useFileFiltering.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.js +75 -67
- package/lib/commonjs/ui/hooks/useFollow.js.map +1 -1
- package/lib/commonjs/ui/hooks/useFollow.types.js +0 -5
- package/lib/commonjs/ui/hooks/useFollow.types.js.map +0 -1
- package/lib/commonjs/ui/hooks/useI18n.js +1 -1
- package/lib/commonjs/ui/hooks/useI18n.js.map +1 -1
- package/lib/commonjs/ui/hooks/useLanguageManagement.js +17 -16
- package/lib/commonjs/ui/hooks/useLanguageManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js +1 -1
- package/lib/commonjs/ui/hooks/useProfileEditing.js.map +1 -1
- package/lib/commonjs/ui/hooks/useQueryClient.js +2 -2
- package/lib/commonjs/ui/hooks/useQueryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js +44 -40
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionSocket.js +39 -34
- package/lib/commonjs/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSettingToggle.js +22 -16
- package/lib/commonjs/ui/hooks/useSettingToggle.js.map +1 -1
- package/lib/commonjs/ui/hooks/useStorage.js +6 -6
- package/lib/commonjs/ui/hooks/useStorage.js.map +1 -1
- package/lib/commonjs/ui/hooks/useThemeColors.js +1 -1
- package/lib/commonjs/ui/hooks/useThemeColors.js.map +1 -1
- package/lib/commonjs/ui/hooks/useThemeStyles.js +13 -12
- package/lib/commonjs/ui/hooks/useThemeStyles.js.map +1 -1
- package/lib/commonjs/ui/hooks/useWebSSO.js +19 -11
- package/lib/commonjs/ui/hooks/useWebSSO.js.map +1 -1
- package/lib/commonjs/ui/index.js +138 -112
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/isFrontend.js +2 -2
- package/lib/commonjs/ui/isFrontend.js.map +1 -1
- package/lib/commonjs/ui/navigation/bottomSheetManager.js +1 -1
- package/lib/commonjs/ui/navigation/bottomSheetManager.js.map +0 -1
- package/lib/commonjs/ui/navigation/routes.js +12 -6
- package/lib/commonjs/ui/navigation/routes.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountCenterScreen.js +66 -75
- package/lib/commonjs/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js +133 -164
- package/lib/commonjs/ui/screens/AccountOverviewScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js +133 -150
- package/lib/commonjs/ui/screens/AccountSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountSwitcherScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js +44 -83
- package/lib/commonjs/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +0 -19
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +54 -61
- package/lib/commonjs/ui/screens/FAQScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +137 -155
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/FollowersListScreen.js +6 -9
- package/lib/commonjs/ui/screens/FollowersListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FollowingListScreen.js +6 -9
- package/lib/commonjs/ui/screens/FollowingListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HelpSupportScreen.js +36 -75
- package/lib/commonjs/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +43 -79
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +50 -82
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js +31 -35
- package/lib/commonjs/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +0 -23
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/OxyAuthScreen.js +107 -120
- package/lib/commonjs/ui/screens/OxyAuthScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +69 -63
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +205 -241
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +81 -114
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +102 -128
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +0 -31
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +32 -69
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +85 -120
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js +72 -91
- package/lib/commonjs/ui/screens/karma/KarmaCenterScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js +45 -80
- package/lib/commonjs/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/karma/KarmaRewardsScreen.js.map +0 -1
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js +29 -29
- package/lib/commonjs/ui/screens/karma/KarmaRulesScreen.js.map +1 -1
- package/lib/commonjs/ui/server.js +58 -47
- package/lib/commonjs/ui/server.js.map +1 -1
- package/lib/commonjs/ui/stores/accountStore.js +1 -1
- package/lib/commonjs/ui/stores/accountStore.js.map +0 -1
- package/lib/commonjs/ui/stores/assetStore.js +16 -13
- package/lib/commonjs/ui/stores/assetStore.js.map +1 -1
- package/lib/commonjs/ui/stores/authStore.js +6 -5
- package/lib/commonjs/ui/stores/authStore.js.map +1 -1
- package/lib/commonjs/ui/stores/fileStore.js.map +1 -1
- package/lib/commonjs/ui/stores/followStore.js +10 -3
- package/lib/commonjs/ui/stores/followStore.js.map +1 -1
- package/lib/commonjs/ui/styles/authStyles.js +12 -12
- package/lib/commonjs/ui/styles/authStyles.js.map +1 -1
- package/lib/commonjs/ui/styles/fonts.js +19 -18
- package/lib/commonjs/ui/styles/fonts.js.map +1 -1
- package/lib/commonjs/ui/styles/index.js.map +0 -1
- package/lib/commonjs/ui/styles/spacing.js +0 -11
- package/lib/commonjs/ui/styles/spacing.js.map +0 -1
- package/lib/commonjs/ui/styles/theme.js +12 -11
- package/lib/commonjs/ui/styles/theme.js.map +1 -1
- package/lib/commonjs/ui/types/fileManagement.js.map +1 -1
- package/lib/commonjs/ui/types/navigation.js.map +1 -1
- package/lib/commonjs/ui/utils/avatarUtils.js +16 -11
- package/lib/commonjs/ui/utils/avatarUtils.js.map +1 -1
- package/lib/commonjs/ui/utils/colorUtils.js +0 -17
- package/lib/commonjs/ui/utils/colorUtils.js.map +0 -1
- package/lib/commonjs/ui/utils/confirmAction.js +1 -1
- package/lib/commonjs/ui/utils/confirmAction.js.map +1 -1
- package/lib/commonjs/ui/utils/errorHandlers.js +0 -1
- package/lib/commonjs/ui/utils/errorHandlers.js.map +1 -1
- package/lib/commonjs/ui/utils/fileManagement.js +38 -22
- package/lib/commonjs/ui/utils/fileManagement.js.map +1 -1
- package/lib/commonjs/ui/utils/iconNames.js.map +0 -1
- package/lib/commonjs/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/commonjs/ui/utils/storageHelpers.js +12 -7
- package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -1
- package/lib/commonjs/ui/utils/themeUtils.js +0 -15
- package/lib/commonjs/ui/utils/themeUtils.js.map +0 -1
- package/lib/commonjs/ui/utils/userUtils.js +9 -6
- package/lib/commonjs/ui/utils/userUtils.js.map +1 -1
- package/lib/commonjs/utils/hookUtils.js +79 -60
- package/lib/commonjs/utils/hookUtils.js.map +1 -1
- package/lib/module/assets/icons/OxyServices.js +0 -12
- package/lib/module/assets/icons/OxyServices.js.map +0 -1
- package/lib/module/assets/illustrations/HighFive.js +0 -15
- package/lib/module/assets/illustrations/HighFive.js.map +0 -1
- package/lib/module/index.js +35 -406
- package/lib/module/index.js.map +1 -1
- package/lib/module/lib/sonner-safe.js +8 -7
- package/lib/module/lib/sonner-safe.js.map +1 -1
- package/lib/module/lib/sonner.js +1 -17
- package/lib/module/lib/sonner.js.map +1 -1
- package/lib/module/lib/sonner.native.js +0 -45
- package/lib/module/lib/sonner.native.js.map +1 -1
- package/lib/module/lib/sonner.web.js +6 -48
- package/lib/module/lib/sonner.web.js.map +1 -1
- package/lib/module/ui/client.js +25 -165
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/ActivityIndicator.js +27 -69
- package/lib/module/ui/components/ActivityIndicator.js.map +1 -1
- package/lib/module/ui/components/AutoHeightScrollView.js +9 -13
- package/lib/module/ui/components/AutoHeightScrollView.js.map +1 -1
- package/lib/module/ui/components/Avatar.js +0 -8
- package/lib/module/ui/components/Avatar.js.map +1 -1
- package/lib/module/ui/components/BottomSheet.js +0 -99
- package/lib/module/ui/components/BottomSheet.js.map +0 -1
- package/lib/module/ui/components/BottomSheetRouter.js +61 -105
- package/lib/module/ui/components/BottomSheetRouter.js.map +1 -1
- package/lib/module/ui/components/CrossFadeIcon.js +16 -60
- package/lib/module/ui/components/CrossFadeIcon.js.map +1 -1
- package/lib/module/ui/components/EmptyState.js +7 -15
- package/lib/module/ui/components/EmptyState.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +50 -84
- package/lib/module/ui/components/FollowButton.js.map +0 -1
- package/lib/module/ui/components/FontLoader.js +17 -57
- package/lib/module/ui/components/FontLoader.js.map +1 -1
- package/lib/module/ui/components/GroupedItem.js +27 -31
- package/lib/module/ui/components/GroupedItem.js.map +1 -1
- package/lib/module/ui/components/GroupedSection.js +9 -13
- package/lib/module/ui/components/GroupedSection.js.map +1 -1
- package/lib/module/ui/components/Header.js +57 -102
- package/lib/module/ui/components/Header.js.map +1 -1
- package/lib/module/ui/components/HelperText.js +13 -55
- package/lib/module/ui/components/HelperText.js.map +1 -1
- package/lib/module/ui/components/Icon.js +13 -19
- package/lib/module/ui/components/Icon.js.map +0 -1
- package/lib/module/ui/components/IconButton/IconButton.js +24 -31
- package/lib/module/ui/components/IconButton/IconButton.js.map +0 -1
- package/lib/module/ui/components/IconButton/utils.js +4 -14
- package/lib/module/ui/components/IconButton/utils.js.map +1 -1
- package/lib/module/ui/components/LoadingState.js +0 -12
- package/lib/module/ui/components/LoadingState.js.map +0 -1
- package/lib/module/ui/components/OxyLogo.js +0 -13
- package/lib/module/ui/components/OxyLogo.js.map +1 -1
- package/lib/module/ui/components/OxyPayButton.js +0 -14
- package/lib/module/ui/components/OxyPayButton.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +48 -39
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +37 -42
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/ProfileCard.js +29 -37
- package/lib/module/ui/components/ProfileCard.js.map +1 -1
- package/lib/module/ui/components/QuickActions.js +15 -18
- package/lib/module/ui/components/QuickActions.js.map +1 -1
- package/lib/module/ui/components/Section.js +0 -16
- package/lib/module/ui/components/Section.js.map +1 -1
- package/lib/module/ui/components/SectionTitle.js +12 -15
- package/lib/module/ui/components/SectionTitle.js.map +1 -1
- package/lib/module/ui/components/SettingRow.js +0 -17
- package/lib/module/ui/components/SettingRow.js.map +1 -1
- package/lib/module/ui/components/SignInModal.js +115 -142
- package/lib/module/ui/components/SignInModal.js.map +1 -1
- package/lib/module/ui/components/StepBasedScreen.js +0 -43
- package/lib/module/ui/components/StepBasedScreen.js.map +0 -1
- package/lib/module/ui/components/Surface.js +34 -82
- package/lib/module/ui/components/Surface.js.map +1 -1
- package/lib/module/ui/components/TextField/Addons/Outline.js +0 -8
- package/lib/module/ui/components/TextField/Addons/Outline.js.map +0 -1
- package/lib/module/ui/components/TextField/Addons/Underline.js +8 -12
- package/lib/module/ui/components/TextField/Addons/Underline.js.map +1 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -62
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js +0 -15
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js +28 -33
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js.map +1 -1
- package/lib/module/ui/components/TextField/Adornment/enums.js +9 -13
- package/lib/module/ui/components/TextField/Adornment/enums.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/types.js +0 -3
- package/lib/module/ui/components/TextField/Adornment/types.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/utils.js +2 -7
- package/lib/module/ui/components/TextField/Adornment/utils.js.map +1 -1
- package/lib/module/ui/components/TextField/Label/InputLabel.js +18 -25
- package/lib/module/ui/components/TextField/Label/InputLabel.js.map +0 -1
- package/lib/module/ui/components/TextField/TextFieldFlat.js +63 -109
- package/lib/module/ui/components/TextField/TextFieldFlat.js.map +1 -1
- package/lib/module/ui/components/TextField/TextFieldOutlined.js +61 -109
- package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +1 -1
- package/lib/module/ui/components/TextField/constants.js +0 -23
- package/lib/module/ui/components/TextField/constants.js.map +0 -1
- package/lib/module/ui/components/TextField/helpers.js +50 -69
- package/lib/module/ui/components/TextField/helpers.js.map +1 -1
- package/lib/module/ui/components/TextField/types.js +1 -3
- package/lib/module/ui/components/TextField/types.js.map +1 -1
- package/lib/module/ui/components/TextField.js +0 -64
- package/lib/module/ui/components/TextField.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/Pressable.js +6 -7
- package/lib/module/ui/components/TouchableRipple/Pressable.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +28 -67
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +0 -47
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +1 -1
- package/lib/module/ui/components/TouchableRipple/utils.js +6 -16
- package/lib/module/ui/components/TouchableRipple/utils.js.map +1 -1
- package/lib/module/ui/components/Typography/AnimatedText.js +0 -8
- package/lib/module/ui/components/Typography/AnimatedText.js.map +0 -1
- package/lib/module/ui/components/Typography/types.js +3 -7
- package/lib/module/ui/components/Typography/types.js.map +1 -1
- package/lib/module/ui/components/feedback/FormInput.js +12 -20
- package/lib/module/ui/components/feedback/FormInput.js.map +1 -1
- package/lib/module/ui/components/feedback/ProgressIndicator.js +0 -10
- package/lib/module/ui/components/feedback/ProgressIndicator.js.map +0 -1
- package/lib/module/ui/components/feedback/constants.js +3 -7
- package/lib/module/ui/components/feedback/constants.js.map +1 -1
- package/lib/module/ui/components/feedback/feedbackStyles.js +10 -15
- package/lib/module/ui/components/feedback/feedbackStyles.js.map +1 -1
- package/lib/module/ui/components/feedback/index.js +5 -56
- package/lib/module/ui/components/feedback/index.js.map +1 -1
- package/lib/module/ui/components/feedback/types.js +0 -3
- package/lib/module/ui/components/feedback/types.js.map +0 -1
- package/lib/module/ui/components/feedback/useFeedbackForm.js +6 -11
- package/lib/module/ui/components/feedback/useFeedbackForm.js.map +1 -1
- package/lib/module/ui/components/fileManagement/AnimatedButton.js +0 -10
- package/lib/module/ui/components/fileManagement/AnimatedButton.js.map +0 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +67 -72
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +0 -38
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +0 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +0 -27
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/fileManagement/styles.js +20 -24
- package/lib/module/ui/components/fileManagement/styles.js.map +1 -1
- package/lib/module/ui/components/icon/FAIRWalletIcon.js +14 -58
- package/lib/module/ui/components/icon/FAIRWalletIcon.js.map +0 -1
- package/lib/module/ui/components/icon/OxyIcon.js +0 -5
- package/lib/module/ui/components/icon/OxyIcon.js.map +0 -1
- package/lib/module/ui/components/icon/index.js +2 -23
- package/lib/module/ui/components/icon/index.js.map +1 -1
- package/lib/module/ui/components/index.js +0 -111
- package/lib/module/ui/components/index.js.map +1 -1
- package/lib/module/ui/components/internal/GroupedPillButtons.js +0 -11
- package/lib/module/ui/components/internal/GroupedPillButtons.js.map +1 -1
- package/lib/module/ui/components/internal/PinInput.js +12 -15
- package/lib/module/ui/components/internal/PinInput.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +40 -48
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/modals/index.js +1 -16
- package/lib/module/ui/components/modals/index.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +69 -77
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentMethodStep.js +17 -25
- package/lib/module/ui/components/payment/PaymentMethodStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentReviewStep.js +0 -13
- package/lib/module/ui/components/payment/PaymentReviewStep.js.map +0 -1
- package/lib/module/ui/components/payment/PaymentSuccessStep.js +0 -18
- package/lib/module/ui/components/payment/PaymentSuccessStep.js.map +0 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js +0 -29
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +0 -1
- package/lib/module/ui/components/payment/constants.js +0 -7
- package/lib/module/ui/components/payment/constants.js.map +0 -1
- package/lib/module/ui/components/payment/index.js +0 -73
- package/lib/module/ui/components/payment/index.js.map +1 -1
- package/lib/module/ui/components/payment/paymentStyles.js +0 -9
- package/lib/module/ui/components/payment/paymentStyles.js.map +0 -1
- package/lib/module/ui/components/payment/types.js +1 -3
- package/lib/module/ui/components/payment/types.js.map +1 -1
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js +25 -62
- package/lib/module/ui/components/photogrid/JustifiedPhotoGrid.js.map +1 -1
- package/lib/module/ui/components/styles/overlay.js +0 -13
- package/lib/module/ui/components/styles/overlay.js.map +1 -1
- package/lib/module/ui/components/styles/shadow.js +8 -12
- package/lib/module/ui/components/styles/shadow.js.map +1 -1
- package/lib/module/ui/components/theming.js +6 -9
- package/lib/module/ui/components/theming.js.map +1 -1
- package/lib/module/ui/components/types.js +1 -3
- package/lib/module/ui/components/types.js.map +1 -1
- package/lib/module/ui/components/utils/forwardRef.js +0 -40
- package/lib/module/ui/components/utils/forwardRef.js.map +0 -1
- package/lib/module/ui/components/utils/hasTouchHandler.js +1 -5
- package/lib/module/ui/components/utils/hasTouchHandler.js.map +1 -1
- package/lib/module/ui/components/utils/roundLayoutSize.js +1 -6
- package/lib/module/ui/components/utils/roundLayoutSize.js.map +1 -1
- package/lib/module/ui/components/utils/splitStyles.js +7 -5
- package/lib/module/ui/components/utils/splitStyles.js.map +1 -1
- package/lib/module/ui/constants/iconColors.js +14 -16
- package/lib/module/ui/constants/iconColors.js.map +1 -1
- package/lib/module/ui/constants/spacing.js +25 -24
- package/lib/module/ui/constants/spacing.js.map +1 -1
- package/lib/module/ui/constants/theme.js +4 -7
- package/lib/module/ui/constants/theme.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +0 -17
- package/lib/module/ui/context/OxyContext.js.map +0 -1
- package/lib/module/ui/context/ThemeContext.js +7 -13
- package/lib/module/ui/context/ThemeContext.js.map +1 -1
- package/lib/module/ui/context/hooks/useAuthOperations.js +39 -68
- package/lib/module/ui/context/hooks/useAuthOperations.js.map +1 -1
- package/lib/module/ui/hooks/index.js +0 -64
- package/lib/module/ui/hooks/index.js.map +0 -1
- package/lib/module/ui/hooks/mutations/index.js +5 -67
- package/lib/module/ui/hooks/mutations/index.js.map +1 -1
- package/lib/module/ui/hooks/mutations/mutationFactory.js +0 -7
- package/lib/module/ui/hooks/mutations/mutationFactory.js.map +0 -1
- package/lib/module/ui/hooks/mutations/useAccountMutations.js +109 -92
- package/lib/module/ui/hooks/mutations/useAccountMutations.js.map +1 -1
- package/lib/module/ui/hooks/mutations/useServicesMutations.js +54 -54
- package/lib/module/ui/hooks/mutations/useServicesMutations.js.map +1 -1
- package/lib/module/ui/hooks/queries/index.js +0 -114
- package/lib/module/ui/hooks/queries/index.js.map +0 -1
- package/lib/module/ui/hooks/queries/queryKeys.js +36 -39
- package/lib/module/ui/hooks/queries/queryKeys.js.map +1 -1
- package/lib/module/ui/hooks/queries/useAccountQueries.js +40 -44
- package/lib/module/ui/hooks/queries/useAccountQueries.js.map +1 -1
- package/lib/module/ui/hooks/queries/useSecurityQueries.js +12 -17
- package/lib/module/ui/hooks/queries/useSecurityQueries.js.map +0 -1
- package/lib/module/ui/hooks/queries/useServicesQueries.js +33 -37
- package/lib/module/ui/hooks/queries/useServicesQueries.js.map +1 -1
- package/lib/module/ui/hooks/queryClient.js +17 -17
- package/lib/module/ui/hooks/queryClient.js.map +1 -1
- package/lib/module/ui/hooks/useAssets.js +26 -19
- package/lib/module/ui/hooks/useAssets.js.map +1 -1
- package/lib/module/ui/hooks/useAsyncAction.js +16 -20
- package/lib/module/ui/hooks/useAsyncAction.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js +18 -25
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useAvatarPicker.js +13 -16
- package/lib/module/ui/hooks/useAvatarPicker.js.map +1 -1
- package/lib/module/ui/hooks/useColorScheme.js +0 -3
- package/lib/module/ui/hooks/useColorScheme.js.map +1 -1
- package/lib/module/ui/hooks/useDeviceManagement.js +11 -16
- package/lib/module/ui/hooks/useDeviceManagement.js.map +1 -1
- package/lib/module/ui/hooks/useFileDownloadUrl.js +9 -15
- package/lib/module/ui/hooks/useFileDownloadUrl.js.map +0 -1
- package/lib/module/ui/hooks/useFileFiltering.js +0 -9
- package/lib/module/ui/hooks/useFileFiltering.js.map +0 -1
- package/lib/module/ui/hooks/useFollow.js +77 -75
- package/lib/module/ui/hooks/useFollow.js.map +1 -1
- package/lib/module/ui/hooks/useFollow.types.js +0 -6
- package/lib/module/ui/hooks/useFollow.types.js.map +1 -1
- package/lib/module/ui/hooks/useI18n.js +0 -7
- package/lib/module/ui/hooks/useI18n.js.map +0 -1
- package/lib/module/ui/hooks/useLanguageManagement.js +18 -22
- package/lib/module/ui/hooks/useLanguageManagement.js.map +0 -1
- package/lib/module/ui/hooks/useProfileEditing.js +0 -9
- package/lib/module/ui/hooks/useProfileEditing.js.map +0 -1
- package/lib/module/ui/hooks/useQueryClient.js +0 -5
- package/lib/module/ui/hooks/useQueryClient.js.map +0 -1
- package/lib/module/ui/hooks/useSessionManagement.js +45 -46
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/module/ui/hooks/useSessionSocket.js +0 -15
- package/lib/module/ui/hooks/useSessionSocket.js.map +1 -1
- package/lib/module/ui/hooks/useSettingToggle.js +0 -14
- package/lib/module/ui/hooks/useSettingToggle.js.map +0 -1
- package/lib/module/ui/hooks/useStorage.js +7 -12
- package/lib/module/ui/hooks/useStorage.js.map +0 -1
- package/lib/module/ui/hooks/useThemeColors.js +10 -14
- package/lib/module/ui/hooks/useThemeColors.js.map +0 -1
- package/lib/module/ui/hooks/useThemeStyles.js +14 -18
- package/lib/module/ui/hooks/useThemeStyles.js.map +1 -1
- package/lib/module/ui/hooks/useWebSSO.js +16 -12
- package/lib/module/ui/hooks/useWebSSO.js.map +1 -1
- package/lib/module/ui/index.js +37 -117
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/isFrontend.js +1 -4
- package/lib/module/ui/isFrontend.js.map +1 -1
- package/lib/module/ui/navigation/bottomSheetManager.js +0 -17
- package/lib/module/ui/navigation/bottomSheetManager.js.map +1 -1
- package/lib/module/ui/navigation/routes.js +14 -8
- package/lib/module/ui/navigation/routes.js.map +1 -1
- package/lib/module/ui/screens/AccountCenterScreen.js +65 -71
- package/lib/module/ui/screens/AccountCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountOverviewScreen.js +131 -167
- package/lib/module/ui/screens/AccountOverviewScreen.js.map +1 -1
- package/lib/module/ui/screens/AccountSettingsScreen.js +0 -88
- package/lib/module/ui/screens/AccountSettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountSwitcherScreen.js +0 -88
- package/lib/module/ui/screens/AccountSwitcherScreen.js.map +0 -1
- package/lib/module/ui/screens/AccountVerificationScreen.js +42 -86
- package/lib/module/ui/screens/AccountVerificationScreen.js.map +1 -1
- package/lib/module/ui/screens/AppInfoScreen.js +76 -79
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +89 -114
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +0 -38
- package/lib/module/ui/screens/FAQScreen.js.map +0 -1
- package/lib/module/ui/screens/FeedbackScreen.js +0 -58
- package/lib/module/ui/screens/FeedbackScreen.js.map +0 -1
- package/lib/module/ui/screens/FileManagementScreen.js +0 -149
- package/lib/module/ui/screens/FileManagementScreen.js.map +0 -1
- package/lib/module/ui/screens/FollowersListScreen.js +0 -8
- package/lib/module/ui/screens/FollowersListScreen.js.map +1 -1
- package/lib/module/ui/screens/FollowingListScreen.js +4 -12
- package/lib/module/ui/screens/FollowingListScreen.js.map +1 -1
- package/lib/module/ui/screens/HelpSupportScreen.js +0 -45
- package/lib/module/ui/screens/HelpSupportScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +41 -81
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +0 -71
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +0 -1
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js +31 -33
- package/lib/module/ui/screens/LearnMoreUsernamesScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +35 -72
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/OxyAuthScreen.js +0 -50
- package/lib/module/ui/screens/OxyAuthScreen.js.map +0 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +0 -28
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +0 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +205 -186
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +0 -56
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/ProfileScreen.js +101 -102
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +0 -55
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +0 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +0 -39
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +0 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +89 -81
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/UserLinksScreen.js +18 -21
- package/lib/module/ui/screens/UserLinksScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +0 -69
- package/lib/module/ui/screens/UserListScreen.js.map +0 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +82 -123
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js +26 -29
- package/lib/module/ui/screens/karma/KarmaAboutScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js +72 -74
- package/lib/module/ui/screens/karma/KarmaCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js +43 -83
- package/lib/module/ui/screens/karma/KarmaFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js +0 -30
- package/lib/module/ui/screens/karma/KarmaLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js +80 -81
- package/lib/module/ui/screens/karma/KarmaRewardsScreen.js.map +1 -1
- package/lib/module/ui/server.js +29 -50
- package/lib/module/ui/server.js.map +1 -1
- package/lib/module/ui/stores/accountStore.js +0 -7
- package/lib/module/ui/stores/accountStore.js.map +0 -1
- package/lib/module/ui/stores/assetStore.js +14 -24
- package/lib/module/ui/stores/assetStore.js.map +1 -1
- package/lib/module/ui/stores/authStore.js +5 -8
- package/lib/module/ui/stores/authStore.js.map +1 -1
- package/lib/module/ui/stores/fileStore.js +0 -6
- package/lib/module/ui/stores/fileStore.js.map +0 -1
- package/lib/module/ui/stores/followStore.js +9 -6
- package/lib/module/ui/stores/followStore.js.map +1 -1
- package/lib/module/ui/styles/authStyles.js +12 -17
- package/lib/module/ui/styles/authStyles.js.map +1 -1
- package/lib/module/ui/styles/fonts.js +0 -8
- package/lib/module/ui/styles/fonts.js.map +0 -1
- package/lib/module/ui/styles/index.js +4 -26
- package/lib/module/ui/styles/index.js.map +1 -1
- package/lib/module/ui/styles/spacing.js +0 -54
- package/lib/module/ui/styles/spacing.js.map +1 -1
- package/lib/module/ui/styles/theme.js +13 -19
- package/lib/module/ui/styles/theme.js.map +1 -1
- package/lib/module/ui/types/fileManagement.js +1 -3
- package/lib/module/ui/types/fileManagement.js.map +0 -1
- package/lib/module/ui/types/navigation.js +1 -3
- package/lib/module/ui/types/navigation.js.map +1 -1
- package/lib/module/ui/utils/avatarUtils.js +0 -5
- package/lib/module/ui/utils/avatarUtils.js.map +0 -1
- package/lib/module/ui/utils/colorUtils.js +0 -44
- package/lib/module/ui/utils/colorUtils.js.map +0 -1
- package/lib/module/ui/utils/confirmAction.js +0 -7
- package/lib/module/ui/utils/confirmAction.js.map +1 -1
- package/lib/module/ui/utils/errorHandlers.js +18 -16
- package/lib/module/ui/utils/errorHandlers.js.map +1 -1
- package/lib/module/ui/utils/fileManagement.js +0 -6
- package/lib/module/ui/utils/fileManagement.js.map +0 -1
- package/lib/module/ui/utils/iconNames.js +20 -24
- package/lib/module/ui/utils/iconNames.js.map +1 -1
- package/lib/module/ui/utils/sessionHelpers.js +15 -17
- package/lib/module/ui/utils/sessionHelpers.js.map +1 -1
- package/lib/module/ui/utils/storageHelpers.js +10 -12
- package/lib/module/ui/utils/storageHelpers.js.map +1 -1
- package/lib/module/ui/utils/themeUtils.js +2 -35
- package/lib/module/ui/utils/themeUtils.js.map +0 -1
- package/lib/module/ui/utils/userUtils.js +6 -10
- package/lib/module/ui/utils/userUtils.js.map +1 -1
- package/lib/module/utils/hookUtils.js +83 -82
- package/lib/module/utils/hookUtils.js.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +2 -1
- package/lib/typescript/commonjs/index.d.ts.map +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/index.d.ts +28 -21
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +2 -1
- package/lib/typescript/module/index.d.ts.map +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/index.d.ts +28 -21
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -1
- package/src/ui/hooks/useAuth.ts +0 -2
- package/src/ui/index.ts +33 -104
- package/lib/commonjs/assets/assets/icons/OxyServices.d.ts +0 -28
- package/lib/commonjs/assets/assets/icons/OxyServices.js +0 -53
- package/lib/commonjs/assets/assets/illustrations/HighFive.d.ts +0 -7
- package/lib/commonjs/assets/assets/illustrations/HighFive.js +0 -41
- package/lib/module/assets/assets/icons/OxyServices.d.ts +0 -28
- package/lib/module/assets/assets/icons/OxyServices.js +0 -53
- package/lib/module/assets/assets/illustrations/HighFive.d.ts +0 -7
- package/lib/module/assets/assets/illustrations/HighFive.js +0 -41
- package/lib/typescript/assets/icons/OxyServices.d.ts +0 -28
- package/lib/typescript/assets/illustrations/HighFive.d.ts +0 -7
- package/lib/typescript/index.d.ts +0 -46
- package/lib/typescript/lib/sonner-safe.d.ts +0 -8
- package/lib/typescript/lib/sonner.d.ts +0 -11
- package/lib/typescript/lib/sonner.native.d.ts +0 -14
- package/lib/typescript/lib/sonner.web.d.ts +0 -14
- package/lib/typescript/ui/client.d.ts +0 -30
- package/lib/typescript/ui/components/ActivityIndicator.d.ts +0 -44
- package/lib/typescript/ui/components/AutoHeightScrollView.d.ts +0 -22
- package/lib/typescript/ui/components/Avatar.d.ts +0 -60
- package/lib/typescript/ui/components/BottomSheet.d.ts +0 -28
- package/lib/typescript/ui/components/BottomSheetRouter.d.ts +0 -8
- package/lib/typescript/ui/components/CrossFadeIcon.d.ts +0 -26
- package/lib/typescript/ui/components/EmptyState.d.ts +0 -7
- package/lib/typescript/ui/components/FollowButton.d.ts +0 -28
- package/lib/typescript/ui/components/FontLoader.d.ts +0 -14
- package/lib/typescript/ui/components/GroupedItem.d.ts +0 -23
- package/lib/typescript/ui/components/GroupedSection.d.ts +0 -29
- package/lib/typescript/ui/components/Header.d.ts +0 -37
- package/lib/typescript/ui/components/HelperText.d.ts +0 -46
- package/lib/typescript/ui/components/Icon.d.ts +0 -59
- package/lib/typescript/ui/components/IconButton/IconButton.d.ts +0 -98
- package/lib/typescript/ui/components/IconButton/utils.d.ts +0 -18
- package/lib/typescript/ui/components/LoadingState.d.ts +0 -8
- package/lib/typescript/ui/components/OxyLogo.d.ts +0 -28
- package/lib/typescript/ui/components/OxyPayButton.d.ts +0 -28
- package/lib/typescript/ui/components/OxyProvider.d.ts +0 -37
- package/lib/typescript/ui/components/OxySignInButton.d.ts +0 -64
- package/lib/typescript/ui/components/ProfileCard.d.ts +0 -17
- package/lib/typescript/ui/components/QuickActions.d.ts +0 -14
- package/lib/typescript/ui/components/Section.d.ts +0 -11
- package/lib/typescript/ui/components/SectionTitle.d.ts +0 -9
- package/lib/typescript/ui/components/SettingRow.d.ts +0 -19
- package/lib/typescript/ui/components/SignInModal.d.ts +0 -17
- package/lib/typescript/ui/components/StepBasedScreen.d.ts +0 -25
- package/lib/typescript/ui/components/Surface.d.ts +0 -75
- package/lib/typescript/ui/components/TextField/Addons/Outline.d.ts +0 -15
- package/lib/typescript/ui/components/TextField/Addons/Underline.d.ts +0 -18
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -44
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -72
- package/lib/typescript/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -77
- package/lib/typescript/ui/components/TextField/Adornment/enums.d.ts +0 -12
- package/lib/typescript/ui/components/TextField/Adornment/types.d.ts +0 -11
- package/lib/typescript/ui/components/TextField/Adornment/utils.d.ts +0 -11
- package/lib/typescript/ui/components/TextField/Label/InputLabel.d.ts +0 -4
- package/lib/typescript/ui/components/TextField/Label/LabelBackground.d.ts +0 -3
- package/lib/typescript/ui/components/TextField/TextFieldFlat.d.ts +0 -3
- package/lib/typescript/ui/components/TextField/TextFieldOutlined.d.ts +0 -3
- package/lib/typescript/ui/components/TextField/constants.d.ts +0 -31
- package/lib/typescript/ui/components/TextField/helpers.d.ts +0 -96
- package/lib/typescript/ui/components/TextField/types.d.ts +0 -155
- package/lib/typescript/ui/components/TextField.d.ts +0 -191
- package/lib/typescript/ui/components/TouchableRipple/Pressable.d.ts +0 -12
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -61
- package/lib/typescript/ui/components/TouchableRipple/TouchableRipple.native.d.ts +0 -24
- package/lib/typescript/ui/components/TouchableRipple/utils.d.ts +0 -10
- package/lib/typescript/ui/components/Typography/AnimatedText.d.ts +0 -34
- package/lib/typescript/ui/components/Typography/types.d.ts +0 -18
- package/lib/typescript/ui/components/feedback/FormInput.d.ts +0 -19
- package/lib/typescript/ui/components/feedback/ProgressIndicator.d.ts +0 -10
- package/lib/typescript/ui/components/feedback/constants.d.ts +0 -4
- package/lib/typescript/ui/components/feedback/feedbackStyles.d.ts +0 -279
- package/lib/typescript/ui/components/feedback/index.d.ts +0 -6
- package/lib/typescript/ui/components/feedback/types.d.ts +0 -45
- package/lib/typescript/ui/components/feedback/useFeedbackForm.d.ts +0 -8
- package/lib/typescript/ui/components/fileManagement/AnimatedButton.d.ts +0 -15
- package/lib/typescript/ui/components/fileManagement/FileDetailsModal.d.ts +0 -14
- package/lib/typescript/ui/components/fileManagement/FileViewer.d.ts +0 -17
- package/lib/typescript/ui/components/fileManagement/UploadPreview.d.ts +0 -20
- package/lib/typescript/ui/components/fileManagement/styles.d.ts +0 -859
- package/lib/typescript/ui/components/icon/FAIRWalletIcon.d.ts +0 -8
- package/lib/typescript/ui/components/icon/OxyIcon.d.ts +0 -9
- package/lib/typescript/ui/components/icon/index.d.ts +0 -3
- package/lib/typescript/ui/components/index.d.ts +0 -16
- package/lib/typescript/ui/components/internal/GroupedPillButtons.d.ts +0 -23
- package/lib/typescript/ui/components/internal/PinInput.d.ts +0 -22
- package/lib/typescript/ui/components/modals/DeleteAccountModal.d.ts +0 -18
- package/lib/typescript/ui/components/modals/index.d.ts +0 -1
- package/lib/typescript/ui/components/payment/PaymentDetailsStep.d.ts +0 -20
- package/lib/typescript/ui/components/payment/PaymentMethodStep.d.ts +0 -13
- package/lib/typescript/ui/components/payment/PaymentReviewStep.d.ts +0 -15
- package/lib/typescript/ui/components/payment/PaymentSuccessStep.d.ts +0 -9
- package/lib/typescript/ui/components/payment/PaymentSummaryStep.d.ts +0 -14
- package/lib/typescript/ui/components/payment/constants.d.ts +0 -6
- package/lib/typescript/ui/components/payment/index.d.ts +0 -8
- package/lib/typescript/ui/components/payment/paymentStyles.d.ts +0 -395
- package/lib/typescript/ui/components/payment/types.d.ts +0 -39
- package/lib/typescript/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -26
- package/lib/typescript/ui/components/styles/overlay.d.ts +0 -3
- package/lib/typescript/ui/components/styles/shadow.d.ts +0 -2
- package/lib/typescript/ui/components/theming.d.ts +0 -7
- package/lib/typescript/ui/components/types.d.ts +0 -80
- package/lib/typescript/ui/components/utils/forwardRef.d.ts +0 -11
- package/lib/typescript/ui/components/utils/hasTouchHandler.d.ts +0 -5
- package/lib/typescript/ui/components/utils/roundLayoutSize.d.ts +0 -1
- package/lib/typescript/ui/components/utils/splitStyles.d.ts +0 -19
- package/lib/typescript/ui/constants/iconColors.d.ts +0 -129
- package/lib/typescript/ui/constants/spacing.d.ts +0 -32
- package/lib/typescript/ui/constants/theme.d.ts +0 -96
- package/lib/typescript/ui/context/OxyContext.d.ts +0 -75
- package/lib/typescript/ui/context/ThemeContext.d.ts +0 -18
- package/lib/typescript/ui/context/hooks/useAuthOperations.d.ts +0 -39
- package/lib/typescript/ui/hooks/index.d.ts +0 -6
- package/lib/typescript/ui/hooks/mutations/index.d.ts +0 -8
- package/lib/typescript/ui/hooks/mutations/mutationFactory.d.ts +0 -75
- package/lib/typescript/ui/hooks/mutations/useAccountMutations.d.ts +0 -42
- package/lib/typescript/ui/hooks/mutations/useServicesMutations.d.ts +0 -22
- package/lib/typescript/ui/hooks/queries/index.d.ts +0 -10
- package/lib/typescript/ui/hooks/queries/queryKeys.d.ts +0 -64
- package/lib/typescript/ui/hooks/queries/useAccountQueries.d.ts +0 -42
- package/lib/typescript/ui/hooks/queries/useSecurityQueries.d.ts +0 -14
- package/lib/typescript/ui/hooks/queries/useServicesQueries.d.ts +0 -30
- package/lib/typescript/ui/hooks/queryClient.d.ts +0 -18
- package/lib/typescript/ui/hooks/useAssets.d.ts +0 -34
- package/lib/typescript/ui/hooks/useAsyncAction.d.ts +0 -50
- package/lib/typescript/ui/hooks/useAuth.d.ts +0 -77
- package/lib/typescript/ui/hooks/useAvatarPicker.d.ts +0 -24
- package/lib/typescript/ui/hooks/useColorScheme.d.ts +0 -7
- package/lib/typescript/ui/hooks/useDeviceManagement.d.ts +0 -26
- package/lib/typescript/ui/hooks/useFileDownloadUrl.d.ts +0 -21
- package/lib/typescript/ui/hooks/useFileFiltering.d.ts +0 -28
- package/lib/typescript/ui/hooks/useFollow.d.ts +0 -92
- package/lib/typescript/ui/hooks/useFollow.types.d.ts +0 -32
- package/lib/typescript/ui/hooks/useI18n.d.ts +0 -4
- package/lib/typescript/ui/hooks/useLanguageManagement.d.ts +0 -24
- package/lib/typescript/ui/hooks/useProfileEditing.d.ts +0 -35
- package/lib/typescript/ui/hooks/useQueryClient.d.ts +0 -6
- package/lib/typescript/ui/hooks/useSessionManagement.d.ts +0 -40
- package/lib/typescript/ui/hooks/useSessionSocket.d.ts +0 -14
- package/lib/typescript/ui/hooks/useSettingToggle.d.ts +0 -56
- package/lib/typescript/ui/hooks/useStorage.d.ts +0 -15
- package/lib/typescript/ui/hooks/useThemeColors.d.ts +0 -93
- package/lib/typescript/ui/hooks/useThemeStyles.d.ts +0 -44
- package/lib/typescript/ui/hooks/useWebSSO.d.ts +0 -57
- package/lib/typescript/ui/index.d.ts +0 -23
- package/lib/typescript/ui/isFrontend.d.ts +0 -2
- package/lib/typescript/ui/navigation/bottomSheetManager.d.ts +0 -26
- package/lib/typescript/ui/navigation/routes.d.ts +0 -5
- package/lib/typescript/ui/screens/AccountCenterScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/AccountOverviewScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/AccountSettingsScreen.d.ts +0 -7
- package/lib/typescript/ui/screens/AccountSwitcherScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/AccountVerificationScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/AppInfoScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/EditProfileFieldScreen.d.ts +0 -12
- package/lib/typescript/ui/screens/FAQScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/FeedbackScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/FileManagementScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/FollowersListScreen.d.ts +0 -8
- package/lib/typescript/ui/screens/FollowingListScreen.d.ts +0 -8
- package/lib/typescript/ui/screens/HelpSupportScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/HistoryViewScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/LanguageSelectorScreen.d.ts +0 -6
- package/lib/typescript/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/LegalDocumentsScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/OxyAuthScreen.d.ts +0 -16
- package/lib/typescript/ui/screens/PaymentGatewayScreen.d.ts +0 -14
- package/lib/typescript/ui/screens/PremiumSubscriptionScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/PrivacySettingsScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/ProfileScreen.d.ts +0 -8
- package/lib/typescript/ui/screens/SavesCollectionsScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/SearchSettingsScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/SessionManagementScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/UserLinksScreen.d.ts +0 -14
- package/lib/typescript/ui/screens/UserListScreen.d.ts +0 -10
- package/lib/typescript/ui/screens/WelcomeNewUserScreen.d.ts +0 -12
- package/lib/typescript/ui/screens/karma/KarmaAboutScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/karma/KarmaCenterScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/karma/KarmaFAQScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/karma/KarmaLeaderboardScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/karma/KarmaRewardsScreen.d.ts +0 -4
- package/lib/typescript/ui/screens/karma/KarmaRulesScreen.d.ts +0 -4
- package/lib/typescript/ui/server.d.ts +0 -40
- package/lib/typescript/ui/stores/accountStore.d.ts +0 -26
- package/lib/typescript/ui/stores/assetStore.d.ts +0 -53
- package/lib/typescript/ui/stores/authStore.d.ts +0 -16
- package/lib/typescript/ui/stores/fileStore.d.ts +0 -30
- package/lib/typescript/ui/stores/followStore.d.ts +0 -24
- package/lib/typescript/ui/styles/authStyles.d.ts +0 -331
- package/lib/typescript/ui/styles/fonts.d.ts +0 -20
- package/lib/typescript/ui/styles/index.d.ts +0 -4
- package/lib/typescript/ui/styles/spacing.d.ts +0 -48
- package/lib/typescript/ui/styles/theme.d.ts +0 -67
- package/lib/typescript/ui/types/fileManagement.d.ts +0 -40
- package/lib/typescript/ui/types/navigation.d.ts +0 -36
- package/lib/typescript/ui/utils/avatarUtils.d.ts +0 -22
- package/lib/typescript/ui/utils/colorUtils.d.ts +0 -9
- package/lib/typescript/ui/utils/confirmAction.d.ts +0 -6
- package/lib/typescript/ui/utils/errorHandlers.d.ts +0 -34
- package/lib/typescript/ui/utils/fileManagement.d.ts +0 -86
- package/lib/typescript/ui/utils/iconNames.d.ts +0 -111
- package/lib/typescript/ui/utils/sessionHelpers.d.ts +0 -64
- package/lib/typescript/ui/utils/storageHelpers.d.ts +0 -27
- package/lib/typescript/ui/utils/themeUtils.d.ts +0 -10
- package/lib/typescript/ui/utils/userUtils.d.ts +0 -28
- package/lib/typescript/utils/hookUtils.d.ts +0 -101
- package/src/assets/icons/OxyServices.d.ts +0 -28
- package/src/assets/icons/OxyServices.js +0 -53
- package/src/assets/illustrations/HighFive.d.ts +0 -7
- package/src/assets/illustrations/HighFive.js +0 -41
- package/src/index.d.ts +0 -46
- package/src/index.js +0 -127
- package/src/lib/sonner-safe.d.ts +0 -8
- package/src/lib/sonner-safe.js +0 -28
- package/src/lib/sonner.d.ts +0 -11
- package/src/lib/sonner.js +0 -16
- package/src/lib/sonner.native.d.ts +0 -14
- package/src/lib/sonner.native.js +0 -46
- package/src/lib/sonner.web.d.ts +0 -14
- package/src/lib/sonner.web.js +0 -46
- package/src/ui/client.d.ts +0 -30
- package/src/ui/client.js +0 -64
- package/src/ui/components/ActivityIndicator.d.ts +0 -44
- package/src/ui/components/ActivityIndicator.js +0 -184
- package/src/ui/components/AutoHeightScrollView.d.ts +0 -22
- package/src/ui/components/AutoHeightScrollView.js +0 -33
- package/src/ui/components/Avatar.d.ts +0 -60
- package/src/ui/components/Avatar.js +0 -146
- package/src/ui/components/BottomSheet.d.ts +0 -28
- package/src/ui/components/BottomSheet.js +0 -374
- package/src/ui/components/BottomSheetRouter.d.ts +0 -8
- package/src/ui/components/BottomSheetRouter.js +0 -211
- package/src/ui/components/CrossFadeIcon.d.ts +0 -26
- package/src/ui/components/CrossFadeIcon.js +0 -111
- package/src/ui/components/EmptyState.d.ts +0 -7
- package/src/ui/components/EmptyState.js +0 -27
- package/src/ui/components/FollowButton.d.ts +0 -28
- package/src/ui/components/FollowButton.js +0 -197
- package/src/ui/components/FontLoader.d.ts +0 -14
- package/src/ui/components/FontLoader.js +0 -185
- package/src/ui/components/GroupedItem.d.ts +0 -23
- package/src/ui/components/GroupedItem.js +0 -84
- package/src/ui/components/GroupedSection.d.ts +0 -29
- package/src/ui/components/GroupedSection.js +0 -13
- package/src/ui/components/Header.d.ts +0 -37
- package/src/ui/components/Header.js +0 -400
- package/src/ui/components/HelperText.d.ts +0 -46
- package/src/ui/components/HelperText.js +0 -119
- package/src/ui/components/Icon.d.ts +0 -59
- package/src/ui/components/Icon.js +0 -108
- package/src/ui/components/IconButton/IconButton.d.ts +0 -98
- package/src/ui/components/IconButton/IconButton.js +0 -90
- package/src/ui/components/IconButton/utils.d.ts +0 -18
- package/src/ui/components/IconButton/utils.js +0 -119
- package/src/ui/components/LoadingState.d.ts +0 -8
- package/src/ui/components/LoadingState.js +0 -29
- package/src/ui/components/OxyLogo.d.ts +0 -28
- package/src/ui/components/OxyLogo.js +0 -53
- package/src/ui/components/OxyPayButton.d.ts +0 -28
- package/src/ui/components/OxyPayButton.js +0 -76
- package/src/ui/components/OxyProvider.d.ts +0 -37
- package/src/ui/components/OxyProvider.js +0 -197
- package/src/ui/components/OxySignInButton.d.ts +0 -64
- package/src/ui/components/OxySignInButton.js +0 -145
- package/src/ui/components/ProfileCard.d.ts +0 -17
- package/src/ui/components/ProfileCard.js +0 -82
- package/src/ui/components/QuickActions.d.ts +0 -14
- package/src/ui/components/QuickActions.js +0 -62
- package/src/ui/components/Section.d.ts +0 -11
- package/src/ui/components/Section.js +0 -24
- package/src/ui/components/SectionTitle.d.ts +0 -9
- package/src/ui/components/SectionTitle.js +0 -21
- package/src/ui/components/SettingRow.d.ts +0 -19
- package/src/ui/components/SettingRow.js +0 -38
- package/src/ui/components/SignInModal.d.ts +0 -17
- package/src/ui/components/SignInModal.js +0 -428
- package/src/ui/components/StepBasedScreen.d.ts +0 -25
- package/src/ui/components/StepBasedScreen.js +0 -372
- package/src/ui/components/Surface.d.ts +0 -75
- package/src/ui/components/Surface.js +0 -239
- package/src/ui/components/TextField/Addons/Outline.d.ts +0 -15
- package/src/ui/components/TextField/Addons/Outline.js +0 -30
- package/src/ui/components/TextField/Addons/Underline.d.ts +0 -18
- package/src/ui/components/TextField/Addons/Underline.js +0 -45
- package/src/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -44
- package/src/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -132
- package/src/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -72
- package/src/ui/components/TextField/Adornment/TextFieldAffix.js +0 -88
- package/src/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -77
- package/src/ui/components/TextField/Adornment/TextFieldIcon.js +0 -91
- package/src/ui/components/TextField/Adornment/enums.d.ts +0 -12
- package/src/ui/components/TextField/Adornment/enums.js +0 -18
- package/src/ui/components/TextField/Adornment/types.d.ts +0 -11
- package/src/ui/components/TextField/Adornment/types.js +0 -2
- package/src/ui/components/TextField/Adornment/utils.d.ts +0 -11
- package/src/ui/components/TextField/Adornment/utils.js +0 -50
- package/src/ui/components/TextField/Label/InputLabel.d.ts +0 -4
- package/src/ui/components/TextField/Label/InputLabel.js +0 -125
- package/src/ui/components/TextField/Label/LabelBackground.d.ts +0 -3
- package/src/ui/components/TextField/Label/LabelBackground.js +0 -71
- package/src/ui/components/TextField/TextFieldFlat.d.ts +0 -3
- package/src/ui/components/TextField/TextFieldFlat.js +0 -347
- package/src/ui/components/TextField/TextFieldOutlined.d.ts +0 -3
- package/src/ui/components/TextField/TextFieldOutlined.js +0 -313
- package/src/ui/components/TextField/constants.d.ts +0 -31
- package/src/ui/components/TextField/constants.js +0 -40
- package/src/ui/components/TextField/helpers.d.ts +0 -96
- package/src/ui/components/TextField/helpers.js +0 -388
- package/src/ui/components/TextField/types.d.ts +0 -155
- package/src/ui/components/TextField/types.js +0 -2
- package/src/ui/components/TextField.d.ts +0 -191
- package/src/ui/components/TextField.js +0 -291
- package/src/ui/components/TouchableRipple/Pressable.d.ts +0 -12
- package/src/ui/components/TouchableRipple/Pressable.js +0 -5
- package/src/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -61
- package/src/ui/components/TouchableRipple/TouchableRipple.js +0 -246
- package/src/ui/components/TouchableRipple/TouchableRipple.native.d.ts +0 -24
- package/src/ui/components/TouchableRipple/TouchableRipple.native.js +0 -99
- package/src/ui/components/TouchableRipple/utils.d.ts +0 -10
- package/src/ui/components/TouchableRipple/utils.js +0 -40
- package/src/ui/components/Typography/AnimatedText.d.ts +0 -34
- package/src/ui/components/Typography/AnimatedText.js +0 -49
- package/src/ui/components/Typography/types.d.ts +0 -18
- package/src/ui/components/Typography/types.js +0 -22
- package/src/ui/components/feedback/FormInput.d.ts +0 -19
- package/src/ui/components/feedback/FormInput.js +0 -26
- package/src/ui/components/feedback/ProgressIndicator.d.ts +0 -10
- package/src/ui/components/feedback/ProgressIndicator.js +0 -16
- package/src/ui/components/feedback/constants.d.ts +0 -4
- package/src/ui/components/feedback/constants.js +0 -21
- package/src/ui/components/feedback/feedbackStyles.d.ts +0 -279
- package/src/ui/components/feedback/feedbackStyles.js +0 -250
- package/src/ui/components/feedback/index.d.ts +0 -6
- package/src/ui/components/feedback/index.js +0 -18
- package/src/ui/components/feedback/types.d.ts +0 -45
- package/src/ui/components/feedback/types.js +0 -2
- package/src/ui/components/feedback/useFeedbackForm.d.ts +0 -8
- package/src/ui/components/feedback/useFeedbackForm.js +0 -42
- package/src/ui/components/fileManagement/AnimatedButton.d.ts +0 -15
- package/src/ui/components/fileManagement/AnimatedButton.js +0 -29
- package/src/ui/components/fileManagement/FileDetailsModal.d.ts +0 -14
- package/src/ui/components/fileManagement/FileDetailsModal.js +0 -22
- package/src/ui/components/fileManagement/FileViewer.d.ts +0 -17
- package/src/ui/components/fileManagement/FileViewer.js +0 -138
- package/src/ui/components/fileManagement/UploadPreview.d.ts +0 -20
- package/src/ui/components/fileManagement/UploadPreview.js +0 -35
- package/src/ui/components/fileManagement/styles.d.ts +0 -859
- package/src/ui/components/fileManagement/styles.js +0 -861
- package/src/ui/components/icon/FAIRWalletIcon.d.ts +0 -8
- package/src/ui/components/icon/FAIRWalletIcon.js +0 -54
- package/src/ui/components/icon/OxyIcon.d.ts +0 -9
- package/src/ui/components/icon/OxyIcon.js +0 -9
- package/src/ui/components/icon/index.d.ts +0 -3
- package/src/ui/components/icon/index.js +0 -10
- package/src/ui/components/index.d.ts +0 -16
- package/src/ui/components/index.js +0 -42
- package/src/ui/components/internal/GroupedPillButtons.d.ts +0 -23
- package/src/ui/components/internal/GroupedPillButtons.js +0 -149
- package/src/ui/components/internal/PinInput.d.ts +0 -22
- package/src/ui/components/internal/PinInput.js +0 -76
- package/src/ui/components/modals/DeleteAccountModal.d.ts +0 -18
- package/src/ui/components/modals/DeleteAccountModal.js +0 -154
- package/src/ui/components/modals/index.d.ts +0 -1
- package/src/ui/components/modals/index.js +0 -8
- package/src/ui/components/payment/PaymentDetailsStep.d.ts +0 -20
- package/src/ui/components/payment/PaymentDetailsStep.js +0 -65
- package/src/ui/components/payment/PaymentMethodStep.d.ts +0 -13
- package/src/ui/components/payment/PaymentMethodStep.js +0 -54
- package/src/ui/components/payment/PaymentReviewStep.d.ts +0 -15
- package/src/ui/components/payment/PaymentReviewStep.js +0 -88
- package/src/ui/components/payment/PaymentSuccessStep.d.ts +0 -9
- package/src/ui/components/payment/PaymentSuccessStep.js +0 -35
- package/src/ui/components/payment/PaymentSummaryStep.d.ts +0 -14
- package/src/ui/components/payment/PaymentSummaryStep.js +0 -60
- package/src/ui/components/payment/constants.d.ts +0 -6
- package/src/ui/components/payment/constants.js +0 -38
- package/src/ui/components/payment/index.d.ts +0 -8
- package/src/ui/components/payment/index.js +0 -24
- package/src/ui/components/payment/paymentStyles.d.ts +0 -395
- package/src/ui/components/payment/paymentStyles.js +0 -399
- package/src/ui/components/payment/types.d.ts +0 -39
- package/src/ui/components/payment/types.js +0 -2
- package/src/ui/components/photogrid/JustifiedPhotoGrid.d.ts +0 -26
- package/src/ui/components/photogrid/JustifiedPhotoGrid.js +0 -122
- package/src/ui/components/styles/overlay.d.ts +0 -3
- package/src/ui/components/styles/overlay.js +0 -81
- package/src/ui/components/styles/shadow.d.ts +0 -2
- package/src/ui/components/styles/shadow.js +0 -123
- package/src/ui/components/theming.d.ts +0 -7
- package/src/ui/components/theming.js +0 -111
- package/src/ui/components/types.d.ts +0 -80
- package/src/ui/components/types.js +0 -2
- package/src/ui/components/utils/forwardRef.d.ts +0 -11
- package/src/ui/components/utils/forwardRef.js +0 -46
- package/src/ui/components/utils/hasTouchHandler.d.ts +0 -5
- package/src/ui/components/utils/hasTouchHandler.js +0 -14
- package/src/ui/components/utils/roundLayoutSize.d.ts +0 -1
- package/src/ui/components/utils/roundLayoutSize.js +0 -5
- package/src/ui/components/utils/splitStyles.d.ts +0 -19
- package/src/ui/components/utils/splitStyles.js +0 -40
- package/src/ui/constants/iconColors.d.ts +0 -129
- package/src/ui/constants/iconColors.js +0 -76
- package/src/ui/constants/spacing.d.ts +0 -32
- package/src/ui/constants/spacing.js +0 -40
- package/src/ui/constants/theme.d.ts +0 -96
- package/src/ui/constants/theme.js +0 -118
- package/src/ui/context/OxyContext.d.ts +0 -75
- package/src/ui/context/OxyContext.js +0 -522
- package/src/ui/context/ThemeContext.d.ts +0 -18
- package/src/ui/context/ThemeContext.js +0 -25
- package/src/ui/context/hooks/useAuthOperations.d.ts +0 -39
- package/src/ui/context/hooks/useAuthOperations.js +0 -318
- package/src/ui/hooks/index.d.ts +0 -6
- package/src/ui/hooks/index.js +0 -19
- package/src/ui/hooks/mutations/index.d.ts +0 -8
- package/src/ui/hooks/mutations/index.js +0 -23
- package/src/ui/hooks/mutations/mutationFactory.d.ts +0 -75
- package/src/ui/hooks/mutations/mutationFactory.js +0 -126
- package/src/ui/hooks/mutations/useAccountMutations.d.ts +0 -42
- package/src/ui/hooks/mutations/useAccountMutations.js +0 -274
- package/src/ui/hooks/mutations/useServicesMutations.d.ts +0 -22
- package/src/ui/hooks/mutations/useServicesMutations.js +0 -149
- package/src/ui/hooks/queries/index.d.ts +0 -10
- package/src/ui/hooks/queries/index.js +0 -35
- package/src/ui/hooks/queries/queryKeys.d.ts +0 -64
- package/src/ui/hooks/queries/queryKeys.js +0 -82
- package/src/ui/hooks/queries/useAccountQueries.d.ts +0 -42
- package/src/ui/hooks/queries/useAccountQueries.js +0 -141
- package/src/ui/hooks/queries/useSecurityQueries.d.ts +0 -14
- package/src/ui/hooks/queries/useSecurityQueries.js +0 -45
- package/src/ui/hooks/queries/useServicesQueries.d.ts +0 -30
- package/src/ui/hooks/queries/useServicesQueries.js +0 -113
- package/src/ui/hooks/queryClient.d.ts +0 -18
- package/src/ui/hooks/queryClient.js +0 -111
- package/src/ui/hooks/useAssets.d.ts +0 -34
- package/src/ui/hooks/useAssets.js +0 -204
- package/src/ui/hooks/useAsyncAction.d.ts +0 -50
- package/src/ui/hooks/useAsyncAction.js +0 -77
- package/src/ui/hooks/useAuth.d.ts +0 -77
- package/src/ui/hooks/useAuth.js +0 -135
- package/src/ui/hooks/useAvatarPicker.d.ts +0 -24
- package/src/ui/hooks/useAvatarPicker.js +0 -44
- package/src/ui/hooks/useColorScheme.d.ts +0 -7
- package/src/ui/hooks/useColorScheme.js +0 -23
- package/src/ui/hooks/useDeviceManagement.d.ts +0 -26
- package/src/ui/hooks/useDeviceManagement.js +0 -69
- package/src/ui/hooks/useFileDownloadUrl.d.ts +0 -21
- package/src/ui/hooks/useFileDownloadUrl.js +0 -104
- package/src/ui/hooks/useFileFiltering.d.ts +0 -28
- package/src/ui/hooks/useFileFiltering.js +0 -80
- package/src/ui/hooks/useFollow.d.ts +0 -92
- package/src/ui/hooks/useFollow.js +0 -216
- package/src/ui/hooks/useFollow.types.d.ts +0 -32
- package/src/ui/hooks/useFollow.types.js +0 -4
- package/src/ui/hooks/useI18n.d.ts +0 -4
- package/src/ui/hooks/useI18n.js +0 -13
- package/src/ui/hooks/useLanguageManagement.d.ts +0 -24
- package/src/ui/hooks/useLanguageManagement.js +0 -108
- package/src/ui/hooks/useProfileEditing.d.ts +0 -35
- package/src/ui/hooks/useProfileEditing.js +0 -101
- package/src/ui/hooks/useQueryClient.d.ts +0 -6
- package/src/ui/hooks/useQueryClient.js +0 -16
- package/src/ui/hooks/useSessionManagement.d.ts +0 -40
- package/src/ui/hooks/useSessionManagement.js +0 -312
- package/src/ui/hooks/useSessionSocket.d.ts +0 -14
- package/src/ui/hooks/useSessionSocket.js +0 -209
- package/src/ui/hooks/useSettingToggle.d.ts +0 -56
- package/src/ui/hooks/useSettingToggle.js +0 -97
- package/src/ui/hooks/useStorage.d.ts +0 -15
- package/src/ui/hooks/useStorage.js +0 -40
- package/src/ui/hooks/useThemeColors.d.ts +0 -93
- package/src/ui/hooks/useThemeColors.js +0 -27
- package/src/ui/hooks/useThemeStyles.d.ts +0 -44
- package/src/ui/hooks/useThemeStyles.js +0 -63
- package/src/ui/hooks/useWebSSO.d.ts +0 -57
- package/src/ui/hooks/useWebSSO.js +0 -146
- package/src/ui/index.d.ts +0 -23
- package/src/ui/index.js +0 -97
- package/src/ui/isFrontend.d.ts +0 -2
- package/src/ui/isFrontend.js +0 -6
- package/src/ui/navigation/bottomSheetManager.d.ts +0 -26
- package/src/ui/navigation/bottomSheetManager.js +0 -68
- package/src/ui/navigation/routes.d.ts +0 -5
- package/src/ui/navigation/routes.js +0 -75
- package/src/ui/screens/AccountCenterScreen.d.ts +0 -4
- package/src/ui/screens/AccountCenterScreen.js +0 -202
- package/src/ui/screens/AccountOverviewScreen.d.ts +0 -4
- package/src/ui/screens/AccountOverviewScreen.js +0 -648
- package/src/ui/screens/AccountSettingsScreen.d.ts +0 -7
- package/src/ui/screens/AccountSettingsScreen.js +0 -480
- package/src/ui/screens/AccountSwitcherScreen.d.ts +0 -4
- package/src/ui/screens/AccountSwitcherScreen.js +0 -482
- package/src/ui/screens/AccountVerificationScreen.d.ts +0 -4
- package/src/ui/screens/AccountVerificationScreen.js +0 -164
- package/src/ui/screens/AppInfoScreen.d.ts +0 -4
- package/src/ui/screens/AppInfoScreen.js +0 -373
- package/src/ui/screens/EditProfileFieldScreen.d.ts +0 -12
- package/src/ui/screens/EditProfileFieldScreen.js +0 -549
- package/src/ui/screens/FAQScreen.d.ts +0 -4
- package/src/ui/screens/FAQScreen.js +0 -182
- package/src/ui/screens/FeedbackScreen.d.ts +0 -4
- package/src/ui/screens/FeedbackScreen.js +0 -160
- package/src/ui/screens/FileManagementScreen.d.ts +0 -4
- package/src/ui/screens/FileManagementScreen.js +0 -1473
- package/src/ui/screens/FollowersListScreen.d.ts +0 -8
- package/src/ui/screens/FollowersListScreen.js +0 -11
- package/src/ui/screens/FollowingListScreen.d.ts +0 -8
- package/src/ui/screens/FollowingListScreen.js +0 -11
- package/src/ui/screens/HelpSupportScreen.d.ts +0 -4
- package/src/ui/screens/HelpSupportScreen.js +0 -140
- package/src/ui/screens/HistoryViewScreen.d.ts +0 -4
- package/src/ui/screens/HistoryViewScreen.js +0 -225
- package/src/ui/screens/LanguageSelectorScreen.d.ts +0 -6
- package/src/ui/screens/LanguageSelectorScreen.js +0 -178
- package/src/ui/screens/LearnMoreUsernamesScreen.d.ts +0 -4
- package/src/ui/screens/LearnMoreUsernamesScreen.js +0 -150
- package/src/ui/screens/LegalDocumentsScreen.d.ts +0 -4
- package/src/ui/screens/LegalDocumentsScreen.js +0 -185
- package/src/ui/screens/OxyAuthScreen.d.ts +0 -16
- package/src/ui/screens/OxyAuthScreen.js +0 -431
- package/src/ui/screens/PaymentGatewayScreen.d.ts +0 -14
- package/src/ui/screens/PaymentGatewayScreen.js +0 -171
- package/src/ui/screens/PremiumSubscriptionScreen.d.ts +0 -4
- package/src/ui/screens/PremiumSubscriptionScreen.js +0 -1080
- package/src/ui/screens/PrivacySettingsScreen.d.ts +0 -4
- package/src/ui/screens/PrivacySettingsScreen.js +0 -252
- package/src/ui/screens/ProfileScreen.d.ts +0 -8
- package/src/ui/screens/ProfileScreen.js +0 -254
- package/src/ui/screens/SavesCollectionsScreen.d.ts +0 -4
- package/src/ui/screens/SavesCollectionsScreen.js +0 -150
- package/src/ui/screens/SearchSettingsScreen.d.ts +0 -4
- package/src/ui/screens/SearchSettingsScreen.js +0 -109
- package/src/ui/screens/SessionManagementScreen.d.ts +0 -4
- package/src/ui/screens/SessionManagementScreen.js +0 -320
- package/src/ui/screens/UserLinksScreen.d.ts +0 -14
- package/src/ui/screens/UserLinksScreen.js +0 -57
- package/src/ui/screens/UserListScreen.d.ts +0 -10
- package/src/ui/screens/UserListScreen.js +0 -249
- package/src/ui/screens/WelcomeNewUserScreen.d.ts +0 -12
- package/src/ui/screens/WelcomeNewUserScreen.js +0 -304
- package/src/ui/screens/karma/KarmaAboutScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaAboutScreen.js +0 -39
- package/src/ui/screens/karma/KarmaCenterScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaCenterScreen.js +0 -159
- package/src/ui/screens/karma/KarmaFAQScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaFAQScreen.js +0 -143
- package/src/ui/screens/karma/KarmaLeaderboardScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaLeaderboardScreen.js +0 -56
- package/src/ui/screens/karma/KarmaRewardsScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaRewardsScreen.js +0 -460
- package/src/ui/screens/karma/KarmaRulesScreen.d.ts +0 -4
- package/src/ui/screens/karma/KarmaRulesScreen.js +0 -47
- package/src/ui/server.d.ts +0 -40
- package/src/ui/server.js +0 -57
- package/src/ui/stores/accountStore.d.ts +0 -26
- package/src/ui/stores/accountStore.js +0 -196
- package/src/ui/stores/assetStore.d.ts +0 -53
- package/src/ui/stores/assetStore.js +0 -192
- package/src/ui/stores/authStore.d.ts +0 -16
- package/src/ui/stores/authStore.js +0 -47
- package/src/ui/stores/fileStore.d.ts +0 -30
- package/src/ui/stores/fileStore.js +0 -113
- package/src/ui/stores/followStore.d.ts +0 -24
- package/src/ui/stores/followStore.js +0 -154
- package/src/ui/styles/authStyles.d.ts +0 -331
- package/src/ui/styles/authStyles.js +0 -332
- package/src/ui/styles/fonts.d.ts +0 -20
- package/src/ui/styles/fonts.js +0 -72
- package/src/ui/styles/index.d.ts +0 -4
- package/src/ui/styles/index.js +0 -20
- package/src/ui/styles/spacing.d.ts +0 -48
- package/src/ui/styles/spacing.js +0 -63
- package/src/ui/styles/theme.d.ts +0 -67
- package/src/ui/styles/theme.js +0 -114
- package/src/ui/types/fileManagement.d.ts +0 -40
- package/src/ui/types/fileManagement.js +0 -2
- package/src/ui/types/navigation.d.ts +0 -36
- package/src/ui/types/navigation.js +0 -2
- package/src/ui/utils/avatarUtils.d.ts +0 -22
- package/src/ui/utils/avatarUtils.js +0 -52
- package/src/ui/utils/colorUtils.d.ts +0 -9
- package/src/ui/utils/colorUtils.js +0 -19
- package/src/ui/utils/confirmAction.d.ts +0 -6
- package/src/ui/utils/confirmAction.js +0 -22
- package/src/ui/utils/errorHandlers.d.ts +0 -34
- package/src/ui/utils/errorHandlers.js +0 -128
- package/src/ui/utils/fileManagement.d.ts +0 -86
- package/src/ui/utils/fileManagement.js +0 -238
- package/src/ui/utils/iconNames.d.ts +0 -111
- package/src/ui/utils/iconNames.js +0 -124
- package/src/ui/utils/sessionHelpers.d.ts +0 -64
- package/src/ui/utils/sessionHelpers.js +0 -90
- package/src/ui/utils/storageHelpers.d.ts +0 -27
- package/src/ui/utils/storageHelpers.js +0 -114
- package/src/ui/utils/themeUtils.d.ts +0 -10
- package/src/ui/utils/themeUtils.js +0 -17
- package/src/ui/utils/userUtils.d.ts +0 -28
- package/src/ui/utils/userUtils.js +0 -54
- package/src/utils/hookUtils.d.ts +0 -101
- package/src/utils/hookUtils.js +0 -373
|
@@ -1,81 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var __createBinding = void 0 && (void 0).__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () {
|
|
10
|
-
return m[k];
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
Object.defineProperty(o, k2, desc);
|
|
15
|
-
} : function (o, m, k, k2) {
|
|
16
|
-
if (k2 === undefined) k2 = k;
|
|
17
|
-
o[k2] = m[k];
|
|
18
|
-
});
|
|
19
|
-
var __setModuleDefault = void 0 && (void 0).__setModuleDefault || (Object.create ? function (o, v) {
|
|
20
|
-
Object.defineProperty(o, "default", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
value: v
|
|
23
|
-
});
|
|
24
|
-
} : function (o, v) {
|
|
25
|
-
o["default"] = v;
|
|
26
|
-
});
|
|
27
|
-
var __importStar = void 0 && (void 0).__importStar || function () {
|
|
28
|
-
var ownKeys = function (o) {
|
|
29
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
30
|
-
var ar = [];
|
|
31
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
32
|
-
return ar;
|
|
33
|
-
};
|
|
34
|
-
return ownKeys(o);
|
|
35
|
-
};
|
|
36
|
-
return function (mod) {
|
|
37
|
-
if (mod && mod.__esModule) return mod;
|
|
38
|
-
var result = {};
|
|
39
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
40
|
-
__setModuleDefault(result, mod);
|
|
41
|
-
return result;
|
|
42
|
-
};
|
|
43
|
-
}();
|
|
44
|
-
var __importDefault = void 0 && (void 0).__importDefault || function (mod) {
|
|
45
|
-
return mod && mod.__esModule ? mod : {
|
|
46
|
-
"default": mod
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
3
|
Object.defineProperty(exports, "__esModule", {
|
|
50
4
|
value: true
|
|
51
5
|
});
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _theming = require("./theming.js");
|
|
10
|
+
var _overlay = _interopRequireWildcard(require("./styles/overlay.js"));
|
|
11
|
+
var _shadow = _interopRequireDefault(require("./styles/shadow.js"));
|
|
12
|
+
var _forwardRef = require("./utils/forwardRef.js");
|
|
13
|
+
var _splitStyles = require("./utils/splitStyles.js");
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
17
|
+
const MD2Surface = (0, _forwardRef.forwardRef)(({
|
|
61
18
|
style,
|
|
62
19
|
theme: overrideTheme,
|
|
63
20
|
...rest
|
|
64
21
|
}, ref) => {
|
|
65
22
|
const {
|
|
66
23
|
elevation = 4
|
|
67
|
-
} =
|
|
24
|
+
} = _reactNative.StyleSheet.flatten(style) || {};
|
|
68
25
|
const {
|
|
69
26
|
dark: isDarkTheme,
|
|
70
27
|
mode,
|
|
71
28
|
colors
|
|
72
|
-
} = (0,
|
|
73
|
-
return (0,
|
|
29
|
+
} = (0, _theming.useInternalTheme)(overrideTheme);
|
|
30
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
|
|
74
31
|
ref: ref,
|
|
75
32
|
...rest,
|
|
76
33
|
style: [{
|
|
77
|
-
backgroundColor: isDarkTheme && mode === 'adaptive' ? (0,
|
|
78
|
-
}, elevation ? (0,
|
|
34
|
+
backgroundColor: isDarkTheme && mode === 'adaptive' ? (0, _overlay.default)(elevation, colors?.surface) : colors?.surface
|
|
35
|
+
}, elevation ? (0, _shadow.default)(elevation) : null, style]
|
|
79
36
|
});
|
|
80
37
|
});
|
|
81
38
|
const outerLayerStyleProperties = ['position', 'alignSelf', 'top', 'right', 'bottom', 'left', 'start', 'end', 'flex', 'flexShrink', 'flexGrow', 'width', 'height', 'transform', 'opacity'];
|
|
@@ -91,7 +48,7 @@ const iOSShadowOutputRanges = [{
|
|
|
91
48
|
}];
|
|
92
49
|
const inputRange = [0, 1, 2, 3, 4, 5];
|
|
93
50
|
function getStyleForShadowLayer(elevation, layer) {
|
|
94
|
-
if ((0,
|
|
51
|
+
if ((0, _overlay.isAnimatedValue)(elevation)) {
|
|
95
52
|
return {
|
|
96
53
|
shadowColor,
|
|
97
54
|
shadowOpacity: elevation.interpolate({
|
|
@@ -122,7 +79,7 @@ function getStyleForShadowLayer(elevation, layer) {
|
|
|
122
79
|
shadowRadius: iOSShadowOutputRanges[layer].shadowRadius[elevation]
|
|
123
80
|
};
|
|
124
81
|
}
|
|
125
|
-
const SurfaceIOS = (0,
|
|
82
|
+
const SurfaceIOS = (0, _forwardRef.forwardRef)(({
|
|
126
83
|
elevation,
|
|
127
84
|
style,
|
|
128
85
|
backgroundColor,
|
|
@@ -133,8 +90,8 @@ const SurfaceIOS = (0, forwardRef_1.forwardRef)(({
|
|
|
133
90
|
...props
|
|
134
91
|
}, ref) => {
|
|
135
92
|
const [outerLayerViewStyles, innerLayerViewStyles] = React.useMemo(() => {
|
|
136
|
-
const flattenedStyles =
|
|
137
|
-
const [filteredStyles, outerLayerStyles, borderRadiusStyles] = (0,
|
|
93
|
+
const flattenedStyles = _reactNative.StyleSheet.flatten(style) || {};
|
|
94
|
+
const [filteredStyles, outerLayerStyles, borderRadiusStyles] = (0, _splitStyles.splitStyles)(flattenedStyles, style => outerLayerStyleProperties.includes(style) || style.startsWith('margin'), style => style.startsWith('border') && style.endsWith('Radius'));
|
|
138
95
|
if (process.env.NODE_ENV !== 'production' && filteredStyles.overflow === 'hidden' && elevation !== 0) {
|
|
139
96
|
console.warn('When setting overflow to hidden on Surface the shadow will not be displayed correctly. Wrap the content of your component in a separate View with the overflow style.');
|
|
140
97
|
}
|
|
@@ -155,11 +112,11 @@ const SurfaceIOS = (0, forwardRef_1.forwardRef)(({
|
|
|
155
112
|
};
|
|
156
113
|
return [outerLayerViewStyles, innerLayerViewStyles];
|
|
157
114
|
}, [style, elevation, backgroundColor, mode, container]);
|
|
158
|
-
return (0,
|
|
115
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
|
|
159
116
|
ref: ref,
|
|
160
117
|
style: outerLayerViewStyles,
|
|
161
118
|
testID: `${testID}-outer-layer`,
|
|
162
|
-
children: (0,
|
|
119
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
|
|
163
120
|
...props,
|
|
164
121
|
style: innerLayerViewStyles,
|
|
165
122
|
testID: testID,
|
|
@@ -167,6 +124,7 @@ const SurfaceIOS = (0, forwardRef_1.forwardRef)(({
|
|
|
167
124
|
})
|
|
168
125
|
});
|
|
169
126
|
});
|
|
127
|
+
|
|
170
128
|
/**
|
|
171
129
|
* Surface is a basic container that can give depth to an element with elevation shadow.
|
|
172
130
|
* On dark theme with `adaptive` mode, surface is constructed by also placing a semi-transparent white overlay over a component surface.
|
|
@@ -198,7 +156,7 @@ const SurfaceIOS = (0, forwardRef_1.forwardRef)(({
|
|
|
198
156
|
* });
|
|
199
157
|
* ```
|
|
200
158
|
*/
|
|
201
|
-
const Surface = (0,
|
|
159
|
+
const Surface = (0, _forwardRef.forwardRef)(({
|
|
202
160
|
elevation = 1,
|
|
203
161
|
children,
|
|
204
162
|
theme: overridenTheme,
|
|
@@ -207,8 +165,8 @@ const Surface = (0, forwardRef_1.forwardRef)(({
|
|
|
207
165
|
mode = 'elevated',
|
|
208
166
|
...props
|
|
209
167
|
}, ref) => {
|
|
210
|
-
const theme = (0,
|
|
211
|
-
if (!theme.isV3) return (0,
|
|
168
|
+
const theme = (0, _theming.useInternalTheme)(overridenTheme);
|
|
169
|
+
if (!theme.isV3) return /*#__PURE__*/(0, _jsxRuntime.jsx)(MD2Surface, {
|
|
212
170
|
...props,
|
|
213
171
|
theme: theme,
|
|
214
172
|
style: style,
|
|
@@ -220,7 +178,7 @@ const Surface = (0, forwardRef_1.forwardRef)(({
|
|
|
220
178
|
} = theme;
|
|
221
179
|
const inputRange = [0, 1, 2, 3, 4, 5];
|
|
222
180
|
const backgroundColor = (() => {
|
|
223
|
-
if ((0,
|
|
181
|
+
if ((0, _overlay.isAnimatedValue)(elevation)) {
|
|
224
182
|
return elevation.interpolate({
|
|
225
183
|
inputRange,
|
|
226
184
|
outputRange: inputRange.map(elevation => {
|
|
@@ -231,25 +189,25 @@ const Surface = (0, forwardRef_1.forwardRef)(({
|
|
|
231
189
|
return colors.elevation?.[`level${elevation}`];
|
|
232
190
|
})();
|
|
233
191
|
const isElevated = mode === 'elevated';
|
|
234
|
-
if (
|
|
192
|
+
if (_reactNative.Platform.OS === 'web') {
|
|
235
193
|
const {
|
|
236
194
|
pointerEvents = 'auto'
|
|
237
195
|
} = props;
|
|
238
|
-
return (0,
|
|
196
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
|
|
239
197
|
...props,
|
|
240
198
|
pointerEvents: pointerEvents,
|
|
241
199
|
ref: ref,
|
|
242
200
|
testID: testID,
|
|
243
201
|
style: [{
|
|
244
202
|
backgroundColor
|
|
245
|
-
}, elevation && isElevated ? (0,
|
|
203
|
+
}, elevation && isElevated ? (0, _shadow.default)(elevation, theme.isV3) : null, style],
|
|
246
204
|
children: children
|
|
247
205
|
});
|
|
248
206
|
}
|
|
249
|
-
if (
|
|
207
|
+
if (_reactNative.Platform.OS === 'android') {
|
|
250
208
|
const elevationLevel = [0, 3, 6, 9, 12, 15];
|
|
251
209
|
const getElevationAndroid = () => {
|
|
252
|
-
if ((0,
|
|
210
|
+
if ((0, _overlay.isAnimatedValue)(elevation)) {
|
|
253
211
|
return elevation.interpolate({
|
|
254
212
|
inputRange,
|
|
255
213
|
outputRange: elevationLevel
|
|
@@ -262,7 +220,7 @@ const Surface = (0, forwardRef_1.forwardRef)(({
|
|
|
262
220
|
padding,
|
|
263
221
|
transform,
|
|
264
222
|
borderRadius
|
|
265
|
-
} =
|
|
223
|
+
} = _reactNative.StyleSheet.flatten(style) || {};
|
|
266
224
|
const outerLayerStyles = {
|
|
267
225
|
margin,
|
|
268
226
|
padding,
|
|
@@ -272,7 +230,7 @@ const Surface = (0, forwardRef_1.forwardRef)(({
|
|
|
272
230
|
const sharedStyle = [{
|
|
273
231
|
backgroundColor
|
|
274
232
|
}, style];
|
|
275
|
-
return (0,
|
|
233
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
|
|
276
234
|
...props,
|
|
277
235
|
testID: testID,
|
|
278
236
|
ref: ref,
|
|
@@ -285,7 +243,7 @@ const Surface = (0, forwardRef_1.forwardRef)(({
|
|
|
285
243
|
children: children
|
|
286
244
|
});
|
|
287
245
|
}
|
|
288
|
-
return (0,
|
|
246
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(SurfaceIOS, {
|
|
289
247
|
...props,
|
|
290
248
|
ref: ref,
|
|
291
249
|
elevation: elevation,
|
|
@@ -296,5 +254,5 @@ const Surface = (0, forwardRef_1.forwardRef)(({
|
|
|
296
254
|
children: children
|
|
297
255
|
});
|
|
298
256
|
});
|
|
299
|
-
exports.default = Surface;
|
|
257
|
+
var _default = exports.default = Surface;
|
|
300
258
|
//# sourceMappingURL=Surface.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__createBinding","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__setModuleDefault","v","value","__importStar","ownKeys","getOwnPropertyNames","ar","prototype","hasOwnProperty","call","length","mod","result","i","__importDefault","exports","jsx_runtime_1","require","React","react_native_1","theming_1","overlay_1","shadow_1","forwardRef_1","splitStyles_1","MD2Surface","forwardRef","style","theme","overrideTheme","rest","ref","elevation","StyleSheet","flatten","dark","isDarkTheme","mode","colors","useInternalTheme","jsx","Animated","View","backgroundColor","default","surface","outerLayerStyleProperties","shadowColor","iOSShadowOutputRanges","shadowOpacity","height","shadowRadius","inputRange","getStyleForShadowLayer","layer","isAnimatedValue","interpolate","outputRange","extrapolate","shadowOffset","width","SurfaceIOS","testID","children","container","props","outerLayerViewStyles","innerLayerViewStyles","useMemo","flattenedStyles","filteredStyles","outerLayerStyles","borderRadiusStyles","splitStyles","includes","startsWith","endsWith","process","env","NODE_ENV","overflow","console","warn","bgColor","isElevated","flex","Surface","overridenTheme","isV3","map","Platform","OS","pointerEvents","elevationLevel","getElevationAndroid","margin","padding","transform","borderRadius","sharedStyle"],"sourceRoot":"../../../../src","sources":["ui/components/Surface.js"],"mappings":"AAAA,YAAY;;AACZ,IAAIA,eAAe,GAAI,UAAQ,SAAKA,eAAe,KAAMC,MAAM,CAACC,MAAM,GAAI,UAASC,CAAC,EAAEC,CAAC,EAAEC,CAAC,EAAEC,EAAE,EAAE;EAC5F,IAAIA,EAAE,KAAKC,SAAS,EAAED,EAAE,GAAGD,CAAC;EAC5B,IAAIG,IAAI,GAAGP,MAAM,CAACQ,wBAAwB,CAACL,CAAC,EAAEC,CAAC,CAAC;EAChD,IAAI,CAACG,IAAI,KAAK,KAAK,IAAIA,IAAI,GAAG,CAACJ,CAAC,CAACM,UAAU,GAAGF,IAAI,CAACG,QAAQ,IAAIH,IAAI,CAACI,YAAY,CAAC,EAAE;IACjFJ,IAAI,GAAG;MAAEK,UAAU,EAAE,IAAI;MAAEC,GAAG,EAAE,SAAAA,CAAA,EAAW;QAAE,OAAOV,CAAC,CAACC,CAAC,CAAC;MAAE;IAAE,CAAC;EAC/D;EACAJ,MAAM,CAACc,cAAc,CAACZ,CAAC,EAAEG,EAAE,EAAEE,IAAI,CAAC;AACtC,CAAC,GAAK,UAASL,CAAC,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;IAChD,OAAQ,CAAC,CAAC,EAAEX,aAAa,CAACwB,GAAG,EAAErB,cAAc,CAACsB,QAAQ,CAACC,IAAI,EAAE;MAAE,GAAGuB,KAAK;MAAEH,MAAM,EAAEA,MAAM;MAAE/B,GAAG,EAAEA,GAAG;MAAEJ,KAAK,EAAE,CAClG;QACIgB,eAAe;QACfsD;MACJ,CAAC,EACD1B,gBAAgB,EAChB4B,WAAW,EACXf,UAAU,IAAI;QACVpD,SAAS,EAAE8D,mBAAmB,CAAC;MACnC,CAAC,CACJ;MAAE/B,QAAQ,EAAEA;IAAS,CAAC,CAAC;EAChC;EACA,OAAQ,CAAC,CAAC,EAAE/C,aAAa,CAACwB,GAAG,EAAEqB,UAAU,EAAE;IAAE,GAAGI,KAAK;IAAElC,GAAG,EAAEA,GAAG;IAAEC,SAAS,EAAEA,SAAS;IAAEW,eAAe,EAAEA,eAAe;IAAEhB,KAAK,EAAEA,KAAK;IAAEmC,MAAM,EAAEA,MAAM;IAAEzB,IAAI,EAAEA,IAAI;IAAE0B,QAAQ,EAAEA;EAAS,CAAC,CAAC;AAC5L,CAAC,CAAC;AACFhD,OAAO,CAAC6B,OAAO,GAAG0C,OAAO","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_theming","_overlay","_shadow","_interopRequireDefault","_forwardRef","_splitStyles","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","MD2Surface","forwardRef","style","theme","overrideTheme","rest","ref","elevation","StyleSheet","flatten","dark","isDarkTheme","mode","colors","useInternalTheme","jsx","Animated","View","backgroundColor","overlay","surface","shadow","outerLayerStyleProperties","shadowColor","iOSShadowOutputRanges","shadowOpacity","height","shadowRadius","inputRange","getStyleForShadowLayer","layer","isAnimatedValue","interpolate","outputRange","extrapolate","shadowOffset","width","SurfaceIOS","testID","children","container","props","outerLayerViewStyles","innerLayerViewStyles","useMemo","flattenedStyles","filteredStyles","outerLayerStyles","borderRadiusStyles","splitStyles","includes","startsWith","endsWith","process","env","NODE_ENV","overflow","console","warn","bgColor","isElevated","flex","undefined","Surface","overridenTheme","isV3","map","Platform","OS","pointerEvents","elevationLevel","getElevationAndroid","margin","padding","transform","borderRadius","sharedStyle","_default","exports"],"sourceRoot":"../../../../src","sources":["ui/components/Surface.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAUA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,QAAA,GAAAJ,uBAAA,CAAAC,OAAA;AACA,IAAAI,OAAA,GAAAC,sBAAA,CAAAL,OAAA;AAEA,IAAAM,WAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AAAkD,IAAAQ,WAAA,GAAAR,OAAA;AAAA,SAAAK,uBAAAI,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAV,wBAAAU,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAd,uBAAA,YAAAA,CAAAU,CAAA,EAAAG,CAAA,SAAAA,CAAA,IAAAH,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,MAAAO,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAR,OAAA,EAAAF,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAS,CAAA,MAAAF,CAAA,GAAAJ,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAE,CAAA,CAAAI,GAAA,CAAAX,CAAA,UAAAO,CAAA,CAAAK,GAAA,CAAAZ,CAAA,GAAAO,CAAA,CAAAM,GAAA,CAAAb,CAAA,EAAAS,CAAA,gBAAAN,CAAA,IA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rE,MAAMC,WAAW,GAAG,CAAC;MAAE1D;IAAgB,CAAC,EAAEhB,KAAK,CAAC;IAEhD,oBACE,IAAAtB,WAAA,CAAAmC,GAAA,EAAC1C,YAAA,CAAA2C,QAAQ,CAACC,IAAI;MAAA,GACRwB,KAAK;MACTH,MAAM,EAAEA,MAAO;MACfhC,GAAG,EAAEA,GAAI;MACTJ,KAAK,EAAE,CACL;QACEgB,eAAe;QACfwD;MACF,CAAC,EACD3B,gBAAgB,EAChB6B,WAAW,EACXhB,UAAU,IAAI;QACZrD,SAAS,EAAEgE,mBAAmB,CAAC;MACjC,CAAC,CACD;MAAAhC,QAAA,EAEDA;IAAQ,CACI,CAAC;EAEpB;EAEA,oBACE,IAAA3D,WAAA,CAAAmC,GAAA,EAACsB,UAAU;IAAA,GACLI,KAAK;IACTnC,GAAG,EAAEA,GAAI;IACTC,SAAS,EAAEA,SAAU;IACrBW,eAAe,EAAEA,eAAgB;IACjChB,KAAK,EAAEA,KAAM;IACboC,MAAM,EAAEA,MAAO;IACf1B,IAAI,EAAEA,IAAK;IAAA2B,QAAA,EAEVA;EAAQ,CACC,CAAC;AAEjB,CACF,CAAC;AAAC,IAAAsC,QAAA,GAAAC,OAAA,CAAA/F,OAAA,GAEagF,OAAO","ignoreList":[]}
|
|
@@ -4,9 +4,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.Underline = void 0;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _reactNative = require("react-native");
|
|
9
|
+
var _theming = require("../../theming.js");
|
|
10
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
11
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
10
12
|
const Underline = ({
|
|
11
13
|
parentState,
|
|
12
14
|
error,
|
|
@@ -19,11 +21,11 @@ const Underline = ({
|
|
|
19
21
|
}) => {
|
|
20
22
|
const {
|
|
21
23
|
isV3
|
|
22
|
-
} = (0,
|
|
24
|
+
} = (0, _theming.useInternalTheme)(themeOverrides);
|
|
23
25
|
let backgroundColor = parentState.focused ? activeColor : underlineColorCustom;
|
|
24
26
|
if (error) backgroundColor = colors?.error;
|
|
25
27
|
const activeScale = isV3 ? 2 : 1;
|
|
26
|
-
return (0,
|
|
28
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Animated.View, {
|
|
27
29
|
testID: "text-input-underline",
|
|
28
30
|
style: [styles.underline, isV3 && styles.md3Underline, {
|
|
29
31
|
backgroundColor,
|
|
@@ -35,7 +37,7 @@ const Underline = ({
|
|
|
35
37
|
});
|
|
36
38
|
};
|
|
37
39
|
exports.Underline = Underline;
|
|
38
|
-
const styles =
|
|
40
|
+
const styles = _reactNative.StyleSheet.create({
|
|
39
41
|
underline: {
|
|
40
42
|
position: 'absolute',
|
|
41
43
|
left: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_theming","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","Underline","parentState","error","colors","activeColor","underlineColorCustom","hasActiveOutline","style","theme","themeOverrides","isV3","useInternalTheme","backgroundColor","focused","activeScale","jsx","Animated","View","testID","styles","underline","md3Underline","transform","scaleY","exports","StyleSheet","create","position","left","right","bottom","height","zIndex"],"sourceRoot":"../../../../../../src","sources":["ui/components/TextField/Addons/Underline.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAIA,IAAAE,QAAA,GAAAF,OAAA;AAAiD,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,wBAAAK,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAP,uBAAA,YAAAA,CAAAK,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAiB1C,MAAMkB,SAAS,GAAGA,CAAC;EACxBC,WAAW;EACXC,KAAK;EACLC,MAAM;EACNC,WAAW;EACXC,oBAAoB;EACpBC,gBAAgB;EAChBC,KAAK;EACLC,KAAK,EAAEC;AACO,CAAC,KAAK;EACpB,MAAM;IAAEC;EAAK,CAAC,GAAG,IAAAC,yBAAgB,EAACF,cAAc,CAAC;EAEjD,IAAIG,eAAe,GAAGX,WAAW,CAACY,OAAO,GACrCT,WAAW,GACXC,oBAAoB;EAExB,IAAIH,KAAK,EAAEU,eAAe,GAAGT,MAAM,EAAED,KAAK;EAE1C,MAAMY,WAAW,GAAGJ,IAAI,GAAG,CAAC,GAAG,CAAC;EAEhC,oBACE,IAAA9B,WAAA,CAAAmC,GAAA,EAACrC,YAAA,CAAAsC,QAAQ,CAACC,IAAI;IACZC,MAAM,EAAC,sBAAsB;IAC7BX,KAAK,EAAE,CACLY,MAAM,CAACC,SAAS,EAChBV,IAAI,IAAIS,MAAM,CAACE,YAAY,EAC3B;MACET,eAAe;MACf;MACAU,SAAS,EAAE,CACT;QACEC,MAAM,EAAE,CAACb,IAAI,GAAGJ,gBAAgB,GAAGL,WAAW,CAACY,OAAO,IAClDC,WAAW,GACX;MACN,CAAC;IAEL,CAAC,EACDP,KAAK;EACL,CACH,CAAC;AAEN,CAAC;AAACiB,OAAA,CAAAxB,SAAA,GAAAA,SAAA;AAEF,MAAMmB,MAAM,GAAGM,uBAAU,CAACC,MAAM,CAAC;EAC/BN,SAAS,EAAE;IACTO,QAAQ,EAAE,UAAU;IACpBC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE,CAAC;IACTC,MAAM,EAAE,CAAC;IACTC,MAAM,EAAE;EACV,CAAC;EACDX,YAAY,EAAE;IACZU,MAAM,EAAE;EACV;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,63 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var __createBinding = void 0 && (void 0).__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
4
|
-
if (k2 === undefined) k2 = k;
|
|
5
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
-
desc = {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function () {
|
|
10
|
-
return m[k];
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
Object.defineProperty(o, k2, desc);
|
|
15
|
-
} : function (o, m, k, k2) {
|
|
16
|
-
if (k2 === undefined) k2 = k;
|
|
17
|
-
o[k2] = m[k];
|
|
18
|
-
});
|
|
19
|
-
var __setModuleDefault = void 0 && (void 0).__setModuleDefault || (Object.create ? function (o, v) {
|
|
20
|
-
Object.defineProperty(o, "default", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
value: v
|
|
23
|
-
});
|
|
24
|
-
} : function (o, v) {
|
|
25
|
-
o["default"] = v;
|
|
26
|
-
});
|
|
27
|
-
var __importStar = void 0 && (void 0).__importStar || function () {
|
|
28
|
-
var ownKeys = function (o) {
|
|
29
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
30
|
-
var ar = [];
|
|
31
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
32
|
-
return ar;
|
|
33
|
-
};
|
|
34
|
-
return ownKeys(o);
|
|
35
|
-
};
|
|
36
|
-
return function (mod) {
|
|
37
|
-
if (mod && mod.__esModule) return mod;
|
|
38
|
-
var result = {};
|
|
39
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
40
|
-
__setModuleDefault(result, mod);
|
|
41
|
-
return result;
|
|
42
|
-
};
|
|
43
|
-
}();
|
|
44
|
-
var __importDefault = void 0 && (void 0).__importDefault || function (mod) {
|
|
45
|
-
return mod && mod.__esModule ? mod : {
|
|
46
|
-
"default": mod
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
3
|
Object.defineProperty(exports, "__esModule", {
|
|
50
4
|
value: true
|
|
51
5
|
});
|
|
6
|
+
exports.default = void 0;
|
|
52
7
|
exports.getAdornmentConfig = getAdornmentConfig;
|
|
53
8
|
exports.getAdornmentStyleAdjustmentForNativeInput = getAdornmentStyleAdjustmentForNativeInput;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
9
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _enums = require("./enums.js");
|
|
11
|
+
var _TextFieldAffix = _interopRequireWildcard(require("./TextFieldAffix.js"));
|
|
12
|
+
var _TextFieldIcon = _interopRequireWildcard(require("./TextFieldIcon.js"));
|
|
13
|
+
var _helpers = require("../helpers.js");
|
|
14
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
15
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
61
16
|
function getAdornmentConfig({
|
|
62
17
|
left,
|
|
63
18
|
right
|
|
@@ -65,21 +20,21 @@ function getAdornmentConfig({
|
|
|
65
20
|
const adornmentConfig = [];
|
|
66
21
|
if (left || right) {
|
|
67
22
|
[{
|
|
68
|
-
side:
|
|
23
|
+
side: _enums.AdornmentSide.Left,
|
|
69
24
|
adornment: left
|
|
70
25
|
}, {
|
|
71
|
-
side:
|
|
26
|
+
side: _enums.AdornmentSide.Right,
|
|
72
27
|
adornment: right
|
|
73
28
|
}].forEach(({
|
|
74
29
|
side,
|
|
75
30
|
adornment
|
|
76
31
|
}) => {
|
|
77
|
-
if (adornment &&
|
|
32
|
+
if (adornment && /*#__PURE__*/_react.default.isValidElement(adornment)) {
|
|
78
33
|
let type;
|
|
79
|
-
if (adornment.type ===
|
|
80
|
-
type =
|
|
81
|
-
} else if (adornment.type ===
|
|
82
|
-
type =
|
|
34
|
+
if (adornment.type === _TextFieldAffix.default) {
|
|
35
|
+
type = _enums.AdornmentType.Affix;
|
|
36
|
+
} else if (adornment.type === _TextFieldIcon.default) {
|
|
37
|
+
type = _enums.AdornmentType.Icon;
|
|
83
38
|
}
|
|
84
39
|
adornmentConfig.push({
|
|
85
40
|
side,
|
|
@@ -102,19 +57,19 @@ function getAdornmentStyleAdjustmentForNativeInput({
|
|
|
102
57
|
const {
|
|
103
58
|
OUTLINED_INPUT_OFFSET,
|
|
104
59
|
ADORNMENT_OFFSET
|
|
105
|
-
} = (0,
|
|
60
|
+
} = (0, _helpers.getConstants)(isV3);
|
|
106
61
|
if (adornmentConfig.length) {
|
|
107
62
|
const adornmentStyleAdjustmentForNativeInput = adornmentConfig.map(({
|
|
108
63
|
type,
|
|
109
64
|
side
|
|
110
65
|
}) => {
|
|
111
|
-
const isLeftSide = side ===
|
|
112
|
-
const inputModeAdornemntOffset = mode ===
|
|
66
|
+
const isLeftSide = side === _enums.AdornmentSide.Left;
|
|
67
|
+
const inputModeAdornemntOffset = mode === _enums.InputMode.Outlined ? ADORNMENT_OFFSET + OUTLINED_INPUT_OFFSET : ADORNMENT_OFFSET;
|
|
113
68
|
const paddingKey = `padding${captalize(side)}`;
|
|
114
69
|
const affixWidth = isLeftSide ? leftAffixWidth : rightAffixWidth;
|
|
115
70
|
const padding = typeof paddingHorizontal === 'number' ? paddingHorizontal : inputModeAdornemntOffset;
|
|
116
71
|
const offset = affixWidth + padding;
|
|
117
|
-
const isAffix = type ===
|
|
72
|
+
const isAffix = type === _enums.AdornmentType.Affix;
|
|
118
73
|
const marginKey = `margin${captalize(side)}`;
|
|
119
74
|
return {
|
|
120
75
|
[marginKey]: isAffix ? 0 : offset,
|
|
@@ -148,15 +103,15 @@ const TextFieldAdornment = ({
|
|
|
148
103
|
disabled
|
|
149
104
|
}) => {
|
|
150
105
|
if (adornmentConfig.length) {
|
|
151
|
-
return (0,
|
|
106
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
152
107
|
children: adornmentConfig.map(({
|
|
153
108
|
type,
|
|
154
109
|
side
|
|
155
110
|
}) => {
|
|
156
111
|
let inputAdornmentComponent;
|
|
157
|
-
if (side ===
|
|
112
|
+
if (side === _enums.AdornmentSide.Left) {
|
|
158
113
|
inputAdornmentComponent = left;
|
|
159
|
-
} else if (side ===
|
|
114
|
+
} else if (side === _enums.AdornmentSide.Right) {
|
|
160
115
|
inputAdornmentComponent = right;
|
|
161
116
|
}
|
|
162
117
|
const commonProps = {
|
|
@@ -166,21 +121,21 @@ const TextFieldAdornment = ({
|
|
|
166
121
|
paddingHorizontal,
|
|
167
122
|
disabled
|
|
168
123
|
};
|
|
169
|
-
if (type ===
|
|
170
|
-
return (0,
|
|
124
|
+
if (type === _enums.AdornmentType.Icon) {
|
|
125
|
+
return /*#__PURE__*/(0, _react.createElement)(_TextFieldIcon.IconAdornment, {
|
|
171
126
|
...commonProps,
|
|
172
127
|
theme: theme,
|
|
173
128
|
key: side,
|
|
174
129
|
icon: inputAdornmentComponent,
|
|
175
|
-
topPosition: topPosition[
|
|
130
|
+
topPosition: topPosition[_enums.AdornmentType.Icon],
|
|
176
131
|
forceFocus: forceFocus
|
|
177
132
|
});
|
|
178
133
|
}
|
|
179
|
-
if (type ===
|
|
180
|
-
return (0,
|
|
134
|
+
if (type === _enums.AdornmentType.Affix) {
|
|
135
|
+
return /*#__PURE__*/(0, _react.createElement)(_TextFieldAffix.AffixAdornment, {
|
|
181
136
|
...commonProps,
|
|
182
137
|
key: side,
|
|
183
|
-
topPosition: topPosition[
|
|
138
|
+
topPosition: topPosition[_enums.AdornmentType.Affix][side],
|
|
184
139
|
affix: inputAdornmentComponent,
|
|
185
140
|
textStyle: textStyle,
|
|
186
141
|
onLayout: onAffixChange[side],
|
|
@@ -194,5 +149,5 @@ const TextFieldAdornment = ({
|
|
|
194
149
|
}
|
|
195
150
|
return null;
|
|
196
151
|
};
|
|
197
|
-
exports.default = TextFieldAdornment;
|
|
152
|
+
var _default = exports.default = TextFieldAdornment;
|
|
198
153
|
//# sourceMappingURL=TextFieldAdornment.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_enums","_TextFieldAffix","_TextFieldIcon","_helpers","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","getAdornmentConfig","left","right","adornmentConfig","side","AdornmentSide","Left","adornment","Right","forEach","React","isValidElement","type","TextFieldAffix","AdornmentType","Affix","TextFieldIcon","Icon","push","getAdornmentStyleAdjustmentForNativeInput","leftAffixWidth","rightAffixWidth","paddingHorizontal","inputOffset","mode","isV3","OUTLINED_INPUT_OFFSET","ADORNMENT_OFFSET","getConstants","length","adornmentStyleAdjustmentForNativeInput","map","isLeftSide","inputModeAdornemntOffset","InputMode","Outlined","paddingKey","captalize","affixWidth","padding","offset","isAffix","marginKey","allStyleAdjustmentsMerged","reduce","mergedStyles","currentStyle","text","charAt","toUpperCase","slice","TextFieldAdornment","onAffixChange","textStyle","visible","topPosition","isTextInputFocused","forceFocus","maxFontSizeMultiplier","theme","disabled","jsx","Fragment","children","inputAdornmentComponent","commonProps","testID","createElement","IconAdornment","key","icon","AffixAdornment","affix","onLayout","_default","exports"],"sourceRoot":"../../../../../../src","sources":["ui/components/TextField/Adornment/TextFieldAdornment.tsx"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAWA,I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