@hero-design/rn 8.44.0-alpha.0 → 8.44.1

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