@hero-design/rn 7.3.2 → 7.6.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 (345) 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/assets/fonts/hero-icons.ttf +0 -0
  9. package/es/index.js +7093 -5663
  10. package/lib/assets/fonts/hero-icons.ttf +0 -0
  11. package/lib/index.js +7101 -5662
  12. package/package.json +11 -9
  13. package/playground/.detoxrc.json +49 -0
  14. package/playground/.prettierrc.json +8 -0
  15. package/playground/.turbo/turbo-type-check.log +7 -0
  16. package/playground/app.json +9 -0
  17. package/playground/babel.config.js +63 -0
  18. package/playground/e2e/config.json +9 -0
  19. package/playground/e2e/environment.js +23 -0
  20. package/playground/e2e/firstTest.e2e.js +16 -0
  21. package/{expoEntry.js → playground/expoEntry.js} +1 -1
  22. package/playground/fonts/be-vietnam-pro-light.ttf +0 -0
  23. package/playground/fonts/be-vietnam-pro-regular.ttf +0 -0
  24. package/playground/fonts/be-vietnam-pro-semibold.ttf +0 -0
  25. package/playground/fonts/hero-icons.ttf +0 -0
  26. package/playground/index.js +7 -0
  27. package/playground/ios/MobileHeroDesignPlayground/AppDelegate.h +9 -0
  28. package/playground/ios/MobileHeroDesignPlayground/AppDelegate.m +75 -0
  29. package/playground/ios/MobileHeroDesignPlayground/Images.xcassets/AppIcon.appiconset/Contents.json +38 -0
  30. package/playground/ios/MobileHeroDesignPlayground/Images.xcassets/Contents.json +6 -0
  31. package/playground/ios/MobileHeroDesignPlayground/Images.xcassets/SplashScreenBackground.imageset/Contents.json +21 -0
  32. package/playground/ios/MobileHeroDesignPlayground/Images.xcassets/SplashScreenBackground.imageset/image.png +0 -0
  33. package/playground/ios/MobileHeroDesignPlayground/Info.plist +85 -0
  34. package/playground/ios/MobileHeroDesignPlayground/MobileHeroDesignPlayground-Bridging-Header.h +3 -0
  35. package/playground/ios/MobileHeroDesignPlayground/MobileHeroDesignPlayground.entitlements +8 -0
  36. package/playground/ios/MobileHeroDesignPlayground/SplashScreen.storyboard +40 -0
  37. package/playground/ios/MobileHeroDesignPlayground/Supporting/Expo.plist +16 -0
  38. package/playground/ios/MobileHeroDesignPlayground/main.m +10 -0
  39. package/playground/ios/MobileHeroDesignPlayground/noop-file.swift +4 -0
  40. package/playground/ios/MobileHeroDesignPlayground.xcodeproj/project.pbxproj +515 -0
  41. package/playground/ios/MobileHeroDesignPlayground.xcodeproj/xcshareddata/xcschemes/MobileHeroDesignPlayground.xcscheme +88 -0
  42. package/playground/ios/MobileHeroDesignPlayground.xcworkspace/contents.xcworkspacedata +10 -0
  43. package/playground/ios/MobileHeroDesignPlayground.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  44. package/playground/ios/Podfile +49 -0
  45. package/playground/ios/Podfile.lock +478 -0
  46. package/playground/ios/Podfile.properties.json +3 -0
  47. package/{metro.config.js → playground/metro.config.js} +10 -2
  48. package/playground/package.json +63 -0
  49. package/playground/src/Alert.tsx +80 -0
  50. package/playground/{index.tsx → src/App.tsx} +69 -29
  51. package/playground/{components → src}/Avatar.tsx +1 -1
  52. package/playground/{components → src}/Badge.tsx +1 -1
  53. package/playground/{components → src}/BottomNavigation.tsx +1 -1
  54. package/playground/src/BottomSheet.tsx +43 -0
  55. package/playground/{components → src}/Button.tsx +1 -1
  56. package/playground/{components → src}/Card.tsx +1 -1
  57. package/playground/{components → src}/Collapse.tsx +1 -1
  58. package/playground/src/ContentNavigator.tsx +58 -0
  59. package/playground/{components → src}/Divider.tsx +1 -1
  60. package/playground/{components → src}/Drawer.tsx +1 -1
  61. package/playground/{components → src}/FAB.tsx +1 -1
  62. package/playground/{components → src}/Icon.tsx +7 -3
  63. package/playground/{components → src}/IconButton.tsx +12 -1
  64. package/playground/src/MultipleThemes.tsx +34 -0
  65. package/playground/{components → src}/Progress.tsx +1 -1
  66. package/playground/src/Radio.tsx +25 -0
  67. package/playground/src/SectionHeading.tsx +68 -0
  68. package/playground/src/Select.tsx +32 -0
  69. package/playground/src/Spinner.tsx +19 -0
  70. package/playground/src/Switch.tsx +80 -0
  71. package/playground/{components → src}/Tabs.tsx +1 -1
  72. package/playground/{components → src}/Tag.tsx +1 -1
  73. package/playground/src/TextInput.tsx +14 -0
  74. package/playground/{components → src}/Typography.tsx +1 -1
  75. package/playground/src/emotion.d.ts +7 -0
  76. package/playground/tsconfig.json +21 -0
  77. package/src/components/Alert/StyledAlert.tsx +48 -0
  78. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +686 -0
  79. package/src/components/Alert/__tests__/index.spec.tsx +83 -0
  80. package/src/components/Alert/index.tsx +109 -0
  81. package/src/components/BottomSheet/Footer.tsx +19 -0
  82. package/src/components/BottomSheet/Header.tsx +49 -0
  83. package/src/components/BottomSheet/StyledBottomSheet.tsx +75 -0
  84. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +531 -0
  85. package/src/components/BottomSheet/__tests__/index.spec.tsx +107 -0
  86. package/src/components/BottomSheet/index.tsx +177 -0
  87. package/src/components/Button/IconButton.tsx +11 -1
  88. package/src/components/Collapse/StyledCollapse.tsx +11 -2
  89. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +36 -31
  90. package/src/components/Collapse/__tests__/index.spec.tsx +1 -13
  91. package/src/components/Collapse/index.tsx +20 -50
  92. package/src/components/ContentNavigator/StyledContentNavigator.tsx +15 -0
  93. package/src/components/ContentNavigator/__tests__/StyledContentNavigator.spec.tsx +19 -0
  94. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +43 -0
  95. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +217 -0
  96. package/src/components/ContentNavigator/__tests__/index.spec.tsx +74 -0
  97. package/src/components/ContentNavigator/index.tsx +65 -0
  98. package/src/components/Icon/HeroIcon/index.tsx +13 -2
  99. package/src/components/Icon/HeroIcon/selection.json +1 -1
  100. package/src/components/Icon/IconList.ts +8 -0
  101. package/src/components/Icon/index.tsx +8 -1
  102. package/src/components/Radio/Radio.tsx +51 -0
  103. package/src/components/Radio/RadioGroup.tsx +74 -0
  104. package/src/components/Radio/StyledRadio.tsx +42 -0
  105. package/src/components/Radio/__tests__/Radio.spec.tsx +38 -0
  106. package/src/components/Radio/__tests__/RadioGroup.spec.tsx +36 -0
  107. package/src/components/Radio/__tests__/StyledRadio.spec.tsx +43 -0
  108. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +160 -0
  109. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +248 -0
  110. package/src/components/Radio/__tests__/__snapshots__/StyledRadio.spec.tsx.snap +124 -0
  111. package/src/components/Radio/index.tsx +5 -0
  112. package/src/components/Radio/types.ts +1 -0
  113. package/src/components/SectionHeading/StyledHeading.tsx +24 -0
  114. package/src/components/SectionHeading/__tests__/StyledHeading.spec.tsx +28 -0
  115. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +48 -0
  116. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +208 -0
  117. package/src/components/SectionHeading/__tests__/index.spec.tsx +39 -0
  118. package/src/components/SectionHeading/index.tsx +93 -0
  119. package/src/components/Select/MultiSelect/Footer.tsx +15 -0
  120. package/src/components/Select/MultiSelect/OptionList.tsx +76 -0
  121. package/src/components/Select/MultiSelect/StyledMultiSelect.tsx +30 -0
  122. package/src/components/Select/MultiSelect/__tests__/StyledMultiSelect.spec.tsx +49 -0
  123. package/src/components/Select/MultiSelect/__tests__/__snapshots__/StyledMultiSelect.spec.tsx.snap +108 -0
  124. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +1630 -0
  125. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +94 -0
  126. package/src/components/Select/MultiSelect/index.tsx +103 -0
  127. package/src/components/Select/MultiSelect/types.ts +1 -0
  128. package/src/components/Select/index.tsx +5 -0
  129. package/src/components/Spinner/AnimatedSpinner.tsx +55 -0
  130. package/src/components/Spinner/StyledSpinner.tsx +59 -0
  131. package/src/components/Spinner/__tests__/AnimatedSpinner.spec.tsx +11 -0
  132. package/src/components/Spinner/__tests__/StyledSpinner.spec.tsx +56 -0
  133. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +118 -0
  134. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +235 -0
  135. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +141 -0
  136. package/src/components/Spinner/__tests__/index.spec.tsx +12 -0
  137. package/src/components/Spinner/index.tsx +22 -0
  138. package/src/components/Switch/StyledSwitch.tsx +50 -0
  139. package/src/components/Switch/__tests__/StyledHeading.spec.tsx +42 -0
  140. package/src/components/Switch/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +74 -0
  141. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +129 -0
  142. package/src/components/Switch/__tests__/index.spec.tsx +24 -0
  143. package/src/components/Switch/index.tsx +87 -0
  144. package/src/components/TextInput/StyledTextInput.tsx +30 -0
  145. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +27 -0
  146. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +67 -0
  147. package/src/components/TextInput/__tests__/index.spec.tsx +17 -0
  148. package/src/components/TextInput/index.tsx +74 -0
  149. package/src/index.ts +18 -0
  150. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +174 -0
  151. package/src/theme/components/alert.ts +32 -0
  152. package/src/theme/components/bottomSheet.ts +34 -0
  153. package/src/theme/components/contentNavigator.ts +11 -0
  154. package/src/theme/components/icon.ts +1 -0
  155. package/src/theme/components/radio.ts +34 -0
  156. package/src/theme/components/sectionHeading.ts +18 -0
  157. package/src/theme/components/select.ts +23 -0
  158. package/src/theme/components/spinner.ts +21 -0
  159. package/src/theme/components/switch.ts +50 -0
  160. package/src/theme/components/textInput.ts +32 -0
  161. package/src/theme/global/borders.ts +6 -0
  162. package/src/theme/global/colors.ts +3 -0
  163. package/src/theme/index.ts +34 -7
  164. package/tsconfig.json +11 -3
  165. package/types/components/Alert/StyledAlert.d.ts +37 -0
  166. package/types/{src/components/Avatar → components/Alert}/__tests__/index.spec.d.ts +0 -0
  167. package/types/components/Alert/index.d.ts +42 -0
  168. package/types/{src/components → components}/Avatar/StyledAvatar.d.ts +0 -1
  169. package/types/{src/components → components}/Avatar/__tests__/StyledAvatar.spec.d.ts +0 -0
  170. package/types/{src/components/BottomNavigation → components/Avatar}/__tests__/index.spec.d.ts +0 -0
  171. package/types/{src/components → components}/Avatar/index.d.ts +0 -0
  172. package/types/{src/components → components}/Badge/Status.d.ts +0 -0
  173. package/types/{src/components → components}/Badge/StyledBadge.d.ts +0 -1
  174. package/types/{src/components → components}/Badge/__tests__/Badge.spec.d.ts +0 -0
  175. package/types/{src/components → components}/Badge/__tests__/Status.spec.d.ts +0 -0
  176. package/types/{src/components → components}/Badge/index.d.ts +0 -0
  177. package/types/{src/components → components}/BottomNavigation/StyledBottomNavigation.d.ts +0 -1
  178. package/types/{src/components/Button/LoadingIndicator → components/BottomNavigation}/__tests__/index.spec.d.ts +0 -0
  179. package/types/{src/components → components}/BottomNavigation/index.d.ts +0 -0
  180. package/types/components/BottomSheet/Footer.d.ts +6 -0
  181. package/types/components/BottomSheet/Header.d.ts +8 -0
  182. package/types/components/BottomSheet/StyledBottomSheet.d.ts +46 -0
  183. package/types/{src/components/Button → components/BottomSheet}/__tests__/index.spec.d.ts +0 -0
  184. package/types/components/BottomSheet/index.d.ts +55 -0
  185. package/types/{src/components → components}/Button/Button.d.ts +0 -0
  186. package/types/{src/components → components}/Button/IconButton.d.ts +5 -1
  187. package/types/{src/components → components}/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -1
  188. package/types/{src/components → components}/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +0 -0
  189. package/types/{src/components/Card → components/Button/LoadingIndicator}/__tests__/index.spec.d.ts +0 -0
  190. package/types/{src/components → components}/Button/LoadingIndicator/index.d.ts +0 -0
  191. package/types/{src/components → components}/Button/StyledButton.d.ts +0 -1
  192. package/types/{src/components → components}/Button/__tests__/Button.spec.d.ts +0 -0
  193. package/types/{src/components → components}/Button/__tests__/IconButton.spec.d.ts +0 -0
  194. package/types/{src/components → components}/Button/__tests__/StyledButton.spec.d.ts +0 -0
  195. package/types/{src/components → components}/Button/index.d.ts +0 -0
  196. package/types/{src/components → components}/Card/StyledCard.d.ts +0 -1
  197. package/types/{src/components → components}/Card/__tests__/StyledCard.spec.d.ts +0 -0
  198. package/types/{src/components/Collapse → components/Card}/__tests__/index.spec.d.ts +0 -0
  199. package/types/{src/components → components}/Card/index.d.ts +0 -0
  200. package/types/{src/components → components}/Collapse/StyledCollapse.d.ts +12 -2
  201. package/types/{src/components → components}/Collapse/__tests__/StyledCollapse.spec.d.ts +0 -0
  202. package/types/{src/components/Drawer → components/Collapse}/__tests__/index.spec.d.ts +0 -0
  203. package/types/{src/components → components}/Collapse/index.d.ts +1 -5
  204. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +12 -0
  205. package/types/{src/components/Divider/__tests__/StyledDivider.spec.d.ts → components/ContentNavigator/__tests__/StyledContentNavigator.spec.d.ts} +0 -0
  206. package/types/{src/components/FAB → components/ContentNavigator}/__tests__/index.spec.d.ts +0 -0
  207. package/types/components/ContentNavigator/index.d.ts +33 -0
  208. package/types/{src/components → components}/Divider/StyledDivider.d.ts +0 -1
  209. package/types/{src/components/FAB/__tests__/AnimatedFABIcon.spec.d.ts → components/Divider/__tests__/StyledDivider.spec.d.ts} +0 -0
  210. package/types/{src/components → components}/Divider/index.d.ts +0 -0
  211. package/types/{src/components → components}/Drawer/StyledDrawer.d.ts +0 -1
  212. package/types/{src/components/Icon → components/Drawer}/__tests__/index.spec.d.ts +0 -0
  213. package/types/{src/components → components}/Drawer/index.d.ts +0 -0
  214. package/types/{src/components → components}/FAB/ActionGroup/ActionItem.d.ts +0 -0
  215. package/types/{src/components → components}/FAB/ActionGroup/StyledActionGroup.d.ts +0 -1
  216. package/types/{src/components → components}/FAB/ActionGroup/StyledActionItem.d.ts +0 -1
  217. package/types/{src/components → components}/FAB/ActionGroup/__tests__/index.spec.d.ts +0 -0
  218. package/types/{src/components → components}/FAB/ActionGroup/index.d.ts +0 -0
  219. package/types/{src/components → components}/FAB/AnimatedFABIcon.d.ts +0 -0
  220. package/types/{src/components → components}/FAB/FAB.d.ts +0 -0
  221. package/types/{src/components → components}/FAB/StyledFAB.d.ts +0 -1
  222. package/types/{src/components/FAB/__tests__/StyledFAB.spec.d.ts → components/FAB/__tests__/AnimatedFABIcon.spec.d.ts} +0 -0
  223. package/types/{src/components/Progress/__tests__/index.spec.d.ts → components/FAB/__tests__/StyledFAB.spec.d.ts} +0 -0
  224. package/types/{src/components/Tabs → components/FAB}/__tests__/index.spec.d.ts +0 -0
  225. package/types/{src/components → components}/FAB/index.d.ts +0 -0
  226. package/types/{src/components → components}/Icon/HeroIcon/index.d.ts +1 -2
  227. package/types/components/Icon/IconList.d.ts +2 -0
  228. package/types/{src/components/Typography/Text → components/Icon}/__tests__/index.spec.d.ts +0 -0
  229. package/types/{src/components → components}/Icon/index.d.ts +1 -1
  230. package/types/components/Icon/utils.d.ts +2 -0
  231. package/types/{src/components → components}/Progress/ProgressBar.d.ts +0 -0
  232. package/types/{src/components → components}/Progress/ProgressCircle.d.ts +0 -0
  233. package/types/{src/components → components}/Progress/StyledProgressBar.d.ts +0 -1
  234. package/types/{src/components → components}/Progress/StyledProgressCircle.d.ts +0 -1
  235. package/types/{src/theme → components/Progress}/__tests__/index.spec.d.ts +0 -0
  236. package/types/{src/components → components}/Progress/index.d.ts +0 -0
  237. package/types/{src/components → components}/Progress/types.d.ts +0 -0
  238. package/types/components/Radio/Radio.d.ts +26 -0
  239. package/types/components/Radio/RadioGroup.d.ts +32 -0
  240. package/types/components/Radio/StyledRadio.d.ts +30 -0
  241. package/types/{src/components/Tabs/__tests__/ScrollableTab.spec.d.ts → components/Radio/__tests__/Radio.spec.d.ts} +0 -0
  242. package/types/{src/components/Tabs/__tests__/ScrollableTabs.spec.d.ts → components/Radio/__tests__/RadioGroup.spec.d.ts} +0 -0
  243. package/types/{src/components/Tag/__tests__/Tag.spec.d.ts → components/Radio/__tests__/StyledRadio.spec.d.ts} +0 -0
  244. package/types/components/Radio/index.d.ts +4 -0
  245. package/types/components/Radio/types.d.ts +5 -0
  246. package/types/components/SectionHeading/StyledHeading.d.ts +20 -0
  247. package/types/{src/components/Typography/Text/__tests__/StyledText.spec.d.ts → components/SectionHeading/__tests__/StyledHeading.spec.d.ts} +0 -0
  248. package/types/{src/utils/__tests__/scale.spec.d.ts → components/SectionHeading/__tests__/index.spec.d.ts} +0 -0
  249. package/types/components/SectionHeading/index.d.ts +39 -0
  250. package/types/components/Select/MultiSelect/Footer.d.ts +5 -0
  251. package/types/components/Select/MultiSelect/OptionList.d.ts +3 -0
  252. package/types/components/Select/MultiSelect/StyledMultiSelect.d.ts +26 -0
  253. package/types/components/Select/MultiSelect/__tests__/StyledMultiSelect.spec.d.ts +1 -0
  254. package/types/components/Select/MultiSelect/__tests__/index.spec.d.ts +1 -0
  255. package/types/components/Select/MultiSelect/index.d.ts +39 -0
  256. package/types/components/Select/MultiSelect/types.d.ts +5 -0
  257. package/types/components/Select/index.d.ts +5 -0
  258. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -0
  259. package/types/components/Spinner/StyledSpinner.d.ts +30 -0
  260. package/types/components/Spinner/__tests__/AnimatedSpinner.spec.d.ts +1 -0
  261. package/types/components/Spinner/__tests__/StyledSpinner.spec.d.ts +1 -0
  262. package/types/components/Spinner/__tests__/index.spec.d.ts +1 -0
  263. package/types/components/Spinner/index.d.ts +10 -0
  264. package/types/components/Switch/StyledSwitch.d.ts +36 -0
  265. package/types/components/Switch/__tests__/StyledHeading.spec.d.ts +1 -0
  266. package/types/components/Switch/__tests__/index.spec.d.ts +1 -0
  267. package/types/components/Switch/index.d.ts +30 -0
  268. package/types/{src/components → components}/Tabs/ActiveTabIndicator.d.ts +0 -0
  269. package/types/{src/components → components}/Tabs/ScrollableTabs.d.ts +0 -0
  270. package/types/{src/components → components}/Tabs/StyledScrollableTabs.d.ts +0 -1
  271. package/types/{src/components → components}/Tabs/StyledTabs.d.ts +0 -1
  272. package/types/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +1 -0
  273. package/types/components/Tabs/__tests__/index.spec.d.ts +1 -0
  274. package/types/{src/components → components}/Tabs/index.d.ts +0 -0
  275. package/types/{src/components → components}/Tabs/utils.d.ts +0 -0
  276. package/types/{src/components → components}/Tag/StyledTag.d.ts +0 -1
  277. package/types/components/Tag/__tests__/Tag.spec.d.ts +1 -0
  278. package/types/{src/components → components}/Tag/index.d.ts +0 -0
  279. package/types/components/TextInput/StyledTextInput.d.ts +18 -0
  280. package/types/components/TextInput/__tests__/StyledTextInput.spec.d.ts +1 -0
  281. package/types/components/TextInput/__tests__/index.spec.d.ts +1 -0
  282. package/types/components/TextInput/index.d.ts +34 -0
  283. package/types/{src/components → components}/Typography/Text/StyledText.d.ts +0 -1
  284. package/types/components/Typography/Text/__tests__/StyledText.spec.d.ts +1 -0
  285. package/types/components/Typography/Text/__tests__/index.spec.d.ts +1 -0
  286. package/types/{src/components → components}/Typography/Text/index.d.ts +0 -0
  287. package/types/{src/components → components}/Typography/index.d.ts +0 -0
  288. package/types/{src/index.d.ts → index.d.ts} +10 -1
  289. package/types/{src/testHelpers → testHelpers}/renderWithTheme.d.ts +0 -0
  290. package/types/theme/__tests__/index.spec.d.ts +1 -0
  291. package/types/theme/components/alert.d.ts +23 -0
  292. package/types/{src/theme → theme}/components/avatar.d.ts +0 -0
  293. package/types/{src/theme → theme}/components/badge.d.ts +0 -0
  294. package/types/{src/theme → theme}/components/bottomNavigation.d.ts +0 -0
  295. package/types/theme/components/bottomSheet.d.ts +29 -0
  296. package/types/{src/theme → theme}/components/button.d.ts +0 -0
  297. package/types/{src/theme → theme}/components/card.d.ts +0 -0
  298. package/types/theme/components/contentNavigator.d.ts +7 -0
  299. package/types/{src/theme → theme}/components/divider.d.ts +0 -0
  300. package/types/{src/theme → theme}/components/drawer.d.ts +0 -0
  301. package/types/{src/theme → theme}/components/fab.d.ts +0 -0
  302. package/types/{src/theme → theme}/components/icon.d.ts +1 -0
  303. package/types/{src/theme → theme}/components/progress.d.ts +0 -0
  304. package/types/theme/components/radio.d.ts +25 -0
  305. package/types/theme/components/sectionHeading.d.ts +13 -0
  306. package/types/theme/components/select.d.ts +17 -0
  307. package/types/theme/components/spinner.d.ts +15 -0
  308. package/types/theme/components/switch.d.ts +32 -0
  309. package/types/{src/theme → theme}/components/tabs.d.ts +0 -0
  310. package/types/{src/theme → theme}/components/tag.d.ts +0 -0
  311. package/types/theme/components/textInput.d.ts +24 -0
  312. package/types/{src/theme → theme}/components/typography.d.ts +0 -0
  313. package/types/{src/theme → theme}/global/borders.d.ts +3 -0
  314. package/types/{src/theme → theme}/global/colors.d.ts +3 -0
  315. package/types/{src/theme → theme}/global/index.d.ts +3 -0
  316. package/types/{src/theme → theme}/global/scale.d.ts +0 -0
  317. package/types/{src/theme → theme}/global/space.d.ts +0 -0
  318. package/types/{src/theme → theme}/global/typography.d.ts +0 -0
  319. package/types/{src/theme → theme}/index.d.ts +23 -5
  320. package/types/{src/types.d.ts → types.d.ts} +0 -0
  321. package/types/utils/__tests__/scale.spec.d.ts +1 -0
  322. package/types/{src/utils → utils}/helpers.d.ts +0 -0
  323. package/types/{src/utils → utils}/hooks.d.ts +0 -0
  324. package/types/{src/utils → utils}/scale.d.ts +0 -0
  325. package/app.json +0 -8
  326. package/types/playground/components/Avatar.d.ts +0 -2
  327. package/types/playground/components/Badge.d.ts +0 -2
  328. package/types/playground/components/BottomNavigation.d.ts +0 -2
  329. package/types/playground/components/Button.d.ts +0 -2
  330. package/types/playground/components/Card.d.ts +0 -2
  331. package/types/playground/components/Collapse.d.ts +0 -2
  332. package/types/playground/components/Divider.d.ts +0 -2
  333. package/types/playground/components/Drawer.d.ts +0 -2
  334. package/types/playground/components/FAB.d.ts +0 -2
  335. package/types/playground/components/Icon.d.ts +0 -2
  336. package/types/playground/components/IconButton.d.ts +0 -2
  337. package/types/playground/components/Progress.d.ts +0 -2
  338. package/types/playground/components/Tabs.d.ts +0 -2
  339. package/types/playground/components/Tag.d.ts +0 -2
  340. package/types/playground/components/Typography.d.ts +0 -2
  341. package/types/playground/index.d.ts +0 -2
  342. package/types/src/components/Icon/IconList.d.ts +0 -2
  343. package/types/src/components/Icon/utils.d.ts +0 -2
  344. package/types/src/components/Tabs/ScrollableTab.d.ts +0 -3
  345. package/types/src/components/Tabs/StyledScrollableTab.d.ts +0 -61
@@ -0,0 +1,478 @@
1
+ PODS:
2
+ - boost-for-react-native (1.63.0)
3
+ - DoubleConversion (1.1.6)
4
+ - EXApplication (4.0.2):
5
+ - ExpoModulesCore
6
+ - EXConstants (13.0.2):
7
+ - ExpoModulesCore
8
+ - EXFileSystem (13.1.4):
9
+ - ExpoModulesCore
10
+ - EXFont (10.0.5):
11
+ - ExpoModulesCore
12
+ - EXKeepAwake (10.0.2):
13
+ - ExpoModulesCore
14
+ - Expo (44.0.6):
15
+ - ExpoModulesCore
16
+ - ExpoModulesCore (0.6.5):
17
+ - React-Core
18
+ - ReactCommon/turbomodule/core
19
+ - EXSplashScreen (0.14.2):
20
+ - ExpoModulesCore
21
+ - React-Core
22
+ - FBLazyVector (0.64.3)
23
+ - FBReactNativeSpec (0.64.3):
24
+ - RCT-Folly (= 2020.01.13.00)
25
+ - RCTRequired (= 0.64.3)
26
+ - RCTTypeSafety (= 0.64.3)
27
+ - React-Core (= 0.64.3)
28
+ - React-jsi (= 0.64.3)
29
+ - ReactCommon/turbomodule/core (= 0.64.3)
30
+ - glog (0.3.5)
31
+ - RCT-Folly (2020.01.13.00):
32
+ - boost-for-react-native
33
+ - DoubleConversion
34
+ - glog
35
+ - RCT-Folly/Default (= 2020.01.13.00)
36
+ - RCT-Folly/Default (2020.01.13.00):
37
+ - boost-for-react-native
38
+ - DoubleConversion
39
+ - glog
40
+ - RCTRequired (0.64.3)
41
+ - RCTTypeSafety (0.64.3):
42
+ - FBLazyVector (= 0.64.3)
43
+ - RCT-Folly (= 2020.01.13.00)
44
+ - RCTRequired (= 0.64.3)
45
+ - React-Core (= 0.64.3)
46
+ - React (0.64.3):
47
+ - React-Core (= 0.64.3)
48
+ - React-Core/DevSupport (= 0.64.3)
49
+ - React-Core/RCTWebSocket (= 0.64.3)
50
+ - React-RCTActionSheet (= 0.64.3)
51
+ - React-RCTAnimation (= 0.64.3)
52
+ - React-RCTBlob (= 0.64.3)
53
+ - React-RCTImage (= 0.64.3)
54
+ - React-RCTLinking (= 0.64.3)
55
+ - React-RCTNetwork (= 0.64.3)
56
+ - React-RCTSettings (= 0.64.3)
57
+ - React-RCTText (= 0.64.3)
58
+ - React-RCTVibration (= 0.64.3)
59
+ - React-callinvoker (0.64.3)
60
+ - React-Core (0.64.3):
61
+ - glog
62
+ - RCT-Folly (= 2020.01.13.00)
63
+ - React-Core/Default (= 0.64.3)
64
+ - React-cxxreact (= 0.64.3)
65
+ - React-jsi (= 0.64.3)
66
+ - React-jsiexecutor (= 0.64.3)
67
+ - React-perflogger (= 0.64.3)
68
+ - Yoga
69
+ - React-Core/CoreModulesHeaders (0.64.3):
70
+ - glog
71
+ - RCT-Folly (= 2020.01.13.00)
72
+ - React-Core/Default
73
+ - React-cxxreact (= 0.64.3)
74
+ - React-jsi (= 0.64.3)
75
+ - React-jsiexecutor (= 0.64.3)
76
+ - React-perflogger (= 0.64.3)
77
+ - Yoga
78
+ - React-Core/Default (0.64.3):
79
+ - glog
80
+ - RCT-Folly (= 2020.01.13.00)
81
+ - React-cxxreact (= 0.64.3)
82
+ - React-jsi (= 0.64.3)
83
+ - React-jsiexecutor (= 0.64.3)
84
+ - React-perflogger (= 0.64.3)
85
+ - Yoga
86
+ - React-Core/DevSupport (0.64.3):
87
+ - glog
88
+ - RCT-Folly (= 2020.01.13.00)
89
+ - React-Core/Default (= 0.64.3)
90
+ - React-Core/RCTWebSocket (= 0.64.3)
91
+ - React-cxxreact (= 0.64.3)
92
+ - React-jsi (= 0.64.3)
93
+ - React-jsiexecutor (= 0.64.3)
94
+ - React-jsinspector (= 0.64.3)
95
+ - React-perflogger (= 0.64.3)
96
+ - Yoga
97
+ - React-Core/RCTActionSheetHeaders (0.64.3):
98
+ - glog
99
+ - RCT-Folly (= 2020.01.13.00)
100
+ - React-Core/Default
101
+ - React-cxxreact (= 0.64.3)
102
+ - React-jsi (= 0.64.3)
103
+ - React-jsiexecutor (= 0.64.3)
104
+ - React-perflogger (= 0.64.3)
105
+ - Yoga
106
+ - React-Core/RCTAnimationHeaders (0.64.3):
107
+ - glog
108
+ - RCT-Folly (= 2020.01.13.00)
109
+ - React-Core/Default
110
+ - React-cxxreact (= 0.64.3)
111
+ - React-jsi (= 0.64.3)
112
+ - React-jsiexecutor (= 0.64.3)
113
+ - React-perflogger (= 0.64.3)
114
+ - Yoga
115
+ - React-Core/RCTBlobHeaders (0.64.3):
116
+ - glog
117
+ - RCT-Folly (= 2020.01.13.00)
118
+ - React-Core/Default
119
+ - React-cxxreact (= 0.64.3)
120
+ - React-jsi (= 0.64.3)
121
+ - React-jsiexecutor (= 0.64.3)
122
+ - React-perflogger (= 0.64.3)
123
+ - Yoga
124
+ - React-Core/RCTImageHeaders (0.64.3):
125
+ - glog
126
+ - RCT-Folly (= 2020.01.13.00)
127
+ - React-Core/Default
128
+ - React-cxxreact (= 0.64.3)
129
+ - React-jsi (= 0.64.3)
130
+ - React-jsiexecutor (= 0.64.3)
131
+ - React-perflogger (= 0.64.3)
132
+ - Yoga
133
+ - React-Core/RCTLinkingHeaders (0.64.3):
134
+ - glog
135
+ - RCT-Folly (= 2020.01.13.00)
136
+ - React-Core/Default
137
+ - React-cxxreact (= 0.64.3)
138
+ - React-jsi (= 0.64.3)
139
+ - React-jsiexecutor (= 0.64.3)
140
+ - React-perflogger (= 0.64.3)
141
+ - Yoga
142
+ - React-Core/RCTNetworkHeaders (0.64.3):
143
+ - glog
144
+ - RCT-Folly (= 2020.01.13.00)
145
+ - React-Core/Default
146
+ - React-cxxreact (= 0.64.3)
147
+ - React-jsi (= 0.64.3)
148
+ - React-jsiexecutor (= 0.64.3)
149
+ - React-perflogger (= 0.64.3)
150
+ - Yoga
151
+ - React-Core/RCTSettingsHeaders (0.64.3):
152
+ - glog
153
+ - RCT-Folly (= 2020.01.13.00)
154
+ - React-Core/Default
155
+ - React-cxxreact (= 0.64.3)
156
+ - React-jsi (= 0.64.3)
157
+ - React-jsiexecutor (= 0.64.3)
158
+ - React-perflogger (= 0.64.3)
159
+ - Yoga
160
+ - React-Core/RCTTextHeaders (0.64.3):
161
+ - glog
162
+ - RCT-Folly (= 2020.01.13.00)
163
+ - React-Core/Default
164
+ - React-cxxreact (= 0.64.3)
165
+ - React-jsi (= 0.64.3)
166
+ - React-jsiexecutor (= 0.64.3)
167
+ - React-perflogger (= 0.64.3)
168
+ - Yoga
169
+ - React-Core/RCTVibrationHeaders (0.64.3):
170
+ - glog
171
+ - RCT-Folly (= 2020.01.13.00)
172
+ - React-Core/Default
173
+ - React-cxxreact (= 0.64.3)
174
+ - React-jsi (= 0.64.3)
175
+ - React-jsiexecutor (= 0.64.3)
176
+ - React-perflogger (= 0.64.3)
177
+ - Yoga
178
+ - React-Core/RCTWebSocket (0.64.3):
179
+ - glog
180
+ - RCT-Folly (= 2020.01.13.00)
181
+ - React-Core/Default (= 0.64.3)
182
+ - React-cxxreact (= 0.64.3)
183
+ - React-jsi (= 0.64.3)
184
+ - React-jsiexecutor (= 0.64.3)
185
+ - React-perflogger (= 0.64.3)
186
+ - Yoga
187
+ - React-CoreModules (0.64.3):
188
+ - FBReactNativeSpec (= 0.64.3)
189
+ - RCT-Folly (= 2020.01.13.00)
190
+ - RCTTypeSafety (= 0.64.3)
191
+ - React-Core/CoreModulesHeaders (= 0.64.3)
192
+ - React-jsi (= 0.64.3)
193
+ - React-RCTImage (= 0.64.3)
194
+ - ReactCommon/turbomodule/core (= 0.64.3)
195
+ - React-cxxreact (0.64.3):
196
+ - boost-for-react-native (= 1.63.0)
197
+ - DoubleConversion
198
+ - glog
199
+ - RCT-Folly (= 2020.01.13.00)
200
+ - React-callinvoker (= 0.64.3)
201
+ - React-jsi (= 0.64.3)
202
+ - React-jsinspector (= 0.64.3)
203
+ - React-perflogger (= 0.64.3)
204
+ - React-runtimeexecutor (= 0.64.3)
205
+ - React-jsi (0.64.3):
206
+ - boost-for-react-native (= 1.63.0)
207
+ - DoubleConversion
208
+ - glog
209
+ - RCT-Folly (= 2020.01.13.00)
210
+ - React-jsi/Default (= 0.64.3)
211
+ - React-jsi/Default (0.64.3):
212
+ - boost-for-react-native (= 1.63.0)
213
+ - DoubleConversion
214
+ - glog
215
+ - RCT-Folly (= 2020.01.13.00)
216
+ - React-jsiexecutor (0.64.3):
217
+ - DoubleConversion
218
+ - glog
219
+ - RCT-Folly (= 2020.01.13.00)
220
+ - React-cxxreact (= 0.64.3)
221
+ - React-jsi (= 0.64.3)
222
+ - React-perflogger (= 0.64.3)
223
+ - React-jsinspector (0.64.3)
224
+ - react-native-safe-area-context (4.2.5):
225
+ - RCT-Folly
226
+ - RCTRequired
227
+ - RCTTypeSafety
228
+ - React
229
+ - ReactCommon/turbomodule/core
230
+ - React-perflogger (0.64.3)
231
+ - React-RCTActionSheet (0.64.3):
232
+ - React-Core/RCTActionSheetHeaders (= 0.64.3)
233
+ - React-RCTAnimation (0.64.3):
234
+ - FBReactNativeSpec (= 0.64.3)
235
+ - RCT-Folly (= 2020.01.13.00)
236
+ - RCTTypeSafety (= 0.64.3)
237
+ - React-Core/RCTAnimationHeaders (= 0.64.3)
238
+ - React-jsi (= 0.64.3)
239
+ - ReactCommon/turbomodule/core (= 0.64.3)
240
+ - React-RCTBlob (0.64.3):
241
+ - FBReactNativeSpec (= 0.64.3)
242
+ - RCT-Folly (= 2020.01.13.00)
243
+ - React-Core/RCTBlobHeaders (= 0.64.3)
244
+ - React-Core/RCTWebSocket (= 0.64.3)
245
+ - React-jsi (= 0.64.3)
246
+ - React-RCTNetwork (= 0.64.3)
247
+ - ReactCommon/turbomodule/core (= 0.64.3)
248
+ - React-RCTImage (0.64.3):
249
+ - FBReactNativeSpec (= 0.64.3)
250
+ - RCT-Folly (= 2020.01.13.00)
251
+ - RCTTypeSafety (= 0.64.3)
252
+ - React-Core/RCTImageHeaders (= 0.64.3)
253
+ - React-jsi (= 0.64.3)
254
+ - React-RCTNetwork (= 0.64.3)
255
+ - ReactCommon/turbomodule/core (= 0.64.3)
256
+ - React-RCTLinking (0.64.3):
257
+ - FBReactNativeSpec (= 0.64.3)
258
+ - React-Core/RCTLinkingHeaders (= 0.64.3)
259
+ - React-jsi (= 0.64.3)
260
+ - ReactCommon/turbomodule/core (= 0.64.3)
261
+ - React-RCTNetwork (0.64.3):
262
+ - FBReactNativeSpec (= 0.64.3)
263
+ - RCT-Folly (= 2020.01.13.00)
264
+ - RCTTypeSafety (= 0.64.3)
265
+ - React-Core/RCTNetworkHeaders (= 0.64.3)
266
+ - React-jsi (= 0.64.3)
267
+ - ReactCommon/turbomodule/core (= 0.64.3)
268
+ - React-RCTSettings (0.64.3):
269
+ - FBReactNativeSpec (= 0.64.3)
270
+ - RCT-Folly (= 2020.01.13.00)
271
+ - RCTTypeSafety (= 0.64.3)
272
+ - React-Core/RCTSettingsHeaders (= 0.64.3)
273
+ - React-jsi (= 0.64.3)
274
+ - ReactCommon/turbomodule/core (= 0.64.3)
275
+ - React-RCTText (0.64.3):
276
+ - React-Core/RCTTextHeaders (= 0.64.3)
277
+ - React-RCTVibration (0.64.3):
278
+ - FBReactNativeSpec (= 0.64.3)
279
+ - RCT-Folly (= 2020.01.13.00)
280
+ - React-Core/RCTVibrationHeaders (= 0.64.3)
281
+ - React-jsi (= 0.64.3)
282
+ - ReactCommon/turbomodule/core (= 0.64.3)
283
+ - React-runtimeexecutor (0.64.3):
284
+ - React-jsi (= 0.64.3)
285
+ - ReactCommon/turbomodule/core (0.64.3):
286
+ - DoubleConversion
287
+ - glog
288
+ - RCT-Folly (= 2020.01.13.00)
289
+ - React-callinvoker (= 0.64.3)
290
+ - React-Core (= 0.64.3)
291
+ - React-cxxreact (= 0.64.3)
292
+ - React-jsi (= 0.64.3)
293
+ - React-perflogger (= 0.64.3)
294
+ - RNCMaskedView (0.1.11):
295
+ - React
296
+ - RNGestureHandler (2.1.3):
297
+ - React-Core
298
+ - RNScreens (3.10.2):
299
+ - React-Core
300
+ - React-RCTImage
301
+ - Yoga (1.14.0)
302
+
303
+ DEPENDENCIES:
304
+ - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
305
+ - EXApplication (from `../../../../node_modules/expo-application/ios`)
306
+ - EXConstants (from `../../../../node_modules/expo-constants/ios`)
307
+ - EXFileSystem (from `../../../../node_modules/expo-file-system/ios`)
308
+ - EXFont (from `../../../../node_modules/expo-font/ios`)
309
+ - EXKeepAwake (from `../../../../node_modules/expo-keep-awake/ios`)
310
+ - Expo (from `../../../../node_modules/expo/ios`)
311
+ - ExpoModulesCore (from `../../../../node_modules/expo-modules-core/ios`)
312
+ - EXSplashScreen (from `../../../../node_modules/expo-splash-screen/ios`)
313
+ - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
314
+ - FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
315
+ - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
316
+ - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`)
317
+ - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`)
318
+ - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`)
319
+ - React (from `../node_modules/react-native/`)
320
+ - React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`)
321
+ - React-Core (from `../node_modules/react-native/`)
322
+ - React-Core/DevSupport (from `../node_modules/react-native/`)
323
+ - React-Core/RCTWebSocket (from `../node_modules/react-native/`)
324
+ - React-CoreModules (from `../node_modules/react-native/React/CoreModules`)
325
+ - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`)
326
+ - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`)
327
+ - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
328
+ - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
329
+ - react-native-safe-area-context (from `../../node_modules/react-native-safe-area-context`)
330
+ - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`)
331
+ - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
332
+ - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
333
+ - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`)
334
+ - React-RCTImage (from `../node_modules/react-native/Libraries/Image`)
335
+ - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`)
336
+ - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`)
337
+ - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`)
338
+ - React-RCTText (from `../node_modules/react-native/Libraries/Text`)
339
+ - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
340
+ - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`)
341
+ - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
342
+ - "RNCMaskedView (from `../node_modules/@react-native-community/masked-view`)"
343
+ - RNGestureHandler (from `../../../../node_modules/react-native-gesture-handler`)
344
+ - RNScreens (from `../node_modules/react-native-screens`)
345
+ - Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
346
+
347
+ SPEC REPOS:
348
+ trunk:
349
+ - boost-for-react-native
350
+
351
+ EXTERNAL SOURCES:
352
+ DoubleConversion:
353
+ :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
354
+ EXApplication:
355
+ :path: "../../../../node_modules/expo-application/ios"
356
+ EXConstants:
357
+ :path: "../../../../node_modules/expo-constants/ios"
358
+ EXFileSystem:
359
+ :path: "../../../../node_modules/expo-file-system/ios"
360
+ EXFont:
361
+ :path: "../../../../node_modules/expo-font/ios"
362
+ EXKeepAwake:
363
+ :path: "../../../../node_modules/expo-keep-awake/ios"
364
+ Expo:
365
+ :path: "../../../../node_modules/expo/ios"
366
+ ExpoModulesCore:
367
+ :path: "../../../../node_modules/expo-modules-core/ios"
368
+ EXSplashScreen:
369
+ :path: "../../../../node_modules/expo-splash-screen/ios"
370
+ FBLazyVector:
371
+ :path: "../node_modules/react-native/Libraries/FBLazyVector"
372
+ FBReactNativeSpec:
373
+ :path: "../node_modules/react-native/React/FBReactNativeSpec"
374
+ glog:
375
+ :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec"
376
+ RCT-Folly:
377
+ :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec"
378
+ RCTRequired:
379
+ :path: "../node_modules/react-native/Libraries/RCTRequired"
380
+ RCTTypeSafety:
381
+ :path: "../node_modules/react-native/Libraries/TypeSafety"
382
+ React:
383
+ :path: "../node_modules/react-native/"
384
+ React-callinvoker:
385
+ :path: "../node_modules/react-native/ReactCommon/callinvoker"
386
+ React-Core:
387
+ :path: "../node_modules/react-native/"
388
+ React-CoreModules:
389
+ :path: "../node_modules/react-native/React/CoreModules"
390
+ React-cxxreact:
391
+ :path: "../node_modules/react-native/ReactCommon/cxxreact"
392
+ React-jsi:
393
+ :path: "../node_modules/react-native/ReactCommon/jsi"
394
+ React-jsiexecutor:
395
+ :path: "../node_modules/react-native/ReactCommon/jsiexecutor"
396
+ React-jsinspector:
397
+ :path: "../node_modules/react-native/ReactCommon/jsinspector"
398
+ react-native-safe-area-context:
399
+ :path: "../../node_modules/react-native-safe-area-context"
400
+ React-perflogger:
401
+ :path: "../node_modules/react-native/ReactCommon/reactperflogger"
402
+ React-RCTActionSheet:
403
+ :path: "../node_modules/react-native/Libraries/ActionSheetIOS"
404
+ React-RCTAnimation:
405
+ :path: "../node_modules/react-native/Libraries/NativeAnimation"
406
+ React-RCTBlob:
407
+ :path: "../node_modules/react-native/Libraries/Blob"
408
+ React-RCTImage:
409
+ :path: "../node_modules/react-native/Libraries/Image"
410
+ React-RCTLinking:
411
+ :path: "../node_modules/react-native/Libraries/LinkingIOS"
412
+ React-RCTNetwork:
413
+ :path: "../node_modules/react-native/Libraries/Network"
414
+ React-RCTSettings:
415
+ :path: "../node_modules/react-native/Libraries/Settings"
416
+ React-RCTText:
417
+ :path: "../node_modules/react-native/Libraries/Text"
418
+ React-RCTVibration:
419
+ :path: "../node_modules/react-native/Libraries/Vibration"
420
+ React-runtimeexecutor:
421
+ :path: "../node_modules/react-native/ReactCommon/runtimeexecutor"
422
+ ReactCommon:
423
+ :path: "../node_modules/react-native/ReactCommon"
424
+ RNCMaskedView:
425
+ :path: "../node_modules/@react-native-community/masked-view"
426
+ RNGestureHandler:
427
+ :path: "../../../../node_modules/react-native-gesture-handler"
428
+ RNScreens:
429
+ :path: "../node_modules/react-native-screens"
430
+ Yoga:
431
+ :path: "../node_modules/react-native/ReactCommon/yoga"
432
+
433
+ SPEC CHECKSUMS:
434
+ boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
435
+ DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de
436
+ EXApplication: 54fe5bd6268d697771645e8f1aef8b806a65247a
437
+ EXConstants: 88bf79622fbd9b476c96d8ec57fe97ca44fe8e3c
438
+ EXFileSystem: 08a3033ac372b6346becf07839e1ccef26fb1058
439
+ EXFont: 2597c10ac85a69d348d44d7873eccf5a7576ef5e
440
+ EXKeepAwake: bf48d7f740a5cd2befed6cf9a49911d385c6c47d
441
+ Expo: 534e51e607aba8229293297da5585f4b26f50fa1
442
+ ExpoModulesCore: 32c0ccb47f477d330ee93db72505380adf0de09a
443
+ EXSplashScreen: 21669e598804ee810547dbb6692c8deb5dd8dbf3
444
+ FBLazyVector: c71c5917ec0ad2de41d5d06a5855f6d5eda06971
445
+ FBReactNativeSpec: 06fd93c5a76cbc493634220b619550ad90c11c46
446
+ glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62
447
+ RCT-Folly: ec7a233ccc97cc556cf7237f0db1ff65b986f27c
448
+ RCTRequired: d34bf57e17cb6e3b2681f4809b13843c021feb6c
449
+ RCTTypeSafety: 8dab4933124ed39bb0c1d88d74d61b1eb950f28f
450
+ React: ef700aeb19afabff83a9cc5799ac955a9c6b5e0f
451
+ React-callinvoker: 5547633d44f3e114b17c03c660ccb5faefd9ed2d
452
+ React-Core: 3858d60185d71567962468bf176d582e36e4e25b
453
+ React-CoreModules: 29b3397adac0c04915cf93089328664868510717
454
+ React-cxxreact: 7e6cc1f4cdfcd40e483dd228fa8a3d3e0ed16f4a
455
+ React-jsi: a8b09c29521c798f1783348b37b511ba7b3dbeb3
456
+ React-jsiexecutor: df6abc9fafbecb8e5b7a5fbc5e6d4bd017d594d5
457
+ React-jsinspector: 34e23860273a23695342f58eed3ffd3ba10c31e0
458
+ react-native-safe-area-context: ebf8c413eb8b5f7c392a036a315eb7b46b96845f
459
+ React-perflogger: cc76a4254d19640f1d8ad1c66fdee800414b805c
460
+ React-RCTActionSheet: 7448f049318d8d7e8a9a1ebb742ada721757eea8
461
+ React-RCTAnimation: fb9b3fa1a4a9f5e6ab01b3368693ce69860ba76a
462
+ React-RCTBlob: a2e7056601c599c19884992f08ebacae810426f9
463
+ React-RCTImage: 5a46c12327d0d6f6844a1fe38baa92a1e02847e8
464
+ React-RCTLinking: 63dd8305591e1def35267557ed42918aec9eb30b
465
+ React-RCTNetwork: d0516e39a5f736b2bff671c3e03804200161dcd3
466
+ React-RCTSettings: a09566b14f1649f6c8a39ad1a174bb5c0631bb09
467
+ React-RCTText: 04a2f0a281f715f0aed4f515717fafd64510e2c8
468
+ React-RCTVibration: c7f845861e79eae13dc1e8217a3cf47a3945b504
469
+ React-runtimeexecutor: 493d9abb8b23c3f84e19ae221eeba92cadcb70dc
470
+ ReactCommon: 8fea6422328e2fc093e25c9fac67adbcf0f04fb4
471
+ RNCMaskedView: 0e1bc4bfa8365eba5fbbb71e07fbdc0555249489
472
+ RNGestureHandler: e1099204721a17a89c81fcd1cc2e92143dc040fb
473
+ RNScreens: d6da2b9e29cf523832c2542f47bf1287318b1868
474
+ Yoga: e6ecf3fa25af9d4c87e94ad7d5d292eedef49749
475
+
476
+ PODFILE CHECKSUM: d615e1760634e4df53df7db7f35f6d059087871f
477
+
478
+ COCOAPODS: 1.11.3
@@ -0,0 +1,3 @@
1
+ {
2
+ "expo.jsEngine": "jsc"
3
+ }
@@ -1,13 +1,21 @@
1
+ /**
2
+ * Metro configuration for React Native
3
+ * https://github.com/facebook/react-native
4
+ *
5
+ * @format
6
+ */
1
7
  const { getDefaultConfig } = require('expo/metro-config');
2
8
  const path = require('path');
3
9
 
4
- const workspaceRoot = path.resolve(__dirname, '../..');
10
+ // Find the workspace root, this can be replaced with `find-yarn-workspace-root`
11
+ const workspaceRoot = path.resolve(__dirname, '../../..');
5
12
  const projectRoot = __dirname;
6
13
 
7
14
  const config = getDefaultConfig(projectRoot);
8
15
 
16
+ // 1. Watch all files within the monorepo
9
17
  config.watchFolders = [workspaceRoot];
10
-
18
+ // 2. Let Metro know where to resolve packages, and in what order
11
19
  config.resolver.nodeModulesPaths = [
12
20
  path.resolve(projectRoot, 'node_modules'),
13
21
  path.resolve(workspaceRoot, 'node_modules'),
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "@hero-design/playground",
3
+ "private": true,
4
+ "version": "7.6.0",
5
+ "license": "MIT",
6
+ "scripts": {
7
+ "lint": "eslint src expoEntry.js --ext .js,.jsx,.ts,.tsx --ignore-path ../../../.gitignore",
8
+ "type-check": "tsc --noEmit",
9
+ "dev": "expo start -i",
10
+ "start": "expo start -dev-client",
11
+ "android": "expo run:android",
12
+ "ios": "expo run:ios",
13
+ "visual-test": "detox build -c ios.sim.release && detox test -c ios.sim.release"
14
+ },
15
+ "dependencies": {
16
+ "@hero-design/colors": "7.6.0",
17
+ "@hero-design/rn": "7.6.0",
18
+ "@react-native-community/masked-view": "^0.1.11",
19
+ "@react-navigation/core": "^6.3.0",
20
+ "@react-navigation/native": "^6.0.12",
21
+ "@react-navigation/native-stack": "^6.8.0",
22
+ "expo": "^44",
23
+ "expo-file-system": "~13.1.4",
24
+ "expo-font": "~10.0.4",
25
+ "expo-splash-screen": "~0.14.1",
26
+ "expo-status-bar": "~1.2.0",
27
+ "react": "17.0.1",
28
+ "react-dom": "17.0.1",
29
+ "react-native": "0.64.3",
30
+ "react-native-gesture-handler": "~2.1.0",
31
+ "react-native-safe-area-context": "3.3.2",
32
+ "react-native-screens": "~3.10.1",
33
+ "react-native-web": "0.17.1"
34
+ },
35
+ "devDependencies": {
36
+ "@babel/core": "^7.17.5",
37
+ "@babel/preset-env": "^7.16.11",
38
+ "@babel/preset-react": "^7.16.7",
39
+ "@babel/preset-typescript": "^7.17.12",
40
+ "@babel/runtime": "^7.18.9",
41
+ "@testing-library/jest-native": "^4.0.4",
42
+ "@testing-library/react-native": "^9.1.0",
43
+ "@types/jest": "^27.0.2",
44
+ "@types/react-native-vector-icons": "^6.4.10",
45
+ "@typescript-eslint/eslint-plugin": "^5.12.1",
46
+ "@typescript-eslint/parser": "^5.12.1",
47
+ "babel-plugin-transform-runtime": "^6.23.0",
48
+ "detox": "^19.9.3",
49
+ "eslint": "^8.9.0",
50
+ "eslint-config-airbnb": "^19.0.4",
51
+ "eslint-config-prettier": "^8.5.0",
52
+ "eslint-plugin-import": "^2.25.4",
53
+ "eslint-plugin-jsx-a11y": "^6.5.1",
54
+ "eslint-plugin-react": "^7.28.0",
55
+ "eslint-plugin-react-hooks": "^4.3.0",
56
+ "jest": "^27.3.1",
57
+ "metro-react-native-babel-preset": "^0.72.1",
58
+ "prettier": "^2.5.1",
59
+ "react-test-renderer": "17.0.2",
60
+ "ts-jest": "^27.0.7",
61
+ "typescript": "^4.5.5"
62
+ }
63
+ }
@@ -0,0 +1,80 @@
1
+ import React from 'react';
2
+ import { ScrollView, View } from 'react-native';
3
+ import { Alert, Typography, useTheme } from '@hero-design/rn';
4
+
5
+ const AlertPlayground = (): JSX.Element => {
6
+ const theme = useTheme();
7
+
8
+ return (
9
+ <ScrollView style={{ flex: 1, padding: theme.space.medium }}>
10
+ <Typography.Text>Default variant</Typography.Text>
11
+ <View style={{ paddingVertical: theme.space.medium }}>
12
+ <Alert
13
+ title="Title"
14
+ content="Success"
15
+ intent="success"
16
+ style={{ marginBottom: theme.space.small }}
17
+ onClose={() => alert('Closed')}
18
+ />
19
+ <Alert
20
+ title="Title"
21
+ content="Info"
22
+ intent="info"
23
+ style={{ marginBottom: theme.space.small }}
24
+ onClose={() => alert('Closed')}
25
+ />
26
+ <Alert
27
+ title="Title"
28
+ content="Warning"
29
+ intent="warning"
30
+ style={{ marginBottom: theme.space.small }}
31
+ onClose={() => alert('Closed')}
32
+ />
33
+ <Alert
34
+ title="Title"
35
+ content="Error"
36
+ intent="error"
37
+ style={{ marginBottom: theme.space.small }}
38
+ onClose={() => alert('Closed')}
39
+ />
40
+ </View>
41
+ <Typography.Text>Round variant</Typography.Text>
42
+ <View style={{ paddingVertical: theme.space.medium }}>
43
+ <Alert
44
+ title="Title"
45
+ content="Success"
46
+ intent="success"
47
+ variant="round"
48
+ style={{ marginBottom: theme.space.small }}
49
+ onClose={() => alert('Closed')}
50
+ />
51
+ <Alert
52
+ title="Title"
53
+ content="Info"
54
+ intent="info"
55
+ variant="round"
56
+ style={{ marginBottom: theme.space.small }}
57
+ onClose={() => alert('Closed')}
58
+ />
59
+ <Alert
60
+ title="Title"
61
+ content="Warning"
62
+ intent="warning"
63
+ variant="round"
64
+ style={{ marginBottom: theme.space.small }}
65
+ onClose={() => alert('Closed')}
66
+ />
67
+ <Alert
68
+ title="Title"
69
+ content="Error"
70
+ intent="error"
71
+ variant="round"
72
+ style={{ marginBottom: theme.space.small }}
73
+ onClose={() => alert('Closed')}
74
+ />
75
+ </View>
76
+ </ScrollView>
77
+ );
78
+ };
79
+
80
+ export default AlertPlayground;