@hero-design/rn 8.44.0-alpha.0 → 8.44.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 (275) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +30 -0
  3. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/es/index.js +2773 -2662
  5. package/jest-setup.ts +2 -0
  6. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  7. package/lib/index.js +2776 -2666
  8. package/package.json +23 -24
  9. package/rollup.config.js +0 -1
  10. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +564 -384
  11. package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +76 -20
  12. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +791 -605
  13. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +848 -567
  14. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +172 -110
  15. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +138 -70
  16. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +745 -581
  17. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +158 -57
  18. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +273 -153
  19. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +391 -223
  20. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +119 -63
  21. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +306 -242
  22. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +317 -183
  23. package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +1042 -454
  24. package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +6 -10
  25. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +400 -140
  26. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +1090 -880
  27. package/src/components/Button/StyledButton.tsx +4 -0
  28. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +196 -106
  29. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1675 -1125
  30. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +71 -26
  31. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +1651 -665
  32. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +555 -330
  33. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +265 -69
  34. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +205 -65
  35. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +36 -8
  36. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +292 -124
  37. package/src/components/Carousel/CardCarousel.tsx +10 -7
  38. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +486 -406
  39. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +197 -70
  40. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +41 -13
  41. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1742 -1526
  42. package/src/components/Carousel/__tests__/index.spec.tsx +50 -3
  43. package/src/components/Carousel/index.tsx +16 -22
  44. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +404 -112
  45. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +574 -334
  46. package/src/components/Chip/StyledChip.tsx +121 -0
  47. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1483 -0
  48. package/src/components/Chip/__tests__/index.spec.tsx +136 -0
  49. package/src/components/Chip/index.tsx +82 -0
  50. package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +73 -17
  51. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +94 -38
  52. package/src/components/Collapse/index.tsx +1 -1
  53. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +37 -9
  54. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +424 -268
  55. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +586 -466
  56. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +200 -160
  57. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +192 -152
  58. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +471 -389
  59. package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +464 -128
  60. package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +97 -69
  61. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +327 -192
  62. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +169 -113
  63. package/src/components/Error/StyledError.tsx +2 -1
  64. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +390 -262
  65. package/src/components/Error/__tests__/index.spec.tsx +9 -6
  66. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +860 -723
  67. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +98 -42
  68. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +199 -99
  69. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +293 -185
  70. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +45 -17
  71. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  72. package/src/components/Icon/IconList.ts +3 -0
  73. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +158 -46
  74. package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +164 -52
  75. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +242 -170
  76. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +760 -588
  77. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +272 -128
  78. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +477 -193
  79. package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +169 -0
  80. package/src/components/Modal/__tests__/index.spec.tsx +99 -0
  81. package/src/components/Modal/index.tsx +178 -82
  82. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +84 -41
  83. package/src/components/PageControl/index.tsx +1 -0
  84. package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +9 -4
  85. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +293 -153
  86. package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +15 -48
  87. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +809 -697
  88. package/src/components/Portal/__tests__/PortalHost.spec.tsx +12 -14
  89. package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +43 -15
  90. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +743 -603
  91. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +188 -116
  92. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +257 -205
  93. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +864 -600
  94. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +128 -44
  95. package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +5 -2
  96. package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +3 -3
  97. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +413 -266
  98. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +64 -35
  99. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +371 -297
  100. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +158 -46
  101. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +394 -226
  102. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +93 -57
  103. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2387 -2151
  104. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +621 -28
  105. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -6
  106. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +73 -37
  107. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2321 -2085
  108. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +473 -23
  109. package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +490 -294
  110. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +117 -33
  111. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +105 -77
  112. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +1308 -636
  113. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +121 -93
  114. package/src/components/Success/StyledSuccess.tsx +2 -1
  115. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +388 -258
  116. package/src/components/Success/__tests__/index.spec.tsx +9 -6
  117. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +210 -75
  118. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +58 -30
  119. package/src/components/Swipeable/index.tsx +3 -3
  120. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +226 -114
  121. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +146 -109
  122. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +202 -62
  123. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +132 -68
  124. package/src/components/Tabs/__tests__/SceneView.spec.tsx +7 -7
  125. package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +206 -94
  126. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2217 -1962
  127. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +523 -455
  128. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +121 -65
  129. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1641 -1398
  130. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +554 -274
  131. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1542 -646
  132. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3177 -2701
  133. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +390 -310
  134. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +662 -540
  135. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +871 -573
  136. package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
  137. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +582 -426
  138. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +683 -363
  139. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +704 -256
  140. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +855 -323
  141. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +430 -150
  142. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +572 -208
  143. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +328 -104
  144. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +462 -154
  145. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +900 -340
  146. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +880 -320
  147. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +1035 -391
  148. package/src/index.ts +2 -2
  149. package/src/testHelpers/renderWithTheme.tsx +2 -2
  150. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +38 -1
  151. package/src/theme/components/button.ts +0 -1
  152. package/src/theme/components/chip.ts +47 -0
  153. package/src/theme/getTheme.ts +3 -0
  154. package/testUtils/setup.tsx +0 -18
  155. package/tsconfig.json +4 -1
  156. package/types/components/Accordion/AccordionItem.d.ts +2 -1
  157. package/types/components/Accordion/index.d.ts +1 -1
  158. package/types/components/Attachment/index.d.ts +2 -1
  159. package/types/components/Avatar/Avatar.d.ts +2 -1
  160. package/types/components/Avatar/AvatarStack/index.d.ts +2 -2
  161. package/types/components/Avatar/index.d.ts +3 -2
  162. package/types/components/Badge/StyledBadge.d.ts +0 -4
  163. package/types/components/BottomSheet/Footer.d.ts +2 -1
  164. package/types/components/BottomSheet/Header.d.ts +2 -1
  165. package/types/components/BottomSheet/ScrollView.d.ts +1 -0
  166. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -4
  167. package/types/components/Box/index.d.ts +2 -1
  168. package/types/components/Button/IconButton.d.ts +2 -1
  169. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +3 -3
  170. package/types/components/Button/LoadingIndicator/index.d.ts +2 -1
  171. package/types/components/Button/UtilityButton/index.d.ts +2 -1
  172. package/types/components/Calendar/CalendarRowItem.d.ts +2 -1
  173. package/types/components/Calendar/StyledCalendar.d.ts +1 -1
  174. package/types/components/Calendar/index.d.ts +2 -1
  175. package/types/components/Carousel/CardCarousel.d.ts +1 -1
  176. package/types/components/Carousel/CarouselItem.d.ts +2 -1
  177. package/types/components/Carousel/index.d.ts +2 -2
  178. package/types/components/Checkbox/index.d.ts +2 -1
  179. package/types/components/Chip/StyledChip.d.ts +31 -0
  180. package/types/components/Chip/index.d.ts +27 -0
  181. package/types/components/Collapse/StyledCollapse.d.ts +0 -2
  182. package/types/components/Collapse/index.d.ts +2 -1
  183. package/types/components/ContentNavigator/index.d.ts +2 -1
  184. package/types/components/DatePicker/DatePickerAndroid.d.ts +2 -1
  185. package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -1
  186. package/types/components/DatePicker/DatePickerIOS.d.ts +2 -1
  187. package/types/components/DatePicker/index.d.ts +2 -1
  188. package/types/components/Divider/index.d.ts +2 -1
  189. package/types/components/Drawer/StyledDrawer.d.ts +0 -6
  190. package/types/components/Error/StyledError.d.ts +3 -9
  191. package/types/components/FAB/ActionGroup/ActionItem.d.ts +2 -1
  192. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -4
  193. package/types/components/FAB/AnimatedFABIcon.d.ts +2 -1
  194. package/types/components/HeroDesignProvider/index.d.ts +2 -1
  195. package/types/components/Icon/AnimatedIcon.d.ts +2 -1
  196. package/types/components/Icon/IconList.d.ts +1 -1
  197. package/types/components/Icon/index.d.ts +3 -2
  198. package/types/components/Icon/utils.d.ts +1 -1
  199. package/types/components/Image/index.d.ts +1 -0
  200. package/types/components/Modal/index.d.ts +12 -8
  201. package/types/components/PageControl/StyledPageControl.d.ts +0 -2
  202. package/types/components/PageControl/index.d.ts +2 -1
  203. package/types/components/PinInput/PinCell.d.ts +2 -1
  204. package/types/components/Portal/PortalHost.d.ts +1 -1
  205. package/types/components/Portal/PortalProvider.d.ts +1 -1
  206. package/types/components/Portal/index.d.ts +2 -2
  207. package/types/components/Progress/ProgressBar.d.ts +1 -0
  208. package/types/components/Progress/StyledProgressBar.d.ts +0 -2
  209. package/types/components/Progress/index.d.ts +1 -0
  210. package/types/components/Rate/StyledRate.d.ts +0 -2
  211. package/types/components/Rate/index.d.ts +2 -1
  212. package/types/components/RefreshControl/index.d.ts +2 -1
  213. package/types/components/RichTextEditor/EditorToolbar.d.ts +2 -1
  214. package/types/components/RichTextEditor/MentionList.d.ts +2 -1
  215. package/types/components/RichTextEditor/index.d.ts +2 -2
  216. package/types/components/Select/BaseOptionList.d.ts +1 -1
  217. package/types/components/Select/Footer.d.ts +2 -1
  218. package/types/components/Select/MultiSelect/Option.d.ts +2 -1
  219. package/types/components/Select/MultiSelect/OptionList.d.ts +2 -1
  220. package/types/components/Select/MultiSelect/index.d.ts +1 -1
  221. package/types/components/Select/SingleSelect/Option.d.ts +2 -1
  222. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  223. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +2 -1
  224. package/types/components/Select/SingleSelect/index.d.ts +1 -1
  225. package/types/components/Select/helpers.d.ts +1 -2
  226. package/types/components/Select/index.d.ts +2 -1
  227. package/types/components/Skeleton/index.d.ts +2 -1
  228. package/types/components/Slider/index.d.ts +2 -1
  229. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
  230. package/types/components/Success/StyledSuccess.d.ts +3 -7
  231. package/types/components/Swipeable/SwipeableAction.d.ts +2 -2
  232. package/types/components/Swipeable/index.d.ts +3 -3
  233. package/types/components/Switch/SelectorSwitch/Option.d.ts +2 -1
  234. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -6
  235. package/types/components/Switch/StyledSwitch.d.ts +0 -2
  236. package/types/components/Tabs/ActiveTabIndicator.d.ts +2 -1
  237. package/types/components/Tabs/SceneView.d.ts +1 -1
  238. package/types/components/Tabs/ScrollableTabs.d.ts +2 -1
  239. package/types/components/Tabs/ScrollableTabsHeader.d.ts +2 -1
  240. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -4
  241. package/types/components/Tabs/StyledTabs.d.ts +0 -4
  242. package/types/components/Tabs/TabWithBadge.d.ts +2 -2
  243. package/types/components/Tabs/index.d.ts +2 -1
  244. package/types/components/TextInput/StyledTextInput.d.ts +1 -1
  245. package/types/components/TextInput/index.d.ts +1 -1
  246. package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -1
  247. package/types/components/TimePicker/TimePickerIOS.d.ts +2 -1
  248. package/types/components/TimePicker/index.d.ts +2 -1
  249. package/types/components/Toast/StyledToast.d.ts +0 -2
  250. package/types/components/Toast/Toast.d.ts +1 -0
  251. package/types/components/Toast/ToastProvider.d.ts +2 -1
  252. package/types/components/Toast/index.d.ts +1 -1
  253. package/types/components/Toolbar/ToolbarGroup.d.ts +2 -1
  254. package/types/components/Toolbar/ToolbarItem.d.ts +2 -1
  255. package/types/components/Toolbar/index.d.ts +3 -2
  256. package/types/components/Typography/Body/index.d.ts +2 -1
  257. package/types/components/Typography/Caption/index.d.ts +2 -1
  258. package/types/components/Typography/Label/index.d.ts +2 -1
  259. package/types/components/Typography/Text/index.d.ts +2 -1
  260. package/types/components/Typography/Title/index.d.ts +2 -1
  261. package/types/index.d.ts +2 -2
  262. package/types/testHelpers/renderWithTheme.d.ts +1 -0
  263. package/types/theme/ThemeSwitcher.d.ts +2 -2
  264. package/types/theme/components/button.d.ts +0 -1
  265. package/types/theme/components/chip.d.ts +40 -0
  266. package/types/theme/getTheme.d.ts +2 -0
  267. package/.turbo/turbo-publish:npm.log +0 -0
  268. package/src/components/Modal/ModalContentWrapper.tsx +0 -112
  269. package/src/components/Modal/ModalPresenter/ModalPresenter.tsx +0 -135
  270. package/src/components/Modal/ModalPresenter/index.tsx +0 -9
  271. package/src/components/Modal/ModalProvider.tsx +0 -8
  272. package/types/components/Modal/ModalContentWrapper.d.ts +0 -16
  273. package/types/components/Modal/ModalPresenter/ModalPresenter.d.ts +0 -34
  274. package/types/components/Modal/ModalPresenter/index.d.ts +0 -3
  275. package/types/components/Modal/ModalProvider.d.ts +0 -5
@@ -1 +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,"bolt":59011,"bookmark-added":59012,"bookmark":59013,"box-check":59014,"box":59015,"bpay":59016,"buildings":59017,"cake":59018,"calendar-clock":59019,"calendar":59020,"candy-box-menu":59021,"caret-down-small":59022,"caret-down":59023,"caret-left-small":59024,"caret-left":59025,"caret-right-small":59026,"caret-right":59027,"caret-up-small":59028,"caret-up":59029,"check-radio":59030,"circle-add":59031,"circle-cancel":59032,"circle-check":59033,"circle-down":59034,"circle-info":59035,"circle-left":59036,"circle-ok":59037,"circle-pencil":59038,"circle-question":59039,"circle-remove":59040,"circle-right":59041,"circle-up":59042,"circle-warning":59043,"clock-3":59044,"clock":59045,"cloud-download":59046,"cloud-upload":59047,"cog":59048,"coin":59049,"contacts":59050,"credit-card":59051,"diamond":59052,"direction-arrows":59053,"directory":59054,"document":59055,"dollar-coin-shine":59056,"double-buildings":59057,"edit-template":59058,"envelope":59059,"exclude":59060,"expense":59061,"eye-circle":59062,"eye-invisible":59063,"eye":59064,"face-meh":59065,"face-sad":59066,"face-smiley":59067,"feed":59068,"feedbacks":59069,"file-certified":59070,"file-clone":59071,"file-copy":59072,"file-csv":59073,"file-dispose":59074,"file-doc":59075,"file-excel":59076,"file-export":59077,"file-lock":59078,"file-pdf":59079,"file-powerpoint":59080,"file-search":59081,"file-secured":59082,"file-sheets":59083,"file-slide":59084,"file-verified":59085,"file-word":59086,"file":59087,"filter":59088,"folder-user":59089,"folder":59090,"format-bold":59091,"format-heading1":59092,"format-heading2":59093,"format-italic":59094,"format-list-bulleted":59095,"format-list-numbered":59096,"format-underlined":59097,"funnel-filter":59098,"global-dollar":59099,"globe":59100,"graduation-cap":59101,"graph":59102,"happy-sun":59103,"health-bag":59104,"heart":59105,"home":59106,"image":59107,"import":59108,"incident-siren":59109,"instapay":59110,"list":59111,"loading-2":59112,"loading":59113,"location":59114,"lock":59115,"looks-one":59116,"looks-two":59117,"media-content":59118,"menu":59119,"money-notes":59120,"moneybag":59121,"moon":59122,"multiple-stars":59123,"multiple-users":59124,"node":59125,"open-folder":59126,"paperclip":59127,"payment-summary":59128,"pencil":59129,"phone":59130,"piggy-bank":59131,"plane-up":59132,"plane":59133,"play-circle":59134,"print":59135,"raising-hands":59136,"reply-arrow":59137,"reply":59138,"reschedule":59139,"rostering":59140,"save":59141,"schedule-send":59142,"schedule":59143,"search-person":59144,"send":59145,"speaker-active":59146,"speaker":59147,"star-award":59148,"star-badge":59149,"star-circle":59150,"star-medal":59151,"star":59152,"steps-circle":59153,"stopwatch":59154,"suitcase":59155,"surfing":59156,"survey":59157,"swag-pillar-benefit":59158,"swag-pillar-career":59159,"swag-pillar-money":59160,"swag-pillar-work":59161,"swag":59162,"switch":59163,"tag":59164,"target":59165,"teams":59166,"timesheet":59167,"touch-id":59168,"trash-bin":59169,"unlock":59170,"user":59171,"video-1":59172,"video-2":59173,"wallet":59174,"warning":59175,"activate-outlined":59176,"add-credit-card-outlined":59177,"add-person-outlined":59178,"add-section-outlined":59179,"add-time-outlined":59180,"add":59181,"adjustment-outlined":59182,"ai-outlined":59183,"alignment-2-outlined":59184,"alignment-outlined":59185,"all-caps":59186,"arrow-down":59187,"arrow-downwards":59188,"arrow-left":59189,"arrow-leftwards":59190,"arrow-right":59191,"arrow-rightwards":59192,"arrow-up":59193,"arrow-upwards":59194,"article-outlined":59195,"at-sign":59196,"auto-graph-outlined":59197,"beer-outlined":59198,"bell-active-outlined":59199,"bell-outlined":59200,"bell-slash-outlined":59201,"billing-outlined":59202,"body-outlined":59203,"bold":59204,"bolt-outlined":59205,"book-outlined":59206,"bookmark-added-outlined":59207,"bookmark-outlined":59208,"box-check-outlined":59209,"box-outlined":59210,"bullet-points":59211,"cake-outlined":59212,"calendar-dates-outlined":59213,"calendar-star-outlined":59214,"call-outlined":59215,"call-split-outlined":59216,"camera-outlined":59217,"cancel":59218,"car-forward-outlined":59219,"charging-station-outlined":59220,"chat-bubble-outlined":59221,"chat-unread-outlined":59222,"checkmark":59223,"circle-add-outlined":59224,"circle-cancel-outlined":59225,"circle-down-outlined":59226,"circle-info-outlined":59227,"circle-left-outlined":59228,"circle-ok-outlined":59229,"circle-question-outlined":59230,"circle-remove-outlined":59231,"circle-right-outlined":59232,"circle-up-outlined":59233,"circle-warning-outlined":59234,"clock-2-outlined":59235,"clock-outlined":59236,"cog-outlined":59237,"coin-outlined":59238,"coin-super-outlined":59239,"comment-outlined":59240,"contacts-outlined":59241,"contacts-user-outlined":59242,"credit-card-outlined":59243,"cup-outlined":59244,"dentistry-outlined":59245,"direction-arrows-outlined":59246,"directory-outlined":59247,"document-outlined":59248,"dollar-box-outlined":59249,"dollar-card-outlined":59250,"dollar-coin-shine-outlined":59251,"dollar-credit-card-outlined":59252,"dollar-sign":59253,"double-buildings-outlined":59254,"double-left-arrows":59255,"double-right-arrows":59256,"download-box-outlined":59257,"download-outlined":59258,"edit-template-outlined":59259,"email-outlined":59260,"enter-arrow":59261,"envelope-outlined":59262,"expense-outlined":59263,"explore-outlined":59264,"extension-outlined":59265,"external-link":59266,"eye-invisible-outlined":59267,"eye-outlined":59268,"face-id":59269,"face-meh-outlined":59270,"face-open-smiley-outlined":59271,"face-sad-outlined":59272,"face-smiley-outlined":59273,"fastfood-outlined":59274,"feed-outlined":59275,"file-certified-outlined":59276,"file-clone-outlined":59277,"file-copy-outlined":59278,"file-dispose-outlined":59279,"file-dollar-certified-outlined":59280,"file-dollar-outlined":59281,"file-download-outlined":59282,"file-export-outlined":59283,"file-lock-outlined":59284,"file-outlined":59285,"file-search-outlined":59286,"file-secured-outlined":59287,"file-statutory-outlined":59288,"file-verified-outlined":59289,"filter-outlined":59290,"folder-outlined":59291,"folder-user-outlined":59292,"form-outlined":59293,"funnel-filter-outline":59294,"graph-outlined":59295,"hand-holding-user-outlined":59296,"happy-sun-outlined":59297,"health-bag-outlined":59298,"heart-outlined":59299,"home-active-outlined":59300,"home-outlined":59301,"id-card-outlined":59302,"image-outlined":59303,"import-outlined":59304,"instapay-outlined":59305,"italic":59306,"link-1":59307,"link-2":59308,"list-outlined":59309,"live-help-outlined":59310,"location-on-outlined":59311,"location-outlined":59312,"lock-outlined":59313,"locked-file-outlined":59314,"log-out":59315,"mail-outlined":59316,"media-content-outlined":59317,"menu-close":59318,"menu-expand":59319,"menu-fold-outlined":59320,"menu-unfold-outlined":59321,"moneybag-outlined":59322,"moon-outlined":59323,"more-horizontal":59324,"more-vertical":59325,"multiple-folders-outlined":59326,"multiple-users-outlined":59327,"near-me-outlined":59328,"node-outlined":59329,"number-points":59330,"number":59331,"overview-outlined":59332,"payment-summary-outlined":59333,"payslip-outlined":59334,"pencil-outlined":59335,"percentage":59336,"phone-outlined":59337,"piggy-bank-outlined":59338,"plane-outlined":59339,"play-circle-outlined":59340,"print-outlined":59341,"propane-tank-outlined":59342,"qr-code-outlined":59343,"qualification-outlined":59344,"re-assign":59345,"redeem":59346,"refresh":59347,"remove":59348,"reply-outlined":59349,"restart":59350,"return-arrow":59351,"rostering-outlined":59352,"save-outlined":59353,"schedule-outlined":59354,"search-outlined":59355,"search-secured-outlined":59356,"send-outlined":59357,"share-1":59358,"share-2":59359,"share-outlined":59360,"show-chart-outlined":59361,"single-down-arrow":59362,"single-left-arrow":59363,"single-right-arrow":59364,"single-up-arrow":59365,"sparkle-outlined":59366,"speaker-active-outlined":59367,"speaker-outlined":59368,"star-circle-outlined":59369,"star-outlined":59370,"stopwatch-outlined":59371,"strikethrough":59372,"styler-outlined":59373,"suitcase-clock-outlined":59374,"suitcase-outlined":59375,"survey-outlined":59376,"switch-outlined":59377,"sync":59378,"tag-outlined":59379,"target-outlined":59380,"tennis-outlined":59381,"ticket-outlined":59382,"timesheet-outlined":59383,"today-outlined":59384,"transfer":59385,"trash-bin-outlined":59386,"umbrela-outlined":59387,"unavailable":59388,"underline":59389,"union-outlined":59390,"unlock-outlined":59391,"upload-outlined":59392,"user-circle-outlined":59393,"user-gear-outlined":59394,"user-outlined":59395,"user-rectangle-outlined":59396,"video-1-outlined":59397,"video-2-outlined":59398,"volunteer-outlined":59399,"wallet-outlined":59400}
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,"bolt":59011,"bookmark-added":59012,"bookmark":59013,"box-check":59014,"box":59015,"bpay":59016,"buildings":59017,"cake":59018,"calendar-clock":59019,"calendar":59020,"candy-box-menu":59021,"caret-down-small":59022,"caret-down":59023,"caret-left-small":59024,"caret-left":59025,"caret-right-small":59026,"caret-right":59027,"caret-up-small":59028,"caret-up":59029,"check-radio":59030,"circle-add":59031,"circle-cancel":59032,"circle-check":59033,"circle-down":59034,"circle-info":59035,"circle-left":59036,"circle-ok":59037,"circle-pencil":59038,"circle-question":59039,"circle-remove":59040,"circle-right":59041,"circle-up":59042,"circle-warning":59043,"clock-3":59044,"clock":59045,"cloud-download":59046,"cloud-upload":59047,"cog":59048,"coin":59049,"contacts":59050,"credit-card":59051,"diamond":59052,"direction-arrows":59053,"directory":59054,"document":59055,"dollar-coin-shine":59056,"double-buildings":59057,"edit-template":59058,"envelope":59059,"exclude":59060,"expand-content":59061,"expense":59062,"eye-circle":59063,"eye-invisible":59064,"eye":59065,"face-meh":59066,"face-sad":59067,"face-smiley":59068,"feed":59069,"feedbacks":59070,"file-certified":59071,"file-clone":59072,"file-copy":59073,"file-csv":59074,"file-dispose":59075,"file-doc":59076,"file-excel":59077,"file-export":59078,"file-lock":59079,"file-pdf":59080,"file-powerpoint":59081,"file-search":59082,"file-secured":59083,"file-sheets":59084,"file-slide":59085,"file-verified":59086,"file-word":59087,"file":59088,"filter":59089,"folder-user":59090,"folder":59091,"format-bold":59092,"format-heading1":59093,"format-heading2":59094,"format-italic":59095,"format-list-bulleted":59096,"format-list-numbered":59097,"format-underlined":59098,"funnel-filter":59099,"global-dollar":59100,"globe":59101,"graduation-cap":59102,"graph":59103,"happy-sun":59104,"health-bag":59105,"heart":59106,"home":59107,"image":59108,"import":59109,"incident-siren":59110,"instapay":59111,"list":59112,"loading-2":59113,"loading":59114,"location":59115,"lock":59116,"looks-one":59117,"looks-two":59118,"media-content":59119,"menu":59120,"money-notes":59121,"moneybag":59122,"moon":59123,"multiple-stars":59124,"multiple-users":59125,"node":59126,"open-folder":59127,"paperclip":59128,"payment-summary":59129,"pencil":59130,"phone":59131,"piggy-bank":59132,"plane-up":59133,"plane":59134,"play-circle":59135,"print":59136,"raising-hands":59137,"reply-arrow":59138,"reply":59139,"reschedule":59140,"rostering":59141,"save":59142,"schedule-send":59143,"schedule":59144,"search-person":59145,"send":59146,"speaker-active":59147,"speaker":59148,"star-award":59149,"star-badge":59150,"star-circle":59151,"star-medal":59152,"star":59153,"steps-circle":59154,"stopwatch":59155,"suitcase":59156,"surfing":59157,"survey":59158,"swag-pillar-benefit":59159,"swag-pillar-career":59160,"swag-pillar-money":59161,"swag-pillar-work":59162,"swag":59163,"swipe-right":59164,"switch":59165,"tag":59166,"target":59167,"teams":59168,"timesheet":59169,"touch-id":59170,"trash-bin":59171,"unlock":59172,"user":59173,"video-1":59174,"video-2":59175,"wallet":59176,"warning":59177,"activate-outlined":59178,"add-credit-card-outlined":59179,"add-person-outlined":59180,"add-section-outlined":59181,"add-time-outlined":59182,"add":59183,"adjustment-outlined":59184,"ai-outlined":59185,"alignment-2-outlined":59186,"alignment-outlined":59187,"all-caps":59188,"arrow-down":59189,"arrow-downwards":59190,"arrow-left":59191,"arrow-leftwards":59192,"arrow-right":59193,"arrow-rightwards":59194,"arrow-up":59195,"arrow-upwards":59196,"article-outlined":59197,"at-sign":59198,"auto-graph-outlined":59199,"beer-outlined":59200,"bell-active-outlined":59201,"bell-outlined":59202,"bell-slash-outlined":59203,"billing-outlined":59204,"body-outlined":59205,"bold":59206,"bolt-outlined":59207,"book-outlined":59208,"bookmark-added-outlined":59209,"bookmark-outlined":59210,"box-check-outlined":59211,"box-outlined":59212,"bullet-points":59213,"cake-outlined":59214,"calendar-dates-outlined":59215,"calendar-star-outlined":59216,"call-outlined":59217,"call-split-outlined":59218,"camera-outlined":59219,"cancel":59220,"car-forward-outlined":59221,"charging-station-outlined":59222,"chat-bubble-outlined":59223,"chat-unread-outlined":59224,"checkmark":59225,"circle-add-outlined":59226,"circle-cancel-outlined":59227,"circle-down-outlined":59228,"circle-info-outlined":59229,"circle-left-outlined":59230,"circle-ok-outlined":59231,"circle-question-outlined":59232,"circle-remove-outlined":59233,"circle-right-outlined":59234,"circle-up-outlined":59235,"circle-warning-outlined":59236,"clock-2-outlined":59237,"clock-outlined":59238,"cog-outlined":59239,"coin-outlined":59240,"coin-super-outlined":59241,"comment-outlined":59242,"contacts-outlined":59243,"contacts-user-outlined":59244,"credit-card-outlined":59245,"cup-outlined":59246,"dentistry-outlined":59247,"direction-arrows-outlined":59248,"directory-outlined":59249,"document-outlined":59250,"dollar-box-outlined":59251,"dollar-card-outlined":59252,"dollar-coin-shine-outlined":59253,"dollar-credit-card-outlined":59254,"dollar-sign":59255,"double-buildings-outlined":59256,"double-left-arrows":59257,"double-right-arrows":59258,"download-box-outlined":59259,"download-outlined":59260,"edit-template-outlined":59261,"email-outlined":59262,"enter-arrow":59263,"envelope-outlined":59264,"expense-outlined":59265,"explore-outlined":59266,"extension-outlined":59267,"external-link":59268,"eye-invisible-outlined":59269,"eye-outlined":59270,"face-id":59271,"face-meh-outlined":59272,"face-open-smiley-outlined":59273,"face-sad-outlined":59274,"face-smiley-outlined":59275,"fastfood-outlined":59276,"feed-outlined":59277,"file-certified-outlined":59278,"file-clone-outlined":59279,"file-copy-outlined":59280,"file-dispose-outlined":59281,"file-dollar-certified-outlined":59282,"file-dollar-outlined":59283,"file-download-outlined":59284,"file-export-outlined":59285,"file-lock-outlined":59286,"file-outlined":59287,"file-search-outlined":59288,"file-secured-outlined":59289,"file-statutory-outlined":59290,"file-verified-outlined":59291,"filter-outlined":59292,"folder-outlined":59293,"folder-user-outlined":59294,"form-outlined":59295,"funnel-filter-outline":59296,"goal-outlined":59297,"graph-outlined":59298,"hand-holding-user-outlined":59299,"happy-sun-outlined":59300,"health-bag-outlined":59301,"heart-outlined":59302,"home-active-outlined":59303,"home-outlined":59304,"id-card-outlined":59305,"image-outlined":59306,"import-outlined":59307,"instapay-outlined":59308,"italic":59309,"link-1":59310,"link-2":59311,"list-outlined":59312,"live-help-outlined":59313,"location-on-outlined":59314,"location-outlined":59315,"lock-outlined":59316,"locked-file-outlined":59317,"log-out":59318,"mail-outlined":59319,"media-content-outlined":59320,"menu-close":59321,"menu-expand":59322,"menu-fold-outlined":59323,"menu-unfold-outlined":59324,"moneybag-outlined":59325,"moon-outlined":59326,"more-horizontal":59327,"more-vertical":59328,"multiple-folders-outlined":59329,"multiple-users-outlined":59330,"near-me-outlined":59331,"node-outlined":59332,"number-points":59333,"number":59334,"overview-outlined":59335,"payment-summary-outlined":59336,"payslip-outlined":59337,"pencil-outlined":59338,"percentage":59339,"phone-outlined":59340,"piggy-bank-outlined":59341,"plane-outlined":59342,"play-circle-outlined":59343,"print-outlined":59344,"propane-tank-outlined":59345,"qr-code-outlined":59346,"qualification-outlined":59347,"re-assign":59348,"redeem":59349,"refresh":59350,"remove":59351,"reply-outlined":59352,"restart":59353,"return-arrow":59354,"rostering-outlined":59355,"save-outlined":59356,"schedule-outlined":59357,"search-outlined":59358,"search-secured-outlined":59359,"send-outlined":59360,"share-1":59361,"share-2":59362,"share-outlined":59363,"show-chart-outlined":59364,"single-down-arrow":59365,"single-left-arrow":59366,"single-right-arrow":59367,"single-up-arrow":59368,"sparkle-outlined":59369,"speaker-active-outlined":59370,"speaker-outlined":59371,"star-circle-outlined":59372,"star-outlined":59373,"stopwatch-outlined":59374,"strikethrough":59375,"styler-outlined":59376,"suitcase-clock-outlined":59377,"suitcase-outlined":59378,"survey-outlined":59379,"switch-outlined":59380,"sync":59381,"tag-outlined":59382,"target-outlined":59383,"tennis-outlined":59384,"ticket-outlined":59385,"timesheet-outlined":59386,"today-outlined":59387,"transfer":59388,"trash-bin-outlined":59389,"umbrela-outlined":59390,"unavailable":59391,"underline":59392,"union-outlined":59393,"unlock-outlined":59394,"upload-outlined":59395,"user-circle-outlined":59396,"user-gear-outlined":59397,"user-outlined":59398,"user-rectangle-outlined":59399,"video-1-outlined":59400,"video-2-outlined":59401,"volunteer-outlined":59402,"wallet-outlined":59403}
@@ -61,6 +61,7 @@ const IconList = [
61
61
  'edit-template',
62
62
  'envelope',
63
63
  'exclude',
64
+ 'expand-content',
64
65
  'expense',
65
66
  'eye-circle',
66
67
  'eye-invisible',
@@ -163,6 +164,7 @@ const IconList = [
163
164
  'swag-pillar-money',
164
165
  'swag-pillar-work',
165
166
  'swag',
167
+ 'swipe-right',
166
168
  'switch',
167
169
  'tag',
168
170
  'target',
@@ -295,6 +297,7 @@ const IconList = [
295
297
  'folder-user-outlined',
296
298
  'form-outlined',
297
299
  'funnel-filter-outline',
300
+ 'goal-outlined',
298
301
  'graph-outlined',
299
302
  'hand-holding-user-outlined',
300
303
  'happy-sun-outlined',
@@ -2,19 +2,72 @@
2
2
 
3
3
  exports[`Icon render correctly with spin prop 1`] = `
4
4
  <View
5
- collapsable={false}
6
5
  style={
7
6
  {
8
- "transform": [
7
+ "flex": 1,
8
+ }
9
+ }
10
+ >
11
+ <View
12
+ collapsable={false}
13
+ style={
14
+ {
15
+ "transform": [
16
+ {
17
+ "rotate": "0deg",
18
+ },
19
+ ],
20
+ }
21
+ }
22
+ >
23
+ <HeroIcon
24
+ name="sync"
25
+ style={
26
+ [
27
+ {
28
+ "color": "#001f23",
29
+ "fontSize": 24,
30
+ },
31
+ undefined,
32
+ ]
33
+ }
34
+ themeIntent="text"
35
+ themeSize="medium"
36
+ />
37
+ </View>
38
+ <View
39
+ pointerEvents="box-none"
40
+ position="bottom"
41
+ style={
42
+ [
9
43
  {
10
- "rotate": "0deg",
44
+ "bottom": 0,
45
+ "elevation": 9999,
46
+ "flexDirection": "column-reverse",
47
+ "left": 0,
48
+ "paddingHorizontal": 24,
49
+ "paddingVertical": 16,
50
+ "position": "absolute",
51
+ "right": 0,
52
+ "top": 0,
11
53
  },
12
- ],
54
+ undefined,
55
+ ]
56
+ }
57
+ />
58
+ </View>
59
+ `;
60
+
61
+ exports[`Icon renders correctly 1`] = `
62
+ <View
63
+ style={
64
+ {
65
+ "flex": 1,
13
66
  }
14
67
  }
15
68
  >
16
69
  <HeroIcon
17
- name="sync"
70
+ name="home"
18
71
  style={
19
72
  [
20
73
  {
@@ -27,56 +80,115 @@ exports[`Icon render correctly with spin prop 1`] = `
27
80
  themeIntent="text"
28
81
  themeSize="medium"
29
82
  />
83
+ <View
84
+ pointerEvents="box-none"
85
+ position="bottom"
86
+ style={
87
+ [
88
+ {
89
+ "bottom": 0,
90
+ "elevation": 9999,
91
+ "flexDirection": "column-reverse",
92
+ "left": 0,
93
+ "paddingHorizontal": 24,
94
+ "paddingVertical": 16,
95
+ "position": "absolute",
96
+ "right": 0,
97
+ "top": 0,
98
+ },
99
+ undefined,
100
+ ]
101
+ }
102
+ />
30
103
  </View>
31
104
  `;
32
105
 
33
- exports[`Icon renders correctly 1`] = `
34
- <HeroIcon
35
- name="home"
36
- style={
37
- [
38
- {
39
- "color": "#001f23",
40
- "fontSize": 24,
41
- },
42
- undefined,
43
- ]
44
- }
45
- themeIntent="text"
46
- themeSize="medium"
47
- />
48
- `;
49
-
50
106
  exports[`Icon renders correctly with color and size 1`] = `
51
- <HeroIcon
52
- name="home"
107
+ <View
53
108
  style={
54
- [
55
- {
56
- "color": "#cb300a",
57
- "fontSize": 28,
58
- },
59
- undefined,
60
- ]
109
+ {
110
+ "flex": 1,
111
+ }
61
112
  }
62
- themeIntent="danger"
63
- themeSize="large"
64
- />
113
+ >
114
+ <HeroIcon
115
+ name="home"
116
+ style={
117
+ [
118
+ {
119
+ "color": "#cb300a",
120
+ "fontSize": 28,
121
+ },
122
+ undefined,
123
+ ]
124
+ }
125
+ themeIntent="danger"
126
+ themeSize="large"
127
+ />
128
+ <View
129
+ pointerEvents="box-none"
130
+ position="bottom"
131
+ style={
132
+ [
133
+ {
134
+ "bottom": 0,
135
+ "elevation": 9999,
136
+ "flexDirection": "column-reverse",
137
+ "left": 0,
138
+ "paddingHorizontal": 24,
139
+ "paddingVertical": 16,
140
+ "position": "absolute",
141
+ "right": 0,
142
+ "top": 0,
143
+ },
144
+ undefined,
145
+ ]
146
+ }
147
+ />
148
+ </View>
65
149
  `;
66
150
 
67
151
  exports[`Icon renders correctly with intent 1`] = `
68
- <HeroIcon
69
- name="home"
152
+ <View
70
153
  style={
71
- [
72
- {
73
- "color": "#401960",
74
- "fontSize": 24,
75
- },
76
- undefined,
77
- ]
154
+ {
155
+ "flex": 1,
156
+ }
78
157
  }
79
- themeIntent="primary"
80
- themeSize="medium"
81
- />
158
+ >
159
+ <HeroIcon
160
+ name="home"
161
+ style={
162
+ [
163
+ {
164
+ "color": "#401960",
165
+ "fontSize": 24,
166
+ },
167
+ undefined,
168
+ ]
169
+ }
170
+ themeIntent="primary"
171
+ themeSize="medium"
172
+ />
173
+ <View
174
+ pointerEvents="box-none"
175
+ position="bottom"
176
+ style={
177
+ [
178
+ {
179
+ "bottom": 0,
180
+ "elevation": 9999,
181
+ "flexDirection": "column-reverse",
182
+ "left": 0,
183
+ "paddingHorizontal": 24,
184
+ "paddingVertical": 16,
185
+ "position": "absolute",
186
+ "right": 0,
187
+ "top": 0,
188
+ },
189
+ undefined,
190
+ ]
191
+ }
192
+ />
193
+ </View>
82
194
  `;
@@ -1,81 +1,193 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`Image renders correctly when rounded is false 1`] = `
4
- <Image
5
- source={
4
+ <View
5
+ style={
6
6
  {
7
- "uri": "path_to_image",
7
+ "flex": 1,
8
8
  }
9
9
  }
10
- style={
11
- [
10
+ >
11
+ <Image
12
+ source={
12
13
  {
13
- "borderRadius": 0,
14
- "height": 72,
15
- "width": 72,
16
- },
17
- undefined,
18
- ]
19
- }
20
- />
14
+ "uri": "path_to_image",
15
+ }
16
+ }
17
+ style={
18
+ [
19
+ {
20
+ "borderRadius": 0,
21
+ "height": 72,
22
+ "width": 72,
23
+ },
24
+ undefined,
25
+ ]
26
+ }
27
+ />
28
+ <View
29
+ pointerEvents="box-none"
30
+ position="bottom"
31
+ style={
32
+ [
33
+ {
34
+ "bottom": 0,
35
+ "elevation": 9999,
36
+ "flexDirection": "column-reverse",
37
+ "left": 0,
38
+ "paddingHorizontal": 24,
39
+ "paddingVertical": 16,
40
+ "position": "absolute",
41
+ "right": 0,
42
+ "top": 0,
43
+ },
44
+ undefined,
45
+ ]
46
+ }
47
+ />
48
+ </View>
21
49
  `;
22
50
 
23
51
  exports[`Image renders correctly when rounded is true 1`] = `
24
- <Image
25
- source={
52
+ <View
53
+ style={
26
54
  {
27
- "uri": "path_to_image",
55
+ "flex": 1,
28
56
  }
29
57
  }
30
- style={
31
- [
58
+ >
59
+ <Image
60
+ source={
32
61
  {
33
- "borderRadius": 36,
34
- "height": 72,
35
- "width": 72,
36
- },
37
- undefined,
38
- ]
39
- }
40
- />
62
+ "uri": "path_to_image",
63
+ }
64
+ }
65
+ style={
66
+ [
67
+ {
68
+ "borderRadius": 36,
69
+ "height": 72,
70
+ "width": 72,
71
+ },
72
+ undefined,
73
+ ]
74
+ }
75
+ />
76
+ <View
77
+ pointerEvents="box-none"
78
+ position="bottom"
79
+ style={
80
+ [
81
+ {
82
+ "bottom": 0,
83
+ "elevation": 9999,
84
+ "flexDirection": "column-reverse",
85
+ "left": 0,
86
+ "paddingHorizontal": 24,
87
+ "paddingVertical": 16,
88
+ "position": "absolute",
89
+ "right": 0,
90
+ "top": 0,
91
+ },
92
+ undefined,
93
+ ]
94
+ }
95
+ />
96
+ </View>
41
97
  `;
42
98
 
43
99
  exports[`Image renders correctly when size is 6xlarge 1`] = `
44
- <Image
45
- source={
100
+ <View
101
+ style={
46
102
  {
47
- "uri": "path_to_image",
103
+ "flex": 1,
48
104
  }
49
105
  }
50
- style={
51
- [
106
+ >
107
+ <Image
108
+ source={
52
109
  {
53
- "borderRadius": 0,
54
- "height": 72,
55
- "width": 72,
56
- },
57
- undefined,
58
- ]
59
- }
60
- />
110
+ "uri": "path_to_image",
111
+ }
112
+ }
113
+ style={
114
+ [
115
+ {
116
+ "borderRadius": 0,
117
+ "height": 72,
118
+ "width": 72,
119
+ },
120
+ undefined,
121
+ ]
122
+ }
123
+ />
124
+ <View
125
+ pointerEvents="box-none"
126
+ position="bottom"
127
+ style={
128
+ [
129
+ {
130
+ "bottom": 0,
131
+ "elevation": 9999,
132
+ "flexDirection": "column-reverse",
133
+ "left": 0,
134
+ "paddingHorizontal": 24,
135
+ "paddingVertical": 16,
136
+ "position": "absolute",
137
+ "right": 0,
138
+ "top": 0,
139
+ },
140
+ undefined,
141
+ ]
142
+ }
143
+ />
144
+ </View>
61
145
  `;
62
146
 
63
147
  exports[`Image renders correctly when size is 15xlarge 1`] = `
64
- <Image
65
- source={
148
+ <View
149
+ style={
66
150
  {
67
- "uri": "path_to_image",
151
+ "flex": 1,
68
152
  }
69
153
  }
70
- style={
71
- [
154
+ >
155
+ <Image
156
+ source={
72
157
  {
73
- "borderRadius": 0,
74
- "height": 144,
75
- "width": 144,
76
- },
77
- undefined,
78
- ]
79
- }
80
- />
158
+ "uri": "path_to_image",
159
+ }
160
+ }
161
+ style={
162
+ [
163
+ {
164
+ "borderRadius": 0,
165
+ "height": 144,
166
+ "width": 144,
167
+ },
168
+ undefined,
169
+ ]
170
+ }
171
+ />
172
+ <View
173
+ pointerEvents="box-none"
174
+ position="bottom"
175
+ style={
176
+ [
177
+ {
178
+ "bottom": 0,
179
+ "elevation": 9999,
180
+ "flexDirection": "column-reverse",
181
+ "left": 0,
182
+ "paddingHorizontal": 24,
183
+ "paddingVertical": 16,
184
+ "position": "absolute",
185
+ "right": 0,
186
+ "top": 0,
187
+ },
188
+ undefined,
189
+ ]
190
+ }
191
+ />
192
+ </View>
81
193
  `;