@hero-design/rn 8.20.0 → 8.22.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/.turbo/turbo-build:types.log +2 -0
  3. package/.turbo/turbo-lint.log +146 -0
  4. package/.turbo/turbo-publish:npm.log +9 -0
  5. package/.turbo/turbo-test.log +451 -0
  6. package/.turbo/turbo-type-check.log +2 -0
  7. package/es/index.js +236 -64
  8. package/lib/index.js +236 -64
  9. package/package.json +5 -5
  10. package/src/components/Button/Button.tsx +1 -1
  11. package/src/components/Button/StyledButton.tsx +0 -3
  12. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +0 -10
  13. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +0 -16
  14. package/src/components/Calendar/index.tsx +7 -2
  15. package/src/components/Carousel/StyledCarousel.tsx +12 -5
  16. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +793 -14
  17. package/src/components/Carousel/__tests__/index.spec.tsx +41 -31
  18. package/src/components/Carousel/index.tsx +39 -7
  19. package/src/components/DatePicker/DatePickerAndroid.tsx +1 -1
  20. package/src/components/DatePicker/DatePickerCalendar.tsx +110 -0
  21. package/src/components/DatePicker/DatePickerIOS.tsx +1 -1
  22. package/src/components/DatePicker/__tests__/DatePicker.spec.tsx +27 -8
  23. package/src/components/DatePicker/__tests__/DatePickerCalendar.spec.tsx +61 -0
  24. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +670 -0
  25. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +220 -0
  26. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +0 -1
  27. package/src/components/DatePicker/index.tsx +5 -1
  28. package/src/components/DatePicker/types.ts +7 -1
  29. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
  30. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +0 -1
  31. package/src/components/TimePicker/types.ts +1 -1
  32. package/src/components/Toast/Toast.tsx +3 -1
  33. package/src/components/Toast/types.ts +4 -0
  34. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +2 -3
  35. package/src/theme/components/button.ts +0 -5
  36. package/src/theme/components/carousel.ts +3 -0
  37. package/types/components/Accordion/AccordionItem.d.ts +0 -0
  38. package/types/components/Accordion/StyledAccordion.d.ts +0 -0
  39. package/types/components/Accordion/index.d.ts +0 -0
  40. package/types/components/Alert/StyledAlert.d.ts +0 -0
  41. package/types/components/Alert/index.d.ts +0 -0
  42. package/types/components/Attachment/StyledAttachment.d.ts +0 -0
  43. package/types/components/Attachment/index.d.ts +0 -0
  44. package/types/components/Avatar/Avatar.d.ts +0 -0
  45. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
  46. package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
  47. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  48. package/types/components/Avatar/StyledAvatar.d.ts +0 -0
  49. package/types/components/Avatar/index.d.ts +0 -0
  50. package/types/components/Badge/Status.d.ts +0 -0
  51. package/types/components/Badge/StyledBadge.d.ts +0 -0
  52. package/types/components/Badge/index.d.ts +0 -0
  53. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
  54. package/types/components/BottomNavigation/index.d.ts +0 -0
  55. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -0
  56. package/types/components/BottomSheet/Footer.d.ts +0 -0
  57. package/types/components/BottomSheet/Header.d.ts +0 -0
  58. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  59. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
  60. package/types/components/BottomSheet/index.d.ts +0 -0
  61. package/types/components/Box/StyledBox.d.ts +0 -0
  62. package/types/components/Box/config.d.ts +0 -0
  63. package/types/components/Box/index.d.ts +0 -0
  64. package/types/components/Box/types.d.ts +0 -0
  65. package/types/components/Button/Button.d.ts +0 -0
  66. package/types/components/Button/IconButton.d.ts +0 -0
  67. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  68. package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
  69. package/types/components/Button/StyledButton.d.ts +0 -0
  70. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
  71. package/types/components/Button/UtilityButton/index.d.ts +0 -0
  72. package/types/components/Button/index.d.ts +0 -0
  73. package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
  74. package/types/components/Calendar/StyledCalendar.d.ts +0 -0
  75. package/types/components/Calendar/helpers.d.ts +0 -0
  76. package/types/components/Calendar/index.d.ts +6 -2
  77. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
  78. package/types/components/Card/DataCard/index.d.ts +0 -0
  79. package/types/components/Card/StyledCard.d.ts +0 -0
  80. package/types/components/Card/index.d.ts +0 -0
  81. package/types/components/Carousel/CardCarousel.d.ts +0 -0
  82. package/types/components/Carousel/CarouselItem.d.ts +0 -0
  83. package/types/components/Carousel/StyledCardCarousel.d.ts +0 -0
  84. package/types/components/Carousel/StyledCarousel.d.ts +7 -1
  85. package/types/components/Carousel/contants.d.ts +0 -0
  86. package/types/components/Carousel/index.d.ts +7 -1
  87. package/types/components/Carousel/types.d.ts +0 -0
  88. package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
  89. package/types/components/Checkbox/index.d.ts +0 -0
  90. package/types/components/Collapse/StyledCollapse.d.ts +0 -0
  91. package/types/components/Collapse/index.d.ts +0 -0
  92. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
  93. package/types/components/ContentNavigator/index.d.ts +0 -0
  94. package/types/components/DatePicker/DatePickerAndroid.d.ts +1 -1
  95. package/types/components/DatePicker/DatePickerCalendar.d.ts +3 -0
  96. package/types/components/DatePicker/DatePickerIOS.d.ts +1 -1
  97. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
  98. package/types/components/DatePicker/index.d.ts +1 -1
  99. package/types/components/DatePicker/types.d.ts +7 -1
  100. package/types/components/Divider/StyledDivider.d.ts +0 -0
  101. package/types/components/Divider/index.d.ts +0 -0
  102. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  103. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  104. package/types/components/Drawer/StyledDrawer.d.ts +0 -0
  105. package/types/components/Drawer/index.d.ts +0 -0
  106. package/types/components/Empty/StyledEmpty.d.ts +0 -0
  107. package/types/components/Empty/index.d.ts +0 -0
  108. package/types/components/Error/StyledError.d.ts +0 -0
  109. package/types/components/Error/index.d.ts +0 -0
  110. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  111. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
  112. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
  113. package/types/components/FAB/ActionGroup/index.d.ts +0 -0
  114. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
  115. package/types/components/FAB/FAB.d.ts +0 -0
  116. package/types/components/FAB/StyledFAB.d.ts +0 -0
  117. package/types/components/FAB/index.d.ts +0 -0
  118. package/types/components/Icon/AnimatedIcon.d.ts +0 -0
  119. package/types/components/Icon/HeroIcon/index.d.ts +0 -0
  120. package/types/components/Icon/IconList.d.ts +0 -0
  121. package/types/components/Icon/index.d.ts +0 -0
  122. package/types/components/Icon/utils.d.ts +0 -0
  123. package/types/components/Image/index.d.ts +0 -0
  124. package/types/components/List/BasicListItem.d.ts +0 -0
  125. package/types/components/List/ListItem.d.ts +0 -0
  126. package/types/components/List/StyledBasicListItem.d.ts +0 -0
  127. package/types/components/List/StyledListItem.d.ts +0 -0
  128. package/types/components/List/index.d.ts +0 -0
  129. package/types/components/PageControl/StyledPageControl.d.ts +0 -0
  130. package/types/components/PageControl/index.d.ts +0 -0
  131. package/types/components/PinInput/PinCell.d.ts +0 -0
  132. package/types/components/PinInput/StyledPinInput.d.ts +0 -0
  133. package/types/components/PinInput/index.d.ts +0 -0
  134. package/types/components/Progress/ProgressBar.d.ts +0 -0
  135. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  136. package/types/components/Progress/StyledProgressBar.d.ts +0 -0
  137. package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
  138. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  139. package/types/components/Progress/constants.d.ts +0 -0
  140. package/types/components/Progress/index.d.ts +0 -0
  141. package/types/components/Progress/types.d.ts +0 -0
  142. package/types/components/Radio/Radio.d.ts +0 -0
  143. package/types/components/Radio/RadioGroup.d.ts +0 -0
  144. package/types/components/Radio/StyledRadio.d.ts +0 -0
  145. package/types/components/Radio/index.d.ts +0 -0
  146. package/types/components/Radio/types.d.ts +0 -0
  147. package/types/components/RefreshControl/index.d.ts +0 -0
  148. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
  149. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
  150. package/types/components/RichTextEditor/MentionList.d.ts +0 -0
  151. package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
  152. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
  153. package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
  154. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  155. package/types/components/RichTextEditor/constants.d.ts +0 -0
  156. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  157. package/types/components/RichTextEditor/index.d.ts +0 -0
  158. package/types/components/RichTextEditor/types.d.ts +0 -0
  159. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  160. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  161. package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
  162. package/types/components/SectionHeading/index.d.ts +0 -0
  163. package/types/components/Select/BaseOptionList.d.ts +0 -0
  164. package/types/components/Select/Footer.d.ts +0 -0
  165. package/types/components/Select/MultiSelect/Option.d.ts +0 -0
  166. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
  167. package/types/components/Select/MultiSelect/index.d.ts +0 -0
  168. package/types/components/Select/SingleSelect/Option.d.ts +0 -0
  169. package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
  170. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
  171. package/types/components/Select/SingleSelect/index.d.ts +0 -0
  172. package/types/components/Select/StyledSelect.d.ts +0 -0
  173. package/types/components/Select/helpers.d.ts +0 -0
  174. package/types/components/Select/index.d.ts +0 -0
  175. package/types/components/Select/types.d.ts +0 -0
  176. package/types/components/Skeleton/StyledSkeleton.d.ts +0 -0
  177. package/types/components/Skeleton/index.d.ts +0 -0
  178. package/types/components/Slider/index.d.ts +0 -0
  179. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
  180. package/types/components/Spinner/StyledSpinner.d.ts +0 -0
  181. package/types/components/Spinner/index.d.ts +0 -0
  182. package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
  183. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  184. package/types/components/Swipeable/index.d.ts +0 -0
  185. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
  186. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
  187. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  188. package/types/components/Switch/StyledSwitch.d.ts +0 -0
  189. package/types/components/Switch/index.d.ts +0 -0
  190. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  191. package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
  192. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  193. package/types/components/Tabs/StyledTabs.d.ts +0 -0
  194. package/types/components/Tabs/TabWithBadge.d.ts +0 -0
  195. package/types/components/Tabs/index.d.ts +0 -0
  196. package/types/components/Tabs/utils.d.ts +0 -0
  197. package/types/components/Tag/StyledTag.d.ts +0 -0
  198. package/types/components/Tag/index.d.ts +0 -0
  199. package/types/components/TextInput/StyledTextInput.d.ts +0 -0
  200. package/types/components/TextInput/index.d.ts +0 -0
  201. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
  202. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  203. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  204. package/types/components/TimePicker/index.d.ts +0 -0
  205. package/types/components/TimePicker/types.d.ts +1 -1
  206. package/types/components/Toast/StyledToast.d.ts +0 -0
  207. package/types/components/Toast/Toast.d.ts +1 -1
  208. package/types/components/Toast/ToastContainer.d.ts +0 -0
  209. package/types/components/Toast/ToastContext.d.ts +0 -0
  210. package/types/components/Toast/ToastProvider.d.ts +0 -0
  211. package/types/components/Toast/index.d.ts +0 -0
  212. package/types/components/Toast/types.d.ts +4 -0
  213. package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
  214. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  215. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  216. package/types/components/Toolbar/index.d.ts +0 -0
  217. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  218. package/types/components/Typography/Text/index.d.ts +0 -0
  219. package/types/components/Typography/index.d.ts +0 -0
  220. package/types/index.d.ts +0 -0
  221. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  222. package/types/theme/ThemeProvider.d.ts +0 -0
  223. package/types/theme/ThemeSwitcher.d.ts +0 -0
  224. package/types/theme/components/accordion.d.ts +0 -0
  225. package/types/theme/components/alert.d.ts +0 -0
  226. package/types/theme/components/attachment.d.ts +0 -0
  227. package/types/theme/components/avatar.d.ts +0 -0
  228. package/types/theme/components/badge.d.ts +0 -0
  229. package/types/theme/components/bottomNavigation.d.ts +0 -0
  230. package/types/theme/components/bottomSheet.d.ts +0 -0
  231. package/types/theme/components/button.d.ts +0 -3
  232. package/types/theme/components/calendar.d.ts +0 -0
  233. package/types/theme/components/card.d.ts +0 -0
  234. package/types/theme/components/cardCarousel.d.ts +0 -0
  235. package/types/theme/components/carousel.d.ts +2 -0
  236. package/types/theme/components/checkbox.d.ts +0 -0
  237. package/types/theme/components/contentNavigator.d.ts +0 -0
  238. package/types/theme/components/datePicker.d.ts +0 -0
  239. package/types/theme/components/divider.d.ts +0 -0
  240. package/types/theme/components/drawer.d.ts +0 -0
  241. package/types/theme/components/empty.d.ts +0 -0
  242. package/types/theme/components/error.d.ts +0 -0
  243. package/types/theme/components/fab.d.ts +0 -0
  244. package/types/theme/components/icon.d.ts +0 -0
  245. package/types/theme/components/image.d.ts +0 -0
  246. package/types/theme/components/list.d.ts +0 -0
  247. package/types/theme/components/pageControl.d.ts +0 -0
  248. package/types/theme/components/pinInput.d.ts +0 -0
  249. package/types/theme/components/progress.d.ts +0 -0
  250. package/types/theme/components/radio.d.ts +0 -0
  251. package/types/theme/components/refreshControl.d.ts +0 -0
  252. package/types/theme/components/richTextEditor.d.ts +0 -0
  253. package/types/theme/components/sectionHeading.d.ts +0 -0
  254. package/types/theme/components/select.d.ts +0 -0
  255. package/types/theme/components/skeleton.d.ts +0 -0
  256. package/types/theme/components/slider.d.ts +0 -0
  257. package/types/theme/components/spinner.d.ts +0 -0
  258. package/types/theme/components/swipeable.d.ts +0 -0
  259. package/types/theme/components/switch.d.ts +0 -0
  260. package/types/theme/components/tabs.d.ts +0 -0
  261. package/types/theme/components/tag.d.ts +0 -0
  262. package/types/theme/components/textInput.d.ts +0 -0
  263. package/types/theme/components/timePicker.d.ts +0 -0
  264. package/types/theme/components/toast.d.ts +0 -0
  265. package/types/theme/components/toolbar.d.ts +0 -0
  266. package/types/theme/components/typography.d.ts +0 -0
  267. package/types/theme/getTheme.d.ts +0 -0
  268. package/types/theme/global/borders.d.ts +0 -0
  269. package/types/theme/global/colors/eBens.d.ts +0 -0
  270. package/types/theme/global/colors/global.d.ts +0 -0
  271. package/types/theme/global/colors/globalDark.d.ts +0 -0
  272. package/types/theme/global/colors/jobs.d.ts +0 -0
  273. package/types/theme/global/colors/swag.d.ts +0 -0
  274. package/types/theme/global/colors/swagDark.d.ts +0 -0
  275. package/types/theme/global/colors/types.d.ts +0 -0
  276. package/types/theme/global/colors/wallet.d.ts +0 -0
  277. package/types/theme/global/colors/work.d.ts +0 -0
  278. package/types/theme/global/index.d.ts +0 -0
  279. package/types/theme/global/scale.d.ts +0 -0
  280. package/types/theme/global/sizes.d.ts +0 -0
  281. package/types/theme/global/space.d.ts +0 -0
  282. package/types/theme/global/typography.d.ts +0 -0
  283. package/types/theme/index.d.ts +0 -0
  284. package/types/types.d.ts +0 -0
  285. package/types/utils/functions.d.ts +0 -0
  286. package/types/utils/helpers.d.ts +0 -0
  287. package/types/utils/hooks.d.ts +0 -0
  288. package/types/utils/scale.d.ts +0 -0
@@ -1,6 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Carousel renders basic carousel 1`] = `
3
+ exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
4
4
  <View
5
5
  testID="carousel"
6
6
  >
@@ -20,6 +20,18 @@ exports[`Carousel renders basic carousel 1`] = `
20
20
  }
21
21
  themeSlideBackground="#ece8ef"
22
22
  />
23
+ <View
24
+ style={
25
+ Array [
26
+ Object {
27
+ "alignItems": "center",
28
+ "height": 48,
29
+ "justifyContent": "center",
30
+ },
31
+ undefined,
32
+ ]
33
+ }
34
+ />
23
35
  <View
24
36
  style={
25
37
  Array [
@@ -144,6 +156,7 @@ exports[`Carousel renders basic carousel 1`] = `
144
156
  Array [
145
157
  Object {
146
158
  "flex": 1,
159
+ "flexGrow": 2,
147
160
  "resizeMode": "contain",
148
161
  "width": "100%",
149
162
  },
@@ -163,7 +176,6 @@ exports[`Carousel renders basic carousel 1`] = `
163
176
  },
164
177
  Array [
165
178
  Object {
166
- "minHeight": 250,
167
179
  "width": 750,
168
180
  },
169
181
  undefined,
@@ -263,6 +275,7 @@ exports[`Carousel renders basic carousel 1`] = `
263
275
  Array [
264
276
  Object {
265
277
  "flex": 1,
278
+ "flexGrow": 2,
266
279
  "resizeMode": "contain",
267
280
  "width": "100%",
268
281
  },
@@ -282,7 +295,6 @@ exports[`Carousel renders basic carousel 1`] = `
282
295
  },
283
296
  Array [
284
297
  Object {
285
- "minHeight": 250,
286
298
  "width": 750,
287
299
  },
288
300
  undefined,
@@ -425,7 +437,6 @@ exports[`Carousel renders basic carousel 1`] = `
425
437
  },
426
438
  Array [
427
439
  Object {
428
- "minHeight": 250,
429
440
  "width": 750,
430
441
  },
431
442
  undefined,
@@ -549,7 +560,6 @@ exports[`Carousel renders basic carousel 1`] = `
549
560
  },
550
561
  Array [
551
562
  Object {
552
- "minHeight": 250,
553
563
  "width": 750,
554
564
  },
555
565
  undefined,
@@ -657,7 +667,6 @@ exports[`Carousel renders basic carousel 1`] = `
657
667
  "flexShrink": 1,
658
668
  "fontFamily": "BeVietnamPro-SemiBold",
659
669
  "fontSize": 18,
660
- "lineHeight": 24,
661
670
  "textAlign": "center",
662
671
  },
663
672
  undefined,
@@ -682,7 +691,7 @@ exports[`Carousel renders basic carousel 1`] = `
682
691
  },
683
692
  Array [
684
693
  Object {
685
- "marginStart": "auto",
694
+ "paddingVertical": 8,
686
695
  },
687
696
  undefined,
688
697
  ],
@@ -751,7 +760,7 @@ exports[`Carousel renders basic carousel 1`] = `
751
760
  </View>
752
761
  `;
753
762
 
754
- exports[`Carousel should call skip call back when press skip 1`] = `
763
+ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
755
764
  <View
756
765
  testID="carousel"
757
766
  >
@@ -771,6 +780,779 @@ exports[`Carousel should call skip call back when press skip 1`] = `
771
780
  }
772
781
  themeSlideBackground="#ece8ef"
773
782
  />
783
+ <View
784
+ style={
785
+ Array [
786
+ Object {
787
+ "alignItems": "center",
788
+ "height": 48,
789
+ "justifyContent": "center",
790
+ },
791
+ undefined,
792
+ ]
793
+ }
794
+ >
795
+ <View
796
+ style={
797
+ Array [
798
+ Object {
799
+ "alignItems": "center",
800
+ "flexDirection": "row",
801
+ },
802
+ Array [
803
+ Object {
804
+ "paddingVertical": 8,
805
+ },
806
+ undefined,
807
+ ],
808
+ ]
809
+ }
810
+ >
811
+ <View
812
+ collapsable={false}
813
+ style={
814
+ Object {
815
+ "backgroundColor": "#401960",
816
+ "borderRadius": 999,
817
+ "height": 8,
818
+ "marginHorizontal": 8,
819
+ "opacity": 1,
820
+ "width": 24,
821
+ }
822
+ }
823
+ testID="page-control-indicator0"
824
+ />
825
+ <View
826
+ collapsable={false}
827
+ style={
828
+ Object {
829
+ "backgroundColor": "#401960",
830
+ "borderRadius": 999,
831
+ "height": 8,
832
+ "marginHorizontal": 8,
833
+ "opacity": 0.5,
834
+ "width": 8,
835
+ }
836
+ }
837
+ testID="page-control-indicator1"
838
+ />
839
+ <View
840
+ collapsable={false}
841
+ style={
842
+ Object {
843
+ "backgroundColor": "#401960",
844
+ "borderRadius": 999,
845
+ "height": 8,
846
+ "marginHorizontal": 8,
847
+ "opacity": 0.5,
848
+ "width": 8,
849
+ }
850
+ }
851
+ testID="page-control-indicator2"
852
+ />
853
+ <View
854
+ collapsable={false}
855
+ style={
856
+ Object {
857
+ "backgroundColor": "#401960",
858
+ "borderRadius": 999,
859
+ "height": 8,
860
+ "marginHorizontal": 8,
861
+ "opacity": 0.5,
862
+ "width": 8,
863
+ }
864
+ }
865
+ testID="page-control-indicator3"
866
+ />
867
+ </View>
868
+ </View>
869
+ <View
870
+ style={
871
+ Array [
872
+ Object {
873
+ "flexGrow": 2,
874
+ "justifyContent": "space-between",
875
+ },
876
+ undefined,
877
+ ]
878
+ }
879
+ >
880
+ <RCTScrollView
881
+ bounces={false}
882
+ data={
883
+ Array [
884
+ Object {
885
+ "background": "#ece8ef",
886
+ "body": "Access your Work, Money and Benefits in the palm of your hand.",
887
+ "heading": "Welcome to the new Employment Hero app",
888
+ "image": 1,
889
+ },
890
+ Object {
891
+ "background": "#ccd2d3",
892
+ "body": "Our app now has a new bright clean modern look and feel with the same great features.",
893
+ "content": <Image
894
+ source={
895
+ Object {
896
+ "uri": "https://picsum.photos/30",
897
+ }
898
+ }
899
+ />,
900
+ "heading": "Same app with a new look!",
901
+ "image": "https://picsum.photos/800/1200",
902
+ },
903
+ Object {
904
+ "background": "#ccd2d3",
905
+ "body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae pulvinar quam, ac facilisis massa. Aliquam facilisis nisi eu justo dignissim, vel tempus justo iaculis.",
906
+ "heading": "Easier to get around",
907
+ "image": Object {
908
+ "height": 100,
909
+ "resizeMode": "cover",
910
+ "uri": "https://picsum.photos/1200/800",
911
+ "width": 30,
912
+ },
913
+ },
914
+ Object {
915
+ "background": "#ccd2d3",
916
+ "heading": "Test slide 4",
917
+ "image": Object {
918
+ "height": 100,
919
+ "uri": "https://picsum.photos/1200/800",
920
+ "width": 30,
921
+ },
922
+ },
923
+ ]
924
+ }
925
+ getItem={[Function]}
926
+ getItemCount={[Function]}
927
+ horizontal={true}
928
+ keyExtractor={[Function]}
929
+ onContentSizeChange={[Function]}
930
+ onLayout={[Function]}
931
+ onMomentumScrollBegin={[Function]}
932
+ onMomentumScrollEnd={[Function]}
933
+ onScroll={[Function]}
934
+ onScrollBeginDrag={[Function]}
935
+ onScrollEndDrag={[Function]}
936
+ onViewableItemsChanged={[Function]}
937
+ pagingEnabled={true}
938
+ removeClippedSubviews={false}
939
+ renderItem={[Function]}
940
+ scrollEventThrottle={32}
941
+ showsHorizontalScrollIndicator={false}
942
+ stickyHeaderIndices={Array []}
943
+ viewabilityConfig={
944
+ Object {
945
+ "viewAreaCoveragePercentThreshold": 50,
946
+ }
947
+ }
948
+ viewabilityConfigCallbackPairs={
949
+ Array [
950
+ Object {
951
+ "onViewableItemsChanged": [Function],
952
+ "viewabilityConfig": Object {
953
+ "viewAreaCoveragePercentThreshold": 50,
954
+ },
955
+ },
956
+ ]
957
+ }
958
+ >
959
+ <View>
960
+ <View
961
+ onLayout={[Function]}
962
+ style={
963
+ Array [
964
+ Object {
965
+ "flexDirection": "row",
966
+ },
967
+ null,
968
+ ]
969
+ }
970
+ >
971
+ <View
972
+ style={
973
+ Array [
974
+ Object {},
975
+ Object {
976
+ "width": 750,
977
+ },
978
+ ]
979
+ }
980
+ >
981
+ <Image
982
+ source={1}
983
+ style={
984
+ Array [
985
+ Object {
986
+ "borderRadius": 0,
987
+ "height": 72,
988
+ "width": 72,
989
+ },
990
+ Array [
991
+ Object {
992
+ "flex": 1,
993
+ "flexGrow": 2,
994
+ "resizeMode": "contain",
995
+ "width": "100%",
996
+ },
997
+ undefined,
998
+ ],
999
+ ]
1000
+ }
1001
+ />
1002
+ <View
1003
+ marginTop="large"
1004
+ paddingHorizontal="large"
1005
+ style={
1006
+ Array [
1007
+ Object {
1008
+ "marginTop": 24,
1009
+ "paddingHorizontal": 24,
1010
+ },
1011
+ Array [
1012
+ Object {
1013
+ "width": 750,
1014
+ },
1015
+ undefined,
1016
+ ],
1017
+ ]
1018
+ }
1019
+ width={750}
1020
+ >
1021
+ <Text
1022
+ allowFontScaling={false}
1023
+ style={
1024
+ Array [
1025
+ Object {
1026
+ "color": "#001f23",
1027
+ "fontFamily": "BeVietnamPro-Regular",
1028
+ "fontSize": 14,
1029
+ "letterSpacing": 0.42,
1030
+ "lineHeight": 22,
1031
+ },
1032
+ Array [
1033
+ Object {
1034
+ "fontFamily": "RebondGrotesque-SemiBold",
1035
+ "fontSize": 32,
1036
+ "lineHeight": 44,
1037
+ "marginBottom": 16,
1038
+ "marginTop": 8,
1039
+ },
1040
+ undefined,
1041
+ ],
1042
+ ]
1043
+ }
1044
+ themeFontSize="medium"
1045
+ themeFontWeight="regular"
1046
+ themeIntent="body"
1047
+ themeTypeface="neutral"
1048
+ >
1049
+ Welcome to the new Employment Hero app
1050
+ </Text>
1051
+ <Text
1052
+ allowFontScaling={false}
1053
+ style={
1054
+ Array [
1055
+ Object {
1056
+ "color": "#001f23",
1057
+ "fontFamily": "BeVietnamPro-Regular",
1058
+ "fontSize": 16,
1059
+ "letterSpacing": 0.48,
1060
+ "lineHeight": 24,
1061
+ },
1062
+ undefined,
1063
+ ]
1064
+ }
1065
+ themeFontSize="large"
1066
+ themeFontWeight="regular"
1067
+ themeIntent="body"
1068
+ themeTypeface="neutral"
1069
+ >
1070
+ Access your Work, Money and Benefits in the palm of your hand.
1071
+ </Text>
1072
+ </View>
1073
+ </View>
1074
+ </View>
1075
+ <View
1076
+ onLayout={[Function]}
1077
+ style={
1078
+ Array [
1079
+ Object {
1080
+ "flexDirection": "row",
1081
+ },
1082
+ null,
1083
+ ]
1084
+ }
1085
+ >
1086
+ <View
1087
+ style={
1088
+ Array [
1089
+ Object {},
1090
+ Object {
1091
+ "width": 750,
1092
+ },
1093
+ ]
1094
+ }
1095
+ >
1096
+ <Image
1097
+ source={
1098
+ Object {
1099
+ "uri": "https://picsum.photos/800/1200",
1100
+ }
1101
+ }
1102
+ style={
1103
+ Array [
1104
+ Object {
1105
+ "borderRadius": 0,
1106
+ "height": 72,
1107
+ "width": 72,
1108
+ },
1109
+ Array [
1110
+ Object {
1111
+ "flex": 1,
1112
+ "flexGrow": 2,
1113
+ "resizeMode": "contain",
1114
+ "width": "100%",
1115
+ },
1116
+ undefined,
1117
+ ],
1118
+ ]
1119
+ }
1120
+ />
1121
+ <View
1122
+ marginTop="large"
1123
+ paddingHorizontal="large"
1124
+ style={
1125
+ Array [
1126
+ Object {
1127
+ "marginTop": 24,
1128
+ "paddingHorizontal": 24,
1129
+ },
1130
+ Array [
1131
+ Object {
1132
+ "width": 750,
1133
+ },
1134
+ undefined,
1135
+ ],
1136
+ ]
1137
+ }
1138
+ width={750}
1139
+ >
1140
+ <Image
1141
+ source={
1142
+ Object {
1143
+ "uri": "https://picsum.photos/30",
1144
+ }
1145
+ }
1146
+ style={
1147
+ Array [
1148
+ Object {
1149
+ "borderRadius": 0,
1150
+ "height": 72,
1151
+ "width": 72,
1152
+ },
1153
+ undefined,
1154
+ ]
1155
+ }
1156
+ />
1157
+ <Text
1158
+ allowFontScaling={false}
1159
+ style={
1160
+ Array [
1161
+ Object {
1162
+ "color": "#001f23",
1163
+ "fontFamily": "BeVietnamPro-Regular",
1164
+ "fontSize": 14,
1165
+ "letterSpacing": 0.42,
1166
+ "lineHeight": 22,
1167
+ },
1168
+ Array [
1169
+ Object {
1170
+ "fontFamily": "RebondGrotesque-SemiBold",
1171
+ "fontSize": 32,
1172
+ "lineHeight": 44,
1173
+ "marginBottom": 16,
1174
+ "marginTop": 8,
1175
+ },
1176
+ undefined,
1177
+ ],
1178
+ ]
1179
+ }
1180
+ themeFontSize="medium"
1181
+ themeFontWeight="regular"
1182
+ themeIntent="body"
1183
+ themeTypeface="neutral"
1184
+ >
1185
+ Same app with a new look!
1186
+ </Text>
1187
+ <Text
1188
+ allowFontScaling={false}
1189
+ style={
1190
+ Array [
1191
+ Object {
1192
+ "color": "#001f23",
1193
+ "fontFamily": "BeVietnamPro-Regular",
1194
+ "fontSize": 16,
1195
+ "letterSpacing": 0.48,
1196
+ "lineHeight": 24,
1197
+ },
1198
+ undefined,
1199
+ ]
1200
+ }
1201
+ themeFontSize="large"
1202
+ themeFontWeight="regular"
1203
+ themeIntent="body"
1204
+ themeTypeface="neutral"
1205
+ >
1206
+ Our app now has a new bright clean modern look and feel with the same great features.
1207
+ </Text>
1208
+ </View>
1209
+ </View>
1210
+ </View>
1211
+ <View
1212
+ onLayout={[Function]}
1213
+ style={
1214
+ Array [
1215
+ Object {
1216
+ "flexDirection": "row",
1217
+ },
1218
+ null,
1219
+ ]
1220
+ }
1221
+ >
1222
+ <View
1223
+ style={
1224
+ Array [
1225
+ Object {},
1226
+ Object {
1227
+ "width": 750,
1228
+ },
1229
+ ]
1230
+ }
1231
+ >
1232
+ <Image
1233
+ height={100}
1234
+ resizeMode="cover"
1235
+ source={
1236
+ Object {
1237
+ "height": 100,
1238
+ "resizeMode": "cover",
1239
+ "uri": "https://picsum.photos/1200/800",
1240
+ "width": 30,
1241
+ }
1242
+ }
1243
+ style={
1244
+ Array [
1245
+ Object {
1246
+ "borderRadius": 0,
1247
+ "height": 72,
1248
+ "width": 72,
1249
+ },
1250
+ Array [
1251
+ Object {
1252
+ "alignSelf": "center",
1253
+ "height": 100,
1254
+ "resizeMode": "cover",
1255
+ "width": 30,
1256
+ },
1257
+ undefined,
1258
+ ],
1259
+ ]
1260
+ }
1261
+ width={30}
1262
+ />
1263
+ <View
1264
+ marginTop="large"
1265
+ paddingHorizontal="large"
1266
+ style={
1267
+ Array [
1268
+ Object {
1269
+ "marginTop": 24,
1270
+ "paddingHorizontal": 24,
1271
+ },
1272
+ Array [
1273
+ Object {
1274
+ "width": 750,
1275
+ },
1276
+ undefined,
1277
+ ],
1278
+ ]
1279
+ }
1280
+ width={750}
1281
+ >
1282
+ <Text
1283
+ allowFontScaling={false}
1284
+ style={
1285
+ Array [
1286
+ Object {
1287
+ "color": "#001f23",
1288
+ "fontFamily": "BeVietnamPro-Regular",
1289
+ "fontSize": 14,
1290
+ "letterSpacing": 0.42,
1291
+ "lineHeight": 22,
1292
+ },
1293
+ Array [
1294
+ Object {
1295
+ "fontFamily": "RebondGrotesque-SemiBold",
1296
+ "fontSize": 32,
1297
+ "lineHeight": 44,
1298
+ "marginBottom": 16,
1299
+ "marginTop": 8,
1300
+ },
1301
+ undefined,
1302
+ ],
1303
+ ]
1304
+ }
1305
+ themeFontSize="medium"
1306
+ themeFontWeight="regular"
1307
+ themeIntent="body"
1308
+ themeTypeface="neutral"
1309
+ >
1310
+ Easier to get around
1311
+ </Text>
1312
+ <Text
1313
+ allowFontScaling={false}
1314
+ style={
1315
+ Array [
1316
+ Object {
1317
+ "color": "#001f23",
1318
+ "fontFamily": "BeVietnamPro-Regular",
1319
+ "fontSize": 16,
1320
+ "letterSpacing": 0.48,
1321
+ "lineHeight": 24,
1322
+ },
1323
+ undefined,
1324
+ ]
1325
+ }
1326
+ themeFontSize="large"
1327
+ themeFontWeight="regular"
1328
+ themeIntent="body"
1329
+ themeTypeface="neutral"
1330
+ >
1331
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae pulvinar quam, ac facilisis massa. Aliquam facilisis nisi eu justo dignissim, vel tempus justo iaculis.
1332
+ </Text>
1333
+ </View>
1334
+ </View>
1335
+ </View>
1336
+ <View
1337
+ onLayout={[Function]}
1338
+ style={
1339
+ Array [
1340
+ Object {
1341
+ "flexDirection": "row",
1342
+ },
1343
+ null,
1344
+ ]
1345
+ }
1346
+ >
1347
+ <View
1348
+ style={
1349
+ Array [
1350
+ Object {},
1351
+ Object {
1352
+ "width": 750,
1353
+ },
1354
+ ]
1355
+ }
1356
+ >
1357
+ <Image
1358
+ height={100}
1359
+ source={
1360
+ Object {
1361
+ "height": 100,
1362
+ "uri": "https://picsum.photos/1200/800",
1363
+ "width": 30,
1364
+ }
1365
+ }
1366
+ style={
1367
+ Array [
1368
+ Object {
1369
+ "borderRadius": 0,
1370
+ "height": 72,
1371
+ "width": 72,
1372
+ },
1373
+ Array [
1374
+ Object {
1375
+ "alignSelf": "center",
1376
+ "height": 100,
1377
+ "resizeMode": "contain",
1378
+ "width": 30,
1379
+ },
1380
+ undefined,
1381
+ ],
1382
+ ]
1383
+ }
1384
+ width={30}
1385
+ />
1386
+ <View
1387
+ marginTop="large"
1388
+ paddingHorizontal="large"
1389
+ style={
1390
+ Array [
1391
+ Object {
1392
+ "marginTop": 24,
1393
+ "paddingHorizontal": 24,
1394
+ },
1395
+ Array [
1396
+ Object {
1397
+ "width": 750,
1398
+ },
1399
+ undefined,
1400
+ ],
1401
+ ]
1402
+ }
1403
+ width={750}
1404
+ >
1405
+ <Text
1406
+ allowFontScaling={false}
1407
+ style={
1408
+ Array [
1409
+ Object {
1410
+ "color": "#001f23",
1411
+ "fontFamily": "BeVietnamPro-Regular",
1412
+ "fontSize": 14,
1413
+ "letterSpacing": 0.42,
1414
+ "lineHeight": 22,
1415
+ },
1416
+ Array [
1417
+ Object {
1418
+ "fontFamily": "RebondGrotesque-SemiBold",
1419
+ "fontSize": 32,
1420
+ "lineHeight": 44,
1421
+ "marginBottom": 16,
1422
+ "marginTop": 8,
1423
+ },
1424
+ undefined,
1425
+ ],
1426
+ ]
1427
+ }
1428
+ themeFontSize="medium"
1429
+ themeFontWeight="regular"
1430
+ themeIntent="body"
1431
+ themeTypeface="neutral"
1432
+ >
1433
+ Test slide 4
1434
+ </Text>
1435
+ </View>
1436
+ </View>
1437
+ </View>
1438
+ </View>
1439
+ </RCTScrollView>
1440
+ <View
1441
+ style={
1442
+ Array [
1443
+ Object {
1444
+ "flexDirection": "row",
1445
+ "justifyContent": "space-between",
1446
+ "marginBottom": 24,
1447
+ "paddingHorizontal": 24,
1448
+ "paddingVertical": 16,
1449
+ },
1450
+ undefined,
1451
+ ]
1452
+ }
1453
+ >
1454
+ <View
1455
+ accessibilityState={
1456
+ Object {
1457
+ "disabled": false,
1458
+ }
1459
+ }
1460
+ accessible={true}
1461
+ focusable={true}
1462
+ onClick={[Function]}
1463
+ onResponderGrant={[Function]}
1464
+ onResponderMove={[Function]}
1465
+ onResponderRelease={[Function]}
1466
+ onResponderTerminate={[Function]}
1467
+ onResponderTerminationRequest={[Function]}
1468
+ onStartShouldSetResponder={[Function]}
1469
+ style={
1470
+ Array [
1471
+ Object {
1472
+ "alignItems": "center",
1473
+ "alignSelf": "stretch",
1474
+ "backgroundColor": "#401960",
1475
+ "borderRadius": 32,
1476
+ "flexDirection": "row",
1477
+ "justifyContent": "center",
1478
+ "padding": 16,
1479
+ },
1480
+ undefined,
1481
+ ]
1482
+ }
1483
+ >
1484
+ <Text
1485
+ allowFontScaling={false}
1486
+ disabled={false}
1487
+ ellipsizeMode="tail"
1488
+ numberOfLines={1}
1489
+ style={
1490
+ Array [
1491
+ Object {
1492
+ "color": "#001f23",
1493
+ "fontFamily": "BeVietnamPro-Regular",
1494
+ "fontSize": 14,
1495
+ "letterSpacing": 0.42,
1496
+ "lineHeight": 22,
1497
+ },
1498
+ Array [
1499
+ Object {
1500
+ "color": "#ffffff",
1501
+ "flexShrink": 1,
1502
+ "fontFamily": "BeVietnamPro-SemiBold",
1503
+ "fontSize": 18,
1504
+ "textAlign": "center",
1505
+ },
1506
+ undefined,
1507
+ ],
1508
+ ]
1509
+ }
1510
+ themeFontSize="medium"
1511
+ themeFontWeight="regular"
1512
+ themeIntent="body"
1513
+ themeTypeface="neutral"
1514
+ themeVariant="filled-primary"
1515
+ >
1516
+ Skip
1517
+ </Text>
1518
+ </View>
1519
+ </View>
1520
+ </View>
1521
+ </View>
1522
+ `;
1523
+
1524
+ exports[`Carousel should call skip call back when press skip 1`] = `
1525
+ <View
1526
+ testID="carousel"
1527
+ >
1528
+ <View
1529
+ style={
1530
+ Array [
1531
+ Object {
1532
+ "backgroundColor": "#ece8ef",
1533
+ "bottom": 0,
1534
+ "left": 0,
1535
+ "position": "absolute",
1536
+ "right": 0,
1537
+ "top": 0,
1538
+ },
1539
+ undefined,
1540
+ ]
1541
+ }
1542
+ themeSlideBackground="#ece8ef"
1543
+ />
1544
+ <View
1545
+ style={
1546
+ Array [
1547
+ Object {
1548
+ "alignItems": "center",
1549
+ "height": 48,
1550
+ "justifyContent": "center",
1551
+ },
1552
+ undefined,
1553
+ ]
1554
+ }
1555
+ />
774
1556
  <View
775
1557
  style={
776
1558
  Array [
@@ -895,6 +1677,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
895
1677
  Array [
896
1678
  Object {
897
1679
  "flex": 1,
1680
+ "flexGrow": 2,
898
1681
  "resizeMode": "contain",
899
1682
  "width": "100%",
900
1683
  },
@@ -914,7 +1697,6 @@ exports[`Carousel should call skip call back when press skip 1`] = `
914
1697
  },
915
1698
  Array [
916
1699
  Object {
917
- "minHeight": 250,
918
1700
  "width": 750,
919
1701
  },
920
1702
  undefined,
@@ -1014,6 +1796,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
1014
1796
  Array [
1015
1797
  Object {
1016
1798
  "flex": 1,
1799
+ "flexGrow": 2,
1017
1800
  "resizeMode": "contain",
1018
1801
  "width": "100%",
1019
1802
  },
@@ -1033,7 +1816,6 @@ exports[`Carousel should call skip call back when press skip 1`] = `
1033
1816
  },
1034
1817
  Array [
1035
1818
  Object {
1036
- "minHeight": 250,
1037
1819
  "width": 750,
1038
1820
  },
1039
1821
  undefined,
@@ -1176,7 +1958,6 @@ exports[`Carousel should call skip call back when press skip 1`] = `
1176
1958
  },
1177
1959
  Array [
1178
1960
  Object {
1179
- "minHeight": 250,
1180
1961
  "width": 750,
1181
1962
  },
1182
1963
  undefined,
@@ -1300,7 +2081,6 @@ exports[`Carousel should call skip call back when press skip 1`] = `
1300
2081
  },
1301
2082
  Array [
1302
2083
  Object {
1303
- "minHeight": 250,
1304
2084
  "width": 750,
1305
2085
  },
1306
2086
  undefined,
@@ -1408,7 +2188,6 @@ exports[`Carousel should call skip call back when press skip 1`] = `
1408
2188
  "flexShrink": 1,
1409
2189
  "fontFamily": "BeVietnamPro-SemiBold",
1410
2190
  "fontSize": 18,
1411
- "lineHeight": 24,
1412
2191
  "textAlign": "center",
1413
2192
  },
1414
2193
  undefined,
@@ -1433,7 +2212,7 @@ exports[`Carousel should call skip call back when press skip 1`] = `
1433
2212
  },
1434
2213
  Array [
1435
2214
  Object {
1436
- "marginStart": "auto",
2215
+ "paddingVertical": 8,
1437
2216
  },
1438
2217
  undefined,
1439
2218
  ],