astro-component-kit 0.2.2 → 0.3.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.
Files changed (57) hide show
  1. package/README.md +4 -4
  2. package/package.json +11 -9
  3. package/src/components/index.ts +12 -9
  4. package/src/components/lib/AnimatedGalaxy.astro +4 -2
  5. package/src/components/lib/Galaxy3D.astro +237 -185
  6. package/src/components/lib/LogoWithGalaxy.astro +2 -2
  7. package/src/components/lib/buttons/index.ts +4 -1
  8. package/src/components/lib/cards/index.ts +3 -0
  9. package/src/components/lib/charts/DonutChart.astro +1 -1
  10. package/src/components/lib/charts/index.ts +3 -0
  11. package/src/components/lib/data/index.ts +3 -0
  12. package/src/components/lib/feedback/index.ts +3 -0
  13. package/src/components/lib/forms/index.ts +3 -0
  14. package/src/components/lib/index.ts +17 -6
  15. package/src/components/lib/layout/BentoGrid3.astro +79 -9
  16. package/src/components/lib/layout/CenterFixedBox.astro +52 -2
  17. package/src/components/lib/layout/CenteredContainer.astro +44 -5
  18. package/src/components/lib/layout/ClusterHorizontal.astro +36 -2
  19. package/src/components/lib/layout/FeatureHero.astro +119 -50
  20. package/src/components/lib/layout/FooterCenteredMinimal.astro +57 -9
  21. package/src/components/lib/layout/FullBleedSection.astro +44 -2
  22. package/src/components/lib/layout/GalleryGrid4.astro +35 -3
  23. package/src/components/lib/layout/GlassCardGrid.astro +24 -2
  24. package/src/components/lib/layout/GlassSectionHeader.astro +72 -11
  25. package/src/components/lib/layout/LandingSectionSplit.astro +83 -8
  26. package/src/components/lib/layout/MasonryGrid.astro +42 -3
  27. package/src/components/lib/layout/MinimalFooterGrid.astro +83 -11
  28. package/src/components/lib/layout/ScrollSnapSection.astro +37 -3
  29. package/src/components/lib/layout/SectionDividerText.astro +44 -4
  30. package/src/components/lib/layout/SidebarLayoutWrapper.astro +62 -7
  31. package/src/components/lib/layout/SplitScreenLayout.astro +62 -6
  32. package/src/components/lib/layout/StepLayoutVertical.astro +83 -10
  33. package/src/components/lib/layout/StickySidebarWrapper.astro +69 -6
  34. package/src/components/lib/layout/VerticalStack.astro +35 -5
  35. package/src/components/lib/layout/index.ts +17 -14
  36. package/src/components/lib/navigation/index.ts +3 -0
  37. package/src/components/lib/overlays/index.ts +3 -0
  38. package/src/components/lib/sections/ContactGlassForm.astro +361 -0
  39. package/src/components/lib/sections/CtaAppDownload.astro +258 -0
  40. package/src/components/lib/sections/CtaGlowBanner.astro +267 -0
  41. package/src/components/lib/sections/FaqAccordionSection.astro +349 -0
  42. package/src/components/lib/sections/FeatureBentoGrid.astro +449 -0
  43. package/src/components/lib/sections/FeatureTimelineFlow.astro +254 -0
  44. package/src/components/lib/sections/PricingComparisonMatrix.astro +468 -0
  45. package/src/components/lib/sections/PricingTierCards.astro +256 -0
  46. package/src/components/lib/sections/StatsMetricShowcase.astro +332 -0
  47. package/src/components/lib/sections/TeamGridSection.astro +333 -0
  48. package/src/components/lib/sections/TestimonialWallGlass.astro +406 -0
  49. package/src/components/lib/sections/index.ts +22 -0
  50. package/src/components/lib/typography/index.ts +3 -0
  51. package/src/components/lib/AnimatedInput.astro +0 -82
  52. package/src/components/lib/Badge.astro +0 -52
  53. package/src/components/lib/GlassButton.astro +0 -87
  54. package/src/components/lib/GlassCard.astro +0 -72
  55. package/src/components/lib/GlassNavbar.astro +0 -67
  56. package/src/components/lib/GlowButton.astro +0 -60
  57. /package/src/components/lib/buttons/{3dPushButton.astro → ThreeDPushButton.astro} +0 -0
package/README.md CHANGED
@@ -321,11 +321,11 @@ Every component is built with accessibility as a first-class concern:
321
321
 
322
322
  | Command | Description |
323
323
  |---------|-------------|
324
- | `npm run dev` | Start the docs site dev server |
325
- | `npm run build` | Build the docs site for production |
324
+ | `npm run dev` | Start the docs site dev server (`http://localhost:4321`) |
325
+ | `npm run build` | Build the docs site for production (generates `dist/` for Coolify/deployment) |
326
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 |
327
+ | `npm run typecheck` | Run Astro & TypeScript type checking |
328
+ | `npm run registry:generate` | Automatically regenerate component registry data |
329
329
 
330
330
  ### Adding a New Component
331
331
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-component-kit",
3
- "version": "0.2.2",
3
+ "version": "0.3.0",
4
4
  "description": "A premium, open-source accessible UI component library for Astro",
5
5
  "type": "module",
6
6
  "main": "./src/components/index.ts",
@@ -17,7 +17,6 @@
17
17
  "./navigation": "./src/components/lib/navigation/index.ts",
18
18
  "./overlays": "./src/components/lib/overlays/index.ts",
19
19
  "./typography": "./src/components/lib/typography/index.ts",
20
- "./utilities": "./src/components/lib/utilities/index.ts",
21
20
  "./sections": "./src/components/lib/sections/index.ts",
22
21
  "./charts": "./src/components/lib/charts/index.ts",
23
22
  "./global.css": "./src/styles/global.css"
@@ -34,12 +33,11 @@
34
33
  "scripts": {
35
34
  "dev": "astro dev",
36
35
  "build": "astro build",
37
- "build:lib": "node scripts/build-lib.mjs",
38
36
  "preview": "astro preview",
39
37
  "astro": "astro",
40
- "typecheck": "tsc --noEmit",
41
- "prepublishOnly": "npm run build:lib",
42
- "deploy:ftp": "node scripts/deploy-ftp.mjs"
38
+ "typecheck": "astro check",
39
+ "registry:generate": "node scripts/generate-registry.mjs",
40
+ "prepublishOnly": "astro check"
43
41
  },
44
42
  "keywords": [
45
43
  "astro",
@@ -81,13 +79,17 @@
81
79
  "engines": {
82
80
  "node": ">=22.12.0"
83
81
  },
84
- "dependencies": {},
82
+ "dependencies": {
83
+ "@astrojs/sitemap": "^3.7.2"
84
+ },
85
85
  "devDependencies": {
86
+ "@astrojs/check": "^0.9.10",
86
87
  "@types/three": "^0.184.0",
87
88
  "apexcharts": "^3.45.1",
88
89
  "astro": ">=5.0.0",
89
- "basic-ftp": "^5.3.0",
90
90
  "fs-extra": "^11.3.4",
91
- "three": "^0.184.0"
91
+ "playwright": "^1.62.1",
92
+ "three": "^0.184.0",
93
+ "typescript": "^5.9.3"
92
94
  }
93
95
  }
@@ -5,21 +5,20 @@
5
5
  // import { GlowButton, GlassCard, GlassNavbar } from '@/components';
6
6
  // ============================================================
7
7
 
8
- // Root-level components
9
- export { default as AnimatedInput } from './lib/AnimatedInput.astro';
10
- export { default as Badge } from './lib/Badge.astro';
11
- export { default as GlassButton } from './lib/GlassButton.astro';
12
- export { default as GlassCard } from './lib/GlassCard.astro';
13
- export { default as GlassNavbar } from './lib/GlassNavbar.astro';
14
- export { default as GlowButton } from './lib/GlowButton.astro';
8
+ // Root-level unique components
9
+ export { default as AnimatedGalaxy } from './lib/AnimatedGalaxy.astro';
10
+ export { default as Galaxy3D } from './lib/Galaxy3D.astro';
11
+ export { default as LogoWithGalaxy } from './lib/LogoWithGalaxy.astro';
15
12
 
16
13
  // Buttons
17
- export { default as ThreeDPushButton } from './lib/buttons/3dPushButton.astro';
14
+ export { default as ThreeDPushButton } from './lib/buttons/ThreeDPushButton.astro';
18
15
  export { default as AnimatedIconButton } from './lib/buttons/AnimatedIconButton.astro';
19
16
  export { default as BorderDrawButton } from './lib/buttons/BorderDrawButton.astro';
20
17
  export { default as CyberpunkButton } from './lib/buttons/CyberpunkButton.astro';
21
18
  export { default as DoubleBorderButton } from './lib/buttons/DoubleBorderButton.astro';
22
19
  export { default as GhostOutlineButton } from './lib/buttons/GhostOutlineButton.astro';
20
+ export { default as GlassButton } from './lib/buttons/GlassButton.astro';
21
+ export { default as GlowButton } from './lib/buttons/GlowButton.astro';
23
22
  export { default as LiquidButton } from './lib/buttons/LiquidButton.astro';
24
23
  export { default as LoadingButton } from './lib/buttons/LoadingButton.astro';
25
24
  export { default as MagneticButton } from './lib/buttons/MagneticButton.astro';
@@ -36,6 +35,7 @@ export { default as TiltGlowButton } from './lib/buttons/TiltGlowButton.astro';
36
35
  export { default as BlogHorizontalCard } from './lib/cards/BlogHorizontalCard.astro';
37
36
  export { default as CyberFeatureCard } from './lib/cards/CyberFeatureCard.astro';
38
37
  export { default as EcommerceProductCard } from './lib/cards/EcommerceProductCard.astro';
38
+ export { default as GlassCard } from './lib/cards/GlassCard.astro';
39
39
  export { default as GlassEventCard } from './lib/cards/GlassEventCard.astro';
40
40
  export { default as GlowPortfolioCard } from './lib/cards/GlowPortfolioCard.astro';
41
41
  export { default as InteractiveTiltCard } from './lib/cards/InteractiveTiltCard.astro';
@@ -76,6 +76,7 @@ export { default as VerticalTimeline } from './lib/data/VerticalTimeline.astro';
76
76
 
77
77
  // Feedback
78
78
  export { default as AnimatedCheckmark } from './lib/feedback/AnimatedCheckmark.astro';
79
+ export { default as Badge } from './lib/feedback/Badge.astro';
79
80
  export { default as CircleProgress } from './lib/feedback/CircleProgress.astro';
80
81
  export { default as ConfettiFeedback } from './lib/feedback/ConfettiFeedback.astro';
81
82
  export { default as CyberGlitchAlert } from './lib/feedback/CyberGlitchAlert.astro';
@@ -96,6 +97,7 @@ export { default as ToastNotif } from './lib/feedback/ToastNotif.astro';
96
97
  export { default as TypingIndicator } from './lib/feedback/TypingIndicator.astro';
97
98
 
98
99
  // Forms
100
+ export { default as AnimatedInput } from './lib/forms/AnimatedInput.astro';
99
101
  export { default as ChipInput } from './lib/forms/ChipInput.astro';
100
102
  export { default as ColorPickerInput } from './lib/forms/ColorPickerInput.astro';
101
103
  export { default as CurrencyInput } from './lib/forms/CurrencyInput.astro';
@@ -118,8 +120,8 @@ export { default as StepperInput } from './lib/forms/StepperInput.astro';
118
120
 
119
121
  // Layout
120
122
  export { default as BentoGrid3 } from './lib/layout/BentoGrid3.astro';
121
- export { default as CenteredContainer } from './lib/layout/CenteredContainer.astro';
122
123
  export { default as CenterFixedBox } from './lib/layout/CenterFixedBox.astro';
124
+ export { default as CenteredContainer } from './lib/layout/CenteredContainer.astro';
123
125
  export { default as ClusterHorizontal } from './lib/layout/ClusterHorizontal.astro';
124
126
  export { default as FeatureHero } from './lib/layout/FeatureHero.astro';
125
127
  export { default as FooterCenteredMinimal } from './lib/layout/FooterCenteredMinimal.astro';
@@ -146,6 +148,7 @@ export { default as BurgerMorphIcon } from './lib/navigation/BurgerMorphIcon.ast
146
148
  export { default as CommandPaletteUI } from './lib/navigation/CommandPaletteUI.astro';
147
149
  export { default as DotNavigationSlider } from './lib/navigation/DotNavigationSlider.astro';
148
150
  export { default as FloatingTabBar } from './lib/navigation/FloatingTabBar.astro';
151
+ export { default as GlassNavbar } from './lib/navigation/GlassNavbar.astro';
149
152
  export { default as LangSwitcherPill } from './lib/navigation/LangSwitcherPill.astro';
150
153
  export { default as MegaMenuGlass } from './lib/navigation/MegaMenuGlass.astro';
151
154
  export { default as MinimalSidebar } from './lib/navigation/MinimalSidebar.astro';
@@ -1,12 +1,14 @@
1
1
  ---
2
2
  interface Props {
3
3
  className?: string;
4
+ class?: string;
5
+ style?: string;
4
6
  }
5
7
 
6
- const { className = '' } = Astro.props;
8
+ const { className = '', class: classProp = '', style = '' } = Astro.props;
7
9
  ---
8
10
 
9
- <svg class="animated-galaxy-svg {className}" viewBox="0 0 800 500" aria-hidden="true" preserveAspectRatio="xMidYMid slice">
11
+ <svg class={`animated-galaxy-svg ${className} ${classProp}`.trim()} style={style} viewBox="0 0 800 500" aria-hidden="true" preserveAspectRatio="xMidYMid slice">
10
12
  <defs>
11
13
  <!-- Very subtle core glow -->
12
14
  <radialGradient id="galaxyCoreGlow" cx="50%" cy="50%" r="50%">