@hero-design/rn 7.23.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 (276) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/assets/fonts/hero-icons.ttf +0 -0
  3. package/es/index.js +1364 -9239
  4. package/lib/assets/fonts/hero-icons.ttf +0 -0
  5. package/lib/index.js +1368 -9238
  6. package/package.json +7 -4
  7. package/rollup.config.js +1 -0
  8. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +4 -4
  9. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
  10. package/src/components/Attachment/StyledAttachment.tsx +44 -0
  11. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +158 -0
  12. package/src/components/Attachment/__tests__/index.spec.tsx +59 -0
  13. package/src/components/Attachment/index.tsx +77 -0
  14. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -3
  15. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  16. package/src/components/Badge/Status.tsx +1 -1
  17. package/src/components/Badge/StyledBadge.tsx +8 -1
  18. package/src/components/Badge/__tests__/Badge.spec.tsx +9 -0
  19. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +44 -0
  20. package/src/components/Badge/index.tsx +1 -1
  21. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  22. package/src/components/BottomSheet/Header.tsx +2 -1
  23. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +52 -52
  24. package/src/components/BottomSheet/index.tsx +4 -4
  25. package/src/components/Button/Button.tsx +0 -11
  26. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +4 -4
  27. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
  28. package/src/components/Button/LoadingIndicator/index.tsx +1 -1
  29. package/src/components/Button/StyledButton.tsx +24 -63
  30. package/src/components/Button/UtilityButton/__tests__/index.spec.tsx +2 -2
  31. package/src/components/Button/__tests__/Button.spec.tsx +10 -5
  32. package/src/components/Button/__tests__/StyledButton.spec.tsx +0 -70
  33. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +301 -1206
  34. package/src/components/Calendar/CalendarRowItem.tsx +1 -4
  35. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -5
  36. package/src/components/Calendar/index.tsx +4 -3
  37. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +1 -1
  38. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -1
  39. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  40. package/src/components/Checkbox/StyledCheckbox.tsx +7 -5
  41. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +4 -12
  42. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +95 -42
  43. package/src/components/Checkbox/index.tsx +4 -2
  44. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  45. package/src/components/ContentNavigator/index.tsx +14 -9
  46. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +2 -0
  47. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +29 -27
  48. package/src/components/Drawer/DragableDrawer/index.tsx +0 -2
  49. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  50. package/src/components/Empty/index.tsx +1 -2
  51. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
  52. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +1 -1
  53. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  54. package/src/components/Icon/HeroIcon/fonts/hero-icons.ttf +0 -0
  55. package/src/components/Icon/HeroIcon/glyphMap.json +1 -0
  56. package/src/components/Icon/HeroIcon/index.tsx +3 -7
  57. package/src/components/Icon/IconList.ts +36 -6
  58. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  59. package/src/components/Icon/index.tsx +1 -0
  60. package/src/components/List/BasicListItem.tsx +13 -8
  61. package/src/components/List/ListItem.tsx +8 -6
  62. package/src/components/List/StyledBasicListItem.tsx +2 -2
  63. package/src/components/List/StyledListItem.tsx +2 -2
  64. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +24 -36
  65. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +39 -59
  66. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +40 -44
  67. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +50 -50
  68. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +6 -6
  69. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +21 -21
  70. package/src/components/Progress/ProgressBar.tsx +1 -1
  71. package/src/components/Progress/ProgressCircle.tsx +1 -1
  72. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +10 -10
  73. package/src/components/Progress/types.ts +7 -1
  74. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +20 -32
  75. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +30 -48
  76. package/src/components/RefreshControl/__tests__/index.spec.tsx +1 -3
  77. package/src/components/RefreshControl/index.tsx +4 -2
  78. package/src/components/RichTextEditor/MentionList.tsx +12 -3
  79. package/src/components/RichTextEditor/RichTextEditor.tsx +4 -8
  80. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +6 -4
  81. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  82. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +13 -20
  83. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +154 -238
  84. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +435 -650
  85. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +11 -18
  86. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +144 -228
  87. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +414 -629
  88. package/src/components/Select/StyledOptionList.tsx +0 -1
  89. package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +1 -1
  90. package/src/components/Spinner/AnimatedSpinner.tsx +22 -7
  91. package/src/components/Spinner/StyledSpinner.tsx +15 -11
  92. package/src/components/Spinner/__tests__/AnimatedSpinner.spec.tsx +3 -1
  93. package/src/components/Spinner/__tests__/StyledSpinner.spec.tsx +42 -31
  94. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +12 -8
  95. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +543 -83
  96. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +12 -8
  97. package/src/components/Spinner/index.tsx +6 -1
  98. package/src/components/Swipeable/StyledSwipeable.tsx +11 -0
  99. package/src/components/Swipeable/SwipeableAction.tsx +45 -0
  100. package/src/components/Swipeable/__tests__/SwipeableAction.spec.tsx +37 -0
  101. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +130 -0
  102. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +33 -0
  103. package/src/components/Swipeable/__tests__/index.spec.tsx +34 -0
  104. package/src/components/Swipeable/index.tsx +160 -0
  105. package/src/components/Switch/SelectorSwitch/Option.tsx +1 -5
  106. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +3 -3
  107. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  108. package/src/components/Switch/SelectorSwitch/__tests__/index.spec.tsx +1 -0
  109. package/src/components/Switch/SelectorSwitch/index.tsx +4 -1
  110. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +1 -1
  111. package/src/components/Tabs/StyledTabs.tsx +1 -1
  112. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +1 -1
  113. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  114. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +2 -2
  115. package/src/components/TextInput/StyledTextInput.tsx +7 -12
  116. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +12 -6
  117. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +31 -146
  118. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +40 -14
  119. package/src/components/TextInput/__tests__/index.spec.tsx +114 -124
  120. package/src/components/TextInput/index.tsx +8 -6
  121. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +2 -0
  122. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +29 -27
  123. package/src/components/Toast/Toast.tsx +0 -3
  124. package/src/components/Toast/ToastProvider.tsx +1 -0
  125. package/src/components/Toast/__tests__/index.spec.tsx +1 -1
  126. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -12
  127. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +6 -6
  128. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +4 -4
  129. package/src/emotion.d.ts +1 -0
  130. package/src/index.ts +10 -0
  131. package/src/theme/ThemeSwitcher.tsx +7 -1
  132. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +96 -78
  133. package/src/theme/__tests__/ensureCompatibleWithV7.spec.tsx +13 -0
  134. package/src/theme/components/alert.ts +1 -1
  135. package/src/theme/components/attachment.ts +28 -0
  136. package/src/theme/components/avatar.ts +1 -1
  137. package/src/theme/components/badge.ts +2 -1
  138. package/src/theme/components/bottomNavigation.ts +1 -1
  139. package/src/theme/components/bottomSheet.ts +2 -2
  140. package/src/theme/components/button.ts +4 -20
  141. package/src/theme/components/calendar.ts +3 -3
  142. package/src/theme/components/card.ts +1 -1
  143. package/src/theme/components/checkbox.ts +2 -2
  144. package/src/theme/components/divider.ts +1 -1
  145. package/src/theme/components/drawer.ts +2 -2
  146. package/src/theme/components/empty.ts +3 -3
  147. package/src/theme/components/fab.ts +7 -7
  148. package/src/theme/components/icon.ts +4 -4
  149. package/src/theme/components/list.ts +0 -2
  150. package/src/theme/components/pinInput.ts +4 -4
  151. package/src/theme/components/progress.ts +6 -5
  152. package/src/theme/components/radio.ts +1 -1
  153. package/src/theme/components/richTextEditor.ts +2 -2
  154. package/src/theme/components/slider.ts +2 -2
  155. package/src/theme/components/spinner.ts +4 -1
  156. package/src/theme/components/swipeable.ts +13 -0
  157. package/src/theme/components/switch.ts +4 -4
  158. package/src/theme/components/tabs.ts +6 -5
  159. package/src/theme/components/tag.ts +2 -2
  160. package/src/theme/components/textInput.ts +23 -33
  161. package/src/theme/components/toast.ts +3 -3
  162. package/src/theme/components/toolbar.ts +3 -3
  163. package/src/theme/components/typography.ts +7 -7
  164. package/src/theme/getTheme.ts +7 -1
  165. package/src/theme/global/colors/eBens.ts +23 -0
  166. package/src/theme/global/colors/global.ts +15 -6
  167. package/src/theme/global/colors/jobs.ts +15 -10
  168. package/src/theme/global/colors/legacySystemPalette.ts +6 -6
  169. package/src/theme/global/colors/swag.ts +32 -53
  170. package/src/theme/global/colors/types.ts +35 -15
  171. package/src/theme/global/colors/wallet.ts +23 -0
  172. package/src/theme/global/colors/work.ts +15 -11
  173. package/src/theme/global/index.ts +4 -0
  174. package/src/theme/index.ts +4 -0
  175. package/src/types.ts +2 -0
  176. package/src/utils/functions.ts +2 -0
  177. package/src/utils/scale.ts +1 -1
  178. package/testUtils/setup.tsx +13 -0
  179. package/tsconfig.json +8 -2
  180. package/types/components/Accordion/StyledAccordion.d.ts +14 -14
  181. package/types/components/Alert/StyledAlert.d.ts +15 -15
  182. package/types/components/Attachment/StyledAttachment.d.ts +28 -0
  183. package/types/components/Attachment/index.d.ts +37 -0
  184. package/types/components/Avatar/StyledAvatar.d.ts +15 -15
  185. package/types/components/Avatar/index.d.ts +1 -1
  186. package/types/components/Badge/Status.d.ts +1 -1
  187. package/types/components/Badge/StyledBadge.d.ts +8 -8
  188. package/types/components/Badge/index.d.ts +1 -1
  189. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +21 -21
  190. package/types/components/BottomSheet/Header.d.ts +1 -1
  191. package/types/components/BottomSheet/StyledBottomSheet.d.ts +22 -22
  192. package/types/components/Box/StyledBox.d.ts +4 -4
  193. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +7 -7
  194. package/types/components/Button/StyledButton.d.ts +15 -18
  195. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +8 -8
  196. package/types/components/Calendar/StyledCalendar.d.ts +25 -25
  197. package/types/components/Calendar/helpers.d.ts +2 -2
  198. package/types/components/Card/DataCard/StyledDataCard.d.ts +6 -6
  199. package/types/components/Card/StyledCard.d.ts +7 -7
  200. package/types/components/Checkbox/StyledCheckbox.d.ts +16 -10
  201. package/types/components/Collapse/StyledCollapse.d.ts +8 -8
  202. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +5 -5
  203. package/types/components/ContentNavigator/index.d.ts +2 -1
  204. package/types/components/DatePicker/StyledDatePicker.d.ts +3 -3
  205. package/types/components/Divider/StyledDivider.d.ts +5 -5
  206. package/types/components/Drawer/StyledDrawer.d.ts +19 -19
  207. package/types/components/Empty/StyledEmpty.d.ts +9 -9
  208. package/types/components/Empty/index.d.ts +1 -2
  209. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +11 -11
  210. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +7 -7
  211. package/types/components/FAB/StyledFAB.d.ts +8 -8
  212. package/types/components/Icon/HeroIcon/index.d.ts +3 -3
  213. package/types/components/Icon/IconList.d.ts +1 -1
  214. package/types/components/Icon/index.d.ts +4 -1
  215. package/types/components/Icon/utils.d.ts +1 -1
  216. package/types/components/List/StyledBasicListItem.d.ts +16 -16
  217. package/types/components/List/StyledListItem.d.ts +25 -25
  218. package/types/components/PinInput/StyledPinInput.d.ts +30 -30
  219. package/types/components/Progress/ProgressBar.d.ts +1 -1
  220. package/types/components/Progress/ProgressCircle.d.ts +1 -1
  221. package/types/components/Progress/StyledProgressBar.d.ts +5 -5
  222. package/types/components/Progress/StyledProgressCircle.d.ts +18 -18
  223. package/types/components/Progress/types.d.ts +1 -1
  224. package/types/components/Radio/StyledRadio.d.ts +9 -9
  225. package/types/components/RefreshControl/index.d.ts +1 -2
  226. package/types/components/RichTextEditor/EditorToolbar.d.ts +1 -1
  227. package/types/components/RichTextEditor/MentionList.d.ts +1 -1
  228. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +6 -6
  229. package/types/components/RichTextEditor/StyledToolbar.d.ts +9 -9
  230. package/types/components/RichTextEditor/index.d.ts +2 -2
  231. package/types/components/SectionHeading/StyledHeading.d.ts +9 -9
  232. package/types/components/Select/MultiSelect/Option.d.ts +1 -1
  233. package/types/components/Select/SingleSelect/Option.d.ts +1 -1
  234. package/types/components/Select/StyledSelect.d.ts +11 -11
  235. package/types/components/Select/helpers.d.ts +1 -1
  236. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
  237. package/types/components/Spinner/StyledSpinner.d.ts +13 -12
  238. package/types/components/Spinner/index.d.ts +5 -1
  239. package/types/components/Swipeable/StyledSwipeable.d.ts +10 -0
  240. package/types/components/Swipeable/SwipeableAction.d.ts +27 -0
  241. package/types/components/Swipeable/index.d.ts +45 -0
  242. package/types/components/Switch/SelectorSwitch/Option.d.ts +3 -1
  243. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +9 -9
  244. package/types/components/Switch/StyledSwitch.d.ts +5 -5
  245. package/types/components/Tabs/StyledScrollableTabs.d.ts +23 -23
  246. package/types/components/Tabs/StyledTabs.d.ts +22 -22
  247. package/types/components/Tag/StyledTag.d.ts +6 -6
  248. package/types/components/TextInput/StyledTextInput.d.ts +46 -45
  249. package/types/components/TextInput/index.d.ts +6 -6
  250. package/types/components/TimePicker/StyledTimePicker.d.ts +3 -3
  251. package/types/components/Toast/StyledToast.d.ts +17 -17
  252. package/types/components/Toolbar/StyledToolbar.d.ts +9 -9
  253. package/types/components/Typography/Text/StyledText.d.ts +3 -3
  254. package/types/index.d.ts +4 -2
  255. package/types/testHelpers/renderWithTheme.d.ts +1 -1
  256. package/types/theme/ThemeSwitcher.d.ts +2 -2
  257. package/types/theme/components/attachment.d.ts +21 -0
  258. package/types/theme/components/badge.d.ts +1 -0
  259. package/types/theme/components/button.d.ts +0 -15
  260. package/types/theme/components/list.d.ts +0 -1
  261. package/types/theme/components/progress.d.ts +1 -0
  262. package/types/theme/components/spinner.d.ts +4 -1
  263. package/types/theme/components/swipeable.d.ts +9 -0
  264. package/types/theme/components/tabs.d.ts +1 -0
  265. package/types/theme/components/tag.d.ts +2 -2
  266. package/types/theme/components/textInput.d.ts +0 -10
  267. package/types/theme/getTheme.d.ts +4 -0
  268. package/types/theme/global/colors/eBens.d.ts +3 -0
  269. package/types/theme/global/colors/types.d.ts +23 -16
  270. package/types/theme/global/colors/wallet.d.ts +3 -0
  271. package/types/theme/global/index.d.ts +26 -12
  272. package/types/theme/index.d.ts +2 -2
  273. package/types/types.d.ts +2 -1
  274. package/types/utils/functions.d.ts +1 -0
  275. package/types/utils/hooks.d.ts +1 -1
  276. package/src/components/Icon/HeroIcon/selection.json +0 -7029
@@ -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",
@@ -0,0 +1 @@
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}
@@ -1,6 +1,6 @@
1
- import { createIconSetFromIcoMoon } from 'react-native-vector-icons';
1
+ import { createIconSet } from 'react-native-vector-icons';
2
2
  import styled from '@emotion/native';
3
- import heroIconConfig from './selection.json';
3
+ import glyphMap from './glyphMap.json';
4
4
 
5
5
  type ThemeSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
6
6
  type ThemeIntent =
@@ -14,11 +14,7 @@ type ThemeIntent =
14
14
  | 'disabled-text'
15
15
  | 'text-inverted';
16
16
 
17
- const HeroIcon = createIconSetFromIcoMoon(
18
- heroIconConfig,
19
- 'hero-icons',
20
- 'hero-icons.ttf'
21
- );
17
+ const HeroIcon = createIconSet(glyphMap, 'hero-icons', 'hero-icons.ttf');
22
18
 
23
19
  const COLOR_INTENTS = {
24
20
  text: 'text',
@@ -1,10 +1,13 @@
1
+ // 🔴 DO NOT EDIT — This file is generated automatically.
1
2
  const IconList = [
2
3
  'activate',
3
4
  'add-emoji',
4
5
  'add-person',
5
6
  'adjustment',
6
7
  'alignment',
8
+ 'antenna',
7
9
  'archive',
10
+ 'assignment-warning',
8
11
  'bank',
9
12
  'bell',
10
13
  'billing',
@@ -18,9 +21,13 @@ const IconList = [
18
21
  'candy-box-menu',
19
22
  'carat-down-small',
20
23
  'carat-down',
24
+ 'carat-left-small',
21
25
  'carat-left',
26
+ 'carat-right-small',
22
27
  'carat-right',
28
+ 'carat-up-small',
23
29
  'carat-up',
30
+ 'check-radio',
24
31
  'circle-add',
25
32
  'circle-cancel',
26
33
  'circle-check',
@@ -34,8 +41,8 @@ const IconList = [
34
41
  'circle-right',
35
42
  'circle-up',
36
43
  'circle-warning',
37
- 'clock',
38
44
  'clock-3',
45
+ 'clock',
39
46
  'cloud-download',
40
47
  'cloud-upload',
41
48
  'cog',
@@ -77,7 +84,7 @@ const IconList = [
77
84
  'file-verified',
78
85
  'file-word',
79
86
  'file',
80
- 'filter-outlined',
87
+ 'filter',
81
88
  'folder-user',
82
89
  'folder',
83
90
  'format-bold',
@@ -101,13 +108,12 @@ const IconList = [
101
108
  'incident-siren',
102
109
  'instapay',
103
110
  'list',
104
- 'loading',
105
111
  'loading-2',
112
+ 'loading',
106
113
  'location',
107
114
  'lock',
108
115
  'looks-one',
109
116
  'looks-two',
110
- 'mandatory',
111
117
  'media-content',
112
118
  'menu',
113
119
  'moneybag',
@@ -125,8 +131,8 @@ const IconList = [
125
131
  'play-circle',
126
132
  'print',
127
133
  'raising-hands',
128
- 'reply',
129
134
  'reply-arrow',
135
+ 'reply',
130
136
  'reschedule',
131
137
  'rostering',
132
138
  'save',
@@ -134,6 +140,7 @@ const IconList = [
134
140
  'schedule',
135
141
  'search-person',
136
142
  'send',
143
+ 'speaker-active',
137
144
  'speaker',
138
145
  'star-award',
139
146
  'star-badge',
@@ -155,7 +162,10 @@ const IconList = [
155
162
  'user',
156
163
  'video-1',
157
164
  'video-2',
165
+ 'wallet',
166
+ 'warning',
158
167
  'activate-outlined',
168
+ 'add-credit-card-outlined',
159
169
  'add-person-outlined',
160
170
  'add-section-outlined',
161
171
  'add-time-outlined',
@@ -165,14 +175,21 @@ const IconList = [
165
175
  'alignment-outlined',
166
176
  'all-caps',
167
177
  'arrow-down',
178
+ 'arrow-downwards',
168
179
  'arrow-left',
180
+ 'arrow-leftwards',
169
181
  'arrow-right',
182
+ 'arrow-rightwards',
170
183
  'arrow-up',
184
+ 'arrow-upwards',
171
185
  'at-sign',
186
+ 'bell-active-outlined',
172
187
  'bell-outlined',
188
+ 'bell-slash-outlined',
173
189
  'billing-outlined',
174
190
  'body-outlined',
175
191
  'bold',
192
+ 'bookmark-added-outlined',
176
193
  'bookmark-outlined',
177
194
  'box-check-outlined',
178
195
  'box-outlined',
@@ -182,6 +199,8 @@ const IconList = [
182
199
  'calendar-star-outlined',
183
200
  'camera-outlined',
184
201
  'cancel',
202
+ 'chat-bubble-outlined',
203
+ 'chat-unread-outlined',
185
204
  'checkmark',
186
205
  'circle-add-outlined',
187
206
  'circle-cancel-outlined',
@@ -201,9 +220,11 @@ const IconList = [
201
220
  'comment-outlined',
202
221
  'contacts-outlined',
203
222
  'credit-card-outlined',
223
+ 'cup-outlined',
204
224
  'direction-arrows-outlined',
205
225
  'directory-outlined',
206
226
  'document-outlined',
227
+ 'dollar-card-outlined',
207
228
  'dollar-coin-shine-outlined',
208
229
  'dollar-sign',
209
230
  'double-buildings-outlined',
@@ -215,6 +236,7 @@ const IconList = [
215
236
  'enter-arrow',
216
237
  'envelope-outlined',
217
238
  'expense-outlined',
239
+ 'explore-outlined',
218
240
  'external-link',
219
241
  'eye-invisible-outlined',
220
242
  'eye-outlined',
@@ -228,6 +250,7 @@ const IconList = [
228
250
  'file-clone-outlined',
229
251
  'file-copy-outlined',
230
252
  'file-dispose-outlined',
253
+ 'file-dollar-outlined',
231
254
  'file-download-outlined',
232
255
  'file-export-outlined',
233
256
  'file-lock-outlined',
@@ -235,6 +258,7 @@ const IconList = [
235
258
  'file-search-outlined',
236
259
  'file-secured-outlined',
237
260
  'file-verified-outlined',
261
+ 'filter-outlined',
238
262
  'folder-outlined',
239
263
  'folder-user-outlined',
240
264
  'funnel-filter-outline',
@@ -242,7 +266,9 @@ const IconList = [
242
266
  'happy-sun-outlined',
243
267
  'health-bag-outlined',
244
268
  'heart-outlined',
269
+ 'home-active-outlined',
245
270
  'home-outlined',
271
+ 'id-card-outlined',
246
272
  'image-outlined',
247
273
  'import-outlined',
248
274
  'instapay-outlined',
@@ -250,6 +276,7 @@ const IconList = [
250
276
  'link-1',
251
277
  'link-2',
252
278
  'list-outlined',
279
+ 'live-help-outlined',
253
280
  'location-outlined',
254
281
  'lock-outlined',
255
282
  'locked-file-outlined',
@@ -265,6 +292,7 @@ const IconList = [
265
292
  'more-vertical',
266
293
  'multiple-folders-outlined',
267
294
  'multiple-users-outlined',
295
+ 'near-me-outlined',
268
296
  'node-outlined',
269
297
  'number-points',
270
298
  'number',
@@ -289,6 +317,7 @@ const IconList = [
289
317
  'save-outlined',
290
318
  'schedule-outlined',
291
319
  'search-outlined',
320
+ 'search-secured-outlined',
292
321
  'send-outlined',
293
322
  'share-1',
294
323
  'share-2',
@@ -296,6 +325,7 @@ const IconList = [
296
325
  'single-left-arrow',
297
326
  'single-right-arrow',
298
327
  'single-up-arrow',
328
+ 'speaker-active-outlined',
299
329
  'speaker-outlined',
300
330
  'star-outlined',
301
331
  'stopwatch-outlined',
@@ -308,6 +338,7 @@ const IconList = [
308
338
  'timesheet-outlined',
309
339
  'transfer',
310
340
  'trash-bin-outlined',
341
+ 'umbrela-outlined',
311
342
  'unavailable',
312
343
  'underline',
313
344
  'unlock-outlined',
@@ -318,7 +349,6 @@ const IconList = [
318
349
  'video-1-outlined',
319
350
  'video-2-outlined',
320
351
  'wallet-outlined',
321
- 'warning',
322
352
  ] as const;
323
353
 
324
354
  export default IconList;
@@ -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,
@@ -68,4 +68,5 @@ const Icon = ({
68
68
  />
69
69
  );
70
70
 
71
+ Icon.List = IconList;
71
72
  export default Icon;
@@ -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
  >