@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
@@ -55,7 +55,6 @@ exports[`SectionHeading allows to customise the icon 1`] = `
55
55
  />
56
56
  </View>
57
57
  <Text
58
- allowFontScaling={false}
59
58
  style={
60
59
  Array [
61
60
  Object {
@@ -135,7 +134,6 @@ exports[`SectionHeading render icon correctly 1`] = `
135
134
  />
136
135
  </View>
137
136
  <Text
138
- allowFontScaling={false}
139
137
  style={
140
138
  Array [
141
139
  Object {
@@ -200,7 +198,6 @@ exports[`SectionHeading render right children correctly 1`] = `
200
198
  }
201
199
  />
202
200
  <Text
203
- allowFontScaling={false}
204
201
  style={
205
202
  Array [
206
203
  Object {
@@ -221,25 +218,7 @@ exports[`SectionHeading render right children correctly 1`] = `
221
218
  test demo
222
219
  </Text>
223
220
  </View>
224
- <Text
225
- allowFontScaling={false}
226
- style={
227
- Array [
228
- Object {
229
- "color": "#001f23",
230
- "fontFamily": "BeVietnamPro-Regular",
231
- "fontSize": 14,
232
- "letterSpacing": 0.42,
233
- "lineHeight": 22,
234
- },
235
- undefined,
236
- ]
237
- }
238
- themeFontSize="medium"
239
- themeFontWeight="regular"
240
- themeIntent="body"
241
- themeTypeface="neutral"
242
- >
221
+ <Text>
243
222
  right children
244
223
  </Text>
245
224
  </View>
@@ -286,7 +265,6 @@ exports[`SectionHeading renders correctly 1`] = `
286
265
  }
287
266
  />
288
267
  <Text
289
- allowFontScaling={false}
290
268
  style={
291
269
  Array [
292
270
  Object {
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
+ import { Text } from 'react-native';
2
3
  import renderWithTheme from '../../../testHelpers/renderWithTheme';
3
4
  import SectionHeading from '..';
4
5
  import Icon from '../../Icon';
5
- import Typography from '../../Typography';
6
6
 
7
7
  describe('SectionHeading', () => {
8
8
  it('renders correctly', () => {
@@ -31,7 +31,7 @@ describe('SectionHeading', () => {
31
31
  <SectionHeading
32
32
  testID="sectionHeading"
33
33
  text="test demo"
34
- rightChildren={<Typography.Text>right children</Typography.Text>}
34
+ rightChildren={<Text>right children</Text>}
35
35
  />
36
36
  );
37
37
 
@@ -41,7 +41,6 @@ exports[`Option renders correctly 1`] = `
41
41
  }
42
42
  >
43
43
  <Text
44
- allowFontScaling={false}
45
44
  style={
46
45
  Array [
47
46
  Object {
@@ -116,7 +116,6 @@ exports[`OptionList render isLoading correctly 1`] = `
116
116
  }
117
117
  />
118
118
  <Text
119
- allowFontScaling={false}
120
119
  style={
121
120
  Array [
122
121
  Object {
@@ -227,7 +226,6 @@ exports[`OptionList render isLoading correctly 1`] = `
227
226
  }
228
227
  >
229
228
  <Text
230
- allowFontScaling={false}
231
229
  style={
232
230
  Array [
233
231
  Object {
@@ -370,7 +368,6 @@ exports[`OptionList render isLoading correctly 1`] = `
370
368
  }
371
369
  />
372
370
  <Text
373
- allowFontScaling={false}
374
371
  style={
375
372
  Array [
376
373
  Object {
@@ -481,7 +478,6 @@ exports[`OptionList render isLoading correctly 1`] = `
481
478
  }
482
479
  >
483
480
  <Text
484
- allowFontScaling={false}
485
481
  style={
486
482
  Array [
487
483
  Object {
@@ -599,7 +595,6 @@ exports[`OptionList render isLoading correctly 1`] = `
599
595
  }
600
596
  >
601
597
  <Text
602
- allowFontScaling={false}
603
598
  style={
604
599
  Array [
605
600
  Object {
@@ -931,7 +926,6 @@ exports[`OptionList renders correctly 1`] = `
931
926
  }
932
927
  />
933
928
  <Text
934
- allowFontScaling={false}
935
929
  style={
936
930
  Array [
937
931
  Object {
@@ -1042,7 +1036,6 @@ exports[`OptionList renders correctly 1`] = `
1042
1036
  }
1043
1037
  >
1044
1038
  <Text
1045
- allowFontScaling={false}
1046
1039
  style={
1047
1040
  Array [
1048
1041
  Object {
@@ -1185,7 +1178,6 @@ exports[`OptionList renders correctly 1`] = `
1185
1178
  }
1186
1179
  />
1187
1180
  <Text
1188
- allowFontScaling={false}
1189
1181
  style={
1190
1182
  Array [
1191
1183
  Object {
@@ -1296,7 +1288,6 @@ exports[`OptionList renders correctly 1`] = `
1296
1288
  }
1297
1289
  >
1298
1290
  <Text
1299
- allowFontScaling={false}
1300
1291
  style={
1301
1292
  Array [
1302
1293
  Object {
@@ -1414,7 +1405,6 @@ exports[`OptionList renders correctly 1`] = `
1414
1405
  }
1415
1406
  >
1416
1407
  <Text
1417
- allowFontScaling={false}
1418
1408
  style={
1419
1409
  Array [
1420
1410
  Object {
@@ -1593,7 +1583,6 @@ exports[`OptionList trigger onPress correctly on changing selection 1`] = `
1593
1583
  }
1594
1584
  />
1595
1585
  <Text
1596
- allowFontScaling={false}
1597
1586
  style={
1598
1587
  Array [
1599
1588
  Object {
@@ -1704,7 +1693,6 @@ exports[`OptionList trigger onPress correctly on changing selection 1`] = `
1704
1693
  }
1705
1694
  >
1706
1695
  <Text
1707
- allowFontScaling={false}
1708
1696
  style={
1709
1697
  Array [
1710
1698
  Object {
@@ -1847,7 +1835,6 @@ exports[`OptionList trigger onPress correctly on changing selection 1`] = `
1847
1835
  }
1848
1836
  />
1849
1837
  <Text
1850
- allowFontScaling={false}
1851
1838
  style={
1852
1839
  Array [
1853
1840
  Object {
@@ -1958,7 +1945,6 @@ exports[`OptionList trigger onPress correctly on changing selection 1`] = `
1958
1945
  }
1959
1946
  >
1960
1947
  <Text
1961
- allowFontScaling={false}
1962
1948
  style={
1963
1949
  Array [
1964
1950
  Object {
@@ -2103,7 +2089,6 @@ exports[`OptionList trigger onPress correctly on changing selection 1`] = `
2103
2089
  }
2104
2090
  >
2105
2091
  <Text
2106
- allowFontScaling={false}
2107
2092
  style={
2108
2093
  Array [
2109
2094
  Object {
@@ -2282,7 +2267,6 @@ exports[`OptionList trigger onPress correctly on select additional value 1`] = `
2282
2267
  }
2283
2268
  />
2284
2269
  <Text
2285
- allowFontScaling={false}
2286
2270
  style={
2287
2271
  Array [
2288
2272
  Object {
@@ -2393,7 +2377,6 @@ exports[`OptionList trigger onPress correctly on select additional value 1`] = `
2393
2377
  }
2394
2378
  >
2395
2379
  <Text
2396
- allowFontScaling={false}
2397
2380
  style={
2398
2381
  Array [
2399
2382
  Object {
@@ -2536,7 +2519,6 @@ exports[`OptionList trigger onPress correctly on select additional value 1`] = `
2536
2519
  }
2537
2520
  />
2538
2521
  <Text
2539
- allowFontScaling={false}
2540
2522
  style={
2541
2523
  Array [
2542
2524
  Object {
@@ -2647,7 +2629,6 @@ exports[`OptionList trigger onPress correctly on select additional value 1`] = `
2647
2629
  }
2648
2630
  >
2649
2631
  <Text
2650
- allowFontScaling={false}
2651
2632
  style={
2652
2633
  Array [
2653
2634
  Object {
@@ -2765,7 +2746,6 @@ exports[`OptionList trigger onPress correctly on select additional value 1`] = `
2765
2746
  }
2766
2747
  >
2767
2748
  <Text
2768
- allowFontScaling={false}
2769
2749
  style={
2770
2750
  Array [
2771
2751
  Object {
@@ -109,7 +109,6 @@ Array [
109
109
  }
110
110
  >
111
111
  <Text
112
- allowFontScaling={false}
113
112
  style={
114
113
  Array [
115
114
  Object {
@@ -148,7 +147,6 @@ Array [
148
147
  "disabled": false,
149
148
  }
150
149
  }
151
- allowFontScaling={false}
152
150
  editable={true}
153
151
  multiline={true}
154
152
  onBlur={[Function]}
@@ -337,7 +335,6 @@ Array [
337
335
  }
338
336
  >
339
337
  <Text
340
- allowFontScaling={false}
341
338
  style={
342
339
  Array [
343
340
  Object {
@@ -519,7 +516,6 @@ Array [
519
516
  }
520
517
  />
521
518
  <Text
522
- allowFontScaling={false}
523
519
  style={
524
520
  Array [
525
521
  Object {
@@ -639,7 +635,6 @@ Array [
639
635
  }
640
636
  >
641
637
  <Text
642
- allowFontScaling={false}
643
638
  style={
644
639
  Array [
645
640
  Object {
@@ -660,7 +655,6 @@ Array [
660
655
  Daniel
661
656
  </Text>
662
657
  <Text
663
- allowFontScaling={false}
664
658
  style={
665
659
  Array [
666
660
  Object {
@@ -788,7 +782,6 @@ Array [
788
782
  }
789
783
  >
790
784
  <Text
791
- allowFontScaling={false}
792
785
  style={
793
786
  Array [
794
787
  Object {
@@ -809,7 +802,6 @@ Array [
809
802
  Daemon
810
803
  </Text>
811
804
  <Text
812
- allowFontScaling={false}
813
805
  style={
814
806
  Array [
815
807
  Object {
@@ -934,7 +926,6 @@ Array [
934
926
  }
935
927
  />
936
928
  <Text
937
- allowFontScaling={false}
938
929
  style={
939
930
  Array [
940
931
  Object {
@@ -1054,7 +1045,6 @@ Array [
1054
1045
  }
1055
1046
  >
1056
1047
  <Text
1057
- allowFontScaling={false}
1058
1048
  style={
1059
1049
  Array [
1060
1050
  Object {
@@ -1075,7 +1065,6 @@ Array [
1075
1065
  Jennifer
1076
1066
  </Text>
1077
1067
  <Text
1078
- allowFontScaling={false}
1079
1068
  style={
1080
1069
  Array [
1081
1070
  Object {
@@ -1203,7 +1192,6 @@ Array [
1203
1192
  }
1204
1193
  >
1205
1194
  <Text
1206
- allowFontScaling={false}
1207
1195
  style={
1208
1196
  Array [
1209
1197
  Object {
@@ -1224,7 +1212,6 @@ Array [
1224
1212
  Josh
1225
1213
  </Text>
1226
1214
  <Text
1227
- allowFontScaling={false}
1228
1215
  style={
1229
1216
  Array [
1230
1217
  Object {
@@ -1352,7 +1339,6 @@ Array [
1352
1339
  }
1353
1340
  >
1354
1341
  <Text
1355
- allowFontScaling={false}
1356
1342
  disabled={false}
1357
1343
  ellipsizeMode="tail"
1358
1344
  numberOfLines={1}
@@ -1493,7 +1479,6 @@ Array [
1493
1479
  testID="label-container"
1494
1480
  >
1495
1481
  <Text
1496
- allowFontScaling={false}
1497
1482
  style={
1498
1483
  Array [
1499
1484
  Object {
@@ -1543,7 +1528,6 @@ Array [
1543
1528
  "disabled": false,
1544
1529
  }
1545
1530
  }
1546
- allowFontScaling={false}
1547
1531
  editable={true}
1548
1532
  multiline={true}
1549
1533
  onBlur={[Function]}
@@ -1720,7 +1704,6 @@ Array [
1720
1704
  testID="label-container"
1721
1705
  >
1722
1706
  <Text
1723
- allowFontScaling={false}
1724
1707
  style={
1725
1708
  Array [
1726
1709
  Object {
@@ -1770,7 +1753,6 @@ Array [
1770
1753
  "disabled": false,
1771
1754
  }
1772
1755
  }
1773
- allowFontScaling={false}
1774
1756
  editable={true}
1775
1757
  multiline={true}
1776
1758
  onBlur={[Function]}
@@ -1959,7 +1941,6 @@ Array [
1959
1941
  }
1960
1942
  >
1961
1943
  <Text
1962
- allowFontScaling={false}
1963
1944
  style={
1964
1945
  Array [
1965
1946
  Object {
@@ -2201,7 +2182,6 @@ Array [
2201
2182
  }
2202
2183
  >
2203
2184
  <Text
2204
- allowFontScaling={false}
2205
2185
  style={
2206
2186
  Array [
2207
2187
  Object {
@@ -2356,7 +2336,6 @@ Array [
2356
2336
  }
2357
2337
  >
2358
2338
  <Text
2359
- allowFontScaling={false}
2360
2339
  style={
2361
2340
  Array [
2362
2341
  Object {
@@ -2511,7 +2490,6 @@ Array [
2511
2490
  }
2512
2491
  >
2513
2492
  <Text
2514
- allowFontScaling={false}
2515
2493
  style={
2516
2494
  Array [
2517
2495
  Object {
@@ -2639,7 +2617,6 @@ Array [
2639
2617
  }
2640
2618
  >
2641
2619
  <Text
2642
- allowFontScaling={false}
2643
2620
  style={
2644
2621
  Array [
2645
2622
  Object {
@@ -2767,7 +2744,6 @@ Array [
2767
2744
  }
2768
2745
  >
2769
2746
  <Text
2770
- allowFontScaling={false}
2771
2747
  style={
2772
2748
  Array [
2773
2749
  Object {
@@ -2895,7 +2871,6 @@ Array [
2895
2871
  }
2896
2872
  >
2897
2873
  <Text
2898
- allowFontScaling={false}
2899
2874
  style={
2900
2875
  Array [
2901
2876
  Object {
@@ -3024,7 +2999,6 @@ Array [
3024
2999
  }
3025
3000
  >
3026
3001
  <Text
3027
- allowFontScaling={false}
3028
3002
  style={
3029
3003
  Array [
3030
3004
  Object {
@@ -3154,7 +3128,6 @@ Array [
3154
3128
  }
3155
3129
  >
3156
3130
  <Text
3157
- allowFontScaling={false}
3158
3131
  disabled={false}
3159
3132
  ellipsizeMode="tail"
3160
3133
  numberOfLines={1}
@@ -3295,7 +3268,6 @@ Array [
3295
3268
  testID="label-container"
3296
3269
  >
3297
3270
  <Text
3298
- allowFontScaling={false}
3299
3271
  style={
3300
3272
  Array [
3301
3273
  Object {
@@ -3345,7 +3317,6 @@ Array [
3345
3317
  "disabled": true,
3346
3318
  }
3347
3319
  }
3348
- allowFontScaling={false}
3349
3320
  editable={true}
3350
3321
  multiline={true}
3351
3322
  onBlur={[Function]}
@@ -3535,7 +3506,6 @@ Array [
3535
3506
  testID="label-container"
3536
3507
  >
3537
3508
  <Text
3538
- allowFontScaling={false}
3539
3509
  style={
3540
3510
  Array [
3541
3511
  Object {
@@ -3585,7 +3555,6 @@ Array [
3585
3555
  "disabled": false,
3586
3556
  }
3587
3557
  }
3588
- allowFontScaling={false}
3589
3558
  editable={true}
3590
3559
  multiline={true}
3591
3560
  onBlur={[Function]}
@@ -3774,7 +3743,6 @@ Array [
3774
3743
  }
3775
3744
  >
3776
3745
  <Text
3777
- allowFontScaling={false}
3778
3746
  style={
3779
3747
  Array [
3780
3748
  Object {
@@ -3948,7 +3916,6 @@ Array [
3948
3916
  }
3949
3917
  />
3950
3918
  <Text
3951
- allowFontScaling={false}
3952
3919
  style={
3953
3920
  Array [
3954
3921
  Object {
@@ -4059,7 +4026,6 @@ Array [
4059
4026
  }
4060
4027
  >
4061
4028
  <Text
4062
- allowFontScaling={false}
4063
4029
  style={
4064
4030
  Array [
4065
4031
  Object {
@@ -4175,7 +4141,6 @@ Array [
4175
4141
  }
4176
4142
  />
4177
4143
  <Text
4178
- allowFontScaling={false}
4179
4144
  style={
4180
4145
  Array [
4181
4146
  Object {
@@ -4286,7 +4251,6 @@ Array [
4286
4251
  }
4287
4252
  >
4288
4253
  <Text
4289
- allowFontScaling={false}
4290
4254
  style={
4291
4255
  Array [
4292
4256
  Object {
@@ -4431,7 +4395,6 @@ Array [
4431
4395
  }
4432
4396
  >
4433
4397
  <Text
4434
- allowFontScaling={false}
4435
4398
  style={
4436
4399
  Array [
4437
4400
  Object {
@@ -4577,7 +4540,6 @@ Array [
4577
4540
  }
4578
4541
  >
4579
4542
  <Text
4580
- allowFontScaling={false}
4581
4543
  disabled={false}
4582
4544
  ellipsizeMode="tail"
4583
4545
  numberOfLines={1}
@@ -41,7 +41,6 @@ exports[`Option renders correctly 1`] = `
41
41
  }
42
42
  >
43
43
  <Text
44
- allowFontScaling={false}
45
44
  style={
46
45
  Array [
47
46
  Object {
@@ -121,7 +121,6 @@ exports[`OptionList render isLoading correctly 1`] = `
121
121
  }
122
122
  />
123
123
  <Text
124
- allowFontScaling={false}
125
124
  style={
126
125
  Array [
127
126
  Object {
@@ -232,7 +231,6 @@ exports[`OptionList render isLoading correctly 1`] = `
232
231
  }
233
232
  >
234
233
  <Text
235
- allowFontScaling={false}
236
234
  style={
237
235
  Array [
238
236
  Object {
@@ -348,7 +346,6 @@ exports[`OptionList render isLoading correctly 1`] = `
348
346
  }
349
347
  />
350
348
  <Text
351
- allowFontScaling={false}
352
349
  style={
353
350
  Array [
354
351
  Object {
@@ -459,7 +456,6 @@ exports[`OptionList render isLoading correctly 1`] = `
459
456
  }
460
457
  >
461
458
  <Text
462
- allowFontScaling={false}
463
459
  style={
464
460
  Array [
465
461
  Object {
@@ -577,7 +573,6 @@ exports[`OptionList render isLoading correctly 1`] = `
577
573
  }
578
574
  >
579
575
  <Text
580
- allowFontScaling={false}
581
576
  style={
582
577
  Array [
583
578
  Object {
@@ -914,7 +909,6 @@ exports[`OptionList renders correctly 1`] = `
914
909
  }
915
910
  />
916
911
  <Text
917
- allowFontScaling={false}
918
912
  style={
919
913
  Array [
920
914
  Object {
@@ -1025,7 +1019,6 @@ exports[`OptionList renders correctly 1`] = `
1025
1019
  }
1026
1020
  >
1027
1021
  <Text
1028
- allowFontScaling={false}
1029
1022
  style={
1030
1023
  Array [
1031
1024
  Object {
@@ -1141,7 +1134,6 @@ exports[`OptionList renders correctly 1`] = `
1141
1134
  }
1142
1135
  />
1143
1136
  <Text
1144
- allowFontScaling={false}
1145
1137
  style={
1146
1138
  Array [
1147
1139
  Object {
@@ -1252,7 +1244,6 @@ exports[`OptionList renders correctly 1`] = `
1252
1244
  }
1253
1245
  >
1254
1246
  <Text
1255
- allowFontScaling={false}
1256
1247
  style={
1257
1248
  Array [
1258
1249
  Object {
@@ -1370,7 +1361,6 @@ exports[`OptionList renders correctly 1`] = `
1370
1361
  }
1371
1362
  >
1372
1363
  <Text
1373
- allowFontScaling={false}
1374
1364
  style={
1375
1365
  Array [
1376
1366
  Object {
@@ -1554,7 +1544,6 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
1554
1544
  }
1555
1545
  />
1556
1546
  <Text
1557
- allowFontScaling={false}
1558
1547
  style={
1559
1548
  Array [
1560
1549
  Object {
@@ -1665,7 +1654,6 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
1665
1654
  }
1666
1655
  >
1667
1656
  <Text
1668
- allowFontScaling={false}
1669
1657
  style={
1670
1658
  Array [
1671
1659
  Object {
@@ -1781,7 +1769,6 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
1781
1769
  }
1782
1770
  />
1783
1771
  <Text
1784
- allowFontScaling={false}
1785
1772
  style={
1786
1773
  Array [
1787
1774
  Object {
@@ -1892,7 +1879,6 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
1892
1879
  }
1893
1880
  >
1894
1881
  <Text
1895
- allowFontScaling={false}
1896
1882
  style={
1897
1883
  Array [
1898
1884
  Object {
@@ -2010,7 +1996,6 @@ exports[`OptionList trigger onPress correctly on select new value 1`] = `
2010
1996
  }
2011
1997
  >
2012
1998
  <Text
2013
- allowFontScaling={false}
2014
1999
  style={
2015
2000
  Array [
2016
2001
  Object {
@@ -2194,7 +2179,6 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
2194
2179
  }
2195
2180
  />
2196
2181
  <Text
2197
- allowFontScaling={false}
2198
2182
  style={
2199
2183
  Array [
2200
2184
  Object {
@@ -2305,7 +2289,6 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
2305
2289
  }
2306
2290
  >
2307
2291
  <Text
2308
- allowFontScaling={false}
2309
2292
  style={
2310
2293
  Array [
2311
2294
  Object {
@@ -2421,7 +2404,6 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
2421
2404
  }
2422
2405
  />
2423
2406
  <Text
2424
- allowFontScaling={false}
2425
2407
  style={
2426
2408
  Array [
2427
2409
  Object {
@@ -2532,7 +2514,6 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
2532
2514
  }
2533
2515
  >
2534
2516
  <Text
2535
- allowFontScaling={false}
2536
2517
  style={
2537
2518
  Array [
2538
2519
  Object {
@@ -2650,7 +2631,6 @@ exports[`OptionList trigger onPress correctly on unselect current value 1`] = `
2650
2631
  }
2651
2632
  >
2652
2633
  <Text
2653
- allowFontScaling={false}
2654
2634
  style={
2655
2635
  Array [
2656
2636
  Object {