@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,114 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { CarouselItem, CarouselVariant, CarouselAspectRatio, CarouselGap } from '@orion-ds/react';
|
|
3
|
+
|
|
4
|
+
export type { CarouselItem, CarouselVariant, CarouselAspectRatio, CarouselGap, CarouselOverlay, } from '@orion-ds/react';
|
|
5
|
+
/**
|
|
6
|
+
* CarouselSection props
|
|
7
|
+
*
|
|
8
|
+
* Full-page carousel section with title, description, and navigation.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* <CarouselSection
|
|
13
|
+
* eyebrow={<Badge>Featured</Badge>}
|
|
14
|
+
* title="Featured Stories"
|
|
15
|
+
* description="Check out our latest articles."
|
|
16
|
+
* alignToTitle={true}
|
|
17
|
+
* items={[
|
|
18
|
+
* {
|
|
19
|
+
* image: <img src="/hero-1.jpg" alt="" />,
|
|
20
|
+
* eyebrow: "Design",
|
|
21
|
+
* title: "The future of interfaces",
|
|
22
|
+
* description: "How AI is reshaping how we build",
|
|
23
|
+
* overlay: "gradient"
|
|
24
|
+
* }
|
|
25
|
+
* ]}
|
|
26
|
+
* />
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export interface CarouselSectionProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
|
|
30
|
+
/**
|
|
31
|
+
* Optional eyebrow/badge above title
|
|
32
|
+
*/
|
|
33
|
+
eyebrow?: ReactNode;
|
|
34
|
+
/**
|
|
35
|
+
* Section title
|
|
36
|
+
*/
|
|
37
|
+
title?: ReactNode;
|
|
38
|
+
/**
|
|
39
|
+
* Section description
|
|
40
|
+
*/
|
|
41
|
+
description?: ReactNode;
|
|
42
|
+
/**
|
|
43
|
+
* Array of carousel items
|
|
44
|
+
*/
|
|
45
|
+
items: CarouselItem[];
|
|
46
|
+
/**
|
|
47
|
+
* Visual variant
|
|
48
|
+
* - editorial: Magazine-style with large images and text overlays
|
|
49
|
+
* - product: Product showcase cards
|
|
50
|
+
* - gallery: Simple image gallery
|
|
51
|
+
* @default 'editorial'
|
|
52
|
+
*/
|
|
53
|
+
variant?: CarouselVariant;
|
|
54
|
+
/**
|
|
55
|
+
* Aspect ratio for cards
|
|
56
|
+
* @default '16/9'
|
|
57
|
+
*/
|
|
58
|
+
aspectRatio?: CarouselAspectRatio;
|
|
59
|
+
/**
|
|
60
|
+
* Show cards cut at edge (Apple style peek effect)
|
|
61
|
+
* @default true
|
|
62
|
+
*/
|
|
63
|
+
peek?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Enable auto-scroll
|
|
66
|
+
* @default false
|
|
67
|
+
*/
|
|
68
|
+
autoScroll?: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Auto-scroll interval in milliseconds
|
|
71
|
+
* @default 5000
|
|
72
|
+
*/
|
|
73
|
+
autoScrollInterval?: number;
|
|
74
|
+
/**
|
|
75
|
+
* Gap between cards
|
|
76
|
+
* @default 'md'
|
|
77
|
+
*/
|
|
78
|
+
gap?: CarouselGap;
|
|
79
|
+
/**
|
|
80
|
+
* Background style
|
|
81
|
+
* @default 'base'
|
|
82
|
+
*/
|
|
83
|
+
background?: "base" | "subtle" | "sunken" | "none";
|
|
84
|
+
/**
|
|
85
|
+
* Show navigation arrows in header
|
|
86
|
+
* @default true
|
|
87
|
+
*/
|
|
88
|
+
showNavigation?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Show pagination dots below carousel
|
|
91
|
+
* @default false
|
|
92
|
+
*/
|
|
93
|
+
showPagination?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Align first card with the Container edge (same as title)
|
|
96
|
+
* - true: First card aligns with title (container alignment)
|
|
97
|
+
* - false: Cards start from screen edge (Apple style)
|
|
98
|
+
* @default true
|
|
99
|
+
*/
|
|
100
|
+
alignToTitle?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Make the active (focused) card 10% larger than the rest.
|
|
103
|
+
* Creates a "spotlight" effect that follows the scroll position.
|
|
104
|
+
* @default false
|
|
105
|
+
*/
|
|
106
|
+
highlightActive?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Enable infinite loop scrolling.
|
|
109
|
+
* When reaching the end, navigation continues from the beginning.
|
|
110
|
+
* @default false
|
|
111
|
+
*/
|
|
112
|
+
loop?: boolean;
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=CarouselSection.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarouselSection.types.d.ts","sourceRoot":"","sources":["../../../src/sections/CarouselSection/CarouselSection.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,WAAW,EACZ,MAAM,iBAAiB,CAAC;AAGzB,YAAY,EACV,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,WAAW,EACX,eAAe,GAChB,MAAM,iBAAiB,CAAC;AAEzB;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAChD,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,YAAY,EAAE,CAAC;IAEtB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAE1B;;;OAGG;IACH,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAElC;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;;OAGG;IACH,GAAG,CAAC,EAAE,WAAW,CAAC;IAElB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;IAEnD;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CarouselSection Component Exports
|
|
3
|
+
*
|
|
4
|
+
* Full-page carousel section with title, description, and navigation.
|
|
5
|
+
* For atomic carousel use, import Carousel from components.
|
|
6
|
+
*/
|
|
7
|
+
export { CarouselSection } from './CarouselSection';
|
|
8
|
+
export { CarouselCard } from '@orion-ds/react';
|
|
9
|
+
export type { CarouselSectionProps, CarouselItem, CarouselVariant, CarouselAspectRatio, CarouselGap, CarouselOverlay, } from './CarouselSection.types';
|
|
10
|
+
export type { CarouselCardProps } from '@orion-ds/react';
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/CarouselSection/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAGpD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,YAAY,EACV,oBAAoB,EACpB,YAAY,EACZ,eAAe,EACf,mBAAmB,EACnB,WAAW,EACX,eAAe,GAChB,MAAM,yBAAyB,CAAC;AAGjC,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatSection.d.ts","sourceRoot":"","sources":["../../../src/sections/Chat/ChatSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAKH,OAAO,KAAK,EACV,gBAAgB,EAEjB,MAAM,iBAAiB,CAAC;AAsBzB,eAAO,MAAM,WAAW,6GA6HvB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Chat Section - Pre-built chat interface with sidebar.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```tsx
|
|
6
|
+
* import { ChatSection } from '@orion-ds/react';
|
|
7
|
+
*
|
|
8
|
+
* <ChatSection
|
|
9
|
+
* conversations={conversations}
|
|
10
|
+
* activeConversationId={activeId}
|
|
11
|
+
* messages={messages}
|
|
12
|
+
* onSendMessage={handleSend}
|
|
13
|
+
* onSelectConversation={handleSelect}
|
|
14
|
+
* />
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export { ChatSection } from './ChatSection';
|
|
18
|
+
export type { ChatSectionProps } from '@orion-ds/react';
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/Chat/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ComparisonProps } from './Comparison.types';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Comparison section for comparing products/plans/features
|
|
6
|
+
*/
|
|
7
|
+
export declare const Comparison: React.FC<ComparisonProps>;
|
|
8
|
+
//# sourceMappingURL=Comparison.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Comparison.d.ts","sourceRoot":"","sources":["../../../src/sections/Comparison/Comparison.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,eAAe,EAAqB,MAAM,oBAAoB,CAAC;AAwC7E;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA8HhD,CAAC"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Feature row for comparison
|
|
5
|
+
*/
|
|
6
|
+
export interface ComparisonFeature {
|
|
7
|
+
/**
|
|
8
|
+
* Feature name/label
|
|
9
|
+
*/
|
|
10
|
+
name: string;
|
|
11
|
+
/**
|
|
12
|
+
* Feature description (optional)
|
|
13
|
+
*/
|
|
14
|
+
description?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Feature category for grouping
|
|
17
|
+
*/
|
|
18
|
+
category?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Values for each column (true/false for boolean, string for text)
|
|
21
|
+
*/
|
|
22
|
+
values: (boolean | string | ReactNode)[];
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Column header for comparison
|
|
26
|
+
*/
|
|
27
|
+
export interface ComparisonColumn {
|
|
28
|
+
/**
|
|
29
|
+
* Column title (product/plan name)
|
|
30
|
+
*/
|
|
31
|
+
title: string;
|
|
32
|
+
/**
|
|
33
|
+
* Column subtitle (price, etc.)
|
|
34
|
+
*/
|
|
35
|
+
subtitle?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Highlight this column
|
|
38
|
+
*/
|
|
39
|
+
highlighted?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Badge text (e.g., "Popular", "Best Value")
|
|
42
|
+
*/
|
|
43
|
+
badge?: string;
|
|
44
|
+
/**
|
|
45
|
+
* CTA button label
|
|
46
|
+
*/
|
|
47
|
+
ctaLabel?: string;
|
|
48
|
+
/**
|
|
49
|
+
* CTA button href
|
|
50
|
+
*/
|
|
51
|
+
ctaHref?: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Comparison section props
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```tsx
|
|
58
|
+
* <Comparison
|
|
59
|
+
* title="Compare Plans"
|
|
60
|
+
* columns={[
|
|
61
|
+
* { title: "Basic", subtitle: "$9/mo" },
|
|
62
|
+
* { title: "Pro", subtitle: "$29/mo", highlighted: true, badge: "Popular" },
|
|
63
|
+
* { title: "Enterprise", subtitle: "Custom" },
|
|
64
|
+
* ]}
|
|
65
|
+
* features={[
|
|
66
|
+
* { name: "Users", values: ["1", "5", "Unlimited"] },
|
|
67
|
+
* { name: "Storage", values: ["10GB", "100GB", "Unlimited"] },
|
|
68
|
+
* { name: "Support", values: [false, true, true] },
|
|
69
|
+
* ]}
|
|
70
|
+
* />
|
|
71
|
+
* ```
|
|
72
|
+
*/
|
|
73
|
+
export interface ComparisonProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
|
|
74
|
+
/**
|
|
75
|
+
* Optional eyebrow text
|
|
76
|
+
*/
|
|
77
|
+
eyebrow?: ReactNode;
|
|
78
|
+
/**
|
|
79
|
+
* Section title
|
|
80
|
+
*/
|
|
81
|
+
title?: ReactNode;
|
|
82
|
+
/**
|
|
83
|
+
* Section description
|
|
84
|
+
*/
|
|
85
|
+
description?: ReactNode;
|
|
86
|
+
/**
|
|
87
|
+
* Column definitions
|
|
88
|
+
*/
|
|
89
|
+
columns: ComparisonColumn[];
|
|
90
|
+
/**
|
|
91
|
+
* Feature rows
|
|
92
|
+
*/
|
|
93
|
+
features: ComparisonFeature[];
|
|
94
|
+
/**
|
|
95
|
+
* Show category headers
|
|
96
|
+
* @default true
|
|
97
|
+
*/
|
|
98
|
+
showCategories?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Show row descriptions
|
|
101
|
+
* @default false
|
|
102
|
+
*/
|
|
103
|
+
showDescriptions?: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Sticky header
|
|
106
|
+
* @default true
|
|
107
|
+
*/
|
|
108
|
+
stickyHeader?: boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Background style
|
|
111
|
+
* @default 'base'
|
|
112
|
+
*/
|
|
113
|
+
background?: "base" | "subtle" | "none";
|
|
114
|
+
/**
|
|
115
|
+
* Compact mode
|
|
116
|
+
* @default false
|
|
117
|
+
*/
|
|
118
|
+
compact?: boolean;
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=Comparison.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Comparison.types.d.ts","sourceRoot":"","sources":["../../../src/sections/Comparison/Comparison.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,EAAE,CAAC,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC,EAAE,CAAC;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAC3C,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,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAE5B;;OAEG;IACH,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAE9B;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IAExC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/Comparison/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EACV,eAAe,EACf,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Contact.d.ts","sourceRoot":"","sources":["../../../src/sections/Contact/Contact.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAoB,MAAM,iBAAiB,CAAC;AA+BtE,eAAO,MAAM,OAAO,sGA4InB,CAAC"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Contact layout variant
|
|
5
|
+
*/
|
|
6
|
+
export type ContactLayout = "split" | "stacked" | "form-only";
|
|
7
|
+
/**
|
|
8
|
+
* Contact info item (phone, email, address, etc.)
|
|
9
|
+
*/
|
|
10
|
+
export interface ContactInfo {
|
|
11
|
+
/**
|
|
12
|
+
* Icon element for the contact method
|
|
13
|
+
*/
|
|
14
|
+
icon?: ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Label (e.g., "Email", "Phone", "Address")
|
|
17
|
+
*/
|
|
18
|
+
label: string;
|
|
19
|
+
/**
|
|
20
|
+
* Value (e.g., "hello@example.com")
|
|
21
|
+
*/
|
|
22
|
+
value: string;
|
|
23
|
+
/**
|
|
24
|
+
* Optional href for clickable items (mailto:, tel:)
|
|
25
|
+
*/
|
|
26
|
+
href?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Form field configuration
|
|
30
|
+
*/
|
|
31
|
+
export interface ContactFormField {
|
|
32
|
+
/**
|
|
33
|
+
* Field name (for form data)
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
* Field label
|
|
38
|
+
*/
|
|
39
|
+
label: string;
|
|
40
|
+
/**
|
|
41
|
+
* Field type
|
|
42
|
+
* @default 'text'
|
|
43
|
+
*/
|
|
44
|
+
type?: "text" | "email" | "tel" | "textarea";
|
|
45
|
+
/**
|
|
46
|
+
* Placeholder text
|
|
47
|
+
*/
|
|
48
|
+
placeholder?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Whether the field is required
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
53
|
+
required?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Number of rows (for textarea only)
|
|
56
|
+
* @default 4
|
|
57
|
+
*/
|
|
58
|
+
rows?: number;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Contact section props
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```tsx
|
|
65
|
+
* <Contact
|
|
66
|
+
* title="Get in touch"
|
|
67
|
+
* description="We'd love to hear from you"
|
|
68
|
+
* contactInfo={[
|
|
69
|
+
* { icon: <Mail />, label: "Email", value: "hello@example.com", href: "mailto:hello@example.com" },
|
|
70
|
+
* { icon: <Phone />, label: "Phone", value: "+1 (555) 000-0000", href: "tel:+15550000000" }
|
|
71
|
+
* ]}
|
|
72
|
+
* formFields={[
|
|
73
|
+
* { name: "name", label: "Name", required: true },
|
|
74
|
+
* { name: "email", label: "Email", type: "email", required: true },
|
|
75
|
+
* { name: "message", label: "Message", type: "textarea", required: true }
|
|
76
|
+
* ]}
|
|
77
|
+
* onSubmit={(data) => console.log(data)}
|
|
78
|
+
* />
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
export interface ContactProps extends Omit<HTMLAttributes<HTMLElement>, "title" | "onSubmit"> {
|
|
82
|
+
/**
|
|
83
|
+
* Optional eyebrow/badge above title
|
|
84
|
+
*/
|
|
85
|
+
eyebrow?: ReactNode;
|
|
86
|
+
/**
|
|
87
|
+
* Section title
|
|
88
|
+
*/
|
|
89
|
+
title?: ReactNode;
|
|
90
|
+
/**
|
|
91
|
+
* Section description
|
|
92
|
+
*/
|
|
93
|
+
description?: ReactNode;
|
|
94
|
+
/**
|
|
95
|
+
* Contact information items
|
|
96
|
+
*/
|
|
97
|
+
contactInfo?: ContactInfo[];
|
|
98
|
+
/**
|
|
99
|
+
* Form fields configuration
|
|
100
|
+
*/
|
|
101
|
+
formFields?: ContactFormField[];
|
|
102
|
+
/**
|
|
103
|
+
* Form submit handler - receives form data as an object
|
|
104
|
+
*/
|
|
105
|
+
onSubmit?: (data: Record<string, string>) => void;
|
|
106
|
+
/**
|
|
107
|
+
* Custom submit button element
|
|
108
|
+
*/
|
|
109
|
+
submitButton?: ReactNode;
|
|
110
|
+
/**
|
|
111
|
+
* Submit button text (if not using custom button)
|
|
112
|
+
* @default "Send Message"
|
|
113
|
+
*/
|
|
114
|
+
submitText?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Layout variant
|
|
117
|
+
* - split: Info on left, form on right
|
|
118
|
+
* - stacked: Info above form
|
|
119
|
+
* - form-only: Just the form, no contact info
|
|
120
|
+
* @default 'split'
|
|
121
|
+
*/
|
|
122
|
+
layout?: ContactLayout;
|
|
123
|
+
/**
|
|
124
|
+
* Background style
|
|
125
|
+
* @default 'subtle'
|
|
126
|
+
*/
|
|
127
|
+
background?: "base" | "subtle" | "none";
|
|
128
|
+
/**
|
|
129
|
+
* Additional content below contact info (e.g., social links, map)
|
|
130
|
+
*/
|
|
131
|
+
additionalContent?: ReactNode;
|
|
132
|
+
}
|
|
133
|
+
//# sourceMappingURL=Contact.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Contact.types.d.ts","sourceRoot":"","sources":["../../../src/sections/Contact/Contact.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC;AAE9D;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,UAAU,CAAC;IAE7C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,YAAa,SAAQ,IAAI,CACxC,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;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,EAAE,CAAC;IAE5B;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,IAAI,CAAC;IAElD;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IAEvB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IAExC;;OAEG;IACH,iBAAiB,CAAC,EAAE,SAAS,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/Contact/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EACV,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,aAAa,GACd,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../src/sections/EmptyState/EmptyState.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D,eAAO,MAAM,UAAU,4GAiDtB,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* EmptyState size variant
|
|
5
|
+
*/
|
|
6
|
+
export type EmptyStateSize = "sm" | "md" | "lg";
|
|
7
|
+
/**
|
|
8
|
+
* EmptyState visual variant
|
|
9
|
+
*/
|
|
10
|
+
export type EmptyStateVariant = "default" | "compact" | "full-page";
|
|
11
|
+
/**
|
|
12
|
+
* EmptyState section props
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* <EmptyState
|
|
17
|
+
* icon={<Inbox size={48} />}
|
|
18
|
+
* title="No messages yet"
|
|
19
|
+
* description="When you receive messages, they'll appear here."
|
|
20
|
+
* action={<Button>Compose Message</Button>}
|
|
21
|
+
* />
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export interface EmptyStateProps extends HTMLAttributes<HTMLDivElement> {
|
|
25
|
+
/**
|
|
26
|
+
* Icon element to display
|
|
27
|
+
* Typically a Lucide icon with size 48-64
|
|
28
|
+
*/
|
|
29
|
+
icon?: ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* Optional illustration element (larger visual)
|
|
32
|
+
* Use instead of icon for full-page variants
|
|
33
|
+
*/
|
|
34
|
+
illustration?: ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* Main title/heading
|
|
37
|
+
*/
|
|
38
|
+
title: string;
|
|
39
|
+
/**
|
|
40
|
+
* Description text providing context
|
|
41
|
+
*/
|
|
42
|
+
description?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Primary action button
|
|
45
|
+
*/
|
|
46
|
+
action?: ReactNode;
|
|
47
|
+
/**
|
|
48
|
+
* Secondary action (link or button)
|
|
49
|
+
*/
|
|
50
|
+
secondaryAction?: ReactNode;
|
|
51
|
+
/**
|
|
52
|
+
* Visual variant
|
|
53
|
+
* - default: Standard centered layout
|
|
54
|
+
* - compact: Smaller padding and text
|
|
55
|
+
* - full-page: Takes full viewport height
|
|
56
|
+
* @default 'default'
|
|
57
|
+
*/
|
|
58
|
+
variant?: EmptyStateVariant;
|
|
59
|
+
/**
|
|
60
|
+
* Size variant affecting padding and typography
|
|
61
|
+
* @default 'md'
|
|
62
|
+
*/
|
|
63
|
+
size?: EmptyStateSize;
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=EmptyState.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyState.types.d.ts","sourceRoot":"","sources":["../../../src/sections/EmptyState/EmptyState.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEhD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,SAAS,GAAG,WAAW,CAAC;AAEpE;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACrE;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB;;;OAGG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC;IAE5B;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAE5B;;;OAGG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/EmptyState/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EACV,eAAe,EACf,iBAAiB,EACjB,cAAc,GACf,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FAQ.d.ts","sourceRoot":"","sources":["../../../src/sections/FAQ/FAQ.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAM5C,eAAO,MAAM,GAAG,kGAgGf,CAAC"}
|