@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,83 +2,245 @@
2
2
 
3
3
  exports[`Option renders correctly when not selected 1`] = `
4
4
  <View
5
- collapsable={false}
6
5
  style={
7
6
  {
8
- "alignItems": "center",
9
- "justifyContent": "center",
10
- "paddingHorizontal": 16,
11
- "transform": [
12
- {
13
- "translateX": 0,
14
- },
15
- ],
16
- "zIndex": 1,
7
+ "flex": 1,
17
8
  }
18
9
  }
19
10
  >
20
11
  <View
12
+ collapsable={false}
21
13
  style={
22
14
  {
23
- "paddingHorizontal": 8,
15
+ "alignItems": "center",
16
+ "justifyContent": "center",
17
+ "paddingHorizontal": 16,
18
+ "transform": [
19
+ {
20
+ "translateX": 0,
21
+ },
22
+ ],
23
+ "zIndex": 1,
24
24
  }
25
25
  }
26
- testID="selector-switch-status-badge"
27
26
  >
28
- <HeroIcon
29
- name="user"
27
+ <View
30
28
  style={
31
- [
29
+ {
30
+ "paddingHorizontal": 8,
31
+ }
32
+ }
33
+ testID="selector-switch-status-badge"
34
+ >
35
+ <HeroIcon
36
+ name="user"
37
+ style={
38
+ [
39
+ {
40
+ "color": "#001f23",
41
+ "fontSize": 24,
42
+ },
43
+ undefined,
44
+ ]
45
+ }
46
+ themeIntent="text"
47
+ themeSize="medium"
48
+ />
49
+ <View
50
+ collapsable={false}
51
+ style={
32
52
  {
33
- "color": "#001f23",
34
- "fontSize": 24,
53
+ "backgroundColor": "#cb300a",
54
+ "borderRadius": 999,
55
+ "height": 8,
56
+ "opacity": 1,
57
+ "position": "absolute",
58
+ "right": -2,
59
+ "top": -2,
60
+ "transform": [
61
+ {
62
+ "scale": 1,
63
+ },
64
+ ],
65
+ "width": 8,
66
+ }
67
+ }
68
+ themeIntent="danger"
69
+ />
70
+ </View>
71
+ </View>
72
+ <View
73
+ pointerEvents="box-none"
74
+ position="bottom"
75
+ style={
76
+ [
77
+ {
78
+ "bottom": 0,
79
+ "elevation": 9999,
80
+ "flexDirection": "column-reverse",
81
+ "left": 0,
82
+ "paddingHorizontal": 24,
83
+ "paddingVertical": 16,
84
+ "position": "absolute",
85
+ "right": 0,
86
+ "top": 0,
87
+ },
88
+ undefined,
89
+ ]
90
+ }
91
+ />
92
+ </View>
93
+ `;
94
+
95
+ exports[`Option renders correctly when selected 1`] = `
96
+ <View
97
+ style={
98
+ {
99
+ "flex": 1,
100
+ }
101
+ }
102
+ >
103
+ <View
104
+ collapsable={false}
105
+ style={
106
+ {
107
+ "alignItems": "center",
108
+ "borderRadius": 999,
109
+ "flex": 1,
110
+ "justifyContent": "center",
111
+ "transform": [
112
+ {
113
+ "translateX": 0,
35
114
  },
36
- undefined,
37
- ]
115
+ ],
116
+ "zIndex": 1,
38
117
  }
39
- themeIntent="text"
40
- themeSize="medium"
41
- />
118
+ }
119
+ >
42
120
  <View
43
- collapsable={false}
44
121
  style={
45
122
  {
46
- "backgroundColor": "#cb300a",
47
- "borderRadius": 999,
48
- "height": 8,
49
- "opacity": 1,
50
- "position": "absolute",
51
- "right": -2,
52
- "top": -2,
53
- "transform": [
123
+ "paddingHorizontal": 8,
124
+ }
125
+ }
126
+ testID="selector-switch-status-badge"
127
+ >
128
+ <Text
129
+ allowFontScaling={false}
130
+ style={
131
+ [
54
132
  {
55
- "scale": 1,
133
+ "color": "#001f23",
134
+ "fontFamily": "BeVietnamPro-Regular",
135
+ "fontSize": 16,
136
+ "letterSpacing": 0.48,
137
+ "lineHeight": 24,
56
138
  },
57
- ],
58
- "width": 8,
139
+ undefined,
140
+ ]
59
141
  }
60
- }
61
- themeIntent="danger"
62
- />
142
+ themeIntent="body"
143
+ themeTypeface="neutral"
144
+ themeVariant="regular"
145
+ >
146
+ My Dashboard
147
+ </Text>
148
+ <View
149
+ collapsable={false}
150
+ style={
151
+ {
152
+ "backgroundColor": "#cb300a",
153
+ "borderRadius": 999,
154
+ "height": 8,
155
+ "opacity": 1,
156
+ "position": "absolute",
157
+ "right": -2,
158
+ "top": -2,
159
+ "transform": [
160
+ {
161
+ "scale": 1,
162
+ },
163
+ ],
164
+ "width": 8,
165
+ }
166
+ }
167
+ themeIntent="danger"
168
+ />
169
+ </View>
63
170
  </View>
171
+ <View
172
+ pointerEvents="box-none"
173
+ position="bottom"
174
+ style={
175
+ [
176
+ {
177
+ "bottom": 0,
178
+ "elevation": 9999,
179
+ "flexDirection": "column-reverse",
180
+ "left": 0,
181
+ "paddingHorizontal": 24,
182
+ "paddingVertical": 16,
183
+ "position": "absolute",
184
+ "right": 0,
185
+ "top": 0,
186
+ },
187
+ undefined,
188
+ ]
189
+ }
190
+ />
64
191
  </View>
65
192
  `;
66
193
 
67
- exports[`Option renders correctly when selected 1`] = `
194
+ exports[`OptionContent renders correctly there is no badge 1`] = `
68
195
  <View
69
- collapsable={false}
70
196
  style={
71
197
  {
72
- "alignItems": "center",
73
- "borderRadius": 999,
74
198
  "flex": 1,
75
- "justifyContent": "center",
76
- "transform": [
199
+ }
200
+ }
201
+ >
202
+ <HeroIcon
203
+ name="user"
204
+ style={
205
+ [
206
+ {
207
+ "color": "#001f23",
208
+ "fontSize": 24,
209
+ },
210
+ undefined,
211
+ ]
212
+ }
213
+ themeIntent="text"
214
+ themeSize="medium"
215
+ />
216
+ <View
217
+ pointerEvents="box-none"
218
+ position="bottom"
219
+ style={
220
+ [
77
221
  {
78
- "translateX": 0,
222
+ "bottom": 0,
223
+ "elevation": 9999,
224
+ "flexDirection": "column-reverse",
225
+ "left": 0,
226
+ "paddingHorizontal": 24,
227
+ "paddingVertical": 16,
228
+ "position": "absolute",
229
+ "right": 0,
230
+ "top": 0,
79
231
  },
80
- ],
81
- "zIndex": 1,
232
+ undefined,
233
+ ]
234
+ }
235
+ />
236
+ </View>
237
+ `;
238
+
239
+ exports[`OptionContent renders correctly when there is a badge 1`] = `
240
+ <View
241
+ style={
242
+ {
243
+ "flex": 1,
82
244
  }
83
245
  }
84
246
  >
@@ -90,26 +252,20 @@ exports[`Option renders correctly when selected 1`] = `
90
252
  }
91
253
  testID="selector-switch-status-badge"
92
254
  >
93
- <Text
94
- allowFontScaling={false}
255
+ <HeroIcon
256
+ name="user"
95
257
  style={
96
258
  [
97
259
  {
98
260
  "color": "#001f23",
99
- "fontFamily": "BeVietnamPro-Regular",
100
- "fontSize": 16,
101
- "letterSpacing": 0.48,
102
- "lineHeight": 24,
261
+ "fontSize": 24,
103
262
  },
104
263
  undefined,
105
264
  ]
106
265
  }
107
- themeIntent="body"
108
- themeTypeface="neutral"
109
- themeVariant="regular"
110
- >
111
- My Dashboard
112
- </Text>
266
+ themeIntent="text"
267
+ themeSize="medium"
268
+ />
113
269
  <View
114
270
  collapsable={false}
115
271
  style={
@@ -132,69 +288,25 @@ exports[`Option renders correctly when selected 1`] = `
132
288
  themeIntent="danger"
133
289
  />
134
290
  </View>
135
- </View>
136
- `;
137
-
138
- exports[`OptionContent renders correctly there is no badge 1`] = `
139
- <HeroIcon
140
- name="user"
141
- style={
142
- [
143
- {
144
- "color": "#001f23",
145
- "fontSize": 24,
146
- },
147
- undefined,
148
- ]
149
- }
150
- themeIntent="text"
151
- themeSize="medium"
152
- />
153
- `;
154
-
155
- exports[`OptionContent renders correctly when there is a badge 1`] = `
156
- <View
157
- style={
158
- {
159
- "paddingHorizontal": 8,
160
- }
161
- }
162
- testID="selector-switch-status-badge"
163
- >
164
- <HeroIcon
165
- name="user"
291
+ <View
292
+ pointerEvents="box-none"
293
+ position="bottom"
166
294
  style={
167
295
  [
168
296
  {
169
- "color": "#001f23",
170
- "fontSize": 24,
297
+ "bottom": 0,
298
+ "elevation": 9999,
299
+ "flexDirection": "column-reverse",
300
+ "left": 0,
301
+ "paddingHorizontal": 24,
302
+ "paddingVertical": 16,
303
+ "position": "absolute",
304
+ "right": 0,
305
+ "top": 0,
171
306
  },
172
307
  undefined,
173
308
  ]
174
309
  }
175
- themeIntent="text"
176
- themeSize="medium"
177
- />
178
- <View
179
- collapsable={false}
180
- style={
181
- {
182
- "backgroundColor": "#cb300a",
183
- "borderRadius": 999,
184
- "height": 8,
185
- "opacity": 1,
186
- "position": "absolute",
187
- "right": -2,
188
- "top": -2,
189
- "transform": [
190
- {
191
- "scale": 1,
192
- },
193
- ],
194
- "width": 8,
195
- }
196
- }
197
- themeIntent="danger"
198
310
  />
199
311
  </View>
200
312
  `;
@@ -2,159 +2,187 @@
2
2
 
3
3
  exports[`SelectorSwitch renders correctly 1`] = `
4
4
  <View
5
- accessibilityState={
5
+ style={
6
6
  {
7
- "busy": undefined,
8
- "checked": undefined,
9
- "disabled": undefined,
10
- "expanded": undefined,
11
- "selected": undefined,
7
+ "flex": 1,
12
8
  }
13
9
  }
14
- accessible={true}
15
- focusable={true}
16
- onClick={[Function]}
17
- onLayout={[Function]}
18
- onResponderGrant={[Function]}
19
- onResponderMove={[Function]}
20
- onResponderRelease={[Function]}
21
- onResponderTerminate={[Function]}
22
- onResponderTerminationRequest={[Function]}
23
- onStartShouldSetResponder={[Function]}
24
- style={
25
- [
26
- {
27
- "backgroundColor": "#ffffff",
28
- "borderRadius": 999,
29
- "flexDirection": "row",
30
- "height": 40,
31
- "paddingHorizontal": 4,
32
- "position": "relative",
33
- "width": "100%",
34
- },
35
- undefined,
36
- ]
37
- }
38
10
  >
39
11
  <View
40
- collapsable={false}
41
- onLayout={[Function]}
42
- style={
12
+ accessibilityState={
43
13
  {
44
- "alignItems": "center",
45
- "borderRadius": 999,
46
- "flex": 1,
47
- "justifyContent": "center",
48
- "transform": [
49
- {
50
- "translateX": 0,
51
- },
52
- ],
53
- "zIndex": 1,
14
+ "busy": undefined,
15
+ "checked": undefined,
16
+ "disabled": undefined,
17
+ "expanded": undefined,
18
+ "selected": undefined,
54
19
  }
55
20
  }
56
- >
57
- <Text
58
- allowFontScaling={false}
59
- style={
60
- [
61
- {
62
- "color": "#001f23",
63
- "fontFamily": "BeVietnamPro-Regular",
64
- "fontSize": 16,
65
- "letterSpacing": 0.48,
66
- "lineHeight": 24,
67
- },
68
- undefined,
69
- ]
70
- }
71
- themeIntent="body"
72
- themeTypeface="neutral"
73
- themeVariant="regular"
74
- >
75
- My Dashboard
76
- </Text>
77
- </View>
78
- <View
79
- collapsable={false}
21
+ accessible={true}
22
+ focusable={true}
23
+ onClick={[Function]}
80
24
  onLayout={[Function]}
25
+ onResponderGrant={[Function]}
26
+ onResponderMove={[Function]}
27
+ onResponderRelease={[Function]}
28
+ onResponderTerminate={[Function]}
29
+ onResponderTerminationRequest={[Function]}
30
+ onStartShouldSetResponder={[Function]}
81
31
  style={
82
- {
83
- "alignItems": "center",
84
- "justifyContent": "center",
85
- "paddingHorizontal": 16,
86
- "transform": [
87
- {
88
- "translateX": 0,
89
- },
90
- ],
91
- "zIndex": 1,
92
- }
32
+ [
33
+ {
34
+ "backgroundColor": "#ffffff",
35
+ "borderRadius": 999,
36
+ "flexDirection": "row",
37
+ "height": 40,
38
+ "paddingHorizontal": 4,
39
+ "position": "relative",
40
+ "width": "100%",
41
+ },
42
+ undefined,
43
+ ]
93
44
  }
94
45
  >
95
46
  <View
47
+ collapsable={false}
48
+ onLayout={[Function]}
96
49
  style={
97
50
  {
98
- "paddingHorizontal": 8,
51
+ "alignItems": "center",
52
+ "borderRadius": 999,
53
+ "flex": 1,
54
+ "justifyContent": "center",
55
+ "transform": [
56
+ {
57
+ "translateX": 0,
58
+ },
59
+ ],
60
+ "zIndex": 1,
99
61
  }
100
62
  }
101
- testID="selector-switch-status-badge"
102
63
  >
103
- <HeroIcon
104
- name="multiple-users"
64
+ <Text
65
+ allowFontScaling={false}
105
66
  style={
106
67
  [
107
68
  {
108
69
  "color": "#001f23",
109
- "fontSize": 24,
70
+ "fontFamily": "BeVietnamPro-Regular",
71
+ "fontSize": 16,
72
+ "letterSpacing": 0.48,
73
+ "lineHeight": 24,
110
74
  },
111
75
  undefined,
112
76
  ]
113
77
  }
114
- themeIntent="text"
115
- themeSize="medium"
116
- />
78
+ themeIntent="body"
79
+ themeTypeface="neutral"
80
+ themeVariant="regular"
81
+ >
82
+ My Dashboard
83
+ </Text>
84
+ </View>
85
+ <View
86
+ collapsable={false}
87
+ onLayout={[Function]}
88
+ style={
89
+ {
90
+ "alignItems": "center",
91
+ "justifyContent": "center",
92
+ "paddingHorizontal": 16,
93
+ "transform": [
94
+ {
95
+ "translateX": 0,
96
+ },
97
+ ],
98
+ "zIndex": 1,
99
+ }
100
+ }
101
+ >
117
102
  <View
118
- collapsable={false}
119
103
  style={
120
104
  {
121
- "backgroundColor": "#cb300a",
122
- "borderRadius": 999,
123
- "height": 8,
124
- "opacity": 1,
125
- "position": "absolute",
126
- "right": -2,
127
- "top": -2,
128
- "transform": [
105
+ "paddingHorizontal": 8,
106
+ }
107
+ }
108
+ testID="selector-switch-status-badge"
109
+ >
110
+ <HeroIcon
111
+ name="multiple-users"
112
+ style={
113
+ [
129
114
  {
130
- "scale": 1,
115
+ "color": "#001f23",
116
+ "fontSize": 24,
131
117
  },
132
- ],
133
- "width": 8,
118
+ undefined,
119
+ ]
134
120
  }
135
- }
136
- themeIntent="danger"
137
- />
121
+ themeIntent="text"
122
+ themeSize="medium"
123
+ />
124
+ <View
125
+ collapsable={false}
126
+ style={
127
+ {
128
+ "backgroundColor": "#cb300a",
129
+ "borderRadius": 999,
130
+ "height": 8,
131
+ "opacity": 1,
132
+ "position": "absolute",
133
+ "right": -2,
134
+ "top": -2,
135
+ "transform": [
136
+ {
137
+ "scale": 1,
138
+ },
139
+ ],
140
+ "width": 8,
141
+ }
142
+ }
143
+ themeIntent="danger"
144
+ />
145
+ </View>
138
146
  </View>
147
+ <View
148
+ collapsable={false}
149
+ style={
150
+ {
151
+ "backgroundColor": "#ccd2d3",
152
+ "borderRadius": 999,
153
+ "bottom": 0,
154
+ "left": 0,
155
+ "position": "absolute",
156
+ "right": 0,
157
+ "top": 0,
158
+ "transform": [
159
+ {
160
+ "translateX": 0,
161
+ },
162
+ ],
163
+ "width": 0,
164
+ }
165
+ }
166
+ />
139
167
  </View>
140
168
  <View
141
- collapsable={false}
169
+ pointerEvents="box-none"
170
+ position="bottom"
142
171
  style={
143
- {
144
- "backgroundColor": "#ccd2d3",
145
- "borderRadius": 999,
146
- "bottom": 0,
147
- "left": 0,
148
- "position": "absolute",
149
- "right": 0,
150
- "top": 0,
151
- "transform": [
152
- {
153
- "translateX": 0,
154
- },
155
- ],
156
- "width": 0,
157
- }
172
+ [
173
+ {
174
+ "bottom": 0,
175
+ "elevation": 9999,
176
+ "flexDirection": "column-reverse",
177
+ "left": 0,
178
+ "paddingHorizontal": 24,
179
+ "paddingVertical": 16,
180
+ "position": "absolute",
181
+ "right": 0,
182
+ "top": 0,
183
+ },
184
+ undefined,
185
+ ]
158
186
  }
159
187
  />
160
188
  </View>