@deriv-web-design/ui 0.1.21 → 0.1.23
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/block-registry.json +132 -3
- package/components.manifest.json +1 -1
- package/dist/index.css +125 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +23 -2
- package/dist/index.d.ts +23 -2
- package/dist/index.js +158 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +161 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2409,7 +2409,7 @@ declare const RESOURCE_BANNER_DERIV_CONTENT: {
|
|
|
2409
2409
|
};
|
|
2410
2410
|
declare const ResourceBanner: ({ title, description, links, headingLevel: HeadingTag, className, ...props }: ResourceBannerProps) => react_jsx_runtime.JSX.Element;
|
|
2411
2411
|
|
|
2412
|
-
type OptionsTypesVariant = "tabs" | "single";
|
|
2412
|
+
type OptionsTypesVariant = "tabs" | "single" | "toggle";
|
|
2413
2413
|
type OptionsTypesIcon = "forex" | "stock-indices" | "commodities" | "derived-indices" | "cryptocurrencies" | "deriv-trader" | "deriv-bot" | "smarttrader";
|
|
2414
2414
|
interface OptionsTypesAnimation {
|
|
2415
2415
|
/** Stable key for playback state. */
|
|
@@ -2423,6 +2423,13 @@ interface OptionsTypesAnimation {
|
|
|
2423
2423
|
src: string;
|
|
2424
2424
|
/** Still image covering the card until playback starts. */
|
|
2425
2425
|
posterUrl?: string;
|
|
2426
|
+
/**
|
|
2427
|
+
* HTTPS URL to a glyph shown on this animation's switch control in the
|
|
2428
|
+
* `toggle` variant. The control is icon-only when supplied and falls back
|
|
2429
|
+
* to `label` text when it is not; either way `label` names the control for
|
|
2430
|
+
* assistive technology. Ignored by the other variants.
|
|
2431
|
+
*/
|
|
2432
|
+
iconUrl?: string;
|
|
2426
2433
|
}
|
|
2427
2434
|
interface OptionsTypesMetaItem {
|
|
2428
2435
|
/** Visible market or platform name. */
|
|
@@ -2454,6 +2461,10 @@ interface OptionsTypesProps extends Omit<HTMLAttributes<HTMLElement>, "title" |
|
|
|
2454
2461
|
/**
|
|
2455
2462
|
* `tabs` shows a selectable list of option types.
|
|
2456
2463
|
* `single` shows one option in a media/content split.
|
|
2464
|
+
* `toggle` shows one option as a single media well whose animation is
|
|
2465
|
+
* swapped by an icon switch above the card heading, with the copy beside
|
|
2466
|
+
* it. Use it when the animations are two views of the same idea (up/down,
|
|
2467
|
+
* before/after) rather than two separate things worth showing at once.
|
|
2457
2468
|
* @default "tabs"
|
|
2458
2469
|
*/
|
|
2459
2470
|
variant?: OptionsTypesVariant;
|
|
@@ -2485,6 +2496,16 @@ declare const OPTIONS_TYPES_ACCUMULATOR_CONTENT: OptionsTypesProps;
|
|
|
2485
2496
|
declare const OPTIONS_TYPES_VANILLA_CONTENT: OptionsTypesProps;
|
|
2486
2497
|
declare const OPTIONS_TYPES_TURBO_CONTENT: OptionsTypesProps;
|
|
2487
2498
|
declare const OPTIONS_TYPES_MULTIPLIERS_CONTENT: OptionsTypesProps;
|
|
2499
|
+
/**
|
|
2500
|
+
* EU multipliers — `.section_multipliers_types` on
|
|
2501
|
+
* deriv.com/eu/trade/multipliers.
|
|
2502
|
+
*
|
|
2503
|
+
* The EU section differs from the ROW one above in three ways: the two clips
|
|
2504
|
+
* are two views of one idea rather than two things to show at once, so they
|
|
2505
|
+
* share a single well behind an Up/Down switch (`variant: "toggle"`); the card
|
|
2506
|
+
* carries its own heading; and there are no availability lists.
|
|
2507
|
+
*/
|
|
2508
|
+
declare const OPTIONS_TYPES_EU_MULTIPLIERS_CONTENT: OptionsTypesProps;
|
|
2488
2509
|
|
|
2489
2510
|
type EntityInfoSectionHeadingLevel = "h2" | "h3" | "h4";
|
|
2490
2511
|
interface EntityInfoSectionLink {
|
|
@@ -2789,4 +2810,4 @@ interface AffiliatesSliderProps extends HTMLAttributes<HTMLElement> {
|
|
|
2789
2810
|
|
|
2790
2811
|
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;
|
|
2791
2812
|
|
|
2792
|
-
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 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_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, 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 };
|
|
2813
|
+
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 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, 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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -2409,7 +2409,7 @@ declare const RESOURCE_BANNER_DERIV_CONTENT: {
|
|
|
2409
2409
|
};
|
|
2410
2410
|
declare const ResourceBanner: ({ title, description, links, headingLevel: HeadingTag, className, ...props }: ResourceBannerProps) => react_jsx_runtime.JSX.Element;
|
|
2411
2411
|
|
|
2412
|
-
type OptionsTypesVariant = "tabs" | "single";
|
|
2412
|
+
type OptionsTypesVariant = "tabs" | "single" | "toggle";
|
|
2413
2413
|
type OptionsTypesIcon = "forex" | "stock-indices" | "commodities" | "derived-indices" | "cryptocurrencies" | "deriv-trader" | "deriv-bot" | "smarttrader";
|
|
2414
2414
|
interface OptionsTypesAnimation {
|
|
2415
2415
|
/** Stable key for playback state. */
|
|
@@ -2423,6 +2423,13 @@ interface OptionsTypesAnimation {
|
|
|
2423
2423
|
src: string;
|
|
2424
2424
|
/** Still image covering the card until playback starts. */
|
|
2425
2425
|
posterUrl?: string;
|
|
2426
|
+
/**
|
|
2427
|
+
* HTTPS URL to a glyph shown on this animation's switch control in the
|
|
2428
|
+
* `toggle` variant. The control is icon-only when supplied and falls back
|
|
2429
|
+
* to `label` text when it is not; either way `label` names the control for
|
|
2430
|
+
* assistive technology. Ignored by the other variants.
|
|
2431
|
+
*/
|
|
2432
|
+
iconUrl?: string;
|
|
2426
2433
|
}
|
|
2427
2434
|
interface OptionsTypesMetaItem {
|
|
2428
2435
|
/** Visible market or platform name. */
|
|
@@ -2454,6 +2461,10 @@ interface OptionsTypesProps extends Omit<HTMLAttributes<HTMLElement>, "title" |
|
|
|
2454
2461
|
/**
|
|
2455
2462
|
* `tabs` shows a selectable list of option types.
|
|
2456
2463
|
* `single` shows one option in a media/content split.
|
|
2464
|
+
* `toggle` shows one option as a single media well whose animation is
|
|
2465
|
+
* swapped by an icon switch above the card heading, with the copy beside
|
|
2466
|
+
* it. Use it when the animations are two views of the same idea (up/down,
|
|
2467
|
+
* before/after) rather than two separate things worth showing at once.
|
|
2457
2468
|
* @default "tabs"
|
|
2458
2469
|
*/
|
|
2459
2470
|
variant?: OptionsTypesVariant;
|
|
@@ -2485,6 +2496,16 @@ declare const OPTIONS_TYPES_ACCUMULATOR_CONTENT: OptionsTypesProps;
|
|
|
2485
2496
|
declare const OPTIONS_TYPES_VANILLA_CONTENT: OptionsTypesProps;
|
|
2486
2497
|
declare const OPTIONS_TYPES_TURBO_CONTENT: OptionsTypesProps;
|
|
2487
2498
|
declare const OPTIONS_TYPES_MULTIPLIERS_CONTENT: OptionsTypesProps;
|
|
2499
|
+
/**
|
|
2500
|
+
* EU multipliers — `.section_multipliers_types` on
|
|
2501
|
+
* deriv.com/eu/trade/multipliers.
|
|
2502
|
+
*
|
|
2503
|
+
* The EU section differs from the ROW one above in three ways: the two clips
|
|
2504
|
+
* are two views of one idea rather than two things to show at once, so they
|
|
2505
|
+
* share a single well behind an Up/Down switch (`variant: "toggle"`); the card
|
|
2506
|
+
* carries its own heading; and there are no availability lists.
|
|
2507
|
+
*/
|
|
2508
|
+
declare const OPTIONS_TYPES_EU_MULTIPLIERS_CONTENT: OptionsTypesProps;
|
|
2488
2509
|
|
|
2489
2510
|
type EntityInfoSectionHeadingLevel = "h2" | "h3" | "h4";
|
|
2490
2511
|
interface EntityInfoSectionLink {
|
|
@@ -2789,4 +2810,4 @@ interface AffiliatesSliderProps extends HTMLAttributes<HTMLElement> {
|
|
|
2789
2810
|
|
|
2790
2811
|
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;
|
|
2791
2812
|
|
|
2792
|
-
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 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_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, 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 };
|
|
2813
|
+
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 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, 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 };
|
package/dist/index.js
CHANGED
|
@@ -92,6 +92,7 @@ __export(index_exports, {
|
|
|
92
92
|
Navbar: () => Navbar,
|
|
93
93
|
OPTIONS_TYPES_ACCUMULATOR_CONTENT: () => OPTIONS_TYPES_ACCUMULATOR_CONTENT,
|
|
94
94
|
OPTIONS_TYPES_DIGITAL_CONTENT: () => OPTIONS_TYPES_DIGITAL_CONTENT,
|
|
95
|
+
OPTIONS_TYPES_EU_MULTIPLIERS_CONTENT: () => OPTIONS_TYPES_EU_MULTIPLIERS_CONTENT,
|
|
95
96
|
OPTIONS_TYPES_MULTIPLIERS_CONTENT: () => OPTIONS_TYPES_MULTIPLIERS_CONTENT,
|
|
96
97
|
OPTIONS_TYPES_PLACEHOLDER_ITEMS: () => OPTIONS_TYPES_PLACEHOLDER_ITEMS,
|
|
97
98
|
OPTIONS_TYPES_TURBO_CONTENT: () => OPTIONS_TYPES_TURBO_CONTENT,
|
|
@@ -8761,6 +8762,126 @@ function OptionPanel({
|
|
|
8761
8762
|
metadata
|
|
8762
8763
|
] });
|
|
8763
8764
|
}
|
|
8765
|
+
function TogglePanel({
|
|
8766
|
+
item,
|
|
8767
|
+
idPrefix,
|
|
8768
|
+
marketsLabel,
|
|
8769
|
+
platformsLabel,
|
|
8770
|
+
playing,
|
|
8771
|
+
setPlaying
|
|
8772
|
+
}) {
|
|
8773
|
+
const animations = item.animations;
|
|
8774
|
+
const [activeIndex, setActiveIndex] = (0, import_react34.useState)(0);
|
|
8775
|
+
const switchRefs = (0, import_react34.useRef)([]);
|
|
8776
|
+
const safeIndex = Math.min(activeIndex, Math.max(animations.length - 1, 0));
|
|
8777
|
+
(0, import_react34.useEffect)(() => {
|
|
8778
|
+
setPlaying({});
|
|
8779
|
+
}, [safeIndex, setPlaying]);
|
|
8780
|
+
const hasMarkets = Boolean(item.markets && item.markets.length > 0);
|
|
8781
|
+
const hasPlatforms = Boolean(item.platforms && item.platforms.length > 0);
|
|
8782
|
+
const onSwitchKeyDown = (event) => {
|
|
8783
|
+
const last = animations.length - 1;
|
|
8784
|
+
let next = null;
|
|
8785
|
+
if (event.key === "ArrowRight" || event.key === "ArrowDown") {
|
|
8786
|
+
next = safeIndex === last ? 0 : safeIndex + 1;
|
|
8787
|
+
} else if (event.key === "ArrowLeft" || event.key === "ArrowUp") {
|
|
8788
|
+
next = safeIndex === 0 ? last : safeIndex - 1;
|
|
8789
|
+
} else if (event.key === "Home") {
|
|
8790
|
+
next = 0;
|
|
8791
|
+
} else if (event.key === "End") {
|
|
8792
|
+
next = last;
|
|
8793
|
+
}
|
|
8794
|
+
if (next === null) return;
|
|
8795
|
+
event.preventDefault();
|
|
8796
|
+
setActiveIndex(next);
|
|
8797
|
+
switchRefs.current[next]?.focus();
|
|
8798
|
+
};
|
|
8799
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "ot__option ot__option--toggle", children: [
|
|
8800
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "ot__toggle-media", children: animations.map((animation, index) => {
|
|
8801
|
+
const key = `${item.id}-${animation.id ?? index}`;
|
|
8802
|
+
const isActive = index === safeIndex;
|
|
8803
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
8804
|
+
"div",
|
|
8805
|
+
{
|
|
8806
|
+
className: "ot__toggle-pane",
|
|
8807
|
+
id: `${idPrefix}-media-${index}`,
|
|
8808
|
+
role: "tabpanel",
|
|
8809
|
+
"aria-labelledby": `${idPrefix}-switch-${index}`,
|
|
8810
|
+
hidden: !isActive,
|
|
8811
|
+
children: isActive ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
8812
|
+
AnimationCard,
|
|
8813
|
+
{
|
|
8814
|
+
animation,
|
|
8815
|
+
itemId: item.id,
|
|
8816
|
+
playing: Boolean(playing[key]),
|
|
8817
|
+
onToggle: () => setPlaying((current) => ({
|
|
8818
|
+
...current,
|
|
8819
|
+
[key]: !current[key]
|
|
8820
|
+
}))
|
|
8821
|
+
}
|
|
8822
|
+
) : null
|
|
8823
|
+
},
|
|
8824
|
+
key
|
|
8825
|
+
);
|
|
8826
|
+
}) }),
|
|
8827
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "ot__toggle-side", children: [
|
|
8828
|
+
animations.length > 1 ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
8829
|
+
"div",
|
|
8830
|
+
{
|
|
8831
|
+
className: "ot__toggle-switch",
|
|
8832
|
+
role: "tablist",
|
|
8833
|
+
"aria-label": `${item.title} views`,
|
|
8834
|
+
onKeyDown: onSwitchKeyDown,
|
|
8835
|
+
children: animations.map((animation, index) => {
|
|
8836
|
+
const isActive = index === safeIndex;
|
|
8837
|
+
const iconUrl = safeHref(animation.iconUrl);
|
|
8838
|
+
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
8839
|
+
"button",
|
|
8840
|
+
{
|
|
8841
|
+
ref: (node) => {
|
|
8842
|
+
switchRefs.current[index] = node;
|
|
8843
|
+
},
|
|
8844
|
+
type: "button",
|
|
8845
|
+
role: "tab",
|
|
8846
|
+
id: `${idPrefix}-switch-${index}`,
|
|
8847
|
+
"aria-controls": `${idPrefix}-media-${index}`,
|
|
8848
|
+
"aria-selected": isActive,
|
|
8849
|
+
"aria-label": animation.label,
|
|
8850
|
+
tabIndex: isActive ? 0 : -1,
|
|
8851
|
+
className: `ot__toggle-option${isActive ? " ot__toggle-option--active" : ""}`,
|
|
8852
|
+
onClick: () => setActiveIndex(index),
|
|
8853
|
+
children: iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
8854
|
+
"img",
|
|
8855
|
+
{
|
|
8856
|
+
className: "ot__toggle-icon",
|
|
8857
|
+
src: iconUrl,
|
|
8858
|
+
alt: "",
|
|
8859
|
+
"aria-hidden": "true",
|
|
8860
|
+
loading: "lazy",
|
|
8861
|
+
decoding: "async"
|
|
8862
|
+
}
|
|
8863
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("span", { className: "ot__toggle-option-label", children: animation.label })
|
|
8864
|
+
},
|
|
8865
|
+
`${item.id}-switch-${animation.id ?? index}`
|
|
8866
|
+
);
|
|
8867
|
+
})
|
|
8868
|
+
}
|
|
8869
|
+
) : null,
|
|
8870
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("h3", { className: "ot__toggle-title", children: item.title }),
|
|
8871
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("div", { className: "ot__description", children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)("p", { children: item.description }) }),
|
|
8872
|
+
hasMarkets || hasPlatforms ? /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "ot__metadata", children: [
|
|
8873
|
+
hasMarkets ? /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "ot__meta-group", children: [
|
|
8874
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("h4", { children: marketsLabel }),
|
|
8875
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(MetaList, { items: item.markets })
|
|
8876
|
+
] }) : null,
|
|
8877
|
+
hasPlatforms ? /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)("div", { className: "ot__meta-group", children: [
|
|
8878
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)("h4", { children: platformsLabel }),
|
|
8879
|
+
/* @__PURE__ */ (0, import_jsx_runtime63.jsx)(MetaList, { items: item.platforms })
|
|
8880
|
+
] }) : null
|
|
8881
|
+
] }) : null
|
|
8882
|
+
] })
|
|
8883
|
+
] });
|
|
8884
|
+
}
|
|
8764
8885
|
function OptionsTypes({
|
|
8765
8886
|
variant = "tabs",
|
|
8766
8887
|
heading = "Section title goes here",
|
|
@@ -8834,7 +8955,17 @@ function OptionsTypes({
|
|
|
8834
8955
|
},
|
|
8835
8956
|
item.id
|
|
8836
8957
|
);
|
|
8837
|
-
}) }) : /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
8958
|
+
}) }) : variant === "toggle" ? /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
8959
|
+
TogglePanel,
|
|
8960
|
+
{
|
|
8961
|
+
item: usableItems[0],
|
|
8962
|
+
idPrefix: tabPrefix,
|
|
8963
|
+
marketsLabel,
|
|
8964
|
+
platformsLabel,
|
|
8965
|
+
playing,
|
|
8966
|
+
setPlaying
|
|
8967
|
+
}
|
|
8968
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
|
8838
8969
|
OptionPanel,
|
|
8839
8970
|
{
|
|
8840
8971
|
item: usableItems[0],
|
|
@@ -9075,6 +9206,31 @@ var OPTIONS_TYPES_MULTIPLIERS_CONTENT = {
|
|
|
9075
9206
|
}
|
|
9076
9207
|
]
|
|
9077
9208
|
};
|
|
9209
|
+
var OPTIONS_TYPES_EU_MULTIPLIERS_CONTENT = {
|
|
9210
|
+
variant: "toggle",
|
|
9211
|
+
heading: "How do multipliers work",
|
|
9212
|
+
items: [
|
|
9213
|
+
{
|
|
9214
|
+
id: "eu-multipliers",
|
|
9215
|
+
title: "Multipliers",
|
|
9216
|
+
description: "Choose a multiplier (up to 30x) and predict if the market price will go up or down compared to the entry price. Your potential payout grows the further the market price moves in your predicted direction, boosted by the multiplier. Losses are limited to the initial amount you put into the contract.",
|
|
9217
|
+
animations: [
|
|
9218
|
+
{
|
|
9219
|
+
id: "up",
|
|
9220
|
+
label: "Up",
|
|
9221
|
+
src: `${WEBFLOW_CDN}/6630e305e7f044e7deae8a90_Web%20Trade%20Clip%20-%20Multipliers%20(Up).lottie`,
|
|
9222
|
+
iconUrl: `${WEBFLOW_ICON_CDN}/68e4859893e33d078096e151_66585fe0e1dc7e70cc75dec1_multipliers-up-sm.svg`
|
|
9223
|
+
},
|
|
9224
|
+
{
|
|
9225
|
+
id: "down",
|
|
9226
|
+
label: "Down",
|
|
9227
|
+
src: `${WEBFLOW_CDN}/6630e3055be526fd74f10190_Web%20Trade%20Clip%20-%20Multipliers%20(Down).lottie`,
|
|
9228
|
+
iconUrl: `${WEBFLOW_ICON_CDN}/68e4859893e33d078096e155_66585fe0e1dc7e70cc75dee8_multipliers-down-sm.svg`
|
|
9229
|
+
}
|
|
9230
|
+
]
|
|
9231
|
+
}
|
|
9232
|
+
]
|
|
9233
|
+
};
|
|
9078
9234
|
|
|
9079
9235
|
// templates/EntityInfoSection/EntityInfoSection.tsx
|
|
9080
9236
|
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
@@ -9769,6 +9925,7 @@ var AffiliatesSlider = ({
|
|
|
9769
9925
|
Navbar,
|
|
9770
9926
|
OPTIONS_TYPES_ACCUMULATOR_CONTENT,
|
|
9771
9927
|
OPTIONS_TYPES_DIGITAL_CONTENT,
|
|
9928
|
+
OPTIONS_TYPES_EU_MULTIPLIERS_CONTENT,
|
|
9772
9929
|
OPTIONS_TYPES_MULTIPLIERS_CONTENT,
|
|
9773
9930
|
OPTIONS_TYPES_PLACEHOLDER_ITEMS,
|
|
9774
9931
|
OPTIONS_TYPES_TURBO_CONTENT,
|