@gataca/design-system 4.2.0 → 4.3.1
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/components/native/Icons/icons/profilePhoto.d.ts +1 -1
- package/dist/components/native/TextField/TextField/textField_config.d.ts +3 -3
- package/dist/components/native/Tooltips/Tooltip/components/Backdrop.native.d.ts +1 -1
- package/dist/components/web/Alerts/Alert/Alert_config.web.d.ts +4 -4
- package/dist/components/web/Avatars/Avatar/Avatar.config.web.d.ts +4 -188
- package/dist/components/web/Buttons/Button/Button.config.web.d.ts +30 -4
- package/dist/components/web/Buttons/SegmentedButton/SegmentedButton.config.web.d.ts +3 -3
- package/dist/components/web/Buttons/SegmentedButton/styles.web.d.ts +2 -2
- package/dist/components/web/Chips/Chip/Chip.config.web.d.ts +41 -4
- package/dist/components/web/Icons/icons/checkbox.d.ts +2 -2
- package/dist/components/web/Icons/icons/commitment.d.ts +1 -1
- package/dist/components/web/Icons/icons/compliance.d.ts +1 -1
- package/dist/components/web/Icons/icons/devices.d.ts +1 -1
- package/dist/components/web/Icons/icons/disconnect.d.ts +1 -1
- package/dist/components/web/Icons/icons/government.d.ts +1 -1
- package/dist/components/web/Icons/icons/navigation.d.ts +1 -1
- package/dist/components/web/Icons/icons/plusCircle.d.ts +1 -1
- package/dist/components/web/Icons/icons/radioButton.d.ts +2 -2
- package/dist/components/web/Icons/icons/userSecure.d.ts +1 -1
- package/dist/components/web/Indicator/Indicator/indicator_types.web.d.ts +2 -2
- package/dist/components/web/Indicator/NumberBadges/numberBadges_types.web.d.ts +8 -8
- package/dist/components/web/Lists/ListItem/listItem.config.web.d.ts +3 -3
- package/dist/components/web/Menus/MenuItem/MenuItem_types.web.d.ts +3 -12
- package/dist/components/web/Tabs/ButtonTabs/ButtonTabs.config.web.d.ts +4 -4
- package/dist/components/web/Tabs/Tabs/tabs_types.web.d.ts +12 -12
- package/dist/components/web/TextField/TextField/textField_config.d.ts +3 -3
- 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/dist/styles/Colors.d.ts +170 -1
- package/dist/utils/theming/themeProvider.d.ts +7 -2
- package/package.json +92 -18
|
@@ -5,5 +5,5 @@ type ProfilePhotoIconProps = {
|
|
|
5
5
|
color?: string;
|
|
6
6
|
style?: IconStyle;
|
|
7
7
|
};
|
|
8
|
-
export declare const ProfilePhotoIcon: ({ id, size, color }: ProfilePhotoIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const ProfilePhotoIcon: ({ id, size, color, }: ProfilePhotoIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
export default ProfilePhotoIcon;
|
|
@@ -12,6 +12,6 @@ export declare const inputBorder: {
|
|
|
12
12
|
success: string;
|
|
13
13
|
error: string;
|
|
14
14
|
};
|
|
15
|
-
export declare const inputColor: (state: TextFieldState, value?: string) => "
|
|
16
|
-
export declare const inputBackgroundColor: (state: TextFieldState) => "
|
|
17
|
-
export declare const helperTextColor: (state: TextFieldState) => "
|
|
15
|
+
export declare const inputColor: (state: TextFieldState, value?: string) => "neutral1000" | "neutral600";
|
|
16
|
+
export declare const inputBackgroundColor: (state: TextFieldState) => "neutral300" | "fundationWhite";
|
|
17
|
+
export declare const helperTextColor: (state: TextFieldState) => "success300" | "alert300" | "neutral600";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { BackdropProps } from '../tooltip_types.native';
|
|
2
2
|
export declare const ANIMATION_DURATION = 250;
|
|
3
|
-
export default function Backdrop({ children, onPress, visible }: BackdropProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default function Backdrop({ children, onPress, visible, }: BackdropProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ThemeColorsType } from '../../../../styles';
|
|
2
2
|
export declare const iconsByState: {
|
|
3
3
|
alert: (props: {
|
|
4
4
|
id?: string;
|
|
@@ -29,19 +29,19 @@ export declare const iconsByState: {
|
|
|
29
29
|
style?: import("../../Icons/icon_types").IconStyle;
|
|
30
30
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
};
|
|
32
|
-
export declare const iconColor: (
|
|
32
|
+
export declare const iconColor: (themeColors: ThemeColorsType) => {
|
|
33
33
|
alert: string;
|
|
34
34
|
warning: string;
|
|
35
35
|
info: string;
|
|
36
36
|
success: string;
|
|
37
37
|
};
|
|
38
|
-
export declare const borderColor: (
|
|
38
|
+
export declare const borderColor: (themeColors: ThemeColorsType) => {
|
|
39
39
|
alert: string;
|
|
40
40
|
warning: string;
|
|
41
41
|
info: string;
|
|
42
42
|
success: string;
|
|
43
43
|
};
|
|
44
|
-
export declare const bgColor: (
|
|
44
|
+
export declare const bgColor: (themeColors: ThemeColorsType) => {
|
|
45
45
|
alert: string;
|
|
46
46
|
warning: string;
|
|
47
47
|
info: string;
|
|
@@ -1,190 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StyleType, ThemeColorsType } from '../../../../utils/theming';
|
|
2
2
|
import { AvatarType } from './Avatar.types.web';
|
|
3
|
-
export declare const
|
|
4
|
-
white: {
|
|
5
|
-
enable: {
|
|
6
|
-
backgroundColor: string;
|
|
7
|
-
iconColor: string;
|
|
8
|
-
};
|
|
9
|
-
hover: {
|
|
10
|
-
backgroundColor: string;
|
|
11
|
-
iconColor: string;
|
|
12
|
-
};
|
|
13
|
-
disable: {
|
|
14
|
-
backgroundColor: string;
|
|
15
|
-
iconColor: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
black: {
|
|
19
|
-
enable: {
|
|
20
|
-
backgroundColor: string;
|
|
21
|
-
iconColor: string;
|
|
22
|
-
};
|
|
23
|
-
hover: {
|
|
24
|
-
backgroundColor: string;
|
|
25
|
-
iconColor: string;
|
|
26
|
-
};
|
|
27
|
-
disable: {
|
|
28
|
-
backgroundColor: string;
|
|
29
|
-
iconColor: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
purple: {
|
|
33
|
-
enable: {
|
|
34
|
-
backgroundColor: string;
|
|
35
|
-
iconColor: string;
|
|
36
|
-
};
|
|
37
|
-
hover: {
|
|
38
|
-
backgroundColor: string;
|
|
39
|
-
iconColor: string;
|
|
40
|
-
};
|
|
41
|
-
disable: {
|
|
42
|
-
backgroundColor: string;
|
|
43
|
-
iconColor: string;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
lightPurple: {
|
|
47
|
-
enable: {
|
|
48
|
-
backgroundColor: string;
|
|
49
|
-
iconColor: string;
|
|
50
|
-
};
|
|
51
|
-
hover: {
|
|
52
|
-
backgroundColor: string;
|
|
53
|
-
iconColor: string;
|
|
54
|
-
};
|
|
55
|
-
disable: {
|
|
56
|
-
backgroundColor: string;
|
|
57
|
-
iconColor: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
red: {
|
|
61
|
-
enable: {
|
|
62
|
-
backgroundColor: string;
|
|
63
|
-
iconColor: string;
|
|
64
|
-
};
|
|
65
|
-
hover: {
|
|
66
|
-
backgroundColor: string;
|
|
67
|
-
iconColor: string;
|
|
68
|
-
};
|
|
69
|
-
disable: {
|
|
70
|
-
backgroundColor: string;
|
|
71
|
-
iconColor: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
green: {
|
|
75
|
-
enable: {
|
|
76
|
-
backgroundColor: string;
|
|
77
|
-
iconColor: string;
|
|
78
|
-
};
|
|
79
|
-
hover: {
|
|
80
|
-
backgroundColor: string;
|
|
81
|
-
iconColor: string;
|
|
82
|
-
};
|
|
83
|
-
disable: {
|
|
84
|
-
backgroundColor: string;
|
|
85
|
-
iconColor: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
yellow: {
|
|
89
|
-
enable: {
|
|
90
|
-
backgroundColor: string;
|
|
91
|
-
iconColor: string;
|
|
92
|
-
};
|
|
93
|
-
hover: {
|
|
94
|
-
backgroundColor: string;
|
|
95
|
-
iconColor: string;
|
|
96
|
-
};
|
|
97
|
-
disable: {
|
|
98
|
-
backgroundColor: string;
|
|
99
|
-
iconColor: string;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
blue: {
|
|
103
|
-
enable: {
|
|
104
|
-
backgroundColor: string;
|
|
105
|
-
iconColor: string;
|
|
106
|
-
};
|
|
107
|
-
hover: {
|
|
108
|
-
backgroundColor: string;
|
|
109
|
-
iconColor: string;
|
|
110
|
-
};
|
|
111
|
-
disable: {
|
|
112
|
-
backgroundColor: string;
|
|
113
|
-
iconColor: string;
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
teal: {
|
|
117
|
-
enable: {
|
|
118
|
-
backgroundColor: string;
|
|
119
|
-
iconColor: string;
|
|
120
|
-
};
|
|
121
|
-
hover: {
|
|
122
|
-
backgroundColor: string;
|
|
123
|
-
iconColor: string;
|
|
124
|
-
};
|
|
125
|
-
disable: {
|
|
126
|
-
backgroundColor: string;
|
|
127
|
-
iconColor: string;
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
lightTeal: {
|
|
131
|
-
enable: {
|
|
132
|
-
backgroundColor: string;
|
|
133
|
-
iconColor: string;
|
|
134
|
-
};
|
|
135
|
-
hover: {
|
|
136
|
-
backgroundColor: string;
|
|
137
|
-
iconColor: string;
|
|
138
|
-
};
|
|
139
|
-
disable: {
|
|
140
|
-
backgroundColor: string;
|
|
141
|
-
iconColor: string;
|
|
142
|
-
};
|
|
143
|
-
};
|
|
144
|
-
grey: {
|
|
145
|
-
enable: {
|
|
146
|
-
backgroundColor: string;
|
|
147
|
-
iconColor: string;
|
|
148
|
-
};
|
|
149
|
-
hover: {
|
|
150
|
-
backgroundColor: string;
|
|
151
|
-
iconColor: string;
|
|
152
|
-
};
|
|
153
|
-
disable: {
|
|
154
|
-
backgroundColor: string;
|
|
155
|
-
iconColor: string;
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
pink: {
|
|
159
|
-
enable: {
|
|
160
|
-
backgroundColor: string;
|
|
161
|
-
iconColor: string;
|
|
162
|
-
};
|
|
163
|
-
hover: {
|
|
164
|
-
backgroundColor: string;
|
|
165
|
-
iconColor: string;
|
|
166
|
-
};
|
|
167
|
-
disable: {
|
|
168
|
-
backgroundColor: string;
|
|
169
|
-
iconColor: string;
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
lightPink: {
|
|
173
|
-
enable: {
|
|
174
|
-
backgroundColor: string;
|
|
175
|
-
iconColor: string;
|
|
176
|
-
};
|
|
177
|
-
hover: {
|
|
178
|
-
backgroundColor: string;
|
|
179
|
-
iconColor: string;
|
|
180
|
-
};
|
|
181
|
-
disable: {
|
|
182
|
-
backgroundColor: string;
|
|
183
|
-
iconColor: string;
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
};
|
|
187
|
-
export declare const avatarBgColorMap: (Colors: ColorsType) => {
|
|
3
|
+
export declare const avatarBgColorMap: (themeColors: ThemeColorsType) => {
|
|
188
4
|
black: string;
|
|
189
5
|
purple: string;
|
|
190
6
|
pink: string;
|
|
@@ -202,7 +18,7 @@ export declare const avatarFontsMap: (fonts: StyleType) => {
|
|
|
202
18
|
};
|
|
203
19
|
export declare const avatarIndicatorSizeMap: Record<string, string>;
|
|
204
20
|
export declare const avatarButtonIconSizeMap: Record<string, string>;
|
|
205
|
-
export declare const getAvatarGeneralStyles: (
|
|
21
|
+
export declare const getAvatarGeneralStyles: (themeColors: ThemeColorsType, size: string, color: string, type?: AvatarType, image?: string) => {
|
|
206
22
|
backgroundColor: any;
|
|
207
23
|
backgroundImage: any;
|
|
208
24
|
borderRadius: any;
|
|
@@ -211,5 +27,5 @@ export declare const getAvatarGeneralStyles: (colors: ColorsType, size: string,
|
|
|
211
27
|
};
|
|
212
28
|
export declare const getAvatarPaddings: (size: string) => "8px" | "12px";
|
|
213
29
|
export declare const getAvatarMinSize: (size: string) => 48 | 40 | 32;
|
|
214
|
-
export declare const getAvatarTextStyles: (fontStyles: StyleType,
|
|
30
|
+
export declare const getAvatarTextStyles: (fontStyles: StyleType, themeColors: ThemeColorsType, size: string) => any;
|
|
215
31
|
export declare function getInitials(text: string): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ColorsType, StyleType } from '../../../../utils/theming';
|
|
2
|
-
export declare const createColorMap: (
|
|
1
|
+
import { ColorsType, ThemeColorsType, StyleType } from '../../../../utils/theming';
|
|
2
|
+
export declare const createColorMap: (Theme: ThemeColorsType) => {
|
|
3
3
|
white: {
|
|
4
4
|
fill: {
|
|
5
5
|
enable: {
|
|
@@ -82,11 +82,14 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
82
82
|
};
|
|
83
83
|
hover: {
|
|
84
84
|
textColor: string;
|
|
85
|
+
bordersColor: string;
|
|
85
86
|
};
|
|
86
87
|
focus: {
|
|
87
88
|
textColor: string;
|
|
89
|
+
bordersColor: string;
|
|
88
90
|
};
|
|
89
91
|
disable: {
|
|
92
|
+
bordersColor: string;
|
|
90
93
|
textColor: string;
|
|
91
94
|
};
|
|
92
95
|
};
|
|
@@ -121,6 +124,7 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
121
124
|
focus: {
|
|
122
125
|
backgroundColor: string;
|
|
123
126
|
textColor: string;
|
|
127
|
+
bordersColor: string;
|
|
124
128
|
};
|
|
125
129
|
disable: {
|
|
126
130
|
backgroundColor: string;
|
|
@@ -135,11 +139,14 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
135
139
|
};
|
|
136
140
|
hover: {
|
|
137
141
|
textColor: string;
|
|
142
|
+
bordersColor: string;
|
|
138
143
|
};
|
|
139
144
|
focus: {
|
|
140
145
|
textColor: string;
|
|
146
|
+
bordersColor: string;
|
|
141
147
|
};
|
|
142
148
|
disable: {
|
|
149
|
+
bordersColor: string;
|
|
143
150
|
textColor: string;
|
|
144
151
|
};
|
|
145
152
|
};
|
|
@@ -185,14 +192,18 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
185
192
|
enable: {
|
|
186
193
|
iconColor: string;
|
|
187
194
|
textColor: string;
|
|
195
|
+
bordersColor: string;
|
|
188
196
|
};
|
|
189
197
|
hover: {
|
|
190
198
|
textColor: string;
|
|
199
|
+
bordersColor: string;
|
|
191
200
|
};
|
|
192
201
|
focus: {
|
|
193
202
|
textColor: string;
|
|
203
|
+
bordersColor: string;
|
|
194
204
|
};
|
|
195
205
|
disable: {
|
|
206
|
+
bordersColor: string;
|
|
196
207
|
textColor: string;
|
|
197
208
|
};
|
|
198
209
|
};
|
|
@@ -242,11 +253,14 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
242
253
|
};
|
|
243
254
|
hover: {
|
|
244
255
|
textColor: string;
|
|
256
|
+
bordersColor: string;
|
|
245
257
|
};
|
|
246
258
|
focus: {
|
|
247
259
|
textColor: string;
|
|
260
|
+
bordersColor: string;
|
|
248
261
|
};
|
|
249
262
|
disable: {
|
|
263
|
+
bordersColor: string;
|
|
250
264
|
textColor: string;
|
|
251
265
|
};
|
|
252
266
|
};
|
|
@@ -296,11 +310,14 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
296
310
|
};
|
|
297
311
|
hover: {
|
|
298
312
|
textColor: string;
|
|
313
|
+
bordersColor: string;
|
|
299
314
|
};
|
|
300
315
|
focus: {
|
|
301
316
|
textColor: string;
|
|
317
|
+
bordersColor: string;
|
|
302
318
|
};
|
|
303
319
|
disable: {
|
|
320
|
+
bordersColor: string;
|
|
304
321
|
textColor: string;
|
|
305
322
|
};
|
|
306
323
|
};
|
|
@@ -350,9 +367,11 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
350
367
|
};
|
|
351
368
|
hover: {
|
|
352
369
|
textColor: string;
|
|
370
|
+
bordersColor: string;
|
|
353
371
|
};
|
|
354
372
|
focus: {
|
|
355
373
|
textColor: string;
|
|
374
|
+
bordersColor: string;
|
|
356
375
|
};
|
|
357
376
|
disable: {
|
|
358
377
|
bordersColor: string;
|
|
@@ -406,11 +425,14 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
406
425
|
};
|
|
407
426
|
hover: {
|
|
408
427
|
textColor: string;
|
|
428
|
+
bordersColor: string;
|
|
409
429
|
};
|
|
410
430
|
focus: {
|
|
411
431
|
textColor: string;
|
|
432
|
+
bordersColor: string;
|
|
412
433
|
};
|
|
413
434
|
disable: {
|
|
435
|
+
bordersColor: string;
|
|
414
436
|
textColor: string;
|
|
415
437
|
};
|
|
416
438
|
};
|
|
@@ -455,16 +477,20 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
455
477
|
outline: {
|
|
456
478
|
enable: {
|
|
457
479
|
textColor: string;
|
|
480
|
+
bordersColor: string;
|
|
458
481
|
};
|
|
459
482
|
hover: {
|
|
460
483
|
backgroundColor: string;
|
|
461
484
|
textColor: string;
|
|
485
|
+
bordersColor: string;
|
|
462
486
|
};
|
|
463
487
|
focus: {
|
|
464
488
|
backgroundColor: string;
|
|
465
489
|
textColor: string;
|
|
490
|
+
bordersColor: string;
|
|
466
491
|
};
|
|
467
492
|
disable: {
|
|
493
|
+
bordersColor: string;
|
|
468
494
|
textColor: string;
|
|
469
495
|
};
|
|
470
496
|
};
|
|
@@ -487,7 +513,7 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
487
513
|
};
|
|
488
514
|
};
|
|
489
515
|
};
|
|
490
|
-
export declare const getButtonGeneralStyles: (colors: ColorsType, color: string, style: string, state: string, textSize: string, hasIcon?: boolean) => {
|
|
516
|
+
export declare const getButtonGeneralStyles: (colors: ColorsType, themeColors: ThemeColorsType, color: string, style: string, state: string, textSize: string, hasIcon?: boolean) => {
|
|
491
517
|
minHeight: number;
|
|
492
518
|
boxShadow: string | undefined;
|
|
493
519
|
padding: string;
|
|
@@ -502,7 +528,7 @@ export declare const getButtonPaddings: (textSize: string, style: string) => {
|
|
|
502
528
|
padding: string;
|
|
503
529
|
};
|
|
504
530
|
export declare const getButtonMinHeight: (textSize: string, hasIcon?: boolean) => 34 | 48 | 40 | 42;
|
|
505
|
-
export declare const getButtonContentStyles: (fontStyles: StyleType,
|
|
531
|
+
export declare const getButtonContentStyles: (fontStyles: StyleType, themeColors: ThemeColorsType, color: string, style: string, state: string, textSize: string) => {
|
|
506
532
|
styles: {
|
|
507
533
|
lineHeight: string;
|
|
508
534
|
color: any;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ThemeColorsType } from '../../../../utils/theming';
|
|
2
2
|
import { SelectedColor, Size } from './SegmentedButton.types.web';
|
|
3
|
-
export declare const getContainerStyle: (
|
|
3
|
+
export declare const getContainerStyle: (themeColors: ThemeColorsType, size: Size, selectedColor: SelectedColor) => {
|
|
4
4
|
backgroundColor: string;
|
|
5
5
|
padding: string;
|
|
6
6
|
minHeight: string;
|
|
7
7
|
};
|
|
8
|
-
export declare const getSliderStyle: (
|
|
8
|
+
export declare const getSliderStyle: (themeColors: ThemeColorsType, size: Size, selectedColor: SelectedColor, itemsLength: number, sliderTranslateX: any, sliderOpacity: any) => {
|
|
9
9
|
backgroundColor: string;
|
|
10
10
|
width: string;
|
|
11
11
|
transform: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const styles: (
|
|
1
|
+
import { ThemeColorsType } from '../../../../styles';
|
|
2
|
+
export declare const styles: (themeColors: ThemeColorsType) => {
|
|
3
3
|
container: React.CSSProperties;
|
|
4
4
|
slider: React.CSSProperties;
|
|
5
5
|
item: React.CSSProperties;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorsType, StyleType } from '../../../../utils/theming';
|
|
1
|
+
import { ColorsType, ThemeColorsType, StyleType } from '../../../../utils/theming';
|
|
2
2
|
import { IconSize } from '../../Icons/icon_types';
|
|
3
3
|
export declare const leadingIconMap: {
|
|
4
4
|
[key: string]: React.FC<{
|
|
@@ -12,7 +12,7 @@ export declare const trailingIconMap: {
|
|
|
12
12
|
color: string;
|
|
13
13
|
}>;
|
|
14
14
|
};
|
|
15
|
-
export declare const createColorMap: (Colors: ColorsType) => {
|
|
15
|
+
export declare const createColorMap: (Colors: ColorsType, Theme: ThemeColorsType) => {
|
|
16
16
|
white: {
|
|
17
17
|
filled: {
|
|
18
18
|
enable: {
|
|
@@ -26,6 +26,7 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
26
26
|
active: {
|
|
27
27
|
backgroundColor: string;
|
|
28
28
|
textColor: string;
|
|
29
|
+
bordersColor: string;
|
|
29
30
|
};
|
|
30
31
|
disable: {
|
|
31
32
|
backgroundColor: string;
|
|
@@ -70,14 +71,18 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
70
71
|
outline: {
|
|
71
72
|
enable: {
|
|
72
73
|
textColor: string;
|
|
74
|
+
bordersColor: string;
|
|
73
75
|
};
|
|
74
76
|
hover: {
|
|
75
77
|
textColor: string;
|
|
78
|
+
bordersColor: string;
|
|
76
79
|
};
|
|
77
80
|
active: {
|
|
78
81
|
textColor: string;
|
|
82
|
+
bordersColor: string;
|
|
79
83
|
};
|
|
80
84
|
disable: {
|
|
85
|
+
bordersColor: string;
|
|
81
86
|
textColor: string;
|
|
82
87
|
};
|
|
83
88
|
};
|
|
@@ -104,14 +109,18 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
104
109
|
outline: {
|
|
105
110
|
enable: {
|
|
106
111
|
textColor: string;
|
|
112
|
+
bordersColor: string;
|
|
107
113
|
};
|
|
108
114
|
hover: {
|
|
109
115
|
textColor: string;
|
|
116
|
+
bordersColor: string;
|
|
110
117
|
};
|
|
111
118
|
active: {
|
|
112
119
|
textColor: string;
|
|
120
|
+
bordersColor: string;
|
|
113
121
|
};
|
|
114
122
|
disable: {
|
|
123
|
+
bordersColor: string;
|
|
115
124
|
textColor: string;
|
|
116
125
|
};
|
|
117
126
|
};
|
|
@@ -138,14 +147,18 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
138
147
|
outline: {
|
|
139
148
|
enable: {
|
|
140
149
|
textColor: string;
|
|
150
|
+
bordersColor: string;
|
|
141
151
|
};
|
|
142
152
|
hover: {
|
|
143
153
|
textColor: string;
|
|
154
|
+
bordersColor: string;
|
|
144
155
|
};
|
|
145
156
|
active: {
|
|
146
157
|
textColor: string;
|
|
158
|
+
bordersColor: string;
|
|
147
159
|
};
|
|
148
160
|
disable: {
|
|
161
|
+
bordersColor: string;
|
|
149
162
|
textColor: string;
|
|
150
163
|
};
|
|
151
164
|
};
|
|
@@ -172,14 +185,18 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
172
185
|
outline: {
|
|
173
186
|
enable: {
|
|
174
187
|
textColor: string;
|
|
188
|
+
bordersColor: string;
|
|
175
189
|
};
|
|
176
190
|
hover: {
|
|
177
191
|
textColor: string;
|
|
192
|
+
bordersColor: string;
|
|
178
193
|
};
|
|
179
194
|
active: {
|
|
180
195
|
textColor: string;
|
|
196
|
+
bordersColor: string;
|
|
181
197
|
};
|
|
182
198
|
disable: {
|
|
199
|
+
bordersColor: string;
|
|
183
200
|
textColor: string;
|
|
184
201
|
};
|
|
185
202
|
};
|
|
@@ -206,14 +223,18 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
206
223
|
outline: {
|
|
207
224
|
enable: {
|
|
208
225
|
textColor: string;
|
|
226
|
+
bordersColor: string;
|
|
209
227
|
};
|
|
210
228
|
hover: {
|
|
211
229
|
textColor: string;
|
|
230
|
+
bordersColor: string;
|
|
212
231
|
};
|
|
213
232
|
active: {
|
|
214
233
|
textColor: string;
|
|
234
|
+
bordersColor: string;
|
|
215
235
|
};
|
|
216
236
|
disable: {
|
|
237
|
+
bordersColor: string;
|
|
217
238
|
textColor: string;
|
|
218
239
|
};
|
|
219
240
|
};
|
|
@@ -240,14 +261,18 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
240
261
|
outline: {
|
|
241
262
|
enable: {
|
|
242
263
|
textColor: string;
|
|
264
|
+
bordersColor: string;
|
|
243
265
|
};
|
|
244
266
|
hover: {
|
|
245
267
|
textColor: string;
|
|
268
|
+
bordersColor: string;
|
|
246
269
|
};
|
|
247
270
|
active: {
|
|
248
271
|
textColor: string;
|
|
272
|
+
bordersColor: string;
|
|
249
273
|
};
|
|
250
274
|
disable: {
|
|
275
|
+
bordersColor: string;
|
|
251
276
|
textColor: string;
|
|
252
277
|
};
|
|
253
278
|
};
|
|
@@ -274,14 +299,18 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
274
299
|
outline: {
|
|
275
300
|
enable: {
|
|
276
301
|
textColor: string;
|
|
302
|
+
bordersColor: string;
|
|
277
303
|
};
|
|
278
304
|
hover: {
|
|
279
305
|
textColor: string;
|
|
306
|
+
bordersColor: string;
|
|
280
307
|
};
|
|
281
308
|
active: {
|
|
282
309
|
textColor: string;
|
|
310
|
+
bordersColor: string;
|
|
283
311
|
};
|
|
284
312
|
disable: {
|
|
313
|
+
bordersColor: string;
|
|
285
314
|
textColor: string;
|
|
286
315
|
};
|
|
287
316
|
};
|
|
@@ -367,6 +396,7 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
367
396
|
active: {
|
|
368
397
|
backgroundColor: string;
|
|
369
398
|
textColor: string;
|
|
399
|
+
bordersColor: string;
|
|
370
400
|
};
|
|
371
401
|
disable: {
|
|
372
402
|
backgroundColor: string;
|
|
@@ -380,6 +410,7 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
380
410
|
};
|
|
381
411
|
hover: {
|
|
382
412
|
textColor: string;
|
|
413
|
+
bordersColor: string;
|
|
383
414
|
};
|
|
384
415
|
active: {
|
|
385
416
|
backgroundColor: string;
|
|
@@ -387,6 +418,7 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
387
418
|
bordersColor: string;
|
|
388
419
|
};
|
|
389
420
|
disable: {
|
|
421
|
+
bordersColor: string;
|
|
390
422
|
textColor: string;
|
|
391
423
|
};
|
|
392
424
|
};
|
|
@@ -404,6 +436,7 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
404
436
|
active: {
|
|
405
437
|
backgroundColor: string;
|
|
406
438
|
textColor: string;
|
|
439
|
+
bordersColor: string;
|
|
407
440
|
};
|
|
408
441
|
disable: {
|
|
409
442
|
backgroundColor: string;
|
|
@@ -413,22 +446,26 @@ export declare const createColorMap: (Colors: ColorsType) => {
|
|
|
413
446
|
outline: {
|
|
414
447
|
enable: {
|
|
415
448
|
textColor: string;
|
|
449
|
+
bordersColor: string;
|
|
416
450
|
};
|
|
417
451
|
hover: {
|
|
418
452
|
textColor: string;
|
|
453
|
+
bordersColor: string;
|
|
419
454
|
};
|
|
420
455
|
active: {
|
|
421
456
|
textColor: string;
|
|
422
457
|
bordersColor: string;
|
|
423
458
|
};
|
|
424
459
|
disable: {
|
|
460
|
+
bordersColor: string;
|
|
425
461
|
textColor: string;
|
|
426
462
|
};
|
|
427
463
|
};
|
|
428
464
|
};
|
|
429
465
|
};
|
|
430
|
-
export declare const getChipGeneralStyles: (colors: ColorsType, color: string, style: string, state: string, form: string, chipSize: string) => {
|
|
466
|
+
export declare const getChipGeneralStyles: (colors: ColorsType, themeColors: ThemeColorsType, color: string, style: string, state: string, form: string, chipSize: string) => {
|
|
431
467
|
backgroundColor: any;
|
|
468
|
+
border: string | undefined;
|
|
432
469
|
borderColor: any;
|
|
433
470
|
borderWidth: number;
|
|
434
471
|
borderRadius: number;
|
|
@@ -441,7 +478,7 @@ export declare enum chipPadding {
|
|
|
441
478
|
'medium' = "3px 6px",
|
|
442
479
|
'small' = "2px 5px"
|
|
443
480
|
}
|
|
444
|
-
export declare const getChipTextStyles: (fontStyles: StyleType, colors: ColorsType, color: string, style: string, state: string, chipSize: string) => {
|
|
481
|
+
export declare const getChipTextStyles: (fontStyles: StyleType, colors: ColorsType, themeColors: ThemeColorsType, color: string, style: string, state: string, chipSize: string) => {
|
|
445
482
|
lineHeight: number | undefined;
|
|
446
483
|
color: any;
|
|
447
484
|
fontFamily?: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ThemeColorsType } from '../../../../styles';
|
|
2
2
|
import { CheckboxSize, CheckboxState } from '../../Checkbox/Checkbox/checkbox_types.web';
|
|
3
3
|
import { IconStyle } from '../icon_types';
|
|
4
4
|
type ChekboxIconProps = {
|
|
5
5
|
id?: string;
|
|
6
6
|
className?: string;
|
|
7
7
|
size: CheckboxSize;
|
|
8
|
-
|
|
8
|
+
themeColors: ThemeColorsType;
|
|
9
9
|
state: CheckboxState;
|
|
10
10
|
style?: IconStyle;
|
|
11
11
|
};
|
|
@@ -6,5 +6,5 @@ type CommitmentIconProps = {
|
|
|
6
6
|
color?: string;
|
|
7
7
|
style?: IconStyle;
|
|
8
8
|
};
|
|
9
|
-
declare const CommitmentIcon: ({ id, className, size, color }: CommitmentIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
declare const CommitmentIcon: ({ id, className, size, color, }: CommitmentIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export default CommitmentIcon;
|