@hero-design/rn 8.43.1 → 8.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +10 -0
  3. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/es/index.js +366 -359
  5. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  6. package/lib/index.js +366 -359
  7. package/package.json +1 -1
  8. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +564 -452
  9. package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +76 -20
  10. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +790 -706
  11. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +848 -652
  12. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +170 -142
  13. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +138 -82
  14. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +745 -689
  15. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +157 -73
  16. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +273 -189
  17. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +391 -223
  18. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +119 -63
  19. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +306 -278
  20. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +317 -233
  21. package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +1042 -454
  22. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +400 -120
  23. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +1090 -810
  24. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +196 -140
  25. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1666 -1218
  26. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +70 -42
  27. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +1623 -727
  28. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +555 -415
  29. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +265 -69
  30. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +205 -65
  31. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +36 -8
  32. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +292 -124
  33. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +486 -430
  34. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +196 -84
  35. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +41 -13
  36. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1720 -1636
  37. package/src/components/Carousel/__tests__/index.spec.tsx +7 -6
  38. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +400 -176
  39. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +574 -406
  40. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1170 -834
  41. package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +73 -17
  42. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +94 -38
  43. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +37 -9
  44. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +421 -337
  45. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +586 -502
  46. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +200 -172
  47. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +192 -164
  48. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +471 -443
  49. package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +464 -128
  50. package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +97 -69
  51. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +327 -243
  52. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +169 -113
  53. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +323 -213
  54. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +845 -789
  55. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +98 -42
  56. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +197 -113
  57. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +290 -206
  58. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +45 -17
  59. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  60. package/src/components/Icon/IconList.ts +2 -0
  61. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +158 -46
  62. package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +164 -52
  63. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +242 -186
  64. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +761 -649
  65. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +268 -156
  66. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +473 -221
  67. package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +60 -8
  68. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +83 -55
  69. package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +9 -4
  70. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +293 -153
  71. package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +15 -48
  72. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +809 -697
  73. package/src/components/Portal/__tests__/PortalHost.spec.tsx +12 -14
  74. package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +43 -15
  75. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +743 -603
  76. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +188 -132
  77. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +256 -228
  78. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +864 -780
  79. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +128 -44
  80. package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +5 -2
  81. package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +3 -3
  82. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +406 -378
  83. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +64 -36
  84. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +371 -315
  85. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +158 -46
  86. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +394 -226
  87. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +93 -65
  88. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2402 -2290
  89. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +180 -24
  90. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -6
  91. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +73 -45
  92. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2309 -2197
  93. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +150 -20
  94. package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +490 -294
  95. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +117 -33
  96. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +105 -77
  97. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +1308 -636
  98. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +121 -93
  99. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +323 -213
  100. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +210 -126
  101. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +58 -30
  102. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +226 -114
  103. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +145 -117
  104. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +202 -62
  105. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +132 -76
  106. package/src/components/Tabs/__tests__/SceneView.spec.tsx +7 -7
  107. package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +206 -94
  108. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2214 -2130
  109. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +523 -495
  110. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +121 -65
  111. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1637 -1553
  112. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +554 -274
  113. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1542 -646
  114. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3177 -2701
  115. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +390 -334
  116. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +662 -606
  117. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +871 -675
  118. package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
  119. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +582 -498
  120. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +683 -459
  121. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +704 -256
  122. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +855 -323
  123. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +430 -150
  124. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +572 -208
  125. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +328 -104
  126. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +462 -154
  127. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +900 -340
  128. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +880 -320
  129. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +1035 -391
  130. package/src/testHelpers/renderWithTheme.tsx +2 -2
  131. package/types/components/Icon/IconList.d.ts +1 -1
  132. package/types/components/Icon/index.d.ts +1 -1
  133. package/types/components/Icon/utils.d.ts +1 -1
@@ -3,318 +3,570 @@
3
3
  exports[`LeadingStatus renders correctly themeLeadingStausIntent archived 1`] = `
4
4
  <View
5
5
  style={
6
- [
7
- {
8
- "backgroundColor": "#abacaf",
9
- "borderRadius": 999,
10
- "marginRight": 8,
11
- "width": 8,
12
- },
13
- undefined,
14
- ]
6
+ {
7
+ "flex": 1,
8
+ }
15
9
  }
16
- themeLeadingStatusIntent="archived"
17
- />
10
+ >
11
+ <View
12
+ style={
13
+ [
14
+ {
15
+ "backgroundColor": "#abacaf",
16
+ "borderRadius": 999,
17
+ "marginRight": 8,
18
+ "width": 8,
19
+ },
20
+ undefined,
21
+ ]
22
+ }
23
+ themeLeadingStatusIntent="archived"
24
+ />
25
+ <View
26
+ pointerEvents="box-none"
27
+ position="bottom"
28
+ style={
29
+ [
30
+ {
31
+ "bottom": 0,
32
+ "elevation": 9999,
33
+ "flexDirection": "column-reverse",
34
+ "left": 0,
35
+ "paddingHorizontal": 24,
36
+ "paddingVertical": 16,
37
+ "position": "absolute",
38
+ "right": 0,
39
+ "top": 0,
40
+ },
41
+ undefined,
42
+ ]
43
+ }
44
+ />
45
+ </View>
18
46
  `;
19
47
 
20
48
  exports[`LeadingStatus renders correctly themeLeadingStausIntent danger 1`] = `
21
49
  <View
22
50
  style={
23
- [
24
- {
25
- "backgroundColor": "#f46363",
26
- "borderRadius": 999,
27
- "marginRight": 8,
28
- "width": 8,
29
- },
30
- undefined,
31
- ]
51
+ {
52
+ "flex": 1,
53
+ }
32
54
  }
33
- themeLeadingStatusIntent="danger"
34
- />
55
+ >
56
+ <View
57
+ style={
58
+ [
59
+ {
60
+ "backgroundColor": "#f46363",
61
+ "borderRadius": 999,
62
+ "marginRight": 8,
63
+ "width": 8,
64
+ },
65
+ undefined,
66
+ ]
67
+ }
68
+ themeLeadingStatusIntent="danger"
69
+ />
70
+ <View
71
+ pointerEvents="box-none"
72
+ position="bottom"
73
+ style={
74
+ [
75
+ {
76
+ "bottom": 0,
77
+ "elevation": 9999,
78
+ "flexDirection": "column-reverse",
79
+ "left": 0,
80
+ "paddingHorizontal": 24,
81
+ "paddingVertical": 16,
82
+ "position": "absolute",
83
+ "right": 0,
84
+ "top": 0,
85
+ },
86
+ undefined,
87
+ ]
88
+ }
89
+ />
90
+ </View>
35
91
  `;
36
92
 
37
93
  exports[`LeadingStatus renders correctly themeLeadingStausIntent info 1`] = `
38
94
  <View
39
95
  style={
40
- [
41
- {
42
- "backgroundColor": "#b5c3fd",
43
- "borderRadius": 999,
44
- "marginRight": 8,
45
- "width": 8,
46
- },
47
- undefined,
48
- ]
96
+ {
97
+ "flex": 1,
98
+ }
49
99
  }
50
- themeLeadingStatusIntent="info"
51
- />
100
+ >
101
+ <View
102
+ style={
103
+ [
104
+ {
105
+ "backgroundColor": "#b5c3fd",
106
+ "borderRadius": 999,
107
+ "marginRight": 8,
108
+ "width": 8,
109
+ },
110
+ undefined,
111
+ ]
112
+ }
113
+ themeLeadingStatusIntent="info"
114
+ />
115
+ <View
116
+ pointerEvents="box-none"
117
+ position="bottom"
118
+ style={
119
+ [
120
+ {
121
+ "bottom": 0,
122
+ "elevation": 9999,
123
+ "flexDirection": "column-reverse",
124
+ "left": 0,
125
+ "paddingHorizontal": 24,
126
+ "paddingVertical": 16,
127
+ "position": "absolute",
128
+ "right": 0,
129
+ "top": 0,
130
+ },
131
+ undefined,
132
+ ]
133
+ }
134
+ />
135
+ </View>
52
136
  `;
53
137
 
54
138
  exports[`LeadingStatus renders correctly themeLeadingStausIntent success 1`] = `
55
139
  <View
56
140
  style={
57
- [
58
- {
59
- "backgroundColor": "#5ace7d",
60
- "borderRadius": 999,
61
- "marginRight": 8,
62
- "width": 8,
63
- },
64
- undefined,
65
- ]
141
+ {
142
+ "flex": 1,
143
+ }
66
144
  }
67
- themeLeadingStatusIntent="success"
68
- />
145
+ >
146
+ <View
147
+ style={
148
+ [
149
+ {
150
+ "backgroundColor": "#5ace7d",
151
+ "borderRadius": 999,
152
+ "marginRight": 8,
153
+ "width": 8,
154
+ },
155
+ undefined,
156
+ ]
157
+ }
158
+ themeLeadingStatusIntent="success"
159
+ />
160
+ <View
161
+ pointerEvents="box-none"
162
+ position="bottom"
163
+ style={
164
+ [
165
+ {
166
+ "bottom": 0,
167
+ "elevation": 9999,
168
+ "flexDirection": "column-reverse",
169
+ "left": 0,
170
+ "paddingHorizontal": 24,
171
+ "paddingVertical": 16,
172
+ "position": "absolute",
173
+ "right": 0,
174
+ "top": 0,
175
+ },
176
+ undefined,
177
+ ]
178
+ }
179
+ />
180
+ </View>
69
181
  `;
70
182
 
71
183
  exports[`LeadingStatus renders correctly themeLeadingStausIntent warning 1`] = `
72
184
  <View
73
185
  style={
74
- [
75
- {
76
- "backgroundColor": "#ffbe71",
77
- "borderRadius": 999,
78
- "marginRight": 8,
79
- "width": 8,
80
- },
81
- undefined,
82
- ]
186
+ {
187
+ "flex": 1,
188
+ }
83
189
  }
84
- themeLeadingStatusIntent="warning"
85
- />
190
+ >
191
+ <View
192
+ style={
193
+ [
194
+ {
195
+ "backgroundColor": "#ffbe71",
196
+ "borderRadius": 999,
197
+ "marginRight": 8,
198
+ "width": 8,
199
+ },
200
+ undefined,
201
+ ]
202
+ }
203
+ themeLeadingStatusIntent="warning"
204
+ />
205
+ <View
206
+ pointerEvents="box-none"
207
+ position="bottom"
208
+ style={
209
+ [
210
+ {
211
+ "bottom": 0,
212
+ "elevation": 9999,
213
+ "flexDirection": "column-reverse",
214
+ "left": 0,
215
+ "paddingHorizontal": 24,
216
+ "paddingVertical": 16,
217
+ "position": "absolute",
218
+ "right": 0,
219
+ "top": 0,
220
+ },
221
+ undefined,
222
+ ]
223
+ }
224
+ />
225
+ </View>
86
226
  `;
87
227
 
88
228
  exports[`ListItemContainer renders correctly themeSelected false themeVariant card 1`] = `
89
229
  <View
90
- accessibilityValue={
230
+ style={
91
231
  {
92
- "max": undefined,
93
- "min": undefined,
94
- "now": undefined,
95
- "text": undefined,
232
+ "flex": 1,
96
233
  }
97
234
  }
98
- accessible={true}
99
- focusable={false}
100
- onClick={[Function]}
101
- onResponderGrant={[Function]}
102
- onResponderMove={[Function]}
103
- onResponderRelease={[Function]}
104
- onResponderTerminate={[Function]}
105
- onResponderTerminationRequest={[Function]}
106
- onStartShouldSetResponder={[Function]}
107
- style={
108
- [
109
- {
110
- "alignItems": "center",
111
- "backgroundColor": "#ffffff",
112
- "borderRadius": 8,
113
- "elevation": 3,
114
- "flexDirection": "row",
115
- "padding": 16,
116
- "shadowColor": "#001f23",
117
- "shadowOffset": {
118
- "height": 2,
119
- "width": 0,
120
- },
121
- "shadowOpacity": 0.12,
122
- "shadowRadius": 4,
123
- },
124
- undefined,
125
- ]
126
- }
127
235
  >
128
- <Text
129
- allowFontScaling={false}
236
+ <View
237
+ accessibilityValue={
238
+ {
239
+ "max": undefined,
240
+ "min": undefined,
241
+ "now": undefined,
242
+ "text": undefined,
243
+ }
244
+ }
245
+ accessible={true}
246
+ focusable={false}
247
+ onClick={[Function]}
248
+ onResponderGrant={[Function]}
249
+ onResponderMove={[Function]}
250
+ onResponderRelease={[Function]}
251
+ onResponderTerminate={[Function]}
252
+ onResponderTerminationRequest={[Function]}
253
+ onStartShouldSetResponder={[Function]}
130
254
  style={
131
255
  [
132
256
  {
133
- "color": "#001f23",
134
- "fontFamily": "BeVietnamPro-Regular",
135
- "fontSize": 14,
136
- "letterSpacing": 0.48,
137
- "lineHeight": 22,
257
+ "alignItems": "center",
258
+ "backgroundColor": "#ffffff",
259
+ "borderRadius": 8,
260
+ "elevation": 3,
261
+ "flexDirection": "row",
262
+ "padding": 16,
263
+ "shadowColor": "#001f23",
264
+ "shadowOffset": {
265
+ "height": 2,
266
+ "width": 0,
267
+ },
268
+ "shadowOpacity": 0.12,
269
+ "shadowRadius": 4,
138
270
  },
139
271
  undefined,
140
272
  ]
141
273
  }
142
- themeIntent="body"
143
- themeTypeface="neutral"
144
- themeVariant="small"
145
274
  >
146
- StyledListItemContainer
147
- </Text>
275
+ <Text
276
+ allowFontScaling={false}
277
+ style={
278
+ [
279
+ {
280
+ "color": "#001f23",
281
+ "fontFamily": "BeVietnamPro-Regular",
282
+ "fontSize": 14,
283
+ "letterSpacing": 0.48,
284
+ "lineHeight": 22,
285
+ },
286
+ undefined,
287
+ ]
288
+ }
289
+ themeIntent="body"
290
+ themeTypeface="neutral"
291
+ themeVariant="small"
292
+ >
293
+ StyledListItemContainer
294
+ </Text>
295
+ </View>
296
+ <View
297
+ pointerEvents="box-none"
298
+ position="bottom"
299
+ style={
300
+ [
301
+ {
302
+ "bottom": 0,
303
+ "elevation": 9999,
304
+ "flexDirection": "column-reverse",
305
+ "left": 0,
306
+ "paddingHorizontal": 24,
307
+ "paddingVertical": 16,
308
+ "position": "absolute",
309
+ "right": 0,
310
+ "top": 0,
311
+ },
312
+ undefined,
313
+ ]
314
+ }
315
+ />
148
316
  </View>
149
317
  `;
150
318
 
151
319
  exports[`ListItemContainer renders correctly themeSelected false themeVariant full-width 1`] = `
152
320
  <View
153
- accessibilityValue={
321
+ style={
154
322
  {
155
- "max": undefined,
156
- "min": undefined,
157
- "now": undefined,
158
- "text": undefined,
323
+ "flex": 1,
159
324
  }
160
325
  }
161
- accessible={true}
162
- focusable={false}
163
- onClick={[Function]}
164
- onResponderGrant={[Function]}
165
- onResponderMove={[Function]}
166
- onResponderRelease={[Function]}
167
- onResponderTerminate={[Function]}
168
- onResponderTerminationRequest={[Function]}
169
- onStartShouldSetResponder={[Function]}
170
- style={
171
- [
172
- {
173
- "backgroundColor": "#ffffff",
174
- "borderRadius": 8,
175
- "flexDirection": "row",
176
- "padding": 16,
177
- },
178
- undefined,
179
- ]
180
- }
181
326
  >
182
- <Text
183
- allowFontScaling={false}
327
+ <View
328
+ accessibilityValue={
329
+ {
330
+ "max": undefined,
331
+ "min": undefined,
332
+ "now": undefined,
333
+ "text": undefined,
334
+ }
335
+ }
336
+ accessible={true}
337
+ focusable={false}
338
+ onClick={[Function]}
339
+ onResponderGrant={[Function]}
340
+ onResponderMove={[Function]}
341
+ onResponderRelease={[Function]}
342
+ onResponderTerminate={[Function]}
343
+ onResponderTerminationRequest={[Function]}
344
+ onStartShouldSetResponder={[Function]}
184
345
  style={
185
346
  [
186
347
  {
187
- "color": "#001f23",
188
- "fontFamily": "BeVietnamPro-Regular",
189
- "fontSize": 14,
190
- "letterSpacing": 0.48,
191
- "lineHeight": 22,
348
+ "backgroundColor": "#ffffff",
349
+ "borderRadius": 8,
350
+ "flexDirection": "row",
351
+ "padding": 16,
192
352
  },
193
353
  undefined,
194
354
  ]
195
355
  }
196
- themeIntent="body"
197
- themeTypeface="neutral"
198
- themeVariant="small"
199
356
  >
200
- StyledListItemContainer
201
- </Text>
357
+ <Text
358
+ allowFontScaling={false}
359
+ style={
360
+ [
361
+ {
362
+ "color": "#001f23",
363
+ "fontFamily": "BeVietnamPro-Regular",
364
+ "fontSize": 14,
365
+ "letterSpacing": 0.48,
366
+ "lineHeight": 22,
367
+ },
368
+ undefined,
369
+ ]
370
+ }
371
+ themeIntent="body"
372
+ themeTypeface="neutral"
373
+ themeVariant="small"
374
+ >
375
+ StyledListItemContainer
376
+ </Text>
377
+ </View>
378
+ <View
379
+ pointerEvents="box-none"
380
+ position="bottom"
381
+ style={
382
+ [
383
+ {
384
+ "bottom": 0,
385
+ "elevation": 9999,
386
+ "flexDirection": "column-reverse",
387
+ "left": 0,
388
+ "paddingHorizontal": 24,
389
+ "paddingVertical": 16,
390
+ "position": "absolute",
391
+ "right": 0,
392
+ "top": 0,
393
+ },
394
+ undefined,
395
+ ]
396
+ }
397
+ />
202
398
  </View>
203
399
  `;
204
400
 
205
401
  exports[`ListItemContainer renders correctly themeSelected true themeVariant card 1`] = `
206
402
  <View
207
- accessibilityValue={
403
+ style={
208
404
  {
209
- "max": undefined,
210
- "min": undefined,
211
- "now": undefined,
212
- "text": undefined,
405
+ "flex": 1,
213
406
  }
214
407
  }
215
- accessible={true}
216
- focusable={false}
217
- onClick={[Function]}
218
- onResponderGrant={[Function]}
219
- onResponderMove={[Function]}
220
- onResponderRelease={[Function]}
221
- onResponderTerminate={[Function]}
222
- onResponderTerminationRequest={[Function]}
223
- onStartShouldSetResponder={[Function]}
224
- style={
225
- [
226
- {
227
- "alignItems": "center",
228
- "backgroundColor": "#ece8ef",
229
- "borderRadius": 8,
230
- "elevation": 3,
231
- "flexDirection": "row",
232
- "padding": 16,
233
- "shadowColor": "#001f23",
234
- "shadowOffset": {
235
- "height": 2,
236
- "width": 0,
237
- },
238
- "shadowOpacity": 0.12,
239
- "shadowRadius": 4,
240
- },
241
- undefined,
242
- ]
243
- }
244
408
  >
245
- <Text
246
- allowFontScaling={false}
409
+ <View
410
+ accessibilityValue={
411
+ {
412
+ "max": undefined,
413
+ "min": undefined,
414
+ "now": undefined,
415
+ "text": undefined,
416
+ }
417
+ }
418
+ accessible={true}
419
+ focusable={false}
420
+ onClick={[Function]}
421
+ onResponderGrant={[Function]}
422
+ onResponderMove={[Function]}
423
+ onResponderRelease={[Function]}
424
+ onResponderTerminate={[Function]}
425
+ onResponderTerminationRequest={[Function]}
426
+ onStartShouldSetResponder={[Function]}
247
427
  style={
248
428
  [
249
429
  {
250
- "color": "#001f23",
251
- "fontFamily": "BeVietnamPro-Regular",
252
- "fontSize": 14,
253
- "letterSpacing": 0.48,
254
- "lineHeight": 22,
430
+ "alignItems": "center",
431
+ "backgroundColor": "#ece8ef",
432
+ "borderRadius": 8,
433
+ "elevation": 3,
434
+ "flexDirection": "row",
435
+ "padding": 16,
436
+ "shadowColor": "#001f23",
437
+ "shadowOffset": {
438
+ "height": 2,
439
+ "width": 0,
440
+ },
441
+ "shadowOpacity": 0.12,
442
+ "shadowRadius": 4,
255
443
  },
256
444
  undefined,
257
445
  ]
258
446
  }
259
- themeIntent="body"
260
- themeTypeface="neutral"
261
- themeVariant="small"
262
447
  >
263
- StyledListItemContainer
264
- </Text>
448
+ <Text
449
+ allowFontScaling={false}
450
+ style={
451
+ [
452
+ {
453
+ "color": "#001f23",
454
+ "fontFamily": "BeVietnamPro-Regular",
455
+ "fontSize": 14,
456
+ "letterSpacing": 0.48,
457
+ "lineHeight": 22,
458
+ },
459
+ undefined,
460
+ ]
461
+ }
462
+ themeIntent="body"
463
+ themeTypeface="neutral"
464
+ themeVariant="small"
465
+ >
466
+ StyledListItemContainer
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
+ />
265
489
  </View>
266
490
  `;
267
491
 
268
492
  exports[`ListItemContainer renders correctly themeSelected true themeVariant full-width 1`] = `
269
493
  <View
270
- accessibilityValue={
494
+ style={
271
495
  {
272
- "max": undefined,
273
- "min": undefined,
274
- "now": undefined,
275
- "text": undefined,
496
+ "flex": 1,
276
497
  }
277
498
  }
278
- accessible={true}
279
- focusable={false}
280
- onClick={[Function]}
281
- onResponderGrant={[Function]}
282
- onResponderMove={[Function]}
283
- onResponderRelease={[Function]}
284
- onResponderTerminate={[Function]}
285
- onResponderTerminationRequest={[Function]}
286
- onStartShouldSetResponder={[Function]}
287
- style={
288
- [
289
- {
290
- "backgroundColor": "#ece8ef",
291
- "borderRadius": 8,
292
- "flexDirection": "row",
293
- "padding": 16,
294
- },
295
- undefined,
296
- ]
297
- }
298
499
  >
299
- <Text
300
- allowFontScaling={false}
500
+ <View
501
+ accessibilityValue={
502
+ {
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]}
301
518
  style={
302
519
  [
303
520
  {
304
- "color": "#001f23",
305
- "fontFamily": "BeVietnamPro-Regular",
306
- "fontSize": 14,
307
- "letterSpacing": 0.48,
308
- "lineHeight": 22,
521
+ "backgroundColor": "#ece8ef",
522
+ "borderRadius": 8,
523
+ "flexDirection": "row",
524
+ "padding": 16,
309
525
  },
310
526
  undefined,
311
527
  ]
312
528
  }
313
- themeIntent="body"
314
- themeTypeface="neutral"
315
- themeVariant="small"
316
529
  >
317
- StyledListItemContainer
318
- </Text>
530
+ <Text
531
+ allowFontScaling={false}
532
+ style={
533
+ [
534
+ {
535
+ "color": "#001f23",
536
+ "fontFamily": "BeVietnamPro-Regular",
537
+ "fontSize": 14,
538
+ "letterSpacing": 0.48,
539
+ "lineHeight": 22,
540
+ },
541
+ undefined,
542
+ ]
543
+ }
544
+ themeIntent="body"
545
+ themeTypeface="neutral"
546
+ themeVariant="small"
547
+ >
548
+ StyledListItemContainer
549
+ </Text>
550
+ </View>
551
+ <View
552
+ pointerEvents="box-none"
553
+ position="bottom"
554
+ style={
555
+ [
556
+ {
557
+ "bottom": 0,
558
+ "elevation": 9999,
559
+ "flexDirection": "column-reverse",
560
+ "left": 0,
561
+ "paddingHorizontal": 24,
562
+ "paddingVertical": 16,
563
+ "position": "absolute",
564
+ "right": 0,
565
+ "top": 0,
566
+ },
567
+ undefined,
568
+ ]
569
+ }
570
+ />
319
571
  </View>
320
572
  `;