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,47 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type ViewStyle } from 'react-native';
|
|
3
|
+
export interface CircularProgressProps {
|
|
4
|
+
/** Fraction filled, `0`..`1`. Clamped to that range. */
|
|
5
|
+
progress: number;
|
|
6
|
+
/** Square edge length in px (the ring's outer box). Defaults to `200`. */
|
|
7
|
+
size?: number;
|
|
8
|
+
/** Ring thickness in px. Defaults to `12`. */
|
|
9
|
+
strokeWidth?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Track (unfilled groove) colour. Defaults to `border.default`. Pass
|
|
12
|
+
* `bg.secondary` for a softer, lower-contrast groove.
|
|
13
|
+
*/
|
|
14
|
+
trackColor?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Fill the progress arc with a `brand.primary` → `brand.primaryDark` vertical
|
|
17
|
+
* gradient. Defaults to `true`; set `false` for a flat `brand.primary` stroke.
|
|
18
|
+
*/
|
|
19
|
+
gradient?: boolean;
|
|
20
|
+
/** Round the arc's end caps (`strokeLinecap="round"`). Defaults to `true`. */
|
|
21
|
+
rounded?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Sweep animation duration (ms) when `progress` changes. Defaults to `800` (a
|
|
24
|
+
* smooth reveal). Pass a short value (e.g. `200`) for a live counter that
|
|
25
|
+
* updates many times a second, or `0` to disable the animation.
|
|
26
|
+
*/
|
|
27
|
+
animationDurationMs?: number;
|
|
28
|
+
/** Centered content rendered inside the ring (label, value, icon, …). */
|
|
29
|
+
children?: ReactNode;
|
|
30
|
+
style?: ViewStyle;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Theme-agnostic circular progress RING with a centered content slot — the
|
|
34
|
+
* generic primitive behind countdown dials, percentage gauges, and step
|
|
35
|
+
* meters. The app composes the center (time, percent, play/pause) and owns all
|
|
36
|
+
* domain logic (counting, formatting, infusion state); this ring only paints
|
|
37
|
+
* the arc and animates the sweep.
|
|
38
|
+
*
|
|
39
|
+
* Colour comes INLINE from {@link useColors}: the track defaults to
|
|
40
|
+
* `border.default` and the filled arc to a `brand.primary` → `brand.primaryDark`
|
|
41
|
+
* gradient (or a flat `brand.primary` when `gradient={false}`). The
|
|
42
|
+
* `strokeDashoffset` sweep is driven on the UI thread via `useAnimatedProps`, so
|
|
43
|
+
* pushing a new `progress` eases the arc without a JS-thread re-render. The arc
|
|
44
|
+
* starts at 12 o'clock (`rotate(-90)`) and grows clockwise.
|
|
45
|
+
*/
|
|
46
|
+
export declare function CircularProgress({ progress, size, strokeWidth, trackColor, gradient, rounded, animationDurationMs, children, style, }: CircularProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
47
|
+
//# sourceMappingURL=CircularProgress.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CircularProgress.d.ts","sourceRoot":"","sources":["../../../../../src/components/CircularProgress.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AACxD,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAenD,MAAM,WAAW,qBAAqB;IACpC,wDAAwD;IACxD,QAAQ,EAAE,MAAM,CAAA;IAChB,0EAA0E;IAC1E,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,8CAA8C;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,8EAA8E;IAC9E,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,yEAAyE;IACzE,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,IAAU,EACV,WAAgB,EAChB,UAAU,EACV,QAAe,EACf,OAAc,EACd,mBAAuC,EACvC,QAAQ,EACR,KAAK,GACN,EAAE,qBAAqB,2CA8EvB"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface ConfirmDialogProps {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
/** Tap-outside / system-back — dismiss without confirming. */
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
/** The affirmative action. Keep it async; `confirming` drives the pending UI. */
|
|
7
|
+
onConfirm: () => void;
|
|
8
|
+
title: string;
|
|
9
|
+
/**
|
|
10
|
+
* Supporting copy under the title. A plain string is rendered in
|
|
11
|
+
* `text.secondary`; pass a node for richer layout (it's rendered as-is).
|
|
12
|
+
*/
|
|
13
|
+
message?: string | ReactNode;
|
|
14
|
+
/** Affirmative button label. Defaults to `'Confirm'`. */
|
|
15
|
+
confirmLabel?: string;
|
|
16
|
+
/** Dismiss button label. Defaults to `'Cancel'`. */
|
|
17
|
+
cancelLabel?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Tint the confirm action with `semantic.error` and tint the header disc to
|
|
20
|
+
* match — for irreversible / dangerous actions. Defaults to `false`.
|
|
21
|
+
*/
|
|
22
|
+
destructive?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Optional header glyph shown in a tinted disc above the title. Pass your own
|
|
25
|
+
* node (e.g. a lucide icon coloured by the caller); none is rendered by default.
|
|
26
|
+
*/
|
|
27
|
+
icon?: ReactNode;
|
|
28
|
+
/** Pending state — disables both buttons and spins the confirm button. */
|
|
29
|
+
confirming?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Theme-agnostic confirm dialog — a centered card on a dim scrim with an optional
|
|
33
|
+
* header glyph in a tinted disc, a title, supporting copy, and a Cancel / Confirm
|
|
34
|
+
* button pair. Domain-free: the consumer injects the title, message, labels, and
|
|
35
|
+
* icon, so the same dialog backs a "Block user?", "Delete draft?", or "Sign out?"
|
|
36
|
+
* prompt.
|
|
37
|
+
*
|
|
38
|
+
* Color comes INLINE from {@link useColors}: the surface is `bg.primary`, the
|
|
39
|
+
* title `text.primary` (via {@link Text}), the message `text.secondary`. When
|
|
40
|
+
* `destructive`, the confirm {@link Button} switches to the `danger` variant and
|
|
41
|
+
* the header disc tints from `semantic.error`; otherwise the disc tints from
|
|
42
|
+
* `brand.primary` — both DERIVED via {@link hexToRgba} so no literal rgba leaks
|
|
43
|
+
* in. Elevation comes from the themed {@link useShadows} `lg` preset; spacing +
|
|
44
|
+
* radii from the {@link SPACE}/{@link RADIUS} scale. The backdrop is a fixed black
|
|
45
|
+
* scrim (modal dim is conventionally dark on any theme). Tap-outside-to-close is
|
|
46
|
+
* the outer `<Pressable onPress={onClose}>` with an inner `<Pressable>` that
|
|
47
|
+
* swallows taps on the card.
|
|
48
|
+
*/
|
|
49
|
+
export declare function ConfirmDialog({ visible, onClose, onConfirm, title, message, confirmLabel, cancelLabel, destructive, icon, confirming, }: ConfirmDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
//# sourceMappingURL=ConfirmDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfirmDialog.d.ts","sourceRoot":"","sources":["../../../../../src/components/ConfirmDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQtC,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAA;IAChB,8DAA8D;IAC9D,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,iFAAiF;IACjF,SAAS,EAAE,MAAM,IAAI,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,yDAAyD;IACzD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oDAAoD;IACpD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,0EAA0E;IAC1E,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAID;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,OAAO,EACP,SAAS,EACT,KAAK,EACL,OAAO,EACP,YAAwB,EACxB,WAAsB,EACtB,WAAmB,EACnB,IAAI,EACJ,UAAkB,GACnB,EAAE,kBAAkB,2CAoFpB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export type DateFieldMode = 'date' | 'time' | 'datetime';
|
|
2
|
+
export interface DateFieldProps {
|
|
3
|
+
label: string;
|
|
4
|
+
value: Date;
|
|
5
|
+
onChange: (date: Date) => void;
|
|
6
|
+
minimumDate?: Date;
|
|
7
|
+
maximumDate?: Date;
|
|
8
|
+
mode?: DateFieldMode;
|
|
9
|
+
helperText?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Theme-agnostic date / time field — one wrapper over the platform picker that
|
|
14
|
+
* hides the iOS-inline-spinner vs Android-modal split and the `event.type` set/
|
|
15
|
+
* dismiss boilerplate. Wrapped in a {@link Card} so it lines up with other form
|
|
16
|
+
* rows. Colour comes INLINE from {@link useColors}; spacing from {@link SPACE}.
|
|
17
|
+
*
|
|
18
|
+
* iOS renders the spinner inline (every dial change forwards `onChange`).
|
|
19
|
+
* Android renders a tappable row that opens the OS modal (auto-dismisses on set
|
|
20
|
+
* or cancel; a value forwards only on "set"). Android only supports `date`/
|
|
21
|
+
* `time` natively — `datetime` falls back to `date`.
|
|
22
|
+
*
|
|
23
|
+
* `@react-native-community/datetimepicker` is an optional peer (see top of file).
|
|
24
|
+
*/
|
|
25
|
+
export declare function DateField({ label, value, onChange, minimumDate, maximumDate, mode, helperText, disabled, }: DateFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
//# sourceMappingURL=DateField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateField.d.ts","sourceRoot":"","sources":["../../../../../src/components/DateField.tsx"],"names":[],"mappings":"AA0BA,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAAA;AAExD,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,IAAI,CAAA;IACX,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAA;IAC9B,WAAW,CAAC,EAAE,IAAI,CAAA;IAClB,WAAW,CAAC,EAAE,IAAI,CAAA;IAClB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAcD;;;;;;;;;;;;GAYG;AACH,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,KAAK,EACL,QAAQ,EACR,WAAW,EACX,WAAW,EACX,IAAiB,EACjB,UAAU,EACV,QAAgB,GACjB,EAAE,cAAc,2CA4EhB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface DetailHeaderProps {
|
|
3
|
+
/**
|
|
4
|
+
* Optional title rendered inline next to the back chevron (single line).
|
|
5
|
+
* Omitting it renders a back-chevron-only header.
|
|
6
|
+
*/
|
|
7
|
+
title?: string;
|
|
8
|
+
/** Small line below the title. */
|
|
9
|
+
subtitle?: string;
|
|
10
|
+
/** Icon buttons / chips shown on the right of the header. */
|
|
11
|
+
rightActions?: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Back-button handler. The consuming app passes its navigation callback (e.g.
|
|
14
|
+
* `() => router.back()`); the library never imports a router.
|
|
15
|
+
*/
|
|
16
|
+
onBack?: () => void;
|
|
17
|
+
/** Render the back chevron. Defaults to `true`. */
|
|
18
|
+
showBack?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Theme-agnostic detail-screen header — a thin convenience wrapper over
|
|
22
|
+
* {@link ScreenHeader} pinned to `variant="detail"` (back chevron + optional
|
|
23
|
+
* inline title/subtitle + right actions). Use it when you want the detail header
|
|
24
|
+
* shape without spelling out the variant; reach for {@link ScreenHeader} directly
|
|
25
|
+
* for the `'form'` variant. Router-decoupled — `onBack` is a plain callback.
|
|
26
|
+
*/
|
|
27
|
+
export declare function DetailHeader({ title, subtitle, rightActions, onBack, showBack, }: DetailHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
//# sourceMappingURL=DetailHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DetailHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/DetailHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,6DAA6D;IAC7D,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,QAAe,GAChB,EAAE,iBAAiB,2CAWnB"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ViewStyle } from 'react-native';
|
|
3
|
+
export interface DetailScreenProps {
|
|
4
|
+
/** Title shown inline in the header, next to the back chevron (single line). */
|
|
5
|
+
title?: string;
|
|
6
|
+
/** Small line below the title. */
|
|
7
|
+
subtitle?: string;
|
|
8
|
+
/** Icon buttons / chips shown on the right of the header. */
|
|
9
|
+
rightActions?: ReactNode;
|
|
10
|
+
/** Back-button callback, forwarded to the header. The app supplies navigation. */
|
|
11
|
+
onBack?: () => void;
|
|
12
|
+
/** Reports a query in flight — shows the loading body. Header stays visible. */
|
|
13
|
+
isLoading?: boolean;
|
|
14
|
+
/** Reports a failed query — shows the error body. Header stays visible. */
|
|
15
|
+
error?: Error | null;
|
|
16
|
+
/** Overrides the default «Something went wrong» copy in the error body. */
|
|
17
|
+
errorMessage?: string;
|
|
18
|
+
/** Wired into the error-body Retry button. */
|
|
19
|
+
onRetry?: () => void;
|
|
20
|
+
/** Sticky CTA — mounted outside the scroll body via `<StickyBottomBar>`. */
|
|
21
|
+
bottomBar?: ReactNode;
|
|
22
|
+
/** Absolute overlay rendered above the body (e.g. a FAB / FabMenu). */
|
|
23
|
+
fab?: ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* `'scroll'` wraps `children` in a keyboard-aware scroll body (the common
|
|
26
|
+
* case). `'none'` renders `children` directly — for screens that own their
|
|
27
|
+
* own scroller (e.g. a FlatList) or are fully static.
|
|
28
|
+
*/
|
|
29
|
+
scrollable?: 'scroll' | 'none';
|
|
30
|
+
/** Forwarded to the inner scroll body when `scrollable === 'scroll'`. */
|
|
31
|
+
contentContainerStyle?: ViewStyle;
|
|
32
|
+
children: ReactNode;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Theme-agnostic chrome for detail screens. Composes the library's own scaffolds
|
|
36
|
+
* rather than duplicating them: {@link ScreenGradient} background + safe area +
|
|
37
|
+
* an always-visible {@link ScreenHeader} (`variant="detail"`), a body, and an
|
|
38
|
+
* optional bottom bar / FAB overlay.
|
|
39
|
+
*
|
|
40
|
+
* The body switches between {@link LoadingScreen}, {@link ErrorState} and
|
|
41
|
+
* `children` via the pure lifted {@link resolveDetailScreenState} — so the back
|
|
42
|
+
* chevron never vanishes while a load query is in flight. Carries NO color of
|
|
43
|
+
* its own; every surface inside reads the theme.
|
|
44
|
+
*
|
|
45
|
+
* Scrollable bodies use {@link KeyboardScrollView} (with the FormScreen keyboard
|
|
46
|
+
* pattern — iOS `automaticallyAdjustKeyboardInsets`, KAV off) so any `TextInput`
|
|
47
|
+
* inside (e.g. comments) keeps the focused field visible. The bottom bar is a
|
|
48
|
+
* SIBLING outside the scroll body so the CTA stays pinned and hides under the
|
|
49
|
+
* keyboard while typing.
|
|
50
|
+
*
|
|
51
|
+
* Router-decoupled: `onBack` is forwarded straight to the header — no
|
|
52
|
+
* `expo-router` import, no `router.back()` default.
|
|
53
|
+
*/
|
|
54
|
+
export declare function DetailScreen({ title, subtitle, rightActions, onBack, isLoading, error, errorMessage, onRetry, bottomBar, fab, scrollable, contentContainerStyle, children, }: DetailScreenProps): import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
//# sourceMappingURL=DetailScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DetailScreen.d.ts","sourceRoot":"","sources":["../../../../../src/components/DetailScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAU7C,MAAM,WAAW,iBAAiB;IAChC,gFAAgF;IAChF,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,6DAA6D;IAC7D,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,kFAAkF;IAClF,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,gFAAgF;IAChF,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAA;IACpB,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB,uEAAuE;IACvE,GAAG,CAAC,EAAE,SAAS,CAAA;IACf;;;;OAIG;IACH,UAAU,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IAC9B,yEAAyE;IACzE,qBAAqB,CAAC,EAAE,SAAS,CAAA;IACjC,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,SAAS,EACT,KAAK,EACL,YAAY,EACZ,OAAO,EACP,SAAS,EACT,GAAG,EACH,UAAqB,EACrB,qBAAqB,EACrB,QAAQ,GACT,EAAE,iBAAiB,2CAoCnB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
import { type LucideIcon } from 'lucide-react-native';
|
|
3
|
+
export interface EmptyStateProps {
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
/** When both `actionLabel` and `onAction` are set, a primary CTA is rendered. */
|
|
7
|
+
actionLabel?: string;
|
|
8
|
+
onAction?: () => void;
|
|
9
|
+
/**
|
|
10
|
+
* Lucide icon shown in the tinted mascot circle, colored from the theme's
|
|
11
|
+
* `brand.primary`. Pass your own per screen. Defaults to `Sparkles`.
|
|
12
|
+
*/
|
|
13
|
+
icon?: LucideIcon;
|
|
14
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
15
|
+
style?: StyleProp<ViewStyle>;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Theme-agnostic empty-state placeholder — a mascot icon on a soft brand-tinted
|
|
19
|
+
* circle, a title, a description, and an optional CTA.
|
|
20
|
+
*
|
|
21
|
+
* Color comes INLINE from {@link useColors}: the title defaults to `text.primary`
|
|
22
|
+
* (via {@link Text}), the description is `text.tertiary`, and the CTA is the
|
|
23
|
+
* library's own {@link Button}. The mascot-circle tint is DERIVED from
|
|
24
|
+
* `colors.brand.primary` via {@link hexToRgba} — a vertical gradient from 18% to
|
|
25
|
+
* a generic `'transparent'` (flat 14% on the no-gradient fallback) — so it
|
|
26
|
+
* follows any injected theme with no literal brand rgba. Elevation comes from the
|
|
27
|
+
* themed {@link useShadows} `sm` preset. Layout (flex, padding, margins) is
|
|
28
|
+
* applied INLINE from the library-owned {@link SPACE} scale, so the empty state
|
|
29
|
+
* renders with no NativeWind setup in the consumer; `style` is an inline
|
|
30
|
+
* override merged last.
|
|
31
|
+
*/
|
|
32
|
+
export declare function EmptyState({ title, description, actionLabel, onAction, icon: Icon, style, }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
//# sourceMappingURL=EmptyState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../../../src/components/EmptyState.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AACnE,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAkB/D,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;IACnB,iFAAiF;IACjF,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAID;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,WAAW,EACX,WAAW,EACX,QAAQ,EACR,IAAI,EAAE,IAAe,EACrB,KAAK,GACN,EAAE,eAAe,2CAsEjB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ErrorBoundaryProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
/** Body copy shown under the title. Has a sensible default. */
|
|
5
|
+
fallbackMessage?: string;
|
|
6
|
+
/** Label for the retry button. Defaults to `'Try Again'`. */
|
|
7
|
+
retryLabel?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Called when a render error is caught. Use this to forward the error to an
|
|
10
|
+
* app's logging / analytics pipeline — the library imports none, so it stays
|
|
11
|
+
* decoupled. Receives the error and React's component-stack info.
|
|
12
|
+
*/
|
|
13
|
+
onError?: (error: Error, info: React.ErrorInfo) => void;
|
|
14
|
+
}
|
|
15
|
+
interface State {
|
|
16
|
+
hasError: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Theme-agnostic render-error boundary — catches a render-time crash in its
|
|
20
|
+
* subtree and shows a centered "Something went wrong" fallback with a retry
|
|
21
|
+
* button (the library's own {@link Button}) that re-mounts the children.
|
|
22
|
+
*
|
|
23
|
+
* Colour comes INLINE from {@link useColors} (via the {@link ErrorBoundaryFallback}
|
|
24
|
+
* function child so the class can use a hook): the title defaults to
|
|
25
|
+
* `text.primary` and the message is `text.secondary`. Logging is decoupled — pass
|
|
26
|
+
* `onError` to forward the crash to analytics; the library never imports one.
|
|
27
|
+
*/
|
|
28
|
+
export declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, State> {
|
|
29
|
+
state: State;
|
|
30
|
+
static getDerivedStateFromError(): State;
|
|
31
|
+
componentDidCatch(error: Error, info: React.ErrorInfo): void;
|
|
32
|
+
handleRetry: () => void;
|
|
33
|
+
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;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
36
|
+
//# sourceMappingURL=ErrorBoundary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.d.ts","sourceRoot":"","sources":["../../../../../src/components/ErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAOzB,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,+DAA+D;IAC/D,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,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;;;;;;;;;GASG;AACH,qBAAa,aAAc,SAAQ,KAAK,CAAC,SAAS,CAAC,kBAAkB,EAAE,KAAK,CAAC;IAC3E,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;CAYP"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export interface ErrorStateProps {
|
|
3
|
+
/** Body copy. Defaults to «Something went wrong». */
|
|
4
|
+
message?: string;
|
|
5
|
+
/** When supplied, a «Try Again» outline button is rendered and wired to this. */
|
|
6
|
+
onRetry?: () => void;
|
|
7
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
8
|
+
style?: StyleProp<ViewStyle>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Theme-agnostic full-bleed error body — used as the `error` state of
|
|
12
|
+
* `<FormScreen>` / `<DetailScreen>` (the header stays painted above it).
|
|
13
|
+
*
|
|
14
|
+
* Color comes INLINE from {@link useColors}: the icon circle fills with
|
|
15
|
+
* `brand.accentLight`, the alert glyph is `semantic.error`, and the message uses
|
|
16
|
+
* `text.tertiary`. The «Oops!» heading defaults to `text.primary` (via {@link Text}).
|
|
17
|
+
* The retry button is the library's own {@link Button} (`outline`). Layout
|
|
18
|
+
* (flex, padding) is applied INLINE from the library-owned {@link SPACE} scale,
|
|
19
|
+
* so the error body renders with no NativeWind setup in the consumer; `style` is
|
|
20
|
+
* an inline override merged last.
|
|
21
|
+
*/
|
|
22
|
+
export declare function ErrorState({ message, onRetry, style, }: ErrorStateProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
//# sourceMappingURL=ErrorState.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorState.d.ts","sourceRoot":"","sources":["../../../../../src/components/ErrorState.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAOnE,MAAM,WAAW,eAAe;IAC9B,qDAAqD;IACrD,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,iFAAiF;IACjF,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,UAAU,CAAC,EACzB,OAAgC,EAChC,OAAO,EACP,KAAK,GACN,EAAE,eAAe,2CAwCjB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
/** Which brand token fills the circle. */
|
|
3
|
+
export type FabColor = 'primary' | 'secondary' | 'accent';
|
|
4
|
+
export interface FabProps {
|
|
5
|
+
/** Icon node. Tint it with `colors.text.inverse` (the fill is a brand colour). */
|
|
6
|
+
icon: React.ReactNode;
|
|
7
|
+
onPress?: () => void;
|
|
8
|
+
/** Required — describes the action for screen readers (e.g. "Add bean"). */
|
|
9
|
+
accessibilityLabel: string;
|
|
10
|
+
/** Which `brand.*` token fills the circle. Defaults to `'primary'`. */
|
|
11
|
+
color?: FabColor;
|
|
12
|
+
/** Circle diameter in px. Defaults to `56`. */
|
|
13
|
+
size?: number;
|
|
14
|
+
/** Gap from the bottom of the screen; sits above the tab bar. Defaults to `24`. */
|
|
15
|
+
bottom?: number;
|
|
16
|
+
/** Gap from the right edge. Defaults to `20`. */
|
|
17
|
+
right?: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Theme-agnostic single-action floating button — a circular CTA pinned
|
|
21
|
+
* bottom-right (above a tab bar) with a subtle press-scale.
|
|
22
|
+
*
|
|
23
|
+
* Color comes INLINE from {@link useColors}: the circle fills with the chosen
|
|
24
|
+
* `brand.*` token (`primary` by default) and the elevation is the themed
|
|
25
|
+
* {@link useShadows} `lg` preset (so each theme tunes its own dark-mode opacity).
|
|
26
|
+
* Motion runs on the lifted {@link SPRINGS} press config. There is no `className`
|
|
27
|
+
* — the FAB owns its absolute position; tune it with `bottom` / `right` / `size`.
|
|
28
|
+
*
|
|
29
|
+
* For a screen offering several actions, use {@link FabMenu} instead.
|
|
30
|
+
*/
|
|
31
|
+
export declare function Fab({ icon, onPress, accessibilityLabel, color, size, bottom, right, }: FabProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
//# sourceMappingURL=Fab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Fab.d.ts","sourceRoot":"","sources":["../../../../../src/components/Fab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAS9B,0CAA0C;AAC1C,MAAM,MAAM,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAA;AAEzD,MAAM,WAAW,QAAQ;IACvB,kFAAkF;IAClF,IAAI,EAAE,KAAK,CAAC,SAAS,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,4EAA4E;IAC5E,kBAAkB,EAAE,MAAM,CAAA;IAC1B,uEAAuE;IACvE,KAAK,CAAC,EAAE,QAAQ,CAAA;IAChB,+CAA+C;IAC/C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,mFAAmF;IACnF,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,iDAAiD;IACjD,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,GAAG,CAAC,EAClB,IAAI,EACJ,OAAO,EACP,kBAAkB,EAClB,KAAiB,EACjB,IAAmB,EACnB,MAAW,EACX,KAAU,GACX,EAAE,QAAQ,2CA+CV"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
/** Circle treatment for one action. */
|
|
3
|
+
export type FabActionVariant = 'primary' | 'default' | 'danger';
|
|
4
|
+
export interface FabAction {
|
|
5
|
+
/** Stable key for the row. */
|
|
6
|
+
key: string;
|
|
7
|
+
/** Short label shown in the pill to the left of the circle. */
|
|
8
|
+
label: string;
|
|
9
|
+
/**
|
|
10
|
+
* Icon factory — receives the resolved foreground colour for the variant and
|
|
11
|
+
* returns the icon node. Leave the icon uncoloured and use the passed colour
|
|
12
|
+
* so it always contrasts the circle fill.
|
|
13
|
+
*/
|
|
14
|
+
icon: (color: string) => React.ReactNode;
|
|
15
|
+
onPress: () => void;
|
|
16
|
+
/** `'primary'` = brand fill, `'danger'` = error fill, else a neutral card circle. */
|
|
17
|
+
variant?: FabActionVariant;
|
|
18
|
+
}
|
|
19
|
+
export interface FabMenuProps {
|
|
20
|
+
/** Actions shown when expanded — order is top→bottom (closest to the FAB last). */
|
|
21
|
+
actions: FabAction[];
|
|
22
|
+
/** Screen-reader label for the toggle button. Defaults to `'Actions'`. */
|
|
23
|
+
accessibilityLabel?: string;
|
|
24
|
+
/** Gap from the bottom of the screen; sits above the tab bar. Defaults to `24`. */
|
|
25
|
+
bottom?: number;
|
|
26
|
+
/** Gap from the right edge. Defaults to `20`. */
|
|
27
|
+
right?: number;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Theme-agnostic speed-dial FAB pinned bottom-right. Tapping it expands a column
|
|
31
|
+
* of circular action buttons (each with a label pill on its left) and dims the
|
|
32
|
+
* screen with a tap-to-dismiss scrim; tapping again (the "+" morphs to "✕")
|
|
33
|
+
* collapses it.
|
|
34
|
+
*
|
|
35
|
+
* Color comes INLINE from {@link useColors}: the toggle + `primary` circles fill
|
|
36
|
+
* with `brand.primary`, `danger` circles with `semantic.error`, neutral circles
|
|
37
|
+
* + label pills with `bg.card` (outlined `border.default`), and the elevation is
|
|
38
|
+
* the themed {@link useShadows} (`lg` toggle, `md` actions). The dimming scrim is
|
|
39
|
+
* DERIVED from `colors.text.primary` via {@link scrimColor} — no literal
|
|
40
|
+
* `rgba(...)` — so it tracks any injected palette. Motion runs on the lifted
|
|
41
|
+
* {@link SPRINGS} press config + reanimated layout transitions. There is no
|
|
42
|
+
* `className`; the menu owns its absolute position via `bottom` / `right`.
|
|
43
|
+
*
|
|
44
|
+
* Material 3 "FAB menu" pattern: https://m3.material.io/components/fab-menu.
|
|
45
|
+
* For a single action, use {@link Fab} instead.
|
|
46
|
+
*/
|
|
47
|
+
export declare function FabMenu({ actions, accessibilityLabel, bottom, right, }: FabMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
//# sourceMappingURL=FabMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FabMenu.d.ts","sourceRoot":"","sources":["../../../../../src/components/FabMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAwB9B,uCAAuC;AACvC,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAA;AAE/D,MAAM,WAAW,SAAS;IACxB,8BAA8B;IAC9B,GAAG,EAAE,MAAM,CAAA;IACX,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAA;IACxC,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,qFAAqF;IACrF,OAAO,CAAC,EAAE,gBAAgB,CAAA;CAC3B;AAED,MAAM,WAAW,YAAY;IAC3B,mFAAmF;IACnF,OAAO,EAAE,SAAS,EAAE,CAAA;IACpB,0EAA0E;IAC1E,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,mFAAmF;IACnF,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,iDAAiD;IACjD,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,OAAO,CAAC,EACtB,OAAO,EACP,kBAA8B,EAC9B,MAAW,EACX,KAAU,GACX,EAAE,YAAY,2CAoJd"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface FavoriteButtonProps {
|
|
4
|
+
isFavorite: boolean;
|
|
5
|
+
onPress: () => void;
|
|
6
|
+
/** Used to compose the accessibility label, e.g. "Add Sencha to favorites". */
|
|
7
|
+
itemName: string;
|
|
8
|
+
/** Icon size in dp. Defaults to `22`. */
|
|
9
|
+
size?: number;
|
|
10
|
+
/** Override the active (favorited) tint. Defaults to `colors.brand.accent`. */
|
|
11
|
+
activeColor?: string;
|
|
12
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
13
|
+
style?: StyleProp<ViewStyle>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Theme-agnostic toggle heart — a small Pressable for favoriting an item on a
|
|
17
|
+
* card. Stays a pure visual primitive: it does not own the id, so callers wrap
|
|
18
|
+
* their own `onToggleFavorite(id, isFavorite)` in `onPress`.
|
|
19
|
+
*
|
|
20
|
+
* Colour comes INLINE from {@link useColors}: the active heart fills with
|
|
21
|
+
* `brand.accent` (overridable via `activeColor`) and the inactive heart is an
|
|
22
|
+
* outline in `text.tertiary`. It imposes NO external margin — spacing is the
|
|
23
|
+
* consumer's concern, applied via `style` (e.g. an inline `marginLeft`), so a
|
|
24
|
+
* heart dropped into a tight chip stays centred.
|
|
25
|
+
*/
|
|
26
|
+
export declare const FavoriteButton: React.NamedExoticComponent<FavoriteButtonProps>;
|
|
27
|
+
//# sourceMappingURL=FavoriteButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FavoriteButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/FavoriteButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAa,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAIxE,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,+EAA+E;IAC/E,QAAQ,EAAE,MAAM,CAAA;IAChB,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,+EAA+E;IAC/E,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,iDA2BzB,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export interface FollowStatsRowProps {
|
|
3
|
+
followerCount: number;
|
|
4
|
+
followingCount: number;
|
|
5
|
+
/** Tap handler for the followers segment. Omit to make it non-interactive. */
|
|
6
|
+
onFollowersPress?: () => void;
|
|
7
|
+
/** Tap handler for the following segment. Omit to make it non-interactive. */
|
|
8
|
+
onFollowingPress?: () => void;
|
|
9
|
+
/** Label for the followers count. Defaults to `'Followers'`. */
|
|
10
|
+
followersLabel?: string;
|
|
11
|
+
/** Label for the following count. Defaults to `'Following'`. */
|
|
12
|
+
followingLabel?: string;
|
|
13
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
14
|
+
style?: StyleProp<ViewStyle>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Theme-agnostic "N Followers · N Following" line (Instagram-style, shown under
|
|
18
|
+
* a profile name). Each segment is tappable.
|
|
19
|
+
*
|
|
20
|
+
* Router-decoupled: the pilot consumer called `router.push('/user-list')`
|
|
21
|
+
* directly; here each segment takes an `onFollowersPress` / `onFollowingPress`
|
|
22
|
+
* callback so the app owns navigation and the library imports no router. Colour
|
|
23
|
+
* comes INLINE from {@link useColors} — counts default to `text.primary` (via
|
|
24
|
+
* {@link Text}) and the labels are `text.secondary`. Layout is applied INLINE
|
|
25
|
+
* from the library-owned {@link SPACE} scale, so the row renders with no
|
|
26
|
+
* NativeWind setup in the consumer and never collapses; `style` is an inline
|
|
27
|
+
* override merged last.
|
|
28
|
+
*/
|
|
29
|
+
export declare function FollowStatsRow({ followerCount, followingCount, onFollowersPress, onFollowingPress, followersLabel, followingLabel, style, }: FollowStatsRowProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
//# sourceMappingURL=FollowStatsRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FollowStatsRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/FollowStatsRow.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAK9E,MAAM,WAAW,mBAAmB;IAClC,aAAa,EAAE,MAAM,CAAA;IACrB,cAAc,EAAE,MAAM,CAAA;IACtB,8EAA8E;IAC9E,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC7B,8EAA8E;IAC9E,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC7B,gEAAgE;IAChE,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gEAAgE;IAChE,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,cAAc,CAAC,EAC7B,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,gBAAgB,EAChB,cAA4B,EAC5B,cAA4B,EAC5B,KAAK,GACN,EAAE,mBAAmB,2CAOrB"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { ViewStyle } from 'react-native';
|
|
3
|
+
export interface FormScreenProps {
|
|
4
|
+
/** Title shown in the header. Always rendered, even during loading/error. */
|
|
5
|
+
title: string;
|
|
6
|
+
/** Icon buttons / chips shown on the right of the header. */
|
|
7
|
+
rightActions?: ReactNode;
|
|
8
|
+
/** Back-button callback, forwarded to the header. The app supplies navigation. */
|
|
9
|
+
onBack?: () => void;
|
|
10
|
+
/** Reports a query in flight — shows the loading body. Header stays visible. */
|
|
11
|
+
isLoading?: boolean;
|
|
12
|
+
/** Reports a failed query — shows the error body. Header stays visible. */
|
|
13
|
+
error?: Error | null;
|
|
14
|
+
/** Wired into the error-body Retry button. */
|
|
15
|
+
onRetry?: () => void;
|
|
16
|
+
/** Overrides the default «Something went wrong» copy in the error body. */
|
|
17
|
+
errorMessage?: string;
|
|
18
|
+
/** Sticky CTA — mounted outside the scroll body via `<StickyBottomBar>`. */
|
|
19
|
+
bottomBar?: ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* Render `bottomBar` as a transparent, borderless floating area (no
|
|
22
|
+
* divider/background) instead of the default `<StickyBottomBar>` — for screens
|
|
23
|
+
* where the CTA should sit on the gradient rather than in a chrome bar.
|
|
24
|
+
*/
|
|
25
|
+
floatingBottomBar?: boolean;
|
|
26
|
+
/** Forwarded to the underlying KeyboardAvoidingView. */
|
|
27
|
+
keyboardVerticalOffset?: number;
|
|
28
|
+
/** Overrides the default `{ paddingBottom: 32 }` on the inner scroll body. */
|
|
29
|
+
contentContainerStyle?: ViewStyle;
|
|
30
|
+
children: ReactNode;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Theme-agnostic chrome for form (add/edit) screens. Composes the library's own
|
|
34
|
+
* scaffolds rather than duplicating them: {@link ScreenGradient} background +
|
|
35
|
+
* safe area + an always-visible {@link ScreenHeader} (`variant="form"`), a
|
|
36
|
+
* keyboard-aware {@link KeyboardScrollView} body, and an optional bottom bar.
|
|
37
|
+
*
|
|
38
|
+
* The body switches between {@link LoadingScreen}, {@link ErrorState} and
|
|
39
|
+
* `children` via the pure lifted {@link resolveDetailScreenState} — the same
|
|
40
|
+
* resolver `<DetailScreen>` uses — so the back chevron never vanishes while a
|
|
41
|
+
* load query is in flight. It carries NO color of its own; every surface inside
|
|
42
|
+
* reads the theme.
|
|
43
|
+
*
|
|
44
|
+
* Forms set `enableKeyboardAvoidance={false}` + `automaticallyAdjustKeyboardInsets`
|
|
45
|
+
* so the focused field scrolls above the keyboard (a KAV only shifts the body and
|
|
46
|
+
* leaves a bottom field covered). The bottom bar is a SIBLING of the scroll body,
|
|
47
|
+
* so it tucks under the keyboard while typing.
|
|
48
|
+
*
|
|
49
|
+
* Router-decoupled: `onBack` is forwarded straight to the header — no
|
|
50
|
+
* `expo-router` import, no `router.back()` default.
|
|
51
|
+
*/
|
|
52
|
+
export declare function FormScreen({ title, rightActions, onBack, isLoading, error, errorMessage, onRetry, bottomBar, floatingBottomBar, keyboardVerticalOffset, contentContainerStyle, children, }: FormScreenProps): import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
//# sourceMappingURL=FormScreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormScreen.d.ts","sourceRoot":"","sources":["../../../../../src/components/FormScreen.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAY7C,MAAM,WAAW,eAAe;IAC9B,6EAA6E;IAC7E,KAAK,EAAE,MAAM,CAAA;IACb,6DAA6D;IAC7D,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,kFAAkF;IAClF,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,gFAAgF;IAChF,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAA;IACpB,8CAA8C;IAC9C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,2EAA2E;IAC3E,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,4EAA4E;IAC5E,SAAS,CAAC,EAAE,SAAS,CAAA;IACrB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,wDAAwD;IACxD,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,8EAA8E;IAC9E,qBAAqB,CAAC,EAAE,SAAS,CAAA;IACjC,QAAQ,EAAE,SAAS,CAAA;CACpB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,YAAY,EACZ,MAAM,EACN,SAAS,EACT,KAAK,EACL,YAAY,EACZ,OAAO,EACP,SAAS,EACT,iBAAyB,EACzB,sBAAsB,EACtB,qBAAqB,EACrB,QAAQ,GACT,EAAE,eAAe,2CA8CjB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type StyleProp, type TextStyle } from 'react-native';
|
|
2
|
+
import type { TextVariant } from '../theme/types';
|
|
3
|
+
export interface FormattedTextProps {
|
|
4
|
+
/** Raw text that may contain inline markdown (bold, italic, code, strike). */
|
|
5
|
+
content: string;
|
|
6
|
+
variant?: TextVariant;
|
|
7
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
8
|
+
style?: StyleProp<TextStyle>;
|
|
9
|
+
/**
|
|
10
|
+
* Font family used for **bold** segments. RN custom fonts do not bold via
|
|
11
|
+
* `fontWeight`, so bold must swap to a distinct loaded family. Defaults to the
|
|
12
|
+
* theme's `label-md` family (the heavier face every theme already ships); pass
|
|
13
|
+
* an explicit family to override per surface.
|
|
14
|
+
*/
|
|
15
|
+
boldFontFamily?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Theme-agnostic inline-markdown renderer — turns the inline emphasis a bot
|
|
19
|
+
* reply may contain (`**bold**`, `_italic_`, `` `code` ``, `~~strike~~`) into
|
|
20
|
+
* styled segments. Block markdown is intentionally unsupported (chat bubbles
|
|
21
|
+
* render a single paragraph); the tokenizer lives in (and is tested through) the
|
|
22
|
+
* pure {@link parseInlineMarkdown} helper.
|
|
23
|
+
*
|
|
24
|
+
* Color + base font come INLINE from the theme via the wrapping {@link Text}
|
|
25
|
+
* (default `text.primary`, the `variant`'s family + geometry). Bold segments
|
|
26
|
+
* swap to {@link FormattedTextProps.boldFontFamily} — defaulting to the theme's
|
|
27
|
+
* `label-md` family — and inline code swaps to a platform monospace face.
|
|
28
|
+
*/
|
|
29
|
+
export declare function FormattedText({ content, variant, style, boldFontFamily, }: FormattedTextProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
//# sourceMappingURL=FormattedText.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormattedText.d.ts","sourceRoot":"","sources":["../../../../../src/components/FormattedText.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAGvF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAGjD,MAAM,WAAW,kBAAkB;IACjC,8EAA8E;IAC9E,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAeD;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,OAAmB,EACnB,KAAK,EACL,cAAc,GACf,EAAE,kBAAkB,2CAapB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface GoogleGlyphProps {
|
|
2
|
+
/** Square edge length in px. Defaults to `20`. */
|
|
3
|
+
size?: number;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Official multi-colour Google "G" glyph — the documented hardcoded-hex
|
|
7
|
+
* exception in everkit-ui.
|
|
8
|
+
*
|
|
9
|
+
* Google's brand guidelines require this EXACT four-colour mark on "Sign in with
|
|
10
|
+
* Google" buttons; a generic icon (or a theme-tinted recolour) is not acceptable
|
|
11
|
+
* and would violate the brand terms. So unlike every other component — whose
|
|
12
|
+
* colour comes inline from the injected theme — this one carries its four fixed
|
|
13
|
+
* brand hex values (`#EA4335` / `#4285F4` / `#FBBC05` / `#34A853`) by design.
|
|
14
|
+
* The paths are the canonical 48×48 Google logo, drawn via `react-native-svg`
|
|
15
|
+
* so no image asset is needed. `size` is the only knob.
|
|
16
|
+
*/
|
|
17
|
+
export declare function GoogleGlyph({ size }: GoogleGlyphProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=GoogleGlyph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoogleGlyph.d.ts","sourceRoot":"","sources":["../../../../../src/components/GoogleGlyph.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,gBAAgB;IAC/B,kDAAkD;IAClD,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,EAAE,IAAS,EAAE,EAAE,gBAAgB,2CAqB1D"}
|