@deriv-com/dds-marketing 1.0.2 → 1.1.1
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/awards.md +209 -0
- package/.llm/components/background.md +89 -40
- package/.llm/components/bottomsheet.md +5 -0
- package/.llm/components/comparisoncards.md +257 -0
- package/.llm/components/comparisontable.md +231 -0
- package/.llm/components/ctabanner.md +9 -12
- package/.llm/components/ctabannerslider.md +15 -2
- package/.llm/components/datatable.md +273 -0
- package/.llm/components/downloadbanner.md +283 -0
- package/.llm/components/featurecards.md +41 -3
- package/.llm/components/featurecardscarousel.md +311 -0
- package/.llm/components/featuresplit.md +5 -0
- package/.llm/components/featurestack.md +227 -0
- package/.llm/components/illustrationcard.md +2 -2
- package/.llm/components/illustrationscene.md +6 -10
- package/.llm/components/imagebanner.md +278 -0
- package/.llm/components/navbar.md +1 -1
- package/.llm/components/navbaritem.md +4 -0
- package/.llm/components/pageheader.md +4 -3
- package/.llm/components/paginationdots.md +6 -1
- package/.llm/components/producthero.md +35 -11
- package/.llm/components/resourcebanner.md +247 -0
- package/.llm/components/scenescroll.md +222 -0
- package/.llm/components/select.md +17 -0
- package/.llm/components/stats.md +219 -0
- package/.llm/components/steps.md +286 -0
- package/.llm/components/stickycards.md +251 -0
- package/.llm/components/tableheadercell.md +19 -0
- package/.llm/components/teamgrid.md +243 -0
- package/.llm/components/testimonialrow.md +5 -0
- package/.llm/components/testimonialslider.md +14 -1
- package/.llm/components/textarea.md +13 -0
- package/.llm/components/textinput.md +13 -0
- package/.llm/components/textscroll.md +187 -0
- package/.llm/components/tiers.md +227 -0
- package/.llm/digest/awards.md +45 -0
- package/.llm/digest/background.md +11 -10
- package/.llm/digest/bottomsheet.md +2 -0
- package/.llm/digest/comparisoncards.md +51 -0
- package/.llm/digest/comparisontable.md +53 -0
- package/.llm/digest/ctabanner.md +4 -4
- package/.llm/digest/ctabannerslider.md +4 -0
- package/.llm/digest/datatable.md +65 -0
- package/.llm/digest/downloadbanner.md +65 -0
- package/.llm/digest/featurecards.md +1 -1
- package/.llm/digest/featurecardscarousel.md +54 -0
- package/.llm/digest/featuresplit.md +1 -0
- package/.llm/digest/featurestack.md +48 -0
- package/.llm/digest/illustrationscene.md +2 -3
- package/.llm/digest/imagebanner.md +64 -0
- package/.llm/digest/navbaritem.md +1 -0
- package/.llm/digest/pageheader.md +2 -1
- package/.llm/digest/paginationdots.md +3 -1
- package/.llm/digest/producthero.md +4 -2
- package/.llm/digest/resourcebanner.md +53 -0
- package/.llm/digest/scenescroll.md +49 -0
- package/.llm/digest/select.md +5 -0
- package/.llm/digest/stats.md +46 -0
- package/.llm/digest/steps.md +55 -0
- package/.llm/digest/stickycards.md +52 -0
- package/.llm/digest/tableheadercell.md +4 -0
- package/.llm/digest/teamgrid.md +53 -0
- package/.llm/digest/testimonialrow.md +2 -0
- package/.llm/digest/testimonialslider.md +4 -0
- package/.llm/digest/textarea.md +4 -0
- package/.llm/digest/textinput.md +4 -0
- package/.llm/digest/textscroll.md +43 -0
- package/.llm/digest/tiers.md +50 -0
- package/.llm/index.md +19 -3
- package/.llm/tokens.md +26 -1
- package/AGENTS.md +17 -1
- package/dist/components/awards-data.d.ts +24 -0
- package/dist/components/awards-data.js +11 -0
- package/dist/components/block-image-data.d.ts +24 -0
- package/dist/components/block-image-data.js +9 -0
- package/dist/components/blocks/awards/Awards.css +134 -0
- package/dist/components/blocks/awards/Awards.d.ts +24 -0
- package/dist/components/blocks/awards/Awards.js +114 -0
- package/dist/components/blocks/awards/Awards.types.d.ts +31 -0
- package/dist/components/blocks/awards/Awards.types.js +16 -0
- package/dist/components/blocks/awards/awards-impl.css +222 -0
- package/dist/components/blocks/cards-of.d.ts +16 -0
- package/dist/components/blocks/cards-of.js +23 -0
- package/dist/components/blocks/comparison-cards/ComparisonCards.css +195 -0
- package/dist/components/blocks/comparison-cards/ComparisonCards.d.ts +24 -0
- package/dist/components/blocks/comparison-cards/ComparisonCards.js +75 -0
- package/dist/components/blocks/comparison-cards/ComparisonCards.types.d.ts +49 -0
- package/dist/components/blocks/comparison-cards/ComparisonCards.types.js +26 -0
- package/dist/components/blocks/comparison-cards/comparison-cards-impl.css +262 -0
- package/dist/components/blocks/comparison-table/ComparisonTable.css +111 -0
- package/dist/components/blocks/comparison-table/ComparisonTable.d.ts +25 -0
- package/dist/components/blocks/comparison-table/ComparisonTable.js +100 -0
- package/dist/components/blocks/comparison-table/ComparisonTable.types.d.ts +36 -0
- package/dist/components/blocks/comparison-table/ComparisonTable.types.js +15 -0
- package/dist/components/blocks/comparison-table/comparison-table-impl.css +143 -0
- package/dist/components/blocks/cta-banner/CtaBanner.css +1 -0
- package/dist/components/blocks/cta-banner/CtaBanner.js +2 -2
- package/dist/components/blocks/cta-banner/CtaBanner.types.d.ts +4 -3
- package/dist/components/blocks/cta-banner/CtaBanner.types.js +1 -1
- package/dist/components/blocks/cta-banner-slider/CtaBannerSlider.css +1 -0
- package/dist/components/blocks/cta-banner-slider/CtaBannerSlider.d.ts +1 -1
- package/dist/components/blocks/cta-banner-slider/CtaBannerSlider.js +6 -2
- package/dist/components/blocks/cta-banner-slider/CtaBannerSlider.types.d.ts +8 -0
- package/dist/components/blocks/cta-banner-slider/CtaBannerSlider.types.js +1 -1
- package/dist/components/blocks/data-table/DataTable.css +170 -0
- package/dist/components/blocks/data-table/DataTable.d.ts +29 -0
- package/dist/components/blocks/data-table/DataTable.js +84 -0
- package/dist/components/blocks/data-table/DataTable.types.d.ts +69 -0
- package/dist/components/blocks/data-table/DataTable.types.js +19 -0
- package/dist/components/blocks/data-table/data-table-impl.css +155 -0
- package/dist/components/blocks/download-banner/DownloadBanner.css +228 -0
- package/dist/components/blocks/download-banner/DownloadBanner.d.ts +28 -0
- package/dist/components/blocks/download-banner/DownloadBanner.js +75 -0
- package/dist/components/blocks/download-banner/DownloadBanner.types.d.ts +56 -0
- package/dist/components/blocks/download-banner/DownloadBanner.types.js +23 -0
- package/dist/components/blocks/download-banner/download-banner-impl.css +216 -0
- package/dist/components/blocks/faq-accordion/FaqAccordion.css +1 -0
- package/dist/components/blocks/faq-accordion/faq-accordion-impl.css +3 -7
- package/dist/components/blocks/feature-bullets/FeatureBullets.css +1 -0
- package/dist/components/blocks/feature-bullets/feature-bullets-impl.css +14 -1
- package/dist/components/blocks/feature-cards/FeatureCards.css +1 -0
- package/dist/components/blocks/feature-cards/FeatureCards.d.ts +2 -1
- package/dist/components/blocks/feature-cards/FeatureCards.js +4 -21
- package/dist/components/blocks/feature-cards/feature-cards-impl.css +10 -9
- package/dist/components/blocks/feature-cards-carousel/FeatureCardsCarousel.css +115 -0
- package/dist/components/blocks/feature-cards-carousel/FeatureCardsCarousel.d.ts +30 -0
- package/dist/components/blocks/feature-cards-carousel/FeatureCardsCarousel.js +160 -0
- package/dist/components/blocks/feature-cards-carousel/FeatureCardsCarousel.types.d.ts +52 -0
- package/dist/components/blocks/feature-cards-carousel/FeatureCardsCarousel.types.js +17 -0
- package/dist/components/blocks/feature-cards-carousel/feature-cards-carousel-impl.css +207 -0
- package/dist/components/blocks/feature-scroll/FeatureScroll.css +1 -0
- package/dist/components/blocks/feature-split/FeatureSplit.css +1 -0
- package/dist/components/blocks/feature-split/feature-split-impl.css +14 -1
- package/dist/components/blocks/feature-stack/FeatureStack.css +86 -0
- package/dist/components/blocks/feature-stack/FeatureStack.d.ts +19 -0
- package/dist/components/blocks/feature-stack/FeatureStack.js +27 -0
- package/dist/components/blocks/feature-stack/FeatureStack.types.d.ts +34 -0
- package/dist/components/blocks/feature-stack/FeatureStack.types.js +14 -0
- package/dist/components/blocks/feature-stack/feature-stack-impl.css +87 -0
- package/dist/components/blocks/image-banner/ImageBanner.css +133 -0
- package/dist/components/blocks/image-banner/ImageBanner.d.ts +32 -0
- package/dist/components/blocks/image-banner/ImageBanner.js +41 -0
- package/dist/components/blocks/image-banner/ImageBanner.types.d.ts +54 -0
- package/dist/components/blocks/image-banner/ImageBanner.types.js +14 -0
- package/dist/components/blocks/image-banner/image-banner-impl.css +281 -0
- package/dist/components/blocks/landing-hero/LandingHero.css +1 -0
- package/dist/components/blocks/logo-columns/LogoColumns.css +1 -0
- package/dist/components/blocks/logo-rows/LogoRows.css +1 -0
- package/dist/components/blocks/page-header/PageHeader.css +1 -0
- package/dist/components/blocks/page-header/PageHeader.js +2 -2
- package/dist/components/blocks/page-header/PageHeader.types.d.ts +4 -2
- package/dist/components/blocks/page-header/PageHeader.types.js +1 -1
- package/dist/components/blocks/page-header/page-header-impl.css +5 -3
- package/dist/components/blocks/product-hero/ProductHero.css +8 -3
- package/dist/components/blocks/product-hero/ProductHero.d.ts +1 -1
- package/dist/components/blocks/product-hero/ProductHero.js +5 -2
- package/dist/components/blocks/product-hero/ProductHero.types.d.ts +5 -1
- package/dist/components/blocks/product-hero/ProductHero.types.js +1 -0
- package/dist/components/blocks/product-hero/product-hero-impl.css +43 -12
- package/dist/components/blocks/resource-banner/ResourceBanner.css +106 -0
- package/dist/components/blocks/resource-banner/ResourceBanner.d.ts +32 -0
- package/dist/components/blocks/resource-banner/ResourceBanner.js +51 -0
- package/dist/components/blocks/resource-banner/ResourceBanner.types.d.ts +44 -0
- package/dist/components/blocks/resource-banner/ResourceBanner.types.js +14 -0
- package/dist/components/blocks/resource-banner/resource-banner-impl.css +69 -0
- package/dist/components/blocks/scene-scroll/SceneScroll.css +93 -0
- package/dist/components/blocks/scene-scroll/SceneScroll.d.ts +36 -0
- package/dist/components/blocks/scene-scroll/SceneScroll.js +54 -0
- package/dist/components/blocks/scene-scroll/SceneScroll.types.d.ts +32 -0
- package/dist/components/blocks/scene-scroll/SceneScroll.types.js +15 -0
- package/dist/components/blocks/scene-scroll/scene-scroll-impl.css +275 -0
- package/dist/components/blocks/stats/Stats.css +139 -0
- package/dist/components/blocks/stats/Stats.d.ts +24 -0
- package/dist/components/blocks/stats/Stats.js +120 -0
- package/dist/components/blocks/stats/Stats.types.d.ts +36 -0
- package/dist/components/blocks/stats/Stats.types.js +19 -0
- package/dist/components/blocks/stats/stats-count.d.ts +34 -0
- package/dist/components/blocks/stats/stats-count.js +61 -0
- package/dist/components/blocks/stats/stats-impl.css +284 -0
- package/dist/components/blocks/stats/use-wheel.d.ts +37 -0
- package/dist/components/blocks/stats/use-wheel.js +126 -0
- package/dist/components/blocks/steps/Steps.css +202 -0
- package/dist/components/blocks/steps/Steps.d.ts +32 -0
- package/dist/components/blocks/steps/Steps.js +65 -0
- package/dist/components/blocks/steps/Steps.types.d.ts +48 -0
- package/dist/components/blocks/steps/Steps.types.js +21 -0
- package/dist/components/blocks/steps/steps-impl.css +216 -0
- package/dist/components/blocks/steps/use-turn.d.ts +33 -0
- package/dist/components/blocks/steps/use-turn.js +75 -0
- package/dist/components/blocks/sticky-cards/StickyCards.css +154 -0
- package/dist/components/blocks/sticky-cards/StickyCards.d.ts +35 -0
- package/dist/components/blocks/sticky-cards/StickyCards.js +153 -0
- package/dist/components/blocks/sticky-cards/StickyCards.types.d.ts +43 -0
- package/dist/components/blocks/sticky-cards/StickyCards.types.js +18 -0
- package/dist/components/blocks/sticky-cards/sticky-cards-impl.css +393 -0
- package/dist/components/blocks/team-grid/TeamGrid.css +159 -0
- package/dist/components/blocks/team-grid/TeamGrid.d.ts +28 -0
- package/dist/components/blocks/team-grid/TeamGrid.js +74 -0
- package/dist/components/blocks/team-grid/TeamGrid.types.d.ts +51 -0
- package/dist/components/blocks/team-grid/TeamGrid.types.js +20 -0
- package/dist/components/blocks/team-grid/team-grid-impl.css +129 -0
- package/dist/components/blocks/testimonial-row/TestimonialRow.css +1 -0
- package/dist/components/blocks/testimonial-row/TestimonialRow.d.ts +1 -1
- package/dist/components/blocks/testimonial-row/TestimonialRow.js +4 -3
- package/dist/components/blocks/testimonial-row/TestimonialRow.types.d.ts +3 -0
- package/dist/components/blocks/testimonial-row/TestimonialRow.types.js +1 -1
- package/dist/components/blocks/testimonial-row/testimonial-row-impl.css +8 -0
- package/dist/components/blocks/testimonial-slider/TestimonialSlider.css +1 -0
- package/dist/components/blocks/testimonial-slider/TestimonialSlider.d.ts +1 -1
- package/dist/components/blocks/testimonial-slider/TestimonialSlider.js +2 -2
- package/dist/components/blocks/testimonial-slider/TestimonialSlider.types.d.ts +8 -0
- package/dist/components/blocks/testimonial-slider/TestimonialSlider.types.js +1 -1
- package/dist/components/blocks/text-scroll/TextScroll.css +53 -0
- package/dist/components/blocks/text-scroll/TextScroll.d.ts +5 -0
- package/dist/components/blocks/text-scroll/TextScroll.js +71 -0
- package/dist/components/blocks/text-scroll/TextScroll.types.d.ts +22 -0
- package/dist/components/blocks/text-scroll/TextScroll.types.js +10 -0
- package/dist/components/blocks/text-scroll/text-scroll-impl.css +115 -0
- package/dist/components/blocks/tiers/Tiers.css +233 -0
- package/dist/components/blocks/tiers/Tiers.d.ts +32 -0
- package/dist/components/blocks/tiers/Tiers.js +68 -0
- package/dist/components/blocks/tiers/Tiers.types.d.ts +45 -0
- package/dist/components/blocks/tiers/Tiers.types.js +25 -0
- package/dist/components/blocks/tiers/tiers-impl.css +185 -0
- package/dist/components/blocks/use-rotation.d.ts +12 -2
- package/dist/components/blocks/use-rotation.js +6 -28
- package/dist/components/comparison-cards-data.d.ts +59 -0
- package/dist/components/comparison-cards-data.js +12 -0
- package/dist/components/comparison-table-data.d.ts +39 -0
- package/dist/components/comparison-table-data.js +11 -0
- package/dist/components/core/accordion-item/AccordionItem.css +1 -5
- package/dist/components/core/background/Background.css +23 -0
- package/dist/components/core/background/Background.d.ts +10 -4
- package/dist/components/core/background/Background.js +16 -7
- package/dist/components/core/background/Background.types.d.ts +11 -8
- package/dist/components/core/background/Background.types.js +3 -1
- package/dist/components/core/background/background-impl.css +334 -1
- package/dist/components/core/background/halftone.d.ts +11 -0
- package/dist/components/core/background/halftone.js +43 -3
- package/dist/components/core/background/patterns.d.ts +66 -0
- package/dist/components/core/background/patterns.js +244 -0
- package/dist/components/core/background/shader.d.ts +44 -0
- package/dist/components/core/background/shader.js +307 -0
- package/dist/components/core/background/use-shader.d.ts +11 -0
- package/dist/components/core/background/use-shader.js +25 -0
- package/dist/components/core/background/use-spotlight.d.ts +2 -1
- package/dist/components/core/background/use-spotlight.js +9 -1
- package/dist/components/core/bottom-sheet/BottomSheet.js +2 -2
- package/dist/components/core/bottom-sheet/BottomSheet.types.d.ts +3 -1
- package/dist/components/core/breadcrumb/Breadcrumb.d.ts +1 -0
- package/dist/components/core/breadcrumb/Breadcrumb.js +1 -0
- package/dist/components/core/breadcrumb/breadcrumb-impl.css +11 -0
- package/dist/components/core/button/button-impl.css +14 -1
- package/dist/components/core/illustration-card/IllustrationCard.js +1 -1
- package/dist/components/core/illustration-card/illustration-card-impl.css +20 -0
- package/dist/components/core/illustration-scene/IllustrationScene.css +4 -7
- package/dist/components/core/illustration-scene/IllustrationScene.types.d.ts +2 -3
- package/dist/components/core/illustration-scene/illustration-scene-impl.css +22 -1
- package/dist/components/core/link/Link.js +7 -3
- package/dist/components/core/link/link-impl.css +29 -2
- package/dist/components/core/navbar/Navbar.css +2 -2
- package/dist/components/core/navbar/Navbar.types.d.ts +1 -1
- package/dist/components/core/navbar-item/NavbarItem.d.ts +2 -1
- package/dist/components/core/navbar-item/NavbarItem.js +3 -10
- package/dist/components/core/navbar-item/NavbarItem.types.d.ts +4 -1
- package/dist/components/core/navbar-item/NavbarItem.types.js +1 -1
- package/dist/components/core/navbar-item/navbar-item-impl.css +10 -0
- package/dist/components/core/navbar-menu/navbar-menu-impl.css +9 -0
- package/dist/components/core/navbar-switcher/navbar-switcher-impl.css +19 -0
- package/dist/components/core/pagination/Pagination.js +1 -1
- package/dist/components/core/pagination/pagination-impl.css +9 -0
- package/dist/components/core/pagination-dots/PaginationDots.d.ts +1 -1
- package/dist/components/core/pagination-dots/PaginationDots.js +3 -3
- package/dist/components/core/pagination-dots/PaginationDots.types.d.ts +3 -1
- package/dist/components/core/segmented-control/SegmentedControl.css +4 -3
- package/dist/components/core/segmented-control/SegmentedControl.js +17 -3
- package/dist/components/core/segmented-control-item/SegmentedControlItem.css +2 -1
- package/dist/components/core/select/Select.js +3 -3
- package/dist/components/core/select/Select.types.d.ts +11 -1
- package/dist/components/core/select/Select.types.js +1 -1
- package/dist/components/core/tab-list/TabList.js +9 -1
- package/dist/components/core/table-header-cell/TableHeaderCell.d.ts +1 -1
- package/dist/components/core/table-header-cell/TableHeaderCell.js +5 -2
- package/dist/components/core/table-header-cell/TableHeaderCell.types.d.ts +7 -1
- package/dist/components/core/table-header-cell/TableHeaderCell.types.js +1 -1
- package/dist/components/core/text-area/TextArea.d.ts +1 -1
- package/dist/components/core/text-area/TextArea.js +2 -2
- package/dist/components/core/text-area/TextArea.types.d.ts +9 -1
- package/dist/components/core/text-area/TextArea.types.js +1 -1
- package/dist/components/core/text-input/TextInput.d.ts +1 -1
- package/dist/components/core/text-input/TextInput.js +2 -2
- package/dist/components/core/text-input/TextInput.types.d.ts +9 -1
- package/dist/components/core/text-input/TextInput.types.js +1 -1
- package/dist/components/data-table-data.d.ts +33 -0
- package/dist/components/data-table-data.js +12 -0
- package/dist/components/download-banner-data.d.ts +52 -0
- package/dist/components/download-banner-data.js +11 -0
- package/dist/components/index.d.ts +45 -0
- package/dist/components/index.js +32 -0
- package/dist/components/resource-banner-data.d.ts +34 -0
- package/dist/components/resource-banner-data.js +13 -0
- package/dist/components/scene-scroll-data.d.ts +24 -0
- package/dist/components/scene-scroll-data.js +9 -0
- package/dist/components/stats-data.d.ts +28 -0
- package/dist/components/stats-data.js +11 -0
- package/dist/components/steps-data.d.ts +38 -0
- package/dist/components/steps-data.js +13 -0
- package/dist/components/sticky-cards-data.d.ts +43 -0
- package/dist/components/sticky-cards-data.js +12 -0
- package/dist/components/team-grid-data.d.ts +38 -0
- package/dist/components/team-grid-data.js +11 -0
- package/dist/components/tiers-data.d.ts +47 -0
- package/dist/components/tiers-data.js +13 -0
- package/dist/marketing.css +77 -28
- package/package.json +1 -1
package/dist/components/index.js
CHANGED
|
@@ -5,6 +5,8 @@ export { AccordionItem } from './core/accordion-item/AccordionItem.js';
|
|
|
5
5
|
export { accordionItemParts, accordionItemDefaults } from './core/accordion-item/AccordionItem.types.js';
|
|
6
6
|
export { AspectRatio } from './layout/aspect-ratio/AspectRatio.js';
|
|
7
7
|
export { aspectRatioParts, aspectRatioDefaults } from './layout/aspect-ratio/AspectRatio.types.js';
|
|
8
|
+
export { Awards } from './blocks/awards/Awards.js';
|
|
9
|
+
export { awardsParts, awardsDefaults } from './blocks/awards/Awards.types.js';
|
|
8
10
|
export { Background } from './core/background/Background.js';
|
|
9
11
|
export { backgroundParts, backgroundDefaults } from './core/background/Background.types.js';
|
|
10
12
|
export { Badge } from './core/badge/Badge.js';
|
|
@@ -27,12 +29,20 @@ export { CardButton } from './core/card-button/CardButton.js';
|
|
|
27
29
|
export { cardButtonParts, cardButtonDefaults } from './core/card-button/CardButton.types.js';
|
|
28
30
|
export { Checkbox } from './core/checkbox/Checkbox.js';
|
|
29
31
|
export { checkboxParts, checkboxDefaults } from './core/checkbox/Checkbox.types.js';
|
|
32
|
+
export { ComparisonCards } from './blocks/comparison-cards/ComparisonCards.js';
|
|
33
|
+
export { comparisonCardsParts, comparisonCardsDefaults } from './blocks/comparison-cards/ComparisonCards.types.js';
|
|
34
|
+
export { ComparisonTable } from './blocks/comparison-table/ComparisonTable.js';
|
|
35
|
+
export { comparisonTableParts, comparisonTableDefaults } from './blocks/comparison-table/ComparisonTable.types.js';
|
|
30
36
|
export { CtaBanner } from './blocks/cta-banner/CtaBanner.js';
|
|
31
37
|
export { ctaBannerParts, ctaBannerDefaults } from './blocks/cta-banner/CtaBanner.types.js';
|
|
32
38
|
export { CtaBannerSlider } from './blocks/cta-banner-slider/CtaBannerSlider.js';
|
|
33
39
|
export { ctaBannerSliderParts, ctaBannerSliderDefaults } from './blocks/cta-banner-slider/CtaBannerSlider.types.js';
|
|
40
|
+
export { DataTable } from './blocks/data-table/DataTable.js';
|
|
41
|
+
export { dataTableParts, dataTableDefaults } from './blocks/data-table/DataTable.types.js';
|
|
34
42
|
export { Divider } from './core/divider/Divider.js';
|
|
35
43
|
export { dividerParts, dividerDefaults } from './core/divider/Divider.types.js';
|
|
44
|
+
export { DownloadBanner } from './blocks/download-banner/DownloadBanner.js';
|
|
45
|
+
export { downloadBannerParts, downloadBannerDefaults } from './blocks/download-banner/DownloadBanner.types.js';
|
|
36
46
|
export { DropdownMenu } from './core/dropdown-menu/DropdownMenu.js';
|
|
37
47
|
export { dropdownMenuParts, dropdownMenuDefaults } from './core/dropdown-menu/DropdownMenu.types.js';
|
|
38
48
|
export { FaqAccordion } from './blocks/faq-accordion/FaqAccordion.js';
|
|
@@ -41,10 +51,14 @@ export { FeatureBullets } from './blocks/feature-bullets/FeatureBullets.js';
|
|
|
41
51
|
export { featureBulletsParts, featureBulletsDefaults } from './blocks/feature-bullets/FeatureBullets.types.js';
|
|
42
52
|
export { FeatureCards } from './blocks/feature-cards/FeatureCards.js';
|
|
43
53
|
export { featureCardsParts, featureCardsDefaults } from './blocks/feature-cards/FeatureCards.types.js';
|
|
54
|
+
export { FeatureCardsCarousel } from './blocks/feature-cards-carousel/FeatureCardsCarousel.js';
|
|
55
|
+
export { featureCardsCarouselParts, featureCardsCarouselDefaults } from './blocks/feature-cards-carousel/FeatureCardsCarousel.types.js';
|
|
44
56
|
export { FeatureScroll } from './blocks/feature-scroll/FeatureScroll.js';
|
|
45
57
|
export { featureScrollParts, featureScrollDefaults } from './blocks/feature-scroll/FeatureScroll.types.js';
|
|
46
58
|
export { FeatureSplit } from './blocks/feature-split/FeatureSplit.js';
|
|
47
59
|
export { featureSplitParts, featureSplitDefaults } from './blocks/feature-split/FeatureSplit.types.js';
|
|
60
|
+
export { FeatureStack } from './blocks/feature-stack/FeatureStack.js';
|
|
61
|
+
export { featureStackParts, featureStackDefaults } from './blocks/feature-stack/FeatureStack.types.js';
|
|
48
62
|
export { FilterChip } from './core/filter-chip/FilterChip.js';
|
|
49
63
|
export { filterChipParts, filterChipDefaults } from './core/filter-chip/FilterChip.types.js';
|
|
50
64
|
export { Footer } from './core/footer/Footer.js';
|
|
@@ -59,6 +73,8 @@ export { IllustrationCard } from './core/illustration-card/IllustrationCard.js';
|
|
|
59
73
|
export { illustrationCardParts, illustrationCardDefaults } from './core/illustration-card/IllustrationCard.types.js';
|
|
60
74
|
export { IllustrationScene } from './core/illustration-scene/IllustrationScene.js';
|
|
61
75
|
export { illustrationSceneParts, illustrationSceneDefaults } from './core/illustration-scene/IllustrationScene.types.js';
|
|
76
|
+
export { ImageBanner } from './blocks/image-banner/ImageBanner.js';
|
|
77
|
+
export { imageBannerParts, imageBannerDefaults } from './blocks/image-banner/ImageBanner.types.js';
|
|
62
78
|
export { LandingHero } from './blocks/landing-hero/LandingHero.js';
|
|
63
79
|
export { landingHeroParts, landingHeroDefaults } from './blocks/landing-hero/LandingHero.types.js';
|
|
64
80
|
export { Link } from './core/link/Link.js';
|
|
@@ -96,8 +112,12 @@ export { ProductHero } from './blocks/product-hero/ProductHero.js';
|
|
|
96
112
|
export { productHeroParts, productHeroDefaults } from './blocks/product-hero/ProductHero.types.js';
|
|
97
113
|
export { RemovableChip } from './core/removable-chip/RemovableChip.js';
|
|
98
114
|
export { removableChipParts, removableChipDefaults } from './core/removable-chip/RemovableChip.types.js';
|
|
115
|
+
export { ResourceBanner } from './blocks/resource-banner/ResourceBanner.js';
|
|
116
|
+
export { resourceBannerParts, resourceBannerDefaults } from './blocks/resource-banner/ResourceBanner.types.js';
|
|
99
117
|
export { Row } from './layout/row/Row.js';
|
|
100
118
|
export { rowParts, rowDefaults } from './layout/row/Row.types.js';
|
|
119
|
+
export { SceneScroll } from './blocks/scene-scroll/SceneScroll.js';
|
|
120
|
+
export { sceneScrollParts, sceneScrollDefaults } from './blocks/scene-scroll/SceneScroll.types.js';
|
|
101
121
|
export { Scroller } from './layout/scroller/Scroller.js';
|
|
102
122
|
export { scrollerParts, scrollerDefaults } from './layout/scroller/Scroller.types.js';
|
|
103
123
|
export { SearchInput } from './core/search-input/SearchInput.js';
|
|
@@ -114,8 +134,14 @@ export { Spinner } from './core/spinner/Spinner.js';
|
|
|
114
134
|
export { spinnerParts, spinnerDefaults } from './core/spinner/Spinner.types.js';
|
|
115
135
|
export { Stack } from './layout/stack/Stack.js';
|
|
116
136
|
export { stackParts, stackDefaults } from './layout/stack/Stack.types.js';
|
|
137
|
+
export { Stats } from './blocks/stats/Stats.js';
|
|
138
|
+
export { statsParts, statsDefaults } from './blocks/stats/Stats.types.js';
|
|
117
139
|
export { StatusDot } from './core/status-dot/StatusDot.js';
|
|
118
140
|
export { statusDotParts, statusDotDefaults } from './core/status-dot/StatusDot.types.js';
|
|
141
|
+
export { Steps } from './blocks/steps/Steps.js';
|
|
142
|
+
export { stepsParts, stepsDefaults } from './blocks/steps/Steps.types.js';
|
|
143
|
+
export { StickyCards } from './blocks/sticky-cards/StickyCards.js';
|
|
144
|
+
export { stickyCardsParts, stickyCardsDefaults } from './blocks/sticky-cards/StickyCards.types.js';
|
|
119
145
|
export { SubdomainNavbar } from './core/subdomain-navbar/SubdomainNavbar.js';
|
|
120
146
|
export { subdomainNavbarParts, subdomainNavbarDefaults } from './core/subdomain-navbar/SubdomainNavbar.types.js';
|
|
121
147
|
export { Tab } from './core/tab/Tab.js';
|
|
@@ -135,6 +161,8 @@ export { TableRow } from './core/table-row/TableRow.js';
|
|
|
135
161
|
export { tableRowParts, tableRowDefaults } from './core/table-row/TableRow.types.js';
|
|
136
162
|
export { TabList } from './core/tab-list/TabList.js';
|
|
137
163
|
export { tabListParts } from './core/tab-list/TabList.types.js';
|
|
164
|
+
export { TeamGrid } from './blocks/team-grid/TeamGrid.js';
|
|
165
|
+
export { teamGridParts, teamGridDefaults } from './blocks/team-grid/TeamGrid.types.js';
|
|
138
166
|
export { TestimonialRow } from './blocks/testimonial-row/TestimonialRow.js';
|
|
139
167
|
export { testimonialRowParts, testimonialRowDefaults } from './blocks/testimonial-row/TestimonialRow.types.js';
|
|
140
168
|
export { TestimonialSlider } from './blocks/testimonial-slider/TestimonialSlider.js';
|
|
@@ -143,6 +171,10 @@ export { TextArea } from './core/text-area/TextArea.js';
|
|
|
143
171
|
export { textAreaParts, textAreaDefaults } from './core/text-area/TextArea.types.js';
|
|
144
172
|
export { TextInput } from './core/text-input/TextInput.js';
|
|
145
173
|
export { textInputParts, textInputDefaults } from './core/text-input/TextInput.types.js';
|
|
174
|
+
export { TextScroll } from './blocks/text-scroll/TextScroll.js';
|
|
175
|
+
export { textScrollParts, textScrollDefaults } from './blocks/text-scroll/TextScroll.types.js';
|
|
176
|
+
export { Tiers } from './blocks/tiers/Tiers.js';
|
|
177
|
+
export { tiersParts, tiersDefaults } from './blocks/tiers/Tiers.types.js';
|
|
146
178
|
export { Tooltip } from './core/tooltip/Tooltip.js';
|
|
147
179
|
export { tooltipParts, tooltipDefaults } from './core/tooltip/Tooltip.types.js';
|
|
148
180
|
export { useTooltip, useTooltipDefaults } from './core/tooltip/use-tooltip.js';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The resources a ResourceBanner points at.
|
|
3
|
+
*
|
|
4
|
+
* Exported from the package for the reason `testimonial-row-data.ts` and `banner-data.ts` are: a
|
|
5
|
+
* block whose content is a list is one whose consumer builds a value before passing it.
|
|
6
|
+
*
|
|
7
|
+
* Records rather than a Link per resource, because a resource is words and a destination — nothing
|
|
8
|
+
* in it is an element a page composes — and every one is drawn the same way. A stack whose rows
|
|
9
|
+
* could each bring their own variant, tone or mark is a stack that stops reading as one list, and
|
|
10
|
+
* what a link has to say about leaving the site or starting a download is the block's to say, in
|
|
11
|
+
* the same words on every row.
|
|
12
|
+
*/
|
|
13
|
+
/** One resource in a ResourceBanner: what it is called, and where it is. */
|
|
14
|
+
export interface ResourceBannerLink {
|
|
15
|
+
/**
|
|
16
|
+
* The name of the guide, policy or page, as the reader would look for it: "Terms and
|
|
17
|
+
* conditions", "Risk disclosure". The stack is read as a list, so each label has to make sense
|
|
18
|
+
* on its own — never "Read more" or "Click here".
|
|
19
|
+
*/
|
|
20
|
+
label: string;
|
|
21
|
+
/** Where it is, as a URL. */
|
|
22
|
+
href: string;
|
|
23
|
+
/**
|
|
24
|
+
* The destination is off this site. It opens in a new tab, carries Link's up-right mark, and its
|
|
25
|
+
* accessible name says so in the block's `externalLabel`. Absent, the link opens in place.
|
|
26
|
+
*/
|
|
27
|
+
external?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* The destination is a file to save rather than a page to read — a PDF of a policy, a form. The
|
|
30
|
+
* anchor takes `download`, the row is marked with a file rather than an arrow, and its accessible
|
|
31
|
+
* name says so in the block's `downloadLabel`.
|
|
32
|
+
*/
|
|
33
|
+
download?: boolean;
|
|
34
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The resources a ResourceBanner points at.
|
|
3
|
+
*
|
|
4
|
+
* Exported from the package for the reason `testimonial-row-data.ts` and `banner-data.ts` are: a
|
|
5
|
+
* block whose content is a list is one whose consumer builds a value before passing it.
|
|
6
|
+
*
|
|
7
|
+
* Records rather than a Link per resource, because a resource is words and a destination — nothing
|
|
8
|
+
* in it is an element a page composes — and every one is drawn the same way. A stack whose rows
|
|
9
|
+
* could each bring their own variant, tone or mark is a stack that stops reading as one list, and
|
|
10
|
+
* what a link has to say about leaving the site or starting a download is the block's to say, in
|
|
11
|
+
* the same words on every row.
|
|
12
|
+
*/
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The two scenes a SceneScroll changes between.
|
|
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. A record
|
|
6
|
+
* rather than a node, because the block draws both the photograph and the words itself — it has to,
|
|
7
|
+
* to stack one scene over the other and change them over as the reader scrolls.
|
|
8
|
+
*/
|
|
9
|
+
import type { BlockImage } from './block-image-data.js';
|
|
10
|
+
/** One scene: the photograph that fills the band, and the words set over it. */
|
|
11
|
+
export interface SceneScrollScene {
|
|
12
|
+
/**
|
|
13
|
+
* What the scene says, in a few words. Drawn as a heading: the first scene's names the section,
|
|
14
|
+
* and the second's sits one level under it.
|
|
15
|
+
*/
|
|
16
|
+
title: string;
|
|
17
|
+
/** A line under the title saying what it means for the reader. A sentence or two, not a paragraph. */
|
|
18
|
+
description?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The photograph filling the band behind the words, cropped to fill it. Usually decoration, so
|
|
21
|
+
* `alt` is empty; a photograph that shows something the words do not say is described.
|
|
22
|
+
*/
|
|
23
|
+
image: BlockImage;
|
|
24
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The two scenes a SceneScroll changes between.
|
|
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. A record
|
|
6
|
+
* rather than a node, because the block draws both the photograph and the words itself — it has to,
|
|
7
|
+
* to stack one scene over the other and change them over as the reader scrolls.
|
|
8
|
+
*/
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The key numbers a Stats section sets in a row.
|
|
3
|
+
*
|
|
4
|
+
* Exported from the package for the reason `testimonial-row-data.ts` and `scroll-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 figure is a number and the words that say
|
|
8
|
+
* what it counts — nothing in it is an element a page composes — and a set of them is what a CMS
|
|
9
|
+
* or a facts sheet hands over.
|
|
10
|
+
*/
|
|
11
|
+
/** One key number in a Stats section: the figure, and what it counts. */
|
|
12
|
+
export interface StatsFigure {
|
|
13
|
+
/**
|
|
14
|
+
* The figure, written exactly as it is to be read: '3M+', '$5', '250+', '24/7', '1.2B'.
|
|
15
|
+
*
|
|
16
|
+
* A string rather than a number, because the way it is written is the claim — the currency sign,
|
|
17
|
+
* the abbreviation, the plus that says "at least". It is drawn as given, in the page's first
|
|
18
|
+
* HTML and to assistive technology alike. Where it holds one number, that number counts up from
|
|
19
|
+
* nought as the section arrives, keeping whatever is written either side of it; where it holds
|
|
20
|
+
* none, or more than one — '24/7' is a phrase, not a quantity — it simply shows.
|
|
21
|
+
*/
|
|
22
|
+
value: string;
|
|
23
|
+
/**
|
|
24
|
+
* What the figure counts, in a few words under it: 'Traders worldwide', 'Minimum deposit'.
|
|
25
|
+
* Sentence case, and short enough that a row of them reads as a row.
|
|
26
|
+
*/
|
|
27
|
+
label: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The key numbers a Stats section sets in a row.
|
|
3
|
+
*
|
|
4
|
+
* Exported from the package for the reason `testimonial-row-data.ts` and `scroll-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 figure is a number and the words that say
|
|
8
|
+
* what it counts — nothing in it is an element a page composes — and a set of them is what a CMS
|
|
9
|
+
* or a facts sheet hands over.
|
|
10
|
+
*/
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The steps a Steps section numbers down its list.
|
|
3
|
+
*
|
|
4
|
+
* Exported from the package for the reason `scroll-data.ts` and `testimonial-slider-data.ts` are: a
|
|
5
|
+
* block whose content is a list is one whose consumer builds a value before passing it, and building
|
|
6
|
+
* it without the type means writing the shape out a second time.
|
|
7
|
+
*
|
|
8
|
+
* A record rather than a component per step, because a step is a name and a sentence — nothing in it
|
|
9
|
+
* is an element a page composes — and the number in front of it is the section's to draw, not the
|
|
10
|
+
* page's. A set that arrives as data can be mapped from a CMS and reordered by the page that holds
|
|
11
|
+
* it, and the numbers follow the order without anybody retyping them.
|
|
12
|
+
*/
|
|
13
|
+
import type { BlockImage } from './block-image-data.js';
|
|
14
|
+
/** One step in a Steps section: what the reader does, and what it involves. */
|
|
15
|
+
export interface StepsItem {
|
|
16
|
+
/**
|
|
17
|
+
* What the reader does at this step, as a short imperative — 'Open an account', 'Fund it'.
|
|
18
|
+
*
|
|
19
|
+
* It is what a reader scanning the list takes in, so a verb and its object beats a sentence. Drawn
|
|
20
|
+
* as a heading, which is what lets a screen reader move from one step to the next.
|
|
21
|
+
*/
|
|
22
|
+
title: string;
|
|
23
|
+
/**
|
|
24
|
+
* What the step involves, in a sentence.
|
|
25
|
+
*
|
|
26
|
+
* Under about two hundred characters: past that a list of four runs longer than the square beside
|
|
27
|
+
* it and the two halves stop lining up, which is the one thing a split has to get right.
|
|
28
|
+
*/
|
|
29
|
+
description: string;
|
|
30
|
+
/**
|
|
31
|
+
* A picture of this step — a screenshot of the screen it happens on.
|
|
32
|
+
*
|
|
33
|
+
* Given on every step, the picture beside the list is the current step's: the first while the
|
|
34
|
+
* list is still, and each in turn under `autoplay`. Decoration, as the section's one picture is:
|
|
35
|
+
* what the step says is its title and its line.
|
|
36
|
+
*/
|
|
37
|
+
image?: BlockImage;
|
|
38
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The steps a Steps section numbers down its list.
|
|
3
|
+
*
|
|
4
|
+
* Exported from the package for the reason `scroll-data.ts` and `testimonial-slider-data.ts` are: a
|
|
5
|
+
* block whose content is a list is one whose consumer builds a value before passing it, and building
|
|
6
|
+
* it without the type means writing the shape out a second time.
|
|
7
|
+
*
|
|
8
|
+
* A record rather than a component per step, because a step is a name and a sentence — nothing in it
|
|
9
|
+
* is an element a page composes — and the number in front of it is the section's to draw, not the
|
|
10
|
+
* page's. A set that arrives as data can be mapped from a CMS and reordered by the page that holds
|
|
11
|
+
* it, and the numbers follow the order without anybody retyping them.
|
|
12
|
+
*/
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The cards a StickyCards section piles up as the page scrolls.
|
|
3
|
+
*
|
|
4
|
+
* Exported from the package for the reason `testimonial-row-data.ts` is: a block whose content is a
|
|
5
|
+
* list is one whose consumer builds a value before passing it.
|
|
6
|
+
*
|
|
7
|
+
* Records rather than a component per card, because a card here is words, a picture and a fill —
|
|
8
|
+
* nothing in it is an element a page composes — and a list of markets or steps is what a content
|
|
9
|
+
* system hands over. The one thing a record cannot carry, an animation the page plays itself, comes
|
|
10
|
+
* through the block's `media` callback instead, so the records stay plain data.
|
|
11
|
+
*/
|
|
12
|
+
import type { BlockImage } from './block-image-data.js';
|
|
13
|
+
/** One card in a StickyCards pile: what it is called, what it says, and what it shows. */
|
|
14
|
+
export interface StickyCardsItem {
|
|
15
|
+
/** What the card is about, in a few words — "Forex", "Sign up". It is the card's heading. */
|
|
16
|
+
title: string;
|
|
17
|
+
/**
|
|
18
|
+
* What the title means, a sentence or two. Kept to about the same length across the set: the
|
|
19
|
+
* cards are drawn the height of the tallest, so one long description makes every card taller.
|
|
20
|
+
*/
|
|
21
|
+
description: string;
|
|
22
|
+
/**
|
|
23
|
+
* The card's picture. In `compact` it fills the card's panel — a landscape container beside the
|
|
24
|
+
* words from the fold, under them on a phone — cropped to fill it. In `feature` it is half the
|
|
25
|
+
* card, running to the card's edges; give one to every card there. `alt` empty when the title already says what it
|
|
26
|
+
* shows. A picture the `media` callback replaces is not drawn.
|
|
27
|
+
*/
|
|
28
|
+
image?: BlockImage;
|
|
29
|
+
/**
|
|
30
|
+
* A photograph behind the whole card, in the `compact` layout: drawn under an 72% wash of the
|
|
31
|
+
* card's own fill, so the words keep their contrast and the picture shows through as texture — the
|
|
32
|
+
* reference design's market cards. Not drawn in `feature`, where the picture is half the card.
|
|
33
|
+
* Usually decorative: `alt` empty.
|
|
34
|
+
*/
|
|
35
|
+
background?: BlockImage;
|
|
36
|
+
/**
|
|
37
|
+
* The card's fill — Card's own variants, the three that are opaque and keep their colour in both
|
|
38
|
+
* themes, so a card laid over another hides it in either: `accent-strong` the dark card, the
|
|
39
|
+
* default; `accent` the coral one, for a title and a short sentence; `surface-light` the light
|
|
40
|
+
* one. Alternate them so each edge in the pile reads apart from the next.
|
|
41
|
+
*/
|
|
42
|
+
variant?: 'accent-strong' | 'accent' | 'surface-light';
|
|
43
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The cards a StickyCards section piles up as the page scrolls.
|
|
3
|
+
*
|
|
4
|
+
* Exported from the package for the reason `testimonial-row-data.ts` is: a block whose content is a
|
|
5
|
+
* list is one whose consumer builds a value before passing it.
|
|
6
|
+
*
|
|
7
|
+
* Records rather than a component per card, because a card here is words, a picture and a fill —
|
|
8
|
+
* nothing in it is an element a page composes — and a list of markets or steps is what a content
|
|
9
|
+
* system hands over. The one thing a record cannot carry, an animation the page plays itself, comes
|
|
10
|
+
* through the block's `media` callback instead, so the records stay plain data.
|
|
11
|
+
*/
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The people a TeamGrid section sets out in its grid.
|
|
3
|
+
*
|
|
4
|
+
* Exported from the package for the reason `testimonial-row-data.ts` is: a block whose content is a
|
|
5
|
+
* list is one whose consumer builds a value before passing it.
|
|
6
|
+
*
|
|
7
|
+
* Records rather than a component per person, because a person here is a picture, a name, a role
|
|
8
|
+
* and perhaps a link — nothing in it is an element a page composes — and a team page's list is
|
|
9
|
+
* what a content system hands over.
|
|
10
|
+
*/
|
|
11
|
+
/** One person in a TeamGrid grid: who they are, what they do, and their picture. */
|
|
12
|
+
export interface TeamGridMember {
|
|
13
|
+
/** Their full name, as they would write it. It is the card's heading. */
|
|
14
|
+
name: string;
|
|
15
|
+
/**
|
|
16
|
+
* What they do, in a few words — "Chief Executive Officer". Kept short and in one style across the
|
|
17
|
+
* set: the roles are read down a column, and one that runs to a sentence breaks the line.
|
|
18
|
+
*/
|
|
19
|
+
role: string;
|
|
20
|
+
/**
|
|
21
|
+
* Their picture. `alt` is what a screen reader hears for it, and an empty string is the usual
|
|
22
|
+
* answer: the name is the heading right under it, so a portrait alt-texted with the name is the
|
|
23
|
+
* name read twice. Describe the picture only when it shows something the name does not.
|
|
24
|
+
*/
|
|
25
|
+
image: {
|
|
26
|
+
src: string;
|
|
27
|
+
alt: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* A profile of theirs elsewhere — "LinkedIn" and its URL. `label` is the visible word; the link is
|
|
31
|
+
* named for the person as well, so a list of links heard on its own says whose each is. It opens in
|
|
32
|
+
* a new tab, the profile being on a site the page does not own.
|
|
33
|
+
*/
|
|
34
|
+
profile?: {
|
|
35
|
+
href: string;
|
|
36
|
+
label: string;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The people a TeamGrid section sets out in its grid.
|
|
3
|
+
*
|
|
4
|
+
* Exported from the package for the reason `testimonial-row-data.ts` is: a block whose content is a
|
|
5
|
+
* list is one whose consumer builds a value before passing it.
|
|
6
|
+
*
|
|
7
|
+
* Records rather than a component per person, because a person here is a picture, a name, a role
|
|
8
|
+
* and perhaps a link — nothing in it is an element a page composes — and a team page's list is
|
|
9
|
+
* what a content system hands over.
|
|
10
|
+
*/
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The tiers a Tiers section lays out in order, lowest first.
|
|
3
|
+
*
|
|
4
|
+
* Exported from the package for the reason `testimonial-row-data.ts` and `logo-data.ts` are: a block
|
|
5
|
+
* whose content is a list is one whose consumer builds a value before passing it, and building it
|
|
6
|
+
* without the type means writing the shape out a second time.
|
|
7
|
+
*
|
|
8
|
+
* A record rather than a component per tier, because a tier is a name, a stage, a benefit and the
|
|
9
|
+
* bar a partner clears to reach it — nothing in it is an element a page composes. The order is the
|
|
10
|
+
* argument, and it is the list's: a set that arrives as data can be mapped from a partner programme's
|
|
11
|
+
* own configuration, and the progression follows it without anybody restating which tier is higher.
|
|
12
|
+
*/
|
|
13
|
+
/** One tier in a Tiers section: its medal, its name and stage, what it gives and what it asks. */
|
|
14
|
+
export interface TiersItem {
|
|
15
|
+
/**
|
|
16
|
+
* The tier's name, one word — 'Bronze', 'Gold'. Drawn as a heading, which is what lets a screen
|
|
17
|
+
* reader move from one tier to the next.
|
|
18
|
+
*/
|
|
19
|
+
name: string;
|
|
20
|
+
/**
|
|
21
|
+
* The stage the tier stands for, as a single verb — 'Launch', 'Grow', 'Scale', 'Lead'. Read with
|
|
22
|
+
* the name as its second line, so a verb says what a partner at this tier is doing rather than
|
|
23
|
+
* restating the rank.
|
|
24
|
+
*/
|
|
25
|
+
stage: string;
|
|
26
|
+
/**
|
|
27
|
+
* The medal drawn over the name, as a path or a URL. A square picture with a transparent ground —
|
|
28
|
+
* a matching set across the tiers, so the progression reads in the art as well as the words.
|
|
29
|
+
*
|
|
30
|
+
* Decoration: it is drawn with empty alternative text, because the name under it is the heading a
|
|
31
|
+
* reader hears, and a medal announced as 'Bronze' over a heading reading 'Bronze' says it twice.
|
|
32
|
+
*/
|
|
33
|
+
medal: string;
|
|
34
|
+
/**
|
|
35
|
+
* The headline on the benefit card — 'Commission + 4% bonus'. What a partner at this tier gets, in
|
|
36
|
+
* the fewest words that state it.
|
|
37
|
+
*/
|
|
38
|
+
benefit: string;
|
|
39
|
+
/** What the benefit means, in a sentence under the headline. */
|
|
40
|
+
description: string;
|
|
41
|
+
/**
|
|
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. Absent for the
|
|
44
|
+
* entry tier, which a partner holds from the day they join.
|
|
45
|
+
*/
|
|
46
|
+
qualification?: string;
|
|
47
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The tiers a Tiers section lays out in order, lowest first.
|
|
3
|
+
*
|
|
4
|
+
* Exported from the package for the reason `testimonial-row-data.ts` and `logo-data.ts` are: a block
|
|
5
|
+
* whose content is a list is one whose consumer builds a value before passing it, and building it
|
|
6
|
+
* without the type means writing the shape out a second time.
|
|
7
|
+
*
|
|
8
|
+
* A record rather than a component per tier, because a tier is a name, a stage, a benefit and the
|
|
9
|
+
* bar a partner clears to reach it — nothing in it is an element a page composes. The order is the
|
|
10
|
+
* argument, and it is the list's: a set that arrives as data can be mapped from a partner programme's
|
|
11
|
+
* own configuration, and the progression follows it without anybody restating which tier is higher.
|
|
12
|
+
*/
|
|
13
|
+
export {};
|