@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
@@ -73,7 +73,6 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
73
73
  testID="label-container"
74
74
  >
75
75
  <Text
76
- allowFontScaling={false}
77
76
  style={
78
77
  Array [
79
78
  Object {
@@ -100,7 +99,6 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
100
99
  *
101
100
  </Text>
102
101
  <Text
103
- allowFontScaling={false}
104
102
  style={
105
103
  Array [
106
104
  Object {
@@ -165,7 +163,6 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
165
163
  "disabled": false,
166
164
  }
167
165
  }
168
- allowFontScaling={false}
169
166
  defaultValue="1000"
170
167
  editable={true}
171
168
  maxLength={255}
@@ -217,7 +214,6 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
217
214
  }
218
215
  >
219
216
  <Text
220
- allowFontScaling={false}
221
217
  style={
222
218
  Array [
223
219
  Object {
@@ -243,7 +239,6 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
243
239
  This is helper text
244
240
  </Text>
245
241
  <Text
246
- allowFontScaling={false}
247
242
  style={
248
243
  Array [
249
244
  Object {
@@ -355,7 +350,6 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
355
350
  testID="label-container"
356
351
  >
357
352
  <Text
358
- allowFontScaling={false}
359
353
  style={
360
354
  Array [
361
355
  Object {
@@ -382,7 +376,6 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
382
376
  *
383
377
  </Text>
384
378
  <Text
385
- allowFontScaling={false}
386
379
  style={
387
380
  Array [
388
381
  Object {
@@ -447,7 +440,6 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
447
440
  "disabled": false,
448
441
  }
449
442
  }
450
- allowFontScaling={false}
451
443
  defaultValue="1000"
452
444
  editable={true}
453
445
  maxLength={255}
@@ -498,7 +490,6 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
498
490
  }
499
491
  >
500
492
  <Text
501
- allowFontScaling={false}
502
493
  style={
503
494
  Array [
504
495
  Object {
@@ -524,7 +515,6 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
524
515
  This is helper text
525
516
  </Text>
526
517
  <Text
527
- allowFontScaling={false}
528
518
  style={
529
519
  Array [
530
520
  Object {
@@ -636,7 +626,6 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
636
626
  testID="label-container"
637
627
  >
638
628
  <Text
639
- allowFontScaling={false}
640
629
  style={
641
630
  Array [
642
631
  Object {
@@ -663,7 +652,6 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
663
652
  *
664
653
  </Text>
665
654
  <Text
666
- allowFontScaling={false}
667
655
  style={
668
656
  Array [
669
657
  Object {
@@ -728,7 +716,6 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
728
716
  "disabled": false,
729
717
  }
730
718
  }
731
- allowFontScaling={false}
732
719
  defaultValue="1000"
733
720
  editable={true}
734
721
  maxLength={255}
@@ -780,7 +767,6 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
780
767
  }
781
768
  >
782
769
  <Text
783
- allowFontScaling={false}
784
770
  style={
785
771
  Array [
786
772
  Object {
@@ -806,7 +792,6 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
806
792
  This is helper text
807
793
  </Text>
808
794
  <Text
809
- allowFontScaling={false}
810
795
  style={
811
796
  Array [
812
797
  Object {
@@ -919,7 +904,6 @@ exports[`TextInput disabled renders correctly 1`] = `
919
904
  testID="label-container"
920
905
  >
921
906
  <Text
922
- allowFontScaling={false}
923
907
  style={
924
908
  Array [
925
909
  Object {
@@ -946,7 +930,6 @@ exports[`TextInput disabled renders correctly 1`] = `
946
930
  *
947
931
  </Text>
948
932
  <Text
949
- allowFontScaling={false}
950
933
  style={
951
934
  Array [
952
935
  Object {
@@ -996,7 +979,6 @@ exports[`TextInput disabled renders correctly 1`] = `
996
979
  "disabled": true,
997
980
  }
998
981
  }
999
- allowFontScaling={false}
1000
982
  editable={true}
1001
983
  onBlur={[Function]}
1002
984
  onChangeText={[Function]}
@@ -1149,7 +1131,6 @@ exports[`TextInput error renders correctly 1`] = `
1149
1131
  }
1150
1132
  >
1151
1133
  <Text
1152
- allowFontScaling={false}
1153
1134
  style={
1154
1135
  Array [
1155
1136
  Object {
@@ -1177,7 +1158,6 @@ exports[`TextInput error renders correctly 1`] = `
1177
1158
  *
1178
1159
  </Text>
1179
1160
  <Text
1180
- allowFontScaling={false}
1181
1161
  style={
1182
1162
  Array [
1183
1163
  Object {
@@ -1216,7 +1196,6 @@ exports[`TextInput error renders correctly 1`] = `
1216
1196
  "disabled": false,
1217
1197
  }
1218
1198
  }
1219
- allowFontScaling={false}
1220
1199
  editable={true}
1221
1200
  onBlur={[Function]}
1222
1201
  onChangeText={[Function]}
@@ -1294,7 +1273,6 @@ exports[`TextInput error renders correctly 1`] = `
1294
1273
  themeSize="xsmall"
1295
1274
  />
1296
1275
  <Text
1297
- allowFontScaling={false}
1298
1276
  style={
1299
1277
  Array [
1300
1278
  Object {
@@ -1401,7 +1379,6 @@ exports[`TextInput filled renders correctly 1`] = `
1401
1379
  testID="label-container"
1402
1380
  >
1403
1381
  <Text
1404
- allowFontScaling={false}
1405
1382
  style={
1406
1383
  Array [
1407
1384
  Object {
@@ -1466,7 +1443,6 @@ exports[`TextInput filled renders correctly 1`] = `
1466
1443
  "disabled": false,
1467
1444
  }
1468
1445
  }
1469
- allowFontScaling={false}
1470
1446
  editable={true}
1471
1447
  onBlur={[Function]}
1472
1448
  onChangeText={[Function]}
@@ -1634,7 +1610,6 @@ exports[`TextInput helper text renders correctly 1`] = `
1634
1610
  }
1635
1611
  >
1636
1612
  <Text
1637
- allowFontScaling={false}
1638
1613
  style={
1639
1614
  Array [
1640
1615
  Object {
@@ -1662,7 +1637,6 @@ exports[`TextInput helper text renders correctly 1`] = `
1662
1637
  *
1663
1638
  </Text>
1664
1639
  <Text
1665
- allowFontScaling={false}
1666
1640
  style={
1667
1641
  Array [
1668
1642
  Object {
@@ -1701,7 +1675,6 @@ exports[`TextInput helper text renders correctly 1`] = `
1701
1675
  "disabled": false,
1702
1676
  }
1703
1677
  }
1704
- allowFontScaling={false}
1705
1678
  editable={true}
1706
1679
  onBlur={[Function]}
1707
1680
  onChangeText={[Function]}
@@ -1750,7 +1723,6 @@ exports[`TextInput helper text renders correctly 1`] = `
1750
1723
  }
1751
1724
  >
1752
1725
  <Text
1753
- allowFontScaling={false}
1754
1726
  style={
1755
1727
  Array [
1756
1728
  Object {
@@ -1883,7 +1855,6 @@ exports[`TextInput idle renders correctly 1`] = `
1883
1855
  }
1884
1856
  >
1885
1857
  <Text
1886
- allowFontScaling={false}
1887
1858
  style={
1888
1859
  Array [
1889
1860
  Object {
@@ -1922,7 +1893,6 @@ exports[`TextInput idle renders correctly 1`] = `
1922
1893
  "disabled": false,
1923
1894
  }
1924
1895
  }
1925
- allowFontScaling={false}
1926
1896
  editable={true}
1927
1897
  onBlur={[Function]}
1928
1898
  onChangeText={[Function]}
@@ -2089,7 +2059,6 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2089
2059
  }
2090
2060
  >
2091
2061
  <Text
2092
- allowFontScaling={false}
2093
2062
  style={
2094
2063
  Array [
2095
2064
  Object {
@@ -2117,7 +2086,6 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2117
2086
  *
2118
2087
  </Text>
2119
2088
  <Text
2120
- allowFontScaling={false}
2121
2089
  style={
2122
2090
  Array [
2123
2091
  Object {
@@ -2156,7 +2124,6 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2156
2124
  "disabled": false,
2157
2125
  }
2158
2126
  }
2159
- allowFontScaling={false}
2160
2127
  editable={true}
2161
2128
  onBlur={[Function]}
2162
2129
  onChangeText={[Function]}
@@ -2313,7 +2280,6 @@ exports[`TextInput loading renders correctly 1`] = `
2313
2280
  "disabled": true,
2314
2281
  }
2315
2282
  }
2316
- allowFontScaling={false}
2317
2283
  editable={true}
2318
2284
  onBlur={[Function]}
2319
2285
  onChangeText={[Function]}
@@ -2465,7 +2431,6 @@ exports[`TextInput max length renders correctly 1`] = `
2465
2431
  testID="label-container"
2466
2432
  >
2467
2433
  <Text
2468
- allowFontScaling={false}
2469
2434
  style={
2470
2435
  Array [
2471
2436
  Object {
@@ -2492,7 +2457,6 @@ exports[`TextInput max length renders correctly 1`] = `
2492
2457
  *
2493
2458
  </Text>
2494
2459
  <Text
2495
- allowFontScaling={false}
2496
2460
  style={
2497
2461
  Array [
2498
2462
  Object {
@@ -2542,7 +2506,6 @@ exports[`TextInput max length renders correctly 1`] = `
2542
2506
  "disabled": false,
2543
2507
  }
2544
2508
  }
2545
- allowFontScaling={false}
2546
2509
  editable={true}
2547
2510
  maxLength={255}
2548
2511
  multiline={true}
@@ -2623,7 +2586,6 @@ exports[`TextInput max length renders correctly 1`] = `
2623
2586
  themeSize="xsmall"
2624
2587
  />
2625
2588
  <Text
2626
- allowFontScaling={false}
2627
2589
  style={
2628
2590
  Array [
2629
2591
  Object {
@@ -2653,7 +2615,6 @@ exports[`TextInput max length renders correctly 1`] = `
2653
2615
  </Text>
2654
2616
  </View>
2655
2617
  <Text
2656
- allowFontScaling={false}
2657
2618
  style={
2658
2619
  Array [
2659
2620
  Object {
@@ -2792,7 +2753,6 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
2792
2753
  }
2793
2754
  >
2794
2755
  <Text
2795
- allowFontScaling={false}
2796
2756
  style={
2797
2757
  Array [
2798
2758
  Object {
@@ -2820,7 +2780,6 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
2820
2780
  *
2821
2781
  </Text>
2822
2782
  <Text
2823
- allowFontScaling={false}
2824
2783
  style={
2825
2784
  Array [
2826
2785
  Object {
@@ -2859,7 +2818,6 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
2859
2818
  "disabled": false,
2860
2819
  }
2861
2820
  }
2862
- allowFontScaling={false}
2863
2821
  editable={true}
2864
2822
  onBlur={[Function]}
2865
2823
  onChangeText={[Function]}
@@ -2908,7 +2866,6 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
2908
2866
  }
2909
2867
  >
2910
2868
  <Text
2911
- allowFontScaling={false}
2912
2869
  style={
2913
2870
  Array [
2914
2871
  Object {
@@ -3011,7 +2968,6 @@ exports[`TextInput readonly renders correctly 1`] = `
3011
2968
  testID="label-container"
3012
2969
  >
3013
2970
  <Text
3014
- allowFontScaling={false}
3015
2971
  style={
3016
2972
  Array [
3017
2973
  Object {
@@ -3038,7 +2994,6 @@ exports[`TextInput readonly renders correctly 1`] = `
3038
2994
  *
3039
2995
  </Text>
3040
2996
  <Text
3041
- allowFontScaling={false}
3042
2997
  style={
3043
2998
  Array [
3044
2999
  Object {
@@ -3103,7 +3058,6 @@ exports[`TextInput readonly renders correctly 1`] = `
3103
3058
  "disabled": true,
3104
3059
  }
3105
3060
  }
3106
- allowFontScaling={false}
3107
3061
  editable={false}
3108
3062
  onBlur={[Function]}
3109
3063
  onChangeText={[Function]}
@@ -3244,7 +3198,6 @@ exports[`TextInput ref ref methods work correctly 1`] = `
3244
3198
  testID="label-container"
3245
3199
  >
3246
3200
  <Text
3247
- allowFontScaling={false}
3248
3201
  style={
3249
3202
  Array [
3250
3203
  Object {
@@ -3294,7 +3247,6 @@ exports[`TextInput ref ref methods work correctly 1`] = `
3294
3247
  "disabled": false,
3295
3248
  }
3296
3249
  }
3297
- allowFontScaling={false}
3298
3250
  editable={true}
3299
3251
  onBlur={[Function]}
3300
3252
  onChangeText={[Function]}
@@ -3447,7 +3399,6 @@ exports[`TextInput required renders correctly 1`] = `
3447
3399
  }
3448
3400
  >
3449
3401
  <Text
3450
- allowFontScaling={false}
3451
3402
  style={
3452
3403
  Array [
3453
3404
  Object {
@@ -3475,7 +3426,6 @@ exports[`TextInput required renders correctly 1`] = `
3475
3426
  *
3476
3427
  </Text>
3477
3428
  <Text
3478
- allowFontScaling={false}
3479
3429
  style={
3480
3430
  Array [
3481
3431
  Object {
@@ -3514,7 +3464,6 @@ exports[`TextInput required renders correctly 1`] = `
3514
3464
  "disabled": false,
3515
3465
  }
3516
3466
  }
3517
- allowFontScaling={false}
3518
3467
  editable={true}
3519
3468
  onBlur={[Function]}
3520
3469
  onChangeText={[Function]}
@@ -161,7 +161,6 @@ const TextInput = forwardRef<TextInputHandles, TextInputProps>(
161
161
  value,
162
162
  defaultValue,
163
163
  renderInputValue,
164
- allowFontScaling = false,
165
164
  ...nativeProps
166
165
  }: TextInputProps,
167
166
  ref?: React.Ref<TextInputHandles>
@@ -252,7 +251,6 @@ const TextInput = forwardRef<TextInputHandles, TextInputProps>(
252
251
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
253
252
  // @ts-ignore
254
253
  accessibilityLabelledBy,
255
- allowFontScaling,
256
254
  ...nativeProps,
257
255
  onFocus: (event) => {
258
256
  setIsFocused(true);
@@ -99,7 +99,6 @@ exports[`TimePickerAndroid renders correct with hide suffix 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[`TimePickerAndroid renders correct with hide suffix 1`] = `
149
148
  "disabled": false,
150
149
  }
151
150
  }
152
- allowFontScaling={false}
153
151
  editable={true}
154
152
  onBlur={[Function]}
155
153
  onChangeText={[Function]}
@@ -199,7 +197,6 @@ exports[`TimePickerAndroid renders correct with hide suffix 1`] = `
199
197
  }
200
198
  >
201
199
  <Text
202
- allowFontScaling={false}
203
200
  style={
204
201
  Array [
205
202
  Object {
@@ -330,7 +327,6 @@ exports[`TimePickerAndroid renders correctly 1`] = `
330
327
  testID="label-container"
331
328
  >
332
329
  <Text
333
- allowFontScaling={false}
334
330
  style={
335
331
  Array [
336
332
  Object {
@@ -380,7 +376,6 @@ exports[`TimePickerAndroid renders correctly 1`] = `
380
376
  "disabled": false,
381
377
  }
382
378
  }
383
- allowFontScaling={false}
384
379
  editable={true}
385
380
  onBlur={[Function]}
386
381
  onChangeText={[Function]}
@@ -99,7 +99,6 @@ exports[`TimePickerIOS renders correct with hide suffix 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[`TimePickerIOS renders correct with hide suffix 1`] = `
149
148
  "disabled": false,
150
149
  }
151
150
  }
152
- allowFontScaling={false}
153
151
  editable={true}
154
152
  onBlur={[Function]}
155
153
  onChangeText={[Function]}
@@ -199,7 +197,6 @@ exports[`TimePickerIOS renders correct with hide suffix 1`] = `
199
197
  }
200
198
  >
201
199
  <Text
202
- allowFontScaling={false}
203
200
  style={
204
201
  Array [
205
202
  Object {
@@ -330,7 +327,6 @@ exports[`TimePickerIOS renders correctly 1`] = `
330
327
  testID="label-container"
331
328
  >
332
329
  <Text
333
- allowFontScaling={false}
334
330
  style={
335
331
  Array [
336
332
  Object {
@@ -380,7 +376,6 @@ exports[`TimePickerIOS renders correctly 1`] = `
380
376
  "disabled": false,
381
377
  }
382
378
  }
383
- allowFontScaling={false}
384
379
  editable={true}
385
380
  onBlur={[Function]}
386
381
  onChangeText={[Function]}
@@ -606,7 +601,6 @@ exports[`TimePickerIOS renders correctly 1`] = `
606
601
  }
607
602
  >
608
603
  <Text
609
- allowFontScaling={false}
610
604
  style={
611
605
  Array [
612
606
  Object {
@@ -746,7 +740,6 @@ exports[`TimePickerIOS renders correctly 1`] = `
746
740
  }
747
741
  >
748
742
  <Text
749
- allowFontScaling={false}
750
743
  disabled={false}
751
744
  ellipsizeMode="tail"
752
745
  numberOfLines={1}
@@ -82,7 +82,6 @@ exports[`Toast Icon render custom icon correctly 1`] = `
82
82
  }
83
83
  >
84
84
  <Text
85
- allowFontScaling={false}
86
85
  style={
87
86
  Array [
88
87
  Object {
@@ -189,7 +188,6 @@ exports[`Toast renders correctly when intent is error 1`] = `
189
188
  }
190
189
  >
191
190
  <Text
192
- allowFontScaling={false}
193
191
  style={
194
192
  Array [
195
193
  Object {
@@ -232,7 +230,6 @@ exports[`Toast renders correctly when intent is error 1`] = `
232
230
  testID="toast-action-button"
233
231
  >
234
232
  <Text
235
- allowFontScaling={false}
236
233
  style={
237
234
  Array [
238
235
  Object {
@@ -338,7 +335,6 @@ exports[`Toast renders correctly when intent is info 1`] = `
338
335
  }
339
336
  >
340
337
  <Text
341
- allowFontScaling={false}
342
338
  style={
343
339
  Array [
344
340
  Object {
@@ -381,7 +377,6 @@ exports[`Toast renders correctly when intent is info 1`] = `
381
377
  testID="toast-action-button"
382
378
  >
383
379
  <Text
384
- allowFontScaling={false}
385
380
  style={
386
381
  Array [
387
382
  Object {
@@ -460,7 +455,6 @@ exports[`Toast renders correctly when intent is notification 1`] = `
460
455
  }
461
456
  >
462
457
  <Text
463
- allowFontScaling={false}
464
458
  style={
465
459
  Array [
466
460
  Object {
@@ -503,7 +497,6 @@ exports[`Toast renders correctly when intent is notification 1`] = `
503
497
  testID="toast-action-button"
504
498
  >
505
499
  <Text
506
- allowFontScaling={false}
507
500
  style={
508
501
  Array [
509
502
  Object {
@@ -582,7 +575,6 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
582
575
  }
583
576
  >
584
577
  <Text
585
- allowFontScaling={false}
586
578
  style={
587
579
  Array [
588
580
  Object {
@@ -625,7 +617,6 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
625
617
  testID="toast-action-button"
626
618
  >
627
619
  <Text
628
- allowFontScaling={false}
629
620
  style={
630
621
  Array [
631
622
  Object {
@@ -731,7 +722,6 @@ exports[`Toast renders correctly when intent is success 1`] = `
731
722
  }
732
723
  >
733
724
  <Text
734
- allowFontScaling={false}
735
725
  style={
736
726
  Array [
737
727
  Object {
@@ -774,7 +764,6 @@ exports[`Toast renders correctly when intent is success 1`] = `
774
764
  testID="toast-action-button"
775
765
  >
776
766
  <Text
777
- allowFontScaling={false}
778
767
  style={
779
768
  Array [
780
769
  Object {
@@ -880,7 +869,6 @@ exports[`Toast renders correctly when intent is warning 1`] = `
880
869
  }
881
870
  >
882
871
  <Text
883
- allowFontScaling={false}
884
872
  style={
885
873
  Array [
886
874
  Object {
@@ -923,7 +911,6 @@ exports[`Toast renders correctly when intent is warning 1`] = `
923
911
  testID="toast-action-button"
924
912
  >
925
913
  <Text
926
- allowFontScaling={false}
927
914
  style={
928
915
  Array [
929
916
  Object {
@@ -66,7 +66,6 @@ const Text = ({
66
66
  fontWeight = 'regular',
67
67
  intent = 'body',
68
68
  typeface = 'neutral',
69
- allowFontScaling = false,
70
69
  ...nativeProps
71
70
  }: TextProps) => (
72
71
  <StyledText
@@ -75,7 +74,6 @@ const Text = ({
75
74
  themeFontWeight={fontWeight}
76
75
  themeIntent={intent}
77
76
  themeTypeface={typeface}
78
- allowFontScaling={allowFontScaling}
79
77
  >
80
78
  {children}
81
79
  </StyledText>
@@ -80,16 +80,6 @@ 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
- },
93
83
  "radii": Object {
94
84
  "rounded": 999,
95
85
  },
@@ -120,9 +110,6 @@ Object {
120
110
  "fonts": Object {
121
111
  "default": "BeVietnamPro-SemiBold",
122
112
  },
123
- "lineHeights": Object {
124
- "default": 20,
125
- },
126
113
  "sizes": Object {
127
114
  "height": 20,
128
115
  "minWidth": 20,
@@ -573,10 +560,6 @@ Object {
573
560
  "cellText": "BeVietnamPro-SemiBold",
574
561
  "errorMessage": "BeVietnamPro-Regular",
575
562
  },
576
- "lineHeights": Object {
577
- "cellText": 36,
578
- "errorMessage": 12,
579
- },
580
563
  "radii": Object {
581
564
  "cell": 8,
582
565
  "mask": 999,
@@ -35,22 +35,12 @@ 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
- };
48
38
 
49
39
  const radii = {
50
40
  rounded: theme.radii.rounded,
51
41
  };
52
42
 
53
- return { colors, sizes, radii, fonts, fontSizes, lineHeights };
43
+ return { colors, sizes, radii, fonts, fontSizes };
54
44
  };
55
45
 
56
46
  export default getAvatarTheme;
@@ -19,10 +19,6 @@ const getBadgeTheme = (theme: GlobalTheme) => {
19
19
  default: theme.fontSizes.small,
20
20
  };
21
21
 
22
- const lineHeights = {
23
- default: theme.lineHeights.small,
24
- };
25
-
26
22
  const sizes = {
27
23
  height: theme.fontSizes.small + theme.sizes.small,
28
24
  minWidth: theme.fontSizes.small + theme.sizes.small,
@@ -36,7 +32,7 @@ const getBadgeTheme = (theme: GlobalTheme) => {
36
32
  statusPositionRight: -theme.space.xxsmall,
37
33
  };
38
34
 
39
- return { colors, fonts, fontSizes, sizes, space, lineHeights };
35
+ return { colors, fonts, fontSizes, sizes, space };
40
36
  };
41
37
 
42
38
  export default getBadgeTheme;