@deriv-web-design/ui 0.1.33 → 0.1.34

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
@@ -387,6 +387,87 @@ interface FeatureCardsProps {
387
387
 
388
388
  declare const FeatureCards: ({ variant, sectionTitle, sectionDescription, showLink, linkText, onLinkClick, cardColorScheme, cards, }: FeatureCardsProps) => react_jsx_runtime.JSX.Element | null;
389
389
 
390
+ type FeatureCardsCarouselTone = "coral" | "dark" | "light";
391
+ /** How slide artwork is laid out inside the card. */
392
+ type FeatureCardsCarouselImageFit = "media" | "cover";
393
+ interface FeatureCardsCarouselItem {
394
+ /** Slide heading */
395
+ title: string;
396
+ /** Supporting body copy */
397
+ description: string;
398
+ /** Artwork shown under the copy, or as a full-card cover when `imageFit` is `"cover"` */
399
+ image?: string;
400
+ /** Alt text for the artwork. Empty string marks it decorative. */
401
+ imageAlt?: string;
402
+ /**
403
+ * Artwork layout.
404
+ * - `"media"` (default): fixed-height strip under the copy
405
+ * - `"cover"`: fills the entire card behind the copy (lifestyle photos)
406
+ */
407
+ imageFit?: FeatureCardsCarouselImageFit;
408
+ /** Card surface tone. Defaults to cycling coral → dark → light. */
409
+ tone?: FeatureCardsCarouselTone;
410
+ /** Optional CTA label on the slide */
411
+ ctaLabel?: string;
412
+ /** Optional CTA href. When omitted with a label, renders a button-styled span. */
413
+ ctaHref?: string;
414
+ }
415
+ interface FeatureCardsCarouselProps {
416
+ /** Section heading above the slider */
417
+ title: string;
418
+ /** Supporting copy under the section heading */
419
+ description?: string;
420
+ /** Authored slides. Preserve order; do not flatten to a static grid. */
421
+ items: FeatureCardsCarouselItem[];
422
+ /** Zero-based index of the initially active slide */
423
+ defaultActiveIndex?: number;
424
+ /** Enable autoplay. Off by default; must be pausable when enabled. */
425
+ autoplay?: boolean;
426
+ /** Autoplay interval in ms when `autoplay` is true */
427
+ autoplayDelay?: number;
428
+ /** Show previous / next controls */
429
+ showArrows?: boolean;
430
+ /** Show pagination dots */
431
+ showDots?: boolean;
432
+ className?: string;
433
+ }
434
+
435
+ declare const FeatureCardsCarousel: ({ title, description, items, defaultActiveIndex, autoplay, autoplayDelay, showArrows, showDots, className, }: FeatureCardsCarouselProps) => react_jsx_runtime.JSX.Element;
436
+
437
+ type ComparisonCardsTheme = "light" | "dark";
438
+ interface ComparisonCardsRow {
439
+ /** Spec label shown on the left (repeated per card) */
440
+ label: string;
441
+ /** Spec value shown on the right */
442
+ value: string;
443
+ }
444
+ interface ComparisonCardsCard {
445
+ /** Card heading */
446
+ title: string;
447
+ /** Short supporting copy under the title */
448
+ description: string;
449
+ /** Card surface. Defaults to cycling light → dark. */
450
+ theme?: ComparisonCardsTheme;
451
+ /** Label/value rows. Labels are authored per card, not shared. */
452
+ rows: ComparisonCardsRow[];
453
+ /** Optional disclaimer belonging to this card only */
454
+ footnote?: string;
455
+ }
456
+ interface ComparisonCardsProps {
457
+ /** Section heading above the cards */
458
+ title: string;
459
+ /** Supporting copy under the section heading */
460
+ description?: string;
461
+ /**
462
+ * Comparison cards (typically 2–3). Each card is an independent surface
463
+ * with its own repeated spec rows — not a shared table first column.
464
+ */
465
+ cards: ComparisonCardsCard[];
466
+ className?: string;
467
+ }
468
+
469
+ declare const ComparisonCards: ({ title, description, cards, className, }: ComparisonCardsProps) => react_jsx_runtime.JSX.Element;
470
+
390
471
  interface FeatureCardIconItem {
391
472
  title: string;
392
473
  description: string;
@@ -605,6 +686,13 @@ interface HeroProps extends HTMLAttributes<HTMLElement> {
605
686
  subtitle?: string;
606
687
  /** Main heading */
607
688
  title: string;
689
+ /**
690
+ * Semantic heading level for `title`. Defaults to `1` (`<h1>`) because a
691
+ * Hero is the page’s leading heading. Pass `2` when the Hero is not the
692
+ * document’s primary H1 (e.g. a secondary band below an existing title).
693
+ * Styling always uses `.hero__title` regardless of level.
694
+ */
695
+ headingLevel?: 1 | 2;
608
696
  /** Body copy below the title */
609
697
  description?: string;
610
698
  /**
@@ -651,7 +739,7 @@ interface HeroProps extends HTMLAttributes<HTMLElement> {
651
739
  trustpilot?: HeroTrustpilotProps;
652
740
  }
653
741
 
654
- declare const Hero: ({ variant, subtitle, title, description, primaryButton, secondaryButton, backgroundImageSrc, heroImage, productImage, floatingImage, trustpilot, className, ...props }: HeroProps) => react_jsx_runtime.JSX.Element;
742
+ declare const Hero: ({ variant, subtitle, title, headingLevel, description, primaryButton, secondaryButton, backgroundImageSrc, heroImage, productImage, floatingImage, trustpilot, className, ...props }: HeroProps) => react_jsx_runtime.JSX.Element;
655
743
 
656
744
  type HeaderVariant = "visuals" | "minimal" | "dark" | "dark-search";
657
745
  interface HeaderButtonProps {
@@ -2270,6 +2358,34 @@ interface TradingCalculatorHowToProps extends HTMLAttributes<HTMLElement> {
2270
2358
 
2271
2359
  declare const TradingCalculatorHowTo: ({ variant, title, description, className, ...props }: TradingCalculatorHowToProps) => react_jsx_runtime.JSX.Element;
2272
2360
 
2361
+ type CryptoTradeConverterVariant = "default";
2362
+ type CryptoTradeConverterProps = {
2363
+ variant?: CryptoTradeConverterVariant;
2364
+ market?: "spot";
2365
+ /** Pair like "BTC/USDT" or symbol id like "btc1863usdt1863". */
2366
+ defaultPair?: string;
2367
+ /** Primary Buy/Sell CTA destination. */
2368
+ tradeHref?: string;
2369
+ /** Allowlisted HTTPS API origin (default https://deriv.exchange). */
2370
+ apiOrigin?: string;
2371
+ className?: string;
2372
+ };
2373
+
2374
+ declare const DEFAULT_TRADE_HREF = "https://deriv.exchange";
2375
+ declare const CryptoTradeConverter: ({ variant: _variant, market: _market, defaultPair, tradeHref, apiOrigin, className, }: CryptoTradeConverterProps) => react_jsx_runtime.JSX.Element;
2376
+
2377
+ type CryptoMarketsTableVariant = "default";
2378
+ type CryptoMarketsTableProps = {
2379
+ variant?: CryptoMarketsTableVariant;
2380
+ initialMarket?: "spot" | "futures";
2381
+ initialQuoteCurrency?: string;
2382
+ apiOrigin?: string;
2383
+ maxRows?: number;
2384
+ className?: string;
2385
+ };
2386
+
2387
+ declare const CryptoMarketsTable: ({ variant: _variant, initialMarket, initialQuoteCurrency, apiOrigin, maxRows, className, }: CryptoMarketsTableProps) => react_jsx_runtime.JSX.Element;
2388
+
2273
2389
  interface FeatureOfficeRegion {
2274
2390
  /** Stable identifier — must match `FeatureOffice.region` for filtering to work. CMS-managed. */
2275
2391
  id: string;
@@ -2908,4 +3024,4 @@ interface AffiliatesSliderProps extends HTMLAttributes<HTMLElement> {
2908
3024
 
2909
3025
  declare const AffiliatesSlider: ({ title, description, min, max, step, defaultValue, value, onValueChange, referralsLabel, incomeLabel, incomePerReferral, currencySymbol, tickValues, disclaimer, disclaimerIconSrc, disclaimerIconAlt, sliderLabel, className, ...props }: AffiliatesSliderProps) => react_jsx_runtime.JSX.Element;
2910
3026
 
2911
- export { AVATAR_DATA, Accordion, type AccordionProps, AffiliatesSlider, type AffiliatesSliderProps, ArticleHero, type ArticleHeroArticle, type ArticleHeroColumn, type ArticleHeroProps, ArticleSection, type ArticleSectionItem, type ArticleSectionProps, type ArticleSectionVariant, AvatarGrid, type AvatarGridProps, 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, CORAL_BANNER_DERIV_SLIDES, CTABanner, type CTABannerProps, type CalculationToken, Card, type CardPrimaryStyle, type CardProps, type CardTag, type CardThumbnailType, Chip, ChipDropdown, type ChipDropdownOption, type ChipDropdownProps, type ChipProps, type ChipSize, CoralBanner, type CoralBannerButton, type CoralBannerProps, type CoralBannerSlide, CountryLinkGrid, type CountryLinkGridHeadingLevel, type CountryLinkGridItem, type CountryLinkGridProps, DEFAULT_AWARDS, DEFAULT_CULTURE_CARDS, DEFAULT_EXCHANGE_RATE_WS_URL, DEFAULT_SYMBOLS_ENDPOINT, DayNightTransition, type DayNightTransitionProps, DocumentChips, type DocumentChipsDocument, type DocumentChipsGroup, type DocumentChipsHeadingLevel, type DocumentChipsLanguageLink, type DocumentChipsProps, type DocumentChipsVariant, DotLottieInView, type DotLottieInViewProps, DownloadBadge, type DownloadBadgeColorScheme, type DownloadBadgePlatform, type DownloadBadgeProps, DownloadBanner, type DownloadBannerProps, type DownloadBannerStyle, DynamicTable, type DynamicTableColumnDef, type DynamicTableProps, type DynamicTableRowData, type DynamicTableVariant, EntityInfoSection, type EntityInfoSectionHeadingLevel, type EntityInfoSectionLink, type EntityInfoSectionProps, FEATURE_AWARDS_TEXT_CONTENT, FEATURE_BLOG_CATEGORIES_TEXT_CONTENT, FEATURE_BLOG_TEXT_CONTENT, FEATURE_OFFICES_TEXT_CONTENT, FEATURE_SCROLL_DATA, FaqAccordion, type FaqAccordionColorScheme, type FaqAccordionProps, type FaqItem, FeatureAwards, type FeatureAwardsProps, FeatureBlog, type FeatureBlogAuthor, FeatureBlogCategories, type FeatureBlogCategoriesProps, type FeatureBlogCategoryPost, type FeatureBlogCategoryTab, type FeatureBlogContentBlock, type FeatureBlogContentBlockType, FeatureBlogPage, type FeatureBlogPageProps, type FeatureBlogPost, type FeatureBlogProps, type FeatureBlogSharePlatform, FeatureBullets, type FeatureBulletsProps, type FeatureCardIconItem, type FeatureCardItem, FeatureCards, FeatureCardsIcon, type FeatureCardsIconProps, type FeatureCardsProps, type FeatureOffice, type FeatureOfficeRegion, FeatureOffices, type FeatureOfficesProps, FeatureScroll, type FeatureScrollItem, type FeatureScrollProps, FeatureSplit, type FeatureSplitImagePosition, type FeatureSplitProps, Footer, type FooterAiSummaryItem, type FooterAiSummaryProps, type FooterAppBadge, type FooterDerivGoProps, type FooterLinkItem, type FooterNavSection, type FooterProps, type FooterSocialLink, type FormulaBlock, Header, type HeaderButtonProps, type HeaderProps, type HeaderVariant, type HelpCenterContentBlock, type HelpCenterContentBlockType, HelpCenterPage, type HelpCenterPageProps, type HelpCenterQuestionItem, HelpCentreCategories, type HelpCentreCategoriesProps, type HelpCentreCategoryItem, HelpCentreSubCategories, type HelpCentreSubCategoriesProps, type HelpCentreSubCategoryItem, Hero, type HeroButtonProps, type HeroProps, type HeroTrustpilotProps, type HeroVariant, IMAGE_BANNER_CHIPS_DEFAULT_IMAGE, ImageBanner, type ImageBannerProps, type ImageBannerVariant, type LanguageItem, LanguageSelectModal, type LanguageSelectModalOption, type LanguageSelectModalProps, type LeaderItem, Leaders, type LeadersProps, Link, type LinkColorScheme, LinkModal, type LinkModalProps, type LinkProps, type LogoItem, LogoMarquee, type LogoMarqueeProps, MasterPartner, type MasterPartnerNote, type MasterPartnerProps, type MasterPartnerStep, type NavDropdownColumn, type NavDropdownFeature, type NavDropdownItem, type NavItem, Navbar, type NavbarProps, OPTIONS_TYPES_ACCUMULATOR_CONTENT, OPTIONS_TYPES_DIGITAL_CONTENT, OPTIONS_TYPES_EU_MULTIPLIERS_CONTENT, OPTIONS_TYPES_MULTIPLIERS_CONTENT, OPTIONS_TYPES_PLACEHOLDER_ITEMS, OPTIONS_TYPES_TURBO_CONTENT, OPTIONS_TYPES_VANILLA_CONTENT, OptionsTypes, type OptionsTypesAnimation, type OptionsTypesIcon, type OptionsTypesItem, type OptionsTypesMetaItem, type OptionsTypesProps, type OptionsTypesVariant, PARALLAX_BANNER_TEXT_CONTENT, Pagination, type PaginationProps, ParallaxBanner, type ParallaxBannerCultureCard, type ParallaxBannerProps, type PartnerPayoutItem, PartnersPayout, type PartnersPayoutProps, PeopleGrid, type PeopleGridProps, type PersonItem, RESOURCE_BANNER_DERIV_CONTENT, ResourceBanner, type ResourceBannerHeadingLevel, type ResourceBannerLink, type ResourceBannerProps, STEPS_DATA, SearchField, type SearchFieldProps, type SearchFieldStatus, type StatItem, Stats, type StatsAward, type StatsProps, StatsSimple, type StatsSimpleProps, type StepItem, Steps, type StepsImagePosition, type StepsProps, type StickyCardItem, type StickyCardTheme, type StickyMarketCardItem, type StickyMarketCardTheme, StickyMarketCards, StickyMarketCardsLottie, type StickyMarketCardsLottieItem, type StickyMarketCardsLottieProps, type StickyMarketCardsLottieTheme, type StickyMarketCardsProps, StickyStackedCards, type StickyStackedCardsProps, type SwapCalculationMode, 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, Testimonial, type TestimonialItem, type TestimonialProps, TextField, type TextFieldProps, type TextFieldStatus, type TextFieldVariant, TextScroll, type TextScrollProps, type TierAccent, type TierItem, Tiers, type TiersProps, TradingCalculator, TradingCalculatorHowTo, type TradingCalculatorHowToProps, type TradingCalculatorHowToVariant, type TradingCalculatorProps, type TradingCalculatorResults, type TradingCalculatorVariant, type TradingSymbolSpec, dayNightTransitionV2Preset, isLottieSrc };
3027
+ export { AVATAR_DATA, Accordion, type AccordionProps, AffiliatesSlider, type AffiliatesSliderProps, ArticleHero, type ArticleHeroArticle, type ArticleHeroColumn, type ArticleHeroProps, ArticleSection, type ArticleSectionItem, type ArticleSectionProps, type ArticleSectionVariant, AvatarGrid, type AvatarGridProps, 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, CORAL_BANNER_DERIV_SLIDES, CTABanner, type CTABannerProps, type CalculationToken, Card, type CardPrimaryStyle, type CardProps, type CardTag, type CardThumbnailType, Chip, ChipDropdown, type ChipDropdownOption, type ChipDropdownProps, type ChipProps, type ChipSize, ComparisonCards, type ComparisonCardsCard, type ComparisonCardsProps, type ComparisonCardsRow, type ComparisonCardsTheme, CoralBanner, type CoralBannerButton, type CoralBannerProps, type CoralBannerSlide, CountryLinkGrid, type CountryLinkGridHeadingLevel, type CountryLinkGridItem, type CountryLinkGridProps, CryptoMarketsTable, type CryptoMarketsTableProps, type CryptoMarketsTableVariant, CryptoTradeConverter, type CryptoTradeConverterProps, type CryptoTradeConverterVariant, DEFAULT_AWARDS, DEFAULT_CULTURE_CARDS, DEFAULT_EXCHANGE_RATE_WS_URL, DEFAULT_SYMBOLS_ENDPOINT, DEFAULT_TRADE_HREF, DayNightTransition, type DayNightTransitionProps, DocumentChips, type DocumentChipsDocument, type DocumentChipsGroup, type DocumentChipsHeadingLevel, type DocumentChipsLanguageLink, type DocumentChipsProps, type DocumentChipsVariant, DotLottieInView, type DotLottieInViewProps, DownloadBadge, type DownloadBadgeColorScheme, type DownloadBadgePlatform, type DownloadBadgeProps, DownloadBanner, type DownloadBannerProps, type DownloadBannerStyle, DynamicTable, type DynamicTableColumnDef, type DynamicTableProps, type DynamicTableRowData, type DynamicTableVariant, EntityInfoSection, type EntityInfoSectionHeadingLevel, type EntityInfoSectionLink, type EntityInfoSectionProps, FEATURE_AWARDS_TEXT_CONTENT, FEATURE_BLOG_CATEGORIES_TEXT_CONTENT, FEATURE_BLOG_TEXT_CONTENT, FEATURE_OFFICES_TEXT_CONTENT, FEATURE_SCROLL_DATA, FaqAccordion, type FaqAccordionColorScheme, type FaqAccordionProps, type FaqItem, FeatureAwards, type FeatureAwardsProps, FeatureBlog, type FeatureBlogAuthor, FeatureBlogCategories, type FeatureBlogCategoriesProps, type FeatureBlogCategoryPost, type FeatureBlogCategoryTab, type FeatureBlogContentBlock, type FeatureBlogContentBlockType, FeatureBlogPage, type FeatureBlogPageProps, type FeatureBlogPost, type FeatureBlogProps, type FeatureBlogSharePlatform, FeatureBullets, type FeatureBulletsProps, type FeatureCardIconItem, type FeatureCardItem, FeatureCards, FeatureCardsCarousel, type FeatureCardsCarouselItem, type FeatureCardsCarouselProps, type FeatureCardsCarouselTone, FeatureCardsIcon, type FeatureCardsIconProps, type FeatureCardsProps, type FeatureOffice, type FeatureOfficeRegion, FeatureOffices, type FeatureOfficesProps, FeatureScroll, type FeatureScrollItem, type FeatureScrollProps, FeatureSplit, type FeatureSplitImagePosition, type FeatureSplitProps, Footer, type FooterAiSummaryItem, type FooterAiSummaryProps, type FooterAppBadge, type FooterDerivGoProps, type FooterLinkItem, type FooterNavSection, type FooterProps, type FooterSocialLink, type FormulaBlock, Header, type HeaderButtonProps, type HeaderProps, type HeaderVariant, type HelpCenterContentBlock, type HelpCenterContentBlockType, HelpCenterPage, type HelpCenterPageProps, type HelpCenterQuestionItem, HelpCentreCategories, type HelpCentreCategoriesProps, type HelpCentreCategoryItem, HelpCentreSubCategories, type HelpCentreSubCategoriesProps, type HelpCentreSubCategoryItem, Hero, type HeroButtonProps, type HeroProps, type HeroTrustpilotProps, type HeroVariant, IMAGE_BANNER_CHIPS_DEFAULT_IMAGE, ImageBanner, type ImageBannerProps, type ImageBannerVariant, type LanguageItem, LanguageSelectModal, type LanguageSelectModalOption, type LanguageSelectModalProps, type LeaderItem, Leaders, type LeadersProps, Link, type LinkColorScheme, LinkModal, type LinkModalProps, type LinkProps, type LogoItem, LogoMarquee, type LogoMarqueeProps, MasterPartner, type MasterPartnerNote, type MasterPartnerProps, type MasterPartnerStep, type NavDropdownColumn, type NavDropdownFeature, type NavDropdownItem, type NavItem, Navbar, type NavbarProps, OPTIONS_TYPES_ACCUMULATOR_CONTENT, OPTIONS_TYPES_DIGITAL_CONTENT, OPTIONS_TYPES_EU_MULTIPLIERS_CONTENT, OPTIONS_TYPES_MULTIPLIERS_CONTENT, OPTIONS_TYPES_PLACEHOLDER_ITEMS, OPTIONS_TYPES_TURBO_CONTENT, OPTIONS_TYPES_VANILLA_CONTENT, OptionsTypes, type OptionsTypesAnimation, type OptionsTypesIcon, type OptionsTypesItem, type OptionsTypesMetaItem, type OptionsTypesProps, type OptionsTypesVariant, PARALLAX_BANNER_TEXT_CONTENT, Pagination, type PaginationProps, ParallaxBanner, type ParallaxBannerCultureCard, type ParallaxBannerProps, type PartnerPayoutItem, PartnersPayout, type PartnersPayoutProps, PeopleGrid, type PeopleGridProps, type PersonItem, RESOURCE_BANNER_DERIV_CONTENT, ResourceBanner, type ResourceBannerHeadingLevel, type ResourceBannerLink, type ResourceBannerProps, STEPS_DATA, SearchField, type SearchFieldProps, type SearchFieldStatus, type StatItem, Stats, type StatsAward, type StatsProps, StatsSimple, type StatsSimpleProps, type StepItem, Steps, type StepsImagePosition, type StepsProps, type StickyCardItem, type StickyCardTheme, type StickyMarketCardItem, type StickyMarketCardTheme, StickyMarketCards, StickyMarketCardsLottie, type StickyMarketCardsLottieItem, type StickyMarketCardsLottieProps, type StickyMarketCardsLottieTheme, type StickyMarketCardsProps, StickyStackedCards, type StickyStackedCardsProps, type SwapCalculationMode, 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, Testimonial, type TestimonialItem, type TestimonialProps, TextField, type TextFieldProps, type TextFieldStatus, type TextFieldVariant, TextScroll, type TextScrollProps, type TierAccent, type TierItem, Tiers, type TiersProps, TradingCalculator, TradingCalculatorHowTo, type TradingCalculatorHowToProps, type TradingCalculatorHowToVariant, type TradingCalculatorProps, type TradingCalculatorResults, type TradingCalculatorVariant, type TradingSymbolSpec, dayNightTransitionV2Preset, isLottieSrc };
package/dist/index.d.ts CHANGED
@@ -387,6 +387,87 @@ interface FeatureCardsProps {
387
387
 
388
388
  declare const FeatureCards: ({ variant, sectionTitle, sectionDescription, showLink, linkText, onLinkClick, cardColorScheme, cards, }: FeatureCardsProps) => react_jsx_runtime.JSX.Element | null;
389
389
 
390
+ type FeatureCardsCarouselTone = "coral" | "dark" | "light";
391
+ /** How slide artwork is laid out inside the card. */
392
+ type FeatureCardsCarouselImageFit = "media" | "cover";
393
+ interface FeatureCardsCarouselItem {
394
+ /** Slide heading */
395
+ title: string;
396
+ /** Supporting body copy */
397
+ description: string;
398
+ /** Artwork shown under the copy, or as a full-card cover when `imageFit` is `"cover"` */
399
+ image?: string;
400
+ /** Alt text for the artwork. Empty string marks it decorative. */
401
+ imageAlt?: string;
402
+ /**
403
+ * Artwork layout.
404
+ * - `"media"` (default): fixed-height strip under the copy
405
+ * - `"cover"`: fills the entire card behind the copy (lifestyle photos)
406
+ */
407
+ imageFit?: FeatureCardsCarouselImageFit;
408
+ /** Card surface tone. Defaults to cycling coral → dark → light. */
409
+ tone?: FeatureCardsCarouselTone;
410
+ /** Optional CTA label on the slide */
411
+ ctaLabel?: string;
412
+ /** Optional CTA href. When omitted with a label, renders a button-styled span. */
413
+ ctaHref?: string;
414
+ }
415
+ interface FeatureCardsCarouselProps {
416
+ /** Section heading above the slider */
417
+ title: string;
418
+ /** Supporting copy under the section heading */
419
+ description?: string;
420
+ /** Authored slides. Preserve order; do not flatten to a static grid. */
421
+ items: FeatureCardsCarouselItem[];
422
+ /** Zero-based index of the initially active slide */
423
+ defaultActiveIndex?: number;
424
+ /** Enable autoplay. Off by default; must be pausable when enabled. */
425
+ autoplay?: boolean;
426
+ /** Autoplay interval in ms when `autoplay` is true */
427
+ autoplayDelay?: number;
428
+ /** Show previous / next controls */
429
+ showArrows?: boolean;
430
+ /** Show pagination dots */
431
+ showDots?: boolean;
432
+ className?: string;
433
+ }
434
+
435
+ declare const FeatureCardsCarousel: ({ title, description, items, defaultActiveIndex, autoplay, autoplayDelay, showArrows, showDots, className, }: FeatureCardsCarouselProps) => react_jsx_runtime.JSX.Element;
436
+
437
+ type ComparisonCardsTheme = "light" | "dark";
438
+ interface ComparisonCardsRow {
439
+ /** Spec label shown on the left (repeated per card) */
440
+ label: string;
441
+ /** Spec value shown on the right */
442
+ value: string;
443
+ }
444
+ interface ComparisonCardsCard {
445
+ /** Card heading */
446
+ title: string;
447
+ /** Short supporting copy under the title */
448
+ description: string;
449
+ /** Card surface. Defaults to cycling light → dark. */
450
+ theme?: ComparisonCardsTheme;
451
+ /** Label/value rows. Labels are authored per card, not shared. */
452
+ rows: ComparisonCardsRow[];
453
+ /** Optional disclaimer belonging to this card only */
454
+ footnote?: string;
455
+ }
456
+ interface ComparisonCardsProps {
457
+ /** Section heading above the cards */
458
+ title: string;
459
+ /** Supporting copy under the section heading */
460
+ description?: string;
461
+ /**
462
+ * Comparison cards (typically 2–3). Each card is an independent surface
463
+ * with its own repeated spec rows — not a shared table first column.
464
+ */
465
+ cards: ComparisonCardsCard[];
466
+ className?: string;
467
+ }
468
+
469
+ declare const ComparisonCards: ({ title, description, cards, className, }: ComparisonCardsProps) => react_jsx_runtime.JSX.Element;
470
+
390
471
  interface FeatureCardIconItem {
391
472
  title: string;
392
473
  description: string;
@@ -605,6 +686,13 @@ interface HeroProps extends HTMLAttributes<HTMLElement> {
605
686
  subtitle?: string;
606
687
  /** Main heading */
607
688
  title: string;
689
+ /**
690
+ * Semantic heading level for `title`. Defaults to `1` (`<h1>`) because a
691
+ * Hero is the page’s leading heading. Pass `2` when the Hero is not the
692
+ * document’s primary H1 (e.g. a secondary band below an existing title).
693
+ * Styling always uses `.hero__title` regardless of level.
694
+ */
695
+ headingLevel?: 1 | 2;
608
696
  /** Body copy below the title */
609
697
  description?: string;
610
698
  /**
@@ -651,7 +739,7 @@ interface HeroProps extends HTMLAttributes<HTMLElement> {
651
739
  trustpilot?: HeroTrustpilotProps;
652
740
  }
653
741
 
654
- declare const Hero: ({ variant, subtitle, title, description, primaryButton, secondaryButton, backgroundImageSrc, heroImage, productImage, floatingImage, trustpilot, className, ...props }: HeroProps) => react_jsx_runtime.JSX.Element;
742
+ declare const Hero: ({ variant, subtitle, title, headingLevel, description, primaryButton, secondaryButton, backgroundImageSrc, heroImage, productImage, floatingImage, trustpilot, className, ...props }: HeroProps) => react_jsx_runtime.JSX.Element;
655
743
 
656
744
  type HeaderVariant = "visuals" | "minimal" | "dark" | "dark-search";
657
745
  interface HeaderButtonProps {
@@ -2270,6 +2358,34 @@ interface TradingCalculatorHowToProps extends HTMLAttributes<HTMLElement> {
2270
2358
 
2271
2359
  declare const TradingCalculatorHowTo: ({ variant, title, description, className, ...props }: TradingCalculatorHowToProps) => react_jsx_runtime.JSX.Element;
2272
2360
 
2361
+ type CryptoTradeConverterVariant = "default";
2362
+ type CryptoTradeConverterProps = {
2363
+ variant?: CryptoTradeConverterVariant;
2364
+ market?: "spot";
2365
+ /** Pair like "BTC/USDT" or symbol id like "btc1863usdt1863". */
2366
+ defaultPair?: string;
2367
+ /** Primary Buy/Sell CTA destination. */
2368
+ tradeHref?: string;
2369
+ /** Allowlisted HTTPS API origin (default https://deriv.exchange). */
2370
+ apiOrigin?: string;
2371
+ className?: string;
2372
+ };
2373
+
2374
+ declare const DEFAULT_TRADE_HREF = "https://deriv.exchange";
2375
+ declare const CryptoTradeConverter: ({ variant: _variant, market: _market, defaultPair, tradeHref, apiOrigin, className, }: CryptoTradeConverterProps) => react_jsx_runtime.JSX.Element;
2376
+
2377
+ type CryptoMarketsTableVariant = "default";
2378
+ type CryptoMarketsTableProps = {
2379
+ variant?: CryptoMarketsTableVariant;
2380
+ initialMarket?: "spot" | "futures";
2381
+ initialQuoteCurrency?: string;
2382
+ apiOrigin?: string;
2383
+ maxRows?: number;
2384
+ className?: string;
2385
+ };
2386
+
2387
+ declare const CryptoMarketsTable: ({ variant: _variant, initialMarket, initialQuoteCurrency, apiOrigin, maxRows, className, }: CryptoMarketsTableProps) => react_jsx_runtime.JSX.Element;
2388
+
2273
2389
  interface FeatureOfficeRegion {
2274
2390
  /** Stable identifier — must match `FeatureOffice.region` for filtering to work. CMS-managed. */
2275
2391
  id: string;
@@ -2908,4 +3024,4 @@ interface AffiliatesSliderProps extends HTMLAttributes<HTMLElement> {
2908
3024
 
2909
3025
  declare const AffiliatesSlider: ({ title, description, min, max, step, defaultValue, value, onValueChange, referralsLabel, incomeLabel, incomePerReferral, currencySymbol, tickValues, disclaimer, disclaimerIconSrc, disclaimerIconAlt, sliderLabel, className, ...props }: AffiliatesSliderProps) => react_jsx_runtime.JSX.Element;
2910
3026
 
2911
- export { AVATAR_DATA, Accordion, type AccordionProps, AffiliatesSlider, type AffiliatesSliderProps, ArticleHero, type ArticleHeroArticle, type ArticleHeroColumn, type ArticleHeroProps, ArticleSection, type ArticleSectionItem, type ArticleSectionProps, type ArticleSectionVariant, AvatarGrid, type AvatarGridProps, 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, CORAL_BANNER_DERIV_SLIDES, CTABanner, type CTABannerProps, type CalculationToken, Card, type CardPrimaryStyle, type CardProps, type CardTag, type CardThumbnailType, Chip, ChipDropdown, type ChipDropdownOption, type ChipDropdownProps, type ChipProps, type ChipSize, CoralBanner, type CoralBannerButton, type CoralBannerProps, type CoralBannerSlide, CountryLinkGrid, type CountryLinkGridHeadingLevel, type CountryLinkGridItem, type CountryLinkGridProps, DEFAULT_AWARDS, DEFAULT_CULTURE_CARDS, DEFAULT_EXCHANGE_RATE_WS_URL, DEFAULT_SYMBOLS_ENDPOINT, DayNightTransition, type DayNightTransitionProps, DocumentChips, type DocumentChipsDocument, type DocumentChipsGroup, type DocumentChipsHeadingLevel, type DocumentChipsLanguageLink, type DocumentChipsProps, type DocumentChipsVariant, DotLottieInView, type DotLottieInViewProps, DownloadBadge, type DownloadBadgeColorScheme, type DownloadBadgePlatform, type DownloadBadgeProps, DownloadBanner, type DownloadBannerProps, type DownloadBannerStyle, DynamicTable, type DynamicTableColumnDef, type DynamicTableProps, type DynamicTableRowData, type DynamicTableVariant, EntityInfoSection, type EntityInfoSectionHeadingLevel, type EntityInfoSectionLink, type EntityInfoSectionProps, FEATURE_AWARDS_TEXT_CONTENT, FEATURE_BLOG_CATEGORIES_TEXT_CONTENT, FEATURE_BLOG_TEXT_CONTENT, FEATURE_OFFICES_TEXT_CONTENT, FEATURE_SCROLL_DATA, FaqAccordion, type FaqAccordionColorScheme, type FaqAccordionProps, type FaqItem, FeatureAwards, type FeatureAwardsProps, FeatureBlog, type FeatureBlogAuthor, FeatureBlogCategories, type FeatureBlogCategoriesProps, type FeatureBlogCategoryPost, type FeatureBlogCategoryTab, type FeatureBlogContentBlock, type FeatureBlogContentBlockType, FeatureBlogPage, type FeatureBlogPageProps, type FeatureBlogPost, type FeatureBlogProps, type FeatureBlogSharePlatform, FeatureBullets, type FeatureBulletsProps, type FeatureCardIconItem, type FeatureCardItem, FeatureCards, FeatureCardsIcon, type FeatureCardsIconProps, type FeatureCardsProps, type FeatureOffice, type FeatureOfficeRegion, FeatureOffices, type FeatureOfficesProps, FeatureScroll, type FeatureScrollItem, type FeatureScrollProps, FeatureSplit, type FeatureSplitImagePosition, type FeatureSplitProps, Footer, type FooterAiSummaryItem, type FooterAiSummaryProps, type FooterAppBadge, type FooterDerivGoProps, type FooterLinkItem, type FooterNavSection, type FooterProps, type FooterSocialLink, type FormulaBlock, Header, type HeaderButtonProps, type HeaderProps, type HeaderVariant, type HelpCenterContentBlock, type HelpCenterContentBlockType, HelpCenterPage, type HelpCenterPageProps, type HelpCenterQuestionItem, HelpCentreCategories, type HelpCentreCategoriesProps, type HelpCentreCategoryItem, HelpCentreSubCategories, type HelpCentreSubCategoriesProps, type HelpCentreSubCategoryItem, Hero, type HeroButtonProps, type HeroProps, type HeroTrustpilotProps, type HeroVariant, IMAGE_BANNER_CHIPS_DEFAULT_IMAGE, ImageBanner, type ImageBannerProps, type ImageBannerVariant, type LanguageItem, LanguageSelectModal, type LanguageSelectModalOption, type LanguageSelectModalProps, type LeaderItem, Leaders, type LeadersProps, Link, type LinkColorScheme, LinkModal, type LinkModalProps, type LinkProps, type LogoItem, LogoMarquee, type LogoMarqueeProps, MasterPartner, type MasterPartnerNote, type MasterPartnerProps, type MasterPartnerStep, type NavDropdownColumn, type NavDropdownFeature, type NavDropdownItem, type NavItem, Navbar, type NavbarProps, OPTIONS_TYPES_ACCUMULATOR_CONTENT, OPTIONS_TYPES_DIGITAL_CONTENT, OPTIONS_TYPES_EU_MULTIPLIERS_CONTENT, OPTIONS_TYPES_MULTIPLIERS_CONTENT, OPTIONS_TYPES_PLACEHOLDER_ITEMS, OPTIONS_TYPES_TURBO_CONTENT, OPTIONS_TYPES_VANILLA_CONTENT, OptionsTypes, type OptionsTypesAnimation, type OptionsTypesIcon, type OptionsTypesItem, type OptionsTypesMetaItem, type OptionsTypesProps, type OptionsTypesVariant, PARALLAX_BANNER_TEXT_CONTENT, Pagination, type PaginationProps, ParallaxBanner, type ParallaxBannerCultureCard, type ParallaxBannerProps, type PartnerPayoutItem, PartnersPayout, type PartnersPayoutProps, PeopleGrid, type PeopleGridProps, type PersonItem, RESOURCE_BANNER_DERIV_CONTENT, ResourceBanner, type ResourceBannerHeadingLevel, type ResourceBannerLink, type ResourceBannerProps, STEPS_DATA, SearchField, type SearchFieldProps, type SearchFieldStatus, type StatItem, Stats, type StatsAward, type StatsProps, StatsSimple, type StatsSimpleProps, type StepItem, Steps, type StepsImagePosition, type StepsProps, type StickyCardItem, type StickyCardTheme, type StickyMarketCardItem, type StickyMarketCardTheme, StickyMarketCards, StickyMarketCardsLottie, type StickyMarketCardsLottieItem, type StickyMarketCardsLottieProps, type StickyMarketCardsLottieTheme, type StickyMarketCardsProps, StickyStackedCards, type StickyStackedCardsProps, type SwapCalculationMode, 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, Testimonial, type TestimonialItem, type TestimonialProps, TextField, type TextFieldProps, type TextFieldStatus, type TextFieldVariant, TextScroll, type TextScrollProps, type TierAccent, type TierItem, Tiers, type TiersProps, TradingCalculator, TradingCalculatorHowTo, type TradingCalculatorHowToProps, type TradingCalculatorHowToVariant, type TradingCalculatorProps, type TradingCalculatorResults, type TradingCalculatorVariant, type TradingSymbolSpec, dayNightTransitionV2Preset, isLottieSrc };
3027
+ export { AVATAR_DATA, Accordion, type AccordionProps, AffiliatesSlider, type AffiliatesSliderProps, ArticleHero, type ArticleHeroArticle, type ArticleHeroColumn, type ArticleHeroProps, ArticleSection, type ArticleSectionItem, type ArticleSectionProps, type ArticleSectionVariant, AvatarGrid, type AvatarGridProps, 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, CORAL_BANNER_DERIV_SLIDES, CTABanner, type CTABannerProps, type CalculationToken, Card, type CardPrimaryStyle, type CardProps, type CardTag, type CardThumbnailType, Chip, ChipDropdown, type ChipDropdownOption, type ChipDropdownProps, type ChipProps, type ChipSize, ComparisonCards, type ComparisonCardsCard, type ComparisonCardsProps, type ComparisonCardsRow, type ComparisonCardsTheme, CoralBanner, type CoralBannerButton, type CoralBannerProps, type CoralBannerSlide, CountryLinkGrid, type CountryLinkGridHeadingLevel, type CountryLinkGridItem, type CountryLinkGridProps, CryptoMarketsTable, type CryptoMarketsTableProps, type CryptoMarketsTableVariant, CryptoTradeConverter, type CryptoTradeConverterProps, type CryptoTradeConverterVariant, DEFAULT_AWARDS, DEFAULT_CULTURE_CARDS, DEFAULT_EXCHANGE_RATE_WS_URL, DEFAULT_SYMBOLS_ENDPOINT, DEFAULT_TRADE_HREF, DayNightTransition, type DayNightTransitionProps, DocumentChips, type DocumentChipsDocument, type DocumentChipsGroup, type DocumentChipsHeadingLevel, type DocumentChipsLanguageLink, type DocumentChipsProps, type DocumentChipsVariant, DotLottieInView, type DotLottieInViewProps, DownloadBadge, type DownloadBadgeColorScheme, type DownloadBadgePlatform, type DownloadBadgeProps, DownloadBanner, type DownloadBannerProps, type DownloadBannerStyle, DynamicTable, type DynamicTableColumnDef, type DynamicTableProps, type DynamicTableRowData, type DynamicTableVariant, EntityInfoSection, type EntityInfoSectionHeadingLevel, type EntityInfoSectionLink, type EntityInfoSectionProps, FEATURE_AWARDS_TEXT_CONTENT, FEATURE_BLOG_CATEGORIES_TEXT_CONTENT, FEATURE_BLOG_TEXT_CONTENT, FEATURE_OFFICES_TEXT_CONTENT, FEATURE_SCROLL_DATA, FaqAccordion, type FaqAccordionColorScheme, type FaqAccordionProps, type FaqItem, FeatureAwards, type FeatureAwardsProps, FeatureBlog, type FeatureBlogAuthor, FeatureBlogCategories, type FeatureBlogCategoriesProps, type FeatureBlogCategoryPost, type FeatureBlogCategoryTab, type FeatureBlogContentBlock, type FeatureBlogContentBlockType, FeatureBlogPage, type FeatureBlogPageProps, type FeatureBlogPost, type FeatureBlogProps, type FeatureBlogSharePlatform, FeatureBullets, type FeatureBulletsProps, type FeatureCardIconItem, type FeatureCardItem, FeatureCards, FeatureCardsCarousel, type FeatureCardsCarouselItem, type FeatureCardsCarouselProps, type FeatureCardsCarouselTone, FeatureCardsIcon, type FeatureCardsIconProps, type FeatureCardsProps, type FeatureOffice, type FeatureOfficeRegion, FeatureOffices, type FeatureOfficesProps, FeatureScroll, type FeatureScrollItem, type FeatureScrollProps, FeatureSplit, type FeatureSplitImagePosition, type FeatureSplitProps, Footer, type FooterAiSummaryItem, type FooterAiSummaryProps, type FooterAppBadge, type FooterDerivGoProps, type FooterLinkItem, type FooterNavSection, type FooterProps, type FooterSocialLink, type FormulaBlock, Header, type HeaderButtonProps, type HeaderProps, type HeaderVariant, type HelpCenterContentBlock, type HelpCenterContentBlockType, HelpCenterPage, type HelpCenterPageProps, type HelpCenterQuestionItem, HelpCentreCategories, type HelpCentreCategoriesProps, type HelpCentreCategoryItem, HelpCentreSubCategories, type HelpCentreSubCategoriesProps, type HelpCentreSubCategoryItem, Hero, type HeroButtonProps, type HeroProps, type HeroTrustpilotProps, type HeroVariant, IMAGE_BANNER_CHIPS_DEFAULT_IMAGE, ImageBanner, type ImageBannerProps, type ImageBannerVariant, type LanguageItem, LanguageSelectModal, type LanguageSelectModalOption, type LanguageSelectModalProps, type LeaderItem, Leaders, type LeadersProps, Link, type LinkColorScheme, LinkModal, type LinkModalProps, type LinkProps, type LogoItem, LogoMarquee, type LogoMarqueeProps, MasterPartner, type MasterPartnerNote, type MasterPartnerProps, type MasterPartnerStep, type NavDropdownColumn, type NavDropdownFeature, type NavDropdownItem, type NavItem, Navbar, type NavbarProps, OPTIONS_TYPES_ACCUMULATOR_CONTENT, OPTIONS_TYPES_DIGITAL_CONTENT, OPTIONS_TYPES_EU_MULTIPLIERS_CONTENT, OPTIONS_TYPES_MULTIPLIERS_CONTENT, OPTIONS_TYPES_PLACEHOLDER_ITEMS, OPTIONS_TYPES_TURBO_CONTENT, OPTIONS_TYPES_VANILLA_CONTENT, OptionsTypes, type OptionsTypesAnimation, type OptionsTypesIcon, type OptionsTypesItem, type OptionsTypesMetaItem, type OptionsTypesProps, type OptionsTypesVariant, PARALLAX_BANNER_TEXT_CONTENT, Pagination, type PaginationProps, ParallaxBanner, type ParallaxBannerCultureCard, type ParallaxBannerProps, type PartnerPayoutItem, PartnersPayout, type PartnersPayoutProps, PeopleGrid, type PeopleGridProps, type PersonItem, RESOURCE_BANNER_DERIV_CONTENT, ResourceBanner, type ResourceBannerHeadingLevel, type ResourceBannerLink, type ResourceBannerProps, STEPS_DATA, SearchField, type SearchFieldProps, type SearchFieldStatus, type StatItem, Stats, type StatsAward, type StatsProps, StatsSimple, type StatsSimpleProps, type StepItem, Steps, type StepsImagePosition, type StepsProps, type StickyCardItem, type StickyCardTheme, type StickyMarketCardItem, type StickyMarketCardTheme, StickyMarketCards, StickyMarketCardsLottie, type StickyMarketCardsLottieItem, type StickyMarketCardsLottieProps, type StickyMarketCardsLottieTheme, type StickyMarketCardsProps, StickyStackedCards, type StickyStackedCardsProps, type SwapCalculationMode, 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, Testimonial, type TestimonialItem, type TestimonialProps, TextField, type TextFieldProps, type TextFieldStatus, type TextFieldVariant, TextScroll, type TextScrollProps, type TierAccent, type TierItem, Tiers, type TiersProps, TradingCalculator, TradingCalculatorHowTo, type TradingCalculatorHowToProps, type TradingCalculatorHowToVariant, type TradingCalculatorProps, type TradingCalculatorResults, type TradingCalculatorVariant, type TradingSymbolSpec, dayNightTransitionV2Preset, isLottieSrc };