@hero-design/rn 9.0.0-0 → 9.0.0-alpha.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 (668) hide show
  1. package/CHANGELOG.md +287 -0
  2. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  3. package/es/index.js +17491 -14687
  4. package/jest-ci.config.js +17 -0
  5. package/jest-setup.ts +2 -0
  6. package/jest.config.js +1 -3
  7. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  8. package/lib/index.js +17376 -14565
  9. package/package.json +50 -40
  10. package/rollup.config.js +1 -0
  11. package/sonar-project.properties +11 -0
  12. package/src/components/Accordion/AccordionItem.tsx +1 -3
  13. package/src/components/Accordion/__tests__/AccordionItem.spec.tsx +5 -5
  14. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +580 -408
  15. package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +76 -20
  16. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +818 -644
  17. package/src/components/Accordion/__tests__/index.spec.tsx +2 -2
  18. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +912 -644
  19. package/src/components/Alert/__tests__/index.spec.tsx +44 -2
  20. package/src/components/Alert/index.tsx +30 -4
  21. package/src/components/AnimatedScroller/AnimatedFAB.tsx +155 -0
  22. package/src/components/AnimatedScroller/AnimatedScrollable.tsx +70 -0
  23. package/src/components/AnimatedScroller/FlatListWithFAB.tsx +23 -0
  24. package/src/components/AnimatedScroller/ScrollViewWithFAB.tsx +21 -0
  25. package/src/components/AnimatedScroller/SectionListWithFAB.tsx +26 -0
  26. package/src/components/AnimatedScroller/__tests__/ScrollablesWithFAB.spec.tsx +193 -0
  27. package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +3462 -0
  28. package/src/components/AnimatedScroller/index.tsx +5 -0
  29. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +178 -117
  30. package/src/components/Attachment/index.tsx +3 -1
  31. package/src/components/Avatar/AvatarStack/StyledAvatarStack.tsx +63 -9
  32. package/src/components/Avatar/AvatarStack/__tests__/StyledAvatarStack.spec.tsx +71 -9
  33. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +410 -73
  34. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +2904 -591
  35. package/src/components/Avatar/AvatarStack/__tests__/index.spec.tsx +140 -6
  36. package/src/components/Avatar/AvatarStack/index.tsx +94 -9
  37. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +163 -62
  38. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +288 -168
  39. package/src/components/Badge/StyledBadge.tsx +1 -4
  40. package/src/components/Badge/__tests__/Status.spec.tsx +1 -1
  41. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +397 -259
  42. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +123 -68
  43. package/src/components/BottomNavigation/StyledBottomNavigation.tsx +1 -1
  44. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +332 -276
  45. package/src/components/BottomNavigation/index.tsx +4 -1
  46. package/src/components/BottomSheet/Header.tsx +1 -3
  47. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +330 -197
  48. package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +1042 -454
  49. package/src/components/Button/Button.tsx +60 -25
  50. package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +6 -9
  51. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +400 -140
  52. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +1090 -880
  53. package/src/components/Button/StyledButton.tsx +56 -59
  54. package/src/components/Button/UtilityButton/StyledUtilityButton.tsx +2 -4
  55. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +206 -122
  56. package/src/components/Button/__tests__/Button.spec.tsx +18 -0
  57. package/src/components/Button/__tests__/StyledButton.spec.tsx +12 -6
  58. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1878 -1196
  59. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +74 -29
  60. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +1734 -778
  61. package/src/components/Calendar/CalendarRowItem.tsx +5 -2
  62. package/src/components/Calendar/StyledCalendar.tsx +2 -2
  63. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +555 -335
  64. package/src/components/Calendar/__tests__/index.spec.tsx +76 -0
  65. package/src/components/Calendar/index.tsx +170 -59
  66. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +265 -69
  67. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +215 -75
  68. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +36 -8
  69. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +304 -142
  70. package/src/components/Card/__tests__/index.spec.tsx +1 -1
  71. package/src/components/Carousel/CardCarousel.tsx +23 -25
  72. package/src/components/Carousel/CarouselItem.tsx +39 -23
  73. package/src/components/Carousel/StyledCardCarousel.tsx +1 -16
  74. package/src/components/Carousel/StyledCarousel.tsx +8 -12
  75. package/src/components/Carousel/__tests__/CardCarousel.spec.tsx +18 -18
  76. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +370 -366
  77. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +199 -72
  78. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +41 -13
  79. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1621 -1861
  80. package/src/components/Carousel/__tests__/index.spec.tsx +107 -7
  81. package/src/components/Carousel/index.tsx +63 -35
  82. package/src/components/Carousel/types.ts +4 -4
  83. package/src/components/Checkbox/StyledCheckbox.tsx +24 -30
  84. package/src/components/Checkbox/__tests__/StyledCheckbox.spec.tsx +25 -16
  85. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +432 -77
  86. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +598 -345
  87. package/src/components/Checkbox/__tests__/index.spec.tsx +24 -9
  88. package/src/components/Checkbox/index.tsx +60 -25
  89. package/src/components/Chip/StyledChip.tsx +121 -0
  90. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1483 -0
  91. package/src/components/Chip/__tests__/index.spec.tsx +136 -0
  92. package/src/components/Chip/index.tsx +82 -0
  93. package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +74 -18
  94. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +100 -44
  95. package/src/components/Collapse/index.tsx +1 -1
  96. package/src/components/ContentNavigator/StyledContentNavigator.tsx +1 -6
  97. package/src/components/ContentNavigator/__tests__/StyledContentNavigator.spec.tsx +1 -9
  98. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +37 -38
  99. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +449 -186
  100. package/src/components/ContentNavigator/__tests__/index.spec.tsx +16 -0
  101. package/src/components/ContentNavigator/index.tsx +30 -9
  102. package/src/components/DatePicker/DatePickerAndroid.tsx +8 -3
  103. package/src/components/DatePicker/DatePickerCalendar.tsx +44 -15
  104. package/src/components/DatePicker/DatePickerIOS.tsx +12 -23
  105. package/src/components/DatePicker/__tests__/DatePicker.spec.tsx +92 -0
  106. package/src/components/DatePicker/__tests__/DatePickerCalendar.spec.tsx +42 -0
  107. package/src/components/DatePicker/__tests__/DatePickerIOS.spec.tsx +6 -5
  108. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +676 -508
  109. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +230 -174
  110. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +222 -166
  111. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +518 -423
  112. package/src/components/DatePicker/types.ts +8 -0
  113. package/src/components/DatePicker/useCalculateDate.tsx +34 -0
  114. package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +464 -128
  115. package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +99 -71
  116. package/src/components/Drawer/DragableDrawer/index.tsx +2 -2
  117. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +327 -192
  118. package/src/components/Drawer/index.tsx +3 -3
  119. package/src/components/Empty/StyledEmpty.tsx +2 -6
  120. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +176 -134
  121. package/src/components/Empty/index.tsx +4 -2
  122. package/src/components/Error/StyledError.tsx +4 -9
  123. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +431 -335
  124. package/src/components/Error/__tests__/index.spec.tsx +9 -6
  125. package/src/components/Error/index.tsx +6 -2
  126. package/src/components/FAB/ActionGroup/ActionItem.tsx +46 -15
  127. package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +16 -18
  128. package/src/components/FAB/ActionGroup/StyledActionItem.tsx +1 -5
  129. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +980 -1217
  130. package/src/components/FAB/ActionGroup/__tests__/index.spec.tsx +32 -22
  131. package/src/components/FAB/ActionGroup/index.tsx +135 -94
  132. package/src/components/FAB/AnimatedFABIcon.tsx +3 -5
  133. package/src/components/FAB/FAB.tsx +170 -28
  134. package/src/components/FAB/StyledFAB.tsx +26 -23
  135. package/src/components/FAB/__tests__/StyledFAB.spec.tsx +12 -2
  136. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +102 -46
  137. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +204 -52
  138. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +323 -180
  139. package/src/components/FAB/__tests__/index.spec.tsx +22 -2
  140. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +80 -0
  141. package/src/components/HeroDesignProvider/__tests__/index.spec.tsx +78 -0
  142. package/src/components/HeroDesignProvider/index.tsx +14 -0
  143. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  144. package/src/components/Icon/IconList.ts +36 -0
  145. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +162 -50
  146. package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +172 -60
  147. package/src/components/List/BasicListItem.tsx +2 -6
  148. package/src/components/List/ListItem.tsx +3 -5
  149. package/src/components/List/StyledListItem.tsx +8 -7
  150. package/src/components/List/__tests__/ListItem.spec.tsx +4 -4
  151. package/src/components/List/__tests__/StyledBasicListItem.spec.tsx +3 -1
  152. package/src/components/List/__tests__/StyledListItem.spec.tsx +3 -1
  153. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +264 -198
  154. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +798 -635
  155. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +280 -140
  156. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +485 -203
  157. package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +169 -0
  158. package/src/components/Modal/__tests__/index.spec.tsx +99 -0
  159. package/src/components/Modal/index.tsx +217 -0
  160. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +84 -41
  161. package/src/components/PageControl/index.tsx +7 -4
  162. package/src/components/PinInput/PinCell.tsx +3 -1
  163. package/src/components/PinInput/StyledPinInput.tsx +2 -7
  164. package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +9 -4
  165. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +298 -178
  166. package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +15 -48
  167. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +873 -777
  168. package/src/components/PinInput/index.tsx +3 -1
  169. package/src/components/Portal/PortalHost.tsx +27 -0
  170. package/src/components/Portal/PortalProvider.tsx +35 -0
  171. package/src/components/Portal/__tests__/PortalHost.spec.tsx +48 -0
  172. package/src/components/Portal/__tests__/PortalProvider.spec.tsx +24 -0
  173. package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +57 -0
  174. package/src/components/Portal/__tests__/index.spec.tsx +48 -0
  175. package/src/components/Portal/__tests__/reducer.spec.tsx +110 -0
  176. package/src/components/Portal/constants.ts +10 -0
  177. package/src/components/Portal/contexts.ts +14 -0
  178. package/src/components/Portal/index.tsx +66 -0
  179. package/src/components/Portal/reducer.ts +106 -0
  180. package/src/components/Portal/types.tsx +31 -0
  181. package/src/components/Portal/usePortal.ts +50 -0
  182. package/src/components/Portal/usePortalState.ts +11 -0
  183. package/src/components/Progress/ProgressCircle.tsx +1 -3
  184. package/src/components/Progress/StyledProgressBar.tsx +1 -0
  185. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +810 -671
  186. package/src/components/Radio/Radio.tsx +25 -6
  187. package/src/components/Radio/RadioGroup.tsx +13 -4
  188. package/src/components/Radio/StyledRadio.tsx +20 -3
  189. package/src/components/Radio/__tests__/Radio.spec.tsx +46 -13
  190. package/src/components/Radio/__tests__/RadioGroup.spec.tsx +40 -7
  191. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +565 -126
  192. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +1079 -196
  193. package/src/components/Radio/types.ts +9 -1
  194. package/src/components/Rate/StyledRate.tsx +16 -0
  195. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +1006 -0
  196. package/src/components/Rate/__tests__/index.spec.tsx +47 -0
  197. package/src/components/Rate/index.tsx +90 -0
  198. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +131 -47
  199. package/src/components/RichTextEditor/RichTextEditor.tsx +94 -47
  200. package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +5 -2
  201. package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +3 -3
  202. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +420 -273
  203. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +66 -37
  204. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +451 -355
  205. package/src/components/SectionHeading/StyledHeading.tsx +21 -10
  206. package/src/components/SectionHeading/__tests__/StyledHeading.spec.tsx +6 -2
  207. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +165 -30
  208. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +469 -169
  209. package/src/components/SectionHeading/__tests__/index.spec.tsx +15 -1
  210. package/src/components/SectionHeading/index.tsx +51 -32
  211. package/src/components/Select/MultiSelect/Option.tsx +3 -0
  212. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +100 -64
  213. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2557 -2320
  214. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +2739 -911
  215. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +39 -22
  216. package/src/components/Select/MultiSelect/index.tsx +1 -1
  217. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +78 -43
  218. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2460 -2228
  219. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +1356 -843
  220. package/src/components/Select/SingleSelect/__tests__/index.spec.tsx +5 -9
  221. package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +525 -329
  222. package/src/components/Skeleton/index.tsx +3 -7
  223. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +117 -33
  224. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +114 -86
  225. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +1336 -664
  226. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +129 -101
  227. package/src/components/Success/StyledSuccess.tsx +4 -7
  228. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +560 -311
  229. package/src/components/Success/__tests__/index.spec.tsx +37 -9
  230. package/src/components/Success/index.tsx +7 -4
  231. package/src/components/Swipeable/__tests__/SwipeableAction.spec.tsx +2 -2
  232. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +219 -87
  233. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +158 -24
  234. package/src/components/Swipeable/__tests__/index.spec.tsx +12 -5
  235. package/src/components/Swipeable/index.tsx +42 -15
  236. package/src/components/Switch/SelectorSwitch/Option.tsx +1 -1
  237. package/src/components/Switch/SelectorSwitch/StyledSelectorSwitch.tsx +4 -7
  238. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +242 -131
  239. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +152 -116
  240. package/src/components/Switch/SelectorSwitch/index.tsx +7 -15
  241. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +203 -63
  242. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +134 -70
  243. package/src/components/Tabs/SceneView.tsx +11 -6
  244. package/src/components/Tabs/ScrollableTabs.tsx +26 -8
  245. package/src/components/Tabs/{ScrollableTabsHeader.tsx → ScrollableTabsHeader/ScrollableTabsHeader.tsx} +74 -45
  246. package/src/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.ts +45 -0
  247. package/src/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.ts +91 -0
  248. package/src/components/Tabs/StyledScrollableTabs.tsx +14 -9
  249. package/src/components/Tabs/StyledTabs.tsx +1 -9
  250. package/src/components/Tabs/__tests__/SceneView.spec.tsx +11 -11
  251. package/src/components/Tabs/__tests__/ScrollableTabsHeader.spec.tsx +7 -3
  252. package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +219 -110
  253. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2348 -2072
  254. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +1134 -444
  255. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +124 -73
  256. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1694 -1487
  257. package/src/components/Tabs/__tests__/useInitHighlightedAnimation.spec.tsx +56 -0
  258. package/src/components/Tabs/__tests__/useInitUnderlinedAnimation.spec.tsx +65 -0
  259. package/src/components/Tabs/index.tsx +9 -6
  260. package/src/components/Tag/StyledTag.tsx +7 -39
  261. package/src/components/Tag/__tests__/Tag.spec.tsx +18 -14
  262. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +572 -377
  263. package/src/components/Tag/index.tsx +8 -2
  264. package/src/components/TextInput/StyledTextInput.tsx +18 -49
  265. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +2 -46
  266. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1001 -803
  267. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3774 -3075
  268. package/src/components/TextInput/__tests__/index.spec.tsx +151 -9
  269. package/src/components/TextInput/index.tsx +253 -105
  270. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +452 -347
  271. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +741 -597
  272. package/src/components/Toast/StyledToast.tsx +1 -1
  273. package/src/components/Toast/Toast.tsx +6 -5
  274. package/src/components/Toast/ToastContainer.tsx +2 -0
  275. package/src/components/Toast/ToastContext.ts +20 -2
  276. package/src/components/Toast/ToastProvider.tsx +7 -4
  277. package/src/components/Toast/__tests__/Toast.spec.tsx +5 -1
  278. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +916 -631
  279. package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
  280. package/src/components/Toolbar/StyledToolbar.tsx +1 -1
  281. package/src/components/Toolbar/ToolbarItem.tsx +4 -6
  282. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +606 -456
  283. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +714 -401
  284. package/src/components/Typography/Body/StyledBody.tsx +46 -0
  285. package/src/components/Typography/Body/__tests__/StyledBody.tsx +56 -0
  286. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +801 -0
  287. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +970 -0
  288. package/src/components/Typography/Body/__tests__/index.spec.tsx +54 -0
  289. package/src/components/Typography/Body/index.tsx +71 -0
  290. package/src/components/Typography/Caption/StyledCaption.tsx +17 -0
  291. package/src/components/Typography/Caption/__tests__/StyledCaption.spec.tsx +39 -0
  292. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +491 -0
  293. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +651 -0
  294. package/src/components/Typography/Caption/__tests__/index.spec.tsx +46 -0
  295. package/src/components/Typography/Caption/index.tsx +61 -0
  296. package/src/components/Typography/Label/StyledLabel.tsx +14 -0
  297. package/src/components/Typography/Label/__tests__/StyledLabel.tsx +23 -0
  298. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +377 -0
  299. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +529 -0
  300. package/src/components/Typography/Label/__tests__/index.spec.tsx +32 -0
  301. package/src/components/Typography/Label/index.tsx +55 -0
  302. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +900 -340
  303. package/src/components/Typography/Text/index.tsx +19 -12
  304. package/src/components/Typography/Title/StyledTitle.tsx +20 -0
  305. package/src/components/Typography/Title/__tests__/StyledTitle.tsx +53 -0
  306. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +1001 -0
  307. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +1174 -0
  308. package/src/components/Typography/Title/__tests__/index.spec.tsx +55 -0
  309. package/src/components/Typography/Title/index.tsx +70 -0
  310. package/src/components/Typography/index.tsx +15 -0
  311. package/src/components/Typography/types.ts +18 -0
  312. package/src/index.ts +16 -0
  313. package/src/testHelpers/renderWithTheme.tsx +2 -2
  314. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +539 -345
  315. package/src/theme/components/badge.ts +15 -0
  316. package/src/theme/components/button.ts +17 -1
  317. package/src/theme/components/calendar.ts +2 -0
  318. package/src/theme/components/cardCarousel.ts +1 -8
  319. package/src/theme/components/carousel.ts +15 -1
  320. package/src/theme/components/checkbox.ts +5 -2
  321. package/src/theme/components/chip.ts +47 -0
  322. package/src/theme/components/empty.ts +12 -0
  323. package/src/theme/components/error.ts +16 -0
  324. package/src/theme/components/fab.ts +17 -11
  325. package/src/theme/components/list.ts +9 -5
  326. package/src/theme/components/pinInput.ts +15 -0
  327. package/src/theme/components/progress.ts +2 -2
  328. package/src/theme/components/radio.ts +8 -2
  329. package/src/theme/components/rate.ts +16 -0
  330. package/src/theme/components/sectionHeading.ts +2 -1
  331. package/src/theme/components/success.ts +12 -0
  332. package/src/theme/components/swipeable.ts +10 -1
  333. package/src/theme/components/switch.ts +4 -4
  334. package/src/theme/components/tabs.ts +3 -2
  335. package/src/theme/components/tag.ts +18 -2
  336. package/src/theme/components/textInput.ts +4 -4
  337. package/src/theme/components/toast.ts +5 -5
  338. package/src/theme/components/typography.ts +132 -1
  339. package/src/theme/getTheme.ts +24 -18
  340. package/src/theme/global/colors/__tests__/__snapshots__/eBens.spec.ts.snap +8 -8
  341. package/src/theme/global/colors/__tests__/__snapshots__/global.spec.ts.snap +6 -6
  342. package/src/theme/global/colors/__tests__/__snapshots__/globalDark.spec.ts.snap +1 -1
  343. package/src/theme/global/colors/__tests__/__snapshots__/jobs.spec.ts.snap +7 -7
  344. package/src/theme/global/colors/__tests__/__snapshots__/swag.spec.ts.snap +7 -7
  345. package/src/theme/global/colors/__tests__/__snapshots__/swagDark.spec.ts.snap +1 -1
  346. package/src/theme/global/colors/__tests__/__snapshots__/wallet.spec.ts.snap +8 -8
  347. package/src/theme/global/colors/__tests__/__snapshots__/work.spec.ts.snap +10 -10
  348. package/src/theme/global/colors/eBens.ts +2 -2
  349. package/src/theme/global/colors/global.ts +5 -5
  350. package/src/theme/global/colors/jobs.ts +1 -1
  351. package/src/theme/global/colors/swag.ts +1 -1
  352. package/src/theme/global/colors/wallet.ts +2 -2
  353. package/src/theme/global/colors/work.ts +4 -4
  354. package/src/theme/global/index.ts +3 -0
  355. package/src/theme/global/shadows.ts +19 -0
  356. package/src/theme/global/space.ts +2 -0
  357. package/src/types.ts +4 -0
  358. package/src/utils/helpers.ts +4 -1
  359. package/testUtils/setup.tsx +32 -2
  360. package/tsconfig.json +14 -3
  361. package/types/components/Accordion/AccordionItem.d.ts +2 -1
  362. package/types/components/Accordion/StyledAccordion.d.ts +5 -6
  363. package/types/components/Accordion/index.d.ts +1 -1
  364. package/types/components/Alert/StyledAlert.d.ts +5 -6
  365. package/types/components/Alert/index.d.ts +18 -2
  366. package/types/components/AnimatedScroller/AnimatedFAB.d.ts +12 -0
  367. package/types/components/AnimatedScroller/AnimatedScrollable.d.ts +16 -0
  368. package/types/components/AnimatedScroller/FlatListWithFAB.d.ts +12 -0
  369. package/types/components/AnimatedScroller/ScrollViewWithFAB.d.ts +12 -0
  370. package/types/components/AnimatedScroller/SectionListWithFAB.d.ts +12 -0
  371. package/types/components/AnimatedScroller/index.d.ts +4 -0
  372. package/types/components/Attachment/StyledAttachment.d.ts +4 -5
  373. package/types/components/Attachment/index.d.ts +2 -1
  374. package/types/components/Avatar/Avatar.d.ts +2 -1
  375. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +15 -3
  376. package/types/components/Avatar/AvatarStack/index.d.ts +14 -2
  377. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  378. package/types/components/Avatar/StyledAvatar.d.ts +4 -5
  379. package/types/components/Avatar/index.d.ts +2 -2
  380. package/types/components/Badge/Status.d.ts +0 -0
  381. package/types/components/Badge/StyledBadge.d.ts +4 -9
  382. package/types/components/Badge/index.d.ts +0 -0
  383. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +8 -9
  384. package/types/components/BottomNavigation/index.d.ts +0 -0
  385. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -1
  386. package/types/components/BottomSheet/Footer.d.ts +2 -1
  387. package/types/components/BottomSheet/Header.d.ts +2 -1
  388. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  389. package/types/components/BottomSheet/StyledBottomSheet.d.ts +8 -13
  390. package/types/components/BottomSheet/index.d.ts +0 -0
  391. package/types/components/Box/StyledBox.d.ts +1 -2
  392. package/types/components/Box/config.d.ts +0 -0
  393. package/types/components/Box/index.d.ts +2 -1
  394. package/types/components/Box/types.d.ts +0 -1
  395. package/types/components/Button/Button.d.ts +3 -3
  396. package/types/components/Button/IconButton.d.ts +2 -1
  397. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +5 -6
  398. package/types/components/Button/LoadingIndicator/index.d.ts +2 -1
  399. package/types/components/Button/StyledButton.d.ts +16 -10
  400. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +4 -5
  401. package/types/components/Button/UtilityButton/index.d.ts +2 -1
  402. package/types/components/Button/index.d.ts +0 -0
  403. package/types/components/Calendar/CalendarRowItem.d.ts +2 -1
  404. package/types/components/Calendar/StyledCalendar.d.ts +8 -9
  405. package/types/components/Calendar/helpers.d.ts +0 -0
  406. package/types/components/Calendar/index.d.ts +15 -1
  407. package/types/components/Card/DataCard/StyledDataCard.d.ts +2 -3
  408. package/types/components/Card/DataCard/index.d.ts +0 -0
  409. package/types/components/Card/StyledCard.d.ts +1 -2
  410. package/types/components/Card/index.d.ts +0 -0
  411. package/types/components/Carousel/CardCarousel.d.ts +2 -1
  412. package/types/components/Carousel/CarouselItem.d.ts +2 -1
  413. package/types/components/Carousel/StyledCardCarousel.d.ts +5 -12
  414. package/types/components/Carousel/StyledCarousel.d.ts +13 -14
  415. package/types/components/Carousel/contants.d.ts +0 -0
  416. package/types/components/Carousel/index.d.ts +2 -2
  417. package/types/components/Carousel/types.d.ts +4 -4
  418. package/types/components/Checkbox/StyledCheckbox.d.ts +12 -10
  419. package/types/components/Checkbox/index.d.ts +12 -1
  420. package/types/components/Chip/StyledChip.d.ts +30 -0
  421. package/types/components/Chip/index.d.ts +27 -0
  422. package/types/components/Collapse/StyledCollapse.d.ts +3 -6
  423. package/types/components/Collapse/index.d.ts +2 -1
  424. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +2 -7
  425. package/types/components/ContentNavigator/index.d.ts +2 -1
  426. package/types/components/DatePicker/DatePickerAndroid.d.ts +2 -1
  427. package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -1
  428. package/types/components/DatePicker/DatePickerIOS.d.ts +2 -2
  429. package/types/components/DatePicker/StyledDatePicker.d.ts +1 -2
  430. package/types/components/DatePicker/index.d.ts +2 -1
  431. package/types/components/DatePicker/types.d.ts +8 -0
  432. package/types/components/DatePicker/useCalculateDate.d.ts +4 -0
  433. package/types/components/Divider/StyledDivider.d.ts +1 -2
  434. package/types/components/Divider/index.d.ts +2 -1
  435. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  436. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  437. package/types/components/Drawer/StyledDrawer.d.ts +7 -14
  438. package/types/components/Drawer/index.d.ts +0 -0
  439. package/types/components/Empty/StyledEmpty.d.ts +5 -6
  440. package/types/components/Empty/index.d.ts +0 -0
  441. package/types/components/Error/StyledError.d.ts +15 -22
  442. package/types/components/Error/index.d.ts +0 -0
  443. package/types/components/FAB/ActionGroup/ActionItem.d.ts +7 -2
  444. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +13 -17
  445. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +4 -5
  446. package/types/components/FAB/ActionGroup/index.d.ts +12 -1
  447. package/types/components/FAB/AnimatedFABIcon.d.ts +2 -1
  448. package/types/components/FAB/FAB.d.ts +8 -2
  449. package/types/components/FAB/StyledFAB.d.ts +11 -12
  450. package/types/components/FAB/index.d.ts +2 -2
  451. package/types/components/HeroDesignProvider/index.d.ts +4 -0
  452. package/types/components/Icon/AnimatedIcon.d.ts +2 -1
  453. package/types/components/Icon/HeroIcon/index.d.ts +1 -2
  454. package/types/components/Icon/IconList.d.ts +1 -1
  455. package/types/components/Icon/index.d.ts +3 -2
  456. package/types/components/Icon/utils.d.ts +1 -1
  457. package/types/components/Image/index.d.ts +0 -0
  458. package/types/components/List/BasicListItem.d.ts +0 -0
  459. package/types/components/List/ListItem.d.ts +0 -0
  460. package/types/components/List/StyledBasicListItem.d.ts +4 -5
  461. package/types/components/List/StyledListItem.d.ts +7 -8
  462. package/types/components/List/index.d.ts +0 -0
  463. package/types/components/Modal/index.d.ts +37 -0
  464. package/types/components/PageControl/StyledPageControl.d.ts +2 -5
  465. package/types/components/PageControl/index.d.ts +2 -1
  466. package/types/components/PinInput/PinCell.d.ts +2 -1
  467. package/types/components/PinInput/StyledPinInput.d.ts +12 -13
  468. package/types/components/PinInput/index.d.ts +0 -0
  469. package/types/components/Portal/PortalHost.d.ts +5 -0
  470. package/types/components/Portal/PortalProvider.d.ts +7 -0
  471. package/types/components/Portal/constants.d.ts +8 -0
  472. package/types/components/Portal/contexts.d.ts +9 -0
  473. package/types/components/Portal/index.d.ts +18 -0
  474. package/types/components/Portal/reducer.d.ts +5 -0
  475. package/types/components/Portal/types.d.ts +22 -0
  476. package/types/components/Portal/usePortal.d.ts +8 -0
  477. package/types/components/Portal/usePortalState.d.ts +1 -0
  478. package/types/components/Progress/ProgressBar.d.ts +0 -0
  479. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  480. package/types/components/Progress/StyledProgressBar.d.ts +2 -5
  481. package/types/components/Progress/StyledProgressCircle.d.ts +6 -7
  482. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  483. package/types/components/Progress/constants.d.ts +0 -0
  484. package/types/components/Progress/index.d.ts +0 -0
  485. package/types/components/Progress/types.d.ts +0 -0
  486. package/types/components/Radio/Radio.d.ts +15 -3
  487. package/types/components/Radio/RadioGroup.d.ts +5 -1
  488. package/types/components/Radio/StyledRadio.d.ts +14 -5
  489. package/types/components/Radio/index.d.ts +1 -2
  490. package/types/components/Radio/types.d.ts +3 -0
  491. package/types/components/Rate/StyledRate.d.ts +10 -0
  492. package/types/components/Rate/index.d.ts +29 -0
  493. package/types/components/RefreshControl/index.d.ts +2 -1
  494. package/types/components/RichTextEditor/EditorEvent.d.ts +1 -0
  495. package/types/components/RichTextEditor/EditorToolbar.d.ts +2 -1
  496. package/types/components/RichTextEditor/MentionList.d.ts +2 -1
  497. package/types/components/RichTextEditor/RichTextEditor.d.ts +2 -2
  498. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +2 -3
  499. package/types/components/RichTextEditor/StyledToolbar.d.ts +3 -4
  500. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  501. package/types/components/RichTextEditor/constants.d.ts +0 -0
  502. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  503. package/types/components/RichTextEditor/index.d.ts +2 -3
  504. package/types/components/RichTextEditor/types.d.ts +0 -0
  505. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  506. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  507. package/types/components/SectionHeading/StyledHeading.d.ts +7 -5
  508. package/types/components/SectionHeading/index.d.ts +7 -1
  509. package/types/components/Select/BaseOptionList.d.ts +1 -1
  510. package/types/components/Select/Footer.d.ts +2 -1
  511. package/types/components/Select/MultiSelect/Option.d.ts +2 -1
  512. package/types/components/Select/MultiSelect/OptionList.d.ts +2 -1
  513. package/types/components/Select/MultiSelect/index.d.ts +1 -1
  514. package/types/components/Select/SingleSelect/Option.d.ts +2 -1
  515. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  516. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +1 -1
  517. package/types/components/Select/SingleSelect/index.d.ts +1 -1
  518. package/types/components/Select/StyledSelect.d.ts +3 -4
  519. package/types/components/Select/helpers.d.ts +1 -2
  520. package/types/components/Select/index.d.ts +1 -1
  521. package/types/components/Select/types.d.ts +0 -0
  522. package/types/components/Skeleton/StyledSkeleton.d.ts +2 -3
  523. package/types/components/Skeleton/index.d.ts +2 -1
  524. package/types/components/Slider/index.d.ts +2 -1
  525. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
  526. package/types/components/Spinner/StyledSpinner.d.ts +4 -5
  527. package/types/components/Spinner/index.d.ts +0 -0
  528. package/types/components/Success/StyledSuccess.d.ts +14 -19
  529. package/types/components/Success/index.d.ts +1 -1
  530. package/types/components/Swipeable/StyledSwipeable.d.ts +1 -2
  531. package/types/components/Swipeable/SwipeableAction.d.ts +2 -2
  532. package/types/components/Swipeable/index.d.ts +8 -4
  533. package/types/components/Switch/SelectorSwitch/Option.d.ts +2 -1
  534. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +4 -11
  535. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  536. package/types/components/Switch/StyledSwitch.d.ts +2 -5
  537. package/types/components/Switch/index.d.ts +0 -0
  538. package/types/components/Tabs/ActiveTabIndicator.d.ts +2 -1
  539. package/types/components/Tabs/SceneView.d.ts +1 -1
  540. package/types/components/Tabs/ScrollableTabs.d.ts +5 -1
  541. package/types/components/Tabs/{ScrollableTabsHeader.d.ts → ScrollableTabsHeader/ScrollableTabsHeader.d.ts} +8 -3
  542. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +9 -0
  543. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +10 -0
  544. package/types/components/Tabs/StyledScrollableTabs.d.ts +12 -20
  545. package/types/components/Tabs/StyledTabs.d.ts +8 -18
  546. package/types/components/Tabs/TabWithBadge.d.ts +2 -2
  547. package/types/components/Tabs/index.d.ts +2 -1
  548. package/types/components/Tabs/useIsFocused.d.ts +0 -0
  549. package/types/components/Tabs/utils.d.ts +0 -0
  550. package/types/components/Tag/StyledTag.d.ts +4 -8
  551. package/types/components/Tag/index.d.ts +1 -0
  552. package/types/components/TextInput/StyledTextInput.d.ts +22 -46
  553. package/types/components/TextInput/index.d.ts +31 -2
  554. package/types/components/TimePicker/StyledTimePicker.d.ts +1 -2
  555. package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -1
  556. package/types/components/TimePicker/TimePickerIOS.d.ts +2 -1
  557. package/types/components/TimePicker/index.d.ts +2 -1
  558. package/types/components/TimePicker/types.d.ts +0 -0
  559. package/types/components/Toast/StyledToast.d.ts +6 -9
  560. package/types/components/Toast/Toast.d.ts +0 -0
  561. package/types/components/Toast/ToastContainer.d.ts +0 -0
  562. package/types/components/Toast/ToastContext.d.ts +1 -1
  563. package/types/components/Toast/ToastProvider.d.ts +2 -1
  564. package/types/components/Toast/index.d.ts +1 -2
  565. package/types/components/Toast/types.d.ts +0 -0
  566. package/types/components/Toolbar/StyledToolbar.d.ts +6 -7
  567. package/types/components/Toolbar/ToolbarGroup.d.ts +2 -1
  568. package/types/components/Toolbar/ToolbarItem.d.ts +2 -1
  569. package/types/components/Toolbar/index.d.ts +3 -2
  570. package/types/components/Typography/Body/StyledBody.d.ts +14 -0
  571. package/types/components/Typography/Body/__tests__/StyledBody.d.ts +1 -0
  572. package/types/components/Typography/Body/index.d.ts +33 -0
  573. package/types/components/Typography/Caption/StyledCaption.d.ts +12 -0
  574. package/types/components/Typography/Caption/index.d.ts +27 -0
  575. package/types/components/Typography/Label/StyledLabel.d.ts +11 -0
  576. package/types/components/Typography/Label/__tests__/StyledLabel.d.ts +1 -0
  577. package/types/components/Typography/Label/index.d.ts +23 -0
  578. package/types/components/Typography/Text/StyledText.d.ts +1 -2
  579. package/types/components/Typography/Text/index.d.ts +2 -1
  580. package/types/components/Typography/Title/StyledTitle.d.ts +14 -0
  581. package/types/components/Typography/Title/__tests__/StyledTitle.d.ts +1 -0
  582. package/types/components/Typography/Title/index.d.ts +33 -0
  583. package/types/components/Typography/index.d.ts +11 -0
  584. package/types/components/Typography/types.d.ts +6 -0
  585. package/types/index.d.ts +6 -1
  586. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  587. package/types/theme/ThemeProvider.d.ts +0 -1
  588. package/types/theme/ThemeSwitcher.d.ts +2 -2
  589. package/types/theme/components/accordion.d.ts +0 -0
  590. package/types/theme/components/alert.d.ts +0 -0
  591. package/types/theme/components/attachment.d.ts +0 -0
  592. package/types/theme/components/avatar.d.ts +0 -0
  593. package/types/theme/components/badge.d.ts +15 -0
  594. package/types/theme/components/bottomNavigation.d.ts +0 -0
  595. package/types/theme/components/bottomSheet.d.ts +0 -0
  596. package/types/theme/components/button.d.ts +14 -0
  597. package/types/theme/components/calendar.d.ts +2 -0
  598. package/types/theme/components/card.d.ts +0 -0
  599. package/types/theme/components/cardCarousel.d.ts +0 -10
  600. package/types/theme/components/carousel.d.ts +15 -1
  601. package/types/theme/components/checkbox.d.ts +5 -2
  602. package/types/theme/components/chip.d.ts +40 -0
  603. package/types/theme/components/contentNavigator.d.ts +0 -0
  604. package/types/theme/components/datePicker.d.ts +0 -0
  605. package/types/theme/components/divider.d.ts +0 -0
  606. package/types/theme/components/drawer.d.ts +0 -0
  607. package/types/theme/components/empty.d.ts +11 -0
  608. package/types/theme/components/error.d.ts +15 -0
  609. package/types/theme/components/fab.d.ts +13 -7
  610. package/types/theme/components/icon.d.ts +0 -0
  611. package/types/theme/components/image.d.ts +0 -0
  612. package/types/theme/components/list.d.ts +11 -7
  613. package/types/theme/components/pageControl.d.ts +0 -0
  614. package/types/theme/components/pinInput.d.ts +15 -0
  615. package/types/theme/components/progress.d.ts +0 -0
  616. package/types/theme/components/radio.d.ts +7 -1
  617. package/types/theme/components/rate.d.ts +11 -0
  618. package/types/theme/components/refreshControl.d.ts +0 -0
  619. package/types/theme/components/richTextEditor.d.ts +0 -0
  620. package/types/theme/components/sectionHeading.d.ts +1 -0
  621. package/types/theme/components/select.d.ts +0 -0
  622. package/types/theme/components/skeleton.d.ts +0 -0
  623. package/types/theme/components/slider.d.ts +0 -0
  624. package/types/theme/components/spinner.d.ts +0 -0
  625. package/types/theme/components/success.d.ts +11 -0
  626. package/types/theme/components/swipeable.d.ts +7 -0
  627. package/types/theme/components/switch.d.ts +1 -1
  628. package/types/theme/components/tabs.d.ts +1 -0
  629. package/types/theme/components/tag.d.ts +16 -1
  630. package/types/theme/components/textInput.d.ts +2 -2
  631. package/types/theme/components/timePicker.d.ts +0 -0
  632. package/types/theme/components/toast.d.ts +1 -1
  633. package/types/theme/components/toolbar.d.ts +0 -0
  634. package/types/theme/components/typography.d.ts +122 -0
  635. package/types/theme/getTheme.d.ts +22 -18
  636. package/types/theme/global/borders.d.ts +0 -0
  637. package/types/theme/global/colors/eBens.d.ts +0 -0
  638. package/types/theme/global/colors/global.d.ts +0 -0
  639. package/types/theme/global/colors/globalDark.d.ts +0 -0
  640. package/types/theme/global/colors/jobs.d.ts +0 -0
  641. package/types/theme/global/colors/swag.d.ts +0 -0
  642. package/types/theme/global/colors/swagDark.d.ts +0 -0
  643. package/types/theme/global/colors/types.d.ts +0 -0
  644. package/types/theme/global/colors/wallet.d.ts +0 -0
  645. package/types/theme/global/colors/work.d.ts +0 -0
  646. package/types/theme/global/index.d.ts +12 -0
  647. package/types/theme/global/scale.d.ts +0 -0
  648. package/types/theme/global/shadows.d.ts +16 -0
  649. package/types/theme/global/sizes.d.ts +0 -0
  650. package/types/theme/global/space.d.ts +1 -0
  651. package/types/theme/global/typography.d.ts +0 -0
  652. package/types/theme/index.d.ts +0 -0
  653. package/types/types.d.ts +3 -1
  654. package/types/utils/functions.d.ts +0 -0
  655. package/types/utils/helpers.d.ts +1 -1
  656. package/types/utils/hooks.d.ts +0 -0
  657. package/types/utils/scale.d.ts +0 -0
  658. package/.turbo/turbo-build.log +0 -8
  659. package/.turbo/turbo-build:types.log +0 -1
  660. package/.turbo/turbo-lint.log +0 -153
  661. package/.turbo/turbo-publish:npm.log +0 -0
  662. package/.turbo/turbo-type-check.log +0 -1
  663. package/types/components/Carousel/CarouselPaginator/StyledCarouselPaginator.d.ts +0 -14
  664. package/types/components/Carousel/CarouselPaginator/index.d.ts +0 -7
  665. package/types/components/Select/StyledOptionList.d.ts +0 -12
  666. package/types/components/SwipeableV2/StyledSwipeable.d.ts +0 -15
  667. package/types/components/SwipeableV2/index.d.ts +0 -46
  668. package/types/theme/global/colors/legacySystemPalette.d.ts +0 -3
@@ -2,695 +2,934 @@
2
2
 
3
3
  exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
4
4
  <View
5
- testID="carousel"
6
- >
7
- <View
8
- style={
9
- Array [
10
- Object {
11
- "backgroundColor": "#ece8ef",
12
- "bottom": 0,
13
- "left": 0,
14
- "position": "absolute",
15
- "right": 0,
16
- "top": 0,
17
- },
18
- undefined,
19
- ]
20
- }
21
- themeSlideBackground="#ece8ef"
22
- />
23
- <View
24
- style={
25
- Array [
26
- Object {
27
- "alignItems": "center",
28
- "height": 48,
29
- "justifyContent": "center",
30
- },
31
- undefined,
32
- ]
5
+ style={
6
+ {
7
+ "flex": 1,
33
8
  }
34
- />
9
+ }
10
+ >
35
11
  <View
36
- style={
37
- Array [
38
- Object {
39
- "flexGrow": 2,
40
- "justifyContent": "space-between",
41
- },
42
- undefined,
43
- ]
44
- }
12
+ testID="carousel"
45
13
  >
46
- <RCTScrollView
47
- bounces={false}
48
- data={
49
- Array [
50
- Object {
51
- "background": "#ece8ef",
52
- "body": "Access your Work, Money and Benefits in the palm of your hand.",
53
- "heading": "Welcome to the new Employment Hero app",
54
- "image": 1,
55
- },
56
- Object {
57
- "background": "#ccd2d3",
58
- "body": "Our app now has a new bright clean modern look and feel with the same great features.",
59
- "content": <Image
60
- source={
61
- Object {
62
- "uri": "https://picsum.photos/30",
63
- }
64
- }
65
- />,
66
- "heading": "Same app with a new look!",
67
- "image": "https://picsum.photos/800/1200",
68
- },
69
- Object {
70
- "background": "#ccd2d3",
71
- "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae pulvinar quam, ac facilisis massa. Aliquam facilisis nisi eu justo dignissim, vel tempus justo iaculis.",
72
- "heading": "Easier to get around",
73
- "image": Object {
74
- "height": 100,
75
- "resizeMode": "cover",
76
- "uri": "https://picsum.photos/1200/800",
77
- "width": 30,
78
- },
79
- },
80
- Object {
81
- "background": "#ccd2d3",
82
- "heading": "Test slide 4",
83
- "image": Object {
84
- "height": 100,
85
- "uri": "https://picsum.photos/1200/800",
86
- "width": 30,
87
- },
14
+ <View
15
+ style={
16
+ [
17
+ {
18
+ "backgroundColor": "#ece8ef",
19
+ "bottom": 0,
20
+ "left": 0,
21
+ "position": "absolute",
22
+ "right": 0,
23
+ "top": 0,
88
24
  },
25
+ undefined,
89
26
  ]
90
27
  }
91
- getItem={[Function]}
92
- getItemCount={[Function]}
93
- horizontal={true}
94
- keyExtractor={[Function]}
95
- onContentSizeChange={[Function]}
96
- onLayout={[Function]}
97
- onMomentumScrollBegin={[Function]}
98
- onMomentumScrollEnd={[Function]}
99
- onScroll={[Function]}
100
- onScrollBeginDrag={[Function]}
101
- onScrollEndDrag={[Function]}
102
- onViewableItemsChanged={[Function]}
103
- pagingEnabled={true}
104
- removeClippedSubviews={false}
105
- renderItem={[Function]}
106
- scrollEventThrottle={32}
107
- showsHorizontalScrollIndicator={false}
108
- stickyHeaderIndices={Array []}
109
- viewabilityConfig={
110
- Object {
111
- "viewAreaCoveragePercentThreshold": 50,
112
- }
28
+ themeSlideBackground="#ece8ef"
29
+ />
30
+ <View
31
+ style={
32
+ [
33
+ {
34
+ "alignItems": "center",
35
+ "height": 48,
36
+ "justifyContent": "center",
37
+ },
38
+ undefined,
39
+ ]
113
40
  }
114
- viewabilityConfigCallbackPairs={
115
- Array [
116
- Object {
117
- "onViewableItemsChanged": [Function],
118
- "viewabilityConfig": Object {
119
- "viewAreaCoveragePercentThreshold": 50,
120
- },
41
+ />
42
+ <View
43
+ style={
44
+ [
45
+ {
46
+ "flexGrow": 2,
47
+ "justifyContent": "space-between",
121
48
  },
49
+ undefined,
122
50
  ]
123
51
  }
124
52
  >
125
- <View>
126
- <View
127
- onLayout={[Function]}
128
- style={
129
- Array [
130
- Object {
131
- "flexDirection": "row",
53
+ <RCTScrollView
54
+ bounces={false}
55
+ data={
56
+ [
57
+ {
58
+ "background": "#ece8ef",
59
+ "body": "Access your Work, Money and Benefits in the palm of your hand.",
60
+ "heading": "Welcome to the new Employment Hero app",
61
+ "image": 1,
62
+ },
63
+ {
64
+ "background": "#ccd2d3",
65
+ "body": "Our app now has a new bright clean modern look and feel with the same great features.",
66
+ "content": <Image
67
+ source={
68
+ {
69
+ "uri": "https://picsum.photos/30",
70
+ }
71
+ }
72
+ />,
73
+ "heading": "Same app with a new look!",
74
+ "image": "https://picsum.photos/800/1200",
75
+ },
76
+ {
77
+ "background": "#ccd2d3",
78
+ "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae pulvinar quam, ac facilisis massa. Aliquam facilisis nisi eu justo dignissim, vel tempus justo iaculis.",
79
+ "heading": "Easier to get around",
80
+ "image": {
81
+ "height": 100,
82
+ "resizeMode": "cover",
83
+ "uri": "https://picsum.photos/1200/800",
84
+ "width": 30,
132
85
  },
133
- null,
134
- ]
86
+ },
87
+ {
88
+ "background": "#ccd2d3",
89
+ "heading": "Test slide 4",
90
+ "image": {
91
+ "height": 100,
92
+ "uri": "https://picsum.photos/1200/800",
93
+ "width": 30,
94
+ },
95
+ },
96
+ {
97
+ "background": "#ccd2d3",
98
+ "heading": "Test slide 5",
99
+ },
100
+ ]
101
+ }
102
+ getItem={[Function]}
103
+ getItemCount={[Function]}
104
+ getItemLayout={[Function]}
105
+ horizontal={true}
106
+ keyExtractor={[Function]}
107
+ onContentSizeChange={[Function]}
108
+ onLayout={[Function]}
109
+ onMomentumScrollBegin={[Function]}
110
+ onMomentumScrollEnd={[Function]}
111
+ onScroll={[Function]}
112
+ onScrollBeginDrag={[Function]}
113
+ onScrollEndDrag={[Function]}
114
+ onViewableItemsChanged={[Function]}
115
+ pagingEnabled={true}
116
+ removeClippedSubviews={false}
117
+ renderItem={[Function]}
118
+ scrollEventThrottle={32}
119
+ showsHorizontalScrollIndicator={false}
120
+ stickyHeaderIndices={[]}
121
+ testID="carousel_flatlist"
122
+ viewabilityConfig={
123
+ {
124
+ "viewAreaCoveragePercentThreshold": 50,
135
125
  }
136
- >
126
+ }
127
+ viewabilityConfigCallbackPairs={
128
+ [
129
+ {
130
+ "onViewableItemsChanged": [Function],
131
+ "viewabilityConfig": {
132
+ "viewAreaCoveragePercentThreshold": 50,
133
+ },
134
+ },
135
+ ]
136
+ }
137
+ >
138
+ <View>
137
139
  <View
140
+ onFocusCapture={[Function]}
138
141
  style={
139
- Array [
140
- Object {},
141
- Object {
142
- "width": 750,
142
+ [
143
+ {
144
+ "flexDirection": "row",
143
145
  },
146
+ null,
144
147
  ]
145
148
  }
146
149
  >
147
- <Image
148
- source={1}
149
- style={
150
- Array [
151
- Object {
152
- "borderRadius": 0,
153
- "height": 72,
154
- "width": 72,
155
- },
156
- Array [
157
- Object {
158
- "flex": 1,
159
- "flexGrow": 2,
160
- "resizeMode": "contain",
161
- "width": "100%",
162
- },
163
- undefined,
164
- ],
165
- ]
166
- }
167
- />
168
150
  <View
169
- marginTop="large"
170
- paddingHorizontal="large"
171
151
  style={
172
- Array [
173
- Object {
174
- "marginTop": 24,
175
- "paddingHorizontal": 24,
152
+ [
153
+ {},
154
+ {
155
+ "width": 300,
176
156
  },
177
- Array [
178
- Object {
179
- "width": 750,
180
- },
181
- undefined,
182
- ],
183
157
  ]
184
158
  }
185
- width={750}
186
159
  >
187
- <Text
188
- allowFontScaling={false}
160
+ <Image
161
+ source={1}
189
162
  style={
190
- Array [
191
- Object {
192
- "color": "#001f23",
193
- "fontFamily": "BeVietnamPro-Regular",
194
- "fontSize": 14,
195
- "letterSpacing": 0.42,
196
- "lineHeight": 22,
163
+ [
164
+ {
165
+ "borderRadius": 0,
166
+ "height": 72,
167
+ "width": 72,
197
168
  },
198
- Array [
199
- Object {
200
- "fontFamily": "RebondGrotesque-SemiBold",
201
- "fontSize": 32,
202
- "lineHeight": 44,
169
+ [
170
+ {
171
+ "flex": 1,
172
+ "flexGrow": 2,
173
+ "resizeMode": "contain",
174
+ "width": "100%",
175
+ },
176
+ {
203
177
  "marginBottom": 16,
204
- "marginTop": 8,
205
178
  },
206
- undefined,
207
179
  ],
208
180
  ]
209
181
  }
210
- themeFontSize="medium"
211
- themeFontWeight="regular"
212
- themeIntent="body"
213
- themeTypeface="neutral"
214
- >
215
- Welcome to the new Employment Hero app
216
- </Text>
217
- <Text
218
- allowFontScaling={false}
182
+ />
183
+ <View
184
+ paddingHorizontal="medium"
219
185
  style={
220
- Array [
221
- Object {
222
- "color": "#001f23",
223
- "fontFamily": "BeVietnamPro-Regular",
224
- "fontSize": 16,
225
- "letterSpacing": 0.48,
226
- "lineHeight": 24,
186
+ [
187
+ {
188
+ "paddingHorizontal": 16,
227
189
  },
228
- undefined,
190
+ [
191
+ {
192
+ "width": 300,
193
+ },
194
+ undefined,
195
+ ],
229
196
  ]
230
197
  }
231
- themeFontSize="large"
232
- themeFontWeight="regular"
233
- themeIntent="body"
234
- themeTypeface="neutral"
198
+ width={300}
235
199
  >
236
- Access your Work, Money and Benefits in the palm of your hand.
237
- </Text>
200
+ <Text
201
+ allowFontScaling={false}
202
+ style={
203
+ [
204
+ {
205
+ "color": "#001f23",
206
+ "fontFamily": "RebondGrotesque-SemiBold",
207
+ "fontSize": 36,
208
+ "letterSpacing": 1.5,
209
+ "lineHeight": 44,
210
+ },
211
+ [
212
+ {
213
+ "marginBottom": 16,
214
+ },
215
+ undefined,
216
+ ],
217
+ ]
218
+ }
219
+ themeIntent="body"
220
+ themeLevel="h1"
221
+ themeTypeface="playful"
222
+ >
223
+ Welcome to the new Employment Hero app
224
+ </Text>
225
+ <Text
226
+ allowFontScaling={false}
227
+ style={
228
+ [
229
+ {
230
+ "color": "#001f23",
231
+ "fontFamily": "BeVietnamPro-Regular",
232
+ "fontSize": 16,
233
+ "letterSpacing": 0.48,
234
+ "lineHeight": 24,
235
+ },
236
+ undefined,
237
+ ]
238
+ }
239
+ themeIntent="body"
240
+ themeTypeface="neutral"
241
+ themeVariant="regular"
242
+ >
243
+ Access your Work, Money and Benefits in the palm of your hand.
244
+ </Text>
245
+ </View>
238
246
  </View>
239
247
  </View>
240
- </View>
241
- <View
242
- onLayout={[Function]}
243
- style={
244
- Array [
245
- Object {
246
- "flexDirection": "row",
247
- },
248
- null,
249
- ]
250
- }
251
- >
252
248
  <View
249
+ onFocusCapture={[Function]}
253
250
  style={
254
- Array [
255
- Object {},
256
- Object {
257
- "width": 750,
251
+ [
252
+ {
253
+ "flexDirection": "row",
258
254
  },
255
+ null,
259
256
  ]
260
257
  }
261
258
  >
262
- <Image
263
- source={
264
- Object {
265
- "uri": "https://picsum.photos/800/1200",
266
- }
267
- }
268
- style={
269
- Array [
270
- Object {
271
- "borderRadius": 0,
272
- "height": 72,
273
- "width": 72,
274
- },
275
- Array [
276
- Object {
277
- "flex": 1,
278
- "flexGrow": 2,
279
- "resizeMode": "contain",
280
- "width": "100%",
281
- },
282
- undefined,
283
- ],
284
- ]
285
- }
286
- />
287
259
  <View
288
- marginTop="large"
289
- paddingHorizontal="large"
290
260
  style={
291
- Array [
292
- Object {
293
- "marginTop": 24,
294
- "paddingHorizontal": 24,
261
+ [
262
+ {},
263
+ {
264
+ "width": 300,
295
265
  },
296
- Array [
297
- Object {
298
- "width": 750,
299
- },
300
- undefined,
301
- ],
302
266
  ]
303
267
  }
304
- width={750}
305
268
  >
306
269
  <Image
307
270
  source={
308
- Object {
309
- "uri": "https://picsum.photos/30",
271
+ {
272
+ "uri": "https://picsum.photos/800/1200",
310
273
  }
311
274
  }
312
275
  style={
313
- Array [
314
- Object {
276
+ [
277
+ {
315
278
  "borderRadius": 0,
316
279
  "height": 72,
317
280
  "width": 72,
318
281
  },
319
- undefined,
282
+ [
283
+ {
284
+ "flex": 1,
285
+ "flexGrow": 2,
286
+ "resizeMode": "contain",
287
+ "width": "100%",
288
+ },
289
+ {
290
+ "marginBottom": 16,
291
+ },
292
+ ],
320
293
  ]
321
294
  }
322
295
  />
323
- <Text
324
- allowFontScaling={false}
296
+ <View
297
+ paddingHorizontal="medium"
325
298
  style={
326
- Array [
327
- Object {
328
- "color": "#001f23",
329
- "fontFamily": "BeVietnamPro-Regular",
330
- "fontSize": 14,
331
- "letterSpacing": 0.42,
332
- "lineHeight": 22,
299
+ [
300
+ {
301
+ "paddingHorizontal": 16,
333
302
  },
334
- Array [
335
- Object {
303
+ [
304
+ {
305
+ "width": 300,
306
+ },
307
+ undefined,
308
+ ],
309
+ ]
310
+ }
311
+ width={300}
312
+ >
313
+ <Image
314
+ source={
315
+ {
316
+ "uri": "https://picsum.photos/30",
317
+ }
318
+ }
319
+ style={
320
+ [
321
+ {
322
+ "borderRadius": 0,
323
+ "height": 72,
324
+ "width": 72,
325
+ },
326
+ undefined,
327
+ ]
328
+ }
329
+ />
330
+ <Text
331
+ allowFontScaling={false}
332
+ style={
333
+ [
334
+ {
335
+ "color": "#001f23",
336
336
  "fontFamily": "RebondGrotesque-SemiBold",
337
- "fontSize": 32,
337
+ "fontSize": 36,
338
+ "letterSpacing": 1.5,
338
339
  "lineHeight": 44,
339
- "marginBottom": 16,
340
- "marginTop": 8,
340
+ },
341
+ [
342
+ {
343
+ "marginBottom": 16,
344
+ },
345
+ undefined,
346
+ ],
347
+ ]
348
+ }
349
+ themeIntent="body"
350
+ themeLevel="h1"
351
+ themeTypeface="playful"
352
+ >
353
+ Same app with a new look!
354
+ </Text>
355
+ <Text
356
+ allowFontScaling={false}
357
+ style={
358
+ [
359
+ {
360
+ "color": "#001f23",
361
+ "fontFamily": "BeVietnamPro-Regular",
362
+ "fontSize": 16,
363
+ "letterSpacing": 0.48,
364
+ "lineHeight": 24,
341
365
  },
342
366
  undefined,
367
+ ]
368
+ }
369
+ themeIntent="body"
370
+ themeTypeface="neutral"
371
+ themeVariant="regular"
372
+ >
373
+ Our app now has a new bright clean modern look and feel with the same great features.
374
+ </Text>
375
+ </View>
376
+ </View>
377
+ </View>
378
+ <View
379
+ onFocusCapture={[Function]}
380
+ style={
381
+ [
382
+ {
383
+ "flexDirection": "row",
384
+ },
385
+ null,
386
+ ]
387
+ }
388
+ >
389
+ <View
390
+ style={
391
+ [
392
+ {},
393
+ {
394
+ "width": 300,
395
+ },
396
+ ]
397
+ }
398
+ >
399
+ <Image
400
+ source={
401
+ {
402
+ "height": 100,
403
+ "resizeMode": "cover",
404
+ "uri": "https://picsum.photos/1200/800",
405
+ "width": 30,
406
+ }
407
+ }
408
+ style={
409
+ [
410
+ {
411
+ "borderRadius": 0,
412
+ "height": 72,
413
+ "width": 72,
414
+ },
415
+ [
416
+ {
417
+ "alignSelf": "center",
418
+ "height": 100,
419
+ "resizeMode": "cover",
420
+ "width": 30,
421
+ },
422
+ {
423
+ "marginBottom": 16,
424
+ },
343
425
  ],
344
426
  ]
345
427
  }
346
- themeFontSize="medium"
347
- themeFontWeight="regular"
348
- themeIntent="body"
349
- themeTypeface="neutral"
350
- >
351
- Same app with a new look!
352
- </Text>
353
- <Text
354
- allowFontScaling={false}
428
+ themeHeight={100}
429
+ themeResizeMode="cover"
430
+ themeWidth={30}
431
+ />
432
+ <View
433
+ paddingHorizontal="medium"
355
434
  style={
356
- Array [
357
- Object {
358
- "color": "#001f23",
359
- "fontFamily": "BeVietnamPro-Regular",
360
- "fontSize": 16,
361
- "letterSpacing": 0.48,
362
- "lineHeight": 24,
435
+ [
436
+ {
437
+ "paddingHorizontal": 16,
363
438
  },
364
- undefined,
439
+ [
440
+ {
441
+ "width": 300,
442
+ },
443
+ undefined,
444
+ ],
365
445
  ]
366
446
  }
367
- themeFontSize="large"
368
- themeFontWeight="regular"
369
- themeIntent="body"
370
- themeTypeface="neutral"
447
+ width={300}
371
448
  >
372
- Our app now has a new bright clean modern look and feel with the same great features.
373
- </Text>
449
+ <Text
450
+ allowFontScaling={false}
451
+ style={
452
+ [
453
+ {
454
+ "color": "#001f23",
455
+ "fontFamily": "RebondGrotesque-SemiBold",
456
+ "fontSize": 36,
457
+ "letterSpacing": 1.5,
458
+ "lineHeight": 44,
459
+ },
460
+ [
461
+ {
462
+ "marginBottom": 16,
463
+ },
464
+ undefined,
465
+ ],
466
+ ]
467
+ }
468
+ themeIntent="body"
469
+ themeLevel="h1"
470
+ themeTypeface="playful"
471
+ >
472
+ Easier to get around
473
+ </Text>
474
+ <Text
475
+ allowFontScaling={false}
476
+ style={
477
+ [
478
+ {
479
+ "color": "#001f23",
480
+ "fontFamily": "BeVietnamPro-Regular",
481
+ "fontSize": 16,
482
+ "letterSpacing": 0.48,
483
+ "lineHeight": 24,
484
+ },
485
+ undefined,
486
+ ]
487
+ }
488
+ themeIntent="body"
489
+ themeTypeface="neutral"
490
+ themeVariant="regular"
491
+ >
492
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae pulvinar quam, ac facilisis massa. Aliquam facilisis nisi eu justo dignissim, vel tempus justo iaculis.
493
+ </Text>
494
+ </View>
374
495
  </View>
375
496
  </View>
376
- </View>
377
- <View
378
- onLayout={[Function]}
379
- style={
380
- Array [
381
- Object {
382
- "flexDirection": "row",
383
- },
384
- null,
385
- ]
386
- }
387
- >
388
497
  <View
498
+ onFocusCapture={[Function]}
389
499
  style={
390
- Array [
391
- Object {},
392
- Object {
393
- "width": 750,
500
+ [
501
+ {
502
+ "flexDirection": "row",
394
503
  },
504
+ null,
395
505
  ]
396
506
  }
397
507
  >
398
- <Image
399
- height={100}
400
- resizeMode="cover"
401
- source={
402
- Object {
403
- "height": 100,
404
- "resizeMode": "cover",
405
- "uri": "https://picsum.photos/1200/800",
406
- "width": 30,
407
- }
408
- }
409
- style={
410
- Array [
411
- Object {
412
- "borderRadius": 0,
413
- "height": 72,
414
- "width": 72,
415
- },
416
- Array [
417
- Object {
418
- "alignSelf": "center",
419
- "height": 100,
420
- "resizeMode": "cover",
421
- "width": 30,
422
- },
423
- undefined,
424
- ],
425
- ]
426
- }
427
- width={30}
428
- />
429
508
  <View
430
- marginTop="large"
431
- paddingHorizontal="large"
432
509
  style={
433
- Array [
434
- Object {
435
- "marginTop": 24,
436
- "paddingHorizontal": 24,
510
+ [
511
+ {},
512
+ {
513
+ "width": 300,
437
514
  },
438
- Array [
439
- Object {
440
- "width": 750,
441
- },
442
- undefined,
443
- ],
444
515
  ]
445
516
  }
446
- width={750}
447
517
  >
448
- <Text
449
- allowFontScaling={false}
518
+ <Image
519
+ source={
520
+ {
521
+ "height": 100,
522
+ "uri": "https://picsum.photos/1200/800",
523
+ "width": 30,
524
+ }
525
+ }
450
526
  style={
451
- Array [
452
- Object {
453
- "color": "#001f23",
454
- "fontFamily": "BeVietnamPro-Regular",
455
- "fontSize": 14,
456
- "letterSpacing": 0.42,
457
- "lineHeight": 22,
527
+ [
528
+ {
529
+ "borderRadius": 0,
530
+ "height": 72,
531
+ "width": 72,
458
532
  },
459
- Array [
460
- Object {
461
- "fontFamily": "RebondGrotesque-SemiBold",
462
- "fontSize": 32,
463
- "lineHeight": 44,
533
+ [
534
+ {
535
+ "alignSelf": "center",
536
+ "height": 100,
537
+ "resizeMode": "contain",
538
+ "width": 30,
539
+ },
540
+ {
464
541
  "marginBottom": 16,
465
- "marginTop": 8,
466
542
  },
467
- undefined,
468
543
  ],
469
544
  ]
470
545
  }
471
- themeFontSize="medium"
472
- themeFontWeight="regular"
473
- themeIntent="body"
474
- themeTypeface="neutral"
475
- >
476
- Easier to get around
477
- </Text>
478
- <Text
479
- allowFontScaling={false}
546
+ themeHeight={100}
547
+ themeWidth={30}
548
+ />
549
+ <View
550
+ paddingHorizontal="medium"
480
551
  style={
481
- Array [
482
- Object {
483
- "color": "#001f23",
484
- "fontFamily": "BeVietnamPro-Regular",
485
- "fontSize": 16,
486
- "letterSpacing": 0.48,
487
- "lineHeight": 24,
552
+ [
553
+ {
554
+ "paddingHorizontal": 16,
488
555
  },
489
- undefined,
556
+ [
557
+ {
558
+ "width": 300,
559
+ },
560
+ undefined,
561
+ ],
490
562
  ]
491
563
  }
492
- themeFontSize="large"
493
- themeFontWeight="regular"
494
- themeIntent="body"
495
- themeTypeface="neutral"
564
+ width={300}
496
565
  >
497
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae pulvinar quam, ac facilisis massa. Aliquam facilisis nisi eu justo dignissim, vel tempus justo iaculis.
498
- </Text>
566
+ <Text
567
+ allowFontScaling={false}
568
+ style={
569
+ [
570
+ {
571
+ "color": "#001f23",
572
+ "fontFamily": "RebondGrotesque-SemiBold",
573
+ "fontSize": 36,
574
+ "letterSpacing": 1.5,
575
+ "lineHeight": 44,
576
+ },
577
+ [
578
+ {
579
+ "marginBottom": 16,
580
+ },
581
+ undefined,
582
+ ],
583
+ ]
584
+ }
585
+ themeIntent="body"
586
+ themeLevel="h1"
587
+ themeTypeface="playful"
588
+ >
589
+ Test slide 4
590
+ </Text>
591
+ </View>
499
592
  </View>
500
593
  </View>
501
- </View>
502
- <View
503
- onLayout={[Function]}
504
- style={
505
- Array [
506
- Object {
507
- "flexDirection": "row",
508
- },
509
- null,
510
- ]
511
- }
512
- >
513
594
  <View
595
+ onFocusCapture={[Function]}
514
596
  style={
515
- Array [
516
- Object {},
517
- Object {
518
- "width": 750,
597
+ [
598
+ {
599
+ "flexDirection": "row",
519
600
  },
601
+ null,
520
602
  ]
521
603
  }
522
604
  >
523
- <Image
524
- height={100}
525
- source={
526
- Object {
527
- "height": 100,
528
- "uri": "https://picsum.photos/1200/800",
529
- "width": 30,
530
- }
531
- }
532
- style={
533
- Array [
534
- Object {
535
- "borderRadius": 0,
536
- "height": 72,
537
- "width": 72,
538
- },
539
- Array [
540
- Object {
541
- "alignSelf": "center",
542
- "height": 100,
543
- "resizeMode": "contain",
544
- "width": 30,
545
- },
546
- undefined,
547
- ],
548
- ]
549
- }
550
- width={30}
551
- />
552
605
  <View
553
- marginTop="large"
554
- paddingHorizontal="large"
555
606
  style={
556
- Array [
557
- Object {
558
- "marginTop": 24,
559
- "paddingHorizontal": 24,
607
+ [
608
+ {},
609
+ {
610
+ "width": 300,
560
611
  },
561
- Array [
562
- Object {
563
- "width": 750,
564
- },
565
- undefined,
566
- ],
567
612
  ]
568
613
  }
569
- width={750}
570
614
  >
571
- <Text
572
- allowFontScaling={false}
615
+ <View
616
+ paddingHorizontal="medium"
573
617
  style={
574
- Array [
575
- Object {
576
- "color": "#001f23",
577
- "fontFamily": "BeVietnamPro-Regular",
578
- "fontSize": 14,
579
- "letterSpacing": 0.42,
580
- "lineHeight": 22,
618
+ [
619
+ {
620
+ "paddingHorizontal": 16,
581
621
  },
582
- Array [
583
- Object {
584
- "fontFamily": "RebondGrotesque-SemiBold",
585
- "fontSize": 32,
586
- "lineHeight": 44,
587
- "marginBottom": 16,
588
- "marginTop": 8,
622
+ [
623
+ {
624
+ "width": 300,
589
625
  },
590
626
  undefined,
591
627
  ],
592
628
  ]
593
629
  }
594
- themeFontSize="medium"
595
- themeFontWeight="regular"
596
- themeIntent="body"
597
- themeTypeface="neutral"
630
+ width={300}
598
631
  >
599
- Test slide 4
600
- </Text>
632
+ <Text
633
+ allowFontScaling={false}
634
+ style={
635
+ [
636
+ {
637
+ "color": "#001f23",
638
+ "fontFamily": "RebondGrotesque-SemiBold",
639
+ "fontSize": 36,
640
+ "letterSpacing": 1.5,
641
+ "lineHeight": 44,
642
+ },
643
+ [
644
+ {
645
+ "marginBottom": 16,
646
+ },
647
+ undefined,
648
+ ],
649
+ ]
650
+ }
651
+ themeIntent="body"
652
+ themeLevel="h1"
653
+ themeTypeface="playful"
654
+ >
655
+ Test slide 5
656
+ </Text>
657
+ </View>
601
658
  </View>
602
659
  </View>
603
660
  </View>
604
- </View>
605
- </RCTScrollView>
606
- <View
607
- style={
608
- Array [
609
- Object {
610
- "flexDirection": "row",
611
- "justifyContent": "space-between",
612
- "marginBottom": 24,
613
- "paddingHorizontal": 24,
614
- "paddingVertical": 16,
615
- },
616
- undefined,
617
- ]
618
- }
619
- >
661
+ </RCTScrollView>
620
662
  <View
621
- accessibilityState={
622
- Object {
623
- "disabled": false,
624
- }
625
- }
626
- accessible={true}
627
- focusable={true}
628
- onClick={[Function]}
629
- onResponderGrant={[Function]}
630
- onResponderMove={[Function]}
631
- onResponderRelease={[Function]}
632
- onResponderTerminate={[Function]}
633
- onResponderTerminationRequest={[Function]}
634
- onStartShouldSetResponder={[Function]}
635
663
  style={
636
- Array [
637
- Object {
638
- "alignItems": "center",
639
- "alignSelf": "stretch",
640
- "backgroundColor": "#401960",
641
- "borderRadius": 32,
664
+ [
665
+ {
642
666
  "flexDirection": "row",
643
- "justifyContent": "center",
644
- "padding": 16,
667
+ "justifyContent": "space-between",
668
+ "marginBottom": 24,
669
+ "paddingHorizontal": 24,
670
+ "paddingVertical": 16,
645
671
  },
646
672
  undefined,
647
673
  ]
648
674
  }
649
675
  >
650
- <Text
651
- allowFontScaling={false}
652
- disabled={false}
653
- ellipsizeMode="tail"
654
- numberOfLines={1}
676
+ <View
677
+ accessibilityState={
678
+ {
679
+ "disabled": false,
680
+ }
681
+ }
682
+ accessibilityValue={
683
+ {
684
+ "max": undefined,
685
+ "min": undefined,
686
+ "now": undefined,
687
+ "text": undefined,
688
+ }
689
+ }
690
+ accessible={true}
691
+ focusable={true}
692
+ onClick={[Function]}
693
+ onResponderGrant={[Function]}
694
+ onResponderMove={[Function]}
695
+ onResponderRelease={[Function]}
696
+ onResponderTerminate={[Function]}
697
+ onResponderTerminationRequest={[Function]}
698
+ onStartShouldSetResponder={[Function]}
655
699
  style={
656
- Array [
657
- Object {
658
- "color": "#001f23",
659
- "fontFamily": "BeVietnamPro-Regular",
660
- "fontSize": 14,
661
- "letterSpacing": 0.42,
662
- "lineHeight": 22,
700
+ [
701
+ {
702
+ "alignItems": "center",
703
+ "alignSelf": "stretch",
704
+ "backgroundColor": "#401960",
705
+ "borderRadius": 32,
706
+ "flexDirection": "row",
707
+ "height": 60,
708
+ "justifyContent": "center",
709
+ "padding": 16,
663
710
  },
664
- Array [
665
- Object {
666
- "color": "#ffffff",
667
- "flexShrink": 1,
668
- "fontFamily": "BeVietnamPro-SemiBold",
669
- "fontSize": 18,
670
- "textAlign": "center",
671
- },
672
- undefined,
673
- ],
711
+ undefined,
674
712
  ]
675
713
  }
676
- themeFontSize="medium"
677
- themeFontWeight="regular"
678
- themeIntent="body"
679
- themeTypeface="neutral"
680
- themeVariant="filled-primary"
681
714
  >
682
- Skip
683
- </Text>
684
- </View>
685
- <View
686
- style={
687
- Array [
688
- Object {
715
+ <Text
716
+ allowFontScaling={false}
717
+ disabled={false}
718
+ ellipsizeMode="tail"
719
+ numberOfLines={1}
720
+ style={
721
+ [
722
+ {
723
+ "color": "#001f23",
724
+ "fontFamily": "BeVietnamPro-SemiBold",
725
+ "fontSize": 18,
726
+ "letterSpacing": 0.24,
727
+ "lineHeight": 28,
728
+ },
729
+ [
730
+ {
731
+ "color": "#ffffff",
732
+ "flexShrink": 1,
733
+ "textAlign": "center",
734
+ },
735
+ undefined,
736
+ ],
737
+ ]
738
+ }
739
+ themeButtonVariant="filled-primary"
740
+ themeIntent="body"
741
+ themeLevel="h5"
742
+ themeTypeface="neutral"
743
+ >
744
+ Skip
745
+ </Text>
746
+ </View>
747
+ <View
748
+ style={
749
+ [
750
+ {
751
+ "alignItems": "center",
752
+ "flexDirection": "row",
753
+ },
754
+ [
755
+ {
756
+ "paddingVertical": 8,
757
+ },
758
+ undefined,
759
+ ],
760
+ ]
761
+ }
762
+ >
763
+ <View
764
+ accessibilityState={
765
+ {
766
+ "selected": true,
767
+ }
768
+ }
769
+ collapsable={false}
770
+ style={
771
+ {
772
+ "backgroundColor": "#401960",
773
+ "borderRadius": 999,
774
+ "height": 8,
775
+ "marginHorizontal": 8,
776
+ "opacity": 1,
777
+ "width": 24,
778
+ }
779
+ }
780
+ testID="page-control-indicator0"
781
+ />
782
+ <View
783
+ accessibilityState={
784
+ {
785
+ "selected": false,
786
+ }
787
+ }
788
+ collapsable={false}
789
+ style={
790
+ {
791
+ "backgroundColor": "#401960",
792
+ "borderRadius": 999,
793
+ "height": 8,
794
+ "marginHorizontal": 8,
795
+ "opacity": 0.5,
796
+ "width": 8,
797
+ }
798
+ }
799
+ testID="page-control-indicator1"
800
+ />
801
+ <View
802
+ accessibilityState={
803
+ {
804
+ "selected": false,
805
+ }
806
+ }
807
+ collapsable={false}
808
+ style={
809
+ {
810
+ "backgroundColor": "#401960",
811
+ "borderRadius": 999,
812
+ "height": 8,
813
+ "marginHorizontal": 8,
814
+ "opacity": 0.5,
815
+ "width": 8,
816
+ }
817
+ }
818
+ testID="page-control-indicator2"
819
+ />
820
+ <View
821
+ accessibilityState={
822
+ {
823
+ "selected": false,
824
+ }
825
+ }
826
+ collapsable={false}
827
+ style={
828
+ {
829
+ "backgroundColor": "#401960",
830
+ "borderRadius": 999,
831
+ "height": 8,
832
+ "marginHorizontal": 8,
833
+ "opacity": 0.5,
834
+ "width": 8,
835
+ }
836
+ }
837
+ testID="page-control-indicator3"
838
+ />
839
+ <View
840
+ accessibilityState={
841
+ {
842
+ "selected": false,
843
+ }
844
+ }
845
+ collapsable={false}
846
+ style={
847
+ {
848
+ "backgroundColor": "#401960",
849
+ "borderRadius": 999,
850
+ "height": 8,
851
+ "marginHorizontal": 8,
852
+ "opacity": 0.5,
853
+ "width": 8,
854
+ }
855
+ }
856
+ testID="page-control-indicator4"
857
+ />
858
+ </View>
859
+ </View>
860
+ </View>
861
+ </View>
862
+ <View
863
+ pointerEvents="box-none"
864
+ position="bottom"
865
+ style={
866
+ [
867
+ {
868
+ "bottom": 0,
869
+ "elevation": 9999,
870
+ "flexDirection": "column-reverse",
871
+ "left": 0,
872
+ "paddingHorizontal": 24,
873
+ "paddingVertical": 16,
874
+ "position": "absolute",
875
+ "right": 0,
876
+ "top": 0,
877
+ },
878
+ undefined,
879
+ ]
880
+ }
881
+ />
882
+ </View>
883
+ `;
884
+
885
+ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
886
+ <View
887
+ style={
888
+ {
889
+ "flex": 1,
890
+ }
891
+ }
892
+ >
893
+ <View
894
+ testID="carousel"
895
+ >
896
+ <View
897
+ style={
898
+ [
899
+ {
900
+ "backgroundColor": "#ece8ef",
901
+ "bottom": 0,
902
+ "left": 0,
903
+ "position": "absolute",
904
+ "right": 0,
905
+ "top": 0,
906
+ },
907
+ undefined,
908
+ ]
909
+ }
910
+ themeSlideBackground="#ece8ef"
911
+ />
912
+ <View
913
+ style={
914
+ [
915
+ {
916
+ "alignItems": "center",
917
+ "height": 48,
918
+ "justifyContent": "center",
919
+ },
920
+ undefined,
921
+ ]
922
+ }
923
+ >
924
+ <View
925
+ style={
926
+ [
927
+ {
689
928
  "alignItems": "center",
690
929
  "flexDirection": "row",
691
930
  },
692
- Array [
693
- Object {
931
+ [
932
+ {
694
933
  "paddingVertical": 8,
695
934
  },
696
935
  undefined,
@@ -699,9 +938,14 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
699
938
  }
700
939
  >
701
940
  <View
941
+ accessibilityState={
942
+ {
943
+ "selected": true,
944
+ }
945
+ }
702
946
  collapsable={false}
703
947
  style={
704
- Object {
948
+ {
705
949
  "backgroundColor": "#401960",
706
950
  "borderRadius": 999,
707
951
  "height": 8,
@@ -713,9 +957,14 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
713
957
  testID="page-control-indicator0"
714
958
  />
715
959
  <View
960
+ accessibilityState={
961
+ {
962
+ "selected": false,
963
+ }
964
+ }
716
965
  collapsable={false}
717
966
  style={
718
- Object {
967
+ {
719
968
  "backgroundColor": "#401960",
720
969
  "borderRadius": 999,
721
970
  "height": 8,
@@ -727,9 +976,14 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
727
976
  testID="page-control-indicator1"
728
977
  />
729
978
  <View
979
+ accessibilityState={
980
+ {
981
+ "selected": false,
982
+ }
983
+ }
730
984
  collapsable={false}
731
985
  style={
732
- Object {
986
+ {
733
987
  "backgroundColor": "#401960",
734
988
  "borderRadius": 999,
735
989
  "height": 8,
@@ -741,9 +995,14 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
741
995
  testID="page-control-indicator2"
742
996
  />
743
997
  <View
998
+ accessibilityState={
999
+ {
1000
+ "selected": false,
1001
+ }
1002
+ }
744
1003
  collapsable={false}
745
1004
  style={
746
- Object {
1005
+ {
747
1006
  "backgroundColor": "#401960",
748
1007
  "borderRadius": 999,
749
1008
  "height": 8,
@@ -754,1529 +1013,1030 @@ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
754
1013
  }
755
1014
  testID="page-control-indicator3"
756
1015
  />
1016
+ <View
1017
+ accessibilityState={
1018
+ {
1019
+ "selected": false,
1020
+ }
1021
+ }
1022
+ collapsable={false}
1023
+ style={
1024
+ {
1025
+ "backgroundColor": "#401960",
1026
+ "borderRadius": 999,
1027
+ "height": 8,
1028
+ "marginHorizontal": 8,
1029
+ "opacity": 0.5,
1030
+ "width": 8,
1031
+ }
1032
+ }
1033
+ testID="page-control-indicator4"
1034
+ />
757
1035
  </View>
758
1036
  </View>
759
- </View>
760
- </View>
761
- `;
762
-
763
- exports[`Carousel renders correctly with pageControlPosition top 1`] = `
764
- <View
765
- testID="carousel"
766
- >
767
- <View
768
- style={
769
- Array [
770
- Object {
771
- "backgroundColor": "#ece8ef",
772
- "bottom": 0,
773
- "left": 0,
774
- "position": "absolute",
775
- "right": 0,
776
- "top": 0,
777
- },
778
- undefined,
779
- ]
780
- }
781
- themeSlideBackground="#ece8ef"
782
- />
783
- <View
784
- style={
785
- Array [
786
- Object {
787
- "alignItems": "center",
788
- "height": 48,
789
- "justifyContent": "center",
790
- },
791
- undefined,
792
- ]
793
- }
794
- >
795
1037
  <View
796
1038
  style={
797
- Array [
798
- Object {
799
- "alignItems": "center",
800
- "flexDirection": "row",
1039
+ [
1040
+ {
1041
+ "flexGrow": 2,
1042
+ "justifyContent": "space-between",
801
1043
  },
802
- Array [
803
- Object {
804
- "paddingVertical": 8,
805
- },
806
- undefined,
807
- ],
1044
+ undefined,
808
1045
  ]
809
1046
  }
810
1047
  >
811
- <View
812
- collapsable={false}
813
- style={
814
- Object {
815
- "backgroundColor": "#401960",
816
- "borderRadius": 999,
817
- "height": 8,
818
- "marginHorizontal": 8,
819
- "opacity": 1,
820
- "width": 24,
821
- }
822
- }
823
- testID="page-control-indicator0"
824
- />
825
- <View
826
- collapsable={false}
827
- style={
828
- Object {
829
- "backgroundColor": "#401960",
830
- "borderRadius": 999,
831
- "height": 8,
832
- "marginHorizontal": 8,
833
- "opacity": 0.5,
834
- "width": 8,
835
- }
836
- }
837
- testID="page-control-indicator1"
838
- />
839
- <View
840
- collapsable={false}
841
- style={
842
- Object {
843
- "backgroundColor": "#401960",
844
- "borderRadius": 999,
845
- "height": 8,
846
- "marginHorizontal": 8,
847
- "opacity": 0.5,
848
- "width": 8,
849
- }
850
- }
851
- testID="page-control-indicator2"
852
- />
853
- <View
854
- collapsable={false}
855
- style={
856
- Object {
857
- "backgroundColor": "#401960",
858
- "borderRadius": 999,
859
- "height": 8,
860
- "marginHorizontal": 8,
861
- "opacity": 0.5,
862
- "width": 8,
863
- }
864
- }
865
- testID="page-control-indicator3"
866
- />
867
- </View>
868
- </View>
869
- <View
870
- style={
871
- Array [
872
- Object {
873
- "flexGrow": 2,
874
- "justifyContent": "space-between",
875
- },
876
- undefined,
877
- ]
878
- }
879
- >
880
- <RCTScrollView
881
- bounces={false}
882
- data={
883
- Array [
884
- Object {
885
- "background": "#ece8ef",
886
- "body": "Access your Work, Money and Benefits in the palm of your hand.",
887
- "heading": "Welcome to the new Employment Hero app",
888
- "image": 1,
889
- },
890
- Object {
891
- "background": "#ccd2d3",
892
- "body": "Our app now has a new bright clean modern look and feel with the same great features.",
893
- "content": <Image
894
- source={
895
- Object {
896
- "uri": "https://picsum.photos/30",
897
- }
898
- }
899
- />,
900
- "heading": "Same app with a new look!",
901
- "image": "https://picsum.photos/800/1200",
902
- },
903
- Object {
904
- "background": "#ccd2d3",
905
- "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae pulvinar quam, ac facilisis massa. Aliquam facilisis nisi eu justo dignissim, vel tempus justo iaculis.",
906
- "heading": "Easier to get around",
907
- "image": Object {
908
- "height": 100,
909
- "resizeMode": "cover",
910
- "uri": "https://picsum.photos/1200/800",
911
- "width": 30,
1048
+ <RCTScrollView
1049
+ bounces={false}
1050
+ data={
1051
+ [
1052
+ {
1053
+ "background": "#ece8ef",
1054
+ "body": "Access your Work, Money and Benefits in the palm of your hand.",
1055
+ "heading": "Welcome to the new Employment Hero app",
1056
+ "image": 1,
912
1057
  },
913
- },
914
- Object {
915
- "background": "#ccd2d3",
916
- "heading": "Test slide 4",
917
- "image": Object {
918
- "height": 100,
919
- "uri": "https://picsum.photos/1200/800",
920
- "width": 30,
1058
+ {
1059
+ "background": "#ccd2d3",
1060
+ "body": "Our app now has a new bright clean modern look and feel with the same great features.",
1061
+ "content": <Image
1062
+ source={
1063
+ {
1064
+ "uri": "https://picsum.photos/30",
1065
+ }
1066
+ }
1067
+ />,
1068
+ "heading": "Same app with a new look!",
1069
+ "image": "https://picsum.photos/800/1200",
921
1070
  },
922
- },
923
- ]
924
- }
925
- getItem={[Function]}
926
- getItemCount={[Function]}
927
- horizontal={true}
928
- keyExtractor={[Function]}
929
- onContentSizeChange={[Function]}
930
- onLayout={[Function]}
931
- onMomentumScrollBegin={[Function]}
932
- onMomentumScrollEnd={[Function]}
933
- onScroll={[Function]}
934
- onScrollBeginDrag={[Function]}
935
- onScrollEndDrag={[Function]}
936
- onViewableItemsChanged={[Function]}
937
- pagingEnabled={true}
938
- removeClippedSubviews={false}
939
- renderItem={[Function]}
940
- scrollEventThrottle={32}
941
- showsHorizontalScrollIndicator={false}
942
- stickyHeaderIndices={Array []}
943
- viewabilityConfig={
944
- Object {
945
- "viewAreaCoveragePercentThreshold": 50,
946
- }
947
- }
948
- viewabilityConfigCallbackPairs={
949
- Array [
950
- Object {
951
- "onViewableItemsChanged": [Function],
952
- "viewabilityConfig": Object {
953
- "viewAreaCoveragePercentThreshold": 50,
1071
+ {
1072
+ "background": "#ccd2d3",
1073
+ "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae pulvinar quam, ac facilisis massa. Aliquam facilisis nisi eu justo dignissim, vel tempus justo iaculis.",
1074
+ "heading": "Easier to get around",
1075
+ "image": {
1076
+ "height": 100,
1077
+ "resizeMode": "cover",
1078
+ "uri": "https://picsum.photos/1200/800",
1079
+ "width": 30,
1080
+ },
954
1081
  },
955
- },
956
- ]
957
- }
958
- >
959
- <View>
960
- <View
961
- onLayout={[Function]}
962
- style={
963
- Array [
964
- Object {
965
- "flexDirection": "row",
1082
+ {
1083
+ "background": "#ccd2d3",
1084
+ "heading": "Test slide 4",
1085
+ "image": {
1086
+ "height": 100,
1087
+ "uri": "https://picsum.photos/1200/800",
1088
+ "width": 30,
966
1089
  },
967
- null,
968
- ]
1090
+ },
1091
+ {
1092
+ "background": "#ccd2d3",
1093
+ "heading": "Test slide 5",
1094
+ },
1095
+ ]
1096
+ }
1097
+ getItem={[Function]}
1098
+ getItemCount={[Function]}
1099
+ getItemLayout={[Function]}
1100
+ horizontal={true}
1101
+ keyExtractor={[Function]}
1102
+ onContentSizeChange={[Function]}
1103
+ onLayout={[Function]}
1104
+ onMomentumScrollBegin={[Function]}
1105
+ onMomentumScrollEnd={[Function]}
1106
+ onScroll={[Function]}
1107
+ onScrollBeginDrag={[Function]}
1108
+ onScrollEndDrag={[Function]}
1109
+ onViewableItemsChanged={[Function]}
1110
+ pagingEnabled={true}
1111
+ removeClippedSubviews={false}
1112
+ renderItem={[Function]}
1113
+ scrollEventThrottle={32}
1114
+ showsHorizontalScrollIndicator={false}
1115
+ stickyHeaderIndices={[]}
1116
+ testID="carousel_flatlist"
1117
+ viewabilityConfig={
1118
+ {
1119
+ "viewAreaCoveragePercentThreshold": 50,
969
1120
  }
970
- >
1121
+ }
1122
+ viewabilityConfigCallbackPairs={
1123
+ [
1124
+ {
1125
+ "onViewableItemsChanged": [Function],
1126
+ "viewabilityConfig": {
1127
+ "viewAreaCoveragePercentThreshold": 50,
1128
+ },
1129
+ },
1130
+ ]
1131
+ }
1132
+ >
1133
+ <View>
971
1134
  <View
1135
+ onFocusCapture={[Function]}
972
1136
  style={
973
- Array [
974
- Object {},
975
- Object {
976
- "width": 750,
1137
+ [
1138
+ {
1139
+ "flexDirection": "row",
977
1140
  },
1141
+ null,
978
1142
  ]
979
1143
  }
980
1144
  >
981
- <Image
982
- source={1}
983
- style={
984
- Array [
985
- Object {
986
- "borderRadius": 0,
987
- "height": 72,
988
- "width": 72,
989
- },
990
- Array [
991
- Object {
992
- "flex": 1,
993
- "flexGrow": 2,
994
- "resizeMode": "contain",
995
- "width": "100%",
996
- },
997
- undefined,
998
- ],
999
- ]
1000
- }
1001
- />
1002
1145
  <View
1003
- marginTop="large"
1004
- paddingHorizontal="large"
1005
1146
  style={
1006
- Array [
1007
- Object {
1008
- "marginTop": 24,
1009
- "paddingHorizontal": 24,
1147
+ [
1148
+ {},
1149
+ {
1150
+ "width": 300,
1010
1151
  },
1011
- Array [
1012
- Object {
1013
- "width": 750,
1014
- },
1015
- undefined,
1016
- ],
1017
1152
  ]
1018
1153
  }
1019
- width={750}
1020
1154
  >
1021
- <Text
1022
- allowFontScaling={false}
1155
+ <Image
1156
+ source={1}
1023
1157
  style={
1024
- Array [
1025
- Object {
1026
- "color": "#001f23",
1027
- "fontFamily": "BeVietnamPro-Regular",
1028
- "fontSize": 14,
1029
- "letterSpacing": 0.42,
1030
- "lineHeight": 22,
1158
+ [
1159
+ {
1160
+ "borderRadius": 0,
1161
+ "height": 72,
1162
+ "width": 72,
1031
1163
  },
1032
- Array [
1033
- Object {
1034
- "fontFamily": "RebondGrotesque-SemiBold",
1035
- "fontSize": 32,
1036
- "lineHeight": 44,
1164
+ [
1165
+ {
1166
+ "flex": 1,
1167
+ "flexGrow": 2,
1168
+ "resizeMode": "contain",
1169
+ "width": "100%",
1170
+ },
1171
+ {
1037
1172
  "marginBottom": 16,
1038
- "marginTop": 8,
1039
1173
  },
1040
- undefined,
1041
1174
  ],
1042
1175
  ]
1043
1176
  }
1044
- themeFontSize="medium"
1045
- themeFontWeight="regular"
1046
- themeIntent="body"
1047
- themeTypeface="neutral"
1048
- >
1049
- Welcome to the new Employment Hero app
1050
- </Text>
1051
- <Text
1052
- allowFontScaling={false}
1177
+ />
1178
+ <View
1179
+ paddingHorizontal="medium"
1053
1180
  style={
1054
- Array [
1055
- Object {
1056
- "color": "#001f23",
1057
- "fontFamily": "BeVietnamPro-Regular",
1058
- "fontSize": 16,
1059
- "letterSpacing": 0.48,
1060
- "lineHeight": 24,
1181
+ [
1182
+ {
1183
+ "paddingHorizontal": 16,
1061
1184
  },
1062
- undefined,
1185
+ [
1186
+ {
1187
+ "width": 300,
1188
+ },
1189
+ undefined,
1190
+ ],
1063
1191
  ]
1064
1192
  }
1065
- themeFontSize="large"
1066
- themeFontWeight="regular"
1067
- themeIntent="body"
1068
- themeTypeface="neutral"
1193
+ width={300}
1069
1194
  >
1070
- Access your Work, Money and Benefits in the palm of your hand.
1071
- </Text>
1195
+ <Text
1196
+ allowFontScaling={false}
1197
+ style={
1198
+ [
1199
+ {
1200
+ "color": "#001f23",
1201
+ "fontFamily": "RebondGrotesque-SemiBold",
1202
+ "fontSize": 36,
1203
+ "letterSpacing": 1.5,
1204
+ "lineHeight": 44,
1205
+ },
1206
+ [
1207
+ {
1208
+ "marginBottom": 16,
1209
+ },
1210
+ undefined,
1211
+ ],
1212
+ ]
1213
+ }
1214
+ themeIntent="body"
1215
+ themeLevel="h1"
1216
+ themeTypeface="playful"
1217
+ >
1218
+ Welcome to the new Employment Hero app
1219
+ </Text>
1220
+ <Text
1221
+ allowFontScaling={false}
1222
+ style={
1223
+ [
1224
+ {
1225
+ "color": "#001f23",
1226
+ "fontFamily": "BeVietnamPro-Regular",
1227
+ "fontSize": 16,
1228
+ "letterSpacing": 0.48,
1229
+ "lineHeight": 24,
1230
+ },
1231
+ undefined,
1232
+ ]
1233
+ }
1234
+ themeIntent="body"
1235
+ themeTypeface="neutral"
1236
+ themeVariant="regular"
1237
+ >
1238
+ Access your Work, Money and Benefits in the palm of your hand.
1239
+ </Text>
1240
+ </View>
1072
1241
  </View>
1073
1242
  </View>
1074
- </View>
1075
- <View
1076
- onLayout={[Function]}
1077
- style={
1078
- Array [
1079
- Object {
1080
- "flexDirection": "row",
1081
- },
1082
- null,
1083
- ]
1084
- }
1085
- >
1086
1243
  <View
1244
+ onFocusCapture={[Function]}
1087
1245
  style={
1088
- Array [
1089
- Object {},
1090
- Object {
1091
- "width": 750,
1246
+ [
1247
+ {
1248
+ "flexDirection": "row",
1092
1249
  },
1250
+ null,
1093
1251
  ]
1094
1252
  }
1095
1253
  >
1096
- <Image
1097
- source={
1098
- Object {
1099
- "uri": "https://picsum.photos/800/1200",
1100
- }
1101
- }
1102
- style={
1103
- Array [
1104
- Object {
1105
- "borderRadius": 0,
1106
- "height": 72,
1107
- "width": 72,
1108
- },
1109
- Array [
1110
- Object {
1111
- "flex": 1,
1112
- "flexGrow": 2,
1113
- "resizeMode": "contain",
1114
- "width": "100%",
1115
- },
1116
- undefined,
1117
- ],
1118
- ]
1119
- }
1120
- />
1121
1254
  <View
1122
- marginTop="large"
1123
- paddingHorizontal="large"
1124
1255
  style={
1125
- Array [
1126
- Object {
1127
- "marginTop": 24,
1128
- "paddingHorizontal": 24,
1256
+ [
1257
+ {},
1258
+ {
1259
+ "width": 300,
1129
1260
  },
1130
- Array [
1131
- Object {
1132
- "width": 750,
1133
- },
1134
- undefined,
1135
- ],
1136
1261
  ]
1137
1262
  }
1138
- width={750}
1139
1263
  >
1140
1264
  <Image
1141
1265
  source={
1142
- Object {
1143
- "uri": "https://picsum.photos/30",
1266
+ {
1267
+ "uri": "https://picsum.photos/800/1200",
1144
1268
  }
1145
1269
  }
1146
1270
  style={
1147
- Array [
1148
- Object {
1271
+ [
1272
+ {
1149
1273
  "borderRadius": 0,
1150
1274
  "height": 72,
1151
1275
  "width": 72,
1152
1276
  },
1153
- undefined,
1277
+ [
1278
+ {
1279
+ "flex": 1,
1280
+ "flexGrow": 2,
1281
+ "resizeMode": "contain",
1282
+ "width": "100%",
1283
+ },
1284
+ {
1285
+ "marginBottom": 16,
1286
+ },
1287
+ ],
1154
1288
  ]
1155
1289
  }
1156
1290
  />
1157
- <Text
1158
- allowFontScaling={false}
1291
+ <View
1292
+ paddingHorizontal="medium"
1159
1293
  style={
1160
- Array [
1161
- Object {
1162
- "color": "#001f23",
1163
- "fontFamily": "BeVietnamPro-Regular",
1164
- "fontSize": 14,
1165
- "letterSpacing": 0.42,
1166
- "lineHeight": 22,
1294
+ [
1295
+ {
1296
+ "paddingHorizontal": 16,
1167
1297
  },
1168
- Array [
1169
- Object {
1170
- "fontFamily": "RebondGrotesque-SemiBold",
1171
- "fontSize": 32,
1172
- "lineHeight": 44,
1173
- "marginBottom": 16,
1174
- "marginTop": 8,
1298
+ [
1299
+ {
1300
+ "width": 300,
1175
1301
  },
1176
1302
  undefined,
1177
1303
  ],
1178
1304
  ]
1179
1305
  }
1180
- themeFontSize="medium"
1181
- themeFontWeight="regular"
1182
- themeIntent="body"
1183
- themeTypeface="neutral"
1306
+ width={300}
1184
1307
  >
1185
- Same app with a new look!
1186
- </Text>
1187
- <Text
1188
- allowFontScaling={false}
1189
- style={
1190
- Array [
1191
- Object {
1192
- "color": "#001f23",
1193
- "fontFamily": "BeVietnamPro-Regular",
1194
- "fontSize": 16,
1195
- "letterSpacing": 0.48,
1196
- "lineHeight": 24,
1197
- },
1198
- undefined,
1199
- ]
1200
- }
1201
- themeFontSize="large"
1202
- themeFontWeight="regular"
1203
- themeIntent="body"
1204
- themeTypeface="neutral"
1205
- >
1206
- Our app now has a new bright clean modern look and feel with the same great features.
1207
- </Text>
1208
- </View>
1209
- </View>
1210
- </View>
1211
- <View
1212
- onLayout={[Function]}
1213
- style={
1214
- Array [
1215
- Object {
1216
- "flexDirection": "row",
1217
- },
1218
- null,
1219
- ]
1220
- }
1221
- >
1222
- <View
1223
- style={
1224
- Array [
1225
- Object {},
1226
- Object {
1227
- "width": 750,
1228
- },
1229
- ]
1230
- }
1231
- >
1232
- <Image
1233
- height={100}
1234
- resizeMode="cover"
1235
- source={
1236
- Object {
1237
- "height": 100,
1238
- "resizeMode": "cover",
1239
- "uri": "https://picsum.photos/1200/800",
1240
- "width": 30,
1241
- }
1242
- }
1243
- style={
1244
- Array [
1245
- Object {
1246
- "borderRadius": 0,
1247
- "height": 72,
1248
- "width": 72,
1249
- },
1250
- Array [
1251
- Object {
1252
- "alignSelf": "center",
1253
- "height": 100,
1254
- "resizeMode": "cover",
1255
- "width": 30,
1256
- },
1257
- undefined,
1258
- ],
1259
- ]
1260
- }
1261
- width={30}
1262
- />
1263
- <View
1264
- marginTop="large"
1265
- paddingHorizontal="large"
1266
- style={
1267
- Array [
1268
- Object {
1269
- "marginTop": 24,
1270
- "paddingHorizontal": 24,
1271
- },
1272
- Array [
1273
- Object {
1274
- "width": 750,
1275
- },
1276
- undefined,
1277
- ],
1278
- ]
1279
- }
1280
- width={750}
1281
- >
1282
- <Text
1283
- allowFontScaling={false}
1284
- style={
1285
- Array [
1286
- Object {
1287
- "color": "#001f23",
1288
- "fontFamily": "BeVietnamPro-Regular",
1289
- "fontSize": 14,
1290
- "letterSpacing": 0.42,
1291
- "lineHeight": 22,
1292
- },
1293
- Array [
1294
- Object {
1308
+ <Image
1309
+ source={
1310
+ {
1311
+ "uri": "https://picsum.photos/30",
1312
+ }
1313
+ }
1314
+ style={
1315
+ [
1316
+ {
1317
+ "borderRadius": 0,
1318
+ "height": 72,
1319
+ "width": 72,
1320
+ },
1321
+ undefined,
1322
+ ]
1323
+ }
1324
+ />
1325
+ <Text
1326
+ allowFontScaling={false}
1327
+ style={
1328
+ [
1329
+ {
1330
+ "color": "#001f23",
1295
1331
  "fontFamily": "RebondGrotesque-SemiBold",
1296
- "fontSize": 32,
1332
+ "fontSize": 36,
1333
+ "letterSpacing": 1.5,
1297
1334
  "lineHeight": 44,
1298
- "marginBottom": 16,
1299
- "marginTop": 8,
1335
+ },
1336
+ [
1337
+ {
1338
+ "marginBottom": 16,
1339
+ },
1340
+ undefined,
1341
+ ],
1342
+ ]
1343
+ }
1344
+ themeIntent="body"
1345
+ themeLevel="h1"
1346
+ themeTypeface="playful"
1347
+ >
1348
+ Same app with a new look!
1349
+ </Text>
1350
+ <Text
1351
+ allowFontScaling={false}
1352
+ style={
1353
+ [
1354
+ {
1355
+ "color": "#001f23",
1356
+ "fontFamily": "BeVietnamPro-Regular",
1357
+ "fontSize": 16,
1358
+ "letterSpacing": 0.48,
1359
+ "lineHeight": 24,
1300
1360
  },
1301
1361
  undefined,
1302
- ],
1303
- ]
1304
- }
1305
- themeFontSize="medium"
1306
- themeFontWeight="regular"
1307
- themeIntent="body"
1308
- themeTypeface="neutral"
1309
- >
1310
- Easier to get around
1311
- </Text>
1312
- <Text
1313
- allowFontScaling={false}
1314
- style={
1315
- Array [
1316
- Object {
1317
- "color": "#001f23",
1318
- "fontFamily": "BeVietnamPro-Regular",
1319
- "fontSize": 16,
1320
- "letterSpacing": 0.48,
1321
- "lineHeight": 24,
1322
- },
1323
- undefined,
1324
- ]
1325
- }
1326
- themeFontSize="large"
1327
- themeFontWeight="regular"
1328
- themeIntent="body"
1329
- themeTypeface="neutral"
1330
- >
1331
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae pulvinar quam, ac facilisis massa. Aliquam facilisis nisi eu justo dignissim, vel tempus justo iaculis.
1332
- </Text>
1362
+ ]
1363
+ }
1364
+ themeIntent="body"
1365
+ themeTypeface="neutral"
1366
+ themeVariant="regular"
1367
+ >
1368
+ Our app now has a new bright clean modern look and feel with the same great features.
1369
+ </Text>
1370
+ </View>
1333
1371
  </View>
1334
1372
  </View>
1335
- </View>
1336
- <View
1337
- onLayout={[Function]}
1338
- style={
1339
- Array [
1340
- Object {
1341
- "flexDirection": "row",
1342
- },
1343
- null,
1344
- ]
1345
- }
1346
- >
1347
1373
  <View
1374
+ onFocusCapture={[Function]}
1348
1375
  style={
1349
- Array [
1350
- Object {},
1351
- Object {
1352
- "width": 750,
1376
+ [
1377
+ {
1378
+ "flexDirection": "row",
1353
1379
  },
1380
+ null,
1354
1381
  ]
1355
1382
  }
1356
1383
  >
1357
- <Image
1358
- height={100}
1359
- source={
1360
- Object {
1361
- "height": 100,
1362
- "uri": "https://picsum.photos/1200/800",
1363
- "width": 30,
1364
- }
1365
- }
1366
- style={
1367
- Array [
1368
- Object {
1369
- "borderRadius": 0,
1370
- "height": 72,
1371
- "width": 72,
1372
- },
1373
- Array [
1374
- Object {
1375
- "alignSelf": "center",
1376
- "height": 100,
1377
- "resizeMode": "contain",
1378
- "width": 30,
1379
- },
1380
- undefined,
1381
- ],
1382
- ]
1383
- }
1384
- width={30}
1385
- />
1386
1384
  <View
1387
- marginTop="large"
1388
- paddingHorizontal="large"
1389
1385
  style={
1390
- Array [
1391
- Object {
1392
- "marginTop": 24,
1393
- "paddingHorizontal": 24,
1386
+ [
1387
+ {},
1388
+ {
1389
+ "width": 300,
1394
1390
  },
1395
- Array [
1396
- Object {
1397
- "width": 750,
1398
- },
1399
- undefined,
1400
- ],
1401
1391
  ]
1402
1392
  }
1403
- width={750}
1404
1393
  >
1405
- <Text
1406
- allowFontScaling={false}
1394
+ <Image
1395
+ source={
1396
+ {
1397
+ "height": 100,
1398
+ "resizeMode": "cover",
1399
+ "uri": "https://picsum.photos/1200/800",
1400
+ "width": 30,
1401
+ }
1402
+ }
1407
1403
  style={
1408
- Array [
1409
- Object {
1410
- "color": "#001f23",
1411
- "fontFamily": "BeVietnamPro-Regular",
1412
- "fontSize": 14,
1413
- "letterSpacing": 0.42,
1414
- "lineHeight": 22,
1404
+ [
1405
+ {
1406
+ "borderRadius": 0,
1407
+ "height": 72,
1408
+ "width": 72,
1415
1409
  },
1416
- Array [
1417
- Object {
1418
- "fontFamily": "RebondGrotesque-SemiBold",
1419
- "fontSize": 32,
1420
- "lineHeight": 44,
1410
+ [
1411
+ {
1412
+ "alignSelf": "center",
1413
+ "height": 100,
1414
+ "resizeMode": "cover",
1415
+ "width": 30,
1416
+ },
1417
+ {
1421
1418
  "marginBottom": 16,
1422
- "marginTop": 8,
1423
1419
  },
1424
- undefined,
1425
1420
  ],
1426
1421
  ]
1427
1422
  }
1428
- themeFontSize="medium"
1429
- themeFontWeight="regular"
1430
- themeIntent="body"
1431
- themeTypeface="neutral"
1432
- >
1433
- Test slide 4
1434
- </Text>
1435
- </View>
1436
- </View>
1437
- </View>
1438
- </View>
1439
- </RCTScrollView>
1440
- <View
1441
- style={
1442
- Array [
1443
- Object {
1444
- "flexDirection": "row",
1445
- "justifyContent": "space-between",
1446
- "marginBottom": 24,
1447
- "paddingHorizontal": 24,
1448
- "paddingVertical": 16,
1449
- },
1450
- undefined,
1451
- ]
1452
- }
1453
- >
1454
- <View
1455
- accessibilityState={
1456
- Object {
1457
- "disabled": false,
1458
- }
1459
- }
1460
- accessible={true}
1461
- focusable={true}
1462
- onClick={[Function]}
1463
- onResponderGrant={[Function]}
1464
- onResponderMove={[Function]}
1465
- onResponderRelease={[Function]}
1466
- onResponderTerminate={[Function]}
1467
- onResponderTerminationRequest={[Function]}
1468
- onStartShouldSetResponder={[Function]}
1469
- style={
1470
- Array [
1471
- Object {
1472
- "alignItems": "center",
1473
- "alignSelf": "stretch",
1474
- "backgroundColor": "#401960",
1475
- "borderRadius": 32,
1476
- "flexDirection": "row",
1477
- "justifyContent": "center",
1478
- "padding": 16,
1479
- },
1480
- undefined,
1481
- ]
1482
- }
1483
- >
1484
- <Text
1485
- allowFontScaling={false}
1486
- disabled={false}
1487
- ellipsizeMode="tail"
1488
- numberOfLines={1}
1489
- style={
1490
- Array [
1491
- Object {
1492
- "color": "#001f23",
1493
- "fontFamily": "BeVietnamPro-Regular",
1494
- "fontSize": 14,
1495
- "letterSpacing": 0.42,
1496
- "lineHeight": 22,
1497
- },
1498
- Array [
1499
- Object {
1500
- "color": "#ffffff",
1501
- "flexShrink": 1,
1502
- "fontFamily": "BeVietnamPro-SemiBold",
1503
- "fontSize": 18,
1504
- "textAlign": "center",
1505
- },
1506
- undefined,
1507
- ],
1508
- ]
1509
- }
1510
- themeFontSize="medium"
1511
- themeFontWeight="regular"
1512
- themeIntent="body"
1513
- themeTypeface="neutral"
1514
- themeVariant="filled-primary"
1515
- >
1516
- Skip
1517
- </Text>
1518
- </View>
1519
- </View>
1520
- </View>
1521
- </View>
1522
- `;
1523
-
1524
- exports[`Carousel should call skip call back when press skip 1`] = `
1525
- <View
1526
- testID="carousel"
1527
- >
1528
- <View
1529
- style={
1530
- Array [
1531
- Object {
1532
- "backgroundColor": "#ece8ef",
1533
- "bottom": 0,
1534
- "left": 0,
1535
- "position": "absolute",
1536
- "right": 0,
1537
- "top": 0,
1538
- },
1539
- undefined,
1540
- ]
1541
- }
1542
- themeSlideBackground="#ece8ef"
1543
- />
1544
- <View
1545
- style={
1546
- Array [
1547
- Object {
1548
- "alignItems": "center",
1549
- "height": 48,
1550
- "justifyContent": "center",
1551
- },
1552
- undefined,
1553
- ]
1554
- }
1555
- />
1556
- <View
1557
- style={
1558
- Array [
1559
- Object {
1560
- "flexGrow": 2,
1561
- "justifyContent": "space-between",
1562
- },
1563
- undefined,
1564
- ]
1565
- }
1566
- >
1567
- <RCTScrollView
1568
- bounces={false}
1569
- data={
1570
- Array [
1571
- Object {
1572
- "background": "#ece8ef",
1573
- "body": "Access your Work, Money and Benefits in the palm of your hand.",
1574
- "heading": "Welcome to the new Employment Hero app",
1575
- "image": 1,
1576
- },
1577
- Object {
1578
- "background": "#ccd2d3",
1579
- "body": "Our app now has a new bright clean modern look and feel with the same great features.",
1580
- "content": <Image
1581
- source={
1582
- Object {
1583
- "uri": "https://picsum.photos/30",
1584
- }
1585
- }
1586
- />,
1587
- "heading": "Same app with a new look!",
1588
- "image": "https://picsum.photos/800/1200",
1589
- },
1590
- Object {
1591
- "background": "#ccd2d3",
1592
- "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae pulvinar quam, ac facilisis massa. Aliquam facilisis nisi eu justo dignissim, vel tempus justo iaculis.",
1593
- "heading": "Easier to get around",
1594
- "image": Object {
1595
- "height": 100,
1596
- "resizeMode": "cover",
1597
- "uri": "https://picsum.photos/1200/800",
1598
- "width": 30,
1599
- },
1600
- },
1601
- Object {
1602
- "background": "#ccd2d3",
1603
- "heading": "Test slide 4",
1604
- "image": Object {
1605
- "height": 100,
1606
- "uri": "https://picsum.photos/1200/800",
1607
- "width": 30,
1608
- },
1609
- },
1610
- ]
1611
- }
1612
- getItem={[Function]}
1613
- getItemCount={[Function]}
1614
- horizontal={true}
1615
- keyExtractor={[Function]}
1616
- onContentSizeChange={[Function]}
1617
- onLayout={[Function]}
1618
- onMomentumScrollBegin={[Function]}
1619
- onMomentumScrollEnd={[Function]}
1620
- onScroll={[Function]}
1621
- onScrollBeginDrag={[Function]}
1622
- onScrollEndDrag={[Function]}
1623
- onViewableItemsChanged={[Function]}
1624
- pagingEnabled={true}
1625
- removeClippedSubviews={false}
1626
- renderItem={[Function]}
1627
- scrollEventThrottle={32}
1628
- showsHorizontalScrollIndicator={false}
1629
- stickyHeaderIndices={Array []}
1630
- viewabilityConfig={
1631
- Object {
1632
- "viewAreaCoveragePercentThreshold": 50,
1633
- }
1634
- }
1635
- viewabilityConfigCallbackPairs={
1636
- Array [
1637
- Object {
1638
- "onViewableItemsChanged": [Function],
1639
- "viewabilityConfig": Object {
1640
- "viewAreaCoveragePercentThreshold": 50,
1641
- },
1642
- },
1643
- ]
1644
- }
1645
- >
1646
- <View>
1647
- <View
1648
- onLayout={[Function]}
1649
- style={
1650
- Array [
1651
- Object {
1652
- "flexDirection": "row",
1653
- },
1654
- null,
1655
- ]
1656
- }
1657
- >
1658
- <View
1659
- style={
1660
- Array [
1661
- Object {},
1662
- Object {
1663
- "width": 750,
1664
- },
1665
- ]
1666
- }
1667
- >
1668
- <Image
1669
- source={1}
1670
- style={
1671
- Array [
1672
- Object {
1673
- "borderRadius": 0,
1674
- "height": 72,
1675
- "width": 72,
1676
- },
1677
- Array [
1678
- Object {
1679
- "flex": 1,
1680
- "flexGrow": 2,
1681
- "resizeMode": "contain",
1682
- "width": "100%",
1683
- },
1684
- undefined,
1685
- ],
1686
- ]
1687
- }
1688
- />
1689
- <View
1690
- marginTop="large"
1691
- paddingHorizontal="large"
1692
- style={
1693
- Array [
1694
- Object {
1695
- "marginTop": 24,
1696
- "paddingHorizontal": 24,
1697
- },
1698
- Array [
1699
- Object {
1700
- "width": 750,
1701
- },
1702
- undefined,
1703
- ],
1704
- ]
1705
- }
1706
- width={750}
1707
- >
1708
- <Text
1709
- allowFontScaling={false}
1423
+ themeHeight={100}
1424
+ themeResizeMode="cover"
1425
+ themeWidth={30}
1426
+ />
1427
+ <View
1428
+ paddingHorizontal="medium"
1710
1429
  style={
1711
- Array [
1712
- Object {
1713
- "color": "#001f23",
1714
- "fontFamily": "BeVietnamPro-Regular",
1715
- "fontSize": 14,
1716
- "letterSpacing": 0.42,
1717
- "lineHeight": 22,
1430
+ [
1431
+ {
1432
+ "paddingHorizontal": 16,
1718
1433
  },
1719
- Array [
1720
- Object {
1721
- "fontFamily": "RebondGrotesque-SemiBold",
1722
- "fontSize": 32,
1723
- "lineHeight": 44,
1724
- "marginBottom": 16,
1725
- "marginTop": 8,
1434
+ [
1435
+ {
1436
+ "width": 300,
1726
1437
  },
1727
1438
  undefined,
1728
1439
  ],
1729
1440
  ]
1730
1441
  }
1731
- themeFontSize="medium"
1732
- themeFontWeight="regular"
1733
- themeIntent="body"
1734
- themeTypeface="neutral"
1735
- >
1736
- Welcome to the new Employment Hero app
1737
- </Text>
1738
- <Text
1739
- allowFontScaling={false}
1740
- style={
1741
- Array [
1742
- Object {
1743
- "color": "#001f23",
1744
- "fontFamily": "BeVietnamPro-Regular",
1745
- "fontSize": 16,
1746
- "letterSpacing": 0.48,
1747
- "lineHeight": 24,
1748
- },
1749
- undefined,
1750
- ]
1751
- }
1752
- themeFontSize="large"
1753
- themeFontWeight="regular"
1754
- themeIntent="body"
1755
- themeTypeface="neutral"
1442
+ width={300}
1756
1443
  >
1757
- Access your Work, Money and Benefits in the palm of your hand.
1758
- </Text>
1444
+ <Text
1445
+ allowFontScaling={false}
1446
+ style={
1447
+ [
1448
+ {
1449
+ "color": "#001f23",
1450
+ "fontFamily": "RebondGrotesque-SemiBold",
1451
+ "fontSize": 36,
1452
+ "letterSpacing": 1.5,
1453
+ "lineHeight": 44,
1454
+ },
1455
+ [
1456
+ {
1457
+ "marginBottom": 16,
1458
+ },
1459
+ undefined,
1460
+ ],
1461
+ ]
1462
+ }
1463
+ themeIntent="body"
1464
+ themeLevel="h1"
1465
+ themeTypeface="playful"
1466
+ >
1467
+ Easier to get around
1468
+ </Text>
1469
+ <Text
1470
+ allowFontScaling={false}
1471
+ style={
1472
+ [
1473
+ {
1474
+ "color": "#001f23",
1475
+ "fontFamily": "BeVietnamPro-Regular",
1476
+ "fontSize": 16,
1477
+ "letterSpacing": 0.48,
1478
+ "lineHeight": 24,
1479
+ },
1480
+ undefined,
1481
+ ]
1482
+ }
1483
+ themeIntent="body"
1484
+ themeTypeface="neutral"
1485
+ themeVariant="regular"
1486
+ >
1487
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae pulvinar quam, ac facilisis massa. Aliquam facilisis nisi eu justo dignissim, vel tempus justo iaculis.
1488
+ </Text>
1489
+ </View>
1759
1490
  </View>
1760
1491
  </View>
1761
- </View>
1762
- <View
1763
- onLayout={[Function]}
1764
- style={
1765
- Array [
1766
- Object {
1767
- "flexDirection": "row",
1768
- },
1769
- null,
1770
- ]
1771
- }
1772
- >
1773
1492
  <View
1493
+ onFocusCapture={[Function]}
1774
1494
  style={
1775
- Array [
1776
- Object {},
1777
- Object {
1778
- "width": 750,
1495
+ [
1496
+ {
1497
+ "flexDirection": "row",
1779
1498
  },
1499
+ null,
1780
1500
  ]
1781
1501
  }
1782
1502
  >
1783
- <Image
1784
- source={
1785
- Object {
1786
- "uri": "https://picsum.photos/800/1200",
1787
- }
1788
- }
1789
- style={
1790
- Array [
1791
- Object {
1792
- "borderRadius": 0,
1793
- "height": 72,
1794
- "width": 72,
1795
- },
1796
- Array [
1797
- Object {
1798
- "flex": 1,
1799
- "flexGrow": 2,
1800
- "resizeMode": "contain",
1801
- "width": "100%",
1802
- },
1803
- undefined,
1804
- ],
1805
- ]
1806
- }
1807
- />
1808
1503
  <View
1809
- marginTop="large"
1810
- paddingHorizontal="large"
1811
1504
  style={
1812
- Array [
1813
- Object {
1814
- "marginTop": 24,
1815
- "paddingHorizontal": 24,
1505
+ [
1506
+ {},
1507
+ {
1508
+ "width": 300,
1816
1509
  },
1817
- Array [
1818
- Object {
1819
- "width": 750,
1820
- },
1821
- undefined,
1822
- ],
1823
1510
  ]
1824
1511
  }
1825
- width={750}
1826
1512
  >
1827
1513
  <Image
1828
1514
  source={
1829
- Object {
1830
- "uri": "https://picsum.photos/30",
1515
+ {
1516
+ "height": 100,
1517
+ "uri": "https://picsum.photos/1200/800",
1518
+ "width": 30,
1831
1519
  }
1832
1520
  }
1833
1521
  style={
1834
- Array [
1835
- Object {
1522
+ [
1523
+ {
1836
1524
  "borderRadius": 0,
1837
1525
  "height": 72,
1838
1526
  "width": 72,
1839
1527
  },
1840
- undefined,
1528
+ [
1529
+ {
1530
+ "alignSelf": "center",
1531
+ "height": 100,
1532
+ "resizeMode": "contain",
1533
+ "width": 30,
1534
+ },
1535
+ {
1536
+ "marginBottom": 16,
1537
+ },
1538
+ ],
1841
1539
  ]
1842
1540
  }
1541
+ themeHeight={100}
1542
+ themeWidth={30}
1843
1543
  />
1844
- <Text
1845
- allowFontScaling={false}
1544
+ <View
1545
+ paddingHorizontal="medium"
1846
1546
  style={
1847
- Array [
1848
- Object {
1849
- "color": "#001f23",
1850
- "fontFamily": "BeVietnamPro-Regular",
1851
- "fontSize": 14,
1852
- "letterSpacing": 0.42,
1853
- "lineHeight": 22,
1547
+ [
1548
+ {
1549
+ "paddingHorizontal": 16,
1854
1550
  },
1855
- Array [
1856
- Object {
1857
- "fontFamily": "RebondGrotesque-SemiBold",
1858
- "fontSize": 32,
1859
- "lineHeight": 44,
1860
- "marginBottom": 16,
1861
- "marginTop": 8,
1551
+ [
1552
+ {
1553
+ "width": 300,
1862
1554
  },
1863
1555
  undefined,
1864
1556
  ],
1865
1557
  ]
1866
1558
  }
1867
- themeFontSize="medium"
1868
- themeFontWeight="regular"
1869
- themeIntent="body"
1870
- themeTypeface="neutral"
1559
+ width={300}
1871
1560
  >
1872
- Same app with a new look!
1873
- </Text>
1874
- <Text
1875
- allowFontScaling={false}
1876
- style={
1877
- Array [
1878
- Object {
1879
- "color": "#001f23",
1880
- "fontFamily": "BeVietnamPro-Regular",
1881
- "fontSize": 16,
1882
- "letterSpacing": 0.48,
1883
- "lineHeight": 24,
1884
- },
1885
- undefined,
1886
- ]
1887
- }
1888
- themeFontSize="large"
1889
- themeFontWeight="regular"
1890
- themeIntent="body"
1891
- themeTypeface="neutral"
1892
- >
1893
- Our app now has a new bright clean modern look and feel with the same great features.
1894
- </Text>
1561
+ <Text
1562
+ allowFontScaling={false}
1563
+ style={
1564
+ [
1565
+ {
1566
+ "color": "#001f23",
1567
+ "fontFamily": "RebondGrotesque-SemiBold",
1568
+ "fontSize": 36,
1569
+ "letterSpacing": 1.5,
1570
+ "lineHeight": 44,
1571
+ },
1572
+ [
1573
+ {
1574
+ "marginBottom": 16,
1575
+ },
1576
+ undefined,
1577
+ ],
1578
+ ]
1579
+ }
1580
+ themeIntent="body"
1581
+ themeLevel="h1"
1582
+ themeTypeface="playful"
1583
+ >
1584
+ Test slide 4
1585
+ </Text>
1586
+ </View>
1895
1587
  </View>
1896
1588
  </View>
1897
- </View>
1898
- <View
1899
- onLayout={[Function]}
1900
- style={
1901
- Array [
1902
- Object {
1903
- "flexDirection": "row",
1904
- },
1905
- null,
1906
- ]
1907
- }
1908
- >
1909
1589
  <View
1590
+ onFocusCapture={[Function]}
1910
1591
  style={
1911
- Array [
1912
- Object {},
1913
- Object {
1914
- "width": 750,
1592
+ [
1593
+ {
1594
+ "flexDirection": "row",
1915
1595
  },
1596
+ null,
1916
1597
  ]
1917
1598
  }
1918
1599
  >
1919
- <Image
1920
- height={100}
1921
- resizeMode="cover"
1922
- source={
1923
- Object {
1924
- "height": 100,
1925
- "resizeMode": "cover",
1926
- "uri": "https://picsum.photos/1200/800",
1927
- "width": 30,
1928
- }
1929
- }
1930
- style={
1931
- Array [
1932
- Object {
1933
- "borderRadius": 0,
1934
- "height": 72,
1935
- "width": 72,
1936
- },
1937
- Array [
1938
- Object {
1939
- "alignSelf": "center",
1940
- "height": 100,
1941
- "resizeMode": "cover",
1942
- "width": 30,
1943
- },
1944
- undefined,
1945
- ],
1946
- ]
1947
- }
1948
- width={30}
1949
- />
1950
1600
  <View
1951
- marginTop="large"
1952
- paddingHorizontal="large"
1953
1601
  style={
1954
- Array [
1955
- Object {
1956
- "marginTop": 24,
1957
- "paddingHorizontal": 24,
1602
+ [
1603
+ {},
1604
+ {
1605
+ "width": 300,
1958
1606
  },
1959
- Array [
1960
- Object {
1961
- "width": 750,
1962
- },
1963
- undefined,
1964
- ],
1965
1607
  ]
1966
1608
  }
1967
- width={750}
1968
1609
  >
1969
- <Text
1970
- allowFontScaling={false}
1610
+ <View
1611
+ paddingHorizontal="medium"
1971
1612
  style={
1972
- Array [
1973
- Object {
1974
- "color": "#001f23",
1975
- "fontFamily": "BeVietnamPro-Regular",
1976
- "fontSize": 14,
1977
- "letterSpacing": 0.42,
1978
- "lineHeight": 22,
1613
+ [
1614
+ {
1615
+ "paddingHorizontal": 16,
1979
1616
  },
1980
- Array [
1981
- Object {
1982
- "fontFamily": "RebondGrotesque-SemiBold",
1983
- "fontSize": 32,
1984
- "lineHeight": 44,
1985
- "marginBottom": 16,
1986
- "marginTop": 8,
1617
+ [
1618
+ {
1619
+ "width": 300,
1987
1620
  },
1988
1621
  undefined,
1989
1622
  ],
1990
1623
  ]
1991
1624
  }
1992
- themeFontSize="medium"
1993
- themeFontWeight="regular"
1994
- themeIntent="body"
1995
- themeTypeface="neutral"
1996
- >
1997
- Easier to get around
1998
- </Text>
1999
- <Text
2000
- allowFontScaling={false}
2001
- style={
2002
- Array [
2003
- Object {
2004
- "color": "#001f23",
2005
- "fontFamily": "BeVietnamPro-Regular",
2006
- "fontSize": 16,
2007
- "letterSpacing": 0.48,
2008
- "lineHeight": 24,
2009
- },
2010
- undefined,
2011
- ]
2012
- }
2013
- themeFontSize="large"
2014
- themeFontWeight="regular"
2015
- themeIntent="body"
2016
- themeTypeface="neutral"
1625
+ width={300}
2017
1626
  >
2018
- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae pulvinar quam, ac facilisis massa. Aliquam facilisis nisi eu justo dignissim, vel tempus justo iaculis.
2019
- </Text>
1627
+ <Text
1628
+ allowFontScaling={false}
1629
+ style={
1630
+ [
1631
+ {
1632
+ "color": "#001f23",
1633
+ "fontFamily": "RebondGrotesque-SemiBold",
1634
+ "fontSize": 36,
1635
+ "letterSpacing": 1.5,
1636
+ "lineHeight": 44,
1637
+ },
1638
+ [
1639
+ {
1640
+ "marginBottom": 16,
1641
+ },
1642
+ undefined,
1643
+ ],
1644
+ ]
1645
+ }
1646
+ themeIntent="body"
1647
+ themeLevel="h1"
1648
+ themeTypeface="playful"
1649
+ >
1650
+ Test slide 5
1651
+ </Text>
1652
+ </View>
2020
1653
  </View>
2021
1654
  </View>
2022
1655
  </View>
1656
+ </RCTScrollView>
1657
+ <View
1658
+ style={
1659
+ [
1660
+ {
1661
+ "flexDirection": "row",
1662
+ "justifyContent": "space-between",
1663
+ "marginBottom": 24,
1664
+ "paddingHorizontal": 24,
1665
+ "paddingVertical": 16,
1666
+ },
1667
+ undefined,
1668
+ ]
1669
+ }
1670
+ >
2023
1671
  <View
2024
- onLayout={[Function]}
1672
+ accessibilityState={
1673
+ {
1674
+ "disabled": false,
1675
+ }
1676
+ }
1677
+ accessibilityValue={
1678
+ {
1679
+ "max": undefined,
1680
+ "min": undefined,
1681
+ "now": undefined,
1682
+ "text": undefined,
1683
+ }
1684
+ }
1685
+ accessible={true}
1686
+ focusable={true}
1687
+ onClick={[Function]}
1688
+ onResponderGrant={[Function]}
1689
+ onResponderMove={[Function]}
1690
+ onResponderRelease={[Function]}
1691
+ onResponderTerminate={[Function]}
1692
+ onResponderTerminationRequest={[Function]}
1693
+ onStartShouldSetResponder={[Function]}
2025
1694
  style={
2026
- Array [
2027
- Object {
1695
+ [
1696
+ {
1697
+ "alignItems": "center",
1698
+ "alignSelf": "stretch",
1699
+ "backgroundColor": "#401960",
1700
+ "borderRadius": 32,
2028
1701
  "flexDirection": "row",
1702
+ "height": 60,
1703
+ "justifyContent": "center",
1704
+ "padding": 16,
2029
1705
  },
2030
- null,
1706
+ undefined,
2031
1707
  ]
2032
1708
  }
2033
1709
  >
1710
+ <Text
1711
+ allowFontScaling={false}
1712
+ disabled={false}
1713
+ ellipsizeMode="tail"
1714
+ numberOfLines={1}
1715
+ style={
1716
+ [
1717
+ {
1718
+ "color": "#001f23",
1719
+ "fontFamily": "BeVietnamPro-SemiBold",
1720
+ "fontSize": 18,
1721
+ "letterSpacing": 0.24,
1722
+ "lineHeight": 28,
1723
+ },
1724
+ [
1725
+ {
1726
+ "color": "#ffffff",
1727
+ "flexShrink": 1,
1728
+ "textAlign": "center",
1729
+ },
1730
+ undefined,
1731
+ ],
1732
+ ]
1733
+ }
1734
+ themeButtonVariant="filled-primary"
1735
+ themeIntent="body"
1736
+ themeLevel="h5"
1737
+ themeTypeface="neutral"
1738
+ >
1739
+ Skip
1740
+ </Text>
1741
+ </View>
1742
+ </View>
1743
+ </View>
1744
+ </View>
1745
+ <View
1746
+ pointerEvents="box-none"
1747
+ position="bottom"
1748
+ style={
1749
+ [
1750
+ {
1751
+ "bottom": 0,
1752
+ "elevation": 9999,
1753
+ "flexDirection": "column-reverse",
1754
+ "left": 0,
1755
+ "paddingHorizontal": 24,
1756
+ "paddingVertical": 16,
1757
+ "position": "absolute",
1758
+ "right": 0,
1759
+ "top": 0,
1760
+ },
1761
+ undefined,
1762
+ ]
1763
+ }
1764
+ />
1765
+ </View>
1766
+ `;
1767
+
1768
+ exports[`Carousel should render correctly when image is undefined 1`] = `
1769
+ <View
1770
+ style={
1771
+ {
1772
+ "flex": 1,
1773
+ }
1774
+ }
1775
+ >
1776
+ <View
1777
+ testID="carousel"
1778
+ >
1779
+ <View
1780
+ style={
1781
+ [
1782
+ {
1783
+ "backgroundColor": "#ccd2d3",
1784
+ "bottom": 0,
1785
+ "left": 0,
1786
+ "position": "absolute",
1787
+ "right": 0,
1788
+ "top": 0,
1789
+ },
1790
+ undefined,
1791
+ ]
1792
+ }
1793
+ themeSlideBackground="#ccd2d3"
1794
+ />
1795
+ <View
1796
+ style={
1797
+ [
1798
+ {
1799
+ "alignItems": "center",
1800
+ "height": 48,
1801
+ "justifyContent": "center",
1802
+ },
1803
+ undefined,
1804
+ ]
1805
+ }
1806
+ />
1807
+ <View
1808
+ style={
1809
+ [
1810
+ {
1811
+ "flexGrow": 2,
1812
+ "justifyContent": "space-between",
1813
+ },
1814
+ undefined,
1815
+ ]
1816
+ }
1817
+ >
1818
+ <RCTScrollView
1819
+ bounces={false}
1820
+ data={
1821
+ [
1822
+ {
1823
+ "background": "#ccd2d3",
1824
+ "heading": "Test slide 5",
1825
+ },
1826
+ ]
1827
+ }
1828
+ getItem={[Function]}
1829
+ getItemCount={[Function]}
1830
+ getItemLayout={[Function]}
1831
+ horizontal={true}
1832
+ keyExtractor={[Function]}
1833
+ onContentSizeChange={[Function]}
1834
+ onLayout={[Function]}
1835
+ onMomentumScrollBegin={[Function]}
1836
+ onMomentumScrollEnd={[Function]}
1837
+ onScroll={[Function]}
1838
+ onScrollBeginDrag={[Function]}
1839
+ onScrollEndDrag={[Function]}
1840
+ onViewableItemsChanged={[Function]}
1841
+ pagingEnabled={true}
1842
+ removeClippedSubviews={false}
1843
+ renderItem={[Function]}
1844
+ scrollEventThrottle={32}
1845
+ showsHorizontalScrollIndicator={false}
1846
+ stickyHeaderIndices={[]}
1847
+ testID="carousel_flatlist"
1848
+ viewabilityConfig={
1849
+ {
1850
+ "viewAreaCoveragePercentThreshold": 50,
1851
+ }
1852
+ }
1853
+ viewabilityConfigCallbackPairs={
1854
+ [
1855
+ {
1856
+ "onViewableItemsChanged": [Function],
1857
+ "viewabilityConfig": {
1858
+ "viewAreaCoveragePercentThreshold": 50,
1859
+ },
1860
+ },
1861
+ ]
1862
+ }
1863
+ >
1864
+ <View>
2034
1865
  <View
1866
+ onFocusCapture={[Function]}
2035
1867
  style={
2036
- Array [
2037
- Object {},
2038
- Object {
2039
- "width": 750,
1868
+ [
1869
+ {
1870
+ "flexDirection": "row",
2040
1871
  },
1872
+ null,
2041
1873
  ]
2042
1874
  }
2043
1875
  >
2044
- <Image
2045
- height={100}
2046
- source={
2047
- Object {
2048
- "height": 100,
2049
- "uri": "https://picsum.photos/1200/800",
2050
- "width": 30,
2051
- }
2052
- }
2053
- style={
2054
- Array [
2055
- Object {
2056
- "borderRadius": 0,
2057
- "height": 72,
2058
- "width": 72,
2059
- },
2060
- Array [
2061
- Object {
2062
- "alignSelf": "center",
2063
- "height": 100,
2064
- "resizeMode": "contain",
2065
- "width": 30,
2066
- },
2067
- undefined,
2068
- ],
2069
- ]
2070
- }
2071
- width={30}
2072
- />
2073
1876
  <View
2074
- marginTop="large"
2075
- paddingHorizontal="large"
2076
1877
  style={
2077
- Array [
2078
- Object {
2079
- "marginTop": 24,
2080
- "paddingHorizontal": 24,
1878
+ [
1879
+ {},
1880
+ {
1881
+ "width": 0,
2081
1882
  },
2082
- Array [
2083
- Object {
2084
- "width": 750,
2085
- },
2086
- undefined,
2087
- ],
2088
1883
  ]
2089
1884
  }
2090
- width={750}
2091
1885
  >
2092
- <Text
2093
- allowFontScaling={false}
1886
+ <View
1887
+ paddingHorizontal="medium"
2094
1888
  style={
2095
- Array [
2096
- Object {
2097
- "color": "#001f23",
2098
- "fontFamily": "BeVietnamPro-Regular",
2099
- "fontSize": 14,
2100
- "letterSpacing": 0.42,
2101
- "lineHeight": 22,
1889
+ [
1890
+ {
1891
+ "paddingHorizontal": 16,
2102
1892
  },
2103
- Array [
2104
- Object {
2105
- "fontFamily": "RebondGrotesque-SemiBold",
2106
- "fontSize": 32,
2107
- "lineHeight": 44,
2108
- "marginBottom": 16,
2109
- "marginTop": 8,
1893
+ [
1894
+ {
1895
+ "width": 0,
2110
1896
  },
2111
1897
  undefined,
2112
1898
  ],
2113
1899
  ]
2114
1900
  }
2115
- themeFontSize="medium"
2116
- themeFontWeight="regular"
2117
- themeIntent="body"
2118
- themeTypeface="neutral"
1901
+ width={0}
2119
1902
  >
2120
- Test slide 4
2121
- </Text>
1903
+ <Text
1904
+ allowFontScaling={false}
1905
+ style={
1906
+ [
1907
+ {
1908
+ "color": "#001f23",
1909
+ "fontFamily": "RebondGrotesque-SemiBold",
1910
+ "fontSize": 36,
1911
+ "letterSpacing": 1.5,
1912
+ "lineHeight": 44,
1913
+ },
1914
+ [
1915
+ {
1916
+ "marginBottom": 16,
1917
+ },
1918
+ undefined,
1919
+ ],
1920
+ ]
1921
+ }
1922
+ themeIntent="body"
1923
+ themeLevel="h1"
1924
+ themeTypeface="playful"
1925
+ >
1926
+ Test slide 5
1927
+ </Text>
1928
+ </View>
2122
1929
  </View>
2123
1930
  </View>
2124
1931
  </View>
2125
- </View>
2126
- </RCTScrollView>
2127
- <View
2128
- style={
2129
- Array [
2130
- Object {
2131
- "flexDirection": "row",
2132
- "justifyContent": "space-between",
2133
- "marginBottom": 24,
2134
- "paddingHorizontal": 24,
2135
- "paddingVertical": 16,
2136
- },
2137
- undefined,
2138
- ]
2139
- }
2140
- >
1932
+ </RCTScrollView>
2141
1933
  <View
2142
- accessibilityState={
2143
- Object {
2144
- "disabled": false,
2145
- }
2146
- }
2147
- accessible={true}
2148
- focusable={true}
2149
- onClick={[Function]}
2150
- onResponderGrant={[Function]}
2151
- onResponderMove={[Function]}
2152
- onResponderRelease={[Function]}
2153
- onResponderTerminate={[Function]}
2154
- onResponderTerminationRequest={[Function]}
2155
- onStartShouldSetResponder={[Function]}
2156
1934
  style={
2157
- Array [
2158
- Object {
2159
- "alignItems": "center",
2160
- "alignSelf": "stretch",
2161
- "backgroundColor": "#401960",
2162
- "borderRadius": 32,
1935
+ [
1936
+ {
2163
1937
  "flexDirection": "row",
2164
- "justifyContent": "center",
2165
- "padding": 16,
1938
+ "justifyContent": "space-between",
1939
+ "marginBottom": 24,
1940
+ "paddingHorizontal": 24,
1941
+ "paddingVertical": 16,
2166
1942
  },
2167
1943
  undefined,
2168
1944
  ]
2169
1945
  }
2170
- >
2171
- <Text
2172
- allowFontScaling={false}
2173
- disabled={false}
2174
- ellipsizeMode="tail"
2175
- numberOfLines={1}
2176
- style={
2177
- Array [
2178
- Object {
2179
- "color": "#001f23",
2180
- "fontFamily": "BeVietnamPro-Regular",
2181
- "fontSize": 14,
2182
- "letterSpacing": 0.42,
2183
- "lineHeight": 22,
2184
- },
2185
- Array [
2186
- Object {
2187
- "color": "#ffffff",
2188
- "flexShrink": 1,
2189
- "fontFamily": "BeVietnamPro-SemiBold",
2190
- "fontSize": 18,
2191
- "textAlign": "center",
2192
- },
2193
- undefined,
2194
- ],
2195
- ]
2196
- }
2197
- themeFontSize="medium"
2198
- themeFontWeight="regular"
2199
- themeIntent="body"
2200
- themeTypeface="neutral"
2201
- themeVariant="filled-primary"
2202
- >
2203
- Skip
2204
- </Text>
2205
- </View>
2206
- <View
2207
- style={
2208
- Array [
2209
- Object {
2210
- "alignItems": "center",
2211
- "flexDirection": "row",
2212
- },
2213
- Array [
2214
- Object {
2215
- "paddingVertical": 8,
2216
- },
2217
- undefined,
2218
- ],
2219
- ]
2220
- }
2221
1946
  >
2222
1947
  <View
2223
- collapsable={false}
2224
- style={
2225
- Object {
2226
- "backgroundColor": "#401960",
2227
- "borderRadius": 999,
2228
- "height": 8,
2229
- "marginHorizontal": 8,
2230
- "opacity": 1,
2231
- "width": 24,
1948
+ accessibilityState={
1949
+ {
1950
+ "disabled": false,
2232
1951
  }
2233
1952
  }
2234
- testID="page-control-indicator0"
2235
- />
2236
- <View
2237
- collapsable={false}
2238
- style={
2239
- Object {
2240
- "backgroundColor": "#401960",
2241
- "borderRadius": 999,
2242
- "height": 8,
2243
- "marginHorizontal": 8,
2244
- "opacity": 0.5,
2245
- "width": 8,
1953
+ accessibilityValue={
1954
+ {
1955
+ "max": undefined,
1956
+ "min": undefined,
1957
+ "now": undefined,
1958
+ "text": undefined,
2246
1959
  }
2247
1960
  }
2248
- testID="page-control-indicator1"
2249
- />
2250
- <View
2251
- collapsable={false}
1961
+ accessible={true}
1962
+ focusable={true}
1963
+ onClick={[Function]}
1964
+ onResponderGrant={[Function]}
1965
+ onResponderMove={[Function]}
1966
+ onResponderRelease={[Function]}
1967
+ onResponderTerminate={[Function]}
1968
+ onResponderTerminationRequest={[Function]}
1969
+ onStartShouldSetResponder={[Function]}
2252
1970
  style={
2253
- Object {
2254
- "backgroundColor": "#401960",
2255
- "borderRadius": 999,
2256
- "height": 8,
2257
- "marginHorizontal": 8,
2258
- "opacity": 0.5,
2259
- "width": 8,
2260
- }
1971
+ [
1972
+ {
1973
+ "alignItems": "center",
1974
+ "alignSelf": "stretch",
1975
+ "backgroundColor": "#401960",
1976
+ "borderRadius": 32,
1977
+ "flexDirection": "row",
1978
+ "height": 60,
1979
+ "justifyContent": "center",
1980
+ "padding": 16,
1981
+ },
1982
+ undefined,
1983
+ ]
2261
1984
  }
2262
- testID="page-control-indicator2"
2263
- />
2264
- <View
2265
- collapsable={false}
2266
- style={
2267
- Object {
2268
- "backgroundColor": "#401960",
2269
- "borderRadius": 999,
2270
- "height": 8,
2271
- "marginHorizontal": 8,
2272
- "opacity": 0.5,
2273
- "width": 8,
1985
+ >
1986
+ <Text
1987
+ allowFontScaling={false}
1988
+ disabled={false}
1989
+ ellipsizeMode="tail"
1990
+ numberOfLines={1}
1991
+ style={
1992
+ [
1993
+ {
1994
+ "color": "#001f23",
1995
+ "fontFamily": "BeVietnamPro-SemiBold",
1996
+ "fontSize": 18,
1997
+ "letterSpacing": 0.24,
1998
+ "lineHeight": 28,
1999
+ },
2000
+ [
2001
+ {
2002
+ "color": "#ffffff",
2003
+ "flexShrink": 1,
2004
+ "textAlign": "center",
2005
+ },
2006
+ undefined,
2007
+ ],
2008
+ ]
2274
2009
  }
2275
- }
2276
- testID="page-control-indicator3"
2277
- />
2010
+ themeButtonVariant="filled-primary"
2011
+ themeIntent="body"
2012
+ themeLevel="h5"
2013
+ themeTypeface="neutral"
2014
+ >
2015
+ Skip
2016
+ </Text>
2017
+ </View>
2278
2018
  </View>
2279
2019
  </View>
2280
2020
  </View>
2021
+ <View
2022
+ pointerEvents="box-none"
2023
+ position="bottom"
2024
+ style={
2025
+ [
2026
+ {
2027
+ "bottom": 0,
2028
+ "elevation": 9999,
2029
+ "flexDirection": "column-reverse",
2030
+ "left": 0,
2031
+ "paddingHorizontal": 24,
2032
+ "paddingVertical": 16,
2033
+ "position": "absolute",
2034
+ "right": 0,
2035
+ "top": 0,
2036
+ },
2037
+ undefined,
2038
+ ]
2039
+ }
2040
+ />
2281
2041
  </View>
2282
2042
  `;