@gataca/design-system 1.0.44 → 1.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/legalagebg_black~XOnWROqa.png +0 -0
- package/dist/assets/legalagebg_green~WCxULJto.png +0 -0
- package/dist/assets/legalagebg_grey~MpSYiBcO.png +0 -0
- package/dist/assets/legalagebg_purple~TpwAmuTa.png +0 -0
- package/dist/assets/medalCheck~WtewBegS.png +0 -0
- package/dist/assets/medalStar~GYbyLmOQ.png +0 -0
- package/dist/components/index.native.d.ts +5 -2
- package/dist/components/index.web.d.ts +2 -2
- package/dist/components/native/Credentials/DiplomaCredential/components/CircularText.d.ts +57 -0
- package/dist/components/native/Credentials/DiplomaCredential/components/Ribbon.d.ts +1 -0
- package/dist/components/native/Credentials/DiplomaCredential/diplomaCredential.native.d.ts +3 -0
- package/dist/components/native/Credentials/DiplomaCredential/diplomaCredential_config.d.ts +28 -0
- package/dist/components/native/Credentials/DiplomaCredential/diplomaCredential_styles.native.d.ts +432 -0
- package/dist/components/native/Credentials/DiplomaCredential/diplomaCredential_types.native.d.ts +20 -0
- package/dist/components/native/Credentials/DiplomaCredential/index.native.d.ts +2 -0
- package/dist/components/native/Credentials/LegalAgeCredential/components/DynamicBadgeBanner.d.ts +9 -0
- package/dist/components/native/Credentials/LegalAgeCredential/components/HexagonBadgeRing.d.ts +17 -0
- package/dist/components/native/Credentials/LegalAgeCredential/components/HexagonText.d.ts +47 -0
- package/dist/components/native/Credentials/LegalAgeCredential/components/InnerBadgeHexagon.d.ts +14 -0
- package/dist/components/native/Credentials/LegalAgeCredential/components/Ribbon.d.ts +3 -0
- package/dist/components/native/Credentials/LegalAgeCredential/index.native.d.ts +2 -0
- package/dist/components/native/Credentials/LegalAgeCredential/legalAgeCredential.native.d.ts +3 -0
- package/dist/components/native/Credentials/LegalAgeCredential/legalAgeCredential_config.d.ts +24 -0
- package/dist/components/native/Credentials/LegalAgeCredential/legalAgeCredential_styles.native.d.ts +558 -0
- package/dist/components/native/Credentials/LegalAgeCredential/legalAgeCredential_types.native.d.ts +14 -0
- package/dist/components/native/Credentials/PersonalIdCredential/index.native.d.ts +2 -0
- package/dist/components/native/Credentials/PersonalIdCredential/personalIdCredential.native.d.ts +3 -0
- package/dist/components/native/Credentials/PersonalIdCredential/personalIdCredential_config.d.ts +17 -0
- package/dist/components/native/Credentials/PersonalIdCredential/personalIdCredential_styles.native.d.ts +298 -0
- package/dist/components/native/Credentials/PersonalIdCredential/personalIdCredential_types.native.d.ts +18 -0
- package/dist/components/native/Illustrations/illustrations_types.d.ts +7 -1
- package/dist/components/native/Lists/ListItem/listItem_types.native.d.ts +1 -1
- package/dist/components/web/Lists/ListItem/listItem_types.web.d.ts +1 -1
- package/dist/index.native.js +1 -1
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
- /package/dist/components/native/{Cards → Credentials}/Credential/credential.native.d.ts +0 -0
- /package/dist/components/native/{Cards → Credentials}/Credential/credential_styles.native.d.ts +0 -0
- /package/dist/components/native/{Cards → Credentials}/Credential/credential_types.native.d.ts +0 -0
- /package/dist/components/native/{Cards → Credentials}/Credential/index.native.d.ts +0 -0
- /package/dist/components/native/{Cards → Credentials}/MiniCredential/index.native.d.ts +0 -0
- /package/dist/components/native/{Cards → Credentials}/MiniCredential/miniCredential.native.d.ts +0 -0
- /package/dist/components/native/{Cards → Credentials}/MiniCredential/miniCredential_styles.native.d.ts +0 -0
- /package/dist/components/native/{Cards → Credentials}/MiniCredential/miniCredential_types.native.d.ts +0 -0
- /package/dist/components/web/{Cards → Credentials}/Credential/credential.web.d.ts +0 -0
- /package/dist/components/web/{Cards → Credentials}/Credential/credential_styles.web.d.ts +0 -0
- /package/dist/components/web/{Cards → Credentials}/Credential/credential_types.web.d.ts +0 -0
- /package/dist/components/web/{Cards → Credentials}/Credential/index.web.d.ts +0 -0
- /package/dist/components/web/{Cards → Credentials}/MiniCredential/index.web.d.ts +0 -0
- /package/dist/components/web/{Cards → Credentials}/MiniCredential/miniCredential.web.d.ts +0 -0
- /package/dist/components/web/{Cards → Credentials}/MiniCredential/miniCredential_styles.web.d.ts +0 -0
- /package/dist/components/web/{Cards → Credentials}/MiniCredential/miniCredential_types.web.d.ts +0 -0
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
import { ColorsType } from '../../../../styles/Colors';
|
|
2
|
+
import { StyleType } from '../../../../styles/Fonts';
|
|
3
|
+
export declare const styles: (colors: ColorsType, fontStyles: StyleType) => {
|
|
4
|
+
outerContainer: {
|
|
5
|
+
borderWidth: number;
|
|
6
|
+
borderColor: string;
|
|
7
|
+
borderRadius: number;
|
|
8
|
+
shadowColor: string;
|
|
9
|
+
shadowOffset: {
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
};
|
|
13
|
+
shadowOpacity: number;
|
|
14
|
+
shadowRadius: number;
|
|
15
|
+
elevation: number;
|
|
16
|
+
} | {
|
|
17
|
+
borderWidth: number;
|
|
18
|
+
borderColor: string;
|
|
19
|
+
shadowColor: string;
|
|
20
|
+
shadowOpacity: number;
|
|
21
|
+
shadowOffset: {
|
|
22
|
+
width: number;
|
|
23
|
+
height: number;
|
|
24
|
+
};
|
|
25
|
+
shadowRadius: number;
|
|
26
|
+
elevation: number;
|
|
27
|
+
borderRadius: number;
|
|
28
|
+
} | {
|
|
29
|
+
borderWidth: number;
|
|
30
|
+
borderColor: string;
|
|
31
|
+
elevation: number;
|
|
32
|
+
shadowColor: string;
|
|
33
|
+
shadowOpacity: number;
|
|
34
|
+
shadowOffset: {
|
|
35
|
+
width: number;
|
|
36
|
+
height: number;
|
|
37
|
+
};
|
|
38
|
+
shadowRadius: number;
|
|
39
|
+
borderRadius: number;
|
|
40
|
+
};
|
|
41
|
+
containerDefault: {
|
|
42
|
+
width: "100%";
|
|
43
|
+
minHeight: number;
|
|
44
|
+
borderRadius: number;
|
|
45
|
+
};
|
|
46
|
+
containerSmall: {
|
|
47
|
+
width: "100%";
|
|
48
|
+
minHeight: number;
|
|
49
|
+
borderRadius: number;
|
|
50
|
+
};
|
|
51
|
+
gradientContainer: {
|
|
52
|
+
overflow: "hidden";
|
|
53
|
+
position: "relative";
|
|
54
|
+
};
|
|
55
|
+
mainDataContainerDefault: {
|
|
56
|
+
width: "100%";
|
|
57
|
+
minHeight: number;
|
|
58
|
+
};
|
|
59
|
+
mainDataContainerSmall: {
|
|
60
|
+
width: "100%";
|
|
61
|
+
minHeight: number;
|
|
62
|
+
};
|
|
63
|
+
mainDataContainer: {
|
|
64
|
+
borderRadius: number;
|
|
65
|
+
flexDirection: "column";
|
|
66
|
+
flex: number;
|
|
67
|
+
};
|
|
68
|
+
headerContainer: {
|
|
69
|
+
borderTopLeftRadius: number;
|
|
70
|
+
borderTopRightRadius: number;
|
|
71
|
+
paddingVertical: number;
|
|
72
|
+
justifyContent: "center";
|
|
73
|
+
alignItems: "flex-start";
|
|
74
|
+
};
|
|
75
|
+
headerPaddingDefault: {
|
|
76
|
+
paddingHorizontal: number;
|
|
77
|
+
};
|
|
78
|
+
headerPaddingSmall: {
|
|
79
|
+
paddingHorizontal: number;
|
|
80
|
+
};
|
|
81
|
+
headerTextContainer: {
|
|
82
|
+
marginRight: number;
|
|
83
|
+
gap: number;
|
|
84
|
+
};
|
|
85
|
+
headerText: {
|
|
86
|
+
color: string;
|
|
87
|
+
fontFamily?: string;
|
|
88
|
+
fontSize?: number;
|
|
89
|
+
lineHeight?: number;
|
|
90
|
+
textDecoration?: string;
|
|
91
|
+
fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
|
|
92
|
+
opacity?: number;
|
|
93
|
+
fontStyle?: "normal" | "italic";
|
|
94
|
+
};
|
|
95
|
+
mainDataContent: {
|
|
96
|
+
flex: number;
|
|
97
|
+
flexDirection: "column";
|
|
98
|
+
paddingTop: number;
|
|
99
|
+
paddingHorizontal: number;
|
|
100
|
+
paddingBottom: number;
|
|
101
|
+
};
|
|
102
|
+
dataContainerWithBg: {
|
|
103
|
+
flex: number;
|
|
104
|
+
borderLeftWidth: number;
|
|
105
|
+
borderRightWidth: number;
|
|
106
|
+
borderBottomWidth: number;
|
|
107
|
+
borderTopWidth: number;
|
|
108
|
+
borderColor: string;
|
|
109
|
+
borderBottomLeftRadius: number;
|
|
110
|
+
borderBottomRightRadius: number;
|
|
111
|
+
paddingTop: number;
|
|
112
|
+
flexDirection: "column";
|
|
113
|
+
gap: number;
|
|
114
|
+
backgroundColor: string;
|
|
115
|
+
};
|
|
116
|
+
dataContainerPaddingDefault: {
|
|
117
|
+
paddingHorizontal: number;
|
|
118
|
+
paddingBottom: number;
|
|
119
|
+
};
|
|
120
|
+
dataContainerPaddingSmall: {
|
|
121
|
+
paddingHorizontal: number;
|
|
122
|
+
paddingBottom: number;
|
|
123
|
+
};
|
|
124
|
+
fullNameSectionDefault: {
|
|
125
|
+
gap: number;
|
|
126
|
+
};
|
|
127
|
+
fullNamelabelText: {
|
|
128
|
+
marginRight: number;
|
|
129
|
+
};
|
|
130
|
+
fullNameSectionSmall: {
|
|
131
|
+
gap: number;
|
|
132
|
+
};
|
|
133
|
+
labelText: {
|
|
134
|
+
color: string;
|
|
135
|
+
fontFamily?: string;
|
|
136
|
+
fontSize?: number;
|
|
137
|
+
lineHeight?: number;
|
|
138
|
+
textDecoration?: string;
|
|
139
|
+
fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
|
|
140
|
+
opacity?: number;
|
|
141
|
+
fontStyle?: "normal" | "italic";
|
|
142
|
+
};
|
|
143
|
+
fullNameText: {
|
|
144
|
+
marginRight: number;
|
|
145
|
+
color: string;
|
|
146
|
+
fontFamily?: string;
|
|
147
|
+
fontSize?: number;
|
|
148
|
+
lineHeight?: number;
|
|
149
|
+
textDecoration?: string;
|
|
150
|
+
fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
|
|
151
|
+
opacity?: number;
|
|
152
|
+
fontStyle?: "normal" | "italic";
|
|
153
|
+
};
|
|
154
|
+
firstBottomDataContainer: {
|
|
155
|
+
flex: number;
|
|
156
|
+
width: "100%";
|
|
157
|
+
flexDirection: "row";
|
|
158
|
+
alignItems: "flex-start";
|
|
159
|
+
justifyContent: "space-between";
|
|
160
|
+
gap: number;
|
|
161
|
+
};
|
|
162
|
+
bottomDataContainer: {
|
|
163
|
+
flex: number;
|
|
164
|
+
width: "100%";
|
|
165
|
+
flexDirection: "row";
|
|
166
|
+
alignItems: "flex-end";
|
|
167
|
+
justifyContent: "space-between";
|
|
168
|
+
gap: number;
|
|
169
|
+
};
|
|
170
|
+
fieldSection: {
|
|
171
|
+
flex: number;
|
|
172
|
+
flexDirection: "column";
|
|
173
|
+
gap: number;
|
|
174
|
+
justifyContent: "center";
|
|
175
|
+
minHeight: number;
|
|
176
|
+
minWidth: number;
|
|
177
|
+
};
|
|
178
|
+
rowFieldSection: {
|
|
179
|
+
flex: number;
|
|
180
|
+
flexDirection: "row";
|
|
181
|
+
gap: number;
|
|
182
|
+
justifyContent: "space-between";
|
|
183
|
+
alignItems: "baseline";
|
|
184
|
+
minHeight: number;
|
|
185
|
+
minWidth: number;
|
|
186
|
+
};
|
|
187
|
+
valueText: {
|
|
188
|
+
color: string;
|
|
189
|
+
fontFamily?: string;
|
|
190
|
+
fontSize?: number;
|
|
191
|
+
lineHeight?: number;
|
|
192
|
+
textDecoration?: string;
|
|
193
|
+
fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
|
|
194
|
+
opacity?: number;
|
|
195
|
+
fontStyle?: "normal" | "italic";
|
|
196
|
+
};
|
|
197
|
+
idNumberText: {
|
|
198
|
+
fontFamily?: string;
|
|
199
|
+
fontSize?: number;
|
|
200
|
+
lineHeight?: number;
|
|
201
|
+
color?: string;
|
|
202
|
+
textDecoration?: string;
|
|
203
|
+
fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
|
|
204
|
+
opacity?: number;
|
|
205
|
+
fontStyle?: "normal" | "italic";
|
|
206
|
+
};
|
|
207
|
+
starButton: {
|
|
208
|
+
backgroundColor: string;
|
|
209
|
+
borderRadius: number;
|
|
210
|
+
padding: number;
|
|
211
|
+
justifyContent: "center";
|
|
212
|
+
alignItems: "center";
|
|
213
|
+
flexShrink: number;
|
|
214
|
+
};
|
|
215
|
+
starIconContainer: {
|
|
216
|
+
width: number;
|
|
217
|
+
height: number;
|
|
218
|
+
overflow: "hidden";
|
|
219
|
+
justifyContent: "center";
|
|
220
|
+
alignItems: "center";
|
|
221
|
+
};
|
|
222
|
+
starIcon: {
|
|
223
|
+
width: number;
|
|
224
|
+
height: number;
|
|
225
|
+
};
|
|
226
|
+
starIconPlaceholder: {
|
|
227
|
+
fontSize: number;
|
|
228
|
+
color: string;
|
|
229
|
+
textAlign: "center";
|
|
230
|
+
};
|
|
231
|
+
photoDefault: {
|
|
232
|
+
right: number;
|
|
233
|
+
};
|
|
234
|
+
photoSmall: {
|
|
235
|
+
right: number;
|
|
236
|
+
};
|
|
237
|
+
photo: {
|
|
238
|
+
position: "absolute";
|
|
239
|
+
top: number;
|
|
240
|
+
width: number;
|
|
241
|
+
height: number;
|
|
242
|
+
borderRadius: number;
|
|
243
|
+
shadowColor: string;
|
|
244
|
+
shadowOffset: {
|
|
245
|
+
width: number;
|
|
246
|
+
height: number;
|
|
247
|
+
};
|
|
248
|
+
shadowOpacity: number;
|
|
249
|
+
shadowRadius: number;
|
|
250
|
+
elevation: number;
|
|
251
|
+
overflow: "hidden";
|
|
252
|
+
} | {
|
|
253
|
+
shadowColor: string;
|
|
254
|
+
shadowOpacity: number;
|
|
255
|
+
shadowOffset: {
|
|
256
|
+
width: number;
|
|
257
|
+
height: number;
|
|
258
|
+
};
|
|
259
|
+
shadowRadius: number;
|
|
260
|
+
elevation: number;
|
|
261
|
+
position: "absolute";
|
|
262
|
+
top: number;
|
|
263
|
+
width: number;
|
|
264
|
+
height: number;
|
|
265
|
+
borderRadius: number;
|
|
266
|
+
overflow: "hidden";
|
|
267
|
+
} | {
|
|
268
|
+
elevation: number;
|
|
269
|
+
shadowColor: string;
|
|
270
|
+
shadowOpacity: number;
|
|
271
|
+
shadowOffset: {
|
|
272
|
+
width: number;
|
|
273
|
+
height: number;
|
|
274
|
+
};
|
|
275
|
+
shadowRadius: number;
|
|
276
|
+
position: "absolute";
|
|
277
|
+
top: number;
|
|
278
|
+
width: number;
|
|
279
|
+
height: number;
|
|
280
|
+
borderRadius: number;
|
|
281
|
+
overflow: "hidden";
|
|
282
|
+
};
|
|
283
|
+
photoImage: {
|
|
284
|
+
width: "100%";
|
|
285
|
+
height: "150%";
|
|
286
|
+
position: "absolute";
|
|
287
|
+
left: number;
|
|
288
|
+
top: number;
|
|
289
|
+
};
|
|
290
|
+
borderOverlay: {
|
|
291
|
+
position: "absolute";
|
|
292
|
+
left: number;
|
|
293
|
+
top: number;
|
|
294
|
+
borderWidth: number;
|
|
295
|
+
borderColor: string;
|
|
296
|
+
borderRadius: number;
|
|
297
|
+
};
|
|
298
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ImageSourcePropType } from 'react-native';
|
|
2
|
+
import { HeadingCredentialProps } from '../../Headings/HeadingCredential/HeadingCredential_types.native';
|
|
3
|
+
export type PersonalIdCredentialsColors = 'grey' | 'blue';
|
|
4
|
+
export type PersonalIdCredentialsSize = 'default' | 'small';
|
|
5
|
+
export interface PersonalIdCredentialProps {
|
|
6
|
+
headingCredential1: HeadingCredentialProps;
|
|
7
|
+
headingCredential2: HeadingCredentialProps;
|
|
8
|
+
headingCredential3: HeadingCredentialProps;
|
|
9
|
+
headingCredential4: HeadingCredentialProps;
|
|
10
|
+
headingCredential5: HeadingCredentialProps;
|
|
11
|
+
headingCredential6: HeadingCredentialProps;
|
|
12
|
+
photo?: ImageSourcePropType;
|
|
13
|
+
color?: PersonalIdCredentialsColors;
|
|
14
|
+
isFavorite?: boolean;
|
|
15
|
+
size?: PersonalIdCredentialsSize;
|
|
16
|
+
containerStyle?: any;
|
|
17
|
+
onStarPress?: () => void;
|
|
18
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type IllustrationSize = 80 | 120 | 142;
|
|
2
|
-
export type IllustrationName = 'success' | 'error' | 'upgrade' | 'downgrade' | 'mail' | 'warningYellow' | 'updateBlue' | 'skull' | 'sandboxConnect' | 'logout' | 'heartbreak' | 'time' | 'search' | 'credentialPrimary' | 'credentialSecondary' | 'credentialTertiary';
|
|
2
|
+
export type IllustrationName = 'success' | 'error' | 'upgrade' | 'downgrade' | 'mail' | 'warningYellow' | 'updateBlue' | 'skull' | 'sandboxConnect' | 'logout' | 'heartbreak' | 'time' | 'search' | 'credentialPrimary' | 'credentialSecondary' | 'credentialTertiary' | 'medalStar' | 'medalCheck';
|
|
3
3
|
export type IllustrationProps = {
|
|
4
4
|
id?: string;
|
|
5
5
|
imgName: IllustrationName;
|
|
@@ -33,6 +33,12 @@ export declare const IllustrationsMap: {
|
|
|
33
33
|
credentialPrimary: any;
|
|
34
34
|
credentialSecondary: any;
|
|
35
35
|
credentialTertiary: any;
|
|
36
|
+
medalStar: any;
|
|
37
|
+
medalCheck: any;
|
|
38
|
+
legalAgeBgPurple: any;
|
|
39
|
+
legalAgeBgGreen: any;
|
|
40
|
+
legalAgeBgBlack: any;
|
|
41
|
+
legalAgeBgGrey: any;
|
|
36
42
|
};
|
|
37
43
|
export declare const stateIllustrations: string[];
|
|
38
44
|
export declare const credentialIllustrations: string[];
|
|
@@ -4,7 +4,7 @@ import { ButtonProps } from '../../Buttons/Button/Button.types.native';
|
|
|
4
4
|
import { ButtonIconProps } from '../../Buttons/ButtonIcon/ButtonIcon.types.native';
|
|
5
5
|
import { RoundedButtonProps } from '../../Buttons/RoundedButton/RoundedButton.types.native';
|
|
6
6
|
import { SegmentedButtonProps } from '../../Buttons/SegmentedButton/SegmentedButton.types.native';
|
|
7
|
-
import { MiniCredentialCardProps } from '../../
|
|
7
|
+
import { MiniCredentialCardProps } from '../../Credentials/MiniCredential/miniCredential_types.native';
|
|
8
8
|
import { CheckboxProps } from '../../Checkbox/Checkbox/checkbox_types.native';
|
|
9
9
|
import { ChipProps } from '../../Chips/Chip/Chip.types.native';
|
|
10
10
|
import { ChipGroupProps } from '../../Chips/ChipGroup/ChipGroup.types.native';
|
|
@@ -4,7 +4,7 @@ import { ButtonProps } from '../../Buttons/Button/Button.types.web';
|
|
|
4
4
|
import { ButtonIconProps } from '../../Buttons/ButtonIcon/ButtonIcon.types.web';
|
|
5
5
|
import { RoundedButtonProps } from '../../Buttons/RoundedButton/RoundedButton.types.web';
|
|
6
6
|
import { SegmentedButtonProps } from '../../Buttons/SegmentedButton/SegmentedButton.types.web';
|
|
7
|
-
import { MiniCredentialCardProps } from '../../
|
|
7
|
+
import { MiniCredentialCardProps } from '../../Credentials/MiniCredential/miniCredential_types.web';
|
|
8
8
|
import { CheckboxProps } from '../../Checkbox/Checkbox/checkbox_types.web';
|
|
9
9
|
import { ChipProps } from '../../Chips/Chip/Chip.types.web';
|
|
10
10
|
import { ChipGroupProps } from '../../Chips/ChipGroup/ChipGroup.types.web';
|