@deriv-web-design/ui 0.0.19 → 0.0.22

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/index.d.mts CHANGED
@@ -276,6 +276,33 @@ interface TabsProps {
276
276
 
277
277
  declare const Tabs: ({ items, activeId, onChange, className, ...props }: TabsProps) => react_jsx_runtime.JSX.Element;
278
278
 
279
+ interface FaqItem {
280
+ /** The question shown in the accordion header */
281
+ question: string;
282
+ /** The answer revealed when expanded */
283
+ answer: string;
284
+ }
285
+ type FaqAccordionColorScheme = "white" | "slate";
286
+ interface FaqAccordionProps {
287
+ /** Section headline */
288
+ title: string;
289
+ /** FAQ items */
290
+ items: FaqItem[];
291
+ /** Background color scheme (default: "white") */
292
+ colorScheme?: FaqAccordionColorScheme;
293
+ }
294
+
295
+ declare const FaqAccordion: ({ title, items, colorScheme, }: FaqAccordionProps) => react_jsx_runtime.JSX.Element;
296
+
297
+ type FeatureCardsLayoutVariant = "default" | "twoCards" | "oneCard";
298
+ /** Platform shortcut row (Two Cards / One Card variants) */
299
+ interface FeatureCardPlatformLink {
300
+ label: string;
301
+ iconSrc: string;
302
+ href?: string;
303
+ }
304
+ /** Shell colour for a card in the Two Cards layout */
305
+ type FeatureCardTwoTone = "light" | "dark";
279
306
  interface FeatureCardItem {
280
307
  title: string;
281
308
  description: string;
@@ -285,29 +312,31 @@ interface FeatureCardItem {
285
312
  showLink?: boolean;
286
313
  linkText?: string;
287
314
  onLinkClick?: () => void;
315
+ /** Two Cards / One Card variants: main CTA href */
316
+ linkHref?: string;
317
+ /** Two Cards variant: light or dark card shell */
318
+ twoTone?: FeatureCardTwoTone;
319
+ /** Two Cards / One Card variants: platform links under the CTA */
320
+ platforms?: FeatureCardPlatformLink[];
321
+ /** Two Cards / One Card variants: label above platform row (default: "Available on") */
322
+ platformsHeading?: string;
288
323
  }
289
324
  interface FeatureCardsProps {
325
+ /** Default: primary card grid. twoCards / oneCard: large feature blocks with optional platform links and image. */
326
+ variant?: FeatureCardsLayoutVariant;
290
327
  sectionTitle: string;
291
328
  sectionDescription?: string;
292
329
  showLink?: boolean;
293
330
  linkText?: string;
294
331
  onLinkClick?: () => void;
295
- /** Controls the visual style of all cards in the grid */
332
+ /** Controls the visual style of all cards in the default grid */
296
333
  cardColorScheme?: CardPrimaryStyle;
297
334
  cards: FeatureCardItem[];
298
335
  }
299
336
 
300
- declare const FeatureCards: ({ sectionTitle, sectionDescription, showLink, linkText, onLinkClick, cardColorScheme, cards, }: FeatureCardsProps) => react_jsx_runtime.JSX.Element;
337
+ declare const FeatureCards: ({ variant, sectionTitle, sectionDescription, showLink, linkText, onLinkClick, cardColorScheme, cards, }: FeatureCardsProps) => react_jsx_runtime.JSX.Element | null;
301
338
 
302
- /** Shell style for a card in the Two Cards layout */
303
- type FeatureCardSecondaryTwoTone = "light" | "dark";
304
- /** Platform shortcut row (Two Cards variant) */
305
- interface FeatureCardSecondaryPlatformLink {
306
- label: string;
307
- iconSrc: string;
308
- href?: string;
309
- }
310
- interface FeatureCardSecondaryItem {
339
+ interface FeatureCardIconItem {
311
340
  title: string;
312
341
  description: string;
313
342
  icon?: ReactNode;
@@ -315,31 +344,17 @@ interface FeatureCardSecondaryItem {
315
344
  showLink?: boolean;
316
345
  linkText?: string;
317
346
  onLinkClick?: () => void;
318
- /** Large variants (two / one card): main CTA href */
319
- linkHref?: string;
320
- /** Two Cards variant: light or dark card shell */
321
- colorScheme?: FeatureCardSecondaryTwoTone;
322
- /** Large variants: platform links under the CTA */
323
- platforms?: FeatureCardSecondaryPlatformLink[];
324
- /** Large variants: label above platform row (default: "Available on") */
325
- platformsHeading?: string;
326
- /** Large variants: feature illustration */
327
- image?: string;
328
- imageAlt?: string;
329
347
  }
330
- type FeatureCardsSecondaryLayoutVariant = "default" | "twoCards" | "oneCard";
331
- interface FeatureCardsSecondaryProps {
332
- /** Default: secondary icon cards grid. Two Cards / One Card: large feature blocks with optional platform links and image. */
333
- variant?: FeatureCardsSecondaryLayoutVariant;
348
+ interface FeatureCardsIconProps {
334
349
  sectionTitle: string;
335
350
  sectionDescription?: string;
336
351
  showLink?: boolean;
337
352
  linkText?: string;
338
353
  onLinkClick?: () => void;
339
- cards: FeatureCardSecondaryItem[];
354
+ cards: FeatureCardIconItem[];
340
355
  }
341
356
 
342
- declare const FeatureCardsSecondary: ({ variant, sectionTitle, sectionDescription, showLink, linkText, onLinkClick, cards, }: FeatureCardsSecondaryProps) => react_jsx_runtime.JSX.Element | null;
357
+ declare const FeatureCardsIcon: ({ sectionTitle, sectionDescription, showLink, linkText, onLinkClick, cards, }: FeatureCardsIconProps) => react_jsx_runtime.JSX.Element;
343
358
 
344
359
  interface FeatureBulletsProps {
345
360
  /** Title of the section */
@@ -464,7 +479,7 @@ interface FooterProps extends HTMLAttributes<HTMLElement> {
464
479
 
465
480
  declare const Footer: ({ logoSrc, logoAlt, navColumns, socialLinks, derivGo, investorsInPeopleSrc, investorsInPeopleAlt, licenseText, riskWarningText, aiSummary, className, ...props }: FooterProps) => react_jsx_runtime.JSX.Element;
466
481
 
467
- type HeroVariant = "split" | "centered" | "showcase" | "visuals" | "minimal";
482
+ type HeroVariant = "split" | "centered" | "showcase";
468
483
  interface HeroButtonProps {
469
484
  /** Button label text */
470
485
  label: string;
@@ -481,8 +496,6 @@ interface HeroProps extends HTMLAttributes<HTMLElement> {
481
496
  * - "centered" — full background image, center-aligned text, 100vh
482
497
  * - "showcase" — dark bg + full-bleed bg image, center-aligned text, large product image
483
498
  * below buttons, smaller floating image below that.
484
- * - "visuals" — light grey bg + SVG grid, center-aligned text, floating visuals, min-height 540px
485
- * - "minimal" — same as visuals but without floating graphics
486
499
  */
487
500
  variant: HeroVariant;
488
501
  /** Optional eyebrow / subtitle above the title */
@@ -498,14 +511,12 @@ interface HeroProps extends HTMLAttributes<HTMLElement> {
498
511
  primaryButton?: HeroButtonProps;
499
512
  /**
500
513
  * Secondary CTA button (white outline).
501
- * Shown on Split, Centered and Showcase variants.
514
+ * Shown on all variants.
502
515
  */
503
516
  secondaryButton?: HeroButtonProps;
504
517
  /**
505
518
  * Background image URL.
506
- * - "split" — used as the full-bleed background behind the overlay
507
- * - "centered" — used as the full-bleed background behind the overlay
508
- * - "showcase" — used as the full-bleed background behind the overlay
519
+ * Used as the full-bleed background behind the overlay on all three variants.
509
520
  */
510
521
  backgroundImageSrc?: string;
511
522
  /**
@@ -514,28 +525,66 @@ interface HeroProps extends HTMLAttributes<HTMLElement> {
514
525
  */
515
526
  heroImage?: ReactNode | string;
516
527
  /**
517
- * Left floating visual for the Visuals variant.
528
+ * Large product image shown centered below the CTA buttons in the Showcase variant.
518
529
  * Accepts a ReactNode or image URL string.
519
530
  */
520
- leftVisual?: ReactNode | string;
531
+ productImage?: ReactNode | string;
521
532
  /**
522
- * Right floating visual for the Visuals variant.
533
+ * Smaller floating image shown below the productImage in the Showcase variant.
523
534
  * Accepts a ReactNode or image URL string.
524
535
  */
525
- rightVisual?: ReactNode | string;
536
+ floatingImage?: ReactNode | string;
537
+ }
538
+
539
+ declare const Hero: ({ variant, subtitle, title, description, primaryButton, secondaryButton, backgroundImageSrc, heroImage, productImage, floatingImage, className, ...props }: HeroProps) => react_jsx_runtime.JSX.Element;
540
+
541
+ type HeaderVariant = "visuals" | "minimal";
542
+ interface HeaderButtonProps {
543
+ /** Button label text */
544
+ label: string;
545
+ /** Click handler */
546
+ onClick?: () => void;
547
+ /** Link href — renders an anchor if provided */
548
+ href?: string;
549
+ }
550
+ interface HeaderProps extends HTMLAttributes<HTMLElement> {
526
551
  /**
527
- * Large product image shown centered below the CTA buttons in the Showcase variant.
552
+ * Layout variant:
553
+ *
554
+ * - "visuals" — light grey bg + SVG grid, center-aligned text, floating visuals left & right,
555
+ * parallax scroll effect on visuals, min-height 540px
556
+ * - "minimal" — same as visuals but without the floating graphics
557
+ */
558
+ variant: HeaderVariant;
559
+ /** Optional eyebrow / subtitle above the title */
560
+ subtitle?: string;
561
+ /** Main heading */
562
+ title: string;
563
+ /** Body copy below the title */
564
+ description?: string;
565
+ /**
566
+ * Primary CTA button (coral).
567
+ * Shown on both variants.
568
+ */
569
+ primaryButton?: HeaderButtonProps;
570
+ /**
571
+ * Secondary CTA button (white outline).
572
+ * Shown on both variants.
573
+ */
574
+ secondaryButton?: HeaderButtonProps;
575
+ /**
576
+ * Left floating visual for the Visuals variant.
528
577
  * Accepts a ReactNode or image URL string.
529
578
  */
530
- productImage?: ReactNode | string;
579
+ leftVisual?: ReactNode | string;
531
580
  /**
532
- * Smaller floating image shown below the productImage in the Showcase variant.
581
+ * Right floating visual for the Visuals variant.
533
582
  * Accepts a ReactNode or image URL string.
534
583
  */
535
- floatingImage?: ReactNode | string;
584
+ rightVisual?: ReactNode | string;
536
585
  }
537
586
 
538
- declare const Hero: ({ variant, subtitle, title, description, primaryButton, secondaryButton, backgroundImageSrc, heroImage, leftVisual, rightVisual, productImage, floatingImage, className, ...props }: HeroProps) => react_jsx_runtime.JSX.Element;
587
+ declare const Header: ({ variant, subtitle, title, description, primaryButton, secondaryButton, leftVisual, rightVisual, className, ...props }: HeaderProps) => react_jsx_runtime.JSX.Element;
539
588
 
540
589
  interface StatItem {
541
590
  /** Numeric or short display value, e.g. "2.5M+" */
@@ -1072,4 +1121,4 @@ interface LeadersProps {
1072
1121
 
1073
1122
  declare const Leaders: ({ title, items, initialVisibleCount, expandText, collapseText, className, ...props }: LeadersProps) => react_jsx_runtime.JSX.Element;
1074
1123
 
1075
- export { AVATAR_DATA, Accordion, type AccordionProps, type AvatarItem, type AvatarPosition, type AwardItem, BottomSheet, type BottomSheetAction, type BottomSheetProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type BreadcrumbSize, Button, type ButtonColorScheme, type ButtonIconPosition, type ButtonProps, type ButtonVariant, COL_ONE_LOGOS, COL_TWO_LOGOS, CTABanner, type CTABannerProps, Card, type CardPrimaryStyle, type CardProps, type CardTag, type CardThumbnailType, Chip, ChipDropdown, type ChipDropdownOption, type ChipDropdownProps, type ChipProps, type ChipSize, DayNightTransition, type DayNightTransitionProps, DotLottieInView, type DotLottieInViewProps, DownloadBadge, type DownloadBadgeColorScheme, type DownloadBadgePlatform, type DownloadBadgeProps, DownloadBanner, type DownloadBannerProps, type DownloadBannerStyle, FEATURE_SCROLL_DATA, FeatureBullets, type FeatureBulletsProps, type FeatureCardItem, type FeatureCardSecondaryItem, type FeatureCardSecondaryPlatformLink, type FeatureCardSecondaryTwoTone, FeatureCards, type FeatureCardsProps, FeatureCardsSecondary, type FeatureCardsSecondaryLayoutVariant, type FeatureCardsSecondaryProps, FeatureScroll, type FeatureScrollItem, type FeatureScrollProps, Footer, type FooterAiSummaryItem, type FooterAiSummaryProps, type FooterAppBadge, type FooterDerivGoProps, type FooterLinkItem, type FooterNavSection, type FooterProps, type FooterSocialLink, Hero, type HeroButtonProps, type HeroProps, type HeroVariant, type LanguageItem, type LeaderItem, Leaders, type LeadersProps, Link, type LinkColorScheme, type LinkProps, type LogoItem, LogoMarquee, type LogoMarqueeProps, type NavDropdownColumn, type NavDropdownFeature, type NavDropdownItem, type NavItem, Navbar, type NavbarProps, Pagination, type PaginationProps, STEPS_DATA, SearchField, type SearchFieldProps, type SearchFieldStatus, type StatItem, Stats, type StatsProps, type StepItem, Steps, type StepsImagePosition, type StepsProps, type StickyCardItem, type StickyCardTheme, type StickyMarketCardItem, type StickyMarketCardTheme, StickyMarketCards, type StickyMarketCardsProps, StickyStackedCards, type StickyStackedCardsProps, TEXT_CONTENT, type TabItem, Table, type TableColumnDef, type TableColumnWidth, type TableProps, type TableRowData, Tabs, type TabsProps, Tag, type TagFontWeight, type TagProps, type TagSize, type TagVariant, TextField, type TextFieldProps, type TextFieldStatus, type TextFieldVariant, TextScroll, type TextScrollProps, dayNightTransitionV2Preset };
1124
+ export { AVATAR_DATA, Accordion, type AccordionProps, type AvatarItem, type AvatarPosition, type AwardItem, BottomSheet, type BottomSheetAction, type BottomSheetProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type BreadcrumbSize, Button, type ButtonColorScheme, type ButtonIconPosition, type ButtonProps, type ButtonVariant, COL_ONE_LOGOS, COL_TWO_LOGOS, CTABanner, type CTABannerProps, Card, type CardPrimaryStyle, type CardProps, type CardTag, type CardThumbnailType, Chip, ChipDropdown, type ChipDropdownOption, type ChipDropdownProps, type ChipProps, type ChipSize, DayNightTransition, type DayNightTransitionProps, DotLottieInView, type DotLottieInViewProps, DownloadBadge, type DownloadBadgeColorScheme, type DownloadBadgePlatform, type DownloadBadgeProps, DownloadBanner, type DownloadBannerProps, type DownloadBannerStyle, FEATURE_SCROLL_DATA, FaqAccordion, type FaqAccordionColorScheme, type FaqAccordionProps, type FaqItem, FeatureBullets, type FeatureBulletsProps, type FeatureCardIconItem, type FeatureCardItem, FeatureCards, FeatureCardsIcon, type FeatureCardsIconProps, type FeatureCardsProps, FeatureScroll, type FeatureScrollItem, type FeatureScrollProps, Footer, type FooterAiSummaryItem, type FooterAiSummaryProps, type FooterAppBadge, type FooterDerivGoProps, type FooterLinkItem, type FooterNavSection, type FooterProps, type FooterSocialLink, Header, type HeaderButtonProps, type HeaderProps, type HeaderVariant, Hero, type HeroButtonProps, type HeroProps, type HeroVariant, type LanguageItem, type LeaderItem, Leaders, type LeadersProps, Link, type LinkColorScheme, type LinkProps, type LogoItem, LogoMarquee, type LogoMarqueeProps, type NavDropdownColumn, type NavDropdownFeature, type NavDropdownItem, type NavItem, Navbar, type NavbarProps, Pagination, type PaginationProps, STEPS_DATA, SearchField, type SearchFieldProps, type SearchFieldStatus, type StatItem, Stats, type StatsProps, type StepItem, Steps, type StepsImagePosition, type StepsProps, type StickyCardItem, type StickyCardTheme, type StickyMarketCardItem, type StickyMarketCardTheme, StickyMarketCards, type StickyMarketCardsProps, StickyStackedCards, type StickyStackedCardsProps, TEXT_CONTENT, type TabItem, Table, type TableColumnDef, type TableColumnWidth, type TableProps, type TableRowData, Tabs, type TabsProps, Tag, type TagFontWeight, type TagProps, type TagSize, type TagVariant, TextField, type TextFieldProps, type TextFieldStatus, type TextFieldVariant, TextScroll, type TextScrollProps, dayNightTransitionV2Preset };
package/dist/index.d.ts CHANGED
@@ -276,6 +276,33 @@ interface TabsProps {
276
276
 
277
277
  declare const Tabs: ({ items, activeId, onChange, className, ...props }: TabsProps) => react_jsx_runtime.JSX.Element;
278
278
 
279
+ interface FaqItem {
280
+ /** The question shown in the accordion header */
281
+ question: string;
282
+ /** The answer revealed when expanded */
283
+ answer: string;
284
+ }
285
+ type FaqAccordionColorScheme = "white" | "slate";
286
+ interface FaqAccordionProps {
287
+ /** Section headline */
288
+ title: string;
289
+ /** FAQ items */
290
+ items: FaqItem[];
291
+ /** Background color scheme (default: "white") */
292
+ colorScheme?: FaqAccordionColorScheme;
293
+ }
294
+
295
+ declare const FaqAccordion: ({ title, items, colorScheme, }: FaqAccordionProps) => react_jsx_runtime.JSX.Element;
296
+
297
+ type FeatureCardsLayoutVariant = "default" | "twoCards" | "oneCard";
298
+ /** Platform shortcut row (Two Cards / One Card variants) */
299
+ interface FeatureCardPlatformLink {
300
+ label: string;
301
+ iconSrc: string;
302
+ href?: string;
303
+ }
304
+ /** Shell colour for a card in the Two Cards layout */
305
+ type FeatureCardTwoTone = "light" | "dark";
279
306
  interface FeatureCardItem {
280
307
  title: string;
281
308
  description: string;
@@ -285,29 +312,31 @@ interface FeatureCardItem {
285
312
  showLink?: boolean;
286
313
  linkText?: string;
287
314
  onLinkClick?: () => void;
315
+ /** Two Cards / One Card variants: main CTA href */
316
+ linkHref?: string;
317
+ /** Two Cards variant: light or dark card shell */
318
+ twoTone?: FeatureCardTwoTone;
319
+ /** Two Cards / One Card variants: platform links under the CTA */
320
+ platforms?: FeatureCardPlatformLink[];
321
+ /** Two Cards / One Card variants: label above platform row (default: "Available on") */
322
+ platformsHeading?: string;
288
323
  }
289
324
  interface FeatureCardsProps {
325
+ /** Default: primary card grid. twoCards / oneCard: large feature blocks with optional platform links and image. */
326
+ variant?: FeatureCardsLayoutVariant;
290
327
  sectionTitle: string;
291
328
  sectionDescription?: string;
292
329
  showLink?: boolean;
293
330
  linkText?: string;
294
331
  onLinkClick?: () => void;
295
- /** Controls the visual style of all cards in the grid */
332
+ /** Controls the visual style of all cards in the default grid */
296
333
  cardColorScheme?: CardPrimaryStyle;
297
334
  cards: FeatureCardItem[];
298
335
  }
299
336
 
300
- declare const FeatureCards: ({ sectionTitle, sectionDescription, showLink, linkText, onLinkClick, cardColorScheme, cards, }: FeatureCardsProps) => react_jsx_runtime.JSX.Element;
337
+ declare const FeatureCards: ({ variant, sectionTitle, sectionDescription, showLink, linkText, onLinkClick, cardColorScheme, cards, }: FeatureCardsProps) => react_jsx_runtime.JSX.Element | null;
301
338
 
302
- /** Shell style for a card in the Two Cards layout */
303
- type FeatureCardSecondaryTwoTone = "light" | "dark";
304
- /** Platform shortcut row (Two Cards variant) */
305
- interface FeatureCardSecondaryPlatformLink {
306
- label: string;
307
- iconSrc: string;
308
- href?: string;
309
- }
310
- interface FeatureCardSecondaryItem {
339
+ interface FeatureCardIconItem {
311
340
  title: string;
312
341
  description: string;
313
342
  icon?: ReactNode;
@@ -315,31 +344,17 @@ interface FeatureCardSecondaryItem {
315
344
  showLink?: boolean;
316
345
  linkText?: string;
317
346
  onLinkClick?: () => void;
318
- /** Large variants (two / one card): main CTA href */
319
- linkHref?: string;
320
- /** Two Cards variant: light or dark card shell */
321
- colorScheme?: FeatureCardSecondaryTwoTone;
322
- /** Large variants: platform links under the CTA */
323
- platforms?: FeatureCardSecondaryPlatformLink[];
324
- /** Large variants: label above platform row (default: "Available on") */
325
- platformsHeading?: string;
326
- /** Large variants: feature illustration */
327
- image?: string;
328
- imageAlt?: string;
329
347
  }
330
- type FeatureCardsSecondaryLayoutVariant = "default" | "twoCards" | "oneCard";
331
- interface FeatureCardsSecondaryProps {
332
- /** Default: secondary icon cards grid. Two Cards / One Card: large feature blocks with optional platform links and image. */
333
- variant?: FeatureCardsSecondaryLayoutVariant;
348
+ interface FeatureCardsIconProps {
334
349
  sectionTitle: string;
335
350
  sectionDescription?: string;
336
351
  showLink?: boolean;
337
352
  linkText?: string;
338
353
  onLinkClick?: () => void;
339
- cards: FeatureCardSecondaryItem[];
354
+ cards: FeatureCardIconItem[];
340
355
  }
341
356
 
342
- declare const FeatureCardsSecondary: ({ variant, sectionTitle, sectionDescription, showLink, linkText, onLinkClick, cards, }: FeatureCardsSecondaryProps) => react_jsx_runtime.JSX.Element | null;
357
+ declare const FeatureCardsIcon: ({ sectionTitle, sectionDescription, showLink, linkText, onLinkClick, cards, }: FeatureCardsIconProps) => react_jsx_runtime.JSX.Element;
343
358
 
344
359
  interface FeatureBulletsProps {
345
360
  /** Title of the section */
@@ -464,7 +479,7 @@ interface FooterProps extends HTMLAttributes<HTMLElement> {
464
479
 
465
480
  declare const Footer: ({ logoSrc, logoAlt, navColumns, socialLinks, derivGo, investorsInPeopleSrc, investorsInPeopleAlt, licenseText, riskWarningText, aiSummary, className, ...props }: FooterProps) => react_jsx_runtime.JSX.Element;
466
481
 
467
- type HeroVariant = "split" | "centered" | "showcase" | "visuals" | "minimal";
482
+ type HeroVariant = "split" | "centered" | "showcase";
468
483
  interface HeroButtonProps {
469
484
  /** Button label text */
470
485
  label: string;
@@ -481,8 +496,6 @@ interface HeroProps extends HTMLAttributes<HTMLElement> {
481
496
  * - "centered" — full background image, center-aligned text, 100vh
482
497
  * - "showcase" — dark bg + full-bleed bg image, center-aligned text, large product image
483
498
  * below buttons, smaller floating image below that.
484
- * - "visuals" — light grey bg + SVG grid, center-aligned text, floating visuals, min-height 540px
485
- * - "minimal" — same as visuals but without floating graphics
486
499
  */
487
500
  variant: HeroVariant;
488
501
  /** Optional eyebrow / subtitle above the title */
@@ -498,14 +511,12 @@ interface HeroProps extends HTMLAttributes<HTMLElement> {
498
511
  primaryButton?: HeroButtonProps;
499
512
  /**
500
513
  * Secondary CTA button (white outline).
501
- * Shown on Split, Centered and Showcase variants.
514
+ * Shown on all variants.
502
515
  */
503
516
  secondaryButton?: HeroButtonProps;
504
517
  /**
505
518
  * Background image URL.
506
- * - "split" — used as the full-bleed background behind the overlay
507
- * - "centered" — used as the full-bleed background behind the overlay
508
- * - "showcase" — used as the full-bleed background behind the overlay
519
+ * Used as the full-bleed background behind the overlay on all three variants.
509
520
  */
510
521
  backgroundImageSrc?: string;
511
522
  /**
@@ -514,28 +525,66 @@ interface HeroProps extends HTMLAttributes<HTMLElement> {
514
525
  */
515
526
  heroImage?: ReactNode | string;
516
527
  /**
517
- * Left floating visual for the Visuals variant.
528
+ * Large product image shown centered below the CTA buttons in the Showcase variant.
518
529
  * Accepts a ReactNode or image URL string.
519
530
  */
520
- leftVisual?: ReactNode | string;
531
+ productImage?: ReactNode | string;
521
532
  /**
522
- * Right floating visual for the Visuals variant.
533
+ * Smaller floating image shown below the productImage in the Showcase variant.
523
534
  * Accepts a ReactNode or image URL string.
524
535
  */
525
- rightVisual?: ReactNode | string;
536
+ floatingImage?: ReactNode | string;
537
+ }
538
+
539
+ declare const Hero: ({ variant, subtitle, title, description, primaryButton, secondaryButton, backgroundImageSrc, heroImage, productImage, floatingImage, className, ...props }: HeroProps) => react_jsx_runtime.JSX.Element;
540
+
541
+ type HeaderVariant = "visuals" | "minimal";
542
+ interface HeaderButtonProps {
543
+ /** Button label text */
544
+ label: string;
545
+ /** Click handler */
546
+ onClick?: () => void;
547
+ /** Link href — renders an anchor if provided */
548
+ href?: string;
549
+ }
550
+ interface HeaderProps extends HTMLAttributes<HTMLElement> {
526
551
  /**
527
- * Large product image shown centered below the CTA buttons in the Showcase variant.
552
+ * Layout variant:
553
+ *
554
+ * - "visuals" — light grey bg + SVG grid, center-aligned text, floating visuals left & right,
555
+ * parallax scroll effect on visuals, min-height 540px
556
+ * - "minimal" — same as visuals but without the floating graphics
557
+ */
558
+ variant: HeaderVariant;
559
+ /** Optional eyebrow / subtitle above the title */
560
+ subtitle?: string;
561
+ /** Main heading */
562
+ title: string;
563
+ /** Body copy below the title */
564
+ description?: string;
565
+ /**
566
+ * Primary CTA button (coral).
567
+ * Shown on both variants.
568
+ */
569
+ primaryButton?: HeaderButtonProps;
570
+ /**
571
+ * Secondary CTA button (white outline).
572
+ * Shown on both variants.
573
+ */
574
+ secondaryButton?: HeaderButtonProps;
575
+ /**
576
+ * Left floating visual for the Visuals variant.
528
577
  * Accepts a ReactNode or image URL string.
529
578
  */
530
- productImage?: ReactNode | string;
579
+ leftVisual?: ReactNode | string;
531
580
  /**
532
- * Smaller floating image shown below the productImage in the Showcase variant.
581
+ * Right floating visual for the Visuals variant.
533
582
  * Accepts a ReactNode or image URL string.
534
583
  */
535
- floatingImage?: ReactNode | string;
584
+ rightVisual?: ReactNode | string;
536
585
  }
537
586
 
538
- declare const Hero: ({ variant, subtitle, title, description, primaryButton, secondaryButton, backgroundImageSrc, heroImage, leftVisual, rightVisual, productImage, floatingImage, className, ...props }: HeroProps) => react_jsx_runtime.JSX.Element;
587
+ declare const Header: ({ variant, subtitle, title, description, primaryButton, secondaryButton, leftVisual, rightVisual, className, ...props }: HeaderProps) => react_jsx_runtime.JSX.Element;
539
588
 
540
589
  interface StatItem {
541
590
  /** Numeric or short display value, e.g. "2.5M+" */
@@ -1072,4 +1121,4 @@ interface LeadersProps {
1072
1121
 
1073
1122
  declare const Leaders: ({ title, items, initialVisibleCount, expandText, collapseText, className, ...props }: LeadersProps) => react_jsx_runtime.JSX.Element;
1074
1123
 
1075
- export { AVATAR_DATA, Accordion, type AccordionProps, type AvatarItem, type AvatarPosition, type AwardItem, BottomSheet, type BottomSheetAction, type BottomSheetProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type BreadcrumbSize, Button, type ButtonColorScheme, type ButtonIconPosition, type ButtonProps, type ButtonVariant, COL_ONE_LOGOS, COL_TWO_LOGOS, CTABanner, type CTABannerProps, Card, type CardPrimaryStyle, type CardProps, type CardTag, type CardThumbnailType, Chip, ChipDropdown, type ChipDropdownOption, type ChipDropdownProps, type ChipProps, type ChipSize, DayNightTransition, type DayNightTransitionProps, DotLottieInView, type DotLottieInViewProps, DownloadBadge, type DownloadBadgeColorScheme, type DownloadBadgePlatform, type DownloadBadgeProps, DownloadBanner, type DownloadBannerProps, type DownloadBannerStyle, FEATURE_SCROLL_DATA, FeatureBullets, type FeatureBulletsProps, type FeatureCardItem, type FeatureCardSecondaryItem, type FeatureCardSecondaryPlatformLink, type FeatureCardSecondaryTwoTone, FeatureCards, type FeatureCardsProps, FeatureCardsSecondary, type FeatureCardsSecondaryLayoutVariant, type FeatureCardsSecondaryProps, FeatureScroll, type FeatureScrollItem, type FeatureScrollProps, Footer, type FooterAiSummaryItem, type FooterAiSummaryProps, type FooterAppBadge, type FooterDerivGoProps, type FooterLinkItem, type FooterNavSection, type FooterProps, type FooterSocialLink, Hero, type HeroButtonProps, type HeroProps, type HeroVariant, type LanguageItem, type LeaderItem, Leaders, type LeadersProps, Link, type LinkColorScheme, type LinkProps, type LogoItem, LogoMarquee, type LogoMarqueeProps, type NavDropdownColumn, type NavDropdownFeature, type NavDropdownItem, type NavItem, Navbar, type NavbarProps, Pagination, type PaginationProps, STEPS_DATA, SearchField, type SearchFieldProps, type SearchFieldStatus, type StatItem, Stats, type StatsProps, type StepItem, Steps, type StepsImagePosition, type StepsProps, type StickyCardItem, type StickyCardTheme, type StickyMarketCardItem, type StickyMarketCardTheme, StickyMarketCards, type StickyMarketCardsProps, StickyStackedCards, type StickyStackedCardsProps, TEXT_CONTENT, type TabItem, Table, type TableColumnDef, type TableColumnWidth, type TableProps, type TableRowData, Tabs, type TabsProps, Tag, type TagFontWeight, type TagProps, type TagSize, type TagVariant, TextField, type TextFieldProps, type TextFieldStatus, type TextFieldVariant, TextScroll, type TextScrollProps, dayNightTransitionV2Preset };
1124
+ export { AVATAR_DATA, Accordion, type AccordionProps, type AvatarItem, type AvatarPosition, type AwardItem, BottomSheet, type BottomSheetAction, type BottomSheetProps, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, type BreadcrumbSize, Button, type ButtonColorScheme, type ButtonIconPosition, type ButtonProps, type ButtonVariant, COL_ONE_LOGOS, COL_TWO_LOGOS, CTABanner, type CTABannerProps, Card, type CardPrimaryStyle, type CardProps, type CardTag, type CardThumbnailType, Chip, ChipDropdown, type ChipDropdownOption, type ChipDropdownProps, type ChipProps, type ChipSize, DayNightTransition, type DayNightTransitionProps, DotLottieInView, type DotLottieInViewProps, DownloadBadge, type DownloadBadgeColorScheme, type DownloadBadgePlatform, type DownloadBadgeProps, DownloadBanner, type DownloadBannerProps, type DownloadBannerStyle, FEATURE_SCROLL_DATA, FaqAccordion, type FaqAccordionColorScheme, type FaqAccordionProps, type FaqItem, FeatureBullets, type FeatureBulletsProps, type FeatureCardIconItem, type FeatureCardItem, FeatureCards, FeatureCardsIcon, type FeatureCardsIconProps, type FeatureCardsProps, FeatureScroll, type FeatureScrollItem, type FeatureScrollProps, Footer, type FooterAiSummaryItem, type FooterAiSummaryProps, type FooterAppBadge, type FooterDerivGoProps, type FooterLinkItem, type FooterNavSection, type FooterProps, type FooterSocialLink, Header, type HeaderButtonProps, type HeaderProps, type HeaderVariant, Hero, type HeroButtonProps, type HeroProps, type HeroVariant, type LanguageItem, type LeaderItem, Leaders, type LeadersProps, Link, type LinkColorScheme, type LinkProps, type LogoItem, LogoMarquee, type LogoMarqueeProps, type NavDropdownColumn, type NavDropdownFeature, type NavDropdownItem, type NavItem, Navbar, type NavbarProps, Pagination, type PaginationProps, STEPS_DATA, SearchField, type SearchFieldProps, type SearchFieldStatus, type StatItem, Stats, type StatsProps, type StepItem, Steps, type StepsImagePosition, type StepsProps, type StickyCardItem, type StickyCardTheme, type StickyMarketCardItem, type StickyMarketCardTheme, StickyMarketCards, type StickyMarketCardsProps, StickyStackedCards, type StickyStackedCardsProps, TEXT_CONTENT, type TabItem, Table, type TableColumnDef, type TableColumnWidth, type TableProps, type TableRowData, Tabs, type TabsProps, Tag, type TagFontWeight, type TagProps, type TagSize, type TagVariant, TextField, type TextFieldProps, type TextFieldStatus, type TextFieldVariant, TextScroll, type TextScrollProps, dayNightTransitionV2Preset };