ikualo-ui-kit-mobile 0.0.2
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/.expo/devices.json +3 -0
- package/.github/workflows/deploy_dev.yaml +45 -0
- package/.prettierrc.json +12 -0
- package/App.tsx +23 -0
- package/app.json +63 -0
- package/assets/fonts/MontserratBold.ttf +0 -0
- package/assets/fonts/MontserratExtraBold.ttf +0 -0
- package/assets/fonts/MontserratLight.ttf +0 -0
- package/assets/fonts/MontserratRegular.ttf +0 -0
- package/assets/fonts/MontserratSemiBold.ttf +0 -0
- package/assets/icons/_icons.ts +59 -0
- package/assets/icons/addCard.png +0 -0
- package/assets/icons/arroba.png +0 -0
- package/assets/icons/arrowBack.png +0 -0
- package/assets/icons/arrowDown.png +0 -0
- package/assets/icons/arrowDropdown.png +0 -0
- package/assets/icons/arrowRight.png +0 -0
- package/assets/icons/arrowRightBlack.png +0 -0
- package/assets/icons/avatarActiveProfile.png +0 -0
- package/assets/icons/avatarProfile.png +0 -0
- package/assets/icons/blur.png +0 -0
- package/assets/icons/call.png +0 -0
- package/assets/icons/cardReplace.png +0 -0
- package/assets/icons/cardReplaceActive.png +0 -0
- package/assets/icons/check.png +0 -0
- package/assets/icons/checkShield.png +0 -0
- package/assets/icons/checkbox.png +0 -0
- package/assets/icons/checkboxOutline.png +0 -0
- package/assets/icons/circle.png +0 -0
- package/assets/icons/detailsCardButton.png +0 -0
- package/assets/icons/dialpad.png +0 -0
- package/assets/icons/dialpadActive.png +0 -0
- package/assets/icons/dni.png +0 -0
- package/assets/icons/documentIcon.png +0 -0
- package/assets/icons/download.png +0 -0
- package/assets/icons/email.png +0 -0
- package/assets/icons/error.png +0 -0
- package/assets/icons/faceID.png +0 -0
- package/assets/icons/fingerprint.png +0 -0
- package/assets/icons/freezeCardButton.png +0 -0
- package/assets/icons/help.png +0 -0
- package/assets/icons/iconDetails.png +0 -0
- package/assets/icons/ikualoActiveLogo.png +0 -0
- package/assets/icons/ikualoLogo.png +0 -0
- package/assets/icons/info.png +0 -0
- package/assets/icons/infoBlack.png +0 -0
- package/assets/icons/infoWhite.png +0 -0
- package/assets/icons/lang.png +0 -0
- package/assets/icons/listButton.png +0 -0
- package/assets/icons/location.png +0 -0
- package/assets/icons/multipleActiveCards.png +0 -0
- package/assets/icons/multipleCards.png +0 -0
- package/assets/icons/openNewWindow.png +0 -0
- package/assets/icons/phoneSend.png +0 -0
- package/assets/icons/purpleCheckCircle.png +0 -0
- package/assets/icons/replay.png +0 -0
- package/assets/icons/signal.png +0 -0
- package/assets/icons/smartPhone.png +0 -0
- package/assets/icons/success.png +0 -0
- package/assets/icons/transfer.png +0 -0
- package/assets/icons/upload.png +0 -0
- package/assets/icons/visaCard.png +0 -0
- package/assets/icons/visibilityOff.png +0 -0
- package/assets/icons/visibilityOffWhite.png +0 -0
- package/assets/icons/visibilityOn.png +0 -0
- package/assets/icons/visibilityOnWhite.png +0 -0
- package/assets/icons/warning.png +0 -0
- package/assets/icons/whatsapp.png +0 -0
- package/assets/images/_images.ts +48 -0
- package/assets/images/biometric.png +0 -0
- package/assets/images/black.png +0 -0
- package/assets/images/blue.png +0 -0
- package/assets/images/cardBlack.png +0 -0
- package/assets/images/cardBlue.png +0 -0
- package/assets/images/cardDefault.png +0 -0
- package/assets/images/cardFuchsia.png +0 -0
- package/assets/images/cardGray.png +0 -0
- package/assets/images/cardGreen.png +0 -0
- package/assets/images/cardOrange.png +0 -0
- package/assets/images/cardPink.png +0 -0
- package/assets/images/debitCardDisabled.png +0 -0
- package/assets/images/default.png +0 -0
- package/assets/images/digitalCash.png +0 -0
- package/assets/images/favicon.png +0 -0
- package/assets/images/fiveCards.png +0 -0
- package/assets/images/fuchsia.png +0 -0
- package/assets/images/gray.png +0 -0
- package/assets/images/green.png +0 -0
- package/assets/images/identityValidation.png +0 -0
- package/assets/images/logo.png +0 -0
- package/assets/images/logoSmallBlack.png +0 -0
- package/assets/images/logoSmallWhite.png +0 -0
- package/assets/images/orange.png +0 -0
- package/assets/images/ornateCard.png +0 -0
- package/assets/images/pink.png +0 -0
- package/assets/images/splash.png +0 -0
- package/assets/images/validateIdentity.png +0 -0
- package/assets/images/validationFailed.png +0 -0
- package/assets/images/world.png +0 -0
- package/assets/styles/elements/alert.ts +38 -0
- package/assets/styles/elements/buttons.ts +190 -0
- package/assets/styles/elements/cards.ts +105 -0
- package/assets/styles/elements/checkbox.ts +16 -0
- package/assets/styles/elements/dialog.ts +78 -0
- package/assets/styles/elements/dropdown.ts +32 -0
- package/assets/styles/elements/header.ts +27 -0
- package/assets/styles/elements/inputs.ts +190 -0
- package/assets/styles/elements/pages.ts +13 -0
- package/assets/styles/elements/progressBar.ts +20 -0
- package/assets/styles/elements/select.ts +35 -0
- package/assets/styles/elements/tab.ts +31 -0
- package/assets/styles/modules/cards.ts +310 -0
- package/assets/styles/modules/home.ts +289 -0
- package/assets/styles/modules/identityValidation.ts +88 -0
- package/assets/styles/modules/legalInfo.ts +23 -0
- package/assets/styles/modules/listGroup.ts +57 -0
- package/assets/styles/modules/login.ts +159 -0
- package/assets/styles/modules/newDevice.ts +22 -0
- package/assets/styles/modules/otp.ts +114 -0
- package/assets/styles/modules/recoveryPassword.ts +114 -0
- package/assets/styles/modules/register.ts +99 -0
- package/package.json +58 -0
- package/react-native.config.js +7 -0
- package/tsconfig.json +6 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
name: Deployment to Expo Dev
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- develop
|
|
7
|
+
|
|
8
|
+
env:
|
|
9
|
+
APP_ENV: dev
|
|
10
|
+
APP_NAME: app-mobile
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
deployment:
|
|
14
|
+
name: Build App && Push to Expo
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
environment: dev
|
|
17
|
+
steps:
|
|
18
|
+
- name: 🏗 Checkout code
|
|
19
|
+
uses: actions/checkout@v3
|
|
20
|
+
|
|
21
|
+
- name: 🏗 Make envfile
|
|
22
|
+
uses: SpicyPizza/create-envfile@v2.0
|
|
23
|
+
with:
|
|
24
|
+
envkey_PORT: 3000
|
|
25
|
+
#envkey_TEST: ${{ secrets.TEST }}
|
|
26
|
+
file_name: .env
|
|
27
|
+
fail_on_empty: true
|
|
28
|
+
|
|
29
|
+
- name: 🏗 Setup Node
|
|
30
|
+
uses: actions/setup-node@v3
|
|
31
|
+
with:
|
|
32
|
+
node-version: 20.x
|
|
33
|
+
cache: yarn
|
|
34
|
+
|
|
35
|
+
- name: 🏗 Setup EAS
|
|
36
|
+
uses: expo/expo-github-action@v8
|
|
37
|
+
with:
|
|
38
|
+
eas-version: latest
|
|
39
|
+
token: ${{ secrets.EXPO_TOKEN }}
|
|
40
|
+
|
|
41
|
+
- name: 📦 Install dependencies
|
|
42
|
+
run: yarn install
|
|
43
|
+
|
|
44
|
+
- name: 🚀 Create update
|
|
45
|
+
run: eas update --auto --non-interactive
|
package/.prettierrc.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/prettierrc",
|
|
3
|
+
"arrowParens": "always",
|
|
4
|
+
"bracketSpacing": true,
|
|
5
|
+
"jsxBracketSameLine": false,
|
|
6
|
+
"printWidth": 110,
|
|
7
|
+
"semi": true,
|
|
8
|
+
"singleQuote": true,
|
|
9
|
+
"tabWidth": 2,
|
|
10
|
+
"trailingComma": "es5",
|
|
11
|
+
"useTabs": false
|
|
12
|
+
}
|
package/App.tsx
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PaperProvider, Text } from 'react-native-paper';
|
|
2
|
+
|
|
3
|
+
import { theme } from './src/config/paper.config';
|
|
4
|
+
import { useFonts } from 'expo-font';
|
|
5
|
+
|
|
6
|
+
export default function App() {
|
|
7
|
+
const [fontsLoaded] = useFonts({
|
|
8
|
+
MontserratLight: require('./assets/fonts/MontserratLight.ttf'), //300
|
|
9
|
+
MontserratRegular: require('./assets/fonts/MontserratRegular.ttf'), //400
|
|
10
|
+
MontserratSemiBold: require('./assets/fonts/MontserratSemiBold.ttf'), //600
|
|
11
|
+
MontserratBold: require('./assets/fonts/MontserratBold.ttf'), //700
|
|
12
|
+
MontserratExtraBold: require('./assets/fonts/MontserratExtraBold.ttf'), //900
|
|
13
|
+
});
|
|
14
|
+
return (
|
|
15
|
+
<>
|
|
16
|
+
{fontsLoaded && (
|
|
17
|
+
<PaperProvider theme={theme}>
|
|
18
|
+
<Text>App</Text>
|
|
19
|
+
</PaperProvider>
|
|
20
|
+
)}
|
|
21
|
+
</>
|
|
22
|
+
);
|
|
23
|
+
}
|
package/app.json
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"expo": {
|
|
3
|
+
"name": "ikualo-app-2.0",
|
|
4
|
+
"slug": "ikualo-app-20",
|
|
5
|
+
"owner": "ikualo",
|
|
6
|
+
"version": "1.0.0",
|
|
7
|
+
"orientation": "portrait",
|
|
8
|
+
"icon": "./assets/icon.png",
|
|
9
|
+
"userInterfaceStyle": "light",
|
|
10
|
+
"splash": {
|
|
11
|
+
"image": "./assets/splash.png",
|
|
12
|
+
"resizeMode": "contain",
|
|
13
|
+
"backgroundColor": "#ffffff"
|
|
14
|
+
},
|
|
15
|
+
"ios": {
|
|
16
|
+
"supportsTablet": true,
|
|
17
|
+
"infoPlist": {
|
|
18
|
+
"NSFaceIDUsageDescription": "This app uses Face ID for authentication purposes."
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"android": {
|
|
22
|
+
"adaptiveIcon": {
|
|
23
|
+
"foregroundImage": "./assets/adaptive-icon.png",
|
|
24
|
+
"backgroundColor": "#ffffff"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"web": {
|
|
28
|
+
"favicon": "./assets/favicon.png"
|
|
29
|
+
},
|
|
30
|
+
"extra": {
|
|
31
|
+
"eas": {
|
|
32
|
+
"projectId": "5c8b451c-3fd3-42d1-91fd-fc1190b6f425"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"runtimeVersion": {
|
|
36
|
+
"policy": "appVersion"
|
|
37
|
+
},
|
|
38
|
+
"updates": {
|
|
39
|
+
"url": "https://u.expo.dev/5c8b451c-3fd3-42d1-91fd-fc1190b6f425"
|
|
40
|
+
},
|
|
41
|
+
"plugins": [
|
|
42
|
+
"expo-localization",
|
|
43
|
+
[
|
|
44
|
+
"expo-local-authentication",
|
|
45
|
+
{
|
|
46
|
+
"faceIDPermission": "Allow Ikualo to use Face ID."
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
[
|
|
50
|
+
"expo-secure-store",
|
|
51
|
+
{
|
|
52
|
+
"faceIDPermission": "Allow Ikualo to access your Face ID biometric data."
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
[
|
|
56
|
+
"expo-location",
|
|
57
|
+
{
|
|
58
|
+
"locationAlwaysAndWhenInUsePermission": "Allow Ikualo to use your location."
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export const icons = {
|
|
2
|
+
arroba: require('./arroba.png'),
|
|
3
|
+
arrowBack: require('./arrowBack.png'),
|
|
4
|
+
arrowDown: require('./arrowDown.png'),
|
|
5
|
+
arrowRight: require('./arrowRight.png'),
|
|
6
|
+
call: require('./call.png'),
|
|
7
|
+
check: require('./check.png'),
|
|
8
|
+
checkShield: require('./checkShield.png'),
|
|
9
|
+
email: require('./email.png'),
|
|
10
|
+
error: require('./error.png'),
|
|
11
|
+
help: require('./help.png'),
|
|
12
|
+
info: require('./info.png'),
|
|
13
|
+
replay: require('./replay.png'),
|
|
14
|
+
success: require('./success.png'),
|
|
15
|
+
warning: require('./warning.png'),
|
|
16
|
+
whatsapp: require('./whatsapp.png'),
|
|
17
|
+
visibilityOn: require('./visibilityOn.png'),
|
|
18
|
+
visibilityOnWhite: require('./visibilityOnWhite.png'),
|
|
19
|
+
visibilityOff: require('./visibilityOff.png'),
|
|
20
|
+
visibilityOffWhite: require('./visibilityOffWhite.png'),
|
|
21
|
+
infoBlack: require('./infoBlack.png'),
|
|
22
|
+
infoWhite: require('./infoWhite.png'),
|
|
23
|
+
smartPhone: require('./smartPhone.png'),
|
|
24
|
+
signal: require('./signal.png'),
|
|
25
|
+
document: require('./documentIcon.png'),
|
|
26
|
+
dni: require('./dni.png'),
|
|
27
|
+
phoneSend: require('./phoneSend.png'),
|
|
28
|
+
visaCard: require('./visaCard.png'),
|
|
29
|
+
addCard: require('./addCard.png'),
|
|
30
|
+
upload: require('./upload.png'),
|
|
31
|
+
iconDetails: require('./iconDetails.png'),
|
|
32
|
+
download: require('./download.png'),
|
|
33
|
+
lang: require('./lang.png'),
|
|
34
|
+
arrowDropdown: require('./arrowDropdown.png'),
|
|
35
|
+
circle: require('./circle.png'),
|
|
36
|
+
checkbox: require('./checkbox.png'),
|
|
37
|
+
checkboxOutline: require('./checkboxOutline.png'),
|
|
38
|
+
fingerprint: require('./fingerprint.png'),
|
|
39
|
+
faceID: require('./faceID.png'),
|
|
40
|
+
blur: require('./blur.png'),
|
|
41
|
+
ikualoActiveLogo: require('./ikualoActiveLogo.png'),
|
|
42
|
+
multipleCards: require('./multipleCards.png'),
|
|
43
|
+
avatarProfile: require('./avatarProfile.png'),
|
|
44
|
+
purpleCheckCircle: require('./purpleCheckCircle.png'),
|
|
45
|
+
arrowRightBlack: require('./arrowRightBlack.png'),
|
|
46
|
+
ikualoLogo: require('./ikualoLogo.png'),
|
|
47
|
+
multipleActiveCards: require('./multipleActiveCards.png'),
|
|
48
|
+
avatarActiveProfile: require('./avatarActiveProfile.png'),
|
|
49
|
+
transfer: require('./transfer.png'),
|
|
50
|
+
location: require('./location.png'),
|
|
51
|
+
openNewWindow: require('./openNewWindow.png'),
|
|
52
|
+
freezeCardButton: require('./freezeCardButton.png'),
|
|
53
|
+
detailsCardButton: require('./detailsCardButton.png'),
|
|
54
|
+
listButton: require('./listButton.png'),
|
|
55
|
+
dialpad: require('./dialpad.png'),
|
|
56
|
+
cardReplace: require('./cardReplace.png'),
|
|
57
|
+
dialpadActive: require('./dialpadActive.png'),
|
|
58
|
+
cardReplaceActive: require('./cardReplaceActive.png'),
|
|
59
|
+
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export const images = {
|
|
2
|
+
logo: require('./logo.png'),
|
|
3
|
+
fiveCards: require('./fiveCards.png'),
|
|
4
|
+
world: require('./world.png'),
|
|
5
|
+
ornateCard: require('./ornateCard.png'),
|
|
6
|
+
logoSmallWhite: require('./logoSmallWhite.png'),
|
|
7
|
+
logoSmallBlack: require('./logoSmallBlack.png'),
|
|
8
|
+
biometric: require('./biometric.png'),
|
|
9
|
+
digitalCash: require('./digitalCash.png'),
|
|
10
|
+
identityValidation: require('./identityValidation.png'),
|
|
11
|
+
debitCardDisabled: require('./debitCardDisabled.png'),
|
|
12
|
+
cards: {
|
|
13
|
+
black: {
|
|
14
|
+
card: require('./cardBlack.png'),
|
|
15
|
+
color: require('./black.png'),
|
|
16
|
+
},
|
|
17
|
+
blue: {
|
|
18
|
+
card: require('./cardBlue.png'),
|
|
19
|
+
color: require('./blue.png'),
|
|
20
|
+
},
|
|
21
|
+
green: {
|
|
22
|
+
card: require('./cardGreen.png'),
|
|
23
|
+
color: require('./green.png'),
|
|
24
|
+
},
|
|
25
|
+
orange: {
|
|
26
|
+
card: require('./cardOrange.png'),
|
|
27
|
+
color: require('./orange.png'),
|
|
28
|
+
},
|
|
29
|
+
pink: {
|
|
30
|
+
card: require('./cardPink.png'),
|
|
31
|
+
color: require('./pink.png'),
|
|
32
|
+
},
|
|
33
|
+
fuchsia: {
|
|
34
|
+
card: require('./cardFuchsia.png'),
|
|
35
|
+
color: require('./fuchsia.png'),
|
|
36
|
+
},
|
|
37
|
+
gray: {
|
|
38
|
+
card: require('./cardGray.png'),
|
|
39
|
+
color: require('./gray.png'),
|
|
40
|
+
},
|
|
41
|
+
default: {
|
|
42
|
+
card: require('./cardDefault.png'),
|
|
43
|
+
color: require('./default.png'),
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
validateIdentity: require('./validateIdentity.png'),
|
|
47
|
+
validationFailed: require('./validationFailed.png'),
|
|
48
|
+
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import { theme } from '../../../src/config/paper.config';
|
|
3
|
+
|
|
4
|
+
const styleAlerts = StyleSheet.create({
|
|
5
|
+
alert: {
|
|
6
|
+
position: 'absolute',
|
|
7
|
+
top: 56,
|
|
8
|
+
left: 16,
|
|
9
|
+
right: 16,
|
|
10
|
+
zIndex: 1000000,
|
|
11
|
+
width: '92%',
|
|
12
|
+
borderRadius: 4,
|
|
13
|
+
borderLeftWidth: 8,
|
|
14
|
+
minHeight: 102,
|
|
15
|
+
padding: 16,
|
|
16
|
+
},
|
|
17
|
+
'alert--info': {
|
|
18
|
+
backgroundColor: theme.colors.lightInfo,
|
|
19
|
+
borderLeftColor: theme.colors.darkInfo,
|
|
20
|
+
},
|
|
21
|
+
'alert--warning': {
|
|
22
|
+
backgroundColor: theme.colors.lightWarning,
|
|
23
|
+
borderLeftColor: theme.colors.darkWarning,
|
|
24
|
+
},
|
|
25
|
+
'alert--success': {
|
|
26
|
+
backgroundColor: theme.colors.lightSuccess,
|
|
27
|
+
borderLeftColor: theme.colors.darkSuccess,
|
|
28
|
+
},
|
|
29
|
+
'alert--error': {
|
|
30
|
+
backgroundColor: theme.colors.lightRed,
|
|
31
|
+
borderLeftColor: theme.colors.darkRed,
|
|
32
|
+
},
|
|
33
|
+
'alert-container-text': { flexDirection: 'row', gap: 8 },
|
|
34
|
+
'alert-container-title': { fontSize: 14, fontFamily: 'MontserratBold', color: theme.colors.text },
|
|
35
|
+
'alert-body': { marginTop: 8 },
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
export { styleAlerts };
|