@hero-design/rn 8.43.1 → 8.44.0

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