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,190 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import { theme } from '../../../src/config/paper.config';
|
|
3
|
+
|
|
4
|
+
const stylesButtonContained = StyleSheet.create({
|
|
5
|
+
'btn-contained': {
|
|
6
|
+
borderRadius: 8,
|
|
7
|
+
backgroundColor: 'transparent',
|
|
8
|
+
height: 56,
|
|
9
|
+
},
|
|
10
|
+
'btn-contained-text': {
|
|
11
|
+
fontFamily: 'MontserratBold',
|
|
12
|
+
textAlign: 'center',
|
|
13
|
+
fontSize: 16,
|
|
14
|
+
},
|
|
15
|
+
'btn-contained--primary': {
|
|
16
|
+
backgroundColor: theme.colors.primary,
|
|
17
|
+
color: theme.colors.white,
|
|
18
|
+
},
|
|
19
|
+
'btn-contained--lightPrimary': {
|
|
20
|
+
backgroundColor: theme.colors.lightPrimary,
|
|
21
|
+
color: theme.colors.boldBlack,
|
|
22
|
+
borderColor: theme.colors.primary,
|
|
23
|
+
},
|
|
24
|
+
|
|
25
|
+
'btn-contained--secondary': {
|
|
26
|
+
backgroundColor: theme.colors.secondary,
|
|
27
|
+
color: theme.colors.black,
|
|
28
|
+
},
|
|
29
|
+
'btn-contained--dark': {
|
|
30
|
+
backgroundColor: theme.colors.dark,
|
|
31
|
+
color: theme.colors.white,
|
|
32
|
+
},
|
|
33
|
+
'btn-contained--light': {
|
|
34
|
+
backgroundColor: theme.colors.light,
|
|
35
|
+
color: theme.colors.black,
|
|
36
|
+
},
|
|
37
|
+
'btn-contained--disabled': {
|
|
38
|
+
backgroundColor: theme.colors.disabled,
|
|
39
|
+
color: theme.colors.darkGray,
|
|
40
|
+
},
|
|
41
|
+
|
|
42
|
+
'btn-contained--sm': {
|
|
43
|
+
padding: 0,
|
|
44
|
+
width: 70,
|
|
45
|
+
},
|
|
46
|
+
'btn-contained--md': {
|
|
47
|
+
paddingVertical: 3,
|
|
48
|
+
paddingHorizontal: 32,
|
|
49
|
+
},
|
|
50
|
+
'btn-contained--xl': {
|
|
51
|
+
paddingVertical: 3,
|
|
52
|
+
width: '100%',
|
|
53
|
+
},
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
const stylesButtonOutlined = StyleSheet.create({
|
|
57
|
+
'btn-outlined-text': {
|
|
58
|
+
fontFamily: 'MontserratBold',
|
|
59
|
+
textAlign: 'center',
|
|
60
|
+
fontSize: 16,
|
|
61
|
+
},
|
|
62
|
+
'btn-outlined': {
|
|
63
|
+
borderRadius: 8,
|
|
64
|
+
backgroundColor: 'transparent',
|
|
65
|
+
borderWidth: 1.5,
|
|
66
|
+
height: 56,
|
|
67
|
+
},
|
|
68
|
+
'btn-outlined--primary': {
|
|
69
|
+
borderColor: theme.colors.primary,
|
|
70
|
+
color: theme.colors.primary,
|
|
71
|
+
},
|
|
72
|
+
'btn-outlined--secondary': {
|
|
73
|
+
borderColor: theme.colors.secondary,
|
|
74
|
+
color: theme.colors.secondary,
|
|
75
|
+
},
|
|
76
|
+
'btn-outlined--dark': {
|
|
77
|
+
borderColor: theme.colors.dark,
|
|
78
|
+
color: theme.colors.dark,
|
|
79
|
+
},
|
|
80
|
+
'btn-outlined--light': {
|
|
81
|
+
borderColor: theme.colors.light,
|
|
82
|
+
color: theme.colors.light,
|
|
83
|
+
},
|
|
84
|
+
'btn-outlined--disabled': {
|
|
85
|
+
borderColor: theme.colors.disabled,
|
|
86
|
+
color: theme.colors.disabled,
|
|
87
|
+
},
|
|
88
|
+
'btn-outlined--sm': {
|
|
89
|
+
paddingVertical: 3,
|
|
90
|
+
paddingHorizontal: 10,
|
|
91
|
+
},
|
|
92
|
+
'btn-outlined--md': {
|
|
93
|
+
paddingVertical: 3,
|
|
94
|
+
paddingHorizontal: 32,
|
|
95
|
+
},
|
|
96
|
+
'btn-outlined--xl': {
|
|
97
|
+
paddingVertical: 3,
|
|
98
|
+
width: '100%',
|
|
99
|
+
},
|
|
100
|
+
});
|
|
101
|
+
const stylesButtonText = StyleSheet.create({
|
|
102
|
+
'btn-text': {
|
|
103
|
+
borderRadius: 8,
|
|
104
|
+
fontFamily: 'MontserratSemiBold',
|
|
105
|
+
},
|
|
106
|
+
'btn-text--primary': {
|
|
107
|
+
color: theme.colors.primary,
|
|
108
|
+
fontFamily: 'MontserratSemiBold',
|
|
109
|
+
},
|
|
110
|
+
'btn-text--secondary': {
|
|
111
|
+
color: theme.colors.secondary,
|
|
112
|
+
fontFamily: 'MontserratSemiBold',
|
|
113
|
+
},
|
|
114
|
+
'btn-text--dark': {
|
|
115
|
+
color: theme.colors.dark,
|
|
116
|
+
fontFamily: 'MontserratSemiBold',
|
|
117
|
+
},
|
|
118
|
+
'btn-text--light': {
|
|
119
|
+
color: theme.colors.light,
|
|
120
|
+
fontFamily: 'MontserratSemiBold',
|
|
121
|
+
},
|
|
122
|
+
'btn-text--disabled': {
|
|
123
|
+
color: theme.colors.disabled,
|
|
124
|
+
fontFamily: 'MontserratSemiBold',
|
|
125
|
+
},
|
|
126
|
+
'btn-text--generic': {
|
|
127
|
+
color: theme.colors.text,
|
|
128
|
+
fontFamily: 'MontserratSemiBold',
|
|
129
|
+
},
|
|
130
|
+
'btn-text--sm': {
|
|
131
|
+
padding: 0,
|
|
132
|
+
fontSize: 12,
|
|
133
|
+
},
|
|
134
|
+
'btn-text--md': {
|
|
135
|
+
padding: 2,
|
|
136
|
+
fontSize: 14,
|
|
137
|
+
},
|
|
138
|
+
'btn-text--lg': {
|
|
139
|
+
padding: 4,
|
|
140
|
+
fontSize: 16,
|
|
141
|
+
},
|
|
142
|
+
'btn-text--xl': {
|
|
143
|
+
padding: 5,
|
|
144
|
+
fontSize: 16,
|
|
145
|
+
},
|
|
146
|
+
});
|
|
147
|
+
const stylesBtnLightSmall = StyleSheet.create({
|
|
148
|
+
'btn-light-small': {
|
|
149
|
+
backgroundColor: theme.colors.lightPurpleBorder,
|
|
150
|
+
borderColor: theme.colors.primary,
|
|
151
|
+
borderWidth: 1,
|
|
152
|
+
borderRadius: 8,
|
|
153
|
+
maxWidth: 48,
|
|
154
|
+
minWidth: 48,
|
|
155
|
+
maxHeight: 48,
|
|
156
|
+
minHeight: 48,
|
|
157
|
+
width: 48,
|
|
158
|
+
height: 48,
|
|
159
|
+
},
|
|
160
|
+
'btn-light-small-content': {
|
|
161
|
+
alignSelf: 'center',
|
|
162
|
+
alignItems: 'center',
|
|
163
|
+
maxWidth: 48,
|
|
164
|
+
minWidth: 48,
|
|
165
|
+
maxHeight: 48,
|
|
166
|
+
minHeight: 48,
|
|
167
|
+
width: 48,
|
|
168
|
+
height: 48,
|
|
169
|
+
marginLeft: 12,
|
|
170
|
+
},
|
|
171
|
+
'btn-light-small-label': {
|
|
172
|
+
fontSize: 24,
|
|
173
|
+
},
|
|
174
|
+
'btn-light-small--disabled': {
|
|
175
|
+
backgroundColor: theme.colors.disabledButtonBackground,
|
|
176
|
+
borderColor: theme.colors.disabledButtonBorder,
|
|
177
|
+
borderRadius: 8,
|
|
178
|
+
borderWidth: 1,
|
|
179
|
+
maxWidth: 48,
|
|
180
|
+
minWidth: 48,
|
|
181
|
+
maxHeight: 48,
|
|
182
|
+
minHeight: 48,
|
|
183
|
+
width: 48,
|
|
184
|
+
height: 48,
|
|
185
|
+
},
|
|
186
|
+
'btn-light-small-label--disabled': {
|
|
187
|
+
color: theme.colors.disabledButtonBorder,
|
|
188
|
+
},
|
|
189
|
+
});
|
|
190
|
+
export { stylesButtonContained, stylesButtonOutlined, stylesButtonText, stylesBtnLightSmall };
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import { theme } from '../../../src/config/paper.config';
|
|
3
|
+
|
|
4
|
+
export const stylesCards = StyleSheet.create({
|
|
5
|
+
card: {
|
|
6
|
+
borderRadius: 4,
|
|
7
|
+
backgroundColor: theme.colors.white,
|
|
8
|
+
padding: 16,
|
|
9
|
+
borderWidth: 0.5,
|
|
10
|
+
borderColor: theme.colors.lightPrimary,
|
|
11
|
+
shadowColor: theme.colors.transparent,
|
|
12
|
+
},
|
|
13
|
+
|
|
14
|
+
'card-title': {
|
|
15
|
+
fontFamily: 'MontserratSemiBold',
|
|
16
|
+
fontSize: 14,
|
|
17
|
+
lineHeight: 21,
|
|
18
|
+
color: theme.colors.blackText,
|
|
19
|
+
},
|
|
20
|
+
'card-text': {
|
|
21
|
+
fontFamily: 'MontserratRegular',
|
|
22
|
+
fontSize: 14,
|
|
23
|
+
lineHeight: 21,
|
|
24
|
+
color: theme.colors.lightBlack,
|
|
25
|
+
textAlign: 'justify',
|
|
26
|
+
},
|
|
27
|
+
'card-text--bold': {
|
|
28
|
+
fontFamily: 'MontserratSemiBold',
|
|
29
|
+
color: theme.colors.primary,
|
|
30
|
+
},
|
|
31
|
+
'card-interactive': {
|
|
32
|
+
flexDirection: 'row',
|
|
33
|
+
justifyContent: 'space-between',
|
|
34
|
+
backgroundColor: theme.colors.white,
|
|
35
|
+
padding: 16,
|
|
36
|
+
borderRadius: 4,
|
|
37
|
+
shadowColor: theme.colors.primary,
|
|
38
|
+
borderTopWidth: 1,
|
|
39
|
+
borderTopColor: theme.colors.lightGray,
|
|
40
|
+
marginVertical: 4,
|
|
41
|
+
},
|
|
42
|
+
'card-interactive-icon': {
|
|
43
|
+
width: 24,
|
|
44
|
+
marginRight: 8,
|
|
45
|
+
},
|
|
46
|
+
'card-interactive-info': {
|
|
47
|
+
flexDirection: 'row',
|
|
48
|
+
justifyContent: 'space-between',
|
|
49
|
+
width: '100%',
|
|
50
|
+
},
|
|
51
|
+
'card-interactive-text': {
|
|
52
|
+
color: theme.colors.text,
|
|
53
|
+
fontSize: 14,
|
|
54
|
+
fontFamily: 'MontserratSemiBold',
|
|
55
|
+
},
|
|
56
|
+
'card-interactive-description': {
|
|
57
|
+
flexDirection: 'row',
|
|
58
|
+
},
|
|
59
|
+
'card-interactive-subtext': {
|
|
60
|
+
color: theme.colors.text,
|
|
61
|
+
fontSize: 14,
|
|
62
|
+
fontFamily: 'MontserratRegular',
|
|
63
|
+
},
|
|
64
|
+
'card-interactive-highlighted': {
|
|
65
|
+
color: theme.colors.primary,
|
|
66
|
+
fontSize: 14,
|
|
67
|
+
fontFamily: 'MontserratSemiBold',
|
|
68
|
+
},
|
|
69
|
+
'card-interactive-arrow': {
|
|
70
|
+
width: 24,
|
|
71
|
+
textAlign: 'right',
|
|
72
|
+
},
|
|
73
|
+
'card-interactive-container': {
|
|
74
|
+
flexDirection: 'row',
|
|
75
|
+
alignItems: 'center',
|
|
76
|
+
},
|
|
77
|
+
|
|
78
|
+
'card-list': {
|
|
79
|
+
borderWidth: 0.5,
|
|
80
|
+
padding: 16,
|
|
81
|
+
backgroundColor: theme.colors.white,
|
|
82
|
+
borderRadius: 4,
|
|
83
|
+
borderColor: theme.colors.transparent,
|
|
84
|
+
shadowColor: theme.colors.transparent,
|
|
85
|
+
},
|
|
86
|
+
'card-list-selected': {
|
|
87
|
+
backgroundColor: theme.colors.lightPurpleBorder,
|
|
88
|
+
borderColor: theme.colors.purple,
|
|
89
|
+
shadowColor: theme.colors.lightPurpleShadow,
|
|
90
|
+
shadowOffset: { width: 0, height: -1 },
|
|
91
|
+
shadowOpacity: 0.7,
|
|
92
|
+
shadowRadius: 5.4,
|
|
93
|
+
borderWidth: 2,
|
|
94
|
+
},
|
|
95
|
+
'card-list-txt': {
|
|
96
|
+
color: theme.colors.blackText,
|
|
97
|
+
fontFamily: 'MontserratSemiBold',
|
|
98
|
+
fontSize: 16,
|
|
99
|
+
lineHeight: 24,
|
|
100
|
+
},
|
|
101
|
+
'card-list-item': {
|
|
102
|
+
marginBottom: 8,
|
|
103
|
+
borderRadius: 4,
|
|
104
|
+
},
|
|
105
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import { theme } from '../../../src/config/paper.config';
|
|
3
|
+
|
|
4
|
+
const styleCheck = StyleSheet.create({
|
|
5
|
+
checkbox: {
|
|
6
|
+
borderWidth: 2,
|
|
7
|
+
borderColor: theme.colors.primary,
|
|
8
|
+
borderRadius: 4,
|
|
9
|
+
width: 20,
|
|
10
|
+
height: 20,
|
|
11
|
+
backgroundColor: 'transparent',
|
|
12
|
+
display: 'flex',
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
export { styleCheck };
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import { theme } from '../../../src/config/paper.config';
|
|
3
|
+
export const stylesDialog = StyleSheet.create({
|
|
4
|
+
dialog: {
|
|
5
|
+
backgroundColor: theme.colors.white,
|
|
6
|
+
},
|
|
7
|
+
'dialog-icon': {
|
|
8
|
+
width: 24,
|
|
9
|
+
height: 24,
|
|
10
|
+
justifyContent: 'center',
|
|
11
|
+
alignItems: 'center',
|
|
12
|
+
textAlign: 'center',
|
|
13
|
+
},
|
|
14
|
+
'dialog-title': {
|
|
15
|
+
fontSize: 16,
|
|
16
|
+
color: theme.colors.text,
|
|
17
|
+
textAlign: 'center',
|
|
18
|
+
fontFamily: 'MontserratSemiBold',
|
|
19
|
+
},
|
|
20
|
+
'dialog-select-title': {
|
|
21
|
+
fontSize: 14,
|
|
22
|
+
color: theme.colors.text,
|
|
23
|
+
textAlign: 'center',
|
|
24
|
+
fontFamily: 'MontserratSemiBold',
|
|
25
|
+
marginTop: -5,
|
|
26
|
+
},
|
|
27
|
+
'dialog-container-icon': { flexDirection: 'row', justifyContent: 'center' },
|
|
28
|
+
'dialog-text': {
|
|
29
|
+
fontSize: 14,
|
|
30
|
+
color: theme.colors.text,
|
|
31
|
+
textAlign: 'center',
|
|
32
|
+
fontFamily: 'MontserratRegular',
|
|
33
|
+
},
|
|
34
|
+
'dialog-actions': {
|
|
35
|
+
gap: 16,
|
|
36
|
+
justifyContent: 'center',
|
|
37
|
+
},
|
|
38
|
+
'dialog-down': {
|
|
39
|
+
backgroundColor: theme.colors.white,
|
|
40
|
+
position: 'absolute',
|
|
41
|
+
borderBottomLeftRadius: 0,
|
|
42
|
+
borderBottomRightRadius: 0,
|
|
43
|
+
bottom: -50,
|
|
44
|
+
left: -25,
|
|
45
|
+
right: -25,
|
|
46
|
+
},
|
|
47
|
+
'dialog-down-btn': {
|
|
48
|
+
width: '100%',
|
|
49
|
+
},
|
|
50
|
+
'dialog-down-header': {
|
|
51
|
+
flexDirection: 'row',
|
|
52
|
+
width: '100%',
|
|
53
|
+
},
|
|
54
|
+
'dialog-down-close': {
|
|
55
|
+
position: 'absolute',
|
|
56
|
+
right: 10,
|
|
57
|
+
top: 20,
|
|
58
|
+
justifyContent: 'space-evenly',
|
|
59
|
+
},
|
|
60
|
+
'dialog-down-select-close': {
|
|
61
|
+
position: 'absolute',
|
|
62
|
+
left: 0,
|
|
63
|
+
top: 0,
|
|
64
|
+
justifyContent: 'space-evenly',
|
|
65
|
+
zIndex: 50,
|
|
66
|
+
},
|
|
67
|
+
'dialog-down-close-icon': {
|
|
68
|
+
width: 24,
|
|
69
|
+
color: theme.colors.text,
|
|
70
|
+
},
|
|
71
|
+
'dialog-content': {
|
|
72
|
+
marginBottom: 32,
|
|
73
|
+
},
|
|
74
|
+
'dialog-img': {
|
|
75
|
+
alignItems: 'center',
|
|
76
|
+
marginBottom: 16,
|
|
77
|
+
},
|
|
78
|
+
});
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import { theme } from '../../../src/config/paper.config';
|
|
3
|
+
|
|
4
|
+
const styleDropdown = StyleSheet.create({
|
|
5
|
+
'dropdown-container': {
|
|
6
|
+
width: 'auto',
|
|
7
|
+
marginRight: -42,
|
|
8
|
+
flexDirection: 'row',
|
|
9
|
+
justifyContent: 'flex-end',
|
|
10
|
+
},
|
|
11
|
+
'dropdown-menu': { flexDirection: 'row', alignItems: 'center' },
|
|
12
|
+
'dropdown-label': { fontSize: 16, marginTop: 15 },
|
|
13
|
+
'dropdown-label-content': { width: 70 },
|
|
14
|
+
'dropdown-label-arrow': { fontSize: 24 },
|
|
15
|
+
'dropdown-label-width': { width: 10 },
|
|
16
|
+
'dropdown-overlay': {
|
|
17
|
+
position: 'absolute',
|
|
18
|
+
top: 0,
|
|
19
|
+
left: 0,
|
|
20
|
+
right: 0,
|
|
21
|
+
bottom: 0,
|
|
22
|
+
backgroundColor: 'rgba(0, 0, 0, 0.5)',
|
|
23
|
+
zIndex: 999,
|
|
24
|
+
},
|
|
25
|
+
'dropdown-menu-item': {
|
|
26
|
+
fontFamily: 'MontserratSemiBold',
|
|
27
|
+
fontSize: 14,
|
|
28
|
+
color: theme.colors.boldBlack,
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
export { styleDropdown };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import { theme } from '../../../src/config/paper.config';
|
|
3
|
+
export const stylesHeader = StyleSheet.create({
|
|
4
|
+
header: {
|
|
5
|
+
flex: 0,
|
|
6
|
+
alignItems: 'center',
|
|
7
|
+
justifyContent: 'space-between',
|
|
8
|
+
flexDirection: 'row',
|
|
9
|
+
height: 64,
|
|
10
|
+
},
|
|
11
|
+
'header-back': {
|
|
12
|
+
borderRadius: 100,
|
|
13
|
+
justifyContent: 'center',
|
|
14
|
+
alignItems: 'center',
|
|
15
|
+
backgroundColor: theme.colors.boldBlack,
|
|
16
|
+
width: 32,
|
|
17
|
+
height: 32,
|
|
18
|
+
},
|
|
19
|
+
'header-back-icon': { height: 12, width: 7.41, resizeMode: 'contain' },
|
|
20
|
+
'header-title': {
|
|
21
|
+
color: 'black',
|
|
22
|
+
fontSize: 16,
|
|
23
|
+
lineHeight: 19.5,
|
|
24
|
+
fontFamily: 'MontserratSemiBold',
|
|
25
|
+
},
|
|
26
|
+
'header-logo': { height: 32, width: 32, resizeMode: 'contain' },
|
|
27
|
+
});
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import { theme } from '../../../src/config/paper.config';
|
|
3
|
+
|
|
4
|
+
const styleInput = StyleSheet.create({
|
|
5
|
+
input: {
|
|
6
|
+
borderRadius: 8,
|
|
7
|
+
borderBottomColor: theme.colors.primary,
|
|
8
|
+
borderBottomWidth: 1,
|
|
9
|
+
},
|
|
10
|
+
'input-txt': {
|
|
11
|
+
fontFamily: 'MontserratSemiBold',
|
|
12
|
+
fontSize: 16,
|
|
13
|
+
lineHeight: 19.5,
|
|
14
|
+
color: theme.colors.boldBlack,
|
|
15
|
+
borderTopRightRadius: 4,
|
|
16
|
+
borderTopLeftRadius: 4,
|
|
17
|
+
},
|
|
18
|
+
'input-label': {
|
|
19
|
+
backgroundColor: theme.colors.white,
|
|
20
|
+
fontSize: 16,
|
|
21
|
+
lineHeight: 24,
|
|
22
|
+
color: theme.colors.boldBlack,
|
|
23
|
+
borderRadius: 4,
|
|
24
|
+
fontFamily: 'MontserratBold',
|
|
25
|
+
},
|
|
26
|
+
'input-error-focused': {
|
|
27
|
+
backgroundColor: theme.colors.lightRed,
|
|
28
|
+
borderTopLeftRadius: 4,
|
|
29
|
+
borderTopRightRadius: 4,
|
|
30
|
+
color: theme.colors.boldBlack,
|
|
31
|
+
fontFamily: 'MontserratSemiBold',
|
|
32
|
+
},
|
|
33
|
+
'input-txt-error': {
|
|
34
|
+
fontWeight: 'normal',
|
|
35
|
+
fontSize: 12,
|
|
36
|
+
lineHeight: 14.63,
|
|
37
|
+
color: theme.colors.boldBlack,
|
|
38
|
+
marginLeft: 5,
|
|
39
|
+
borderBottomColor: theme.colors.darkRed,
|
|
40
|
+
borderTopLeftRadius: 4,
|
|
41
|
+
borderTopRightRadius: 4,
|
|
42
|
+
},
|
|
43
|
+
'input-error': {
|
|
44
|
+
flex: 1,
|
|
45
|
+
alignItems: 'flex-start',
|
|
46
|
+
justifyContent: 'flex-start',
|
|
47
|
+
flexDirection: 'row',
|
|
48
|
+
marginTop: 10,
|
|
49
|
+
marginBottom: 10,
|
|
50
|
+
backgroundColor: theme.colors.lightRed,
|
|
51
|
+
borderTopLeftRadius: 4,
|
|
52
|
+
borderTopRightRadius: 4,
|
|
53
|
+
},
|
|
54
|
+
'input-text-underline': {
|
|
55
|
+
color: theme.colors.primary,
|
|
56
|
+
},
|
|
57
|
+
'input-text--activeUnderline': {
|
|
58
|
+
color: theme.colors.darkRed,
|
|
59
|
+
},
|
|
60
|
+
'input-text--focused': {
|
|
61
|
+
backgroundColor: theme.colors.lightPrimary,
|
|
62
|
+
borderTopRightRadius: 4,
|
|
63
|
+
borderTopLeftRadius: 4,
|
|
64
|
+
},
|
|
65
|
+
'input-text-color': {
|
|
66
|
+
color: theme.colors.primary,
|
|
67
|
+
},
|
|
68
|
+
'input-helper--error': {
|
|
69
|
+
flexDirection: 'row',
|
|
70
|
+
alignItems: 'center',
|
|
71
|
+
marginTop: 1,
|
|
72
|
+
backgroundColor: theme.colors.white,
|
|
73
|
+
gap: 16,
|
|
74
|
+
width: '100%',
|
|
75
|
+
},
|
|
76
|
+
'input-helper--error-text': {
|
|
77
|
+
flexDirection: 'row',
|
|
78
|
+
alignItems: 'center',
|
|
79
|
+
backgroundColor: theme.colors.white,
|
|
80
|
+
},
|
|
81
|
+
'input-helper--error-image': { marginLeft: 8, width: 16, height: 16 },
|
|
82
|
+
'input-phone': { backgroundColor: theme.colors.white, color: theme.colors.boldBlack },
|
|
83
|
+
'input-phone-container': {
|
|
84
|
+
flexDirection: 'row',
|
|
85
|
+
borderTopLeftRadius: 4,
|
|
86
|
+
borderTopRightRadius: 4,
|
|
87
|
+
width: '100%',
|
|
88
|
+
gap: 4,
|
|
89
|
+
backgroundColor: theme.colors.white,
|
|
90
|
+
},
|
|
91
|
+
'input-phone-code': {
|
|
92
|
+
backgroundColor: 'transparent',
|
|
93
|
+
width: '20%',
|
|
94
|
+
fontSize: 14,
|
|
95
|
+
fontWeight: 'bold',
|
|
96
|
+
borderBottomColor: theme.colors.primary,
|
|
97
|
+
borderBottomWidth: 1,
|
|
98
|
+
},
|
|
99
|
+
'input-phone-icon': { paddingLeft: 24, color: theme.colors.boldBlack },
|
|
100
|
+
'input-phone-number': {
|
|
101
|
+
backgroundColor: 'transparent',
|
|
102
|
+
fontSize: 14,
|
|
103
|
+
width: '79%',
|
|
104
|
+
fontWeight: 'bold',
|
|
105
|
+
borderBottomColor: theme.colors.primary,
|
|
106
|
+
borderBottomWidth: 1,
|
|
107
|
+
color: theme.colors.text,
|
|
108
|
+
},
|
|
109
|
+
'input-phone-helper': { fontSize: 12, color: theme.colors.boldBlack, paddingLeft: 16 },
|
|
110
|
+
'input-phone-container--focused': {
|
|
111
|
+
backgroundColor: theme.colors.lightPrimary,
|
|
112
|
+
borderTopRightRadius: 4,
|
|
113
|
+
borderTopLeftRadius: 4,
|
|
114
|
+
},
|
|
115
|
+
'input-phone--focused': {
|
|
116
|
+
backgroundColor: theme.colors.lightPrimary,
|
|
117
|
+
borderBottomWidth: 4,
|
|
118
|
+
borderTopRightRadius: 4,
|
|
119
|
+
borderTopLeftRadius: 4,
|
|
120
|
+
},
|
|
121
|
+
'input-phone-list': { marginTop: -26 },
|
|
122
|
+
'input-phone-list-height': { maxHeight: '80%' },
|
|
123
|
+
'input-phone-list-item': {
|
|
124
|
+
backgroundColor: theme.colors.white,
|
|
125
|
+
borderBottomWidth: 1,
|
|
126
|
+
borderBottomColor: theme.colors.lightPrimary,
|
|
127
|
+
borderTopRightRadius: 4,
|
|
128
|
+
borderTopLeftRadius: 4,
|
|
129
|
+
},
|
|
130
|
+
'input-phone-list-item-text': { color: theme.colors.boldBlack, fontSize: 14, fontWeight: 'bold' },
|
|
131
|
+
'input-phone-list-item-icon': { marginLeft: 8, width: 25 },
|
|
132
|
+
'input-phone-search-container': {
|
|
133
|
+
backgroundColor: theme.colors.white,
|
|
134
|
+
marginTop: 4,
|
|
135
|
+
borderBottomWidth: 0.5,
|
|
136
|
+
borderBottomColor: theme.colors.primary,
|
|
137
|
+
},
|
|
138
|
+
'input-phone-search': {
|
|
139
|
+
color: theme.colors.boldBlack,
|
|
140
|
+
fontFamily: 'MontserratSemiBold',
|
|
141
|
+
fontSize: 14,
|
|
142
|
+
},
|
|
143
|
+
'input-otp': {
|
|
144
|
+
backgroundColor: 'transparent',
|
|
145
|
+
maxWidth: 40,
|
|
146
|
+
maxHeight: 40,
|
|
147
|
+
borderBottomWidth: 2,
|
|
148
|
+
borderBottomColor: theme.colors.primary,
|
|
149
|
+
marginHorizontal: 8,
|
|
150
|
+
textAlign: 'center',
|
|
151
|
+
justifyContent: 'center',
|
|
152
|
+
alignItems: 'center',
|
|
153
|
+
fontSize: 16,
|
|
154
|
+
fontFamily: 'MontserratSemiBold',
|
|
155
|
+
},
|
|
156
|
+
'input-otp--invalid': {
|
|
157
|
+
borderBottomColor: theme.colors.darkRed,
|
|
158
|
+
},
|
|
159
|
+
'input-otp--invalid--focused': {
|
|
160
|
+
borderBottomColor: theme.colors.darkRed,
|
|
161
|
+
borderBottomWidth: 4,
|
|
162
|
+
},
|
|
163
|
+
'input-otp-content': {
|
|
164
|
+
color: theme.colors.boldBlack,
|
|
165
|
+
},
|
|
166
|
+
'input-otp--focused': {
|
|
167
|
+
borderBottomColor: theme.colors.primary,
|
|
168
|
+
borderBottomWidth: 4,
|
|
169
|
+
},
|
|
170
|
+
'input-password-helper---error': {
|
|
171
|
+
flexDirection: 'row',
|
|
172
|
+
alignItems: 'center',
|
|
173
|
+
backgroundColor: 'white',
|
|
174
|
+
},
|
|
175
|
+
'input-password-helper--error-text': {
|
|
176
|
+
fontSize: 12,
|
|
177
|
+
color: theme.colors.boldBlack,
|
|
178
|
+
fontFamily: 'MontserratLight',
|
|
179
|
+
marginLeft: 8,
|
|
180
|
+
flexWrap: 'wrap',
|
|
181
|
+
},
|
|
182
|
+
'input-password-helper': {
|
|
183
|
+
color: theme.colors.boldBlack,
|
|
184
|
+
fontSize: 12,
|
|
185
|
+
fontFamily: 'MontserratRegular',
|
|
186
|
+
backgroundColor: theme.colors.white,
|
|
187
|
+
},
|
|
188
|
+
});
|
|
189
|
+
|
|
190
|
+
export { styleInput };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import { theme } from '../../../src/config/paper.config';
|
|
3
|
+
|
|
4
|
+
const stylePages = StyleSheet.create({
|
|
5
|
+
'page-basic': { flex: 1, backgroundColor: theme.colors.background },
|
|
6
|
+
'page-basic-view': {
|
|
7
|
+
flex: 1,
|
|
8
|
+
paddingVertical: 16,
|
|
9
|
+
paddingHorizontal: 16,
|
|
10
|
+
},
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
export { stylePages };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import { theme } from '../../../src/config/paper.config';
|
|
3
|
+
|
|
4
|
+
const styleProgressBar = StyleSheet.create({
|
|
5
|
+
'progress-bar-container': {
|
|
6
|
+
width: '33%',
|
|
7
|
+
},
|
|
8
|
+
'progress-bar': {
|
|
9
|
+
backgroundColor: theme.colors.lightGray,
|
|
10
|
+
borderRadius: 20,
|
|
11
|
+
height: 8,
|
|
12
|
+
width: '100%',
|
|
13
|
+
},
|
|
14
|
+
'progress-bar-fillStyle': { backgroundColor: theme.colors.lightBlue },
|
|
15
|
+
'progress-bar-title': { fontFamily: 'MontserratSemiBold', fontSize: 12 },
|
|
16
|
+
'progress-bar-title--active': { color: theme.colors.text },
|
|
17
|
+
'progress-bar-title--inactive': { color: theme.colors.grayText },
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
export { styleProgressBar };
|