@hero-design/rn 9.0.0-0 → 9.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (668) hide show
  1. package/CHANGELOG.md +287 -0
  2. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  3. package/es/index.js +17491 -14687
  4. package/jest-ci.config.js +17 -0
  5. package/jest-setup.ts +2 -0
  6. package/jest.config.js +1 -3
  7. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  8. package/lib/index.js +17376 -14565
  9. package/package.json +50 -40
  10. package/rollup.config.js +1 -0
  11. package/sonar-project.properties +11 -0
  12. package/src/components/Accordion/AccordionItem.tsx +1 -3
  13. package/src/components/Accordion/__tests__/AccordionItem.spec.tsx +5 -5
  14. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +580 -408
  15. package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +76 -20
  16. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +818 -644
  17. package/src/components/Accordion/__tests__/index.spec.tsx +2 -2
  18. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +912 -644
  19. package/src/components/Alert/__tests__/index.spec.tsx +44 -2
  20. package/src/components/Alert/index.tsx +30 -4
  21. package/src/components/AnimatedScroller/AnimatedFAB.tsx +155 -0
  22. package/src/components/AnimatedScroller/AnimatedScrollable.tsx +70 -0
  23. package/src/components/AnimatedScroller/FlatListWithFAB.tsx +23 -0
  24. package/src/components/AnimatedScroller/ScrollViewWithFAB.tsx +21 -0
  25. package/src/components/AnimatedScroller/SectionListWithFAB.tsx +26 -0
  26. package/src/components/AnimatedScroller/__tests__/ScrollablesWithFAB.spec.tsx +193 -0
  27. package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +3462 -0
  28. package/src/components/AnimatedScroller/index.tsx +5 -0
  29. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +178 -117
  30. package/src/components/Attachment/index.tsx +3 -1
  31. package/src/components/Avatar/AvatarStack/StyledAvatarStack.tsx +63 -9
  32. package/src/components/Avatar/AvatarStack/__tests__/StyledAvatarStack.spec.tsx +71 -9
  33. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +410 -73
  34. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +2904 -591
  35. package/src/components/Avatar/AvatarStack/__tests__/index.spec.tsx +140 -6
  36. package/src/components/Avatar/AvatarStack/index.tsx +94 -9
  37. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +163 -62
  38. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +288 -168
  39. package/src/components/Badge/StyledBadge.tsx +1 -4
  40. package/src/components/Badge/__tests__/Status.spec.tsx +1 -1
  41. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +397 -259
  42. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +123 -68
  43. package/src/components/BottomNavigation/StyledBottomNavigation.tsx +1 -1
  44. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +332 -276
  45. package/src/components/BottomNavigation/index.tsx +4 -1
  46. package/src/components/BottomSheet/Header.tsx +1 -3
  47. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +330 -197
  48. package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +1042 -454
  49. package/src/components/Button/Button.tsx +60 -25
  50. package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +6 -9
  51. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +400 -140
  52. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +1090 -880
  53. package/src/components/Button/StyledButton.tsx +56 -59
  54. package/src/components/Button/UtilityButton/StyledUtilityButton.tsx +2 -4
  55. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +206 -122
  56. package/src/components/Button/__tests__/Button.spec.tsx +18 -0
  57. package/src/components/Button/__tests__/StyledButton.spec.tsx +12 -6
  58. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1878 -1196
  59. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +74 -29
  60. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +1734 -778
  61. package/src/components/Calendar/CalendarRowItem.tsx +5 -2
  62. package/src/components/Calendar/StyledCalendar.tsx +2 -2
  63. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +555 -335
  64. package/src/components/Calendar/__tests__/index.spec.tsx +76 -0
  65. package/src/components/Calendar/index.tsx +170 -59
  66. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +265 -69
  67. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +215 -75
  68. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +36 -8
  69. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +304 -142
  70. package/src/components/Card/__tests__/index.spec.tsx +1 -1
  71. package/src/components/Carousel/CardCarousel.tsx +23 -25
  72. package/src/components/Carousel/CarouselItem.tsx +39 -23
  73. package/src/components/Carousel/StyledCardCarousel.tsx +1 -16
  74. package/src/components/Carousel/StyledCarousel.tsx +8 -12
  75. package/src/components/Carousel/__tests__/CardCarousel.spec.tsx +18 -18
  76. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +370 -366
  77. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +199 -72
  78. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +41 -13
  79. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1621 -1861
  80. package/src/components/Carousel/__tests__/index.spec.tsx +107 -7
  81. package/src/components/Carousel/index.tsx +63 -35
  82. package/src/components/Carousel/types.ts +4 -4
  83. package/src/components/Checkbox/StyledCheckbox.tsx +24 -30
  84. package/src/components/Checkbox/__tests__/StyledCheckbox.spec.tsx +25 -16
  85. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +432 -77
  86. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +598 -345
  87. package/src/components/Checkbox/__tests__/index.spec.tsx +24 -9
  88. package/src/components/Checkbox/index.tsx +60 -25
  89. package/src/components/Chip/StyledChip.tsx +121 -0
  90. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1483 -0
  91. package/src/components/Chip/__tests__/index.spec.tsx +136 -0
  92. package/src/components/Chip/index.tsx +82 -0
  93. package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +74 -18
  94. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +100 -44
  95. package/src/components/Collapse/index.tsx +1 -1
  96. package/src/components/ContentNavigator/StyledContentNavigator.tsx +1 -6
  97. package/src/components/ContentNavigator/__tests__/StyledContentNavigator.spec.tsx +1 -9
  98. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +37 -38
  99. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +449 -186
  100. package/src/components/ContentNavigator/__tests__/index.spec.tsx +16 -0
  101. package/src/components/ContentNavigator/index.tsx +30 -9
  102. package/src/components/DatePicker/DatePickerAndroid.tsx +8 -3
  103. package/src/components/DatePicker/DatePickerCalendar.tsx +44 -15
  104. package/src/components/DatePicker/DatePickerIOS.tsx +12 -23
  105. package/src/components/DatePicker/__tests__/DatePicker.spec.tsx +92 -0
  106. package/src/components/DatePicker/__tests__/DatePickerCalendar.spec.tsx +42 -0
  107. package/src/components/DatePicker/__tests__/DatePickerIOS.spec.tsx +6 -5
  108. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +676 -508
  109. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +230 -174
  110. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +222 -166
  111. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +518 -423
  112. package/src/components/DatePicker/types.ts +8 -0
  113. package/src/components/DatePicker/useCalculateDate.tsx +34 -0
  114. package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +464 -128
  115. package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +99 -71
  116. package/src/components/Drawer/DragableDrawer/index.tsx +2 -2
  117. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +327 -192
  118. package/src/components/Drawer/index.tsx +3 -3
  119. package/src/components/Empty/StyledEmpty.tsx +2 -6
  120. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +176 -134
  121. package/src/components/Empty/index.tsx +4 -2
  122. package/src/components/Error/StyledError.tsx +4 -9
  123. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +431 -335
  124. package/src/components/Error/__tests__/index.spec.tsx +9 -6
  125. package/src/components/Error/index.tsx +6 -2
  126. package/src/components/FAB/ActionGroup/ActionItem.tsx +46 -15
  127. package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +16 -18
  128. package/src/components/FAB/ActionGroup/StyledActionItem.tsx +1 -5
  129. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +980 -1217
  130. package/src/components/FAB/ActionGroup/__tests__/index.spec.tsx +32 -22
  131. package/src/components/FAB/ActionGroup/index.tsx +135 -94
  132. package/src/components/FAB/AnimatedFABIcon.tsx +3 -5
  133. package/src/components/FAB/FAB.tsx +170 -28
  134. package/src/components/FAB/StyledFAB.tsx +26 -23
  135. package/src/components/FAB/__tests__/StyledFAB.spec.tsx +12 -2
  136. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +102 -46
  137. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +204 -52
  138. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +323 -180
  139. package/src/components/FAB/__tests__/index.spec.tsx +22 -2
  140. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +80 -0
  141. package/src/components/HeroDesignProvider/__tests__/index.spec.tsx +78 -0
  142. package/src/components/HeroDesignProvider/index.tsx +14 -0
  143. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  144. package/src/components/Icon/IconList.ts +36 -0
  145. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +162 -50
  146. package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +172 -60
  147. package/src/components/List/BasicListItem.tsx +2 -6
  148. package/src/components/List/ListItem.tsx +3 -5
  149. package/src/components/List/StyledListItem.tsx +8 -7
  150. package/src/components/List/__tests__/ListItem.spec.tsx +4 -4
  151. package/src/components/List/__tests__/StyledBasicListItem.spec.tsx +3 -1
  152. package/src/components/List/__tests__/StyledListItem.spec.tsx +3 -1
  153. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +264 -198
  154. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +798 -635
  155. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +280 -140
  156. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +485 -203
  157. package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +169 -0
  158. package/src/components/Modal/__tests__/index.spec.tsx +99 -0
  159. package/src/components/Modal/index.tsx +217 -0
  160. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +84 -41
  161. package/src/components/PageControl/index.tsx +7 -4
  162. package/src/components/PinInput/PinCell.tsx +3 -1
  163. package/src/components/PinInput/StyledPinInput.tsx +2 -7
  164. package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +9 -4
  165. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +298 -178
  166. package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +15 -48
  167. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +873 -777
  168. package/src/components/PinInput/index.tsx +3 -1
  169. package/src/components/Portal/PortalHost.tsx +27 -0
  170. package/src/components/Portal/PortalProvider.tsx +35 -0
  171. package/src/components/Portal/__tests__/PortalHost.spec.tsx +48 -0
  172. package/src/components/Portal/__tests__/PortalProvider.spec.tsx +24 -0
  173. package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +57 -0
  174. package/src/components/Portal/__tests__/index.spec.tsx +48 -0
  175. package/src/components/Portal/__tests__/reducer.spec.tsx +110 -0
  176. package/src/components/Portal/constants.ts +10 -0
  177. package/src/components/Portal/contexts.ts +14 -0
  178. package/src/components/Portal/index.tsx +66 -0
  179. package/src/components/Portal/reducer.ts +106 -0
  180. package/src/components/Portal/types.tsx +31 -0
  181. package/src/components/Portal/usePortal.ts +50 -0
  182. package/src/components/Portal/usePortalState.ts +11 -0
  183. package/src/components/Progress/ProgressCircle.tsx +1 -3
  184. package/src/components/Progress/StyledProgressBar.tsx +1 -0
  185. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +810 -671
  186. package/src/components/Radio/Radio.tsx +25 -6
  187. package/src/components/Radio/RadioGroup.tsx +13 -4
  188. package/src/components/Radio/StyledRadio.tsx +20 -3
  189. package/src/components/Radio/__tests__/Radio.spec.tsx +46 -13
  190. package/src/components/Radio/__tests__/RadioGroup.spec.tsx +40 -7
  191. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +565 -126
  192. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +1079 -196
  193. package/src/components/Radio/types.ts +9 -1
  194. package/src/components/Rate/StyledRate.tsx +16 -0
  195. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +1006 -0
  196. package/src/components/Rate/__tests__/index.spec.tsx +47 -0
  197. package/src/components/Rate/index.tsx +90 -0
  198. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +131 -47
  199. package/src/components/RichTextEditor/RichTextEditor.tsx +94 -47
  200. package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +5 -2
  201. package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +3 -3
  202. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +420 -273
  203. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +66 -37
  204. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +451 -355
  205. package/src/components/SectionHeading/StyledHeading.tsx +21 -10
  206. package/src/components/SectionHeading/__tests__/StyledHeading.spec.tsx +6 -2
  207. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +165 -30
  208. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +469 -169
  209. package/src/components/SectionHeading/__tests__/index.spec.tsx +15 -1
  210. package/src/components/SectionHeading/index.tsx +51 -32
  211. package/src/components/Select/MultiSelect/Option.tsx +3 -0
  212. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +100 -64
  213. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2557 -2320
  214. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +2739 -911
  215. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +39 -22
  216. package/src/components/Select/MultiSelect/index.tsx +1 -1
  217. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +78 -43
  218. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2460 -2228
  219. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +1356 -843
  220. package/src/components/Select/SingleSelect/__tests__/index.spec.tsx +5 -9
  221. package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +525 -329
  222. package/src/components/Skeleton/index.tsx +3 -7
  223. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +117 -33
  224. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +114 -86
  225. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +1336 -664
  226. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +129 -101
  227. package/src/components/Success/StyledSuccess.tsx +4 -7
  228. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +560 -311
  229. package/src/components/Success/__tests__/index.spec.tsx +37 -9
  230. package/src/components/Success/index.tsx +7 -4
  231. package/src/components/Swipeable/__tests__/SwipeableAction.spec.tsx +2 -2
  232. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +219 -87
  233. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +158 -24
  234. package/src/components/Swipeable/__tests__/index.spec.tsx +12 -5
  235. package/src/components/Swipeable/index.tsx +42 -15
  236. package/src/components/Switch/SelectorSwitch/Option.tsx +1 -1
  237. package/src/components/Switch/SelectorSwitch/StyledSelectorSwitch.tsx +4 -7
  238. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +242 -131
  239. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +152 -116
  240. package/src/components/Switch/SelectorSwitch/index.tsx +7 -15
  241. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +203 -63
  242. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +134 -70
  243. package/src/components/Tabs/SceneView.tsx +11 -6
  244. package/src/components/Tabs/ScrollableTabs.tsx +26 -8
  245. package/src/components/Tabs/{ScrollableTabsHeader.tsx → ScrollableTabsHeader/ScrollableTabsHeader.tsx} +74 -45
  246. package/src/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.ts +45 -0
  247. package/src/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.ts +91 -0
  248. package/src/components/Tabs/StyledScrollableTabs.tsx +14 -9
  249. package/src/components/Tabs/StyledTabs.tsx +1 -9
  250. package/src/components/Tabs/__tests__/SceneView.spec.tsx +11 -11
  251. package/src/components/Tabs/__tests__/ScrollableTabsHeader.spec.tsx +7 -3
  252. package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +219 -110
  253. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2348 -2072
  254. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +1134 -444
  255. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +124 -73
  256. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1694 -1487
  257. package/src/components/Tabs/__tests__/useInitHighlightedAnimation.spec.tsx +56 -0
  258. package/src/components/Tabs/__tests__/useInitUnderlinedAnimation.spec.tsx +65 -0
  259. package/src/components/Tabs/index.tsx +9 -6
  260. package/src/components/Tag/StyledTag.tsx +7 -39
  261. package/src/components/Tag/__tests__/Tag.spec.tsx +18 -14
  262. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +572 -377
  263. package/src/components/Tag/index.tsx +8 -2
  264. package/src/components/TextInput/StyledTextInput.tsx +18 -49
  265. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +2 -46
  266. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1001 -803
  267. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3774 -3075
  268. package/src/components/TextInput/__tests__/index.spec.tsx +151 -9
  269. package/src/components/TextInput/index.tsx +253 -105
  270. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +452 -347
  271. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +741 -597
  272. package/src/components/Toast/StyledToast.tsx +1 -1
  273. package/src/components/Toast/Toast.tsx +6 -5
  274. package/src/components/Toast/ToastContainer.tsx +2 -0
  275. package/src/components/Toast/ToastContext.ts +20 -2
  276. package/src/components/Toast/ToastProvider.tsx +7 -4
  277. package/src/components/Toast/__tests__/Toast.spec.tsx +5 -1
  278. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +916 -631
  279. package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
  280. package/src/components/Toolbar/StyledToolbar.tsx +1 -1
  281. package/src/components/Toolbar/ToolbarItem.tsx +4 -6
  282. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +606 -456
  283. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +714 -401
  284. package/src/components/Typography/Body/StyledBody.tsx +46 -0
  285. package/src/components/Typography/Body/__tests__/StyledBody.tsx +56 -0
  286. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +801 -0
  287. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +970 -0
  288. package/src/components/Typography/Body/__tests__/index.spec.tsx +54 -0
  289. package/src/components/Typography/Body/index.tsx +71 -0
  290. package/src/components/Typography/Caption/StyledCaption.tsx +17 -0
  291. package/src/components/Typography/Caption/__tests__/StyledCaption.spec.tsx +39 -0
  292. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +491 -0
  293. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +651 -0
  294. package/src/components/Typography/Caption/__tests__/index.spec.tsx +46 -0
  295. package/src/components/Typography/Caption/index.tsx +61 -0
  296. package/src/components/Typography/Label/StyledLabel.tsx +14 -0
  297. package/src/components/Typography/Label/__tests__/StyledLabel.tsx +23 -0
  298. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +377 -0
  299. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +529 -0
  300. package/src/components/Typography/Label/__tests__/index.spec.tsx +32 -0
  301. package/src/components/Typography/Label/index.tsx +55 -0
  302. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +900 -340
  303. package/src/components/Typography/Text/index.tsx +19 -12
  304. package/src/components/Typography/Title/StyledTitle.tsx +20 -0
  305. package/src/components/Typography/Title/__tests__/StyledTitle.tsx +53 -0
  306. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +1001 -0
  307. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +1174 -0
  308. package/src/components/Typography/Title/__tests__/index.spec.tsx +55 -0
  309. package/src/components/Typography/Title/index.tsx +70 -0
  310. package/src/components/Typography/index.tsx +15 -0
  311. package/src/components/Typography/types.ts +18 -0
  312. package/src/index.ts +16 -0
  313. package/src/testHelpers/renderWithTheme.tsx +2 -2
  314. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +539 -345
  315. package/src/theme/components/badge.ts +15 -0
  316. package/src/theme/components/button.ts +17 -1
  317. package/src/theme/components/calendar.ts +2 -0
  318. package/src/theme/components/cardCarousel.ts +1 -8
  319. package/src/theme/components/carousel.ts +15 -1
  320. package/src/theme/components/checkbox.ts +5 -2
  321. package/src/theme/components/chip.ts +47 -0
  322. package/src/theme/components/empty.ts +12 -0
  323. package/src/theme/components/error.ts +16 -0
  324. package/src/theme/components/fab.ts +17 -11
  325. package/src/theme/components/list.ts +9 -5
  326. package/src/theme/components/pinInput.ts +15 -0
  327. package/src/theme/components/progress.ts +2 -2
  328. package/src/theme/components/radio.ts +8 -2
  329. package/src/theme/components/rate.ts +16 -0
  330. package/src/theme/components/sectionHeading.ts +2 -1
  331. package/src/theme/components/success.ts +12 -0
  332. package/src/theme/components/swipeable.ts +10 -1
  333. package/src/theme/components/switch.ts +4 -4
  334. package/src/theme/components/tabs.ts +3 -2
  335. package/src/theme/components/tag.ts +18 -2
  336. package/src/theme/components/textInput.ts +4 -4
  337. package/src/theme/components/toast.ts +5 -5
  338. package/src/theme/components/typography.ts +132 -1
  339. package/src/theme/getTheme.ts +24 -18
  340. package/src/theme/global/colors/__tests__/__snapshots__/eBens.spec.ts.snap +8 -8
  341. package/src/theme/global/colors/__tests__/__snapshots__/global.spec.ts.snap +6 -6
  342. package/src/theme/global/colors/__tests__/__snapshots__/globalDark.spec.ts.snap +1 -1
  343. package/src/theme/global/colors/__tests__/__snapshots__/jobs.spec.ts.snap +7 -7
  344. package/src/theme/global/colors/__tests__/__snapshots__/swag.spec.ts.snap +7 -7
  345. package/src/theme/global/colors/__tests__/__snapshots__/swagDark.spec.ts.snap +1 -1
  346. package/src/theme/global/colors/__tests__/__snapshots__/wallet.spec.ts.snap +8 -8
  347. package/src/theme/global/colors/__tests__/__snapshots__/work.spec.ts.snap +10 -10
  348. package/src/theme/global/colors/eBens.ts +2 -2
  349. package/src/theme/global/colors/global.ts +5 -5
  350. package/src/theme/global/colors/jobs.ts +1 -1
  351. package/src/theme/global/colors/swag.ts +1 -1
  352. package/src/theme/global/colors/wallet.ts +2 -2
  353. package/src/theme/global/colors/work.ts +4 -4
  354. package/src/theme/global/index.ts +3 -0
  355. package/src/theme/global/shadows.ts +19 -0
  356. package/src/theme/global/space.ts +2 -0
  357. package/src/types.ts +4 -0
  358. package/src/utils/helpers.ts +4 -1
  359. package/testUtils/setup.tsx +32 -2
  360. package/tsconfig.json +14 -3
  361. package/types/components/Accordion/AccordionItem.d.ts +2 -1
  362. package/types/components/Accordion/StyledAccordion.d.ts +5 -6
  363. package/types/components/Accordion/index.d.ts +1 -1
  364. package/types/components/Alert/StyledAlert.d.ts +5 -6
  365. package/types/components/Alert/index.d.ts +18 -2
  366. package/types/components/AnimatedScroller/AnimatedFAB.d.ts +12 -0
  367. package/types/components/AnimatedScroller/AnimatedScrollable.d.ts +16 -0
  368. package/types/components/AnimatedScroller/FlatListWithFAB.d.ts +12 -0
  369. package/types/components/AnimatedScroller/ScrollViewWithFAB.d.ts +12 -0
  370. package/types/components/AnimatedScroller/SectionListWithFAB.d.ts +12 -0
  371. package/types/components/AnimatedScroller/index.d.ts +4 -0
  372. package/types/components/Attachment/StyledAttachment.d.ts +4 -5
  373. package/types/components/Attachment/index.d.ts +2 -1
  374. package/types/components/Avatar/Avatar.d.ts +2 -1
  375. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +15 -3
  376. package/types/components/Avatar/AvatarStack/index.d.ts +14 -2
  377. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  378. package/types/components/Avatar/StyledAvatar.d.ts +4 -5
  379. package/types/components/Avatar/index.d.ts +2 -2
  380. package/types/components/Badge/Status.d.ts +0 -0
  381. package/types/components/Badge/StyledBadge.d.ts +4 -9
  382. package/types/components/Badge/index.d.ts +0 -0
  383. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +8 -9
  384. package/types/components/BottomNavigation/index.d.ts +0 -0
  385. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -1
  386. package/types/components/BottomSheet/Footer.d.ts +2 -1
  387. package/types/components/BottomSheet/Header.d.ts +2 -1
  388. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  389. package/types/components/BottomSheet/StyledBottomSheet.d.ts +8 -13
  390. package/types/components/BottomSheet/index.d.ts +0 -0
  391. package/types/components/Box/StyledBox.d.ts +1 -2
  392. package/types/components/Box/config.d.ts +0 -0
  393. package/types/components/Box/index.d.ts +2 -1
  394. package/types/components/Box/types.d.ts +0 -1
  395. package/types/components/Button/Button.d.ts +3 -3
  396. package/types/components/Button/IconButton.d.ts +2 -1
  397. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +5 -6
  398. package/types/components/Button/LoadingIndicator/index.d.ts +2 -1
  399. package/types/components/Button/StyledButton.d.ts +16 -10
  400. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +4 -5
  401. package/types/components/Button/UtilityButton/index.d.ts +2 -1
  402. package/types/components/Button/index.d.ts +0 -0
  403. package/types/components/Calendar/CalendarRowItem.d.ts +2 -1
  404. package/types/components/Calendar/StyledCalendar.d.ts +8 -9
  405. package/types/components/Calendar/helpers.d.ts +0 -0
  406. package/types/components/Calendar/index.d.ts +15 -1
  407. package/types/components/Card/DataCard/StyledDataCard.d.ts +2 -3
  408. package/types/components/Card/DataCard/index.d.ts +0 -0
  409. package/types/components/Card/StyledCard.d.ts +1 -2
  410. package/types/components/Card/index.d.ts +0 -0
  411. package/types/components/Carousel/CardCarousel.d.ts +2 -1
  412. package/types/components/Carousel/CarouselItem.d.ts +2 -1
  413. package/types/components/Carousel/StyledCardCarousel.d.ts +5 -12
  414. package/types/components/Carousel/StyledCarousel.d.ts +13 -14
  415. package/types/components/Carousel/contants.d.ts +0 -0
  416. package/types/components/Carousel/index.d.ts +2 -2
  417. package/types/components/Carousel/types.d.ts +4 -4
  418. package/types/components/Checkbox/StyledCheckbox.d.ts +12 -10
  419. package/types/components/Checkbox/index.d.ts +12 -1
  420. package/types/components/Chip/StyledChip.d.ts +30 -0
  421. package/types/components/Chip/index.d.ts +27 -0
  422. package/types/components/Collapse/StyledCollapse.d.ts +3 -6
  423. package/types/components/Collapse/index.d.ts +2 -1
  424. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +2 -7
  425. package/types/components/ContentNavigator/index.d.ts +2 -1
  426. package/types/components/DatePicker/DatePickerAndroid.d.ts +2 -1
  427. package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -1
  428. package/types/components/DatePicker/DatePickerIOS.d.ts +2 -2
  429. package/types/components/DatePicker/StyledDatePicker.d.ts +1 -2
  430. package/types/components/DatePicker/index.d.ts +2 -1
  431. package/types/components/DatePicker/types.d.ts +8 -0
  432. package/types/components/DatePicker/useCalculateDate.d.ts +4 -0
  433. package/types/components/Divider/StyledDivider.d.ts +1 -2
  434. package/types/components/Divider/index.d.ts +2 -1
  435. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  436. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  437. package/types/components/Drawer/StyledDrawer.d.ts +7 -14
  438. package/types/components/Drawer/index.d.ts +0 -0
  439. package/types/components/Empty/StyledEmpty.d.ts +5 -6
  440. package/types/components/Empty/index.d.ts +0 -0
  441. package/types/components/Error/StyledError.d.ts +15 -22
  442. package/types/components/Error/index.d.ts +0 -0
  443. package/types/components/FAB/ActionGroup/ActionItem.d.ts +7 -2
  444. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +13 -17
  445. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +4 -5
  446. package/types/components/FAB/ActionGroup/index.d.ts +12 -1
  447. package/types/components/FAB/AnimatedFABIcon.d.ts +2 -1
  448. package/types/components/FAB/FAB.d.ts +8 -2
  449. package/types/components/FAB/StyledFAB.d.ts +11 -12
  450. package/types/components/FAB/index.d.ts +2 -2
  451. package/types/components/HeroDesignProvider/index.d.ts +4 -0
  452. package/types/components/Icon/AnimatedIcon.d.ts +2 -1
  453. package/types/components/Icon/HeroIcon/index.d.ts +1 -2
  454. package/types/components/Icon/IconList.d.ts +1 -1
  455. package/types/components/Icon/index.d.ts +3 -2
  456. package/types/components/Icon/utils.d.ts +1 -1
  457. package/types/components/Image/index.d.ts +0 -0
  458. package/types/components/List/BasicListItem.d.ts +0 -0
  459. package/types/components/List/ListItem.d.ts +0 -0
  460. package/types/components/List/StyledBasicListItem.d.ts +4 -5
  461. package/types/components/List/StyledListItem.d.ts +7 -8
  462. package/types/components/List/index.d.ts +0 -0
  463. package/types/components/Modal/index.d.ts +37 -0
  464. package/types/components/PageControl/StyledPageControl.d.ts +2 -5
  465. package/types/components/PageControl/index.d.ts +2 -1
  466. package/types/components/PinInput/PinCell.d.ts +2 -1
  467. package/types/components/PinInput/StyledPinInput.d.ts +12 -13
  468. package/types/components/PinInput/index.d.ts +0 -0
  469. package/types/components/Portal/PortalHost.d.ts +5 -0
  470. package/types/components/Portal/PortalProvider.d.ts +7 -0
  471. package/types/components/Portal/constants.d.ts +8 -0
  472. package/types/components/Portal/contexts.d.ts +9 -0
  473. package/types/components/Portal/index.d.ts +18 -0
  474. package/types/components/Portal/reducer.d.ts +5 -0
  475. package/types/components/Portal/types.d.ts +22 -0
  476. package/types/components/Portal/usePortal.d.ts +8 -0
  477. package/types/components/Portal/usePortalState.d.ts +1 -0
  478. package/types/components/Progress/ProgressBar.d.ts +0 -0
  479. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  480. package/types/components/Progress/StyledProgressBar.d.ts +2 -5
  481. package/types/components/Progress/StyledProgressCircle.d.ts +6 -7
  482. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  483. package/types/components/Progress/constants.d.ts +0 -0
  484. package/types/components/Progress/index.d.ts +0 -0
  485. package/types/components/Progress/types.d.ts +0 -0
  486. package/types/components/Radio/Radio.d.ts +15 -3
  487. package/types/components/Radio/RadioGroup.d.ts +5 -1
  488. package/types/components/Radio/StyledRadio.d.ts +14 -5
  489. package/types/components/Radio/index.d.ts +1 -2
  490. package/types/components/Radio/types.d.ts +3 -0
  491. package/types/components/Rate/StyledRate.d.ts +10 -0
  492. package/types/components/Rate/index.d.ts +29 -0
  493. package/types/components/RefreshControl/index.d.ts +2 -1
  494. package/types/components/RichTextEditor/EditorEvent.d.ts +1 -0
  495. package/types/components/RichTextEditor/EditorToolbar.d.ts +2 -1
  496. package/types/components/RichTextEditor/MentionList.d.ts +2 -1
  497. package/types/components/RichTextEditor/RichTextEditor.d.ts +2 -2
  498. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +2 -3
  499. package/types/components/RichTextEditor/StyledToolbar.d.ts +3 -4
  500. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  501. package/types/components/RichTextEditor/constants.d.ts +0 -0
  502. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  503. package/types/components/RichTextEditor/index.d.ts +2 -3
  504. package/types/components/RichTextEditor/types.d.ts +0 -0
  505. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  506. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  507. package/types/components/SectionHeading/StyledHeading.d.ts +7 -5
  508. package/types/components/SectionHeading/index.d.ts +7 -1
  509. package/types/components/Select/BaseOptionList.d.ts +1 -1
  510. package/types/components/Select/Footer.d.ts +2 -1
  511. package/types/components/Select/MultiSelect/Option.d.ts +2 -1
  512. package/types/components/Select/MultiSelect/OptionList.d.ts +2 -1
  513. package/types/components/Select/MultiSelect/index.d.ts +1 -1
  514. package/types/components/Select/SingleSelect/Option.d.ts +2 -1
  515. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  516. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +1 -1
  517. package/types/components/Select/SingleSelect/index.d.ts +1 -1
  518. package/types/components/Select/StyledSelect.d.ts +3 -4
  519. package/types/components/Select/helpers.d.ts +1 -2
  520. package/types/components/Select/index.d.ts +1 -1
  521. package/types/components/Select/types.d.ts +0 -0
  522. package/types/components/Skeleton/StyledSkeleton.d.ts +2 -3
  523. package/types/components/Skeleton/index.d.ts +2 -1
  524. package/types/components/Slider/index.d.ts +2 -1
  525. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
  526. package/types/components/Spinner/StyledSpinner.d.ts +4 -5
  527. package/types/components/Spinner/index.d.ts +0 -0
  528. package/types/components/Success/StyledSuccess.d.ts +14 -19
  529. package/types/components/Success/index.d.ts +1 -1
  530. package/types/components/Swipeable/StyledSwipeable.d.ts +1 -2
  531. package/types/components/Swipeable/SwipeableAction.d.ts +2 -2
  532. package/types/components/Swipeable/index.d.ts +8 -4
  533. package/types/components/Switch/SelectorSwitch/Option.d.ts +2 -1
  534. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +4 -11
  535. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  536. package/types/components/Switch/StyledSwitch.d.ts +2 -5
  537. package/types/components/Switch/index.d.ts +0 -0
  538. package/types/components/Tabs/ActiveTabIndicator.d.ts +2 -1
  539. package/types/components/Tabs/SceneView.d.ts +1 -1
  540. package/types/components/Tabs/ScrollableTabs.d.ts +5 -1
  541. package/types/components/Tabs/{ScrollableTabsHeader.d.ts → ScrollableTabsHeader/ScrollableTabsHeader.d.ts} +8 -3
  542. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +9 -0
  543. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +10 -0
  544. package/types/components/Tabs/StyledScrollableTabs.d.ts +12 -20
  545. package/types/components/Tabs/StyledTabs.d.ts +8 -18
  546. package/types/components/Tabs/TabWithBadge.d.ts +2 -2
  547. package/types/components/Tabs/index.d.ts +2 -1
  548. package/types/components/Tabs/useIsFocused.d.ts +0 -0
  549. package/types/components/Tabs/utils.d.ts +0 -0
  550. package/types/components/Tag/StyledTag.d.ts +4 -8
  551. package/types/components/Tag/index.d.ts +1 -0
  552. package/types/components/TextInput/StyledTextInput.d.ts +22 -46
  553. package/types/components/TextInput/index.d.ts +31 -2
  554. package/types/components/TimePicker/StyledTimePicker.d.ts +1 -2
  555. package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -1
  556. package/types/components/TimePicker/TimePickerIOS.d.ts +2 -1
  557. package/types/components/TimePicker/index.d.ts +2 -1
  558. package/types/components/TimePicker/types.d.ts +0 -0
  559. package/types/components/Toast/StyledToast.d.ts +6 -9
  560. package/types/components/Toast/Toast.d.ts +0 -0
  561. package/types/components/Toast/ToastContainer.d.ts +0 -0
  562. package/types/components/Toast/ToastContext.d.ts +1 -1
  563. package/types/components/Toast/ToastProvider.d.ts +2 -1
  564. package/types/components/Toast/index.d.ts +1 -2
  565. package/types/components/Toast/types.d.ts +0 -0
  566. package/types/components/Toolbar/StyledToolbar.d.ts +6 -7
  567. package/types/components/Toolbar/ToolbarGroup.d.ts +2 -1
  568. package/types/components/Toolbar/ToolbarItem.d.ts +2 -1
  569. package/types/components/Toolbar/index.d.ts +3 -2
  570. package/types/components/Typography/Body/StyledBody.d.ts +14 -0
  571. package/types/components/Typography/Body/__tests__/StyledBody.d.ts +1 -0
  572. package/types/components/Typography/Body/index.d.ts +33 -0
  573. package/types/components/Typography/Caption/StyledCaption.d.ts +12 -0
  574. package/types/components/Typography/Caption/index.d.ts +27 -0
  575. package/types/components/Typography/Label/StyledLabel.d.ts +11 -0
  576. package/types/components/Typography/Label/__tests__/StyledLabel.d.ts +1 -0
  577. package/types/components/Typography/Label/index.d.ts +23 -0
  578. package/types/components/Typography/Text/StyledText.d.ts +1 -2
  579. package/types/components/Typography/Text/index.d.ts +2 -1
  580. package/types/components/Typography/Title/StyledTitle.d.ts +14 -0
  581. package/types/components/Typography/Title/__tests__/StyledTitle.d.ts +1 -0
  582. package/types/components/Typography/Title/index.d.ts +33 -0
  583. package/types/components/Typography/index.d.ts +11 -0
  584. package/types/components/Typography/types.d.ts +6 -0
  585. package/types/index.d.ts +6 -1
  586. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  587. package/types/theme/ThemeProvider.d.ts +0 -1
  588. package/types/theme/ThemeSwitcher.d.ts +2 -2
  589. package/types/theme/components/accordion.d.ts +0 -0
  590. package/types/theme/components/alert.d.ts +0 -0
  591. package/types/theme/components/attachment.d.ts +0 -0
  592. package/types/theme/components/avatar.d.ts +0 -0
  593. package/types/theme/components/badge.d.ts +15 -0
  594. package/types/theme/components/bottomNavigation.d.ts +0 -0
  595. package/types/theme/components/bottomSheet.d.ts +0 -0
  596. package/types/theme/components/button.d.ts +14 -0
  597. package/types/theme/components/calendar.d.ts +2 -0
  598. package/types/theme/components/card.d.ts +0 -0
  599. package/types/theme/components/cardCarousel.d.ts +0 -10
  600. package/types/theme/components/carousel.d.ts +15 -1
  601. package/types/theme/components/checkbox.d.ts +5 -2
  602. package/types/theme/components/chip.d.ts +40 -0
  603. package/types/theme/components/contentNavigator.d.ts +0 -0
  604. package/types/theme/components/datePicker.d.ts +0 -0
  605. package/types/theme/components/divider.d.ts +0 -0
  606. package/types/theme/components/drawer.d.ts +0 -0
  607. package/types/theme/components/empty.d.ts +11 -0
  608. package/types/theme/components/error.d.ts +15 -0
  609. package/types/theme/components/fab.d.ts +13 -7
  610. package/types/theme/components/icon.d.ts +0 -0
  611. package/types/theme/components/image.d.ts +0 -0
  612. package/types/theme/components/list.d.ts +11 -7
  613. package/types/theme/components/pageControl.d.ts +0 -0
  614. package/types/theme/components/pinInput.d.ts +15 -0
  615. package/types/theme/components/progress.d.ts +0 -0
  616. package/types/theme/components/radio.d.ts +7 -1
  617. package/types/theme/components/rate.d.ts +11 -0
  618. package/types/theme/components/refreshControl.d.ts +0 -0
  619. package/types/theme/components/richTextEditor.d.ts +0 -0
  620. package/types/theme/components/sectionHeading.d.ts +1 -0
  621. package/types/theme/components/select.d.ts +0 -0
  622. package/types/theme/components/skeleton.d.ts +0 -0
  623. package/types/theme/components/slider.d.ts +0 -0
  624. package/types/theme/components/spinner.d.ts +0 -0
  625. package/types/theme/components/success.d.ts +11 -0
  626. package/types/theme/components/swipeable.d.ts +7 -0
  627. package/types/theme/components/switch.d.ts +1 -1
  628. package/types/theme/components/tabs.d.ts +1 -0
  629. package/types/theme/components/tag.d.ts +16 -1
  630. package/types/theme/components/textInput.d.ts +2 -2
  631. package/types/theme/components/timePicker.d.ts +0 -0
  632. package/types/theme/components/toast.d.ts +1 -1
  633. package/types/theme/components/toolbar.d.ts +0 -0
  634. package/types/theme/components/typography.d.ts +122 -0
  635. package/types/theme/getTheme.d.ts +22 -18
  636. package/types/theme/global/borders.d.ts +0 -0
  637. package/types/theme/global/colors/eBens.d.ts +0 -0
  638. package/types/theme/global/colors/global.d.ts +0 -0
  639. package/types/theme/global/colors/globalDark.d.ts +0 -0
  640. package/types/theme/global/colors/jobs.d.ts +0 -0
  641. package/types/theme/global/colors/swag.d.ts +0 -0
  642. package/types/theme/global/colors/swagDark.d.ts +0 -0
  643. package/types/theme/global/colors/types.d.ts +0 -0
  644. package/types/theme/global/colors/wallet.d.ts +0 -0
  645. package/types/theme/global/colors/work.d.ts +0 -0
  646. package/types/theme/global/index.d.ts +12 -0
  647. package/types/theme/global/scale.d.ts +0 -0
  648. package/types/theme/global/shadows.d.ts +16 -0
  649. package/types/theme/global/sizes.d.ts +0 -0
  650. package/types/theme/global/space.d.ts +1 -0
  651. package/types/theme/global/typography.d.ts +0 -0
  652. package/types/theme/index.d.ts +0 -0
  653. package/types/types.d.ts +3 -1
  654. package/types/utils/functions.d.ts +0 -0
  655. package/types/utils/helpers.d.ts +1 -1
  656. package/types/utils/hooks.d.ts +0 -0
  657. package/types/utils/scale.d.ts +0 -0
  658. package/.turbo/turbo-build.log +0 -8
  659. package/.turbo/turbo-build:types.log +0 -1
  660. package/.turbo/turbo-lint.log +0 -153
  661. package/.turbo/turbo-publish:npm.log +0 -0
  662. package/.turbo/turbo-type-check.log +0 -1
  663. package/types/components/Carousel/CarouselPaginator/StyledCarouselPaginator.d.ts +0 -14
  664. package/types/components/Carousel/CarouselPaginator/index.d.ts +0 -7
  665. package/types/components/Select/StyledOptionList.d.ts +0 -12
  666. package/types/components/SwipeableV2/StyledSwipeable.d.ts +0 -15
  667. package/types/components/SwipeableV2/index.d.ts +0 -46
  668. package/types/theme/global/colors/legacySystemPalette.d.ts +0 -3
@@ -0,0 +1,3462 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`Scrollables With FAB [Function ExampleFlatListWithFAB] renders ActionGroup correctly 1`] = `
4
+ <View
5
+ style={
6
+ {
7
+ "flex": 1,
8
+ }
9
+ }
10
+ >
11
+ <RCTScrollView
12
+ data={
13
+ [
14
+ {
15
+ "id": 0,
16
+ "title": "Content 0",
17
+ },
18
+ {
19
+ "id": 1,
20
+ "title": "Content 1",
21
+ },
22
+ {
23
+ "id": 2,
24
+ "title": "Content 2",
25
+ },
26
+ {
27
+ "id": 3,
28
+ "title": "Content 3",
29
+ },
30
+ {
31
+ "id": 4,
32
+ "title": "Content 4",
33
+ },
34
+ {
35
+ "id": 5,
36
+ "title": "Content 5",
37
+ },
38
+ {
39
+ "id": 6,
40
+ "title": "Content 6",
41
+ },
42
+ {
43
+ "id": 7,
44
+ "title": "Content 7",
45
+ },
46
+ {
47
+ "id": 8,
48
+ "title": "Content 8",
49
+ },
50
+ {
51
+ "id": 9,
52
+ "title": "Content 9",
53
+ },
54
+ {
55
+ "id": 10,
56
+ "title": "Content 10",
57
+ },
58
+ {
59
+ "id": 11,
60
+ "title": "Content 11",
61
+ },
62
+ {
63
+ "id": 12,
64
+ "title": "Content 12",
65
+ },
66
+ {
67
+ "id": 13,
68
+ "title": "Content 13",
69
+ },
70
+ {
71
+ "id": 14,
72
+ "title": "Content 14",
73
+ },
74
+ {
75
+ "id": 15,
76
+ "title": "Content 15",
77
+ },
78
+ {
79
+ "id": 16,
80
+ "title": "Content 16",
81
+ },
82
+ {
83
+ "id": 17,
84
+ "title": "Content 17",
85
+ },
86
+ {
87
+ "id": 18,
88
+ "title": "Content 18",
89
+ },
90
+ {
91
+ "id": 19,
92
+ "title": "Content 19",
93
+ },
94
+ {
95
+ "id": 20,
96
+ "title": "Content 20",
97
+ },
98
+ {
99
+ "id": 21,
100
+ "title": "Content 21",
101
+ },
102
+ {
103
+ "id": 22,
104
+ "title": "Content 22",
105
+ },
106
+ {
107
+ "id": 23,
108
+ "title": "Content 23",
109
+ },
110
+ {
111
+ "id": 24,
112
+ "title": "Content 24",
113
+ },
114
+ {
115
+ "id": 25,
116
+ "title": "Content 25",
117
+ },
118
+ {
119
+ "id": 26,
120
+ "title": "Content 26",
121
+ },
122
+ {
123
+ "id": 27,
124
+ "title": "Content 27",
125
+ },
126
+ {
127
+ "id": 28,
128
+ "title": "Content 28",
129
+ },
130
+ {
131
+ "id": 29,
132
+ "title": "Content 29",
133
+ },
134
+ ]
135
+ }
136
+ getItem={[Function]}
137
+ getItemCount={[Function]}
138
+ keyExtractor={[Function]}
139
+ onContentSizeChange={[Function]}
140
+ onLayout={[Function]}
141
+ onMomentumScrollBegin={[Function]}
142
+ onMomentumScrollEnd={[Function]}
143
+ onScroll={[Function]}
144
+ onScrollBeginDrag={[Function]}
145
+ onScrollEndDrag={[Function]}
146
+ removeClippedSubviews={false}
147
+ renderItem={[Function]}
148
+ scrollEventThrottle={100}
149
+ stickyHeaderIndices={[]}
150
+ testID="scrollable-with-fab"
151
+ viewabilityConfigCallbackPairs={[]}
152
+ >
153
+ <View>
154
+ <View
155
+ onFocusCapture={[Function]}
156
+ onLayout={[Function]}
157
+ style={null}
158
+ >
159
+ <View
160
+ marginBottom="xxxxlarge"
161
+ style={
162
+ [
163
+ {
164
+ "marginBottom": 56,
165
+ },
166
+ undefined,
167
+ ]
168
+ }
169
+ >
170
+ <Text
171
+ allowFontScaling={false}
172
+ style={
173
+ [
174
+ {
175
+ "color": "#001f23",
176
+ "fontFamily": "BeVietnamPro-SemiBold",
177
+ "fontSize": 18,
178
+ "letterSpacing": 0.24,
179
+ "lineHeight": 28,
180
+ },
181
+ undefined,
182
+ ]
183
+ }
184
+ themeIntent="body"
185
+ themeLevel="h5"
186
+ themeTypeface="neutral"
187
+ >
188
+ Content 0
189
+ </Text>
190
+ <Text
191
+ allowFontScaling={false}
192
+ style={
193
+ [
194
+ {
195
+ "color": "#001f23",
196
+ "fontFamily": "BeVietnamPro-Regular",
197
+ "fontSize": 16,
198
+ "letterSpacing": 0.48,
199
+ "lineHeight": 24,
200
+ },
201
+ undefined,
202
+ ]
203
+ }
204
+ themeIntent="body"
205
+ themeTypeface="neutral"
206
+ themeVariant="regular"
207
+ >
208
+ Item
209
+ 0
210
+ </Text>
211
+ </View>
212
+ </View>
213
+ <View
214
+ onFocusCapture={[Function]}
215
+ onLayout={[Function]}
216
+ style={null}
217
+ >
218
+ <View
219
+ marginBottom="xxxxlarge"
220
+ style={
221
+ [
222
+ {
223
+ "marginBottom": 56,
224
+ },
225
+ undefined,
226
+ ]
227
+ }
228
+ >
229
+ <Text
230
+ allowFontScaling={false}
231
+ style={
232
+ [
233
+ {
234
+ "color": "#001f23",
235
+ "fontFamily": "BeVietnamPro-SemiBold",
236
+ "fontSize": 18,
237
+ "letterSpacing": 0.24,
238
+ "lineHeight": 28,
239
+ },
240
+ undefined,
241
+ ]
242
+ }
243
+ themeIntent="body"
244
+ themeLevel="h5"
245
+ themeTypeface="neutral"
246
+ >
247
+ Content 1
248
+ </Text>
249
+ <Text
250
+ allowFontScaling={false}
251
+ style={
252
+ [
253
+ {
254
+ "color": "#001f23",
255
+ "fontFamily": "BeVietnamPro-Regular",
256
+ "fontSize": 16,
257
+ "letterSpacing": 0.48,
258
+ "lineHeight": 24,
259
+ },
260
+ undefined,
261
+ ]
262
+ }
263
+ themeIntent="body"
264
+ themeTypeface="neutral"
265
+ themeVariant="regular"
266
+ >
267
+ Item
268
+ 1
269
+ </Text>
270
+ </View>
271
+ </View>
272
+ <View
273
+ onFocusCapture={[Function]}
274
+ onLayout={[Function]}
275
+ style={null}
276
+ >
277
+ <View
278
+ marginBottom="xxxxlarge"
279
+ style={
280
+ [
281
+ {
282
+ "marginBottom": 56,
283
+ },
284
+ undefined,
285
+ ]
286
+ }
287
+ >
288
+ <Text
289
+ allowFontScaling={false}
290
+ style={
291
+ [
292
+ {
293
+ "color": "#001f23",
294
+ "fontFamily": "BeVietnamPro-SemiBold",
295
+ "fontSize": 18,
296
+ "letterSpacing": 0.24,
297
+ "lineHeight": 28,
298
+ },
299
+ undefined,
300
+ ]
301
+ }
302
+ themeIntent="body"
303
+ themeLevel="h5"
304
+ themeTypeface="neutral"
305
+ >
306
+ Content 2
307
+ </Text>
308
+ <Text
309
+ allowFontScaling={false}
310
+ style={
311
+ [
312
+ {
313
+ "color": "#001f23",
314
+ "fontFamily": "BeVietnamPro-Regular",
315
+ "fontSize": 16,
316
+ "letterSpacing": 0.48,
317
+ "lineHeight": 24,
318
+ },
319
+ undefined,
320
+ ]
321
+ }
322
+ themeIntent="body"
323
+ themeTypeface="neutral"
324
+ themeVariant="regular"
325
+ >
326
+ Item
327
+ 2
328
+ </Text>
329
+ </View>
330
+ </View>
331
+ <View
332
+ onFocusCapture={[Function]}
333
+ onLayout={[Function]}
334
+ style={null}
335
+ >
336
+ <View
337
+ marginBottom="xxxxlarge"
338
+ style={
339
+ [
340
+ {
341
+ "marginBottom": 56,
342
+ },
343
+ undefined,
344
+ ]
345
+ }
346
+ >
347
+ <Text
348
+ allowFontScaling={false}
349
+ style={
350
+ [
351
+ {
352
+ "color": "#001f23",
353
+ "fontFamily": "BeVietnamPro-SemiBold",
354
+ "fontSize": 18,
355
+ "letterSpacing": 0.24,
356
+ "lineHeight": 28,
357
+ },
358
+ undefined,
359
+ ]
360
+ }
361
+ themeIntent="body"
362
+ themeLevel="h5"
363
+ themeTypeface="neutral"
364
+ >
365
+ Content 3
366
+ </Text>
367
+ <Text
368
+ allowFontScaling={false}
369
+ style={
370
+ [
371
+ {
372
+ "color": "#001f23",
373
+ "fontFamily": "BeVietnamPro-Regular",
374
+ "fontSize": 16,
375
+ "letterSpacing": 0.48,
376
+ "lineHeight": 24,
377
+ },
378
+ undefined,
379
+ ]
380
+ }
381
+ themeIntent="body"
382
+ themeTypeface="neutral"
383
+ themeVariant="regular"
384
+ >
385
+ Item
386
+ 3
387
+ </Text>
388
+ </View>
389
+ </View>
390
+ <View
391
+ onFocusCapture={[Function]}
392
+ onLayout={[Function]}
393
+ style={null}
394
+ >
395
+ <View
396
+ marginBottom="xxxxlarge"
397
+ style={
398
+ [
399
+ {
400
+ "marginBottom": 56,
401
+ },
402
+ undefined,
403
+ ]
404
+ }
405
+ >
406
+ <Text
407
+ allowFontScaling={false}
408
+ style={
409
+ [
410
+ {
411
+ "color": "#001f23",
412
+ "fontFamily": "BeVietnamPro-SemiBold",
413
+ "fontSize": 18,
414
+ "letterSpacing": 0.24,
415
+ "lineHeight": 28,
416
+ },
417
+ undefined,
418
+ ]
419
+ }
420
+ themeIntent="body"
421
+ themeLevel="h5"
422
+ themeTypeface="neutral"
423
+ >
424
+ Content 4
425
+ </Text>
426
+ <Text
427
+ allowFontScaling={false}
428
+ style={
429
+ [
430
+ {
431
+ "color": "#001f23",
432
+ "fontFamily": "BeVietnamPro-Regular",
433
+ "fontSize": 16,
434
+ "letterSpacing": 0.48,
435
+ "lineHeight": 24,
436
+ },
437
+ undefined,
438
+ ]
439
+ }
440
+ themeIntent="body"
441
+ themeTypeface="neutral"
442
+ themeVariant="regular"
443
+ >
444
+ Item
445
+ 4
446
+ </Text>
447
+ </View>
448
+ </View>
449
+ <View
450
+ onFocusCapture={[Function]}
451
+ onLayout={[Function]}
452
+ style={null}
453
+ >
454
+ <View
455
+ marginBottom="xxxxlarge"
456
+ style={
457
+ [
458
+ {
459
+ "marginBottom": 56,
460
+ },
461
+ undefined,
462
+ ]
463
+ }
464
+ >
465
+ <Text
466
+ allowFontScaling={false}
467
+ style={
468
+ [
469
+ {
470
+ "color": "#001f23",
471
+ "fontFamily": "BeVietnamPro-SemiBold",
472
+ "fontSize": 18,
473
+ "letterSpacing": 0.24,
474
+ "lineHeight": 28,
475
+ },
476
+ undefined,
477
+ ]
478
+ }
479
+ themeIntent="body"
480
+ themeLevel="h5"
481
+ themeTypeface="neutral"
482
+ >
483
+ Content 5
484
+ </Text>
485
+ <Text
486
+ allowFontScaling={false}
487
+ style={
488
+ [
489
+ {
490
+ "color": "#001f23",
491
+ "fontFamily": "BeVietnamPro-Regular",
492
+ "fontSize": 16,
493
+ "letterSpacing": 0.48,
494
+ "lineHeight": 24,
495
+ },
496
+ undefined,
497
+ ]
498
+ }
499
+ themeIntent="body"
500
+ themeTypeface="neutral"
501
+ themeVariant="regular"
502
+ >
503
+ Item
504
+ 5
505
+ </Text>
506
+ </View>
507
+ </View>
508
+ <View
509
+ onFocusCapture={[Function]}
510
+ onLayout={[Function]}
511
+ style={null}
512
+ >
513
+ <View
514
+ marginBottom="xxxxlarge"
515
+ style={
516
+ [
517
+ {
518
+ "marginBottom": 56,
519
+ },
520
+ undefined,
521
+ ]
522
+ }
523
+ >
524
+ <Text
525
+ allowFontScaling={false}
526
+ style={
527
+ [
528
+ {
529
+ "color": "#001f23",
530
+ "fontFamily": "BeVietnamPro-SemiBold",
531
+ "fontSize": 18,
532
+ "letterSpacing": 0.24,
533
+ "lineHeight": 28,
534
+ },
535
+ undefined,
536
+ ]
537
+ }
538
+ themeIntent="body"
539
+ themeLevel="h5"
540
+ themeTypeface="neutral"
541
+ >
542
+ Content 6
543
+ </Text>
544
+ <Text
545
+ allowFontScaling={false}
546
+ style={
547
+ [
548
+ {
549
+ "color": "#001f23",
550
+ "fontFamily": "BeVietnamPro-Regular",
551
+ "fontSize": 16,
552
+ "letterSpacing": 0.48,
553
+ "lineHeight": 24,
554
+ },
555
+ undefined,
556
+ ]
557
+ }
558
+ themeIntent="body"
559
+ themeTypeface="neutral"
560
+ themeVariant="regular"
561
+ >
562
+ Item
563
+ 6
564
+ </Text>
565
+ </View>
566
+ </View>
567
+ <View
568
+ onFocusCapture={[Function]}
569
+ onLayout={[Function]}
570
+ style={null}
571
+ >
572
+ <View
573
+ marginBottom="xxxxlarge"
574
+ style={
575
+ [
576
+ {
577
+ "marginBottom": 56,
578
+ },
579
+ undefined,
580
+ ]
581
+ }
582
+ >
583
+ <Text
584
+ allowFontScaling={false}
585
+ style={
586
+ [
587
+ {
588
+ "color": "#001f23",
589
+ "fontFamily": "BeVietnamPro-SemiBold",
590
+ "fontSize": 18,
591
+ "letterSpacing": 0.24,
592
+ "lineHeight": 28,
593
+ },
594
+ undefined,
595
+ ]
596
+ }
597
+ themeIntent="body"
598
+ themeLevel="h5"
599
+ themeTypeface="neutral"
600
+ >
601
+ Content 7
602
+ </Text>
603
+ <Text
604
+ allowFontScaling={false}
605
+ style={
606
+ [
607
+ {
608
+ "color": "#001f23",
609
+ "fontFamily": "BeVietnamPro-Regular",
610
+ "fontSize": 16,
611
+ "letterSpacing": 0.48,
612
+ "lineHeight": 24,
613
+ },
614
+ undefined,
615
+ ]
616
+ }
617
+ themeIntent="body"
618
+ themeTypeface="neutral"
619
+ themeVariant="regular"
620
+ >
621
+ Item
622
+ 7
623
+ </Text>
624
+ </View>
625
+ </View>
626
+ <View
627
+ onFocusCapture={[Function]}
628
+ onLayout={[Function]}
629
+ style={null}
630
+ >
631
+ <View
632
+ marginBottom="xxxxlarge"
633
+ style={
634
+ [
635
+ {
636
+ "marginBottom": 56,
637
+ },
638
+ undefined,
639
+ ]
640
+ }
641
+ >
642
+ <Text
643
+ allowFontScaling={false}
644
+ style={
645
+ [
646
+ {
647
+ "color": "#001f23",
648
+ "fontFamily": "BeVietnamPro-SemiBold",
649
+ "fontSize": 18,
650
+ "letterSpacing": 0.24,
651
+ "lineHeight": 28,
652
+ },
653
+ undefined,
654
+ ]
655
+ }
656
+ themeIntent="body"
657
+ themeLevel="h5"
658
+ themeTypeface="neutral"
659
+ >
660
+ Content 8
661
+ </Text>
662
+ <Text
663
+ allowFontScaling={false}
664
+ style={
665
+ [
666
+ {
667
+ "color": "#001f23",
668
+ "fontFamily": "BeVietnamPro-Regular",
669
+ "fontSize": 16,
670
+ "letterSpacing": 0.48,
671
+ "lineHeight": 24,
672
+ },
673
+ undefined,
674
+ ]
675
+ }
676
+ themeIntent="body"
677
+ themeTypeface="neutral"
678
+ themeVariant="regular"
679
+ >
680
+ Item
681
+ 8
682
+ </Text>
683
+ </View>
684
+ </View>
685
+ <View
686
+ onFocusCapture={[Function]}
687
+ onLayout={[Function]}
688
+ style={null}
689
+ >
690
+ <View
691
+ marginBottom="xxxxlarge"
692
+ style={
693
+ [
694
+ {
695
+ "marginBottom": 56,
696
+ },
697
+ undefined,
698
+ ]
699
+ }
700
+ >
701
+ <Text
702
+ allowFontScaling={false}
703
+ style={
704
+ [
705
+ {
706
+ "color": "#001f23",
707
+ "fontFamily": "BeVietnamPro-SemiBold",
708
+ "fontSize": 18,
709
+ "letterSpacing": 0.24,
710
+ "lineHeight": 28,
711
+ },
712
+ undefined,
713
+ ]
714
+ }
715
+ themeIntent="body"
716
+ themeLevel="h5"
717
+ themeTypeface="neutral"
718
+ >
719
+ Content 9
720
+ </Text>
721
+ <Text
722
+ allowFontScaling={false}
723
+ style={
724
+ [
725
+ {
726
+ "color": "#001f23",
727
+ "fontFamily": "BeVietnamPro-Regular",
728
+ "fontSize": 16,
729
+ "letterSpacing": 0.48,
730
+ "lineHeight": 24,
731
+ },
732
+ undefined,
733
+ ]
734
+ }
735
+ themeIntent="body"
736
+ themeTypeface="neutral"
737
+ themeVariant="regular"
738
+ >
739
+ Item
740
+ 9
741
+ </Text>
742
+ </View>
743
+ </View>
744
+ <View
745
+ style={
746
+ {
747
+ "height": 0,
748
+ }
749
+ }
750
+ />
751
+ </View>
752
+ </RCTScrollView>
753
+ <View
754
+ pointerEvents="box-none"
755
+ style={
756
+ [
757
+ {
758
+ "alignItems": "flex-end",
759
+ "bottom": 0,
760
+ "justifyContent": "flex-end",
761
+ "left": 0,
762
+ "position": "absolute",
763
+ "right": 0,
764
+ "top": 0,
765
+ },
766
+ undefined,
767
+ ]
768
+ }
769
+ >
770
+ <View
771
+ collapsable={false}
772
+ style={{}}
773
+ >
774
+ <View
775
+ accessibilityValue={
776
+ {
777
+ "max": undefined,
778
+ "min": undefined,
779
+ "now": undefined,
780
+ "text": undefined,
781
+ }
782
+ }
783
+ accessible={true}
784
+ focusable={false}
785
+ onClick={[Function]}
786
+ onLayout={[Function]}
787
+ onResponderGrant={[Function]}
788
+ onResponderMove={[Function]}
789
+ onResponderRelease={[Function]}
790
+ onResponderTerminate={[Function]}
791
+ onResponderTerminationRequest={[Function]}
792
+ onStartShouldSetResponder={[Function]}
793
+ style={
794
+ {
795
+ "alignItems": "center",
796
+ "alignSelf": "flex-end",
797
+ "backgroundColor": "#401960",
798
+ "borderRadius": 999,
799
+ "bottom": undefined,
800
+ "elevation": 3,
801
+ "flexDirection": "row",
802
+ "height": 64,
803
+ "justifyContent": "center",
804
+ "marginRight": 24,
805
+ "marginTop": 24,
806
+ "padding": 20,
807
+ "shadowColor": "#001f23",
808
+ "shadowOffset": {
809
+ "height": 2,
810
+ "width": 0,
811
+ },
812
+ "shadowOpacity": 0.12,
813
+ "shadowRadius": 4,
814
+ "transform": [
815
+ {
816
+ "translateY": 0,
817
+ },
818
+ ],
819
+ }
820
+ }
821
+ testID="fab"
822
+ >
823
+ <View
824
+ collapsable={false}
825
+ style={
826
+ {
827
+ "flexDirection": "row",
828
+ "opacity": 1,
829
+ }
830
+ }
831
+ >
832
+ <View
833
+ style={
834
+ [
835
+ {},
836
+ [
837
+ {
838
+ "alignItems": "center",
839
+ "height": 24,
840
+ "justifyContent": "center",
841
+ "width": 24,
842
+ },
843
+ undefined,
844
+ ],
845
+ ]
846
+ }
847
+ >
848
+ <HeroIcon
849
+ name="add"
850
+ style={
851
+ [
852
+ {
853
+ "color": "#001f23",
854
+ "fontSize": 16,
855
+ },
856
+ [
857
+ {
858
+ "color": "#ffffff",
859
+ "lineHeight": 24,
860
+ "textAlign": "center",
861
+ "textAlignVertical": "center",
862
+ },
863
+ undefined,
864
+ ],
865
+ ]
866
+ }
867
+ testID="styled-fab-icon"
868
+ themeIntent="text"
869
+ themeSize="xsmall"
870
+ />
871
+ </View>
872
+ <Text
873
+ allowFontScaling={false}
874
+ style={
875
+ [
876
+ {
877
+ "color": "#001f23",
878
+ "fontFamily": "BeVietnamPro-Regular",
879
+ "fontSize": 16,
880
+ "letterSpacing": 0.48,
881
+ "lineHeight": 24,
882
+ },
883
+ [
884
+ {
885
+ "color": "#ffffff",
886
+ "marginHorizontal": 8,
887
+ "textAlign": "center",
888
+ "textAlignVertical": "center",
889
+ },
890
+ undefined,
891
+ ],
892
+ ]
893
+ }
894
+ themeIntent="body"
895
+ themeTypeface="neutral"
896
+ themeVariant="regular"
897
+ >
898
+ Shout out
899
+ </Text>
900
+ </View>
901
+ </View>
902
+ </View>
903
+ <Modal
904
+ animationType="fade"
905
+ hardwareAccelerated={false}
906
+ statusBarTranslucent={true}
907
+ transparent={true}
908
+ visible={false}
909
+ />
910
+ </View>
911
+ <View
912
+ pointerEvents="box-none"
913
+ position="bottom"
914
+ style={
915
+ [
916
+ {
917
+ "bottom": 0,
918
+ "elevation": 9999,
919
+ "flexDirection": "column-reverse",
920
+ "left": 0,
921
+ "paddingHorizontal": 24,
922
+ "paddingVertical": 16,
923
+ "position": "absolute",
924
+ "right": 0,
925
+ "top": 0,
926
+ },
927
+ undefined,
928
+ ]
929
+ }
930
+ />
931
+ </View>
932
+ `;
933
+
934
+ exports[`Scrollables With FAB [Function ExampleFlatListWithFAB] renders FAB correctly 1`] = `
935
+ <View
936
+ style={
937
+ {
938
+ "flex": 1,
939
+ }
940
+ }
941
+ >
942
+ <RCTScrollView
943
+ data={
944
+ [
945
+ {
946
+ "id": 0,
947
+ "title": "Content 0",
948
+ },
949
+ {
950
+ "id": 1,
951
+ "title": "Content 1",
952
+ },
953
+ {
954
+ "id": 2,
955
+ "title": "Content 2",
956
+ },
957
+ {
958
+ "id": 3,
959
+ "title": "Content 3",
960
+ },
961
+ {
962
+ "id": 4,
963
+ "title": "Content 4",
964
+ },
965
+ {
966
+ "id": 5,
967
+ "title": "Content 5",
968
+ },
969
+ {
970
+ "id": 6,
971
+ "title": "Content 6",
972
+ },
973
+ {
974
+ "id": 7,
975
+ "title": "Content 7",
976
+ },
977
+ {
978
+ "id": 8,
979
+ "title": "Content 8",
980
+ },
981
+ {
982
+ "id": 9,
983
+ "title": "Content 9",
984
+ },
985
+ {
986
+ "id": 10,
987
+ "title": "Content 10",
988
+ },
989
+ {
990
+ "id": 11,
991
+ "title": "Content 11",
992
+ },
993
+ {
994
+ "id": 12,
995
+ "title": "Content 12",
996
+ },
997
+ {
998
+ "id": 13,
999
+ "title": "Content 13",
1000
+ },
1001
+ {
1002
+ "id": 14,
1003
+ "title": "Content 14",
1004
+ },
1005
+ {
1006
+ "id": 15,
1007
+ "title": "Content 15",
1008
+ },
1009
+ {
1010
+ "id": 16,
1011
+ "title": "Content 16",
1012
+ },
1013
+ {
1014
+ "id": 17,
1015
+ "title": "Content 17",
1016
+ },
1017
+ {
1018
+ "id": 18,
1019
+ "title": "Content 18",
1020
+ },
1021
+ {
1022
+ "id": 19,
1023
+ "title": "Content 19",
1024
+ },
1025
+ {
1026
+ "id": 20,
1027
+ "title": "Content 20",
1028
+ },
1029
+ {
1030
+ "id": 21,
1031
+ "title": "Content 21",
1032
+ },
1033
+ {
1034
+ "id": 22,
1035
+ "title": "Content 22",
1036
+ },
1037
+ {
1038
+ "id": 23,
1039
+ "title": "Content 23",
1040
+ },
1041
+ {
1042
+ "id": 24,
1043
+ "title": "Content 24",
1044
+ },
1045
+ {
1046
+ "id": 25,
1047
+ "title": "Content 25",
1048
+ },
1049
+ {
1050
+ "id": 26,
1051
+ "title": "Content 26",
1052
+ },
1053
+ {
1054
+ "id": 27,
1055
+ "title": "Content 27",
1056
+ },
1057
+ {
1058
+ "id": 28,
1059
+ "title": "Content 28",
1060
+ },
1061
+ {
1062
+ "id": 29,
1063
+ "title": "Content 29",
1064
+ },
1065
+ ]
1066
+ }
1067
+ getItem={[Function]}
1068
+ getItemCount={[Function]}
1069
+ keyExtractor={[Function]}
1070
+ onContentSizeChange={[Function]}
1071
+ onLayout={[Function]}
1072
+ onMomentumScrollBegin={[Function]}
1073
+ onMomentumScrollEnd={[Function]}
1074
+ onScroll={[Function]}
1075
+ onScrollBeginDrag={[Function]}
1076
+ onScrollEndDrag={[Function]}
1077
+ removeClippedSubviews={false}
1078
+ renderItem={[Function]}
1079
+ scrollEventThrottle={100}
1080
+ stickyHeaderIndices={[]}
1081
+ testID="scrollable-with-fab"
1082
+ viewabilityConfigCallbackPairs={[]}
1083
+ >
1084
+ <View>
1085
+ <View
1086
+ onFocusCapture={[Function]}
1087
+ onLayout={[Function]}
1088
+ style={null}
1089
+ >
1090
+ <View
1091
+ marginBottom="xxxxlarge"
1092
+ style={
1093
+ [
1094
+ {
1095
+ "marginBottom": 56,
1096
+ },
1097
+ undefined,
1098
+ ]
1099
+ }
1100
+ >
1101
+ <Text
1102
+ allowFontScaling={false}
1103
+ style={
1104
+ [
1105
+ {
1106
+ "color": "#001f23",
1107
+ "fontFamily": "BeVietnamPro-SemiBold",
1108
+ "fontSize": 18,
1109
+ "letterSpacing": 0.24,
1110
+ "lineHeight": 28,
1111
+ },
1112
+ undefined,
1113
+ ]
1114
+ }
1115
+ themeIntent="body"
1116
+ themeLevel="h5"
1117
+ themeTypeface="neutral"
1118
+ >
1119
+ Content 0
1120
+ </Text>
1121
+ <Text
1122
+ allowFontScaling={false}
1123
+ style={
1124
+ [
1125
+ {
1126
+ "color": "#001f23",
1127
+ "fontFamily": "BeVietnamPro-Regular",
1128
+ "fontSize": 16,
1129
+ "letterSpacing": 0.48,
1130
+ "lineHeight": 24,
1131
+ },
1132
+ undefined,
1133
+ ]
1134
+ }
1135
+ themeIntent="body"
1136
+ themeTypeface="neutral"
1137
+ themeVariant="regular"
1138
+ >
1139
+ Item
1140
+ 0
1141
+ </Text>
1142
+ </View>
1143
+ </View>
1144
+ <View
1145
+ onFocusCapture={[Function]}
1146
+ onLayout={[Function]}
1147
+ style={null}
1148
+ >
1149
+ <View
1150
+ marginBottom="xxxxlarge"
1151
+ style={
1152
+ [
1153
+ {
1154
+ "marginBottom": 56,
1155
+ },
1156
+ undefined,
1157
+ ]
1158
+ }
1159
+ >
1160
+ <Text
1161
+ allowFontScaling={false}
1162
+ style={
1163
+ [
1164
+ {
1165
+ "color": "#001f23",
1166
+ "fontFamily": "BeVietnamPro-SemiBold",
1167
+ "fontSize": 18,
1168
+ "letterSpacing": 0.24,
1169
+ "lineHeight": 28,
1170
+ },
1171
+ undefined,
1172
+ ]
1173
+ }
1174
+ themeIntent="body"
1175
+ themeLevel="h5"
1176
+ themeTypeface="neutral"
1177
+ >
1178
+ Content 1
1179
+ </Text>
1180
+ <Text
1181
+ allowFontScaling={false}
1182
+ style={
1183
+ [
1184
+ {
1185
+ "color": "#001f23",
1186
+ "fontFamily": "BeVietnamPro-Regular",
1187
+ "fontSize": 16,
1188
+ "letterSpacing": 0.48,
1189
+ "lineHeight": 24,
1190
+ },
1191
+ undefined,
1192
+ ]
1193
+ }
1194
+ themeIntent="body"
1195
+ themeTypeface="neutral"
1196
+ themeVariant="regular"
1197
+ >
1198
+ Item
1199
+ 1
1200
+ </Text>
1201
+ </View>
1202
+ </View>
1203
+ <View
1204
+ onFocusCapture={[Function]}
1205
+ onLayout={[Function]}
1206
+ style={null}
1207
+ >
1208
+ <View
1209
+ marginBottom="xxxxlarge"
1210
+ style={
1211
+ [
1212
+ {
1213
+ "marginBottom": 56,
1214
+ },
1215
+ undefined,
1216
+ ]
1217
+ }
1218
+ >
1219
+ <Text
1220
+ allowFontScaling={false}
1221
+ style={
1222
+ [
1223
+ {
1224
+ "color": "#001f23",
1225
+ "fontFamily": "BeVietnamPro-SemiBold",
1226
+ "fontSize": 18,
1227
+ "letterSpacing": 0.24,
1228
+ "lineHeight": 28,
1229
+ },
1230
+ undefined,
1231
+ ]
1232
+ }
1233
+ themeIntent="body"
1234
+ themeLevel="h5"
1235
+ themeTypeface="neutral"
1236
+ >
1237
+ Content 2
1238
+ </Text>
1239
+ <Text
1240
+ allowFontScaling={false}
1241
+ style={
1242
+ [
1243
+ {
1244
+ "color": "#001f23",
1245
+ "fontFamily": "BeVietnamPro-Regular",
1246
+ "fontSize": 16,
1247
+ "letterSpacing": 0.48,
1248
+ "lineHeight": 24,
1249
+ },
1250
+ undefined,
1251
+ ]
1252
+ }
1253
+ themeIntent="body"
1254
+ themeTypeface="neutral"
1255
+ themeVariant="regular"
1256
+ >
1257
+ Item
1258
+ 2
1259
+ </Text>
1260
+ </View>
1261
+ </View>
1262
+ <View
1263
+ onFocusCapture={[Function]}
1264
+ onLayout={[Function]}
1265
+ style={null}
1266
+ >
1267
+ <View
1268
+ marginBottom="xxxxlarge"
1269
+ style={
1270
+ [
1271
+ {
1272
+ "marginBottom": 56,
1273
+ },
1274
+ undefined,
1275
+ ]
1276
+ }
1277
+ >
1278
+ <Text
1279
+ allowFontScaling={false}
1280
+ style={
1281
+ [
1282
+ {
1283
+ "color": "#001f23",
1284
+ "fontFamily": "BeVietnamPro-SemiBold",
1285
+ "fontSize": 18,
1286
+ "letterSpacing": 0.24,
1287
+ "lineHeight": 28,
1288
+ },
1289
+ undefined,
1290
+ ]
1291
+ }
1292
+ themeIntent="body"
1293
+ themeLevel="h5"
1294
+ themeTypeface="neutral"
1295
+ >
1296
+ Content 3
1297
+ </Text>
1298
+ <Text
1299
+ allowFontScaling={false}
1300
+ style={
1301
+ [
1302
+ {
1303
+ "color": "#001f23",
1304
+ "fontFamily": "BeVietnamPro-Regular",
1305
+ "fontSize": 16,
1306
+ "letterSpacing": 0.48,
1307
+ "lineHeight": 24,
1308
+ },
1309
+ undefined,
1310
+ ]
1311
+ }
1312
+ themeIntent="body"
1313
+ themeTypeface="neutral"
1314
+ themeVariant="regular"
1315
+ >
1316
+ Item
1317
+ 3
1318
+ </Text>
1319
+ </View>
1320
+ </View>
1321
+ <View
1322
+ onFocusCapture={[Function]}
1323
+ onLayout={[Function]}
1324
+ style={null}
1325
+ >
1326
+ <View
1327
+ marginBottom="xxxxlarge"
1328
+ style={
1329
+ [
1330
+ {
1331
+ "marginBottom": 56,
1332
+ },
1333
+ undefined,
1334
+ ]
1335
+ }
1336
+ >
1337
+ <Text
1338
+ allowFontScaling={false}
1339
+ style={
1340
+ [
1341
+ {
1342
+ "color": "#001f23",
1343
+ "fontFamily": "BeVietnamPro-SemiBold",
1344
+ "fontSize": 18,
1345
+ "letterSpacing": 0.24,
1346
+ "lineHeight": 28,
1347
+ },
1348
+ undefined,
1349
+ ]
1350
+ }
1351
+ themeIntent="body"
1352
+ themeLevel="h5"
1353
+ themeTypeface="neutral"
1354
+ >
1355
+ Content 4
1356
+ </Text>
1357
+ <Text
1358
+ allowFontScaling={false}
1359
+ style={
1360
+ [
1361
+ {
1362
+ "color": "#001f23",
1363
+ "fontFamily": "BeVietnamPro-Regular",
1364
+ "fontSize": 16,
1365
+ "letterSpacing": 0.48,
1366
+ "lineHeight": 24,
1367
+ },
1368
+ undefined,
1369
+ ]
1370
+ }
1371
+ themeIntent="body"
1372
+ themeTypeface="neutral"
1373
+ themeVariant="regular"
1374
+ >
1375
+ Item
1376
+ 4
1377
+ </Text>
1378
+ </View>
1379
+ </View>
1380
+ <View
1381
+ onFocusCapture={[Function]}
1382
+ onLayout={[Function]}
1383
+ style={null}
1384
+ >
1385
+ <View
1386
+ marginBottom="xxxxlarge"
1387
+ style={
1388
+ [
1389
+ {
1390
+ "marginBottom": 56,
1391
+ },
1392
+ undefined,
1393
+ ]
1394
+ }
1395
+ >
1396
+ <Text
1397
+ allowFontScaling={false}
1398
+ style={
1399
+ [
1400
+ {
1401
+ "color": "#001f23",
1402
+ "fontFamily": "BeVietnamPro-SemiBold",
1403
+ "fontSize": 18,
1404
+ "letterSpacing": 0.24,
1405
+ "lineHeight": 28,
1406
+ },
1407
+ undefined,
1408
+ ]
1409
+ }
1410
+ themeIntent="body"
1411
+ themeLevel="h5"
1412
+ themeTypeface="neutral"
1413
+ >
1414
+ Content 5
1415
+ </Text>
1416
+ <Text
1417
+ allowFontScaling={false}
1418
+ style={
1419
+ [
1420
+ {
1421
+ "color": "#001f23",
1422
+ "fontFamily": "BeVietnamPro-Regular",
1423
+ "fontSize": 16,
1424
+ "letterSpacing": 0.48,
1425
+ "lineHeight": 24,
1426
+ },
1427
+ undefined,
1428
+ ]
1429
+ }
1430
+ themeIntent="body"
1431
+ themeTypeface="neutral"
1432
+ themeVariant="regular"
1433
+ >
1434
+ Item
1435
+ 5
1436
+ </Text>
1437
+ </View>
1438
+ </View>
1439
+ <View
1440
+ onFocusCapture={[Function]}
1441
+ onLayout={[Function]}
1442
+ style={null}
1443
+ >
1444
+ <View
1445
+ marginBottom="xxxxlarge"
1446
+ style={
1447
+ [
1448
+ {
1449
+ "marginBottom": 56,
1450
+ },
1451
+ undefined,
1452
+ ]
1453
+ }
1454
+ >
1455
+ <Text
1456
+ allowFontScaling={false}
1457
+ style={
1458
+ [
1459
+ {
1460
+ "color": "#001f23",
1461
+ "fontFamily": "BeVietnamPro-SemiBold",
1462
+ "fontSize": 18,
1463
+ "letterSpacing": 0.24,
1464
+ "lineHeight": 28,
1465
+ },
1466
+ undefined,
1467
+ ]
1468
+ }
1469
+ themeIntent="body"
1470
+ themeLevel="h5"
1471
+ themeTypeface="neutral"
1472
+ >
1473
+ Content 6
1474
+ </Text>
1475
+ <Text
1476
+ allowFontScaling={false}
1477
+ style={
1478
+ [
1479
+ {
1480
+ "color": "#001f23",
1481
+ "fontFamily": "BeVietnamPro-Regular",
1482
+ "fontSize": 16,
1483
+ "letterSpacing": 0.48,
1484
+ "lineHeight": 24,
1485
+ },
1486
+ undefined,
1487
+ ]
1488
+ }
1489
+ themeIntent="body"
1490
+ themeTypeface="neutral"
1491
+ themeVariant="regular"
1492
+ >
1493
+ Item
1494
+ 6
1495
+ </Text>
1496
+ </View>
1497
+ </View>
1498
+ <View
1499
+ onFocusCapture={[Function]}
1500
+ onLayout={[Function]}
1501
+ style={null}
1502
+ >
1503
+ <View
1504
+ marginBottom="xxxxlarge"
1505
+ style={
1506
+ [
1507
+ {
1508
+ "marginBottom": 56,
1509
+ },
1510
+ undefined,
1511
+ ]
1512
+ }
1513
+ >
1514
+ <Text
1515
+ allowFontScaling={false}
1516
+ style={
1517
+ [
1518
+ {
1519
+ "color": "#001f23",
1520
+ "fontFamily": "BeVietnamPro-SemiBold",
1521
+ "fontSize": 18,
1522
+ "letterSpacing": 0.24,
1523
+ "lineHeight": 28,
1524
+ },
1525
+ undefined,
1526
+ ]
1527
+ }
1528
+ themeIntent="body"
1529
+ themeLevel="h5"
1530
+ themeTypeface="neutral"
1531
+ >
1532
+ Content 7
1533
+ </Text>
1534
+ <Text
1535
+ allowFontScaling={false}
1536
+ style={
1537
+ [
1538
+ {
1539
+ "color": "#001f23",
1540
+ "fontFamily": "BeVietnamPro-Regular",
1541
+ "fontSize": 16,
1542
+ "letterSpacing": 0.48,
1543
+ "lineHeight": 24,
1544
+ },
1545
+ undefined,
1546
+ ]
1547
+ }
1548
+ themeIntent="body"
1549
+ themeTypeface="neutral"
1550
+ themeVariant="regular"
1551
+ >
1552
+ Item
1553
+ 7
1554
+ </Text>
1555
+ </View>
1556
+ </View>
1557
+ <View
1558
+ onFocusCapture={[Function]}
1559
+ onLayout={[Function]}
1560
+ style={null}
1561
+ >
1562
+ <View
1563
+ marginBottom="xxxxlarge"
1564
+ style={
1565
+ [
1566
+ {
1567
+ "marginBottom": 56,
1568
+ },
1569
+ undefined,
1570
+ ]
1571
+ }
1572
+ >
1573
+ <Text
1574
+ allowFontScaling={false}
1575
+ style={
1576
+ [
1577
+ {
1578
+ "color": "#001f23",
1579
+ "fontFamily": "BeVietnamPro-SemiBold",
1580
+ "fontSize": 18,
1581
+ "letterSpacing": 0.24,
1582
+ "lineHeight": 28,
1583
+ },
1584
+ undefined,
1585
+ ]
1586
+ }
1587
+ themeIntent="body"
1588
+ themeLevel="h5"
1589
+ themeTypeface="neutral"
1590
+ >
1591
+ Content 8
1592
+ </Text>
1593
+ <Text
1594
+ allowFontScaling={false}
1595
+ style={
1596
+ [
1597
+ {
1598
+ "color": "#001f23",
1599
+ "fontFamily": "BeVietnamPro-Regular",
1600
+ "fontSize": 16,
1601
+ "letterSpacing": 0.48,
1602
+ "lineHeight": 24,
1603
+ },
1604
+ undefined,
1605
+ ]
1606
+ }
1607
+ themeIntent="body"
1608
+ themeTypeface="neutral"
1609
+ themeVariant="regular"
1610
+ >
1611
+ Item
1612
+ 8
1613
+ </Text>
1614
+ </View>
1615
+ </View>
1616
+ <View
1617
+ onFocusCapture={[Function]}
1618
+ onLayout={[Function]}
1619
+ style={null}
1620
+ >
1621
+ <View
1622
+ marginBottom="xxxxlarge"
1623
+ style={
1624
+ [
1625
+ {
1626
+ "marginBottom": 56,
1627
+ },
1628
+ undefined,
1629
+ ]
1630
+ }
1631
+ >
1632
+ <Text
1633
+ allowFontScaling={false}
1634
+ style={
1635
+ [
1636
+ {
1637
+ "color": "#001f23",
1638
+ "fontFamily": "BeVietnamPro-SemiBold",
1639
+ "fontSize": 18,
1640
+ "letterSpacing": 0.24,
1641
+ "lineHeight": 28,
1642
+ },
1643
+ undefined,
1644
+ ]
1645
+ }
1646
+ themeIntent="body"
1647
+ themeLevel="h5"
1648
+ themeTypeface="neutral"
1649
+ >
1650
+ Content 9
1651
+ </Text>
1652
+ <Text
1653
+ allowFontScaling={false}
1654
+ style={
1655
+ [
1656
+ {
1657
+ "color": "#001f23",
1658
+ "fontFamily": "BeVietnamPro-Regular",
1659
+ "fontSize": 16,
1660
+ "letterSpacing": 0.48,
1661
+ "lineHeight": 24,
1662
+ },
1663
+ undefined,
1664
+ ]
1665
+ }
1666
+ themeIntent="body"
1667
+ themeTypeface="neutral"
1668
+ themeVariant="regular"
1669
+ >
1670
+ Item
1671
+ 9
1672
+ </Text>
1673
+ </View>
1674
+ </View>
1675
+ <View
1676
+ style={
1677
+ {
1678
+ "height": 0,
1679
+ }
1680
+ }
1681
+ />
1682
+ </View>
1683
+ </RCTScrollView>
1684
+ <View
1685
+ accessibilityValue={
1686
+ {
1687
+ "max": undefined,
1688
+ "min": undefined,
1689
+ "now": undefined,
1690
+ "text": undefined,
1691
+ }
1692
+ }
1693
+ accessible={true}
1694
+ focusable={false}
1695
+ onClick={[Function]}
1696
+ onLayout={[Function]}
1697
+ onResponderGrant={[Function]}
1698
+ onResponderMove={[Function]}
1699
+ onResponderRelease={[Function]}
1700
+ onResponderTerminate={[Function]}
1701
+ onResponderTerminationRequest={[Function]}
1702
+ onStartShouldSetResponder={[Function]}
1703
+ style={
1704
+ {
1705
+ "alignItems": "center",
1706
+ "alignSelf": "flex-start",
1707
+ "backgroundColor": "#401960",
1708
+ "borderRadius": 999,
1709
+ "bottom": undefined,
1710
+ "elevation": 3,
1711
+ "flexDirection": "row",
1712
+ "height": 64,
1713
+ "justifyContent": "center",
1714
+ "padding": 20,
1715
+ "shadowColor": "#001f23",
1716
+ "shadowOffset": {
1717
+ "height": 2,
1718
+ "width": 0,
1719
+ },
1720
+ "shadowOpacity": 0.12,
1721
+ "shadowRadius": 4,
1722
+ "transform": [
1723
+ {
1724
+ "translateY": 0,
1725
+ },
1726
+ ],
1727
+ }
1728
+ }
1729
+ >
1730
+ <View
1731
+ collapsable={false}
1732
+ style={
1733
+ {
1734
+ "flexDirection": "row",
1735
+ "opacity": 1,
1736
+ }
1737
+ }
1738
+ >
1739
+ <View
1740
+ style={
1741
+ [
1742
+ {},
1743
+ [
1744
+ {
1745
+ "alignItems": "center",
1746
+ "height": 24,
1747
+ "justifyContent": "center",
1748
+ "width": 24,
1749
+ },
1750
+ undefined,
1751
+ ],
1752
+ ]
1753
+ }
1754
+ >
1755
+ <HeroIcon
1756
+ name="speaker"
1757
+ style={
1758
+ [
1759
+ {
1760
+ "color": "#001f23",
1761
+ "fontSize": 16,
1762
+ },
1763
+ [
1764
+ {
1765
+ "color": "#ffffff",
1766
+ "lineHeight": 24,
1767
+ "textAlign": "center",
1768
+ "textAlignVertical": "center",
1769
+ },
1770
+ undefined,
1771
+ ],
1772
+ ]
1773
+ }
1774
+ testID="styled-fab-icon"
1775
+ themeIntent="text"
1776
+ themeSize="xsmall"
1777
+ />
1778
+ </View>
1779
+ <Text
1780
+ allowFontScaling={false}
1781
+ style={
1782
+ [
1783
+ {
1784
+ "color": "#001f23",
1785
+ "fontFamily": "BeVietnamPro-Regular",
1786
+ "fontSize": 16,
1787
+ "letterSpacing": 0.48,
1788
+ "lineHeight": 24,
1789
+ },
1790
+ [
1791
+ {
1792
+ "color": "#ffffff",
1793
+ "marginHorizontal": 8,
1794
+ "textAlign": "center",
1795
+ "textAlignVertical": "center",
1796
+ },
1797
+ undefined,
1798
+ ],
1799
+ ]
1800
+ }
1801
+ themeIntent="body"
1802
+ themeTypeface="neutral"
1803
+ themeVariant="regular"
1804
+ >
1805
+ Shout out
1806
+ </Text>
1807
+ </View>
1808
+ </View>
1809
+ <View
1810
+ pointerEvents="box-none"
1811
+ position="bottom"
1812
+ style={
1813
+ [
1814
+ {
1815
+ "bottom": 0,
1816
+ "elevation": 9999,
1817
+ "flexDirection": "column-reverse",
1818
+ "left": 0,
1819
+ "paddingHorizontal": 24,
1820
+ "paddingVertical": 16,
1821
+ "position": "absolute",
1822
+ "right": 0,
1823
+ "top": 0,
1824
+ },
1825
+ undefined,
1826
+ ]
1827
+ }
1828
+ />
1829
+ </View>
1830
+ `;
1831
+
1832
+ exports[`Scrollables With FAB [Function ExampleScrollViewWithFAB] renders ActionGroup correctly 1`] = `
1833
+ <View
1834
+ style={
1835
+ {
1836
+ "flex": 1,
1837
+ }
1838
+ }
1839
+ >
1840
+ <RCTScrollView
1841
+ onScroll={[Function]}
1842
+ scrollEventThrottle={100}
1843
+ testID="scrollable-with-fab"
1844
+ >
1845
+ <View>
1846
+ <View
1847
+ justifyContent="space-between"
1848
+ style={
1849
+ [
1850
+ {
1851
+ "justifyContent": "space-between",
1852
+ },
1853
+ {
1854
+ "height": 2000,
1855
+ },
1856
+ ]
1857
+ }
1858
+ >
1859
+ <Text
1860
+ allowFontScaling={false}
1861
+ style={
1862
+ [
1863
+ {
1864
+ "color": "#001f23",
1865
+ "fontFamily": "BeVietnamPro-Regular",
1866
+ "fontSize": 16,
1867
+ "letterSpacing": 0.48,
1868
+ "lineHeight": 24,
1869
+ },
1870
+ undefined,
1871
+ ]
1872
+ }
1873
+ themeIntent="body"
1874
+ themeTypeface="neutral"
1875
+ themeVariant="regular"
1876
+ >
1877
+ Content 1
1878
+ </Text>
1879
+ <Text
1880
+ allowFontScaling={false}
1881
+ style={
1882
+ [
1883
+ {
1884
+ "color": "#001f23",
1885
+ "fontFamily": "BeVietnamPro-Regular",
1886
+ "fontSize": 16,
1887
+ "letterSpacing": 0.48,
1888
+ "lineHeight": 24,
1889
+ },
1890
+ undefined,
1891
+ ]
1892
+ }
1893
+ themeIntent="body"
1894
+ themeTypeface="neutral"
1895
+ themeVariant="regular"
1896
+ >
1897
+ Content 2
1898
+ </Text>
1899
+ <Text
1900
+ allowFontScaling={false}
1901
+ style={
1902
+ [
1903
+ {
1904
+ "color": "#001f23",
1905
+ "fontFamily": "BeVietnamPro-Regular",
1906
+ "fontSize": 16,
1907
+ "letterSpacing": 0.48,
1908
+ "lineHeight": 24,
1909
+ },
1910
+ undefined,
1911
+ ]
1912
+ }
1913
+ themeIntent="body"
1914
+ themeTypeface="neutral"
1915
+ themeVariant="regular"
1916
+ >
1917
+ Content 3
1918
+ </Text>
1919
+ </View>
1920
+ </View>
1921
+ </RCTScrollView>
1922
+ <View
1923
+ pointerEvents="box-none"
1924
+ style={
1925
+ [
1926
+ {
1927
+ "alignItems": "flex-end",
1928
+ "bottom": 0,
1929
+ "justifyContent": "flex-end",
1930
+ "left": 0,
1931
+ "position": "absolute",
1932
+ "right": 0,
1933
+ "top": 0,
1934
+ },
1935
+ undefined,
1936
+ ]
1937
+ }
1938
+ >
1939
+ <View
1940
+ collapsable={false}
1941
+ style={{}}
1942
+ >
1943
+ <View
1944
+ accessibilityValue={
1945
+ {
1946
+ "max": undefined,
1947
+ "min": undefined,
1948
+ "now": undefined,
1949
+ "text": undefined,
1950
+ }
1951
+ }
1952
+ accessible={true}
1953
+ focusable={false}
1954
+ onClick={[Function]}
1955
+ onLayout={[Function]}
1956
+ onResponderGrant={[Function]}
1957
+ onResponderMove={[Function]}
1958
+ onResponderRelease={[Function]}
1959
+ onResponderTerminate={[Function]}
1960
+ onResponderTerminationRequest={[Function]}
1961
+ onStartShouldSetResponder={[Function]}
1962
+ style={
1963
+ {
1964
+ "alignItems": "center",
1965
+ "alignSelf": "flex-end",
1966
+ "backgroundColor": "#401960",
1967
+ "borderRadius": 999,
1968
+ "bottom": undefined,
1969
+ "elevation": 3,
1970
+ "flexDirection": "row",
1971
+ "height": 64,
1972
+ "justifyContent": "center",
1973
+ "marginRight": 24,
1974
+ "marginTop": 24,
1975
+ "padding": 20,
1976
+ "shadowColor": "#001f23",
1977
+ "shadowOffset": {
1978
+ "height": 2,
1979
+ "width": 0,
1980
+ },
1981
+ "shadowOpacity": 0.12,
1982
+ "shadowRadius": 4,
1983
+ "transform": [
1984
+ {
1985
+ "translateY": 0,
1986
+ },
1987
+ ],
1988
+ }
1989
+ }
1990
+ testID="fab"
1991
+ >
1992
+ <View
1993
+ collapsable={false}
1994
+ style={
1995
+ {
1996
+ "flexDirection": "row",
1997
+ "opacity": 1,
1998
+ }
1999
+ }
2000
+ >
2001
+ <View
2002
+ style={
2003
+ [
2004
+ {},
2005
+ [
2006
+ {
2007
+ "alignItems": "center",
2008
+ "height": 24,
2009
+ "justifyContent": "center",
2010
+ "width": 24,
2011
+ },
2012
+ undefined,
2013
+ ],
2014
+ ]
2015
+ }
2016
+ >
2017
+ <HeroIcon
2018
+ name="add"
2019
+ style={
2020
+ [
2021
+ {
2022
+ "color": "#001f23",
2023
+ "fontSize": 16,
2024
+ },
2025
+ [
2026
+ {
2027
+ "color": "#ffffff",
2028
+ "lineHeight": 24,
2029
+ "textAlign": "center",
2030
+ "textAlignVertical": "center",
2031
+ },
2032
+ undefined,
2033
+ ],
2034
+ ]
2035
+ }
2036
+ testID="styled-fab-icon"
2037
+ themeIntent="text"
2038
+ themeSize="xsmall"
2039
+ />
2040
+ </View>
2041
+ <Text
2042
+ allowFontScaling={false}
2043
+ style={
2044
+ [
2045
+ {
2046
+ "color": "#001f23",
2047
+ "fontFamily": "BeVietnamPro-Regular",
2048
+ "fontSize": 16,
2049
+ "letterSpacing": 0.48,
2050
+ "lineHeight": 24,
2051
+ },
2052
+ [
2053
+ {
2054
+ "color": "#ffffff",
2055
+ "marginHorizontal": 8,
2056
+ "textAlign": "center",
2057
+ "textAlignVertical": "center",
2058
+ },
2059
+ undefined,
2060
+ ],
2061
+ ]
2062
+ }
2063
+ themeIntent="body"
2064
+ themeTypeface="neutral"
2065
+ themeVariant="regular"
2066
+ >
2067
+ Shout out
2068
+ </Text>
2069
+ </View>
2070
+ </View>
2071
+ </View>
2072
+ <Modal
2073
+ animationType="fade"
2074
+ hardwareAccelerated={false}
2075
+ statusBarTranslucent={true}
2076
+ transparent={true}
2077
+ visible={false}
2078
+ />
2079
+ </View>
2080
+ <View
2081
+ pointerEvents="box-none"
2082
+ position="bottom"
2083
+ style={
2084
+ [
2085
+ {
2086
+ "bottom": 0,
2087
+ "elevation": 9999,
2088
+ "flexDirection": "column-reverse",
2089
+ "left": 0,
2090
+ "paddingHorizontal": 24,
2091
+ "paddingVertical": 16,
2092
+ "position": "absolute",
2093
+ "right": 0,
2094
+ "top": 0,
2095
+ },
2096
+ undefined,
2097
+ ]
2098
+ }
2099
+ />
2100
+ </View>
2101
+ `;
2102
+
2103
+ exports[`Scrollables With FAB [Function ExampleScrollViewWithFAB] renders FAB correctly 1`] = `
2104
+ <View
2105
+ style={
2106
+ {
2107
+ "flex": 1,
2108
+ }
2109
+ }
2110
+ >
2111
+ <RCTScrollView
2112
+ onScroll={[Function]}
2113
+ scrollEventThrottle={100}
2114
+ testID="scrollable-with-fab"
2115
+ >
2116
+ <View>
2117
+ <View
2118
+ justifyContent="space-between"
2119
+ style={
2120
+ [
2121
+ {
2122
+ "justifyContent": "space-between",
2123
+ },
2124
+ {
2125
+ "height": 2000,
2126
+ },
2127
+ ]
2128
+ }
2129
+ >
2130
+ <Text
2131
+ allowFontScaling={false}
2132
+ style={
2133
+ [
2134
+ {
2135
+ "color": "#001f23",
2136
+ "fontFamily": "BeVietnamPro-Regular",
2137
+ "fontSize": 16,
2138
+ "letterSpacing": 0.48,
2139
+ "lineHeight": 24,
2140
+ },
2141
+ undefined,
2142
+ ]
2143
+ }
2144
+ themeIntent="body"
2145
+ themeTypeface="neutral"
2146
+ themeVariant="regular"
2147
+ >
2148
+ Content 1
2149
+ </Text>
2150
+ <Text
2151
+ allowFontScaling={false}
2152
+ style={
2153
+ [
2154
+ {
2155
+ "color": "#001f23",
2156
+ "fontFamily": "BeVietnamPro-Regular",
2157
+ "fontSize": 16,
2158
+ "letterSpacing": 0.48,
2159
+ "lineHeight": 24,
2160
+ },
2161
+ undefined,
2162
+ ]
2163
+ }
2164
+ themeIntent="body"
2165
+ themeTypeface="neutral"
2166
+ themeVariant="regular"
2167
+ >
2168
+ Content 2
2169
+ </Text>
2170
+ <Text
2171
+ allowFontScaling={false}
2172
+ style={
2173
+ [
2174
+ {
2175
+ "color": "#001f23",
2176
+ "fontFamily": "BeVietnamPro-Regular",
2177
+ "fontSize": 16,
2178
+ "letterSpacing": 0.48,
2179
+ "lineHeight": 24,
2180
+ },
2181
+ undefined,
2182
+ ]
2183
+ }
2184
+ themeIntent="body"
2185
+ themeTypeface="neutral"
2186
+ themeVariant="regular"
2187
+ >
2188
+ Content 3
2189
+ </Text>
2190
+ </View>
2191
+ </View>
2192
+ </RCTScrollView>
2193
+ <View
2194
+ accessibilityValue={
2195
+ {
2196
+ "max": undefined,
2197
+ "min": undefined,
2198
+ "now": undefined,
2199
+ "text": undefined,
2200
+ }
2201
+ }
2202
+ accessible={true}
2203
+ focusable={false}
2204
+ onClick={[Function]}
2205
+ onLayout={[Function]}
2206
+ onResponderGrant={[Function]}
2207
+ onResponderMove={[Function]}
2208
+ onResponderRelease={[Function]}
2209
+ onResponderTerminate={[Function]}
2210
+ onResponderTerminationRequest={[Function]}
2211
+ onStartShouldSetResponder={[Function]}
2212
+ style={
2213
+ {
2214
+ "alignItems": "center",
2215
+ "alignSelf": "flex-start",
2216
+ "backgroundColor": "#401960",
2217
+ "borderRadius": 999,
2218
+ "bottom": undefined,
2219
+ "elevation": 3,
2220
+ "flexDirection": "row",
2221
+ "height": 64,
2222
+ "justifyContent": "center",
2223
+ "padding": 20,
2224
+ "shadowColor": "#001f23",
2225
+ "shadowOffset": {
2226
+ "height": 2,
2227
+ "width": 0,
2228
+ },
2229
+ "shadowOpacity": 0.12,
2230
+ "shadowRadius": 4,
2231
+ "transform": [
2232
+ {
2233
+ "translateY": 0,
2234
+ },
2235
+ ],
2236
+ }
2237
+ }
2238
+ >
2239
+ <View
2240
+ collapsable={false}
2241
+ style={
2242
+ {
2243
+ "flexDirection": "row",
2244
+ "opacity": 1,
2245
+ }
2246
+ }
2247
+ >
2248
+ <View
2249
+ style={
2250
+ [
2251
+ {},
2252
+ [
2253
+ {
2254
+ "alignItems": "center",
2255
+ "height": 24,
2256
+ "justifyContent": "center",
2257
+ "width": 24,
2258
+ },
2259
+ undefined,
2260
+ ],
2261
+ ]
2262
+ }
2263
+ >
2264
+ <HeroIcon
2265
+ name="speaker"
2266
+ style={
2267
+ [
2268
+ {
2269
+ "color": "#001f23",
2270
+ "fontSize": 16,
2271
+ },
2272
+ [
2273
+ {
2274
+ "color": "#ffffff",
2275
+ "lineHeight": 24,
2276
+ "textAlign": "center",
2277
+ "textAlignVertical": "center",
2278
+ },
2279
+ undefined,
2280
+ ],
2281
+ ]
2282
+ }
2283
+ testID="styled-fab-icon"
2284
+ themeIntent="text"
2285
+ themeSize="xsmall"
2286
+ />
2287
+ </View>
2288
+ <Text
2289
+ allowFontScaling={false}
2290
+ style={
2291
+ [
2292
+ {
2293
+ "color": "#001f23",
2294
+ "fontFamily": "BeVietnamPro-Regular",
2295
+ "fontSize": 16,
2296
+ "letterSpacing": 0.48,
2297
+ "lineHeight": 24,
2298
+ },
2299
+ [
2300
+ {
2301
+ "color": "#ffffff",
2302
+ "marginHorizontal": 8,
2303
+ "textAlign": "center",
2304
+ "textAlignVertical": "center",
2305
+ },
2306
+ undefined,
2307
+ ],
2308
+ ]
2309
+ }
2310
+ themeIntent="body"
2311
+ themeTypeface="neutral"
2312
+ themeVariant="regular"
2313
+ >
2314
+ Shout out
2315
+ </Text>
2316
+ </View>
2317
+ </View>
2318
+ <View
2319
+ pointerEvents="box-none"
2320
+ position="bottom"
2321
+ style={
2322
+ [
2323
+ {
2324
+ "bottom": 0,
2325
+ "elevation": 9999,
2326
+ "flexDirection": "column-reverse",
2327
+ "left": 0,
2328
+ "paddingHorizontal": 24,
2329
+ "paddingVertical": 16,
2330
+ "position": "absolute",
2331
+ "right": 0,
2332
+ "top": 0,
2333
+ },
2334
+ undefined,
2335
+ ]
2336
+ }
2337
+ />
2338
+ </View>
2339
+ `;
2340
+
2341
+ exports[`Scrollables With FAB [Function ExampleSectionListWithFAB] renders ActionGroup correctly 1`] = `
2342
+ <View
2343
+ style={
2344
+ {
2345
+ "flex": 1,
2346
+ }
2347
+ }
2348
+ >
2349
+ <RCTScrollView
2350
+ data={
2351
+ [
2352
+ {
2353
+ "data": [
2354
+ "Content 1",
2355
+ "Content 2",
2356
+ "Content 3",
2357
+ "Content 4",
2358
+ ],
2359
+ "title": "Title 1",
2360
+ },
2361
+ {
2362
+ "data": [
2363
+ "Content 5",
2364
+ "Content 6",
2365
+ "Content 7",
2366
+ ],
2367
+ "title": "Title 2",
2368
+ },
2369
+ ]
2370
+ }
2371
+ getItem={[Function]}
2372
+ getItemCount={[Function]}
2373
+ keyExtractor={[Function]}
2374
+ onContentSizeChange={[Function]}
2375
+ onLayout={[Function]}
2376
+ onMomentumScrollBegin={[Function]}
2377
+ onMomentumScrollEnd={[Function]}
2378
+ onScroll={[Function]}
2379
+ onScrollBeginDrag={[Function]}
2380
+ onScrollEndDrag={[Function]}
2381
+ renderItem={[Function]}
2382
+ scrollEventThrottle={100}
2383
+ stickyHeaderIndices={
2384
+ [
2385
+ 0,
2386
+ 6,
2387
+ ]
2388
+ }
2389
+ testID="scrollable-with-fab"
2390
+ >
2391
+ <View>
2392
+ <View
2393
+ onFocusCapture={[Function]}
2394
+ onLayout={[Function]}
2395
+ style={null}
2396
+ >
2397
+ <View
2398
+ style={
2399
+ [
2400
+ {
2401
+ "alignContent": "center",
2402
+ "backgroundColor": "#f6f6f7",
2403
+ "display": "flex",
2404
+ "flexDirection": "row",
2405
+ "justifyContent": "space-between",
2406
+ "marginBottom": 16,
2407
+ "paddingHorizontal": 16,
2408
+ "paddingVertical": 8,
2409
+ },
2410
+ undefined,
2411
+ ]
2412
+ }
2413
+ themeSize="medium"
2414
+ >
2415
+ <View
2416
+ style={
2417
+ [
2418
+ {
2419
+ "alignItems": "center",
2420
+ "display": "flex",
2421
+ "flexDirection": "row",
2422
+ },
2423
+ undefined,
2424
+ ]
2425
+ }
2426
+ >
2427
+ <View
2428
+ style={
2429
+ [
2430
+ {
2431
+ "marginRight": 12,
2432
+ },
2433
+ undefined,
2434
+ ]
2435
+ }
2436
+ />
2437
+ <Text
2438
+ allowFontScaling={false}
2439
+ style={
2440
+ [
2441
+ {
2442
+ "color": "#001f23",
2443
+ "fontFamily": "BeVietnamPro-Regular",
2444
+ "fontSize": 14,
2445
+ "letterSpacing": 0.48,
2446
+ "lineHeight": 22,
2447
+ },
2448
+ undefined,
2449
+ ]
2450
+ }
2451
+ themeIntent="body"
2452
+ themeTypeface="neutral"
2453
+ themeVariant="small"
2454
+ >
2455
+ Title 1
2456
+ </Text>
2457
+ </View>
2458
+ </View>
2459
+ </View>
2460
+ <View
2461
+ onFocusCapture={[Function]}
2462
+ onLayout={[Function]}
2463
+ style={null}
2464
+ >
2465
+ <Text
2466
+ allowFontScaling={false}
2467
+ style={
2468
+ [
2469
+ {
2470
+ "color": "#001f23",
2471
+ "fontFamily": "BeVietnamPro-Regular",
2472
+ "fontSize": 42,
2473
+ "letterSpacing": 0,
2474
+ "lineHeight": 50,
2475
+ },
2476
+ {
2477
+ "marginBottom": 56,
2478
+ },
2479
+ ]
2480
+ }
2481
+ themeIntent="body"
2482
+ themeLevel="h1"
2483
+ themeTypeface="neutral"
2484
+ >
2485
+ Content 1
2486
+ </Text>
2487
+ </View>
2488
+ <View
2489
+ onFocusCapture={[Function]}
2490
+ onLayout={[Function]}
2491
+ style={null}
2492
+ >
2493
+ <Text
2494
+ allowFontScaling={false}
2495
+ style={
2496
+ [
2497
+ {
2498
+ "color": "#001f23",
2499
+ "fontFamily": "BeVietnamPro-Regular",
2500
+ "fontSize": 42,
2501
+ "letterSpacing": 0,
2502
+ "lineHeight": 50,
2503
+ },
2504
+ {
2505
+ "marginBottom": 56,
2506
+ },
2507
+ ]
2508
+ }
2509
+ themeIntent="body"
2510
+ themeLevel="h1"
2511
+ themeTypeface="neutral"
2512
+ >
2513
+ Content 2
2514
+ </Text>
2515
+ </View>
2516
+ <View
2517
+ onFocusCapture={[Function]}
2518
+ onLayout={[Function]}
2519
+ style={null}
2520
+ >
2521
+ <Text
2522
+ allowFontScaling={false}
2523
+ style={
2524
+ [
2525
+ {
2526
+ "color": "#001f23",
2527
+ "fontFamily": "BeVietnamPro-Regular",
2528
+ "fontSize": 42,
2529
+ "letterSpacing": 0,
2530
+ "lineHeight": 50,
2531
+ },
2532
+ {
2533
+ "marginBottom": 56,
2534
+ },
2535
+ ]
2536
+ }
2537
+ themeIntent="body"
2538
+ themeLevel="h1"
2539
+ themeTypeface="neutral"
2540
+ >
2541
+ Content 3
2542
+ </Text>
2543
+ </View>
2544
+ <View
2545
+ onFocusCapture={[Function]}
2546
+ onLayout={[Function]}
2547
+ style={null}
2548
+ >
2549
+ <Text
2550
+ allowFontScaling={false}
2551
+ style={
2552
+ [
2553
+ {
2554
+ "color": "#001f23",
2555
+ "fontFamily": "BeVietnamPro-Regular",
2556
+ "fontSize": 42,
2557
+ "letterSpacing": 0,
2558
+ "lineHeight": 50,
2559
+ },
2560
+ {
2561
+ "marginBottom": 56,
2562
+ },
2563
+ ]
2564
+ }
2565
+ themeIntent="body"
2566
+ themeLevel="h1"
2567
+ themeTypeface="neutral"
2568
+ >
2569
+ Content 4
2570
+ </Text>
2571
+ </View>
2572
+ <View
2573
+ onFocusCapture={[Function]}
2574
+ onLayout={[Function]}
2575
+ style={null}
2576
+ />
2577
+ <View
2578
+ onFocusCapture={[Function]}
2579
+ onLayout={[Function]}
2580
+ style={null}
2581
+ >
2582
+ <View
2583
+ style={
2584
+ [
2585
+ {
2586
+ "alignContent": "center",
2587
+ "backgroundColor": "#f6f6f7",
2588
+ "display": "flex",
2589
+ "flexDirection": "row",
2590
+ "justifyContent": "space-between",
2591
+ "marginBottom": 16,
2592
+ "paddingHorizontal": 16,
2593
+ "paddingVertical": 8,
2594
+ },
2595
+ undefined,
2596
+ ]
2597
+ }
2598
+ themeSize="medium"
2599
+ >
2600
+ <View
2601
+ style={
2602
+ [
2603
+ {
2604
+ "alignItems": "center",
2605
+ "display": "flex",
2606
+ "flexDirection": "row",
2607
+ },
2608
+ undefined,
2609
+ ]
2610
+ }
2611
+ >
2612
+ <View
2613
+ style={
2614
+ [
2615
+ {
2616
+ "marginRight": 12,
2617
+ },
2618
+ undefined,
2619
+ ]
2620
+ }
2621
+ />
2622
+ <Text
2623
+ allowFontScaling={false}
2624
+ style={
2625
+ [
2626
+ {
2627
+ "color": "#001f23",
2628
+ "fontFamily": "BeVietnamPro-Regular",
2629
+ "fontSize": 14,
2630
+ "letterSpacing": 0.48,
2631
+ "lineHeight": 22,
2632
+ },
2633
+ undefined,
2634
+ ]
2635
+ }
2636
+ themeIntent="body"
2637
+ themeTypeface="neutral"
2638
+ themeVariant="small"
2639
+ >
2640
+ Title 2
2641
+ </Text>
2642
+ </View>
2643
+ </View>
2644
+ </View>
2645
+ <View
2646
+ onFocusCapture={[Function]}
2647
+ onLayout={[Function]}
2648
+ style={null}
2649
+ >
2650
+ <Text
2651
+ allowFontScaling={false}
2652
+ style={
2653
+ [
2654
+ {
2655
+ "color": "#001f23",
2656
+ "fontFamily": "BeVietnamPro-Regular",
2657
+ "fontSize": 42,
2658
+ "letterSpacing": 0,
2659
+ "lineHeight": 50,
2660
+ },
2661
+ {
2662
+ "marginBottom": 56,
2663
+ },
2664
+ ]
2665
+ }
2666
+ themeIntent="body"
2667
+ themeLevel="h1"
2668
+ themeTypeface="neutral"
2669
+ >
2670
+ Content 5
2671
+ </Text>
2672
+ </View>
2673
+ <View
2674
+ onFocusCapture={[Function]}
2675
+ onLayout={[Function]}
2676
+ style={null}
2677
+ >
2678
+ <Text
2679
+ allowFontScaling={false}
2680
+ style={
2681
+ [
2682
+ {
2683
+ "color": "#001f23",
2684
+ "fontFamily": "BeVietnamPro-Regular",
2685
+ "fontSize": 42,
2686
+ "letterSpacing": 0,
2687
+ "lineHeight": 50,
2688
+ },
2689
+ {
2690
+ "marginBottom": 56,
2691
+ },
2692
+ ]
2693
+ }
2694
+ themeIntent="body"
2695
+ themeLevel="h1"
2696
+ themeTypeface="neutral"
2697
+ >
2698
+ Content 6
2699
+ </Text>
2700
+ </View>
2701
+ <View
2702
+ onFocusCapture={[Function]}
2703
+ onLayout={[Function]}
2704
+ style={null}
2705
+ >
2706
+ <Text
2707
+ allowFontScaling={false}
2708
+ style={
2709
+ [
2710
+ {
2711
+ "color": "#001f23",
2712
+ "fontFamily": "BeVietnamPro-Regular",
2713
+ "fontSize": 42,
2714
+ "letterSpacing": 0,
2715
+ "lineHeight": 50,
2716
+ },
2717
+ {
2718
+ "marginBottom": 56,
2719
+ },
2720
+ ]
2721
+ }
2722
+ themeIntent="body"
2723
+ themeLevel="h1"
2724
+ themeTypeface="neutral"
2725
+ >
2726
+ Content 7
2727
+ </Text>
2728
+ </View>
2729
+ <View
2730
+ style={
2731
+ {
2732
+ "height": 0,
2733
+ }
2734
+ }
2735
+ />
2736
+ </View>
2737
+ </RCTScrollView>
2738
+ <View
2739
+ pointerEvents="box-none"
2740
+ style={
2741
+ [
2742
+ {
2743
+ "alignItems": "flex-end",
2744
+ "bottom": 0,
2745
+ "justifyContent": "flex-end",
2746
+ "left": 0,
2747
+ "position": "absolute",
2748
+ "right": 0,
2749
+ "top": 0,
2750
+ },
2751
+ undefined,
2752
+ ]
2753
+ }
2754
+ >
2755
+ <View
2756
+ collapsable={false}
2757
+ style={{}}
2758
+ >
2759
+ <View
2760
+ accessibilityValue={
2761
+ {
2762
+ "max": undefined,
2763
+ "min": undefined,
2764
+ "now": undefined,
2765
+ "text": undefined,
2766
+ }
2767
+ }
2768
+ accessible={true}
2769
+ focusable={false}
2770
+ onClick={[Function]}
2771
+ onLayout={[Function]}
2772
+ onResponderGrant={[Function]}
2773
+ onResponderMove={[Function]}
2774
+ onResponderRelease={[Function]}
2775
+ onResponderTerminate={[Function]}
2776
+ onResponderTerminationRequest={[Function]}
2777
+ onStartShouldSetResponder={[Function]}
2778
+ style={
2779
+ {
2780
+ "alignItems": "center",
2781
+ "alignSelf": "flex-end",
2782
+ "backgroundColor": "#401960",
2783
+ "borderRadius": 999,
2784
+ "bottom": undefined,
2785
+ "elevation": 3,
2786
+ "flexDirection": "row",
2787
+ "height": 64,
2788
+ "justifyContent": "center",
2789
+ "marginRight": 24,
2790
+ "marginTop": 24,
2791
+ "padding": 20,
2792
+ "shadowColor": "#001f23",
2793
+ "shadowOffset": {
2794
+ "height": 2,
2795
+ "width": 0,
2796
+ },
2797
+ "shadowOpacity": 0.12,
2798
+ "shadowRadius": 4,
2799
+ "transform": [
2800
+ {
2801
+ "translateY": 0,
2802
+ },
2803
+ ],
2804
+ }
2805
+ }
2806
+ testID="fab"
2807
+ >
2808
+ <View
2809
+ collapsable={false}
2810
+ style={
2811
+ {
2812
+ "flexDirection": "row",
2813
+ "opacity": 1,
2814
+ }
2815
+ }
2816
+ >
2817
+ <View
2818
+ style={
2819
+ [
2820
+ {},
2821
+ [
2822
+ {
2823
+ "alignItems": "center",
2824
+ "height": 24,
2825
+ "justifyContent": "center",
2826
+ "width": 24,
2827
+ },
2828
+ undefined,
2829
+ ],
2830
+ ]
2831
+ }
2832
+ >
2833
+ <HeroIcon
2834
+ name="add"
2835
+ style={
2836
+ [
2837
+ {
2838
+ "color": "#001f23",
2839
+ "fontSize": 16,
2840
+ },
2841
+ [
2842
+ {
2843
+ "color": "#ffffff",
2844
+ "lineHeight": 24,
2845
+ "textAlign": "center",
2846
+ "textAlignVertical": "center",
2847
+ },
2848
+ undefined,
2849
+ ],
2850
+ ]
2851
+ }
2852
+ testID="styled-fab-icon"
2853
+ themeIntent="text"
2854
+ themeSize="xsmall"
2855
+ />
2856
+ </View>
2857
+ <Text
2858
+ allowFontScaling={false}
2859
+ style={
2860
+ [
2861
+ {
2862
+ "color": "#001f23",
2863
+ "fontFamily": "BeVietnamPro-Regular",
2864
+ "fontSize": 16,
2865
+ "letterSpacing": 0.48,
2866
+ "lineHeight": 24,
2867
+ },
2868
+ [
2869
+ {
2870
+ "color": "#ffffff",
2871
+ "marginHorizontal": 8,
2872
+ "textAlign": "center",
2873
+ "textAlignVertical": "center",
2874
+ },
2875
+ undefined,
2876
+ ],
2877
+ ]
2878
+ }
2879
+ themeIntent="body"
2880
+ themeTypeface="neutral"
2881
+ themeVariant="regular"
2882
+ >
2883
+ Shout out
2884
+ </Text>
2885
+ </View>
2886
+ </View>
2887
+ </View>
2888
+ <Modal
2889
+ animationType="fade"
2890
+ hardwareAccelerated={false}
2891
+ statusBarTranslucent={true}
2892
+ transparent={true}
2893
+ visible={false}
2894
+ />
2895
+ </View>
2896
+ <View
2897
+ pointerEvents="box-none"
2898
+ position="bottom"
2899
+ style={
2900
+ [
2901
+ {
2902
+ "bottom": 0,
2903
+ "elevation": 9999,
2904
+ "flexDirection": "column-reverse",
2905
+ "left": 0,
2906
+ "paddingHorizontal": 24,
2907
+ "paddingVertical": 16,
2908
+ "position": "absolute",
2909
+ "right": 0,
2910
+ "top": 0,
2911
+ },
2912
+ undefined,
2913
+ ]
2914
+ }
2915
+ />
2916
+ </View>
2917
+ `;
2918
+
2919
+ exports[`Scrollables With FAB [Function ExampleSectionListWithFAB] renders FAB correctly 1`] = `
2920
+ <View
2921
+ style={
2922
+ {
2923
+ "flex": 1,
2924
+ }
2925
+ }
2926
+ >
2927
+ <RCTScrollView
2928
+ data={
2929
+ [
2930
+ {
2931
+ "data": [
2932
+ "Content 1",
2933
+ "Content 2",
2934
+ "Content 3",
2935
+ "Content 4",
2936
+ ],
2937
+ "title": "Title 1",
2938
+ },
2939
+ {
2940
+ "data": [
2941
+ "Content 5",
2942
+ "Content 6",
2943
+ "Content 7",
2944
+ ],
2945
+ "title": "Title 2",
2946
+ },
2947
+ ]
2948
+ }
2949
+ getItem={[Function]}
2950
+ getItemCount={[Function]}
2951
+ keyExtractor={[Function]}
2952
+ onContentSizeChange={[Function]}
2953
+ onLayout={[Function]}
2954
+ onMomentumScrollBegin={[Function]}
2955
+ onMomentumScrollEnd={[Function]}
2956
+ onScroll={[Function]}
2957
+ onScrollBeginDrag={[Function]}
2958
+ onScrollEndDrag={[Function]}
2959
+ renderItem={[Function]}
2960
+ scrollEventThrottle={100}
2961
+ stickyHeaderIndices={
2962
+ [
2963
+ 0,
2964
+ 6,
2965
+ ]
2966
+ }
2967
+ testID="scrollable-with-fab"
2968
+ >
2969
+ <View>
2970
+ <View
2971
+ onFocusCapture={[Function]}
2972
+ onLayout={[Function]}
2973
+ style={null}
2974
+ >
2975
+ <View
2976
+ style={
2977
+ [
2978
+ {
2979
+ "alignContent": "center",
2980
+ "backgroundColor": "#f6f6f7",
2981
+ "display": "flex",
2982
+ "flexDirection": "row",
2983
+ "justifyContent": "space-between",
2984
+ "marginBottom": 16,
2985
+ "paddingHorizontal": 16,
2986
+ "paddingVertical": 8,
2987
+ },
2988
+ undefined,
2989
+ ]
2990
+ }
2991
+ themeSize="medium"
2992
+ >
2993
+ <View
2994
+ style={
2995
+ [
2996
+ {
2997
+ "alignItems": "center",
2998
+ "display": "flex",
2999
+ "flexDirection": "row",
3000
+ },
3001
+ undefined,
3002
+ ]
3003
+ }
3004
+ >
3005
+ <View
3006
+ style={
3007
+ [
3008
+ {
3009
+ "marginRight": 12,
3010
+ },
3011
+ undefined,
3012
+ ]
3013
+ }
3014
+ />
3015
+ <Text
3016
+ allowFontScaling={false}
3017
+ style={
3018
+ [
3019
+ {
3020
+ "color": "#001f23",
3021
+ "fontFamily": "BeVietnamPro-Regular",
3022
+ "fontSize": 14,
3023
+ "letterSpacing": 0.48,
3024
+ "lineHeight": 22,
3025
+ },
3026
+ undefined,
3027
+ ]
3028
+ }
3029
+ themeIntent="body"
3030
+ themeTypeface="neutral"
3031
+ themeVariant="small"
3032
+ >
3033
+ Title 1
3034
+ </Text>
3035
+ </View>
3036
+ </View>
3037
+ </View>
3038
+ <View
3039
+ onFocusCapture={[Function]}
3040
+ onLayout={[Function]}
3041
+ style={null}
3042
+ >
3043
+ <Text
3044
+ allowFontScaling={false}
3045
+ style={
3046
+ [
3047
+ {
3048
+ "color": "#001f23",
3049
+ "fontFamily": "BeVietnamPro-Regular",
3050
+ "fontSize": 42,
3051
+ "letterSpacing": 0,
3052
+ "lineHeight": 50,
3053
+ },
3054
+ {
3055
+ "marginBottom": 56,
3056
+ },
3057
+ ]
3058
+ }
3059
+ themeIntent="body"
3060
+ themeLevel="h1"
3061
+ themeTypeface="neutral"
3062
+ >
3063
+ Content 1
3064
+ </Text>
3065
+ </View>
3066
+ <View
3067
+ onFocusCapture={[Function]}
3068
+ onLayout={[Function]}
3069
+ style={null}
3070
+ >
3071
+ <Text
3072
+ allowFontScaling={false}
3073
+ style={
3074
+ [
3075
+ {
3076
+ "color": "#001f23",
3077
+ "fontFamily": "BeVietnamPro-Regular",
3078
+ "fontSize": 42,
3079
+ "letterSpacing": 0,
3080
+ "lineHeight": 50,
3081
+ },
3082
+ {
3083
+ "marginBottom": 56,
3084
+ },
3085
+ ]
3086
+ }
3087
+ themeIntent="body"
3088
+ themeLevel="h1"
3089
+ themeTypeface="neutral"
3090
+ >
3091
+ Content 2
3092
+ </Text>
3093
+ </View>
3094
+ <View
3095
+ onFocusCapture={[Function]}
3096
+ onLayout={[Function]}
3097
+ style={null}
3098
+ >
3099
+ <Text
3100
+ allowFontScaling={false}
3101
+ style={
3102
+ [
3103
+ {
3104
+ "color": "#001f23",
3105
+ "fontFamily": "BeVietnamPro-Regular",
3106
+ "fontSize": 42,
3107
+ "letterSpacing": 0,
3108
+ "lineHeight": 50,
3109
+ },
3110
+ {
3111
+ "marginBottom": 56,
3112
+ },
3113
+ ]
3114
+ }
3115
+ themeIntent="body"
3116
+ themeLevel="h1"
3117
+ themeTypeface="neutral"
3118
+ >
3119
+ Content 3
3120
+ </Text>
3121
+ </View>
3122
+ <View
3123
+ onFocusCapture={[Function]}
3124
+ onLayout={[Function]}
3125
+ style={null}
3126
+ >
3127
+ <Text
3128
+ allowFontScaling={false}
3129
+ style={
3130
+ [
3131
+ {
3132
+ "color": "#001f23",
3133
+ "fontFamily": "BeVietnamPro-Regular",
3134
+ "fontSize": 42,
3135
+ "letterSpacing": 0,
3136
+ "lineHeight": 50,
3137
+ },
3138
+ {
3139
+ "marginBottom": 56,
3140
+ },
3141
+ ]
3142
+ }
3143
+ themeIntent="body"
3144
+ themeLevel="h1"
3145
+ themeTypeface="neutral"
3146
+ >
3147
+ Content 4
3148
+ </Text>
3149
+ </View>
3150
+ <View
3151
+ onFocusCapture={[Function]}
3152
+ onLayout={[Function]}
3153
+ style={null}
3154
+ />
3155
+ <View
3156
+ onFocusCapture={[Function]}
3157
+ onLayout={[Function]}
3158
+ style={null}
3159
+ >
3160
+ <View
3161
+ style={
3162
+ [
3163
+ {
3164
+ "alignContent": "center",
3165
+ "backgroundColor": "#f6f6f7",
3166
+ "display": "flex",
3167
+ "flexDirection": "row",
3168
+ "justifyContent": "space-between",
3169
+ "marginBottom": 16,
3170
+ "paddingHorizontal": 16,
3171
+ "paddingVertical": 8,
3172
+ },
3173
+ undefined,
3174
+ ]
3175
+ }
3176
+ themeSize="medium"
3177
+ >
3178
+ <View
3179
+ style={
3180
+ [
3181
+ {
3182
+ "alignItems": "center",
3183
+ "display": "flex",
3184
+ "flexDirection": "row",
3185
+ },
3186
+ undefined,
3187
+ ]
3188
+ }
3189
+ >
3190
+ <View
3191
+ style={
3192
+ [
3193
+ {
3194
+ "marginRight": 12,
3195
+ },
3196
+ undefined,
3197
+ ]
3198
+ }
3199
+ />
3200
+ <Text
3201
+ allowFontScaling={false}
3202
+ style={
3203
+ [
3204
+ {
3205
+ "color": "#001f23",
3206
+ "fontFamily": "BeVietnamPro-Regular",
3207
+ "fontSize": 14,
3208
+ "letterSpacing": 0.48,
3209
+ "lineHeight": 22,
3210
+ },
3211
+ undefined,
3212
+ ]
3213
+ }
3214
+ themeIntent="body"
3215
+ themeTypeface="neutral"
3216
+ themeVariant="small"
3217
+ >
3218
+ Title 2
3219
+ </Text>
3220
+ </View>
3221
+ </View>
3222
+ </View>
3223
+ <View
3224
+ onFocusCapture={[Function]}
3225
+ onLayout={[Function]}
3226
+ style={null}
3227
+ >
3228
+ <Text
3229
+ allowFontScaling={false}
3230
+ style={
3231
+ [
3232
+ {
3233
+ "color": "#001f23",
3234
+ "fontFamily": "BeVietnamPro-Regular",
3235
+ "fontSize": 42,
3236
+ "letterSpacing": 0,
3237
+ "lineHeight": 50,
3238
+ },
3239
+ {
3240
+ "marginBottom": 56,
3241
+ },
3242
+ ]
3243
+ }
3244
+ themeIntent="body"
3245
+ themeLevel="h1"
3246
+ themeTypeface="neutral"
3247
+ >
3248
+ Content 5
3249
+ </Text>
3250
+ </View>
3251
+ <View
3252
+ onFocusCapture={[Function]}
3253
+ onLayout={[Function]}
3254
+ style={null}
3255
+ >
3256
+ <Text
3257
+ allowFontScaling={false}
3258
+ style={
3259
+ [
3260
+ {
3261
+ "color": "#001f23",
3262
+ "fontFamily": "BeVietnamPro-Regular",
3263
+ "fontSize": 42,
3264
+ "letterSpacing": 0,
3265
+ "lineHeight": 50,
3266
+ },
3267
+ {
3268
+ "marginBottom": 56,
3269
+ },
3270
+ ]
3271
+ }
3272
+ themeIntent="body"
3273
+ themeLevel="h1"
3274
+ themeTypeface="neutral"
3275
+ >
3276
+ Content 6
3277
+ </Text>
3278
+ </View>
3279
+ <View
3280
+ onFocusCapture={[Function]}
3281
+ onLayout={[Function]}
3282
+ style={null}
3283
+ >
3284
+ <Text
3285
+ allowFontScaling={false}
3286
+ style={
3287
+ [
3288
+ {
3289
+ "color": "#001f23",
3290
+ "fontFamily": "BeVietnamPro-Regular",
3291
+ "fontSize": 42,
3292
+ "letterSpacing": 0,
3293
+ "lineHeight": 50,
3294
+ },
3295
+ {
3296
+ "marginBottom": 56,
3297
+ },
3298
+ ]
3299
+ }
3300
+ themeIntent="body"
3301
+ themeLevel="h1"
3302
+ themeTypeface="neutral"
3303
+ >
3304
+ Content 7
3305
+ </Text>
3306
+ </View>
3307
+ <View
3308
+ style={
3309
+ {
3310
+ "height": 0,
3311
+ }
3312
+ }
3313
+ />
3314
+ </View>
3315
+ </RCTScrollView>
3316
+ <View
3317
+ accessibilityValue={
3318
+ {
3319
+ "max": undefined,
3320
+ "min": undefined,
3321
+ "now": undefined,
3322
+ "text": undefined,
3323
+ }
3324
+ }
3325
+ accessible={true}
3326
+ focusable={false}
3327
+ onClick={[Function]}
3328
+ onLayout={[Function]}
3329
+ onResponderGrant={[Function]}
3330
+ onResponderMove={[Function]}
3331
+ onResponderRelease={[Function]}
3332
+ onResponderTerminate={[Function]}
3333
+ onResponderTerminationRequest={[Function]}
3334
+ onStartShouldSetResponder={[Function]}
3335
+ style={
3336
+ {
3337
+ "alignItems": "center",
3338
+ "alignSelf": "flex-start",
3339
+ "backgroundColor": "#401960",
3340
+ "borderRadius": 999,
3341
+ "bottom": undefined,
3342
+ "elevation": 3,
3343
+ "flexDirection": "row",
3344
+ "height": 64,
3345
+ "justifyContent": "center",
3346
+ "padding": 20,
3347
+ "shadowColor": "#001f23",
3348
+ "shadowOffset": {
3349
+ "height": 2,
3350
+ "width": 0,
3351
+ },
3352
+ "shadowOpacity": 0.12,
3353
+ "shadowRadius": 4,
3354
+ "transform": [
3355
+ {
3356
+ "translateY": 0,
3357
+ },
3358
+ ],
3359
+ }
3360
+ }
3361
+ >
3362
+ <View
3363
+ collapsable={false}
3364
+ style={
3365
+ {
3366
+ "flexDirection": "row",
3367
+ "opacity": 1,
3368
+ }
3369
+ }
3370
+ >
3371
+ <View
3372
+ style={
3373
+ [
3374
+ {},
3375
+ [
3376
+ {
3377
+ "alignItems": "center",
3378
+ "height": 24,
3379
+ "justifyContent": "center",
3380
+ "width": 24,
3381
+ },
3382
+ undefined,
3383
+ ],
3384
+ ]
3385
+ }
3386
+ >
3387
+ <HeroIcon
3388
+ name="speaker"
3389
+ style={
3390
+ [
3391
+ {
3392
+ "color": "#001f23",
3393
+ "fontSize": 16,
3394
+ },
3395
+ [
3396
+ {
3397
+ "color": "#ffffff",
3398
+ "lineHeight": 24,
3399
+ "textAlign": "center",
3400
+ "textAlignVertical": "center",
3401
+ },
3402
+ undefined,
3403
+ ],
3404
+ ]
3405
+ }
3406
+ testID="styled-fab-icon"
3407
+ themeIntent="text"
3408
+ themeSize="xsmall"
3409
+ />
3410
+ </View>
3411
+ <Text
3412
+ allowFontScaling={false}
3413
+ style={
3414
+ [
3415
+ {
3416
+ "color": "#001f23",
3417
+ "fontFamily": "BeVietnamPro-Regular",
3418
+ "fontSize": 16,
3419
+ "letterSpacing": 0.48,
3420
+ "lineHeight": 24,
3421
+ },
3422
+ [
3423
+ {
3424
+ "color": "#ffffff",
3425
+ "marginHorizontal": 8,
3426
+ "textAlign": "center",
3427
+ "textAlignVertical": "center",
3428
+ },
3429
+ undefined,
3430
+ ],
3431
+ ]
3432
+ }
3433
+ themeIntent="body"
3434
+ themeTypeface="neutral"
3435
+ themeVariant="regular"
3436
+ >
3437
+ Shout out
3438
+ </Text>
3439
+ </View>
3440
+ </View>
3441
+ <View
3442
+ pointerEvents="box-none"
3443
+ position="bottom"
3444
+ style={
3445
+ [
3446
+ {
3447
+ "bottom": 0,
3448
+ "elevation": 9999,
3449
+ "flexDirection": "column-reverse",
3450
+ "left": 0,
3451
+ "paddingHorizontal": 24,
3452
+ "paddingVertical": 16,
3453
+ "position": "absolute",
3454
+ "right": 0,
3455
+ "top": 0,
3456
+ },
3457
+ undefined,
3458
+ ]
3459
+ }
3460
+ />
3461
+ </View>
3462
+ `;