@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.
Files changed (122) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/es/index.js +331 -259
  3. package/lib/index.js +330 -258
  4. package/package.json +2 -2
  5. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +12 -12
  6. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +18 -18
  7. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +26 -26
  8. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -3
  9. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  10. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +1 -1
  11. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +2 -2
  12. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
  13. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
  14. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +2 -2
  15. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
  16. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
  17. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +1 -1
  18. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +67 -67
  19. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +12 -12
  20. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -1
  21. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +1 -1
  22. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  23. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +1 -1
  24. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
  25. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +5 -5
  26. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +12 -12
  27. package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +12 -12
  28. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  29. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  30. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +28 -28
  31. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +2 -2
  32. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +3 -3
  33. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
  34. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  35. package/src/components/List/BasicListItem.tsx +8 -4
  36. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +3 -3
  37. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +20 -20
  38. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +6 -6
  39. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +12 -12
  40. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +4 -4
  41. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +22 -22
  42. package/src/components/Progress/ProgressCircle.tsx +25 -22
  43. package/src/components/Progress/StyledProgressCircle.tsx +33 -28
  44. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +102 -92
  45. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +5 -5
  46. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +6 -6
  47. package/src/components/Radio/__tests__/__snapshots__/StyledRadio.spec.tsx.snap +3 -3
  48. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +11 -11
  49. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +6 -6
  50. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +1 -1
  51. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
  52. package/src/components/Select/MultiSelect/Option.tsx +20 -11
  53. package/src/components/Select/MultiSelect/OptionList.tsx +47 -41
  54. package/src/components/Select/MultiSelect/__tests__/OptionList.spec.tsx +25 -14
  55. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +6 -4
  56. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +1638 -134
  57. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +5312 -366
  58. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +122 -1
  59. package/src/components/Select/MultiSelect/index.tsx +26 -36
  60. package/src/components/Select/SingleSelect/Option.tsx +19 -3
  61. package/src/components/Select/SingleSelect/OptionList.tsx +47 -39
  62. package/src/components/Select/SingleSelect/__tests__/OptionList.spec.tsx +23 -12
  63. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +5 -3
  64. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +1632 -128
  65. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +4932 -302
  66. package/src/components/Select/SingleSelect/__tests__/index.spec.tsx +117 -1
  67. package/src/components/Select/SingleSelect/index.tsx +26 -37
  68. package/src/components/Select/StyledOptionList.tsx +43 -44
  69. package/src/components/Select/StyledSelect.tsx +7 -3
  70. package/src/components/Select/__tests__/StyledSelect.spec.tsx +1 -9
  71. package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +2 -15
  72. package/src/components/Select/__tests__/helpers.spec.tsx +74 -0
  73. package/src/components/Select/helpers.tsx +87 -4
  74. package/src/components/Select/types.ts +99 -0
  75. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +4 -4
  76. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +8 -8
  77. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
  78. package/src/components/Switch/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +1 -1
  79. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  80. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +6 -6
  81. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +8 -8
  82. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +8 -8
  83. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +50 -50
  84. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +241 -85
  85. package/src/components/TextInput/__tests__/index.spec.tsx +29 -8
  86. package/src/components/TextInput/index.tsx +18 -7
  87. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +5 -5
  88. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +12 -12
  89. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +22 -22
  90. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -12
  91. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +8 -8
  92. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +13 -13
  93. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +145 -146
  94. package/src/theme/components/alert.ts +3 -3
  95. package/src/theme/components/badge.ts +1 -1
  96. package/src/theme/components/card.ts +4 -4
  97. package/src/theme/components/list.ts +4 -4
  98. package/src/theme/components/pinInput.ts +2 -2
  99. package/src/theme/components/progress.ts +5 -5
  100. package/src/theme/components/select.ts +3 -3
  101. package/src/theme/components/toast.ts +3 -3
  102. package/src/theme/global/colors.ts +40 -39
  103. package/src/types.ts +7 -1
  104. package/types/components/List/BasicListItem.d.ts +1 -1
  105. package/types/components/Progress/StyledProgressCircle.d.ts +12 -6
  106. package/types/components/Select/MultiSelect/Option.d.ts +4 -2
  107. package/types/components/Select/MultiSelect/OptionList.d.ts +6 -7
  108. package/types/components/Select/MultiSelect/index.d.ts +5 -5
  109. package/types/components/Select/SingleSelect/Option.d.ts +4 -2
  110. package/types/components/Select/SingleSelect/OptionList.d.ts +6 -7
  111. package/types/components/Select/SingleSelect/index.d.ts +5 -5
  112. package/types/components/Select/StyledOptionList.d.ts +10 -16
  113. package/types/components/Select/StyledSelect.d.ts +8 -2
  114. package/types/components/Select/__tests__/helpers.spec.d.ts +1 -0
  115. package/types/components/Select/helpers.d.ts +14 -2
  116. package/types/components/Select/index.d.ts +1 -1
  117. package/types/components/Select/types.d.ts +32 -7
  118. package/types/components/TextInput/index.d.ts +4 -2
  119. package/types/theme/components/progress.d.ts +1 -2
  120. package/types/theme/components/select.d.ts +3 -3
  121. package/types/types.d.ts +2 -1
  122. 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": "#fafbfb",
23
- "error": "#de350b",
22
+ "divider": "#e8e9ea",
23
+ "error": "#f46363",
24
24
  "info": "#b5c3fd",
25
- "success": "#01b39c",
26
- "warning": "#ffa234",
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": "#7622d7",
46
- "success": "#01b39c",
47
- "warning": "#ffa234",
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": "#ccced1",
73
+ "archived": "#737479",
74
74
  "danger": "#de350b",
75
75
  "info": "#4568fb",
76
76
  "success": "#017d6d",
77
77
  "text": "#ffffff",
78
- "warning": "#d98a2c",
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": "#292a2b",
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": "#292a2b",
121
+ "backdrop": "#001f23",
122
122
  "background": "#ffffff",
123
- "shadow": "#292a2b",
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": "#292a2b",
156
- "disabledBackground": "#ccced1",
157
- "disabledBorder": "#ccced1",
158
- "disabledText": "#ccced1",
155
+ "defaultText": "#001f23",
156
+ "disabledBackground": "#bfc1c5",
157
+ "disabledBorder": "#bfc1c5",
158
+ "disabledText": "#bfc1c5",
159
159
  "invertedText": "#ffffff",
160
- "pressedDanger": "#f2ae9d",
161
- "pressedPrimary": "#c8a7ef",
162
- "pressedSecondary": "#d1d9fe",
163
- "primary": "#7622d7",
160
+ "pressedDanger": "#f46363",
161
+ "pressedPrimary": "#c282d1",
162
+ "pressedSecondary": "#b5c3fd",
163
+ "primary": "#8505a2",
164
164
  "secondary": "#4568fb",
165
165
  "underlayColors": Object {
166
- "basic-transparent": "#c8a7ef",
167
- "filled-danger": "#f2ae9d",
168
- "filled-primary": "#c8a7ef",
169
- "filled-secondary": "#d1d9fe",
166
+ "basic-transparent": "#c282d1",
167
+ "filled-danger": "#f46363",
168
+ "filled-primary": "#c282d1",
169
+ "filled-secondary": "#b5c3fd",
170
170
  "outlined-danger": "#fcebe7",
171
- "outlined-primary": "#f1e9fb",
171
+ "outlined-primary": "#f3e6f6",
172
172
  "outlined-secondary": "#ecf0ff",
173
173
  "text-danger": "#fcebe7",
174
- "text-primary": "#f1e9fb",
174
+ "text-primary": "#f3e6f6",
175
175
  "text-secondary": "#ecf0ff",
176
176
  },
177
- "utilityBackground": "#fafbfb",
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": "#fafbfb",
207
- "border": "#292a2b",
206
+ "background": "#f6f6f7",
207
+ "border": "#001f23",
208
208
  "inverted": "#ffffff",
209
- "primary": "#7622d7",
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": "#a26fb0",
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": "#7622d7",
252
- "disabled": "#727478",
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": "#dadbde",
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": "#292a2b",
292
+ "backdrop": "#001f23",
293
293
  "background": "#ffffff",
294
- "shadow": "#292a2b",
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": "#dadbde",
311
+ "illustrationBackground": "#ccced1",
312
312
  "invertedText": "#ffffff",
313
- "subduedText": "#727478",
314
- "text": "#292a2b",
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": "#292a2b",
340
- "buttonBackground": "#292a2b",
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": "#8b8d92",
388
+ "disabledText": "#808f91",
389
389
  "info": "#4568fb",
390
390
  "invertedText": "#ffffff",
391
- "primary": "#7622d7",
392
- "success": "#01b39c",
393
- "text": "#292a2b",
394
- "warning": "#ffa234",
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": "#f1e9fb",
407
- "highlightedListItemContainerBackground": "#f1e9fb",
406
+ "checkedListItemContainerBackground": "#f3e6f6",
407
+ "highlightedListItemContainerBackground": "#f3e6f6",
408
408
  "leadingStatus": Object {
409
- "archived": "#ccced1",
410
- "danger": "#de350b",
411
- "info": "#d1d9fe",
412
- "success": "#017d6d",
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": "#292a2b",
449
+ "default": "#001f23",
450
450
  "disabled": "#bfc1c5",
451
451
  "error": "#de350b",
452
- "mask": "#727478",
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": "#dadbde",
478
+ "background": "#e8e9ea",
479
479
  "danger": "#de350b",
480
480
  "info": "#4568fb",
481
481
  "innerBackground": "#ffffff",
482
- "primary": "#7622d7",
483
- "success": "#01b39c",
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
- "radius": 48,
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": "#7622d7",
501
- "checkedWrapper": "#f1e9fb",
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": "#fafbfb",
524
- "toolbarBorderColor": "#dadbde",
525
- "toolbarButtonSelectedBackground": "#dadbde",
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": "#dadbde",
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": "#7622d7",
554
+ "footerText": "#8505a2",
556
555
  },
557
556
  "radii": Object {
558
557
  "option": 4,
559
558
  },
560
559
  "space": Object {
561
560
  "minimumOptionListHeight": 280,
562
- "optionListPadding": 16,
563
- "optionListSpacing": 4,
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": "#7622d7",
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": "#7622d7",
589
- "inactive": "#727478",
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": "#7622d7",
619
- "activeBackground": "#f1e9fb",
620
- "headerBottom": "#dadbde",
621
- "inactive": "#292a2b",
622
- "text": "#292a2b",
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": "#292a2b",
646
+ "default": "#001f23",
648
647
  "defaultBackground": undefined,
649
648
  "info": "#4568fb",
650
649
  "infoBackground": "#ecf0ff",
651
- "primary": "#7622d7",
652
- "primaryBackground": "#f1e9fb",
650
+ "primary": "#8505a2",
651
+ "primaryBackground": "#f3e6f6",
653
652
  "success": "#017d6d",
654
653
  "successBackground": "#f0fef4",
655
- "warning": "#d98a2c",
656
- "warningBackground": "#fff6eb",
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": "#ccced1",
681
+ "disabled": "#bfc1c5",
683
682
  "error": "#de350b",
684
683
  "filled": "#de350b",
685
684
  "focused": "#de350b",
686
- "readonly": "#8b8d92",
685
+ "readonly": "#808f91",
687
686
  },
688
687
  "borders": Object {
689
- "default": "#292a2b",
690
- "disabled": "#ccced1",
688
+ "default": "#001f23",
689
+ "disabled": "#bfc1c5",
691
690
  "error": "#de350b",
692
- "filled": "#292a2b",
693
- "focused": "#292a2b",
694
- "readonly": "#8b8d92",
691
+ "filled": "#001f23",
692
+ "focused": "#001f23",
693
+ "readonly": "#808f91",
695
694
  },
696
- "disabledLabel": "#ccced1",
695
+ "disabledLabel": "#bfc1c5",
697
696
  "error": "#de350b",
698
- "label": "#292a2b",
697
+ "label": "#001f23",
699
698
  "labelBackground": "#ffffff",
700
699
  "labels": Object {
701
- "default": "#292a2b",
702
- "disabled": "#ccced1",
703
- "error": "#292a2b",
704
- "filled": "#292a2b",
705
- "focused": "#292a2b",
706
- "readonly": "#8b8d92",
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": "#292a2b",
710
- "disabled": "#ccced1",
711
- "error": "#292a2b",
712
- "filled": "#292a2b",
713
- "focused": "#292a2b",
714
- "readonly": "#8b8d92",
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": "#292a2b",
718
- "disabled": "#ccced1",
716
+ "default": "#001f23",
717
+ "disabled": "#bfc1c5",
719
718
  "error": "#de350b",
720
- "filled": "#292a2b",
721
- "focused": "#292a2b",
722
- "readonly": "#8b8d92",
719
+ "filled": "#001f23",
720
+ "focused": "#001f23",
721
+ "readonly": "#808f91",
723
722
  },
724
- "placeholderIfFocued": "#8b8d92",
725
- "placeholderIfNotFocused": "#292a2b",
726
- "readonlyLabel": "#8b8d92",
727
- "text": "#292a2b",
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": "#fafbfb",
764
- "error": "#de350b",
762
+ "divider": "#e8e9ea",
763
+ "error": "#f46363",
765
764
  "info": "#b5c3fd",
766
- "success": "#01b39c",
767
- "warning": "#ffa234",
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": "#dadbde",
787
- "danger": "#ffa234",
788
- "disabled": "#8b8d92",
785
+ "border": "#e8e9ea",
786
+ "danger": "#ffbe71",
787
+ "disabled": "#808f91",
789
788
  "error": "#de350b",
790
789
  "info": "#4568fb",
791
- "primary": "#7622d7",
792
- "success": "#01b39c",
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": "#292a2b",
800
+ "body": "#001f23",
802
801
  "danger": "#de350b",
803
802
  "info": "#4568fb",
804
803
  "inverted": "#ffffff",
805
- "primary": "#7622d7",
806
- "subdued": "#8b8d92",
807
- "success": "#01b39c",
808
- "warning": "#ffa234",
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": "#292a2b",
841
- "backgroundLight": "#fafbfb",
839
+ "backgroundDark": "#001f23",
840
+ "backgroundLight": "#f6f6f7",
842
841
  "black": "#000000",
843
842
  "danger": "#de350b",
844
843
  "dangerBackground": "#fcebe7",
845
- "dangerLight": "#f2ae9d",
844
+ "dangerLight": "#f46363",
846
845
  "dangerMediumLight": "#e3602a",
847
- "disabledLightText": "#ccced1",
848
- "disabledText": "#8b8d92",
849
- "inactiveBackground": "#727478",
846
+ "disabledLightText": "#bfc1c5",
847
+ "disabledText": "#808f91",
848
+ "inactiveBackground": "#808f91",
850
849
  "info": "#4568fb",
851
850
  "infoBackground": "#ecf0ff",
852
- "infoLight": "#d1d9fe",
851
+ "infoLight": "#b5c3fd",
853
852
  "infoMediumLight": "#b5c3fd",
854
853
  "invertedText": "#ffffff",
855
- "outline": "#dadbde",
854
+ "outline": "#e8e9ea",
856
855
  "platformBackground": "#ffffff",
857
- "primary": "#7622d7",
858
- "primaryBackground": "#f1e9fb",
856
+ "primary": "#8505a2",
857
+ "primaryBackground": "#f3e6f6",
859
858
  "primaryBackgroundDark": "#4d6265",
860
- "primaryDark": "#a26fb0",
861
- "primaryLight": "#c8a7ef",
859
+ "primaryDark": "#795e90",
860
+ "primaryLight": "#c282d1",
862
861
  "secondary": "#4568fb",
863
862
  "secondaryBackground": "#ecf0ff",
864
- "secondaryLight": "#d1d9fe",
865
- "shadow": "#dadbde",
866
- "subduedText": "#727478",
867
- "success": "#01b39c",
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": "#292a2b",
872
- "warning": "#ffa234",
873
- "warningBackground": "#fff6eb",
874
- "warningDark": "#d98a2c",
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.danger,
9
- info: theme.colors.infoMediumLight,
10
- divider: theme.colors.backgroundLight,
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.archived,
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.primaryDark,
5
+ dataCardIndicator: theme.colors.primary,
6
6
  indicator: {
7
7
  archived: theme.colors.archivedLight,
8
- info: theme.colors.infoMediumLight,
9
- success: theme.colors.successLight,
10
- warning: theme.colors.warningLight,
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.danger,
9
+ danger: theme.colors.dangerMediumLight,
10
10
  info: theme.colors.infoLight,
11
- success: theme.colors.successDark,
12
- warning: theme.colors.warningLight,
13
- archived: theme.colors.archived,
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, // should be Maastricht Blue light 50
12
- error: theme.colors.danger, // using this so that the color is the same as danger Icon, should be Vermilion
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.warning,
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
- radius: theme.space.xxxlarge,
16
- strokeWidth: theme.space.small,
17
- barHeight: theme.space.xsmall,
16
+ circleWidth: scale(76),
17
+ barHeight: scale(4),
18
18
  };
19
19
 
20
20
  const radii = {