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

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-publish:npm.log +0 -9
  3. package/es/index.js +58 -53
  4. package/lib/index.js +58 -53
  5. package/package.json +5 -5
  6. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +8 -0
  7. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +12 -0
  8. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +13 -0
  9. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  10. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +21 -4
  11. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +189 -36
  12. package/src/components/Avatar/StyledAvatar.tsx +11 -4
  13. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +21 -4
  14. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +42 -8
  15. package/src/components/Badge/StyledBadge.tsx +4 -2
  16. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +132 -42
  17. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +1 -0
  18. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  19. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  20. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  21. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +10 -0
  22. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +10 -0
  23. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -0
  24. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
  25. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +2 -0
  26. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +16 -0
  27. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  28. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +1 -0
  29. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  30. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +2 -0
  31. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +4 -0
  32. package/src/components/Empty/StyledEmpty.tsx +14 -13
  33. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +76 -20
  34. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +56 -16
  35. package/src/components/FAB/StyledFAB.tsx +3 -2
  36. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +1 -0
  37. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +22 -8
  38. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +4 -0
  39. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +53 -8
  40. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +4 -0
  41. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +4 -0
  42. package/src/components/PinInput/StyledPinInput.tsx +6 -3
  43. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +93 -18
  44. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +73 -13
  45. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +3 -0
  46. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +2 -0
  47. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +3 -0
  48. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +4 -0
  49. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +23 -1
  50. package/src/components/SectionHeading/__tests__/index.spec.tsx +2 -2
  51. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  52. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +20 -0
  53. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +38 -0
  54. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  55. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +20 -0
  56. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +35 -0
  57. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +3 -0
  58. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  59. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  60. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  61. package/src/components/Tabs/ScrollableTabs.tsx +167 -208
  62. package/src/components/Tabs/__tests__/ScrollableTabs.spec.tsx +11 -58
  63. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +24 -7
  64. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +22 -7
  65. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +27 -7
  66. package/src/components/Tag/StyledTag.tsx +3 -2
  67. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +167 -62
  68. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +22 -0
  69. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +51 -0
  70. package/src/components/TextInput/index.tsx +2 -0
  71. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +5 -0
  72. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +7 -0
  73. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +13 -0
  74. package/src/components/Typography/Text/index.tsx +2 -0
  75. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +17 -0
  76. package/src/theme/components/avatar.ts +11 -1
  77. package/src/theme/components/badge.ts +5 -1
  78. package/src/theme/components/pinInput.ts +14 -1
  79. package/src/types.ts +0 -2
  80. package/types/components/Accordion/AccordionItem.d.ts +0 -0
  81. package/types/components/Accordion/StyledAccordion.d.ts +0 -0
  82. package/types/components/Accordion/index.d.ts +0 -0
  83. package/types/components/Alert/StyledAlert.d.ts +0 -0
  84. package/types/components/Alert/index.d.ts +0 -0
  85. package/types/components/Attachment/StyledAttachment.d.ts +0 -0
  86. package/types/components/Attachment/index.d.ts +0 -0
  87. package/types/components/Avatar/Avatar.d.ts +0 -0
  88. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
  89. package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
  90. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  91. package/types/components/Avatar/StyledAvatar.d.ts +4 -5
  92. package/types/components/Avatar/index.d.ts +0 -0
  93. package/types/components/Badge/Status.d.ts +0 -0
  94. package/types/components/Badge/StyledBadge.d.ts +3 -5
  95. package/types/components/Badge/index.d.ts +0 -0
  96. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
  97. package/types/components/BottomNavigation/index.d.ts +0 -0
  98. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -0
  99. package/types/components/BottomSheet/Footer.d.ts +0 -0
  100. package/types/components/BottomSheet/Header.d.ts +0 -0
  101. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  102. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
  103. package/types/components/BottomSheet/index.d.ts +0 -0
  104. package/types/components/Box/StyledBox.d.ts +0 -0
  105. package/types/components/Box/config.d.ts +0 -0
  106. package/types/components/Box/index.d.ts +0 -0
  107. package/types/components/Box/types.d.ts +0 -0
  108. package/types/components/Button/Button.d.ts +0 -0
  109. package/types/components/Button/IconButton.d.ts +0 -0
  110. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  111. package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
  112. package/types/components/Button/StyledButton.d.ts +0 -0
  113. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
  114. package/types/components/Button/UtilityButton/index.d.ts +0 -0
  115. package/types/components/Button/index.d.ts +0 -0
  116. package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
  117. package/types/components/Calendar/StyledCalendar.d.ts +0 -0
  118. package/types/components/Calendar/helpers.d.ts +0 -0
  119. package/types/components/Calendar/index.d.ts +0 -0
  120. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
  121. package/types/components/Card/DataCard/index.d.ts +0 -0
  122. package/types/components/Card/StyledCard.d.ts +0 -0
  123. package/types/components/Card/index.d.ts +0 -0
  124. package/types/components/Carousel/CardCarousel.d.ts +0 -0
  125. package/types/components/Carousel/CarouselItem.d.ts +0 -0
  126. package/types/components/Carousel/StyledCardCarousel.d.ts +0 -0
  127. package/types/components/Carousel/StyledCarousel.d.ts +0 -0
  128. package/types/components/Carousel/contants.d.ts +0 -0
  129. package/types/components/Carousel/index.d.ts +0 -0
  130. package/types/components/Carousel/types.d.ts +0 -0
  131. package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
  132. package/types/components/Checkbox/index.d.ts +0 -0
  133. package/types/components/Collapse/StyledCollapse.d.ts +0 -0
  134. package/types/components/Collapse/index.d.ts +0 -0
  135. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
  136. package/types/components/ContentNavigator/index.d.ts +0 -0
  137. package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -0
  138. package/types/components/DatePicker/DatePickerIOS.d.ts +0 -0
  139. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
  140. package/types/components/DatePicker/index.d.ts +0 -0
  141. package/types/components/DatePicker/types.d.ts +0 -0
  142. package/types/components/Divider/StyledDivider.d.ts +0 -0
  143. package/types/components/Divider/index.d.ts +0 -0
  144. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  145. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  146. package/types/components/Drawer/StyledDrawer.d.ts +0 -0
  147. package/types/components/Drawer/index.d.ts +0 -0
  148. package/types/components/Empty/StyledEmpty.d.ts +5 -9
  149. package/types/components/Empty/index.d.ts +0 -0
  150. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  151. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
  152. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
  153. package/types/components/FAB/ActionGroup/index.d.ts +0 -0
  154. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
  155. package/types/components/FAB/FAB.d.ts +0 -0
  156. package/types/components/FAB/StyledFAB.d.ts +3 -5
  157. package/types/components/FAB/index.d.ts +0 -0
  158. package/types/components/Icon/AnimatedIcon.d.ts +0 -0
  159. package/types/components/Icon/HeroIcon/index.d.ts +0 -0
  160. package/types/components/Icon/IconList.d.ts +0 -0
  161. package/types/components/Icon/index.d.ts +0 -0
  162. package/types/components/Icon/utils.d.ts +0 -0
  163. package/types/components/Image/index.d.ts +0 -0
  164. package/types/components/List/BasicListItem.d.ts +0 -0
  165. package/types/components/List/ListItem.d.ts +0 -0
  166. package/types/components/List/StyledBasicListItem.d.ts +0 -0
  167. package/types/components/List/StyledListItem.d.ts +0 -0
  168. package/types/components/List/index.d.ts +0 -0
  169. package/types/components/PageControl/StyledPageControl.d.ts +0 -0
  170. package/types/components/PageControl/index.d.ts +0 -0
  171. package/types/components/PinInput/PinCell.d.ts +0 -0
  172. package/types/components/PinInput/StyledPinInput.d.ts +5 -9
  173. package/types/components/PinInput/index.d.ts +0 -0
  174. package/types/components/Progress/ProgressBar.d.ts +0 -0
  175. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  176. package/types/components/Progress/StyledProgressBar.d.ts +0 -0
  177. package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
  178. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  179. package/types/components/Progress/constants.d.ts +0 -0
  180. package/types/components/Progress/index.d.ts +0 -0
  181. package/types/components/Progress/types.d.ts +0 -0
  182. package/types/components/Radio/Radio.d.ts +0 -0
  183. package/types/components/Radio/RadioGroup.d.ts +0 -0
  184. package/types/components/Radio/StyledRadio.d.ts +0 -0
  185. package/types/components/Radio/index.d.ts +0 -0
  186. package/types/components/Radio/types.d.ts +0 -0
  187. package/types/components/RefreshControl/index.d.ts +0 -0
  188. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
  189. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
  190. package/types/components/RichTextEditor/MentionList.d.ts +0 -0
  191. package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
  192. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
  193. package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
  194. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  195. package/types/components/RichTextEditor/constants.d.ts +0 -0
  196. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  197. package/types/components/RichTextEditor/index.d.ts +0 -0
  198. package/types/components/RichTextEditor/types.d.ts +0 -0
  199. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  200. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  201. package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
  202. package/types/components/SectionHeading/index.d.ts +0 -0
  203. package/types/components/Select/BaseOptionList.d.ts +0 -0
  204. package/types/components/Select/Footer.d.ts +0 -0
  205. package/types/components/Select/MultiSelect/Option.d.ts +0 -0
  206. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
  207. package/types/components/Select/MultiSelect/index.d.ts +0 -0
  208. package/types/components/Select/SingleSelect/Option.d.ts +0 -0
  209. package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
  210. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
  211. package/types/components/Select/SingleSelect/index.d.ts +0 -0
  212. package/types/components/Select/StyledSelect.d.ts +0 -0
  213. package/types/components/Select/helpers.d.ts +0 -0
  214. package/types/components/Select/index.d.ts +0 -0
  215. package/types/components/Select/types.d.ts +0 -0
  216. package/types/components/Slider/index.d.ts +0 -0
  217. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
  218. package/types/components/Spinner/StyledSpinner.d.ts +0 -0
  219. package/types/components/Spinner/index.d.ts +0 -0
  220. package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
  221. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  222. package/types/components/Swipeable/index.d.ts +0 -0
  223. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
  224. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
  225. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  226. package/types/components/Switch/StyledSwitch.d.ts +0 -0
  227. package/types/components/Switch/index.d.ts +0 -0
  228. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  229. package/types/components/Tabs/ScrollableTabs.d.ts +1 -8
  230. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  231. package/types/components/Tabs/StyledTabs.d.ts +0 -0
  232. package/types/components/Tabs/TabWithBadge.d.ts +0 -0
  233. package/types/components/Tabs/index.d.ts +1 -2
  234. package/types/components/Tabs/utils.d.ts +0 -0
  235. package/types/components/Tag/StyledTag.d.ts +3 -5
  236. package/types/components/Tag/index.d.ts +0 -0
  237. package/types/components/TextInput/StyledTextInput.d.ts +0 -0
  238. package/types/components/TextInput/index.d.ts +0 -0
  239. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
  240. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  241. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  242. package/types/components/TimePicker/index.d.ts +0 -0
  243. package/types/components/TimePicker/types.d.ts +0 -0
  244. package/types/components/Toast/StyledToast.d.ts +0 -0
  245. package/types/components/Toast/Toast.d.ts +0 -0
  246. package/types/components/Toast/ToastContainer.d.ts +0 -0
  247. package/types/components/Toast/ToastContext.d.ts +0 -0
  248. package/types/components/Toast/ToastProvider.d.ts +0 -0
  249. package/types/components/Toast/index.d.ts +0 -0
  250. package/types/components/Toast/types.d.ts +0 -0
  251. package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
  252. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  253. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  254. package/types/components/Toolbar/index.d.ts +0 -0
  255. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  256. package/types/components/Typography/Text/index.d.ts +1 -1
  257. package/types/components/Typography/index.d.ts +0 -0
  258. package/types/index.d.ts +0 -0
  259. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  260. package/types/theme/ThemeProvider.d.ts +0 -0
  261. package/types/theme/ThemeSwitcher.d.ts +0 -0
  262. package/types/theme/components/accordion.d.ts +0 -0
  263. package/types/theme/components/alert.d.ts +0 -0
  264. package/types/theme/components/attachment.d.ts +0 -0
  265. package/types/theme/components/avatar.d.ts +10 -0
  266. package/types/theme/components/badge.d.ts +3 -0
  267. package/types/theme/components/bottomNavigation.d.ts +0 -0
  268. package/types/theme/components/bottomSheet.d.ts +0 -0
  269. package/types/theme/components/button.d.ts +0 -0
  270. package/types/theme/components/calendar.d.ts +0 -0
  271. package/types/theme/components/card.d.ts +0 -0
  272. package/types/theme/components/cardCarousel.d.ts +0 -0
  273. package/types/theme/components/carousel.d.ts +0 -0
  274. package/types/theme/components/checkbox.d.ts +0 -0
  275. package/types/theme/components/contentNavigator.d.ts +0 -0
  276. package/types/theme/components/datePicker.d.ts +0 -0
  277. package/types/theme/components/divider.d.ts +0 -0
  278. package/types/theme/components/drawer.d.ts +0 -0
  279. package/types/theme/components/empty.d.ts +0 -0
  280. package/types/theme/components/fab.d.ts +0 -0
  281. package/types/theme/components/icon.d.ts +0 -0
  282. package/types/theme/components/image.d.ts +0 -0
  283. package/types/theme/components/list.d.ts +0 -0
  284. package/types/theme/components/pageControl.d.ts +0 -0
  285. package/types/theme/components/pinInput.d.ts +4 -0
  286. package/types/theme/components/progress.d.ts +0 -0
  287. package/types/theme/components/radio.d.ts +0 -0
  288. package/types/theme/components/refreshControl.d.ts +0 -0
  289. package/types/theme/components/richTextEditor.d.ts +0 -0
  290. package/types/theme/components/sectionHeading.d.ts +0 -0
  291. package/types/theme/components/select.d.ts +0 -0
  292. package/types/theme/components/slider.d.ts +0 -0
  293. package/types/theme/components/spinner.d.ts +0 -0
  294. package/types/theme/components/swipeable.d.ts +0 -0
  295. package/types/theme/components/switch.d.ts +0 -0
  296. package/types/theme/components/tabs.d.ts +0 -0
  297. package/types/theme/components/tag.d.ts +0 -0
  298. package/types/theme/components/textInput.d.ts +0 -0
  299. package/types/theme/components/timePicker.d.ts +0 -0
  300. package/types/theme/components/toast.d.ts +0 -0
  301. package/types/theme/components/toolbar.d.ts +0 -0
  302. package/types/theme/components/typography.d.ts +0 -0
  303. package/types/theme/getTheme.d.ts +0 -0
  304. package/types/theme/global/borders.d.ts +0 -0
  305. package/types/theme/global/colors/eBens.d.ts +0 -0
  306. package/types/theme/global/colors/global.d.ts +0 -0
  307. package/types/theme/global/colors/globalDark.d.ts +0 -0
  308. package/types/theme/global/colors/jobs.d.ts +0 -0
  309. package/types/theme/global/colors/swag.d.ts +0 -0
  310. package/types/theme/global/colors/swagDark.d.ts +0 -0
  311. package/types/theme/global/colors/types.d.ts +0 -0
  312. package/types/theme/global/colors/wallet.d.ts +0 -0
  313. package/types/theme/global/colors/work.d.ts +0 -0
  314. package/types/theme/global/index.d.ts +0 -0
  315. package/types/theme/global/scale.d.ts +0 -0
  316. package/types/theme/global/sizes.d.ts +0 -0
  317. package/types/theme/global/space.d.ts +0 -0
  318. package/types/theme/global/typography.d.ts +0 -0
  319. package/types/theme/index.d.ts +0 -0
  320. package/types/types.d.ts +1 -2
  321. package/types/utils/functions.d.ts +0 -0
  322. package/types/utils/helpers.d.ts +0 -0
  323. package/types/utils/hooks.d.ts +0 -0
  324. package/types/utils/scale.d.ts +0 -0
  325. package/.turbo/turbo-build:types.log +0 -2
  326. package/.turbo/turbo-lint.log +0 -149
@@ -73,6 +73,7 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
73
73
  testID="label-container"
74
74
  >
75
75
  <Text
76
+ allowFontScaling={false}
76
77
  style={
77
78
  Array [
78
79
  Object {
@@ -99,6 +100,7 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
99
100
  *
100
101
  </Text>
101
102
  <Text
103
+ allowFontScaling={false}
102
104
  style={
103
105
  Array [
104
106
  Object {
@@ -163,6 +165,7 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
163
165
  "disabled": false,
164
166
  }
165
167
  }
168
+ allowFontScaling={false}
166
169
  defaultValue="1000"
167
170
  editable={true}
168
171
  maxLength={255}
@@ -214,6 +217,7 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
214
217
  }
215
218
  >
216
219
  <Text
220
+ allowFontScaling={false}
217
221
  style={
218
222
  Array [
219
223
  Object {
@@ -239,6 +243,7 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
239
243
  This is helper text
240
244
  </Text>
241
245
  <Text
246
+ allowFontScaling={false}
242
247
  style={
243
248
  Array [
244
249
  Object {
@@ -350,6 +355,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
350
355
  testID="label-container"
351
356
  >
352
357
  <Text
358
+ allowFontScaling={false}
353
359
  style={
354
360
  Array [
355
361
  Object {
@@ -376,6 +382,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
376
382
  *
377
383
  </Text>
378
384
  <Text
385
+ allowFontScaling={false}
379
386
  style={
380
387
  Array [
381
388
  Object {
@@ -440,6 +447,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
440
447
  "disabled": false,
441
448
  }
442
449
  }
450
+ allowFontScaling={false}
443
451
  defaultValue="1000"
444
452
  editable={true}
445
453
  maxLength={255}
@@ -490,6 +498,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
490
498
  }
491
499
  >
492
500
  <Text
501
+ allowFontScaling={false}
493
502
  style={
494
503
  Array [
495
504
  Object {
@@ -515,6 +524,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
515
524
  This is helper text
516
525
  </Text>
517
526
  <Text
527
+ allowFontScaling={false}
518
528
  style={
519
529
  Array [
520
530
  Object {
@@ -626,6 +636,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
626
636
  testID="label-container"
627
637
  >
628
638
  <Text
639
+ allowFontScaling={false}
629
640
  style={
630
641
  Array [
631
642
  Object {
@@ -652,6 +663,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
652
663
  *
653
664
  </Text>
654
665
  <Text
666
+ allowFontScaling={false}
655
667
  style={
656
668
  Array [
657
669
  Object {
@@ -716,6 +728,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
716
728
  "disabled": false,
717
729
  }
718
730
  }
731
+ allowFontScaling={false}
719
732
  defaultValue="1000"
720
733
  editable={true}
721
734
  maxLength={255}
@@ -767,6 +780,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
767
780
  }
768
781
  >
769
782
  <Text
783
+ allowFontScaling={false}
770
784
  style={
771
785
  Array [
772
786
  Object {
@@ -792,6 +806,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
792
806
  This is helper text
793
807
  </Text>
794
808
  <Text
809
+ allowFontScaling={false}
795
810
  style={
796
811
  Array [
797
812
  Object {
@@ -904,6 +919,7 @@ exports[`TextInput disabled renders correctly 1`] = `
904
919
  testID="label-container"
905
920
  >
906
921
  <Text
922
+ allowFontScaling={false}
907
923
  style={
908
924
  Array [
909
925
  Object {
@@ -930,6 +946,7 @@ exports[`TextInput disabled renders correctly 1`] = `
930
946
  *
931
947
  </Text>
932
948
  <Text
949
+ allowFontScaling={false}
933
950
  style={
934
951
  Array [
935
952
  Object {
@@ -979,6 +996,7 @@ exports[`TextInput disabled renders correctly 1`] = `
979
996
  "disabled": true,
980
997
  }
981
998
  }
999
+ allowFontScaling={false}
982
1000
  editable={true}
983
1001
  onBlur={[Function]}
984
1002
  onChangeText={[Function]}
@@ -1131,6 +1149,7 @@ exports[`TextInput error renders correctly 1`] = `
1131
1149
  }
1132
1150
  >
1133
1151
  <Text
1152
+ allowFontScaling={false}
1134
1153
  style={
1135
1154
  Array [
1136
1155
  Object {
@@ -1158,6 +1177,7 @@ exports[`TextInput error renders correctly 1`] = `
1158
1177
  *
1159
1178
  </Text>
1160
1179
  <Text
1180
+ allowFontScaling={false}
1161
1181
  style={
1162
1182
  Array [
1163
1183
  Object {
@@ -1196,6 +1216,7 @@ exports[`TextInput error renders correctly 1`] = `
1196
1216
  "disabled": false,
1197
1217
  }
1198
1218
  }
1219
+ allowFontScaling={false}
1199
1220
  editable={true}
1200
1221
  onBlur={[Function]}
1201
1222
  onChangeText={[Function]}
@@ -1273,6 +1294,7 @@ exports[`TextInput error renders correctly 1`] = `
1273
1294
  themeSize="xsmall"
1274
1295
  />
1275
1296
  <Text
1297
+ allowFontScaling={false}
1276
1298
  style={
1277
1299
  Array [
1278
1300
  Object {
@@ -1379,6 +1401,7 @@ exports[`TextInput filled renders correctly 1`] = `
1379
1401
  testID="label-container"
1380
1402
  >
1381
1403
  <Text
1404
+ allowFontScaling={false}
1382
1405
  style={
1383
1406
  Array [
1384
1407
  Object {
@@ -1443,6 +1466,7 @@ exports[`TextInput filled renders correctly 1`] = `
1443
1466
  "disabled": false,
1444
1467
  }
1445
1468
  }
1469
+ allowFontScaling={false}
1446
1470
  editable={true}
1447
1471
  onBlur={[Function]}
1448
1472
  onChangeText={[Function]}
@@ -1610,6 +1634,7 @@ exports[`TextInput helper text renders correctly 1`] = `
1610
1634
  }
1611
1635
  >
1612
1636
  <Text
1637
+ allowFontScaling={false}
1613
1638
  style={
1614
1639
  Array [
1615
1640
  Object {
@@ -1637,6 +1662,7 @@ exports[`TextInput helper text renders correctly 1`] = `
1637
1662
  *
1638
1663
  </Text>
1639
1664
  <Text
1665
+ allowFontScaling={false}
1640
1666
  style={
1641
1667
  Array [
1642
1668
  Object {
@@ -1675,6 +1701,7 @@ exports[`TextInput helper text renders correctly 1`] = `
1675
1701
  "disabled": false,
1676
1702
  }
1677
1703
  }
1704
+ allowFontScaling={false}
1678
1705
  editable={true}
1679
1706
  onBlur={[Function]}
1680
1707
  onChangeText={[Function]}
@@ -1723,6 +1750,7 @@ exports[`TextInput helper text renders correctly 1`] = `
1723
1750
  }
1724
1751
  >
1725
1752
  <Text
1753
+ allowFontScaling={false}
1726
1754
  style={
1727
1755
  Array [
1728
1756
  Object {
@@ -1855,6 +1883,7 @@ exports[`TextInput idle renders correctly 1`] = `
1855
1883
  }
1856
1884
  >
1857
1885
  <Text
1886
+ allowFontScaling={false}
1858
1887
  style={
1859
1888
  Array [
1860
1889
  Object {
@@ -1893,6 +1922,7 @@ exports[`TextInput idle renders correctly 1`] = `
1893
1922
  "disabled": false,
1894
1923
  }
1895
1924
  }
1925
+ allowFontScaling={false}
1896
1926
  editable={true}
1897
1927
  onBlur={[Function]}
1898
1928
  onChangeText={[Function]}
@@ -2059,6 +2089,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2059
2089
  }
2060
2090
  >
2061
2091
  <Text
2092
+ allowFontScaling={false}
2062
2093
  style={
2063
2094
  Array [
2064
2095
  Object {
@@ -2086,6 +2117,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2086
2117
  *
2087
2118
  </Text>
2088
2119
  <Text
2120
+ allowFontScaling={false}
2089
2121
  style={
2090
2122
  Array [
2091
2123
  Object {
@@ -2124,6 +2156,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2124
2156
  "disabled": false,
2125
2157
  }
2126
2158
  }
2159
+ allowFontScaling={false}
2127
2160
  editable={true}
2128
2161
  onBlur={[Function]}
2129
2162
  onChangeText={[Function]}
@@ -2280,6 +2313,7 @@ exports[`TextInput loading renders correctly 1`] = `
2280
2313
  "disabled": true,
2281
2314
  }
2282
2315
  }
2316
+ allowFontScaling={false}
2283
2317
  editable={true}
2284
2318
  onBlur={[Function]}
2285
2319
  onChangeText={[Function]}
@@ -2431,6 +2465,7 @@ exports[`TextInput max length renders correctly 1`] = `
2431
2465
  testID="label-container"
2432
2466
  >
2433
2467
  <Text
2468
+ allowFontScaling={false}
2434
2469
  style={
2435
2470
  Array [
2436
2471
  Object {
@@ -2457,6 +2492,7 @@ exports[`TextInput max length renders correctly 1`] = `
2457
2492
  *
2458
2493
  </Text>
2459
2494
  <Text
2495
+ allowFontScaling={false}
2460
2496
  style={
2461
2497
  Array [
2462
2498
  Object {
@@ -2506,6 +2542,7 @@ exports[`TextInput max length renders correctly 1`] = `
2506
2542
  "disabled": false,
2507
2543
  }
2508
2544
  }
2545
+ allowFontScaling={false}
2509
2546
  editable={true}
2510
2547
  maxLength={255}
2511
2548
  multiline={true}
@@ -2586,6 +2623,7 @@ exports[`TextInput max length renders correctly 1`] = `
2586
2623
  themeSize="xsmall"
2587
2624
  />
2588
2625
  <Text
2626
+ allowFontScaling={false}
2589
2627
  style={
2590
2628
  Array [
2591
2629
  Object {
@@ -2615,6 +2653,7 @@ exports[`TextInput max length renders correctly 1`] = `
2615
2653
  </Text>
2616
2654
  </View>
2617
2655
  <Text
2656
+ allowFontScaling={false}
2618
2657
  style={
2619
2658
  Array [
2620
2659
  Object {
@@ -2753,6 +2792,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
2753
2792
  }
2754
2793
  >
2755
2794
  <Text
2795
+ allowFontScaling={false}
2756
2796
  style={
2757
2797
  Array [
2758
2798
  Object {
@@ -2780,6 +2820,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
2780
2820
  *
2781
2821
  </Text>
2782
2822
  <Text
2823
+ allowFontScaling={false}
2783
2824
  style={
2784
2825
  Array [
2785
2826
  Object {
@@ -2818,6 +2859,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
2818
2859
  "disabled": false,
2819
2860
  }
2820
2861
  }
2862
+ allowFontScaling={false}
2821
2863
  editable={true}
2822
2864
  onBlur={[Function]}
2823
2865
  onChangeText={[Function]}
@@ -2866,6 +2908,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
2866
2908
  }
2867
2909
  >
2868
2910
  <Text
2911
+ allowFontScaling={false}
2869
2912
  style={
2870
2913
  Array [
2871
2914
  Object {
@@ -2968,6 +3011,7 @@ exports[`TextInput readonly renders correctly 1`] = `
2968
3011
  testID="label-container"
2969
3012
  >
2970
3013
  <Text
3014
+ allowFontScaling={false}
2971
3015
  style={
2972
3016
  Array [
2973
3017
  Object {
@@ -2994,6 +3038,7 @@ exports[`TextInput readonly renders correctly 1`] = `
2994
3038
  *
2995
3039
  </Text>
2996
3040
  <Text
3041
+ allowFontScaling={false}
2997
3042
  style={
2998
3043
  Array [
2999
3044
  Object {
@@ -3058,6 +3103,7 @@ exports[`TextInput readonly renders correctly 1`] = `
3058
3103
  "disabled": true,
3059
3104
  }
3060
3105
  }
3106
+ allowFontScaling={false}
3061
3107
  editable={false}
3062
3108
  onBlur={[Function]}
3063
3109
  onChangeText={[Function]}
@@ -3198,6 +3244,7 @@ exports[`TextInput ref ref methods work correctly 1`] = `
3198
3244
  testID="label-container"
3199
3245
  >
3200
3246
  <Text
3247
+ allowFontScaling={false}
3201
3248
  style={
3202
3249
  Array [
3203
3250
  Object {
@@ -3247,6 +3294,7 @@ exports[`TextInput ref ref methods work correctly 1`] = `
3247
3294
  "disabled": false,
3248
3295
  }
3249
3296
  }
3297
+ allowFontScaling={false}
3250
3298
  editable={true}
3251
3299
  onBlur={[Function]}
3252
3300
  onChangeText={[Function]}
@@ -3399,6 +3447,7 @@ exports[`TextInput required renders correctly 1`] = `
3399
3447
  }
3400
3448
  >
3401
3449
  <Text
3450
+ allowFontScaling={false}
3402
3451
  style={
3403
3452
  Array [
3404
3453
  Object {
@@ -3426,6 +3475,7 @@ exports[`TextInput required renders correctly 1`] = `
3426
3475
  *
3427
3476
  </Text>
3428
3477
  <Text
3478
+ allowFontScaling={false}
3429
3479
  style={
3430
3480
  Array [
3431
3481
  Object {
@@ -3464,6 +3514,7 @@ exports[`TextInput required renders correctly 1`] = `
3464
3514
  "disabled": false,
3465
3515
  }
3466
3516
  }
3517
+ allowFontScaling={false}
3467
3518
  editable={true}
3468
3519
  onBlur={[Function]}
3469
3520
  onChangeText={[Function]}
@@ -161,6 +161,7 @@ const TextInput = forwardRef<TextInputHandles, TextInputProps>(
161
161
  value,
162
162
  defaultValue,
163
163
  renderInputValue,
164
+ allowFontScaling = false,
164
165
  ...nativeProps
165
166
  }: TextInputProps,
166
167
  ref?: React.Ref<TextInputHandles>
@@ -251,6 +252,7 @@ const TextInput = forwardRef<TextInputHandles, TextInputProps>(
251
252
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
252
253
  // @ts-ignore
253
254
  accessibilityLabelledBy,
255
+ allowFontScaling,
254
256
  ...nativeProps,
255
257
  onFocus: (event) => {
256
258
  setIsFocused(true);
@@ -99,6 +99,7 @@ exports[`TimePickerAndroid renders correct with hide suffix 1`] = `
99
99
  testID="label-container"
100
100
  >
101
101
  <Text
102
+ allowFontScaling={false}
102
103
  style={
103
104
  Array [
104
105
  Object {
@@ -148,6 +149,7 @@ exports[`TimePickerAndroid renders correct with hide suffix 1`] = `
148
149
  "disabled": false,
149
150
  }
150
151
  }
152
+ allowFontScaling={false}
151
153
  editable={true}
152
154
  onBlur={[Function]}
153
155
  onChangeText={[Function]}
@@ -197,6 +199,7 @@ exports[`TimePickerAndroid renders correct with hide suffix 1`] = `
197
199
  }
198
200
  >
199
201
  <Text
202
+ allowFontScaling={false}
200
203
  style={
201
204
  Array [
202
205
  Object {
@@ -327,6 +330,7 @@ exports[`TimePickerAndroid renders correctly 1`] = `
327
330
  testID="label-container"
328
331
  >
329
332
  <Text
333
+ allowFontScaling={false}
330
334
  style={
331
335
  Array [
332
336
  Object {
@@ -376,6 +380,7 @@ exports[`TimePickerAndroid renders correctly 1`] = `
376
380
  "disabled": false,
377
381
  }
378
382
  }
383
+ allowFontScaling={false}
379
384
  editable={true}
380
385
  onBlur={[Function]}
381
386
  onChangeText={[Function]}
@@ -99,6 +99,7 @@ exports[`TimePickerIOS renders correct with hide suffix 1`] = `
99
99
  testID="label-container"
100
100
  >
101
101
  <Text
102
+ allowFontScaling={false}
102
103
  style={
103
104
  Array [
104
105
  Object {
@@ -148,6 +149,7 @@ exports[`TimePickerIOS renders correct with hide suffix 1`] = `
148
149
  "disabled": false,
149
150
  }
150
151
  }
152
+ allowFontScaling={false}
151
153
  editable={true}
152
154
  onBlur={[Function]}
153
155
  onChangeText={[Function]}
@@ -197,6 +199,7 @@ exports[`TimePickerIOS renders correct with hide suffix 1`] = `
197
199
  }
198
200
  >
199
201
  <Text
202
+ allowFontScaling={false}
200
203
  style={
201
204
  Array [
202
205
  Object {
@@ -327,6 +330,7 @@ exports[`TimePickerIOS renders correctly 1`] = `
327
330
  testID="label-container"
328
331
  >
329
332
  <Text
333
+ allowFontScaling={false}
330
334
  style={
331
335
  Array [
332
336
  Object {
@@ -376,6 +380,7 @@ exports[`TimePickerIOS renders correctly 1`] = `
376
380
  "disabled": false,
377
381
  }
378
382
  }
383
+ allowFontScaling={false}
379
384
  editable={true}
380
385
  onBlur={[Function]}
381
386
  onChangeText={[Function]}
@@ -601,6 +606,7 @@ exports[`TimePickerIOS renders correctly 1`] = `
601
606
  }
602
607
  >
603
608
  <Text
609
+ allowFontScaling={false}
604
610
  style={
605
611
  Array [
606
612
  Object {
@@ -740,6 +746,7 @@ exports[`TimePickerIOS renders correctly 1`] = `
740
746
  }
741
747
  >
742
748
  <Text
749
+ allowFontScaling={false}
743
750
  disabled={false}
744
751
  ellipsizeMode="tail"
745
752
  numberOfLines={1}
@@ -82,6 +82,7 @@ exports[`Toast Icon render custom icon correctly 1`] = `
82
82
  }
83
83
  >
84
84
  <Text
85
+ allowFontScaling={false}
85
86
  style={
86
87
  Array [
87
88
  Object {
@@ -188,6 +189,7 @@ exports[`Toast renders correctly when intent is error 1`] = `
188
189
  }
189
190
  >
190
191
  <Text
192
+ allowFontScaling={false}
191
193
  style={
192
194
  Array [
193
195
  Object {
@@ -230,6 +232,7 @@ exports[`Toast renders correctly when intent is error 1`] = `
230
232
  testID="toast-action-button"
231
233
  >
232
234
  <Text
235
+ allowFontScaling={false}
233
236
  style={
234
237
  Array [
235
238
  Object {
@@ -335,6 +338,7 @@ exports[`Toast renders correctly when intent is info 1`] = `
335
338
  }
336
339
  >
337
340
  <Text
341
+ allowFontScaling={false}
338
342
  style={
339
343
  Array [
340
344
  Object {
@@ -377,6 +381,7 @@ exports[`Toast renders correctly when intent is info 1`] = `
377
381
  testID="toast-action-button"
378
382
  >
379
383
  <Text
384
+ allowFontScaling={false}
380
385
  style={
381
386
  Array [
382
387
  Object {
@@ -455,6 +460,7 @@ exports[`Toast renders correctly when intent is notification 1`] = `
455
460
  }
456
461
  >
457
462
  <Text
463
+ allowFontScaling={false}
458
464
  style={
459
465
  Array [
460
466
  Object {
@@ -497,6 +503,7 @@ exports[`Toast renders correctly when intent is notification 1`] = `
497
503
  testID="toast-action-button"
498
504
  >
499
505
  <Text
506
+ allowFontScaling={false}
500
507
  style={
501
508
  Array [
502
509
  Object {
@@ -575,6 +582,7 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
575
582
  }
576
583
  >
577
584
  <Text
585
+ allowFontScaling={false}
578
586
  style={
579
587
  Array [
580
588
  Object {
@@ -617,6 +625,7 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
617
625
  testID="toast-action-button"
618
626
  >
619
627
  <Text
628
+ allowFontScaling={false}
620
629
  style={
621
630
  Array [
622
631
  Object {
@@ -722,6 +731,7 @@ exports[`Toast renders correctly when intent is success 1`] = `
722
731
  }
723
732
  >
724
733
  <Text
734
+ allowFontScaling={false}
725
735
  style={
726
736
  Array [
727
737
  Object {
@@ -764,6 +774,7 @@ exports[`Toast renders correctly when intent is success 1`] = `
764
774
  testID="toast-action-button"
765
775
  >
766
776
  <Text
777
+ allowFontScaling={false}
767
778
  style={
768
779
  Array [
769
780
  Object {
@@ -869,6 +880,7 @@ exports[`Toast renders correctly when intent is warning 1`] = `
869
880
  }
870
881
  >
871
882
  <Text
883
+ allowFontScaling={false}
872
884
  style={
873
885
  Array [
874
886
  Object {
@@ -911,6 +923,7 @@ exports[`Toast renders correctly when intent is warning 1`] = `
911
923
  testID="toast-action-button"
912
924
  >
913
925
  <Text
926
+ allowFontScaling={false}
914
927
  style={
915
928
  Array [
916
929
  Object {
@@ -66,6 +66,7 @@ const Text = ({
66
66
  fontWeight = 'regular',
67
67
  intent = 'body',
68
68
  typeface = 'neutral',
69
+ allowFontScaling = false,
69
70
  ...nativeProps
70
71
  }: TextProps) => (
71
72
  <StyledText
@@ -74,6 +75,7 @@ const Text = ({
74
75
  themeFontWeight={fontWeight}
75
76
  themeIntent={intent}
76
77
  themeTypeface={typeface}
78
+ allowFontScaling={allowFontScaling}
77
79
  >
78
80
  {children}
79
81
  </StyledText>
@@ -80,6 +80,16 @@ Object {
80
80
  "fonts": Object {
81
81
  "default": "BeVietnamPro-Regular",
82
82
  },
83
+ "lineHeights": Object {
84
+ "large": 28,
85
+ "medium": 26,
86
+ "small": 24,
87
+ "xlarge": 32,
88
+ "xxlarge": 44,
89
+ "xxxlarge": 36,
90
+ "xxxxlarge": 39,
91
+ "xxxxxlarge": 42,
92
+ },
83
93
  "radii": Object {
84
94
  "rounded": 999,
85
95
  },
@@ -110,6 +120,9 @@ Object {
110
120
  "fonts": Object {
111
121
  "default": "BeVietnamPro-SemiBold",
112
122
  },
123
+ "lineHeights": Object {
124
+ "default": 20,
125
+ },
113
126
  "sizes": Object {
114
127
  "height": 20,
115
128
  "minWidth": 20,
@@ -560,6 +573,10 @@ Object {
560
573
  "cellText": "BeVietnamPro-SemiBold",
561
574
  "errorMessage": "BeVietnamPro-Regular",
562
575
  },
576
+ "lineHeights": Object {
577
+ "cellText": 36,
578
+ "errorMessage": 12,
579
+ },
563
580
  "radii": Object {
564
581
  "cell": 8,
565
582
  "mask": 999,
@@ -35,12 +35,22 @@ const getAvatarTheme = (theme: GlobalTheme) => {
35
35
  xxxxlarge: theme.space.xlarge * 1.5,
36
36
  xxxxxlarge: theme.space.xxlarge * 1.5,
37
37
  };
38
+ const lineHeights = {
39
+ small: theme.lineHeights.large,
40
+ medium: theme.lineHeights.xlarge,
41
+ large: theme.lineHeights.xxlarge,
42
+ xlarge: theme.lineHeights.xxxlarge,
43
+ xxlarge: theme.lineHeights.medium * 2,
44
+ xxxlarge: theme.lineHeights.large * 1.5,
45
+ xxxxlarge: theme.lineHeights.xlarge * 1.5,
46
+ xxxxxlarge: theme.lineHeights.xxlarge * 1.5,
47
+ };
38
48
 
39
49
  const radii = {
40
50
  rounded: theme.radii.rounded,
41
51
  };
42
52
 
43
- return { colors, sizes, radii, fonts, fontSizes };
53
+ return { colors, sizes, radii, fonts, fontSizes, lineHeights };
44
54
  };
45
55
 
46
56
  export default getAvatarTheme;
@@ -19,6 +19,10 @@ const getBadgeTheme = (theme: GlobalTheme) => {
19
19
  default: theme.fontSizes.small,
20
20
  };
21
21
 
22
+ const lineHeights = {
23
+ default: theme.lineHeights.small,
24
+ };
25
+
22
26
  const sizes = {
23
27
  height: theme.fontSizes.small + theme.sizes.small,
24
28
  minWidth: theme.fontSizes.small + theme.sizes.small,
@@ -32,7 +36,7 @@ const getBadgeTheme = (theme: GlobalTheme) => {
32
36
  statusPositionRight: -theme.space.xxsmall,
33
37
  };
34
38
 
35
- return { colors, fonts, fontSizes, sizes, space };
39
+ return { colors, fonts, fontSizes, sizes, space, lineHeights };
36
40
  };
37
41
 
38
42
  export default getBadgeTheme;