@hero-design/rn 9.0.0-0 → 9.0.0-alpha.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 (668) hide show
  1. package/CHANGELOG.md +287 -0
  2. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  3. package/es/index.js +17491 -14687
  4. package/jest-ci.config.js +17 -0
  5. package/jest-setup.ts +2 -0
  6. package/jest.config.js +1 -3
  7. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  8. package/lib/index.js +17376 -14565
  9. package/package.json +50 -40
  10. package/rollup.config.js +1 -0
  11. package/sonar-project.properties +11 -0
  12. package/src/components/Accordion/AccordionItem.tsx +1 -3
  13. package/src/components/Accordion/__tests__/AccordionItem.spec.tsx +5 -5
  14. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +580 -408
  15. package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +76 -20
  16. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +818 -644
  17. package/src/components/Accordion/__tests__/index.spec.tsx +2 -2
  18. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +912 -644
  19. package/src/components/Alert/__tests__/index.spec.tsx +44 -2
  20. package/src/components/Alert/index.tsx +30 -4
  21. package/src/components/AnimatedScroller/AnimatedFAB.tsx +155 -0
  22. package/src/components/AnimatedScroller/AnimatedScrollable.tsx +70 -0
  23. package/src/components/AnimatedScroller/FlatListWithFAB.tsx +23 -0
  24. package/src/components/AnimatedScroller/ScrollViewWithFAB.tsx +21 -0
  25. package/src/components/AnimatedScroller/SectionListWithFAB.tsx +26 -0
  26. package/src/components/AnimatedScroller/__tests__/ScrollablesWithFAB.spec.tsx +193 -0
  27. package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +3462 -0
  28. package/src/components/AnimatedScroller/index.tsx +5 -0
  29. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +178 -117
  30. package/src/components/Attachment/index.tsx +3 -1
  31. package/src/components/Avatar/AvatarStack/StyledAvatarStack.tsx +63 -9
  32. package/src/components/Avatar/AvatarStack/__tests__/StyledAvatarStack.spec.tsx +71 -9
  33. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +410 -73
  34. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +2904 -591
  35. package/src/components/Avatar/AvatarStack/__tests__/index.spec.tsx +140 -6
  36. package/src/components/Avatar/AvatarStack/index.tsx +94 -9
  37. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +163 -62
  38. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +288 -168
  39. package/src/components/Badge/StyledBadge.tsx +1 -4
  40. package/src/components/Badge/__tests__/Status.spec.tsx +1 -1
  41. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +397 -259
  42. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +123 -68
  43. package/src/components/BottomNavigation/StyledBottomNavigation.tsx +1 -1
  44. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +332 -276
  45. package/src/components/BottomNavigation/index.tsx +4 -1
  46. package/src/components/BottomSheet/Header.tsx +1 -3
  47. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +330 -197
  48. package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +1042 -454
  49. package/src/components/Button/Button.tsx +60 -25
  50. package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +6 -9
  51. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +400 -140
  52. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +1090 -880
  53. package/src/components/Button/StyledButton.tsx +56 -59
  54. package/src/components/Button/UtilityButton/StyledUtilityButton.tsx +2 -4
  55. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +206 -122
  56. package/src/components/Button/__tests__/Button.spec.tsx +18 -0
  57. package/src/components/Button/__tests__/StyledButton.spec.tsx +12 -6
  58. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1878 -1196
  59. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +74 -29
  60. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +1734 -778
  61. package/src/components/Calendar/CalendarRowItem.tsx +5 -2
  62. package/src/components/Calendar/StyledCalendar.tsx +2 -2
  63. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +555 -335
  64. package/src/components/Calendar/__tests__/index.spec.tsx +76 -0
  65. package/src/components/Calendar/index.tsx +170 -59
  66. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +265 -69
  67. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +215 -75
  68. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +36 -8
  69. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +304 -142
  70. package/src/components/Card/__tests__/index.spec.tsx +1 -1
  71. package/src/components/Carousel/CardCarousel.tsx +23 -25
  72. package/src/components/Carousel/CarouselItem.tsx +39 -23
  73. package/src/components/Carousel/StyledCardCarousel.tsx +1 -16
  74. package/src/components/Carousel/StyledCarousel.tsx +8 -12
  75. package/src/components/Carousel/__tests__/CardCarousel.spec.tsx +18 -18
  76. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +370 -366
  77. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +199 -72
  78. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +41 -13
  79. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1621 -1861
  80. package/src/components/Carousel/__tests__/index.spec.tsx +107 -7
  81. package/src/components/Carousel/index.tsx +63 -35
  82. package/src/components/Carousel/types.ts +4 -4
  83. package/src/components/Checkbox/StyledCheckbox.tsx +24 -30
  84. package/src/components/Checkbox/__tests__/StyledCheckbox.spec.tsx +25 -16
  85. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +432 -77
  86. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +598 -345
  87. package/src/components/Checkbox/__tests__/index.spec.tsx +24 -9
  88. package/src/components/Checkbox/index.tsx +60 -25
  89. package/src/components/Chip/StyledChip.tsx +121 -0
  90. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1483 -0
  91. package/src/components/Chip/__tests__/index.spec.tsx +136 -0
  92. package/src/components/Chip/index.tsx +82 -0
  93. package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +74 -18
  94. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +100 -44
  95. package/src/components/Collapse/index.tsx +1 -1
  96. package/src/components/ContentNavigator/StyledContentNavigator.tsx +1 -6
  97. package/src/components/ContentNavigator/__tests__/StyledContentNavigator.spec.tsx +1 -9
  98. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +37 -38
  99. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +449 -186
  100. package/src/components/ContentNavigator/__tests__/index.spec.tsx +16 -0
  101. package/src/components/ContentNavigator/index.tsx +30 -9
  102. package/src/components/DatePicker/DatePickerAndroid.tsx +8 -3
  103. package/src/components/DatePicker/DatePickerCalendar.tsx +44 -15
  104. package/src/components/DatePicker/DatePickerIOS.tsx +12 -23
  105. package/src/components/DatePicker/__tests__/DatePicker.spec.tsx +92 -0
  106. package/src/components/DatePicker/__tests__/DatePickerCalendar.spec.tsx +42 -0
  107. package/src/components/DatePicker/__tests__/DatePickerIOS.spec.tsx +6 -5
  108. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +676 -508
  109. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +230 -174
  110. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +222 -166
  111. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +518 -423
  112. package/src/components/DatePicker/types.ts +8 -0
  113. package/src/components/DatePicker/useCalculateDate.tsx +34 -0
  114. package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +464 -128
  115. package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +99 -71
  116. package/src/components/Drawer/DragableDrawer/index.tsx +2 -2
  117. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +327 -192
  118. package/src/components/Drawer/index.tsx +3 -3
  119. package/src/components/Empty/StyledEmpty.tsx +2 -6
  120. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +176 -134
  121. package/src/components/Empty/index.tsx +4 -2
  122. package/src/components/Error/StyledError.tsx +4 -9
  123. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +431 -335
  124. package/src/components/Error/__tests__/index.spec.tsx +9 -6
  125. package/src/components/Error/index.tsx +6 -2
  126. package/src/components/FAB/ActionGroup/ActionItem.tsx +46 -15
  127. package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +16 -18
  128. package/src/components/FAB/ActionGroup/StyledActionItem.tsx +1 -5
  129. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +980 -1217
  130. package/src/components/FAB/ActionGroup/__tests__/index.spec.tsx +32 -22
  131. package/src/components/FAB/ActionGroup/index.tsx +135 -94
  132. package/src/components/FAB/AnimatedFABIcon.tsx +3 -5
  133. package/src/components/FAB/FAB.tsx +170 -28
  134. package/src/components/FAB/StyledFAB.tsx +26 -23
  135. package/src/components/FAB/__tests__/StyledFAB.spec.tsx +12 -2
  136. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +102 -46
  137. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +204 -52
  138. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +323 -180
  139. package/src/components/FAB/__tests__/index.spec.tsx +22 -2
  140. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +80 -0
  141. package/src/components/HeroDesignProvider/__tests__/index.spec.tsx +78 -0
  142. package/src/components/HeroDesignProvider/index.tsx +14 -0
  143. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  144. package/src/components/Icon/IconList.ts +36 -0
  145. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +162 -50
  146. package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +172 -60
  147. package/src/components/List/BasicListItem.tsx +2 -6
  148. package/src/components/List/ListItem.tsx +3 -5
  149. package/src/components/List/StyledListItem.tsx +8 -7
  150. package/src/components/List/__tests__/ListItem.spec.tsx +4 -4
  151. package/src/components/List/__tests__/StyledBasicListItem.spec.tsx +3 -1
  152. package/src/components/List/__tests__/StyledListItem.spec.tsx +3 -1
  153. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +264 -198
  154. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +798 -635
  155. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +280 -140
  156. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +485 -203
  157. package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +169 -0
  158. package/src/components/Modal/__tests__/index.spec.tsx +99 -0
  159. package/src/components/Modal/index.tsx +217 -0
  160. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +84 -41
  161. package/src/components/PageControl/index.tsx +7 -4
  162. package/src/components/PinInput/PinCell.tsx +3 -1
  163. package/src/components/PinInput/StyledPinInput.tsx +2 -7
  164. package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +9 -4
  165. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +298 -178
  166. package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +15 -48
  167. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +873 -777
  168. package/src/components/PinInput/index.tsx +3 -1
  169. package/src/components/Portal/PortalHost.tsx +27 -0
  170. package/src/components/Portal/PortalProvider.tsx +35 -0
  171. package/src/components/Portal/__tests__/PortalHost.spec.tsx +48 -0
  172. package/src/components/Portal/__tests__/PortalProvider.spec.tsx +24 -0
  173. package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +57 -0
  174. package/src/components/Portal/__tests__/index.spec.tsx +48 -0
  175. package/src/components/Portal/__tests__/reducer.spec.tsx +110 -0
  176. package/src/components/Portal/constants.ts +10 -0
  177. package/src/components/Portal/contexts.ts +14 -0
  178. package/src/components/Portal/index.tsx +66 -0
  179. package/src/components/Portal/reducer.ts +106 -0
  180. package/src/components/Portal/types.tsx +31 -0
  181. package/src/components/Portal/usePortal.ts +50 -0
  182. package/src/components/Portal/usePortalState.ts +11 -0
  183. package/src/components/Progress/ProgressCircle.tsx +1 -3
  184. package/src/components/Progress/StyledProgressBar.tsx +1 -0
  185. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +810 -671
  186. package/src/components/Radio/Radio.tsx +25 -6
  187. package/src/components/Radio/RadioGroup.tsx +13 -4
  188. package/src/components/Radio/StyledRadio.tsx +20 -3
  189. package/src/components/Radio/__tests__/Radio.spec.tsx +46 -13
  190. package/src/components/Radio/__tests__/RadioGroup.spec.tsx +40 -7
  191. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +565 -126
  192. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +1079 -196
  193. package/src/components/Radio/types.ts +9 -1
  194. package/src/components/Rate/StyledRate.tsx +16 -0
  195. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +1006 -0
  196. package/src/components/Rate/__tests__/index.spec.tsx +47 -0
  197. package/src/components/Rate/index.tsx +90 -0
  198. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +131 -47
  199. package/src/components/RichTextEditor/RichTextEditor.tsx +94 -47
  200. package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +5 -2
  201. package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +3 -3
  202. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +420 -273
  203. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +66 -37
  204. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +451 -355
  205. package/src/components/SectionHeading/StyledHeading.tsx +21 -10
  206. package/src/components/SectionHeading/__tests__/StyledHeading.spec.tsx +6 -2
  207. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +165 -30
  208. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +469 -169
  209. package/src/components/SectionHeading/__tests__/index.spec.tsx +15 -1
  210. package/src/components/SectionHeading/index.tsx +51 -32
  211. package/src/components/Select/MultiSelect/Option.tsx +3 -0
  212. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +100 -64
  213. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2557 -2320
  214. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +2739 -911
  215. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +39 -22
  216. package/src/components/Select/MultiSelect/index.tsx +1 -1
  217. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +78 -43
  218. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2460 -2228
  219. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +1356 -843
  220. package/src/components/Select/SingleSelect/__tests__/index.spec.tsx +5 -9
  221. package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +525 -329
  222. package/src/components/Skeleton/index.tsx +3 -7
  223. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +117 -33
  224. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +114 -86
  225. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +1336 -664
  226. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +129 -101
  227. package/src/components/Success/StyledSuccess.tsx +4 -7
  228. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +560 -311
  229. package/src/components/Success/__tests__/index.spec.tsx +37 -9
  230. package/src/components/Success/index.tsx +7 -4
  231. package/src/components/Swipeable/__tests__/SwipeableAction.spec.tsx +2 -2
  232. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +219 -87
  233. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +158 -24
  234. package/src/components/Swipeable/__tests__/index.spec.tsx +12 -5
  235. package/src/components/Swipeable/index.tsx +42 -15
  236. package/src/components/Switch/SelectorSwitch/Option.tsx +1 -1
  237. package/src/components/Switch/SelectorSwitch/StyledSelectorSwitch.tsx +4 -7
  238. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +242 -131
  239. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +152 -116
  240. package/src/components/Switch/SelectorSwitch/index.tsx +7 -15
  241. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +203 -63
  242. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +134 -70
  243. package/src/components/Tabs/SceneView.tsx +11 -6
  244. package/src/components/Tabs/ScrollableTabs.tsx +26 -8
  245. package/src/components/Tabs/{ScrollableTabsHeader.tsx → ScrollableTabsHeader/ScrollableTabsHeader.tsx} +74 -45
  246. package/src/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.ts +45 -0
  247. package/src/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.ts +91 -0
  248. package/src/components/Tabs/StyledScrollableTabs.tsx +14 -9
  249. package/src/components/Tabs/StyledTabs.tsx +1 -9
  250. package/src/components/Tabs/__tests__/SceneView.spec.tsx +11 -11
  251. package/src/components/Tabs/__tests__/ScrollableTabsHeader.spec.tsx +7 -3
  252. package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +219 -110
  253. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2348 -2072
  254. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +1134 -444
  255. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +124 -73
  256. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1694 -1487
  257. package/src/components/Tabs/__tests__/useInitHighlightedAnimation.spec.tsx +56 -0
  258. package/src/components/Tabs/__tests__/useInitUnderlinedAnimation.spec.tsx +65 -0
  259. package/src/components/Tabs/index.tsx +9 -6
  260. package/src/components/Tag/StyledTag.tsx +7 -39
  261. package/src/components/Tag/__tests__/Tag.spec.tsx +18 -14
  262. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +572 -377
  263. package/src/components/Tag/index.tsx +8 -2
  264. package/src/components/TextInput/StyledTextInput.tsx +18 -49
  265. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +2 -46
  266. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1001 -803
  267. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3774 -3075
  268. package/src/components/TextInput/__tests__/index.spec.tsx +151 -9
  269. package/src/components/TextInput/index.tsx +253 -105
  270. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +452 -347
  271. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +741 -597
  272. package/src/components/Toast/StyledToast.tsx +1 -1
  273. package/src/components/Toast/Toast.tsx +6 -5
  274. package/src/components/Toast/ToastContainer.tsx +2 -0
  275. package/src/components/Toast/ToastContext.ts +20 -2
  276. package/src/components/Toast/ToastProvider.tsx +7 -4
  277. package/src/components/Toast/__tests__/Toast.spec.tsx +5 -1
  278. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +916 -631
  279. package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
  280. package/src/components/Toolbar/StyledToolbar.tsx +1 -1
  281. package/src/components/Toolbar/ToolbarItem.tsx +4 -6
  282. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +606 -456
  283. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +714 -401
  284. package/src/components/Typography/Body/StyledBody.tsx +46 -0
  285. package/src/components/Typography/Body/__tests__/StyledBody.tsx +56 -0
  286. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +801 -0
  287. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +970 -0
  288. package/src/components/Typography/Body/__tests__/index.spec.tsx +54 -0
  289. package/src/components/Typography/Body/index.tsx +71 -0
  290. package/src/components/Typography/Caption/StyledCaption.tsx +17 -0
  291. package/src/components/Typography/Caption/__tests__/StyledCaption.spec.tsx +39 -0
  292. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +491 -0
  293. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +651 -0
  294. package/src/components/Typography/Caption/__tests__/index.spec.tsx +46 -0
  295. package/src/components/Typography/Caption/index.tsx +61 -0
  296. package/src/components/Typography/Label/StyledLabel.tsx +14 -0
  297. package/src/components/Typography/Label/__tests__/StyledLabel.tsx +23 -0
  298. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +377 -0
  299. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +529 -0
  300. package/src/components/Typography/Label/__tests__/index.spec.tsx +32 -0
  301. package/src/components/Typography/Label/index.tsx +55 -0
  302. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +900 -340
  303. package/src/components/Typography/Text/index.tsx +19 -12
  304. package/src/components/Typography/Title/StyledTitle.tsx +20 -0
  305. package/src/components/Typography/Title/__tests__/StyledTitle.tsx +53 -0
  306. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +1001 -0
  307. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +1174 -0
  308. package/src/components/Typography/Title/__tests__/index.spec.tsx +55 -0
  309. package/src/components/Typography/Title/index.tsx +70 -0
  310. package/src/components/Typography/index.tsx +15 -0
  311. package/src/components/Typography/types.ts +18 -0
  312. package/src/index.ts +16 -0
  313. package/src/testHelpers/renderWithTheme.tsx +2 -2
  314. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +539 -345
  315. package/src/theme/components/badge.ts +15 -0
  316. package/src/theme/components/button.ts +17 -1
  317. package/src/theme/components/calendar.ts +2 -0
  318. package/src/theme/components/cardCarousel.ts +1 -8
  319. package/src/theme/components/carousel.ts +15 -1
  320. package/src/theme/components/checkbox.ts +5 -2
  321. package/src/theme/components/chip.ts +47 -0
  322. package/src/theme/components/empty.ts +12 -0
  323. package/src/theme/components/error.ts +16 -0
  324. package/src/theme/components/fab.ts +17 -11
  325. package/src/theme/components/list.ts +9 -5
  326. package/src/theme/components/pinInput.ts +15 -0
  327. package/src/theme/components/progress.ts +2 -2
  328. package/src/theme/components/radio.ts +8 -2
  329. package/src/theme/components/rate.ts +16 -0
  330. package/src/theme/components/sectionHeading.ts +2 -1
  331. package/src/theme/components/success.ts +12 -0
  332. package/src/theme/components/swipeable.ts +10 -1
  333. package/src/theme/components/switch.ts +4 -4
  334. package/src/theme/components/tabs.ts +3 -2
  335. package/src/theme/components/tag.ts +18 -2
  336. package/src/theme/components/textInput.ts +4 -4
  337. package/src/theme/components/toast.ts +5 -5
  338. package/src/theme/components/typography.ts +132 -1
  339. package/src/theme/getTheme.ts +24 -18
  340. package/src/theme/global/colors/__tests__/__snapshots__/eBens.spec.ts.snap +8 -8
  341. package/src/theme/global/colors/__tests__/__snapshots__/global.spec.ts.snap +6 -6
  342. package/src/theme/global/colors/__tests__/__snapshots__/globalDark.spec.ts.snap +1 -1
  343. package/src/theme/global/colors/__tests__/__snapshots__/jobs.spec.ts.snap +7 -7
  344. package/src/theme/global/colors/__tests__/__snapshots__/swag.spec.ts.snap +7 -7
  345. package/src/theme/global/colors/__tests__/__snapshots__/swagDark.spec.ts.snap +1 -1
  346. package/src/theme/global/colors/__tests__/__snapshots__/wallet.spec.ts.snap +8 -8
  347. package/src/theme/global/colors/__tests__/__snapshots__/work.spec.ts.snap +10 -10
  348. package/src/theme/global/colors/eBens.ts +2 -2
  349. package/src/theme/global/colors/global.ts +5 -5
  350. package/src/theme/global/colors/jobs.ts +1 -1
  351. package/src/theme/global/colors/swag.ts +1 -1
  352. package/src/theme/global/colors/wallet.ts +2 -2
  353. package/src/theme/global/colors/work.ts +4 -4
  354. package/src/theme/global/index.ts +3 -0
  355. package/src/theme/global/shadows.ts +19 -0
  356. package/src/theme/global/space.ts +2 -0
  357. package/src/types.ts +4 -0
  358. package/src/utils/helpers.ts +4 -1
  359. package/testUtils/setup.tsx +32 -2
  360. package/tsconfig.json +14 -3
  361. package/types/components/Accordion/AccordionItem.d.ts +2 -1
  362. package/types/components/Accordion/StyledAccordion.d.ts +5 -6
  363. package/types/components/Accordion/index.d.ts +1 -1
  364. package/types/components/Alert/StyledAlert.d.ts +5 -6
  365. package/types/components/Alert/index.d.ts +18 -2
  366. package/types/components/AnimatedScroller/AnimatedFAB.d.ts +12 -0
  367. package/types/components/AnimatedScroller/AnimatedScrollable.d.ts +16 -0
  368. package/types/components/AnimatedScroller/FlatListWithFAB.d.ts +12 -0
  369. package/types/components/AnimatedScroller/ScrollViewWithFAB.d.ts +12 -0
  370. package/types/components/AnimatedScroller/SectionListWithFAB.d.ts +12 -0
  371. package/types/components/AnimatedScroller/index.d.ts +4 -0
  372. package/types/components/Attachment/StyledAttachment.d.ts +4 -5
  373. package/types/components/Attachment/index.d.ts +2 -1
  374. package/types/components/Avatar/Avatar.d.ts +2 -1
  375. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +15 -3
  376. package/types/components/Avatar/AvatarStack/index.d.ts +14 -2
  377. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  378. package/types/components/Avatar/StyledAvatar.d.ts +4 -5
  379. package/types/components/Avatar/index.d.ts +2 -2
  380. package/types/components/Badge/Status.d.ts +0 -0
  381. package/types/components/Badge/StyledBadge.d.ts +4 -9
  382. package/types/components/Badge/index.d.ts +0 -0
  383. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +8 -9
  384. package/types/components/BottomNavigation/index.d.ts +0 -0
  385. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -1
  386. package/types/components/BottomSheet/Footer.d.ts +2 -1
  387. package/types/components/BottomSheet/Header.d.ts +2 -1
  388. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  389. package/types/components/BottomSheet/StyledBottomSheet.d.ts +8 -13
  390. package/types/components/BottomSheet/index.d.ts +0 -0
  391. package/types/components/Box/StyledBox.d.ts +1 -2
  392. package/types/components/Box/config.d.ts +0 -0
  393. package/types/components/Box/index.d.ts +2 -1
  394. package/types/components/Box/types.d.ts +0 -1
  395. package/types/components/Button/Button.d.ts +3 -3
  396. package/types/components/Button/IconButton.d.ts +2 -1
  397. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +5 -6
  398. package/types/components/Button/LoadingIndicator/index.d.ts +2 -1
  399. package/types/components/Button/StyledButton.d.ts +16 -10
  400. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +4 -5
  401. package/types/components/Button/UtilityButton/index.d.ts +2 -1
  402. package/types/components/Button/index.d.ts +0 -0
  403. package/types/components/Calendar/CalendarRowItem.d.ts +2 -1
  404. package/types/components/Calendar/StyledCalendar.d.ts +8 -9
  405. package/types/components/Calendar/helpers.d.ts +0 -0
  406. package/types/components/Calendar/index.d.ts +15 -1
  407. package/types/components/Card/DataCard/StyledDataCard.d.ts +2 -3
  408. package/types/components/Card/DataCard/index.d.ts +0 -0
  409. package/types/components/Card/StyledCard.d.ts +1 -2
  410. package/types/components/Card/index.d.ts +0 -0
  411. package/types/components/Carousel/CardCarousel.d.ts +2 -1
  412. package/types/components/Carousel/CarouselItem.d.ts +2 -1
  413. package/types/components/Carousel/StyledCardCarousel.d.ts +5 -12
  414. package/types/components/Carousel/StyledCarousel.d.ts +13 -14
  415. package/types/components/Carousel/contants.d.ts +0 -0
  416. package/types/components/Carousel/index.d.ts +2 -2
  417. package/types/components/Carousel/types.d.ts +4 -4
  418. package/types/components/Checkbox/StyledCheckbox.d.ts +12 -10
  419. package/types/components/Checkbox/index.d.ts +12 -1
  420. package/types/components/Chip/StyledChip.d.ts +30 -0
  421. package/types/components/Chip/index.d.ts +27 -0
  422. package/types/components/Collapse/StyledCollapse.d.ts +3 -6
  423. package/types/components/Collapse/index.d.ts +2 -1
  424. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +2 -7
  425. package/types/components/ContentNavigator/index.d.ts +2 -1
  426. package/types/components/DatePicker/DatePickerAndroid.d.ts +2 -1
  427. package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -1
  428. package/types/components/DatePicker/DatePickerIOS.d.ts +2 -2
  429. package/types/components/DatePicker/StyledDatePicker.d.ts +1 -2
  430. package/types/components/DatePicker/index.d.ts +2 -1
  431. package/types/components/DatePicker/types.d.ts +8 -0
  432. package/types/components/DatePicker/useCalculateDate.d.ts +4 -0
  433. package/types/components/Divider/StyledDivider.d.ts +1 -2
  434. package/types/components/Divider/index.d.ts +2 -1
  435. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  436. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  437. package/types/components/Drawer/StyledDrawer.d.ts +7 -14
  438. package/types/components/Drawer/index.d.ts +0 -0
  439. package/types/components/Empty/StyledEmpty.d.ts +5 -6
  440. package/types/components/Empty/index.d.ts +0 -0
  441. package/types/components/Error/StyledError.d.ts +15 -22
  442. package/types/components/Error/index.d.ts +0 -0
  443. package/types/components/FAB/ActionGroup/ActionItem.d.ts +7 -2
  444. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +13 -17
  445. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +4 -5
  446. package/types/components/FAB/ActionGroup/index.d.ts +12 -1
  447. package/types/components/FAB/AnimatedFABIcon.d.ts +2 -1
  448. package/types/components/FAB/FAB.d.ts +8 -2
  449. package/types/components/FAB/StyledFAB.d.ts +11 -12
  450. package/types/components/FAB/index.d.ts +2 -2
  451. package/types/components/HeroDesignProvider/index.d.ts +4 -0
  452. package/types/components/Icon/AnimatedIcon.d.ts +2 -1
  453. package/types/components/Icon/HeroIcon/index.d.ts +1 -2
  454. package/types/components/Icon/IconList.d.ts +1 -1
  455. package/types/components/Icon/index.d.ts +3 -2
  456. package/types/components/Icon/utils.d.ts +1 -1
  457. package/types/components/Image/index.d.ts +0 -0
  458. package/types/components/List/BasicListItem.d.ts +0 -0
  459. package/types/components/List/ListItem.d.ts +0 -0
  460. package/types/components/List/StyledBasicListItem.d.ts +4 -5
  461. package/types/components/List/StyledListItem.d.ts +7 -8
  462. package/types/components/List/index.d.ts +0 -0
  463. package/types/components/Modal/index.d.ts +37 -0
  464. package/types/components/PageControl/StyledPageControl.d.ts +2 -5
  465. package/types/components/PageControl/index.d.ts +2 -1
  466. package/types/components/PinInput/PinCell.d.ts +2 -1
  467. package/types/components/PinInput/StyledPinInput.d.ts +12 -13
  468. package/types/components/PinInput/index.d.ts +0 -0
  469. package/types/components/Portal/PortalHost.d.ts +5 -0
  470. package/types/components/Portal/PortalProvider.d.ts +7 -0
  471. package/types/components/Portal/constants.d.ts +8 -0
  472. package/types/components/Portal/contexts.d.ts +9 -0
  473. package/types/components/Portal/index.d.ts +18 -0
  474. package/types/components/Portal/reducer.d.ts +5 -0
  475. package/types/components/Portal/types.d.ts +22 -0
  476. package/types/components/Portal/usePortal.d.ts +8 -0
  477. package/types/components/Portal/usePortalState.d.ts +1 -0
  478. package/types/components/Progress/ProgressBar.d.ts +0 -0
  479. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  480. package/types/components/Progress/StyledProgressBar.d.ts +2 -5
  481. package/types/components/Progress/StyledProgressCircle.d.ts +6 -7
  482. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  483. package/types/components/Progress/constants.d.ts +0 -0
  484. package/types/components/Progress/index.d.ts +0 -0
  485. package/types/components/Progress/types.d.ts +0 -0
  486. package/types/components/Radio/Radio.d.ts +15 -3
  487. package/types/components/Radio/RadioGroup.d.ts +5 -1
  488. package/types/components/Radio/StyledRadio.d.ts +14 -5
  489. package/types/components/Radio/index.d.ts +1 -2
  490. package/types/components/Radio/types.d.ts +3 -0
  491. package/types/components/Rate/StyledRate.d.ts +10 -0
  492. package/types/components/Rate/index.d.ts +29 -0
  493. package/types/components/RefreshControl/index.d.ts +2 -1
  494. package/types/components/RichTextEditor/EditorEvent.d.ts +1 -0
  495. package/types/components/RichTextEditor/EditorToolbar.d.ts +2 -1
  496. package/types/components/RichTextEditor/MentionList.d.ts +2 -1
  497. package/types/components/RichTextEditor/RichTextEditor.d.ts +2 -2
  498. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +2 -3
  499. package/types/components/RichTextEditor/StyledToolbar.d.ts +3 -4
  500. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  501. package/types/components/RichTextEditor/constants.d.ts +0 -0
  502. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  503. package/types/components/RichTextEditor/index.d.ts +2 -3
  504. package/types/components/RichTextEditor/types.d.ts +0 -0
  505. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  506. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  507. package/types/components/SectionHeading/StyledHeading.d.ts +7 -5
  508. package/types/components/SectionHeading/index.d.ts +7 -1
  509. package/types/components/Select/BaseOptionList.d.ts +1 -1
  510. package/types/components/Select/Footer.d.ts +2 -1
  511. package/types/components/Select/MultiSelect/Option.d.ts +2 -1
  512. package/types/components/Select/MultiSelect/OptionList.d.ts +2 -1
  513. package/types/components/Select/MultiSelect/index.d.ts +1 -1
  514. package/types/components/Select/SingleSelect/Option.d.ts +2 -1
  515. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  516. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +1 -1
  517. package/types/components/Select/SingleSelect/index.d.ts +1 -1
  518. package/types/components/Select/StyledSelect.d.ts +3 -4
  519. package/types/components/Select/helpers.d.ts +1 -2
  520. package/types/components/Select/index.d.ts +1 -1
  521. package/types/components/Select/types.d.ts +0 -0
  522. package/types/components/Skeleton/StyledSkeleton.d.ts +2 -3
  523. package/types/components/Skeleton/index.d.ts +2 -1
  524. package/types/components/Slider/index.d.ts +2 -1
  525. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
  526. package/types/components/Spinner/StyledSpinner.d.ts +4 -5
  527. package/types/components/Spinner/index.d.ts +0 -0
  528. package/types/components/Success/StyledSuccess.d.ts +14 -19
  529. package/types/components/Success/index.d.ts +1 -1
  530. package/types/components/Swipeable/StyledSwipeable.d.ts +1 -2
  531. package/types/components/Swipeable/SwipeableAction.d.ts +2 -2
  532. package/types/components/Swipeable/index.d.ts +8 -4
  533. package/types/components/Switch/SelectorSwitch/Option.d.ts +2 -1
  534. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +4 -11
  535. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  536. package/types/components/Switch/StyledSwitch.d.ts +2 -5
  537. package/types/components/Switch/index.d.ts +0 -0
  538. package/types/components/Tabs/ActiveTabIndicator.d.ts +2 -1
  539. package/types/components/Tabs/SceneView.d.ts +1 -1
  540. package/types/components/Tabs/ScrollableTabs.d.ts +5 -1
  541. package/types/components/Tabs/{ScrollableTabsHeader.d.ts → ScrollableTabsHeader/ScrollableTabsHeader.d.ts} +8 -3
  542. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +9 -0
  543. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +10 -0
  544. package/types/components/Tabs/StyledScrollableTabs.d.ts +12 -20
  545. package/types/components/Tabs/StyledTabs.d.ts +8 -18
  546. package/types/components/Tabs/TabWithBadge.d.ts +2 -2
  547. package/types/components/Tabs/index.d.ts +2 -1
  548. package/types/components/Tabs/useIsFocused.d.ts +0 -0
  549. package/types/components/Tabs/utils.d.ts +0 -0
  550. package/types/components/Tag/StyledTag.d.ts +4 -8
  551. package/types/components/Tag/index.d.ts +1 -0
  552. package/types/components/TextInput/StyledTextInput.d.ts +22 -46
  553. package/types/components/TextInput/index.d.ts +31 -2
  554. package/types/components/TimePicker/StyledTimePicker.d.ts +1 -2
  555. package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -1
  556. package/types/components/TimePicker/TimePickerIOS.d.ts +2 -1
  557. package/types/components/TimePicker/index.d.ts +2 -1
  558. package/types/components/TimePicker/types.d.ts +0 -0
  559. package/types/components/Toast/StyledToast.d.ts +6 -9
  560. package/types/components/Toast/Toast.d.ts +0 -0
  561. package/types/components/Toast/ToastContainer.d.ts +0 -0
  562. package/types/components/Toast/ToastContext.d.ts +1 -1
  563. package/types/components/Toast/ToastProvider.d.ts +2 -1
  564. package/types/components/Toast/index.d.ts +1 -2
  565. package/types/components/Toast/types.d.ts +0 -0
  566. package/types/components/Toolbar/StyledToolbar.d.ts +6 -7
  567. package/types/components/Toolbar/ToolbarGroup.d.ts +2 -1
  568. package/types/components/Toolbar/ToolbarItem.d.ts +2 -1
  569. package/types/components/Toolbar/index.d.ts +3 -2
  570. package/types/components/Typography/Body/StyledBody.d.ts +14 -0
  571. package/types/components/Typography/Body/__tests__/StyledBody.d.ts +1 -0
  572. package/types/components/Typography/Body/index.d.ts +33 -0
  573. package/types/components/Typography/Caption/StyledCaption.d.ts +12 -0
  574. package/types/components/Typography/Caption/index.d.ts +27 -0
  575. package/types/components/Typography/Label/StyledLabel.d.ts +11 -0
  576. package/types/components/Typography/Label/__tests__/StyledLabel.d.ts +1 -0
  577. package/types/components/Typography/Label/index.d.ts +23 -0
  578. package/types/components/Typography/Text/StyledText.d.ts +1 -2
  579. package/types/components/Typography/Text/index.d.ts +2 -1
  580. package/types/components/Typography/Title/StyledTitle.d.ts +14 -0
  581. package/types/components/Typography/Title/__tests__/StyledTitle.d.ts +1 -0
  582. package/types/components/Typography/Title/index.d.ts +33 -0
  583. package/types/components/Typography/index.d.ts +11 -0
  584. package/types/components/Typography/types.d.ts +6 -0
  585. package/types/index.d.ts +6 -1
  586. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  587. package/types/theme/ThemeProvider.d.ts +0 -1
  588. package/types/theme/ThemeSwitcher.d.ts +2 -2
  589. package/types/theme/components/accordion.d.ts +0 -0
  590. package/types/theme/components/alert.d.ts +0 -0
  591. package/types/theme/components/attachment.d.ts +0 -0
  592. package/types/theme/components/avatar.d.ts +0 -0
  593. package/types/theme/components/badge.d.ts +15 -0
  594. package/types/theme/components/bottomNavigation.d.ts +0 -0
  595. package/types/theme/components/bottomSheet.d.ts +0 -0
  596. package/types/theme/components/button.d.ts +14 -0
  597. package/types/theme/components/calendar.d.ts +2 -0
  598. package/types/theme/components/card.d.ts +0 -0
  599. package/types/theme/components/cardCarousel.d.ts +0 -10
  600. package/types/theme/components/carousel.d.ts +15 -1
  601. package/types/theme/components/checkbox.d.ts +5 -2
  602. package/types/theme/components/chip.d.ts +40 -0
  603. package/types/theme/components/contentNavigator.d.ts +0 -0
  604. package/types/theme/components/datePicker.d.ts +0 -0
  605. package/types/theme/components/divider.d.ts +0 -0
  606. package/types/theme/components/drawer.d.ts +0 -0
  607. package/types/theme/components/empty.d.ts +11 -0
  608. package/types/theme/components/error.d.ts +15 -0
  609. package/types/theme/components/fab.d.ts +13 -7
  610. package/types/theme/components/icon.d.ts +0 -0
  611. package/types/theme/components/image.d.ts +0 -0
  612. package/types/theme/components/list.d.ts +11 -7
  613. package/types/theme/components/pageControl.d.ts +0 -0
  614. package/types/theme/components/pinInput.d.ts +15 -0
  615. package/types/theme/components/progress.d.ts +0 -0
  616. package/types/theme/components/radio.d.ts +7 -1
  617. package/types/theme/components/rate.d.ts +11 -0
  618. package/types/theme/components/refreshControl.d.ts +0 -0
  619. package/types/theme/components/richTextEditor.d.ts +0 -0
  620. package/types/theme/components/sectionHeading.d.ts +1 -0
  621. package/types/theme/components/select.d.ts +0 -0
  622. package/types/theme/components/skeleton.d.ts +0 -0
  623. package/types/theme/components/slider.d.ts +0 -0
  624. package/types/theme/components/spinner.d.ts +0 -0
  625. package/types/theme/components/success.d.ts +11 -0
  626. package/types/theme/components/swipeable.d.ts +7 -0
  627. package/types/theme/components/switch.d.ts +1 -1
  628. package/types/theme/components/tabs.d.ts +1 -0
  629. package/types/theme/components/tag.d.ts +16 -1
  630. package/types/theme/components/textInput.d.ts +2 -2
  631. package/types/theme/components/timePicker.d.ts +0 -0
  632. package/types/theme/components/toast.d.ts +1 -1
  633. package/types/theme/components/toolbar.d.ts +0 -0
  634. package/types/theme/components/typography.d.ts +122 -0
  635. package/types/theme/getTheme.d.ts +22 -18
  636. package/types/theme/global/borders.d.ts +0 -0
  637. package/types/theme/global/colors/eBens.d.ts +0 -0
  638. package/types/theme/global/colors/global.d.ts +0 -0
  639. package/types/theme/global/colors/globalDark.d.ts +0 -0
  640. package/types/theme/global/colors/jobs.d.ts +0 -0
  641. package/types/theme/global/colors/swag.d.ts +0 -0
  642. package/types/theme/global/colors/swagDark.d.ts +0 -0
  643. package/types/theme/global/colors/types.d.ts +0 -0
  644. package/types/theme/global/colors/wallet.d.ts +0 -0
  645. package/types/theme/global/colors/work.d.ts +0 -0
  646. package/types/theme/global/index.d.ts +12 -0
  647. package/types/theme/global/scale.d.ts +0 -0
  648. package/types/theme/global/shadows.d.ts +16 -0
  649. package/types/theme/global/sizes.d.ts +0 -0
  650. package/types/theme/global/space.d.ts +1 -0
  651. package/types/theme/global/typography.d.ts +0 -0
  652. package/types/theme/index.d.ts +0 -0
  653. package/types/types.d.ts +3 -1
  654. package/types/utils/functions.d.ts +0 -0
  655. package/types/utils/helpers.d.ts +1 -1
  656. package/types/utils/hooks.d.ts +0 -0
  657. package/types/utils/scale.d.ts +0 -0
  658. package/.turbo/turbo-build.log +0 -8
  659. package/.turbo/turbo-build:types.log +0 -1
  660. package/.turbo/turbo-lint.log +0 -153
  661. package/.turbo/turbo-publish:npm.log +0 -0
  662. package/.turbo/turbo-type-check.log +0 -1
  663. package/types/components/Carousel/CarouselPaginator/StyledCarouselPaginator.d.ts +0 -14
  664. package/types/components/Carousel/CarouselPaginator/index.d.ts +0 -7
  665. package/types/components/Select/StyledOptionList.d.ts +0 -12
  666. package/types/components/SwipeableV2/StyledSwipeable.d.ts +0 -15
  667. package/types/components/SwipeableV2/index.d.ts +0 -46
  668. package/types/theme/global/colors/legacySystemPalette.d.ts +0 -3
@@ -1,2485 +1,2761 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`Tabs.Scroll lazy not render lazy screen: xxx 1`] = `
4
- <RNCSafeAreaProvider
5
- onInsetsChange={[Function]}
4
+ <View
6
5
  style={
7
- Array [
8
- Object {
9
- "flex": 1,
10
- },
11
- undefined,
12
- ]
6
+ {
7
+ "flex": 1,
8
+ }
13
9
  }
14
10
  >
15
- <View
16
- accessible={true}
17
- collapsable={false}
18
- focusable={true}
19
- onClick={[Function]}
20
- onResponderGrant={[Function]}
21
- onResponderMove={[Function]}
22
- onResponderRelease={[Function]}
23
- onResponderTerminate={[Function]}
24
- onResponderTerminationRequest={[Function]}
25
- onStartShouldSetResponder={[Function]}
11
+ <RNCSafeAreaProvider
12
+ onInsetsChange={[Function]}
26
13
  style={
27
- Object {
28
- "alignItems": "center",
29
- "backgroundColor": "#f6f6f7",
30
- "borderRadius": 8,
31
- "flexDirection": "row",
32
- "justifyContent": "center",
33
- "opacity": 1,
34
- "padding": 8,
35
- "width": "100%",
36
- }
14
+ [
15
+ {
16
+ "flex": 1,
17
+ },
18
+ undefined,
19
+ ]
37
20
  }
38
21
  >
39
22
  <View
23
+ accessibilityState={
24
+ {
25
+ "busy": undefined,
26
+ "checked": undefined,
27
+ "disabled": undefined,
28
+ "expanded": undefined,
29
+ "selected": undefined,
30
+ }
31
+ }
32
+ accessibilityValue={
33
+ {
34
+ "max": undefined,
35
+ "min": undefined,
36
+ "now": undefined,
37
+ "text": undefined,
38
+ }
39
+ }
40
+ accessible={true}
41
+ collapsable={false}
42
+ focusable={true}
43
+ onClick={[Function]}
44
+ onResponderGrant={[Function]}
45
+ onResponderMove={[Function]}
46
+ onResponderRelease={[Function]}
47
+ onResponderTerminate={[Function]}
48
+ onResponderTerminationRequest={[Function]}
49
+ onStartShouldSetResponder={[Function]}
40
50
  style={
41
- Array [
42
- Object {
43
- "paddingRight": 12,
44
- },
45
- undefined,
46
- ]
51
+ {
52
+ "alignItems": "center",
53
+ "backgroundColor": "#ffffff",
54
+ "borderRadius": 8,
55
+ "flexDirection": "row",
56
+ "justifyContent": "center",
57
+ "opacity": 1,
58
+ "padding": 8,
59
+ "width": "100%",
60
+ }
47
61
  }
48
62
  >
49
- <HeroIcon
50
- name="sync"
63
+ <View
51
64
  style={
52
- Array [
53
- Object {
54
- "color": "#001f23",
55
- "fontSize": 24,
65
+ [
66
+ {
67
+ "paddingRight": 12,
56
68
  },
57
69
  undefined,
58
70
  ]
59
71
  }
60
- testID="undefined-icon"
61
- themeIntent="text"
62
- themeSize="medium"
63
- />
64
- </View>
65
- <Text
66
- allowFontScaling={false}
67
- style={
68
- Array [
69
- Object {
70
- "color": "#001f23",
71
- "fontFamily": "BeVietnamPro-Regular",
72
- "fontSize": 14,
73
- "letterSpacing": 0.42,
74
- "lineHeight": 22,
75
- },
76
- Array [
77
- Object {
78
- "flexShrink": 1,
72
+ >
73
+ <HeroIcon
74
+ name="sync"
75
+ style={
76
+ [
77
+ {
78
+ "color": "#001f23",
79
+ "fontSize": 24,
80
+ },
81
+ undefined,
82
+ ]
83
+ }
84
+ testID="undefined-icon"
85
+ themeIntent="text"
86
+ themeSize="medium"
87
+ />
88
+ </View>
89
+ <Text
90
+ allowFontScaling={false}
91
+ style={
92
+ [
93
+ {
94
+ "color": "#001f23",
79
95
  "fontFamily": "BeVietnamPro-Regular",
80
96
  "fontSize": 16,
81
- "textAlign": "center",
97
+ "letterSpacing": 0.48,
98
+ "lineHeight": 24,
82
99
  },
83
- undefined,
84
- ],
85
- ]
86
- }
87
- themeFontSize="medium"
88
- themeFontWeight="regular"
89
- themeIntent="body"
90
- themeTypeface="neutral"
91
- >
92
- Move to Work
93
- </Text>
94
- </View>
95
- <View
96
- style={
97
- Array [
98
- Object {
99
- "flex": 1,
100
- "overflow": "hidden",
101
- },
102
- undefined,
103
- ]
104
- }
105
- >
100
+ [
101
+ {
102
+ "flexShrink": 1,
103
+ "textAlign": "center",
104
+ },
105
+ undefined,
106
+ ],
107
+ ]
108
+ }
109
+ themeIntent="body"
110
+ themeTypeface="neutral"
111
+ themeVariant="regular"
112
+ >
113
+ Move to Work
114
+ </Text>
115
+ </View>
106
116
  <View
107
117
  style={
108
- Array [
109
- Object {
110
- "borderBottomColor": "#e8e9ea",
111
- "borderBottomWidth": 1,
112
- "paddingHorizontal": 0,
118
+ [
119
+ {
120
+ "flex": 1,
121
+ "overflow": "hidden",
113
122
  },
114
123
  undefined,
115
124
  ]
116
125
  }
117
- themeInsets={
118
- Object {
119
- "bottom": 0,
120
- "left": 0,
121
- "right": 0,
122
- "top": 0,
123
- }
124
- }
125
126
  >
126
- <RCTScrollView
127
- contentContainerStyle={
128
- Object {
129
- "paddingHorizontal": 8,
130
- }
131
- }
132
- data={
133
- Array [
134
- Object {
135
- "activeItem": "Work",
136
- "component": <CustomScreen
137
- title="Work Screen"
138
- />,
139
- "key": "work",
140
- },
141
- Object {
142
- "activeItem": "speaker",
143
- "component": <CustomScreen
144
- title="Personal Screen"
145
- />,
146
- "inactiveItem": "speaker-outlined",
147
- "key": "personal",
148
- },
149
- Object {
150
- "activeItem": "home",
151
- "badge": Object {
152
- "type": "status",
153
- },
154
- "component": <CustomScreen
155
- title="Home Screen"
156
- />,
157
- "inactiveItem": "home-outlined",
158
- "key": "home",
159
- },
160
- Object {
161
- "activeItem": "calendar",
162
- "badge": Object {
163
- "type": "counter",
164
- "value": 50,
165
- },
166
- "component": <CustomScreen
167
- title="Calendar Screen"
168
- />,
169
- "inactiveItem": "calendar-dates-outlined",
170
- "key": "calendar",
127
+ <View
128
+ style={
129
+ [
130
+ {
131
+ "paddingHorizontal": 0,
171
132
  },
133
+ undefined,
172
134
  ]
173
135
  }
174
- getItem={[Function]}
175
- getItemCount={[Function]}
176
- horizontal={true}
177
- keyExtractor={[Function]}
178
- onContentSizeChange={[Function]}
179
- onLayout={[Function]}
180
- onMomentumScrollBegin={[Function]}
181
- onMomentumScrollEnd={[Function]}
182
- onScroll={[Function]}
183
- onScrollBeginDrag={[Function]}
184
- onScrollEndDrag={[Function]}
185
- onScrollToIndexFailed={[Function]}
186
- removeClippedSubviews={false}
187
- renderItem={[Function]}
188
- scrollEventThrottle={50}
189
- showsHorizontalScrollIndicator={false}
190
- stickyHeaderIndices={Array []}
191
- viewabilityConfigCallbackPairs={Array []}
136
+ themeInsets={
137
+ {
138
+ "bottom": 0,
139
+ "left": 0,
140
+ "right": 0,
141
+ "top": 0,
142
+ }
143
+ }
192
144
  >
193
- <View>
194
- <View
195
- onLayout={[Function]}
196
- style={
197
- Array [
198
- Object {
199
- "flexDirection": "row",
145
+ <RCTScrollView
146
+ contentContainerStyle={
147
+ {
148
+ "paddingHorizontal": 8,
149
+ }
150
+ }
151
+ data={
152
+ [
153
+ {
154
+ "activeItem": "Work",
155
+ "component": <CustomScreen
156
+ title="Work Screen"
157
+ />,
158
+ "key": "work",
159
+ },
160
+ {
161
+ "activeItem": "speaker",
162
+ "component": <CustomScreen
163
+ title="Personal Screen"
164
+ />,
165
+ "inactiveItem": "speaker-outlined",
166
+ "key": "personal",
167
+ },
168
+ {
169
+ "activeItem": "home",
170
+ "badge": {
171
+ "type": "status",
200
172
  },
201
- null,
202
- ]
173
+ "component": <CustomScreen
174
+ title="Home Screen"
175
+ />,
176
+ "inactiveItem": "home-outlined",
177
+ "key": "home",
178
+ },
179
+ {
180
+ "activeItem": "calendar",
181
+ "badge": {
182
+ "type": "counter",
183
+ "value": 50,
184
+ },
185
+ "component": <CustomScreen
186
+ title="Calendar Screen"
187
+ />,
188
+ "inactiveItem": "calendar-dates-outlined",
189
+ "key": "calendar",
190
+ },
191
+ ]
192
+ }
193
+ getItem={[Function]}
194
+ getItemCount={[Function]}
195
+ horizontal={true}
196
+ keyExtractor={[Function]}
197
+ onContentSizeChange={[Function]}
198
+ onLayout={[Function]}
199
+ onMomentumScrollBegin={[Function]}
200
+ onMomentumScrollEnd={[Function]}
201
+ onScroll={[Function]}
202
+ onScrollBeginDrag={[Function]}
203
+ onScrollEndDrag={[Function]}
204
+ onScrollToIndexFailed={[Function]}
205
+ removeClippedSubviews={false}
206
+ renderItem={[Function]}
207
+ scrollEventThrottle={50}
208
+ showsHorizontalScrollIndicator={false}
209
+ stickyHeaderIndices={[]}
210
+ style={
211
+ {
212
+ "borderBottomColor": "#e8e9ea",
213
+ "borderBottomWidth": 2,
203
214
  }
204
- >
215
+ }
216
+ viewabilityConfigCallbackPairs={[]}
217
+ >
218
+ <View>
205
219
  <View
206
- accessible={true}
207
- collapsable={false}
208
- focusable={true}
209
- isFirstItem={true}
210
- onClick={[Function]}
211
- onResponderGrant={[Function]}
212
- onResponderMove={[Function]}
213
- onResponderRelease={[Function]}
214
- onResponderTerminate={[Function]}
215
- onResponderTerminationRequest={[Function]}
216
- onStartShouldSetResponder={[Function]}
220
+ onFocusCapture={[Function]}
221
+ onLayout={[Function]}
217
222
  style={
218
- Object {
219
- "marginLeft": 0,
220
- "paddingVertical": 8,
221
- }
223
+ [
224
+ {
225
+ "flexDirection": "row",
226
+ },
227
+ null,
228
+ ]
222
229
  }
223
230
  >
224
231
  <View
232
+ accessibilityState={
233
+ {
234
+ "busy": undefined,
235
+ "checked": undefined,
236
+ "disabled": undefined,
237
+ "expanded": undefined,
238
+ "selected": undefined,
239
+ }
240
+ }
241
+ accessible={true}
242
+ collapsable={false}
243
+ focusable={true}
244
+ isFirstItem={true}
245
+ onClick={[Function]}
246
+ onResponderGrant={[Function]}
247
+ onResponderMove={[Function]}
248
+ onResponderRelease={[Function]}
249
+ onResponderTerminate={[Function]}
250
+ onResponderTerminationRequest={[Function]}
251
+ onStartShouldSetResponder={[Function]}
225
252
  style={
226
- Array [
227
- Object {
228
- "bottom": 0,
229
- "left": 0,
230
- "paddingVertical": 8,
231
- "position": "absolute",
232
- "right": 0,
233
- "top": 0,
234
- },
235
- undefined,
236
- ]
253
+ {
254
+ "marginLeft": 0,
255
+ "paddingVertical": 8,
256
+ }
237
257
  }
238
258
  >
239
259
  <View
240
- collapsable={false}
241
260
  style={
242
- Object {
243
- "backgroundColor": "#ccd2d3",
244
- "borderRadius": 8,
245
- "flex": 1,
246
- "transform": Array [
247
- Object {
248
- "scaleX": 1,
249
- },
250
- ],
251
- }
261
+ [
262
+ {
263
+ "bottom": 0,
264
+ "left": 0,
265
+ "paddingVertical": 8,
266
+ "position": "absolute",
267
+ "right": 0,
268
+ "top": 0,
269
+ },
270
+ undefined,
271
+ ]
252
272
  }
253
- themeActive={true}
254
- />
255
- </View>
256
- <View
257
- style={
258
- Array [
259
- Object {
260
- "paddingHorizontal": 8,
261
- "paddingVertical": 4,
262
- },
263
- undefined,
264
- ]
265
- }
266
- >
267
- <View>
268
- <Text
269
- allowFontScaling={false}
270
- numberOfLines={1}
273
+ >
274
+ <View
275
+ collapsable={false}
271
276
  style={
272
- Array [
273
- Object {
274
- "color": "#001f23",
275
- "fontFamily": "BeVietnamPro-SemiBold",
276
- "fontSize": 14,
277
- "letterSpacing": 0.42,
278
- "lineHeight": 22,
279
- },
280
- Object {
281
- "color": "#001f23",
282
- },
283
- ]
277
+ {
278
+ "backgroundColor": "#ccd2d3",
279
+ "borderRadius": 16,
280
+ "flex": 1,
281
+ "transform": [
282
+ {
283
+ "scaleX": 1,
284
+ },
285
+ ],
286
+ }
284
287
  }
285
- themeFontSize="medium"
286
- themeFontWeight="semi-bold"
287
- themeIntent="body"
288
- themeTypeface="neutral"
289
- >
290
- Work
291
- </Text>
288
+ themeActive={true}
289
+ />
292
290
  </View>
293
- </View>
294
- </View>
295
- </View>
296
- <View
297
- onLayout={[Function]}
298
- style={
299
- Array [
300
- Object {
301
- "flexDirection": "row",
302
- },
303
- null,
304
- ]
305
- }
306
- >
307
- <View
308
- accessible={true}
309
- collapsable={false}
310
- focusable={true}
311
- isFirstItem={false}
312
- onClick={[Function]}
313
- onResponderGrant={[Function]}
314
- onResponderMove={[Function]}
315
- onResponderRelease={[Function]}
316
- onResponderTerminate={[Function]}
317
- onResponderTerminationRequest={[Function]}
318
- onStartShouldSetResponder={[Function]}
319
- style={
320
- Object {
321
- "marginLeft": 12,
322
- "paddingVertical": 8,
323
- }
324
- }
325
- >
326
- <View
327
- style={
328
- Array [
329
- Object {
330
- "bottom": 0,
331
- "left": 0,
332
- "paddingVertical": 8,
333
- "position": "absolute",
334
- "right": 0,
335
- "top": 0,
336
- },
337
- undefined,
338
- ]
339
- }
340
- >
341
291
  <View
342
- collapsable={false}
343
292
  style={
344
- Object {
345
- "backgroundColor": undefined,
346
- "borderRadius": 8,
347
- "flex": 1,
348
- "transform": Array [
349
- Object {
350
- "scaleX": 0,
351
- },
352
- ],
353
- }
293
+ [
294
+ {
295
+ "alignItems": "center",
296
+ "justifyContent": "center",
297
+ "paddingHorizontal": 8,
298
+ "paddingVertical": 4,
299
+ "position": "relative",
300
+ },
301
+ undefined,
302
+ ]
354
303
  }
355
- themeActive={false}
356
- />
357
- </View>
358
- <View
359
- style={
360
- Array [
361
- Object {
362
- "paddingHorizontal": 8,
363
- "paddingVertical": 4,
364
- },
365
- undefined,
366
- ]
367
- }
368
- >
369
- <View>
370
- <HeroIcon
371
- name="speaker-outlined"
372
- style={
373
- Array [
374
- Object {
375
- "color": "#001f23",
376
- "fontSize": 20,
377
- },
378
- Object {
379
- "color": "#001f23",
380
- },
381
- ]
382
- }
383
- testID="hero-icon-speaker-outlined"
384
- themeIntent="text"
385
- themeSize="small"
386
- />
304
+ >
305
+ <View>
306
+ <Text
307
+ allowFontScaling={false}
308
+ numberOfLines={1}
309
+ style={
310
+ [
311
+ {
312
+ "color": "#001f23",
313
+ "fontFamily": "BeVietnamPro-SemiBold",
314
+ "fontSize": 16,
315
+ "letterSpacing": 0.24,
316
+ "lineHeight": 24,
317
+ },
318
+ {
319
+ "color": "#001f23",
320
+ },
321
+ ]
322
+ }
323
+ themeIntent="body"
324
+ themeTypeface="neutral"
325
+ themeVariant="regular-bold"
326
+ >
327
+ Work
328
+ </Text>
329
+ </View>
387
330
  </View>
388
331
  </View>
389
332
  </View>
390
- </View>
391
- <View
392
- onLayout={[Function]}
393
- style={
394
- Array [
395
- Object {
396
- "flexDirection": "row",
397
- },
398
- null,
399
- ]
400
- }
401
- >
402
333
  <View
403
- accessible={true}
404
- collapsable={false}
405
- focusable={true}
406
- isFirstItem={false}
407
- onClick={[Function]}
408
- onResponderGrant={[Function]}
409
- onResponderMove={[Function]}
410
- onResponderRelease={[Function]}
411
- onResponderTerminate={[Function]}
412
- onResponderTerminationRequest={[Function]}
413
- onStartShouldSetResponder={[Function]}
334
+ onFocusCapture={[Function]}
335
+ onLayout={[Function]}
414
336
  style={
415
- Object {
416
- "marginLeft": 12,
417
- "paddingVertical": 8,
418
- }
337
+ [
338
+ {
339
+ "flexDirection": "row",
340
+ },
341
+ null,
342
+ ]
419
343
  }
420
344
  >
421
345
  <View
422
- style={
423
- Array [
424
- Object {
425
- "bottom": 0,
426
- "left": 0,
427
- "paddingVertical": 8,
428
- "position": "absolute",
429
- "right": 0,
430
- "top": 0,
431
- },
432
- undefined,
433
- ]
434
- }
435
- >
436
- <View
437
- collapsable={false}
438
- style={
439
- Object {
440
- "backgroundColor": undefined,
441
- "borderRadius": 8,
442
- "flex": 1,
443
- "transform": Array [
444
- Object {
445
- "scaleX": 0,
446
- },
447
- ],
448
- }
346
+ accessibilityState={
347
+ {
348
+ "busy": undefined,
349
+ "checked": undefined,
350
+ "disabled": undefined,
351
+ "expanded": undefined,
352
+ "selected": undefined,
449
353
  }
450
- themeActive={false}
451
- />
452
- </View>
453
- <View
354
+ }
355
+ accessible={true}
356
+ collapsable={false}
357
+ focusable={true}
358
+ isFirstItem={false}
359
+ onClick={[Function]}
360
+ onResponderGrant={[Function]}
361
+ onResponderMove={[Function]}
362
+ onResponderRelease={[Function]}
363
+ onResponderTerminate={[Function]}
364
+ onResponderTerminationRequest={[Function]}
365
+ onStartShouldSetResponder={[Function]}
454
366
  style={
455
- Array [
456
- Object {
457
- "paddingHorizontal": 8,
458
- "paddingVertical": 4,
459
- },
460
- undefined,
461
- ]
367
+ {
368
+ "marginLeft": 12,
369
+ "paddingVertical": 8,
370
+ }
462
371
  }
463
372
  >
464
373
  <View
465
374
  style={
466
- Object {
467
- "paddingHorizontal": 4,
468
- }
375
+ [
376
+ {
377
+ "bottom": 0,
378
+ "left": 0,
379
+ "paddingVertical": 8,
380
+ "position": "absolute",
381
+ "right": 0,
382
+ "top": 0,
383
+ },
384
+ undefined,
385
+ ]
469
386
  }
470
387
  >
471
- <HeroIcon
472
- name="home-outlined"
473
- style={
474
- Array [
475
- Object {
476
- "color": "#001f23",
477
- "fontSize": 20,
478
- },
479
- Object {
480
- "color": "#001f23",
481
- },
482
- ]
483
- }
484
- testID="hero-icon-home-outlined"
485
- themeIntent="text"
486
- themeSize="small"
487
- />
488
388
  <View
489
389
  collapsable={false}
490
390
  style={
491
- Object {
492
- "backgroundColor": "#de350b",
493
- "borderRadius": 999,
494
- "height": 8,
495
- "opacity": 1,
496
- "position": "absolute",
497
- "right": -2,
498
- "top": -2,
499
- "transform": Array [
500
- Object {
501
- "scale": 1,
391
+ {
392
+ "backgroundColor": undefined,
393
+ "borderRadius": 16,
394
+ "flex": 1,
395
+ "transform": [
396
+ {
397
+ "scaleX": 0,
502
398
  },
503
399
  ],
504
- "width": 8,
505
400
  }
506
401
  }
507
- themeIntent="danger"
402
+ themeActive={false}
508
403
  />
509
404
  </View>
405
+ <View
406
+ style={
407
+ [
408
+ {
409
+ "alignItems": "center",
410
+ "justifyContent": "center",
411
+ "paddingHorizontal": 8,
412
+ "paddingVertical": 4,
413
+ "position": "relative",
414
+ },
415
+ undefined,
416
+ ]
417
+ }
418
+ >
419
+ <View>
420
+ <HeroIcon
421
+ name="speaker-outlined"
422
+ style={
423
+ [
424
+ {
425
+ "color": "#001f23",
426
+ "fontSize": 20,
427
+ },
428
+ {
429
+ "color": "#001f23",
430
+ },
431
+ ]
432
+ }
433
+ testID="hero-icon-speaker-outlined"
434
+ themeIntent="text"
435
+ themeSize="small"
436
+ />
437
+ </View>
438
+ </View>
510
439
  </View>
511
440
  </View>
512
- </View>
513
- <View
514
- onLayout={[Function]}
515
- style={
516
- Array [
517
- Object {
518
- "flexDirection": "row",
519
- },
520
- null,
521
- ]
522
- }
523
- >
524
441
  <View
525
- accessible={true}
526
- collapsable={false}
527
- focusable={true}
528
- isFirstItem={false}
529
- onClick={[Function]}
530
- onResponderGrant={[Function]}
531
- onResponderMove={[Function]}
532
- onResponderRelease={[Function]}
533
- onResponderTerminate={[Function]}
534
- onResponderTerminationRequest={[Function]}
535
- onStartShouldSetResponder={[Function]}
442
+ onFocusCapture={[Function]}
443
+ onLayout={[Function]}
536
444
  style={
537
- Object {
538
- "marginLeft": 12,
539
- "paddingVertical": 8,
540
- }
445
+ [
446
+ {
447
+ "flexDirection": "row",
448
+ },
449
+ null,
450
+ ]
541
451
  }
542
452
  >
543
453
  <View
544
- style={
545
- Array [
546
- Object {
547
- "bottom": 0,
548
- "left": 0,
549
- "paddingVertical": 8,
550
- "position": "absolute",
551
- "right": 0,
552
- "top": 0,
553
- },
554
- undefined,
555
- ]
556
- }
557
- >
558
- <View
559
- collapsable={false}
560
- style={
561
- Object {
562
- "backgroundColor": undefined,
563
- "borderRadius": 8,
564
- "flex": 1,
565
- "transform": Array [
566
- Object {
567
- "scaleX": 0,
568
- },
569
- ],
570
- }
454
+ accessibilityState={
455
+ {
456
+ "busy": undefined,
457
+ "checked": undefined,
458
+ "disabled": undefined,
459
+ "expanded": undefined,
460
+ "selected": undefined,
571
461
  }
572
- themeActive={false}
573
- />
574
- </View>
575
- <View
462
+ }
463
+ accessible={true}
464
+ collapsable={false}
465
+ focusable={true}
466
+ isFirstItem={false}
467
+ onClick={[Function]}
468
+ onResponderGrant={[Function]}
469
+ onResponderMove={[Function]}
470
+ onResponderRelease={[Function]}
471
+ onResponderTerminate={[Function]}
472
+ onResponderTerminationRequest={[Function]}
473
+ onStartShouldSetResponder={[Function]}
576
474
  style={
577
- Array [
578
- Object {
579
- "paddingHorizontal": 8,
580
- "paddingVertical": 4,
581
- },
582
- undefined,
583
- ]
475
+ {
476
+ "marginLeft": 12,
477
+ "paddingVertical": 8,
478
+ }
584
479
  }
585
480
  >
586
481
  <View
587
482
  style={
588
- Array [
589
- Object {
590
- "alignItems": "center",
591
- "flexDirection": "row",
483
+ [
484
+ {
485
+ "bottom": 0,
486
+ "left": 0,
487
+ "paddingVertical": 8,
488
+ "position": "absolute",
489
+ "right": 0,
490
+ "top": 0,
592
491
  },
593
492
  undefined,
594
493
  ]
595
494
  }
596
495
  >
597
- <HeroIcon
598
- name="calendar-dates-outlined"
599
- style={
600
- Array [
601
- Object {
602
- "color": "#001f23",
603
- "fontSize": 20,
604
- },
605
- Object {
606
- "color": "#001f23",
607
- },
608
- ]
609
- }
610
- testID="hero-icon-calendar-dates-outlined"
611
- themeIntent="text"
612
- themeSize="small"
613
- />
614
496
  <View
615
497
  collapsable={false}
616
498
  style={
617
- Object {
499
+ {
500
+ "backgroundColor": undefined,
501
+ "borderRadius": 16,
502
+ "flex": 1,
503
+ "transform": [
504
+ {
505
+ "scaleX": 0,
506
+ },
507
+ ],
508
+ }
509
+ }
510
+ themeActive={false}
511
+ />
512
+ </View>
513
+ <View
514
+ style={
515
+ [
516
+ {
618
517
  "alignItems": "center",
619
- "backgroundColor": "#4568fb",
620
- "borderRadius": 999,
621
- "height": 20,
622
518
  "justifyContent": "center",
623
- "marginLeft": 4,
624
- "minWidth": 20,
625
- "opacity": 1,
626
519
  "paddingHorizontal": 8,
627
- "transform": Array [
628
- Object {
629
- "scale": 1,
630
- },
631
- ],
520
+ "paddingVertical": 4,
521
+ "position": "relative",
522
+ },
523
+ undefined,
524
+ ]
525
+ }
526
+ >
527
+ <View
528
+ style={
529
+ {
530
+ "paddingHorizontal": 4,
632
531
  }
633
532
  }
634
- themeIntent="info"
635
- themePadding="wideContent"
636
533
  >
637
- <Text
638
- allowFontScaling={false}
534
+ <HeroIcon
535
+ name="home-outlined"
639
536
  style={
640
- Array [
641
- Object {
537
+ [
538
+ {
642
539
  "color": "#001f23",
643
- "fontFamily": "BeVietnamPro-Regular",
644
- "fontSize": 14,
645
- "letterSpacing": 0.42,
646
- "lineHeight": 22,
540
+ "fontSize": 20,
647
541
  },
648
- Array [
649
- Object {
650
- "color": "#ffffff",
651
- "fontFamily": "BeVietnamPro-SemiBold",
652
- "fontSize": 12,
653
- "includeFontPadding": false,
654
- "lineHeight": 16,
655
- "textAlign": "center",
656
- "textAlignVertical": "center",
542
+ {
543
+ "color": "#001f23",
544
+ },
545
+ ]
546
+ }
547
+ testID="hero-icon-home-outlined"
548
+ themeIntent="text"
549
+ themeSize="small"
550
+ />
551
+ <View
552
+ collapsable={false}
553
+ style={
554
+ {
555
+ "backgroundColor": "#cb300a",
556
+ "borderRadius": 999,
557
+ "height": 8,
558
+ "opacity": 1,
559
+ "position": "absolute",
560
+ "right": -2,
561
+ "top": -2,
562
+ "transform": [
563
+ {
564
+ "scale": 1,
657
565
  },
658
- undefined,
659
566
  ],
567
+ "width": 8,
568
+ }
569
+ }
570
+ themeIntent="danger"
571
+ />
572
+ </View>
573
+ </View>
574
+ </View>
575
+ </View>
576
+ <View
577
+ onFocusCapture={[Function]}
578
+ onLayout={[Function]}
579
+ style={
580
+ [
581
+ {
582
+ "flexDirection": "row",
583
+ },
584
+ null,
585
+ ]
586
+ }
587
+ >
588
+ <View
589
+ accessibilityState={
590
+ {
591
+ "busy": undefined,
592
+ "checked": undefined,
593
+ "disabled": undefined,
594
+ "expanded": undefined,
595
+ "selected": undefined,
596
+ }
597
+ }
598
+ accessible={true}
599
+ collapsable={false}
600
+ focusable={true}
601
+ isFirstItem={false}
602
+ onClick={[Function]}
603
+ onResponderGrant={[Function]}
604
+ onResponderMove={[Function]}
605
+ onResponderRelease={[Function]}
606
+ onResponderTerminate={[Function]}
607
+ onResponderTerminationRequest={[Function]}
608
+ onStartShouldSetResponder={[Function]}
609
+ style={
610
+ {
611
+ "marginLeft": 12,
612
+ "paddingVertical": 8,
613
+ }
614
+ }
615
+ >
616
+ <View
617
+ style={
618
+ [
619
+ {
620
+ "bottom": 0,
621
+ "left": 0,
622
+ "paddingVertical": 8,
623
+ "position": "absolute",
624
+ "right": 0,
625
+ "top": 0,
626
+ },
627
+ undefined,
628
+ ]
629
+ }
630
+ >
631
+ <View
632
+ collapsable={false}
633
+ style={
634
+ {
635
+ "backgroundColor": undefined,
636
+ "borderRadius": 16,
637
+ "flex": 1,
638
+ "transform": [
639
+ {
640
+ "scaleX": 0,
641
+ },
642
+ ],
643
+ }
644
+ }
645
+ themeActive={false}
646
+ />
647
+ </View>
648
+ <View
649
+ style={
650
+ [
651
+ {
652
+ "alignItems": "center",
653
+ "justifyContent": "center",
654
+ "paddingHorizontal": 8,
655
+ "paddingVertical": 4,
656
+ "position": "relative",
657
+ },
658
+ undefined,
659
+ ]
660
+ }
661
+ >
662
+ <View
663
+ style={
664
+ [
665
+ {
666
+ "alignItems": "center",
667
+ "flexDirection": "row",
668
+ },
669
+ undefined,
670
+ ]
671
+ }
672
+ >
673
+ <HeroIcon
674
+ name="calendar-dates-outlined"
675
+ style={
676
+ [
677
+ {
678
+ "color": "#001f23",
679
+ "fontSize": 20,
680
+ },
681
+ {
682
+ "color": "#001f23",
683
+ },
660
684
  ]
661
685
  }
662
- themeFontSize="medium"
663
- themeFontWeight="regular"
664
- themeIntent="body"
665
- themeTypeface="neutral"
686
+ testID="hero-icon-calendar-dates-outlined"
687
+ themeIntent="text"
688
+ themeSize="small"
689
+ />
690
+ <View
691
+ collapsable={false}
692
+ style={
693
+ {
694
+ "alignItems": "center",
695
+ "backgroundColor": "#355bfb",
696
+ "borderRadius": 999,
697
+ "height": 20,
698
+ "justifyContent": "center",
699
+ "marginLeft": 4,
700
+ "minWidth": 20,
701
+ "opacity": 1,
702
+ "paddingHorizontal": 8,
703
+ "transform": [
704
+ {
705
+ "scale": 1,
706
+ },
707
+ ],
708
+ }
709
+ }
710
+ themeIntent="info"
711
+ themePadding="wideContent"
666
712
  >
667
- 50
668
- </Text>
713
+ <Text
714
+ allowFontScaling={false}
715
+ style={
716
+ [
717
+ {
718
+ "color": "#001f23",
719
+ "fontFamily": "BeVietnamPro-Regular",
720
+ "fontSize": 12,
721
+ "letterSpacing": 0.36,
722
+ "lineHeight": 16,
723
+ },
724
+ [
725
+ {
726
+ "color": "#ffffff",
727
+ "includeFontPadding": false,
728
+ "textAlign": "center",
729
+ "textAlignVertical": "center",
730
+ },
731
+ undefined,
732
+ ],
733
+ ]
734
+ }
735
+ themeFontWeight="regular"
736
+ themeIntent="body"
737
+ >
738
+ 50
739
+ </Text>
740
+ </View>
669
741
  </View>
670
742
  </View>
671
743
  </View>
672
744
  </View>
673
745
  </View>
674
- </View>
675
- </RCTScrollView>
676
- </View>
677
- <RNCViewPager
678
- layoutDirection="ltr"
679
- onMoveShouldSetResponderCapture={[Function]}
680
- onPageScroll={[Function]}
681
- onPageScrollStateChanged={[Function]}
682
- onPageSelected={[Function]}
683
- >
684
- <View
685
- collapsable={false}
686
- style={
687
- Object {
688
- "bottom": 0,
689
- "left": 0,
690
- "position": "absolute",
691
- "right": 0,
692
- "top": 0,
693
- }
694
- }
746
+ </RCTScrollView>
747
+ </View>
748
+ <RNCViewPager
749
+ layoutDirection="ltr"
750
+ onMoveShouldSetResponderCapture={[Function]}
751
+ onPageScroll={[Function]}
752
+ onPageScrollStateChanged={[Function]}
753
+ onPageSelected={[Function]}
695
754
  >
696
755
  <View
697
- accessibilityElementsHidden={false}
698
- importantForAccessibility="auto"
756
+ collapsable={false}
699
757
  style={
700
- Array [
701
- Object {
702
- "flex": 1,
703
- },
704
- Array [
705
- Object {
706
- "flex": 1,
707
- "overflow": "hidden",
708
- },
709
- Object {
710
- "bottom": 0,
711
- "left": 0,
712
- "position": "absolute",
713
- "right": 0,
714
- "top": 0,
715
- },
716
- ],
717
- ]
758
+ {
759
+ "bottom": 0,
760
+ "left": 0,
761
+ "position": "absolute",
762
+ "right": 0,
763
+ "top": 0,
764
+ }
718
765
  }
719
766
  >
720
- <Text>
721
- Work Screen
722
-
723
- focused
724
- </Text>
767
+ <View
768
+ accessibilityElementsHidden={false}
769
+ importantForAccessibility="auto"
770
+ style={
771
+ [
772
+ {
773
+ "flex": 1,
774
+ },
775
+ [
776
+ {
777
+ "flex": 1,
778
+ "overflow": "hidden",
779
+ },
780
+ {
781
+ "bottom": 0,
782
+ "left": 0,
783
+ "position": "absolute",
784
+ "right": 0,
785
+ "top": 0,
786
+ },
787
+ ],
788
+ ]
789
+ }
790
+ >
791
+ <Text>
792
+ Work Screen
793
+
794
+ focused
795
+ </Text>
796
+ </View>
725
797
  </View>
726
- </View>
727
- <View
728
- collapsable={false}
729
- style={
730
- Object {
731
- "bottom": 0,
732
- "left": 0,
733
- "position": "absolute",
734
- "right": 0,
735
- "top": 0,
736
- }
737
- }
738
- >
739
798
  <View
740
- accessibilityElementsHidden={true}
741
- importantForAccessibility="no-hide-descendants"
799
+ collapsable={false}
742
800
  style={
743
- Array [
744
- Object {
745
- "flex": 1,
746
- },
747
- Array [
748
- Object {
749
- "flex": 1,
750
- "overflow": "hidden",
751
- },
752
- null,
753
- ],
754
- ]
801
+ {
802
+ "bottom": 0,
803
+ "left": 0,
804
+ "position": "absolute",
805
+ "right": 0,
806
+ "top": 0,
807
+ }
755
808
  }
756
809
  >
757
- <Text>
758
- Personal Screen
759
-
760
- unfocused
761
- </Text>
810
+ <View
811
+ accessibilityElementsHidden={true}
812
+ importantForAccessibility="no-hide-descendants"
813
+ style={
814
+ [
815
+ {
816
+ "flex": 1,
817
+ },
818
+ [
819
+ {
820
+ "flex": 1,
821
+ "overflow": "hidden",
822
+ },
823
+ null,
824
+ ],
825
+ ]
826
+ }
827
+ >
828
+ <Text>
829
+ Personal Screen
830
+
831
+ unfocused
832
+ </Text>
833
+ </View>
762
834
  </View>
763
- </View>
764
- <View
765
- collapsable={false}
766
- style={
767
- Object {
768
- "bottom": 0,
769
- "left": 0,
770
- "position": "absolute",
771
- "right": 0,
772
- "top": 0,
773
- }
774
- }
775
- >
776
835
  <View
777
- accessibilityElementsHidden={true}
778
- importantForAccessibility="no-hide-descendants"
836
+ collapsable={false}
779
837
  style={
780
- Array [
781
- Object {
782
- "flex": 1,
783
- },
784
- Array [
785
- Object {
838
+ {
839
+ "bottom": 0,
840
+ "left": 0,
841
+ "position": "absolute",
842
+ "right": 0,
843
+ "top": 0,
844
+ }
845
+ }
846
+ >
847
+ <View
848
+ accessibilityElementsHidden={true}
849
+ importantForAccessibility="no-hide-descendants"
850
+ style={
851
+ [
852
+ {
786
853
  "flex": 1,
787
- "overflow": "hidden",
788
854
  },
789
- null,
790
- ],
791
- ]
792
- }
793
- />
794
- </View>
795
- <View
796
- collapsable={false}
797
- style={
798
- Object {
799
- "bottom": 0,
800
- "left": 0,
801
- "position": "absolute",
802
- "right": 0,
803
- "top": 0,
804
- }
805
- }
806
- >
855
+ [
856
+ {
857
+ "flex": 1,
858
+ "overflow": "hidden",
859
+ },
860
+ null,
861
+ ],
862
+ ]
863
+ }
864
+ />
865
+ </View>
807
866
  <View
808
- accessibilityElementsHidden={true}
809
- importantForAccessibility="no-hide-descendants"
867
+ collapsable={false}
810
868
  style={
811
- Array [
812
- Object {
813
- "flex": 1,
814
- },
815
- Array [
816
- Object {
869
+ {
870
+ "bottom": 0,
871
+ "left": 0,
872
+ "position": "absolute",
873
+ "right": 0,
874
+ "top": 0,
875
+ }
876
+ }
877
+ >
878
+ <View
879
+ accessibilityElementsHidden={true}
880
+ importantForAccessibility="no-hide-descendants"
881
+ style={
882
+ [
883
+ {
817
884
  "flex": 1,
818
- "overflow": "hidden",
819
885
  },
820
- null,
821
- ],
822
- ]
823
- }
824
- />
825
- </View>
826
- </RNCViewPager>
827
- </View>
828
- </RNCSafeAreaProvider>
886
+ [
887
+ {
888
+ "flex": 1,
889
+ "overflow": "hidden",
890
+ },
891
+ null,
892
+ ],
893
+ ]
894
+ }
895
+ />
896
+ </View>
897
+ </RNCViewPager>
898
+ </View>
899
+ </RNCSafeAreaProvider>
900
+ <View
901
+ pointerEvents="box-none"
902
+ position="bottom"
903
+ style={
904
+ [
905
+ {
906
+ "bottom": 0,
907
+ "elevation": 9999,
908
+ "flexDirection": "column-reverse",
909
+ "left": 0,
910
+ "paddingHorizontal": 24,
911
+ "paddingVertical": 16,
912
+ "position": "absolute",
913
+ "right": 0,
914
+ "top": 0,
915
+ },
916
+ undefined,
917
+ ]
918
+ }
919
+ />
920
+ </View>
829
921
  `;
830
922
 
831
923
  exports[`Tabs.Scroll renders correctly 1`] = `
832
- <RNCSafeAreaProvider
833
- onInsetsChange={[Function]}
924
+ <View
834
925
  style={
835
- Array [
836
- Object {
837
- "flex": 1,
838
- },
839
- undefined,
840
- ]
926
+ {
927
+ "flex": 1,
928
+ }
841
929
  }
842
930
  >
843
- <View
844
- accessible={true}
845
- collapsable={false}
846
- focusable={true}
847
- onClick={[Function]}
848
- onResponderGrant={[Function]}
849
- onResponderMove={[Function]}
850
- onResponderRelease={[Function]}
851
- onResponderTerminate={[Function]}
852
- onResponderTerminationRequest={[Function]}
853
- onStartShouldSetResponder={[Function]}
931
+ <RNCSafeAreaProvider
932
+ onInsetsChange={[Function]}
854
933
  style={
855
- Object {
856
- "alignItems": "center",
857
- "backgroundColor": "#f6f6f7",
858
- "borderRadius": 8,
859
- "flexDirection": "row",
860
- "justifyContent": "center",
861
- "opacity": 1,
862
- "padding": 8,
863
- "width": "100%",
864
- }
934
+ [
935
+ {
936
+ "flex": 1,
937
+ },
938
+ undefined,
939
+ ]
865
940
  }
866
941
  >
867
942
  <View
943
+ accessibilityState={
944
+ {
945
+ "busy": undefined,
946
+ "checked": undefined,
947
+ "disabled": undefined,
948
+ "expanded": undefined,
949
+ "selected": undefined,
950
+ }
951
+ }
952
+ accessibilityValue={
953
+ {
954
+ "max": undefined,
955
+ "min": undefined,
956
+ "now": undefined,
957
+ "text": undefined,
958
+ }
959
+ }
960
+ accessible={true}
961
+ collapsable={false}
962
+ focusable={true}
963
+ onClick={[Function]}
964
+ onResponderGrant={[Function]}
965
+ onResponderMove={[Function]}
966
+ onResponderRelease={[Function]}
967
+ onResponderTerminate={[Function]}
968
+ onResponderTerminationRequest={[Function]}
969
+ onStartShouldSetResponder={[Function]}
868
970
  style={
869
- Array [
870
- Object {
871
- "paddingRight": 12,
872
- },
873
- undefined,
874
- ]
971
+ {
972
+ "alignItems": "center",
973
+ "backgroundColor": "#ffffff",
974
+ "borderRadius": 8,
975
+ "flexDirection": "row",
976
+ "justifyContent": "center",
977
+ "opacity": 1,
978
+ "padding": 8,
979
+ "width": "100%",
980
+ }
875
981
  }
876
982
  >
877
- <HeroIcon
878
- name="sync"
983
+ <View
879
984
  style={
880
- Array [
881
- Object {
882
- "color": "#001f23",
883
- "fontSize": 24,
985
+ [
986
+ {
987
+ "paddingRight": 12,
884
988
  },
885
989
  undefined,
886
990
  ]
887
991
  }
888
- testID="undefined-icon"
889
- themeIntent="text"
890
- themeSize="medium"
891
- />
892
- </View>
893
- <Text
894
- allowFontScaling={false}
895
- style={
896
- Array [
897
- Object {
898
- "color": "#001f23",
899
- "fontFamily": "BeVietnamPro-Regular",
900
- "fontSize": 14,
901
- "letterSpacing": 0.42,
902
- "lineHeight": 22,
903
- },
904
- Array [
905
- Object {
906
- "flexShrink": 1,
992
+ >
993
+ <HeroIcon
994
+ name="sync"
995
+ style={
996
+ [
997
+ {
998
+ "color": "#001f23",
999
+ "fontSize": 24,
1000
+ },
1001
+ undefined,
1002
+ ]
1003
+ }
1004
+ testID="undefined-icon"
1005
+ themeIntent="text"
1006
+ themeSize="medium"
1007
+ />
1008
+ </View>
1009
+ <Text
1010
+ allowFontScaling={false}
1011
+ style={
1012
+ [
1013
+ {
1014
+ "color": "#001f23",
907
1015
  "fontFamily": "BeVietnamPro-Regular",
908
1016
  "fontSize": 16,
909
- "textAlign": "center",
1017
+ "letterSpacing": 0.48,
1018
+ "lineHeight": 24,
910
1019
  },
911
- undefined,
912
- ],
913
- ]
914
- }
915
- themeFontSize="medium"
916
- themeFontWeight="regular"
917
- themeIntent="body"
918
- themeTypeface="neutral"
919
- >
920
- Move to Work
921
- </Text>
922
- </View>
923
- <View
924
- style={
925
- Array [
926
- Object {
927
- "flex": 1,
928
- "overflow": "hidden",
929
- },
930
- undefined,
931
- ]
932
- }
933
- >
1020
+ [
1021
+ {
1022
+ "flexShrink": 1,
1023
+ "textAlign": "center",
1024
+ },
1025
+ undefined,
1026
+ ],
1027
+ ]
1028
+ }
1029
+ themeIntent="body"
1030
+ themeTypeface="neutral"
1031
+ themeVariant="regular"
1032
+ >
1033
+ Move to Work
1034
+ </Text>
1035
+ </View>
934
1036
  <View
935
1037
  style={
936
- Array [
937
- Object {
938
- "borderBottomColor": "#e8e9ea",
939
- "borderBottomWidth": 1,
940
- "paddingHorizontal": 0,
1038
+ [
1039
+ {
1040
+ "flex": 1,
1041
+ "overflow": "hidden",
941
1042
  },
942
1043
  undefined,
943
1044
  ]
944
1045
  }
945
- themeInsets={
946
- Object {
947
- "bottom": 0,
948
- "left": 0,
949
- "right": 0,
950
- "top": 0,
951
- }
952
- }
953
1046
  >
954
- <RCTScrollView
955
- contentContainerStyle={
956
- Object {
957
- "paddingHorizontal": 8,
958
- }
959
- }
960
- data={
961
- Array [
962
- Object {
963
- "activeItem": "Work",
964
- "component": <CustomScreen
965
- title="Work Screen"
966
- />,
967
- "key": "work",
968
- },
969
- Object {
970
- "activeItem": "speaker",
971
- "component": <CustomScreen
972
- title="Personal Screen"
973
- />,
974
- "inactiveItem": "speaker-outlined",
975
- "key": "personal",
976
- },
977
- Object {
978
- "activeItem": "home",
979
- "badge": Object {
980
- "type": "status",
981
- },
982
- "component": <CustomScreen
983
- title="Home Screen"
984
- />,
985
- "inactiveItem": "home-outlined",
986
- "key": "home",
987
- },
988
- Object {
989
- "activeItem": "calendar",
990
- "badge": Object {
991
- "type": "counter",
992
- "value": 50,
993
- },
994
- "component": <CustomScreen
995
- title="Calendar Screen"
996
- />,
997
- "inactiveItem": "calendar-dates-outlined",
998
- "key": "calendar",
1047
+ <View
1048
+ style={
1049
+ [
1050
+ {
1051
+ "paddingHorizontal": 0,
999
1052
  },
1053
+ undefined,
1000
1054
  ]
1001
1055
  }
1002
- getItem={[Function]}
1003
- getItemCount={[Function]}
1004
- horizontal={true}
1005
- keyExtractor={[Function]}
1006
- onContentSizeChange={[Function]}
1007
- onLayout={[Function]}
1008
- onMomentumScrollBegin={[Function]}
1009
- onMomentumScrollEnd={[Function]}
1010
- onScroll={[Function]}
1011
- onScrollBeginDrag={[Function]}
1012
- onScrollEndDrag={[Function]}
1013
- onScrollToIndexFailed={[Function]}
1014
- removeClippedSubviews={false}
1015
- renderItem={[Function]}
1016
- scrollEventThrottle={50}
1017
- showsHorizontalScrollIndicator={false}
1018
- stickyHeaderIndices={Array []}
1019
- viewabilityConfigCallbackPairs={Array []}
1056
+ themeInsets={
1057
+ {
1058
+ "bottom": 0,
1059
+ "left": 0,
1060
+ "right": 0,
1061
+ "top": 0,
1062
+ }
1063
+ }
1020
1064
  >
1021
- <View>
1022
- <View
1023
- onLayout={[Function]}
1024
- style={
1025
- Array [
1026
- Object {
1027
- "flexDirection": "row",
1065
+ <RCTScrollView
1066
+ contentContainerStyle={
1067
+ {
1068
+ "paddingHorizontal": 8,
1069
+ }
1070
+ }
1071
+ data={
1072
+ [
1073
+ {
1074
+ "activeItem": "Work",
1075
+ "component": <CustomScreen
1076
+ title="Work Screen"
1077
+ />,
1078
+ "key": "work",
1079
+ },
1080
+ {
1081
+ "activeItem": "speaker",
1082
+ "component": <CustomScreen
1083
+ title="Personal Screen"
1084
+ />,
1085
+ "inactiveItem": "speaker-outlined",
1086
+ "key": "personal",
1087
+ },
1088
+ {
1089
+ "activeItem": "home",
1090
+ "badge": {
1091
+ "type": "status",
1028
1092
  },
1029
- null,
1030
- ]
1093
+ "component": <CustomScreen
1094
+ title="Home Screen"
1095
+ />,
1096
+ "inactiveItem": "home-outlined",
1097
+ "key": "home",
1098
+ },
1099
+ {
1100
+ "activeItem": "calendar",
1101
+ "badge": {
1102
+ "type": "counter",
1103
+ "value": 50,
1104
+ },
1105
+ "component": <CustomScreen
1106
+ title="Calendar Screen"
1107
+ />,
1108
+ "inactiveItem": "calendar-dates-outlined",
1109
+ "key": "calendar",
1110
+ },
1111
+ ]
1112
+ }
1113
+ getItem={[Function]}
1114
+ getItemCount={[Function]}
1115
+ horizontal={true}
1116
+ keyExtractor={[Function]}
1117
+ onContentSizeChange={[Function]}
1118
+ onLayout={[Function]}
1119
+ onMomentumScrollBegin={[Function]}
1120
+ onMomentumScrollEnd={[Function]}
1121
+ onScroll={[Function]}
1122
+ onScrollBeginDrag={[Function]}
1123
+ onScrollEndDrag={[Function]}
1124
+ onScrollToIndexFailed={[Function]}
1125
+ removeClippedSubviews={false}
1126
+ renderItem={[Function]}
1127
+ scrollEventThrottle={50}
1128
+ showsHorizontalScrollIndicator={false}
1129
+ stickyHeaderIndices={[]}
1130
+ style={
1131
+ {
1132
+ "borderBottomColor": "#e8e9ea",
1133
+ "borderBottomWidth": 2,
1031
1134
  }
1032
- >
1135
+ }
1136
+ viewabilityConfigCallbackPairs={[]}
1137
+ >
1138
+ <View>
1033
1139
  <View
1034
- accessible={true}
1035
- collapsable={false}
1036
- focusable={true}
1037
- isFirstItem={true}
1038
- onClick={[Function]}
1039
- onResponderGrant={[Function]}
1040
- onResponderMove={[Function]}
1041
- onResponderRelease={[Function]}
1042
- onResponderTerminate={[Function]}
1043
- onResponderTerminationRequest={[Function]}
1044
- onStartShouldSetResponder={[Function]}
1140
+ onFocusCapture={[Function]}
1141
+ onLayout={[Function]}
1045
1142
  style={
1046
- Object {
1047
- "marginLeft": 0,
1048
- "paddingVertical": 8,
1049
- }
1143
+ [
1144
+ {
1145
+ "flexDirection": "row",
1146
+ },
1147
+ null,
1148
+ ]
1050
1149
  }
1051
1150
  >
1052
1151
  <View
1152
+ accessibilityState={
1153
+ {
1154
+ "busy": undefined,
1155
+ "checked": undefined,
1156
+ "disabled": undefined,
1157
+ "expanded": undefined,
1158
+ "selected": undefined,
1159
+ }
1160
+ }
1161
+ accessible={true}
1162
+ collapsable={false}
1163
+ focusable={true}
1164
+ isFirstItem={true}
1165
+ onClick={[Function]}
1166
+ onResponderGrant={[Function]}
1167
+ onResponderMove={[Function]}
1168
+ onResponderRelease={[Function]}
1169
+ onResponderTerminate={[Function]}
1170
+ onResponderTerminationRequest={[Function]}
1171
+ onStartShouldSetResponder={[Function]}
1053
1172
  style={
1054
- Array [
1055
- Object {
1056
- "bottom": 0,
1057
- "left": 0,
1058
- "paddingVertical": 8,
1059
- "position": "absolute",
1060
- "right": 0,
1061
- "top": 0,
1062
- },
1063
- undefined,
1064
- ]
1173
+ {
1174
+ "marginLeft": 0,
1175
+ "paddingVertical": 8,
1176
+ }
1065
1177
  }
1066
1178
  >
1067
1179
  <View
1068
- collapsable={false}
1069
1180
  style={
1070
- Object {
1071
- "backgroundColor": "#ccd2d3",
1072
- "borderRadius": 8,
1073
- "flex": 1,
1074
- "transform": Array [
1075
- Object {
1076
- "scaleX": 1,
1077
- },
1078
- ],
1079
- }
1181
+ [
1182
+ {
1183
+ "bottom": 0,
1184
+ "left": 0,
1185
+ "paddingVertical": 8,
1186
+ "position": "absolute",
1187
+ "right": 0,
1188
+ "top": 0,
1189
+ },
1190
+ undefined,
1191
+ ]
1080
1192
  }
1081
- themeActive={true}
1082
- />
1083
- </View>
1084
- <View
1085
- style={
1086
- Array [
1087
- Object {
1088
- "paddingHorizontal": 8,
1089
- "paddingVertical": 4,
1090
- },
1091
- undefined,
1092
- ]
1093
- }
1094
- >
1095
- <View>
1096
- <Text
1097
- allowFontScaling={false}
1098
- numberOfLines={1}
1193
+ >
1194
+ <View
1195
+ collapsable={false}
1099
1196
  style={
1100
- Array [
1101
- Object {
1102
- "color": "#001f23",
1103
- "fontFamily": "BeVietnamPro-SemiBold",
1104
- "fontSize": 14,
1105
- "letterSpacing": 0.42,
1106
- "lineHeight": 22,
1107
- },
1108
- Object {
1109
- "color": "#001f23",
1110
- },
1111
- ]
1197
+ {
1198
+ "backgroundColor": "#ccd2d3",
1199
+ "borderRadius": 16,
1200
+ "flex": 1,
1201
+ "transform": [
1202
+ {
1203
+ "scaleX": 1,
1204
+ },
1205
+ ],
1206
+ }
1112
1207
  }
1113
- themeFontSize="medium"
1114
- themeFontWeight="semi-bold"
1115
- themeIntent="body"
1116
- themeTypeface="neutral"
1117
- >
1118
- Work
1119
- </Text>
1208
+ themeActive={true}
1209
+ />
1210
+ </View>
1211
+ <View
1212
+ style={
1213
+ [
1214
+ {
1215
+ "alignItems": "center",
1216
+ "justifyContent": "center",
1217
+ "paddingHorizontal": 8,
1218
+ "paddingVertical": 4,
1219
+ "position": "relative",
1220
+ },
1221
+ undefined,
1222
+ ]
1223
+ }
1224
+ >
1225
+ <View>
1226
+ <Text
1227
+ allowFontScaling={false}
1228
+ numberOfLines={1}
1229
+ style={
1230
+ [
1231
+ {
1232
+ "color": "#001f23",
1233
+ "fontFamily": "BeVietnamPro-SemiBold",
1234
+ "fontSize": 16,
1235
+ "letterSpacing": 0.24,
1236
+ "lineHeight": 24,
1237
+ },
1238
+ {
1239
+ "color": "#001f23",
1240
+ },
1241
+ ]
1242
+ }
1243
+ themeIntent="body"
1244
+ themeTypeface="neutral"
1245
+ themeVariant="regular-bold"
1246
+ >
1247
+ Work
1248
+ </Text>
1249
+ </View>
1120
1250
  </View>
1121
1251
  </View>
1122
1252
  </View>
1123
- </View>
1124
- <View
1125
- onLayout={[Function]}
1126
- style={
1127
- Array [
1128
- Object {
1129
- "flexDirection": "row",
1130
- },
1131
- null,
1132
- ]
1133
- }
1134
- >
1135
1253
  <View
1136
- accessible={true}
1137
- collapsable={false}
1138
- focusable={true}
1139
- isFirstItem={false}
1140
- onClick={[Function]}
1141
- onResponderGrant={[Function]}
1142
- onResponderMove={[Function]}
1143
- onResponderRelease={[Function]}
1144
- onResponderTerminate={[Function]}
1145
- onResponderTerminationRequest={[Function]}
1146
- onStartShouldSetResponder={[Function]}
1254
+ onFocusCapture={[Function]}
1255
+ onLayout={[Function]}
1147
1256
  style={
1148
- Object {
1149
- "marginLeft": 12,
1150
- "paddingVertical": 8,
1151
- }
1257
+ [
1258
+ {
1259
+ "flexDirection": "row",
1260
+ },
1261
+ null,
1262
+ ]
1152
1263
  }
1153
1264
  >
1154
1265
  <View
1266
+ accessibilityState={
1267
+ {
1268
+ "busy": undefined,
1269
+ "checked": undefined,
1270
+ "disabled": undefined,
1271
+ "expanded": undefined,
1272
+ "selected": undefined,
1273
+ }
1274
+ }
1275
+ accessible={true}
1276
+ collapsable={false}
1277
+ focusable={true}
1278
+ isFirstItem={false}
1279
+ onClick={[Function]}
1280
+ onResponderGrant={[Function]}
1281
+ onResponderMove={[Function]}
1282
+ onResponderRelease={[Function]}
1283
+ onResponderTerminate={[Function]}
1284
+ onResponderTerminationRequest={[Function]}
1285
+ onStartShouldSetResponder={[Function]}
1155
1286
  style={
1156
- Array [
1157
- Object {
1158
- "bottom": 0,
1159
- "left": 0,
1160
- "paddingVertical": 8,
1161
- "position": "absolute",
1162
- "right": 0,
1163
- "top": 0,
1164
- },
1165
- undefined,
1166
- ]
1287
+ {
1288
+ "marginLeft": 12,
1289
+ "paddingVertical": 8,
1290
+ }
1167
1291
  }
1168
1292
  >
1169
1293
  <View
1170
- collapsable={false}
1171
1294
  style={
1172
- Object {
1173
- "backgroundColor": undefined,
1174
- "borderRadius": 8,
1175
- "flex": 1,
1176
- "transform": Array [
1177
- Object {
1178
- "scaleX": 0,
1179
- },
1180
- ],
1181
- }
1295
+ [
1296
+ {
1297
+ "bottom": 0,
1298
+ "left": 0,
1299
+ "paddingVertical": 8,
1300
+ "position": "absolute",
1301
+ "right": 0,
1302
+ "top": 0,
1303
+ },
1304
+ undefined,
1305
+ ]
1182
1306
  }
1183
- themeActive={false}
1184
- />
1185
- </View>
1186
- <View
1187
- style={
1188
- Array [
1189
- Object {
1190
- "paddingHorizontal": 8,
1191
- "paddingVertical": 4,
1192
- },
1193
- undefined,
1194
- ]
1195
- }
1196
- >
1197
- <View>
1198
- <HeroIcon
1199
- name="speaker-outlined"
1307
+ >
1308
+ <View
1309
+ collapsable={false}
1200
1310
  style={
1201
- Array [
1202
- Object {
1203
- "color": "#001f23",
1204
- "fontSize": 20,
1205
- },
1206
- Object {
1207
- "color": "#001f23",
1208
- },
1209
- ]
1311
+ {
1312
+ "backgroundColor": undefined,
1313
+ "borderRadius": 16,
1314
+ "flex": 1,
1315
+ "transform": [
1316
+ {
1317
+ "scaleX": 0,
1318
+ },
1319
+ ],
1320
+ }
1210
1321
  }
1211
- testID="hero-icon-speaker-outlined"
1212
- themeIntent="text"
1213
- themeSize="small"
1322
+ themeActive={false}
1214
1323
  />
1215
1324
  </View>
1325
+ <View
1326
+ style={
1327
+ [
1328
+ {
1329
+ "alignItems": "center",
1330
+ "justifyContent": "center",
1331
+ "paddingHorizontal": 8,
1332
+ "paddingVertical": 4,
1333
+ "position": "relative",
1334
+ },
1335
+ undefined,
1336
+ ]
1337
+ }
1338
+ >
1339
+ <View>
1340
+ <HeroIcon
1341
+ name="speaker-outlined"
1342
+ style={
1343
+ [
1344
+ {
1345
+ "color": "#001f23",
1346
+ "fontSize": 20,
1347
+ },
1348
+ {
1349
+ "color": "#001f23",
1350
+ },
1351
+ ]
1352
+ }
1353
+ testID="hero-icon-speaker-outlined"
1354
+ themeIntent="text"
1355
+ themeSize="small"
1356
+ />
1357
+ </View>
1358
+ </View>
1216
1359
  </View>
1217
1360
  </View>
1218
- </View>
1219
- <View
1220
- onLayout={[Function]}
1221
- style={
1222
- Array [
1223
- Object {
1224
- "flexDirection": "row",
1225
- },
1226
- null,
1227
- ]
1228
- }
1229
- >
1230
1361
  <View
1231
- accessible={true}
1232
- collapsable={false}
1233
- focusable={true}
1234
- isFirstItem={false}
1235
- onClick={[Function]}
1236
- onResponderGrant={[Function]}
1237
- onResponderMove={[Function]}
1238
- onResponderRelease={[Function]}
1239
- onResponderTerminate={[Function]}
1240
- onResponderTerminationRequest={[Function]}
1241
- onStartShouldSetResponder={[Function]}
1362
+ onFocusCapture={[Function]}
1363
+ onLayout={[Function]}
1242
1364
  style={
1243
- Object {
1244
- "marginLeft": 12,
1245
- "paddingVertical": 8,
1246
- }
1365
+ [
1366
+ {
1367
+ "flexDirection": "row",
1368
+ },
1369
+ null,
1370
+ ]
1247
1371
  }
1248
1372
  >
1249
1373
  <View
1250
- style={
1251
- Array [
1252
- Object {
1253
- "bottom": 0,
1254
- "left": 0,
1255
- "paddingVertical": 8,
1256
- "position": "absolute",
1257
- "right": 0,
1258
- "top": 0,
1259
- },
1260
- undefined,
1261
- ]
1262
- }
1263
- >
1264
- <View
1265
- collapsable={false}
1266
- style={
1267
- Object {
1268
- "backgroundColor": undefined,
1269
- "borderRadius": 8,
1270
- "flex": 1,
1271
- "transform": Array [
1272
- Object {
1273
- "scaleX": 0,
1274
- },
1275
- ],
1276
- }
1374
+ accessibilityState={
1375
+ {
1376
+ "busy": undefined,
1377
+ "checked": undefined,
1378
+ "disabled": undefined,
1379
+ "expanded": undefined,
1380
+ "selected": undefined,
1277
1381
  }
1278
- themeActive={false}
1279
- />
1280
- </View>
1281
- <View
1382
+ }
1383
+ accessible={true}
1384
+ collapsable={false}
1385
+ focusable={true}
1386
+ isFirstItem={false}
1387
+ onClick={[Function]}
1388
+ onResponderGrant={[Function]}
1389
+ onResponderMove={[Function]}
1390
+ onResponderRelease={[Function]}
1391
+ onResponderTerminate={[Function]}
1392
+ onResponderTerminationRequest={[Function]}
1393
+ onStartShouldSetResponder={[Function]}
1282
1394
  style={
1283
- Array [
1284
- Object {
1285
- "paddingHorizontal": 8,
1286
- "paddingVertical": 4,
1287
- },
1288
- undefined,
1289
- ]
1395
+ {
1396
+ "marginLeft": 12,
1397
+ "paddingVertical": 8,
1398
+ }
1290
1399
  }
1291
1400
  >
1292
1401
  <View
1293
1402
  style={
1294
- Object {
1295
- "paddingHorizontal": 4,
1296
- }
1403
+ [
1404
+ {
1405
+ "bottom": 0,
1406
+ "left": 0,
1407
+ "paddingVertical": 8,
1408
+ "position": "absolute",
1409
+ "right": 0,
1410
+ "top": 0,
1411
+ },
1412
+ undefined,
1413
+ ]
1297
1414
  }
1298
1415
  >
1299
- <HeroIcon
1300
- name="home-outlined"
1301
- style={
1302
- Array [
1303
- Object {
1304
- "color": "#001f23",
1305
- "fontSize": 20,
1306
- },
1307
- Object {
1308
- "color": "#001f23",
1309
- },
1310
- ]
1311
- }
1312
- testID="hero-icon-home-outlined"
1313
- themeIntent="text"
1314
- themeSize="small"
1315
- />
1316
1416
  <View
1317
1417
  collapsable={false}
1318
1418
  style={
1319
- Object {
1320
- "backgroundColor": "#de350b",
1321
- "borderRadius": 999,
1322
- "height": 8,
1323
- "opacity": 1,
1324
- "position": "absolute",
1325
- "right": -2,
1326
- "top": -2,
1327
- "transform": Array [
1328
- Object {
1329
- "scale": 1,
1419
+ {
1420
+ "backgroundColor": undefined,
1421
+ "borderRadius": 16,
1422
+ "flex": 1,
1423
+ "transform": [
1424
+ {
1425
+ "scaleX": 0,
1330
1426
  },
1331
1427
  ],
1332
- "width": 8,
1333
1428
  }
1334
1429
  }
1335
- themeIntent="danger"
1430
+ themeActive={false}
1336
1431
  />
1337
1432
  </View>
1433
+ <View
1434
+ style={
1435
+ [
1436
+ {
1437
+ "alignItems": "center",
1438
+ "justifyContent": "center",
1439
+ "paddingHorizontal": 8,
1440
+ "paddingVertical": 4,
1441
+ "position": "relative",
1442
+ },
1443
+ undefined,
1444
+ ]
1445
+ }
1446
+ >
1447
+ <View
1448
+ style={
1449
+ {
1450
+ "paddingHorizontal": 4,
1451
+ }
1452
+ }
1453
+ >
1454
+ <HeroIcon
1455
+ name="home-outlined"
1456
+ style={
1457
+ [
1458
+ {
1459
+ "color": "#001f23",
1460
+ "fontSize": 20,
1461
+ },
1462
+ {
1463
+ "color": "#001f23",
1464
+ },
1465
+ ]
1466
+ }
1467
+ testID="hero-icon-home-outlined"
1468
+ themeIntent="text"
1469
+ themeSize="small"
1470
+ />
1471
+ <View
1472
+ collapsable={false}
1473
+ style={
1474
+ {
1475
+ "backgroundColor": "#cb300a",
1476
+ "borderRadius": 999,
1477
+ "height": 8,
1478
+ "opacity": 1,
1479
+ "position": "absolute",
1480
+ "right": -2,
1481
+ "top": -2,
1482
+ "transform": [
1483
+ {
1484
+ "scale": 1,
1485
+ },
1486
+ ],
1487
+ "width": 8,
1488
+ }
1489
+ }
1490
+ themeIntent="danger"
1491
+ />
1492
+ </View>
1493
+ </View>
1338
1494
  </View>
1339
1495
  </View>
1340
- </View>
1341
- <View
1342
- onLayout={[Function]}
1343
- style={
1344
- Array [
1345
- Object {
1346
- "flexDirection": "row",
1347
- },
1348
- null,
1349
- ]
1350
- }
1351
- >
1352
1496
  <View
1353
- accessible={true}
1354
- collapsable={false}
1355
- focusable={true}
1356
- isFirstItem={false}
1357
- onClick={[Function]}
1358
- onResponderGrant={[Function]}
1359
- onResponderMove={[Function]}
1360
- onResponderRelease={[Function]}
1361
- onResponderTerminate={[Function]}
1362
- onResponderTerminationRequest={[Function]}
1363
- onStartShouldSetResponder={[Function]}
1497
+ onFocusCapture={[Function]}
1498
+ onLayout={[Function]}
1364
1499
  style={
1365
- Object {
1366
- "marginLeft": 12,
1367
- "paddingVertical": 8,
1368
- }
1500
+ [
1501
+ {
1502
+ "flexDirection": "row",
1503
+ },
1504
+ null,
1505
+ ]
1369
1506
  }
1370
1507
  >
1371
1508
  <View
1372
- style={
1373
- Array [
1374
- Object {
1375
- "bottom": 0,
1376
- "left": 0,
1377
- "paddingVertical": 8,
1378
- "position": "absolute",
1379
- "right": 0,
1380
- "top": 0,
1381
- },
1382
- undefined,
1383
- ]
1384
- }
1385
- >
1386
- <View
1387
- collapsable={false}
1388
- style={
1389
- Object {
1390
- "backgroundColor": undefined,
1391
- "borderRadius": 8,
1392
- "flex": 1,
1393
- "transform": Array [
1394
- Object {
1395
- "scaleX": 0,
1396
- },
1397
- ],
1398
- }
1509
+ accessibilityState={
1510
+ {
1511
+ "busy": undefined,
1512
+ "checked": undefined,
1513
+ "disabled": undefined,
1514
+ "expanded": undefined,
1515
+ "selected": undefined,
1399
1516
  }
1400
- themeActive={false}
1401
- />
1402
- </View>
1403
- <View
1517
+ }
1518
+ accessible={true}
1519
+ collapsable={false}
1520
+ focusable={true}
1521
+ isFirstItem={false}
1522
+ onClick={[Function]}
1523
+ onResponderGrant={[Function]}
1524
+ onResponderMove={[Function]}
1525
+ onResponderRelease={[Function]}
1526
+ onResponderTerminate={[Function]}
1527
+ onResponderTerminationRequest={[Function]}
1528
+ onStartShouldSetResponder={[Function]}
1404
1529
  style={
1405
- Array [
1406
- Object {
1407
- "paddingHorizontal": 8,
1408
- "paddingVertical": 4,
1409
- },
1410
- undefined,
1411
- ]
1530
+ {
1531
+ "marginLeft": 12,
1532
+ "paddingVertical": 8,
1533
+ }
1412
1534
  }
1413
1535
  >
1414
1536
  <View
1415
1537
  style={
1416
- Array [
1417
- Object {
1418
- "alignItems": "center",
1419
- "flexDirection": "row",
1538
+ [
1539
+ {
1540
+ "bottom": 0,
1541
+ "left": 0,
1542
+ "paddingVertical": 8,
1543
+ "position": "absolute",
1544
+ "right": 0,
1545
+ "top": 0,
1420
1546
  },
1421
1547
  undefined,
1422
1548
  ]
1423
1549
  }
1424
1550
  >
1425
- <HeroIcon
1426
- name="calendar-dates-outlined"
1427
- style={
1428
- Array [
1429
- Object {
1430
- "color": "#001f23",
1431
- "fontSize": 20,
1432
- },
1433
- Object {
1434
- "color": "#001f23",
1435
- },
1436
- ]
1437
- }
1438
- testID="hero-icon-calendar-dates-outlined"
1439
- themeIntent="text"
1440
- themeSize="small"
1441
- />
1442
1551
  <View
1443
1552
  collapsable={false}
1444
1553
  style={
1445
- Object {
1446
- "alignItems": "center",
1447
- "backgroundColor": "#4568fb",
1448
- "borderRadius": 999,
1449
- "height": 20,
1450
- "justifyContent": "center",
1451
- "marginLeft": 4,
1452
- "minWidth": 20,
1453
- "opacity": 1,
1454
- "paddingHorizontal": 8,
1455
- "transform": Array [
1456
- Object {
1457
- "scale": 1,
1554
+ {
1555
+ "backgroundColor": undefined,
1556
+ "borderRadius": 16,
1557
+ "flex": 1,
1558
+ "transform": [
1559
+ {
1560
+ "scaleX": 0,
1458
1561
  },
1459
1562
  ],
1460
1563
  }
1461
1564
  }
1462
- themeIntent="info"
1463
- themePadding="wideContent"
1565
+ themeActive={false}
1566
+ />
1567
+ </View>
1568
+ <View
1569
+ style={
1570
+ [
1571
+ {
1572
+ "alignItems": "center",
1573
+ "justifyContent": "center",
1574
+ "paddingHorizontal": 8,
1575
+ "paddingVertical": 4,
1576
+ "position": "relative",
1577
+ },
1578
+ undefined,
1579
+ ]
1580
+ }
1581
+ >
1582
+ <View
1583
+ style={
1584
+ [
1585
+ {
1586
+ "alignItems": "center",
1587
+ "flexDirection": "row",
1588
+ },
1589
+ undefined,
1590
+ ]
1591
+ }
1464
1592
  >
1465
- <Text
1466
- allowFontScaling={false}
1593
+ <HeroIcon
1594
+ name="calendar-dates-outlined"
1467
1595
  style={
1468
- Array [
1469
- Object {
1596
+ [
1597
+ {
1470
1598
  "color": "#001f23",
1471
- "fontFamily": "BeVietnamPro-Regular",
1472
- "fontSize": 14,
1473
- "letterSpacing": 0.42,
1474
- "lineHeight": 22,
1599
+ "fontSize": 20,
1475
1600
  },
1476
- Array [
1477
- Object {
1478
- "color": "#ffffff",
1479
- "fontFamily": "BeVietnamPro-SemiBold",
1480
- "fontSize": 12,
1481
- "includeFontPadding": false,
1482
- "lineHeight": 16,
1483
- "textAlign": "center",
1484
- "textAlignVertical": "center",
1601
+ {
1602
+ "color": "#001f23",
1603
+ },
1604
+ ]
1605
+ }
1606
+ testID="hero-icon-calendar-dates-outlined"
1607
+ themeIntent="text"
1608
+ themeSize="small"
1609
+ />
1610
+ <View
1611
+ collapsable={false}
1612
+ style={
1613
+ {
1614
+ "alignItems": "center",
1615
+ "backgroundColor": "#355bfb",
1616
+ "borderRadius": 999,
1617
+ "height": 20,
1618
+ "justifyContent": "center",
1619
+ "marginLeft": 4,
1620
+ "minWidth": 20,
1621
+ "opacity": 1,
1622
+ "paddingHorizontal": 8,
1623
+ "transform": [
1624
+ {
1625
+ "scale": 1,
1485
1626
  },
1486
- undefined,
1487
1627
  ],
1488
- ]
1628
+ }
1489
1629
  }
1490
- themeFontSize="medium"
1491
- themeFontWeight="regular"
1492
- themeIntent="body"
1493
- themeTypeface="neutral"
1630
+ themeIntent="info"
1631
+ themePadding="wideContent"
1494
1632
  >
1495
- 50
1496
- </Text>
1633
+ <Text
1634
+ allowFontScaling={false}
1635
+ style={
1636
+ [
1637
+ {
1638
+ "color": "#001f23",
1639
+ "fontFamily": "BeVietnamPro-Regular",
1640
+ "fontSize": 12,
1641
+ "letterSpacing": 0.36,
1642
+ "lineHeight": 16,
1643
+ },
1644
+ [
1645
+ {
1646
+ "color": "#ffffff",
1647
+ "includeFontPadding": false,
1648
+ "textAlign": "center",
1649
+ "textAlignVertical": "center",
1650
+ },
1651
+ undefined,
1652
+ ],
1653
+ ]
1654
+ }
1655
+ themeFontWeight="regular"
1656
+ themeIntent="body"
1657
+ >
1658
+ 50
1659
+ </Text>
1660
+ </View>
1497
1661
  </View>
1498
- </View>
1499
- </View>
1500
- </View>
1501
- </View>
1502
- </View>
1503
- </RCTScrollView>
1504
- </View>
1505
- <RNCViewPager
1506
- layoutDirection="ltr"
1507
- onMoveShouldSetResponderCapture={[Function]}
1508
- onPageScroll={[Function]}
1509
- onPageScrollStateChanged={[Function]}
1510
- onPageSelected={[Function]}
1511
- >
1512
- <View
1513
- collapsable={false}
1514
- style={
1515
- Object {
1516
- "bottom": 0,
1517
- "left": 0,
1518
- "position": "absolute",
1519
- "right": 0,
1520
- "top": 0,
1521
- }
1522
- }
1523
- >
1524
- <View
1525
- accessibilityElementsHidden={false}
1526
- importantForAccessibility="auto"
1527
- style={
1528
- Array [
1529
- Object {
1530
- "flex": 1,
1531
- },
1532
- Array [
1533
- Object {
1534
- "flex": 1,
1535
- "overflow": "hidden",
1536
- },
1537
- Object {
1538
- "bottom": 0,
1539
- "left": 0,
1540
- "position": "absolute",
1541
- "right": 0,
1542
- "top": 0,
1543
- },
1544
- ],
1545
- ]
1546
- }
1547
- >
1548
- <Text>
1549
- Work Screen
1550
-
1551
- focused
1552
- </Text>
1553
- </View>
1554
- </View>
1555
- <View
1556
- collapsable={false}
1557
- style={
1558
- Object {
1559
- "bottom": 0,
1560
- "left": 0,
1561
- "position": "absolute",
1562
- "right": 0,
1563
- "top": 0,
1564
- }
1565
- }
1662
+ </View>
1663
+ </View>
1664
+ </View>
1665
+ </View>
1666
+ </RCTScrollView>
1667
+ </View>
1668
+ <RNCViewPager
1669
+ layoutDirection="ltr"
1670
+ onMoveShouldSetResponderCapture={[Function]}
1671
+ onPageScroll={[Function]}
1672
+ onPageScrollStateChanged={[Function]}
1673
+ onPageSelected={[Function]}
1566
1674
  >
1567
1675
  <View
1568
- accessibilityElementsHidden={true}
1569
- importantForAccessibility="no-hide-descendants"
1676
+ collapsable={false}
1570
1677
  style={
1571
- Array [
1572
- Object {
1573
- "flex": 1,
1574
- },
1575
- Array [
1576
- Object {
1678
+ {
1679
+ "bottom": 0,
1680
+ "left": 0,
1681
+ "position": "absolute",
1682
+ "right": 0,
1683
+ "top": 0,
1684
+ }
1685
+ }
1686
+ >
1687
+ <View
1688
+ accessibilityElementsHidden={false}
1689
+ importantForAccessibility="auto"
1690
+ style={
1691
+ [
1692
+ {
1577
1693
  "flex": 1,
1578
- "overflow": "hidden",
1579
1694
  },
1580
- null,
1581
- ],
1582
- ]
1695
+ [
1696
+ {
1697
+ "flex": 1,
1698
+ "overflow": "hidden",
1699
+ },
1700
+ {
1701
+ "bottom": 0,
1702
+ "left": 0,
1703
+ "position": "absolute",
1704
+ "right": 0,
1705
+ "top": 0,
1706
+ },
1707
+ ],
1708
+ ]
1709
+ }
1710
+ >
1711
+ <Text>
1712
+ Work Screen
1713
+
1714
+ focused
1715
+ </Text>
1716
+ </View>
1717
+ </View>
1718
+ <View
1719
+ collapsable={false}
1720
+ style={
1721
+ {
1722
+ "bottom": 0,
1723
+ "left": 0,
1724
+ "position": "absolute",
1725
+ "right": 0,
1726
+ "top": 0,
1727
+ }
1583
1728
  }
1584
1729
  >
1585
- <Text>
1586
- Personal Screen
1587
-
1588
- unfocused
1589
- </Text>
1730
+ <View
1731
+ accessibilityElementsHidden={true}
1732
+ importantForAccessibility="no-hide-descendants"
1733
+ style={
1734
+ [
1735
+ {
1736
+ "flex": 1,
1737
+ },
1738
+ [
1739
+ {
1740
+ "flex": 1,
1741
+ "overflow": "hidden",
1742
+ },
1743
+ null,
1744
+ ],
1745
+ ]
1746
+ }
1747
+ >
1748
+ <Text>
1749
+ Personal Screen
1750
+
1751
+ unfocused
1752
+ </Text>
1753
+ </View>
1590
1754
  </View>
1591
- </View>
1592
- <View
1593
- collapsable={false}
1594
- style={
1595
- Object {
1596
- "bottom": 0,
1597
- "left": 0,
1598
- "position": "absolute",
1599
- "right": 0,
1600
- "top": 0,
1601
- }
1602
- }
1603
- >
1604
1755
  <View
1605
- accessibilityElementsHidden={true}
1606
- importantForAccessibility="no-hide-descendants"
1756
+ collapsable={false}
1607
1757
  style={
1608
- Array [
1609
- Object {
1610
- "flex": 1,
1611
- },
1612
- Array [
1613
- Object {
1758
+ {
1759
+ "bottom": 0,
1760
+ "left": 0,
1761
+ "position": "absolute",
1762
+ "right": 0,
1763
+ "top": 0,
1764
+ }
1765
+ }
1766
+ >
1767
+ <View
1768
+ accessibilityElementsHidden={true}
1769
+ importantForAccessibility="no-hide-descendants"
1770
+ style={
1771
+ [
1772
+ {
1614
1773
  "flex": 1,
1615
- "overflow": "hidden",
1616
1774
  },
1617
- null,
1618
- ],
1619
- ]
1620
- }
1621
- />
1622
- </View>
1623
- <View
1624
- collapsable={false}
1625
- style={
1626
- Object {
1627
- "bottom": 0,
1628
- "left": 0,
1629
- "position": "absolute",
1630
- "right": 0,
1631
- "top": 0,
1632
- }
1633
- }
1634
- >
1775
+ [
1776
+ {
1777
+ "flex": 1,
1778
+ "overflow": "hidden",
1779
+ },
1780
+ null,
1781
+ ],
1782
+ ]
1783
+ }
1784
+ />
1785
+ </View>
1635
1786
  <View
1636
- accessibilityElementsHidden={true}
1637
- importantForAccessibility="no-hide-descendants"
1787
+ collapsable={false}
1638
1788
  style={
1639
- Array [
1640
- Object {
1641
- "flex": 1,
1642
- },
1643
- Array [
1644
- Object {
1789
+ {
1790
+ "bottom": 0,
1791
+ "left": 0,
1792
+ "position": "absolute",
1793
+ "right": 0,
1794
+ "top": 0,
1795
+ }
1796
+ }
1797
+ >
1798
+ <View
1799
+ accessibilityElementsHidden={true}
1800
+ importantForAccessibility="no-hide-descendants"
1801
+ style={
1802
+ [
1803
+ {
1645
1804
  "flex": 1,
1646
- "overflow": "hidden",
1647
1805
  },
1648
- null,
1649
- ],
1650
- ]
1651
- }
1652
- />
1653
- </View>
1654
- </RNCViewPager>
1655
- </View>
1656
- </RNCSafeAreaProvider>
1806
+ [
1807
+ {
1808
+ "flex": 1,
1809
+ "overflow": "hidden",
1810
+ },
1811
+ null,
1812
+ ],
1813
+ ]
1814
+ }
1815
+ />
1816
+ </View>
1817
+ </RNCViewPager>
1818
+ </View>
1819
+ </RNCSafeAreaProvider>
1820
+ <View
1821
+ pointerEvents="box-none"
1822
+ position="bottom"
1823
+ style={
1824
+ [
1825
+ {
1826
+ "bottom": 0,
1827
+ "elevation": 9999,
1828
+ "flexDirection": "column-reverse",
1829
+ "left": 0,
1830
+ "paddingHorizontal": 24,
1831
+ "paddingVertical": 16,
1832
+ "position": "absolute",
1833
+ "right": 0,
1834
+ "top": 0,
1835
+ },
1836
+ undefined,
1837
+ ]
1838
+ }
1839
+ />
1840
+ </View>
1657
1841
  `;
1658
1842
 
1659
1843
  exports[`useIsFocused renders correctly 1`] = `
1660
- <RNCSafeAreaProvider
1661
- onInsetsChange={[Function]}
1844
+ <View
1662
1845
  style={
1663
- Array [
1664
- Object {
1665
- "flex": 1,
1666
- },
1667
- undefined,
1668
- ]
1846
+ {
1847
+ "flex": 1,
1848
+ }
1669
1849
  }
1670
1850
  >
1671
- <View
1672
- accessible={true}
1673
- collapsable={false}
1674
- focusable={true}
1675
- onClick={[Function]}
1676
- onResponderGrant={[Function]}
1677
- onResponderMove={[Function]}
1678
- onResponderRelease={[Function]}
1679
- onResponderTerminate={[Function]}
1680
- onResponderTerminationRequest={[Function]}
1681
- onStartShouldSetResponder={[Function]}
1851
+ <RNCSafeAreaProvider
1852
+ onInsetsChange={[Function]}
1682
1853
  style={
1683
- Object {
1684
- "alignItems": "center",
1685
- "backgroundColor": "#f6f6f7",
1686
- "borderRadius": 8,
1687
- "flexDirection": "row",
1688
- "justifyContent": "center",
1689
- "opacity": 1,
1690
- "padding": 8,
1691
- "width": "100%",
1692
- }
1854
+ [
1855
+ {
1856
+ "flex": 1,
1857
+ },
1858
+ undefined,
1859
+ ]
1693
1860
  }
1694
1861
  >
1695
1862
  <View
1863
+ accessibilityState={
1864
+ {
1865
+ "busy": undefined,
1866
+ "checked": undefined,
1867
+ "disabled": undefined,
1868
+ "expanded": undefined,
1869
+ "selected": undefined,
1870
+ }
1871
+ }
1872
+ accessibilityValue={
1873
+ {
1874
+ "max": undefined,
1875
+ "min": undefined,
1876
+ "now": undefined,
1877
+ "text": undefined,
1878
+ }
1879
+ }
1880
+ accessible={true}
1881
+ collapsable={false}
1882
+ focusable={true}
1883
+ onClick={[Function]}
1884
+ onResponderGrant={[Function]}
1885
+ onResponderMove={[Function]}
1886
+ onResponderRelease={[Function]}
1887
+ onResponderTerminate={[Function]}
1888
+ onResponderTerminationRequest={[Function]}
1889
+ onStartShouldSetResponder={[Function]}
1696
1890
  style={
1697
- Array [
1698
- Object {
1699
- "paddingRight": 12,
1700
- },
1701
- undefined,
1702
- ]
1891
+ {
1892
+ "alignItems": "center",
1893
+ "backgroundColor": "#ffffff",
1894
+ "borderRadius": 8,
1895
+ "flexDirection": "row",
1896
+ "justifyContent": "center",
1897
+ "opacity": 1,
1898
+ "padding": 8,
1899
+ "width": "100%",
1900
+ }
1703
1901
  }
1704
1902
  >
1705
- <HeroIcon
1706
- name="sync"
1903
+ <View
1707
1904
  style={
1708
- Array [
1709
- Object {
1710
- "color": "#001f23",
1711
- "fontSize": 24,
1905
+ [
1906
+ {
1907
+ "paddingRight": 12,
1712
1908
  },
1713
1909
  undefined,
1714
1910
  ]
1715
1911
  }
1716
- testID="undefined-icon"
1717
- themeIntent="text"
1718
- themeSize="medium"
1719
- />
1720
- </View>
1721
- <Text
1722
- allowFontScaling={false}
1723
- style={
1724
- Array [
1725
- Object {
1726
- "color": "#001f23",
1727
- "fontFamily": "BeVietnamPro-Regular",
1728
- "fontSize": 14,
1729
- "letterSpacing": 0.42,
1730
- "lineHeight": 22,
1731
- },
1732
- Array [
1733
- Object {
1734
- "flexShrink": 1,
1912
+ >
1913
+ <HeroIcon
1914
+ name="sync"
1915
+ style={
1916
+ [
1917
+ {
1918
+ "color": "#001f23",
1919
+ "fontSize": 24,
1920
+ },
1921
+ undefined,
1922
+ ]
1923
+ }
1924
+ testID="undefined-icon"
1925
+ themeIntent="text"
1926
+ themeSize="medium"
1927
+ />
1928
+ </View>
1929
+ <Text
1930
+ allowFontScaling={false}
1931
+ style={
1932
+ [
1933
+ {
1934
+ "color": "#001f23",
1735
1935
  "fontFamily": "BeVietnamPro-Regular",
1736
1936
  "fontSize": 16,
1737
- "textAlign": "center",
1937
+ "letterSpacing": 0.48,
1938
+ "lineHeight": 24,
1738
1939
  },
1739
- undefined,
1740
- ],
1741
- ]
1742
- }
1743
- themeFontSize="medium"
1744
- themeFontWeight="regular"
1745
- themeIntent="body"
1746
- themeTypeface="neutral"
1747
- >
1748
- Move to Work
1749
- </Text>
1750
- </View>
1751
- <View
1752
- style={
1753
- Array [
1754
- Object {
1755
- "flex": 1,
1756
- "overflow": "hidden",
1757
- },
1758
- undefined,
1759
- ]
1760
- }
1761
- >
1940
+ [
1941
+ {
1942
+ "flexShrink": 1,
1943
+ "textAlign": "center",
1944
+ },
1945
+ undefined,
1946
+ ],
1947
+ ]
1948
+ }
1949
+ themeIntent="body"
1950
+ themeTypeface="neutral"
1951
+ themeVariant="regular"
1952
+ >
1953
+ Move to Work
1954
+ </Text>
1955
+ </View>
1762
1956
  <View
1763
1957
  style={
1764
- Array [
1765
- Object {
1766
- "borderBottomColor": "#e8e9ea",
1767
- "borderBottomWidth": 1,
1768
- "paddingHorizontal": 0,
1958
+ [
1959
+ {
1960
+ "flex": 1,
1961
+ "overflow": "hidden",
1769
1962
  },
1770
1963
  undefined,
1771
1964
  ]
1772
1965
  }
1773
- themeInsets={
1774
- Object {
1775
- "bottom": 0,
1776
- "left": 0,
1777
- "right": 0,
1778
- "top": 0,
1779
- }
1780
- }
1781
1966
  >
1782
- <RCTScrollView
1783
- contentContainerStyle={
1784
- Object {
1785
- "paddingHorizontal": 8,
1786
- }
1787
- }
1788
- data={
1789
- Array [
1790
- Object {
1791
- "activeItem": "Work",
1792
- "component": <CustomScreen
1793
- title="Work Screen"
1794
- />,
1795
- "key": "work",
1796
- },
1797
- Object {
1798
- "activeItem": "speaker",
1799
- "component": <CustomScreen
1800
- title="Personal Screen"
1801
- />,
1802
- "inactiveItem": "speaker-outlined",
1803
- "key": "personal",
1804
- },
1805
- Object {
1806
- "activeItem": "home",
1807
- "badge": Object {
1808
- "type": "status",
1809
- },
1810
- "component": <CustomScreen
1811
- title="Home Screen"
1812
- />,
1813
- "inactiveItem": "home-outlined",
1814
- "key": "home",
1815
- },
1816
- Object {
1817
- "activeItem": "calendar",
1818
- "badge": Object {
1819
- "type": "counter",
1820
- "value": 50,
1821
- },
1822
- "component": <CustomScreen
1823
- title="Calendar Screen"
1824
- />,
1825
- "inactiveItem": "calendar-dates-outlined",
1826
- "key": "calendar",
1967
+ <View
1968
+ style={
1969
+ [
1970
+ {
1971
+ "paddingHorizontal": 0,
1827
1972
  },
1973
+ undefined,
1828
1974
  ]
1829
1975
  }
1830
- getItem={[Function]}
1831
- getItemCount={[Function]}
1832
- horizontal={true}
1833
- keyExtractor={[Function]}
1834
- onContentSizeChange={[Function]}
1835
- onLayout={[Function]}
1836
- onMomentumScrollBegin={[Function]}
1837
- onMomentumScrollEnd={[Function]}
1838
- onScroll={[Function]}
1839
- onScrollBeginDrag={[Function]}
1840
- onScrollEndDrag={[Function]}
1841
- onScrollToIndexFailed={[Function]}
1842
- removeClippedSubviews={false}
1843
- renderItem={[Function]}
1844
- scrollEventThrottle={50}
1845
- showsHorizontalScrollIndicator={false}
1846
- stickyHeaderIndices={Array []}
1847
- viewabilityConfigCallbackPairs={Array []}
1976
+ themeInsets={
1977
+ {
1978
+ "bottom": 0,
1979
+ "left": 0,
1980
+ "right": 0,
1981
+ "top": 0,
1982
+ }
1983
+ }
1848
1984
  >
1849
- <View>
1850
- <View
1851
- onLayout={[Function]}
1852
- style={
1853
- Array [
1854
- Object {
1855
- "flexDirection": "row",
1985
+ <RCTScrollView
1986
+ contentContainerStyle={
1987
+ {
1988
+ "paddingHorizontal": 8,
1989
+ }
1990
+ }
1991
+ data={
1992
+ [
1993
+ {
1994
+ "activeItem": "Work",
1995
+ "component": <CustomScreen
1996
+ title="Work Screen"
1997
+ />,
1998
+ "key": "work",
1999
+ },
2000
+ {
2001
+ "activeItem": "speaker",
2002
+ "component": <CustomScreen
2003
+ title="Personal Screen"
2004
+ />,
2005
+ "inactiveItem": "speaker-outlined",
2006
+ "key": "personal",
2007
+ },
2008
+ {
2009
+ "activeItem": "home",
2010
+ "badge": {
2011
+ "type": "status",
1856
2012
  },
1857
- null,
1858
- ]
2013
+ "component": <CustomScreen
2014
+ title="Home Screen"
2015
+ />,
2016
+ "inactiveItem": "home-outlined",
2017
+ "key": "home",
2018
+ },
2019
+ {
2020
+ "activeItem": "calendar",
2021
+ "badge": {
2022
+ "type": "counter",
2023
+ "value": 50,
2024
+ },
2025
+ "component": <CustomScreen
2026
+ title="Calendar Screen"
2027
+ />,
2028
+ "inactiveItem": "calendar-dates-outlined",
2029
+ "key": "calendar",
2030
+ },
2031
+ ]
2032
+ }
2033
+ getItem={[Function]}
2034
+ getItemCount={[Function]}
2035
+ horizontal={true}
2036
+ keyExtractor={[Function]}
2037
+ onContentSizeChange={[Function]}
2038
+ onLayout={[Function]}
2039
+ onMomentumScrollBegin={[Function]}
2040
+ onMomentumScrollEnd={[Function]}
2041
+ onScroll={[Function]}
2042
+ onScrollBeginDrag={[Function]}
2043
+ onScrollEndDrag={[Function]}
2044
+ onScrollToIndexFailed={[Function]}
2045
+ removeClippedSubviews={false}
2046
+ renderItem={[Function]}
2047
+ scrollEventThrottle={50}
2048
+ showsHorizontalScrollIndicator={false}
2049
+ stickyHeaderIndices={[]}
2050
+ style={
2051
+ {
2052
+ "borderBottomColor": "#e8e9ea",
2053
+ "borderBottomWidth": 2,
1859
2054
  }
1860
- >
2055
+ }
2056
+ viewabilityConfigCallbackPairs={[]}
2057
+ >
2058
+ <View>
1861
2059
  <View
1862
- accessible={true}
1863
- collapsable={false}
1864
- focusable={true}
1865
- isFirstItem={true}
1866
- onClick={[Function]}
1867
- onResponderGrant={[Function]}
1868
- onResponderMove={[Function]}
1869
- onResponderRelease={[Function]}
1870
- onResponderTerminate={[Function]}
1871
- onResponderTerminationRequest={[Function]}
1872
- onStartShouldSetResponder={[Function]}
2060
+ onFocusCapture={[Function]}
2061
+ onLayout={[Function]}
1873
2062
  style={
1874
- Object {
1875
- "marginLeft": 0,
1876
- "paddingVertical": 8,
1877
- }
2063
+ [
2064
+ {
2065
+ "flexDirection": "row",
2066
+ },
2067
+ null,
2068
+ ]
1878
2069
  }
1879
2070
  >
1880
2071
  <View
1881
- style={
1882
- Array [
1883
- Object {
1884
- "bottom": 0,
1885
- "left": 0,
1886
- "paddingVertical": 8,
1887
- "position": "absolute",
1888
- "right": 0,
1889
- "top": 0,
1890
- },
1891
- undefined,
1892
- ]
1893
- }
1894
- >
1895
- <View
1896
- collapsable={false}
1897
- style={
1898
- Object {
1899
- "backgroundColor": "#ccd2d3",
1900
- "borderRadius": 8,
1901
- "flex": 1,
1902
- "transform": Array [
1903
- Object {
1904
- "scaleX": 1,
1905
- },
1906
- ],
1907
- }
2072
+ accessibilityState={
2073
+ {
2074
+ "busy": undefined,
2075
+ "checked": undefined,
2076
+ "disabled": undefined,
2077
+ "expanded": undefined,
2078
+ "selected": undefined,
1908
2079
  }
1909
- themeActive={true}
1910
- />
1911
- </View>
1912
- <View
1913
- style={
1914
- Array [
1915
- Object {
1916
- "paddingHorizontal": 8,
1917
- "paddingVertical": 4,
1918
- },
1919
- undefined,
1920
- ]
1921
- }
1922
- >
1923
- <View>
1924
- <Text
1925
- allowFontScaling={false}
1926
- numberOfLines={1}
1927
- style={
1928
- Array [
1929
- Object {
1930
- "color": "#001f23",
1931
- "fontFamily": "BeVietnamPro-SemiBold",
1932
- "fontSize": 14,
1933
- "letterSpacing": 0.42,
1934
- "lineHeight": 22,
1935
- },
1936
- Object {
1937
- "color": "#001f23",
1938
- },
1939
- ]
1940
- }
1941
- themeFontSize="medium"
1942
- themeFontWeight="semi-bold"
1943
- themeIntent="body"
1944
- themeTypeface="neutral"
1945
- >
1946
- Work
1947
- </Text>
1948
- </View>
1949
- </View>
1950
- </View>
1951
- </View>
1952
- <View
1953
- onLayout={[Function]}
1954
- style={
1955
- Array [
1956
- Object {
1957
- "flexDirection": "row",
1958
- },
1959
- null,
1960
- ]
1961
- }
1962
- >
1963
- <View
1964
- accessible={true}
1965
- collapsable={false}
1966
- focusable={true}
1967
- isFirstItem={false}
1968
- onClick={[Function]}
1969
- onResponderGrant={[Function]}
1970
- onResponderMove={[Function]}
1971
- onResponderRelease={[Function]}
1972
- onResponderTerminate={[Function]}
1973
- onResponderTerminationRequest={[Function]}
1974
- onStartShouldSetResponder={[Function]}
1975
- style={
1976
- Object {
1977
- "marginLeft": 12,
1978
- "paddingVertical": 8,
1979
2080
  }
1980
- }
1981
- >
1982
- <View
2081
+ accessible={true}
2082
+ collapsable={false}
2083
+ focusable={true}
2084
+ isFirstItem={true}
2085
+ onClick={[Function]}
2086
+ onResponderGrant={[Function]}
2087
+ onResponderMove={[Function]}
2088
+ onResponderRelease={[Function]}
2089
+ onResponderTerminate={[Function]}
2090
+ onResponderTerminationRequest={[Function]}
2091
+ onStartShouldSetResponder={[Function]}
1983
2092
  style={
1984
- Array [
1985
- Object {
1986
- "bottom": 0,
1987
- "left": 0,
1988
- "paddingVertical": 8,
1989
- "position": "absolute",
1990
- "right": 0,
1991
- "top": 0,
1992
- },
1993
- undefined,
1994
- ]
2093
+ {
2094
+ "marginLeft": 0,
2095
+ "paddingVertical": 8,
2096
+ }
1995
2097
  }
1996
2098
  >
1997
2099
  <View
1998
- collapsable={false}
1999
2100
  style={
2000
- Object {
2001
- "backgroundColor": undefined,
2002
- "borderRadius": 8,
2003
- "flex": 1,
2004
- "transform": Array [
2005
- Object {
2006
- "scaleX": 0,
2007
- },
2008
- ],
2009
- }
2101
+ [
2102
+ {
2103
+ "bottom": 0,
2104
+ "left": 0,
2105
+ "paddingVertical": 8,
2106
+ "position": "absolute",
2107
+ "right": 0,
2108
+ "top": 0,
2109
+ },
2110
+ undefined,
2111
+ ]
2010
2112
  }
2011
- themeActive={false}
2012
- />
2013
- </View>
2014
- <View
2015
- style={
2016
- Array [
2017
- Object {
2018
- "paddingHorizontal": 8,
2019
- "paddingVertical": 4,
2020
- },
2021
- undefined,
2022
- ]
2023
- }
2024
- >
2025
- <View>
2026
- <HeroIcon
2027
- name="speaker-outlined"
2113
+ >
2114
+ <View
2115
+ collapsable={false}
2028
2116
  style={
2029
- Array [
2030
- Object {
2031
- "color": "#001f23",
2032
- "fontSize": 20,
2033
- },
2034
- Object {
2035
- "color": "#001f23",
2036
- },
2037
- ]
2117
+ {
2118
+ "backgroundColor": "#ccd2d3",
2119
+ "borderRadius": 16,
2120
+ "flex": 1,
2121
+ "transform": [
2122
+ {
2123
+ "scaleX": 1,
2124
+ },
2125
+ ],
2126
+ }
2038
2127
  }
2039
- testID="hero-icon-speaker-outlined"
2040
- themeIntent="text"
2041
- themeSize="small"
2128
+ themeActive={true}
2042
2129
  />
2043
2130
  </View>
2044
- </View>
2045
- </View>
2046
- </View>
2047
- <View
2048
- onLayout={[Function]}
2049
- style={
2050
- Array [
2051
- Object {
2052
- "flexDirection": "row",
2053
- },
2054
- null,
2055
- ]
2056
- }
2057
- >
2131
+ <View
2132
+ style={
2133
+ [
2134
+ {
2135
+ "alignItems": "center",
2136
+ "justifyContent": "center",
2137
+ "paddingHorizontal": 8,
2138
+ "paddingVertical": 4,
2139
+ "position": "relative",
2140
+ },
2141
+ undefined,
2142
+ ]
2143
+ }
2144
+ >
2145
+ <View>
2146
+ <Text
2147
+ allowFontScaling={false}
2148
+ numberOfLines={1}
2149
+ style={
2150
+ [
2151
+ {
2152
+ "color": "#001f23",
2153
+ "fontFamily": "BeVietnamPro-SemiBold",
2154
+ "fontSize": 16,
2155
+ "letterSpacing": 0.24,
2156
+ "lineHeight": 24,
2157
+ },
2158
+ {
2159
+ "color": "#001f23",
2160
+ },
2161
+ ]
2162
+ }
2163
+ themeIntent="body"
2164
+ themeTypeface="neutral"
2165
+ themeVariant="regular-bold"
2166
+ >
2167
+ Work
2168
+ </Text>
2169
+ </View>
2170
+ </View>
2171
+ </View>
2172
+ </View>
2058
2173
  <View
2059
- accessible={true}
2060
- collapsable={false}
2061
- focusable={true}
2062
- isFirstItem={false}
2063
- onClick={[Function]}
2064
- onResponderGrant={[Function]}
2065
- onResponderMove={[Function]}
2066
- onResponderRelease={[Function]}
2067
- onResponderTerminate={[Function]}
2068
- onResponderTerminationRequest={[Function]}
2069
- onStartShouldSetResponder={[Function]}
2174
+ onFocusCapture={[Function]}
2175
+ onLayout={[Function]}
2070
2176
  style={
2071
- Object {
2072
- "marginLeft": 12,
2073
- "paddingVertical": 8,
2074
- }
2177
+ [
2178
+ {
2179
+ "flexDirection": "row",
2180
+ },
2181
+ null,
2182
+ ]
2075
2183
  }
2076
2184
  >
2077
2185
  <View
2078
- style={
2079
- Array [
2080
- Object {
2081
- "bottom": 0,
2082
- "left": 0,
2083
- "paddingVertical": 8,
2084
- "position": "absolute",
2085
- "right": 0,
2086
- "top": 0,
2087
- },
2088
- undefined,
2089
- ]
2090
- }
2091
- >
2092
- <View
2093
- collapsable={false}
2094
- style={
2095
- Object {
2096
- "backgroundColor": undefined,
2097
- "borderRadius": 8,
2098
- "flex": 1,
2099
- "transform": Array [
2100
- Object {
2101
- "scaleX": 0,
2102
- },
2103
- ],
2104
- }
2186
+ accessibilityState={
2187
+ {
2188
+ "busy": undefined,
2189
+ "checked": undefined,
2190
+ "disabled": undefined,
2191
+ "expanded": undefined,
2192
+ "selected": undefined,
2105
2193
  }
2106
- themeActive={false}
2107
- />
2108
- </View>
2109
- <View
2194
+ }
2195
+ accessible={true}
2196
+ collapsable={false}
2197
+ focusable={true}
2198
+ isFirstItem={false}
2199
+ onClick={[Function]}
2200
+ onResponderGrant={[Function]}
2201
+ onResponderMove={[Function]}
2202
+ onResponderRelease={[Function]}
2203
+ onResponderTerminate={[Function]}
2204
+ onResponderTerminationRequest={[Function]}
2205
+ onStartShouldSetResponder={[Function]}
2110
2206
  style={
2111
- Array [
2112
- Object {
2113
- "paddingHorizontal": 8,
2114
- "paddingVertical": 4,
2115
- },
2116
- undefined,
2117
- ]
2207
+ {
2208
+ "marginLeft": 12,
2209
+ "paddingVertical": 8,
2210
+ }
2118
2211
  }
2119
2212
  >
2120
2213
  <View
2121
2214
  style={
2122
- Object {
2123
- "paddingHorizontal": 4,
2124
- }
2215
+ [
2216
+ {
2217
+ "bottom": 0,
2218
+ "left": 0,
2219
+ "paddingVertical": 8,
2220
+ "position": "absolute",
2221
+ "right": 0,
2222
+ "top": 0,
2223
+ },
2224
+ undefined,
2225
+ ]
2125
2226
  }
2126
2227
  >
2127
- <HeroIcon
2128
- name="home-outlined"
2129
- style={
2130
- Array [
2131
- Object {
2132
- "color": "#001f23",
2133
- "fontSize": 20,
2134
- },
2135
- Object {
2136
- "color": "#001f23",
2137
- },
2138
- ]
2139
- }
2140
- testID="hero-icon-home-outlined"
2141
- themeIntent="text"
2142
- themeSize="small"
2143
- />
2144
2228
  <View
2145
2229
  collapsable={false}
2146
2230
  style={
2147
- Object {
2148
- "backgroundColor": "#de350b",
2149
- "borderRadius": 999,
2150
- "height": 8,
2151
- "opacity": 1,
2152
- "position": "absolute",
2153
- "right": -2,
2154
- "top": -2,
2155
- "transform": Array [
2156
- Object {
2157
- "scale": 1,
2231
+ {
2232
+ "backgroundColor": undefined,
2233
+ "borderRadius": 16,
2234
+ "flex": 1,
2235
+ "transform": [
2236
+ {
2237
+ "scaleX": 0,
2158
2238
  },
2159
2239
  ],
2160
- "width": 8,
2161
2240
  }
2162
2241
  }
2163
- themeIntent="danger"
2242
+ themeActive={false}
2164
2243
  />
2165
2244
  </View>
2245
+ <View
2246
+ style={
2247
+ [
2248
+ {
2249
+ "alignItems": "center",
2250
+ "justifyContent": "center",
2251
+ "paddingHorizontal": 8,
2252
+ "paddingVertical": 4,
2253
+ "position": "relative",
2254
+ },
2255
+ undefined,
2256
+ ]
2257
+ }
2258
+ >
2259
+ <View>
2260
+ <HeroIcon
2261
+ name="speaker-outlined"
2262
+ style={
2263
+ [
2264
+ {
2265
+ "color": "#001f23",
2266
+ "fontSize": 20,
2267
+ },
2268
+ {
2269
+ "color": "#001f23",
2270
+ },
2271
+ ]
2272
+ }
2273
+ testID="hero-icon-speaker-outlined"
2274
+ themeIntent="text"
2275
+ themeSize="small"
2276
+ />
2277
+ </View>
2278
+ </View>
2166
2279
  </View>
2167
2280
  </View>
2168
- </View>
2169
- <View
2170
- onLayout={[Function]}
2171
- style={
2172
- Array [
2173
- Object {
2174
- "flexDirection": "row",
2175
- },
2176
- null,
2177
- ]
2178
- }
2179
- >
2180
2281
  <View
2181
- accessible={true}
2182
- collapsable={false}
2183
- focusable={true}
2184
- isFirstItem={false}
2185
- onClick={[Function]}
2186
- onResponderGrant={[Function]}
2187
- onResponderMove={[Function]}
2188
- onResponderRelease={[Function]}
2189
- onResponderTerminate={[Function]}
2190
- onResponderTerminationRequest={[Function]}
2191
- onStartShouldSetResponder={[Function]}
2282
+ onFocusCapture={[Function]}
2283
+ onLayout={[Function]}
2192
2284
  style={
2193
- Object {
2194
- "marginLeft": 12,
2195
- "paddingVertical": 8,
2196
- }
2285
+ [
2286
+ {
2287
+ "flexDirection": "row",
2288
+ },
2289
+ null,
2290
+ ]
2197
2291
  }
2198
2292
  >
2199
2293
  <View
2294
+ accessibilityState={
2295
+ {
2296
+ "busy": undefined,
2297
+ "checked": undefined,
2298
+ "disabled": undefined,
2299
+ "expanded": undefined,
2300
+ "selected": undefined,
2301
+ }
2302
+ }
2303
+ accessible={true}
2304
+ collapsable={false}
2305
+ focusable={true}
2306
+ isFirstItem={false}
2307
+ onClick={[Function]}
2308
+ onResponderGrant={[Function]}
2309
+ onResponderMove={[Function]}
2310
+ onResponderRelease={[Function]}
2311
+ onResponderTerminate={[Function]}
2312
+ onResponderTerminationRequest={[Function]}
2313
+ onStartShouldSetResponder={[Function]}
2200
2314
  style={
2201
- Array [
2202
- Object {
2203
- "bottom": 0,
2204
- "left": 0,
2205
- "paddingVertical": 8,
2206
- "position": "absolute",
2207
- "right": 0,
2208
- "top": 0,
2209
- },
2210
- undefined,
2211
- ]
2315
+ {
2316
+ "marginLeft": 12,
2317
+ "paddingVertical": 8,
2318
+ }
2212
2319
  }
2213
2320
  >
2214
2321
  <View
2215
- collapsable={false}
2216
2322
  style={
2217
- Object {
2218
- "backgroundColor": undefined,
2219
- "borderRadius": 8,
2220
- "flex": 1,
2221
- "transform": Array [
2222
- Object {
2223
- "scaleX": 0,
2224
- },
2225
- ],
2323
+ [
2324
+ {
2325
+ "bottom": 0,
2326
+ "left": 0,
2327
+ "paddingVertical": 8,
2328
+ "position": "absolute",
2329
+ "right": 0,
2330
+ "top": 0,
2331
+ },
2332
+ undefined,
2333
+ ]
2334
+ }
2335
+ >
2336
+ <View
2337
+ collapsable={false}
2338
+ style={
2339
+ {
2340
+ "backgroundColor": undefined,
2341
+ "borderRadius": 16,
2342
+ "flex": 1,
2343
+ "transform": [
2344
+ {
2345
+ "scaleX": 0,
2346
+ },
2347
+ ],
2348
+ }
2226
2349
  }
2350
+ themeActive={false}
2351
+ />
2352
+ </View>
2353
+ <View
2354
+ style={
2355
+ [
2356
+ {
2357
+ "alignItems": "center",
2358
+ "justifyContent": "center",
2359
+ "paddingHorizontal": 8,
2360
+ "paddingVertical": 4,
2361
+ "position": "relative",
2362
+ },
2363
+ undefined,
2364
+ ]
2227
2365
  }
2228
- themeActive={false}
2229
- />
2366
+ >
2367
+ <View
2368
+ style={
2369
+ {
2370
+ "paddingHorizontal": 4,
2371
+ }
2372
+ }
2373
+ >
2374
+ <HeroIcon
2375
+ name="home-outlined"
2376
+ style={
2377
+ [
2378
+ {
2379
+ "color": "#001f23",
2380
+ "fontSize": 20,
2381
+ },
2382
+ {
2383
+ "color": "#001f23",
2384
+ },
2385
+ ]
2386
+ }
2387
+ testID="hero-icon-home-outlined"
2388
+ themeIntent="text"
2389
+ themeSize="small"
2390
+ />
2391
+ <View
2392
+ collapsable={false}
2393
+ style={
2394
+ {
2395
+ "backgroundColor": "#cb300a",
2396
+ "borderRadius": 999,
2397
+ "height": 8,
2398
+ "opacity": 1,
2399
+ "position": "absolute",
2400
+ "right": -2,
2401
+ "top": -2,
2402
+ "transform": [
2403
+ {
2404
+ "scale": 1,
2405
+ },
2406
+ ],
2407
+ "width": 8,
2408
+ }
2409
+ }
2410
+ themeIntent="danger"
2411
+ />
2412
+ </View>
2413
+ </View>
2230
2414
  </View>
2415
+ </View>
2416
+ <View
2417
+ onFocusCapture={[Function]}
2418
+ onLayout={[Function]}
2419
+ style={
2420
+ [
2421
+ {
2422
+ "flexDirection": "row",
2423
+ },
2424
+ null,
2425
+ ]
2426
+ }
2427
+ >
2231
2428
  <View
2429
+ accessibilityState={
2430
+ {
2431
+ "busy": undefined,
2432
+ "checked": undefined,
2433
+ "disabled": undefined,
2434
+ "expanded": undefined,
2435
+ "selected": undefined,
2436
+ }
2437
+ }
2438
+ accessible={true}
2439
+ collapsable={false}
2440
+ focusable={true}
2441
+ isFirstItem={false}
2442
+ onClick={[Function]}
2443
+ onResponderGrant={[Function]}
2444
+ onResponderMove={[Function]}
2445
+ onResponderRelease={[Function]}
2446
+ onResponderTerminate={[Function]}
2447
+ onResponderTerminationRequest={[Function]}
2448
+ onStartShouldSetResponder={[Function]}
2232
2449
  style={
2233
- Array [
2234
- Object {
2235
- "paddingHorizontal": 8,
2236
- "paddingVertical": 4,
2237
- },
2238
- undefined,
2239
- ]
2450
+ {
2451
+ "marginLeft": 12,
2452
+ "paddingVertical": 8,
2453
+ }
2240
2454
  }
2241
2455
  >
2242
2456
  <View
2243
2457
  style={
2244
- Array [
2245
- Object {
2246
- "alignItems": "center",
2247
- "flexDirection": "row",
2458
+ [
2459
+ {
2460
+ "bottom": 0,
2461
+ "left": 0,
2462
+ "paddingVertical": 8,
2463
+ "position": "absolute",
2464
+ "right": 0,
2465
+ "top": 0,
2248
2466
  },
2249
2467
  undefined,
2250
2468
  ]
2251
2469
  }
2252
2470
  >
2253
- <HeroIcon
2254
- name="calendar-dates-outlined"
2255
- style={
2256
- Array [
2257
- Object {
2258
- "color": "#001f23",
2259
- "fontSize": 20,
2260
- },
2261
- Object {
2262
- "color": "#001f23",
2263
- },
2264
- ]
2265
- }
2266
- testID="hero-icon-calendar-dates-outlined"
2267
- themeIntent="text"
2268
- themeSize="small"
2269
- />
2270
2471
  <View
2271
2472
  collapsable={false}
2272
2473
  style={
2273
- Object {
2274
- "alignItems": "center",
2275
- "backgroundColor": "#4568fb",
2276
- "borderRadius": 999,
2277
- "height": 20,
2278
- "justifyContent": "center",
2279
- "marginLeft": 4,
2280
- "minWidth": 20,
2281
- "opacity": 1,
2282
- "paddingHorizontal": 8,
2283
- "transform": Array [
2284
- Object {
2285
- "scale": 1,
2474
+ {
2475
+ "backgroundColor": undefined,
2476
+ "borderRadius": 16,
2477
+ "flex": 1,
2478
+ "transform": [
2479
+ {
2480
+ "scaleX": 0,
2286
2481
  },
2287
2482
  ],
2288
2483
  }
2289
2484
  }
2290
- themeIntent="info"
2291
- themePadding="wideContent"
2485
+ themeActive={false}
2486
+ />
2487
+ </View>
2488
+ <View
2489
+ style={
2490
+ [
2491
+ {
2492
+ "alignItems": "center",
2493
+ "justifyContent": "center",
2494
+ "paddingHorizontal": 8,
2495
+ "paddingVertical": 4,
2496
+ "position": "relative",
2497
+ },
2498
+ undefined,
2499
+ ]
2500
+ }
2501
+ >
2502
+ <View
2503
+ style={
2504
+ [
2505
+ {
2506
+ "alignItems": "center",
2507
+ "flexDirection": "row",
2508
+ },
2509
+ undefined,
2510
+ ]
2511
+ }
2292
2512
  >
2293
- <Text
2294
- allowFontScaling={false}
2513
+ <HeroIcon
2514
+ name="calendar-dates-outlined"
2295
2515
  style={
2296
- Array [
2297
- Object {
2516
+ [
2517
+ {
2298
2518
  "color": "#001f23",
2299
- "fontFamily": "BeVietnamPro-Regular",
2300
- "fontSize": 14,
2301
- "letterSpacing": 0.42,
2302
- "lineHeight": 22,
2519
+ "fontSize": 20,
2303
2520
  },
2304
- Array [
2305
- Object {
2306
- "color": "#ffffff",
2307
- "fontFamily": "BeVietnamPro-SemiBold",
2308
- "fontSize": 12,
2309
- "includeFontPadding": false,
2310
- "lineHeight": 16,
2311
- "textAlign": "center",
2312
- "textAlignVertical": "center",
2521
+ {
2522
+ "color": "#001f23",
2523
+ },
2524
+ ]
2525
+ }
2526
+ testID="hero-icon-calendar-dates-outlined"
2527
+ themeIntent="text"
2528
+ themeSize="small"
2529
+ />
2530
+ <View
2531
+ collapsable={false}
2532
+ style={
2533
+ {
2534
+ "alignItems": "center",
2535
+ "backgroundColor": "#355bfb",
2536
+ "borderRadius": 999,
2537
+ "height": 20,
2538
+ "justifyContent": "center",
2539
+ "marginLeft": 4,
2540
+ "minWidth": 20,
2541
+ "opacity": 1,
2542
+ "paddingHorizontal": 8,
2543
+ "transform": [
2544
+ {
2545
+ "scale": 1,
2313
2546
  },
2314
- undefined,
2315
2547
  ],
2316
- ]
2548
+ }
2317
2549
  }
2318
- themeFontSize="medium"
2319
- themeFontWeight="regular"
2320
- themeIntent="body"
2321
- themeTypeface="neutral"
2550
+ themeIntent="info"
2551
+ themePadding="wideContent"
2322
2552
  >
2323
- 50
2324
- </Text>
2553
+ <Text
2554
+ allowFontScaling={false}
2555
+ style={
2556
+ [
2557
+ {
2558
+ "color": "#001f23",
2559
+ "fontFamily": "BeVietnamPro-Regular",
2560
+ "fontSize": 12,
2561
+ "letterSpacing": 0.36,
2562
+ "lineHeight": 16,
2563
+ },
2564
+ [
2565
+ {
2566
+ "color": "#ffffff",
2567
+ "includeFontPadding": false,
2568
+ "textAlign": "center",
2569
+ "textAlignVertical": "center",
2570
+ },
2571
+ undefined,
2572
+ ],
2573
+ ]
2574
+ }
2575
+ themeFontWeight="regular"
2576
+ themeIntent="body"
2577
+ >
2578
+ 50
2579
+ </Text>
2580
+ </View>
2325
2581
  </View>
2326
2582
  </View>
2327
2583
  </View>
2328
2584
  </View>
2329
2585
  </View>
2330
- </View>
2331
- </RCTScrollView>
2332
- </View>
2333
- <RNCViewPager
2334
- layoutDirection="ltr"
2335
- onMoveShouldSetResponderCapture={[Function]}
2336
- onPageScroll={[Function]}
2337
- onPageScrollStateChanged={[Function]}
2338
- onPageSelected={[Function]}
2339
- >
2340
- <View
2341
- collapsable={false}
2342
- style={
2343
- Object {
2344
- "bottom": 0,
2345
- "left": 0,
2346
- "position": "absolute",
2347
- "right": 0,
2348
- "top": 0,
2349
- }
2350
- }
2586
+ </RCTScrollView>
2587
+ </View>
2588
+ <RNCViewPager
2589
+ layoutDirection="ltr"
2590
+ onMoveShouldSetResponderCapture={[Function]}
2591
+ onPageScroll={[Function]}
2592
+ onPageScrollStateChanged={[Function]}
2593
+ onPageSelected={[Function]}
2351
2594
  >
2352
2595
  <View
2353
- accessibilityElementsHidden={false}
2354
- importantForAccessibility="auto"
2596
+ collapsable={false}
2355
2597
  style={
2356
- Array [
2357
- Object {
2358
- "flex": 1,
2359
- },
2360
- Array [
2361
- Object {
2362
- "flex": 1,
2363
- "overflow": "hidden",
2364
- },
2365
- Object {
2366
- "bottom": 0,
2367
- "left": 0,
2368
- "position": "absolute",
2369
- "right": 0,
2370
- "top": 0,
2371
- },
2372
- ],
2373
- ]
2598
+ {
2599
+ "bottom": 0,
2600
+ "left": 0,
2601
+ "position": "absolute",
2602
+ "right": 0,
2603
+ "top": 0,
2604
+ }
2374
2605
  }
2375
2606
  >
2376
- <Text>
2377
- Work Screen
2378
-
2379
- focused
2380
- </Text>
2607
+ <View
2608
+ accessibilityElementsHidden={false}
2609
+ importantForAccessibility="auto"
2610
+ style={
2611
+ [
2612
+ {
2613
+ "flex": 1,
2614
+ },
2615
+ [
2616
+ {
2617
+ "flex": 1,
2618
+ "overflow": "hidden",
2619
+ },
2620
+ {
2621
+ "bottom": 0,
2622
+ "left": 0,
2623
+ "position": "absolute",
2624
+ "right": 0,
2625
+ "top": 0,
2626
+ },
2627
+ ],
2628
+ ]
2629
+ }
2630
+ >
2631
+ <Text>
2632
+ Work Screen
2633
+
2634
+ focused
2635
+ </Text>
2636
+ </View>
2381
2637
  </View>
2382
- </View>
2383
- <View
2384
- collapsable={false}
2385
- style={
2386
- Object {
2387
- "bottom": 0,
2388
- "left": 0,
2389
- "position": "absolute",
2390
- "right": 0,
2391
- "top": 0,
2392
- }
2393
- }
2394
- >
2395
2638
  <View
2396
- accessibilityElementsHidden={true}
2397
- importantForAccessibility="no-hide-descendants"
2639
+ collapsable={false}
2398
2640
  style={
2399
- Array [
2400
- Object {
2401
- "flex": 1,
2402
- },
2403
- Array [
2404
- Object {
2405
- "flex": 1,
2406
- "overflow": "hidden",
2407
- },
2408
- null,
2409
- ],
2410
- ]
2641
+ {
2642
+ "bottom": 0,
2643
+ "left": 0,
2644
+ "position": "absolute",
2645
+ "right": 0,
2646
+ "top": 0,
2647
+ }
2411
2648
  }
2412
2649
  >
2413
- <Text>
2414
- Personal Screen
2415
-
2416
- unfocused
2417
- </Text>
2650
+ <View
2651
+ accessibilityElementsHidden={true}
2652
+ importantForAccessibility="no-hide-descendants"
2653
+ style={
2654
+ [
2655
+ {
2656
+ "flex": 1,
2657
+ },
2658
+ [
2659
+ {
2660
+ "flex": 1,
2661
+ "overflow": "hidden",
2662
+ },
2663
+ null,
2664
+ ],
2665
+ ]
2666
+ }
2667
+ >
2668
+ <Text>
2669
+ Personal Screen
2670
+
2671
+ unfocused
2672
+ </Text>
2673
+ </View>
2418
2674
  </View>
2419
- </View>
2420
- <View
2421
- collapsable={false}
2422
- style={
2423
- Object {
2424
- "bottom": 0,
2425
- "left": 0,
2426
- "position": "absolute",
2427
- "right": 0,
2428
- "top": 0,
2429
- }
2430
- }
2431
- >
2432
2675
  <View
2433
- accessibilityElementsHidden={true}
2434
- importantForAccessibility="no-hide-descendants"
2676
+ collapsable={false}
2435
2677
  style={
2436
- Array [
2437
- Object {
2438
- "flex": 1,
2439
- },
2440
- Array [
2441
- Object {
2678
+ {
2679
+ "bottom": 0,
2680
+ "left": 0,
2681
+ "position": "absolute",
2682
+ "right": 0,
2683
+ "top": 0,
2684
+ }
2685
+ }
2686
+ >
2687
+ <View
2688
+ accessibilityElementsHidden={true}
2689
+ importantForAccessibility="no-hide-descendants"
2690
+ style={
2691
+ [
2692
+ {
2442
2693
  "flex": 1,
2443
- "overflow": "hidden",
2444
2694
  },
2445
- null,
2446
- ],
2447
- ]
2448
- }
2449
- />
2450
- </View>
2451
- <View
2452
- collapsable={false}
2453
- style={
2454
- Object {
2455
- "bottom": 0,
2456
- "left": 0,
2457
- "position": "absolute",
2458
- "right": 0,
2459
- "top": 0,
2460
- }
2461
- }
2462
- >
2695
+ [
2696
+ {
2697
+ "flex": 1,
2698
+ "overflow": "hidden",
2699
+ },
2700
+ null,
2701
+ ],
2702
+ ]
2703
+ }
2704
+ />
2705
+ </View>
2463
2706
  <View
2464
- accessibilityElementsHidden={true}
2465
- importantForAccessibility="no-hide-descendants"
2707
+ collapsable={false}
2466
2708
  style={
2467
- Array [
2468
- Object {
2469
- "flex": 1,
2470
- },
2471
- Array [
2472
- Object {
2709
+ {
2710
+ "bottom": 0,
2711
+ "left": 0,
2712
+ "position": "absolute",
2713
+ "right": 0,
2714
+ "top": 0,
2715
+ }
2716
+ }
2717
+ >
2718
+ <View
2719
+ accessibilityElementsHidden={true}
2720
+ importantForAccessibility="no-hide-descendants"
2721
+ style={
2722
+ [
2723
+ {
2473
2724
  "flex": 1,
2474
- "overflow": "hidden",
2475
2725
  },
2476
- null,
2477
- ],
2478
- ]
2479
- }
2480
- />
2481
- </View>
2482
- </RNCViewPager>
2483
- </View>
2484
- </RNCSafeAreaProvider>
2726
+ [
2727
+ {
2728
+ "flex": 1,
2729
+ "overflow": "hidden",
2730
+ },
2731
+ null,
2732
+ ],
2733
+ ]
2734
+ }
2735
+ />
2736
+ </View>
2737
+ </RNCViewPager>
2738
+ </View>
2739
+ </RNCSafeAreaProvider>
2740
+ <View
2741
+ pointerEvents="box-none"
2742
+ position="bottom"
2743
+ style={
2744
+ [
2745
+ {
2746
+ "bottom": 0,
2747
+ "elevation": 9999,
2748
+ "flexDirection": "column-reverse",
2749
+ "left": 0,
2750
+ "paddingHorizontal": 24,
2751
+ "paddingVertical": 16,
2752
+ "position": "absolute",
2753
+ "right": 0,
2754
+ "top": 0,
2755
+ },
2756
+ undefined,
2757
+ ]
2758
+ }
2759
+ />
2760
+ </View>
2485
2761
  `;