@orion-ds/blocks 1.0.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/dist/client.d.ts +20 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/index.cjs +4 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.mjs +4639 -0
- package/dist/sections/AgentFolder/AgentFolder.d.ts +5 -0
- package/dist/sections/AgentFolder/AgentFolder.d.ts.map +1 -0
- package/dist/sections/AgentFolder/AgentFolder.types.d.ts +97 -0
- package/dist/sections/AgentFolder/AgentFolder.types.d.ts.map +1 -0
- package/dist/sections/AgentFolder/index.d.ts +8 -0
- package/dist/sections/AgentFolder/index.d.ts.map +1 -0
- package/dist/sections/AppDownload/AppDownload.d.ts +8 -0
- package/dist/sections/AppDownload/AppDownload.d.ts.map +1 -0
- package/dist/sections/AppDownload/AppDownload.types.d.ts +114 -0
- package/dist/sections/AppDownload/AppDownload.types.d.ts.map +1 -0
- package/dist/sections/AppDownload/index.d.ts +3 -0
- package/dist/sections/AppDownload/index.d.ts.map +1 -0
- package/dist/sections/Blog/Blog.d.ts +8 -0
- package/dist/sections/Blog/Blog.d.ts.map +1 -0
- package/dist/sections/Blog/Blog.types.d.ts +139 -0
- package/dist/sections/Blog/Blog.types.d.ts.map +1 -0
- package/dist/sections/Blog/index.d.ts +3 -0
- package/dist/sections/Blog/index.d.ts.map +1 -0
- package/dist/sections/Breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/dist/sections/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/sections/Breadcrumbs/Breadcrumbs.types.d.ts +78 -0
- package/dist/sections/Breadcrumbs/Breadcrumbs.types.d.ts.map +1 -0
- package/dist/sections/Breadcrumbs/index.d.ts +3 -0
- package/dist/sections/Breadcrumbs/index.d.ts.map +1 -0
- package/dist/sections/CTA/CTA.d.ts +4 -0
- package/dist/sections/CTA/CTA.d.ts.map +1 -0
- package/dist/sections/CTA/CTA.types.d.ts +74 -0
- package/dist/sections/CTA/CTA.types.d.ts.map +1 -0
- package/dist/sections/CTA/index.d.ts +6 -0
- package/dist/sections/CTA/index.d.ts.map +1 -0
- package/dist/sections/CarouselSection/CarouselSection.d.ts +4 -0
- package/dist/sections/CarouselSection/CarouselSection.d.ts.map +1 -0
- package/dist/sections/CarouselSection/CarouselSection.types.d.ts +114 -0
- package/dist/sections/CarouselSection/CarouselSection.types.d.ts.map +1 -0
- package/dist/sections/CarouselSection/index.d.ts +11 -0
- package/dist/sections/CarouselSection/index.d.ts.map +1 -0
- package/dist/sections/Chat/ChatSection.d.ts +4 -0
- package/dist/sections/Chat/ChatSection.d.ts.map +1 -0
- package/dist/sections/Chat/index.d.ts +19 -0
- package/dist/sections/Chat/index.d.ts.map +1 -0
- package/dist/sections/Comparison/Comparison.d.ts +8 -0
- package/dist/sections/Comparison/Comparison.d.ts.map +1 -0
- package/dist/sections/Comparison/Comparison.types.d.ts +120 -0
- package/dist/sections/Comparison/Comparison.types.d.ts.map +1 -0
- package/dist/sections/Comparison/index.d.ts +3 -0
- package/dist/sections/Comparison/index.d.ts.map +1 -0
- package/dist/sections/Contact/Contact.d.ts +4 -0
- package/dist/sections/Contact/Contact.d.ts.map +1 -0
- package/dist/sections/Contact/Contact.types.d.ts +133 -0
- package/dist/sections/Contact/Contact.types.d.ts.map +1 -0
- package/dist/sections/Contact/index.d.ts +6 -0
- package/dist/sections/Contact/index.d.ts.map +1 -0
- package/dist/sections/EmptyState/EmptyState.d.ts +4 -0
- package/dist/sections/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/sections/EmptyState/EmptyState.types.d.ts +65 -0
- package/dist/sections/EmptyState/EmptyState.types.d.ts.map +1 -0
- package/dist/sections/EmptyState/index.d.ts +3 -0
- package/dist/sections/EmptyState/index.d.ts.map +1 -0
- package/dist/sections/FAQ/FAQ.d.ts +4 -0
- package/dist/sections/FAQ/FAQ.d.ts.map +1 -0
- package/dist/sections/FAQ/FAQ.types.d.ts +117 -0
- package/dist/sections/FAQ/FAQ.types.d.ts.map +1 -0
- package/dist/sections/FAQ/FAQItemCard.d.ts +7 -0
- package/dist/sections/FAQ/FAQItemCard.d.ts.map +1 -0
- package/dist/sections/FAQ/index.d.ts +7 -0
- package/dist/sections/FAQ/index.d.ts.map +1 -0
- package/dist/sections/Features/FeatureCard.d.ts +7 -0
- package/dist/sections/Features/FeatureCard.d.ts.map +1 -0
- package/dist/sections/Features/Features.d.ts +4 -0
- package/dist/sections/Features/Features.d.ts.map +1 -0
- package/dist/sections/Features/Features.types.d.ts +100 -0
- package/dist/sections/Features/Features.types.d.ts.map +1 -0
- package/dist/sections/Features/index.d.ts +7 -0
- package/dist/sections/Features/index.d.ts.map +1 -0
- package/dist/sections/Footer/Footer.d.ts +4 -0
- package/dist/sections/Footer/Footer.d.ts.map +1 -0
- package/dist/sections/Footer/Footer.types.d.ts +129 -0
- package/dist/sections/Footer/Footer.types.d.ts.map +1 -0
- package/dist/sections/Footer/index.d.ts +6 -0
- package/dist/sections/Footer/index.d.ts.map +1 -0
- package/dist/sections/Gallery/Gallery.d.ts +8 -0
- package/dist/sections/Gallery/Gallery.d.ts.map +1 -0
- package/dist/sections/Gallery/Gallery.types.d.ts +114 -0
- package/dist/sections/Gallery/Gallery.types.d.ts.map +1 -0
- package/dist/sections/Gallery/index.d.ts +3 -0
- package/dist/sections/Gallery/index.d.ts.map +1 -0
- package/dist/sections/Hero/Hero.d.ts +10 -0
- package/dist/sections/Hero/Hero.d.ts.map +1 -0
- package/dist/sections/Hero/Hero.types.d.ts +152 -0
- package/dist/sections/Hero/Hero.types.d.ts.map +1 -0
- package/dist/sections/Hero/HeroHighlight.d.ts +7 -0
- package/dist/sections/Hero/HeroHighlight.d.ts.map +1 -0
- package/dist/sections/Hero/index.d.ts +7 -0
- package/dist/sections/Hero/index.d.ts.map +1 -0
- package/dist/sections/LogoCloud/LogoCloud.d.ts +4 -0
- package/dist/sections/LogoCloud/LogoCloud.d.ts.map +1 -0
- package/dist/sections/LogoCloud/LogoCloud.types.d.ts +101 -0
- package/dist/sections/LogoCloud/LogoCloud.types.d.ts.map +1 -0
- package/dist/sections/LogoCloud/index.d.ts +6 -0
- package/dist/sections/LogoCloud/index.d.ts.map +1 -0
- package/dist/sections/Newsletter/Newsletter.d.ts +4 -0
- package/dist/sections/Newsletter/Newsletter.d.ts.map +1 -0
- package/dist/sections/Newsletter/Newsletter.types.d.ts +97 -0
- package/dist/sections/Newsletter/Newsletter.types.d.ts.map +1 -0
- package/dist/sections/Newsletter/index.d.ts +6 -0
- package/dist/sections/Newsletter/index.d.ts.map +1 -0
- package/dist/sections/Pricing/Pricing.d.ts +4 -0
- package/dist/sections/Pricing/Pricing.d.ts.map +1 -0
- package/dist/sections/Pricing/Pricing.types.d.ts +129 -0
- package/dist/sections/Pricing/Pricing.types.d.ts.map +1 -0
- package/dist/sections/Pricing/PricingCard.d.ts +7 -0
- package/dist/sections/Pricing/PricingCard.d.ts.map +1 -0
- package/dist/sections/Pricing/index.d.ts +7 -0
- package/dist/sections/Pricing/index.d.ts.map +1 -0
- package/dist/sections/SettingsLayout/SettingsLayout.d.ts +4 -0
- package/dist/sections/SettingsLayout/SettingsLayout.d.ts.map +1 -0
- package/dist/sections/SettingsLayout/SettingsLayout.types.d.ts +112 -0
- package/dist/sections/SettingsLayout/SettingsLayout.types.d.ts.map +1 -0
- package/dist/sections/SettingsLayout/index.d.ts +3 -0
- package/dist/sections/SettingsLayout/index.d.ts.map +1 -0
- package/dist/sections/SocialProof/SocialProof.d.ts +8 -0
- package/dist/sections/SocialProof/SocialProof.d.ts.map +1 -0
- package/dist/sections/SocialProof/SocialProof.types.d.ts +138 -0
- package/dist/sections/SocialProof/SocialProof.types.d.ts.map +1 -0
- package/dist/sections/SocialProof/index.d.ts +3 -0
- package/dist/sections/SocialProof/index.d.ts.map +1 -0
- package/dist/sections/Stats/StatItemCard.d.ts +7 -0
- package/dist/sections/Stats/StatItemCard.d.ts.map +1 -0
- package/dist/sections/Stats/Stats.d.ts +4 -0
- package/dist/sections/Stats/Stats.d.ts.map +1 -0
- package/dist/sections/Stats/Stats.types.d.ts +131 -0
- package/dist/sections/Stats/Stats.types.d.ts.map +1 -0
- package/dist/sections/Stats/index.d.ts +7 -0
- package/dist/sections/Stats/index.d.ts.map +1 -0
- package/dist/sections/Stepper/Stepper.d.ts +4 -0
- package/dist/sections/Stepper/Stepper.d.ts.map +1 -0
- package/dist/sections/Stepper/Stepper.types.d.ts +101 -0
- package/dist/sections/Stepper/Stepper.types.d.ts.map +1 -0
- package/dist/sections/Stepper/index.d.ts +3 -0
- package/dist/sections/Stepper/index.d.ts.map +1 -0
- package/dist/sections/Team/Team.d.ts +4 -0
- package/dist/sections/Team/Team.d.ts.map +1 -0
- package/dist/sections/Team/Team.types.d.ts +139 -0
- package/dist/sections/Team/Team.types.d.ts.map +1 -0
- package/dist/sections/Team/TeamMemberCard.d.ts +7 -0
- package/dist/sections/Team/TeamMemberCard.d.ts.map +1 -0
- package/dist/sections/Team/index.d.ts +7 -0
- package/dist/sections/Team/index.d.ts.map +1 -0
- package/dist/sections/Testimonials/TestimonialCard.d.ts +7 -0
- package/dist/sections/Testimonials/TestimonialCard.d.ts.map +1 -0
- package/dist/sections/Testimonials/Testimonials.d.ts +4 -0
- package/dist/sections/Testimonials/Testimonials.d.ts.map +1 -0
- package/dist/sections/Testimonials/Testimonials.types.d.ts +126 -0
- package/dist/sections/Testimonials/Testimonials.types.d.ts.map +1 -0
- package/dist/sections/Testimonials/index.d.ts +7 -0
- package/dist/sections/Testimonials/index.d.ts.map +1 -0
- package/dist/sections/Timeline/Timeline.d.ts +8 -0
- package/dist/sections/Timeline/Timeline.d.ts.map +1 -0
- package/dist/sections/Timeline/Timeline.types.d.ts +98 -0
- package/dist/sections/Timeline/Timeline.types.d.ts.map +1 -0
- package/dist/sections/Timeline/index.d.ts +3 -0
- package/dist/sections/Timeline/index.d.ts.map +1 -0
- package/dist/sections/index.d.ts +31 -0
- package/dist/sections/index.d.ts.map +1 -0
- package/dist/style.css +1 -0
- package/dist/templates/app/AgentEditor/AgentEditor.d.ts +25 -0
- package/dist/templates/app/AgentEditor/AgentEditor.d.ts.map +1 -0
- package/dist/templates/app/AgentEditor/AgentEditor.types.d.ts +180 -0
- package/dist/templates/app/AgentEditor/AgentEditor.types.d.ts.map +1 -0
- package/dist/templates/app/AgentEditor/MultiAgentPanel.d.ts +9 -0
- package/dist/templates/app/AgentEditor/MultiAgentPanel.d.ts.map +1 -0
- package/dist/templates/app/AgentEditor/index.d.ts +3 -0
- package/dist/templates/app/AgentEditor/index.d.ts.map +1 -0
- package/dist/templates/app/AgentWorkspace/AgentWorkspace.d.ts +5 -0
- package/dist/templates/app/AgentWorkspace/AgentWorkspace.d.ts.map +1 -0
- package/dist/templates/app/AgentWorkspace/AgentWorkspace.types.d.ts +280 -0
- package/dist/templates/app/AgentWorkspace/AgentWorkspace.types.d.ts.map +1 -0
- package/dist/templates/app/AgentWorkspace/index.d.ts +8 -0
- package/dist/templates/app/AgentWorkspace/index.d.ts.map +1 -0
- package/dist/templates/app/ChatPageTemplate/ChatPageTemplate.d.ts +4 -0
- package/dist/templates/app/ChatPageTemplate/ChatPageTemplate.d.ts.map +1 -0
- package/dist/templates/app/ChatPageTemplate/ChatPageTemplate.types.d.ts +69 -0
- package/dist/templates/app/ChatPageTemplate/ChatPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/ChatPageTemplate/index.d.ts +19 -0
- package/dist/templates/app/ChatPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/DashboardTemplate/DashboardTemplate.d.ts +23 -0
- package/dist/templates/app/DashboardTemplate/DashboardTemplate.d.ts.map +1 -0
- package/dist/templates/app/DashboardTemplate/DashboardTemplate.types.d.ts +54 -0
- package/dist/templates/app/DashboardTemplate/DashboardTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/DashboardTemplate/index.d.ts +3 -0
- package/dist/templates/app/DashboardTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/KanbanPageTemplate/KanbanPageTemplate.d.ts +20 -0
- package/dist/templates/app/KanbanPageTemplate/KanbanPageTemplate.d.ts.map +1 -0
- package/dist/templates/app/KanbanPageTemplate/KanbanPageTemplate.types.d.ts +40 -0
- package/dist/templates/app/KanbanPageTemplate/KanbanPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/KanbanPageTemplate/index.d.ts +3 -0
- package/dist/templates/app/KanbanPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/LoginTemplate/LoginTemplate.d.ts +5 -0
- package/dist/templates/app/LoginTemplate/LoginTemplate.d.ts.map +1 -0
- package/dist/templates/app/LoginTemplate/LoginTemplate.types.d.ts +207 -0
- package/dist/templates/app/LoginTemplate/LoginTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/LoginTemplate/index.d.ts +8 -0
- package/dist/templates/app/LoginTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/ProfilePageTemplate/ProfilePageTemplate.d.ts +25 -0
- package/dist/templates/app/ProfilePageTemplate/ProfilePageTemplate.d.ts.map +1 -0
- package/dist/templates/app/ProfilePageTemplate/ProfilePageTemplate.types.d.ts +83 -0
- package/dist/templates/app/ProfilePageTemplate/ProfilePageTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/ProfilePageTemplate/index.d.ts +3 -0
- package/dist/templates/app/ProfilePageTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/SettingsTemplate/SettingsTemplate.d.ts +22 -0
- package/dist/templates/app/SettingsTemplate/SettingsTemplate.d.ts.map +1 -0
- package/dist/templates/app/SettingsTemplate/SettingsTemplate.types.d.ts +67 -0
- package/dist/templates/app/SettingsTemplate/SettingsTemplate.types.d.ts.map +1 -0
- package/dist/templates/app/SettingsTemplate/index.d.ts +3 -0
- package/dist/templates/app/SettingsTemplate/index.d.ts.map +1 -0
- package/dist/templates/app/index.d.ts +22 -0
- package/dist/templates/app/index.d.ts.map +1 -0
- package/dist/templates/index.d.ts +18 -0
- package/dist/templates/index.d.ts.map +1 -0
- package/dist/templates/marketing/AboutPageTemplate/AboutPageTemplate.d.ts +20 -0
- package/dist/templates/marketing/AboutPageTemplate/AboutPageTemplate.d.ts.map +1 -0
- package/dist/templates/marketing/AboutPageTemplate/AboutPageTemplate.types.d.ts +67 -0
- package/dist/templates/marketing/AboutPageTemplate/AboutPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/marketing/AboutPageTemplate/index.d.ts +3 -0
- package/dist/templates/marketing/AboutPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/marketing/ContactPageTemplate/ContactPageTemplate.d.ts +19 -0
- package/dist/templates/marketing/ContactPageTemplate/ContactPageTemplate.d.ts.map +1 -0
- package/dist/templates/marketing/ContactPageTemplate/ContactPageTemplate.types.d.ts +56 -0
- package/dist/templates/marketing/ContactPageTemplate/ContactPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/marketing/ContactPageTemplate/index.d.ts +3 -0
- package/dist/templates/marketing/ContactPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/marketing/LandingPageTemplate/LandingPageTemplate.d.ts +20 -0
- package/dist/templates/marketing/LandingPageTemplate/LandingPageTemplate.d.ts.map +1 -0
- package/dist/templates/marketing/LandingPageTemplate/LandingPageTemplate.types.d.ts +89 -0
- package/dist/templates/marketing/LandingPageTemplate/LandingPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/marketing/LandingPageTemplate/index.d.ts +3 -0
- package/dist/templates/marketing/LandingPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/marketing/PricingPageTemplate/PricingPageTemplate.d.ts +19 -0
- package/dist/templates/marketing/PricingPageTemplate/PricingPageTemplate.d.ts.map +1 -0
- package/dist/templates/marketing/PricingPageTemplate/PricingPageTemplate.types.d.ts +63 -0
- package/dist/templates/marketing/PricingPageTemplate/PricingPageTemplate.types.d.ts.map +1 -0
- package/dist/templates/marketing/PricingPageTemplate/index.d.ts +3 -0
- package/dist/templates/marketing/PricingPageTemplate/index.d.ts.map +1 -0
- package/dist/templates/marketing/index.d.ts +14 -0
- package/dist/templates/marketing/index.d.ts.map +1 -0
- package/package.json +94 -0
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Hero text alignment
|
|
5
|
+
*/
|
|
6
|
+
export type HeroAlign = "left" | "center";
|
|
7
|
+
/**
|
|
8
|
+
* Hero size variants
|
|
9
|
+
*/
|
|
10
|
+
export type HeroSize = "sm" | "md" | "lg";
|
|
11
|
+
/**
|
|
12
|
+
* Hero visual variant
|
|
13
|
+
* - 'default': Standard hero with optional side media
|
|
14
|
+
* - 'background': Full-width background image with content overlay
|
|
15
|
+
*/
|
|
16
|
+
export type HeroVariant = "default" | "background";
|
|
17
|
+
/**
|
|
18
|
+
* Hero layout mode
|
|
19
|
+
* - 'contained': Default with container padding
|
|
20
|
+
* - 'fullscreen': 100vh height, vertically centered, edge-to-edge width
|
|
21
|
+
* - 'card': Inset with margins and border radius (floating card style)
|
|
22
|
+
*/
|
|
23
|
+
export type HeroLayout = "contained" | "fullscreen" | "card";
|
|
24
|
+
/**
|
|
25
|
+
* Props for HeroHighlight compound component
|
|
26
|
+
*/
|
|
27
|
+
export interface HeroHighlightProps {
|
|
28
|
+
/**
|
|
29
|
+
* Text content to highlight with brand gradient
|
|
30
|
+
*/
|
|
31
|
+
children: ReactNode;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Hero component props
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```tsx
|
|
38
|
+
* <Hero
|
|
39
|
+
* badge={<Badge>New</Badge>}
|
|
40
|
+
* title="Build faster with Orion"
|
|
41
|
+
* description="The AI-first design system for modern apps"
|
|
42
|
+
* primaryAction={<Button>Get Started</Button>}
|
|
43
|
+
* secondaryAction={<Button variant="ghost">Learn More</Button>}
|
|
44
|
+
* align="center"
|
|
45
|
+
* />
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @example Fullscreen with background
|
|
49
|
+
* ```tsx
|
|
50
|
+
* <Hero
|
|
51
|
+
* layout="fullscreen"
|
|
52
|
+
* variant="background"
|
|
53
|
+
* backgroundImage="https://example.com/hero.jpg"
|
|
54
|
+
* title={<>Build <Hero.Highlight>faster</Hero.Highlight></>}
|
|
55
|
+
* />
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
export interface HeroProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
|
|
59
|
+
/**
|
|
60
|
+
* Optional badge/eyebrow element above title
|
|
61
|
+
*/
|
|
62
|
+
badge?: ReactNode;
|
|
63
|
+
/**
|
|
64
|
+
* Main title text or element.
|
|
65
|
+
* Can include <Hero.Highlight> for gradient text.
|
|
66
|
+
*/
|
|
67
|
+
title?: ReactNode;
|
|
68
|
+
/**
|
|
69
|
+
* @deprecated Use `title` instead. Will be removed in v3.0.
|
|
70
|
+
*/
|
|
71
|
+
headline?: ReactNode;
|
|
72
|
+
/**
|
|
73
|
+
* Optional description text below headline
|
|
74
|
+
*/
|
|
75
|
+
description?: ReactNode;
|
|
76
|
+
/**
|
|
77
|
+
* Primary action button/element
|
|
78
|
+
*/
|
|
79
|
+
primaryAction?: ReactNode;
|
|
80
|
+
/**
|
|
81
|
+
* Secondary action button/element
|
|
82
|
+
*/
|
|
83
|
+
secondaryAction?: ReactNode;
|
|
84
|
+
/**
|
|
85
|
+
* Optional media (image, video, illustration)
|
|
86
|
+
*/
|
|
87
|
+
media?: ReactNode;
|
|
88
|
+
/**
|
|
89
|
+
* Media position when provided
|
|
90
|
+
* @default 'right'
|
|
91
|
+
*/
|
|
92
|
+
mediaPosition?: "left" | "right" | "bottom";
|
|
93
|
+
/**
|
|
94
|
+
* Show default placeholder image when media is not provided
|
|
95
|
+
* @default false
|
|
96
|
+
*/
|
|
97
|
+
showDefaultMedia?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Trust indicators (logos, badges, social proof)
|
|
100
|
+
*/
|
|
101
|
+
trustIndicators?: ReactNode;
|
|
102
|
+
/**
|
|
103
|
+
* Text alignment
|
|
104
|
+
* @default 'center'
|
|
105
|
+
*/
|
|
106
|
+
align?: HeroAlign;
|
|
107
|
+
/**
|
|
108
|
+
* Size variant affecting typography scale
|
|
109
|
+
* - sm: Compact hero for sub-pages
|
|
110
|
+
* - md: Standard hero
|
|
111
|
+
* - lg: Large hero for landing pages
|
|
112
|
+
* @default 'lg'
|
|
113
|
+
*/
|
|
114
|
+
size?: HeroSize;
|
|
115
|
+
/**
|
|
116
|
+
* Hero layout mode
|
|
117
|
+
* - 'contained': Default with container padding
|
|
118
|
+
* - 'fullscreen': 100vh height, vertically centered, edge-to-edge width
|
|
119
|
+
* - 'card': Inset with margins and border radius
|
|
120
|
+
* @default 'contained'
|
|
121
|
+
*/
|
|
122
|
+
layout?: HeroLayout;
|
|
123
|
+
/**
|
|
124
|
+
* Hero visual variant
|
|
125
|
+
* - 'default': Standard hero with optional side media
|
|
126
|
+
* - 'background': Full-width background image with content overlay
|
|
127
|
+
* @default 'default'
|
|
128
|
+
*/
|
|
129
|
+
variant?: HeroVariant;
|
|
130
|
+
/**
|
|
131
|
+
* Background image URL (only applies when variant='background')
|
|
132
|
+
*/
|
|
133
|
+
backgroundImage?: string;
|
|
134
|
+
/**
|
|
135
|
+
* Background overlay opacity (0-1). Only applies when variant='background'.
|
|
136
|
+
* @default 0.6
|
|
137
|
+
*/
|
|
138
|
+
backgroundOverlay?: number;
|
|
139
|
+
/**
|
|
140
|
+
* Add elevation (shadow) to card layout.
|
|
141
|
+
* Only applies when layout='card'.
|
|
142
|
+
* @default false
|
|
143
|
+
*/
|
|
144
|
+
elevated?: boolean;
|
|
145
|
+
/**
|
|
146
|
+
* Full viewport height
|
|
147
|
+
* @deprecated Use layout="fullscreen" instead
|
|
148
|
+
* @default false
|
|
149
|
+
*/
|
|
150
|
+
fullHeight?: boolean;
|
|
151
|
+
}
|
|
152
|
+
//# sourceMappingURL=Hero.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Hero.types.d.ts","sourceRoot":"","sources":["../../../src/sections/Hero/Hero.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC;AAE1C;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE1C;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,YAAY,CAAC;AAEnD;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,YAAY,GAAG,MAAM,CAAC;AAE7D;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC3E;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAE1B;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC;IAE5B;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;IAE5C;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC;IAE5B;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IAEtB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeroHighlight.d.ts","sourceRoot":"","sources":["../../../src/sections/Hero/HeroHighlight.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAGvD,eAAO,MAAM,aAAa;mBAAkB,kBAAkB;;CAE7D,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hero Component Exports
|
|
3
|
+
*/
|
|
4
|
+
export { Hero } from './Hero';
|
|
5
|
+
export { HeroHighlight } from './HeroHighlight';
|
|
6
|
+
export type { HeroProps, HeroAlign, HeroSize, HeroVariant, HeroLayout, HeroHighlightProps, } from './Hero.types';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/Hero/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EACV,SAAS,EACT,SAAS,EACT,QAAQ,EACR,WAAW,EACX,UAAU,EACV,kBAAkB,GACnB,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogoCloud.d.ts","sourceRoot":"","sources":["../../../src/sections/LogoCloud/LogoCloud.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAKxD,eAAO,MAAM,SAAS,wGA4GrB,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* LogoCloud layout variant
|
|
5
|
+
*/
|
|
6
|
+
export type LogoCloudLayout = "grid" | "inline" | "marquee";
|
|
7
|
+
/**
|
|
8
|
+
* Logo size variant
|
|
9
|
+
*/
|
|
10
|
+
export type LogoCloudSize = "sm" | "md" | "lg";
|
|
11
|
+
/**
|
|
12
|
+
* Logo item data structure
|
|
13
|
+
*/
|
|
14
|
+
export interface LogoItem {
|
|
15
|
+
/**
|
|
16
|
+
* Logo element (typically an img or svg)
|
|
17
|
+
*/
|
|
18
|
+
logo: ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* Company/brand name (for accessibility)
|
|
21
|
+
*/
|
|
22
|
+
name: string;
|
|
23
|
+
/**
|
|
24
|
+
* Optional link URL
|
|
25
|
+
*/
|
|
26
|
+
href?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* LogoCloud section props
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* <LogoCloud
|
|
34
|
+
* title="Trusted by leading companies"
|
|
35
|
+
* logos={[
|
|
36
|
+
* { logo: <img src="/vercel.svg" alt="" />, name: "Vercel" },
|
|
37
|
+
* { logo: <img src="/stripe.svg" alt="" />, name: "Stripe" },
|
|
38
|
+
* { logo: <img src="/linear.svg" alt="" />, name: "Linear" }
|
|
39
|
+
* ]}
|
|
40
|
+
* layout="grid"
|
|
41
|
+
* columns={5}
|
|
42
|
+
* />
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export interface LogoCloudProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
|
|
46
|
+
/**
|
|
47
|
+
* Optional eyebrow/badge above title
|
|
48
|
+
*/
|
|
49
|
+
eyebrow?: ReactNode;
|
|
50
|
+
/**
|
|
51
|
+
* Section title
|
|
52
|
+
*/
|
|
53
|
+
title?: ReactNode;
|
|
54
|
+
/**
|
|
55
|
+
* Section description
|
|
56
|
+
*/
|
|
57
|
+
description?: ReactNode;
|
|
58
|
+
/**
|
|
59
|
+
* Array of logo items
|
|
60
|
+
*/
|
|
61
|
+
logos: LogoItem[];
|
|
62
|
+
/**
|
|
63
|
+
* Layout variant
|
|
64
|
+
* - grid: Fixed grid layout
|
|
65
|
+
* - inline: Flexible inline/wrap layout
|
|
66
|
+
* - marquee: Animated scrolling marquee
|
|
67
|
+
* @default 'inline'
|
|
68
|
+
*/
|
|
69
|
+
layout?: LogoCloudLayout;
|
|
70
|
+
/**
|
|
71
|
+
* Number of columns (for grid layout)
|
|
72
|
+
* @default 5
|
|
73
|
+
*/
|
|
74
|
+
columns?: 3 | 4 | 5 | 6;
|
|
75
|
+
/**
|
|
76
|
+
* Logo size
|
|
77
|
+
* @default 'md'
|
|
78
|
+
*/
|
|
79
|
+
size?: LogoCloudSize;
|
|
80
|
+
/**
|
|
81
|
+
* Grayscale logos (colorize on hover)
|
|
82
|
+
* @default true
|
|
83
|
+
*/
|
|
84
|
+
grayscale?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Background style
|
|
87
|
+
* @default 'none'
|
|
88
|
+
*/
|
|
89
|
+
background?: "base" | "subtle" | "none";
|
|
90
|
+
/**
|
|
91
|
+
* Center the content
|
|
92
|
+
* @default true
|
|
93
|
+
*/
|
|
94
|
+
centered?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Marquee animation speed (for marquee layout)
|
|
97
|
+
* @default 'normal'
|
|
98
|
+
*/
|
|
99
|
+
marqueeSpeed?: "slow" | "normal" | "fast";
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=LogoCloud.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogoCloud.types.d.ts","sourceRoot":"","sources":["../../../src/sections/LogoCloud/LogoCloud.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE5D;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;IAEhB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,cAAe,SAAQ,IAAI,CAC1C,cAAc,CAAC,WAAW,CAAC,EAC3B,OAAO,CACR;IACC;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,KAAK,EAAE,QAAQ,EAAE,CAAC;IAElB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,eAAe,CAAC;IAEzB;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAExB;;;OAGG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IAErB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IAExC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;CAC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/LogoCloud/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EACV,cAAc,EACd,QAAQ,EACR,eAAe,EACf,aAAa,GACd,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Newsletter.d.ts","sourceRoot":"","sources":["../../../src/sections/Newsletter/Newsletter.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAO1D,eAAO,MAAM,UAAU,yGAsItB,CAAC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Newsletter layout variant
|
|
5
|
+
*/
|
|
6
|
+
export type NewsletterLayout = "inline" | "stacked" | "card";
|
|
7
|
+
/**
|
|
8
|
+
* Newsletter size variant
|
|
9
|
+
*/
|
|
10
|
+
export type NewsletterSize = "sm" | "md" | "lg";
|
|
11
|
+
/**
|
|
12
|
+
* Newsletter section props
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* <Newsletter
|
|
17
|
+
* title="Subscribe to our newsletter"
|
|
18
|
+
* description="Get the latest updates delivered to your inbox"
|
|
19
|
+
* placeholder="Enter your email"
|
|
20
|
+
* buttonText="Subscribe"
|
|
21
|
+
* onSubmit={(email) => console.log(email)}
|
|
22
|
+
* />
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export interface NewsletterProps extends Omit<HTMLAttributes<HTMLElement>, "title" | "onSubmit"> {
|
|
26
|
+
/**
|
|
27
|
+
* Optional eyebrow/badge above title
|
|
28
|
+
*/
|
|
29
|
+
eyebrow?: ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* Section title
|
|
32
|
+
*/
|
|
33
|
+
title?: ReactNode;
|
|
34
|
+
/**
|
|
35
|
+
* Section description
|
|
36
|
+
*/
|
|
37
|
+
description?: ReactNode;
|
|
38
|
+
/**
|
|
39
|
+
* Email input placeholder
|
|
40
|
+
* @default "Enter your email"
|
|
41
|
+
*/
|
|
42
|
+
placeholder?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Submit button text
|
|
45
|
+
* @default "Subscribe"
|
|
46
|
+
*/
|
|
47
|
+
buttonText?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Custom submit button element
|
|
50
|
+
*/
|
|
51
|
+
submitButton?: ReactNode;
|
|
52
|
+
/**
|
|
53
|
+
* Form submit handler - receives email address
|
|
54
|
+
*/
|
|
55
|
+
onSubmit?: (email: string) => void;
|
|
56
|
+
/**
|
|
57
|
+
* Privacy/disclaimer text below form
|
|
58
|
+
*/
|
|
59
|
+
disclaimer?: ReactNode;
|
|
60
|
+
/**
|
|
61
|
+
* Layout variant
|
|
62
|
+
* - inline: Input and button on same line
|
|
63
|
+
* - stacked: Input above button
|
|
64
|
+
* - card: Contained in a card with padding
|
|
65
|
+
* @default 'inline'
|
|
66
|
+
*/
|
|
67
|
+
layout?: NewsletterLayout;
|
|
68
|
+
/**
|
|
69
|
+
* Size variant affecting spacing and typography
|
|
70
|
+
* @default 'md'
|
|
71
|
+
*/
|
|
72
|
+
size?: NewsletterSize;
|
|
73
|
+
/**
|
|
74
|
+
* Background style
|
|
75
|
+
* @default 'subtle'
|
|
76
|
+
*/
|
|
77
|
+
background?: "base" | "subtle" | "brand" | "none";
|
|
78
|
+
/**
|
|
79
|
+
* Center align content
|
|
80
|
+
* @default true
|
|
81
|
+
*/
|
|
82
|
+
centered?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Success message to show after submission
|
|
85
|
+
*/
|
|
86
|
+
successMessage?: ReactNode;
|
|
87
|
+
/**
|
|
88
|
+
* Error message to show on submission error
|
|
89
|
+
*/
|
|
90
|
+
errorMessage?: ReactNode;
|
|
91
|
+
/**
|
|
92
|
+
* Loading state
|
|
93
|
+
* @default false
|
|
94
|
+
*/
|
|
95
|
+
loading?: boolean;
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=Newsletter.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Newsletter.types.d.ts","sourceRoot":"","sources":["../../../src/sections/Newsletter/Newsletter.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhD;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAC3C,cAAc,CAAC,WAAW,CAAC,EAC3B,OAAO,GAAG,UAAU,CACrB;IACC;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAEnC;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IAEvB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAE1B;;;OAGG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;IAEtB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;IAElD;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAE3B;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/Newsletter/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EACV,eAAe,EACf,gBAAgB,EAChB,cAAc,GACf,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pricing.d.ts","sourceRoot":"","sources":["../../../src/sections/Pricing/Pricing.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAMpD,eAAO,MAAM,OAAO,sGAiDnB,CAAC"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Grid column count for pricing cards
|
|
5
|
+
*/
|
|
6
|
+
export type PricingColumns = 2 | 3 | 4;
|
|
7
|
+
/**
|
|
8
|
+
* Feature item in a pricing plan
|
|
9
|
+
*/
|
|
10
|
+
export interface PricingFeature {
|
|
11
|
+
/**
|
|
12
|
+
* Feature text
|
|
13
|
+
*/
|
|
14
|
+
text: string;
|
|
15
|
+
/**
|
|
16
|
+
* Whether the feature is included in the plan
|
|
17
|
+
* @default true
|
|
18
|
+
*/
|
|
19
|
+
included?: boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Pricing plan data structure
|
|
23
|
+
*/
|
|
24
|
+
export interface PricingPlan {
|
|
25
|
+
/**
|
|
26
|
+
* Plan name (e.g., "Starter", "Pro", "Enterprise")
|
|
27
|
+
*/
|
|
28
|
+
name: string;
|
|
29
|
+
/**
|
|
30
|
+
* Price display (e.g., "$9", "$29/mo", or ReactNode for custom)
|
|
31
|
+
*/
|
|
32
|
+
price: string | ReactNode;
|
|
33
|
+
/**
|
|
34
|
+
* Billing period (e.g., "per month", "per user/month")
|
|
35
|
+
*/
|
|
36
|
+
period?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Short description of the plan
|
|
39
|
+
*/
|
|
40
|
+
description?: string;
|
|
41
|
+
/**
|
|
42
|
+
* List of features included in the plan
|
|
43
|
+
*/
|
|
44
|
+
features: (string | PricingFeature)[];
|
|
45
|
+
/**
|
|
46
|
+
* Call-to-action button/element
|
|
47
|
+
*/
|
|
48
|
+
action?: ReactNode;
|
|
49
|
+
/**
|
|
50
|
+
* Mark as most popular/recommended
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
53
|
+
popular?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Optional badge text (e.g., "Best Value", "Most Popular")
|
|
56
|
+
*/
|
|
57
|
+
badge?: ReactNode;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Pricing card props (internal component)
|
|
61
|
+
*/
|
|
62
|
+
export interface PricingCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
63
|
+
/**
|
|
64
|
+
* Pricing plan data
|
|
65
|
+
*/
|
|
66
|
+
plan: PricingPlan;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Pricing section props
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* ```tsx
|
|
73
|
+
* <Pricing
|
|
74
|
+
* title="Simple, transparent pricing"
|
|
75
|
+
* description="Choose the plan that's right for you"
|
|
76
|
+
* plans={[
|
|
77
|
+
* {
|
|
78
|
+
* name: "Starter",
|
|
79
|
+
* price: "$9",
|
|
80
|
+
* period: "per month",
|
|
81
|
+
* features: ["5 projects", "Basic support"],
|
|
82
|
+
* action: <Button>Get Started</Button>
|
|
83
|
+
* },
|
|
84
|
+
* {
|
|
85
|
+
* name: "Pro",
|
|
86
|
+
* price: "$29",
|
|
87
|
+
* period: "per month",
|
|
88
|
+
* features: ["Unlimited projects", "Priority support"],
|
|
89
|
+
* action: <Button>Get Started</Button>,
|
|
90
|
+
* popular: true
|
|
91
|
+
* }
|
|
92
|
+
* ]}
|
|
93
|
+
* />
|
|
94
|
+
* ```
|
|
95
|
+
*/
|
|
96
|
+
export interface PricingProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
|
|
97
|
+
/**
|
|
98
|
+
* Optional eyebrow/badge above title
|
|
99
|
+
*/
|
|
100
|
+
eyebrow?: ReactNode;
|
|
101
|
+
/**
|
|
102
|
+
* Section title
|
|
103
|
+
*/
|
|
104
|
+
title?: ReactNode;
|
|
105
|
+
/**
|
|
106
|
+
* Section description
|
|
107
|
+
*/
|
|
108
|
+
description?: ReactNode;
|
|
109
|
+
/**
|
|
110
|
+
* Array of pricing plans
|
|
111
|
+
*/
|
|
112
|
+
plans: PricingPlan[];
|
|
113
|
+
/**
|
|
114
|
+
* Number of grid columns
|
|
115
|
+
* @default 3
|
|
116
|
+
*/
|
|
117
|
+
columns?: PricingColumns;
|
|
118
|
+
/**
|
|
119
|
+
* Background style
|
|
120
|
+
* @default 'subtle'
|
|
121
|
+
*/
|
|
122
|
+
background?: "base" | "subtle" | "none";
|
|
123
|
+
/**
|
|
124
|
+
* Center the header text
|
|
125
|
+
* @default true
|
|
126
|
+
*/
|
|
127
|
+
centered?: boolean;
|
|
128
|
+
}
|
|
129
|
+
//# sourceMappingURL=Pricing.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pricing.types.d.ts","sourceRoot":"","sources":["../../../src/sections/Pricing/Pricing.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAE1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,QAAQ,EAAE,CAAC,MAAM,GAAG,cAAc,CAAC,EAAE,CAAC;IAEtC;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtE;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,WAAW,YAAa,SAAQ,IAAI,CACxC,cAAc,CAAC,WAAW,CAAC,EAC3B,OAAO,CACR;IACC;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,KAAK,EAAE,WAAW,EAAE,CAAC;IAErB;;;OAGG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;IAEzB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IAExC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PricingCard.d.ts","sourceRoot":"","sources":["../../../src/sections/Pricing/PricingCard.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAkB,MAAM,iBAAiB,CAAC;AAKxE,eAAO,MAAM,WAAW;0BAAyB,gBAAgB;;CA6DhE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Pricing Component Exports
|
|
3
|
+
*/
|
|
4
|
+
export { Pricing } from './Pricing';
|
|
5
|
+
export { PricingCard } from './PricingCard';
|
|
6
|
+
export type { PricingProps, PricingPlan, PricingFeature, PricingCardProps, PricingColumns, } from './Pricing.types';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/Pricing/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EACV,YAAY,EACZ,WAAW,EACX,cAAc,EACd,gBAAgB,EAChB,cAAc,GACf,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SettingsLayout.d.ts","sourceRoot":"","sources":["../../../src/sections/SettingsLayout/SettingsLayout.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAIH,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,wBAAwB,CAAC;AAGhC,eAAO,MAAM,cAAc,gHAkI1B,CAAC"}
|