@oxyhq/services 19.0.1 → 19.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/assets/assets/icons/OxyServices.tsx +5 -12
- package/lib/commonjs/assets/icons/OxyServices.js +7 -7
- package/lib/commonjs/assets/icons/OxyServices.js.map +1 -1
- package/lib/commonjs/index.js +56 -25
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/ui/boot/runProviderColdBoot.js +121 -0
- package/lib/commonjs/ui/boot/runProviderColdBoot.js.map +1 -0
- package/lib/commonjs/ui/client.js +10 -17
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/FollowButton.js +28 -92
- package/lib/commonjs/ui/components/FollowButton.js.map +1 -1
- package/lib/commonjs/ui/components/Header.js +127 -241
- package/lib/commonjs/ui/components/Header.js.map +1 -1
- package/lib/commonjs/ui/components/OxyAccountDialog.js +22 -18
- package/lib/commonjs/ui/components/OxyAccountDialog.js.map +1 -1
- package/lib/commonjs/ui/components/OxyConsentScreen.js +4 -6
- package/lib/commonjs/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/commonjs/ui/components/OxyOAuthCallback.js +45 -0
- package/lib/commonjs/ui/components/OxyOAuthCallback.js.map +1 -0
- package/lib/commonjs/ui/components/OxyPayButton.js +20 -71
- package/lib/commonjs/ui/components/OxyPayButton.js.map +1 -1
- package/lib/commonjs/ui/components/OxyProvider.js +3 -3
- package/lib/commonjs/ui/components/OxyProvider.js.map +1 -1
- package/lib/commonjs/ui/components/OxySignInButton.js +30 -135
- package/lib/commonjs/ui/components/OxySignInButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileButton.js +4 -2
- package/lib/commonjs/ui/components/ProfileButton.js.map +1 -1
- package/lib/commonjs/ui/components/ProfileSummaryCard.js +99 -0
- package/lib/commonjs/ui/components/ProfileSummaryCard.js.map +1 -0
- package/lib/commonjs/ui/components/RequireOxyAuth.js +7 -10
- package/lib/commonjs/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js +9 -9
- package/lib/commonjs/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js +20 -23
- package/lib/commonjs/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js +6 -6
- package/lib/commonjs/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js +14 -9
- package/lib/commonjs/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js +55 -55
- package/lib/commonjs/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/commonjs/ui/components/payment/paymentStyles.js +13 -13
- package/lib/commonjs/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/commonjs/ui/context/OxyContext.js +129 -260
- package/lib/commonjs/ui/context/OxyContext.js.map +1 -1
- package/lib/commonjs/ui/context/oxyContextHelpers.js +64 -0
- package/lib/commonjs/ui/context/oxyContextHelpers.js.map +1 -0
- package/lib/commonjs/ui/{components/TextField/Adornment/types.js → context/oxyContextTypes.js} +1 -1
- package/lib/commonjs/ui/context/oxyContextTypes.js.map +1 -0
- package/lib/commonjs/ui/context/useOxyAccountGraph.js +91 -0
- package/lib/commonjs/ui/context/useOxyAccountGraph.js.map +1 -0
- package/lib/commonjs/ui/hooks/queryClient.js +9 -18
- package/lib/commonjs/ui/hooks/queryClient.js.map +1 -1
- package/lib/commonjs/ui/hooks/useAuth.js +7 -5
- package/lib/commonjs/ui/hooks/useAuth.js.map +1 -1
- package/lib/commonjs/ui/hooks/useSessionManagement.js +2 -0
- package/lib/commonjs/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/commonjs/ui/index.js +10 -17
- package/lib/commonjs/ui/index.js.map +1 -1
- package/lib/commonjs/ui/navigation/accountDialogManager.js +5 -44
- package/lib/commonjs/ui/navigation/accountDialogManager.js.map +1 -1
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js +9 -8
- package/lib/commonjs/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js +2 -3
- package/lib/commonjs/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/EditProfileScreen.js +8 -19
- package/lib/commonjs/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FAQScreen.js +8 -8
- package/lib/commonjs/ui/screens/FAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js +0 -1
- package/lib/commonjs/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +59 -1105
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/HistoryViewScreen.js +9 -8
- package/lib/commonjs/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js +0 -1
- package/lib/commonjs/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js +5 -4
- package/lib/commonjs/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ManageAccountScreen.js +9 -49
- package/lib/commonjs/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js +6 -9
- package/lib/commonjs/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js +247 -224
- package/lib/commonjs/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js +21 -20
- package/lib/commonjs/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/ProfileScreen.js +4 -4
- package/lib/commonjs/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js +12 -11
- package/lib/commonjs/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js +3 -2
- package/lib/commonjs/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/UserListScreen.js +3 -3
- package/lib/commonjs/ui/screens/UserListScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js +7 -8
- package/lib/commonjs/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js +114 -0
- package/lib/commonjs/ui/screens/fileManagement/FileListSection.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js +512 -0
- package/lib/commonjs/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js +59 -0
- package/lib/commonjs/ui/screens/fileManagement/UploadBar.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js +475 -0
- package/lib/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
- package/lib/commonjs/ui/screens/fileManagement/shared.js +67 -0
- package/lib/commonjs/ui/screens/fileManagement/shared.js.map +1 -0
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js +3 -2
- package/lib/commonjs/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js +4 -7
- package/lib/commonjs/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js +3 -3
- package/lib/commonjs/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js +3 -2
- package/lib/commonjs/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/commonjs/ui/server.js +4 -5
- package/lib/commonjs/ui/server.js.map +1 -1
- package/lib/commonjs/ui/session/createSessionClient.js +2 -2
- package/lib/commonjs/ui/utils/crossOriginRestore.js +109 -0
- package/lib/commonjs/ui/utils/crossOriginRestore.js.map +1 -0
- package/lib/commonjs/ui/utils/deviceCredential.js +23 -0
- package/lib/commonjs/ui/utils/deviceCredential.js.map +1 -0
- package/lib/commonjs/ui/utils/oauthReturn.js +82 -0
- package/lib/commonjs/ui/utils/oauthReturn.js.map +1 -0
- package/lib/commonjs/ui/utils/storageHelpers.js +1 -2
- package/lib/commonjs/ui/utils/storageHelpers.js.map +1 -1
- package/lib/module/assets/assets/icons/OxyServices.tsx +5 -12
- package/lib/module/assets/icons/OxyServices.js +7 -7
- package/lib/module/assets/icons/OxyServices.js.map +1 -1
- package/lib/module/index.js +10 -9
- package/lib/module/index.js.map +1 -1
- package/lib/module/ui/boot/runProviderColdBoot.js +116 -0
- package/lib/module/ui/boot/runProviderColdBoot.js.map +1 -0
- package/lib/module/ui/client.js +3 -4
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/FollowButton.js +28 -92
- package/lib/module/ui/components/FollowButton.js.map +1 -1
- package/lib/module/ui/components/Header.js +127 -241
- package/lib/module/ui/components/Header.js.map +1 -1
- package/lib/module/ui/components/OxyAccountDialog.js +22 -18
- package/lib/module/ui/components/OxyAccountDialog.js.map +1 -1
- package/lib/module/ui/components/OxyConsentScreen.js +4 -5
- package/lib/module/ui/components/OxyConsentScreen.js.map +1 -1
- package/lib/module/ui/components/OxyOAuthCallback.js +41 -0
- package/lib/module/ui/components/OxyOAuthCallback.js.map +1 -0
- package/lib/module/ui/components/OxyPayButton.js +21 -71
- package/lib/module/ui/components/OxyPayButton.js.map +1 -1
- package/lib/module/ui/components/OxyProvider.js +3 -3
- package/lib/module/ui/components/OxyProvider.js.map +1 -1
- package/lib/module/ui/components/OxySignInButton.js +34 -139
- package/lib/module/ui/components/OxySignInButton.js.map +1 -1
- package/lib/module/ui/components/ProfileButton.js +5 -3
- package/lib/module/ui/components/ProfileButton.js.map +1 -1
- package/lib/module/ui/components/ProfileSummaryCard.js +95 -0
- package/lib/module/ui/components/ProfileSummaryCard.js.map +1 -0
- package/lib/module/ui/components/RequireOxyAuth.js +7 -9
- package/lib/module/ui/components/RequireOxyAuth.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js +9 -9
- package/lib/module/ui/components/fileManagement/FileDetailsModal.js.map +1 -1
- package/lib/module/ui/components/fileManagement/FileViewer.js +20 -23
- package/lib/module/ui/components/fileManagement/FileViewer.js.map +1 -1
- package/lib/module/ui/components/fileManagement/UploadPreview.js +6 -6
- package/lib/module/ui/components/fileManagement/UploadPreview.js.map +1 -1
- package/lib/module/ui/components/modals/DeleteAccountModal.js +14 -8
- package/lib/module/ui/components/modals/DeleteAccountModal.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentDetailsStep.js +54 -54
- package/lib/module/ui/components/payment/PaymentDetailsStep.js.map +1 -1
- package/lib/module/ui/components/payment/PaymentSummaryStep.js.map +1 -1
- package/lib/module/ui/components/payment/paymentStyles.js +13 -13
- package/lib/module/ui/components/payment/paymentStyles.js.map +1 -1
- package/lib/module/ui/context/OxyContext.js +128 -259
- package/lib/module/ui/context/OxyContext.js.map +1 -1
- package/lib/module/ui/context/oxyContextHelpers.js +57 -0
- package/lib/module/ui/context/oxyContextHelpers.js.map +1 -0
- package/lib/module/ui/context/oxyContextTypes.js +4 -0
- package/lib/module/ui/context/oxyContextTypes.js.map +1 -0
- package/lib/module/ui/context/useOxyAccountGraph.js +87 -0
- package/lib/module/ui/context/useOxyAccountGraph.js.map +1 -0
- package/lib/module/ui/hooks/queryClient.js +8 -17
- package/lib/module/ui/hooks/queryClient.js.map +1 -1
- package/lib/module/ui/hooks/useAuth.js +7 -5
- package/lib/module/ui/hooks/useAuth.js.map +1 -1
- package/lib/module/ui/hooks/useSessionManagement.js +2 -0
- package/lib/module/ui/hooks/useSessionManagement.js.map +1 -1
- package/lib/module/ui/index.js +2 -3
- package/lib/module/ui/index.js.map +1 -1
- package/lib/module/ui/navigation/accountDialogManager.js +4 -41
- package/lib/module/ui/navigation/accountDialogManager.js.map +1 -1
- package/lib/module/ui/screens/ConnectedAppsScreen.js +8 -7
- package/lib/module/ui/screens/ConnectedAppsScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileFieldScreen.js +2 -3
- package/lib/module/ui/screens/EditProfileFieldScreen.js.map +1 -1
- package/lib/module/ui/screens/EditProfileScreen.js +7 -18
- package/lib/module/ui/screens/EditProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/FAQScreen.js +8 -8
- package/lib/module/ui/screens/FAQScreen.js.map +1 -1
- package/lib/module/ui/screens/FeedbackScreen.js +0 -1
- package/lib/module/ui/screens/FeedbackScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +53 -1098
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/HistoryViewScreen.js +9 -8
- package/lib/module/ui/screens/HistoryViewScreen.js.map +1 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js +0 -1
- package/lib/module/ui/screens/LanguageSelectorScreen.js.map +1 -1
- package/lib/module/ui/screens/LegalDocumentsScreen.js +5 -4
- package/lib/module/ui/screens/LegalDocumentsScreen.js.map +1 -1
- package/lib/module/ui/screens/ManageAccountScreen.js +11 -51
- package/lib/module/ui/screens/ManageAccountScreen.js.map +1 -1
- package/lib/module/ui/screens/PaymentGatewayScreen.js +4 -7
- package/lib/module/ui/screens/PaymentGatewayScreen.js.map +1 -1
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js +247 -224
- package/lib/module/ui/screens/PremiumSubscriptionScreen.js.map +1 -1
- package/lib/module/ui/screens/PrivacySettingsScreen.js +19 -18
- package/lib/module/ui/screens/PrivacySettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/ProfileScreen.js +3 -3
- package/lib/module/ui/screens/ProfileScreen.js.map +1 -1
- package/lib/module/ui/screens/SavesCollectionsScreen.js +12 -11
- package/lib/module/ui/screens/SavesCollectionsScreen.js.map +1 -1
- package/lib/module/ui/screens/SearchSettingsScreen.js +3 -2
- package/lib/module/ui/screens/SearchSettingsScreen.js.map +1 -1
- package/lib/module/ui/screens/UserListScreen.js +2 -2
- package/lib/module/ui/screens/UserListScreen.js.map +1 -1
- package/lib/module/ui/screens/WelcomeNewUserScreen.js +6 -6
- package/lib/module/ui/screens/WelcomeNewUserScreen.js.map +1 -1
- package/lib/module/ui/screens/fileManagement/FileListSection.js +110 -0
- package/lib/module/ui/screens/fileManagement/FileListSection.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js +509 -0
- package/lib/module/ui/screens/fileManagement/PhotoPickerSection.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/UploadBar.js +55 -0
- package/lib/module/ui/screens/fileManagement/UploadBar.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js +471 -0
- package/lib/module/ui/screens/fileManagement/hooks/useFileUploadState.js.map +1 -0
- package/lib/module/ui/screens/fileManagement/shared.js +58 -0
- package/lib/module/ui/screens/fileManagement/shared.js.map +1 -0
- package/lib/module/ui/screens/trust/TrustCenterScreen.js +3 -2
- package/lib/module/ui/screens/trust/TrustCenterScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustFAQScreen.js +4 -7
- package/lib/module/ui/screens/trust/TrustFAQScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js +2 -2
- package/lib/module/ui/screens/trust/TrustLeaderboardScreen.js.map +1 -1
- package/lib/module/ui/screens/trust/TrustRulesScreen.js +3 -2
- package/lib/module/ui/screens/trust/TrustRulesScreen.js.map +1 -1
- package/lib/module/ui/server.js +2 -3
- package/lib/module/ui/server.js.map +1 -1
- package/lib/module/ui/session/createSessionClient.js +2 -2
- package/lib/module/ui/utils/crossOriginRestore.js +101 -0
- package/lib/module/ui/utils/crossOriginRestore.js.map +1 -0
- package/lib/module/ui/utils/deviceCredential.js +18 -0
- package/lib/module/ui/utils/deviceCredential.js.map +1 -0
- package/lib/module/ui/utils/oauthReturn.js +78 -0
- package/lib/module/ui/utils/oauthReturn.js.map +1 -0
- package/lib/module/ui/utils/storageHelpers.js +1 -2
- package/lib/module/ui/utils/storageHelpers.js.map +1 -1
- package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts +0 -5
- package/lib/typescript/commonjs/assets/icons/OxyServices.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +11 -6
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts +29 -0
- package/lib/typescript/commonjs/ui/boot/runProviderColdBoot.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/client.d.ts +3 -4
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/Header.d.ts +16 -21
- package/lib/typescript/commonjs/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyAccountDialog.d.ts +3 -7
- package/lib/typescript/commonjs/ui/components/OxyAccountDialog.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts +11 -0
- package/lib/typescript/commonjs/ui/components/OxyOAuthCallback.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/OxyPayButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts +0 -13
- package/lib/typescript/commonjs/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts +33 -0
- package/lib/typescript/commonjs/ui/components/ProfileSummaryCard.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/payment/types.d.ts +6 -10
- package/lib/typescript/commonjs/ui/components/payment/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts +2 -185
- package/lib/typescript/commonjs/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts +7 -0
- package/lib/typescript/commonjs/ui/context/oxyContextHelpers.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts +123 -0
- package/lib/typescript/commonjs/ui/context/oxyContextTypes.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts +26 -0
- package/lib/typescript/commonjs/ui/context/useOxyAccountGraph.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts +2 -3
- package/lib/typescript/commonjs/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts +7 -5
- package/lib/typescript/commonjs/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/hooks/useSessionManagement.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/index.d.ts +2 -3
- package/lib/typescript/commonjs/ui/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts +4 -34
- package/lib/typescript/commonjs/ui/navigation/accountDialogManager.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/EditProfileScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts +40 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/FileListSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts +38 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts +25 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/UploadBar.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +39 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts +34 -0
- package/lib/typescript/commonjs/ui/screens/fileManagement/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/server.d.ts +2 -3
- package/lib/typescript/commonjs/ui/server.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/session/createSessionClient.d.ts +2 -2
- package/lib/typescript/commonjs/ui/types/navigation.d.ts +2 -18
- package/lib/typescript/commonjs/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/utils/crossOriginRestore.d.ts +24 -0
- package/lib/typescript/commonjs/ui/utils/crossOriginRestore.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts +8 -0
- package/lib/typescript/commonjs/ui/utils/deviceCredential.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts +25 -0
- package/lib/typescript/commonjs/ui/utils/oauthReturn.d.ts.map +1 -0
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts +0 -11
- package/lib/typescript/commonjs/ui/utils/storageHelpers.d.ts.map +1 -1
- package/lib/typescript/module/assets/icons/OxyServices.d.ts +0 -5
- package/lib/typescript/module/assets/icons/OxyServices.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +11 -6
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts +29 -0
- package/lib/typescript/module/ui/boot/runProviderColdBoot.d.ts.map +1 -0
- package/lib/typescript/module/ui/client.d.ts +3 -4
- package/lib/typescript/module/ui/client.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/FollowButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/Header.d.ts +16 -21
- package/lib/typescript/module/ui/components/Header.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyAccountDialog.d.ts +3 -7
- package/lib/typescript/module/ui/components/OxyAccountDialog.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts +11 -0
- package/lib/typescript/module/ui/components/OxyOAuthCallback.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/OxyPayButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts +0 -13
- package/lib/typescript/module/ui/components/OxySignInButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileButton.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts +33 -0
- package/lib/typescript/module/ui/components/ProfileSummaryCard.d.ts.map +1 -0
- package/lib/typescript/module/ui/components/fileManagement/FileViewer.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/modals/DeleteAccountModal.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentDetailsStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/PaymentSummaryStep.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/payment/types.d.ts +6 -10
- package/lib/typescript/module/ui/components/payment/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/OxyContext.d.ts +2 -185
- package/lib/typescript/module/ui/context/OxyContext.d.ts.map +1 -1
- package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts +7 -0
- package/lib/typescript/module/ui/context/oxyContextHelpers.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts +123 -0
- package/lib/typescript/module/ui/context/oxyContextTypes.d.ts.map +1 -0
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts +26 -0
- package/lib/typescript/module/ui/context/useOxyAccountGraph.d.ts.map +1 -0
- package/lib/typescript/module/ui/hooks/queryClient.d.ts +2 -3
- package/lib/typescript/module/ui/hooks/queryClient.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useAuth.d.ts +7 -5
- package/lib/typescript/module/ui/hooks/useAuth.d.ts.map +1 -1
- package/lib/typescript/module/ui/hooks/useSessionManagement.d.ts.map +1 -1
- package/lib/typescript/module/ui/index.d.ts +2 -3
- package/lib/typescript/module/ui/index.d.ts.map +1 -1
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts +4 -34
- package/lib/typescript/module/ui/navigation/accountDialogManager.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ConnectedAppsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileFieldScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/EditProfileScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FeedbackScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LanguageSelectorScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/LegalDocumentsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/ManageAccountScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PaymentGatewayScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PremiumSubscriptionScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/PrivacySettingsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SavesCollectionsScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/WelcomeNewUserScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts +40 -0
- package/lib/typescript/module/ui/screens/fileManagement/FileListSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts +38 -0
- package/lib/typescript/module/ui/screens/fileManagement/PhotoPickerSection.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts +25 -0
- package/lib/typescript/module/ui/screens/fileManagement/UploadBar.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts +39 -0
- package/lib/typescript/module/ui/screens/fileManagement/hooks/useFileUploadState.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts +34 -0
- package/lib/typescript/module/ui/screens/fileManagement/shared.d.ts.map +1 -0
- package/lib/typescript/module/ui/screens/trust/TrustFAQScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/server.d.ts +2 -3
- package/lib/typescript/module/ui/server.d.ts.map +1 -1
- package/lib/typescript/module/ui/session/createSessionClient.d.ts +2 -2
- package/lib/typescript/module/ui/types/navigation.d.ts +2 -18
- package/lib/typescript/module/ui/types/navigation.d.ts.map +1 -1
- package/lib/typescript/module/ui/utils/crossOriginRestore.d.ts +24 -0
- package/lib/typescript/module/ui/utils/crossOriginRestore.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/deviceCredential.d.ts +8 -0
- package/lib/typescript/module/ui/utils/deviceCredential.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/oauthReturn.d.ts +25 -0
- package/lib/typescript/module/ui/utils/oauthReturn.d.ts.map +1 -0
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts +0 -11
- package/lib/typescript/module/ui/utils/storageHelpers.d.ts.map +1 -1
- package/package.json +29 -17
- package/src/assets/icons/OxyServices.tsx +5 -12
- package/src/index.ts +16 -10
- package/src/ui/boot/runProviderColdBoot.ts +150 -0
- package/src/ui/client.ts +3 -4
- package/src/ui/components/FollowButton.tsx +30 -95
- package/src/ui/components/Header.tsx +135 -405
- package/src/ui/components/OxyAccountDialog.tsx +18 -16
- package/src/ui/components/OxyConsentScreen.tsx +2 -2
- package/src/ui/components/OxyOAuthCallback.tsx +38 -0
- package/src/ui/components/OxyPayButton.tsx +11 -60
- package/src/ui/components/OxyProvider.tsx +3 -3
- package/src/ui/components/OxySignInButton.tsx +35 -134
- package/src/ui/components/ProfileButton.tsx +8 -3
- package/src/ui/components/ProfileSummaryCard.tsx +123 -0
- package/src/ui/components/RequireOxyAuth.tsx +3 -3
- package/src/ui/components/__tests__/OxyConsentScreen.test.tsx +1 -3
- package/src/ui/components/fileManagement/FileDetailsModal.tsx +9 -9
- package/src/ui/components/fileManagement/FileViewer.tsx +20 -22
- package/src/ui/components/fileManagement/UploadPreview.tsx +6 -6
- package/src/ui/components/modals/DeleteAccountModal.tsx +7 -7
- package/src/ui/components/payment/PaymentDetailsStep.tsx +49 -39
- package/src/ui/components/payment/PaymentSummaryStep.tsx +4 -1
- package/src/ui/components/payment/paymentStyles.ts +14 -14
- package/src/ui/components/payment/types.ts +6 -10
- package/src/ui/context/OxyContext.tsx +136 -470
- package/src/ui/context/oxyContextHelpers.ts +58 -0
- package/src/ui/context/oxyContextTypes.ts +124 -0
- package/src/ui/context/useOxyAccountGraph.ts +114 -0
- package/src/ui/hooks/queryClient.ts +9 -20
- package/src/ui/hooks/useAuth.ts +7 -5
- package/src/ui/hooks/useSessionManagement.ts +2 -0
- package/src/ui/index.ts +2 -3
- package/src/ui/navigation/accountDialogManager.ts +4 -40
- package/src/ui/screens/ConnectedAppsScreen.tsx +8 -11
- package/src/ui/screens/EditProfileFieldScreen.tsx +2 -3
- package/src/ui/screens/EditProfileScreen.tsx +8 -14
- package/src/ui/screens/FAQScreen.tsx +7 -8
- package/src/ui/screens/FeedbackScreen.tsx +0 -1
- package/src/ui/screens/FileManagementScreen.tsx +54 -1158
- package/src/ui/screens/HistoryViewScreen.tsx +4 -4
- package/src/ui/screens/LanguageSelectorScreen.tsx +0 -1
- package/src/ui/screens/LegalDocumentsScreen.tsx +4 -3
- package/src/ui/screens/ManageAccountScreen.tsx +14 -47
- package/src/ui/screens/PaymentGatewayScreen.tsx +3 -7
- package/src/ui/screens/PremiumSubscriptionScreen.tsx +33 -31
- package/src/ui/screens/PrivacySettingsScreen.tsx +14 -16
- package/src/ui/screens/ProfileScreen.tsx +3 -3
- package/src/ui/screens/SavesCollectionsScreen.tsx +11 -12
- package/src/ui/screens/SearchSettingsScreen.tsx +2 -2
- package/src/ui/screens/UserListScreen.tsx +2 -2
- package/src/ui/screens/WelcomeNewUserScreen.tsx +6 -7
- package/src/ui/screens/fileManagement/FileListSection.tsx +126 -0
- package/src/ui/screens/fileManagement/PhotoPickerSection.tsx +611 -0
- package/src/ui/screens/fileManagement/UploadBar.tsx +48 -0
- package/src/ui/screens/fileManagement/hooks/useFileUploadState.ts +497 -0
- package/src/ui/screens/fileManagement/shared.ts +65 -0
- package/src/ui/screens/trust/TrustCenterScreen.tsx +2 -2
- package/src/ui/screens/trust/TrustFAQScreen.tsx +4 -10
- package/src/ui/screens/trust/TrustLeaderboardScreen.tsx +2 -2
- package/src/ui/screens/trust/TrustRulesScreen.tsx +2 -2
- package/src/ui/server.ts +2 -3
- package/src/ui/session/createSessionClient.ts +2 -2
- package/src/ui/types/navigation.ts +2 -18
- package/src/ui/utils/crossOriginRestore.ts +129 -0
- package/src/ui/utils/deviceCredential.ts +17 -0
- package/src/ui/utils/oauthReturn.ts +101 -0
- package/src/ui/utils/storageHelpers.ts +0 -12
- package/lib/commonjs/ui/components/ActivityIndicator.js +0 -203
- package/lib/commonjs/ui/components/ActivityIndicator.js.map +0 -1
- package/lib/commonjs/ui/components/AutoHeightScrollView.js +0 -46
- package/lib/commonjs/ui/components/AutoHeightScrollView.js.map +0 -1
- package/lib/commonjs/ui/components/Avatar.js +0 -181
- package/lib/commonjs/ui/components/Avatar.js.map +0 -1
- package/lib/commonjs/ui/components/CrossFadeIcon.js +0 -106
- package/lib/commonjs/ui/components/CrossFadeIcon.js.map +0 -1
- package/lib/commonjs/ui/components/EmptyState.js +0 -41
- package/lib/commonjs/ui/components/EmptyState.js.map +0 -1
- package/lib/commonjs/ui/components/HelperText.js +0 -95
- package/lib/commonjs/ui/components/HelperText.js.map +0 -1
- package/lib/commonjs/ui/components/Icon.js +0 -112
- package/lib/commonjs/ui/components/Icon.js.map +0 -1
- package/lib/commonjs/ui/components/IconButton/IconButton.js +0 -153
- package/lib/commonjs/ui/components/IconButton/IconButton.js.map +0 -1
- package/lib/commonjs/ui/components/IconButton/utils.js +0 -155
- package/lib/commonjs/ui/components/IconButton/utils.js.map +0 -1
- package/lib/commonjs/ui/components/LoadingState.js +0 -47
- package/lib/commonjs/ui/components/LoadingState.js.map +0 -1
- package/lib/commonjs/ui/components/OxyLogo.js +0 -110
- package/lib/commonjs/ui/components/OxyLogo.js.map +0 -1
- package/lib/commonjs/ui/components/ProfileCard.js +0 -134
- package/lib/commonjs/ui/components/ProfileCard.js.map +0 -1
- package/lib/commonjs/ui/components/QuickActions.js +0 -84
- package/lib/commonjs/ui/components/QuickActions.js.map +0 -1
- package/lib/commonjs/ui/components/StepBasedScreen.js +0 -423
- package/lib/commonjs/ui/components/StepBasedScreen.js.map +0 -1
- package/lib/commonjs/ui/components/Surface.js +0 -258
- package/lib/commonjs/ui/components/Surface.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Addons/Outline.js +0 -46
- package/lib/commonjs/ui/components/TextField/Addons/Outline.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js +0 -53
- package/lib/commonjs/ui/components/TextField/Addons/Underline.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -153
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js +0 -144
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldAffix.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js +0 -137
- package/lib/commonjs/ui/components/TextField/Adornment/TextFieldIcon.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js +0 -22
- package/lib/commonjs/ui/components/TextField/Adornment/enums.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/types.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js +0 -62
- package/lib/commonjs/ui/components/TextField/Adornment/utils.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js +0 -176
- package/lib/commonjs/ui/components/TextField/Label/InputLabel.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js +0 -84
- package/lib/commonjs/ui/components/TextField/Label/LabelBackground.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js +0 -381
- package/lib/commonjs/ui/components/TextField/TextFieldFlat.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js +0 -365
- package/lib/commonjs/ui/components/TextField/TextFieldOutlined.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/constants.js +0 -50
- package/lib/commonjs/ui/components/TextField/constants.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/helpers.js +0 -489
- package/lib/commonjs/ui/components/TextField/helpers.js.map +0 -1
- package/lib/commonjs/ui/components/TextField/types.js +0 -6
- package/lib/commonjs/ui/components/TextField/types.js.map +0 -1
- package/lib/commonjs/ui/components/TextField.js +0 -335
- package/lib/commonjs/ui/components/TextField.js.map +0 -1
- package/lib/commonjs/ui/components/TouchableRipple/Pressable.js +0 -12
- package/lib/commonjs/ui/components/TouchableRipple/Pressable.js.map +0 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js +0 -258
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.js.map +0 -1
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js +0 -107
- package/lib/commonjs/ui/components/TouchableRipple/TouchableRipple.native.js.map +0 -1
- package/lib/commonjs/ui/components/TouchableRipple/utils.js +0 -56
- package/lib/commonjs/ui/components/TouchableRipple/utils.js.map +0 -1
- package/lib/commonjs/ui/components/Typography/AnimatedText.js +0 -59
- package/lib/commonjs/ui/components/Typography/AnimatedText.js.map +0 -1
- package/lib/commonjs/ui/components/Typography/types.js +0 -26
- package/lib/commonjs/ui/components/Typography/types.js.map +0 -1
- package/lib/commonjs/ui/components/feedback/ProgressIndicator.js +0 -33
- package/lib/commonjs/ui/components/feedback/ProgressIndicator.js.map +0 -1
- package/lib/commonjs/ui/components/icon/OxyIcon.js +0 -26
- package/lib/commonjs/ui/components/icon/OxyIcon.js.map +0 -1
- package/lib/commonjs/ui/components/theming.js +0 -128
- package/lib/commonjs/ui/components/theming.js.map +0 -1
- package/lib/commonjs/ui/components/types.js +0 -6
- package/lib/commonjs/ui/components/types.js.map +0 -1
- package/lib/commonjs/ui/components/utils/forwardRef.js +0 -18
- package/lib/commonjs/ui/components/utils/forwardRef.js.map +0 -1
- package/lib/commonjs/ui/constants/iconColors.js +0 -84
- package/lib/commonjs/ui/constants/iconColors.js.map +0 -1
- package/lib/commonjs/ui/constants/theme.js +0 -124
- package/lib/commonjs/ui/constants/theme.js.map +0 -1
- package/lib/commonjs/ui/context/ThemeContext.js +0 -36
- package/lib/commonjs/ui/context/ThemeContext.js.map +0 -1
- package/lib/commonjs/ui/hooks/useColorScheme.js +0 -29
- package/lib/commonjs/ui/hooks/useColorScheme.js.map +0 -1
- package/lib/commonjs/ui/styles/authStyles.js +0 -334
- package/lib/commonjs/ui/styles/authStyles.js.map +0 -1
- package/lib/commonjs/ui/styles/theme.js +0 -153
- package/lib/commonjs/ui/styles/theme.js.map +0 -1
- package/lib/module/ui/components/ActivityIndicator.js +0 -198
- package/lib/module/ui/components/ActivityIndicator.js.map +0 -1
- package/lib/module/ui/components/AutoHeightScrollView.js +0 -41
- package/lib/module/ui/components/AutoHeightScrollView.js.map +0 -1
- package/lib/module/ui/components/Avatar.js +0 -177
- package/lib/module/ui/components/Avatar.js.map +0 -1
- package/lib/module/ui/components/CrossFadeIcon.js +0 -101
- package/lib/module/ui/components/CrossFadeIcon.js.map +0 -1
- package/lib/module/ui/components/EmptyState.js +0 -36
- package/lib/module/ui/components/EmptyState.js.map +0 -1
- package/lib/module/ui/components/HelperText.js +0 -90
- package/lib/module/ui/components/HelperText.js.map +0 -1
- package/lib/module/ui/components/Icon.js +0 -106
- package/lib/module/ui/components/Icon.js.map +0 -1
- package/lib/module/ui/components/IconButton/IconButton.js +0 -148
- package/lib/module/ui/components/IconButton/IconButton.js.map +0 -1
- package/lib/module/ui/components/IconButton/utils.js +0 -149
- package/lib/module/ui/components/IconButton/utils.js.map +0 -1
- package/lib/module/ui/components/LoadingState.js +0 -42
- package/lib/module/ui/components/LoadingState.js.map +0 -1
- package/lib/module/ui/components/OxyLogo.js +0 -104
- package/lib/module/ui/components/OxyLogo.js.map +0 -1
- package/lib/module/ui/components/ProfileCard.js +0 -129
- package/lib/module/ui/components/ProfileCard.js.map +0 -1
- package/lib/module/ui/components/QuickActions.js +0 -80
- package/lib/module/ui/components/QuickActions.js.map +0 -1
- package/lib/module/ui/components/StepBasedScreen.js +0 -418
- package/lib/module/ui/components/StepBasedScreen.js.map +0 -1
- package/lib/module/ui/components/Surface.js +0 -252
- package/lib/module/ui/components/Surface.js.map +0 -1
- package/lib/module/ui/components/TextField/Addons/Outline.js +0 -40
- package/lib/module/ui/components/TextField/Addons/Outline.js.map +0 -1
- package/lib/module/ui/components/TextField/Addons/Underline.js +0 -47
- package/lib/module/ui/components/TextField/Addons/Underline.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js +0 -146
- package/lib/module/ui/components/TextField/Adornment/TextFieldAdornment.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js +0 -141
- package/lib/module/ui/components/TextField/Adornment/TextFieldAffix.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js +0 -135
- package/lib/module/ui/components/TextField/Adornment/TextFieldIcon.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/enums.js +0 -18
- package/lib/module/ui/components/TextField/Adornment/enums.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/types.js +0 -4
- package/lib/module/ui/components/TextField/Adornment/types.js.map +0 -1
- package/lib/module/ui/components/TextField/Adornment/utils.js +0 -57
- package/lib/module/ui/components/TextField/Adornment/utils.js.map +0 -1
- package/lib/module/ui/components/TextField/Label/InputLabel.js +0 -171
- package/lib/module/ui/components/TextField/Label/InputLabel.js.map +0 -1
- package/lib/module/ui/components/TextField/Label/LabelBackground.js +0 -78
- package/lib/module/ui/components/TextField/Label/LabelBackground.js.map +0 -1
- package/lib/module/ui/components/TextField/TextFieldFlat.js +0 -376
- package/lib/module/ui/components/TextField/TextFieldFlat.js.map +0 -1
- package/lib/module/ui/components/TextField/TextFieldOutlined.js +0 -359
- package/lib/module/ui/components/TextField/TextFieldOutlined.js.map +0 -1
- package/lib/module/ui/components/TextField/constants.js +0 -46
- package/lib/module/ui/components/TextField/constants.js.map +0 -1
- package/lib/module/ui/components/TextField/helpers.js +0 -471
- package/lib/module/ui/components/TextField/helpers.js.map +0 -1
- package/lib/module/ui/components/TextField/types.js +0 -4
- package/lib/module/ui/components/TextField/types.js.map +0 -1
- package/lib/module/ui/components/TextField.js +0 -329
- package/lib/module/ui/components/TextField.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/Pressable.js +0 -9
- package/lib/module/ui/components/TouchableRipple/Pressable.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js +0 -253
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js +0 -101
- package/lib/module/ui/components/TouchableRipple/TouchableRipple.native.js.map +0 -1
- package/lib/module/ui/components/TouchableRipple/utils.js +0 -50
- package/lib/module/ui/components/TouchableRipple/utils.js.map +0 -1
- package/lib/module/ui/components/Typography/AnimatedText.js +0 -54
- package/lib/module/ui/components/Typography/AnimatedText.js.map +0 -1
- package/lib/module/ui/components/Typography/types.js +0 -22
- package/lib/module/ui/components/Typography/types.js.map +0 -1
- package/lib/module/ui/components/feedback/ProgressIndicator.js +0 -28
- package/lib/module/ui/components/feedback/ProgressIndicator.js.map +0 -1
- package/lib/module/ui/components/icon/OxyIcon.js +0 -22
- package/lib/module/ui/components/icon/OxyIcon.js.map +0 -1
- package/lib/module/ui/components/theming.js +0 -123
- package/lib/module/ui/components/theming.js.map +0 -1
- package/lib/module/ui/components/types.js +0 -4
- package/lib/module/ui/components/types.js.map +0 -1
- package/lib/module/ui/components/utils/forwardRef.js +0 -13
- package/lib/module/ui/components/utils/forwardRef.js.map +0 -1
- package/lib/module/ui/constants/iconColors.js +0 -78
- package/lib/module/ui/constants/iconColors.js.map +0 -1
- package/lib/module/ui/constants/theme.js +0 -120
- package/lib/module/ui/constants/theme.js.map +0 -1
- package/lib/module/ui/context/ThemeContext.js +0 -29
- package/lib/module/ui/context/ThemeContext.js.map +0 -1
- package/lib/module/ui/hooks/useColorScheme.js +0 -26
- package/lib/module/ui/hooks/useColorScheme.js.map +0 -1
- package/lib/module/ui/styles/authStyles.js +0 -329
- package/lib/module/ui/styles/authStyles.js.map +0 -1
- package/lib/module/ui/styles/theme.js +0 -147
- package/lib/module/ui/styles/theme.js.map +0 -1
- package/lib/typescript/commonjs/ui/components/ActivityIndicator.d.ts +0 -45
- package/lib/typescript/commonjs/ui/components/ActivityIndicator.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/AutoHeightScrollView.d.ts +0 -23
- package/lib/typescript/commonjs/ui/components/AutoHeightScrollView.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Avatar.d.ts +0 -61
- package/lib/typescript/commonjs/ui/components/Avatar.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/CrossFadeIcon.d.ts +0 -28
- package/lib/typescript/commonjs/ui/components/CrossFadeIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/EmptyState.d.ts +0 -8
- package/lib/typescript/commonjs/ui/components/EmptyState.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/HelperText.d.ts +0 -47
- package/lib/typescript/commonjs/ui/components/HelperText.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Icon.d.ts +0 -61
- package/lib/typescript/commonjs/ui/components/Icon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/IconButton/IconButton.d.ts +0 -99
- package/lib/typescript/commonjs/ui/components/IconButton/IconButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/IconButton/utils.d.ts +0 -19
- package/lib/typescript/commonjs/ui/components/IconButton/utils.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/LoadingState.d.ts +0 -9
- package/lib/typescript/commonjs/ui/components/LoadingState.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/OxyLogo.d.ts +0 -16
- package/lib/typescript/commonjs/ui/components/OxyLogo.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts +0 -21
- package/lib/typescript/commonjs/ui/components/ProfileCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/QuickActions.d.ts +0 -15
- package/lib/typescript/commonjs/ui/components/QuickActions.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/StepBasedScreen.d.ts +0 -28
- package/lib/typescript/commonjs/ui/components/StepBasedScreen.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Surface.d.ts +0 -76
- package/lib/typescript/commonjs/ui/components/Surface.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Addons/Outline.d.ts +0 -17
- package/lib/typescript/commonjs/ui/components/TextField/Addons/Outline.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Addons/Underline.d.ts +0 -20
- package/lib/typescript/commonjs/ui/components/TextField/Addons/Underline.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -45
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -73
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -78
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/enums.d.ts +0 -13
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/enums.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/types.d.ts +0 -12
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/utils.d.ts +0 -12
- package/lib/typescript/commonjs/ui/components/TextField/Adornment/utils.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Label/InputLabel.d.ts +0 -5
- package/lib/typescript/commonjs/ui/components/TextField/Label/InputLabel.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/Label/LabelBackground.d.ts +0 -5
- package/lib/typescript/commonjs/ui/components/TextField/Label/LabelBackground.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/TextFieldFlat.d.ts +0 -5
- package/lib/typescript/commonjs/ui/components/TextField/TextFieldFlat.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/TextFieldOutlined.d.ts +0 -5
- package/lib/typescript/commonjs/ui/components/TextField/TextFieldOutlined.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/constants.d.ts +0 -32
- package/lib/typescript/commonjs/ui/components/TextField/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/helpers.d.ts +0 -97
- package/lib/typescript/commonjs/ui/components/TextField/helpers.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField/types.d.ts +0 -155
- package/lib/typescript/commonjs/ui/components/TextField/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TextField.d.ts +0 -192
- package/lib/typescript/commonjs/ui/components/TextField.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/Pressable.d.ts +0 -13
- package/lib/typescript/commonjs/ui/components/TouchableRipple/Pressable.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -62
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts +0 -25
- package/lib/typescript/commonjs/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/TouchableRipple/utils.d.ts +0 -11
- package/lib/typescript/commonjs/ui/components/TouchableRipple/utils.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Typography/AnimatedText.d.ts +0 -35
- package/lib/typescript/commonjs/ui/components/Typography/AnimatedText.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/Typography/types.d.ts +0 -19
- package/lib/typescript/commonjs/ui/components/Typography/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/feedback/ProgressIndicator.d.ts +0 -11
- package/lib/typescript/commonjs/ui/components/feedback/ProgressIndicator.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/icon/OxyIcon.d.ts +0 -10
- package/lib/typescript/commonjs/ui/components/icon/OxyIcon.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/theming.d.ts +0 -8
- package/lib/typescript/commonjs/ui/components/theming.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/types.d.ts +0 -81
- package/lib/typescript/commonjs/ui/components/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/utils/forwardRef.d.ts +0 -12
- package/lib/typescript/commonjs/ui/components/utils/forwardRef.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/constants/iconColors.d.ts +0 -130
- package/lib/typescript/commonjs/ui/constants/iconColors.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/constants/theme.d.ts +0 -98
- package/lib/typescript/commonjs/ui/constants/theme.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/context/ThemeContext.d.ts +0 -19
- package/lib/typescript/commonjs/ui/context/ThemeContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/hooks/useColorScheme.d.ts +0 -8
- package/lib/typescript/commonjs/ui/hooks/useColorScheme.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/styles/authStyles.d.ts +0 -328
- package/lib/typescript/commonjs/ui/styles/authStyles.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/styles/theme.d.ts +0 -75
- package/lib/typescript/commonjs/ui/styles/theme.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ActivityIndicator.d.ts +0 -45
- package/lib/typescript/module/ui/components/ActivityIndicator.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/AutoHeightScrollView.d.ts +0 -23
- package/lib/typescript/module/ui/components/AutoHeightScrollView.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Avatar.d.ts +0 -61
- package/lib/typescript/module/ui/components/Avatar.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/CrossFadeIcon.d.ts +0 -28
- package/lib/typescript/module/ui/components/CrossFadeIcon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/EmptyState.d.ts +0 -8
- package/lib/typescript/module/ui/components/EmptyState.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/HelperText.d.ts +0 -47
- package/lib/typescript/module/ui/components/HelperText.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Icon.d.ts +0 -61
- package/lib/typescript/module/ui/components/Icon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts +0 -99
- package/lib/typescript/module/ui/components/IconButton/IconButton.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/IconButton/utils.d.ts +0 -19
- package/lib/typescript/module/ui/components/IconButton/utils.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/LoadingState.d.ts +0 -9
- package/lib/typescript/module/ui/components/LoadingState.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/OxyLogo.d.ts +0 -16
- package/lib/typescript/module/ui/components/OxyLogo.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ProfileCard.d.ts +0 -21
- package/lib/typescript/module/ui/components/ProfileCard.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/QuickActions.d.ts +0 -15
- package/lib/typescript/module/ui/components/QuickActions.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/StepBasedScreen.d.ts +0 -28
- package/lib/typescript/module/ui/components/StepBasedScreen.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Surface.d.ts +0 -76
- package/lib/typescript/module/ui/components/Surface.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Addons/Outline.d.ts +0 -17
- package/lib/typescript/module/ui/components/TextField/Addons/Outline.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Addons/Underline.d.ts +0 -20
- package/lib/typescript/module/ui/components/TextField/Addons/Underline.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +0 -45
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAdornment.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAffix.d.ts +0 -73
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldAffix.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldIcon.d.ts +0 -78
- package/lib/typescript/module/ui/components/TextField/Adornment/TextFieldIcon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/enums.d.ts +0 -13
- package/lib/typescript/module/ui/components/TextField/Adornment/enums.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/types.d.ts +0 -12
- package/lib/typescript/module/ui/components/TextField/Adornment/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Adornment/utils.d.ts +0 -12
- package/lib/typescript/module/ui/components/TextField/Adornment/utils.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Label/InputLabel.d.ts +0 -5
- package/lib/typescript/module/ui/components/TextField/Label/InputLabel.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/Label/LabelBackground.d.ts +0 -5
- package/lib/typescript/module/ui/components/TextField/Label/LabelBackground.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/TextFieldFlat.d.ts +0 -5
- package/lib/typescript/module/ui/components/TextField/TextFieldFlat.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/TextFieldOutlined.d.ts +0 -5
- package/lib/typescript/module/ui/components/TextField/TextFieldOutlined.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/constants.d.ts +0 -32
- package/lib/typescript/module/ui/components/TextField/constants.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/helpers.d.ts +0 -97
- package/lib/typescript/module/ui/components/TextField/helpers.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField/types.d.ts +0 -155
- package/lib/typescript/module/ui/components/TextField/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TextField.d.ts +0 -192
- package/lib/typescript/module/ui/components/TextField.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TouchableRipple/Pressable.d.ts +0 -13
- package/lib/typescript/module/ui/components/TouchableRipple/Pressable.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.d.ts +0 -62
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts +0 -25
- package/lib/typescript/module/ui/components/TouchableRipple/TouchableRipple.native.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/TouchableRipple/utils.d.ts +0 -11
- package/lib/typescript/module/ui/components/TouchableRipple/utils.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Typography/AnimatedText.d.ts +0 -35
- package/lib/typescript/module/ui/components/Typography/AnimatedText.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/Typography/types.d.ts +0 -19
- package/lib/typescript/module/ui/components/Typography/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/feedback/ProgressIndicator.d.ts +0 -11
- package/lib/typescript/module/ui/components/feedback/ProgressIndicator.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/icon/OxyIcon.d.ts +0 -10
- package/lib/typescript/module/ui/components/icon/OxyIcon.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/theming.d.ts +0 -8
- package/lib/typescript/module/ui/components/theming.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/types.d.ts +0 -81
- package/lib/typescript/module/ui/components/types.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/utils/forwardRef.d.ts +0 -12
- package/lib/typescript/module/ui/components/utils/forwardRef.d.ts.map +0 -1
- package/lib/typescript/module/ui/constants/iconColors.d.ts +0 -130
- package/lib/typescript/module/ui/constants/iconColors.d.ts.map +0 -1
- package/lib/typescript/module/ui/constants/theme.d.ts +0 -98
- package/lib/typescript/module/ui/constants/theme.d.ts.map +0 -1
- package/lib/typescript/module/ui/context/ThemeContext.d.ts +0 -19
- package/lib/typescript/module/ui/context/ThemeContext.d.ts.map +0 -1
- package/lib/typescript/module/ui/hooks/useColorScheme.d.ts +0 -8
- package/lib/typescript/module/ui/hooks/useColorScheme.d.ts.map +0 -1
- package/lib/typescript/module/ui/styles/authStyles.d.ts +0 -328
- package/lib/typescript/module/ui/styles/authStyles.d.ts.map +0 -1
- package/lib/typescript/module/ui/styles/theme.d.ts +0 -75
- package/lib/typescript/module/ui/styles/theme.d.ts.map +0 -1
- package/src/ui/components/ActivityIndicator.tsx +0 -254
- package/src/ui/components/AutoHeightScrollView.tsx +0 -50
- package/src/ui/components/Avatar.tsx +0 -284
- package/src/ui/components/CrossFadeIcon.tsx +0 -140
- package/src/ui/components/EmptyState.tsx +0 -39
- package/src/ui/components/HelperText.tsx +0 -149
- package/src/ui/components/Icon.tsx +0 -189
- package/src/ui/components/IconButton/IconButton.tsx +0 -232
- package/src/ui/components/IconButton/utils.ts +0 -190
- package/src/ui/components/LoadingState.tsx +0 -46
- package/src/ui/components/OxyLogo.tsx +0 -82
- package/src/ui/components/ProfileCard.tsx +0 -137
- package/src/ui/components/QuickActions.tsx +0 -91
- package/src/ui/components/StepBasedScreen.tsx +0 -499
- package/src/ui/components/Surface.tsx +0 -384
- package/src/ui/components/TextField/Addons/Outline.tsx +0 -64
- package/src/ui/components/TextField/Addons/Underline.tsx +0 -78
- package/src/ui/components/TextField/Adornment/TextFieldAdornment.tsx +0 -205
- package/src/ui/components/TextField/Adornment/TextFieldAffix.tsx +0 -212
- package/src/ui/components/TextField/Adornment/TextFieldIcon.tsx +0 -195
- package/src/ui/components/TextField/Adornment/enums.tsx +0 -12
- package/src/ui/components/TextField/Adornment/types.tsx +0 -11
- package/src/ui/components/TextField/Adornment/utils.ts +0 -66
- package/src/ui/components/TextField/Label/InputLabel.tsx +0 -219
- package/src/ui/components/TextField/Label/LabelBackground.tsx +0 -100
- package/src/ui/components/TextField/TextFieldFlat.tsx +0 -488
- package/src/ui/components/TextField/TextFieldOutlined.tsx +0 -464
- package/src/ui/components/TextField/constants.tsx +0 -48
- package/src/ui/components/TextField/helpers.tsx +0 -611
- package/src/ui/components/TextField/types.tsx +0 -160
- package/src/ui/components/TextField.tsx +0 -574
- package/src/ui/components/TouchableRipple/Pressable.tsx +0 -42
- package/src/ui/components/TouchableRipple/TouchableRipple.native.tsx +0 -146
- package/src/ui/components/TouchableRipple/TouchableRipple.tsx +0 -347
- package/src/ui/components/TouchableRipple/utils.ts +0 -66
- package/src/ui/components/Typography/AnimatedText.tsx +0 -106
- package/src/ui/components/Typography/types.tsx +0 -22
- package/src/ui/components/feedback/ProgressIndicator.tsx +0 -35
- package/src/ui/components/icon/OxyIcon.tsx +0 -31
- package/src/ui/components/theming.tsx +0 -126
- package/src/ui/components/types.tsx +0 -93
- package/src/ui/components/utils/forwardRef.tsx +0 -23
- package/src/ui/constants/iconColors.ts +0 -88
- package/src/ui/constants/theme.ts +0 -121
- package/src/ui/context/ThemeContext.tsx +0 -41
- package/src/ui/context/__tests__/OxyContext.coldBoot.test.tsx +0 -166
- package/src/ui/hooks/useColorScheme.ts +0 -24
- package/src/ui/styles/authStyles.ts +0 -348
- package/src/ui/styles/theme.ts +0 -169
|
@@ -1,335 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _TextFieldAffix = _interopRequireDefault(require("./TextField/Adornment/TextFieldAffix.js"));
|
|
10
|
-
var _TextFieldIcon = _interopRequireDefault(require("./TextField/Adornment/TextFieldIcon.js"));
|
|
11
|
-
var _TextFieldFlat = _interopRequireDefault(require("./TextField/TextFieldFlat.js"));
|
|
12
|
-
var _TextFieldOutlined = _interopRequireDefault(require("./TextField/TextFieldOutlined.js"));
|
|
13
|
-
var _theming = require("./theming.js");
|
|
14
|
-
var _forwardRef = require("./utils/forwardRef.js");
|
|
15
|
-
var _roundLayoutSize = require("./utils/roundLayoutSize.js");
|
|
16
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
18
|
-
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); }
|
|
19
|
-
const BLUR_ANIMATION_DURATION = 180;
|
|
20
|
-
const FOCUS_ANIMATION_DURATION = 150;
|
|
21
|
-
const DefaultRenderer = props => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
|
|
22
|
-
...props
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* A component to allow users to input text.
|
|
27
|
-
*
|
|
28
|
-
* ## Usage
|
|
29
|
-
* ```js
|
|
30
|
-
* import * as React from 'react';
|
|
31
|
-
* import { TextField } from './TextField';
|
|
32
|
-
*
|
|
33
|
-
* const MyComponent = () => {
|
|
34
|
-
* const [text, setText] = React.useState("");
|
|
35
|
-
*
|
|
36
|
-
* return (
|
|
37
|
-
* <TextField
|
|
38
|
-
* label="Email"
|
|
39
|
-
* value={text}
|
|
40
|
-
* onChangeText={text => setText(text)}
|
|
41
|
-
* />
|
|
42
|
-
* );
|
|
43
|
-
* };
|
|
44
|
-
*
|
|
45
|
-
* export default MyComponent;
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @extends TextInput props https://reactnative.dev/docs/textinput#props
|
|
49
|
-
*/
|
|
50
|
-
const TextField = (0, _forwardRef.forwardRef)(({
|
|
51
|
-
mode = 'flat',
|
|
52
|
-
dense = false,
|
|
53
|
-
disabled = false,
|
|
54
|
-
error: errorProp = false,
|
|
55
|
-
multiline = false,
|
|
56
|
-
editable = true,
|
|
57
|
-
contentStyle,
|
|
58
|
-
render = DefaultRenderer,
|
|
59
|
-
theme: themeOverrides,
|
|
60
|
-
...rest
|
|
61
|
-
}, ref) => {
|
|
62
|
-
const theme = (0, _theming.useInternalTheme)(themeOverrides);
|
|
63
|
-
const isControlled = rest.value !== undefined;
|
|
64
|
-
const validInputValue = isControlled ? rest.value : rest.defaultValue;
|
|
65
|
-
const {
|
|
66
|
-
current: labeled
|
|
67
|
-
} = React.useRef(new _reactNative.Animated.Value(validInputValue ? 0 : 1));
|
|
68
|
-
const {
|
|
69
|
-
current: error
|
|
70
|
-
} = React.useRef(new _reactNative.Animated.Value(errorProp ? 1 : 0));
|
|
71
|
-
const [focused, setFocused] = React.useState(false);
|
|
72
|
-
const [displayPlaceholder, setDisplayPlaceholder] = React.useState(false);
|
|
73
|
-
const [uncontrolledValue, setUncontrolledValue] = React.useState(validInputValue);
|
|
74
|
-
// Use value from props instead of local state when input is controlled
|
|
75
|
-
const value = isControlled ? rest.value : uncontrolledValue;
|
|
76
|
-
const [labelTextLayout, setLabelTextLayout] = React.useState({
|
|
77
|
-
width: 33
|
|
78
|
-
});
|
|
79
|
-
const [inputContainerLayout, setInputContainerLayout] = React.useState({
|
|
80
|
-
width: 65
|
|
81
|
-
});
|
|
82
|
-
const [labelLayout, setLabelLayout] = React.useState({
|
|
83
|
-
measured: false,
|
|
84
|
-
width: 0,
|
|
85
|
-
height: 0
|
|
86
|
-
});
|
|
87
|
-
const [leftLayout, setLeftLayout] = React.useState({
|
|
88
|
-
width: null,
|
|
89
|
-
height: null
|
|
90
|
-
});
|
|
91
|
-
const [rightLayout, setRightLayout] = React.useState({
|
|
92
|
-
width: null,
|
|
93
|
-
height: null
|
|
94
|
-
});
|
|
95
|
-
const timer = React.useRef(undefined);
|
|
96
|
-
const root = React.useRef(null);
|
|
97
|
-
const {
|
|
98
|
-
scale
|
|
99
|
-
} = theme.animation;
|
|
100
|
-
React.useImperativeHandle(ref, () => ({
|
|
101
|
-
focus: () => root.current?.focus(),
|
|
102
|
-
clear: () => root.current?.clear(),
|
|
103
|
-
setNativeProps: args => root.current?.setNativeProps(args),
|
|
104
|
-
isFocused: () => root.current?.isFocused() || false,
|
|
105
|
-
blur: () => root.current?.blur(),
|
|
106
|
-
forceFocus: () => root.current?.focus(),
|
|
107
|
-
setSelection: (start, end) => root.current?.setSelection(start, end)
|
|
108
|
-
}));
|
|
109
|
-
React.useEffect(() => {
|
|
110
|
-
// When the input has an error, we wiggle the label and apply error styles
|
|
111
|
-
if (errorProp) {
|
|
112
|
-
// show error
|
|
113
|
-
_reactNative.Animated.timing(error, {
|
|
114
|
-
toValue: 1,
|
|
115
|
-
duration: FOCUS_ANIMATION_DURATION * scale,
|
|
116
|
-
// To prevent this - https://github.com/callstack/react-native-paper/issues/941
|
|
117
|
-
useNativeDriver: true
|
|
118
|
-
}).start();
|
|
119
|
-
} else {
|
|
120
|
-
_reactNative.Animated.timing(error, {
|
|
121
|
-
toValue: 0,
|
|
122
|
-
duration: BLUR_ANIMATION_DURATION * scale,
|
|
123
|
-
// To prevent this - https://github.com/callstack/react-native-paper/issues/941
|
|
124
|
-
useNativeDriver: true
|
|
125
|
-
}).start();
|
|
126
|
-
}
|
|
127
|
-
}, [errorProp, scale, error]);
|
|
128
|
-
React.useEffect(() => {
|
|
129
|
-
// Show placeholder text only if the input is focused, or there's no label
|
|
130
|
-
// We don't show placeholder if there's a label because the label acts as placeholder
|
|
131
|
-
// When focused, the label moves up, so we can show a placeholder
|
|
132
|
-
if (focused || !rest.label) {
|
|
133
|
-
// If the user wants to use the contextMenu, when changing the placeholder, the contextMenu is closed
|
|
134
|
-
// This is a workaround to mitigate this behavior in scenarios where the placeholder is not specified.
|
|
135
|
-
if (rest.placeholder) {
|
|
136
|
-
// Display placeholder in a delay to offset the label animation
|
|
137
|
-
// If we show it immediately, they'll overlap and look ugly
|
|
138
|
-
timer.current = setTimeout(() => setDisplayPlaceholder(true), 50);
|
|
139
|
-
}
|
|
140
|
-
} else {
|
|
141
|
-
// hidePlaceholder
|
|
142
|
-
setDisplayPlaceholder(false);
|
|
143
|
-
}
|
|
144
|
-
return () => {
|
|
145
|
-
if (timer.current) {
|
|
146
|
-
clearTimeout(timer.current);
|
|
147
|
-
}
|
|
148
|
-
};
|
|
149
|
-
}, [focused, rest.label, rest.placeholder]);
|
|
150
|
-
React.useEffect(() => {
|
|
151
|
-
labeled.stopAnimation();
|
|
152
|
-
// The label should be minimized if the text input is focused, or has text
|
|
153
|
-
// In minimized mode, the label moves up and becomes small
|
|
154
|
-
// workaround for animated regression for react native > 0.61
|
|
155
|
-
// https://github.com/callstack/react-native-paper/pull/1440
|
|
156
|
-
if (value || focused) {
|
|
157
|
-
// minimize label
|
|
158
|
-
_reactNative.Animated.timing(labeled, {
|
|
159
|
-
toValue: 0,
|
|
160
|
-
duration: BLUR_ANIMATION_DURATION * scale,
|
|
161
|
-
// To prevent this - https://github.com/callstack/react-native-paper/issues/941
|
|
162
|
-
useNativeDriver: true
|
|
163
|
-
}).start();
|
|
164
|
-
} else {
|
|
165
|
-
// restore label
|
|
166
|
-
_reactNative.Animated.timing(labeled, {
|
|
167
|
-
toValue: 1,
|
|
168
|
-
duration: FOCUS_ANIMATION_DURATION * scale,
|
|
169
|
-
// To prevent this - https://github.com/callstack/react-native-paper/issues/941
|
|
170
|
-
useNativeDriver: true
|
|
171
|
-
}).start();
|
|
172
|
-
}
|
|
173
|
-
}, [focused, value, labeled, scale]);
|
|
174
|
-
const onLeftAffixLayoutChange = React.useCallback(event => {
|
|
175
|
-
const height = (0, _roundLayoutSize.roundLayoutSize)(event.nativeEvent.layout.height);
|
|
176
|
-
const width = (0, _roundLayoutSize.roundLayoutSize)(event.nativeEvent.layout.width);
|
|
177
|
-
if (width !== leftLayout.width || height !== leftLayout.height) {
|
|
178
|
-
setLeftLayout({
|
|
179
|
-
width,
|
|
180
|
-
height
|
|
181
|
-
});
|
|
182
|
-
}
|
|
183
|
-
}, [leftLayout.height, leftLayout.width]);
|
|
184
|
-
const onRightAffixLayoutChange = React.useCallback(event => {
|
|
185
|
-
const width = (0, _roundLayoutSize.roundLayoutSize)(event.nativeEvent.layout.width);
|
|
186
|
-
const height = (0, _roundLayoutSize.roundLayoutSize)(event.nativeEvent.layout.height);
|
|
187
|
-
if (width !== rightLayout.width || height !== rightLayout.height) {
|
|
188
|
-
setRightLayout({
|
|
189
|
-
width,
|
|
190
|
-
height
|
|
191
|
-
});
|
|
192
|
-
}
|
|
193
|
-
}, [rightLayout.height, rightLayout.width]);
|
|
194
|
-
const handleFocus = args => {
|
|
195
|
-
if (disabled || !editable) {
|
|
196
|
-
return;
|
|
197
|
-
}
|
|
198
|
-
setFocused(true);
|
|
199
|
-
rest.onFocus?.(args);
|
|
200
|
-
};
|
|
201
|
-
const handleBlur = args => {
|
|
202
|
-
if (!editable) {
|
|
203
|
-
return;
|
|
204
|
-
}
|
|
205
|
-
setFocused(false);
|
|
206
|
-
rest.onBlur?.(args);
|
|
207
|
-
};
|
|
208
|
-
const handleChangeText = value => {
|
|
209
|
-
if (!editable || disabled) {
|
|
210
|
-
return;
|
|
211
|
-
}
|
|
212
|
-
if (!isControlled) {
|
|
213
|
-
// Keep track of value in local state when input is not controlled
|
|
214
|
-
setUncontrolledValue(value);
|
|
215
|
-
}
|
|
216
|
-
rest.onChangeText?.(value);
|
|
217
|
-
};
|
|
218
|
-
const handleLayoutAnimatedText = React.useCallback(e => {
|
|
219
|
-
const width = (0, _roundLayoutSize.roundLayoutSize)(e.nativeEvent.layout.width);
|
|
220
|
-
const height = (0, _roundLayoutSize.roundLayoutSize)(e.nativeEvent.layout.height);
|
|
221
|
-
if (width !== labelLayout.width || height !== labelLayout.height) {
|
|
222
|
-
setLabelLayout({
|
|
223
|
-
width,
|
|
224
|
-
height,
|
|
225
|
-
measured: true
|
|
226
|
-
});
|
|
227
|
-
}
|
|
228
|
-
}, [labelLayout.height, labelLayout.width]);
|
|
229
|
-
const handleLabelTextLayout = React.useCallback(({
|
|
230
|
-
nativeEvent
|
|
231
|
-
}) => {
|
|
232
|
-
setLabelTextLayout({
|
|
233
|
-
width: nativeEvent.lines.reduce((acc, line) => acc + Math.ceil(line.width), 0)
|
|
234
|
-
});
|
|
235
|
-
}, []);
|
|
236
|
-
const handleInputContainerLayout = React.useCallback(({
|
|
237
|
-
nativeEvent: {
|
|
238
|
-
layout
|
|
239
|
-
}
|
|
240
|
-
}) => {
|
|
241
|
-
setInputContainerLayout({
|
|
242
|
-
width: layout.width
|
|
243
|
-
});
|
|
244
|
-
}, []);
|
|
245
|
-
const forceFocus = React.useCallback(() => root.current?.focus(), []);
|
|
246
|
-
const {
|
|
247
|
-
maxFontSizeMultiplier = 1.5
|
|
248
|
-
} = rest;
|
|
249
|
-
const scaledLabel = !!(value || focused);
|
|
250
|
-
if (mode === 'outlined') {
|
|
251
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextFieldOutlined.default, {
|
|
252
|
-
dense: dense,
|
|
253
|
-
disabled: disabled,
|
|
254
|
-
error: errorProp,
|
|
255
|
-
multiline: multiline,
|
|
256
|
-
editable: editable,
|
|
257
|
-
render: render,
|
|
258
|
-
...rest,
|
|
259
|
-
theme: theme,
|
|
260
|
-
value: value,
|
|
261
|
-
parentState: {
|
|
262
|
-
labeled,
|
|
263
|
-
error,
|
|
264
|
-
focused,
|
|
265
|
-
displayPlaceholder,
|
|
266
|
-
value,
|
|
267
|
-
labelTextLayout,
|
|
268
|
-
labelLayout,
|
|
269
|
-
leftLayout,
|
|
270
|
-
rightLayout,
|
|
271
|
-
inputContainerLayout
|
|
272
|
-
},
|
|
273
|
-
innerRef: ref => {
|
|
274
|
-
root.current = ref;
|
|
275
|
-
},
|
|
276
|
-
onFocus: handleFocus,
|
|
277
|
-
forceFocus: forceFocus,
|
|
278
|
-
onBlur: handleBlur,
|
|
279
|
-
onChangeText: handleChangeText,
|
|
280
|
-
onLayoutAnimatedText: handleLayoutAnimatedText,
|
|
281
|
-
onInputLayout: handleInputContainerLayout,
|
|
282
|
-
onLabelTextLayout: handleLabelTextLayout,
|
|
283
|
-
onLeftAffixLayoutChange: onLeftAffixLayoutChange,
|
|
284
|
-
onRightAffixLayoutChange: onRightAffixLayoutChange,
|
|
285
|
-
maxFontSizeMultiplier: maxFontSizeMultiplier,
|
|
286
|
-
contentStyle: contentStyle,
|
|
287
|
-
scaledLabel: scaledLabel
|
|
288
|
-
});
|
|
289
|
-
}
|
|
290
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_TextFieldFlat.default, {
|
|
291
|
-
dense: dense,
|
|
292
|
-
disabled: disabled,
|
|
293
|
-
error: errorProp,
|
|
294
|
-
multiline: multiline,
|
|
295
|
-
editable: editable,
|
|
296
|
-
render: render,
|
|
297
|
-
...rest,
|
|
298
|
-
theme: theme,
|
|
299
|
-
value: value,
|
|
300
|
-
parentState: {
|
|
301
|
-
labeled,
|
|
302
|
-
error,
|
|
303
|
-
focused,
|
|
304
|
-
displayPlaceholder,
|
|
305
|
-
value,
|
|
306
|
-
labelTextLayout,
|
|
307
|
-
labelLayout,
|
|
308
|
-
leftLayout,
|
|
309
|
-
rightLayout,
|
|
310
|
-
inputContainerLayout
|
|
311
|
-
},
|
|
312
|
-
innerRef: ref => {
|
|
313
|
-
root.current = ref;
|
|
314
|
-
},
|
|
315
|
-
onFocus: handleFocus,
|
|
316
|
-
forceFocus: forceFocus,
|
|
317
|
-
onBlur: handleBlur,
|
|
318
|
-
onInputLayout: handleInputContainerLayout,
|
|
319
|
-
onChangeText: handleChangeText,
|
|
320
|
-
onLayoutAnimatedText: handleLayoutAnimatedText,
|
|
321
|
-
onLabelTextLayout: handleLabelTextLayout,
|
|
322
|
-
onLeftAffixLayoutChange: onLeftAffixLayoutChange,
|
|
323
|
-
onRightAffixLayoutChange: onRightAffixLayoutChange,
|
|
324
|
-
maxFontSizeMultiplier: maxFontSizeMultiplier,
|
|
325
|
-
contentStyle: contentStyle,
|
|
326
|
-
scaledLabel: scaledLabel
|
|
327
|
-
});
|
|
328
|
-
});
|
|
329
|
-
// @component ./TextField/Adornment/TextFieldIcon.tsx
|
|
330
|
-
TextField.Icon = _TextFieldIcon.default;
|
|
331
|
-
|
|
332
|
-
// @component ./TextField/Adornment/TextFieldAffix.tsx
|
|
333
|
-
TextField.Affix = _TextFieldAffix.default;
|
|
334
|
-
var _default = exports.default = TextField;
|
|
335
|
-
//# sourceMappingURL=TextField.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_TextFieldAffix","_interopRequireDefault","_TextFieldIcon","_TextFieldFlat","_TextFieldOutlined","_theming","_forwardRef","_roundLayoutSize","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","BLUR_ANIMATION_DURATION","FOCUS_ANIMATION_DURATION","DefaultRenderer","props","jsx","TextInput","TextField","forwardRef","mode","dense","disabled","error","errorProp","multiline","editable","contentStyle","render","theme","themeOverrides","rest","ref","useInternalTheme","isControlled","value","undefined","validInputValue","defaultValue","current","labeled","useRef","Animated","Value","focused","setFocused","useState","displayPlaceholder","setDisplayPlaceholder","uncontrolledValue","setUncontrolledValue","labelTextLayout","setLabelTextLayout","width","inputContainerLayout","setInputContainerLayout","labelLayout","setLabelLayout","measured","height","leftLayout","setLeftLayout","rightLayout","setRightLayout","timer","root","scale","animation","useImperativeHandle","focus","clear","setNativeProps","args","isFocused","blur","forceFocus","setSelection","start","end","useEffect","timing","toValue","duration","useNativeDriver","label","placeholder","setTimeout","clearTimeout","stopAnimation","onLeftAffixLayoutChange","useCallback","event","roundLayoutSize","nativeEvent","layout","onRightAffixLayoutChange","handleFocus","onFocus","handleBlur","onBlur","handleChangeText","onChangeText","handleLayoutAnimatedText","handleLabelTextLayout","lines","reduce","acc","line","Math","ceil","handleInputContainerLayout","maxFontSizeMultiplier","scaledLabel","parentState","innerRef","onLayoutAnimatedText","onInputLayout","onLabelTextLayout","Icon","TextFieldIcon","Affix","TextFieldAffix","_default","exports"],"sourceRoot":"../../../../src","sources":["ui/components/TextField.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAWA,IAAAE,eAAA,GAAAC,sBAAA,CAAAH,OAAA;AAGA,IAAAI,cAAA,GAAAD,sBAAA,CAAAH,OAAA;AAGA,IAAAK,cAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,kBAAA,GAAAH,sBAAA,CAAAH,OAAA;AAEA,IAAAO,QAAA,GAAAP,OAAA;AAEA,IAAAQ,WAAA,GAAAR,OAAA;AACA,IAAAS,gBAAA,GAAAT,OAAA;AAA0D,IAAAU,WAAA,GAAAV,OAAA;AAAA,SAAAG,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAZ,wBAAAY,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAA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AM;IACb8E,WAAW,EAAE;MACXzE,OAAO;MACPjB,KAAK;MACLqB,OAAO;MACPG,kBAAkB;MAClBZ,KAAK;MACLgB,eAAe;MACfK,WAAW;MACXI,UAAU;MACVE,WAAW;MACXR;IACF,CAAE;IACF4D,QAAQ,EAAGlF,GAAG,IAAK;MACjBiC,IAAI,CAAC1B,OAAO,GAAGP,GAAG;IACpB,CAAE;IACFiE,OAAO,EAAED,WAAY;IACrBrB,UAAU,EAAEA,UAAW;IACvBwB,MAAM,EAAED,UAAW;IACnBkB,aAAa,EAAEN,0BAA2B;IAC1CT,YAAY,EAAED,gBAAiB;IAC/Be,oBAAoB,EAAEb,wBAAyB;IAC/Ce,iBAAiB,EAAEd,qBAAsB;IACzCd,uBAAuB,EAAEA,uBAAwB;IACjDM,wBAAwB,EAAEA,wBAAyB;IACnDgB,qBAAqB,EAAEA,qBAAsB;IAC7CpF,YAAY,EAAEA,YAAa;IAC3BqF,WAAW,EAAEA;EAAY,CAC1B,CAAC;AAEN,CACF,CAAwB;AACxB;AACA9F,SAAS,CAACoG,IAAI,GAAGC,sBAAa;;AAE9B;AACArG,SAAS,CAACsG,KAAK,GAAGC,uBAAc;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAhI,OAAA,GAElBuB,SAAS","ignoreList":[]}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.Pressable = void 0;
|
|
7
|
-
var _reactNative = require("react-native");
|
|
8
|
-
// This component is added to support type-safe hover and focus states on web
|
|
9
|
-
// https://necolas.github.io/react-native-web/docs/pressable/
|
|
10
|
-
|
|
11
|
-
const Pressable = exports.Pressable = _reactNative.Pressable;
|
|
12
|
-
//# sourceMappingURL=Pressable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNative","require","Pressable","exports","PressableNative"],"sourceRoot":"../../../../../src","sources":["ui/components/TouchableRipple/Pressable.tsx"],"mappings":";;;;;;AAQA,IAAAA,YAAA,GAAAC,OAAA;AAEA;AACA;;AA2BO,MAAMC,SAGZ,GAAAC,OAAA,CAAAD,SAAA,GAAGE,sBAAsB","ignoreList":[]}
|
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _Pressable = require("./Pressable.js");
|
|
10
|
-
var _utils = require("./utils.js");
|
|
11
|
-
var _theming = require("../theming.js");
|
|
12
|
-
var _forwardRef = require("../utils/forwardRef.js");
|
|
13
|
-
var _hasTouchHandler = _interopRequireDefault(require("../utils/hasTouchHandler.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
|
-
// Settings context not needed - removed dependency
|
|
18
|
-
const SettingsContext = /*#__PURE__*/React.createContext({
|
|
19
|
-
rippleEffectEnabled: true
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
// Color manipulation utilities (simplified without color package)
|
|
23
|
-
const hexToRgb = hex => {
|
|
24
|
-
const r = Number.parseInt(hex.slice(1, 3), 16);
|
|
25
|
-
const g = Number.parseInt(hex.slice(3, 5), 16);
|
|
26
|
-
const b = Number.parseInt(hex.slice(5, 7), 16);
|
|
27
|
-
return [r, g, b];
|
|
28
|
-
};
|
|
29
|
-
const fadeColor = (color, alpha) => {
|
|
30
|
-
const [r, g, b] = hexToRgb(color);
|
|
31
|
-
return `rgba(${r}, ${g}, ${b}, ${alpha})`;
|
|
32
|
-
};
|
|
33
|
-
const colorUtil = hex => ({
|
|
34
|
-
fade: alpha => ({
|
|
35
|
-
rgb: () => ({
|
|
36
|
-
string: () => fadeColor(hex, alpha)
|
|
37
|
-
})
|
|
38
|
-
}),
|
|
39
|
-
rgb: () => ({
|
|
40
|
-
string: () => hex
|
|
41
|
-
})
|
|
42
|
-
});
|
|
43
|
-
/**
|
|
44
|
-
* A wrapper for views that should respond to touches.
|
|
45
|
-
* Provides a material "ink ripple" interaction effect for supported platforms (>= Android Lollipop).
|
|
46
|
-
* On unsupported platforms, it falls back to a highlight effect.
|
|
47
|
-
*
|
|
48
|
-
* ## Usage
|
|
49
|
-
* ```js
|
|
50
|
-
* import * as React from 'react';
|
|
51
|
-
* import { View } from 'react-native';
|
|
52
|
-
* import { Text, TouchableRipple } from 'react-native-paper';
|
|
53
|
-
*
|
|
54
|
-
* const MyComponent = () => (
|
|
55
|
-
* <TouchableRipple
|
|
56
|
-
* onPress={() => console.log('Pressed')}
|
|
57
|
-
* rippleColor="rgba(0, 0, 0, .32)"
|
|
58
|
-
* >
|
|
59
|
-
* <Text>Press anywhere</Text>
|
|
60
|
-
* </TouchableRipple>
|
|
61
|
-
* );
|
|
62
|
-
*
|
|
63
|
-
* export default MyComponent;
|
|
64
|
-
* ```
|
|
65
|
-
*
|
|
66
|
-
* @extends Pressable props https://reactnative.dev/docs/Pressable#props
|
|
67
|
-
*/
|
|
68
|
-
const TouchableRipple = ({
|
|
69
|
-
style,
|
|
70
|
-
background: _background,
|
|
71
|
-
borderless = false,
|
|
72
|
-
disabled: disabledProp,
|
|
73
|
-
rippleColor,
|
|
74
|
-
underlayColor: _underlayColor,
|
|
75
|
-
children,
|
|
76
|
-
theme: themeOverrides,
|
|
77
|
-
...rest
|
|
78
|
-
}, ref) => {
|
|
79
|
-
const theme = (0, _theming.useInternalTheme)(themeOverrides);
|
|
80
|
-
const {
|
|
81
|
-
calculatedRippleColor
|
|
82
|
-
} = (0, _utils.getTouchableRippleColors)({
|
|
83
|
-
theme,
|
|
84
|
-
rippleColor
|
|
85
|
-
});
|
|
86
|
-
const hoverColor = colorUtil(typeof calculatedRippleColor === 'string' ? calculatedRippleColor : '#000000').fade(0.5).rgb().string();
|
|
87
|
-
const {
|
|
88
|
-
rippleEffectEnabled
|
|
89
|
-
} = React.useContext(SettingsContext);
|
|
90
|
-
const {
|
|
91
|
-
onPress,
|
|
92
|
-
onLongPress,
|
|
93
|
-
onPressIn,
|
|
94
|
-
onPressOut
|
|
95
|
-
} = rest;
|
|
96
|
-
const handlePressIn = React.useCallback(e => {
|
|
97
|
-
onPressIn?.(e);
|
|
98
|
-
if (rippleEffectEnabled) {
|
|
99
|
-
const {
|
|
100
|
-
centered
|
|
101
|
-
} = rest;
|
|
102
|
-
const button = e.currentTarget;
|
|
103
|
-
const style = window.getComputedStyle(button);
|
|
104
|
-
const dimensions = button.getBoundingClientRect();
|
|
105
|
-
let touchX;
|
|
106
|
-
let touchY;
|
|
107
|
-
const {
|
|
108
|
-
changedTouches,
|
|
109
|
-
touches
|
|
110
|
-
} = e.nativeEvent;
|
|
111
|
-
const touch = touches?.[0] ?? changedTouches?.[0];
|
|
112
|
-
|
|
113
|
-
// If centered or it was pressed using keyboard - enter or space
|
|
114
|
-
if (centered || !touch) {
|
|
115
|
-
touchX = dimensions.width / 2;
|
|
116
|
-
touchY = dimensions.height / 2;
|
|
117
|
-
} else {
|
|
118
|
-
touchX = touch.locationX ?? e.pageX;
|
|
119
|
-
touchY = touch.locationY ?? e.pageY;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// Get the size of the button to determine how big the ripple should be
|
|
123
|
-
const size = centered ?
|
|
124
|
-
// If ripple is always centered, we don't need to make it too big
|
|
125
|
-
Math.min(dimensions.width, dimensions.height) * 1.5 :
|
|
126
|
-
// Otherwise make it twice as big so clicking on one end spreads ripple to other
|
|
127
|
-
Math.max(dimensions.width, dimensions.height) * 2;
|
|
128
|
-
|
|
129
|
-
// Create a container for our ripple effect so we don't need to change the parent's style
|
|
130
|
-
const container = document.createElement('span');
|
|
131
|
-
container.setAttribute('data-paper-ripple', '');
|
|
132
|
-
Object.assign(container.style, {
|
|
133
|
-
position: 'absolute',
|
|
134
|
-
pointerEvents: 'none',
|
|
135
|
-
top: '0',
|
|
136
|
-
left: '0',
|
|
137
|
-
right: '0',
|
|
138
|
-
bottom: '0',
|
|
139
|
-
borderTopLeftRadius: style.borderTopLeftRadius,
|
|
140
|
-
borderTopRightRadius: style.borderTopRightRadius,
|
|
141
|
-
borderBottomRightRadius: style.borderBottomRightRadius,
|
|
142
|
-
borderBottomLeftRadius: style.borderBottomLeftRadius,
|
|
143
|
-
overflow: centered ? 'visible' : 'hidden'
|
|
144
|
-
});
|
|
145
|
-
|
|
146
|
-
// Create span to show the ripple effect
|
|
147
|
-
const ripple = document.createElement('span');
|
|
148
|
-
Object.assign(ripple.style, {
|
|
149
|
-
position: 'absolute',
|
|
150
|
-
pointerEvents: 'none',
|
|
151
|
-
backgroundColor: calculatedRippleColor,
|
|
152
|
-
borderRadius: '50%',
|
|
153
|
-
/* Transition configuration */
|
|
154
|
-
transitionProperty: 'transform opacity',
|
|
155
|
-
transitionDuration: `${Math.min(size * 1.5, 350)}ms`,
|
|
156
|
-
transitionTimingFunction: 'linear',
|
|
157
|
-
transformOrigin: 'center',
|
|
158
|
-
/* We'll animate these properties */
|
|
159
|
-
transform: 'translate3d(-50%, -50%, 0) scale3d(0.1, 0.1, 0.1)',
|
|
160
|
-
opacity: '0.5',
|
|
161
|
-
// Position the ripple where cursor was
|
|
162
|
-
left: `${touchX}px`,
|
|
163
|
-
top: `${touchY}px`,
|
|
164
|
-
width: `${size}px`,
|
|
165
|
-
height: `${size}px`
|
|
166
|
-
});
|
|
167
|
-
|
|
168
|
-
// Finally, append it to DOM
|
|
169
|
-
container.appendChild(ripple);
|
|
170
|
-
button.appendChild(container);
|
|
171
|
-
|
|
172
|
-
// rAF runs in the same frame as the event handler
|
|
173
|
-
// Use double rAF to ensure the transition class is added in next frame
|
|
174
|
-
// This will make sure that the transition animation is triggered
|
|
175
|
-
requestAnimationFrame(() => {
|
|
176
|
-
requestAnimationFrame(() => {
|
|
177
|
-
Object.assign(ripple.style, {
|
|
178
|
-
transform: 'translate3d(-50%, -50%, 0) scale3d(1, 1, 1)',
|
|
179
|
-
opacity: '1'
|
|
180
|
-
});
|
|
181
|
-
});
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
}, [onPressIn, rest, rippleEffectEnabled, calculatedRippleColor]);
|
|
185
|
-
const handlePressOut = React.useCallback(e => {
|
|
186
|
-
onPressOut?.(e);
|
|
187
|
-
if (rippleEffectEnabled) {
|
|
188
|
-
const containers = e.currentTarget.querySelectorAll('[data-paper-ripple]');
|
|
189
|
-
requestAnimationFrame(() => {
|
|
190
|
-
requestAnimationFrame(() => {
|
|
191
|
-
containers.forEach(container => {
|
|
192
|
-
const ripple = container.firstChild;
|
|
193
|
-
Object.assign(ripple.style, {
|
|
194
|
-
transitionDuration: '250ms',
|
|
195
|
-
opacity: 0
|
|
196
|
-
});
|
|
197
|
-
|
|
198
|
-
// Finally remove the span after the transition
|
|
199
|
-
setTimeout(() => {
|
|
200
|
-
const {
|
|
201
|
-
parentNode
|
|
202
|
-
} = container;
|
|
203
|
-
if (parentNode) {
|
|
204
|
-
parentNode.removeChild(container);
|
|
205
|
-
}
|
|
206
|
-
}, 500);
|
|
207
|
-
});
|
|
208
|
-
});
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
}, [onPressOut, rippleEffectEnabled]);
|
|
212
|
-
const hasPassedTouchHandler = (0, _hasTouchHandler.default)({
|
|
213
|
-
onPress,
|
|
214
|
-
onLongPress,
|
|
215
|
-
onPressIn,
|
|
216
|
-
onPressOut
|
|
217
|
-
});
|
|
218
|
-
const disabled = disabledProp || !hasPassedTouchHandler;
|
|
219
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Pressable.Pressable, {
|
|
220
|
-
...rest,
|
|
221
|
-
ref: ref,
|
|
222
|
-
onPressIn: handlePressIn,
|
|
223
|
-
onPressOut: handlePressOut,
|
|
224
|
-
disabled: disabled,
|
|
225
|
-
style: state => [styles.touchable, borderless && styles.borderless,
|
|
226
|
-
// focused state is not ready yet: https://github.com/necolas/react-native-web/issues/1849
|
|
227
|
-
// state.focused && { backgroundColor: ___ },
|
|
228
|
-
state.hovered && {
|
|
229
|
-
backgroundColor: hoverColor
|
|
230
|
-
}, disabled && styles.disabled, typeof style === 'function' ? style(state) : style],
|
|
231
|
-
children: state => React.Children.only(typeof children === 'function' ? children(state) : children)
|
|
232
|
-
});
|
|
233
|
-
};
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* Whether ripple effect is supported.
|
|
237
|
-
*/
|
|
238
|
-
TouchableRipple.supported = true;
|
|
239
|
-
const styles = _reactNative.StyleSheet.create({
|
|
240
|
-
touchable: {
|
|
241
|
-
position: 'relative',
|
|
242
|
-
...(_reactNative.Platform.OS === 'web' && {
|
|
243
|
-
cursor: 'pointer',
|
|
244
|
-
transition: '150ms background-color'
|
|
245
|
-
})
|
|
246
|
-
},
|
|
247
|
-
disabled: {
|
|
248
|
-
...(_reactNative.Platform.OS === 'web' && {
|
|
249
|
-
cursor: 'auto'
|
|
250
|
-
})
|
|
251
|
-
},
|
|
252
|
-
borderless: {
|
|
253
|
-
overflow: 'hidden'
|
|
254
|
-
}
|
|
255
|
-
});
|
|
256
|
-
const Component = (0, _forwardRef.forwardRef)(TouchableRipple);
|
|
257
|
-
var _default = exports.default = Component;
|
|
258
|
-
//# sourceMappingURL=TouchableRipple.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_Pressable","_utils","_theming","_forwardRef","_hasTouchHandler","_interopRequireDefault","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","SettingsContext","createContext","rippleEffectEnabled","hexToRgb","hex","Number","parseInt","slice","g","b","fadeColor","color","alpha","colorUtil","fade","rgb","string","TouchableRipple","style","background","_background","borderless","disabled","disabledProp","rippleColor","underlayColor","_underlayColor","children","theme","themeOverrides","rest","ref","useInternalTheme","calculatedRippleColor","getTouchableRippleColors","hoverColor","useContext","onPress","onLongPress","onPressIn","onPressOut","handlePressIn","useCallback","centered","button","currentTarget","window","getComputedStyle","dimensions","getBoundingClientRect","touchX","touchY","changedTouches","touches","nativeEvent","touch","width","height","locationX","pageX","locationY","pageY","size","Math","min","max","container","document","createElement","setAttribute","assign","position","pointerEvents","top","left","right","bottom","borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","overflow","ripple","backgroundColor","borderRadius","transitionProperty","transitionDuration","transitionTimingFunction","transformOrigin","transform","opacity","appendChild","requestAnimationFrame","handlePressOut","containers","querySelectorAll","forEach","firstChild","setTimeout","parentNode","removeChild","hasPassedTouchHandler","hasTouchHandler","jsx","Pressable","state","styles","touchable","hovered","Children","only","supported","StyleSheet","create","Platform","OS","cursor","transition","Component","forwardRef","_default","exports"],"sourceRoot":"../../../../../src","sources":["ui/components/TouchableRipple/TouchableRipple.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAWA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AAEA,IAAAK,W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