@hero-design/rn 8.82.0-alpha.0 → 8.82.1

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 (353) hide show
  1. package/.turbo/turbo-build.log +7 -0
  2. package/CHANGELOG.md +11 -1
  3. package/assets/fonts/Saiga-Light.otf +0 -0
  4. package/assets/fonts/Saiga-Medium.otf +0 -0
  5. package/assets/fonts/Saiga-Regular.otf +0 -0
  6. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  7. package/es/index.js +37391 -0
  8. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  9. package/lib/index.js +37488 -0
  10. package/package.json +1 -1
  11. package/src/components/BottomSheet/index.tsx +15 -13
  12. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +11 -11
  13. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
  14. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +8 -8
  15. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  16. package/src/components/Icon/IconList.ts +14 -0
  17. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
  18. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +4 -4
  19. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
  20. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +1 -1
  21. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +6 -6
  22. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
  23. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +21 -21
  24. package/src/theme/global/scale.ts +1 -1
  25. package/src/theme/global/typography.ts +2 -2
  26. package/stats/8.82.0/rn-stats.html +4842 -0
  27. package/stats/8.82.1/rn-stats.html +4844 -0
  28. package/types/components/Accordion/AccordionItem.d.ts +15 -0
  29. package/types/components/Accordion/StyledAccordion.d.ts +32 -0
  30. package/types/components/Accordion/index.d.ts +39 -0
  31. package/types/components/Alert/StyledAlert.d.ts +53 -0
  32. package/types/components/Alert/index.d.ts +58 -0
  33. package/types/components/AnimatedScroller/AnimatedFAB.d.ts +12 -0
  34. package/types/components/AnimatedScroller/AnimatedScrollable.d.ts +16 -0
  35. package/types/components/AnimatedScroller/FlatListWithFAB.d.ts +12 -0
  36. package/types/components/AnimatedScroller/ScrollViewWithFAB.d.ts +12 -0
  37. package/types/components/AnimatedScroller/SectionListWithFAB.d.ts +12 -0
  38. package/types/components/AnimatedScroller/index.d.ts +4 -0
  39. package/types/components/Attachment/StyledAttachment.d.ts +28 -0
  40. package/types/components/Attachment/index.d.ts +38 -0
  41. package/types/components/Avatar/Avatar.d.ts +34 -0
  42. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +30 -0
  43. package/types/components/Avatar/AvatarStack/index.d.ts +35 -0
  44. package/types/components/Avatar/AvatarStack/utils.d.ts +4 -0
  45. package/types/components/Avatar/StyledAvatar.d.ts +34 -0
  46. package/types/components/Avatar/index.d.ts +6 -0
  47. package/types/components/Badge/Status.d.ts +24 -0
  48. package/types/components/Badge/StyledBadge.d.ts +33 -0
  49. package/types/components/Badge/index.d.ts +6 -0
  50. package/types/components/Badge/types.d.ts +53 -0
  51. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +51 -0
  52. package/types/components/BottomNavigation/index.d.ts +45 -0
  53. package/types/components/BottomSheet/BottomSheetContext.d.ts +5 -0
  54. package/types/components/BottomSheet/Footer.d.ts +7 -0
  55. package/types/components/BottomSheet/Header.d.ts +10 -0
  56. package/types/components/BottomSheet/ScrollView.d.ts +3 -0
  57. package/types/components/BottomSheet/StyledBottomSheet.d.ts +61 -0
  58. package/types/components/BottomSheet/index.d.ts +74 -0
  59. package/types/components/Box/StyledBox.d.ts +15 -0
  60. package/types/components/Box/config.d.ts +170 -0
  61. package/types/components/Box/index.d.ts +6 -0
  62. package/types/components/Box/types.d.ts +31 -0
  63. package/types/components/Button/Button.d.ts +57 -0
  64. package/types/components/Button/IconButton.d.ts +39 -0
  65. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +20 -0
  66. package/types/components/Button/LoadingIndicator/index.d.ts +27 -0
  67. package/types/components/Button/StyledButton.d.ts +48 -0
  68. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +17 -0
  69. package/types/components/Button/UtilityButton/index.d.ts +24 -0
  70. package/types/components/Button/index.d.ts +10 -0
  71. package/types/components/Calendar/CalendarRowItem.d.ts +12 -0
  72. package/types/components/Calendar/StyledCalendar.d.ts +62 -0
  73. package/types/components/Calendar/helpers.d.ts +3 -0
  74. package/types/components/Calendar/index.d.ts +58 -0
  75. package/types/components/Card/DataCard/StyledDataCard.d.ts +16 -0
  76. package/types/components/Card/DataCard/index.d.ts +22 -0
  77. package/types/components/Card/StyledCard.d.ts +11 -0
  78. package/types/components/Card/index.d.ts +25 -0
  79. package/types/components/Carousel/CardCarousel.d.ts +42 -0
  80. package/types/components/Carousel/CarouselItem.d.ts +7 -0
  81. package/types/components/Carousel/StyledCardCarousel.d.ts +24 -0
  82. package/types/components/Carousel/StyledCarousel.d.ts +54 -0
  83. package/types/components/Carousel/contants.d.ts +2 -0
  84. package/types/components/Carousel/index.d.ts +44 -0
  85. package/types/components/Carousel/types.d.ts +14 -0
  86. package/types/components/Checkbox/StyledCheckbox.d.ts +35 -0
  87. package/types/components/Checkbox/index.d.ts +44 -0
  88. package/types/components/Chip/StyledChip.d.ts +16 -0
  89. package/types/components/Chip/index.d.ts +31 -0
  90. package/types/components/Collapse/StyledCollapse.d.ts +23 -0
  91. package/types/components/Collapse/index.d.ts +20 -0
  92. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +8 -0
  93. package/types/components/ContentNavigator/index.d.ts +43 -0
  94. package/types/components/DatePicker/DatePickerAndroid.d.ts +7 -0
  95. package/types/components/DatePicker/DatePickerCalendar.d.ts +4 -0
  96. package/types/components/DatePicker/DatePickerIOS.d.ts +7 -0
  97. package/types/components/DatePicker/StyledDatePicker.d.ts +9 -0
  98. package/types/components/DatePicker/index.d.ts +4 -0
  99. package/types/components/DatePicker/types.d.ts +79 -0
  100. package/types/components/DatePicker/useCalculateDate.d.ts +4 -0
  101. package/types/components/Divider/StyledDivider.d.ts +12 -0
  102. package/types/components/Divider/index.d.ts +22 -0
  103. package/types/components/Drawer/DragableDrawer/helpers.d.ts +8 -0
  104. package/types/components/Drawer/DragableDrawer/index.d.ts +33 -0
  105. package/types/components/Drawer/StyledDrawer.d.ts +49 -0
  106. package/types/components/Drawer/index.d.ts +27 -0
  107. package/types/components/Empty/StyledEmpty.d.ts +21 -0
  108. package/types/components/Empty/index.d.ts +31 -0
  109. package/types/components/Error/StyledError.d.ts +53 -0
  110. package/types/components/Error/index.d.ts +56 -0
  111. package/types/components/FAB/ActionGroup/ActionItem.d.ts +18 -0
  112. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +27 -0
  113. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +18 -0
  114. package/types/components/FAB/ActionGroup/index.d.ts +54 -0
  115. package/types/components/FAB/AnimatedFABIcon.d.ts +7 -0
  116. package/types/components/FAB/FAB.d.ts +40 -0
  117. package/types/components/FAB/Pair/StyledFAB.d.ts +12 -0
  118. package/types/components/FAB/Pair/index.d.ts +16 -0
  119. package/types/components/FAB/StyledFAB.d.ts +21 -0
  120. package/types/components/FAB/index.d.ts +5 -0
  121. package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +19 -0
  122. package/types/components/FloatingIsland/index.d.ts +23 -0
  123. package/types/components/HeroDesignProvider/index.d.ts +4 -0
  124. package/types/components/Icon/AnimatedIcon.d.ts +6 -0
  125. package/types/components/Icon/HeroIcon/index.d.ts +12 -0
  126. package/types/components/Icon/IconList.d.ts +2 -0
  127. package/types/components/Icon/index.d.ts +35 -0
  128. package/types/components/Icon/utils.d.ts +2 -0
  129. package/types/components/Image/index.d.ts +17 -0
  130. package/types/components/List/BasicListItem.d.ts +43 -0
  131. package/types/components/List/ListItem.d.ts +52 -0
  132. package/types/components/List/StyledBasicListItem.d.ts +29 -0
  133. package/types/components/List/StyledListItem.d.ts +51 -0
  134. package/types/components/List/index.d.ts +8 -0
  135. package/types/components/MapPin/Focussed.d.ts +13 -0
  136. package/types/components/MapPin/StyledMapPin.d.ts +31 -0
  137. package/types/components/MapPin/index.d.ts +5 -0
  138. package/types/components/MapPin/types.d.ts +38 -0
  139. package/types/components/Modal/index.d.ts +37 -0
  140. package/types/components/PageControl/StyledPageControl.d.ts +12 -0
  141. package/types/components/PageControl/index.d.ts +22 -0
  142. package/types/components/PinInput/PinCell.d.ts +9 -0
  143. package/types/components/PinInput/StyledPinInput.d.ts +69 -0
  144. package/types/components/PinInput/index.d.ts +69 -0
  145. package/types/components/Portal/PortalHost.d.ts +5 -0
  146. package/types/components/Portal/PortalProvider.d.ts +7 -0
  147. package/types/components/Portal/constants.d.ts +8 -0
  148. package/types/components/Portal/contexts.d.ts +9 -0
  149. package/types/components/Portal/index.d.ts +18 -0
  150. package/types/components/Portal/reducer.d.ts +5 -0
  151. package/types/components/Portal/types.d.ts +22 -0
  152. package/types/components/Portal/usePortal.d.ts +8 -0
  153. package/types/components/Portal/usePortalState.d.ts +1 -0
  154. package/types/components/Progress/ProgressBar.d.ts +18 -0
  155. package/types/components/Progress/ProgressCircle.d.ts +20 -0
  156. package/types/components/Progress/ProgressStep.d.ts +20 -0
  157. package/types/components/Progress/StyledProgressBar.d.ts +18 -0
  158. package/types/components/Progress/StyledProgressCircle.d.ts +46 -0
  159. package/types/components/Progress/StyledStep.d.ts +23 -0
  160. package/types/components/Progress/__tests__/index.spec.d.ts +1 -0
  161. package/types/components/Progress/constants.d.ts +15 -0
  162. package/types/components/Progress/index.d.ts +6 -0
  163. package/types/components/Progress/types.d.ts +1 -0
  164. package/types/components/Radio/Radio.d.ts +38 -0
  165. package/types/components/Radio/RadioGroup.d.ts +36 -0
  166. package/types/components/Radio/StyledRadio.d.ts +30 -0
  167. package/types/components/Radio/index.d.ts +4 -0
  168. package/types/components/Radio/types.d.ts +8 -0
  169. package/types/components/Rate/StyledRate.d.ts +10 -0
  170. package/types/components/Rate/index.d.ts +29 -0
  171. package/types/components/RefreshControl/index.d.ts +5 -0
  172. package/types/components/RichTextEditor/EditorEvent.d.ts +4 -0
  173. package/types/components/RichTextEditor/EditorToolbar.d.ts +18 -0
  174. package/types/components/RichTextEditor/MentionList.d.ts +17 -0
  175. package/types/components/RichTextEditor/RichTextEditor.d.ts +70 -0
  176. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +16 -0
  177. package/types/components/RichTextEditor/StyledToolbar.d.ts +21 -0
  178. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +2 -0
  179. package/types/components/RichTextEditor/constants.d.ts +9 -0
  180. package/types/components/RichTextEditor/heroEditorApp.d.ts +2 -0
  181. package/types/components/RichTextEditor/index.d.ts +7 -0
  182. package/types/components/RichTextEditor/types.d.ts +1 -0
  183. package/types/components/RichTextEditor/utils/events.d.ts +8 -0
  184. package/types/components/RichTextEditor/utils/rnWebView.d.ts +7 -0
  185. package/types/components/Search/SearchOneLine.d.ts +69 -0
  186. package/types/components/Search/SearchSuffixIcon.d.ts +24 -0
  187. package/types/components/Search/SearchTwoLine.d.ts +36 -0
  188. package/types/components/Search/StyledSearch.d.ts +49 -0
  189. package/types/components/Search/index.d.ts +10 -0
  190. package/types/components/Search/utils.d.ts +8 -0
  191. package/types/components/SectionHeading/StyledHeading.d.ts +23 -0
  192. package/types/components/SectionHeading/index.d.ts +45 -0
  193. package/types/components/Select/BaseOptionList.d.ts +8 -0
  194. package/types/components/Select/Footer.d.ts +6 -0
  195. package/types/components/Select/MultiSelect/Option.d.ts +10 -0
  196. package/types/components/Select/MultiSelect/OptionList.d.ts +9 -0
  197. package/types/components/Select/MultiSelect/index.d.ts +30 -0
  198. package/types/components/Select/SingleSelect/Option.d.ts +10 -0
  199. package/types/components/Select/SingleSelect/OptionList.d.ts +11 -0
  200. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +1 -0
  201. package/types/components/Select/SingleSelect/index.d.ts +23 -0
  202. package/types/components/Select/StyledSelect.d.ts +21 -0
  203. package/types/components/Select/helpers.d.ts +14 -0
  204. package/types/components/Select/index.d.ts +8 -0
  205. package/types/components/Select/types.d.ts +84 -0
  206. package/types/components/Skeleton/StyledSkeleton.d.ts +16 -0
  207. package/types/components/Skeleton/index.d.ts +14 -0
  208. package/types/components/Slider/index.d.ts +53 -0
  209. package/types/components/Spinner/AnimatedSpinner.d.ts +6 -0
  210. package/types/components/Spinner/StyledSpinner.d.ts +34 -0
  211. package/types/components/Spinner/index.d.ts +18 -0
  212. package/types/components/Success/StyledSuccess.d.ts +49 -0
  213. package/types/components/Success/index.d.ts +50 -0
  214. package/types/components/Swipeable/StyledSwipeable.d.ts +10 -0
  215. package/types/components/Swipeable/SwipeableAction.d.ts +27 -0
  216. package/types/components/Swipeable/index.d.ts +49 -0
  217. package/types/components/Switch/SelectorSwitch/Option.d.ts +16 -0
  218. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +19 -0
  219. package/types/components/Switch/SelectorSwitch/index.d.ts +37 -0
  220. package/types/components/Switch/StyledSwitch.d.ts +15 -0
  221. package/types/components/Switch/index.d.ts +28 -0
  222. package/types/components/Tabs/ActiveTabIndicator.d.ts +9 -0
  223. package/types/components/Tabs/SceneView.d.ts +10 -0
  224. package/types/components/Tabs/ScrollableTabs.d.ts +7 -0
  225. package/types/components/Tabs/ScrollableTabsHeader/ScrollableTabsHeader.d.ts +40 -0
  226. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +9 -0
  227. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +10 -0
  228. package/types/components/Tabs/StyledScrollableTabs.d.ts +55 -0
  229. package/types/components/Tabs/StyledTabs.d.ts +51 -0
  230. package/types/components/Tabs/TabWithBadge.d.ts +16 -0
  231. package/types/components/Tabs/index.d.ts +62 -0
  232. package/types/components/Tabs/useHandlePageScroll.d.ts +8 -0
  233. package/types/components/Tabs/useIsFocused.d.ts +6 -0
  234. package/types/components/Tabs/utils.d.ts +2 -0
  235. package/types/components/Tag/StyledTag.d.ts +17 -0
  236. package/types/components/Tag/index.d.ts +27 -0
  237. package/types/components/TextInput/StyledTextInput.d.ts +86 -0
  238. package/types/components/TextInput/index.d.ts +124 -0
  239. package/types/components/TimePicker/StyledTimePicker.d.ts +9 -0
  240. package/types/components/TimePicker/TimePickerAndroid.d.ts +4 -0
  241. package/types/components/TimePicker/TimePickerIOS.d.ts +4 -0
  242. package/types/components/TimePicker/index.d.ts +4 -0
  243. package/types/components/TimePicker/types.d.ts +61 -0
  244. package/types/components/Toast/StyledToast.d.ts +59 -0
  245. package/types/components/Toast/Toast.d.ts +3 -0
  246. package/types/components/Toast/ToastContainer.d.ts +5 -0
  247. package/types/components/Toast/ToastContext.d.ts +12 -0
  248. package/types/components/Toast/ToastProvider.d.ts +11 -0
  249. package/types/components/Toast/index.d.ts +8 -0
  250. package/types/components/Toast/types.d.ts +72 -0
  251. package/types/components/Toolbar/StyledToolbar.d.ts +71 -0
  252. package/types/components/Toolbar/ToolbarGroup.d.ts +14 -0
  253. package/types/components/Toolbar/ToolbarItem.d.ts +31 -0
  254. package/types/components/Toolbar/ToolbarMessage.d.ts +59 -0
  255. package/types/components/Toolbar/index.d.ts +14 -0
  256. package/types/components/Typography/Body/StyledBody.d.ts +14 -0
  257. package/types/components/Typography/Body/__tests__/StyledBody.d.ts +1 -0
  258. package/types/components/Typography/Body/index.d.ts +33 -0
  259. package/types/components/Typography/Caption/StyledCaption.d.ts +12 -0
  260. package/types/components/Typography/Caption/index.d.ts +27 -0
  261. package/types/components/Typography/Label/StyledLabel.d.ts +11 -0
  262. package/types/components/Typography/Label/__tests__/StyledLabel.d.ts +1 -0
  263. package/types/components/Typography/Label/index.d.ts +23 -0
  264. package/types/components/Typography/Text/StyledText.d.ts +13 -0
  265. package/types/components/Typography/Text/index.d.ts +37 -0
  266. package/types/components/Typography/Title/StyledTitle.d.ts +14 -0
  267. package/types/components/Typography/Title/__tests__/StyledTitle.d.ts +1 -0
  268. package/types/components/Typography/Title/index.d.ts +33 -0
  269. package/types/components/Typography/index.d.ts +17 -0
  270. package/types/components/Typography/types.d.ts +6 -0
  271. package/types/index.d.ts +57 -0
  272. package/types/testHelpers/renderWithTheme.d.ts +3 -0
  273. package/types/testHelpers/utils.d.ts +1 -0
  274. package/types/theme/ThemeProvider.d.ts +12 -0
  275. package/types/theme/ThemeSwitcher.d.ts +8 -0
  276. package/types/theme/components/accordion.d.ts +13 -0
  277. package/types/theme/components/alert.d.ts +36 -0
  278. package/types/theme/components/attachment.d.ts +21 -0
  279. package/types/theme/components/avatar.d.ts +50 -0
  280. package/types/theme/components/badge.d.ts +56 -0
  281. package/types/theme/components/bottomNavigation.d.ts +23 -0
  282. package/types/theme/components/bottomSheet.d.ts +38 -0
  283. package/types/theme/components/button.d.ts +72 -0
  284. package/types/theme/components/calendar.d.ts +28 -0
  285. package/types/theme/components/card.d.ts +21 -0
  286. package/types/theme/components/cardCarousel.d.ts +15 -0
  287. package/types/theme/components/carousel.d.ts +36 -0
  288. package/types/theme/components/checkbox.d.ts +27 -0
  289. package/types/theme/components/chip.d.ts +43 -0
  290. package/types/theme/components/contentNavigator.d.ts +7 -0
  291. package/types/theme/components/datePicker.d.ts +7 -0
  292. package/types/theme/components/divider.d.ts +17 -0
  293. package/types/theme/components/drawer.d.ts +30 -0
  294. package/types/theme/components/empty.d.ts +37 -0
  295. package/types/theme/components/error.d.ts +51 -0
  296. package/types/theme/components/fab.d.ts +71 -0
  297. package/types/theme/components/floatingIsland.d.ts +32 -0
  298. package/types/theme/components/icon.d.ts +23 -0
  299. package/types/theme/components/image.d.ts +8 -0
  300. package/types/theme/components/list.d.ts +46 -0
  301. package/types/theme/components/mapPin.d.ts +39 -0
  302. package/types/theme/components/pageControl.d.ts +18 -0
  303. package/types/theme/components/pinInput.d.ts +57 -0
  304. package/types/theme/components/progress.d.ts +51 -0
  305. package/types/theme/components/radio.d.ts +24 -0
  306. package/types/theme/components/rate.d.ts +11 -0
  307. package/types/theme/components/refreshControl.d.ts +7 -0
  308. package/types/theme/components/richTextEditor.d.ts +28 -0
  309. package/types/theme/components/search.d.ts +64 -0
  310. package/types/theme/components/sectionHeading.d.ts +14 -0
  311. package/types/theme/components/select.d.ts +18 -0
  312. package/types/theme/components/skeleton.d.ts +17 -0
  313. package/types/theme/components/slider.d.ts +9 -0
  314. package/types/theme/components/spinner.d.ts +27 -0
  315. package/types/theme/components/success.d.ts +43 -0
  316. package/types/theme/components/swipeable.d.ts +16 -0
  317. package/types/theme/components/switch.d.ts +38 -0
  318. package/types/theme/components/tabs.d.ts +30 -0
  319. package/types/theme/components/tag.d.ts +53 -0
  320. package/types/theme/components/textInput.d.ts +87 -0
  321. package/types/theme/components/timePicker.d.ts +7 -0
  322. package/types/theme/components/toast.d.ts +50 -0
  323. package/types/theme/components/toolbar.d.ts +47 -0
  324. package/types/theme/components/typography.d.ts +165 -0
  325. package/types/theme/getTheme.d.ts +106 -0
  326. package/types/theme/global/borders.d.ts +18 -0
  327. package/types/theme/global/colors/eBens.d.ts +3 -0
  328. package/types/theme/global/colors/global.d.ts +3 -0
  329. package/types/theme/global/colors/globalDark.d.ts +3 -0
  330. package/types/theme/global/colors/jobs.d.ts +3 -0
  331. package/types/theme/global/colors/swag.d.ts +3 -0
  332. package/types/theme/global/colors/swagDark.d.ts +3 -0
  333. package/types/theme/global/colors/swagLight.d.ts +3 -0
  334. package/types/theme/global/colors/swagLightGlobal.d.ts +3 -0
  335. package/types/theme/global/colors/swagLightJobs.d.ts +48 -0
  336. package/types/theme/global/colors/types.d.ts +50 -0
  337. package/types/theme/global/colors/wallet.d.ts +3 -0
  338. package/types/theme/global/colors/work.d.ts +3 -0
  339. package/types/theme/global/index.d.ts +82 -0
  340. package/types/theme/global/scale.d.ts +14 -0
  341. package/types/theme/global/shadows.d.ts +16 -0
  342. package/types/theme/global/sizes.d.ts +14 -0
  343. package/types/theme/global/space.d.ts +16 -0
  344. package/types/theme/global/typography.d.ts +31 -0
  345. package/types/theme/index.d.ts +9 -0
  346. package/types/types.d.ts +14 -0
  347. package/types/utils/functions.d.ts +1 -0
  348. package/types/utils/helpers.d.ts +4 -0
  349. package/types/utils/hooks.d.ts +3 -0
  350. package/types/utils/scale.d.ts +3 -0
  351. package/assets/fonts/RebondGrotesque-Light.otf +0 -0
  352. package/assets/fonts/RebondGrotesque-SemiBold.otf +0 -0
  353. package/assets/fonts/RebondGrotesque.otf +0 -0
@@ -0,0 +1,59 @@
1
+ import React from 'react';
2
+ import { TextInput as RNTextInput } from 'react-native';
3
+ import type { TextInputProps as NativeTextInputProps, StyleProp, ViewStyle, TextStyle } from 'react-native';
4
+ import { ToolbarMessageState } from './StyledToolbar';
5
+ export declare type ToolbarMessageHandles = Pick<RNTextInput, 'focus' | 'clear' | 'blur' | 'isFocused' | 'setNativeProps'>;
6
+ export interface ToolbarMessageProps extends NativeTextInputProps {
7
+ /**
8
+ * Element to render on the left side of the input, before the user's cursor.
9
+ */
10
+ prefix?: React.ReactNode;
11
+ /**
12
+ * Element to render on the right side of the input.
13
+ */
14
+ suffix?: React.ReactNode;
15
+ /**
16
+ * Additional wrapper style.
17
+ */
18
+ style?: StyleProp<ViewStyle>;
19
+ /**
20
+ * Input text style.
21
+ */
22
+ textStyle?: StyleProp<TextStyle>;
23
+ /**
24
+ * Testing id of the component.
25
+ */
26
+ testID?: string;
27
+ /**
28
+ * Accessibility label for the input (Android).
29
+ */
30
+ accessibilityLabelledBy?: string;
31
+ /**
32
+ * Placeholder text to display.
33
+ * */
34
+ placeholder?: string;
35
+ /**
36
+ * Whether the input is editable.
37
+ * */
38
+ editable?: boolean;
39
+ /**
40
+ * Whether the input is disabled.
41
+ */
42
+ disabled?: boolean;
43
+ /**
44
+ * The max length of the input.
45
+ * If the max length is set, the input will display the current length and the max length.
46
+ * */
47
+ maxLength?: number;
48
+ /**
49
+ * Component ref.
50
+ */
51
+ ref?: React.Ref<ToolbarMessageHandles>;
52
+ }
53
+ export declare const getState: ({ disabled, editable, isEmptyValue, }: {
54
+ disabled?: boolean | undefined;
55
+ editable?: boolean | undefined;
56
+ isEmptyValue?: boolean | undefined;
57
+ }) => ToolbarMessageState;
58
+ declare const ToolbarMessage: React.ForwardRefExoticComponent<Omit<ToolbarMessageProps, "ref"> & React.RefAttributes<ToolbarMessageHandles>>;
59
+ export default ToolbarMessage;
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import type { ReactNode } from 'react';
3
+ import { ViewProps } from 'react-native';
4
+ export interface ToolbarProps extends Omit<ViewProps, 'style'> {
5
+ /**
6
+ * Toolbar's content.
7
+ */
8
+ children?: ReactNode;
9
+ }
10
+ declare const _default: (({ children, ...rest }: ToolbarProps) => React.JSX.Element) & {
11
+ Group: ({ align, items }: import("./ToolbarGroup").ToolbarGroupProps) => React.JSX.Element;
12
+ Message: React.ForwardRefExoticComponent<Omit<import("./ToolbarMessage").ToolbarMessageProps, "ref"> & React.RefAttributes<import("./ToolbarMessage").ToolbarMessageHandles>>;
13
+ };
14
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { Text } from 'react-native';
2
+ import { ThemeIntent } from '../types';
3
+ declare type ThemeVariant = 'small' | 'small-bold' | 'regular' | 'regular-bold';
4
+ declare const StyledBody: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
5
+ theme?: import("@emotion/react").Theme | undefined;
6
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
+ } & {
8
+ themeIntent: ThemeIntent;
9
+ themeTypeface: 'neutral' | 'playful';
10
+ themeVariant: ThemeVariant;
11
+ }, {}, {
12
+ ref?: import("react").Ref<Text> | undefined;
13
+ }>;
14
+ export { StyledBody };
@@ -0,0 +1,33 @@
1
+ import React from 'react';
2
+ import type { ReactNode } from 'react';
3
+ import type { TextProps as NativeTextProps, StyleProp, TextStyle } from 'react-native';
4
+ export interface BodyProps extends NativeTextProps {
5
+ /**
6
+ * Text content.
7
+ */
8
+ children: ReactNode;
9
+ /**
10
+ * Visual intent color to apply to the text.
11
+ */
12
+ intent?: 'body' | 'subdued' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'inverted' | 'archived' | 'disabled' | 'muted';
13
+ /**
14
+ * Additional style.
15
+ */
16
+ style?: StyleProp<TextStyle>;
17
+ /**
18
+ * Testing id of the component.
19
+ */
20
+ testID?: string;
21
+ /**
22
+ * The typeface to render the text in:
23
+ * - `neutral`: The default typeface for the platform.
24
+ * - `playful`: To visualise a playful content.
25
+ */
26
+ typeface?: 'neutral' | 'playful';
27
+ /**
28
+ * size variant of the text.
29
+ * */
30
+ variant?: 'regular' | 'regular-bold' | 'small' | 'small-bold';
31
+ }
32
+ declare const Body: ({ children, intent, allowFontScaling, typeface, variant, ...nativeProps }: BodyProps) => React.JSX.Element;
33
+ export default Body;
@@ -0,0 +1,12 @@
1
+ import { Text } from 'react-native';
2
+ import { ThemeIntent } from '../types';
3
+ declare const StyledCaption: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
+ } & {
7
+ themeFontWeight: 'regular' | 'semi-bold';
8
+ themeIntent: ThemeIntent;
9
+ }, {}, {
10
+ ref?: import("react").Ref<Text> | undefined;
11
+ }>;
12
+ export { StyledCaption };
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import type { ReactNode } from 'react';
3
+ import type { TextProps as NativeTextProps, StyleProp, TextStyle } from 'react-native';
4
+ export interface CaptionProps extends NativeTextProps {
5
+ /**
6
+ * Text content.
7
+ */
8
+ children: ReactNode;
9
+ /**
10
+ * Font weight of the text.
11
+ */
12
+ fontWeight?: 'regular' | 'semi-bold';
13
+ /**
14
+ * Visual intent color to apply to the text.
15
+ */
16
+ intent?: 'body' | 'subdued' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'inverted' | 'archived' | 'disabled' | 'muted';
17
+ /**
18
+ * Additional style.
19
+ */
20
+ style?: StyleProp<TextStyle>;
21
+ /**
22
+ * Testing id of the component.
23
+ */
24
+ testID?: string;
25
+ }
26
+ declare const Caption: ({ children, fontWeight, intent, allowFontScaling, ...nativeProps }: CaptionProps) => React.JSX.Element;
27
+ export default Caption;
@@ -0,0 +1,11 @@
1
+ import { Text } from 'react-native';
2
+ import { ThemeIntent } from '../types';
3
+ declare const StyledLabel: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
+ } & {
7
+ themeIntent: ThemeIntent;
8
+ }, {}, {
9
+ ref?: import("react").Ref<Text> | undefined;
10
+ }>;
11
+ export { StyledLabel };
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ import type { ReactNode } from 'react';
3
+ import type { TextProps as NativeTextProps, StyleProp, TextStyle } from 'react-native';
4
+ export interface LabelProps extends NativeTextProps {
5
+ /**
6
+ * Text content.
7
+ */
8
+ children: ReactNode;
9
+ /**
10
+ * Visual intent color to apply to the text.
11
+ */
12
+ intent?: 'body' | 'subdued' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'inverted' | 'archived' | 'disabled' | 'muted';
13
+ /**
14
+ * Additional style.
15
+ */
16
+ style?: StyleProp<TextStyle>;
17
+ /**
18
+ * Testing id of the component.
19
+ */
20
+ testID?: string;
21
+ }
22
+ declare const Label: ({ children, intent, allowFontScaling, ...nativeProps }: LabelProps) => React.JSX.Element;
23
+ export default Label;
@@ -0,0 +1,13 @@
1
+ import { Text } from 'react-native';
2
+ declare const StyledText: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
+ } & {
6
+ themeFontSize: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxxlarge' | 'xxxxlarge' | 'xxxxxlarge' | '6xlarge' | '7xlarge';
7
+ themeFontWeight: 'light' | 'regular' | 'semi-bold';
8
+ themeIntent: 'body' | 'subdued' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'inverted' | 'archived' | 'disabled';
9
+ themeTypeface: 'neutral' | 'playful';
10
+ }, {}, {
11
+ ref?: import("react").Ref<Text> | undefined;
12
+ }>;
13
+ export { StyledText };
@@ -0,0 +1,37 @@
1
+ import React from 'react';
2
+ import type { ReactNode } from 'react';
3
+ import type { TextProps as NativeTextProps, StyleProp, TextStyle } from 'react-native';
4
+ export interface TextProps extends NativeTextProps {
5
+ /**
6
+ * Text content.
7
+ */
8
+ children: ReactNode;
9
+ /**
10
+ * Size of the text.
11
+ */
12
+ fontSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxxlarge' | 'xxxxlarge' | 'xxxxxlarge' | '6xlarge' | '7xlarge';
13
+ /**
14
+ * Font weight of the text.
15
+ */
16
+ fontWeight?: 'light' | 'regular' | 'semi-bold';
17
+ /**
18
+ * Visual intent color to apply to the text.
19
+ */
20
+ intent?: 'body' | 'subdued' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'inverted' | 'archived' | 'disabled';
21
+ /**
22
+ * Additional style.
23
+ */
24
+ style?: StyleProp<TextStyle>;
25
+ /**
26
+ * Testing id of the component.
27
+ */
28
+ testID?: string;
29
+ /**
30
+ * The typeface to render the text in:
31
+ * - `neutral`: The default typeface for the platform.
32
+ * - `playful`: To visualise a playful content.
33
+ */
34
+ typeface?: 'neutral' | 'playful';
35
+ }
36
+ declare const Text: ({ children, fontSize, fontWeight, intent, typeface, allowFontScaling, ...nativeProps }: TextProps) => React.JSX.Element;
37
+ export default Text;
@@ -0,0 +1,14 @@
1
+ import { Text } from 'react-native';
2
+ import { ThemeIntent } from '../types';
3
+ declare type ThemeLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
4
+ declare const StyledTitle: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
5
+ theme?: import("@emotion/react").Theme | undefined;
6
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
+ } & {
8
+ themeIntent: ThemeIntent;
9
+ themeLevel: ThemeLevel;
10
+ themeTypeface: 'neutral' | 'playful';
11
+ }, {}, {
12
+ ref?: import("react").Ref<Text> | undefined;
13
+ }>;
14
+ export { StyledTitle };
@@ -0,0 +1,33 @@
1
+ import React from 'react';
2
+ import type { ReactNode } from 'react';
3
+ import type { TextProps as NativeTextProps, StyleProp, TextStyle } from 'react-native';
4
+ export interface TitleProps extends NativeTextProps {
5
+ /**
6
+ * Text content.
7
+ */
8
+ children: ReactNode;
9
+ /**
10
+ * Visual intent color to apply to the text.
11
+ */
12
+ intent?: 'body' | 'subdued' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'inverted' | 'archived' | 'disabled' | 'muted';
13
+ /**
14
+ * Additional style.
15
+ */
16
+ style?: StyleProp<TextStyle>;
17
+ /**
18
+ * Testing id of the component.
19
+ */
20
+ testID?: string;
21
+ /**
22
+ * The typeface to render the text in:
23
+ * - `neutral`: The default typeface for the platform.
24
+ * - `playful`: To visualise a playful content.
25
+ */
26
+ typeface?: 'neutral' | 'playful';
27
+ /**
28
+ * The level of Title including h1, h2, h3, h4, h5 and h6.
29
+ */
30
+ level?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
31
+ }
32
+ declare const Title: ({ children, intent, allowFontScaling, level, typeface, ...nativeProps }: TitleProps) => React.JSX.Element;
33
+ export default Title;
@@ -0,0 +1,17 @@
1
+ import Text from './Text';
2
+ import Caption from './Caption';
3
+ import Label from './Label';
4
+ import Title from './Title';
5
+ import Body from './Body';
6
+ interface TypographyProps {
7
+ /**
8
+ * @deprecated Typography.Text will be removed in the next major release, please refer to https://design.employmenthero.com/mobile/Components/typography for the appropriate alternatives.
9
+ */
10
+ Text: typeof Text;
11
+ Caption: typeof Caption;
12
+ Label: typeof Label;
13
+ Title: typeof Title;
14
+ Body: typeof Body;
15
+ }
16
+ declare const Typography: TypographyProps;
17
+ export default Typography;
@@ -0,0 +1,6 @@
1
+ export declare const FONTWEIGHT_MAP: {
2
+ readonly light: "light";
3
+ readonly regular: "regular";
4
+ readonly 'semi-bold': "semiBold";
5
+ };
6
+ export declare type ThemeIntent = 'body' | 'subdued' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'inverted' | 'archived' | 'disabled' | 'muted';
@@ -0,0 +1,57 @@
1
+ import theme, { getTheme, ThemeProvider, useTheme, swagSystemPalette, swagLightSystemPalette, swagLightJobsSystemPalette, swagDarkSystemPalette, workSystemPalette, jobsSystemPalette, walletSystemPalette, eBensSystemPalette, ThemeSwitcher, withTheme } from './theme';
2
+ import { scale } from './utils/scale';
3
+ import Accordion from './components/Accordion';
4
+ import Alert from './components/Alert';
5
+ import Attachment from './components/Attachment';
6
+ import Avatar, { useAvatarColors } from './components/Avatar';
7
+ import Badge from './components/Badge';
8
+ import BottomNavigation from './components/BottomNavigation';
9
+ import BottomSheet from './components/BottomSheet';
10
+ import Box from './components/Box';
11
+ import Button from './components/Button';
12
+ import Calendar from './components/Calendar';
13
+ import Carousel from './components/Carousel';
14
+ import Card from './components/Card';
15
+ import Chip from './components/Chip';
16
+ import Collapse from './components/Collapse';
17
+ import Checkbox from './components/Checkbox';
18
+ import ContentNavigator from './components/ContentNavigator';
19
+ import DatePicker from './components/DatePicker';
20
+ import Divider from './components/Divider';
21
+ import Drawer from './components/Drawer';
22
+ import Empty from './components/Empty';
23
+ import Error from './components/Error';
24
+ import FAB from './components/FAB';
25
+ import HeroDesignProvider from './components/HeroDesignProvider';
26
+ import MapPin from './components/MapPin';
27
+ import Icon from './components/Icon';
28
+ import Image from './components/Image';
29
+ import List from './components/List';
30
+ import PinInput from './components/PinInput';
31
+ import Progress from './components/Progress';
32
+ import Slider from './components/Slider';
33
+ import Spinner from './components/Spinner';
34
+ import Swipeable from './components/Swipeable';
35
+ import Radio from './components/Radio';
36
+ import SectionHeading from './components/SectionHeading';
37
+ import Select from './components/Select';
38
+ import Skeleton from './components/Skeleton';
39
+ import Success from './components/Success';
40
+ import Switch from './components/Switch';
41
+ import Tabs from './components/Tabs';
42
+ import Tag from './components/Tag';
43
+ import TextInput from './components/TextInput';
44
+ import TimePicker from './components/TimePicker';
45
+ import Toast from './components/Toast';
46
+ import Toolbar from './components/Toolbar';
47
+ import Typography from './components/Typography';
48
+ import Rate from './components/Rate';
49
+ import RefreshControl from './components/RefreshControl';
50
+ import RichTextEditor from './components/RichTextEditor';
51
+ import PageControl from './components/PageControl';
52
+ import Portal from './components/Portal';
53
+ import { ScrollViewWithFAB, SectionListWithFAB, FlatListWithFAB } from './components/AnimatedScroller';
54
+ import Search from './components/Search';
55
+ import FloatingIsland from './components/FloatingIsland';
56
+ export { theme, getTheme, useTheme, scale, ThemeProvider, ThemeSwitcher, withTheme, swagSystemPalette, swagLightSystemPalette, swagLightJobsSystemPalette, swagDarkSystemPalette, workSystemPalette, jobsSystemPalette, walletSystemPalette, eBensSystemPalette, Accordion, Alert, Attachment, Avatar, useAvatarColors, Badge, BottomNavigation, BottomSheet, Box, Button, Calendar, Card, Carousel, Chip, Collapse, Checkbox, ContentNavigator, DatePicker, Divider, Drawer, Empty, Error, FAB, FlatListWithFAB, Icon, Image, HeroDesignProvider, MapPin, List, PinInput, Progress, Portal, PageControl, Skeleton, Slider, Spinner, Swipeable, Radio, Search, ScrollViewWithFAB, SectionHeading, SectionListWithFAB, Select, Success, Switch, Tabs, Tag, TextInput, TimePicker, Toast, Toolbar, Typography, Rate, RefreshControl, RichTextEditor, FloatingIsland, };
57
+ export * from './types';
@@ -0,0 +1,3 @@
1
+ import type { RenderOptions } from '@testing-library/react-native';
2
+ declare const renderWithTheme: (ui: JSX.Element, options?: RenderOptions) => import("@testing-library/react-native").RenderAPI;
3
+ export default renderWithTheme;
@@ -0,0 +1 @@
1
+ export declare const setOrientation: (orientation: 'portrait' | 'landscape') => void;
@@ -0,0 +1,12 @@
1
+ import type { Theme } from './getTheme';
2
+ export interface ThemeProviderProps {
3
+ theme: Partial<Theme> | ((outerTheme: Theme) => Theme);
4
+ children: React.ReactNode;
5
+ }
6
+ interface ThemeProviderType {
7
+ (props: ThemeProviderProps): React.ReactElement;
8
+ }
9
+ declare const ThemeProvider: ThemeProviderType;
10
+ declare const useTheme: () => Theme;
11
+ export { useTheme };
12
+ export default ThemeProvider;
@@ -0,0 +1,8 @@
1
+ import React, { PropsWithChildren } from 'react';
2
+ declare type ThemeName = 'swag' | 'swagDark' | 'swagLight' | 'work' | 'jobs' | 'wallet' | 'eBens';
3
+ declare const ThemeSwitcher: ({ name, children, }: {
4
+ name?: ThemeName | undefined;
5
+ children: React.ReactNode;
6
+ }) => React.JSX.Element;
7
+ export declare const withTheme: <P extends Record<string, unknown>>(C: React.ComponentType<P>, themeName: ThemeName) => (props: React.PropsWithChildren<P>) => React.JSX.Element;
8
+ export default ThemeSwitcher;
@@ -0,0 +1,13 @@
1
+ import type { GlobalTheme } from '../global';
2
+ declare const getAccordionTheme: (theme: GlobalTheme) => {
3
+ colors: {
4
+ background: string;
5
+ };
6
+ space: {
7
+ padding: number;
8
+ };
9
+ radii: {
10
+ card: number;
11
+ };
12
+ };
13
+ export default getAccordionTheme;
@@ -0,0 +1,36 @@
1
+ import type { GlobalTheme } from '../global';
2
+ declare const getAlertTheme: (theme: GlobalTheme) => {
3
+ colors: {
4
+ backgrounds: {
5
+ success: string;
6
+ warning: string;
7
+ error: string;
8
+ info: string;
9
+ notification: string;
10
+ };
11
+ texts: {
12
+ success: string;
13
+ warning: string;
14
+ error: string;
15
+ info: string;
16
+ notification: string;
17
+ };
18
+ divider: string;
19
+ };
20
+ radii: {
21
+ default: number;
22
+ };
23
+ sizes: {
24
+ height: number;
25
+ };
26
+ space: {
27
+ contentPaddingHorizontal: number;
28
+ textPaddingHorizontal: number;
29
+ iconLeftPadding: number;
30
+ ctaPadding: number;
31
+ };
32
+ borderWidths: {
33
+ base: number;
34
+ };
35
+ };
36
+ export default getAlertTheme;
@@ -0,0 +1,21 @@
1
+ import type { GlobalTheme } from '../global';
2
+ declare const getAttachmentTheme: (theme: GlobalTheme) => {
3
+ colors: {
4
+ highlightedBackground: string;
5
+ };
6
+ radii: {
7
+ image: number;
8
+ container: number;
9
+ };
10
+ sizes: {
11
+ imageHeight: number;
12
+ imageWidth: number;
13
+ };
14
+ space: {
15
+ containerPadding: number;
16
+ containerVerticalPadding: number;
17
+ ctaPadding: number;
18
+ textHorizontalPadding: number;
19
+ };
20
+ };
21
+ export default getAttachmentTheme;
@@ -0,0 +1,50 @@
1
+ import type { GlobalTheme } from '../global';
2
+ declare const getAvatarTheme: (theme: GlobalTheme) => {
3
+ colors: {
4
+ primary: string;
5
+ info: string;
6
+ danger: string;
7
+ success: string;
8
+ warning: string;
9
+ text: string;
10
+ };
11
+ spaces: {
12
+ titleMarginTopForAndroid: {
13
+ small: number;
14
+ medium: number;
15
+ large: number;
16
+ xlarge: number;
17
+ xxlarge: number;
18
+ xxxlarge: number;
19
+ xxxxlarge: number;
20
+ xxxxxlarge: number;
21
+ };
22
+ };
23
+ sizes: {
24
+ small: number;
25
+ medium: number;
26
+ large: number;
27
+ xlarge: number;
28
+ xxlarge: number;
29
+ xxxlarge: number;
30
+ xxxxlarge: number;
31
+ xxxxxlarge: number;
32
+ };
33
+ radii: {
34
+ rounded: number;
35
+ };
36
+ fonts: {
37
+ default: string;
38
+ };
39
+ fontSizes: {
40
+ small: number;
41
+ medium: number;
42
+ large: number;
43
+ xlarge: number;
44
+ xxlarge: number;
45
+ xxxlarge: number;
46
+ xxxxlarge: number;
47
+ xxxxxlarge: number;
48
+ };
49
+ };
50
+ export default getAvatarTheme;
@@ -0,0 +1,56 @@
1
+ import type { GlobalTheme } from '../global';
2
+ declare const getBadgeTheme: (theme: GlobalTheme) => {
3
+ colors: {
4
+ primary: string;
5
+ danger: string;
6
+ info: string;
7
+ success: string;
8
+ warning: string;
9
+ archived: string;
10
+ text: string;
11
+ border: string;
12
+ };
13
+ fonts: {
14
+ medium: string;
15
+ small: string;
16
+ };
17
+ fontSizes: {
18
+ medium: number;
19
+ small: number;
20
+ icon: {
21
+ medium: number;
22
+ small: number;
23
+ };
24
+ };
25
+ sizes: {
26
+ medium: {
27
+ height: number;
28
+ minWidth: number;
29
+ };
30
+ small: {
31
+ height: number;
32
+ minWidth: number;
33
+ };
34
+ statusHeight: number;
35
+ statusWidth: number;
36
+ };
37
+ space: {
38
+ medium: {
39
+ horizontalPadding: number;
40
+ };
41
+ small: {
42
+ horizontalPadding: number;
43
+ };
44
+ statusPositionTop: number;
45
+ statusPositionRight: number;
46
+ };
47
+ lineHeights: {
48
+ medium: number;
49
+ small: number;
50
+ };
51
+ borderWidths: {
52
+ default: number;
53
+ };
54
+ };
55
+ export declare type BadgeThemeType = ReturnType<typeof getBadgeTheme>;
56
+ export default getBadgeTheme;
@@ -0,0 +1,23 @@
1
+ import type { GlobalTheme } from '../global';
2
+ declare const getBottomNavigationTheme: (theme: GlobalTheme) => {
3
+ colors: {
4
+ shadow: string;
5
+ background: string;
6
+ };
7
+ shadows: {
8
+ offset: {
9
+ width: number;
10
+ height: number;
11
+ };
12
+ opacity: number;
13
+ radius: number;
14
+ elevation: number;
15
+ };
16
+ sizes: {
17
+ height: number;
18
+ };
19
+ space: {
20
+ titleMarginTop: number;
21
+ };
22
+ };
23
+ export default getBottomNavigationTheme;