@hero-design/rn 8.52.1 → 8.52.2-rc2.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 (177) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +20 -0
  3. package/es/index.js +397 -687
  4. package/lib/index.js +395 -686
  5. package/package.json +7 -7
  6. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +0 -4
  7. package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +0 -2
  8. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
  9. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +0 -7
  10. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
  11. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +0 -2
  12. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
  13. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +0 -3
  14. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
  15. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +0 -6
  16. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +0 -2
  17. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +32 -21
  18. package/src/components/BottomSheet/index.tsx +1 -1
  19. package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +0 -21
  20. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +0 -10
  21. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +0 -10
  22. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
  23. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +0 -16
  24. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +0 -1
  25. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +0 -32
  26. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +0 -5
  27. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +0 -7
  28. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +0 -5
  29. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +0 -1
  30. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +0 -6
  31. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +0 -2
  32. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +0 -4
  33. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +0 -1
  34. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1 -803
  35. package/src/components/Carousel/__tests__/index.spec.tsx +37 -47
  36. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +0 -8
  37. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +0 -6
  38. package/src/components/Checkbox/index.tsx +1 -13
  39. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +0 -12
  40. package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +0 -2
  41. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
  42. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +0 -1
  43. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
  44. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +0 -15
  45. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +0 -1
  46. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +0 -1
  47. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +309 -329
  48. package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +0 -12
  49. package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
  50. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
  51. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
  52. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
  53. package/src/components/Error/index.tsx +3 -20
  54. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
  55. package/src/components/FAB/ActionGroup/index.tsx +1 -14
  56. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +0 -2
  57. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +0 -3
  58. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
  59. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
  60. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
  61. package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
  62. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +0 -2
  63. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +0 -4
  64. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +0 -4
  65. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +0 -9
  66. package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
  67. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
  68. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +0 -5
  69. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
  70. package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
  71. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +0 -5
  72. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +0 -2
  73. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +0 -1
  74. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
  75. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
  76. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +0 -1
  77. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +0 -1
  78. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +0 -2
  79. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +0 -4
  80. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +0 -6
  81. package/src/components/SectionHeading/__tests__/index.spec.tsx +0 -1
  82. package/src/components/SectionHeading/index.tsx +32 -57
  83. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +0 -1
  84. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +0 -4
  85. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +128 -42
  86. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +0 -1
  87. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +0 -4
  88. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +96 -35
  89. package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +0 -7
  90. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
  91. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +0 -1
  92. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +0 -24
  93. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
  94. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
  95. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +0 -3
  96. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
  97. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +0 -4
  98. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
  99. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +0 -5
  100. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
  101. package/src/components/Tabs/__tests__/SceneView.spec.tsx +1 -1
  102. package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +0 -4
  103. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +0 -3
  104. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +0 -1
  105. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +0 -2
  106. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
  107. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +0 -10
  108. package/src/components/Tag/index.tsx +0 -12
  109. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +0 -21
  110. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +0 -17
  111. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +0 -2
  112. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +309 -330
  113. package/src/components/Toast/StyledToast.tsx +7 -9
  114. package/src/components/Toast/Toast.tsx +1 -4
  115. package/src/components/Toast/ToastContainer.tsx +2 -6
  116. package/src/components/Toast/ToastContext.ts +2 -5
  117. package/src/components/Toast/ToastProvider.tsx +2 -19
  118. package/src/components/Toast/__tests__/ToastContainer.spec.tsx +12 -15
  119. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +0 -7
  120. package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +6 -14
  121. package/src/components/Toast/types.ts +1 -5
  122. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +0 -3
  123. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +0 -8
  124. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +0 -16
  125. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +0 -19
  126. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +0 -10
  127. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +0 -13
  128. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +0 -8
  129. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +0 -11
  130. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +0 -20
  131. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +0 -20
  132. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +0 -23
  133. package/src/index.ts +0 -2
  134. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +0 -102
  135. package/src/theme/components/badge.ts +1 -28
  136. package/src/theme/components/button.ts +0 -24
  137. package/src/theme/components/carousel.ts +1 -28
  138. package/src/theme/components/empty.ts +1 -23
  139. package/src/theme/components/error.ts +1 -32
  140. package/src/theme/components/fab.ts +2 -13
  141. package/src/theme/components/pinInput.ts +0 -32
  142. package/src/theme/components/success.ts +1 -23
  143. package/src/theme/components/tag.ts +1 -28
  144. package/src/theme/components/textInput.ts +0 -5
  145. package/src/theme/getTheme.ts +18 -21
  146. package/src/types.ts +0 -2
  147. package/types/components/Checkbox/index.d.ts +1 -6
  148. package/types/components/Error/index.d.ts +3 -9
  149. package/types/components/FAB/ActionGroup/index.d.ts +0 -5
  150. package/types/components/SectionHeading/index.d.ts +1 -11
  151. package/types/components/Tag/index.d.ts +1 -6
  152. package/types/components/Toast/StyledToast.d.ts +0 -2
  153. package/types/components/Toast/ToastContext.d.ts +2 -2
  154. package/types/components/Toast/ToastProvider.d.ts +1 -1
  155. package/types/components/Toast/index.d.ts +1 -1
  156. package/types/components/Toast/types.d.ts +1 -5
  157. package/types/index.d.ts +1 -2
  158. package/types/theme/components/badge.d.ts +0 -24
  159. package/types/theme/components/button.d.ts +0 -20
  160. package/types/theme/components/carousel.d.ts +0 -24
  161. package/types/theme/components/empty.d.ts +0 -19
  162. package/types/theme/components/error.d.ts +0 -27
  163. package/types/theme/components/fab.d.ts +8 -19
  164. package/types/theme/components/pinInput.d.ts +0 -27
  165. package/types/theme/components/success.d.ts +0 -19
  166. package/types/theme/components/tag.d.ts +0 -24
  167. package/types/theme/components/textInput.d.ts +0 -5
  168. package/types/theme/getTheme.d.ts +18 -20
  169. package/types/types.d.ts +1 -2
  170. package/src/components/BottomNavigation/StyledBottomNavigation.tsx +0 -60
  171. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +0 -413
  172. package/src/components/BottomNavigation/__tests__/index.spec.tsx +0 -97
  173. package/src/components/BottomNavigation/index.tsx +0 -166
  174. package/src/theme/components/bottomNavigation.ts +0 -27
  175. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -52
  176. package/types/components/BottomNavigation/index.d.ts +0 -45
  177. package/types/theme/components/bottomNavigation.d.ts +0 -23
@@ -1,806 +1,6 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Carousel renders correctly with pageControlPosition bottom 1`] = `
4
- <View
5
- style={
6
- {
7
- "flex": 1,
8
- }
9
- }
10
- >
11
- <View
12
- testID="carousel"
13
- >
14
- <View
15
- style={
16
- [
17
- {
18
- "backgroundColor": "#ece8ef",
19
- "bottom": 0,
20
- "left": 0,
21
- "position": "absolute",
22
- "right": 0,
23
- "top": 0,
24
- },
25
- undefined,
26
- ]
27
- }
28
- themeSlideBackground="#ece8ef"
29
- />
30
- <View
31
- style={
32
- [
33
- {
34
- "alignItems": "center",
35
- "height": 48,
36
- "justifyContent": "center",
37
- },
38
- undefined,
39
- ]
40
- }
41
- />
42
- <View
43
- style={
44
- [
45
- {
46
- "flexGrow": 2,
47
- "justifyContent": "space-between",
48
- },
49
- undefined,
50
- ]
51
- }
52
- >
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,
85
- },
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,
120
- }
121
- }
122
- viewabilityConfigCallbackPairs={
123
- [
124
- {
125
- "onViewableItemsChanged": [Function],
126
- "viewabilityConfig": {
127
- "viewAreaCoveragePercentThreshold": 50,
128
- },
129
- },
130
- ]
131
- }
132
- >
133
- <View>
134
- <View
135
- onFocusCapture={[Function]}
136
- onLayout={[Function]}
137
- style={
138
- [
139
- {
140
- "flexDirection": "row",
141
- },
142
- null,
143
- ]
144
- }
145
- >
146
- <View
147
- style={
148
- [
149
- {},
150
- {
151
- "width": 750,
152
- },
153
- ]
154
- }
155
- >
156
- <Image
157
- source={1}
158
- style={
159
- [
160
- {
161
- "borderRadius": 0,
162
- "height": 72,
163
- "width": 72,
164
- },
165
- [
166
- {
167
- "flex": 1,
168
- "flexGrow": 2,
169
- "resizeMode": "contain",
170
- "width": "100%",
171
- },
172
- undefined,
173
- ],
174
- ]
175
- }
176
- />
177
- <View
178
- marginTop="large"
179
- paddingHorizontal="large"
180
- style={
181
- [
182
- {
183
- "marginTop": 24,
184
- "paddingHorizontal": 24,
185
- },
186
- [
187
- {
188
- "width": 750,
189
- },
190
- undefined,
191
- ],
192
- ]
193
- }
194
- width={750}
195
- >
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>
243
- </View>
244
- </View>
245
- <View
246
- onFocusCapture={[Function]}
247
- onLayout={[Function]}
248
- style={
249
- [
250
- {
251
- "flexDirection": "row",
252
- },
253
- null,
254
- ]
255
- }
256
- >
257
- <View
258
- style={
259
- [
260
- {},
261
- {
262
- "width": 750,
263
- },
264
- ]
265
- }
266
- >
267
- <Image
268
- source={
269
- {
270
- "uri": "https://picsum.photos/800/1200",
271
- }
272
- }
273
- style={
274
- [
275
- {
276
- "borderRadius": 0,
277
- "height": 72,
278
- "width": 72,
279
- },
280
- [
281
- {
282
- "flex": 1,
283
- "flexGrow": 2,
284
- "resizeMode": "contain",
285
- "width": "100%",
286
- },
287
- undefined,
288
- ],
289
- ]
290
- }
291
- />
292
- <View
293
- marginTop="large"
294
- paddingHorizontal="large"
295
- style={
296
- [
297
- {
298
- "marginTop": 24,
299
- "paddingHorizontal": 24,
300
- },
301
- [
302
- {
303
- "width": 750,
304
- },
305
- undefined,
306
- ],
307
- ]
308
- }
309
- width={750}
310
- >
311
- <Image
312
- source={
313
- {
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>
375
- </View>
376
- </View>
377
- <View
378
- onFocusCapture={[Function]}
379
- onLayout={[Function]}
380
- style={
381
- [
382
- {
383
- "flexDirection": "row",
384
- },
385
- null,
386
- ]
387
- }
388
- >
389
- <View
390
- style={
391
- [
392
- {},
393
- {
394
- "width": 750,
395
- },
396
- ]
397
- }
398
- >
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
- }
410
- style={
411
- [
412
- {
413
- "borderRadius": 0,
414
- "height": 72,
415
- "width": 72,
416
- },
417
- [
418
- {
419
- "alignSelf": "center",
420
- "height": 100,
421
- "resizeMode": "cover",
422
- "width": 30,
423
- },
424
- undefined,
425
- ],
426
- ]
427
- }
428
- width={30}
429
- />
430
- <View
431
- marginTop="large"
432
- paddingHorizontal="large"
433
- style={
434
- [
435
- {
436
- "marginTop": 24,
437
- "paddingHorizontal": 24,
438
- },
439
- [
440
- {
441
- "width": 750,
442
- },
443
- undefined,
444
- ],
445
- ]
446
- }
447
- width={750}
448
- >
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>
496
- </View>
497
- </View>
498
- <View
499
- onFocusCapture={[Function]}
500
- onLayout={[Function]}
501
- style={
502
- [
503
- {
504
- "flexDirection": "row",
505
- },
506
- null,
507
- ]
508
- }
509
- >
510
- <View
511
- style={
512
- [
513
- {},
514
- {
515
- "width": 750,
516
- },
517
- ]
518
- }
519
- >
520
- <Image
521
- height={100}
522
- source={
523
- {
524
- "height": 100,
525
- "uri": "https://picsum.photos/1200/800",
526
- "width": 30,
527
- }
528
- }
529
- style={
530
- [
531
- {
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
- [
559
- {
560
- "width": 750,
561
- },
562
- undefined,
563
- ],
564
- ]
565
- }
566
- width={750}
567
- >
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>
595
- </View>
596
- </View>
597
- </View>
598
- </RCTScrollView>
599
- <View
600
- style={
601
- [
602
- {
603
- "flexDirection": "row",
604
- "justifyContent": "space-between",
605
- "marginBottom": 24,
606
- "paddingHorizontal": 24,
607
- "paddingVertical": 16,
608
- },
609
- undefined,
610
- ]
611
- }
612
- >
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
685
- style={
686
- [
687
- {
688
- "alignItems": "center",
689
- "flexDirection": "row",
690
- },
691
- [
692
- {
693
- "paddingVertical": 8,
694
- },
695
- undefined,
696
- ],
697
- ]
698
- }
699
- >
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>
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`] = `
3
+ exports[`Carousel renders correctly 1`] = `
804
4
  <View
805
5
  style={
806
6
  {
@@ -1580,7 +780,6 @@ exports[`Carousel renders correctly with pageControlPosition top 1`] = `
1580
780
  </View>
1581
781
  <View
1582
782
  pointerEvents="box-none"
1583
- position="bottom"
1584
783
  style={
1585
784
  [
1586
785
  {
@@ -2381,7 +1580,6 @@ exports[`Carousel should call skip call back when press skip 1`] = `
2381
1580
  </View>
2382
1581
  <View
2383
1582
  pointerEvents="box-none"
2384
- position="bottom"
2385
1583
  style={
2386
1584
  [
2387
1585
  {