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,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Input — theme-agnostic labeled text field.
|
|
3
|
+
*
|
|
4
|
+
* Usage contract (carried over from the pilot consumers):
|
|
5
|
+
* - Do NOT wrap consumers in a `TouchableWithoutFeedback` or a full-screen
|
|
6
|
+
* `Pressable onPress={Keyboard.dismiss}` — both swallow the first tap on iOS
|
|
7
|
+
* (the "needs two taps to focus" bug).
|
|
8
|
+
* - The enclosing `ScrollView` / `FlatList` must set
|
|
9
|
+
* `keyboardShouldPersistTaps="always"` so taps on inputs are not eaten while
|
|
10
|
+
* the keyboard is open.
|
|
11
|
+
*/
|
|
12
|
+
import type React from 'react';
|
|
13
|
+
import { type StyleProp, type TextInputProps, type ViewStyle } from 'react-native';
|
|
14
|
+
export interface InputProps extends Omit<TextInputProps, 'className'> {
|
|
15
|
+
label?: string;
|
|
16
|
+
placeholder?: string;
|
|
17
|
+
value?: string;
|
|
18
|
+
onChangeText?: (text: string) => void;
|
|
19
|
+
error?: string;
|
|
20
|
+
leftIcon?: React.ReactNode;
|
|
21
|
+
rightIcon?: React.ReactNode;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
/** Show a spinner in place of the field (e.g. while a photo scan fills it). */
|
|
24
|
+
loading?: boolean;
|
|
25
|
+
multiline?: boolean;
|
|
26
|
+
secureTextEntry?: boolean;
|
|
27
|
+
keyboardType?: TextInputProps['keyboardType'];
|
|
28
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
29
|
+
style?: StyleProp<ViewStyle>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Theme-agnostic labeled field.
|
|
33
|
+
*
|
|
34
|
+
* Every colour comes INLINE from {@link useColors}: the container fills with
|
|
35
|
+
* `bg.secondary`, the border is `border.default` (or `semantic.error` when
|
|
36
|
+
* `error` is set), the label is `text.secondary`, the typed text is
|
|
37
|
+
* `text.primary`, and `placeholderTextColor` is `text.tertiary`. The field font
|
|
38
|
+
* also comes from the theme — `fontFamily` from `typography.fontFamily['body-md']`
|
|
39
|
+
* plus the `body-md` size/leading geometry — never a `font-*` className (those
|
|
40
|
+
* don't resolve reliably on native). Layout (flex, padding, radius) is applied
|
|
41
|
+
* INLINE from the library-owned {@link SPACE}/{@link RADIUS} scale, so the field
|
|
42
|
+
* renders with no NativeWind setup in the consumer; `style` is an inline
|
|
43
|
+
* override merged last.
|
|
44
|
+
*
|
|
45
|
+
* The multiline-vs-single-line geometry is the pure lifted {@link resolveInputStyle}
|
|
46
|
+
* helper. `loading` swaps the field for a {@link Spinner} (the library's own
|
|
47
|
+
* primitive) rather than coupling to an app's "reading…" indicator.
|
|
48
|
+
*/
|
|
49
|
+
export declare function Input({ label, placeholder, value, onChangeText, error, leftIcon, rightIcon, disabled, loading, multiline, secureTextEntry, keyboardType, style, ...rest }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,cAAc,EAEnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAA;AAYrB,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,cAAc,EAAE,WAAW,CAAC;IACnE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAA;IAC7C,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAMD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,KAAK,CAAC,EACpB,KAAK,EACL,WAAW,EACX,KAAK,EACL,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,SAAS,EACT,QAAgB,EAChB,OAAe,EACf,SAAiB,EACjB,eAAe,EACf,YAAY,EACZ,KAAK,EACL,GAAG,IAAI,EACR,EAAE,UAAU,2CAmFZ"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ViewStyle } from 'react-native';
|
|
3
|
+
export interface KeyboardAwareProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* Overrides the default `{ flex: 1 }`. Most form screens want the default —
|
|
7
|
+
* pass a style only for bottom-sheet-style hosts that must hug their content.
|
|
8
|
+
*/
|
|
9
|
+
style?: ViewStyle;
|
|
10
|
+
/** Pixels added between the keyboard top and the bottom of the avoided view. */
|
|
11
|
+
keyboardVerticalOffset?: number;
|
|
12
|
+
/** Set to `false` to turn the avoider into a passthrough. Defaults to `true`. */
|
|
13
|
+
enabled?: boolean;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The single allowed `KeyboardAvoidingView` callsite — a thin wrapper that bakes
|
|
17
|
+
* in the platform guard so screens never hardcode `behavior` and drift.
|
|
18
|
+
*
|
|
19
|
+
* The decision (iOS `'padding'`, Android `undefined`, default `{ flex: 1 }`,
|
|
20
|
+
* `enabled` default `true`) lives entirely in the pure lifted
|
|
21
|
+
* {@link resolveKeyboardAwareProps} helper. `behavior` is deliberately NOT part
|
|
22
|
+
* of the public API — `'padding'` on Android stacks with the system window
|
|
23
|
+
* adjustment and double-shifts, so callers cannot override it. Carries NO
|
|
24
|
+
* color/font of its own.
|
|
25
|
+
*/
|
|
26
|
+
export declare function KeyboardAware({ children, style, keyboardVerticalOffset, enabled, }: KeyboardAwareProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
//# sourceMappingURL=KeyboardAware.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyboardAware.d.ts","sourceRoot":"","sources":["../../../../../src/components/KeyboardAware.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAI7C,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,SAAS,CAAA;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,gFAAgF;IAChF,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,iFAAiF;IACjF,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,KAAK,EACL,sBAAsB,EACtB,OAAO,GACR,EAAE,kBAAkB,2CAkBpB"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { type ReactNode, type Ref } from 'react';
|
|
2
|
+
import type { ScrollViewProps, StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
import { ScrollView } from 'react-native';
|
|
4
|
+
export interface KeyboardScrollViewProps {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
/** Forwarded to the inner ScrollView's `contentContainerStyle`. */
|
|
7
|
+
contentContainerStyle?: StyleProp<ViewStyle>;
|
|
8
|
+
/**
|
|
9
|
+
* NativeWind classes forwarded to the inner ScrollView's
|
|
10
|
+
* `contentContainerClassName`. Use this for layout tokens (e.g.
|
|
11
|
+
* `"px-6-ds flex-grow justify-center"`) instead of raw pixels.
|
|
12
|
+
*/
|
|
13
|
+
contentContainerClassName?: string;
|
|
14
|
+
/** Forwarded to the inner ScrollView's `style`. Defaults to `{ flex: 1 }`. */
|
|
15
|
+
style?: StyleProp<ViewStyle>;
|
|
16
|
+
/** Forwarded to the underlying KeyboardAvoidingView. */
|
|
17
|
+
keyboardVerticalOffset?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Default `true`. Set to `false` for nested screens that already sit inside a
|
|
20
|
+
* `<KeyboardAware>` and would otherwise double-shift on Android. Rare path.
|
|
21
|
+
*/
|
|
22
|
+
enableKeyboardAvoidance?: boolean;
|
|
23
|
+
/** Forwarded to the inner ScrollView (RN's own `refreshControl` type). */
|
|
24
|
+
refreshControl?: ScrollViewProps['refreshControl'];
|
|
25
|
+
/** Forwarded to the inner ScrollView. */
|
|
26
|
+
showsVerticalScrollIndicator?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* iOS: auto-inset the scroll content for the keyboard and keep the focused
|
|
29
|
+
* input scrolled into view. Use this INSTEAD of the KAV for forms — pair it
|
|
30
|
+
* with `enableKeyboardAvoidance={false}` so the two don't double-shift.
|
|
31
|
+
*/
|
|
32
|
+
automaticallyAdjustKeyboardInsets?: boolean;
|
|
33
|
+
/** Forwarded ScrollView ref. */
|
|
34
|
+
scrollRef?: Ref<ScrollView>;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Theme-agnostic "scroll body with keyboard avoider" — the ONE place
|
|
38
|
+
* TextInput-bearing screens are handled. Carries NO color/font of its own; all
|
|
39
|
+
* the keyboard rules live in the pure lifted {@link resolveKeyboardScrollViewProps}
|
|
40
|
+
* (the two locked scroll knobs) and {@link resolveKeyboardGapScrollTarget} (the
|
|
41
|
+
* iOS gap nudge).
|
|
42
|
+
*
|
|
43
|
+
* Behaviour baked in once:
|
|
44
|
+
* - The first tap on a `<TextInput>` opens the keyboard (`keyboardShouldPersistTaps="always"`,
|
|
45
|
+
* New-Arch-safe; no blanket ancestor `Pressable`, which starves child gestures).
|
|
46
|
+
* - Tapping empty space while the keyboard is up dismisses it — a gesture-handler
|
|
47
|
+
* Tap gated on `Keyboard.isVisible()`, so it never eats the first-tap focus.
|
|
48
|
+
* - Dragging the body dismisses on BOTH platforms (`onScrollBeginDrag`), and on
|
|
49
|
+
* iOS `keyboardDismissMode="interactive"` rides the keyboard off-screen.
|
|
50
|
+
* - With `automaticallyAdjustKeyboardInsets`, a guaranteed `KEYBOARD_INPUT_GAP`
|
|
51
|
+
* (12pt) is kept between the focused input and the keyboard frame (incl. the
|
|
52
|
+
* iOS QuickType bar), which the native inset code alone leaves flush.
|
|
53
|
+
*
|
|
54
|
+
* IMPORTANT — do NOT put a sticky CTA inside this component. Render it as a
|
|
55
|
+
* SIBLING after `<KeyboardScrollView>` (e.g. via `<StickyBottomBar>`) so it stays
|
|
56
|
+
* anchored to the bottom and hides under the keyboard while typing. Putting it
|
|
57
|
+
* inside the avoider pushes the CTA UP over the body — the exact bug this exists
|
|
58
|
+
* to prevent.
|
|
59
|
+
*/
|
|
60
|
+
export declare function KeyboardScrollView({ children, contentContainerStyle, contentContainerClassName, style, keyboardVerticalOffset, enableKeyboardAvoidance, refreshControl, showsVerticalScrollIndicator, automaticallyAdjustKeyboardInsets, scrollRef, }: KeyboardScrollViewProps): import("react/jsx-runtime").JSX.Element;
|
|
61
|
+
//# sourceMappingURL=KeyboardScrollView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KeyboardScrollView.d.ts","sourceRoot":"","sources":["../../../../../src/components/KeyboardScrollView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,SAAS,EACd,KAAK,GAAG,EACT,MAAM,OAAO,CAAA;AACd,OAAO,KAAK,EAIV,eAAe,EACf,SAAS,EACT,SAAS,EACV,MAAM,cAAc,CAAA;AACrB,OAAO,EAAsB,UAAU,EAAa,MAAM,cAAc,CAAA;AAQxE,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,SAAS,CAAA;IACnB,mEAAmE;IACnE,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5C;;;;OAIG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAA;IAClC,8EAA8E;IAC9E,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B,wDAAwD;IACxD,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;IACjC,0EAA0E;IAC1E,cAAc,CAAC,EAAE,eAAe,CAAC,gBAAgB,CAAC,CAAA;IAClD,yCAAyC;IACzC,4BAA4B,CAAC,EAAE,OAAO,CAAA;IACtC;;;;OAIG;IACH,iCAAiC,CAAC,EAAE,OAAO,CAAA;IAC3C,gCAAgC;IAChC,SAAS,CAAC,EAAE,GAAG,CAAC,UAAU,CAAC,CAAA;CAC5B;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,qBAAqB,EACrB,yBAAyB,EACzB,KAAK,EACL,sBAAsB,EACtB,uBAAuB,EACvB,cAAc,EACd,4BAA4B,EAC5B,iCAAiC,EACjC,SAAS,GACV,EAAE,uBAAuB,2CA8GzB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export interface LegalBulletListProps {
|
|
3
|
+
items: string[];
|
|
4
|
+
/**
|
|
5
|
+
* Spacing override for the list container, merged last so callers can retune
|
|
6
|
+
* layout. Defaults to the dense privacy / terms list spacing
|
|
7
|
+
* (`gap: SPACE['1.5']`, `marginTop: SPACE['1']`). Pass e.g. `{ gap: SPACE['3'] }`
|
|
8
|
+
* for a looser variant.
|
|
9
|
+
*/
|
|
10
|
+
style?: StyleProp<ViewStyle>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Theme-agnostic bulleted list — `• {item}` lines in `body-md`. Used by the
|
|
14
|
+
* legal screens for "you agree not to…" / "we collect…" lists.
|
|
15
|
+
*
|
|
16
|
+
* Colour comes INLINE from {@link useColors}: the bullet is `brand.primary` and
|
|
17
|
+
* the item text is `text.secondary` (the pilot consumer's var-backed
|
|
18
|
+
* `text-text-secondary` class is replaced with an inline colour). Layout (gap +
|
|
19
|
+
* margin) is applied INLINE from the library-owned {@link SPACE} scale, so the
|
|
20
|
+
* list renders with no NativeWind setup in the consumer; `style` is an inline
|
|
21
|
+
* override merged last.
|
|
22
|
+
*/
|
|
23
|
+
export declare function LegalBulletList({ items, style }: LegalBulletListProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
//# sourceMappingURL=LegalBulletList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegalBulletList.d.ts","sourceRoot":"","sources":["../../../../../src/components/LegalBulletList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAKnE,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,EAAE,CAAA;IACf;;;;;OAKG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,oBAAoB,2CAgBrE"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export interface LegalSubSection {
|
|
3
|
+
label: string;
|
|
4
|
+
body: string;
|
|
5
|
+
}
|
|
6
|
+
export interface LegalSectionProps {
|
|
7
|
+
heading: string;
|
|
8
|
+
/** Paragraph(s) shown above bullets / sub-sections. */
|
|
9
|
+
body: string | string[];
|
|
10
|
+
/** Optional bullet list rendered after `body`. */
|
|
11
|
+
bullets?: string[];
|
|
12
|
+
/** Optional named sub-blocks rendered after `body` (e.g. third-party services). */
|
|
13
|
+
subSections?: LegalSubSection[];
|
|
14
|
+
/** Optional paragraph(s) shown after bullets / sub-sections. */
|
|
15
|
+
footer?: string | string[];
|
|
16
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
17
|
+
style?: StyleProp<ViewStyle>;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Theme-agnostic legal section — one block of a privacy / terms screen: a
|
|
21
|
+
* `heading-lg` title, body paragraph(s), an optional {@link LegalBulletList},
|
|
22
|
+
* optional named sub-sections, and optional footer paragraph(s). This is the
|
|
23
|
+
* generic union of every shape espresso's and tea-companion's legal screens use.
|
|
24
|
+
*
|
|
25
|
+
* Colour comes INLINE from {@link useColors}: the heading + sub-section labels
|
|
26
|
+
* default to `text.primary` (via {@link Text}) and all body/footer copy is
|
|
27
|
+
* `text.secondary` (the pilot consumer's var-backed `text-text-secondary` class
|
|
28
|
+
* is replaced with an inline colour per the one styling rule). Layout (gaps +
|
|
29
|
+
* margins) is applied INLINE from the library-owned {@link SPACE} scale, so the
|
|
30
|
+
* section renders with no NativeWind setup in the consumer; `style` is an inline
|
|
31
|
+
* override merged last.
|
|
32
|
+
*/
|
|
33
|
+
export declare function LegalSection({ heading, body, bullets, subSections, footer, style, }: LegalSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
//# sourceMappingURL=LegalSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegalSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/LegalSection.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAM/E,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAA;IACf,uDAAuD;IACvD,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IACvB,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,mFAAmF;IACnF,WAAW,CAAC,EAAE,eAAe,EAAE,CAAA;IAC/B,gEAAgE;IAChE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC1B,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AASD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,YAAY,CAAC,EAC3B,OAAO,EACP,IAAI,EACJ,OAAO,EACP,WAAW,EACX,MAAM,EACN,KAAK,GACN,EAAE,iBAAiB,2CAyCnB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type GestureResponderEvent } from 'react-native';
|
|
3
|
+
export interface LikeButtonProps {
|
|
4
|
+
isLiked: boolean;
|
|
5
|
+
likeCount: number;
|
|
6
|
+
/** Toggle the liked state. Receives nothing; flip `isLiked` in the parent. */
|
|
7
|
+
onLikePress: () => void;
|
|
8
|
+
/**
|
|
9
|
+
* Optional — opens a "who liked this" list when the count is tapped. Receives
|
|
10
|
+
* the press event so a caller can `stopPropagation()` to keep an enclosing
|
|
11
|
+
* card press from also firing.
|
|
12
|
+
*/
|
|
13
|
+
onLikeCountPress?: (e: GestureResponderEvent) => void;
|
|
14
|
+
/** Icon size in dp. Defaults to `16`. */
|
|
15
|
+
size?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Fire a light haptic on like (press-in of an unliked heart). Defaults to
|
|
18
|
+
* `true`. Uses the OPTIONAL `expo-haptics` peer directly — a silent no-op when
|
|
19
|
+
* it isn't installed. Pass `false` to disable.
|
|
20
|
+
*/
|
|
21
|
+
haptic?: boolean;
|
|
22
|
+
/** Override the liked tint. Defaults to `colors.semantic.error`. */
|
|
23
|
+
likedColor?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Theme-agnostic heart + count pair — the "like" affordance for a feed-style
|
|
27
|
+
* card. Owns the pop animation, an optional haptic, and the count accessibility
|
|
28
|
+
* label; stays a pure visual primitive, so callers decide what each Pressable
|
|
29
|
+
* does.
|
|
30
|
+
*
|
|
31
|
+
* Colour comes INLINE from {@link useColors}: a liked heart fills with
|
|
32
|
+
* `semantic.error` (overridable via `likedColor`) and an unliked heart is an
|
|
33
|
+
* outline in `text.tertiary`; the count shares the same tint. Haptics are
|
|
34
|
+
* decoupled from any app hook via the optional `expo-haptics` peer.
|
|
35
|
+
*/
|
|
36
|
+
export declare const LikeButton: React.NamedExoticComponent<LikeButtonProps>;
|
|
37
|
+
//# sourceMappingURL=LikeButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LikeButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/LikeButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsB,MAAM,OAAO,CAAA;AAC1C,OAAO,EAAmB,KAAK,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAc1E,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,8EAA8E;IAC9E,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,CAAC,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAA;IACrD,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,UAAU,6CA4DrB,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export interface LoadingScreenProps {
|
|
3
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
4
|
+
style?: StyleProp<ViewStyle>;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Theme-agnostic full-bleed loading body — a centered spinner on a solid
|
|
8
|
+
* surface, used as the `isLoading` state of `<FormScreen>` / `<DetailScreen>`
|
|
9
|
+
* (the header stays painted above it).
|
|
10
|
+
*
|
|
11
|
+
* Color comes INLINE from {@link useColors}: the fill is `bg.primary` and the
|
|
12
|
+
* indicator is `brand.primary`. Layout (flex + centering) is applied INLINE so
|
|
13
|
+
* the screen renders with no NativeWind setup in the consumer; `style` is an
|
|
14
|
+
* inline override merged last.
|
|
15
|
+
*/
|
|
16
|
+
export declare function LoadingScreen({ style }?: LoadingScreenProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=LoadingScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadingScreen.d.ts","sourceRoot":"","sources":["../../../../../src/components/LoadingScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAGtF,MAAM,WAAW,kBAAkB;IACjC,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,GAAE,kBAAuB,2CAa/D"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface NotesCardProps {
|
|
2
|
+
/** Section heading at the top of the card. */
|
|
3
|
+
heading: string;
|
|
4
|
+
/** Body text — typically free-form notes. */
|
|
5
|
+
body: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Theme-agnostic notes card — a soft surface with a heading and a body
|
|
9
|
+
* paragraph (the "Tasting Notes" / "Notes" block pattern).
|
|
10
|
+
*
|
|
11
|
+
* Colour comes INLINE from {@link useColors}: the surface is `bg.card`, the
|
|
12
|
+
* heading defaults to `text.primary` (via {@link Text}), and the body is
|
|
13
|
+
* `text.secondary`. Elevation comes from the themed {@link useShadows} `sm`
|
|
14
|
+
* preset so each theme tunes its own dark-mode shadow.
|
|
15
|
+
*/
|
|
16
|
+
export declare function NotesCard({ heading, body }: NotesCardProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=NotesCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotesCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/NotesCard.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,cAAc;IAC7B,8CAA8C;IAC9C,OAAO,EAAE,MAAM,CAAA;IACf,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,cAAc,2CAe1D"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface OnboardingSlideProps {
|
|
4
|
+
/** Icon or illustration rendered inside the accent circle. */
|
|
5
|
+
icon: ReactNode;
|
|
6
|
+
/** Background colour of the accent circle (e.g. a `colors.brand.*Light` tint). */
|
|
7
|
+
accent: string;
|
|
8
|
+
/** Display heading shown beneath the circle. */
|
|
9
|
+
heading: string;
|
|
10
|
+
/** Supporting paragraph beneath the heading. */
|
|
11
|
+
body: string;
|
|
12
|
+
/** Outer width — pass the screen width so the slide snaps inside a paged FlatList. */
|
|
13
|
+
width: number;
|
|
14
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
15
|
+
style?: StyleProp<ViewStyle>;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Theme-agnostic onboarding pager slide: an accent-coloured circle holding an
|
|
19
|
+
* icon, a heading, and a body paragraph. Rendered inside a paged horizontal
|
|
20
|
+
* FlatList (the app owns the pager + dots).
|
|
21
|
+
*
|
|
22
|
+
* Colour comes INLINE: the circle fill is the caller-supplied `accent` (a theme
|
|
23
|
+
* value, typically `colors.brand.*Light`), the heading defaults to `text.primary`
|
|
24
|
+
* (via {@link Text}), and the body is `text.secondary` from {@link useColors}.
|
|
25
|
+
* Layout (flex, padding, alignment, margins) is applied INLINE from the
|
|
26
|
+
* library-owned {@link SPACE} scale, so the slide renders with no NativeWind
|
|
27
|
+
* setup in the consumer; `width` is the paging geometry and `style` is an inline
|
|
28
|
+
* override merged last.
|
|
29
|
+
*/
|
|
30
|
+
export declare function OnboardingSlide({ icon, accent, heading, body, width, style, }: OnboardingSlideProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
//# sourceMappingURL=OnboardingSlide.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OnboardingSlide.d.ts","sourceRoot":"","sources":["../../../../../src/components/OnboardingSlide.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAOnE,MAAM,WAAW,oBAAoB;IACnC,8DAA8D;IAC9D,IAAI,EAAE,SAAS,CAAA;IACf,kFAAkF;IAClF,MAAM,EAAE,MAAM,CAAA;IACd,gDAAgD;IAChD,OAAO,EAAE,MAAM,CAAA;IACf,gDAAgD;IAChD,IAAI,EAAE,MAAM,CAAA;IACZ,sFAAsF;IACtF,KAAK,EAAE,MAAM,CAAA;IACb,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,MAAM,EACN,OAAO,EACP,IAAI,EACJ,KAAK,EACL,KAAK,GACN,EAAE,oBAAoB,2CAoCtB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export interface PhotoPickerProps {
|
|
3
|
+
/** Current photo URIs (remote or local), in order. */
|
|
4
|
+
photos: string[];
|
|
5
|
+
/** Cap on photo count — the add tile hides once it's reached. Default `1`. */
|
|
6
|
+
maxPhotos?: number;
|
|
7
|
+
/**
|
|
8
|
+
* The add tile was tapped. The consumer launches its own picker (camera /
|
|
9
|
+
* gallery, permissions, compression — all platform concerns the library
|
|
10
|
+
* stays out of) and appends the result to `photos`.
|
|
11
|
+
*/
|
|
12
|
+
onAddPress: () => void;
|
|
13
|
+
/** The remove badge was tapped for the photo at `index`. */
|
|
14
|
+
onRemove: (index: number) => void;
|
|
15
|
+
/** Thumbnail edge in px. Default `80`. */
|
|
16
|
+
thumbnailSize?: number;
|
|
17
|
+
/** Label under the add tile's camera icon. Default `'Add'`. */
|
|
18
|
+
addLabel?: string;
|
|
19
|
+
/** Inline layout override, merged onto the wrapping row. */
|
|
20
|
+
style?: StyleProp<ViewStyle>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Theme-agnostic multi-photo grid — a wrapping row of thumbnails (each with a
|
|
24
|
+
* remove badge) plus an add tile that's shown until `maxPhotos` is reached.
|
|
25
|
+
*
|
|
26
|
+
* Headless about *picking*: it never touches `expo-image-picker`, permissions,
|
|
27
|
+
* or a source chooser. Tapping the add tile fires {@link onAddPress}, and the
|
|
28
|
+
* consumer runs its own pick flow and appends the URI; removing fires
|
|
29
|
+
* {@link onRemove} with the index. That keeps the platform/permission concern in
|
|
30
|
+
* the app and the visual grid here, reusable across sessions / teas / profiles.
|
|
31
|
+
*
|
|
32
|
+
* Colour comes INLINE from {@link useColors} (`bg.secondary` tiles,
|
|
33
|
+
* `border.default` frame, `semantic.error` remove badge, `text.inverse` glyph);
|
|
34
|
+
* spacing + radii from the {@link SPACE}/{@link RADIUS} scale.
|
|
35
|
+
*/
|
|
36
|
+
export declare function PhotoPicker({ photos, maxPhotos, onAddPress, onRemove, thumbnailSize, addLabel, style, }: PhotoPickerProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
//# sourceMappingURL=PhotoPicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PhotoPicker.d.ts","sourceRoot":"","sources":["../../../../../src/components/PhotoPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAO9E,MAAM,WAAW,gBAAgB;IAC/B,sDAAsD;IACtD,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,8EAA8E;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,UAAU,EAAE,MAAM,IAAI,CAAA;IACtB,4DAA4D;IAC5D,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,0CAA0C;IAC1C,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,4DAA4D;IAC5D,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAKD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,SAAa,EACb,UAAU,EACV,QAAQ,EACR,aAAkB,EAClB,QAAgB,EAChB,KAAK,GACN,EAAE,gBAAgB,2CAoFlB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export interface PhotoStripProps {
|
|
3
|
+
/** Photo URIs to render as horizontal thumbnails. */
|
|
4
|
+
photos: string[];
|
|
5
|
+
/** Fires with the 0-based index of the tapped thumbnail. */
|
|
6
|
+
onPhotoPress: (index: number) => void;
|
|
7
|
+
/** Optional section heading rendered above the strip. */
|
|
8
|
+
heading?: string;
|
|
9
|
+
/** Thumbnail size in points. Defaults to `160`. */
|
|
10
|
+
thumbnailSize?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Offset added to the photo number announced for accessibility — set to `1`
|
|
13
|
+
* when the strip shows "extras" after a hero photo so the first thumbnail
|
|
14
|
+
* announces "View photo 2 fullscreen".
|
|
15
|
+
*/
|
|
16
|
+
accessibilityIndexOffset?: number;
|
|
17
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
18
|
+
style?: StyleProp<ViewStyle>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Theme-agnostic horizontal photo thumbnail strip. Tapping a thumbnail fires
|
|
22
|
+
* `onPhotoPress` with its index — the parent decides what happens (usually opens
|
|
23
|
+
* a fullscreen viewer; the library does not pull in an image-viewer dependency).
|
|
24
|
+
*
|
|
25
|
+
* Carries no colour of its own beyond the optional heading (`text.primary` via
|
|
26
|
+
* {@link Text}); thumbnails render through the library's {@link AppImage} so they
|
|
27
|
+
* get the shared cache policy. Layout (heading gap, thumbnail gap) is applied
|
|
28
|
+
* INLINE from the library-owned {@link SPACE} scale, so the strip renders with no
|
|
29
|
+
* NativeWind setup in the consumer; `style` is an inline override merged last.
|
|
30
|
+
*/
|
|
31
|
+
export declare function PhotoStrip({ photos, onPhotoPress, heading, thumbnailSize, accessibilityIndexOffset, style, }: PhotoStripProps): import("react/jsx-runtime").JSX.Element | null;
|
|
32
|
+
//# sourceMappingURL=PhotoStrip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PhotoStrip.d.ts","sourceRoot":"","sources":["../../../../../src/components/PhotoStrip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAK1F,MAAM,WAAW,eAAe;IAC9B,qDAAqD;IACrD,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,4DAA4D;IAC5D,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,mDAAmD;IACnD,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAA;IACjC,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,YAAY,EACZ,OAAO,EACP,aAAmB,EACnB,wBAA4B,EAC5B,KAAK,GACN,EAAE,eAAe,kDAiCjB"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/** A single viewable image. The bare `{ uri }` shape `react-native-image-viewing` expects. */
|
|
2
|
+
export interface PhotoViewerImage {
|
|
3
|
+
uri: string;
|
|
4
|
+
}
|
|
5
|
+
export interface PhotoViewerProps {
|
|
6
|
+
/**
|
|
7
|
+
* Images to page through, as `{ uri }[]` or a plain `string[]` of URIs (the
|
|
8
|
+
* latter is normalised internally) — the consuming app injects the data.
|
|
9
|
+
*/
|
|
10
|
+
images: PhotoViewerImage[] | string[];
|
|
11
|
+
/** Whether the lightbox is open. The parent owns this state. */
|
|
12
|
+
visible: boolean;
|
|
13
|
+
/** Index of the image shown first. Defaults to `0`. */
|
|
14
|
+
imageIndex?: number;
|
|
15
|
+
/** Fires when the viewer is dismissed (backdrop tap, swipe-down, or close button). */
|
|
16
|
+
onClose: () => void;
|
|
17
|
+
/** Fires with the 0-based index as the user pages between images. */
|
|
18
|
+
onIndexChange?: (index: number) => void;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Theme-agnostic fullscreen image lightbox — a thin wrapper over the optional
|
|
22
|
+
* `react-native-image-viewing` peer with a pure-black backdrop, swipe-to-close and
|
|
23
|
+
* double-tap-to-zoom, plus a custom header (index counter + close button).
|
|
24
|
+
*
|
|
25
|
+
* The backdrop is intrinsically black, so the header chrome is coloured from the
|
|
26
|
+
* theme's on-dark token ({@link useColors} `text.inverse`) for legibility; layout
|
|
27
|
+
* comes INLINE from {@link SPACE} / {@link RADIUS} and the safe-area inset. Side
|
|
28
|
+
* effects (open/close, paging) are injected via props — the parent owns `visible`,
|
|
29
|
+
* `imageIndex` and the data.
|
|
30
|
+
*
|
|
31
|
+
* `react-native-image-viewing` is an optional peer (see top of file); when it is
|
|
32
|
+
* absent the component renders nothing.
|
|
33
|
+
*/
|
|
34
|
+
export declare function PhotoViewer({ images, visible, imageIndex, onClose, onIndexChange }: PhotoViewerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
35
|
+
//# sourceMappingURL=PhotoViewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PhotoViewer.d.ts","sourceRoot":"","sources":["../../../../../src/components/PhotoViewer.tsx"],"names":[],"mappings":"AAoBA,8FAA8F;AAC9F,MAAM,WAAW,gBAAgB;IAC/B,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,MAAM,EAAE,gBAAgB,EAAE,GAAG,MAAM,EAAE,CAAA;IACrC,gEAAgE;IAChE,OAAO,EAAE,OAAO,CAAA;IAChB,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,sFAAsF;IACtF,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,qEAAqE;IACrE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CACxC;AAOD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,UAAc,EAAE,OAAO,EAAE,aAAa,EAAE,EAAE,gBAAgB,kDAwBxG"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface ProgressBarProps {
|
|
4
|
+
/** Fill ratio. Clamped to `0`–`1`. */
|
|
5
|
+
progress: number;
|
|
6
|
+
/** Optional caption shown on the left of the header row (e.g. a title). */
|
|
7
|
+
label?: string;
|
|
8
|
+
/** Optional caption shown on the right of the header row (e.g. a value). */
|
|
9
|
+
trailingLabel?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Optional leading glyph rendered before `label` (the app passes its own
|
|
12
|
+
* lucide icon node — coloured by the caller).
|
|
13
|
+
*/
|
|
14
|
+
icon?: ReactNode;
|
|
15
|
+
/** Override the fill colour. Defaults to `brand.primary`. */
|
|
16
|
+
color?: string;
|
|
17
|
+
/** Override the track (unfilled) colour. Defaults to `bg.secondary`. */
|
|
18
|
+
trackColor?: string;
|
|
19
|
+
/** Bar thickness in px. Defaults to `10`. */
|
|
20
|
+
height?: number;
|
|
21
|
+
/** Spring-animate the fill width on `progress` change. Defaults to `true`. */
|
|
22
|
+
animated?: boolean;
|
|
23
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
24
|
+
style?: StyleProp<ViewStyle>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Theme-agnostic animated horizontal progress bar — a generic fill primitive.
|
|
28
|
+
* The header row (optional leading icon + `label`, with `trailingLabel` on the
|
|
29
|
+
* right) carries no domain meaning: names and values are injected by the caller.
|
|
30
|
+
*
|
|
31
|
+
* Colour comes INLINE from {@link useColors}: the fill defaults to
|
|
32
|
+
* `brand.primary` and the track to `bg.secondary`, both overridable via `color`
|
|
33
|
+
* / `trackColor`. The label tints from `color` (so it matches the fill) and the
|
|
34
|
+
* trailing label from `text.tertiary`. Layout (gaps + spacing) is applied INLINE
|
|
35
|
+
* from the library-owned {@link SPACE} scale, so the bar renders with no
|
|
36
|
+
* NativeWind setup in the consumer; `style` is an inline override merged last.
|
|
37
|
+
*
|
|
38
|
+
* When `animated` the fill width springs to `progress` on change (matching the
|
|
39
|
+
* source's `withSpring` feel); otherwise it snaps. `progress` is clamped to
|
|
40
|
+
* `0`–`1`.
|
|
41
|
+
*/
|
|
42
|
+
export declare function ProgressBar({ progress, label, trailingLabel, icon, color, trackColor, height, animated, style, }: ProgressBarProps): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
//# sourceMappingURL=ProgressBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/ProgressBar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AACjD,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAMnE,MAAM,WAAW,gBAAgB;IAC/B,sCAAsC;IACtC,QAAQ,EAAE,MAAM,CAAA;IAChB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4EAA4E;IAC5E,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,6CAA6C;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAKD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,KAAK,EACL,aAAa,EACb,IAAI,EACJ,KAAK,EACL,UAAU,EACV,MAAuB,EACvB,QAAe,EACf,KAAK,GACN,EAAE,gBAAgB,2CAqElB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type ViewStyle } from 'react-native';
|
|
3
|
+
export interface ScreenGradientProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/** Inline style merged onto the outer gradient (e.g. an extra `flex` rule). */
|
|
6
|
+
style?: ViewStyle;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Theme-agnostic full-screen background — the base every scaffold (`FormScreen`,
|
|
10
|
+
* `DetailScreen`, `AuthFormScreen`) wraps its content in.
|
|
11
|
+
*
|
|
12
|
+
* Color comes INLINE from {@link useColors}: the base stops are
|
|
13
|
+
* `colors.gradient.screen` (a `[string, string, ...]` tuple the theme owns), so
|
|
14
|
+
* the screen background follows any injected palette rather than a
|
|
15
|
+
* `bg-bg-primary` className (NativeWind's CSS-variable path doesn't resolve
|
|
16
|
+
* reliably on native — it left screens rendering plain white). A faint diagonal
|
|
17
|
+
* brand WASH is layered on top for depth; its color is DERIVED from
|
|
18
|
+
* `colors.brand.primary` at 10% via {@link hexToRgba} (never a literal brand
|
|
19
|
+
* rgba), fading to a generic `'transparent'`. Works in light and dark
|
|
20
|
+
* automatically.
|
|
21
|
+
*
|
|
22
|
+
* Usage: wrap a screen's content and put the (transparent) SafeAreaView inside.
|
|
23
|
+
*/
|
|
24
|
+
export declare function ScreenGradient({ children, style }: ScreenGradientProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
//# sourceMappingURL=ScreenGradient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenGradient.d.ts","sourceRoot":"","sources":["../../../../../src/components/ScreenGradient.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAKzD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,SAAS,CAAA;IACnB,+EAA+E;IAC/E,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,cAAc,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,mBAAmB,2CAwBtE"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
export type ScreenHeaderVariant = 'detail' | 'form';
|
|
4
|
+
export interface ScreenHeaderProps {
|
|
5
|
+
/**
|
|
6
|
+
* Big header copy. Optional because `variant="detail"` renders no title slot
|
|
7
|
+
* at all when omitted (a back-chevron-only header).
|
|
8
|
+
*/
|
|
9
|
+
title?: string;
|
|
10
|
+
/** Small line below the title (e.g. a chat screen's "AI Assistant"). */
|
|
11
|
+
subtitle?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Back-button handler. The consuming app passes its navigation callback here
|
|
14
|
+
* (e.g. `() => router.back()`); the library never imports a router. When
|
|
15
|
+
* omitted the chevron still renders but does nothing — pass `showBack={false}`
|
|
16
|
+
* (or `showBack={Boolean(onBack)}`) to hide it on screens with no back nav.
|
|
17
|
+
*/
|
|
18
|
+
onBack?: () => void;
|
|
19
|
+
/** Render the back chevron. Defaults to `true`. */
|
|
20
|
+
showBack?: boolean;
|
|
21
|
+
/** Icon buttons / chips shown on the right of the header. */
|
|
22
|
+
rightActions?: ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* `'detail'` — no title slot when none is passed; larger/heavier title
|
|
25
|
+
* (`heading-lg`) when one is. `'form'` — plainer `display-sm` title. Controls
|
|
26
|
+
* title typography only. Defaults to `'detail'`.
|
|
27
|
+
*/
|
|
28
|
+
variant?: ScreenHeaderVariant;
|
|
29
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
30
|
+
style?: StyleProp<ViewStyle>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Theme-agnostic screen header — back chevron on the left, optional
|
|
34
|
+
* title + subtitle in the middle, optional right-action slot on the right.
|
|
35
|
+
* Safe-area is owned by the parent scaffold.
|
|
36
|
+
*
|
|
37
|
+
* Color comes INLINE from {@link useColors}: the chevron is `text.primary`, the
|
|
38
|
+
* title defaults to `text.primary` (via {@link Text}), and the subtitle is
|
|
39
|
+
* `text.secondary`. Layout (flex, padding, gap) is applied INLINE from the
|
|
40
|
+
* library-owned {@link SPACE} scale, so the header renders with no NativeWind
|
|
41
|
+
* setup in the consumer; `style` is an inline override merged last.
|
|
42
|
+
*
|
|
43
|
+
* Router-decoupled: `onBack` is a plain callback wired straight to the back
|
|
44
|
+
* Pressable's `onPress` — there is deliberately NO `expo-router` import and NO
|
|
45
|
+
* `router.back()` default. The consuming app supplies navigation.
|
|
46
|
+
*/
|
|
47
|
+
export declare function ScreenHeader({ title, subtitle, onBack, showBack, rightActions, variant, style, }: ScreenHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
//# sourceMappingURL=ScreenHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/ScreenHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAA+B,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAM1F,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,MAAM,CAAA;AAEnD,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,6DAA6D;IAC7D,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,QAAQ,EACR,MAAM,EACN,QAAe,EACf,YAAY,EACZ,OAAkB,EAClB,KAAK,GACN,EAAE,iBAAiB,2CAoCnB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export interface SearchInputProps {
|
|
3
|
+
value: string;
|
|
4
|
+
onChangeText: (text: string) => void;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Debounce in ms before `onChangeText` fires (the field updates instantly).
|
|
8
|
+
* Defaults to `300`. Pass `0` to fire on every keystroke.
|
|
9
|
+
*/
|
|
10
|
+
debounceMs?: number;
|
|
11
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
12
|
+
style?: StyleProp<ViewStyle>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Theme-agnostic debounced search field — a pill with a leading magnifier and a
|
|
16
|
+
* trailing clear button. The field updates immediately for a responsive feel
|
|
17
|
+
* while `onChangeText` is debounced (`debounceMs`) so list filtering doesn't run
|
|
18
|
+
* on every keystroke.
|
|
19
|
+
*
|
|
20
|
+
* Every colour comes INLINE from {@link useColors}: the pill fills with
|
|
21
|
+
* `bg.secondary`, the icons + placeholder are `text.tertiary`, and the typed
|
|
22
|
+
* text is `text.primary`. The field font comes from the theme's `body-md`
|
|
23
|
+
* variant (family + geometry) rather than a `font-*` className — the pilot
|
|
24
|
+
* consumer's hardcoded `font-quicksand-medium` is removed. Layout (flex,
|
|
25
|
+
* padding, radius) is applied INLINE from the library-owned {@link SPACE}/
|
|
26
|
+
* {@link RADIUS} scale, so the field renders with no NativeWind setup in the
|
|
27
|
+
* consumer; `style` is an inline override merged last.
|
|
28
|
+
*/
|
|
29
|
+
export declare function SearchInput({ value, onChangeText, placeholder, debounceMs, style, }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
//# sourceMappingURL=SearchInput.d.ts.map
|