astro-component-kit 0.0.1 → 0.1.1
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/README.md +218 -119
- package/package.json +28 -55
- package/src/components/index.ts +207 -0
- package/src/components/lib/AnimatedGalaxy.astro +185 -0
- package/src/components/lib/Galaxy3D.astro +308 -0
- package/src/components/lib/GlassNavbar.astro +13 -11
- package/src/components/lib/LogoWithGalaxy.astro +63 -0
- package/src/components/lib/buttons/3dPushButton.astro +9 -0
- package/src/components/lib/buttons/AnimatedIconButton.astro +10 -0
- package/src/components/lib/buttons/BorderDrawButton.astro +9 -0
- package/src/components/lib/buttons/CyberpunkButton.astro +10 -0
- package/src/components/lib/buttons/DoubleBorderButton.astro +9 -0
- package/src/components/lib/buttons/GhostOutlineButton.astro +10 -0
- package/src/components/lib/buttons/GlassButton.astro +13 -32
- package/src/components/lib/buttons/GlowButton.astro +9 -0
- package/src/components/lib/buttons/LiquidButton.astro +9 -0
- package/src/components/lib/buttons/LoadingButton.astro +10 -0
- package/src/components/lib/buttons/MagneticButton.astro +10 -0
- package/src/components/lib/buttons/MinimalPillButton.astro +9 -0
- package/src/components/lib/buttons/NeumorphicButton.astro +10 -0
- package/src/components/lib/buttons/PulseButton.astro +10 -0
- package/src/components/lib/buttons/RetroArcadeButton.astro +9 -0
- package/src/components/lib/buttons/RetroShadowButton.astro +9 -0
- package/src/components/lib/buttons/ShimmerButton.astro +9 -0
- package/src/components/lib/buttons/ShinyButton.astro +9 -0
- package/src/components/lib/buttons/TiltGlowButton.astro +10 -0
- package/src/components/lib/cards/BlogHorizontalCard.astro +46 -13
- package/src/components/lib/cards/CyberFeatureCard.astro +50 -6
- package/src/components/lib/cards/EcommerceProductCard.astro +69 -16
- package/src/components/lib/cards/GlassCard.astro +8 -0
- package/src/components/lib/cards/GlassEventCard.astro +53 -12
- package/src/components/lib/cards/GlowPortfolioCard.astro +46 -9
- package/src/components/lib/cards/InteractiveTiltCard.astro +47 -7
- package/src/components/lib/cards/KanbanItemCard.astro +40 -9
- package/src/components/lib/cards/MinimalLinkCard.astro +37 -7
- package/src/components/lib/cards/MusicPlayerMini.astro +54 -14
- package/src/components/lib/cards/NeumorphicCard.astro +32 -2
- package/src/components/lib/cards/NotificationCard.astro +44 -9
- package/src/components/lib/cards/PricingCard.astro +47 -9
- package/src/components/lib/cards/ProfileCard.astro +50 -11
- package/src/components/lib/cards/RetroGameCard.astro +37 -9
- package/src/components/lib/cards/StatCard.astro +43 -8
- package/src/components/lib/cards/TaskKanbanCard.astro +50 -11
- package/src/components/lib/cards/TestimonialCardClean.astro +43 -12
- package/src/components/lib/cards/WeatherWidgetCard.astro +36 -10
- package/src/components/lib/feedback/AnimatedCheckmark.astro +58 -9
- package/src/components/lib/feedback/Badge.astro +47 -12
- package/src/components/lib/feedback/CircleProgress.astro +56 -13
- package/src/components/lib/feedback/ConfettiFeedback.astro +74 -11
- package/src/components/lib/feedback/CyberGlitchAlert.astro +69 -6
- package/src/components/lib/feedback/EmptyStateCard.astro +55 -7
- package/src/components/lib/feedback/GlassAlert.astro +59 -13
- package/src/components/lib/feedback/GlassModal.astro +99 -14
- package/src/components/lib/feedback/GlassProgress.astro +39 -5
- package/src/components/lib/feedback/IndicatorBadgeMinimal.astro +56 -3
- package/src/components/lib/feedback/NeonSpinner.astro +40 -3
- package/src/components/lib/feedback/PulseDot.astro +51 -7
- package/src/components/lib/feedback/RatingPill.astro +38 -8
- package/src/components/lib/feedback/ShakeErrorGroup.astro +44 -3
- package/src/components/lib/feedback/SimpleTooltip.astro +53 -4
- package/src/components/lib/feedback/SkeletonList.astro +59 -13
- package/src/components/lib/feedback/Spotlight.astro +49 -4
- package/src/components/lib/feedback/StepProgress.astro +96 -9
- package/src/components/lib/feedback/ToastNotif.astro +60 -6
- package/src/components/lib/feedback/TypingIndicator.astro +52 -7
- package/src/components/lib/forms/AnimatedInput.astro +47 -5
- package/src/components/lib/forms/ChipInput.astro +116 -8
- package/src/components/lib/forms/ColorPickerInput.astro +53 -6
- package/src/components/lib/forms/CurrencyInput.astro +59 -6
- package/src/components/lib/forms/CustomRadioGroup.astro +61 -9
- package/src/components/lib/forms/CyberpunkCheckbox.astro +64 -8
- package/src/components/lib/forms/DragDropUpload.astro +87 -7
- package/src/components/lib/forms/ErrorInput.astro +31 -4
- package/src/components/lib/forms/FloatingPassword.astro +48 -10
- package/src/components/lib/forms/FormGroupVertical.astro +63 -9
- package/src/components/lib/forms/GlassSlider.astro +84 -3
- package/src/components/lib/forms/GlassTextarea.astro +39 -6
- package/src/components/lib/forms/ModernSelect.astro +66 -10
- package/src/components/lib/forms/NeumorphicSwitch.astro +54 -26
- package/src/components/lib/forms/OTPInput.astro +84 -12
- package/src/components/lib/forms/RatingStars.astro +66 -10
- package/src/components/lib/forms/SearchReveal.astro +44 -6
- package/src/components/lib/forms/SegmentedControl.astro +61 -7
- package/src/components/lib/forms/SimpleFileInput.astro +57 -6
- package/src/components/lib/forms/StepperInput.astro +101 -9
- package/src/components/lib/layout/FeatureHero.astro +70 -6
- package/src/components/lib/layout/FooterCenteredMinimal.astro +5 -2
- package/src/components/lib/navigation/GlassNavbar.astro +10 -5
- package/src/components/lib/navigation/MinimalSidebar.astro +6 -3
- package/src/components/lib/navigation/SimpleFooterGlass.astro +6 -2
- package/src/components/lib/overlays/SplashIntroOverlay.astro +6 -3
- package/src/components/lib/sections/ButtonsShowcase.astro +182 -0
- package/src/components/lib/sections/CardsShowcase.astro +376 -0
- package/src/components/lib/sections/DataShowcase.astro +329 -0
- package/src/components/lib/sections/FeedbackShowcase.astro +320 -0
- package/src/components/lib/sections/FormsShowcase.astro +347 -0
- package/src/components/lib/sections/HeroGlass.astro +202 -0
- package/src/components/lib/sections/HeroGradient.astro +143 -0
- package/src/components/lib/sections/HeroSplit.astro +210 -0
- package/src/components/lib/sections/LayoutShowcase.astro +317 -0
- package/src/components/lib/sections/NavigationShowcase.astro +285 -0
- package/src/components/lib/sections/OverlaysShowcase.astro +373 -0
- package/src/components/lib/sections/TypographyShowcase.astro +239 -0
- package/src/components/lib/sections/index.ts +6 -0
- package/src/components/types.d.ts +6 -0
- package/{dist → src}/styles/global.css +5 -5
- package/dist/AnimatedInput.astro +0 -82
- package/dist/Badge.astro +0 -52
- package/dist/GlassButton.astro +0 -87
- package/dist/GlassCard.astro +0 -72
- package/dist/GlassNavbar.astro +0 -65
- package/dist/GlowButton.astro +0 -60
- package/dist/buttons/3dPushButton.astro +0 -136
- package/dist/buttons/AnimatedIconButton.astro +0 -146
- package/dist/buttons/BorderDrawButton.astro +0 -112
- package/dist/buttons/CyberpunkButton.astro +0 -148
- package/dist/buttons/DoubleBorderButton.astro +0 -131
- package/dist/buttons/GhostOutlineButton.astro +0 -109
- package/dist/buttons/GlassButton.astro +0 -165
- package/dist/buttons/GlowButton.astro +0 -119
- package/dist/buttons/LiquidButton.astro +0 -167
- package/dist/buttons/LoadingButton.astro +0 -148
- package/dist/buttons/MagneticButton.astro +0 -134
- package/dist/buttons/MinimalPillButton.astro +0 -102
- package/dist/buttons/NeumorphicButton.astro +0 -158
- package/dist/buttons/PulseButton.astro +0 -111
- package/dist/buttons/RetroArcadeButton.astro +0 -105
- package/dist/buttons/RetroShadowButton.astro +0 -82
- package/dist/buttons/ShimmerButton.astro +0 -113
- package/dist/buttons/ShinyButton.astro +0 -121
- package/dist/buttons/TiltGlowButton.astro +0 -145
- package/dist/buttons/index.mjs +0 -19
- package/dist/buttons/index.ts +0 -19
- package/dist/cards/BlogHorizontalCard.astro +0 -18
- package/dist/cards/CyberFeatureCard.astro +0 -12
- package/dist/cards/EcommerceProductCard.astro +0 -24
- package/dist/cards/GlassCard.astro +0 -17
- package/dist/cards/GlassEventCard.astro +0 -19
- package/dist/cards/GlowPortfolioCard.astro +0 -16
- package/dist/cards/InteractiveTiltCard.astro +0 -25
- package/dist/cards/KanbanItemCard.astro +0 -15
- package/dist/cards/MinimalLinkCard.astro +0 -12
- package/dist/cards/MusicPlayerMini.astro +0 -21
- package/dist/cards/NeumorphicCard.astro +0 -6
- package/dist/cards/NotificationCard.astro +0 -15
- package/dist/cards/PricingCard.astro +0 -17
- package/dist/cards/ProfileCard.astro +0 -17
- package/dist/cards/RetroGameCard.astro +0 -15
- package/dist/cards/StatCard.astro +0 -15
- package/dist/cards/TaskKanbanCard.astro +0 -18
- package/dist/cards/TestimonialCardClean.astro +0 -20
- package/dist/cards/WeatherWidgetCard.astro +0 -17
- package/dist/cards/index.mjs +0 -19
- package/dist/cards/index.ts +0 -19
- package/dist/data/AccordionGroupGlass.astro +0 -21
- package/dist/data/AvatarGroupStack.astro +0 -15
- package/dist/data/CalendarGridView.astro +0 -18
- package/dist/data/DataChipsGroup.astro +0 -16
- package/dist/data/DescriptionListHoriz.astro +0 -14
- package/dist/data/FileTreeView.astro +0 -22
- package/dist/data/GanttChartMinimal.astro +0 -12
- package/dist/data/GlassTable.astro +0 -23
- package/dist/data/KeyValuePillGroup.astro +0 -12
- package/dist/data/PriceCompareTable.astro +0 -22
- package/dist/data/ProgressListSmall.astro +0 -17
- package/dist/data/RatingBreakdownBar.astro +0 -13
- package/dist/data/SparklineStatCard.astro +0 -16
- package/dist/data/StatsGridDashboard.astro +0 -16
- package/dist/data/StepperDataVertical.astro +0 -15
- package/dist/data/TagCloudData.astro +0 -14
- package/dist/data/TimelineHorizSteps.astro +0 -18
- package/dist/data/TreeItemInteractive.astro +0 -18
- package/dist/data/UserDirectoryItem.astro +0 -15
- package/dist/data/VerticalTimeline.astro +0 -21
- package/dist/data/index.mjs +0 -20
- package/dist/data/index.ts +0 -20
- package/dist/feedback/AnimatedCheckmark.astro +0 -13
- package/dist/feedback/Badge.astro +0 -19
- package/dist/feedback/CircleProgress.astro +0 -22
- package/dist/feedback/ConfettiFeedback.astro +0 -18
- package/dist/feedback/CyberGlitchAlert.astro +0 -11
- package/dist/feedback/EmptyStateCard.astro +0 -13
- package/dist/feedback/GlassAlert.astro +0 -20
- package/dist/feedback/GlassModal.astro +0 -19
- package/dist/feedback/GlassProgress.astro +0 -10
- package/dist/feedback/IndicatorBadgeMinimal.astro +0 -10
- package/dist/feedback/NeonSpinner.astro +0 -7
- package/dist/feedback/PulseDot.astro +0 -12
- package/dist/feedback/RatingPill.astro +0 -13
- package/dist/feedback/ShakeErrorGroup.astro +0 -7
- package/dist/feedback/SimpleTooltip.astro +0 -10
- package/dist/feedback/SkeletonList.astro +0 -20
- package/dist/feedback/Spotlight.astro +0 -9
- package/dist/feedback/StepProgress.astro +0 -14
- package/dist/feedback/ToastNotif.astro +0 -11
- package/dist/feedback/TypingIndicator.astro +0 -12
- package/dist/feedback/index.mjs +0 -20
- package/dist/feedback/index.ts +0 -20
- package/dist/forms/AnimatedInput.astro +0 -16
- package/dist/forms/ChipInput.astro +0 -13
- package/dist/forms/ColorPickerInput.astro +0 -13
- package/dist/forms/CurrencyInput.astro +0 -11
- package/dist/forms/CustomRadioGroup.astro +0 -13
- package/dist/forms/CyberpunkCheckbox.astro +0 -15
- package/dist/forms/DragDropUpload.astro +0 -12
- package/dist/forms/ErrorInput.astro +0 -11
- package/dist/forms/FloatingPassword.astro +0 -20
- package/dist/forms/FormGroupVertical.astro +0 -14
- package/dist/forms/GlassSlider.astro +0 -7
- package/dist/forms/GlassTextarea.astro +0 -14
- package/dist/forms/ModernSelect.astro +0 -16
- package/dist/forms/NeumorphicSwitch.astro +0 -55
- package/dist/forms/OTPInput.astro +0 -22
- package/dist/forms/RatingStars.astro +0 -15
- package/dist/forms/SearchReveal.astro +0 -13
- package/dist/forms/SegmentedControl.astro +0 -13
- package/dist/forms/SimpleFileInput.astro +0 -11
- package/dist/forms/StepperInput.astro +0 -14
- package/dist/forms/index.mjs +0 -20
- package/dist/forms/index.ts +0 -20
- package/dist/index.js +0 -1
- package/dist/index.mjs +0 -1
- package/dist/layout/BentoGrid3.astro +0 -14
- package/dist/layout/CenterFixedBox.astro +0 -6
- package/dist/layout/CenteredContainer.astro +0 -8
- package/dist/layout/ClusterHorizontal.astro +0 -6
- package/dist/layout/FeatureHero.astro +0 -17
- package/dist/layout/FooterCenteredMinimal.astro +0 -11
- package/dist/layout/FullBleedSection.astro +0 -6
- package/dist/layout/GalleryGrid4.astro +0 -7
- package/dist/layout/GlassCardGrid.astro +0 -6
- package/dist/layout/GlassSectionHeader.astro +0 -15
- package/dist/layout/LandingSectionSplit.astro +0 -13
- package/dist/layout/MasonryGrid.astro +0 -7
- package/dist/layout/MinimalFooterGrid.astro +0 -20
- package/dist/layout/ScrollSnapSection.astro +0 -7
- package/dist/layout/SectionDividerText.astro +0 -7
- package/dist/layout/SidebarLayoutWrapper.astro +0 -11
- package/dist/layout/SplitScreenLayout.astro +0 -11
- package/dist/layout/StepLayoutVertical.astro +0 -21
- package/dist/layout/StickySidebarWrapper.astro +0 -10
- package/dist/layout/VerticalStack.astro +0 -8
- package/dist/layout/index.mjs +0 -20
- package/dist/layout/index.ts +0 -20
- package/dist/navigation/AnchorSideNav.astro +0 -13
- package/dist/navigation/BottomNavMobile.astro +0 -13
- package/dist/navigation/BreadcrumbsMinimal.astro +0 -16
- package/dist/navigation/BurgerMorphIcon.astro +0 -12
- package/dist/navigation/CommandPaletteUI.astro +0 -17
- package/dist/navigation/DotNavigationSlider.astro +0 -13
- package/dist/navigation/FloatingTabBar.astro +0 -12
- package/dist/navigation/GlassNavbar.astro +0 -19
- package/dist/navigation/LangSwitcherPill.astro +0 -17
- package/dist/navigation/MegaMenuGlass.astro +0 -25
- package/dist/navigation/MinimalSidebar.astro +0 -18
- package/dist/navigation/PaginationGlass.astro +0 -20
- package/dist/navigation/PaginationInfiniteUI.astro +0 -11
- package/dist/navigation/RadialIconMenu.astro +0 -15
- package/dist/navigation/RetroArcadeMenu.astro +0 -12
- package/dist/navigation/ScrollProgressTop.astro +0 -15
- package/dist/navigation/SimpleFooterGlass.astro +0 -21
- package/dist/navigation/TabUnderline.astro +0 -14
- package/dist/navigation/UserProfileNav.astro +0 -21
- package/dist/navigation/VerticalTabs.astro +0 -14
- package/dist/navigation/index.mjs +0 -20
- package/dist/navigation/index.ts +0 -20
- package/dist/overlays/AgeVerificationOverlay.astro +0 -20
- package/dist/overlays/BackdropBlurMask.astro +0 -6
- package/dist/overlays/BottomSheetMobile.astro +0 -16
- package/dist/overlays/CommandDialog.astro +0 -19
- package/dist/overlays/ContextMenuOverlay.astro +0 -17
- package/dist/overlays/CookieBannerGlass.astro +0 -14
- package/dist/overlays/ExitIntentOverlay.astro +0 -19
- package/dist/overlays/FloatingTrayActions.astro +0 -13
- package/dist/overlays/HelpBubbleOverlay.astro +0 -11
- package/dist/overlays/LightboxOverlay.astro +0 -13
- package/dist/overlays/LoadingOverlayFull.astro +0 -10
- package/dist/overlays/MobileNavOverlay.astro +0 -18
- package/dist/overlays/OverlayModal.astro +0 -24
- package/dist/overlays/PopoverMenuGlass.astro +0 -17
- package/dist/overlays/SearchOverlayFullscreen.astro +0 -15
- package/dist/overlays/SideDrawerRight.astro +0 -16
- package/dist/overlays/SplashIntroOverlay.astro +0 -11
- package/dist/overlays/SpotlightIndicator.astro +0 -6
- package/dist/overlays/ToastStackOverlay.astro +0 -12
- package/dist/overlays/TooltipActionTray.astro +0 -14
- package/dist/overlays/index.mjs +0 -20
- package/dist/overlays/index.ts +0 -20
- package/dist/typography/AnimatedUnderlineLink.astro +0 -10
- package/dist/typography/BackgroundClipMask.astro +0 -7
- package/dist/typography/CodeInlineGlass.astro +0 -6
- package/dist/typography/CyberpunkGlitchText.astro +0 -20
- package/dist/typography/DropCapParagraph.astro +0 -7
- package/dist/typography/FadedVerticalText.astro +0 -6
- package/dist/typography/FloatingTextLabel.astro +0 -10
- package/dist/typography/GlassBlockQuote.astro +0 -13
- package/dist/typography/GlassTextReveal.astro +0 -7
- package/dist/typography/GradientHeading.astro +0 -9
- package/dist/typography/GradientUnderlineLink.astro +0 -7
- package/dist/typography/KbdIndicator.astro +0 -6
- package/dist/typography/LetterSpacingWide.astro +0 -6
- package/dist/typography/MinimalListMarkers.astro +0 -10
- package/dist/typography/MonospaceStatLine.astro +0 -6
- package/dist/typography/NeonTextHighlight.astro +0 -6
- package/dist/typography/ShadowRevealText.astro +0 -7
- package/dist/typography/StrokeHeadingOutline.astro +0 -8
- package/dist/typography/Text3DLayer.astro +0 -7
- package/dist/typography/TypewriterText.astro +0 -15
- package/dist/typography/index.mjs +0 -20
- package/dist/typography/index.ts +0 -20
- package/dist/utilities/AspectRatioBox.astro +0 -11
- package/dist/utilities/BackgroundDotPattern.astro +0 -6
- package/dist/utilities/CircularMask.astro +0 -7
- package/dist/utilities/ClickRippleWrapper.astro +0 -7
- package/dist/utilities/FadeInWrapper.astro +0 -11
- package/dist/utilities/FixedRatioImage.astro +0 -7
- package/dist/utilities/GlassBlurLayer.astro +0 -6
- package/dist/utilities/GradientBorderMask.astro +0 -7
- package/dist/utilities/HoverLift.astro +0 -7
- package/dist/utilities/ResponsiveSpacer.astro +0 -15
- package/dist/utilities/ResponsiveVisToggle.astro +0 -11
- package/dist/utilities/ScrollLockParent.astro +0 -11
- package/dist/utilities/ScrollMarginTarget.astro +0 -10
- package/dist/utilities/SlideUpReveal.astro +0 -7
- package/dist/utilities/SmoothAnchorLink.astro +0 -22
- package/dist/utilities/StackLayering.astro +0 -12
- package/dist/utilities/StickyObserver.astro +0 -8
- package/dist/utilities/TextTruncate.astro +0 -10
- package/dist/utilities/TruncateSingleLine.astro +0 -6
- package/dist/utilities/VisuallyHidden.astro +0 -6
- package/dist/utilities/index.mjs +0 -20
- package/dist/utilities/index.ts +0 -20
- package/src/components/lib/utilities/AspectRatioBox.astro +0 -11
- package/src/components/lib/utilities/BackgroundDotPattern.astro +0 -6
- package/src/components/lib/utilities/CircularMask.astro +0 -7
- package/src/components/lib/utilities/ClickRippleWrapper.astro +0 -7
- package/src/components/lib/utilities/FadeInWrapper.astro +0 -11
- package/src/components/lib/utilities/FixedRatioImage.astro +0 -7
- package/src/components/lib/utilities/GlassBlurLayer.astro +0 -6
- package/src/components/lib/utilities/GradientBorderMask.astro +0 -7
- package/src/components/lib/utilities/HoverLift.astro +0 -7
- package/src/components/lib/utilities/ResponsiveSpacer.astro +0 -15
- package/src/components/lib/utilities/ResponsiveVisToggle.astro +0 -11
- package/src/components/lib/utilities/ScrollLockParent.astro +0 -11
- package/src/components/lib/utilities/ScrollMarginTarget.astro +0 -10
- package/src/components/lib/utilities/SlideUpReveal.astro +0 -7
- package/src/components/lib/utilities/SmoothAnchorLink.astro +0 -22
- package/src/components/lib/utilities/StackLayering.astro +0 -12
- package/src/components/lib/utilities/StickyObserver.astro +0 -8
- package/src/components/lib/utilities/TextTruncate.astro +0 -10
- package/src/components/lib/utilities/TruncateSingleLine.astro +0 -6
- package/src/components/lib/utilities/VisuallyHidden.astro +0 -6
- package/src/components/lib/utilities/index.ts +0 -20
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# ⬇ Astro
|
|
1
|
+
# ⬇ Astro Component Kit
|
|
2
2
|
|
|
3
|
-
> A premium, open-source accessible UI component library built for [Astro](https://astro.build).
|
|
4
|
-
> **🌐 Browse & copy components** at [
|
|
3
|
+
> A premium, open-source accessible UI component library built for [Astro](https://astro.build).
|
|
4
|
+
> **🌐 Browse & copy components** at [astrocomponents.dev](https://astrocomponents.dev)
|
|
5
5
|
> **📦 Install via npm** or **copy-paste** — your choice!
|
|
6
6
|
|
|
7
7
|

|
|
@@ -9,11 +9,13 @@
|
|
|
9
9
|

|
|
10
10
|

|
|
11
11
|
|
|
12
|
+
---
|
|
13
|
+
|
|
12
14
|
## ✨ Features
|
|
13
15
|
|
|
14
16
|
- 🎨 **Premium design** — glassmorphism, gradients and micro-animations
|
|
15
17
|
- ♿ **Accessible** — semantic HTML and ARIA attributes included
|
|
16
|
-
- 📋 **Copy & paste** — browse [
|
|
18
|
+
- 📋 **Copy & paste** — browse [astrocomponents.dev](https://astrocomponents.dev) and copy components directly
|
|
17
19
|
- 📦 **npm installable** — `npm install astro-component-kit` for direct imports
|
|
18
20
|
- ♻️ **Zero dependencies** — pure `.astro` components + Vanilla CSS
|
|
19
21
|
- 🌑 **Dark mode first** — designed for dark interfaces out of the box
|
|
@@ -23,26 +25,36 @@
|
|
|
23
25
|
|
|
24
26
|
## 🚀 Quick Start
|
|
25
27
|
|
|
26
|
-
### Option 1: Install via npm
|
|
28
|
+
### Option 1: Install via npm
|
|
27
29
|
|
|
28
30
|
```bash
|
|
29
31
|
npm install astro-component-kit
|
|
30
32
|
```
|
|
31
33
|
|
|
32
|
-
Then import components in your Astro
|
|
34
|
+
Then import and use components in your Astro pages:
|
|
33
35
|
|
|
34
36
|
```astro
|
|
35
37
|
---
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
// Root import — all components
|
|
39
|
+
import { GlassButton, GlassCard, GlassNavbar } from 'astro-component-kit';
|
|
40
|
+
|
|
41
|
+
// Or import by category (recommended for tree-shaking)
|
|
38
42
|
import { GlassButton, GlowButton } from 'astro-component-kit/buttons';
|
|
43
|
+
import { GlassCard, ProfileCard, PricingCard } from 'astro-component-kit/cards';
|
|
44
|
+
import { GlassAlert, Badge } from 'astro-component-kit/feedback';
|
|
45
|
+
import { GlassNavbar, BreadcrumbsMinimal } from 'astro-component-kit/navigation';
|
|
46
|
+
import { GlassModal, OverlayModal } from 'astro-component-kit/overlays';
|
|
47
|
+
import { AnimatedInput, OTPInput } from 'astro-component-kit/forms';
|
|
48
|
+
import { MasonryGrid, BentoGrid3 } from 'astro-component-kit/layout';
|
|
49
|
+
import { GradientHeading, GlassBlockQuote } from 'astro-component-kit/typography';
|
|
50
|
+
import { FadeInWrapper, VisuallyHidden } from 'astro-component-kit/utilities';
|
|
39
51
|
---
|
|
40
52
|
|
|
41
53
|
<GlassButton variant="primary">Click me</GlassButton>
|
|
42
|
-
<GlassCard>Content here</GlassCard>
|
|
54
|
+
<GlassCard title="Welcome">Content here</GlassCard>
|
|
43
55
|
```
|
|
44
56
|
|
|
45
|
-
Import
|
|
57
|
+
**Import global design tokens** (optional but recommended):
|
|
46
58
|
|
|
47
59
|
```astro
|
|
48
60
|
---
|
|
@@ -52,7 +64,7 @@ import 'astro-component-kit/global.css';
|
|
|
52
64
|
|
|
53
65
|
### Option 2: Copy & Paste from Docs
|
|
54
66
|
|
|
55
|
-
1. Visit [
|
|
67
|
+
1. Visit [astrocomponents.dev](https://astrocomponents.dev)
|
|
56
68
|
2. Browse the component library
|
|
57
69
|
3. Click **Copy** on the component code
|
|
58
70
|
4. Paste into your `src/components/` directory
|
|
@@ -61,14 +73,9 @@ import 'astro-component-kit/global.css';
|
|
|
61
73
|
### Option 3: Clone & Run Locally
|
|
62
74
|
|
|
63
75
|
```bash
|
|
64
|
-
|
|
65
|
-
git clone https://github.com/konstantinwdk/astro-component-kit.git
|
|
76
|
+
git clone https://github.com/konstantinwdk/astro-components.git
|
|
66
77
|
cd astro-component-kit
|
|
67
|
-
|
|
68
|
-
# Install dependencies
|
|
69
78
|
npm install
|
|
70
|
-
|
|
71
|
-
# Start the dev server (docs site)
|
|
72
79
|
npm run dev
|
|
73
80
|
```
|
|
74
81
|
|
|
@@ -78,7 +85,7 @@ Open [http://localhost:4321](http://localhost:4321) to browse components locally
|
|
|
78
85
|
|
|
79
86
|
## 📚 Component Library
|
|
80
87
|
|
|
81
|
-
|
|
88
|
+
**200+ components** across 10 categories:
|
|
82
89
|
|
|
83
90
|
| Category | Components | Description |
|
|
84
91
|
|----------|------------|-------------|
|
|
@@ -95,143 +102,237 @@ The library includes **200+ components** organized by category:
|
|
|
95
102
|
|
|
96
103
|
---
|
|
97
104
|
|
|
98
|
-
##
|
|
105
|
+
## 📖 Usage Examples
|
|
99
106
|
|
|
100
|
-
|
|
101
|
-
astro-component-kit/
|
|
102
|
-
├── src/
|
|
103
|
-
│ ├── components/
|
|
104
|
-
│ │ ├── lib/ ← Component source files
|
|
105
|
-
│ │ │ ├── buttons/ ← Button components
|
|
106
|
-
│ │ │ ├── cards/ ← Card components
|
|
107
|
-
│ │ │ ├── ... ← More categories
|
|
108
|
-
│ │ │ └── index.ts ← Main barrel export
|
|
109
|
-
│ │ └── types.d.ts ← TypeScript declarations
|
|
110
|
-
│ ├── data/
|
|
111
|
-
│ │ └── registry/ ← Component metadata for docs site
|
|
112
|
-
│ ├── pages/ ← Astro pages (docs site)
|
|
113
|
-
│ ├── layouts/ └── Layout components
|
|
114
|
-
│ └── styles/
|
|
115
|
-
│ └── global.css ← Design tokens & global styles
|
|
116
|
-
├── dist/ ← Build output (npm package + site)
|
|
117
|
-
├── scripts/
|
|
118
|
-
│ ├── build-lib.mjs ← Build script for npm package
|
|
119
|
-
│ └── deploy-ftp.mjs ← Deploy to astro-component-kitomponents.dev
|
|
120
|
-
└── package.json
|
|
121
|
-
```
|
|
107
|
+
### Building a Landing Page
|
|
122
108
|
|
|
109
|
+
```astro
|
|
110
|
+
---
|
|
111
|
+
import { GlassNavbar } from 'astro-component-kit/navigation';
|
|
112
|
+
import { FeatureHero, SplitScreenLayout, BentoGrid3 } from 'astro-component-kit/layout';
|
|
113
|
+
import { GlassButton, GlowButton, ShimmerButton } from 'astro-component-kit/buttons';
|
|
114
|
+
import { GlassCard, PricingCard, ProfileCard } from 'astro-component-kit/cards';
|
|
115
|
+
import { GlassAlert } from 'astro-component-kit/feedback';
|
|
116
|
+
import { GradientHeading } from 'astro-component-kit/typography';
|
|
117
|
+
import { FadeInWrapper } from 'astro-component-kit/utilities';
|
|
118
|
+
import 'astro-component-kit/global.css';
|
|
123
119
|
---
|
|
124
120
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
121
|
+
<FadeInWrapper>
|
|
122
|
+
<GlassNavbar brand="MyProject" brandHref="/">
|
|
123
|
+
<div slot="links">
|
|
124
|
+
<a href="#">Features</a>
|
|
125
|
+
<a href="#">Pricing</a>
|
|
126
|
+
</div>
|
|
127
|
+
<div slot="actions">
|
|
128
|
+
<GlassButton size="sm">Get Started</GlassButton>
|
|
129
|
+
</div>
|
|
130
|
+
</GlassNavbar>
|
|
131
|
+
|
|
132
|
+
<FeatureHero>
|
|
133
|
+
<h1 slot="title">Build Beautiful Interfaces</h1>
|
|
134
|
+
<p slot="subtitle">Accessible, premium components for Astro.</p>
|
|
135
|
+
<GlowButton slot="cta">Explore Components</GlowButton>
|
|
136
|
+
</FeatureHero>
|
|
137
|
+
|
|
138
|
+
<BentoGrid3>
|
|
139
|
+
<div slot="1">
|
|
140
|
+
<GlassCard title="Feature A" padding="lg">
|
|
141
|
+
<p>Content for the first feature block.</p>
|
|
142
|
+
</GlassCard>
|
|
143
|
+
</div>
|
|
144
|
+
<div slot="2">
|
|
145
|
+
<GlassCard title="Feature B" padding="lg">
|
|
146
|
+
<p>Second feature description.</p>
|
|
147
|
+
</GlassCard>
|
|
148
|
+
</div>
|
|
149
|
+
<div slot="3">
|
|
150
|
+
<GlassCard title="Feature C" padding="lg">
|
|
151
|
+
<p>Third feature details.</p>
|
|
152
|
+
</GlassCard>
|
|
153
|
+
</div>
|
|
154
|
+
<div slot="4">
|
|
155
|
+
<GlassCard title="Stats" padding="lg">
|
|
156
|
+
<p>200+ components available.</p>
|
|
157
|
+
</GlassCard>
|
|
158
|
+
</div>
|
|
159
|
+
</BentoGrid3>
|
|
160
|
+
</FadeInWrapper>
|
|
161
|
+
```
|
|
137
162
|
|
|
138
|
-
###
|
|
163
|
+
### Building a Dashboard
|
|
139
164
|
|
|
140
|
-
|
|
165
|
+
```astro
|
|
166
|
+
---
|
|
167
|
+
import { GlassNavbar } from 'astro-component-kit/navigation';
|
|
168
|
+
import { SidebarLayoutWrapper, StatsGridDashboard, GlassTable } from 'astro-component-kit/layout';
|
|
169
|
+
import { GlassCard } from 'astro-component-kit/cards';
|
|
170
|
+
import { Badge, GlassProgress } from 'astro-component-kit/feedback';
|
|
171
|
+
import 'astro-component-kit/global.css';
|
|
172
|
+
---
|
|
141
173
|
|
|
142
|
-
|
|
143
|
-
|
|
174
|
+
<SidebarLayoutWrapper>
|
|
175
|
+
<div slot="sidebar">
|
|
176
|
+
<nav>
|
|
177
|
+
<a href="/dashboard">Overview</a>
|
|
178
|
+
<a href="/analytics">Analytics</a>
|
|
179
|
+
<a href="/settings">Settings</a>
|
|
180
|
+
</nav>
|
|
181
|
+
</div>
|
|
182
|
+
|
|
183
|
+
<div slot="main">
|
|
184
|
+
<GlassNavbar brand="Dashboard" />
|
|
185
|
+
|
|
186
|
+
<StatsGridDashboard>
|
|
187
|
+
<GlassCard title="Users" padding="md">
|
|
188
|
+
<p class="stat-value">12,458</p>
|
|
189
|
+
<Badge variant="success">+12%</Badge>
|
|
190
|
+
</GlassCard>
|
|
191
|
+
<GlassCard title="Revenue" padding="md">
|
|
192
|
+
<p class="stat-value">$48,290</p>
|
|
193
|
+
<Badge variant="info">This month</Badge>
|
|
194
|
+
</GlassCard>
|
|
195
|
+
</StatsGridDashboard>
|
|
196
|
+
|
|
197
|
+
<GlassCard title="Recent Activity" padding="md">
|
|
198
|
+
<GlassProgress value={75} />
|
|
199
|
+
</GlassCard>
|
|
200
|
+
</div>
|
|
201
|
+
</SidebarLayoutWrapper>
|
|
144
202
|
```
|
|
145
203
|
|
|
146
|
-
|
|
147
|
-
1. Build the Astro site (`npm run build`)
|
|
148
|
-
2. Connect to the FTP server (config in `.vscode/sftp.json`)
|
|
149
|
-
3. **Clear the remote directory** (deletes old deployment)
|
|
150
|
-
4. **Upload the new build** to `/httpdocs/`
|
|
204
|
+
### Building a Form Page
|
|
151
205
|
|
|
152
|
-
|
|
206
|
+
```astro
|
|
207
|
+
---
|
|
208
|
+
import { AnimatedInput, OTPInput, GlassSlider, NeumorphicSwitch } from 'astro-component-kit/forms';
|
|
209
|
+
import { GlassButton } from 'astro-component-kit/buttons';
|
|
210
|
+
import { GlassAlert } from 'astro-component-kit/feedback';
|
|
211
|
+
import { GlassCard } from 'astro-component-kit/cards';
|
|
212
|
+
import 'astro-component-kit/global.css';
|
|
213
|
+
---
|
|
153
214
|
|
|
154
|
-
|
|
215
|
+
<form>
|
|
216
|
+
<GlassCard title="Account Settings" padding="lg">
|
|
217
|
+
<AnimatedInput id="email" name="email" label="Email" type="email" />
|
|
218
|
+
<AnimatedInput id="name" name="name" label="Full Name" />
|
|
155
219
|
|
|
156
|
-
|
|
157
|
-
# 1. Build the library
|
|
158
|
-
npm run build:lib
|
|
220
|
+
<NeumorphicSwitch id="notifications" label="Enable notifications" />
|
|
159
221
|
|
|
160
|
-
|
|
161
|
-
npm login
|
|
222
|
+
<GlassSlider id="volume" min="0" max="100" value="50" label="Volume" />
|
|
162
223
|
|
|
163
|
-
|
|
164
|
-
|
|
224
|
+
<div style="display: flex; gap: 1rem; margin-top: 1.5rem;">
|
|
225
|
+
<GlassButton variant="primary" type="submit">Save Changes</GlassButton>
|
|
226
|
+
<GlassButton variant="ghost">Cancel</GlassButton>
|
|
227
|
+
</div>
|
|
228
|
+
</GlassCard>
|
|
229
|
+
</form>
|
|
165
230
|
```
|
|
166
231
|
|
|
232
|
+
### Using Overlays and Feedback
|
|
233
|
+
|
|
234
|
+
```astro
|
|
235
|
+
---
|
|
236
|
+
import { OverlayModal } from 'astro-component-kit/overlays';
|
|
237
|
+
import { GlassAlert, ToastNotif, Badge } from 'astro-component-kit/feedback';
|
|
238
|
+
import { GlassButton } from 'astro-component-kit/buttons';
|
|
239
|
+
import 'astro-component-kit/global.css';
|
|
167
240
|
---
|
|
168
241
|
|
|
169
|
-
|
|
242
|
+
<GlassAlert type="success" title="Success!">
|
|
243
|
+
Your changes have been saved.
|
|
244
|
+
</GlassAlert>
|
|
170
245
|
|
|
171
|
-
|
|
246
|
+
<GlassAlert type="warning" title="Warning">
|
|
247
|
+
Please review your settings before continuing.
|
|
248
|
+
</GlassAlert>
|
|
172
249
|
|
|
173
|
-
|
|
174
|
-
2. Add metadata to `src/data/registry/{category}.ts`:
|
|
175
|
-
|
|
176
|
-
```ts
|
|
177
|
-
{
|
|
178
|
-
slug: 'my-component',
|
|
179
|
-
name: 'My Component',
|
|
180
|
-
description: 'What it does.',
|
|
181
|
-
category: 'buttons',
|
|
182
|
-
tags: ['button', 'animated'],
|
|
183
|
-
featured: false,
|
|
184
|
-
code: `---
|
|
185
|
-
// MyComponent.astro
|
|
186
|
-
---
|
|
187
|
-
<div class="my-component"><slot /></div>
|
|
188
|
-
<style>.my-component { /* ... */ }</style>`,
|
|
189
|
-
usage: `import MyComponent from '../components/MyComponent.astro';
|
|
190
|
-
<MyComponent>Hello!</MyComponent>`,
|
|
191
|
-
}
|
|
250
|
+
<ToastNotif />
|
|
192
251
|
```
|
|
193
252
|
|
|
194
|
-
|
|
195
|
-
```ts
|
|
196
|
-
export { default as MyComponent } from './MyComponent.astro';
|
|
197
|
-
```
|
|
253
|
+
---
|
|
198
254
|
|
|
199
|
-
|
|
255
|
+
## 🗂️ Project Structure
|
|
200
256
|
|
|
201
|
-
|
|
257
|
+
```
|
|
258
|
+
astro-component-kit/
|
|
259
|
+
├── src/
|
|
260
|
+
│ ├── components/
|
|
261
|
+
│ │ ├── lib/ ← 200+ component source files
|
|
262
|
+
│ │ │ ├── buttons/ ← 19 button components
|
|
263
|
+
│ │ │ ├── cards/ ← 19 card components
|
|
264
|
+
│ │ │ ├── data/ ← 20 data display components
|
|
265
|
+
│ │ │ ├── feedback/ ← 20 feedback components
|
|
266
|
+
│ │ │ ├── forms/ ← 20 form components
|
|
267
|
+
│ │ │ ├── layout/ ← 20 layout components
|
|
268
|
+
│ │ │ ├── navigation/ ← 20 navigation components
|
|
269
|
+
│ │ │ ├── overlays/ ← 20 overlay components
|
|
270
|
+
│ │ │ ├── typography/ ← 20 typography components
|
|
271
|
+
│ │ │ └── utilities/ ← 20 utility components
|
|
272
|
+
│ │ └── index.ts ← Main barrel export
|
|
273
|
+
│ └── types.d.ts ← TypeScript declarations
|
|
274
|
+
├── src/styles/
|
|
275
|
+
│ └── global.css ← Design tokens & global styles
|
|
276
|
+
└── package.json
|
|
277
|
+
```
|
|
202
278
|
|
|
203
279
|
---
|
|
204
280
|
|
|
205
281
|
## 🎨 Design Tokens
|
|
206
282
|
|
|
207
|
-
All components
|
|
283
|
+
All components share a unified design token system. Import the global CSS:
|
|
208
284
|
|
|
209
285
|
```astro
|
|
210
286
|
---
|
|
211
|
-
import '
|
|
287
|
+
import 'astro-component-kit/global.css';
|
|
212
288
|
---
|
|
213
289
|
```
|
|
214
290
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
-
|
|
221
|
-
-
|
|
291
|
+
**Available tokens:**
|
|
292
|
+
|
|
293
|
+
| Token | Values |
|
|
294
|
+
|-------|--------|
|
|
295
|
+
| **Colors** | Dark palette with gold primary (`#b8860b`), accent highlights |
|
|
296
|
+
| **Spacing** | `--sp-1` (4px) to `--sp-16` (64px) |
|
|
297
|
+
| **Typography** | `--font-sans` (Inter), `--font-mono` (JetBrains Mono) |
|
|
298
|
+
| **Radii** | `--r-sm` (8px), `--r-md` (12px), `--r-lg` (20px), `--r-xl` (28px) |
|
|
299
|
+
| **Shadows** | Predefined elevation system for cards and overlays |
|
|
300
|
+
| **Transitions** | Smooth animation timings for all interactions |
|
|
222
301
|
|
|
223
302
|
---
|
|
224
303
|
|
|
225
304
|
## ♿ Accessibility
|
|
226
305
|
|
|
227
|
-
|
|
306
|
+
Every component is built with accessibility as a first-class concern:
|
|
228
307
|
|
|
229
|
-
- ✅ Semantic HTML
|
|
230
|
-
- ✅ ARIA attributes where appropriate
|
|
231
|
-
- ✅ Keyboard navigation support
|
|
232
|
-
- ✅
|
|
233
|
-
- ✅ Screen reader utilities (`.sr-only` class)
|
|
234
|
-
- ✅ Color contrast WCAG AA
|
|
308
|
+
- ✅ Semantic HTML (`<button>`, `<nav>`, `<main>`, `<article>`, etc.)
|
|
309
|
+
- ✅ ARIA attributes and roles where appropriate
|
|
310
|
+
- ✅ Keyboard navigation support (Tab, Enter, Escape, Arrow keys)
|
|
311
|
+
- ✅ Visible focus indicators on all interactive elements
|
|
312
|
+
- ✅ Screen reader utilities (`.sr-only` class in global.css)
|
|
313
|
+
- ✅ Color contrast meeting WCAG AA standards
|
|
314
|
+
- ✅ Reduced motion media queries for animations
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
## 🛠️ Development
|
|
319
|
+
|
|
320
|
+
### Available Scripts
|
|
321
|
+
|
|
322
|
+
| Command | Description |
|
|
323
|
+
|---------|-------------|
|
|
324
|
+
| `npm run dev` | Start the docs site dev server |
|
|
325
|
+
| `npm run build` | Build the docs site for production |
|
|
326
|
+
| `npm run preview` | Preview the built docs site locally |
|
|
327
|
+
| `npm run deploy:ftp` | Deploy docs to astrocomponents.dev via FTP |
|
|
328
|
+
| `npm run typecheck` | Run TypeScript type checking |
|
|
329
|
+
|
|
330
|
+
### Adding a New Component
|
|
331
|
+
|
|
332
|
+
1. Create your component in `src/components/lib/{category}/ComponentName.astro`
|
|
333
|
+
2. Add metadata to `src/data/registry/{category}.ts`
|
|
334
|
+
3. Add barrel export in `src/components/lib/{category}/index.ts`
|
|
335
|
+
4. Add to main export in `src/components/index.ts`
|
|
235
336
|
|
|
236
337
|
---
|
|
237
338
|
|
|
@@ -246,8 +347,6 @@ Contributions are warmly welcomed!
|
|
|
246
347
|
5. Add barrel exports to the category `index.ts`
|
|
247
348
|
6. Submit a Pull Request
|
|
248
349
|
|
|
249
|
-
Please follow the existing code style and include a clear description.
|
|
250
|
-
|
|
251
350
|
---
|
|
252
351
|
|
|
253
352
|
## 📄 License
|
|
@@ -256,7 +355,7 @@ MIT © [konstantinwdk](https://github.com/konstantinwdk)
|
|
|
256
355
|
|
|
257
356
|
## 🌐 Links
|
|
258
357
|
|
|
259
|
-
- **Documentation**: [
|
|
358
|
+
- **Documentation**: [astrocomponents.dev](https://astrocomponents.dev)
|
|
260
359
|
- **npm Package**: [npmjs.com/package/astro-component-kit](https://www.npmjs.com/package/astro-component-kit)
|
|
261
|
-
- **GitHub**: [github.com/konstantinwdk/astro-
|
|
262
|
-
- **Issues**: [GitHub Issues](https://github.com/
|
|
360
|
+
- **GitHub**: [github.com/konstantinwdk/astro-components](https://github.com/konstantinwdk/astro-components)
|
|
361
|
+
- **Issues**: [GitHub Issues](https://github.com/konstantinWDK/astro-components/issues)
|
package/package.json
CHANGED
|
@@ -1,61 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astro-component-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "A premium, open-source accessible UI component library for Astro",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "./
|
|
7
|
-
"module": "./
|
|
8
|
-
"types": "./
|
|
6
|
+
"main": "./src/components/index.ts",
|
|
7
|
+
"module": "./src/components/index.ts",
|
|
8
|
+
"types": "./src/components/types.d.ts",
|
|
9
9
|
"exports": {
|
|
10
|
-
".":
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"./
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"./
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"./
|
|
23
|
-
"types": "./dist/types/data/index.d.ts",
|
|
24
|
-
"import": "./dist/data/index.mjs"
|
|
25
|
-
},
|
|
26
|
-
"./feedback": {
|
|
27
|
-
"types": "./dist/types/feedback/index.d.ts",
|
|
28
|
-
"import": "./dist/feedback/index.mjs"
|
|
29
|
-
},
|
|
30
|
-
"./forms": {
|
|
31
|
-
"types": "./dist/types/forms/index.d.ts",
|
|
32
|
-
"import": "./dist/forms/index.mjs"
|
|
33
|
-
},
|
|
34
|
-
"./layout": {
|
|
35
|
-
"types": "./dist/types/layout/index.d.ts",
|
|
36
|
-
"import": "./dist/layout/index.mjs"
|
|
37
|
-
},
|
|
38
|
-
"./navigation": {
|
|
39
|
-
"types": "./dist/types/navigation/index.d.ts",
|
|
40
|
-
"import": "./dist/navigation/index.mjs"
|
|
41
|
-
},
|
|
42
|
-
"./overlays": {
|
|
43
|
-
"types": "./dist/types/overlays/index.d.ts",
|
|
44
|
-
"import": "./dist/overlays/index.mjs"
|
|
45
|
-
},
|
|
46
|
-
"./typography": {
|
|
47
|
-
"types": "./dist/types/typography/index.d.ts",
|
|
48
|
-
"import": "./dist/typography/index.mjs"
|
|
49
|
-
},
|
|
50
|
-
"./utilities": {
|
|
51
|
-
"types": "./dist/types/utilities/index.d.ts",
|
|
52
|
-
"import": "./dist/utilities/index.mjs"
|
|
53
|
-
},
|
|
54
|
-
"./global.css": "./dist/styles/global.css"
|
|
10
|
+
".": "./src/components/index.ts",
|
|
11
|
+
"./buttons": "./src/components/lib/buttons/index.ts",
|
|
12
|
+
"./cards": "./src/components/lib/cards/index.ts",
|
|
13
|
+
"./data": "./src/components/lib/data/index.ts",
|
|
14
|
+
"./feedback": "./src/components/lib/feedback/index.ts",
|
|
15
|
+
"./forms": "./src/components/lib/forms/index.ts",
|
|
16
|
+
"./layout": "./src/components/lib/layout/index.ts",
|
|
17
|
+
"./navigation": "./src/components/lib/navigation/index.ts",
|
|
18
|
+
"./overlays": "./src/components/lib/overlays/index.ts",
|
|
19
|
+
"./typography": "./src/components/lib/typography/index.ts",
|
|
20
|
+
"./utilities": "./src/components/lib/utilities/index.ts",
|
|
21
|
+
"./sections": "./src/components/lib/sections/index.ts",
|
|
22
|
+
"./global.css": "./src/styles/global.css"
|
|
55
23
|
},
|
|
56
24
|
"files": [
|
|
57
|
-
"
|
|
58
|
-
"src/components/
|
|
25
|
+
"src/components/lib/",
|
|
26
|
+
"src/components/index.ts",
|
|
27
|
+
"src/components/types.d.ts",
|
|
28
|
+
"src/styles/global.css",
|
|
29
|
+
"LICENSE",
|
|
30
|
+
"README.md"
|
|
59
31
|
],
|
|
60
32
|
"sideEffects": false,
|
|
61
33
|
"scripts": {
|
|
@@ -98,11 +70,12 @@
|
|
|
98
70
|
"engines": {
|
|
99
71
|
"node": ">=22.12.0"
|
|
100
72
|
},
|
|
101
|
-
"dependencies": {
|
|
102
|
-
"astro": ">=5.0.0"
|
|
103
|
-
},
|
|
73
|
+
"dependencies": {},
|
|
104
74
|
"devDependencies": {
|
|
75
|
+
"@types/three": "^0.184.0",
|
|
76
|
+
"astro": ">=5.0.0",
|
|
105
77
|
"basic-ftp": "^5.3.0",
|
|
106
|
-
"fs-extra": "^11.3.4"
|
|
78
|
+
"fs-extra": "^11.3.4",
|
|
79
|
+
"three": "^0.184.0"
|
|
107
80
|
}
|
|
108
81
|
}
|