@deriv-com/dds-marketing 1.1.2 → 1.2.0
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/.llm/components/accordion.md +10 -0
- package/.llm/components/accordionitem.md +10 -0
- package/.llm/components/aspectratio.md +10 -0
- package/.llm/components/awards.md +10 -0
- package/.llm/components/background.md +52 -9
- package/.llm/components/badge.md +13 -3
- package/.llm/components/bottomsheet.md +13 -3
- package/.llm/components/breadcrumb.md +10 -0
- package/.llm/components/breadcrumbitem.md +10 -0
- package/.llm/components/button.md +13 -3
- package/.llm/components/buttonicon.md +17 -7
- package/.llm/components/card.md +11 -1
- package/.llm/components/cardbody.md +12 -2
- package/.llm/components/cardbutton.md +10 -0
- package/.llm/components/checkbox.md +7 -1
- package/.llm/components/comparisoncards.md +13 -3
- package/.llm/components/comparisontable.md +10 -0
- package/.llm/components/ctabanner.md +10 -0
- package/.llm/components/ctabannerslider.md +10 -0
- package/.llm/components/datatable.md +10 -0
- package/.llm/components/divider.md +10 -0
- package/.llm/components/documentlink.md +237 -0
- package/.llm/components/documents.md +268 -0
- package/.llm/components/downloadbanner.md +11 -1
- package/.llm/components/dropdownmenu.md +15 -5
- package/.llm/components/estimator.md +342 -0
- package/.llm/components/faqaccordion.md +10 -0
- package/.llm/components/featurebullets.md +10 -0
- package/.llm/components/featurecards.md +47 -3
- package/.llm/components/featurecardscarousel.md +11 -1
- package/.llm/components/featurescroll.md +10 -0
- package/.llm/components/featuresplit.md +10 -0
- package/.llm/components/featurestack.md +10 -0
- package/.llm/components/featuretabs.md +369 -0
- package/.llm/components/filterchip.md +11 -1
- package/.llm/components/footer.md +10 -0
- package/.llm/components/footergroup.md +10 -0
- package/.llm/components/grid.md +34 -1
- package/.llm/components/icon.md +15 -5
- package/.llm/components/illustrationcard.md +56 -2
- package/.llm/components/illustrationcheck.md +193 -0
- package/.llm/components/illustrationchoice.md +187 -0
- package/.llm/components/illustrationcode.md +192 -0
- package/.llm/components/illustrationlist.md +175 -0
- package/.llm/components/illustrationscene.md +33 -3
- package/.llm/components/imagebanner.md +35 -6
- package/.llm/components/landinghero.md +10 -0
- package/.llm/components/link.md +12 -2
- package/.llm/components/logocolumns.md +11 -1
- package/.llm/components/logorows.md +46 -2
- package/.llm/components/menuitem.md +12 -2
- package/.llm/components/navbar.md +11 -1
- package/.llm/components/navbaritem.md +10 -0
- package/.llm/components/navbarmenu.md +10 -0
- package/.llm/components/navbarmenugroup.md +10 -0
- package/.llm/components/navbarpanel.md +10 -0
- package/.llm/components/navbarswitcher.md +16 -6
- package/.llm/components/navbarswitcheroption.md +10 -0
- package/.llm/components/option.md +11 -1
- package/.llm/components/pageheader.md +10 -0
- package/.llm/components/pagination.md +10 -0
- package/.llm/components/paginationdots.md +10 -0
- package/.llm/components/producthero.md +33 -4
- package/.llm/components/progressbar.md +305 -0
- package/.llm/components/removablechip.md +11 -1
- package/.llm/components/resourcebanner.md +10 -0
- package/.llm/components/row.md +10 -0
- package/.llm/components/scenescroll.md +42 -24
- package/.llm/components/scenescrollword.md +267 -0
- package/.llm/components/scroller.md +10 -0
- package/.llm/components/searchinput.md +10 -0
- package/.llm/components/segmentedcontrol.md +33 -2
- package/.llm/components/segmentedcontrolitem.md +12 -2
- package/.llm/components/select.md +10 -0
- package/.llm/components/selectchip.md +10 -0
- package/.llm/components/spinner.md +10 -0
- package/.llm/components/stack.md +10 -0
- package/.llm/components/stats.md +50 -1
- package/.llm/components/statscarousel.md +227 -0
- package/.llm/components/statusdot.md +45 -1
- package/.llm/components/steps.md +10 -0
- package/.llm/components/stickycards.md +10 -0
- package/.llm/components/subdomainnavbar.md +11 -1
- package/.llm/components/tab.md +12 -2
- package/.llm/components/table.md +10 -0
- package/.llm/components/tablebody.md +10 -0
- package/.llm/components/tablecell.md +10 -0
- package/.llm/components/tablehead.md +10 -0
- package/.llm/components/tableheadercell.md +10 -0
- package/.llm/components/tablerow.md +10 -0
- package/.llm/components/tablist.md +10 -0
- package/.llm/components/teamgrid.md +10 -0
- package/.llm/components/testimonialrow.md +47 -3
- package/.llm/components/testimonialslider.md +12 -2
- package/.llm/components/textarea.md +10 -0
- package/.llm/components/textinput.md +11 -1
- package/.llm/components/textscroll.md +10 -0
- package/.llm/components/tiers.md +17 -7
- package/.llm/components/tooltip.md +6 -0
- package/.llm/components/typography.md +67 -1
- package/.llm/digest/accordion.md +1 -1
- package/.llm/digest/accordionitem.md +1 -1
- package/.llm/digest/aspectratio.md +1 -1
- package/.llm/digest/awards.md +1 -1
- package/.llm/digest/background.md +14 -6
- package/.llm/digest/badge.md +1 -1
- package/.llm/digest/bottomsheet.md +1 -1
- package/.llm/digest/breadcrumb.md +1 -1
- package/.llm/digest/breadcrumbitem.md +1 -1
- package/.llm/digest/button.md +2 -2
- package/.llm/digest/buttonicon.md +2 -2
- package/.llm/digest/card.md +1 -1
- package/.llm/digest/cardbody.md +1 -1
- package/.llm/digest/cardbutton.md +1 -1
- package/.llm/digest/checkbox.md +1 -1
- package/.llm/digest/comparisoncards.md +1 -1
- package/.llm/digest/comparisontable.md +1 -1
- package/.llm/digest/ctabanner.md +1 -1
- package/.llm/digest/ctabannerslider.md +1 -1
- package/.llm/digest/datatable.md +1 -1
- package/.llm/digest/divider.md +1 -1
- package/.llm/digest/documentlink.md +52 -0
- package/.llm/digest/documents.md +51 -0
- package/.llm/digest/downloadbanner.md +2 -2
- package/.llm/digest/dropdownmenu.md +1 -1
- package/.llm/digest/estimator.md +66 -0
- package/.llm/digest/faqaccordion.md +1 -1
- package/.llm/digest/featurebullets.md +1 -1
- package/.llm/digest/featurecards.md +8 -1
- package/.llm/digest/featurecardscarousel.md +1 -1
- package/.llm/digest/featurescroll.md +1 -1
- package/.llm/digest/featuresplit.md +1 -1
- package/.llm/digest/featurestack.md +1 -1
- package/.llm/digest/featuretabs.md +50 -0
- package/.llm/digest/filterchip.md +1 -1
- package/.llm/digest/footer.md +1 -1
- package/.llm/digest/footergroup.md +1 -1
- package/.llm/digest/grid.md +2 -1
- package/.llm/digest/icon.md +1 -1
- package/.llm/digest/illustrationcard.md +7 -2
- package/.llm/digest/illustrationcheck.md +42 -0
- package/.llm/digest/illustrationchoice.md +43 -0
- package/.llm/digest/illustrationcode.md +41 -0
- package/.llm/digest/illustrationlist.md +38 -0
- package/.llm/digest/illustrationscene.md +5 -3
- package/.llm/digest/imagebanner.md +11 -5
- package/.llm/digest/landinghero.md +1 -1
- package/.llm/digest/link.md +1 -1
- package/.llm/digest/logocolumns.md +2 -2
- package/.llm/digest/logorows.md +9 -2
- package/.llm/digest/menuitem.md +1 -1
- package/.llm/digest/navbar.md +1 -1
- package/.llm/digest/navbaritem.md +1 -1
- package/.llm/digest/navbarmenu.md +1 -1
- package/.llm/digest/navbarmenugroup.md +1 -1
- package/.llm/digest/navbarpanel.md +1 -1
- package/.llm/digest/navbarswitcher.md +1 -1
- package/.llm/digest/navbarswitcheroption.md +1 -1
- package/.llm/digest/option.md +1 -1
- package/.llm/digest/pageheader.md +1 -1
- package/.llm/digest/pagination.md +1 -1
- package/.llm/digest/paginationdots.md +1 -1
- package/.llm/digest/producthero.md +9 -3
- package/.llm/digest/progressbar.md +56 -0
- package/.llm/digest/removablechip.md +1 -1
- package/.llm/digest/resourcebanner.md +1 -1
- package/.llm/digest/row.md +1 -1
- package/.llm/digest/scenescroll.md +7 -6
- package/.llm/digest/scenescrollword.md +56 -0
- package/.llm/digest/scroller.md +1 -1
- package/.llm/digest/searchinput.md +1 -1
- package/.llm/digest/segmentedcontrol.md +4 -1
- package/.llm/digest/segmentedcontrolitem.md +2 -2
- package/.llm/digest/select.md +1 -1
- package/.llm/digest/selectchip.md +1 -1
- package/.llm/digest/spinner.md +1 -1
- package/.llm/digest/stack.md +1 -1
- package/.llm/digest/stats.md +9 -1
- package/.llm/digest/statscarousel.md +48 -0
- package/.llm/digest/statusdot.md +8 -1
- package/.llm/digest/steps.md +1 -1
- package/.llm/digest/stickycards.md +1 -1
- package/.llm/digest/subdomainnavbar.md +1 -1
- package/.llm/digest/tab.md +1 -1
- package/.llm/digest/table.md +1 -1
- package/.llm/digest/tablebody.md +1 -1
- package/.llm/digest/tablecell.md +1 -1
- package/.llm/digest/tablehead.md +1 -1
- package/.llm/digest/tableheadercell.md +1 -1
- package/.llm/digest/tablerow.md +1 -1
- package/.llm/digest/tablist.md +1 -1
- package/.llm/digest/teamgrid.md +1 -1
- package/.llm/digest/testimonialrow.md +9 -2
- package/.llm/digest/testimonialslider.md +2 -2
- package/.llm/digest/textarea.md +1 -1
- package/.llm/digest/textinput.md +1 -1
- package/.llm/digest/textscroll.md +1 -1
- package/.llm/digest/tiers.md +1 -1
- package/.llm/digest/typography.md +19 -1
- package/.llm/index.md +15 -4
- package/.llm/rules.md +10 -0
- package/.llm/tokens.md +13 -3
- package/AGENTS.md +14 -2
- package/README.md +28 -3
- package/dist/components/arrival.d.ts +32 -0
- package/dist/components/arrival.js +140 -0
- package/dist/components/arrives.d.ts +17 -0
- package/dist/components/arrives.js +14 -0
- package/dist/components/blocks/awards/Awards.js +2 -27
- package/dist/components/blocks/block-pattern.css +23 -0
- package/dist/components/blocks/comparison-cards/comparison-cards-impl.css +29 -12
- package/dist/components/blocks/documents/Documents.css +90 -0
- package/dist/components/blocks/documents/Documents.d.ts +22 -0
- package/dist/components/blocks/documents/Documents.js +30 -0
- package/dist/components/blocks/documents/Documents.types.d.ts +37 -0
- package/dist/components/blocks/documents/Documents.types.js +14 -0
- package/dist/components/blocks/documents/documents-impl.css +103 -0
- package/dist/components/blocks/download-banner/DownloadBanner.css +1 -1
- package/dist/components/blocks/download-banner/DownloadBanner.types.d.ts +1 -1
- package/dist/components/blocks/estimator/Estimator.css +206 -0
- package/dist/components/blocks/estimator/Estimator.d.ts +27 -0
- package/dist/components/blocks/estimator/Estimator.js +61 -0
- package/dist/components/blocks/estimator/Estimator.types.d.ts +63 -0
- package/dist/components/blocks/estimator/Estimator.types.js +25 -0
- package/dist/components/blocks/estimator/estimator-impl.css +159 -0
- package/dist/components/blocks/feature-cards/FeatureCards.d.ts +2 -1
- package/dist/components/blocks/feature-cards/FeatureCards.js +10 -7
- package/dist/components/blocks/feature-cards/FeatureCards.types.d.ts +9 -1
- package/dist/components/blocks/feature-cards/feature-cards-impl.css +15 -3
- package/dist/components/blocks/feature-cards-carousel/FeatureCardsCarousel.types.d.ts +1 -1
- package/dist/components/blocks/feature-cards-carousel/feature-cards-carousel-impl.css +12 -0
- package/dist/components/blocks/feature-tabs/FeatureTabs.css +100 -0
- package/dist/components/blocks/feature-tabs/FeatureTabs.d.ts +23 -0
- package/dist/components/blocks/feature-tabs/FeatureTabs.js +38 -0
- package/dist/components/blocks/feature-tabs/FeatureTabs.types.d.ts +35 -0
- package/dist/components/blocks/feature-tabs/FeatureTabs.types.js +14 -0
- package/dist/components/blocks/feature-tabs/feature-tabs-impl.css +53 -0
- package/dist/components/blocks/image-banner/ImageBanner.css +1 -1
- package/dist/components/blocks/image-banner/ImageBanner.d.ts +2 -1
- package/dist/components/blocks/image-banner/ImageBanner.js +3 -2
- package/dist/components/blocks/image-banner/ImageBanner.types.d.ts +10 -8
- package/dist/components/blocks/image-banner/ImageBanner.types.js +1 -1
- package/dist/components/blocks/image-banner/image-banner-impl.css +78 -71
- package/dist/components/blocks/laurel.d.ts +16 -0
- package/dist/components/blocks/laurel.js +28 -0
- package/dist/components/blocks/logo-columns/LogoColumns.css +1 -1
- package/dist/components/blocks/logo-columns/LogoColumns.types.d.ts +1 -1
- package/dist/components/blocks/logo-rows/LogoRows.css +1 -1
- package/dist/components/blocks/logo-rows/LogoRows.d.ts +2 -1
- package/dist/components/blocks/logo-rows/LogoRows.js +7 -4
- package/dist/components/blocks/logo-rows/LogoRows.types.d.ts +9 -1
- package/dist/components/blocks/pattern-tone.d.ts +11 -0
- package/dist/components/blocks/pattern-tone.js +7 -0
- package/dist/components/blocks/product-hero/ProductHero.d.ts +1 -1
- package/dist/components/blocks/product-hero/ProductHero.js +2 -2
- package/dist/components/blocks/product-hero/ProductHero.types.d.ts +8 -3
- package/dist/components/blocks/product-hero/ProductHero.types.js +1 -1
- package/dist/components/blocks/product-hero/product-hero-impl.css +54 -0
- package/dist/components/blocks/resource-banner/ResourceBanner.css +1 -1
- package/dist/components/blocks/scene-scroll/SceneScroll.css +1 -1
- package/dist/components/blocks/scene-scroll/SceneScroll.d.ts +6 -5
- package/dist/components/blocks/scene-scroll/SceneScroll.js +8 -7
- package/dist/components/blocks/scene-scroll/SceneScroll.types.d.ts +5 -5
- package/dist/components/blocks/scene-scroll/SceneScroll.types.js +1 -1
- package/dist/components/blocks/scene-scroll/scene-scroll-impl.css +61 -44
- package/dist/components/blocks/scene-scroll-word/SceneScrollWord.css +105 -0
- package/dist/components/blocks/scene-scroll-word/SceneScrollWord.d.ts +31 -0
- package/dist/components/blocks/scene-scroll-word/SceneScrollWord.js +67 -0
- package/dist/components/blocks/scene-scroll-word/SceneScrollWord.types.d.ts +39 -0
- package/dist/components/blocks/scene-scroll-word/SceneScrollWord.types.js +18 -0
- package/dist/components/blocks/scene-scroll-word/scene-scroll-word-impl.css +370 -0
- package/dist/components/blocks/stats/Stats.d.ts +2 -1
- package/dist/components/blocks/stats/Stats.js +17 -14
- package/dist/components/blocks/stats/Stats.types.d.ts +8 -0
- package/dist/components/blocks/stats/stats-impl.css +4 -1
- package/dist/components/blocks/stats/use-wheel.d.ts +1 -1
- package/dist/components/blocks/stats/use-wheel.js +8 -4
- package/dist/components/blocks/stats-carousel/StatsCarousel.css +209 -0
- package/dist/components/blocks/stats-carousel/StatsCarousel.d.ts +20 -0
- package/dist/components/blocks/stats-carousel/StatsCarousel.js +48 -0
- package/dist/components/blocks/stats-carousel/StatsCarousel.types.d.ts +43 -0
- package/dist/components/blocks/stats-carousel/StatsCarousel.types.js +23 -0
- package/dist/components/blocks/stats-carousel/stats-carousel-impl.css +233 -0
- package/dist/components/blocks/sticky-cards/sticky-cards-impl.css +8 -0
- package/dist/components/blocks/testimonial-row/TestimonialRow.css +1 -1
- package/dist/components/blocks/testimonial-row/TestimonialRow.d.ts +2 -1
- package/dist/components/blocks/testimonial-row/TestimonialRow.js +16 -13
- package/dist/components/blocks/testimonial-row/TestimonialRow.types.d.ts +9 -1
- package/dist/components/blocks/testimonial-slider/TestimonialSlider.css +1 -1
- package/dist/components/blocks/testimonial-slider/TestimonialSlider.types.d.ts +1 -1
- package/dist/components/blocks/tiers/Tiers.types.d.ts +1 -1
- package/dist/components/core/background/Background.css +19 -0
- package/dist/components/core/background/Background.types.d.ts +2 -1
- package/dist/components/core/background/background-impl.css +47 -15
- package/dist/components/core/background/halftone.js +1 -1
- package/dist/components/core/button/Button.css +5 -5
- package/dist/components/core/button-icon/ButtonIcon.types.d.ts +1 -1
- package/dist/components/core/card-body/CardBody.css +5 -0
- package/dist/components/core/card-body/CardBody.types.d.ts +1 -1
- package/dist/components/core/document-link/DocumentLink.css +59 -0
- package/dist/components/core/document-link/DocumentLink.d.ts +19 -0
- package/dist/components/core/document-link/DocumentLink.js +21 -0
- package/dist/components/core/document-link/DocumentLink.types.d.ts +41 -0
- package/dist/components/core/document-link/DocumentLink.types.js +11 -0
- package/dist/components/core/document-link/document-link-impl.css +23 -0
- package/dist/components/core/illustration-card/IllustrationCard.css +7 -0
- package/dist/components/core/illustration-card/IllustrationCard.d.ts +5 -1
- package/dist/components/core/illustration-card/IllustrationCard.js +34 -8
- package/dist/components/core/illustration-card/IllustrationCard.types.d.ts +8 -1
- package/dist/components/core/illustration-card/IllustrationCard.types.js +1 -0
- package/dist/components/core/illustration-card/illustration-card-impl.css +113 -0
- package/dist/components/core/illustration-check/IllustrationCheck.css +25 -0
- package/dist/components/core/illustration-check/IllustrationCheck.d.ts +16 -0
- package/dist/components/core/illustration-check/IllustrationCheck.js +22 -0
- package/dist/components/core/illustration-check/IllustrationCheck.types.d.ts +25 -0
- package/dist/components/core/illustration-check/IllustrationCheck.types.js +9 -0
- package/dist/components/core/illustration-check/illustration-check-impl.css +76 -0
- package/dist/components/core/illustration-choice/IllustrationChoice.css +62 -0
- package/dist/components/core/illustration-choice/IllustrationChoice.d.ts +16 -0
- package/dist/components/core/illustration-choice/IllustrationChoice.js +31 -0
- package/dist/components/core/illustration-choice/IllustrationChoice.types.d.ts +25 -0
- package/dist/components/core/illustration-choice/IllustrationChoice.types.js +11 -0
- package/dist/components/core/illustration-choice/illustration-choice-impl.css +103 -0
- package/dist/components/core/illustration-code/IllustrationCode.css +25 -0
- package/dist/components/core/illustration-code/IllustrationCode.d.ts +12 -0
- package/dist/components/core/illustration-code/IllustrationCode.js +20 -0
- package/dist/components/core/illustration-code/IllustrationCode.types.d.ts +23 -0
- package/dist/components/core/illustration-code/IllustrationCode.types.js +8 -0
- package/dist/components/core/illustration-code/illustration-code-impl.css +42 -0
- package/dist/components/core/illustration-list/IllustrationList.css +19 -0
- package/dist/components/core/illustration-list/IllustrationList.d.ts +16 -0
- package/dist/components/core/illustration-list/IllustrationList.js +18 -0
- package/dist/components/core/illustration-list/IllustrationList.types.d.ts +15 -0
- package/dist/components/core/illustration-list/IllustrationList.types.js +6 -0
- package/dist/components/core/illustration-list/illustration-list-impl.css +52 -0
- package/dist/components/core/illustration-scene/IllustrationScene.css +6 -0
- package/dist/components/core/illustration-scene/IllustrationScene.d.ts +3 -2
- package/dist/components/core/illustration-scene/IllustrationScene.js +4 -3
- package/dist/components/core/illustration-scene/IllustrationScene.types.d.ts +5 -1
- package/dist/components/core/illustration-scene/IllustrationScene.types.js +2 -1
- package/dist/components/core/illustration-scene/illustration-scene-impl.css +65 -0
- package/dist/components/core/link/link-impl.css +5 -19
- package/dist/components/core/progress-bar/ProgressBar.css +101 -0
- package/dist/components/core/progress-bar/ProgressBar.d.ts +5 -0
- package/dist/components/core/progress-bar/ProgressBar.js +34 -0
- package/dist/components/core/progress-bar/ProgressBar.types.d.ts +52 -0
- package/dist/components/core/progress-bar/ProgressBar.types.js +12 -0
- package/dist/components/core/progress-bar/progress-bar-impl.css +45 -0
- package/dist/components/core/segmented-control/SegmentedControl.d.ts +1 -1
- package/dist/components/core/segmented-control/SegmentedControl.js +13 -5
- package/dist/components/core/segmented-control/SegmentedControl.types.d.ts +5 -1
- package/dist/components/core/segmented-control/segmented-control-impl.css +35 -0
- package/dist/components/core/segmented-control-item/SegmentedControlItem.types.d.ts +1 -1
- package/dist/components/core/select/Select.css +2 -0
- package/dist/components/core/select/select-impl.css +58 -0
- package/dist/components/core/status-dot/StatusDot.d.ts +1 -1
- package/dist/components/core/status-dot/StatusDot.js +7 -4
- package/dist/components/core/status-dot/StatusDot.types.d.ts +9 -1
- package/dist/components/core/status-dot/status-dot-impl.css +101 -0
- package/dist/components/core/text-area/TextArea.css +2 -0
- package/dist/components/core/text-area/text-area-impl.css +54 -0
- package/dist/components/core/text-input/TextInput.css +2 -0
- package/dist/components/core/text-input/text-input-impl.css +63 -0
- package/dist/components/core/typography/Typography.d.ts +3 -283
- package/dist/components/core/typography/Typography.js +9 -1
- package/dist/components/core/typography/Typography.types.d.ts +9 -15
- package/dist/components/core/typography/TypographyMotion.d.ts +28 -0
- package/dist/components/core/typography/TypographyMotion.js +43 -0
- package/dist/components/core/typography/typography-impl.css +106 -0
- package/dist/components/estimator-data.d.ts +29 -0
- package/dist/components/estimator-data.js +12 -0
- package/dist/components/illustration-data.d.ts +15 -0
- package/dist/components/illustration-data.js +7 -0
- package/dist/components/index.d.ts +25 -1
- package/dist/components/index.js +22 -0
- package/dist/components/layout/grid/Grid.css +5 -0
- package/dist/components/layout/grid/Grid.types.d.ts +2 -1
- package/dist/components/scene-scroll-data.d.ts +35 -0
- package/dist/components/tiers-data.d.ts +3 -2
- package/dist/icons/accounts.d.ts +1 -0
- package/dist/icons/accounts.js +1 -0
- package/dist/icons/app-stores.d.ts +1 -0
- package/dist/icons/app-stores.js +1 -0
- package/dist/icons/currency.d.ts +1 -0
- package/dist/icons/currency.js +1 -0
- package/dist/icons/flag.d.ts +1 -0
- package/dist/icons/flag.js +1 -0
- package/dist/icons/illustrative.d.ts +1 -0
- package/dist/icons/illustrative.js +1 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.js +4 -0
- package/dist/icons/markets.d.ts +1 -0
- package/dist/icons/markets.js +1 -0
- package/dist/icons/social.d.ts +1 -0
- package/dist/icons/social.js +1 -0
- package/dist/icons/system.d.ts +1 -0
- package/dist/icons/system.js +1 -0
- package/dist/icons/trade.d.ts +1 -0
- package/dist/icons/trade.js +1 -0
- package/dist/marketing.css +26 -6
- package/package.json +44 -2
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Scoped to this package, like the generated sheet beside it.
|
|
3
|
+
*
|
|
4
|
+
* Text that moves once on arrival (TypographyMotion.tsx). `data-arrival` is the text's own answer
|
|
5
|
+
* from useArrival (arrival.ts): `waiting` holds the motion at its first frame, `playing` runs it,
|
|
6
|
+
* and no attribute — a server, a reader who asked for less movement — is the text at rest. The
|
|
7
|
+
* package's motion tokens throughout.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
* `motion="roll"`: each digit is a reel of nought to nine, one line tall and clipped to it, set on
|
|
12
|
+
* its digit. Arriving, each reel rolls up from nought to its digit over motion.duration.dramatic, a
|
|
13
|
+
* step of motion.duration.stagger behind the digit before it, so the figure settles left to right.
|
|
14
|
+
* `lh` so a reel's lines are the figure's own lines whatever its type role.
|
|
15
|
+
*/
|
|
16
|
+
:where([data-dds-context="marketing"]) .dds-typography [data-digit] {
|
|
17
|
+
block-size: 1lh;
|
|
18
|
+
display: inline-block;
|
|
19
|
+
overflow: clip;
|
|
20
|
+
vertical-align: top;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:where([data-dds-context="marketing"]) .dds-typography [data-reel] {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
translate: 0 calc(var(--dds-typography-digit, 0) * -1lh);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:where([data-dds-context="marketing"]) .dds-typography [data-reel] > * {
|
|
30
|
+
block-size: 1lh;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@keyframes dds-typography-roll {
|
|
34
|
+
from {
|
|
35
|
+
translate: 0 0;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
:where([data-dds-context="marketing"]) .dds-typography[data-arrival] [data-reel] {
|
|
40
|
+
animation: dds-typography-roll var(--motion-duration-dramatic) var(--motion-easing-reveal) both;
|
|
41
|
+
animation-delay: calc(var(--dds-typography-step, 0) * var(--motion-duration-stagger));
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/*
|
|
45
|
+
* `from`: the words the text starts as, in the same cell as the words it becomes. At rest only the
|
|
46
|
+
* final words are drawn. Arriving, the first words hold for motion.duration.hold, rise away over
|
|
47
|
+
* motion.duration.normal, and the final ones come up into their place over motion.duration.slow.
|
|
48
|
+
*/
|
|
49
|
+
:where([data-dds-context="marketing"]) .dds-typography [data-swap] {
|
|
50
|
+
display: inline-grid;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:where([data-dds-context="marketing"]) .dds-typography [data-swap] > * {
|
|
54
|
+
grid-area: 1 / 1;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:where([data-dds-context="marketing"]) .dds-typography [data-word='from'] {
|
|
58
|
+
display: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
:where([data-dds-context="marketing"]) .dds-typography[data-arrival] [data-word='from'] {
|
|
62
|
+
display: inline;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@keyframes dds-typography-swap-leave {
|
|
66
|
+
from {
|
|
67
|
+
visibility: visible;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
to {
|
|
71
|
+
opacity: var(--opacity-hidden);
|
|
72
|
+
translate: 0 calc(-1 * var(--space-gap-xs));
|
|
73
|
+
visibility: hidden;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@keyframes dds-typography-swap-arrive {
|
|
78
|
+
from {
|
|
79
|
+
opacity: var(--opacity-hidden);
|
|
80
|
+
translate: 0 var(--space-gap-xs);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
:where([data-dds-context="marketing"]) .dds-typography[data-arrival] [data-word='from'] {
|
|
85
|
+
animation: dds-typography-swap-leave var(--motion-duration-normal) var(--motion-easing-reveal) var(--motion-duration-hold) both;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
:where([data-dds-context="marketing"]) .dds-typography[data-arrival] [data-word='to'] {
|
|
89
|
+
animation: dds-typography-swap-arrive var(--motion-duration-slow) var(--motion-easing-reveal)
|
|
90
|
+
calc(var(--motion-duration-hold) + var(--motion-duration-normal)) both;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* Waiting: held at the first frame. */
|
|
94
|
+
:where([data-dds-context="marketing"]) .dds-typography[data-arrival='waiting'] :is([data-reel], [data-word]) {
|
|
95
|
+
animation-play-state: paused !important;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@media (prefers-reduced-motion: reduce) {
|
|
99
|
+
:where([data-dds-context="marketing"]) .dds-typography[data-arrival] :is([data-reel], [data-word]) {
|
|
100
|
+
animation: none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
:where([data-dds-context="marketing"]) .dds-typography[data-arrival] [data-word='from'] {
|
|
104
|
+
display: none;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The figures an Estimator lays out once a reader has filled its inputs in.
|
|
3
|
+
*
|
|
4
|
+
* Exported from the package for the reason `stats-data.ts` and `comparison-cards-data.ts` are: a
|
|
5
|
+
* block whose content is a list is one whose consumer builds a value before passing it.
|
|
6
|
+
*
|
|
7
|
+
* A record rather than a component per figure, because a result is a number and the words that say
|
|
8
|
+
* what it is — nothing in it is an element a page composes. The page works the figures out, from a
|
|
9
|
+
* live feed, a formula or both; the block only sets them, so the same block serves a margin
|
|
10
|
+
* calculator, a crypto converter and an affiliate's income estimate without knowing which.
|
|
11
|
+
*/
|
|
12
|
+
/** One figure an Estimator shows: what it is, its value, and anything a reader needs to read it. */
|
|
13
|
+
export interface EstimatorResult {
|
|
14
|
+
/** What the figure is, in a few words: 'Margin required', 'You receive', 'Monthly income'. */
|
|
15
|
+
label: string;
|
|
16
|
+
/**
|
|
17
|
+
* The figure, written exactly as it is to be read: '1,240.50 USD', '0.0214 BTC', '$2,400'.
|
|
18
|
+
*
|
|
19
|
+
* A string rather than a number, because the way it is written is the page's: its currency, its
|
|
20
|
+
* digits, its grouping, its locale. The block draws it as given and isolates it, so a sign or a
|
|
21
|
+
* currency keeps its place in a right-to-left line.
|
|
22
|
+
*/
|
|
23
|
+
value: string;
|
|
24
|
+
/**
|
|
25
|
+
* A line under the figure, where it needs one to be read correctly: 'Per lot, at 1:500
|
|
26
|
+
* leverage', 'Estimate at the current price'. Optional; most figures need none.
|
|
27
|
+
*/
|
|
28
|
+
note?: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The figures an Estimator lays out once a reader has filled its inputs in.
|
|
3
|
+
*
|
|
4
|
+
* Exported from the package for the reason `stats-data.ts` and `comparison-cards-data.ts` are: a
|
|
5
|
+
* block whose content is a list is one whose consumer builds a value before passing it.
|
|
6
|
+
*
|
|
7
|
+
* A record rather than a component per figure, because a result is a number and the words that say
|
|
8
|
+
* what it is — nothing in it is an element a page composes. The page works the figures out, from a
|
|
9
|
+
* live feed, a formula or both; the block only sets them, so the same block serves a margin
|
|
10
|
+
* calculator, a crypto converter and an affiliate's income estimate without knowing which.
|
|
11
|
+
*/
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The records the Illustration family's parts draw from.
|
|
3
|
+
*
|
|
4
|
+
* Exported from the package for the reason the other data shapes are: the page builds the value and
|
|
5
|
+
* hands it over, and building it without the type means writing the shape out twice.
|
|
6
|
+
*/
|
|
7
|
+
/** One option in an IllustrationChoice: what it is called, and a line under it where it needs one. */
|
|
8
|
+
export interface IllustrationChoiceOption {
|
|
9
|
+
/** Which option this is; the choice's `value` names the one picked. */
|
|
10
|
+
value: string;
|
|
11
|
+
/** The option's name, in a few words — "Demo account". */
|
|
12
|
+
label: string;
|
|
13
|
+
/** A line under the name saying what the option means — "Practise with virtual funds". */
|
|
14
|
+
description?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The records the Illustration family's parts draw from.
|
|
3
|
+
*
|
|
4
|
+
* Exported from the package for the reason the other data shapes are: the page builds the value and
|
|
5
|
+
* hands it over, and building it without the type means writing the shape out twice.
|
|
6
|
+
*/
|
|
7
|
+
export {};
|
|
@@ -40,10 +40,16 @@ export { DataTable, type DataTableProps } from './blocks/data-table/DataTable.js
|
|
|
40
40
|
export { dataTableParts, dataTableDefaults } from './blocks/data-table/DataTable.types.js';
|
|
41
41
|
export { Divider, type DividerProps } from './core/divider/Divider.js';
|
|
42
42
|
export { dividerParts, dividerDefaults } from './core/divider/Divider.types.js';
|
|
43
|
+
export { DocumentLink, type DocumentLinkProps } from './core/document-link/DocumentLink.js';
|
|
44
|
+
export { documentLinkParts, documentLinkDefaults } from './core/document-link/DocumentLink.types.js';
|
|
45
|
+
export { Documents, type DocumentsProps } from './blocks/documents/Documents.js';
|
|
46
|
+
export { documentsParts, documentsDefaults } from './blocks/documents/Documents.types.js';
|
|
43
47
|
export { DownloadBanner, type DownloadBannerProps } from './blocks/download-banner/DownloadBanner.js';
|
|
44
48
|
export { downloadBannerParts, downloadBannerDefaults } from './blocks/download-banner/DownloadBanner.types.js';
|
|
45
49
|
export { DropdownMenu, type DropdownMenuProps } from './core/dropdown-menu/DropdownMenu.js';
|
|
46
50
|
export { dropdownMenuParts, dropdownMenuDefaults } from './core/dropdown-menu/DropdownMenu.types.js';
|
|
51
|
+
export { Estimator, type EstimatorProps } from './blocks/estimator/Estimator.js';
|
|
52
|
+
export { estimatorParts, estimatorDefaults } from './blocks/estimator/Estimator.types.js';
|
|
47
53
|
export { FaqAccordion, type FaqAccordionProps } from './blocks/faq-accordion/FaqAccordion.js';
|
|
48
54
|
export { faqAccordionParts, faqAccordionDefaults } from './blocks/faq-accordion/FaqAccordion.types.js';
|
|
49
55
|
export { FeatureBullets, type FeatureBulletsProps } from './blocks/feature-bullets/FeatureBullets.js';
|
|
@@ -58,6 +64,8 @@ export { FeatureSplit, type FeatureSplitProps } from './blocks/feature-split/Fea
|
|
|
58
64
|
export { featureSplitParts, featureSplitDefaults } from './blocks/feature-split/FeatureSplit.types.js';
|
|
59
65
|
export { FeatureStack, type FeatureStackProps } from './blocks/feature-stack/FeatureStack.js';
|
|
60
66
|
export { featureStackParts, featureStackDefaults } from './blocks/feature-stack/FeatureStack.types.js';
|
|
67
|
+
export { FeatureTabs, type FeatureTabsProps } from './blocks/feature-tabs/FeatureTabs.js';
|
|
68
|
+
export { featureTabsParts, featureTabsDefaults } from './blocks/feature-tabs/FeatureTabs.types.js';
|
|
61
69
|
export { FilterChip, type FilterChipProps } from './core/filter-chip/FilterChip.js';
|
|
62
70
|
export { filterChipParts, filterChipDefaults } from './core/filter-chip/FilterChip.types.js';
|
|
63
71
|
export { Footer, type FooterProps } from './core/footer/Footer.js';
|
|
@@ -70,6 +78,14 @@ export { Icon, type IconProps } from './core/icon/Icon.js';
|
|
|
70
78
|
export { iconParts, iconDefaults } from './core/icon/Icon.types.js';
|
|
71
79
|
export { IllustrationCard, type IllustrationCardProps } from './core/illustration-card/IllustrationCard.js';
|
|
72
80
|
export { illustrationCardParts, illustrationCardDefaults } from './core/illustration-card/IllustrationCard.types.js';
|
|
81
|
+
export { IllustrationCheck, type IllustrationCheckProps } from './core/illustration-check/IllustrationCheck.js';
|
|
82
|
+
export { illustrationCheckParts, illustrationCheckDefaults } from './core/illustration-check/IllustrationCheck.types.js';
|
|
83
|
+
export { IllustrationChoice, type IllustrationChoiceProps } from './core/illustration-choice/IllustrationChoice.js';
|
|
84
|
+
export { illustrationChoiceParts } from './core/illustration-choice/IllustrationChoice.types.js';
|
|
85
|
+
export { IllustrationCode, type IllustrationCodeProps } from './core/illustration-code/IllustrationCode.js';
|
|
86
|
+
export { illustrationCodeParts, illustrationCodeDefaults } from './core/illustration-code/IllustrationCode.types.js';
|
|
87
|
+
export { IllustrationList, type IllustrationListProps } from './core/illustration-list/IllustrationList.js';
|
|
88
|
+
export { illustrationListParts } from './core/illustration-list/IllustrationList.types.js';
|
|
73
89
|
export { IllustrationScene, type IllustrationSceneProps } from './core/illustration-scene/IllustrationScene.js';
|
|
74
90
|
export { illustrationSceneParts, illustrationSceneDefaults } from './core/illustration-scene/IllustrationScene.types.js';
|
|
75
91
|
export { ImageBanner, type ImageBannerProps } from './blocks/image-banner/ImageBanner.js';
|
|
@@ -109,6 +125,8 @@ export { PaginationDots, type PaginationDotsProps } from './core/pagination-dots
|
|
|
109
125
|
export { paginationDotsParts, paginationDotsDefaults } from './core/pagination-dots/PaginationDots.types.js';
|
|
110
126
|
export { ProductHero, type ProductHeroProps } from './blocks/product-hero/ProductHero.js';
|
|
111
127
|
export { productHeroParts, productHeroDefaults } from './blocks/product-hero/ProductHero.types.js';
|
|
128
|
+
export { ProgressBar, type ProgressBarProps } from './core/progress-bar/ProgressBar.js';
|
|
129
|
+
export { progressBarParts, progressBarDefaults } from './core/progress-bar/ProgressBar.types.js';
|
|
112
130
|
export { RemovableChip, type RemovableChipProps } from './core/removable-chip/RemovableChip.js';
|
|
113
131
|
export { removableChipParts, removableChipDefaults } from './core/removable-chip/RemovableChip.types.js';
|
|
114
132
|
export { ResourceBanner, type ResourceBannerProps } from './blocks/resource-banner/ResourceBanner.js';
|
|
@@ -117,6 +135,8 @@ export { Row, type RowProps } from './layout/row/Row.js';
|
|
|
117
135
|
export { rowParts, rowDefaults } from './layout/row/Row.types.js';
|
|
118
136
|
export { SceneScroll, type SceneScrollProps } from './blocks/scene-scroll/SceneScroll.js';
|
|
119
137
|
export { sceneScrollParts, sceneScrollDefaults } from './blocks/scene-scroll/SceneScroll.types.js';
|
|
138
|
+
export { SceneScrollWord, type SceneScrollWordProps } from './blocks/scene-scroll-word/SceneScrollWord.js';
|
|
139
|
+
export { sceneScrollWordParts, sceneScrollWordDefaults } from './blocks/scene-scroll-word/SceneScrollWord.types.js';
|
|
120
140
|
export { Scroller, type ScrollerProps } from './layout/scroller/Scroller.js';
|
|
121
141
|
export { scrollerParts, scrollerDefaults } from './layout/scroller/Scroller.types.js';
|
|
122
142
|
export { SearchInput, type SearchInputProps } from './core/search-input/SearchInput.js';
|
|
@@ -135,6 +155,8 @@ export { Stack, type StackProps } from './layout/stack/Stack.js';
|
|
|
135
155
|
export { stackParts, stackDefaults } from './layout/stack/Stack.types.js';
|
|
136
156
|
export { Stats, type StatsProps } from './blocks/stats/Stats.js';
|
|
137
157
|
export { statsParts, statsDefaults } from './blocks/stats/Stats.types.js';
|
|
158
|
+
export { StatsCarousel, type StatsCarouselProps } from './blocks/stats-carousel/StatsCarousel.js';
|
|
159
|
+
export { statsCarouselParts, statsCarouselDefaults } from './blocks/stats-carousel/StatsCarousel.types.js';
|
|
138
160
|
export { StatusDot, type StatusDotProps } from './core/status-dot/StatusDot.js';
|
|
139
161
|
export { statusDotParts, statusDotDefaults } from './core/status-dot/StatusDot.types.js';
|
|
140
162
|
export { Steps, type StepsProps } from './blocks/steps/Steps.js';
|
|
@@ -187,9 +209,11 @@ export type { ComparisonCardsCard } from './comparison-cards-data.js';
|
|
|
187
209
|
export type { ComparisonTableColumn, ComparisonTableRow } from './comparison-table-data.js';
|
|
188
210
|
export type { DataTableColumn, DataTableRow } from './data-table-data.js';
|
|
189
211
|
export type { DownloadBannerBadge, DownloadBannerQr } from './download-banner-data.js';
|
|
212
|
+
export type { EstimatorResult } from './estimator-data.js';
|
|
213
|
+
export type { IllustrationChoiceOption } from './illustration-data.js';
|
|
190
214
|
export type { LogoTile } from './logo-data.js';
|
|
191
215
|
export type { ResourceBannerLink } from './resource-banner-data.js';
|
|
192
|
-
export type { SceneScrollScene } from './scene-scroll-data.js';
|
|
216
|
+
export type { SceneScrollScene, SceneScrollWordScene } from './scene-scroll-data.js';
|
|
193
217
|
export type { FeatureScrollStep } from './scroll-data.js';
|
|
194
218
|
export type { StatsFigure } from './stats-data.js';
|
|
195
219
|
export type { StepsItem } from './steps-data.js';
|
package/dist/components/index.js
CHANGED
|
@@ -41,10 +41,16 @@ export { DataTable } from './blocks/data-table/DataTable.js';
|
|
|
41
41
|
export { dataTableParts, dataTableDefaults } from './blocks/data-table/DataTable.types.js';
|
|
42
42
|
export { Divider } from './core/divider/Divider.js';
|
|
43
43
|
export { dividerParts, dividerDefaults } from './core/divider/Divider.types.js';
|
|
44
|
+
export { DocumentLink } from './core/document-link/DocumentLink.js';
|
|
45
|
+
export { documentLinkParts, documentLinkDefaults } from './core/document-link/DocumentLink.types.js';
|
|
46
|
+
export { Documents } from './blocks/documents/Documents.js';
|
|
47
|
+
export { documentsParts, documentsDefaults } from './blocks/documents/Documents.types.js';
|
|
44
48
|
export { DownloadBanner } from './blocks/download-banner/DownloadBanner.js';
|
|
45
49
|
export { downloadBannerParts, downloadBannerDefaults } from './blocks/download-banner/DownloadBanner.types.js';
|
|
46
50
|
export { DropdownMenu } from './core/dropdown-menu/DropdownMenu.js';
|
|
47
51
|
export { dropdownMenuParts, dropdownMenuDefaults } from './core/dropdown-menu/DropdownMenu.types.js';
|
|
52
|
+
export { Estimator } from './blocks/estimator/Estimator.js';
|
|
53
|
+
export { estimatorParts, estimatorDefaults } from './blocks/estimator/Estimator.types.js';
|
|
48
54
|
export { FaqAccordion } from './blocks/faq-accordion/FaqAccordion.js';
|
|
49
55
|
export { faqAccordionParts, faqAccordionDefaults } from './blocks/faq-accordion/FaqAccordion.types.js';
|
|
50
56
|
export { FeatureBullets } from './blocks/feature-bullets/FeatureBullets.js';
|
|
@@ -59,6 +65,8 @@ export { FeatureSplit } from './blocks/feature-split/FeatureSplit.js';
|
|
|
59
65
|
export { featureSplitParts, featureSplitDefaults } from './blocks/feature-split/FeatureSplit.types.js';
|
|
60
66
|
export { FeatureStack } from './blocks/feature-stack/FeatureStack.js';
|
|
61
67
|
export { featureStackParts, featureStackDefaults } from './blocks/feature-stack/FeatureStack.types.js';
|
|
68
|
+
export { FeatureTabs } from './blocks/feature-tabs/FeatureTabs.js';
|
|
69
|
+
export { featureTabsParts, featureTabsDefaults } from './blocks/feature-tabs/FeatureTabs.types.js';
|
|
62
70
|
export { FilterChip } from './core/filter-chip/FilterChip.js';
|
|
63
71
|
export { filterChipParts, filterChipDefaults } from './core/filter-chip/FilterChip.types.js';
|
|
64
72
|
export { Footer } from './core/footer/Footer.js';
|
|
@@ -71,6 +79,14 @@ export { Icon } from './core/icon/Icon.js';
|
|
|
71
79
|
export { iconParts, iconDefaults } from './core/icon/Icon.types.js';
|
|
72
80
|
export { IllustrationCard } from './core/illustration-card/IllustrationCard.js';
|
|
73
81
|
export { illustrationCardParts, illustrationCardDefaults } from './core/illustration-card/IllustrationCard.types.js';
|
|
82
|
+
export { IllustrationCheck } from './core/illustration-check/IllustrationCheck.js';
|
|
83
|
+
export { illustrationCheckParts, illustrationCheckDefaults } from './core/illustration-check/IllustrationCheck.types.js';
|
|
84
|
+
export { IllustrationChoice } from './core/illustration-choice/IllustrationChoice.js';
|
|
85
|
+
export { illustrationChoiceParts } from './core/illustration-choice/IllustrationChoice.types.js';
|
|
86
|
+
export { IllustrationCode } from './core/illustration-code/IllustrationCode.js';
|
|
87
|
+
export { illustrationCodeParts, illustrationCodeDefaults } from './core/illustration-code/IllustrationCode.types.js';
|
|
88
|
+
export { IllustrationList } from './core/illustration-list/IllustrationList.js';
|
|
89
|
+
export { illustrationListParts } from './core/illustration-list/IllustrationList.types.js';
|
|
74
90
|
export { IllustrationScene } from './core/illustration-scene/IllustrationScene.js';
|
|
75
91
|
export { illustrationSceneParts, illustrationSceneDefaults } from './core/illustration-scene/IllustrationScene.types.js';
|
|
76
92
|
export { ImageBanner } from './blocks/image-banner/ImageBanner.js';
|
|
@@ -110,6 +126,8 @@ export { PaginationDots } from './core/pagination-dots/PaginationDots.js';
|
|
|
110
126
|
export { paginationDotsParts, paginationDotsDefaults } from './core/pagination-dots/PaginationDots.types.js';
|
|
111
127
|
export { ProductHero } from './blocks/product-hero/ProductHero.js';
|
|
112
128
|
export { productHeroParts, productHeroDefaults } from './blocks/product-hero/ProductHero.types.js';
|
|
129
|
+
export { ProgressBar } from './core/progress-bar/ProgressBar.js';
|
|
130
|
+
export { progressBarParts, progressBarDefaults } from './core/progress-bar/ProgressBar.types.js';
|
|
113
131
|
export { RemovableChip } from './core/removable-chip/RemovableChip.js';
|
|
114
132
|
export { removableChipParts, removableChipDefaults } from './core/removable-chip/RemovableChip.types.js';
|
|
115
133
|
export { ResourceBanner } from './blocks/resource-banner/ResourceBanner.js';
|
|
@@ -118,6 +136,8 @@ export { Row } from './layout/row/Row.js';
|
|
|
118
136
|
export { rowParts, rowDefaults } from './layout/row/Row.types.js';
|
|
119
137
|
export { SceneScroll } from './blocks/scene-scroll/SceneScroll.js';
|
|
120
138
|
export { sceneScrollParts, sceneScrollDefaults } from './blocks/scene-scroll/SceneScroll.types.js';
|
|
139
|
+
export { SceneScrollWord } from './blocks/scene-scroll-word/SceneScrollWord.js';
|
|
140
|
+
export { sceneScrollWordParts, sceneScrollWordDefaults } from './blocks/scene-scroll-word/SceneScrollWord.types.js';
|
|
121
141
|
export { Scroller } from './layout/scroller/Scroller.js';
|
|
122
142
|
export { scrollerParts, scrollerDefaults } from './layout/scroller/Scroller.types.js';
|
|
123
143
|
export { SearchInput } from './core/search-input/SearchInput.js';
|
|
@@ -136,6 +156,8 @@ export { Stack } from './layout/stack/Stack.js';
|
|
|
136
156
|
export { stackParts, stackDefaults } from './layout/stack/Stack.types.js';
|
|
137
157
|
export { Stats } from './blocks/stats/Stats.js';
|
|
138
158
|
export { statsParts, statsDefaults } from './blocks/stats/Stats.types.js';
|
|
159
|
+
export { StatsCarousel } from './blocks/stats-carousel/StatsCarousel.js';
|
|
160
|
+
export { statsCarouselParts, statsCarouselDefaults } from './blocks/stats-carousel/StatsCarousel.types.js';
|
|
139
161
|
export { StatusDot } from './core/status-dot/StatusDot.js';
|
|
140
162
|
export { statusDotParts, statusDotDefaults } from './core/status-dot/StatusDot.types.js';
|
|
141
163
|
export { Steps } from './blocks/steps/Steps.js';
|
|
@@ -32,6 +32,11 @@
|
|
|
32
32
|
gap: var(--space-gap-3xl);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
:where([data-dds-context="marketing"]) .dds-grid[data-gap="gutter"] {
|
|
36
|
+
--dds-grid-gap: var(--space-grid-gutter);
|
|
37
|
+
gap: var(--space-grid-gutter);
|
|
38
|
+
}
|
|
39
|
+
|
|
35
40
|
:where([data-dds-context="marketing"]) .dds-grid[data-gap="lg"] {
|
|
36
41
|
--dds-grid-gap: var(--space-gap-lg);
|
|
37
42
|
gap: var(--space-gap-lg);
|
|
@@ -9,8 +9,9 @@ export interface GridOwnProps {
|
|
|
9
9
|
* `xl` — Between the parts of a card, taken as a field — cells that each hold a picture as well as words. Drops one step below 768px, a phone having a third of the width to spend
|
|
10
10
|
* `2xl` — Between one section of a page and the next, laid out as a field. Drops one step below 768px, a phone having a third of the width to spend
|
|
11
11
|
* `3xl` — The largest gap, for separating whole movements of a page laid out as a field. Drops one step below 768px, a phone having a third of the width to spend
|
|
12
|
+
* `gutter` — A row of cards — the gutter every card block (FeatureCards, ComparisonCards, Tiers, TeamGrid) sets between its cards, so a grid of cards composed on a page stands as those do. Narrower on a phone, as theirs is
|
|
12
13
|
*/
|
|
13
|
-
gap?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
|
|
14
|
+
gap?: 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'gutter';
|
|
14
15
|
/**
|
|
15
16
|
* `sm` — The narrow floor, for a cell holding a logo, an icon and a word, or one short claim. Six of these clear the page's measure with its gutter still on both sides
|
|
16
17
|
* `md` — The default floor, for a feature card: a heading and a line or two beneath it. Four fit the page's measure, so a field of three has room to spare
|
|
@@ -16,6 +16,41 @@ export interface SceneScrollScene {
|
|
|
16
16
|
title: string;
|
|
17
17
|
/** A line under the title saying what it means for the reader. A sentence or two, not a paragraph. */
|
|
18
18
|
description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The ink the scene's words are drawn in, decided by the photograph behind them, since nothing
|
|
21
|
+
* lies between the two: `light`, white, over a dark photograph, and `dark`, near-black, over a
|
|
22
|
+
* light one — a daylight sky. The block cannot see the photograph, so this is the author's to get
|
|
23
|
+
* right, and AA contrast is theirs to check against the part of the photograph the words sit on.
|
|
24
|
+
* `light` where it is left out.
|
|
25
|
+
*/
|
|
26
|
+
ink?: 'light' | 'dark';
|
|
27
|
+
/**
|
|
28
|
+
* The photograph filling the band behind the words, cropped to fill it. Usually decoration, so
|
|
29
|
+
* `alt` is empty; a photograph that shows something the words do not say is described.
|
|
30
|
+
*/
|
|
31
|
+
image: BlockImage;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* One scene of a SceneScrollWord: the word that completes the section's shared title, the line
|
|
35
|
+
* under it, and the photograph behind them.
|
|
36
|
+
*/
|
|
37
|
+
export interface SceneScrollWordScene {
|
|
38
|
+
/**
|
|
39
|
+
* The scene's word, drawn between the section's `titleBefore` and `titleAfter` — "day" for
|
|
40
|
+
* "Trade all day". The two scenes' words are of about the same length, so the words around them do
|
|
41
|
+
* not move as one replaces the other.
|
|
42
|
+
*/
|
|
43
|
+
word: string;
|
|
44
|
+
/** A line under the title saying what it means for the reader. A sentence or two, not a paragraph. */
|
|
45
|
+
description?: string;
|
|
46
|
+
/**
|
|
47
|
+
* The ink the scene's words are drawn in, decided by the photograph behind them, since nothing
|
|
48
|
+
* lies between the two: `light`, white, over a dark photograph, and `dark`, near-black, over a
|
|
49
|
+
* light one — a daylight sky. The block cannot see the photograph, so this is the author's to get
|
|
50
|
+
* right, and AA contrast is theirs to check against the part of the photograph the words sit on.
|
|
51
|
+
* `light` where it is left out.
|
|
52
|
+
*/
|
|
53
|
+
ink?: 'light' | 'dark';
|
|
19
54
|
/**
|
|
20
55
|
* The photograph filling the band behind the words, cropped to fill it. Usually decoration, so
|
|
21
56
|
* `alt` is empty; a photograph that shows something the words do not say is described.
|
|
@@ -40,8 +40,9 @@ export interface TiersItem {
|
|
|
40
40
|
description: string;
|
|
41
41
|
/**
|
|
42
42
|
* What it takes to reach the tier, under the card — '3-month average commission:\n$500+'. A line
|
|
43
|
-
* break in it is kept, so the measure and the amount can sit on lines of their own.
|
|
44
|
-
*
|
|
43
|
+
* break in it is kept, so the measure and the amount can sit on lines of their own. Give the entry
|
|
44
|
+
* tier one too — what it takes to join, 'To join:\nSign up as a partner' — so every card has the
|
|
45
|
+
* same line under it. Left out, that tier's card has nothing under it and the row reads unfinished.
|
|
45
46
|
*/
|
|
46
47
|
qualification?: string;
|
|
47
48
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/accounts';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/accounts';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/app-stores';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/app-stores';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/currency';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/currency';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/flag';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/flag';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/illustrative';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/illustrative';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// Every Quill icon, re-exported so an app installs only @deriv-com/dds-marketing. Prefer a
|
|
2
|
+
// group subpath (`@deriv-com/dds-marketing/icons/system`) where you can: the full index is ~1,850 icons,
|
|
3
|
+
// and a dev server that does not tree-shake loads all of them.
|
|
4
|
+
export * from '@deriv-com/quill-icons-web';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/markets';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/markets';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/social';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/social';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/system';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/system';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/trade';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@deriv-com/quill-icons-web/trade';
|
package/dist/marketing.css
CHANGED
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
--border-width-none: 0px;
|
|
21
21
|
--border-width-strong: 2px;
|
|
22
22
|
--border-width-thick: 4px;
|
|
23
|
+
--color-bg-accent-slate-subtle: #F3F5FA;
|
|
24
|
+
--color-bg-accent-slate: #181C25;
|
|
23
25
|
--color-bg-active-inverse: #FFFFFF14;
|
|
24
26
|
--color-bg-active-on-brand-strong: #FFFFFF14;
|
|
25
27
|
--color-bg-active: #00000014;
|
|
@@ -27,7 +29,7 @@
|
|
|
27
29
|
--color-bg-brand-active: #D2002A;
|
|
28
30
|
--color-bg-brand-deep: #3F0000;
|
|
29
31
|
--color-bg-brand-hover: #E82A3D;
|
|
30
|
-
--color-bg-brand-strong: #
|
|
32
|
+
--color-bg-brand-strong: #181C25;
|
|
31
33
|
--color-bg-brand-subtle: #FFE4E1;
|
|
32
34
|
--color-bg-brand: #FF444F;
|
|
33
35
|
--color-bg-danger-subtle: #FFE7E0;
|
|
@@ -53,8 +55,9 @@
|
|
|
53
55
|
--color-bg-surface-card-light-raised: #FFFFFF;
|
|
54
56
|
--color-bg-surface-card-light: #F4F5F6;
|
|
55
57
|
--color-bg-surface-card-raised: #FFFFFF;
|
|
56
|
-
--color-bg-surface-card-strong-
|
|
57
|
-
--color-bg-surface-card-strong: #
|
|
58
|
+
--color-bg-surface-card-strong-on-brand-strong: #242934;
|
|
59
|
+
--color-bg-surface-card-strong-raised: #181C25;
|
|
60
|
+
--color-bg-surface-card-strong: #181C25;
|
|
58
61
|
--color-bg-surface-glass: #FFFFFFE0;
|
|
59
62
|
--color-bg-surface-inverse: #FFFFFF14;
|
|
60
63
|
--color-bg-surface-modal: #FFFFFF;
|
|
@@ -72,6 +75,7 @@
|
|
|
72
75
|
--color-bg-transparent: #FFFFFF00;
|
|
73
76
|
--color-bg-warning-subtle: #FFEFCB;
|
|
74
77
|
--color-bg-warning: #F59E0B;
|
|
78
|
+
--color-border-accent-slate: #181C25;
|
|
75
79
|
--color-border-danger: #E3272A;
|
|
76
80
|
--color-border-default: #00000029;
|
|
77
81
|
--color-border-focus-inverse: #FFFFFF;
|
|
@@ -80,11 +84,13 @@
|
|
|
80
84
|
--color-border-info: #0068FF;
|
|
81
85
|
--color-border-pattern-inverse: #FFFFFF3D;
|
|
82
86
|
--color-border-pattern: #0000001A;
|
|
87
|
+
--color-border-strong-inverse: #FFFFFFA3;
|
|
83
88
|
--color-border-strong: #63666B;
|
|
84
89
|
--color-border-subtle-inverse: #FFFFFF29;
|
|
85
90
|
--color-border-subtle: #0000000F;
|
|
86
91
|
--color-border-success: #00A14E;
|
|
87
92
|
--color-border-warning: #F59E0B;
|
|
93
|
+
--color-fg-accent-slate: #464D5D;
|
|
88
94
|
--color-fg-brand-accent: #FF444F;
|
|
89
95
|
--color-fg-brand: #AA0000;
|
|
90
96
|
--color-fg-danger: #C00000;
|
|
@@ -95,6 +101,7 @@
|
|
|
95
101
|
--color-fg-muted: #63666B;
|
|
96
102
|
--color-fg-on-brand-strong: #FFFFFF;
|
|
97
103
|
--color-fg-on-brand: #FFFFFF;
|
|
104
|
+
--color-fg-on-media-light: #0C0C0C;
|
|
98
105
|
--color-fg-on-solid: #FFFFFF;
|
|
99
106
|
--color-fg-on-strong-on-brand: #FFFFFF;
|
|
100
107
|
--color-fg-on-strong: #FFFFFF;
|
|
@@ -224,6 +231,7 @@
|
|
|
224
231
|
--layer-overlay: 800;
|
|
225
232
|
--layer-popup: 400;
|
|
226
233
|
--motion-distance-drift: 64px;
|
|
234
|
+
--motion-distance-shake: 4px;
|
|
227
235
|
--motion-duration-dramatic: 700ms;
|
|
228
236
|
--motion-duration-drift: 10000ms;
|
|
229
237
|
--motion-duration-dwell: 5000ms;
|
|
@@ -318,6 +326,8 @@
|
|
|
318
326
|
--size-menu-panel-max: 846px;
|
|
319
327
|
--size-menu-panel-min: 320px;
|
|
320
328
|
--size-mesh-blur: 48px;
|
|
329
|
+
--size-progressbar-track-md: 8px;
|
|
330
|
+
--size-progressbar-track-sm: 4px;
|
|
321
331
|
--size-review-card-min: 320px;
|
|
322
332
|
--size-rings-pitch: 64px;
|
|
323
333
|
--size-rings-spotlight: 128px;
|
|
@@ -391,6 +401,8 @@
|
|
|
391
401
|
--border-width-none: 0px;
|
|
392
402
|
--border-width-strong: 2px;
|
|
393
403
|
--border-width-thick: 4px;
|
|
404
|
+
--color-bg-accent-slate-subtle: #090C12;
|
|
405
|
+
--color-bg-accent-slate: #868E9F;
|
|
394
406
|
--color-bg-active-inverse: #00000014;
|
|
395
407
|
--color-bg-active-on-brand-strong: #FFFFFF14;
|
|
396
408
|
--color-bg-active: #FFFFFF14;
|
|
@@ -398,7 +410,7 @@
|
|
|
398
410
|
--color-bg-brand-active: #D2002A;
|
|
399
411
|
--color-bg-brand-deep: #3F0000;
|
|
400
412
|
--color-bg-brand-hover: #E82A3D;
|
|
401
|
-
--color-bg-brand-strong: #
|
|
413
|
+
--color-bg-brand-strong: #090C12;
|
|
402
414
|
--color-bg-brand-subtle: #3F0000;
|
|
403
415
|
--color-bg-brand: #FF444F;
|
|
404
416
|
--color-bg-danger-subtle: #390000;
|
|
@@ -424,8 +436,9 @@
|
|
|
424
436
|
--color-bg-surface-card-light-raised: #F4F5F6;
|
|
425
437
|
--color-bg-surface-card-light: #F4F5F6;
|
|
426
438
|
--color-bg-surface-card-raised: #FFFFFF0F;
|
|
427
|
-
--color-bg-surface-card-strong-
|
|
428
|
-
--color-bg-surface-card-strong: #
|
|
439
|
+
--color-bg-surface-card-strong-on-brand-strong: #181C25;
|
|
440
|
+
--color-bg-surface-card-strong-raised: #303644;
|
|
441
|
+
--color-bg-surface-card-strong: #181C25;
|
|
429
442
|
--color-bg-surface-glass: #FFFFFF1F;
|
|
430
443
|
--color-bg-surface-inverse: #FFFFFF14;
|
|
431
444
|
--color-bg-surface-modal: #202020;
|
|
@@ -443,6 +456,7 @@
|
|
|
443
456
|
--color-bg-transparent: #FFFFFF00;
|
|
444
457
|
--color-bg-warning-subtle: #360F00;
|
|
445
458
|
--color-bg-warning: #FDAE43;
|
|
459
|
+
--color-border-accent-slate: #868E9F;
|
|
446
460
|
--color-border-danger: #F6554D;
|
|
447
461
|
--color-border-default: #FFFFFF29;
|
|
448
462
|
--color-border-focus-inverse: #0C0C0C;
|
|
@@ -451,11 +465,13 @@
|
|
|
451
465
|
--color-border-info: #3786FF;
|
|
452
466
|
--color-border-pattern-inverse: #FFFFFF3D;
|
|
453
467
|
--color-border-pattern: #FFFFFF3D;
|
|
468
|
+
--color-border-strong-inverse: #FFFFFFA3;
|
|
454
469
|
--color-border-strong: #A2A7AD;
|
|
455
470
|
--color-border-subtle-inverse: #FFFFFF29;
|
|
456
471
|
--color-border-subtle: #FFFFFF0F;
|
|
457
472
|
--color-border-success: #45B569;
|
|
458
473
|
--color-border-warning: #FDAE43;
|
|
474
|
+
--color-fg-accent-slate: #9FA7B7;
|
|
459
475
|
--color-fg-brand-accent: #FF444F;
|
|
460
476
|
--color-fg-brand: #FF8583;
|
|
461
477
|
--color-fg-danger: #FF796E;
|
|
@@ -466,6 +482,7 @@
|
|
|
466
482
|
--color-fg-muted: #A2A7AD;
|
|
467
483
|
--color-fg-on-brand-strong: #FFFFFF;
|
|
468
484
|
--color-fg-on-brand: #FFFFFF;
|
|
485
|
+
--color-fg-on-media-light: #0C0C0C;
|
|
469
486
|
--color-fg-on-solid: #0C0C0C;
|
|
470
487
|
--color-fg-on-strong-on-brand: #FFFFFF;
|
|
471
488
|
--color-fg-on-strong: #0C0C0C;
|
|
@@ -581,6 +598,7 @@
|
|
|
581
598
|
--layer-overlay: 800;
|
|
582
599
|
--layer-popup: 400;
|
|
583
600
|
--motion-distance-drift: 64px;
|
|
601
|
+
--motion-distance-shake: 4px;
|
|
584
602
|
--motion-duration-dramatic: 700ms;
|
|
585
603
|
--motion-duration-drift: 10000ms;
|
|
586
604
|
--motion-duration-dwell: 5000ms;
|
|
@@ -675,6 +693,8 @@
|
|
|
675
693
|
--size-menu-panel-max: 846px;
|
|
676
694
|
--size-menu-panel-min: 320px;
|
|
677
695
|
--size-mesh-blur: 48px;
|
|
696
|
+
--size-progressbar-track-md: 8px;
|
|
697
|
+
--size-progressbar-track-sm: 4px;
|
|
678
698
|
--size-review-card-min: 320px;
|
|
679
699
|
--size-rings-pitch: 64px;
|
|
680
700
|
--size-rings-spotlight: 128px;
|