@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,530 +1,1174 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`Title has archived intent style 1`] = `
4
- <Text
5
- allowFontScaling={false}
4
+ <View
6
5
  style={
7
- [
8
- {
9
- "color": "#606065",
10
- "fontFamily": "BeVietnamPro-Regular",
11
- "fontSize": 42,
12
- "letterSpacing": 0,
13
- "lineHeight": 50,
14
- },
15
- undefined,
16
- ]
6
+ {
7
+ "flex": 1,
8
+ }
17
9
  }
18
- themeIntent="archived"
19
- themeLevel="h1"
20
- themeTypeface="neutral"
21
10
  >
22
- This is a test
23
- </Text>
11
+ <Text
12
+ allowFontScaling={false}
13
+ style={
14
+ [
15
+ {
16
+ "color": "#606065",
17
+ "fontFamily": "BeVietnamPro-Regular",
18
+ "fontSize": 42,
19
+ "letterSpacing": 0,
20
+ "lineHeight": 50,
21
+ },
22
+ undefined,
23
+ ]
24
+ }
25
+ themeIntent="archived"
26
+ themeLevel="h1"
27
+ themeTypeface="neutral"
28
+ >
29
+ This is a test
30
+ </Text>
31
+ <View
32
+ pointerEvents="box-none"
33
+ position="bottom"
34
+ style={
35
+ [
36
+ {
37
+ "bottom": 0,
38
+ "elevation": 9999,
39
+ "flexDirection": "column-reverse",
40
+ "left": 0,
41
+ "paddingHorizontal": 24,
42
+ "paddingVertical": 16,
43
+ "position": "absolute",
44
+ "right": 0,
45
+ "top": 0,
46
+ },
47
+ undefined,
48
+ ]
49
+ }
50
+ />
51
+ </View>
24
52
  `;
25
53
 
26
54
  exports[`Title has body intent style 1`] = `
27
- <Text
28
- allowFontScaling={false}
55
+ <View
29
56
  style={
30
- [
31
- {
32
- "color": "#001f23",
33
- "fontFamily": "BeVietnamPro-Regular",
34
- "fontSize": 42,
35
- "letterSpacing": 0,
36
- "lineHeight": 50,
37
- },
38
- undefined,
39
- ]
57
+ {
58
+ "flex": 1,
59
+ }
40
60
  }
41
- themeIntent="body"
42
- themeLevel="h1"
43
- themeTypeface="neutral"
44
61
  >
45
- This is a test
46
- </Text>
62
+ <Text
63
+ allowFontScaling={false}
64
+ style={
65
+ [
66
+ {
67
+ "color": "#001f23",
68
+ "fontFamily": "BeVietnamPro-Regular",
69
+ "fontSize": 42,
70
+ "letterSpacing": 0,
71
+ "lineHeight": 50,
72
+ },
73
+ undefined,
74
+ ]
75
+ }
76
+ themeIntent="body"
77
+ themeLevel="h1"
78
+ themeTypeface="neutral"
79
+ >
80
+ This is a test
81
+ </Text>
82
+ <View
83
+ pointerEvents="box-none"
84
+ position="bottom"
85
+ style={
86
+ [
87
+ {
88
+ "bottom": 0,
89
+ "elevation": 9999,
90
+ "flexDirection": "column-reverse",
91
+ "left": 0,
92
+ "paddingHorizontal": 24,
93
+ "paddingVertical": 16,
94
+ "position": "absolute",
95
+ "right": 0,
96
+ "top": 0,
97
+ },
98
+ undefined,
99
+ ]
100
+ }
101
+ />
102
+ </View>
47
103
  `;
48
104
 
49
105
  exports[`Title has danger intent style 1`] = `
50
- <Text
51
- allowFontScaling={false}
106
+ <View
52
107
  style={
53
- [
54
- {
55
- "color": "#f46363",
56
- "fontFamily": "BeVietnamPro-Regular",
57
- "fontSize": 42,
58
- "letterSpacing": 0,
59
- "lineHeight": 50,
60
- },
61
- undefined,
62
- ]
108
+ {
109
+ "flex": 1,
110
+ }
63
111
  }
64
- themeIntent="danger"
65
- themeLevel="h1"
66
- themeTypeface="neutral"
67
112
  >
68
- This is a test
69
- </Text>
113
+ <Text
114
+ allowFontScaling={false}
115
+ style={
116
+ [
117
+ {
118
+ "color": "#f46363",
119
+ "fontFamily": "BeVietnamPro-Regular",
120
+ "fontSize": 42,
121
+ "letterSpacing": 0,
122
+ "lineHeight": 50,
123
+ },
124
+ undefined,
125
+ ]
126
+ }
127
+ themeIntent="danger"
128
+ themeLevel="h1"
129
+ themeTypeface="neutral"
130
+ >
131
+ This is a test
132
+ </Text>
133
+ <View
134
+ pointerEvents="box-none"
135
+ position="bottom"
136
+ style={
137
+ [
138
+ {
139
+ "bottom": 0,
140
+ "elevation": 9999,
141
+ "flexDirection": "column-reverse",
142
+ "left": 0,
143
+ "paddingHorizontal": 24,
144
+ "paddingVertical": 16,
145
+ "position": "absolute",
146
+ "right": 0,
147
+ "top": 0,
148
+ },
149
+ undefined,
150
+ ]
151
+ }
152
+ />
153
+ </View>
70
154
  `;
71
155
 
72
156
  exports[`Title has disabled intent style 1`] = `
73
- <Text
74
- allowFontScaling={false}
157
+ <View
75
158
  style={
76
- [
77
- {
78
- "color": "#bfc1c5",
79
- "fontFamily": "BeVietnamPro-Regular",
80
- "fontSize": 42,
81
- "letterSpacing": 0,
82
- "lineHeight": 50,
83
- },
84
- undefined,
85
- ]
159
+ {
160
+ "flex": 1,
161
+ }
86
162
  }
87
- themeIntent="disabled"
88
- themeLevel="h1"
89
- themeTypeface="neutral"
90
163
  >
91
- This is a test
92
- </Text>
164
+ <Text
165
+ allowFontScaling={false}
166
+ style={
167
+ [
168
+ {
169
+ "color": "#bfc1c5",
170
+ "fontFamily": "BeVietnamPro-Regular",
171
+ "fontSize": 42,
172
+ "letterSpacing": 0,
173
+ "lineHeight": 50,
174
+ },
175
+ undefined,
176
+ ]
177
+ }
178
+ themeIntent="disabled"
179
+ themeLevel="h1"
180
+ themeTypeface="neutral"
181
+ >
182
+ This is a test
183
+ </Text>
184
+ <View
185
+ pointerEvents="box-none"
186
+ position="bottom"
187
+ style={
188
+ [
189
+ {
190
+ "bottom": 0,
191
+ "elevation": 9999,
192
+ "flexDirection": "column-reverse",
193
+ "left": 0,
194
+ "paddingHorizontal": 24,
195
+ "paddingVertical": 16,
196
+ "position": "absolute",
197
+ "right": 0,
198
+ "top": 0,
199
+ },
200
+ undefined,
201
+ ]
202
+ }
203
+ />
204
+ </View>
93
205
  `;
94
206
 
95
207
  exports[`Title has h1 level and neutral typeface style 1`] = `
96
- <Text
97
- allowFontScaling={false}
208
+ <View
98
209
  style={
99
- [
100
- {
101
- "color": "#001f23",
102
- "fontFamily": "BeVietnamPro-Regular",
103
- "fontSize": 42,
104
- "letterSpacing": 0,
105
- "lineHeight": 50,
106
- },
107
- undefined,
108
- ]
210
+ {
211
+ "flex": 1,
212
+ }
109
213
  }
110
- themeIntent="body"
111
- themeLevel="h1"
112
- themeTypeface="neutral"
113
214
  >
114
- This is a test
115
- </Text>
215
+ <Text
216
+ allowFontScaling={false}
217
+ style={
218
+ [
219
+ {
220
+ "color": "#001f23",
221
+ "fontFamily": "BeVietnamPro-Regular",
222
+ "fontSize": 42,
223
+ "letterSpacing": 0,
224
+ "lineHeight": 50,
225
+ },
226
+ undefined,
227
+ ]
228
+ }
229
+ themeIntent="body"
230
+ themeLevel="h1"
231
+ themeTypeface="neutral"
232
+ >
233
+ This is a test
234
+ </Text>
235
+ <View
236
+ pointerEvents="box-none"
237
+ position="bottom"
238
+ style={
239
+ [
240
+ {
241
+ "bottom": 0,
242
+ "elevation": 9999,
243
+ "flexDirection": "column-reverse",
244
+ "left": 0,
245
+ "paddingHorizontal": 24,
246
+ "paddingVertical": 16,
247
+ "position": "absolute",
248
+ "right": 0,
249
+ "top": 0,
250
+ },
251
+ undefined,
252
+ ]
253
+ }
254
+ />
255
+ </View>
116
256
  `;
117
257
 
118
258
  exports[`Title has h1 level and playful typeface style 1`] = `
119
- <Text
120
- allowFontScaling={false}
259
+ <View
121
260
  style={
122
- [
123
- {
124
- "color": "#001f23",
125
- "fontFamily": "RebondGrotesque-SemiBold",
126
- "fontSize": 36,
127
- "letterSpacing": 1.5,
128
- "lineHeight": 44,
129
- },
130
- undefined,
131
- ]
261
+ {
262
+ "flex": 1,
263
+ }
132
264
  }
133
- themeIntent="body"
134
- themeLevel="h1"
135
- themeTypeface="playful"
136
265
  >
137
- This is a test
138
- </Text>
266
+ <Text
267
+ allowFontScaling={false}
268
+ style={
269
+ [
270
+ {
271
+ "color": "#001f23",
272
+ "fontFamily": "RebondGrotesque-SemiBold",
273
+ "fontSize": 36,
274
+ "letterSpacing": 1.5,
275
+ "lineHeight": 44,
276
+ },
277
+ undefined,
278
+ ]
279
+ }
280
+ themeIntent="body"
281
+ themeLevel="h1"
282
+ themeTypeface="playful"
283
+ >
284
+ This is a test
285
+ </Text>
286
+ <View
287
+ pointerEvents="box-none"
288
+ position="bottom"
289
+ style={
290
+ [
291
+ {
292
+ "bottom": 0,
293
+ "elevation": 9999,
294
+ "flexDirection": "column-reverse",
295
+ "left": 0,
296
+ "paddingHorizontal": 24,
297
+ "paddingVertical": 16,
298
+ "position": "absolute",
299
+ "right": 0,
300
+ "top": 0,
301
+ },
302
+ undefined,
303
+ ]
304
+ }
305
+ />
306
+ </View>
139
307
  `;
140
308
 
141
309
  exports[`Title has h2 level and neutral typeface style 1`] = `
142
- <Text
143
- allowFontScaling={false}
310
+ <View
144
311
  style={
145
- [
146
- {
147
- "color": "#001f23",
148
- "fontFamily": "BeVietnamPro-SemiBold",
149
- "fontSize": 32,
150
- "letterSpacing": 1.5,
151
- "lineHeight": 40,
152
- },
153
- undefined,
154
- ]
312
+ {
313
+ "flex": 1,
314
+ }
155
315
  }
156
- themeIntent="body"
157
- themeLevel="h2"
158
- themeTypeface="neutral"
159
316
  >
160
- This is a test
161
- </Text>
317
+ <Text
318
+ allowFontScaling={false}
319
+ style={
320
+ [
321
+ {
322
+ "color": "#001f23",
323
+ "fontFamily": "BeVietnamPro-SemiBold",
324
+ "fontSize": 32,
325
+ "letterSpacing": 1.5,
326
+ "lineHeight": 40,
327
+ },
328
+ undefined,
329
+ ]
330
+ }
331
+ themeIntent="body"
332
+ themeLevel="h2"
333
+ themeTypeface="neutral"
334
+ >
335
+ This is a test
336
+ </Text>
337
+ <View
338
+ pointerEvents="box-none"
339
+ position="bottom"
340
+ style={
341
+ [
342
+ {
343
+ "bottom": 0,
344
+ "elevation": 9999,
345
+ "flexDirection": "column-reverse",
346
+ "left": 0,
347
+ "paddingHorizontal": 24,
348
+ "paddingVertical": 16,
349
+ "position": "absolute",
350
+ "right": 0,
351
+ "top": 0,
352
+ },
353
+ undefined,
354
+ ]
355
+ }
356
+ />
357
+ </View>
162
358
  `;
163
359
 
164
360
  exports[`Title has h2 level and playful typeface style 1`] = `
165
- <Text
166
- allowFontScaling={false}
361
+ <View
167
362
  style={
168
- [
169
- {
170
- "color": "#001f23",
171
- "fontFamily": "RebondGrotesque-SemiBold",
172
- "fontSize": 32,
173
- "letterSpacing": 1.5,
174
- "lineHeight": 40,
175
- },
176
- undefined,
177
- ]
363
+ {
364
+ "flex": 1,
365
+ }
178
366
  }
179
- themeIntent="body"
180
- themeLevel="h2"
181
- themeTypeface="playful"
182
367
  >
183
- This is a test
184
- </Text>
368
+ <Text
369
+ allowFontScaling={false}
370
+ style={
371
+ [
372
+ {
373
+ "color": "#001f23",
374
+ "fontFamily": "RebondGrotesque-SemiBold",
375
+ "fontSize": 32,
376
+ "letterSpacing": 1.5,
377
+ "lineHeight": 40,
378
+ },
379
+ undefined,
380
+ ]
381
+ }
382
+ themeIntent="body"
383
+ themeLevel="h2"
384
+ themeTypeface="playful"
385
+ >
386
+ This is a test
387
+ </Text>
388
+ <View
389
+ pointerEvents="box-none"
390
+ position="bottom"
391
+ style={
392
+ [
393
+ {
394
+ "bottom": 0,
395
+ "elevation": 9999,
396
+ "flexDirection": "column-reverse",
397
+ "left": 0,
398
+ "paddingHorizontal": 24,
399
+ "paddingVertical": 16,
400
+ "position": "absolute",
401
+ "right": 0,
402
+ "top": 0,
403
+ },
404
+ undefined,
405
+ ]
406
+ }
407
+ />
408
+ </View>
185
409
  `;
186
410
 
187
411
  exports[`Title has h3 level and neutral typeface style 1`] = `
188
- <Text
189
- allowFontScaling={false}
412
+ <View
190
413
  style={
191
- [
192
- {
193
- "color": "#001f23",
194
- "fontFamily": "BeVietnamPro-SemiBold",
195
- "fontSize": 28,
196
- "letterSpacing": 0.24,
197
- "lineHeight": 36,
198
- },
199
- undefined,
200
- ]
414
+ {
415
+ "flex": 1,
416
+ }
201
417
  }
202
- themeIntent="body"
203
- themeLevel="h3"
204
- themeTypeface="neutral"
205
418
  >
206
- This is a test
207
- </Text>
419
+ <Text
420
+ allowFontScaling={false}
421
+ style={
422
+ [
423
+ {
424
+ "color": "#001f23",
425
+ "fontFamily": "BeVietnamPro-SemiBold",
426
+ "fontSize": 28,
427
+ "letterSpacing": 0.24,
428
+ "lineHeight": 36,
429
+ },
430
+ undefined,
431
+ ]
432
+ }
433
+ themeIntent="body"
434
+ themeLevel="h3"
435
+ themeTypeface="neutral"
436
+ >
437
+ This is a test
438
+ </Text>
439
+ <View
440
+ pointerEvents="box-none"
441
+ position="bottom"
442
+ style={
443
+ [
444
+ {
445
+ "bottom": 0,
446
+ "elevation": 9999,
447
+ "flexDirection": "column-reverse",
448
+ "left": 0,
449
+ "paddingHorizontal": 24,
450
+ "paddingVertical": 16,
451
+ "position": "absolute",
452
+ "right": 0,
453
+ "top": 0,
454
+ },
455
+ undefined,
456
+ ]
457
+ }
458
+ />
459
+ </View>
208
460
  `;
209
461
 
210
462
  exports[`Title has h3 level and playful typeface style 1`] = `
211
- <Text
212
- allowFontScaling={false}
463
+ <View
213
464
  style={
214
- [
215
- {
216
- "color": "#001f23",
217
- "fontFamily": "RebondGrotesque-SemiBold",
218
- "fontSize": 28,
219
- "letterSpacing": 0.24,
220
- "lineHeight": 36,
221
- },
222
- undefined,
223
- ]
465
+ {
466
+ "flex": 1,
467
+ }
224
468
  }
225
- themeIntent="body"
226
- themeLevel="h3"
227
- themeTypeface="playful"
228
469
  >
229
- This is a test
230
- </Text>
470
+ <Text
471
+ allowFontScaling={false}
472
+ style={
473
+ [
474
+ {
475
+ "color": "#001f23",
476
+ "fontFamily": "RebondGrotesque-SemiBold",
477
+ "fontSize": 28,
478
+ "letterSpacing": 0.24,
479
+ "lineHeight": 36,
480
+ },
481
+ undefined,
482
+ ]
483
+ }
484
+ themeIntent="body"
485
+ themeLevel="h3"
486
+ themeTypeface="playful"
487
+ >
488
+ This is a test
489
+ </Text>
490
+ <View
491
+ pointerEvents="box-none"
492
+ position="bottom"
493
+ style={
494
+ [
495
+ {
496
+ "bottom": 0,
497
+ "elevation": 9999,
498
+ "flexDirection": "column-reverse",
499
+ "left": 0,
500
+ "paddingHorizontal": 24,
501
+ "paddingVertical": 16,
502
+ "position": "absolute",
503
+ "right": 0,
504
+ "top": 0,
505
+ },
506
+ undefined,
507
+ ]
508
+ }
509
+ />
510
+ </View>
231
511
  `;
232
512
 
233
513
  exports[`Title has h4 level and neutral typeface style 1`] = `
234
- <Text
235
- allowFontScaling={false}
514
+ <View
236
515
  style={
237
- [
238
- {
239
- "color": "#001f23",
240
- "fontFamily": "BeVietnamPro-SemiBold",
241
- "fontSize": 24,
242
- "letterSpacing": 0,
243
- "lineHeight": 32,
244
- },
245
- undefined,
246
- ]
516
+ {
517
+ "flex": 1,
518
+ }
247
519
  }
248
- themeIntent="body"
249
- themeLevel="h4"
250
- themeTypeface="neutral"
251
520
  >
252
- This is a test
253
- </Text>
521
+ <Text
522
+ allowFontScaling={false}
523
+ style={
524
+ [
525
+ {
526
+ "color": "#001f23",
527
+ "fontFamily": "BeVietnamPro-SemiBold",
528
+ "fontSize": 24,
529
+ "letterSpacing": 0,
530
+ "lineHeight": 32,
531
+ },
532
+ undefined,
533
+ ]
534
+ }
535
+ themeIntent="body"
536
+ themeLevel="h4"
537
+ themeTypeface="neutral"
538
+ >
539
+ This is a test
540
+ </Text>
541
+ <View
542
+ pointerEvents="box-none"
543
+ position="bottom"
544
+ style={
545
+ [
546
+ {
547
+ "bottom": 0,
548
+ "elevation": 9999,
549
+ "flexDirection": "column-reverse",
550
+ "left": 0,
551
+ "paddingHorizontal": 24,
552
+ "paddingVertical": 16,
553
+ "position": "absolute",
554
+ "right": 0,
555
+ "top": 0,
556
+ },
557
+ undefined,
558
+ ]
559
+ }
560
+ />
561
+ </View>
254
562
  `;
255
563
 
256
564
  exports[`Title has h4 level and playful typeface style 1`] = `
257
- <Text
258
- allowFontScaling={false}
565
+ <View
259
566
  style={
260
- [
261
- {
262
- "color": "#001f23",
263
- "fontFamily": "RebondGrotesque-SemiBold",
264
- "fontSize": 24,
265
- "letterSpacing": 0.24,
266
- "lineHeight": 32,
267
- },
268
- undefined,
269
- ]
567
+ {
568
+ "flex": 1,
569
+ }
270
570
  }
271
- themeIntent="body"
272
- themeLevel="h4"
273
- themeTypeface="playful"
274
571
  >
275
- This is a test
276
- </Text>
572
+ <Text
573
+ allowFontScaling={false}
574
+ style={
575
+ [
576
+ {
577
+ "color": "#001f23",
578
+ "fontFamily": "RebondGrotesque-SemiBold",
579
+ "fontSize": 24,
580
+ "letterSpacing": 0.24,
581
+ "lineHeight": 32,
582
+ },
583
+ undefined,
584
+ ]
585
+ }
586
+ themeIntent="body"
587
+ themeLevel="h4"
588
+ themeTypeface="playful"
589
+ >
590
+ This is a test
591
+ </Text>
592
+ <View
593
+ pointerEvents="box-none"
594
+ position="bottom"
595
+ style={
596
+ [
597
+ {
598
+ "bottom": 0,
599
+ "elevation": 9999,
600
+ "flexDirection": "column-reverse",
601
+ "left": 0,
602
+ "paddingHorizontal": 24,
603
+ "paddingVertical": 16,
604
+ "position": "absolute",
605
+ "right": 0,
606
+ "top": 0,
607
+ },
608
+ undefined,
609
+ ]
610
+ }
611
+ />
612
+ </View>
277
613
  `;
278
614
 
279
615
  exports[`Title has h5 level and neutral typeface style 1`] = `
280
- <Text
281
- allowFontScaling={false}
616
+ <View
282
617
  style={
283
- [
284
- {
285
- "color": "#001f23",
286
- "fontFamily": "BeVietnamPro-SemiBold",
287
- "fontSize": 18,
288
- "letterSpacing": 0.24,
289
- "lineHeight": 28,
290
- },
291
- undefined,
292
- ]
618
+ {
619
+ "flex": 1,
620
+ }
293
621
  }
294
- themeIntent="body"
295
- themeLevel="h5"
296
- themeTypeface="neutral"
297
622
  >
298
- This is a test
299
- </Text>
623
+ <Text
624
+ allowFontScaling={false}
625
+ style={
626
+ [
627
+ {
628
+ "color": "#001f23",
629
+ "fontFamily": "BeVietnamPro-SemiBold",
630
+ "fontSize": 18,
631
+ "letterSpacing": 0.24,
632
+ "lineHeight": 28,
633
+ },
634
+ undefined,
635
+ ]
636
+ }
637
+ themeIntent="body"
638
+ themeLevel="h5"
639
+ themeTypeface="neutral"
640
+ >
641
+ This is a test
642
+ </Text>
643
+ <View
644
+ pointerEvents="box-none"
645
+ position="bottom"
646
+ style={
647
+ [
648
+ {
649
+ "bottom": 0,
650
+ "elevation": 9999,
651
+ "flexDirection": "column-reverse",
652
+ "left": 0,
653
+ "paddingHorizontal": 24,
654
+ "paddingVertical": 16,
655
+ "position": "absolute",
656
+ "right": 0,
657
+ "top": 0,
658
+ },
659
+ undefined,
660
+ ]
661
+ }
662
+ />
663
+ </View>
300
664
  `;
301
665
 
302
666
  exports[`Title has h5 level and playful typeface style 1`] = `
303
- <Text
304
- allowFontScaling={false}
667
+ <View
305
668
  style={
306
- [
307
- {
308
- "color": "#001f23",
309
- "fontFamily": "RebondGrotesque-SemiBold",
310
- "fontSize": 18,
311
- "letterSpacing": 0.24,
312
- "lineHeight": 26,
313
- },
314
- undefined,
315
- ]
669
+ {
670
+ "flex": 1,
671
+ }
316
672
  }
317
- themeIntent="body"
318
- themeLevel="h5"
319
- themeTypeface="playful"
320
673
  >
321
- This is a test
322
- </Text>
674
+ <Text
675
+ allowFontScaling={false}
676
+ style={
677
+ [
678
+ {
679
+ "color": "#001f23",
680
+ "fontFamily": "RebondGrotesque-SemiBold",
681
+ "fontSize": 18,
682
+ "letterSpacing": 0.24,
683
+ "lineHeight": 26,
684
+ },
685
+ undefined,
686
+ ]
687
+ }
688
+ themeIntent="body"
689
+ themeLevel="h5"
690
+ themeTypeface="playful"
691
+ >
692
+ This is a test
693
+ </Text>
694
+ <View
695
+ pointerEvents="box-none"
696
+ position="bottom"
697
+ style={
698
+ [
699
+ {
700
+ "bottom": 0,
701
+ "elevation": 9999,
702
+ "flexDirection": "column-reverse",
703
+ "left": 0,
704
+ "paddingHorizontal": 24,
705
+ "paddingVertical": 16,
706
+ "position": "absolute",
707
+ "right": 0,
708
+ "top": 0,
709
+ },
710
+ undefined,
711
+ ]
712
+ }
713
+ />
714
+ </View>
323
715
  `;
324
716
 
325
717
  exports[`Title has h6 level and neutral typeface style 1`] = `
326
- <Text
327
- allowFontScaling={false}
718
+ <View
328
719
  style={
329
- [
330
- {
331
- "color": "#001f23",
332
- "fontFamily": "BeVietnamPro-Regular",
333
- "fontSize": 18,
334
- "letterSpacing": 0.48,
335
- "lineHeight": 28,
336
- },
337
- undefined,
338
- ]
720
+ {
721
+ "flex": 1,
722
+ }
339
723
  }
340
- themeIntent="body"
341
- themeLevel="h6"
342
- themeTypeface="neutral"
343
724
  >
344
- This is a test
345
- </Text>
725
+ <Text
726
+ allowFontScaling={false}
727
+ style={
728
+ [
729
+ {
730
+ "color": "#001f23",
731
+ "fontFamily": "BeVietnamPro-Regular",
732
+ "fontSize": 18,
733
+ "letterSpacing": 0.48,
734
+ "lineHeight": 28,
735
+ },
736
+ undefined,
737
+ ]
738
+ }
739
+ themeIntent="body"
740
+ themeLevel="h6"
741
+ themeTypeface="neutral"
742
+ >
743
+ This is a test
744
+ </Text>
745
+ <View
746
+ pointerEvents="box-none"
747
+ position="bottom"
748
+ style={
749
+ [
750
+ {
751
+ "bottom": 0,
752
+ "elevation": 9999,
753
+ "flexDirection": "column-reverse",
754
+ "left": 0,
755
+ "paddingHorizontal": 24,
756
+ "paddingVertical": 16,
757
+ "position": "absolute",
758
+ "right": 0,
759
+ "top": 0,
760
+ },
761
+ undefined,
762
+ ]
763
+ }
764
+ />
765
+ </View>
346
766
  `;
347
767
 
348
768
  exports[`Title has h6 level and playful typeface style 1`] = `
349
- <Text
350
- allowFontScaling={false}
769
+ <View
351
770
  style={
352
- [
353
- {
354
- "color": "#001f23",
355
- "fontFamily": "RebondGrotesque",
356
- "fontSize": 16,
357
- "letterSpacing": 0.48,
358
- "lineHeight": 28,
359
- },
360
- undefined,
361
- ]
771
+ {
772
+ "flex": 1,
773
+ }
362
774
  }
363
- themeIntent="body"
364
- themeLevel="h6"
365
- themeTypeface="playful"
366
775
  >
367
- This is a test
368
- </Text>
776
+ <Text
777
+ allowFontScaling={false}
778
+ style={
779
+ [
780
+ {
781
+ "color": "#001f23",
782
+ "fontFamily": "RebondGrotesque",
783
+ "fontSize": 16,
784
+ "letterSpacing": 0.48,
785
+ "lineHeight": 28,
786
+ },
787
+ undefined,
788
+ ]
789
+ }
790
+ themeIntent="body"
791
+ themeLevel="h6"
792
+ themeTypeface="playful"
793
+ >
794
+ This is a test
795
+ </Text>
796
+ <View
797
+ pointerEvents="box-none"
798
+ position="bottom"
799
+ style={
800
+ [
801
+ {
802
+ "bottom": 0,
803
+ "elevation": 9999,
804
+ "flexDirection": "column-reverse",
805
+ "left": 0,
806
+ "paddingHorizontal": 24,
807
+ "paddingVertical": 16,
808
+ "position": "absolute",
809
+ "right": 0,
810
+ "top": 0,
811
+ },
812
+ undefined,
813
+ ]
814
+ }
815
+ />
816
+ </View>
369
817
  `;
370
818
 
371
819
  exports[`Title has info intent style 1`] = `
372
- <Text
373
- allowFontScaling={false}
820
+ <View
374
821
  style={
375
- [
376
- {
377
- "color": "#355bfb",
378
- "fontFamily": "BeVietnamPro-Regular",
379
- "fontSize": 42,
380
- "letterSpacing": 0,
381
- "lineHeight": 50,
382
- },
383
- undefined,
384
- ]
822
+ {
823
+ "flex": 1,
824
+ }
385
825
  }
386
- themeIntent="info"
387
- themeLevel="h1"
388
- themeTypeface="neutral"
389
826
  >
390
- This is a test
391
- </Text>
827
+ <Text
828
+ allowFontScaling={false}
829
+ style={
830
+ [
831
+ {
832
+ "color": "#355bfb",
833
+ "fontFamily": "BeVietnamPro-Regular",
834
+ "fontSize": 42,
835
+ "letterSpacing": 0,
836
+ "lineHeight": 50,
837
+ },
838
+ undefined,
839
+ ]
840
+ }
841
+ themeIntent="info"
842
+ themeLevel="h1"
843
+ themeTypeface="neutral"
844
+ >
845
+ This is a test
846
+ </Text>
847
+ <View
848
+ pointerEvents="box-none"
849
+ position="bottom"
850
+ style={
851
+ [
852
+ {
853
+ "bottom": 0,
854
+ "elevation": 9999,
855
+ "flexDirection": "column-reverse",
856
+ "left": 0,
857
+ "paddingHorizontal": 24,
858
+ "paddingVertical": 16,
859
+ "position": "absolute",
860
+ "right": 0,
861
+ "top": 0,
862
+ },
863
+ undefined,
864
+ ]
865
+ }
866
+ />
867
+ </View>
392
868
  `;
393
869
 
394
870
  exports[`Title has inverted intent style 1`] = `
395
- <Text
396
- allowFontScaling={false}
871
+ <View
397
872
  style={
398
- [
399
- {
400
- "color": "#ffffff",
401
- "fontFamily": "BeVietnamPro-Regular",
402
- "fontSize": 42,
403
- "letterSpacing": 0,
404
- "lineHeight": 50,
405
- },
406
- undefined,
407
- ]
873
+ {
874
+ "flex": 1,
875
+ }
408
876
  }
409
- themeIntent="inverted"
410
- themeLevel="h1"
411
- themeTypeface="neutral"
412
877
  >
413
- This is a test
414
- </Text>
878
+ <Text
879
+ allowFontScaling={false}
880
+ style={
881
+ [
882
+ {
883
+ "color": "#ffffff",
884
+ "fontFamily": "BeVietnamPro-Regular",
885
+ "fontSize": 42,
886
+ "letterSpacing": 0,
887
+ "lineHeight": 50,
888
+ },
889
+ undefined,
890
+ ]
891
+ }
892
+ themeIntent="inverted"
893
+ themeLevel="h1"
894
+ themeTypeface="neutral"
895
+ >
896
+ This is a test
897
+ </Text>
898
+ <View
899
+ pointerEvents="box-none"
900
+ position="bottom"
901
+ style={
902
+ [
903
+ {
904
+ "bottom": 0,
905
+ "elevation": 9999,
906
+ "flexDirection": "column-reverse",
907
+ "left": 0,
908
+ "paddingHorizontal": 24,
909
+ "paddingVertical": 16,
910
+ "position": "absolute",
911
+ "right": 0,
912
+ "top": 0,
913
+ },
914
+ undefined,
915
+ ]
916
+ }
917
+ />
918
+ </View>
415
919
  `;
416
920
 
417
921
  exports[`Title has primary intent style 1`] = `
418
- <Text
419
- allowFontScaling={false}
922
+ <View
420
923
  style={
421
- [
422
- {
423
- "color": "#401960",
424
- "fontFamily": "BeVietnamPro-Regular",
425
- "fontSize": 42,
426
- "letterSpacing": 0,
427
- "lineHeight": 50,
428
- },
429
- undefined,
430
- ]
924
+ {
925
+ "flex": 1,
926
+ }
431
927
  }
432
- themeIntent="primary"
433
- themeLevel="h1"
434
- themeTypeface="neutral"
435
928
  >
436
- This is a test
437
- </Text>
929
+ <Text
930
+ allowFontScaling={false}
931
+ style={
932
+ [
933
+ {
934
+ "color": "#401960",
935
+ "fontFamily": "BeVietnamPro-Regular",
936
+ "fontSize": 42,
937
+ "letterSpacing": 0,
938
+ "lineHeight": 50,
939
+ },
940
+ undefined,
941
+ ]
942
+ }
943
+ themeIntent="primary"
944
+ themeLevel="h1"
945
+ themeTypeface="neutral"
946
+ >
947
+ This is a test
948
+ </Text>
949
+ <View
950
+ pointerEvents="box-none"
951
+ position="bottom"
952
+ style={
953
+ [
954
+ {
955
+ "bottom": 0,
956
+ "elevation": 9999,
957
+ "flexDirection": "column-reverse",
958
+ "left": 0,
959
+ "paddingHorizontal": 24,
960
+ "paddingVertical": 16,
961
+ "position": "absolute",
962
+ "right": 0,
963
+ "top": 0,
964
+ },
965
+ undefined,
966
+ ]
967
+ }
968
+ />
969
+ </View>
438
970
  `;
439
971
 
440
972
  exports[`Title has secondary intent style 1`] = `
441
- <Text
442
- allowFontScaling={false}
973
+ <View
443
974
  style={
444
- [
445
- {
446
- "color": "#795e90",
447
- "fontFamily": "BeVietnamPro-Regular",
448
- "fontSize": 42,
449
- "letterSpacing": 0,
450
- "lineHeight": 50,
451
- },
452
- undefined,
453
- ]
975
+ {
976
+ "flex": 1,
977
+ }
454
978
  }
455
- themeIntent="secondary"
456
- themeLevel="h1"
457
- themeTypeface="neutral"
458
979
  >
459
- This is a test
460
- </Text>
980
+ <Text
981
+ allowFontScaling={false}
982
+ style={
983
+ [
984
+ {
985
+ "color": "#795e90",
986
+ "fontFamily": "BeVietnamPro-Regular",
987
+ "fontSize": 42,
988
+ "letterSpacing": 0,
989
+ "lineHeight": 50,
990
+ },
991
+ undefined,
992
+ ]
993
+ }
994
+ themeIntent="secondary"
995
+ themeLevel="h1"
996
+ themeTypeface="neutral"
997
+ >
998
+ This is a test
999
+ </Text>
1000
+ <View
1001
+ pointerEvents="box-none"
1002
+ position="bottom"
1003
+ style={
1004
+ [
1005
+ {
1006
+ "bottom": 0,
1007
+ "elevation": 9999,
1008
+ "flexDirection": "column-reverse",
1009
+ "left": 0,
1010
+ "paddingHorizontal": 24,
1011
+ "paddingVertical": 16,
1012
+ "position": "absolute",
1013
+ "right": 0,
1014
+ "top": 0,
1015
+ },
1016
+ undefined,
1017
+ ]
1018
+ }
1019
+ />
1020
+ </View>
461
1021
  `;
462
1022
 
463
1023
  exports[`Title has subdued intent style 1`] = `
464
- <Text
465
- allowFontScaling={false}
1024
+ <View
466
1025
  style={
467
- [
468
- {
469
- "color": "#4d6265",
470
- "fontFamily": "BeVietnamPro-Regular",
471
- "fontSize": 42,
472
- "letterSpacing": 0,
473
- "lineHeight": 50,
474
- },
475
- undefined,
476
- ]
1026
+ {
1027
+ "flex": 1,
1028
+ }
477
1029
  }
478
- themeIntent="subdued"
479
- themeLevel="h1"
480
- themeTypeface="neutral"
481
1030
  >
482
- This is a test
483
- </Text>
1031
+ <Text
1032
+ allowFontScaling={false}
1033
+ style={
1034
+ [
1035
+ {
1036
+ "color": "#4d6265",
1037
+ "fontFamily": "BeVietnamPro-Regular",
1038
+ "fontSize": 42,
1039
+ "letterSpacing": 0,
1040
+ "lineHeight": 50,
1041
+ },
1042
+ undefined,
1043
+ ]
1044
+ }
1045
+ themeIntent="subdued"
1046
+ themeLevel="h1"
1047
+ themeTypeface="neutral"
1048
+ >
1049
+ This is a test
1050
+ </Text>
1051
+ <View
1052
+ pointerEvents="box-none"
1053
+ position="bottom"
1054
+ style={
1055
+ [
1056
+ {
1057
+ "bottom": 0,
1058
+ "elevation": 9999,
1059
+ "flexDirection": "column-reverse",
1060
+ "left": 0,
1061
+ "paddingHorizontal": 24,
1062
+ "paddingVertical": 16,
1063
+ "position": "absolute",
1064
+ "right": 0,
1065
+ "top": 0,
1066
+ },
1067
+ undefined,
1068
+ ]
1069
+ }
1070
+ />
1071
+ </View>
484
1072
  `;
485
1073
 
486
1074
  exports[`Title has success intent style 1`] = `
487
- <Text
488
- allowFontScaling={false}
1075
+ <View
489
1076
  style={
490
- [
491
- {
492
- "color": "#5ace7d",
493
- "fontFamily": "BeVietnamPro-Regular",
494
- "fontSize": 42,
495
- "letterSpacing": 0,
496
- "lineHeight": 50,
497
- },
498
- undefined,
499
- ]
1077
+ {
1078
+ "flex": 1,
1079
+ }
500
1080
  }
501
- themeIntent="success"
502
- themeLevel="h1"
503
- themeTypeface="neutral"
504
1081
  >
505
- This is a test
506
- </Text>
1082
+ <Text
1083
+ allowFontScaling={false}
1084
+ style={
1085
+ [
1086
+ {
1087
+ "color": "#5ace7d",
1088
+ "fontFamily": "BeVietnamPro-Regular",
1089
+ "fontSize": 42,
1090
+ "letterSpacing": 0,
1091
+ "lineHeight": 50,
1092
+ },
1093
+ undefined,
1094
+ ]
1095
+ }
1096
+ themeIntent="success"
1097
+ themeLevel="h1"
1098
+ themeTypeface="neutral"
1099
+ >
1100
+ This is a test
1101
+ </Text>
1102
+ <View
1103
+ pointerEvents="box-none"
1104
+ position="bottom"
1105
+ style={
1106
+ [
1107
+ {
1108
+ "bottom": 0,
1109
+ "elevation": 9999,
1110
+ "flexDirection": "column-reverse",
1111
+ "left": 0,
1112
+ "paddingHorizontal": 24,
1113
+ "paddingVertical": 16,
1114
+ "position": "absolute",
1115
+ "right": 0,
1116
+ "top": 0,
1117
+ },
1118
+ undefined,
1119
+ ]
1120
+ }
1121
+ />
1122
+ </View>
507
1123
  `;
508
1124
 
509
1125
  exports[`Title has warning intent style 1`] = `
510
- <Text
511
- allowFontScaling={false}
1126
+ <View
512
1127
  style={
513
- [
514
- {
515
- "color": "#ffbe71",
516
- "fontFamily": "BeVietnamPro-Regular",
517
- "fontSize": 42,
518
- "letterSpacing": 0,
519
- "lineHeight": 50,
520
- },
521
- undefined,
522
- ]
1128
+ {
1129
+ "flex": 1,
1130
+ }
523
1131
  }
524
- themeIntent="warning"
525
- themeLevel="h1"
526
- themeTypeface="neutral"
527
1132
  >
528
- This is a test
529
- </Text>
1133
+ <Text
1134
+ allowFontScaling={false}
1135
+ style={
1136
+ [
1137
+ {
1138
+ "color": "#ffbe71",
1139
+ "fontFamily": "BeVietnamPro-Regular",
1140
+ "fontSize": 42,
1141
+ "letterSpacing": 0,
1142
+ "lineHeight": 50,
1143
+ },
1144
+ undefined,
1145
+ ]
1146
+ }
1147
+ themeIntent="warning"
1148
+ themeLevel="h1"
1149
+ themeTypeface="neutral"
1150
+ >
1151
+ This is a test
1152
+ </Text>
1153
+ <View
1154
+ pointerEvents="box-none"
1155
+ position="bottom"
1156
+ style={
1157
+ [
1158
+ {
1159
+ "bottom": 0,
1160
+ "elevation": 9999,
1161
+ "flexDirection": "column-reverse",
1162
+ "left": 0,
1163
+ "paddingHorizontal": 24,
1164
+ "paddingVertical": 16,
1165
+ "position": "absolute",
1166
+ "right": 0,
1167
+ "top": 0,
1168
+ },
1169
+ undefined,
1170
+ ]
1171
+ }
1172
+ />
1173
+ </View>
530
1174
  `;