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