@oxyhq/services 5.26.3 → 5.27.0
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/dist/web/oxy-services.esm.js +2 -0
- package/dist/web/oxy-services.esm.js.map +1 -0
- package/dist/web/types/assets/icons/OxyServices.d.ts +28 -0
- package/dist/web/types/assets/illustrations/HighFive.d.ts +8 -0
- package/dist/web/types/constants/version.d.ts +13 -0
- package/dist/web/types/core/AuthManager.d.ts +143 -0
- package/dist/web/types/core/CrossDomainAuth.d.ts +160 -0
- package/dist/web/types/core/HttpService.d.ts +163 -0
- package/dist/web/types/core/OxyServices.base.d.ts +126 -0
- package/dist/web/types/core/OxyServices.d.ts +81 -0
- package/dist/web/types/core/OxyServices.errors.d.ts +11 -0
- package/dist/web/types/core/index.d.ts +20 -0
- package/dist/web/types/core/mixins/OxyServices.analytics.d.ts +66 -0
- package/dist/web/types/core/mixins/OxyServices.assets.d.ts +135 -0
- package/dist/web/types/core/mixins/OxyServices.auth.d.ts +186 -0
- package/dist/web/types/core/mixins/OxyServices.developer.d.ts +99 -0
- package/dist/web/types/core/mixins/OxyServices.devices.d.ts +96 -0
- package/dist/web/types/core/mixins/OxyServices.features.d.ts +228 -0
- package/dist/web/types/core/mixins/OxyServices.fedcm.d.ts +200 -0
- package/dist/web/types/core/mixins/OxyServices.karma.d.ts +85 -0
- package/dist/web/types/core/mixins/OxyServices.language.d.ts +81 -0
- package/dist/web/types/core/mixins/OxyServices.location.d.ts +64 -0
- package/dist/web/types/core/mixins/OxyServices.payment.d.ts +111 -0
- package/dist/web/types/core/mixins/OxyServices.popup.d.ts +205 -0
- package/dist/web/types/core/mixins/OxyServices.privacy.d.ts +122 -0
- package/dist/web/types/core/mixins/OxyServices.redirect.d.ts +245 -0
- package/dist/web/types/core/mixins/OxyServices.security.d.ts +78 -0
- package/dist/web/types/core/mixins/OxyServices.user.d.ts +184 -0
- package/dist/web/types/core/mixins/OxyServices.utility.d.ts +93 -0
- package/dist/web/types/core/mixins/index.d.ts +30 -0
- package/dist/web/types/core/mixins/mixinHelpers.d.ts +31 -0
- package/dist/web/types/crypto/index.d.ts +11 -0
- package/dist/web/types/crypto/keyManager.d.ts +189 -0
- package/dist/web/types/crypto/polyfill.d.ts +12 -0
- package/dist/web/types/crypto/recoveryPhrase.d.ts +58 -0
- package/dist/web/types/crypto/signatureService.d.ts +86 -0
- package/dist/web/types/i18n/index.d.ts +3 -0
- package/dist/web/types/index.d.ts +62 -0
- package/dist/web/types/lib/sonner-safe.d.ts +8 -0
- package/dist/web/types/lib/sonner.d.ts +11 -0
- package/dist/web/types/lib/sonner.web.d.ts +14 -0
- package/dist/web/types/models/interfaces.d.ts +415 -0
- package/dist/web/types/models/session.d.ts +27 -0
- package/dist/web/types/node/index.d.ts +9 -0
- package/dist/web/types/shared/index.d.ts +28 -0
- package/dist/web/types/shared/utils/colorUtils.d.ts +104 -0
- package/dist/web/types/shared/utils/debugUtils.d.ts +48 -0
- package/dist/web/types/shared/utils/errorUtils.d.ts +97 -0
- package/dist/web/types/shared/utils/index.d.ts +13 -0
- package/dist/web/types/shared/utils/networkUtils.d.ts +139 -0
- package/dist/web/types/shared/utils/themeUtils.d.ts +90 -0
- package/dist/web/types/ui/client.d.ts +33 -0
- package/dist/web/types/ui/components/ActivityIndicator.d.ts +44 -0
- package/dist/web/types/ui/components/AnimationExample.d.ts +3 -0
- package/dist/web/types/ui/components/AutoHeightScrollView.d.ts +22 -0
- package/dist/web/types/ui/components/Avatar.d.ts +60 -0
- package/dist/web/types/ui/components/BottomSheet.d.ts +28 -0
- package/dist/web/types/ui/components/BottomSheetRouter.d.ts +8 -0
- package/dist/web/types/ui/components/CrossFadeIcon.d.ts +26 -0
- package/dist/web/types/ui/components/EmptyState.d.ts +7 -0
- package/dist/web/types/ui/components/ErrorBoundary.d.ts +30 -0
- package/dist/web/types/ui/components/FollowButton.d.ts +17 -0
- package/dist/web/types/ui/components/FontLoader.d.ts +14 -0
- package/dist/web/types/ui/components/GroupedItem.d.ts +23 -0
- package/dist/web/types/ui/components/GroupedSection.d.ts +24 -0
- package/dist/web/types/ui/components/Header.d.ts +37 -0
- package/dist/web/types/ui/components/HelperText.d.ts +46 -0
- package/dist/web/types/ui/components/Icon.d.ts +59 -0
- package/dist/web/types/ui/components/IconButton/IconButton.d.ts +98 -0
- package/dist/web/types/ui/components/IconButton/utils.d.ts +18 -0
- package/dist/web/types/ui/components/LoadingState.d.ts +8 -0
- package/dist/web/types/ui/components/OxyLogo.d.ts +28 -0
- package/dist/web/types/ui/components/OxyPayButton.d.ts +28 -0
- package/dist/web/types/ui/components/OxyProvider.d.ts +33 -0
- package/dist/web/types/ui/components/OxySignInButton.d.ts +64 -0
- package/dist/web/types/ui/components/ProfileCard.d.ts +17 -0
- package/dist/web/types/ui/components/QuickActions.d.ts +14 -0
- package/dist/web/types/ui/components/Section.d.ts +11 -0
- package/dist/web/types/ui/components/SectionTitle.d.ts +9 -0
- package/dist/web/types/ui/components/SettingRow.d.ts +19 -0
- package/dist/web/types/ui/components/SignInModal.d.ts +17 -0
- package/dist/web/types/ui/components/StepBasedScreen.d.ts +25 -0
- package/dist/web/types/ui/components/Surface.d.ts +75 -0
- package/dist/web/types/ui/components/TextField/Addons/Outline.d.ts +15 -0
- package/dist/web/types/ui/components/TextField/Addons/Underline.d.ts +18 -0
- package/dist/web/types/ui/components/TextField/Adornment/TextFieldAdornment.d.ts +44 -0
- package/dist/web/types/ui/components/TextField/Adornment/TextFieldAffix.d.ts +72 -0
- package/dist/web/types/ui/components/TextField/Adornment/TextFieldIcon.d.ts +77 -0
- package/dist/web/types/ui/components/TextField/Adornment/enums.d.ts +12 -0
- package/dist/web/types/ui/components/TextField/Adornment/types.d.ts +11 -0
- package/dist/web/types/ui/components/TextField/Adornment/utils.d.ts +11 -0
- package/dist/web/types/ui/components/TextField/Label/InputLabel.d.ts +4 -0
- package/dist/web/types/ui/components/TextField/Label/LabelBackground.d.ts +3 -0
- package/dist/web/types/ui/components/TextField/TextFieldFlat.d.ts +3 -0
- package/dist/web/types/ui/components/TextField/TextFieldOutlined.d.ts +3 -0
- package/dist/web/types/ui/components/TextField/constants.d.ts +31 -0
- package/dist/web/types/ui/components/TextField/helpers.d.ts +96 -0
- package/dist/web/types/ui/components/TextField/types.d.ts +155 -0
- package/dist/web/types/ui/components/TextField.d.ts +191 -0
- package/dist/web/types/ui/components/TouchableRipple/Pressable.d.ts +12 -0
- package/dist/web/types/ui/components/TouchableRipple/TouchableRipple.d.ts +61 -0
- package/dist/web/types/ui/components/TouchableRipple/utils.d.ts +10 -0
- package/dist/web/types/ui/components/Typography/AnimatedText.d.ts +34 -0
- package/dist/web/types/ui/components/Typography/types.d.ts +18 -0
- package/dist/web/types/ui/components/WebOxyProvider.d.ts +51 -0
- package/dist/web/types/ui/components/feedback/FormInput.d.ts +19 -0
- package/dist/web/types/ui/components/feedback/ProgressIndicator.d.ts +10 -0
- package/dist/web/types/ui/components/feedback/constants.d.ts +4 -0
- package/dist/web/types/ui/components/feedback/feedbackStyles.d.ts +279 -0
- package/dist/web/types/ui/components/feedback/index.d.ts +6 -0
- package/dist/web/types/ui/components/feedback/types.d.ts +45 -0
- package/dist/web/types/ui/components/feedback/useFeedbackForm.d.ts +8 -0
- package/dist/web/types/ui/components/fileManagement/AnimatedButton.d.ts +15 -0
- package/dist/web/types/ui/components/fileManagement/FileDetailsModal.d.ts +14 -0
- package/dist/web/types/ui/components/fileManagement/FileViewer.d.ts +17 -0
- package/dist/web/types/ui/components/fileManagement/UploadPreview.d.ts +20 -0
- package/dist/web/types/ui/components/fileManagement/styles.d.ts +859 -0
- package/dist/web/types/ui/components/icon/FAIRWalletIcon.d.ts +8 -0
- package/dist/web/types/ui/components/icon/OxyIcon.d.ts +9 -0
- package/dist/web/types/ui/components/icon/index.d.ts +3 -0
- package/dist/web/types/ui/components/index.d.ts +16 -0
- package/dist/web/types/ui/components/internal/GroupedPillButtons.d.ts +17 -0
- package/dist/web/types/ui/components/internal/PinInput.d.ts +22 -0
- package/dist/web/types/ui/components/modals/DeleteAccountModal.d.ts +18 -0
- package/dist/web/types/ui/components/modals/index.d.ts +1 -0
- package/dist/web/types/ui/components/payment/PaymentDetailsStep.d.ts +20 -0
- package/dist/web/types/ui/components/payment/PaymentMethodStep.d.ts +13 -0
- package/dist/web/types/ui/components/payment/PaymentReviewStep.d.ts +15 -0
- package/dist/web/types/ui/components/payment/PaymentSuccessStep.d.ts +9 -0
- package/dist/web/types/ui/components/payment/PaymentSummaryStep.d.ts +14 -0
- package/dist/web/types/ui/components/payment/constants.d.ts +6 -0
- package/dist/web/types/ui/components/payment/index.d.ts +8 -0
- package/dist/web/types/ui/components/payment/paymentStyles.d.ts +395 -0
- package/dist/web/types/ui/components/payment/types.d.ts +39 -0
- package/dist/web/types/ui/components/photogrid/JustifiedPhotoGrid.d.ts +26 -0
- package/dist/web/types/ui/components/styles/overlay.d.ts +3 -0
- package/dist/web/types/ui/components/styles/shadow.d.ts +2 -0
- package/dist/web/types/ui/components/theming.d.ts +7 -0
- package/dist/web/types/ui/components/types.d.ts +79 -0
- package/dist/web/types/ui/components/utils/forwardRef.d.ts +11 -0
- package/dist/web/types/ui/components/utils/hasTouchHandler.d.ts +5 -0
- package/dist/web/types/ui/components/utils/roundLayoutSize.d.ts +1 -0
- package/dist/web/types/ui/components/utils/splitStyles.d.ts +19 -0
- package/dist/web/types/ui/constants/iconColors.d.ts +129 -0
- package/dist/web/types/ui/constants/spacing.d.ts +32 -0
- package/dist/web/types/ui/constants/theme.d.ts +96 -0
- package/dist/web/types/ui/context/OxyContext.d.ts +74 -0
- package/dist/web/types/ui/context/ThemeContext.d.ts +18 -0
- package/dist/web/types/ui/context/hooks/useAuthOperations.d.ts +39 -0
- package/dist/web/types/ui/context/hooks/useDeviceManagement.d.ts +26 -0
- package/dist/web/types/ui/context/hooks/useLanguageManagement.d.ts +24 -0
- package/dist/web/types/ui/context/hooks/useSessionManagement.d.ts +40 -0
- package/dist/web/types/ui/hooks/index.d.ts +6 -0
- package/dist/web/types/ui/hooks/mutations/index.d.ts +8 -0
- package/dist/web/types/ui/hooks/mutations/mutationFactory.d.ts +75 -0
- package/dist/web/types/ui/hooks/mutations/useAccountMutations.d.ts +68 -0
- package/dist/web/types/ui/hooks/mutations/useServicesMutations.d.ts +22 -0
- package/dist/web/types/ui/hooks/queries/index.d.ts +10 -0
- package/dist/web/types/ui/hooks/queries/queryKeys.d.ts +64 -0
- package/dist/web/types/ui/hooks/queries/useAccountQueries.d.ts +42 -0
- package/dist/web/types/ui/hooks/queries/useSecurityQueries.d.ts +14 -0
- package/dist/web/types/ui/hooks/queries/useServicesQueries.d.ts +31 -0
- package/dist/web/types/ui/hooks/queryClient.d.ts +18 -0
- package/dist/web/types/ui/hooks/useAssets.d.ts +34 -0
- package/dist/web/types/ui/hooks/useAsyncAction.d.ts +50 -0
- package/dist/web/types/ui/hooks/useAuth.d.ts +73 -0
- package/dist/web/types/ui/hooks/useColorScheme.d.ts +7 -0
- package/dist/web/types/ui/hooks/useDeviceManagement.d.ts +26 -0
- package/dist/web/types/ui/hooks/useFileDownloadUrl.d.ts +18 -0
- package/dist/web/types/ui/hooks/useFileFiltering.d.ts +28 -0
- package/dist/web/types/ui/hooks/useFollow.d.ts +61 -0
- package/dist/web/types/ui/hooks/useFollow.types.d.ts +32 -0
- package/dist/web/types/ui/hooks/useI18n.d.ts +4 -0
- package/dist/web/types/ui/hooks/useLanguageManagement.d.ts +24 -0
- package/dist/web/types/ui/hooks/useProfileEditing.d.ts +35 -0
- package/dist/web/types/ui/hooks/useQueryClient.d.ts +6 -0
- package/dist/web/types/ui/hooks/useSessionManagement.d.ts +40 -0
- package/dist/web/types/ui/hooks/useSessionSocket.d.ts +13 -0
- package/dist/web/types/ui/hooks/useSettingToggle.d.ts +56 -0
- package/dist/web/types/ui/hooks/useStorage.d.ts +15 -0
- package/dist/web/types/ui/hooks/useThemeColors.d.ts +93 -0
- package/dist/web/types/ui/hooks/useThemeStyles.d.ts +44 -0
- package/dist/web/types/ui/hooks/useWebSSO.d.ts +57 -0
- package/dist/web/types/ui/index.d.ts +7 -0
- package/dist/web/types/ui/isFrontend.d.ts +2 -0
- package/dist/web/types/ui/navigation/bottomSheetManager.d.ts +26 -0
- package/dist/web/types/ui/navigation/routes.d.ts +5 -0
- package/dist/web/types/ui/screens/AccountCenterScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/AccountOverviewScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/AccountSettingsScreen.d.ts +7 -0
- package/dist/web/types/ui/screens/AccountSwitcherScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/AccountVerificationScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/AppInfoScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/EditProfileFieldScreen.d.ts +12 -0
- package/dist/web/types/ui/screens/FAQScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/FeedbackScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/FileManagementScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/FollowersListScreen.d.ts +8 -0
- package/dist/web/types/ui/screens/FollowingListScreen.d.ts +8 -0
- package/dist/web/types/ui/screens/HelpSupportScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/HistoryViewScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/LanguageSelectorScreen.d.ts +6 -0
- package/dist/web/types/ui/screens/LearnMoreUsernamesScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/LegalDocumentsScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/OxyAuthScreen.d.ts +16 -0
- package/dist/web/types/ui/screens/PaymentGatewayScreen.d.ts +14 -0
- package/dist/web/types/ui/screens/PremiumSubscriptionScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/PrivacySettingsScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/ProfileScreen.d.ts +8 -0
- package/dist/web/types/ui/screens/SavesCollectionsScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/SearchSettingsScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/SessionManagementScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/UserLinksScreen.d.ts +14 -0
- package/dist/web/types/ui/screens/UserListScreen.d.ts +10 -0
- package/dist/web/types/ui/screens/WelcomeNewUserScreen.d.ts +12 -0
- package/dist/web/types/ui/screens/karma/KarmaAboutScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/karma/KarmaCenterScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/karma/KarmaFAQScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/karma/KarmaLeaderboardScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/karma/KarmaRewardsScreen.d.ts +4 -0
- package/dist/web/types/ui/screens/karma/KarmaRulesScreen.d.ts +4 -0
- package/dist/web/types/ui/server.d.ts +42 -0
- package/dist/web/types/ui/stores/accountStore.d.ts +33 -0
- package/dist/web/types/ui/stores/assetStore.d.ts +53 -0
- package/dist/web/types/ui/stores/authStore.d.ts +16 -0
- package/dist/web/types/ui/stores/fileStore.d.ts +30 -0
- package/dist/web/types/ui/stores/followStore.d.ts +24 -0
- package/dist/web/types/ui/styles/authStyles.d.ts +331 -0
- package/dist/web/types/ui/styles/fonts.d.ts +20 -0
- package/dist/web/types/ui/styles/index.d.ts +4 -0
- package/dist/web/types/ui/styles/spacing.d.ts +48 -0
- package/dist/web/types/ui/styles/theme.d.ts +67 -0
- package/dist/web/types/ui/types/fileManagement.d.ts +40 -0
- package/dist/web/types/ui/types/navigation.d.ts +36 -0
- package/dist/web/types/ui/utils/authHelpers.d.ts +98 -0
- package/dist/web/types/ui/utils/avatarUtils.d.ts +33 -0
- package/dist/web/types/ui/utils/colorUtils.d.ts +9 -0
- package/dist/web/types/ui/utils/confirmAction.d.ts +6 -0
- package/dist/web/types/ui/utils/errorHandlers.d.ts +34 -0
- package/dist/web/types/ui/utils/fileManagement.d.ts +86 -0
- package/dist/web/types/ui/utils/iconNames.d.ts +111 -0
- package/dist/web/types/ui/utils/sessionHelpers.d.ts +63 -0
- package/dist/web/types/ui/utils/storageHelpers.d.ts +27 -0
- package/dist/web/types/ui/utils/themeUtils.d.ts +10 -0
- package/dist/web/types/ui/utils/userUtils.d.ts +28 -0
- package/dist/web/types/utils/apiUtils.d.ts +53 -0
- package/dist/web/types/utils/asyncUtils.d.ts +58 -0
- package/dist/web/types/utils/cache.d.ts +127 -0
- package/dist/web/types/utils/deviceManager.d.ts +65 -0
- package/dist/web/types/utils/errorUtils.d.ts +46 -0
- package/dist/web/types/utils/hookUtils.d.ts +101 -0
- package/dist/web/types/utils/index.d.ts +6 -0
- package/dist/web/types/utils/languageUtils.d.ts +37 -0
- package/dist/web/types/utils/loggerUtils.d.ts +48 -0
- package/dist/web/types/utils/platform.d.ts +40 -0
- package/dist/web/types/utils/platformInit.d.ts +8 -0
- package/dist/web/types/utils/requestUtils.d.ts +123 -0
- package/dist/web/types/utils/sessionUtils.d.ts +54 -0
- package/dist/web/types/utils/validationUtils.d.ts +85 -0
- package/dist/web/types/web/WebOxyContext.d.ts +151 -0
- package/dist/web/types/web/index.d.ts +52 -0
- package/dist/web/types/web.d.ts +53 -0
- package/package.json +77 -35
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { StyleProp, TextInput as NativeTextInput, TextStyle, ViewStyle } from 'react-native';
|
|
3
|
+
import { Props as TextFieldAffixProps } from './TextField/Adornment/TextFieldAffix';
|
|
4
|
+
import { Props as TextFieldIconProps } from './TextField/Adornment/TextFieldIcon';
|
|
5
|
+
import type { RenderProps, TextFieldLabelProp } from './TextField/types';
|
|
6
|
+
import type { ThemeProp } from "./types";
|
|
7
|
+
export type Props = React.ComponentPropsWithRef<typeof NativeTextInput> & {
|
|
8
|
+
/**
|
|
9
|
+
* Mode of the TextInput.
|
|
10
|
+
* - `flat` - flat input with an underline.
|
|
11
|
+
* - `outlined` - input with an outline.
|
|
12
|
+
*
|
|
13
|
+
* In `outlined` mode, the background color of the label is derived from `colors?.background` in theme or the `backgroundColor` style.
|
|
14
|
+
* This component render TextInputOutlined or TextInputFlat based on that props
|
|
15
|
+
*/
|
|
16
|
+
mode?: 'flat' | 'outlined';
|
|
17
|
+
/**
|
|
18
|
+
* The adornment placed on the left side of the input. It can be either `TextField.Icon` or `TextField.Affix`.
|
|
19
|
+
*/
|
|
20
|
+
left?: React.ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* The adornment placed on the right side of the input. It can be either `TextField.Icon` or `TextField.Affix`.
|
|
23
|
+
*/
|
|
24
|
+
right?: React.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* If true, user won't be able to interact with the component.
|
|
27
|
+
*/
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* The text or component to use for the floating label.
|
|
31
|
+
*/
|
|
32
|
+
label?: TextFieldLabelProp;
|
|
33
|
+
/**
|
|
34
|
+
* Placeholder for the input.
|
|
35
|
+
*/
|
|
36
|
+
placeholder?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Whether to style the TextInput with error style.
|
|
39
|
+
*/
|
|
40
|
+
error?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Callback that is called when the text input's text changes. Changed text is passed as an argument to the callback handler.
|
|
43
|
+
*/
|
|
44
|
+
onChangeText?: Function;
|
|
45
|
+
/**
|
|
46
|
+
* Selection color of the input. On iOS, it sets both the selection color and cursor color.
|
|
47
|
+
* On Android, it sets only the selection color.
|
|
48
|
+
*/
|
|
49
|
+
selectionColor?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @platform Android only
|
|
52
|
+
* Cursor (or "caret") color of the input on Android.
|
|
53
|
+
* This property has no effect on iOS.
|
|
54
|
+
*/
|
|
55
|
+
cursorColor?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Inactive underline color of the input.
|
|
58
|
+
*/
|
|
59
|
+
underlineColor?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Active underline color of the input.
|
|
62
|
+
*/
|
|
63
|
+
activeUnderlineColor?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Inactive outline color of the input.
|
|
66
|
+
*/
|
|
67
|
+
outlineColor?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Active outline color of the input.
|
|
70
|
+
*/
|
|
71
|
+
activeOutlineColor?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Color of the text in the input.
|
|
74
|
+
*/
|
|
75
|
+
textColor?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Sets min height with densed layout. For `TextField` in `flat` mode
|
|
78
|
+
* height is `64dp` or in dense layout - `52dp` with label or `40dp` without label.
|
|
79
|
+
* For `TextField` in `outlined` mode
|
|
80
|
+
* height is `56dp` or in dense layout - `40dp` regardless of label.
|
|
81
|
+
* When you apply `height` prop in style the `dense` prop affects only `paddingVertical` inside `TextField`
|
|
82
|
+
*/
|
|
83
|
+
dense?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Whether the input can have multiple lines.
|
|
86
|
+
*/
|
|
87
|
+
multiline?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* @platform Android only
|
|
90
|
+
* The number of lines to show in the input (Android only).
|
|
91
|
+
*/
|
|
92
|
+
numberOfLines?: number;
|
|
93
|
+
/**
|
|
94
|
+
* Callback that is called when the text input is focused.
|
|
95
|
+
*/
|
|
96
|
+
onFocus?: (args: any) => void;
|
|
97
|
+
/**
|
|
98
|
+
* Callback that is called when the text input is blurred.
|
|
99
|
+
*/
|
|
100
|
+
onBlur?: (args: any) => void;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* Callback to render a custom input component such as `react-native-text-input-mask`
|
|
104
|
+
* instead of the default `TextInput` component from `react-native`.
|
|
105
|
+
*
|
|
106
|
+
* Example:
|
|
107
|
+
* ```js
|
|
108
|
+
* <TextField
|
|
109
|
+
* label="Phone number"
|
|
110
|
+
* render={props =>
|
|
111
|
+
* <TextInputMask
|
|
112
|
+
* {...props}
|
|
113
|
+
* mask="+[00] [000] [000] [000]"
|
|
114
|
+
* />
|
|
115
|
+
* }
|
|
116
|
+
* />
|
|
117
|
+
* ```
|
|
118
|
+
*/
|
|
119
|
+
render?: (props: RenderProps) => React.ReactNode;
|
|
120
|
+
/**
|
|
121
|
+
* Value of the text input.
|
|
122
|
+
*/
|
|
123
|
+
value?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Pass `fontSize` prop to modify the font size inside `TextField`.
|
|
126
|
+
* Pass `height` prop to set `TextField` height. When `height` is passed,
|
|
127
|
+
* `dense` prop will affect only input's `paddingVertical`.
|
|
128
|
+
* Pass `paddingHorizontal` to modify horizontal padding.
|
|
129
|
+
* This can be used to get MD Guidelines v1 TextInput look.
|
|
130
|
+
*/
|
|
131
|
+
style?: StyleProp<TextStyle>;
|
|
132
|
+
/**
|
|
133
|
+
* @optional
|
|
134
|
+
*/
|
|
135
|
+
theme?: ThemeProp;
|
|
136
|
+
/**
|
|
137
|
+
* testID to be used on tests.
|
|
138
|
+
*/
|
|
139
|
+
testID?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Pass custom style directly to the input itself.
|
|
142
|
+
* Overrides input style
|
|
143
|
+
* Example: `paddingLeft`, `backgroundColor`
|
|
144
|
+
*/
|
|
145
|
+
contentStyle?: StyleProp<TextStyle>;
|
|
146
|
+
/**
|
|
147
|
+
* Pass style to override the default style of outlined wrapper.
|
|
148
|
+
* Overrides style when mode is set to `outlined`
|
|
149
|
+
* Example: `borderRadius`, `borderColor`
|
|
150
|
+
*/
|
|
151
|
+
outlineStyle?: StyleProp<ViewStyle>;
|
|
152
|
+
/**
|
|
153
|
+
* Pass style to override the default style of underlined wrapper.
|
|
154
|
+
* Overrides style when mode is set to `flat`
|
|
155
|
+
* Example: `borderRadius`, `borderColor`
|
|
156
|
+
*/
|
|
157
|
+
underlineStyle?: StyleProp<ViewStyle>;
|
|
158
|
+
};
|
|
159
|
+
interface CompoundedComponent extends React.ForwardRefExoticComponent<Props & React.RefAttributes<TextFieldHandles>> {
|
|
160
|
+
Icon: React.FunctionComponent<TextFieldIconProps>;
|
|
161
|
+
Affix: React.FunctionComponent<Partial<TextFieldAffixProps>>;
|
|
162
|
+
}
|
|
163
|
+
type TextFieldHandles = Pick<NativeTextInput, 'focus' | 'clear' | 'blur' | 'isFocused' | 'setNativeProps' | 'setSelection'>;
|
|
164
|
+
/**
|
|
165
|
+
* A component to allow users to input text.
|
|
166
|
+
*
|
|
167
|
+
* ## Usage
|
|
168
|
+
* ```js
|
|
169
|
+
* import * as React from 'react';
|
|
170
|
+
* import { TextField } from './TextField';
|
|
171
|
+
*
|
|
172
|
+
* const MyComponent = () => {
|
|
173
|
+
* const [text, setText] = React.useState("");
|
|
174
|
+
*
|
|
175
|
+
* return (
|
|
176
|
+
* <TextField
|
|
177
|
+
* label="Email"
|
|
178
|
+
* value={text}
|
|
179
|
+
* onChangeText={text => setText(text)}
|
|
180
|
+
* />
|
|
181
|
+
* );
|
|
182
|
+
* };
|
|
183
|
+
*
|
|
184
|
+
* export default MyComponent;
|
|
185
|
+
* ```
|
|
186
|
+
*
|
|
187
|
+
* @extends TextInput props https://reactnative.dev/docs/textinput#props
|
|
188
|
+
*/
|
|
189
|
+
declare const TextField: CompoundedComponent;
|
|
190
|
+
export default TextField;
|
|
191
|
+
export type { Props as TextFieldProps };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { Animated, PressableProps as PressableNativeProps, StyleProp, View, ViewStyle } from 'react-native';
|
|
3
|
+
export type PressableStateCallbackType = {
|
|
4
|
+
hovered: boolean;
|
|
5
|
+
pressed: boolean;
|
|
6
|
+
focused: boolean;
|
|
7
|
+
};
|
|
8
|
+
export type PressableProps = Omit<PressableNativeProps, 'children' | 'style'> & {
|
|
9
|
+
children: React.ReactNode | ((state: PressableStateCallbackType) => React.ReactNode) | undefined;
|
|
10
|
+
style?: StyleProp<ViewStyle> | Animated.WithAnimatedValue<StyleProp<ViewStyle>> | ((state: PressableStateCallbackType) => StyleProp<ViewStyle> | Animated.WithAnimatedValue<StyleProp<ViewStyle>>) | undefined;
|
|
11
|
+
};
|
|
12
|
+
export declare const Pressable: React.ForwardRefExoticComponent<PressableProps & React.RefAttributes<View>>;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ColorValue, GestureResponderEvent, StyleProp, View, ViewStyle } from 'react-native';
|
|
3
|
+
import type { PressableProps, PressableStateCallbackType } from './Pressable';
|
|
4
|
+
import type { ThemeProp } from '../types';
|
|
5
|
+
export type Props = PressableProps & {
|
|
6
|
+
/**
|
|
7
|
+
* Whether to render the ripple outside the view bounds.
|
|
8
|
+
*/
|
|
9
|
+
borderless?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Type of background drawabale to display the feedback (Android).
|
|
12
|
+
* https://reactnative.dev/docs/pressable#rippleconfig
|
|
13
|
+
*/
|
|
14
|
+
background?: Object;
|
|
15
|
+
/**
|
|
16
|
+
* Whether to start the ripple at the center (Web).
|
|
17
|
+
*/
|
|
18
|
+
centered?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Whether to prevent interaction with the touchable.
|
|
21
|
+
*/
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Function to execute on press. If not set, will cause the touchable to be disabled.
|
|
25
|
+
*/
|
|
26
|
+
onPress?: (e: GestureResponderEvent) => void;
|
|
27
|
+
/**
|
|
28
|
+
* Function to execute on long press.
|
|
29
|
+
*/
|
|
30
|
+
onLongPress?: (e: GestureResponderEvent) => void;
|
|
31
|
+
/**
|
|
32
|
+
* Function to execute immediately when a touch is engaged, before `onPressOut` and `onPress`.
|
|
33
|
+
*/
|
|
34
|
+
onPressIn?: (e: GestureResponderEvent) => void;
|
|
35
|
+
/**
|
|
36
|
+
* Function to execute when a touch is released.
|
|
37
|
+
*/
|
|
38
|
+
onPressOut?: (e: GestureResponderEvent) => void;
|
|
39
|
+
/**
|
|
40
|
+
* Color of the ripple effect (Android >= 5.0 and Web).
|
|
41
|
+
*/
|
|
42
|
+
rippleColor?: ColorValue;
|
|
43
|
+
/**
|
|
44
|
+
* Color of the underlay for the highlight effect (Android < 5.0 and iOS).
|
|
45
|
+
*/
|
|
46
|
+
underlayColor?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Content of the `TouchableRipple`.
|
|
49
|
+
*/
|
|
50
|
+
children: ((state: PressableStateCallbackType) => React.ReactNode) | React.ReactNode;
|
|
51
|
+
style?: StyleProp<ViewStyle> | ((state: PressableStateCallbackType) => StyleProp<ViewStyle>) | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* @optional
|
|
54
|
+
*/
|
|
55
|
+
theme?: ThemeProp;
|
|
56
|
+
};
|
|
57
|
+
declare const Component: import("../utils/forwardRef").ForwardRefComponent<View, Props>;
|
|
58
|
+
declare const _default: typeof Component & {
|
|
59
|
+
supported: boolean;
|
|
60
|
+
};
|
|
61
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ColorValue } from 'react-native';
|
|
2
|
+
import type { InternalTheme } from '../types';
|
|
3
|
+
export declare const getTouchableRippleColors: ({ theme, rippleColor, underlayColor, }: {
|
|
4
|
+
theme: InternalTheme;
|
|
5
|
+
rippleColor?: ColorValue;
|
|
6
|
+
underlayColor?: string;
|
|
7
|
+
}) => {
|
|
8
|
+
calculatedRippleColor: ColorValue;
|
|
9
|
+
calculatedUnderlayColor: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Animated, StyleProp, TextStyle, Text } from 'react-native';
|
|
3
|
+
import type { VariantProp } from './types';
|
|
4
|
+
import type { ThemeProp } from "../types";
|
|
5
|
+
type Props<T> = React.ComponentPropsWithRef<typeof Animated.Text> & {
|
|
6
|
+
/**
|
|
7
|
+
* Variant defines appropriate text styles for type role and its size.
|
|
8
|
+
* Available variants:
|
|
9
|
+
*
|
|
10
|
+
* Display: `displayLarge`, `displayMedium`, `displaySmall`
|
|
11
|
+
*
|
|
12
|
+
* Headline: `headlineLarge`, `headlineMedium`, `headlineSmall`
|
|
13
|
+
*
|
|
14
|
+
* Title: `titleLarge`, `titleMedium`, `titleSmall`
|
|
15
|
+
*
|
|
16
|
+
* Label: `labelLarge`, `labelMedium`, `labelSmall`
|
|
17
|
+
*
|
|
18
|
+
* Body: `bodyLarge`, `bodyMedium`, `bodySmall`
|
|
19
|
+
*/
|
|
20
|
+
variant?: VariantProp<T>;
|
|
21
|
+
style?: StyleProp<TextStyle>;
|
|
22
|
+
/**
|
|
23
|
+
* @optional
|
|
24
|
+
*/
|
|
25
|
+
theme?: ThemeProp;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Animated text component which follows styles from the theme.
|
|
29
|
+
*
|
|
30
|
+
* @extends Text props https://reactnative.dev/docs/text#props
|
|
31
|
+
*/
|
|
32
|
+
declare const AnimatedText: import("../utils/forwardRef").ForwardRefComponent<Text & HTMLElement, Props<never>>;
|
|
33
|
+
export declare const customAnimatedText: <T>() => (props: Props<T>) => React.ReactElement;
|
|
34
|
+
export default AnimatedText;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum MD3TypescaleKey {
|
|
2
|
+
displayLarge = "displayLarge",
|
|
3
|
+
displayMedium = "displayMedium",
|
|
4
|
+
displaySmall = "displaySmall",
|
|
5
|
+
headlineLarge = "headlineLarge",
|
|
6
|
+
headlineMedium = "headlineMedium",
|
|
7
|
+
headlineSmall = "headlineSmall",
|
|
8
|
+
titleLarge = "titleLarge",
|
|
9
|
+
titleMedium = "titleMedium",
|
|
10
|
+
titleSmall = "titleSmall",
|
|
11
|
+
labelLarge = "labelLarge",
|
|
12
|
+
labelMedium = "labelMedium",
|
|
13
|
+
labelSmall = "labelSmall",
|
|
14
|
+
bodyLarge = "bodyLarge",
|
|
15
|
+
bodyMedium = "bodyMedium",
|
|
16
|
+
bodySmall = "bodySmall"
|
|
17
|
+
}
|
|
18
|
+
export type VariantProp<T> = (T extends string ? (string extends T ? never : T) : never) | keyof typeof MD3TypescaleKey;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WebOxyProvider - Lightweight provider for pure React/Next.js apps
|
|
3
|
+
*
|
|
4
|
+
* Use this provider for web apps that DON'T use Expo/React Native.
|
|
5
|
+
* For Expo apps (native + web), use `OxyProvider` instead - it works on all platforms.
|
|
6
|
+
*
|
|
7
|
+
* Features:
|
|
8
|
+
* - Automatic cross-domain SSO via FedCM (Chrome 108+, Safari 16.4+, Edge 108+)
|
|
9
|
+
* - No React Native dependencies
|
|
10
|
+
* - Session management
|
|
11
|
+
* - All useOxy/useAuth functionality
|
|
12
|
+
*
|
|
13
|
+
* Usage:
|
|
14
|
+
* ```tsx
|
|
15
|
+
* // For pure React/Next.js apps (no Expo):
|
|
16
|
+
* import { WebOxyProvider, useAuth } from '@oxyhq/services';
|
|
17
|
+
*
|
|
18
|
+
* function App() {
|
|
19
|
+
* return (
|
|
20
|
+
* <WebOxyProvider baseURL="https://api.oxy.so">
|
|
21
|
+
* <YourApp />
|
|
22
|
+
* </WebOxyProvider>
|
|
23
|
+
* );
|
|
24
|
+
* }
|
|
25
|
+
*
|
|
26
|
+
* // For Expo apps (native + web), use OxyProvider instead:
|
|
27
|
+
* import { OxyProvider, useAuth } from '@oxyhq/services';
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
import { type FC, type ReactNode } from 'react';
|
|
31
|
+
import { createQueryClient } from '../hooks/queryClient';
|
|
32
|
+
export interface WebOxyProviderProps {
|
|
33
|
+
children: ReactNode;
|
|
34
|
+
baseURL: string;
|
|
35
|
+
authWebUrl?: string;
|
|
36
|
+
onAuthStateChange?: (user: any) => void;
|
|
37
|
+
storageKeyPrefix?: string;
|
|
38
|
+
queryClient?: ReturnType<typeof createQueryClient>;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* OxyProvider for web applications
|
|
42
|
+
*
|
|
43
|
+
* Features:
|
|
44
|
+
* - Automatic cross-domain SSO via FedCM (browser-native identity API)
|
|
45
|
+
* - Works across different TLDs (alia.onl, mention.earth, homiio.com, etc.)
|
|
46
|
+
* - Session persistence in localStorage
|
|
47
|
+
* - TanStack Query for data fetching
|
|
48
|
+
* - No React Native dependencies
|
|
49
|
+
*/
|
|
50
|
+
declare const WebOxyProvider: FC<WebOxyProviderProps>;
|
|
51
|
+
export default WebOxyProvider;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { FeedbackColors } from './types';
|
|
3
|
+
interface FormInputProps {
|
|
4
|
+
icon: string;
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
onChangeText: (text: string) => void;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
multiline?: boolean;
|
|
10
|
+
numberOfLines?: number;
|
|
11
|
+
testID?: string;
|
|
12
|
+
colors: FeedbackColors;
|
|
13
|
+
styles: any;
|
|
14
|
+
borderColor?: string;
|
|
15
|
+
accessibilityLabel?: string;
|
|
16
|
+
accessibilityHint?: string;
|
|
17
|
+
}
|
|
18
|
+
declare const FormInput: React.FC<FormInputProps>;
|
|
19
|
+
export default FormInput;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { FeedbackColors } from './types';
|
|
3
|
+
interface ProgressIndicatorProps {
|
|
4
|
+
currentStep: number;
|
|
5
|
+
totalSteps: number;
|
|
6
|
+
colors: FeedbackColors;
|
|
7
|
+
styles: any;
|
|
8
|
+
}
|
|
9
|
+
declare const ProgressIndicator: React.FC<ProgressIndicatorProps>;
|
|
10
|
+
export default ProgressIndicator;
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import type { FeedbackColors } from './types';
|
|
2
|
+
export declare const createFeedbackStyles: (colors: FeedbackColors) => {
|
|
3
|
+
container: {
|
|
4
|
+
flex: number;
|
|
5
|
+
};
|
|
6
|
+
fullBleed: {
|
|
7
|
+
width: "100%";
|
|
8
|
+
alignSelf: "stretch";
|
|
9
|
+
};
|
|
10
|
+
scrollContent: {
|
|
11
|
+
paddingHorizontal: number;
|
|
12
|
+
paddingVertical: number;
|
|
13
|
+
paddingTop: number;
|
|
14
|
+
paddingBottom: number;
|
|
15
|
+
flexGrow: number;
|
|
16
|
+
};
|
|
17
|
+
stepContainer: {
|
|
18
|
+
flex: number;
|
|
19
|
+
justifyContent: "flex-start";
|
|
20
|
+
alignItems: "flex-start";
|
|
21
|
+
};
|
|
22
|
+
modernHeader: {
|
|
23
|
+
alignItems: "flex-start";
|
|
24
|
+
width: "100%";
|
|
25
|
+
marginBottom: number;
|
|
26
|
+
};
|
|
27
|
+
stepTitle: {
|
|
28
|
+
fontFamily: string;
|
|
29
|
+
fontWeight: "bold" | undefined;
|
|
30
|
+
fontSize: number;
|
|
31
|
+
lineHeight: number;
|
|
32
|
+
marginBottom: number;
|
|
33
|
+
textAlign: "left";
|
|
34
|
+
letterSpacing: number;
|
|
35
|
+
};
|
|
36
|
+
modernSubtitle: {
|
|
37
|
+
fontSize: number;
|
|
38
|
+
lineHeight: number;
|
|
39
|
+
textAlign: "left";
|
|
40
|
+
opacity: number;
|
|
41
|
+
marginBottom: number;
|
|
42
|
+
};
|
|
43
|
+
inputContainer: {
|
|
44
|
+
width: "100%";
|
|
45
|
+
marginBottom: number;
|
|
46
|
+
};
|
|
47
|
+
premiumInputWrapper: {
|
|
48
|
+
flexDirection: "row";
|
|
49
|
+
alignItems: "center";
|
|
50
|
+
height: number;
|
|
51
|
+
borderRadius: number;
|
|
52
|
+
paddingHorizontal: number;
|
|
53
|
+
borderWidth: number;
|
|
54
|
+
backgroundColor: string;
|
|
55
|
+
};
|
|
56
|
+
textAreaWrapper: {
|
|
57
|
+
flexDirection: "column";
|
|
58
|
+
alignItems: "flex-start";
|
|
59
|
+
minHeight: number;
|
|
60
|
+
borderRadius: number;
|
|
61
|
+
paddingHorizontal: number;
|
|
62
|
+
paddingVertical: number;
|
|
63
|
+
borderWidth: number;
|
|
64
|
+
backgroundColor: string;
|
|
65
|
+
};
|
|
66
|
+
inputIcon: {
|
|
67
|
+
marginRight: number;
|
|
68
|
+
};
|
|
69
|
+
inputContent: {
|
|
70
|
+
flex: number;
|
|
71
|
+
};
|
|
72
|
+
modernLabel: {
|
|
73
|
+
fontSize: number;
|
|
74
|
+
fontWeight: "500";
|
|
75
|
+
marginBottom: number;
|
|
76
|
+
};
|
|
77
|
+
modernInput: {
|
|
78
|
+
flex: number;
|
|
79
|
+
fontSize: number;
|
|
80
|
+
height: "100%";
|
|
81
|
+
};
|
|
82
|
+
textArea: {
|
|
83
|
+
flex: number;
|
|
84
|
+
fontSize: number;
|
|
85
|
+
textAlignVertical: "top";
|
|
86
|
+
minHeight: number;
|
|
87
|
+
};
|
|
88
|
+
categoryContainer: {
|
|
89
|
+
marginBottom: number;
|
|
90
|
+
};
|
|
91
|
+
checkboxContainer: {
|
|
92
|
+
flexDirection: "row";
|
|
93
|
+
alignItems: "center";
|
|
94
|
+
marginBottom: number;
|
|
95
|
+
};
|
|
96
|
+
checkbox: {
|
|
97
|
+
width: number;
|
|
98
|
+
height: number;
|
|
99
|
+
borderRadius: number;
|
|
100
|
+
borderWidth: number;
|
|
101
|
+
marginRight: number;
|
|
102
|
+
alignItems: "center";
|
|
103
|
+
justifyContent: "center";
|
|
104
|
+
};
|
|
105
|
+
checkboxText: {
|
|
106
|
+
fontSize: number;
|
|
107
|
+
flex: number;
|
|
108
|
+
};
|
|
109
|
+
button: {
|
|
110
|
+
boxShadow: string;
|
|
111
|
+
shadowOffset?: undefined;
|
|
112
|
+
shadowOpacity?: undefined;
|
|
113
|
+
shadowRadius?: undefined;
|
|
114
|
+
elevation?: undefined;
|
|
115
|
+
flexDirection: "row";
|
|
116
|
+
alignItems: "center";
|
|
117
|
+
justifyContent: "center";
|
|
118
|
+
paddingVertical: number;
|
|
119
|
+
paddingHorizontal: number;
|
|
120
|
+
borderRadius: number;
|
|
121
|
+
marginVertical: number;
|
|
122
|
+
gap: number;
|
|
123
|
+
width: "100%";
|
|
124
|
+
} | {
|
|
125
|
+
shadowOffset: {
|
|
126
|
+
width: number;
|
|
127
|
+
height: number;
|
|
128
|
+
};
|
|
129
|
+
shadowOpacity: number;
|
|
130
|
+
shadowRadius: number;
|
|
131
|
+
elevation: number;
|
|
132
|
+
boxShadow?: undefined;
|
|
133
|
+
flexDirection: "row";
|
|
134
|
+
alignItems: "center";
|
|
135
|
+
justifyContent: "center";
|
|
136
|
+
paddingVertical: number;
|
|
137
|
+
paddingHorizontal: number;
|
|
138
|
+
borderRadius: number;
|
|
139
|
+
marginVertical: number;
|
|
140
|
+
gap: number;
|
|
141
|
+
width: "100%";
|
|
142
|
+
};
|
|
143
|
+
buttonText: {
|
|
144
|
+
color: string;
|
|
145
|
+
fontSize: number;
|
|
146
|
+
fontWeight: "600";
|
|
147
|
+
letterSpacing: number;
|
|
148
|
+
};
|
|
149
|
+
navigationButtons: {
|
|
150
|
+
flexDirection: "row";
|
|
151
|
+
justifyContent: "center";
|
|
152
|
+
marginTop: number;
|
|
153
|
+
marginBottom: number;
|
|
154
|
+
width: "100%";
|
|
155
|
+
gap: number;
|
|
156
|
+
};
|
|
157
|
+
navButton: {
|
|
158
|
+
boxShadow: string;
|
|
159
|
+
shadowOffset?: undefined;
|
|
160
|
+
shadowOpacity?: undefined;
|
|
161
|
+
shadowRadius?: undefined;
|
|
162
|
+
elevation?: undefined;
|
|
163
|
+
flexDirection: "row";
|
|
164
|
+
alignItems: "center";
|
|
165
|
+
paddingVertical: number;
|
|
166
|
+
paddingHorizontal: number;
|
|
167
|
+
gap: number;
|
|
168
|
+
minWidth: number;
|
|
169
|
+
borderWidth: number;
|
|
170
|
+
} | {
|
|
171
|
+
shadowOffset: {
|
|
172
|
+
width: number;
|
|
173
|
+
height: number;
|
|
174
|
+
};
|
|
175
|
+
shadowOpacity: number;
|
|
176
|
+
shadowRadius: number;
|
|
177
|
+
elevation: number;
|
|
178
|
+
boxShadow?: undefined;
|
|
179
|
+
flexDirection: "row";
|
|
180
|
+
alignItems: "center";
|
|
181
|
+
paddingVertical: number;
|
|
182
|
+
paddingHorizontal: number;
|
|
183
|
+
gap: number;
|
|
184
|
+
minWidth: number;
|
|
185
|
+
borderWidth: number;
|
|
186
|
+
};
|
|
187
|
+
backButton: {
|
|
188
|
+
backgroundColor: string;
|
|
189
|
+
borderTopLeftRadius: number;
|
|
190
|
+
borderBottomLeftRadius: number;
|
|
191
|
+
borderTopRightRadius: number;
|
|
192
|
+
borderBottomRightRadius: number;
|
|
193
|
+
};
|
|
194
|
+
nextButton: {
|
|
195
|
+
backgroundColor: string;
|
|
196
|
+
borderTopRightRadius: number;
|
|
197
|
+
borderBottomRightRadius: number;
|
|
198
|
+
borderTopLeftRadius: number;
|
|
199
|
+
borderBottomLeftRadius: number;
|
|
200
|
+
};
|
|
201
|
+
navButtonText: {
|
|
202
|
+
fontSize: number;
|
|
203
|
+
fontWeight: "500";
|
|
204
|
+
};
|
|
205
|
+
progressContainer: {
|
|
206
|
+
flexDirection: "row";
|
|
207
|
+
justifyContent: "center";
|
|
208
|
+
marginBottom: number;
|
|
209
|
+
marginTop: number;
|
|
210
|
+
};
|
|
211
|
+
progressDot: {
|
|
212
|
+
boxShadow: string;
|
|
213
|
+
shadowColor?: undefined;
|
|
214
|
+
shadowOpacity?: undefined;
|
|
215
|
+
shadowOffset?: undefined;
|
|
216
|
+
shadowRadius?: undefined;
|
|
217
|
+
elevation?: undefined;
|
|
218
|
+
height: number;
|
|
219
|
+
width: number;
|
|
220
|
+
borderRadius: number;
|
|
221
|
+
marginHorizontal: number;
|
|
222
|
+
borderWidth: number;
|
|
223
|
+
borderColor: string;
|
|
224
|
+
} | {
|
|
225
|
+
shadowColor: string;
|
|
226
|
+
shadowOpacity: number;
|
|
227
|
+
shadowOffset: {
|
|
228
|
+
width: number;
|
|
229
|
+
height: number;
|
|
230
|
+
};
|
|
231
|
+
shadowRadius: number;
|
|
232
|
+
elevation: number;
|
|
233
|
+
boxShadow?: undefined;
|
|
234
|
+
height: number;
|
|
235
|
+
width: number;
|
|
236
|
+
borderRadius: number;
|
|
237
|
+
marginHorizontal: number;
|
|
238
|
+
borderWidth: number;
|
|
239
|
+
borderColor: string;
|
|
240
|
+
};
|
|
241
|
+
summaryContainer: {
|
|
242
|
+
padding: number;
|
|
243
|
+
marginBottom: number;
|
|
244
|
+
width: "100%";
|
|
245
|
+
};
|
|
246
|
+
summaryRow: {
|
|
247
|
+
flexDirection: "row";
|
|
248
|
+
marginBottom: number;
|
|
249
|
+
};
|
|
250
|
+
summaryLabel: {
|
|
251
|
+
fontSize: number;
|
|
252
|
+
width: number;
|
|
253
|
+
};
|
|
254
|
+
summaryValue: {
|
|
255
|
+
fontSize: number;
|
|
256
|
+
fontWeight: "600";
|
|
257
|
+
flex: number;
|
|
258
|
+
};
|
|
259
|
+
successContainer: {
|
|
260
|
+
alignItems: "center";
|
|
261
|
+
justifyContent: "center";
|
|
262
|
+
padding: number;
|
|
263
|
+
};
|
|
264
|
+
successIcon: {
|
|
265
|
+
marginBottom: number;
|
|
266
|
+
};
|
|
267
|
+
successTitle: {
|
|
268
|
+
fontSize: number;
|
|
269
|
+
fontWeight: "bold";
|
|
270
|
+
marginBottom: number;
|
|
271
|
+
textAlign: "center";
|
|
272
|
+
};
|
|
273
|
+
successMessage: {
|
|
274
|
+
fontSize: number;
|
|
275
|
+
textAlign: "center";
|
|
276
|
+
opacity: number;
|
|
277
|
+
marginBottom: number;
|
|
278
|
+
};
|
|
279
|
+
};
|