@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,1762 +1,2005 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`Tabs renders correctly 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
- <View>
124
- <View
125
- onLayout={[Function]}
126
- style={
127
- [
128
- {
129
- "flexDirection": "row",
130
- },
131
- undefined,
132
- ]
127
+ <View
128
+ style={
129
+ [
130
+ {
131
+ "borderBottomColor": "#e8e9ea",
132
+ "borderBottomWidth": 1,
133
+ "paddingHorizontal": 0,
134
+ },
135
+ undefined,
136
+ ]
137
+ }
138
+ themeInsets={
139
+ {
140
+ "bottom": 0,
141
+ "left": 0,
142
+ "right": 0,
143
+ "top": 0,
133
144
  }
134
- >
145
+ }
146
+ >
147
+ <View>
135
148
  <View
136
- accessible={true}
137
- focusable={true}
138
- onClick={[Function]}
139
- onResponderGrant={[Function]}
140
- onResponderMove={[Function]}
141
- onResponderRelease={[Function]}
142
- onResponderTerminate={[Function]}
143
- onResponderTerminationRequest={[Function]}
144
- onStartShouldSetResponder={[Function]}
149
+ onLayout={[Function]}
145
150
  style={
146
151
  [
147
152
  {
148
- "alignItems": "center",
149
- "flex": 1,
150
- "paddingVertical": 8,
153
+ "flexDirection": "row",
151
154
  },
152
155
  undefined,
153
156
  ]
154
157
  }
155
158
  >
156
- <View>
157
- <Text
158
- allowFontScaling={false}
159
- numberOfLines={1}
160
- style={
161
- [
162
- {
163
- "color": "#001f23",
164
- "fontFamily": "BeVietnamPro-SemiBold",
165
- "fontSize": 14,
166
- "letterSpacing": 0.24,
167
- "lineHeight": 22,
168
- },
169
- {
170
- "color": "#001f23",
171
- },
172
- ]
173
- }
174
- themeIntent="body"
175
- themeTypeface="neutral"
176
- themeVariant="small-bold"
177
- >
178
- Work
179
- </Text>
180
- </View>
181
- </View>
182
- <View
183
- accessible={true}
184
- focusable={true}
185
- onClick={[Function]}
186
- onResponderGrant={[Function]}
187
- onResponderMove={[Function]}
188
- onResponderRelease={[Function]}
189
- onResponderTerminate={[Function]}
190
- onResponderTerminationRequest={[Function]}
191
- onStartShouldSetResponder={[Function]}
192
- style={
193
- [
159
+ <View
160
+ accessibilityState={
194
161
  {
195
- "alignItems": "center",
196
- "flex": 1,
197
- "paddingVertical": 8,
198
- },
199
- undefined,
200
- ]
201
- }
202
- >
203
- <View>
204
- <Text
205
- allowFontScaling={false}
206
- numberOfLines={1}
207
- style={
208
- [
209
- {
210
- "color": "#001f23",
211
- "fontFamily": "BeVietnamPro-Regular",
212
- "fontSize": 14,
213
- "letterSpacing": 0.48,
214
- "lineHeight": 22,
215
- },
216
- {
217
- "color": "#001f23",
218
- },
219
- ]
162
+ "busy": undefined,
163
+ "checked": undefined,
164
+ "disabled": undefined,
165
+ "expanded": undefined,
166
+ "selected": undefined,
220
167
  }
221
- themeIntent="body"
222
- themeTypeface="neutral"
223
- themeVariant="small"
224
- >
225
- Personal
226
- </Text>
168
+ }
169
+ accessible={true}
170
+ focusable={true}
171
+ onClick={[Function]}
172
+ onResponderGrant={[Function]}
173
+ onResponderMove={[Function]}
174
+ onResponderRelease={[Function]}
175
+ onResponderTerminate={[Function]}
176
+ onResponderTerminationRequest={[Function]}
177
+ onStartShouldSetResponder={[Function]}
178
+ style={
179
+ [
180
+ {
181
+ "alignItems": "center",
182
+ "flex": 1,
183
+ "paddingVertical": 8,
184
+ },
185
+ undefined,
186
+ ]
187
+ }
188
+ >
189
+ <View>
190
+ <Text
191
+ allowFontScaling={false}
192
+ numberOfLines={1}
193
+ style={
194
+ [
195
+ {
196
+ "color": "#001f23",
197
+ "fontFamily": "BeVietnamPro-SemiBold",
198
+ "fontSize": 14,
199
+ "letterSpacing": 0.24,
200
+ "lineHeight": 22,
201
+ },
202
+ {
203
+ "color": "#001f23",
204
+ },
205
+ ]
206
+ }
207
+ themeIntent="body"
208
+ themeTypeface="neutral"
209
+ themeVariant="small-bold"
210
+ >
211
+ Work
212
+ </Text>
213
+ </View>
227
214
  </View>
228
- </View>
229
- <View
230
- accessible={true}
231
- focusable={true}
232
- onClick={[Function]}
233
- onResponderGrant={[Function]}
234
- onResponderMove={[Function]}
235
- onResponderRelease={[Function]}
236
- onResponderTerminate={[Function]}
237
- onResponderTerminationRequest={[Function]}
238
- onStartShouldSetResponder={[Function]}
239
- style={
240
- [
241
- {
242
- "alignItems": "center",
243
- "flex": 1,
244
- "paddingVertical": 8,
245
- },
246
- undefined,
247
- ]
248
- }
249
- >
250
215
  <View
251
- style={
216
+ accessibilityState={
252
217
  {
253
- "paddingHorizontal": 4,
218
+ "busy": undefined,
219
+ "checked": undefined,
220
+ "disabled": undefined,
221
+ "expanded": undefined,
222
+ "selected": undefined,
254
223
  }
255
224
  }
256
- >
257
- <Text
258
- allowFontScaling={false}
259
- numberOfLines={1}
260
- style={
261
- [
262
- {
263
- "color": "#001f23",
264
- "fontFamily": "BeVietnamPro-Regular",
265
- "fontSize": 14,
266
- "letterSpacing": 0.48,
267
- "lineHeight": 22,
268
- },
269
- {
270
- "color": "#001f23",
271
- },
272
- ]
273
- }
274
- themeIntent="body"
275
- themeTypeface="neutral"
276
- themeVariant="small"
277
- >
278
- Home
279
- </Text>
280
- <View
281
- collapsable={false}
282
- style={
225
+ accessible={true}
226
+ focusable={true}
227
+ onClick={[Function]}
228
+ onResponderGrant={[Function]}
229
+ onResponderMove={[Function]}
230
+ onResponderRelease={[Function]}
231
+ onResponderTerminate={[Function]}
232
+ onResponderTerminationRequest={[Function]}
233
+ onStartShouldSetResponder={[Function]}
234
+ style={
235
+ [
283
236
  {
284
- "backgroundColor": "#cb300a",
285
- "borderRadius": 999,
286
- "height": 8,
287
- "opacity": 1,
288
- "position": "absolute",
289
- "right": -2,
290
- "top": -2,
291
- "transform": [
237
+ "alignItems": "center",
238
+ "flex": 1,
239
+ "paddingVertical": 8,
240
+ },
241
+ undefined,
242
+ ]
243
+ }
244
+ >
245
+ <View>
246
+ <Text
247
+ allowFontScaling={false}
248
+ numberOfLines={1}
249
+ style={
250
+ [
251
+ {
252
+ "color": "#001f23",
253
+ "fontFamily": "BeVietnamPro-Regular",
254
+ "fontSize": 14,
255
+ "letterSpacing": 0.48,
256
+ "lineHeight": 22,
257
+ },
292
258
  {
293
- "scale": 1,
259
+ "color": "#001f23",
294
260
  },
295
- ],
296
- "width": 8,
261
+ ]
297
262
  }
298
- }
299
- themeIntent="danger"
300
- />
263
+ themeIntent="body"
264
+ themeTypeface="neutral"
265
+ themeVariant="small"
266
+ >
267
+ Personal
268
+ </Text>
269
+ </View>
301
270
  </View>
302
- </View>
303
- <View
304
- accessible={true}
305
- focusable={true}
306
- onClick={[Function]}
307
- onResponderGrant={[Function]}
308
- onResponderMove={[Function]}
309
- onResponderRelease={[Function]}
310
- onResponderTerminate={[Function]}
311
- onResponderTerminationRequest={[Function]}
312
- onStartShouldSetResponder={[Function]}
313
- style={
314
- [
315
- {
316
- "alignItems": "center",
317
- "flex": 1,
318
- "paddingVertical": 8,
319
- },
320
- undefined,
321
- ]
322
- }
323
- >
324
271
  <View
272
+ accessibilityState={
273
+ {
274
+ "busy": undefined,
275
+ "checked": undefined,
276
+ "disabled": undefined,
277
+ "expanded": undefined,
278
+ "selected": undefined,
279
+ }
280
+ }
281
+ accessible={true}
282
+ focusable={true}
283
+ onClick={[Function]}
284
+ onResponderGrant={[Function]}
285
+ onResponderMove={[Function]}
286
+ onResponderRelease={[Function]}
287
+ onResponderTerminate={[Function]}
288
+ onResponderTerminationRequest={[Function]}
289
+ onStartShouldSetResponder={[Function]}
325
290
  style={
326
291
  [
327
292
  {
328
293
  "alignItems": "center",
329
- "flexDirection": "row",
294
+ "flex": 1,
295
+ "paddingVertical": 8,
330
296
  },
331
297
  undefined,
332
298
  ]
333
299
  }
334
300
  >
335
- <Text
336
- allowFontScaling={false}
337
- numberOfLines={1}
338
- style={
339
- [
340
- {
341
- "color": "#001f23",
342
- "fontFamily": "BeVietnamPro-Regular",
343
- "fontSize": 14,
344
- "letterSpacing": 0.48,
345
- "lineHeight": 22,
346
- },
347
- {
348
- "color": "#001f23",
349
- },
350
- ]
351
- }
352
- themeIntent="body"
353
- themeTypeface="neutral"
354
- themeVariant="small"
355
- >
356
- Money
357
- </Text>
358
301
  <View
359
- collapsable={false}
360
302
  style={
361
303
  {
362
- "alignItems": "center",
363
- "backgroundColor": "#355bfb",
364
- "borderRadius": 999,
365
- "height": 20,
366
- "justifyContent": "center",
367
- "marginLeft": 4,
368
- "minWidth": 20,
369
- "opacity": 1,
370
- "paddingHorizontal": 8,
371
- "transform": [
372
- {
373
- "scale": 1,
374
- },
375
- ],
304
+ "paddingHorizontal": 4,
376
305
  }
377
306
  }
378
- themeIntent="info"
379
- themePadding="wideContent"
380
307
  >
381
308
  <Text
382
309
  allowFontScaling={false}
310
+ numberOfLines={1}
383
311
  style={
384
312
  [
385
313
  {
386
314
  "color": "#001f23",
387
315
  "fontFamily": "BeVietnamPro-Regular",
388
- "fontSize": 12,
316
+ "fontSize": 14,
389
317
  "letterSpacing": 0.48,
390
- "lineHeight": 16,
318
+ "lineHeight": 22,
319
+ },
320
+ {
321
+ "color": "#001f23",
391
322
  },
392
- [
393
- {
394
- "color": "#ffffff",
395
- "includeFontPadding": false,
396
- "textAlign": "center",
397
- "textAlignVertical": "center",
398
- },
399
- undefined,
400
- ],
401
323
  ]
402
324
  }
403
- themeFontWeight="regular"
404
325
  themeIntent="body"
326
+ themeTypeface="neutral"
327
+ themeVariant="small"
405
328
  >
406
- 50
329
+ Home
407
330
  </Text>
331
+ <View
332
+ collapsable={false}
333
+ style={
334
+ {
335
+ "backgroundColor": "#cb300a",
336
+ "borderRadius": 999,
337
+ "height": 8,
338
+ "opacity": 1,
339
+ "position": "absolute",
340
+ "right": -2,
341
+ "top": -2,
342
+ "transform": [
343
+ {
344
+ "scale": 1,
345
+ },
346
+ ],
347
+ "width": 8,
348
+ }
349
+ }
350
+ themeIntent="danger"
351
+ />
408
352
  </View>
409
353
  </View>
410
- </View>
411
- </View>
412
- <View
413
- collapsable={false}
414
- style={
415
- {
416
- "backgroundColor": "#401960",
417
- "bottom": 0,
418
- "height": 2,
419
- "position": "absolute",
420
- "transform": [
354
+ <View
355
+ accessibilityState={
421
356
  {
422
- "translateX": 0,
423
- },
424
- ],
425
- "width": 0,
426
- }
427
- }
428
- themeWidth={0}
429
- />
430
- </View>
431
- </View>
432
- <RNCViewPager
433
- layoutDirection="ltr"
434
- onMoveShouldSetResponderCapture={[Function]}
435
- onPageScroll={[Function]}
436
- onPageScrollStateChanged={[Function]}
437
- onPageSelected={[Function]}
438
- >
439
- <View
440
- collapsable={false}
441
- style={
442
- {
443
- "bottom": 0,
444
- "left": 0,
445
- "position": "absolute",
446
- "right": 0,
447
- "top": 0,
448
- }
449
- }
357
+ "busy": undefined,
358
+ "checked": undefined,
359
+ "disabled": undefined,
360
+ "expanded": undefined,
361
+ "selected": undefined,
362
+ }
363
+ }
364
+ accessible={true}
365
+ focusable={true}
366
+ onClick={[Function]}
367
+ onResponderGrant={[Function]}
368
+ onResponderMove={[Function]}
369
+ onResponderRelease={[Function]}
370
+ onResponderTerminate={[Function]}
371
+ onResponderTerminationRequest={[Function]}
372
+ onStartShouldSetResponder={[Function]}
373
+ style={
374
+ [
375
+ {
376
+ "alignItems": "center",
377
+ "flex": 1,
378
+ "paddingVertical": 8,
379
+ },
380
+ undefined,
381
+ ]
382
+ }
383
+ >
384
+ <View
385
+ style={
386
+ [
387
+ {
388
+ "alignItems": "center",
389
+ "flexDirection": "row",
390
+ },
391
+ undefined,
392
+ ]
393
+ }
394
+ >
395
+ <Text
396
+ allowFontScaling={false}
397
+ numberOfLines={1}
398
+ style={
399
+ [
400
+ {
401
+ "color": "#001f23",
402
+ "fontFamily": "BeVietnamPro-Regular",
403
+ "fontSize": 14,
404
+ "letterSpacing": 0.48,
405
+ "lineHeight": 22,
406
+ },
407
+ {
408
+ "color": "#001f23",
409
+ },
410
+ ]
411
+ }
412
+ themeIntent="body"
413
+ themeTypeface="neutral"
414
+ themeVariant="small"
415
+ >
416
+ Money
417
+ </Text>
418
+ <View
419
+ collapsable={false}
420
+ style={
421
+ {
422
+ "alignItems": "center",
423
+ "backgroundColor": "#355bfb",
424
+ "borderRadius": 999,
425
+ "height": 20,
426
+ "justifyContent": "center",
427
+ "marginLeft": 4,
428
+ "minWidth": 20,
429
+ "opacity": 1,
430
+ "paddingHorizontal": 8,
431
+ "transform": [
432
+ {
433
+ "scale": 1,
434
+ },
435
+ ],
436
+ }
437
+ }
438
+ themeIntent="info"
439
+ themePadding="wideContent"
440
+ >
441
+ <Text
442
+ allowFontScaling={false}
443
+ style={
444
+ [
445
+ {
446
+ "color": "#001f23",
447
+ "fontFamily": "BeVietnamPro-Regular",
448
+ "fontSize": 12,
449
+ "letterSpacing": 0.48,
450
+ "lineHeight": 16,
451
+ },
452
+ [
453
+ {
454
+ "color": "#ffffff",
455
+ "includeFontPadding": false,
456
+ "textAlign": "center",
457
+ "textAlignVertical": "center",
458
+ },
459
+ undefined,
460
+ ],
461
+ ]
462
+ }
463
+ themeFontWeight="regular"
464
+ themeIntent="body"
465
+ >
466
+ 50
467
+ </Text>
468
+ </View>
469
+ </View>
470
+ </View>
471
+ </View>
472
+ <View
473
+ collapsable={false}
474
+ style={
475
+ {
476
+ "backgroundColor": "#401960",
477
+ "bottom": 0,
478
+ "height": 2,
479
+ "position": "absolute",
480
+ "transform": [
481
+ {
482
+ "translateX": 0,
483
+ },
484
+ ],
485
+ "width": 0,
486
+ }
487
+ }
488
+ themeWidth={0}
489
+ />
490
+ </View>
491
+ </View>
492
+ <RNCViewPager
493
+ layoutDirection="ltr"
494
+ onMoveShouldSetResponderCapture={[Function]}
495
+ onPageScroll={[Function]}
496
+ onPageScrollStateChanged={[Function]}
497
+ onPageSelected={[Function]}
450
498
  >
451
499
  <View
452
- accessibilityElementsHidden={false}
453
- importantForAccessibility="auto"
500
+ collapsable={false}
454
501
  style={
455
- [
456
- {
457
- "flex": 1,
458
- },
502
+ {
503
+ "bottom": 0,
504
+ "left": 0,
505
+ "position": "absolute",
506
+ "right": 0,
507
+ "top": 0,
508
+ }
509
+ }
510
+ >
511
+ <View
512
+ accessibilityElementsHidden={false}
513
+ importantForAccessibility="auto"
514
+ style={
459
515
  [
460
516
  {
461
517
  "flex": 1,
462
- "overflow": "hidden",
463
- },
464
- {
465
- "bottom": 0,
466
- "left": 0,
467
- "position": "absolute",
468
- "right": 0,
469
- "top": 0,
470
518
  },
471
- ],
472
- ]
473
- }
474
- >
475
- <Text>
476
- Work Screen
477
-
478
- focused
479
- </Text>
519
+ [
520
+ {
521
+ "flex": 1,
522
+ "overflow": "hidden",
523
+ },
524
+ {
525
+ "bottom": 0,
526
+ "left": 0,
527
+ "position": "absolute",
528
+ "right": 0,
529
+ "top": 0,
530
+ },
531
+ ],
532
+ ]
533
+ }
534
+ >
535
+ <Text>
536
+ Work Screen
537
+
538
+ focused
539
+ </Text>
540
+ </View>
480
541
  </View>
481
- </View>
482
- <View
483
- collapsable={false}
484
- style={
485
- {
486
- "bottom": 0,
487
- "left": 0,
488
- "position": "absolute",
489
- "right": 0,
490
- "top": 0,
491
- }
492
- }
493
- >
494
542
  <View
495
- accessibilityElementsHidden={true}
496
- importantForAccessibility="no-hide-descendants"
543
+ collapsable={false}
497
544
  style={
498
- [
499
- {
500
- "flex": 1,
501
- },
545
+ {
546
+ "bottom": 0,
547
+ "left": 0,
548
+ "position": "absolute",
549
+ "right": 0,
550
+ "top": 0,
551
+ }
552
+ }
553
+ >
554
+ <View
555
+ accessibilityElementsHidden={true}
556
+ importantForAccessibility="no-hide-descendants"
557
+ style={
502
558
  [
503
559
  {
504
560
  "flex": 1,
505
- "overflow": "hidden",
506
561
  },
507
- null,
508
- ],
509
- ]
510
- }
511
- >
512
- <Text>
513
- Personal Screen
514
-
515
- unfocused
516
- </Text>
562
+ [
563
+ {
564
+ "flex": 1,
565
+ "overflow": "hidden",
566
+ },
567
+ null,
568
+ ],
569
+ ]
570
+ }
571
+ >
572
+ <Text>
573
+ Personal Screen
574
+
575
+ unfocused
576
+ </Text>
577
+ </View>
517
578
  </View>
518
- </View>
519
- <View
520
- collapsable={false}
521
- style={
522
- {
523
- "bottom": 0,
524
- "left": 0,
525
- "position": "absolute",
526
- "right": 0,
527
- "top": 0,
528
- }
529
- }
530
- >
531
579
  <View
532
- accessibilityElementsHidden={true}
533
- importantForAccessibility="no-hide-descendants"
580
+ collapsable={false}
534
581
  style={
535
- [
536
- {
537
- "flex": 1,
538
- },
582
+ {
583
+ "bottom": 0,
584
+ "left": 0,
585
+ "position": "absolute",
586
+ "right": 0,
587
+ "top": 0,
588
+ }
589
+ }
590
+ >
591
+ <View
592
+ accessibilityElementsHidden={true}
593
+ importantForAccessibility="no-hide-descendants"
594
+ style={
539
595
  [
540
596
  {
541
597
  "flex": 1,
542
- "overflow": "hidden",
543
598
  },
544
- null,
545
- ],
546
- ]
547
- }
548
- />
549
- </View>
550
- <View
551
- collapsable={false}
552
- style={
553
- {
554
- "bottom": 0,
555
- "left": 0,
556
- "position": "absolute",
557
- "right": 0,
558
- "top": 0,
559
- }
560
- }
561
- >
599
+ [
600
+ {
601
+ "flex": 1,
602
+ "overflow": "hidden",
603
+ },
604
+ null,
605
+ ],
606
+ ]
607
+ }
608
+ />
609
+ </View>
562
610
  <View
563
- accessibilityElementsHidden={true}
564
- importantForAccessibility="no-hide-descendants"
611
+ collapsable={false}
565
612
  style={
566
- [
567
- {
568
- "flex": 1,
569
- },
613
+ {
614
+ "bottom": 0,
615
+ "left": 0,
616
+ "position": "absolute",
617
+ "right": 0,
618
+ "top": 0,
619
+ }
620
+ }
621
+ >
622
+ <View
623
+ accessibilityElementsHidden={true}
624
+ importantForAccessibility="no-hide-descendants"
625
+ style={
570
626
  [
571
627
  {
572
628
  "flex": 1,
573
- "overflow": "hidden",
574
629
  },
575
- null,
576
- ],
577
- ]
578
- }
579
- />
580
- </View>
581
- </RNCViewPager>
582
- </View>
583
- </RNCSafeAreaProvider>
630
+ [
631
+ {
632
+ "flex": 1,
633
+ "overflow": "hidden",
634
+ },
635
+ null,
636
+ ],
637
+ ]
638
+ }
639
+ />
640
+ </View>
641
+ </RNCViewPager>
642
+ </View>
643
+ </RNCSafeAreaProvider>
644
+ <View
645
+ pointerEvents="box-none"
646
+ position="bottom"
647
+ style={
648
+ [
649
+ {
650
+ "bottom": 0,
651
+ "elevation": 9999,
652
+ "flexDirection": "column-reverse",
653
+ "left": 0,
654
+ "paddingHorizontal": 24,
655
+ "paddingVertical": 16,
656
+ "position": "absolute",
657
+ "right": 0,
658
+ "top": 0,
659
+ },
660
+ undefined,
661
+ ]
662
+ }
663
+ />
664
+ </View>
584
665
  `;
585
666
 
586
667
  exports[`useIsFocused renders correctly 1`] = `
587
- <RNCSafeAreaProvider
588
- onInsetsChange={[Function]}
668
+ <View
589
669
  style={
590
- [
591
- {
592
- "flex": 1,
593
- },
594
- undefined,
595
- ]
670
+ {
671
+ "flex": 1,
672
+ }
596
673
  }
597
674
  >
598
- <View
599
- accessible={true}
600
- collapsable={false}
601
- focusable={true}
602
- onClick={[Function]}
603
- onResponderGrant={[Function]}
604
- onResponderMove={[Function]}
605
- onResponderRelease={[Function]}
606
- onResponderTerminate={[Function]}
607
- onResponderTerminationRequest={[Function]}
608
- onStartShouldSetResponder={[Function]}
675
+ <RNCSafeAreaProvider
676
+ onInsetsChange={[Function]}
609
677
  style={
610
- {
611
- "alignItems": "center",
612
- "backgroundColor": "#ffffff",
613
- "borderRadius": 8,
614
- "flexDirection": "row",
615
- "justifyContent": "center",
616
- "opacity": 1,
617
- "padding": 8,
618
- "width": "100%",
619
- }
678
+ [
679
+ {
680
+ "flex": 1,
681
+ },
682
+ undefined,
683
+ ]
620
684
  }
621
685
  >
622
686
  <View
687
+ accessibilityState={
688
+ {
689
+ "busy": undefined,
690
+ "checked": undefined,
691
+ "disabled": undefined,
692
+ "expanded": undefined,
693
+ "selected": undefined,
694
+ }
695
+ }
696
+ accessibilityValue={
697
+ {
698
+ "max": undefined,
699
+ "min": undefined,
700
+ "now": undefined,
701
+ "text": undefined,
702
+ }
703
+ }
704
+ accessible={true}
705
+ collapsable={false}
706
+ focusable={true}
707
+ onClick={[Function]}
708
+ onResponderGrant={[Function]}
709
+ onResponderMove={[Function]}
710
+ onResponderRelease={[Function]}
711
+ onResponderTerminate={[Function]}
712
+ onResponderTerminationRequest={[Function]}
713
+ onStartShouldSetResponder={[Function]}
623
714
  style={
624
- [
625
- {
626
- "paddingRight": 12,
627
- },
628
- undefined,
629
- ]
715
+ {
716
+ "alignItems": "center",
717
+ "backgroundColor": "#ffffff",
718
+ "borderRadius": 8,
719
+ "flexDirection": "row",
720
+ "justifyContent": "center",
721
+ "opacity": 1,
722
+ "padding": 8,
723
+ "width": "100%",
724
+ }
630
725
  }
631
726
  >
632
- <HeroIcon
633
- name="sync"
727
+ <View
634
728
  style={
635
729
  [
636
730
  {
637
- "color": "#001f23",
638
- "fontSize": 24,
731
+ "paddingRight": 12,
639
732
  },
640
733
  undefined,
641
734
  ]
642
735
  }
643
- testID="undefined-icon"
644
- themeIntent="text"
645
- themeSize="medium"
646
- />
647
- </View>
648
- <Text
649
- allowFontScaling={false}
650
- style={
651
- [
652
- {
653
- "color": "#001f23",
654
- "fontFamily": "BeVietnamPro-Regular",
655
- "fontSize": 16,
656
- "letterSpacing": 0.48,
657
- "lineHeight": 24,
658
- },
736
+ >
737
+ <HeroIcon
738
+ name="sync"
739
+ style={
740
+ [
741
+ {
742
+ "color": "#001f23",
743
+ "fontSize": 24,
744
+ },
745
+ undefined,
746
+ ]
747
+ }
748
+ testID="undefined-icon"
749
+ themeIntent="text"
750
+ themeSize="medium"
751
+ />
752
+ </View>
753
+ <Text
754
+ allowFontScaling={false}
755
+ style={
659
756
  [
660
757
  {
661
- "flexShrink": 1,
662
- "textAlign": "center",
758
+ "color": "#001f23",
759
+ "fontFamily": "BeVietnamPro-Regular",
760
+ "fontSize": 16,
761
+ "letterSpacing": 0.48,
762
+ "lineHeight": 24,
663
763
  },
664
- undefined,
665
- ],
666
- ]
667
- }
668
- themeIntent="body"
669
- themeTypeface="neutral"
670
- themeVariant="regular"
671
- >
672
- Move to Work
673
- </Text>
674
- </View>
675
- <View
676
- style={
677
- [
678
- {
679
- "flex": 1,
680
- "overflow": "hidden",
681
- },
682
- undefined,
683
- ]
684
- }
685
- >
764
+ [
765
+ {
766
+ "flexShrink": 1,
767
+ "textAlign": "center",
768
+ },
769
+ undefined,
770
+ ],
771
+ ]
772
+ }
773
+ themeIntent="body"
774
+ themeTypeface="neutral"
775
+ themeVariant="regular"
776
+ >
777
+ Move to Work
778
+ </Text>
779
+ </View>
686
780
  <View
687
781
  style={
688
782
  [
689
783
  {
690
- "borderBottomColor": "#e8e9ea",
691
- "borderBottomWidth": 1,
692
- "paddingHorizontal": 0,
784
+ "flex": 1,
785
+ "overflow": "hidden",
693
786
  },
694
787
  undefined,
695
788
  ]
696
789
  }
697
- themeInsets={
698
- {
699
- "bottom": 0,
700
- "left": 0,
701
- "right": 0,
702
- "top": 0,
703
- }
704
- }
705
790
  >
706
- <View>
707
- <View
708
- onLayout={[Function]}
709
- style={
710
- [
711
- {
712
- "flexDirection": "row",
713
- },
714
- undefined,
715
- ]
716
- }
717
- >
718
- <View
719
- accessible={true}
720
- focusable={true}
721
- onClick={[Function]}
722
- onResponderGrant={[Function]}
723
- onResponderMove={[Function]}
724
- onResponderRelease={[Function]}
725
- onResponderTerminate={[Function]}
726
- onResponderTerminationRequest={[Function]}
727
- onStartShouldSetResponder={[Function]}
728
- style={
729
- [
730
- {
731
- "alignItems": "center",
732
- "flex": 1,
733
- "paddingVertical": 8,
734
- },
735
- undefined,
736
- ]
737
- }
738
- >
739
- <View>
740
- <Text
741
- allowFontScaling={false}
742
- numberOfLines={1}
743
- style={
744
- [
745
- {
746
- "color": "#001f23",
747
- "fontFamily": "BeVietnamPro-SemiBold",
748
- "fontSize": 14,
749
- "letterSpacing": 0.24,
750
- "lineHeight": 22,
751
- },
752
- {
753
- "color": "#001f23",
754
- },
755
- ]
756
- }
757
- themeIntent="body"
758
- themeTypeface="neutral"
759
- themeVariant="small-bold"
760
- >
761
- Work
762
- </Text>
763
- </View>
764
- </View>
791
+ <View
792
+ style={
793
+ [
794
+ {
795
+ "borderBottomColor": "#e8e9ea",
796
+ "borderBottomWidth": 1,
797
+ "paddingHorizontal": 0,
798
+ },
799
+ undefined,
800
+ ]
801
+ }
802
+ themeInsets={
803
+ {
804
+ "bottom": 0,
805
+ "left": 0,
806
+ "right": 0,
807
+ "top": 0,
808
+ }
809
+ }
810
+ >
811
+ <View>
765
812
  <View
766
- accessible={true}
767
- focusable={true}
768
- onClick={[Function]}
769
- onResponderGrant={[Function]}
770
- onResponderMove={[Function]}
771
- onResponderRelease={[Function]}
772
- onResponderTerminate={[Function]}
773
- onResponderTerminationRequest={[Function]}
774
- onStartShouldSetResponder={[Function]}
813
+ onLayout={[Function]}
775
814
  style={
776
815
  [
777
816
  {
778
- "alignItems": "center",
779
- "flex": 1,
780
- "paddingVertical": 8,
817
+ "flexDirection": "row",
781
818
  },
782
819
  undefined,
783
820
  ]
784
821
  }
785
822
  >
786
- <View>
787
- <Text
788
- allowFontScaling={false}
789
- numberOfLines={1}
790
- style={
791
- [
792
- {
793
- "color": "#001f23",
794
- "fontFamily": "BeVietnamPro-Regular",
795
- "fontSize": 14,
796
- "letterSpacing": 0.48,
797
- "lineHeight": 22,
798
- },
799
- {
800
- "color": "#001f23",
801
- },
802
- ]
823
+ <View
824
+ accessibilityState={
825
+ {
826
+ "busy": undefined,
827
+ "checked": undefined,
828
+ "disabled": undefined,
829
+ "expanded": undefined,
830
+ "selected": undefined,
803
831
  }
804
- themeIntent="body"
805
- themeTypeface="neutral"
806
- themeVariant="small"
807
- >
808
- Personal
809
- </Text>
832
+ }
833
+ accessible={true}
834
+ focusable={true}
835
+ onClick={[Function]}
836
+ onResponderGrant={[Function]}
837
+ onResponderMove={[Function]}
838
+ onResponderRelease={[Function]}
839
+ onResponderTerminate={[Function]}
840
+ onResponderTerminationRequest={[Function]}
841
+ onStartShouldSetResponder={[Function]}
842
+ style={
843
+ [
844
+ {
845
+ "alignItems": "center",
846
+ "flex": 1,
847
+ "paddingVertical": 8,
848
+ },
849
+ undefined,
850
+ ]
851
+ }
852
+ >
853
+ <View>
854
+ <Text
855
+ allowFontScaling={false}
856
+ numberOfLines={1}
857
+ style={
858
+ [
859
+ {
860
+ "color": "#001f23",
861
+ "fontFamily": "BeVietnamPro-SemiBold",
862
+ "fontSize": 14,
863
+ "letterSpacing": 0.24,
864
+ "lineHeight": 22,
865
+ },
866
+ {
867
+ "color": "#001f23",
868
+ },
869
+ ]
870
+ }
871
+ themeIntent="body"
872
+ themeTypeface="neutral"
873
+ themeVariant="small-bold"
874
+ >
875
+ Work
876
+ </Text>
877
+ </View>
810
878
  </View>
811
- </View>
812
- <View
813
- accessible={true}
814
- focusable={true}
815
- onClick={[Function]}
816
- onResponderGrant={[Function]}
817
- onResponderMove={[Function]}
818
- onResponderRelease={[Function]}
819
- onResponderTerminate={[Function]}
820
- onResponderTerminationRequest={[Function]}
821
- onStartShouldSetResponder={[Function]}
822
- style={
823
- [
824
- {
825
- "alignItems": "center",
826
- "flex": 1,
827
- "paddingVertical": 8,
828
- },
829
- undefined,
830
- ]
831
- }
832
- >
833
879
  <View
834
- style={
880
+ accessibilityState={
835
881
  {
836
- "paddingHorizontal": 4,
882
+ "busy": undefined,
883
+ "checked": undefined,
884
+ "disabled": undefined,
885
+ "expanded": undefined,
886
+ "selected": undefined,
837
887
  }
838
888
  }
889
+ accessible={true}
890
+ focusable={true}
891
+ onClick={[Function]}
892
+ onResponderGrant={[Function]}
893
+ onResponderMove={[Function]}
894
+ onResponderRelease={[Function]}
895
+ onResponderTerminate={[Function]}
896
+ onResponderTerminationRequest={[Function]}
897
+ onStartShouldSetResponder={[Function]}
898
+ style={
899
+ [
900
+ {
901
+ "alignItems": "center",
902
+ "flex": 1,
903
+ "paddingVertical": 8,
904
+ },
905
+ undefined,
906
+ ]
907
+ }
839
908
  >
840
- <Text
841
- allowFontScaling={false}
842
- numberOfLines={1}
843
- style={
844
- [
845
- {
846
- "color": "#001f23",
847
- "fontFamily": "BeVietnamPro-Regular",
848
- "fontSize": 14,
849
- "letterSpacing": 0.48,
850
- "lineHeight": 22,
851
- },
852
- {
853
- "color": "#001f23",
854
- },
855
- ]
909
+ <View>
910
+ <Text
911
+ allowFontScaling={false}
912
+ numberOfLines={1}
913
+ style={
914
+ [
915
+ {
916
+ "color": "#001f23",
917
+ "fontFamily": "BeVietnamPro-Regular",
918
+ "fontSize": 14,
919
+ "letterSpacing": 0.48,
920
+ "lineHeight": 22,
921
+ },
922
+ {
923
+ "color": "#001f23",
924
+ },
925
+ ]
926
+ }
927
+ themeIntent="body"
928
+ themeTypeface="neutral"
929
+ themeVariant="small"
930
+ >
931
+ Personal
932
+ </Text>
933
+ </View>
934
+ </View>
935
+ <View
936
+ accessibilityState={
937
+ {
938
+ "busy": undefined,
939
+ "checked": undefined,
940
+ "disabled": undefined,
941
+ "expanded": undefined,
942
+ "selected": undefined,
856
943
  }
857
- themeIntent="body"
858
- themeTypeface="neutral"
859
- themeVariant="small"
860
- >
861
- Home
862
- </Text>
944
+ }
945
+ accessible={true}
946
+ focusable={true}
947
+ onClick={[Function]}
948
+ onResponderGrant={[Function]}
949
+ onResponderMove={[Function]}
950
+ onResponderRelease={[Function]}
951
+ onResponderTerminate={[Function]}
952
+ onResponderTerminationRequest={[Function]}
953
+ onStartShouldSetResponder={[Function]}
954
+ style={
955
+ [
956
+ {
957
+ "alignItems": "center",
958
+ "flex": 1,
959
+ "paddingVertical": 8,
960
+ },
961
+ undefined,
962
+ ]
963
+ }
964
+ >
863
965
  <View
864
- collapsable={false}
865
966
  style={
866
967
  {
867
- "backgroundColor": "#cb300a",
868
- "borderRadius": 999,
869
- "height": 8,
870
- "opacity": 1,
871
- "position": "absolute",
872
- "right": -2,
873
- "top": -2,
874
- "transform": [
968
+ "paddingHorizontal": 4,
969
+ }
970
+ }
971
+ >
972
+ <Text
973
+ allowFontScaling={false}
974
+ numberOfLines={1}
975
+ style={
976
+ [
977
+ {
978
+ "color": "#001f23",
979
+ "fontFamily": "BeVietnamPro-Regular",
980
+ "fontSize": 14,
981
+ "letterSpacing": 0.48,
982
+ "lineHeight": 22,
983
+ },
875
984
  {
876
- "scale": 1,
985
+ "color": "#001f23",
877
986
  },
878
- ],
879
- "width": 8,
987
+ ]
880
988
  }
881
- }
882
- themeIntent="danger"
883
- />
989
+ themeIntent="body"
990
+ themeTypeface="neutral"
991
+ themeVariant="small"
992
+ >
993
+ Home
994
+ </Text>
995
+ <View
996
+ collapsable={false}
997
+ style={
998
+ {
999
+ "backgroundColor": "#cb300a",
1000
+ "borderRadius": 999,
1001
+ "height": 8,
1002
+ "opacity": 1,
1003
+ "position": "absolute",
1004
+ "right": -2,
1005
+ "top": -2,
1006
+ "transform": [
1007
+ {
1008
+ "scale": 1,
1009
+ },
1010
+ ],
1011
+ "width": 8,
1012
+ }
1013
+ }
1014
+ themeIntent="danger"
1015
+ />
1016
+ </View>
884
1017
  </View>
885
- </View>
886
- <View
887
- accessible={true}
888
- focusable={true}
889
- onClick={[Function]}
890
- onResponderGrant={[Function]}
891
- onResponderMove={[Function]}
892
- onResponderRelease={[Function]}
893
- onResponderTerminate={[Function]}
894
- onResponderTerminationRequest={[Function]}
895
- onStartShouldSetResponder={[Function]}
896
- style={
897
- [
898
- {
899
- "alignItems": "center",
900
- "flex": 1,
901
- "paddingVertical": 8,
902
- },
903
- undefined,
904
- ]
905
- }
906
- >
907
1018
  <View
1019
+ accessibilityState={
1020
+ {
1021
+ "busy": undefined,
1022
+ "checked": undefined,
1023
+ "disabled": undefined,
1024
+ "expanded": undefined,
1025
+ "selected": undefined,
1026
+ }
1027
+ }
1028
+ accessible={true}
1029
+ focusable={true}
1030
+ onClick={[Function]}
1031
+ onResponderGrant={[Function]}
1032
+ onResponderMove={[Function]}
1033
+ onResponderRelease={[Function]}
1034
+ onResponderTerminate={[Function]}
1035
+ onResponderTerminationRequest={[Function]}
1036
+ onStartShouldSetResponder={[Function]}
908
1037
  style={
909
1038
  [
910
1039
  {
911
1040
  "alignItems": "center",
912
- "flexDirection": "row",
1041
+ "flex": 1,
1042
+ "paddingVertical": 8,
913
1043
  },
914
1044
  undefined,
915
1045
  ]
916
1046
  }
917
1047
  >
918
- <Text
919
- allowFontScaling={false}
920
- numberOfLines={1}
1048
+ <View
921
1049
  style={
922
1050
  [
923
1051
  {
924
- "color": "#001f23",
925
- "fontFamily": "BeVietnamPro-Regular",
926
- "fontSize": 14,
927
- "letterSpacing": 0.48,
928
- "lineHeight": 22,
929
- },
930
- {
931
- "color": "#001f23",
1052
+ "alignItems": "center",
1053
+ "flexDirection": "row",
932
1054
  },
1055
+ undefined,
933
1056
  ]
934
1057
  }
935
- themeIntent="body"
936
- themeTypeface="neutral"
937
- themeVariant="small"
938
- >
939
- Money
940
- </Text>
941
- <View
942
- collapsable={false}
943
- style={
944
- {
945
- "alignItems": "center",
946
- "backgroundColor": "#355bfb",
947
- "borderRadius": 999,
948
- "height": 20,
949
- "justifyContent": "center",
950
- "marginLeft": 4,
951
- "minWidth": 20,
952
- "opacity": 1,
953
- "paddingHorizontal": 8,
954
- "transform": [
955
- {
956
- "scale": 1,
957
- },
958
- ],
959
- }
960
- }
961
- themeIntent="info"
962
- themePadding="wideContent"
963
1058
  >
964
1059
  <Text
965
1060
  allowFontScaling={false}
1061
+ numberOfLines={1}
966
1062
  style={
967
1063
  [
968
1064
  {
969
1065
  "color": "#001f23",
970
1066
  "fontFamily": "BeVietnamPro-Regular",
971
- "fontSize": 12,
1067
+ "fontSize": 14,
972
1068
  "letterSpacing": 0.48,
973
- "lineHeight": 16,
1069
+ "lineHeight": 22,
1070
+ },
1071
+ {
1072
+ "color": "#001f23",
974
1073
  },
975
- [
976
- {
977
- "color": "#ffffff",
978
- "includeFontPadding": false,
979
- "textAlign": "center",
980
- "textAlignVertical": "center",
981
- },
982
- undefined,
983
- ],
984
1074
  ]
985
1075
  }
986
- themeFontWeight="regular"
987
1076
  themeIntent="body"
1077
+ themeTypeface="neutral"
1078
+ themeVariant="small"
988
1079
  >
989
- 50
1080
+ Money
990
1081
  </Text>
1082
+ <View
1083
+ collapsable={false}
1084
+ style={
1085
+ {
1086
+ "alignItems": "center",
1087
+ "backgroundColor": "#355bfb",
1088
+ "borderRadius": 999,
1089
+ "height": 20,
1090
+ "justifyContent": "center",
1091
+ "marginLeft": 4,
1092
+ "minWidth": 20,
1093
+ "opacity": 1,
1094
+ "paddingHorizontal": 8,
1095
+ "transform": [
1096
+ {
1097
+ "scale": 1,
1098
+ },
1099
+ ],
1100
+ }
1101
+ }
1102
+ themeIntent="info"
1103
+ themePadding="wideContent"
1104
+ >
1105
+ <Text
1106
+ allowFontScaling={false}
1107
+ style={
1108
+ [
1109
+ {
1110
+ "color": "#001f23",
1111
+ "fontFamily": "BeVietnamPro-Regular",
1112
+ "fontSize": 12,
1113
+ "letterSpacing": 0.48,
1114
+ "lineHeight": 16,
1115
+ },
1116
+ [
1117
+ {
1118
+ "color": "#ffffff",
1119
+ "includeFontPadding": false,
1120
+ "textAlign": "center",
1121
+ "textAlignVertical": "center",
1122
+ },
1123
+ undefined,
1124
+ ],
1125
+ ]
1126
+ }
1127
+ themeFontWeight="regular"
1128
+ themeIntent="body"
1129
+ >
1130
+ 50
1131
+ </Text>
1132
+ </View>
991
1133
  </View>
992
1134
  </View>
993
1135
  </View>
1136
+ <View
1137
+ collapsable={false}
1138
+ style={
1139
+ {
1140
+ "backgroundColor": "#401960",
1141
+ "bottom": 0,
1142
+ "height": 2,
1143
+ "position": "absolute",
1144
+ "transform": [
1145
+ {
1146
+ "translateX": 0,
1147
+ },
1148
+ ],
1149
+ "width": 0,
1150
+ }
1151
+ }
1152
+ themeWidth={0}
1153
+ />
994
1154
  </View>
1155
+ </View>
1156
+ <RNCViewPager
1157
+ layoutDirection="ltr"
1158
+ onMoveShouldSetResponderCapture={[Function]}
1159
+ onPageScroll={[Function]}
1160
+ onPageScrollStateChanged={[Function]}
1161
+ onPageSelected={[Function]}
1162
+ >
995
1163
  <View
996
1164
  collapsable={false}
997
1165
  style={
998
1166
  {
999
- "backgroundColor": "#401960",
1000
1167
  "bottom": 0,
1001
- "height": 2,
1168
+ "left": 0,
1002
1169
  "position": "absolute",
1003
- "transform": [
1004
- {
1005
- "translateX": 0,
1006
- },
1007
- ],
1008
- "width": 0,
1170
+ "right": 0,
1171
+ "top": 0,
1009
1172
  }
1010
1173
  }
1011
- themeWidth={0}
1012
- />
1013
- </View>
1014
- </View>
1015
- <RNCViewPager
1016
- layoutDirection="ltr"
1017
- onMoveShouldSetResponderCapture={[Function]}
1018
- onPageScroll={[Function]}
1019
- onPageScrollStateChanged={[Function]}
1020
- onPageSelected={[Function]}
1021
- >
1022
- <View
1023
- collapsable={false}
1024
- style={
1025
- {
1026
- "bottom": 0,
1027
- "left": 0,
1028
- "position": "absolute",
1029
- "right": 0,
1030
- "top": 0,
1031
- }
1032
- }
1033
- >
1034
- <View
1035
- accessibilityElementsHidden={false}
1036
- importantForAccessibility="auto"
1037
- style={
1038
- [
1039
- {
1040
- "flex": 1,
1041
- },
1174
+ >
1175
+ <View
1176
+ accessibilityElementsHidden={false}
1177
+ importantForAccessibility="auto"
1178
+ style={
1042
1179
  [
1043
1180
  {
1044
1181
  "flex": 1,
1045
- "overflow": "hidden",
1046
- },
1047
- {
1048
- "bottom": 0,
1049
- "left": 0,
1050
- "position": "absolute",
1051
- "right": 0,
1052
- "top": 0,
1053
1182
  },
1054
- ],
1055
- ]
1056
- }
1057
- >
1058
- <Text>
1059
- Work Screen
1060
-
1061
- focused
1062
- </Text>
1183
+ [
1184
+ {
1185
+ "flex": 1,
1186
+ "overflow": "hidden",
1187
+ },
1188
+ {
1189
+ "bottom": 0,
1190
+ "left": 0,
1191
+ "position": "absolute",
1192
+ "right": 0,
1193
+ "top": 0,
1194
+ },
1195
+ ],
1196
+ ]
1197
+ }
1198
+ >
1199
+ <Text>
1200
+ Work Screen
1201
+
1202
+ focused
1203
+ </Text>
1204
+ </View>
1063
1205
  </View>
1064
- </View>
1065
- <View
1066
- collapsable={false}
1067
- style={
1068
- {
1069
- "bottom": 0,
1070
- "left": 0,
1071
- "position": "absolute",
1072
- "right": 0,
1073
- "top": 0,
1074
- }
1075
- }
1076
- >
1077
1206
  <View
1078
- accessibilityElementsHidden={true}
1079
- importantForAccessibility="no-hide-descendants"
1207
+ collapsable={false}
1080
1208
  style={
1081
- [
1082
- {
1083
- "flex": 1,
1084
- },
1209
+ {
1210
+ "bottom": 0,
1211
+ "left": 0,
1212
+ "position": "absolute",
1213
+ "right": 0,
1214
+ "top": 0,
1215
+ }
1216
+ }
1217
+ >
1218
+ <View
1219
+ accessibilityElementsHidden={true}
1220
+ importantForAccessibility="no-hide-descendants"
1221
+ style={
1085
1222
  [
1086
1223
  {
1087
1224
  "flex": 1,
1088
- "overflow": "hidden",
1089
1225
  },
1090
- null,
1091
- ],
1092
- ]
1093
- }
1094
- >
1095
- <Text>
1096
- Personal Screen
1097
-
1098
- unfocused
1099
- </Text>
1100
- </View>
1101
- </View>
1102
- <View
1103
- collapsable={false}
1104
- style={
1105
- {
1106
- "bottom": 0,
1107
- "left": 0,
1108
- "position": "absolute",
1109
- "right": 0,
1110
- "top": 0,
1111
- }
1112
- }
1113
- >
1226
+ [
1227
+ {
1228
+ "flex": 1,
1229
+ "overflow": "hidden",
1230
+ },
1231
+ null,
1232
+ ],
1233
+ ]
1234
+ }
1235
+ >
1236
+ <Text>
1237
+ Personal Screen
1238
+
1239
+ unfocused
1240
+ </Text>
1241
+ </View>
1242
+ </View>
1114
1243
  <View
1115
- accessibilityElementsHidden={true}
1116
- importantForAccessibility="no-hide-descendants"
1244
+ collapsable={false}
1117
1245
  style={
1118
- [
1119
- {
1120
- "flex": 1,
1121
- },
1246
+ {
1247
+ "bottom": 0,
1248
+ "left": 0,
1249
+ "position": "absolute",
1250
+ "right": 0,
1251
+ "top": 0,
1252
+ }
1253
+ }
1254
+ >
1255
+ <View
1256
+ accessibilityElementsHidden={true}
1257
+ importantForAccessibility="no-hide-descendants"
1258
+ style={
1122
1259
  [
1123
1260
  {
1124
1261
  "flex": 1,
1125
- "overflow": "hidden",
1126
1262
  },
1127
- null,
1128
- ],
1129
- ]
1130
- }
1131
- />
1132
- </View>
1133
- <View
1134
- collapsable={false}
1135
- style={
1136
- {
1137
- "bottom": 0,
1138
- "left": 0,
1139
- "position": "absolute",
1140
- "right": 0,
1141
- "top": 0,
1142
- }
1143
- }
1144
- >
1263
+ [
1264
+ {
1265
+ "flex": 1,
1266
+ "overflow": "hidden",
1267
+ },
1268
+ null,
1269
+ ],
1270
+ ]
1271
+ }
1272
+ />
1273
+ </View>
1145
1274
  <View
1146
- accessibilityElementsHidden={true}
1147
- importantForAccessibility="no-hide-descendants"
1275
+ collapsable={false}
1148
1276
  style={
1149
- [
1150
- {
1151
- "flex": 1,
1152
- },
1277
+ {
1278
+ "bottom": 0,
1279
+ "left": 0,
1280
+ "position": "absolute",
1281
+ "right": 0,
1282
+ "top": 0,
1283
+ }
1284
+ }
1285
+ >
1286
+ <View
1287
+ accessibilityElementsHidden={true}
1288
+ importantForAccessibility="no-hide-descendants"
1289
+ style={
1153
1290
  [
1154
1291
  {
1155
1292
  "flex": 1,
1156
- "overflow": "hidden",
1157
1293
  },
1158
- null,
1159
- ],
1160
- ]
1161
- }
1162
- />
1163
- </View>
1164
- </RNCViewPager>
1165
- </View>
1166
- </RNCSafeAreaProvider>
1294
+ [
1295
+ {
1296
+ "flex": 1,
1297
+ "overflow": "hidden",
1298
+ },
1299
+ null,
1300
+ ],
1301
+ ]
1302
+ }
1303
+ />
1304
+ </View>
1305
+ </RNCViewPager>
1306
+ </View>
1307
+ </RNCSafeAreaProvider>
1308
+ <View
1309
+ pointerEvents="box-none"
1310
+ position="bottom"
1311
+ style={
1312
+ [
1313
+ {
1314
+ "bottom": 0,
1315
+ "elevation": 9999,
1316
+ "flexDirection": "column-reverse",
1317
+ "left": 0,
1318
+ "paddingHorizontal": 24,
1319
+ "paddingVertical": 16,
1320
+ "position": "absolute",
1321
+ "right": 0,
1322
+ "top": 0,
1323
+ },
1324
+ undefined,
1325
+ ]
1326
+ }
1327
+ />
1328
+ </View>
1167
1329
  `;
1168
1330
 
1169
1331
  exports[`useIsFocused renders correctly: xxxxxx 1`] = `
1170
- <RNCSafeAreaProvider
1171
- onInsetsChange={[Function]}
1332
+ <View
1172
1333
  style={
1173
- [
1174
- {
1175
- "flex": 1,
1176
- },
1177
- undefined,
1178
- ]
1334
+ {
1335
+ "flex": 1,
1336
+ }
1179
1337
  }
1180
1338
  >
1181
- <View
1182
- accessible={true}
1183
- collapsable={false}
1184
- focusable={true}
1185
- onClick={[Function]}
1186
- onResponderGrant={[Function]}
1187
- onResponderMove={[Function]}
1188
- onResponderRelease={[Function]}
1189
- onResponderTerminate={[Function]}
1190
- onResponderTerminationRequest={[Function]}
1191
- onStartShouldSetResponder={[Function]}
1339
+ <RNCSafeAreaProvider
1340
+ onInsetsChange={[Function]}
1192
1341
  style={
1193
- {
1194
- "alignItems": "center",
1195
- "backgroundColor": "#ffffff",
1196
- "borderRadius": 8,
1197
- "flexDirection": "row",
1198
- "justifyContent": "center",
1199
- "opacity": 1,
1200
- "padding": 8,
1201
- "width": "100%",
1202
- }
1342
+ [
1343
+ {
1344
+ "flex": 1,
1345
+ },
1346
+ undefined,
1347
+ ]
1203
1348
  }
1204
1349
  >
1205
1350
  <View
1351
+ accessibilityState={
1352
+ {
1353
+ "busy": undefined,
1354
+ "checked": undefined,
1355
+ "disabled": undefined,
1356
+ "expanded": undefined,
1357
+ "selected": undefined,
1358
+ }
1359
+ }
1360
+ accessibilityValue={
1361
+ {
1362
+ "max": undefined,
1363
+ "min": undefined,
1364
+ "now": undefined,
1365
+ "text": undefined,
1366
+ }
1367
+ }
1368
+ accessible={true}
1369
+ collapsable={false}
1370
+ focusable={true}
1371
+ onClick={[Function]}
1372
+ onResponderGrant={[Function]}
1373
+ onResponderMove={[Function]}
1374
+ onResponderRelease={[Function]}
1375
+ onResponderTerminate={[Function]}
1376
+ onResponderTerminationRequest={[Function]}
1377
+ onStartShouldSetResponder={[Function]}
1206
1378
  style={
1207
- [
1208
- {
1209
- "paddingRight": 12,
1210
- },
1211
- undefined,
1212
- ]
1379
+ {
1380
+ "alignItems": "center",
1381
+ "backgroundColor": "#ffffff",
1382
+ "borderRadius": 8,
1383
+ "flexDirection": "row",
1384
+ "justifyContent": "center",
1385
+ "opacity": 1,
1386
+ "padding": 8,
1387
+ "width": "100%",
1388
+ }
1213
1389
  }
1214
1390
  >
1215
- <HeroIcon
1216
- name="sync"
1391
+ <View
1217
1392
  style={
1218
1393
  [
1219
1394
  {
1220
- "color": "#001f23",
1221
- "fontSize": 24,
1395
+ "paddingRight": 12,
1222
1396
  },
1223
1397
  undefined,
1224
1398
  ]
1225
1399
  }
1226
- testID="undefined-icon"
1227
- themeIntent="text"
1228
- themeSize="medium"
1229
- />
1230
- </View>
1231
- <Text
1232
- allowFontScaling={false}
1233
- style={
1234
- [
1235
- {
1236
- "color": "#001f23",
1237
- "fontFamily": "BeVietnamPro-Regular",
1238
- "fontSize": 16,
1239
- "letterSpacing": 0.48,
1240
- "lineHeight": 24,
1241
- },
1400
+ >
1401
+ <HeroIcon
1402
+ name="sync"
1403
+ style={
1404
+ [
1405
+ {
1406
+ "color": "#001f23",
1407
+ "fontSize": 24,
1408
+ },
1409
+ undefined,
1410
+ ]
1411
+ }
1412
+ testID="undefined-icon"
1413
+ themeIntent="text"
1414
+ themeSize="medium"
1415
+ />
1416
+ </View>
1417
+ <Text
1418
+ allowFontScaling={false}
1419
+ style={
1242
1420
  [
1243
1421
  {
1244
- "flexShrink": 1,
1245
- "textAlign": "center",
1422
+ "color": "#001f23",
1423
+ "fontFamily": "BeVietnamPro-Regular",
1424
+ "fontSize": 16,
1425
+ "letterSpacing": 0.48,
1426
+ "lineHeight": 24,
1246
1427
  },
1247
- undefined,
1248
- ],
1249
- ]
1250
- }
1251
- themeIntent="body"
1252
- themeTypeface="neutral"
1253
- themeVariant="regular"
1254
- >
1255
- Move to Work
1256
- </Text>
1257
- </View>
1258
- <View
1259
- style={
1260
- [
1261
- {
1262
- "flex": 1,
1263
- "overflow": "hidden",
1264
- },
1265
- undefined,
1266
- ]
1267
- }
1268
- >
1428
+ [
1429
+ {
1430
+ "flexShrink": 1,
1431
+ "textAlign": "center",
1432
+ },
1433
+ undefined,
1434
+ ],
1435
+ ]
1436
+ }
1437
+ themeIntent="body"
1438
+ themeTypeface="neutral"
1439
+ themeVariant="regular"
1440
+ >
1441
+ Move to Work
1442
+ </Text>
1443
+ </View>
1269
1444
  <View
1270
1445
  style={
1271
1446
  [
1272
1447
  {
1273
- "borderBottomColor": "#e8e9ea",
1274
- "borderBottomWidth": 1,
1275
- "paddingHorizontal": 0,
1448
+ "flex": 1,
1449
+ "overflow": "hidden",
1276
1450
  },
1277
1451
  undefined,
1278
1452
  ]
1279
1453
  }
1280
- themeInsets={
1281
- {
1282
- "bottom": 0,
1283
- "left": 0,
1284
- "right": 0,
1285
- "top": 0,
1286
- }
1287
- }
1288
1454
  >
1289
- <View>
1290
- <View
1291
- onLayout={[Function]}
1292
- style={
1293
- [
1294
- {
1295
- "flexDirection": "row",
1296
- },
1297
- undefined,
1298
- ]
1455
+ <View
1456
+ style={
1457
+ [
1458
+ {
1459
+ "borderBottomColor": "#e8e9ea",
1460
+ "borderBottomWidth": 1,
1461
+ "paddingHorizontal": 0,
1462
+ },
1463
+ undefined,
1464
+ ]
1465
+ }
1466
+ themeInsets={
1467
+ {
1468
+ "bottom": 0,
1469
+ "left": 0,
1470
+ "right": 0,
1471
+ "top": 0,
1299
1472
  }
1300
- >
1473
+ }
1474
+ >
1475
+ <View>
1301
1476
  <View
1302
- accessible={true}
1303
- focusable={true}
1304
- onClick={[Function]}
1305
- onResponderGrant={[Function]}
1306
- onResponderMove={[Function]}
1307
- onResponderRelease={[Function]}
1308
- onResponderTerminate={[Function]}
1309
- onResponderTerminationRequest={[Function]}
1310
- onStartShouldSetResponder={[Function]}
1477
+ onLayout={[Function]}
1311
1478
  style={
1312
1479
  [
1313
1480
  {
1314
- "alignItems": "center",
1315
- "flex": 1,
1316
- "paddingVertical": 8,
1481
+ "flexDirection": "row",
1317
1482
  },
1318
1483
  undefined,
1319
1484
  ]
1320
1485
  }
1321
1486
  >
1322
- <View>
1323
- <Text
1324
- allowFontScaling={false}
1325
- numberOfLines={1}
1326
- style={
1327
- [
1328
- {
1329
- "color": "#001f23",
1330
- "fontFamily": "BeVietnamPro-Regular",
1331
- "fontSize": 14,
1332
- "letterSpacing": 0.48,
1333
- "lineHeight": 22,
1334
- },
1335
- {
1336
- "color": "#001f23",
1337
- },
1338
- ]
1339
- }
1340
- themeIntent="body"
1341
- themeTypeface="neutral"
1342
- themeVariant="small"
1343
- >
1344
- Work
1345
- </Text>
1346
- </View>
1347
- </View>
1348
- <View
1349
- accessible={true}
1350
- focusable={true}
1351
- onClick={[Function]}
1352
- onResponderGrant={[Function]}
1353
- onResponderMove={[Function]}
1354
- onResponderRelease={[Function]}
1355
- onResponderTerminate={[Function]}
1356
- onResponderTerminationRequest={[Function]}
1357
- onStartShouldSetResponder={[Function]}
1358
- style={
1359
- [
1487
+ <View
1488
+ accessibilityState={
1360
1489
  {
1361
- "alignItems": "center",
1362
- "flex": 1,
1363
- "paddingVertical": 8,
1364
- },
1365
- undefined,
1366
- ]
1367
- }
1368
- >
1369
- <View>
1370
- <Text
1371
- allowFontScaling={false}
1372
- numberOfLines={1}
1373
- style={
1374
- [
1375
- {
1376
- "color": "#001f23",
1377
- "fontFamily": "BeVietnamPro-SemiBold",
1378
- "fontSize": 14,
1379
- "letterSpacing": 0.24,
1380
- "lineHeight": 22,
1381
- },
1382
- {
1383
- "color": "#001f23",
1384
- },
1385
- ]
1490
+ "busy": undefined,
1491
+ "checked": undefined,
1492
+ "disabled": undefined,
1493
+ "expanded": undefined,
1494
+ "selected": undefined,
1386
1495
  }
1387
- themeIntent="body"
1388
- themeTypeface="neutral"
1389
- themeVariant="small-bold"
1390
- >
1391
- Personal
1392
- </Text>
1496
+ }
1497
+ accessible={true}
1498
+ focusable={true}
1499
+ onClick={[Function]}
1500
+ onResponderGrant={[Function]}
1501
+ onResponderMove={[Function]}
1502
+ onResponderRelease={[Function]}
1503
+ onResponderTerminate={[Function]}
1504
+ onResponderTerminationRequest={[Function]}
1505
+ onStartShouldSetResponder={[Function]}
1506
+ style={
1507
+ [
1508
+ {
1509
+ "alignItems": "center",
1510
+ "flex": 1,
1511
+ "paddingVertical": 8,
1512
+ },
1513
+ undefined,
1514
+ ]
1515
+ }
1516
+ >
1517
+ <View>
1518
+ <Text
1519
+ allowFontScaling={false}
1520
+ numberOfLines={1}
1521
+ style={
1522
+ [
1523
+ {
1524
+ "color": "#001f23",
1525
+ "fontFamily": "BeVietnamPro-Regular",
1526
+ "fontSize": 14,
1527
+ "letterSpacing": 0.48,
1528
+ "lineHeight": 22,
1529
+ },
1530
+ {
1531
+ "color": "#001f23",
1532
+ },
1533
+ ]
1534
+ }
1535
+ themeIntent="body"
1536
+ themeTypeface="neutral"
1537
+ themeVariant="small"
1538
+ >
1539
+ Work
1540
+ </Text>
1541
+ </View>
1393
1542
  </View>
1394
- </View>
1395
- <View
1396
- accessible={true}
1397
- focusable={true}
1398
- onClick={[Function]}
1399
- onResponderGrant={[Function]}
1400
- onResponderMove={[Function]}
1401
- onResponderRelease={[Function]}
1402
- onResponderTerminate={[Function]}
1403
- onResponderTerminationRequest={[Function]}
1404
- onStartShouldSetResponder={[Function]}
1405
- style={
1406
- [
1543
+ <View
1544
+ accessibilityState={
1407
1545
  {
1408
- "alignItems": "center",
1409
- "flex": 1,
1410
- "paddingVertical": 8,
1411
- },
1412
- undefined,
1413
- ]
1414
- }
1415
- >
1546
+ "busy": undefined,
1547
+ "checked": undefined,
1548
+ "disabled": undefined,
1549
+ "expanded": undefined,
1550
+ "selected": undefined,
1551
+ }
1552
+ }
1553
+ accessible={true}
1554
+ focusable={true}
1555
+ onClick={[Function]}
1556
+ onResponderGrant={[Function]}
1557
+ onResponderMove={[Function]}
1558
+ onResponderRelease={[Function]}
1559
+ onResponderTerminate={[Function]}
1560
+ onResponderTerminationRequest={[Function]}
1561
+ onStartShouldSetResponder={[Function]}
1562
+ style={
1563
+ [
1564
+ {
1565
+ "alignItems": "center",
1566
+ "flex": 1,
1567
+ "paddingVertical": 8,
1568
+ },
1569
+ undefined,
1570
+ ]
1571
+ }
1572
+ >
1573
+ <View>
1574
+ <Text
1575
+ allowFontScaling={false}
1576
+ numberOfLines={1}
1577
+ style={
1578
+ [
1579
+ {
1580
+ "color": "#001f23",
1581
+ "fontFamily": "BeVietnamPro-SemiBold",
1582
+ "fontSize": 14,
1583
+ "letterSpacing": 0.24,
1584
+ "lineHeight": 22,
1585
+ },
1586
+ {
1587
+ "color": "#001f23",
1588
+ },
1589
+ ]
1590
+ }
1591
+ themeIntent="body"
1592
+ themeTypeface="neutral"
1593
+ themeVariant="small-bold"
1594
+ >
1595
+ Personal
1596
+ </Text>
1597
+ </View>
1598
+ </View>
1416
1599
  <View
1417
- style={
1600
+ accessibilityState={
1418
1601
  {
1419
- "paddingHorizontal": 4,
1602
+ "busy": undefined,
1603
+ "checked": undefined,
1604
+ "disabled": undefined,
1605
+ "expanded": undefined,
1606
+ "selected": undefined,
1420
1607
  }
1421
1608
  }
1609
+ accessible={true}
1610
+ focusable={true}
1611
+ onClick={[Function]}
1612
+ onResponderGrant={[Function]}
1613
+ onResponderMove={[Function]}
1614
+ onResponderRelease={[Function]}
1615
+ onResponderTerminate={[Function]}
1616
+ onResponderTerminationRequest={[Function]}
1617
+ onStartShouldSetResponder={[Function]}
1618
+ style={
1619
+ [
1620
+ {
1621
+ "alignItems": "center",
1622
+ "flex": 1,
1623
+ "paddingVertical": 8,
1624
+ },
1625
+ undefined,
1626
+ ]
1627
+ }
1422
1628
  >
1423
- <Text
1424
- allowFontScaling={false}
1425
- numberOfLines={1}
1426
- style={
1427
- [
1428
- {
1429
- "color": "#001f23",
1430
- "fontFamily": "BeVietnamPro-Regular",
1431
- "fontSize": 14,
1432
- "letterSpacing": 0.48,
1433
- "lineHeight": 22,
1434
- },
1435
- {
1436
- "color": "#001f23",
1437
- },
1438
- ]
1439
- }
1440
- themeIntent="body"
1441
- themeTypeface="neutral"
1442
- themeVariant="small"
1443
- >
1444
- Home
1445
- </Text>
1446
1629
  <View
1447
- collapsable={false}
1448
1630
  style={
1449
1631
  {
1450
- "backgroundColor": "#cb300a",
1451
- "borderRadius": 999,
1452
- "height": 8,
1453
- "opacity": 1,
1454
- "position": "absolute",
1455
- "right": -2,
1456
- "top": -2,
1457
- "transform": [
1632
+ "paddingHorizontal": 4,
1633
+ }
1634
+ }
1635
+ >
1636
+ <Text
1637
+ allowFontScaling={false}
1638
+ numberOfLines={1}
1639
+ style={
1640
+ [
1641
+ {
1642
+ "color": "#001f23",
1643
+ "fontFamily": "BeVietnamPro-Regular",
1644
+ "fontSize": 14,
1645
+ "letterSpacing": 0.48,
1646
+ "lineHeight": 22,
1647
+ },
1458
1648
  {
1459
- "scale": 1,
1649
+ "color": "#001f23",
1460
1650
  },
1461
- ],
1462
- "width": 8,
1651
+ ]
1463
1652
  }
1464
- }
1465
- themeIntent="danger"
1466
- />
1653
+ themeIntent="body"
1654
+ themeTypeface="neutral"
1655
+ themeVariant="small"
1656
+ >
1657
+ Home
1658
+ </Text>
1659
+ <View
1660
+ collapsable={false}
1661
+ style={
1662
+ {
1663
+ "backgroundColor": "#cb300a",
1664
+ "borderRadius": 999,
1665
+ "height": 8,
1666
+ "opacity": 1,
1667
+ "position": "absolute",
1668
+ "right": -2,
1669
+ "top": -2,
1670
+ "transform": [
1671
+ {
1672
+ "scale": 1,
1673
+ },
1674
+ ],
1675
+ "width": 8,
1676
+ }
1677
+ }
1678
+ themeIntent="danger"
1679
+ />
1680
+ </View>
1467
1681
  </View>
1468
- </View>
1469
- <View
1470
- accessible={true}
1471
- focusable={true}
1472
- onClick={[Function]}
1473
- onResponderGrant={[Function]}
1474
- onResponderMove={[Function]}
1475
- onResponderRelease={[Function]}
1476
- onResponderTerminate={[Function]}
1477
- onResponderTerminationRequest={[Function]}
1478
- onStartShouldSetResponder={[Function]}
1479
- style={
1480
- [
1481
- {
1482
- "alignItems": "center",
1483
- "flex": 1,
1484
- "paddingVertical": 8,
1485
- },
1486
- undefined,
1487
- ]
1488
- }
1489
- >
1490
1682
  <View
1683
+ accessibilityState={
1684
+ {
1685
+ "busy": undefined,
1686
+ "checked": undefined,
1687
+ "disabled": undefined,
1688
+ "expanded": undefined,
1689
+ "selected": undefined,
1690
+ }
1691
+ }
1692
+ accessible={true}
1693
+ focusable={true}
1694
+ onClick={[Function]}
1695
+ onResponderGrant={[Function]}
1696
+ onResponderMove={[Function]}
1697
+ onResponderRelease={[Function]}
1698
+ onResponderTerminate={[Function]}
1699
+ onResponderTerminationRequest={[Function]}
1700
+ onStartShouldSetResponder={[Function]}
1491
1701
  style={
1492
1702
  [
1493
1703
  {
1494
1704
  "alignItems": "center",
1495
- "flexDirection": "row",
1705
+ "flex": 1,
1706
+ "paddingVertical": 8,
1496
1707
  },
1497
1708
  undefined,
1498
1709
  ]
1499
1710
  }
1500
1711
  >
1501
- <Text
1502
- allowFontScaling={false}
1503
- numberOfLines={1}
1712
+ <View
1504
1713
  style={
1505
1714
  [
1506
1715
  {
1507
- "color": "#001f23",
1508
- "fontFamily": "BeVietnamPro-Regular",
1509
- "fontSize": 14,
1510
- "letterSpacing": 0.48,
1511
- "lineHeight": 22,
1512
- },
1513
- {
1514
- "color": "#001f23",
1716
+ "alignItems": "center",
1717
+ "flexDirection": "row",
1515
1718
  },
1719
+ undefined,
1516
1720
  ]
1517
1721
  }
1518
- themeIntent="body"
1519
- themeTypeface="neutral"
1520
- themeVariant="small"
1521
- >
1522
- Money
1523
- </Text>
1524
- <View
1525
- collapsable={false}
1526
- style={
1527
- {
1528
- "alignItems": "center",
1529
- "backgroundColor": "#355bfb",
1530
- "borderRadius": 999,
1531
- "height": 20,
1532
- "justifyContent": "center",
1533
- "marginLeft": 4,
1534
- "minWidth": 20,
1535
- "opacity": 1,
1536
- "paddingHorizontal": 8,
1537
- "transform": [
1538
- {
1539
- "scale": 1,
1540
- },
1541
- ],
1542
- }
1543
- }
1544
- themeIntent="info"
1545
- themePadding="wideContent"
1546
1722
  >
1547
1723
  <Text
1548
1724
  allowFontScaling={false}
1725
+ numberOfLines={1}
1549
1726
  style={
1550
1727
  [
1551
1728
  {
1552
1729
  "color": "#001f23",
1553
1730
  "fontFamily": "BeVietnamPro-Regular",
1554
- "fontSize": 12,
1731
+ "fontSize": 14,
1555
1732
  "letterSpacing": 0.48,
1556
- "lineHeight": 16,
1733
+ "lineHeight": 22,
1734
+ },
1735
+ {
1736
+ "color": "#001f23",
1557
1737
  },
1558
- [
1559
- {
1560
- "color": "#ffffff",
1561
- "includeFontPadding": false,
1562
- "textAlign": "center",
1563
- "textAlignVertical": "center",
1564
- },
1565
- undefined,
1566
- ],
1567
1738
  ]
1568
1739
  }
1569
- themeFontWeight="regular"
1570
1740
  themeIntent="body"
1741
+ themeTypeface="neutral"
1742
+ themeVariant="small"
1571
1743
  >
1572
- 50
1744
+ Money
1573
1745
  </Text>
1746
+ <View
1747
+ collapsable={false}
1748
+ style={
1749
+ {
1750
+ "alignItems": "center",
1751
+ "backgroundColor": "#355bfb",
1752
+ "borderRadius": 999,
1753
+ "height": 20,
1754
+ "justifyContent": "center",
1755
+ "marginLeft": 4,
1756
+ "minWidth": 20,
1757
+ "opacity": 1,
1758
+ "paddingHorizontal": 8,
1759
+ "transform": [
1760
+ {
1761
+ "scale": 1,
1762
+ },
1763
+ ],
1764
+ }
1765
+ }
1766
+ themeIntent="info"
1767
+ themePadding="wideContent"
1768
+ >
1769
+ <Text
1770
+ allowFontScaling={false}
1771
+ style={
1772
+ [
1773
+ {
1774
+ "color": "#001f23",
1775
+ "fontFamily": "BeVietnamPro-Regular",
1776
+ "fontSize": 12,
1777
+ "letterSpacing": 0.48,
1778
+ "lineHeight": 16,
1779
+ },
1780
+ [
1781
+ {
1782
+ "color": "#ffffff",
1783
+ "includeFontPadding": false,
1784
+ "textAlign": "center",
1785
+ "textAlignVertical": "center",
1786
+ },
1787
+ undefined,
1788
+ ],
1789
+ ]
1790
+ }
1791
+ themeFontWeight="regular"
1792
+ themeIntent="body"
1793
+ >
1794
+ 50
1795
+ </Text>
1796
+ </View>
1574
1797
  </View>
1575
1798
  </View>
1576
1799
  </View>
1800
+ <View
1801
+ collapsable={false}
1802
+ style={
1803
+ {
1804
+ "backgroundColor": "#401960",
1805
+ "bottom": 0,
1806
+ "height": 2,
1807
+ "position": "absolute",
1808
+ "transform": [
1809
+ {
1810
+ "translateX": 0,
1811
+ },
1812
+ ],
1813
+ "width": 0,
1814
+ }
1815
+ }
1816
+ themeWidth={0}
1817
+ />
1577
1818
  </View>
1819
+ </View>
1820
+ <RNCViewPager
1821
+ layoutDirection="ltr"
1822
+ onMoveShouldSetResponderCapture={[Function]}
1823
+ onPageScroll={[Function]}
1824
+ onPageScrollStateChanged={[Function]}
1825
+ onPageSelected={[Function]}
1826
+ >
1578
1827
  <View
1579
1828
  collapsable={false}
1580
1829
  style={
1581
1830
  {
1582
- "backgroundColor": "#401960",
1583
1831
  "bottom": 0,
1584
- "height": 2,
1832
+ "left": 0,
1585
1833
  "position": "absolute",
1586
- "transform": [
1587
- {
1588
- "translateX": 0,
1589
- },
1590
- ],
1591
- "width": 0,
1834
+ "right": 0,
1835
+ "top": 0,
1592
1836
  }
1593
1837
  }
1594
- themeWidth={0}
1595
- />
1596
- </View>
1597
- </View>
1598
- <RNCViewPager
1599
- layoutDirection="ltr"
1600
- onMoveShouldSetResponderCapture={[Function]}
1601
- onPageScroll={[Function]}
1602
- onPageScrollStateChanged={[Function]}
1603
- onPageSelected={[Function]}
1604
- >
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
- >
1617
- <View
1618
- accessibilityElementsHidden={true}
1619
- importantForAccessibility="no-hide-descendants"
1620
- style={
1621
- [
1622
- {
1623
- "flex": 1,
1624
- },
1838
+ >
1839
+ <View
1840
+ accessibilityElementsHidden={true}
1841
+ importantForAccessibility="no-hide-descendants"
1842
+ style={
1625
1843
  [
1626
1844
  {
1627
1845
  "flex": 1,
1628
- "overflow": "hidden",
1629
1846
  },
1630
- null,
1631
- ],
1632
- ]
1633
- }
1634
- >
1635
- <Text>
1636
- Work Screen
1637
-
1638
- unfocused
1639
- </Text>
1847
+ [
1848
+ {
1849
+ "flex": 1,
1850
+ "overflow": "hidden",
1851
+ },
1852
+ null,
1853
+ ],
1854
+ ]
1855
+ }
1856
+ >
1857
+ <Text>
1858
+ Work Screen
1859
+
1860
+ unfocused
1861
+ </Text>
1862
+ </View>
1640
1863
  </View>
1641
- </View>
1642
- <View
1643
- collapsable={false}
1644
- style={
1645
- {
1646
- "bottom": 0,
1647
- "left": 0,
1648
- "position": "absolute",
1649
- "right": 0,
1650
- "top": 0,
1651
- }
1652
- }
1653
- >
1654
1864
  <View
1655
- accessibilityElementsHidden={false}
1656
- importantForAccessibility="auto"
1865
+ collapsable={false}
1657
1866
  style={
1658
- [
1659
- {
1660
- "flex": 1,
1661
- },
1867
+ {
1868
+ "bottom": 0,
1869
+ "left": 0,
1870
+ "position": "absolute",
1871
+ "right": 0,
1872
+ "top": 0,
1873
+ }
1874
+ }
1875
+ >
1876
+ <View
1877
+ accessibilityElementsHidden={false}
1878
+ importantForAccessibility="auto"
1879
+ style={
1662
1880
  [
1663
1881
  {
1664
1882
  "flex": 1,
1665
- "overflow": "hidden",
1666
- },
1667
- {
1668
- "bottom": 0,
1669
- "left": 0,
1670
- "position": "absolute",
1671
- "right": 0,
1672
- "top": 0,
1673
1883
  },
1674
- ],
1675
- ]
1676
- }
1677
- >
1678
- <Text>
1679
- Personal Screen
1680
-
1681
- focused
1682
- </Text>
1884
+ [
1885
+ {
1886
+ "flex": 1,
1887
+ "overflow": "hidden",
1888
+ },
1889
+ {
1890
+ "bottom": 0,
1891
+ "left": 0,
1892
+ "position": "absolute",
1893
+ "right": 0,
1894
+ "top": 0,
1895
+ },
1896
+ ],
1897
+ ]
1898
+ }
1899
+ >
1900
+ <Text>
1901
+ Personal Screen
1902
+
1903
+ focused
1904
+ </Text>
1905
+ </View>
1683
1906
  </View>
1684
- </View>
1685
- <View
1686
- collapsable={false}
1687
- style={
1688
- {
1689
- "bottom": 0,
1690
- "left": 0,
1691
- "position": "absolute",
1692
- "right": 0,
1693
- "top": 0,
1694
- }
1695
- }
1696
- >
1697
1907
  <View
1698
- accessibilityElementsHidden={true}
1699
- importantForAccessibility="no-hide-descendants"
1908
+ collapsable={false}
1700
1909
  style={
1701
- [
1702
- {
1703
- "flex": 1,
1704
- },
1910
+ {
1911
+ "bottom": 0,
1912
+ "left": 0,
1913
+ "position": "absolute",
1914
+ "right": 0,
1915
+ "top": 0,
1916
+ }
1917
+ }
1918
+ >
1919
+ <View
1920
+ accessibilityElementsHidden={true}
1921
+ importantForAccessibility="no-hide-descendants"
1922
+ style={
1705
1923
  [
1706
1924
  {
1707
1925
  "flex": 1,
1708
- "overflow": "hidden",
1709
1926
  },
1710
- null,
1711
- ],
1712
- ]
1713
- }
1714
- >
1715
- <Text>
1716
- Home Screen
1717
-
1718
- unfocused
1719
- </Text>
1927
+ [
1928
+ {
1929
+ "flex": 1,
1930
+ "overflow": "hidden",
1931
+ },
1932
+ null,
1933
+ ],
1934
+ ]
1935
+ }
1936
+ >
1937
+ <Text>
1938
+ Home Screen
1939
+
1940
+ unfocused
1941
+ </Text>
1942
+ </View>
1720
1943
  </View>
1721
- </View>
1722
- <View
1723
- collapsable={false}
1724
- style={
1725
- {
1726
- "bottom": 0,
1727
- "left": 0,
1728
- "position": "absolute",
1729
- "right": 0,
1730
- "top": 0,
1731
- }
1732
- }
1733
- >
1734
1944
  <View
1735
- accessibilityElementsHidden={true}
1736
- importantForAccessibility="no-hide-descendants"
1945
+ collapsable={false}
1737
1946
  style={
1738
- [
1739
- {
1740
- "flex": 1,
1741
- },
1947
+ {
1948
+ "bottom": 0,
1949
+ "left": 0,
1950
+ "position": "absolute",
1951
+ "right": 0,
1952
+ "top": 0,
1953
+ }
1954
+ }
1955
+ >
1956
+ <View
1957
+ accessibilityElementsHidden={true}
1958
+ importantForAccessibility="no-hide-descendants"
1959
+ style={
1742
1960
  [
1743
1961
  {
1744
1962
  "flex": 1,
1745
- "overflow": "hidden",
1746
1963
  },
1747
- null,
1748
- ],
1749
- ]
1750
- }
1751
- >
1752
- <Text>
1753
- Money Screen
1754
-
1755
- unfocused
1756
- </Text>
1964
+ [
1965
+ {
1966
+ "flex": 1,
1967
+ "overflow": "hidden",
1968
+ },
1969
+ null,
1970
+ ],
1971
+ ]
1972
+ }
1973
+ >
1974
+ <Text>
1975
+ Money Screen
1976
+
1977
+ unfocused
1978
+ </Text>
1979
+ </View>
1757
1980
  </View>
1758
- </View>
1759
- </RNCViewPager>
1760
- </View>
1761
- </RNCSafeAreaProvider>
1981
+ </RNCViewPager>
1982
+ </View>
1983
+ </RNCSafeAreaProvider>
1984
+ <View
1985
+ pointerEvents="box-none"
1986
+ position="bottom"
1987
+ style={
1988
+ [
1989
+ {
1990
+ "bottom": 0,
1991
+ "elevation": 9999,
1992
+ "flexDirection": "column-reverse",
1993
+ "left": 0,
1994
+ "paddingHorizontal": 24,
1995
+ "paddingVertical": 16,
1996
+ "position": "absolute",
1997
+ "right": 0,
1998
+ "top": 0,
1999
+ },
2000
+ undefined,
2001
+ ]
2002
+ }
2003
+ />
2004
+ </View>
1762
2005
  `;