@hero-design/rn 7.3.0 → 7.4.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 (320) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/assets/fonts/hero-icons.ttf +0 -0
  3. package/es/index.js +1997 -1123
  4. package/lib/assets/fonts/hero-icons.ttf +0 -0
  5. package/lib/index.js +2001 -1121
  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/{index.tsx → src/App.tsx} +57 -29
  43. package/playground/{components → src}/Avatar.tsx +1 -1
  44. package/playground/{components → src}/Badge.tsx +1 -1
  45. package/playground/{components → src}/BottomNavigation.tsx +1 -1
  46. package/playground/src/BottomSheet.tsx +43 -0
  47. package/playground/src/Button.tsx +170 -0
  48. package/playground/{components/Button.tsx → src/Button.tsx~origin_master} +0 -0
  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/{components → src}/Progress.tsx +1 -1
  58. package/playground/src/Radio.tsx +25 -0
  59. package/playground/src/SectionHeading.tsx +68 -0
  60. package/playground/src/Spinner.tsx +19 -0
  61. package/playground/{components → src}/Tabs.tsx +1 -1
  62. package/playground/{components → src}/Tag.tsx +1 -1
  63. package/playground/src/TextInput.tsx +14 -0
  64. package/playground/{components → src}/Typography.tsx +1 -1
  65. package/playground/src/emotion.d.ts +7 -0
  66. package/playground/tsconfig.json +21 -0
  67. package/src/components/BottomSheet/Footer.tsx +19 -0
  68. package/src/components/BottomSheet/Header.tsx +49 -0
  69. package/src/components/BottomSheet/StyledBottomSheet.tsx +75 -0
  70. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +531 -0
  71. package/src/components/BottomSheet/__tests__/index.spec.tsx +107 -0
  72. package/src/components/BottomSheet/index.tsx +171 -0
  73. package/src/components/Button/IconButton.tsx +11 -1
  74. package/src/components/Card/index.tsx +1 -1
  75. package/src/components/Collapse/StyledCollapse.tsx +11 -2
  76. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +36 -31
  77. package/src/components/Collapse/__tests__/index.spec.tsx +1 -13
  78. package/src/components/Collapse/index.tsx +20 -50
  79. package/src/components/ContentNavigator/StyledContentNavigator.tsx +15 -0
  80. package/src/components/ContentNavigator/__tests__/StyledContentNavigator.spec.tsx +19 -0
  81. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +43 -0
  82. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +217 -0
  83. package/src/components/ContentNavigator/__tests__/index.spec.tsx +74 -0
  84. package/src/components/ContentNavigator/index.tsx +65 -0
  85. package/src/components/Icon/HeroIcon/index.tsx +13 -2
  86. package/src/components/Icon/HeroIcon/selection.json +1 -1
  87. package/src/components/Icon/IconList.ts +6 -0
  88. package/src/components/Icon/index.tsx +8 -1
  89. package/src/components/Radio/Radio.tsx +51 -0
  90. package/src/components/Radio/RadioGroup.tsx +50 -0
  91. package/src/components/Radio/StyledRadio.tsx +42 -0
  92. package/src/components/Radio/__tests__/Radio.spec.tsx +38 -0
  93. package/src/components/Radio/__tests__/RadioGroup.spec.tsx +36 -0
  94. package/src/components/Radio/__tests__/StyledRadio.spec.tsx +43 -0
  95. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +160 -0
  96. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +248 -0
  97. package/src/components/Radio/__tests__/__snapshots__/StyledRadio.spec.tsx.snap +124 -0
  98. package/src/components/Radio/index.tsx +5 -0
  99. package/src/components/SectionHeading/StyledHeading.tsx +24 -0
  100. package/src/components/SectionHeading/__tests__/StyledHeading.tsx +28 -0
  101. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.tsx.snap +48 -0
  102. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +208 -0
  103. package/src/components/SectionHeading/__tests__/index.spec.tsx +39 -0
  104. package/src/components/SectionHeading/index.tsx +93 -0
  105. package/src/components/Spinner/AnimatedSpinner.tsx +55 -0
  106. package/src/components/Spinner/StyledSpinner.tsx +59 -0
  107. package/src/components/Spinner/__tests__/AnimatedSpinner.spec.tsx +11 -0
  108. package/src/components/Spinner/__tests__/StyledSpinner.spec.tsx +56 -0
  109. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +118 -0
  110. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +235 -0
  111. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +141 -0
  112. package/src/components/Spinner/__tests__/index.spec.tsx +12 -0
  113. package/src/components/Spinner/index.tsx +22 -0
  114. package/src/components/TextInput/StyledTextInput.tsx +34 -0
  115. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +33 -0
  116. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +88 -0
  117. package/src/components/TextInput/__tests__/index.spec.tsx +16 -0
  118. package/src/components/TextInput/index.tsx +61 -0
  119. package/src/index.ts +12 -0
  120. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +95 -0
  121. package/src/theme/components/bottomSheet.ts +34 -0
  122. package/src/theme/components/contentNavigator.ts +11 -0
  123. package/src/theme/components/icon.ts +1 -0
  124. package/src/theme/components/radio.ts +34 -0
  125. package/src/theme/components/spinner.ts +21 -0
  126. package/src/theme/components/textInput.ts +32 -0
  127. package/src/theme/global/borders.ts +6 -0
  128. package/src/theme/global/colors.ts +1 -0
  129. package/src/theme/index.ts +22 -7
  130. package/tsconfig.json +11 -3
  131. package/types/components/Avatar/StyledAvatar.d.ts +45 -0
  132. package/types/components/Avatar/__tests__/StyledAvatar.spec.d.ts +1 -0
  133. package/types/components/Avatar/__tests__/index.spec.d.ts +1 -0
  134. package/types/components/Avatar/index.d.ts +25 -0
  135. package/types/components/Badge/Status.d.ts +24 -0
  136. package/types/components/Badge/StyledBadge.d.ts +27 -0
  137. package/types/components/Badge/__tests__/Badge.spec.d.ts +1 -0
  138. package/types/components/Badge/__tests__/Status.spec.d.ts +1 -0
  139. package/types/components/Badge/index.d.ts +32 -0
  140. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +51 -0
  141. package/types/components/BottomNavigation/__tests__/index.spec.d.ts +1 -0
  142. package/types/components/BottomNavigation/index.d.ts +45 -0
  143. package/types/components/BottomSheet/Footer.d.ts +6 -0
  144. package/types/components/BottomSheet/Header.d.ts +8 -0
  145. package/types/components/BottomSheet/StyledBottomSheet.d.ts +46 -0
  146. package/types/components/BottomSheet/__tests__/index.spec.d.ts +1 -0
  147. package/types/components/BottomSheet/index.d.ts +51 -0
  148. package/types/components/Button/Button.d.ts +57 -0
  149. package/types/components/Button/IconButton.d.ts +38 -0
  150. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +19 -0
  151. package/types/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +1 -0
  152. package/types/components/Button/LoadingIndicator/__tests__/index.spec.d.ts +1 -0
  153. package/types/components/Button/LoadingIndicator/index.d.ts +26 -0
  154. package/types/components/Button/StyledButton.d.ts +39 -0
  155. package/types/components/Button/__tests__/Button.spec.d.ts +1 -0
  156. package/types/components/Button/__tests__/IconButton.spec.d.ts +1 -0
  157. package/types/components/Button/__tests__/StyledButton.spec.d.ts +1 -0
  158. package/types/components/Button/index.d.ts +8 -0
  159. package/types/components/Card/StyledCard.d.ts +16 -0
  160. package/types/components/Card/__tests__/StyledCard.spec.d.ts +1 -0
  161. package/types/components/Card/__tests__/index.spec.d.ts +1 -0
  162. package/types/components/Card/index.d.ts +22 -0
  163. package/types/components/Collapse/StyledCollapse.d.ts +25 -0
  164. package/types/components/Collapse/__tests__/StyledCollapse.spec.d.ts +1 -0
  165. package/types/components/Collapse/__tests__/index.spec.d.ts +1 -0
  166. package/types/components/Collapse/index.d.ts +19 -0
  167. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +12 -0
  168. package/types/components/ContentNavigator/__tests__/StyledContentNavigator.spec.d.ts +1 -0
  169. package/types/components/ContentNavigator/__tests__/index.spec.d.ts +1 -0
  170. package/types/components/ContentNavigator/index.d.ts +33 -0
  171. package/types/components/Divider/StyledDivider.d.ts +12 -0
  172. package/types/components/Divider/__tests__/StyledDivider.spec.d.ts +1 -0
  173. package/types/components/Divider/index.d.ts +21 -0
  174. package/types/components/Drawer/StyledDrawer.d.ts +24 -0
  175. package/types/components/Drawer/__tests__/index.spec.d.ts +1 -0
  176. package/types/components/Drawer/index.d.ts +25 -0
  177. package/types/components/FAB/ActionGroup/ActionItem.d.ts +12 -0
  178. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +29 -0
  179. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +12 -0
  180. package/types/components/FAB/ActionGroup/__tests__/index.spec.d.ts +1 -0
  181. package/types/components/FAB/ActionGroup/index.d.ts +34 -0
  182. package/types/components/FAB/AnimatedFABIcon.d.ts +6 -0
  183. package/types/components/FAB/FAB.d.ts +34 -0
  184. package/types/components/FAB/StyledFAB.d.ts +19 -0
  185. package/types/components/FAB/__tests__/AnimatedFABIcon.spec.d.ts +1 -0
  186. package/types/components/FAB/__tests__/StyledFAB.spec.d.ts +1 -0
  187. package/types/components/FAB/__tests__/index.spec.d.ts +1 -0
  188. package/types/components/FAB/index.d.ts +4 -0
  189. package/types/components/Icon/HeroIcon/index.d.ts +12 -0
  190. package/types/components/Icon/IconList.d.ts +2 -0
  191. package/types/components/Icon/__tests__/index.spec.d.ts +1 -0
  192. package/types/components/Icon/index.d.ts +27 -0
  193. package/types/components/Icon/utils.d.ts +2 -0
  194. package/types/components/Progress/ProgressBar.d.ts +18 -0
  195. package/types/components/Progress/ProgressCircle.d.ts +18 -0
  196. package/types/components/Progress/StyledProgressBar.d.ts +17 -0
  197. package/types/components/Progress/StyledProgressCircle.d.ts +37 -0
  198. package/types/components/Progress/__tests__/index.spec.d.ts +1 -0
  199. package/types/components/Progress/index.d.ts +5 -0
  200. package/types/components/Progress/types.d.ts +1 -0
  201. package/types/components/Radio/Radio.d.ts +26 -0
  202. package/types/components/Radio/RadioGroup.d.ts +29 -0
  203. package/types/components/Radio/StyledRadio.d.ts +30 -0
  204. package/types/components/Radio/__tests__/Radio.spec.d.ts +1 -0
  205. package/types/components/Radio/__tests__/RadioGroup.spec.d.ts +1 -0
  206. package/types/components/Radio/__tests__/StyledRadio.spec.d.ts +1 -0
  207. package/types/components/Radio/index.d.ts +4 -0
  208. package/types/components/SectionHeading/StyledHeading.d.ts +20 -0
  209. package/types/components/SectionHeading/__tests__/StyledHeading.d.ts +1 -0
  210. package/types/components/SectionHeading/__tests__/index.spec.d.ts +1 -0
  211. package/types/components/SectionHeading/index.d.ts +39 -0
  212. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -0
  213. package/types/components/Spinner/StyledSpinner.d.ts +30 -0
  214. package/types/components/Spinner/__tests__/AnimatedSpinner.spec.d.ts +1 -0
  215. package/types/components/Spinner/__tests__/StyledSpinner.spec.d.ts +1 -0
  216. package/types/components/Spinner/__tests__/index.spec.d.ts +1 -0
  217. package/types/components/Spinner/index.d.ts +10 -0
  218. package/types/components/Tabs/ActiveTabIndicator.d.ts +8 -0
  219. package/types/components/Tabs/ScrollableTabs.d.ts +3 -0
  220. package/types/components/Tabs/StyledScrollableTabs.d.ts +60 -0
  221. package/types/components/Tabs/StyledTabs.d.ts +54 -0
  222. package/types/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +1 -0
  223. package/types/components/Tabs/__tests__/index.spec.d.ts +1 -0
  224. package/types/components/Tabs/index.d.ts +54 -0
  225. package/types/components/Tabs/utils.d.ts +2 -0
  226. package/types/components/Tag/StyledTag.d.ts +19 -0
  227. package/types/components/Tag/__tests__/Tag.spec.d.ts +1 -0
  228. package/types/components/Tag/index.d.ts +21 -0
  229. package/types/components/TextInput/StyledTextInput.d.ts +22 -0
  230. package/types/components/TextInput/__tests__/StyledTextInput.spec.d.ts +1 -0
  231. package/types/components/TextInput/__tests__/index.spec.d.ts +1 -0
  232. package/types/components/TextInput/index.d.ts +26 -0
  233. package/types/components/Typography/Text/StyledText.d.ts +12 -0
  234. package/types/components/Typography/Text/__tests__/StyledText.spec.d.ts +1 -0
  235. package/types/components/Typography/Text/__tests__/index.spec.d.ts +1 -0
  236. package/types/components/Typography/Text/index.d.ts +30 -0
  237. package/types/components/Typography/index.d.ts +6 -0
  238. package/types/index.d.ts +25 -0
  239. package/types/playground/components/Avatar.d.ts +0 -0
  240. package/types/playground/components/Collapse.d.ts +0 -0
  241. package/types/playground/components/Drawer.d.ts +0 -0
  242. package/types/playground/components/IconButton.d.ts +0 -0
  243. package/types/playground/components/Progress.d.ts +0 -0
  244. package/types/playground/components/Tag.d.ts +0 -0
  245. package/types/src/components/Avatar/StyledAvatar.d.ts +0 -0
  246. package/types/src/components/Avatar/__tests__/StyledAvatar.spec.d.ts +0 -0
  247. package/types/src/components/Avatar/__tests__/index.spec.d.ts +0 -0
  248. package/types/src/components/Avatar/index.d.ts +0 -0
  249. package/types/src/components/Badge/Status.d.ts +0 -0
  250. package/types/src/components/Badge/__tests__/Status.spec.d.ts +0 -0
  251. package/types/src/components/Button/Button.d.ts +0 -0
  252. package/types/src/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  253. package/types/src/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +0 -0
  254. package/types/src/components/Button/LoadingIndicator/__tests__/index.spec.d.ts +0 -0
  255. package/types/src/components/Button/LoadingIndicator/index.d.ts +0 -0
  256. package/types/src/components/Button/StyledButton.d.ts +0 -0
  257. package/types/src/components/Button/__tests__/Button.spec.d.ts +0 -0
  258. package/types/src/components/Button/__tests__/IconButton.spec.d.ts +0 -0
  259. package/types/src/components/Button/__tests__/StyledButton.spec.d.ts +0 -0
  260. package/types/src/components/Collapse/StyledCollapse.d.ts +0 -0
  261. package/types/src/components/Collapse/__tests__/StyledCollapse.spec.d.ts +0 -0
  262. package/types/src/components/Collapse/__tests__/index.spec.d.ts +0 -0
  263. package/types/src/components/Collapse/index.d.ts +0 -0
  264. package/types/src/components/Drawer/StyledDrawer.d.ts +0 -0
  265. package/types/src/components/Drawer/__tests__/index.spec.d.ts +0 -0
  266. package/types/src/components/Drawer/index.d.ts +0 -0
  267. package/types/src/components/Progress/ProgressBar.d.ts +0 -0
  268. package/types/src/components/Progress/ProgressCircle.d.ts +0 -0
  269. package/types/src/components/Progress/StyledProgressBar.d.ts +0 -0
  270. package/types/src/components/Progress/StyledProgressCircle.d.ts +0 -0
  271. package/types/src/components/Progress/__tests__/index.spec.d.ts +0 -0
  272. package/types/src/components/Progress/index.d.ts +0 -0
  273. package/types/src/components/Progress/types.d.ts +0 -0
  274. package/types/src/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  275. package/types/src/components/Tabs/ScrollableTabs.d.ts +0 -0
  276. package/types/src/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  277. package/types/src/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +0 -0
  278. package/types/src/components/Tabs/utils.d.ts +0 -0
  279. package/types/src/components/Tag/StyledTag.d.ts +0 -0
  280. package/types/src/components/Tag/__tests__/Tag.spec.d.ts +0 -0
  281. package/types/src/components/Tag/index.d.ts +0 -0
  282. package/types/src/theme/components/avatar.d.ts +0 -0
  283. package/types/src/theme/components/button.d.ts +0 -0
  284. package/types/src/theme/components/drawer.d.ts +0 -0
  285. package/types/src/theme/components/progress.d.ts +0 -0
  286. package/types/src/theme/components/tag.d.ts +0 -0
  287. package/types/src/utils/hooks.d.ts +0 -0
  288. package/types/testHelpers/renderWithTheme.d.ts +3 -0
  289. package/types/theme/__tests__/index.spec.d.ts +1 -0
  290. package/types/theme/components/avatar.d.ts +32 -0
  291. package/types/theme/components/badge.d.ts +29 -0
  292. package/types/theme/components/bottomNavigation.d.ts +23 -0
  293. package/types/theme/components/bottomSheet.d.ts +29 -0
  294. package/types/theme/components/button.d.ts +37 -0
  295. package/types/theme/components/card.d.ts +10 -0
  296. package/types/theme/components/contentNavigator.d.ts +7 -0
  297. package/types/theme/components/divider.d.ts +17 -0
  298. package/types/theme/components/drawer.d.ts +21 -0
  299. package/types/theme/components/fab.d.ts +51 -0
  300. package/types/theme/components/icon.d.ts +20 -0
  301. package/types/theme/components/progress.d.ts +21 -0
  302. package/types/theme/components/radio.d.ts +25 -0
  303. package/types/theme/components/spinner.d.ts +15 -0
  304. package/types/theme/components/tabs.d.ts +27 -0
  305. package/types/theme/components/tag.d.ts +30 -0
  306. package/types/theme/components/textInput.d.ts +24 -0
  307. package/types/theme/components/typography.d.ts +26 -0
  308. package/types/theme/global/borders.d.ts +14 -0
  309. package/types/theme/global/colors.d.ts +32 -0
  310. package/types/theme/global/index.d.ts +42 -0
  311. package/types/theme/global/scale.d.ts +9 -0
  312. package/types/theme/global/space.d.ts +13 -0
  313. package/types/theme/global/typography.d.ts +21 -0
  314. package/types/theme/index.d.ts +45 -0
  315. package/types/types.d.ts +5 -0
  316. package/types/utils/__tests__/scale.spec.d.ts +1 -0
  317. package/types/utils/helpers.d.ts +2 -0
  318. package/types/utils/hooks.d.ts +1 -0
  319. package/types/utils/scale.d.ts +3 -0
  320. package/app.json +0 -8
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "7.3.0",
3
+ "version": "7.4.0",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
- "types": "types/src/index.d.ts",
7
+ "react-native": "src/index.ts",
8
+ "types": "types/index.d.ts",
8
9
  "scripts": {
9
- "lint": "eslint src playground --ext .js,.jsx,.ts,.tsx --ignore-path ../../.gitignore",
10
+ "lint": "eslint src --ext .js,.jsx,.ts,.tsx --ignore-path ../../.gitignore",
10
11
  "type-check": "tsc --noEmit",
11
12
  "dev": "expo start",
12
13
  "test": "jest --runInBand",
@@ -15,12 +16,16 @@
15
16
  "build:js": "rollup -c",
16
17
  "build:types": "tsc --noEmit false --emitDeclarationOnly",
17
18
  "build": "yarn build:js && yarn build:types",
18
- "publish:npm": "yarn publish --access public"
19
+ "build:watch": "yarn build:js -w & yarn build:types -w",
20
+ "publish:npm": "yarn publish --access public",
21
+ "start": "expo start --dev-client",
22
+ "android": "expo run:android",
23
+ "ios": "expo run:ios"
19
24
  },
20
25
  "dependencies": {
21
26
  "@emotion/native": "^11.9.3",
22
27
  "@emotion/react": "^11.9.3",
23
- "@hero-design/colors": "7.3.0"
28
+ "@hero-design/colors": "7.4.0"
24
29
  },
25
30
  "peerDependencies": {
26
31
  "react": "17.0.2",
@@ -34,9 +39,8 @@
34
39
  "@babel/preset-env": "^7.16.11",
35
40
  "@babel/preset-react": "^7.16.7",
36
41
  "@babel/preset-typescript": "^7.17.12",
42
+ "@babel/runtime": "^7.18.9",
37
43
  "@emotion/jest": "^11.9.3",
38
- "@react-navigation/native": "^6.0.10",
39
- "@react-navigation/native-stack": "^6.6.2",
40
44
  "@rollup/plugin-babel": "^5.3.1",
41
45
  "@rollup/plugin-commonjs": "^21.0.1",
42
46
  "@rollup/plugin-json": "^4.1.0",
@@ -58,14 +62,12 @@
58
62
  "eslint-plugin-jsx-a11y": "^6.5.1",
59
63
  "eslint-plugin-react": "^7.28.0",
60
64
  "eslint-plugin-react-hooks": "^4.3.0",
61
- "expo": "^44.0.6",
62
65
  "jest": "^27.3.1",
63
66
  "prettier": "^2.5.1",
64
67
  "react": "17.0.2",
65
68
  "react-native": "0.65.1",
66
69
  "react-native-pager-view": "^5.4.25",
67
70
  "react-native-safe-area-context": "^4.2.5",
68
- "react-native-screens": "^3.13.1",
69
71
  "react-native-vector-icons": "^9.1.0",
70
72
  "react-test-renderer": "17.0.2",
71
73
  "rollup": "^2.68.0",
@@ -0,0 +1,49 @@
1
+ {
2
+ "testRunner": "jest",
3
+ "runnerConfig": "e2e/config.json",
4
+ "skipLegacyWorkersInjection": true,
5
+ "apps": {
6
+ "ios": {
7
+ "type": "ios.app",
8
+ "binaryPath": "SPECIFY_PATH_TO_YOUR_APP_BINARY"
9
+ },
10
+ "android": {
11
+ "type": "android.apk",
12
+ "binaryPath": "SPECIFY_PATH_TO_YOUR_APP_BINARY"
13
+ }
14
+ },
15
+ "devices": {
16
+ "simulator": {
17
+ "type": "ios.simulator",
18
+ "device": {
19
+ "type": "iPhone 11"
20
+ }
21
+ },
22
+ "emulator": {
23
+ "type": "android.emulator",
24
+ "device": {
25
+ "avdName": "Pixel_3a_API_30_x86"
26
+ }
27
+ }
28
+ },
29
+ "configurations": {
30
+ "ios.sim.debug": {
31
+ "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/MobileHeroDesignPlayground.app",
32
+ "build": "E2E_TEST=true xcodebuild -workspace ios/MobileHeroDesignPlayground.xcworkspace -configuration Debug -scheme MobileHeroDesignPlayground -derivedDataPath ios/build -sdk iphonesimulator -verbose",
33
+ "type": "ios.simulator",
34
+ "device": {
35
+ "type": "iPhone 13",
36
+ "os": "iOS 15.4"
37
+ }
38
+ },
39
+ "ios.sim.release": {
40
+ "binaryPath": "ios/build/Build/Products/Release-iphonesimulator/MobileHeroDesignPlayground.app",
41
+ "build": "E2E_TEST=true xcodebuild -workspace ios/MobileHeroDesignPlayground.xcworkspace -configuration Release -scheme MobileHeroDesignPlayground -derivedDataPath ios/build -sdk iphonesimulator -verbose",
42
+ "type": "ios.simulator",
43
+ "device": {
44
+ "type": "iPhone 13",
45
+ "os": "iOS 15.4"
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "printWidth": 80,
3
+ "semi": true,
4
+ "singleQuote": true,
5
+ "trailingComma": "es5",
6
+ "arrowParens": "avoid"
7
+ }
8
+
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "Mobile Hero Design Playground",
3
+ "entryPoint": "expoEntry.js",
4
+ "owner": "thinkei",
5
+ "slug": "Mobile-Hero-Design-Playground",
6
+ "ios": {
7
+ "bundleIdentifier": "com.thinkei.Mobile-Hero-Design-Playground"
8
+ }
9
+ }
@@ -0,0 +1,63 @@
1
+ const path = require('path');
2
+
3
+ function isE2ETest() {
4
+ return process.env.E2E_TEST === 'true';
5
+ }
6
+
7
+ module.exports = api => {
8
+ const babelEnv = api.env();
9
+ const plugins = [];
10
+ const presets = [];
11
+
12
+ // resolve issue TypeError: Class constructor DetoxCircusEnvironment cannot be invoked without 'new'
13
+ if (babelEnv === 'test') {
14
+ presets.push(['@babel/preset-env']);
15
+ plugins.push(['@babel/plugin-transform-runtime']);
16
+ } else {
17
+ presets.push(['module:metro-react-native-babel-preset']);
18
+ presets.push(['babel-preset-expo']);
19
+ }
20
+ return {
21
+ presets: ['@babel/preset-typescript', ...presets],
22
+ plugins: [
23
+ ...plugins,
24
+ [
25
+ 'module-resolver',
26
+ {
27
+ alias: {
28
+ '^react$': require.resolve('react', {
29
+ paths: [path.join(__dirname, './')],
30
+ }),
31
+ '^react-native$': require.resolve('react-native', {
32
+ paths: [path.join(__dirname, './')],
33
+ }),
34
+ '^react-native/(.+)': ([, name]) =>
35
+ require.resolve(`react-native/${name}`, {
36
+ paths: [path.join(__dirname, './')],
37
+ }),
38
+ 'react-native-safe-area-context': require.resolve(
39
+ 'react-native-safe-area-context',
40
+ {
41
+ paths: [path.join(__dirname, './')],
42
+ }
43
+ ),
44
+ },
45
+ extensions: [
46
+ '.ios.js',
47
+ '.ios.ts',
48
+ '.ios.tsx',
49
+ '.android.js',
50
+ '.android.ts',
51
+ '.android.tsx',
52
+ '.native.js',
53
+ '.native.ts',
54
+ '.native.tsx',
55
+ '.js',
56
+ '.ts',
57
+ '.tsx',
58
+ ],
59
+ },
60
+ ],
61
+ ],
62
+ };
63
+ };
@@ -0,0 +1,9 @@
1
+ {
2
+ "maxWorkers": 1,
3
+ "testEnvironment": "./environment",
4
+ "testRunner": "jest-circus/runner",
5
+ "testTimeout": 120000,
6
+ "testRegex": "\\.e2e\\.js$",
7
+ "reporters": ["detox/runners/jest/streamlineReporter"],
8
+ "verbose": true
9
+ }
@@ -0,0 +1,23 @@
1
+ const {
2
+ DetoxCircusEnvironment,
3
+ SpecReporter,
4
+ WorkerAssignReporter,
5
+ } = require('detox/runners/jest-circus');
6
+
7
+ class CustomDetoxEnvironment extends DetoxCircusEnvironment {
8
+ constructor(config, context) {
9
+ super(config, context);
10
+
11
+ // Can be safely removed, if you are content with the default value (=300000ms)
12
+ this.initTimeout = 300000;
13
+
14
+ // This takes care of generating status logs on a per-spec basis. By default, Jest only reports at file-level.
15
+ // This is strictly optional.
16
+ this.registerListeners({
17
+ SpecReporter,
18
+ WorkerAssignReporter,
19
+ });
20
+ }
21
+ }
22
+
23
+ module.exports = CustomDetoxEnvironment;
@@ -0,0 +1,16 @@
1
+ describe('Example', () => {
2
+ beforeAll(async () => {
3
+ await device.launchApp();
4
+ });
5
+
6
+ beforeEach(async () => {
7
+ await device.reloadReactNative();
8
+ });
9
+
10
+ it('should go to Badge screen', async () => {
11
+ await waitFor(element(by.label('Badge')))
12
+ .toExist()
13
+ .withTimeout(60000);
14
+ await element(by.label('Badge')).tap();
15
+ });
16
+ });
@@ -1,5 +1,5 @@
1
1
  import { registerRootComponent } from 'expo';
2
2
 
3
- import App from './playground';
3
+ import App from './src/App';
4
4
 
5
5
  registerRootComponent(App);
Binary file
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @format
3
+ */
4
+ import { AppRegistry } from 'react-native';
5
+ import App from './src/App';
6
+
7
+ AppRegistry.registerComponent('main', () => App);
@@ -0,0 +1,9 @@
1
+ #import <Foundation/Foundation.h>
2
+ #import <React/RCTBridgeDelegate.h>
3
+ #import <UIKit/UIKit.h>
4
+
5
+ #import <Expo/Expo.h>
6
+
7
+ @interface AppDelegate : EXAppDelegateWrapper <RCTBridgeDelegate>
8
+
9
+ @end
@@ -0,0 +1,75 @@
1
+ #import "AppDelegate.h"
2
+
3
+ #import <React/RCTBridge.h>
4
+ #import <React/RCTBundleURLProvider.h>
5
+ #import <React/RCTRootView.h>
6
+ #import <React/RCTLinkingManager.h>
7
+ #import <React/RCTConvert.h>
8
+
9
+ #if defined(FB_SONARKIT_ENABLED) && __has_include(<FlipperKit/FlipperClient.h>)
10
+ #import <FlipperKit/FlipperClient.h>
11
+ #import <FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h>
12
+ #import <FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h>
13
+ #import <FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>
14
+ #import <SKIOSNetworkPlugin/SKIOSNetworkAdapter.h>
15
+ #import <FlipperKitReactPlugin/FlipperKitReactPlugin.h>
16
+
17
+ static void InitializeFlipper(UIApplication *application) {
18
+ FlipperClient *client = [FlipperClient sharedClient];
19
+ SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults];
20
+ [client addPlugin:[[FlipperKitLayoutPlugin alloc] initWithRootNode:application withDescriptorMapper:layoutDescriptorMapper]];
21
+ [client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]];
22
+ [client addPlugin:[FlipperKitReactPlugin new]];
23
+ [client addPlugin:[[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]];
24
+ [client start];
25
+ }
26
+ #endif
27
+
28
+ @implementation AppDelegate
29
+
30
+ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
31
+ {
32
+ #if defined(FB_SONARKIT_ENABLED) && __has_include(<FlipperKit/FlipperClient.h>)
33
+ InitializeFlipper(application);
34
+ #endif
35
+
36
+ RCTBridge *bridge = [self.reactDelegate createBridgeWithDelegate:self launchOptions:launchOptions];
37
+ RCTRootView *rootView = [self.reactDelegate createRootViewWithBridge:bridge moduleName:@"main" initialProperties:nil];
38
+ rootView.backgroundColor = [UIColor whiteColor];
39
+ self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
40
+ UIViewController *rootViewController = [self.reactDelegate createRootViewController];
41
+ rootViewController.view = rootView;
42
+ self.window.rootViewController = rootViewController;
43
+ [self.window makeKeyAndVisible];
44
+
45
+ [super application:application didFinishLaunchingWithOptions:launchOptions];
46
+
47
+ return YES;
48
+ }
49
+
50
+ - (NSArray<id<RCTBridgeModule>> *)extraModulesForBridge:(RCTBridge *)bridge
51
+ {
52
+ // If you'd like to export some custom RCTBridgeModules, add them here!
53
+ return @[];
54
+ }
55
+
56
+ - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge {
57
+ #ifdef DEBUG
58
+ return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
59
+ #else
60
+ return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
61
+ #endif
62
+ }
63
+
64
+ // Linking API
65
+ - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {
66
+ return [super application:application openURL:url options:options] || [RCTLinkingManager application:application openURL:url options:options];
67
+ }
68
+
69
+ // Universal Links
70
+ - (BOOL)application:(UIApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity restorationHandler:(nonnull void (^)(NSArray<id<UIUserActivityRestoring>> * _Nullable))restorationHandler {
71
+ BOOL result = [RCTLinkingManager application:application continueUserActivity:userActivity restorationHandler:restorationHandler];
72
+ return [super application:application continueUserActivity:userActivity restorationHandler:restorationHandler] || result;
73
+ }
74
+
75
+ @end
@@ -0,0 +1,38 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "idiom" : "iphone",
5
+ "size" : "29x29",
6
+ "scale" : "2x"
7
+ },
8
+ {
9
+ "idiom" : "iphone",
10
+ "size" : "29x29",
11
+ "scale" : "3x"
12
+ },
13
+ {
14
+ "idiom" : "iphone",
15
+ "size" : "40x40",
16
+ "scale" : "2x"
17
+ },
18
+ {
19
+ "idiom" : "iphone",
20
+ "size" : "40x40",
21
+ "scale" : "3x"
22
+ },
23
+ {
24
+ "idiom" : "iphone",
25
+ "size" : "60x60",
26
+ "scale" : "2x"
27
+ },
28
+ {
29
+ "idiom" : "iphone",
30
+ "size" : "60x60",
31
+ "scale" : "3x"
32
+ }
33
+ ],
34
+ "info" : {
35
+ "version" : 1,
36
+ "author" : "expo"
37
+ }
38
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "info" : {
3
+ "version" : 1,
4
+ "author" : "expo"
5
+ }
6
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "images": [
3
+ {
4
+ "idiom": "universal",
5
+ "filename": "image.png",
6
+ "scale": "1x"
7
+ },
8
+ {
9
+ "idiom": "universal",
10
+ "scale": "2x"
11
+ },
12
+ {
13
+ "idiom": "universal",
14
+ "scale": "3x"
15
+ }
16
+ ],
17
+ "info": {
18
+ "version": 1,
19
+ "author": "expo"
20
+ }
21
+ }
@@ -0,0 +1,85 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>$(DEVELOPMENT_LANGUAGE)</string>
7
+ <key>CFBundleDisplayName</key>
8
+ <string>Mobile Hero Design Playground</string>
9
+ <key>CFBundleExecutable</key>
10
+ <string>$(EXECUTABLE_NAME)</string>
11
+ <key>CFBundleIdentifier</key>
12
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
13
+ <key>CFBundleInfoDictionaryVersion</key>
14
+ <string>6.0</string>
15
+ <key>CFBundleName</key>
16
+ <string>$(PRODUCT_NAME)</string>
17
+ <key>CFBundlePackageType</key>
18
+ <string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
19
+ <key>CFBundleShortVersionString</key>
20
+ <string>7.2.2</string>
21
+ <key>CFBundleSignature</key>
22
+ <string>????</string>
23
+ <key>CFBundleURLTypes</key>
24
+ <array>
25
+ <dict>
26
+ <key>CFBundleURLSchemes</key>
27
+ <array>
28
+ <string>com.thinkei.Mobile-Hero-Design-Playground</string>
29
+ </array>
30
+ </dict>
31
+ </array>
32
+ <key>CFBundleVersion</key>
33
+ <string>1</string>
34
+ <key>LSRequiresIPhoneOS</key>
35
+ <true/>
36
+ <key>NSAppTransportSecurity</key>
37
+ <dict>
38
+ <key>NSAllowsArbitraryLoads</key>
39
+ <true/>
40
+ <key>NSExceptionDomains</key>
41
+ <dict>
42
+ <key>localhost</key>
43
+ <dict>
44
+ <key>NSExceptionAllowsInsecureHTTPLoads</key>
45
+ <true/>
46
+ </dict>
47
+ </dict>
48
+ </dict>
49
+ <key>UIAppFonts</key>
50
+ <array>
51
+ <string>be-vietnam-pro-light.ttf</string>
52
+ <string>be-vietnam-pro-regular.ttf</string>
53
+ <string>be-vietnam-pro-semibold.ttf</string>
54
+ <string>hero-icons.ttf</string>
55
+ </array>
56
+ <key>UILaunchStoryboardName</key>
57
+ <string>SplashScreen</string>
58
+ <key>UIRequiredDeviceCapabilities</key>
59
+ <array>
60
+ <string>armv7</string>
61
+ </array>
62
+ <key>UIRequiresFullScreen</key>
63
+ <false/>
64
+ <key>UIStatusBarStyle</key>
65
+ <string>UIStatusBarStyleDefault</string>
66
+ <key>UISupportedInterfaceOrientations</key>
67
+ <array>
68
+ <string>UIInterfaceOrientationPortrait</string>
69
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
70
+ <string>UIInterfaceOrientationLandscapeLeft</string>
71
+ <string>UIInterfaceOrientationLandscapeRight</string>
72
+ </array>
73
+ <key>UISupportedInterfaceOrientations~ipad</key>
74
+ <array>
75
+ <string>UIInterfaceOrientationPortrait</string>
76
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
77
+ <string>UIInterfaceOrientationLandscapeLeft</string>
78
+ <string>UIInterfaceOrientationLandscapeRight</string>
79
+ </array>
80
+ <key>UIUserInterfaceStyle</key>
81
+ <string>Light</string>
82
+ <key>UIViewControllerBasedStatusBarAppearance</key>
83
+ <false/>
84
+ </dict>
85
+ </plist>
@@ -0,0 +1,3 @@
1
+ //
2
+ // Use this file to import your target's public headers that you would like to expose to Swift.
3
+ //
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>aps-environment</key>
6
+ <string>development</string>
7
+ </dict>
8
+ </plist>
@@ -0,0 +1,40 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16096" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="EXPO-VIEWCONTROLLER-1">
3
+ <device id="retina5_5" orientation="portrait" appearance="light"/>
4
+ <dependencies>
5
+ <deployment identifier="iOS"/>
6
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
7
+ <capability name="Safe area layout guides" minToolsVersion="9.0"/>
8
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
9
+ </dependencies>
10
+ <scenes>
11
+ <scene sceneID="EXPO-SCENE-1">
12
+ <objects>
13
+ <viewController storyboardIdentifier="SplashScreenViewController" id="EXPO-VIEWCONTROLLER-1" sceneMemberID="viewController">
14
+ <view key="view" userInteractionEnabled="NO" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="EXPO-ContainerView" userLabel="ContainerView">
15
+ <rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
16
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
17
+ <subviews>
18
+ <imageView userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" insetsLayoutMarginsFromSafeArea="NO" image="SplashScreenBackground" translatesAutoresizingMaskIntoConstraints="NO" id="EXPO-SplashScreenBackground" userLabel="SplashScreenBackground">
19
+ <rect key="frame" x="0.0" y="0.0" width="414" height="736"/>
20
+ </imageView>
21
+ </subviews>
22
+ <color key="backgroundColor" systemColor="systemBackgroundColor"/>
23
+ <constraints>
24
+ <constraint firstItem="EXPO-SplashScreenBackground" firstAttribute="top" secondItem="EXPO-ContainerView" secondAttribute="top" id="1gX-mQ-vu6"/>
25
+ <constraint firstItem="EXPO-SplashScreenBackground" firstAttribute="leading" secondItem="EXPO-ContainerView" secondAttribute="leading" id="6tX-OG-Sck"/>
26
+ <constraint firstItem="EXPO-SplashScreenBackground" firstAttribute="trailing" secondItem="EXPO-ContainerView" secondAttribute="trailing" id="ABX-8g-7v4"/>
27
+ <constraint firstItem="EXPO-SplashScreenBackground" firstAttribute="bottom" secondItem="EXPO-ContainerView" secondAttribute="bottom" id="jkI-2V-eW5"/>
28
+ </constraints>
29
+ <viewLayoutGuide key="safeArea" id="Rmq-lb-GrQ"/>
30
+ </view>
31
+ </viewController>
32
+ <placeholder placeholderIdentifier="IBFirstResponder" id="EXPO-PLACEHOLDER-1" userLabel="First Responder" sceneMemberID="firstResponder"/>
33
+ </objects>
34
+ <point key="canvasLocation" x="140.625" y="129.4921875"/>
35
+ </scene>
36
+ </scenes>
37
+ <resources>
38
+ <image name="SplashScreenBackground" width="1" height="1"/>
39
+ </resources>
40
+ </document>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>EXUpdatesCheckOnLaunch</key>
6
+ <string>ALWAYS</string>
7
+ <key>EXUpdatesEnabled</key>
8
+ <true/>
9
+ <key>EXUpdatesLaunchWaitMs</key>
10
+ <integer>0</integer>
11
+ <key>EXUpdatesSDKVersion</key>
12
+ <string>44.0.0</string>
13
+ <key>EXUpdatesURL</key>
14
+ <string>https://exp.host/@thinkei/Mobile-Hero-Design-Playground</string>
15
+ </dict>
16
+ </plist>
@@ -0,0 +1,10 @@
1
+ #import <UIKit/UIKit.h>
2
+
3
+ #import "AppDelegate.h"
4
+
5
+ int main(int argc, char * argv[]) {
6
+ @autoreleasepool {
7
+ return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
8
+ }
9
+ }
10
+
@@ -0,0 +1,4 @@
1
+ //
2
+ // @generated
3
+ // A blank Swift file must be created for native modules with Swift files to work correctly.
4
+ //