@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,117 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Grid column count for FAQ items
|
|
5
|
+
*/
|
|
6
|
+
export type FAQColumns = 1 | 2;
|
|
7
|
+
/**
|
|
8
|
+
* FAQ visual variant
|
|
9
|
+
*/
|
|
10
|
+
export type FAQVariant = "accordion" | "grid";
|
|
11
|
+
/**
|
|
12
|
+
* FAQ item data structure
|
|
13
|
+
*/
|
|
14
|
+
export interface FAQItem {
|
|
15
|
+
/**
|
|
16
|
+
* The question text
|
|
17
|
+
*/
|
|
18
|
+
question: string;
|
|
19
|
+
/**
|
|
20
|
+
* The answer content (can be text or rich content)
|
|
21
|
+
*/
|
|
22
|
+
answer: ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* Whether the item is open by default
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
defaultOpen?: boolean;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* FAQ accordion item props (internal component)
|
|
31
|
+
*/
|
|
32
|
+
export interface FAQItemCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
33
|
+
/**
|
|
34
|
+
* FAQ item data
|
|
35
|
+
*/
|
|
36
|
+
item: FAQItem;
|
|
37
|
+
/**
|
|
38
|
+
* Visual variant
|
|
39
|
+
* @default 'accordion'
|
|
40
|
+
*/
|
|
41
|
+
variant?: FAQVariant;
|
|
42
|
+
/**
|
|
43
|
+
* Whether the item is currently open (controlled)
|
|
44
|
+
*/
|
|
45
|
+
isOpen?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Callback when toggled
|
|
48
|
+
*/
|
|
49
|
+
onToggle?: () => void;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* FAQ section props
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```tsx
|
|
56
|
+
* <FAQ
|
|
57
|
+
* title="Frequently Asked Questions"
|
|
58
|
+
* description="Find answers to common questions"
|
|
59
|
+
* items={[
|
|
60
|
+
* {
|
|
61
|
+
* question: "How do I get started?",
|
|
62
|
+
* answer: "Simply sign up for a free account and follow our onboarding guide."
|
|
63
|
+
* },
|
|
64
|
+
* {
|
|
65
|
+
* question: "Is there a free trial?",
|
|
66
|
+
* answer: "Yes! We offer a 14-day free trial with full access to all features."
|
|
67
|
+
* }
|
|
68
|
+
* ]}
|
|
69
|
+
* />
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
export interface FAQProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
|
|
73
|
+
/**
|
|
74
|
+
* Optional eyebrow/badge above title
|
|
75
|
+
*/
|
|
76
|
+
eyebrow?: ReactNode;
|
|
77
|
+
/**
|
|
78
|
+
* Section title
|
|
79
|
+
*/
|
|
80
|
+
title?: ReactNode;
|
|
81
|
+
/**
|
|
82
|
+
* Section description
|
|
83
|
+
*/
|
|
84
|
+
description?: ReactNode;
|
|
85
|
+
/**
|
|
86
|
+
* Array of FAQ items
|
|
87
|
+
*/
|
|
88
|
+
items: FAQItem[];
|
|
89
|
+
/**
|
|
90
|
+
* Number of grid columns (only applies to grid variant)
|
|
91
|
+
* @default 1
|
|
92
|
+
*/
|
|
93
|
+
columns?: FAQColumns;
|
|
94
|
+
/**
|
|
95
|
+
* Visual variant
|
|
96
|
+
* - accordion: Expandable accordion items
|
|
97
|
+
* - grid: Static grid of questions and answers
|
|
98
|
+
* @default 'accordion'
|
|
99
|
+
*/
|
|
100
|
+
variant?: FAQVariant;
|
|
101
|
+
/**
|
|
102
|
+
* Allow multiple items to be open at once (accordion only)
|
|
103
|
+
* @default true
|
|
104
|
+
*/
|
|
105
|
+
allowMultiple?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Background style
|
|
108
|
+
* @default 'base'
|
|
109
|
+
*/
|
|
110
|
+
background?: "base" | "subtle" | "none";
|
|
111
|
+
/**
|
|
112
|
+
* Center the header text
|
|
113
|
+
* @default true
|
|
114
|
+
*/
|
|
115
|
+
centered?: boolean;
|
|
116
|
+
}
|
|
117
|
+
//# sourceMappingURL=FAQ.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FAQ.types.d.ts","sourceRoot":"","sources":["../../../src/sections/FAQ/FAQ.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,GAAG,CAAC,CAAC;AAE/B;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,MAAM,CAAC;AAE9C;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,MAAM,EAAE,SAAS,CAAC;IAElB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtE;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IAEd;;;OAGG;IACH,OAAO,CAAC,EAAE,UAAU,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,QAAS,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC1E;;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,OAAO,EAAE,CAAC;IAEjB;;;OAGG;IACH,OAAO,CAAC,EAAE,UAAU,CAAC;IAErB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,UAAU,CAAC;IAErB;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IAExC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FAQItemCardProps } from './FAQ.types';
|
|
2
|
+
|
|
3
|
+
export declare const FAQItemCard: {
|
|
4
|
+
({ item, variant, isOpen: controlledIsOpen, onToggle, className, }: FAQItemCardProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
//# sourceMappingURL=FAQItemCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FAQItemCard.d.ts","sourceRoot":"","sources":["../../../src/sections/FAQ/FAQItemCard.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAIpD,eAAO,MAAM,WAAW;wEAMrB,gBAAgB;;CAkDlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/FAQ/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EACV,QAAQ,EACR,OAAO,EACP,gBAAgB,EAChB,UAAU,EACV,UAAU,GACX,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeatureCard.d.ts","sourceRoot":"","sources":["../../../src/sections/Features/FeatureCard.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAIzD,eAAO,MAAM,WAAW;2CAIrB,gBAAgB;;CA2ClB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Features.d.ts","sourceRoot":"","sources":["../../../src/sections/Features/Features.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAMtD,eAAO,MAAM,QAAQ,uGAsDpB,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Grid column count
|
|
5
|
+
*/
|
|
6
|
+
export type FeaturesColumns = 2 | 3 | 4;
|
|
7
|
+
/**
|
|
8
|
+
* Feature item data structure
|
|
9
|
+
*/
|
|
10
|
+
export interface FeatureItem {
|
|
11
|
+
/**
|
|
12
|
+
* Icon element (typically from lucide-react)
|
|
13
|
+
*/
|
|
14
|
+
icon?: ReactNode;
|
|
15
|
+
/**
|
|
16
|
+
* Feature title
|
|
17
|
+
*/
|
|
18
|
+
title: string;
|
|
19
|
+
/**
|
|
20
|
+
* Feature description
|
|
21
|
+
*/
|
|
22
|
+
description: string;
|
|
23
|
+
/**
|
|
24
|
+
* Optional badge text
|
|
25
|
+
*/
|
|
26
|
+
badge?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Optional link href
|
|
29
|
+
*/
|
|
30
|
+
href?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Feature card props (internal component)
|
|
34
|
+
*/
|
|
35
|
+
export interface FeatureCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
36
|
+
/**
|
|
37
|
+
* Feature item data
|
|
38
|
+
*/
|
|
39
|
+
feature: FeatureItem;
|
|
40
|
+
/**
|
|
41
|
+
* Enable hover effects
|
|
42
|
+
* @default true
|
|
43
|
+
*/
|
|
44
|
+
interactive?: boolean;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Features section props
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* ```tsx
|
|
51
|
+
* <Features
|
|
52
|
+
* title="Everything you need"
|
|
53
|
+
* description="Powerful features designed for modern apps"
|
|
54
|
+
* items={[
|
|
55
|
+
* { icon: <Zap />, title: "Fast", description: "Lightning speed" },
|
|
56
|
+
* { icon: <Shield />, title: "Secure", description: "Bank-grade security" },
|
|
57
|
+
* ]}
|
|
58
|
+
* columns={3}
|
|
59
|
+
* />
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
export interface FeaturesProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
|
|
63
|
+
/**
|
|
64
|
+
* Optional eyebrow/badge above title
|
|
65
|
+
*/
|
|
66
|
+
eyebrow?: ReactNode;
|
|
67
|
+
/**
|
|
68
|
+
* Section title
|
|
69
|
+
*/
|
|
70
|
+
title?: ReactNode;
|
|
71
|
+
/**
|
|
72
|
+
* Section description
|
|
73
|
+
*/
|
|
74
|
+
description?: ReactNode;
|
|
75
|
+
/**
|
|
76
|
+
* Feature items array
|
|
77
|
+
*/
|
|
78
|
+
items: FeatureItem[];
|
|
79
|
+
/**
|
|
80
|
+
* Number of grid columns
|
|
81
|
+
* @default 3
|
|
82
|
+
*/
|
|
83
|
+
columns?: FeaturesColumns;
|
|
84
|
+
/**
|
|
85
|
+
* Background style
|
|
86
|
+
* @default 'subtle'
|
|
87
|
+
*/
|
|
88
|
+
background?: "base" | "subtle" | "none";
|
|
89
|
+
/**
|
|
90
|
+
* Enable card hover effects
|
|
91
|
+
* @default true
|
|
92
|
+
*/
|
|
93
|
+
interactive?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Center the header text
|
|
96
|
+
* @default true
|
|
97
|
+
*/
|
|
98
|
+
centered?: boolean;
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=Features.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Features.types.d.ts","sourceRoot":"","sources":["../../../src/sections/Features/Features.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAExC;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtE;;OAEG;IACH,OAAO,EAAE,WAAW,CAAC;IAErB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,aAAc,SAAQ,IAAI,CACzC,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,eAAe,CAAC;IAE1B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IAExC;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Features Component Exports
|
|
3
|
+
*/
|
|
4
|
+
export { Features } from './Features';
|
|
5
|
+
export { FeatureCard } from './FeatureCard';
|
|
6
|
+
export type { FeaturesProps, FeatureItem, FeatureCardProps, FeaturesColumns, } from './Features.types';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/Features/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EACV,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,eAAe,GAChB,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../src/sections/Footer/Footer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,KAAK,EAAE,WAAW,EAAc,MAAM,gBAAgB,CAAC;AAkB9D,eAAO,MAAM,MAAM,qGA8IlB,CAAC"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Footer link item
|
|
5
|
+
*/
|
|
6
|
+
export interface FooterLink {
|
|
7
|
+
/**
|
|
8
|
+
* Link label
|
|
9
|
+
*/
|
|
10
|
+
label: string;
|
|
11
|
+
/**
|
|
12
|
+
* Link URL
|
|
13
|
+
*/
|
|
14
|
+
href: string;
|
|
15
|
+
/**
|
|
16
|
+
* Open in new tab
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
external?: boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Footer link group (column of links)
|
|
23
|
+
*/
|
|
24
|
+
export interface FooterLinkGroup {
|
|
25
|
+
/**
|
|
26
|
+
* Group title
|
|
27
|
+
*/
|
|
28
|
+
title: string;
|
|
29
|
+
/**
|
|
30
|
+
* Links in this group
|
|
31
|
+
*/
|
|
32
|
+
links: FooterLink[];
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Social link item
|
|
36
|
+
*/
|
|
37
|
+
export interface FooterSocialLink {
|
|
38
|
+
/**
|
|
39
|
+
* Platform name (for accessibility)
|
|
40
|
+
*/
|
|
41
|
+
label: string;
|
|
42
|
+
/**
|
|
43
|
+
* Link URL
|
|
44
|
+
*/
|
|
45
|
+
href: string;
|
|
46
|
+
/**
|
|
47
|
+
* Icon element
|
|
48
|
+
*/
|
|
49
|
+
icon: ReactNode;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Footer brand info
|
|
53
|
+
*/
|
|
54
|
+
export interface FooterBrand {
|
|
55
|
+
/**
|
|
56
|
+
* Brand name
|
|
57
|
+
*/
|
|
58
|
+
name: string;
|
|
59
|
+
/**
|
|
60
|
+
* Brand logo (optional)
|
|
61
|
+
*/
|
|
62
|
+
logo?: ReactNode;
|
|
63
|
+
/**
|
|
64
|
+
* Brand tagline/description
|
|
65
|
+
*/
|
|
66
|
+
description?: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Footer variant styles
|
|
70
|
+
*/
|
|
71
|
+
export type FooterVariant = "default" | "minimal" | "centered";
|
|
72
|
+
/**
|
|
73
|
+
* Footer section props
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* ```tsx
|
|
77
|
+
* <Footer
|
|
78
|
+
* brand={{ name: "Orion", logo: <Logo />, description: "AI-first design system" }}
|
|
79
|
+
* linkGroups={[
|
|
80
|
+
* { title: "Product", links: [{ label: "Features", href: "#" }] },
|
|
81
|
+
* { title: "Company", links: [{ label: "About", href: "#" }] },
|
|
82
|
+
* ]}
|
|
83
|
+
* socialLinks={[
|
|
84
|
+
* { label: "Twitter", href: "#", icon: <Twitter /> },
|
|
85
|
+
* ]}
|
|
86
|
+
* copyright="© 2024 Orion. All rights reserved."
|
|
87
|
+
* />
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
export interface FooterProps extends HTMLAttributes<HTMLElement> {
|
|
91
|
+
/**
|
|
92
|
+
* Brand information
|
|
93
|
+
*/
|
|
94
|
+
brand?: FooterBrand;
|
|
95
|
+
/**
|
|
96
|
+
* Groups of navigation links (columns)
|
|
97
|
+
*/
|
|
98
|
+
linkGroups?: FooterLinkGroup[];
|
|
99
|
+
/**
|
|
100
|
+
* Social media links
|
|
101
|
+
*/
|
|
102
|
+
socialLinks?: FooterSocialLink[];
|
|
103
|
+
/**
|
|
104
|
+
* Newsletter signup element (custom component)
|
|
105
|
+
*/
|
|
106
|
+
newsletter?: ReactNode;
|
|
107
|
+
/**
|
|
108
|
+
* Copyright text
|
|
109
|
+
*/
|
|
110
|
+
copyright?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Legal/bottom links (privacy, terms, etc.)
|
|
113
|
+
*/
|
|
114
|
+
legalLinks?: FooterLink[];
|
|
115
|
+
/**
|
|
116
|
+
* Visual variant
|
|
117
|
+
* - default: Full footer with all sections
|
|
118
|
+
* - minimal: Compact footer with essential info
|
|
119
|
+
* - centered: Centered layout
|
|
120
|
+
* @default 'default'
|
|
121
|
+
*/
|
|
122
|
+
variant?: FooterVariant;
|
|
123
|
+
/**
|
|
124
|
+
* Background style
|
|
125
|
+
* @default 'subtle'
|
|
126
|
+
*/
|
|
127
|
+
background?: "base" | "subtle" | "sunken";
|
|
128
|
+
}
|
|
129
|
+
//# sourceMappingURL=Footer.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Footer.types.d.ts","sourceRoot":"","sources":["../../../src/sections/Footer/Footer.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,EAAE,UAAU,EAAE,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAE/D;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,WAAW,WAAY,SAAQ,cAAc,CAAC,WAAW,CAAC;IAC9D;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,eAAe,EAAE,CAAC;IAE/B;;OAEG;IACH,WAAW,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAEjC;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,UAAU,EAAE,CAAC;IAE1B;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IAExB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;CAC3C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/Footer/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EACV,WAAW,EACX,WAAW,EACX,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,aAAa,GACd,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Gallery.d.ts","sourceRoot":"","sources":["../../../src/sections/Gallery/Gallery.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAoD,MAAM,OAAO,CAAC;AACzE,OAAO,KAAK,EAAE,YAAY,EAAgB,MAAM,iBAAiB,CAAC;AAGlE;;GAEG;AACH,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAiO1C,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Gallery image item
|
|
5
|
+
*/
|
|
6
|
+
export interface GalleryImage {
|
|
7
|
+
/**
|
|
8
|
+
* Image unique identifier
|
|
9
|
+
*/
|
|
10
|
+
id: string | number;
|
|
11
|
+
/**
|
|
12
|
+
* Image source URL
|
|
13
|
+
*/
|
|
14
|
+
src: string;
|
|
15
|
+
/**
|
|
16
|
+
* Image alt text
|
|
17
|
+
*/
|
|
18
|
+
alt: string;
|
|
19
|
+
/**
|
|
20
|
+
* Thumbnail URL (optional, uses src if not provided)
|
|
21
|
+
*/
|
|
22
|
+
thumbnail?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Image caption
|
|
25
|
+
*/
|
|
26
|
+
caption?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Image category for filtering
|
|
29
|
+
*/
|
|
30
|
+
category?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Aspect ratio override
|
|
33
|
+
*/
|
|
34
|
+
aspectRatio?: "square" | "landscape" | "portrait" | "auto";
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Gallery layout variants
|
|
38
|
+
*/
|
|
39
|
+
export type GalleryLayout = "grid" | "masonry" | "carousel";
|
|
40
|
+
/**
|
|
41
|
+
* Gallery section props
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```tsx
|
|
45
|
+
* <Gallery
|
|
46
|
+
* title="Our Work"
|
|
47
|
+
* images={[
|
|
48
|
+
* { id: 1, src: "/gallery/1.jpg", alt: "Project 1" },
|
|
49
|
+
* { id: 2, src: "/gallery/2.jpg", alt: "Project 2" },
|
|
50
|
+
* ]}
|
|
51
|
+
* layout="grid"
|
|
52
|
+
* lightbox
|
|
53
|
+
* />
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
export interface GalleryProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
|
|
57
|
+
/**
|
|
58
|
+
* Optional eyebrow text
|
|
59
|
+
*/
|
|
60
|
+
eyebrow?: ReactNode;
|
|
61
|
+
/**
|
|
62
|
+
* Section title
|
|
63
|
+
*/
|
|
64
|
+
title?: ReactNode;
|
|
65
|
+
/**
|
|
66
|
+
* Section description
|
|
67
|
+
*/
|
|
68
|
+
description?: ReactNode;
|
|
69
|
+
/**
|
|
70
|
+
* Array of images
|
|
71
|
+
*/
|
|
72
|
+
images: GalleryImage[];
|
|
73
|
+
/**
|
|
74
|
+
* Layout variant
|
|
75
|
+
* @default 'grid'
|
|
76
|
+
*/
|
|
77
|
+
layout?: GalleryLayout;
|
|
78
|
+
/**
|
|
79
|
+
* Number of columns
|
|
80
|
+
* @default 4
|
|
81
|
+
*/
|
|
82
|
+
columns?: 2 | 3 | 4 | 5;
|
|
83
|
+
/**
|
|
84
|
+
* Enable lightbox on click
|
|
85
|
+
* @default true
|
|
86
|
+
*/
|
|
87
|
+
lightbox?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Show captions below images
|
|
90
|
+
* @default false
|
|
91
|
+
*/
|
|
92
|
+
showCaptions?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Gap between images
|
|
95
|
+
* @default 'md'
|
|
96
|
+
*/
|
|
97
|
+
gap?: "sm" | "md" | "lg" | "none";
|
|
98
|
+
/**
|
|
99
|
+
* Enable category filtering
|
|
100
|
+
* @default false
|
|
101
|
+
*/
|
|
102
|
+
filterable?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Background style
|
|
105
|
+
* @default 'base'
|
|
106
|
+
*/
|
|
107
|
+
background?: "base" | "subtle" | "none";
|
|
108
|
+
/**
|
|
109
|
+
* Aspect ratio for grid items
|
|
110
|
+
* @default 'square'
|
|
111
|
+
*/
|
|
112
|
+
aspectRatio?: "square" | "landscape" | "portrait" | "auto";
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=Gallery.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Gallery.types.d.ts","sourceRoot":"","sources":["../../../src/sections/Gallery/Gallery.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IAEpB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,QAAQ,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;CAC5D;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC;AAE5D;;;;;;;;;;;;;;;GAeG;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,MAAM,EAAE,YAAY,EAAE,CAAC;IAEvB;;;OAGG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IAEvB;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAExB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IAElC;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IAExC;;;OAGG;IACH,WAAW,CAAC,EAAE,QAAQ,GAAG,WAAW,GAAG,UAAU,GAAG,MAAM,CAAC;CAC5D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/Gallery/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EACV,YAAY,EACZ,YAAY,EACZ,aAAa,GACd,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HeroProps } from './Hero.types';
|
|
2
|
+
import { HeroHighlight } from './HeroHighlight';
|
|
3
|
+
|
|
4
|
+
declare const HeroBase: import('react').ForwardRefExoticComponent<HeroProps & import('react').RefAttributes<HTMLElement>>;
|
|
5
|
+
type HeroComponent = typeof HeroBase & {
|
|
6
|
+
Highlight: typeof HeroHighlight;
|
|
7
|
+
};
|
|
8
|
+
export declare const Hero: HeroComponent;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=Hero.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Hero.d.ts","sourceRoot":"","sources":["../../../src/sections/Hero/Hero.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AA2BhD,QAAA,MAAM,QAAQ,mGAmHb,CAAC;AAKF,KAAK,aAAa,GAAG,OAAO,QAAQ,GAAG;IACrC,SAAS,EAAE,OAAO,aAAa,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,IAAI,EAAe,aAAa,CAAC"}
|