@hero-design/rn 7.3.2 → 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 (290) 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 +8 -8
  8. package/.turbo/turbo-build:types.log +2 -0
  9. package/.turbo/turbo-test.log +131 -0
  10. package/.turbo/turbo-type-check.log +7 -0
  11. package/assets/fonts/hero-icons.ttf +0 -0
  12. package/es/index.js +2012 -1137
  13. package/lib/assets/fonts/hero-icons.ttf +0 -0
  14. package/lib/index.js +2016 -1135
  15. package/package.json +11 -9
  16. package/playground/.detoxrc.json +49 -0
  17. package/playground/.prettierrc.json +8 -0
  18. package/playground/app.json +9 -0
  19. package/playground/babel.config.js +63 -0
  20. package/playground/e2e/config.json +9 -0
  21. package/playground/e2e/environment.js +23 -0
  22. package/playground/e2e/firstTest.e2e.js +16 -0
  23. package/{expoEntry.js → playground/expoEntry.js} +1 -1
  24. package/playground/fonts/be-vietnam-pro-light.ttf +0 -0
  25. package/playground/fonts/be-vietnam-pro-regular.ttf +0 -0
  26. package/playground/fonts/be-vietnam-pro-semibold.ttf +0 -0
  27. package/playground/fonts/hero-icons.ttf +0 -0
  28. package/playground/index.js +7 -0
  29. package/playground/ios/MobileHeroDesignPlayground/AppDelegate.h +9 -0
  30. package/playground/ios/MobileHeroDesignPlayground/AppDelegate.m +75 -0
  31. package/playground/ios/MobileHeroDesignPlayground/Images.xcassets/AppIcon.appiconset/Contents.json +38 -0
  32. package/playground/ios/MobileHeroDesignPlayground/Images.xcassets/Contents.json +6 -0
  33. package/playground/ios/MobileHeroDesignPlayground/Images.xcassets/SplashScreenBackground.imageset/Contents.json +21 -0
  34. package/playground/ios/MobileHeroDesignPlayground/Images.xcassets/SplashScreenBackground.imageset/image.png +0 -0
  35. package/playground/ios/MobileHeroDesignPlayground/Info.plist +85 -0
  36. package/playground/ios/MobileHeroDesignPlayground/MobileHeroDesignPlayground-Bridging-Header.h +3 -0
  37. package/playground/ios/MobileHeroDesignPlayground/MobileHeroDesignPlayground.entitlements +8 -0
  38. package/playground/ios/MobileHeroDesignPlayground/SplashScreen.storyboard +40 -0
  39. package/playground/ios/MobileHeroDesignPlayground/Supporting/Expo.plist +16 -0
  40. package/playground/ios/MobileHeroDesignPlayground/main.m +10 -0
  41. package/playground/ios/MobileHeroDesignPlayground/noop-file.swift +4 -0
  42. package/playground/ios/MobileHeroDesignPlayground.xcodeproj/project.pbxproj +515 -0
  43. package/playground/ios/MobileHeroDesignPlayground.xcodeproj/xcshareddata/xcschemes/MobileHeroDesignPlayground.xcscheme +88 -0
  44. package/playground/ios/MobileHeroDesignPlayground.xcworkspace/contents.xcworkspacedata +10 -0
  45. package/playground/ios/MobileHeroDesignPlayground.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  46. package/playground/ios/Podfile +49 -0
  47. package/playground/ios/Podfile.lock +478 -0
  48. package/playground/ios/Podfile.properties.json +3 -0
  49. package/{metro.config.js → playground/metro.config.js} +10 -2
  50. package/playground/package.json +63 -0
  51. package/playground/{index.tsx → src/App.tsx} +57 -29
  52. package/playground/{components → src}/Avatar.tsx +1 -1
  53. package/playground/{components → src}/Badge.tsx +1 -1
  54. package/playground/{components → src}/BottomNavigation.tsx +1 -1
  55. package/playground/src/BottomSheet.tsx +43 -0
  56. package/playground/src/Button.tsx +170 -0
  57. package/playground/{components/Button.tsx → src/Button.tsx~origin_master} +0 -0
  58. package/playground/{components → src}/Card.tsx +1 -1
  59. package/playground/{components → src}/Collapse.tsx +1 -1
  60. package/playground/src/ContentNavigator.tsx +65 -0
  61. package/playground/{components → src}/Divider.tsx +1 -1
  62. package/playground/{components → src}/Drawer.tsx +1 -1
  63. package/playground/{components → src}/FAB.tsx +1 -1
  64. package/playground/{components → src}/Icon.tsx +7 -3
  65. package/playground/{components → src}/IconButton.tsx +12 -1
  66. package/playground/{components → src}/Progress.tsx +1 -1
  67. package/playground/src/Radio.tsx +25 -0
  68. package/playground/src/SectionHeading.tsx +68 -0
  69. package/playground/src/Spinner.tsx +19 -0
  70. package/playground/{components → src}/Tabs.tsx +1 -1
  71. package/playground/{components → src}/Tag.tsx +1 -1
  72. package/playground/src/TextInput.tsx +14 -0
  73. package/playground/{components → src}/Typography.tsx +1 -1
  74. package/playground/src/emotion.d.ts +7 -0
  75. package/playground/tsconfig.json +21 -0
  76. package/src/components/BottomSheet/Footer.tsx +19 -0
  77. package/src/components/BottomSheet/Header.tsx +49 -0
  78. package/src/components/BottomSheet/StyledBottomSheet.tsx +75 -0
  79. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +531 -0
  80. package/src/components/BottomSheet/__tests__/index.spec.tsx +107 -0
  81. package/src/components/BottomSheet/index.tsx +171 -0
  82. package/src/components/Button/IconButton.tsx +11 -1
  83. package/src/components/Collapse/StyledCollapse.tsx +11 -2
  84. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +36 -31
  85. package/src/components/Collapse/__tests__/index.spec.tsx +1 -13
  86. package/src/components/Collapse/index.tsx +20 -50
  87. package/src/components/ContentNavigator/StyledContentNavigator.tsx +15 -0
  88. package/src/components/ContentNavigator/__tests__/StyledContentNavigator.spec.tsx +19 -0
  89. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +43 -0
  90. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +217 -0
  91. package/src/components/ContentNavigator/__tests__/index.spec.tsx +74 -0
  92. package/src/components/ContentNavigator/index.tsx +65 -0
  93. package/src/components/Icon/HeroIcon/index.tsx +13 -2
  94. package/src/components/Icon/HeroIcon/selection.json +1 -1
  95. package/src/components/Icon/IconList.ts +6 -0
  96. package/src/components/Icon/index.tsx +8 -1
  97. package/src/components/Radio/Radio.tsx +51 -0
  98. package/src/components/Radio/RadioGroup.tsx +50 -0
  99. package/src/components/Radio/StyledRadio.tsx +42 -0
  100. package/src/components/Radio/__tests__/Radio.spec.tsx +38 -0
  101. package/src/components/Radio/__tests__/RadioGroup.spec.tsx +36 -0
  102. package/src/components/Radio/__tests__/StyledRadio.spec.tsx +43 -0
  103. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +160 -0
  104. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +248 -0
  105. package/src/components/Radio/__tests__/__snapshots__/StyledRadio.spec.tsx.snap +124 -0
  106. package/src/components/Radio/index.tsx +5 -0
  107. package/src/components/SectionHeading/StyledHeading.tsx +24 -0
  108. package/src/components/SectionHeading/__tests__/StyledHeading.tsx +28 -0
  109. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.tsx.snap +48 -0
  110. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +208 -0
  111. package/src/components/SectionHeading/__tests__/index.spec.tsx +39 -0
  112. package/src/components/SectionHeading/index.tsx +93 -0
  113. package/src/components/Spinner/AnimatedSpinner.tsx +55 -0
  114. package/src/components/Spinner/StyledSpinner.tsx +59 -0
  115. package/src/components/Spinner/__tests__/AnimatedSpinner.spec.tsx +11 -0
  116. package/src/components/Spinner/__tests__/StyledSpinner.spec.tsx +56 -0
  117. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +118 -0
  118. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +235 -0
  119. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +141 -0
  120. package/src/components/Spinner/__tests__/index.spec.tsx +12 -0
  121. package/src/components/Spinner/index.tsx +22 -0
  122. package/src/components/TextInput/StyledTextInput.tsx +34 -0
  123. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +33 -0
  124. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +88 -0
  125. package/src/components/TextInput/__tests__/index.spec.tsx +16 -0
  126. package/src/components/TextInput/index.tsx +61 -0
  127. package/src/index.ts +12 -0
  128. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +95 -0
  129. package/src/theme/components/bottomSheet.ts +34 -0
  130. package/src/theme/components/contentNavigator.ts +11 -0
  131. package/src/theme/components/icon.ts +1 -0
  132. package/src/theme/components/radio.ts +34 -0
  133. package/src/theme/components/spinner.ts +21 -0
  134. package/src/theme/components/textInput.ts +32 -0
  135. package/src/theme/global/borders.ts +6 -0
  136. package/src/theme/global/colors.ts +1 -0
  137. package/src/theme/index.ts +22 -7
  138. package/tsconfig.json +11 -3
  139. package/types/components/Avatar/StyledAvatar.d.ts +45 -0
  140. package/types/{src/components/Tabs/__tests__/ScrollableTab.spec.d.ts → components/Avatar/__tests__/StyledAvatar.spec.d.ts} +0 -0
  141. package/types/components/Avatar/__tests__/index.spec.d.ts +1 -0
  142. package/types/components/Avatar/index.d.ts +25 -0
  143. package/types/components/Badge/Status.d.ts +24 -0
  144. package/types/components/Badge/StyledBadge.d.ts +27 -0
  145. package/types/components/Badge/__tests__/Badge.spec.d.ts +1 -0
  146. package/types/components/Badge/__tests__/Status.spec.d.ts +1 -0
  147. package/types/components/Badge/index.d.ts +32 -0
  148. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +51 -0
  149. package/types/components/BottomNavigation/__tests__/index.spec.d.ts +1 -0
  150. package/types/components/BottomNavigation/index.d.ts +45 -0
  151. package/types/components/BottomSheet/Footer.d.ts +6 -0
  152. package/types/components/BottomSheet/Header.d.ts +8 -0
  153. package/types/components/BottomSheet/StyledBottomSheet.d.ts +46 -0
  154. package/types/components/BottomSheet/__tests__/index.spec.d.ts +1 -0
  155. package/types/components/BottomSheet/index.d.ts +51 -0
  156. package/types/components/Button/Button.d.ts +57 -0
  157. package/types/components/Button/IconButton.d.ts +38 -0
  158. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +19 -0
  159. package/types/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +1 -0
  160. package/types/components/Button/LoadingIndicator/__tests__/index.spec.d.ts +1 -0
  161. package/types/components/Button/LoadingIndicator/index.d.ts +26 -0
  162. package/types/components/Button/StyledButton.d.ts +39 -0
  163. package/types/components/Button/__tests__/Button.spec.d.ts +1 -0
  164. package/types/components/Button/__tests__/IconButton.spec.d.ts +1 -0
  165. package/types/components/Button/__tests__/StyledButton.spec.d.ts +1 -0
  166. package/types/components/Button/index.d.ts +8 -0
  167. package/types/components/Card/StyledCard.d.ts +16 -0
  168. package/types/components/Card/__tests__/StyledCard.spec.d.ts +1 -0
  169. package/types/components/Card/__tests__/index.spec.d.ts +1 -0
  170. package/types/components/Card/index.d.ts +22 -0
  171. package/types/components/Collapse/StyledCollapse.d.ts +25 -0
  172. package/types/components/Collapse/__tests__/StyledCollapse.spec.d.ts +1 -0
  173. package/types/components/Collapse/__tests__/index.spec.d.ts +1 -0
  174. package/types/components/Collapse/index.d.ts +19 -0
  175. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +12 -0
  176. package/types/components/ContentNavigator/__tests__/StyledContentNavigator.spec.d.ts +1 -0
  177. package/types/components/ContentNavigator/__tests__/index.spec.d.ts +1 -0
  178. package/types/components/ContentNavigator/index.d.ts +33 -0
  179. package/types/components/Divider/StyledDivider.d.ts +12 -0
  180. package/types/components/Divider/__tests__/StyledDivider.spec.d.ts +1 -0
  181. package/types/components/Divider/index.d.ts +21 -0
  182. package/types/components/Drawer/StyledDrawer.d.ts +24 -0
  183. package/types/components/Drawer/__tests__/index.spec.d.ts +1 -0
  184. package/types/components/Drawer/index.d.ts +25 -0
  185. package/types/components/FAB/ActionGroup/ActionItem.d.ts +12 -0
  186. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +29 -0
  187. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +12 -0
  188. package/types/components/FAB/ActionGroup/__tests__/index.spec.d.ts +1 -0
  189. package/types/components/FAB/ActionGroup/index.d.ts +34 -0
  190. package/types/components/FAB/AnimatedFABIcon.d.ts +6 -0
  191. package/types/components/FAB/FAB.d.ts +34 -0
  192. package/types/components/FAB/StyledFAB.d.ts +19 -0
  193. package/types/components/FAB/__tests__/AnimatedFABIcon.spec.d.ts +1 -0
  194. package/types/components/FAB/__tests__/StyledFAB.spec.d.ts +1 -0
  195. package/types/components/FAB/__tests__/index.spec.d.ts +1 -0
  196. package/types/components/FAB/index.d.ts +4 -0
  197. package/types/components/Icon/HeroIcon/index.d.ts +12 -0
  198. package/types/components/Icon/IconList.d.ts +2 -0
  199. package/types/components/Icon/__tests__/index.spec.d.ts +1 -0
  200. package/types/components/Icon/index.d.ts +27 -0
  201. package/types/components/Icon/utils.d.ts +2 -0
  202. package/types/components/Progress/ProgressBar.d.ts +18 -0
  203. package/types/components/Progress/ProgressCircle.d.ts +18 -0
  204. package/types/components/Progress/StyledProgressBar.d.ts +17 -0
  205. package/types/components/Progress/StyledProgressCircle.d.ts +37 -0
  206. package/types/components/Progress/__tests__/index.spec.d.ts +1 -0
  207. package/types/components/Progress/index.d.ts +5 -0
  208. package/types/components/Progress/types.d.ts +1 -0
  209. package/types/components/Radio/Radio.d.ts +26 -0
  210. package/types/components/Radio/RadioGroup.d.ts +29 -0
  211. package/types/components/Radio/StyledRadio.d.ts +30 -0
  212. package/types/components/Radio/__tests__/Radio.spec.d.ts +1 -0
  213. package/types/components/Radio/__tests__/RadioGroup.spec.d.ts +1 -0
  214. package/types/components/Radio/__tests__/StyledRadio.spec.d.ts +1 -0
  215. package/types/components/Radio/index.d.ts +4 -0
  216. package/types/components/SectionHeading/StyledHeading.d.ts +20 -0
  217. package/types/components/SectionHeading/__tests__/StyledHeading.d.ts +1 -0
  218. package/types/components/SectionHeading/__tests__/index.spec.d.ts +1 -0
  219. package/types/components/SectionHeading/index.d.ts +39 -0
  220. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -0
  221. package/types/components/Spinner/StyledSpinner.d.ts +30 -0
  222. package/types/components/Spinner/__tests__/AnimatedSpinner.spec.d.ts +1 -0
  223. package/types/components/Spinner/__tests__/StyledSpinner.spec.d.ts +1 -0
  224. package/types/components/Spinner/__tests__/index.spec.d.ts +1 -0
  225. package/types/components/Spinner/index.d.ts +10 -0
  226. package/types/components/Tabs/ActiveTabIndicator.d.ts +8 -0
  227. package/types/{src/components/Tabs/ScrollableTab.d.ts → components/Tabs/ScrollableTabs.d.ts} +1 -1
  228. package/types/{src/components/Tabs/StyledScrollableTab.d.ts → components/Tabs/StyledScrollableTabs.d.ts} +0 -1
  229. package/types/components/Tabs/StyledTabs.d.ts +54 -0
  230. package/types/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +1 -0
  231. package/types/components/Tabs/__tests__/index.spec.d.ts +1 -0
  232. package/types/components/Tabs/index.d.ts +54 -0
  233. package/types/components/Tabs/utils.d.ts +2 -0
  234. package/types/components/Tag/StyledTag.d.ts +19 -0
  235. package/types/components/Tag/__tests__/Tag.spec.d.ts +1 -0
  236. package/types/components/Tag/index.d.ts +21 -0
  237. package/types/components/TextInput/StyledTextInput.d.ts +22 -0
  238. package/types/components/TextInput/__tests__/StyledTextInput.spec.d.ts +1 -0
  239. package/types/components/TextInput/__tests__/index.spec.d.ts +1 -0
  240. package/types/components/TextInput/index.d.ts +26 -0
  241. package/types/components/Typography/Text/StyledText.d.ts +12 -0
  242. package/types/components/Typography/Text/__tests__/StyledText.spec.d.ts +1 -0
  243. package/types/components/Typography/Text/__tests__/index.spec.d.ts +1 -0
  244. package/types/components/Typography/Text/index.d.ts +30 -0
  245. package/types/components/Typography/index.d.ts +6 -0
  246. package/types/index.d.ts +25 -0
  247. package/types/playground/components/IconButton.d.ts +0 -0
  248. package/types/src/components/Button/Button.d.ts +0 -0
  249. package/types/src/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  250. package/types/src/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +0 -0
  251. package/types/src/components/Button/LoadingIndicator/__tests__/index.spec.d.ts +0 -0
  252. package/types/src/components/Button/LoadingIndicator/index.d.ts +0 -0
  253. package/types/src/components/Button/StyledButton.d.ts +0 -0
  254. package/types/src/components/Button/__tests__/Button.spec.d.ts +0 -0
  255. package/types/src/components/Button/__tests__/IconButton.spec.d.ts +0 -0
  256. package/types/src/components/Button/__tests__/StyledButton.spec.d.ts +0 -0
  257. package/types/src/theme/components/button.d.ts +0 -0
  258. package/types/testHelpers/renderWithTheme.d.ts +3 -0
  259. package/types/theme/__tests__/index.spec.d.ts +1 -0
  260. package/types/theme/components/avatar.d.ts +32 -0
  261. package/types/theme/components/badge.d.ts +29 -0
  262. package/types/theme/components/bottomNavigation.d.ts +23 -0
  263. package/types/theme/components/bottomSheet.d.ts +29 -0
  264. package/types/theme/components/button.d.ts +37 -0
  265. package/types/theme/components/card.d.ts +10 -0
  266. package/types/theme/components/contentNavigator.d.ts +7 -0
  267. package/types/theme/components/divider.d.ts +17 -0
  268. package/types/theme/components/drawer.d.ts +21 -0
  269. package/types/theme/components/fab.d.ts +51 -0
  270. package/types/theme/components/icon.d.ts +20 -0
  271. package/types/theme/components/progress.d.ts +21 -0
  272. package/types/theme/components/radio.d.ts +25 -0
  273. package/types/theme/components/spinner.d.ts +15 -0
  274. package/types/theme/components/tabs.d.ts +27 -0
  275. package/types/theme/components/tag.d.ts +30 -0
  276. package/types/theme/components/textInput.d.ts +24 -0
  277. package/types/theme/components/typography.d.ts +26 -0
  278. package/types/theme/global/borders.d.ts +14 -0
  279. package/types/theme/global/colors.d.ts +32 -0
  280. package/types/theme/global/index.d.ts +42 -0
  281. package/types/theme/global/scale.d.ts +9 -0
  282. package/types/theme/global/space.d.ts +13 -0
  283. package/types/theme/global/typography.d.ts +21 -0
  284. package/types/theme/index.d.ts +45 -0
  285. package/types/types.d.ts +5 -0
  286. package/types/utils/__tests__/scale.spec.d.ts +1 -0
  287. package/types/utils/helpers.d.ts +2 -0
  288. package/types/utils/hooks.d.ts +1 -0
  289. package/types/utils/scale.d.ts +3 -0
  290. package/app.json +0 -8
@@ -0,0 +1,2 @@
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" | "candy-box-menu" | "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" | "redeem" | "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" | "suitcase-outlined" | "survey-outlined" | "switch-outlined" | "sync" | "target-outlined" | "timesheet-outlined" | "transfer" | "trash-bin-outlined" | "unavailable" | "underline" | "unlock-outlined" | "upload-outlined" | "user-circle-outlined" | "user-outlined" | "user-rectangle-outlined" | "video-1-outlined" | "video-2-outlined" | "wallet-outlined";
2
+ export { isHeroIcon };
@@ -0,0 +1,18 @@
1
+ import { StyleProp, ViewStyle, ViewProps } from 'react-native';
2
+ export interface ProgressBarProps extends ViewProps {
3
+ /**
4
+ * The progress completion percentage: 0-100.
5
+ */
6
+ value: number;
7
+ /**
8
+ * Set intent for your progress.
9
+ */
10
+ intent?: 'primary' | 'success' | 'warning' | 'danger' | 'info';
11
+ /**
12
+ * Additional style.
13
+ */
14
+ style?: StyleProp<ViewStyle>;
15
+ testID?: string;
16
+ }
17
+ declare const ProgressBar: ({ value, intent, style, testID, ...nativeProps }: ProgressBarProps) => JSX.Element;
18
+ export default ProgressBar;
@@ -0,0 +1,18 @@
1
+ import { ViewProps, StyleProp, ViewStyle } from 'react-native';
2
+ export interface ProgressCircleProps extends ViewProps {
3
+ /**
4
+ * The progress completion percentage: 0-100.
5
+ */
6
+ value: number;
7
+ /**
8
+ * Set intent for your progress.
9
+ */
10
+ intent?: 'primary' | 'success' | 'warning' | 'danger' | 'info';
11
+ /**
12
+ * Additional style.
13
+ */
14
+ style?: StyleProp<ViewStyle>;
15
+ testID?: string;
16
+ }
17
+ declare const ProgressCircle: ({ value, intent, style, testID, ...nativeProps }: ProgressCircleProps) => JSX.Element;
18
+ export default ProgressCircle;
@@ -0,0 +1,17 @@
1
+ import { Animated, View, ViewProps } from 'react-native';
2
+ import { ThemeIntent } from './types';
3
+ declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any> | undefined;
6
+ }, {}, {
7
+ ref?: import("react").Ref<View> | undefined;
8
+ }>;
9
+ declare const StyledInner: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
10
+ children?: import("react").ReactNode;
11
+ } & {
12
+ theme?: import("@emotion/react").Theme | undefined;
13
+ as?: import("react").ElementType<any> | undefined;
14
+ } & {
15
+ themeIntent: ThemeIntent;
16
+ }, {}, {}>;
17
+ export { StyledWrapper, StyledInner };
@@ -0,0 +1,37 @@
1
+ import { View, ViewProps } from 'react-native';
2
+ import { ThemeIntent } from './types';
3
+ declare const HalfCircleWrapper: import("@emotion/native").StyledComponent<ViewProps & {
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any> | undefined;
6
+ }, {}, {
7
+ ref?: import("react").Ref<View> | undefined;
8
+ }>;
9
+ declare const HalfCircleInnerFG: import("@emotion/native").StyledComponent<ViewProps & {
10
+ theme?: import("@emotion/react").Theme | undefined;
11
+ as?: import("react").ElementType<any> | undefined;
12
+ } & {
13
+ themeIntent: ThemeIntent;
14
+ }, {}, {
15
+ ref?: import("react").Ref<View> | undefined;
16
+ }>;
17
+ declare const HalfCircleInnerBG: import("@emotion/native").StyledComponent<ViewProps & {
18
+ theme?: import("@emotion/react").Theme | undefined;
19
+ as?: import("react").ElementType<any> | undefined;
20
+ }, {}, {
21
+ ref?: import("react").Ref<View> | undefined;
22
+ }>;
23
+ declare const DonutCircle: import("@emotion/native").StyledComponent<ViewProps & {
24
+ theme?: import("@emotion/react").Theme | undefined;
25
+ as?: import("react").ElementType<any> | undefined;
26
+ }, {}, {
27
+ ref?: import("react").Ref<View> | undefined;
28
+ }>;
29
+ declare const StrokeEnd: import("@emotion/native").StyledComponent<ViewProps & {
30
+ theme?: import("@emotion/react").Theme | undefined;
31
+ as?: import("react").ElementType<any> | undefined;
32
+ } & {
33
+ themeIntent: ThemeIntent;
34
+ }, {}, {
35
+ ref?: import("react").Ref<View> | undefined;
36
+ }>;
37
+ export { DonutCircle, HalfCircleWrapper, HalfCircleInnerFG, HalfCircleInnerBG, StrokeEnd, };
@@ -0,0 +1,5 @@
1
+ declare const Progress: {
2
+ readonly Circle: ({ value, intent, style, testID, ...nativeProps }: import("./ProgressCircle").ProgressCircleProps) => JSX.Element;
3
+ readonly Bar: ({ value, intent, style, testID, ...nativeProps }: import("./ProgressBar").ProgressBarProps) => JSX.Element;
4
+ };
5
+ export default Progress;
@@ -0,0 +1 @@
1
+ export declare type ThemeIntent = 'primary' | 'success' | 'warning' | 'danger' | 'info';
@@ -0,0 +1,26 @@
1
+ import { ReactElement } from 'react';
2
+ import { StyleProp, ViewStyle } from 'react-native';
3
+ export interface RadioProps {
4
+ /**
5
+ * Whether the radio is checked.
6
+ */
7
+ checked?: boolean;
8
+ /**
9
+ * Press event handler.
10
+ */
11
+ onPress: () => void;
12
+ /**
13
+ * Radio text.
14
+ */
15
+ text: string;
16
+ /**
17
+ * Additional style.
18
+ */
19
+ style?: StyleProp<ViewStyle>;
20
+ /**
21
+ * Testing id of the component.
22
+ */
23
+ testID?: string;
24
+ }
25
+ declare const Radio: ({ text, checked, onPress, style, testID, }: RadioProps) => ReactElement;
26
+ export default Radio;
@@ -0,0 +1,29 @@
1
+ import { ReactElement } from 'react';
2
+ import { StyleProp, ViewStyle } from 'react-native';
3
+ export interface RadioGroupProps {
4
+ /**
5
+ * An array of radio options to be selected.
6
+ */
7
+ options: {
8
+ text: string;
9
+ value: string;
10
+ }[];
11
+ /**
12
+ * Radio input value.
13
+ */
14
+ value: string;
15
+ /**
16
+ * Press event handler receiving selected radio's value.
17
+ */
18
+ onPress: (value: string) => void;
19
+ /**
20
+ * Additional style.
21
+ */
22
+ style?: StyleProp<ViewStyle>;
23
+ /**
24
+ * Testing id of the component.
25
+ */
26
+ testID?: string;
27
+ }
28
+ declare const RadioGroup: ({ value, onPress, options, style, testID, }: RadioGroupProps) => ReactElement;
29
+ export default RadioGroup;
@@ -0,0 +1,30 @@
1
+ import { View, TouchableOpacity } from 'react-native';
2
+ declare const Wrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ } & {
6
+ themeChecked: boolean;
7
+ }, {}, {
8
+ ref?: import("react").Ref<TouchableOpacity> | undefined;
9
+ }>;
10
+ declare const Circle: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
11
+ theme?: import("@emotion/react").Theme | undefined;
12
+ as?: import("react").ElementType<any> | undefined;
13
+ } & {
14
+ themeChecked: boolean;
15
+ }, {}, {
16
+ ref?: import("react").Ref<View> | undefined;
17
+ }>;
18
+ declare const InnerCircle: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
19
+ theme?: import("@emotion/react").Theme | undefined;
20
+ as?: import("react").ElementType<any> | undefined;
21
+ }, {}, {
22
+ ref?: import("react").Ref<View> | undefined;
23
+ }>;
24
+ declare const Spacer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
25
+ theme?: import("@emotion/react").Theme | undefined;
26
+ as?: import("react").ElementType<any> | undefined;
27
+ }, {}, {
28
+ ref?: import("react").Ref<View> | undefined;
29
+ }>;
30
+ export { Wrapper, Circle, InnerCircle, Spacer };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ declare const CompoundRadio: {
2
+ readonly Group: ({ value, onPress, options, style, testID, }: import("./RadioGroup").RadioGroupProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
3
+ };
4
+ export default CompoundRadio;
@@ -0,0 +1,20 @@
1
+ import { View } from 'react-native';
2
+ declare const StyledHeading: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ }, {}, {
6
+ ref?: import("react").Ref<View> | undefined;
7
+ }>;
8
+ declare const StyledIconWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
9
+ theme?: import("@emotion/react").Theme | undefined;
10
+ as?: import("react").ElementType<any> | undefined;
11
+ }, {}, {
12
+ ref?: import("react").Ref<View> | undefined;
13
+ }>;
14
+ declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ as?: import("react").ElementType<any> | undefined;
17
+ }, {}, {
18
+ ref?: import("react").Ref<View> | undefined;
19
+ }>;
20
+ export { StyledHeading, StyledIconWrapper, StyledWrapper };
@@ -0,0 +1,39 @@
1
+ import { ReactElement } from 'react';
2
+ import { StyleProp, ViewProps, ViewStyle } from 'react-native';
3
+ import { IconName } from '../Icon';
4
+ export interface SectionHeadingProps extends ViewProps {
5
+ /**
6
+ * Heading text.
7
+ */
8
+ text: string | ReactElement;
9
+ /**
10
+ * Name of the Icon.
11
+ */
12
+ icon?: IconName;
13
+ /**
14
+ * Right corner content
15
+ */
16
+ rightChildren?: ReactElement;
17
+ /**
18
+ * Size of the text.
19
+ */
20
+ fontSize?: 'small' | 'medium' | 'large' | 'xlarge';
21
+ /**
22
+ * Heading's font-weight.
23
+ */
24
+ fontWeight?: 'light' | 'regular' | 'semi-bold';
25
+ /**
26
+ * Visual intent color to apply to text.
27
+ */
28
+ intent?: 'subdued' | 'body' | 'primary';
29
+ /**
30
+ * Addditional style.
31
+ */
32
+ style?: StyleProp<ViewStyle>;
33
+ /**
34
+ * Testing id of the component.
35
+ */
36
+ testID?: string;
37
+ }
38
+ declare const SectionHeading: ({ icon, text, rightChildren, fontSize, intent, fontWeight, style, testID, }: SectionHeadingProps) => ReactElement;
39
+ export default SectionHeading;
@@ -0,0 +1,2 @@
1
+ declare const AnimatedSpinner: () => JSX.Element;
2
+ export { AnimatedSpinner };
@@ -0,0 +1,30 @@
1
+ import { View, ViewProps } from 'react-native';
2
+ declare const StyledView: import("@emotion/native").StyledComponent<ViewProps & {
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ }, {}, {
6
+ ref?: import("react").Ref<View> | undefined;
7
+ }>;
8
+ declare const StyledSpinnerContainer: import("@emotion/native").StyledComponent<ViewProps & {
9
+ theme?: import("@emotion/react").Theme | undefined;
10
+ as?: import("react").ElementType<any> | undefined;
11
+ }, {}, {
12
+ ref?: import("react").Ref<View> | undefined;
13
+ }>;
14
+ declare const StyledSpinnerRow: import("@emotion/native").StyledComponent<ViewProps & {
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ as?: import("react").ElementType<any> | undefined;
17
+ } & {
18
+ themePosition: 'top' | 'bottom';
19
+ }, {}, {
20
+ ref?: import("react").Ref<View> | undefined;
21
+ }>;
22
+ declare const StyledSpinnerDot: import("@emotion/native").StyledComponent<ViewProps & {
23
+ theme?: import("@emotion/react").Theme | undefined;
24
+ as?: import("react").ElementType<any> | undefined;
25
+ } & {
26
+ themePosition: 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
27
+ }, {}, {
28
+ ref?: import("react").Ref<View> | undefined;
29
+ }>;
30
+ export { StyledView, StyledSpinnerContainer, StyledSpinnerRow, StyledSpinnerDot, };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ import { ReactElement } from 'react';
2
+ import { ViewProps } from 'react-native';
3
+ interface SpinnerProps extends ViewProps {
4
+ /**
5
+ * Testing id of the component.
6
+ */
7
+ testID?: string;
8
+ }
9
+ declare const Spinner: ({ testID, ...nativeProps }: SpinnerProps) => ReactElement;
10
+ export default Spinner;
@@ -0,0 +1,8 @@
1
+ import { Animated } from 'react-native';
2
+ declare const ActiveTabIndicator: ({ scrollOffsetAnimatedValue, positionAnimatedValue, tabsLength, tabsWidth, }: {
3
+ scrollOffsetAnimatedValue: Animated.Value;
4
+ positionAnimatedValue: Animated.Value;
5
+ tabsLength: number;
6
+ tabsWidth: number;
7
+ }) => JSX.Element;
8
+ export default ActiveTabIndicator;
@@ -1,3 +1,3 @@
1
1
  import { TabsProps } from '.';
2
- declare const ScrollableTab: ({ onTabPress, selectedTabKey, tabs, containerStyle, barStyle, lazy, lazyPreloadDistance, }: Omit<TabsProps, 'variant'>) => JSX.Element;
2
+ declare const ScrollableTab: ({ onTabPress, selectedTabKey, tabs, containerStyle, barStyle, lazy, lazyPreloadDistance, }: TabsProps) => JSX.Element;
3
3
  export default ScrollableTab;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Animated, View } from 'react-native';
3
2
  import PagerView from 'react-native-pager-view';
4
3
  declare const TabScreen: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
@@ -0,0 +1,54 @@
1
+ import { Animated, View } from 'react-native';
2
+ import PagerView from 'react-native-pager-view';
3
+ declare const TabContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any> | undefined;
6
+ }, {}, {
7
+ ref?: import("react").Ref<View> | undefined;
8
+ }>;
9
+ declare const HeaderTabWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
10
+ theme?: import("@emotion/react").Theme | undefined;
11
+ as?: import("react").ElementType<any> | undefined;
12
+ } & {
13
+ themeInsets: {
14
+ top: number;
15
+ right: number;
16
+ bottom: number;
17
+ left: number;
18
+ };
19
+ }, {}, {
20
+ ref?: import("react").Ref<View> | undefined;
21
+ }>;
22
+ declare const HeaderTab: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
23
+ theme?: import("@emotion/react").Theme | undefined;
24
+ as?: import("react").ElementType<any> | undefined;
25
+ }, {}, {
26
+ ref?: import("react").Ref<View> | undefined;
27
+ }>;
28
+ declare const HeaderTabItem: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
29
+ theme?: import("@emotion/react").Theme | undefined;
30
+ as?: import("react").ElementType<any> | undefined;
31
+ }, {}, {
32
+ ref?: import("react").Ref<View> | undefined;
33
+ }>;
34
+ declare const ContentWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native-pager-view").PagerViewProps & import("react").RefAttributes<PagerView>> & {
35
+ children?: import("react").ReactNode;
36
+ } & {
37
+ theme?: import("@emotion/react").Theme | undefined;
38
+ as?: import("react").ElementType<any> | undefined;
39
+ }, {}, {}>;
40
+ declare const TabScreen: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
41
+ theme?: import("@emotion/react").Theme | undefined;
42
+ as?: import("react").ElementType<any> | undefined;
43
+ }, {}, {
44
+ ref?: import("react").Ref<View> | undefined;
45
+ }>;
46
+ declare const StyledIndicator: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
47
+ children?: import("react").ReactNode;
48
+ } & {
49
+ theme?: import("@emotion/react").Theme | undefined;
50
+ as?: import("react").ElementType<any> | undefined;
51
+ } & {
52
+ themeWidth: number;
53
+ }, {}, {}>;
54
+ export { TabContainer, HeaderTabWrapper, HeaderTab, HeaderTabItem, ContentWrapper, TabScreen, StyledIndicator, };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,54 @@
1
+ import { ReactNode } from 'react';
2
+ import { StyleProp, ViewStyle, ViewProps } from 'react-native';
3
+ import { IconName } from '../Icon';
4
+ export declare type ItemType = string | IconName | ((props: {
5
+ color: string;
6
+ }) => ReactNode);
7
+ export declare type TabType = {
8
+ key: string;
9
+ activeItem: ItemType;
10
+ inactiveItem?: ItemType;
11
+ component: ReactNode;
12
+ testID?: string;
13
+ showBadge?: boolean;
14
+ };
15
+ export interface TabsProps extends ViewProps {
16
+ /**
17
+ * Callback which is called on tab press, receiving key of upcoming active Tab.
18
+ */
19
+ onTabPress: (key: string) => void;
20
+ /**
21
+ * Current selected tab key.
22
+ */
23
+ selectedTabKey: string;
24
+ /**
25
+ * List of Tabs to be rendered. Each Tab must have an unique key.
26
+ */
27
+ tabs: TabType[];
28
+ /**
29
+ * Style for the container of Tab.
30
+ */
31
+ containerStyle?: StyleProp<ViewStyle>;
32
+ /**
33
+ * Style for the tab navigation bar.
34
+ */
35
+ barStyle?: StyleProp<ViewStyle>;
36
+ /**
37
+ * Whether inactive screen should be removed and unmounted in React.
38
+ * Defaults value is `false`.
39
+ */
40
+ lazy?: boolean;
41
+ /**
42
+ * Only work when lazy is `true`. You can specify how many adjacent screens should be preloaded.
43
+ * Defaults value is `1`.
44
+ */
45
+ lazyPreloadDistance?: number;
46
+ /**
47
+ * Testing id of the component.
48
+ */
49
+ testID?: string;
50
+ }
51
+ declare const _default: (({ onTabPress, selectedTabKey, tabs, containerStyle, barStyle, lazy, lazyPreloadDistance, }: TabsProps) => JSX.Element) & {
52
+ Scroll: ({ onTabPress, selectedTabKey, tabs, containerStyle, barStyle, lazy, lazyPreloadDistance, }: TabsProps) => JSX.Element;
53
+ };
54
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { Animated } from 'react-native';
2
+ export declare const useAnimatedValueArray: (initialValues: number[]) => Animated.Value[];
@@ -0,0 +1,19 @@
1
+ import { View, Text } from 'react-native';
2
+ declare type ThemeIntent = 'success' | 'warning' | 'danger' | 'info';
3
+ declare const StyledView: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any> | undefined;
6
+ } & {
7
+ themeIntent: ThemeIntent;
8
+ }, {}, {
9
+ ref?: import("react").Ref<View> | undefined;
10
+ }>;
11
+ declare const StyledText: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
12
+ theme?: import("@emotion/react").Theme | undefined;
13
+ as?: import("react").ElementType<any> | undefined;
14
+ } & {
15
+ themeIntent: ThemeIntent;
16
+ }, {}, {
17
+ ref?: import("react").Ref<Text> | undefined;
18
+ }>;
19
+ export { StyledView, StyledText };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,21 @@
1
+ import { StyleProp, ViewStyle, ViewProps } from 'react-native';
2
+ interface TagProps extends ViewProps {
3
+ /**
4
+ * Content of the Tag.
5
+ */
6
+ content: string;
7
+ /**
8
+ * Visual intent color to apply to Tag.
9
+ */
10
+ intent?: 'success' | 'warning' | 'danger' | 'info';
11
+ /**
12
+ * Additional style.
13
+ */
14
+ style?: StyleProp<ViewStyle>;
15
+ /**
16
+ * Testing id of the component.
17
+ */
18
+ testID?: string;
19
+ }
20
+ declare const Tag: ({ content, intent, style, testID, ...nativeProps }: TagProps) => JSX.Element;
21
+ export default Tag;
@@ -0,0 +1,22 @@
1
+ import { TextInput, View } from 'react-native';
2
+ declare const Container: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ }, {}, {
6
+ ref?: import("react").Ref<View> | undefined;
7
+ }>;
8
+ declare const Label: import("@emotion/native").StyledComponent<import("../Typography/Text").TextProps & {
9
+ theme?: import("@emotion/react").Theme | undefined;
10
+ as?: import("react").ElementType<any> | undefined;
11
+ }, {}, {}>;
12
+ declare const Prefix: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
13
+ theme?: import("@emotion/react").Theme | undefined;
14
+ as?: import("react").ElementType<any> | undefined;
15
+ }, {}, {}>;
16
+ declare const StyledTextInput: import("@emotion/native").StyledComponent<import("react-native").TextInputProps & {
17
+ theme?: import("@emotion/react").Theme | undefined;
18
+ as?: import("react").ElementType<any> | undefined;
19
+ }, {}, {
20
+ ref?: import("react").Ref<TextInput> | undefined;
21
+ }>;
22
+ export { Container, Label, Prefix, StyledTextInput };
@@ -0,0 +1,26 @@
1
+ import { TextInputProps as NativeTextInputProps, StyleProp, ViewStyle } from 'react-native';
2
+ import { IconName } from '../Icon';
3
+ interface TextInputProps extends NativeTextInputProps {
4
+ /**
5
+ * Field label.
6
+ */
7
+ label?: string;
8
+ /**
9
+ * Name of Icon to render on the left side of the input, before the user's cursor.
10
+ */
11
+ prefix?: IconName;
12
+ /**
13
+ * Additional style.
14
+ */
15
+ style?: StyleProp<ViewStyle>;
16
+ /**
17
+ * Testing id of the component.
18
+ */
19
+ testID?: string;
20
+ /**
21
+ * Accessibility lable for the input (Android).
22
+ */
23
+ accessibilityLabelledBy?: string;
24
+ }
25
+ declare const TextInput: ({ label, prefix, style, testID, accessibilityLabelledBy, ...nativeProps }: TextInputProps) => JSX.Element;
26
+ export default TextInput;
@@ -0,0 +1,12 @@
1
+ import { Text } from 'react-native';
2
+ declare const StyledText: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ } & {
6
+ themeFontSize: 'small' | 'medium' | 'large' | 'xlarge';
7
+ themeFontWeight: 'light' | 'regular' | 'semi-bold';
8
+ themeIntent: 'body' | 'subdued' | 'primary';
9
+ }, {}, {
10
+ ref?: import("react").Ref<Text> | undefined;
11
+ }>;
12
+ export { StyledText };