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,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure helper that turns a GENERIC `<Gradient/>` variant into the raw
|
|
3
|
+
* `expo-linear-gradient` props (`colors`, `start`, `end`, `locations`).
|
|
4
|
+
*
|
|
5
|
+
* Keeping the logic outside the React component makes it cheap to unit-test
|
|
6
|
+
* under `node:test` without a renderer.
|
|
7
|
+
*
|
|
8
|
+
* GENERIC ONLY. The pilot consumer (tea-companion) layered domain variants on
|
|
9
|
+
* top of this (`'hero'`, `'tea-type'`, `'share'`) that read per-app palettes
|
|
10
|
+
* (`colors.tea.*`, brand-invariant share stops); those stay per app. Here we
|
|
11
|
+
* ship only the three theme-routed variants any app can use:
|
|
12
|
+
*
|
|
13
|
+
* screen — the full-screen tinted background (`colors.gradient.screen`).
|
|
14
|
+
* card — a subtle card tint (`bg.card` → `bg.secondary`).
|
|
15
|
+
* fade — a bottom-up scrim over a photo (`transparent` → theme ink wash).
|
|
16
|
+
*
|
|
17
|
+
* Every colour is read from the injected {@link ThemeColors} — no hardcoded hex.
|
|
18
|
+
* The `fade` scrim is DERIVED from `colors.text.primary` via {@link scrimColor}
|
|
19
|
+
* so the library carries no literal `rgba(...)` value. For one-off needs, pass an
|
|
20
|
+
* explicit `colors` array — that overrides the variant's stops.
|
|
21
|
+
*/
|
|
22
|
+
import type { ThemeColors } from '../theme/types';
|
|
23
|
+
export type GradientVariant = 'screen' | 'card' | 'fade';
|
|
24
|
+
export interface GradientPoint {
|
|
25
|
+
x: number;
|
|
26
|
+
y: number;
|
|
27
|
+
}
|
|
28
|
+
export interface GradientInput {
|
|
29
|
+
/**
|
|
30
|
+
* Named generic variant. Optional: omit it and pass raw `colors` directly
|
|
31
|
+
* (e.g. a consumer that resolves its own domain gradients and just wants the
|
|
32
|
+
* library to render the stops).
|
|
33
|
+
*/
|
|
34
|
+
variant?: GradientVariant;
|
|
35
|
+
/** Escape hatch — overrides the variant's colour stops verbatim. */
|
|
36
|
+
colors?: readonly string[];
|
|
37
|
+
/** Escape hatch — overrides the variant's start point. */
|
|
38
|
+
start?: GradientPoint;
|
|
39
|
+
/** Escape hatch — overrides the variant's end point. */
|
|
40
|
+
end?: GradientPoint;
|
|
41
|
+
/** Escape hatch — overrides the variant's stop locations. */
|
|
42
|
+
locations?: readonly number[];
|
|
43
|
+
}
|
|
44
|
+
export interface ResolvedGradient {
|
|
45
|
+
colors: string[];
|
|
46
|
+
start: GradientPoint;
|
|
47
|
+
end: GradientPoint;
|
|
48
|
+
locations?: number[];
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Map a {@link GradientInput} to the raw props `expo-linear-gradient` needs.
|
|
52
|
+
*
|
|
53
|
+
* The theme palette is passed in (rather than read from a React hook) so the
|
|
54
|
+
* function stays pure and trivially testable.
|
|
55
|
+
*/
|
|
56
|
+
export declare function resolveGradient(input: GradientInput, colors: ThemeColors): ResolvedGradient;
|
|
57
|
+
//# sourceMappingURL=resolveGradient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveGradient.d.ts","sourceRoot":"","sources":["../../../../../src/internal/resolveGradient.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAGjD,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAA;AAExD,MAAM,WAAW,aAAa;IAC5B,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACV;AAED,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,oEAAoE;IACpE,MAAM,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAC1B,0DAA0D;IAC1D,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,wDAAwD;IACxD,GAAG,CAAC,EAAE,aAAa,CAAA;IACnB,6DAA6D;IAC7D,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;CAC9B;AAED,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,KAAK,EAAE,aAAa,CAAA;IACpB,GAAG,EAAE,aAAa,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;CACrB;AAQD;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,WAAW,GAAG,gBAAgB,CAY3F"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pure prop-resolution for `<Spinner/>` — the size + transform mapping, kept out
|
|
3
|
+
* of the JSX wrapper so it is unit-testable without a React renderer.
|
|
4
|
+
*
|
|
5
|
+
* Lifted verbatim from the pilot consumers (espresso-dialin / tea-companion);
|
|
6
|
+
* the table is byte-identical in both. Pure + theme-free — it carries sizing
|
|
7
|
+
* only, no colors or fonts.
|
|
8
|
+
*
|
|
9
|
+
* sm — small marks, buttons, badges (RN `'small'`, no scale)
|
|
10
|
+
* md — content-area placeholders, list footers (RN `'small'` scaled 1.25×)
|
|
11
|
+
* lg — overlays and "verifying…" style screens (RN `'large'`)
|
|
12
|
+
*/
|
|
13
|
+
import type { ViewStyle } from 'react-native';
|
|
14
|
+
export type SpinnerSize = 'sm' | 'md' | 'lg';
|
|
15
|
+
/** What we pass through to RN's `<ActivityIndicator/>`. */
|
|
16
|
+
export type ActivityIndicatorSize = 'small' | 'large';
|
|
17
|
+
export interface ResolvedSpinnerProps {
|
|
18
|
+
/** Value for `ActivityIndicator`'s `size` prop. */
|
|
19
|
+
size: ActivityIndicatorSize;
|
|
20
|
+
/**
|
|
21
|
+
* Optional transform to layer onto the spinner. `md` uses this to scale RN's
|
|
22
|
+
* `'small'` indicator up so it sits between `sm` and `lg`.
|
|
23
|
+
*/
|
|
24
|
+
transform?: NonNullable<ViewStyle['transform']>;
|
|
25
|
+
}
|
|
26
|
+
export declare function resolveSpinnerProps(size?: SpinnerSize): ResolvedSpinnerProps;
|
|
27
|
+
//# sourceMappingURL=spinnerProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spinnerProps.d.ts","sourceRoot":"","sources":["../../../../../src/internal/spinnerProps.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE5C,2DAA2D;AAC3D,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,OAAO,CAAA;AAErD,MAAM,WAAW,oBAAoB;IACnC,mDAAmD;IACnD,IAAI,EAAE,qBAAqB,CAAA;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,CAAA;CAChD;AAED,wBAAgB,mBAAmB,CAAC,IAAI,GAAE,WAAkB,GAAG,oBAAoB,CASlF"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Centralized motion presets for `react-native-reanimated` — spring configs for
|
|
3
|
+
* `withSpring` ({@link SPRINGS}) and timing configs for `withTiming`
|
|
4
|
+
* ({@link TIMINGS}).
|
|
5
|
+
*
|
|
6
|
+
* pressed.value = withSpring(1, SPRINGS.press)
|
|
7
|
+
* opacity.value = withTiming(0, TIMINGS.toastExit)
|
|
8
|
+
*
|
|
9
|
+
* Lifted verbatim from the pilot consumers (espresso-dialin / tea-companion)
|
|
10
|
+
* so every component's motion is byte-identical. Pure + theme-free — it carries
|
|
11
|
+
* motion physics only, no colors or fonts.
|
|
12
|
+
*
|
|
13
|
+
* Reanimated spring docs:
|
|
14
|
+
* https://docs.swmansion.com/react-native-reanimated/docs/animations/withSpring
|
|
15
|
+
*/
|
|
16
|
+
export declare const SPRINGS: {
|
|
17
|
+
/** Snappy press-feedback used by tap scale: Button, Card. `{15, 300, 0.8}`. */
|
|
18
|
+
readonly press: {
|
|
19
|
+
readonly damping: 15;
|
|
20
|
+
readonly stiffness: 300;
|
|
21
|
+
readonly mass: 0.8;
|
|
22
|
+
};
|
|
23
|
+
/** Gentle enter used by the Toast slide+fade. `{20, 150, 1.0}`. */
|
|
24
|
+
readonly toastEnter: {
|
|
25
|
+
readonly damping: 20;
|
|
26
|
+
readonly stiffness: 150;
|
|
27
|
+
readonly mass: 1;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
/** Centralized `withTiming` presets. */
|
|
31
|
+
export declare const TIMINGS: {
|
|
32
|
+
/** Toast exit (slide up + fade out). `200 ms`. */
|
|
33
|
+
readonly toastExit: {
|
|
34
|
+
readonly duration: 200;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=springs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"springs.d.ts","sourceRoot":"","sources":["../../../../../src/internal/springs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,OAAO;IAClB,+EAA+E;;;;;;IAE/E,mEAAmE;;;;;;CAE3D,CAAA;AAEV,wCAAwC;AACxC,eAAO,MAAM,OAAO;IAClB,kDAAkD;;;;CAE1C,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { ViewStyle } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* Pure resolver that builds the `ViewStyle` for `<StickyBottomBar>` — the
|
|
4
|
+
* "fixed bottom CTA" pattern's safe-area inset + top border + background.
|
|
5
|
+
*
|
|
6
|
+
* Lifted from the pilot consumers (espresso-dialin / tea-companion); this is the
|
|
7
|
+
* superset form. Pure + theme-free (colours come in as plain string inputs from
|
|
8
|
+
* the caller's `useColors()`), so it is unit-testable without booting RN.
|
|
9
|
+
*
|
|
10
|
+
* The rules:
|
|
11
|
+
* - `paddingTop` is always `12` — the bar never hugs the scroll body.
|
|
12
|
+
* - `paddingBottom` is `max(insetBottom, 12)` so non-notched devices still get
|
|
13
|
+
* breathing room and notched devices respect the home-bar inset.
|
|
14
|
+
* - A 1px top border in `borderColor` is painted UNLESS `borderless` is set —
|
|
15
|
+
* for bars that already sit under a separator, or float over scroll content
|
|
16
|
+
* with `position: absolute` where a hairline would look odd. When borderless,
|
|
17
|
+
* the width is zeroed (RN paints a hairline whenever `borderTopWidth > 0`
|
|
18
|
+
* even with a `transparent` colour, so we remove the width, not just hide it).
|
|
19
|
+
* - Background is the supplied `bgColor` (typically `colors.bg.primary`).
|
|
20
|
+
* - Caller `style` is merged LAST so callsites can add row/flex/gap rules or
|
|
21
|
+
* override any computed default as an escape hatch.
|
|
22
|
+
*/
|
|
23
|
+
export interface ResolveStickyBottomBarStyleInput {
|
|
24
|
+
/** `insets.bottom` from `useSafeAreaInsets()`. Tests inject a literal. */
|
|
25
|
+
insetBottom: number;
|
|
26
|
+
/** `colors.border.default` from `useColors()`. */
|
|
27
|
+
borderColor: string;
|
|
28
|
+
/** `colors.bg.primary` from `useColors()`. */
|
|
29
|
+
bgColor: string;
|
|
30
|
+
/** When `true`, no top border is painted. */
|
|
31
|
+
borderless?: boolean;
|
|
32
|
+
/** Forwarded caller style — wins over the computed defaults. */
|
|
33
|
+
style?: ViewStyle;
|
|
34
|
+
}
|
|
35
|
+
export declare function resolveStickyBottomBarStyle(input: ResolveStickyBottomBarStyleInput): ViewStyle;
|
|
36
|
+
//# sourceMappingURL=stickyBottomBarStyle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stickyBottomBarStyle.d.ts","sourceRoot":"","sources":["../../../../../src/internal/stickyBottomBarStyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,gCAAgC;IAC/C,0EAA0E;IAC1E,WAAW,EAAE,MAAM,CAAA;IACnB,kDAAkD;IAClD,WAAW,EAAE,MAAM,CAAA;IACnB,8CAA8C;IAC9C,OAAO,EAAE,MAAM,CAAA;IACf,6CAA6C;IAC7C,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,gEAAgE;IAChE,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB;AAKD,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,gCAAgC,GAAG,SAAS,CAiB9F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset.d.ts","sourceRoot":"","sources":["../../../../src/preset.js"],"names":[],"mappings":"wBAWU,OAAO,aAAa,EAAE,MAAM"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { ThemeColors, ThemeTokens, ThemeTypography, ThemeShadows } from './types';
|
|
3
|
+
export interface ThemeProviderProps {
|
|
4
|
+
/** The active theme tokens. Swap this to switch themes (light/dark/etc.). */
|
|
5
|
+
value: ThemeTokens;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare function ThemeProvider({ value, children }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
/** Full active theme: `{ colors, typography, shadows }`. */
|
|
10
|
+
export declare function useTheme(): ThemeTokens;
|
|
11
|
+
/** The active color palette only. */
|
|
12
|
+
export declare function useColors(): ThemeColors;
|
|
13
|
+
/** The active typography tokens (per-variant font families + optional mono). */
|
|
14
|
+
export declare function useTypography(): ThemeTypography;
|
|
15
|
+
/** The active shadow presets (themed so dark mode can raise elevation opacity). */
|
|
16
|
+
export declare function useShadows(): ThemeShadows;
|
|
17
|
+
//# sourceMappingURL=ThemeProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../../src/theme/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAatF,MAAM,WAAW,kBAAkB;IACjC,6EAA6E;IAC7E,KAAK,EAAE,WAAW,CAAA;IAClB,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,kBAAkB,2CAEpE;AAUD,4DAA4D;AAC5D,wBAAgB,QAAQ,IAAI,WAAW,CAEtC;AAED,qCAAqC;AACrC,wBAAgB,SAAS,IAAI,WAAW,CAEvC;AAED,gFAAgF;AAChF,wBAAgB,aAAa,IAAI,eAAe,CAE/C;AAED,mFAAmF;AACnF,wBAAgB,UAAU,IAAI,YAAY,CAEzC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { TextVariant } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* The 14-variant typographic geometry — `fontSize` / `lineHeight` /
|
|
4
|
+
* `letterSpacing`. This table is **byte-identical** across every consumer today
|
|
5
|
+
* (espresso-dialin and tea-companion ship the same numbers; only the per-variant
|
|
6
|
+
* font family differs, and that is injected via `tokens.typography.fontFamily`).
|
|
7
|
+
*
|
|
8
|
+
* It is therefore LIBRARY-OWNED: a constant, not part of the theme. The values
|
|
9
|
+
* are lifted verbatim from each app's `variantClasses` table — e.g.
|
|
10
|
+
* `'display-lg': 'font-* text-[32px] leading-[38px] tracking-[-0.3px]'` becomes
|
|
11
|
+
* `{ fontSize: 32, lineHeight: 38, letterSpacing: -0.3 }`.
|
|
12
|
+
*/
|
|
13
|
+
export declare const VARIANT_GEOMETRY: Record<TextVariant, {
|
|
14
|
+
fontSize: number;
|
|
15
|
+
lineHeight: number;
|
|
16
|
+
letterSpacing: number;
|
|
17
|
+
}>;
|
|
18
|
+
//# sourceMappingURL=geometry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geometry.d.ts","sourceRoot":"","sources":["../../../../../src/theme/geometry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AAE1C;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAAM,CACnC,WAAW,EACX;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,CAAA;CAAE,CAyBhE,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type { TextVariant, ThemeColors, ThemeTypography, ThemeShadows, ThemeTokens, } from './types';
|
|
2
|
+
export { VARIANT_GEOMETRY } from './geometry';
|
|
3
|
+
export { ThemeProvider, useTheme, useColors, useTypography, useShadows, type ThemeProviderProps, } from './ThemeProvider';
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/theme/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,WAAW,EACX,WAAW,EACX,eAAe,EACf,YAAY,EACZ,WAAW,GACZ,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EACL,aAAa,EACb,QAAQ,EACR,SAAS,EACT,aAAa,EACb,UAAU,EACV,KAAK,kBAAkB,GACxB,MAAM,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Library-owned LAYOUT scale — the JS twin of the `-ds` Tailwind preset
|
|
3
|
+
* (`src/preset.js`).
|
|
4
|
+
*
|
|
5
|
+
* everkit applies its own spacing + radii as INLINE styles from these constants
|
|
6
|
+
* rather than NativeWind `className`s. That is what makes the library
|
|
7
|
+
* self-contained: it renders correctly with NO Tailwind / NativeWind setup in
|
|
8
|
+
* the consuming app, and it is immune to the New-Architecture (Fabric)
|
|
9
|
+
* className-layout collapse. The values are byte-identical to the `-ds` tokens,
|
|
10
|
+
* so the visual result is unchanged. See ARCHITECTURE.md.
|
|
11
|
+
*
|
|
12
|
+
* Keys mirror the Tailwind step names (`SPACE['4']` == `p-4-ds` == 16px).
|
|
13
|
+
*/
|
|
14
|
+
export declare const SPACE: {
|
|
15
|
+
readonly '0.5': 2;
|
|
16
|
+
readonly '1': 4;
|
|
17
|
+
readonly '1.5': 6;
|
|
18
|
+
readonly '2': 8;
|
|
19
|
+
readonly '2.5': 10;
|
|
20
|
+
readonly '3': 12;
|
|
21
|
+
readonly '3.5': 14;
|
|
22
|
+
readonly '4': 16;
|
|
23
|
+
readonly '5': 20;
|
|
24
|
+
readonly '6': 24;
|
|
25
|
+
readonly '7': 28;
|
|
26
|
+
readonly '8': 32;
|
|
27
|
+
readonly '10': 40;
|
|
28
|
+
readonly '12': 48;
|
|
29
|
+
};
|
|
30
|
+
export declare const RADIUS: {
|
|
31
|
+
readonly sm: 10;
|
|
32
|
+
readonly md: 14;
|
|
33
|
+
readonly lg: 16;
|
|
34
|
+
readonly xl: 20;
|
|
35
|
+
readonly '2xl': 28;
|
|
36
|
+
/** Pill / circle. */
|
|
37
|
+
readonly full: 9999;
|
|
38
|
+
};
|
|
39
|
+
export type SpaceKey = keyof typeof SPACE;
|
|
40
|
+
export type RadiusKey = keyof typeof RADIUS;
|
|
41
|
+
//# sourceMappingURL=scale.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scale.d.ts","sourceRoot":"","sources":["../../../../../src/theme/scale.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;CAeR,CAAA;AAEV,eAAO,MAAM,MAAM;;;;;;IAMjB,qBAAqB;;CAEb,CAAA;AAEV,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,KAAK,CAAA;AACzC,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,MAAM,CAAA"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import type { ViewStyle } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* The 14-variant typographic scale. The LIBRARY owns the geometry
|
|
4
|
+
* (size / lineHeight / letterSpacing — see {@link VARIANT_GEOMETRY}); each
|
|
5
|
+
* consuming app supplies the per-variant `fontFamily` through the theme.
|
|
6
|
+
*/
|
|
7
|
+
export type TextVariant = 'display-lg' | 'display-md' | 'display-sm' | 'heading-lg' | 'heading-md' | 'heading-sm' | 'body-lg' | 'body-md' | 'body-sm' | 'label-lg' | 'label-md' | 'label-sm' | 'caption' | 'caption-sm';
|
|
8
|
+
export interface ThemeColors {
|
|
9
|
+
bg: {
|
|
10
|
+
primary: string;
|
|
11
|
+
secondary: string;
|
|
12
|
+
tertiary: string;
|
|
13
|
+
card: string;
|
|
14
|
+
};
|
|
15
|
+
text: {
|
|
16
|
+
primary: string;
|
|
17
|
+
secondary: string;
|
|
18
|
+
tertiary: string;
|
|
19
|
+
inverse: string;
|
|
20
|
+
};
|
|
21
|
+
border: {
|
|
22
|
+
default: string;
|
|
23
|
+
strong: string;
|
|
24
|
+
focus: string;
|
|
25
|
+
};
|
|
26
|
+
gradient: {
|
|
27
|
+
screen: readonly [string, string, ...string[]];
|
|
28
|
+
};
|
|
29
|
+
brand: {
|
|
30
|
+
primary: string;
|
|
31
|
+
primaryDark: string;
|
|
32
|
+
primaryLight: string;
|
|
33
|
+
secondary: string;
|
|
34
|
+
secondaryDark: string;
|
|
35
|
+
secondaryLight: string;
|
|
36
|
+
accent: string;
|
|
37
|
+
accentDark: string;
|
|
38
|
+
accentLight: string;
|
|
39
|
+
};
|
|
40
|
+
semantic: {
|
|
41
|
+
success: string;
|
|
42
|
+
error: string;
|
|
43
|
+
warning: string;
|
|
44
|
+
info: string;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* App supplies a fontFamily per variant — this absorbs per-app weight choices
|
|
49
|
+
* (e.g. espresso display = bold, tea display = semibold) while the LIBRARY owns
|
|
50
|
+
* the geometry (size / lineHeight / letterSpacing), which is identical today.
|
|
51
|
+
*/
|
|
52
|
+
export interface ThemeTypography {
|
|
53
|
+
fontFamily: Record<TextVariant, string>;
|
|
54
|
+
/** Optional tabular-numerals family (espresso = Spline Sans Mono; tea = none). */
|
|
55
|
+
mono?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface ThemeShadows {
|
|
58
|
+
sm: ViewStyle;
|
|
59
|
+
md: ViewStyle;
|
|
60
|
+
lg: ViewStyle;
|
|
61
|
+
}
|
|
62
|
+
export interface ThemeTokens {
|
|
63
|
+
colors: ThemeColors;
|
|
64
|
+
typography: ThemeTypography;
|
|
65
|
+
shadows: ThemeShadows;
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/theme/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C;;;;GAIG;AACH,MAAM,MAAM,WAAW,GACnB,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,GACV,UAAU,GACV,UAAU,GACV,SAAS,GACT,YAAY,CAAA;AAEhB,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;IAC1E,IAAI,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAA;IAC/E,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IAG1D,QAAQ,EAAE;QAAE,MAAM,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;IAC5D,KAAK,EAAE;QACL,OAAO,EAAE,MAAM,CAAA;QACf,WAAW,EAAE,MAAM,CAAA;QACnB,YAAY,EAAE,MAAM,CAAA;QACpB,SAAS,EAAE,MAAM,CAAA;QACjB,aAAa,EAAE,MAAM,CAAA;QACrB,cAAc,EAAE,MAAM,CAAA;QACtB,MAAM,EAAE,MAAM,CAAA;QACd,UAAU,EAAE,MAAM,CAAA;QAClB,WAAW,EAAE,MAAM,CAAA;KACpB,CAAA;IACD,QAAQ,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;CAC5E;AAED;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC,CAAA;IACvC,kFAAkF;IAClF,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,SAAS,CAAA;IACb,EAAE,EAAE,SAAS,CAAA;IACb,EAAE,EAAE,SAAS,CAAA;CACd;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,WAAW,CAAA;IACnB,UAAU,EAAE,eAAe,CAAA;IAC3B,OAAO,EAAE,YAAY,CAAA;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"type":"module"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface ActionSheetAction {
|
|
3
|
+
/** Leading icon — any node (e.g. a lucide icon), coloured by the caller. */
|
|
4
|
+
icon?: ReactNode;
|
|
5
|
+
/** Row label. */
|
|
6
|
+
label: string;
|
|
7
|
+
onPress: () => void;
|
|
8
|
+
/** Dim styling for a secondary row (e.g. Cancel) — uses `text.secondary`. */
|
|
9
|
+
dim?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface ActionSheetProps {
|
|
12
|
+
visible: boolean;
|
|
13
|
+
onClose: () => void;
|
|
14
|
+
/** Optional caption above the actions. */
|
|
15
|
+
title?: string;
|
|
16
|
+
/** The action rows, in order. */
|
|
17
|
+
actions: ActionSheetAction[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Theme-agnostic action sheet — an optional caption over a list of tappable rows
|
|
21
|
+
* (icon + label), on top of the library's {@link BottomActionSheet}. Domain-free:
|
|
22
|
+
* the caller supplies the actions (labels, icons, handlers), so the same sheet
|
|
23
|
+
* backs a photo-source chooser, a long-press menu, a moderation list, etc.
|
|
24
|
+
*
|
|
25
|
+
* Colour comes INLINE from {@link useColors} (`text.primary` / `text.secondary`
|
|
26
|
+
* labels, `text.tertiary` caption); spacing from the {@link SPACE} scale.
|
|
27
|
+
*/
|
|
28
|
+
export declare function ActionSheet({ visible, onClose, title, actions }: ActionSheetProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
//# sourceMappingURL=ActionSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/ActionSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOtC,MAAM,WAAW,iBAAiB;IAChC,4EAA4E;IAC5E,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,6EAA6E;IAC7E,GAAG,CAAC,EAAE,OAAO,CAAA;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iCAAiC;IACjC,OAAO,EAAE,iBAAiB,EAAE,CAAA;CAC7B;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,gBAAgB,2CAwCjF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export interface AnimatedEllipsisProps {
|
|
3
|
+
/** Dot colour. Defaults to `colors.text.tertiary`. */
|
|
4
|
+
color?: string;
|
|
5
|
+
/** Screen-reader label for the busy state. Defaults to `'Loading'`. */
|
|
6
|
+
accessibilityLabel?: string;
|
|
7
|
+
/** Optional inline style override, merged last so callers can retune the row. */
|
|
8
|
+
style?: StyleProp<ViewStyle>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Theme-agnostic "typing / reading" indicator — three dots bouncing in a
|
|
12
|
+
* staggered wave. Honors the system Reduce-Motion setting (renders three static
|
|
13
|
+
* dots) via reanimated's {@link useReducedMotion}.
|
|
14
|
+
*
|
|
15
|
+
* Color comes INLINE from {@link useColors}: the dots default to `text.tertiary`
|
|
16
|
+
* (pass `color` to override — e.g. `text.inverse` on a brand surface). Layout is
|
|
17
|
+
* applied INLINE from the library-owned {@link SPACE} scale, so the indicator
|
|
18
|
+
* renders with no NativeWind setup in the consumer; `style` is an inline
|
|
19
|
+
* override merged last.
|
|
20
|
+
*/
|
|
21
|
+
export declare function AnimatedEllipsis({ color, accessibilityLabel, style, }: AnimatedEllipsisProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
//# sourceMappingURL=AnimatedEllipsis.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedEllipsis.d.ts","sourceRoot":"","sources":["../../../../../src/components/AnimatedEllipsis.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAcnE,MAAM,WAAW,qBAAqB;IACpC,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uEAAuE;IACvE,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,iFAAiF;IACjF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAkCD;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,kBAA8B,EAC9B,KAAK,GACN,EAAE,qBAAqB,2CAgBvB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
import { type PressableProps } from 'react-native';
|
|
3
|
+
export interface AnimatedPressableProps extends PressableProps {
|
|
4
|
+
/** Scale factor when pressed. Defaults to `0.97`. */
|
|
5
|
+
pressScale?: number;
|
|
6
|
+
/**
|
|
7
|
+
* Fire a light haptic on press-in. Defaults to `false`. Uses the OPTIONAL
|
|
8
|
+
* `expo-haptics` peer directly (a silent no-op when it isn't installed or on a
|
|
9
|
+
* platform without haptics). For full control supply {@link onHapticTrigger}
|
|
10
|
+
* instead — it fires on press-in regardless of this flag, so an app can route
|
|
11
|
+
* the feedback through its own haptics vocabulary.
|
|
12
|
+
*/
|
|
13
|
+
haptic?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Called on press-in. Use this to drive an app-owned haptics hook without the
|
|
16
|
+
* library importing it — keeps `AnimatedPressable` decoupled from any app
|
|
17
|
+
* `useHaptics`. Fires alongside (and independently of) the `haptic` flag.
|
|
18
|
+
*/
|
|
19
|
+
onHapticTrigger?: () => void;
|
|
20
|
+
children: React.ReactNode;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Theme-agnostic pressable with a spring press-scale — the low-level primitive
|
|
24
|
+
* behind tap-feedback surfaces. Carries NO colour of its own; it only animates
|
|
25
|
+
* the scale on the lifted {@link SPRINGS} `press` preset and forwards every
|
|
26
|
+
* `Pressable` prop.
|
|
27
|
+
*
|
|
28
|
+
* Haptics are OPTIONAL and decoupled from any app hook: `haptic` fires a light
|
|
29
|
+
* impact through the optional `expo-haptics` peer (no-op if absent), and
|
|
30
|
+
* `onHapticTrigger` lets an app supply its own feedback callback. The pilot
|
|
31
|
+
* consumer coupled this to an app `useHaptics` hook; that import is removed here.
|
|
32
|
+
*/
|
|
33
|
+
export declare function AnimatedPressable({ pressScale, haptic, onHapticTrigger, children, style, onPressIn, onPressOut, disabled, ...rest }: AnimatedPressableProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
//# sourceMappingURL=AnimatedPressable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AnimatedPressable.d.ts","sourceRoot":"","sources":["../../../../../src/components/AnimatedPressable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAA;AAO7D,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC5D,qDAAqD;IACrD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,UAAiB,EACjB,MAAc,EACd,eAAe,EACf,QAAQ,EACR,KAAK,EACL,SAAS,EACT,UAAU,EACV,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,sBAAsB,2CAgCxB"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface AppErrorBoundaryProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
/** Title shown on the crash screen. Defaults to `'Something went wrong'`. */
|
|
5
|
+
title?: string;
|
|
6
|
+
/** Body copy under the title. Has a sensible default. */
|
|
7
|
+
message?: string;
|
|
8
|
+
/** Label for the retry button. Defaults to `'Try Again'`. */
|
|
9
|
+
retryLabel?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Called when a render error is caught. Use this to forward the crash to an
|
|
12
|
+
* app's logging / analytics pipeline — the library imports none, so it stays
|
|
13
|
+
* decoupled. Receives the error and React's component-stack info.
|
|
14
|
+
*/
|
|
15
|
+
onError?: (error: Error, info: React.ErrorInfo) => void;
|
|
16
|
+
}
|
|
17
|
+
interface State {
|
|
18
|
+
hasError: boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Theme-agnostic top-level (app-root) error boundary — a full-screen variant of
|
|
22
|
+
* {@link ErrorBoundary} that fills the whole viewport with the theme background
|
|
23
|
+
* (use it to wrap the app's root so an uncaught render crash shows a branded
|
|
24
|
+
* screen instead of a redbox). For a localized in-content boundary use
|
|
25
|
+
* {@link ErrorBoundary}.
|
|
26
|
+
*
|
|
27
|
+
* Two decouplings from the pilot consumer: logging goes through an `onError`
|
|
28
|
+
* callback rather than a hardwired analytics `captureError` import, and the
|
|
29
|
+
* theme is read through the provider via {@link useColors} (in a function-child
|
|
30
|
+
* fallback so the class can use the hook) rather than React Native's
|
|
31
|
+
* `Appearance` — so the fallback follows the active injected theme, not the OS
|
|
32
|
+
* scheme. Every colour comes INLINE from the theme.
|
|
33
|
+
*/
|
|
34
|
+
export declare class AppErrorBoundary extends React.Component<AppErrorBoundaryProps, State> {
|
|
35
|
+
state: State;
|
|
36
|
+
static getDerivedStateFromError(): State;
|
|
37
|
+
componentDidCatch(error: Error, info: React.ErrorInfo): void;
|
|
38
|
+
handleRetry: () => void;
|
|
39
|
+
render(): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
42
|
+
//# sourceMappingURL=AppErrorBoundary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppErrorBoundary.d.ts","sourceRoot":"","sources":["../../../../../src/components/AppErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,6EAA6E;IAC7E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,6DAA6D;IAC7D,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,SAAS,KAAK,IAAI,CAAA;CACxD;AAED,UAAU,KAAK;IACb,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED;;;;;;;;;;;;;GAaG;AACH,qBAAa,gBAAiB,SAAQ,KAAK,CAAC,SAAS,CAAC,qBAAqB,EAAE,KAAK,CAAC;IACjF,KAAK,EAAE,KAAK,CAAsB;IAElC,MAAM,CAAC,wBAAwB,IAAI,KAAK;IAIxC,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,SAAS;IAIrD,WAAW,aAEV;IAED,MAAM;CAaP"}
|
|
@@ -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"}
|