@deriv-com/dds-marketing 1.1.1 → 1.1.3
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 +4 -0
- package/.llm/components/accordionitem.md +4 -0
- package/.llm/components/aspectratio.md +4 -0
- package/.llm/components/awards.md +4 -0
- package/.llm/components/background.md +4 -0
- package/.llm/components/badge.md +7 -3
- package/.llm/components/bottomsheet.md +7 -3
- package/.llm/components/breadcrumb.md +4 -0
- package/.llm/components/breadcrumbitem.md +4 -0
- package/.llm/components/button.md +4 -0
- package/.llm/components/buttonicon.md +10 -6
- package/.llm/components/card.md +5 -1
- package/.llm/components/cardbody.md +5 -1
- package/.llm/components/cardbutton.md +4 -0
- package/.llm/components/checkbox.md +1 -1
- package/.llm/components/comparisoncards.md +4 -0
- package/.llm/components/comparisontable.md +4 -0
- package/.llm/components/ctabanner.md +4 -0
- package/.llm/components/ctabannerslider.md +4 -0
- package/.llm/components/datatable.md +4 -0
- package/.llm/components/divider.md +4 -0
- package/.llm/components/downloadbanner.md +4 -0
- package/.llm/components/dropdownmenu.md +9 -5
- package/.llm/components/estimator.md +336 -0
- package/.llm/components/faqaccordion.md +4 -0
- package/.llm/components/featurebullets.md +4 -0
- package/.llm/components/featurecards.md +5 -1
- package/.llm/components/featurecardscarousel.md +4 -0
- package/.llm/components/featurescroll.md +5 -1
- package/.llm/components/featuresplit.md +4 -0
- package/.llm/components/featurestack.md +4 -0
- package/.llm/components/filterchip.md +5 -1
- package/.llm/components/footer.md +4 -0
- package/.llm/components/footergroup.md +4 -0
- package/.llm/components/grid.md +4 -0
- package/.llm/components/icon.md +9 -5
- package/.llm/components/illustrationcard.md +4 -0
- package/.llm/components/illustrationscene.md +4 -0
- package/.llm/components/imagebanner.md +6 -2
- package/.llm/components/landinghero.md +4 -0
- package/.llm/components/link.md +5 -1
- package/.llm/components/logocolumns.md +4 -0
- package/.llm/components/logorows.md +4 -0
- package/.llm/components/menuitem.md +6 -2
- package/.llm/components/navbar.md +5 -1
- package/.llm/components/navbaritem.md +4 -0
- package/.llm/components/navbarmenu.md +4 -0
- package/.llm/components/navbarmenugroup.md +4 -0
- package/.llm/components/navbarpanel.md +4 -0
- package/.llm/components/navbarswitcher.md +10 -6
- package/.llm/components/navbarswitcheroption.md +4 -0
- package/.llm/components/option.md +5 -1
- package/.llm/components/pageheader.md +4 -0
- package/.llm/components/pagination.md +4 -0
- package/.llm/components/paginationdots.md +4 -0
- package/.llm/components/producthero.md +4 -0
- package/.llm/components/removablechip.md +5 -1
- package/.llm/components/resourcebanner.md +4 -0
- package/.llm/components/row.md +4 -0
- package/.llm/components/scenescroll.md +4 -0
- package/.llm/components/scroller.md +4 -0
- package/.llm/components/searchinput.md +4 -0
- package/.llm/components/segmentedcontrol.md +5 -1
- package/.llm/components/segmentedcontrolitem.md +6 -2
- package/.llm/components/select.md +4 -0
- package/.llm/components/selectchip.md +4 -0
- package/.llm/components/spinner.md +4 -0
- package/.llm/components/stack.md +4 -0
- package/.llm/components/stats.md +4 -0
- package/.llm/components/statusdot.md +4 -0
- package/.llm/components/steps.md +18 -6
- package/.llm/components/stickycards.md +4 -0
- package/.llm/components/subdomainnavbar.md +5 -1
- package/.llm/components/tab.md +6 -2
- package/.llm/components/table.md +4 -0
- package/.llm/components/tablebody.md +4 -0
- package/.llm/components/tablecell.md +4 -0
- package/.llm/components/tablehead.md +4 -0
- package/.llm/components/tableheadercell.md +4 -0
- package/.llm/components/tablerow.md +4 -0
- package/.llm/components/tablist.md +4 -0
- package/.llm/components/teamgrid.md +4 -0
- package/.llm/components/testimonialrow.md +4 -0
- package/.llm/components/testimonialslider.md +4 -0
- package/.llm/components/textarea.md +4 -0
- package/.llm/components/textinput.md +5 -1
- package/.llm/components/textscroll.md +4 -0
- package/.llm/components/tiers.md +4 -0
- package/.llm/components/typography.md +4 -0
- 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 +1 -1
- 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 +1 -1
- package/.llm/digest/buttonicon.md +1 -1
- 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/downloadbanner.md +1 -1
- 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 +1 -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/filterchip.md +1 -1
- package/.llm/digest/footer.md +1 -1
- package/.llm/digest/footergroup.md +1 -1
- package/.llm/digest/grid.md +1 -1
- package/.llm/digest/icon.md +1 -1
- package/.llm/digest/illustrationcard.md +1 -1
- package/.llm/digest/illustrationscene.md +1 -1
- package/.llm/digest/imagebanner.md +2 -2
- package/.llm/digest/landinghero.md +1 -1
- package/.llm/digest/link.md +1 -1
- package/.llm/digest/logocolumns.md +1 -1
- package/.llm/digest/logorows.md +1 -1
- 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 +1 -1
- 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 +1 -1
- package/.llm/digest/scroller.md +1 -1
- package/.llm/digest/searchinput.md +1 -1
- package/.llm/digest/segmentedcontrol.md +1 -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 +1 -1
- package/.llm/digest/statusdot.md +1 -1
- package/.llm/digest/steps.md +3 -3
- 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 +1 -1
- package/.llm/digest/testimonialslider.md +1 -1
- 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 +1 -1
- package/.llm/index.md +2 -1
- package/.llm/tokens.md +5 -0
- package/AGENTS.md +1 -0
- package/README.md +28 -3
- package/dist/components/blocks/block-parallax.css +62 -0
- package/dist/components/blocks/comparison-cards/comparison-cards-impl.css +0 -12
- package/dist/components/blocks/download-banner/DownloadBanner.d.ts +1 -0
- package/dist/components/blocks/download-banner/DownloadBanner.js +2 -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-bullets/FeatureBullets.d.ts +1 -0
- package/dist/components/blocks/feature-bullets/FeatureBullets.js +2 -1
- package/dist/components/blocks/feature-cards/FeatureCards.d.ts +1 -0
- package/dist/components/blocks/feature-cards/FeatureCards.js +1 -0
- package/dist/components/blocks/feature-scroll/FeatureScroll.js +9 -3
- package/dist/components/blocks/feature-scroll/feature-scroll-impl.css +63 -40
- package/dist/components/blocks/feature-split/FeatureSplit.d.ts +1 -0
- package/dist/components/blocks/feature-split/FeatureSplit.js +2 -1
- package/dist/components/blocks/feature-stack/FeatureStack.d.ts +1 -0
- package/dist/components/blocks/feature-stack/FeatureStack.js +2 -1
- package/dist/components/blocks/image-banner/ImageBanner.d.ts +1 -0
- package/dist/components/blocks/image-banner/ImageBanner.js +2 -1
- package/dist/components/blocks/image-banner/ImageBanner.types.d.ts +2 -2
- package/dist/components/blocks/image-banner/ImageBanner.types.js +1 -1
- package/dist/components/blocks/image-banner/image-banner-impl.css +7 -51
- package/dist/components/blocks/landing-hero/LandingHero.css +1 -1
- package/dist/components/blocks/landing-hero/LandingHero.d.ts +1 -0
- package/dist/components/blocks/landing-hero/LandingHero.js +2 -1
- package/dist/components/blocks/product-hero/ProductHero.css +1 -1
- package/dist/components/blocks/product-hero/ProductHero.d.ts +1 -0
- package/dist/components/blocks/product-hero/ProductHero.js +2 -1
- package/dist/components/blocks/steps/Steps.css +2 -2
- package/dist/components/blocks/steps/Steps.d.ts +1 -0
- package/dist/components/blocks/steps/Steps.js +3 -2
- package/dist/components/blocks/steps/Steps.types.d.ts +1 -1
- package/dist/components/blocks/steps/steps-impl.css +76 -4
- package/dist/components/blocks/steps/use-turn.d.ts +8 -8
- package/dist/components/blocks/steps/use-turn.js +19 -16
- package/dist/components/blocks/team-grid/TeamGrid.d.ts +1 -0
- package/dist/components/blocks/team-grid/TeamGrid.js +2 -1
- package/dist/components/core/card/Card.css +1 -1
- 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/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/estimator-data.d.ts +29 -0
- package/dist/components/estimator-data.js +12 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +2 -0
- 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 +10 -0
- package/package.json +44 -2
package/.llm/digest/footer.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Footer
|
|
4
4
|
|
|
5
|
-
The band that closes
|
|
5
|
+
The band that closes every marketing page: brand, links, legal text
|
|
6
6
|
|
|
7
7
|
`import { Footer } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# FooterGroup
|
|
4
4
|
|
|
5
|
-
A
|
|
5
|
+
A titled list of links in the footer
|
|
6
6
|
|
|
7
7
|
`import { FooterGroup } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/grid.md
CHANGED
package/.llm/digest/icon.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Icon
|
|
4
4
|
|
|
5
|
-
Renders a Quill
|
|
5
|
+
Renders a Quill glyph at a token size, in the colour of the text around it
|
|
6
6
|
|
|
7
7
|
`import { Icon } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# IllustrationCard
|
|
4
4
|
|
|
5
|
-
A
|
|
5
|
+
A glass card showing product information, used as an illustration
|
|
6
6
|
|
|
7
7
|
`import { IllustrationCard } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# IllustrationScene
|
|
4
4
|
|
|
5
|
-
A photograph with an IllustrationCard laid over it
|
|
5
|
+
A photograph with an IllustrationCard laid over it
|
|
6
6
|
|
|
7
7
|
`import { IllustrationScene } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# ImageBanner
|
|
4
4
|
|
|
5
|
-
A dark card
|
|
5
|
+
A dark card pairing a headline and one action with a photograph
|
|
6
6
|
|
|
7
7
|
`import { ImageBanner } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -51,7 +51,7 @@ A dark card in the middle of a page, pairing a headline and a line under it with
|
|
|
51
51
|
- never: A second action. The card asks for one thing
|
|
52
52
|
- **media** `node` · required — Always. The page's photograph, through AspectRatio or as an image — people or product. Split and cover crop it to fill the space they give it. Alt text is the page's to give, empty where the photograph is decoration
|
|
53
53
|
- never: Artwork with words in it. The cover photograph sits under a scrim and the text, and the split crops to fill
|
|
54
|
-
- **parallax** `boolean` · default
|
|
54
|
+
- **parallax** `boolean` · default true — The photograph drifts against the scroll as the card passes through the view, the drift every block's picture shares — drawn at motion.scale.parallax and moved from motion.translate.parallax-from to motion.translate.parallax-to over the whole pass — so it reads as further away than the card — the reference design's ParallaxBanner, which this replaces. …
|
|
55
55
|
- never: Holding still for a reader who asked for less motion — it already holds still for them, and in a browser that cannot drive it from the scroll
|
|
56
56
|
|
|
57
57
|
## Inside it
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# LandingHero
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Opens a main landing page with its headline over a dark background
|
|
6
6
|
|
|
7
7
|
`import { LandingHero } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/link.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# LogoColumns
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Backs a claim with two columns of logos that scroll in opposite directions
|
|
6
6
|
|
|
7
7
|
`import { LogoColumns } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/logorows.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# LogoRows
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Backs a claim with two rows of logos that slide in opposite directions
|
|
6
6
|
|
|
7
7
|
`import { LogoRows } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/menuitem.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# MenuItem
|
|
4
4
|
|
|
5
|
-
One
|
|
5
|
+
One item in a DropdownMenu
|
|
6
6
|
|
|
7
7
|
`import { MenuItem } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/navbar.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Navbar
|
|
4
4
|
|
|
5
|
-
The bar across the top of a marketing page
|
|
5
|
+
The bar across the top of a marketing page: logo, links and actions
|
|
6
6
|
|
|
7
7
|
`import { Navbar } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# NavbarItem
|
|
4
4
|
|
|
5
|
-
One
|
|
5
|
+
One link in the Navbar
|
|
6
6
|
|
|
7
7
|
`import { NavbarItem } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# NavbarMenu
|
|
4
4
|
|
|
5
|
-
A
|
|
5
|
+
A Navbar item that opens a wide panel of links
|
|
6
6
|
|
|
7
7
|
`import { NavbarMenu } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# NavbarMenuGroup
|
|
4
4
|
|
|
5
|
-
A
|
|
5
|
+
A titled list of links inside a NavbarMenu panel
|
|
6
6
|
|
|
7
7
|
`import { NavbarMenuGroup } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# NavbarPanel
|
|
4
4
|
|
|
5
|
-
The
|
|
5
|
+
The full site navigation for screens too narrow for the Navbar
|
|
6
6
|
|
|
7
7
|
`import { NavbarPanel } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# NavbarSwitcher
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Sets a site preference from the Navbar, such as language or theme
|
|
6
6
|
|
|
7
7
|
`import { NavbarSwitcher } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/option.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# PageHeader
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Opens a company or legal page with its title and one line of context
|
|
6
6
|
|
|
7
7
|
`import { PageHeader } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# PaginationDots
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Shows which item of a short sequence is in view
|
|
6
6
|
|
|
7
7
|
`import { PaginationDots } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# ProductHero
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Opens a product or market page with a centred headline over a dark background
|
|
6
6
|
|
|
7
7
|
`import { ProductHero } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# RemovableChip
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Shows one applied item, such as a filter or tag, that can be removed
|
|
6
6
|
|
|
7
7
|
`import { RemovableChip } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# ResourceBanner
|
|
4
4
|
|
|
5
|
-
A dark panel
|
|
5
|
+
A dark panel that points readers to related guides and reference pages
|
|
6
6
|
|
|
7
7
|
`import { ResourceBanner } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/row.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Row
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Lays items out in a line with consistent spacing
|
|
6
6
|
|
|
7
7
|
`import { Row } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# SceneScroll
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Two full-screen photo scenes that cross-fade as the reader scrolls
|
|
6
6
|
|
|
7
7
|
`import { SceneScroll } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/scroller.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# SearchInput
|
|
4
4
|
|
|
5
|
-
A
|
|
5
|
+
A field for searching a help centre, blog or directory
|
|
6
6
|
|
|
7
7
|
`import { SearchInput } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# SegmentedControl
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Picks exactly one option from a short set of joined segments
|
|
6
6
|
|
|
7
7
|
`import { SegmentedControl } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# SegmentedControlItem
|
|
4
4
|
|
|
5
|
-
One option in a
|
|
5
|
+
One option in a SegmentedControl
|
|
6
6
|
|
|
7
7
|
`import { SegmentedControlItem } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -38,7 +38,7 @@ One option in a segmented control, and nothing on its own — a segment says it
|
|
|
38
38
|
- never: The words the reader sees. That is label — a value is an identifier the page matches on, and one doubling as copy breaks the moment the copy is reworded
|
|
39
39
|
- **label** `string` · required — Always — it is the segment's accessible name as well as its words, and a radio with no name is announced as a control with nothing in it. …
|
|
40
40
|
- never: A sentence, or a value with its unit spelled out. 'Yearly' rather than 'Billed once a year' — the explanation belongs beside the control, where a reader who is not choosing still sees it
|
|
41
|
-
- **icon** `node` · optional — The glyph tells the modes apart faster than the words do — a card and a bank beside two payment methods. Import it from @deriv-com/
|
|
41
|
+
- **icon** `node` · optional — The glyph tells the modes apart faster than the words do — a card and a bank beside two payment methods. Import it from @deriv-com/dds-marketing/icons and pass the element
|
|
42
42
|
- never: Decoration. A row of segments is scanned, and a mark that says nothing the label does not is one more thing to look past on every one of them
|
|
43
43
|
- **onSelect** `callback` · optional — This segment reports its own presses — logging which plan a visitor looked at, say. It is called with this segment's value, and SegmentedControl chains its own handler after it rather than replacing it
|
|
44
44
|
- never: Holding which segment is current. That is the group's onChange, which fires once for the row; a page wiring up one handler per segment has written the group's job out by hand
|
package/.llm/digest/select.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# SelectChip
|
|
4
4
|
|
|
5
|
-
A chip that opens a list
|
|
5
|
+
A chip that opens a list and shows the option chosen
|
|
6
6
|
|
|
7
7
|
`import { SelectChip } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/spinner.md
CHANGED
package/.llm/digest/stack.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Stack
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Lays items out in a column with consistent spacing
|
|
6
6
|
|
|
7
7
|
`import { Stack } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/stats.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Stats
|
|
4
4
|
|
|
5
|
-
A
|
|
5
|
+
A heading over a few key figures, each with a short label
|
|
6
6
|
|
|
7
7
|
`import { Stats } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/statusdot.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# StatusDot
|
|
4
4
|
|
|
5
|
-
A small
|
|
5
|
+
A small dot marking an item as notable or in a different state
|
|
6
6
|
|
|
7
7
|
`import { StatusDot } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/steps.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Steps
|
|
4
4
|
|
|
5
|
-
A
|
|
5
|
+
A numbered list of steps beside a supporting picture
|
|
6
6
|
|
|
7
7
|
`import { Steps } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -36,8 +36,8 @@ A two-column how-it-works section pairing a supporting picture with a numbered,
|
|
|
36
36
|
- `start` — The default, and the reference design's: the picture first, then the steps it introduces
|
|
37
37
|
- `end` — The steps first, for a section sitting under a split whose picture is already at the start
|
|
38
38
|
- never: Moving the picture on a phone. There is one column there and the picture leads it
|
|
39
|
-
- **autoplay** `boolean` · default false — Whether the steps take their turn on their own: one step is current, its rule fills over motion.duration.
|
|
40
|
-
- never: Steps whose descriptions take longer to read than motion.duration.
|
|
39
|
+
- **autoplay** `boolean` · default false — Whether the steps take their turn on their own: one step is current, its rule fills over motion.duration.step, then the next takes over, and back to the first after the last. …
|
|
40
|
+
- never: Steps whose descriptions take longer to read than motion.duration.step — leave it off rather than cut the copy to the timer. And a list with no picture per step, where the only thing that moves is a rule: the turn is worth it when the picture changes with it
|
|
41
41
|
- **title** `string` · required — Always. What the steps get a reader to, in the fewest words that say it — 'Get started in 3 steps'
|
|
42
42
|
- never: A sentence. The steps underneath are the argument; this only has to name where they lead
|
|
43
43
|
- **steps** `data` · required — Always. The steps, in the order a reader takes them — three or four is right, six the most. Each is a short imperative and a sentence under about two hundred characters. …
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# StickyCards
|
|
4
4
|
|
|
5
|
-
A
|
|
5
|
+
A heading over cards that stack on top of each other as the page scrolls
|
|
6
6
|
|
|
7
7
|
`import { StickyCards } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# SubdomainNavbar
|
|
4
4
|
|
|
5
|
-
The bar
|
|
5
|
+
The top bar for a subdomain such as docs or a product surface
|
|
6
6
|
|
|
7
7
|
`import { SubdomainNavbar } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/tab.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Tab
|
|
4
4
|
|
|
5
|
-
One
|
|
5
|
+
One option in a TabList
|
|
6
6
|
|
|
7
7
|
`import { Tab } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/table.md
CHANGED
package/.llm/digest/tablebody.md
CHANGED
package/.llm/digest/tablecell.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# TableCell
|
|
4
4
|
|
|
5
|
-
One value in a row
|
|
5
|
+
One value in a table row
|
|
6
6
|
|
|
7
7
|
`import { TableCell } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/tablehead.md
CHANGED
package/.llm/digest/tablerow.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# TableRow
|
|
4
4
|
|
|
5
|
-
One row of a
|
|
5
|
+
One row of a Table
|
|
6
6
|
|
|
7
7
|
`import { TableRow } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/tablist.md
CHANGED
package/.llm/digest/teamgrid.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# TeamGrid
|
|
4
4
|
|
|
5
|
-
A
|
|
5
|
+
A grid of the people behind a company, with photo, name and role
|
|
6
6
|
|
|
7
7
|
`import { TeamGrid } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# TestimonialRow
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
An overall rating over a scrollable row of customer reviews
|
|
6
6
|
|
|
7
7
|
`import { TestimonialRow } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# TestimonialSlider
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Customer quotes shown one at a time, each with who said it
|
|
6
6
|
|
|
7
7
|
`import { TestimonialSlider } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/textarea.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# TextArea
|
|
4
4
|
|
|
5
|
-
A field for
|
|
5
|
+
A field for a longer message, such as on a contact form
|
|
6
6
|
|
|
7
7
|
`import { TextArea } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/textinput.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# TextScroll
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
One large statement whose words brighten as the reader scrolls
|
|
6
6
|
|
|
7
7
|
`import { TextScroll } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|
package/.llm/digest/tiers.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Tiers
|
|
4
4
|
|
|
5
|
-
A
|
|
5
|
+
A row of partnership tiers, each with what it offers and how to reach it
|
|
6
6
|
|
|
7
7
|
`import { Tiers } from '@deriv-com/dds-marketing'`
|
|
8
8
|
|