@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
@@ -154,7 +154,6 @@ exports[`Checkbox renders correctly when disabled is false, withBorder is false
154
154
  }
155
155
  >
156
156
  <Text
157
- allowFontScaling={false}
158
157
  style={
159
158
  Array [
160
159
  Object {
@@ -239,7 +238,6 @@ exports[`Checkbox renders correctly when disabled is false, withBorder is true 1
239
238
  }
240
239
  >
241
240
  <Text
242
- allowFontScaling={false}
243
241
  style={
244
242
  Array [
245
243
  Object {
@@ -320,7 +318,6 @@ exports[`Checkbox renders correctly when disabled is true, withBorder is false 1
320
318
  }
321
319
  >
322
320
  <Text
323
- allowFontScaling={false}
324
321
  style={
325
322
  Array [
326
323
  Object {
@@ -405,7 +402,6 @@ exports[`Checkbox renders correctly when disabled is true, withBorder is true 1`
405
402
  }
406
403
  >
407
404
  <Text
408
- allowFontScaling={false}
409
405
  style={
410
406
  Array [
411
407
  Object {
@@ -2,7 +2,6 @@
2
2
 
3
3
  exports[`Value has correct style 1`] = `
4
4
  <Text
5
- allowFontScaling={false}
6
5
  style={
7
6
  Array [
8
7
  Object {
@@ -52,7 +52,6 @@ exports[`rendering renders correctly 1`] = `
52
52
  />
53
53
  </View>
54
54
  <Text
55
- allowFontScaling={false}
56
55
  style={
57
56
  Array [
58
57
  Object {
@@ -171,7 +170,6 @@ exports[`rendering renders correctly when icon buttons are disabled 1`] = `
171
170
  />
172
171
  </View>
173
172
  <Text
174
- allowFontScaling={false}
175
173
  style={
176
174
  Array [
177
175
  Object {
@@ -99,7 +99,6 @@ exports[`DatePickerAndroid renders correctly 1`] = `
99
99
  testID="label-container"
100
100
  >
101
101
  <Text
102
- allowFontScaling={false}
103
102
  style={
104
103
  Array [
105
104
  Object {
@@ -149,7 +148,6 @@ exports[`DatePickerAndroid renders correctly 1`] = `
149
148
  "disabled": false,
150
149
  }
151
150
  }
152
- allowFontScaling={false}
153
151
  editable={true}
154
152
  onBlur={[Function]}
155
153
  onChangeText={[Function]}
@@ -99,7 +99,6 @@ exports[`DatePickerIOS renders correctly 1`] = `
99
99
  testID="label-container"
100
100
  >
101
101
  <Text
102
- allowFontScaling={false}
103
102
  style={
104
103
  Array [
105
104
  Object {
@@ -149,7 +148,6 @@ exports[`DatePickerIOS renders correctly 1`] = `
149
148
  "disabled": false,
150
149
  }
151
150
  }
152
- allowFontScaling={false}
153
151
  editable={true}
154
152
  onBlur={[Function]}
155
153
  onChangeText={[Function]}
@@ -375,7 +373,6 @@ exports[`DatePickerIOS renders correctly 1`] = `
375
373
  }
376
374
  >
377
375
  <Text
378
- allowFontScaling={false}
379
376
  style={
380
377
  Array [
381
378
  Object {
@@ -515,7 +512,6 @@ exports[`DatePickerIOS renders correctly 1`] = `
515
512
  }
516
513
  >
517
514
  <Text
518
- allowFontScaling={false}
519
515
  disabled={false}
520
516
  ellipsizeMode="tail"
521
517
  numberOfLines={1}
@@ -1,6 +1,5 @@
1
- import { View } from 'react-native';
1
+ import { View, Text } from 'react-native';
2
2
  import styled from '@emotion/native';
3
- import Typography from '../Typography';
4
3
 
5
4
  type ThemeVariant = 'light' | 'dark';
6
5
 
@@ -13,7 +12,7 @@ const StyledWrapper = styled(View)(({ theme }) => ({
13
12
  padding: theme.__hd__.empty.space.wrapperPadding,
14
13
  }));
15
14
 
16
- const StyledTitle = styled(Typography.Text)<{ themeVariant: ThemeVariant }>(
15
+ const StyledTitle = styled(Text)<{ themeVariant: ThemeVariant }>(
17
16
  ({ theme, themeVariant }) => ({
18
17
  fontFamily: theme.__hd__.empty.fonts.title,
19
18
  fontSize: theme.__hd__.empty.fontSizes.title,
@@ -26,16 +25,16 @@ const StyledTitle = styled(Typography.Text)<{ themeVariant: ThemeVariant }>(
26
25
  })
27
26
  );
28
27
 
29
- const StyledDescription = styled(Typography.Text)<{
30
- themeVariant: ThemeVariant;
31
- }>(({ theme, themeVariant }) => ({
32
- fontFamily: theme.__hd__.empty.fonts.description,
33
- fontSize: theme.__hd__.empty.fontSizes.description,
34
- textAlign: 'center',
35
- color:
36
- themeVariant === 'dark'
37
- ? theme.__hd__.empty.colors.invertedSubduedText
38
- : theme.__hd__.empty.colors.subduedText,
39
- }));
28
+ const StyledDescription = styled(Text)<{ themeVariant: ThemeVariant }>(
29
+ ({ theme, themeVariant }) => ({
30
+ fontFamily: theme.__hd__.empty.fonts.description,
31
+ fontSize: theme.__hd__.empty.fontSizes.description,
32
+ textAlign: 'center',
33
+ color:
34
+ themeVariant === 'dark'
35
+ ? theme.__hd__.empty.colors.invertedSubduedText
36
+ : theme.__hd__.empty.colors.subduedText,
37
+ })
38
+ );
40
39
 
41
40
  export { StyledWrapper, StyledTitle, StyledDescription };
@@ -17,62 +17,34 @@ exports[`Empty renders empty state content correctly 1`] = `
17
17
  }
18
18
  >
19
19
  <Text
20
- allowFontScaling={false}
21
20
  style={
22
21
  Array [
23
22
  Object {
24
23
  "color": "#001f23",
25
- "fontFamily": "BeVietnamPro-Regular",
26
- "fontSize": 14,
27
- "letterSpacing": 0.42,
28
- "lineHeight": 22,
24
+ "fontFamily": "RebondGrotesque-SemiBold",
25
+ "fontSize": 24,
26
+ "marginBottom": 16,
27
+ "textAlign": "center",
29
28
  },
30
- Array [
31
- Object {
32
- "color": "#001f23",
33
- "fontFamily": "RebondGrotesque-SemiBold",
34
- "fontSize": 24,
35
- "marginBottom": 16,
36
- "textAlign": "center",
37
- },
38
- undefined,
39
- ],
29
+ undefined,
40
30
  ]
41
31
  }
42
- themeFontSize="medium"
43
- themeFontWeight="regular"
44
- themeIntent="body"
45
- themeTypeface="neutral"
46
32
  themeVariant="light"
47
33
  >
48
34
  You have no notification at this time
49
35
  </Text>
50
36
  <Text
51
- allowFontScaling={false}
52
37
  style={
53
38
  Array [
54
39
  Object {
55
- "color": "#001f23",
56
- "fontFamily": "BeVietnamPro-Regular",
57
- "fontSize": 14,
58
- "letterSpacing": 0.42,
59
- "lineHeight": 22,
40
+ "color": "#4d6265",
41
+ "fontFamily": "RebondGrotesque",
42
+ "fontSize": 18,
43
+ "textAlign": "center",
60
44
  },
61
- Array [
62
- Object {
63
- "color": "#4d6265",
64
- "fontFamily": "RebondGrotesque",
65
- "fontSize": 18,
66
- "textAlign": "center",
67
- },
68
- undefined,
69
- ],
45
+ undefined,
70
46
  ]
71
47
  }
72
- themeFontSize="medium"
73
- themeFontWeight="regular"
74
- themeIntent="body"
75
- themeTypeface="neutral"
76
48
  themeVariant="light"
77
49
  >
78
50
  We'll notify you later.
@@ -112,62 +84,34 @@ exports[`Empty renders empty state with image correctly 1`] = `
112
84
  }
113
85
  />
114
86
  <Text
115
- allowFontScaling={false}
116
87
  style={
117
88
  Array [
118
89
  Object {
119
90
  "color": "#001f23",
120
- "fontFamily": "BeVietnamPro-Regular",
121
- "fontSize": 14,
122
- "letterSpacing": 0.42,
123
- "lineHeight": 22,
91
+ "fontFamily": "RebondGrotesque-SemiBold",
92
+ "fontSize": 24,
93
+ "marginBottom": 16,
94
+ "textAlign": "center",
124
95
  },
125
- Array [
126
- Object {
127
- "color": "#001f23",
128
- "fontFamily": "RebondGrotesque-SemiBold",
129
- "fontSize": 24,
130
- "marginBottom": 16,
131
- "textAlign": "center",
132
- },
133
- undefined,
134
- ],
96
+ undefined,
135
97
  ]
136
98
  }
137
- themeFontSize="medium"
138
- themeFontWeight="regular"
139
- themeIntent="body"
140
- themeTypeface="neutral"
141
99
  themeVariant="light"
142
100
  >
143
101
  You have no notification at this time
144
102
  </Text>
145
103
  <Text
146
- allowFontScaling={false}
147
104
  style={
148
105
  Array [
149
106
  Object {
150
- "color": "#001f23",
151
- "fontFamily": "BeVietnamPro-Regular",
152
- "fontSize": 14,
153
- "letterSpacing": 0.42,
154
- "lineHeight": 22,
107
+ "color": "#4d6265",
108
+ "fontFamily": "RebondGrotesque",
109
+ "fontSize": 18,
110
+ "textAlign": "center",
155
111
  },
156
- Array [
157
- Object {
158
- "color": "#4d6265",
159
- "fontFamily": "RebondGrotesque",
160
- "fontSize": 18,
161
- "textAlign": "center",
162
- },
163
- undefined,
164
- ],
112
+ undefined,
165
113
  ]
166
114
  }
167
- themeFontSize="medium"
168
- themeFontWeight="regular"
169
- themeIntent="body"
170
- themeTypeface="neutral"
171
115
  themeVariant="light"
172
116
  >
173
117
  We'll notify you later.
@@ -53,7 +53,6 @@ exports[`ActionGroup has active false 1`] = `
53
53
  testID="action-group"
54
54
  >
55
55
  <Text
56
- allowFontScaling={false}
57
56
  style={
58
57
  Array [
59
58
  Object {
@@ -137,7 +136,6 @@ exports[`ActionGroup has active false 1`] = `
137
136
  themeSize="medium"
138
137
  />
139
138
  <Text
140
- allowFontScaling={false}
141
139
  style={
142
140
  Array [
143
141
  Object {
@@ -218,7 +216,6 @@ exports[`ActionGroup has active false 1`] = `
218
216
  themeSize="medium"
219
217
  />
220
218
  <Text
221
- allowFontScaling={false}
222
219
  style={
223
220
  Array [
224
221
  Object {
@@ -299,7 +296,6 @@ exports[`ActionGroup has active false 1`] = `
299
296
  themeSize="medium"
300
297
  />
301
298
  <Text
302
- allowFontScaling={false}
303
299
  style={
304
300
  Array [
305
301
  Object {
@@ -380,7 +376,6 @@ exports[`ActionGroup has active false 1`] = `
380
376
  themeSize="medium"
381
377
  />
382
378
  <Text
383
- allowFontScaling={false}
384
379
  style={
385
380
  Array [
386
381
  Object {
@@ -461,7 +456,6 @@ exports[`ActionGroup has active false 1`] = `
461
456
  themeSize="medium"
462
457
  />
463
458
  <Text
464
- allowFontScaling={false}
465
459
  style={
466
460
  Array [
467
461
  Object {
@@ -552,34 +546,20 @@ exports[`ActionGroup has active false 1`] = `
552
546
  themeSize="xsmall"
553
547
  />
554
548
  <Text
555
- allowFontScaling={false}
556
549
  style={
557
550
  Array [
558
551
  Object {
559
- "color": "#001f23",
560
- "fontFamily": "BeVietnamPro-Regular",
561
- "fontSize": 14,
562
- "letterSpacing": 0.42,
563
- "lineHeight": 22,
552
+ "color": "#ffffff",
553
+ "fontFamily": "BeVietnamPro-SemiBold",
554
+ "fontSize": 16,
555
+ "lineHeight": 24,
556
+ "marginHorizontal": 8,
557
+ "textAlign": "center",
558
+ "textAlignVertical": "center",
564
559
  },
565
- Array [
566
- Object {
567
- "color": "#ffffff",
568
- "fontFamily": "BeVietnamPro-SemiBold",
569
- "fontSize": 16,
570
- "lineHeight": 24,
571
- "marginHorizontal": 8,
572
- "textAlign": "center",
573
- "textAlignVertical": "center",
574
- },
575
- undefined,
576
- ],
560
+ undefined,
577
561
  ]
578
562
  }
579
- themeFontSize="medium"
580
- themeFontWeight="regular"
581
- themeIntent="body"
582
- themeTypeface="neutral"
583
563
  >
584
564
  Shout out
585
565
  </Text>
@@ -640,7 +620,6 @@ exports[`ActionGroup has active true 1`] = `
640
620
  testID="action-group"
641
621
  >
642
622
  <Text
643
- allowFontScaling={false}
644
623
  style={
645
624
  Array [
646
625
  Object {
@@ -724,7 +703,6 @@ exports[`ActionGroup has active true 1`] = `
724
703
  themeSize="medium"
725
704
  />
726
705
  <Text
727
- allowFontScaling={false}
728
706
  style={
729
707
  Array [
730
708
  Object {
@@ -805,7 +783,6 @@ exports[`ActionGroup has active true 1`] = `
805
783
  themeSize="medium"
806
784
  />
807
785
  <Text
808
- allowFontScaling={false}
809
786
  style={
810
787
  Array [
811
788
  Object {
@@ -886,7 +863,6 @@ exports[`ActionGroup has active true 1`] = `
886
863
  themeSize="medium"
887
864
  />
888
865
  <Text
889
- allowFontScaling={false}
890
866
  style={
891
867
  Array [
892
868
  Object {
@@ -967,7 +943,6 @@ exports[`ActionGroup has active true 1`] = `
967
943
  themeSize="medium"
968
944
  />
969
945
  <Text
970
- allowFontScaling={false}
971
946
  style={
972
947
  Array [
973
948
  Object {
@@ -1048,7 +1023,6 @@ exports[`ActionGroup has active true 1`] = `
1048
1023
  themeSize="medium"
1049
1024
  />
1050
1025
  <Text
1051
- allowFontScaling={false}
1052
1026
  style={
1053
1027
  Array [
1054
1028
  Object {
@@ -1139,34 +1113,20 @@ exports[`ActionGroup has active true 1`] = `
1139
1113
  themeSize="xsmall"
1140
1114
  />
1141
1115
  <Text
1142
- allowFontScaling={false}
1143
1116
  style={
1144
1117
  Array [
1145
1118
  Object {
1146
- "color": "#001f23",
1147
- "fontFamily": "BeVietnamPro-Regular",
1148
- "fontSize": 14,
1149
- "letterSpacing": 0.42,
1150
- "lineHeight": 22,
1119
+ "color": "#ffffff",
1120
+ "fontFamily": "BeVietnamPro-SemiBold",
1121
+ "fontSize": 16,
1122
+ "lineHeight": 24,
1123
+ "marginHorizontal": 8,
1124
+ "textAlign": "center",
1125
+ "textAlignVertical": "center",
1151
1126
  },
1152
- Array [
1153
- Object {
1154
- "color": "#ffffff",
1155
- "fontFamily": "BeVietnamPro-SemiBold",
1156
- "fontSize": 16,
1157
- "lineHeight": 24,
1158
- "marginHorizontal": 8,
1159
- "textAlign": "center",
1160
- "textAlignVertical": "center",
1161
- },
1162
- undefined,
1163
- ],
1127
+ undefined,
1164
1128
  ]
1165
1129
  }
1166
- themeFontSize="medium"
1167
- themeFontWeight="regular"
1168
- themeIntent="body"
1169
- themeTypeface="neutral"
1170
1130
  >
1171
1131
  Shout out
1172
1132
  </Text>
@@ -1,9 +1,8 @@
1
- import { TouchableHighlight } from 'react-native';
1
+ import { Text, TouchableHighlight } from 'react-native';
2
2
  import styled from '@emotion/native';
3
3
  import type { TextProps, TouchableHighlightProps } from 'react-native';
4
4
  import Icon from '../Icon';
5
5
  import type { IconProps } from '../Icon';
6
- import Typography from '../Typography';
7
6
 
8
7
  const StyledFABContainer = styled(TouchableHighlight)<TouchableHighlightProps>(
9
8
  ({ theme }) => ({
@@ -26,7 +25,7 @@ const StyledFABIcon = styled(Icon)<IconProps>(({ theme }) => ({
26
25
  textAlign: 'center',
27
26
  }));
28
27
 
29
- const StyledFABText = styled(Typography.Text)<TextProps>(({ theme }) => ({
28
+ const StyledFABText = styled(Text)<TextProps>(({ theme }) => ({
30
29
  fontFamily: theme.__hd__.fab.fonts.title,
31
30
  fontSize: theme.__hd__.fab.fontSizes.title,
32
31
  lineHeight: theme.__hd__.fab.lineHeights.title,
@@ -29,7 +29,6 @@ exports[`StyledFABContainer renders correctly 1`] = `
29
29
  }
30
30
  >
31
31
  <Text
32
- allowFontScaling={false}
33
32
  style={
34
33
  Array [
35
34
  Object {
@@ -179,34 +179,20 @@ exports[`FAB when title has value renders correctly 1`] = `
179
179
  themeSize="xsmall"
180
180
  />
181
181
  <Text
182
- allowFontScaling={false}
183
182
  style={
184
183
  Array [
185
184
  Object {
186
- "color": "#001f23",
187
- "fontFamily": "BeVietnamPro-Regular",
188
- "fontSize": 14,
189
- "letterSpacing": 0.42,
190
- "lineHeight": 22,
185
+ "color": "#ffffff",
186
+ "fontFamily": "BeVietnamPro-SemiBold",
187
+ "fontSize": 16,
188
+ "lineHeight": 24,
189
+ "marginHorizontal": 8,
190
+ "textAlign": "center",
191
+ "textAlignVertical": "center",
191
192
  },
192
- Array [
193
- Object {
194
- "color": "#ffffff",
195
- "fontFamily": "BeVietnamPro-SemiBold",
196
- "fontSize": 16,
197
- "lineHeight": 24,
198
- "marginHorizontal": 8,
199
- "textAlign": "center",
200
- "textAlignVertical": "center",
201
- },
202
- undefined,
203
- ],
193
+ undefined,
204
194
  ]
205
195
  }
206
- themeFontSize="medium"
207
- themeFontWeight="regular"
208
- themeIntent="body"
209
- themeTypeface="neutral"
210
196
  >
211
197
  Shout out
212
198
  </Text>
@@ -67,7 +67,6 @@ exports[`BasicListItem when suffix and prefix are icon name renders correctly 1`
67
67
  }
68
68
  >
69
69
  <Text
70
- allowFontScaling={false}
71
70
  style={
72
71
  Array [
73
72
  Object {
@@ -88,7 +87,6 @@ exports[`BasicListItem when suffix and prefix are icon name renders correctly 1`
88
87
  List item
89
88
  </Text>
90
89
  <Text
91
- allowFontScaling={false}
92
90
  style={
93
91
  Array [
94
92
  Object {
@@ -205,7 +203,6 @@ exports[`BasicListItem when suffix and prefix are react element renders correctl
205
203
  }
206
204
  >
207
205
  <Text
208
- allowFontScaling={false}
209
206
  style={
210
207
  Array [
211
208
  Object {
@@ -226,7 +223,6 @@ exports[`BasicListItem when suffix and prefix are react element renders correctl
226
223
  List item
227
224
  </Text>
228
225
  <Text
229
- allowFontScaling={false}
230
226
  style={
231
227
  Array [
232
228
  Object {