@hero-design/rn 8.24.0-alpha.1 → 8.24.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 (287) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/.turbo/turbo-publish:npm.log +0 -9
  3. package/es/index.js +78 -142
  4. package/lib/index.js +78 -142
  5. package/package.json +5 -5
  6. package/src/components/RichTextEditor/RichTextEditor.tsx +3 -4
  7. package/src/components/Success/__tests__/index.spec.tsx +6 -0
  8. package/src/components/Success/index.tsx +19 -0
  9. package/src/components/Tabs/{ScrollableTabsV2/SceneView.tsx → SceneView.tsx} +2 -2
  10. package/src/components/Tabs/ScrollableTabs.tsx +54 -48
  11. package/src/components/Tabs/{ScrollableTabsV2/__tests__ → __tests__}/SceneView.spec.tsx +3 -3
  12. package/src/components/Tabs/__tests__/ScrollableTabs.spec.tsx +86 -28
  13. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +1687 -49
  14. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1213 -29
  15. package/src/components/Tabs/__tests__/index.spec.tsx +58 -14
  16. package/src/components/Tabs/index.tsx +108 -102
  17. package/src/components/Tabs/useIsFocused.tsx +19 -0
  18. package/types/components/Accordion/AccordionItem.d.ts +0 -0
  19. package/types/components/Accordion/StyledAccordion.d.ts +0 -0
  20. package/types/components/Accordion/index.d.ts +0 -0
  21. package/types/components/Alert/StyledAlert.d.ts +0 -0
  22. package/types/components/Alert/index.d.ts +0 -0
  23. package/types/components/Attachment/StyledAttachment.d.ts +0 -0
  24. package/types/components/Attachment/index.d.ts +0 -0
  25. package/types/components/Avatar/Avatar.d.ts +0 -0
  26. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
  27. package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
  28. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  29. package/types/components/Avatar/StyledAvatar.d.ts +0 -0
  30. package/types/components/Avatar/index.d.ts +0 -0
  31. package/types/components/Badge/Status.d.ts +0 -0
  32. package/types/components/Badge/StyledBadge.d.ts +0 -0
  33. package/types/components/Badge/index.d.ts +0 -0
  34. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
  35. package/types/components/BottomNavigation/index.d.ts +0 -0
  36. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -0
  37. package/types/components/BottomSheet/Footer.d.ts +0 -0
  38. package/types/components/BottomSheet/Header.d.ts +0 -0
  39. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  40. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
  41. package/types/components/BottomSheet/index.d.ts +0 -0
  42. package/types/components/Box/StyledBox.d.ts +0 -0
  43. package/types/components/Box/config.d.ts +0 -0
  44. package/types/components/Box/index.d.ts +0 -0
  45. package/types/components/Box/types.d.ts +0 -0
  46. package/types/components/Button/Button.d.ts +0 -0
  47. package/types/components/Button/IconButton.d.ts +0 -0
  48. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  49. package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
  50. package/types/components/Button/StyledButton.d.ts +0 -0
  51. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
  52. package/types/components/Button/UtilityButton/index.d.ts +0 -0
  53. package/types/components/Button/index.d.ts +0 -0
  54. package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
  55. package/types/components/Calendar/StyledCalendar.d.ts +0 -0
  56. package/types/components/Calendar/helpers.d.ts +0 -0
  57. package/types/components/Calendar/index.d.ts +0 -0
  58. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
  59. package/types/components/Card/DataCard/index.d.ts +0 -0
  60. package/types/components/Card/StyledCard.d.ts +0 -0
  61. package/types/components/Card/index.d.ts +0 -0
  62. package/types/components/Carousel/CardCarousel.d.ts +0 -0
  63. package/types/components/Carousel/CarouselItem.d.ts +0 -0
  64. package/types/components/Carousel/StyledCardCarousel.d.ts +0 -0
  65. package/types/components/Carousel/StyledCarousel.d.ts +0 -0
  66. package/types/components/Carousel/contants.d.ts +0 -0
  67. package/types/components/Carousel/index.d.ts +0 -0
  68. package/types/components/Carousel/types.d.ts +0 -0
  69. package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
  70. package/types/components/Checkbox/index.d.ts +0 -0
  71. package/types/components/Collapse/StyledCollapse.d.ts +0 -0
  72. package/types/components/Collapse/index.d.ts +0 -0
  73. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
  74. package/types/components/ContentNavigator/index.d.ts +0 -0
  75. package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -0
  76. package/types/components/DatePicker/DatePickerCalendar.d.ts +0 -0
  77. package/types/components/DatePicker/DatePickerIOS.d.ts +0 -0
  78. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
  79. package/types/components/DatePicker/index.d.ts +0 -0
  80. package/types/components/DatePicker/types.d.ts +0 -0
  81. package/types/components/Divider/StyledDivider.d.ts +0 -0
  82. package/types/components/Divider/index.d.ts +0 -0
  83. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  84. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  85. package/types/components/Drawer/StyledDrawer.d.ts +0 -0
  86. package/types/components/Drawer/index.d.ts +0 -0
  87. package/types/components/Empty/StyledEmpty.d.ts +0 -0
  88. package/types/components/Empty/index.d.ts +0 -0
  89. package/types/components/Error/StyledError.d.ts +0 -0
  90. package/types/components/Error/index.d.ts +0 -0
  91. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  92. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
  93. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
  94. package/types/components/FAB/ActionGroup/index.d.ts +0 -0
  95. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
  96. package/types/components/FAB/FAB.d.ts +0 -0
  97. package/types/components/FAB/StyledFAB.d.ts +0 -0
  98. package/types/components/FAB/index.d.ts +0 -0
  99. package/types/components/Icon/AnimatedIcon.d.ts +0 -0
  100. package/types/components/Icon/HeroIcon/index.d.ts +0 -0
  101. package/types/components/Icon/IconList.d.ts +0 -0
  102. package/types/components/Icon/index.d.ts +0 -0
  103. package/types/components/Icon/utils.d.ts +0 -0
  104. package/types/components/Image/index.d.ts +0 -0
  105. package/types/components/List/BasicListItem.d.ts +0 -0
  106. package/types/components/List/ListItem.d.ts +0 -0
  107. package/types/components/List/StyledBasicListItem.d.ts +0 -0
  108. package/types/components/List/StyledListItem.d.ts +0 -0
  109. package/types/components/List/index.d.ts +0 -0
  110. package/types/components/PageControl/StyledPageControl.d.ts +0 -0
  111. package/types/components/PageControl/index.d.ts +0 -0
  112. package/types/components/PinInput/PinCell.d.ts +0 -0
  113. package/types/components/PinInput/StyledPinInput.d.ts +0 -0
  114. package/types/components/PinInput/index.d.ts +0 -0
  115. package/types/components/Progress/ProgressBar.d.ts +0 -0
  116. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  117. package/types/components/Progress/StyledProgressBar.d.ts +0 -0
  118. package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
  119. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  120. package/types/components/Progress/constants.d.ts +0 -0
  121. package/types/components/Progress/index.d.ts +0 -0
  122. package/types/components/Progress/types.d.ts +0 -0
  123. package/types/components/Radio/Radio.d.ts +0 -0
  124. package/types/components/Radio/RadioGroup.d.ts +0 -0
  125. package/types/components/Radio/StyledRadio.d.ts +0 -0
  126. package/types/components/Radio/index.d.ts +0 -0
  127. package/types/components/Radio/types.d.ts +0 -0
  128. package/types/components/RefreshControl/index.d.ts +0 -0
  129. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
  130. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
  131. package/types/components/RichTextEditor/MentionList.d.ts +0 -0
  132. package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
  133. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
  134. package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
  135. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  136. package/types/components/RichTextEditor/constants.d.ts +0 -0
  137. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  138. package/types/components/RichTextEditor/index.d.ts +0 -0
  139. package/types/components/RichTextEditor/types.d.ts +0 -0
  140. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  141. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  142. package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
  143. package/types/components/SectionHeading/index.d.ts +0 -0
  144. package/types/components/Select/BaseOptionList.d.ts +0 -0
  145. package/types/components/Select/Footer.d.ts +0 -0
  146. package/types/components/Select/MultiSelect/Option.d.ts +0 -0
  147. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
  148. package/types/components/Select/MultiSelect/index.d.ts +0 -0
  149. package/types/components/Select/SingleSelect/Option.d.ts +0 -0
  150. package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
  151. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
  152. package/types/components/Select/SingleSelect/index.d.ts +0 -0
  153. package/types/components/Select/StyledSelect.d.ts +0 -0
  154. package/types/components/Select/helpers.d.ts +0 -0
  155. package/types/components/Select/index.d.ts +0 -0
  156. package/types/components/Select/types.d.ts +0 -0
  157. package/types/components/Skeleton/StyledSkeleton.d.ts +0 -0
  158. package/types/components/Skeleton/index.d.ts +0 -0
  159. package/types/components/Slider/index.d.ts +0 -0
  160. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
  161. package/types/components/Spinner/StyledSpinner.d.ts +0 -0
  162. package/types/components/Spinner/index.d.ts +0 -0
  163. package/types/components/Success/StyledSuccess.d.ts +0 -0
  164. package/types/components/Success/index.d.ts +8 -0
  165. package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
  166. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  167. package/types/components/Swipeable/index.d.ts +0 -0
  168. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
  169. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
  170. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  171. package/types/components/Switch/StyledSwitch.d.ts +0 -0
  172. package/types/components/Switch/index.d.ts +0 -0
  173. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  174. package/types/components/Tabs/SceneView.d.ts +4 -3
  175. package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
  176. package/types/components/Tabs/ScrollableTabsHeader.d.ts +0 -0
  177. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  178. package/types/components/Tabs/StyledTabs.d.ts +0 -0
  179. package/types/components/Tabs/TabWithBadge.d.ts +0 -0
  180. package/types/components/Tabs/index.d.ts +1 -3
  181. package/types/components/Tabs/useIsFocused.d.ts +6 -0
  182. package/types/components/Tabs/utils.d.ts +0 -0
  183. package/types/components/Tag/StyledTag.d.ts +0 -0
  184. package/types/components/Tag/index.d.ts +0 -0
  185. package/types/components/TextInput/StyledTextInput.d.ts +0 -0
  186. package/types/components/TextInput/index.d.ts +0 -0
  187. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
  188. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  189. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  190. package/types/components/TimePicker/index.d.ts +0 -0
  191. package/types/components/TimePicker/types.d.ts +0 -0
  192. package/types/components/Toast/StyledToast.d.ts +0 -0
  193. package/types/components/Toast/Toast.d.ts +0 -0
  194. package/types/components/Toast/ToastContainer.d.ts +0 -0
  195. package/types/components/Toast/ToastContext.d.ts +0 -0
  196. package/types/components/Toast/ToastProvider.d.ts +0 -0
  197. package/types/components/Toast/index.d.ts +0 -0
  198. package/types/components/Toast/types.d.ts +0 -0
  199. package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
  200. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  201. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  202. package/types/components/Toolbar/index.d.ts +0 -0
  203. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  204. package/types/components/Typography/Text/index.d.ts +0 -0
  205. package/types/components/Typography/index.d.ts +0 -0
  206. package/types/index.d.ts +0 -0
  207. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  208. package/types/theme/ThemeProvider.d.ts +0 -0
  209. package/types/theme/ThemeSwitcher.d.ts +0 -0
  210. package/types/theme/components/accordion.d.ts +0 -0
  211. package/types/theme/components/alert.d.ts +0 -0
  212. package/types/theme/components/attachment.d.ts +0 -0
  213. package/types/theme/components/avatar.d.ts +0 -0
  214. package/types/theme/components/badge.d.ts +0 -0
  215. package/types/theme/components/bottomNavigation.d.ts +0 -0
  216. package/types/theme/components/bottomSheet.d.ts +0 -0
  217. package/types/theme/components/button.d.ts +0 -0
  218. package/types/theme/components/calendar.d.ts +0 -0
  219. package/types/theme/components/card.d.ts +0 -0
  220. package/types/theme/components/cardCarousel.d.ts +0 -0
  221. package/types/theme/components/carousel.d.ts +0 -0
  222. package/types/theme/components/checkbox.d.ts +0 -0
  223. package/types/theme/components/contentNavigator.d.ts +0 -0
  224. package/types/theme/components/datePicker.d.ts +0 -0
  225. package/types/theme/components/divider.d.ts +0 -0
  226. package/types/theme/components/drawer.d.ts +0 -0
  227. package/types/theme/components/empty.d.ts +0 -0
  228. package/types/theme/components/error.d.ts +0 -0
  229. package/types/theme/components/fab.d.ts +0 -0
  230. package/types/theme/components/icon.d.ts +0 -0
  231. package/types/theme/components/image.d.ts +0 -0
  232. package/types/theme/components/list.d.ts +0 -0
  233. package/types/theme/components/pageControl.d.ts +0 -0
  234. package/types/theme/components/pinInput.d.ts +0 -0
  235. package/types/theme/components/progress.d.ts +0 -0
  236. package/types/theme/components/radio.d.ts +0 -0
  237. package/types/theme/components/refreshControl.d.ts +0 -0
  238. package/types/theme/components/richTextEditor.d.ts +0 -0
  239. package/types/theme/components/sectionHeading.d.ts +0 -0
  240. package/types/theme/components/select.d.ts +0 -0
  241. package/types/theme/components/skeleton.d.ts +0 -0
  242. package/types/theme/components/slider.d.ts +0 -0
  243. package/types/theme/components/spinner.d.ts +0 -0
  244. package/types/theme/components/success.d.ts +0 -0
  245. package/types/theme/components/swipeable.d.ts +0 -0
  246. package/types/theme/components/switch.d.ts +0 -0
  247. package/types/theme/components/tabs.d.ts +0 -0
  248. package/types/theme/components/tag.d.ts +0 -0
  249. package/types/theme/components/textInput.d.ts +0 -0
  250. package/types/theme/components/timePicker.d.ts +0 -0
  251. package/types/theme/components/toast.d.ts +0 -0
  252. package/types/theme/components/toolbar.d.ts +0 -0
  253. package/types/theme/components/typography.d.ts +0 -0
  254. package/types/theme/getTheme.d.ts +0 -0
  255. package/types/theme/global/borders.d.ts +0 -0
  256. package/types/theme/global/colors/eBens.d.ts +0 -0
  257. package/types/theme/global/colors/global.d.ts +0 -0
  258. package/types/theme/global/colors/globalDark.d.ts +0 -0
  259. package/types/theme/global/colors/jobs.d.ts +0 -0
  260. package/types/theme/global/colors/swag.d.ts +0 -0
  261. package/types/theme/global/colors/swagDark.d.ts +0 -0
  262. package/types/theme/global/colors/types.d.ts +0 -0
  263. package/types/theme/global/colors/wallet.d.ts +0 -0
  264. package/types/theme/global/colors/work.d.ts +0 -0
  265. package/types/theme/global/index.d.ts +0 -0
  266. package/types/theme/global/scale.d.ts +0 -0
  267. package/types/theme/global/sizes.d.ts +0 -0
  268. package/types/theme/global/space.d.ts +0 -0
  269. package/types/theme/global/typography.d.ts +0 -0
  270. package/types/theme/index.d.ts +0 -0
  271. package/types/types.d.ts +0 -0
  272. package/types/utils/functions.d.ts +0 -0
  273. package/types/utils/helpers.d.ts +0 -0
  274. package/types/utils/hooks.d.ts +0 -0
  275. package/types/utils/scale.d.ts +0 -0
  276. package/.turbo/turbo-build:types.log +0 -2
  277. package/.turbo/turbo-lint.log +0 -146
  278. package/.turbo/turbo-test.log +0 -451
  279. package/.turbo/turbo-type-check.log +0 -1
  280. package/src/components/Tabs/ScrollableTabsV2/ScrollableTabsV2.tsx +0 -120
  281. package/src/components/Tabs/ScrollableTabsV2/__tests__/ScrollableTabsV2.spec.tsx +0 -166
  282. package/src/components/Tabs/ScrollableTabsV2/__tests__/__snapshots__/ScrollableTabsV2.spec.tsx.snap +0 -2497
  283. package/src/components/Tabs/ScrollableTabsV2/index.tsx +0 -5
  284. package/types/components/Tabs/ScrollableTabsV2/SceneView.d.ts +0 -10
  285. package/types/components/Tabs/ScrollableTabsV2/ScrollableTabsV2.d.ts +0 -9
  286. package/types/components/Tabs/ScrollableTabsV2/index.d.ts +0 -4
  287. /package/src/components/Tabs/{ScrollableTabsV2/__tests__ → __tests__}/__snapshots__/SceneView.spec.tsx.snap +0 -0
@@ -462,29 +462,1216 @@ exports[`Tabs renders correctly 1`] = `
462
462
  >
463
463
  <View
464
464
  accessibilityElementsHidden={false}
465
+ importantForAccessibility="auto"
466
+ style={
467
+ Array [
468
+ Object {
469
+ "flex": 1,
470
+ },
471
+ Array [
472
+ Object {
473
+ "flex": 1,
474
+ "overflow": "hidden",
475
+ },
476
+ Object {
477
+ "bottom": 0,
478
+ "left": 0,
479
+ "position": "absolute",
480
+ "right": 0,
481
+ "top": 0,
482
+ },
483
+ ],
484
+ ]
485
+ }
486
+ >
487
+ <Text>
488
+ Work Screen
489
+
490
+ focused
491
+ </Text>
492
+ </View>
493
+ </View>
494
+ <View
495
+ collapsable={false}
496
+ style={
497
+ Object {
498
+ "bottom": 0,
499
+ "left": 0,
500
+ "position": "absolute",
501
+ "right": 0,
502
+ "top": 0,
503
+ }
504
+ }
505
+ >
506
+ <View
507
+ accessibilityElementsHidden={true}
508
+ importantForAccessibility="no-hide-descendants"
509
+ style={
510
+ Array [
511
+ Object {
512
+ "flex": 1,
513
+ },
514
+ Array [
515
+ Object {
516
+ "flex": 1,
517
+ "overflow": "hidden",
518
+ },
519
+ null,
520
+ ],
521
+ ]
522
+ }
523
+ >
524
+ <Text>
525
+ Personal Screen
526
+
527
+ unfocused
528
+ </Text>
529
+ </View>
530
+ </View>
531
+ <View
532
+ collapsable={false}
533
+ style={
534
+ Object {
535
+ "bottom": 0,
536
+ "left": 0,
537
+ "position": "absolute",
538
+ "right": 0,
539
+ "top": 0,
540
+ }
541
+ }
542
+ >
543
+ <View
544
+ accessibilityElementsHidden={true}
545
+ importantForAccessibility="no-hide-descendants"
546
+ style={
547
+ Array [
548
+ Object {
549
+ "flex": 1,
550
+ },
551
+ Array [
552
+ Object {
553
+ "flex": 1,
554
+ "overflow": "hidden",
555
+ },
556
+ null,
557
+ ],
558
+ ]
559
+ }
560
+ />
561
+ </View>
562
+ <View
563
+ collapsable={false}
564
+ style={
565
+ Object {
566
+ "bottom": 0,
567
+ "left": 0,
568
+ "position": "absolute",
569
+ "right": 0,
570
+ "top": 0,
571
+ }
572
+ }
573
+ >
574
+ <View
575
+ accessibilityElementsHidden={true}
576
+ importantForAccessibility="no-hide-descendants"
577
+ style={
578
+ Array [
579
+ Object {
580
+ "flex": 1,
581
+ },
582
+ Array [
583
+ Object {
584
+ "flex": 1,
585
+ "overflow": "hidden",
586
+ },
587
+ null,
588
+ ],
589
+ ]
590
+ }
591
+ />
592
+ </View>
593
+ </RNCViewPager>
594
+ </View>
595
+ </RNCSafeAreaProvider>
596
+ `;
597
+
598
+ exports[`useIsFocused renders correctly 1`] = `
599
+ <RNCSafeAreaProvider
600
+ onInsetsChange={[Function]}
601
+ style={
602
+ Array [
603
+ Object {
604
+ "flex": 1,
605
+ },
606
+ undefined,
607
+ ]
608
+ }
609
+ >
610
+ <View
611
+ accessible={true}
612
+ collapsable={false}
613
+ focusable={true}
614
+ onClick={[Function]}
615
+ onResponderGrant={[Function]}
616
+ onResponderMove={[Function]}
617
+ onResponderRelease={[Function]}
618
+ onResponderTerminate={[Function]}
619
+ onResponderTerminationRequest={[Function]}
620
+ onStartShouldSetResponder={[Function]}
621
+ style={
622
+ Object {
623
+ "alignItems": "center",
624
+ "backgroundColor": "#f6f6f7",
625
+ "borderRadius": 8,
626
+ "flexDirection": "row",
627
+ "justifyContent": "center",
628
+ "opacity": 1,
629
+ "padding": 8,
630
+ "width": "100%",
631
+ }
632
+ }
633
+ >
634
+ <View
635
+ style={
636
+ Array [
637
+ Object {
638
+ "paddingRight": 12,
639
+ },
640
+ undefined,
641
+ ]
642
+ }
643
+ >
644
+ <HeroIcon
645
+ name="sync"
646
+ style={
647
+ Array [
648
+ Object {
649
+ "color": "#001f23",
650
+ "fontSize": 24,
651
+ },
652
+ undefined,
653
+ ]
654
+ }
655
+ testID="undefined-icon"
656
+ themeIntent="text"
657
+ themeSize="medium"
658
+ />
659
+ </View>
660
+ <Text
661
+ allowFontScaling={false}
662
+ style={
663
+ Array [
664
+ Object {
665
+ "color": "#001f23",
666
+ "fontFamily": "BeVietnamPro-Regular",
667
+ "fontSize": 14,
668
+ "letterSpacing": 0.42,
669
+ "lineHeight": 22,
670
+ },
671
+ Array [
672
+ Object {
673
+ "flexShrink": 1,
674
+ "fontFamily": "BeVietnamPro-Regular",
675
+ "fontSize": 16,
676
+ "textAlign": "center",
677
+ },
678
+ undefined,
679
+ ],
680
+ ]
681
+ }
682
+ themeFontSize="medium"
683
+ themeFontWeight="regular"
684
+ themeIntent="body"
685
+ themeTypeface="neutral"
686
+ >
687
+ Move to Work
688
+ </Text>
689
+ </View>
690
+ <View
691
+ style={
692
+ Array [
693
+ Object {
694
+ "flex": 1,
695
+ "overflow": "hidden",
696
+ },
697
+ undefined,
698
+ ]
699
+ }
700
+ >
701
+ <View
702
+ style={
703
+ Array [
704
+ Object {
705
+ "borderBottomColor": "#e8e9ea",
706
+ "borderBottomWidth": 1,
707
+ "paddingHorizontal": 0,
708
+ },
709
+ undefined,
710
+ ]
711
+ }
712
+ themeInsets={
713
+ Object {
714
+ "bottom": 0,
715
+ "left": 0,
716
+ "right": 0,
717
+ "top": 0,
718
+ }
719
+ }
720
+ >
721
+ <View>
722
+ <View
723
+ onLayout={[Function]}
724
+ style={
725
+ Array [
726
+ Object {
727
+ "flexDirection": "row",
728
+ },
729
+ undefined,
730
+ ]
731
+ }
732
+ >
733
+ <View
734
+ accessible={true}
735
+ focusable={true}
736
+ onClick={[Function]}
737
+ onResponderGrant={[Function]}
738
+ onResponderMove={[Function]}
739
+ onResponderRelease={[Function]}
740
+ onResponderTerminate={[Function]}
741
+ onResponderTerminationRequest={[Function]}
742
+ onStartShouldSetResponder={[Function]}
743
+ style={
744
+ Array [
745
+ Object {
746
+ "alignItems": "center",
747
+ "flex": 1,
748
+ "paddingVertical": 8,
749
+ },
750
+ undefined,
751
+ ]
752
+ }
753
+ >
754
+ <View>
755
+ <Text
756
+ allowFontScaling={false}
757
+ numberOfLines={1}
758
+ style={
759
+ Array [
760
+ Object {
761
+ "color": "#001f23",
762
+ "fontFamily": "BeVietnamPro-SemiBold",
763
+ "fontSize": 14,
764
+ "letterSpacing": 0.42,
765
+ "lineHeight": 22,
766
+ },
767
+ Object {
768
+ "color": "#001f23",
769
+ },
770
+ ]
771
+ }
772
+ themeFontSize="medium"
773
+ themeFontWeight="semi-bold"
774
+ themeIntent="body"
775
+ themeTypeface="neutral"
776
+ >
777
+ Work
778
+ </Text>
779
+ </View>
780
+ </View>
781
+ <View
782
+ accessible={true}
783
+ focusable={true}
784
+ onClick={[Function]}
785
+ onResponderGrant={[Function]}
786
+ onResponderMove={[Function]}
787
+ onResponderRelease={[Function]}
788
+ onResponderTerminate={[Function]}
789
+ onResponderTerminationRequest={[Function]}
790
+ onStartShouldSetResponder={[Function]}
791
+ style={
792
+ Array [
793
+ Object {
794
+ "alignItems": "center",
795
+ "flex": 1,
796
+ "paddingVertical": 8,
797
+ },
798
+ undefined,
799
+ ]
800
+ }
801
+ >
802
+ <View>
803
+ <Text
804
+ allowFontScaling={false}
805
+ numberOfLines={1}
806
+ style={
807
+ Array [
808
+ Object {
809
+ "color": "#001f23",
810
+ "fontFamily": "BeVietnamPro-Regular",
811
+ "fontSize": 14,
812
+ "letterSpacing": 0.42,
813
+ "lineHeight": 22,
814
+ },
815
+ Object {
816
+ "color": "#001f23",
817
+ },
818
+ ]
819
+ }
820
+ themeFontSize="medium"
821
+ themeFontWeight="regular"
822
+ themeIntent="body"
823
+ themeTypeface="neutral"
824
+ >
825
+ Personal
826
+ </Text>
827
+ </View>
828
+ </View>
829
+ <View
830
+ accessible={true}
831
+ focusable={true}
832
+ onClick={[Function]}
833
+ onResponderGrant={[Function]}
834
+ onResponderMove={[Function]}
835
+ onResponderRelease={[Function]}
836
+ onResponderTerminate={[Function]}
837
+ onResponderTerminationRequest={[Function]}
838
+ onStartShouldSetResponder={[Function]}
839
+ style={
840
+ Array [
841
+ Object {
842
+ "alignItems": "center",
843
+ "flex": 1,
844
+ "paddingVertical": 8,
845
+ },
846
+ undefined,
847
+ ]
848
+ }
849
+ >
850
+ <View
851
+ style={
852
+ Object {
853
+ "paddingHorizontal": 4,
854
+ }
855
+ }
856
+ >
857
+ <Text
858
+ allowFontScaling={false}
859
+ numberOfLines={1}
860
+ style={
861
+ Array [
862
+ Object {
863
+ "color": "#001f23",
864
+ "fontFamily": "BeVietnamPro-Regular",
865
+ "fontSize": 14,
866
+ "letterSpacing": 0.42,
867
+ "lineHeight": 22,
868
+ },
869
+ Object {
870
+ "color": "#001f23",
871
+ },
872
+ ]
873
+ }
874
+ themeFontSize="medium"
875
+ themeFontWeight="regular"
876
+ themeIntent="body"
877
+ themeTypeface="neutral"
878
+ >
879
+ Home
880
+ </Text>
881
+ <View
882
+ collapsable={false}
883
+ style={
884
+ Object {
885
+ "backgroundColor": "#de350b",
886
+ "borderRadius": 999,
887
+ "height": 8,
888
+ "opacity": 1,
889
+ "position": "absolute",
890
+ "right": -2,
891
+ "top": -2,
892
+ "transform": Array [
893
+ Object {
894
+ "scale": 1,
895
+ },
896
+ ],
897
+ "width": 8,
898
+ }
899
+ }
900
+ themeIntent="danger"
901
+ />
902
+ </View>
903
+ </View>
904
+ <View
905
+ accessible={true}
906
+ focusable={true}
907
+ onClick={[Function]}
908
+ onResponderGrant={[Function]}
909
+ onResponderMove={[Function]}
910
+ onResponderRelease={[Function]}
911
+ onResponderTerminate={[Function]}
912
+ onResponderTerminationRequest={[Function]}
913
+ onStartShouldSetResponder={[Function]}
914
+ style={
915
+ Array [
916
+ Object {
917
+ "alignItems": "center",
918
+ "flex": 1,
919
+ "paddingVertical": 8,
920
+ },
921
+ undefined,
922
+ ]
923
+ }
924
+ >
925
+ <View
926
+ style={
927
+ Array [
928
+ Object {
929
+ "alignItems": "center",
930
+ "flexDirection": "row",
931
+ },
932
+ undefined,
933
+ ]
934
+ }
935
+ >
936
+ <Text
937
+ allowFontScaling={false}
938
+ numberOfLines={1}
939
+ style={
940
+ Array [
941
+ Object {
942
+ "color": "#001f23",
943
+ "fontFamily": "BeVietnamPro-Regular",
944
+ "fontSize": 14,
945
+ "letterSpacing": 0.42,
946
+ "lineHeight": 22,
947
+ },
948
+ Object {
949
+ "color": "#001f23",
950
+ },
951
+ ]
952
+ }
953
+ themeFontSize="medium"
954
+ themeFontWeight="regular"
955
+ themeIntent="body"
956
+ themeTypeface="neutral"
957
+ >
958
+ Money
959
+ </Text>
960
+ <View
961
+ collapsable={false}
962
+ style={
963
+ Object {
964
+ "alignItems": "center",
965
+ "backgroundColor": "#4568fb",
966
+ "borderRadius": 999,
967
+ "height": 20,
968
+ "justifyContent": "center",
969
+ "marginLeft": 4,
970
+ "minWidth": 20,
971
+ "opacity": 1,
972
+ "paddingHorizontal": 8,
973
+ "transform": Array [
974
+ Object {
975
+ "scale": 1,
976
+ },
977
+ ],
978
+ }
979
+ }
980
+ themeIntent="info"
981
+ themePadding="wideContent"
982
+ >
983
+ <Text
984
+ allowFontScaling={false}
985
+ style={
986
+ Array [
987
+ Object {
988
+ "color": "#001f23",
989
+ "fontFamily": "BeVietnamPro-Regular",
990
+ "fontSize": 14,
991
+ "letterSpacing": 0.42,
992
+ "lineHeight": 22,
993
+ },
994
+ Array [
995
+ Object {
996
+ "color": "#ffffff",
997
+ "fontFamily": "BeVietnamPro-SemiBold",
998
+ "fontSize": 12,
999
+ "includeFontPadding": false,
1000
+ "lineHeight": 20,
1001
+ "textAlign": "center",
1002
+ "textAlignVertical": "center",
1003
+ },
1004
+ undefined,
1005
+ ],
1006
+ ]
1007
+ }
1008
+ themeFontSize="medium"
1009
+ themeFontWeight="regular"
1010
+ themeIntent="body"
1011
+ themeTypeface="neutral"
1012
+ >
1013
+ 50
1014
+ </Text>
1015
+ </View>
1016
+ </View>
1017
+ </View>
1018
+ </View>
1019
+ <View
1020
+ collapsable={false}
1021
+ style={
1022
+ Object {
1023
+ "backgroundColor": "#401960",
1024
+ "bottom": 0,
1025
+ "height": 2,
1026
+ "position": "absolute",
1027
+ "transform": Array [
1028
+ Object {
1029
+ "translateX": 0,
1030
+ },
1031
+ ],
1032
+ "width": 0,
1033
+ }
1034
+ }
1035
+ themeWidth={0}
1036
+ />
1037
+ </View>
1038
+ </View>
1039
+ <RNCViewPager
1040
+ layoutDirection="ltr"
1041
+ onMoveShouldSetResponderCapture={[Function]}
1042
+ onPageScroll={[Function]}
1043
+ onPageScrollStateChanged={[Function]}
1044
+ onPageSelected={[Function]}
1045
+ >
1046
+ <View
1047
+ collapsable={false}
1048
+ style={
1049
+ Object {
1050
+ "bottom": 0,
1051
+ "left": 0,
1052
+ "position": "absolute",
1053
+ "right": 0,
1054
+ "top": 0,
1055
+ }
1056
+ }
1057
+ >
1058
+ <View
1059
+ accessibilityElementsHidden={false}
1060
+ importantForAccessibility="auto"
1061
+ style={
1062
+ Array [
1063
+ Object {
1064
+ "flex": 1,
1065
+ },
1066
+ Array [
1067
+ Object {
1068
+ "flex": 1,
1069
+ "overflow": "hidden",
1070
+ },
1071
+ Object {
1072
+ "bottom": 0,
1073
+ "left": 0,
1074
+ "position": "absolute",
1075
+ "right": 0,
1076
+ "top": 0,
1077
+ },
1078
+ ],
1079
+ ]
1080
+ }
1081
+ >
1082
+ <Text>
1083
+ Work Screen
1084
+
1085
+ focused
1086
+ </Text>
1087
+ </View>
1088
+ </View>
1089
+ <View
1090
+ collapsable={false}
1091
+ style={
1092
+ Object {
1093
+ "bottom": 0,
1094
+ "left": 0,
1095
+ "position": "absolute",
1096
+ "right": 0,
1097
+ "top": 0,
1098
+ }
1099
+ }
1100
+ >
1101
+ <View
1102
+ accessibilityElementsHidden={true}
1103
+ importantForAccessibility="no-hide-descendants"
1104
+ style={
1105
+ Array [
1106
+ Object {
1107
+ "flex": 1,
1108
+ },
1109
+ Array [
1110
+ Object {
1111
+ "flex": 1,
1112
+ "overflow": "hidden",
1113
+ },
1114
+ null,
1115
+ ],
1116
+ ]
1117
+ }
1118
+ >
1119
+ <Text>
1120
+ Personal Screen
1121
+
1122
+ unfocused
1123
+ </Text>
1124
+ </View>
1125
+ </View>
1126
+ <View
1127
+ collapsable={false}
1128
+ style={
1129
+ Object {
1130
+ "bottom": 0,
1131
+ "left": 0,
1132
+ "position": "absolute",
1133
+ "right": 0,
1134
+ "top": 0,
1135
+ }
1136
+ }
1137
+ >
1138
+ <View
1139
+ accessibilityElementsHidden={true}
1140
+ importantForAccessibility="no-hide-descendants"
1141
+ style={
1142
+ Array [
1143
+ Object {
1144
+ "flex": 1,
1145
+ },
1146
+ Array [
1147
+ Object {
1148
+ "flex": 1,
1149
+ "overflow": "hidden",
1150
+ },
1151
+ null,
1152
+ ],
1153
+ ]
1154
+ }
1155
+ />
1156
+ </View>
1157
+ <View
1158
+ collapsable={false}
1159
+ style={
1160
+ Object {
1161
+ "bottom": 0,
1162
+ "left": 0,
1163
+ "position": "absolute",
1164
+ "right": 0,
1165
+ "top": 0,
1166
+ }
1167
+ }
1168
+ >
1169
+ <View
1170
+ accessibilityElementsHidden={true}
1171
+ importantForAccessibility="no-hide-descendants"
1172
+ style={
1173
+ Array [
1174
+ Object {
1175
+ "flex": 1,
1176
+ },
1177
+ Array [
1178
+ Object {
1179
+ "flex": 1,
1180
+ "overflow": "hidden",
1181
+ },
1182
+ null,
1183
+ ],
1184
+ ]
1185
+ }
1186
+ />
1187
+ </View>
1188
+ </RNCViewPager>
1189
+ </View>
1190
+ </RNCSafeAreaProvider>
1191
+ `;
1192
+
1193
+ exports[`useIsFocused renders correctly: xxxxxx 1`] = `
1194
+ <RNCSafeAreaProvider
1195
+ onInsetsChange={[Function]}
1196
+ style={
1197
+ Array [
1198
+ Object {
1199
+ "flex": 1,
1200
+ },
1201
+ undefined,
1202
+ ]
1203
+ }
1204
+ >
1205
+ <View
1206
+ accessible={true}
1207
+ collapsable={false}
1208
+ focusable={true}
1209
+ onClick={[Function]}
1210
+ onResponderGrant={[Function]}
1211
+ onResponderMove={[Function]}
1212
+ onResponderRelease={[Function]}
1213
+ onResponderTerminate={[Function]}
1214
+ onResponderTerminationRequest={[Function]}
1215
+ onStartShouldSetResponder={[Function]}
1216
+ style={
1217
+ Object {
1218
+ "alignItems": "center",
1219
+ "backgroundColor": "#f6f6f7",
1220
+ "borderRadius": 8,
1221
+ "flexDirection": "row",
1222
+ "justifyContent": "center",
1223
+ "opacity": 1,
1224
+ "padding": 8,
1225
+ "width": "100%",
1226
+ }
1227
+ }
1228
+ >
1229
+ <View
1230
+ style={
1231
+ Array [
1232
+ Object {
1233
+ "paddingRight": 12,
1234
+ },
1235
+ undefined,
1236
+ ]
1237
+ }
1238
+ >
1239
+ <HeroIcon
1240
+ name="sync"
1241
+ style={
1242
+ Array [
1243
+ Object {
1244
+ "color": "#001f23",
1245
+ "fontSize": 24,
1246
+ },
1247
+ undefined,
1248
+ ]
1249
+ }
1250
+ testID="undefined-icon"
1251
+ themeIntent="text"
1252
+ themeSize="medium"
1253
+ />
1254
+ </View>
1255
+ <Text
1256
+ allowFontScaling={false}
1257
+ style={
1258
+ Array [
1259
+ Object {
1260
+ "color": "#001f23",
1261
+ "fontFamily": "BeVietnamPro-Regular",
1262
+ "fontSize": 14,
1263
+ "letterSpacing": 0.42,
1264
+ "lineHeight": 22,
1265
+ },
1266
+ Array [
1267
+ Object {
1268
+ "flexShrink": 1,
1269
+ "fontFamily": "BeVietnamPro-Regular",
1270
+ "fontSize": 16,
1271
+ "textAlign": "center",
1272
+ },
1273
+ undefined,
1274
+ ],
1275
+ ]
1276
+ }
1277
+ themeFontSize="medium"
1278
+ themeFontWeight="regular"
1279
+ themeIntent="body"
1280
+ themeTypeface="neutral"
1281
+ >
1282
+ Move to Work
1283
+ </Text>
1284
+ </View>
1285
+ <View
1286
+ style={
1287
+ Array [
1288
+ Object {
1289
+ "flex": 1,
1290
+ "overflow": "hidden",
1291
+ },
1292
+ undefined,
1293
+ ]
1294
+ }
1295
+ >
1296
+ <View
1297
+ style={
1298
+ Array [
1299
+ Object {
1300
+ "borderBottomColor": "#e8e9ea",
1301
+ "borderBottomWidth": 1,
1302
+ "paddingHorizontal": 0,
1303
+ },
1304
+ undefined,
1305
+ ]
1306
+ }
1307
+ themeInsets={
1308
+ Object {
1309
+ "bottom": 0,
1310
+ "left": 0,
1311
+ "right": 0,
1312
+ "top": 0,
1313
+ }
1314
+ }
1315
+ >
1316
+ <View>
1317
+ <View
1318
+ onLayout={[Function]}
1319
+ style={
1320
+ Array [
1321
+ Object {
1322
+ "flexDirection": "row",
1323
+ },
1324
+ undefined,
1325
+ ]
1326
+ }
1327
+ >
1328
+ <View
1329
+ accessible={true}
1330
+ focusable={true}
1331
+ onClick={[Function]}
1332
+ onResponderGrant={[Function]}
1333
+ onResponderMove={[Function]}
1334
+ onResponderRelease={[Function]}
1335
+ onResponderTerminate={[Function]}
1336
+ onResponderTerminationRequest={[Function]}
1337
+ onStartShouldSetResponder={[Function]}
1338
+ style={
1339
+ Array [
1340
+ Object {
1341
+ "alignItems": "center",
1342
+ "flex": 1,
1343
+ "paddingVertical": 8,
1344
+ },
1345
+ undefined,
1346
+ ]
1347
+ }
1348
+ >
1349
+ <View>
1350
+ <Text
1351
+ allowFontScaling={false}
1352
+ numberOfLines={1}
1353
+ style={
1354
+ Array [
1355
+ Object {
1356
+ "color": "#001f23",
1357
+ "fontFamily": "BeVietnamPro-Regular",
1358
+ "fontSize": 14,
1359
+ "letterSpacing": 0.42,
1360
+ "lineHeight": 22,
1361
+ },
1362
+ Object {
1363
+ "color": "#001f23",
1364
+ },
1365
+ ]
1366
+ }
1367
+ themeFontSize="medium"
1368
+ themeFontWeight="regular"
1369
+ themeIntent="body"
1370
+ themeTypeface="neutral"
1371
+ >
1372
+ Work
1373
+ </Text>
1374
+ </View>
1375
+ </View>
1376
+ <View
1377
+ accessible={true}
1378
+ focusable={true}
1379
+ onClick={[Function]}
1380
+ onResponderGrant={[Function]}
1381
+ onResponderMove={[Function]}
1382
+ onResponderRelease={[Function]}
1383
+ onResponderTerminate={[Function]}
1384
+ onResponderTerminationRequest={[Function]}
1385
+ onStartShouldSetResponder={[Function]}
1386
+ style={
1387
+ Array [
1388
+ Object {
1389
+ "alignItems": "center",
1390
+ "flex": 1,
1391
+ "paddingVertical": 8,
1392
+ },
1393
+ undefined,
1394
+ ]
1395
+ }
1396
+ >
1397
+ <View>
1398
+ <Text
1399
+ allowFontScaling={false}
1400
+ numberOfLines={1}
1401
+ style={
1402
+ Array [
1403
+ Object {
1404
+ "color": "#001f23",
1405
+ "fontFamily": "BeVietnamPro-SemiBold",
1406
+ "fontSize": 14,
1407
+ "letterSpacing": 0.42,
1408
+ "lineHeight": 22,
1409
+ },
1410
+ Object {
1411
+ "color": "#001f23",
1412
+ },
1413
+ ]
1414
+ }
1415
+ themeFontSize="medium"
1416
+ themeFontWeight="semi-bold"
1417
+ themeIntent="body"
1418
+ themeTypeface="neutral"
1419
+ >
1420
+ Personal
1421
+ </Text>
1422
+ </View>
1423
+ </View>
1424
+ <View
1425
+ accessible={true}
1426
+ focusable={true}
1427
+ onClick={[Function]}
1428
+ onResponderGrant={[Function]}
1429
+ onResponderMove={[Function]}
1430
+ onResponderRelease={[Function]}
1431
+ onResponderTerminate={[Function]}
1432
+ onResponderTerminationRequest={[Function]}
1433
+ onStartShouldSetResponder={[Function]}
1434
+ style={
1435
+ Array [
1436
+ Object {
1437
+ "alignItems": "center",
1438
+ "flex": 1,
1439
+ "paddingVertical": 8,
1440
+ },
1441
+ undefined,
1442
+ ]
1443
+ }
1444
+ >
1445
+ <View
1446
+ style={
1447
+ Object {
1448
+ "paddingHorizontal": 4,
1449
+ }
1450
+ }
1451
+ >
1452
+ <Text
1453
+ allowFontScaling={false}
1454
+ numberOfLines={1}
1455
+ style={
1456
+ Array [
1457
+ Object {
1458
+ "color": "#001f23",
1459
+ "fontFamily": "BeVietnamPro-Regular",
1460
+ "fontSize": 14,
1461
+ "letterSpacing": 0.42,
1462
+ "lineHeight": 22,
1463
+ },
1464
+ Object {
1465
+ "color": "#001f23",
1466
+ },
1467
+ ]
1468
+ }
1469
+ themeFontSize="medium"
1470
+ themeFontWeight="regular"
1471
+ themeIntent="body"
1472
+ themeTypeface="neutral"
1473
+ >
1474
+ Home
1475
+ </Text>
1476
+ <View
1477
+ collapsable={false}
1478
+ style={
1479
+ Object {
1480
+ "backgroundColor": "#de350b",
1481
+ "borderRadius": 999,
1482
+ "height": 8,
1483
+ "opacity": 1,
1484
+ "position": "absolute",
1485
+ "right": -2,
1486
+ "top": -2,
1487
+ "transform": Array [
1488
+ Object {
1489
+ "scale": 1,
1490
+ },
1491
+ ],
1492
+ "width": 8,
1493
+ }
1494
+ }
1495
+ themeIntent="danger"
1496
+ />
1497
+ </View>
1498
+ </View>
1499
+ <View
1500
+ accessible={true}
1501
+ focusable={true}
1502
+ onClick={[Function]}
1503
+ onResponderGrant={[Function]}
1504
+ onResponderMove={[Function]}
1505
+ onResponderRelease={[Function]}
1506
+ onResponderTerminate={[Function]}
1507
+ onResponderTerminationRequest={[Function]}
1508
+ onStartShouldSetResponder={[Function]}
1509
+ style={
1510
+ Array [
1511
+ Object {
1512
+ "alignItems": "center",
1513
+ "flex": 1,
1514
+ "paddingVertical": 8,
1515
+ },
1516
+ undefined,
1517
+ ]
1518
+ }
1519
+ >
1520
+ <View
1521
+ style={
1522
+ Array [
1523
+ Object {
1524
+ "alignItems": "center",
1525
+ "flexDirection": "row",
1526
+ },
1527
+ undefined,
1528
+ ]
1529
+ }
1530
+ >
1531
+ <Text
1532
+ allowFontScaling={false}
1533
+ numberOfLines={1}
1534
+ style={
1535
+ Array [
1536
+ Object {
1537
+ "color": "#001f23",
1538
+ "fontFamily": "BeVietnamPro-Regular",
1539
+ "fontSize": 14,
1540
+ "letterSpacing": 0.42,
1541
+ "lineHeight": 22,
1542
+ },
1543
+ Object {
1544
+ "color": "#001f23",
1545
+ },
1546
+ ]
1547
+ }
1548
+ themeFontSize="medium"
1549
+ themeFontWeight="regular"
1550
+ themeIntent="body"
1551
+ themeTypeface="neutral"
1552
+ >
1553
+ Money
1554
+ </Text>
1555
+ <View
1556
+ collapsable={false}
1557
+ style={
1558
+ Object {
1559
+ "alignItems": "center",
1560
+ "backgroundColor": "#4568fb",
1561
+ "borderRadius": 999,
1562
+ "height": 20,
1563
+ "justifyContent": "center",
1564
+ "marginLeft": 4,
1565
+ "minWidth": 20,
1566
+ "opacity": 1,
1567
+ "paddingHorizontal": 8,
1568
+ "transform": Array [
1569
+ Object {
1570
+ "scale": 1,
1571
+ },
1572
+ ],
1573
+ }
1574
+ }
1575
+ themeIntent="info"
1576
+ themePadding="wideContent"
1577
+ >
1578
+ <Text
1579
+ allowFontScaling={false}
1580
+ style={
1581
+ Array [
1582
+ Object {
1583
+ "color": "#001f23",
1584
+ "fontFamily": "BeVietnamPro-Regular",
1585
+ "fontSize": 14,
1586
+ "letterSpacing": 0.42,
1587
+ "lineHeight": 22,
1588
+ },
1589
+ Array [
1590
+ Object {
1591
+ "color": "#ffffff",
1592
+ "fontFamily": "BeVietnamPro-SemiBold",
1593
+ "fontSize": 12,
1594
+ "includeFontPadding": false,
1595
+ "lineHeight": 20,
1596
+ "textAlign": "center",
1597
+ "textAlignVertical": "center",
1598
+ },
1599
+ undefined,
1600
+ ],
1601
+ ]
1602
+ }
1603
+ themeFontSize="medium"
1604
+ themeFontWeight="regular"
1605
+ themeIntent="body"
1606
+ themeTypeface="neutral"
1607
+ >
1608
+ 50
1609
+ </Text>
1610
+ </View>
1611
+ </View>
1612
+ </View>
1613
+ </View>
1614
+ <View
465
1615
  collapsable={false}
466
- importantForAccessibility="auto"
467
- pointerEvents="auto"
1616
+ style={
1617
+ Object {
1618
+ "backgroundColor": "#401960",
1619
+ "bottom": 0,
1620
+ "height": 2,
1621
+ "position": "absolute",
1622
+ "transform": Array [
1623
+ Object {
1624
+ "translateX": 0,
1625
+ },
1626
+ ],
1627
+ "width": 0,
1628
+ }
1629
+ }
1630
+ themeWidth={0}
1631
+ />
1632
+ </View>
1633
+ </View>
1634
+ <RNCViewPager
1635
+ layoutDirection="ltr"
1636
+ onMoveShouldSetResponderCapture={[Function]}
1637
+ onPageScroll={[Function]}
1638
+ onPageScrollStateChanged={[Function]}
1639
+ onPageSelected={[Function]}
1640
+ >
1641
+ <View
1642
+ collapsable={false}
1643
+ style={
1644
+ Object {
1645
+ "bottom": 0,
1646
+ "left": 0,
1647
+ "position": "absolute",
1648
+ "right": 0,
1649
+ "top": 0,
1650
+ }
1651
+ }
1652
+ >
1653
+ <View
1654
+ accessibilityElementsHidden={true}
1655
+ importantForAccessibility="no-hide-descendants"
468
1656
  style={
469
1657
  Array [
470
1658
  Object {
471
1659
  "flex": 1,
472
1660
  },
473
1661
  Array [
474
- undefined,
475
1662
  Object {
476
- "bottom": 0,
477
- "left": 0,
478
- "position": "absolute",
479
- "right": 0,
480
- "top": 0,
1663
+ "flex": 1,
1664
+ "overflow": "hidden",
481
1665
  },
1666
+ null,
482
1667
  ],
483
1668
  ]
484
1669
  }
485
1670
  >
486
1671
  <Text>
487
1672
  Work Screen
1673
+
1674
+ unfocused
488
1675
  </Text>
489
1676
  </View>
490
1677
  </View>
@@ -501,17 +1688,18 @@ exports[`Tabs renders correctly 1`] = `
501
1688
  }
502
1689
  >
503
1690
  <View
504
- accessibilityElementsHidden={true}
505
- collapsable={false}
506
- importantForAccessibility="no-hide-descendants"
507
- pointerEvents="none"
1691
+ accessibilityElementsHidden={false}
1692
+ importantForAccessibility="auto"
508
1693
  style={
509
1694
  Array [
510
1695
  Object {
511
1696
  "flex": 1,
512
1697
  },
513
1698
  Array [
514
- undefined,
1699
+ Object {
1700
+ "flex": 1,
1701
+ "overflow": "hidden",
1702
+ },
515
1703
  Object {
516
1704
  "bottom": 0,
517
1705
  "left": 0,
@@ -525,6 +1713,8 @@ exports[`Tabs renders correctly 1`] = `
525
1713
  >
526
1714
  <Text>
527
1715
  Personal Screen
1716
+
1717
+ focused
528
1718
  </Text>
529
1719
  </View>
530
1720
  </View>
@@ -542,29 +1732,26 @@ exports[`Tabs renders correctly 1`] = `
542
1732
  >
543
1733
  <View
544
1734
  accessibilityElementsHidden={true}
545
- collapsable={false}
546
1735
  importantForAccessibility="no-hide-descendants"
547
- pointerEvents="none"
548
1736
  style={
549
1737
  Array [
550
1738
  Object {
551
1739
  "flex": 1,
552
1740
  },
553
1741
  Array [
554
- undefined,
555
1742
  Object {
556
- "bottom": 0,
557
- "left": 0,
558
- "position": "absolute",
559
- "right": 0,
560
- "top": 0,
1743
+ "flex": 1,
1744
+ "overflow": "hidden",
561
1745
  },
1746
+ null,
562
1747
  ],
563
1748
  ]
564
1749
  }
565
1750
  >
566
1751
  <Text>
567
1752
  Home Screen
1753
+
1754
+ unfocused
568
1755
  </Text>
569
1756
  </View>
570
1757
  </View>
@@ -582,29 +1769,26 @@ exports[`Tabs renders correctly 1`] = `
582
1769
  >
583
1770
  <View
584
1771
  accessibilityElementsHidden={true}
585
- collapsable={false}
586
1772
  importantForAccessibility="no-hide-descendants"
587
- pointerEvents="none"
588
1773
  style={
589
1774
  Array [
590
1775
  Object {
591
1776
  "flex": 1,
592
1777
  },
593
1778
  Array [
594
- undefined,
595
1779
  Object {
596
- "bottom": 0,
597
- "left": 0,
598
- "position": "absolute",
599
- "right": 0,
600
- "top": 0,
1780
+ "flex": 1,
1781
+ "overflow": "hidden",
601
1782
  },
1783
+ null,
602
1784
  ],
603
1785
  ]
604
1786
  }
605
1787
  >
606
1788
  <Text>
607
1789
  Money Screen
1790
+
1791
+ unfocused
608
1792
  </Text>
609
1793
  </View>
610
1794
  </View>