@hero-design/rn 7.24.0 → 7.25.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.
Files changed (248) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/assets/fonts/hero-icons.ttf +0 -0
  3. package/es/index.js +845 -752
  4. package/lib/assets/fonts/hero-icons.ttf +0 -0
  5. package/lib/index.js +846 -750
  6. package/package.json +6 -5
  7. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +4 -4
  8. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
  9. package/src/components/Attachment/StyledAttachment.tsx +44 -0
  10. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +158 -0
  11. package/src/components/Attachment/__tests__/index.spec.tsx +59 -0
  12. package/src/components/Attachment/index.tsx +77 -0
  13. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -3
  14. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  15. package/src/components/Badge/Status.tsx +1 -1
  16. package/src/components/Badge/StyledBadge.tsx +8 -1
  17. package/src/components/Badge/__tests__/Badge.spec.tsx +9 -0
  18. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +44 -0
  19. package/src/components/Badge/index.tsx +1 -1
  20. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  21. package/src/components/BottomSheet/Header.tsx +2 -1
  22. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +52 -52
  23. package/src/components/BottomSheet/index.tsx +4 -4
  24. package/src/components/Button/Button.tsx +0 -11
  25. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +4 -4
  26. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
  27. package/src/components/Button/LoadingIndicator/index.tsx +1 -1
  28. package/src/components/Button/StyledButton.tsx +24 -63
  29. package/src/components/Button/UtilityButton/__tests__/index.spec.tsx +2 -2
  30. package/src/components/Button/__tests__/Button.spec.tsx +10 -5
  31. package/src/components/Button/__tests__/StyledButton.spec.tsx +0 -70
  32. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +301 -1206
  33. package/src/components/Calendar/CalendarRowItem.tsx +1 -4
  34. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -5
  35. package/src/components/Calendar/index.tsx +4 -3
  36. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +1 -1
  37. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -1
  38. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  39. package/src/components/Checkbox/StyledCheckbox.tsx +7 -5
  40. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +4 -12
  41. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +95 -42
  42. package/src/components/Checkbox/index.tsx +4 -2
  43. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  44. package/src/components/ContentNavigator/index.tsx +14 -9
  45. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +1 -0
  46. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +28 -27
  47. package/src/components/Drawer/DragableDrawer/index.tsx +0 -2
  48. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  49. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
  50. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +1 -1
  51. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  52. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  53. package/src/components/Icon/IconList.ts +30 -3
  54. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  55. package/src/components/List/BasicListItem.tsx +13 -8
  56. package/src/components/List/ListItem.tsx +8 -6
  57. package/src/components/List/StyledBasicListItem.tsx +2 -2
  58. package/src/components/List/StyledListItem.tsx +2 -2
  59. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +24 -36
  60. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +39 -59
  61. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +40 -44
  62. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +50 -50
  63. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +6 -6
  64. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +21 -21
  65. package/src/components/Progress/ProgressBar.tsx +1 -1
  66. package/src/components/Progress/ProgressCircle.tsx +1 -1
  67. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +10 -10
  68. package/src/components/Progress/types.ts +7 -1
  69. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +20 -32
  70. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +30 -48
  71. package/src/components/RefreshControl/__tests__/index.spec.tsx +1 -3
  72. package/src/components/RefreshControl/index.tsx +4 -2
  73. package/src/components/RichTextEditor/MentionList.tsx +12 -3
  74. package/src/components/RichTextEditor/RichTextEditor.tsx +3 -4
  75. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +4 -4
  76. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  77. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +13 -20
  78. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +146 -234
  79. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +430 -650
  80. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +11 -18
  81. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +136 -224
  82. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +409 -629
  83. package/src/components/Select/StyledOptionList.tsx +0 -1
  84. package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +1 -1
  85. package/src/components/Spinner/StyledSpinner.tsx +1 -2
  86. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +4 -4
  87. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +16 -16
  88. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
  89. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +1 -1
  90. package/src/components/Swipeable/index.tsx +14 -2
  91. package/src/components/Switch/SelectorSwitch/Option.tsx +1 -5
  92. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +3 -3
  93. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  94. package/src/components/Switch/SelectorSwitch/__tests__/index.spec.tsx +1 -0
  95. package/src/components/Switch/SelectorSwitch/index.tsx +4 -1
  96. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +1 -1
  97. package/src/components/Tabs/StyledTabs.tsx +1 -1
  98. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +1 -1
  99. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  100. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +2 -2
  101. package/src/components/TextInput/StyledTextInput.tsx +1 -0
  102. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +11 -10
  103. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +27 -14
  104. package/src/components/TextInput/index.tsx +1 -0
  105. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +1 -0
  106. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +28 -27
  107. package/src/components/Toast/Toast.tsx +0 -3
  108. package/src/components/Toast/ToastProvider.tsx +1 -0
  109. package/src/components/Toast/__tests__/index.spec.tsx +1 -1
  110. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -12
  111. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +6 -6
  112. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +4 -4
  113. package/src/emotion.d.ts +1 -0
  114. package/src/index.ts +6 -0
  115. package/src/theme/ThemeSwitcher.tsx +7 -1
  116. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +87 -74
  117. package/src/theme/__tests__/ensureCompatibleWithV7.spec.tsx +13 -0
  118. package/src/theme/components/alert.ts +1 -1
  119. package/src/theme/components/attachment.ts +28 -0
  120. package/src/theme/components/avatar.ts +1 -1
  121. package/src/theme/components/badge.ts +2 -1
  122. package/src/theme/components/bottomNavigation.ts +1 -1
  123. package/src/theme/components/bottomSheet.ts +2 -2
  124. package/src/theme/components/button.ts +4 -20
  125. package/src/theme/components/calendar.ts +3 -3
  126. package/src/theme/components/card.ts +1 -1
  127. package/src/theme/components/checkbox.ts +2 -2
  128. package/src/theme/components/divider.ts +1 -1
  129. package/src/theme/components/drawer.ts +2 -2
  130. package/src/theme/components/empty.ts +3 -3
  131. package/src/theme/components/fab.ts +7 -7
  132. package/src/theme/components/icon.ts +4 -4
  133. package/src/theme/components/list.ts +0 -2
  134. package/src/theme/components/pinInput.ts +4 -4
  135. package/src/theme/components/progress.ts +6 -5
  136. package/src/theme/components/radio.ts +1 -1
  137. package/src/theme/components/richTextEditor.ts +2 -2
  138. package/src/theme/components/slider.ts +2 -2
  139. package/src/theme/components/switch.ts +4 -4
  140. package/src/theme/components/tabs.ts +6 -5
  141. package/src/theme/components/tag.ts +2 -2
  142. package/src/theme/components/textInput.ts +23 -28
  143. package/src/theme/components/toast.ts +3 -3
  144. package/src/theme/components/toolbar.ts +3 -3
  145. package/src/theme/components/typography.ts +7 -7
  146. package/src/theme/getTheme.ts +4 -1
  147. package/src/theme/global/colors/eBens.ts +23 -0
  148. package/src/theme/global/colors/global.ts +15 -6
  149. package/src/theme/global/colors/jobs.ts +15 -9
  150. package/src/theme/global/colors/legacySystemPalette.ts +6 -6
  151. package/src/theme/global/colors/swag.ts +32 -53
  152. package/src/theme/global/colors/types.ts +35 -15
  153. package/src/theme/global/colors/wallet.ts +23 -0
  154. package/src/theme/global/colors/work.ts +15 -9
  155. package/src/theme/global/index.ts +4 -0
  156. package/src/theme/index.ts +4 -0
  157. package/src/utils/functions.ts +2 -0
  158. package/src/utils/scale.ts +1 -1
  159. package/tsconfig.json +8 -2
  160. package/types/components/Accordion/StyledAccordion.d.ts +14 -14
  161. package/types/components/Alert/StyledAlert.d.ts +15 -15
  162. package/types/components/Attachment/StyledAttachment.d.ts +28 -0
  163. package/types/components/Attachment/index.d.ts +37 -0
  164. package/types/components/Avatar/StyledAvatar.d.ts +15 -15
  165. package/types/components/Avatar/index.d.ts +1 -1
  166. package/types/components/Badge/Status.d.ts +1 -1
  167. package/types/components/Badge/StyledBadge.d.ts +8 -8
  168. package/types/components/Badge/index.d.ts +1 -1
  169. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +21 -21
  170. package/types/components/BottomSheet/Header.d.ts +1 -1
  171. package/types/components/BottomSheet/StyledBottomSheet.d.ts +22 -22
  172. package/types/components/Box/StyledBox.d.ts +4 -4
  173. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +7 -7
  174. package/types/components/Button/StyledButton.d.ts +15 -18
  175. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +8 -8
  176. package/types/components/Calendar/StyledCalendar.d.ts +25 -25
  177. package/types/components/Calendar/helpers.d.ts +2 -2
  178. package/types/components/Card/DataCard/StyledDataCard.d.ts +6 -6
  179. package/types/components/Card/StyledCard.d.ts +7 -7
  180. package/types/components/Checkbox/StyledCheckbox.d.ts +16 -10
  181. package/types/components/Collapse/StyledCollapse.d.ts +8 -8
  182. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +5 -5
  183. package/types/components/ContentNavigator/index.d.ts +2 -1
  184. package/types/components/DatePicker/StyledDatePicker.d.ts +3 -3
  185. package/types/components/Divider/StyledDivider.d.ts +5 -5
  186. package/types/components/Drawer/StyledDrawer.d.ts +19 -19
  187. package/types/components/Empty/StyledEmpty.d.ts +9 -9
  188. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +11 -11
  189. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +7 -7
  190. package/types/components/FAB/StyledFAB.d.ts +8 -8
  191. package/types/components/Icon/HeroIcon/index.d.ts +3 -3
  192. package/types/components/Icon/IconList.d.ts +1 -1
  193. package/types/components/Icon/index.d.ts +1 -1
  194. package/types/components/Icon/utils.d.ts +1 -1
  195. package/types/components/List/StyledBasicListItem.d.ts +16 -16
  196. package/types/components/List/StyledListItem.d.ts +25 -25
  197. package/types/components/PinInput/StyledPinInput.d.ts +30 -30
  198. package/types/components/Progress/ProgressBar.d.ts +1 -1
  199. package/types/components/Progress/ProgressCircle.d.ts +1 -1
  200. package/types/components/Progress/StyledProgressBar.d.ts +5 -5
  201. package/types/components/Progress/StyledProgressCircle.d.ts +18 -18
  202. package/types/components/Progress/types.d.ts +1 -1
  203. package/types/components/Radio/StyledRadio.d.ts +9 -9
  204. package/types/components/RefreshControl/index.d.ts +1 -2
  205. package/types/components/RichTextEditor/EditorToolbar.d.ts +1 -1
  206. package/types/components/RichTextEditor/MentionList.d.ts +1 -1
  207. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +6 -6
  208. package/types/components/RichTextEditor/StyledToolbar.d.ts +9 -9
  209. package/types/components/RichTextEditor/index.d.ts +2 -2
  210. package/types/components/SectionHeading/StyledHeading.d.ts +9 -9
  211. package/types/components/Select/MultiSelect/Option.d.ts +1 -1
  212. package/types/components/Select/SingleSelect/Option.d.ts +1 -1
  213. package/types/components/Select/StyledSelect.d.ts +11 -11
  214. package/types/components/Select/helpers.d.ts +1 -1
  215. package/types/components/Spinner/StyledSpinner.d.ts +12 -12
  216. package/types/components/Swipeable/StyledSwipeable.d.ts +3 -3
  217. package/types/components/Swipeable/index.d.ts +7 -3
  218. package/types/components/Switch/SelectorSwitch/Option.d.ts +3 -1
  219. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +9 -9
  220. package/types/components/Switch/StyledSwitch.d.ts +5 -5
  221. package/types/components/Tabs/StyledScrollableTabs.d.ts +23 -23
  222. package/types/components/Tabs/StyledTabs.d.ts +22 -22
  223. package/types/components/Tag/StyledTag.d.ts +6 -6
  224. package/types/components/TextInput/StyledTextInput.d.ts +44 -44
  225. package/types/components/TextInput/index.d.ts +5 -5
  226. package/types/components/TimePicker/StyledTimePicker.d.ts +3 -3
  227. package/types/components/Toast/StyledToast.d.ts +17 -17
  228. package/types/components/Toolbar/StyledToolbar.d.ts +9 -9
  229. package/types/components/Typography/Text/StyledText.d.ts +3 -3
  230. package/types/index.d.ts +3 -2
  231. package/types/testHelpers/renderWithTheme.d.ts +1 -1
  232. package/types/theme/ThemeSwitcher.d.ts +2 -2
  233. package/types/theme/components/attachment.d.ts +21 -0
  234. package/types/theme/components/badge.d.ts +1 -0
  235. package/types/theme/components/button.d.ts +0 -15
  236. package/types/theme/components/list.d.ts +0 -1
  237. package/types/theme/components/progress.d.ts +1 -0
  238. package/types/theme/components/tabs.d.ts +1 -0
  239. package/types/theme/components/tag.d.ts +2 -2
  240. package/types/theme/components/textInput.d.ts +0 -5
  241. package/types/theme/getTheme.d.ts +2 -0
  242. package/types/theme/global/colors/eBens.d.ts +3 -0
  243. package/types/theme/global/colors/types.d.ts +23 -16
  244. package/types/theme/global/colors/wallet.d.ts +3 -0
  245. package/types/theme/global/index.d.ts +26 -12
  246. package/types/theme/index.d.ts +2 -2
  247. package/types/utils/functions.d.ts +1 -0
  248. package/types/utils/hooks.d.ts +1 -1
@@ -102,7 +102,7 @@ exports[`ActionGroup has active false 1`] = `
102
102
  Object {
103
103
  "alignItems": "center",
104
104
  "alignSelf": "flex-end",
105
- "backgroundColor": "#001f23",
105
+ "backgroundColor": "#401960",
106
106
  "borderRadius": 999,
107
107
  "flexDirection": "row",
108
108
  "margin": 8,
@@ -181,7 +181,7 @@ exports[`ActionGroup has active false 1`] = `
181
181
  Object {
182
182
  "alignItems": "center",
183
183
  "alignSelf": "flex-end",
184
- "backgroundColor": "#001f23",
184
+ "backgroundColor": "#401960",
185
185
  "borderRadius": 999,
186
186
  "flexDirection": "row",
187
187
  "margin": 8,
@@ -260,7 +260,7 @@ exports[`ActionGroup has active false 1`] = `
260
260
  Object {
261
261
  "alignItems": "center",
262
262
  "alignSelf": "flex-end",
263
- "backgroundColor": "#001f23",
263
+ "backgroundColor": "#401960",
264
264
  "borderRadius": 999,
265
265
  "flexDirection": "row",
266
266
  "margin": 8,
@@ -339,7 +339,7 @@ exports[`ActionGroup has active false 1`] = `
339
339
  Object {
340
340
  "alignItems": "center",
341
341
  "alignSelf": "flex-end",
342
- "backgroundColor": "#001f23",
342
+ "backgroundColor": "#401960",
343
343
  "borderRadius": 999,
344
344
  "flexDirection": "row",
345
345
  "margin": 8,
@@ -418,7 +418,7 @@ exports[`ActionGroup has active false 1`] = `
418
418
  Object {
419
419
  "alignItems": "center",
420
420
  "alignSelf": "flex-end",
421
- "backgroundColor": "#001f23",
421
+ "backgroundColor": "#401960",
422
422
  "borderRadius": 999,
423
423
  "flexDirection": "row",
424
424
  "margin": 8,
@@ -498,7 +498,7 @@ exports[`ActionGroup has active false 1`] = `
498
498
  Object {
499
499
  "alignItems": "center",
500
500
  "alignSelf": "flex-start",
501
- "backgroundColor": "#001f23",
501
+ "backgroundColor": "#401960",
502
502
  "borderRadius": 999,
503
503
  "flexDirection": "row",
504
504
  "justifyContent": "center",
@@ -665,7 +665,7 @@ exports[`ActionGroup has active true 1`] = `
665
665
  Object {
666
666
  "alignItems": "center",
667
667
  "alignSelf": "flex-end",
668
- "backgroundColor": "#001f23",
668
+ "backgroundColor": "#401960",
669
669
  "borderRadius": 999,
670
670
  "flexDirection": "row",
671
671
  "margin": 8,
@@ -744,7 +744,7 @@ exports[`ActionGroup has active true 1`] = `
744
744
  Object {
745
745
  "alignItems": "center",
746
746
  "alignSelf": "flex-end",
747
- "backgroundColor": "#001f23",
747
+ "backgroundColor": "#401960",
748
748
  "borderRadius": 999,
749
749
  "flexDirection": "row",
750
750
  "margin": 8,
@@ -823,7 +823,7 @@ exports[`ActionGroup has active true 1`] = `
823
823
  Object {
824
824
  "alignItems": "center",
825
825
  "alignSelf": "flex-end",
826
- "backgroundColor": "#001f23",
826
+ "backgroundColor": "#401960",
827
827
  "borderRadius": 999,
828
828
  "flexDirection": "row",
829
829
  "margin": 8,
@@ -902,7 +902,7 @@ exports[`ActionGroup has active true 1`] = `
902
902
  Object {
903
903
  "alignItems": "center",
904
904
  "alignSelf": "flex-end",
905
- "backgroundColor": "#001f23",
905
+ "backgroundColor": "#401960",
906
906
  "borderRadius": 999,
907
907
  "flexDirection": "row",
908
908
  "margin": 8,
@@ -981,7 +981,7 @@ exports[`ActionGroup has active true 1`] = `
981
981
  Object {
982
982
  "alignItems": "center",
983
983
  "alignSelf": "flex-end",
984
- "backgroundColor": "#001f23",
984
+ "backgroundColor": "#401960",
985
985
  "borderRadius": 999,
986
986
  "flexDirection": "row",
987
987
  "margin": 8,
@@ -1061,7 +1061,7 @@ exports[`ActionGroup has active true 1`] = `
1061
1061
  Object {
1062
1062
  "alignItems": "center",
1063
1063
  "alignSelf": "flex-start",
1064
- "backgroundColor": "#001f23",
1064
+ "backgroundColor": "#401960",
1065
1065
  "borderRadius": 999,
1066
1066
  "flexDirection": "row",
1067
1067
  "justifyContent": "center",
@@ -16,7 +16,7 @@ exports[`StyledFABContainer renders correctly 1`] = `
16
16
  Object {
17
17
  "alignItems": "center",
18
18
  "alignSelf": "flex-start",
19
- "backgroundColor": "#001f23",
19
+ "backgroundColor": "#401960",
20
20
  "borderRadius": 999,
21
21
  "flexDirection": "row",
22
22
  "justifyContent": "center",
@@ -16,7 +16,7 @@ exports[`FAB when animated is false renders StyledFABIcon 1`] = `
16
16
  Object {
17
17
  "alignItems": "center",
18
18
  "alignSelf": "flex-start",
19
- "backgroundColor": "#001f23",
19
+ "backgroundColor": "#401960",
20
20
  "borderRadius": 999,
21
21
  "flexDirection": "row",
22
22
  "justifyContent": "center",
@@ -72,7 +72,7 @@ exports[`FAB when animated is true renders animatedFABIcon 1`] = `
72
72
  Object {
73
73
  "alignItems": "center",
74
74
  "alignSelf": "flex-start",
75
- "backgroundColor": "#001f23",
75
+ "backgroundColor": "#401960",
76
76
  "borderRadius": 999,
77
77
  "flexDirection": "row",
78
78
  "justifyContent": "center",
@@ -142,7 +142,7 @@ exports[`FAB when title has value renders correctly 1`] = `
142
142
  Object {
143
143
  "alignItems": "center",
144
144
  "alignSelf": "flex-start",
145
- "backgroundColor": "#001f23",
145
+ "backgroundColor": "#401960",
146
146
  "borderRadius": 999,
147
147
  "flexDirection": "row",
148
148
  "justifyContent": "center",
@@ -1 +1 @@
1
- {"activate":50000,"add-emoji":50001,"add-person":50002,"adjustment":50003,"alignment":50004,"archive":50005,"bank":50006,"bell":50007,"billing":50008,"bookmark":50009,"box-check":50010,"box":50011,"buildings":50012,"cake":50013,"calendar-clock":50014,"calendar":50015,"candy-box-menu":50016,"carat-down-small":50017,"carat-down":50018,"carat-left":50019,"carat-right":50020,"carat-up":50021,"circle-add":50022,"circle-cancel":50023,"circle-check":50024,"circle-down":50025,"circle-info":50026,"circle-left":50027,"circle-ok":50028,"circle-pencil":50029,"circle-question":50030,"circle-remove":50031,"circle-right":50032,"circle-up":50033,"circle-warning":50034,"clock-3":50035,"clock":50036,"cloud-download":50037,"cloud-upload":50038,"cog":50039,"coin":50040,"contacts":50041,"credit-card":50042,"diamond":50043,"direction-arrows":50044,"directory":50045,"document":50046,"dollar-coin-shine":50047,"double-buildings":50048,"edit-template":50049,"envelope":50050,"expense":50051,"eye-circle":50052,"eye-invisible":50053,"eye":50054,"face-meh":50055,"face-sad":50056,"face-smiley":50057,"feed":50058,"feedbacks":50059,"file-certified":50060,"file-clone":50061,"file-copy":50062,"file-csv":50063,"file-dispose":50064,"file-doc":50065,"file-excel":50066,"file-export":50067,"file-lock":50068,"file-pdf":50069,"file-powerpoint":50070,"file-search":50071,"file-secured":50072,"file-sheets":50073,"file-slide":50074,"file-verified":50075,"file-word":50076,"file":50077,"folder-user":50078,"folder":50079,"format-bold":50080,"format-heading1":50081,"format-heading2":50082,"format-italic":50083,"format-list-bulleted":50084,"format-list-numbered":50085,"format-underlined":50086,"funnel-filter":50087,"global-dollar":50088,"globe":50089,"graduation-cap":50090,"graph":50091,"happy-sun":50092,"health-bag":50093,"heart":50094,"home":50095,"image":50096,"import":50097,"incident-siren":50098,"instapay":50099,"list":50100,"loading-2":50101,"loading":50102,"location":50103,"lock":50104,"looks-one":50105,"looks-two":50106,"mandatory":50107,"media-content":50108,"menu":50109,"moneybag":50110,"moon":50111,"multiple-stars":50112,"multiple-users":50113,"node":50114,"open-folder":50115,"paperclip":50116,"payment-summary":50117,"pencil":50118,"phone":50119,"piggy-bank":50120,"plane":50121,"play-circle":50122,"print":50123,"raising-hands":50124,"rectangle-mandatory":50125,"reply-arrow":50126,"reply":50127,"reschedule":50128,"rostering":50129,"save":50130,"schedule-send":50131,"schedule":50132,"search-person":50133,"send":50134,"speaker":50135,"star-award":50136,"star-badge":50137,"star-medal":50138,"star":50139,"steps-circle":50140,"stopwatch":50141,"suitcase":50142,"survey":50143,"swag":50144,"switch":50145,"tag":50146,"target":50147,"teams":50148,"timesheet":50149,"touch-id":50150,"trash-bin":50151,"unlock":50152,"user":50153,"video-1":50154,"video-2":50155,"warning":50156,"activate-outlined":50157,"add-person-outlined":50158,"add-section-outlined":50159,"add-time-outlined":50160,"add":50161,"adjustment-outlined":50162,"alignment-2-outlined":50163,"alignment-outlined":50164,"all-caps":50165,"arrow-down":50166,"arrow-left":50167,"arrow-right":50168,"arrow-up":50169,"at-sign":50170,"bell-outlined":50171,"billing-outlined":50172,"body-outlined":50173,"bold":50174,"bookmark-outlined":50175,"box-check-outlined":50176,"box-outlined":50177,"bullet-points":50178,"cake-outlined":50179,"calendar-dates-outlined":50180,"calendar-star-outlined":50181,"camera-outlined":50182,"cancel":50183,"checkmark":50184,"circle-add-outlined":50185,"circle-cancel-outlined":50186,"circle-down-outlined":50187,"circle-info-outlined":50188,"circle-left-outlined":50189,"circle-ok-outlined":50190,"circle-question-outlined":50191,"circle-remove-outlined":50192,"circle-right-outlined":50193,"circle-up-outlined":50194,"circle-warning-outlined":50195,"clock-2-outlined":50196,"clock-outlined":50197,"cog-outlined":50198,"coin-outlined":50199,"comment-outlined":50200,"contacts-outlined":50201,"credit-card-outlined":50202,"direction-arrows-outlined":50203,"directory-outlined":50204,"document-outlined":50205,"dollar-coin-shine-outlined":50206,"dollar-sign":50207,"double-buildings-outlined":50208,"double-left-arrows":50209,"double-right-arrows":50210,"download-outlined":50211,"edit-template-outlined":50212,"email-outlined":50213,"enter-arrow":50214,"envelope-outlined":50215,"expense-outlined":50216,"external-link":50217,"eye-invisible-outlined":50218,"eye-outlined":50219,"face-id":50220,"face-meh-outlined":50221,"face-open-smiley-outlined":50222,"face-sad-outlined":50223,"face-smiley-outlined":50224,"feed-outlined":50225,"file-certified-outlined":50226,"file-clone-outlined":50227,"file-copy-outlined":50228,"file-dispose-outlined":50229,"file-download-outlined":50230,"file-export-outlined":50231,"file-lock-outlined":50232,"file-outlined":50233,"file-search-outlined":50234,"file-secured-outlined":50235,"file-verified-outlined":50236,"filter-outlined":50237,"folder-outlined":50238,"folder-user-outlined":50239,"funnel-filter-outline":50240,"graph-outlined":50241,"happy-sun-outlined":50242,"health-bag-outlined":50243,"heart-outlined":50244,"home-outlined":50245,"image-outlined":50246,"import-outlined":50247,"instapay-outlined":50248,"italic":50249,"link-1":50250,"link-2":50251,"list-outlined":50252,"location-outlined":50253,"lock-outlined":50254,"locked-file-outlined":50255,"log-out":50256,"media-content-outlined":50257,"menu-close":50258,"menu-expand":50259,"menu-fold-outlined":50260,"menu-unfold-outlined":50261,"moneybag-outlined":50262,"moon-outlined":50263,"more-horizontal":50264,"more-vertical":50265,"multiple-folders-outlined":50266,"multiple-users-outlined":50267,"node-outlined":50268,"number-points":50269,"number":50270,"payment-summary-outlined":50271,"payslip-outlined":50272,"pencil-outlined":50273,"percentage":50274,"phone-outlined":50275,"piggy-bank-outlined":50276,"plane-outlined":50277,"play-circle-outlined":50278,"print-outlined":50279,"qr-code-outlined":50280,"re-assign":50281,"redeem":50282,"refresh":50283,"remove":50284,"reply-outlined":50285,"restart":50286,"return-arrow":50287,"rostering-outlined":50288,"save-outlined":50289,"schedule-outlined":50290,"search-outlined":50291,"send-outlined":50292,"share-1":50293,"share-2":50294,"single-down-arrow":50295,"single-left-arrow":50296,"single-right-arrow":50297,"single-up-arrow":50298,"speaker-outlined":50299,"star-outlined":50300,"stopwatch-outlined":50301,"strikethrough":50302,"suitcase-outlined":50303,"survey-outlined":50304,"switch-outlined":50305,"sync":50306,"target-outlined":50307,"timesheet-outlined":50308,"transfer":50309,"trash-bin-outlined":50310,"trash-outlined":50311,"unavailable":50312,"underline":50313,"unlock-outlined":50314,"upload-outlined":50315,"user-circle-outlined":50316,"user-outlined":50317,"user-rectangle-outlined":50318,"video-1-outlined":50319,"video-2-outlined":50320,"wallet-outlined":50321}
1
+ {"activate":59000,"add-emoji":59001,"add-person":59002,"adjustment":59003,"alignment":59004,"antenna":59005,"archive":59006,"assignment-warning":59007,"bank":59008,"bell":59009,"billing":59010,"bookmark":59011,"box-check":59012,"box":59013,"buildings":59014,"cake":59015,"calendar-clock":59016,"calendar":59017,"candy-box-menu":59018,"carat-down-small":59019,"carat-down":59020,"carat-left-small":59021,"carat-left":59022,"carat-right-small":59023,"carat-right":59024,"carat-up-small":59025,"carat-up":59026,"check-radio":59027,"circle-add":59028,"circle-cancel":59029,"circle-check":59030,"circle-down":59031,"circle-info":59032,"circle-left":59033,"circle-ok":59034,"circle-pencil":59035,"circle-question":59036,"circle-remove":59037,"circle-right":59038,"circle-up":59039,"circle-warning":59040,"clock-3":59041,"clock":59042,"cloud-download":59043,"cloud-upload":59044,"cog":59045,"coin":59046,"contacts":59047,"credit-card":59048,"diamond":59049,"direction-arrows":59050,"directory":59051,"document":59052,"dollar-coin-shine":59053,"double-buildings":59054,"edit-template":59055,"envelope":59056,"expense":59057,"eye-circle":59058,"eye-invisible":59059,"eye":59060,"face-meh":59061,"face-sad":59062,"face-smiley":59063,"feed":59064,"feedbacks":59065,"file-certified":59066,"file-clone":59067,"file-copy":59068,"file-csv":59069,"file-dispose":59070,"file-doc":59071,"file-excel":59072,"file-export":59073,"file-lock":59074,"file-pdf":59075,"file-powerpoint":59076,"file-search":59077,"file-secured":59078,"file-sheets":59079,"file-slide":59080,"file-verified":59081,"file-word":59082,"file":59083,"filter":59084,"folder-user":59085,"folder":59086,"format-bold":59087,"format-heading1":59088,"format-heading2":59089,"format-italic":59090,"format-list-bulleted":59091,"format-list-numbered":59092,"format-underlined":59093,"funnel-filter":59094,"global-dollar":59095,"globe":59096,"graduation-cap":59097,"graph":59098,"happy-sun":59099,"health-bag":59100,"heart":59101,"home":59102,"image":59103,"import":59104,"incident-siren":59105,"instapay":59106,"list":59107,"loading-2":59108,"loading":59109,"location":59110,"lock":59111,"looks-one":59112,"looks-two":59113,"media-content":59114,"menu":59115,"moneybag":59116,"moon":59117,"multiple-stars":59118,"multiple-users":59119,"node":59120,"open-folder":59121,"paperclip":59122,"payment-summary":59123,"pencil":59124,"phone":59125,"piggy-bank":59126,"plane":59127,"play-circle":59128,"print":59129,"raising-hands":59130,"reply-arrow":59131,"reply":59132,"reschedule":59133,"rostering":59134,"save":59135,"schedule-send":59136,"schedule":59137,"search-person":59138,"send":59139,"speaker-active":59140,"speaker":59141,"star-award":59142,"star-badge":59143,"star-medal":59144,"star":59145,"steps-circle":59146,"stopwatch":59147,"suitcase":59148,"survey":59149,"swag":59150,"switch":59151,"tag":59152,"target":59153,"teams":59154,"timesheet":59155,"touch-id":59156,"trash-bin":59157,"unlock":59158,"user":59159,"video-1":59160,"video-2":59161,"wallet":59162,"warning":59163,"activate-outlined":59164,"add-credit-card-outlined":59165,"add-person-outlined":59166,"add-section-outlined":59167,"add-time-outlined":59168,"add":59169,"adjustment-outlined":59170,"alignment-2-outlined":59171,"alignment-outlined":59172,"all-caps":59173,"arrow-down":59174,"arrow-downwards":59175,"arrow-left":59176,"arrow-leftwards":59177,"arrow-right":59178,"arrow-rightwards":59179,"arrow-up":59180,"arrow-upwards":59181,"at-sign":59182,"bell-active-outlined":59183,"bell-outlined":59184,"bell-slash-outlined":59185,"billing-outlined":59186,"body-outlined":59187,"bold":59188,"bookmark-added-outlined":59189,"bookmark-outlined":59190,"box-check-outlined":59191,"box-outlined":59192,"bullet-points":59193,"cake-outlined":59194,"calendar-dates-outlined":59195,"calendar-star-outlined":59196,"camera-outlined":59197,"cancel":59198,"chat-bubble-outlined":59199,"chat-unread-outlined":59200,"checkmark":59201,"circle-add-outlined":59202,"circle-cancel-outlined":59203,"circle-down-outlined":59204,"circle-info-outlined":59205,"circle-left-outlined":59206,"circle-ok-outlined":59207,"circle-question-outlined":59208,"circle-remove-outlined":59209,"circle-right-outlined":59210,"circle-up-outlined":59211,"circle-warning-outlined":59212,"clock-2-outlined":59213,"clock-outlined":59214,"cog-outlined":59215,"coin-outlined":59216,"comment-outlined":59217,"contacts-outlined":59218,"credit-card-outlined":59219,"cup-outlined":59220,"direction-arrows-outlined":59221,"directory-outlined":59222,"document-outlined":59223,"dollar-card-outlined":59224,"dollar-coin-shine-outlined":59225,"dollar-sign":59226,"double-buildings-outlined":59227,"double-left-arrows":59228,"double-right-arrows":59229,"download-outlined":59230,"edit-template-outlined":59231,"email-outlined":59232,"enter-arrow":59233,"envelope-outlined":59234,"expense-outlined":59235,"explore-outlined":59236,"external-link":59237,"eye-invisible-outlined":59238,"eye-outlined":59239,"face-id":59240,"face-meh-outlined":59241,"face-open-smiley-outlined":59242,"face-sad-outlined":59243,"face-smiley-outlined":59244,"feed-outlined":59245,"file-certified-outlined":59246,"file-clone-outlined":59247,"file-copy-outlined":59248,"file-dispose-outlined":59249,"file-dollar-outlined":59250,"file-download-outlined":59251,"file-export-outlined":59252,"file-lock-outlined":59253,"file-outlined":59254,"file-search-outlined":59255,"file-secured-outlined":59256,"file-verified-outlined":59257,"filter-outlined":59258,"folder-outlined":59259,"folder-user-outlined":59260,"funnel-filter-outline":59261,"graph-outlined":59262,"happy-sun-outlined":59263,"health-bag-outlined":59264,"heart-outlined":59265,"home-active-outlined":59266,"home-outlined":59267,"id-card-outlined":59268,"image-outlined":59269,"import-outlined":59270,"instapay-outlined":59271,"italic":59272,"link-1":59273,"link-2":59274,"list-outlined":59275,"live-help-outlined":59276,"location-outlined":59277,"lock-outlined":59278,"locked-file-outlined":59279,"log-out":59280,"media-content-outlined":59281,"menu-close":59282,"menu-expand":59283,"menu-fold-outlined":59284,"menu-unfold-outlined":59285,"moneybag-outlined":59286,"moon-outlined":59287,"more-horizontal":59288,"more-vertical":59289,"multiple-folders-outlined":59290,"multiple-users-outlined":59291,"near-me-outlined":59292,"node-outlined":59293,"number-points":59294,"number":59295,"payment-summary-outlined":59296,"payslip-outlined":59297,"pencil-outlined":59298,"percentage":59299,"phone-outlined":59300,"piggy-bank-outlined":59301,"plane-outlined":59302,"play-circle-outlined":59303,"print-outlined":59304,"qr-code-outlined":59305,"re-assign":59306,"redeem":59307,"refresh":59308,"remove":59309,"reply-outlined":59310,"restart":59311,"return-arrow":59312,"rostering-outlined":59313,"save-outlined":59314,"schedule-outlined":59315,"search-outlined":59316,"search-secured-outlined":59317,"send-outlined":59318,"share-1":59319,"share-2":59320,"single-down-arrow":59321,"single-left-arrow":59322,"single-right-arrow":59323,"single-up-arrow":59324,"speaker-active-outlined":59325,"speaker-outlined":59326,"star-outlined":59327,"stopwatch-outlined":59328,"strikethrough":59329,"suitcase-outlined":59330,"survey-outlined":59331,"switch-outlined":59332,"sync":59333,"target-outlined":59334,"timesheet-outlined":59335,"transfer":59336,"trash-bin-outlined":59337,"umbrela-outlined":59338,"unavailable":59339,"underline":59340,"unlock-outlined":59341,"upload-outlined":59342,"user-circle-outlined":59343,"user-outlined":59344,"user-rectangle-outlined":59345,"video-1-outlined":59346,"video-2-outlined":59347,"wallet-outlined":59348}
@@ -5,7 +5,9 @@ const IconList = [
5
5
  'add-person',
6
6
  'adjustment',
7
7
  'alignment',
8
+ 'antenna',
8
9
  'archive',
10
+ 'assignment-warning',
9
11
  'bank',
10
12
  'bell',
11
13
  'billing',
@@ -19,9 +21,13 @@ const IconList = [
19
21
  'candy-box-menu',
20
22
  'carat-down-small',
21
23
  'carat-down',
24
+ 'carat-left-small',
22
25
  'carat-left',
26
+ 'carat-right-small',
23
27
  'carat-right',
28
+ 'carat-up-small',
24
29
  'carat-up',
30
+ 'check-radio',
25
31
  'circle-add',
26
32
  'circle-cancel',
27
33
  'circle-check',
@@ -78,6 +84,7 @@ const IconList = [
78
84
  'file-verified',
79
85
  'file-word',
80
86
  'file',
87
+ 'filter',
81
88
  'folder-user',
82
89
  'folder',
83
90
  'format-bold',
@@ -107,7 +114,6 @@ const IconList = [
107
114
  'lock',
108
115
  'looks-one',
109
116
  'looks-two',
110
- 'mandatory',
111
117
  'media-content',
112
118
  'menu',
113
119
  'moneybag',
@@ -125,7 +131,6 @@ const IconList = [
125
131
  'play-circle',
126
132
  'print',
127
133
  'raising-hands',
128
- 'rectangle-mandatory',
129
134
  'reply-arrow',
130
135
  'reply',
131
136
  'reschedule',
@@ -135,6 +140,7 @@ const IconList = [
135
140
  'schedule',
136
141
  'search-person',
137
142
  'send',
143
+ 'speaker-active',
138
144
  'speaker',
139
145
  'star-award',
140
146
  'star-badge',
@@ -156,8 +162,10 @@ const IconList = [
156
162
  'user',
157
163
  'video-1',
158
164
  'video-2',
165
+ 'wallet',
159
166
  'warning',
160
167
  'activate-outlined',
168
+ 'add-credit-card-outlined',
161
169
  'add-person-outlined',
162
170
  'add-section-outlined',
163
171
  'add-time-outlined',
@@ -167,14 +175,21 @@ const IconList = [
167
175
  'alignment-outlined',
168
176
  'all-caps',
169
177
  'arrow-down',
178
+ 'arrow-downwards',
170
179
  'arrow-left',
180
+ 'arrow-leftwards',
171
181
  'arrow-right',
182
+ 'arrow-rightwards',
172
183
  'arrow-up',
184
+ 'arrow-upwards',
173
185
  'at-sign',
186
+ 'bell-active-outlined',
174
187
  'bell-outlined',
188
+ 'bell-slash-outlined',
175
189
  'billing-outlined',
176
190
  'body-outlined',
177
191
  'bold',
192
+ 'bookmark-added-outlined',
178
193
  'bookmark-outlined',
179
194
  'box-check-outlined',
180
195
  'box-outlined',
@@ -184,6 +199,8 @@ const IconList = [
184
199
  'calendar-star-outlined',
185
200
  'camera-outlined',
186
201
  'cancel',
202
+ 'chat-bubble-outlined',
203
+ 'chat-unread-outlined',
187
204
  'checkmark',
188
205
  'circle-add-outlined',
189
206
  'circle-cancel-outlined',
@@ -203,9 +220,11 @@ const IconList = [
203
220
  'comment-outlined',
204
221
  'contacts-outlined',
205
222
  'credit-card-outlined',
223
+ 'cup-outlined',
206
224
  'direction-arrows-outlined',
207
225
  'directory-outlined',
208
226
  'document-outlined',
227
+ 'dollar-card-outlined',
209
228
  'dollar-coin-shine-outlined',
210
229
  'dollar-sign',
211
230
  'double-buildings-outlined',
@@ -217,6 +236,7 @@ const IconList = [
217
236
  'enter-arrow',
218
237
  'envelope-outlined',
219
238
  'expense-outlined',
239
+ 'explore-outlined',
220
240
  'external-link',
221
241
  'eye-invisible-outlined',
222
242
  'eye-outlined',
@@ -230,6 +250,7 @@ const IconList = [
230
250
  'file-clone-outlined',
231
251
  'file-copy-outlined',
232
252
  'file-dispose-outlined',
253
+ 'file-dollar-outlined',
233
254
  'file-download-outlined',
234
255
  'file-export-outlined',
235
256
  'file-lock-outlined',
@@ -245,7 +266,9 @@ const IconList = [
245
266
  'happy-sun-outlined',
246
267
  'health-bag-outlined',
247
268
  'heart-outlined',
269
+ 'home-active-outlined',
248
270
  'home-outlined',
271
+ 'id-card-outlined',
249
272
  'image-outlined',
250
273
  'import-outlined',
251
274
  'instapay-outlined',
@@ -253,6 +276,7 @@ const IconList = [
253
276
  'link-1',
254
277
  'link-2',
255
278
  'list-outlined',
279
+ 'live-help-outlined',
256
280
  'location-outlined',
257
281
  'lock-outlined',
258
282
  'locked-file-outlined',
@@ -268,6 +292,7 @@ const IconList = [
268
292
  'more-vertical',
269
293
  'multiple-folders-outlined',
270
294
  'multiple-users-outlined',
295
+ 'near-me-outlined',
271
296
  'node-outlined',
272
297
  'number-points',
273
298
  'number',
@@ -292,6 +317,7 @@ const IconList = [
292
317
  'save-outlined',
293
318
  'schedule-outlined',
294
319
  'search-outlined',
320
+ 'search-secured-outlined',
295
321
  'send-outlined',
296
322
  'share-1',
297
323
  'share-2',
@@ -299,6 +325,7 @@ const IconList = [
299
325
  'single-left-arrow',
300
326
  'single-right-arrow',
301
327
  'single-up-arrow',
328
+ 'speaker-active-outlined',
302
329
  'speaker-outlined',
303
330
  'star-outlined',
304
331
  'stopwatch-outlined',
@@ -311,7 +338,7 @@ const IconList = [
311
338
  'timesheet-outlined',
312
339
  'transfer',
313
340
  'trash-bin-outlined',
314
- 'trash-outlined',
341
+ 'umbrela-outlined',
315
342
  'unavailable',
316
343
  'underline',
317
344
  'unlock-outlined',
@@ -71,7 +71,7 @@ exports[`Icon renders correctly with intent 1`] = `
71
71
  style={
72
72
  Array [
73
73
  Object {
74
- "color": "#001f23",
74
+ "color": "#401960",
75
75
  "fontSize": 24,
76
76
  },
77
77
  undefined,
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { StyleProp, ViewStyle } from 'react-native';
3
- import { useTheme } from '../../theme';
4
3
  import Icon from '../Icon';
5
4
  import Typography from '../Typography';
6
5
  import {
@@ -61,8 +60,6 @@ const BasicListItem = ({
61
60
  disabled = false,
62
61
  onPress,
63
62
  }: ListItemProps): JSX.Element => {
64
- const theme = useTheme();
65
-
66
63
  return (
67
64
  <StyledListItemContainer
68
65
  style={style}
@@ -71,14 +68,18 @@ const BasicListItem = ({
71
68
  themeDisabled={disabled}
72
69
  onPress={onPress}
73
70
  disabled={disabled}
74
- underlayColor={
75
- theme.__hd__.list.colors.highlightedListItemContainerBackground
76
- }
77
71
  >
78
72
  <>
79
73
  {prefix && (
80
74
  <StyledPrefixContainer>
81
- {typeof prefix === 'string' ? <Icon icon={prefix} /> : prefix}
75
+ {typeof prefix === 'string' ? (
76
+ <Icon
77
+ icon={prefix}
78
+ intent={disabled ? 'disabled-text' : 'primary'}
79
+ />
80
+ ) : (
81
+ prefix
82
+ )}
82
83
  </StyledPrefixContainer>
83
84
  )}
84
85
  <StyledTitleContainer>
@@ -98,7 +99,11 @@ const BasicListItem = ({
98
99
  {suffix && (
99
100
  <StyledSuffixContainer>
100
101
  {typeof suffix === 'string' ? (
101
- <Icon icon={suffix} intent="text" size="small" />
102
+ <Icon
103
+ icon={suffix}
104
+ size="small"
105
+ intent={disabled ? 'disabled-text' : 'primary'}
106
+ />
102
107
  ) : (
103
108
  suffix
104
109
  )}
@@ -3,7 +3,6 @@ import React from 'react';
3
3
  import { View } from 'react-native';
4
4
  import type { ReactNode } from 'react';
5
5
  import type { StyleProp, ViewStyle } from 'react-native';
6
- import { useTheme } from '../../theme';
7
6
  import Icon from '../Icon';
8
7
  import Typography from '../Typography';
9
8
  import {
@@ -82,7 +81,6 @@ const ListItem = ({
82
81
  onPress,
83
82
  disabled = false,
84
83
  }: ListItemProps): JSX.Element => {
85
- const theme = useTheme();
86
84
  return (
87
85
  <StyledListItemContainer
88
86
  style={style}
@@ -91,9 +89,6 @@ const ListItem = ({
91
89
  themeVariant={variant}
92
90
  onPress={onPress}
93
91
  disabled={disabled}
94
- underlayColor={
95
- theme.__hd__.list.colors.highlightedListItemContainerBackground
96
- }
97
92
  >
98
93
  <>
99
94
  {leadingStatus && (
@@ -111,7 +106,14 @@ const ListItem = ({
111
106
  >
112
107
  {prefix && (
113
108
  <StyledPrefixContainer>
114
- {typeof prefix === 'string' ? <Icon icon={prefix} /> : prefix}
109
+ {typeof prefix === 'string' ? (
110
+ <Icon
111
+ icon={prefix}
112
+ intent={disabled ? 'disabled-text' : 'primary'}
113
+ />
114
+ ) : (
115
+ prefix
116
+ )}
115
117
  </StyledPrefixContainer>
116
118
  )}
117
119
  <StyledTitleContainer>
@@ -1,5 +1,5 @@
1
1
  import styled from '@emotion/native';
2
- import { TouchableHighlight, View } from 'react-native';
2
+ import { TouchableOpacity, View } from 'react-native';
3
3
 
4
4
  const StyledPrefixContainer = styled(View)(({ theme }) => ({
5
5
  marginRight: theme.__hd__.list.space.prefixContainerMarginRight,
@@ -11,7 +11,7 @@ const StyledTitleContainer = styled(View)(() => ({
11
11
  flex: 1,
12
12
  }));
13
13
 
14
- const StyledListItemContainer = styled(TouchableHighlight)<{
14
+ const StyledListItemContainer = styled(TouchableOpacity)<{
15
15
  themeSelected?: boolean;
16
16
  themeDisabled?: boolean;
17
17
  }>(({ theme, themeSelected, themeDisabled }) => ({
@@ -1,4 +1,4 @@
1
- import { TouchableHighlight, View } from 'react-native';
1
+ import { TouchableOpacity, View } from 'react-native';
2
2
  import styled from '@emotion/native';
3
3
 
4
4
  export type Variant = 'full-width' | 'card';
@@ -9,7 +9,7 @@ export type LeadingStatusIntent =
9
9
  | 'info'
10
10
  | 'archived';
11
11
 
12
- const StyledListItemContainer = styled(TouchableHighlight)<{
12
+ const StyledListItemContainer = styled(TouchableOpacity)<{
13
13
  themeSelected?: boolean;
14
14
  themeVariant?: Variant;
15
15
  }>(({ theme, themeSelected = false, themeVariant = 'basic' }) => {
@@ -2,13 +2,10 @@
2
2
 
3
3
  exports[`BasicListItem when suffix and prefix are icon name renders correctly 1`] = `
4
4
  <View
5
- accessibilityState={
6
- Object {
7
- "disabled": false,
8
- }
9
- }
10
5
  accessible={true}
6
+ collapsable={false}
11
7
  focusable={false}
8
+ nativeID="animatedComponent"
12
9
  onClick={[Function]}
13
10
  onResponderGrant={[Function]}
14
11
  onResponderMove={[Function]}
@@ -17,17 +14,14 @@ exports[`BasicListItem when suffix and prefix are icon name renders correctly 1`
17
14
  onResponderTerminationRequest={[Function]}
18
15
  onStartShouldSetResponder={[Function]}
19
16
  style={
20
- Array [
21
- Object {
22
- "alignItems": "center",
23
- "backgroundColor": "#ffffff",
24
- "borderRadius": 4,
25
- "flexDirection": "row",
26
- "opacity": 1,
27
- "padding": 16,
28
- },
29
- undefined,
30
- ]
17
+ Object {
18
+ "alignItems": "center",
19
+ "backgroundColor": "#ffffff",
20
+ "borderRadius": 4,
21
+ "flexDirection": "row",
22
+ "opacity": 1,
23
+ "padding": 16,
24
+ }
31
25
  }
32
26
  testID="basic-list-item"
33
27
  >
@@ -46,13 +40,13 @@ exports[`BasicListItem when suffix and prefix are icon name renders correctly 1`
46
40
  style={
47
41
  Array [
48
42
  Object {
49
- "color": "#001f23",
43
+ "color": "#401960",
50
44
  "fontSize": 24,
51
45
  },
52
46
  undefined,
53
47
  ]
54
48
  }
55
- themeIntent="text"
49
+ themeIntent="primary"
56
50
  themeSize="medium"
57
51
  />
58
52
  </View>
@@ -120,13 +114,13 @@ exports[`BasicListItem when suffix and prefix are icon name renders correctly 1`
120
114
  style={
121
115
  Array [
122
116
  Object {
123
- "color": "#001f23",
117
+ "color": "#401960",
124
118
  "fontSize": 20,
125
119
  },
126
120
  undefined,
127
121
  ]
128
122
  }
129
- themeIntent="text"
123
+ themeIntent="primary"
130
124
  themeSize="small"
131
125
  />
132
126
  </View>
@@ -135,13 +129,10 @@ exports[`BasicListItem when suffix and prefix are icon name renders correctly 1`
135
129
 
136
130
  exports[`BasicListItem when suffix and prefix are react element renders correctly 1`] = `
137
131
  <View
138
- accessibilityState={
139
- Object {
140
- "disabled": false,
141
- }
142
- }
143
132
  accessible={true}
133
+ collapsable={false}
144
134
  focusable={false}
135
+ nativeID="animatedComponent"
145
136
  onClick={[Function]}
146
137
  onResponderGrant={[Function]}
147
138
  onResponderMove={[Function]}
@@ -150,17 +141,14 @@ exports[`BasicListItem when suffix and prefix are react element renders correctl
150
141
  onResponderTerminationRequest={[Function]}
151
142
  onStartShouldSetResponder={[Function]}
152
143
  style={
153
- Array [
154
- Object {
155
- "alignItems": "center",
156
- "backgroundColor": "#ffffff",
157
- "borderRadius": 4,
158
- "flexDirection": "row",
159
- "opacity": 1,
160
- "padding": 16,
161
- },
162
- undefined,
163
- ]
144
+ Object {
145
+ "alignItems": "center",
146
+ "backgroundColor": "#ffffff",
147
+ "borderRadius": 4,
148
+ "flexDirection": "row",
149
+ "opacity": 1,
150
+ "padding": 16,
151
+ }
164
152
  }
165
153
  testID="basic-list-item"
166
154
  >