@hero-design/rn 8.12.4 → 8.12.5-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 (326) hide show
  1. package/.turbo/turbo-build.log +9 -9
  2. package/.turbo/turbo-build:types.log +2 -0
  3. package/.turbo/turbo-lint.log +149 -0
  4. package/.turbo/turbo-publish:npm.log +9 -0
  5. package/es/index.js +53 -58
  6. package/lib/index.js +53 -58
  7. package/package.json +5 -5
  8. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +0 -8
  9. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +0 -12
  10. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +0 -13
  11. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
  12. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +4 -21
  13. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +36 -189
  14. package/src/components/Avatar/StyledAvatar.tsx +4 -11
  15. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +4 -21
  16. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +8 -42
  17. package/src/components/Badge/StyledBadge.tsx +2 -4
  18. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +42 -132
  19. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +0 -1
  20. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
  21. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
  22. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
  23. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +0 -10
  24. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +0 -10
  25. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +0 -5
  26. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +0 -6
  27. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +0 -2
  28. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +0 -16
  29. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
  30. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +0 -1
  31. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
  32. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +0 -2
  33. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +0 -4
  34. package/src/components/Empty/StyledEmpty.tsx +13 -14
  35. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +20 -76
  36. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +16 -56
  37. package/src/components/FAB/StyledFAB.tsx +2 -3
  38. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +0 -1
  39. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +8 -22
  40. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +0 -4
  41. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +8 -53
  42. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +0 -4
  43. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +0 -4
  44. package/src/components/PinInput/StyledPinInput.tsx +3 -6
  45. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +18 -93
  46. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +13 -73
  47. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +0 -3
  48. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +0 -2
  49. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +0 -3
  50. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +0 -4
  51. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +1 -23
  52. package/src/components/SectionHeading/__tests__/index.spec.tsx +2 -2
  53. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +0 -1
  54. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +0 -20
  55. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +0 -38
  56. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +0 -1
  57. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +0 -20
  58. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +0 -35
  59. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +0 -3
  60. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
  61. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +0 -1
  62. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
  63. package/src/components/Tabs/ScrollableTabs.tsx +208 -167
  64. package/src/components/Tabs/__tests__/ScrollableTabs.spec.tsx +58 -11
  65. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +7 -24
  66. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +7 -22
  67. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +7 -27
  68. package/src/components/Tag/StyledTag.tsx +2 -3
  69. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +62 -167
  70. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +0 -22
  71. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +0 -51
  72. package/src/components/TextInput/index.tsx +0 -2
  73. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +0 -5
  74. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +0 -7
  75. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +0 -13
  76. package/src/components/Typography/Text/index.tsx +0 -2
  77. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +0 -17
  78. package/src/theme/components/avatar.ts +1 -11
  79. package/src/theme/components/badge.ts +1 -5
  80. package/src/theme/components/pinInput.ts +1 -14
  81. package/src/types.ts +2 -0
  82. package/types/components/Accordion/AccordionItem.d.ts +0 -0
  83. package/types/components/Accordion/StyledAccordion.d.ts +0 -0
  84. package/types/components/Accordion/index.d.ts +0 -0
  85. package/types/components/Alert/StyledAlert.d.ts +0 -0
  86. package/types/components/Alert/index.d.ts +0 -0
  87. package/types/components/Attachment/StyledAttachment.d.ts +0 -0
  88. package/types/components/Attachment/index.d.ts +0 -0
  89. package/types/components/Avatar/Avatar.d.ts +0 -0
  90. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
  91. package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
  92. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  93. package/types/components/Avatar/StyledAvatar.d.ts +5 -4
  94. package/types/components/Avatar/index.d.ts +0 -0
  95. package/types/components/Badge/Status.d.ts +0 -0
  96. package/types/components/Badge/StyledBadge.d.ts +5 -3
  97. package/types/components/Badge/index.d.ts +0 -0
  98. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
  99. package/types/components/BottomNavigation/index.d.ts +0 -0
  100. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -0
  101. package/types/components/BottomSheet/Footer.d.ts +0 -0
  102. package/types/components/BottomSheet/Header.d.ts +0 -0
  103. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  104. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
  105. package/types/components/BottomSheet/index.d.ts +0 -0
  106. package/types/components/Box/StyledBox.d.ts +0 -0
  107. package/types/components/Box/config.d.ts +0 -0
  108. package/types/components/Box/index.d.ts +0 -0
  109. package/types/components/Box/types.d.ts +0 -0
  110. package/types/components/Button/Button.d.ts +0 -0
  111. package/types/components/Button/IconButton.d.ts +0 -0
  112. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  113. package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
  114. package/types/components/Button/StyledButton.d.ts +0 -0
  115. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
  116. package/types/components/Button/UtilityButton/index.d.ts +0 -0
  117. package/types/components/Button/index.d.ts +0 -0
  118. package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
  119. package/types/components/Calendar/StyledCalendar.d.ts +0 -0
  120. package/types/components/Calendar/helpers.d.ts +0 -0
  121. package/types/components/Calendar/index.d.ts +0 -0
  122. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
  123. package/types/components/Card/DataCard/index.d.ts +0 -0
  124. package/types/components/Card/StyledCard.d.ts +0 -0
  125. package/types/components/Card/index.d.ts +0 -0
  126. package/types/components/Carousel/CardCarousel.d.ts +0 -0
  127. package/types/components/Carousel/CarouselItem.d.ts +0 -0
  128. package/types/components/Carousel/StyledCardCarousel.d.ts +0 -0
  129. package/types/components/Carousel/StyledCarousel.d.ts +0 -0
  130. package/types/components/Carousel/contants.d.ts +0 -0
  131. package/types/components/Carousel/index.d.ts +0 -0
  132. package/types/components/Carousel/types.d.ts +0 -0
  133. package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
  134. package/types/components/Checkbox/index.d.ts +0 -0
  135. package/types/components/Collapse/StyledCollapse.d.ts +0 -0
  136. package/types/components/Collapse/index.d.ts +0 -0
  137. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
  138. package/types/components/ContentNavigator/index.d.ts +0 -0
  139. package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -0
  140. package/types/components/DatePicker/DatePickerIOS.d.ts +0 -0
  141. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
  142. package/types/components/DatePicker/index.d.ts +0 -0
  143. package/types/components/DatePicker/types.d.ts +0 -0
  144. package/types/components/Divider/StyledDivider.d.ts +0 -0
  145. package/types/components/Divider/index.d.ts +0 -0
  146. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  147. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  148. package/types/components/Drawer/StyledDrawer.d.ts +0 -0
  149. package/types/components/Drawer/index.d.ts +0 -0
  150. package/types/components/Empty/StyledEmpty.d.ts +9 -5
  151. package/types/components/Empty/index.d.ts +0 -0
  152. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  153. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
  154. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
  155. package/types/components/FAB/ActionGroup/index.d.ts +0 -0
  156. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
  157. package/types/components/FAB/FAB.d.ts +0 -0
  158. package/types/components/FAB/StyledFAB.d.ts +5 -3
  159. package/types/components/FAB/index.d.ts +0 -0
  160. package/types/components/Icon/AnimatedIcon.d.ts +0 -0
  161. package/types/components/Icon/HeroIcon/index.d.ts +0 -0
  162. package/types/components/Icon/IconList.d.ts +0 -0
  163. package/types/components/Icon/index.d.ts +0 -0
  164. package/types/components/Icon/utils.d.ts +0 -0
  165. package/types/components/Image/index.d.ts +0 -0
  166. package/types/components/List/BasicListItem.d.ts +0 -0
  167. package/types/components/List/ListItem.d.ts +0 -0
  168. package/types/components/List/StyledBasicListItem.d.ts +0 -0
  169. package/types/components/List/StyledListItem.d.ts +0 -0
  170. package/types/components/List/index.d.ts +0 -0
  171. package/types/components/PageControl/StyledPageControl.d.ts +0 -0
  172. package/types/components/PageControl/index.d.ts +0 -0
  173. package/types/components/PinInput/PinCell.d.ts +0 -0
  174. package/types/components/PinInput/StyledPinInput.d.ts +9 -5
  175. package/types/components/PinInput/index.d.ts +0 -0
  176. package/types/components/Progress/ProgressBar.d.ts +0 -0
  177. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  178. package/types/components/Progress/StyledProgressBar.d.ts +0 -0
  179. package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
  180. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  181. package/types/components/Progress/constants.d.ts +0 -0
  182. package/types/components/Progress/index.d.ts +0 -0
  183. package/types/components/Progress/types.d.ts +0 -0
  184. package/types/components/Radio/Radio.d.ts +0 -0
  185. package/types/components/Radio/RadioGroup.d.ts +0 -0
  186. package/types/components/Radio/StyledRadio.d.ts +0 -0
  187. package/types/components/Radio/index.d.ts +0 -0
  188. package/types/components/Radio/types.d.ts +0 -0
  189. package/types/components/RefreshControl/index.d.ts +0 -0
  190. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
  191. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
  192. package/types/components/RichTextEditor/MentionList.d.ts +0 -0
  193. package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
  194. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
  195. package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
  196. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  197. package/types/components/RichTextEditor/constants.d.ts +0 -0
  198. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  199. package/types/components/RichTextEditor/index.d.ts +0 -0
  200. package/types/components/RichTextEditor/types.d.ts +0 -0
  201. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  202. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  203. package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
  204. package/types/components/SectionHeading/index.d.ts +0 -0
  205. package/types/components/Select/BaseOptionList.d.ts +0 -0
  206. package/types/components/Select/Footer.d.ts +0 -0
  207. package/types/components/Select/MultiSelect/Option.d.ts +0 -0
  208. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
  209. package/types/components/Select/MultiSelect/index.d.ts +0 -0
  210. package/types/components/Select/SingleSelect/Option.d.ts +0 -0
  211. package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
  212. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
  213. package/types/components/Select/SingleSelect/index.d.ts +0 -0
  214. package/types/components/Select/StyledSelect.d.ts +0 -0
  215. package/types/components/Select/helpers.d.ts +0 -0
  216. package/types/components/Select/index.d.ts +0 -0
  217. package/types/components/Select/types.d.ts +0 -0
  218. package/types/components/Slider/index.d.ts +0 -0
  219. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
  220. package/types/components/Spinner/StyledSpinner.d.ts +0 -0
  221. package/types/components/Spinner/index.d.ts +0 -0
  222. package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
  223. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  224. package/types/components/Swipeable/index.d.ts +0 -0
  225. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
  226. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
  227. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  228. package/types/components/Switch/StyledSwitch.d.ts +0 -0
  229. package/types/components/Switch/index.d.ts +0 -0
  230. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  231. package/types/components/Tabs/ScrollableTabs.d.ts +8 -1
  232. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  233. package/types/components/Tabs/StyledTabs.d.ts +0 -0
  234. package/types/components/Tabs/TabWithBadge.d.ts +0 -0
  235. package/types/components/Tabs/index.d.ts +2 -1
  236. package/types/components/Tabs/utils.d.ts +0 -0
  237. package/types/components/Tag/StyledTag.d.ts +5 -3
  238. package/types/components/Tag/index.d.ts +0 -0
  239. package/types/components/TextInput/StyledTextInput.d.ts +0 -0
  240. package/types/components/TextInput/index.d.ts +0 -0
  241. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
  242. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  243. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  244. package/types/components/TimePicker/index.d.ts +0 -0
  245. package/types/components/TimePicker/types.d.ts +0 -0
  246. package/types/components/Toast/StyledToast.d.ts +0 -0
  247. package/types/components/Toast/Toast.d.ts +0 -0
  248. package/types/components/Toast/ToastContainer.d.ts +0 -0
  249. package/types/components/Toast/ToastContext.d.ts +0 -0
  250. package/types/components/Toast/ToastProvider.d.ts +0 -0
  251. package/types/components/Toast/index.d.ts +0 -0
  252. package/types/components/Toast/types.d.ts +0 -0
  253. package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
  254. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  255. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  256. package/types/components/Toolbar/index.d.ts +0 -0
  257. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  258. package/types/components/Typography/Text/index.d.ts +1 -1
  259. package/types/components/Typography/index.d.ts +0 -0
  260. package/types/index.d.ts +0 -0
  261. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  262. package/types/theme/ThemeProvider.d.ts +0 -0
  263. package/types/theme/ThemeSwitcher.d.ts +0 -0
  264. package/types/theme/components/accordion.d.ts +0 -0
  265. package/types/theme/components/alert.d.ts +0 -0
  266. package/types/theme/components/attachment.d.ts +0 -0
  267. package/types/theme/components/avatar.d.ts +0 -10
  268. package/types/theme/components/badge.d.ts +0 -3
  269. package/types/theme/components/bottomNavigation.d.ts +0 -0
  270. package/types/theme/components/bottomSheet.d.ts +0 -0
  271. package/types/theme/components/button.d.ts +0 -0
  272. package/types/theme/components/calendar.d.ts +0 -0
  273. package/types/theme/components/card.d.ts +0 -0
  274. package/types/theme/components/cardCarousel.d.ts +0 -0
  275. package/types/theme/components/carousel.d.ts +0 -0
  276. package/types/theme/components/checkbox.d.ts +0 -0
  277. package/types/theme/components/contentNavigator.d.ts +0 -0
  278. package/types/theme/components/datePicker.d.ts +0 -0
  279. package/types/theme/components/divider.d.ts +0 -0
  280. package/types/theme/components/drawer.d.ts +0 -0
  281. package/types/theme/components/empty.d.ts +0 -0
  282. package/types/theme/components/fab.d.ts +0 -0
  283. package/types/theme/components/icon.d.ts +0 -0
  284. package/types/theme/components/image.d.ts +0 -0
  285. package/types/theme/components/list.d.ts +0 -0
  286. package/types/theme/components/pageControl.d.ts +0 -0
  287. package/types/theme/components/pinInput.d.ts +0 -4
  288. package/types/theme/components/progress.d.ts +0 -0
  289. package/types/theme/components/radio.d.ts +0 -0
  290. package/types/theme/components/refreshControl.d.ts +0 -0
  291. package/types/theme/components/richTextEditor.d.ts +0 -0
  292. package/types/theme/components/sectionHeading.d.ts +0 -0
  293. package/types/theme/components/select.d.ts +0 -0
  294. package/types/theme/components/slider.d.ts +0 -0
  295. package/types/theme/components/spinner.d.ts +0 -0
  296. package/types/theme/components/swipeable.d.ts +0 -0
  297. package/types/theme/components/switch.d.ts +0 -0
  298. package/types/theme/components/tabs.d.ts +0 -0
  299. package/types/theme/components/tag.d.ts +0 -0
  300. package/types/theme/components/textInput.d.ts +0 -0
  301. package/types/theme/components/timePicker.d.ts +0 -0
  302. package/types/theme/components/toast.d.ts +0 -0
  303. package/types/theme/components/toolbar.d.ts +0 -0
  304. package/types/theme/components/typography.d.ts +0 -0
  305. package/types/theme/getTheme.d.ts +0 -0
  306. package/types/theme/global/borders.d.ts +0 -0
  307. package/types/theme/global/colors/eBens.d.ts +0 -0
  308. package/types/theme/global/colors/global.d.ts +0 -0
  309. package/types/theme/global/colors/globalDark.d.ts +0 -0
  310. package/types/theme/global/colors/jobs.d.ts +0 -0
  311. package/types/theme/global/colors/swag.d.ts +0 -0
  312. package/types/theme/global/colors/swagDark.d.ts +0 -0
  313. package/types/theme/global/colors/types.d.ts +0 -0
  314. package/types/theme/global/colors/wallet.d.ts +0 -0
  315. package/types/theme/global/colors/work.d.ts +0 -0
  316. package/types/theme/global/index.d.ts +0 -0
  317. package/types/theme/global/scale.d.ts +0 -0
  318. package/types/theme/global/sizes.d.ts +0 -0
  319. package/types/theme/global/space.d.ts +0 -0
  320. package/types/theme/global/typography.d.ts +0 -0
  321. package/types/theme/index.d.ts +0 -0
  322. package/types/types.d.ts +2 -1
  323. package/types/utils/functions.d.ts +0 -0
  324. package/types/utils/helpers.d.ts +0 -0
  325. package/types/utils/hooks.d.ts +0 -0
  326. package/types/utils/scale.d.ts +0 -0
@@ -99,35 +99,18 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
99
99
  }
100
100
  >
101
101
  <Text
102
- allowFontScaling={false}
103
102
  style={
104
103
  Array [
105
104
  Object {
106
- "color": "#001f23",
105
+ "color": "#ffffff",
107
106
  "fontFamily": "BeVietnamPro-Regular",
108
- "fontSize": 14,
109
- "letterSpacing": 0.42,
110
- "lineHeight": 22,
107
+ "fontSize": 16,
108
+ "overflow": "hidden",
111
109
  },
112
- Array [
113
- Object {
114
- "color": "#ffffff",
115
- "fontFamily": "BeVietnamPro-Regular",
116
- "fontSize": 16,
117
- "lineHeight": 0,
118
- "overflow": "hidden",
119
- "textAlign": "center",
120
- "textAlignVertical": "center",
121
- },
122
- undefined,
123
- ],
110
+ undefined,
124
111
  ]
125
112
  }
126
- themeFontSize="medium"
127
- themeFontWeight="regular"
128
- themeIntent="body"
129
113
  themeSize="small"
130
- themeTypeface="neutral"
131
114
  >
132
115
  ML
133
116
  </Text>
@@ -145,7 +128,6 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
145
128
  }
146
129
  >
147
130
  <Text
148
- allowFontScaling={false}
149
131
  style={
150
132
  Array [
151
133
  Object {
@@ -166,7 +148,6 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
166
148
  Menu List
167
149
  </Text>
168
150
  <Text
169
- allowFontScaling={false}
170
151
  style={
171
152
  Array [
172
153
  Object {
@@ -235,7 +216,6 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
235
216
  }
236
217
  >
237
218
  <Text
238
- allowFontScaling={false}
239
219
  style={
240
220
  Array [
241
221
  Object {
@@ -256,7 +236,6 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
256
236
  Gross pay
257
237
  </Text>
258
238
  <Text
259
- allowFontScaling={false}
260
239
  style={
261
240
  Array [
262
241
  Object {
@@ -287,7 +266,6 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
287
266
  }
288
267
  >
289
268
  <Text
290
- allowFontScaling={false}
291
269
  style={
292
270
  Array [
293
271
  Object {
@@ -308,7 +286,6 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
308
286
  Gross pay
309
287
  </Text>
310
288
  <Text
311
- allowFontScaling={false}
312
289
  style={
313
290
  Array [
314
291
  Object {
@@ -393,7 +370,6 @@ exports[`ListItem renders correctly ListItem with icon 1`] = `
393
370
  }
394
371
  >
395
372
  <Text
396
- allowFontScaling={false}
397
373
  style={
398
374
  Array [
399
375
  Object {
@@ -414,7 +390,6 @@ exports[`ListItem renders correctly ListItem with icon 1`] = `
414
390
  List item
415
391
  </Text>
416
392
  <Text
417
- allowFontScaling={false}
418
393
  style={
419
394
  Array [
420
395
  Object {
@@ -538,7 +513,6 @@ exports[`ListItem renders correctly ListItem with leading status 1`] = `
538
513
  }
539
514
  >
540
515
  <Text
541
- allowFontScaling={false}
542
516
  style={
543
517
  Array [
544
518
  Object {
@@ -689,35 +663,18 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
689
663
  }
690
664
  >
691
665
  <Text
692
- allowFontScaling={false}
693
666
  style={
694
667
  Array [
695
668
  Object {
696
- "color": "#001f23",
669
+ "color": "#ffffff",
697
670
  "fontFamily": "BeVietnamPro-Regular",
698
- "fontSize": 14,
699
- "letterSpacing": 0.42,
700
- "lineHeight": 22,
671
+ "fontSize": 16,
672
+ "overflow": "hidden",
701
673
  },
702
- Array [
703
- Object {
704
- "color": "#ffffff",
705
- "fontFamily": "BeVietnamPro-Regular",
706
- "fontSize": 16,
707
- "lineHeight": 0,
708
- "overflow": "hidden",
709
- "textAlign": "center",
710
- "textAlignVertical": "center",
711
- },
712
- undefined,
713
- ],
674
+ undefined,
714
675
  ]
715
676
  }
716
- themeFontSize="medium"
717
- themeFontWeight="regular"
718
- themeIntent="body"
719
677
  themeSize="small"
720
- themeTypeface="neutral"
721
678
  >
722
679
  ML
723
680
  </Text>
@@ -735,7 +692,6 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
735
692
  }
736
693
  >
737
694
  <Text
738
- allowFontScaling={false}
739
695
  style={
740
696
  Array [
741
697
  Object {
@@ -756,7 +712,6 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
756
712
  List item
757
713
  </Text>
758
714
  <Text
759
- allowFontScaling={false}
760
715
  style={
761
716
  Array [
762
717
  Object {
@@ -26,7 +26,6 @@ exports[`StyledListItemContainer renders correctly themeSelected false themeDisa
26
26
  }
27
27
  >
28
28
  <Text
29
- allowFontScaling={false}
30
29
  style={
31
30
  Array [
32
31
  Object {
@@ -75,7 +74,6 @@ exports[`StyledListItemContainer renders correctly themeSelected false themeDisa
75
74
  }
76
75
  >
77
76
  <Text
78
- allowFontScaling={false}
79
77
  style={
80
78
  Array [
81
79
  Object {
@@ -124,7 +122,6 @@ exports[`StyledListItemContainer renders correctly themeSelected true themeDisab
124
122
  }
125
123
  >
126
124
  <Text
127
- allowFontScaling={false}
128
125
  style={
129
126
  Array [
130
127
  Object {
@@ -173,7 +170,6 @@ exports[`StyledListItemContainer renders correctly themeSelected true themeDisab
173
170
  }
174
171
  >
175
172
  <Text
176
- allowFontScaling={false}
177
173
  style={
178
174
  Array [
179
175
  Object {
@@ -118,7 +118,6 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant ca
118
118
  }
119
119
  >
120
120
  <Text
121
- allowFontScaling={false}
122
121
  style={
123
122
  Array [
124
123
  Object {
@@ -164,7 +163,6 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant fu
164
163
  }
165
164
  >
166
165
  <Text
167
- allowFontScaling={false}
168
166
  style={
169
167
  Array [
170
168
  Object {
@@ -220,7 +218,6 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant car
220
218
  }
221
219
  >
222
220
  <Text
223
- allowFontScaling={false}
224
221
  style={
225
222
  Array [
226
223
  Object {
@@ -266,7 +263,6 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant ful
266
263
  }
267
264
  >
268
265
  <Text
269
- allowFontScaling={false}
270
266
  style={
271
267
  Array [
272
268
  Object {
@@ -1,6 +1,5 @@
1
1
  import styled from '@emotion/native';
2
- import { TextInput, View } from 'react-native';
3
- import Typography from '../Typography';
2
+ import { Text, TextInput, View } from 'react-native';
4
3
 
5
4
  export const StyledWrapper = styled(View)(() => ({
6
5
  alignContent: 'flex-start',
@@ -27,12 +26,11 @@ export const StyledCell = styled(View)<{
27
26
  borderColor: theme.__hd__.pinInput.colors[themeState],
28
27
  }));
29
28
 
30
- export const StyledCellText = styled(Typography.Text)<{
29
+ export const StyledCellText = styled(Text)<{
31
30
  themeState: State;
32
31
  }>(({ theme, themeState }) => ({
33
32
  fontFamily: theme.__hd__.pinInput.fonts.cellText,
34
33
  fontSize: theme.__hd__.pinInput.fontSizes.cellText,
35
- lineHeight: theme.__hd__.pinInput.lineHeights.cellText,
36
34
  color: theme.__hd__.pinInput.colors[themeState],
37
35
  }));
38
36
 
@@ -80,10 +78,9 @@ export const StyledHiddenInput = styled(TextInput)<{ themePinLength: number }>(
80
78
  export const StyledErrorContainer = styled(View)(({ theme }) => ({
81
79
  flexDirection: 'row',
82
80
  paddingTop: theme.__hd__.pinInput.space.errorMessagePadding,
83
- alignItems: 'center',
84
81
  }));
85
82
 
86
- export const StyledErrorMessage = styled(Typography.Text)(({ theme }) => ({
83
+ export const StyledErrorMessage = styled(Text)(({ theme }) => ({
87
84
  fontFamily: theme.__hd__.pinInput.fonts.errorMessage,
88
85
  fontSize: theme.__hd__.pinInput.fontSizes.errorMessage,
89
86
  color: theme.__hd__.pinInput.colors.error,
@@ -20,32 +20,17 @@ exports[`PinCell renders correctly when focused is false, state is default 1`] =
20
20
  themeState="default"
21
21
  >
22
22
  <Text
23
- allowFontScaling={false}
24
23
  style={
25
24
  Array [
26
25
  Object {
27
26
  "color": "#001f23",
28
- "fontFamily": "BeVietnamPro-Regular",
29
- "fontSize": 14,
30
- "letterSpacing": 0.42,
31
- "lineHeight": 22,
27
+ "fontFamily": "BeVietnamPro-SemiBold",
28
+ "fontSize": 28,
32
29
  },
33
- Array [
34
- Object {
35
- "color": "#001f23",
36
- "fontFamily": "BeVietnamPro-SemiBold",
37
- "fontSize": 28,
38
- "lineHeight": 36,
39
- },
40
- undefined,
41
- ],
30
+ undefined,
42
31
  ]
43
32
  }
44
- themeFontSize="medium"
45
- themeFontWeight="regular"
46
- themeIntent="body"
47
33
  themeState="default"
48
- themeTypeface="neutral"
49
34
  >
50
35
  1
51
36
  </Text>
@@ -72,32 +57,17 @@ exports[`PinCell renders correctly when focused is false, state is disabled 1`]
72
57
  themeState="disabled"
73
58
  >
74
59
  <Text
75
- allowFontScaling={false}
76
60
  style={
77
61
  Array [
78
62
  Object {
79
- "color": "#001f23",
80
- "fontFamily": "BeVietnamPro-Regular",
81
- "fontSize": 14,
82
- "letterSpacing": 0.42,
83
- "lineHeight": 22,
63
+ "color": "#bfc1c5",
64
+ "fontFamily": "BeVietnamPro-SemiBold",
65
+ "fontSize": 28,
84
66
  },
85
- Array [
86
- Object {
87
- "color": "#bfc1c5",
88
- "fontFamily": "BeVietnamPro-SemiBold",
89
- "fontSize": 28,
90
- "lineHeight": 36,
91
- },
92
- undefined,
93
- ],
67
+ undefined,
94
68
  ]
95
69
  }
96
- themeFontSize="medium"
97
- themeFontWeight="regular"
98
- themeIntent="body"
99
70
  themeState="disabled"
100
- themeTypeface="neutral"
101
71
  >
102
72
  1
103
73
  </Text>
@@ -124,32 +94,17 @@ exports[`PinCell renders correctly when focused is false, state is error 1`] = `
124
94
  themeState="error"
125
95
  >
126
96
  <Text
127
- allowFontScaling={false}
128
97
  style={
129
98
  Array [
130
99
  Object {
131
- "color": "#001f23",
132
- "fontFamily": "BeVietnamPro-Regular",
133
- "fontSize": 14,
134
- "letterSpacing": 0.42,
135
- "lineHeight": 22,
100
+ "color": "#de350b",
101
+ "fontFamily": "BeVietnamPro-SemiBold",
102
+ "fontSize": 28,
136
103
  },
137
- Array [
138
- Object {
139
- "color": "#de350b",
140
- "fontFamily": "BeVietnamPro-SemiBold",
141
- "fontSize": 28,
142
- "lineHeight": 36,
143
- },
144
- undefined,
145
- ],
104
+ undefined,
146
105
  ]
147
106
  }
148
- themeFontSize="medium"
149
- themeFontWeight="regular"
150
- themeIntent="body"
151
107
  themeState="error"
152
- themeTypeface="neutral"
153
108
  >
154
109
  1
155
110
  </Text>
@@ -176,32 +131,17 @@ exports[`PinCell renders correctly when focused is true, state is default 1`] =
176
131
  themeState="default"
177
132
  >
178
133
  <Text
179
- allowFontScaling={false}
180
134
  style={
181
135
  Array [
182
136
  Object {
183
137
  "color": "#001f23",
184
- "fontFamily": "BeVietnamPro-Regular",
185
- "fontSize": 14,
186
- "letterSpacing": 0.42,
187
- "lineHeight": 22,
138
+ "fontFamily": "BeVietnamPro-SemiBold",
139
+ "fontSize": 28,
188
140
  },
189
- Array [
190
- Object {
191
- "color": "#001f23",
192
- "fontFamily": "BeVietnamPro-SemiBold",
193
- "fontSize": 28,
194
- "lineHeight": 36,
195
- },
196
- undefined,
197
- ],
141
+ undefined,
198
142
  ]
199
143
  }
200
- themeFontSize="medium"
201
- themeFontWeight="regular"
202
- themeIntent="body"
203
144
  themeState="default"
204
- themeTypeface="neutral"
205
145
  >
206
146
  1
207
147
  </Text>
@@ -228,32 +168,17 @@ exports[`PinCell renders correctly when focused is true, state is error 1`] = `
228
168
  themeState="error"
229
169
  >
230
170
  <Text
231
- allowFontScaling={false}
232
171
  style={
233
172
  Array [
234
173
  Object {
235
- "color": "#001f23",
236
- "fontFamily": "BeVietnamPro-Regular",
237
- "fontSize": 14,
238
- "letterSpacing": 0.42,
239
- "lineHeight": 22,
174
+ "color": "#de350b",
175
+ "fontFamily": "BeVietnamPro-SemiBold",
176
+ "fontSize": 28,
240
177
  },
241
- Array [
242
- Object {
243
- "color": "#de350b",
244
- "fontFamily": "BeVietnamPro-SemiBold",
245
- "fontSize": 28,
246
- "lineHeight": 36,
247
- },
248
- undefined,
249
- ],
178
+ undefined,
250
179
  ]
251
180
  }
252
- themeFontSize="medium"
253
- themeFontWeight="regular"
254
- themeIntent="body"
255
181
  themeState="error"
256
- themeTypeface="neutral"
257
182
  >
258
183
  1
259
184
  </Text>
@@ -492,32 +492,17 @@ exports[`rendering renders correctly when length is 6 and secure is false 1`] =
492
492
  themeState="default"
493
493
  >
494
494
  <Text
495
- allowFontScaling={false}
496
495
  style={
497
496
  Array [
498
497
  Object {
499
498
  "color": "#001f23",
500
- "fontFamily": "BeVietnamPro-Regular",
501
- "fontSize": 14,
502
- "letterSpacing": 0.42,
503
- "lineHeight": 22,
499
+ "fontFamily": "BeVietnamPro-SemiBold",
500
+ "fontSize": 28,
504
501
  },
505
- Array [
506
- Object {
507
- "color": "#001f23",
508
- "fontFamily": "BeVietnamPro-SemiBold",
509
- "fontSize": 28,
510
- "lineHeight": 36,
511
- },
512
- undefined,
513
- ],
502
+ undefined,
514
503
  ]
515
504
  }
516
- themeFontSize="medium"
517
- themeFontWeight="regular"
518
- themeIntent="body"
519
505
  themeState="default"
520
- themeTypeface="neutral"
521
506
  >
522
507
  1
523
508
  </Text>
@@ -551,32 +536,17 @@ exports[`rendering renders correctly when length is 6 and secure is false 1`] =
551
536
  themeState="default"
552
537
  >
553
538
  <Text
554
- allowFontScaling={false}
555
539
  style={
556
540
  Array [
557
541
  Object {
558
542
  "color": "#001f23",
559
- "fontFamily": "BeVietnamPro-Regular",
560
- "fontSize": 14,
561
- "letterSpacing": 0.42,
562
- "lineHeight": 22,
543
+ "fontFamily": "BeVietnamPro-SemiBold",
544
+ "fontSize": 28,
563
545
  },
564
- Array [
565
- Object {
566
- "color": "#001f23",
567
- "fontFamily": "BeVietnamPro-SemiBold",
568
- "fontSize": 28,
569
- "lineHeight": 36,
570
- },
571
- undefined,
572
- ],
546
+ undefined,
573
547
  ]
574
548
  }
575
- themeFontSize="medium"
576
- themeFontWeight="regular"
577
- themeIntent="body"
578
549
  themeState="default"
579
- themeTypeface="neutral"
580
550
  >
581
551
  2
582
552
  </Text>
@@ -610,32 +580,17 @@ exports[`rendering renders correctly when length is 6 and secure is false 1`] =
610
580
  themeState="default"
611
581
  >
612
582
  <Text
613
- allowFontScaling={false}
614
583
  style={
615
584
  Array [
616
585
  Object {
617
586
  "color": "#001f23",
618
- "fontFamily": "BeVietnamPro-Regular",
619
- "fontSize": 14,
620
- "letterSpacing": 0.42,
621
- "lineHeight": 22,
587
+ "fontFamily": "BeVietnamPro-SemiBold",
588
+ "fontSize": 28,
622
589
  },
623
- Array [
624
- Object {
625
- "color": "#001f23",
626
- "fontFamily": "BeVietnamPro-SemiBold",
627
- "fontSize": 28,
628
- "lineHeight": 36,
629
- },
630
- undefined,
631
- ],
590
+ undefined,
632
591
  ]
633
592
  }
634
- themeFontSize="medium"
635
- themeFontWeight="regular"
636
- themeIntent="body"
637
593
  themeState="default"
638
- themeTypeface="neutral"
639
594
  >
640
595
  3
641
596
  </Text>
@@ -1006,7 +961,6 @@ exports[`rendering renders correctly when there is error 1`] = `
1006
961
  style={
1007
962
  Array [
1008
963
  Object {
1009
- "alignItems": "center",
1010
964
  "flexDirection": "row",
1011
965
  "paddingTop": 4,
1012
966
  },
@@ -1030,31 +984,17 @@ exports[`rendering renders correctly when there is error 1`] = `
1030
984
  themeSize="xsmall"
1031
985
  />
1032
986
  <Text
1033
- allowFontScaling={false}
1034
987
  style={
1035
988
  Array [
1036
989
  Object {
1037
- "color": "#001f23",
990
+ "color": "#de350b",
1038
991
  "fontFamily": "BeVietnamPro-Regular",
1039
- "fontSize": 14,
1040
- "letterSpacing": 0.42,
1041
- "lineHeight": 22,
992
+ "fontSize": 12,
993
+ "paddingLeft": 4,
1042
994
  },
1043
- Array [
1044
- Object {
1045
- "color": "#de350b",
1046
- "fontFamily": "BeVietnamPro-Regular",
1047
- "fontSize": 12,
1048
- "paddingLeft": 4,
1049
- },
1050
- undefined,
1051
- ],
995
+ undefined,
1052
996
  ]
1053
997
  }
1054
- themeFontSize="medium"
1055
- themeFontWeight="regular"
1056
- themeIntent="body"
1057
- themeTypeface="neutral"
1058
998
  >
1059
999
  PIN is not correct
1060
1000
  </Text>
@@ -342,7 +342,6 @@ exports[`Progress.Circle allows to custom value renderer 1`] = `
342
342
  }
343
343
  >
344
344
  <Text
345
- allowFontScaling={false}
346
345
  style={
347
346
  Array [
348
347
  Object {
@@ -633,7 +632,6 @@ exports[`Progress.Circle renders correctly 1`] = `
633
632
  }
634
633
  >
635
634
  <Text
636
- allowFontScaling={false}
637
635
  style={
638
636
  Array [
639
637
  Object {
@@ -924,7 +922,6 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
924
922
  }
925
923
  >
926
924
  <Text
927
- allowFontScaling={false}
928
925
  style={
929
926
  Array [
930
927
  Object {
@@ -41,7 +41,6 @@ exports[`rendering renders correctly when checked 1`] = `
41
41
  }
42
42
  >
43
43
  <Text
44
- allowFontScaling={false}
45
44
  style={
46
45
  Array [
47
46
  Object {
@@ -148,7 +147,6 @@ exports[`rendering renders correctly when not checked 1`] = `
148
147
  }
149
148
  >
150
149
  <Text
151
- allowFontScaling={false}
152
150
  style={
153
151
  Array [
154
152
  Object {
@@ -42,7 +42,6 @@ exports[`rendering renders correctly 1`] = `
42
42
  }
43
43
  >
44
44
  <Text
45
- allowFontScaling={false}
46
45
  style={
47
46
  Array [
48
47
  Object {
@@ -141,7 +140,6 @@ exports[`rendering renders correctly 1`] = `
141
140
  }
142
141
  >
143
142
  <Text
144
- allowFontScaling={false}
145
143
  style={
146
144
  Array [
147
145
  Object {
@@ -240,7 +238,6 @@ exports[`rendering renders correctly 1`] = `
240
238
  }
241
239
  >
242
240
  <Text
243
- allowFontScaling={false}
244
241
  style={
245
242
  Array [
246
243
  Object {
@@ -78,7 +78,6 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
78
78
  }
79
79
  >
80
80
  <Text
81
- allowFontScaling={false}
82
81
  style={
83
82
  Array [
84
83
  Object {
@@ -236,7 +235,6 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
236
235
  themeSize="xsmall"
237
236
  />
238
237
  <Text
239
- allowFontScaling={false}
240
238
  style={
241
239
  Array [
242
240
  Object {
@@ -348,7 +346,6 @@ exports[`RichTextEditor should render correctly 1`] = `
348
346
  }
349
347
  >
350
348
  <Text
351
- allowFontScaling={false}
352
349
  style={
353
350
  Array [
354
351
  Object {
@@ -505,7 +502,6 @@ exports[`RichTextEditor should render correctly 1`] = `
505
502
  themeSize="xsmall"
506
503
  />
507
504
  <Text
508
- allowFontScaling={false}
509
505
  style={
510
506
  Array [
511
507
  Object {