@orion-ds/react 1.0.1 → 1.0.4
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/components/Accordion/Accordion.d.ts +18 -0
- package/dist/components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/Accordion/Accordion.types.d.ts +92 -0
- package/dist/components/Accordion/Accordion.types.d.ts.map +1 -0
- package/dist/components/Accordion/index.d.ts +6 -0
- package/dist/components/Accordion/index.d.ts.map +1 -0
- package/dist/components/Alert/Alert.d.ts +1 -0
- package/dist/components/Alert/Alert.d.ts.map +1 -1
- package/dist/components/Card/Card.d.ts +5 -1
- package/dist/components/Card/Card.d.ts.map +1 -1
- package/dist/components/Card/Card.types.d.ts +43 -1
- package/dist/components/Card/Card.types.d.ts.map +1 -1
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/components/Chip/Chip.d.ts +15 -0
- package/dist/components/Chip/Chip.d.ts.map +1 -0
- package/dist/components/Chip/Chip.types.d.ts +68 -0
- package/dist/components/Chip/Chip.types.d.ts.map +1 -0
- package/dist/components/Chip/index.d.ts +6 -0
- package/dist/components/Chip/index.d.ts.map +1 -0
- package/dist/components/Combobox/Combobox.d.ts +21 -0
- package/dist/components/Combobox/Combobox.d.ts.map +1 -0
- package/dist/components/Combobox/Combobox.types.d.ts +153 -0
- package/dist/components/Combobox/Combobox.types.d.ts.map +1 -0
- package/dist/components/Combobox/index.d.ts +6 -0
- package/dist/components/Combobox/index.d.ts.map +1 -0
- package/dist/components/Divider/Divider.d.ts +15 -0
- package/dist/components/Divider/Divider.d.ts.map +1 -0
- package/dist/components/Divider/Divider.types.d.ts +46 -0
- package/dist/components/Divider/Divider.types.d.ts.map +1 -0
- package/dist/components/Divider/index.d.ts +6 -0
- package/dist/components/Divider/index.d.ts.map +1 -0
- package/dist/components/Drawer/Drawer.d.ts +23 -0
- package/dist/components/Drawer/Drawer.d.ts.map +1 -0
- package/dist/components/Drawer/Drawer.types.d.ts +83 -0
- package/dist/components/Drawer/Drawer.types.d.ts.map +1 -0
- package/dist/components/Drawer/index.d.ts +6 -0
- package/dist/components/Drawer/index.d.ts.map +1 -0
- package/dist/components/Dropdown/Dropdown.d.ts +19 -0
- package/dist/components/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/components/Dropdown/Dropdown.types.d.ts +119 -0
- package/dist/components/Dropdown/Dropdown.types.d.ts.map +1 -0
- package/dist/components/Dropdown/index.d.ts +6 -0
- package/dist/components/Dropdown/index.d.ts.map +1 -0
- package/dist/components/EmptyState/EmptyState.d.ts +18 -0
- package/dist/components/EmptyState/EmptyState.d.ts.map +1 -0
- package/dist/components/EmptyState/EmptyState.types.d.ts +51 -0
- package/dist/components/EmptyState/EmptyState.types.d.ts.map +1 -0
- package/dist/components/EmptyState/index.d.ts +6 -0
- package/dist/components/EmptyState/index.d.ts.map +1 -0
- package/dist/components/Icon/Icon.d.ts +37 -0
- package/dist/components/Icon/Icon.d.ts.map +1 -0
- package/dist/components/Icon/Icon.types.d.ts +102 -0
- package/dist/components/Icon/Icon.types.d.ts.map +1 -0
- package/dist/components/Icon/index.d.ts +6 -0
- package/dist/components/Icon/index.d.ts.map +1 -0
- package/dist/components/IconGallery/IconGallery.d.ts +6 -8
- package/dist/components/IconGallery/IconGallery.d.ts.map +1 -1
- package/dist/components/IconGallery/IconGallery.types.d.ts +39 -0
- package/dist/components/IconGallery/IconGallery.types.d.ts.map +1 -0
- package/dist/components/IconGallery/index.d.ts +6 -0
- package/dist/components/IconGallery/index.d.ts.map +1 -0
- package/dist/components/Link/Link.d.ts +15 -0
- package/dist/components/Link/Link.d.ts.map +1 -0
- package/dist/components/Link/Link.types.d.ts +59 -0
- package/dist/components/Link/Link.types.d.ts.map +1 -0
- package/dist/components/Link/index.d.ts +6 -0
- package/dist/components/Link/index.d.ts.map +1 -0
- package/dist/components/List/List.d.ts +19 -0
- package/dist/components/List/List.d.ts.map +1 -0
- package/dist/components/List/List.types.d.ts +117 -0
- package/dist/components/List/List.types.d.ts.map +1 -0
- package/dist/components/List/index.d.ts +6 -0
- package/dist/components/List/index.d.ts.map +1 -0
- package/dist/components/Pagination/Pagination.d.ts +17 -0
- package/dist/components/Pagination/Pagination.d.ts.map +1 -0
- package/dist/components/Pagination/Pagination.types.d.ts +62 -0
- package/dist/components/Pagination/Pagination.types.d.ts.map +1 -0
- package/dist/components/Pagination/index.d.ts +6 -0
- package/dist/components/Pagination/index.d.ts.map +1 -0
- package/dist/components/Popover/Popover.d.ts +17 -0
- package/dist/components/Popover/Popover.d.ts.map +1 -0
- package/dist/components/Popover/Popover.types.d.ts +100 -0
- package/dist/components/Popover/Popover.types.d.ts.map +1 -0
- package/dist/components/Popover/index.d.ts +6 -0
- package/dist/components/Popover/index.d.ts.map +1 -0
- package/dist/components/SearchInput/SearchInput.d.ts +18 -0
- package/dist/components/SearchInput/SearchInput.d.ts.map +1 -0
- package/dist/components/SearchInput/SearchInput.types.d.ts +73 -0
- package/dist/components/SearchInput/SearchInput.types.d.ts.map +1 -0
- package/dist/components/SearchInput/index.d.ts +6 -0
- package/dist/components/SearchInput/index.d.ts.map +1 -0
- package/dist/components/Skeleton/Skeleton.d.ts +15 -0
- package/dist/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/dist/components/Skeleton/Skeleton.types.d.ts +56 -0
- package/dist/components/Skeleton/Skeleton.types.d.ts.map +1 -0
- package/dist/components/Skeleton/index.d.ts +6 -0
- package/dist/components/Skeleton/index.d.ts.map +1 -0
- package/dist/components/Slider/Slider.d.ts +18 -0
- package/dist/components/Slider/Slider.d.ts.map +1 -0
- package/dist/components/Slider/Slider.types.d.ts +98 -0
- package/dist/components/Slider/Slider.types.d.ts.map +1 -0
- package/dist/components/Slider/index.d.ts +6 -0
- package/dist/components/Slider/index.d.ts.map +1 -0
- package/dist/components/Stepper/Stepper.d.ts +20 -0
- package/dist/components/Stepper/Stepper.d.ts.map +1 -0
- package/dist/components/Stepper/Stepper.types.d.ts +135 -0
- package/dist/components/Stepper/Stepper.types.d.ts.map +1 -0
- package/dist/components/Stepper/index.d.ts +6 -0
- package/dist/components/Stepper/index.d.ts.map +1 -0
- package/dist/components/Table/Table.types.d.ts +2 -2
- package/dist/components/Table/Table.types.d.ts.map +1 -1
- package/dist/components/Toast/Toast.d.ts +33 -0
- package/dist/components/Toast/Toast.d.ts.map +1 -0
- package/dist/components/Toast/Toast.types.d.ts +126 -0
- package/dist/components/Toast/Toast.types.d.ts.map +1 -0
- package/dist/components/Toast/index.d.ts +6 -0
- package/dist/components/Toast/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +48 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +14 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/useClickOutside.d.ts +31 -0
- package/dist/hooks/useClickOutside.d.ts.map +1 -0
- package/dist/hooks/useCopyToClipboard.d.ts +72 -0
- package/dist/hooks/useCopyToClipboard.d.ts.map +1 -0
- package/dist/hooks/useDebounce.d.ts +58 -0
- package/dist/hooks/useDebounce.d.ts.map +1 -0
- package/dist/hooks/useDisclosure.d.ts +74 -0
- package/dist/hooks/useDisclosure.d.ts.map +1 -0
- package/dist/hooks/useKeyboard.d.ts +101 -0
- package/dist/hooks/useKeyboard.d.ts.map +1 -0
- package/dist/hooks/useLocalStorage.d.ts +48 -0
- package/dist/hooks/useLocalStorage.d.ts.map +1 -0
- package/dist/hooks/useMediaQuery.d.ts +43 -0
- package/dist/hooks/useMediaQuery.d.ts.map +1 -0
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +54 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +16458 -12654
- package/dist/index.mjs.map +1 -1
- package/dist/react.css +1 -1
- package/dist/sections/AppDownload/AppDownload.d.ts +12 -0
- package/dist/sections/AppDownload/AppDownload.d.ts.map +1 -0
- package/dist/sections/AppDownload/AppDownload.types.d.ts +118 -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/Banner/Banner.d.ts +12 -0
- package/dist/sections/Banner/Banner.d.ts.map +1 -0
- package/dist/sections/Banner/Banner.types.d.ts +105 -0
- package/dist/sections/Banner/Banner.types.d.ts.map +1 -0
- package/dist/sections/Banner/index.d.ts +3 -0
- package/dist/sections/Banner/index.d.ts.map +1 -0
- package/dist/sections/Blog/Blog.d.ts +12 -0
- package/dist/sections/Blog/Blog.d.ts.map +1 -0
- package/dist/sections/Blog/Blog.types.d.ts +143 -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/CTA/CTA.d.ts +24 -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/Carousel/Carousel.d.ts +36 -0
- package/dist/sections/Carousel/Carousel.d.ts.map +1 -0
- package/dist/sections/Carousel/Carousel.types.d.ts +160 -0
- package/dist/sections/Carousel/Carousel.types.d.ts.map +1 -0
- package/dist/sections/Carousel/CarouselCard.d.ts +12 -0
- package/dist/sections/Carousel/CarouselCard.d.ts.map +1 -0
- package/dist/sections/Carousel/index.d.ts +7 -0
- package/dist/sections/Carousel/index.d.ts.map +1 -0
- package/dist/sections/Comparison/Comparison.d.ts +12 -0
- package/dist/sections/Comparison/Comparison.d.ts.map +1 -0
- package/dist/sections/Comparison/Comparison.types.d.ts +124 -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 +29 -0
- package/dist/sections/Contact/Contact.d.ts.map +1 -0
- package/dist/sections/Contact/Contact.types.d.ts +137 -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/Container/Container.d.ts +17 -0
- package/dist/sections/Container/Container.d.ts.map +1 -0
- package/dist/sections/Container/Container.types.d.ts +47 -0
- package/dist/sections/Container/Container.types.d.ts.map +1 -0
- package/dist/sections/Container/index.d.ts +6 -0
- package/dist/sections/Container/index.d.ts.map +1 -0
- package/dist/sections/FAQ/FAQ.d.ts +29 -0
- package/dist/sections/FAQ/FAQ.d.ts.map +1 -0
- package/dist/sections/FAQ/FAQ.types.d.ts +121 -0
- package/dist/sections/FAQ/FAQ.types.d.ts.map +1 -0
- package/dist/sections/FAQ/FAQItemCard.d.ts +12 -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 +11 -0
- package/dist/sections/Features/FeatureCard.d.ts.map +1 -0
- package/dist/sections/Features/Features.d.ts +24 -0
- package/dist/sections/Features/Features.d.ts.map +1 -0
- package/dist/sections/Features/Features.types.d.ts +104 -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 +24 -0
- package/dist/sections/Footer/Footer.d.ts.map +1 -0
- package/dist/sections/Footer/Footer.types.d.ts +133 -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 +12 -0
- package/dist/sections/Gallery/Gallery.d.ts.map +1 -0
- package/dist/sections/Gallery/Gallery.types.d.ts +118 -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 +22 -0
- package/dist/sections/Hero/Hero.d.ts.map +1 -0
- package/dist/sections/Hero/Hero.types.d.ts +83 -0
- package/dist/sections/Hero/Hero.types.d.ts.map +1 -0
- package/dist/sections/Hero/index.d.ts +6 -0
- package/dist/sections/Hero/index.d.ts.map +1 -0
- package/dist/sections/LogoCloud/LogoCloud.d.ts +26 -0
- package/dist/sections/LogoCloud/LogoCloud.d.ts.map +1 -0
- package/dist/sections/LogoCloud/LogoCloud.types.d.ts +105 -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 +22 -0
- package/dist/sections/Newsletter/Newsletter.d.ts.map +1 -0
- package/dist/sections/Newsletter/Newsletter.types.d.ts +101 -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 +35 -0
- package/dist/sections/Pricing/Pricing.d.ts.map +1 -0
- package/dist/sections/Pricing/Pricing.types.d.ts +133 -0
- package/dist/sections/Pricing/Pricing.types.d.ts.map +1 -0
- package/dist/sections/Pricing/PricingCard.d.ts +11 -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/Section/Section.d.ts +19 -0
- package/dist/sections/Section/Section.d.ts.map +1 -0
- package/dist/sections/Section/Section.types.d.ts +68 -0
- package/dist/sections/Section/Section.types.d.ts.map +1 -0
- package/dist/sections/Section/index.d.ts +6 -0
- package/dist/sections/Section/index.d.ts.map +1 -0
- package/dist/sections/SocialProof/SocialProof.d.ts +12 -0
- package/dist/sections/SocialProof/SocialProof.d.ts.map +1 -0
- package/dist/sections/SocialProof/SocialProof.types.d.ts +142 -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 +11 -0
- package/dist/sections/Stats/StatItemCard.d.ts.map +1 -0
- package/dist/sections/Stats/Stats.d.ts +25 -0
- package/dist/sections/Stats/Stats.d.ts.map +1 -0
- package/dist/sections/Stats/Stats.types.d.ts +125 -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/Team/Team.d.ts +31 -0
- package/dist/sections/Team/Team.d.ts.map +1 -0
- package/dist/sections/Team/Team.types.d.ts +135 -0
- package/dist/sections/Team/Team.types.d.ts.map +1 -0
- package/dist/sections/Team/TeamMemberCard.d.ts +11 -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 +11 -0
- package/dist/sections/Testimonials/TestimonialCard.d.ts.map +1 -0
- package/dist/sections/Testimonials/Testimonials.d.ts +31 -0
- package/dist/sections/Testimonials/Testimonials.d.ts.map +1 -0
- package/dist/sections/Testimonials/Testimonials.types.d.ts +130 -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 +12 -0
- package/dist/sections/Timeline/Timeline.d.ts.map +1 -0
- package/dist/sections/Timeline/Timeline.types.d.ts +102 -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 +80 -0
- package/dist/sections/index.d.ts.map +1 -0
- package/dist/utils/icons.d.ts +47 -46
- package/dist/utils/icons.d.ts.map +1 -1
- package/package.json +14 -14
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Features Component Types
|
|
3
|
+
*
|
|
4
|
+
* Type definitions for the Orion Features section component.
|
|
5
|
+
*/
|
|
6
|
+
import type { HTMLAttributes, ReactNode } from 'react';
|
|
7
|
+
/**
|
|
8
|
+
* Grid column count
|
|
9
|
+
*/
|
|
10
|
+
export type FeaturesColumns = 2 | 3 | 4;
|
|
11
|
+
/**
|
|
12
|
+
* Feature item data structure
|
|
13
|
+
*/
|
|
14
|
+
export interface FeatureItem {
|
|
15
|
+
/**
|
|
16
|
+
* Icon element (typically from lucide-react)
|
|
17
|
+
*/
|
|
18
|
+
icon?: ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* Feature title
|
|
21
|
+
*/
|
|
22
|
+
title: string;
|
|
23
|
+
/**
|
|
24
|
+
* Feature description
|
|
25
|
+
*/
|
|
26
|
+
description: string;
|
|
27
|
+
/**
|
|
28
|
+
* Optional badge text
|
|
29
|
+
*/
|
|
30
|
+
badge?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Optional link href
|
|
33
|
+
*/
|
|
34
|
+
href?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Feature card props (internal component)
|
|
38
|
+
*/
|
|
39
|
+
export interface FeatureCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
40
|
+
/**
|
|
41
|
+
* Feature item data
|
|
42
|
+
*/
|
|
43
|
+
feature: FeatureItem;
|
|
44
|
+
/**
|
|
45
|
+
* Enable hover effects
|
|
46
|
+
* @default true
|
|
47
|
+
*/
|
|
48
|
+
interactive?: boolean;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Features section props
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* ```tsx
|
|
55
|
+
* <Features
|
|
56
|
+
* title="Everything you need"
|
|
57
|
+
* description="Powerful features designed for modern apps"
|
|
58
|
+
* items={[
|
|
59
|
+
* { icon: <Zap />, title: "Fast", description: "Lightning speed" },
|
|
60
|
+
* { icon: <Shield />, title: "Secure", description: "Bank-grade security" },
|
|
61
|
+
* ]}
|
|
62
|
+
* columns={3}
|
|
63
|
+
* />
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
export interface FeaturesProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
|
|
67
|
+
/**
|
|
68
|
+
* Optional eyebrow/badge above title
|
|
69
|
+
*/
|
|
70
|
+
eyebrow?: ReactNode;
|
|
71
|
+
/**
|
|
72
|
+
* Section title
|
|
73
|
+
*/
|
|
74
|
+
title?: ReactNode;
|
|
75
|
+
/**
|
|
76
|
+
* Section description
|
|
77
|
+
*/
|
|
78
|
+
description?: ReactNode;
|
|
79
|
+
/**
|
|
80
|
+
* Feature items array
|
|
81
|
+
*/
|
|
82
|
+
items: FeatureItem[];
|
|
83
|
+
/**
|
|
84
|
+
* Number of grid columns
|
|
85
|
+
* @default 3
|
|
86
|
+
*/
|
|
87
|
+
columns?: FeaturesColumns;
|
|
88
|
+
/**
|
|
89
|
+
* Background style
|
|
90
|
+
* @default 'subtle'
|
|
91
|
+
*/
|
|
92
|
+
background?: 'base' | 'subtle' | 'none';
|
|
93
|
+
/**
|
|
94
|
+
* Enable card hover effects
|
|
95
|
+
* @default true
|
|
96
|
+
*/
|
|
97
|
+
interactive?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Center the header text
|
|
100
|
+
* @default true
|
|
101
|
+
*/
|
|
102
|
+
centered?: boolean;
|
|
103
|
+
}
|
|
104
|
+
//# 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,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC/E;;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,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Footer Component
|
|
3
|
+
*
|
|
4
|
+
* A flexible footer section with support for brand info, link groups,
|
|
5
|
+
* social links, newsletter signup, and legal links.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <Footer
|
|
10
|
+
* brand={{ name: "Orion", description: "AI-first design system" }}
|
|
11
|
+
* linkGroups={[
|
|
12
|
+
* { title: "Product", links: [{ label: "Features", href: "#" }] },
|
|
13
|
+
* { title: "Company", links: [{ label: "About", href: "#" }] },
|
|
14
|
+
* ]}
|
|
15
|
+
* socialLinks={[
|
|
16
|
+
* { label: "Twitter", href: "#", icon: <Twitter size={20} /> },
|
|
17
|
+
* ]}
|
|
18
|
+
* copyright="© 2024 Orion. All rights reserved."
|
|
19
|
+
* />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
import type { FooterProps } from './Footer.types';
|
|
23
|
+
export declare const Footer: import("react").ForwardRefExoticComponent<FooterProps & import("react").RefAttributes<HTMLElement>>;
|
|
24
|
+
//# sourceMappingURL=Footer.d.ts.map
|
|
@@ -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,qGA4IlB,CAAC"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Footer Component Types
|
|
3
|
+
*
|
|
4
|
+
* Type definitions for the Orion Footer section component.
|
|
5
|
+
*/
|
|
6
|
+
import type { HTMLAttributes, ReactNode } from 'react';
|
|
7
|
+
/**
|
|
8
|
+
* Footer link item
|
|
9
|
+
*/
|
|
10
|
+
export interface FooterLink {
|
|
11
|
+
/**
|
|
12
|
+
* Link label
|
|
13
|
+
*/
|
|
14
|
+
label: string;
|
|
15
|
+
/**
|
|
16
|
+
* Link URL
|
|
17
|
+
*/
|
|
18
|
+
href: string;
|
|
19
|
+
/**
|
|
20
|
+
* Open in new tab
|
|
21
|
+
* @default false
|
|
22
|
+
*/
|
|
23
|
+
external?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Footer link group (column of links)
|
|
27
|
+
*/
|
|
28
|
+
export interface FooterLinkGroup {
|
|
29
|
+
/**
|
|
30
|
+
* Group title
|
|
31
|
+
*/
|
|
32
|
+
title: string;
|
|
33
|
+
/**
|
|
34
|
+
* Links in this group
|
|
35
|
+
*/
|
|
36
|
+
links: FooterLink[];
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Social link item
|
|
40
|
+
*/
|
|
41
|
+
export interface FooterSocialLink {
|
|
42
|
+
/**
|
|
43
|
+
* Platform name (for accessibility)
|
|
44
|
+
*/
|
|
45
|
+
label: string;
|
|
46
|
+
/**
|
|
47
|
+
* Link URL
|
|
48
|
+
*/
|
|
49
|
+
href: string;
|
|
50
|
+
/**
|
|
51
|
+
* Icon element
|
|
52
|
+
*/
|
|
53
|
+
icon: ReactNode;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Footer brand info
|
|
57
|
+
*/
|
|
58
|
+
export interface FooterBrand {
|
|
59
|
+
/**
|
|
60
|
+
* Brand name
|
|
61
|
+
*/
|
|
62
|
+
name: string;
|
|
63
|
+
/**
|
|
64
|
+
* Brand logo (optional)
|
|
65
|
+
*/
|
|
66
|
+
logo?: ReactNode;
|
|
67
|
+
/**
|
|
68
|
+
* Brand tagline/description
|
|
69
|
+
*/
|
|
70
|
+
description?: string;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Footer variant styles
|
|
74
|
+
*/
|
|
75
|
+
export type FooterVariant = 'default' | 'minimal' | 'centered';
|
|
76
|
+
/**
|
|
77
|
+
* Footer section props
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```tsx
|
|
81
|
+
* <Footer
|
|
82
|
+
* brand={{ name: "Orion", logo: <Logo />, description: "AI-first design system" }}
|
|
83
|
+
* linkGroups={[
|
|
84
|
+
* { title: "Product", links: [{ label: "Features", href: "#" }] },
|
|
85
|
+
* { title: "Company", links: [{ label: "About", href: "#" }] },
|
|
86
|
+
* ]}
|
|
87
|
+
* socialLinks={[
|
|
88
|
+
* { label: "Twitter", href: "#", icon: <Twitter /> },
|
|
89
|
+
* ]}
|
|
90
|
+
* copyright="© 2024 Orion. All rights reserved."
|
|
91
|
+
* />
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
export interface FooterProps extends HTMLAttributes<HTMLElement> {
|
|
95
|
+
/**
|
|
96
|
+
* Brand information
|
|
97
|
+
*/
|
|
98
|
+
brand?: FooterBrand;
|
|
99
|
+
/**
|
|
100
|
+
* Groups of navigation links (columns)
|
|
101
|
+
*/
|
|
102
|
+
linkGroups?: FooterLinkGroup[];
|
|
103
|
+
/**
|
|
104
|
+
* Social media links
|
|
105
|
+
*/
|
|
106
|
+
socialLinks?: FooterSocialLink[];
|
|
107
|
+
/**
|
|
108
|
+
* Newsletter signup element (custom component)
|
|
109
|
+
*/
|
|
110
|
+
newsletter?: ReactNode;
|
|
111
|
+
/**
|
|
112
|
+
* Copyright text
|
|
113
|
+
*/
|
|
114
|
+
copyright?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Legal/bottom links (privacy, terms, etc.)
|
|
117
|
+
*/
|
|
118
|
+
legalLinks?: FooterLink[];
|
|
119
|
+
/**
|
|
120
|
+
* Visual variant
|
|
121
|
+
* - default: Full footer with all sections
|
|
122
|
+
* - minimal: Compact footer with essential info
|
|
123
|
+
* - centered: Centered layout
|
|
124
|
+
* @default 'default'
|
|
125
|
+
*/
|
|
126
|
+
variant?: FooterVariant;
|
|
127
|
+
/**
|
|
128
|
+
* Background style
|
|
129
|
+
* @default 'subtle'
|
|
130
|
+
*/
|
|
131
|
+
background?: 'base' | 'subtle' | 'sunken';
|
|
132
|
+
}
|
|
133
|
+
//# 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,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gallery Section Component
|
|
3
|
+
*
|
|
4
|
+
* An image gallery section with optional lightbox functionality.
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import type { GalleryProps } from './Gallery.types';
|
|
8
|
+
/**
|
|
9
|
+
* Gallery section for displaying images with optional lightbox
|
|
10
|
+
*/
|
|
11
|
+
export declare const Gallery: React.FC<GalleryProps>;
|
|
12
|
+
//# sourceMappingURL=Gallery.d.ts.map
|
|
@@ -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,CA4N1C,CAAC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gallery Section Types
|
|
3
|
+
*
|
|
4
|
+
* Type definitions for the Orion Gallery section component.
|
|
5
|
+
*/
|
|
6
|
+
import type { HTMLAttributes, ReactNode } from 'react';
|
|
7
|
+
/**
|
|
8
|
+
* Gallery image item
|
|
9
|
+
*/
|
|
10
|
+
export interface GalleryImage {
|
|
11
|
+
/**
|
|
12
|
+
* Image unique identifier
|
|
13
|
+
*/
|
|
14
|
+
id: string | number;
|
|
15
|
+
/**
|
|
16
|
+
* Image source URL
|
|
17
|
+
*/
|
|
18
|
+
src: string;
|
|
19
|
+
/**
|
|
20
|
+
* Image alt text
|
|
21
|
+
*/
|
|
22
|
+
alt: string;
|
|
23
|
+
/**
|
|
24
|
+
* Thumbnail URL (optional, uses src if not provided)
|
|
25
|
+
*/
|
|
26
|
+
thumbnail?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Image caption
|
|
29
|
+
*/
|
|
30
|
+
caption?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Image category for filtering
|
|
33
|
+
*/
|
|
34
|
+
category?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Aspect ratio override
|
|
37
|
+
*/
|
|
38
|
+
aspectRatio?: 'square' | 'landscape' | 'portrait' | 'auto';
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Gallery layout variants
|
|
42
|
+
*/
|
|
43
|
+
export type GalleryLayout = 'grid' | 'masonry' | 'carousel';
|
|
44
|
+
/**
|
|
45
|
+
* Gallery section props
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* ```tsx
|
|
49
|
+
* <Gallery
|
|
50
|
+
* title="Our Work"
|
|
51
|
+
* images={[
|
|
52
|
+
* { id: 1, src: "/gallery/1.jpg", alt: "Project 1" },
|
|
53
|
+
* { id: 2, src: "/gallery/2.jpg", alt: "Project 2" },
|
|
54
|
+
* ]}
|
|
55
|
+
* layout="grid"
|
|
56
|
+
* lightbox
|
|
57
|
+
* />
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export interface GalleryProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
|
|
61
|
+
/**
|
|
62
|
+
* Optional eyebrow text
|
|
63
|
+
*/
|
|
64
|
+
eyebrow?: ReactNode;
|
|
65
|
+
/**
|
|
66
|
+
* Section title
|
|
67
|
+
*/
|
|
68
|
+
title?: ReactNode;
|
|
69
|
+
/**
|
|
70
|
+
* Section description
|
|
71
|
+
*/
|
|
72
|
+
description?: ReactNode;
|
|
73
|
+
/**
|
|
74
|
+
* Array of images
|
|
75
|
+
*/
|
|
76
|
+
images: GalleryImage[];
|
|
77
|
+
/**
|
|
78
|
+
* Layout variant
|
|
79
|
+
* @default 'grid'
|
|
80
|
+
*/
|
|
81
|
+
layout?: GalleryLayout;
|
|
82
|
+
/**
|
|
83
|
+
* Number of columns
|
|
84
|
+
* @default 4
|
|
85
|
+
*/
|
|
86
|
+
columns?: 2 | 3 | 4 | 5;
|
|
87
|
+
/**
|
|
88
|
+
* Enable lightbox on click
|
|
89
|
+
* @default true
|
|
90
|
+
*/
|
|
91
|
+
lightbox?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Show captions below images
|
|
94
|
+
* @default false
|
|
95
|
+
*/
|
|
96
|
+
showCaptions?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Gap between images
|
|
99
|
+
* @default 'md'
|
|
100
|
+
*/
|
|
101
|
+
gap?: 'sm' | 'md' | 'lg' | 'none';
|
|
102
|
+
/**
|
|
103
|
+
* Enable category filtering
|
|
104
|
+
* @default false
|
|
105
|
+
*/
|
|
106
|
+
filterable?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Background style
|
|
109
|
+
* @default 'base'
|
|
110
|
+
*/
|
|
111
|
+
background?: 'base' | 'subtle' | 'none';
|
|
112
|
+
/**
|
|
113
|
+
* Aspect ratio for grid items
|
|
114
|
+
* @default 'square'
|
|
115
|
+
*/
|
|
116
|
+
aspectRatio?: 'square' | 'landscape' | 'portrait' | 'auto';
|
|
117
|
+
}
|
|
118
|
+
//# 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,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC9E;;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,EAAE,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hero Component
|
|
3
|
+
*
|
|
4
|
+
* A flexible hero section for landing pages with support for headlines, CTAs,
|
|
5
|
+
* media, and trust indicators. Composes atomic components from @orion/react.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <Hero
|
|
10
|
+
* badge={<Badge>New Release</Badge>}
|
|
11
|
+
* headline="Build faster with Orion"
|
|
12
|
+
* description="The AI-first design system for modern apps"
|
|
13
|
+
* primaryAction={<Button>Get Started</Button>}
|
|
14
|
+
* secondaryAction={<Button variant="ghost">Learn More</Button>}
|
|
15
|
+
* align="center"
|
|
16
|
+
* size="lg"
|
|
17
|
+
* />
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
import type { HeroProps } from './Hero.types';
|
|
21
|
+
export declare const Hero: import("react").ForwardRefExoticComponent<HeroProps & import("react").RefAttributes<HTMLElement>>;
|
|
22
|
+
//# 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;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAK9C,eAAO,MAAM,IAAI,mGAsEhB,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hero Component Types
|
|
3
|
+
*
|
|
4
|
+
* Type definitions for the Orion Hero section component.
|
|
5
|
+
*/
|
|
6
|
+
import type { HTMLAttributes, ReactNode } from 'react';
|
|
7
|
+
/**
|
|
8
|
+
* Hero text alignment
|
|
9
|
+
*/
|
|
10
|
+
export type HeroAlign = 'left' | 'center';
|
|
11
|
+
/**
|
|
12
|
+
* Hero size variants
|
|
13
|
+
*/
|
|
14
|
+
export type HeroSize = 'sm' | 'md' | 'lg';
|
|
15
|
+
/**
|
|
16
|
+
* Hero component props
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```tsx
|
|
20
|
+
* <Hero
|
|
21
|
+
* badge={<Badge>New</Badge>}
|
|
22
|
+
* headline="Build faster with Orion"
|
|
23
|
+
* description="The AI-first design system for modern apps"
|
|
24
|
+
* primaryAction={<Button>Get Started</Button>}
|
|
25
|
+
* secondaryAction={<Button variant="ghost">Learn More</Button>}
|
|
26
|
+
* align="center"
|
|
27
|
+
* />
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export interface HeroProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
|
|
31
|
+
/**
|
|
32
|
+
* Optional badge/eyebrow element above headline
|
|
33
|
+
*/
|
|
34
|
+
badge?: ReactNode;
|
|
35
|
+
/**
|
|
36
|
+
* Main headline text or element
|
|
37
|
+
*/
|
|
38
|
+
headline: ReactNode;
|
|
39
|
+
/**
|
|
40
|
+
* Optional description text below headline
|
|
41
|
+
*/
|
|
42
|
+
description?: ReactNode;
|
|
43
|
+
/**
|
|
44
|
+
* Primary action button/element
|
|
45
|
+
*/
|
|
46
|
+
primaryAction?: ReactNode;
|
|
47
|
+
/**
|
|
48
|
+
* Secondary action button/element
|
|
49
|
+
*/
|
|
50
|
+
secondaryAction?: ReactNode;
|
|
51
|
+
/**
|
|
52
|
+
* Optional media (image, video, illustration)
|
|
53
|
+
*/
|
|
54
|
+
media?: ReactNode;
|
|
55
|
+
/**
|
|
56
|
+
* Media position when provided
|
|
57
|
+
* @default 'right'
|
|
58
|
+
*/
|
|
59
|
+
mediaPosition?: 'left' | 'right' | 'bottom';
|
|
60
|
+
/**
|
|
61
|
+
* Trust indicators (logos, badges, social proof)
|
|
62
|
+
*/
|
|
63
|
+
trustIndicators?: ReactNode;
|
|
64
|
+
/**
|
|
65
|
+
* Text alignment
|
|
66
|
+
* @default 'center'
|
|
67
|
+
*/
|
|
68
|
+
align?: HeroAlign;
|
|
69
|
+
/**
|
|
70
|
+
* Size variant affecting typography scale
|
|
71
|
+
* - sm: Compact hero for sub-pages
|
|
72
|
+
* - md: Standard hero
|
|
73
|
+
* - lg: Large hero for landing pages
|
|
74
|
+
* @default 'lg'
|
|
75
|
+
*/
|
|
76
|
+
size?: HeroSize;
|
|
77
|
+
/**
|
|
78
|
+
* Full viewport height
|
|
79
|
+
* @default false
|
|
80
|
+
*/
|
|
81
|
+
fullHeight?: boolean;
|
|
82
|
+
}
|
|
83
|
+
//# 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;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC3E;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IAEpB;;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;;OAEG;IACH,eAAe,CAAC,EAAE,SAAS,CAAC;IAE5B;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -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,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LogoCloud Component
|
|
3
|
+
*
|
|
4
|
+
* A logo cloud section for displaying partner/client logos.
|
|
5
|
+
* Supports grid, inline, and animated marquee layouts.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <LogoCloud
|
|
10
|
+
* eyebrow="Trusted by"
|
|
11
|
+
* title="Industry leaders use Orion"
|
|
12
|
+
* logos={[
|
|
13
|
+
* { logo: <img src="/vercel.svg" alt="" />, name: "Vercel" },
|
|
14
|
+
* { logo: <img src="/stripe.svg" alt="" />, name: "Stripe" },
|
|
15
|
+
* { logo: <img src="/linear.svg" alt="" />, name: "Linear" },
|
|
16
|
+
* { logo: <img src="/notion.svg" alt="" />, name: "Notion" },
|
|
17
|
+
* { logo: <img src="/figma.svg" alt="" />, name: "Figma" }
|
|
18
|
+
* ]}
|
|
19
|
+
* layout="inline"
|
|
20
|
+
* grayscale={true}
|
|
21
|
+
* />
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
import type { LogoCloudProps } from './LogoCloud.types';
|
|
25
|
+
export declare const LogoCloud: import("react").ForwardRefExoticComponent<LogoCloudProps & import("react").RefAttributes<HTMLElement>>;
|
|
26
|
+
//# sourceMappingURL=LogoCloud.d.ts.map
|
|
@@ -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,wGAoGrB,CAAC"}
|