@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
@@ -2,990 +2,1886 @@
2
2
 
3
3
  exports[`StyledButtonContainer has filled-danger style 1`] = `
4
4
  <View
5
- accessibilityValue={
5
+ style={
6
6
  {
7
- "max": undefined,
8
- "min": undefined,
9
- "now": undefined,
10
- "text": undefined,
7
+ "flex": 1,
11
8
  }
12
9
  }
13
- accessible={true}
14
- focusable={false}
15
- onClick={[Function]}
16
- onResponderGrant={[Function]}
17
- onResponderMove={[Function]}
18
- onResponderRelease={[Function]}
19
- onResponderTerminate={[Function]}
20
- onResponderTerminationRequest={[Function]}
21
- onStartShouldSetResponder={[Function]}
22
- style={
23
- [
10
+ >
11
+ <View
12
+ accessibilityValue={
24
13
  {
25
- "alignItems": "center",
26
- "alignSelf": "stretch",
27
- "backgroundColor": "#cb300a",
28
- "borderRadius": 32,
29
- "flexDirection": "row",
30
- "height": 60,
31
- "justifyContent": "center",
32
- "padding": 16,
33
- },
34
- undefined,
35
- ]
36
- }
37
- >
38
- <Text>
39
- Title
40
- </Text>
14
+ "max": undefined,
15
+ "min": undefined,
16
+ "now": undefined,
17
+ "text": undefined,
18
+ }
19
+ }
20
+ accessible={true}
21
+ focusable={false}
22
+ onClick={[Function]}
23
+ onResponderGrant={[Function]}
24
+ onResponderMove={[Function]}
25
+ onResponderRelease={[Function]}
26
+ onResponderTerminate={[Function]}
27
+ onResponderTerminationRequest={[Function]}
28
+ onStartShouldSetResponder={[Function]}
29
+ style={
30
+ [
31
+ {
32
+ "alignItems": "center",
33
+ "alignSelf": "stretch",
34
+ "backgroundColor": "#cb300a",
35
+ "borderRadius": 32,
36
+ "flexDirection": "row",
37
+ "height": 60,
38
+ "justifyContent": "center",
39
+ "padding": 16,
40
+ },
41
+ undefined,
42
+ ]
43
+ }
44
+ >
45
+ <Text>
46
+ Title
47
+ </Text>
48
+ </View>
49
+ <View
50
+ pointerEvents="box-none"
51
+ position="bottom"
52
+ style={
53
+ [
54
+ {
55
+ "bottom": 0,
56
+ "elevation": 9999,
57
+ "flexDirection": "column-reverse",
58
+ "left": 0,
59
+ "paddingHorizontal": 24,
60
+ "paddingVertical": 16,
61
+ "position": "absolute",
62
+ "right": 0,
63
+ "top": 0,
64
+ },
65
+ undefined,
66
+ ]
67
+ }
68
+ />
41
69
  </View>
42
70
  `;
43
71
 
44
72
  exports[`StyledButtonContainer has filled-primary style 1`] = `
45
73
  <View
46
- accessibilityValue={
74
+ style={
47
75
  {
48
- "max": undefined,
49
- "min": undefined,
50
- "now": undefined,
51
- "text": undefined,
76
+ "flex": 1,
52
77
  }
53
78
  }
54
- accessible={true}
55
- focusable={false}
56
- onClick={[Function]}
57
- onResponderGrant={[Function]}
58
- onResponderMove={[Function]}
59
- onResponderRelease={[Function]}
60
- onResponderTerminate={[Function]}
61
- onResponderTerminationRequest={[Function]}
62
- onStartShouldSetResponder={[Function]}
63
- style={
64
- [
79
+ >
80
+ <View
81
+ accessibilityValue={
65
82
  {
66
- "alignItems": "center",
67
- "alignSelf": "stretch",
68
- "backgroundColor": "#401960",
69
- "borderRadius": 32,
70
- "flexDirection": "row",
71
- "height": 60,
72
- "justifyContent": "center",
73
- "padding": 16,
74
- },
75
- undefined,
76
- ]
77
- }
78
- >
79
- <Text>
80
- Title
81
- </Text>
83
+ "max": undefined,
84
+ "min": undefined,
85
+ "now": undefined,
86
+ "text": undefined,
87
+ }
88
+ }
89
+ accessible={true}
90
+ focusable={false}
91
+ onClick={[Function]}
92
+ onResponderGrant={[Function]}
93
+ onResponderMove={[Function]}
94
+ onResponderRelease={[Function]}
95
+ onResponderTerminate={[Function]}
96
+ onResponderTerminationRequest={[Function]}
97
+ onStartShouldSetResponder={[Function]}
98
+ style={
99
+ [
100
+ {
101
+ "alignItems": "center",
102
+ "alignSelf": "stretch",
103
+ "backgroundColor": "#401960",
104
+ "borderRadius": 32,
105
+ "flexDirection": "row",
106
+ "height": 60,
107
+ "justifyContent": "center",
108
+ "padding": 16,
109
+ },
110
+ undefined,
111
+ ]
112
+ }
113
+ >
114
+ <Text>
115
+ Title
116
+ </Text>
117
+ </View>
118
+ <View
119
+ pointerEvents="box-none"
120
+ position="bottom"
121
+ style={
122
+ [
123
+ {
124
+ "bottom": 0,
125
+ "elevation": 9999,
126
+ "flexDirection": "column-reverse",
127
+ "left": 0,
128
+ "paddingHorizontal": 24,
129
+ "paddingVertical": 16,
130
+ "position": "absolute",
131
+ "right": 0,
132
+ "top": 0,
133
+ },
134
+ undefined,
135
+ ]
136
+ }
137
+ />
82
138
  </View>
83
139
  `;
84
140
 
85
141
  exports[`StyledButtonContainer has filled-secondary style 1`] = `
86
142
  <View
87
- accessibilityValue={
143
+ style={
88
144
  {
89
- "max": undefined,
90
- "min": undefined,
91
- "now": undefined,
92
- "text": undefined,
145
+ "flex": 1,
93
146
  }
94
147
  }
95
- accessible={true}
96
- focusable={false}
97
- onClick={[Function]}
98
- onResponderGrant={[Function]}
99
- onResponderMove={[Function]}
100
- onResponderRelease={[Function]}
101
- onResponderTerminate={[Function]}
102
- onResponderTerminationRequest={[Function]}
103
- onStartShouldSetResponder={[Function]}
104
- style={
105
- [
148
+ >
149
+ <View
150
+ accessibilityValue={
106
151
  {
107
- "alignItems": "center",
108
- "alignSelf": "stretch",
109
- "backgroundColor": "#795e90",
110
- "borderRadius": 32,
111
- "flexDirection": "row",
112
- "height": 60,
113
- "justifyContent": "center",
114
- "padding": 16,
115
- },
116
- undefined,
117
- ]
118
- }
119
- >
120
- <Text>
121
- Title
122
- </Text>
152
+ "max": undefined,
153
+ "min": undefined,
154
+ "now": undefined,
155
+ "text": undefined,
156
+ }
157
+ }
158
+ accessible={true}
159
+ focusable={false}
160
+ onClick={[Function]}
161
+ onResponderGrant={[Function]}
162
+ onResponderMove={[Function]}
163
+ onResponderRelease={[Function]}
164
+ onResponderTerminate={[Function]}
165
+ onResponderTerminationRequest={[Function]}
166
+ onStartShouldSetResponder={[Function]}
167
+ style={
168
+ [
169
+ {
170
+ "alignItems": "center",
171
+ "alignSelf": "stretch",
172
+ "backgroundColor": "#795e90",
173
+ "borderRadius": 32,
174
+ "flexDirection": "row",
175
+ "height": 60,
176
+ "justifyContent": "center",
177
+ "padding": 16,
178
+ },
179
+ undefined,
180
+ ]
181
+ }
182
+ >
183
+ <Text>
184
+ Title
185
+ </Text>
186
+ </View>
187
+ <View
188
+ pointerEvents="box-none"
189
+ position="bottom"
190
+ style={
191
+ [
192
+ {
193
+ "bottom": 0,
194
+ "elevation": 9999,
195
+ "flexDirection": "column-reverse",
196
+ "left": 0,
197
+ "paddingHorizontal": 24,
198
+ "paddingVertical": 16,
199
+ "position": "absolute",
200
+ "right": 0,
201
+ "top": 0,
202
+ },
203
+ undefined,
204
+ ]
205
+ }
206
+ />
123
207
  </View>
124
208
  `;
125
209
 
126
210
  exports[`StyledButtonContainer has outlined-danger style 1`] = `
127
211
  <View
128
- accessibilityValue={
212
+ style={
129
213
  {
130
- "max": undefined,
131
- "min": undefined,
132
- "now": undefined,
133
- "text": undefined,
214
+ "flex": 1,
134
215
  }
135
216
  }
136
- accessible={true}
137
- focusable={false}
138
- onClick={[Function]}
139
- onResponderGrant={[Function]}
140
- onResponderMove={[Function]}
141
- onResponderRelease={[Function]}
142
- onResponderTerminate={[Function]}
143
- onResponderTerminationRequest={[Function]}
144
- onStartShouldSetResponder={[Function]}
145
- style={
146
- [
217
+ >
218
+ <View
219
+ accessibilityValue={
147
220
  {
148
- "alignItems": "center",
149
- "alignSelf": "stretch",
150
- "backgroundColor": "transparent",
151
- "borderColor": "#cb300a",
152
- "borderRadius": 32,
153
- "borderWidth": 2,
154
- "flexDirection": "row",
155
- "height": 60,
156
- "justifyContent": "center",
157
- "padding": 14,
158
- },
159
- undefined,
160
- ]
161
- }
162
- >
163
- <Text>
164
- Title
165
- </Text>
221
+ "max": undefined,
222
+ "min": undefined,
223
+ "now": undefined,
224
+ "text": undefined,
225
+ }
226
+ }
227
+ accessible={true}
228
+ focusable={false}
229
+ onClick={[Function]}
230
+ onResponderGrant={[Function]}
231
+ onResponderMove={[Function]}
232
+ onResponderRelease={[Function]}
233
+ onResponderTerminate={[Function]}
234
+ onResponderTerminationRequest={[Function]}
235
+ onStartShouldSetResponder={[Function]}
236
+ style={
237
+ [
238
+ {
239
+ "alignItems": "center",
240
+ "alignSelf": "stretch",
241
+ "backgroundColor": "transparent",
242
+ "borderColor": "#cb300a",
243
+ "borderRadius": 32,
244
+ "borderWidth": 2,
245
+ "flexDirection": "row",
246
+ "height": 60,
247
+ "justifyContent": "center",
248
+ "padding": 14,
249
+ },
250
+ undefined,
251
+ ]
252
+ }
253
+ >
254
+ <Text>
255
+ Title
256
+ </Text>
257
+ </View>
258
+ <View
259
+ pointerEvents="box-none"
260
+ position="bottom"
261
+ style={
262
+ [
263
+ {
264
+ "bottom": 0,
265
+ "elevation": 9999,
266
+ "flexDirection": "column-reverse",
267
+ "left": 0,
268
+ "paddingHorizontal": 24,
269
+ "paddingVertical": 16,
270
+ "position": "absolute",
271
+ "right": 0,
272
+ "top": 0,
273
+ },
274
+ undefined,
275
+ ]
276
+ }
277
+ />
166
278
  </View>
167
279
  `;
168
280
 
169
281
  exports[`StyledButtonContainer has outlined-primary style 1`] = `
170
282
  <View
171
- accessibilityValue={
283
+ style={
172
284
  {
173
- "max": undefined,
174
- "min": undefined,
175
- "now": undefined,
176
- "text": undefined,
285
+ "flex": 1,
177
286
  }
178
287
  }
179
- accessible={true}
180
- focusable={false}
181
- onClick={[Function]}
182
- onResponderGrant={[Function]}
183
- onResponderMove={[Function]}
184
- onResponderRelease={[Function]}
185
- onResponderTerminate={[Function]}
186
- onResponderTerminationRequest={[Function]}
187
- onStartShouldSetResponder={[Function]}
188
- style={
189
- [
288
+ >
289
+ <View
290
+ accessibilityValue={
190
291
  {
191
- "alignItems": "center",
192
- "alignSelf": "stretch",
193
- "backgroundColor": "transparent",
194
- "borderColor": "#401960",
195
- "borderRadius": 32,
196
- "borderWidth": 2,
197
- "flexDirection": "row",
198
- "height": 60,
199
- "justifyContent": "center",
200
- "padding": 14,
201
- },
202
- undefined,
203
- ]
204
- }
205
- >
206
- <Text>
207
- Title
208
- </Text>
292
+ "max": undefined,
293
+ "min": undefined,
294
+ "now": undefined,
295
+ "text": undefined,
296
+ }
297
+ }
298
+ accessible={true}
299
+ focusable={false}
300
+ onClick={[Function]}
301
+ onResponderGrant={[Function]}
302
+ onResponderMove={[Function]}
303
+ onResponderRelease={[Function]}
304
+ onResponderTerminate={[Function]}
305
+ onResponderTerminationRequest={[Function]}
306
+ onStartShouldSetResponder={[Function]}
307
+ style={
308
+ [
309
+ {
310
+ "alignItems": "center",
311
+ "alignSelf": "stretch",
312
+ "backgroundColor": "transparent",
313
+ "borderColor": "#401960",
314
+ "borderRadius": 32,
315
+ "borderWidth": 2,
316
+ "flexDirection": "row",
317
+ "height": 60,
318
+ "justifyContent": "center",
319
+ "padding": 14,
320
+ },
321
+ undefined,
322
+ ]
323
+ }
324
+ >
325
+ <Text>
326
+ Title
327
+ </Text>
328
+ </View>
329
+ <View
330
+ pointerEvents="box-none"
331
+ position="bottom"
332
+ style={
333
+ [
334
+ {
335
+ "bottom": 0,
336
+ "elevation": 9999,
337
+ "flexDirection": "column-reverse",
338
+ "left": 0,
339
+ "paddingHorizontal": 24,
340
+ "paddingVertical": 16,
341
+ "position": "absolute",
342
+ "right": 0,
343
+ "top": 0,
344
+ },
345
+ undefined,
346
+ ]
347
+ }
348
+ />
209
349
  </View>
210
350
  `;
211
351
 
212
352
  exports[`StyledButtonContainer has outlined-secondary style 1`] = `
213
353
  <View
214
- accessibilityValue={
354
+ style={
215
355
  {
216
- "max": undefined,
217
- "min": undefined,
218
- "now": undefined,
219
- "text": undefined,
356
+ "flex": 1,
220
357
  }
221
358
  }
222
- accessible={true}
223
- focusable={false}
224
- onClick={[Function]}
225
- onResponderGrant={[Function]}
226
- onResponderMove={[Function]}
227
- onResponderRelease={[Function]}
228
- onResponderTerminate={[Function]}
229
- onResponderTerminationRequest={[Function]}
230
- onStartShouldSetResponder={[Function]}
231
- style={
232
- [
359
+ >
360
+ <View
361
+ accessibilityValue={
233
362
  {
234
- "alignItems": "center",
235
- "alignSelf": "stretch",
236
- "backgroundColor": "transparent",
237
- "borderColor": "#795e90",
238
- "borderRadius": 32,
239
- "borderWidth": 2,
240
- "flexDirection": "row",
241
- "height": 60,
242
- "justifyContent": "center",
243
- "padding": 14,
244
- },
245
- undefined,
246
- ]
247
- }
248
- >
249
- <Text>
250
- Title
251
- </Text>
363
+ "max": undefined,
364
+ "min": undefined,
365
+ "now": undefined,
366
+ "text": undefined,
367
+ }
368
+ }
369
+ accessible={true}
370
+ focusable={false}
371
+ onClick={[Function]}
372
+ onResponderGrant={[Function]}
373
+ onResponderMove={[Function]}
374
+ onResponderRelease={[Function]}
375
+ onResponderTerminate={[Function]}
376
+ onResponderTerminationRequest={[Function]}
377
+ onStartShouldSetResponder={[Function]}
378
+ style={
379
+ [
380
+ {
381
+ "alignItems": "center",
382
+ "alignSelf": "stretch",
383
+ "backgroundColor": "transparent",
384
+ "borderColor": "#795e90",
385
+ "borderRadius": 32,
386
+ "borderWidth": 2,
387
+ "flexDirection": "row",
388
+ "height": 60,
389
+ "justifyContent": "center",
390
+ "padding": 14,
391
+ },
392
+ undefined,
393
+ ]
394
+ }
395
+ >
396
+ <Text>
397
+ Title
398
+ </Text>
399
+ </View>
400
+ <View
401
+ pointerEvents="box-none"
402
+ position="bottom"
403
+ style={
404
+ [
405
+ {
406
+ "bottom": 0,
407
+ "elevation": 9999,
408
+ "flexDirection": "column-reverse",
409
+ "left": 0,
410
+ "paddingHorizontal": 24,
411
+ "paddingVertical": 16,
412
+ "position": "absolute",
413
+ "right": 0,
414
+ "top": 0,
415
+ },
416
+ undefined,
417
+ ]
418
+ }
419
+ />
252
420
  </View>
253
421
  `;
254
422
 
255
423
  exports[`StyledButtonContainer has text-danger style 1`] = `
256
424
  <View
257
- accessibilityValue={
425
+ style={
258
426
  {
259
- "max": undefined,
260
- "min": undefined,
261
- "now": undefined,
262
- "text": undefined,
427
+ "flex": 1,
263
428
  }
264
429
  }
265
- accessible={true}
266
- focusable={false}
267
- onClick={[Function]}
268
- onResponderGrant={[Function]}
269
- onResponderMove={[Function]}
270
- onResponderRelease={[Function]}
271
- onResponderTerminate={[Function]}
272
- onResponderTerminationRequest={[Function]}
273
- onStartShouldSetResponder={[Function]}
274
- style={
275
- [
430
+ >
431
+ <View
432
+ accessibilityValue={
276
433
  {
277
- "alignItems": "center",
278
- "backgroundColor": "transparent",
279
- "borderRadius": 4,
280
- "borderWidth": 0,
281
- "flexDirection": "row",
282
- "height": 60,
283
- "justifyContent": "center",
284
- "padding": 12,
285
- },
286
- undefined,
287
- ]
288
- }
289
- >
290
- <Text>
291
- Title
292
- </Text>
434
+ "max": undefined,
435
+ "min": undefined,
436
+ "now": undefined,
437
+ "text": undefined,
438
+ }
439
+ }
440
+ accessible={true}
441
+ focusable={false}
442
+ onClick={[Function]}
443
+ onResponderGrant={[Function]}
444
+ onResponderMove={[Function]}
445
+ onResponderRelease={[Function]}
446
+ onResponderTerminate={[Function]}
447
+ onResponderTerminationRequest={[Function]}
448
+ onStartShouldSetResponder={[Function]}
449
+ style={
450
+ [
451
+ {
452
+ "alignItems": "center",
453
+ "backgroundColor": "transparent",
454
+ "borderRadius": 4,
455
+ "borderWidth": 0,
456
+ "flexDirection": "row",
457
+ "height": 60,
458
+ "justifyContent": "center",
459
+ "padding": 12,
460
+ },
461
+ undefined,
462
+ ]
463
+ }
464
+ >
465
+ <Text>
466
+ Title
467
+ </Text>
468
+ </View>
469
+ <View
470
+ pointerEvents="box-none"
471
+ position="bottom"
472
+ style={
473
+ [
474
+ {
475
+ "bottom": 0,
476
+ "elevation": 9999,
477
+ "flexDirection": "column-reverse",
478
+ "left": 0,
479
+ "paddingHorizontal": 24,
480
+ "paddingVertical": 16,
481
+ "position": "absolute",
482
+ "right": 0,
483
+ "top": 0,
484
+ },
485
+ undefined,
486
+ ]
487
+ }
488
+ />
293
489
  </View>
294
490
  `;
295
491
 
296
492
  exports[`StyledButtonContainer has text-primary style 1`] = `
297
493
  <View
298
- accessibilityValue={
494
+ style={
299
495
  {
300
- "max": undefined,
301
- "min": undefined,
302
- "now": undefined,
303
- "text": undefined,
496
+ "flex": 1,
304
497
  }
305
498
  }
306
- accessible={true}
307
- focusable={false}
308
- onClick={[Function]}
309
- onResponderGrant={[Function]}
310
- onResponderMove={[Function]}
311
- onResponderRelease={[Function]}
312
- onResponderTerminate={[Function]}
313
- onResponderTerminationRequest={[Function]}
314
- onStartShouldSetResponder={[Function]}
315
- style={
316
- [
499
+ >
500
+ <View
501
+ accessibilityValue={
317
502
  {
318
- "alignItems": "center",
319
- "backgroundColor": "transparent",
320
- "borderRadius": 4,
321
- "borderWidth": 0,
322
- "flexDirection": "row",
323
- "height": 60,
324
- "justifyContent": "center",
325
- "padding": 12,
326
- },
327
- undefined,
328
- ]
329
- }
330
- >
331
- <Text>
332
- Title
333
- </Text>
503
+ "max": undefined,
504
+ "min": undefined,
505
+ "now": undefined,
506
+ "text": undefined,
507
+ }
508
+ }
509
+ accessible={true}
510
+ focusable={false}
511
+ onClick={[Function]}
512
+ onResponderGrant={[Function]}
513
+ onResponderMove={[Function]}
514
+ onResponderRelease={[Function]}
515
+ onResponderTerminate={[Function]}
516
+ onResponderTerminationRequest={[Function]}
517
+ onStartShouldSetResponder={[Function]}
518
+ style={
519
+ [
520
+ {
521
+ "alignItems": "center",
522
+ "backgroundColor": "transparent",
523
+ "borderRadius": 4,
524
+ "borderWidth": 0,
525
+ "flexDirection": "row",
526
+ "height": 60,
527
+ "justifyContent": "center",
528
+ "padding": 12,
529
+ },
530
+ undefined,
531
+ ]
532
+ }
533
+ >
534
+ <Text>
535
+ Title
536
+ </Text>
537
+ </View>
538
+ <View
539
+ pointerEvents="box-none"
540
+ position="bottom"
541
+ style={
542
+ [
543
+ {
544
+ "bottom": 0,
545
+ "elevation": 9999,
546
+ "flexDirection": "column-reverse",
547
+ "left": 0,
548
+ "paddingHorizontal": 24,
549
+ "paddingVertical": 16,
550
+ "position": "absolute",
551
+ "right": 0,
552
+ "top": 0,
553
+ },
554
+ undefined,
555
+ ]
556
+ }
557
+ />
334
558
  </View>
335
559
  `;
336
560
 
337
561
  exports[`StyledButtonContainer has text-secondary style 1`] = `
338
562
  <View
339
- accessibilityValue={
563
+ style={
340
564
  {
341
- "max": undefined,
342
- "min": undefined,
343
- "now": undefined,
344
- "text": undefined,
565
+ "flex": 1,
345
566
  }
346
567
  }
347
- accessible={true}
348
- focusable={false}
349
- onClick={[Function]}
350
- onResponderGrant={[Function]}
351
- onResponderMove={[Function]}
352
- onResponderRelease={[Function]}
353
- onResponderTerminate={[Function]}
354
- onResponderTerminationRequest={[Function]}
355
- onStartShouldSetResponder={[Function]}
356
- style={
357
- [
568
+ >
569
+ <View
570
+ accessibilityValue={
358
571
  {
359
- "alignItems": "center",
360
- "backgroundColor": "transparent",
361
- "borderRadius": 4,
362
- "borderWidth": 0,
363
- "flexDirection": "row",
364
- "height": 60,
365
- "justifyContent": "center",
366
- "padding": 12,
367
- },
368
- undefined,
369
- ]
370
- }
371
- >
372
- <Text>
373
- Title
374
- </Text>
572
+ "max": undefined,
573
+ "min": undefined,
574
+ "now": undefined,
575
+ "text": undefined,
576
+ }
577
+ }
578
+ accessible={true}
579
+ focusable={false}
580
+ onClick={[Function]}
581
+ onResponderGrant={[Function]}
582
+ onResponderMove={[Function]}
583
+ onResponderRelease={[Function]}
584
+ onResponderTerminate={[Function]}
585
+ onResponderTerminationRequest={[Function]}
586
+ onStartShouldSetResponder={[Function]}
587
+ style={
588
+ [
589
+ {
590
+ "alignItems": "center",
591
+ "backgroundColor": "transparent",
592
+ "borderRadius": 4,
593
+ "borderWidth": 0,
594
+ "flexDirection": "row",
595
+ "height": 60,
596
+ "justifyContent": "center",
597
+ "padding": 12,
598
+ },
599
+ undefined,
600
+ ]
601
+ }
602
+ >
603
+ <Text>
604
+ Title
605
+ </Text>
606
+ </View>
607
+ <View
608
+ pointerEvents="box-none"
609
+ position="bottom"
610
+ style={
611
+ [
612
+ {
613
+ "bottom": 0,
614
+ "elevation": 9999,
615
+ "flexDirection": "column-reverse",
616
+ "left": 0,
617
+ "paddingHorizontal": 24,
618
+ "paddingVertical": 16,
619
+ "position": "absolute",
620
+ "right": 0,
621
+ "top": 0,
622
+ },
623
+ undefined,
624
+ ]
625
+ }
626
+ />
375
627
  </View>
376
628
  `;
377
629
 
378
630
  exports[`StyledButtonContainer renders disabled correctly 1`] = `
379
631
  <View
380
- accessibilityState={
632
+ style={
381
633
  {
382
- "disabled": true,
634
+ "flex": 1,
383
635
  }
384
636
  }
385
- accessibilityValue={
386
- {
387
- "max": undefined,
388
- "min": undefined,
389
- "now": undefined,
390
- "text": undefined,
637
+ >
638
+ <View
639
+ accessibilityState={
640
+ {
641
+ "disabled": true,
642
+ }
391
643
  }
392
- }
393
- accessible={true}
394
- focusable={false}
395
- onClick={[Function]}
396
- onResponderGrant={[Function]}
397
- onResponderMove={[Function]}
398
- onResponderRelease={[Function]}
399
- onResponderTerminate={[Function]}
400
- onResponderTerminationRequest={[Function]}
401
- onStartShouldSetResponder={[Function]}
402
- style={
403
- [
644
+ accessibilityValue={
404
645
  {
405
- "alignItems": "center",
406
- "alignSelf": "stretch",
407
- "backgroundColor": "#bfc1c5",
408
- "borderRadius": 32,
409
- "flexDirection": "row",
410
- "height": 60,
411
- "justifyContent": "center",
412
- "padding": 16,
413
- },
414
- undefined,
415
- ]
416
- }
417
- >
418
- <Text>
419
- Title
420
- </Text>
646
+ "max": undefined,
647
+ "min": undefined,
648
+ "now": undefined,
649
+ "text": undefined,
650
+ }
651
+ }
652
+ accessible={true}
653
+ focusable={false}
654
+ onClick={[Function]}
655
+ onResponderGrant={[Function]}
656
+ onResponderMove={[Function]}
657
+ onResponderRelease={[Function]}
658
+ onResponderTerminate={[Function]}
659
+ onResponderTerminationRequest={[Function]}
660
+ onStartShouldSetResponder={[Function]}
661
+ style={
662
+ [
663
+ {
664
+ "alignItems": "center",
665
+ "alignSelf": "stretch",
666
+ "backgroundColor": "#bfc1c5",
667
+ "borderRadius": 32,
668
+ "flexDirection": "row",
669
+ "height": 60,
670
+ "justifyContent": "center",
671
+ "padding": 16,
672
+ },
673
+ undefined,
674
+ ]
675
+ }
676
+ >
677
+ <Text>
678
+ Title
679
+ </Text>
680
+ </View>
681
+ <View
682
+ pointerEvents="box-none"
683
+ position="bottom"
684
+ style={
685
+ [
686
+ {
687
+ "bottom": 0,
688
+ "elevation": 9999,
689
+ "flexDirection": "column-reverse",
690
+ "left": 0,
691
+ "paddingHorizontal": 24,
692
+ "paddingVertical": 16,
693
+ "position": "absolute",
694
+ "right": 0,
695
+ "top": 0,
696
+ },
697
+ undefined,
698
+ ]
699
+ }
700
+ />
421
701
  </View>
422
702
  `;
423
703
 
424
704
  exports[`StyledButtonIcon has filled-danger style 1`] = `
425
- <HeroIcon
426
- name="bell"
705
+ <View
427
706
  style={
428
- [
429
- {
430
- "color": "#001f23",
431
- "fontSize": 24,
432
- },
707
+ {
708
+ "flex": 1,
709
+ }
710
+ }
711
+ >
712
+ <HeroIcon
713
+ name="bell"
714
+ style={
433
715
  [
434
716
  {
435
- "color": "#ffffff",
436
- "fontSize": 20,
717
+ "color": "#001f23",
718
+ "fontSize": 24,
719
+ },
720
+ [
721
+ {
722
+ "color": "#ffffff",
723
+ "fontSize": 20,
724
+ },
725
+ undefined,
726
+ ],
727
+ ]
728
+ }
729
+ themeIntent="text"
730
+ themeSize="medium"
731
+ />
732
+ <View
733
+ pointerEvents="box-none"
734
+ position="bottom"
735
+ style={
736
+ [
737
+ {
738
+ "bottom": 0,
739
+ "elevation": 9999,
740
+ "flexDirection": "column-reverse",
741
+ "left": 0,
742
+ "paddingHorizontal": 24,
743
+ "paddingVertical": 16,
744
+ "position": "absolute",
745
+ "right": 0,
746
+ "top": 0,
437
747
  },
438
748
  undefined,
439
- ],
440
- ]
441
- }
442
- themeIntent="text"
443
- themeSize="medium"
444
- />
749
+ ]
750
+ }
751
+ />
752
+ </View>
445
753
  `;
446
754
 
447
755
  exports[`StyledButtonIcon has filled-primary style 1`] = `
448
- <HeroIcon
449
- name="bell"
756
+ <View
450
757
  style={
451
- [
452
- {
453
- "color": "#001f23",
454
- "fontSize": 24,
455
- },
758
+ {
759
+ "flex": 1,
760
+ }
761
+ }
762
+ >
763
+ <HeroIcon
764
+ name="bell"
765
+ style={
766
+ [
767
+ {
768
+ "color": "#001f23",
769
+ "fontSize": 24,
770
+ },
771
+ [
772
+ {
773
+ "color": "#ffffff",
774
+ "fontSize": 20,
775
+ },
776
+ undefined,
777
+ ],
778
+ ]
779
+ }
780
+ themeIntent="text"
781
+ themeSize="medium"
782
+ />
783
+ <View
784
+ pointerEvents="box-none"
785
+ position="bottom"
786
+ style={
456
787
  [
457
788
  {
458
- "color": "#ffffff",
459
- "fontSize": 20,
789
+ "bottom": 0,
790
+ "elevation": 9999,
791
+ "flexDirection": "column-reverse",
792
+ "left": 0,
793
+ "paddingHorizontal": 24,
794
+ "paddingVertical": 16,
795
+ "position": "absolute",
796
+ "right": 0,
797
+ "top": 0,
460
798
  },
461
799
  undefined,
462
- ],
463
- ]
464
- }
465
- themeIntent="text"
466
- themeSize="medium"
467
- />
800
+ ]
801
+ }
802
+ />
803
+ </View>
468
804
  `;
469
805
 
470
806
  exports[`StyledButtonIcon has filled-secondary style 1`] = `
471
- <HeroIcon
472
- name="bell"
807
+ <View
473
808
  style={
474
- [
475
- {
476
- "color": "#001f23",
477
- "fontSize": 24,
478
- },
809
+ {
810
+ "flex": 1,
811
+ }
812
+ }
813
+ >
814
+ <HeroIcon
815
+ name="bell"
816
+ style={
817
+ [
818
+ {
819
+ "color": "#001f23",
820
+ "fontSize": 24,
821
+ },
822
+ [
823
+ {
824
+ "color": "#ffffff",
825
+ "fontSize": 20,
826
+ },
827
+ undefined,
828
+ ],
829
+ ]
830
+ }
831
+ themeIntent="text"
832
+ themeSize="medium"
833
+ />
834
+ <View
835
+ pointerEvents="box-none"
836
+ position="bottom"
837
+ style={
479
838
  [
480
839
  {
481
- "color": "#ffffff",
482
- "fontSize": 20,
840
+ "bottom": 0,
841
+ "elevation": 9999,
842
+ "flexDirection": "column-reverse",
843
+ "left": 0,
844
+ "paddingHorizontal": 24,
845
+ "paddingVertical": 16,
846
+ "position": "absolute",
847
+ "right": 0,
848
+ "top": 0,
483
849
  },
484
850
  undefined,
485
- ],
486
- ]
487
- }
488
- themeIntent="text"
489
- themeSize="medium"
490
- />
851
+ ]
852
+ }
853
+ />
854
+ </View>
491
855
  `;
492
856
 
493
857
  exports[`StyledButtonIcon has outlined-danger style 1`] = `
494
- <HeroIcon
495
- name="bell"
858
+ <View
496
859
  style={
497
- [
498
- {
499
- "color": "#001f23",
500
- "fontSize": 24,
501
- },
860
+ {
861
+ "flex": 1,
862
+ }
863
+ }
864
+ >
865
+ <HeroIcon
866
+ name="bell"
867
+ style={
502
868
  [
503
869
  {
504
- "color": "#cb300a",
505
- "fontSize": 20,
870
+ "color": "#001f23",
871
+ "fontSize": 24,
872
+ },
873
+ [
874
+ {
875
+ "color": "#cb300a",
876
+ "fontSize": 20,
877
+ },
878
+ undefined,
879
+ ],
880
+ ]
881
+ }
882
+ themeIntent="text"
883
+ themeSize="medium"
884
+ />
885
+ <View
886
+ pointerEvents="box-none"
887
+ position="bottom"
888
+ style={
889
+ [
890
+ {
891
+ "bottom": 0,
892
+ "elevation": 9999,
893
+ "flexDirection": "column-reverse",
894
+ "left": 0,
895
+ "paddingHorizontal": 24,
896
+ "paddingVertical": 16,
897
+ "position": "absolute",
898
+ "right": 0,
899
+ "top": 0,
506
900
  },
507
901
  undefined,
508
- ],
509
- ]
510
- }
511
- themeIntent="text"
512
- themeSize="medium"
513
- />
902
+ ]
903
+ }
904
+ />
905
+ </View>
514
906
  `;
515
907
 
516
908
  exports[`StyledButtonIcon has outlined-primary style 1`] = `
517
- <HeroIcon
518
- name="bell"
909
+ <View
519
910
  style={
520
- [
521
- {
522
- "color": "#001f23",
523
- "fontSize": 24,
524
- },
911
+ {
912
+ "flex": 1,
913
+ }
914
+ }
915
+ >
916
+ <HeroIcon
917
+ name="bell"
918
+ style={
525
919
  [
526
920
  {
527
- "color": "#401960",
528
- "fontSize": 20,
921
+ "color": "#001f23",
922
+ "fontSize": 24,
923
+ },
924
+ [
925
+ {
926
+ "color": "#401960",
927
+ "fontSize": 20,
928
+ },
929
+ undefined,
930
+ ],
931
+ ]
932
+ }
933
+ themeIntent="text"
934
+ themeSize="medium"
935
+ />
936
+ <View
937
+ pointerEvents="box-none"
938
+ position="bottom"
939
+ style={
940
+ [
941
+ {
942
+ "bottom": 0,
943
+ "elevation": 9999,
944
+ "flexDirection": "column-reverse",
945
+ "left": 0,
946
+ "paddingHorizontal": 24,
947
+ "paddingVertical": 16,
948
+ "position": "absolute",
949
+ "right": 0,
950
+ "top": 0,
529
951
  },
530
952
  undefined,
531
- ],
532
- ]
533
- }
534
- themeIntent="text"
535
- themeSize="medium"
536
- />
953
+ ]
954
+ }
955
+ />
956
+ </View>
537
957
  `;
538
958
 
539
959
  exports[`StyledButtonIcon has outlined-secondary style 1`] = `
540
- <HeroIcon
541
- name="bell"
960
+ <View
542
961
  style={
543
- [
544
- {
545
- "color": "#001f23",
546
- "fontSize": 24,
547
- },
962
+ {
963
+ "flex": 1,
964
+ }
965
+ }
966
+ >
967
+ <HeroIcon
968
+ name="bell"
969
+ style={
970
+ [
971
+ {
972
+ "color": "#001f23",
973
+ "fontSize": 24,
974
+ },
975
+ [
976
+ {
977
+ "color": "#795e90",
978
+ "fontSize": 20,
979
+ },
980
+ undefined,
981
+ ],
982
+ ]
983
+ }
984
+ themeIntent="text"
985
+ themeSize="medium"
986
+ />
987
+ <View
988
+ pointerEvents="box-none"
989
+ position="bottom"
990
+ style={
548
991
  [
549
992
  {
550
- "color": "#795e90",
551
- "fontSize": 20,
993
+ "bottom": 0,
994
+ "elevation": 9999,
995
+ "flexDirection": "column-reverse",
996
+ "left": 0,
997
+ "paddingHorizontal": 24,
998
+ "paddingVertical": 16,
999
+ "position": "absolute",
1000
+ "right": 0,
1001
+ "top": 0,
552
1002
  },
553
1003
  undefined,
554
- ],
555
- ]
556
- }
557
- themeIntent="text"
558
- themeSize="medium"
559
- />
1004
+ ]
1005
+ }
1006
+ />
1007
+ </View>
560
1008
  `;
561
1009
 
562
1010
  exports[`StyledButtonIcon has text-danger style 1`] = `
563
- <HeroIcon
564
- name="bell"
1011
+ <View
565
1012
  style={
566
- [
567
- {
568
- "color": "#001f23",
569
- "fontSize": 24,
570
- },
1013
+ {
1014
+ "flex": 1,
1015
+ }
1016
+ }
1017
+ >
1018
+ <HeroIcon
1019
+ name="bell"
1020
+ style={
571
1021
  [
572
1022
  {
573
- "color": "#cb300a",
574
- "fontSize": 20,
1023
+ "color": "#001f23",
1024
+ "fontSize": 24,
1025
+ },
1026
+ [
1027
+ {
1028
+ "color": "#cb300a",
1029
+ "fontSize": 20,
1030
+ },
1031
+ undefined,
1032
+ ],
1033
+ ]
1034
+ }
1035
+ themeIntent="text"
1036
+ themeSize="medium"
1037
+ />
1038
+ <View
1039
+ pointerEvents="box-none"
1040
+ position="bottom"
1041
+ style={
1042
+ [
1043
+ {
1044
+ "bottom": 0,
1045
+ "elevation": 9999,
1046
+ "flexDirection": "column-reverse",
1047
+ "left": 0,
1048
+ "paddingHorizontal": 24,
1049
+ "paddingVertical": 16,
1050
+ "position": "absolute",
1051
+ "right": 0,
1052
+ "top": 0,
575
1053
  },
576
1054
  undefined,
577
- ],
578
- ]
579
- }
580
- themeIntent="text"
581
- themeSize="medium"
582
- />
1055
+ ]
1056
+ }
1057
+ />
1058
+ </View>
583
1059
  `;
584
1060
 
585
1061
  exports[`StyledButtonIcon has text-primary style 1`] = `
586
- <HeroIcon
587
- name="bell"
1062
+ <View
588
1063
  style={
589
- [
590
- {
591
- "color": "#001f23",
592
- "fontSize": 24,
593
- },
1064
+ {
1065
+ "flex": 1,
1066
+ }
1067
+ }
1068
+ >
1069
+ <HeroIcon
1070
+ name="bell"
1071
+ style={
1072
+ [
1073
+ {
1074
+ "color": "#001f23",
1075
+ "fontSize": 24,
1076
+ },
1077
+ [
1078
+ {
1079
+ "color": "#401960",
1080
+ "fontSize": 20,
1081
+ },
1082
+ undefined,
1083
+ ],
1084
+ ]
1085
+ }
1086
+ themeIntent="text"
1087
+ themeSize="medium"
1088
+ />
1089
+ <View
1090
+ pointerEvents="box-none"
1091
+ position="bottom"
1092
+ style={
594
1093
  [
595
1094
  {
596
- "color": "#401960",
597
- "fontSize": 20,
1095
+ "bottom": 0,
1096
+ "elevation": 9999,
1097
+ "flexDirection": "column-reverse",
1098
+ "left": 0,
1099
+ "paddingHorizontal": 24,
1100
+ "paddingVertical": 16,
1101
+ "position": "absolute",
1102
+ "right": 0,
1103
+ "top": 0,
598
1104
  },
599
1105
  undefined,
600
- ],
601
- ]
602
- }
603
- themeIntent="text"
604
- themeSize="medium"
605
- />
1106
+ ]
1107
+ }
1108
+ />
1109
+ </View>
606
1110
  `;
607
1111
 
608
1112
  exports[`StyledButtonIcon has text-secondary style 1`] = `
609
- <HeroIcon
610
- name="bell"
1113
+ <View
611
1114
  style={
612
- [
613
- {
614
- "color": "#001f23",
615
- "fontSize": 24,
616
- },
1115
+ {
1116
+ "flex": 1,
1117
+ }
1118
+ }
1119
+ >
1120
+ <HeroIcon
1121
+ name="bell"
1122
+ style={
1123
+ [
1124
+ {
1125
+ "color": "#001f23",
1126
+ "fontSize": 24,
1127
+ },
1128
+ [
1129
+ {
1130
+ "color": "#795e90",
1131
+ "fontSize": 20,
1132
+ },
1133
+ undefined,
1134
+ ],
1135
+ ]
1136
+ }
1137
+ themeIntent="text"
1138
+ themeSize="medium"
1139
+ />
1140
+ <View
1141
+ pointerEvents="box-none"
1142
+ position="bottom"
1143
+ style={
617
1144
  [
618
1145
  {
619
- "color": "#795e90",
620
- "fontSize": 20,
1146
+ "bottom": 0,
1147
+ "elevation": 9999,
1148
+ "flexDirection": "column-reverse",
1149
+ "left": 0,
1150
+ "paddingHorizontal": 24,
1151
+ "paddingVertical": 16,
1152
+ "position": "absolute",
1153
+ "right": 0,
1154
+ "top": 0,
621
1155
  },
622
1156
  undefined,
623
- ],
624
- ]
625
- }
626
- themeIntent="text"
627
- themeSize="medium"
628
- />
1157
+ ]
1158
+ }
1159
+ />
1160
+ </View>
629
1161
  `;
630
1162
 
631
1163
  exports[`StyledButtonIcon renders disabled correctly 1`] = `
632
- <HeroIcon
633
- name="bell"
1164
+ <View
634
1165
  style={
635
- [
636
- {
637
- "color": "#001f23",
638
- "fontSize": 24,
639
- },
1166
+ {
1167
+ "flex": 1,
1168
+ }
1169
+ }
1170
+ >
1171
+ <HeroIcon
1172
+ name="bell"
1173
+ style={
640
1174
  [
641
1175
  {
642
- "color": "#ffffff",
643
- "fontSize": 20,
1176
+ "color": "#001f23",
1177
+ "fontSize": 24,
1178
+ },
1179
+ [
1180
+ {
1181
+ "color": "#ffffff",
1182
+ "fontSize": 20,
1183
+ },
1184
+ undefined,
1185
+ ],
1186
+ ]
1187
+ }
1188
+ themeIntent="text"
1189
+ themeSize="medium"
1190
+ />
1191
+ <View
1192
+ pointerEvents="box-none"
1193
+ position="bottom"
1194
+ style={
1195
+ [
1196
+ {
1197
+ "bottom": 0,
1198
+ "elevation": 9999,
1199
+ "flexDirection": "column-reverse",
1200
+ "left": 0,
1201
+ "paddingHorizontal": 24,
1202
+ "paddingVertical": 16,
1203
+ "position": "absolute",
1204
+ "right": 0,
1205
+ "top": 0,
644
1206
  },
645
1207
  undefined,
646
- ],
647
- ]
648
- }
649
- themeIntent="text"
650
- themeSize="medium"
651
- />
1208
+ ]
1209
+ }
1210
+ />
1211
+ </View>
652
1212
  `;
653
1213
 
654
1214
  exports[`StyledButtonIconWrapper has left style 1`] = `
655
1215
  <View
656
1216
  style={
657
- [
658
- {
659
- "paddingRight": 12,
660
- },
661
- undefined,
662
- ]
1217
+ {
1218
+ "flex": 1,
1219
+ }
663
1220
  }
664
- themePosition="left"
665
- />
1221
+ >
1222
+ <View
1223
+ style={
1224
+ [
1225
+ {
1226
+ "paddingRight": 12,
1227
+ },
1228
+ undefined,
1229
+ ]
1230
+ }
1231
+ themePosition="left"
1232
+ />
1233
+ <View
1234
+ pointerEvents="box-none"
1235
+ position="bottom"
1236
+ style={
1237
+ [
1238
+ {
1239
+ "bottom": 0,
1240
+ "elevation": 9999,
1241
+ "flexDirection": "column-reverse",
1242
+ "left": 0,
1243
+ "paddingHorizontal": 24,
1244
+ "paddingVertical": 16,
1245
+ "position": "absolute",
1246
+ "right": 0,
1247
+ "top": 0,
1248
+ },
1249
+ undefined,
1250
+ ]
1251
+ }
1252
+ />
1253
+ </View>
666
1254
  `;
667
1255
 
668
1256
  exports[`StyledButtonIconWrapper has right style 1`] = `
669
1257
  <View
670
1258
  style={
671
- [
672
- {
673
- "paddingLeft": 12,
674
- },
675
- undefined,
676
- ]
1259
+ {
1260
+ "flex": 1,
1261
+ }
677
1262
  }
678
- themePosition="right"
679
- />
1263
+ >
1264
+ <View
1265
+ style={
1266
+ [
1267
+ {
1268
+ "paddingLeft": 12,
1269
+ },
1270
+ undefined,
1271
+ ]
1272
+ }
1273
+ themePosition="right"
1274
+ />
1275
+ <View
1276
+ pointerEvents="box-none"
1277
+ position="bottom"
1278
+ style={
1279
+ [
1280
+ {
1281
+ "bottom": 0,
1282
+ "elevation": 9999,
1283
+ "flexDirection": "column-reverse",
1284
+ "left": 0,
1285
+ "paddingHorizontal": 24,
1286
+ "paddingVertical": 16,
1287
+ "position": "absolute",
1288
+ "right": 0,
1289
+ "top": 0,
1290
+ },
1291
+ undefined,
1292
+ ]
1293
+ }
1294
+ />
1295
+ </View>
680
1296
  `;
681
1297
 
682
1298
  exports[`StyledButtonText has filled-danger style 1`] = `
683
- <Text
684
- allowFontScaling={false}
1299
+ <View
685
1300
  style={
686
- [
687
- {
688
- "color": "#001f23",
689
- "fontFamily": "BeVietnamPro-Regular",
690
- "fontSize": 42,
691
- "letterSpacing": 0,
692
- "lineHeight": 50,
693
- },
1301
+ {
1302
+ "flex": 1,
1303
+ }
1304
+ }
1305
+ >
1306
+ <Text
1307
+ allowFontScaling={false}
1308
+ style={
694
1309
  [
695
1310
  {
696
- "color": "#ffffff",
697
- "flexShrink": 1,
698
- "textAlign": "center",
1311
+ "color": "#001f23",
1312
+ "fontFamily": "BeVietnamPro-Regular",
1313
+ "fontSize": 42,
1314
+ "letterSpacing": 0,
1315
+ "lineHeight": 50,
1316
+ },
1317
+ [
1318
+ {
1319
+ "color": "#ffffff",
1320
+ "flexShrink": 1,
1321
+ "textAlign": "center",
1322
+ },
1323
+ undefined,
1324
+ ],
1325
+ ]
1326
+ }
1327
+ themeButtonVariant="filled-danger"
1328
+ themeIntent="body"
1329
+ themeLevel="h1"
1330
+ themeTypeface="neutral"
1331
+ >
1332
+ Example
1333
+ </Text>
1334
+ <View
1335
+ pointerEvents="box-none"
1336
+ position="bottom"
1337
+ style={
1338
+ [
1339
+ {
1340
+ "bottom": 0,
1341
+ "elevation": 9999,
1342
+ "flexDirection": "column-reverse",
1343
+ "left": 0,
1344
+ "paddingHorizontal": 24,
1345
+ "paddingVertical": 16,
1346
+ "position": "absolute",
1347
+ "right": 0,
1348
+ "top": 0,
699
1349
  },
700
1350
  undefined,
701
- ],
702
- ]
703
- }
704
- themeButtonVariant="filled-danger"
705
- themeIntent="body"
706
- themeLevel="h1"
707
- themeTypeface="neutral"
708
- >
709
- Example
710
- </Text>
1351
+ ]
1352
+ }
1353
+ />
1354
+ </View>
711
1355
  `;
712
1356
 
713
1357
  exports[`StyledButtonText has filled-primary style 1`] = `
714
- <Text
715
- allowFontScaling={false}
1358
+ <View
716
1359
  style={
717
- [
718
- {
719
- "color": "#001f23",
720
- "fontFamily": "BeVietnamPro-Regular",
721
- "fontSize": 42,
722
- "letterSpacing": 0,
723
- "lineHeight": 50,
724
- },
1360
+ {
1361
+ "flex": 1,
1362
+ }
1363
+ }
1364
+ >
1365
+ <Text
1366
+ allowFontScaling={false}
1367
+ style={
725
1368
  [
726
1369
  {
727
- "color": "#ffffff",
728
- "flexShrink": 1,
729
- "textAlign": "center",
1370
+ "color": "#001f23",
1371
+ "fontFamily": "BeVietnamPro-Regular",
1372
+ "fontSize": 42,
1373
+ "letterSpacing": 0,
1374
+ "lineHeight": 50,
1375
+ },
1376
+ [
1377
+ {
1378
+ "color": "#ffffff",
1379
+ "flexShrink": 1,
1380
+ "textAlign": "center",
1381
+ },
1382
+ undefined,
1383
+ ],
1384
+ ]
1385
+ }
1386
+ themeButtonVariant="filled-primary"
1387
+ themeIntent="body"
1388
+ themeLevel="h1"
1389
+ themeTypeface="neutral"
1390
+ >
1391
+ Example
1392
+ </Text>
1393
+ <View
1394
+ pointerEvents="box-none"
1395
+ position="bottom"
1396
+ style={
1397
+ [
1398
+ {
1399
+ "bottom": 0,
1400
+ "elevation": 9999,
1401
+ "flexDirection": "column-reverse",
1402
+ "left": 0,
1403
+ "paddingHorizontal": 24,
1404
+ "paddingVertical": 16,
1405
+ "position": "absolute",
1406
+ "right": 0,
1407
+ "top": 0,
730
1408
  },
731
1409
  undefined,
732
- ],
733
- ]
734
- }
735
- themeButtonVariant="filled-primary"
736
- themeIntent="body"
737
- themeLevel="h1"
738
- themeTypeface="neutral"
739
- >
740
- Example
741
- </Text>
1410
+ ]
1411
+ }
1412
+ />
1413
+ </View>
742
1414
  `;
743
1415
 
744
1416
  exports[`StyledButtonText has filled-secondary style 1`] = `
745
- <Text
746
- allowFontScaling={false}
1417
+ <View
747
1418
  style={
748
- [
749
- {
750
- "color": "#001f23",
751
- "fontFamily": "BeVietnamPro-Regular",
752
- "fontSize": 42,
753
- "letterSpacing": 0,
754
- "lineHeight": 50,
755
- },
1419
+ {
1420
+ "flex": 1,
1421
+ }
1422
+ }
1423
+ >
1424
+ <Text
1425
+ allowFontScaling={false}
1426
+ style={
1427
+ [
1428
+ {
1429
+ "color": "#001f23",
1430
+ "fontFamily": "BeVietnamPro-Regular",
1431
+ "fontSize": 42,
1432
+ "letterSpacing": 0,
1433
+ "lineHeight": 50,
1434
+ },
1435
+ [
1436
+ {
1437
+ "color": "#ffffff",
1438
+ "flexShrink": 1,
1439
+ "textAlign": "center",
1440
+ },
1441
+ undefined,
1442
+ ],
1443
+ ]
1444
+ }
1445
+ themeButtonVariant="filled-secondary"
1446
+ themeIntent="body"
1447
+ themeLevel="h1"
1448
+ themeTypeface="neutral"
1449
+ >
1450
+ Example
1451
+ </Text>
1452
+ <View
1453
+ pointerEvents="box-none"
1454
+ position="bottom"
1455
+ style={
756
1456
  [
757
1457
  {
758
- "color": "#ffffff",
759
- "flexShrink": 1,
760
- "textAlign": "center",
1458
+ "bottom": 0,
1459
+ "elevation": 9999,
1460
+ "flexDirection": "column-reverse",
1461
+ "left": 0,
1462
+ "paddingHorizontal": 24,
1463
+ "paddingVertical": 16,
1464
+ "position": "absolute",
1465
+ "right": 0,
1466
+ "top": 0,
761
1467
  },
762
1468
  undefined,
763
- ],
764
- ]
765
- }
766
- themeButtonVariant="filled-secondary"
767
- themeIntent="body"
768
- themeLevel="h1"
769
- themeTypeface="neutral"
770
- >
771
- Example
772
- </Text>
1469
+ ]
1470
+ }
1471
+ />
1472
+ </View>
773
1473
  `;
774
1474
 
775
1475
  exports[`StyledButtonText has outlined-danger style 1`] = `
776
- <Text
777
- allowFontScaling={false}
1476
+ <View
778
1477
  style={
779
- [
780
- {
781
- "color": "#001f23",
782
- "fontFamily": "BeVietnamPro-Regular",
783
- "fontSize": 42,
784
- "letterSpacing": 0,
785
- "lineHeight": 50,
786
- },
1478
+ {
1479
+ "flex": 1,
1480
+ }
1481
+ }
1482
+ >
1483
+ <Text
1484
+ allowFontScaling={false}
1485
+ style={
787
1486
  [
788
1487
  {
789
- "color": "#cb300a",
790
- "flexShrink": 1,
791
- "textAlign": "center",
1488
+ "color": "#001f23",
1489
+ "fontFamily": "BeVietnamPro-Regular",
1490
+ "fontSize": 42,
1491
+ "letterSpacing": 0,
1492
+ "lineHeight": 50,
1493
+ },
1494
+ [
1495
+ {
1496
+ "color": "#cb300a",
1497
+ "flexShrink": 1,
1498
+ "textAlign": "center",
1499
+ },
1500
+ undefined,
1501
+ ],
1502
+ ]
1503
+ }
1504
+ themeButtonVariant="outlined-danger"
1505
+ themeIntent="body"
1506
+ themeLevel="h1"
1507
+ themeTypeface="neutral"
1508
+ >
1509
+ Example
1510
+ </Text>
1511
+ <View
1512
+ pointerEvents="box-none"
1513
+ position="bottom"
1514
+ style={
1515
+ [
1516
+ {
1517
+ "bottom": 0,
1518
+ "elevation": 9999,
1519
+ "flexDirection": "column-reverse",
1520
+ "left": 0,
1521
+ "paddingHorizontal": 24,
1522
+ "paddingVertical": 16,
1523
+ "position": "absolute",
1524
+ "right": 0,
1525
+ "top": 0,
792
1526
  },
793
1527
  undefined,
794
- ],
795
- ]
796
- }
797
- themeButtonVariant="outlined-danger"
798
- themeIntent="body"
799
- themeLevel="h1"
800
- themeTypeface="neutral"
801
- >
802
- Example
803
- </Text>
1528
+ ]
1529
+ }
1530
+ />
1531
+ </View>
804
1532
  `;
805
1533
 
806
1534
  exports[`StyledButtonText has outlined-primary style 1`] = `
807
- <Text
808
- allowFontScaling={false}
1535
+ <View
809
1536
  style={
810
- [
811
- {
812
- "color": "#001f23",
813
- "fontFamily": "BeVietnamPro-Regular",
814
- "fontSize": 42,
815
- "letterSpacing": 0,
816
- "lineHeight": 50,
817
- },
1537
+ {
1538
+ "flex": 1,
1539
+ }
1540
+ }
1541
+ >
1542
+ <Text
1543
+ allowFontScaling={false}
1544
+ style={
1545
+ [
1546
+ {
1547
+ "color": "#001f23",
1548
+ "fontFamily": "BeVietnamPro-Regular",
1549
+ "fontSize": 42,
1550
+ "letterSpacing": 0,
1551
+ "lineHeight": 50,
1552
+ },
1553
+ [
1554
+ {
1555
+ "color": "#401960",
1556
+ "flexShrink": 1,
1557
+ "textAlign": "center",
1558
+ },
1559
+ undefined,
1560
+ ],
1561
+ ]
1562
+ }
1563
+ themeButtonVariant="outlined-primary"
1564
+ themeIntent="body"
1565
+ themeLevel="h1"
1566
+ themeTypeface="neutral"
1567
+ >
1568
+ Example
1569
+ </Text>
1570
+ <View
1571
+ pointerEvents="box-none"
1572
+ position="bottom"
1573
+ style={
818
1574
  [
819
1575
  {
820
- "color": "#401960",
821
- "flexShrink": 1,
822
- "textAlign": "center",
1576
+ "bottom": 0,
1577
+ "elevation": 9999,
1578
+ "flexDirection": "column-reverse",
1579
+ "left": 0,
1580
+ "paddingHorizontal": 24,
1581
+ "paddingVertical": 16,
1582
+ "position": "absolute",
1583
+ "right": 0,
1584
+ "top": 0,
823
1585
  },
824
1586
  undefined,
825
- ],
826
- ]
827
- }
828
- themeButtonVariant="outlined-primary"
829
- themeIntent="body"
830
- themeLevel="h1"
831
- themeTypeface="neutral"
832
- >
833
- Example
834
- </Text>
1587
+ ]
1588
+ }
1589
+ />
1590
+ </View>
835
1591
  `;
836
1592
 
837
1593
  exports[`StyledButtonText has outlined-secondary style 1`] = `
838
- <Text
839
- allowFontScaling={false}
1594
+ <View
840
1595
  style={
841
- [
842
- {
843
- "color": "#001f23",
844
- "fontFamily": "BeVietnamPro-Regular",
845
- "fontSize": 42,
846
- "letterSpacing": 0,
847
- "lineHeight": 50,
848
- },
1596
+ {
1597
+ "flex": 1,
1598
+ }
1599
+ }
1600
+ >
1601
+ <Text
1602
+ allowFontScaling={false}
1603
+ style={
1604
+ [
1605
+ {
1606
+ "color": "#001f23",
1607
+ "fontFamily": "BeVietnamPro-Regular",
1608
+ "fontSize": 42,
1609
+ "letterSpacing": 0,
1610
+ "lineHeight": 50,
1611
+ },
1612
+ [
1613
+ {
1614
+ "color": "#795e90",
1615
+ "flexShrink": 1,
1616
+ "textAlign": "center",
1617
+ },
1618
+ undefined,
1619
+ ],
1620
+ ]
1621
+ }
1622
+ themeButtonVariant="outlined-secondary"
1623
+ themeIntent="body"
1624
+ themeLevel="h1"
1625
+ themeTypeface="neutral"
1626
+ >
1627
+ Example
1628
+ </Text>
1629
+ <View
1630
+ pointerEvents="box-none"
1631
+ position="bottom"
1632
+ style={
849
1633
  [
850
1634
  {
851
- "color": "#795e90",
852
- "flexShrink": 1,
853
- "textAlign": "center",
1635
+ "bottom": 0,
1636
+ "elevation": 9999,
1637
+ "flexDirection": "column-reverse",
1638
+ "left": 0,
1639
+ "paddingHorizontal": 24,
1640
+ "paddingVertical": 16,
1641
+ "position": "absolute",
1642
+ "right": 0,
1643
+ "top": 0,
854
1644
  },
855
1645
  undefined,
856
- ],
857
- ]
858
- }
859
- themeButtonVariant="outlined-secondary"
860
- themeIntent="body"
861
- themeLevel="h1"
862
- themeTypeface="neutral"
863
- >
864
- Example
865
- </Text>
1646
+ ]
1647
+ }
1648
+ />
1649
+ </View>
866
1650
  `;
867
1651
 
868
1652
  exports[`StyledButtonText has text-danger style 1`] = `
869
- <Text
870
- allowFontScaling={false}
1653
+ <View
871
1654
  style={
872
- [
873
- {
874
- "color": "#001f23",
875
- "fontFamily": "BeVietnamPro-Regular",
876
- "fontSize": 42,
877
- "letterSpacing": 0,
878
- "lineHeight": 50,
879
- },
1655
+ {
1656
+ "flex": 1,
1657
+ }
1658
+ }
1659
+ >
1660
+ <Text
1661
+ allowFontScaling={false}
1662
+ style={
1663
+ [
1664
+ {
1665
+ "color": "#001f23",
1666
+ "fontFamily": "BeVietnamPro-Regular",
1667
+ "fontSize": 42,
1668
+ "letterSpacing": 0,
1669
+ "lineHeight": 50,
1670
+ },
1671
+ [
1672
+ {
1673
+ "color": "#cb300a",
1674
+ "flexShrink": 1,
1675
+ "textAlign": "center",
1676
+ },
1677
+ undefined,
1678
+ ],
1679
+ ]
1680
+ }
1681
+ themeButtonVariant="text-danger"
1682
+ themeIntent="body"
1683
+ themeLevel="h1"
1684
+ themeTypeface="neutral"
1685
+ >
1686
+ Example
1687
+ </Text>
1688
+ <View
1689
+ pointerEvents="box-none"
1690
+ position="bottom"
1691
+ style={
880
1692
  [
881
1693
  {
882
- "color": "#cb300a",
883
- "flexShrink": 1,
884
- "textAlign": "center",
1694
+ "bottom": 0,
1695
+ "elevation": 9999,
1696
+ "flexDirection": "column-reverse",
1697
+ "left": 0,
1698
+ "paddingHorizontal": 24,
1699
+ "paddingVertical": 16,
1700
+ "position": "absolute",
1701
+ "right": 0,
1702
+ "top": 0,
885
1703
  },
886
1704
  undefined,
887
- ],
888
- ]
889
- }
890
- themeButtonVariant="text-danger"
891
- themeIntent="body"
892
- themeLevel="h1"
893
- themeTypeface="neutral"
894
- >
895
- Example
896
- </Text>
1705
+ ]
1706
+ }
1707
+ />
1708
+ </View>
897
1709
  `;
898
1710
 
899
1711
  exports[`StyledButtonText has text-primary style 1`] = `
900
- <Text
901
- allowFontScaling={false}
1712
+ <View
902
1713
  style={
903
- [
904
- {
905
- "color": "#001f23",
906
- "fontFamily": "BeVietnamPro-Regular",
907
- "fontSize": 42,
908
- "letterSpacing": 0,
909
- "lineHeight": 50,
910
- },
1714
+ {
1715
+ "flex": 1,
1716
+ }
1717
+ }
1718
+ >
1719
+ <Text
1720
+ allowFontScaling={false}
1721
+ style={
1722
+ [
1723
+ {
1724
+ "color": "#001f23",
1725
+ "fontFamily": "BeVietnamPro-Regular",
1726
+ "fontSize": 42,
1727
+ "letterSpacing": 0,
1728
+ "lineHeight": 50,
1729
+ },
1730
+ [
1731
+ {
1732
+ "color": "#401960",
1733
+ "flexShrink": 1,
1734
+ "textAlign": "center",
1735
+ },
1736
+ undefined,
1737
+ ],
1738
+ ]
1739
+ }
1740
+ themeButtonVariant="text-primary"
1741
+ themeIntent="body"
1742
+ themeLevel="h1"
1743
+ themeTypeface="neutral"
1744
+ >
1745
+ Example
1746
+ </Text>
1747
+ <View
1748
+ pointerEvents="box-none"
1749
+ position="bottom"
1750
+ style={
911
1751
  [
912
1752
  {
913
- "color": "#401960",
914
- "flexShrink": 1,
915
- "textAlign": "center",
1753
+ "bottom": 0,
1754
+ "elevation": 9999,
1755
+ "flexDirection": "column-reverse",
1756
+ "left": 0,
1757
+ "paddingHorizontal": 24,
1758
+ "paddingVertical": 16,
1759
+ "position": "absolute",
1760
+ "right": 0,
1761
+ "top": 0,
916
1762
  },
917
1763
  undefined,
918
- ],
919
- ]
920
- }
921
- themeButtonVariant="text-primary"
922
- themeIntent="body"
923
- themeLevel="h1"
924
- themeTypeface="neutral"
925
- >
926
- Example
927
- </Text>
1764
+ ]
1765
+ }
1766
+ />
1767
+ </View>
928
1768
  `;
929
1769
 
930
1770
  exports[`StyledButtonText has text-secondary style 1`] = `
931
- <Text
932
- allowFontScaling={false}
1771
+ <View
933
1772
  style={
934
- [
935
- {
936
- "color": "#001f23",
937
- "fontFamily": "BeVietnamPro-Regular",
938
- "fontSize": 42,
939
- "letterSpacing": 0,
940
- "lineHeight": 50,
941
- },
1773
+ {
1774
+ "flex": 1,
1775
+ }
1776
+ }
1777
+ >
1778
+ <Text
1779
+ allowFontScaling={false}
1780
+ style={
1781
+ [
1782
+ {
1783
+ "color": "#001f23",
1784
+ "fontFamily": "BeVietnamPro-Regular",
1785
+ "fontSize": 42,
1786
+ "letterSpacing": 0,
1787
+ "lineHeight": 50,
1788
+ },
1789
+ [
1790
+ {
1791
+ "color": "#795e90",
1792
+ "flexShrink": 1,
1793
+ "textAlign": "center",
1794
+ },
1795
+ undefined,
1796
+ ],
1797
+ ]
1798
+ }
1799
+ themeButtonVariant="text-secondary"
1800
+ themeIntent="body"
1801
+ themeLevel="h1"
1802
+ themeTypeface="neutral"
1803
+ >
1804
+ Example
1805
+ </Text>
1806
+ <View
1807
+ pointerEvents="box-none"
1808
+ position="bottom"
1809
+ style={
942
1810
  [
943
1811
  {
944
- "color": "#795e90",
945
- "flexShrink": 1,
946
- "textAlign": "center",
1812
+ "bottom": 0,
1813
+ "elevation": 9999,
1814
+ "flexDirection": "column-reverse",
1815
+ "left": 0,
1816
+ "paddingHorizontal": 24,
1817
+ "paddingVertical": 16,
1818
+ "position": "absolute",
1819
+ "right": 0,
1820
+ "top": 0,
947
1821
  },
948
1822
  undefined,
949
- ],
950
- ]
951
- }
952
- themeButtonVariant="text-secondary"
953
- themeIntent="body"
954
- themeLevel="h1"
955
- themeTypeface="neutral"
956
- >
957
- Example
958
- </Text>
1823
+ ]
1824
+ }
1825
+ />
1826
+ </View>
959
1827
  `;
960
1828
 
961
1829
  exports[`StyledButtonText renders disabled correctly 1`] = `
962
- <Text
963
- allowFontScaling={false}
964
- disabled={true}
1830
+ <View
965
1831
  style={
966
- [
967
- {
968
- "color": "#001f23",
969
- "fontFamily": "BeVietnamPro-Regular",
970
- "fontSize": 42,
971
- "letterSpacing": 0,
972
- "lineHeight": 50,
973
- },
1832
+ {
1833
+ "flex": 1,
1834
+ }
1835
+ }
1836
+ >
1837
+ <Text
1838
+ allowFontScaling={false}
1839
+ disabled={true}
1840
+ style={
1841
+ [
1842
+ {
1843
+ "color": "#001f23",
1844
+ "fontFamily": "BeVietnamPro-Regular",
1845
+ "fontSize": 42,
1846
+ "letterSpacing": 0,
1847
+ "lineHeight": 50,
1848
+ },
1849
+ [
1850
+ {
1851
+ "color": "#ffffff",
1852
+ "flexShrink": 1,
1853
+ "textAlign": "center",
1854
+ },
1855
+ undefined,
1856
+ ],
1857
+ ]
1858
+ }
1859
+ themeButtonVariant="filled-primary"
1860
+ themeIntent="body"
1861
+ themeLevel="h1"
1862
+ themeTypeface="neutral"
1863
+ >
1864
+ Example
1865
+ </Text>
1866
+ <View
1867
+ pointerEvents="box-none"
1868
+ position="bottom"
1869
+ style={
974
1870
  [
975
1871
  {
976
- "color": "#ffffff",
977
- "flexShrink": 1,
978
- "textAlign": "center",
1872
+ "bottom": 0,
1873
+ "elevation": 9999,
1874
+ "flexDirection": "column-reverse",
1875
+ "left": 0,
1876
+ "paddingHorizontal": 24,
1877
+ "paddingVertical": 16,
1878
+ "position": "absolute",
1879
+ "right": 0,
1880
+ "top": 0,
979
1881
  },
980
1882
  undefined,
981
- ],
982
- ]
983
- }
984
- themeButtonVariant="filled-primary"
985
- themeIntent="body"
986
- themeLevel="h1"
987
- themeTypeface="neutral"
988
- >
989
- Example
990
- </Text>
1883
+ ]
1884
+ }
1885
+ />
1886
+ </View>
991
1887
  `;