@hero-design/rn 7.16.2 → 7.17.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/.turbo/turbo-build.log +2 -2
- package/es/index.js +331 -259
- package/lib/index.js +330 -258
- package/package.json +2 -2
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +12 -12
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +18 -18
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +26 -26
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -3
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +1 -1
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +2 -2
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +2 -2
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +1 -1
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +67 -67
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +12 -12
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -1
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +1 -1
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +1 -1
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +5 -5
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +12 -12
- package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +12 -12
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +28 -28
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +2 -2
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +3 -3
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/List/BasicListItem.tsx +8 -4
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +3 -3
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +20 -20
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +6 -6
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +12 -12
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +4 -4
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +22 -22
- package/src/components/Progress/ProgressCircle.tsx +25 -22
- package/src/components/Progress/StyledProgressCircle.tsx +33 -28
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +102 -92
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +5 -5
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +6 -6
- package/src/components/Radio/__tests__/__snapshots__/StyledRadio.spec.tsx.snap +3 -3
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +11 -11
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +6 -6
- package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +1 -1
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
- package/src/components/Select/MultiSelect/Option.tsx +20 -11
- package/src/components/Select/MultiSelect/OptionList.tsx +47 -41
- package/src/components/Select/MultiSelect/__tests__/OptionList.spec.tsx +25 -14
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +6 -4
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +1638 -134
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +5312 -366
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +122 -1
- package/src/components/Select/MultiSelect/index.tsx +26 -36
- package/src/components/Select/SingleSelect/Option.tsx +19 -3
- package/src/components/Select/SingleSelect/OptionList.tsx +47 -39
- package/src/components/Select/SingleSelect/__tests__/OptionList.spec.tsx +23 -12
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +5 -3
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +1632 -128
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +4932 -302
- package/src/components/Select/SingleSelect/__tests__/index.spec.tsx +117 -1
- package/src/components/Select/SingleSelect/index.tsx +26 -37
- package/src/components/Select/StyledOptionList.tsx +43 -44
- package/src/components/Select/StyledSelect.tsx +7 -3
- package/src/components/Select/__tests__/StyledSelect.spec.tsx +1 -9
- package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +2 -15
- package/src/components/Select/__tests__/helpers.spec.tsx +74 -0
- package/src/components/Select/helpers.tsx +87 -4
- package/src/components/Select/types.ts +99 -0
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +4 -4
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +8 -8
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
- package/src/components/Switch/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +1 -1
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +6 -6
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +8 -8
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +8 -8
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +50 -50
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +241 -85
- package/src/components/TextInput/__tests__/index.spec.tsx +29 -8
- package/src/components/TextInput/index.tsx +18 -7
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +5 -5
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +12 -12
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +22 -22
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -12
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +8 -8
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +13 -13
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +145 -146
- package/src/theme/components/alert.ts +3 -3
- package/src/theme/components/badge.ts +1 -1
- package/src/theme/components/card.ts +4 -4
- package/src/theme/components/list.ts +4 -4
- package/src/theme/components/pinInput.ts +2 -2
- package/src/theme/components/progress.ts +5 -5
- package/src/theme/components/select.ts +3 -3
- package/src/theme/components/toast.ts +3 -3
- package/src/theme/global/colors.ts +40 -39
- package/src/types.ts +7 -1
- package/types/components/List/BasicListItem.d.ts +1 -1
- package/types/components/Progress/StyledProgressCircle.d.ts +12 -6
- package/types/components/Select/MultiSelect/Option.d.ts +4 -2
- package/types/components/Select/MultiSelect/OptionList.d.ts +6 -7
- package/types/components/Select/MultiSelect/index.d.ts +5 -5
- package/types/components/Select/SingleSelect/Option.d.ts +4 -2
- package/types/components/Select/SingleSelect/OptionList.d.ts +6 -7
- package/types/components/Select/SingleSelect/index.d.ts +5 -5
- package/types/components/Select/StyledOptionList.d.ts +10 -16
- package/types/components/Select/StyledSelect.d.ts +8 -2
- package/types/components/Select/__tests__/helpers.spec.d.ts +1 -0
- package/types/components/Select/helpers.d.ts +14 -2
- package/types/components/Select/index.d.ts +1 -1
- package/types/components/Select/types.d.ts +32 -7
- package/types/components/TextInput/index.d.ts +4 -2
- package/types/theme/components/progress.d.ts +1 -2
- package/types/theme/components/select.d.ts +3 -3
- package/types/types.d.ts +2 -1
- package/src/components/Select/types.tsx +0 -52
|
@@ -19,11 +19,11 @@ Object {
|
|
|
19
19
|
"base": 1,
|
|
20
20
|
},
|
|
21
21
|
"colors": Object {
|
|
22
|
-
"divider": "#
|
|
23
|
-
"error": "#
|
|
22
|
+
"divider": "#e8e9ea",
|
|
23
|
+
"error": "#f46363",
|
|
24
24
|
"info": "#b5c3fd",
|
|
25
|
-
"success": "#
|
|
26
|
-
"warning": "#
|
|
25
|
+
"success": "#5ace7d",
|
|
26
|
+
"warning": "#ffbe71",
|
|
27
27
|
},
|
|
28
28
|
"radii": Object {
|
|
29
29
|
"default": 16,
|
|
@@ -42,9 +42,9 @@ Object {
|
|
|
42
42
|
"colors": Object {
|
|
43
43
|
"danger": "#de350b",
|
|
44
44
|
"info": "#4568fb",
|
|
45
|
-
"primary": "#
|
|
46
|
-
"success": "#
|
|
47
|
-
"warning": "#
|
|
45
|
+
"primary": "#8505a2",
|
|
46
|
+
"success": "#5ace7d",
|
|
47
|
+
"warning": "#ffbe71",
|
|
48
48
|
},
|
|
49
49
|
"fontSizes": Object {
|
|
50
50
|
"large": 20,
|
|
@@ -70,12 +70,12 @@ Object {
|
|
|
70
70
|
},
|
|
71
71
|
"badge": Object {
|
|
72
72
|
"colors": Object {
|
|
73
|
-
"archived": "#
|
|
73
|
+
"archived": "#737479",
|
|
74
74
|
"danger": "#de350b",
|
|
75
75
|
"info": "#4568fb",
|
|
76
76
|
"success": "#017d6d",
|
|
77
77
|
"text": "#ffffff",
|
|
78
|
-
"warning": "#
|
|
78
|
+
"warning": "#ffa234",
|
|
79
79
|
},
|
|
80
80
|
"fontSizes": Object {
|
|
81
81
|
"default": 12,
|
|
@@ -98,7 +98,7 @@ Object {
|
|
|
98
98
|
"bottomNavigation": Object {
|
|
99
99
|
"colors": Object {
|
|
100
100
|
"background": "#ffffff",
|
|
101
|
-
"shadow": "#
|
|
101
|
+
"shadow": "#001f23",
|
|
102
102
|
},
|
|
103
103
|
"shadows": Object {
|
|
104
104
|
"elevation": 10,
|
|
@@ -118,9 +118,9 @@ Object {
|
|
|
118
118
|
},
|
|
119
119
|
"bottomSheet": Object {
|
|
120
120
|
"colors": Object {
|
|
121
|
-
"backdrop": "#
|
|
121
|
+
"backdrop": "#001f23",
|
|
122
122
|
"background": "#ffffff",
|
|
123
|
-
"shadow": "#
|
|
123
|
+
"shadow": "#001f23",
|
|
124
124
|
},
|
|
125
125
|
"radii": Object {
|
|
126
126
|
"default": 16,
|
|
@@ -152,29 +152,29 @@ Object {
|
|
|
152
152
|
},
|
|
153
153
|
"colors": Object {
|
|
154
154
|
"danger": "#de350b",
|
|
155
|
-
"defaultText": "#
|
|
156
|
-
"disabledBackground": "#
|
|
157
|
-
"disabledBorder": "#
|
|
158
|
-
"disabledText": "#
|
|
155
|
+
"defaultText": "#001f23",
|
|
156
|
+
"disabledBackground": "#bfc1c5",
|
|
157
|
+
"disabledBorder": "#bfc1c5",
|
|
158
|
+
"disabledText": "#bfc1c5",
|
|
159
159
|
"invertedText": "#ffffff",
|
|
160
|
-
"pressedDanger": "#
|
|
161
|
-
"pressedPrimary": "#
|
|
162
|
-
"pressedSecondary": "#
|
|
163
|
-
"primary": "#
|
|
160
|
+
"pressedDanger": "#f46363",
|
|
161
|
+
"pressedPrimary": "#c282d1",
|
|
162
|
+
"pressedSecondary": "#b5c3fd",
|
|
163
|
+
"primary": "#8505a2",
|
|
164
164
|
"secondary": "#4568fb",
|
|
165
165
|
"underlayColors": Object {
|
|
166
|
-
"basic-transparent": "#
|
|
167
|
-
"filled-danger": "#
|
|
168
|
-
"filled-primary": "#
|
|
169
|
-
"filled-secondary": "#
|
|
166
|
+
"basic-transparent": "#c282d1",
|
|
167
|
+
"filled-danger": "#f46363",
|
|
168
|
+
"filled-primary": "#c282d1",
|
|
169
|
+
"filled-secondary": "#b5c3fd",
|
|
170
170
|
"outlined-danger": "#fcebe7",
|
|
171
|
-
"outlined-primary": "#
|
|
171
|
+
"outlined-primary": "#f3e6f6",
|
|
172
172
|
"outlined-secondary": "#ecf0ff",
|
|
173
173
|
"text-danger": "#fcebe7",
|
|
174
|
-
"text-primary": "#
|
|
174
|
+
"text-primary": "#f3e6f6",
|
|
175
175
|
"text-secondary": "#ecf0ff",
|
|
176
176
|
},
|
|
177
|
-
"utilityBackground": "#
|
|
177
|
+
"utilityBackground": "#f6f6f7",
|
|
178
178
|
},
|
|
179
179
|
"fontSize": Object {
|
|
180
180
|
"default": 18,
|
|
@@ -203,10 +203,10 @@ Object {
|
|
|
203
203
|
},
|
|
204
204
|
"calendar": Object {
|
|
205
205
|
"colors": Object {
|
|
206
|
-
"background": "#
|
|
207
|
-
"border": "#
|
|
206
|
+
"background": "#f6f6f7",
|
|
207
|
+
"border": "#001f23",
|
|
208
208
|
"inverted": "#ffffff",
|
|
209
|
-
"primary": "#
|
|
209
|
+
"primary": "#8505a2",
|
|
210
210
|
},
|
|
211
211
|
"radii": Object {
|
|
212
212
|
"default": 999,
|
|
@@ -227,7 +227,7 @@ Object {
|
|
|
227
227
|
},
|
|
228
228
|
"card": Object {
|
|
229
229
|
"colors": Object {
|
|
230
|
-
"dataCardIndicator": "#
|
|
230
|
+
"dataCardIndicator": "#8505a2",
|
|
231
231
|
"indicator": Object {
|
|
232
232
|
"archived": "#bfc1c5",
|
|
233
233
|
"danger": "#e3602a",
|
|
@@ -248,8 +248,8 @@ Object {
|
|
|
248
248
|
"default": 2,
|
|
249
249
|
},
|
|
250
250
|
"colors": Object {
|
|
251
|
-
"borderColor": "#
|
|
252
|
-
"disabled": "#
|
|
251
|
+
"borderColor": "#8505a2",
|
|
252
|
+
"disabled": "#808f91",
|
|
253
253
|
"text": "#ffffff",
|
|
254
254
|
},
|
|
255
255
|
"radii": Object {
|
|
@@ -277,7 +277,7 @@ Object {
|
|
|
277
277
|
"default": 1,
|
|
278
278
|
},
|
|
279
279
|
"colors": Object {
|
|
280
|
-
"default": "#
|
|
280
|
+
"default": "#e8e9ea",
|
|
281
281
|
},
|
|
282
282
|
"space": Object {
|
|
283
283
|
"large": 24,
|
|
@@ -289,9 +289,9 @@ Object {
|
|
|
289
289
|
},
|
|
290
290
|
"drawer": Object {
|
|
291
291
|
"colors": Object {
|
|
292
|
-
"backdrop": "#
|
|
292
|
+
"backdrop": "#001f23",
|
|
293
293
|
"background": "#ffffff",
|
|
294
|
-
"shadow": "#
|
|
294
|
+
"shadow": "#001f23",
|
|
295
295
|
},
|
|
296
296
|
"radii": Object {
|
|
297
297
|
"default": 16,
|
|
@@ -308,10 +308,10 @@ Object {
|
|
|
308
308
|
},
|
|
309
309
|
"empty": Object {
|
|
310
310
|
"colors": Object {
|
|
311
|
-
"illustrationBackground": "#
|
|
311
|
+
"illustrationBackground": "#ccced1",
|
|
312
312
|
"invertedText": "#ffffff",
|
|
313
|
-
"subduedText": "#
|
|
314
|
-
"text": "#
|
|
313
|
+
"subduedText": "#4d6265",
|
|
314
|
+
"text": "#001f23",
|
|
315
315
|
},
|
|
316
316
|
"fontSizes": Object {
|
|
317
317
|
"description": 16,
|
|
@@ -336,8 +336,8 @@ Object {
|
|
|
336
336
|
"colors": Object {
|
|
337
337
|
"actionItemBackground": "#4d6265",
|
|
338
338
|
"actionItemText": "#ffffff",
|
|
339
|
-
"backdropBackground": "#
|
|
340
|
-
"buttonBackground": "#
|
|
339
|
+
"backdropBackground": "#001f23",
|
|
340
|
+
"buttonBackground": "#001f23",
|
|
341
341
|
"headerText": "#ffffff",
|
|
342
342
|
"icon": "#ffffff",
|
|
343
343
|
"titleText": "#ffffff",
|
|
@@ -385,13 +385,13 @@ Object {
|
|
|
385
385
|
"icon": Object {
|
|
386
386
|
"colors": Object {
|
|
387
387
|
"danger": "#de350b",
|
|
388
|
-
"disabledText": "#
|
|
388
|
+
"disabledText": "#808f91",
|
|
389
389
|
"info": "#4568fb",
|
|
390
390
|
"invertedText": "#ffffff",
|
|
391
|
-
"primary": "#
|
|
392
|
-
"success": "#
|
|
393
|
-
"text": "#
|
|
394
|
-
"warning": "#
|
|
391
|
+
"primary": "#8505a2",
|
|
392
|
+
"success": "#5ace7d",
|
|
393
|
+
"text": "#001f23",
|
|
394
|
+
"warning": "#ffbe71",
|
|
395
395
|
},
|
|
396
396
|
"sizes": Object {
|
|
397
397
|
"large": 28,
|
|
@@ -403,13 +403,13 @@ Object {
|
|
|
403
403
|
},
|
|
404
404
|
"list": Object {
|
|
405
405
|
"colors": Object {
|
|
406
|
-
"checkedListItemContainerBackground": "#
|
|
407
|
-
"highlightedListItemContainerBackground": "#
|
|
406
|
+
"checkedListItemContainerBackground": "#f3e6f6",
|
|
407
|
+
"highlightedListItemContainerBackground": "#f3e6f6",
|
|
408
408
|
"leadingStatus": Object {
|
|
409
|
-
"archived": "#
|
|
410
|
-
"danger": "#
|
|
411
|
-
"info": "#
|
|
412
|
-
"success": "#
|
|
409
|
+
"archived": "#bfc1c5",
|
|
410
|
+
"danger": "#e3602a",
|
|
411
|
+
"info": "#b5c3fd",
|
|
412
|
+
"success": "#5ace7d",
|
|
413
413
|
"warning": "#ffbe71",
|
|
414
414
|
},
|
|
415
415
|
"listItemContainerBackground": "#ffffff",
|
|
@@ -446,10 +446,10 @@ Object {
|
|
|
446
446
|
"focused": 2,
|
|
447
447
|
},
|
|
448
448
|
"colors": Object {
|
|
449
|
-
"default": "#
|
|
449
|
+
"default": "#001f23",
|
|
450
450
|
"disabled": "#bfc1c5",
|
|
451
451
|
"error": "#de350b",
|
|
452
|
-
"mask": "#
|
|
452
|
+
"mask": "#4d6265",
|
|
453
453
|
},
|
|
454
454
|
"fontSizes": Object {
|
|
455
455
|
"cellText": 28,
|
|
@@ -475,12 +475,12 @@ Object {
|
|
|
475
475
|
},
|
|
476
476
|
"progress": Object {
|
|
477
477
|
"colors": Object {
|
|
478
|
-
"background": "#
|
|
478
|
+
"background": "#e8e9ea",
|
|
479
479
|
"danger": "#de350b",
|
|
480
480
|
"info": "#4568fb",
|
|
481
481
|
"innerBackground": "#ffffff",
|
|
482
|
-
"primary": "#
|
|
483
|
-
"success": "#
|
|
482
|
+
"primary": "#8505a2",
|
|
483
|
+
"success": "#5ace7d",
|
|
484
484
|
"warning": "#ffa234",
|
|
485
485
|
},
|
|
486
486
|
"radii": Object {
|
|
@@ -488,8 +488,7 @@ Object {
|
|
|
488
488
|
},
|
|
489
489
|
"sizes": Object {
|
|
490
490
|
"barHeight": 4,
|
|
491
|
-
"
|
|
492
|
-
"strokeWidth": 8,
|
|
491
|
+
"circleWidth": 76,
|
|
493
492
|
},
|
|
494
493
|
},
|
|
495
494
|
"radio": Object {
|
|
@@ -497,8 +496,8 @@ Object {
|
|
|
497
496
|
"circle": 2,
|
|
498
497
|
},
|
|
499
498
|
"colors": Object {
|
|
500
|
-
"checkedCircle": "#
|
|
501
|
-
"checkedWrapper": "#
|
|
499
|
+
"checkedCircle": "#8505a2",
|
|
500
|
+
"checkedWrapper": "#f3e6f6",
|
|
502
501
|
"circle": "#000000",
|
|
503
502
|
"wrapper": "#ffffff",
|
|
504
503
|
},
|
|
@@ -520,9 +519,9 @@ Object {
|
|
|
520
519
|
"webViewBorderBottomWidth": 0.8,
|
|
521
520
|
},
|
|
522
521
|
"colors": Object {
|
|
523
|
-
"toolbarBackgroundColor": "#
|
|
524
|
-
"toolbarBorderColor": "#
|
|
525
|
-
"toolbarButtonSelectedBackground": "#
|
|
522
|
+
"toolbarBackgroundColor": "#f6f6f7",
|
|
523
|
+
"toolbarBorderColor": "#e8e9ea",
|
|
524
|
+
"toolbarButtonSelectedBackground": "#e8e9ea",
|
|
526
525
|
},
|
|
527
526
|
"fontSizes": Object {
|
|
528
527
|
"editor": 14,
|
|
@@ -541,7 +540,7 @@ Object {
|
|
|
541
540
|
},
|
|
542
541
|
"sectionHeading": Object {
|
|
543
542
|
"colors": Object {
|
|
544
|
-
"background": "#
|
|
543
|
+
"background": "#e8e9ea",
|
|
545
544
|
},
|
|
546
545
|
"space": Object {
|
|
547
546
|
"headingHorizontalPadding": 16,
|
|
@@ -552,24 +551,24 @@ Object {
|
|
|
552
551
|
},
|
|
553
552
|
"select": Object {
|
|
554
553
|
"colors": Object {
|
|
555
|
-
"footerText": "#
|
|
554
|
+
"footerText": "#8505a2",
|
|
556
555
|
},
|
|
557
556
|
"radii": Object {
|
|
558
557
|
"option": 4,
|
|
559
558
|
},
|
|
560
559
|
"space": Object {
|
|
561
560
|
"minimumOptionListHeight": 280,
|
|
562
|
-
"
|
|
563
|
-
"
|
|
564
|
-
"optionPadding": 16,
|
|
561
|
+
"optionHorizontalMargin": 12,
|
|
562
|
+
"optionSpacing": 4,
|
|
565
563
|
"searchBarBottomSpacing": 8,
|
|
566
564
|
"searchBarHorizontalSpacing": 16,
|
|
567
565
|
"searchBarMarginTopSpacing": 8,
|
|
566
|
+
"sectionSpacing": 12,
|
|
568
567
|
},
|
|
569
568
|
},
|
|
570
569
|
"spinner": Object {
|
|
571
570
|
"color": Object {
|
|
572
|
-
"default": "#
|
|
571
|
+
"default": "#8505a2",
|
|
573
572
|
},
|
|
574
573
|
"radii": Object {
|
|
575
574
|
"default": 8,
|
|
@@ -585,8 +584,8 @@ Object {
|
|
|
585
584
|
"default": 1,
|
|
586
585
|
},
|
|
587
586
|
"colors": Object {
|
|
588
|
-
"active": "#
|
|
589
|
-
"inactive": "#
|
|
587
|
+
"active": "#8505a2",
|
|
588
|
+
"inactive": "#808f91",
|
|
590
589
|
"thumb": "#ffffff",
|
|
591
590
|
},
|
|
592
591
|
"heights": Object {
|
|
@@ -615,11 +614,11 @@ Object {
|
|
|
615
614
|
"headerBottom": 1,
|
|
616
615
|
},
|
|
617
616
|
"colors": Object {
|
|
618
|
-
"active": "#
|
|
619
|
-
"activeBackground": "#
|
|
620
|
-
"headerBottom": "#
|
|
621
|
-
"inactive": "#
|
|
622
|
-
"text": "#
|
|
617
|
+
"active": "#8505a2",
|
|
618
|
+
"activeBackground": "#f3e6f6",
|
|
619
|
+
"headerBottom": "#e8e9ea",
|
|
620
|
+
"inactive": "#001f23",
|
|
621
|
+
"text": "#001f23",
|
|
623
622
|
},
|
|
624
623
|
"radii": Object {
|
|
625
624
|
"outline": 8,
|
|
@@ -644,16 +643,16 @@ Object {
|
|
|
644
643
|
"archivedBackground": "#f1f2f3",
|
|
645
644
|
"danger": "#de350b",
|
|
646
645
|
"dangerBackground": "#fcebe7",
|
|
647
|
-
"default": "#
|
|
646
|
+
"default": "#001f23",
|
|
648
647
|
"defaultBackground": undefined,
|
|
649
648
|
"info": "#4568fb",
|
|
650
649
|
"infoBackground": "#ecf0ff",
|
|
651
|
-
"primary": "#
|
|
652
|
-
"primaryBackground": "#
|
|
650
|
+
"primary": "#8505a2",
|
|
651
|
+
"primaryBackground": "#f3e6f6",
|
|
653
652
|
"success": "#017d6d",
|
|
654
653
|
"successBackground": "#f0fef4",
|
|
655
|
-
"warning": "#
|
|
656
|
-
"warningBackground": "#
|
|
654
|
+
"warning": "#ffa234",
|
|
655
|
+
"warningBackground": "#ebf4ff",
|
|
657
656
|
},
|
|
658
657
|
"fontSizes": Object {
|
|
659
658
|
"default": 12,
|
|
@@ -679,52 +678,52 @@ Object {
|
|
|
679
678
|
"colors": Object {
|
|
680
679
|
"asterisks": Object {
|
|
681
680
|
"default": "#de350b",
|
|
682
|
-
"disabled": "#
|
|
681
|
+
"disabled": "#bfc1c5",
|
|
683
682
|
"error": "#de350b",
|
|
684
683
|
"filled": "#de350b",
|
|
685
684
|
"focused": "#de350b",
|
|
686
|
-
"readonly": "#
|
|
685
|
+
"readonly": "#808f91",
|
|
687
686
|
},
|
|
688
687
|
"borders": Object {
|
|
689
|
-
"default": "#
|
|
690
|
-
"disabled": "#
|
|
688
|
+
"default": "#001f23",
|
|
689
|
+
"disabled": "#bfc1c5",
|
|
691
690
|
"error": "#de350b",
|
|
692
|
-
"filled": "#
|
|
693
|
-
"focused": "#
|
|
694
|
-
"readonly": "#
|
|
691
|
+
"filled": "#001f23",
|
|
692
|
+
"focused": "#001f23",
|
|
693
|
+
"readonly": "#808f91",
|
|
695
694
|
},
|
|
696
|
-
"disabledLabel": "#
|
|
695
|
+
"disabledLabel": "#bfc1c5",
|
|
697
696
|
"error": "#de350b",
|
|
698
|
-
"label": "#
|
|
697
|
+
"label": "#001f23",
|
|
699
698
|
"labelBackground": "#ffffff",
|
|
700
699
|
"labels": Object {
|
|
701
|
-
"default": "#
|
|
702
|
-
"disabled": "#
|
|
703
|
-
"error": "#
|
|
704
|
-
"filled": "#
|
|
705
|
-
"focused": "#
|
|
706
|
-
"readonly": "#
|
|
700
|
+
"default": "#001f23",
|
|
701
|
+
"disabled": "#bfc1c5",
|
|
702
|
+
"error": "#001f23",
|
|
703
|
+
"filled": "#001f23",
|
|
704
|
+
"focused": "#001f23",
|
|
705
|
+
"readonly": "#808f91",
|
|
707
706
|
},
|
|
708
707
|
"labelsInsideTextInput": Object {
|
|
709
|
-
"default": "#
|
|
710
|
-
"disabled": "#
|
|
711
|
-
"error": "#
|
|
712
|
-
"filled": "#
|
|
713
|
-
"focused": "#
|
|
714
|
-
"readonly": "#
|
|
708
|
+
"default": "#001f23",
|
|
709
|
+
"disabled": "#bfc1c5",
|
|
710
|
+
"error": "#001f23",
|
|
711
|
+
"filled": "#001f23",
|
|
712
|
+
"focused": "#001f23",
|
|
713
|
+
"readonly": "#808f91",
|
|
715
714
|
},
|
|
716
715
|
"maxLengthLabels": Object {
|
|
717
|
-
"default": "#
|
|
718
|
-
"disabled": "#
|
|
716
|
+
"default": "#001f23",
|
|
717
|
+
"disabled": "#bfc1c5",
|
|
719
718
|
"error": "#de350b",
|
|
720
|
-
"filled": "#
|
|
721
|
-
"focused": "#
|
|
722
|
-
"readonly": "#
|
|
719
|
+
"filled": "#001f23",
|
|
720
|
+
"focused": "#001f23",
|
|
721
|
+
"readonly": "#808f91",
|
|
723
722
|
},
|
|
724
|
-
"placeholderIfFocued": "#
|
|
725
|
-
"placeholderIfNotFocused": "#
|
|
726
|
-
"readonlyLabel": "#
|
|
727
|
-
"text": "#
|
|
723
|
+
"placeholderIfFocued": "#808f91",
|
|
724
|
+
"placeholderIfNotFocused": "#001f23",
|
|
725
|
+
"readonlyLabel": "#808f91",
|
|
726
|
+
"text": "#001f23",
|
|
728
727
|
},
|
|
729
728
|
"fontSizes": Object {
|
|
730
729
|
"asteriskLabel": 14,
|
|
@@ -760,11 +759,11 @@ Object {
|
|
|
760
759
|
"base": 1,
|
|
761
760
|
},
|
|
762
761
|
"colors": Object {
|
|
763
|
-
"divider": "#
|
|
764
|
-
"error": "#
|
|
762
|
+
"divider": "#e8e9ea",
|
|
763
|
+
"error": "#f46363",
|
|
765
764
|
"info": "#b5c3fd",
|
|
766
|
-
"success": "#
|
|
767
|
-
"warning": "#
|
|
765
|
+
"success": "#5ace7d",
|
|
766
|
+
"warning": "#ffbe71",
|
|
768
767
|
},
|
|
769
768
|
"radii": Object {
|
|
770
769
|
"default": 16,
|
|
@@ -783,13 +782,13 @@ Object {
|
|
|
783
782
|
},
|
|
784
783
|
"colors": Object {
|
|
785
784
|
"background": "#ffffff",
|
|
786
|
-
"border": "#
|
|
787
|
-
"danger": "#
|
|
788
|
-
"disabled": "#
|
|
785
|
+
"border": "#e8e9ea",
|
|
786
|
+
"danger": "#ffbe71",
|
|
787
|
+
"disabled": "#808f91",
|
|
789
788
|
"error": "#de350b",
|
|
790
789
|
"info": "#4568fb",
|
|
791
|
-
"primary": "#
|
|
792
|
-
"success": "#
|
|
790
|
+
"primary": "#8505a2",
|
|
791
|
+
"success": "#5ace7d",
|
|
793
792
|
},
|
|
794
793
|
"space": Object {
|
|
795
794
|
"horizontalPadding": 12,
|
|
@@ -798,14 +797,14 @@ Object {
|
|
|
798
797
|
},
|
|
799
798
|
"typography": Object {
|
|
800
799
|
"colors": Object {
|
|
801
|
-
"body": "#
|
|
800
|
+
"body": "#001f23",
|
|
802
801
|
"danger": "#de350b",
|
|
803
802
|
"info": "#4568fb",
|
|
804
803
|
"inverted": "#ffffff",
|
|
805
|
-
"primary": "#
|
|
806
|
-
"subdued": "#
|
|
807
|
-
"success": "#
|
|
808
|
-
"warning": "#
|
|
804
|
+
"primary": "#8505a2",
|
|
805
|
+
"subdued": "#808f91",
|
|
806
|
+
"success": "#5ace7d",
|
|
807
|
+
"warning": "#ffbe71",
|
|
809
808
|
},
|
|
810
809
|
"fontSizes": Object {
|
|
811
810
|
"large": 16,
|
|
@@ -837,41 +836,41 @@ Object {
|
|
|
837
836
|
"archivedBackground": "#f1f2f3",
|
|
838
837
|
"archivedDark": "#737479",
|
|
839
838
|
"archivedLight": "#bfc1c5",
|
|
840
|
-
"backgroundDark": "#
|
|
841
|
-
"backgroundLight": "#
|
|
839
|
+
"backgroundDark": "#001f23",
|
|
840
|
+
"backgroundLight": "#f6f6f7",
|
|
842
841
|
"black": "#000000",
|
|
843
842
|
"danger": "#de350b",
|
|
844
843
|
"dangerBackground": "#fcebe7",
|
|
845
|
-
"dangerLight": "#
|
|
844
|
+
"dangerLight": "#f46363",
|
|
846
845
|
"dangerMediumLight": "#e3602a",
|
|
847
|
-
"disabledLightText": "#
|
|
848
|
-
"disabledText": "#
|
|
849
|
-
"inactiveBackground": "#
|
|
846
|
+
"disabledLightText": "#bfc1c5",
|
|
847
|
+
"disabledText": "#808f91",
|
|
848
|
+
"inactiveBackground": "#808f91",
|
|
850
849
|
"info": "#4568fb",
|
|
851
850
|
"infoBackground": "#ecf0ff",
|
|
852
|
-
"infoLight": "#
|
|
851
|
+
"infoLight": "#b5c3fd",
|
|
853
852
|
"infoMediumLight": "#b5c3fd",
|
|
854
853
|
"invertedText": "#ffffff",
|
|
855
|
-
"outline": "#
|
|
854
|
+
"outline": "#e8e9ea",
|
|
856
855
|
"platformBackground": "#ffffff",
|
|
857
|
-
"primary": "#
|
|
858
|
-
"primaryBackground": "#
|
|
856
|
+
"primary": "#8505a2",
|
|
857
|
+
"primaryBackground": "#f3e6f6",
|
|
859
858
|
"primaryBackgroundDark": "#4d6265",
|
|
860
|
-
"primaryDark": "#
|
|
861
|
-
"primaryLight": "#
|
|
859
|
+
"primaryDark": "#795e90",
|
|
860
|
+
"primaryLight": "#c282d1",
|
|
862
861
|
"secondary": "#4568fb",
|
|
863
862
|
"secondaryBackground": "#ecf0ff",
|
|
864
|
-
"secondaryLight": "#
|
|
865
|
-
"shadow": "#
|
|
866
|
-
"subduedText": "#
|
|
867
|
-
"success": "#
|
|
863
|
+
"secondaryLight": "#b5c3fd",
|
|
864
|
+
"shadow": "#ccced1",
|
|
865
|
+
"subduedText": "#4d6265",
|
|
866
|
+
"success": "#5ace7d",
|
|
868
867
|
"successBackground": "#f0fef4",
|
|
869
868
|
"successDark": "#017d6d",
|
|
870
869
|
"successLight": "#5ace7d",
|
|
871
|
-
"text": "#
|
|
872
|
-
"warning": "#
|
|
873
|
-
"warningBackground": "#
|
|
874
|
-
"warningDark": "#
|
|
870
|
+
"text": "#001f23",
|
|
871
|
+
"warning": "#ffbe71",
|
|
872
|
+
"warningBackground": "#ebf4ff",
|
|
873
|
+
"warningDark": "#ffa234",
|
|
875
874
|
"warningLight": "#ffbe71",
|
|
876
875
|
},
|
|
877
876
|
"fontSizes": Object {
|
|
@@ -5,9 +5,9 @@ const getAlertTheme = (theme: GlobalTheme) => {
|
|
|
5
5
|
const colors = {
|
|
6
6
|
success: theme.colors.success,
|
|
7
7
|
warning: theme.colors.warning,
|
|
8
|
-
error: theme.colors.
|
|
9
|
-
info: theme.colors.
|
|
10
|
-
divider: theme.colors.
|
|
8
|
+
error: theme.colors.dangerLight,
|
|
9
|
+
info: theme.colors.infoLight,
|
|
10
|
+
divider: theme.colors.outline,
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
const sizes = {
|
|
@@ -6,7 +6,7 @@ const getBadgeTheme = (theme: GlobalTheme) => {
|
|
|
6
6
|
info: theme.colors.info,
|
|
7
7
|
success: theme.colors.successDark,
|
|
8
8
|
warning: theme.colors.warningDark,
|
|
9
|
-
archived: theme.colors.
|
|
9
|
+
archived: theme.colors.archivedDark,
|
|
10
10
|
text: theme.colors.invertedText,
|
|
11
11
|
};
|
|
12
12
|
|
|
@@ -2,12 +2,12 @@ import { GlobalTheme } from '../global';
|
|
|
2
2
|
|
|
3
3
|
const getCardTheme = (theme: GlobalTheme) => {
|
|
4
4
|
const colors = {
|
|
5
|
-
dataCardIndicator: theme.colors.
|
|
5
|
+
dataCardIndicator: theme.colors.primary,
|
|
6
6
|
indicator: {
|
|
7
7
|
archived: theme.colors.archivedLight,
|
|
8
|
-
info: theme.colors.
|
|
9
|
-
success: theme.colors.
|
|
10
|
-
warning: theme.colors.
|
|
8
|
+
info: theme.colors.infoLight,
|
|
9
|
+
success: theme.colors.success,
|
|
10
|
+
warning: theme.colors.warning,
|
|
11
11
|
danger: theme.colors.dangerMediumLight,
|
|
12
12
|
},
|
|
13
13
|
};
|
|
@@ -6,11 +6,11 @@ const getListTheme = (theme: GlobalTheme) => {
|
|
|
6
6
|
highlightedListItemContainerBackground: theme.colors.primaryBackground,
|
|
7
7
|
listItemContainerBackground: theme.colors.platformBackground,
|
|
8
8
|
leadingStatus: {
|
|
9
|
-
danger: theme.colors.
|
|
9
|
+
danger: theme.colors.dangerMediumLight,
|
|
10
10
|
info: theme.colors.infoLight,
|
|
11
|
-
success: theme.colors.
|
|
12
|
-
warning: theme.colors.
|
|
13
|
-
archived: theme.colors.
|
|
11
|
+
success: theme.colors.success,
|
|
12
|
+
warning: theme.colors.warning,
|
|
13
|
+
archived: theme.colors.archivedLight,
|
|
14
14
|
},
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -8,8 +8,8 @@ const getPinInputTheme = (theme: GlobalTheme) => {
|
|
|
8
8
|
|
|
9
9
|
const colors = {
|
|
10
10
|
default: theme.colors.text,
|
|
11
|
-
mask: theme.colors.subduedText,
|
|
12
|
-
error: theme.colors.danger,
|
|
11
|
+
mask: theme.colors.subduedText,
|
|
12
|
+
error: theme.colors.danger,
|
|
13
13
|
disabled: theme.colors.archivedLight,
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { scale } from '../../utils/scale';
|
|
1
2
|
import { GlobalTheme } from '../global';
|
|
2
3
|
|
|
3
4
|
const getProgressTheme = (theme: GlobalTheme) => {
|
|
4
5
|
const colors = {
|
|
5
6
|
primary: theme.colors.primary,
|
|
6
|
-
success: theme.colors.success,
|
|
7
|
-
warning: theme.colors.
|
|
7
|
+
success: theme.colors.success, // should be emerald dark 15
|
|
8
|
+
warning: theme.colors.warningDark,
|
|
8
9
|
danger: theme.colors.danger,
|
|
9
10
|
info: theme.colors.info,
|
|
10
11
|
background: theme.colors.outline,
|
|
@@ -12,9 +13,8 @@ const getProgressTheme = (theme: GlobalTheme) => {
|
|
|
12
13
|
};
|
|
13
14
|
|
|
14
15
|
const sizes = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
barHeight: theme.space.xsmall,
|
|
16
|
+
circleWidth: scale(76),
|
|
17
|
+
barHeight: scale(4),
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
const radii = {
|