@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,267 +2,351 @@
2
2
 
3
3
  exports[`Avatar fallbacks to title when there image failed to load 1`] = `
4
4
  <View
5
- accessibilityState={
6
- {
7
- "busy": undefined,
8
- "checked": undefined,
9
- "disabled": true,
10
- "expanded": undefined,
11
- "selected": undefined,
12
- }
13
- }
14
- accessibilityValue={
15
- {
16
- "max": undefined,
17
- "min": undefined,
18
- "now": undefined,
19
- "text": undefined,
20
- }
21
- }
22
- accessible={true}
23
- collapsable={false}
24
- focusable={false}
25
- onClick={[Function]}
26
- onResponderGrant={[Function]}
27
- onResponderMove={[Function]}
28
- onResponderRelease={[Function]}
29
- onResponderTerminate={[Function]}
30
- onResponderTerminationRequest={[Function]}
31
- onStartShouldSetResponder={[Function]}
32
5
  style={
33
6
  {
34
- "backgroundColor": "#401960",
35
- "borderRadius": 999,
36
- "height": 32,
37
- "opacity": 1,
38
- "overflow": "hidden",
39
- "width": 32,
7
+ "flex": 1,
40
8
  }
41
9
  }
42
10
  >
43
11
  <View
12
+ accessibilityState={
13
+ {
14
+ "busy": undefined,
15
+ "checked": undefined,
16
+ "disabled": true,
17
+ "expanded": undefined,
18
+ "selected": undefined,
19
+ }
20
+ }
21
+ accessibilityValue={
22
+ {
23
+ "max": undefined,
24
+ "min": undefined,
25
+ "now": undefined,
26
+ "text": undefined,
27
+ }
28
+ }
29
+ accessible={true}
30
+ collapsable={false}
31
+ focusable={false}
32
+ onClick={[Function]}
33
+ onResponderGrant={[Function]}
34
+ onResponderMove={[Function]}
35
+ onResponderRelease={[Function]}
36
+ onResponderTerminate={[Function]}
37
+ onResponderTerminationRequest={[Function]}
38
+ onStartShouldSetResponder={[Function]}
44
39
  style={
45
- [
46
- {
47
- "alignItems": "center",
48
- "height": "100%",
49
- "justifyContent": "center",
50
- "width": "100%",
51
- },
52
- undefined,
53
- ]
40
+ {
41
+ "backgroundColor": "#401960",
42
+ "borderRadius": 999,
43
+ "height": 32,
44
+ "opacity": 1,
45
+ "overflow": "hidden",
46
+ "width": 32,
47
+ }
54
48
  }
55
49
  >
56
- <Text
57
- allowFontScaling={false}
50
+ <View
58
51
  style={
59
52
  [
60
53
  {
61
- "color": "#001f23",
62
- "fontFamily": "BeVietnamPro-Regular",
63
- "fontSize": 14,
64
- "letterSpacing": 0.42,
65
- "lineHeight": 22,
54
+ "alignItems": "center",
55
+ "height": "100%",
56
+ "justifyContent": "center",
57
+ "width": "100%",
66
58
  },
59
+ undefined,
60
+ ]
61
+ }
62
+ >
63
+ <Text
64
+ allowFontScaling={false}
65
+ style={
67
66
  [
68
67
  {
69
- "color": "#ffffff",
68
+ "color": "#001f23",
70
69
  "fontFamily": "BeVietnamPro-Regular",
71
- "fontSize": 16,
72
- "lineHeight": 0,
73
- "overflow": "hidden",
74
- "textAlign": "center",
75
- "textAlignVertical": "center",
70
+ "fontSize": 14,
71
+ "letterSpacing": 0.42,
72
+ "lineHeight": 22,
76
73
  },
77
- undefined,
78
- ],
74
+ [
75
+ {
76
+ "color": "#ffffff",
77
+ "fontFamily": "BeVietnamPro-Regular",
78
+ "fontSize": 16,
79
+ "lineHeight": 0,
80
+ "overflow": "hidden",
81
+ "textAlign": "center",
82
+ "textAlignVertical": "center",
83
+ },
84
+ undefined,
85
+ ],
86
+ ]
87
+ }
88
+ themeFontSize="medium"
89
+ themeFontWeight="regular"
90
+ themeIntent="body"
91
+ themeSize="small"
92
+ themeTypeface="neutral"
93
+ >
94
+ TT
95
+ </Text>
96
+ </View>
97
+ <Image
98
+ onError={[Function]}
99
+ onLoad={[Function]}
100
+ resizeMode="cover"
101
+ source={
102
+ {
103
+ "uri": "error URI",
104
+ }
105
+ }
106
+ style={
107
+ [
108
+ {
109
+ "height": 32,
110
+ "width": 32,
111
+ },
112
+ undefined,
79
113
  ]
80
114
  }
81
- themeFontSize="medium"
82
- themeFontWeight="regular"
83
- themeIntent="body"
115
+ testID="avatar-image"
84
116
  themeSize="small"
85
- themeTypeface="neutral"
86
- >
87
- TT
88
- </Text>
117
+ />
89
118
  </View>
90
- <Image
91
- onError={[Function]}
92
- onLoad={[Function]}
93
- resizeMode="cover"
94
- source={
95
- {
96
- "uri": "error URI",
97
- }
98
- }
119
+ <View
120
+ pointerEvents="box-none"
121
+ position="bottom"
99
122
  style={
100
123
  [
101
124
  {
102
- "height": 32,
103
- "width": 32,
125
+ "bottom": 0,
126
+ "elevation": 9999,
127
+ "flexDirection": "column-reverse",
128
+ "left": 0,
129
+ "paddingHorizontal": 24,
130
+ "paddingVertical": 16,
131
+ "position": "absolute",
132
+ "right": 0,
133
+ "top": 0,
104
134
  },
105
135
  undefined,
106
136
  ]
107
137
  }
108
- testID="avatar-image"
109
- themeSize="small"
110
138
  />
111
139
  </View>
112
140
  `;
113
141
 
114
142
  exports[`Avatar prioritizes source over title 1`] = `
115
143
  <View
116
- accessibilityState={
117
- {
118
- "busy": undefined,
119
- "checked": undefined,
120
- "disabled": true,
121
- "expanded": undefined,
122
- "selected": undefined,
123
- }
124
- }
125
- accessibilityValue={
126
- {
127
- "max": undefined,
128
- "min": undefined,
129
- "now": undefined,
130
- "text": undefined,
131
- }
132
- }
133
- accessible={true}
134
- collapsable={false}
135
- focusable={false}
136
- onClick={[Function]}
137
- onResponderGrant={[Function]}
138
- onResponderMove={[Function]}
139
- onResponderRelease={[Function]}
140
- onResponderTerminate={[Function]}
141
- onResponderTerminationRequest={[Function]}
142
- onStartShouldSetResponder={[Function]}
143
144
  style={
144
145
  {
145
- "backgroundColor": "#401960",
146
- "borderRadius": 999,
147
- "height": 32,
148
- "opacity": 1,
149
- "overflow": "hidden",
150
- "width": 32,
146
+ "flex": 1,
151
147
  }
152
148
  }
153
- testID="avatar"
154
149
  >
155
- <Image
156
- onError={[Function]}
157
- onLoad={[Function]}
158
- resizeMode="cover"
159
- source={
150
+ <View
151
+ accessibilityState={
152
+ {
153
+ "busy": undefined,
154
+ "checked": undefined,
155
+ "disabled": true,
156
+ "expanded": undefined,
157
+ "selected": undefined,
158
+ }
159
+ }
160
+ accessibilityValue={
161
+ {
162
+ "max": undefined,
163
+ "min": undefined,
164
+ "now": undefined,
165
+ "text": undefined,
166
+ }
167
+ }
168
+ accessible={true}
169
+ collapsable={false}
170
+ focusable={false}
171
+ onClick={[Function]}
172
+ onResponderGrant={[Function]}
173
+ onResponderMove={[Function]}
174
+ onResponderRelease={[Function]}
175
+ onResponderTerminate={[Function]}
176
+ onResponderTerminationRequest={[Function]}
177
+ onStartShouldSetResponder={[Function]}
178
+ style={
160
179
  {
161
- "uri": "https://i.pravatar.cc/300",
180
+ "backgroundColor": "#401960",
181
+ "borderRadius": 999,
182
+ "height": 32,
183
+ "opacity": 1,
184
+ "overflow": "hidden",
185
+ "width": 32,
162
186
  }
163
187
  }
188
+ testID="avatar"
189
+ >
190
+ <Image
191
+ onError={[Function]}
192
+ onLoad={[Function]}
193
+ resizeMode="cover"
194
+ source={
195
+ {
196
+ "uri": "https://i.pravatar.cc/300",
197
+ }
198
+ }
199
+ style={
200
+ [
201
+ {
202
+ "height": 32,
203
+ "width": 32,
204
+ },
205
+ undefined,
206
+ ]
207
+ }
208
+ testID="avatar-image"
209
+ themeSize="small"
210
+ />
211
+ </View>
212
+ <View
213
+ pointerEvents="box-none"
214
+ position="bottom"
164
215
  style={
165
216
  [
166
217
  {
167
- "height": 32,
168
- "width": 32,
218
+ "bottom": 0,
219
+ "elevation": 9999,
220
+ "flexDirection": "column-reverse",
221
+ "left": 0,
222
+ "paddingHorizontal": 24,
223
+ "paddingVertical": 16,
224
+ "position": "absolute",
225
+ "right": 0,
226
+ "top": 0,
169
227
  },
170
228
  undefined,
171
229
  ]
172
230
  }
173
- testID="avatar-image"
174
- themeSize="small"
175
231
  />
176
232
  </View>
177
233
  `;
178
234
 
179
235
  exports[`Avatar shows title when there is no source 1`] = `
180
236
  <View
181
- accessibilityState={
182
- {
183
- "busy": undefined,
184
- "checked": undefined,
185
- "disabled": true,
186
- "expanded": undefined,
187
- "selected": undefined,
188
- }
189
- }
190
- accessibilityValue={
191
- {
192
- "max": undefined,
193
- "min": undefined,
194
- "now": undefined,
195
- "text": undefined,
196
- }
197
- }
198
- accessible={true}
199
- collapsable={false}
200
- focusable={false}
201
- onClick={[Function]}
202
- onResponderGrant={[Function]}
203
- onResponderMove={[Function]}
204
- onResponderRelease={[Function]}
205
- onResponderTerminate={[Function]}
206
- onResponderTerminationRequest={[Function]}
207
- onStartShouldSetResponder={[Function]}
208
237
  style={
209
238
  {
210
- "backgroundColor": "#401960",
211
- "borderRadius": 999,
212
- "height": 32,
213
- "opacity": 1,
214
- "overflow": "hidden",
215
- "width": 32,
239
+ "flex": 1,
216
240
  }
217
241
  }
218
- testID="avatar"
219
242
  >
220
243
  <View
244
+ accessibilityState={
245
+ {
246
+ "busy": undefined,
247
+ "checked": undefined,
248
+ "disabled": true,
249
+ "expanded": undefined,
250
+ "selected": undefined,
251
+ }
252
+ }
253
+ accessibilityValue={
254
+ {
255
+ "max": undefined,
256
+ "min": undefined,
257
+ "now": undefined,
258
+ "text": undefined,
259
+ }
260
+ }
261
+ accessible={true}
262
+ collapsable={false}
263
+ focusable={false}
264
+ onClick={[Function]}
265
+ onResponderGrant={[Function]}
266
+ onResponderMove={[Function]}
267
+ onResponderRelease={[Function]}
268
+ onResponderTerminate={[Function]}
269
+ onResponderTerminationRequest={[Function]}
270
+ onStartShouldSetResponder={[Function]}
221
271
  style={
222
- [
223
- {
224
- "alignItems": "center",
225
- "height": "100%",
226
- "justifyContent": "center",
227
- "width": "100%",
228
- },
229
- undefined,
230
- ]
272
+ {
273
+ "backgroundColor": "#401960",
274
+ "borderRadius": 999,
275
+ "height": 32,
276
+ "opacity": 1,
277
+ "overflow": "hidden",
278
+ "width": 32,
279
+ }
231
280
  }
281
+ testID="avatar"
232
282
  >
233
- <Text
234
- allowFontScaling={false}
283
+ <View
235
284
  style={
236
285
  [
237
286
  {
238
- "color": "#001f23",
239
- "fontFamily": "BeVietnamPro-Regular",
240
- "fontSize": 14,
241
- "letterSpacing": 0.42,
242
- "lineHeight": 22,
287
+ "alignItems": "center",
288
+ "height": "100%",
289
+ "justifyContent": "center",
290
+ "width": "100%",
243
291
  },
292
+ undefined,
293
+ ]
294
+ }
295
+ >
296
+ <Text
297
+ allowFontScaling={false}
298
+ style={
244
299
  [
245
300
  {
246
- "color": "#ffffff",
301
+ "color": "#001f23",
247
302
  "fontFamily": "BeVietnamPro-Regular",
248
- "fontSize": 16,
249
- "lineHeight": 0,
250
- "overflow": "hidden",
251
- "textAlign": "center",
252
- "textAlignVertical": "center",
303
+ "fontSize": 14,
304
+ "letterSpacing": 0.42,
305
+ "lineHeight": 22,
253
306
  },
254
- undefined,
255
- ],
256
- ]
257
- }
258
- themeFontSize="medium"
259
- themeFontWeight="regular"
260
- themeIntent="body"
261
- themeSize="small"
262
- themeTypeface="neutral"
263
- >
264
- TT
265
- </Text>
307
+ [
308
+ {
309
+ "color": "#ffffff",
310
+ "fontFamily": "BeVietnamPro-Regular",
311
+ "fontSize": 16,
312
+ "lineHeight": 0,
313
+ "overflow": "hidden",
314
+ "textAlign": "center",
315
+ "textAlignVertical": "center",
316
+ },
317
+ undefined,
318
+ ],
319
+ ]
320
+ }
321
+ themeFontSize="medium"
322
+ themeFontWeight="regular"
323
+ themeIntent="body"
324
+ themeSize="small"
325
+ themeTypeface="neutral"
326
+ >
327
+ TT
328
+ </Text>
329
+ </View>
266
330
  </View>
331
+ <View
332
+ pointerEvents="box-none"
333
+ position="bottom"
334
+ style={
335
+ [
336
+ {
337
+ "bottom": 0,
338
+ "elevation": 9999,
339
+ "flexDirection": "column-reverse",
340
+ "left": 0,
341
+ "paddingHorizontal": 24,
342
+ "paddingVertical": 16,
343
+ "position": "absolute",
344
+ "right": 0,
345
+ "top": 0,
346
+ },
347
+ undefined,
348
+ ]
349
+ }
350
+ />
267
351
  </View>
268
352
  `;