@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,179 +3,459 @@
3
3
  exports[`StyledLoadingIndicator has basic-transparent style 1`] = `
4
4
  <View
5
5
  style={
6
- [
7
- {
8
- "backgroundColor": "#ffffff",
9
- "borderRadius": 8,
10
- "height": 12,
11
- "marginHorizontal": 8,
12
- "width": 12,
13
- },
14
- undefined,
15
- ]
6
+ {
7
+ "flex": 1,
8
+ }
16
9
  }
17
- themeVariant="basic-transparent"
18
- />
10
+ >
11
+ <View
12
+ style={
13
+ [
14
+ {
15
+ "backgroundColor": "#ffffff",
16
+ "borderRadius": 8,
17
+ "height": 12,
18
+ "marginHorizontal": 8,
19
+ "width": 12,
20
+ },
21
+ undefined,
22
+ ]
23
+ }
24
+ themeVariant="basic-transparent"
25
+ />
26
+ <View
27
+ pointerEvents="box-none"
28
+ position="bottom"
29
+ style={
30
+ [
31
+ {
32
+ "bottom": 0,
33
+ "elevation": 9999,
34
+ "flexDirection": "column-reverse",
35
+ "left": 0,
36
+ "paddingHorizontal": 24,
37
+ "paddingVertical": 16,
38
+ "position": "absolute",
39
+ "right": 0,
40
+ "top": 0,
41
+ },
42
+ undefined,
43
+ ]
44
+ }
45
+ />
46
+ </View>
19
47
  `;
20
48
 
21
49
  exports[`StyledLoadingIndicator has filled-danger style 1`] = `
22
50
  <View
23
51
  style={
24
- [
25
- {
26
- "backgroundColor": "#ffffff",
27
- "borderRadius": 8,
28
- "height": 12,
29
- "marginHorizontal": 8,
30
- "width": 12,
31
- },
32
- undefined,
33
- ]
52
+ {
53
+ "flex": 1,
54
+ }
34
55
  }
35
- themeVariant="filled-danger"
36
- />
56
+ >
57
+ <View
58
+ style={
59
+ [
60
+ {
61
+ "backgroundColor": "#ffffff",
62
+ "borderRadius": 8,
63
+ "height": 12,
64
+ "marginHorizontal": 8,
65
+ "width": 12,
66
+ },
67
+ undefined,
68
+ ]
69
+ }
70
+ themeVariant="filled-danger"
71
+ />
72
+ <View
73
+ pointerEvents="box-none"
74
+ position="bottom"
75
+ style={
76
+ [
77
+ {
78
+ "bottom": 0,
79
+ "elevation": 9999,
80
+ "flexDirection": "column-reverse",
81
+ "left": 0,
82
+ "paddingHorizontal": 24,
83
+ "paddingVertical": 16,
84
+ "position": "absolute",
85
+ "right": 0,
86
+ "top": 0,
87
+ },
88
+ undefined,
89
+ ]
90
+ }
91
+ />
92
+ </View>
37
93
  `;
38
94
 
39
95
  exports[`StyledLoadingIndicator has filled-primary style 1`] = `
40
96
  <View
41
97
  style={
42
- [
43
- {
44
- "backgroundColor": "#ffffff",
45
- "borderRadius": 8,
46
- "height": 12,
47
- "marginHorizontal": 8,
48
- "width": 12,
49
- },
50
- undefined,
51
- ]
98
+ {
99
+ "flex": 1,
100
+ }
52
101
  }
53
- themeVariant="filled-primary"
54
- />
102
+ >
103
+ <View
104
+ style={
105
+ [
106
+ {
107
+ "backgroundColor": "#ffffff",
108
+ "borderRadius": 8,
109
+ "height": 12,
110
+ "marginHorizontal": 8,
111
+ "width": 12,
112
+ },
113
+ undefined,
114
+ ]
115
+ }
116
+ themeVariant="filled-primary"
117
+ />
118
+ <View
119
+ pointerEvents="box-none"
120
+ position="bottom"
121
+ style={
122
+ [
123
+ {
124
+ "bottom": 0,
125
+ "elevation": 9999,
126
+ "flexDirection": "column-reverse",
127
+ "left": 0,
128
+ "paddingHorizontal": 24,
129
+ "paddingVertical": 16,
130
+ "position": "absolute",
131
+ "right": 0,
132
+ "top": 0,
133
+ },
134
+ undefined,
135
+ ]
136
+ }
137
+ />
138
+ </View>
55
139
  `;
56
140
 
57
141
  exports[`StyledLoadingIndicator has filled-secondary style 1`] = `
58
142
  <View
59
143
  style={
60
- [
61
- {
62
- "backgroundColor": "#ffffff",
63
- "borderRadius": 8,
64
- "height": 12,
65
- "marginHorizontal": 8,
66
- "width": 12,
67
- },
68
- undefined,
69
- ]
144
+ {
145
+ "flex": 1,
146
+ }
70
147
  }
71
- themeVariant="filled-secondary"
72
- />
148
+ >
149
+ <View
150
+ style={
151
+ [
152
+ {
153
+ "backgroundColor": "#ffffff",
154
+ "borderRadius": 8,
155
+ "height": 12,
156
+ "marginHorizontal": 8,
157
+ "width": 12,
158
+ },
159
+ undefined,
160
+ ]
161
+ }
162
+ themeVariant="filled-secondary"
163
+ />
164
+ <View
165
+ pointerEvents="box-none"
166
+ position="bottom"
167
+ style={
168
+ [
169
+ {
170
+ "bottom": 0,
171
+ "elevation": 9999,
172
+ "flexDirection": "column-reverse",
173
+ "left": 0,
174
+ "paddingHorizontal": 24,
175
+ "paddingVertical": 16,
176
+ "position": "absolute",
177
+ "right": 0,
178
+ "top": 0,
179
+ },
180
+ undefined,
181
+ ]
182
+ }
183
+ />
184
+ </View>
73
185
  `;
74
186
 
75
187
  exports[`StyledLoadingIndicator has outlined-danger style 1`] = `
76
188
  <View
77
189
  style={
78
- [
79
- {
80
- "backgroundColor": "#cb300a",
81
- "borderRadius": 8,
82
- "height": 12,
83
- "marginHorizontal": 8,
84
- "width": 12,
85
- },
86
- undefined,
87
- ]
190
+ {
191
+ "flex": 1,
192
+ }
88
193
  }
89
- themeVariant="outlined-danger"
90
- />
194
+ >
195
+ <View
196
+ style={
197
+ [
198
+ {
199
+ "backgroundColor": "#cb300a",
200
+ "borderRadius": 8,
201
+ "height": 12,
202
+ "marginHorizontal": 8,
203
+ "width": 12,
204
+ },
205
+ undefined,
206
+ ]
207
+ }
208
+ themeVariant="outlined-danger"
209
+ />
210
+ <View
211
+ pointerEvents="box-none"
212
+ position="bottom"
213
+ style={
214
+ [
215
+ {
216
+ "bottom": 0,
217
+ "elevation": 9999,
218
+ "flexDirection": "column-reverse",
219
+ "left": 0,
220
+ "paddingHorizontal": 24,
221
+ "paddingVertical": 16,
222
+ "position": "absolute",
223
+ "right": 0,
224
+ "top": 0,
225
+ },
226
+ undefined,
227
+ ]
228
+ }
229
+ />
230
+ </View>
91
231
  `;
92
232
 
93
233
  exports[`StyledLoadingIndicator has outlined-primary style 1`] = `
94
234
  <View
95
235
  style={
96
- [
97
- {
98
- "backgroundColor": "#401960",
99
- "borderRadius": 8,
100
- "height": 12,
101
- "marginHorizontal": 8,
102
- "width": 12,
103
- },
104
- undefined,
105
- ]
236
+ {
237
+ "flex": 1,
238
+ }
106
239
  }
107
- themeVariant="outlined-primary"
108
- />
240
+ >
241
+ <View
242
+ style={
243
+ [
244
+ {
245
+ "backgroundColor": "#401960",
246
+ "borderRadius": 8,
247
+ "height": 12,
248
+ "marginHorizontal": 8,
249
+ "width": 12,
250
+ },
251
+ undefined,
252
+ ]
253
+ }
254
+ themeVariant="outlined-primary"
255
+ />
256
+ <View
257
+ pointerEvents="box-none"
258
+ position="bottom"
259
+ style={
260
+ [
261
+ {
262
+ "bottom": 0,
263
+ "elevation": 9999,
264
+ "flexDirection": "column-reverse",
265
+ "left": 0,
266
+ "paddingHorizontal": 24,
267
+ "paddingVertical": 16,
268
+ "position": "absolute",
269
+ "right": 0,
270
+ "top": 0,
271
+ },
272
+ undefined,
273
+ ]
274
+ }
275
+ />
276
+ </View>
109
277
  `;
110
278
 
111
279
  exports[`StyledLoadingIndicator has outlined-secondary style 1`] = `
112
280
  <View
113
281
  style={
114
- [
115
- {
116
- "backgroundColor": "#795e90",
117
- "borderRadius": 8,
118
- "height": 12,
119
- "marginHorizontal": 8,
120
- "width": 12,
121
- },
122
- undefined,
123
- ]
282
+ {
283
+ "flex": 1,
284
+ }
124
285
  }
125
- themeVariant="outlined-secondary"
126
- />
286
+ >
287
+ <View
288
+ style={
289
+ [
290
+ {
291
+ "backgroundColor": "#795e90",
292
+ "borderRadius": 8,
293
+ "height": 12,
294
+ "marginHorizontal": 8,
295
+ "width": 12,
296
+ },
297
+ undefined,
298
+ ]
299
+ }
300
+ themeVariant="outlined-secondary"
301
+ />
302
+ <View
303
+ pointerEvents="box-none"
304
+ position="bottom"
305
+ style={
306
+ [
307
+ {
308
+ "bottom": 0,
309
+ "elevation": 9999,
310
+ "flexDirection": "column-reverse",
311
+ "left": 0,
312
+ "paddingHorizontal": 24,
313
+ "paddingVertical": 16,
314
+ "position": "absolute",
315
+ "right": 0,
316
+ "top": 0,
317
+ },
318
+ undefined,
319
+ ]
320
+ }
321
+ />
322
+ </View>
127
323
  `;
128
324
 
129
325
  exports[`StyledLoadingIndicator has text-danger style 1`] = `
130
326
  <View
131
327
  style={
132
- [
133
- {
134
- "backgroundColor": "#cb300a",
135
- "borderRadius": 8,
136
- "height": 12,
137
- "marginHorizontal": 8,
138
- "width": 12,
139
- },
140
- undefined,
141
- ]
328
+ {
329
+ "flex": 1,
330
+ }
142
331
  }
143
- themeVariant="text-danger"
144
- />
332
+ >
333
+ <View
334
+ style={
335
+ [
336
+ {
337
+ "backgroundColor": "#cb300a",
338
+ "borderRadius": 8,
339
+ "height": 12,
340
+ "marginHorizontal": 8,
341
+ "width": 12,
342
+ },
343
+ undefined,
344
+ ]
345
+ }
346
+ themeVariant="text-danger"
347
+ />
348
+ <View
349
+ pointerEvents="box-none"
350
+ position="bottom"
351
+ style={
352
+ [
353
+ {
354
+ "bottom": 0,
355
+ "elevation": 9999,
356
+ "flexDirection": "column-reverse",
357
+ "left": 0,
358
+ "paddingHorizontal": 24,
359
+ "paddingVertical": 16,
360
+ "position": "absolute",
361
+ "right": 0,
362
+ "top": 0,
363
+ },
364
+ undefined,
365
+ ]
366
+ }
367
+ />
368
+ </View>
145
369
  `;
146
370
 
147
371
  exports[`StyledLoadingIndicator has text-primary style 1`] = `
148
372
  <View
149
373
  style={
150
- [
151
- {
152
- "backgroundColor": "#795e90",
153
- "borderRadius": 8,
154
- "height": 12,
155
- "marginHorizontal": 8,
156
- "width": 12,
157
- },
158
- undefined,
159
- ]
374
+ {
375
+ "flex": 1,
376
+ }
160
377
  }
161
- themeVariant="text-primary"
162
- />
378
+ >
379
+ <View
380
+ style={
381
+ [
382
+ {
383
+ "backgroundColor": "#795e90",
384
+ "borderRadius": 8,
385
+ "height": 12,
386
+ "marginHorizontal": 8,
387
+ "width": 12,
388
+ },
389
+ undefined,
390
+ ]
391
+ }
392
+ themeVariant="text-primary"
393
+ />
394
+ <View
395
+ pointerEvents="box-none"
396
+ position="bottom"
397
+ style={
398
+ [
399
+ {
400
+ "bottom": 0,
401
+ "elevation": 9999,
402
+ "flexDirection": "column-reverse",
403
+ "left": 0,
404
+ "paddingHorizontal": 24,
405
+ "paddingVertical": 16,
406
+ "position": "absolute",
407
+ "right": 0,
408
+ "top": 0,
409
+ },
410
+ undefined,
411
+ ]
412
+ }
413
+ />
414
+ </View>
163
415
  `;
164
416
 
165
417
  exports[`StyledLoadingIndicator has text-secondary style 1`] = `
166
418
  <View
167
419
  style={
168
- [
169
- {
170
- "backgroundColor": "#795e90",
171
- "borderRadius": 8,
172
- "height": 12,
173
- "marginHorizontal": 8,
174
- "width": 12,
175
- },
176
- undefined,
177
- ]
420
+ {
421
+ "flex": 1,
422
+ }
178
423
  }
179
- themeVariant="text-secondary"
180
- />
424
+ >
425
+ <View
426
+ style={
427
+ [
428
+ {
429
+ "backgroundColor": "#795e90",
430
+ "borderRadius": 8,
431
+ "height": 12,
432
+ "marginHorizontal": 8,
433
+ "width": 12,
434
+ },
435
+ undefined,
436
+ ]
437
+ }
438
+ themeVariant="text-secondary"
439
+ />
440
+ <View
441
+ pointerEvents="box-none"
442
+ position="bottom"
443
+ style={
444
+ [
445
+ {
446
+ "bottom": 0,
447
+ "elevation": 9999,
448
+ "flexDirection": "column-reverse",
449
+ "left": 0,
450
+ "paddingHorizontal": 24,
451
+ "paddingVertical": 16,
452
+ "position": "absolute",
453
+ "right": 0,
454
+ "top": 0,
455
+ },
456
+ undefined,
457
+ ]
458
+ }
459
+ />
460
+ </View>
181
461
  `;