@gataca/design-system 4.0.0 → 4.1.0
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 +8 -2
- package/dist/components/index.web.d.ts +5 -2
- package/dist/components/native/Buttons/SegmentedButton/SegmentedButton.types.native.d.ts +8 -1
- package/dist/components/native/Chips/Chip/Chip.config.native.d.ts +2 -0
- package/dist/components/native/Chips/Chip/Chip.types.native.d.ts +1 -0
- package/dist/components/native/{Cards → Credentials}/Credential/credential_styles.native.d.ts +2 -0
- 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 +27 -0
- package/dist/components/native/Credentials/DiplomaCredential/diplomaCredential_styles.native.d.ts +319 -0
- package/dist/components/native/Credentials/DiplomaCredential/diplomaCredential_types.native.d.ts +15 -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/OuterBadgeHexagon.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 +22 -0
- package/dist/components/native/Credentials/LegalAgeCredential/legalAgeCredential_styles.native.d.ts +228 -0
- package/dist/components/native/Credentials/LegalAgeCredential/legalAgeCredential_types.native.d.ts +15 -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 +258 -0
- package/dist/components/native/Credentials/PersonalIdCredential/personalIdCredential_types.native.d.ts +18 -0
- package/dist/components/native/Icons/icons/withSelectedState/credentialView.d.ts +9 -0
- package/dist/components/native/Icons/icons/withSelectedState/stack.d.ts +9 -0
- package/dist/components/native/Icons/index.native.d.ts +2 -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/Buttons/SegmentedButton/SegmentedButton.types.web.d.ts +8 -1
- package/dist/components/web/Chips/Chip/Chip.config.web.d.ts +2 -0
- package/dist/components/web/Chips/Chip/Chip.types.web.d.ts +1 -0
- package/dist/components/web/Credentials/DiplomaCredential/components/CircularText.d.ts +56 -0
- package/dist/components/web/Credentials/DiplomaCredential/components/Ribbon.d.ts +1 -0
- package/dist/components/web/Credentials/DiplomaCredential/diplomaCredential.web.d.ts +3 -0
- package/dist/components/web/Credentials/DiplomaCredential/diplomaCredential_config.d.ts +28 -0
- package/dist/components/web/Credentials/DiplomaCredential/diplomaCredential_styles.web.d.ts +4 -0
- package/dist/components/web/Credentials/DiplomaCredential/diplomaCredential_types.web.d.ts +15 -0
- package/dist/components/web/Credentials/DiplomaCredential/index.web.d.ts +2 -0
- package/dist/components/web/Credentials/LegalAgeCredential/components/DynamicBadgeBanner.d.ts +9 -0
- package/dist/components/web/Credentials/LegalAgeCredential/components/HexagonBadgeRing.d.ts +17 -0
- package/dist/components/web/Credentials/LegalAgeCredential/components/HexagonText.d.ts +46 -0
- package/dist/components/web/Credentials/LegalAgeCredential/components/InnerBadgeHexagon.d.ts +14 -0
- package/dist/components/web/Credentials/LegalAgeCredential/components/OuterBadgeHexagon.d.ts +14 -0
- package/dist/components/web/Credentials/LegalAgeCredential/components/Ribbon.d.ts +3 -0
- package/dist/components/web/Credentials/LegalAgeCredential/index.web.d.ts +2 -0
- package/dist/components/web/Credentials/LegalAgeCredential/legalAgeCredential.web.d.ts +3 -0
- package/dist/components/web/Credentials/LegalAgeCredential/legalAgeCredential_config.d.ts +24 -0
- package/dist/components/web/Credentials/LegalAgeCredential/legalAgeCredential_styles.web.d.ts +4 -0
- package/dist/components/web/Credentials/LegalAgeCredential/legalAgeCredential_types.web.d.ts +15 -0
- package/dist/components/web/Credentials/PersonalIdCredential/index.web.d.ts +2 -0
- package/dist/components/web/Credentials/PersonalIdCredential/personalIdCredential.web.d.ts +3 -0
- package/dist/components/web/Credentials/PersonalIdCredential/personalIdCredential_config.d.ts +17 -0
- package/dist/components/web/Credentials/PersonalIdCredential/personalIdCredential_styles.web.d.ts +4 -0
- package/dist/components/web/Credentials/PersonalIdCredential/personalIdCredential_types.web.d.ts +19 -0
- package/dist/components/web/Icons/icons/withSelectedState/credentialView.d.ts +9 -0
- package/dist/components/web/Icons/icons/withSelectedState/stack.d.ts +9 -0
- package/dist/components/web/Icons/index.web.d.ts +2 -0
- package/dist/components/web/Illustrations/illustrations_types.d.ts +6 -0
- 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 +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_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,22 @@
|
|
|
1
|
+
import { ColorsType } from '../../../../styles/Colors';
|
|
2
|
+
import { LegalageCredentialProps, LegalageCredentialSize } from './legalAgeCredential_types.native';
|
|
3
|
+
type Age = NonNullable<LegalageCredentialProps['age']>;
|
|
4
|
+
type AgeTheme = {
|
|
5
|
+
bgImage: any;
|
|
6
|
+
headerBgColors: string;
|
|
7
|
+
badgeBorderColors: string[];
|
|
8
|
+
badgeInnerBorderColors: string[];
|
|
9
|
+
badgeRadialGradientColors: string[];
|
|
10
|
+
badgeInnerBorderColor: string;
|
|
11
|
+
badgeOuterBorderColor: string;
|
|
12
|
+
glowColor: string;
|
|
13
|
+
ribbonColors: string[];
|
|
14
|
+
};
|
|
15
|
+
export declare const createAgeTheme: (colors: ColorsType) => Record<Age, AgeTheme>;
|
|
16
|
+
type MainDataSizeTheme = {
|
|
17
|
+
mainDataStyle: any;
|
|
18
|
+
dataPadding: any;
|
|
19
|
+
};
|
|
20
|
+
export declare const createMainDataSizeTheme: (generalStyles: Record<string, any>) => Record<LegalageCredentialSize, MainDataSizeTheme>;
|
|
21
|
+
export declare const resolveMainDataSizeTheme: (generalStyles: Record<string, any>, size?: LegalageCredentialSize) => MainDataSizeTheme;
|
|
22
|
+
export {};
|
package/dist/components/native/Credentials/LegalAgeCredential/legalAgeCredential_styles.native.d.ts
ADDED
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import { ColorsType } from '../../../../styles/Colors';
|
|
2
|
+
import { StyleType } from '../../../../styles';
|
|
3
|
+
export declare const styles: (colors: ColorsType, fontStyles: StyleType) => {
|
|
4
|
+
outerContainer: {
|
|
5
|
+
borderWidth: number;
|
|
6
|
+
borderColor: string;
|
|
7
|
+
width: "100%";
|
|
8
|
+
borderRadius: number;
|
|
9
|
+
marginLeft: "auto";
|
|
10
|
+
marginRight: "auto";
|
|
11
|
+
overflow: "hidden";
|
|
12
|
+
minHeight: number;
|
|
13
|
+
shadowColor: string;
|
|
14
|
+
shadowOffset: {
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
};
|
|
18
|
+
shadowOpacity: number;
|
|
19
|
+
shadowRadius: number;
|
|
20
|
+
elevation: number;
|
|
21
|
+
backgroundColor: string;
|
|
22
|
+
} | {
|
|
23
|
+
borderWidth: number;
|
|
24
|
+
borderColor: string;
|
|
25
|
+
shadowColor: string;
|
|
26
|
+
shadowOpacity: number;
|
|
27
|
+
shadowOffset: {
|
|
28
|
+
width: number;
|
|
29
|
+
height: number;
|
|
30
|
+
};
|
|
31
|
+
shadowRadius: number;
|
|
32
|
+
elevation: number;
|
|
33
|
+
width: "100%";
|
|
34
|
+
borderRadius: number;
|
|
35
|
+
marginLeft: "auto";
|
|
36
|
+
marginRight: "auto";
|
|
37
|
+
overflow: "hidden";
|
|
38
|
+
minHeight: number;
|
|
39
|
+
backgroundColor: string;
|
|
40
|
+
} | {
|
|
41
|
+
borderWidth: number;
|
|
42
|
+
borderColor: string;
|
|
43
|
+
elevation: number;
|
|
44
|
+
shadowColor: string;
|
|
45
|
+
shadowOpacity: number;
|
|
46
|
+
shadowOffset: {
|
|
47
|
+
width: number;
|
|
48
|
+
height: number;
|
|
49
|
+
};
|
|
50
|
+
shadowRadius: number;
|
|
51
|
+
width: "100%";
|
|
52
|
+
borderRadius: number;
|
|
53
|
+
marginLeft: "auto";
|
|
54
|
+
marginRight: "auto";
|
|
55
|
+
overflow: "hidden";
|
|
56
|
+
minHeight: number;
|
|
57
|
+
backgroundColor: string;
|
|
58
|
+
};
|
|
59
|
+
imageBg: {
|
|
60
|
+
flex: number;
|
|
61
|
+
resizeMode: "cover";
|
|
62
|
+
justifyContent: "center";
|
|
63
|
+
padding: number;
|
|
64
|
+
borderRadius: number;
|
|
65
|
+
minHeight: number;
|
|
66
|
+
backgroundColor: string;
|
|
67
|
+
};
|
|
68
|
+
containerDefault: {
|
|
69
|
+
width: "100%";
|
|
70
|
+
minHeight: number;
|
|
71
|
+
borderRadius: number;
|
|
72
|
+
};
|
|
73
|
+
containerSmall: {
|
|
74
|
+
width: "100%";
|
|
75
|
+
minHeight: number;
|
|
76
|
+
borderRadius: number;
|
|
77
|
+
};
|
|
78
|
+
gradientContainer: {
|
|
79
|
+
overflow: "hidden";
|
|
80
|
+
position: "relative";
|
|
81
|
+
};
|
|
82
|
+
mainDataContainerDefault: {
|
|
83
|
+
width: "100%";
|
|
84
|
+
minHeight: number;
|
|
85
|
+
};
|
|
86
|
+
mainDataContainerSmall: {
|
|
87
|
+
width: "100%";
|
|
88
|
+
minHeight: number;
|
|
89
|
+
};
|
|
90
|
+
mainDataContainer: {
|
|
91
|
+
borderRadius: number;
|
|
92
|
+
flexDirection: "column";
|
|
93
|
+
flex: number;
|
|
94
|
+
position: "relative";
|
|
95
|
+
backgroundColor: string;
|
|
96
|
+
};
|
|
97
|
+
dataContainer: {
|
|
98
|
+
flexDirection: "column";
|
|
99
|
+
gap: number;
|
|
100
|
+
minHeight: number;
|
|
101
|
+
flex: number;
|
|
102
|
+
minWidth: number;
|
|
103
|
+
justifyContent: "space-between";
|
|
104
|
+
width: "100%";
|
|
105
|
+
paddingTop: number;
|
|
106
|
+
};
|
|
107
|
+
dataContainerPaddingDefault: {
|
|
108
|
+
padding: number;
|
|
109
|
+
};
|
|
110
|
+
dataContainerPaddingSmall: {
|
|
111
|
+
padding: number;
|
|
112
|
+
};
|
|
113
|
+
bottomDataContainer: {
|
|
114
|
+
flexDirection: "row";
|
|
115
|
+
alignItems: "flex-end";
|
|
116
|
+
justifyContent: "flex-start";
|
|
117
|
+
gap: number;
|
|
118
|
+
minHeight: number;
|
|
119
|
+
minWidth: number;
|
|
120
|
+
};
|
|
121
|
+
labelText: {
|
|
122
|
+
fontFamily?: string;
|
|
123
|
+
fontSize?: number;
|
|
124
|
+
lineHeight?: number;
|
|
125
|
+
color?: string;
|
|
126
|
+
textDecoration?: string;
|
|
127
|
+
fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
|
|
128
|
+
opacity?: number;
|
|
129
|
+
fontStyle?: "normal" | "italic";
|
|
130
|
+
paddingRight: number;
|
|
131
|
+
};
|
|
132
|
+
valueText: {
|
|
133
|
+
fontFamily?: string;
|
|
134
|
+
fontSize?: number;
|
|
135
|
+
lineHeight?: number;
|
|
136
|
+
color?: string;
|
|
137
|
+
textDecoration?: string;
|
|
138
|
+
fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
|
|
139
|
+
opacity?: number;
|
|
140
|
+
fontStyle?: "normal" | "italic";
|
|
141
|
+
};
|
|
142
|
+
badgeMedalContainer: {
|
|
143
|
+
position: "absolute";
|
|
144
|
+
top: number;
|
|
145
|
+
right: number;
|
|
146
|
+
transform: {
|
|
147
|
+
translateX: number;
|
|
148
|
+
}[];
|
|
149
|
+
width: number;
|
|
150
|
+
height: number;
|
|
151
|
+
borderRadius: number;
|
|
152
|
+
justifyContent: "center";
|
|
153
|
+
alignItems: "center";
|
|
154
|
+
};
|
|
155
|
+
outerRing: {
|
|
156
|
+
width: number;
|
|
157
|
+
height: number;
|
|
158
|
+
justifyContent: "center";
|
|
159
|
+
alignItems: "center";
|
|
160
|
+
position: "absolute";
|
|
161
|
+
left: number;
|
|
162
|
+
};
|
|
163
|
+
circularTextContainer: {
|
|
164
|
+
position: "absolute";
|
|
165
|
+
width: "100%";
|
|
166
|
+
height: "100%";
|
|
167
|
+
justifyContent: "center";
|
|
168
|
+
alignItems: "center";
|
|
169
|
+
zIndex: number;
|
|
170
|
+
} | {
|
|
171
|
+
shadowColor: string;
|
|
172
|
+
shadowOpacity: number;
|
|
173
|
+
shadowOffset: {
|
|
174
|
+
width: number;
|
|
175
|
+
height: number;
|
|
176
|
+
};
|
|
177
|
+
shadowRadius: number;
|
|
178
|
+
elevation?: undefined;
|
|
179
|
+
position: "absolute";
|
|
180
|
+
width: "100%";
|
|
181
|
+
height: "100%";
|
|
182
|
+
justifyContent: "center";
|
|
183
|
+
alignItems: "center";
|
|
184
|
+
zIndex: number;
|
|
185
|
+
} | {
|
|
186
|
+
elevation: number;
|
|
187
|
+
shadowColor?: undefined;
|
|
188
|
+
shadowOpacity?: undefined;
|
|
189
|
+
shadowOffset?: undefined;
|
|
190
|
+
shadowRadius?: undefined;
|
|
191
|
+
position: "absolute";
|
|
192
|
+
width: "100%";
|
|
193
|
+
height: "100%";
|
|
194
|
+
justifyContent: "center";
|
|
195
|
+
alignItems: "center";
|
|
196
|
+
zIndex: number;
|
|
197
|
+
};
|
|
198
|
+
innerHexSvg: {
|
|
199
|
+
position: "absolute";
|
|
200
|
+
top: number;
|
|
201
|
+
left: number;
|
|
202
|
+
width: number;
|
|
203
|
+
height: number;
|
|
204
|
+
justifyContent: "center";
|
|
205
|
+
alignItems: "center";
|
|
206
|
+
};
|
|
207
|
+
emblemContainer: {
|
|
208
|
+
width: number;
|
|
209
|
+
height: number;
|
|
210
|
+
justifyContent: "center";
|
|
211
|
+
alignItems: "center";
|
|
212
|
+
position: "absolute";
|
|
213
|
+
top: number;
|
|
214
|
+
left: number;
|
|
215
|
+
zIndex: number;
|
|
216
|
+
};
|
|
217
|
+
emblemImage: {
|
|
218
|
+
width: number;
|
|
219
|
+
height: number;
|
|
220
|
+
};
|
|
221
|
+
ribbon: {
|
|
222
|
+
width: number;
|
|
223
|
+
height: number;
|
|
224
|
+
marginTop: number;
|
|
225
|
+
zIndex: number;
|
|
226
|
+
};
|
|
227
|
+
innerBorder: {};
|
|
228
|
+
};
|
package/dist/components/native/Credentials/LegalAgeCredential/legalAgeCredential_types.native.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HeadingCredentialProps } from '../../Headings/HeadingCredential/HeadingCredential_types.native';
|
|
2
|
+
export type LegalageCredentialAge = '16' | '18' | '21' | '65';
|
|
3
|
+
export type LegalageCredentialSize = 'default' | 'small';
|
|
4
|
+
export interface LegalageCredentialProps {
|
|
5
|
+
age?: LegalageCredentialAge;
|
|
6
|
+
size?: LegalageCredentialSize;
|
|
7
|
+
titleText: string;
|
|
8
|
+
headingCredential1: HeadingCredentialProps;
|
|
9
|
+
headingCredential2: HeadingCredentialProps;
|
|
10
|
+
onStarPress?: () => void;
|
|
11
|
+
isFavorite?: boolean;
|
|
12
|
+
certificateText?: string;
|
|
13
|
+
hasBadge?: boolean;
|
|
14
|
+
containerStyle?: any;
|
|
15
|
+
}
|
package/dist/components/native/Credentials/PersonalIdCredential/personalIdCredential_config.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ColorsType } from '../../../../styles/Colors';
|
|
2
|
+
import { PersonalIdCredentialsColors, PersonalIdCredentialsSize } from './personalIdCredential_types.native';
|
|
3
|
+
type ColorTheme = {
|
|
4
|
+
idNumberColor: string;
|
|
5
|
+
gradientcolors: string[];
|
|
6
|
+
headerBgColor: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const createColorTheme: (colors: ColorsType) => Record<PersonalIdCredentialsColors, ColorTheme>;
|
|
9
|
+
type SizeTheme = {
|
|
10
|
+
generalContainerStyle: any;
|
|
11
|
+
mainDataStyle: any;
|
|
12
|
+
photoPositionStyle: any;
|
|
13
|
+
dataPadding: any;
|
|
14
|
+
};
|
|
15
|
+
export declare const createPersonalIdSizeTheme: (generalStyles: Record<string, any>) => Record<PersonalIdCredentialsSize, SizeTheme>;
|
|
16
|
+
export declare const resolvePersonalIdSizeTheme: (generalStyles: Record<string, any>, size?: PersonalIdCredentialsSize) => SizeTheme;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import { ColorsType } from '../../../../styles/Colors';
|
|
2
|
+
import { StyleType } from '../../../../styles/Fonts';
|
|
3
|
+
export declare const styles: (colors: ColorsType, fontStyles: StyleType, thereIsPhoto: boolean) => {
|
|
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
|
+
borderRadius: number;
|
|
70
|
+
paddingVertical: number;
|
|
71
|
+
justifyContent: "center";
|
|
72
|
+
alignItems: "flex-start";
|
|
73
|
+
};
|
|
74
|
+
headerPaddingDefault: {
|
|
75
|
+
paddingHorizontal: number;
|
|
76
|
+
};
|
|
77
|
+
headerPaddingSmall: {
|
|
78
|
+
paddingHorizontal: number;
|
|
79
|
+
};
|
|
80
|
+
headerTextContainer: {
|
|
81
|
+
marginRight: number;
|
|
82
|
+
gap: number;
|
|
83
|
+
};
|
|
84
|
+
headerText: {
|
|
85
|
+
color: string;
|
|
86
|
+
fontFamily?: string;
|
|
87
|
+
fontSize?: number;
|
|
88
|
+
lineHeight?: number;
|
|
89
|
+
textDecoration?: string;
|
|
90
|
+
fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
|
|
91
|
+
opacity?: number;
|
|
92
|
+
fontStyle?: "normal" | "italic";
|
|
93
|
+
};
|
|
94
|
+
mainDataContent: {
|
|
95
|
+
flex: number;
|
|
96
|
+
flexDirection: "column";
|
|
97
|
+
paddingTop: number;
|
|
98
|
+
paddingHorizontal: number;
|
|
99
|
+
paddingBottom: number;
|
|
100
|
+
};
|
|
101
|
+
dataContainerWithBg: {
|
|
102
|
+
flex: number;
|
|
103
|
+
borderLeftWidth: number;
|
|
104
|
+
borderRightWidth: number;
|
|
105
|
+
borderBottomWidth: number;
|
|
106
|
+
borderTopWidth: number;
|
|
107
|
+
borderColor: string;
|
|
108
|
+
borderBottomLeftRadius: number;
|
|
109
|
+
borderBottomRightRadius: number;
|
|
110
|
+
paddingTop: number;
|
|
111
|
+
flexDirection: "column";
|
|
112
|
+
gap: number;
|
|
113
|
+
backgroundColor: string;
|
|
114
|
+
};
|
|
115
|
+
dataContainerPaddingDefault: {
|
|
116
|
+
paddingHorizontal: number;
|
|
117
|
+
paddingBottom: number;
|
|
118
|
+
};
|
|
119
|
+
dataContainerPaddingSmall: {
|
|
120
|
+
paddingHorizontal: number;
|
|
121
|
+
paddingBottom: number;
|
|
122
|
+
};
|
|
123
|
+
fullNameSectionDefault: {
|
|
124
|
+
gap: number;
|
|
125
|
+
};
|
|
126
|
+
fullNameSectionSmall: {
|
|
127
|
+
gap: number;
|
|
128
|
+
};
|
|
129
|
+
fullNamelabelText: {
|
|
130
|
+
marginRight: number;
|
|
131
|
+
};
|
|
132
|
+
labelText: {
|
|
133
|
+
color: string;
|
|
134
|
+
fontFamily?: string;
|
|
135
|
+
fontSize?: number;
|
|
136
|
+
lineHeight?: number;
|
|
137
|
+
textDecoration?: string;
|
|
138
|
+
fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
|
|
139
|
+
opacity?: number;
|
|
140
|
+
fontStyle?: "normal" | "italic";
|
|
141
|
+
};
|
|
142
|
+
fullNameText: {
|
|
143
|
+
marginRight: number;
|
|
144
|
+
color: string;
|
|
145
|
+
fontFamily?: string;
|
|
146
|
+
fontSize?: number;
|
|
147
|
+
lineHeight?: number;
|
|
148
|
+
textDecoration?: string;
|
|
149
|
+
fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
|
|
150
|
+
opacity?: number;
|
|
151
|
+
fontStyle?: "normal" | "italic";
|
|
152
|
+
};
|
|
153
|
+
bottomContainer: {
|
|
154
|
+
flex: number;
|
|
155
|
+
width: "100%";
|
|
156
|
+
flexDirection: "row";
|
|
157
|
+
alignItems: "flex-start";
|
|
158
|
+
justifyContent: "space-between";
|
|
159
|
+
gap: number;
|
|
160
|
+
};
|
|
161
|
+
bottomDataContainer: {
|
|
162
|
+
flex: number;
|
|
163
|
+
width: "100%";
|
|
164
|
+
flexDirection: "column";
|
|
165
|
+
alignItems: "flex-start";
|
|
166
|
+
justifyContent: "space-between";
|
|
167
|
+
alignSelf: "stretch";
|
|
168
|
+
gap: number;
|
|
169
|
+
};
|
|
170
|
+
fieldSection: {
|
|
171
|
+
flex: number;
|
|
172
|
+
flexDirection: "column";
|
|
173
|
+
gap: number;
|
|
174
|
+
justifyContent: "flex-start";
|
|
175
|
+
minHeight: number;
|
|
176
|
+
minWidth: number;
|
|
177
|
+
};
|
|
178
|
+
valueText: {
|
|
179
|
+
color: string;
|
|
180
|
+
fontFamily?: string;
|
|
181
|
+
fontSize?: number;
|
|
182
|
+
lineHeight?: number;
|
|
183
|
+
textDecoration?: string;
|
|
184
|
+
fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
|
|
185
|
+
opacity?: number;
|
|
186
|
+
fontStyle?: "normal" | "italic";
|
|
187
|
+
};
|
|
188
|
+
idNumberText: {
|
|
189
|
+
fontFamily?: string;
|
|
190
|
+
fontSize?: number;
|
|
191
|
+
lineHeight?: number;
|
|
192
|
+
color?: string;
|
|
193
|
+
textDecoration?: string;
|
|
194
|
+
fontWeight?: "bold" | "normal" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
|
|
195
|
+
opacity?: number;
|
|
196
|
+
fontStyle?: "normal" | "italic";
|
|
197
|
+
};
|
|
198
|
+
photo: {
|
|
199
|
+
position: "absolute";
|
|
200
|
+
top: number;
|
|
201
|
+
width: number;
|
|
202
|
+
height: number;
|
|
203
|
+
borderRadius: number;
|
|
204
|
+
shadowColor: string;
|
|
205
|
+
shadowOffset: {
|
|
206
|
+
width: number;
|
|
207
|
+
height: number;
|
|
208
|
+
};
|
|
209
|
+
shadowOpacity: number;
|
|
210
|
+
shadowRadius: number;
|
|
211
|
+
elevation: number;
|
|
212
|
+
overflow: "hidden";
|
|
213
|
+
} | {
|
|
214
|
+
shadowColor: string;
|
|
215
|
+
shadowOpacity: number;
|
|
216
|
+
shadowOffset: {
|
|
217
|
+
width: number;
|
|
218
|
+
height: number;
|
|
219
|
+
};
|
|
220
|
+
shadowRadius: number;
|
|
221
|
+
elevation: number;
|
|
222
|
+
position: "absolute";
|
|
223
|
+
top: number;
|
|
224
|
+
width: number;
|
|
225
|
+
height: number;
|
|
226
|
+
borderRadius: number;
|
|
227
|
+
overflow: "hidden";
|
|
228
|
+
} | {
|
|
229
|
+
elevation: number;
|
|
230
|
+
shadowColor: string;
|
|
231
|
+
shadowOpacity: number;
|
|
232
|
+
shadowOffset: {
|
|
233
|
+
width: number;
|
|
234
|
+
height: number;
|
|
235
|
+
};
|
|
236
|
+
shadowRadius: number;
|
|
237
|
+
position: "absolute";
|
|
238
|
+
top: number;
|
|
239
|
+
width: number;
|
|
240
|
+
height: number;
|
|
241
|
+
borderRadius: number;
|
|
242
|
+
overflow: "hidden";
|
|
243
|
+
};
|
|
244
|
+
photoDefault: {
|
|
245
|
+
right: number;
|
|
246
|
+
};
|
|
247
|
+
photoSmall: {
|
|
248
|
+
right: number;
|
|
249
|
+
};
|
|
250
|
+
photoImage: {
|
|
251
|
+
width: "100%";
|
|
252
|
+
height: "100%";
|
|
253
|
+
position: "absolute";
|
|
254
|
+
backgroundColor: string;
|
|
255
|
+
left: number;
|
|
256
|
+
top: number;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IconSize, IconStyle } from '../../icon_types';
|
|
2
|
+
type CredentialViewIconProps = {
|
|
3
|
+
id?: string;
|
|
4
|
+
size: IconSize;
|
|
5
|
+
color?: string;
|
|
6
|
+
style: IconStyle;
|
|
7
|
+
};
|
|
8
|
+
declare const CredentialViewIcon: (props: CredentialViewIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default CredentialViewIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IconSize, IconStyle } from '../../icon_types';
|
|
2
|
+
type StackIconProps = {
|
|
3
|
+
id?: string;
|
|
4
|
+
size: IconSize;
|
|
5
|
+
color?: string;
|
|
6
|
+
style: IconStyle;
|
|
7
|
+
};
|
|
8
|
+
declare const StackIcon: (props: StackIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default StackIcon;
|
|
@@ -11,6 +11,7 @@ export { default as KeyIcon } from './icons/withSelectedState/key';
|
|
|
11
11
|
export { default as ConnectIcon } from './icons/withSelectedState/connect';
|
|
12
12
|
export { default as ServicesLinkedV4Icon } from './icons/withSelectedState/servicesLinkedV4';
|
|
13
13
|
export { default as CircleWarningIcon } from './icons/withSelectedState/circleWarning';
|
|
14
|
+
export { default as CredentialViewIcon } from './icons/withSelectedState/credentialView';
|
|
14
15
|
export { default as FeaturesIcon } from './icons/withSelectedState/features';
|
|
15
16
|
export { default as UsersV2Icon } from './icons/withSelectedState/users';
|
|
16
17
|
export { default as AwardIcon } from './icons/withSelectedState/award';
|
|
@@ -27,6 +28,7 @@ export { default as PaymentMethodIcon } from './icons/withSelectedState/paymentM
|
|
|
27
28
|
export { default as StarIcon } from './icons/withSelectedState/star';
|
|
28
29
|
export { default as SubscriptionsIcon } from './icons/withSelectedState/subscriptions';
|
|
29
30
|
export { default as StampIcon } from './icons/withSelectedState/stamp';
|
|
31
|
+
export { default as StackIcon } from './icons/withSelectedState/stack';
|
|
30
32
|
export { default as SettingsIcon } from './icons/withSelectedState/settings';
|
|
31
33
|
export { default as ServicesLinkedV2Icon } from './icons/withSelectedState/servicesLinkedV2';
|
|
32
34
|
export { default as ShieldCheckIcon } from './icons/withSelectedState/shieldCheck';
|
|
@@ -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';
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
+
import { IconSize, IconStyle } from '../../Icons/icon_types';
|
|
1
2
|
export type Size = 'medium' | 'small';
|
|
2
3
|
export type SelectedColor = 'purple' | 'white';
|
|
3
4
|
export interface SegmentedButtonItem {
|
|
4
5
|
id: string;
|
|
5
|
-
text
|
|
6
|
+
text?: string;
|
|
7
|
+
Icon?: React.FC<{
|
|
8
|
+
size: IconSize;
|
|
9
|
+
style: IconStyle;
|
|
10
|
+
color: string;
|
|
11
|
+
}>;
|
|
12
|
+
iconColor?: string;
|
|
6
13
|
}
|
|
7
14
|
export interface SegmentedButtonProps<D = any> {
|
|
8
15
|
id?: string;
|
|
@@ -375,12 +375,14 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
375
375
|
};
|
|
376
376
|
outline: {
|
|
377
377
|
enable: {
|
|
378
|
+
bordersColor: string;
|
|
378
379
|
textColor: string;
|
|
379
380
|
};
|
|
380
381
|
hover: {
|
|
381
382
|
textColor: string;
|
|
382
383
|
};
|
|
383
384
|
active: {
|
|
385
|
+
backgroundColor: string;
|
|
384
386
|
textColor: string;
|
|
385
387
|
bordersColor: string;
|
|
386
388
|
};
|