@onairos/react-native 3.1.16 → 3.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +404 -0
- package/lib/commonjs/assets/images/Checkbox.svg +3 -3
- package/lib/commonjs/assets/images/EnochE.svg +19 -19
- package/lib/commonjs/assets/images/Personalityprofile.svg +3 -3
- package/lib/commonjs/assets/images/Personalitytraits.svg +3 -3
- package/lib/commonjs/assets/images/Userpreferences.svg +3 -3
- package/lib/commonjs/assets/images/arrow.svg +20 -20
- package/lib/commonjs/assets/images/basicproficon.svg +43 -43
- package/lib/commonjs/assets/images/basicprofile.svg +3 -3
- package/lib/commonjs/assets/images/checkmark.svg +4 -4
- package/lib/commonjs/assets/images/contentanalysis.svg +3 -3
- package/lib/commonjs/assets/images/contenticon.svg +23 -23
- package/lib/commonjs/assets/images/personalityicon.svg +18 -18
- package/lib/commonjs/assets/images/x-close.svg +3 -3
- package/lib/commonjs/components/OnairosButton.js +290 -0
- package/lib/commonjs/components/OnairosButton.js.map +1 -0
- package/lib/commonjs/components/OnairosSignInButton.js +30 -8
- package/lib/commonjs/components/OnairosSignInButton.js.map +1 -1
- package/lib/commonjs/components/UniversalOnboarding.js +4 -4
- package/lib/commonjs/config/api.js +2 -2
- package/lib/commonjs/hooks/useConnections.js +6 -6
- package/lib/commonjs/hooks/useUserConnections.js +10 -10
- package/lib/commonjs/index.js +9 -10
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/services/apiClient.js +35 -35
- package/lib/commonjs/services/apiKeyService.js +99 -99
- package/lib/commonjs/services/authService.js +82 -82
- package/lib/commonjs/services/biometricPinService.js +10 -10
- package/lib/commonjs/services/connectedAccountsService.js +32 -32
- package/lib/commonjs/services/googleAuthService.js +15 -15
- package/lib/commonjs/services/imageCompressionService.js +15 -15
- package/lib/commonjs/services/jwtStorageService.js +59 -59
- package/lib/commonjs/services/mobileTrainingService.js +14 -14
- package/lib/commonjs/services/pinEncryptionService.js +10 -10
- package/lib/commonjs/services/pinStorageUtils.js +15 -15
- package/lib/commonjs/services/platformAuthService.js +47 -47
- package/lib/commonjs/services/storageService.js +31 -31
- package/lib/commonjs/services/trainingApiHelpers.js +33 -33
- package/lib/commonjs/services/userConnectionsService.js +24 -24
- package/lib/commonjs/utils/Portal.js +4 -4
- package/lib/commonjs/utils/api.js +24 -24
- package/lib/commonjs/utils/auth.js +18 -18
- package/lib/commonjs/utils/crypto.js +13 -13
- package/lib/commonjs/utils/encryption.js +12 -12
- package/lib/commonjs/utils/eventUtils.js +52 -52
- package/lib/commonjs/utils/programmaticFlow.js +16 -16
- package/lib/commonjs/utils/retryHelper.js +27 -27
- package/lib/module/assets/images/Checkbox.svg +3 -3
- package/lib/module/assets/images/EnochE.svg +19 -19
- package/lib/module/assets/images/Personalityprofile.svg +3 -3
- package/lib/module/assets/images/Personalitytraits.svg +3 -3
- package/lib/module/assets/images/Userpreferences.svg +3 -3
- package/lib/module/assets/images/arrow.svg +20 -20
- package/lib/module/assets/images/basicproficon.svg +43 -43
- package/lib/module/assets/images/basicprofile.svg +3 -3
- package/lib/module/assets/images/checkmark.svg +4 -4
- package/lib/module/assets/images/contentanalysis.svg +3 -3
- package/lib/module/assets/images/contenticon.svg +23 -23
- package/lib/module/assets/images/personalityicon.svg +18 -18
- package/lib/module/assets/images/x-close.svg +3 -3
- package/lib/module/components/OnairosButton.js +282 -0
- package/lib/module/components/OnairosButton.js.map +1 -0
- package/lib/module/components/OnairosSignInButton.js +30 -8
- package/lib/module/components/OnairosSignInButton.js.map +1 -1
- package/lib/module/components/UniversalOnboarding.js +4 -4
- package/lib/module/config/api.js +2 -2
- package/lib/module/hooks/useConnections.js +6 -6
- package/lib/module/hooks/useUserConnections.js +10 -10
- package/lib/module/index.js +8 -10
- package/lib/module/index.js.map +1 -1
- package/lib/module/services/apiClient.js +35 -35
- package/lib/module/services/apiKeyService.js +99 -99
- package/lib/module/services/authService.js +82 -82
- package/lib/module/services/biometricPinService.js +10 -10
- package/lib/module/services/connectedAccountsService.js +32 -32
- package/lib/module/services/googleAuthService.js +15 -15
- package/lib/module/services/imageCompressionService.js +15 -15
- package/lib/module/services/jwtStorageService.js +59 -59
- package/lib/module/services/mobileTrainingService.js +14 -14
- package/lib/module/services/pinEncryptionService.js +10 -10
- package/lib/module/services/pinStorageUtils.js +15 -15
- package/lib/module/services/platformAuthService.js +47 -47
- package/lib/module/services/storageService.js +31 -31
- package/lib/module/services/trainingApiHelpers.js +33 -33
- package/lib/module/services/userConnectionsService.js +24 -24
- package/lib/module/utils/Portal.js +4 -4
- package/lib/module/utils/api.js +24 -24
- package/lib/module/utils/auth.js +18 -18
- package/lib/module/utils/crypto.js +13 -13
- package/lib/module/utils/encryption.js +12 -12
- package/lib/module/utils/eventUtils.js +52 -52
- package/lib/module/utils/programmaticFlow.js +16 -16
- package/lib/module/utils/retryHelper.js +27 -27
- package/lib/typescript/components/OnairosButton.d.ts +37 -0
- package/lib/typescript/components/OnairosButton.d.ts.map +1 -0
- package/lib/typescript/components/OnairosSignInButton.d.ts +2 -1
- package/lib/typescript/components/OnairosSignInButton.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +3 -4
- package/lib/typescript/index.d.ts.map +1 -1
- package/package.json +163 -163
- package/src/api/index.ts +151 -151
- package/src/assets/images/Checkbox.svg +3 -3
- package/src/assets/images/EnochE.svg +19 -19
- package/src/assets/images/Personalityprofile.svg +3 -3
- package/src/assets/images/Personalitytraits.svg +3 -3
- package/src/assets/images/Userpreferences.svg +3 -3
- package/src/assets/images/arrow.svg +20 -20
- package/src/assets/images/basicproficon.svg +43 -43
- package/src/assets/images/basicprofile.svg +3 -3
- package/src/assets/images/checkmark.svg +4 -4
- package/src/assets/images/contentanalysis.svg +3 -3
- package/src/assets/images/contenticon.svg +23 -23
- package/src/assets/images/personalityicon.svg +18 -18
- package/src/assets/images/x-close.svg +3 -3
- package/src/components/BodyText.tsx +33 -33
- package/src/components/BrandMark.tsx +62 -62
- package/src/components/CodeInput.tsx +32 -32
- package/src/components/DataRequestScreen.tsx +355 -355
- package/src/components/EmailInput.tsx +31 -31
- package/src/components/EmailVerificationModal.tsx +363 -363
- package/src/components/ExistingUserDataConfirmation.tsx +506 -506
- package/src/components/GoogleButton.tsx +55 -55
- package/src/components/HeadingGroup.tsx +49 -49
- package/src/components/ModalHeader.tsx +125 -125
- package/src/components/ModalSheet.tsx +57 -57
- package/src/components/Onairos.tsx +422 -422
- package/src/components/OnairosButton.tsx +339 -0
- package/src/components/OnairosSignInButton.tsx +30 -10
- package/src/components/Overlay.tsx +506 -506
- package/src/components/PersonaImage.tsx +79 -79
- package/src/components/PersonaLoadingScreen.tsx +201 -201
- package/src/components/PersonalizationConsentScreen.tsx +410 -410
- package/src/components/PinCreationScreen.tsx +492 -492
- package/src/components/PinInput.tsx +555 -555
- package/src/components/PlatformConnectorsStep.tsx +891 -891
- package/src/components/PlatformList.tsx +144 -144
- package/src/components/PlatformToggle.tsx +226 -226
- package/src/components/PrimaryButton.tsx +213 -213
- package/src/components/SignInMatchAnimation.tsx +225 -225
- package/src/components/SignInStep.tsx +217 -217
- package/src/components/TrainingModal.tsx +1047 -1047
- package/src/components/UniversalOnboarding.tsx +2887 -2887
- package/src/components/VerificationStep.tsx +198 -198
- package/src/components/WelcomeScreen.tsx +473 -473
- package/src/components/icons/Basicproficon.tsx +30 -30
- package/src/components/icons/Basicprofile.tsx +17 -17
- package/src/components/icons/Checkbox.tsx +17 -17
- package/src/components/icons/Checkmark.tsx +24 -24
- package/src/components/icons/Contentanalysis.tsx +17 -17
- package/src/components/icons/Contenticon.tsx +30 -30
- package/src/components/icons/EnochE.tsx +39 -39
- package/src/components/icons/Personalityicon.tsx +22 -22
- package/src/components/icons/Personalityprofile.tsx +17 -17
- package/src/components/icons/Personalitytraits.tsx +17 -17
- package/src/components/icons/Userpreferences.tsx +17 -17
- package/src/components/icons/index.ts +12 -12
- package/src/components/onboarding/OAuthWebView.tsx +232 -232
- package/src/config/api.ts +25 -25
- package/src/context/AuthContext.tsx +393 -393
- package/src/hooks/useConnectedAccounts.ts +138 -138
- package/src/hooks/useConnections.ts +161 -161
- package/src/hooks/useCredentials.ts +174 -174
- package/src/hooks/useUserConnections.ts +165 -165
- package/src/index.js +14 -0
- package/src/index.ts +94 -96
- package/src/services/apiClient.ts +336 -336
- package/src/services/apiKeyService.ts +919 -919
- package/src/services/authService.ts +1008 -1008
- package/src/services/biometricPinService.ts +192 -192
- package/src/services/connectedAccountsService.ts +289 -289
- package/src/services/googleAuthService.ts +279 -279
- package/src/services/imageCompressionService.ts +302 -302
- package/src/services/jwtStorageService.ts +256 -256
- package/src/services/mobileTrainingService.ts +203 -203
- package/src/services/pinEncryptionService.ts +75 -75
- package/src/services/pinStorageUtils.ts +96 -96
- package/src/services/platformAuthService.ts +1346 -1346
- package/src/services/storageService.ts +451 -451
- package/src/services/trainingApiHelpers.ts +66 -66
- package/src/services/userConnectionsService.ts +556 -556
- package/src/services/youtubeMigrationService.ts +453 -453
- package/src/theme/index.ts +239 -239
- package/src/types/ambient.d.ts +28 -28
- package/src/types/index.ts +265 -265
- package/src/types/node-fix.d.ts +18 -18
- package/src/types/node-override.d.ts +23 -23
- package/src/types/opacity.d.ts +15 -15
- package/src/types/types.d.ts +17 -17
- package/src/utils/Portal.tsx +82 -82
- package/src/utils/api.js +111 -111
- package/src/utils/auth.js +103 -103
- package/src/utils/crypto.js +59 -59
- package/src/utils/encryption.ts +68 -68
- package/src/utils/eventUtils.ts +302 -302
- package/src/utils/haptics.ts +58 -58
- package/src/utils/imagePreloader.ts +2 -2
- package/src/utils/programmaticFlow.ts +112 -112
- package/src/utils/retryHelper.ts +274 -274
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g filter="url(#filter0_i_197_1929)">
|
|
3
|
-
<rect width="32" height="32" rx="16" fill="#ECECED"/>
|
|
4
|
-
<g clip-path="url(#clip0_197_1929)">
|
|
5
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.5625 17.7497C15.5625 17.4015 15.4243 17.0677 15.1779 16.8218C14.9321 16.5755 14.5982 16.4372 14.25 16.4372C13.3811 16.4372 12.0564 16.4372 11.1875 16.4372C10.8392 16.4372 10.5054 16.5755 10.2596 16.8218C10.0132 17.0677 9.875 17.4015 9.875 17.7497V20.8122C9.875 21.1605 10.0132 21.4943 10.2596 21.7402C10.5054 21.9865 10.8392 22.1247 11.1875 22.1247H14.25C14.5982 22.1247 14.9321 21.9865 15.1779 21.7402C15.4243 21.4943 15.5625 21.1605 15.5625 20.8122V17.7497ZM22.125 17.7497C22.125 17.4015 21.9868 17.0677 21.7404 16.8218C21.4946 16.5755 21.1608 16.4372 20.8125 16.4372C19.9436 16.4372 18.6189 16.4372 17.75 16.4372C17.4018 16.4372 17.0679 16.5755 16.8221 16.8218C16.5757 17.0677 16.4375 17.4015 16.4375 17.7497V20.8122C16.4375 21.1605 16.5757 21.4943 16.8221 21.7402C17.0679 21.9865 17.4018 22.1247 17.75 22.1247H20.8125C21.1608 22.1247 21.4946 21.9865 21.7404 21.7402C21.9868 21.4943 22.125 21.1605 22.125 20.8122V17.7497ZM20.2092 15.4717L22.0344 13.6464C22.5468 13.1341 22.5468 12.3029 22.0344 11.7905L20.2092 9.96529C19.6969 9.45298 18.8656 9.45298 18.3533 9.96529L16.5281 11.7905C16.0158 12.3029 16.0158 13.1341 16.5281 13.6464L18.3533 15.4717C18.8656 15.984 19.6969 15.984 20.2092 15.4717ZM15.5625 11.1872C15.5625 10.839 15.4243 10.5052 15.1779 10.2593C14.9321 10.013 14.5982 9.87473 14.25 9.87473C13.3811 9.87473 12.0564 9.87473 11.1875 9.87473C10.8392 9.87473 10.5054 10.013 10.2596 10.2593C10.0132 10.5052 9.875 10.839 9.875 11.1872V14.2497C9.875 14.598 10.0132 14.9318 10.2596 15.1777C10.5054 15.424 10.8392 15.5622 11.1875 15.5622H14.25C14.5982 15.5622 14.9321 15.424 15.1779 15.1777C15.4243 14.9318 15.5625 14.598 15.5625 14.2497V11.1872Z" fill="#1F242F"/>
|
|
6
|
-
</g>
|
|
7
|
-
</g>
|
|
8
|
-
<defs>
|
|
9
|
-
<filter id="filter0_i_197_1929" x="0" y="0" width="32" height="36" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
10
|
-
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
11
|
-
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
12
|
-
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
13
|
-
<feOffset dy="4"/>
|
|
14
|
-
<feGaussianBlur stdDeviation="2"/>
|
|
15
|
-
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
|
16
|
-
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"/>
|
|
17
|
-
<feBlend mode="normal" in2="shape" result="effect1_innerShadow_197_1929"/>
|
|
18
|
-
</filter>
|
|
19
|
-
<clipPath id="clip0_197_1929">
|
|
20
|
-
<rect width="14" height="14" fill="white" transform="translate(9 9)"/>
|
|
21
|
-
</clipPath>
|
|
22
|
-
</defs>
|
|
23
|
-
</svg>
|
|
1
|
+
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g filter="url(#filter0_i_197_1929)">
|
|
3
|
+
<rect width="32" height="32" rx="16" fill="#ECECED"/>
|
|
4
|
+
<g clip-path="url(#clip0_197_1929)">
|
|
5
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.5625 17.7497C15.5625 17.4015 15.4243 17.0677 15.1779 16.8218C14.9321 16.5755 14.5982 16.4372 14.25 16.4372C13.3811 16.4372 12.0564 16.4372 11.1875 16.4372C10.8392 16.4372 10.5054 16.5755 10.2596 16.8218C10.0132 17.0677 9.875 17.4015 9.875 17.7497V20.8122C9.875 21.1605 10.0132 21.4943 10.2596 21.7402C10.5054 21.9865 10.8392 22.1247 11.1875 22.1247H14.25C14.5982 22.1247 14.9321 21.9865 15.1779 21.7402C15.4243 21.4943 15.5625 21.1605 15.5625 20.8122V17.7497ZM22.125 17.7497C22.125 17.4015 21.9868 17.0677 21.7404 16.8218C21.4946 16.5755 21.1608 16.4372 20.8125 16.4372C19.9436 16.4372 18.6189 16.4372 17.75 16.4372C17.4018 16.4372 17.0679 16.5755 16.8221 16.8218C16.5757 17.0677 16.4375 17.4015 16.4375 17.7497V20.8122C16.4375 21.1605 16.5757 21.4943 16.8221 21.7402C17.0679 21.9865 17.4018 22.1247 17.75 22.1247H20.8125C21.1608 22.1247 21.4946 21.9865 21.7404 21.7402C21.9868 21.4943 22.125 21.1605 22.125 20.8122V17.7497ZM20.2092 15.4717L22.0344 13.6464C22.5468 13.1341 22.5468 12.3029 22.0344 11.7905L20.2092 9.96529C19.6969 9.45298 18.8656 9.45298 18.3533 9.96529L16.5281 11.7905C16.0158 12.3029 16.0158 13.1341 16.5281 13.6464L18.3533 15.4717C18.8656 15.984 19.6969 15.984 20.2092 15.4717ZM15.5625 11.1872C15.5625 10.839 15.4243 10.5052 15.1779 10.2593C14.9321 10.013 14.5982 9.87473 14.25 9.87473C13.3811 9.87473 12.0564 9.87473 11.1875 9.87473C10.8392 9.87473 10.5054 10.013 10.2596 10.2593C10.0132 10.5052 9.875 10.839 9.875 11.1872V14.2497C9.875 14.598 10.0132 14.9318 10.2596 15.1777C10.5054 15.424 10.8392 15.5622 11.1875 15.5622H14.25C14.5982 15.5622 14.9321 15.424 15.1779 15.1777C15.4243 14.9318 15.5625 14.598 15.5625 14.2497V11.1872Z" fill="#1F242F"/>
|
|
6
|
+
</g>
|
|
7
|
+
</g>
|
|
8
|
+
<defs>
|
|
9
|
+
<filter id="filter0_i_197_1929" x="0" y="0" width="32" height="36" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
10
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
11
|
+
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
12
|
+
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
13
|
+
<feOffset dy="4"/>
|
|
14
|
+
<feGaussianBlur stdDeviation="2"/>
|
|
15
|
+
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
|
16
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"/>
|
|
17
|
+
<feBlend mode="normal" in2="shape" result="effect1_innerShadow_197_1929"/>
|
|
18
|
+
</filter>
|
|
19
|
+
<clipPath id="clip0_197_1929">
|
|
20
|
+
<rect width="14" height="14" fill="white" transform="translate(9 9)"/>
|
|
21
|
+
</clipPath>
|
|
22
|
+
</defs>
|
|
23
|
+
</svg>
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<g filter="url(#filter0_i_197_1937)">
|
|
3
|
-
<rect width="32" height="32" rx="16" fill="#ECECED"/>
|
|
4
|
-
<path d="M21.5688 11.4549C20.6968 10.6002 19.5433 10.1432 18.3211 10.1674C17.6285 10.1813 16.9637 10.351 16.3664 10.6559C15.7131 10.322 14.9833 10.1526 14.2269 10.1674C12.8248 10.1955 11.5364 10.8618 10.6919 11.9951C10.1239 12.7573 9.81121 13.7151 9.81121 14.692V14.9161C9.81121 15.1553 9.76251 15.3876 9.66664 15.6066L9.06659 16.9764C8.97283 17.1902 8.97827 17.4331 9.08171 17.6424C9.18515 17.8516 9.37417 18.0041 9.60101 18.0597L10.0807 18.1777L10.2788 19.2877C10.3732 19.8163 10.8314 20.1998 11.3682 20.1998H12.9358C12.9687 20.1998 12.9969 20.2222 13.005 20.2543L13.2431 21.2197C13.3383 21.6068 13.6831 21.8769 14.0817 21.8769H16.3942C16.798 21.8769 17.1682 21.7311 17.4555 21.4898C17.6119 21.7266 17.8789 21.8769 18.1759 21.8769H20.4884C21.3997 21.8769 22.141 21.1356 22.141 20.2243V18.3389C22.141 17.714 22.2753 17.0922 22.5402 16.4915C22.7934 15.9178 22.9216 15.3063 22.9216 14.6745C22.9216 13.4532 22.4413 12.3099 21.5691 11.4549H21.5688ZM16.3942 21.1211H14.0817C14.0321 21.1211 13.9892 21.0875 13.9771 21.0391L13.7391 20.0737C13.648 19.7029 13.3178 19.4437 12.9358 19.4437H11.3682C11.1982 19.4437 11.053 19.3221 11.0231 19.1549L10.8208 18.021C10.7709 17.7419 10.5607 17.5174 10.2845 17.4491L9.78187 17.3254C9.77824 17.3245 9.76675 17.3218 9.75979 17.3078C9.75284 17.2939 9.75768 17.2834 9.75919 17.2797L10.3592 15.9099C10.4975 15.5948 10.5676 15.2603 10.5676 14.9158V14.6917C10.5676 13.8766 10.8271 13.0794 11.2986 12.4466C12.0024 11.5021 13.0755 10.9465 14.2423 10.9232C14.7148 10.9139 15.1748 10.991 15.6045 11.1473C15.3012 11.3896 15.026 11.6736 14.7864 11.9951C14.2184 12.7573 13.9057 13.7151 13.9057 14.692V14.9161C13.9057 15.1553 13.857 15.3876 13.7611 15.6066L13.1611 16.9764C13.0673 17.1902 13.0728 17.4331 13.1762 17.6424C13.2797 17.8516 13.4687 18.0041 13.6955 18.0597L14.1752 18.1777L14.3733 19.2877C14.4677 19.8163 14.9259 20.1998 15.4627 20.1998H17.0303C17.0632 20.1998 17.0914 20.2222 17.0995 20.2543L17.1927 20.632C17.0439 20.9221 16.7423 21.1211 16.3945 21.1211H16.3942Z" fill="#1F242F"/>
|
|
5
|
-
</g>
|
|
6
|
-
<defs>
|
|
7
|
-
<filter id="filter0_i_197_1937" x="0" y="0" width="32" height="36" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
8
|
-
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
9
|
-
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
10
|
-
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
11
|
-
<feOffset dy="4"/>
|
|
12
|
-
<feGaussianBlur stdDeviation="2"/>
|
|
13
|
-
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
|
14
|
-
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"/>
|
|
15
|
-
<feBlend mode="normal" in2="shape" result="effect1_innerShadow_197_1937"/>
|
|
16
|
-
</filter>
|
|
17
|
-
</defs>
|
|
18
|
-
</svg>
|
|
1
|
+
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g filter="url(#filter0_i_197_1937)">
|
|
3
|
+
<rect width="32" height="32" rx="16" fill="#ECECED"/>
|
|
4
|
+
<path d="M21.5688 11.4549C20.6968 10.6002 19.5433 10.1432 18.3211 10.1674C17.6285 10.1813 16.9637 10.351 16.3664 10.6559C15.7131 10.322 14.9833 10.1526 14.2269 10.1674C12.8248 10.1955 11.5364 10.8618 10.6919 11.9951C10.1239 12.7573 9.81121 13.7151 9.81121 14.692V14.9161C9.81121 15.1553 9.76251 15.3876 9.66664 15.6066L9.06659 16.9764C8.97283 17.1902 8.97827 17.4331 9.08171 17.6424C9.18515 17.8516 9.37417 18.0041 9.60101 18.0597L10.0807 18.1777L10.2788 19.2877C10.3732 19.8163 10.8314 20.1998 11.3682 20.1998H12.9358C12.9687 20.1998 12.9969 20.2222 13.005 20.2543L13.2431 21.2197C13.3383 21.6068 13.6831 21.8769 14.0817 21.8769H16.3942C16.798 21.8769 17.1682 21.7311 17.4555 21.4898C17.6119 21.7266 17.8789 21.8769 18.1759 21.8769H20.4884C21.3997 21.8769 22.141 21.1356 22.141 20.2243V18.3389C22.141 17.714 22.2753 17.0922 22.5402 16.4915C22.7934 15.9178 22.9216 15.3063 22.9216 14.6745C22.9216 13.4532 22.4413 12.3099 21.5691 11.4549H21.5688ZM16.3942 21.1211H14.0817C14.0321 21.1211 13.9892 21.0875 13.9771 21.0391L13.7391 20.0737C13.648 19.7029 13.3178 19.4437 12.9358 19.4437H11.3682C11.1982 19.4437 11.053 19.3221 11.0231 19.1549L10.8208 18.021C10.7709 17.7419 10.5607 17.5174 10.2845 17.4491L9.78187 17.3254C9.77824 17.3245 9.76675 17.3218 9.75979 17.3078C9.75284 17.2939 9.75768 17.2834 9.75919 17.2797L10.3592 15.9099C10.4975 15.5948 10.5676 15.2603 10.5676 14.9158V14.6917C10.5676 13.8766 10.8271 13.0794 11.2986 12.4466C12.0024 11.5021 13.0755 10.9465 14.2423 10.9232C14.7148 10.9139 15.1748 10.991 15.6045 11.1473C15.3012 11.3896 15.026 11.6736 14.7864 11.9951C14.2184 12.7573 13.9057 13.7151 13.9057 14.692V14.9161C13.9057 15.1553 13.857 15.3876 13.7611 15.6066L13.1611 16.9764C13.0673 17.1902 13.0728 17.4331 13.1762 17.6424C13.2797 17.8516 13.4687 18.0041 13.6955 18.0597L14.1752 18.1777L14.3733 19.2877C14.4677 19.8163 14.9259 20.1998 15.4627 20.1998H17.0303C17.0632 20.1998 17.0914 20.2222 17.0995 20.2543L17.1927 20.632C17.0439 20.9221 16.7423 21.1211 16.3945 21.1211H16.3942Z" fill="#1F242F"/>
|
|
5
|
+
</g>
|
|
6
|
+
<defs>
|
|
7
|
+
<filter id="filter0_i_197_1937" x="0" y="0" width="32" height="36" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
|
|
8
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
|
|
9
|
+
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
|
|
10
|
+
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
|
|
11
|
+
<feOffset dy="4"/>
|
|
12
|
+
<feGaussianBlur stdDeviation="2"/>
|
|
13
|
+
<feComposite in2="hardAlpha" operator="arithmetic" k2="-1" k3="1"/>
|
|
14
|
+
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"/>
|
|
15
|
+
<feBlend mode="normal" in2="shape" result="effect1_innerShadow_197_1937"/>
|
|
16
|
+
</filter>
|
|
17
|
+
</defs>
|
|
18
|
+
</svg>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M18 6L6 18M6 6L18 18" stroke="#333741" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
-
</svg>
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M18 6L6 18M6 6L18 18" stroke="#333741" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
Text,
|
|
4
|
-
StyleSheet,
|
|
5
|
-
TextStyle,
|
|
6
|
-
} from 'react-native';
|
|
7
|
-
import { TEXT_STYLES } from '../theme';
|
|
8
|
-
|
|
9
|
-
interface BodyTextProps {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
style?: TextStyle;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
const BodyText: React.FC<BodyTextProps> = ({
|
|
15
|
-
children = "The secure, portable persona built from your data. Every app personalized while your data stays yours.",
|
|
16
|
-
style,
|
|
17
|
-
}) => {
|
|
18
|
-
return (
|
|
19
|
-
<Text style={[styles.text, style]}>
|
|
20
|
-
{children}
|
|
21
|
-
</Text>
|
|
22
|
-
);
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
const styles = StyleSheet.create({
|
|
26
|
-
text: {
|
|
27
|
-
...TEXT_STYLES.body,
|
|
28
|
-
paddingHorizontal: 20, // Add horizontal padding for nice text wrapping
|
|
29
|
-
},
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
export { BodyText };
|
|
33
|
-
export default BodyText;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
Text,
|
|
4
|
+
StyleSheet,
|
|
5
|
+
TextStyle,
|
|
6
|
+
} from 'react-native';
|
|
7
|
+
import { TEXT_STYLES } from '../theme';
|
|
8
|
+
|
|
9
|
+
interface BodyTextProps {
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
style?: TextStyle;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const BodyText: React.FC<BodyTextProps> = ({
|
|
15
|
+
children = "The secure, portable persona built from your data. Every app personalized while your data stays yours.",
|
|
16
|
+
style,
|
|
17
|
+
}) => {
|
|
18
|
+
return (
|
|
19
|
+
<Text style={[styles.text, style]}>
|
|
20
|
+
{children}
|
|
21
|
+
</Text>
|
|
22
|
+
);
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
const styles = StyleSheet.create({
|
|
26
|
+
text: {
|
|
27
|
+
...TEXT_STYLES.body,
|
|
28
|
+
paddingHorizontal: 20, // Add horizontal padding for nice text wrapping
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
export { BodyText };
|
|
33
|
+
export default BodyText;
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
View,
|
|
4
|
-
StyleSheet,
|
|
5
|
-
Image,
|
|
6
|
-
ViewStyle,
|
|
7
|
-
} from 'react-native';
|
|
8
|
-
import { SHADOWS } from '../theme';
|
|
9
|
-
|
|
10
|
-
interface BrandMarkProps {
|
|
11
|
-
containerSize?: number;
|
|
12
|
-
imageSize?: number;
|
|
13
|
-
style?: ViewStyle;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
const BrandMark: React.FC<BrandMarkProps> = ({
|
|
17
|
-
containerSize = 96,
|
|
18
|
-
imageSize = 72,
|
|
19
|
-
style,
|
|
20
|
-
}) => {
|
|
21
|
-
return (
|
|
22
|
-
<View
|
|
23
|
-
style={[
|
|
24
|
-
styles.container,
|
|
25
|
-
{
|
|
26
|
-
width: containerSize,
|
|
27
|
-
height: containerSize,
|
|
28
|
-
borderRadius: containerSize * 0.2, // Soft rounded corners
|
|
29
|
-
},
|
|
30
|
-
style
|
|
31
|
-
]}
|
|
32
|
-
>
|
|
33
|
-
<Image
|
|
34
|
-
source={require('../assets/images/Onairoslogo.png')}
|
|
35
|
-
style={[
|
|
36
|
-
styles.logo,
|
|
37
|
-
{
|
|
38
|
-
width: imageSize,
|
|
39
|
-
height: imageSize,
|
|
40
|
-
}
|
|
41
|
-
]}
|
|
42
|
-
resizeMode="contain"
|
|
43
|
-
/>
|
|
44
|
-
</View>
|
|
45
|
-
);
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
const styles = StyleSheet.create({
|
|
49
|
-
container: {
|
|
50
|
-
backgroundColor: '#FFFFFF',
|
|
51
|
-
justifyContent: 'center',
|
|
52
|
-
alignItems: 'center',
|
|
53
|
-
...SHADOWS.brandMark,
|
|
54
|
-
},
|
|
55
|
-
|
|
56
|
-
logo: {
|
|
57
|
-
// Logo styling is handled via props for flexibility
|
|
58
|
-
},
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
export { BrandMark };
|
|
62
|
-
export default BrandMark;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import {
|
|
3
|
+
View,
|
|
4
|
+
StyleSheet,
|
|
5
|
+
Image,
|
|
6
|
+
ViewStyle,
|
|
7
|
+
} from 'react-native';
|
|
8
|
+
import { SHADOWS } from '../theme';
|
|
9
|
+
|
|
10
|
+
interface BrandMarkProps {
|
|
11
|
+
containerSize?: number;
|
|
12
|
+
imageSize?: number;
|
|
13
|
+
style?: ViewStyle;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
const BrandMark: React.FC<BrandMarkProps> = ({
|
|
17
|
+
containerSize = 96,
|
|
18
|
+
imageSize = 72,
|
|
19
|
+
style,
|
|
20
|
+
}) => {
|
|
21
|
+
return (
|
|
22
|
+
<View
|
|
23
|
+
style={[
|
|
24
|
+
styles.container,
|
|
25
|
+
{
|
|
26
|
+
width: containerSize,
|
|
27
|
+
height: containerSize,
|
|
28
|
+
borderRadius: containerSize * 0.2, // Soft rounded corners
|
|
29
|
+
},
|
|
30
|
+
style
|
|
31
|
+
]}
|
|
32
|
+
>
|
|
33
|
+
<Image
|
|
34
|
+
source={require('../assets/images/Onairoslogo.png')}
|
|
35
|
+
style={[
|
|
36
|
+
styles.logo,
|
|
37
|
+
{
|
|
38
|
+
width: imageSize,
|
|
39
|
+
height: imageSize,
|
|
40
|
+
}
|
|
41
|
+
]}
|
|
42
|
+
resizeMode="contain"
|
|
43
|
+
/>
|
|
44
|
+
</View>
|
|
45
|
+
);
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
const styles = StyleSheet.create({
|
|
49
|
+
container: {
|
|
50
|
+
backgroundColor: '#FFFFFF',
|
|
51
|
+
justifyContent: 'center',
|
|
52
|
+
alignItems: 'center',
|
|
53
|
+
...SHADOWS.brandMark,
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
logo: {
|
|
57
|
+
// Logo styling is handled via props for flexibility
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
export { BrandMark };
|
|
62
|
+
export default BrandMark;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TextInput, TextInputProps, StyleSheet } from 'react-native';
|
|
3
|
-
|
|
4
|
-
interface CodeInputProps extends TextInputProps {
|
|
5
|
-
length?: number;
|
|
6
|
-
onCodeChange?: (code: string) => void;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
const CodeInput: React.FC<CodeInputProps> = (props) => {
|
|
10
|
-
return (
|
|
11
|
-
<TextInput
|
|
12
|
-
{...props}
|
|
13
|
-
keyboardType="number-pad"
|
|
14
|
-
autoComplete="sms-otp"
|
|
15
|
-
style={[styles.input, props.style]}
|
|
16
|
-
/>
|
|
17
|
-
);
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
const styles = StyleSheet.create({
|
|
21
|
-
input: {
|
|
22
|
-
borderWidth: 1,
|
|
23
|
-
borderColor: '#E0E0E0',
|
|
24
|
-
borderRadius: 8,
|
|
25
|
-
padding: 12,
|
|
26
|
-
fontSize: 16,
|
|
27
|
-
textAlign: 'center',
|
|
28
|
-
},
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
export { CodeInput };
|
|
32
|
-
export default CodeInput;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TextInput, TextInputProps, StyleSheet } from 'react-native';
|
|
3
|
+
|
|
4
|
+
interface CodeInputProps extends TextInputProps {
|
|
5
|
+
length?: number;
|
|
6
|
+
onCodeChange?: (code: string) => void;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
const CodeInput: React.FC<CodeInputProps> = (props) => {
|
|
10
|
+
return (
|
|
11
|
+
<TextInput
|
|
12
|
+
{...props}
|
|
13
|
+
keyboardType="number-pad"
|
|
14
|
+
autoComplete="sms-otp"
|
|
15
|
+
style={[styles.input, props.style]}
|
|
16
|
+
/>
|
|
17
|
+
);
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
const styles = StyleSheet.create({
|
|
21
|
+
input: {
|
|
22
|
+
borderWidth: 1,
|
|
23
|
+
borderColor: '#E0E0E0',
|
|
24
|
+
borderRadius: 8,
|
|
25
|
+
padding: 12,
|
|
26
|
+
fontSize: 16,
|
|
27
|
+
textAlign: 'center',
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export { CodeInput };
|
|
32
|
+
export default CodeInput;
|