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,48 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
export type ScreenHeaderVariant = 'detail' | 'form';
|
|
4
|
+
export interface ScreenHeaderProps {
|
|
5
|
+
/**
|
|
6
|
+
* Big header copy. Optional because `variant="detail"` renders no title slot
|
|
7
|
+
* at all when omitted (a back-chevron-only header).
|
|
8
|
+
*/
|
|
9
|
+
title?: string;
|
|
10
|
+
/** Small line below the title (e.g. a chat screen's "AI Assistant"). */
|
|
11
|
+
subtitle?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Back-button handler. The consuming app passes its navigation callback here
|
|
14
|
+
* (e.g. `() => router.back()`); the library never imports a router. When
|
|
15
|
+
* omitted the chevron still renders but does nothing — pass `showBack={false}`
|
|
16
|
+
* (or `showBack={Boolean(onBack)}`) to hide it on screens with no back nav.
|
|
17
|
+
*/
|
|
18
|
+
onBack?: () => void;
|
|
19
|
+
/** Render the back chevron. Defaults to `true`. */
|
|
20
|
+
showBack?: boolean;
|
|
21
|
+
/** Icon buttons / chips shown on the right of the header. */
|
|
22
|
+
rightActions?: ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* `'detail'` — no title slot when none is passed; larger/heavier title
|
|
25
|
+
* (`heading-lg`) when one is. `'form'` — plainer `display-sm` title. Controls
|
|
26
|
+
* title typography only. Defaults to `'detail'`.
|
|
27
|
+
*/
|
|
28
|
+
variant?: ScreenHeaderVariant;
|
|
29
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
30
|
+
style?: StyleProp<ViewStyle>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Theme-agnostic screen header — back chevron on the left, optional
|
|
34
|
+
* title + subtitle in the middle, optional right-action slot on the right.
|
|
35
|
+
* Safe-area is owned by the parent scaffold.
|
|
36
|
+
*
|
|
37
|
+
* Color comes INLINE from {@link useColors}: the chevron is `text.primary`, the
|
|
38
|
+
* title defaults to `text.primary` (via {@link Text}), and the subtitle is
|
|
39
|
+
* `text.secondary`. Layout (flex, padding, gap) is applied INLINE from the
|
|
40
|
+
* library-owned {@link SPACE} scale, so the header renders with no NativeWind
|
|
41
|
+
* setup in the consumer; `style` is an inline override merged last.
|
|
42
|
+
*
|
|
43
|
+
* Router-decoupled: `onBack` is a plain callback wired straight to the back
|
|
44
|
+
* Pressable's `onPress` — there is deliberately NO `expo-router` import and NO
|
|
45
|
+
* `router.back()` default. The consuming app supplies navigation.
|
|
46
|
+
*/
|
|
47
|
+
export declare function ScreenHeader({ title, subtitle, onBack, showBack, rightActions, variant, style, }: ScreenHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
//# sourceMappingURL=ScreenHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/ScreenHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAA+B,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAM1F,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,MAAM,CAAA;AAEnD,MAAM,WAAW,iBAAiB;IAChC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,wEAAwE;IACxE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,6DAA6D;IAC7D,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,QAAQ,EACR,MAAM,EACN,QAAe,EACf,YAAY,EACZ,OAAkB,EAClB,KAAK,GACN,EAAE,iBAAiB,2CAoCnB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export interface SearchInputProps {
|
|
3
|
+
value: string;
|
|
4
|
+
onChangeText: (text: string) => void;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Debounce in ms before `onChangeText` fires (the field updates instantly).
|
|
8
|
+
* Defaults to `300`. Pass `0` to fire on every keystroke.
|
|
9
|
+
*/
|
|
10
|
+
debounceMs?: number;
|
|
11
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
12
|
+
style?: StyleProp<ViewStyle>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Theme-agnostic debounced search field — a pill with a leading magnifier and a
|
|
16
|
+
* trailing clear button. The field updates immediately for a responsive feel
|
|
17
|
+
* while `onChangeText` is debounced (`debounceMs`) so list filtering doesn't run
|
|
18
|
+
* on every keystroke.
|
|
19
|
+
*
|
|
20
|
+
* Every colour comes INLINE from {@link useColors}: the pill fills with
|
|
21
|
+
* `bg.secondary`, the icons + placeholder are `text.tertiary`, and the typed
|
|
22
|
+
* text is `text.primary`. The field font comes from the theme's `body-md`
|
|
23
|
+
* variant (family + geometry) rather than a `font-*` className — the pilot
|
|
24
|
+
* consumer's hardcoded `font-quicksand-medium` is removed. Layout (flex,
|
|
25
|
+
* padding, radius) is applied INLINE from the library-owned {@link SPACE}/
|
|
26
|
+
* {@link RADIUS} scale, so the field renders with no NativeWind setup in the
|
|
27
|
+
* consumer; `style` is an inline override merged last.
|
|
28
|
+
*/
|
|
29
|
+
export declare function SearchInput({ value, onChangeText, placeholder, debounceMs, style, }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
//# sourceMappingURL=SearchInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAA8B,KAAK,SAAS,EAAkB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAMzG,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACpC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,YAAY,EACZ,WAAyB,EACzB,UAAgB,EAChB,KAAK,GACN,EAAE,gBAAgB,2CA6FlB"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type LucideIcon } from 'lucide-react-native';
|
|
3
|
+
export interface SelectionSheetItem<T> {
|
|
4
|
+
/** Stable identity — also the selection key (`selectedId`) and list key. */
|
|
5
|
+
id: string;
|
|
6
|
+
/** Primary line. */
|
|
7
|
+
label: string;
|
|
8
|
+
/** Secondary line — a category, capacity, anything one-line. */
|
|
9
|
+
subtitle?: string;
|
|
10
|
+
/** Optional leading thumbnail (remote or local URI). */
|
|
11
|
+
imageUri?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Optional fallback icon shown in the leading disc when there is no
|
|
14
|
+
* `imageUri`. Pass the lucide component itself (e.g. `icon={Leaf}`) — that's
|
|
15
|
+
* tree-shake friendly and matches how the rest of the library takes icons.
|
|
16
|
+
*/
|
|
17
|
+
icon?: LucideIcon;
|
|
18
|
+
/** The raw entity the caller cares about, handed back in `onSelect`. */
|
|
19
|
+
data: T;
|
|
20
|
+
}
|
|
21
|
+
export interface SelectionSheetProps<T> {
|
|
22
|
+
visible: boolean;
|
|
23
|
+
onClose: () => void;
|
|
24
|
+
title: string;
|
|
25
|
+
/** Pre-sorted by the caller (recency, alphabetical, …). */
|
|
26
|
+
items: SelectionSheetItem<T>[];
|
|
27
|
+
/** Id of the currently-selected item — gets a check + tinted row. */
|
|
28
|
+
selectedId?: string;
|
|
29
|
+
onSelect: (item: SelectionSheetItem<T>) => void;
|
|
30
|
+
/** Show the search field. Defaults to `true`; pass `false` for short lists. */
|
|
31
|
+
searchable?: boolean;
|
|
32
|
+
searchPlaceholder?: string;
|
|
33
|
+
/** Shown when the filtered list is empty (search miss or zero items). */
|
|
34
|
+
emptyState?: ReactNode;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Theme-agnostic selection sheet — a searchable, single-select picker on top of
|
|
38
|
+
* the library's {@link BottomActionSheet}. Each row is a leading thumbnail (or a
|
|
39
|
+
* fallback {@link SelectionSheetItem.icon} disc), a label + optional subtitle,
|
|
40
|
+
* and a check on the selected row.
|
|
41
|
+
*
|
|
42
|
+
* Generic over the item payload `T`: `items` carry the raw entity in `data`,
|
|
43
|
+
* which is handed straight back through `onSelect`, so the same sheet picks a
|
|
44
|
+
* tea, a contact, a workspace — anything one-line. Domain-free: no app store,
|
|
45
|
+
* router, or icon namespace; the caller supplies the (pre-sorted) items.
|
|
46
|
+
*
|
|
47
|
+
* Built on {@link BottomActionSheet} (a `Modal`, not `@gorhom/bottom-sheet`) so
|
|
48
|
+
* it needs no gesture/animation peer, with {@link SearchInput} for the filter
|
|
49
|
+
* (label + subtitle, case-insensitive) and a `FlatList` body. The query resets
|
|
50
|
+
* each time the sheet closes. Colour comes INLINE from {@link useColors};
|
|
51
|
+
* spacing from the {@link SPACE} scale.
|
|
52
|
+
*/
|
|
53
|
+
export declare function SelectionSheet<T>({ visible, onClose, title, items, selectedId, onSelect, searchable, searchPlaceholder, emptyState, }: SelectionSheetProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
//# sourceMappingURL=SelectionSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectionSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/SelectionSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6C,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjF,OAAO,EAAY,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAY/D,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,4EAA4E;IAC5E,EAAE,EAAE,MAAM,CAAA;IACV,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,wDAAwD;IACxD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,wEAAwE;IACxE,IAAI,EAAE,CAAC,CAAA;CACR;AAED,MAAM,WAAW,mBAAmB,CAAC,CAAC;IACpC,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,2DAA2D;IAC3D,KAAK,EAAE,kBAAkB,CAAC,CAAC,CAAC,EAAE,CAAA;IAC9B,qEAAqE;IACrE,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAA;IAC/C,+EAA+E;IAC/E,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,yEAAyE;IACzE,UAAU,CAAC,EAAE,SAAS,CAAA;CACvB;AAeD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAAC,CAAC,EAAE,EAChC,OAAO,EACP,OAAO,EACP,KAAK,EACL,KAAK,EACL,UAAU,EACV,QAAQ,EACR,UAAiB,EACjB,iBAA6B,EAC7B,UAAU,GACX,EAAE,mBAAmB,CAAC,CAAC,CAAC,2CAkLxB"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type React from 'react';
|
|
2
|
+
interface SettingsRowBaseProps {
|
|
3
|
+
/** Leading glyph rendered inside the rounded disc (a lucide icon element). */
|
|
4
|
+
icon: React.ReactNode;
|
|
5
|
+
label: string;
|
|
6
|
+
/** Small line below the label. */
|
|
7
|
+
description?: string;
|
|
8
|
+
}
|
|
9
|
+
/** Tappable navigation / action row — shows an optional value + chevron. */
|
|
10
|
+
export interface SettingsRowPressableProps extends SettingsRowBaseProps {
|
|
11
|
+
type: 'pressable';
|
|
12
|
+
/** Trailing read-only value (e.g. the current selection). */
|
|
13
|
+
value?: string;
|
|
14
|
+
onPress: () => void;
|
|
15
|
+
/** Render the trailing chevron. Defaults to `true`. */
|
|
16
|
+
showChevron?: boolean;
|
|
17
|
+
/** Renders the label in `semantic.error` (e.g. "Delete account", "Sign out"). */
|
|
18
|
+
destructive?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/** Toggle row — delegates layout to {@link ToggleRow}. */
|
|
21
|
+
export interface SettingsRowToggleProps extends SettingsRowBaseProps {
|
|
22
|
+
type: 'toggle';
|
|
23
|
+
value: boolean;
|
|
24
|
+
onValueChange: (value: boolean) => void;
|
|
25
|
+
}
|
|
26
|
+
/** Static info row — a label + read-only value (string or a custom cell). */
|
|
27
|
+
export interface SettingsRowInfoProps extends SettingsRowBaseProps {
|
|
28
|
+
type: 'info';
|
|
29
|
+
/**
|
|
30
|
+
* A string renders with the row's default trailing value style; pass a
|
|
31
|
+
* `ReactNode` when you need a custom value cell (badge, link, formatted
|
|
32
|
+
* number).
|
|
33
|
+
*/
|
|
34
|
+
value: string | React.ReactNode;
|
|
35
|
+
}
|
|
36
|
+
export type SettingsRowProps = SettingsRowPressableProps | SettingsRowToggleProps | SettingsRowInfoProps;
|
|
37
|
+
/**
|
|
38
|
+
* Theme-agnostic settings row in three shapes, discriminated on `type`:
|
|
39
|
+
* - `'pressable'` — a tappable navigation/action row (trailing value + chevron),
|
|
40
|
+
* - `'toggle'` — a label + `Switch` (delegates to {@link ToggleRow}),
|
|
41
|
+
* - `'info'` — a static label + read-only value.
|
|
42
|
+
*
|
|
43
|
+
* Color comes INLINE from {@link useColors}: the leading icon disc fills with
|
|
44
|
+
* `bg.secondary`, the label defaults to `text.primary` (via {@link Text}, or
|
|
45
|
+
* `semantic.error` when a pressable row is `destructive`), and the description +
|
|
46
|
+
* trailing value + chevron use the tertiary tokens. `className` is intentionally
|
|
47
|
+
* not exposed — rows are designed to sit flush inside a {@link SettingsSection}
|
|
48
|
+
* card, so their padding/alignment is fixed for consistency.
|
|
49
|
+
*/
|
|
50
|
+
export declare function SettingsRow(props: SettingsRowProps): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
export {};
|
|
52
|
+
//# sourceMappingURL=SettingsRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SettingsRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/SettingsRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAY9B,UAAU,oBAAoB;IAC5B,8EAA8E;IAC9E,IAAI,EAAE,KAAK,CAAC,SAAS,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,4EAA4E;AAC5E,MAAM,WAAW,yBAA0B,SAAQ,oBAAoB;IACrE,IAAI,EAAE,WAAW,CAAA;IACjB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,uDAAuD;IACvD,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,iFAAiF;IACjF,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,0DAA0D;AAC1D,MAAM,WAAW,sBAAuB,SAAQ,oBAAoB;IAClE,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,EAAE,OAAO,CAAA;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CACxC;AAED,6EAA6E;AAC7E,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;IAChE,IAAI,EAAE,MAAM,CAAA;IACZ;;;;OAIG;IACH,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAA;CAChC;AAED,MAAM,MAAM,gBAAgB,GACxB,yBAAyB,GACzB,sBAAsB,GACtB,oBAAoB,CAAA;AAMxB;;;;;;;;;;;;GAYG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CA+ElD"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface SettingsSectionProps {
|
|
4
|
+
/** Section heading rendered above the grouped card. */
|
|
5
|
+
heading: string;
|
|
6
|
+
/** Section body — usually one or more {@link SettingsRow}s, optionally divided. */
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
/** Optional inline style override, merged last so callers can retune the inset/gap. */
|
|
9
|
+
style?: StyleProp<ViewStyle>;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Theme-agnostic settings section: a horizontally-inset heading followed by a
|
|
13
|
+
* {@link Card}-wrapped body. Groups related rows on a settings screen
|
|
14
|
+
* (Appearance, Notifications, Privacy, About).
|
|
15
|
+
*
|
|
16
|
+
* It carries NO color of its own — the heading uses {@link Text}'s default
|
|
17
|
+
* `text.primary` and the surface is the library's themed {@link Card}. Layout
|
|
18
|
+
* (the standard horizontal inset + bottom gap so stacked sections space evenly)
|
|
19
|
+
* is applied INLINE from the library-owned {@link SPACE} scale, so the section
|
|
20
|
+
* renders with no NativeWind setup in the consumer; `style` is an inline
|
|
21
|
+
* override merged last.
|
|
22
|
+
*/
|
|
23
|
+
export declare function SettingsSection({ heading, children, style }: SettingsSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
//# sourceMappingURL=SettingsSection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SettingsSection.d.ts","sourceRoot":"","sources":["../../../../../src/components/SettingsSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAKnE,MAAM,WAAW,oBAAoB;IACnC,uDAAuD;IACvD,OAAO,EAAE,MAAM,CAAA;IACf,mFAAmF;IACnF,QAAQ,EAAE,SAAS,CAAA;IACnB,uFAAuF;IACvF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,oBAAoB,2CASjF"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type DimensionValue, type ViewStyle } from 'react-native';
|
|
2
|
+
export interface SkeletonProps {
|
|
3
|
+
/** Width — a number (px) or a `DimensionValue` (`'100%'`). Defaults to `'100%'`. */
|
|
4
|
+
width?: DimensionValue;
|
|
5
|
+
/** Height in px. Defaults to `16`. */
|
|
6
|
+
height?: number;
|
|
7
|
+
/** Border radius. Defaults to `8`. */
|
|
8
|
+
borderRadius?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Override the moving highlight-band colour. Defaults to a translucent wash
|
|
11
|
+
* derived from the theme's brightest surface (`bg.card`) so the shimmer reads
|
|
12
|
+
* over the `bg.tertiary` base under any palette.
|
|
13
|
+
*/
|
|
14
|
+
highlightColor?: string;
|
|
15
|
+
style?: ViewStyle;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Theme-agnostic shimmer placeholder — the generic loading-block primitive.
|
|
19
|
+
* Compose several to build a screen's skeleton (the domain skeletons —
|
|
20
|
+
* inventory / detail / chat layouts — stay per app).
|
|
21
|
+
*
|
|
22
|
+
* Colour comes INLINE from {@link useColors}: the base fills with `bg.tertiary`
|
|
23
|
+
* and the moving highlight is a translucent wash DERIVED from `bg.card` via
|
|
24
|
+
* {@link hexToRgba} (overridable via `highlightColor`) — no hardcoded brand
|
|
25
|
+
* colour. The pilot consumer keyed the highlight off `useTheme().isDark`, which
|
|
26
|
+
* is not part of everkit's theme contract, so the brightest-surface wash is used
|
|
27
|
+
* instead. Honors Reduce-Motion (renders a static block) and defers the animated
|
|
28
|
+
* sweep until navigation interactions settle.
|
|
29
|
+
*/
|
|
30
|
+
export declare function Skeleton({ width, height, borderRadius, highlightColor, style, }: SkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,EAA4B,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AA2F5F,MAAM,WAAW,aAAa;IAC5B,oFAAoF;IACpF,KAAK,CAAC,EAAE,cAAc,CAAA;IACtB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,sCAAsC;IACtC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,QAAQ,CAAC,EACvB,KAAc,EACd,MAAW,EACX,YAAgB,EAChB,cAAc,EACd,KAAK,GACN,EAAE,aAAa,2CA0Bf"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type ViewStyle } from 'react-native';
|
|
2
|
+
import { type SpinnerSize } from '../internal/spinnerProps';
|
|
3
|
+
export type { SpinnerSize } from '../internal/spinnerProps';
|
|
4
|
+
export interface SpinnerProps {
|
|
5
|
+
/** Semantic size — `sm`, `md` (default), or `lg`. */
|
|
6
|
+
size?: SpinnerSize;
|
|
7
|
+
/** Override the spinner colour. Defaults to `colors.brand.primary`. */
|
|
8
|
+
color?: string;
|
|
9
|
+
/** Extra style passed through to `ActivityIndicator`. */
|
|
10
|
+
style?: ViewStyle;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Theme-agnostic inline loading spinner — for spinners inside buttons, list
|
|
14
|
+
* footers, small badges, content-area placeholders, and overlay cards.
|
|
15
|
+
*
|
|
16
|
+
* Color comes INLINE from {@link useColors}: it defaults to `brand.primary` so
|
|
17
|
+
* callers can usually omit it (pass `color` to override — e.g. anything on a
|
|
18
|
+
* brand background uses `text.inverse`). The size → `ActivityIndicator`
|
|
19
|
+
* size/transform mapping is kept pure in the lifted {@link resolveSpinnerProps}
|
|
20
|
+
* helper. There is no `className` — a spinner carries no layout of its own.
|
|
21
|
+
*/
|
|
22
|
+
export declare function Spinner({ size, color, style }: SpinnerProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
//# sourceMappingURL=Spinner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner.d.ts","sourceRoot":"","sources":["../../../../../src/components/Spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAEhE,OAAO,EAAuB,KAAK,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAEhF,YAAY,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAE3D,MAAM,WAAW,YAAY;IAC3B,qDAAqD;IACrD,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,yDAAyD;IACzD,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB;AAED;;;;;;;;;GASG;AACH,wBAAgB,OAAO,CAAC,EAAE,IAAW,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,YAAY,2CAiBlE"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export type StarRatingSize = 'sm' | 'md' | 'lg';
|
|
3
|
+
export interface StarRatingProps {
|
|
4
|
+
/** Current rating value (`0`–`5`). */
|
|
5
|
+
value: number;
|
|
6
|
+
/** Tap callback. Omit (or set `readonly`) for read-only display. */
|
|
7
|
+
onChange?: (rating: number) => void;
|
|
8
|
+
size?: StarRatingSize;
|
|
9
|
+
/** When true the stars are not interactive. */
|
|
10
|
+
readonly?: boolean;
|
|
11
|
+
/** Override the filled-star colour. Defaults to `colors.brand.secondary`. */
|
|
12
|
+
filledColor?: string;
|
|
13
|
+
/** Override the empty-star colour. Defaults to `colors.border.default`. */
|
|
14
|
+
emptyColor?: string;
|
|
15
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
16
|
+
style?: StyleProp<ViewStyle>;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Theme-agnostic five-star rating — read-only display or an interactive picker.
|
|
20
|
+
*
|
|
21
|
+
* Colour comes INLINE from {@link useColors}: filled stars default to
|
|
22
|
+
* `brand.secondary` (the warm "rating gold" both themes route through that
|
|
23
|
+
* token) and empty stars to `border.default`; both are overridable via
|
|
24
|
+
* `filledColor` / `emptyColor`. Interactive only when `onChange` is set and
|
|
25
|
+
* `readonly` is false. Layout is applied INLINE from the library-owned
|
|
26
|
+
* {@link SPACE} scale, so the rating renders with no NativeWind setup in the
|
|
27
|
+
* consumer; `style` is an inline override merged last.
|
|
28
|
+
*/
|
|
29
|
+
export declare function StarRating({ value, onChange, size, readonly, filledColor, emptyColor, style, }: StarRatingProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
//# sourceMappingURL=StarRating.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StarRating.d.ts","sourceRoot":"","sources":["../../../../../src/components/StarRating.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAKrF,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;AAE/C,MAAM,WAAW,eAAe;IAC9B,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAA;IACb,oEAAoE;IACpE,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,IAAI,CAAC,EAAE,cAAc,CAAA;IACrB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAMD;;;;;;;;;;GAUG;AACH,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,QAAQ,EACR,IAAW,EACX,QAAgB,EAChB,WAAW,EACX,UAAU,EACV,KAAK,GACN,EAAE,eAAe,2CA+CjB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
export interface StatTileProps {
|
|
4
|
+
/**
|
|
5
|
+
* Big number / short string in the value slot. A plain `string` is wrapped in
|
|
6
|
+
* the standard `heading-lg` Text; a `ReactNode` is rendered as-is (drop in a
|
|
7
|
+
* custom badge).
|
|
8
|
+
*/
|
|
9
|
+
value: string | ReactNode;
|
|
10
|
+
/** ALL-CAPS label under the value (e.g. "SESSIONS"). */
|
|
11
|
+
label: string;
|
|
12
|
+
/** Colour for the value text. Defaults to the inherited `text.primary`. */
|
|
13
|
+
color?: string;
|
|
14
|
+
/** Colour for the label text. Defaults to the inherited tertiary colour. */
|
|
15
|
+
labelColor?: string;
|
|
16
|
+
/** Optional decoration (small icon) rendered above the value. */
|
|
17
|
+
icon?: ReactNode;
|
|
18
|
+
/** Optional inline style override, merged last so callers can retune the tile. */
|
|
19
|
+
style?: StyleProp<ViewStyle>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Theme-agnostic stat cell: a small ALL-CAPS label under a big number. Lives
|
|
23
|
+
* inside a {@link HeroStatsRow} which owns the row layout and dividers.
|
|
24
|
+
*
|
|
25
|
+
* Carries NO colour of its own — the value defaults to {@link Text}'s
|
|
26
|
+
* `text.primary` and the label to `caption-sm`'s tint; pass `color` /
|
|
27
|
+
* `labelColor` (theme values) to retint. Layout (flex + padding) is applied
|
|
28
|
+
* INLINE from the library-owned {@link SPACE} scale, so the tile renders with no
|
|
29
|
+
* NativeWind setup in the consumer; `style` is an inline override merged last
|
|
30
|
+
* (the row still owns the surrounding spacing).
|
|
31
|
+
*/
|
|
32
|
+
export declare function StatTile({ value, label, color, labelColor, icon, style }: StatTileProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
//# sourceMappingURL=StatTile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatTile.d.ts","sourceRoot":"","sources":["../../../../../src/components/StatTile.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AACtD,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAInE,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,wDAAwD;IACxD,KAAK,EAAE,MAAM,CAAA;IACb,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,4EAA4E;IAC5E,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,iEAAiE;IACjE,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,kFAAkF;IAClF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,QAAQ,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,aAAa,2CAyBvF"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* Per-dot state.
|
|
4
|
+
*
|
|
5
|
+
* - `completed` — a step already finished (renders in `completedColor`).
|
|
6
|
+
* - `active` — the current step (the wide pill, in `activeColor`).
|
|
7
|
+
* - `upcoming` — a step not yet reached (renders in `inactiveColor`).
|
|
8
|
+
*/
|
|
9
|
+
export type StepDotState = 'completed' | 'active' | 'upcoming';
|
|
10
|
+
export type StepDotsVariant = 'progress' | 'plain';
|
|
11
|
+
export interface StepDotsProps {
|
|
12
|
+
/** Total number of dots. */
|
|
13
|
+
count: number;
|
|
14
|
+
/**
|
|
15
|
+
* Index of the current step (`0`-based). Dots before it are `completed`, the
|
|
16
|
+
* dot at it is `active`, and dots after it are `upcoming`. Pass `-1` (or any
|
|
17
|
+
* value `< 0`) for "no step active yet" — every dot then renders `upcoming`.
|
|
18
|
+
*/
|
|
19
|
+
activeIndex: number;
|
|
20
|
+
/** Dot diameter (the `active` dot keeps this height but is rendered wider). Default `8`. */
|
|
21
|
+
size?: number;
|
|
22
|
+
/** Gap between dots. Default `SPACE['2']` (8). */
|
|
23
|
+
gap?: number;
|
|
24
|
+
/** Colour of the `active` dot. Defaults to `colors.brand.primary`. */
|
|
25
|
+
activeColor?: string;
|
|
26
|
+
/** Colour of `upcoming` dots. Defaults to `colors.border.default`. */
|
|
27
|
+
inactiveColor?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Colour of `completed` dots. Defaults to a translucent `colors.brand.primary`.
|
|
30
|
+
* Only consulted by the `progress` variant.
|
|
31
|
+
*/
|
|
32
|
+
completedColor?: string;
|
|
33
|
+
/**
|
|
34
|
+
* - `progress` (default) — distinguishes `completed` / `active` / `upcoming`,
|
|
35
|
+
* so finished steps read differently from ones not yet reached.
|
|
36
|
+
* - `plain` — only the `active` dot differs; every other dot uses
|
|
37
|
+
* `inactiveColor`, regardless of whether it is before or after the active one.
|
|
38
|
+
*/
|
|
39
|
+
variant?: StepDotsVariant;
|
|
40
|
+
/** Optional inline style override, merged last so callers can retune layout. */
|
|
41
|
+
style?: StyleProp<ViewStyle>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Theme-agnostic step / progress dots — a centred row of dots marking position
|
|
45
|
+
* through an N-step flow, with the current step lifted into a wide pill.
|
|
46
|
+
*
|
|
47
|
+
* Colour comes INLINE from {@link useColors}: the `active` dot defaults to
|
|
48
|
+
* `brand.primary`, `upcoming` dots to `border.default`, and (in the `progress`
|
|
49
|
+
* variant) `completed` dots to a translucent `brand.primary`; all three are
|
|
50
|
+
* overridable via `activeColor` / `inactiveColor` / `completedColor`. Layout
|
|
51
|
+
* (gap + radius) is applied INLINE from the library-owned {@link SPACE}/
|
|
52
|
+
* {@link RADIUS} scale, so the row renders with no NativeWind setup in the
|
|
53
|
+
* consumer; `style` is an inline override merged last.
|
|
54
|
+
*
|
|
55
|
+
* The `active` dot keeps the same {@link StepDotsProps.size} height but renders
|
|
56
|
+
* {@link ACTIVE_WIDTH_FACTOR}× wider so it reads as a pill against the round
|
|
57
|
+
* upcoming/completed dots. The whole row is purely presentational — the caller
|
|
58
|
+
* owns step state and feeds it in via `activeIndex`.
|
|
59
|
+
*/
|
|
60
|
+
export declare function StepDots({ count, activeIndex, size, gap, activeColor, inactiveColor, completedColor, variant, style, }: StepDotsProps): import("react/jsx-runtime").JSX.Element;
|
|
61
|
+
//# sourceMappingURL=StepDots.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepDots.d.ts","sourceRoot":"","sources":["../../../../../src/components/StepDots.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAInE;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,CAAA;AAE9D,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,OAAO,CAAA;AAElD,MAAM,WAAW,aAAa;IAC5B,4BAA4B;IAC5B,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB,4FAA4F;IAC5F,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,kDAAkD;IAClD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,sEAAsE;IACtE,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,sEAAsE;IACtE,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,eAAe,CAAA;IACzB,gFAAgF;IAChF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAWD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,WAAW,EACX,IAAQ,EACR,GAAG,EACH,WAAW,EACX,aAAa,EACb,cAAc,EACd,OAAoB,EACpB,KAAK,GACN,EAAE,aAAa,2CAsCf"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
export interface StickyBottomBarProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/** Merged on top of the computed style — add row/flex/gap or override defaults. */
|
|
6
|
+
style?: StyleProp<ViewStyle>;
|
|
7
|
+
/**
|
|
8
|
+
* When `true`, no top border is painted — for bars that already sit under a
|
|
9
|
+
* separator, or float over scroll content with `position: absolute`.
|
|
10
|
+
*/
|
|
11
|
+
borderless?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Theme-agnostic fixed bottom-CTA bar — the single source of truth for the
|
|
15
|
+
* safe-area inset + top border + background of a pinned action row.
|
|
16
|
+
*
|
|
17
|
+
* Color comes INLINE from {@link useColors}: the surface is `bg.primary` and the
|
|
18
|
+
* hairline top border is `border.default`. The geometry (paddings, the
|
|
19
|
+
* `max(insetBottom, 12)` floor, the borderless rule) lives in the pure lifted
|
|
20
|
+
* {@link resolveStickyBottomBarStyle} helper, fed the safe-area inset from
|
|
21
|
+
* `useSafeAreaInsets()`. Layout is applied INLINE, so the bar renders with no
|
|
22
|
+
* NativeWind setup in the consumer; `style` is an inline override merged last.
|
|
23
|
+
*
|
|
24
|
+
* Render this as a SIBLING after a `<KeyboardScrollView>`, never inside it, so
|
|
25
|
+
* the CTA stays pinned and tucks under the keyboard while typing.
|
|
26
|
+
*/
|
|
27
|
+
export declare function StickyBottomBar({ children, style, borderless }: StickyBottomBarProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
//# sourceMappingURL=StickyBottomBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StickyBottomBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/StickyBottomBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAMxD,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,SAAS,CAAA;IACnB,mFAAmF;IACnF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IAC5B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,oBAAoB,2CAYpF"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export interface TabOption {
|
|
3
|
+
/** Stable key returned to `onSelect`. */
|
|
4
|
+
key: string;
|
|
5
|
+
/** Visible label. */
|
|
6
|
+
label: string;
|
|
7
|
+
}
|
|
8
|
+
export interface TabPillGroupProps {
|
|
9
|
+
tabs: TabOption[];
|
|
10
|
+
/** Key of the currently-selected tab. */
|
|
11
|
+
active: string;
|
|
12
|
+
onSelect: (key: string) => void;
|
|
13
|
+
/** Optional inline style override, merged last so callers can retune the track. */
|
|
14
|
+
style?: StyleProp<ViewStyle>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Theme-agnostic segmented control — a row of pill tabs on an inset track, with
|
|
18
|
+
* the active tab lifted onto a raised surface.
|
|
19
|
+
*
|
|
20
|
+
* Color comes INLINE from {@link useColors}: the track fills with `bg.secondary`,
|
|
21
|
+
* the active pill fills with `bg.primary` and carries the themed {@link useShadows}
|
|
22
|
+
* `sm` elevation, the active label is `text.primary` and inactive labels are
|
|
23
|
+
* `text.tertiary`. Layout (radius + padding) is applied INLINE from the
|
|
24
|
+
* library-owned {@link SPACE}/{@link RADIUS} scale, so the group renders with no
|
|
25
|
+
* NativeWind setup in the consumer; `style` is an inline override merged last.
|
|
26
|
+
*
|
|
27
|
+
* The track is a fixed-height ({@link TRACK_HEIGHT}) `flex-row`; each `flex-1`
|
|
28
|
+
* pill stretches to fill it and centers its label both axes. See
|
|
29
|
+
* {@link TRACK_HEIGHT} for why the height is explicit rather than derived from
|
|
30
|
+
* the label's intrinsic size.
|
|
31
|
+
*/
|
|
32
|
+
export declare function TabPillGroup({ tabs, active, onSelect, style }: TabPillGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
//# sourceMappingURL=TabPillGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabPillGroup.d.ts","sourceRoot":"","sources":["../../../../../src/components/TabPillGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAK9E,MAAM,WAAW,SAAS;IACxB,yCAAyC;IACzC,GAAG,EAAE,MAAM,CAAA;IACX,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,SAAS,EAAE,CAAA;IACjB,yCAAyC;IACzC,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/B,mFAAmF;IACnF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AAgBD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,YAAY,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,iBAAiB,2CA2ChF"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type TextProps as RNTextProps } from 'react-native';
|
|
2
|
+
import type { TextVariant } from '../theme/types';
|
|
3
|
+
export interface TextProps extends RNTextProps {
|
|
4
|
+
variant?: TextVariant;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The proof component for everkit-ui's one styling rule.
|
|
9
|
+
*
|
|
10
|
+
* Color and fonts come INLINE from the theme:
|
|
11
|
+
* - `fontFamily` from `tokens.typography.fontFamily[variant]`
|
|
12
|
+
* - geometry (`fontSize` / `lineHeight` / `letterSpacing`) from
|
|
13
|
+
* {@link VARIANT_GEOMETRY}
|
|
14
|
+
* - default `color` from `tokens.colors.text.primary`
|
|
15
|
+
*
|
|
16
|
+
* `className` may carry LAYOUT ONLY — never a var-backed color/font class
|
|
17
|
+
* (`text-text-*`, `font-*`), because NativeWind's CSS-variable path does not
|
|
18
|
+
* reliably swap on native dark mode. A caller overrides the color with an inline
|
|
19
|
+
* `style={{ color }}`, which is merged last and therefore wins.
|
|
20
|
+
*
|
|
21
|
+
* EMOJI SAFETY: on iOS a text run with an explicit custom `fontFamily` does NOT
|
|
22
|
+
* cascade to the system colour-emoji font, so any emoji renders as a tofu box.
|
|
23
|
+
* When `children` flattens to plain text (a string, number, or array of those —
|
|
24
|
+
* see {@link asPlainString}) that contains emoji we therefore keep geometry +
|
|
25
|
+
* color on the OUTER `<RNText>` but move the variant
|
|
26
|
+
* `fontFamily` onto nested `<RNText>` runs wrapping only the NON-emoji text; the
|
|
27
|
+
* emoji runs are wrapped in a bare nested `<RNText>` with no `fontFamily`, so
|
|
28
|
+
* they inherit none from the (font-less) parent and iOS falls back to the colour
|
|
29
|
+
* emoji font. Plain text without emoji, and non-string children (React nodes),
|
|
30
|
+
* keep `fontFamily` on the outer node exactly as before — the public API and the
|
|
31
|
+
* common-case render are unchanged.
|
|
32
|
+
*/
|
|
33
|
+
export declare function Text({ variant, style, children, ...rest }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../../src/components/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,SAAS,IAAI,WAAW,EAAkB,MAAM,cAAc,CAAA;AAG5F,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEjD,MAAM,WAAW,SAAU,SAAQ,WAAW;IAC5C,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAiFD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,IAAI,CAAC,EACnB,OAAmB,EACnB,KAAK,EACL,QAAQ,EACR,GAAG,IAAI,EACR,EAAE,SAAS,2CAyCX"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
export type ToastVariant = 'success' | 'error' | 'info';
|
|
3
|
+
export interface ToastProps {
|
|
4
|
+
variant?: ToastVariant;
|
|
5
|
+
title: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
/** Whether the toast is shown. Flip to animate in; the toast hides itself after `duration`. */
|
|
8
|
+
visible: boolean;
|
|
9
|
+
/** Called once the exit animation finishes — the owner should clear its state here. */
|
|
10
|
+
onHide: () => void;
|
|
11
|
+
/** Auto-hide duration in ms (default `3000`). */
|
|
12
|
+
duration?: number;
|
|
13
|
+
/** Optional inline style override, merged last so callers can retune the anchor/position. */
|
|
14
|
+
style?: StyleProp<ViewStyle>;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Theme-agnostic, presentational toast — a top-anchored card that slides down +
|
|
18
|
+
* fades in, then auto-hides after `duration`. This is the VIEW only; the
|
|
19
|
+
* imperative `ToastProvider` / `useToast` queue stays per app (the library owns
|
|
20
|
+
* no global state), so a host renders `<Toast visible … onHide … />` and drives
|
|
21
|
+
* `visible` itself.
|
|
22
|
+
*
|
|
23
|
+
* Color comes INLINE from {@link useColors}: the surface is `bg.card`, the
|
|
24
|
+
* 1px outline is `border.default`, and the 4px left accent + icon use the
|
|
25
|
+
* per-variant `semantic.*` / `brand.primary` colour from {@link getVariantConfig}.
|
|
26
|
+
* Elevation comes from the themed {@link useShadows} `md` preset (so each theme
|
|
27
|
+
* tunes its own dark-mode opacity). Motion runs on the lifted {@link SPRINGS}
|
|
28
|
+
* enter + {@link TIMINGS} exit. Position/spacing are applied INLINE from the
|
|
29
|
+
* library-owned {@link SPACE}/{@link RADIUS} scale, so the toast renders with no
|
|
30
|
+
* NativeWind setup in the consumer; `style` is an inline override merged last.
|
|
31
|
+
*/
|
|
32
|
+
export declare function Toast({ variant, title, description, visible, onHide, duration, style, }: ToastProps): import("react/jsx-runtime").JSX.Element | null;
|
|
33
|
+
//# sourceMappingURL=Toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toast.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAA;AAkBnE,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAA;AAEvD,MAAM,WAAW,UAAU;IACzB,OAAO,CAAC,EAAE,YAAY,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+FAA+F;IAC/F,OAAO,EAAE,OAAO,CAAA;IAChB,uFAAuF;IACvF,MAAM,EAAE,MAAM,IAAI,CAAA;IAClB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,6FAA6F;IAC7F,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;CAC7B;AA6BD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,KAAK,CAAC,EACpB,OAAmB,EACnB,KAAK,EACL,WAAW,EACX,OAAO,EACP,MAAM,EACN,QAAe,EACf,KAAK,GACN,EAAE,UAAU,kDAiFZ"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type ReactElement } from 'react';
|
|
2
|
+
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
import { type LucideIcon } from 'lucide-react-native';
|
|
4
|
+
export interface ToggleRowProps {
|
|
5
|
+
label: string;
|
|
6
|
+
value: boolean;
|
|
7
|
+
onValueChange: (value: boolean) => void;
|
|
8
|
+
/** Small line below the label. */
|
|
9
|
+
helperText?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Optional leading icon, rendered inside the left disc that matches
|
|
12
|
+
* {@link SettingsRow}. Accepts either a `LucideIcon` COMPONENT (e.g.
|
|
13
|
+
* `icon={Bell}` — size + colour owned here for consistency) or a pre-rendered
|
|
14
|
+
* `ReactElement` (already styled by the caller), so `SettingsRow` can forward
|
|
15
|
+
* its already-rendered icon when delegating a `type="toggle"` row here.
|
|
16
|
+
*/
|
|
17
|
+
icon?: LucideIcon | ReactElement;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
/** Optional inline style override, merged last so callers can retune the row. */
|
|
20
|
+
style?: StyleProp<ViewStyle>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Theme-agnostic row primitive: a label + optional helper text + a `Switch`.
|
|
24
|
+
* Tapping anywhere on the row toggles the value (matches platform expectations
|
|
25
|
+
* and a11y — the row's accessibility role is `switch`). Its visual style matches
|
|
26
|
+
* {@link SettingsRow}'s toggle variant so the two mix inside a `Card` seamlessly.
|
|
27
|
+
*
|
|
28
|
+
* Color comes INLINE from {@link useColors}: the icon disc fills with
|
|
29
|
+
* `bg.secondary`, the label defaults to `text.primary` (via {@link Text}), the
|
|
30
|
+
* helper text is `text.tertiary`, and the `Switch` track is `border.default` →
|
|
31
|
+
* `brand.primary` with a `bg.primary` thumb. Layout (flex, gap, padding, radius)
|
|
32
|
+
* is applied INLINE from the library-owned {@link SPACE}/{@link RADIUS} scale, so
|
|
33
|
+
* the row renders with no NativeWind setup in the consumer and aligns across a
|
|
34
|
+
* section; `style` is an inline escape hatch merged last.
|
|
35
|
+
*/
|
|
36
|
+
export declare function ToggleRow({ label, value, onValueChange, helperText, icon, disabled, style, }: ToggleRowProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
//# sourceMappingURL=ToggleRow.d.ts.map
|