@orion-ds/react 1.0.0 → 1.0.2
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 +15 -0
- package/dist/components/IconGallery/IconGallery.d.ts.map +1 -0
- 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 +5 -3
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Banner Section Types
|
|
3
|
+
*
|
|
4
|
+
* Type definitions for the Orion Banner section component.
|
|
5
|
+
*/
|
|
6
|
+
import type { HTMLAttributes, ReactNode } from 'react';
|
|
7
|
+
/**
|
|
8
|
+
* Banner variant styles
|
|
9
|
+
*/
|
|
10
|
+
export type BannerVariant = 'default' | 'gradient' | 'image' | 'split';
|
|
11
|
+
/**
|
|
12
|
+
* Banner section props
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* <Banner
|
|
17
|
+
* title="Summer Sale"
|
|
18
|
+
* description="Up to 50% off on selected items"
|
|
19
|
+
* ctaLabel="Shop Now"
|
|
20
|
+
* ctaHref="/sale"
|
|
21
|
+
* variant="gradient"
|
|
22
|
+
* />
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export interface BannerProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
|
|
26
|
+
/**
|
|
27
|
+
* Optional eyebrow/badge text
|
|
28
|
+
*/
|
|
29
|
+
eyebrow?: ReactNode;
|
|
30
|
+
/**
|
|
31
|
+
* Banner title
|
|
32
|
+
*/
|
|
33
|
+
title: ReactNode;
|
|
34
|
+
/**
|
|
35
|
+
* Banner description
|
|
36
|
+
*/
|
|
37
|
+
description?: ReactNode;
|
|
38
|
+
/**
|
|
39
|
+
* Primary CTA button label
|
|
40
|
+
*/
|
|
41
|
+
ctaLabel?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Primary CTA button href
|
|
44
|
+
*/
|
|
45
|
+
ctaHref?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Secondary CTA label
|
|
48
|
+
*/
|
|
49
|
+
secondaryCtaLabel?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Secondary CTA href
|
|
52
|
+
*/
|
|
53
|
+
secondaryCtaHref?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Banner variant
|
|
56
|
+
* @default 'default'
|
|
57
|
+
*/
|
|
58
|
+
variant?: BannerVariant;
|
|
59
|
+
/**
|
|
60
|
+
* Background image URL (for 'image' and 'split' variants)
|
|
61
|
+
*/
|
|
62
|
+
backgroundImage?: string;
|
|
63
|
+
/**
|
|
64
|
+
* Side image URL (for 'split' variant)
|
|
65
|
+
*/
|
|
66
|
+
sideImage?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Image position for split variant
|
|
69
|
+
* @default 'right'
|
|
70
|
+
*/
|
|
71
|
+
imagePosition?: 'left' | 'right';
|
|
72
|
+
/**
|
|
73
|
+
* Custom background color
|
|
74
|
+
*/
|
|
75
|
+
backgroundColor?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Custom gradient (overrides default)
|
|
78
|
+
*/
|
|
79
|
+
gradient?: string;
|
|
80
|
+
/**
|
|
81
|
+
* Dismissible banner
|
|
82
|
+
* @default false
|
|
83
|
+
*/
|
|
84
|
+
dismissible?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* On dismiss callback
|
|
87
|
+
*/
|
|
88
|
+
onDismiss?: () => void;
|
|
89
|
+
/**
|
|
90
|
+
* Full width (no max-width constraint)
|
|
91
|
+
* @default false
|
|
92
|
+
*/
|
|
93
|
+
fullWidth?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* Compact mode
|
|
96
|
+
* @default false
|
|
97
|
+
*/
|
|
98
|
+
compact?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Center content
|
|
101
|
+
* @default true
|
|
102
|
+
*/
|
|
103
|
+
centered?: boolean;
|
|
104
|
+
}
|
|
105
|
+
//# sourceMappingURL=Banner.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Banner.types.d.ts","sourceRoot":"","sources":["../../../src/sections/Banner/Banner.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC;AAEvE;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC7E;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,OAAO,CAAC,EAAE,aAAa,CAAC;IAExB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAEjC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IAEvB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/Banner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Blog Section Component
|
|
3
|
+
*
|
|
4
|
+
* A versatile blog/article list section for displaying posts.
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import type { BlogProps } from './Blog.types';
|
|
8
|
+
/**
|
|
9
|
+
* Blog section for displaying articles
|
|
10
|
+
*/
|
|
11
|
+
export declare const Blog: React.FC<BlogProps>;
|
|
12
|
+
//# sourceMappingURL=Blog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Blog.d.ts","sourceRoot":"","sources":["../../../src/sections/Blog/Blog.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,SAAS,EAAe,MAAM,cAAc,CAAC;AAgF3D;;GAEG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA8FpC,CAAC"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Blog Section Types
|
|
3
|
+
*
|
|
4
|
+
* Type definitions for the Orion Blog/ArticleList section component.
|
|
5
|
+
*/
|
|
6
|
+
import type { HTMLAttributes, ReactNode } from 'react';
|
|
7
|
+
/**
|
|
8
|
+
* Blog article item
|
|
9
|
+
*/
|
|
10
|
+
export interface BlogArticle {
|
|
11
|
+
/**
|
|
12
|
+
* Article unique identifier
|
|
13
|
+
*/
|
|
14
|
+
id: string | number;
|
|
15
|
+
/**
|
|
16
|
+
* Article title
|
|
17
|
+
*/
|
|
18
|
+
title: string;
|
|
19
|
+
/**
|
|
20
|
+
* Article excerpt/summary
|
|
21
|
+
*/
|
|
22
|
+
excerpt: string;
|
|
23
|
+
/**
|
|
24
|
+
* Featured image URL
|
|
25
|
+
*/
|
|
26
|
+
image?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Article category
|
|
29
|
+
*/
|
|
30
|
+
category?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Author information
|
|
33
|
+
*/
|
|
34
|
+
author?: {
|
|
35
|
+
name: string;
|
|
36
|
+
avatar?: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Publication date
|
|
40
|
+
*/
|
|
41
|
+
date?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Reading time in minutes
|
|
44
|
+
*/
|
|
45
|
+
readTime?: number;
|
|
46
|
+
/**
|
|
47
|
+
* Article URL
|
|
48
|
+
*/
|
|
49
|
+
href?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Tags/labels
|
|
52
|
+
*/
|
|
53
|
+
tags?: string[];
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Blog layout variants
|
|
57
|
+
*/
|
|
58
|
+
export type BlogLayout = 'grid' | 'list' | 'featured';
|
|
59
|
+
/**
|
|
60
|
+
* Blog section props
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```tsx
|
|
64
|
+
* <Blog
|
|
65
|
+
* title="Latest Articles"
|
|
66
|
+
* articles={[
|
|
67
|
+
* {
|
|
68
|
+
* id: 1,
|
|
69
|
+
* title: "Getting Started",
|
|
70
|
+
* excerpt: "Learn the basics...",
|
|
71
|
+
* image: "/blog/getting-started.jpg",
|
|
72
|
+
* author: { name: "John Doe" },
|
|
73
|
+
* date: "2024-01-15"
|
|
74
|
+
* }
|
|
75
|
+
* ]}
|
|
76
|
+
* layout="grid"
|
|
77
|
+
* columns={3}
|
|
78
|
+
* />
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
export interface BlogProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
|
|
82
|
+
/**
|
|
83
|
+
* Optional eyebrow text
|
|
84
|
+
*/
|
|
85
|
+
eyebrow?: ReactNode;
|
|
86
|
+
/**
|
|
87
|
+
* Section title
|
|
88
|
+
*/
|
|
89
|
+
title?: ReactNode;
|
|
90
|
+
/**
|
|
91
|
+
* Section description
|
|
92
|
+
*/
|
|
93
|
+
description?: ReactNode;
|
|
94
|
+
/**
|
|
95
|
+
* Array of articles
|
|
96
|
+
*/
|
|
97
|
+
articles: BlogArticle[];
|
|
98
|
+
/**
|
|
99
|
+
* Layout variant
|
|
100
|
+
* @default 'grid'
|
|
101
|
+
*/
|
|
102
|
+
layout?: BlogLayout;
|
|
103
|
+
/**
|
|
104
|
+
* Number of columns for grid layout
|
|
105
|
+
* @default 3
|
|
106
|
+
*/
|
|
107
|
+
columns?: 2 | 3 | 4;
|
|
108
|
+
/**
|
|
109
|
+
* Show author info
|
|
110
|
+
* @default true
|
|
111
|
+
*/
|
|
112
|
+
showAuthor?: boolean;
|
|
113
|
+
/**
|
|
114
|
+
* Show date
|
|
115
|
+
* @default true
|
|
116
|
+
*/
|
|
117
|
+
showDate?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Show category badge
|
|
120
|
+
* @default true
|
|
121
|
+
*/
|
|
122
|
+
showCategory?: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* Show read time
|
|
125
|
+
* @default true
|
|
126
|
+
*/
|
|
127
|
+
showReadTime?: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* Background style
|
|
130
|
+
* @default 'base'
|
|
131
|
+
*/
|
|
132
|
+
background?: 'base' | 'subtle' | 'none';
|
|
133
|
+
/**
|
|
134
|
+
* View all link
|
|
135
|
+
*/
|
|
136
|
+
viewAllHref?: string;
|
|
137
|
+
/**
|
|
138
|
+
* View all link text
|
|
139
|
+
* @default 'View all articles'
|
|
140
|
+
*/
|
|
141
|
+
viewAllText?: string;
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=Blog.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Blog.types.d.ts","sourceRoot":"","sources":["../../../src/sections/Blog/Blog.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IAEpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IAEF;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,CAAC;AAEtD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAC3E;;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,QAAQ,EAAE,WAAW,EAAE,CAAC;IAExB;;;OAGG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAEpB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IAExC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/Blog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CTA Component
|
|
3
|
+
*
|
|
4
|
+
* A call-to-action section for converting users. Supports various visual styles
|
|
5
|
+
* and can be used as a contained card or full-width section.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <CTA
|
|
10
|
+
* headline="Ready to get started?"
|
|
11
|
+
* description="Join thousands of developers building with Orion"
|
|
12
|
+
* actions={
|
|
13
|
+
* <>
|
|
14
|
+
* <Button size="lg">Start Free Trial</Button>
|
|
15
|
+
* <Button size="lg" variant="ghost">Contact Sales</Button>
|
|
16
|
+
* </>
|
|
17
|
+
* }
|
|
18
|
+
* variant="brand"
|
|
19
|
+
* />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
import type { CTAProps } from './CTA.types';
|
|
23
|
+
export declare const CTA: import("react").ForwardRefExoticComponent<CTAProps & import("react").RefAttributes<HTMLElement>>;
|
|
24
|
+
//# sourceMappingURL=CTA.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CTA.d.ts","sourceRoot":"","sources":["../../../src/sections/CTA/CTA.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAM5C,eAAO,MAAM,GAAG,kGAgEf,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CTA Component Types
|
|
3
|
+
*
|
|
4
|
+
* Type definitions for the Orion CTA (Call-to-Action) section component.
|
|
5
|
+
*/
|
|
6
|
+
import type { HTMLAttributes, ReactNode } from 'react';
|
|
7
|
+
/**
|
|
8
|
+
* CTA visual variants
|
|
9
|
+
*/
|
|
10
|
+
export type CTAVariant = 'default' | 'brand' | 'subtle' | 'outline';
|
|
11
|
+
/**
|
|
12
|
+
* CTA size variants
|
|
13
|
+
*/
|
|
14
|
+
export type CTASize = 'sm' | 'md' | 'lg';
|
|
15
|
+
/**
|
|
16
|
+
* CTA section props
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```tsx
|
|
20
|
+
* <CTA
|
|
21
|
+
* headline="Ready to get started?"
|
|
22
|
+
* description="Join thousands of developers building with Orion"
|
|
23
|
+
* actions={
|
|
24
|
+
* <>
|
|
25
|
+
* <Button size="lg">Start Free Trial</Button>
|
|
26
|
+
* <Button size="lg" variant="ghost">Contact Sales</Button>
|
|
27
|
+
* </>
|
|
28
|
+
* }
|
|
29
|
+
* />
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export interface CTAProps extends HTMLAttributes<HTMLElement> {
|
|
33
|
+
/**
|
|
34
|
+
* Main headline text
|
|
35
|
+
*/
|
|
36
|
+
headline: ReactNode;
|
|
37
|
+
/**
|
|
38
|
+
* Supporting description text
|
|
39
|
+
*/
|
|
40
|
+
description?: ReactNode;
|
|
41
|
+
/**
|
|
42
|
+
* Action buttons/elements
|
|
43
|
+
*/
|
|
44
|
+
actions?: ReactNode;
|
|
45
|
+
/**
|
|
46
|
+
* Additional text below actions (disclaimers, etc.)
|
|
47
|
+
*/
|
|
48
|
+
footnote?: ReactNode;
|
|
49
|
+
/**
|
|
50
|
+
* Visual variant
|
|
51
|
+
* - default: Standard background
|
|
52
|
+
* - brand: Brand color background
|
|
53
|
+
* - subtle: Subtle background
|
|
54
|
+
* - outline: Outlined container
|
|
55
|
+
* @default 'brand'
|
|
56
|
+
*/
|
|
57
|
+
variant?: CTAVariant;
|
|
58
|
+
/**
|
|
59
|
+
* Size variant
|
|
60
|
+
* @default 'md'
|
|
61
|
+
*/
|
|
62
|
+
size?: CTASize;
|
|
63
|
+
/**
|
|
64
|
+
* Text alignment
|
|
65
|
+
* @default 'center'
|
|
66
|
+
*/
|
|
67
|
+
align?: 'left' | 'center';
|
|
68
|
+
/**
|
|
69
|
+
* Render as card (contained box) vs full-width section
|
|
70
|
+
* @default true
|
|
71
|
+
*/
|
|
72
|
+
contained?: boolean;
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=CTA.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CTA.types.d.ts","sourceRoot":"","sources":["../../../src/sections/CTA/CTA.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;AAEpE;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,QAAS,SAAQ,cAAc,CAAC,WAAW,CAAC;IAC3D;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,UAAU,CAAC;IAErB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IAEf;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAE1B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/CTA/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Carousel Component
|
|
3
|
+
*
|
|
4
|
+
* An Apple-style editorial carousel with horizontal scrolling, snap behavior,
|
|
5
|
+
* and peek effect. Supports editorial, product, and gallery variants.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <Carousel
|
|
10
|
+
* eyebrow={<Badge>Featured</Badge>}
|
|
11
|
+
* title="Featured Stories"
|
|
12
|
+
* variant="editorial"
|
|
13
|
+
* peek={true}
|
|
14
|
+
* aspectRatio="16/9"
|
|
15
|
+
* items={[
|
|
16
|
+
* {
|
|
17
|
+
* image: <img src="/hero-1.jpg" alt="" />,
|
|
18
|
+
* eyebrow: "Design",
|
|
19
|
+
* title: "The future of interfaces",
|
|
20
|
+
* description: "How AI is reshaping how we build",
|
|
21
|
+
* overlay: "gradient"
|
|
22
|
+
* },
|
|
23
|
+
* {
|
|
24
|
+
* image: <img src="/hero-2.jpg" alt="" />,
|
|
25
|
+
* eyebrow: "Engineering",
|
|
26
|
+
* title: "Building at scale",
|
|
27
|
+
* description: "Lessons from shipping to millions",
|
|
28
|
+
* overlay: "gradient"
|
|
29
|
+
* }
|
|
30
|
+
* ]}
|
|
31
|
+
* />
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
import type { CarouselProps } from './Carousel.types';
|
|
35
|
+
export declare const Carousel: import("react").ForwardRefExoticComponent<CarouselProps & import("react").RefAttributes<HTMLElement>>;
|
|
36
|
+
//# sourceMappingURL=Carousel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../src/sections/Carousel/Carousel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAGH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAOtD,eAAO,MAAM,QAAQ,uGAgLpB,CAAC"}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Carousel Component Types
|
|
3
|
+
*
|
|
4
|
+
* Type definitions for the Orion Carousel section component.
|
|
5
|
+
* Inspired by Apple's editorial carousel design.
|
|
6
|
+
*/
|
|
7
|
+
import type { HTMLAttributes, ReactNode } from 'react';
|
|
8
|
+
/**
|
|
9
|
+
* Carousel visual variant
|
|
10
|
+
*/
|
|
11
|
+
export type CarouselVariant = 'editorial' | 'product' | 'gallery';
|
|
12
|
+
/**
|
|
13
|
+
* Carousel aspect ratio
|
|
14
|
+
*/
|
|
15
|
+
export type CarouselAspectRatio = '16/9' | '4/3' | '1/1' | '3/4';
|
|
16
|
+
/**
|
|
17
|
+
* Carousel gap size
|
|
18
|
+
*/
|
|
19
|
+
export type CarouselGap = 'sm' | 'md' | 'lg';
|
|
20
|
+
/**
|
|
21
|
+
* Overlay style for carousel cards
|
|
22
|
+
*/
|
|
23
|
+
export type CarouselOverlay = 'none' | 'gradient' | 'dark';
|
|
24
|
+
/**
|
|
25
|
+
* Carousel item data structure
|
|
26
|
+
*/
|
|
27
|
+
export interface CarouselItem {
|
|
28
|
+
/**
|
|
29
|
+
* Background image element (typically an img)
|
|
30
|
+
*/
|
|
31
|
+
image: ReactNode;
|
|
32
|
+
/**
|
|
33
|
+
* Small category/tag text above title
|
|
34
|
+
*/
|
|
35
|
+
eyebrow?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Main headline for the card
|
|
38
|
+
*/
|
|
39
|
+
title: string;
|
|
40
|
+
/**
|
|
41
|
+
* Short description/subtitle
|
|
42
|
+
*/
|
|
43
|
+
description?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Optional action element (link or button)
|
|
46
|
+
*/
|
|
47
|
+
action?: ReactNode;
|
|
48
|
+
/**
|
|
49
|
+
* Overlay style for text legibility
|
|
50
|
+
* @default 'gradient'
|
|
51
|
+
*/
|
|
52
|
+
overlay?: CarouselOverlay;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Carousel card props (internal component)
|
|
56
|
+
*/
|
|
57
|
+
export interface CarouselCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
58
|
+
/**
|
|
59
|
+
* Carousel item data
|
|
60
|
+
*/
|
|
61
|
+
item: CarouselItem;
|
|
62
|
+
/**
|
|
63
|
+
* Aspect ratio of the card
|
|
64
|
+
* @default '16/9'
|
|
65
|
+
*/
|
|
66
|
+
aspectRatio?: CarouselAspectRatio;
|
|
67
|
+
/**
|
|
68
|
+
* Visual variant
|
|
69
|
+
* @default 'editorial'
|
|
70
|
+
*/
|
|
71
|
+
variant?: CarouselVariant;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Carousel section props
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* ```tsx
|
|
78
|
+
* <Carousel
|
|
79
|
+
* title="Featured Stories"
|
|
80
|
+
* variant="editorial"
|
|
81
|
+
* peek={true}
|
|
82
|
+
* items={[
|
|
83
|
+
* {
|
|
84
|
+
* image: <img src="/hero-1.jpg" alt="" />,
|
|
85
|
+
* eyebrow: "Design",
|
|
86
|
+
* title: "The future of interfaces",
|
|
87
|
+
* description: "How AI is reshaping how we build",
|
|
88
|
+
* overlay: "gradient"
|
|
89
|
+
* }
|
|
90
|
+
* ]}
|
|
91
|
+
* />
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
export interface CarouselProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
|
|
95
|
+
/**
|
|
96
|
+
* Optional eyebrow/badge above title
|
|
97
|
+
*/
|
|
98
|
+
eyebrow?: ReactNode;
|
|
99
|
+
/**
|
|
100
|
+
* Section title
|
|
101
|
+
*/
|
|
102
|
+
title?: ReactNode;
|
|
103
|
+
/**
|
|
104
|
+
* Section description
|
|
105
|
+
*/
|
|
106
|
+
description?: ReactNode;
|
|
107
|
+
/**
|
|
108
|
+
* Array of carousel items
|
|
109
|
+
*/
|
|
110
|
+
items: CarouselItem[];
|
|
111
|
+
/**
|
|
112
|
+
* Visual variant
|
|
113
|
+
* - editorial: Magazine-style with large images and text overlays
|
|
114
|
+
* - product: Product showcase cards
|
|
115
|
+
* - gallery: Simple image gallery
|
|
116
|
+
* @default 'editorial'
|
|
117
|
+
*/
|
|
118
|
+
variant?: CarouselVariant;
|
|
119
|
+
/**
|
|
120
|
+
* Aspect ratio for cards
|
|
121
|
+
* @default '16/9'
|
|
122
|
+
*/
|
|
123
|
+
aspectRatio?: CarouselAspectRatio;
|
|
124
|
+
/**
|
|
125
|
+
* Show cards cut at edge (Apple style peek effect)
|
|
126
|
+
* @default true
|
|
127
|
+
*/
|
|
128
|
+
peek?: boolean;
|
|
129
|
+
/**
|
|
130
|
+
* Enable auto-scroll
|
|
131
|
+
* @default false
|
|
132
|
+
*/
|
|
133
|
+
autoScroll?: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Auto-scroll interval in milliseconds
|
|
136
|
+
* @default 5000
|
|
137
|
+
*/
|
|
138
|
+
autoScrollInterval?: number;
|
|
139
|
+
/**
|
|
140
|
+
* Gap between cards
|
|
141
|
+
* @default 'md'
|
|
142
|
+
*/
|
|
143
|
+
gap?: CarouselGap;
|
|
144
|
+
/**
|
|
145
|
+
* Background style
|
|
146
|
+
* @default 'base'
|
|
147
|
+
*/
|
|
148
|
+
background?: 'base' | 'subtle' | 'sunken' | 'none';
|
|
149
|
+
/**
|
|
150
|
+
* Show navigation arrows
|
|
151
|
+
* @default true
|
|
152
|
+
*/
|
|
153
|
+
showNavigation?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* Show pagination dots
|
|
156
|
+
* @default false
|
|
157
|
+
*/
|
|
158
|
+
showPagination?: boolean;
|
|
159
|
+
}
|
|
160
|
+
//# sourceMappingURL=Carousel.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Carousel.types.d.ts","sourceRoot":"","sources":["../../../src/sections/Carousel/Carousel.types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,CAAC;AAElE;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;AAEjE;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,KAAK,EAAE,SAAS,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACvE;;OAEG;IACH,IAAI,EAAE,YAAY,CAAC;IAEnB;;;OAGG;IACH,WAAW,CAAC,EAAE,mBAAmB,CAAC;IAElC;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;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,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;CAC1B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CarouselCard Component
|
|
3
|
+
*
|
|
4
|
+
* Internal component for rendering individual carousel cards.
|
|
5
|
+
* Supports editorial (Apple-style), product, and gallery variants.
|
|
6
|
+
*/
|
|
7
|
+
import type { CarouselCardProps } from './Carousel.types';
|
|
8
|
+
export declare const CarouselCard: {
|
|
9
|
+
({ item, aspectRatio, variant, className, }: CarouselCardProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=CarouselCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarouselCard.d.ts","sourceRoot":"","sources":["../../../src/sections/Carousel/CarouselCard.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAG1D,eAAO,MAAM,YAAY;iDAKtB,iBAAiB;;CAuCnB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Carousel Component Exports
|
|
3
|
+
*/
|
|
4
|
+
export { Carousel } from './Carousel';
|
|
5
|
+
export { CarouselCard } from './CarouselCard';
|
|
6
|
+
export type { CarouselProps, CarouselItem, CarouselCardProps, CarouselVariant, CarouselAspectRatio, CarouselGap, CarouselOverlay, } from './Carousel.types';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sections/Carousel/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EACV,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,WAAW,EACX,eAAe,GAChB,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Comparison Section Component
|
|
3
|
+
*
|
|
4
|
+
* A comparison table for products, plans, or features.
|
|
5
|
+
*/
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import type { ComparisonProps } from './Comparison.types';
|
|
8
|
+
/**
|
|
9
|
+
* Comparison section for comparing products/plans/features
|
|
10
|
+
*/
|
|
11
|
+
export declare const Comparison: React.FC<ComparisonProps>;
|
|
12
|
+
//# 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;AA0B7E;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAsHhD,CAAC"}
|