@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
@@ -1,353 +1,801 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`StyledBody has body intent style 1`] = `
4
- <Text
4
+ <View
5
5
  style={
6
- [
7
- {
8
- "color": "#001f23",
9
- "fontFamily": "BeVietnamPro-Regular",
10
- "fontSize": 16,
11
- "letterSpacing": 0.48,
12
- "lineHeight": 24,
13
- },
14
- undefined,
15
- ]
6
+ {
7
+ "flex": 1,
8
+ }
16
9
  }
17
- themeIntent="body"
18
- themeTypeface="neutral"
19
- themeVariant="regular"
20
10
  >
21
- This is a test
22
- </Text>
11
+ <Text
12
+ style={
13
+ [
14
+ {
15
+ "color": "#001f23",
16
+ "fontFamily": "BeVietnamPro-Regular",
17
+ "fontSize": 16,
18
+ "letterSpacing": 0.48,
19
+ "lineHeight": 24,
20
+ },
21
+ undefined,
22
+ ]
23
+ }
24
+ themeIntent="body"
25
+ themeTypeface="neutral"
26
+ themeVariant="regular"
27
+ >
28
+ This is a test
29
+ </Text>
30
+ <View
31
+ pointerEvents="box-none"
32
+ position="bottom"
33
+ style={
34
+ [
35
+ {
36
+ "bottom": 0,
37
+ "elevation": 9999,
38
+ "flexDirection": "column-reverse",
39
+ "left": 0,
40
+ "paddingHorizontal": 24,
41
+ "paddingVertical": 16,
42
+ "position": "absolute",
43
+ "right": 0,
44
+ "top": 0,
45
+ },
46
+ undefined,
47
+ ]
48
+ }
49
+ />
50
+ </View>
23
51
  `;
24
52
 
25
53
  exports[`StyledBody has danger intent style 1`] = `
26
- <Text
54
+ <View
27
55
  style={
28
- [
29
- {
30
- "color": "#f46363",
31
- "fontFamily": "BeVietnamPro-Regular",
32
- "fontSize": 16,
33
- "letterSpacing": 0.48,
34
- "lineHeight": 24,
35
- },
36
- undefined,
37
- ]
56
+ {
57
+ "flex": 1,
58
+ }
38
59
  }
39
- themeIntent="danger"
40
- themeTypeface="neutral"
41
- themeVariant="regular"
42
60
  >
43
- This is a test
44
- </Text>
61
+ <Text
62
+ style={
63
+ [
64
+ {
65
+ "color": "#f46363",
66
+ "fontFamily": "BeVietnamPro-Regular",
67
+ "fontSize": 16,
68
+ "letterSpacing": 0.48,
69
+ "lineHeight": 24,
70
+ },
71
+ undefined,
72
+ ]
73
+ }
74
+ themeIntent="danger"
75
+ themeTypeface="neutral"
76
+ themeVariant="regular"
77
+ >
78
+ This is a test
79
+ </Text>
80
+ <View
81
+ pointerEvents="box-none"
82
+ position="bottom"
83
+ style={
84
+ [
85
+ {
86
+ "bottom": 0,
87
+ "elevation": 9999,
88
+ "flexDirection": "column-reverse",
89
+ "left": 0,
90
+ "paddingHorizontal": 24,
91
+ "paddingVertical": 16,
92
+ "position": "absolute",
93
+ "right": 0,
94
+ "top": 0,
95
+ },
96
+ undefined,
97
+ ]
98
+ }
99
+ />
100
+ </View>
45
101
  `;
46
102
 
47
103
  exports[`StyledBody has info intent style 1`] = `
48
- <Text
104
+ <View
49
105
  style={
50
- [
51
- {
52
- "color": "#355bfb",
53
- "fontFamily": "BeVietnamPro-Regular",
54
- "fontSize": 16,
55
- "letterSpacing": 0.48,
56
- "lineHeight": 24,
57
- },
58
- undefined,
59
- ]
106
+ {
107
+ "flex": 1,
108
+ }
60
109
  }
61
- themeIntent="info"
62
- themeTypeface="neutral"
63
- themeVariant="regular"
64
110
  >
65
- This is a test
66
- </Text>
111
+ <Text
112
+ style={
113
+ [
114
+ {
115
+ "color": "#355bfb",
116
+ "fontFamily": "BeVietnamPro-Regular",
117
+ "fontSize": 16,
118
+ "letterSpacing": 0.48,
119
+ "lineHeight": 24,
120
+ },
121
+ undefined,
122
+ ]
123
+ }
124
+ themeIntent="info"
125
+ themeTypeface="neutral"
126
+ themeVariant="regular"
127
+ >
128
+ This is a test
129
+ </Text>
130
+ <View
131
+ pointerEvents="box-none"
132
+ position="bottom"
133
+ style={
134
+ [
135
+ {
136
+ "bottom": 0,
137
+ "elevation": 9999,
138
+ "flexDirection": "column-reverse",
139
+ "left": 0,
140
+ "paddingHorizontal": 24,
141
+ "paddingVertical": 16,
142
+ "position": "absolute",
143
+ "right": 0,
144
+ "top": 0,
145
+ },
146
+ undefined,
147
+ ]
148
+ }
149
+ />
150
+ </View>
67
151
  `;
68
152
 
69
153
  exports[`StyledBody has inverted intent style 1`] = `
70
- <Text
154
+ <View
71
155
  style={
72
- [
73
- {
74
- "color": "#ffffff",
75
- "fontFamily": "BeVietnamPro-Regular",
76
- "fontSize": 16,
77
- "letterSpacing": 0.48,
78
- "lineHeight": 24,
79
- },
80
- undefined,
81
- ]
156
+ {
157
+ "flex": 1,
158
+ }
82
159
  }
83
- themeIntent="inverted"
84
- themeTypeface="neutral"
85
- themeVariant="regular"
86
160
  >
87
- This is a test
88
- </Text>
161
+ <Text
162
+ style={
163
+ [
164
+ {
165
+ "color": "#ffffff",
166
+ "fontFamily": "BeVietnamPro-Regular",
167
+ "fontSize": 16,
168
+ "letterSpacing": 0.48,
169
+ "lineHeight": 24,
170
+ },
171
+ undefined,
172
+ ]
173
+ }
174
+ themeIntent="inverted"
175
+ themeTypeface="neutral"
176
+ themeVariant="regular"
177
+ >
178
+ This is a test
179
+ </Text>
180
+ <View
181
+ pointerEvents="box-none"
182
+ position="bottom"
183
+ style={
184
+ [
185
+ {
186
+ "bottom": 0,
187
+ "elevation": 9999,
188
+ "flexDirection": "column-reverse",
189
+ "left": 0,
190
+ "paddingHorizontal": 24,
191
+ "paddingVertical": 16,
192
+ "position": "absolute",
193
+ "right": 0,
194
+ "top": 0,
195
+ },
196
+ undefined,
197
+ ]
198
+ }
199
+ />
200
+ </View>
89
201
  `;
90
202
 
91
203
  exports[`StyledBody has primary intent style 1`] = `
92
- <Text
204
+ <View
93
205
  style={
94
- [
95
- {
96
- "color": "#401960",
97
- "fontFamily": "BeVietnamPro-Regular",
98
- "fontSize": 16,
99
- "letterSpacing": 0.48,
100
- "lineHeight": 24,
101
- },
102
- undefined,
103
- ]
206
+ {
207
+ "flex": 1,
208
+ }
104
209
  }
105
- themeIntent="primary"
106
- themeTypeface="neutral"
107
- themeVariant="regular"
108
210
  >
109
- This is a test
110
- </Text>
211
+ <Text
212
+ style={
213
+ [
214
+ {
215
+ "color": "#401960",
216
+ "fontFamily": "BeVietnamPro-Regular",
217
+ "fontSize": 16,
218
+ "letterSpacing": 0.48,
219
+ "lineHeight": 24,
220
+ },
221
+ undefined,
222
+ ]
223
+ }
224
+ themeIntent="primary"
225
+ themeTypeface="neutral"
226
+ themeVariant="regular"
227
+ >
228
+ This is a test
229
+ </Text>
230
+ <View
231
+ pointerEvents="box-none"
232
+ position="bottom"
233
+ style={
234
+ [
235
+ {
236
+ "bottom": 0,
237
+ "elevation": 9999,
238
+ "flexDirection": "column-reverse",
239
+ "left": 0,
240
+ "paddingHorizontal": 24,
241
+ "paddingVertical": 16,
242
+ "position": "absolute",
243
+ "right": 0,
244
+ "top": 0,
245
+ },
246
+ undefined,
247
+ ]
248
+ }
249
+ />
250
+ </View>
111
251
  `;
112
252
 
113
253
  exports[`StyledBody has regular variant and neutral typeface and $fontWeight fontWeight style 1`] = `
114
- <Text
254
+ <View
115
255
  style={
116
- [
117
- {
118
- "color": "#001f23",
119
- "fontFamily": "BeVietnamPro-Regular",
120
- "fontSize": 16,
121
- "letterSpacing": 0.48,
122
- "lineHeight": 24,
123
- },
124
- undefined,
125
- ]
256
+ {
257
+ "flex": 1,
258
+ }
126
259
  }
127
- themeIntent="body"
128
- themeTypeface="neutral"
129
- themeVariant="regular"
130
260
  >
131
- This is a test
132
- </Text>
261
+ <Text
262
+ style={
263
+ [
264
+ {
265
+ "color": "#001f23",
266
+ "fontFamily": "BeVietnamPro-Regular",
267
+ "fontSize": 16,
268
+ "letterSpacing": 0.48,
269
+ "lineHeight": 24,
270
+ },
271
+ undefined,
272
+ ]
273
+ }
274
+ themeIntent="body"
275
+ themeTypeface="neutral"
276
+ themeVariant="regular"
277
+ >
278
+ This is a test
279
+ </Text>
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
+ />
300
+ </View>
133
301
  `;
134
302
 
135
303
  exports[`StyledBody has regular variant and playful typeface and $fontWeight fontWeight style 1`] = `
136
- <Text
304
+ <View
137
305
  style={
138
- [
139
- {
140
- "color": "#001f23",
141
- "fontFamily": "BeVietnamPro-Regular",
142
- "fontSize": 18,
143
- "letterSpacing": 0.54,
144
- "lineHeight": 26,
145
- },
146
- undefined,
147
- ]
306
+ {
307
+ "flex": 1,
308
+ }
148
309
  }
149
- themeIntent="body"
150
- themeTypeface="playful"
151
- themeVariant="regular"
152
310
  >
153
- This is a test
154
- </Text>
311
+ <Text
312
+ style={
313
+ [
314
+ {
315
+ "color": "#001f23",
316
+ "fontFamily": "BeVietnamPro-Regular",
317
+ "fontSize": 18,
318
+ "letterSpacing": 0.54,
319
+ "lineHeight": 26,
320
+ },
321
+ undefined,
322
+ ]
323
+ }
324
+ themeIntent="body"
325
+ themeTypeface="playful"
326
+ themeVariant="regular"
327
+ >
328
+ This is a test
329
+ </Text>
330
+ <View
331
+ pointerEvents="box-none"
332
+ position="bottom"
333
+ style={
334
+ [
335
+ {
336
+ "bottom": 0,
337
+ "elevation": 9999,
338
+ "flexDirection": "column-reverse",
339
+ "left": 0,
340
+ "paddingHorizontal": 24,
341
+ "paddingVertical": 16,
342
+ "position": "absolute",
343
+ "right": 0,
344
+ "top": 0,
345
+ },
346
+ undefined,
347
+ ]
348
+ }
349
+ />
350
+ </View>
155
351
  `;
156
352
 
157
353
  exports[`StyledBody has regular-bold variant and neutral typeface and $fontWeight fontWeight style 1`] = `
158
- <Text
354
+ <View
159
355
  style={
160
- [
161
- {
162
- "color": "#001f23",
163
- "fontFamily": "BeVietnamPro-SemiBold",
164
- "fontSize": 16,
165
- "letterSpacing": 0.24,
166
- "lineHeight": 24,
167
- },
168
- undefined,
169
- ]
356
+ {
357
+ "flex": 1,
358
+ }
170
359
  }
171
- themeIntent="body"
172
- themeTypeface="neutral"
173
- themeVariant="regular-bold"
174
360
  >
175
- This is a test
176
- </Text>
361
+ <Text
362
+ style={
363
+ [
364
+ {
365
+ "color": "#001f23",
366
+ "fontFamily": "BeVietnamPro-SemiBold",
367
+ "fontSize": 16,
368
+ "letterSpacing": 0.24,
369
+ "lineHeight": 24,
370
+ },
371
+ undefined,
372
+ ]
373
+ }
374
+ themeIntent="body"
375
+ themeTypeface="neutral"
376
+ themeVariant="regular-bold"
377
+ >
378
+ This is a test
379
+ </Text>
380
+ <View
381
+ pointerEvents="box-none"
382
+ position="bottom"
383
+ style={
384
+ [
385
+ {
386
+ "bottom": 0,
387
+ "elevation": 9999,
388
+ "flexDirection": "column-reverse",
389
+ "left": 0,
390
+ "paddingHorizontal": 24,
391
+ "paddingVertical": 16,
392
+ "position": "absolute",
393
+ "right": 0,
394
+ "top": 0,
395
+ },
396
+ undefined,
397
+ ]
398
+ }
399
+ />
400
+ </View>
177
401
  `;
178
402
 
179
403
  exports[`StyledBody has regular-bold variant and playful typeface and $fontWeight fontWeight style 1`] = `
180
- <Text
404
+ <View
181
405
  style={
182
- [
183
- {
184
- "color": "#001f23",
185
- "fontFamily": "RebondGrotesque-SemiBold",
186
- "fontSize": 18,
187
- "letterSpacing": 0.54,
188
- "lineHeight": 26,
189
- },
190
- undefined,
191
- ]
406
+ {
407
+ "flex": 1,
408
+ }
192
409
  }
193
- themeIntent="body"
194
- themeTypeface="playful"
195
- themeVariant="regular-bold"
196
410
  >
197
- This is a test
198
- </Text>
411
+ <Text
412
+ style={
413
+ [
414
+ {
415
+ "color": "#001f23",
416
+ "fontFamily": "RebondGrotesque-SemiBold",
417
+ "fontSize": 18,
418
+ "letterSpacing": 0.54,
419
+ "lineHeight": 26,
420
+ },
421
+ undefined,
422
+ ]
423
+ }
424
+ themeIntent="body"
425
+ themeTypeface="playful"
426
+ themeVariant="regular-bold"
427
+ >
428
+ This is a test
429
+ </Text>
430
+ <View
431
+ pointerEvents="box-none"
432
+ position="bottom"
433
+ style={
434
+ [
435
+ {
436
+ "bottom": 0,
437
+ "elevation": 9999,
438
+ "flexDirection": "column-reverse",
439
+ "left": 0,
440
+ "paddingHorizontal": 24,
441
+ "paddingVertical": 16,
442
+ "position": "absolute",
443
+ "right": 0,
444
+ "top": 0,
445
+ },
446
+ undefined,
447
+ ]
448
+ }
449
+ />
450
+ </View>
199
451
  `;
200
452
 
201
453
  exports[`StyledBody has small variant and neutral typeface and $fontWeight fontWeight style 1`] = `
202
- <Text
454
+ <View
203
455
  style={
204
- [
205
- {
206
- "color": "#001f23",
207
- "fontFamily": "BeVietnamPro-Regular",
208
- "fontSize": 14,
209
- "letterSpacing": 0.48,
210
- "lineHeight": 22,
211
- },
212
- undefined,
213
- ]
456
+ {
457
+ "flex": 1,
458
+ }
214
459
  }
215
- themeIntent="body"
216
- themeTypeface="neutral"
217
- themeVariant="small"
218
460
  >
219
- This is a test
220
- </Text>
461
+ <Text
462
+ style={
463
+ [
464
+ {
465
+ "color": "#001f23",
466
+ "fontFamily": "BeVietnamPro-Regular",
467
+ "fontSize": 14,
468
+ "letterSpacing": 0.48,
469
+ "lineHeight": 22,
470
+ },
471
+ undefined,
472
+ ]
473
+ }
474
+ themeIntent="body"
475
+ themeTypeface="neutral"
476
+ themeVariant="small"
477
+ >
478
+ This is a test
479
+ </Text>
480
+ <View
481
+ pointerEvents="box-none"
482
+ position="bottom"
483
+ style={
484
+ [
485
+ {
486
+ "bottom": 0,
487
+ "elevation": 9999,
488
+ "flexDirection": "column-reverse",
489
+ "left": 0,
490
+ "paddingHorizontal": 24,
491
+ "paddingVertical": 16,
492
+ "position": "absolute",
493
+ "right": 0,
494
+ "top": 0,
495
+ },
496
+ undefined,
497
+ ]
498
+ }
499
+ />
500
+ </View>
221
501
  `;
222
502
 
223
503
  exports[`StyledBody has small variant and playful typeface and $fontWeight fontWeight style 1`] = `
224
- <Text
504
+ <View
225
505
  style={
226
- [
227
- {
228
- "color": "#001f23",
229
- "fontFamily": "BeVietnamPro-Regular",
230
- "fontSize": 16,
231
- "letterSpacing": 0.54,
232
- "lineHeight": 24,
233
- },
234
- undefined,
235
- ]
506
+ {
507
+ "flex": 1,
508
+ }
236
509
  }
237
- themeIntent="body"
238
- themeTypeface="playful"
239
- themeVariant="small"
240
510
  >
241
- This is a test
242
- </Text>
511
+ <Text
512
+ style={
513
+ [
514
+ {
515
+ "color": "#001f23",
516
+ "fontFamily": "BeVietnamPro-Regular",
517
+ "fontSize": 16,
518
+ "letterSpacing": 0.54,
519
+ "lineHeight": 24,
520
+ },
521
+ undefined,
522
+ ]
523
+ }
524
+ themeIntent="body"
525
+ themeTypeface="playful"
526
+ themeVariant="small"
527
+ >
528
+ This is a test
529
+ </Text>
530
+ <View
531
+ pointerEvents="box-none"
532
+ position="bottom"
533
+ style={
534
+ [
535
+ {
536
+ "bottom": 0,
537
+ "elevation": 9999,
538
+ "flexDirection": "column-reverse",
539
+ "left": 0,
540
+ "paddingHorizontal": 24,
541
+ "paddingVertical": 16,
542
+ "position": "absolute",
543
+ "right": 0,
544
+ "top": 0,
545
+ },
546
+ undefined,
547
+ ]
548
+ }
549
+ />
550
+ </View>
243
551
  `;
244
552
 
245
553
  exports[`StyledBody has small-bold variant and neutral typeface and $fontWeight fontWeight style 1`] = `
246
- <Text
554
+ <View
247
555
  style={
248
- [
249
- {
250
- "color": "#001f23",
251
- "fontFamily": "BeVietnamPro-SemiBold",
252
- "fontSize": 14,
253
- "letterSpacing": 0.24,
254
- "lineHeight": 22,
255
- },
256
- undefined,
257
- ]
556
+ {
557
+ "flex": 1,
558
+ }
258
559
  }
259
- themeIntent="body"
260
- themeTypeface="neutral"
261
- themeVariant="small-bold"
262
560
  >
263
- This is a test
264
- </Text>
561
+ <Text
562
+ style={
563
+ [
564
+ {
565
+ "color": "#001f23",
566
+ "fontFamily": "BeVietnamPro-SemiBold",
567
+ "fontSize": 14,
568
+ "letterSpacing": 0.24,
569
+ "lineHeight": 22,
570
+ },
571
+ undefined,
572
+ ]
573
+ }
574
+ themeIntent="body"
575
+ themeTypeface="neutral"
576
+ themeVariant="small-bold"
577
+ >
578
+ This is a test
579
+ </Text>
580
+ <View
581
+ pointerEvents="box-none"
582
+ position="bottom"
583
+ style={
584
+ [
585
+ {
586
+ "bottom": 0,
587
+ "elevation": 9999,
588
+ "flexDirection": "column-reverse",
589
+ "left": 0,
590
+ "paddingHorizontal": 24,
591
+ "paddingVertical": 16,
592
+ "position": "absolute",
593
+ "right": 0,
594
+ "top": 0,
595
+ },
596
+ undefined,
597
+ ]
598
+ }
599
+ />
600
+ </View>
265
601
  `;
266
602
 
267
603
  exports[`StyledBody has small-bold variant and playful typeface and $fontWeight fontWeight style 1`] = `
268
- <Text
604
+ <View
269
605
  style={
270
- [
271
- {
272
- "color": "#001f23",
273
- "fontFamily": "RebondGrotesque-SemiBold",
274
- "fontSize": 16,
275
- "letterSpacing": 0.54,
276
- "lineHeight": 24,
277
- },
278
- undefined,
279
- ]
606
+ {
607
+ "flex": 1,
608
+ }
280
609
  }
281
- themeIntent="body"
282
- themeTypeface="playful"
283
- themeVariant="small-bold"
284
610
  >
285
- This is a test
286
- </Text>
611
+ <Text
612
+ style={
613
+ [
614
+ {
615
+ "color": "#001f23",
616
+ "fontFamily": "RebondGrotesque-SemiBold",
617
+ "fontSize": 16,
618
+ "letterSpacing": 0.54,
619
+ "lineHeight": 24,
620
+ },
621
+ undefined,
622
+ ]
623
+ }
624
+ themeIntent="body"
625
+ themeTypeface="playful"
626
+ themeVariant="small-bold"
627
+ >
628
+ This is a test
629
+ </Text>
630
+ <View
631
+ pointerEvents="box-none"
632
+ position="bottom"
633
+ style={
634
+ [
635
+ {
636
+ "bottom": 0,
637
+ "elevation": 9999,
638
+ "flexDirection": "column-reverse",
639
+ "left": 0,
640
+ "paddingHorizontal": 24,
641
+ "paddingVertical": 16,
642
+ "position": "absolute",
643
+ "right": 0,
644
+ "top": 0,
645
+ },
646
+ undefined,
647
+ ]
648
+ }
649
+ />
650
+ </View>
287
651
  `;
288
652
 
289
653
  exports[`StyledBody has subdued intent style 1`] = `
290
- <Text
654
+ <View
291
655
  style={
292
- [
293
- {
294
- "color": "#4d6265",
295
- "fontFamily": "BeVietnamPro-Regular",
296
- "fontSize": 16,
297
- "letterSpacing": 0.48,
298
- "lineHeight": 24,
299
- },
300
- undefined,
301
- ]
656
+ {
657
+ "flex": 1,
658
+ }
302
659
  }
303
- themeIntent="subdued"
304
- themeTypeface="neutral"
305
- themeVariant="regular"
306
660
  >
307
- This is a test
308
- </Text>
661
+ <Text
662
+ style={
663
+ [
664
+ {
665
+ "color": "#4d6265",
666
+ "fontFamily": "BeVietnamPro-Regular",
667
+ "fontSize": 16,
668
+ "letterSpacing": 0.48,
669
+ "lineHeight": 24,
670
+ },
671
+ undefined,
672
+ ]
673
+ }
674
+ themeIntent="subdued"
675
+ themeTypeface="neutral"
676
+ themeVariant="regular"
677
+ >
678
+ This is a test
679
+ </Text>
680
+ <View
681
+ pointerEvents="box-none"
682
+ position="bottom"
683
+ style={
684
+ [
685
+ {
686
+ "bottom": 0,
687
+ "elevation": 9999,
688
+ "flexDirection": "column-reverse",
689
+ "left": 0,
690
+ "paddingHorizontal": 24,
691
+ "paddingVertical": 16,
692
+ "position": "absolute",
693
+ "right": 0,
694
+ "top": 0,
695
+ },
696
+ undefined,
697
+ ]
698
+ }
699
+ />
700
+ </View>
309
701
  `;
310
702
 
311
703
  exports[`StyledBody has success intent style 1`] = `
312
- <Text
704
+ <View
313
705
  style={
314
- [
315
- {
316
- "color": "#5ace7d",
317
- "fontFamily": "BeVietnamPro-Regular",
318
- "fontSize": 16,
319
- "letterSpacing": 0.48,
320
- "lineHeight": 24,
321
- },
322
- undefined,
323
- ]
706
+ {
707
+ "flex": 1,
708
+ }
324
709
  }
325
- themeIntent="success"
326
- themeTypeface="neutral"
327
- themeVariant="regular"
328
710
  >
329
- This is a test
330
- </Text>
711
+ <Text
712
+ style={
713
+ [
714
+ {
715
+ "color": "#5ace7d",
716
+ "fontFamily": "BeVietnamPro-Regular",
717
+ "fontSize": 16,
718
+ "letterSpacing": 0.48,
719
+ "lineHeight": 24,
720
+ },
721
+ undefined,
722
+ ]
723
+ }
724
+ themeIntent="success"
725
+ themeTypeface="neutral"
726
+ themeVariant="regular"
727
+ >
728
+ This is a test
729
+ </Text>
730
+ <View
731
+ pointerEvents="box-none"
732
+ position="bottom"
733
+ style={
734
+ [
735
+ {
736
+ "bottom": 0,
737
+ "elevation": 9999,
738
+ "flexDirection": "column-reverse",
739
+ "left": 0,
740
+ "paddingHorizontal": 24,
741
+ "paddingVertical": 16,
742
+ "position": "absolute",
743
+ "right": 0,
744
+ "top": 0,
745
+ },
746
+ undefined,
747
+ ]
748
+ }
749
+ />
750
+ </View>
331
751
  `;
332
752
 
333
753
  exports[`StyledBody has warning intent style 1`] = `
334
- <Text
754
+ <View
335
755
  style={
336
- [
337
- {
338
- "color": "#ffbe71",
339
- "fontFamily": "BeVietnamPro-Regular",
340
- "fontSize": 16,
341
- "letterSpacing": 0.48,
342
- "lineHeight": 24,
343
- },
344
- undefined,
345
- ]
756
+ {
757
+ "flex": 1,
758
+ }
346
759
  }
347
- themeIntent="warning"
348
- themeTypeface="neutral"
349
- themeVariant="regular"
350
760
  >
351
- This is a test
352
- </Text>
761
+ <Text
762
+ style={
763
+ [
764
+ {
765
+ "color": "#ffbe71",
766
+ "fontFamily": "BeVietnamPro-Regular",
767
+ "fontSize": 16,
768
+ "letterSpacing": 0.48,
769
+ "lineHeight": 24,
770
+ },
771
+ undefined,
772
+ ]
773
+ }
774
+ themeIntent="warning"
775
+ themeTypeface="neutral"
776
+ themeVariant="regular"
777
+ >
778
+ This is a test
779
+ </Text>
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>
353
801
  `;