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