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.
- package/LICENSE +21 -0
- package/README.md +99 -0
- package/dist/commonjs/components/ActionSheet.js +67 -0
- package/dist/commonjs/components/ActionSheet.js.map +1 -0
- package/dist/commonjs/components/AnimatedEllipsis.js +92 -0
- package/dist/commonjs/components/AnimatedEllipsis.js.map +1 -0
- package/dist/commonjs/components/AnimatedPressable.js +63 -0
- package/dist/commonjs/components/AnimatedPressable.js.map +1 -0
- package/dist/commonjs/components/AppErrorBoundary.js +94 -0
- package/dist/commonjs/components/AppErrorBoundary.js.map +1 -0
- package/dist/commonjs/components/AppImage.js +83 -0
- package/dist/commonjs/components/AppImage.js.map +1 -0
- package/dist/commonjs/components/AuthFormScreen.js +96 -0
- package/dist/commonjs/components/AuthFormScreen.js.map +1 -0
- package/dist/commonjs/components/Avatar.js +155 -0
- package/dist/commonjs/components/Avatar.js.map +1 -0
- package/dist/commonjs/components/BotChatBubble.js +129 -0
- package/dist/commonjs/components/BotChatBubble.js.map +1 -0
- package/dist/commonjs/components/BottomActionSheet.js +90 -0
- package/dist/commonjs/components/BottomActionSheet.js.map +1 -0
- package/dist/commonjs/components/Button.js +163 -0
- package/dist/commonjs/components/Button.js.map +1 -0
- package/dist/commonjs/components/Card.js +104 -0
- package/dist/commonjs/components/Card.js.map +1 -0
- package/dist/commonjs/components/Carousel.js +59 -0
- package/dist/commonjs/components/Carousel.js.map +1 -0
- package/dist/commonjs/components/ChatInputBar.js +105 -0
- package/dist/commonjs/components/ChatInputBar.js.map +1 -0
- package/dist/commonjs/components/ChatScreen.js +203 -0
- package/dist/commonjs/components/ChatScreen.js.map +1 -0
- package/dist/commonjs/components/Chip.js +68 -0
- package/dist/commonjs/components/Chip.js.map +1 -0
- package/dist/commonjs/components/ChipSelector.js +126 -0
- package/dist/commonjs/components/ChipSelector.js.map +1 -0
- package/dist/commonjs/components/CircularProgress.js +128 -0
- package/dist/commonjs/components/CircularProgress.js.map +1 -0
- package/dist/commonjs/components/ConfirmDialog.js +139 -0
- package/dist/commonjs/components/ConfirmDialog.js.map +1 -0
- package/dist/commonjs/components/DateField.js +144 -0
- package/dist/commonjs/components/DateField.js.map +1 -0
- package/dist/commonjs/components/DetailHeader.js +32 -0
- package/dist/commonjs/components/DetailHeader.js.map +1 -0
- package/dist/commonjs/components/DetailScreen.js +88 -0
- package/dist/commonjs/components/DetailScreen.js.map +1 -0
- package/dist/commonjs/components/EmptyState.js +128 -0
- package/dist/commonjs/components/EmptyState.js.map +1 -0
- package/dist/commonjs/components/ErrorBoundary.js +87 -0
- package/dist/commonjs/components/ErrorBoundary.js.map +1 -0
- package/dist/commonjs/components/ErrorState.js +77 -0
- package/dist/commonjs/components/ErrorState.js.map +1 -0
- package/dist/commonjs/components/Fab.js +73 -0
- package/dist/commonjs/components/Fab.js.map +1 -0
- package/dist/commonjs/components/FabMenu.js +199 -0
- package/dist/commonjs/components/FabMenu.js.map +1 -0
- package/dist/commonjs/components/FavoriteButton.js +47 -0
- package/dist/commonjs/components/FavoriteButton.js.map +1 -0
- package/dist/commonjs/components/FollowStatsRow.js +84 -0
- package/dist/commonjs/components/FollowStatsRow.js.map +1 -0
- package/dist/commonjs/components/FormScreen.js +102 -0
- package/dist/commonjs/components/FormScreen.js.map +1 -0
- package/dist/commonjs/components/FormattedText.js +58 -0
- package/dist/commonjs/components/FormattedText.js.map +1 -0
- package/dist/commonjs/components/GoogleGlyph.js +44 -0
- package/dist/commonjs/components/GoogleGlyph.js.map +1 -0
- package/dist/commonjs/components/Gradient.js +59 -0
- package/dist/commonjs/components/Gradient.js.map +1 -0
- package/dist/commonjs/components/HeroStatsRow.js +46 -0
- package/dist/commonjs/components/HeroStatsRow.js.map +1 -0
- package/dist/commonjs/components/Input.js +163 -0
- package/dist/commonjs/components/Input.js.map +1 -0
- package/dist/commonjs/components/KeyboardAware.js +41 -0
- package/dist/commonjs/components/KeyboardAware.js.map +1 -0
- package/dist/commonjs/components/KeyboardScrollView.js +150 -0
- package/dist/commonjs/components/KeyboardScrollView.js.map +1 -0
- package/dist/commonjs/components/LegalBulletList.js +55 -0
- package/dist/commonjs/components/LegalBulletList.js.map +1 -0
- package/dist/commonjs/components/LegalSection.js +87 -0
- package/dist/commonjs/components/LegalSection.js.map +1 -0
- package/dist/commonjs/components/LikeButton.js +103 -0
- package/dist/commonjs/components/LikeButton.js.map +1 -0
- package/dist/commonjs/components/LoadingScreen.js +38 -0
- package/dist/commonjs/components/LoadingScreen.js.map +1 -0
- package/dist/commonjs/components/NotesCard.js +48 -0
- package/dist/commonjs/components/NotesCard.js.map +1 -0
- package/dist/commonjs/components/OnboardingSlide.js +73 -0
- package/dist/commonjs/components/OnboardingSlide.js.map +1 -0
- package/dist/commonjs/components/PhotoPicker.js +133 -0
- package/dist/commonjs/components/PhotoPicker.js.map +1 -0
- package/dist/commonjs/components/PhotoStrip.js +66 -0
- package/dist/commonjs/components/PhotoStrip.js.map +1 -0
- package/dist/commonjs/components/PhotoViewer.js +124 -0
- package/dist/commonjs/components/PhotoViewer.js.map +1 -0
- package/dist/commonjs/components/ProgressBar.js +108 -0
- package/dist/commonjs/components/ProgressBar.js.map +1 -0
- package/dist/commonjs/components/ScreenGradient.js +68 -0
- package/dist/commonjs/components/ScreenGradient.js.map +1 -0
- package/dist/commonjs/components/ScreenHeader.js +98 -0
- package/dist/commonjs/components/ScreenHeader.js.map +1 -0
- package/dist/commonjs/components/SearchInput.js +122 -0
- package/dist/commonjs/components/SearchInput.js.map +1 -0
- package/dist/commonjs/components/SelectionSheet.js +243 -0
- package/dist/commonjs/components/SelectionSheet.js.map +1 -0
- package/dist/commonjs/components/SettingsRow.js +125 -0
- package/dist/commonjs/components/SettingsRow.js.map +1 -0
- package/dist/commonjs/components/SettingsSection.js +45 -0
- package/dist/commonjs/components/SettingsSection.js.map +1 -0
- package/dist/commonjs/components/Skeleton.js +131 -0
- package/dist/commonjs/components/Skeleton.js.map +1 -0
- package/dist/commonjs/components/Spinner.js +41 -0
- package/dist/commonjs/components/Spinner.js.map +1 -0
- package/dist/commonjs/components/StarRating.js +87 -0
- package/dist/commonjs/components/StarRating.js.map +1 -0
- package/dist/commonjs/components/StatTile.js +63 -0
- package/dist/commonjs/components/StatTile.js.map +1 -0
- package/dist/commonjs/components/StepDots.js +121 -0
- package/dist/commonjs/components/StepDots.js.map +1 -0
- package/dist/commonjs/components/StickyBottomBar.js +44 -0
- package/dist/commonjs/components/StickyBottomBar.js.map +1 -0
- package/dist/commonjs/components/TabPillGroup.js +88 -0
- package/dist/commonjs/components/TabPillGroup.js.map +1 -0
- package/dist/commonjs/components/Text.js +175 -0
- package/dist/commonjs/components/Text.js.map +1 -0
- package/dist/commonjs/components/Toast.js +162 -0
- package/dist/commonjs/components/Toast.js.map +1 -0
- package/dist/commonjs/components/ToggleRow.js +121 -0
- package/dist/commonjs/components/ToggleRow.js.map +1 -0
- package/dist/commonjs/components/TypingIndicator.js +96 -0
- package/dist/commonjs/components/TypingIndicator.js.map +1 -0
- package/dist/commonjs/components/UserChatBubble.js +68 -0
- package/dist/commonjs/components/UserChatBubble.js.map +1 -0
- package/dist/commonjs/index.js +506 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/internal/appImageProps.js +44 -0
- package/dist/commonjs/internal/appImageProps.js.map +1 -0
- package/dist/commonjs/internal/avatarFallback.js +103 -0
- package/dist/commonjs/internal/avatarFallback.js.map +1 -0
- package/dist/commonjs/internal/chipStyle.js +89 -0
- package/dist/commonjs/internal/chipStyle.js.map +1 -0
- package/dist/commonjs/internal/detailScreenState.js +31 -0
- package/dist/commonjs/internal/detailScreenState.js.map +1 -0
- package/dist/commonjs/internal/haptics.js +50 -0
- package/dist/commonjs/internal/haptics.js.map +1 -0
- package/dist/commonjs/internal/hexToRgba.js +28 -0
- package/dist/commonjs/internal/hexToRgba.js.map +1 -0
- package/dist/commonjs/internal/inputStyle.js +52 -0
- package/dist/commonjs/internal/inputStyle.js.map +1 -0
- package/dist/commonjs/internal/keyboardAwareProps.js +38 -0
- package/dist/commonjs/internal/keyboardAwareProps.js.map +1 -0
- package/dist/commonjs/internal/keyboardScrollViewProps.js +66 -0
- package/dist/commonjs/internal/keyboardScrollViewProps.js.map +1 -0
- package/dist/commonjs/internal/overlay.js +36 -0
- package/dist/commonjs/internal/overlay.js.map +1 -0
- package/dist/commonjs/internal/parseInlineMarkdown.js +118 -0
- package/dist/commonjs/internal/parseInlineMarkdown.js.map +1 -0
- package/dist/commonjs/internal/refCounter.js +33 -0
- package/dist/commonjs/internal/refCounter.js.map +1 -0
- package/dist/commonjs/internal/resolveGradient.js +86 -0
- package/dist/commonjs/internal/resolveGradient.js.map +1 -0
- package/dist/commonjs/internal/spinnerProps.js +41 -0
- package/dist/commonjs/internal/spinnerProps.js.map +1 -0
- package/dist/commonjs/internal/springs.js +44 -0
- package/dist/commonjs/internal/springs.js.map +1 -0
- package/dist/commonjs/internal/stickyBottomBarStyle.js +51 -0
- package/dist/commonjs/internal/stickyBottomBarStyle.js.map +1 -0
- package/dist/commonjs/package.json +1 -0
- package/dist/commonjs/preset.js +44 -0
- package/dist/commonjs/preset.js.map +1 -0
- package/dist/commonjs/theme/ThemeProvider.js +59 -0
- package/dist/commonjs/theme/ThemeProvider.js.map +1 -0
- package/dist/commonjs/theme/geometry.js +95 -0
- package/dist/commonjs/theme/geometry.js.map +1 -0
- package/dist/commonjs/theme/index.js +44 -0
- package/dist/commonjs/theme/index.js.map +1 -0
- package/dist/commonjs/theme/scale.js +45 -0
- package/dist/commonjs/theme/scale.js.map +1 -0
- package/dist/commonjs/theme/types.js +6 -0
- package/dist/commonjs/theme/types.js.map +1 -0
- package/dist/module/components/ActionSheet.js +63 -0
- package/dist/module/components/ActionSheet.js.map +1 -0
- package/dist/module/components/AnimatedEllipsis.js +87 -0
- package/dist/module/components/AnimatedEllipsis.js.map +1 -0
- package/dist/module/components/AnimatedPressable.js +58 -0
- package/dist/module/components/AnimatedPressable.js.map +1 -0
- package/dist/module/components/AppErrorBoundary.js +88 -0
- package/dist/module/components/AppErrorBoundary.js.map +1 -0
- package/dist/module/components/AppImage.js +80 -0
- package/dist/module/components/AppImage.js.map +1 -0
- package/dist/module/components/AuthFormScreen.js +92 -0
- package/dist/module/components/AuthFormScreen.js.map +1 -0
- package/dist/module/components/Avatar.js +151 -0
- package/dist/module/components/Avatar.js.map +1 -0
- package/dist/module/components/BotChatBubble.js +124 -0
- package/dist/module/components/BotChatBubble.js.map +1 -0
- package/dist/module/components/BottomActionSheet.js +86 -0
- package/dist/module/components/BottomActionSheet.js.map +1 -0
- package/dist/module/components/Button.js +158 -0
- package/dist/module/components/Button.js.map +1 -0
- package/dist/module/components/Card.js +98 -0
- package/dist/module/components/Card.js.map +1 -0
- package/dist/module/components/Carousel.js +55 -0
- package/dist/module/components/Carousel.js.map +1 -0
- package/dist/module/components/ChatInputBar.js +101 -0
- package/dist/module/components/ChatInputBar.js.map +1 -0
- package/dist/module/components/ChatScreen.js +198 -0
- package/dist/module/components/ChatScreen.js.map +1 -0
- package/dist/module/components/Chip.js +63 -0
- package/dist/module/components/Chip.js.map +1 -0
- package/dist/module/components/ChipSelector.js +122 -0
- package/dist/module/components/ChipSelector.js.map +1 -0
- package/dist/module/components/CircularProgress.js +123 -0
- package/dist/module/components/CircularProgress.js.map +1 -0
- package/dist/module/components/ConfirmDialog.js +135 -0
- package/dist/module/components/ConfirmDialog.js.map +1 -0
- package/dist/module/components/DateField.js +141 -0
- package/dist/module/components/DateField.js.map +1 -0
- package/dist/module/components/DetailHeader.js +28 -0
- package/dist/module/components/DetailHeader.js.map +1 -0
- package/dist/module/components/DetailScreen.js +84 -0
- package/dist/module/components/DetailScreen.js.map +1 -0
- package/dist/module/components/EmptyState.js +125 -0
- package/dist/module/components/EmptyState.js.map +1 -0
- package/dist/module/components/ErrorBoundary.js +81 -0
- package/dist/module/components/ErrorBoundary.js.map +1 -0
- package/dist/module/components/ErrorState.js +73 -0
- package/dist/module/components/ErrorState.js.map +1 -0
- package/dist/module/components/Fab.js +68 -0
- package/dist/module/components/Fab.js.map +1 -0
- package/dist/module/components/FabMenu.js +194 -0
- package/dist/module/components/FabMenu.js.map +1 -0
- package/dist/module/components/FavoriteButton.js +42 -0
- package/dist/module/components/FavoriteButton.js.map +1 -0
- package/dist/module/components/FollowStatsRow.js +80 -0
- package/dist/module/components/FollowStatsRow.js.map +1 -0
- package/dist/module/components/FormScreen.js +98 -0
- package/dist/module/components/FormScreen.js.map +1 -0
- package/dist/module/components/FormattedText.js +54 -0
- package/dist/module/components/FormattedText.js.map +1 -0
- package/dist/module/components/GoogleGlyph.js +39 -0
- package/dist/module/components/GoogleGlyph.js.map +1 -0
- package/dist/module/components/Gradient.js +55 -0
- package/dist/module/components/Gradient.js.map +1 -0
- package/dist/module/components/HeroStatsRow.js +42 -0
- package/dist/module/components/HeroStatsRow.js.map +1 -0
- package/dist/module/components/Input.js +159 -0
- package/dist/module/components/Input.js.map +1 -0
- package/dist/module/components/KeyboardAware.js +37 -0
- package/dist/module/components/KeyboardAware.js.map +1 -0
- package/dist/module/components/KeyboardScrollView.js +146 -0
- package/dist/module/components/KeyboardScrollView.js.map +1 -0
- package/dist/module/components/LegalBulletList.js +51 -0
- package/dist/module/components/LegalBulletList.js.map +1 -0
- package/dist/module/components/LegalSection.js +83 -0
- package/dist/module/components/LegalSection.js.map +1 -0
- package/dist/module/components/LikeButton.js +100 -0
- package/dist/module/components/LikeButton.js.map +1 -0
- package/dist/module/components/LoadingScreen.js +34 -0
- package/dist/module/components/LoadingScreen.js.map +1 -0
- package/dist/module/components/NotesCard.js +44 -0
- package/dist/module/components/NotesCard.js.map +1 -0
- package/dist/module/components/OnboardingSlide.js +69 -0
- package/dist/module/components/OnboardingSlide.js.map +1 -0
- package/dist/module/components/PhotoPicker.js +129 -0
- package/dist/module/components/PhotoPicker.js.map +1 -0
- package/dist/module/components/PhotoStrip.js +62 -0
- package/dist/module/components/PhotoStrip.js.map +1 -0
- package/dist/module/components/PhotoViewer.js +121 -0
- package/dist/module/components/PhotoViewer.js.map +1 -0
- package/dist/module/components/ProgressBar.js +103 -0
- package/dist/module/components/ProgressBar.js.map +1 -0
- package/dist/module/components/ScreenGradient.js +64 -0
- package/dist/module/components/ScreenGradient.js.map +1 -0
- package/dist/module/components/ScreenHeader.js +94 -0
- package/dist/module/components/ScreenHeader.js.map +1 -0
- package/dist/module/components/SearchInput.js +118 -0
- package/dist/module/components/SearchInput.js.map +1 -0
- package/dist/module/components/SelectionSheet.js +239 -0
- package/dist/module/components/SelectionSheet.js.map +1 -0
- package/dist/module/components/SettingsRow.js +121 -0
- package/dist/module/components/SettingsRow.js.map +1 -0
- package/dist/module/components/SettingsSection.js +41 -0
- package/dist/module/components/SettingsSection.js.map +1 -0
- package/dist/module/components/Skeleton.js +126 -0
- package/dist/module/components/Skeleton.js.map +1 -0
- package/dist/module/components/Spinner.js +37 -0
- package/dist/module/components/Spinner.js.map +1 -0
- package/dist/module/components/StarRating.js +83 -0
- package/dist/module/components/StarRating.js.map +1 -0
- package/dist/module/components/StatTile.js +59 -0
- package/dist/module/components/StatTile.js.map +1 -0
- package/dist/module/components/StepDots.js +117 -0
- package/dist/module/components/StepDots.js.map +1 -0
- package/dist/module/components/StickyBottomBar.js +40 -0
- package/dist/module/components/StickyBottomBar.js.map +1 -0
- package/dist/module/components/TabPillGroup.js +84 -0
- package/dist/module/components/TabPillGroup.js.map +1 -0
- package/dist/module/components/Text.js +171 -0
- package/dist/module/components/Text.js.map +1 -0
- package/dist/module/components/Toast.js +157 -0
- package/dist/module/components/Toast.js.map +1 -0
- package/dist/module/components/ToggleRow.js +117 -0
- package/dist/module/components/ToggleRow.js.map +1 -0
- package/dist/module/components/TypingIndicator.js +91 -0
- package/dist/module/components/TypingIndicator.js.map +1 -0
- package/dist/module/components/UserChatBubble.js +63 -0
- package/dist/module/components/UserChatBubble.js.map +1 -0
- package/dist/module/index.js +112 -0
- package/dist/module/index.js.map +1 -0
- package/dist/module/internal/appImageProps.js +40 -0
- package/dist/module/internal/appImageProps.js.map +1 -0
- package/dist/module/internal/avatarFallback.js +97 -0
- package/dist/module/internal/avatarFallback.js.map +1 -0
- package/dist/module/internal/chipStyle.js +84 -0
- package/dist/module/internal/chipStyle.js.map +1 -0
- package/dist/module/internal/detailScreenState.js +27 -0
- package/dist/module/internal/detailScreenState.js.map +1 -0
- package/dist/module/internal/haptics.js +46 -0
- package/dist/module/internal/haptics.js.map +1 -0
- package/dist/module/internal/hexToRgba.js +24 -0
- package/dist/module/internal/hexToRgba.js.map +1 -0
- package/dist/module/internal/inputStyle.js +48 -0
- package/dist/module/internal/inputStyle.js.map +1 -0
- package/dist/module/internal/keyboardAwareProps.js +34 -0
- package/dist/module/internal/keyboardAwareProps.js.map +1 -0
- package/dist/module/internal/keyboardScrollViewProps.js +60 -0
- package/dist/module/internal/keyboardScrollViewProps.js.map +1 -0
- package/dist/module/internal/overlay.js +32 -0
- package/dist/module/internal/overlay.js.map +1 -0
- package/dist/module/internal/parseInlineMarkdown.js +114 -0
- package/dist/module/internal/parseInlineMarkdown.js.map +1 -0
- package/dist/module/internal/refCounter.js +29 -0
- package/dist/module/internal/refCounter.js.map +1 -0
- package/dist/module/internal/resolveGradient.js +82 -0
- package/dist/module/internal/resolveGradient.js.map +1 -0
- package/dist/module/internal/spinnerProps.js +37 -0
- package/dist/module/internal/spinnerProps.js.map +1 -0
- package/dist/module/internal/springs.js +40 -0
- package/dist/module/internal/springs.js.map +1 -0
- package/dist/module/internal/stickyBottomBarStyle.js +47 -0
- package/dist/module/internal/stickyBottomBarStyle.js.map +1 -0
- package/dist/module/package.json +1 -0
- package/dist/module/preset.js +44 -0
- package/dist/module/preset.js.map +1 -0
- package/dist/module/theme/ThemeProvider.js +51 -0
- package/dist/module/theme/ThemeProvider.js.map +1 -0
- package/dist/module/theme/geometry.js +91 -0
- package/dist/module/theme/geometry.js.map +1 -0
- package/dist/module/theme/index.js +5 -0
- package/dist/module/theme/index.js.map +1 -0
- package/dist/module/theme/scale.js +41 -0
- package/dist/module/theme/scale.js.map +1 -0
- package/dist/module/theme/types.js +4 -0
- package/dist/module/theme/types.js.map +1 -0
- package/dist/typescript/commonjs/package.json +1 -0
- package/dist/typescript/commonjs/src/components/ActionSheet.d.ts +29 -0
- package/dist/typescript/commonjs/src/components/ActionSheet.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/AnimatedEllipsis.d.ts +22 -0
- package/dist/typescript/commonjs/src/components/AnimatedEllipsis.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/AnimatedPressable.d.ts +34 -0
- package/dist/typescript/commonjs/src/components/AnimatedPressable.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/AppErrorBoundary.d.ts +42 -0
- package/dist/typescript/commonjs/src/components/AppErrorBoundary.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/AppImage.d.ts +38 -0
- package/dist/typescript/commonjs/src/components/AppImage.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/AuthFormScreen.d.ts +46 -0
- package/dist/typescript/commonjs/src/components/AuthFormScreen.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Avatar.d.ts +64 -0
- package/dist/typescript/commonjs/src/components/Avatar.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/BotChatBubble.d.ts +42 -0
- package/dist/typescript/commonjs/src/components/BotChatBubble.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/BottomActionSheet.d.ts +45 -0
- package/dist/typescript/commonjs/src/components/BottomActionSheet.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Button.d.ts +31 -0
- package/dist/typescript/commonjs/src/components/Button.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Card.d.ts +49 -0
- package/dist/typescript/commonjs/src/components/Card.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Carousel.d.ts +45 -0
- package/dist/typescript/commonjs/src/components/Carousel.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/ChatInputBar.d.ts +28 -0
- package/dist/typescript/commonjs/src/components/ChatInputBar.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/ChatScreen.d.ts +79 -0
- package/dist/typescript/commonjs/src/components/ChatScreen.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Chip.d.ts +36 -0
- package/dist/typescript/commonjs/src/components/Chip.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/ChipSelector.d.ts +51 -0
- package/dist/typescript/commonjs/src/components/ChipSelector.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/CircularProgress.d.ts +47 -0
- package/dist/typescript/commonjs/src/components/CircularProgress.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/ConfirmDialog.d.ts +50 -0
- package/dist/typescript/commonjs/src/components/ConfirmDialog.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/DateField.d.ts +26 -0
- package/dist/typescript/commonjs/src/components/DateField.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/DetailHeader.d.ts +28 -0
- package/dist/typescript/commonjs/src/components/DetailHeader.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/DetailScreen.d.ts +55 -0
- package/dist/typescript/commonjs/src/components/DetailScreen.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/EmptyState.d.ts +33 -0
- package/dist/typescript/commonjs/src/components/EmptyState.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/ErrorBoundary.d.ts +36 -0
- package/dist/typescript/commonjs/src/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/ErrorState.d.ts +23 -0
- package/dist/typescript/commonjs/src/components/ErrorState.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Fab.d.ts +32 -0
- package/dist/typescript/commonjs/src/components/Fab.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/FabMenu.d.ts +48 -0
- package/dist/typescript/commonjs/src/components/FabMenu.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/FavoriteButton.d.ts +27 -0
- package/dist/typescript/commonjs/src/components/FavoriteButton.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/FollowStatsRow.d.ts +30 -0
- package/dist/typescript/commonjs/src/components/FollowStatsRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/FormScreen.d.ts +53 -0
- package/dist/typescript/commonjs/src/components/FormScreen.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/FormattedText.d.ts +30 -0
- package/dist/typescript/commonjs/src/components/FormattedText.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/GoogleGlyph.d.ts +18 -0
- package/dist/typescript/commonjs/src/components/GoogleGlyph.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Gradient.d.ts +36 -0
- package/dist/typescript/commonjs/src/components/Gradient.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/HeroStatsRow.d.ts +23 -0
- package/dist/typescript/commonjs/src/components/HeroStatsRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Input.d.ts +50 -0
- package/dist/typescript/commonjs/src/components/Input.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/KeyboardAware.d.ts +27 -0
- package/dist/typescript/commonjs/src/components/KeyboardAware.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/KeyboardScrollView.d.ts +61 -0
- package/dist/typescript/commonjs/src/components/KeyboardScrollView.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/LegalBulletList.d.ts +24 -0
- package/dist/typescript/commonjs/src/components/LegalBulletList.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/LegalSection.d.ts +34 -0
- package/dist/typescript/commonjs/src/components/LegalSection.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/LikeButton.d.ts +37 -0
- package/dist/typescript/commonjs/src/components/LikeButton.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/LoadingScreen.d.ts +17 -0
- package/dist/typescript/commonjs/src/components/LoadingScreen.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/NotesCard.d.ts +17 -0
- package/dist/typescript/commonjs/src/components/NotesCard.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/OnboardingSlide.d.ts +31 -0
- package/dist/typescript/commonjs/src/components/OnboardingSlide.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/PhotoPicker.d.ts +37 -0
- package/dist/typescript/commonjs/src/components/PhotoPicker.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/PhotoStrip.d.ts +32 -0
- package/dist/typescript/commonjs/src/components/PhotoStrip.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/PhotoViewer.d.ts +35 -0
- package/dist/typescript/commonjs/src/components/PhotoViewer.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/ProgressBar.d.ts +43 -0
- package/dist/typescript/commonjs/src/components/ProgressBar.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/ScreenGradient.d.ts +25 -0
- package/dist/typescript/commonjs/src/components/ScreenGradient.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/ScreenHeader.d.ts +48 -0
- package/dist/typescript/commonjs/src/components/ScreenHeader.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/SearchInput.d.ts +30 -0
- package/dist/typescript/commonjs/src/components/SearchInput.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/SelectionSheet.d.ts +54 -0
- package/dist/typescript/commonjs/src/components/SelectionSheet.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/SettingsRow.d.ts +52 -0
- package/dist/typescript/commonjs/src/components/SettingsRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/SettingsSection.d.ts +24 -0
- package/dist/typescript/commonjs/src/components/SettingsSection.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Skeleton.d.ts +31 -0
- package/dist/typescript/commonjs/src/components/Skeleton.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Spinner.d.ts +23 -0
- package/dist/typescript/commonjs/src/components/Spinner.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/StarRating.d.ts +30 -0
- package/dist/typescript/commonjs/src/components/StarRating.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/StatTile.d.ts +33 -0
- package/dist/typescript/commonjs/src/components/StatTile.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/StepDots.d.ts +61 -0
- package/dist/typescript/commonjs/src/components/StepDots.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/StickyBottomBar.d.ts +28 -0
- package/dist/typescript/commonjs/src/components/StickyBottomBar.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/TabPillGroup.d.ts +33 -0
- package/dist/typescript/commonjs/src/components/TabPillGroup.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Text.d.ts +34 -0
- package/dist/typescript/commonjs/src/components/Text.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/Toast.d.ts +33 -0
- package/dist/typescript/commonjs/src/components/Toast.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/ToggleRow.d.ts +37 -0
- package/dist/typescript/commonjs/src/components/ToggleRow.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/TypingIndicator.d.ts +22 -0
- package/dist/typescript/commonjs/src/components/TypingIndicator.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/components/UserChatBubble.d.ts +34 -0
- package/dist/typescript/commonjs/src/components/UserChatBubble.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/index.d.ts +69 -0
- package/dist/typescript/commonjs/src/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/internal/appImageProps.d.ts +39 -0
- package/dist/typescript/commonjs/src/internal/appImageProps.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/internal/avatarFallback.d.ts +45 -0
- package/dist/typescript/commonjs/src/internal/avatarFallback.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/internal/chipStyle.d.ts +53 -0
- package/dist/typescript/commonjs/src/internal/chipStyle.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/internal/detailScreenState.d.ts +25 -0
- package/dist/typescript/commonjs/src/internal/detailScreenState.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/internal/haptics.d.ts +19 -0
- package/dist/typescript/commonjs/src/internal/haptics.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/internal/hexToRgba.d.ts +17 -0
- package/dist/typescript/commonjs/src/internal/hexToRgba.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/internal/inputStyle.d.ts +30 -0
- package/dist/typescript/commonjs/src/internal/inputStyle.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/internal/keyboardAwareProps.d.ts +37 -0
- package/dist/typescript/commonjs/src/internal/keyboardAwareProps.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/internal/keyboardScrollViewProps.d.ts +67 -0
- package/dist/typescript/commonjs/src/internal/keyboardScrollViewProps.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/internal/overlay.d.ts +24 -0
- package/dist/typescript/commonjs/src/internal/overlay.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/internal/parseInlineMarkdown.d.ts +28 -0
- package/dist/typescript/commonjs/src/internal/parseInlineMarkdown.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/internal/refCounter.d.ts +17 -0
- package/dist/typescript/commonjs/src/internal/refCounter.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/internal/resolveGradient.d.ts +57 -0
- package/dist/typescript/commonjs/src/internal/resolveGradient.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/internal/spinnerProps.d.ts +27 -0
- package/dist/typescript/commonjs/src/internal/spinnerProps.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/internal/springs.d.ts +37 -0
- package/dist/typescript/commonjs/src/internal/springs.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/internal/stickyBottomBarStyle.d.ts +36 -0
- package/dist/typescript/commonjs/src/internal/stickyBottomBarStyle.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/preset.d.ts +3 -0
- package/dist/typescript/commonjs/src/preset.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/theme/ThemeProvider.d.ts +17 -0
- package/dist/typescript/commonjs/src/theme/ThemeProvider.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/theme/geometry.d.ts +18 -0
- package/dist/typescript/commonjs/src/theme/geometry.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/theme/index.d.ts +4 -0
- package/dist/typescript/commonjs/src/theme/index.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/theme/scale.d.ts +41 -0
- package/dist/typescript/commonjs/src/theme/scale.d.ts.map +1 -0
- package/dist/typescript/commonjs/src/theme/types.d.ts +67 -0
- package/dist/typescript/commonjs/src/theme/types.d.ts.map +1 -0
- package/dist/typescript/module/package.json +1 -0
- package/dist/typescript/module/src/components/ActionSheet.d.ts +29 -0
- package/dist/typescript/module/src/components/ActionSheet.d.ts.map +1 -0
- package/dist/typescript/module/src/components/AnimatedEllipsis.d.ts +22 -0
- package/dist/typescript/module/src/components/AnimatedEllipsis.d.ts.map +1 -0
- package/dist/typescript/module/src/components/AnimatedPressable.d.ts +34 -0
- package/dist/typescript/module/src/components/AnimatedPressable.d.ts.map +1 -0
- package/dist/typescript/module/src/components/AppErrorBoundary.d.ts +42 -0
- package/dist/typescript/module/src/components/AppErrorBoundary.d.ts.map +1 -0
- package/dist/typescript/module/src/components/AppImage.d.ts +38 -0
- package/dist/typescript/module/src/components/AppImage.d.ts.map +1 -0
- package/dist/typescript/module/src/components/AuthFormScreen.d.ts +46 -0
- package/dist/typescript/module/src/components/AuthFormScreen.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Avatar.d.ts +64 -0
- package/dist/typescript/module/src/components/Avatar.d.ts.map +1 -0
- package/dist/typescript/module/src/components/BotChatBubble.d.ts +42 -0
- package/dist/typescript/module/src/components/BotChatBubble.d.ts.map +1 -0
- package/dist/typescript/module/src/components/BottomActionSheet.d.ts +45 -0
- package/dist/typescript/module/src/components/BottomActionSheet.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Button.d.ts +31 -0
- package/dist/typescript/module/src/components/Button.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Card.d.ts +49 -0
- package/dist/typescript/module/src/components/Card.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Carousel.d.ts +45 -0
- package/dist/typescript/module/src/components/Carousel.d.ts.map +1 -0
- package/dist/typescript/module/src/components/ChatInputBar.d.ts +28 -0
- package/dist/typescript/module/src/components/ChatInputBar.d.ts.map +1 -0
- package/dist/typescript/module/src/components/ChatScreen.d.ts +79 -0
- package/dist/typescript/module/src/components/ChatScreen.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Chip.d.ts +36 -0
- package/dist/typescript/module/src/components/Chip.d.ts.map +1 -0
- package/dist/typescript/module/src/components/ChipSelector.d.ts +51 -0
- package/dist/typescript/module/src/components/ChipSelector.d.ts.map +1 -0
- package/dist/typescript/module/src/components/CircularProgress.d.ts +47 -0
- package/dist/typescript/module/src/components/CircularProgress.d.ts.map +1 -0
- package/dist/typescript/module/src/components/ConfirmDialog.d.ts +50 -0
- package/dist/typescript/module/src/components/ConfirmDialog.d.ts.map +1 -0
- package/dist/typescript/module/src/components/DateField.d.ts +26 -0
- package/dist/typescript/module/src/components/DateField.d.ts.map +1 -0
- package/dist/typescript/module/src/components/DetailHeader.d.ts +28 -0
- package/dist/typescript/module/src/components/DetailHeader.d.ts.map +1 -0
- package/dist/typescript/module/src/components/DetailScreen.d.ts +55 -0
- package/dist/typescript/module/src/components/DetailScreen.d.ts.map +1 -0
- package/dist/typescript/module/src/components/EmptyState.d.ts +33 -0
- package/dist/typescript/module/src/components/EmptyState.d.ts.map +1 -0
- package/dist/typescript/module/src/components/ErrorBoundary.d.ts +36 -0
- package/dist/typescript/module/src/components/ErrorBoundary.d.ts.map +1 -0
- package/dist/typescript/module/src/components/ErrorState.d.ts +23 -0
- package/dist/typescript/module/src/components/ErrorState.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Fab.d.ts +32 -0
- package/dist/typescript/module/src/components/Fab.d.ts.map +1 -0
- package/dist/typescript/module/src/components/FabMenu.d.ts +48 -0
- package/dist/typescript/module/src/components/FabMenu.d.ts.map +1 -0
- package/dist/typescript/module/src/components/FavoriteButton.d.ts +27 -0
- package/dist/typescript/module/src/components/FavoriteButton.d.ts.map +1 -0
- package/dist/typescript/module/src/components/FollowStatsRow.d.ts +30 -0
- package/dist/typescript/module/src/components/FollowStatsRow.d.ts.map +1 -0
- package/dist/typescript/module/src/components/FormScreen.d.ts +53 -0
- package/dist/typescript/module/src/components/FormScreen.d.ts.map +1 -0
- package/dist/typescript/module/src/components/FormattedText.d.ts +30 -0
- package/dist/typescript/module/src/components/FormattedText.d.ts.map +1 -0
- package/dist/typescript/module/src/components/GoogleGlyph.d.ts +18 -0
- package/dist/typescript/module/src/components/GoogleGlyph.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Gradient.d.ts +36 -0
- package/dist/typescript/module/src/components/Gradient.d.ts.map +1 -0
- package/dist/typescript/module/src/components/HeroStatsRow.d.ts +23 -0
- package/dist/typescript/module/src/components/HeroStatsRow.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Input.d.ts +50 -0
- package/dist/typescript/module/src/components/Input.d.ts.map +1 -0
- package/dist/typescript/module/src/components/KeyboardAware.d.ts +27 -0
- package/dist/typescript/module/src/components/KeyboardAware.d.ts.map +1 -0
- package/dist/typescript/module/src/components/KeyboardScrollView.d.ts +61 -0
- package/dist/typescript/module/src/components/KeyboardScrollView.d.ts.map +1 -0
- package/dist/typescript/module/src/components/LegalBulletList.d.ts +24 -0
- package/dist/typescript/module/src/components/LegalBulletList.d.ts.map +1 -0
- package/dist/typescript/module/src/components/LegalSection.d.ts +34 -0
- package/dist/typescript/module/src/components/LegalSection.d.ts.map +1 -0
- package/dist/typescript/module/src/components/LikeButton.d.ts +37 -0
- package/dist/typescript/module/src/components/LikeButton.d.ts.map +1 -0
- package/dist/typescript/module/src/components/LoadingScreen.d.ts +17 -0
- package/dist/typescript/module/src/components/LoadingScreen.d.ts.map +1 -0
- package/dist/typescript/module/src/components/NotesCard.d.ts +17 -0
- package/dist/typescript/module/src/components/NotesCard.d.ts.map +1 -0
- package/dist/typescript/module/src/components/OnboardingSlide.d.ts +31 -0
- package/dist/typescript/module/src/components/OnboardingSlide.d.ts.map +1 -0
- package/dist/typescript/module/src/components/PhotoPicker.d.ts +37 -0
- package/dist/typescript/module/src/components/PhotoPicker.d.ts.map +1 -0
- package/dist/typescript/module/src/components/PhotoStrip.d.ts +32 -0
- package/dist/typescript/module/src/components/PhotoStrip.d.ts.map +1 -0
- package/dist/typescript/module/src/components/PhotoViewer.d.ts +35 -0
- package/dist/typescript/module/src/components/PhotoViewer.d.ts.map +1 -0
- package/dist/typescript/module/src/components/ProgressBar.d.ts +43 -0
- package/dist/typescript/module/src/components/ProgressBar.d.ts.map +1 -0
- package/dist/typescript/module/src/components/ScreenGradient.d.ts +25 -0
- package/dist/typescript/module/src/components/ScreenGradient.d.ts.map +1 -0
- package/dist/typescript/module/src/components/ScreenHeader.d.ts +48 -0
- package/dist/typescript/module/src/components/ScreenHeader.d.ts.map +1 -0
- package/dist/typescript/module/src/components/SearchInput.d.ts +30 -0
- package/dist/typescript/module/src/components/SearchInput.d.ts.map +1 -0
- package/dist/typescript/module/src/components/SelectionSheet.d.ts +54 -0
- package/dist/typescript/module/src/components/SelectionSheet.d.ts.map +1 -0
- package/dist/typescript/module/src/components/SettingsRow.d.ts +52 -0
- package/dist/typescript/module/src/components/SettingsRow.d.ts.map +1 -0
- package/dist/typescript/module/src/components/SettingsSection.d.ts +24 -0
- package/dist/typescript/module/src/components/SettingsSection.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Skeleton.d.ts +31 -0
- package/dist/typescript/module/src/components/Skeleton.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Spinner.d.ts +23 -0
- package/dist/typescript/module/src/components/Spinner.d.ts.map +1 -0
- package/dist/typescript/module/src/components/StarRating.d.ts +30 -0
- package/dist/typescript/module/src/components/StarRating.d.ts.map +1 -0
- package/dist/typescript/module/src/components/StatTile.d.ts +33 -0
- package/dist/typescript/module/src/components/StatTile.d.ts.map +1 -0
- package/dist/typescript/module/src/components/StepDots.d.ts +61 -0
- package/dist/typescript/module/src/components/StepDots.d.ts.map +1 -0
- package/dist/typescript/module/src/components/StickyBottomBar.d.ts +28 -0
- package/dist/typescript/module/src/components/StickyBottomBar.d.ts.map +1 -0
- package/dist/typescript/module/src/components/TabPillGroup.d.ts +33 -0
- package/dist/typescript/module/src/components/TabPillGroup.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Text.d.ts +34 -0
- package/dist/typescript/module/src/components/Text.d.ts.map +1 -0
- package/dist/typescript/module/src/components/Toast.d.ts +33 -0
- package/dist/typescript/module/src/components/Toast.d.ts.map +1 -0
- package/dist/typescript/module/src/components/ToggleRow.d.ts +37 -0
- package/dist/typescript/module/src/components/ToggleRow.d.ts.map +1 -0
- package/dist/typescript/module/src/components/TypingIndicator.d.ts +22 -0
- package/dist/typescript/module/src/components/TypingIndicator.d.ts.map +1 -0
- package/dist/typescript/module/src/components/UserChatBubble.d.ts +34 -0
- package/dist/typescript/module/src/components/UserChatBubble.d.ts.map +1 -0
- package/dist/typescript/module/src/index.d.ts +69 -0
- package/dist/typescript/module/src/index.d.ts.map +1 -0
- package/dist/typescript/module/src/internal/appImageProps.d.ts +39 -0
- package/dist/typescript/module/src/internal/appImageProps.d.ts.map +1 -0
- package/dist/typescript/module/src/internal/avatarFallback.d.ts +45 -0
- package/dist/typescript/module/src/internal/avatarFallback.d.ts.map +1 -0
- package/dist/typescript/module/src/internal/chipStyle.d.ts +53 -0
- package/dist/typescript/module/src/internal/chipStyle.d.ts.map +1 -0
- package/dist/typescript/module/src/internal/detailScreenState.d.ts +25 -0
- package/dist/typescript/module/src/internal/detailScreenState.d.ts.map +1 -0
- package/dist/typescript/module/src/internal/haptics.d.ts +19 -0
- package/dist/typescript/module/src/internal/haptics.d.ts.map +1 -0
- package/dist/typescript/module/src/internal/hexToRgba.d.ts +17 -0
- package/dist/typescript/module/src/internal/hexToRgba.d.ts.map +1 -0
- package/dist/typescript/module/src/internal/inputStyle.d.ts +30 -0
- package/dist/typescript/module/src/internal/inputStyle.d.ts.map +1 -0
- package/dist/typescript/module/src/internal/keyboardAwareProps.d.ts +37 -0
- package/dist/typescript/module/src/internal/keyboardAwareProps.d.ts.map +1 -0
- package/dist/typescript/module/src/internal/keyboardScrollViewProps.d.ts +67 -0
- package/dist/typescript/module/src/internal/keyboardScrollViewProps.d.ts.map +1 -0
- package/dist/typescript/module/src/internal/overlay.d.ts +24 -0
- package/dist/typescript/module/src/internal/overlay.d.ts.map +1 -0
- package/dist/typescript/module/src/internal/parseInlineMarkdown.d.ts +28 -0
- package/dist/typescript/module/src/internal/parseInlineMarkdown.d.ts.map +1 -0
- package/dist/typescript/module/src/internal/refCounter.d.ts +17 -0
- package/dist/typescript/module/src/internal/refCounter.d.ts.map +1 -0
- package/dist/typescript/module/src/internal/resolveGradient.d.ts +57 -0
- package/dist/typescript/module/src/internal/resolveGradient.d.ts.map +1 -0
- package/dist/typescript/module/src/internal/spinnerProps.d.ts +27 -0
- package/dist/typescript/module/src/internal/spinnerProps.d.ts.map +1 -0
- package/dist/typescript/module/src/internal/springs.d.ts +37 -0
- package/dist/typescript/module/src/internal/springs.d.ts.map +1 -0
- package/dist/typescript/module/src/internal/stickyBottomBarStyle.d.ts +36 -0
- package/dist/typescript/module/src/internal/stickyBottomBarStyle.d.ts.map +1 -0
- package/dist/typescript/module/src/preset.d.ts +3 -0
- package/dist/typescript/module/src/preset.d.ts.map +1 -0
- package/dist/typescript/module/src/theme/ThemeProvider.d.ts +17 -0
- package/dist/typescript/module/src/theme/ThemeProvider.d.ts.map +1 -0
- package/dist/typescript/module/src/theme/geometry.d.ts +18 -0
- package/dist/typescript/module/src/theme/geometry.d.ts.map +1 -0
- package/dist/typescript/module/src/theme/index.d.ts +4 -0
- package/dist/typescript/module/src/theme/index.d.ts.map +1 -0
- package/dist/typescript/module/src/theme/scale.d.ts +41 -0
- package/dist/typescript/module/src/theme/scale.d.ts.map +1 -0
- package/dist/typescript/module/src/theme/types.d.ts +67 -0
- package/dist/typescript/module/src/theme/types.d.ts.map +1 -0
- package/package.json +180 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type ImageProps } from 'expo-image';
|
|
2
|
+
/**
|
|
3
|
+
* Props for `<AppImage/>`.
|
|
4
|
+
*
|
|
5
|
+
* `cachePolicy` and `transition` are stripped from the base `ImageProps` and
|
|
6
|
+
* re-declared as optional so the wrapper can apply the project-wide caching
|
|
7
|
+
* defaults (`'memory-disk'` cache, `200` ms transition). All other expo-image
|
|
8
|
+
* props forward through unchanged.
|
|
9
|
+
*
|
|
10
|
+
* `recyclingKey` is the entity id when the image is rendered inside a list or
|
|
11
|
+
* grid — expo-image uses it to bind the cached bitmap to the row, which prevents
|
|
12
|
+
* the photo from the *previous* row flashing when a list recycles the cell.
|
|
13
|
+
* Plain detail screens do not need it.
|
|
14
|
+
*/
|
|
15
|
+
export interface AppImageProps extends Omit<ImageProps, 'cachePolicy' | 'transition'> {
|
|
16
|
+
/** Override the default cache policy (`'memory-disk'`). */
|
|
17
|
+
cachePolicy?: ImageProps['cachePolicy'];
|
|
18
|
+
/** Override the default transition (`200` ms). `0`/`null` are honoured. */
|
|
19
|
+
transition?: ImageProps['transition'];
|
|
20
|
+
/** Pass the entity id when the image is inside a list or grid. */
|
|
21
|
+
recyclingKey?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* App-wide wrapper around expo-image's `<Image/>`.
|
|
25
|
+
*
|
|
26
|
+
* The point of this component is consistency: every caller gets the same
|
|
27
|
+
* `cachePolicy` and `transition` unless it deliberately overrides them.
|
|
28
|
+
* `contentFit`, `recyclingKey`, `source`, `style`, `className` (via the
|
|
29
|
+
* registration above), and accessibility props all pass through untouched.
|
|
30
|
+
* Carries NO color/font of its own — purely a caching + layout wrapper.
|
|
31
|
+
*
|
|
32
|
+
* The defaulting rules live in the pure {@link resolveAppImageProps} helper,
|
|
33
|
+
* which uses loose structural mirrors of expo-image's prop types so it can stay
|
|
34
|
+
* free of the `'expo-image'` import. We cast back at the boundary — both sides
|
|
35
|
+
* agree on the runtime shape, only the precise unions diverge.
|
|
36
|
+
*/
|
|
37
|
+
export declare function AppImage(props: AppImageProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
//# sourceMappingURL=AppImage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppImage.d.ts","sourceRoot":"","sources":["../../../../../src/components/AppImage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,YAAY,CAAA;AA0BnD;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,UAAU,EAAE,aAAa,GAAG,YAAY,CAAC;IACnF,2DAA2D;IAC3D,WAAW,CAAC,EAAE,UAAU,CAAC,aAAa,CAAC,CAAA;IACvC,2EAA2E;IAC3E,UAAU,CAAC,EAAE,UAAU,CAAC,YAAY,CAAC,CAAA;IACrC,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAMD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,2CAa5C"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ImageSourcePropType } from 'react-native';
|
|
3
|
+
import type { LucideIcon } from 'lucide-react-native';
|
|
4
|
+
export interface AuthFormScreenProps {
|
|
5
|
+
/**
|
|
6
|
+
* Hero illustration. Either pass an `image` source (rendered via `<Image
|
|
7
|
+
* resizeMode="contain" />`) or an `icon` (a lucide icon, colored from the
|
|
8
|
+
* theme's `brand.primary`). If both are supplied, `image` wins.
|
|
9
|
+
*/
|
|
10
|
+
image?: ImageSourcePropType;
|
|
11
|
+
/** Width/height for the hero image. Ignored when using an icon. */
|
|
12
|
+
imageSize?: {
|
|
13
|
+
width: number;
|
|
14
|
+
height: number;
|
|
15
|
+
};
|
|
16
|
+
/** Accessibility label for the hero image. */
|
|
17
|
+
imageAlt?: string;
|
|
18
|
+
/** Lucide icon rendered as the hero when no image is supplied, colored from `brand.primary`. */
|
|
19
|
+
icon?: LucideIcon;
|
|
20
|
+
/** Bold heading shown beneath the hero. Omit when the image is the heading (e.g. a wordmark). */
|
|
21
|
+
title?: string;
|
|
22
|
+
/** Subtitle paragraph rendered below the title. */
|
|
23
|
+
subtitle?: string;
|
|
24
|
+
/** Form body — the inputs + primary CTA. */
|
|
25
|
+
children: ReactNode;
|
|
26
|
+
/** Optional footer (sign-in/sign-up link row + legal links). */
|
|
27
|
+
footer?: ReactNode;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Theme-agnostic chrome for auth-flow screens (login / register /
|
|
31
|
+
* forgot-password). Composes {@link ScreenGradient} + a vertically-centered,
|
|
32
|
+
* keyboard-aware {@link KeyboardScrollView} + a hero block (illustration / icon
|
|
33
|
+
* + title + subtitle). Screens supply only the form body and the footer row.
|
|
34
|
+
*
|
|
35
|
+
* Color comes INLINE from {@link useColors}: the title defaults to `text.primary`
|
|
36
|
+
* (via {@link Text}) and the subtitle is `text.secondary` — no `text-text-*`
|
|
37
|
+
* className (those don't resolve reliably on native).
|
|
38
|
+
*
|
|
39
|
+
* Keyboard handling — the FormScreen pattern: iOS
|
|
40
|
+
* `automaticallyAdjustKeyboardInsets` insets the scroller for the keyboard AND
|
|
41
|
+
* scrolls the focused input into view, so lower fields (password, confirm) stay
|
|
42
|
+
* visible on small screens. The KAV is disabled to avoid double-shifting; Android
|
|
43
|
+
* resizes the window natively.
|
|
44
|
+
*/
|
|
45
|
+
export declare function AuthFormScreen({ image, imageSize, imageAlt, icon: Icon, title, subtitle, children, footer, }: AuthFormScreenProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
//# sourceMappingURL=AuthFormScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthFormScreen.d.ts","sourceRoot":"","sources":["../../../../../src/components/AuthFormScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAA;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAOrD,MAAM,WAAW,mBAAmB;IAClC;;;;OAIG;IACH,KAAK,CAAC,EAAE,mBAAmB,CAAA;IAC3B,mEAAmE;IACnE,SAAS,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAA;IAC7C,8CAA8C;IAC9C,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,gGAAgG;IAChG,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,iGAAiG;IACjG,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,mDAAmD;IACnD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,4CAA4C;IAC5C,QAAQ,EAAE,SAAS,CAAA;IACnB,gEAAgE;IAChE,MAAM,CAAC,EAAE,SAAS,CAAA;CACnB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,SAAS,EACT,QAAQ,EACR,IAAI,EAAE,IAAI,EACV,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,MAAM,GACP,EAAE,mBAAmB,2CAmDrB"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
import { type LucideIcon } from 'lucide-react-native';
|
|
3
|
+
export type AvatarSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
|
+
export interface AvatarProps {
|
|
5
|
+
/** Photo URL — when set, renders the photo instead of the fallback disc. */
|
|
6
|
+
photoUrl?: string | null;
|
|
7
|
+
/** Display name — first source of initials. */
|
|
8
|
+
displayName?: string | null;
|
|
9
|
+
/** Email — fallback source of initials when the display name is blank. */
|
|
10
|
+
email?: string | null;
|
|
11
|
+
/** Stable id (e.g. a user UUID) — drives the deterministic fallback colour. */
|
|
12
|
+
stableId?: string | null;
|
|
13
|
+
size?: AvatarSize;
|
|
14
|
+
onPress?: () => void;
|
|
15
|
+
/**
|
|
16
|
+
* Override the fallback disc background. By default the disc colour is DERIVED
|
|
17
|
+
* deterministically from the theme by hashing `stableId` over the theme's own
|
|
18
|
+
* brand/semantic ramps (see {@link resolveAvatarColors}); pass this to force a
|
|
19
|
+
* specific theme colour instead.
|
|
20
|
+
*/
|
|
21
|
+
fallbackColor?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Override BOTH the fallback disc background and the initials / leaf ink — for
|
|
24
|
+
* a consumer that injects its own per-id palette pair (e.g. an app-specific
|
|
25
|
+
* `avatarFallback` ramp). Takes precedence over {@link fallbackColor}.
|
|
26
|
+
*/
|
|
27
|
+
fallbackColors?: {
|
|
28
|
+
disc: string;
|
|
29
|
+
ink: string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Override the initials font face. Pass a string for one face, or a function
|
|
33
|
+
* of the resolved `size` for per-size weights. Defaults to the theme font (via
|
|
34
|
+
* {@link Text}).
|
|
35
|
+
*/
|
|
36
|
+
initialsFontFamily?: string | ((size: AvatarSize) => string);
|
|
37
|
+
/**
|
|
38
|
+
* Icon shown in the fallback disc when no initials can be derived (no name or
|
|
39
|
+
* email). Defaults to a neutral `UserRound`; pass an app-flavoured glyph
|
|
40
|
+
* (e.g. `Leaf`, `Coffee`) to match the product.
|
|
41
|
+
*/
|
|
42
|
+
fallbackIcon?: LucideIcon;
|
|
43
|
+
/** Level / status ring colour (outer circle). Omit for no ring. */
|
|
44
|
+
ringColor?: string | null;
|
|
45
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
46
|
+
style?: StyleProp<ViewStyle>;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Theme-agnostic avatar — a photo when `photoUrl` is set, otherwise a coloured
|
|
50
|
+
* disc with the user's initials (or a neutral `fallbackIcon` when none can be
|
|
51
|
+
* derived — overridable per app).
|
|
52
|
+
*
|
|
53
|
+
* SELF-CONTAINED fallback colour: the pilot consumer read a tea-specific
|
|
54
|
+
* `colors.avatarFallback` palette token that is NOT in everkit's `ThemeColors`
|
|
55
|
+
* contract. Here the disc `{ bg, ink }` is DERIVED from the theme by hashing
|
|
56
|
+
* `stableId` over the theme's own `brand.*` / `semantic.*` ramps (the pure
|
|
57
|
+
* {@link resolveAvatarColors} helper), so it follows any injected palette with no
|
|
58
|
+
* app token — or pass `fallbackColor` to force the disc background. The initials
|
|
59
|
+
* font comes from the theme via {@link Text}. The optional `ringColor` draws an
|
|
60
|
+
* OUTER ring (an outer disc, not a `borderWidth`, which would eat into content).
|
|
61
|
+
* `style` is an inline override merged last so consumers can retune layout.
|
|
62
|
+
*/
|
|
63
|
+
export declare function Avatar({ photoUrl, displayName, email, stableId, size, onPress, fallbackColor, fallbackColors, initialsFontFamily, fallbackIcon: FallbackIcon, ringColor, style, }: AvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAC9E,OAAO,EAAa,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAMhE,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAEzD,MAAM,WAAW,WAAW;IAC1B,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,+CAA+C;IAC/C,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,0EAA0E;IAC1E,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAA;IAC9C;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,EAAE,UAAU,KAAK,MAAM,CAAC,CAAA;IAC5D;;;;OAIG;IACH,YAAY,CAAC,EAAE,UAAU,CAAA;IACzB,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAmBD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,MAAM,CAAC,EACrB,QAAQ,EACR,WAAW,EACX,KAAK,EACL,QAAQ,EACR,IAAW,EACX,OAAO,EACP,aAAa,EACb,cAAc,EACd,kBAAkB,EAClB,YAAY,EAAE,YAAwB,EACtC,SAAS,EACT,KAAK,GACN,EAAE,WAAW,2CA0Fb"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
|
+
/** One cited web source — a generic `{ title, url }`, never a domain type. */
|
|
3
|
+
export interface ChatSource {
|
|
4
|
+
title: string;
|
|
5
|
+
url: string;
|
|
6
|
+
}
|
|
7
|
+
export interface BotChatBubbleProps {
|
|
8
|
+
/** Bubble text — rendered with inline-markdown via {@link FormattedText}. */
|
|
9
|
+
content: string;
|
|
10
|
+
/** While true, shows a {@link TypingIndicator} in place of the content. */
|
|
11
|
+
isLoading?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Optional cited sources, rendered as tappable pills under the bubble. A
|
|
14
|
+
* generic `{ title, url }[]` — the library owns no web-source domain type.
|
|
15
|
+
* Tapping opens the URL via `Linking.openURL`.
|
|
16
|
+
*/
|
|
17
|
+
sources?: ChatSource[];
|
|
18
|
+
/**
|
|
19
|
+
* Avatar glyph shown in the brand-filled disc beside the bubble. Pass your own
|
|
20
|
+
* (e.g. a `<Coffee/>` or `<Leaf/>`) tinted with `colors.text.inverse`. Defaults
|
|
21
|
+
* to a generic sparkle.
|
|
22
|
+
*/
|
|
23
|
+
avatarIcon?: ReactNode;
|
|
24
|
+
}
|
|
25
|
+
declare function BotChatBubbleImpl({ content, isLoading, sources, avatarIcon }: BotChatBubbleProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
/**
|
|
27
|
+
* Theme-agnostic incoming (bot) chat bubble — a brand avatar disc + a left-tail
|
|
28
|
+
* bubble, an optional row of tappable source pills, and a typing state.
|
|
29
|
+
*
|
|
30
|
+
* GENERIC: it carries NO domain coupling. Sources are a plain
|
|
31
|
+
* `{ title, url }[]` (not a web-source domain type) and the avatar glyph is
|
|
32
|
+
* injected by the caller, so the same bubble serves any chat. Color comes INLINE
|
|
33
|
+
* from {@link useColors}: the avatar + nothing else uses `brand.primary`, the
|
|
34
|
+
* bubble is `bg.card` with the themed {@link useShadows} `sm` elevation, the text
|
|
35
|
+
* is `text.primary` (via {@link FormattedText}, which also renders inline
|
|
36
|
+
* markdown), and source pills are `bg.secondary` with `text.secondary` content.
|
|
37
|
+
* Memoised so older bubbles in a long inverted `FlatList` do not re-render when a
|
|
38
|
+
* new message is appended or the latest bubble's loading flips.
|
|
39
|
+
*/
|
|
40
|
+
export declare const BotChatBubble: React.MemoExoticComponent<typeof BotChatBubbleImpl>;
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=BotChatBubble.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BotChatBubble.d.ts","sourceRoot":"","sources":["../../../../../src/components/BotChatBubble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAS7C,8EAA8E;AAC9E,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,kBAAkB;IACjC,6EAA6E;IAC7E,OAAO,EAAE,MAAM,CAAA;IACf,2EAA2E;IAC3E,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,UAAU,EAAE,CAAA;IACtB;;;;OAIG;IACH,UAAU,CAAC,EAAE,SAAS,CAAA;CACvB;AAED,iBAAS,iBAAiB,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,kBAAkB,2CA6FzF;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,aAAa,qDAOzB,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { DimensionValue } from 'react-native';
|
|
3
|
+
export interface BottomActionSheetProps {
|
|
4
|
+
visible: boolean;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
/**
|
|
7
|
+
* Optional cap on the sheet container's height. Use `'80%'` (or similar) for
|
|
8
|
+
* sheets whose body is a long ScrollView; omit for action lists that size to
|
|
9
|
+
* their content.
|
|
10
|
+
*/
|
|
11
|
+
maxHeight?: DimensionValue;
|
|
12
|
+
/**
|
|
13
|
+
* Round the BOTTOM corners too (to match the top) and lift the sheet off the
|
|
14
|
+
* screen edge so it reads as a floating card. Default `false` keeps the classic
|
|
15
|
+
* flush-to-bottom sheet.
|
|
16
|
+
*/
|
|
17
|
+
roundedBottom?: boolean;
|
|
18
|
+
/** Dim of the backdrop scrim (fixed black, theme-independent). Defaults to `0.4`. */
|
|
19
|
+
backdropOpacity?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Wrap the sheet in a keyboard avoider so a `TextInput` in the body stays
|
|
22
|
+
* above the keyboard. Default `false` — enable only for sheets with inputs
|
|
23
|
+
* (the Modal detaches from the parent tree, so an outer screen's keyboard
|
|
24
|
+
* avoider can't reach inputs rendered here).
|
|
25
|
+
*/
|
|
26
|
+
keyboardAware?: boolean;
|
|
27
|
+
children: ReactNode;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Theme-agnostic bottom-sheet scaffold — owns the `Modal` + dim backdrop + sheet
|
|
31
|
+
* container + grabber bar, so consumers only render the body (title, action rows,
|
|
32
|
+
* lists, etc.).
|
|
33
|
+
*
|
|
34
|
+
* A `Modal`-based sheet (rather than `@gorhom/bottom-sheet`): short, modal, no
|
|
35
|
+
* gesture-drag — which keeps the library dependency-free and avoids gesture/
|
|
36
|
+
* animation regressions. Tap-outside-to-close is the outer `<Pressable
|
|
37
|
+
* onPress={onClose}>` with an inner `<Pressable>` that swallows taps on the body.
|
|
38
|
+
*
|
|
39
|
+
* Color comes INLINE from {@link useColors} (`bg.primary` surface, `border.strong`
|
|
40
|
+
* grabber); spacing + radii from the {@link SPACE}/{@link RADIUS} scale. The
|
|
41
|
+
* backdrop is a fixed black scrim (modal dim is conventionally dark on any theme),
|
|
42
|
+
* its opacity tunable via `backdropOpacity`.
|
|
43
|
+
*/
|
|
44
|
+
export declare function BottomActionSheet({ visible, onClose, maxHeight, roundedBottom, backdropOpacity, keyboardAware, children, }: BottomActionSheetProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
//# sourceMappingURL=BottomActionSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BottomActionSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/BottomActionSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAMlD,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,qFAAqF;IACrF,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,OAAO,EACP,SAAS,EACT,aAAqB,EACrB,eAAqB,EACrB,aAAqB,EACrB,QAAQ,GACT,EAAE,sBAAsB,2CAmDxB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
export type ButtonVariant = 'primary' | 'secondary' | 'accent' | 'outline' | 'ghost' | 'danger';
|
|
4
|
+
export type ButtonSize = 'sm' | 'md' | 'lg';
|
|
5
|
+
export interface ButtonProps {
|
|
6
|
+
variant?: ButtonVariant;
|
|
7
|
+
size?: ButtonSize;
|
|
8
|
+
icon?: React.ReactNode;
|
|
9
|
+
iconPosition?: 'left' | 'right';
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
fullWidth?: boolean;
|
|
13
|
+
children: React.ReactNode;
|
|
14
|
+
onPress?: () => void;
|
|
15
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
16
|
+
style?: StyleProp<ViewStyle>;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Theme-agnostic call-to-action button.
|
|
20
|
+
*
|
|
21
|
+
* Color comes INLINE from {@link useColors}: the surface is a `brand.*` /
|
|
22
|
+
* `semantic.error` / `bg.primary` token (per variant), and the label + loader
|
|
23
|
+
* use `text.inverse` or `brand.primary` per the {@link INK} map. Elevation comes
|
|
24
|
+
* from the themed {@link useShadows} `sm` preset (so each theme tunes its own
|
|
25
|
+
* dark-mode opacity), and the press scale runs on the lifted {@link SPRINGS}.
|
|
26
|
+
* Layout (flex, padding, radius) is applied INLINE from the library-owned
|
|
27
|
+
* {@link SPACE}/{@link RADIUS} scale, so the button renders with no NativeWind
|
|
28
|
+
* setup in the consumer; `style` is an inline override merged last.
|
|
29
|
+
*/
|
|
30
|
+
export declare function Button({ variant, size, icon, iconPosition, loading, disabled, fullWidth, children, onPress, style, }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAsC,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAWjG,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAA;AAE/F,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE3C,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,aAAa,CAAA;IACvB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAmCD;;;;;;;;;;;GAWG;AACH,wBAAgB,MAAM,CAAC,EACrB,OAAmB,EACnB,IAAW,EACX,IAAI,EACJ,YAAqB,EACrB,OAAe,EACf,QAAgB,EAChB,SAAiB,EACjB,QAAQ,EACR,OAAO,EACP,KAAK,GACN,EAAE,WAAW,2CAiFb"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
export type CardVariant = 'default' | 'accent';
|
|
4
|
+
/** Shared card surface specs — use these in ad-hoc card-like Views for consistency. */
|
|
5
|
+
export declare const CARD_SPECS: {
|
|
6
|
+
readonly sm: {
|
|
7
|
+
readonly borderRadius: 14;
|
|
8
|
+
readonly padding: 12;
|
|
9
|
+
};
|
|
10
|
+
readonly md: {
|
|
11
|
+
readonly borderRadius: 16;
|
|
12
|
+
readonly padding: 16;
|
|
13
|
+
};
|
|
14
|
+
readonly lg: {
|
|
15
|
+
readonly borderRadius: 20;
|
|
16
|
+
readonly padding: 20;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export interface CardProps {
|
|
20
|
+
variant?: CardVariant;
|
|
21
|
+
/**
|
|
22
|
+
* Left-border color for the `"accent"` variant. A theme color string
|
|
23
|
+
* (e.g. `colors.brand.primary`), NOT a Tailwind class — keeping it a value
|
|
24
|
+
* prop is what lets the accent follow any injected theme. Defaults to
|
|
25
|
+
* `colors.brand.primary` when omitted.
|
|
26
|
+
*/
|
|
27
|
+
accentColor?: string;
|
|
28
|
+
onPress?: () => void;
|
|
29
|
+
onLongPress?: () => void;
|
|
30
|
+
children: React.ReactNode;
|
|
31
|
+
/** Optional inline style override, merged last so callers can retune the surface. */
|
|
32
|
+
style?: StyleProp<ViewStyle>;
|
|
33
|
+
accessibilityLabel?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Theme-agnostic surface card.
|
|
37
|
+
*
|
|
38
|
+
* The surface color comes INLINE from {@link useColors} (`bg.card`) and the
|
|
39
|
+
* elevation from the themed {@link useShadows} `md` preset, so each theme tunes
|
|
40
|
+
* its own dark-mode shadow. When `onPress`/`onLongPress` is supplied the card
|
|
41
|
+
* becomes a Pressable with a subtle press-scale on the lifted {@link SPRINGS};
|
|
42
|
+
* otherwise it is a static `Animated.View`. The `"accent"` variant draws a left
|
|
43
|
+
* border in {@link CardProps.accentColor} (a theme color value, not a domain
|
|
44
|
+
* class). Layout (radius + padding) is applied INLINE from the library-owned
|
|
45
|
+
* {@link SPACE}/{@link RADIUS} scale, so the card renders with no NativeWind
|
|
46
|
+
* setup in the consumer; `style` is an inline escape hatch merged last.
|
|
47
|
+
*/
|
|
48
|
+
export declare function Card({ variant, accentColor, onPress, onLongPress, children, style, accessibilityLabel, }: CardProps): import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
//# sourceMappingURL=Card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/components/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAa,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAUxE,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAA;AAE9C,uFAAuF;AACvF,eAAO,MAAM,UAAU;;;;;;;;;;;;;CAIb,CAAA;AAEV,MAAM,WAAW,SAAS;IACxB,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,qFAAqF;IACrF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAQD;;;;;;;;;;;;GAYG;AACH,wBAAgB,IAAI,CAAC,EACnB,OAAmB,EACnB,WAAW,EACX,OAAO,EACP,WAAW,EACX,QAAQ,EACR,KAAK,EACL,kBAAkB,GACnB,EAAE,SAAS,2CAiDX"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export interface CarouselProps<T> {
|
|
3
|
+
/** Items to render, in display order. */
|
|
4
|
+
data: T[];
|
|
5
|
+
/**
|
|
6
|
+
* Renders a single item. The carousel handles the spacing between items, so
|
|
7
|
+
* `renderItem` only needs to return the card itself — give it an explicit
|
|
8
|
+
* width (or set {@link CarouselProps.itemWidth}) for snapping to line up.
|
|
9
|
+
*/
|
|
10
|
+
renderItem: (item: T, index: number) => ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Stable key for each item. Defaults to the array index — pass a real
|
|
13
|
+
* identity when the data can reorder.
|
|
14
|
+
*/
|
|
15
|
+
keyExtractor?: (item: T, index: number) => string;
|
|
16
|
+
/**
|
|
17
|
+
* Width of one item in points. Required for {@link CarouselProps.snap} to
|
|
18
|
+
* compute the snap interval; when omitted the row scrolls freely.
|
|
19
|
+
*/
|
|
20
|
+
itemWidth?: number;
|
|
21
|
+
/** Horizontal gap between items. Defaults to {@link SPACE}['3'] (12). */
|
|
22
|
+
gap?: number;
|
|
23
|
+
/** Padding on the leading + trailing edge of the row, e.g. to align with content. */
|
|
24
|
+
contentPaddingHorizontal?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Snap each item to the start as it scrolls. Defaults to `true`; the snap
|
|
27
|
+
* interval is `itemWidth + gap`, so it only takes effect with `itemWidth` set.
|
|
28
|
+
*/
|
|
29
|
+
snap?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Theme-agnostic horizontal snap carousel. Generic over the item type `T`: the
|
|
33
|
+
* carousel owns only the horizontal layout (gap, edge padding, snapping) and
|
|
34
|
+
* delegates every card to `renderItem`, so the same row carries products,
|
|
35
|
+
* photos, stats — anything one-wide. Domain-free: no card, store, or router is
|
|
36
|
+
* imported; the consumer injects the cards.
|
|
37
|
+
*
|
|
38
|
+
* `ScrollView`-based (horizontal, scrollbar hidden) to match the source it was
|
|
39
|
+
* ported from. With {@link CarouselProps.itemWidth} set and `snap` left on, each
|
|
40
|
+
* item snaps to the start via `snapToInterval = itemWidth + gap`. Spacing comes
|
|
41
|
+
* INLINE from the library-owned {@link SPACE} scale — the row renders with no
|
|
42
|
+
* NativeWind setup in the consumer.
|
|
43
|
+
*/
|
|
44
|
+
export declare function Carousel<T>({ data, renderItem, keyExtractor, itemWidth, gap, contentPaddingHorizontal, snap, }: CarouselProps<T>): import("react/jsx-runtime").JSX.Element | null;
|
|
45
|
+
//# sourceMappingURL=Carousel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../../../src/components/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAQtC,MAAM,WAAW,aAAa,CAAC,CAAC;IAC9B,yCAAyC;IACzC,IAAI,EAAE,CAAC,EAAE,CAAA;IACT;;;;OAIG;IACH,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAA;IACjD;;;OAGG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IACjD;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,yEAAyE;IACzE,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,qFAAqF;IACrF,wBAAwB,CAAC,EAAE,MAAM,CAAA;IACjC;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;AAMD;;;;;;;;;;;;GAYG;AACH,wBAAgB,QAAQ,CAAC,CAAC,EAAE,EAC1B,IAAI,EACJ,UAAU,EACV,YAAY,EACZ,SAAS,EACT,GAAgB,EAChB,wBAAwB,EACxB,IAAW,GACZ,EAAE,aAAa,CAAC,CAAC,CAAC,kDAwBlB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export interface ChatInputBarProps {
|
|
3
|
+
value: string;
|
|
4
|
+
onChangeText: (text: string) => void;
|
|
5
|
+
onSend: () => void;
|
|
6
|
+
/** Disables the send button while a parent mutation is in flight. */
|
|
7
|
+
isSending?: boolean;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
maxLength?: number;
|
|
10
|
+
/** Optional inline style override, merged last so callers can retune the bar's layout. */
|
|
11
|
+
style?: StyleProp<ViewStyle>;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Theme-agnostic chat composer — a multiline rounded input with a send button,
|
|
15
|
+
* anchored at the bottom of a {@link ChatScreen}.
|
|
16
|
+
*
|
|
17
|
+
* Color comes INLINE from {@link useColors}: the bar fills with `bg.primary`
|
|
18
|
+
* (with a `border.default` top hairline), the field is `bg.card` with
|
|
19
|
+
* `text.primary` text + `text.tertiary` placeholder, and the send button is
|
|
20
|
+
* `brand.primary` (themed {@link useShadows} `sm`) when sendable / `bg.secondary`
|
|
21
|
+
* when not. The field FONT also comes from the theme — `body-md` family +
|
|
22
|
+
* geometry inline — never a `font-*` className (those do not resolve reliably on
|
|
23
|
+
* native). Layout (flex, padding, radius) is applied INLINE from the
|
|
24
|
+
* library-owned {@link SPACE}/{@link RADIUS} scale, so the bar renders with no
|
|
25
|
+
* NativeWind setup in the consumer; `style` is an inline override merged last.
|
|
26
|
+
*/
|
|
27
|
+
export declare function ChatInputBar({ value, onChangeText, onSend, isSending, placeholder, maxLength, style, }: ChatInputBarProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
//# sourceMappingURL=ChatInputBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatInputBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatInputBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,SAAS,EAAkB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAMzG,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,qEAAqE;IACrE,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,0FAA0F;IAC1F,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,YAAY,EACZ,MAAM,EACN,SAAiB,EACjB,WAAiC,EACjC,SAAgB,EAChB,KAAK,GACN,EAAE,iBAAiB,2CA6EnB"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { ReactNode, Ref } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { type ListRenderItem, type NativeScrollEvent, type NativeSyntheticEvent } from 'react-native';
|
|
4
|
+
/**
|
|
5
|
+
* Minimal contract every message must satisfy: a stable `id` for the FlatList.
|
|
6
|
+
* Callers pass their own full message shape; this scaffold never introspects
|
|
7
|
+
* anything beyond `id` — it is fully generic over the message type.
|
|
8
|
+
*/
|
|
9
|
+
export interface ChatMessage {
|
|
10
|
+
id: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Imperative handle exposed via `ref`. The only verb is `scrollToBottom` (used by
|
|
14
|
+
* a "back to latest" affordance). Kept intentionally small — anything richer
|
|
15
|
+
* would leak the FlatList implementation.
|
|
16
|
+
*/
|
|
17
|
+
export interface ChatScreenHandle {
|
|
18
|
+
scrollToBottom: (options?: {
|
|
19
|
+
animated?: boolean;
|
|
20
|
+
}) => void;
|
|
21
|
+
}
|
|
22
|
+
export interface ChatScreenProps<M extends ChatMessage> {
|
|
23
|
+
/** Big header copy — e.g. "AI Assistant". */
|
|
24
|
+
title: string;
|
|
25
|
+
/** Optional small line below the title. */
|
|
26
|
+
subtitle?: string;
|
|
27
|
+
/** Back-button handler. Omit to hide the back chevron. The app supplies navigation. */
|
|
28
|
+
onBack?: () => void;
|
|
29
|
+
/** Right-side header slot — e.g. a "reset conversation" button. */
|
|
30
|
+
rightActions?: ReactNode;
|
|
31
|
+
/**
|
|
32
|
+
* Messages in oldest-first order. The scaffold reverses them internally for
|
|
33
|
+
* the inverted FlatList, so callers pass them the natural way round.
|
|
34
|
+
*/
|
|
35
|
+
messages: M[];
|
|
36
|
+
renderMessage: ListRenderItem<M>;
|
|
37
|
+
isLoading?: boolean;
|
|
38
|
+
/** Fallback shown while `isLoading` is true and there are no messages yet. */
|
|
39
|
+
loadingFallback?: ReactNode;
|
|
40
|
+
error?: Error | null;
|
|
41
|
+
onRetry?: () => void;
|
|
42
|
+
/** Shown when `messages` is empty (and not loading). */
|
|
43
|
+
emptyState?: ReactNode;
|
|
44
|
+
/**
|
|
45
|
+
* Receives the trimmed text. Awaited: on rejection, the scaffold restores the
|
|
46
|
+
* original text into the input and calls {@link ChatScreenProps.onSendError}.
|
|
47
|
+
*/
|
|
48
|
+
onSend: (text: string) => Promise<unknown> | void;
|
|
49
|
+
/**
|
|
50
|
+
* Called when `onSend` throws or rejects, AFTER the scaffold has restored the
|
|
51
|
+
* input text. The app surfaces the failure however it likes (e.g. its own
|
|
52
|
+
* toast) — the library owns no toast queue, so there is deliberately no
|
|
53
|
+
* `useToast` coupling here.
|
|
54
|
+
*/
|
|
55
|
+
onSendError?: (error: unknown) => void;
|
|
56
|
+
/** Disables the send button while the parent mutation is in flight. */
|
|
57
|
+
isSending?: boolean;
|
|
58
|
+
inputPlaceholder?: string;
|
|
59
|
+
/** Defaults to `2000`. */
|
|
60
|
+
inputMaxLength?: number;
|
|
61
|
+
/** Forwarded to the FlatList — for pagination. */
|
|
62
|
+
onEndReached?: () => void;
|
|
63
|
+
onEndReachedThreshold?: number;
|
|
64
|
+
/** Footer rendered below the last (oldest, in inverted-coords top) row. */
|
|
65
|
+
listFooter?: ReactNode;
|
|
66
|
+
/** Receives FlatList scroll events — e.g. to drive a "scroll to bottom" button. */
|
|
67
|
+
onListScroll?: (e: NativeSyntheticEvent<NativeScrollEvent>) => void;
|
|
68
|
+
/** Absolutely-positioned overlay above the list (below the input). */
|
|
69
|
+
floatingOverlay?: ReactNode;
|
|
70
|
+
}
|
|
71
|
+
interface ChatScreenComponent {
|
|
72
|
+
<M extends ChatMessage>(props: ChatScreenProps<M> & {
|
|
73
|
+
ref?: Ref<ChatScreenHandle>;
|
|
74
|
+
}): React.ReactElement | null;
|
|
75
|
+
displayName?: string;
|
|
76
|
+
}
|
|
77
|
+
export declare const ChatScreen: ChatScreenComponent;
|
|
78
|
+
export {};
|
|
79
|
+
//# sourceMappingURL=ChatScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatScreen.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChatScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,KAAkF,MAAM,OAAO,CAAA;AACtG,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EAC1B,MAAM,cAAc,CAAA;AASrB;;;;GAIG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;CACX;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,cAAc,EAAE,CAAC,OAAO,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAA;CAC3D;AAED,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,WAAW;IACpD,6CAA6C;IAC7C,KAAK,EAAE,MAAM,CAAA;IACb,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,uFAAuF;IACvF,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,mEAAmE;IACnE,YAAY,CAAC,EAAE,SAAS,CAAA;IAExB;;;OAGG;IACH,QAAQ,EAAE,CAAC,EAAE,CAAA;IACb,aAAa,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;IAEhC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,8EAA8E;IAC9E,eAAe,CAAC,EAAE,SAAS,CAAA;IAC3B,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,wDAAwD;IACxD,UAAU,CAAC,EAAE,SAAS,CAAA;IAEtB;;;OAGG;IACH,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,IAAI,CAAA;IACjD;;;;;OAKG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IACtC,uEAAuE;IACvE,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,0BAA0B;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAA;IAEvB,kDAAkD;IAClD,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;IACzB,qBAAqB,CAAC,EAAE,MAAM,CAAA;IAC9B,2EAA2E;IAC3E,UAAU,CAAC,EAAE,SAAS,CAAA;IACtB,mFAAmF;IACnF,YAAY,CAAC,EAAE,CAAC,CAAC,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAA;IACnE,sEAAsE;IACtE,eAAe,CAAC,EAAE,SAAS,CAAA;CAC5B;AAED,UAAU,mBAAmB;IAC3B,CAAC,CAAC,SAAS,WAAW,EACpB,KAAK,EAAE,eAAe,CAAC,CAAC,CAAC,GAAG;QAAE,GAAG,CAAC,EAAE,GAAG,CAAC,gBAAgB,CAAC,CAAA;KAAE,GAC1D,KAAK,CAAC,YAAY,GAAG,IAAI,CAAA;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAqLD,eAAO,MAAM,UAAU,EAAkC,mBAAmB,CAC3E"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
import type { LucideIcon } from 'lucide-react-native';
|
|
4
|
+
import { type ChipSize, type ChipVariant } from '../internal/chipStyle';
|
|
5
|
+
export type { ChipSize, ChipVariant } from '../internal/chipStyle';
|
|
6
|
+
export interface ChipProps {
|
|
7
|
+
/** Visual variant — drives bg + fg colour. Defaults to `'default'`. */
|
|
8
|
+
variant?: ChipVariant;
|
|
9
|
+
/** Pill label. */
|
|
10
|
+
label: string;
|
|
11
|
+
/** Leading lucide icon, colored to match the chip's foreground. */
|
|
12
|
+
icon?: LucideIcon;
|
|
13
|
+
/** Size preset — defaults to `'md'`. */
|
|
14
|
+
size?: ChipSize;
|
|
15
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
16
|
+
style?: StyleProp<ViewStyle>;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Theme-agnostic pill-shaped tag — the single primitive for chip-style labels.
|
|
20
|
+
*
|
|
21
|
+
* GENERIC variants only (`default | info | success | warning`); domain chips
|
|
22
|
+
* (tea-companion's `'tea-type'`, espresso's diag chips) read per-app palettes
|
|
23
|
+
* and stay per app. Background + foreground come INLINE from {@link useColors}
|
|
24
|
+
* via the pure {@link resolveChipColors} helper — `default` uses neutral
|
|
25
|
+
* `bg.tertiary` / `text.secondary`, `success` uses `brand.primaryLight` /
|
|
26
|
+
* `brand.primaryDark`, and `info` / `warning` are translucent washes over the
|
|
27
|
+
* matching `semantic.*` colour. No hardcoded hex. Size geometry (padding, gap,
|
|
28
|
+
* icon/emoji sizing, text variant) comes from {@link resolveChipSize}.
|
|
29
|
+
*
|
|
30
|
+
* `icon` is an optional leading visual, colored to match the foreground.
|
|
31
|
+
* Layout (flex, radius, alignment) is applied INLINE from the library-owned
|
|
32
|
+
* {@link RADIUS} scale, so the chip renders with no NativeWind setup in the
|
|
33
|
+
* consumer; `style` is an inline override merged last.
|
|
34
|
+
*/
|
|
35
|
+
export declare const Chip: React.NamedExoticComponent<ChipProps>;
|
|
36
|
+
//# sourceMappingURL=Chip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AACnE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAIrD,OAAO,EAGL,KAAK,QAAQ,EACb,KAAK,WAAW,EACjB,MAAM,uBAAuB,CAAA;AAE9B,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAA;AAElE,MAAM,WAAW,SAAS;IACxB,uEAAuE;IACvE,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,mEAAmE;IACnE,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,wCAAwC;IACxC,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,IAAI,uCAmCf,CAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export interface ChipSelectorOption {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
4
|
+
/**
|
|
5
|
+
* Per-option active fill colour, overriding the component-level `color` ramp
|
|
6
|
+
* for this chip only (e.g. a category-coded filter bar). When set, the active
|
|
7
|
+
* chip fills with this colour and its label uses `text.inverse`.
|
|
8
|
+
*/
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
export type ChipSelectorVariant = 'filled' | 'outlined';
|
|
12
|
+
export type ChipSelectorColor = 'primary' | 'secondary' | 'accent';
|
|
13
|
+
export type ChipSelectorLayout = 'wrap' | 'scroll';
|
|
14
|
+
export type ChipSelectorShape = 'pill' | 'rounded';
|
|
15
|
+
export interface ChipSelectorProps {
|
|
16
|
+
options: ChipSelectorOption[];
|
|
17
|
+
/** The currently-selected value, or `null` for none. */
|
|
18
|
+
selected: string | null;
|
|
19
|
+
onSelect: (value: string) => void;
|
|
20
|
+
/** `'filled'` = solid brand fill when active; `'outlined'` = light brand wash. */
|
|
21
|
+
variant?: ChipSelectorVariant;
|
|
22
|
+
/** Which brand ramp the active chip uses. Defaults to `'primary'`. */
|
|
23
|
+
color?: ChipSelectorColor;
|
|
24
|
+
/** `'wrap'` flows onto multiple rows; `'scroll'` is a single horizontal row. */
|
|
25
|
+
layout?: ChipSelectorLayout;
|
|
26
|
+
/** `'pill'` = fully rounded; `'rounded'` = 12dp radius. */
|
|
27
|
+
shape?: ChipSelectorShape;
|
|
28
|
+
/** Optional label rendered above the chips. */
|
|
29
|
+
label?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Padding on the leading + trailing edge of the chip row (e.g. to align the
|
|
32
|
+
* first chip with screen content). Defaults to `0`.
|
|
33
|
+
*/
|
|
34
|
+
contentPaddingHorizontal?: number;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Theme-agnostic single-select chip group — a row (or wrapping grid) of pill
|
|
38
|
+
* chips where exactly one is active. Distinct from the static {@link Chip} tag:
|
|
39
|
+
* this owns selection state styling and tap handling.
|
|
40
|
+
*
|
|
41
|
+
* Every colour comes INLINE from {@link useColors}: the active `filled` chip
|
|
42
|
+
* fills with the chosen `brand.*` ramp (label `text.inverse`); the active
|
|
43
|
+
* `outlined` chip uses the `brand.*Light` wash (label the matching `brand.*`);
|
|
44
|
+
* inactive chips fill with `bg.secondary` (label `text.secondary`). The pilot
|
|
45
|
+
* consumer's var-backed text classes (`text-white`, `text-brand-*`) are replaced
|
|
46
|
+
* with inline theme colours per the one styling rule. Layout (gap + label
|
|
47
|
+
* spacing) is applied INLINE from the library-owned {@link SPACE} scale, so the
|
|
48
|
+
* chip group renders with no NativeWind setup in the consumer.
|
|
49
|
+
*/
|
|
50
|
+
export declare function ChipSelector({ options, selected, onSelect, variant, color, layout, shape, label, contentPaddingHorizontal, }: ChipSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
//# sourceMappingURL=ChipSelector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipSelector.d.ts","sourceRoot":"","sources":["../../../../../src/components/ChipSelector.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,UAAU,CAAA;AACvD,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAA;AAClE,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,QAAQ,CAAA;AAClD,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,SAAS,CAAA;AAElD,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,kBAAkB,EAAE,CAAA;IAC7B,wDAAwD;IACxD,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,kFAAkF;IAClF,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B,sEAAsE;IACtE,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,gFAAgF;IAChF,MAAM,CAAC,EAAE,kBAAkB,CAAA;IAC3B,2DAA2D;IAC3D,KAAK,CAAC,EAAE,iBAAiB,CAAA;IACzB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;OAGG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAA;CAClC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAkB,EAClB,KAAiB,EACjB,MAAe,EACf,KAAc,EACd,KAAK,EACL,wBAAwB,GACzB,EAAE,iBAAiB,2CAmGnB"}
|