@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
@@ -3,938 +3,1206 @@
3
3
  exports[`Alert Icon render custom icon correctly 1`] = `
4
4
  <View
5
5
  style={
6
- Array [
7
- Object {
8
- "backgroundColor": "#b5c3fd",
9
- "borderRadius": 16,
10
- "flexDirection": "row",
11
- "minHeight": 48,
12
- },
13
- undefined,
14
- ]
6
+ {
7
+ "flex": 1,
8
+ }
15
9
  }
16
- themeIntent="info"
17
- themeVariant="rounded"
18
10
  >
19
11
  <View
20
- showDivider={false}
21
12
  style={
22
- Array [
23
- Object {
24
- "borderColor": "#e8e9ea",
25
- "borderRightWidth": 0,
26
- "flex": 1,
13
+ [
14
+ {
15
+ "backgroundColor": "#b5c3fd",
16
+ "borderRadius": 16,
27
17
  "flexDirection": "row",
28
- "paddingVertical": 12,
18
+ "minHeight": 48,
29
19
  },
30
20
  undefined,
31
21
  ]
32
22
  }
23
+ themeIntent="info"
24
+ themeVariant="rounded"
33
25
  >
34
26
  <View
27
+ showDivider={false}
35
28
  style={
36
- Array [
37
- Object {
38
- "alignItems": "center",
39
- "paddingLeft": 12,
29
+ [
30
+ {
31
+ "borderColor": "#e8e9ea",
32
+ "borderRightWidth": 0,
33
+ "flex": 1,
34
+ "flexDirection": "row",
35
+ "paddingVertical": 12,
40
36
  },
41
37
  undefined,
42
38
  ]
43
39
  }
44
- testID="alert-left-icon"
45
40
  >
46
- <HeroIcon
47
- name="home"
41
+ <View
48
42
  style={
49
- Array [
50
- Object {
51
- "color": "#001f23",
52
- "fontSize": 20,
43
+ [
44
+ {
45
+ "alignItems": "center",
46
+ "paddingLeft": 12,
53
47
  },
54
48
  undefined,
55
49
  ]
56
50
  }
57
- themeIntent="text"
58
- themeSize="small"
59
- />
60
- </View>
61
- <View
62
- style={
63
- Array [
64
- Object {
65
- "flex": 1,
66
- "paddingHorizontal": 12,
67
- },
68
- undefined,
69
- ]
70
- }
71
- >
72
- <Text
73
- allowFontScaling={false}
51
+ testID="alert-left-icon"
52
+ >
53
+ <HeroIcon
54
+ name="home"
55
+ style={
56
+ [
57
+ {
58
+ "color": "#001f23",
59
+ "fontSize": 20,
60
+ },
61
+ undefined,
62
+ ]
63
+ }
64
+ themeIntent="text"
65
+ themeSize="small"
66
+ />
67
+ </View>
68
+ <View
74
69
  style={
75
- Array [
76
- Object {
77
- "color": "#001f23",
78
- "fontFamily": "BeVietnamPro-Regular",
79
- "fontSize": 14,
80
- "letterSpacing": 0.42,
81
- "lineHeight": 22,
70
+ [
71
+ {
72
+ "flex": 1,
73
+ "paddingHorizontal": 12,
82
74
  },
83
75
  undefined,
84
76
  ]
85
77
  }
86
- themeFontSize="medium"
87
- themeFontWeight="regular"
88
- themeIntent="body"
89
- themeTypeface="neutral"
90
78
  >
91
- Content
92
- </Text>
79
+ <Text
80
+ allowFontScaling={false}
81
+ style={
82
+ [
83
+ {
84
+ "color": "#001f23",
85
+ "fontFamily": "BeVietnamPro-Regular",
86
+ "fontSize": 14,
87
+ "letterSpacing": 0.48,
88
+ "lineHeight": 22,
89
+ },
90
+ undefined,
91
+ ]
92
+ }
93
+ themeIntent="body"
94
+ themeTypeface="neutral"
95
+ themeVariant="small"
96
+ >
97
+ Content
98
+ </Text>
99
+ </View>
93
100
  </View>
94
101
  </View>
102
+ <View
103
+ pointerEvents="box-none"
104
+ position="bottom"
105
+ style={
106
+ [
107
+ {
108
+ "bottom": 0,
109
+ "elevation": 9999,
110
+ "flexDirection": "column-reverse",
111
+ "left": 0,
112
+ "paddingHorizontal": 24,
113
+ "paddingVertical": 16,
114
+ "position": "absolute",
115
+ "right": 0,
116
+ "top": 0,
117
+ },
118
+ undefined,
119
+ ]
120
+ }
121
+ />
95
122
  </View>
96
123
  `;
97
124
 
98
125
  exports[`Alert renders correctly when intent is error 1`] = `
99
126
  <View
100
127
  style={
101
- Array [
102
- Object {
103
- "backgroundColor": "#f46363",
104
- "borderRadius": 16,
105
- "flexDirection": "row",
106
- "minHeight": 48,
107
- },
108
- undefined,
109
- ]
128
+ {
129
+ "flex": 1,
130
+ }
110
131
  }
111
- themeIntent="error"
112
- themeVariant="rounded"
113
132
  >
114
133
  <View
115
- showDivider={true}
116
134
  style={
117
- Array [
118
- Object {
119
- "borderColor": "#e8e9ea",
120
- "borderRightWidth": 1,
121
- "flex": 1,
135
+ [
136
+ {
137
+ "backgroundColor": "#f46363",
138
+ "borderRadius": 16,
122
139
  "flexDirection": "row",
123
- "paddingVertical": 12,
140
+ "minHeight": 48,
124
141
  },
125
142
  undefined,
126
143
  ]
127
144
  }
145
+ themeIntent="error"
146
+ themeVariant="rounded"
128
147
  >
129
148
  <View
149
+ showDivider={true}
130
150
  style={
131
- Array [
132
- Object {
133
- "alignItems": "center",
134
- "paddingLeft": 12,
151
+ [
152
+ {
153
+ "borderColor": "#e8e9ea",
154
+ "borderRightWidth": 1,
155
+ "flex": 1,
156
+ "flexDirection": "row",
157
+ "paddingVertical": 12,
135
158
  },
136
159
  undefined,
137
160
  ]
138
161
  }
139
- testID="alert-left-icon"
140
162
  >
141
- <HeroIcon
142
- name="circle-warning"
163
+ <View
143
164
  style={
144
- Array [
145
- Object {
146
- "color": "#001f23",
147
- "fontSize": 20,
165
+ [
166
+ {
167
+ "alignItems": "center",
168
+ "paddingLeft": 12,
148
169
  },
149
170
  undefined,
150
171
  ]
151
172
  }
152
- themeIntent="text"
153
- themeSize="small"
154
- />
155
- </View>
156
- <View
157
- style={
158
- Array [
159
- Object {
160
- "flex": 1,
161
- "paddingHorizontal": 12,
162
- },
163
- undefined,
164
- ]
165
- }
166
- >
167
- <Text
168
- allowFontScaling={false}
173
+ testID="alert-left-icon"
174
+ >
175
+ <HeroIcon
176
+ name="circle-warning"
177
+ style={
178
+ [
179
+ {
180
+ "color": "#001f23",
181
+ "fontSize": 20,
182
+ },
183
+ undefined,
184
+ ]
185
+ }
186
+ themeIntent="text"
187
+ themeSize="small"
188
+ />
189
+ </View>
190
+ <View
169
191
  style={
170
- Array [
171
- Object {
172
- "color": "#001f23",
173
- "fontFamily": "BeVietnamPro-SemiBold",
174
- "fontSize": 14,
175
- "letterSpacing": 0.42,
176
- "lineHeight": 22,
192
+ [
193
+ {
194
+ "flex": 1,
195
+ "paddingHorizontal": 12,
177
196
  },
178
197
  undefined,
179
198
  ]
180
199
  }
181
- themeFontSize="medium"
182
- themeFontWeight="semi-bold"
183
- themeIntent="body"
184
- themeTypeface="neutral"
185
200
  >
186
- Title
187
- </Text>
188
- <Text
189
- allowFontScaling={false}
201
+ <Text
202
+ allowFontScaling={false}
203
+ style={
204
+ [
205
+ {
206
+ "color": "#001f23",
207
+ "fontFamily": "BeVietnamPro-SemiBold",
208
+ "fontSize": 14,
209
+ "letterSpacing": 0.24,
210
+ "lineHeight": 22,
211
+ },
212
+ undefined,
213
+ ]
214
+ }
215
+ themeIntent="body"
216
+ themeTypeface="neutral"
217
+ themeVariant="small-bold"
218
+ >
219
+ Title
220
+ </Text>
221
+ <Text
222
+ allowFontScaling={false}
223
+ style={
224
+ [
225
+ {
226
+ "color": "#001f23",
227
+ "fontFamily": "BeVietnamPro-Regular",
228
+ "fontSize": 14,
229
+ "letterSpacing": 0.48,
230
+ "lineHeight": 22,
231
+ },
232
+ undefined,
233
+ ]
234
+ }
235
+ themeIntent="body"
236
+ themeTypeface="neutral"
237
+ themeVariant="small"
238
+ >
239
+ Content
240
+ </Text>
241
+ </View>
242
+ </View>
243
+ <View
244
+ accessibilityState={
245
+ {
246
+ "busy": undefined,
247
+ "checked": undefined,
248
+ "disabled": undefined,
249
+ "expanded": undefined,
250
+ "selected": undefined,
251
+ }
252
+ }
253
+ accessibilityValue={
254
+ {
255
+ "max": undefined,
256
+ "min": undefined,
257
+ "now": undefined,
258
+ "text": undefined,
259
+ }
260
+ }
261
+ accessible={true}
262
+ collapsable={false}
263
+ focusable={true}
264
+ onClick={[Function]}
265
+ onResponderGrant={[Function]}
266
+ onResponderMove={[Function]}
267
+ onResponderRelease={[Function]}
268
+ onResponderTerminate={[Function]}
269
+ onResponderTerminationRequest={[Function]}
270
+ onStartShouldSetResponder={[Function]}
271
+ style={
272
+ {
273
+ "justifyContent": "center",
274
+ "opacity": 1,
275
+ "paddingHorizontal": 12,
276
+ }
277
+ }
278
+ testID="alert-close-icon"
279
+ >
280
+ <HeroIcon
281
+ name="cancel"
190
282
  style={
191
- Array [
192
- Object {
283
+ [
284
+ {
193
285
  "color": "#001f23",
194
- "fontFamily": "BeVietnamPro-Regular",
195
- "fontSize": 14,
196
- "letterSpacing": 0.42,
197
- "lineHeight": 22,
286
+ "fontSize": 20,
198
287
  },
199
288
  undefined,
200
289
  ]
201
290
  }
202
- themeFontSize="medium"
203
- themeFontWeight="regular"
204
- themeIntent="body"
205
- themeTypeface="neutral"
206
- >
207
- Content
208
- </Text>
291
+ themeIntent="text"
292
+ themeSize="small"
293
+ />
209
294
  </View>
210
295
  </View>
211
296
  <View
212
- accessible={true}
213
- collapsable={false}
214
- focusable={true}
215
- onClick={[Function]}
216
- onResponderGrant={[Function]}
217
- onResponderMove={[Function]}
218
- onResponderRelease={[Function]}
219
- onResponderTerminate={[Function]}
220
- onResponderTerminationRequest={[Function]}
221
- onStartShouldSetResponder={[Function]}
297
+ pointerEvents="box-none"
298
+ position="bottom"
222
299
  style={
223
- Object {
224
- "justifyContent": "center",
225
- "opacity": 1,
226
- "paddingHorizontal": 12,
227
- }
300
+ [
301
+ {
302
+ "bottom": 0,
303
+ "elevation": 9999,
304
+ "flexDirection": "column-reverse",
305
+ "left": 0,
306
+ "paddingHorizontal": 24,
307
+ "paddingVertical": 16,
308
+ "position": "absolute",
309
+ "right": 0,
310
+ "top": 0,
311
+ },
312
+ undefined,
313
+ ]
228
314
  }
229
- testID="alert-close-icon"
230
- >
231
- <HeroIcon
232
- name="cancel"
233
- style={
234
- Array [
235
- Object {
236
- "color": "#001f23",
237
- "fontSize": 20,
238
- },
239
- undefined,
240
- ]
241
- }
242
- themeIntent="text"
243
- themeSize="small"
244
- />
245
- </View>
315
+ />
246
316
  </View>
247
317
  `;
248
318
 
249
319
  exports[`Alert renders correctly when intent is info 1`] = `
250
320
  <View
251
321
  style={
252
- Array [
253
- Object {
254
- "backgroundColor": "#b5c3fd",
255
- "borderRadius": 16,
256
- "flexDirection": "row",
257
- "minHeight": 48,
258
- },
259
- undefined,
260
- ]
322
+ {
323
+ "flex": 1,
324
+ }
261
325
  }
262
- themeIntent="info"
263
- themeVariant="rounded"
264
326
  >
265
327
  <View
266
- showDivider={true}
267
328
  style={
268
- Array [
269
- Object {
270
- "borderColor": "#e8e9ea",
271
- "borderRightWidth": 1,
272
- "flex": 1,
329
+ [
330
+ {
331
+ "backgroundColor": "#b5c3fd",
332
+ "borderRadius": 16,
273
333
  "flexDirection": "row",
274
- "paddingVertical": 12,
334
+ "minHeight": 48,
275
335
  },
276
336
  undefined,
277
337
  ]
278
338
  }
339
+ themeIntent="info"
340
+ themeVariant="rounded"
279
341
  >
280
342
  <View
343
+ showDivider={true}
281
344
  style={
282
- Array [
283
- Object {
284
- "alignItems": "center",
285
- "paddingLeft": 12,
345
+ [
346
+ {
347
+ "borderColor": "#e8e9ea",
348
+ "borderRightWidth": 1,
349
+ "flex": 1,
350
+ "flexDirection": "row",
351
+ "paddingVertical": 12,
286
352
  },
287
353
  undefined,
288
354
  ]
289
355
  }
290
- testID="alert-left-icon"
291
356
  >
292
- <HeroIcon
293
- name="circle-info"
357
+ <View
294
358
  style={
295
- Array [
296
- Object {
297
- "color": "#001f23",
298
- "fontSize": 20,
359
+ [
360
+ {
361
+ "alignItems": "center",
362
+ "paddingLeft": 12,
299
363
  },
300
364
  undefined,
301
365
  ]
302
366
  }
303
- themeIntent="text"
304
- themeSize="small"
305
- />
306
- </View>
307
- <View
308
- style={
309
- Array [
310
- Object {
311
- "flex": 1,
312
- "paddingHorizontal": 12,
313
- },
314
- undefined,
315
- ]
316
- }
317
- >
318
- <Text
319
- allowFontScaling={false}
367
+ testID="alert-left-icon"
368
+ >
369
+ <HeroIcon
370
+ name="circle-info"
371
+ style={
372
+ [
373
+ {
374
+ "color": "#001f23",
375
+ "fontSize": 20,
376
+ },
377
+ undefined,
378
+ ]
379
+ }
380
+ themeIntent="text"
381
+ themeSize="small"
382
+ />
383
+ </View>
384
+ <View
320
385
  style={
321
- Array [
322
- Object {
323
- "color": "#001f23",
324
- "fontFamily": "BeVietnamPro-SemiBold",
325
- "fontSize": 14,
326
- "letterSpacing": 0.42,
327
- "lineHeight": 22,
386
+ [
387
+ {
388
+ "flex": 1,
389
+ "paddingHorizontal": 12,
328
390
  },
329
391
  undefined,
330
392
  ]
331
393
  }
332
- themeFontSize="medium"
333
- themeFontWeight="semi-bold"
334
- themeIntent="body"
335
- themeTypeface="neutral"
336
394
  >
337
- Title
338
- </Text>
339
- <Text
340
- allowFontScaling={false}
395
+ <Text
396
+ allowFontScaling={false}
397
+ style={
398
+ [
399
+ {
400
+ "color": "#001f23",
401
+ "fontFamily": "BeVietnamPro-SemiBold",
402
+ "fontSize": 14,
403
+ "letterSpacing": 0.24,
404
+ "lineHeight": 22,
405
+ },
406
+ undefined,
407
+ ]
408
+ }
409
+ themeIntent="body"
410
+ themeTypeface="neutral"
411
+ themeVariant="small-bold"
412
+ >
413
+ Title
414
+ </Text>
415
+ <Text
416
+ allowFontScaling={false}
417
+ style={
418
+ [
419
+ {
420
+ "color": "#001f23",
421
+ "fontFamily": "BeVietnamPro-Regular",
422
+ "fontSize": 14,
423
+ "letterSpacing": 0.48,
424
+ "lineHeight": 22,
425
+ },
426
+ undefined,
427
+ ]
428
+ }
429
+ themeIntent="body"
430
+ themeTypeface="neutral"
431
+ themeVariant="small"
432
+ >
433
+ Content
434
+ </Text>
435
+ </View>
436
+ </View>
437
+ <View
438
+ accessibilityState={
439
+ {
440
+ "busy": undefined,
441
+ "checked": undefined,
442
+ "disabled": undefined,
443
+ "expanded": undefined,
444
+ "selected": undefined,
445
+ }
446
+ }
447
+ accessibilityValue={
448
+ {
449
+ "max": undefined,
450
+ "min": undefined,
451
+ "now": undefined,
452
+ "text": undefined,
453
+ }
454
+ }
455
+ accessible={true}
456
+ collapsable={false}
457
+ focusable={true}
458
+ onClick={[Function]}
459
+ onResponderGrant={[Function]}
460
+ onResponderMove={[Function]}
461
+ onResponderRelease={[Function]}
462
+ onResponderTerminate={[Function]}
463
+ onResponderTerminationRequest={[Function]}
464
+ onStartShouldSetResponder={[Function]}
465
+ style={
466
+ {
467
+ "justifyContent": "center",
468
+ "opacity": 1,
469
+ "paddingHorizontal": 12,
470
+ }
471
+ }
472
+ testID="alert-close-icon"
473
+ >
474
+ <HeroIcon
475
+ name="cancel"
341
476
  style={
342
- Array [
343
- Object {
477
+ [
478
+ {
344
479
  "color": "#001f23",
345
- "fontFamily": "BeVietnamPro-Regular",
346
- "fontSize": 14,
347
- "letterSpacing": 0.42,
348
- "lineHeight": 22,
480
+ "fontSize": 20,
349
481
  },
350
482
  undefined,
351
483
  ]
352
484
  }
353
- themeFontSize="medium"
354
- themeFontWeight="regular"
355
- themeIntent="body"
356
- themeTypeface="neutral"
357
- >
358
- Content
359
- </Text>
485
+ themeIntent="text"
486
+ themeSize="small"
487
+ />
360
488
  </View>
361
489
  </View>
362
490
  <View
363
- accessible={true}
364
- collapsable={false}
365
- focusable={true}
366
- onClick={[Function]}
367
- onResponderGrant={[Function]}
368
- onResponderMove={[Function]}
369
- onResponderRelease={[Function]}
370
- onResponderTerminate={[Function]}
371
- onResponderTerminationRequest={[Function]}
372
- onStartShouldSetResponder={[Function]}
491
+ pointerEvents="box-none"
492
+ position="bottom"
373
493
  style={
374
- Object {
375
- "justifyContent": "center",
376
- "opacity": 1,
377
- "paddingHorizontal": 12,
378
- }
494
+ [
495
+ {
496
+ "bottom": 0,
497
+ "elevation": 9999,
498
+ "flexDirection": "column-reverse",
499
+ "left": 0,
500
+ "paddingHorizontal": 24,
501
+ "paddingVertical": 16,
502
+ "position": "absolute",
503
+ "right": 0,
504
+ "top": 0,
505
+ },
506
+ undefined,
507
+ ]
379
508
  }
380
- testID="alert-close-icon"
381
- >
382
- <HeroIcon
383
- name="cancel"
384
- style={
385
- Array [
386
- Object {
387
- "color": "#001f23",
388
- "fontSize": 20,
389
- },
390
- undefined,
391
- ]
392
- }
393
- themeIntent="text"
394
- themeSize="small"
395
- />
396
- </View>
509
+ />
397
510
  </View>
398
511
  `;
399
512
 
400
513
  exports[`Alert renders correctly when intent is notification 1`] = `
401
514
  <View
402
515
  style={
403
- Array [
404
- Object {
405
- "backgroundColor": "#ffffff",
406
- "borderRadius": 16,
407
- "flexDirection": "row",
408
- "minHeight": 48,
409
- },
410
- undefined,
411
- ]
516
+ {
517
+ "flex": 1,
518
+ }
412
519
  }
413
- themeIntent="notification"
414
- themeVariant="rounded"
415
520
  >
416
521
  <View
417
- showDivider={true}
418
522
  style={
419
- Array [
420
- Object {
421
- "borderColor": "#e8e9ea",
422
- "borderRightWidth": 1,
423
- "flex": 1,
523
+ [
524
+ {
525
+ "backgroundColor": "#ffffff",
526
+ "borderRadius": 16,
424
527
  "flexDirection": "row",
425
- "paddingVertical": 12,
528
+ "minHeight": 48,
426
529
  },
427
530
  undefined,
428
531
  ]
429
532
  }
533
+ themeIntent="notification"
534
+ themeVariant="rounded"
430
535
  >
431
536
  <View
537
+ showDivider={true}
432
538
  style={
433
- Array [
434
- Object {
539
+ [
540
+ {
541
+ "borderColor": "#e8e9ea",
542
+ "borderRightWidth": 1,
435
543
  "flex": 1,
436
- "paddingHorizontal": 12,
544
+ "flexDirection": "row",
545
+ "paddingVertical": 12,
437
546
  },
438
547
  undefined,
439
548
  ]
440
549
  }
441
550
  >
442
- <Text
443
- allowFontScaling={false}
551
+ <View
444
552
  style={
445
- Array [
446
- Object {
447
- "color": "#001f23",
448
- "fontFamily": "BeVietnamPro-SemiBold",
449
- "fontSize": 14,
450
- "letterSpacing": 0.42,
451
- "lineHeight": 22,
553
+ [
554
+ {
555
+ "flex": 1,
556
+ "paddingHorizontal": 12,
452
557
  },
453
558
  undefined,
454
559
  ]
455
560
  }
456
- themeFontSize="medium"
457
- themeFontWeight="semi-bold"
458
- themeIntent="body"
459
- themeTypeface="neutral"
460
561
  >
461
- Title
462
- </Text>
463
- <Text
464
- allowFontScaling={false}
562
+ <Text
563
+ allowFontScaling={false}
564
+ style={
565
+ [
566
+ {
567
+ "color": "#001f23",
568
+ "fontFamily": "BeVietnamPro-SemiBold",
569
+ "fontSize": 14,
570
+ "letterSpacing": 0.24,
571
+ "lineHeight": 22,
572
+ },
573
+ undefined,
574
+ ]
575
+ }
576
+ themeIntent="body"
577
+ themeTypeface="neutral"
578
+ themeVariant="small-bold"
579
+ >
580
+ Title
581
+ </Text>
582
+ <Text
583
+ allowFontScaling={false}
584
+ style={
585
+ [
586
+ {
587
+ "color": "#001f23",
588
+ "fontFamily": "BeVietnamPro-Regular",
589
+ "fontSize": 14,
590
+ "letterSpacing": 0.48,
591
+ "lineHeight": 22,
592
+ },
593
+ undefined,
594
+ ]
595
+ }
596
+ themeIntent="body"
597
+ themeTypeface="neutral"
598
+ themeVariant="small"
599
+ >
600
+ Content
601
+ </Text>
602
+ </View>
603
+ </View>
604
+ <View
605
+ accessibilityState={
606
+ {
607
+ "busy": undefined,
608
+ "checked": undefined,
609
+ "disabled": undefined,
610
+ "expanded": undefined,
611
+ "selected": undefined,
612
+ }
613
+ }
614
+ accessibilityValue={
615
+ {
616
+ "max": undefined,
617
+ "min": undefined,
618
+ "now": undefined,
619
+ "text": undefined,
620
+ }
621
+ }
622
+ accessible={true}
623
+ collapsable={false}
624
+ focusable={true}
625
+ onClick={[Function]}
626
+ onResponderGrant={[Function]}
627
+ onResponderMove={[Function]}
628
+ onResponderRelease={[Function]}
629
+ onResponderTerminate={[Function]}
630
+ onResponderTerminationRequest={[Function]}
631
+ onStartShouldSetResponder={[Function]}
632
+ style={
633
+ {
634
+ "justifyContent": "center",
635
+ "opacity": 1,
636
+ "paddingHorizontal": 12,
637
+ }
638
+ }
639
+ testID="alert-close-icon"
640
+ >
641
+ <HeroIcon
642
+ name="cancel"
465
643
  style={
466
- Array [
467
- Object {
644
+ [
645
+ {
468
646
  "color": "#001f23",
469
- "fontFamily": "BeVietnamPro-Regular",
470
- "fontSize": 14,
471
- "letterSpacing": 0.42,
472
- "lineHeight": 22,
647
+ "fontSize": 20,
473
648
  },
474
649
  undefined,
475
650
  ]
476
651
  }
477
- themeFontSize="medium"
478
- themeFontWeight="regular"
479
- themeIntent="body"
480
- themeTypeface="neutral"
481
- >
482
- Content
483
- </Text>
652
+ themeIntent="text"
653
+ themeSize="small"
654
+ />
484
655
  </View>
485
656
  </View>
486
657
  <View
487
- accessible={true}
488
- collapsable={false}
489
- focusable={true}
490
- onClick={[Function]}
491
- onResponderGrant={[Function]}
492
- onResponderMove={[Function]}
493
- onResponderRelease={[Function]}
494
- onResponderTerminate={[Function]}
495
- onResponderTerminationRequest={[Function]}
496
- onStartShouldSetResponder={[Function]}
658
+ pointerEvents="box-none"
659
+ position="bottom"
497
660
  style={
498
- Object {
499
- "justifyContent": "center",
500
- "opacity": 1,
501
- "paddingHorizontal": 12,
502
- }
661
+ [
662
+ {
663
+ "bottom": 0,
664
+ "elevation": 9999,
665
+ "flexDirection": "column-reverse",
666
+ "left": 0,
667
+ "paddingHorizontal": 24,
668
+ "paddingVertical": 16,
669
+ "position": "absolute",
670
+ "right": 0,
671
+ "top": 0,
672
+ },
673
+ undefined,
674
+ ]
503
675
  }
504
- testID="alert-close-icon"
505
- >
506
- <HeroIcon
507
- name="cancel"
508
- style={
509
- Array [
510
- Object {
511
- "color": "#001f23",
512
- "fontSize": 20,
513
- },
514
- undefined,
515
- ]
516
- }
517
- themeIntent="text"
518
- themeSize="small"
519
- />
520
- </View>
676
+ />
521
677
  </View>
522
678
  `;
523
679
 
524
680
  exports[`Alert renders correctly when intent is success 1`] = `
525
681
  <View
526
682
  style={
527
- Array [
528
- Object {
529
- "backgroundColor": "#5ace7d",
530
- "borderRadius": 16,
531
- "flexDirection": "row",
532
- "minHeight": 48,
533
- },
534
- undefined,
535
- ]
683
+ {
684
+ "flex": 1,
685
+ }
536
686
  }
537
- themeIntent="success"
538
- themeVariant="rounded"
539
687
  >
540
688
  <View
541
- showDivider={true}
542
689
  style={
543
- Array [
544
- Object {
545
- "borderColor": "#e8e9ea",
546
- "borderRightWidth": 1,
547
- "flex": 1,
690
+ [
691
+ {
692
+ "backgroundColor": "#5ace7d",
693
+ "borderRadius": 16,
548
694
  "flexDirection": "row",
549
- "paddingVertical": 12,
695
+ "minHeight": 48,
550
696
  },
551
697
  undefined,
552
698
  ]
553
699
  }
700
+ themeIntent="success"
701
+ themeVariant="rounded"
554
702
  >
555
703
  <View
704
+ showDivider={true}
556
705
  style={
557
- Array [
558
- Object {
559
- "alignItems": "center",
560
- "paddingLeft": 12,
706
+ [
707
+ {
708
+ "borderColor": "#e8e9ea",
709
+ "borderRightWidth": 1,
710
+ "flex": 1,
711
+ "flexDirection": "row",
712
+ "paddingVertical": 12,
561
713
  },
562
714
  undefined,
563
715
  ]
564
716
  }
565
- testID="alert-left-icon"
566
717
  >
567
- <HeroIcon
568
- name="circle-ok"
718
+ <View
569
719
  style={
570
- Array [
571
- Object {
572
- "color": "#001f23",
573
- "fontSize": 20,
720
+ [
721
+ {
722
+ "alignItems": "center",
723
+ "paddingLeft": 12,
574
724
  },
575
725
  undefined,
576
726
  ]
577
727
  }
578
- themeIntent="text"
579
- themeSize="small"
580
- />
581
- </View>
582
- <View
583
- style={
584
- Array [
585
- Object {
586
- "flex": 1,
587
- "paddingHorizontal": 12,
588
- },
589
- undefined,
590
- ]
591
- }
592
- >
593
- <Text
594
- allowFontScaling={false}
728
+ testID="alert-left-icon"
729
+ >
730
+ <HeroIcon
731
+ name="circle-ok"
732
+ style={
733
+ [
734
+ {
735
+ "color": "#001f23",
736
+ "fontSize": 20,
737
+ },
738
+ undefined,
739
+ ]
740
+ }
741
+ themeIntent="text"
742
+ themeSize="small"
743
+ />
744
+ </View>
745
+ <View
595
746
  style={
596
- Array [
597
- Object {
598
- "color": "#001f23",
599
- "fontFamily": "BeVietnamPro-SemiBold",
600
- "fontSize": 14,
601
- "letterSpacing": 0.42,
602
- "lineHeight": 22,
747
+ [
748
+ {
749
+ "flex": 1,
750
+ "paddingHorizontal": 12,
603
751
  },
604
752
  undefined,
605
753
  ]
606
754
  }
607
- themeFontSize="medium"
608
- themeFontWeight="semi-bold"
609
- themeIntent="body"
610
- themeTypeface="neutral"
611
755
  >
612
- Title
613
- </Text>
614
- <Text
615
- allowFontScaling={false}
756
+ <Text
757
+ allowFontScaling={false}
758
+ style={
759
+ [
760
+ {
761
+ "color": "#001f23",
762
+ "fontFamily": "BeVietnamPro-SemiBold",
763
+ "fontSize": 14,
764
+ "letterSpacing": 0.24,
765
+ "lineHeight": 22,
766
+ },
767
+ undefined,
768
+ ]
769
+ }
770
+ themeIntent="body"
771
+ themeTypeface="neutral"
772
+ themeVariant="small-bold"
773
+ >
774
+ Title
775
+ </Text>
776
+ <Text
777
+ allowFontScaling={false}
778
+ style={
779
+ [
780
+ {
781
+ "color": "#001f23",
782
+ "fontFamily": "BeVietnamPro-Regular",
783
+ "fontSize": 14,
784
+ "letterSpacing": 0.48,
785
+ "lineHeight": 22,
786
+ },
787
+ undefined,
788
+ ]
789
+ }
790
+ themeIntent="body"
791
+ themeTypeface="neutral"
792
+ themeVariant="small"
793
+ >
794
+ Content
795
+ </Text>
796
+ </View>
797
+ </View>
798
+ <View
799
+ accessibilityState={
800
+ {
801
+ "busy": undefined,
802
+ "checked": undefined,
803
+ "disabled": undefined,
804
+ "expanded": undefined,
805
+ "selected": undefined,
806
+ }
807
+ }
808
+ accessibilityValue={
809
+ {
810
+ "max": undefined,
811
+ "min": undefined,
812
+ "now": undefined,
813
+ "text": undefined,
814
+ }
815
+ }
816
+ accessible={true}
817
+ collapsable={false}
818
+ focusable={true}
819
+ onClick={[Function]}
820
+ onResponderGrant={[Function]}
821
+ onResponderMove={[Function]}
822
+ onResponderRelease={[Function]}
823
+ onResponderTerminate={[Function]}
824
+ onResponderTerminationRequest={[Function]}
825
+ onStartShouldSetResponder={[Function]}
826
+ style={
827
+ {
828
+ "justifyContent": "center",
829
+ "opacity": 1,
830
+ "paddingHorizontal": 12,
831
+ }
832
+ }
833
+ testID="alert-close-icon"
834
+ >
835
+ <HeroIcon
836
+ name="cancel"
616
837
  style={
617
- Array [
618
- Object {
838
+ [
839
+ {
619
840
  "color": "#001f23",
620
- "fontFamily": "BeVietnamPro-Regular",
621
- "fontSize": 14,
622
- "letterSpacing": 0.42,
623
- "lineHeight": 22,
841
+ "fontSize": 20,
624
842
  },
625
843
  undefined,
626
844
  ]
627
845
  }
628
- themeFontSize="medium"
629
- themeFontWeight="regular"
630
- themeIntent="body"
631
- themeTypeface="neutral"
632
- >
633
- Content
634
- </Text>
846
+ themeIntent="text"
847
+ themeSize="small"
848
+ />
635
849
  </View>
636
850
  </View>
637
851
  <View
638
- accessible={true}
639
- collapsable={false}
640
- focusable={true}
641
- onClick={[Function]}
642
- onResponderGrant={[Function]}
643
- onResponderMove={[Function]}
644
- onResponderRelease={[Function]}
645
- onResponderTerminate={[Function]}
646
- onResponderTerminationRequest={[Function]}
647
- onStartShouldSetResponder={[Function]}
852
+ pointerEvents="box-none"
853
+ position="bottom"
648
854
  style={
649
- Object {
650
- "justifyContent": "center",
651
- "opacity": 1,
652
- "paddingHorizontal": 12,
653
- }
855
+ [
856
+ {
857
+ "bottom": 0,
858
+ "elevation": 9999,
859
+ "flexDirection": "column-reverse",
860
+ "left": 0,
861
+ "paddingHorizontal": 24,
862
+ "paddingVertical": 16,
863
+ "position": "absolute",
864
+ "right": 0,
865
+ "top": 0,
866
+ },
867
+ undefined,
868
+ ]
654
869
  }
655
- testID="alert-close-icon"
656
- >
657
- <HeroIcon
658
- name="cancel"
659
- style={
660
- Array [
661
- Object {
662
- "color": "#001f23",
663
- "fontSize": 20,
664
- },
665
- undefined,
666
- ]
667
- }
668
- themeIntent="text"
669
- themeSize="small"
670
- />
671
- </View>
870
+ />
672
871
  </View>
673
872
  `;
674
873
 
675
874
  exports[`Alert renders correctly when intent is warning 1`] = `
676
875
  <View
677
876
  style={
678
- Array [
679
- Object {
680
- "backgroundColor": "#ffbe71",
681
- "borderRadius": 16,
682
- "flexDirection": "row",
683
- "minHeight": 48,
684
- },
685
- undefined,
686
- ]
877
+ {
878
+ "flex": 1,
879
+ }
687
880
  }
688
- themeIntent="warning"
689
- themeVariant="rounded"
690
881
  >
691
882
  <View
692
- showDivider={true}
693
883
  style={
694
- Array [
695
- Object {
696
- "borderColor": "#e8e9ea",
697
- "borderRightWidth": 1,
698
- "flex": 1,
884
+ [
885
+ {
886
+ "backgroundColor": "#ffbe71",
887
+ "borderRadius": 16,
699
888
  "flexDirection": "row",
700
- "paddingVertical": 12,
889
+ "minHeight": 48,
701
890
  },
702
891
  undefined,
703
892
  ]
704
893
  }
894
+ themeIntent="warning"
895
+ themeVariant="rounded"
705
896
  >
706
897
  <View
898
+ showDivider={true}
707
899
  style={
708
- Array [
709
- Object {
710
- "alignItems": "center",
711
- "paddingLeft": 12,
900
+ [
901
+ {
902
+ "borderColor": "#e8e9ea",
903
+ "borderRightWidth": 1,
904
+ "flex": 1,
905
+ "flexDirection": "row",
906
+ "paddingVertical": 12,
712
907
  },
713
908
  undefined,
714
909
  ]
715
910
  }
716
- testID="alert-left-icon"
717
911
  >
718
- <HeroIcon
719
- name="warning"
912
+ <View
720
913
  style={
721
- Array [
722
- Object {
723
- "color": "#001f23",
724
- "fontSize": 20,
914
+ [
915
+ {
916
+ "alignItems": "center",
917
+ "paddingLeft": 12,
725
918
  },
726
919
  undefined,
727
920
  ]
728
921
  }
729
- themeIntent="text"
730
- themeSize="small"
731
- />
732
- </View>
733
- <View
734
- style={
735
- Array [
736
- Object {
737
- "flex": 1,
738
- "paddingHorizontal": 12,
739
- },
740
- undefined,
741
- ]
742
- }
743
- >
744
- <Text
745
- allowFontScaling={false}
922
+ testID="alert-left-icon"
923
+ >
924
+ <HeroIcon
925
+ name="warning"
926
+ style={
927
+ [
928
+ {
929
+ "color": "#001f23",
930
+ "fontSize": 20,
931
+ },
932
+ undefined,
933
+ ]
934
+ }
935
+ themeIntent="text"
936
+ themeSize="small"
937
+ />
938
+ </View>
939
+ <View
746
940
  style={
747
- Array [
748
- Object {
749
- "color": "#001f23",
750
- "fontFamily": "BeVietnamPro-SemiBold",
751
- "fontSize": 14,
752
- "letterSpacing": 0.42,
753
- "lineHeight": 22,
941
+ [
942
+ {
943
+ "flex": 1,
944
+ "paddingHorizontal": 12,
754
945
  },
755
946
  undefined,
756
947
  ]
757
948
  }
758
- themeFontSize="medium"
759
- themeFontWeight="semi-bold"
760
- themeIntent="body"
761
- themeTypeface="neutral"
762
949
  >
763
- Title
764
- </Text>
765
- <Text
766
- allowFontScaling={false}
950
+ <Text
951
+ allowFontScaling={false}
952
+ style={
953
+ [
954
+ {
955
+ "color": "#001f23",
956
+ "fontFamily": "BeVietnamPro-SemiBold",
957
+ "fontSize": 14,
958
+ "letterSpacing": 0.24,
959
+ "lineHeight": 22,
960
+ },
961
+ undefined,
962
+ ]
963
+ }
964
+ themeIntent="body"
965
+ themeTypeface="neutral"
966
+ themeVariant="small-bold"
967
+ >
968
+ Title
969
+ </Text>
970
+ <Text
971
+ allowFontScaling={false}
972
+ style={
973
+ [
974
+ {
975
+ "color": "#001f23",
976
+ "fontFamily": "BeVietnamPro-Regular",
977
+ "fontSize": 14,
978
+ "letterSpacing": 0.48,
979
+ "lineHeight": 22,
980
+ },
981
+ undefined,
982
+ ]
983
+ }
984
+ themeIntent="body"
985
+ themeTypeface="neutral"
986
+ themeVariant="small"
987
+ >
988
+ Content
989
+ </Text>
990
+ </View>
991
+ </View>
992
+ <View
993
+ accessibilityState={
994
+ {
995
+ "busy": undefined,
996
+ "checked": undefined,
997
+ "disabled": undefined,
998
+ "expanded": undefined,
999
+ "selected": undefined,
1000
+ }
1001
+ }
1002
+ accessibilityValue={
1003
+ {
1004
+ "max": undefined,
1005
+ "min": undefined,
1006
+ "now": undefined,
1007
+ "text": undefined,
1008
+ }
1009
+ }
1010
+ accessible={true}
1011
+ collapsable={false}
1012
+ focusable={true}
1013
+ onClick={[Function]}
1014
+ onResponderGrant={[Function]}
1015
+ onResponderMove={[Function]}
1016
+ onResponderRelease={[Function]}
1017
+ onResponderTerminate={[Function]}
1018
+ onResponderTerminationRequest={[Function]}
1019
+ onStartShouldSetResponder={[Function]}
1020
+ style={
1021
+ {
1022
+ "justifyContent": "center",
1023
+ "opacity": 1,
1024
+ "paddingHorizontal": 12,
1025
+ }
1026
+ }
1027
+ testID="alert-close-icon"
1028
+ >
1029
+ <HeroIcon
1030
+ name="cancel"
767
1031
  style={
768
- Array [
769
- Object {
1032
+ [
1033
+ {
770
1034
  "color": "#001f23",
771
- "fontFamily": "BeVietnamPro-Regular",
772
- "fontSize": 14,
773
- "letterSpacing": 0.42,
774
- "lineHeight": 22,
1035
+ "fontSize": 20,
775
1036
  },
776
1037
  undefined,
777
1038
  ]
778
1039
  }
779
- themeFontSize="medium"
780
- themeFontWeight="regular"
781
- themeIntent="body"
782
- themeTypeface="neutral"
783
- >
784
- Content
785
- </Text>
1040
+ themeIntent="text"
1041
+ themeSize="small"
1042
+ />
786
1043
  </View>
787
1044
  </View>
788
1045
  <View
789
- accessible={true}
790
- collapsable={false}
791
- focusable={true}
792
- onClick={[Function]}
793
- onResponderGrant={[Function]}
794
- onResponderMove={[Function]}
795
- onResponderRelease={[Function]}
796
- onResponderTerminate={[Function]}
797
- onResponderTerminationRequest={[Function]}
798
- onStartShouldSetResponder={[Function]}
1046
+ pointerEvents="box-none"
1047
+ position="bottom"
799
1048
  style={
800
- Object {
801
- "justifyContent": "center",
802
- "opacity": 1,
803
- "paddingHorizontal": 12,
804
- }
1049
+ [
1050
+ {
1051
+ "bottom": 0,
1052
+ "elevation": 9999,
1053
+ "flexDirection": "column-reverse",
1054
+ "left": 0,
1055
+ "paddingHorizontal": 24,
1056
+ "paddingVertical": 16,
1057
+ "position": "absolute",
1058
+ "right": 0,
1059
+ "top": 0,
1060
+ },
1061
+ undefined,
1062
+ ]
805
1063
  }
806
- testID="alert-close-icon"
807
- >
808
- <HeroIcon
809
- name="cancel"
810
- style={
811
- Array [
812
- Object {
813
- "color": "#001f23",
814
- "fontSize": 20,
815
- },
816
- undefined,
817
- ]
818
- }
819
- themeIntent="text"
820
- themeSize="small"
821
- />
822
- </View>
1064
+ />
823
1065
  </View>
824
1066
  `;
825
1067
 
826
1068
  exports[`Alert renders correctly without rounded 1`] = `
827
1069
  <View
828
1070
  style={
829
- Array [
830
- Object {
831
- "backgroundColor": "#b5c3fd",
832
- "borderRadius": 0,
833
- "flexDirection": "row",
834
- "minHeight": 48,
835
- },
836
- undefined,
837
- ]
1071
+ {
1072
+ "flex": 1,
1073
+ }
838
1074
  }
839
- themeIntent="info"
840
- themeVariant="unrounded"
841
1075
  >
842
1076
  <View
843
- showDivider={false}
844
1077
  style={
845
- Array [
846
- Object {
847
- "borderColor": "#e8e9ea",
848
- "borderRightWidth": 0,
849
- "flex": 1,
1078
+ [
1079
+ {
1080
+ "backgroundColor": "#b5c3fd",
1081
+ "borderRadius": 0,
850
1082
  "flexDirection": "row",
851
- "paddingVertical": 12,
1083
+ "minHeight": 48,
852
1084
  },
853
1085
  undefined,
854
1086
  ]
855
1087
  }
1088
+ themeIntent="info"
1089
+ themeVariant="unrounded"
856
1090
  >
857
1091
  <View
1092
+ showDivider={false}
858
1093
  style={
859
- Array [
860
- Object {
861
- "alignItems": "center",
862
- "paddingLeft": 12,
863
- },
864
- undefined,
865
- ]
866
- }
867
- testID="alert-left-icon"
868
- >
869
- <HeroIcon
870
- name="circle-info"
871
- style={
872
- Array [
873
- Object {
874
- "color": "#001f23",
875
- "fontSize": 20,
876
- },
877
- undefined,
878
- ]
879
- }
880
- themeIntent="text"
881
- themeSize="small"
882
- />
883
- </View>
884
- <View
885
- style={
886
- Array [
887
- Object {
1094
+ [
1095
+ {
1096
+ "borderColor": "#e8e9ea",
1097
+ "borderRightWidth": 0,
888
1098
  "flex": 1,
889
- "paddingHorizontal": 12,
1099
+ "flexDirection": "row",
1100
+ "paddingVertical": 12,
890
1101
  },
891
1102
  undefined,
892
1103
  ]
893
1104
  }
894
1105
  >
895
- <Text
896
- allowFontScaling={false}
1106
+ <View
897
1107
  style={
898
- Array [
899
- Object {
900
- "color": "#001f23",
901
- "fontFamily": "BeVietnamPro-SemiBold",
902
- "fontSize": 14,
903
- "letterSpacing": 0.42,
904
- "lineHeight": 22,
1108
+ [
1109
+ {
1110
+ "alignItems": "center",
1111
+ "paddingLeft": 12,
905
1112
  },
906
1113
  undefined,
907
1114
  ]
908
1115
  }
909
- themeFontSize="medium"
910
- themeFontWeight="semi-bold"
911
- themeIntent="body"
912
- themeTypeface="neutral"
1116
+ testID="alert-left-icon"
913
1117
  >
914
- Title
915
- </Text>
916
- <Text
917
- allowFontScaling={false}
1118
+ <HeroIcon
1119
+ name="circle-info"
1120
+ style={
1121
+ [
1122
+ {
1123
+ "color": "#001f23",
1124
+ "fontSize": 20,
1125
+ },
1126
+ undefined,
1127
+ ]
1128
+ }
1129
+ themeIntent="text"
1130
+ themeSize="small"
1131
+ />
1132
+ </View>
1133
+ <View
918
1134
  style={
919
- Array [
920
- Object {
921
- "color": "#001f23",
922
- "fontFamily": "BeVietnamPro-Regular",
923
- "fontSize": 14,
924
- "letterSpacing": 0.42,
925
- "lineHeight": 22,
1135
+ [
1136
+ {
1137
+ "flex": 1,
1138
+ "paddingHorizontal": 12,
926
1139
  },
927
1140
  undefined,
928
1141
  ]
929
1142
  }
930
- themeFontSize="medium"
931
- themeFontWeight="regular"
932
- themeIntent="body"
933
- themeTypeface="neutral"
934
1143
  >
935
- Content
936
- </Text>
1144
+ <Text
1145
+ allowFontScaling={false}
1146
+ style={
1147
+ [
1148
+ {
1149
+ "color": "#001f23",
1150
+ "fontFamily": "BeVietnamPro-SemiBold",
1151
+ "fontSize": 14,
1152
+ "letterSpacing": 0.24,
1153
+ "lineHeight": 22,
1154
+ },
1155
+ undefined,
1156
+ ]
1157
+ }
1158
+ themeIntent="body"
1159
+ themeTypeface="neutral"
1160
+ themeVariant="small-bold"
1161
+ >
1162
+ Title
1163
+ </Text>
1164
+ <Text
1165
+ allowFontScaling={false}
1166
+ style={
1167
+ [
1168
+ {
1169
+ "color": "#001f23",
1170
+ "fontFamily": "BeVietnamPro-Regular",
1171
+ "fontSize": 14,
1172
+ "letterSpacing": 0.48,
1173
+ "lineHeight": 22,
1174
+ },
1175
+ undefined,
1176
+ ]
1177
+ }
1178
+ themeIntent="body"
1179
+ themeTypeface="neutral"
1180
+ themeVariant="small"
1181
+ >
1182
+ Content
1183
+ </Text>
1184
+ </View>
937
1185
  </View>
938
1186
  </View>
1187
+ <View
1188
+ pointerEvents="box-none"
1189
+ position="bottom"
1190
+ style={
1191
+ [
1192
+ {
1193
+ "bottom": 0,
1194
+ "elevation": 9999,
1195
+ "flexDirection": "column-reverse",
1196
+ "left": 0,
1197
+ "paddingHorizontal": 24,
1198
+ "paddingVertical": 16,
1199
+ "position": "absolute",
1200
+ "right": 0,
1201
+ "top": 0,
1202
+ },
1203
+ undefined,
1204
+ ]
1205
+ }
1206
+ />
939
1207
  </View>
940
1208
  `;