@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
@@ -3,249 +3,311 @@
3
3
  exports[`Error renders error screen with custom image element correctly 1`] = `
4
4
  <View
5
5
  style={
6
- [
7
- {
8
- "backgroundColor": "#f6f6f7",
9
- "display": "flex",
10
- "flex": 1,
11
- "flexDirection": "column",
12
- },
13
- undefined,
14
- ]
6
+ {
7
+ "flex": 1,
8
+ }
15
9
  }
16
- themeVariant="in-page"
17
10
  >
18
11
  <View
19
12
  style={
20
13
  [
21
14
  {
22
- "alignItems": "center",
15
+ "backgroundColor": "#f6f6f7",
23
16
  "display": "flex",
24
17
  "flex": 1,
25
18
  "flexDirection": "column",
26
- "justifyContent": "center",
27
- "padding": 24,
28
19
  },
29
20
  undefined,
30
21
  ]
31
22
  }
23
+ themeVariant="in-page"
32
24
  >
33
25
  <View
34
26
  style={
35
27
  [
36
28
  {
37
- "height": 176,
38
- "marginBottom": 24,
39
- "width": 176,
29
+ "alignItems": "center",
30
+ "display": "flex",
31
+ "flex": 1,
32
+ "flexDirection": "column",
33
+ "justifyContent": "center",
34
+ "padding": 24,
40
35
  },
41
36
  undefined,
42
37
  ]
43
38
  }
44
39
  >
45
- <Image
46
- source={
47
- {
48
- "uri": "path_to_image",
49
- }
50
- }
40
+ <View
51
41
  style={
52
42
  [
53
43
  {
54
- "borderRadius": 0,
55
- "height": 72,
56
- "width": 72,
44
+ "height": 176,
45
+ "marginBottom": 24,
46
+ "width": 176,
57
47
  },
58
48
  undefined,
59
49
  ]
60
50
  }
61
- testID="error-image"
62
- />
63
- </View>
64
- <Text
65
- allowFontScaling={false}
66
- style={
67
- [
68
- {
69
- "color": "#001f23",
70
- "fontFamily": "RebondGrotesque-SemiBold",
71
- "fontSize": 24,
72
- "letterSpacing": 0.24,
73
- "lineHeight": 32,
74
- },
51
+ >
52
+ <Image
53
+ source={
54
+ {
55
+ "uri": "path_to_image",
56
+ }
57
+ }
58
+ style={
59
+ [
60
+ {
61
+ "borderRadius": 0,
62
+ "height": 72,
63
+ "width": 72,
64
+ },
65
+ undefined,
66
+ ]
67
+ }
68
+ testID="error-image"
69
+ />
70
+ </View>
71
+ <Text
72
+ allowFontScaling={false}
73
+ style={
75
74
  [
76
75
  {
77
76
  "color": "#001f23",
78
- "marginBottom": 8,
79
- "textAlign": "center",
77
+ "fontFamily": "RebondGrotesque-SemiBold",
78
+ "fontSize": 24,
79
+ "letterSpacing": 0.24,
80
+ "lineHeight": 32,
80
81
  },
81
- undefined,
82
- ],
83
- ]
84
- }
85
- themeIntent="body"
86
- themeLevel="h4"
87
- themeTypeface="playful"
88
- >
89
- We’re sorry, something went wrong
90
- </Text>
91
- <Text
92
- allowFontScaling={false}
93
- style={
94
- [
95
- {
96
- "color": "#001f23",
97
- "fontFamily": "BeVietnamPro-Regular",
98
- "fontSize": 18,
99
- "letterSpacing": 0.54,
100
- "lineHeight": 26,
101
- },
82
+ [
83
+ {
84
+ "color": "#001f23",
85
+ "marginBottom": 8,
86
+ "textAlign": "center",
87
+ },
88
+ undefined,
89
+ ],
90
+ ]
91
+ }
92
+ themeIntent="body"
93
+ themeLevel="h4"
94
+ themeTypeface="playful"
95
+ >
96
+ We’re sorry, something went wrong
97
+ </Text>
98
+ <Text
99
+ allowFontScaling={false}
100
+ style={
102
101
  [
103
102
  {
104
- "color": "#4d6265",
105
- "textAlign": "center",
103
+ "color": "#001f23",
104
+ "fontFamily": "BeVietnamPro-Regular",
105
+ "fontSize": 18,
106
+ "letterSpacing": 0.54,
107
+ "lineHeight": 26,
106
108
  },
107
- undefined,
108
- ],
109
- ]
110
- }
111
- themeIntent="body"
112
- themeTypeface="playful"
113
- themeVariant="regular"
114
- >
115
- Please try again later
116
- </Text>
109
+ [
110
+ {
111
+ "color": "#4d6265",
112
+ "textAlign": "center",
113
+ },
114
+ undefined,
115
+ ],
116
+ ]
117
+ }
118
+ themeIntent="body"
119
+ themeTypeface="playful"
120
+ themeVariant="regular"
121
+ >
122
+ Please try again later
123
+ </Text>
124
+ </View>
117
125
  </View>
126
+ <View
127
+ pointerEvents="box-none"
128
+ position="bottom"
129
+ style={
130
+ [
131
+ {
132
+ "bottom": 0,
133
+ "elevation": 9999,
134
+ "flexDirection": "column-reverse",
135
+ "left": 0,
136
+ "paddingHorizontal": 24,
137
+ "paddingVertical": 16,
138
+ "position": "absolute",
139
+ "right": 0,
140
+ "top": 0,
141
+ },
142
+ undefined,
143
+ ]
144
+ }
145
+ />
118
146
  </View>
119
147
  `;
120
148
 
121
149
  exports[`Error renders error screen with image correctly 1`] = `
122
150
  <View
123
151
  style={
124
- [
125
- {
126
- "backgroundColor": "#f6f6f7",
127
- "display": "flex",
128
- "flex": 1,
129
- "flexDirection": "column",
130
- },
131
- undefined,
132
- ]
152
+ {
153
+ "flex": 1,
154
+ }
133
155
  }
134
- themeVariant="in-page"
135
156
  >
136
157
  <View
137
158
  style={
138
159
  [
139
160
  {
140
- "alignItems": "center",
161
+ "backgroundColor": "#f6f6f7",
141
162
  "display": "flex",
142
163
  "flex": 1,
143
164
  "flexDirection": "column",
144
- "justifyContent": "center",
145
- "padding": 24,
146
165
  },
147
166
  undefined,
148
167
  ]
149
168
  }
169
+ themeVariant="in-page"
150
170
  >
151
171
  <View
152
172
  style={
153
173
  [
154
174
  {
155
- "height": 176,
156
- "marginBottom": 24,
157
- "width": 176,
175
+ "alignItems": "center",
176
+ "display": "flex",
177
+ "flex": 1,
178
+ "flexDirection": "column",
179
+ "justifyContent": "center",
180
+ "padding": 24,
158
181
  },
159
182
  undefined,
160
183
  ]
161
184
  }
162
185
  >
163
- <Image
164
- source={
165
- {
166
- "uri": "path_to_image",
167
- }
186
+ <View
187
+ style={
188
+ [
189
+ {
190
+ "height": 176,
191
+ "marginBottom": 24,
192
+ "width": 176,
193
+ },
194
+ undefined,
195
+ ]
168
196
  }
197
+ >
198
+ <Image
199
+ source={
200
+ {
201
+ "uri": "path_to_image",
202
+ }
203
+ }
204
+ style={
205
+ [
206
+ {
207
+ "borderRadius": 0,
208
+ "height": 72,
209
+ "width": 72,
210
+ },
211
+ [
212
+ {
213
+ "height": 176,
214
+ "marginBottom": 24,
215
+ "resizeMode": "contain",
216
+ "width": 176,
217
+ },
218
+ undefined,
219
+ ],
220
+ ]
221
+ }
222
+ testID="error-image"
223
+ />
224
+ </View>
225
+ <Text
226
+ allowFontScaling={false}
169
227
  style={
170
228
  [
171
229
  {
172
- "borderRadius": 0,
173
- "height": 72,
174
- "width": 72,
230
+ "color": "#001f23",
231
+ "fontFamily": "RebondGrotesque-SemiBold",
232
+ "fontSize": 24,
233
+ "letterSpacing": 0.24,
234
+ "lineHeight": 32,
175
235
  },
176
236
  [
177
237
  {
178
- "height": 176,
179
- "marginBottom": 24,
180
- "resizeMode": "contain",
181
- "width": 176,
238
+ "color": "#001f23",
239
+ "marginBottom": 8,
240
+ "textAlign": "center",
182
241
  },
183
242
  undefined,
184
243
  ],
185
244
  ]
186
245
  }
187
- testID="error-image"
188
- />
189
- </View>
190
- <Text
191
- allowFontScaling={false}
192
- style={
193
- [
194
- {
195
- "color": "#001f23",
196
- "fontFamily": "RebondGrotesque-SemiBold",
197
- "fontSize": 24,
198
- "letterSpacing": 0.24,
199
- "lineHeight": 32,
200
- },
246
+ themeIntent="body"
247
+ themeLevel="h4"
248
+ themeTypeface="playful"
249
+ >
250
+ We’re sorry, something went wrong
251
+ </Text>
252
+ <Text
253
+ allowFontScaling={false}
254
+ style={
201
255
  [
202
256
  {
203
257
  "color": "#001f23",
204
- "marginBottom": 8,
205
- "textAlign": "center",
206
- },
207
- undefined,
208
- ],
209
- ]
210
- }
211
- themeIntent="body"
212
- themeLevel="h4"
213
- themeTypeface="playful"
214
- >
215
- We’re sorry, something went wrong
216
- </Text>
217
- <Text
218
- allowFontScaling={false}
219
- style={
220
- [
221
- {
222
- "color": "#001f23",
223
- "fontFamily": "BeVietnamPro-Regular",
224
- "fontSize": 18,
225
- "letterSpacing": 0.54,
226
- "lineHeight": 26,
227
- },
228
- [
229
- {
230
- "color": "#4d6265",
231
- "textAlign": "center",
258
+ "fontFamily": "BeVietnamPro-Regular",
259
+ "fontSize": 18,
260
+ "letterSpacing": 0.54,
261
+ "lineHeight": 26,
232
262
  },
233
- undefined,
234
- ],
235
- ]
236
- }
237
- themeIntent="body"
238
- themeTypeface="playful"
239
- themeVariant="regular"
240
- >
241
- Please try again later
242
- </Text>
263
+ [
264
+ {
265
+ "color": "#4d6265",
266
+ "textAlign": "center",
267
+ },
268
+ undefined,
269
+ ],
270
+ ]
271
+ }
272
+ themeIntent="body"
273
+ themeTypeface="playful"
274
+ themeVariant="regular"
275
+ >
276
+ Please try again later
277
+ </Text>
278
+ </View>
243
279
  </View>
280
+ <View
281
+ pointerEvents="box-none"
282
+ position="bottom"
283
+ style={
284
+ [
285
+ {
286
+ "bottom": 0,
287
+ "elevation": 9999,
288
+ "flexDirection": "column-reverse",
289
+ "left": 0,
290
+ "paddingHorizontal": 24,
291
+ "paddingVertical": 16,
292
+ "position": "absolute",
293
+ "right": 0,
294
+ "top": 0,
295
+ },
296
+ undefined,
297
+ ]
298
+ }
299
+ />
244
300
  </View>
245
301
  `;
246
302
 
247
303
  exports[`Error renders full screen error page correctly 1`] = `
248
- [
304
+ <View
305
+ style={
306
+ {
307
+ "flex": 1,
308
+ }
309
+ }
310
+ >
249
311
  <View
250
312
  collapsable={false}
251
313
  style={
@@ -259,7 +321,7 @@ exports[`Error renders full screen error page correctly 1`] = `
259
321
  "top": 0,
260
322
  }
261
323
  }
262
- />,
324
+ />
263
325
  <View
264
326
  collapsable={false}
265
327
  style={
@@ -401,93 +463,141 @@ exports[`Error renders full screen error page correctly 1`] = `
401
463
  </Text>
402
464
  </View>
403
465
  </View>
404
- </View>,
405
- ]
466
+ </View>
467
+ <View
468
+ pointerEvents="box-none"
469
+ position="bottom"
470
+ style={
471
+ [
472
+ {
473
+ "bottom": 0,
474
+ "elevation": 9999,
475
+ "flexDirection": "column-reverse",
476
+ "left": 0,
477
+ "paddingHorizontal": 24,
478
+ "paddingVertical": 16,
479
+ "position": "absolute",
480
+ "right": 0,
481
+ "top": 0,
482
+ },
483
+ undefined,
484
+ ]
485
+ }
486
+ />
487
+ </View>
406
488
  `;
407
489
 
408
490
  exports[`Error renders title only correctly 1`] = `
409
491
  <View
410
492
  style={
411
- [
412
- {
413
- "backgroundColor": "#f6f6f7",
414
- "display": "flex",
415
- "flex": 1,
416
- "flexDirection": "column",
417
- },
418
- undefined,
419
- ]
493
+ {
494
+ "flex": 1,
495
+ }
420
496
  }
421
- themeVariant="in-page"
422
497
  >
423
498
  <View
424
499
  style={
425
500
  [
426
501
  {
427
- "alignItems": "center",
502
+ "backgroundColor": "#f6f6f7",
428
503
  "display": "flex",
429
504
  "flex": 1,
430
505
  "flexDirection": "column",
431
- "justifyContent": "center",
432
- "padding": 24,
433
506
  },
434
507
  undefined,
435
508
  ]
436
509
  }
510
+ themeVariant="in-page"
437
511
  >
438
- <Text
439
- allowFontScaling={false}
512
+ <View
440
513
  style={
441
514
  [
442
515
  {
443
- "color": "#001f23",
444
- "fontFamily": "RebondGrotesque-SemiBold",
445
- "fontSize": 24,
446
- "letterSpacing": 0.24,
447
- "lineHeight": 32,
516
+ "alignItems": "center",
517
+ "display": "flex",
518
+ "flex": 1,
519
+ "flexDirection": "column",
520
+ "justifyContent": "center",
521
+ "padding": 24,
448
522
  },
523
+ undefined,
524
+ ]
525
+ }
526
+ >
527
+ <Text
528
+ allowFontScaling={false}
529
+ style={
449
530
  [
450
531
  {
451
532
  "color": "#001f23",
452
- "marginBottom": 8,
453
- "textAlign": "center",
533
+ "fontFamily": "RebondGrotesque-SemiBold",
534
+ "fontSize": 24,
535
+ "letterSpacing": 0.24,
536
+ "lineHeight": 32,
454
537
  },
455
- undefined,
456
- ],
457
- ]
458
- }
459
- themeIntent="body"
460
- themeLevel="h4"
461
- themeTypeface="playful"
462
- >
463
- We’re sorry, something went wrong
464
- </Text>
465
- <Text
466
- allowFontScaling={false}
467
- style={
468
- [
469
- {
470
- "color": "#001f23",
471
- "fontFamily": "BeVietnamPro-Regular",
472
- "fontSize": 18,
473
- "letterSpacing": 0.54,
474
- "lineHeight": 26,
475
- },
538
+ [
539
+ {
540
+ "color": "#001f23",
541
+ "marginBottom": 8,
542
+ "textAlign": "center",
543
+ },
544
+ undefined,
545
+ ],
546
+ ]
547
+ }
548
+ themeIntent="body"
549
+ themeLevel="h4"
550
+ themeTypeface="playful"
551
+ >
552
+ We’re sorry, something went wrong
553
+ </Text>
554
+ <Text
555
+ allowFontScaling={false}
556
+ style={
476
557
  [
477
558
  {
478
- "color": "#4d6265",
479
- "textAlign": "center",
559
+ "color": "#001f23",
560
+ "fontFamily": "BeVietnamPro-Regular",
561
+ "fontSize": 18,
562
+ "letterSpacing": 0.54,
563
+ "lineHeight": 26,
480
564
  },
481
- undefined,
482
- ],
483
- ]
484
- }
485
- themeIntent="body"
486
- themeTypeface="playful"
487
- themeVariant="regular"
488
- >
489
- Please try again later
490
- </Text>
565
+ [
566
+ {
567
+ "color": "#4d6265",
568
+ "textAlign": "center",
569
+ },
570
+ undefined,
571
+ ],
572
+ ]
573
+ }
574
+ themeIntent="body"
575
+ themeTypeface="playful"
576
+ themeVariant="regular"
577
+ >
578
+ Please try again later
579
+ </Text>
580
+ </View>
491
581
  </View>
582
+ <View
583
+ pointerEvents="box-none"
584
+ position="bottom"
585
+ style={
586
+ [
587
+ {
588
+ "bottom": 0,
589
+ "elevation": 9999,
590
+ "flexDirection": "column-reverse",
591
+ "left": 0,
592
+ "paddingHorizontal": 24,
593
+ "paddingVertical": 16,
594
+ "position": "absolute",
595
+ "right": 0,
596
+ "top": 0,
597
+ },
598
+ undefined,
599
+ ]
600
+ }
601
+ />
492
602
  </View>
493
603
  `;