@kiosinc/commons-rn 0.1.7
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/LICENSE +20 -0
- package/README.md +31 -0
- package/lib/commonjs/auth/api/authentication.js +20 -0
- package/lib/commonjs/auth/api/authentication.js.map +1 -0
- package/lib/commonjs/auth/appLogo.svg +9 -0
- package/lib/commonjs/auth/hooks/useAuthenticateRequests.js +52 -0
- package/lib/commonjs/auth/hooks/useAuthenticateRequests.js.map +1 -0
- package/lib/commonjs/auth/hooks/useAuthentication.js +89 -0
- package/lib/commonjs/auth/hooks/useAuthentication.js.map +1 -0
- package/lib/commonjs/auth/index.js +33 -0
- package/lib/commonjs/auth/index.js.map +1 -0
- package/lib/commonjs/auth/providers/authentication/AuthenticationProvider.js +57 -0
- package/lib/commonjs/auth/providers/authentication/AuthenticationProvider.js.map +1 -0
- package/lib/commonjs/auth/providers/authentication/actions/authentication.actions.js +13 -0
- package/lib/commonjs/auth/providers/authentication/actions/authentication.actions.js.map +1 -0
- package/lib/commonjs/auth/providers/authentication/index.js +50 -0
- package/lib/commonjs/auth/providers/authentication/index.js.map +1 -0
- package/lib/commonjs/auth/providers/authentication/reducer/authentication.reducer.js +21 -0
- package/lib/commonjs/auth/providers/authentication/reducer/authentication.reducer.js.map +1 -0
- package/lib/commonjs/auth/providers/authentication/types/authentication.types.js +11 -0
- package/lib/commonjs/auth/providers/authentication/types/authentication.types.js.map +1 -0
- package/lib/commonjs/auth/screens/LoginScreen.js +131 -0
- package/lib/commonjs/auth/screens/LoginScreen.js.map +1 -0
- package/lib/commonjs/auth/screens/ResetPassword.js +90 -0
- package/lib/commonjs/auth/screens/ResetPassword.js.map +1 -0
- package/lib/commonjs/auth/screens/ResetPasswordInstructionsSent.js +34 -0
- package/lib/commonjs/auth/screens/ResetPasswordInstructionsSent.js.map +1 -0
- package/lib/commonjs/auth/screens/SignUp.js +176 -0
- package/lib/commonjs/auth/screens/SignUp.js.map +1 -0
- package/lib/commonjs/auth/screens/SignUpPassword.js +103 -0
- package/lib/commonjs/auth/screens/SignUpPassword.js.map +1 -0
- package/lib/commonjs/auth/screens/VerifyPhoneNumber.js +95 -0
- package/lib/commonjs/auth/screens/VerifyPhoneNumber.js.map +1 -0
- package/lib/commonjs/auth/screens/index.js +37 -0
- package/lib/commonjs/auth/screens/index.js.map +1 -0
- package/lib/commonjs/auth/screens/validators.js +39 -0
- package/lib/commonjs/auth/screens/validators.js.map +1 -0
- package/lib/commonjs/components/Alert.js +109 -0
- package/lib/commonjs/components/Alert.js.map +1 -0
- package/lib/commonjs/components/Badge.js +20 -0
- package/lib/commonjs/components/Badge.js.map +1 -0
- package/lib/commonjs/components/BottomSheet.js +60 -0
- package/lib/commonjs/components/BottomSheet.js.map +1 -0
- package/lib/commonjs/components/Button.js +20 -0
- package/lib/commonjs/components/Button.js.map +1 -0
- package/lib/commonjs/components/Card.js +19 -0
- package/lib/commonjs/components/Card.js.map +1 -0
- package/lib/commonjs/components/Divider.js +19 -0
- package/lib/commonjs/components/Divider.js.map +1 -0
- package/lib/commonjs/components/FAB.js +19 -0
- package/lib/commonjs/components/FAB.js.map +1 -0
- package/lib/commonjs/components/Header.js +73 -0
- package/lib/commonjs/components/Header.js.map +1 -0
- package/lib/commonjs/components/IconButton.js +19 -0
- package/lib/commonjs/components/IconButton.js.map +1 -0
- package/lib/commonjs/components/Image.js +45 -0
- package/lib/commonjs/components/Image.js.map +1 -0
- package/lib/commonjs/components/KeyboardAvoidingView.js +23 -0
- package/lib/commonjs/components/KeyboardAvoidingView.js.map +1 -0
- package/lib/commonjs/components/LineLoader.js +61 -0
- package/lib/commonjs/components/LineLoader.js.map +1 -0
- package/lib/commonjs/components/LinkButton.js +32 -0
- package/lib/commonjs/components/LinkButton.js.map +1 -0
- package/lib/commonjs/components/OtpInputs.js +97 -0
- package/lib/commonjs/components/OtpInputs.js.map +1 -0
- package/lib/commonjs/components/ParentView.js +81 -0
- package/lib/commonjs/components/ParentView.js.map +1 -0
- package/lib/commonjs/components/Searchbar.js +22 -0
- package/lib/commonjs/components/Searchbar.js.map +1 -0
- package/lib/commonjs/components/SelectionDialog.js +130 -0
- package/lib/commonjs/components/SelectionDialog.js.map +1 -0
- package/lib/commonjs/components/Snackbar.js +69 -0
- package/lib/commonjs/components/Snackbar.js.map +1 -0
- package/lib/commonjs/components/Surface.js +19 -0
- package/lib/commonjs/components/Surface.js.map +1 -0
- package/lib/commonjs/components/Text.js +20 -0
- package/lib/commonjs/components/Text.js.map +1 -0
- package/lib/commonjs/components/TextInput.js +65 -0
- package/lib/commonjs/components/TextInput.js.map +1 -0
- package/lib/commonjs/components/ToggleButton.js +19 -0
- package/lib/commonjs/components/ToggleButton.js.map +1 -0
- package/lib/commonjs/components/Video.js +42 -0
- package/lib/commonjs/components/Video.js.map +1 -0
- package/lib/commonjs/components/View.js +20 -0
- package/lib/commonjs/components/View.js.map +1 -0
- package/lib/commonjs/components/index.js +174 -0
- package/lib/commonjs/components/index.js.map +1 -0
- package/lib/commonjs/index.js +37 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/theme/index.js +43 -0
- package/lib/commonjs/theme/index.js.map +1 -0
- package/lib/commonjs/theme/theme.js +126 -0
- package/lib/commonjs/theme/theme.js.map +1 -0
- package/lib/commonjs/theme/tokens.js +204 -0
- package/lib/commonjs/theme/tokens.js.map +1 -0
- package/lib/commonjs/types/index.d.js +2 -0
- package/lib/commonjs/types/index.d.js.map +1 -0
- package/lib/commonjs/types/svg.d.js +2 -0
- package/lib/commonjs/types/svg.d.js.map +1 -0
- package/lib/module/auth/api/authentication.js +11 -0
- package/lib/module/auth/api/authentication.js.map +1 -0
- package/lib/module/auth/appLogo.svg +9 -0
- package/lib/module/auth/hooks/useAuthenticateRequests.js +44 -0
- package/lib/module/auth/hooks/useAuthenticateRequests.js.map +1 -0
- package/lib/module/auth/hooks/useAuthentication.js +81 -0
- package/lib/module/auth/hooks/useAuthentication.js.map +1 -0
- package/lib/module/auth/index.js +5 -0
- package/lib/module/auth/index.js.map +1 -0
- package/lib/module/auth/providers/authentication/AuthenticationProvider.js +45 -0
- package/lib/module/auth/providers/authentication/AuthenticationProvider.js.map +1 -0
- package/lib/module/auth/providers/authentication/actions/authentication.actions.js +6 -0
- package/lib/module/auth/providers/authentication/actions/authentication.actions.js.map +1 -0
- package/lib/module/auth/providers/authentication/index.js +5 -0
- package/lib/module/auth/providers/authentication/index.js.map +1 -0
- package/lib/module/auth/providers/authentication/reducer/authentication.reducer.js +14 -0
- package/lib/module/auth/providers/authentication/reducer/authentication.reducer.js.map +1 -0
- package/lib/module/auth/providers/authentication/types/authentication.types.js +5 -0
- package/lib/module/auth/providers/authentication/types/authentication.types.js.map +1 -0
- package/lib/module/auth/screens/LoginScreen.js +121 -0
- package/lib/module/auth/screens/LoginScreen.js.map +1 -0
- package/lib/module/auth/screens/ResetPassword.js +82 -0
- package/lib/module/auth/screens/ResetPassword.js.map +1 -0
- package/lib/module/auth/screens/ResetPasswordInstructionsSent.js +26 -0
- package/lib/module/auth/screens/ResetPasswordInstructionsSent.js.map +1 -0
- package/lib/module/auth/screens/SignUp.js +168 -0
- package/lib/module/auth/screens/SignUp.js.map +1 -0
- package/lib/module/auth/screens/SignUpPassword.js +95 -0
- package/lib/module/auth/screens/SignUpPassword.js.map +1 -0
- package/lib/module/auth/screens/VerifyPhoneNumber.js +87 -0
- package/lib/module/auth/screens/VerifyPhoneNumber.js.map +1 -0
- package/lib/module/auth/screens/index.js +29 -0
- package/lib/module/auth/screens/index.js.map +1 -0
- package/lib/module/auth/screens/validators.js +31 -0
- package/lib/module/auth/screens/validators.js.map +1 -0
- package/lib/module/components/Alert.js +100 -0
- package/lib/module/components/Alert.js.map +1 -0
- package/lib/module/components/Badge.js +12 -0
- package/lib/module/components/Badge.js.map +1 -0
- package/lib/module/components/BottomSheet.js +52 -0
- package/lib/module/components/BottomSheet.js.map +1 -0
- package/lib/module/components/Button.js +12 -0
- package/lib/module/components/Button.js.map +1 -0
- package/lib/module/components/Card.js +11 -0
- package/lib/module/components/Card.js.map +1 -0
- package/lib/module/components/Divider.js +11 -0
- package/lib/module/components/Divider.js.map +1 -0
- package/lib/module/components/FAB.js +11 -0
- package/lib/module/components/FAB.js.map +1 -0
- package/lib/module/components/Header.js +66 -0
- package/lib/module/components/Header.js.map +1 -0
- package/lib/module/components/IconButton.js +11 -0
- package/lib/module/components/IconButton.js.map +1 -0
- package/lib/module/components/Image.js +35 -0
- package/lib/module/components/Image.js.map +1 -0
- package/lib/module/components/KeyboardAvoidingView.js +15 -0
- package/lib/module/components/KeyboardAvoidingView.js.map +1 -0
- package/lib/module/components/LineLoader.js +52 -0
- package/lib/module/components/LineLoader.js.map +1 -0
- package/lib/module/components/LinkButton.js +24 -0
- package/lib/module/components/LinkButton.js.map +1 -0
- package/lib/module/components/OtpInputs.js +87 -0
- package/lib/module/components/OtpInputs.js.map +1 -0
- package/lib/module/components/ParentView.js +72 -0
- package/lib/module/components/ParentView.js.map +1 -0
- package/lib/module/components/Searchbar.js +14 -0
- package/lib/module/components/Searchbar.js.map +1 -0
- package/lib/module/components/SelectionDialog.js +121 -0
- package/lib/module/components/SelectionDialog.js.map +1 -0
- package/lib/module/components/Snackbar.js +60 -0
- package/lib/module/components/Snackbar.js.map +1 -0
- package/lib/module/components/Surface.js +11 -0
- package/lib/module/components/Surface.js.map +1 -0
- package/lib/module/components/Text.js +12 -0
- package/lib/module/components/Text.js.map +1 -0
- package/lib/module/components/TextInput.js +56 -0
- package/lib/module/components/TextInput.js.map +1 -0
- package/lib/module/components/ToggleButton.js +11 -0
- package/lib/module/components/ToggleButton.js.map +1 -0
- package/lib/module/components/Video.js +32 -0
- package/lib/module/components/Video.js.map +1 -0
- package/lib/module/components/View.js +12 -0
- package/lib/module/components/View.js.map +1 -0
- package/lib/module/components/index.js +25 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/index.js +6 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/theme/index.js +36 -0
- package/lib/module/theme/index.js.map +1 -0
- package/lib/module/theme/theme.js +119 -0
- package/lib/module/theme/theme.js.map +1 -0
- package/lib/module/theme/tokens.js +198 -0
- package/lib/module/theme/tokens.js.map +1 -0
- package/lib/module/types/index.d.js +2 -0
- package/lib/module/types/index.d.js.map +1 -0
- package/lib/module/types/svg.d.js +2 -0
- package/lib/module/types/svg.d.js.map +1 -0
- package/lib/typescript/src/auth/api/authentication.d.ts +4 -0
- package/lib/typescript/src/auth/api/authentication.d.ts.map +1 -0
- package/lib/typescript/src/auth/hooks/useAuthenticateRequests.d.ts +2 -0
- package/lib/typescript/src/auth/hooks/useAuthenticateRequests.d.ts.map +1 -0
- package/lib/typescript/src/auth/hooks/useAuthentication.d.ts +19 -0
- package/lib/typescript/src/auth/hooks/useAuthentication.d.ts.map +1 -0
- package/lib/typescript/src/auth/index.d.ts +5 -0
- package/lib/typescript/src/auth/index.d.ts.map +1 -0
- package/lib/typescript/src/auth/providers/authentication/AuthenticationProvider.d.ts +8 -0
- package/lib/typescript/src/auth/providers/authentication/AuthenticationProvider.d.ts.map +1 -0
- package/lib/typescript/src/auth/providers/authentication/actions/authentication.actions.d.ts +3 -0
- package/lib/typescript/src/auth/providers/authentication/actions/authentication.actions.d.ts.map +1 -0
- package/lib/typescript/src/auth/providers/authentication/index.d.ts +5 -0
- package/lib/typescript/src/auth/providers/authentication/index.d.ts.map +1 -0
- package/lib/typescript/src/auth/providers/authentication/reducer/authentication.reducer.d.ts +3 -0
- package/lib/typescript/src/auth/providers/authentication/reducer/authentication.reducer.d.ts.map +1 -0
- package/lib/typescript/src/auth/providers/authentication/types/authentication.types.d.ts +15 -0
- package/lib/typescript/src/auth/providers/authentication/types/authentication.types.d.ts.map +1 -0
- package/lib/typescript/src/auth/screens/LoginScreen.d.ts +3 -0
- package/lib/typescript/src/auth/screens/LoginScreen.d.ts.map +1 -0
- package/lib/typescript/src/auth/screens/ResetPassword.d.ts +3 -0
- package/lib/typescript/src/auth/screens/ResetPassword.d.ts.map +1 -0
- package/lib/typescript/src/auth/screens/ResetPasswordInstructionsSent.d.ts +8 -0
- package/lib/typescript/src/auth/screens/ResetPasswordInstructionsSent.d.ts.map +1 -0
- package/lib/typescript/src/auth/screens/SignUp.d.ts +9 -0
- package/lib/typescript/src/auth/screens/SignUp.d.ts.map +1 -0
- package/lib/typescript/src/auth/screens/SignUpPassword.d.ts +8 -0
- package/lib/typescript/src/auth/screens/SignUpPassword.d.ts.map +1 -0
- package/lib/typescript/src/auth/screens/VerifyPhoneNumber.d.ts +8 -0
- package/lib/typescript/src/auth/screens/VerifyPhoneNumber.d.ts.map +1 -0
- package/lib/typescript/src/auth/screens/index.d.ts +3 -0
- package/lib/typescript/src/auth/screens/index.d.ts.map +1 -0
- package/lib/typescript/src/auth/screens/validators.d.ts +36 -0
- package/lib/typescript/src/auth/screens/validators.d.ts.map +1 -0
- package/lib/typescript/src/components/Alert.d.ts +19 -0
- package/lib/typescript/src/components/Alert.d.ts.map +1 -0
- package/lib/typescript/src/components/Badge.d.ts +9 -0
- package/lib/typescript/src/components/Badge.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet.d.ts +7 -0
- package/lib/typescript/src/components/BottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/Button.d.ts +9 -0
- package/lib/typescript/src/components/Button.d.ts.map +1 -0
- package/lib/typescript/src/components/Card.d.ts +9 -0
- package/lib/typescript/src/components/Card.d.ts.map +1 -0
- package/lib/typescript/src/components/Divider.d.ts +9 -0
- package/lib/typescript/src/components/Divider.d.ts.map +1 -0
- package/lib/typescript/src/components/FAB.d.ts +9 -0
- package/lib/typescript/src/components/FAB.d.ts.map +1 -0
- package/lib/typescript/src/components/Header.d.ts +18 -0
- package/lib/typescript/src/components/Header.d.ts.map +1 -0
- package/lib/typescript/src/components/IconButton.d.ts +9 -0
- package/lib/typescript/src/components/IconButton.d.ts.map +1 -0
- package/lib/typescript/src/components/Image.d.ts +9 -0
- package/lib/typescript/src/components/Image.d.ts.map +1 -0
- package/lib/typescript/src/components/KeyboardAvoidingView.d.ts +9 -0
- package/lib/typescript/src/components/KeyboardAvoidingView.d.ts.map +1 -0
- package/lib/typescript/src/components/LineLoader.d.ts +10 -0
- package/lib/typescript/src/components/LineLoader.d.ts.map +1 -0
- package/lib/typescript/src/components/LinkButton.d.ts +9 -0
- package/lib/typescript/src/components/LinkButton.d.ts.map +1 -0
- package/lib/typescript/src/components/OtpInputs.d.ts +18 -0
- package/lib/typescript/src/components/OtpInputs.d.ts.map +1 -0
- package/lib/typescript/src/components/ParentView.d.ts +19 -0
- package/lib/typescript/src/components/ParentView.d.ts.map +1 -0
- package/lib/typescript/src/components/Searchbar.d.ts +9 -0
- package/lib/typescript/src/components/Searchbar.d.ts.map +1 -0
- package/lib/typescript/src/components/SelectionDialog.d.ts +20 -0
- package/lib/typescript/src/components/SelectionDialog.d.ts.map +1 -0
- package/lib/typescript/src/components/Snackbar.d.ts +15 -0
- package/lib/typescript/src/components/Snackbar.d.ts.map +1 -0
- package/lib/typescript/src/components/Surface.d.ts +9 -0
- package/lib/typescript/src/components/Surface.d.ts.map +1 -0
- package/lib/typescript/src/components/Text.d.ts +13 -0
- package/lib/typescript/src/components/Text.d.ts.map +1 -0
- package/lib/typescript/src/components/TextInput.d.ts +12 -0
- package/lib/typescript/src/components/TextInput.d.ts.map +1 -0
- package/lib/typescript/src/components/ToggleButton.d.ts +9 -0
- package/lib/typescript/src/components/ToggleButton.d.ts.map +1 -0
- package/lib/typescript/src/components/Video.d.ts +4 -0
- package/lib/typescript/src/components/Video.d.ts.map +1 -0
- package/lib/typescript/src/components/View.d.ts +9 -0
- package/lib/typescript/src/components/View.d.ts.map +1 -0
- package/lib/typescript/src/components/index.d.ts +25 -0
- package/lib/typescript/src/components/index.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +4 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/theme/index.d.ts +284 -0
- package/lib/typescript/src/theme/index.d.ts.map +1 -0
- package/lib/typescript/src/theme/theme.d.ts +4 -0
- package/lib/typescript/src/theme/theme.d.ts.map +1 -0
- package/lib/typescript/src/theme/tokens.d.ts +371 -0
- package/lib/typescript/src/theme/tokens.d.ts.map +1 -0
- package/package.json +191 -0
- package/src/auth/api/authentication.ts +13 -0
- package/src/auth/appLogo.svg +9 -0
- package/src/auth/hooks/useAuthenticateRequests.ts +56 -0
- package/src/auth/hooks/useAuthentication.ts +106 -0
- package/src/auth/index.ts +4 -0
- package/src/auth/providers/authentication/AuthenticationProvider.tsx +68 -0
- package/src/auth/providers/authentication/actions/authentication.actions.ts +10 -0
- package/src/auth/providers/authentication/index.ts +4 -0
- package/src/auth/providers/authentication/reducer/authentication.reducer.ts +21 -0
- package/src/auth/providers/authentication/types/authentication.types.ts +17 -0
- package/src/auth/screens/LoginScreen.tsx +140 -0
- package/src/auth/screens/ResetPassword.tsx +85 -0
- package/src/auth/screens/ResetPasswordInstructionsSent.tsx +32 -0
- package/src/auth/screens/SignUp.tsx +176 -0
- package/src/auth/screens/SignUpPassword.tsx +124 -0
- package/src/auth/screens/VerifyPhoneNumber.tsx +100 -0
- package/src/auth/screens/index.tsx +26 -0
- package/src/auth/screens/validators.ts +73 -0
- package/src/components/Alert.tsx +157 -0
- package/src/components/Badge.tsx +50 -0
- package/src/components/BottomSheet.tsx +72 -0
- package/src/components/Button.tsx +47 -0
- package/src/components/Card.tsx +47 -0
- package/src/components/Divider.tsx +47 -0
- package/src/components/FAB.tsx +47 -0
- package/src/components/Header.tsx +123 -0
- package/src/components/IconButton.tsx +47 -0
- package/src/components/Image.tsx +78 -0
- package/src/components/KeyboardAvoidingView.tsx +55 -0
- package/src/components/LineLoader.tsx +70 -0
- package/src/components/LinkButton.tsx +64 -0
- package/src/components/OtpInputs.tsx +149 -0
- package/src/components/ParentView.tsx +164 -0
- package/src/components/Searchbar.tsx +47 -0
- package/src/components/SelectionDialog.tsx +191 -0
- package/src/components/Snackbar.tsx +83 -0
- package/src/components/Surface.tsx +47 -0
- package/src/components/Text.tsx +70 -0
- package/src/components/TextInput.tsx +116 -0
- package/src/components/ToggleButton.tsx +47 -0
- package/src/components/Video.tsx +37 -0
- package/src/components/View.tsx +55 -0
- package/src/components/index.ts +24 -0
- package/src/index.tsx +5 -0
- package/src/theme/index.ts +37 -0
- package/src/theme/theme.ts +125 -0
- package/src/theme/tokens.ts +209 -0
- package/src/types/index.d.ts +1 -0
- package/src/types/svg.d.ts +4 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["View","React","useState","ActivityIndicator","IconButton","VideoOriginal","Video","rest","status","setStatus","createElement","flex","_extends","onLoad","onError","top","bottom","right","left","position","alignItems","justifyContent","icon"],"sourceRoot":"../../../src","sources":["components/Video.tsx"],"mappings":";AAAA,SAASA,IAAI,QAAQ,QAAQ;AAC7B,OAAOC,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,iBAAiB,QAAQ,oBAAoB;AACtD,SAASC,UAAU,QAAQ,cAAc;AAEzC,OAAOC,aAAa,MAAgC,oBAAoB;AAExE,OAAO,MAAMC,KAAK,GAAGA,CAAC;EAAE,GAAGC;AAAsB,CAAC,KAAK;EACrD,MAAM,CAACC,MAAM,EAAEC,SAAS,CAAC,GAAGP,QAAQ,CAClC,SACF,CAAC;EACD,oBACED,KAAA,CAAAS,aAAA,CAACV,IAAI;IAACW,IAAI,EAAE;EAAE,gBACZV,KAAA,CAAAS,aAAA,CAACL,aAAa,EAAAO,QAAA,KACRL,IAAI;IACRM,MAAM,EAAEA,CAAA,KAAM;MACZJ,SAAS,CAAC,SAAS,CAAC;IACtB,CAAE;IACFK,OAAO,EAAEA,CAAA,KAAM;MACbL,SAAS,CAAC,QAAQ,CAAC;IACrB;EAAE,EACH,CAAC,eACFR,KAAA,CAAAS,aAAA,CAACV,IAAI;IACHe,GAAG,EAAE,CAAE;IACPC,MAAM,EAAE,CAAE;IACVC,KAAK,EAAE,CAAE;IACTC,IAAI,EAAE,CAAE;IACRC,QAAQ,EAAC,UAAU;IACnBC,UAAU,EAAC,QAAQ;IACnBC,cAAc,EAAC;EAAQ,GAEtBb,MAAM,KAAK,SAAS,iBAAIP,KAAA,CAAAS,aAAA,CAACP,iBAAiB,MAAE,CAAC,EAC7CK,MAAM,KAAK,QAAQ,iBAAIP,KAAA,CAAAS,aAAA,CAACN,UAAU;IAACkB,IAAI,EAAC;EAAsB,CAAE,CAC7D,CACF,CAAC;AAEX,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { View as V } from 'react-native';
|
|
3
|
+
import { useRestyle, spacing, border, backgroundColor, backgroundColorShorthand, composeRestyleFunctions, spacingShorthand, layout, position, shadow, opacity } from '@shopify/restyle';
|
|
4
|
+
const restyleFunctions = composeRestyleFunctions([spacing, spacingShorthand, layout, position, shadow, opacity, border, backgroundColor, backgroundColorShorthand]);
|
|
5
|
+
export const View = ({
|
|
6
|
+
children,
|
|
7
|
+
...rest
|
|
8
|
+
}) => {
|
|
9
|
+
const props = useRestyle(restyleFunctions, rest);
|
|
10
|
+
return /*#__PURE__*/React.createElement(V, props, children);
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=View.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","V","useRestyle","spacing","border","backgroundColor","backgroundColorShorthand","composeRestyleFunctions","spacingShorthand","layout","position","shadow","opacity","restyleFunctions","children","rest","props","createElement"],"sourceRoot":"../../../src","sources":["components/View.tsx"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,IAAIC,CAAC,QAAwB,cAAc;AACxD,SACEC,UAAU,EACVC,OAAO,EACPC,MAAM,EACNC,eAAe,EACfC,wBAAwB,EAIxBC,uBAAuB,EAIvBC,gBAAgB,EAChBC,MAAM,EACNC,QAAQ,EAGRC,MAAM,EACNC,OAAO,QAEF,kBAAkB;AAazB,MAAMC,gBAAgB,GAAGN,uBAAuB,CAA0B,CACxEJ,OAAO,EACPK,gBAAgB,EAChBC,MAAM,EACNC,QAAQ,EACRC,MAAM,EACNC,OAAO,EACPR,MAAM,EACNC,eAAe,EACfC,wBAAwB,CACzB,CAAC;AAIF,OAAO,MAAMN,IAAI,GAAGA,CAAC;EAAEc,QAAQ;EAAE,GAAGC;AAAY,CAAC,KAAK;EACpD,MAAMC,KAAK,GAAGd,UAAU,CAACW,gBAAgB,EAAEE,IAAI,CAAC;EAEhD,oBAAOhB,KAAA,CAAAkB,aAAA,CAAChB,CAAC,EAAKe,KAAK,EAAGF,QAAY,CAAC;AACrC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export { Alert } from './Alert';
|
|
2
|
+
export { Badge } from './Badge';
|
|
3
|
+
export { BottomSheet } from './BottomSheet';
|
|
4
|
+
export { Button } from './Button';
|
|
5
|
+
export { Card } from './Card';
|
|
6
|
+
export { Divider } from './Divider';
|
|
7
|
+
export { FAB } from './FAB';
|
|
8
|
+
export { Header } from './Header';
|
|
9
|
+
export { IconButton } from './IconButton';
|
|
10
|
+
export { Image } from './Image';
|
|
11
|
+
export { KeyboardAvoidingView } from './KeyboardAvoidingView';
|
|
12
|
+
export { LineLoader } from './LineLoader';
|
|
13
|
+
export { LinkButton } from './LinkButton';
|
|
14
|
+
export { OtpInputs } from './OtpInputs';
|
|
15
|
+
export { ParentView } from './ParentView';
|
|
16
|
+
export { Searchbar } from './Searchbar';
|
|
17
|
+
export { SelectionDialog } from './SelectionDialog';
|
|
18
|
+
export { Snackbar } from './Snackbar';
|
|
19
|
+
export { Surface } from './Surface';
|
|
20
|
+
export { Text } from './Text';
|
|
21
|
+
export { TextInput } from './TextInput';
|
|
22
|
+
export { ToggleButton } from './ToggleButton';
|
|
23
|
+
export { Video } from './Video';
|
|
24
|
+
export { View } from './View';
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Alert","Badge","BottomSheet","Button","Card","Divider","FAB","Header","IconButton","Image","KeyboardAvoidingView","LineLoader","LinkButton","OtpInputs","ParentView","Searchbar","SelectionDialog","Snackbar","Surface","Text","TextInput","ToggleButton","Video","View"],"sourceRoot":"../../../src","sources":["components/index.ts"],"mappings":"AAAA,SAASA,KAAK,QAAQ,SAAS;AAC/B,SAASC,KAAK,QAAQ,SAAS;AAC/B,SAASC,WAAW,QAAQ,eAAe;AAC3C,SAASC,MAAM,QAAQ,UAAU;AACjC,SAASC,IAAI,QAAQ,QAAQ;AAC7B,SAASC,OAAO,QAAQ,WAAW;AACnC,SAASC,GAAG,QAAQ,OAAO;AAC3B,SAASC,MAAM,QAAQ,UAAU;AACjC,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,KAAK,QAAQ,SAAS;AAC/B,SAASC,oBAAoB,QAAQ,wBAAwB;AAC7D,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,SAAS,QAAQ,aAAa;AACvC,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,SAAS,QAAQ,aAAa;AACvC,SAASC,eAAe,QAAQ,mBAAmB;AACnD,SAASC,QAAQ,QAAQ,YAAY;AACrC,SAASC,OAAO,QAAQ,WAAW;AACnC,SAASC,IAAI,QAAQ,QAAQ;AAC7B,SAASC,SAAS,QAAQ,aAAa;AACvC,SAASC,YAAY,QAAQ,gBAAgB;AAC7C,SAASC,KAAK,QAAQ,SAAS;AAC/B,SAASC,IAAI,QAAQ,QAAQ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["multiply","a","b","Promise","resolve"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":"AAAA,OAAO,SAASA,QAAQA,CAACC,CAAS,EAAEC,CAAS,EAAmB;EAC9D,OAAOC,OAAO,CAACC,OAAO,CAACH,CAAC,GAAGC,CAAC,CAAC;AAC/B;AACA,cAAc,cAAc;AAC5B,cAAc,QAAQ"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { createTheme } from '@shopify/restyle';
|
|
2
|
+
import { CustomLightTheme } from './theme';
|
|
3
|
+
import { typescale } from './tokens';
|
|
4
|
+
const units = {};
|
|
5
|
+
new Array(1000).fill(0).forEach((_, index) => {
|
|
6
|
+
units[index + ''] = index;
|
|
7
|
+
});
|
|
8
|
+
export const generateRestyleComponentsTheme = ({
|
|
9
|
+
theme
|
|
10
|
+
}) => {
|
|
11
|
+
// Restyle does not support elevation color as object
|
|
12
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
13
|
+
let {
|
|
14
|
+
elevation,
|
|
15
|
+
...colors
|
|
16
|
+
} = {
|
|
17
|
+
...theme.colors
|
|
18
|
+
};
|
|
19
|
+
return createTheme({
|
|
20
|
+
colors: {
|
|
21
|
+
transparent: 'transparent',
|
|
22
|
+
...colors
|
|
23
|
+
},
|
|
24
|
+
textVariants: typescale,
|
|
25
|
+
spacing: units,
|
|
26
|
+
breakpoints: {
|
|
27
|
+
phone: 0
|
|
28
|
+
},
|
|
29
|
+
zIndices: units,
|
|
30
|
+
borderRadii: units
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
const dummyTheme = generateRestyleComponentsTheme({
|
|
34
|
+
theme: CustomLightTheme
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["createTheme","CustomLightTheme","typescale","units","Array","fill","forEach","_","index","generateRestyleComponentsTheme","theme","elevation","colors","transparent","textVariants","spacing","breakpoints","phone","zIndices","borderRadii","dummyTheme"],"sourceRoot":"../../../src","sources":["theme/index.ts"],"mappings":"AAAA,SAASA,WAAW,QAAQ,kBAAkB;AAC9C,SAASC,gBAAgB,QAAQ,SAAS;AAC1C,SAASC,SAAS,QAAQ,UAAU;AAGpC,MAAMC,KAA6B,GAAG,CAAC,CAAC;AAExC,IAAIC,KAAK,CAAC,IAAI,CAAC,CAACC,IAAI,CAAC,CAAC,CAAC,CAACC,OAAO,CAAC,CAACC,CAAC,EAAEC,KAAK,KAAK;EAC5CL,KAAK,CAACK,KAAK,GAAG,EAAE,CAAC,GAAGA,KAAK;AAC3B,CAAC,CAAC;AAEF,OAAO,MAAMC,8BAA8B,GAAGA,CAAC;EAC7CC;AAGF,CAAC,KAAK;EACJ;EACA;EACA,IAAI;IAAEC,SAAS;IAAE,GAAGC;EAAO,CAAC,GAAG;IAAE,GAAGF,KAAK,CAACE;EAAO,CAAC;EAClD,OAAOZ,WAAW,CAAC;IACjBY,MAAM,EAAE;MACNC,WAAW,EAAE,aAAa;MAC1B,GAAGD;IACL,CAAC;IACDE,YAAY,EAAEZ,SAAS;IACvBa,OAAO,EAAEZ,KAAK;IACda,WAAW,EAAE;MACXC,KAAK,EAAE;IACT,CAAC;IACDC,QAAQ,EAAEf,KAAK;IACfgB,WAAW,EAAEhB;EACf,CAAC,CAAC;AACJ,CAAC;AACD,MAAMiB,UAAU,GAAGX,8BAA8B,CAAC;EAChDC,KAAK,EAAET;AACT,CAAC,CAAC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import color from 'color';
|
|
2
|
+
import { MD3Colors, tokens, typescale } from './tokens';
|
|
3
|
+
const {
|
|
4
|
+
palette,
|
|
5
|
+
opacity
|
|
6
|
+
} = tokens.md.ref;
|
|
7
|
+
export const CustomLightTheme = {
|
|
8
|
+
dark: false,
|
|
9
|
+
roundness: 4,
|
|
10
|
+
version: 3,
|
|
11
|
+
isV3: true,
|
|
12
|
+
colors: {
|
|
13
|
+
primary: palette.primary40,
|
|
14
|
+
primaryContainer: palette.primary90,
|
|
15
|
+
secondary: palette.secondary40,
|
|
16
|
+
secondaryContainer: palette.secondary90,
|
|
17
|
+
tertiary: palette.tertiary40,
|
|
18
|
+
tertiaryContainer: palette.tertiary90,
|
|
19
|
+
surface: palette.neutral99,
|
|
20
|
+
surfaceVariant: palette.neutralVariant90,
|
|
21
|
+
surfaceDisabled: color(palette.neutral10).alpha(opacity.level2).rgb().string(),
|
|
22
|
+
background: palette.neutral99,
|
|
23
|
+
error: palette.error40,
|
|
24
|
+
errorContainer: palette.error90,
|
|
25
|
+
onPrimary: palette.primary100,
|
|
26
|
+
onPrimaryContainer: palette.primary10,
|
|
27
|
+
onSecondary: palette.secondary100,
|
|
28
|
+
onSecondaryContainer: palette.secondary10,
|
|
29
|
+
onTertiary: palette.tertiary100,
|
|
30
|
+
onTertiaryContainer: palette.tertiary10,
|
|
31
|
+
onSurface: palette.neutral10,
|
|
32
|
+
onSurfaceVariant: palette.neutralVariant30,
|
|
33
|
+
onSurfaceDisabled: color(palette.neutral10).alpha(opacity.level4).rgb().string(),
|
|
34
|
+
onError: palette.error100,
|
|
35
|
+
onErrorContainer: palette.error10,
|
|
36
|
+
onBackground: palette.neutral10,
|
|
37
|
+
outline: palette.neutralVariant50,
|
|
38
|
+
outlineVariant: palette.neutralVariant80,
|
|
39
|
+
inverseSurface: palette.neutral20,
|
|
40
|
+
inverseOnSurface: palette.neutral95,
|
|
41
|
+
inversePrimary: palette.primary80,
|
|
42
|
+
shadow: palette.neutral0,
|
|
43
|
+
scrim: palette.neutral0,
|
|
44
|
+
backdrop: color(MD3Colors.neutralVariant20).alpha(0.4).rgb().string(),
|
|
45
|
+
elevation: {
|
|
46
|
+
level0: '#F9FAF5',
|
|
47
|
+
// Note: Color values with transparency cause RN to transfer shadows to children nodes
|
|
48
|
+
// instead of View component in Surface. Providing solid background fixes the issue.
|
|
49
|
+
// Opaque color values generated with `palette.primary99` used as background
|
|
50
|
+
level1: '#F9FAF5',
|
|
51
|
+
// palette.primary40, alpha 0.05
|
|
52
|
+
level2: '#F9FAF5',
|
|
53
|
+
// palette.primary40, alpha 0.08
|
|
54
|
+
level3: '#F9FAF5',
|
|
55
|
+
// palette.primary40, alpha 0.11
|
|
56
|
+
level4: '#F9FAF5',
|
|
57
|
+
// palette.primary40, alpha 0.12
|
|
58
|
+
level5: '#F9FAF5' // palette.primary40, alpha 0.14
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
|
|
62
|
+
fonts: typescale,
|
|
63
|
+
animation: {
|
|
64
|
+
scale: 1.0
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
export const CustomDarkTheme = {
|
|
68
|
+
...CustomLightTheme,
|
|
69
|
+
dark: true,
|
|
70
|
+
mode: 'adaptive',
|
|
71
|
+
version: 3,
|
|
72
|
+
isV3: true,
|
|
73
|
+
colors: {
|
|
74
|
+
primary: palette.primary80,
|
|
75
|
+
primaryContainer: palette.primary30,
|
|
76
|
+
secondary: palette.secondary80,
|
|
77
|
+
secondaryContainer: palette.secondary30,
|
|
78
|
+
tertiary: palette.tertiary80,
|
|
79
|
+
tertiaryContainer: palette.tertiary30,
|
|
80
|
+
surface: palette.neutral10,
|
|
81
|
+
surfaceVariant: palette.neutralVariant30,
|
|
82
|
+
surfaceDisabled: color(palette.neutral90).alpha(opacity.level2).rgb().string(),
|
|
83
|
+
background: palette.neutral10,
|
|
84
|
+
error: palette.error80,
|
|
85
|
+
errorContainer: palette.error30,
|
|
86
|
+
onPrimary: palette.primary20,
|
|
87
|
+
onPrimaryContainer: palette.primary90,
|
|
88
|
+
onSecondary: palette.secondary20,
|
|
89
|
+
onSecondaryContainer: palette.secondary90,
|
|
90
|
+
onTertiary: palette.tertiary20,
|
|
91
|
+
onTertiaryContainer: palette.tertiary90,
|
|
92
|
+
onSurface: palette.neutral90,
|
|
93
|
+
onSurfaceVariant: palette.neutralVariant80,
|
|
94
|
+
onSurfaceDisabled: color(palette.neutral90).alpha(opacity.level4).rgb().string(),
|
|
95
|
+
onError: palette.error20,
|
|
96
|
+
onErrorContainer: palette.error80,
|
|
97
|
+
onBackground: palette.neutral90,
|
|
98
|
+
outline: palette.neutralVariant60,
|
|
99
|
+
outlineVariant: palette.neutralVariant30,
|
|
100
|
+
inverseSurface: palette.neutral90,
|
|
101
|
+
inverseOnSurface: palette.neutral20,
|
|
102
|
+
inversePrimary: palette.primary40,
|
|
103
|
+
shadow: palette.neutral0,
|
|
104
|
+
scrim: palette.neutral0,
|
|
105
|
+
backdrop: color(MD3Colors.neutralVariant80).alpha(0.4).rgb().string(),
|
|
106
|
+
elevation: {
|
|
107
|
+
level0: 'transparent',
|
|
108
|
+
// Note: Color values with transparency cause RN to transfer shadows to children nodes
|
|
109
|
+
// instead of View component in Surface. Providing solid background fixes the issue.
|
|
110
|
+
// Opaque color values generated with `palette.primary80` used as background
|
|
111
|
+
level1: 'rgb(25, 28, 26)',
|
|
112
|
+
level2: 'rgb(25, 28, 26)',
|
|
113
|
+
level3: 'rgb(25, 28, 26)',
|
|
114
|
+
level4: 'rgb(25, 28, 26)',
|
|
115
|
+
level5: 'rgb(25, 28, 26)'
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
//# sourceMappingURL=theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["color","MD3Colors","tokens","typescale","palette","opacity","md","ref","CustomLightTheme","dark","roundness","version","isV3","colors","primary","primary40","primaryContainer","primary90","secondary","secondary40","secondaryContainer","secondary90","tertiary","tertiary40","tertiaryContainer","tertiary90","surface","neutral99","surfaceVariant","neutralVariant90","surfaceDisabled","neutral10","alpha","level2","rgb","string","background","error","error40","errorContainer","error90","onPrimary","primary100","onPrimaryContainer","primary10","onSecondary","secondary100","onSecondaryContainer","secondary10","onTertiary","tertiary100","onTertiaryContainer","tertiary10","onSurface","onSurfaceVariant","neutralVariant30","onSurfaceDisabled","level4","onError","error100","onErrorContainer","error10","onBackground","outline","neutralVariant50","outlineVariant","neutralVariant80","inverseSurface","neutral20","inverseOnSurface","neutral95","inversePrimary","primary80","shadow","neutral0","scrim","backdrop","neutralVariant20","elevation","level0","level1","level3","level5","fonts","animation","scale","CustomDarkTheme","mode","primary30","secondary80","secondary30","tertiary80","tertiary30","neutral90","error80","error30","primary20","secondary20","tertiary20","error20","neutralVariant60"],"sourceRoot":"../../../src","sources":["the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O,CAAC+F,OAAO;IACxBvC,gBAAgB,EAAExD,OAAO,CAAC0F,OAAO;IACjChC,YAAY,EAAE1D,OAAO,CAACyF,SAAS;IAC/B9B,OAAO,EAAE3D,OAAO,CAACgG,gBAAgB;IACjCnC,cAAc,EAAE7D,OAAO,CAACmD,gBAAgB;IACxCY,cAAc,EAAE/D,OAAO,CAACyF,SAAS;IACjCxB,gBAAgB,EAAEjE,OAAO,CAACgE,SAAS;IACnCG,cAAc,EAAEnE,OAAO,CAACW,SAAS;IACjC0D,MAAM,EAAErE,OAAO,CAACsE,QAAQ;IACxBC,KAAK,EAAEvE,OAAO,CAACsE,QAAQ;IACvBE,QAAQ,EAAE5E,KAAK,CAACC,SAAS,CAACiE,gBAAgB,CAAC,CAAClC,KAAK,CAAC,GAAG,CAAC,CAACE,GAAG,CAAC,CAAC,CAACC,MAAM,CAAC,CAAC;IACrE2C,SAAS,EAAE;MACTC,MAAM,EAAE,aAAa;MACrB;MACA;MACA;MACAC,MAAM,EAAE,iBAAiB;MACzB/C,MAAM,EAAE,iBAAiB;MACzBgD,MAAM,EAAE,iBAAiB;MACzBxB,MAAM,EAAE,iBAAiB;MACzByB,MAAM,EAAE;IACV;EACF;AACF,CAAa"}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
const ref = {
|
|
2
|
+
palette: {
|
|
3
|
+
primary100: 'white',
|
|
4
|
+
primary99: '#F5FFF4',
|
|
5
|
+
primary95: '#C1FFD4',
|
|
6
|
+
primary90: '#80FAB2',
|
|
7
|
+
primary80: '#63DD98',
|
|
8
|
+
primary70: '#43C17E',
|
|
9
|
+
primary60: '#1CA566',
|
|
10
|
+
primary50: '#008951',
|
|
11
|
+
primary40: '#006D40',
|
|
12
|
+
primary30: '#00522F',
|
|
13
|
+
primary20: '#00391F',
|
|
14
|
+
primary10: '#002110',
|
|
15
|
+
primary0: 'black',
|
|
16
|
+
secondary100: 'white',
|
|
17
|
+
secondary99: '#F5FFF4',
|
|
18
|
+
secondary95: '#DFF7E3',
|
|
19
|
+
secondary90: '#D1E8D5',
|
|
20
|
+
secondary80: '#B5CCBA',
|
|
21
|
+
secondary70: '#9AB19F',
|
|
22
|
+
secondary60: '#809685',
|
|
23
|
+
secondary50: '#677C6C',
|
|
24
|
+
secondary40: '#4F6354',
|
|
25
|
+
secondary30: '#374B3D',
|
|
26
|
+
secondary20: '#213528',
|
|
27
|
+
secondary10: '#0C1F14',
|
|
28
|
+
secondary0: 'black',
|
|
29
|
+
tertiary100: 'white',
|
|
30
|
+
tertiary99: '#F8FDFF',
|
|
31
|
+
tertiary95: '#DAF5FF',
|
|
32
|
+
tertiary90: '#BEE9F8',
|
|
33
|
+
tertiary80: '#A3CDDB',
|
|
34
|
+
tertiary70: '#88B2BF',
|
|
35
|
+
tertiary60: '#6E97A4',
|
|
36
|
+
tertiary50: '#547D8A',
|
|
37
|
+
tertiary40: '#3B6470',
|
|
38
|
+
tertiary30: '#214C58',
|
|
39
|
+
tertiary20: '#033641',
|
|
40
|
+
tertiary10: '#001F27',
|
|
41
|
+
tertiary0: 'black',
|
|
42
|
+
neutral100: 'white',
|
|
43
|
+
neutral99: '#FBFDF8',
|
|
44
|
+
neutral95: '#F0F1EC',
|
|
45
|
+
neutral90: '#E1E3DE',
|
|
46
|
+
neutral80: '#C5C7C3',
|
|
47
|
+
neutral70: '#AAACA8',
|
|
48
|
+
neutral60: '#8F918D',
|
|
49
|
+
neutral50: '#757874',
|
|
50
|
+
neutral40: '#5C5F5C',
|
|
51
|
+
neutral30: '#454744',
|
|
52
|
+
neutral20: '#454744',
|
|
53
|
+
neutral10: '#191C1A',
|
|
54
|
+
neutral0: 'black',
|
|
55
|
+
neutralVariant100: 'white',
|
|
56
|
+
neutralVariant99: '#F6FFF5',
|
|
57
|
+
neutralVariant95: '#EBF3E9',
|
|
58
|
+
neutralVariant90: '#DCE5DB',
|
|
59
|
+
neutralVariant80: '#C0C9C0',
|
|
60
|
+
neutralVariant70: '#A5ADA5',
|
|
61
|
+
neutralVariant60: '#8A938B',
|
|
62
|
+
neutralVariant50: '#717971',
|
|
63
|
+
neutralVariant40: '#586059',
|
|
64
|
+
neutralVariant30: '#414942',
|
|
65
|
+
neutralVariant20: '#2A322C',
|
|
66
|
+
neutralVariant10: '#161D18',
|
|
67
|
+
neutralVariant0: 'black',
|
|
68
|
+
error100: 'white',
|
|
69
|
+
error99: '#FFFBFF',
|
|
70
|
+
error95: '#FFEDEA',
|
|
71
|
+
error90: '#FFDAD6',
|
|
72
|
+
error80: '#FFB4AB',
|
|
73
|
+
error70: '#FF897D',
|
|
74
|
+
error60: '#FF5449',
|
|
75
|
+
error50: '#DE3730',
|
|
76
|
+
error40: '#BA1A1A',
|
|
77
|
+
error30: '#93000A',
|
|
78
|
+
error20: '#690005',
|
|
79
|
+
error10: '#410002',
|
|
80
|
+
error0: 'black'
|
|
81
|
+
},
|
|
82
|
+
typeface: {
|
|
83
|
+
brandRegular: 'Avenir-Regular',
|
|
84
|
+
plainMedium: 'Avenir-Medium'
|
|
85
|
+
},
|
|
86
|
+
opacity: {
|
|
87
|
+
level1: 0.08,
|
|
88
|
+
level2: 0.12,
|
|
89
|
+
level3: 0.16,
|
|
90
|
+
level4: 0.38
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
const regularType = {
|
|
94
|
+
fontFamily: ref.typeface.brandRegular,
|
|
95
|
+
letterSpacing: 0
|
|
96
|
+
};
|
|
97
|
+
const mediumType = {
|
|
98
|
+
fontFamily: ref.typeface.plainMedium,
|
|
99
|
+
letterSpacing: 0.15
|
|
100
|
+
};
|
|
101
|
+
export const typescale = {
|
|
102
|
+
displayLarge: {
|
|
103
|
+
...regularType,
|
|
104
|
+
lineHeight: 64,
|
|
105
|
+
fontSize: 57
|
|
106
|
+
},
|
|
107
|
+
displayMedium: {
|
|
108
|
+
...regularType,
|
|
109
|
+
lineHeight: 52,
|
|
110
|
+
fontSize: 45
|
|
111
|
+
},
|
|
112
|
+
displaySmall: {
|
|
113
|
+
...regularType,
|
|
114
|
+
lineHeight: 44,
|
|
115
|
+
fontSize: 36
|
|
116
|
+
},
|
|
117
|
+
headlineLarge: {
|
|
118
|
+
...regularType,
|
|
119
|
+
lineHeight: 40,
|
|
120
|
+
fontSize: 32
|
|
121
|
+
},
|
|
122
|
+
headlineMedium: {
|
|
123
|
+
...regularType,
|
|
124
|
+
lineHeight: 36,
|
|
125
|
+
fontSize: 28
|
|
126
|
+
},
|
|
127
|
+
headlineSmall: {
|
|
128
|
+
...regularType,
|
|
129
|
+
lineHeight: 32,
|
|
130
|
+
fontSize: 24
|
|
131
|
+
},
|
|
132
|
+
titleLarge: {
|
|
133
|
+
...regularType,
|
|
134
|
+
lineHeight: 28,
|
|
135
|
+
fontSize: 22
|
|
136
|
+
},
|
|
137
|
+
titleMedium: {
|
|
138
|
+
...mediumType,
|
|
139
|
+
letterSpacing: 0.15,
|
|
140
|
+
lineHeight: 24,
|
|
141
|
+
fontSize: 16
|
|
142
|
+
},
|
|
143
|
+
titleSmall: {
|
|
144
|
+
...mediumType,
|
|
145
|
+
letterSpacing: 0.1,
|
|
146
|
+
lineHeight: 20,
|
|
147
|
+
fontSize: 14
|
|
148
|
+
},
|
|
149
|
+
labelLarge: {
|
|
150
|
+
...mediumType,
|
|
151
|
+
letterSpacing: 0.1,
|
|
152
|
+
lineHeight: 20,
|
|
153
|
+
fontSize: 14
|
|
154
|
+
},
|
|
155
|
+
labelMedium: {
|
|
156
|
+
...mediumType,
|
|
157
|
+
letterSpacing: 0.5,
|
|
158
|
+
lineHeight: 16,
|
|
159
|
+
fontSize: 12
|
|
160
|
+
},
|
|
161
|
+
labelSmall: {
|
|
162
|
+
...mediumType,
|
|
163
|
+
letterSpacing: 0.5,
|
|
164
|
+
lineHeight: 16,
|
|
165
|
+
fontSize: 11
|
|
166
|
+
},
|
|
167
|
+
bodyLarge: {
|
|
168
|
+
...regularType,
|
|
169
|
+
letterSpacing: 0.5,
|
|
170
|
+
lineHeight: 24,
|
|
171
|
+
fontSize: 16
|
|
172
|
+
},
|
|
173
|
+
bodyMedium: {
|
|
174
|
+
...regularType,
|
|
175
|
+
letterSpacing: 0.25,
|
|
176
|
+
lineHeight: 20,
|
|
177
|
+
fontSize: 14
|
|
178
|
+
},
|
|
179
|
+
bodySmall: {
|
|
180
|
+
...regularType,
|
|
181
|
+
letterSpacing: 0.4,
|
|
182
|
+
lineHeight: 16,
|
|
183
|
+
fontSize: 12
|
|
184
|
+
},
|
|
185
|
+
default: {
|
|
186
|
+
...regularType
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
export const tokens = {
|
|
190
|
+
md: {
|
|
191
|
+
ref,
|
|
192
|
+
sys: {
|
|
193
|
+
typescale
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
};
|
|
197
|
+
export const MD3Colors = ref.palette;
|
|
198
|
+
//# sourceMappingURL=tokens.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ref","palette","primary100","primary99","primary95","primary90","primary80","primary70","primary60","primary50","primary40","primary30","primary20","primary10","primary0","secondary100","secondary99","secondary95","secondary90","secondary80","secondary70","secondary60","secondary50","secondary40","secondary30","secondary20","secondary10","secondary0","tertiary100","tertiary99","tertiary95","tertiary90","tertiary80","tertiary70","tertiary60","tertiary50","tertiary40","tertiary30","tertiary20","tertiary10","tertiary0","neutral100","neutral99","neutral95","neutral90","neutral80","neutral70","neutral60","neutral50","neutral40","neutral30","neutral20","neutral10","neutral0","neutralVariant100","neutralVariant99","neutralVariant95","neutralVariant90","neutralVariant80","neutralVariant70","neutralVariant60","neutralVariant50","neutralVariant40","neutralVariant30","neutralVariant20","neutralVariant10","neutralVariant0","error100","error99","error95","error90","error80","error70","error60","error50","error40","error30","error20","error10","error0","typeface","brandRegular","plainMedium","opacity","level1","level2","level3","level4","regularType","fontFamily","letterSpacing","mediumType","typescale","displayLarge","lineHeight","fontSize","displayMedium","displaySmall","headlineLarge","headlineMedium","headlineSmall","titleLarge","titleMedium","titleSmall","labelLarge","labelMedium","labelSmall","bodyLarge","bodyMedium","bodySmall","default","tokens","md","sys","MD3Colors"],"sourceRoot":"../../../src","sources":["theme/tokens.ts"],"mappings":"AAAA,MAAMA,GAAG,GAAG;EACVC,OAAO,EAAE;IACPC,UAAU,EAAE,OAAO;IACnBC,SAAS,EAAE,SAAS;IACpBC,SAAS,EAAE,SAAS;IACpBC,SAAS,EAAE,SAAS;IACpBC,SAAS,EAAE,SAAS;IACpBC,SAAS,EAAE,SAAS;IACpBC,SAAS,EAAE,SAAS;IACpBC,SAAS,EAAE,SAAS;IACpBC,SAAS,EAAE,SAAS;IACpBC,SAAS,EAAE,SAAS;IACpBC,SAAS,EAAE,SAAS;IACpBC,SAAS,EAAE,SAAS;IACpBC,QAAQ,EAAE,OAAO;IACjBC,YAAY,EAAE,OAAO;IACrBC,WAAW,EAAE,SAAS;IACtBC,WAAW,EAAE,SAAS;IACtBC,WAAW,EAAE,SAAS;IACtBC,WAAW,EAAE,SAAS;IACtBC,WAAW,EAAE,SAAS;IACtBC,WAAW,EAAE,SAAS;IACtBC,WAAW,EAAE,SAAS;IACtBC,WAAW,EAAE,SAAS;IACtBC,WAAW,EAAE,SAAS;IACtBC,WAAW,EAAE,SAAS;IACtBC,WAAW,EAAE,SAAS;IACtBC,UAAU,EAAE,OAAO;IACnBC,WAAW,EAAE,OAAO;IACpBC,UAAU,EAAE,SAAS;IACrBC,UAAU,EAAE,SAAS;IACrBC,UAAU,EAAE,SAAS;IACrBC,UAAU,EAAE,SAAS;IACrBC,UAAU,EAAE,SAAS;IACrBC,UAAU,EAAE,SAAS;IACrBC,UAAU,EAAE,SAAS;IACrBC,UAAU,EAAE,SAAS;IACrBC,UAAU,EAAE,SAAS;IACrBC,UAAU,EAAE,SAAS;IACrBC,UAAU,EAAE,SAAS;IACrBC,SAAS,EAAE,OAAO;IAClBC,UAAU,EAAE,OAAO;IACnBC,SAAS,EAAE,SAAS;IACpBC,SAAS,EAAE,SAAS;IACpBC,SAAS,EAAE,SA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,EAAE,EAAE;IACdC,QAAQ,EAAE;EACZ,CAAC;EACDW,UAAU,EAAE;IACV,GAAGf,UAAU;IACbD,aAAa,EAAE,GAAG;IAClBI,UAAU,EAAE,EAAE;IACdC,QAAQ,EAAE;EACZ,CAAC;EAEDY,SAAS,EAAE;IACT,GAAGnB,WAAW;IACdE,aAAa,EAAE,GAAG;IAClBI,UAAU,EAAE,EAAE;IACdC,QAAQ,EAAE;EACZ,CAAC;EACDa,UAAU,EAAE;IACV,GAAGpB,WAAW;IACdE,aAAa,EAAE,IAAI;IACnBI,UAAU,EAAE,EAAE;IACdC,QAAQ,EAAE;EACZ,CAAC;EACDc,SAAS,EAAE;IACT,GAAGrB,WAAW;IACdE,aAAa,EAAE,GAAG;IAClBI,UAAU,EAAE,EAAE;IACdC,QAAQ,EAAE;EACZ,CAAC;EAEDe,OAAO,EAAE;IACP,GAAGtB;EACL;AACF,CAAC;AAED,OAAO,MAAMuB,MAAM,GAAG;EACpBC,EAAE,EAAE;IACFhH,GAAG;IACHiH,GAAG,EAAE;MACHrB;IACF;EACF;AACF,CAAC;AAED,OAAO,MAAMsB,SAAS,GAAGlH,GAAG,CAACC,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/index.d.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["types/svg.d.ts"],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { TUserForm } from '../screens/SignUp';
|
|
2
|
+
export declare const signUpAPI: (payload: TUserForm) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
3
|
+
export declare const checkIsRegisteredAPI: (payload: TUserForm) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
4
|
+
//# sourceMappingURL=authentication.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authentication.d.ts","sourceRoot":"","sources":["../../../../../src/auth/api/authentication.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAEnD,eAAO,MAAM,SAAS,YAAa,SAAS,qDAE3C,CAAC;AAEF,eAAO,MAAM,oBAAoB,YAAa,SAAS,qDAKtD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAuthenticateRequests.d.ts","sourceRoot":"","sources":["../../../../../src/auth/hooks/useAuthenticateRequests.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,uBAAuB,aACxB,MAAM,QAAQ,MAAM,GAAG,IAAI,CAAC,SAgDvC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type TUserData = {
|
|
2
|
+
displayName: string;
|
|
3
|
+
email: string;
|
|
4
|
+
phoneNumber: string;
|
|
5
|
+
name: string;
|
|
6
|
+
password: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const useAuthentication: () => {
|
|
9
|
+
useSignUp: () => import("@tanstack/react-query").UseMutationResult<void, unknown, {
|
|
10
|
+
params: TUserData;
|
|
11
|
+
code: string;
|
|
12
|
+
}, unknown>;
|
|
13
|
+
useIsCheckRegistered: () => import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<any, any>, unknown, import("../screens/SignUp").TUserForm, unknown>;
|
|
14
|
+
useVerifyPhoneNumber: () => import("@tanstack/react-query").UseMutationResult<any, unknown, TUserData, unknown>;
|
|
15
|
+
useResetPassword: () => import("@tanstack/react-query").UseMutationResult<any, unknown, {
|
|
16
|
+
email: string;
|
|
17
|
+
}, unknown>;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=useAuthentication.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAuthentication.d.ts","sourceRoot":"","sources":["../../../../../src/auth/hooks/useAuthentication.ts"],"names":[],"mappings":"AAkBA,MAAM,MAAM,SAAS,GAAG;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;gBAQa,SAAS;cAAQ,MAAM;;;;;eAwDrB,MAAM;;CAelD,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { signUpAPI } from './api/authentication';
|
|
2
|
+
export { renderAuthNavigator } from './screens';
|
|
3
|
+
export { useAuthentication } from './providers/authentication';
|
|
4
|
+
export { AuthenticationProvider } from './providers/authentication';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/auth/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React, { type FC } from 'react';
|
|
2
|
+
import { type AuthenticationAction, type AuthenticationState } from './types/authentication.types';
|
|
3
|
+
export declare const useAuthentication: () => AuthenticationState;
|
|
4
|
+
export declare const useAuthenticationDispatch: () => React.Dispatch<AuthenticationAction>;
|
|
5
|
+
export declare const AuthenticationProvider: FC<{
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
}>;
|
|
8
|
+
//# sourceMappingURL=AuthenticationProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthenticationProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/providers/authentication/AuthenticationProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAGZ,KAAK,EAAE,EAKR,MAAM,OAAO,CAAC;AAGf,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACzB,MAAM,8BAA8B,CAAC;AAQtC,eAAO,MAAM,iBAAiB,2BAC4B,CAAC;AAC3D,eAAO,MAAM,yBAAyB,4CACuC,CAAC;AAE9E,eAAO,MAAM,sBAAsB,EAAE,EAAE,CAAC;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,CAwCpE,CAAC"}
|
package/lib/typescript/src/auth/providers/authentication/actions/authentication.actions.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authentication.actions.d.ts","sourceRoot":"","sources":["../../../../../../../src/auth/providers/authentication/actions/authentication.actions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,oBAAoB,EAEzB,KAAK,IAAI,EACV,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,UAAU,SAAU,IAAI,GAAG,IAAI,KAAG,oBAG7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/auth/providers/authentication/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type AuthenticationAction, type AuthenticationState } from '../types/authentication.types';
|
|
2
|
+
export declare const authenticationReducer: (state: AuthenticationState, action: AuthenticationAction) => AuthenticationState;
|
|
3
|
+
//# sourceMappingURL=authentication.reducer.d.ts.map
|
package/lib/typescript/src/auth/providers/authentication/reducer/authentication.reducer.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authentication.reducer.d.ts","sourceRoot":"","sources":["../../../../../../../src/auth/providers/authentication/reducer/authentication.reducer.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,oBAAoB,EAEzB,KAAK,mBAAmB,EACzB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,qBAAqB,UACzB,mBAAmB,UAClB,oBAAoB,KAC3B,mBAWF,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FirebaseAuthTypes } from '@react-native-firebase/auth';
|
|
2
|
+
export type ConfirmationResult = FirebaseAuthTypes.ConfirmationResult;
|
|
3
|
+
export type User = FirebaseAuthTypes.User;
|
|
4
|
+
export declare enum AuthenticationActionType {
|
|
5
|
+
ChangeUser = "ChangeUser"
|
|
6
|
+
}
|
|
7
|
+
export type AuthenticationAction = {
|
|
8
|
+
type: AuthenticationActionType.ChangeUser;
|
|
9
|
+
user: User | null;
|
|
10
|
+
};
|
|
11
|
+
export interface AuthenticationState {
|
|
12
|
+
user: User | null;
|
|
13
|
+
initializing: boolean;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=authentication.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"authentication.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/auth/providers/authentication/types/authentication.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,CAAC,kBAAkB,CAAC;AACtE,MAAM,MAAM,IAAI,GAAG,iBAAiB,CAAC,IAAI,CAAC;AAE1C,oBAAY,wBAAwB;IAClC,UAAU,eAAe;CAC1B;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,wBAAwB,CAAC,UAAU,CAAC;IAC1C,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;CACnB,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoginScreen.d.ts","sourceRoot":"","sources":["../../../../../src/auth/screens/LoginScreen.tsx"],"names":[],"mappings":";AAwBA,eAAO,MAAM,WAAW,mBAmHvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResetPassword.d.ts","sourceRoot":"","sources":["../../../../../src/auth/screens/ResetPassword.tsx"],"names":[],"mappings":";AAoBA,eAAO,MAAM,mBAAmB,mBAgE/B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type RouteProp } from '@react-navigation/native';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
type ResetPasswordInstructionSentProps = {
|
|
4
|
+
route: RouteProp<RootStackType, 'ResetPasswordInstructionSent'>;
|
|
5
|
+
};
|
|
6
|
+
export declare const ResetPasswordInstructionSent: React.FC<ResetPasswordInstructionSentProps>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=ResetPasswordInstructionsSent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResetPasswordInstructionsSent.d.ts","sourceRoot":"","sources":["../../../../../src/auth/screens/ResetPasswordInstructionsSent.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,SAAS,EAEf,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,KAAK,iCAAiC,GAAG;IACvC,KAAK,EAAE,SAAS,CAAC,aAAa,EAAE,8BAA8B,CAAC,CAAC;CACjE,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,KAAK,CAAC,EAAE,CACjD,iCAAiC,CAiBlC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignUp.d.ts","sourceRoot":"","sources":["../../../../../src/auth/screens/SignUp.tsx"],"names":[],"mappings":";AAiBA,MAAM,MAAM,SAAS,GAAG;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,YAAY,mBA2IxB,CAAC"}
|