@hero-design/rn 7.6.1-alpha.0 → 7.7.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 (379) hide show
  1. package/.expo/README.md +15 -0
  2. package/.expo/packager-info.json +10 -0
  3. package/.expo/prebuild/cached-packages.json +4 -0
  4. package/.expo/settings.json +10 -0
  5. package/.expo/xcodebuild-error.log +2 -0
  6. package/.expo/xcodebuild.log +11199 -0
  7. package/.turbo/turbo-build.log +2 -2
  8. package/.turbo/turbo-publish:npm.log +0 -0
  9. package/es/index.js +2953 -295
  10. package/lib/index.js +3119 -459
  11. package/package.json +4 -2
  12. package/playground/.turbo/turbo-type-check.log +7 -0
  13. package/playground/package.json +3 -3
  14. package/playground/src/App.tsx +8 -0
  15. package/playground/src/Checkbox.tsx +55 -0
  16. package/playground/src/Toast.tsx +114 -0
  17. package/rollup.config.js +1 -7
  18. package/src/components/Checkbox/StyledCheckbox.tsx +18 -0
  19. package/src/components/Checkbox/__tests__/StyledCheckbox.spec.tsx +10 -0
  20. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +31 -0
  21. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +63 -0
  22. package/src/components/Checkbox/__tests__/index.spec.tsx +24 -0
  23. package/src/components/Checkbox/index.tsx +58 -0
  24. package/src/components/Toast/StyledToast.tsx +65 -0
  25. package/src/components/Toast/Toast.tsx +123 -0
  26. package/src/components/Toast/ToastContainer.tsx +88 -0
  27. package/src/components/Toast/ToastContext.ts +25 -0
  28. package/src/components/Toast/ToastProvider.tsx +53 -0
  29. package/src/components/Toast/__tests__/Toast.spec.tsx +125 -0
  30. package/src/components/Toast/__tests__/ToastContainer.spec.tsx +107 -0
  31. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +655 -0
  32. package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +93 -0
  33. package/src/components/Toast/index.tsx +11 -0
  34. package/src/components/Toast/types.ts +70 -0
  35. package/src/index.ts +4 -0
  36. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +41 -0
  37. package/src/theme/components/checkbox.ts +37 -0
  38. package/src/theme/components/toast.ts +33 -0
  39. package/src/theme/index.ts +6 -0
  40. package/types/components/Avatar/StyledAvatar.d.ts +0 -0
  41. package/types/components/Avatar/__tests__/StyledAvatar.spec.d.ts +0 -0
  42. package/types/components/Avatar/__tests__/index.spec.d.ts +0 -0
  43. package/types/components/Avatar/index.d.ts +0 -0
  44. package/types/components/Badge/Status.d.ts +0 -0
  45. package/types/components/Badge/StyledBadge.d.ts +0 -0
  46. package/types/components/Badge/__tests__/Badge.spec.d.ts +0 -0
  47. package/types/components/Badge/__tests__/Status.spec.d.ts +0 -0
  48. package/types/components/Badge/index.d.ts +0 -0
  49. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
  50. package/types/components/BottomNavigation/__tests__/index.spec.d.ts +0 -0
  51. package/types/components/BottomNavigation/index.d.ts +0 -0
  52. package/types/components/BottomSheet/Footer.d.ts +0 -0
  53. package/types/components/BottomSheet/Header.d.ts +0 -0
  54. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
  55. package/types/components/BottomSheet/__tests__/index.spec.d.ts +0 -0
  56. package/types/components/BottomSheet/index.d.ts +0 -0
  57. package/types/components/Button/Button.d.ts +0 -0
  58. package/types/components/Button/IconButton.d.ts +0 -0
  59. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  60. package/types/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +0 -0
  61. package/types/components/Button/LoadingIndicator/__tests__/index.spec.d.ts +0 -0
  62. package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
  63. package/types/components/Button/StyledButton.d.ts +0 -0
  64. package/types/components/Button/__tests__/Button.spec.d.ts +0 -0
  65. package/types/components/Button/__tests__/IconButton.spec.d.ts +0 -0
  66. package/types/components/Button/__tests__/StyledButton.spec.d.ts +0 -0
  67. package/types/components/Button/index.d.ts +0 -0
  68. package/types/components/Card/StyledCard.d.ts +0 -0
  69. package/types/components/Card/__tests__/StyledCard.spec.d.ts +0 -0
  70. package/types/components/Card/__tests__/index.spec.d.ts +0 -0
  71. package/types/components/Card/index.d.ts +0 -0
  72. package/types/components/Collapse/StyledCollapse.d.ts +0 -0
  73. package/types/components/Collapse/__tests__/StyledCollapse.spec.d.ts +0 -0
  74. package/types/components/Collapse/__tests__/index.spec.d.ts +0 -0
  75. package/types/components/Collapse/index.d.ts +0 -0
  76. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
  77. package/types/components/ContentNavigator/__tests__/StyledContentNavigator.spec.d.ts +0 -0
  78. package/types/components/ContentNavigator/__tests__/index.spec.d.ts +0 -0
  79. package/types/components/ContentNavigator/index.d.ts +0 -0
  80. package/types/components/Divider/StyledDivider.d.ts +0 -0
  81. package/types/components/Divider/__tests__/StyledDivider.spec.d.ts +0 -0
  82. package/types/components/Divider/index.d.ts +0 -0
  83. package/types/components/Drawer/StyledDrawer.d.ts +0 -0
  84. package/types/components/Drawer/__tests__/index.spec.d.ts +0 -0
  85. package/types/components/Drawer/index.d.ts +0 -0
  86. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  87. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
  88. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
  89. package/types/components/FAB/ActionGroup/__tests__/index.spec.d.ts +0 -0
  90. package/types/components/FAB/ActionGroup/index.d.ts +0 -0
  91. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
  92. package/types/components/FAB/FAB.d.ts +0 -0
  93. package/types/components/FAB/StyledFAB.d.ts +0 -0
  94. package/types/components/FAB/__tests__/AnimatedFABIcon.spec.d.ts +0 -0
  95. package/types/components/FAB/__tests__/StyledFAB.spec.d.ts +0 -0
  96. package/types/components/FAB/__tests__/index.spec.d.ts +0 -0
  97. package/types/components/FAB/index.d.ts +0 -0
  98. package/types/components/Icon/HeroIcon/index.d.ts +0 -0
  99. package/types/components/Icon/IconList.d.ts +0 -0
  100. package/types/components/Icon/__tests__/index.spec.d.ts +0 -0
  101. package/types/components/Icon/index.d.ts +0 -0
  102. package/types/components/Icon/utils.d.ts +0 -0
  103. package/types/components/Progress/ProgressBar.d.ts +0 -0
  104. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  105. package/types/components/Progress/StyledProgressBar.d.ts +0 -0
  106. package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
  107. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  108. package/types/components/Progress/index.d.ts +0 -0
  109. package/types/components/Progress/types.d.ts +0 -0
  110. package/types/components/Radio/Radio.d.ts +0 -0
  111. package/types/components/Radio/RadioGroup.d.ts +0 -0
  112. package/types/components/Radio/StyledRadio.d.ts +0 -0
  113. package/types/components/Radio/__tests__/Radio.spec.d.ts +0 -0
  114. package/types/components/Radio/__tests__/RadioGroup.spec.d.ts +0 -0
  115. package/types/components/Radio/__tests__/StyledRadio.spec.d.ts +0 -0
  116. package/types/components/Radio/index.d.ts +0 -0
  117. package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
  118. package/types/components/SectionHeading/__tests__/index.spec.d.ts +0 -0
  119. package/types/components/SectionHeading/index.d.ts +0 -0
  120. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
  121. package/types/components/Spinner/StyledSpinner.d.ts +0 -0
  122. package/types/components/Spinner/__tests__/AnimatedSpinner.spec.d.ts +0 -0
  123. package/types/components/Spinner/__tests__/StyledSpinner.spec.d.ts +0 -0
  124. package/types/components/Spinner/__tests__/index.spec.d.ts +0 -0
  125. package/types/components/Spinner/index.d.ts +0 -0
  126. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  127. package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
  128. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  129. package/types/components/Tabs/StyledTabs.d.ts +0 -0
  130. package/types/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +0 -0
  131. package/types/components/Tabs/__tests__/index.spec.d.ts +0 -0
  132. package/types/components/Tabs/index.d.ts +0 -0
  133. package/types/components/Tabs/utils.d.ts +0 -0
  134. package/types/components/Tag/StyledTag.d.ts +0 -0
  135. package/types/components/Tag/__tests__/Tag.spec.d.ts +0 -0
  136. package/types/components/Tag/index.d.ts +0 -0
  137. package/types/components/TextInput/StyledTextInput.d.ts +0 -0
  138. package/types/components/TextInput/__tests__/StyledTextInput.spec.d.ts +0 -0
  139. package/types/components/TextInput/__tests__/index.spec.d.ts +0 -0
  140. package/types/components/TextInput/index.d.ts +0 -0
  141. package/types/components/Toast/StyledToast.d.ts +45 -0
  142. package/types/components/Toast/Toast.d.ts +3 -0
  143. package/types/components/Toast/ToastContainer.d.ts +5 -0
  144. package/types/components/Toast/ToastContext.d.ts +11 -0
  145. package/types/components/Toast/ToastProvider.d.ts +10 -0
  146. package/{es/components/Avatar/__tests__/StyledAvatar.spec.d.ts → types/components/Toast/__tests__/Toast.spec.d.ts} +0 -0
  147. package/{es/components/Avatar/__tests__/index.spec.d.ts → types/components/Toast/__tests__/ToastContainer.spec.d.ts} +0 -0
  148. package/types/components/Toast/index.d.ts +8 -0
  149. package/types/components/Toast/types.d.ts +67 -0
  150. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  151. package/types/components/Typography/Text/__tests__/StyledText.spec.d.ts +0 -0
  152. package/types/components/Typography/Text/__tests__/index.spec.d.ts +0 -0
  153. package/types/components/Typography/Text/index.d.ts +0 -0
  154. package/types/components/Typography/index.d.ts +0 -0
  155. package/types/index.d.ts +3 -1
  156. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  157. package/types/theme/__tests__/index.spec.d.ts +0 -0
  158. package/types/theme/components/avatar.d.ts +0 -0
  159. package/types/theme/components/badge.d.ts +0 -0
  160. package/types/theme/components/bottomNavigation.d.ts +0 -0
  161. package/types/theme/components/bottomSheet.d.ts +0 -0
  162. package/types/theme/components/button.d.ts +0 -0
  163. package/types/theme/components/card.d.ts +0 -0
  164. package/types/theme/components/contentNavigator.d.ts +0 -0
  165. package/types/theme/components/divider.d.ts +0 -0
  166. package/types/theme/components/drawer.d.ts +0 -0
  167. package/types/theme/components/fab.d.ts +0 -0
  168. package/types/theme/components/icon.d.ts +0 -0
  169. package/types/theme/components/progress.d.ts +0 -0
  170. package/types/theme/components/radio.d.ts +0 -0
  171. package/types/theme/components/spinner.d.ts +0 -0
  172. package/types/theme/components/tabs.d.ts +0 -0
  173. package/types/theme/components/tag.d.ts +0 -0
  174. package/types/theme/components/textInput.d.ts +0 -0
  175. package/types/theme/components/toast.d.ts +24 -0
  176. package/types/theme/components/typography.d.ts +0 -0
  177. package/types/theme/global/borders.d.ts +0 -0
  178. package/types/theme/global/colors.d.ts +0 -0
  179. package/types/theme/global/index.d.ts +0 -0
  180. package/types/theme/global/scale.d.ts +0 -0
  181. package/types/theme/global/space.d.ts +0 -0
  182. package/types/theme/global/typography.d.ts +0 -0
  183. package/types/theme/index.d.ts +4 -0
  184. package/types/types.d.ts +0 -0
  185. package/types/utils/__tests__/scale.spec.d.ts +0 -0
  186. package/types/utils/helpers.d.ts +0 -0
  187. package/types/utils/hooks.d.ts +0 -0
  188. package/types/utils/scale.d.ts +0 -0
  189. package/.turbo/turbo-build:types.log +0 -2
  190. package/.turbo/turbo-build:watch.log +0 -1
  191. package/.turbo/turbo-lint.log +0 -2
  192. package/.turbo/turbo-type-check.log +0 -2
  193. package/es/components/Avatar/StyledAvatar.d.ts +0 -46
  194. package/es/components/Avatar/index.d.ts +0 -25
  195. package/es/components/Badge/Status.d.ts +0 -24
  196. package/es/components/Badge/StyledBadge.d.ts +0 -28
  197. package/es/components/Badge/__tests__/Badge.spec.d.ts +0 -1
  198. package/es/components/Badge/__tests__/Status.spec.d.ts +0 -1
  199. package/es/components/Badge/index.d.ts +0 -32
  200. package/es/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -52
  201. package/es/components/BottomNavigation/__tests__/index.spec.d.ts +0 -1
  202. package/es/components/BottomNavigation/index.d.ts +0 -45
  203. package/es/components/Button/IconButton.d.ts +0 -34
  204. package/es/components/Button/__tests__/index.spec.d.ts +0 -1
  205. package/es/components/Button/index.d.ts +0 -4
  206. package/es/components/Card/StyledCard.d.ts +0 -17
  207. package/es/components/Card/__tests__/StyledCard.spec.d.ts +0 -1
  208. package/es/components/Card/__tests__/index.spec.d.ts +0 -1
  209. package/es/components/Card/index.d.ts +0 -22
  210. package/es/components/Collapse/StyledCollapse.d.ts +0 -15
  211. package/es/components/Collapse/__tests__/StyledCollapse.spec.d.ts +0 -1
  212. package/es/components/Collapse/__tests__/index.spec.d.ts +0 -1
  213. package/es/components/Collapse/index.d.ts +0 -23
  214. package/es/components/Divider/StyledDivider.d.ts +0 -13
  215. package/es/components/Divider/__tests__/StyledDivider.spec.d.ts +0 -1
  216. package/es/components/Divider/index.d.ts +0 -21
  217. package/es/components/Drawer/StyledDrawer.d.ts +0 -25
  218. package/es/components/Drawer/__tests__/index.spec.d.ts +0 -1
  219. package/es/components/Drawer/index.d.ts +0 -25
  220. package/es/components/FAB/ActionGroup/ActionItem.d.ts +0 -12
  221. package/es/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -30
  222. package/es/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -13
  223. package/es/components/FAB/ActionGroup/__tests__/index.spec.d.ts +0 -1
  224. package/es/components/FAB/ActionGroup/index.d.ts +0 -34
  225. package/es/components/FAB/AnimatedFABIcon.d.ts +0 -6
  226. package/es/components/FAB/FAB.d.ts +0 -34
  227. package/es/components/FAB/StyledFAB.d.ts +0 -20
  228. package/es/components/FAB/__tests__/AnimatedFABIcon.spec.d.ts +0 -1
  229. package/es/components/FAB/__tests__/StyledFAB.spec.d.ts +0 -1
  230. package/es/components/FAB/__tests__/index.spec.d.ts +0 -1
  231. package/es/components/FAB/index.d.ts +0 -4
  232. package/es/components/Icon/HeroIcon/index.d.ts +0 -13
  233. package/es/components/Icon/IconList.d.ts +0 -2
  234. package/es/components/Icon/__tests__/index.spec.d.ts +0 -1
  235. package/es/components/Icon/index.d.ts +0 -27
  236. package/es/components/Icon/utils.d.ts +0 -2
  237. package/es/components/Progress/ProgressBar.d.ts +0 -18
  238. package/es/components/Progress/ProgressCircle.d.ts +0 -18
  239. package/es/components/Progress/StyledProgressBar.d.ts +0 -18
  240. package/es/components/Progress/StyledProgressCircle.d.ts +0 -38
  241. package/es/components/Progress/index.d.ts +0 -5
  242. package/es/components/Progress/types.d.ts +0 -1
  243. package/es/components/Tabs/ActiveTabIndicator.d.ts +0 -8
  244. package/es/components/Tabs/ScrollableTabs.d.ts +0 -3
  245. package/es/components/Tabs/StyledScrollableTabs.d.ts +0 -61
  246. package/es/components/Tabs/StyledTabs.d.ts +0 -55
  247. package/es/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +0 -1
  248. package/es/components/Tabs/__tests__/index.spec.d.ts +0 -1
  249. package/es/components/Tabs/index.d.ts +0 -54
  250. package/es/components/Tabs/utils.d.ts +0 -2
  251. package/es/components/Tag/StyledTag.d.ts +0 -20
  252. package/es/components/Tag/__tests__/Tag.spec.d.ts +0 -1
  253. package/es/components/Tag/index.d.ts +0 -21
  254. package/es/components/Typography/Text/StyledText.d.ts +0 -13
  255. package/es/components/Typography/Text/__tests__/StyledText.spec.d.ts +0 -1
  256. package/es/components/Typography/Text/__tests__/index.spec.d.ts +0 -1
  257. package/es/components/Typography/Text/index.d.ts +0 -30
  258. package/es/components/Typography/index.d.ts +0 -6
  259. package/es/index.d.ts +0 -19
  260. package/es/theme/__tests__/index.spec.d.ts +0 -1
  261. package/es/theme/components/avatar.d.ts +0 -32
  262. package/es/theme/components/badge.d.ts +0 -29
  263. package/es/theme/components/bottomNavigation.d.ts +0 -23
  264. package/es/theme/components/card.d.ts +0 -10
  265. package/es/theme/components/divider.d.ts +0 -17
  266. package/es/theme/components/drawer.d.ts +0 -21
  267. package/es/theme/components/fab.d.ts +0 -51
  268. package/es/theme/components/icon.d.ts +0 -19
  269. package/es/theme/components/progress.d.ts +0 -21
  270. package/es/theme/components/tabs.d.ts +0 -27
  271. package/es/theme/components/tag.d.ts +0 -30
  272. package/es/theme/components/typography.d.ts +0 -26
  273. package/es/theme/global/borders.d.ts +0 -11
  274. package/es/theme/global/colors.d.ts +0 -29
  275. package/es/theme/global/index.d.ts +0 -39
  276. package/es/theme/global/scale.d.ts +0 -9
  277. package/es/theme/global/space.d.ts +0 -13
  278. package/es/theme/global/typography.d.ts +0 -21
  279. package/es/theme/index.d.ts +0 -33
  280. package/es/types.d.ts +0 -5
  281. package/es/utils/__tests__/scale.spec.d.ts +0 -1
  282. package/es/utils/helpers.d.ts +0 -2
  283. package/es/utils/hooks.d.ts +0 -1
  284. package/es/utils/scale.d.ts +0 -3
  285. package/lib/components/Avatar/StyledAvatar.d.ts +0 -46
  286. package/lib/components/Avatar/__tests__/StyledAvatar.spec.d.ts +0 -1
  287. package/lib/components/Avatar/__tests__/index.spec.d.ts +0 -1
  288. package/lib/components/Avatar/index.d.ts +0 -25
  289. package/lib/components/Badge/Status.d.ts +0 -24
  290. package/lib/components/Badge/StyledBadge.d.ts +0 -28
  291. package/lib/components/Badge/__tests__/Badge.spec.d.ts +0 -1
  292. package/lib/components/Badge/__tests__/Status.spec.d.ts +0 -1
  293. package/lib/components/Badge/index.d.ts +0 -32
  294. package/lib/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -52
  295. package/lib/components/BottomNavigation/__tests__/index.spec.d.ts +0 -1
  296. package/lib/components/BottomNavigation/index.d.ts +0 -45
  297. package/lib/components/Button/IconButton.d.ts +0 -34
  298. package/lib/components/Button/__tests__/index.spec.d.ts +0 -1
  299. package/lib/components/Button/index.d.ts +0 -4
  300. package/lib/components/Card/StyledCard.d.ts +0 -17
  301. package/lib/components/Card/__tests__/StyledCard.spec.d.ts +0 -1
  302. package/lib/components/Card/__tests__/index.spec.d.ts +0 -1
  303. package/lib/components/Card/index.d.ts +0 -22
  304. package/lib/components/Collapse/StyledCollapse.d.ts +0 -15
  305. package/lib/components/Collapse/__tests__/StyledCollapse.spec.d.ts +0 -1
  306. package/lib/components/Collapse/__tests__/index.spec.d.ts +0 -1
  307. package/lib/components/Collapse/index.d.ts +0 -23
  308. package/lib/components/Divider/StyledDivider.d.ts +0 -13
  309. package/lib/components/Divider/__tests__/StyledDivider.spec.d.ts +0 -1
  310. package/lib/components/Divider/index.d.ts +0 -21
  311. package/lib/components/Drawer/StyledDrawer.d.ts +0 -25
  312. package/lib/components/Drawer/__tests__/index.spec.d.ts +0 -1
  313. package/lib/components/Drawer/index.d.ts +0 -25
  314. package/lib/components/FAB/ActionGroup/ActionItem.d.ts +0 -12
  315. package/lib/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -30
  316. package/lib/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -13
  317. package/lib/components/FAB/ActionGroup/__tests__/index.spec.d.ts +0 -1
  318. package/lib/components/FAB/ActionGroup/index.d.ts +0 -34
  319. package/lib/components/FAB/AnimatedFABIcon.d.ts +0 -6
  320. package/lib/components/FAB/FAB.d.ts +0 -34
  321. package/lib/components/FAB/StyledFAB.d.ts +0 -20
  322. package/lib/components/FAB/__tests__/AnimatedFABIcon.spec.d.ts +0 -1
  323. package/lib/components/FAB/__tests__/StyledFAB.spec.d.ts +0 -1
  324. package/lib/components/FAB/__tests__/index.spec.d.ts +0 -1
  325. package/lib/components/FAB/index.d.ts +0 -4
  326. package/lib/components/Icon/HeroIcon/index.d.ts +0 -13
  327. package/lib/components/Icon/IconList.d.ts +0 -2
  328. package/lib/components/Icon/__tests__/index.spec.d.ts +0 -1
  329. package/lib/components/Icon/index.d.ts +0 -27
  330. package/lib/components/Icon/utils.d.ts +0 -2
  331. package/lib/components/Progress/ProgressBar.d.ts +0 -18
  332. package/lib/components/Progress/ProgressCircle.d.ts +0 -18
  333. package/lib/components/Progress/StyledProgressBar.d.ts +0 -18
  334. package/lib/components/Progress/StyledProgressCircle.d.ts +0 -38
  335. package/lib/components/Progress/index.d.ts +0 -5
  336. package/lib/components/Progress/types.d.ts +0 -1
  337. package/lib/components/Tabs/ActiveTabIndicator.d.ts +0 -8
  338. package/lib/components/Tabs/ScrollableTabs.d.ts +0 -3
  339. package/lib/components/Tabs/StyledScrollableTabs.d.ts +0 -61
  340. package/lib/components/Tabs/StyledTabs.d.ts +0 -55
  341. package/lib/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +0 -1
  342. package/lib/components/Tabs/__tests__/index.spec.d.ts +0 -1
  343. package/lib/components/Tabs/index.d.ts +0 -54
  344. package/lib/components/Tabs/utils.d.ts +0 -2
  345. package/lib/components/Tag/StyledTag.d.ts +0 -20
  346. package/lib/components/Tag/__tests__/Tag.spec.d.ts +0 -1
  347. package/lib/components/Tag/index.d.ts +0 -21
  348. package/lib/components/Typography/Text/StyledText.d.ts +0 -13
  349. package/lib/components/Typography/Text/__tests__/StyledText.spec.d.ts +0 -1
  350. package/lib/components/Typography/Text/__tests__/index.spec.d.ts +0 -1
  351. package/lib/components/Typography/Text/index.d.ts +0 -30
  352. package/lib/components/Typography/index.d.ts +0 -6
  353. package/lib/index.d.ts +0 -19
  354. package/lib/theme/__tests__/index.spec.d.ts +0 -1
  355. package/lib/theme/components/avatar.d.ts +0 -32
  356. package/lib/theme/components/badge.d.ts +0 -29
  357. package/lib/theme/components/bottomNavigation.d.ts +0 -23
  358. package/lib/theme/components/card.d.ts +0 -10
  359. package/lib/theme/components/divider.d.ts +0 -17
  360. package/lib/theme/components/drawer.d.ts +0 -21
  361. package/lib/theme/components/fab.d.ts +0 -51
  362. package/lib/theme/components/icon.d.ts +0 -19
  363. package/lib/theme/components/progress.d.ts +0 -21
  364. package/lib/theme/components/tabs.d.ts +0 -27
  365. package/lib/theme/components/tag.d.ts +0 -30
  366. package/lib/theme/components/typography.d.ts +0 -26
  367. package/lib/theme/global/borders.d.ts +0 -11
  368. package/lib/theme/global/colors.d.ts +0 -29
  369. package/lib/theme/global/index.d.ts +0 -39
  370. package/lib/theme/global/scale.d.ts +0 -9
  371. package/lib/theme/global/space.d.ts +0 -13
  372. package/lib/theme/global/typography.d.ts +0 -21
  373. package/lib/theme/index.d.ts +0 -33
  374. package/lib/types.d.ts +0 -5
  375. package/lib/utils/__tests__/scale.spec.d.ts +0 -1
  376. package/lib/utils/helpers.d.ts +0 -2
  377. package/lib/utils/hooks.d.ts +0 -1
  378. package/lib/utils/scale.d.ts +0 -3
  379. package/types/components/SectionHeading/__tests__/StyledHeading.d.ts +0 -1
@@ -1,34 +0,0 @@
1
- import { StyleProp, ViewStyle, TouchableOpacityProps } from 'react-native';
2
- import { IconProps, IconName } from '../Icon';
3
- export interface IconButtonProps {
4
- /**
5
- * Set how far you can touch from the button.
6
- */
7
- hitSlop?: TouchableOpacityProps['hitSlop'];
8
- /**
9
- * Name of the Icon.
10
- */
11
- icon: IconName;
12
- /**
13
- * Intent of the Icon.
14
- */
15
- intent?: IconProps['intent'];
16
- /**
17
- * Set the handler to handle press event.
18
- */
19
- onPress: () => void;
20
- /**
21
- * Size of the Icon.
22
- */
23
- size?: IconProps['size'];
24
- /**
25
- * Additional style.
26
- */
27
- style?: StyleProp<ViewStyle>;
28
- /**
29
- * Testing id of component.
30
- */
31
- testID?: string;
32
- }
33
- declare const IconButton: ({ hitSlop, onPress, icon, testID, style, size, intent, }: IconButtonProps) => JSX.Element;
34
- export default IconButton;
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- declare const Button: {
2
- readonly Icon: ({ hitSlop, onPress, icon, testID, style, size, intent, }: import("./IconButton").IconButtonProps) => JSX.Element;
3
- };
4
- export default Button;
@@ -1,17 +0,0 @@
1
- /// <reference types="react" />
2
- import { View } from 'react-native';
3
- declare const StyledCard: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
6
- } & {
7
- themeVariant: 'basic' | 'data';
8
- }, {}, {
9
- ref?: import("react").Ref<View> | undefined;
10
- }>;
11
- declare const LeftDataCard: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
12
- theme?: import("@emotion/react").Theme | undefined;
13
- as?: import("react").ElementType<any> | undefined;
14
- }, {}, {
15
- ref?: import("react").Ref<View> | undefined;
16
- }>;
17
- export { StyledCard, LeftDataCard };
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,22 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { StyleProp, ViewStyle, ViewProps } from 'react-native';
3
- interface CardProps extends ViewProps {
4
- /**
5
- * Card's content.
6
- */
7
- children?: ReactNode;
8
- /**
9
- * Card type.
10
- */
11
- variant?: 'basic' | 'data';
12
- /**
13
- * Addditional style.
14
- */
15
- style?: StyleProp<ViewStyle>;
16
- /**
17
- * Testing id of the component.
18
- */
19
- testID?: string;
20
- }
21
- declare const Card: ({ variant, children, ...nativeProps }: CardProps) => JSX.Element;
22
- export default Card;
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import { Animated, View } from 'react-native';
3
- declare const StyledWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
4
- children?: import("react").ReactNode;
5
- } & {
6
- theme?: import("@emotion/react").Theme | undefined;
7
- as?: import("react").ElementType<any> | undefined;
8
- }, {}, {}>;
9
- declare const StyledChildWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
10
- theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any> | undefined;
12
- }, {}, {
13
- ref?: import("react").Ref<View> | undefined;
14
- }>;
15
- export { StyledWrapper, StyledChildWrapper };
@@ -1 +0,0 @@
1
- export {};
@@ -1,23 +0,0 @@
1
- import { StyleProp, ViewProps, ViewStyle } from 'react-native';
2
- import { ReactNode } from 'react';
3
- interface CollapseProps extends ViewProps {
4
- children: ReactNode;
5
- /**
6
- * Whether the child components will remain mounted when the Collapse is closed.
7
- */
8
- keepChildrenMounted?: boolean;
9
- /**
10
- * Whether the component is open or closed.
11
- */
12
- open?: boolean;
13
- /**
14
- * Addditional style.
15
- */
16
- style?: StyleProp<ViewStyle>;
17
- /**
18
- * Testing id of the component.
19
- */
20
- testID?: string;
21
- }
22
- declare const Collapse: ({ open, keepChildrenMounted, children, testID, style, }: CollapseProps) => JSX.Element;
23
- export default Collapse;
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { View } from 'react-native';
3
- declare type MarginSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
4
- declare const StyledDivider: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
7
- } & {
8
- themeMarginHorizontal?: MarginSize | undefined;
9
- themeMarginVertical?: MarginSize | undefined;
10
- }, {}, {
11
- ref?: import("react").Ref<View> | undefined;
12
- }>;
13
- export { StyledDivider };
@@ -1,21 +0,0 @@
1
- import { StyleProp, ViewStyle, ViewProps } from 'react-native';
2
- interface DividerProps extends ViewProps {
3
- /**
4
- * Horizontal margin size. There is no margin by default.
5
- */
6
- marginHorizontal?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
7
- /**
8
- * Vertical margin size. There is no margin by default.
9
- */
10
- marginVertical?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
11
- /**
12
- * Additional style.
13
- */
14
- style?: StyleProp<ViewStyle>;
15
- /**
16
- * Testing id of the component.
17
- */
18
- testID?: string;
19
- }
20
- declare const Divider: ({ marginHorizontal, marginVertical, style, testID, ...nativeProps }: DividerProps) => JSX.Element;
21
- export default Divider;
@@ -1,25 +0,0 @@
1
- /// <reference types="react" />
2
- import { Animated, View } from 'react-native';
3
- declare const StyledContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
6
- } & {
7
- enableShadow: boolean;
8
- }, {}, {
9
- ref?: import("react").Ref<View> | undefined;
10
- }>;
11
- declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").PressableProps & import("react").RefAttributes<View>> & {
12
- children?: import("react").ReactNode;
13
- } & {
14
- theme?: import("@emotion/react").Theme | undefined;
15
- as?: import("react").ElementType<any> | undefined;
16
- }, {}, {}>;
17
- declare const StyledDrawerContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
18
- children?: import("react").ReactNode;
19
- } & {
20
- theme?: import("@emotion/react").Theme | undefined;
21
- as?: import("react").ElementType<any> | undefined;
22
- } & {
23
- enableShadow: boolean;
24
- }, {}, {}>;
25
- export { StyledBackdrop, StyledContainer, StyledDrawerContainer };
@@ -1 +0,0 @@
1
- export {};
@@ -1,25 +0,0 @@
1
- import { ReactNode } from 'react';
2
- interface DrawerProps {
3
- /**
4
- * Drawer's visibility.
5
- */
6
- visible: boolean;
7
- /**
8
- * Drawer's content.
9
- */
10
- children?: ReactNode;
11
- /**
12
- * Enable the drawer's backdrop.
13
- */
14
- hasBackdrop?: boolean;
15
- /**
16
- * Callback when the drawer is dismissed by interacting outside of the drawer.
17
- */
18
- onDismiss?: () => void;
19
- /**
20
- * Testing id of the component.
21
- * */
22
- testID?: string;
23
- }
24
- declare const Drawer: ({ visible, children, hasBackdrop, onDismiss, testID, }: DrawerProps) => JSX.Element;
25
- export default Drawer;
@@ -1,12 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- import { StyleProp, ViewStyle } from 'react-native';
3
- import Icon from '../../Icon';
4
- export interface ActionItemProps {
5
- testID?: string;
6
- title: string;
7
- icon: ComponentProps<typeof Icon>['icon'];
8
- onPress?: () => void;
9
- style?: StyleProp<ViewStyle>;
10
- }
11
- declare const ActionItem: ({ icon, title, onPress, style, testID, }: ActionItemProps) => JSX.Element;
12
- export default ActionItem;
@@ -1,30 +0,0 @@
1
- /// <reference types="react" />
2
- import { Animated, View, ViewProps } from 'react-native';
3
- import { TextProps } from '../../Typography/Text';
4
- declare const StyledContainer: import("@emotion/native").StyledComponent<ViewProps & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
7
- }, {}, {
8
- ref?: import("react").Ref<View> | undefined;
9
- }>;
10
- declare const StyledActionGroupContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
11
- children?: import("react").ReactNode;
12
- } & {
13
- theme?: import("@emotion/react").Theme | undefined;
14
- as?: import("react").ElementType<any> | undefined;
15
- }, {}, {}>;
16
- declare const StyledFAB: import("@emotion/native").StyledComponent<import("../FAB").FABProps & {
17
- theme?: import("@emotion/react").Theme | undefined;
18
- as?: import("react").ElementType<any> | undefined;
19
- }, {}, {}>;
20
- declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
21
- children?: import("react").ReactNode;
22
- } & {
23
- theme?: import("@emotion/react").Theme | undefined;
24
- as?: import("react").ElementType<any> | undefined;
25
- }, {}, {}>;
26
- declare const StyledHeaderText: import("@emotion/native").StyledComponent<TextProps & {
27
- theme?: import("@emotion/react").Theme | undefined;
28
- as?: import("react").ElementType<any> | undefined;
29
- }, {}, {}>;
30
- export { StyledHeaderText, StyledBackdrop, StyledContainer, StyledActionGroupContainer, StyledFAB, };
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- import { TouchableOpacity, TouchableOpacityProps } from 'react-native';
3
- declare const StyledActionItem: import("@emotion/native").StyledComponent<TouchableOpacityProps & {
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
6
- }, {}, {
7
- ref?: import("react").Ref<TouchableOpacity> | undefined;
8
- }>;
9
- declare const StyledActionItemText: import("@emotion/native").StyledComponent<import("../../Typography/Text").TextProps & {
10
- theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any> | undefined;
12
- } & TouchableOpacityProps, {}, {}>;
13
- export { StyledActionItem, StyledActionItemText };
@@ -1 +0,0 @@
1
- import '@testing-library/jest-native/extend-expect';
@@ -1,34 +0,0 @@
1
- import { StyleProp, ViewStyle } from 'react-native';
2
- import { ActionItemProps } from './ActionItem';
3
- export interface ActionGroupProps {
4
- /**
5
- * Title of the action group header.
6
- */
7
- headerTitle?: string;
8
- /**
9
- * This function is called on pressing the FAB button.
10
- * */
11
- onPress?: () => void;
12
- /**
13
- * Specify if the FAB button is in active state and the action group is shown.
14
- * */
15
- active?: boolean;
16
- /**
17
- * Title of the floating action button
18
- */
19
- fabTitle?: string;
20
- /**
21
- * Additional style.
22
- */
23
- style?: StyleProp<ViewStyle>;
24
- /**
25
- * Action items of the action group.
26
- * */
27
- items?: Array<ActionItemProps>;
28
- /**
29
- * Testing id of the component.
30
- */
31
- testID?: string;
32
- }
33
- declare const ActionGroup: ({ headerTitle, onPress, active, style, items, testID, fabTitle, }: ActionGroupProps) => JSX.Element;
34
- export default ActionGroup;
@@ -1,6 +0,0 @@
1
- import { IconProps } from '../Icon';
2
- declare type Props = {
3
- active?: boolean;
4
- } & IconProps;
5
- declare const AnimatedFABIcon: ({ active, ...iconProps }: Props) => JSX.Element;
6
- export { AnimatedFABIcon };
@@ -1,34 +0,0 @@
1
- import { StyleProp, ViewStyle } from 'react-native';
2
- import { IconName } from '../Icon';
3
- export interface FABProps {
4
- /**
5
- * Name of the Icon.
6
- */
7
- icon: IconName;
8
- /**
9
- * title of the component.
10
- */
11
- title?: string;
12
- /**
13
- * This function is called on pressing the button.
14
- */
15
- onPress?: () => void;
16
- /**
17
- * Specify if the button is animated.
18
- */
19
- animated?: boolean;
20
- /**
21
- * Specify if the button is in active state. It only works if animated is true.
22
- */
23
- active?: boolean;
24
- /**
25
- * Additional style.
26
- */
27
- style?: StyleProp<ViewStyle>;
28
- /**
29
- * Testing id of the component.
30
- */
31
- testID?: string;
32
- }
33
- declare const FAB: ({ onPress, title, icon, animated, testID, active, style, }: FABProps) => JSX.Element;
34
- export default FAB;
@@ -1,20 +0,0 @@
1
- /// <reference types="react" />
2
- import { Text, TextProps, TouchableHighlight, TouchableHighlightProps } from 'react-native';
3
- import { IconProps } from '../Icon';
4
- declare const StyledFABContainer: import("@emotion/native").StyledComponent<TouchableHighlightProps & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
7
- }, {}, {
8
- ref?: import("react").Ref<TouchableHighlight> | undefined;
9
- }>;
10
- declare const StyledFABIcon: import("@emotion/native").StyledComponent<IconProps & {
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
13
- }, {}, {}>;
14
- declare const StyledFABText: import("@emotion/native").StyledComponent<TextProps & {
15
- theme?: import("@emotion/react").Theme | undefined;
16
- as?: import("react").ElementType<any> | undefined;
17
- }, {}, {
18
- ref?: import("react").Ref<Text> | undefined;
19
- }>;
20
- export { StyledFABContainer, StyledFABIcon, StyledFABText };
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- declare const _default: (({ onPress, title, icon, animated, testID, active, style, }: import("./FAB").FABProps) => JSX.Element) & {
2
- ActionGroup: ({ headerTitle, onPress, active, style, items, testID, fabTitle, }: import("./ActionGroup").ActionGroupProps) => JSX.Element;
3
- };
4
- export default _default;
@@ -1,13 +0,0 @@
1
- /// <reference types="react" />
2
- declare type ThemeSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
3
- declare type ThemeIntent = 'text' | 'primary' | 'info' | 'danger' | 'success' | 'warning';
4
- declare const StyledHeroIcon: import("@emotion/native").StyledComponent<Pick<import("react-native-vector-icons/Icon").IconProps, "children" | "onLayout" | "onLongPress" | "onPress" | "onPressIn" | "onPressOut" | "style" | "testID" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "nativeID" | "allowFontScaling" | "ellipsizeMode" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "maxFontSizeMultiplier" | "adjustsFontSizeToFit" | "minimumFontScale" | "suppressHighlighting" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency" | "color" | "size" | "name"> & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
7
- } & {
8
- themeSize: ThemeSize;
9
- themeIntent: ThemeIntent;
10
- }, {}, {
11
- ref?: import("react").Ref<import("react").Component<import("react-native-vector-icons/Icon").IconProps, any, any>> | undefined;
12
- }>;
13
- export default StyledHeroIcon;
@@ -1,2 +0,0 @@
1
- declare const IconList: readonly ["activate", "add-person", "adjustment", "alignment", "bank", "bell", "billing", "bookmark", "box-check", "box", "buildings", "cake", "calendar-clock", "calendar", "carat-down-small", "carat-down", "carat-left", "carat-right", "carat-up", "circle-add", "circle-cancel", "circle-check", "circle-down", "circle-info", "circle-left", "circle-ok", "circle-pencil", "circle-question", "circle-remove", "circle-right", "circle-up", "circle-warning", "clock", "cloud-download", "cloud-upload", "cog", "coin", "contacts", "credit-card", "diamond", "direction-arrows", "directory", "document", "dollar-coin-shine", "double-buildings", "edit-template", "envelope", "expense", "eye-circle", "eye-invisible", "eye", "face-meh", "face-sad", "face-smiley", "feed", "feedbacks", "file-certified", "file-clone", "file-copy", "file-csv", "file-dispose", "file-doc", "file-excel", "file-export", "file-lock", "file-pdf", "file-powerpoint", "file-search", "file-secured", "file-sheets", "file-slide", "file-verified", "file-word", "file", "folder-user", "folder", "funnel-filter", "global-dollar", "globe", "graduation-cap", "graph", "happy-sun", "health-bag", "heart", "home", "image", "import", "incident-siren", "instapay", "list", "loading", "loading-2", "location", "lock", "media-content", "menu", "moneybag", "moon", "multiple-stars", "multiple-users", "node", "open-folder", "paperclip", "payment-summary", "pencil", "phone", "piggy-bank", "plane", "play-circle", "print", "raising-hands", "reply", "reschedule", "rostering", "save", "schedule", "search-person", "send", "speaker", "star-medal", "star", "steps-circle", "stopwatch", "suitcase", "survey", "switch", "tag", "target", "teams", "timesheet", "touch-id", "trash-bin", "unlock", "user", "video-1", "video-2", "activate-outlined", "add-person-outlined", "add-section-outlined", "add-time-outlined", "add", "adjustment-outlined", "alignment-2-outlined", "alignment-outlined", "all-caps", "arrow-down", "arrow-left", "arrow-right", "arrow-up", "at-sign", "bell-outlined", "billing-outlined", "body-outlined", "bold", "bookmark-outlined", "box-check-outlined", "box-outlined", "bullet-points", "cake-outlined", "calendar-dates-outlined", "calendar-star-outlined", "camera-outlined", "cancel", "checkmark", "circle-add-outlined", "circle-cancel-outlined", "circle-down-outlined", "circle-info-outlined", "circle-left-outlined", "circle-ok-outlined", "circle-question-outlined", "circle-remove-outlined", "circle-right-outlined", "circle-up-outlined", "circle-warning-outlined", "clock-2-outlined", "clock-outlined", "cog-outlined", "coin-outlined", "comment-outlined", "contacts-outlined", "credit-card-outlined", "direction-arrows-outlined", "directory-outlined", "document-outlined", "dollar-coin-shine-outlined", "dollar-sign", "double-buildings-outlined", "double-left-arrows", "double-right-arrows", "download-outlined", "edit-template-outlined", "email-outlined", "enter-arrow", "envelope-outlined", "expense-outlined", "external-link", "eye-invisible-outlined", "eye-outlined", "face-id", "face-meh-outlined", "face-open-smiley-outlined", "face-sad-outlined", "face-smiley-outlined", "feed-outlined", "file-certified-outlined", "file-clone-outlined", "file-copy-outlined", "file-dispose-outlined", "file-download-outlined", "file-export-outlined", "file-lock-outlined", "file-outlined", "file-search-outlined", "file-secured-outlined", "file-verified-outlined", "folder-outlined", "folder-user-outlined", "funnel-filter-outline", "graph-outlined", "happy-sun-outlined", "health-bag-outlined", "heart-outlined", "home-outlined", "image-outlined", "import-outlined", "instapay-outlined", "italic", "link-1", "link-2", "list-outlined", "location-outlined", "lock-outlined", "locked-file-outlined", "log-out", "media-content-outlined", "menu-close", "menu-expand", "menu-fold-outlined", "menu-unfold-outlined", "moneybag-outlined", "moon-outlined", "more-horizontal", "more-vertical", "multiple-folders-outlined", "multiple-users-outlined", "node-outlined", "number-points", "number", "payment-summary-outlined", "payslip-outlined", "pencil-outlined", "percentage", "phone-outlined", "piggy-bank-outlined", "plane-outlined", "play-circle-outlined", "print-outlined", "qr-code-outlined", "re-assign", "refresh", "remove", "reply-outlined", "restart", "return-arrow", "rostering-outlined", "save-outlined", "schedule-outlined", "search-outlined", "send-outlined", "share-1", "share-2", "single-down-arrow", "single-left-arrow", "single-right-arrow", "single-up-arrow", "speaker-outlined", "star-outlined", "stopwatch-outlined", "strikethrough", "survey-outlined", "switch-outlined", "sync", "target-outlined", "timesheet-outlined", "transfer", "trash-bin-outlined", "unavailable", "underline", "unlock-outlined", "upload-outlined", "user-outlined", "video-1-outlined", "video-2-outlined"];
2
- export default IconList;
@@ -1 +0,0 @@
1
- export {};
@@ -1,27 +0,0 @@
1
- import { StyleProp, TextStyle } from 'react-native';
2
- import IconList from './IconList';
3
- export declare type IconName = typeof IconList[number];
4
- export interface IconProps {
5
- /**
6
- * Name of the Icon.
7
- */
8
- icon: IconName;
9
- /**
10
- * Intent of the Icon.
11
- */
12
- intent?: 'text' | 'primary' | 'info' | 'danger' | 'success' | 'warning';
13
- /**
14
- * Size of the Icon.
15
- */
16
- size?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
17
- /**
18
- * Addditional style.
19
- */
20
- style?: StyleProp<TextStyle>;
21
- /**
22
- * Testing id of the component.
23
- */
24
- testID?: string;
25
- }
26
- declare const Icon: ({ icon, style, size, intent, testID, }: IconProps) => JSX.Element;
27
- export default Icon;
@@ -1,2 +0,0 @@
1
- declare const isHeroIcon: (x: any) => x is "number" | "menu" | "image" | "switch" | "bold" | "list" | "activate" | "add-person" | "adjustment" | "alignment" | "bank" | "bell" | "billing" | "bookmark" | "box-check" | "box" | "buildings" | "cake" | "calendar-clock" | "calendar" | "carat-down-small" | "carat-down" | "carat-left" | "carat-right" | "carat-up" | "circle-add" | "circle-cancel" | "circle-check" | "circle-down" | "circle-info" | "circle-left" | "circle-ok" | "circle-pencil" | "circle-question" | "circle-remove" | "circle-right" | "circle-up" | "circle-warning" | "clock" | "cloud-download" | "cloud-upload" | "cog" | "coin" | "contacts" | "credit-card" | "diamond" | "direction-arrows" | "directory" | "document" | "dollar-coin-shine" | "double-buildings" | "edit-template" | "envelope" | "expense" | "eye-circle" | "eye-invisible" | "eye" | "face-meh" | "face-sad" | "face-smiley" | "feed" | "feedbacks" | "file-certified" | "file-clone" | "file-copy" | "file-csv" | "file-dispose" | "file-doc" | "file-excel" | "file-export" | "file-lock" | "file-pdf" | "file-powerpoint" | "file-search" | "file-secured" | "file-sheets" | "file-slide" | "file-verified" | "file-word" | "file" | "folder-user" | "folder" | "funnel-filter" | "global-dollar" | "globe" | "graduation-cap" | "graph" | "happy-sun" | "health-bag" | "heart" | "home" | "import" | "incident-siren" | "instapay" | "loading" | "loading-2" | "location" | "lock" | "media-content" | "moneybag" | "moon" | "multiple-stars" | "multiple-users" | "node" | "open-folder" | "paperclip" | "payment-summary" | "pencil" | "phone" | "piggy-bank" | "plane" | "play-circle" | "print" | "raising-hands" | "reply" | "reschedule" | "rostering" | "save" | "schedule" | "search-person" | "send" | "speaker" | "star-medal" | "star" | "steps-circle" | "stopwatch" | "suitcase" | "survey" | "tag" | "target" | "teams" | "timesheet" | "touch-id" | "trash-bin" | "unlock" | "user" | "video-1" | "video-2" | "activate-outlined" | "add-person-outlined" | "add-section-outlined" | "add-time-outlined" | "add" | "adjustment-outlined" | "alignment-2-outlined" | "alignment-outlined" | "all-caps" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "at-sign" | "bell-outlined" | "billing-outlined" | "body-outlined" | "bookmark-outlined" | "box-check-outlined" | "box-outlined" | "bullet-points" | "cake-outlined" | "calendar-dates-outlined" | "calendar-star-outlined" | "camera-outlined" | "cancel" | "checkmark" | "circle-add-outlined" | "circle-cancel-outlined" | "circle-down-outlined" | "circle-info-outlined" | "circle-left-outlined" | "circle-ok-outlined" | "circle-question-outlined" | "circle-remove-outlined" | "circle-right-outlined" | "circle-up-outlined" | "circle-warning-outlined" | "clock-2-outlined" | "clock-outlined" | "cog-outlined" | "coin-outlined" | "comment-outlined" | "contacts-outlined" | "credit-card-outlined" | "direction-arrows-outlined" | "directory-outlined" | "document-outlined" | "dollar-coin-shine-outlined" | "dollar-sign" | "double-buildings-outlined" | "double-left-arrows" | "double-right-arrows" | "download-outlined" | "edit-template-outlined" | "email-outlined" | "enter-arrow" | "envelope-outlined" | "expense-outlined" | "external-link" | "eye-invisible-outlined" | "eye-outlined" | "face-id" | "face-meh-outlined" | "face-open-smiley-outlined" | "face-sad-outlined" | "face-smiley-outlined" | "feed-outlined" | "file-certified-outlined" | "file-clone-outlined" | "file-copy-outlined" | "file-dispose-outlined" | "file-download-outlined" | "file-export-outlined" | "file-lock-outlined" | "file-outlined" | "file-search-outlined" | "file-secured-outlined" | "file-verified-outlined" | "folder-outlined" | "folder-user-outlined" | "funnel-filter-outline" | "graph-outlined" | "happy-sun-outlined" | "health-bag-outlined" | "heart-outlined" | "home-outlined" | "image-outlined" | "import-outlined" | "instapay-outlined" | "italic" | "link-1" | "link-2" | "list-outlined" | "location-outlined" | "lock-outlined" | "locked-file-outlined" | "log-out" | "media-content-outlined" | "menu-close" | "menu-expand" | "menu-fold-outlined" | "menu-unfold-outlined" | "moneybag-outlined" | "moon-outlined" | "more-horizontal" | "more-vertical" | "multiple-folders-outlined" | "multiple-users-outlined" | "node-outlined" | "number-points" | "payment-summary-outlined" | "payslip-outlined" | "pencil-outlined" | "percentage" | "phone-outlined" | "piggy-bank-outlined" | "plane-outlined" | "play-circle-outlined" | "print-outlined" | "qr-code-outlined" | "re-assign" | "refresh" | "remove" | "reply-outlined" | "restart" | "return-arrow" | "rostering-outlined" | "save-outlined" | "schedule-outlined" | "search-outlined" | "send-outlined" | "share-1" | "share-2" | "single-down-arrow" | "single-left-arrow" | "single-right-arrow" | "single-up-arrow" | "speaker-outlined" | "star-outlined" | "stopwatch-outlined" | "strikethrough" | "survey-outlined" | "switch-outlined" | "sync" | "target-outlined" | "timesheet-outlined" | "transfer" | "trash-bin-outlined" | "unavailable" | "underline" | "unlock-outlined" | "upload-outlined" | "user-outlined" | "video-1-outlined" | "video-2-outlined";
2
- export { isHeroIcon };
@@ -1,18 +0,0 @@
1
- import { StyleProp, ViewStyle, ViewProps } from 'react-native';
2
- export interface ProgressBarProps extends ViewProps {
3
- /**
4
- * The progress completion percentage: 0-100.
5
- */
6
- value: number;
7
- /**
8
- * Set intent for your progress.
9
- */
10
- intent?: 'primary' | 'success' | 'warning' | 'danger' | 'info';
11
- /**
12
- * Additional style.
13
- */
14
- style?: StyleProp<ViewStyle>;
15
- testID?: string;
16
- }
17
- declare const ProgressBar: ({ value, intent, style, testID, ...nativeProps }: ProgressBarProps) => JSX.Element;
18
- export default ProgressBar;
@@ -1,18 +0,0 @@
1
- import { ViewProps, StyleProp, ViewStyle } from 'react-native';
2
- export interface ProgressCircleProps extends ViewProps {
3
- /**
4
- * The progress completion percentage: 0-100.
5
- */
6
- value: number;
7
- /**
8
- * Set intent for your progress.
9
- */
10
- intent?: 'primary' | 'success' | 'warning' | 'danger' | 'info';
11
- /**
12
- * Additional style.
13
- */
14
- style?: StyleProp<ViewStyle>;
15
- testID?: string;
16
- }
17
- declare const ProgressCircle: ({ value, intent, style, testID, ...nativeProps }: ProgressCircleProps) => JSX.Element;
18
- export default ProgressCircle;
@@ -1,18 +0,0 @@
1
- /// <reference types="react" />
2
- import { Animated, View, ViewProps } from 'react-native';
3
- import { ThemeIntent } from './types';
4
- declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
7
- }, {}, {
8
- ref?: import("react").Ref<View> | undefined;
9
- }>;
10
- declare const StyledInner: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
11
- children?: import("react").ReactNode;
12
- } & {
13
- theme?: import("@emotion/react").Theme | undefined;
14
- as?: import("react").ElementType<any> | undefined;
15
- } & {
16
- themeIntent: ThemeIntent;
17
- }, {}, {}>;
18
- export { StyledWrapper, StyledInner };
@@ -1,38 +0,0 @@
1
- /// <reference types="react" />
2
- import { View, ViewProps } from 'react-native';
3
- import { ThemeIntent } from './types';
4
- declare const HalfCircleWrapper: import("@emotion/native").StyledComponent<ViewProps & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
7
- }, {}, {
8
- ref?: import("react").Ref<View> | undefined;
9
- }>;
10
- declare const HalfCircleInnerFG: import("@emotion/native").StyledComponent<ViewProps & {
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
13
- } & {
14
- themeIntent: ThemeIntent;
15
- }, {}, {
16
- ref?: import("react").Ref<View> | undefined;
17
- }>;
18
- declare const HalfCircleInnerBG: import("@emotion/native").StyledComponent<ViewProps & {
19
- theme?: import("@emotion/react").Theme | undefined;
20
- as?: import("react").ElementType<any> | undefined;
21
- }, {}, {
22
- ref?: import("react").Ref<View> | undefined;
23
- }>;
24
- declare const DonutCircle: import("@emotion/native").StyledComponent<ViewProps & {
25
- theme?: import("@emotion/react").Theme | undefined;
26
- as?: import("react").ElementType<any> | undefined;
27
- }, {}, {
28
- ref?: import("react").Ref<View> | undefined;
29
- }>;
30
- declare const StrokeEnd: import("@emotion/native").StyledComponent<ViewProps & {
31
- theme?: import("@emotion/react").Theme | undefined;
32
- as?: import("react").ElementType<any> | undefined;
33
- } & {
34
- themeIntent: ThemeIntent;
35
- }, {}, {
36
- ref?: import("react").Ref<View> | undefined;
37
- }>;
38
- export { DonutCircle, HalfCircleWrapper, HalfCircleInnerFG, HalfCircleInnerBG, StrokeEnd, };
@@ -1,5 +0,0 @@
1
- declare const Progress: {
2
- readonly Circle: ({ value, intent, style, testID, ...nativeProps }: import("./ProgressCircle").ProgressCircleProps) => JSX.Element;
3
- readonly Bar: ({ value, intent, style, testID, ...nativeProps }: import("./ProgressBar").ProgressBarProps) => JSX.Element;
4
- };
5
- export default Progress;
@@ -1 +0,0 @@
1
- export declare type ThemeIntent = 'primary' | 'success' | 'warning' | 'danger' | 'info';
@@ -1,8 +0,0 @@
1
- import { Animated } from 'react-native';
2
- declare const ActiveTabIndicator: ({ scrollOffsetAnimatedValue, positionAnimatedValue, tabsLength, tabsWidth, }: {
3
- scrollOffsetAnimatedValue: Animated.Value;
4
- positionAnimatedValue: Animated.Value;
5
- tabsLength: number;
6
- tabsWidth: number;
7
- }) => JSX.Element;
8
- export default ActiveTabIndicator;
@@ -1,3 +0,0 @@
1
- import { TabsProps } from '.';
2
- declare const ScrollableTab: ({ onTabPress, selectedTabKey, tabs, containerStyle, barStyle, lazy, lazyPreloadDistance, }: TabsProps) => JSX.Element;
3
- export default ScrollableTab;