everkit-ui 0.1.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 (703) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +99 -0
  3. package/dist/commonjs/components/ActionSheet.js +67 -0
  4. package/dist/commonjs/components/ActionSheet.js.map +1 -0
  5. package/dist/commonjs/components/AnimatedEllipsis.js +92 -0
  6. package/dist/commonjs/components/AnimatedEllipsis.js.map +1 -0
  7. package/dist/commonjs/components/AnimatedPressable.js +63 -0
  8. package/dist/commonjs/components/AnimatedPressable.js.map +1 -0
  9. package/dist/commonjs/components/AppErrorBoundary.js +94 -0
  10. package/dist/commonjs/components/AppErrorBoundary.js.map +1 -0
  11. package/dist/commonjs/components/AppImage.js +83 -0
  12. package/dist/commonjs/components/AppImage.js.map +1 -0
  13. package/dist/commonjs/components/AuthFormScreen.js +96 -0
  14. package/dist/commonjs/components/AuthFormScreen.js.map +1 -0
  15. package/dist/commonjs/components/Avatar.js +155 -0
  16. package/dist/commonjs/components/Avatar.js.map +1 -0
  17. package/dist/commonjs/components/BotChatBubble.js +129 -0
  18. package/dist/commonjs/components/BotChatBubble.js.map +1 -0
  19. package/dist/commonjs/components/BottomActionSheet.js +90 -0
  20. package/dist/commonjs/components/BottomActionSheet.js.map +1 -0
  21. package/dist/commonjs/components/Button.js +163 -0
  22. package/dist/commonjs/components/Button.js.map +1 -0
  23. package/dist/commonjs/components/Card.js +104 -0
  24. package/dist/commonjs/components/Card.js.map +1 -0
  25. package/dist/commonjs/components/Carousel.js +59 -0
  26. package/dist/commonjs/components/Carousel.js.map +1 -0
  27. package/dist/commonjs/components/ChatInputBar.js +105 -0
  28. package/dist/commonjs/components/ChatInputBar.js.map +1 -0
  29. package/dist/commonjs/components/ChatScreen.js +203 -0
  30. package/dist/commonjs/components/ChatScreen.js.map +1 -0
  31. package/dist/commonjs/components/Chip.js +68 -0
  32. package/dist/commonjs/components/Chip.js.map +1 -0
  33. package/dist/commonjs/components/ChipSelector.js +126 -0
  34. package/dist/commonjs/components/ChipSelector.js.map +1 -0
  35. package/dist/commonjs/components/CircularProgress.js +128 -0
  36. package/dist/commonjs/components/CircularProgress.js.map +1 -0
  37. package/dist/commonjs/components/ConfirmDialog.js +139 -0
  38. package/dist/commonjs/components/ConfirmDialog.js.map +1 -0
  39. package/dist/commonjs/components/DateField.js +144 -0
  40. package/dist/commonjs/components/DateField.js.map +1 -0
  41. package/dist/commonjs/components/DetailHeader.js +32 -0
  42. package/dist/commonjs/components/DetailHeader.js.map +1 -0
  43. package/dist/commonjs/components/DetailScreen.js +88 -0
  44. package/dist/commonjs/components/DetailScreen.js.map +1 -0
  45. package/dist/commonjs/components/EmptyState.js +128 -0
  46. package/dist/commonjs/components/EmptyState.js.map +1 -0
  47. package/dist/commonjs/components/ErrorBoundary.js +87 -0
  48. package/dist/commonjs/components/ErrorBoundary.js.map +1 -0
  49. package/dist/commonjs/components/ErrorState.js +77 -0
  50. package/dist/commonjs/components/ErrorState.js.map +1 -0
  51. package/dist/commonjs/components/Fab.js +73 -0
  52. package/dist/commonjs/components/Fab.js.map +1 -0
  53. package/dist/commonjs/components/FabMenu.js +199 -0
  54. package/dist/commonjs/components/FabMenu.js.map +1 -0
  55. package/dist/commonjs/components/FavoriteButton.js +47 -0
  56. package/dist/commonjs/components/FavoriteButton.js.map +1 -0
  57. package/dist/commonjs/components/FollowStatsRow.js +84 -0
  58. package/dist/commonjs/components/FollowStatsRow.js.map +1 -0
  59. package/dist/commonjs/components/FormScreen.js +102 -0
  60. package/dist/commonjs/components/FormScreen.js.map +1 -0
  61. package/dist/commonjs/components/FormattedText.js +58 -0
  62. package/dist/commonjs/components/FormattedText.js.map +1 -0
  63. package/dist/commonjs/components/GoogleGlyph.js +44 -0
  64. package/dist/commonjs/components/GoogleGlyph.js.map +1 -0
  65. package/dist/commonjs/components/Gradient.js +59 -0
  66. package/dist/commonjs/components/Gradient.js.map +1 -0
  67. package/dist/commonjs/components/HeroStatsRow.js +46 -0
  68. package/dist/commonjs/components/HeroStatsRow.js.map +1 -0
  69. package/dist/commonjs/components/Input.js +163 -0
  70. package/dist/commonjs/components/Input.js.map +1 -0
  71. package/dist/commonjs/components/KeyboardAware.js +41 -0
  72. package/dist/commonjs/components/KeyboardAware.js.map +1 -0
  73. package/dist/commonjs/components/KeyboardScrollView.js +150 -0
  74. package/dist/commonjs/components/KeyboardScrollView.js.map +1 -0
  75. package/dist/commonjs/components/LegalBulletList.js +55 -0
  76. package/dist/commonjs/components/LegalBulletList.js.map +1 -0
  77. package/dist/commonjs/components/LegalSection.js +87 -0
  78. package/dist/commonjs/components/LegalSection.js.map +1 -0
  79. package/dist/commonjs/components/LikeButton.js +103 -0
  80. package/dist/commonjs/components/LikeButton.js.map +1 -0
  81. package/dist/commonjs/components/LoadingScreen.js +38 -0
  82. package/dist/commonjs/components/LoadingScreen.js.map +1 -0
  83. package/dist/commonjs/components/NotesCard.js +48 -0
  84. package/dist/commonjs/components/NotesCard.js.map +1 -0
  85. package/dist/commonjs/components/OnboardingSlide.js +73 -0
  86. package/dist/commonjs/components/OnboardingSlide.js.map +1 -0
  87. package/dist/commonjs/components/PhotoPicker.js +133 -0
  88. package/dist/commonjs/components/PhotoPicker.js.map +1 -0
  89. package/dist/commonjs/components/PhotoStrip.js +66 -0
  90. package/dist/commonjs/components/PhotoStrip.js.map +1 -0
  91. package/dist/commonjs/components/PhotoViewer.js +124 -0
  92. package/dist/commonjs/components/PhotoViewer.js.map +1 -0
  93. package/dist/commonjs/components/ProgressBar.js +108 -0
  94. package/dist/commonjs/components/ProgressBar.js.map +1 -0
  95. package/dist/commonjs/components/ScreenGradient.js +68 -0
  96. package/dist/commonjs/components/ScreenGradient.js.map +1 -0
  97. package/dist/commonjs/components/ScreenHeader.js +98 -0
  98. package/dist/commonjs/components/ScreenHeader.js.map +1 -0
  99. package/dist/commonjs/components/SearchInput.js +122 -0
  100. package/dist/commonjs/components/SearchInput.js.map +1 -0
  101. package/dist/commonjs/components/SelectionSheet.js +243 -0
  102. package/dist/commonjs/components/SelectionSheet.js.map +1 -0
  103. package/dist/commonjs/components/SettingsRow.js +125 -0
  104. package/dist/commonjs/components/SettingsRow.js.map +1 -0
  105. package/dist/commonjs/components/SettingsSection.js +45 -0
  106. package/dist/commonjs/components/SettingsSection.js.map +1 -0
  107. package/dist/commonjs/components/Skeleton.js +131 -0
  108. package/dist/commonjs/components/Skeleton.js.map +1 -0
  109. package/dist/commonjs/components/Spinner.js +41 -0
  110. package/dist/commonjs/components/Spinner.js.map +1 -0
  111. package/dist/commonjs/components/StarRating.js +87 -0
  112. package/dist/commonjs/components/StarRating.js.map +1 -0
  113. package/dist/commonjs/components/StatTile.js +63 -0
  114. package/dist/commonjs/components/StatTile.js.map +1 -0
  115. package/dist/commonjs/components/StepDots.js +121 -0
  116. package/dist/commonjs/components/StepDots.js.map +1 -0
  117. package/dist/commonjs/components/StickyBottomBar.js +44 -0
  118. package/dist/commonjs/components/StickyBottomBar.js.map +1 -0
  119. package/dist/commonjs/components/TabPillGroup.js +88 -0
  120. package/dist/commonjs/components/TabPillGroup.js.map +1 -0
  121. package/dist/commonjs/components/Text.js +175 -0
  122. package/dist/commonjs/components/Text.js.map +1 -0
  123. package/dist/commonjs/components/Toast.js +162 -0
  124. package/dist/commonjs/components/Toast.js.map +1 -0
  125. package/dist/commonjs/components/ToggleRow.js +121 -0
  126. package/dist/commonjs/components/ToggleRow.js.map +1 -0
  127. package/dist/commonjs/components/TypingIndicator.js +96 -0
  128. package/dist/commonjs/components/TypingIndicator.js.map +1 -0
  129. package/dist/commonjs/components/UserChatBubble.js +68 -0
  130. package/dist/commonjs/components/UserChatBubble.js.map +1 -0
  131. package/dist/commonjs/index.js +506 -0
  132. package/dist/commonjs/index.js.map +1 -0
  133. package/dist/commonjs/internal/appImageProps.js +44 -0
  134. package/dist/commonjs/internal/appImageProps.js.map +1 -0
  135. package/dist/commonjs/internal/avatarFallback.js +103 -0
  136. package/dist/commonjs/internal/avatarFallback.js.map +1 -0
  137. package/dist/commonjs/internal/chipStyle.js +89 -0
  138. package/dist/commonjs/internal/chipStyle.js.map +1 -0
  139. package/dist/commonjs/internal/detailScreenState.js +31 -0
  140. package/dist/commonjs/internal/detailScreenState.js.map +1 -0
  141. package/dist/commonjs/internal/haptics.js +50 -0
  142. package/dist/commonjs/internal/haptics.js.map +1 -0
  143. package/dist/commonjs/internal/hexToRgba.js +28 -0
  144. package/dist/commonjs/internal/hexToRgba.js.map +1 -0
  145. package/dist/commonjs/internal/inputStyle.js +52 -0
  146. package/dist/commonjs/internal/inputStyle.js.map +1 -0
  147. package/dist/commonjs/internal/keyboardAwareProps.js +38 -0
  148. package/dist/commonjs/internal/keyboardAwareProps.js.map +1 -0
  149. package/dist/commonjs/internal/keyboardScrollViewProps.js +66 -0
  150. package/dist/commonjs/internal/keyboardScrollViewProps.js.map +1 -0
  151. package/dist/commonjs/internal/overlay.js +36 -0
  152. package/dist/commonjs/internal/overlay.js.map +1 -0
  153. package/dist/commonjs/internal/parseInlineMarkdown.js +118 -0
  154. package/dist/commonjs/internal/parseInlineMarkdown.js.map +1 -0
  155. package/dist/commonjs/internal/refCounter.js +33 -0
  156. package/dist/commonjs/internal/refCounter.js.map +1 -0
  157. package/dist/commonjs/internal/resolveGradient.js +86 -0
  158. package/dist/commonjs/internal/resolveGradient.js.map +1 -0
  159. package/dist/commonjs/internal/spinnerProps.js +41 -0
  160. package/dist/commonjs/internal/spinnerProps.js.map +1 -0
  161. package/dist/commonjs/internal/springs.js +44 -0
  162. package/dist/commonjs/internal/springs.js.map +1 -0
  163. package/dist/commonjs/internal/stickyBottomBarStyle.js +51 -0
  164. package/dist/commonjs/internal/stickyBottomBarStyle.js.map +1 -0
  165. package/dist/commonjs/package.json +1 -0
  166. package/dist/commonjs/preset.js +44 -0
  167. package/dist/commonjs/preset.js.map +1 -0
  168. package/dist/commonjs/theme/ThemeProvider.js +59 -0
  169. package/dist/commonjs/theme/ThemeProvider.js.map +1 -0
  170. package/dist/commonjs/theme/geometry.js +95 -0
  171. package/dist/commonjs/theme/geometry.js.map +1 -0
  172. package/dist/commonjs/theme/index.js +44 -0
  173. package/dist/commonjs/theme/index.js.map +1 -0
  174. package/dist/commonjs/theme/scale.js +45 -0
  175. package/dist/commonjs/theme/scale.js.map +1 -0
  176. package/dist/commonjs/theme/types.js +6 -0
  177. package/dist/commonjs/theme/types.js.map +1 -0
  178. package/dist/module/components/ActionSheet.js +63 -0
  179. package/dist/module/components/ActionSheet.js.map +1 -0
  180. package/dist/module/components/AnimatedEllipsis.js +87 -0
  181. package/dist/module/components/AnimatedEllipsis.js.map +1 -0
  182. package/dist/module/components/AnimatedPressable.js +58 -0
  183. package/dist/module/components/AnimatedPressable.js.map +1 -0
  184. package/dist/module/components/AppErrorBoundary.js +88 -0
  185. package/dist/module/components/AppErrorBoundary.js.map +1 -0
  186. package/dist/module/components/AppImage.js +80 -0
  187. package/dist/module/components/AppImage.js.map +1 -0
  188. package/dist/module/components/AuthFormScreen.js +92 -0
  189. package/dist/module/components/AuthFormScreen.js.map +1 -0
  190. package/dist/module/components/Avatar.js +151 -0
  191. package/dist/module/components/Avatar.js.map +1 -0
  192. package/dist/module/components/BotChatBubble.js +124 -0
  193. package/dist/module/components/BotChatBubble.js.map +1 -0
  194. package/dist/module/components/BottomActionSheet.js +86 -0
  195. package/dist/module/components/BottomActionSheet.js.map +1 -0
  196. package/dist/module/components/Button.js +158 -0
  197. package/dist/module/components/Button.js.map +1 -0
  198. package/dist/module/components/Card.js +98 -0
  199. package/dist/module/components/Card.js.map +1 -0
  200. package/dist/module/components/Carousel.js +55 -0
  201. package/dist/module/components/Carousel.js.map +1 -0
  202. package/dist/module/components/ChatInputBar.js +101 -0
  203. package/dist/module/components/ChatInputBar.js.map +1 -0
  204. package/dist/module/components/ChatScreen.js +198 -0
  205. package/dist/module/components/ChatScreen.js.map +1 -0
  206. package/dist/module/components/Chip.js +63 -0
  207. package/dist/module/components/Chip.js.map +1 -0
  208. package/dist/module/components/ChipSelector.js +122 -0
  209. package/dist/module/components/ChipSelector.js.map +1 -0
  210. package/dist/module/components/CircularProgress.js +123 -0
  211. package/dist/module/components/CircularProgress.js.map +1 -0
  212. package/dist/module/components/ConfirmDialog.js +135 -0
  213. package/dist/module/components/ConfirmDialog.js.map +1 -0
  214. package/dist/module/components/DateField.js +141 -0
  215. package/dist/module/components/DateField.js.map +1 -0
  216. package/dist/module/components/DetailHeader.js +28 -0
  217. package/dist/module/components/DetailHeader.js.map +1 -0
  218. package/dist/module/components/DetailScreen.js +84 -0
  219. package/dist/module/components/DetailScreen.js.map +1 -0
  220. package/dist/module/components/EmptyState.js +125 -0
  221. package/dist/module/components/EmptyState.js.map +1 -0
  222. package/dist/module/components/ErrorBoundary.js +81 -0
  223. package/dist/module/components/ErrorBoundary.js.map +1 -0
  224. package/dist/module/components/ErrorState.js +73 -0
  225. package/dist/module/components/ErrorState.js.map +1 -0
  226. package/dist/module/components/Fab.js +68 -0
  227. package/dist/module/components/Fab.js.map +1 -0
  228. package/dist/module/components/FabMenu.js +194 -0
  229. package/dist/module/components/FabMenu.js.map +1 -0
  230. package/dist/module/components/FavoriteButton.js +42 -0
  231. package/dist/module/components/FavoriteButton.js.map +1 -0
  232. package/dist/module/components/FollowStatsRow.js +80 -0
  233. package/dist/module/components/FollowStatsRow.js.map +1 -0
  234. package/dist/module/components/FormScreen.js +98 -0
  235. package/dist/module/components/FormScreen.js.map +1 -0
  236. package/dist/module/components/FormattedText.js +54 -0
  237. package/dist/module/components/FormattedText.js.map +1 -0
  238. package/dist/module/components/GoogleGlyph.js +39 -0
  239. package/dist/module/components/GoogleGlyph.js.map +1 -0
  240. package/dist/module/components/Gradient.js +55 -0
  241. package/dist/module/components/Gradient.js.map +1 -0
  242. package/dist/module/components/HeroStatsRow.js +42 -0
  243. package/dist/module/components/HeroStatsRow.js.map +1 -0
  244. package/dist/module/components/Input.js +159 -0
  245. package/dist/module/components/Input.js.map +1 -0
  246. package/dist/module/components/KeyboardAware.js +37 -0
  247. package/dist/module/components/KeyboardAware.js.map +1 -0
  248. package/dist/module/components/KeyboardScrollView.js +146 -0
  249. package/dist/module/components/KeyboardScrollView.js.map +1 -0
  250. package/dist/module/components/LegalBulletList.js +51 -0
  251. package/dist/module/components/LegalBulletList.js.map +1 -0
  252. package/dist/module/components/LegalSection.js +83 -0
  253. package/dist/module/components/LegalSection.js.map +1 -0
  254. package/dist/module/components/LikeButton.js +100 -0
  255. package/dist/module/components/LikeButton.js.map +1 -0
  256. package/dist/module/components/LoadingScreen.js +34 -0
  257. package/dist/module/components/LoadingScreen.js.map +1 -0
  258. package/dist/module/components/NotesCard.js +44 -0
  259. package/dist/module/components/NotesCard.js.map +1 -0
  260. package/dist/module/components/OnboardingSlide.js +69 -0
  261. package/dist/module/components/OnboardingSlide.js.map +1 -0
  262. package/dist/module/components/PhotoPicker.js +129 -0
  263. package/dist/module/components/PhotoPicker.js.map +1 -0
  264. package/dist/module/components/PhotoStrip.js +62 -0
  265. package/dist/module/components/PhotoStrip.js.map +1 -0
  266. package/dist/module/components/PhotoViewer.js +121 -0
  267. package/dist/module/components/PhotoViewer.js.map +1 -0
  268. package/dist/module/components/ProgressBar.js +103 -0
  269. package/dist/module/components/ProgressBar.js.map +1 -0
  270. package/dist/module/components/ScreenGradient.js +64 -0
  271. package/dist/module/components/ScreenGradient.js.map +1 -0
  272. package/dist/module/components/ScreenHeader.js +94 -0
  273. package/dist/module/components/ScreenHeader.js.map +1 -0
  274. package/dist/module/components/SearchInput.js +118 -0
  275. package/dist/module/components/SearchInput.js.map +1 -0
  276. package/dist/module/components/SelectionSheet.js +239 -0
  277. package/dist/module/components/SelectionSheet.js.map +1 -0
  278. package/dist/module/components/SettingsRow.js +121 -0
  279. package/dist/module/components/SettingsRow.js.map +1 -0
  280. package/dist/module/components/SettingsSection.js +41 -0
  281. package/dist/module/components/SettingsSection.js.map +1 -0
  282. package/dist/module/components/Skeleton.js +126 -0
  283. package/dist/module/components/Skeleton.js.map +1 -0
  284. package/dist/module/components/Spinner.js +37 -0
  285. package/dist/module/components/Spinner.js.map +1 -0
  286. package/dist/module/components/StarRating.js +83 -0
  287. package/dist/module/components/StarRating.js.map +1 -0
  288. package/dist/module/components/StatTile.js +59 -0
  289. package/dist/module/components/StatTile.js.map +1 -0
  290. package/dist/module/components/StepDots.js +117 -0
  291. package/dist/module/components/StepDots.js.map +1 -0
  292. package/dist/module/components/StickyBottomBar.js +40 -0
  293. package/dist/module/components/StickyBottomBar.js.map +1 -0
  294. package/dist/module/components/TabPillGroup.js +84 -0
  295. package/dist/module/components/TabPillGroup.js.map +1 -0
  296. package/dist/module/components/Text.js +171 -0
  297. package/dist/module/components/Text.js.map +1 -0
  298. package/dist/module/components/Toast.js +157 -0
  299. package/dist/module/components/Toast.js.map +1 -0
  300. package/dist/module/components/ToggleRow.js +117 -0
  301. package/dist/module/components/ToggleRow.js.map +1 -0
  302. package/dist/module/components/TypingIndicator.js +91 -0
  303. package/dist/module/components/TypingIndicator.js.map +1 -0
  304. package/dist/module/components/UserChatBubble.js +63 -0
  305. package/dist/module/components/UserChatBubble.js.map +1 -0
  306. package/dist/module/index.js +112 -0
  307. package/dist/module/index.js.map +1 -0
  308. package/dist/module/internal/appImageProps.js +40 -0
  309. package/dist/module/internal/appImageProps.js.map +1 -0
  310. package/dist/module/internal/avatarFallback.js +97 -0
  311. package/dist/module/internal/avatarFallback.js.map +1 -0
  312. package/dist/module/internal/chipStyle.js +84 -0
  313. package/dist/module/internal/chipStyle.js.map +1 -0
  314. package/dist/module/internal/detailScreenState.js +27 -0
  315. package/dist/module/internal/detailScreenState.js.map +1 -0
  316. package/dist/module/internal/haptics.js +46 -0
  317. package/dist/module/internal/haptics.js.map +1 -0
  318. package/dist/module/internal/hexToRgba.js +24 -0
  319. package/dist/module/internal/hexToRgba.js.map +1 -0
  320. package/dist/module/internal/inputStyle.js +48 -0
  321. package/dist/module/internal/inputStyle.js.map +1 -0
  322. package/dist/module/internal/keyboardAwareProps.js +34 -0
  323. package/dist/module/internal/keyboardAwareProps.js.map +1 -0
  324. package/dist/module/internal/keyboardScrollViewProps.js +60 -0
  325. package/dist/module/internal/keyboardScrollViewProps.js.map +1 -0
  326. package/dist/module/internal/overlay.js +32 -0
  327. package/dist/module/internal/overlay.js.map +1 -0
  328. package/dist/module/internal/parseInlineMarkdown.js +114 -0
  329. package/dist/module/internal/parseInlineMarkdown.js.map +1 -0
  330. package/dist/module/internal/refCounter.js +29 -0
  331. package/dist/module/internal/refCounter.js.map +1 -0
  332. package/dist/module/internal/resolveGradient.js +82 -0
  333. package/dist/module/internal/resolveGradient.js.map +1 -0
  334. package/dist/module/internal/spinnerProps.js +37 -0
  335. package/dist/module/internal/spinnerProps.js.map +1 -0
  336. package/dist/module/internal/springs.js +40 -0
  337. package/dist/module/internal/springs.js.map +1 -0
  338. package/dist/module/internal/stickyBottomBarStyle.js +47 -0
  339. package/dist/module/internal/stickyBottomBarStyle.js.map +1 -0
  340. package/dist/module/package.json +1 -0
  341. package/dist/module/preset.js +44 -0
  342. package/dist/module/preset.js.map +1 -0
  343. package/dist/module/theme/ThemeProvider.js +51 -0
  344. package/dist/module/theme/ThemeProvider.js.map +1 -0
  345. package/dist/module/theme/geometry.js +91 -0
  346. package/dist/module/theme/geometry.js.map +1 -0
  347. package/dist/module/theme/index.js +5 -0
  348. package/dist/module/theme/index.js.map +1 -0
  349. package/dist/module/theme/scale.js +41 -0
  350. package/dist/module/theme/scale.js.map +1 -0
  351. package/dist/module/theme/types.js +4 -0
  352. package/dist/module/theme/types.js.map +1 -0
  353. package/dist/typescript/commonjs/package.json +1 -0
  354. package/dist/typescript/commonjs/src/components/ActionSheet.d.ts +29 -0
  355. package/dist/typescript/commonjs/src/components/ActionSheet.d.ts.map +1 -0
  356. package/dist/typescript/commonjs/src/components/AnimatedEllipsis.d.ts +22 -0
  357. package/dist/typescript/commonjs/src/components/AnimatedEllipsis.d.ts.map +1 -0
  358. package/dist/typescript/commonjs/src/components/AnimatedPressable.d.ts +34 -0
  359. package/dist/typescript/commonjs/src/components/AnimatedPressable.d.ts.map +1 -0
  360. package/dist/typescript/commonjs/src/components/AppErrorBoundary.d.ts +42 -0
  361. package/dist/typescript/commonjs/src/components/AppErrorBoundary.d.ts.map +1 -0
  362. package/dist/typescript/commonjs/src/components/AppImage.d.ts +38 -0
  363. package/dist/typescript/commonjs/src/components/AppImage.d.ts.map +1 -0
  364. package/dist/typescript/commonjs/src/components/AuthFormScreen.d.ts +46 -0
  365. package/dist/typescript/commonjs/src/components/AuthFormScreen.d.ts.map +1 -0
  366. package/dist/typescript/commonjs/src/components/Avatar.d.ts +64 -0
  367. package/dist/typescript/commonjs/src/components/Avatar.d.ts.map +1 -0
  368. package/dist/typescript/commonjs/src/components/BotChatBubble.d.ts +42 -0
  369. package/dist/typescript/commonjs/src/components/BotChatBubble.d.ts.map +1 -0
  370. package/dist/typescript/commonjs/src/components/BottomActionSheet.d.ts +45 -0
  371. package/dist/typescript/commonjs/src/components/BottomActionSheet.d.ts.map +1 -0
  372. package/dist/typescript/commonjs/src/components/Button.d.ts +31 -0
  373. package/dist/typescript/commonjs/src/components/Button.d.ts.map +1 -0
  374. package/dist/typescript/commonjs/src/components/Card.d.ts +49 -0
  375. package/dist/typescript/commonjs/src/components/Card.d.ts.map +1 -0
  376. package/dist/typescript/commonjs/src/components/Carousel.d.ts +45 -0
  377. package/dist/typescript/commonjs/src/components/Carousel.d.ts.map +1 -0
  378. package/dist/typescript/commonjs/src/components/ChatInputBar.d.ts +28 -0
  379. package/dist/typescript/commonjs/src/components/ChatInputBar.d.ts.map +1 -0
  380. package/dist/typescript/commonjs/src/components/ChatScreen.d.ts +79 -0
  381. package/dist/typescript/commonjs/src/components/ChatScreen.d.ts.map +1 -0
  382. package/dist/typescript/commonjs/src/components/Chip.d.ts +36 -0
  383. package/dist/typescript/commonjs/src/components/Chip.d.ts.map +1 -0
  384. package/dist/typescript/commonjs/src/components/ChipSelector.d.ts +51 -0
  385. package/dist/typescript/commonjs/src/components/ChipSelector.d.ts.map +1 -0
  386. package/dist/typescript/commonjs/src/components/CircularProgress.d.ts +47 -0
  387. package/dist/typescript/commonjs/src/components/CircularProgress.d.ts.map +1 -0
  388. package/dist/typescript/commonjs/src/components/ConfirmDialog.d.ts +50 -0
  389. package/dist/typescript/commonjs/src/components/ConfirmDialog.d.ts.map +1 -0
  390. package/dist/typescript/commonjs/src/components/DateField.d.ts +26 -0
  391. package/dist/typescript/commonjs/src/components/DateField.d.ts.map +1 -0
  392. package/dist/typescript/commonjs/src/components/DetailHeader.d.ts +28 -0
  393. package/dist/typescript/commonjs/src/components/DetailHeader.d.ts.map +1 -0
  394. package/dist/typescript/commonjs/src/components/DetailScreen.d.ts +55 -0
  395. package/dist/typescript/commonjs/src/components/DetailScreen.d.ts.map +1 -0
  396. package/dist/typescript/commonjs/src/components/EmptyState.d.ts +33 -0
  397. package/dist/typescript/commonjs/src/components/EmptyState.d.ts.map +1 -0
  398. package/dist/typescript/commonjs/src/components/ErrorBoundary.d.ts +36 -0
  399. package/dist/typescript/commonjs/src/components/ErrorBoundary.d.ts.map +1 -0
  400. package/dist/typescript/commonjs/src/components/ErrorState.d.ts +23 -0
  401. package/dist/typescript/commonjs/src/components/ErrorState.d.ts.map +1 -0
  402. package/dist/typescript/commonjs/src/components/Fab.d.ts +32 -0
  403. package/dist/typescript/commonjs/src/components/Fab.d.ts.map +1 -0
  404. package/dist/typescript/commonjs/src/components/FabMenu.d.ts +48 -0
  405. package/dist/typescript/commonjs/src/components/FabMenu.d.ts.map +1 -0
  406. package/dist/typescript/commonjs/src/components/FavoriteButton.d.ts +27 -0
  407. package/dist/typescript/commonjs/src/components/FavoriteButton.d.ts.map +1 -0
  408. package/dist/typescript/commonjs/src/components/FollowStatsRow.d.ts +30 -0
  409. package/dist/typescript/commonjs/src/components/FollowStatsRow.d.ts.map +1 -0
  410. package/dist/typescript/commonjs/src/components/FormScreen.d.ts +53 -0
  411. package/dist/typescript/commonjs/src/components/FormScreen.d.ts.map +1 -0
  412. package/dist/typescript/commonjs/src/components/FormattedText.d.ts +30 -0
  413. package/dist/typescript/commonjs/src/components/FormattedText.d.ts.map +1 -0
  414. package/dist/typescript/commonjs/src/components/GoogleGlyph.d.ts +18 -0
  415. package/dist/typescript/commonjs/src/components/GoogleGlyph.d.ts.map +1 -0
  416. package/dist/typescript/commonjs/src/components/Gradient.d.ts +36 -0
  417. package/dist/typescript/commonjs/src/components/Gradient.d.ts.map +1 -0
  418. package/dist/typescript/commonjs/src/components/HeroStatsRow.d.ts +23 -0
  419. package/dist/typescript/commonjs/src/components/HeroStatsRow.d.ts.map +1 -0
  420. package/dist/typescript/commonjs/src/components/Input.d.ts +50 -0
  421. package/dist/typescript/commonjs/src/components/Input.d.ts.map +1 -0
  422. package/dist/typescript/commonjs/src/components/KeyboardAware.d.ts +27 -0
  423. package/dist/typescript/commonjs/src/components/KeyboardAware.d.ts.map +1 -0
  424. package/dist/typescript/commonjs/src/components/KeyboardScrollView.d.ts +61 -0
  425. package/dist/typescript/commonjs/src/components/KeyboardScrollView.d.ts.map +1 -0
  426. package/dist/typescript/commonjs/src/components/LegalBulletList.d.ts +24 -0
  427. package/dist/typescript/commonjs/src/components/LegalBulletList.d.ts.map +1 -0
  428. package/dist/typescript/commonjs/src/components/LegalSection.d.ts +34 -0
  429. package/dist/typescript/commonjs/src/components/LegalSection.d.ts.map +1 -0
  430. package/dist/typescript/commonjs/src/components/LikeButton.d.ts +37 -0
  431. package/dist/typescript/commonjs/src/components/LikeButton.d.ts.map +1 -0
  432. package/dist/typescript/commonjs/src/components/LoadingScreen.d.ts +17 -0
  433. package/dist/typescript/commonjs/src/components/LoadingScreen.d.ts.map +1 -0
  434. package/dist/typescript/commonjs/src/components/NotesCard.d.ts +17 -0
  435. package/dist/typescript/commonjs/src/components/NotesCard.d.ts.map +1 -0
  436. package/dist/typescript/commonjs/src/components/OnboardingSlide.d.ts +31 -0
  437. package/dist/typescript/commonjs/src/components/OnboardingSlide.d.ts.map +1 -0
  438. package/dist/typescript/commonjs/src/components/PhotoPicker.d.ts +37 -0
  439. package/dist/typescript/commonjs/src/components/PhotoPicker.d.ts.map +1 -0
  440. package/dist/typescript/commonjs/src/components/PhotoStrip.d.ts +32 -0
  441. package/dist/typescript/commonjs/src/components/PhotoStrip.d.ts.map +1 -0
  442. package/dist/typescript/commonjs/src/components/PhotoViewer.d.ts +35 -0
  443. package/dist/typescript/commonjs/src/components/PhotoViewer.d.ts.map +1 -0
  444. package/dist/typescript/commonjs/src/components/ProgressBar.d.ts +43 -0
  445. package/dist/typescript/commonjs/src/components/ProgressBar.d.ts.map +1 -0
  446. package/dist/typescript/commonjs/src/components/ScreenGradient.d.ts +25 -0
  447. package/dist/typescript/commonjs/src/components/ScreenGradient.d.ts.map +1 -0
  448. package/dist/typescript/commonjs/src/components/ScreenHeader.d.ts +48 -0
  449. package/dist/typescript/commonjs/src/components/ScreenHeader.d.ts.map +1 -0
  450. package/dist/typescript/commonjs/src/components/SearchInput.d.ts +30 -0
  451. package/dist/typescript/commonjs/src/components/SearchInput.d.ts.map +1 -0
  452. package/dist/typescript/commonjs/src/components/SelectionSheet.d.ts +54 -0
  453. package/dist/typescript/commonjs/src/components/SelectionSheet.d.ts.map +1 -0
  454. package/dist/typescript/commonjs/src/components/SettingsRow.d.ts +52 -0
  455. package/dist/typescript/commonjs/src/components/SettingsRow.d.ts.map +1 -0
  456. package/dist/typescript/commonjs/src/components/SettingsSection.d.ts +24 -0
  457. package/dist/typescript/commonjs/src/components/SettingsSection.d.ts.map +1 -0
  458. package/dist/typescript/commonjs/src/components/Skeleton.d.ts +31 -0
  459. package/dist/typescript/commonjs/src/components/Skeleton.d.ts.map +1 -0
  460. package/dist/typescript/commonjs/src/components/Spinner.d.ts +23 -0
  461. package/dist/typescript/commonjs/src/components/Spinner.d.ts.map +1 -0
  462. package/dist/typescript/commonjs/src/components/StarRating.d.ts +30 -0
  463. package/dist/typescript/commonjs/src/components/StarRating.d.ts.map +1 -0
  464. package/dist/typescript/commonjs/src/components/StatTile.d.ts +33 -0
  465. package/dist/typescript/commonjs/src/components/StatTile.d.ts.map +1 -0
  466. package/dist/typescript/commonjs/src/components/StepDots.d.ts +61 -0
  467. package/dist/typescript/commonjs/src/components/StepDots.d.ts.map +1 -0
  468. package/dist/typescript/commonjs/src/components/StickyBottomBar.d.ts +28 -0
  469. package/dist/typescript/commonjs/src/components/StickyBottomBar.d.ts.map +1 -0
  470. package/dist/typescript/commonjs/src/components/TabPillGroup.d.ts +33 -0
  471. package/dist/typescript/commonjs/src/components/TabPillGroup.d.ts.map +1 -0
  472. package/dist/typescript/commonjs/src/components/Text.d.ts +34 -0
  473. package/dist/typescript/commonjs/src/components/Text.d.ts.map +1 -0
  474. package/dist/typescript/commonjs/src/components/Toast.d.ts +33 -0
  475. package/dist/typescript/commonjs/src/components/Toast.d.ts.map +1 -0
  476. package/dist/typescript/commonjs/src/components/ToggleRow.d.ts +37 -0
  477. package/dist/typescript/commonjs/src/components/ToggleRow.d.ts.map +1 -0
  478. package/dist/typescript/commonjs/src/components/TypingIndicator.d.ts +22 -0
  479. package/dist/typescript/commonjs/src/components/TypingIndicator.d.ts.map +1 -0
  480. package/dist/typescript/commonjs/src/components/UserChatBubble.d.ts +34 -0
  481. package/dist/typescript/commonjs/src/components/UserChatBubble.d.ts.map +1 -0
  482. package/dist/typescript/commonjs/src/index.d.ts +69 -0
  483. package/dist/typescript/commonjs/src/index.d.ts.map +1 -0
  484. package/dist/typescript/commonjs/src/internal/appImageProps.d.ts +39 -0
  485. package/dist/typescript/commonjs/src/internal/appImageProps.d.ts.map +1 -0
  486. package/dist/typescript/commonjs/src/internal/avatarFallback.d.ts +45 -0
  487. package/dist/typescript/commonjs/src/internal/avatarFallback.d.ts.map +1 -0
  488. package/dist/typescript/commonjs/src/internal/chipStyle.d.ts +53 -0
  489. package/dist/typescript/commonjs/src/internal/chipStyle.d.ts.map +1 -0
  490. package/dist/typescript/commonjs/src/internal/detailScreenState.d.ts +25 -0
  491. package/dist/typescript/commonjs/src/internal/detailScreenState.d.ts.map +1 -0
  492. package/dist/typescript/commonjs/src/internal/haptics.d.ts +19 -0
  493. package/dist/typescript/commonjs/src/internal/haptics.d.ts.map +1 -0
  494. package/dist/typescript/commonjs/src/internal/hexToRgba.d.ts +17 -0
  495. package/dist/typescript/commonjs/src/internal/hexToRgba.d.ts.map +1 -0
  496. package/dist/typescript/commonjs/src/internal/inputStyle.d.ts +30 -0
  497. package/dist/typescript/commonjs/src/internal/inputStyle.d.ts.map +1 -0
  498. package/dist/typescript/commonjs/src/internal/keyboardAwareProps.d.ts +37 -0
  499. package/dist/typescript/commonjs/src/internal/keyboardAwareProps.d.ts.map +1 -0
  500. package/dist/typescript/commonjs/src/internal/keyboardScrollViewProps.d.ts +67 -0
  501. package/dist/typescript/commonjs/src/internal/keyboardScrollViewProps.d.ts.map +1 -0
  502. package/dist/typescript/commonjs/src/internal/overlay.d.ts +24 -0
  503. package/dist/typescript/commonjs/src/internal/overlay.d.ts.map +1 -0
  504. package/dist/typescript/commonjs/src/internal/parseInlineMarkdown.d.ts +28 -0
  505. package/dist/typescript/commonjs/src/internal/parseInlineMarkdown.d.ts.map +1 -0
  506. package/dist/typescript/commonjs/src/internal/refCounter.d.ts +17 -0
  507. package/dist/typescript/commonjs/src/internal/refCounter.d.ts.map +1 -0
  508. package/dist/typescript/commonjs/src/internal/resolveGradient.d.ts +57 -0
  509. package/dist/typescript/commonjs/src/internal/resolveGradient.d.ts.map +1 -0
  510. package/dist/typescript/commonjs/src/internal/spinnerProps.d.ts +27 -0
  511. package/dist/typescript/commonjs/src/internal/spinnerProps.d.ts.map +1 -0
  512. package/dist/typescript/commonjs/src/internal/springs.d.ts +37 -0
  513. package/dist/typescript/commonjs/src/internal/springs.d.ts.map +1 -0
  514. package/dist/typescript/commonjs/src/internal/stickyBottomBarStyle.d.ts +36 -0
  515. package/dist/typescript/commonjs/src/internal/stickyBottomBarStyle.d.ts.map +1 -0
  516. package/dist/typescript/commonjs/src/preset.d.ts +3 -0
  517. package/dist/typescript/commonjs/src/preset.d.ts.map +1 -0
  518. package/dist/typescript/commonjs/src/theme/ThemeProvider.d.ts +17 -0
  519. package/dist/typescript/commonjs/src/theme/ThemeProvider.d.ts.map +1 -0
  520. package/dist/typescript/commonjs/src/theme/geometry.d.ts +18 -0
  521. package/dist/typescript/commonjs/src/theme/geometry.d.ts.map +1 -0
  522. package/dist/typescript/commonjs/src/theme/index.d.ts +4 -0
  523. package/dist/typescript/commonjs/src/theme/index.d.ts.map +1 -0
  524. package/dist/typescript/commonjs/src/theme/scale.d.ts +41 -0
  525. package/dist/typescript/commonjs/src/theme/scale.d.ts.map +1 -0
  526. package/dist/typescript/commonjs/src/theme/types.d.ts +67 -0
  527. package/dist/typescript/commonjs/src/theme/types.d.ts.map +1 -0
  528. package/dist/typescript/module/package.json +1 -0
  529. package/dist/typescript/module/src/components/ActionSheet.d.ts +29 -0
  530. package/dist/typescript/module/src/components/ActionSheet.d.ts.map +1 -0
  531. package/dist/typescript/module/src/components/AnimatedEllipsis.d.ts +22 -0
  532. package/dist/typescript/module/src/components/AnimatedEllipsis.d.ts.map +1 -0
  533. package/dist/typescript/module/src/components/AnimatedPressable.d.ts +34 -0
  534. package/dist/typescript/module/src/components/AnimatedPressable.d.ts.map +1 -0
  535. package/dist/typescript/module/src/components/AppErrorBoundary.d.ts +42 -0
  536. package/dist/typescript/module/src/components/AppErrorBoundary.d.ts.map +1 -0
  537. package/dist/typescript/module/src/components/AppImage.d.ts +38 -0
  538. package/dist/typescript/module/src/components/AppImage.d.ts.map +1 -0
  539. package/dist/typescript/module/src/components/AuthFormScreen.d.ts +46 -0
  540. package/dist/typescript/module/src/components/AuthFormScreen.d.ts.map +1 -0
  541. package/dist/typescript/module/src/components/Avatar.d.ts +64 -0
  542. package/dist/typescript/module/src/components/Avatar.d.ts.map +1 -0
  543. package/dist/typescript/module/src/components/BotChatBubble.d.ts +42 -0
  544. package/dist/typescript/module/src/components/BotChatBubble.d.ts.map +1 -0
  545. package/dist/typescript/module/src/components/BottomActionSheet.d.ts +45 -0
  546. package/dist/typescript/module/src/components/BottomActionSheet.d.ts.map +1 -0
  547. package/dist/typescript/module/src/components/Button.d.ts +31 -0
  548. package/dist/typescript/module/src/components/Button.d.ts.map +1 -0
  549. package/dist/typescript/module/src/components/Card.d.ts +49 -0
  550. package/dist/typescript/module/src/components/Card.d.ts.map +1 -0
  551. package/dist/typescript/module/src/components/Carousel.d.ts +45 -0
  552. package/dist/typescript/module/src/components/Carousel.d.ts.map +1 -0
  553. package/dist/typescript/module/src/components/ChatInputBar.d.ts +28 -0
  554. package/dist/typescript/module/src/components/ChatInputBar.d.ts.map +1 -0
  555. package/dist/typescript/module/src/components/ChatScreen.d.ts +79 -0
  556. package/dist/typescript/module/src/components/ChatScreen.d.ts.map +1 -0
  557. package/dist/typescript/module/src/components/Chip.d.ts +36 -0
  558. package/dist/typescript/module/src/components/Chip.d.ts.map +1 -0
  559. package/dist/typescript/module/src/components/ChipSelector.d.ts +51 -0
  560. package/dist/typescript/module/src/components/ChipSelector.d.ts.map +1 -0
  561. package/dist/typescript/module/src/components/CircularProgress.d.ts +47 -0
  562. package/dist/typescript/module/src/components/CircularProgress.d.ts.map +1 -0
  563. package/dist/typescript/module/src/components/ConfirmDialog.d.ts +50 -0
  564. package/dist/typescript/module/src/components/ConfirmDialog.d.ts.map +1 -0
  565. package/dist/typescript/module/src/components/DateField.d.ts +26 -0
  566. package/dist/typescript/module/src/components/DateField.d.ts.map +1 -0
  567. package/dist/typescript/module/src/components/DetailHeader.d.ts +28 -0
  568. package/dist/typescript/module/src/components/DetailHeader.d.ts.map +1 -0
  569. package/dist/typescript/module/src/components/DetailScreen.d.ts +55 -0
  570. package/dist/typescript/module/src/components/DetailScreen.d.ts.map +1 -0
  571. package/dist/typescript/module/src/components/EmptyState.d.ts +33 -0
  572. package/dist/typescript/module/src/components/EmptyState.d.ts.map +1 -0
  573. package/dist/typescript/module/src/components/ErrorBoundary.d.ts +36 -0
  574. package/dist/typescript/module/src/components/ErrorBoundary.d.ts.map +1 -0
  575. package/dist/typescript/module/src/components/ErrorState.d.ts +23 -0
  576. package/dist/typescript/module/src/components/ErrorState.d.ts.map +1 -0
  577. package/dist/typescript/module/src/components/Fab.d.ts +32 -0
  578. package/dist/typescript/module/src/components/Fab.d.ts.map +1 -0
  579. package/dist/typescript/module/src/components/FabMenu.d.ts +48 -0
  580. package/dist/typescript/module/src/components/FabMenu.d.ts.map +1 -0
  581. package/dist/typescript/module/src/components/FavoriteButton.d.ts +27 -0
  582. package/dist/typescript/module/src/components/FavoriteButton.d.ts.map +1 -0
  583. package/dist/typescript/module/src/components/FollowStatsRow.d.ts +30 -0
  584. package/dist/typescript/module/src/components/FollowStatsRow.d.ts.map +1 -0
  585. package/dist/typescript/module/src/components/FormScreen.d.ts +53 -0
  586. package/dist/typescript/module/src/components/FormScreen.d.ts.map +1 -0
  587. package/dist/typescript/module/src/components/FormattedText.d.ts +30 -0
  588. package/dist/typescript/module/src/components/FormattedText.d.ts.map +1 -0
  589. package/dist/typescript/module/src/components/GoogleGlyph.d.ts +18 -0
  590. package/dist/typescript/module/src/components/GoogleGlyph.d.ts.map +1 -0
  591. package/dist/typescript/module/src/components/Gradient.d.ts +36 -0
  592. package/dist/typescript/module/src/components/Gradient.d.ts.map +1 -0
  593. package/dist/typescript/module/src/components/HeroStatsRow.d.ts +23 -0
  594. package/dist/typescript/module/src/components/HeroStatsRow.d.ts.map +1 -0
  595. package/dist/typescript/module/src/components/Input.d.ts +50 -0
  596. package/dist/typescript/module/src/components/Input.d.ts.map +1 -0
  597. package/dist/typescript/module/src/components/KeyboardAware.d.ts +27 -0
  598. package/dist/typescript/module/src/components/KeyboardAware.d.ts.map +1 -0
  599. package/dist/typescript/module/src/components/KeyboardScrollView.d.ts +61 -0
  600. package/dist/typescript/module/src/components/KeyboardScrollView.d.ts.map +1 -0
  601. package/dist/typescript/module/src/components/LegalBulletList.d.ts +24 -0
  602. package/dist/typescript/module/src/components/LegalBulletList.d.ts.map +1 -0
  603. package/dist/typescript/module/src/components/LegalSection.d.ts +34 -0
  604. package/dist/typescript/module/src/components/LegalSection.d.ts.map +1 -0
  605. package/dist/typescript/module/src/components/LikeButton.d.ts +37 -0
  606. package/dist/typescript/module/src/components/LikeButton.d.ts.map +1 -0
  607. package/dist/typescript/module/src/components/LoadingScreen.d.ts +17 -0
  608. package/dist/typescript/module/src/components/LoadingScreen.d.ts.map +1 -0
  609. package/dist/typescript/module/src/components/NotesCard.d.ts +17 -0
  610. package/dist/typescript/module/src/components/NotesCard.d.ts.map +1 -0
  611. package/dist/typescript/module/src/components/OnboardingSlide.d.ts +31 -0
  612. package/dist/typescript/module/src/components/OnboardingSlide.d.ts.map +1 -0
  613. package/dist/typescript/module/src/components/PhotoPicker.d.ts +37 -0
  614. package/dist/typescript/module/src/components/PhotoPicker.d.ts.map +1 -0
  615. package/dist/typescript/module/src/components/PhotoStrip.d.ts +32 -0
  616. package/dist/typescript/module/src/components/PhotoStrip.d.ts.map +1 -0
  617. package/dist/typescript/module/src/components/PhotoViewer.d.ts +35 -0
  618. package/dist/typescript/module/src/components/PhotoViewer.d.ts.map +1 -0
  619. package/dist/typescript/module/src/components/ProgressBar.d.ts +43 -0
  620. package/dist/typescript/module/src/components/ProgressBar.d.ts.map +1 -0
  621. package/dist/typescript/module/src/components/ScreenGradient.d.ts +25 -0
  622. package/dist/typescript/module/src/components/ScreenGradient.d.ts.map +1 -0
  623. package/dist/typescript/module/src/components/ScreenHeader.d.ts +48 -0
  624. package/dist/typescript/module/src/components/ScreenHeader.d.ts.map +1 -0
  625. package/dist/typescript/module/src/components/SearchInput.d.ts +30 -0
  626. package/dist/typescript/module/src/components/SearchInput.d.ts.map +1 -0
  627. package/dist/typescript/module/src/components/SelectionSheet.d.ts +54 -0
  628. package/dist/typescript/module/src/components/SelectionSheet.d.ts.map +1 -0
  629. package/dist/typescript/module/src/components/SettingsRow.d.ts +52 -0
  630. package/dist/typescript/module/src/components/SettingsRow.d.ts.map +1 -0
  631. package/dist/typescript/module/src/components/SettingsSection.d.ts +24 -0
  632. package/dist/typescript/module/src/components/SettingsSection.d.ts.map +1 -0
  633. package/dist/typescript/module/src/components/Skeleton.d.ts +31 -0
  634. package/dist/typescript/module/src/components/Skeleton.d.ts.map +1 -0
  635. package/dist/typescript/module/src/components/Spinner.d.ts +23 -0
  636. package/dist/typescript/module/src/components/Spinner.d.ts.map +1 -0
  637. package/dist/typescript/module/src/components/StarRating.d.ts +30 -0
  638. package/dist/typescript/module/src/components/StarRating.d.ts.map +1 -0
  639. package/dist/typescript/module/src/components/StatTile.d.ts +33 -0
  640. package/dist/typescript/module/src/components/StatTile.d.ts.map +1 -0
  641. package/dist/typescript/module/src/components/StepDots.d.ts +61 -0
  642. package/dist/typescript/module/src/components/StepDots.d.ts.map +1 -0
  643. package/dist/typescript/module/src/components/StickyBottomBar.d.ts +28 -0
  644. package/dist/typescript/module/src/components/StickyBottomBar.d.ts.map +1 -0
  645. package/dist/typescript/module/src/components/TabPillGroup.d.ts +33 -0
  646. package/dist/typescript/module/src/components/TabPillGroup.d.ts.map +1 -0
  647. package/dist/typescript/module/src/components/Text.d.ts +34 -0
  648. package/dist/typescript/module/src/components/Text.d.ts.map +1 -0
  649. package/dist/typescript/module/src/components/Toast.d.ts +33 -0
  650. package/dist/typescript/module/src/components/Toast.d.ts.map +1 -0
  651. package/dist/typescript/module/src/components/ToggleRow.d.ts +37 -0
  652. package/dist/typescript/module/src/components/ToggleRow.d.ts.map +1 -0
  653. package/dist/typescript/module/src/components/TypingIndicator.d.ts +22 -0
  654. package/dist/typescript/module/src/components/TypingIndicator.d.ts.map +1 -0
  655. package/dist/typescript/module/src/components/UserChatBubble.d.ts +34 -0
  656. package/dist/typescript/module/src/components/UserChatBubble.d.ts.map +1 -0
  657. package/dist/typescript/module/src/index.d.ts +69 -0
  658. package/dist/typescript/module/src/index.d.ts.map +1 -0
  659. package/dist/typescript/module/src/internal/appImageProps.d.ts +39 -0
  660. package/dist/typescript/module/src/internal/appImageProps.d.ts.map +1 -0
  661. package/dist/typescript/module/src/internal/avatarFallback.d.ts +45 -0
  662. package/dist/typescript/module/src/internal/avatarFallback.d.ts.map +1 -0
  663. package/dist/typescript/module/src/internal/chipStyle.d.ts +53 -0
  664. package/dist/typescript/module/src/internal/chipStyle.d.ts.map +1 -0
  665. package/dist/typescript/module/src/internal/detailScreenState.d.ts +25 -0
  666. package/dist/typescript/module/src/internal/detailScreenState.d.ts.map +1 -0
  667. package/dist/typescript/module/src/internal/haptics.d.ts +19 -0
  668. package/dist/typescript/module/src/internal/haptics.d.ts.map +1 -0
  669. package/dist/typescript/module/src/internal/hexToRgba.d.ts +17 -0
  670. package/dist/typescript/module/src/internal/hexToRgba.d.ts.map +1 -0
  671. package/dist/typescript/module/src/internal/inputStyle.d.ts +30 -0
  672. package/dist/typescript/module/src/internal/inputStyle.d.ts.map +1 -0
  673. package/dist/typescript/module/src/internal/keyboardAwareProps.d.ts +37 -0
  674. package/dist/typescript/module/src/internal/keyboardAwareProps.d.ts.map +1 -0
  675. package/dist/typescript/module/src/internal/keyboardScrollViewProps.d.ts +67 -0
  676. package/dist/typescript/module/src/internal/keyboardScrollViewProps.d.ts.map +1 -0
  677. package/dist/typescript/module/src/internal/overlay.d.ts +24 -0
  678. package/dist/typescript/module/src/internal/overlay.d.ts.map +1 -0
  679. package/dist/typescript/module/src/internal/parseInlineMarkdown.d.ts +28 -0
  680. package/dist/typescript/module/src/internal/parseInlineMarkdown.d.ts.map +1 -0
  681. package/dist/typescript/module/src/internal/refCounter.d.ts +17 -0
  682. package/dist/typescript/module/src/internal/refCounter.d.ts.map +1 -0
  683. package/dist/typescript/module/src/internal/resolveGradient.d.ts +57 -0
  684. package/dist/typescript/module/src/internal/resolveGradient.d.ts.map +1 -0
  685. package/dist/typescript/module/src/internal/spinnerProps.d.ts +27 -0
  686. package/dist/typescript/module/src/internal/spinnerProps.d.ts.map +1 -0
  687. package/dist/typescript/module/src/internal/springs.d.ts +37 -0
  688. package/dist/typescript/module/src/internal/springs.d.ts.map +1 -0
  689. package/dist/typescript/module/src/internal/stickyBottomBarStyle.d.ts +36 -0
  690. package/dist/typescript/module/src/internal/stickyBottomBarStyle.d.ts.map +1 -0
  691. package/dist/typescript/module/src/preset.d.ts +3 -0
  692. package/dist/typescript/module/src/preset.d.ts.map +1 -0
  693. package/dist/typescript/module/src/theme/ThemeProvider.d.ts +17 -0
  694. package/dist/typescript/module/src/theme/ThemeProvider.d.ts.map +1 -0
  695. package/dist/typescript/module/src/theme/geometry.d.ts +18 -0
  696. package/dist/typescript/module/src/theme/geometry.d.ts.map +1 -0
  697. package/dist/typescript/module/src/theme/index.d.ts +4 -0
  698. package/dist/typescript/module/src/theme/index.d.ts.map +1 -0
  699. package/dist/typescript/module/src/theme/scale.d.ts +41 -0
  700. package/dist/typescript/module/src/theme/scale.d.ts.map +1 -0
  701. package/dist/typescript/module/src/theme/types.d.ts +67 -0
  702. package/dist/typescript/module/src/theme/types.d.ts.map +1 -0
  703. package/package.json +180 -0
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Pure helper that turns a GENERIC `<Gradient/>` variant into the raw
5
+ * `expo-linear-gradient` props (`colors`, `start`, `end`, `locations`).
6
+ *
7
+ * Keeping the logic outside the React component makes it cheap to unit-test
8
+ * under `node:test` without a renderer.
9
+ *
10
+ * GENERIC ONLY. The pilot consumer (tea-companion) layered domain variants on
11
+ * top of this (`'hero'`, `'tea-type'`, `'share'`) that read per-app palettes
12
+ * (`colors.tea.*`, brand-invariant share stops); those stay per app. Here we
13
+ * ship only the three theme-routed variants any app can use:
14
+ *
15
+ * screen — the full-screen tinted background (`colors.gradient.screen`).
16
+ * card — a subtle card tint (`bg.card` → `bg.secondary`).
17
+ * fade — a bottom-up scrim over a photo (`transparent` → theme ink wash).
18
+ *
19
+ * Every colour is read from the injected {@link ThemeColors} — no hardcoded hex.
20
+ * The `fade` scrim is DERIVED from `colors.text.primary` via {@link scrimColor}
21
+ * so the library carries no literal `rgba(...)` value. For one-off needs, pass an
22
+ * explicit `colors` array — that overrides the variant's stops.
23
+ */
24
+
25
+ import { scrimColor } from "./overlay.js";
26
+ /** Vertical top to bottom — used by screen, card, fade variants. */
27
+ const VERTICAL = {
28
+ start: {
29
+ x: 0,
30
+ y: 0
31
+ },
32
+ end: {
33
+ x: 0,
34
+ y: 1
35
+ }
36
+ };
37
+
38
+ /**
39
+ * Map a {@link GradientInput} to the raw props `expo-linear-gradient` needs.
40
+ *
41
+ * The theme palette is passed in (rather than read from a React hook) so the
42
+ * function stays pure and trivially testable.
43
+ */
44
+ export function resolveGradient(input, colors) {
45
+ // With no named variant the caller supplies raw `colors`; default the
46
+ // geometry to vertical and leave the stops to the escape hatch below.
47
+ const base = input.variant ? variantDefaults(input.variant, colors) : {
48
+ colors: [],
49
+ start: VERTICAL.start,
50
+ end: VERTICAL.end
51
+ };
52
+ return {
53
+ colors: input.colors ? [...input.colors] : base.colors,
54
+ start: input.start ?? base.start,
55
+ end: input.end ?? base.end,
56
+ locations: input.locations ? [...input.locations] : base.locations
57
+ };
58
+ }
59
+ function variantDefaults(variant, colors) {
60
+ switch (variant) {
61
+ case 'screen':
62
+ return {
63
+ colors: [...colors.gradient.screen],
64
+ ...VERTICAL,
65
+ locations: [0, 0.6, 1]
66
+ };
67
+ case 'card':
68
+ return {
69
+ colors: [colors.bg.card, colors.bg.secondary],
70
+ ...VERTICAL
71
+ };
72
+ case 'fade':
73
+ // Bottom-up darkening scrim, derived from the theme's ink so no literal
74
+ // rgba is introduced. `rgba(…,0)` endpoint (alpha 0) avoids iOS's black
75
+ // fringe that plain `'transparent'` produces in gradients.
76
+ return {
77
+ colors: [scrimColor(colors.text.primary, 0), scrimColor(colors.text.primary, 0.55)],
78
+ ...VERTICAL
79
+ };
80
+ }
81
+ }
82
+ //# sourceMappingURL=resolveGradient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["scrimColor","VERTICAL","start","x","y","end","resolveGradient","input","colors","base","variant","variantDefaults","locations","gradient","screen","bg","card","secondary","text","primary"],"sourceRoot":"../../../src","sources":["internal/resolveGradient.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA,SAASA,UAAU,QAAQ,cAAW;AAiCtC;AACA,MAAMC,QAAQ,GAAG;EACfC,KAAK,EAAE;IAAEC,CAAC,EAAE,CAAC;IAAEC,CAAC,EAAE;EAAE,CAAkB;EACtCC,GAAG,EAAE;IAAEF,CAAC,EAAE,CAAC;IAAEC,CAAC,EAAE;EAAE;AACpB,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,eAAeA,CAACC,KAAoB,EAAEC,MAAmB,EAAoB;EAC3F;EACA;EACA,MAAMC,IAAI,GAAGF,KAAK,CAACG,OAAO,GACtBC,eAAe,CAACJ,KAAK,CAACG,OAAO,EAAEF,MAAM,CAAC,GACtC;IAAEA,MAAM,EAAE,EAAc;IAAEN,KAAK,EAAED,QAAQ,CAACC,KAAK;IAAEG,GAAG,EAAEJ,QAAQ,CAACI;EAAI,CAAC;EACxE,OAAO;IACLG,MAAM,EAAED,KAAK,CAACC,MAAM,GAAG,CAAC,GAAGD,KAAK,CAACC,MAAM,CAAC,GAAGC,IAAI,CAACD,MAAM;IACtDN,KAAK,EAAEK,KAAK,CAACL,KAAK,IAAIO,IAAI,CAACP,KAAK;IAChCG,GAAG,EAAEE,KAAK,CAACF,GAAG,IAAII,IAAI,CAACJ,GAAG;IAC1BO,SAAS,EAAEL,KAAK,CAACK,SAAS,GAAG,CAAC,GAAGL,KAAK,CAACK,SAAS,CAAC,GAAGH,IAAI,CAACG;EAC3D,CAAC;AACH;AAEA,SAASD,eAAeA,CAACD,OAAwB,EAAEF,MAAmB,EAAoB;EACxF,QAAQE,OAAO;IACb,KAAK,QAAQ;MACX,OAAO;QACLF,MAAM,EAAE,CAAC,GAAGA,MAAM,CAACK,QAAQ,CAACC,MAAM,CAAC;QACnC,GAAGb,QAAQ;QACXW,SAAS,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC;MACvB,CAAC;IACH,KAAK,MAAM;MACT,OAAO;QACLJ,MAAM,EAAE,CAACA,MAAM,CAACO,EAAE,CAACC,IAAI,EAAER,MAAM,CAACO,EAAE,CAACE,SAAS,CAAC;QAC7C,GAAGhB;MACL,CAAC;IACH,KAAK,MAAM;MACT;MACA;MACA;MACA,OAAO;QACLO,MAAM,EAAE,CAACR,UAAU,CAACQ,MAAM,CAACU,IAAI,CAACC,OAAO,EAAE,CAAC,CAAC,EAAEnB,UAAU,CAACQ,MAAM,CAACU,IAAI,CAACC,OAAO,EAAE,IAAI,CAAC,CAAC;QACnF,GAAGlB;MACL,CAAC;EACL;AACF","ignoreList":[]}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Pure prop-resolution for `<Spinner/>` — the size + transform mapping, kept out
5
+ * of the JSX wrapper so it is unit-testable without a React renderer.
6
+ *
7
+ * Lifted verbatim from the pilot consumers (espresso-dialin / tea-companion);
8
+ * the table is byte-identical in both. Pure + theme-free — it carries sizing
9
+ * only, no colors or fonts.
10
+ *
11
+ * sm — small marks, buttons, badges (RN `'small'`, no scale)
12
+ * md — content-area placeholders, list footers (RN `'small'` scaled 1.25×)
13
+ * lg — overlays and "verifying…" style screens (RN `'large'`)
14
+ */
15
+
16
+ /** What we pass through to RN's `<ActivityIndicator/>`. */
17
+
18
+ export function resolveSpinnerProps(size = 'md') {
19
+ switch (size) {
20
+ case 'sm':
21
+ return {
22
+ size: 'small'
23
+ };
24
+ case 'md':
25
+ return {
26
+ size: 'small',
27
+ transform: [{
28
+ scale: 1.25
29
+ }]
30
+ };
31
+ case 'lg':
32
+ return {
33
+ size: 'large'
34
+ };
35
+ }
36
+ }
37
+ //# sourceMappingURL=spinnerProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["resolveSpinnerProps","size","transform","scale"],"sourceRoot":"../../../src","sources":["internal/spinnerProps.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAMA;;AAaA,OAAO,SAASA,mBAAmBA,CAACC,IAAiB,GAAG,IAAI,EAAwB;EAClF,QAAQA,IAAI;IACV,KAAK,IAAI;MACP,OAAO;QAAEA,IAAI,EAAE;MAAQ,CAAC;IAC1B,KAAK,IAAI;MACP,OAAO;QAAEA,IAAI,EAAE,OAAO;QAAEC,SAAS,EAAE,CAAC;UAAEC,KAAK,EAAE;QAAK,CAAC;MAAE,CAAC;IACxD,KAAK,IAAI;MACP,OAAO;QAAEF,IAAI,EAAE;MAAQ,CAAC;EAC5B;AACF","ignoreList":[]}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Centralized motion presets for `react-native-reanimated` — spring configs for
5
+ * `withSpring` ({@link SPRINGS}) and timing configs for `withTiming`
6
+ * ({@link TIMINGS}).
7
+ *
8
+ * pressed.value = withSpring(1, SPRINGS.press)
9
+ * opacity.value = withTiming(0, TIMINGS.toastExit)
10
+ *
11
+ * Lifted verbatim from the pilot consumers (espresso-dialin / tea-companion)
12
+ * so every component's motion is byte-identical. Pure + theme-free — it carries
13
+ * motion physics only, no colors or fonts.
14
+ *
15
+ * Reanimated spring docs:
16
+ * https://docs.swmansion.com/react-native-reanimated/docs/animations/withSpring
17
+ */
18
+ export const SPRINGS = {
19
+ /** Snappy press-feedback used by tap scale: Button, Card. `{15, 300, 0.8}`. */
20
+ press: {
21
+ damping: 15,
22
+ stiffness: 300,
23
+ mass: 0.8
24
+ },
25
+ /** Gentle enter used by the Toast slide+fade. `{20, 150, 1.0}`. */
26
+ toastEnter: {
27
+ damping: 20,
28
+ stiffness: 150,
29
+ mass: 1.0
30
+ }
31
+ };
32
+
33
+ /** Centralized `withTiming` presets. */
34
+ export const TIMINGS = {
35
+ /** Toast exit (slide up + fade out). `200 ms`. */
36
+ toastExit: {
37
+ duration: 200
38
+ }
39
+ };
40
+ //# sourceMappingURL=springs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["SPRINGS","press","damping","stiffness","mass","toastEnter","TIMINGS","toastExit","duration"],"sourceRoot":"../../../src","sources":["internal/springs.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,OAAO,GAAG;EACrB;EACAC,KAAK,EAAE;IAAEC,OAAO,EAAE,EAAE;IAAEC,SAAS,EAAE,GAAG;IAAEC,IAAI,EAAE;EAAI,CAAC;EACjD;EACAC,UAAU,EAAE;IAAEH,OAAO,EAAE,EAAE;IAAEC,SAAS,EAAE,GAAG;IAAEC,IAAI,EAAE;EAAI;AACvD,CAAU;;AAEV;AACA,OAAO,MAAME,OAAO,GAAG;EACrB;EACAC,SAAS,EAAE;IAAEC,QAAQ,EAAE;EAAI;AAC7B,CAAU","ignoreList":[]}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Pure resolver that builds the `ViewStyle` for `<StickyBottomBar>` — the
5
+ * "fixed bottom CTA" pattern's safe-area inset + top border + background.
6
+ *
7
+ * Lifted from the pilot consumers (espresso-dialin / tea-companion); this is the
8
+ * superset form. Pure + theme-free (colours come in as plain string inputs from
9
+ * the caller's `useColors()`), so it is unit-testable without booting RN.
10
+ *
11
+ * The rules:
12
+ * - `paddingTop` is always `12` — the bar never hugs the scroll body.
13
+ * - `paddingBottom` is `max(insetBottom, 12)` so non-notched devices still get
14
+ * breathing room and notched devices respect the home-bar inset.
15
+ * - A 1px top border in `borderColor` is painted UNLESS `borderless` is set —
16
+ * for bars that already sit under a separator, or float over scroll content
17
+ * with `position: absolute` where a hairline would look odd. When borderless,
18
+ * the width is zeroed (RN paints a hairline whenever `borderTopWidth > 0`
19
+ * even with a `transparent` colour, so we remove the width, not just hide it).
20
+ * - Background is the supplied `bgColor` (typically `colors.bg.primary`).
21
+ * - Caller `style` is merged LAST so callsites can add row/flex/gap rules or
22
+ * override any computed default as an escape hatch.
23
+ */
24
+
25
+ const PADDING_TOP = 12;
26
+ const PADDING_BOTTOM_FLOOR = 12;
27
+ export function resolveStickyBottomBarStyle(input) {
28
+ const base = {
29
+ paddingTop: PADDING_TOP,
30
+ paddingBottom: Math.max(input.insetBottom, PADDING_BOTTOM_FLOOR),
31
+ backgroundColor: input.bgColor
32
+ };
33
+ if (input.borderless) {
34
+ base.borderTopWidth = 0;
35
+ } else {
36
+ base.borderTopWidth = 1;
37
+ base.borderTopColor = input.borderColor;
38
+ }
39
+
40
+ // Spread caller style last — last write wins, so callers can override any
41
+ // computed default (e.g. flexDirection: 'row', custom paddingTop).
42
+ return input.style ? {
43
+ ...base,
44
+ ...input.style
45
+ } : base;
46
+ }
47
+ //# sourceMappingURL=stickyBottomBarStyle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["PADDING_TOP","PADDING_BOTTOM_FLOOR","resolveStickyBottomBarStyle","input","base","paddingTop","paddingBottom","Math","max","insetBottom","backgroundColor","bgColor","borderless","borderTopWidth","borderTopColor","borderColor","style"],"sourceRoot":"../../../src","sources":["internal/stickyBottomBarStyle.ts"],"mappings":";;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAcA,MAAMA,WAAW,GAAG,EAAE;AACtB,MAAMC,oBAAoB,GAAG,EAAE;AAE/B,OAAO,SAASC,2BAA2BA,CAACC,KAAuC,EAAa;EAC9F,MAAMC,IAAe,GAAG;IACtBC,UAAU,EAAEL,WAAW;IACvBM,aAAa,EAAEC,IAAI,CAACC,GAAG,CAACL,KAAK,CAACM,WAAW,EAAER,oBAAoB,CAAC;IAChES,eAAe,EAAEP,KAAK,CAACQ;EACzB,CAAC;EAED,IAAIR,KAAK,CAACS,UAAU,EAAE;IACpBR,IAAI,CAACS,cAAc,GAAG,CAAC;EACzB,CAAC,MAAM;IACLT,IAAI,CAACS,cAAc,GAAG,CAAC;IACvBT,IAAI,CAACU,cAAc,GAAGX,KAAK,CAACY,WAAW;EACzC;;EAEA;EACA;EACA,OAAOZ,KAAK,CAACa,KAAK,GAAG;IAAE,GAAGZ,IAAI;IAAE,GAAGD,KAAK,CAACa;EAAM,CAAC,GAAGZ,IAAI;AACzD","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"type":"module"}
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * everkit-ui Tailwind preset — the LAYOUT half of the design system.
5
+ *
6
+ * Exposes the `-ds` spacing + radii scale (byte-identical across every consumer
7
+ * today) so apps can `presets: [require('everkit-ui/preset')]` and use the same
8
+ * `p-4-ds`, `gap-2-ds`, `rounded-lg-ds` classes the library's components emit.
9
+ *
10
+ * Colors and fonts are intentionally NOT here: per the one styling rule they
11
+ * come inline from the theme (`useColors()` / injected tokens), never from
12
+ * var-backed Tailwind classes.
13
+ *
14
+ * @type {import('tailwindcss').Config}
15
+ */
16
+ module.exports = {
17
+ theme: {
18
+ extend: {
19
+ borderRadius: {
20
+ 'sm-ds': '10px',
21
+ 'md-ds': '14px',
22
+ 'lg-ds': '16px',
23
+ 'xl-ds': '20px',
24
+ '2xl-ds': '28px'
25
+ },
26
+ spacing: {
27
+ '0.5-ds': '2px',
28
+ '1-ds': '4px',
29
+ '1.5-ds': '6px',
30
+ '2-ds': '8px',
31
+ '2.5-ds': '10px',
32
+ '3-ds': '12px',
33
+ '3.5-ds': '14px',
34
+ '4-ds': '16px',
35
+ '5-ds': '20px',
36
+ '6-ds': '24px',
37
+ '8-ds': '32px',
38
+ '10-ds': '40px',
39
+ '12-ds': '48px'
40
+ }
41
+ }
42
+ }
43
+ };
44
+ //# sourceMappingURL=preset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["module","exports","theme","extend","borderRadius","spacing"],"sourceRoot":"../../src","sources":["preset.js"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACAA,MAAM,CAACC,OAAO,GAAG;EACfC,KAAK,EAAE;IACLC,MAAM,EAAE;MACNC,YAAY,EAAE;QACZ,OAAO,EAAE,MAAM;QACf,OAAO,EAAE,MAAM;QACf,OAAO,EAAE,MAAM;QACf,OAAO,EAAE,MAAM;QACf,QAAQ,EAAE;MACZ,CAAC;MACDC,OAAO,EAAE;QACP,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,KAAK;QACf,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,MAAM;QAChB,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,MAAM;QAChB,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,MAAM;QACd,MAAM,EAAE,MAAM;QACd,OAAO,EAAE,MAAM;QACf,OAAO,EAAE;MACX;IACF;EACF;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+
3
+ import { createContext, useContext } from 'react';
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ /**
6
+ * Brand-agnostic theme provider. The consuming app composes a full
7
+ * {@link ThemeTokens} set (colors + typography + shadows) and passes it as
8
+ * `value`. The library never knows about "light"/"dark" or any palette — an app
9
+ * does light/dark (or any number of arbitrary themes) by building several
10
+ * `ThemeTokens` objects and toggling which one is the active `value`. There is
11
+ * deliberately NO store import here; theme selection lives in the app.
12
+ */
13
+
14
+ const ThemeContext = /*#__PURE__*/createContext(null);
15
+ export function ThemeProvider({
16
+ value,
17
+ children
18
+ }) {
19
+ return /*#__PURE__*/_jsx(ThemeContext.Provider, {
20
+ value: value,
21
+ children: children
22
+ });
23
+ }
24
+ function useThemeContext(hook) {
25
+ const ctx = useContext(ThemeContext);
26
+ if (!ctx) {
27
+ throw new Error(`${hook} must be used within <ThemeProvider>`);
28
+ }
29
+ return ctx;
30
+ }
31
+
32
+ /** Full active theme: `{ colors, typography, shadows }`. */
33
+ export function useTheme() {
34
+ return useThemeContext('useTheme');
35
+ }
36
+
37
+ /** The active color palette only. */
38
+ export function useColors() {
39
+ return useThemeContext('useColors').colors;
40
+ }
41
+
42
+ /** The active typography tokens (per-variant font families + optional mono). */
43
+ export function useTypography() {
44
+ return useThemeContext('useTypography').typography;
45
+ }
46
+
47
+ /** The active shadow presets (themed so dark mode can raise elevation opacity). */
48
+ export function useShadows() {
49
+ return useThemeContext('useShadows').shadows;
50
+ }
51
+ //# sourceMappingURL=ThemeProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createContext","useContext","jsx","_jsx","ThemeContext","ThemeProvider","value","children","Provider","useThemeContext","hook","ctx","Error","useTheme","useColors","colors","useTypography","typography","useShadows","shadows"],"sourceRoot":"../../../src","sources":["theme/ThemeProvider.tsx"],"mappings":";;AAAA,SAASA,aAAa,EAAEC,UAAU,QAAwB,OAAO;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAGjE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,MAAMC,YAAY,gBAAGJ,aAAa,CAAqB,IAAI,CAAC;AAQ5D,OAAO,SAASK,aAAaA,CAAC;EAAEC,KAAK;EAAEC;AAA6B,CAAC,EAAE;EACrE,oBAAOJ,IAAA,CAACC,YAAY,CAACI,QAAQ;IAACF,KAAK,EAAEA,KAAM;IAAAC,QAAA,EAAEA;EAAQ,CAAwB,CAAC;AAChF;AAEA,SAASE,eAAeA,CAACC,IAAY,EAAe;EAClD,MAAMC,GAAG,GAAGV,UAAU,CAACG,YAAY,CAAC;EACpC,IAAI,CAACO,GAAG,EAAE;IACR,MAAM,IAAIC,KAAK,CAAC,GAAGF,IAAI,sCAAsC,CAAC;EAChE;EACA,OAAOC,GAAG;AACZ;;AAEA;AACA,OAAO,SAASE,QAAQA,CAAA,EAAgB;EACtC,OAAOJ,eAAe,CAAC,UAAU,CAAC;AACpC;;AAEA;AACA,OAAO,SAASK,SAASA,CAAA,EAAgB;EACvC,OAAOL,eAAe,CAAC,WAAW,CAAC,CAACM,MAAM;AAC5C;;AAEA;AACA,OAAO,SAASC,aAAaA,CAAA,EAAoB;EAC/C,OAAOP,eAAe,CAAC,eAAe,CAAC,CAACQ,UAAU;AACpD;;AAEA;AACA,OAAO,SAASC,UAAUA,CAAA,EAAiB;EACzC,OAAOT,eAAe,CAAC,YAAY,CAAC,CAACU,OAAO;AAC9C","ignoreList":[]}
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * The 14-variant typographic geometry — `fontSize` / `lineHeight` /
5
+ * `letterSpacing`. This table is **byte-identical** across every consumer today
6
+ * (espresso-dialin and tea-companion ship the same numbers; only the per-variant
7
+ * font family differs, and that is injected via `tokens.typography.fontFamily`).
8
+ *
9
+ * It is therefore LIBRARY-OWNED: a constant, not part of the theme. The values
10
+ * are lifted verbatim from each app's `variantClasses` table — e.g.
11
+ * `'display-lg': 'font-* text-[32px] leading-[38px] tracking-[-0.3px]'` becomes
12
+ * `{ fontSize: 32, lineHeight: 38, letterSpacing: -0.3 }`.
13
+ */
14
+ export const VARIANT_GEOMETRY = {
15
+ // Display
16
+ 'display-lg': {
17
+ fontSize: 32,
18
+ lineHeight: 38,
19
+ letterSpacing: -0.3
20
+ },
21
+ 'display-md': {
22
+ fontSize: 26,
23
+ lineHeight: 32,
24
+ letterSpacing: -0.2
25
+ },
26
+ 'display-sm': {
27
+ fontSize: 22,
28
+ lineHeight: 28,
29
+ letterSpacing: 0
30
+ },
31
+ // Heading
32
+ 'heading-lg': {
33
+ fontSize: 19,
34
+ lineHeight: 24,
35
+ letterSpacing: 0
36
+ },
37
+ 'heading-md': {
38
+ fontSize: 17,
39
+ lineHeight: 22,
40
+ letterSpacing: 0
41
+ },
42
+ 'heading-sm': {
43
+ fontSize: 15,
44
+ lineHeight: 20,
45
+ letterSpacing: 0
46
+ },
47
+ // Body
48
+ 'body-lg': {
49
+ fontSize: 16,
50
+ lineHeight: 24,
51
+ letterSpacing: 0.1
52
+ },
53
+ 'body-md': {
54
+ fontSize: 14,
55
+ lineHeight: 20,
56
+ letterSpacing: 0.1
57
+ },
58
+ 'body-sm': {
59
+ fontSize: 13,
60
+ lineHeight: 18,
61
+ letterSpacing: 0.1
62
+ },
63
+ // Label
64
+ 'label-lg': {
65
+ fontSize: 15,
66
+ lineHeight: 18,
67
+ letterSpacing: 0.2
68
+ },
69
+ 'label-md': {
70
+ fontSize: 13,
71
+ lineHeight: 16,
72
+ letterSpacing: 0.3
73
+ },
74
+ 'label-sm': {
75
+ fontSize: 11,
76
+ lineHeight: 14,
77
+ letterSpacing: 0.5
78
+ },
79
+ // Caption
80
+ caption: {
81
+ fontSize: 12,
82
+ lineHeight: 16,
83
+ letterSpacing: 0.2
84
+ },
85
+ 'caption-sm': {
86
+ fontSize: 11,
87
+ lineHeight: 14,
88
+ letterSpacing: 0.2
89
+ }
90
+ };
91
+ //# sourceMappingURL=geometry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["VARIANT_GEOMETRY","fontSize","lineHeight","letterSpacing","caption"],"sourceRoot":"../../../src","sources":["theme/geometry.ts"],"mappings":";;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,gBAGZ,GAAG;EACF;EACA,YAAY,EAAE;IAAEC,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,EAAE;IAAEC,aAAa,EAAE,CAAC;EAAI,CAAC;EACnE,YAAY,EAAE;IAAEF,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,EAAE;IAAEC,aAAa,EAAE,CAAC;EAAI,CAAC;EACnE,YAAY,EAAE;IAAEF,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAE,CAAC;EAEhE;EACA,YAAY,EAAE;IAAEF,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAE,CAAC;EAChE,YAAY,EAAE;IAAEF,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAE,CAAC;EAChE,YAAY,EAAE;IAAEF,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAE,CAAC;EAEhE;EACA,SAAS,EAAE;IAAEF,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAI,CAAC;EAC/D,SAAS,EAAE;IAAEF,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAI,CAAC;EAC/D,SAAS,EAAE;IAAEF,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAI,CAAC;EAE/D;EACA,UAAU,EAAE;IAAEF,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAI,CAAC;EAChE,UAAU,EAAE;IAAEF,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAI,CAAC;EAChE,UAAU,EAAE;IAAEF,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAI,CAAC;EAEhE;EACAC,OAAO,EAAE;IAAEH,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAI,CAAC;EAC7D,YAAY,EAAE;IAAEF,QAAQ,EAAE,EAAE;IAAEC,UAAU,EAAE,EAAE;IAAEC,aAAa,EAAE;EAAI;AACnE,CAAC","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ export { VARIANT_GEOMETRY } from "./geometry.js";
4
+ export { ThemeProvider, useTheme, useColors, useTypography, useShadows } from "./ThemeProvider.js";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["VARIANT_GEOMETRY","ThemeProvider","useTheme","useColors","useTypography","useShadows"],"sourceRoot":"../../../src","sources":["theme/index.ts"],"mappings":";;AAOA,SAASA,gBAAgB,QAAQ,eAAY;AAC7C,SACEC,aAAa,EACbC,QAAQ,EACRC,SAAS,EACTC,aAAa,EACbC,UAAU,QAEL,oBAAiB","ignoreList":[]}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Library-owned LAYOUT scale — the JS twin of the `-ds` Tailwind preset
5
+ * (`src/preset.js`).
6
+ *
7
+ * everkit applies its own spacing + radii as INLINE styles from these constants
8
+ * rather than NativeWind `className`s. That is what makes the library
9
+ * self-contained: it renders correctly with NO Tailwind / NativeWind setup in
10
+ * the consuming app, and it is immune to the New-Architecture (Fabric)
11
+ * className-layout collapse. The values are byte-identical to the `-ds` tokens,
12
+ * so the visual result is unchanged. See ARCHITECTURE.md.
13
+ *
14
+ * Keys mirror the Tailwind step names (`SPACE['4']` == `p-4-ds` == 16px).
15
+ */
16
+ export const SPACE = {
17
+ '0.5': 2,
18
+ '1': 4,
19
+ '1.5': 6,
20
+ '2': 8,
21
+ '2.5': 10,
22
+ '3': 12,
23
+ '3.5': 14,
24
+ '4': 16,
25
+ '5': 20,
26
+ '6': 24,
27
+ '7': 28,
28
+ '8': 32,
29
+ '10': 40,
30
+ '12': 48
31
+ };
32
+ export const RADIUS = {
33
+ sm: 10,
34
+ md: 14,
35
+ lg: 16,
36
+ xl: 20,
37
+ '2xl': 28,
38
+ /** Pill / circle. */
39
+ full: 9999
40
+ };
41
+ //# sourceMappingURL=scale.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["SPACE","RADIUS","sm","md","lg","xl","full"],"sourceRoot":"../../../src","sources":["theme/scale.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,KAAK,GAAG;EACnB,KAAK,EAAE,CAAC;EACR,GAAG,EAAE,CAAC;EACN,KAAK,EAAE,CAAC;EACR,GAAG,EAAE,CAAC;EACN,KAAK,EAAE,EAAE;EACT,GAAG,EAAE,EAAE;EACP,KAAK,EAAE,EAAE;EACT,GAAG,EAAE,EAAE;EACP,GAAG,EAAE,EAAE;EACP,GAAG,EAAE,EAAE;EACP,GAAG,EAAE,EAAE;EACP,GAAG,EAAE,EAAE;EACP,IAAI,EAAE,EAAE;EACR,IAAI,EAAE;AACR,CAAU;AAEV,OAAO,MAAMC,MAAM,GAAG;EACpBC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACNC,EAAE,EAAE,EAAE;EACN,KAAK,EAAE,EAAE;EACT;EACAC,IAAI,EAAE;AACR,CAAU","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["theme/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1 @@
1
+ {"type":"commonjs"}
@@ -0,0 +1,29 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface ActionSheetAction {
3
+ /** Leading icon — any node (e.g. a lucide icon), coloured by the caller. */
4
+ icon?: ReactNode;
5
+ /** Row label. */
6
+ label: string;
7
+ onPress: () => void;
8
+ /** Dim styling for a secondary row (e.g. Cancel) — uses `text.secondary`. */
9
+ dim?: boolean;
10
+ }
11
+ export interface ActionSheetProps {
12
+ visible: boolean;
13
+ onClose: () => void;
14
+ /** Optional caption above the actions. */
15
+ title?: string;
16
+ /** The action rows, in order. */
17
+ actions: ActionSheetAction[];
18
+ }
19
+ /**
20
+ * Theme-agnostic action sheet — an optional caption over a list of tappable rows
21
+ * (icon + label), on top of the library's {@link BottomActionSheet}. Domain-free:
22
+ * the caller supplies the actions (labels, icons, handlers), so the same sheet
23
+ * backs a photo-source chooser, a long-press menu, a moderation list, etc.
24
+ *
25
+ * Colour comes INLINE from {@link useColors} (`text.primary` / `text.secondary`
26
+ * labels, `text.tertiary` caption); spacing from the {@link SPACE} scale.
27
+ */
28
+ export declare function ActionSheet({ visible, onClose, title, actions }: ActionSheetProps): import("react/jsx-runtime").JSX.Element;
29
+ //# sourceMappingURL=ActionSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/ActionSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOtC,MAAM,WAAW,iBAAiB;IAChC,4EAA4E;IAC5E,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,6EAA6E;IAC7E,GAAG,CAAC,EAAE,OAAO,CAAA;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iCAAiC;IACjC,OAAO,EAAE,iBAAiB,EAAE,CAAA;CAC7B;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,gBAAgB,2CAwCjF"}
@@ -0,0 +1,22 @@
1
+ import { type StyleProp, type ViewStyle } from 'react-native';
2
+ export interface AnimatedEllipsisProps {
3
+ /** Dot colour. Defaults to `colors.text.tertiary`. */
4
+ color?: string;
5
+ /** Screen-reader label for the busy state. Defaults to `'Loading'`. */
6
+ accessibilityLabel?: string;
7
+ /** Optional inline style override, merged last so callers can retune the row. */
8
+ style?: StyleProp<ViewStyle>;
9
+ }
10
+ /**
11
+ * Theme-agnostic "typing / reading" indicator — three dots bouncing in a
12
+ * staggered wave. Honors the system Reduce-Motion setting (renders three static
13
+ * dots) via reanimated's {@link useReducedMotion}.
14
+ *
15
+ * Color comes INLINE from {@link useColors}: the dots default to `text.tertiary`
16
+ * (pass `color` to override — e.g. `text.inverse` on a brand surface). Layout is
17
+ * applied INLINE from the library-owned {@link SPACE} scale, so the indicator
18
+ * renders with no NativeWind setup in the consumer; `style` is an inline
19
+ * override merged last.
20
+ */
21
+ export declare function AnimatedEllipsis({ color, accessibilityLabel, style, }: AnimatedEllipsisProps): import("react/jsx-runtime").JSX.Element;
22
+ //# sourceMappingURL=AnimatedEllipsis.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatedEllipsis.d.ts","sourceRoot":"","sources":["../../../../../src/components/AnimatedEllipsis.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAcnE,MAAM,WAAW,qBAAqB;IACpC,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uEAAuE;IACvE,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,iFAAiF;IACjF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAkCD;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,kBAA8B,EAC9B,KAAK,GACN,EAAE,qBAAqB,2CAgBvB"}
@@ -0,0 +1,34 @@
1
+ import type React from 'react';
2
+ import { type PressableProps } from 'react-native';
3
+ export interface AnimatedPressableProps extends PressableProps {
4
+ /** Scale factor when pressed. Defaults to `0.97`. */
5
+ pressScale?: number;
6
+ /**
7
+ * Fire a light haptic on press-in. Defaults to `false`. Uses the OPTIONAL
8
+ * `expo-haptics` peer directly (a silent no-op when it isn't installed or on a
9
+ * platform without haptics). For full control supply {@link onHapticTrigger}
10
+ * instead — it fires on press-in regardless of this flag, so an app can route
11
+ * the feedback through its own haptics vocabulary.
12
+ */
13
+ haptic?: boolean;
14
+ /**
15
+ * Called on press-in. Use this to drive an app-owned haptics hook without the
16
+ * library importing it — keeps `AnimatedPressable` decoupled from any app
17
+ * `useHaptics`. Fires alongside (and independently of) the `haptic` flag.
18
+ */
19
+ onHapticTrigger?: () => void;
20
+ children: React.ReactNode;
21
+ }
22
+ /**
23
+ * Theme-agnostic pressable with a spring press-scale — the low-level primitive
24
+ * behind tap-feedback surfaces. Carries NO colour of its own; it only animates
25
+ * the scale on the lifted {@link SPRINGS} `press` preset and forwards every
26
+ * `Pressable` prop.
27
+ *
28
+ * Haptics are OPTIONAL and decoupled from any app hook: `haptic` fires a light
29
+ * impact through the optional `expo-haptics` peer (no-op if absent), and
30
+ * `onHapticTrigger` lets an app supply its own feedback callback. The pilot
31
+ * consumer coupled this to an app `useHaptics` hook; that import is removed here.
32
+ */
33
+ export declare function AnimatedPressable({ pressScale, haptic, onHapticTrigger, children, style, onPressIn, onPressOut, disabled, ...rest }: AnimatedPressableProps): import("react/jsx-runtime").JSX.Element;
34
+ //# sourceMappingURL=AnimatedPressable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatedPressable.d.ts","sourceRoot":"","sources":["../../../../../src/components/AnimatedPressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAA;AAO7D,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC5D,qDAAqD;IACrD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,UAAiB,EACjB,MAAc,EACd,eAAe,EACf,QAAQ,EACR,KAAK,EACL,SAAS,EACT,UAAU,EACV,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,sBAAsB,2CAgCxB"}
@@ -0,0 +1,42 @@
1
+ import React from 'react';
2
+ export interface AppErrorBoundaryProps {
3
+ children: React.ReactNode;
4
+ /** Title shown on the crash screen. Defaults to `'Something went wrong'`. */
5
+ title?: string;
6
+ /** Body copy under the title. Has a sensible default. */
7
+ message?: string;
8
+ /** Label for the retry button. Defaults to `'Try Again'`. */
9
+ retryLabel?: string;
10
+ /**
11
+ * Called when a render error is caught. Use this to forward the crash to an
12
+ * app's logging / analytics pipeline — the library imports none, so it stays
13
+ * decoupled. Receives the error and React's component-stack info.
14
+ */
15
+ onError?: (error: Error, info: React.ErrorInfo) => void;
16
+ }
17
+ interface State {
18
+ hasError: boolean;
19
+ }
20
+ /**
21
+ * Theme-agnostic top-level (app-root) error boundary — a full-screen variant of
22
+ * {@link ErrorBoundary} that fills the whole viewport with the theme background
23
+ * (use it to wrap the app's root so an uncaught render crash shows a branded
24
+ * screen instead of a redbox). For a localized in-content boundary use
25
+ * {@link ErrorBoundary}.
26
+ *
27
+ * Two decouplings from the pilot consumer: logging goes through an `onError`
28
+ * callback rather than a hardwired analytics `captureError` import, and the
29
+ * theme is read through the provider via {@link useColors} (in a function-child
30
+ * fallback so the class can use the hook) rather than React Native's
31
+ * `Appearance` — so the fallback follows the active injected theme, not the OS
32
+ * scheme. Every colour comes INLINE from the theme.
33
+ */
34
+ export declare class AppErrorBoundary extends React.Component<AppErrorBoundaryProps, State> {
35
+ state: State;
36
+ static getDerivedStateFromError(): State;
37
+ componentDidCatch(error: Error, info: React.ErrorInfo): void;
38
+ handleRetry: () => void;
39
+ render(): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
40
+ }
41
+ export {};
42
+ //# sourceMappingURL=AppErrorBoundary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppErrorBoundary.d.ts","sourceRoot":"","sources":["../../../../../src/components/AppErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,6EAA6E;IAC7E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAA;CACxD;AAED,UAAU,KAAK;IACb,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED;;;;;;;;;;;;;GAaG;AACH,qBAAa,gBAAiB,SAAQ,KAAK,CAAC,SAAS,CAAC,qBAAqB,EAAE,KAAK,CAAC;IACjF,KAAK,EAAE,KAAK,CAAsB;IAElC,MAAM,CAAC,wBAAwB,IAAI,KAAK;IAIxC,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,SAAS;IAIrD,WAAW,aAEV;IAED,MAAM;CAaP"}