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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (668) hide show
  1. package/CHANGELOG.md +287 -0
  2. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  3. package/es/index.js +17491 -14687
  4. package/jest-ci.config.js +17 -0
  5. package/jest-setup.ts +2 -0
  6. package/jest.config.js +1 -3
  7. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  8. package/lib/index.js +17376 -14565
  9. package/package.json +50 -40
  10. package/rollup.config.js +1 -0
  11. package/sonar-project.properties +11 -0
  12. package/src/components/Accordion/AccordionItem.tsx +1 -3
  13. package/src/components/Accordion/__tests__/AccordionItem.spec.tsx +5 -5
  14. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +580 -408
  15. package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +76 -20
  16. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +818 -644
  17. package/src/components/Accordion/__tests__/index.spec.tsx +2 -2
  18. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +912 -644
  19. package/src/components/Alert/__tests__/index.spec.tsx +44 -2
  20. package/src/components/Alert/index.tsx +30 -4
  21. package/src/components/AnimatedScroller/AnimatedFAB.tsx +155 -0
  22. package/src/components/AnimatedScroller/AnimatedScrollable.tsx +70 -0
  23. package/src/components/AnimatedScroller/FlatListWithFAB.tsx +23 -0
  24. package/src/components/AnimatedScroller/ScrollViewWithFAB.tsx +21 -0
  25. package/src/components/AnimatedScroller/SectionListWithFAB.tsx +26 -0
  26. package/src/components/AnimatedScroller/__tests__/ScrollablesWithFAB.spec.tsx +193 -0
  27. package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +3462 -0
  28. package/src/components/AnimatedScroller/index.tsx +5 -0
  29. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +178 -117
  30. package/src/components/Attachment/index.tsx +3 -1
  31. package/src/components/Avatar/AvatarStack/StyledAvatarStack.tsx +63 -9
  32. package/src/components/Avatar/AvatarStack/__tests__/StyledAvatarStack.spec.tsx +71 -9
  33. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +410 -73
  34. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +2904 -591
  35. package/src/components/Avatar/AvatarStack/__tests__/index.spec.tsx +140 -6
  36. package/src/components/Avatar/AvatarStack/index.tsx +94 -9
  37. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +163 -62
  38. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +288 -168
  39. package/src/components/Badge/StyledBadge.tsx +1 -4
  40. package/src/components/Badge/__tests__/Status.spec.tsx +1 -1
  41. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +397 -259
  42. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +123 -68
  43. package/src/components/BottomNavigation/StyledBottomNavigation.tsx +1 -1
  44. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +332 -276
  45. package/src/components/BottomNavigation/index.tsx +4 -1
  46. package/src/components/BottomSheet/Header.tsx +1 -3
  47. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +330 -197
  48. package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +1042 -454
  49. package/src/components/Button/Button.tsx +60 -25
  50. package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +6 -9
  51. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +400 -140
  52. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +1090 -880
  53. package/src/components/Button/StyledButton.tsx +56 -59
  54. package/src/components/Button/UtilityButton/StyledUtilityButton.tsx +2 -4
  55. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +206 -122
  56. package/src/components/Button/__tests__/Button.spec.tsx +18 -0
  57. package/src/components/Button/__tests__/StyledButton.spec.tsx +12 -6
  58. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1878 -1196
  59. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +74 -29
  60. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +1734 -778
  61. package/src/components/Calendar/CalendarRowItem.tsx +5 -2
  62. package/src/components/Calendar/StyledCalendar.tsx +2 -2
  63. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +555 -335
  64. package/src/components/Calendar/__tests__/index.spec.tsx +76 -0
  65. package/src/components/Calendar/index.tsx +170 -59
  66. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +265 -69
  67. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +215 -75
  68. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +36 -8
  69. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +304 -142
  70. package/src/components/Card/__tests__/index.spec.tsx +1 -1
  71. package/src/components/Carousel/CardCarousel.tsx +23 -25
  72. package/src/components/Carousel/CarouselItem.tsx +39 -23
  73. package/src/components/Carousel/StyledCardCarousel.tsx +1 -16
  74. package/src/components/Carousel/StyledCarousel.tsx +8 -12
  75. package/src/components/Carousel/__tests__/CardCarousel.spec.tsx +18 -18
  76. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +370 -366
  77. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +199 -72
  78. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +41 -13
  79. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1621 -1861
  80. package/src/components/Carousel/__tests__/index.spec.tsx +107 -7
  81. package/src/components/Carousel/index.tsx +63 -35
  82. package/src/components/Carousel/types.ts +4 -4
  83. package/src/components/Checkbox/StyledCheckbox.tsx +24 -30
  84. package/src/components/Checkbox/__tests__/StyledCheckbox.spec.tsx +25 -16
  85. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +432 -77
  86. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +598 -345
  87. package/src/components/Checkbox/__tests__/index.spec.tsx +24 -9
  88. package/src/components/Checkbox/index.tsx +60 -25
  89. package/src/components/Chip/StyledChip.tsx +121 -0
  90. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1483 -0
  91. package/src/components/Chip/__tests__/index.spec.tsx +136 -0
  92. package/src/components/Chip/index.tsx +82 -0
  93. package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +74 -18
  94. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +100 -44
  95. package/src/components/Collapse/index.tsx +1 -1
  96. package/src/components/ContentNavigator/StyledContentNavigator.tsx +1 -6
  97. package/src/components/ContentNavigator/__tests__/StyledContentNavigator.spec.tsx +1 -9
  98. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +37 -38
  99. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +449 -186
  100. package/src/components/ContentNavigator/__tests__/index.spec.tsx +16 -0
  101. package/src/components/ContentNavigator/index.tsx +30 -9
  102. package/src/components/DatePicker/DatePickerAndroid.tsx +8 -3
  103. package/src/components/DatePicker/DatePickerCalendar.tsx +44 -15
  104. package/src/components/DatePicker/DatePickerIOS.tsx +12 -23
  105. package/src/components/DatePicker/__tests__/DatePicker.spec.tsx +92 -0
  106. package/src/components/DatePicker/__tests__/DatePickerCalendar.spec.tsx +42 -0
  107. package/src/components/DatePicker/__tests__/DatePickerIOS.spec.tsx +6 -5
  108. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +676 -508
  109. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +230 -174
  110. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +222 -166
  111. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +518 -423
  112. package/src/components/DatePicker/types.ts +8 -0
  113. package/src/components/DatePicker/useCalculateDate.tsx +34 -0
  114. package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +464 -128
  115. package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +99 -71
  116. package/src/components/Drawer/DragableDrawer/index.tsx +2 -2
  117. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +327 -192
  118. package/src/components/Drawer/index.tsx +3 -3
  119. package/src/components/Empty/StyledEmpty.tsx +2 -6
  120. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +176 -134
  121. package/src/components/Empty/index.tsx +4 -2
  122. package/src/components/Error/StyledError.tsx +4 -9
  123. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +431 -335
  124. package/src/components/Error/__tests__/index.spec.tsx +9 -6
  125. package/src/components/Error/index.tsx +6 -2
  126. package/src/components/FAB/ActionGroup/ActionItem.tsx +46 -15
  127. package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +16 -18
  128. package/src/components/FAB/ActionGroup/StyledActionItem.tsx +1 -5
  129. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +980 -1217
  130. package/src/components/FAB/ActionGroup/__tests__/index.spec.tsx +32 -22
  131. package/src/components/FAB/ActionGroup/index.tsx +135 -94
  132. package/src/components/FAB/AnimatedFABIcon.tsx +3 -5
  133. package/src/components/FAB/FAB.tsx +170 -28
  134. package/src/components/FAB/StyledFAB.tsx +26 -23
  135. package/src/components/FAB/__tests__/StyledFAB.spec.tsx +12 -2
  136. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +102 -46
  137. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +204 -52
  138. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +323 -180
  139. package/src/components/FAB/__tests__/index.spec.tsx +22 -2
  140. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +80 -0
  141. package/src/components/HeroDesignProvider/__tests__/index.spec.tsx +78 -0
  142. package/src/components/HeroDesignProvider/index.tsx +14 -0
  143. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  144. package/src/components/Icon/IconList.ts +36 -0
  145. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +162 -50
  146. package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +172 -60
  147. package/src/components/List/BasicListItem.tsx +2 -6
  148. package/src/components/List/ListItem.tsx +3 -5
  149. package/src/components/List/StyledListItem.tsx +8 -7
  150. package/src/components/List/__tests__/ListItem.spec.tsx +4 -4
  151. package/src/components/List/__tests__/StyledBasicListItem.spec.tsx +3 -1
  152. package/src/components/List/__tests__/StyledListItem.spec.tsx +3 -1
  153. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +264 -198
  154. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +798 -635
  155. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +280 -140
  156. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +485 -203
  157. package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +169 -0
  158. package/src/components/Modal/__tests__/index.spec.tsx +99 -0
  159. package/src/components/Modal/index.tsx +217 -0
  160. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +84 -41
  161. package/src/components/PageControl/index.tsx +7 -4
  162. package/src/components/PinInput/PinCell.tsx +3 -1
  163. package/src/components/PinInput/StyledPinInput.tsx +2 -7
  164. package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +9 -4
  165. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +298 -178
  166. package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +15 -48
  167. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +873 -777
  168. package/src/components/PinInput/index.tsx +3 -1
  169. package/src/components/Portal/PortalHost.tsx +27 -0
  170. package/src/components/Portal/PortalProvider.tsx +35 -0
  171. package/src/components/Portal/__tests__/PortalHost.spec.tsx +48 -0
  172. package/src/components/Portal/__tests__/PortalProvider.spec.tsx +24 -0
  173. package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +57 -0
  174. package/src/components/Portal/__tests__/index.spec.tsx +48 -0
  175. package/src/components/Portal/__tests__/reducer.spec.tsx +110 -0
  176. package/src/components/Portal/constants.ts +10 -0
  177. package/src/components/Portal/contexts.ts +14 -0
  178. package/src/components/Portal/index.tsx +66 -0
  179. package/src/components/Portal/reducer.ts +106 -0
  180. package/src/components/Portal/types.tsx +31 -0
  181. package/src/components/Portal/usePortal.ts +50 -0
  182. package/src/components/Portal/usePortalState.ts +11 -0
  183. package/src/components/Progress/ProgressCircle.tsx +1 -3
  184. package/src/components/Progress/StyledProgressBar.tsx +1 -0
  185. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +810 -671
  186. package/src/components/Radio/Radio.tsx +25 -6
  187. package/src/components/Radio/RadioGroup.tsx +13 -4
  188. package/src/components/Radio/StyledRadio.tsx +20 -3
  189. package/src/components/Radio/__tests__/Radio.spec.tsx +46 -13
  190. package/src/components/Radio/__tests__/RadioGroup.spec.tsx +40 -7
  191. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +565 -126
  192. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +1079 -196
  193. package/src/components/Radio/types.ts +9 -1
  194. package/src/components/Rate/StyledRate.tsx +16 -0
  195. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +1006 -0
  196. package/src/components/Rate/__tests__/index.spec.tsx +47 -0
  197. package/src/components/Rate/index.tsx +90 -0
  198. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +131 -47
  199. package/src/components/RichTextEditor/RichTextEditor.tsx +94 -47
  200. package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +5 -2
  201. package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +3 -3
  202. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +420 -273
  203. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +66 -37
  204. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +451 -355
  205. package/src/components/SectionHeading/StyledHeading.tsx +21 -10
  206. package/src/components/SectionHeading/__tests__/StyledHeading.spec.tsx +6 -2
  207. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +165 -30
  208. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +469 -169
  209. package/src/components/SectionHeading/__tests__/index.spec.tsx +15 -1
  210. package/src/components/SectionHeading/index.tsx +51 -32
  211. package/src/components/Select/MultiSelect/Option.tsx +3 -0
  212. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +100 -64
  213. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2557 -2320
  214. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +2739 -911
  215. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +39 -22
  216. package/src/components/Select/MultiSelect/index.tsx +1 -1
  217. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +78 -43
  218. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2460 -2228
  219. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +1356 -843
  220. package/src/components/Select/SingleSelect/__tests__/index.spec.tsx +5 -9
  221. package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +525 -329
  222. package/src/components/Skeleton/index.tsx +3 -7
  223. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +117 -33
  224. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +114 -86
  225. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +1336 -664
  226. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +129 -101
  227. package/src/components/Success/StyledSuccess.tsx +4 -7
  228. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +560 -311
  229. package/src/components/Success/__tests__/index.spec.tsx +37 -9
  230. package/src/components/Success/index.tsx +7 -4
  231. package/src/components/Swipeable/__tests__/SwipeableAction.spec.tsx +2 -2
  232. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +219 -87
  233. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +158 -24
  234. package/src/components/Swipeable/__tests__/index.spec.tsx +12 -5
  235. package/src/components/Swipeable/index.tsx +42 -15
  236. package/src/components/Switch/SelectorSwitch/Option.tsx +1 -1
  237. package/src/components/Switch/SelectorSwitch/StyledSelectorSwitch.tsx +4 -7
  238. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +242 -131
  239. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +152 -116
  240. package/src/components/Switch/SelectorSwitch/index.tsx +7 -15
  241. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +203 -63
  242. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +134 -70
  243. package/src/components/Tabs/SceneView.tsx +11 -6
  244. package/src/components/Tabs/ScrollableTabs.tsx +26 -8
  245. package/src/components/Tabs/{ScrollableTabsHeader.tsx → ScrollableTabsHeader/ScrollableTabsHeader.tsx} +74 -45
  246. package/src/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.ts +45 -0
  247. package/src/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.ts +91 -0
  248. package/src/components/Tabs/StyledScrollableTabs.tsx +14 -9
  249. package/src/components/Tabs/StyledTabs.tsx +1 -9
  250. package/src/components/Tabs/__tests__/SceneView.spec.tsx +11 -11
  251. package/src/components/Tabs/__tests__/ScrollableTabsHeader.spec.tsx +7 -3
  252. package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +219 -110
  253. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2348 -2072
  254. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +1134 -444
  255. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +124 -73
  256. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1694 -1487
  257. package/src/components/Tabs/__tests__/useInitHighlightedAnimation.spec.tsx +56 -0
  258. package/src/components/Tabs/__tests__/useInitUnderlinedAnimation.spec.tsx +65 -0
  259. package/src/components/Tabs/index.tsx +9 -6
  260. package/src/components/Tag/StyledTag.tsx +7 -39
  261. package/src/components/Tag/__tests__/Tag.spec.tsx +18 -14
  262. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +572 -377
  263. package/src/components/Tag/index.tsx +8 -2
  264. package/src/components/TextInput/StyledTextInput.tsx +18 -49
  265. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +2 -46
  266. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1001 -803
  267. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3774 -3075
  268. package/src/components/TextInput/__tests__/index.spec.tsx +151 -9
  269. package/src/components/TextInput/index.tsx +253 -105
  270. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +452 -347
  271. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +741 -597
  272. package/src/components/Toast/StyledToast.tsx +1 -1
  273. package/src/components/Toast/Toast.tsx +6 -5
  274. package/src/components/Toast/ToastContainer.tsx +2 -0
  275. package/src/components/Toast/ToastContext.ts +20 -2
  276. package/src/components/Toast/ToastProvider.tsx +7 -4
  277. package/src/components/Toast/__tests__/Toast.spec.tsx +5 -1
  278. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +916 -631
  279. package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
  280. package/src/components/Toolbar/StyledToolbar.tsx +1 -1
  281. package/src/components/Toolbar/ToolbarItem.tsx +4 -6
  282. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +606 -456
  283. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +714 -401
  284. package/src/components/Typography/Body/StyledBody.tsx +46 -0
  285. package/src/components/Typography/Body/__tests__/StyledBody.tsx +56 -0
  286. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +801 -0
  287. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +970 -0
  288. package/src/components/Typography/Body/__tests__/index.spec.tsx +54 -0
  289. package/src/components/Typography/Body/index.tsx +71 -0
  290. package/src/components/Typography/Caption/StyledCaption.tsx +17 -0
  291. package/src/components/Typography/Caption/__tests__/StyledCaption.spec.tsx +39 -0
  292. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +491 -0
  293. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +651 -0
  294. package/src/components/Typography/Caption/__tests__/index.spec.tsx +46 -0
  295. package/src/components/Typography/Caption/index.tsx +61 -0
  296. package/src/components/Typography/Label/StyledLabel.tsx +14 -0
  297. package/src/components/Typography/Label/__tests__/StyledLabel.tsx +23 -0
  298. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +377 -0
  299. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +529 -0
  300. package/src/components/Typography/Label/__tests__/index.spec.tsx +32 -0
  301. package/src/components/Typography/Label/index.tsx +55 -0
  302. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +900 -340
  303. package/src/components/Typography/Text/index.tsx +19 -12
  304. package/src/components/Typography/Title/StyledTitle.tsx +20 -0
  305. package/src/components/Typography/Title/__tests__/StyledTitle.tsx +53 -0
  306. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +1001 -0
  307. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +1174 -0
  308. package/src/components/Typography/Title/__tests__/index.spec.tsx +55 -0
  309. package/src/components/Typography/Title/index.tsx +70 -0
  310. package/src/components/Typography/index.tsx +15 -0
  311. package/src/components/Typography/types.ts +18 -0
  312. package/src/index.ts +16 -0
  313. package/src/testHelpers/renderWithTheme.tsx +2 -2
  314. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +539 -345
  315. package/src/theme/components/badge.ts +15 -0
  316. package/src/theme/components/button.ts +17 -1
  317. package/src/theme/components/calendar.ts +2 -0
  318. package/src/theme/components/cardCarousel.ts +1 -8
  319. package/src/theme/components/carousel.ts +15 -1
  320. package/src/theme/components/checkbox.ts +5 -2
  321. package/src/theme/components/chip.ts +47 -0
  322. package/src/theme/components/empty.ts +12 -0
  323. package/src/theme/components/error.ts +16 -0
  324. package/src/theme/components/fab.ts +17 -11
  325. package/src/theme/components/list.ts +9 -5
  326. package/src/theme/components/pinInput.ts +15 -0
  327. package/src/theme/components/progress.ts +2 -2
  328. package/src/theme/components/radio.ts +8 -2
  329. package/src/theme/components/rate.ts +16 -0
  330. package/src/theme/components/sectionHeading.ts +2 -1
  331. package/src/theme/components/success.ts +12 -0
  332. package/src/theme/components/swipeable.ts +10 -1
  333. package/src/theme/components/switch.ts +4 -4
  334. package/src/theme/components/tabs.ts +3 -2
  335. package/src/theme/components/tag.ts +18 -2
  336. package/src/theme/components/textInput.ts +4 -4
  337. package/src/theme/components/toast.ts +5 -5
  338. package/src/theme/components/typography.ts +132 -1
  339. package/src/theme/getTheme.ts +24 -18
  340. package/src/theme/global/colors/__tests__/__snapshots__/eBens.spec.ts.snap +8 -8
  341. package/src/theme/global/colors/__tests__/__snapshots__/global.spec.ts.snap +6 -6
  342. package/src/theme/global/colors/__tests__/__snapshots__/globalDark.spec.ts.snap +1 -1
  343. package/src/theme/global/colors/__tests__/__snapshots__/jobs.spec.ts.snap +7 -7
  344. package/src/theme/global/colors/__tests__/__snapshots__/swag.spec.ts.snap +7 -7
  345. package/src/theme/global/colors/__tests__/__snapshots__/swagDark.spec.ts.snap +1 -1
  346. package/src/theme/global/colors/__tests__/__snapshots__/wallet.spec.ts.snap +8 -8
  347. package/src/theme/global/colors/__tests__/__snapshots__/work.spec.ts.snap +10 -10
  348. package/src/theme/global/colors/eBens.ts +2 -2
  349. package/src/theme/global/colors/global.ts +5 -5
  350. package/src/theme/global/colors/jobs.ts +1 -1
  351. package/src/theme/global/colors/swag.ts +1 -1
  352. package/src/theme/global/colors/wallet.ts +2 -2
  353. package/src/theme/global/colors/work.ts +4 -4
  354. package/src/theme/global/index.ts +3 -0
  355. package/src/theme/global/shadows.ts +19 -0
  356. package/src/theme/global/space.ts +2 -0
  357. package/src/types.ts +4 -0
  358. package/src/utils/helpers.ts +4 -1
  359. package/testUtils/setup.tsx +32 -2
  360. package/tsconfig.json +14 -3
  361. package/types/components/Accordion/AccordionItem.d.ts +2 -1
  362. package/types/components/Accordion/StyledAccordion.d.ts +5 -6
  363. package/types/components/Accordion/index.d.ts +1 -1
  364. package/types/components/Alert/StyledAlert.d.ts +5 -6
  365. package/types/components/Alert/index.d.ts +18 -2
  366. package/types/components/AnimatedScroller/AnimatedFAB.d.ts +12 -0
  367. package/types/components/AnimatedScroller/AnimatedScrollable.d.ts +16 -0
  368. package/types/components/AnimatedScroller/FlatListWithFAB.d.ts +12 -0
  369. package/types/components/AnimatedScroller/ScrollViewWithFAB.d.ts +12 -0
  370. package/types/components/AnimatedScroller/SectionListWithFAB.d.ts +12 -0
  371. package/types/components/AnimatedScroller/index.d.ts +4 -0
  372. package/types/components/Attachment/StyledAttachment.d.ts +4 -5
  373. package/types/components/Attachment/index.d.ts +2 -1
  374. package/types/components/Avatar/Avatar.d.ts +2 -1
  375. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +15 -3
  376. package/types/components/Avatar/AvatarStack/index.d.ts +14 -2
  377. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  378. package/types/components/Avatar/StyledAvatar.d.ts +4 -5
  379. package/types/components/Avatar/index.d.ts +2 -2
  380. package/types/components/Badge/Status.d.ts +0 -0
  381. package/types/components/Badge/StyledBadge.d.ts +4 -9
  382. package/types/components/Badge/index.d.ts +0 -0
  383. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +8 -9
  384. package/types/components/BottomNavigation/index.d.ts +0 -0
  385. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -1
  386. package/types/components/BottomSheet/Footer.d.ts +2 -1
  387. package/types/components/BottomSheet/Header.d.ts +2 -1
  388. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  389. package/types/components/BottomSheet/StyledBottomSheet.d.ts +8 -13
  390. package/types/components/BottomSheet/index.d.ts +0 -0
  391. package/types/components/Box/StyledBox.d.ts +1 -2
  392. package/types/components/Box/config.d.ts +0 -0
  393. package/types/components/Box/index.d.ts +2 -1
  394. package/types/components/Box/types.d.ts +0 -1
  395. package/types/components/Button/Button.d.ts +3 -3
  396. package/types/components/Button/IconButton.d.ts +2 -1
  397. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +5 -6
  398. package/types/components/Button/LoadingIndicator/index.d.ts +2 -1
  399. package/types/components/Button/StyledButton.d.ts +16 -10
  400. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +4 -5
  401. package/types/components/Button/UtilityButton/index.d.ts +2 -1
  402. package/types/components/Button/index.d.ts +0 -0
  403. package/types/components/Calendar/CalendarRowItem.d.ts +2 -1
  404. package/types/components/Calendar/StyledCalendar.d.ts +8 -9
  405. package/types/components/Calendar/helpers.d.ts +0 -0
  406. package/types/components/Calendar/index.d.ts +15 -1
  407. package/types/components/Card/DataCard/StyledDataCard.d.ts +2 -3
  408. package/types/components/Card/DataCard/index.d.ts +0 -0
  409. package/types/components/Card/StyledCard.d.ts +1 -2
  410. package/types/components/Card/index.d.ts +0 -0
  411. package/types/components/Carousel/CardCarousel.d.ts +2 -1
  412. package/types/components/Carousel/CarouselItem.d.ts +2 -1
  413. package/types/components/Carousel/StyledCardCarousel.d.ts +5 -12
  414. package/types/components/Carousel/StyledCarousel.d.ts +13 -14
  415. package/types/components/Carousel/contants.d.ts +0 -0
  416. package/types/components/Carousel/index.d.ts +2 -2
  417. package/types/components/Carousel/types.d.ts +4 -4
  418. package/types/components/Checkbox/StyledCheckbox.d.ts +12 -10
  419. package/types/components/Checkbox/index.d.ts +12 -1
  420. package/types/components/Chip/StyledChip.d.ts +30 -0
  421. package/types/components/Chip/index.d.ts +27 -0
  422. package/types/components/Collapse/StyledCollapse.d.ts +3 -6
  423. package/types/components/Collapse/index.d.ts +2 -1
  424. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +2 -7
  425. package/types/components/ContentNavigator/index.d.ts +2 -1
  426. package/types/components/DatePicker/DatePickerAndroid.d.ts +2 -1
  427. package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -1
  428. package/types/components/DatePicker/DatePickerIOS.d.ts +2 -2
  429. package/types/components/DatePicker/StyledDatePicker.d.ts +1 -2
  430. package/types/components/DatePicker/index.d.ts +2 -1
  431. package/types/components/DatePicker/types.d.ts +8 -0
  432. package/types/components/DatePicker/useCalculateDate.d.ts +4 -0
  433. package/types/components/Divider/StyledDivider.d.ts +1 -2
  434. package/types/components/Divider/index.d.ts +2 -1
  435. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  436. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  437. package/types/components/Drawer/StyledDrawer.d.ts +7 -14
  438. package/types/components/Drawer/index.d.ts +0 -0
  439. package/types/components/Empty/StyledEmpty.d.ts +5 -6
  440. package/types/components/Empty/index.d.ts +0 -0
  441. package/types/components/Error/StyledError.d.ts +15 -22
  442. package/types/components/Error/index.d.ts +0 -0
  443. package/types/components/FAB/ActionGroup/ActionItem.d.ts +7 -2
  444. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +13 -17
  445. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +4 -5
  446. package/types/components/FAB/ActionGroup/index.d.ts +12 -1
  447. package/types/components/FAB/AnimatedFABIcon.d.ts +2 -1
  448. package/types/components/FAB/FAB.d.ts +8 -2
  449. package/types/components/FAB/StyledFAB.d.ts +11 -12
  450. package/types/components/FAB/index.d.ts +2 -2
  451. package/types/components/HeroDesignProvider/index.d.ts +4 -0
  452. package/types/components/Icon/AnimatedIcon.d.ts +2 -1
  453. package/types/components/Icon/HeroIcon/index.d.ts +1 -2
  454. package/types/components/Icon/IconList.d.ts +1 -1
  455. package/types/components/Icon/index.d.ts +3 -2
  456. package/types/components/Icon/utils.d.ts +1 -1
  457. package/types/components/Image/index.d.ts +0 -0
  458. package/types/components/List/BasicListItem.d.ts +0 -0
  459. package/types/components/List/ListItem.d.ts +0 -0
  460. package/types/components/List/StyledBasicListItem.d.ts +4 -5
  461. package/types/components/List/StyledListItem.d.ts +7 -8
  462. package/types/components/List/index.d.ts +0 -0
  463. package/types/components/Modal/index.d.ts +37 -0
  464. package/types/components/PageControl/StyledPageControl.d.ts +2 -5
  465. package/types/components/PageControl/index.d.ts +2 -1
  466. package/types/components/PinInput/PinCell.d.ts +2 -1
  467. package/types/components/PinInput/StyledPinInput.d.ts +12 -13
  468. package/types/components/PinInput/index.d.ts +0 -0
  469. package/types/components/Portal/PortalHost.d.ts +5 -0
  470. package/types/components/Portal/PortalProvider.d.ts +7 -0
  471. package/types/components/Portal/constants.d.ts +8 -0
  472. package/types/components/Portal/contexts.d.ts +9 -0
  473. package/types/components/Portal/index.d.ts +18 -0
  474. package/types/components/Portal/reducer.d.ts +5 -0
  475. package/types/components/Portal/types.d.ts +22 -0
  476. package/types/components/Portal/usePortal.d.ts +8 -0
  477. package/types/components/Portal/usePortalState.d.ts +1 -0
  478. package/types/components/Progress/ProgressBar.d.ts +0 -0
  479. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  480. package/types/components/Progress/StyledProgressBar.d.ts +2 -5
  481. package/types/components/Progress/StyledProgressCircle.d.ts +6 -7
  482. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  483. package/types/components/Progress/constants.d.ts +0 -0
  484. package/types/components/Progress/index.d.ts +0 -0
  485. package/types/components/Progress/types.d.ts +0 -0
  486. package/types/components/Radio/Radio.d.ts +15 -3
  487. package/types/components/Radio/RadioGroup.d.ts +5 -1
  488. package/types/components/Radio/StyledRadio.d.ts +14 -5
  489. package/types/components/Radio/index.d.ts +1 -2
  490. package/types/components/Radio/types.d.ts +3 -0
  491. package/types/components/Rate/StyledRate.d.ts +10 -0
  492. package/types/components/Rate/index.d.ts +29 -0
  493. package/types/components/RefreshControl/index.d.ts +2 -1
  494. package/types/components/RichTextEditor/EditorEvent.d.ts +1 -0
  495. package/types/components/RichTextEditor/EditorToolbar.d.ts +2 -1
  496. package/types/components/RichTextEditor/MentionList.d.ts +2 -1
  497. package/types/components/RichTextEditor/RichTextEditor.d.ts +2 -2
  498. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +2 -3
  499. package/types/components/RichTextEditor/StyledToolbar.d.ts +3 -4
  500. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  501. package/types/components/RichTextEditor/constants.d.ts +0 -0
  502. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  503. package/types/components/RichTextEditor/index.d.ts +2 -3
  504. package/types/components/RichTextEditor/types.d.ts +0 -0
  505. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  506. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  507. package/types/components/SectionHeading/StyledHeading.d.ts +7 -5
  508. package/types/components/SectionHeading/index.d.ts +7 -1
  509. package/types/components/Select/BaseOptionList.d.ts +1 -1
  510. package/types/components/Select/Footer.d.ts +2 -1
  511. package/types/components/Select/MultiSelect/Option.d.ts +2 -1
  512. package/types/components/Select/MultiSelect/OptionList.d.ts +2 -1
  513. package/types/components/Select/MultiSelect/index.d.ts +1 -1
  514. package/types/components/Select/SingleSelect/Option.d.ts +2 -1
  515. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  516. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +1 -1
  517. package/types/components/Select/SingleSelect/index.d.ts +1 -1
  518. package/types/components/Select/StyledSelect.d.ts +3 -4
  519. package/types/components/Select/helpers.d.ts +1 -2
  520. package/types/components/Select/index.d.ts +1 -1
  521. package/types/components/Select/types.d.ts +0 -0
  522. package/types/components/Skeleton/StyledSkeleton.d.ts +2 -3
  523. package/types/components/Skeleton/index.d.ts +2 -1
  524. package/types/components/Slider/index.d.ts +2 -1
  525. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
  526. package/types/components/Spinner/StyledSpinner.d.ts +4 -5
  527. package/types/components/Spinner/index.d.ts +0 -0
  528. package/types/components/Success/StyledSuccess.d.ts +14 -19
  529. package/types/components/Success/index.d.ts +1 -1
  530. package/types/components/Swipeable/StyledSwipeable.d.ts +1 -2
  531. package/types/components/Swipeable/SwipeableAction.d.ts +2 -2
  532. package/types/components/Swipeable/index.d.ts +8 -4
  533. package/types/components/Switch/SelectorSwitch/Option.d.ts +2 -1
  534. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +4 -11
  535. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  536. package/types/components/Switch/StyledSwitch.d.ts +2 -5
  537. package/types/components/Switch/index.d.ts +0 -0
  538. package/types/components/Tabs/ActiveTabIndicator.d.ts +2 -1
  539. package/types/components/Tabs/SceneView.d.ts +1 -1
  540. package/types/components/Tabs/ScrollableTabs.d.ts +5 -1
  541. package/types/components/Tabs/{ScrollableTabsHeader.d.ts → ScrollableTabsHeader/ScrollableTabsHeader.d.ts} +8 -3
  542. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +9 -0
  543. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +10 -0
  544. package/types/components/Tabs/StyledScrollableTabs.d.ts +12 -20
  545. package/types/components/Tabs/StyledTabs.d.ts +8 -18
  546. package/types/components/Tabs/TabWithBadge.d.ts +2 -2
  547. package/types/components/Tabs/index.d.ts +2 -1
  548. package/types/components/Tabs/useIsFocused.d.ts +0 -0
  549. package/types/components/Tabs/utils.d.ts +0 -0
  550. package/types/components/Tag/StyledTag.d.ts +4 -8
  551. package/types/components/Tag/index.d.ts +1 -0
  552. package/types/components/TextInput/StyledTextInput.d.ts +22 -46
  553. package/types/components/TextInput/index.d.ts +31 -2
  554. package/types/components/TimePicker/StyledTimePicker.d.ts +1 -2
  555. package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -1
  556. package/types/components/TimePicker/TimePickerIOS.d.ts +2 -1
  557. package/types/components/TimePicker/index.d.ts +2 -1
  558. package/types/components/TimePicker/types.d.ts +0 -0
  559. package/types/components/Toast/StyledToast.d.ts +6 -9
  560. package/types/components/Toast/Toast.d.ts +0 -0
  561. package/types/components/Toast/ToastContainer.d.ts +0 -0
  562. package/types/components/Toast/ToastContext.d.ts +1 -1
  563. package/types/components/Toast/ToastProvider.d.ts +2 -1
  564. package/types/components/Toast/index.d.ts +1 -2
  565. package/types/components/Toast/types.d.ts +0 -0
  566. package/types/components/Toolbar/StyledToolbar.d.ts +6 -7
  567. package/types/components/Toolbar/ToolbarGroup.d.ts +2 -1
  568. package/types/components/Toolbar/ToolbarItem.d.ts +2 -1
  569. package/types/components/Toolbar/index.d.ts +3 -2
  570. package/types/components/Typography/Body/StyledBody.d.ts +14 -0
  571. package/types/components/Typography/Body/__tests__/StyledBody.d.ts +1 -0
  572. package/types/components/Typography/Body/index.d.ts +33 -0
  573. package/types/components/Typography/Caption/StyledCaption.d.ts +12 -0
  574. package/types/components/Typography/Caption/index.d.ts +27 -0
  575. package/types/components/Typography/Label/StyledLabel.d.ts +11 -0
  576. package/types/components/Typography/Label/__tests__/StyledLabel.d.ts +1 -0
  577. package/types/components/Typography/Label/index.d.ts +23 -0
  578. package/types/components/Typography/Text/StyledText.d.ts +1 -2
  579. package/types/components/Typography/Text/index.d.ts +2 -1
  580. package/types/components/Typography/Title/StyledTitle.d.ts +14 -0
  581. package/types/components/Typography/Title/__tests__/StyledTitle.d.ts +1 -0
  582. package/types/components/Typography/Title/index.d.ts +33 -0
  583. package/types/components/Typography/index.d.ts +11 -0
  584. package/types/components/Typography/types.d.ts +6 -0
  585. package/types/index.d.ts +6 -1
  586. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  587. package/types/theme/ThemeProvider.d.ts +0 -1
  588. package/types/theme/ThemeSwitcher.d.ts +2 -2
  589. package/types/theme/components/accordion.d.ts +0 -0
  590. package/types/theme/components/alert.d.ts +0 -0
  591. package/types/theme/components/attachment.d.ts +0 -0
  592. package/types/theme/components/avatar.d.ts +0 -0
  593. package/types/theme/components/badge.d.ts +15 -0
  594. package/types/theme/components/bottomNavigation.d.ts +0 -0
  595. package/types/theme/components/bottomSheet.d.ts +0 -0
  596. package/types/theme/components/button.d.ts +14 -0
  597. package/types/theme/components/calendar.d.ts +2 -0
  598. package/types/theme/components/card.d.ts +0 -0
  599. package/types/theme/components/cardCarousel.d.ts +0 -10
  600. package/types/theme/components/carousel.d.ts +15 -1
  601. package/types/theme/components/checkbox.d.ts +5 -2
  602. package/types/theme/components/chip.d.ts +40 -0
  603. package/types/theme/components/contentNavigator.d.ts +0 -0
  604. package/types/theme/components/datePicker.d.ts +0 -0
  605. package/types/theme/components/divider.d.ts +0 -0
  606. package/types/theme/components/drawer.d.ts +0 -0
  607. package/types/theme/components/empty.d.ts +11 -0
  608. package/types/theme/components/error.d.ts +15 -0
  609. package/types/theme/components/fab.d.ts +13 -7
  610. package/types/theme/components/icon.d.ts +0 -0
  611. package/types/theme/components/image.d.ts +0 -0
  612. package/types/theme/components/list.d.ts +11 -7
  613. package/types/theme/components/pageControl.d.ts +0 -0
  614. package/types/theme/components/pinInput.d.ts +15 -0
  615. package/types/theme/components/progress.d.ts +0 -0
  616. package/types/theme/components/radio.d.ts +7 -1
  617. package/types/theme/components/rate.d.ts +11 -0
  618. package/types/theme/components/refreshControl.d.ts +0 -0
  619. package/types/theme/components/richTextEditor.d.ts +0 -0
  620. package/types/theme/components/sectionHeading.d.ts +1 -0
  621. package/types/theme/components/select.d.ts +0 -0
  622. package/types/theme/components/skeleton.d.ts +0 -0
  623. package/types/theme/components/slider.d.ts +0 -0
  624. package/types/theme/components/spinner.d.ts +0 -0
  625. package/types/theme/components/success.d.ts +11 -0
  626. package/types/theme/components/swipeable.d.ts +7 -0
  627. package/types/theme/components/switch.d.ts +1 -1
  628. package/types/theme/components/tabs.d.ts +1 -0
  629. package/types/theme/components/tag.d.ts +16 -1
  630. package/types/theme/components/textInput.d.ts +2 -2
  631. package/types/theme/components/timePicker.d.ts +0 -0
  632. package/types/theme/components/toast.d.ts +1 -1
  633. package/types/theme/components/toolbar.d.ts +0 -0
  634. package/types/theme/components/typography.d.ts +122 -0
  635. package/types/theme/getTheme.d.ts +22 -18
  636. package/types/theme/global/borders.d.ts +0 -0
  637. package/types/theme/global/colors/eBens.d.ts +0 -0
  638. package/types/theme/global/colors/global.d.ts +0 -0
  639. package/types/theme/global/colors/globalDark.d.ts +0 -0
  640. package/types/theme/global/colors/jobs.d.ts +0 -0
  641. package/types/theme/global/colors/swag.d.ts +0 -0
  642. package/types/theme/global/colors/swagDark.d.ts +0 -0
  643. package/types/theme/global/colors/types.d.ts +0 -0
  644. package/types/theme/global/colors/wallet.d.ts +0 -0
  645. package/types/theme/global/colors/work.d.ts +0 -0
  646. package/types/theme/global/index.d.ts +12 -0
  647. package/types/theme/global/scale.d.ts +0 -0
  648. package/types/theme/global/shadows.d.ts +16 -0
  649. package/types/theme/global/sizes.d.ts +0 -0
  650. package/types/theme/global/space.d.ts +1 -0
  651. package/types/theme/global/typography.d.ts +0 -0
  652. package/types/theme/index.d.ts +0 -0
  653. package/types/types.d.ts +3 -1
  654. package/types/utils/functions.d.ts +0 -0
  655. package/types/utils/helpers.d.ts +1 -1
  656. package/types/utils/hooks.d.ts +0 -0
  657. package/types/utils/scale.d.ts +0 -0
  658. package/.turbo/turbo-build.log +0 -8
  659. package/.turbo/turbo-build:types.log +0 -1
  660. package/.turbo/turbo-lint.log +0 -153
  661. package/.turbo/turbo-publish:npm.log +0 -0
  662. package/.turbo/turbo-type-check.log +0 -1
  663. package/types/components/Carousel/CarouselPaginator/StyledCarouselPaginator.d.ts +0 -14
  664. package/types/components/Carousel/CarouselPaginator/index.d.ts +0 -7
  665. package/types/components/Select/StyledOptionList.d.ts +0 -12
  666. package/types/components/SwipeableV2/StyledSwipeable.d.ts +0 -15
  667. package/types/components/SwipeableV2/index.d.ts +0 -46
  668. package/types/theme/global/colors/legacySystemPalette.d.ts +0 -3
@@ -1,1564 +1,2246 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`Button renders correctly 1`] = `
3
+ exports[`Button allows render custom icon 1`] = `
4
4
  <View
5
- accessibilityState={
6
- Object {
7
- "disabled": false,
8
- }
9
- }
10
- accessible={true}
11
- focusable={true}
12
- onClick={[Function]}
13
- onResponderGrant={[Function]}
14
- onResponderMove={[Function]}
15
- onResponderRelease={[Function]}
16
- onResponderTerminate={[Function]}
17
- onResponderTerminationRequest={[Function]}
18
- onStartShouldSetResponder={[Function]}
19
5
  style={
20
- Array [
21
- Object {
22
- "alignItems": "center",
23
- "alignSelf": "stretch",
24
- "backgroundColor": "#401960",
25
- "borderRadius": 32,
26
- "flexDirection": "row",
27
- "justifyContent": "center",
28
- "padding": 16,
29
- },
30
- undefined,
31
- ]
6
+ {
7
+ "flex": 1,
8
+ }
32
9
  }
33
10
  >
34
- <Text
35
- allowFontScaling={false}
36
- disabled={false}
37
- ellipsizeMode="tail"
38
- numberOfLines={1}
11
+ <View
12
+ accessibilityState={
13
+ {
14
+ "disabled": false,
15
+ }
16
+ }
17
+ accessibilityValue={
18
+ {
19
+ "max": undefined,
20
+ "min": undefined,
21
+ "now": undefined,
22
+ "text": undefined,
23
+ }
24
+ }
25
+ accessible={true}
26
+ focusable={true}
27
+ onClick={[Function]}
28
+ onResponderGrant={[Function]}
29
+ onResponderMove={[Function]}
30
+ onResponderRelease={[Function]}
31
+ onResponderTerminate={[Function]}
32
+ onResponderTerminationRequest={[Function]}
33
+ onStartShouldSetResponder={[Function]}
39
34
  style={
40
- Array [
41
- Object {
42
- "color": "#001f23",
43
- "fontFamily": "BeVietnamPro-Regular",
44
- "fontSize": 14,
45
- "letterSpacing": 0.42,
46
- "lineHeight": 22,
35
+ [
36
+ {
37
+ "alignItems": "center",
38
+ "alignSelf": "stretch",
39
+ "backgroundColor": "#401960",
40
+ "borderRadius": 32,
41
+ "flexDirection": "row",
42
+ "height": 60,
43
+ "justifyContent": "center",
44
+ "padding": 16,
47
45
  },
48
- Array [
49
- Object {
50
- "color": "#ffffff",
51
- "flexShrink": 1,
46
+ undefined,
47
+ ]
48
+ }
49
+ >
50
+ <View
51
+ style={
52
+ [
53
+ {
54
+ "paddingRight": 12,
55
+ },
56
+ undefined,
57
+ ]
58
+ }
59
+ themePosition="left"
60
+ >
61
+ <HeroIcon
62
+ name="add"
63
+ style={
64
+ [
65
+ {
66
+ "color": "#001f23",
67
+ "fontSize": 20,
68
+ },
69
+ undefined,
70
+ ]
71
+ }
72
+ testID="custom-button-icon-left"
73
+ themeIntent="text"
74
+ themeSize="small"
75
+ />
76
+ </View>
77
+ <Text
78
+ allowFontScaling={false}
79
+ disabled={false}
80
+ ellipsizeMode="tail"
81
+ numberOfLines={1}
82
+ style={
83
+ [
84
+ {
85
+ "color": "#001f23",
52
86
  "fontFamily": "BeVietnamPro-SemiBold",
53
87
  "fontSize": 18,
54
- "textAlign": "center",
88
+ "letterSpacing": 0.24,
89
+ "lineHeight": 28,
90
+ },
91
+ [
92
+ {
93
+ "color": "#ffffff",
94
+ "flexShrink": 1,
95
+ "textAlign": "center",
96
+ },
97
+ undefined,
98
+ ],
99
+ ]
100
+ }
101
+ themeButtonVariant="filled-primary"
102
+ themeIntent="body"
103
+ themeLevel="h5"
104
+ themeTypeface="neutral"
105
+ >
106
+ A button
107
+ </Text>
108
+ <View
109
+ style={
110
+ [
111
+ {
112
+ "paddingLeft": 12,
55
113
  },
56
114
  undefined,
57
- ],
115
+ ]
116
+ }
117
+ themePosition="right"
118
+ >
119
+ <HeroIcon
120
+ name="add"
121
+ style={
122
+ [
123
+ {
124
+ "color": "#001f23",
125
+ "fontSize": 20,
126
+ },
127
+ undefined,
128
+ ]
129
+ }
130
+ testID="custom-button-icon-right"
131
+ themeIntent="text"
132
+ themeSize="small"
133
+ />
134
+ </View>
135
+ </View>
136
+ <View
137
+ pointerEvents="box-none"
138
+ position="bottom"
139
+ style={
140
+ [
141
+ {
142
+ "bottom": 0,
143
+ "elevation": 9999,
144
+ "flexDirection": "column-reverse",
145
+ "left": 0,
146
+ "paddingHorizontal": 24,
147
+ "paddingVertical": 16,
148
+ "position": "absolute",
149
+ "right": 0,
150
+ "top": 0,
151
+ },
152
+ undefined,
58
153
  ]
59
154
  }
60
- themeFontSize="medium"
61
- themeFontWeight="regular"
62
- themeIntent="body"
63
- themeTypeface="neutral"
64
- themeVariant="filled-primary"
65
- >
66
- A button
67
- </Text>
155
+ />
68
156
  </View>
69
157
  `;
70
158
 
71
- exports[`Button renders correctly 2`] = `
159
+ exports[`Button renders correctly 1`] = `
72
160
  <View
73
- accessibilityState={
74
- Object {
75
- "disabled": true,
76
- }
77
- }
78
- accessible={true}
79
- focusable={true}
80
- onClick={[Function]}
81
- onResponderGrant={[Function]}
82
- onResponderMove={[Function]}
83
- onResponderRelease={[Function]}
84
- onResponderTerminate={[Function]}
85
- onResponderTerminationRequest={[Function]}
86
- onStartShouldSetResponder={[Function]}
87
161
  style={
88
- Array [
89
- Object {
90
- "alignItems": "center",
91
- "alignSelf": "stretch",
92
- "backgroundColor": "#401960",
93
- "borderRadius": 32,
94
- "flexDirection": "row",
95
- "justifyContent": "center",
96
- "padding": 16,
97
- },
98
- undefined,
99
- ]
162
+ {
163
+ "flex": 1,
164
+ }
100
165
  }
101
166
  >
102
167
  <View
103
- collapsable={false}
168
+ accessibilityState={
169
+ {
170
+ "disabled": false,
171
+ }
172
+ }
173
+ accessibilityValue={
174
+ {
175
+ "max": undefined,
176
+ "min": undefined,
177
+ "now": undefined,
178
+ "text": undefined,
179
+ }
180
+ }
181
+ accessible={true}
182
+ focusable={true}
183
+ onClick={[Function]}
184
+ onResponderGrant={[Function]}
185
+ onResponderMove={[Function]}
186
+ onResponderRelease={[Function]}
187
+ onResponderTerminate={[Function]}
188
+ onResponderTerminationRequest={[Function]}
189
+ onStartShouldSetResponder={[Function]}
104
190
  style={
105
- Array [
106
- Object {
191
+ [
192
+ {
107
193
  "alignItems": "center",
194
+ "alignSelf": "stretch",
195
+ "backgroundColor": "#401960",
196
+ "borderRadius": 32,
108
197
  "flexDirection": "row",
198
+ "height": 60,
109
199
  "justifyContent": "center",
110
- "paddingVertical": 2,
200
+ "padding": 16,
111
201
  },
112
- Object {},
202
+ undefined,
113
203
  ]
114
204
  }
115
- testID="undefined-loading-indicator"
116
205
  >
117
- <View
118
- collapsable={false}
206
+ <Text
207
+ allowFontScaling={false}
208
+ disabled={false}
209
+ ellipsizeMode="tail"
210
+ numberOfLines={1}
119
211
  style={
120
- Object {
121
- "transform": Array [
122
- Object {
123
- "scale": 1,
212
+ [
213
+ {
214
+ "color": "#001f23",
215
+ "fontFamily": "BeVietnamPro-SemiBold",
216
+ "fontSize": 18,
217
+ "letterSpacing": 0.24,
218
+ "lineHeight": 28,
219
+ },
220
+ [
221
+ {
222
+ "color": "#ffffff",
223
+ "flexShrink": 1,
224
+ "textAlign": "center",
124
225
  },
226
+ undefined,
125
227
  ],
126
- }
228
+ ]
127
229
  }
230
+ themeButtonVariant="filled-primary"
231
+ themeIntent="body"
232
+ themeLevel="h5"
233
+ themeTypeface="neutral"
128
234
  >
129
- <View
130
- collapsable={false}
131
- size={12}
132
- style={
133
- Array [
134
- Object {
135
- "backgroundColor": "#ffffff",
136
- "borderRadius": 8,
137
- "height": 12,
138
- "marginBottom": 4,
139
- "marginHorizontal": 8,
140
- "marginTop": 4,
141
- "width": 12,
142
- },
143
- Object {},
144
- ]
145
- }
146
- themeVariant="filled-primary"
147
- />
148
- </View>
235
+ A button
236
+ </Text>
237
+ </View>
238
+ <View
239
+ pointerEvents="box-none"
240
+ position="bottom"
241
+ style={
242
+ [
243
+ {
244
+ "bottom": 0,
245
+ "elevation": 9999,
246
+ "flexDirection": "column-reverse",
247
+ "left": 0,
248
+ "paddingHorizontal": 24,
249
+ "paddingVertical": 16,
250
+ "position": "absolute",
251
+ "right": 0,
252
+ "top": 0,
253
+ },
254
+ undefined,
255
+ ]
256
+ }
257
+ />
258
+ </View>
259
+ `;
260
+
261
+ exports[`Button renders correctly 2`] = `
262
+ <View
263
+ style={
264
+ {
265
+ "flex": 1,
266
+ }
267
+ }
268
+ >
269
+ <View
270
+ accessibilityState={
271
+ {
272
+ "disabled": true,
273
+ }
274
+ }
275
+ accessibilityValue={
276
+ {
277
+ "max": undefined,
278
+ "min": undefined,
279
+ "now": undefined,
280
+ "text": undefined,
281
+ }
282
+ }
283
+ accessible={true}
284
+ focusable={true}
285
+ onClick={[Function]}
286
+ onResponderGrant={[Function]}
287
+ onResponderMove={[Function]}
288
+ onResponderRelease={[Function]}
289
+ onResponderTerminate={[Function]}
290
+ onResponderTerminationRequest={[Function]}
291
+ onStartShouldSetResponder={[Function]}
292
+ style={
293
+ [
294
+ {
295
+ "alignItems": "center",
296
+ "alignSelf": "stretch",
297
+ "backgroundColor": "#401960",
298
+ "borderRadius": 32,
299
+ "flexDirection": "row",
300
+ "height": 60,
301
+ "justifyContent": "center",
302
+ "padding": 16,
303
+ },
304
+ undefined,
305
+ ]
306
+ }
307
+ >
149
308
  <View
150
309
  collapsable={false}
151
310
  style={
152
- Object {
153
- "transform": Array [
154
- Object {
155
- "scale": 1,
156
- },
157
- ],
158
- }
311
+ [
312
+ {
313
+ "alignItems": "center",
314
+ "flexDirection": "row",
315
+ "justifyContent": "center",
316
+ },
317
+ {},
318
+ ]
159
319
  }
320
+ testID="undefined-loading-indicator"
160
321
  >
161
322
  <View
162
323
  collapsable={false}
163
- size={12}
164
324
  style={
165
- Array [
166
- Object {
167
- "backgroundColor": "#ffffff",
168
- "borderRadius": 8,
169
- "height": 12,
170
- "marginBottom": 4,
171
- "marginHorizontal": 8,
172
- "marginTop": 4,
173
- "width": 12,
174
- },
175
- Object {},
176
- ]
325
+ {
326
+ "transform": [
327
+ {
328
+ "scale": 1,
329
+ },
330
+ ],
331
+ }
177
332
  }
178
- themeVariant="filled-primary"
179
- />
180
- </View>
181
- <View
182
- collapsable={false}
183
- style={
184
- Object {
185
- "transform": Array [
186
- Object {
187
- "scale": 1,
188
- },
189
- ],
333
+ >
334
+ <View
335
+ collapsable={false}
336
+ size={12}
337
+ style={
338
+ [
339
+ {
340
+ "backgroundColor": "#ffffff",
341
+ "borderRadius": 8,
342
+ "height": 12,
343
+ "marginHorizontal": 8,
344
+ "width": 12,
345
+ },
346
+ {},
347
+ ]
348
+ }
349
+ themeVariant="filled-primary"
350
+ />
351
+ </View>
352
+ <View
353
+ collapsable={false}
354
+ style={
355
+ {
356
+ "transform": [
357
+ {
358
+ "scale": 1,
359
+ },
360
+ ],
361
+ }
190
362
  }
191
- }
192
- >
363
+ >
364
+ <View
365
+ collapsable={false}
366
+ size={12}
367
+ style={
368
+ [
369
+ {
370
+ "backgroundColor": "#ffffff",
371
+ "borderRadius": 8,
372
+ "height": 12,
373
+ "marginHorizontal": 8,
374
+ "width": 12,
375
+ },
376
+ {},
377
+ ]
378
+ }
379
+ themeVariant="filled-primary"
380
+ />
381
+ </View>
193
382
  <View
194
383
  collapsable={false}
195
- size={12}
196
384
  style={
197
- Array [
198
- Object {
199
- "backgroundColor": "#ffffff",
200
- "borderRadius": 8,
201
- "height": 12,
202
- "marginBottom": 4,
203
- "marginHorizontal": 8,
204
- "marginTop": 4,
205
- "width": 12,
206
- },
207
- Object {},
208
- ]
385
+ {
386
+ "transform": [
387
+ {
388
+ "scale": 1,
389
+ },
390
+ ],
391
+ }
209
392
  }
210
- themeVariant="filled-primary"
211
- />
393
+ >
394
+ <View
395
+ collapsable={false}
396
+ size={12}
397
+ style={
398
+ [
399
+ {
400
+ "backgroundColor": "#ffffff",
401
+ "borderRadius": 8,
402
+ "height": 12,
403
+ "marginHorizontal": 8,
404
+ "width": 12,
405
+ },
406
+ {},
407
+ ]
408
+ }
409
+ themeVariant="filled-primary"
410
+ />
411
+ </View>
212
412
  </View>
213
413
  </View>
414
+ <View
415
+ pointerEvents="box-none"
416
+ position="bottom"
417
+ style={
418
+ [
419
+ {
420
+ "bottom": 0,
421
+ "elevation": 9999,
422
+ "flexDirection": "column-reverse",
423
+ "left": 0,
424
+ "paddingHorizontal": 24,
425
+ "paddingVertical": 16,
426
+ "position": "absolute",
427
+ "right": 0,
428
+ "top": 0,
429
+ },
430
+ undefined,
431
+ ]
432
+ }
433
+ />
214
434
  </View>
215
435
  `;
216
436
 
217
437
  exports[`Button renders correctly 3`] = `
218
438
  <View
219
- accessibilityState={
220
- Object {
221
- "disabled": true,
222
- }
223
- }
224
- accessible={true}
225
- focusable={true}
226
- onClick={[Function]}
227
- onResponderGrant={[Function]}
228
- onResponderMove={[Function]}
229
- onResponderRelease={[Function]}
230
- onResponderTerminate={[Function]}
231
- onResponderTerminationRequest={[Function]}
232
- onStartShouldSetResponder={[Function]}
233
439
  style={
234
- Array [
235
- Object {
236
- "alignItems": "center",
237
- "alignSelf": "stretch",
238
- "backgroundColor": "#bfc1c5",
239
- "borderRadius": 32,
240
- "flexDirection": "row",
241
- "justifyContent": "center",
242
- "padding": 16,
243
- },
244
- undefined,
245
- ]
440
+ {
441
+ "flex": 1,
442
+ }
246
443
  }
247
444
  >
248
- <Text
249
- allowFontScaling={false}
250
- disabled={true}
251
- ellipsizeMode="tail"
252
- numberOfLines={1}
445
+ <View
446
+ accessibilityState={
447
+ {
448
+ "disabled": true,
449
+ }
450
+ }
451
+ accessibilityValue={
452
+ {
453
+ "max": undefined,
454
+ "min": undefined,
455
+ "now": undefined,
456
+ "text": undefined,
457
+ }
458
+ }
459
+ accessible={true}
460
+ focusable={true}
461
+ onClick={[Function]}
462
+ onResponderGrant={[Function]}
463
+ onResponderMove={[Function]}
464
+ onResponderRelease={[Function]}
465
+ onResponderTerminate={[Function]}
466
+ onResponderTerminationRequest={[Function]}
467
+ onStartShouldSetResponder={[Function]}
253
468
  style={
254
- Array [
255
- Object {
256
- "color": "#001f23",
257
- "fontFamily": "BeVietnamPro-Regular",
258
- "fontSize": 14,
259
- "letterSpacing": 0.42,
260
- "lineHeight": 22,
469
+ [
470
+ {
471
+ "alignItems": "center",
472
+ "alignSelf": "stretch",
473
+ "backgroundColor": "#bfc1c5",
474
+ "borderRadius": 32,
475
+ "flexDirection": "row",
476
+ "height": 60,
477
+ "justifyContent": "center",
478
+ "padding": 16,
261
479
  },
262
- Array [
263
- Object {
264
- "color": "#ffffff",
265
- "flexShrink": 1,
480
+ undefined,
481
+ ]
482
+ }
483
+ >
484
+ <Text
485
+ allowFontScaling={false}
486
+ disabled={true}
487
+ ellipsizeMode="tail"
488
+ numberOfLines={1}
489
+ style={
490
+ [
491
+ {
492
+ "color": "#001f23",
266
493
  "fontFamily": "BeVietnamPro-SemiBold",
267
494
  "fontSize": 18,
268
- "textAlign": "center",
495
+ "letterSpacing": 0.24,
496
+ "lineHeight": 28,
269
497
  },
270
- undefined,
271
- ],
498
+ [
499
+ {
500
+ "color": "#ffffff",
501
+ "flexShrink": 1,
502
+ "textAlign": "center",
503
+ },
504
+ undefined,
505
+ ],
506
+ ]
507
+ }
508
+ themeButtonVariant="filled-primary"
509
+ themeIntent="body"
510
+ themeLevel="h5"
511
+ themeTypeface="neutral"
512
+ >
513
+ A button
514
+ </Text>
515
+ </View>
516
+ <View
517
+ pointerEvents="box-none"
518
+ position="bottom"
519
+ style={
520
+ [
521
+ {
522
+ "bottom": 0,
523
+ "elevation": 9999,
524
+ "flexDirection": "column-reverse",
525
+ "left": 0,
526
+ "paddingHorizontal": 24,
527
+ "paddingVertical": 16,
528
+ "position": "absolute",
529
+ "right": 0,
530
+ "top": 0,
531
+ },
532
+ undefined,
272
533
  ]
273
534
  }
274
- themeFontSize="medium"
275
- themeFontWeight="regular"
276
- themeIntent="body"
277
- themeTypeface="neutral"
278
- themeVariant="filled-primary"
279
- >
280
- A button
281
- </Text>
535
+ />
282
536
  </View>
283
537
  `;
284
538
 
285
539
  exports[`Button renders correctly 4`] = `
286
540
  <View
287
- accessibilityState={
288
- Object {
289
- "disabled": false,
290
- }
291
- }
292
- accessible={true}
293
- focusable={true}
294
- onClick={[Function]}
295
- onResponderGrant={[Function]}
296
- onResponderMove={[Function]}
297
- onResponderRelease={[Function]}
298
- onResponderTerminate={[Function]}
299
- onResponderTerminationRequest={[Function]}
300
- onStartShouldSetResponder={[Function]}
301
541
  style={
302
- Array [
303
- Object {
304
- "alignItems": "center",
305
- "alignSelf": "stretch",
306
- "backgroundColor": "transparent",
307
- "borderColor": "#401960",
308
- "borderRadius": 32,
309
- "borderWidth": 2,
310
- "flexDirection": "row",
311
- "justifyContent": "center",
312
- "padding": 14,
313
- },
314
- undefined,
315
- ]
542
+ {
543
+ "flex": 1,
544
+ }
316
545
  }
317
546
  >
318
- <Text
319
- allowFontScaling={false}
320
- disabled={false}
321
- ellipsizeMode="tail"
322
- numberOfLines={1}
547
+ <View
548
+ accessibilityState={
549
+ {
550
+ "disabled": false,
551
+ }
552
+ }
553
+ accessibilityValue={
554
+ {
555
+ "max": undefined,
556
+ "min": undefined,
557
+ "now": undefined,
558
+ "text": undefined,
559
+ }
560
+ }
561
+ accessible={true}
562
+ focusable={true}
563
+ onClick={[Function]}
564
+ onResponderGrant={[Function]}
565
+ onResponderMove={[Function]}
566
+ onResponderRelease={[Function]}
567
+ onResponderTerminate={[Function]}
568
+ onResponderTerminationRequest={[Function]}
569
+ onStartShouldSetResponder={[Function]}
323
570
  style={
324
- Array [
325
- Object {
326
- "color": "#001f23",
327
- "fontFamily": "BeVietnamPro-Regular",
328
- "fontSize": 14,
329
- "letterSpacing": 0.42,
330
- "lineHeight": 22,
571
+ [
572
+ {
573
+ "alignItems": "center",
574
+ "alignSelf": "stretch",
575
+ "backgroundColor": "transparent",
576
+ "borderColor": "#401960",
577
+ "borderRadius": 32,
578
+ "borderWidth": 2,
579
+ "flexDirection": "row",
580
+ "height": 60,
581
+ "justifyContent": "center",
582
+ "padding": 14,
331
583
  },
332
- Array [
333
- Object {
334
- "color": "#401960",
335
- "flexShrink": 1,
584
+ undefined,
585
+ ]
586
+ }
587
+ >
588
+ <Text
589
+ allowFontScaling={false}
590
+ disabled={false}
591
+ ellipsizeMode="tail"
592
+ numberOfLines={1}
593
+ style={
594
+ [
595
+ {
596
+ "color": "#001f23",
336
597
  "fontFamily": "BeVietnamPro-SemiBold",
337
598
  "fontSize": 18,
338
- "textAlign": "center",
599
+ "letterSpacing": 0.24,
600
+ "lineHeight": 28,
339
601
  },
340
- undefined,
341
- ],
602
+ [
603
+ {
604
+ "color": "#401960",
605
+ "flexShrink": 1,
606
+ "textAlign": "center",
607
+ },
608
+ undefined,
609
+ ],
610
+ ]
611
+ }
612
+ themeButtonVariant="outlined-primary"
613
+ themeIntent="body"
614
+ themeLevel="h5"
615
+ themeTypeface="neutral"
616
+ >
617
+ A button
618
+ </Text>
619
+ </View>
620
+ <View
621
+ pointerEvents="box-none"
622
+ position="bottom"
623
+ style={
624
+ [
625
+ {
626
+ "bottom": 0,
627
+ "elevation": 9999,
628
+ "flexDirection": "column-reverse",
629
+ "left": 0,
630
+ "paddingHorizontal": 24,
631
+ "paddingVertical": 16,
632
+ "position": "absolute",
633
+ "right": 0,
634
+ "top": 0,
635
+ },
636
+ undefined,
342
637
  ]
343
638
  }
344
- themeFontSize="medium"
345
- themeFontWeight="regular"
346
- themeIntent="body"
347
- themeTypeface="neutral"
348
- themeVariant="outlined-primary"
349
- >
350
- A button
351
- </Text>
639
+ />
352
640
  </View>
353
641
  `;
354
642
 
355
643
  exports[`Button renders correctly 5`] = `
356
644
  <View
357
- accessibilityState={
358
- Object {
359
- "disabled": true,
360
- }
361
- }
362
- accessible={true}
363
- focusable={true}
364
- onClick={[Function]}
365
- onResponderGrant={[Function]}
366
- onResponderMove={[Function]}
367
- onResponderRelease={[Function]}
368
- onResponderTerminate={[Function]}
369
- onResponderTerminationRequest={[Function]}
370
- onStartShouldSetResponder={[Function]}
371
645
  style={
372
- Array [
373
- Object {
374
- "alignItems": "center",
375
- "alignSelf": "stretch",
376
- "backgroundColor": "transparent",
377
- "borderColor": "#401960",
378
- "borderRadius": 32,
379
- "borderWidth": 2,
380
- "flexDirection": "row",
381
- "justifyContent": "center",
382
- "padding": 14,
383
- },
384
- undefined,
385
- ]
646
+ {
647
+ "flex": 1,
648
+ }
386
649
  }
387
650
  >
388
651
  <View
389
- collapsable={false}
652
+ accessibilityState={
653
+ {
654
+ "disabled": true,
655
+ }
656
+ }
657
+ accessibilityValue={
658
+ {
659
+ "max": undefined,
660
+ "min": undefined,
661
+ "now": undefined,
662
+ "text": undefined,
663
+ }
664
+ }
665
+ accessible={true}
666
+ focusable={true}
667
+ onClick={[Function]}
668
+ onResponderGrant={[Function]}
669
+ onResponderMove={[Function]}
670
+ onResponderRelease={[Function]}
671
+ onResponderTerminate={[Function]}
672
+ onResponderTerminationRequest={[Function]}
673
+ onStartShouldSetResponder={[Function]}
390
674
  style={
391
- Array [
392
- Object {
675
+ [
676
+ {
393
677
  "alignItems": "center",
678
+ "alignSelf": "stretch",
679
+ "backgroundColor": "transparent",
680
+ "borderColor": "#401960",
681
+ "borderRadius": 32,
682
+ "borderWidth": 2,
394
683
  "flexDirection": "row",
684
+ "height": 60,
395
685
  "justifyContent": "center",
396
- "paddingVertical": 2,
686
+ "padding": 14,
397
687
  },
398
- Object {},
688
+ undefined,
399
689
  ]
400
690
  }
401
- testID="undefined-loading-indicator"
402
691
  >
403
692
  <View
404
693
  collapsable={false}
405
694
  style={
406
- Object {
407
- "transform": Array [
408
- Object {
409
- "scale": 1,
410
- },
411
- ],
412
- }
695
+ [
696
+ {
697
+ "alignItems": "center",
698
+ "flexDirection": "row",
699
+ "justifyContent": "center",
700
+ },
701
+ {},
702
+ ]
413
703
  }
704
+ testID="undefined-loading-indicator"
414
705
  >
415
706
  <View
416
707
  collapsable={false}
417
- size={12}
418
708
  style={
419
- Array [
420
- Object {
421
- "backgroundColor": "#401960",
422
- "borderRadius": 8,
423
- "height": 12,
424
- "marginBottom": 4,
425
- "marginHorizontal": 8,
426
- "marginTop": 4,
427
- "width": 12,
428
- },
429
- Object {},
430
- ]
709
+ {
710
+ "transform": [
711
+ {
712
+ "scale": 1,
713
+ },
714
+ ],
715
+ }
431
716
  }
432
- themeVariant="outlined-primary"
433
- />
434
- </View>
435
- <View
436
- collapsable={false}
437
- style={
438
- Object {
439
- "transform": Array [
440
- Object {
441
- "scale": 1,
442
- },
443
- ],
444
- }
445
- }
446
- >
717
+ >
718
+ <View
719
+ collapsable={false}
720
+ size={12}
721
+ style={
722
+ [
723
+ {
724
+ "backgroundColor": "#401960",
725
+ "borderRadius": 8,
726
+ "height": 12,
727
+ "marginHorizontal": 8,
728
+ "width": 12,
729
+ },
730
+ {},
731
+ ]
732
+ }
733
+ themeVariant="outlined-primary"
734
+ />
735
+ </View>
447
736
  <View
448
737
  collapsable={false}
449
- size={12}
450
738
  style={
451
- Array [
452
- Object {
453
- "backgroundColor": "#401960",
454
- "borderRadius": 8,
455
- "height": 12,
456
- "marginBottom": 4,
457
- "marginHorizontal": 8,
458
- "marginTop": 4,
459
- "width": 12,
460
- },
461
- Object {},
462
- ]
739
+ {
740
+ "transform": [
741
+ {
742
+ "scale": 1,
743
+ },
744
+ ],
745
+ }
463
746
  }
464
- themeVariant="outlined-primary"
465
- />
466
- </View>
467
- <View
468
- collapsable={false}
469
- style={
470
- Object {
471
- "transform": Array [
472
- Object {
473
- "scale": 1,
474
- },
475
- ],
476
- }
477
- }
478
- >
747
+ >
748
+ <View
749
+ collapsable={false}
750
+ size={12}
751
+ style={
752
+ [
753
+ {
754
+ "backgroundColor": "#401960",
755
+ "borderRadius": 8,
756
+ "height": 12,
757
+ "marginHorizontal": 8,
758
+ "width": 12,
759
+ },
760
+ {},
761
+ ]
762
+ }
763
+ themeVariant="outlined-primary"
764
+ />
765
+ </View>
479
766
  <View
480
767
  collapsable={false}
481
- size={12}
482
768
  style={
483
- Array [
484
- Object {
485
- "backgroundColor": "#401960",
486
- "borderRadius": 8,
487
- "height": 12,
488
- "marginBottom": 4,
489
- "marginHorizontal": 8,
490
- "marginTop": 4,
491
- "width": 12,
492
- },
493
- Object {},
494
- ]
769
+ {
770
+ "transform": [
771
+ {
772
+ "scale": 1,
773
+ },
774
+ ],
775
+ }
495
776
  }
496
- themeVariant="outlined-primary"
497
- />
777
+ >
778
+ <View
779
+ collapsable={false}
780
+ size={12}
781
+ style={
782
+ [
783
+ {
784
+ "backgroundColor": "#401960",
785
+ "borderRadius": 8,
786
+ "height": 12,
787
+ "marginHorizontal": 8,
788
+ "width": 12,
789
+ },
790
+ {},
791
+ ]
792
+ }
793
+ themeVariant="outlined-primary"
794
+ />
795
+ </View>
498
796
  </View>
499
797
  </View>
798
+ <View
799
+ pointerEvents="box-none"
800
+ position="bottom"
801
+ style={
802
+ [
803
+ {
804
+ "bottom": 0,
805
+ "elevation": 9999,
806
+ "flexDirection": "column-reverse",
807
+ "left": 0,
808
+ "paddingHorizontal": 24,
809
+ "paddingVertical": 16,
810
+ "position": "absolute",
811
+ "right": 0,
812
+ "top": 0,
813
+ },
814
+ undefined,
815
+ ]
816
+ }
817
+ />
500
818
  </View>
501
819
  `;
502
820
 
503
821
  exports[`Button renders correctly 6`] = `
504
822
  <View
505
- accessibilityState={
506
- Object {
507
- "disabled": true,
508
- }
509
- }
510
- accessible={true}
511
- focusable={true}
512
- onClick={[Function]}
513
- onResponderGrant={[Function]}
514
- onResponderMove={[Function]}
515
- onResponderRelease={[Function]}
516
- onResponderTerminate={[Function]}
517
- onResponderTerminationRequest={[Function]}
518
- onStartShouldSetResponder={[Function]}
519
823
  style={
520
- Array [
521
- Object {
522
- "alignItems": "center",
523
- "alignSelf": "stretch",
524
- "backgroundColor": "transparent",
525
- "borderColor": "#bfc1c5",
526
- "borderRadius": 32,
527
- "borderWidth": 2,
528
- "flexDirection": "row",
529
- "justifyContent": "center",
530
- "padding": 14,
531
- },
532
- undefined,
533
- ]
824
+ {
825
+ "flex": 1,
826
+ }
534
827
  }
535
828
  >
536
- <Text
537
- allowFontScaling={false}
538
- disabled={true}
539
- ellipsizeMode="tail"
540
- numberOfLines={1}
829
+ <View
830
+ accessibilityState={
831
+ {
832
+ "disabled": true,
833
+ }
834
+ }
835
+ accessibilityValue={
836
+ {
837
+ "max": undefined,
838
+ "min": undefined,
839
+ "now": undefined,
840
+ "text": undefined,
841
+ }
842
+ }
843
+ accessible={true}
844
+ focusable={true}
845
+ onClick={[Function]}
846
+ onResponderGrant={[Function]}
847
+ onResponderMove={[Function]}
848
+ onResponderRelease={[Function]}
849
+ onResponderTerminate={[Function]}
850
+ onResponderTerminationRequest={[Function]}
851
+ onStartShouldSetResponder={[Function]}
541
852
  style={
542
- Array [
543
- Object {
544
- "color": "#001f23",
545
- "fontFamily": "BeVietnamPro-Regular",
546
- "fontSize": 14,
547
- "letterSpacing": 0.42,
548
- "lineHeight": 22,
853
+ [
854
+ {
855
+ "alignItems": "center",
856
+ "alignSelf": "stretch",
857
+ "backgroundColor": "transparent",
858
+ "borderColor": "#bfc1c5",
859
+ "borderRadius": 32,
860
+ "borderWidth": 2,
861
+ "flexDirection": "row",
862
+ "height": 60,
863
+ "justifyContent": "center",
864
+ "padding": 14,
549
865
  },
550
- Array [
551
- Object {
552
- "color": "#bfc1c5",
553
- "flexShrink": 1,
866
+ undefined,
867
+ ]
868
+ }
869
+ >
870
+ <Text
871
+ allowFontScaling={false}
872
+ disabled={true}
873
+ ellipsizeMode="tail"
874
+ numberOfLines={1}
875
+ style={
876
+ [
877
+ {
878
+ "color": "#001f23",
554
879
  "fontFamily": "BeVietnamPro-SemiBold",
555
880
  "fontSize": 18,
556
- "textAlign": "center",
881
+ "letterSpacing": 0.24,
882
+ "lineHeight": 28,
557
883
  },
558
- undefined,
559
- ],
884
+ [
885
+ {
886
+ "color": "#bfc1c5",
887
+ "flexShrink": 1,
888
+ "textAlign": "center",
889
+ },
890
+ undefined,
891
+ ],
892
+ ]
893
+ }
894
+ themeButtonVariant="outlined-primary"
895
+ themeIntent="body"
896
+ themeLevel="h5"
897
+ themeTypeface="neutral"
898
+ >
899
+ A button
900
+ </Text>
901
+ </View>
902
+ <View
903
+ pointerEvents="box-none"
904
+ position="bottom"
905
+ style={
906
+ [
907
+ {
908
+ "bottom": 0,
909
+ "elevation": 9999,
910
+ "flexDirection": "column-reverse",
911
+ "left": 0,
912
+ "paddingHorizontal": 24,
913
+ "paddingVertical": 16,
914
+ "position": "absolute",
915
+ "right": 0,
916
+ "top": 0,
917
+ },
918
+ undefined,
560
919
  ]
561
920
  }
562
- themeFontSize="medium"
563
- themeFontWeight="regular"
564
- themeIntent="body"
565
- themeTypeface="neutral"
566
- themeVariant="outlined-primary"
567
- >
568
- A button
569
- </Text>
921
+ />
570
922
  </View>
571
923
  `;
572
924
 
573
925
  exports[`Button renders correctly 7`] = `
574
926
  <View
575
- accessibilityState={
576
- Object {
577
- "disabled": false,
578
- }
579
- }
580
- accessible={true}
581
- focusable={true}
582
- onClick={[Function]}
583
- onResponderGrant={[Function]}
584
- onResponderMove={[Function]}
585
- onResponderRelease={[Function]}
586
- onResponderTerminate={[Function]}
587
- onResponderTerminationRequest={[Function]}
588
- onStartShouldSetResponder={[Function]}
589
927
  style={
590
- Array [
591
- Object {
592
- "alignItems": "center",
593
- "backgroundColor": "transparent",
594
- "borderRadius": 4,
595
- "borderWidth": 0,
596
- "flexDirection": "row",
597
- "justifyContent": "center",
598
- "padding": 12,
599
- },
600
- undefined,
601
- ]
928
+ {
929
+ "flex": 1,
930
+ }
602
931
  }
603
932
  >
604
- <Text
605
- allowFontScaling={false}
606
- disabled={false}
607
- ellipsizeMode="tail"
608
- numberOfLines={1}
933
+ <View
934
+ accessibilityState={
935
+ {
936
+ "disabled": false,
937
+ }
938
+ }
939
+ accessibilityValue={
940
+ {
941
+ "max": undefined,
942
+ "min": undefined,
943
+ "now": undefined,
944
+ "text": undefined,
945
+ }
946
+ }
947
+ accessible={true}
948
+ focusable={true}
949
+ onClick={[Function]}
950
+ onResponderGrant={[Function]}
951
+ onResponderMove={[Function]}
952
+ onResponderRelease={[Function]}
953
+ onResponderTerminate={[Function]}
954
+ onResponderTerminationRequest={[Function]}
955
+ onStartShouldSetResponder={[Function]}
609
956
  style={
610
- Array [
611
- Object {
612
- "color": "#001f23",
613
- "fontFamily": "BeVietnamPro-Regular",
614
- "fontSize": 14,
615
- "letterSpacing": 0.42,
616
- "lineHeight": 22,
957
+ [
958
+ {
959
+ "alignItems": "center",
960
+ "backgroundColor": "transparent",
961
+ "borderRadius": 4,
962
+ "borderWidth": 0,
963
+ "flexDirection": "row",
964
+ "height": 60,
965
+ "justifyContent": "center",
966
+ "padding": 12,
617
967
  },
618
- Array [
619
- Object {
620
- "color": "#401960",
621
- "flexShrink": 1,
968
+ undefined,
969
+ ]
970
+ }
971
+ >
972
+ <Text
973
+ allowFontScaling={false}
974
+ disabled={false}
975
+ ellipsizeMode="tail"
976
+ numberOfLines={1}
977
+ style={
978
+ [
979
+ {
980
+ "color": "#001f23",
622
981
  "fontFamily": "BeVietnamPro-SemiBold",
623
982
  "fontSize": 16,
624
- "textAlign": "center",
983
+ "letterSpacing": 0.24,
984
+ "lineHeight": 24,
625
985
  },
626
- undefined,
627
- ],
986
+ [
987
+ {
988
+ "color": "#401960",
989
+ "flexShrink": 1,
990
+ "lineHeight": 22,
991
+ "textAlign": "center",
992
+ },
993
+ undefined,
994
+ ],
995
+ ]
996
+ }
997
+ themeButtonVariant="text-primary"
998
+ themeIntent="body"
999
+ themeTypeface="neutral"
1000
+ themeVariant="regular-bold"
1001
+ >
1002
+ A button
1003
+ </Text>
1004
+ </View>
1005
+ <View
1006
+ pointerEvents="box-none"
1007
+ position="bottom"
1008
+ style={
1009
+ [
1010
+ {
1011
+ "bottom": 0,
1012
+ "elevation": 9999,
1013
+ "flexDirection": "column-reverse",
1014
+ "left": 0,
1015
+ "paddingHorizontal": 24,
1016
+ "paddingVertical": 16,
1017
+ "position": "absolute",
1018
+ "right": 0,
1019
+ "top": 0,
1020
+ },
1021
+ undefined,
628
1022
  ]
629
1023
  }
630
- themeFontSize="medium"
631
- themeFontWeight="regular"
632
- themeIntent="body"
633
- themeTypeface="neutral"
634
- themeVariant="text-primary"
635
- >
636
- A button
637
- </Text>
1024
+ />
638
1025
  </View>
639
1026
  `;
640
1027
 
641
1028
  exports[`Button renders correctly 8`] = `
642
1029
  <View
643
- accessibilityState={
644
- Object {
645
- "disabled": true,
646
- }
647
- }
648
- accessible={true}
649
- focusable={true}
650
- onClick={[Function]}
651
- onResponderGrant={[Function]}
652
- onResponderMove={[Function]}
653
- onResponderRelease={[Function]}
654
- onResponderTerminate={[Function]}
655
- onResponderTerminationRequest={[Function]}
656
- onStartShouldSetResponder={[Function]}
657
1030
  style={
658
- Array [
659
- Object {
660
- "alignItems": "center",
661
- "backgroundColor": "#ece8ef",
662
- "borderRadius": 4,
663
- "borderWidth": 0,
664
- "flexDirection": "row",
665
- "justifyContent": "center",
666
- "padding": 12,
667
- },
668
- undefined,
669
- ]
1031
+ {
1032
+ "flex": 1,
1033
+ }
670
1034
  }
671
1035
  >
672
1036
  <View
673
- collapsable={false}
1037
+ accessibilityState={
1038
+ {
1039
+ "disabled": true,
1040
+ }
1041
+ }
1042
+ accessibilityValue={
1043
+ {
1044
+ "max": undefined,
1045
+ "min": undefined,
1046
+ "now": undefined,
1047
+ "text": undefined,
1048
+ }
1049
+ }
1050
+ accessible={true}
1051
+ focusable={true}
1052
+ onClick={[Function]}
1053
+ onResponderGrant={[Function]}
1054
+ onResponderMove={[Function]}
1055
+ onResponderRelease={[Function]}
1056
+ onResponderTerminate={[Function]}
1057
+ onResponderTerminationRequest={[Function]}
1058
+ onStartShouldSetResponder={[Function]}
674
1059
  style={
675
- Array [
676
- Object {
1060
+ [
1061
+ {
677
1062
  "alignItems": "center",
1063
+ "backgroundColor": "#ece8ef",
1064
+ "borderRadius": 4,
1065
+ "borderWidth": 0,
678
1066
  "flexDirection": "row",
1067
+ "height": 60,
679
1068
  "justifyContent": "center",
680
- "paddingVertical": 2,
1069
+ "padding": 12,
681
1070
  },
682
- Object {},
1071
+ undefined,
683
1072
  ]
684
1073
  }
685
- testID="undefined-loading-indicator"
686
1074
  >
687
1075
  <View
688
1076
  collapsable={false}
689
1077
  style={
690
- Object {
691
- "transform": Array [
692
- Object {
693
- "scale": 1,
694
- },
695
- ],
696
- }
1078
+ [
1079
+ {
1080
+ "alignItems": "center",
1081
+ "flexDirection": "row",
1082
+ "justifyContent": "center",
1083
+ },
1084
+ {},
1085
+ ]
697
1086
  }
1087
+ testID="undefined-loading-indicator"
698
1088
  >
699
1089
  <View
700
1090
  collapsable={false}
701
- size={12}
702
1091
  style={
703
- Array [
704
- Object {
705
- "backgroundColor": "#795e90",
706
- "borderRadius": 8,
707
- "height": 12,
708
- "marginBottom": 4,
709
- "marginHorizontal": 8,
710
- "marginTop": 4,
711
- "width": 12,
712
- },
713
- Object {},
714
- ]
1092
+ {
1093
+ "transform": [
1094
+ {
1095
+ "scale": 1,
1096
+ },
1097
+ ],
1098
+ }
715
1099
  }
716
- themeVariant="text-primary"
717
- />
718
- </View>
719
- <View
720
- collapsable={false}
721
- style={
722
- Object {
723
- "transform": Array [
724
- Object {
725
- "scale": 1,
726
- },
727
- ],
728
- }
729
- }
730
- >
1100
+ >
1101
+ <View
1102
+ collapsable={false}
1103
+ size={12}
1104
+ style={
1105
+ [
1106
+ {
1107
+ "backgroundColor": "#795e90",
1108
+ "borderRadius": 8,
1109
+ "height": 12,
1110
+ "marginHorizontal": 8,
1111
+ "width": 12,
1112
+ },
1113
+ {},
1114
+ ]
1115
+ }
1116
+ themeVariant="text-primary"
1117
+ />
1118
+ </View>
731
1119
  <View
732
1120
  collapsable={false}
733
- size={12}
734
1121
  style={
735
- Array [
736
- Object {
737
- "backgroundColor": "#795e90",
738
- "borderRadius": 8,
739
- "height": 12,
740
- "marginBottom": 4,
741
- "marginHorizontal": 8,
742
- "marginTop": 4,
743
- "width": 12,
744
- },
745
- Object {},
746
- ]
1122
+ {
1123
+ "transform": [
1124
+ {
1125
+ "scale": 1,
1126
+ },
1127
+ ],
1128
+ }
747
1129
  }
748
- themeVariant="text-primary"
749
- />
750
- </View>
751
- <View
752
- collapsable={false}
753
- style={
754
- Object {
755
- "transform": Array [
756
- Object {
757
- "scale": 1,
758
- },
759
- ],
760
- }
761
- }
762
- >
1130
+ >
1131
+ <View
1132
+ collapsable={false}
1133
+ size={12}
1134
+ style={
1135
+ [
1136
+ {
1137
+ "backgroundColor": "#795e90",
1138
+ "borderRadius": 8,
1139
+ "height": 12,
1140
+ "marginHorizontal": 8,
1141
+ "width": 12,
1142
+ },
1143
+ {},
1144
+ ]
1145
+ }
1146
+ themeVariant="text-primary"
1147
+ />
1148
+ </View>
763
1149
  <View
764
1150
  collapsable={false}
765
- size={12}
766
1151
  style={
767
- Array [
768
- Object {
769
- "backgroundColor": "#795e90",
770
- "borderRadius": 8,
771
- "height": 12,
772
- "marginBottom": 4,
773
- "marginHorizontal": 8,
774
- "marginTop": 4,
775
- "width": 12,
776
- },
777
- Object {},
778
- ]
1152
+ {
1153
+ "transform": [
1154
+ {
1155
+ "scale": 1,
1156
+ },
1157
+ ],
1158
+ }
779
1159
  }
780
- themeVariant="text-primary"
781
- />
1160
+ >
1161
+ <View
1162
+ collapsable={false}
1163
+ size={12}
1164
+ style={
1165
+ [
1166
+ {
1167
+ "backgroundColor": "#795e90",
1168
+ "borderRadius": 8,
1169
+ "height": 12,
1170
+ "marginHorizontal": 8,
1171
+ "width": 12,
1172
+ },
1173
+ {},
1174
+ ]
1175
+ }
1176
+ themeVariant="text-primary"
1177
+ />
1178
+ </View>
782
1179
  </View>
783
1180
  </View>
1181
+ <View
1182
+ pointerEvents="box-none"
1183
+ position="bottom"
1184
+ style={
1185
+ [
1186
+ {
1187
+ "bottom": 0,
1188
+ "elevation": 9999,
1189
+ "flexDirection": "column-reverse",
1190
+ "left": 0,
1191
+ "paddingHorizontal": 24,
1192
+ "paddingVertical": 16,
1193
+ "position": "absolute",
1194
+ "right": 0,
1195
+ "top": 0,
1196
+ },
1197
+ undefined,
1198
+ ]
1199
+ }
1200
+ />
784
1201
  </View>
785
1202
  `;
786
1203
 
787
1204
  exports[`Button renders correctly 9`] = `
788
1205
  <View
789
- accessibilityState={
790
- Object {
791
- "disabled": true,
792
- }
793
- }
794
- accessible={true}
795
- focusable={true}
796
- onClick={[Function]}
797
- onResponderGrant={[Function]}
798
- onResponderMove={[Function]}
799
- onResponderRelease={[Function]}
800
- onResponderTerminate={[Function]}
801
- onResponderTerminationRequest={[Function]}
802
- onStartShouldSetResponder={[Function]}
803
1206
  style={
804
- Array [
805
- Object {
806
- "alignItems": "center",
807
- "backgroundColor": "transparent",
808
- "borderRadius": 4,
809
- "borderWidth": 0,
810
- "flexDirection": "row",
811
- "justifyContent": "center",
812
- "padding": 12,
813
- },
814
- undefined,
815
- ]
1207
+ {
1208
+ "flex": 1,
1209
+ }
816
1210
  }
817
1211
  >
818
- <Text
819
- allowFontScaling={false}
820
- disabled={true}
821
- ellipsizeMode="tail"
822
- numberOfLines={1}
1212
+ <View
1213
+ accessibilityState={
1214
+ {
1215
+ "disabled": true,
1216
+ }
1217
+ }
1218
+ accessibilityValue={
1219
+ {
1220
+ "max": undefined,
1221
+ "min": undefined,
1222
+ "now": undefined,
1223
+ "text": undefined,
1224
+ }
1225
+ }
1226
+ accessible={true}
1227
+ focusable={true}
1228
+ onClick={[Function]}
1229
+ onResponderGrant={[Function]}
1230
+ onResponderMove={[Function]}
1231
+ onResponderRelease={[Function]}
1232
+ onResponderTerminate={[Function]}
1233
+ onResponderTerminationRequest={[Function]}
1234
+ onStartShouldSetResponder={[Function]}
823
1235
  style={
824
- Array [
825
- Object {
826
- "color": "#001f23",
827
- "fontFamily": "BeVietnamPro-Regular",
828
- "fontSize": 14,
829
- "letterSpacing": 0.42,
830
- "lineHeight": 22,
1236
+ [
1237
+ {
1238
+ "alignItems": "center",
1239
+ "backgroundColor": "transparent",
1240
+ "borderRadius": 4,
1241
+ "borderWidth": 0,
1242
+ "flexDirection": "row",
1243
+ "height": 60,
1244
+ "justifyContent": "center",
1245
+ "padding": 12,
831
1246
  },
832
- Array [
833
- Object {
834
- "color": "#bfc1c5",
835
- "flexShrink": 1,
1247
+ undefined,
1248
+ ]
1249
+ }
1250
+ >
1251
+ <Text
1252
+ allowFontScaling={false}
1253
+ disabled={true}
1254
+ ellipsizeMode="tail"
1255
+ numberOfLines={1}
1256
+ style={
1257
+ [
1258
+ {
1259
+ "color": "#001f23",
836
1260
  "fontFamily": "BeVietnamPro-SemiBold",
837
1261
  "fontSize": 16,
838
- "textAlign": "center",
1262
+ "letterSpacing": 0.24,
1263
+ "lineHeight": 24,
839
1264
  },
840
- undefined,
841
- ],
1265
+ [
1266
+ {
1267
+ "color": "#bfc1c5",
1268
+ "flexShrink": 1,
1269
+ "lineHeight": 22,
1270
+ "textAlign": "center",
1271
+ },
1272
+ undefined,
1273
+ ],
1274
+ ]
1275
+ }
1276
+ themeButtonVariant="text-primary"
1277
+ themeIntent="body"
1278
+ themeTypeface="neutral"
1279
+ themeVariant="regular-bold"
1280
+ >
1281
+ A button
1282
+ </Text>
1283
+ </View>
1284
+ <View
1285
+ pointerEvents="box-none"
1286
+ position="bottom"
1287
+ style={
1288
+ [
1289
+ {
1290
+ "bottom": 0,
1291
+ "elevation": 9999,
1292
+ "flexDirection": "column-reverse",
1293
+ "left": 0,
1294
+ "paddingHorizontal": 24,
1295
+ "paddingVertical": 16,
1296
+ "position": "absolute",
1297
+ "right": 0,
1298
+ "top": 0,
1299
+ },
1300
+ undefined,
842
1301
  ]
843
1302
  }
844
- themeFontSize="medium"
845
- themeFontWeight="regular"
846
- themeIntent="body"
847
- themeTypeface="neutral"
848
- themeVariant="text-primary"
849
- >
850
- A button
851
- </Text>
1303
+ />
852
1304
  </View>
853
1305
  `;
854
1306
 
855
1307
  exports[`Button renders correctly 10`] = `
856
1308
  <View
857
- accessibilityState={
858
- Object {
859
- "disabled": false,
860
- }
861
- }
862
- accessible={true}
863
- focusable={true}
864
- onClick={[Function]}
865
- onResponderGrant={[Function]}
866
- onResponderMove={[Function]}
867
- onResponderRelease={[Function]}
868
- onResponderTerminate={[Function]}
869
- onResponderTerminationRequest={[Function]}
870
- onStartShouldSetResponder={[Function]}
871
1309
  style={
872
- Array [
873
- Object {
874
- "alignItems": "center",
875
- "backgroundColor": "transparent",
876
- "borderRadius": 4,
877
- "borderWidth": 0,
878
- "flexDirection": "row",
879
- "justifyContent": "center",
880
- "padding": 12,
881
- },
882
- undefined,
883
- ]
1310
+ {
1311
+ "flex": 1,
1312
+ }
884
1313
  }
885
1314
  >
886
- <Text
887
- allowFontScaling={false}
888
- disabled={false}
889
- ellipsizeMode="tail"
890
- numberOfLines={1}
1315
+ <View
1316
+ accessibilityState={
1317
+ {
1318
+ "disabled": false,
1319
+ }
1320
+ }
1321
+ accessibilityValue={
1322
+ {
1323
+ "max": undefined,
1324
+ "min": undefined,
1325
+ "now": undefined,
1326
+ "text": undefined,
1327
+ }
1328
+ }
1329
+ accessible={true}
1330
+ focusable={true}
1331
+ onClick={[Function]}
1332
+ onResponderGrant={[Function]}
1333
+ onResponderMove={[Function]}
1334
+ onResponderRelease={[Function]}
1335
+ onResponderTerminate={[Function]}
1336
+ onResponderTerminationRequest={[Function]}
1337
+ onStartShouldSetResponder={[Function]}
891
1338
  style={
892
- Array [
893
- Object {
894
- "color": "#001f23",
895
- "fontFamily": "BeVietnamPro-Regular",
896
- "fontSize": 14,
897
- "letterSpacing": 0.42,
898
- "lineHeight": 22,
1339
+ [
1340
+ {
1341
+ "alignItems": "center",
1342
+ "backgroundColor": "transparent",
1343
+ "borderRadius": 4,
1344
+ "borderWidth": 0,
1345
+ "flexDirection": "row",
1346
+ "height": 60,
1347
+ "justifyContent": "center",
1348
+ "padding": 12,
899
1349
  },
900
- Array [
901
- Object {
902
- "color": "#795e90",
903
- "flexShrink": 1,
1350
+ undefined,
1351
+ ]
1352
+ }
1353
+ >
1354
+ <Text
1355
+ allowFontScaling={false}
1356
+ disabled={false}
1357
+ ellipsizeMode="tail"
1358
+ numberOfLines={1}
1359
+ style={
1360
+ [
1361
+ {
1362
+ "color": "#001f23",
904
1363
  "fontFamily": "BeVietnamPro-SemiBold",
905
1364
  "fontSize": 16,
906
- "textAlign": "center",
1365
+ "letterSpacing": 0.24,
1366
+ "lineHeight": 24,
907
1367
  },
908
- undefined,
909
- ],
1368
+ [
1369
+ {
1370
+ "color": "#795e90",
1371
+ "flexShrink": 1,
1372
+ "lineHeight": 22,
1373
+ "textAlign": "center",
1374
+ },
1375
+ undefined,
1376
+ ],
1377
+ ]
1378
+ }
1379
+ themeButtonVariant="text-secondary"
1380
+ themeIntent="body"
1381
+ themeTypeface="neutral"
1382
+ themeVariant="regular-bold"
1383
+ >
1384
+ A button
1385
+ </Text>
1386
+ </View>
1387
+ <View
1388
+ pointerEvents="box-none"
1389
+ position="bottom"
1390
+ style={
1391
+ [
1392
+ {
1393
+ "bottom": 0,
1394
+ "elevation": 9999,
1395
+ "flexDirection": "column-reverse",
1396
+ "left": 0,
1397
+ "paddingHorizontal": 24,
1398
+ "paddingVertical": 16,
1399
+ "position": "absolute",
1400
+ "right": 0,
1401
+ "top": 0,
1402
+ },
1403
+ undefined,
910
1404
  ]
911
1405
  }
912
- themeFontSize="medium"
913
- themeFontWeight="regular"
914
- themeIntent="body"
915
- themeTypeface="neutral"
916
- themeVariant="text-secondary"
917
- >
918
- A button
919
- </Text>
1406
+ />
920
1407
  </View>
921
1408
  `;
922
1409
 
923
1410
  exports[`Button renders correctly 11`] = `
924
1411
  <View
925
- accessibilityState={
926
- Object {
927
- "disabled": true,
928
- }
929
- }
930
- accessible={true}
931
- focusable={true}
932
- onClick={[Function]}
933
- onResponderGrant={[Function]}
934
- onResponderMove={[Function]}
935
- onResponderRelease={[Function]}
936
- onResponderTerminate={[Function]}
937
- onResponderTerminationRequest={[Function]}
938
- onStartShouldSetResponder={[Function]}
939
1412
  style={
940
- Array [
941
- Object {
942
- "alignItems": "center",
943
- "backgroundColor": "#ece8ef",
944
- "borderRadius": 4,
945
- "borderWidth": 0,
946
- "flexDirection": "row",
947
- "justifyContent": "center",
948
- "padding": 12,
949
- },
950
- undefined,
951
- ]
1413
+ {
1414
+ "flex": 1,
1415
+ }
952
1416
  }
953
1417
  >
954
1418
  <View
955
- collapsable={false}
1419
+ accessibilityState={
1420
+ {
1421
+ "disabled": true,
1422
+ }
1423
+ }
1424
+ accessibilityValue={
1425
+ {
1426
+ "max": undefined,
1427
+ "min": undefined,
1428
+ "now": undefined,
1429
+ "text": undefined,
1430
+ }
1431
+ }
1432
+ accessible={true}
1433
+ focusable={true}
1434
+ onClick={[Function]}
1435
+ onResponderGrant={[Function]}
1436
+ onResponderMove={[Function]}
1437
+ onResponderRelease={[Function]}
1438
+ onResponderTerminate={[Function]}
1439
+ onResponderTerminationRequest={[Function]}
1440
+ onStartShouldSetResponder={[Function]}
956
1441
  style={
957
- Array [
958
- Object {
1442
+ [
1443
+ {
959
1444
  "alignItems": "center",
1445
+ "backgroundColor": "#ece8ef",
1446
+ "borderRadius": 4,
1447
+ "borderWidth": 0,
960
1448
  "flexDirection": "row",
1449
+ "height": 60,
961
1450
  "justifyContent": "center",
962
- "paddingVertical": 2,
1451
+ "padding": 12,
963
1452
  },
964
- Object {},
1453
+ undefined,
965
1454
  ]
966
1455
  }
967
- testID="undefined-loading-indicator"
968
1456
  >
969
1457
  <View
970
1458
  collapsable={false}
971
1459
  style={
972
- Object {
973
- "transform": Array [
974
- Object {
975
- "scale": 1,
976
- },
977
- ],
978
- }
1460
+ [
1461
+ {
1462
+ "alignItems": "center",
1463
+ "flexDirection": "row",
1464
+ "justifyContent": "center",
1465
+ },
1466
+ {},
1467
+ ]
979
1468
  }
1469
+ testID="undefined-loading-indicator"
980
1470
  >
981
1471
  <View
982
1472
  collapsable={false}
983
- size={12}
984
1473
  style={
985
- Array [
986
- Object {
987
- "backgroundColor": "#795e90",
988
- "borderRadius": 8,
989
- "height": 12,
990
- "marginBottom": 4,
991
- "marginHorizontal": 8,
992
- "marginTop": 4,
993
- "width": 12,
994
- },
995
- Object {},
996
- ]
997
- }
998
- themeVariant="text-secondary"
999
- />
1000
- </View>
1001
- <View
1002
- collapsable={false}
1003
- style={
1004
- Object {
1005
- "transform": Array [
1006
- Object {
1007
- "scale": 1,
1008
- },
1009
- ],
1474
+ {
1475
+ "transform": [
1476
+ {
1477
+ "scale": 1,
1478
+ },
1479
+ ],
1480
+ }
1010
1481
  }
1011
- }
1012
- >
1482
+ >
1483
+ <View
1484
+ collapsable={false}
1485
+ size={12}
1486
+ style={
1487
+ [
1488
+ {
1489
+ "backgroundColor": "#795e90",
1490
+ "borderRadius": 8,
1491
+ "height": 12,
1492
+ "marginHorizontal": 8,
1493
+ "width": 12,
1494
+ },
1495
+ {},
1496
+ ]
1497
+ }
1498
+ themeVariant="text-secondary"
1499
+ />
1500
+ </View>
1013
1501
  <View
1014
1502
  collapsable={false}
1015
- size={12}
1016
1503
  style={
1017
- Array [
1018
- Object {
1019
- "backgroundColor": "#795e90",
1020
- "borderRadius": 8,
1021
- "height": 12,
1022
- "marginBottom": 4,
1023
- "marginHorizontal": 8,
1024
- "marginTop": 4,
1025
- "width": 12,
1026
- },
1027
- Object {},
1028
- ]
1029
- }
1030
- themeVariant="text-secondary"
1031
- />
1032
- </View>
1033
- <View
1034
- collapsable={false}
1035
- style={
1036
- Object {
1037
- "transform": Array [
1038
- Object {
1039
- "scale": 1,
1040
- },
1041
- ],
1504
+ {
1505
+ "transform": [
1506
+ {
1507
+ "scale": 1,
1508
+ },
1509
+ ],
1510
+ }
1042
1511
  }
1043
- }
1044
- >
1512
+ >
1513
+ <View
1514
+ collapsable={false}
1515
+ size={12}
1516
+ style={
1517
+ [
1518
+ {
1519
+ "backgroundColor": "#795e90",
1520
+ "borderRadius": 8,
1521
+ "height": 12,
1522
+ "marginHorizontal": 8,
1523
+ "width": 12,
1524
+ },
1525
+ {},
1526
+ ]
1527
+ }
1528
+ themeVariant="text-secondary"
1529
+ />
1530
+ </View>
1045
1531
  <View
1046
1532
  collapsable={false}
1047
- size={12}
1048
1533
  style={
1049
- Array [
1050
- Object {
1051
- "backgroundColor": "#795e90",
1052
- "borderRadius": 8,
1053
- "height": 12,
1054
- "marginBottom": 4,
1055
- "marginHorizontal": 8,
1056
- "marginTop": 4,
1057
- "width": 12,
1058
- },
1059
- Object {},
1060
- ]
1534
+ {
1535
+ "transform": [
1536
+ {
1537
+ "scale": 1,
1538
+ },
1539
+ ],
1540
+ }
1061
1541
  }
1062
- themeVariant="text-secondary"
1063
- />
1542
+ >
1543
+ <View
1544
+ collapsable={false}
1545
+ size={12}
1546
+ style={
1547
+ [
1548
+ {
1549
+ "backgroundColor": "#795e90",
1550
+ "borderRadius": 8,
1551
+ "height": 12,
1552
+ "marginHorizontal": 8,
1553
+ "width": 12,
1554
+ },
1555
+ {},
1556
+ ]
1557
+ }
1558
+ themeVariant="text-secondary"
1559
+ />
1560
+ </View>
1064
1561
  </View>
1065
1562
  </View>
1563
+ <View
1564
+ pointerEvents="box-none"
1565
+ position="bottom"
1566
+ style={
1567
+ [
1568
+ {
1569
+ "bottom": 0,
1570
+ "elevation": 9999,
1571
+ "flexDirection": "column-reverse",
1572
+ "left": 0,
1573
+ "paddingHorizontal": 24,
1574
+ "paddingVertical": 16,
1575
+ "position": "absolute",
1576
+ "right": 0,
1577
+ "top": 0,
1578
+ },
1579
+ undefined,
1580
+ ]
1581
+ }
1582
+ />
1066
1583
  </View>
1067
1584
  `;
1068
1585
 
1069
1586
  exports[`Button renders correctly 12`] = `
1070
1587
  <View
1071
- accessibilityState={
1072
- Object {
1073
- "disabled": true,
1074
- }
1075
- }
1076
- accessible={true}
1077
- focusable={true}
1078
- onClick={[Function]}
1079
- onResponderGrant={[Function]}
1080
- onResponderMove={[Function]}
1081
- onResponderRelease={[Function]}
1082
- onResponderTerminate={[Function]}
1083
- onResponderTerminationRequest={[Function]}
1084
- onStartShouldSetResponder={[Function]}
1085
1588
  style={
1086
- Array [
1087
- Object {
1088
- "alignItems": "center",
1089
- "backgroundColor": "transparent",
1090
- "borderRadius": 4,
1091
- "borderWidth": 0,
1092
- "flexDirection": "row",
1093
- "justifyContent": "center",
1094
- "padding": 12,
1095
- },
1096
- undefined,
1097
- ]
1589
+ {
1590
+ "flex": 1,
1591
+ }
1098
1592
  }
1099
1593
  >
1100
- <Text
1101
- allowFontScaling={false}
1102
- disabled={true}
1103
- ellipsizeMode="tail"
1104
- numberOfLines={1}
1594
+ <View
1595
+ accessibilityState={
1596
+ {
1597
+ "disabled": true,
1598
+ }
1599
+ }
1600
+ accessibilityValue={
1601
+ {
1602
+ "max": undefined,
1603
+ "min": undefined,
1604
+ "now": undefined,
1605
+ "text": undefined,
1606
+ }
1607
+ }
1608
+ accessible={true}
1609
+ focusable={true}
1610
+ onClick={[Function]}
1611
+ onResponderGrant={[Function]}
1612
+ onResponderMove={[Function]}
1613
+ onResponderRelease={[Function]}
1614
+ onResponderTerminate={[Function]}
1615
+ onResponderTerminationRequest={[Function]}
1616
+ onStartShouldSetResponder={[Function]}
1105
1617
  style={
1106
- Array [
1107
- Object {
1108
- "color": "#001f23",
1109
- "fontFamily": "BeVietnamPro-Regular",
1110
- "fontSize": 14,
1111
- "letterSpacing": 0.42,
1112
- "lineHeight": 22,
1618
+ [
1619
+ {
1620
+ "alignItems": "center",
1621
+ "backgroundColor": "transparent",
1622
+ "borderRadius": 4,
1623
+ "borderWidth": 0,
1624
+ "flexDirection": "row",
1625
+ "height": 60,
1626
+ "justifyContent": "center",
1627
+ "padding": 12,
1113
1628
  },
1114
- Array [
1115
- Object {
1116
- "color": "#bfc1c5",
1117
- "flexShrink": 1,
1629
+ undefined,
1630
+ ]
1631
+ }
1632
+ >
1633
+ <Text
1634
+ allowFontScaling={false}
1635
+ disabled={true}
1636
+ ellipsizeMode="tail"
1637
+ numberOfLines={1}
1638
+ style={
1639
+ [
1640
+ {
1641
+ "color": "#001f23",
1118
1642
  "fontFamily": "BeVietnamPro-SemiBold",
1119
1643
  "fontSize": 16,
1120
- "textAlign": "center",
1644
+ "letterSpacing": 0.24,
1645
+ "lineHeight": 24,
1121
1646
  },
1122
- undefined,
1123
- ],
1647
+ [
1648
+ {
1649
+ "color": "#bfc1c5",
1650
+ "flexShrink": 1,
1651
+ "lineHeight": 22,
1652
+ "textAlign": "center",
1653
+ },
1654
+ undefined,
1655
+ ],
1656
+ ]
1657
+ }
1658
+ themeButtonVariant="text-secondary"
1659
+ themeIntent="body"
1660
+ themeTypeface="neutral"
1661
+ themeVariant="regular-bold"
1662
+ >
1663
+ A button
1664
+ </Text>
1665
+ </View>
1666
+ <View
1667
+ pointerEvents="box-none"
1668
+ position="bottom"
1669
+ style={
1670
+ [
1671
+ {
1672
+ "bottom": 0,
1673
+ "elevation": 9999,
1674
+ "flexDirection": "column-reverse",
1675
+ "left": 0,
1676
+ "paddingHorizontal": 24,
1677
+ "paddingVertical": 16,
1678
+ "position": "absolute",
1679
+ "right": 0,
1680
+ "top": 0,
1681
+ },
1682
+ undefined,
1124
1683
  ]
1125
1684
  }
1126
- themeFontSize="medium"
1127
- themeFontWeight="regular"
1128
- themeIntent="body"
1129
- themeTypeface="neutral"
1130
- themeVariant="text-secondary"
1131
- >
1132
- A button
1133
- </Text>
1685
+ />
1134
1686
  </View>
1135
1687
  `;
1136
1688
 
1137
1689
  exports[`Button renders correctly 13`] = `
1138
1690
  <View
1139
- accessibilityState={
1140
- Object {
1141
- "disabled": false,
1142
- }
1143
- }
1144
- accessible={true}
1145
- focusable={true}
1146
- onClick={[Function]}
1147
- onResponderGrant={[Function]}
1148
- onResponderMove={[Function]}
1149
- onResponderRelease={[Function]}
1150
- onResponderTerminate={[Function]}
1151
- onResponderTerminationRequest={[Function]}
1152
- onStartShouldSetResponder={[Function]}
1153
1691
  style={
1154
- Array [
1155
- Object {
1156
- "alignItems": "center",
1157
- "backgroundColor": "transparent",
1158
- "borderRadius": 4,
1159
- "borderWidth": 0,
1160
- "flexDirection": "row",
1161
- "justifyContent": "center",
1162
- "padding": 12,
1163
- },
1164
- undefined,
1165
- ]
1692
+ {
1693
+ "flex": 1,
1694
+ }
1166
1695
  }
1167
1696
  >
1168
- <Text
1169
- allowFontScaling={false}
1170
- disabled={false}
1171
- ellipsizeMode="tail"
1172
- numberOfLines={1}
1697
+ <View
1698
+ accessibilityState={
1699
+ {
1700
+ "disabled": false,
1701
+ }
1702
+ }
1703
+ accessibilityValue={
1704
+ {
1705
+ "max": undefined,
1706
+ "min": undefined,
1707
+ "now": undefined,
1708
+ "text": undefined,
1709
+ }
1710
+ }
1711
+ accessible={true}
1712
+ focusable={true}
1713
+ onClick={[Function]}
1714
+ onResponderGrant={[Function]}
1715
+ onResponderMove={[Function]}
1716
+ onResponderRelease={[Function]}
1717
+ onResponderTerminate={[Function]}
1718
+ onResponderTerminationRequest={[Function]}
1719
+ onStartShouldSetResponder={[Function]}
1173
1720
  style={
1174
- Array [
1175
- Object {
1176
- "color": "#001f23",
1177
- "fontFamily": "BeVietnamPro-Regular",
1178
- "fontSize": 14,
1179
- "letterSpacing": 0.42,
1180
- "lineHeight": 22,
1721
+ [
1722
+ {
1723
+ "alignItems": "center",
1724
+ "backgroundColor": "transparent",
1725
+ "borderRadius": 4,
1726
+ "borderWidth": 0,
1727
+ "flexDirection": "row",
1728
+ "height": 60,
1729
+ "justifyContent": "center",
1730
+ "padding": 12,
1181
1731
  },
1182
- Array [
1183
- Object {
1184
- "color": "#de350b",
1185
- "flexShrink": 1,
1732
+ undefined,
1733
+ ]
1734
+ }
1735
+ >
1736
+ <Text
1737
+ allowFontScaling={false}
1738
+ disabled={false}
1739
+ ellipsizeMode="tail"
1740
+ numberOfLines={1}
1741
+ style={
1742
+ [
1743
+ {
1744
+ "color": "#001f23",
1186
1745
  "fontFamily": "BeVietnamPro-SemiBold",
1187
1746
  "fontSize": 16,
1188
- "textAlign": "center",
1747
+ "letterSpacing": 0.24,
1748
+ "lineHeight": 24,
1189
1749
  },
1190
- undefined,
1191
- ],
1750
+ [
1751
+ {
1752
+ "color": "#cb300a",
1753
+ "flexShrink": 1,
1754
+ "lineHeight": 22,
1755
+ "textAlign": "center",
1756
+ },
1757
+ undefined,
1758
+ ],
1759
+ ]
1760
+ }
1761
+ themeButtonVariant="text-danger"
1762
+ themeIntent="body"
1763
+ themeTypeface="neutral"
1764
+ themeVariant="regular-bold"
1765
+ >
1766
+ A button
1767
+ </Text>
1768
+ </View>
1769
+ <View
1770
+ pointerEvents="box-none"
1771
+ position="bottom"
1772
+ style={
1773
+ [
1774
+ {
1775
+ "bottom": 0,
1776
+ "elevation": 9999,
1777
+ "flexDirection": "column-reverse",
1778
+ "left": 0,
1779
+ "paddingHorizontal": 24,
1780
+ "paddingVertical": 16,
1781
+ "position": "absolute",
1782
+ "right": 0,
1783
+ "top": 0,
1784
+ },
1785
+ undefined,
1192
1786
  ]
1193
1787
  }
1194
- themeFontSize="medium"
1195
- themeFontWeight="regular"
1196
- themeIntent="body"
1197
- themeTypeface="neutral"
1198
- themeVariant="text-danger"
1199
- >
1200
- A button
1201
- </Text>
1788
+ />
1202
1789
  </View>
1203
1790
  `;
1204
1791
 
1205
1792
  exports[`Button renders correctly 14`] = `
1206
1793
  <View
1207
- accessibilityState={
1208
- Object {
1209
- "disabled": true,
1210
- }
1211
- }
1212
- accessible={true}
1213
- focusable={true}
1214
- onClick={[Function]}
1215
- onResponderGrant={[Function]}
1216
- onResponderMove={[Function]}
1217
- onResponderRelease={[Function]}
1218
- onResponderTerminate={[Function]}
1219
- onResponderTerminationRequest={[Function]}
1220
- onStartShouldSetResponder={[Function]}
1221
1794
  style={
1222
- Array [
1223
- Object {
1224
- "alignItems": "center",
1225
- "backgroundColor": "#ece8ef",
1226
- "borderRadius": 4,
1227
- "borderWidth": 0,
1228
- "flexDirection": "row",
1229
- "justifyContent": "center",
1230
- "padding": 12,
1231
- },
1232
- undefined,
1233
- ]
1795
+ {
1796
+ "flex": 1,
1797
+ }
1234
1798
  }
1235
1799
  >
1236
1800
  <View
1237
- collapsable={false}
1801
+ accessibilityState={
1802
+ {
1803
+ "disabled": true,
1804
+ }
1805
+ }
1806
+ accessibilityValue={
1807
+ {
1808
+ "max": undefined,
1809
+ "min": undefined,
1810
+ "now": undefined,
1811
+ "text": undefined,
1812
+ }
1813
+ }
1814
+ accessible={true}
1815
+ focusable={true}
1816
+ onClick={[Function]}
1817
+ onResponderGrant={[Function]}
1818
+ onResponderMove={[Function]}
1819
+ onResponderRelease={[Function]}
1820
+ onResponderTerminate={[Function]}
1821
+ onResponderTerminationRequest={[Function]}
1822
+ onStartShouldSetResponder={[Function]}
1238
1823
  style={
1239
- Array [
1240
- Object {
1824
+ [
1825
+ {
1241
1826
  "alignItems": "center",
1827
+ "backgroundColor": "#ece8ef",
1828
+ "borderRadius": 4,
1829
+ "borderWidth": 0,
1242
1830
  "flexDirection": "row",
1831
+ "height": 60,
1243
1832
  "justifyContent": "center",
1244
- "paddingVertical": 2,
1833
+ "padding": 12,
1245
1834
  },
1246
- Object {},
1835
+ undefined,
1247
1836
  ]
1248
1837
  }
1249
- testID="undefined-loading-indicator"
1250
1838
  >
1251
1839
  <View
1252
1840
  collapsable={false}
1253
1841
  style={
1254
- Object {
1255
- "transform": Array [
1256
- Object {
1257
- "scale": 1,
1258
- },
1259
- ],
1260
- }
1842
+ [
1843
+ {
1844
+ "alignItems": "center",
1845
+ "flexDirection": "row",
1846
+ "justifyContent": "center",
1847
+ },
1848
+ {},
1849
+ ]
1261
1850
  }
1851
+ testID="undefined-loading-indicator"
1262
1852
  >
1263
1853
  <View
1264
1854
  collapsable={false}
1265
- size={12}
1266
1855
  style={
1267
- Array [
1268
- Object {
1269
- "backgroundColor": "#de350b",
1270
- "borderRadius": 8,
1271
- "height": 12,
1272
- "marginBottom": 4,
1273
- "marginHorizontal": 8,
1274
- "marginTop": 4,
1275
- "width": 12,
1276
- },
1277
- Object {},
1278
- ]
1279
- }
1280
- themeVariant="text-danger"
1281
- />
1282
- </View>
1283
- <View
1284
- collapsable={false}
1285
- style={
1286
- Object {
1287
- "transform": Array [
1288
- Object {
1289
- "scale": 1,
1290
- },
1291
- ],
1856
+ {
1857
+ "transform": [
1858
+ {
1859
+ "scale": 1,
1860
+ },
1861
+ ],
1862
+ }
1292
1863
  }
1293
- }
1294
- >
1864
+ >
1865
+ <View
1866
+ collapsable={false}
1867
+ size={12}
1868
+ style={
1869
+ [
1870
+ {
1871
+ "backgroundColor": "#cb300a",
1872
+ "borderRadius": 8,
1873
+ "height": 12,
1874
+ "marginHorizontal": 8,
1875
+ "width": 12,
1876
+ },
1877
+ {},
1878
+ ]
1879
+ }
1880
+ themeVariant="text-danger"
1881
+ />
1882
+ </View>
1295
1883
  <View
1296
1884
  collapsable={false}
1297
- size={12}
1298
1885
  style={
1299
- Array [
1300
- Object {
1301
- "backgroundColor": "#de350b",
1302
- "borderRadius": 8,
1303
- "height": 12,
1304
- "marginBottom": 4,
1305
- "marginHorizontal": 8,
1306
- "marginTop": 4,
1307
- "width": 12,
1308
- },
1309
- Object {},
1310
- ]
1311
- }
1312
- themeVariant="text-danger"
1313
- />
1314
- </View>
1315
- <View
1316
- collapsable={false}
1317
- style={
1318
- Object {
1319
- "transform": Array [
1320
- Object {
1321
- "scale": 1,
1322
- },
1323
- ],
1886
+ {
1887
+ "transform": [
1888
+ {
1889
+ "scale": 1,
1890
+ },
1891
+ ],
1892
+ }
1324
1893
  }
1325
- }
1326
- >
1894
+ >
1895
+ <View
1896
+ collapsable={false}
1897
+ size={12}
1898
+ style={
1899
+ [
1900
+ {
1901
+ "backgroundColor": "#cb300a",
1902
+ "borderRadius": 8,
1903
+ "height": 12,
1904
+ "marginHorizontal": 8,
1905
+ "width": 12,
1906
+ },
1907
+ {},
1908
+ ]
1909
+ }
1910
+ themeVariant="text-danger"
1911
+ />
1912
+ </View>
1327
1913
  <View
1328
1914
  collapsable={false}
1329
- size={12}
1330
1915
  style={
1331
- Array [
1332
- Object {
1333
- "backgroundColor": "#de350b",
1334
- "borderRadius": 8,
1335
- "height": 12,
1336
- "marginBottom": 4,
1337
- "marginHorizontal": 8,
1338
- "marginTop": 4,
1339
- "width": 12,
1340
- },
1341
- Object {},
1342
- ]
1916
+ {
1917
+ "transform": [
1918
+ {
1919
+ "scale": 1,
1920
+ },
1921
+ ],
1922
+ }
1343
1923
  }
1344
- themeVariant="text-danger"
1345
- />
1924
+ >
1925
+ <View
1926
+ collapsable={false}
1927
+ size={12}
1928
+ style={
1929
+ [
1930
+ {
1931
+ "backgroundColor": "#cb300a",
1932
+ "borderRadius": 8,
1933
+ "height": 12,
1934
+ "marginHorizontal": 8,
1935
+ "width": 12,
1936
+ },
1937
+ {},
1938
+ ]
1939
+ }
1940
+ themeVariant="text-danger"
1941
+ />
1942
+ </View>
1346
1943
  </View>
1347
1944
  </View>
1945
+ <View
1946
+ pointerEvents="box-none"
1947
+ position="bottom"
1948
+ style={
1949
+ [
1950
+ {
1951
+ "bottom": 0,
1952
+ "elevation": 9999,
1953
+ "flexDirection": "column-reverse",
1954
+ "left": 0,
1955
+ "paddingHorizontal": 24,
1956
+ "paddingVertical": 16,
1957
+ "position": "absolute",
1958
+ "right": 0,
1959
+ "top": 0,
1960
+ },
1961
+ undefined,
1962
+ ]
1963
+ }
1964
+ />
1348
1965
  </View>
1349
1966
  `;
1350
1967
 
1351
1968
  exports[`Button renders correctly 15`] = `
1352
1969
  <View
1353
- accessibilityState={
1354
- Object {
1355
- "disabled": true,
1356
- }
1357
- }
1358
- accessible={true}
1359
- focusable={true}
1360
- onClick={[Function]}
1361
- onResponderGrant={[Function]}
1362
- onResponderMove={[Function]}
1363
- onResponderRelease={[Function]}
1364
- onResponderTerminate={[Function]}
1365
- onResponderTerminationRequest={[Function]}
1366
- onStartShouldSetResponder={[Function]}
1367
1970
  style={
1368
- Array [
1369
- Object {
1370
- "alignItems": "center",
1371
- "backgroundColor": "transparent",
1372
- "borderRadius": 4,
1373
- "borderWidth": 0,
1374
- "flexDirection": "row",
1375
- "justifyContent": "center",
1376
- "padding": 12,
1377
- },
1378
- undefined,
1379
- ]
1971
+ {
1972
+ "flex": 1,
1973
+ }
1380
1974
  }
1381
1975
  >
1382
- <Text
1383
- allowFontScaling={false}
1384
- disabled={true}
1385
- ellipsizeMode="tail"
1386
- numberOfLines={1}
1976
+ <View
1977
+ accessibilityState={
1978
+ {
1979
+ "disabled": true,
1980
+ }
1981
+ }
1982
+ accessibilityValue={
1983
+ {
1984
+ "max": undefined,
1985
+ "min": undefined,
1986
+ "now": undefined,
1987
+ "text": undefined,
1988
+ }
1989
+ }
1990
+ accessible={true}
1991
+ focusable={true}
1992
+ onClick={[Function]}
1993
+ onResponderGrant={[Function]}
1994
+ onResponderMove={[Function]}
1995
+ onResponderRelease={[Function]}
1996
+ onResponderTerminate={[Function]}
1997
+ onResponderTerminationRequest={[Function]}
1998
+ onStartShouldSetResponder={[Function]}
1387
1999
  style={
1388
- Array [
1389
- Object {
1390
- "color": "#001f23",
1391
- "fontFamily": "BeVietnamPro-Regular",
1392
- "fontSize": 14,
1393
- "letterSpacing": 0.42,
1394
- "lineHeight": 22,
2000
+ [
2001
+ {
2002
+ "alignItems": "center",
2003
+ "backgroundColor": "transparent",
2004
+ "borderRadius": 4,
2005
+ "borderWidth": 0,
2006
+ "flexDirection": "row",
2007
+ "height": 60,
2008
+ "justifyContent": "center",
2009
+ "padding": 12,
1395
2010
  },
1396
- Array [
1397
- Object {
1398
- "color": "#bfc1c5",
1399
- "flexShrink": 1,
2011
+ undefined,
2012
+ ]
2013
+ }
2014
+ >
2015
+ <Text
2016
+ allowFontScaling={false}
2017
+ disabled={true}
2018
+ ellipsizeMode="tail"
2019
+ numberOfLines={1}
2020
+ style={
2021
+ [
2022
+ {
2023
+ "color": "#001f23",
1400
2024
  "fontFamily": "BeVietnamPro-SemiBold",
1401
2025
  "fontSize": 16,
1402
- "textAlign": "center",
2026
+ "letterSpacing": 0.24,
2027
+ "lineHeight": 24,
1403
2028
  },
1404
- undefined,
1405
- ],
2029
+ [
2030
+ {
2031
+ "color": "#bfc1c5",
2032
+ "flexShrink": 1,
2033
+ "lineHeight": 22,
2034
+ "textAlign": "center",
2035
+ },
2036
+ undefined,
2037
+ ],
2038
+ ]
2039
+ }
2040
+ themeButtonVariant="text-danger"
2041
+ themeIntent="body"
2042
+ themeTypeface="neutral"
2043
+ themeVariant="regular-bold"
2044
+ >
2045
+ A button
2046
+ </Text>
2047
+ </View>
2048
+ <View
2049
+ pointerEvents="box-none"
2050
+ position="bottom"
2051
+ style={
2052
+ [
2053
+ {
2054
+ "bottom": 0,
2055
+ "elevation": 9999,
2056
+ "flexDirection": "column-reverse",
2057
+ "left": 0,
2058
+ "paddingHorizontal": 24,
2059
+ "paddingVertical": 16,
2060
+ "position": "absolute",
2061
+ "right": 0,
2062
+ "top": 0,
2063
+ },
2064
+ undefined,
1406
2065
  ]
1407
2066
  }
1408
- themeFontSize="medium"
1409
- themeFontWeight="regular"
1410
- themeIntent="body"
1411
- themeTypeface="neutral"
1412
- themeVariant="text-danger"
1413
- >
1414
- A button
1415
- </Text>
2067
+ />
1416
2068
  </View>
1417
2069
  `;
1418
2070
 
1419
2071
  exports[`Button renders loading icon 1`] = `
1420
2072
  <View
1421
- accessibilityState={
1422
- Object {
1423
- "disabled": true,
1424
- }
1425
- }
1426
- accessible={true}
1427
- focusable={true}
1428
- onClick={[Function]}
1429
- onResponderGrant={[Function]}
1430
- onResponderMove={[Function]}
1431
- onResponderRelease={[Function]}
1432
- onResponderTerminate={[Function]}
1433
- onResponderTerminationRequest={[Function]}
1434
- onStartShouldSetResponder={[Function]}
1435
2073
  style={
1436
- Array [
1437
- Object {
1438
- "alignItems": "center",
1439
- "alignSelf": "stretch",
1440
- "backgroundColor": "#401960",
1441
- "borderRadius": 32,
1442
- "flexDirection": "row",
1443
- "justifyContent": "center",
1444
- "padding": 16,
1445
- },
1446
- undefined,
1447
- ]
2074
+ {
2075
+ "flex": 1,
2076
+ }
1448
2077
  }
1449
- testID="button"
1450
2078
  >
1451
2079
  <View
1452
- collapsable={false}
2080
+ accessibilityState={
2081
+ {
2082
+ "disabled": true,
2083
+ }
2084
+ }
2085
+ accessibilityValue={
2086
+ {
2087
+ "max": undefined,
2088
+ "min": undefined,
2089
+ "now": undefined,
2090
+ "text": undefined,
2091
+ }
2092
+ }
2093
+ accessible={true}
2094
+ focusable={true}
2095
+ onClick={[Function]}
2096
+ onResponderGrant={[Function]}
2097
+ onResponderMove={[Function]}
2098
+ onResponderRelease={[Function]}
2099
+ onResponderTerminate={[Function]}
2100
+ onResponderTerminationRequest={[Function]}
2101
+ onStartShouldSetResponder={[Function]}
1453
2102
  style={
1454
- Array [
1455
- Object {
2103
+ [
2104
+ {
1456
2105
  "alignItems": "center",
2106
+ "alignSelf": "stretch",
2107
+ "backgroundColor": "#401960",
2108
+ "borderRadius": 32,
1457
2109
  "flexDirection": "row",
2110
+ "height": 60,
1458
2111
  "justifyContent": "center",
1459
- "paddingVertical": 2,
2112
+ "padding": 16,
1460
2113
  },
1461
- Object {},
2114
+ undefined,
1462
2115
  ]
1463
2116
  }
1464
- testID="button-loading-indicator"
2117
+ testID="button"
1465
2118
  >
1466
2119
  <View
1467
2120
  collapsable={false}
1468
2121
  style={
1469
- Object {
1470
- "transform": Array [
1471
- Object {
1472
- "scale": 1,
1473
- },
1474
- ],
1475
- }
2122
+ [
2123
+ {
2124
+ "alignItems": "center",
2125
+ "flexDirection": "row",
2126
+ "justifyContent": "center",
2127
+ },
2128
+ {},
2129
+ ]
1476
2130
  }
2131
+ testID="button-loading-indicator"
1477
2132
  >
1478
2133
  <View
1479
2134
  collapsable={false}
1480
- size={12}
1481
2135
  style={
1482
- Array [
1483
- Object {
1484
- "backgroundColor": "#ffffff",
1485
- "borderRadius": 8,
1486
- "height": 12,
1487
- "marginBottom": 4,
1488
- "marginHorizontal": 8,
1489
- "marginTop": 4,
1490
- "width": 12,
1491
- },
1492
- Object {},
1493
- ]
1494
- }
1495
- themeVariant="filled-primary"
1496
- />
1497
- </View>
1498
- <View
1499
- collapsable={false}
1500
- style={
1501
- Object {
1502
- "transform": Array [
1503
- Object {
1504
- "scale": 1,
1505
- },
1506
- ],
2136
+ {
2137
+ "transform": [
2138
+ {
2139
+ "scale": 1,
2140
+ },
2141
+ ],
2142
+ }
1507
2143
  }
1508
- }
1509
- >
2144
+ >
2145
+ <View
2146
+ collapsable={false}
2147
+ size={12}
2148
+ style={
2149
+ [
2150
+ {
2151
+ "backgroundColor": "#ffffff",
2152
+ "borderRadius": 8,
2153
+ "height": 12,
2154
+ "marginHorizontal": 8,
2155
+ "width": 12,
2156
+ },
2157
+ {},
2158
+ ]
2159
+ }
2160
+ themeVariant="filled-primary"
2161
+ />
2162
+ </View>
1510
2163
  <View
1511
2164
  collapsable={false}
1512
- size={12}
1513
2165
  style={
1514
- Array [
1515
- Object {
1516
- "backgroundColor": "#ffffff",
1517
- "borderRadius": 8,
1518
- "height": 12,
1519
- "marginBottom": 4,
1520
- "marginHorizontal": 8,
1521
- "marginTop": 4,
1522
- "width": 12,
1523
- },
1524
- Object {},
1525
- ]
1526
- }
1527
- themeVariant="filled-primary"
1528
- />
1529
- </View>
1530
- <View
1531
- collapsable={false}
1532
- style={
1533
- Object {
1534
- "transform": Array [
1535
- Object {
1536
- "scale": 1,
1537
- },
1538
- ],
2166
+ {
2167
+ "transform": [
2168
+ {
2169
+ "scale": 1,
2170
+ },
2171
+ ],
2172
+ }
1539
2173
  }
1540
- }
1541
- >
2174
+ >
2175
+ <View
2176
+ collapsable={false}
2177
+ size={12}
2178
+ style={
2179
+ [
2180
+ {
2181
+ "backgroundColor": "#ffffff",
2182
+ "borderRadius": 8,
2183
+ "height": 12,
2184
+ "marginHorizontal": 8,
2185
+ "width": 12,
2186
+ },
2187
+ {},
2188
+ ]
2189
+ }
2190
+ themeVariant="filled-primary"
2191
+ />
2192
+ </View>
1542
2193
  <View
1543
2194
  collapsable={false}
1544
- size={12}
1545
2195
  style={
1546
- Array [
1547
- Object {
1548
- "backgroundColor": "#ffffff",
1549
- "borderRadius": 8,
1550
- "height": 12,
1551
- "marginBottom": 4,
1552
- "marginHorizontal": 8,
1553
- "marginTop": 4,
1554
- "width": 12,
1555
- },
1556
- Object {},
1557
- ]
2196
+ {
2197
+ "transform": [
2198
+ {
2199
+ "scale": 1,
2200
+ },
2201
+ ],
2202
+ }
1558
2203
  }
1559
- themeVariant="filled-primary"
1560
- />
2204
+ >
2205
+ <View
2206
+ collapsable={false}
2207
+ size={12}
2208
+ style={
2209
+ [
2210
+ {
2211
+ "backgroundColor": "#ffffff",
2212
+ "borderRadius": 8,
2213
+ "height": 12,
2214
+ "marginHorizontal": 8,
2215
+ "width": 12,
2216
+ },
2217
+ {},
2218
+ ]
2219
+ }
2220
+ themeVariant="filled-primary"
2221
+ />
2222
+ </View>
1561
2223
  </View>
1562
2224
  </View>
2225
+ <View
2226
+ pointerEvents="box-none"
2227
+ position="bottom"
2228
+ style={
2229
+ [
2230
+ {
2231
+ "bottom": 0,
2232
+ "elevation": 9999,
2233
+ "flexDirection": "column-reverse",
2234
+ "left": 0,
2235
+ "paddingHorizontal": 24,
2236
+ "paddingVertical": 16,
2237
+ "position": "absolute",
2238
+ "right": 0,
2239
+ "top": 0,
2240
+ },
2241
+ undefined,
2242
+ ]
2243
+ }
2244
+ />
1563
2245
  </View>
1564
2246
  `;