@hero-design/rn 8.44.0-alpha.0 → 8.45.0-test.0

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