@hero-design/rn 8.42.4 → 8.43.1

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 (202) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +20 -0
  3. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/es/index.js +2174 -1988
  5. package/jest-setup.ts +2 -0
  6. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  7. package/lib/index.js +2173 -1986
  8. package/package.json +20 -20
  9. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +68 -0
  10. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +102 -0
  11. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +85 -0
  12. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +34 -0
  13. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +12 -0
  14. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +108 -0
  15. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +17 -0
  16. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +36 -0
  17. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +36 -0
  18. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +247 -211
  19. package/src/components/BottomSheet/index.tsx +1 -1
  20. package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +6 -10
  21. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +0 -20
  22. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +0 -70
  23. package/src/components/Button/StyledButton.tsx +4 -0
  24. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +34 -0
  25. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +144 -42
  26. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +17 -0
  27. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +90 -0
  28. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +85 -0
  29. package/src/components/Carousel/CardCarousel.tsx +10 -7
  30. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +4 -0
  31. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +39 -0
  32. package/src/components/Carousel/__tests__/index.spec.tsx +8 -10
  33. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +68 -0
  34. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +72 -0
  35. package/src/components/Chip/StyledChip.tsx +121 -0
  36. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1147 -0
  37. package/src/components/Chip/__tests__/index.spec.tsx +136 -0
  38. package/src/components/Chip/index.tsx +82 -0
  39. package/src/components/Collapse/index.tsx +1 -1
  40. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +72 -0
  41. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +48 -0
  42. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +12 -0
  43. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +12 -0
  44. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +470 -399
  45. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +51 -0
  46. package/src/components/Error/__tests__/index.spec.tsx +9 -6
  47. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +81 -0
  48. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +16 -0
  49. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +24 -0
  50. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  51. package/src/components/Icon/IconList.ts +1 -0
  52. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +16 -0
  53. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +60 -0
  54. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +32 -0
  55. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +32 -0
  56. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +16 -0
  57. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +24 -0
  58. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +180 -0
  59. package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +8 -10
  60. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +119 -0
  61. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +1 -0
  62. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +18 -0
  63. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +8 -0
  64. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +124 -0
  65. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +804 -455
  66. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -10
  67. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +8 -0
  68. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +124 -0
  69. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +790 -532
  70. package/src/components/Success/__tests__/index.spec.tsx +9 -6
  71. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +51 -0
  72. package/src/components/Swipeable/index.tsx +3 -3
  73. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +9 -0
  74. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +8 -0
  75. package/src/components/Tabs/__tests__/SceneView.spec.tsx +19 -23
  76. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +171 -0
  77. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +40 -0
  78. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +159 -0
  79. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +24 -0
  80. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +482 -399
  81. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +102 -0
  82. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +72 -0
  83. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +96 -0
  84. package/src/index.ts +2 -0
  85. package/src/testHelpers/renderWithTheme.tsx +1 -7
  86. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +38 -1
  87. package/src/theme/components/button.ts +0 -1
  88. package/src/theme/components/chip.ts +47 -0
  89. package/src/theme/getTheme.ts +3 -0
  90. package/tsconfig.json +4 -1
  91. package/types/components/Accordion/AccordionItem.d.ts +2 -1
  92. package/types/components/Accordion/index.d.ts +1 -1
  93. package/types/components/Attachment/index.d.ts +2 -1
  94. package/types/components/Avatar/Avatar.d.ts +2 -1
  95. package/types/components/Avatar/AvatarStack/index.d.ts +2 -2
  96. package/types/components/Avatar/index.d.ts +3 -2
  97. package/types/components/Badge/StyledBadge.d.ts +0 -4
  98. package/types/components/BottomSheet/Footer.d.ts +2 -1
  99. package/types/components/BottomSheet/Header.d.ts +2 -1
  100. package/types/components/BottomSheet/ScrollView.d.ts +1 -0
  101. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -4
  102. package/types/components/Box/index.d.ts +2 -1
  103. package/types/components/Button/IconButton.d.ts +2 -1
  104. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +3 -3
  105. package/types/components/Button/LoadingIndicator/index.d.ts +2 -1
  106. package/types/components/Button/UtilityButton/index.d.ts +2 -1
  107. package/types/components/Calendar/CalendarRowItem.d.ts +2 -1
  108. package/types/components/Calendar/StyledCalendar.d.ts +1 -1
  109. package/types/components/Calendar/index.d.ts +2 -1
  110. package/types/components/Carousel/CardCarousel.d.ts +1 -1
  111. package/types/components/Carousel/CarouselItem.d.ts +2 -1
  112. package/types/components/Carousel/index.d.ts +2 -2
  113. package/types/components/Checkbox/index.d.ts +2 -1
  114. package/types/components/Chip/StyledChip.d.ts +31 -0
  115. package/types/components/Chip/index.d.ts +27 -0
  116. package/types/components/Collapse/StyledCollapse.d.ts +0 -2
  117. package/types/components/Collapse/index.d.ts +2 -1
  118. package/types/components/ContentNavigator/index.d.ts +2 -1
  119. package/types/components/DatePicker/DatePickerAndroid.d.ts +2 -1
  120. package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -1
  121. package/types/components/DatePicker/DatePickerIOS.d.ts +2 -1
  122. package/types/components/DatePicker/index.d.ts +2 -1
  123. package/types/components/Divider/index.d.ts +2 -1
  124. package/types/components/Drawer/StyledDrawer.d.ts +0 -6
  125. package/types/components/Error/StyledError.d.ts +0 -4
  126. package/types/components/FAB/ActionGroup/ActionItem.d.ts +2 -1
  127. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -4
  128. package/types/components/FAB/AnimatedFABIcon.d.ts +2 -1
  129. package/types/components/HeroDesignProvider/index.d.ts +2 -1
  130. package/types/components/Icon/AnimatedIcon.d.ts +2 -1
  131. package/types/components/Icon/IconList.d.ts +1 -1
  132. package/types/components/Icon/index.d.ts +3 -2
  133. package/types/components/Icon/utils.d.ts +1 -1
  134. package/types/components/Image/index.d.ts +1 -0
  135. package/types/components/Modal/index.d.ts +2 -2
  136. package/types/components/PageControl/StyledPageControl.d.ts +0 -2
  137. package/types/components/PageControl/index.d.ts +2 -1
  138. package/types/components/PinInput/PinCell.d.ts +2 -1
  139. package/types/components/Portal/PortalHost.d.ts +1 -1
  140. package/types/components/Portal/PortalProvider.d.ts +1 -1
  141. package/types/components/Portal/index.d.ts +2 -2
  142. package/types/components/Progress/ProgressBar.d.ts +1 -0
  143. package/types/components/Progress/StyledProgressBar.d.ts +0 -2
  144. package/types/components/Progress/index.d.ts +1 -0
  145. package/types/components/Rate/StyledRate.d.ts +0 -2
  146. package/types/components/Rate/index.d.ts +2 -1
  147. package/types/components/RefreshControl/index.d.ts +2 -1
  148. package/types/components/RichTextEditor/EditorToolbar.d.ts +2 -1
  149. package/types/components/RichTextEditor/MentionList.d.ts +2 -1
  150. package/types/components/RichTextEditor/index.d.ts +2 -2
  151. package/types/components/Select/BaseOptionList.d.ts +1 -1
  152. package/types/components/Select/Footer.d.ts +2 -1
  153. package/types/components/Select/MultiSelect/Option.d.ts +2 -1
  154. package/types/components/Select/MultiSelect/OptionList.d.ts +2 -1
  155. package/types/components/Select/MultiSelect/index.d.ts +1 -1
  156. package/types/components/Select/SingleSelect/Option.d.ts +2 -1
  157. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  158. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +2 -1
  159. package/types/components/Select/SingleSelect/index.d.ts +1 -1
  160. package/types/components/Select/helpers.d.ts +1 -2
  161. package/types/components/Select/index.d.ts +2 -1
  162. package/types/components/Skeleton/index.d.ts +2 -1
  163. package/types/components/Slider/index.d.ts +2 -1
  164. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
  165. package/types/components/Success/StyledSuccess.d.ts +0 -2
  166. package/types/components/Swipeable/SwipeableAction.d.ts +2 -2
  167. package/types/components/Swipeable/index.d.ts +3 -3
  168. package/types/components/Switch/SelectorSwitch/Option.d.ts +2 -1
  169. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -6
  170. package/types/components/Switch/StyledSwitch.d.ts +0 -2
  171. package/types/components/Tabs/ActiveTabIndicator.d.ts +2 -1
  172. package/types/components/Tabs/SceneView.d.ts +1 -1
  173. package/types/components/Tabs/ScrollableTabs.d.ts +2 -1
  174. package/types/components/Tabs/ScrollableTabsHeader.d.ts +2 -1
  175. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -4
  176. package/types/components/Tabs/StyledTabs.d.ts +0 -4
  177. package/types/components/Tabs/TabWithBadge.d.ts +2 -2
  178. package/types/components/Tabs/index.d.ts +2 -1
  179. package/types/components/TextInput/StyledTextInput.d.ts +1 -1
  180. package/types/components/TextInput/index.d.ts +1 -1
  181. package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -1
  182. package/types/components/TimePicker/TimePickerIOS.d.ts +2 -1
  183. package/types/components/TimePicker/index.d.ts +2 -1
  184. package/types/components/Toast/StyledToast.d.ts +0 -2
  185. package/types/components/Toast/Toast.d.ts +1 -0
  186. package/types/components/Toast/ToastProvider.d.ts +2 -1
  187. package/types/components/Toast/index.d.ts +1 -1
  188. package/types/components/Toolbar/ToolbarGroup.d.ts +2 -1
  189. package/types/components/Toolbar/ToolbarItem.d.ts +2 -1
  190. package/types/components/Toolbar/index.d.ts +3 -2
  191. package/types/components/Typography/Body/index.d.ts +2 -1
  192. package/types/components/Typography/Caption/index.d.ts +2 -1
  193. package/types/components/Typography/Label/index.d.ts +2 -1
  194. package/types/components/Typography/Text/index.d.ts +2 -1
  195. package/types/components/Typography/Title/index.d.ts +2 -1
  196. package/types/index.d.ts +2 -1
  197. package/types/testHelpers/renderWithTheme.d.ts +1 -0
  198. package/types/theme/ThemeSwitcher.d.ts +2 -2
  199. package/types/theme/components/button.d.ts +0 -1
  200. package/types/theme/components/chip.d.ts +40 -0
  201. package/types/theme/getTheme.d.ts +2 -0
  202. package/.turbo/turbo-publish:npm.log +0 -0
@@ -6,6 +6,23 @@ exports[`rendering allows custom renderer 1`] = `
6
6
  pointerEvents="auto"
7
7
  >
8
8
  <View
9
+ accessibilityState={
10
+ {
11
+ "busy": undefined,
12
+ "checked": undefined,
13
+ "disabled": undefined,
14
+ "expanded": undefined,
15
+ "selected": undefined,
16
+ }
17
+ }
18
+ accessibilityValue={
19
+ {
20
+ "max": undefined,
21
+ "min": undefined,
22
+ "now": undefined,
23
+ "text": undefined,
24
+ }
25
+ }
9
26
  accessible={true}
10
27
  collapsable={false}
11
28
  focusable={true}
@@ -222,37 +239,11 @@ exports[`rendering allows custom renderer 1`] = `
222
239
  </View>
223
240
  </View>
224
241
  </View>,
225
- <View
226
- collapsable={false}
227
- style={
228
- {
229
- "backgroundColor": "transparent",
230
- "bottom": 0,
231
- "left": 0,
232
- "opacity": 0.4,
233
- "position": "absolute",
234
- "right": 0,
235
- "top": 0,
236
- }
237
- }
238
- />,
239
- <View
240
- collapsable={false}
241
- style={
242
- {
243
- "bottom": 0,
244
- "left": 0,
245
- "opacity": 1,
246
- "position": "absolute",
247
- "right": 0,
248
- "top": 0,
249
- "transform": [
250
- {
251
- "translateY": 0,
252
- },
253
- ],
254
- }
255
- }
242
+ <Modal
243
+ hardwareAccelerated={false}
244
+ onRequestClose={[Function]}
245
+ transparent={true}
246
+ visible={true}
256
247
  >
257
248
  <View
258
249
  pointerEvents="box-none"
@@ -288,6 +279,23 @@ exports[`rendering allows custom renderer 1`] = `
288
279
  }
289
280
  >
290
281
  <View
282
+ accessibilityState={
283
+ {
284
+ "busy": undefined,
285
+ "checked": undefined,
286
+ "disabled": undefined,
287
+ "expanded": undefined,
288
+ "selected": undefined,
289
+ }
290
+ }
291
+ accessibilityValue={
292
+ {
293
+ "max": undefined,
294
+ "min": undefined,
295
+ "now": undefined,
296
+ "text": undefined,
297
+ }
298
+ }
291
299
  accessible={true}
292
300
  collapsable={false}
293
301
  focusable={true}
@@ -314,7 +322,6 @@ exports[`rendering allows custom renderer 1`] = `
314
322
  />
315
323
  <RCTSafeAreaView
316
324
  collapsable={false}
317
- emulateUnlessSupported={true}
318
325
  style={
319
326
  {
320
327
  "backgroundColor": "#ffffff",
@@ -401,6 +408,23 @@ exports[`rendering allows custom renderer 1`] = `
401
408
  }
402
409
  >
403
410
  <View
411
+ accessibilityState={
412
+ {
413
+ "busy": undefined,
414
+ "checked": undefined,
415
+ "disabled": undefined,
416
+ "expanded": undefined,
417
+ "selected": undefined,
418
+ }
419
+ }
420
+ accessibilityValue={
421
+ {
422
+ "max": undefined,
423
+ "min": undefined,
424
+ "now": undefined,
425
+ "text": undefined,
426
+ }
427
+ }
404
428
  accessible={true}
405
429
  collapsable={false}
406
430
  focusable={true}
@@ -508,6 +532,7 @@ exports[`rendering allows custom renderer 1`] = `
508
532
  >
509
533
  <View>
510
534
  <View
535
+ onFocusCapture={[Function]}
511
536
  onLayout={[Function]}
512
537
  style={null}
513
538
  >
@@ -577,6 +602,7 @@ exports[`rendering allows custom renderer 1`] = `
577
602
  </View>
578
603
  </View>
579
604
  <View
605
+ onFocusCapture={[Function]}
580
606
  onLayout={[Function]}
581
607
  style={null}
582
608
  >
@@ -639,6 +665,14 @@ exports[`rendering allows custom renderer 1`] = `
639
665
  "disabled": false,
640
666
  }
641
667
  }
668
+ accessibilityValue={
669
+ {
670
+ "max": undefined,
671
+ "min": undefined,
672
+ "now": undefined,
673
+ "text": undefined,
674
+ }
675
+ }
642
676
  accessible={true}
643
677
  focusable={true}
644
678
  onClick={[Function]}
@@ -776,6 +810,7 @@ exports[`rendering allows custom renderer 1`] = `
776
810
  </View>
777
811
  </View>
778
812
  <View
813
+ onFocusCapture={[Function]}
779
814
  onLayout={[Function]}
780
815
  style={null}
781
816
  >
@@ -786,6 +821,14 @@ exports[`rendering allows custom renderer 1`] = `
786
821
  "disabled": false,
787
822
  }
788
823
  }
824
+ accessibilityValue={
825
+ {
826
+ "max": undefined,
827
+ "min": undefined,
828
+ "now": undefined,
829
+ "text": undefined,
830
+ }
831
+ }
789
832
  accessible={true}
790
833
  focusable={true}
791
834
  onClick={[Function]}
@@ -916,10 +959,12 @@ exports[`rendering allows custom renderer 1`] = `
916
959
  </View>
917
960
  </View>
918
961
  <View
962
+ onFocusCapture={[Function]}
919
963
  onLayout={[Function]}
920
964
  style={null}
921
965
  />
922
966
  <View
967
+ onFocusCapture={[Function]}
923
968
  onLayout={[Function]}
924
969
  style={null}
925
970
  >
@@ -989,6 +1034,7 @@ exports[`rendering allows custom renderer 1`] = `
989
1034
  </View>
990
1035
  </View>
991
1036
  <View
1037
+ onFocusCapture={[Function]}
992
1038
  onLayout={[Function]}
993
1039
  style={null}
994
1040
  >
@@ -1051,6 +1097,14 @@ exports[`rendering allows custom renderer 1`] = `
1051
1097
  "disabled": false,
1052
1098
  }
1053
1099
  }
1100
+ accessibilityValue={
1101
+ {
1102
+ "max": undefined,
1103
+ "min": undefined,
1104
+ "now": undefined,
1105
+ "text": undefined,
1106
+ }
1107
+ }
1054
1108
  accessible={true}
1055
1109
  focusable={true}
1056
1110
  onClick={[Function]}
@@ -1188,6 +1242,7 @@ exports[`rendering allows custom renderer 1`] = `
1188
1242
  </View>
1189
1243
  </View>
1190
1244
  <View
1245
+ onFocusCapture={[Function]}
1191
1246
  onLayout={[Function]}
1192
1247
  style={null}
1193
1248
  >
@@ -1198,6 +1253,14 @@ exports[`rendering allows custom renderer 1`] = `
1198
1253
  "disabled": false,
1199
1254
  }
1200
1255
  }
1256
+ accessibilityValue={
1257
+ {
1258
+ "max": undefined,
1259
+ "min": undefined,
1260
+ "now": undefined,
1261
+ "text": undefined,
1262
+ }
1263
+ }
1201
1264
  accessible={true}
1202
1265
  focusable={true}
1203
1266
  onClick={[Function]}
@@ -1328,6 +1391,7 @@ exports[`rendering allows custom renderer 1`] = `
1328
1391
  </View>
1329
1392
  </View>
1330
1393
  <View
1394
+ onFocusCapture={[Function]}
1331
1395
  onLayout={[Function]}
1332
1396
  style={null}
1333
1397
  />
@@ -1336,239 +1400,33 @@ exports[`rendering allows custom renderer 1`] = `
1336
1400
  </RCTSafeAreaView>
1337
1401
  </View>
1338
1402
  </View>
1339
- </View>,
1403
+ </Modal>,
1340
1404
  ]
1341
1405
  `;
1342
1406
 
1343
1407
  exports[`rendering renders correctly when bottom sheet is NOT visible 1`] = `
1344
- <View
1345
- pointerEvents="auto"
1346
- >
1347
- <View
1348
- accessible={true}
1349
- collapsable={false}
1350
- focusable={true}
1351
- onClick={[Function]}
1352
- onResponderGrant={[Function]}
1353
- onResponderMove={[Function]}
1354
- onResponderRelease={[Function]}
1355
- onResponderTerminate={[Function]}
1356
- onResponderTerminationRequest={[Function]}
1357
- onStartShouldSetResponder={[Function]}
1358
- style={
1359
- {
1360
- "opacity": 1,
1361
- }
1362
- }
1363
- >
1364
- <View
1365
- pointerEvents="none"
1366
- >
1367
- <View
1368
- pointerEvents="auto"
1369
- style={
1370
- [
1371
- {
1372
- "marginTop": 8,
1373
- "width": "100%",
1374
- },
1375
- undefined,
1376
- ]
1377
- }
1378
- >
1379
- <View
1380
- style={
1381
- [
1382
- {
1383
- "alignItems": "center",
1384
- "backgroundColor": "#ffffff",
1385
- "borderRadius": 8,
1386
- "flexDirection": "row",
1387
- "padding": 16,
1388
- },
1389
- undefined,
1390
- ]
1391
- }
1392
- >
1393
- <View
1394
- style={
1395
- [
1396
- {
1397
- "borderColor": "#001f23",
1398
- "borderRadius": 8,
1399
- "borderWidth": 1,
1400
- "bottom": 0,
1401
- "left": 0,
1402
- "position": "absolute",
1403
- "right": 0,
1404
- "top": 0,
1405
- },
1406
- [
1407
- {
1408
- "backgroundColor": "#ffffff",
1409
- },
1410
- undefined,
1411
- ],
1412
- ]
1413
- }
1414
- testID="text-input-border"
1415
- themeFocused={false}
1416
- themeState="filled"
1417
- />
1418
- <View
1419
- pointerEvents="none"
1420
- style={
1421
- [
1422
- {
1423
- "backgroundColor": "#ffffff",
1424
- "flexDirection": "row",
1425
- "left": 16,
1426
- "paddingHorizontal": 4,
1427
- "position": "absolute",
1428
- "top": -4,
1429
- "zIndex": 1,
1430
- },
1431
- {
1432
- "backgroundColor": "#ffffff",
1433
- },
1434
- ]
1435
- }
1436
- testID="label-container"
1437
- >
1438
- <Text
1439
- allowFontScaling={false}
1440
- style={
1441
- [
1442
- {
1443
- "color": "#001f23",
1444
- "fontFamily": "BeVietnamPro-Regular",
1445
- "fontSize": 12,
1446
- "letterSpacing": 0.48,
1447
- "lineHeight": 16,
1448
- },
1449
- [
1450
- {
1451
- "color": "#001f23",
1452
- "lineHeight": 12,
1453
- },
1454
- {
1455
- "backgroundColor": "#ffffff",
1456
- },
1457
- ],
1458
- ]
1459
- }
1460
- testID="input-label"
1461
- themeFontWeight="regular"
1462
- themeIntent="body"
1463
- themeState="filled"
1464
- >
1465
- Allow notifications
1466
- </Text>
1467
- </View>
1468
- <View
1469
- style={
1470
- [
1471
- {
1472
- "alignItems": "center",
1473
- "alignSelf": "stretch",
1474
- "flexDirection": "row",
1475
- "flexGrow": 2,
1476
- "flexShrink": 1,
1477
- },
1478
- undefined,
1479
- ]
1480
- }
1481
- >
1482
- <TextInput
1483
- accessibilityState={
1484
- {
1485
- "disabled": false,
1486
- }
1487
- }
1488
- allowFontScaling={false}
1489
- editable={true}
1490
- multiline={true}
1491
- onBlur={[Function]}
1492
- onChangeText={[Function]}
1493
- onFocus={[Function]}
1494
- placeholder=" "
1495
- pointerEvents="none"
1496
- style={
1497
- [
1498
- {
1499
- "alignSelf": "stretch",
1500
- "flexGrow": 2,
1501
- "fontFamily": "BeVietnamPro-Regular",
1502
- "fontSize": 16,
1503
- "height": undefined,
1504
- "marginHorizontal": 8,
1505
- "maxHeight": 144,
1506
- "paddingVertical": 0,
1507
- "textAlignVertical": "center",
1508
- },
1509
- {
1510
- "backgroundColor": "#ffffff",
1511
- "color": "#001f23",
1512
- },
1513
- ]
1514
- }
1515
- testID="text-input"
1516
- themeVariant="text"
1517
- value="Monday"
1518
- />
1519
- </View>
1520
- <HeroIcon
1521
- name="arrow-down"
1522
- style={
1523
- [
1524
- {
1525
- "color": "#001f23",
1526
- "fontSize": 24,
1527
- },
1528
- undefined,
1529
- ]
1530
- }
1531
- testID="input-suffix"
1532
- themeIntent="text"
1533
- themeSize="medium"
1534
- />
1535
- </View>
1536
- <View
1537
- style={
1538
- [
1539
- {
1540
- "minHeight": 16,
1541
- "paddingLeft": 16,
1542
- "paddingTop": 2,
1543
- },
1544
- undefined,
1545
- ]
1546
- }
1547
- >
1548
- <View
1549
- style={
1550
- [
1551
- {
1552
- "flexDirection": "row",
1553
- "justifyContent": "space-between",
1554
- },
1555
- undefined,
1556
- ]
1557
- }
1558
- />
1559
- </View>
1560
- </View>
1561
- </View>
1562
- </View>
1563
- </View>
1564
- `;
1565
-
1566
- exports[`rendering renders correctly when bottom sheet is visible 1`] = `
1567
1408
  [
1568
1409
  <View
1569
1410
  pointerEvents="auto"
1570
1411
  >
1571
1412
  <View
1413
+ accessibilityState={
1414
+ {
1415
+ "busy": undefined,
1416
+ "checked": undefined,
1417
+ "disabled": undefined,
1418
+ "expanded": undefined,
1419
+ "selected": undefined,
1420
+ }
1421
+ }
1422
+ accessibilityValue={
1423
+ {
1424
+ "max": undefined,
1425
+ "min": undefined,
1426
+ "now": undefined,
1427
+ "text": undefined,
1428
+ }
1429
+ }
1572
1430
  accessible={true}
1573
1431
  collapsable={false}
1574
1432
  focusable={true}
@@ -1785,99 +1643,337 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
1785
1643
  </View>
1786
1644
  </View>
1787
1645
  </View>,
1788
- <View
1789
- collapsable={false}
1790
- style={
1791
- {
1792
- "backgroundColor": "transparent",
1793
- "bottom": 0,
1794
- "left": 0,
1795
- "opacity": 0.4,
1796
- "position": "absolute",
1797
- "right": 0,
1798
- "top": 0,
1799
- }
1800
- }
1646
+ <Modal
1647
+ hardwareAccelerated={false}
1648
+ onRequestClose={[Function]}
1649
+ transparent={true}
1650
+ visible={false}
1801
1651
  />,
1652
+ ]
1653
+ `;
1654
+
1655
+ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
1656
+ [
1802
1657
  <View
1803
- collapsable={false}
1804
- style={
1805
- {
1806
- "bottom": 0,
1807
- "left": 0,
1808
- "opacity": 1,
1809
- "position": "absolute",
1810
- "right": 0,
1811
- "top": 0,
1812
- "transform": [
1813
- {
1814
- "translateY": 0,
1815
- },
1816
- ],
1817
- }
1818
- }
1658
+ pointerEvents="auto"
1819
1659
  >
1820
1660
  <View
1821
- pointerEvents="box-none"
1661
+ accessibilityState={
1662
+ {
1663
+ "busy": undefined,
1664
+ "checked": undefined,
1665
+ "disabled": undefined,
1666
+ "expanded": undefined,
1667
+ "selected": undefined,
1668
+ }
1669
+ }
1670
+ accessibilityValue={
1671
+ {
1672
+ "max": undefined,
1673
+ "min": undefined,
1674
+ "now": undefined,
1675
+ "text": undefined,
1676
+ }
1677
+ }
1678
+ accessible={true}
1679
+ collapsable={false}
1680
+ focusable={true}
1681
+ onClick={[Function]}
1682
+ onResponderGrant={[Function]}
1683
+ onResponderMove={[Function]}
1684
+ onResponderRelease={[Function]}
1685
+ onResponderTerminate={[Function]}
1686
+ onResponderTerminationRequest={[Function]}
1687
+ onStartShouldSetResponder={[Function]}
1822
1688
  style={
1823
- [
1824
- {
1825
- "bottom": 0,
1826
- "flexDirection": "column-reverse",
1827
- "left": 0,
1828
- "position": "absolute",
1829
- "right": 0,
1830
- "top": 0,
1831
- },
1832
- undefined,
1833
- ]
1689
+ {
1690
+ "opacity": 1,
1691
+ }
1834
1692
  }
1835
1693
  >
1836
1694
  <View
1837
- onLayout={[Function]}
1838
- style={
1839
- [
1695
+ pointerEvents="none"
1696
+ >
1697
+ <View
1698
+ pointerEvents="auto"
1699
+ style={
1840
1700
  [
1841
1701
  {
1842
- "flex": 1,
1843
- "flexDirection": "column-reverse",
1702
+ "marginTop": 8,
1703
+ "width": "100%",
1844
1704
  },
1845
1705
  undefined,
1846
- ],
1847
- {
1848
- "paddingBottom": 0,
1849
- },
1850
- ]
1851
- }
1852
- >
1853
- <View
1854
- accessible={true}
1855
- collapsable={false}
1856
- focusable={true}
1857
- onBlur={[Function]}
1858
- onClick={[Function]}
1859
- onFocus={[Function]}
1860
- onResponderGrant={[Function]}
1861
- onResponderMove={[Function]}
1862
- onResponderRelease={[Function]}
1863
- onResponderTerminate={[Function]}
1864
- onResponderTerminationRequest={[Function]}
1865
- onStartShouldSetResponder={[Function]}
1866
- style={
1867
- {
1868
- "backgroundColor": "#000000",
1869
- "bottom": 0,
1870
- "left": 0,
1871
- "opacity": 0.48,
1872
- "position": "absolute",
1873
- "right": 0,
1706
+ ]
1707
+ }
1708
+ >
1709
+ <View
1710
+ style={
1711
+ [
1712
+ {
1713
+ "alignItems": "center",
1714
+ "backgroundColor": "#ffffff",
1715
+ "borderRadius": 8,
1716
+ "flexDirection": "row",
1717
+ "padding": 16,
1718
+ },
1719
+ undefined,
1720
+ ]
1721
+ }
1722
+ >
1723
+ <View
1724
+ style={
1725
+ [
1726
+ {
1727
+ "borderColor": "#001f23",
1728
+ "borderRadius": 8,
1729
+ "borderWidth": 1,
1730
+ "bottom": 0,
1731
+ "left": 0,
1732
+ "position": "absolute",
1733
+ "right": 0,
1734
+ "top": 0,
1735
+ },
1736
+ [
1737
+ {
1738
+ "backgroundColor": "#ffffff",
1739
+ },
1740
+ undefined,
1741
+ ],
1742
+ ]
1743
+ }
1744
+ testID="text-input-border"
1745
+ themeFocused={false}
1746
+ themeState="filled"
1747
+ />
1748
+ <View
1749
+ pointerEvents="none"
1750
+ style={
1751
+ [
1752
+ {
1753
+ "backgroundColor": "#ffffff",
1754
+ "flexDirection": "row",
1755
+ "left": 16,
1756
+ "paddingHorizontal": 4,
1757
+ "position": "absolute",
1758
+ "top": -4,
1759
+ "zIndex": 1,
1760
+ },
1761
+ {
1762
+ "backgroundColor": "#ffffff",
1763
+ },
1764
+ ]
1765
+ }
1766
+ testID="label-container"
1767
+ >
1768
+ <Text
1769
+ allowFontScaling={false}
1770
+ style={
1771
+ [
1772
+ {
1773
+ "color": "#001f23",
1774
+ "fontFamily": "BeVietnamPro-Regular",
1775
+ "fontSize": 12,
1776
+ "letterSpacing": 0.48,
1777
+ "lineHeight": 16,
1778
+ },
1779
+ [
1780
+ {
1781
+ "color": "#001f23",
1782
+ "lineHeight": 12,
1783
+ },
1784
+ {
1785
+ "backgroundColor": "#ffffff",
1786
+ },
1787
+ ],
1788
+ ]
1789
+ }
1790
+ testID="input-label"
1791
+ themeFontWeight="regular"
1792
+ themeIntent="body"
1793
+ themeState="filled"
1794
+ >
1795
+ Allow notifications
1796
+ </Text>
1797
+ </View>
1798
+ <View
1799
+ style={
1800
+ [
1801
+ {
1802
+ "alignItems": "center",
1803
+ "alignSelf": "stretch",
1804
+ "flexDirection": "row",
1805
+ "flexGrow": 2,
1806
+ "flexShrink": 1,
1807
+ },
1808
+ undefined,
1809
+ ]
1810
+ }
1811
+ >
1812
+ <TextInput
1813
+ accessibilityState={
1814
+ {
1815
+ "disabled": false,
1816
+ }
1817
+ }
1818
+ allowFontScaling={false}
1819
+ editable={true}
1820
+ multiline={true}
1821
+ onBlur={[Function]}
1822
+ onChangeText={[Function]}
1823
+ onFocus={[Function]}
1824
+ placeholder=" "
1825
+ pointerEvents="none"
1826
+ style={
1827
+ [
1828
+ {
1829
+ "alignSelf": "stretch",
1830
+ "flexGrow": 2,
1831
+ "fontFamily": "BeVietnamPro-Regular",
1832
+ "fontSize": 16,
1833
+ "height": undefined,
1834
+ "marginHorizontal": 8,
1835
+ "maxHeight": 144,
1836
+ "paddingVertical": 0,
1837
+ "textAlignVertical": "center",
1838
+ },
1839
+ {
1840
+ "backgroundColor": "#ffffff",
1841
+ "color": "#001f23",
1842
+ },
1843
+ ]
1844
+ }
1845
+ testID="text-input"
1846
+ themeVariant="text"
1847
+ value="Monday"
1848
+ />
1849
+ </View>
1850
+ <HeroIcon
1851
+ name="arrow-down"
1852
+ style={
1853
+ [
1854
+ {
1855
+ "color": "#001f23",
1856
+ "fontSize": 24,
1857
+ },
1858
+ undefined,
1859
+ ]
1860
+ }
1861
+ testID="input-suffix"
1862
+ themeIntent="text"
1863
+ themeSize="medium"
1864
+ />
1865
+ </View>
1866
+ <View
1867
+ style={
1868
+ [
1869
+ {
1870
+ "minHeight": 16,
1871
+ "paddingLeft": 16,
1872
+ "paddingTop": 2,
1873
+ },
1874
+ undefined,
1875
+ ]
1876
+ }
1877
+ >
1878
+ <View
1879
+ style={
1880
+ [
1881
+ {
1882
+ "flexDirection": "row",
1883
+ "justifyContent": "space-between",
1884
+ },
1885
+ undefined,
1886
+ ]
1887
+ }
1888
+ />
1889
+ </View>
1890
+ </View>
1891
+ </View>
1892
+ </View>
1893
+ </View>,
1894
+ <Modal
1895
+ hardwareAccelerated={false}
1896
+ onRequestClose={[Function]}
1897
+ transparent={true}
1898
+ visible={true}
1899
+ >
1900
+ <View
1901
+ pointerEvents="box-none"
1902
+ style={
1903
+ [
1904
+ {
1905
+ "bottom": 0,
1906
+ "flexDirection": "column-reverse",
1907
+ "left": 0,
1908
+ "position": "absolute",
1909
+ "right": 0,
1910
+ "top": 0,
1911
+ },
1912
+ undefined,
1913
+ ]
1914
+ }
1915
+ >
1916
+ <View
1917
+ onLayout={[Function]}
1918
+ style={
1919
+ [
1920
+ [
1921
+ {
1922
+ "flex": 1,
1923
+ "flexDirection": "column-reverse",
1924
+ },
1925
+ undefined,
1926
+ ],
1927
+ {
1928
+ "paddingBottom": 0,
1929
+ },
1930
+ ]
1931
+ }
1932
+ >
1933
+ <View
1934
+ accessibilityState={
1935
+ {
1936
+ "busy": undefined,
1937
+ "checked": undefined,
1938
+ "disabled": undefined,
1939
+ "expanded": undefined,
1940
+ "selected": undefined,
1941
+ }
1942
+ }
1943
+ accessibilityValue={
1944
+ {
1945
+ "max": undefined,
1946
+ "min": undefined,
1947
+ "now": undefined,
1948
+ "text": undefined,
1949
+ }
1950
+ }
1951
+ accessible={true}
1952
+ collapsable={false}
1953
+ focusable={true}
1954
+ onBlur={[Function]}
1955
+ onClick={[Function]}
1956
+ onFocus={[Function]}
1957
+ onResponderGrant={[Function]}
1958
+ onResponderMove={[Function]}
1959
+ onResponderRelease={[Function]}
1960
+ onResponderTerminate={[Function]}
1961
+ onResponderTerminationRequest={[Function]}
1962
+ onStartShouldSetResponder={[Function]}
1963
+ style={
1964
+ {
1965
+ "backgroundColor": "#000000",
1966
+ "bottom": 0,
1967
+ "left": 0,
1968
+ "opacity": 0.48,
1969
+ "position": "absolute",
1970
+ "right": 0,
1874
1971
  "top": 0,
1875
1972
  }
1876
1973
  }
1877
1974
  />
1878
1975
  <RCTSafeAreaView
1879
1976
  collapsable={false}
1880
- emulateUnlessSupported={true}
1881
1977
  style={
1882
1978
  {
1883
1979
  "backgroundColor": "#ffffff",
@@ -1964,6 +2060,23 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
1964
2060
  }
1965
2061
  >
1966
2062
  <View
2063
+ accessibilityState={
2064
+ {
2065
+ "busy": undefined,
2066
+ "checked": undefined,
2067
+ "disabled": undefined,
2068
+ "expanded": undefined,
2069
+ "selected": undefined,
2070
+ }
2071
+ }
2072
+ accessibilityValue={
2073
+ {
2074
+ "max": undefined,
2075
+ "min": undefined,
2076
+ "now": undefined,
2077
+ "text": undefined,
2078
+ }
2079
+ }
1967
2080
  accessible={true}
1968
2081
  collapsable={false}
1969
2082
  focusable={true}
@@ -2074,10 +2187,12 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
2074
2187
  >
2075
2188
  <View>
2076
2189
  <View
2190
+ onFocusCapture={[Function]}
2077
2191
  onLayout={[Function]}
2078
2192
  style={null}
2079
2193
  />
2080
2194
  <View
2195
+ onFocusCapture={[Function]}
2081
2196
  onLayout={[Function]}
2082
2197
  style={null}
2083
2198
  >
@@ -2141,6 +2256,14 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
2141
2256
  "disabled": false,
2142
2257
  }
2143
2258
  }
2259
+ accessibilityValue={
2260
+ {
2261
+ "max": undefined,
2262
+ "min": undefined,
2263
+ "now": undefined,
2264
+ "text": undefined,
2265
+ }
2266
+ }
2144
2267
  accessible={true}
2145
2268
  focusable={true}
2146
2269
  onClick={[Function]}
@@ -2258,6 +2381,7 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
2258
2381
  </View>
2259
2382
  </View>
2260
2383
  <View
2384
+ onFocusCapture={[Function]}
2261
2385
  onLayout={[Function]}
2262
2386
  style={null}
2263
2387
  >
@@ -2268,6 +2392,14 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
2268
2392
  "disabled": false,
2269
2393
  }
2270
2394
  }
2395
+ accessibilityValue={
2396
+ {
2397
+ "max": undefined,
2398
+ "min": undefined,
2399
+ "now": undefined,
2400
+ "text": undefined,
2401
+ }
2402
+ }
2271
2403
  accessible={true}
2272
2404
  focusable={true}
2273
2405
  onClick={[Function]}
@@ -2385,6 +2517,7 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
2385
2517
  </View>
2386
2518
  </View>
2387
2519
  <View
2520
+ onFocusCapture={[Function]}
2388
2521
  onLayout={[Function]}
2389
2522
  style={null}
2390
2523
  >
@@ -2395,6 +2528,14 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
2395
2528
  "disabled": false,
2396
2529
  }
2397
2530
  }
2531
+ accessibilityValue={
2532
+ {
2533
+ "max": undefined,
2534
+ "min": undefined,
2535
+ "now": undefined,
2536
+ "text": undefined,
2537
+ }
2538
+ }
2398
2539
  accessible={true}
2399
2540
  focusable={true}
2400
2541
  onClick={[Function]}
@@ -2512,6 +2653,7 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
2512
2653
  </View>
2513
2654
  </View>
2514
2655
  <View
2656
+ onFocusCapture={[Function]}
2515
2657
  onLayout={[Function]}
2516
2658
  style={null}
2517
2659
  >
@@ -2522,6 +2664,14 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
2522
2664
  "disabled": false,
2523
2665
  }
2524
2666
  }
2667
+ accessibilityValue={
2668
+ {
2669
+ "max": undefined,
2670
+ "min": undefined,
2671
+ "now": undefined,
2672
+ "text": undefined,
2673
+ }
2674
+ }
2525
2675
  accessible={true}
2526
2676
  focusable={true}
2527
2677
  onClick={[Function]}
@@ -2639,6 +2789,7 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
2639
2789
  </View>
2640
2790
  </View>
2641
2791
  <View
2792
+ onFocusCapture={[Function]}
2642
2793
  onLayout={[Function]}
2643
2794
  style={null}
2644
2795
  >
@@ -2649,6 +2800,14 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
2649
2800
  "disabled": false,
2650
2801
  }
2651
2802
  }
2803
+ accessibilityValue={
2804
+ {
2805
+ "max": undefined,
2806
+ "min": undefined,
2807
+ "now": undefined,
2808
+ "text": undefined,
2809
+ }
2810
+ }
2652
2811
  accessible={true}
2653
2812
  focusable={true}
2654
2813
  onClick={[Function]}
@@ -2766,6 +2925,7 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
2766
2925
  </View>
2767
2926
  </View>
2768
2927
  <View
2928
+ onFocusCapture={[Function]}
2769
2929
  onLayout={[Function]}
2770
2930
  style={null}
2771
2931
  >
@@ -2776,6 +2936,14 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
2776
2936
  "disabled": false,
2777
2937
  }
2778
2938
  }
2939
+ accessibilityValue={
2940
+ {
2941
+ "max": undefined,
2942
+ "min": undefined,
2943
+ "now": undefined,
2944
+ "text": undefined,
2945
+ }
2946
+ }
2779
2947
  accessible={true}
2780
2948
  focusable={true}
2781
2949
  onClick={[Function]}
@@ -2894,6 +3062,7 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
2894
3062
  </View>
2895
3063
  </View>
2896
3064
  <View
3065
+ onFocusCapture={[Function]}
2897
3066
  onLayout={[Function]}
2898
3067
  style={null}
2899
3068
  >
@@ -2904,6 +3073,14 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
2904
3073
  "disabled": true,
2905
3074
  }
2906
3075
  }
3076
+ accessibilityValue={
3077
+ {
3078
+ "max": undefined,
3079
+ "min": undefined,
3080
+ "now": undefined,
3081
+ "text": undefined,
3082
+ }
3083
+ }
2907
3084
  accessible={true}
2908
3085
  focusable={true}
2909
3086
  onClick={[Function]}
@@ -3016,6 +3193,7 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
3016
3193
  </View>
3017
3194
  </View>
3018
3195
  <View
3196
+ onFocusCapture={[Function]}
3019
3197
  onLayout={[Function]}
3020
3198
  style={null}
3021
3199
  />
@@ -3024,55 +3202,59 @@ exports[`rendering renders correctly when bottom sheet is visible 1`] = `
3024
3202
  </RCTSafeAreaView>
3025
3203
  </View>
3026
3204
  </View>
3027
- </View>,
3205
+ </Modal>,
3028
3206
  ]
3029
3207
  `;
3030
3208
 
3031
3209
  exports[`rendering renders correctly when input is loading 1`] = `
3032
- <View
3033
- pointerEvents="none"
3034
- >
3210
+ [
3035
3211
  <View
3036
- accessible={true}
3037
- collapsable={false}
3038
- focusable={true}
3039
- onClick={[Function]}
3040
- onResponderGrant={[Function]}
3041
- onResponderMove={[Function]}
3042
- onResponderRelease={[Function]}
3043
- onResponderTerminate={[Function]}
3044
- onResponderTerminationRequest={[Function]}
3045
- onStartShouldSetResponder={[Function]}
3046
- style={
3047
- {
3048
- "opacity": 1,
3212
+ pointerEvents="none"
3213
+ >
3214
+ <View
3215
+ accessibilityState={
3216
+ {
3217
+ "busy": undefined,
3218
+ "checked": undefined,
3219
+ "disabled": undefined,
3220
+ "expanded": undefined,
3221
+ "selected": undefined,
3222
+ }
3223
+ }
3224
+ accessibilityValue={
3225
+ {
3226
+ "max": undefined,
3227
+ "min": undefined,
3228
+ "now": undefined,
3229
+ "text": undefined,
3230
+ }
3231
+ }
3232
+ accessible={true}
3233
+ collapsable={false}
3234
+ focusable={true}
3235
+ onClick={[Function]}
3236
+ onResponderGrant={[Function]}
3237
+ onResponderMove={[Function]}
3238
+ onResponderRelease={[Function]}
3239
+ onResponderTerminate={[Function]}
3240
+ onResponderTerminationRequest={[Function]}
3241
+ onStartShouldSetResponder={[Function]}
3242
+ style={
3243
+ {
3244
+ "opacity": 1,
3245
+ }
3049
3246
  }
3050
- }
3051
- >
3052
- <View
3053
- pointerEvents="none"
3054
3247
  >
3055
3248
  <View
3056
3249
  pointerEvents="none"
3057
- style={
3058
- [
3059
- {
3060
- "marginTop": 8,
3061
- "width": "100%",
3062
- },
3063
- undefined,
3064
- ]
3065
- }
3066
3250
  >
3067
3251
  <View
3252
+ pointerEvents="none"
3068
3253
  style={
3069
3254
  [
3070
3255
  {
3071
- "alignItems": "center",
3072
- "backgroundColor": "#ffffff",
3073
- "borderRadius": 8,
3074
- "flexDirection": "row",
3075
- "padding": 16,
3256
+ "marginTop": 8,
3257
+ "width": "100%",
3076
3258
  },
3077
3259
  undefined,
3078
3260
  ]
@@ -3082,186 +3264,207 @@ exports[`rendering renders correctly when input is loading 1`] = `
3082
3264
  style={
3083
3265
  [
3084
3266
  {
3085
- "borderColor": "#808f91",
3086
- "borderRadius": 8,
3087
- "borderWidth": 1,
3088
- "bottom": 0,
3089
- "left": 0,
3090
- "position": "absolute",
3091
- "right": 0,
3092
- "top": 0,
3093
- },
3094
- [
3095
- {
3096
- "backgroundColor": "#ffffff",
3097
- },
3098
- undefined,
3099
- ],
3100
- ]
3101
- }
3102
- testID="text-input-border"
3103
- themeFocused={false}
3104
- themeState="readonly"
3105
- />
3106
- <View
3107
- pointerEvents="none"
3108
- style={
3109
- [
3110
- {
3267
+ "alignItems": "center",
3111
3268
  "backgroundColor": "#ffffff",
3269
+ "borderRadius": 8,
3112
3270
  "flexDirection": "row",
3113
- "left": 16,
3114
- "paddingHorizontal": 4,
3115
- "position": "absolute",
3116
- "top": -4,
3117
- "zIndex": 1,
3118
- },
3119
- {
3120
- "backgroundColor": "#ffffff",
3271
+ "padding": 16,
3121
3272
  },
3273
+ undefined,
3122
3274
  ]
3123
3275
  }
3124
- testID="label-container"
3125
3276
  >
3126
- <Text
3127
- allowFontScaling={false}
3277
+ <View
3128
3278
  style={
3129
3279
  [
3130
3280
  {
3131
- "color": "#001f23",
3132
- "fontFamily": "BeVietnamPro-Regular",
3133
- "fontSize": 12,
3134
- "letterSpacing": 0.48,
3135
- "lineHeight": 16,
3281
+ "borderColor": "#808f91",
3282
+ "borderRadius": 8,
3283
+ "borderWidth": 1,
3284
+ "bottom": 0,
3285
+ "left": 0,
3286
+ "position": "absolute",
3287
+ "right": 0,
3288
+ "top": 0,
3136
3289
  },
3137
3290
  [
3138
- {
3139
- "color": "#808f91",
3140
- "lineHeight": 12,
3141
- },
3142
3291
  {
3143
3292
  "backgroundColor": "#ffffff",
3144
3293
  },
3294
+ undefined,
3145
3295
  ],
3146
3296
  ]
3147
3297
  }
3148
- testID="input-label"
3149
- themeFontWeight="regular"
3150
- themeIntent="body"
3298
+ testID="text-input-border"
3299
+ themeFocused={false}
3151
3300
  themeState="readonly"
3152
- >
3153
- Allow notifications
3154
- </Text>
3155
- </View>
3156
- <View
3157
- style={
3158
- [
3159
- {
3160
- "alignItems": "center",
3161
- "alignSelf": "stretch",
3162
- "flexDirection": "row",
3163
- "flexGrow": 2,
3164
- "flexShrink": 1,
3165
- },
3166
- undefined,
3167
- ]
3168
- }
3169
- >
3170
- <TextInput
3171
- accessibilityState={
3172
- {
3173
- "disabled": true,
3174
- }
3175
- }
3176
- allowFontScaling={false}
3177
- editable={true}
3178
- multiline={true}
3179
- onBlur={[Function]}
3180
- onChangeText={[Function]}
3181
- onFocus={[Function]}
3182
- placeholder=" "
3301
+ />
3302
+ <View
3183
3303
  pointerEvents="none"
3184
3304
  style={
3185
3305
  [
3186
3306
  {
3187
- "alignSelf": "stretch",
3188
- "flexGrow": 2,
3189
- "fontFamily": "BeVietnamPro-Regular",
3190
- "fontSize": 16,
3191
- "height": undefined,
3192
- "marginHorizontal": 8,
3193
- "maxHeight": 144,
3194
- "paddingVertical": 0,
3195
- "textAlignVertical": "center",
3307
+ "backgroundColor": "#ffffff",
3308
+ "flexDirection": "row",
3309
+ "left": 16,
3310
+ "paddingHorizontal": 4,
3311
+ "position": "absolute",
3312
+ "top": -4,
3313
+ "zIndex": 1,
3196
3314
  },
3197
3315
  {
3198
3316
  "backgroundColor": "#ffffff",
3199
- "color": "#001f23",
3200
3317
  },
3201
3318
  ]
3202
3319
  }
3203
- testID="text-input"
3204
- themeVariant="text"
3205
- value="Monday"
3206
- />
3207
- </View>
3208
- <View
3209
- collapsable={false}
3210
- style={
3211
- {
3212
- "transform": [
3213
- {
3214
- "rotate": "0deg",
3215
- },
3216
- ],
3217
- }
3218
- }
3219
- >
3220
- <HeroIcon
3221
- name="loading"
3320
+ testID="label-container"
3321
+ >
3322
+ <Text
3323
+ allowFontScaling={false}
3324
+ style={
3325
+ [
3326
+ {
3327
+ "color": "#001f23",
3328
+ "fontFamily": "BeVietnamPro-Regular",
3329
+ "fontSize": 12,
3330
+ "letterSpacing": 0.48,
3331
+ "lineHeight": 16,
3332
+ },
3333
+ [
3334
+ {
3335
+ "color": "#808f91",
3336
+ "lineHeight": 12,
3337
+ },
3338
+ {
3339
+ "backgroundColor": "#ffffff",
3340
+ },
3341
+ ],
3342
+ ]
3343
+ }
3344
+ testID="input-label"
3345
+ themeFontWeight="regular"
3346
+ themeIntent="body"
3347
+ themeState="readonly"
3348
+ >
3349
+ Allow notifications
3350
+ </Text>
3351
+ </View>
3352
+ <View
3222
3353
  style={
3223
3354
  [
3224
3355
  {
3225
- "color": "#001f23",
3226
- "fontSize": 24,
3356
+ "alignItems": "center",
3357
+ "alignSelf": "stretch",
3358
+ "flexDirection": "row",
3359
+ "flexGrow": 2,
3360
+ "flexShrink": 1,
3227
3361
  },
3228
3362
  undefined,
3229
3363
  ]
3230
3364
  }
3231
- testID="input-suffix"
3232
- themeIntent="text"
3233
- themeSize="medium"
3234
- />
3365
+ >
3366
+ <TextInput
3367
+ accessibilityState={
3368
+ {
3369
+ "disabled": true,
3370
+ }
3371
+ }
3372
+ allowFontScaling={false}
3373
+ editable={true}
3374
+ multiline={true}
3375
+ onBlur={[Function]}
3376
+ onChangeText={[Function]}
3377
+ onFocus={[Function]}
3378
+ placeholder=" "
3379
+ pointerEvents="none"
3380
+ style={
3381
+ [
3382
+ {
3383
+ "alignSelf": "stretch",
3384
+ "flexGrow": 2,
3385
+ "fontFamily": "BeVietnamPro-Regular",
3386
+ "fontSize": 16,
3387
+ "height": undefined,
3388
+ "marginHorizontal": 8,
3389
+ "maxHeight": 144,
3390
+ "paddingVertical": 0,
3391
+ "textAlignVertical": "center",
3392
+ },
3393
+ {
3394
+ "backgroundColor": "#ffffff",
3395
+ "color": "#001f23",
3396
+ },
3397
+ ]
3398
+ }
3399
+ testID="text-input"
3400
+ themeVariant="text"
3401
+ value="Monday"
3402
+ />
3403
+ </View>
3404
+ <View
3405
+ collapsable={false}
3406
+ style={
3407
+ {
3408
+ "transform": [
3409
+ {
3410
+ "rotate": "0deg",
3411
+ },
3412
+ ],
3413
+ }
3414
+ }
3415
+ >
3416
+ <HeroIcon
3417
+ name="loading"
3418
+ style={
3419
+ [
3420
+ {
3421
+ "color": "#001f23",
3422
+ "fontSize": 24,
3423
+ },
3424
+ undefined,
3425
+ ]
3426
+ }
3427
+ testID="input-suffix"
3428
+ themeIntent="text"
3429
+ themeSize="medium"
3430
+ />
3431
+ </View>
3235
3432
  </View>
3236
- </View>
3237
- <View
3238
- style={
3239
- [
3240
- {
3241
- "minHeight": 16,
3242
- "paddingLeft": 16,
3243
- "paddingTop": 2,
3244
- },
3245
- undefined,
3246
- ]
3247
- }
3248
- >
3249
3433
  <View
3250
3434
  style={
3251
3435
  [
3252
3436
  {
3253
- "flexDirection": "row",
3254
- "justifyContent": "space-between",
3437
+ "minHeight": 16,
3438
+ "paddingLeft": 16,
3439
+ "paddingTop": 2,
3255
3440
  },
3256
3441
  undefined,
3257
3442
  ]
3258
3443
  }
3259
- />
3444
+ >
3445
+ <View
3446
+ style={
3447
+ [
3448
+ {
3449
+ "flexDirection": "row",
3450
+ "justifyContent": "space-between",
3451
+ },
3452
+ undefined,
3453
+ ]
3454
+ }
3455
+ />
3456
+ </View>
3260
3457
  </View>
3261
3458
  </View>
3262
3459
  </View>
3263
- </View>
3264
- </View>
3460
+ </View>,
3461
+ <Modal
3462
+ hardwareAccelerated={false}
3463
+ onRequestClose={[Function]}
3464
+ transparent={true}
3465
+ visible={false}
3466
+ />,
3467
+ ]
3265
3468
  `;
3266
3469
 
3267
3470
  exports[`rendering renders correctly when receives sections 1`] = `
@@ -3270,6 +3473,23 @@ exports[`rendering renders correctly when receives sections 1`] = `
3270
3473
  pointerEvents="auto"
3271
3474
  >
3272
3475
  <View
3476
+ accessibilityState={
3477
+ {
3478
+ "busy": undefined,
3479
+ "checked": undefined,
3480
+ "disabled": undefined,
3481
+ "expanded": undefined,
3482
+ "selected": undefined,
3483
+ }
3484
+ }
3485
+ accessibilityValue={
3486
+ {
3487
+ "max": undefined,
3488
+ "min": undefined,
3489
+ "now": undefined,
3490
+ "text": undefined,
3491
+ }
3492
+ }
3273
3493
  accessible={true}
3274
3494
  collapsable={false}
3275
3495
  focusable={true}
@@ -3486,37 +3706,11 @@ exports[`rendering renders correctly when receives sections 1`] = `
3486
3706
  </View>
3487
3707
  </View>
3488
3708
  </View>,
3489
- <View
3490
- collapsable={false}
3491
- style={
3492
- {
3493
- "backgroundColor": "transparent",
3494
- "bottom": 0,
3495
- "left": 0,
3496
- "opacity": 0.4,
3497
- "position": "absolute",
3498
- "right": 0,
3499
- "top": 0,
3500
- }
3501
- }
3502
- />,
3503
- <View
3504
- collapsable={false}
3505
- style={
3506
- {
3507
- "bottom": 0,
3508
- "left": 0,
3509
- "opacity": 1,
3510
- "position": "absolute",
3511
- "right": 0,
3512
- "top": 0,
3513
- "transform": [
3514
- {
3515
- "translateY": 0,
3516
- },
3517
- ],
3518
- }
3519
- }
3709
+ <Modal
3710
+ hardwareAccelerated={false}
3711
+ onRequestClose={[Function]}
3712
+ transparent={true}
3713
+ visible={true}
3520
3714
  >
3521
3715
  <View
3522
3716
  pointerEvents="box-none"
@@ -3552,6 +3746,23 @@ exports[`rendering renders correctly when receives sections 1`] = `
3552
3746
  }
3553
3747
  >
3554
3748
  <View
3749
+ accessibilityState={
3750
+ {
3751
+ "busy": undefined,
3752
+ "checked": undefined,
3753
+ "disabled": undefined,
3754
+ "expanded": undefined,
3755
+ "selected": undefined,
3756
+ }
3757
+ }
3758
+ accessibilityValue={
3759
+ {
3760
+ "max": undefined,
3761
+ "min": undefined,
3762
+ "now": undefined,
3763
+ "text": undefined,
3764
+ }
3765
+ }
3555
3766
  accessible={true}
3556
3767
  collapsable={false}
3557
3768
  focusable={true}
@@ -3578,7 +3789,6 @@ exports[`rendering renders correctly when receives sections 1`] = `
3578
3789
  />
3579
3790
  <RCTSafeAreaView
3580
3791
  collapsable={false}
3581
- emulateUnlessSupported={true}
3582
3792
  style={
3583
3793
  {
3584
3794
  "backgroundColor": "#ffffff",
@@ -3665,6 +3875,23 @@ exports[`rendering renders correctly when receives sections 1`] = `
3665
3875
  }
3666
3876
  >
3667
3877
  <View
3878
+ accessibilityState={
3879
+ {
3880
+ "busy": undefined,
3881
+ "checked": undefined,
3882
+ "disabled": undefined,
3883
+ "expanded": undefined,
3884
+ "selected": undefined,
3885
+ }
3886
+ }
3887
+ accessibilityValue={
3888
+ {
3889
+ "max": undefined,
3890
+ "min": undefined,
3891
+ "now": undefined,
3892
+ "text": undefined,
3893
+ }
3894
+ }
3668
3895
  accessible={true}
3669
3896
  collapsable={false}
3670
3897
  focusable={true}
@@ -3764,6 +3991,7 @@ exports[`rendering renders correctly when receives sections 1`] = `
3764
3991
  >
3765
3992
  <View>
3766
3993
  <View
3994
+ onFocusCapture={[Function]}
3767
3995
  onLayout={[Function]}
3768
3996
  style={null}
3769
3997
  >
@@ -3833,6 +4061,7 @@ exports[`rendering renders correctly when receives sections 1`] = `
3833
4061
  </View>
3834
4062
  </View>
3835
4063
  <View
4064
+ onFocusCapture={[Function]}
3836
4065
  onLayout={[Function]}
3837
4066
  style={null}
3838
4067
  >
@@ -3886,6 +4115,14 @@ exports[`rendering renders correctly when receives sections 1`] = `
3886
4115
  "disabled": false,
3887
4116
  }
3888
4117
  }
4118
+ accessibilityValue={
4119
+ {
4120
+ "max": undefined,
4121
+ "min": undefined,
4122
+ "now": undefined,
4123
+ "text": undefined,
4124
+ }
4125
+ }
3889
4126
  accessible={true}
3890
4127
  focusable={true}
3891
4128
  onClick={[Function]}
@@ -3987,10 +4224,12 @@ exports[`rendering renders correctly when receives sections 1`] = `
3987
4224
  </View>
3988
4225
  </View>
3989
4226
  <View
4227
+ onFocusCapture={[Function]}
3990
4228
  onLayout={[Function]}
3991
4229
  style={null}
3992
4230
  />
3993
4231
  <View
4232
+ onFocusCapture={[Function]}
3994
4233
  onLayout={[Function]}
3995
4234
  style={null}
3996
4235
  >
@@ -4060,6 +4299,7 @@ exports[`rendering renders correctly when receives sections 1`] = `
4060
4299
  </View>
4061
4300
  </View>
4062
4301
  <View
4302
+ onFocusCapture={[Function]}
4063
4303
  onLayout={[Function]}
4064
4304
  style={null}
4065
4305
  >
@@ -4113,6 +4353,14 @@ exports[`rendering renders correctly when receives sections 1`] = `
4113
4353
  "disabled": false,
4114
4354
  }
4115
4355
  }
4356
+ accessibilityValue={
4357
+ {
4358
+ "max": undefined,
4359
+ "min": undefined,
4360
+ "now": undefined,
4361
+ "text": undefined,
4362
+ }
4363
+ }
4116
4364
  accessible={true}
4117
4365
  focusable={true}
4118
4366
  onClick={[Function]}
@@ -4220,6 +4468,7 @@ exports[`rendering renders correctly when receives sections 1`] = `
4220
4468
  </View>
4221
4469
  </View>
4222
4470
  <View
4471
+ onFocusCapture={[Function]}
4223
4472
  onLayout={[Function]}
4224
4473
  style={null}
4225
4474
  >
@@ -4230,6 +4479,14 @@ exports[`rendering renders correctly when receives sections 1`] = `
4230
4479
  "disabled": false,
4231
4480
  }
4232
4481
  }
4482
+ accessibilityValue={
4483
+ {
4484
+ "max": undefined,
4485
+ "min": undefined,
4486
+ "now": undefined,
4487
+ "text": undefined,
4488
+ }
4489
+ }
4233
4490
  accessible={true}
4234
4491
  focusable={true}
4235
4492
  onClick={[Function]}
@@ -4331,6 +4588,7 @@ exports[`rendering renders correctly when receives sections 1`] = `
4331
4588
  </View>
4332
4589
  </View>
4333
4590
  <View
4591
+ onFocusCapture={[Function]}
4334
4592
  onLayout={[Function]}
4335
4593
  style={null}
4336
4594
  />
@@ -4339,6 +4597,6 @@ exports[`rendering renders correctly when receives sections 1`] = `
4339
4597
  </RCTSafeAreaView>
4340
4598
  </View>
4341
4599
  </View>
4342
- </View>,
4600
+ </Modal>,
4343
4601
  ]
4344
4602
  `;