@hero-design/rn 7.3.1 → 7.5.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 (302) hide show
  1. package/.turbo/turbo-build.log +8 -8
  2. package/assets/fonts/hero-icons.ttf +0 -0
  3. package/es/index.js +5630 -4565
  4. package/lib/assets/fonts/hero-icons.ttf +0 -0
  5. package/lib/index.js +5636 -4564
  6. package/package.json +11 -9
  7. package/playground/.detoxrc.json +49 -0
  8. package/playground/.prettierrc.json +8 -0
  9. package/playground/app.json +9 -0
  10. package/playground/babel.config.js +63 -0
  11. package/playground/e2e/config.json +9 -0
  12. package/playground/e2e/environment.js +23 -0
  13. package/playground/e2e/firstTest.e2e.js +16 -0
  14. package/{expoEntry.js → playground/expoEntry.js} +1 -1
  15. package/playground/fonts/be-vietnam-pro-light.ttf +0 -0
  16. package/playground/fonts/be-vietnam-pro-regular.ttf +0 -0
  17. package/playground/fonts/be-vietnam-pro-semibold.ttf +0 -0
  18. package/playground/fonts/hero-icons.ttf +0 -0
  19. package/playground/index.js +7 -0
  20. package/playground/ios/MobileHeroDesignPlayground/AppDelegate.h +9 -0
  21. package/playground/ios/MobileHeroDesignPlayground/AppDelegate.m +75 -0
  22. package/playground/ios/MobileHeroDesignPlayground/Images.xcassets/AppIcon.appiconset/Contents.json +38 -0
  23. package/playground/ios/MobileHeroDesignPlayground/Images.xcassets/Contents.json +6 -0
  24. package/playground/ios/MobileHeroDesignPlayground/Images.xcassets/SplashScreenBackground.imageset/Contents.json +21 -0
  25. package/playground/ios/MobileHeroDesignPlayground/Images.xcassets/SplashScreenBackground.imageset/image.png +0 -0
  26. package/playground/ios/MobileHeroDesignPlayground/Info.plist +85 -0
  27. package/playground/ios/MobileHeroDesignPlayground/MobileHeroDesignPlayground-Bridging-Header.h +3 -0
  28. package/playground/ios/MobileHeroDesignPlayground/MobileHeroDesignPlayground.entitlements +8 -0
  29. package/playground/ios/MobileHeroDesignPlayground/SplashScreen.storyboard +40 -0
  30. package/playground/ios/MobileHeroDesignPlayground/Supporting/Expo.plist +16 -0
  31. package/playground/ios/MobileHeroDesignPlayground/main.m +10 -0
  32. package/playground/ios/MobileHeroDesignPlayground/noop-file.swift +4 -0
  33. package/playground/ios/MobileHeroDesignPlayground.xcodeproj/project.pbxproj +515 -0
  34. package/playground/ios/MobileHeroDesignPlayground.xcodeproj/xcshareddata/xcschemes/MobileHeroDesignPlayground.xcscheme +88 -0
  35. package/playground/ios/MobileHeroDesignPlayground.xcworkspace/contents.xcworkspacedata +10 -0
  36. package/playground/ios/MobileHeroDesignPlayground.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  37. package/playground/ios/Podfile +49 -0
  38. package/playground/ios/Podfile.lock +478 -0
  39. package/playground/ios/Podfile.properties.json +3 -0
  40. package/{metro.config.js → playground/metro.config.js} +10 -2
  41. package/playground/package.json +63 -0
  42. package/playground/src/Alert.tsx +80 -0
  43. package/playground/{index.tsx → src/App.tsx} +63 -29
  44. package/playground/{components → src}/Avatar.tsx +1 -1
  45. package/playground/{components → src}/Badge.tsx +1 -1
  46. package/playground/{components → src}/BottomNavigation.tsx +1 -1
  47. package/playground/src/BottomSheet.tsx +43 -0
  48. package/playground/{components → src}/Button.tsx +1 -1
  49. package/playground/{components → src}/Card.tsx +1 -1
  50. package/playground/{components → src}/Collapse.tsx +1 -1
  51. package/playground/src/ContentNavigator.tsx +65 -0
  52. package/playground/{components → src}/Divider.tsx +1 -1
  53. package/playground/{components → src}/Drawer.tsx +1 -1
  54. package/playground/{components → src}/FAB.tsx +1 -1
  55. package/playground/{components → src}/Icon.tsx +7 -3
  56. package/playground/{components → src}/IconButton.tsx +12 -1
  57. package/playground/src/MultipleThemes.tsx +34 -0
  58. package/playground/{components → src}/Progress.tsx +1 -1
  59. package/playground/src/Radio.tsx +25 -0
  60. package/playground/src/SectionHeading.tsx +68 -0
  61. package/playground/src/Spinner.tsx +19 -0
  62. package/playground/{components → src}/Tabs.tsx +1 -1
  63. package/playground/{components → src}/Tag.tsx +1 -1
  64. package/playground/src/TextInput.tsx +14 -0
  65. package/playground/{components → src}/Typography.tsx +1 -1
  66. package/playground/src/emotion.d.ts +7 -0
  67. package/playground/tsconfig.json +21 -0
  68. package/src/components/Alert/StyledAlert.tsx +48 -0
  69. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +686 -0
  70. package/src/components/Alert/__tests__/index.spec.tsx +83 -0
  71. package/src/components/Alert/index.tsx +109 -0
  72. package/src/components/BottomSheet/Footer.tsx +19 -0
  73. package/src/components/BottomSheet/Header.tsx +49 -0
  74. package/src/components/BottomSheet/StyledBottomSheet.tsx +75 -0
  75. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +531 -0
  76. package/src/components/BottomSheet/__tests__/index.spec.tsx +107 -0
  77. package/src/components/BottomSheet/index.tsx +171 -0
  78. package/src/components/Button/IconButton.tsx +11 -1
  79. package/src/components/Card/index.tsx +1 -1
  80. package/src/components/Collapse/StyledCollapse.tsx +11 -2
  81. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +36 -31
  82. package/src/components/Collapse/__tests__/index.spec.tsx +1 -13
  83. package/src/components/Collapse/index.tsx +20 -50
  84. package/src/components/ContentNavigator/StyledContentNavigator.tsx +15 -0
  85. package/src/components/ContentNavigator/__tests__/StyledContentNavigator.spec.tsx +19 -0
  86. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +43 -0
  87. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +217 -0
  88. package/src/components/ContentNavigator/__tests__/index.spec.tsx +74 -0
  89. package/src/components/ContentNavigator/index.tsx +65 -0
  90. package/src/components/Icon/HeroIcon/index.tsx +13 -2
  91. package/src/components/Icon/HeroIcon/selection.json +1 -1
  92. package/src/components/Icon/IconList.ts +8 -0
  93. package/src/components/Icon/index.tsx +8 -1
  94. package/src/components/Radio/Radio.tsx +51 -0
  95. package/src/components/Radio/RadioGroup.tsx +50 -0
  96. package/src/components/Radio/StyledRadio.tsx +42 -0
  97. package/src/components/Radio/__tests__/Radio.spec.tsx +38 -0
  98. package/src/components/Radio/__tests__/RadioGroup.spec.tsx +36 -0
  99. package/src/components/Radio/__tests__/StyledRadio.spec.tsx +43 -0
  100. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +160 -0
  101. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +248 -0
  102. package/src/components/Radio/__tests__/__snapshots__/StyledRadio.spec.tsx.snap +124 -0
  103. package/src/components/Radio/index.tsx +5 -0
  104. package/src/components/SectionHeading/StyledHeading.tsx +24 -0
  105. package/src/components/SectionHeading/__tests__/StyledHeading.tsx +28 -0
  106. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.tsx.snap +48 -0
  107. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +208 -0
  108. package/src/components/SectionHeading/__tests__/index.spec.tsx +39 -0
  109. package/src/components/SectionHeading/index.tsx +93 -0
  110. package/src/components/Spinner/AnimatedSpinner.tsx +55 -0
  111. package/src/components/Spinner/StyledSpinner.tsx +59 -0
  112. package/src/components/Spinner/__tests__/AnimatedSpinner.spec.tsx +11 -0
  113. package/src/components/Spinner/__tests__/StyledSpinner.spec.tsx +56 -0
  114. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +118 -0
  115. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +235 -0
  116. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +141 -0
  117. package/src/components/Spinner/__tests__/index.spec.tsx +12 -0
  118. package/src/components/Spinner/index.tsx +22 -0
  119. package/src/components/TextInput/StyledTextInput.tsx +34 -0
  120. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +33 -0
  121. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +88 -0
  122. package/src/components/TextInput/__tests__/index.spec.tsx +16 -0
  123. package/src/components/TextInput/index.tsx +61 -0
  124. package/src/index.ts +14 -0
  125. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +117 -0
  126. package/src/theme/components/alert.ts +32 -0
  127. package/src/theme/components/bottomSheet.ts +34 -0
  128. package/src/theme/components/contentNavigator.ts +11 -0
  129. package/src/theme/components/icon.ts +1 -0
  130. package/src/theme/components/radio.ts +34 -0
  131. package/src/theme/components/spinner.ts +21 -0
  132. package/src/theme/components/textInput.ts +32 -0
  133. package/src/theme/global/borders.ts +6 -0
  134. package/src/theme/global/colors.ts +2 -0
  135. package/src/theme/index.ts +25 -7
  136. package/tsconfig.json +11 -3
  137. package/types/components/Alert/StyledAlert.d.ts +37 -0
  138. package/types/{src/components/Avatar → components/Alert}/__tests__/index.spec.d.ts +0 -0
  139. package/types/components/Alert/index.d.ts +42 -0
  140. package/types/{src/components → components}/Avatar/StyledAvatar.d.ts +0 -1
  141. package/types/{src/components → components}/Avatar/__tests__/StyledAvatar.spec.d.ts +0 -0
  142. package/types/{src/components/BottomNavigation → components/Avatar}/__tests__/index.spec.d.ts +0 -0
  143. package/types/{src/components → components}/Avatar/index.d.ts +0 -0
  144. package/types/{src/components → components}/Badge/Status.d.ts +0 -0
  145. package/types/{src/components → components}/Badge/StyledBadge.d.ts +0 -1
  146. package/types/{src/components → components}/Badge/__tests__/Badge.spec.d.ts +0 -0
  147. package/types/{src/components → components}/Badge/__tests__/Status.spec.d.ts +0 -0
  148. package/types/{src/components → components}/Badge/index.d.ts +0 -0
  149. package/types/{src/components → components}/BottomNavigation/StyledBottomNavigation.d.ts +0 -1
  150. package/types/{src/components/Button/LoadingIndicator → components/BottomNavigation}/__tests__/index.spec.d.ts +0 -0
  151. package/types/{src/components → components}/BottomNavigation/index.d.ts +0 -0
  152. package/types/components/BottomSheet/Footer.d.ts +6 -0
  153. package/types/components/BottomSheet/Header.d.ts +8 -0
  154. package/types/components/BottomSheet/StyledBottomSheet.d.ts +46 -0
  155. package/types/{src/components/Button → components/BottomSheet}/__tests__/index.spec.d.ts +0 -0
  156. package/types/components/BottomSheet/index.d.ts +51 -0
  157. package/types/{src/components → components}/Button/Button.d.ts +0 -0
  158. package/types/{src/components → components}/Button/IconButton.d.ts +5 -1
  159. package/types/{src/components → components}/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -1
  160. package/types/{src/components → components}/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +0 -0
  161. package/types/{src/components/Card → components/Button/LoadingIndicator}/__tests__/index.spec.d.ts +0 -0
  162. package/types/{src/components → components}/Button/LoadingIndicator/index.d.ts +0 -0
  163. package/types/{src/components → components}/Button/StyledButton.d.ts +0 -1
  164. package/types/{src/components → components}/Button/__tests__/Button.spec.d.ts +0 -0
  165. package/types/{src/components → components}/Button/__tests__/IconButton.spec.d.ts +0 -0
  166. package/types/{src/components → components}/Button/__tests__/StyledButton.spec.d.ts +0 -0
  167. package/types/{src/components → components}/Button/index.d.ts +0 -0
  168. package/types/{src/components → components}/Card/StyledCard.d.ts +0 -1
  169. package/types/{src/components → components}/Card/__tests__/StyledCard.spec.d.ts +0 -0
  170. package/types/{src/components/Collapse → components/Card}/__tests__/index.spec.d.ts +0 -0
  171. package/types/{src/components → components}/Card/index.d.ts +0 -0
  172. package/types/{src/components → components}/Collapse/StyledCollapse.d.ts +12 -2
  173. package/types/{src/components → components}/Collapse/__tests__/StyledCollapse.spec.d.ts +0 -0
  174. package/types/{src/components/Drawer → components/Collapse}/__tests__/index.spec.d.ts +0 -0
  175. package/types/{src/components → components}/Collapse/index.d.ts +1 -5
  176. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +12 -0
  177. package/types/{src/components/Divider/__tests__/StyledDivider.spec.d.ts → components/ContentNavigator/__tests__/StyledContentNavigator.spec.d.ts} +0 -0
  178. package/types/{src/components/FAB → components/ContentNavigator}/__tests__/index.spec.d.ts +0 -0
  179. package/types/components/ContentNavigator/index.d.ts +33 -0
  180. package/types/{src/components → components}/Divider/StyledDivider.d.ts +0 -1
  181. package/types/{src/components/FAB/__tests__/AnimatedFABIcon.spec.d.ts → components/Divider/__tests__/StyledDivider.spec.d.ts} +0 -0
  182. package/types/{src/components → components}/Divider/index.d.ts +0 -0
  183. package/types/{src/components → components}/Drawer/StyledDrawer.d.ts +0 -1
  184. package/types/{src/components/Icon → components/Drawer}/__tests__/index.spec.d.ts +0 -0
  185. package/types/{src/components → components}/Drawer/index.d.ts +0 -0
  186. package/types/{src/components → components}/FAB/ActionGroup/ActionItem.d.ts +0 -0
  187. package/types/{src/components → components}/FAB/ActionGroup/StyledActionGroup.d.ts +0 -1
  188. package/types/{src/components → components}/FAB/ActionGroup/StyledActionItem.d.ts +0 -1
  189. package/types/{src/components → components}/FAB/ActionGroup/__tests__/index.spec.d.ts +0 -0
  190. package/types/{src/components → components}/FAB/ActionGroup/index.d.ts +0 -0
  191. package/types/{src/components → components}/FAB/AnimatedFABIcon.d.ts +0 -0
  192. package/types/{src/components → components}/FAB/FAB.d.ts +0 -0
  193. package/types/{src/components → components}/FAB/StyledFAB.d.ts +0 -1
  194. package/types/{src/components/FAB/__tests__/StyledFAB.spec.d.ts → components/FAB/__tests__/AnimatedFABIcon.spec.d.ts} +0 -0
  195. package/types/{src/components/Progress/__tests__/index.spec.d.ts → components/FAB/__tests__/StyledFAB.spec.d.ts} +0 -0
  196. package/types/{src/components/Tabs → components/FAB}/__tests__/index.spec.d.ts +0 -0
  197. package/types/{src/components → components}/FAB/index.d.ts +0 -0
  198. package/types/{src/components → components}/Icon/HeroIcon/index.d.ts +1 -2
  199. package/types/components/Icon/IconList.d.ts +2 -0
  200. package/types/{src/components/Typography/Text → components/Icon}/__tests__/index.spec.d.ts +0 -0
  201. package/types/{src/components → components}/Icon/index.d.ts +1 -1
  202. package/types/components/Icon/utils.d.ts +2 -0
  203. package/types/{src/components → components}/Progress/ProgressBar.d.ts +0 -0
  204. package/types/{src/components → components}/Progress/ProgressCircle.d.ts +0 -0
  205. package/types/{src/components → components}/Progress/StyledProgressBar.d.ts +0 -1
  206. package/types/{src/components → components}/Progress/StyledProgressCircle.d.ts +0 -1
  207. package/types/{src/theme → components/Progress}/__tests__/index.spec.d.ts +0 -0
  208. package/types/{src/components → components}/Progress/index.d.ts +0 -0
  209. package/types/{src/components → components}/Progress/types.d.ts +0 -0
  210. package/types/components/Radio/Radio.d.ts +26 -0
  211. package/types/components/Radio/RadioGroup.d.ts +29 -0
  212. package/types/components/Radio/StyledRadio.d.ts +30 -0
  213. package/types/{src/components/Tabs/__tests__/ScrollableTabs.spec.d.ts → components/Radio/__tests__/Radio.spec.d.ts} +0 -0
  214. package/types/{src/components/Tag/__tests__/Tag.spec.d.ts → components/Radio/__tests__/RadioGroup.spec.d.ts} +0 -0
  215. package/types/{src/components/Typography/Text/__tests__/StyledText.spec.d.ts → components/Radio/__tests__/StyledRadio.spec.d.ts} +0 -0
  216. package/types/components/Radio/index.d.ts +4 -0
  217. package/types/components/SectionHeading/StyledHeading.d.ts +20 -0
  218. package/types/{src/utils/__tests__/scale.spec.d.ts → components/SectionHeading/__tests__/StyledHeading.d.ts} +0 -0
  219. package/types/components/SectionHeading/__tests__/index.spec.d.ts +1 -0
  220. package/types/components/SectionHeading/index.d.ts +39 -0
  221. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -0
  222. package/types/components/Spinner/StyledSpinner.d.ts +30 -0
  223. package/types/components/Spinner/__tests__/AnimatedSpinner.spec.d.ts +1 -0
  224. package/types/components/Spinner/__tests__/StyledSpinner.spec.d.ts +1 -0
  225. package/types/components/Spinner/__tests__/index.spec.d.ts +1 -0
  226. package/types/components/Spinner/index.d.ts +10 -0
  227. package/types/{src/components → components}/Tabs/ActiveTabIndicator.d.ts +0 -0
  228. package/types/{src/components → components}/Tabs/ScrollableTabs.d.ts +0 -0
  229. package/types/{src/components → components}/Tabs/StyledScrollableTabs.d.ts +0 -1
  230. package/types/{src/components → components}/Tabs/StyledTabs.d.ts +0 -1
  231. package/types/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +1 -0
  232. package/types/components/Tabs/__tests__/index.spec.d.ts +1 -0
  233. package/types/{src/components → components}/Tabs/index.d.ts +0 -0
  234. package/types/{src/components → components}/Tabs/utils.d.ts +0 -0
  235. package/types/{src/components → components}/Tag/StyledTag.d.ts +0 -1
  236. package/types/components/Tag/__tests__/Tag.spec.d.ts +1 -0
  237. package/types/{src/components → components}/Tag/index.d.ts +0 -0
  238. package/types/components/TextInput/StyledTextInput.d.ts +22 -0
  239. package/types/components/TextInput/__tests__/StyledTextInput.spec.d.ts +1 -0
  240. package/types/components/TextInput/__tests__/index.spec.d.ts +1 -0
  241. package/types/components/TextInput/index.d.ts +26 -0
  242. package/types/{src/components → components}/Typography/Text/StyledText.d.ts +0 -1
  243. package/types/components/Typography/Text/__tests__/StyledText.spec.d.ts +1 -0
  244. package/types/components/Typography/Text/__tests__/index.spec.d.ts +1 -0
  245. package/types/{src/components → components}/Typography/Text/index.d.ts +0 -0
  246. package/types/{src/components → components}/Typography/index.d.ts +0 -0
  247. package/types/{src/index.d.ts → index.d.ts} +8 -1
  248. package/types/{src/testHelpers → testHelpers}/renderWithTheme.d.ts +0 -0
  249. package/types/theme/__tests__/index.spec.d.ts +1 -0
  250. package/types/theme/components/alert.d.ts +23 -0
  251. package/types/{src/theme → theme}/components/avatar.d.ts +0 -0
  252. package/types/{src/theme → theme}/components/badge.d.ts +0 -0
  253. package/types/{src/theme → theme}/components/bottomNavigation.d.ts +0 -0
  254. package/types/theme/components/bottomSheet.d.ts +29 -0
  255. package/types/{src/theme → theme}/components/button.d.ts +0 -0
  256. package/types/{src/theme → theme}/components/card.d.ts +0 -0
  257. package/types/theme/components/contentNavigator.d.ts +7 -0
  258. package/types/{src/theme → theme}/components/divider.d.ts +0 -0
  259. package/types/{src/theme → theme}/components/drawer.d.ts +0 -0
  260. package/types/{src/theme → theme}/components/fab.d.ts +0 -0
  261. package/types/{src/theme → theme}/components/icon.d.ts +1 -0
  262. package/types/{src/theme → theme}/components/progress.d.ts +0 -0
  263. package/types/theme/components/radio.d.ts +25 -0
  264. package/types/theme/components/spinner.d.ts +15 -0
  265. package/types/{src/theme → theme}/components/tabs.d.ts +0 -0
  266. package/types/{src/theme → theme}/components/tag.d.ts +0 -0
  267. package/types/theme/components/textInput.d.ts +24 -0
  268. package/types/{src/theme → theme}/components/typography.d.ts +0 -0
  269. package/types/{src/theme → theme}/global/borders.d.ts +3 -0
  270. package/types/{src/theme → theme}/global/colors.d.ts +2 -0
  271. package/types/{src/theme → theme}/global/index.d.ts +2 -0
  272. package/types/{src/theme → theme}/global/scale.d.ts +0 -0
  273. package/types/{src/theme → theme}/global/space.d.ts +0 -0
  274. package/types/{src/theme → theme}/global/typography.d.ts +0 -0
  275. package/types/{src/theme → theme}/index.d.ts +17 -5
  276. package/types/{src/types.d.ts → types.d.ts} +0 -0
  277. package/types/utils/__tests__/scale.spec.d.ts +1 -0
  278. package/types/{src/utils → utils}/helpers.d.ts +0 -0
  279. package/types/{src/utils → utils}/hooks.d.ts +0 -0
  280. package/types/{src/utils → utils}/scale.d.ts +0 -0
  281. package/.turbo/turbo-build:types.log +0 -2
  282. package/.turbo/turbo-test.log +0 -131
  283. package/.turbo/turbo-type-check.log +0 -7
  284. package/app.json +0 -8
  285. package/types/playground/components/Avatar.d.ts +0 -2
  286. package/types/playground/components/Badge.d.ts +0 -2
  287. package/types/playground/components/BottomNavigation.d.ts +0 -2
  288. package/types/playground/components/Button.d.ts +0 -2
  289. package/types/playground/components/Card.d.ts +0 -2
  290. package/types/playground/components/Collapse.d.ts +0 -2
  291. package/types/playground/components/Divider.d.ts +0 -2
  292. package/types/playground/components/Drawer.d.ts +0 -2
  293. package/types/playground/components/FAB.d.ts +0 -2
  294. package/types/playground/components/Icon.d.ts +0 -2
  295. package/types/playground/components/IconButton.d.ts +0 -2
  296. package/types/playground/components/Progress.d.ts +0 -2
  297. package/types/playground/components/Tabs.d.ts +0 -2
  298. package/types/playground/components/Tag.d.ts +0 -2
  299. package/types/playground/components/Typography.d.ts +0 -2
  300. package/types/playground/index.d.ts +0 -2
  301. package/types/src/components/Icon/IconList.d.ts +0 -2
  302. package/types/src/components/Icon/utils.d.ts +0 -2
@@ -0,0 +1,23 @@
1
+ import { GlobalTheme } from '../global';
2
+ declare const getAlertTheme: (theme: GlobalTheme) => {
3
+ colors: {
4
+ success: string;
5
+ warning: string;
6
+ error: string;
7
+ info: string;
8
+ divider: string;
9
+ };
10
+ radii: {
11
+ default: number;
12
+ };
13
+ sizes: {
14
+ height: number;
15
+ };
16
+ space: {
17
+ padding: number;
18
+ };
19
+ borderWidths: {
20
+ base: number;
21
+ };
22
+ };
23
+ export default getAlertTheme;
File without changes
@@ -0,0 +1,29 @@
1
+ import { GlobalTheme } from '../global';
2
+ declare const getBottomSheetTheme: (theme: GlobalTheme) => {
3
+ colors: {
4
+ shadow: string;
5
+ background: string;
6
+ backdrop: string;
7
+ };
8
+ shadows: {
9
+ offset: {
10
+ width: number;
11
+ height: number;
12
+ };
13
+ opacity: number;
14
+ radius: number;
15
+ elevation: number;
16
+ };
17
+ radii: {
18
+ default: number;
19
+ };
20
+ sizes: {
21
+ sectionHeight: number;
22
+ closeIconWidth: number;
23
+ };
24
+ space: {
25
+ horizontalPadding: number;
26
+ verticalPadding: number;
27
+ };
28
+ };
29
+ export default getBottomSheetTheme;
File without changes
@@ -0,0 +1,7 @@
1
+ import { GlobalTheme } from '../global';
2
+ declare const getContentNavigatorTheme: (theme: GlobalTheme) => {
3
+ space: {
4
+ valueHorizontalPadding: number;
5
+ };
6
+ };
7
+ export default getContentNavigatorTheme;
File without changes
@@ -7,6 +7,7 @@ declare const getIconTheme: (theme: GlobalTheme) => {
7
7
  danger: string;
8
8
  success: string;
9
9
  warning: string;
10
+ disabledText: string;
10
11
  };
11
12
  sizes: {
12
13
  xsmall: number;
@@ -0,0 +1,25 @@
1
+ import { GlobalTheme } from '../global';
2
+ declare const getRadioTheme: (theme: GlobalTheme) => {
3
+ sizes: {
4
+ circle: number;
5
+ innerCircle: number;
6
+ };
7
+ borderWidths: {
8
+ circle: number;
9
+ };
10
+ space: {
11
+ wrapperPadding: number;
12
+ circleLeftMargin: number;
13
+ groupTopMargin: number;
14
+ };
15
+ colors: {
16
+ circle: string;
17
+ checkedCircle: string;
18
+ wrapper: string;
19
+ checkedWrapper: string;
20
+ };
21
+ radii: {
22
+ wrapper: number;
23
+ };
24
+ };
25
+ export default getRadioTheme;
@@ -0,0 +1,15 @@
1
+ import { GlobalTheme } from '../global';
2
+ declare const getSpinnerTheme: (theme: GlobalTheme) => {
3
+ color: {
4
+ default: string;
5
+ };
6
+ space: {
7
+ spinnerDot: number;
8
+ spinnerDotPadding: number;
9
+ spinnerTextPaddingTop: number;
10
+ };
11
+ radii: {
12
+ default: number;
13
+ };
14
+ };
15
+ export default getSpinnerTheme;
File without changes
File without changes
@@ -0,0 +1,24 @@
1
+ import { GlobalTheme } from '../global';
2
+ declare const getTextInputTheme: (theme: GlobalTheme) => {
3
+ colors: {
4
+ labelBackground: string;
5
+ border: string;
6
+ };
7
+ space: {
8
+ containerPadding: number;
9
+ labelLeft: number;
10
+ labelTop: number;
11
+ labelHorizontalPadding: number;
12
+ prefixMarginRight: number;
13
+ };
14
+ fontSizes: {
15
+ text: number;
16
+ };
17
+ borderWidths: {
18
+ container: number;
19
+ };
20
+ radii: {
21
+ container: number;
22
+ };
23
+ };
24
+ export default getTextInputTheme;
@@ -1,10 +1,13 @@
1
1
  interface BorderWidths {
2
2
  base: number;
3
+ medium: number;
3
4
  }
4
5
  interface Radii {
5
6
  rounded: number;
6
7
  base: number;
7
8
  medium: number;
9
+ large: number;
10
+ xlarge: number;
8
11
  }
9
12
  declare const getBorderWidths: (baseBorderWidth: number) => BorderWidths;
10
13
  declare const getRadii: (baseRadius: number) => Radii;
@@ -6,6 +6,7 @@ declare const systemPalette: {
6
6
  secondary: string;
7
7
  secondaryLight: string;
8
8
  info: string;
9
+ infoMediumLight: string;
9
10
  infoLight: string;
10
11
  infoBackground: string;
11
12
  success: string;
@@ -26,6 +27,7 @@ declare const systemPalette: {
26
27
  invertedText: string;
27
28
  outline: string;
28
29
  archived: string;
30
+ black: string;
29
31
  };
30
32
  declare type SystemPalette = typeof systemPalette;
31
33
  export { systemPalette, SystemPalette };
@@ -9,6 +9,7 @@ declare const getGlobalTheme: (scale: Scale, systemPalette: SystemPalette) => {
9
9
  secondary: string;
10
10
  secondaryLight: string;
11
11
  info: string;
12
+ infoMediumLight: string;
12
13
  infoLight: string;
13
14
  infoBackground: string;
14
15
  success: string;
@@ -29,6 +30,7 @@ declare const getGlobalTheme: (scale: Scale, systemPalette: SystemPalette) => {
29
30
  invertedText: string;
30
31
  outline: string;
31
32
  archived: string;
33
+ black: string;
32
34
  };
33
35
  fonts: import("./typography").Fonts;
34
36
  fontSizes: import("./typography").FontSizes;
File without changes
File without changes
@@ -1,32 +1,44 @@
1
1
  import { GlobalTheme, Scale, SystemPalette } from './global';
2
+ import getAlertTheme from './components/alert';
3
+ import getAvatarTheme from './components/avatar';
2
4
  import getBadgeTheme from './components/badge';
3
5
  import getBottomNavigationTheme from './components/bottomNavigation';
6
+ import getBottomSheetTheme from './components/bottomSheet';
4
7
  import getButtonTheme from './components/button';
5
8
  import getCardTheme from './components/card';
9
+ import getContentNavigatorTheme from './components/contentNavigator';
6
10
  import getDividerTheme from './components/divider';
7
11
  import getDrawerTheme from './components/drawer';
8
- import getTabsTheme from './components/tabs';
9
- import getTagTheme from './components/tag';
12
+ import getFABTheme from './components/fab';
10
13
  import getIconTheme from './components/icon';
11
14
  import getProgressTheme from './components/progress';
15
+ import getSpinnerTheme from './components/spinner';
16
+ import getRadioTheme from './components/radio';
17
+ import getTabsTheme from './components/tabs';
18
+ import getTagTheme from './components/tag';
19
+ import getTextInputTheme from './components/textInput';
12
20
  import getTypographyTheme from './components/typography';
13
- import getFABTheme from './components/fab';
14
- import getAvatarTheme from './components/avatar';
15
21
  declare type Theme = GlobalTheme & {
16
22
  __hd__: {
23
+ alert: ReturnType<typeof getAlertTheme>;
17
24
  avatar: ReturnType<typeof getAvatarTheme>;
18
25
  badge: ReturnType<typeof getBadgeTheme>;
19
26
  bottomNavigation: ReturnType<typeof getBottomNavigationTheme>;
27
+ bottomSheet: ReturnType<typeof getBottomSheetTheme>;
20
28
  button: ReturnType<typeof getButtonTheme>;
21
29
  card: ReturnType<typeof getCardTheme>;
30
+ contentNavigator: ReturnType<typeof getContentNavigatorTheme>;
22
31
  divider: ReturnType<typeof getDividerTheme>;
23
32
  drawer: ReturnType<typeof getDrawerTheme>;
33
+ fab: ReturnType<typeof getFABTheme>;
24
34
  icon: ReturnType<typeof getIconTheme>;
25
35
  progress: ReturnType<typeof getProgressTheme>;
36
+ spinner: ReturnType<typeof getSpinnerTheme>;
37
+ radio: ReturnType<typeof getRadioTheme>;
26
38
  tabs: ReturnType<typeof getTabsTheme>;
27
39
  tag: ReturnType<typeof getTagTheme>;
40
+ textInput: ReturnType<typeof getTextInputTheme>;
28
41
  typography: ReturnType<typeof getTypographyTheme>;
29
- fab: ReturnType<typeof getFABTheme>;
30
42
  };
31
43
  };
32
44
  declare const getTheme: (scale?: Scale, systemPallete?: SystemPalette) => Theme;
File without changes
@@ -0,0 +1 @@
1
+ export {};
File without changes
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- @hero-design/rn:build:types: cache hit, replaying output 87e4ecd1c5f30b61
2
- @hero-design/rn:build:types: $ tsc --noEmit false --emitDeclarationOnly
@@ -1,131 +0,0 @@
1
- @hero-design/rn:test: cache hit, replaying output ae9c37bec6e0aef7
2
- @hero-design/rn:test: $ jest --runInBand
3
- @hero-design/rn:test: watchman warning: Recrawled this watch 11 times, most recently because:
4
- @hero-design/rn:test: MustScanSubDirs UserDroppedTo resolve, please review the information on
5
- @hero-design/rn:test: https://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
6
- @hero-design/rn:test: To clear this warning, run:
7
- @hero-design/rn:test: `watchman watch-del '/Users/hieupham/Documents/workspace/EH/hero-design' ; watchman watch-project '/Users/hieupham/Documents/workspace/EH/hero-design'`
8
- @hero-design/rn:test: 
9
- @hero-design/rn:test: Browserslist: caniuse-lite is outdated. Please run:
10
- @hero-design/rn:test:  npx browserslist@latest --update-db
11
- @hero-design/rn:test:  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
12
- @hero-design/rn:test: PASS src/components/Button/__tests__/StyledButton.spec.tsx
13
- @hero-design/rn:test: PASS src/components/BottomNavigation/__tests__/index.spec.tsx
14
- @hero-design/rn:test: PASS src/components/Button/__tests__/AnimatedLoadingIndicator.spec.tsx
15
- @hero-design/rn:test: PASS src/components/Button/__tests__/Button.spec.tsx
16
- @hero-design/rn:test: PASS src/components/FAB/ActionGroup/__tests__/index.spec.tsx
17
- @hero-design/rn:test:  ● Console
18
- @hero-design/rn:test: 
19
- @hero-design/rn:test:  console.error
20
- @hero-design/rn:test:  Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
21
- @hero-design/rn:test: 
22
- @hero-design/rn:test:  Check the render method of `emotion(Icon)`.
23
- @hero-design/rn:test:  at Icon (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/src/components/Icon/index.tsx:32:3)
24
- @hero-design/rn:test:  at /Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
25
- @hero-design/rn:test:  at AnimatedComponent (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/react-native/Libraries/Animated/createAnimatedComponent.js:47:43)
26
- @hero-design/rn:test:  at AnimatedComponentWrapper
27
- @hero-design/rn:test:  at View
28
- @hero-design/rn:test:  at Component (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
29
- @hero-design/rn:test:  at AnimatedComponent (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/react-native/Libraries/Animated/createAnimatedComponent.js:47:43)
30
- @hero-design/rn:test:  at AnimatedComponentWrapper
31
- @hero-design/rn:test:  at AnimatedFABIcon (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/src/components/FAB/AnimatedFABIcon.tsx:12:28)
32
- @hero-design/rn:test:  at View
33
- @hero-design/rn:test:  at Component (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
34
- @hero-design/rn:test:  at TouchableHighlight (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/react-native/Libraries/Components/Touchable/TouchableHighlight.js:45:34)
35
- @hero-design/rn:test:  at TouchableHighlight
36
- @hero-design/rn:test:  at /Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
37
- @hero-design/rn:test:  at FAB (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/src/components/FAB/FAB.tsx:35:16)
38
- @hero-design/rn:test:  at /Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
39
- @hero-design/rn:test:  at View
40
- @hero-design/rn:test:  at Component (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
41
- @hero-design/rn:test:  at /Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
42
- @hero-design/rn:test:  at ActionGroup (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/src/components/FAB/ActionGroup/index.tsx:54:3)
43
- @hero-design/rn:test:  at ThemeProvider (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/@emotion/react/dist/emotion-element-ae8cc4ba.cjs.dev.js:126:21)
44
- @hero-design/rn:test: 
45
- @hero-design/rn:test:  at printWarning (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:68:30)
46
- @hero-design/rn:test:  at error (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:44:5)
47
- @hero-design/rn:test:  at validateFunctionComponentInDev (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8846:9)
48
- @hero-design/rn:test:  at mountIndeterminateComponent (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8813:7)
49
- @hero-design/rn:test:  at beginWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:9966:16)
50
- @hero-design/rn:test:  at performUnitOfWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13800:12)
51
- @hero-design/rn:test:  at workLoopSync (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13728:5)
52
- @hero-design/rn:test:  at renderRootSync (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13691:7)
53
- @hero-design/rn:test: 
54
- @hero-design/rn:test: PASS src/components/Tabs/__tests__/index.spec.tsx
55
- @hero-design/rn:test: PASS src/components/Divider/__tests__/StyledDivider.spec.tsx
56
- @hero-design/rn:test: PASS src/components/Typography/Text/__tests__/StyledText.spec.tsx
57
- @hero-design/rn:test: PASS src/components/FAB/__tests__/index.spec.tsx
58
- @hero-design/rn:test:  ● Console
59
- @hero-design/rn:test: 
60
- @hero-design/rn:test:  console.error
61
- @hero-design/rn:test:  Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
62
- @hero-design/rn:test: 
63
- @hero-design/rn:test:  Check the render method of `emotion(Icon)`.
64
- @hero-design/rn:test:  at Icon (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/src/components/Icon/index.tsx:32:3)
65
- @hero-design/rn:test:  at /Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
66
- @hero-design/rn:test:  at AnimatedComponent (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/react-native/Libraries/Animated/createAnimatedComponent.js:47:43)
67
- @hero-design/rn:test:  at AnimatedComponentWrapper
68
- @hero-design/rn:test:  at View
69
- @hero-design/rn:test:  at Component (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
70
- @hero-design/rn:test:  at AnimatedComponent (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/react-native/Libraries/Animated/createAnimatedComponent.js:47:43)
71
- @hero-design/rn:test:  at AnimatedComponentWrapper
72
- @hero-design/rn:test:  at AnimatedFABIcon (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/src/components/FAB/AnimatedFABIcon.tsx:12:28)
73
- @hero-design/rn:test:  at View
74
- @hero-design/rn:test:  at Component (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
75
- @hero-design/rn:test:  at TouchableHighlight (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/react-native/Libraries/Components/Touchable/TouchableHighlight.js:45:34)
76
- @hero-design/rn:test:  at TouchableHighlight
77
- @hero-design/rn:test:  at /Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
78
- @hero-design/rn:test:  at FAB (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/src/components/FAB/FAB.tsx:35:16)
79
- @hero-design/rn:test:  at ThemeProvider (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/@emotion/react/dist/emotion-element-ae8cc4ba.cjs.dev.js:126:21)
80
- @hero-design/rn:test: 
81
- @hero-design/rn:test:  at printWarning (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:68:30)
82
- @hero-design/rn:test:  at error (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:44:5)
83
- @hero-design/rn:test:  at validateFunctionComponentInDev (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8846:9)
84
- @hero-design/rn:test:  at mountIndeterminateComponent (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8813:7)
85
- @hero-design/rn:test:  at beginWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:9966:16)
86
- @hero-design/rn:test:  at performUnitOfWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13800:12)
87
- @hero-design/rn:test:  at workLoopSync (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13728:5)
88
- @hero-design/rn:test:  at renderRootSync (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13691:7)
89
- @hero-design/rn:test: 
90
- @hero-design/rn:test: PASS src/components/Badge/__tests__/Badge.spec.tsx
91
- @hero-design/rn:test: PASS src/components/FAB/__tests__/AnimatedFABIcon.spec.tsx
92
- @hero-design/rn:test:  ● Console
93
- @hero-design/rn:test: 
94
- @hero-design/rn:test:  console.error
95
- @hero-design/rn:test:  Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
96
- @hero-design/rn:test: 
97
- @hero-design/rn:test:  Check the render method of `emotion(Icon)`.
98
- @hero-design/rn:test:  at Icon (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/src/components/Icon/index.tsx:32:3)
99
- @hero-design/rn:test:  at /Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/@emotion/primitives-core/dist/emotion-primitives-core.cjs.dev.js:208:45
100
- @hero-design/rn:test:  at AnimatedComponent (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/react-native/Libraries/Animated/createAnimatedComponent.js:47:43)
101
- @hero-design/rn:test:  at AnimatedComponentWrapper
102
- @hero-design/rn:test:  at View
103
- @hero-design/rn:test:  at Component (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/react-native/jest/mockComponent.js:28:18)
104
- @hero-design/rn:test:  at AnimatedComponent (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/react-native/Libraries/Animated/createAnimatedComponent.js:47:43)
105
- @hero-design/rn:test:  at AnimatedComponentWrapper
106
- @hero-design/rn:test:  at AnimatedFABIcon (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/src/components/FAB/AnimatedFABIcon.tsx:12:28)
107
- @hero-design/rn:test:  at ThemeProvider (/Users/hieupham/Documents/workspace/EH/hero-design/packages/rn/node_modules/@emotion/react/dist/emotion-element-ae8cc4ba.cjs.dev.js:126:21)
108
- @hero-design/rn:test: 
109
- @hero-design/rn:test:  at printWarning (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:68:30)
110
- @hero-design/rn:test:  at error (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:44:5)
111
- @hero-design/rn:test:  at validateFunctionComponentInDev (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8846:9)
112
- @hero-design/rn:test:  at mountIndeterminateComponent (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:8813:7)
113
- @hero-design/rn:test:  at beginWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:9966:16)
114
- @hero-design/rn:test:  at performUnitOfWork (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13800:12)
115
- @hero-design/rn:test:  at workLoopSync (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13728:5)
116
- @hero-design/rn:test:  at renderRootSync (node_modules/react-test-renderer/cjs/react-test-renderer.development.js:13691:7)
117
- @hero-design/rn:test: 
118
- @hero-design/rn:test: PASS src/components/Card/__tests__/index.spec.tsx
119
- @hero-design/rn:test: PASS src/components/FAB/__tests__/StyledFAB.spec.tsx
120
- @hero-design/rn:test: PASS src/components/Icon/__tests__/index.spec.tsx
121
- @hero-design/rn:test: PASS src/components/Button/__tests__/IconButton.spec.tsx
122
- @hero-design/rn:test: PASS src/components/Card/__tests__/StyledCard.spec.tsx
123
- @hero-design/rn:test: PASS src/components/Typography/Text/__tests__/index.spec.tsx
124
- @hero-design/rn:test: PASS src/utils/__tests__/scale.spec.ts
125
- @hero-design/rn:test: PASS src/theme/__tests__/index.spec.ts
126
- @hero-design/rn:test: 
127
- @hero-design/rn:test: Test Suites: 19 passed, 19 total
128
- @hero-design/rn:test: Tests: 116 passed, 116 total
129
- @hero-design/rn:test: Snapshots: 95 passed, 95 total
130
- @hero-design/rn:test: Time: 7.275 s, estimated 12 s
131
- @hero-design/rn:test: Ran all test suites.
@@ -1,7 +0,0 @@
1
- @hero-design/rn:type-check: cache hit, replaying output e749c5e1e8e3a5af
2
- @hero-design/rn:type-check: warning From Yarn 1.0 onwards, scripts don't require "--" for options to be forwarded. In a future version, any explicit "--" will be forwarded as-is to the scripts.
3
- @hero-design/rn:type-check: $ tsc --noEmit --w
4
- @hero-design/rn:type-check: c10:47:37 AM - Starting compilation in watch mode...
5
- @hero-design/rn:type-check: 
6
- @hero-design/rn:type-check: 
7
- @hero-design/rn:type-check: 10:47:39 AM - Found 0 errors. Watching for file changes.
package/app.json DELETED
@@ -1,8 +0,0 @@
1
- {
2
- "name": "Mobile Hero Design Playground",
3
- "entryPoint": "expoEntry.js",
4
- "owner": "thinkei",
5
- "slug": "Mobile-Hero-Design-Playground"
6
-
7
-
8
- }
@@ -1,2 +0,0 @@
1
- declare const AvatarPlayground: () => JSX.Element;
2
- export default AvatarPlayground;
@@ -1,2 +0,0 @@
1
- declare const BadgePlayground: () => JSX.Element;
2
- export default BadgePlayground;
@@ -1,2 +0,0 @@
1
- declare const BottomNavigationPlayground: () => JSX.Element;
2
- export default BottomNavigationPlayground;
@@ -1,2 +0,0 @@
1
- declare const ButtonPlayground: () => JSX.Element;
2
- export default ButtonPlayground;
@@ -1,2 +0,0 @@
1
- declare const CardPlayground: () => JSX.Element;
2
- export default CardPlayground;
@@ -1,2 +0,0 @@
1
- declare const CollapsePlayground: () => JSX.Element;
2
- export default CollapsePlayground;
@@ -1,2 +0,0 @@
1
- declare const DividerPlayground: () => JSX.Element;
2
- export default DividerPlayground;
@@ -1,2 +0,0 @@
1
- declare const DrawerPlayground: () => JSX.Element;
2
- export default DrawerPlayground;
@@ -1,2 +0,0 @@
1
- declare const FABPlayground: () => JSX.Element;
2
- export default FABPlayground;
@@ -1,2 +0,0 @@
1
- declare const IconPlayground: () => JSX.Element;
2
- export default IconPlayground;
@@ -1,2 +0,0 @@
1
- declare const IconButtonPlayground: () => JSX.Element;
2
- export default IconButtonPlayground;
@@ -1,2 +0,0 @@
1
- declare const ProgressPlayground: () => JSX.Element;
2
- export default ProgressPlayground;
@@ -1,2 +0,0 @@
1
- declare const TabsPlayground: () => JSX.Element;
2
- export default TabsPlayground;
@@ -1,2 +0,0 @@
1
- declare const TagPlayground: () => JSX.Element;
2
- export default TagPlayground;
@@ -1,2 +0,0 @@
1
- declare const TypographyPlayground: () => JSX.Element;
2
- export default TypographyPlayground;
@@ -1,2 +0,0 @@
1
- declare const App: () => JSX.Element | null;
2
- export default App;
@@ -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,2 +0,0 @@
1
- declare const isHeroIcon: (x: any) => x is "number" | "image" | "menu" | "switch" | "list" | "bold" | "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 };