@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
package/lib/index.js CHANGED
@@ -1752,16 +1752,6 @@ var getAvatarTheme = function getAvatarTheme(theme) {
1752
1752
  xxxxlarge: theme.space.xlarge * 1.5,
1753
1753
  xxxxxlarge: theme.space.xxlarge * 1.5
1754
1754
  };
1755
- var lineHeights = {
1756
- small: theme.lineHeights.large,
1757
- medium: theme.lineHeights.xlarge,
1758
- large: theme.lineHeights.xxlarge,
1759
- xlarge: theme.lineHeights.xxxlarge,
1760
- xxlarge: theme.lineHeights.medium * 2,
1761
- xxxlarge: theme.lineHeights.large * 1.5,
1762
- xxxxlarge: theme.lineHeights.xlarge * 1.5,
1763
- xxxxxlarge: theme.lineHeights.xxlarge * 1.5
1764
- };
1765
1755
  var radii = {
1766
1756
  rounded: theme.radii.rounded
1767
1757
  };
@@ -1770,8 +1760,7 @@ var getAvatarTheme = function getAvatarTheme(theme) {
1770
1760
  sizes: sizes,
1771
1761
  radii: radii,
1772
1762
  fonts: fonts,
1773
- fontSizes: fontSizes,
1774
- lineHeights: lineHeights
1763
+ fontSizes: fontSizes
1775
1764
  };
1776
1765
  };
1777
1766
 
@@ -1791,9 +1780,6 @@ var getBadgeTheme = function getBadgeTheme(theme) {
1791
1780
  var fontSizes = {
1792
1781
  "default": theme.fontSizes.small
1793
1782
  };
1794
- var lineHeights = {
1795
- "default": theme.lineHeights.small
1796
- };
1797
1783
  var sizes = {
1798
1784
  height: theme.fontSizes.small + theme.sizes.small,
1799
1785
  minWidth: theme.fontSizes.small + theme.sizes.small,
@@ -1810,8 +1796,7 @@ var getBadgeTheme = function getBadgeTheme(theme) {
1810
1796
  fonts: fonts,
1811
1797
  fontSizes: fontSizes,
1812
1798
  sizes: sizes,
1813
- space: space,
1814
- lineHeights: lineHeights
1799
+ space: space
1815
1800
  };
1816
1801
  };
1817
1802
 
@@ -2381,10 +2366,6 @@ var getPinInputTheme = function getPinInputTheme(theme) {
2381
2366
  cellText: theme.fontSizes.xxxxlarge,
2382
2367
  errorMessage: theme.fontSizes.small
2383
2368
  };
2384
- var lineHeights = {
2385
- cellText: theme.lineHeights.xxxxlarge,
2386
- errorMessage: theme.fontSizes.small
2387
- };
2388
2369
  var sizes = {
2389
2370
  cellWidth: theme.sizes.xxlarge,
2390
2371
  cellHeight: theme.sizes.xxxlarge,
@@ -2400,7 +2381,6 @@ var getPinInputTheme = function getPinInputTheme(theme) {
2400
2381
  };
2401
2382
  return {
2402
2383
  borderWidths: borderWidths,
2403
- lineHeights: lineHeights,
2404
2384
  colors: colors,
2405
2385
  fonts: fonts,
2406
2386
  fontSizes: fontSizes,
@@ -6007,7 +5987,7 @@ var StyledText$3 = index$a(reactNative.Text)(function (_ref) {
6007
5987
  });
6008
5988
  });
6009
5989
 
6010
- var _excluded$p = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
5990
+ var _excluded$p = ["children", "fontSize", "fontWeight", "intent", "typeface"];
6011
5991
  var Text = function Text(_ref) {
6012
5992
  var children = _ref.children,
6013
5993
  _ref$fontSize = _ref.fontSize,
@@ -6018,15 +5998,12 @@ var Text = function Text(_ref) {
6018
5998
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
6019
5999
  _ref$typeface = _ref.typeface,
6020
6000
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
6021
- _ref$allowFontScaling = _ref.allowFontScaling,
6022
- allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
6023
6001
  nativeProps = _objectWithoutProperties(_ref, _excluded$p);
6024
6002
  return /*#__PURE__*/React__default["default"].createElement(StyledText$3, _extends$1({}, nativeProps, {
6025
6003
  themeFontSize: fontSize,
6026
6004
  themeFontWeight: fontWeight,
6027
6005
  themeIntent: intent,
6028
- themeTypeface: typeface,
6029
- allowFontScaling: allowFontScaling
6006
+ themeTypeface: typeface
6030
6007
  }), children);
6031
6008
  };
6032
6009
 
@@ -6860,15 +6837,12 @@ var StyledTextWrapper$1 = index$a(reactNative.View)(function () {
6860
6837
  height: '100%'
6861
6838
  };
6862
6839
  });
6863
- var StyledText$2 = index$a(Typography.Text)(function (_ref2) {
6840
+ var StyledText$2 = index$a(reactNative.Text)(function (_ref2) {
6864
6841
  var themeSize = _ref2.themeSize,
6865
6842
  theme = _ref2.theme;
6866
6843
  return {
6867
6844
  fontFamily: theme.__hd__.avatar.fonts["default"],
6868
6845
  fontSize: theme.__hd__.avatar.fontSizes[themeSize],
6869
- lineHeight: 0,
6870
- textAlignVertical: 'center',
6871
- textAlign: 'center',
6872
6846
  color: theme.__hd__.avatar.colors.text,
6873
6847
  overflow: 'hidden'
6874
6848
  };
@@ -7017,12 +6991,11 @@ var StyledView$2 = index$a(reactNative.Animated.View)(function (_ref) {
7017
6991
  paddingHorizontal: themePadding === 'wideContent' ? theme.__hd__.badge.space.horizontalPadding : undefined
7018
6992
  };
7019
6993
  });
7020
- var StyledText$1 = index$a(Typography.Text)(function (_ref2) {
6994
+ var StyledText$1 = index$a(reactNative.Text)(function (_ref2) {
7021
6995
  var theme = _ref2.theme;
7022
6996
  return {
7023
6997
  fontFamily: theme.__hd__.badge.fonts["default"],
7024
6998
  fontSize: theme.__hd__.badge.fontSizes["default"],
7025
- lineHeight: theme.__hd__.badge.lineHeights["default"],
7026
6999
  color: theme.__hd__.badge.colors.text,
7027
7000
  includeFontPadding: false,
7028
7001
  textAlignVertical: 'center',
@@ -11572,7 +11545,7 @@ var StyledErrorAndMaxLengthContainer = index$a(reactNative.View)(function () {
11572
11545
  };
11573
11546
  });
11574
11547
 
11575
- var _excluded$a = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling"];
11548
+ var _excluded$a = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "helpText", "value", "defaultValue", "renderInputValue"];
11576
11549
  var getVariant$1 = function getVariant(_ref) {
11577
11550
  var disabled = _ref.disabled,
11578
11551
  error = _ref.error,
@@ -11618,8 +11591,6 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
11618
11591
  value = _ref2.value,
11619
11592
  defaultValue = _ref2.defaultValue,
11620
11593
  renderInputValue = _ref2.renderInputValue,
11621
- _ref2$allowFontScalin = _ref2.allowFontScaling,
11622
- allowFontScaling = _ref2$allowFontScalin === void 0 ? false : _ref2$allowFontScalin,
11623
11594
  nativeProps = _objectWithoutProperties(_ref2, _excluded$a);
11624
11595
  var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
11625
11596
  var isEmptyValue = displayText.length === 0;
@@ -11708,8 +11679,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
11708
11679
  },
11709
11680
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
11710
11681
  // @ts-ignore
11711
- accessibilityLabelledBy: accessibilityLabelledBy,
11712
- allowFontScaling: allowFontScaling
11682
+ accessibilityLabelledBy: accessibilityLabelledBy
11713
11683
  }, nativeProps), {}, {
11714
11684
  onFocus: function onFocus(event) {
11715
11685
  var _nativeProps$onFocus;
@@ -12246,7 +12216,7 @@ var StyledWrapper$5 = index$a(reactNative.View)(function (_ref) {
12246
12216
  padding: theme.__hd__.empty.space.wrapperPadding
12247
12217
  };
12248
12218
  });
12249
- var StyledTitle = index$a(Typography.Text)(function (_ref2) {
12219
+ var StyledTitle = index$a(reactNative.Text)(function (_ref2) {
12250
12220
  var theme = _ref2.theme,
12251
12221
  themeVariant = _ref2.themeVariant;
12252
12222
  return {
@@ -12257,7 +12227,7 @@ var StyledTitle = index$a(Typography.Text)(function (_ref2) {
12257
12227
  color: themeVariant === 'dark' ? theme.__hd__.empty.colors.invertedText : theme.__hd__.empty.colors.text
12258
12228
  };
12259
12229
  });
12260
- var StyledDescription = index$a(Typography.Text)(function (_ref3) {
12230
+ var StyledDescription = index$a(reactNative.Text)(function (_ref3) {
12261
12231
  var theme = _ref3.theme,
12262
12232
  themeVariant = _ref3.themeVariant;
12263
12233
  return {
@@ -12314,7 +12284,7 @@ var StyledFABIcon = index$a(Icon)(function (_ref2) {
12314
12284
  textAlign: 'center'
12315
12285
  };
12316
12286
  });
12317
- var StyledFABText = index$a(Typography.Text)(function (_ref3) {
12287
+ var StyledFABText = index$a(reactNative.Text)(function (_ref3) {
12318
12288
  var theme = _ref3.theme;
12319
12289
  return {
12320
12290
  fontFamily: theme.__hd__.fab.fonts.title,
@@ -12797,13 +12767,12 @@ var StyledCell = index$a(reactNative.View)(function (_ref) {
12797
12767
  borderColor: theme.__hd__.pinInput.colors[themeState]
12798
12768
  };
12799
12769
  });
12800
- var StyledCellText = index$a(Typography.Text)(function (_ref2) {
12770
+ var StyledCellText = index$a(reactNative.Text)(function (_ref2) {
12801
12771
  var theme = _ref2.theme,
12802
12772
  themeState = _ref2.themeState;
12803
12773
  return {
12804
12774
  fontFamily: theme.__hd__.pinInput.fonts.cellText,
12805
12775
  fontSize: theme.__hd__.pinInput.fontSizes.cellText,
12806
- lineHeight: theme.__hd__.pinInput.lineHeights.cellText,
12807
12776
  color: theme.__hd__.pinInput.colors[themeState]
12808
12777
  };
12809
12778
  });
@@ -12854,11 +12823,10 @@ var StyledErrorContainer = index$a(reactNative.View)(function (_ref7) {
12854
12823
  var theme = _ref7.theme;
12855
12824
  return {
12856
12825
  flexDirection: 'row',
12857
- paddingTop: theme.__hd__.pinInput.space.errorMessagePadding,
12858
- alignItems: 'center'
12826
+ paddingTop: theme.__hd__.pinInput.space.errorMessagePadding
12859
12827
  };
12860
12828
  });
12861
- var StyledErrorMessage = index$a(Typography.Text)(function (_ref8) {
12829
+ var StyledErrorMessage = index$a(reactNative.Text)(function (_ref8) {
12862
12830
  var theme = _ref8.theme;
12863
12831
  return {
12864
12832
  fontFamily: theme.__hd__.pinInput.fonts.errorMessage,
@@ -14557,8 +14525,9 @@ var getTabItem$1 = function getTabItem(_ref) {
14557
14525
  color: color
14558
14526
  });
14559
14527
  };
14560
- var ScrollableTab = function ScrollableTab(_ref2) {
14561
- var onTabPress = _ref2.onTabPress,
14528
+ var ScrollableTab = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
14529
+ var _ref2$onTabPress = _ref2.onTabPress,
14530
+ onTabPress = _ref2$onTabPress === void 0 ? noop : _ref2$onTabPress,
14562
14531
  selectedTabKey = _ref2.selectedTabKey,
14563
14532
  tabs = _ref2.tabs,
14564
14533
  containerStyle = _ref2.containerStyle,
@@ -14580,20 +14549,46 @@ var ScrollableTab = function ScrollableTab(_ref2) {
14580
14549
  var tabsAnims = useAnimatedValueArray(tabs.map(function (_, i) {
14581
14550
  return i === selectedTabIndex ? 1 : 0;
14582
14551
  }));
14552
+ React__default["default"].useImperativeHandle(ref, function () {
14553
+ return {
14554
+ selectTabKey: function selectTabKey(tabKey) {
14555
+ var index = tabs.findIndex(function (item) {
14556
+ return item.key === tabKey;
14557
+ });
14558
+ if (index !== -1) {
14559
+ var _flatListRef$current, _pagerViewRef$current;
14560
+ (_flatListRef$current = flatListRef.current) === null || _flatListRef$current === void 0 ? void 0 : _flatListRef$current.scrollToIndex({
14561
+ index: index,
14562
+ viewPosition: 0.5
14563
+ });
14564
+ (_pagerViewRef$current = pagerViewRef.current) === null || _pagerViewRef$current === void 0 ? void 0 : _pagerViewRef$current.setPage(index);
14565
+ if (onTabPress) {
14566
+ onTabPress(tabKey);
14567
+ }
14568
+ }
14569
+ },
14570
+ getFlatListRef: function getFlatListRef() {
14571
+ return flatListRef.current;
14572
+ },
14573
+ getPagerViewRef: function getPagerViewRef() {
14574
+ return pagerViewRef.current;
14575
+ }
14576
+ };
14577
+ }, [pagerViewRef, flatListRef, tabs]);
14583
14578
  React__default["default"].useEffect(function () {
14584
14579
  var timeoutHandle = null;
14585
14580
  if (selectedTabIndex !== -1) {
14586
- var _flatListRef$current;
14587
- (_flatListRef$current = flatListRef.current) === null || _flatListRef$current === void 0 ? void 0 : _flatListRef$current.scrollToIndex({
14581
+ var _flatListRef$current2;
14582
+ (_flatListRef$current2 = flatListRef.current) === null || _flatListRef$current2 === void 0 ? void 0 : _flatListRef$current2.scrollToIndex({
14588
14583
  index: selectedTabIndex,
14589
14584
  viewPosition: 0.5
14590
14585
  });
14591
14586
  // If the selected tab is changed too quickly, the setPage is crashed and not work anymore
14592
14587
  // We apply throttle to prevent this issue https://github.com/Thinkei/hero-design/issues/1715
14593
14588
  timeoutHandle = setTimeout(function () {
14594
- var _pagerViewRef$current;
14589
+ var _pagerViewRef$current2;
14595
14590
  // use no animation to prevent unexpected behavior if users select tab too quickly
14596
- (_pagerViewRef$current = pagerViewRef.current) === null || _pagerViewRef$current === void 0 ? void 0 : _pagerViewRef$current.setPageWithoutAnimation(selectedTabIndex);
14591
+ (_pagerViewRef$current2 = pagerViewRef.current) === null || _pagerViewRef$current2 === void 0 ? void 0 : _pagerViewRef$current2.setPageWithoutAnimation(selectedTabIndex);
14597
14592
  }, 200);
14598
14593
  }
14599
14594
  var animation = reactNative.Animated.parallel(_toConsumableArray(tabs.map(function (_, i) {
@@ -14610,7 +14605,7 @@ var ScrollableTab = function ScrollableTab(_ref2) {
14610
14605
  clearTimeout(timeoutHandle);
14611
14606
  }
14612
14607
  };
14613
- }, [selectedTabIndex, pagerViewRef]);
14608
+ }, [selectedTabIndex, selectedTabKey, pagerViewRef]);
14614
14609
  return /*#__PURE__*/React__default["default"].createElement(TabContainer, {
14615
14610
  style: containerStyle,
14616
14611
  testID: componentTestID
@@ -14629,8 +14624,8 @@ var ScrollableTab = function ScrollableTab(_ref2) {
14629
14624
  onScrollToIndexFailed: function onScrollToIndexFailed(_ref3) {
14630
14625
  var index = _ref3.index;
14631
14626
  setTimeout(function () {
14632
- var _flatListRef$current2;
14633
- return (_flatListRef$current2 = flatListRef.current) === null || _flatListRef$current2 === void 0 ? void 0 : _flatListRef$current2.scrollToIndex({
14627
+ var _flatListRef$current3;
14628
+ return (_flatListRef$current3 = flatListRef.current) === null || _flatListRef$current3 === void 0 ? void 0 : _flatListRef$current3.scrollToIndex({
14634
14629
  index: index,
14635
14630
  viewPosition: 0.5
14636
14631
  });
@@ -14686,7 +14681,7 @@ var ScrollableTab = function ScrollableTab(_ref2) {
14686
14681
  onPageSelected: function onPageSelected(e) {
14687
14682
  var index = e.nativeEvent.position;
14688
14683
  var selectedItem = tabs[index];
14689
- if (selectedItem) {
14684
+ if (selectedItem && selectedItem.key !== selectedTabKey) {
14690
14685
  onTabPress(selectedItem.key);
14691
14686
  }
14692
14687
  },
@@ -14706,7 +14701,7 @@ var ScrollableTab = function ScrollableTab(_ref2) {
14706
14701
  collapsable: false
14707
14702
  }, isLazyScreen ? null : component);
14708
14703
  })));
14709
- };
14704
+ });
14710
14705
 
14711
14706
  var getTabItem = function getTabItem(_ref) {
14712
14707
  var item = _ref.item,
@@ -14867,7 +14862,7 @@ var StyledView = index$a(reactNative.View)(function (_ref) {
14867
14862
  backgroundColor: backgroundColor
14868
14863
  };
14869
14864
  });
14870
- var StyledText = index$a(Typography.Text)(function (_ref3) {
14865
+ var StyledText = index$a(reactNative.Text)(function (_ref3) {
14871
14866
  var themeIntent = _ref3.themeIntent,
14872
14867
  themeVariant = _ref3.themeVariant,
14873
14868
  theme = _ref3.theme;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "8.12.4",
3
+ "version": " 8.12.5-alpha.0",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@emotion/native": "^11.9.3",
23
23
  "@emotion/react": "^11.9.3",
24
- "@hero-design/colors": "8.12.4",
24
+ "@hero-design/colors": "8.12.2",
25
25
  "date-fns": "^2.16.1",
26
26
  "events": "^3.2.0",
27
27
  "hero-editor": "^1.9.21"
@@ -44,7 +44,7 @@
44
44
  "@babel/preset-typescript": "^7.17.12",
45
45
  "@babel/runtime": "^7.18.9",
46
46
  "@emotion/jest": "^11.9.3",
47
- "@hero-design/eslint-plugin": "8.12.4",
47
+ "@hero-design/eslint-plugin": "8.12.2",
48
48
  "@react-native-community/datetimepicker": "^3.5.2",
49
49
  "@react-native-community/slider": "4.1.12",
50
50
  "@rollup/plugin-babel": "^5.3.1",
@@ -60,9 +60,9 @@
60
60
  "@types/react-native": "^0.67.7",
61
61
  "@types/react-native-vector-icons": "^6.4.10",
62
62
  "babel-plugin-inline-import": "^3.0.0",
63
- "eslint-config-hd": "8.12.4",
63
+ "eslint-config-hd": "8.12.2",
64
64
  "jest": "^27.3.1",
65
- "prettier-config-hd": "8.12.4",
65
+ "prettier-config-hd": "8.12.2",
66
66
  "react": "18.0.0",
67
67
  "react-native": "0.69.7",
68
68
  "react-native-gesture-handler": "~2.1.0",
@@ -34,7 +34,6 @@ exports[`AccordionItem renders correctly when header is an element 1`] = `
34
34
  }
35
35
  >
36
36
  <Text
37
- allowFontScaling={false}
38
37
  style={
39
38
  Array [
40
39
  Object {
@@ -108,7 +107,6 @@ exports[`AccordionItem renders correctly when header is an element 1`] = `
108
107
  }
109
108
  >
110
109
  <Text
111
- allowFontScaling={false}
112
110
  style={
113
111
  Array [
114
112
  Object {
@@ -168,7 +166,6 @@ exports[`AccordionItem renders correctly when header is string 1`] = `
168
166
  }
169
167
  >
170
168
  <Text
171
- allowFontScaling={false}
172
169
  style={
173
170
  Array [
174
171
  Object {
@@ -242,7 +239,6 @@ exports[`AccordionItem renders correctly when header is string 1`] = `
242
239
  }
243
240
  >
244
241
  <Text
245
- allowFontScaling={false}
246
242
  style={
247
243
  Array [
248
244
  Object {
@@ -302,7 +298,6 @@ exports[`AccordionItem renders correctly when open 1`] = `
302
298
  }
303
299
  >
304
300
  <Text
305
- allowFontScaling={false}
306
301
  style={
307
302
  Array [
308
303
  Object {
@@ -376,7 +371,6 @@ exports[`AccordionItem renders correctly when open 1`] = `
376
371
  }
377
372
  >
378
373
  <Text
379
- allowFontScaling={false}
380
374
  style={
381
375
  Array [
382
376
  Object {
@@ -436,7 +430,6 @@ exports[`AccordionItem renders correctly when variant is card 1`] = `
436
430
  }
437
431
  >
438
432
  <Text
439
- allowFontScaling={false}
440
433
  style={
441
434
  Array [
442
435
  Object {
@@ -510,7 +503,6 @@ exports[`AccordionItem renders correctly when variant is card 1`] = `
510
503
  }
511
504
  >
512
505
  <Text
513
- allowFontScaling={false}
514
506
  style={
515
507
  Array [
516
508
  Object {
@@ -42,7 +42,6 @@ exports[`Accordion allows fully controlled 1`] = `
42
42
  }
43
43
  >
44
44
  <Text
45
- allowFontScaling={false}
46
45
  style={
47
46
  Array [
48
47
  Object {
@@ -116,7 +115,6 @@ exports[`Accordion allows fully controlled 1`] = `
116
115
  }
117
116
  >
118
117
  <Text
119
- allowFontScaling={false}
120
118
  style={
121
119
  Array [
122
120
  Object {
@@ -173,7 +171,6 @@ exports[`Accordion allows fully controlled 1`] = `
173
171
  }
174
172
  >
175
173
  <Text
176
- allowFontScaling={false}
177
174
  style={
178
175
  Array [
179
176
  Object {
@@ -247,7 +244,6 @@ exports[`Accordion allows fully controlled 1`] = `
247
244
  }
248
245
  >
249
246
  <Text
250
- allowFontScaling={false}
251
247
  style={
252
248
  Array [
253
249
  Object {
@@ -316,7 +312,6 @@ exports[`Accordion renders correctly 1`] = `
316
312
  }
317
313
  >
318
314
  <Text
319
- allowFontScaling={false}
320
315
  style={
321
316
  Array [
322
317
  Object {
@@ -390,7 +385,6 @@ exports[`Accordion renders correctly 1`] = `
390
385
  }
391
386
  >
392
387
  <Text
393
- allowFontScaling={false}
394
388
  style={
395
389
  Array [
396
390
  Object {
@@ -447,7 +441,6 @@ exports[`Accordion renders correctly 1`] = `
447
441
  }
448
442
  >
449
443
  <Text
450
- allowFontScaling={false}
451
444
  style={
452
445
  Array [
453
446
  Object {
@@ -521,7 +514,6 @@ exports[`Accordion renders correctly 1`] = `
521
514
  }
522
515
  >
523
516
  <Text
524
- allowFontScaling={false}
525
517
  style={
526
518
  Array [
527
519
  Object {
@@ -590,7 +582,6 @@ exports[`Accordion renders correctly when variant is card 1`] = `
590
582
  }
591
583
  >
592
584
  <Text
593
- allowFontScaling={false}
594
585
  style={
595
586
  Array [
596
587
  Object {
@@ -664,7 +655,6 @@ exports[`Accordion renders correctly when variant is card 1`] = `
664
655
  }
665
656
  >
666
657
  <Text
667
- allowFontScaling={false}
668
658
  style={
669
659
  Array [
670
660
  Object {
@@ -732,7 +722,6 @@ exports[`Accordion renders correctly when variant is card 1`] = `
732
722
  }
733
723
  >
734
724
  <Text
735
- allowFontScaling={false}
736
725
  style={
737
726
  Array [
738
727
  Object {
@@ -806,7 +795,6 @@ exports[`Accordion renders correctly when variant is card 1`] = `
806
795
  }
807
796
  >
808
797
  <Text
809
- allowFontScaling={false}
810
798
  style={
811
799
  Array [
812
800
  Object {
@@ -70,7 +70,6 @@ exports[`Alert Icon render custom icon correctly 1`] = `
70
70
  }
71
71
  >
72
72
  <Text
73
- allowFontScaling={false}
74
73
  style={
75
74
  Array [
76
75
  Object {
@@ -165,7 +164,6 @@ exports[`Alert renders correctly when intent is error 1`] = `
165
164
  }
166
165
  >
167
166
  <Text
168
- allowFontScaling={false}
169
167
  style={
170
168
  Array [
171
169
  Object {
@@ -186,7 +184,6 @@ exports[`Alert renders correctly when intent is error 1`] = `
186
184
  Title
187
185
  </Text>
188
186
  <Text
189
- allowFontScaling={false}
190
187
  style={
191
188
  Array [
192
189
  Object {
@@ -316,7 +313,6 @@ exports[`Alert renders correctly when intent is info 1`] = `
316
313
  }
317
314
  >
318
315
  <Text
319
- allowFontScaling={false}
320
316
  style={
321
317
  Array [
322
318
  Object {
@@ -337,7 +333,6 @@ exports[`Alert renders correctly when intent is info 1`] = `
337
333
  Title
338
334
  </Text>
339
335
  <Text
340
- allowFontScaling={false}
341
336
  style={
342
337
  Array [
343
338
  Object {
@@ -440,7 +435,6 @@ exports[`Alert renders correctly when intent is notification 1`] = `
440
435
  }
441
436
  >
442
437
  <Text
443
- allowFontScaling={false}
444
438
  style={
445
439
  Array [
446
440
  Object {
@@ -461,7 +455,6 @@ exports[`Alert renders correctly when intent is notification 1`] = `
461
455
  Title
462
456
  </Text>
463
457
  <Text
464
- allowFontScaling={false}
465
458
  style={
466
459
  Array [
467
460
  Object {
@@ -591,7 +584,6 @@ exports[`Alert renders correctly when intent is success 1`] = `
591
584
  }
592
585
  >
593
586
  <Text
594
- allowFontScaling={false}
595
587
  style={
596
588
  Array [
597
589
  Object {
@@ -612,7 +604,6 @@ exports[`Alert renders correctly when intent is success 1`] = `
612
604
  Title
613
605
  </Text>
614
606
  <Text
615
- allowFontScaling={false}
616
607
  style={
617
608
  Array [
618
609
  Object {
@@ -742,7 +733,6 @@ exports[`Alert renders correctly when intent is warning 1`] = `
742
733
  }
743
734
  >
744
735
  <Text
745
- allowFontScaling={false}
746
736
  style={
747
737
  Array [
748
738
  Object {
@@ -763,7 +753,6 @@ exports[`Alert renders correctly when intent is warning 1`] = `
763
753
  Title
764
754
  </Text>
765
755
  <Text
766
- allowFontScaling={false}
767
756
  style={
768
757
  Array [
769
758
  Object {
@@ -893,7 +882,6 @@ exports[`Alert renders correctly without rounded 1`] = `
893
882
  }
894
883
  >
895
884
  <Text
896
- allowFontScaling={false}
897
885
  style={
898
886
  Array [
899
887
  Object {
@@ -914,7 +902,6 @@ exports[`Alert renders correctly without rounded 1`] = `
914
902
  Title
915
903
  </Text>
916
904
  <Text
917
- allowFontScaling={false}
918
905
  style={
919
906
  Array [
920
907
  Object {
@@ -61,7 +61,6 @@ exports[`Attachment renders correctly 1`] = `
61
61
  testID="attachment-content"
62
62
  >
63
63
  <Text
64
- allowFontScaling={false}
65
64
  numberOfLines={1}
66
65
  style={
67
66
  Array [
@@ -46,35 +46,18 @@ exports[`StyledAvatar renders correctly 1`] = `
46
46
  }
47
47
  >
48
48
  <Text
49
- allowFontScaling={false}
50
49
  style={
51
50
  Array [
52
51
  Object {
53
- "color": "#001f23",
52
+ "color": "#ffffff",
54
53
  "fontFamily": "BeVietnamPro-Regular",
55
- "fontSize": 14,
56
- "letterSpacing": 0.42,
57
- "lineHeight": 22,
54
+ "fontSize": 18,
55
+ "overflow": "hidden",
58
56
  },
59
- Array [
60
- Object {
61
- "color": "#ffffff",
62
- "fontFamily": "BeVietnamPro-Regular",
63
- "fontSize": 18,
64
- "lineHeight": 0,
65
- "overflow": "hidden",
66
- "textAlign": "center",
67
- "textAlignVertical": "center",
68
- },
69
- undefined,
70
- ],
57
+ undefined,
71
58
  ]
72
59
  }
73
- themeFontSize="medium"
74
- themeFontWeight="regular"
75
- themeIntent="body"
76
60
  themeSize="medium"
77
- themeTypeface="neutral"
78
61
  >
79
62
  AA
80
63
  </Text>