@repobit/dex-system-design 2.7.1 → 3.0.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/CHANGELOG.md +37 -0
- package/README.md +10 -3
- package/dist/src/components/accordion/accordion-bg.css.d.ts +2 -0
- package/dist/src/components/accordion/accordion-bg.css.js +289 -0
- package/dist/src/components/accordion/accordion-bg.css.js.map +1 -0
- package/dist/src/components/accordion/accordion-bg.d.ts +52 -0
- package/dist/src/components/accordion/accordion-bg.js +271 -0
- package/dist/src/components/accordion/accordion-bg.js.map +1 -0
- package/dist/src/components/accordion/accordion-keyboard.d.ts +46 -0
- package/dist/src/components/accordion/accordion-keyboard.js +90 -0
- package/dist/src/components/accordion/accordion-keyboard.js.map +1 -0
- package/dist/src/components/accordion/accordion-panel.d.ts +22 -0
- package/dist/src/components/accordion/accordion-panel.js +23 -0
- package/dist/src/components/accordion/accordion-panel.js.map +1 -0
- package/dist/src/components/accordion/accordion.css.d.ts +2 -0
- package/dist/src/components/accordion/accordion.css.js +381 -0
- package/dist/src/components/accordion/accordion.css.js.map +1 -0
- package/dist/src/components/accordion/accordion.d.ts +39 -0
- package/dist/src/components/accordion/accordion.js +190 -0
- package/dist/src/components/accordion/accordion.js.map +1 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.css.d.ts +2 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js +89 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +29 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.js +106 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -0
- package/dist/src/components/alert/alert.css.d.ts +38 -0
- package/dist/src/components/alert/alert.css.js +218 -0
- package/dist/src/components/alert/alert.css.js.map +1 -0
- package/dist/src/components/alert/alert.d.ts +55 -0
- package/dist/src/components/alert/alert.js +132 -0
- package/dist/src/components/alert/alert.js.map +1 -0
- package/dist/src/components/anchor/anchor-nav.css.d.ts +1 -0
- package/dist/src/components/anchor/anchor-nav.css.js +547 -0
- package/dist/src/components/anchor/anchor-nav.css.js.map +1 -0
- package/dist/src/components/anchor/anchor-nav.d.ts +85 -0
- package/dist/src/components/anchor/anchor-nav.js +611 -0
- package/dist/src/components/anchor/anchor-nav.js.map +1 -0
- package/dist/src/components/annotation/annotation.css.d.ts +3 -0
- package/dist/src/components/annotation/annotation.css.js +65 -0
- package/dist/src/components/annotation/annotation.css.js.map +1 -0
- package/dist/src/components/annotation/annotation.d.ts +28 -0
- package/dist/src/components/annotation/annotation.js +75 -0
- package/dist/src/components/annotation/annotation.js.map +1 -0
- package/dist/src/components/audience-card/audience-card.css.d.ts +1 -0
- package/dist/src/components/audience-card/audience-card.css.js +123 -0
- package/dist/src/components/audience-card/audience-card.css.js.map +1 -0
- package/dist/src/components/audience-card/audience-card.d.ts +38 -0
- package/dist/src/components/audience-card/audience-card.js +94 -0
- package/dist/src/components/audience-card/audience-card.js.map +1 -0
- package/dist/src/components/avatar/avatar.css.d.ts +3 -0
- package/dist/src/components/avatar/avatar.css.js +66 -0
- package/dist/src/components/avatar/avatar.css.js.map +1 -0
- package/dist/src/components/avatar/avatar.d.ts +18 -0
- package/dist/src/components/avatar/avatar.js +81 -0
- package/dist/src/components/avatar/avatar.js.map +1 -0
- package/dist/src/components/awards/awards-flex.css.d.ts +1 -0
- package/dist/src/components/awards/awards-flex.css.js +274 -0
- package/dist/src/components/awards/awards-flex.css.js.map +1 -0
- package/dist/src/components/awards/awards-flex.d.ts +64 -0
- package/dist/src/components/awards/awards-flex.js +299 -0
- package/dist/src/components/awards/awards-flex.js.map +1 -0
- package/dist/src/components/awards/awards-spotlight.css.d.ts +1 -0
- package/dist/src/components/awards/awards-spotlight.css.js +162 -0
- package/dist/src/components/awards/awards-spotlight.css.js.map +1 -0
- package/dist/src/components/awards/awards-spotlight.d.ts +59 -0
- package/dist/src/components/awards/awards-spotlight.js +167 -0
- package/dist/src/components/awards/awards-spotlight.js.map +1 -0
- package/dist/src/components/awards/awards.css.d.ts +1 -0
- package/dist/src/components/awards/awards.css.js +402 -0
- package/dist/src/components/awards/awards.css.js.map +1 -0
- package/dist/src/components/awards/awards.d.ts +79 -0
- package/dist/src/components/awards/awards.js +215 -0
- package/dist/src/components/awards/awards.js.map +1 -0
- package/dist/src/components/awards/scroll-slides.d.ts +55 -0
- package/dist/src/components/awards/scroll-slides.js +132 -0
- package/dist/src/components/awards/scroll-slides.js.map +1 -0
- package/dist/src/components/back/back.css.d.ts +2 -0
- package/dist/src/components/back/back.css.js +92 -0
- package/dist/src/components/back/back.css.js.map +1 -0
- package/dist/src/components/back/back.d.ts +29 -0
- package/dist/src/components/back/back.js +81 -0
- package/dist/src/components/back/back.js.map +1 -0
- package/dist/src/components/badge/badge.css.d.ts +7 -0
- package/dist/src/components/badge/badge.css.js +205 -0
- package/dist/src/components/badge/badge.css.js.map +1 -0
- package/dist/src/components/badge/badge.d.ts +37 -0
- package/dist/src/components/badge/badge.js +122 -0
- package/dist/src/components/badge/badge.js.map +1 -0
- package/dist/src/components/bento-grid/bento-grid.css.d.ts +10 -0
- package/dist/src/components/bento-grid/bento-grid.css.js +162 -0
- package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -0
- package/dist/src/components/bento-grid/bento-grid.d.ts +32 -0
- package/dist/src/components/bento-grid/bento-grid.js +209 -0
- package/dist/src/components/bento-grid/bento-grid.js.map +1 -0
- package/dist/src/components/bento-grid/bento-item.css.d.ts +2 -0
- package/dist/src/components/bento-grid/bento-item.css.js +339 -0
- package/dist/src/components/bento-grid/bento-item.css.js.map +1 -0
- package/dist/src/components/bento-grid/bento-item.d.ts +26 -0
- package/dist/src/components/bento-grid/bento-item.js +114 -0
- package/dist/src/components/bento-grid/bento-item.js.map +1 -0
- package/dist/src/components/blockquote/blockquote.css.d.ts +3 -0
- package/dist/src/components/blockquote/blockquote.css.js +55 -0
- package/dist/src/components/blockquote/blockquote.css.js.map +1 -0
- package/dist/src/components/blockquote/blockquote.d.ts +13 -0
- package/dist/src/components/blockquote/blockquote.js +45 -0
- package/dist/src/components/blockquote/blockquote.js.map +1 -0
- package/dist/src/components/breadcrumb/breadcrumb.css.d.ts +2 -0
- package/dist/src/components/breadcrumb/breadcrumb.css.js +169 -0
- package/dist/src/components/breadcrumb/breadcrumb.css.js.map +1 -0
- package/dist/src/components/breadcrumb/breadcrumb.d.ts +44 -0
- package/dist/src/components/breadcrumb/breadcrumb.js +177 -0
- package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/src/components/button/button.css.d.ts +12 -0
- package/dist/src/components/button/button.css.js +844 -0
- package/dist/src/components/button/button.css.js.map +1 -0
- package/dist/src/components/button/button.d.ts +139 -0
- package/dist/src/components/button/button.js +444 -0
- package/dist/src/components/button/button.js.map +1 -0
- package/dist/src/components/caption/caption.css.d.ts +3 -0
- package/dist/src/components/caption/caption.css.js +30 -0
- package/dist/src/components/caption/caption.css.js.map +1 -0
- package/dist/src/components/caption/caption.d.ts +14 -0
- package/dist/src/components/caption/caption.js +38 -0
- package/dist/src/components/caption/caption.js.map +1 -0
- package/dist/src/components/card-features/card-features.css.d.ts +2 -0
- package/dist/src/components/card-features/card-features.css.js +121 -0
- package/dist/src/components/card-features/card-features.css.js.map +1 -0
- package/dist/src/components/card-features/card-features.d.ts +43 -0
- package/dist/src/components/card-features/card-features.js +170 -0
- package/dist/src/components/card-features/card-features.js.map +1 -0
- package/dist/src/components/cards/card.css.d.ts +2 -0
- package/dist/src/components/cards/card.css.js +370 -0
- package/dist/src/components/cards/card.css.js.map +1 -0
- package/dist/src/components/cards/card.d.ts +61 -0
- package/dist/src/components/cards/card.js +345 -0
- package/dist/src/components/cards/card.js.map +1 -0
- package/dist/src/components/carousel/carousel.css.d.ts +2 -0
- package/dist/src/components/carousel/carousel.css.js +262 -0
- package/dist/src/components/carousel/carousel.css.js.map +1 -0
- package/dist/src/components/carousel/carousel.d.ts +66 -0
- package/dist/src/components/carousel/carousel.js +334 -0
- package/dist/src/components/carousel/carousel.js.map +1 -0
- package/dist/src/components/checkbox/checkbox.css.d.ts +11 -0
- package/dist/src/components/checkbox/checkbox.css.js +174 -0
- package/dist/src/components/checkbox/checkbox.css.js.map +1 -0
- package/dist/src/components/checkbox/checkbox.d.ts +35 -0
- package/dist/src/components/checkbox/checkbox.js +153 -0
- package/dist/src/components/checkbox/checkbox.js.map +1 -0
- package/dist/src/components/code/code.css.d.ts +3 -0
- package/dist/src/components/code/code.css.js +74 -0
- package/dist/src/components/code/code.css.js.map +1 -0
- package/dist/src/components/code/code.d.ts +21 -0
- package/dist/src/components/code/code.js +89 -0
- package/dist/src/components/code/code.js.map +1 -0
- package/dist/src/components/compare/compare.css.d.ts +2 -0
- package/dist/src/components/compare/compare.css.js +479 -0
- package/dist/src/components/compare/compare.css.js.map +1 -0
- package/dist/src/components/compare/compare.d.ts +79 -0
- package/dist/src/components/compare/compare.js +575 -0
- package/dist/src/components/compare/compare.js.map +1 -0
- package/dist/src/components/comparison-panel/comparison-panel.css.d.ts +2 -0
- package/dist/src/components/comparison-panel/comparison-panel.css.js +142 -0
- package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -0
- package/dist/src/components/comparison-panel/comparison-panel.d.ts +23 -0
- package/dist/src/components/comparison-panel/comparison-panel.js +121 -0
- package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -0
- package/dist/src/components/compatibility-table/compatibility-table.css.d.ts +2 -0
- package/dist/src/components/compatibility-table/compatibility-table.css.js +392 -0
- package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -0
- package/dist/src/components/compatibility-table/compatibility-table.d.ts +51 -0
- package/dist/src/components/compatibility-table/compatibility-table.js +177 -0
- package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -0
- package/dist/src/components/cta-banner/cta-banner.css.d.ts +2 -0
- package/dist/src/components/cta-banner/cta-banner.css.js +98 -0
- package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -0
- package/dist/src/components/cta-banner/cta-banner.d.ts +16 -0
- package/dist/src/components/cta-banner/cta-banner.js +77 -0
- package/dist/src/components/cta-banner/cta-banner.js.map +1 -0
- package/dist/src/components/display/display.css.d.ts +2 -0
- package/dist/src/components/display/display.css.js +96 -0
- package/dist/src/components/display/display.css.js.map +1 -0
- package/dist/src/components/display/display.d.ts +23 -0
- package/dist/src/components/display/display.js +87 -0
- package/dist/src/components/display/display.js.map +1 -0
- package/dist/src/components/divider/divider-horizontal.d.ts +15 -0
- package/dist/src/components/divider/divider-horizontal.js +70 -0
- package/dist/src/components/divider/divider-horizontal.js.map +1 -0
- package/dist/src/components/divider/divider-vertical.d.ts +16 -0
- package/dist/src/components/divider/divider-vertical.js +67 -0
- package/dist/src/components/divider/divider-vertical.js.map +1 -0
- package/dist/src/components/divider/divider.css.d.ts +2 -0
- package/dist/src/components/divider/divider.css.js +21 -0
- package/dist/src/components/divider/divider.css.js.map +1 -0
- package/dist/src/components/dropdown/dropdown.css.d.ts +9 -0
- package/dist/src/components/dropdown/dropdown.css.js +122 -0
- package/dist/src/components/dropdown/dropdown.css.js.map +1 -0
- package/dist/src/components/dropdown/dropdown.d.ts +49 -0
- package/dist/src/components/dropdown/dropdown.js +302 -0
- package/dist/src/components/dropdown/dropdown.js.map +1 -0
- package/dist/src/components/features/features.css.d.ts +2 -0
- package/dist/src/components/features/features.css.js +124 -0
- package/dist/src/components/features/features.css.js.map +1 -0
- package/dist/src/components/features/features.d.ts +21 -0
- package/dist/src/components/features/features.js +88 -0
- package/dist/src/components/features/features.js.map +1 -0
- package/dist/src/components/features-tab/features-tab.css.d.ts +2 -0
- package/dist/src/components/features-tab/features-tab.css.js +101 -0
- package/dist/src/components/features-tab/features-tab.css.js.map +1 -0
- package/dist/src/components/features-tab/features-tab.d.ts +21 -0
- package/dist/src/components/features-tab/features-tab.js +87 -0
- package/dist/src/components/features-tab/features-tab.js.map +1 -0
- package/dist/src/components/fieldset/fieldset.css.d.ts +3 -0
- package/dist/src/components/fieldset/fieldset.css.js +29 -0
- package/dist/src/components/fieldset/fieldset.css.js.map +1 -0
- package/dist/src/components/fieldset/fieldset.d.ts +12 -0
- package/dist/src/components/fieldset/fieldset.js +35 -0
- package/dist/src/components/fieldset/fieldset.js.map +1 -0
- package/dist/src/components/footer/footer-images.d.ts +3 -0
- package/dist/src/components/footer/footer-images.js +31 -0
- package/dist/src/components/footer/footer-images.js.map +1 -0
- package/dist/src/components/footer/footer-links-group.css.d.ts +2 -0
- package/dist/src/components/footer/footer-links-group.css.js +34 -0
- package/dist/src/components/footer/footer-links-group.css.js.map +1 -0
- package/dist/src/components/footer/footer-links-group.d.ts +13 -0
- package/dist/src/components/footer/footer-links-group.js +34 -0
- package/dist/src/components/footer/footer-links-group.js.map +1 -0
- package/dist/src/components/footer/footer-locale.d.ts +3 -0
- package/dist/src/components/footer/footer-locale.js +46 -0
- package/dist/src/components/footer/footer-locale.js.map +1 -0
- package/dist/src/components/footer/footer-lp.d.ts +26 -0
- package/dist/src/components/footer/footer-lp.js +158 -0
- package/dist/src/components/footer/footer-lp.js.map +1 -0
- package/dist/src/components/footer/footer-nav-menu.css.d.ts +2 -0
- package/dist/src/components/footer/footer-nav-menu.css.js +62 -0
- package/dist/src/components/footer/footer-nav-menu.css.js.map +1 -0
- package/dist/src/components/footer/footer-nav-menu.d.ts +14 -0
- package/dist/src/components/footer/footer-nav-menu.js +50 -0
- package/dist/src/components/footer/footer-nav-menu.js.map +1 -0
- package/dist/src/components/footer/footer.css.d.ts +2 -0
- package/dist/src/components/footer/footer.css.js +665 -0
- package/dist/src/components/footer/footer.css.js.map +1 -0
- package/dist/src/components/footer/footer.d.ts +53 -0
- package/dist/src/components/footer/footer.js +418 -0
- package/dist/src/components/footer/footer.js.map +1 -0
- package/dist/src/components/footer/localeMap.d.ts +1 -0
- package/dist/src/components/footer/localeMap.js +2 -0
- package/dist/src/components/footer/localeMap.js.map +1 -0
- package/dist/src/components/grid/grid.css.d.ts +2 -0
- package/dist/src/components/grid/grid.css.js +79 -0
- package/dist/src/components/grid/grid.css.js.map +1 -0
- package/dist/src/components/grid/grid.d.ts +27 -0
- package/dist/src/components/grid/grid.js +139 -0
- package/dist/src/components/grid/grid.js.map +1 -0
- package/dist/src/components/header/header-code.css.d.ts +2 -0
- package/dist/src/components/header/header-code.css.js +370 -0
- package/dist/src/components/header/header-code.css.js.map +1 -0
- package/dist/src/components/header/header-code.d.ts +49 -0
- package/dist/src/components/header/header-code.js +228 -0
- package/dist/src/components/header/header-code.js.map +1 -0
- package/dist/src/components/header/header.css.d.ts +2 -0
- package/dist/src/components/header/header.css.js +758 -0
- package/dist/src/components/header/header.css.js.map +1 -0
- package/dist/src/components/header/header.d.ts +32 -0
- package/dist/src/components/header/header.js +373 -0
- package/dist/src/components/header/header.js.map +1 -0
- package/dist/src/components/heading/heading.css.d.ts +2 -0
- package/dist/src/components/heading/heading.css.js +90 -0
- package/dist/src/components/heading/heading.css.js.map +1 -0
- package/dist/src/components/heading/heading.d.ts +42 -0
- package/dist/src/components/heading/heading.js +109 -0
- package/dist/src/components/heading/heading.js.map +1 -0
- package/dist/src/components/help-text/help-text.css.d.ts +3 -0
- package/dist/src/components/help-text/help-text.css.js +20 -0
- package/dist/src/components/help-text/help-text.css.js.map +1 -0
- package/dist/src/components/help-text/help-text.d.ts +14 -0
- package/dist/src/components/help-text/help-text.js +32 -0
- package/dist/src/components/help-text/help-text.js.map +1 -0
- package/dist/src/components/hero/hero.css.d.ts +1 -0
- package/dist/src/components/hero/hero.css.js +363 -0
- package/dist/src/components/hero/hero.css.js.map +1 -0
- package/dist/src/components/hero/hero.d.ts +58 -0
- package/dist/src/components/hero/hero.js +198 -0
- package/dist/src/components/hero/hero.js.map +1 -0
- package/dist/src/components/highlight/highlight.css.d.ts +2 -0
- package/dist/src/components/highlight/highlight.css.js +176 -0
- package/dist/src/components/highlight/highlight.css.js.map +1 -0
- package/dist/src/components/highlight/highlight.d.ts +21 -0
- package/dist/src/components/highlight/highlight.js +116 -0
- package/dist/src/components/highlight/highlight.js.map +1 -0
- package/dist/src/components/icons/analysis-icon.d.ts +11 -0
- package/dist/src/components/icons/analysis-icon.js +24 -0
- package/dist/src/components/icons/analysis-icon.js.map +1 -0
- package/dist/src/components/icons/arrow-down-icon.d.ts +11 -0
- package/dist/src/components/icons/arrow-down-icon.js +24 -0
- package/dist/src/components/icons/arrow-down-icon.js.map +1 -0
- package/dist/src/components/icons/arrow-icon.d.ts +37 -0
- package/dist/src/components/icons/arrow-icon.js +52 -0
- package/dist/src/components/icons/arrow-icon.js.map +1 -0
- package/dist/src/components/icons/arrow-right-icon.d.ts +34 -0
- package/dist/src/components/icons/arrow-right-icon.js +49 -0
- package/dist/src/components/icons/arrow-right-icon.js.map +1 -0
- package/dist/src/components/icons/arrow-up-icon.d.ts +24 -0
- package/dist/src/components/icons/arrow-up-icon.js +37 -0
- package/dist/src/components/icons/arrow-up-icon.js.map +1 -0
- package/dist/src/components/icons/av-comparatives-icon.d.ts +13 -0
- package/dist/src/components/icons/av-comparatives-icon.js +42 -0
- package/dist/src/components/icons/av-comparatives-icon.js.map +1 -0
- package/dist/src/components/icons/bd-ai-icon.d.ts +13 -0
- package/dist/src/components/icons/bd-ai-icon.js +35 -0
- package/dist/src/components/icons/bd-ai-icon.js.map +1 -0
- package/dist/src/components/icons/best-brands-icon.d.ts +13 -0
- package/dist/src/components/icons/best-brands-icon.js +44 -0
- package/dist/src/components/icons/best-brands-icon.js.map +1 -0
- package/dist/src/components/icons/brand-signature-icon.d.ts +37 -0
- package/dist/src/components/icons/brand-signature-icon.js +50 -0
- package/dist/src/components/icons/brand-signature-icon.js.map +1 -0
- package/dist/src/components/icons/check-icon.d.ts +22 -0
- package/dist/src/components/icons/check-icon.js +35 -0
- package/dist/src/components/icons/check-icon.js.map +1 -0
- package/dist/src/components/icons/circle-info-icon.d.ts +26 -0
- package/dist/src/components/icons/circle-info-icon.js +41 -0
- package/dist/src/components/icons/circle-info-icon.js.map +1 -0
- package/dist/src/components/icons/close-icon.d.ts +11 -0
- package/dist/src/components/icons/close-icon.js +24 -0
- package/dist/src/components/icons/close-icon.js.map +1 -0
- package/dist/src/components/icons/enterprise-icon.d.ts +11 -0
- package/dist/src/components/icons/enterprise-icon.js +26 -0
- package/dist/src/components/icons/enterprise-icon.js.map +1 -0
- package/dist/src/components/icons/family-icon.d.ts +11 -0
- package/dist/src/components/icons/family-icon.js +26 -0
- package/dist/src/components/icons/family-icon.js.map +1 -0
- package/dist/src/components/icons/globe-icon.d.ts +11 -0
- package/dist/src/components/icons/globe-icon.js +24 -0
- package/dist/src/components/icons/globe-icon.js.map +1 -0
- package/dist/src/components/icons/guide-icon.d.ts +11 -0
- package/dist/src/components/icons/guide-icon.js +24 -0
- package/dist/src/components/icons/guide-icon.js.map +1 -0
- package/dist/src/components/icons/home-icon.d.ts +11 -0
- package/dist/src/components/icons/home-icon.js +26 -0
- package/dist/src/components/icons/home-icon.js.map +1 -0
- package/dist/src/components/icons/icon-element.d.ts +58 -0
- package/dist/src/components/icons/icon-element.js +163 -0
- package/dist/src/components/icons/icon-element.js.map +1 -0
- package/dist/src/components/icons/icons.d.ts +40 -0
- package/dist/src/components/icons/icons.js +42 -0
- package/dist/src/components/icons/icons.js.map +1 -0
- package/dist/src/components/icons/individual-icon.d.ts +11 -0
- package/dist/src/components/icons/individual-icon.js +24 -0
- package/dist/src/components/icons/individual-icon.js.map +1 -0
- package/dist/src/components/icons/laurel-icon.d.ts +11 -0
- package/dist/src/components/icons/laurel-icon.js +36 -0
- package/dist/src/components/icons/laurel-icon.js.map +1 -0
- package/dist/src/components/icons/machine-learning-icon.d.ts +11 -0
- package/dist/src/components/icons/machine-learning-icon.js +24 -0
- package/dist/src/components/icons/machine-learning-icon.js.map +1 -0
- package/dist/src/components/icons/marks.d.ts +40 -0
- package/dist/src/components/icons/marks.js +41 -0
- package/dist/src/components/icons/marks.js.map +1 -0
- package/dist/src/components/icons/minus-icon.d.ts +11 -0
- package/dist/src/components/icons/minus-icon.js +24 -0
- package/dist/src/components/icons/minus-icon.js.map +1 -0
- package/dist/src/components/icons/missing-icon.d.ts +41 -0
- package/dist/src/components/icons/missing-icon.js +58 -0
- package/dist/src/components/icons/missing-icon.js.map +1 -0
- package/dist/src/components/icons/pause-icon.d.ts +11 -0
- package/dist/src/components/icons/pause-icon.js +27 -0
- package/dist/src/components/icons/pause-icon.js.map +1 -0
- package/dist/src/components/icons/pc-mag-2024-icon.d.ts +13 -0
- package/dist/src/components/icons/pc-mag-2024-icon.js +43 -0
- package/dist/src/components/icons/pc-mag-2024-icon.js.map +1 -0
- package/dist/src/components/icons/pc-mag-business-icon.d.ts +13 -0
- package/dist/src/components/icons/pc-mag-business-icon.js +43 -0
- package/dist/src/components/icons/pc-mag-business-icon.js.map +1 -0
- package/dist/src/components/icons/pc-mag-icon.d.ts +13 -0
- package/dist/src/components/icons/pc-mag-icon.js +43 -0
- package/dist/src/components/icons/pc-mag-icon.js.map +1 -0
- package/dist/src/components/icons/pc-mag-readers-icon.d.ts +13 -0
- package/dist/src/components/icons/pc-mag-readers-icon.js +42 -0
- package/dist/src/components/icons/pc-mag-readers-icon.js.map +1 -0
- package/dist/src/components/icons/play-icon.d.ts +11 -0
- package/dist/src/components/icons/play-icon.js +26 -0
- package/dist/src/components/icons/play-icon.js.map +1 -0
- package/dist/src/components/icons/plus-icon.d.ts +11 -0
- package/dist/src/components/icons/plus-icon.js +23 -0
- package/dist/src/components/icons/plus-icon.js.map +1 -0
- package/dist/src/components/icons/quote-icon.d.ts +20 -0
- package/dist/src/components/icons/quote-icon.js +34 -0
- package/dist/src/components/icons/quote-icon.js.map +1 -0
- package/dist/src/components/icons/small-business-icon.d.ts +11 -0
- package/dist/src/components/icons/small-business-icon.js +26 -0
- package/dist/src/components/icons/small-business-icon.js.map +1 -0
- package/dist/src/components/icons/top-product-icon.d.ts +13 -0
- package/dist/src/components/icons/top-product-icon.js +43 -0
- package/dist/src/components/icons/top-product-icon.js.map +1 -0
- package/dist/src/components/image/image.css.d.ts +2 -0
- package/dist/src/components/image/image.css.js +107 -0
- package/dist/src/components/image/image.css.js.map +1 -0
- package/dist/src/components/image/image.d.ts +35 -0
- package/dist/src/components/image/image.js +122 -0
- package/dist/src/components/image/image.js.map +1 -0
- package/dist/src/components/input/input-clipboard.css.d.ts +9 -0
- package/dist/src/components/input/input-clipboard.css.js +94 -0
- package/dist/src/components/input/input-clipboard.css.js.map +1 -0
- package/dist/src/components/input/input-clipboard.d.ts +52 -0
- package/dist/src/components/input/input-clipboard.js +299 -0
- package/dist/src/components/input/input-clipboard.js.map +1 -0
- package/dist/src/components/input/input.css.d.ts +9 -0
- package/dist/src/components/input/input.css.js +10 -0
- package/dist/src/components/input/input.css.js.map +1 -0
- package/dist/src/components/input/input.d.ts +48 -0
- package/dist/src/components/input/input.js +215 -0
- package/dist/src/components/input/input.js.map +1 -0
- package/dist/src/components/install-options/install-options.css.d.ts +2 -0
- package/dist/src/components/install-options/install-options.css.js +309 -0
- package/dist/src/components/install-options/install-options.css.js.map +1 -0
- package/dist/src/components/install-options/install-options.d.ts +42 -0
- package/dist/src/components/install-options/install-options.js +240 -0
- package/dist/src/components/install-options/install-options.js.map +1 -0
- package/dist/src/components/label/label.css.d.ts +3 -0
- package/dist/src/components/label/label.css.js +34 -0
- package/dist/src/components/label/label.css.js.map +1 -0
- package/dist/src/components/label/label.d.ts +33 -0
- package/dist/src/components/label/label.js +138 -0
- package/dist/src/components/label/label.js.map +1 -0
- package/dist/src/components/light-carousel/light-carousel.css.d.ts +2 -0
- package/dist/src/components/light-carousel/light-carousel.css.js +271 -0
- package/dist/src/components/light-carousel/light-carousel.css.js.map +1 -0
- package/dist/src/components/light-carousel/light-carousel.d.ts +74 -0
- package/dist/src/components/light-carousel/light-carousel.js +199 -0
- package/dist/src/components/light-carousel/light-carousel.js.map +1 -0
- package/dist/src/components/link/link.css.d.ts +15 -0
- package/dist/src/components/link/link.css.js +289 -0
- package/dist/src/components/link/link.css.js.map +1 -0
- package/dist/src/components/link/link.d.ts +75 -0
- package/dist/src/components/link/link.js +238 -0
- package/dist/src/components/link/link.js.map +1 -0
- package/dist/src/components/list/list-item/list-item.css.d.ts +2 -0
- package/dist/src/components/list/list-item/list-item.css.js +168 -0
- package/dist/src/components/list/list-item/list-item.css.js.map +1 -0
- package/dist/src/components/list/list-item/list-item.d.ts +33 -0
- package/dist/src/components/list/list-item/list-item.js +128 -0
- package/dist/src/components/list/list-item/list-item.js.map +1 -0
- package/dist/src/components/list/list.css.d.ts +2 -0
- package/dist/src/components/list/list.css.js +181 -0
- package/dist/src/components/list/list.css.js.map +1 -0
- package/dist/src/components/list/list.d.ts +28 -0
- package/dist/src/components/list/list.js +87 -0
- package/dist/src/components/list/list.js.map +1 -0
- package/dist/src/components/logo-marquee/logo-marquee.css.d.ts +1 -0
- package/dist/src/components/logo-marquee/logo-marquee.css.js +94 -0
- package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -0
- package/dist/src/components/logo-marquee/logo-marquee.d.ts +51 -0
- package/dist/src/components/logo-marquee/logo-marquee.js +153 -0
- package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -0
- package/dist/src/components/modal/modal.css.d.ts +2 -0
- package/dist/src/components/modal/modal.css.js +204 -0
- package/dist/src/components/modal/modal.css.js.map +1 -0
- package/dist/src/components/modal/modal.d.ts +52 -0
- package/dist/src/components/modal/modal.js +145 -0
- package/dist/src/components/modal/modal.js.map +1 -0
- package/dist/src/components/motion-art/motion-art.d.ts +42 -0
- package/dist/src/components/motion-art/motion-art.js +115 -0
- package/dist/src/components/motion-art/motion-art.js.map +1 -0
- package/dist/src/components/overview/overview.css.d.ts +2 -0
- package/dist/src/components/overview/overview.css.js +126 -0
- package/dist/src/components/overview/overview.css.js.map +1 -0
- package/dist/src/components/overview/overview.d.ts +20 -0
- package/dist/src/components/overview/overview.js +72 -0
- package/dist/src/components/overview/overview.js.map +1 -0
- package/dist/src/components/page-switcher/page-switcher.css.d.ts +1 -0
- package/dist/src/components/page-switcher/page-switcher.css.js +175 -0
- package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -0
- package/dist/src/components/page-switcher/page-switcher.d.ts +46 -0
- package/dist/src/components/page-switcher/page-switcher.js +74 -0
- package/dist/src/components/page-switcher/page-switcher.js.map +1 -0
- package/dist/src/components/pagination-dots/pagination-dots.css.d.ts +11 -0
- package/dist/src/components/pagination-dots/pagination-dots.css.js +161 -0
- package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -0
- package/dist/src/components/pagination-dots/pagination-dots.d.ts +43 -0
- package/dist/src/components/pagination-dots/pagination-dots.js +216 -0
- package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -0
- package/dist/src/components/paragraph/paragraph.css.d.ts +2 -0
- package/dist/src/components/paragraph/paragraph.css.js +102 -0
- package/dist/src/components/paragraph/paragraph.css.js.map +1 -0
- package/dist/src/components/paragraph/paragraph.d.ts +41 -0
- package/dist/src/components/paragraph/paragraph.js +122 -0
- package/dist/src/components/paragraph/paragraph.js.map +1 -0
- package/dist/src/components/partner-banner/partner-banner.css.d.ts +1 -0
- package/dist/src/components/partner-banner/partner-banner.css.js +246 -0
- package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -0
- package/dist/src/components/partner-banner/partner-banner.d.ts +35 -0
- package/dist/src/components/partner-banner/partner-banner.js +99 -0
- package/dist/src/components/partner-banner/partner-banner.js.map +1 -0
- package/dist/src/components/picture/picture.css.d.ts +2 -0
- package/dist/src/components/picture/picture.css.js +209 -0
- package/dist/src/components/picture/picture.css.js.map +1 -0
- package/dist/src/components/picture/picture.d.ts +37 -0
- package/dist/src/components/picture/picture.js +197 -0
- package/dist/src/components/picture/picture.js.map +1 -0
- package/dist/src/components/post-card/post-card.css.d.ts +1 -0
- package/dist/src/components/post-card/post-card.css.js +150 -0
- package/dist/src/components/post-card/post-card.css.js.map +1 -0
- package/dist/src/components/post-card/post-card.d.ts +38 -0
- package/dist/src/components/post-card/post-card.js +107 -0
- package/dist/src/components/post-card/post-card.js.map +1 -0
- package/dist/src/components/pricing-cards/adopt-styles.d.ts +10 -0
- package/dist/src/components/pricing-cards/adopt-styles.js +19 -0
- package/dist/src/components/pricing-cards/adopt-styles.js.map +1 -0
- package/dist/src/components/pricing-cards/new-pricing-card.d.ts +18 -0
- package/dist/src/components/pricing-cards/new-pricing-card.js +57 -0
- package/dist/src/components/pricing-cards/new-pricing-card.js.map +1 -0
- package/dist/src/components/pricing-cards/new-pricing.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/new-pricing.css.js +75 -0
- package/dist/src/components/pricing-cards/new-pricing.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js +12 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +19 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.js +82 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-container.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card-container.css.js +42 -0
- package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-container.d.ts +14 -0
- package/dist/src/components/pricing-cards/pricing-card-container.js +44 -0
- package/dist/src/components/pricing-cards/pricing-card-container.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-header.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card-header.css.js +83 -0
- package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-header.d.ts +22 -0
- package/dist/src/components/pricing-cards/pricing-card-header.js +81 -0
- package/dist/src/components/pricing-cards/pricing-card-header.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +93 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +39 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.js +129 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +30 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +16 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.js +48 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card.css.js +661 -0
- package/dist/src/components/pricing-cards/pricing-card.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card.d.ts +155 -0
- package/dist/src/components/pricing-cards/pricing-card.js +844 -0
- package/dist/src/components/pricing-cards/pricing-card.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js +35 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +13 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.js +25 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.js.map +1 -0
- package/dist/src/components/process-steps/process-steps.css.d.ts +2 -0
- package/dist/src/components/process-steps/process-steps.css.js +107 -0
- package/dist/src/components/process-steps/process-steps.css.js.map +1 -0
- package/dist/src/components/process-steps/process-steps.d.ts +25 -0
- package/dist/src/components/process-steps/process-steps.js +97 -0
- package/dist/src/components/process-steps/process-steps.js.map +1 -0
- package/dist/src/components/progress/progress.css.d.ts +3 -0
- package/dist/src/components/progress/progress.css.js +124 -0
- package/dist/src/components/progress/progress.css.js.map +1 -0
- package/dist/src/components/progress/progress.d.ts +19 -0
- package/dist/src/components/progress/progress.js +77 -0
- package/dist/src/components/progress/progress.js.map +1 -0
- package/dist/src/components/quick-answer/quick-answer.css.d.ts +2 -0
- package/dist/src/components/quick-answer/quick-answer.css.js +131 -0
- package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -0
- package/dist/src/components/quick-answer/quick-answer.d.ts +20 -0
- package/dist/src/components/quick-answer/quick-answer.js +72 -0
- package/dist/src/components/quick-answer/quick-answer.js.map +1 -0
- package/dist/src/components/radio/radio-group.css.d.ts +10 -0
- package/dist/src/components/radio/radio-group.css.js +42 -0
- package/dist/src/components/radio/radio-group.css.js.map +1 -0
- package/dist/src/components/radio/radio-group.d.ts +43 -0
- package/dist/src/components/radio/radio-group.js +99 -0
- package/dist/src/components/radio/radio-group.js.map +1 -0
- package/dist/src/components/radio/radio.css.d.ts +14 -0
- package/dist/src/components/radio/radio.css.js +194 -0
- package/dist/src/components/radio/radio.css.js.map +1 -0
- package/dist/src/components/radio/radio.d.ts +65 -0
- package/dist/src/components/radio/radio.js +276 -0
- package/dist/src/components/radio/radio.js.map +1 -0
- package/dist/src/components/radio/toggle-radio.d.ts +28 -0
- package/dist/src/components/radio/toggle-radio.js +51 -0
- package/dist/src/components/radio/toggle-radio.js.map +1 -0
- package/dist/src/components/review/review-grid.css.d.ts +2 -0
- package/dist/src/components/review/review-grid.css.js +47 -0
- package/dist/src/components/review/review-grid.css.js.map +1 -0
- package/dist/src/components/review/review-grid.d.ts +17 -0
- package/dist/src/components/review/review-grid.js +59 -0
- package/dist/src/components/review/review-grid.js.map +1 -0
- package/dist/src/components/review/review.css.d.ts +2 -0
- package/dist/src/components/review/review.css.js +55 -0
- package/dist/src/components/review/review.css.js.map +1 -0
- package/dist/src/components/review/review.d.ts +35 -0
- package/dist/src/components/review/review.js +72 -0
- package/dist/src/components/review/review.js.map +1 -0
- package/dist/src/components/section/section.css.d.ts +2 -0
- package/dist/src/components/section/section.css.js +38 -0
- package/dist/src/components/section/section.css.js.map +1 -0
- package/dist/src/components/section/section.d.ts +32 -0
- package/dist/src/components/section/section.js +51 -0
- package/dist/src/components/section/section.js.map +1 -0
- package/dist/src/components/section-header/section-header.css.d.ts +1 -0
- package/dist/src/components/section-header/section-header.css.js +100 -0
- package/dist/src/components/section-header/section-header.css.js.map +1 -0
- package/dist/src/components/section-header/section-header.d.ts +40 -0
- package/dist/src/components/section-header/section-header.js +93 -0
- package/dist/src/components/section-header/section-header.js.map +1 -0
- package/dist/src/components/shared/announcer.d.ts +24 -0
- package/dist/src/components/shared/announcer.js +35 -0
- package/dist/src/components/shared/announcer.js.map +1 -0
- package/dist/src/components/shared/controller.media-query.d.ts +33 -0
- package/dist/src/components/shared/controller.media-query.js +58 -0
- package/dist/src/components/shared/controller.media-query.js.map +1 -0
- package/dist/src/components/shared/define-element.d.ts +13 -0
- package/dist/src/components/shared/define-element.js +17 -0
- package/dist/src/components/shared/define-element.js.map +1 -0
- package/dist/src/components/shared/ensemble.css.d.ts +46 -0
- package/dist/src/components/shared/ensemble.css.js +102 -0
- package/dist/src/components/shared/ensemble.css.js.map +1 -0
- package/dist/src/components/shared/events.d.ts +34 -0
- package/dist/src/components/shared/events.js +13 -0
- package/dist/src/components/shared/events.js.map +1 -0
- package/dist/src/components/shared/fill-width.css.d.ts +1 -0
- package/dist/src/components/shared/fill-width.css.js +28 -0
- package/dist/src/components/shared/fill-width.css.js.map +1 -0
- package/dist/src/components/shared/form-control.d.ts +66 -0
- package/dist/src/components/shared/form-control.js +199 -0
- package/dist/src/components/shared/form-control.js.map +1 -0
- package/dist/src/components/shared/form-field.css.d.ts +23 -0
- package/dist/src/components/shared/form-field.css.js +259 -0
- package/dist/src/components/shared/form-field.css.js.map +1 -0
- package/dist/src/components/shared/prop-vocabulary.d.ts +46 -0
- package/dist/src/components/shared/prop-vocabulary.js +50 -0
- package/dist/src/components/shared/prop-vocabulary.js.map +1 -0
- package/dist/src/components/shared/token-scales.d.ts +230 -0
- package/dist/src/components/shared/token-scales.js +352 -0
- package/dist/src/components/shared/token-scales.js.map +1 -0
- package/dist/src/components/skeleton/skeleton.css.d.ts +3 -0
- package/dist/src/components/skeleton/skeleton.css.js +33 -0
- package/dist/src/components/skeleton/skeleton.css.js.map +1 -0
- package/dist/src/components/skeleton/skeleton.d.ts +15 -0
- package/dist/src/components/skeleton/skeleton.js +41 -0
- package/dist/src/components/skeleton/skeleton.js.map +1 -0
- package/dist/src/components/spinner/spinner.css.d.ts +3 -0
- package/dist/src/components/spinner/spinner.css.js +88 -0
- package/dist/src/components/spinner/spinner.css.js.map +1 -0
- package/dist/src/components/spinner/spinner.d.ts +22 -0
- package/dist/src/components/spinner/spinner.js +71 -0
- package/dist/src/components/spinner/spinner.js.map +1 -0
- package/dist/src/components/spotlight-section/spotlight-section.css.d.ts +2 -0
- package/dist/src/components/spotlight-section/spotlight-section.css.js +106 -0
- package/dist/src/components/spotlight-section/spotlight-section.css.js.map +1 -0
- package/dist/src/components/spotlight-section/spotlight-section.d.ts +21 -0
- package/dist/src/components/spotlight-section/spotlight-section.js +107 -0
- package/dist/src/components/spotlight-section/spotlight-section.js.map +1 -0
- package/dist/src/components/stat/stat-highlight.d.ts +30 -0
- package/dist/src/components/stat/stat-highlight.js +84 -0
- package/dist/src/components/stat/stat-highlight.js.map +1 -0
- package/dist/src/components/stat/stat-tile.d.ts +23 -0
- package/dist/src/components/stat/stat-tile.js +54 -0
- package/dist/src/components/stat/stat-tile.js.map +1 -0
- package/dist/src/components/stat/stat.css.d.ts +2 -0
- package/dist/src/components/stat/stat.css.js +146 -0
- package/dist/src/components/stat/stat.css.js.map +1 -0
- package/dist/src/components/stat/stat.d.ts +2 -0
- package/dist/src/components/stat/stat.js +3 -0
- package/dist/src/components/stat/stat.js.map +1 -0
- package/dist/src/components/switch/switch.css.d.ts +3 -0
- package/dist/src/components/switch/switch.css.js +176 -0
- package/dist/src/components/switch/switch.css.js.map +1 -0
- package/dist/src/components/switch/switch.d.ts +30 -0
- package/dist/src/components/switch/switch.js +111 -0
- package/dist/src/components/switch/switch.js.map +1 -0
- package/dist/src/components/tab-list/tab-list.css.d.ts +16 -0
- package/dist/src/components/tab-list/tab-list.css.js +290 -0
- package/dist/src/components/tab-list/tab-list.css.js.map +1 -0
- package/dist/src/components/tab-list/tab-list.d.ts +99 -0
- package/dist/src/components/tab-list/tab-list.js +203 -0
- package/dist/src/components/tab-list/tab-list.js.map +1 -0
- package/dist/src/components/tabs/tabs.css.d.ts +2 -0
- package/dist/src/components/tabs/tabs.css.js +78 -0
- package/dist/src/components/tabs/tabs.css.js.map +1 -0
- package/dist/src/components/tabs/tabs.d.ts +69 -0
- package/dist/src/components/tabs/tabs.js +241 -0
- package/dist/src/components/tabs/tabs.js.map +1 -0
- package/dist/src/components/tag/tag.css.d.ts +3 -0
- package/dist/src/components/tag/tag.css.js +53 -0
- package/dist/src/components/tag/tag.css.js.map +1 -0
- package/dist/src/components/tag/tag.d.ts +17 -0
- package/dist/src/components/tag/tag.js +39 -0
- package/dist/src/components/tag/tag.js.map +1 -0
- package/dist/src/components/terminal/terminal-cursor.d.ts +12 -0
- package/dist/src/components/terminal/terminal-cursor.js +66 -0
- package/dist/src/components/terminal/terminal-cursor.js.map +1 -0
- package/dist/src/components/terminal/terminal-message.css.d.ts +2 -0
- package/dist/src/components/terminal/terminal-message.css.js +410 -0
- package/dist/src/components/terminal/terminal-message.css.js.map +1 -0
- package/dist/src/components/terminal/terminal-message.d.ts +43 -0
- package/dist/src/components/terminal/terminal-message.js +223 -0
- package/dist/src/components/terminal/terminal-message.js.map +1 -0
- package/dist/src/components/termsOfUse/terms.css.d.ts +2 -0
- package/dist/src/components/termsOfUse/terms.css.js +56 -0
- package/dist/src/components/termsOfUse/terms.css.js.map +1 -0
- package/dist/src/components/termsOfUse/terms.d.ts +22 -0
- package/dist/src/components/termsOfUse/terms.js +151 -0
- package/dist/src/components/termsOfUse/terms.js.map +1 -0
- package/dist/src/components/textarea/textarea.css.d.ts +13 -0
- package/dist/src/components/textarea/textarea.css.js +50 -0
- package/dist/src/components/textarea/textarea.css.js.map +1 -0
- package/dist/src/components/textarea/textarea.d.ts +49 -0
- package/dist/src/components/textarea/textarea.js +171 -0
- package/dist/src/components/textarea/textarea.js.map +1 -0
- package/dist/src/components/tooltip/tooltip.css.d.ts +3 -0
- package/dist/src/components/tooltip/tooltip.css.js +97 -0
- package/dist/src/components/tooltip/tooltip.css.js.map +1 -0
- package/dist/src/components/tooltip/tooltip.d.ts +47 -0
- package/dist/src/components/tooltip/tooltip.js +293 -0
- package/dist/src/components/tooltip/tooltip.js.map +1 -0
- package/dist/src/components/trust-panel/trust-panel.css.d.ts +2 -0
- package/dist/src/components/trust-panel/trust-panel.css.js +229 -0
- package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -0
- package/dist/src/components/trust-panel/trust-panel.d.ts +34 -0
- package/dist/src/components/trust-panel/trust-panel.js +139 -0
- package/dist/src/components/trust-panel/trust-panel.js.map +1 -0
- package/dist/src/components/video/video.css.d.ts +3 -0
- package/dist/src/components/video/video.css.js +21 -0
- package/dist/src/components/video/video.css.js.map +1 -0
- package/dist/src/components/video/video.d.ts +24 -0
- package/dist/src/components/video/video.js +96 -0
- package/dist/src/components/video/video.js.map +1 -0
- package/dist/src/components/video-player/video-player.css.d.ts +2 -0
- package/dist/src/components/video-player/video-player.css.js +168 -0
- package/dist/src/components/video-player/video-player.css.js.map +1 -0
- package/dist/src/components/video-player/video-player.d.ts +44 -0
- package/dist/src/components/video-player/video-player.js +188 -0
- package/dist/src/components/video-player/video-player.js.map +1 -0
- package/dist/src/components/visually-hidden/visually-hidden.css.d.ts +3 -0
- package/dist/src/components/visually-hidden/visually-hidden.css.js +23 -0
- package/dist/src/components/visually-hidden/visually-hidden.css.js.map +1 -0
- package/dist/src/components/visually-hidden/visually-hidden.d.ts +11 -0
- package/dist/src/components/visually-hidden/visually-hidden.js +24 -0
- package/dist/src/components/visually-hidden/visually-hidden.js.map +1 -0
- package/dist/src/tokens/brand-layer.d.ts +66 -0
- package/dist/src/tokens/brand-layer.js +170 -0
- package/dist/src/tokens/brand-layer.js.map +1 -0
- package/dist/src/tokens/dark-derivation.d.ts +70 -0
- package/dist/src/tokens/dark-derivation.js +326 -0
- package/dist/src/tokens/dark-derivation.js.map +1 -0
- package/dist/src/tokens/dark-findings.d.ts +59 -0
- package/dist/src/tokens/dark-findings.js +205 -0
- package/dist/src/tokens/dark-findings.js.map +1 -0
- package/dist/src/tokens/story-chrome.d.ts +72 -0
- package/dist/src/tokens/story-chrome.js +486 -0
- package/dist/src/tokens/story-chrome.js.map +1 -0
- package/dist/src/tokens/themes/bitdefender.d.ts +25 -0
- package/dist/src/tokens/themes/bitdefender.js +31 -0
- package/dist/src/tokens/themes/bitdefender.js.map +1 -0
- package/dist/src/tokens/themes/contract.d.ts +4 -0
- package/dist/src/tokens/themes/contract.js +8 -0
- package/dist/src/tokens/themes/contract.js.map +1 -0
- package/dist/src/tokens/themes/index.d.ts +27 -0
- package/dist/src/tokens/themes/index.js +40 -0
- package/dist/src/tokens/themes/index.js.map +1 -0
- package/dist/src/tokens/token-map.d.ts +114 -0
- package/dist/src/tokens/token-map.js +237 -0
- package/dist/src/tokens/token-map.js.map +1 -0
- package/dist/src/tokens/token-purposes.d.ts +63 -0
- package/dist/src/tokens/token-purposes.js +260 -0
- package/dist/src/tokens/token-purposes.js.map +1 -0
- package/dist/src/tokens/tokens.css +1809 -0
- package/dist/src/tokens/tokens.d.ts +31 -0
- package/dist/src/tokens/tokens.js +1866 -0
- package/dist/src/tokens/tokens.js.map +1 -0
- package/dist/src/tokens/type-ceiling-words.d.ts +96 -0
- package/dist/src/tokens/type-ceiling-words.js +294 -0
- package/dist/src/tokens/type-ceiling-words.js.map +1 -0
- package/dist/src/vendor/motion-art/README.md +30 -0
- package/dist/src/vendor/motion-art/motion-art-element.d.ts +32 -0
- package/package.json +318 -85
- package/schemas/component-manifest.json +197 -146
- package/schemas/manifest-omissions.json +2 -174
- package/src/assets/fonts/bd-ibm-plex-mono.zip +0 -0
- package/src/assets/fonts/bd-ibm-plex-sans.zip +0 -0
- package/src/assets/icons/Identity_protection.png +0 -0
- package/src/assets/icons/badge-icon-individual.png +0 -0
- package/src/assets/icons/bd-icon-family-white.png +0 -0
- package/src/assets/icons/bd-icon-family.png +0 -0
- package/src/assets/icons/bd-icon-user.png +0 -0
- package/src/assets/icons/device_protection.png +0 -0
- package/src/assets/icons/financial_insurance.png +0 -0
- package/src/assets/icons/left_clicked.png +0 -0
- package/src/assets/icons/left_disabled.png +0 -0
- package/src/assets/icons/left_hover.png +0 -0
- package/src/assets/icons/left_normal.png +0 -0
- package/src/assets/icons/light-carousel-img1.png +0 -0
- package/src/assets/icons/light-carousel-img2.png +0 -0
- package/src/assets/icons/light-carousel-img3.png +0 -0
- package/src/assets/icons/more_hover.png +0 -0
- package/src/assets/icons/more_normal.png +0 -0
- package/src/assets/icons/more_pressed.png +0 -0
- package/src/assets/icons/pic1.png +0 -0
- package/src/assets/icons/pic2.png +0 -0
- package/src/assets/icons/pic3.png +0 -0
- package/src/assets/icons/privacy_protection.png +0 -0
- package/src/assets/icons/right_clicked.png +0 -0
- package/src/assets/icons/right_disabled.png +0 -0
- package/src/assets/icons/right_hover.png +0 -0
- package/src/assets/icons/right_normal.png +0 -0
- package/src/assets/icons/user_guide.png +0 -0
- package/src/assets/icons/verified_arrow.png +0 -0
- package/src/assets/images/ai/bento-consumer-art.jpg +0 -0
- package/src/assets/images/ai/bento-enterprise-art.jpg +0 -0
- package/src/assets/images/ai/bento-labs-art.jpg +0 -0
- package/src/assets/images/award-marks/av-comparatives-top-rated.png +0 -0
- package/src/assets/images/award-marks/av-test-top-product.png +0 -0
- package/src/assets/images/award-marks/crn-partner-guide.png +0 -0
- package/src/assets/images/award-marks/forrester.png +0 -0
- package/src/assets/images/award-marks/gartner.png +0 -0
- package/src/assets/images/award-marks/idc.png +0 -0
- package/src/assets/images/award-marks/mitre-engenuity.png +0 -0
- package/src/assets/images/award-marks/omdia.png +0 -0
- package/src/assets/images/award-marks/pcmag-best-of-2026.png +0 -0
- package/src/assets/images/award-marks/pcmag-editors-choice.png +0 -0
- package/src/assets/images/award-marks/pcmag-readers-choice.png +0 -0
- package/src/assets/images/awards/av-comparatives-2025.png +0 -0
- package/src/assets/images/awards/av-test-top-product.png +0 -0
- package/src/assets/images/awards/gartner-peer-insights.png +0 -0
- package/src/assets/images/awards/idc.png +0 -0
- package/src/assets/images/awards/pcmag-best-of-2026.png +0 -0
- package/src/assets/images/badges/app-store-badge.png +0 -0
- package/src/assets/images/badges/google-play-badge.png +0 -0
- package/src/assets/images/bd-header-img.jpg +0 -0
- package/src/assets/images/bd-header-us.jpg +0 -0
- package/src/assets/images/hero/ai-sphere-poster.jpg +0 -0
- package/src/assets/images/insights/post-1.jpg +0 -0
- package/src/assets/images/insights/post-2.jpg +0 -0
- package/src/assets/images/insights/post-3.jpg +0 -0
- package/src/assets/images/partner/ferrari-lockup.png +0 -0
- package/src/assets/images/partner/ferrari-photo.jpg +0 -0
- package/src/assets/images/partners/ferrari.svg +0 -6
- package/src/assets/images/partners/konica-minolta.svg +0 -12
- package/src/assets/images/partners/logmein.svg +0 -6
- package/src/assets/images/partners/netgear.svg +0 -10
- package/src/assets/images/partners/sharp.svg +0 -5
- package/src/assets/images/partners/spurs.svg +0 -33
- package/src/assets/images/tabs-img1.png +0 -0
- package/src/assets/images/tabs-img2.png +0 -0
- package/src/assets/images/tabs-img3.png +0 -0
- package/src/blog/assets/articles/fbi-crypto-scam-1.jpeg +0 -0
- package/src/blog/assets/articles/fbi-crypto-scam-cover.png +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-Bold.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-BoldItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-Italic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-Light.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-LightItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-Medium.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-MediumItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-Regular.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-SemiBold.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-SemiBoldItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-Bold.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-BoldItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-Italic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-Light.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-LightItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-Medium.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-MediumItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-Regular.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-SemiBold.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-SemiBoldItalic.woff2 +0 -0
- package/src/blog/assets/global-scam-intelligence-report-2026.png +0 -0
- package/src/blog/assets/psd-4.jpg +0 -0
- package/src/blog/src/articles/FBI warns of crypto investment scam that sends couriers to collect victims' cash-editedAB.docx +0 -0
- package/src/blog/src/articles/FBI-crypto-scam-courier-cash.png +0 -0
- package/src/blog/src/articles/fbi-crypto-scam.js +0 -324
- package/src/blog/src/articles/~$I warns of crypto investment scam that sends couriers to collect victims' cash-editedAB.docx +0 -0
- package/src/blog/src/atoms/blog-abstract.js +0 -51
- package/src/blog/src/atoms/blog-authors.js +0 -70
- package/src/blog/src/atoms/blog-avatar.js +0 -44
- package/src/blog/src/atoms/blog-blockquote.js +0 -92
- package/src/blog/src/atoms/blog-caption.js +0 -31
- package/src/blog/src/atoms/blog-code-block.js +0 -89
- package/src/blog/src/atoms/blog-dek.js +0 -30
- package/src/blog/src/atoms/blog-featured-image.js +0 -65
- package/src/blog/src/atoms/blog-heading.js +0 -63
- package/src/blog/src/atoms/blog-image.js +0 -50
- package/src/blog/src/atoms/blog-key-takeaways.js +0 -101
- package/src/blog/src/atoms/blog-link.js +0 -68
- package/src/blog/src/atoms/blog-meta.js +0 -87
- package/src/blog/src/atoms/blog-most-popular.js +0 -146
- package/src/blog/src/atoms/blog-newsletter-signup.js +0 -342
- package/src/blog/src/atoms/blog-paragraph.js +0 -61
- package/src/blog/src/atoms/blog-product-upsell.js +0 -168
- package/src/blog/src/atoms/blog-related-articles.js +0 -326
- package/src/blog/src/atoms/blog-related-label.js +0 -30
- package/src/blog/src/atoms/blog-report-promo.js +0 -250
- package/src/blog/src/atoms/blog-standout.js +0 -78
- package/src/blog/src/atoms/blog-subhead.js +0 -32
- package/src/blog/src/atoms/blog-table-of-contents.js +0 -447
- package/src/blog/src/atoms/blog-tag.js +0 -86
- package/src/blog/src/atoms/blog-title.js +0 -31
- package/src/blog/src/base/blog-element.js +0 -10
- package/src/blog/src/breakpoints.js +0 -23
- package/src/blog/src/content/blog-article.js +0 -736
- package/src/blog/src/content/blog-atoms-showcase.js +0 -401
- package/src/blog/src/content/blog-page-layout.js +0 -73
- package/src/blog/src/content/render-inline-content.js +0 -18
- package/src/blog/src/data/popular-articles.js +0 -43
- package/src/blog/src/data/related-articles.js +0 -58
- package/src/blog/src/index.js +0 -104
- package/src/blog/src/lib/article-toc.js +0 -206
- package/src/blog/src/lib/load-prism.js +0 -23
- package/src/blog/src/shell/blog-shell.js +0 -31
- package/src/blog/src/styles/prism-theme.js +0 -65
- package/src/blog/src/tokens/blog.js +0 -406
- package/src/blog/src/tokens/core.js +0 -810
- package/src/blog/src/tokens/fonts.css +0 -241
- package/src/blog/src/tokens/index.js +0 -27
- package/src/blog/src/tokens/legacy.js +0 -49
- package/src/blog/tokens/blog.js +0 -406
- package/src/blog/tokens/core.js +0 -810
- package/src/blog/tokens/fonts.css +0 -241
- package/src/blog/tokens/index.js +0 -27
- package/src/blog/tokens/legacy.js +0 -49
- package/src/blog/tokens.css +0 -1502
- package/src/blog/tokens.js +0 -1
- package/src/blog/vendor/prism/prism.css +0 -120
- package/src/blog/vendor/prism/prism.js +0 -300
- package/src/components/accordion/accordion-bg.css.js +0 -289
- package/src/components/accordion/accordion-bg.js +0 -261
- package/src/components/accordion/accordion-bg.stories.js +0 -354
- package/src/components/accordion/accordion-indicators.js +0 -2
- package/src/components/accordion/accordion-keyboard.js +0 -80
- package/src/components/accordion/accordion-panel.js +0 -24
- package/src/components/accordion/accordion.css.js +0 -382
- package/src/components/accordion/accordion.js +0 -176
- package/src/components/accordion/accordion.stories.js +0 -390
- package/src/components/agent-endpoints/agent-endpoints.css.js +0 -89
- package/src/components/agent-endpoints/agent-endpoints.js +0 -96
- package/src/components/agent-endpoints/agent-endpoints.stories.js +0 -148
- package/src/components/ai-guardian-demo.stories.js +0 -1487
- package/src/components/alert/alert.css.js +0 -219
- package/src/components/alert/alert.js +0 -103
- package/src/components/alert/alert.stories.js +0 -206
- package/src/components/anchor/anchor-nav.css.js +0 -547
- package/src/components/anchor/anchor-nav.js +0 -617
- package/src/components/anchor/anchor.stories.js +0 -536
- package/src/components/annotation/annotation.css.js +0 -66
- package/src/components/annotation/annotation.js +0 -67
- package/src/components/annotation/annotation.stories.js +0 -63
- package/src/components/architecture.stories.js +0 -288
- package/src/components/atoms.stories.js +0 -342
- package/src/components/audience-card/audience-card.css.js +0 -123
- package/src/components/audience-card/audience-card.js +0 -75
- package/src/components/audience-card/audience-card.stories.js +0 -125
- package/src/components/avatar/avatar.css.js +0 -67
- package/src/components/avatar/avatar.js +0 -68
- package/src/components/avatar/avatar.stories.js +0 -99
- package/src/components/awards/awards-flex.css.js +0 -274
- package/src/components/awards/awards-flex.js +0 -293
- package/src/components/awards/awards-flex.stories.js +0 -659
- package/src/components/awards/awards-spotlight.css.js +0 -162
- package/src/components/awards/awards-spotlight.js +0 -142
- package/src/components/awards/awards-spotlight.stories.js +0 -205
- package/src/components/awards/awards-summary.stories.js +0 -344
- package/src/components/awards/awards.css.js +0 -402
- package/src/components/awards/awards.js +0 -201
- package/src/components/awards/awards.stories.js +0 -396
- package/src/components/awards/scroll-slides.js +0 -128
- package/src/components/back/back.css.js +0 -92
- package/src/components/back/back.js +0 -72
- package/src/components/back/back.stories.js +0 -153
- package/src/components/badge/badge.css.js +0 -205
- package/src/components/badge/badge.js +0 -104
- package/src/components/badge/badge.stories.js +0 -234
- package/src/components/bento-grid/bento-grid.css.js +0 -171
- package/src/components/bento-grid/bento-grid.js +0 -200
- package/src/components/bento-grid/bento-grid.stories.js +0 -563
- package/src/components/bento-grid/bento-item.css.js +0 -339
- package/src/components/bento-grid/bento-item.js +0 -94
- package/src/components/blockquote/blockquote.css.js +0 -56
- package/src/components/blockquote/blockquote.js +0 -36
- package/src/components/blockquote/blockquote.stories.js +0 -64
- package/src/components/breadcrumb/breadcrumb.css.js +0 -169
- package/src/components/breadcrumb/breadcrumb.js +0 -182
- package/src/components/breadcrumb/breadcrumb.stories.js +0 -272
- package/src/components/button/button.css.js +0 -844
- package/src/components/button/button.js +0 -410
- package/src/components/button/button.stories.js +0 -742
- package/src/components/caption/caption.css.js +0 -31
- package/src/components/caption/caption.js +0 -31
- package/src/components/caption/caption.stories.js +0 -62
- package/src/components/card-features/card-features.css.js +0 -121
- package/src/components/card-features/card-features.js +0 -162
- package/src/components/card-features/card-features.stories.js +0 -165
- package/src/components/cards/card.css.js +0 -370
- package/src/components/cards/card.js +0 -334
- package/src/components/cards/card.stories.js +0 -512
- package/src/components/carousel/carousel.css.js +0 -264
- package/src/components/carousel/carousel.js +0 -332
- package/src/components/carousel/carousel.stories.js +0 -207
- package/src/components/checkbox/checkbox.css.js +0 -174
- package/src/components/checkbox/checkbox.js +0 -139
- package/src/components/checkbox/checkbox.stories.js +0 -232
- package/src/components/code/code.css.js +0 -75
- package/src/components/code/code.js +0 -81
- package/src/components/code/code.stories.js +0 -76
- package/src/components/compare/compare.css.js +0 -479
- package/src/components/compare/compare.js +0 -566
- package/src/components/compare/compare.stories.js +0 -736
- package/src/components/comparison-panel/comparison-panel.css.js +0 -142
- package/src/components/comparison-panel/comparison-panel.js +0 -106
- package/src/components/comparison-panel/comparison-panel.stories.js +0 -223
- package/src/components/compatibility-table/compatibility-table.css.js +0 -392
- package/src/components/compatibility-table/compatibility-table.js +0 -164
- package/src/components/compatibility-table/compatibility-table.stories.js +0 -266
- package/src/components/control-alignment.stories.js +0 -393
- package/src/components/cta-banner/cta-banner.css.js +0 -99
- package/src/components/cta-banner/cta-banner.js +0 -71
- package/src/components/cta-banner/cta-banner.stories.js +0 -67
- package/src/components/display/display.css.js +0 -96
- package/src/components/display/display.js +0 -71
- package/src/components/display/display.stories.js +0 -357
- package/src/components/divider/divider-horizontal.js +0 -59
- package/src/components/divider/divider-vertical.js +0 -56
- package/src/components/divider/divider.css.js +0 -22
- package/src/components/divider/divider.stories.js +0 -206
- package/src/components/dropdown/dropdown.css.js +0 -122
- package/src/components/dropdown/dropdown.js +0 -281
- package/src/components/dropdown/dropdown.stories.js +0 -276
- package/src/components/features/features.css.js +0 -124
- package/src/components/features/features.js +0 -82
- package/src/components/features/features.stories.js +0 -252
- package/src/components/features-tab/features-tab.css.js +0 -101
- package/src/components/features-tab/features-tab.js +0 -76
- package/src/components/features-tab/features-tab.stories.js +0 -439
- package/src/components/fieldset/fieldset.css.js +0 -30
- package/src/components/fieldset/fieldset.js +0 -28
- package/src/components/fieldset/fieldset.stories.js +0 -177
- package/src/components/footer/footer-images.js +0 -34
- package/src/components/footer/footer-links-group.css.js +0 -34
- package/src/components/footer/footer-links-group.js +0 -26
- package/src/components/footer/footer-locale.js +0 -47
- package/src/components/footer/footer-lp.js +0 -162
- package/src/components/footer/footer-lp.stories.js +0 -365
- package/src/components/footer/footer-nav-menu.css.js +0 -62
- package/src/components/footer/footer-nav-menu.js +0 -42
- package/src/components/footer/footer.css.js +0 -665
- package/src/components/footer/footer.js +0 -435
- package/src/components/footer/footer.stories.js +0 -225
- package/src/components/footer/localeMap.js +0 -1
- package/src/components/grid/grid.css.js +0 -79
- package/src/components/grid/grid.js +0 -111
- package/src/components/grid/grid.stories.js +0 -144
- package/src/components/header/header-code.css.js +0 -370
- package/src/components/header/header-code.js +0 -226
- package/src/components/header/header-code.stories.js +0 -279
- package/src/components/header/header.css.js +0 -758
- package/src/components/header/header.js +0 -345
- package/src/components/header/header.stories.js +0 -1012
- package/src/components/heading/heading.css.js +0 -90
- package/src/components/heading/heading.js +0 -97
- package/src/components/heading/heading.stories.js +0 -228
- package/src/components/help-text/help-text.css.js +0 -21
- package/src/components/help-text/help-text.js +0 -25
- package/src/components/help-text/help-text.stories.js +0 -66
- package/src/components/hero/hero.css.js +0 -363
- package/src/components/hero/hero.js +0 -179
- package/src/components/hero/hero.stories.js +0 -146
- package/src/components/highlight/highlight.css.js +0 -176
- package/src/components/highlight/highlight.js +0 -112
- package/src/components/highlight/highlight.stories.js +0 -180
- package/src/components/icons/analysis-icon.js +0 -15
- package/src/components/icons/arrow-down-icon.js +0 -15
- package/src/components/icons/arrow-icon.js +0 -47
- package/src/components/icons/arrow-right-icon.js +0 -42
- package/src/components/icons/arrow-up-icon.js +0 -29
- package/src/components/icons/av-comparatives-icon.js +0 -34
- package/src/components/icons/bd-ai-icon.js +0 -27
- package/src/components/icons/best-brands-icon.js +0 -36
- package/src/components/icons/brand-marks.stories.js +0 -279
- package/src/components/icons/brand-signature-icon.js +0 -42
- package/src/components/icons/check-icon.js +0 -27
- package/src/components/icons/circle-info-icon.js +0 -33
- package/src/components/icons/close-icon.js +0 -16
- package/src/components/icons/enterprise-icon.js +0 -19
- package/src/components/icons/family-icon.js +0 -19
- package/src/components/icons/globe-icon.js +0 -16
- package/src/components/icons/guide-icon.js +0 -16
- package/src/components/icons/home-icon.js +0 -19
- package/src/components/icons/icon-element.js +0 -160
- package/src/components/icons/icons.js +0 -41
- package/src/components/icons/icons.stories.js +0 -391
- package/src/components/icons/individual-icon.js +0 -17
- package/src/components/icons/laurel-icon.js +0 -29
- package/src/components/icons/machine-learning-icon.js +0 -15
- package/src/components/icons/marks.js +0 -41
- package/src/components/icons/minus-icon.js +0 -17
- package/src/components/icons/missing-icon.js +0 -52
- package/src/components/icons/pause-icon.js +0 -20
- package/src/components/icons/pc-mag-2024-icon.js +0 -35
- package/src/components/icons/pc-mag-business-icon.js +0 -35
- package/src/components/icons/pc-mag-icon.js +0 -35
- package/src/components/icons/pc-mag-readers-icon.js +0 -34
- package/src/components/icons/play-icon.js +0 -19
- package/src/components/icons/plus-icon.js +0 -16
- package/src/components/icons/quote-icon.js +0 -28
- package/src/components/icons/small-business-icon.js +0 -19
- package/src/components/icons/top-product-icon.js +0 -35
- package/src/components/image/image.css.js +0 -107
- package/src/components/image/image.js +0 -98
- package/src/components/image/image.stories.js +0 -239
- package/src/components/input/custom-form.stories.js +0 -1000
- package/src/components/input/input-clipboard.css.js +0 -94
- package/src/components/input/input-clipboard.js +0 -264
- package/src/components/input/input.css.js +0 -10
- package/src/components/input/input.js +0 -182
- package/src/components/install-options/install-options.css.js +0 -309
- package/src/components/install-options/install-options.js +0 -226
- package/src/components/install-options/install-options.stories.js +0 -219
- package/src/components/label/label.css.js +0 -35
- package/src/components/label/label.js +0 -124
- package/src/components/label/label.stories.js +0 -91
- package/src/components/light-carousel/light-carousel.css.js +0 -276
- package/src/components/light-carousel/light-carousel.js +0 -187
- package/src/components/light-carousel/light-carousel.stories.js +0 -576
- package/src/components/link/link.css.js +0 -289
- package/src/components/link/link.js +0 -207
- package/src/components/link/link.stories.js +0 -402
- package/src/components/list/list-item/list-item.css.js +0 -168
- package/src/components/list/list-item/list-item.js +0 -119
- package/src/components/list/list-item/list-item.stories.js +0 -187
- package/src/components/list/list.css.js +0 -181
- package/src/components/list/list.js +0 -72
- package/src/components/list/list.stories.js +0 -222
- package/src/components/logo-marquee/logo-marquee.css.js +0 -94
- package/src/components/logo-marquee/logo-marquee.js +0 -138
- package/src/components/logo-marquee/logo-marquee.stories.js +0 -129
- package/src/components/modal/modal.css.js +0 -204
- package/src/components/modal/modal.js +0 -129
- package/src/components/modal/modal.stories.js +0 -199
- package/src/components/motion-art/motion-art.js +0 -108
- package/src/components/motion-art/motion-art.stories.js +0 -98
- package/src/components/overview/overview.css.js +0 -126
- package/src/components/overview/overview.js +0 -64
- package/src/components/overview/overview.stories.js +0 -193
- package/src/components/page-switcher/page-switcher.css.js +0 -175
- package/src/components/page-switcher/page-switcher.js +0 -68
- package/src/components/page-switcher/page-switcher.stories.js +0 -95
- package/src/components/pagination-dots/pagination-dots.css.js +0 -161
- package/src/components/pagination-dots/pagination-dots.js +0 -202
- package/src/components/pagination-dots/pagination-dots.stories.js +0 -171
- package/src/components/paragraph/paragraph.css.js +0 -102
- package/src/components/paragraph/paragraph.js +0 -99
- package/src/components/paragraph/paragraph.stories.js +0 -187
- package/src/components/partner-banner/partner-banner.css.js +0 -246
- package/src/components/partner-banner/partner-banner.js +0 -84
- package/src/components/partner-banner/partner-banner.stories.js +0 -86
- package/src/components/picture/picture.css.js +0 -209
- package/src/components/picture/picture.js +0 -172
- package/src/components/picture/picture.stories.js +0 -232
- package/src/components/post-card/post-card.css.js +0 -150
- package/src/components/post-card/post-card.js +0 -80
- package/src/components/post-card/post-card.stories.js +0 -79
- package/src/components/pricing-cards/adopt-styles.js +0 -16
- package/src/components/pricing-cards/new-pricing-card.js +0 -43
- package/src/components/pricing-cards/new-pricing-card.stories.js +0 -424
- package/src/components/pricing-cards/new-pricing.css.js +0 -75
- package/src/components/pricing-cards/pricing-card-actions.css.js +0 -12
- package/src/components/pricing-cards/pricing-card-actions.js +0 -72
- package/src/components/pricing-cards/pricing-card-container.css.js +0 -42
- package/src/components/pricing-cards/pricing-card-container.js +0 -38
- package/src/components/pricing-cards/pricing-card-header.css.js +0 -83
- package/src/components/pricing-cards/pricing-card-header.js +0 -68
- package/src/components/pricing-cards/pricing-card-pricing.css.js +0 -93
- package/src/components/pricing-cards/pricing-card-pricing.js +0 -117
- package/src/components/pricing-cards/pricing-card-show-more.css.js +0 -30
- package/src/components/pricing-cards/pricing-card-show-more.js +0 -43
- package/src/components/pricing-cards/pricing-card.css.js +0 -661
- package/src/components/pricing-cards/pricing-card.js +0 -842
- package/src/components/pricing-cards/pricing-card.stories.js +0 -14
- package/src/components/pricing-cards/pricing-feature-item.css.js +0 -35
- package/src/components/pricing-cards/pricing-feature-item.js +0 -19
- package/src/components/process-steps/process-steps.css.js +0 -107
- package/src/components/process-steps/process-steps.js +0 -89
- package/src/components/process-steps/process-steps.stories.js +0 -144
- package/src/components/progress/progress.css.js +0 -125
- package/src/components/progress/progress.js +0 -65
- package/src/components/progress/progress.stories.js +0 -83
- package/src/components/quick-answer/quick-answer.css.js +0 -131
- package/src/components/quick-answer/quick-answer.js +0 -64
- package/src/components/quick-answer/quick-answer.stories.js +0 -160
- package/src/components/radio/radio-group.css.js +0 -42
- package/src/components/radio/radio-group.js +0 -89
- package/src/components/radio/radio.css.js +0 -194
- package/src/components/radio/radio.js +0 -269
- package/src/components/radio/radio.stories.js +0 -342
- package/src/components/radio/toggle-radio.js +0 -44
- package/src/components/review/review-grid.css.js +0 -47
- package/src/components/review/review-grid.js +0 -55
- package/src/components/review/review.css.js +0 -55
- package/src/components/review/review.js +0 -67
- package/src/components/review/review.stories.js +0 -228
- package/src/components/section/section.css.js +0 -38
- package/src/components/section/section.js +0 -43
- package/src/components/section/section.stories.js +0 -246
- package/src/components/section-header/section-header.css.js +0 -100
- package/src/components/section-header/section-header.js +0 -79
- package/src/components/section-header/section-header.stories.js +0 -129
- package/src/components/shared/announcer.js +0 -37
- package/src/components/shared/ensemble.css.js +0 -102
- package/src/components/shared/fill-width.css.js +0 -29
- package/src/components/shared/form-control.js +0 -194
- package/src/components/shared/form-field.css.js +0 -260
- package/src/components/shared/prop-vocabulary.js +0 -48
- package/src/components/shared/token-scales.js +0 -384
- package/src/components/skeleton/skeleton.css.js +0 -34
- package/src/components/skeleton/skeleton.js +0 -32
- package/src/components/skeleton/skeleton.stories.js +0 -70
- package/src/components/spinner/spinner.css.js +0 -89
- package/src/components/spinner/spinner.js +0 -60
- package/src/components/spinner/spinner.stories.js +0 -95
- package/src/components/spotlight-section/spotlight-section.css.js +0 -106
- package/src/components/spotlight-section/spotlight-section.js +0 -95
- package/src/components/spotlight-section/spotlight-section.stories.js +0 -259
- package/src/components/stat/stat-highlight.js +0 -75
- package/src/components/stat/stat-tile.js +0 -43
- package/src/components/stat/stat.css.js +0 -147
- package/src/components/stat/stat.js +0 -2
- package/src/components/stat/stat.stories.js +0 -92
- package/src/components/switch/switch.css.js +0 -177
- package/src/components/switch/switch.js +0 -99
- package/src/components/switch/switch.stories.js +0 -109
- package/src/components/tab-list/content-switcher.stories.js +0 -189
- package/src/components/tab-list/tab-list.css.js +0 -293
- package/src/components/tab-list/tab-list.js +0 -189
- package/src/components/tab-list/tab-list.stories.js +0 -221
- package/src/components/tabs/tabs.css.js +0 -78
- package/src/components/tabs/tabs.js +0 -232
- package/src/components/tabs/tabs.stories.js +0 -517
- package/src/components/tag/tag.css.js +0 -54
- package/src/components/tag/tag.js +0 -32
- package/src/components/tag/tag.stories.js +0 -126
- package/src/components/terminal/terminal-cursor.js +0 -60
- package/src/components/terminal/terminal-message.css.js +0 -410
- package/src/components/terminal/terminal-message.js +0 -195
- package/src/components/terminal/terminal-message.stories.js +0 -390
- package/src/components/termsOfUse/terms.css.js +0 -56
- package/src/components/termsOfUse/terms.js +0 -145
- package/src/components/termsOfUse/terms.stories.js +0 -230
- package/src/components/textarea/textarea.css.js +0 -51
- package/src/components/textarea/textarea.js +0 -151
- package/src/components/textarea/textarea.stories.js +0 -217
- package/src/components/tooltip/tooltip.css.js +0 -98
- package/src/components/tooltip/tooltip.js +0 -286
- package/src/components/tooltip/tooltip.stories.js +0 -167
- package/src/components/trust-panel/trust-panel.css.js +0 -229
- package/src/components/trust-panel/trust-panel.js +0 -124
- package/src/components/trust-panel/trust-panel.stories.js +0 -234
- package/src/components/ultimate-security-demo.stories.js +0 -431
- package/src/components/video/video.css.js +0 -22
- package/src/components/video/video.js +0 -80
- package/src/components/video/video.stories.js +0 -123
- package/src/components/video-player/video-player.css.js +0 -168
- package/src/components/video-player/video-player.js +0 -178
- package/src/components/video-player/video-player.stories.js +0 -202
- package/src/components/visual-alignment.stories.js +0 -411
- package/src/components/visually-hidden/visually-hidden.css.js +0 -24
- package/src/components/visually-hidden/visually-hidden.js +0 -16
- package/src/components/visually-hidden/visually-hidden.stories.js +0 -56
- package/src/index.js +0 -0
- package/src/tokens/borders.stories.js +0 -339
- package/src/tokens/brand-layer.js +0 -185
- package/src/tokens/brands.stories.js +0 -235
- package/src/tokens/color-responsibilities.stories.js +0 -227
- package/src/tokens/dark-derivation.js +0 -318
- package/src/tokens/dark-findings.js +0 -204
- package/src/tokens/dark-mode.stories.js +0 -207
- package/src/tokens/dimension.stories.js +0 -251
- package/src/tokens/elevation.stories.js +0 -142
- package/src/tokens/focus.stories.js +0 -342
- package/src/tokens/fonts.stories.js +0 -380
- package/src/tokens/motion.stories.js +0 -225
- package/src/tokens/shape.stories.js +0 -277
- package/src/tokens/spacing-rhythm.stories.js +0 -359
- package/src/tokens/spacing.stories.js +0 -228
- package/src/tokens/story-chrome.js +0 -503
- package/src/tokens/surfaces.stories.js +0 -224
- package/src/tokens/text-on-surface.stories.js +0 -164
- package/src/tokens/themes/bitdefender.js +0 -30
- package/src/tokens/themes/contract.js +0 -27
- package/src/tokens/themes/index.js +0 -41
- package/src/tokens/token-map.js +0 -220
- package/src/tokens/token-map.stories.js +0 -257
- package/src/tokens/token-purposes.js +0 -266
- package/src/tokens/tokens-grid.stories.js +0 -421
- package/src/tokens/tokens.css +0 -1808
- package/src/tokens/tokens.js +0 -1869
- package/src/tokens/tokens.stories.js +0 -158
- package/src/tokens/type-ceiling-words.js +0 -299
- package/src/tokens/typography.stories.js +0 -1050
- package/src/tokens/vertical-rhythm.stories.js +0 -224
- package/src/vendor/motion-art/README.md +0 -30
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-Bold.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-BoldItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-Italic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-Light.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-LightItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-Medium.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-MediumItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-Regular.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-SemiBold.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-SemiBoldItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-Bold.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-BoldItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-Italic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-Light.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-LightItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-Medium.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-MediumItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-Regular.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-SemiBold.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-SemiBoldItalic.woff2 +0 -0
- /package/{src → dist/src}/tokens/fonts.css +0 -0
- /package/{src → dist/src}/tokens/layout.css +0 -0
- /package/{src → dist/src}/vendor/motion-art/motion-art-element.js +0 -0
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
import { css, unsafeCSS } from "lit";
|
|
2
|
+
import { above } from "../shared/token-scales.js";
|
|
3
|
+
/* Mobile first, in the three frames the Figma Hero draws.
|
|
4
|
+
below md the video on top, the copy centred under it and rising 80 into
|
|
5
|
+
its fade; the cards follow the band on the page
|
|
6
|
+
md to lg the same, the copy rising 64
|
|
7
|
+
lg and up the video fills the band, the copy sits left over it, and the
|
|
8
|
+
cards rise 128 into the band's lower edge
|
|
9
|
+
All ink on the band is the brand's own (--color-brand-on-fill), so a light
|
|
10
|
+
partner brand takes dark copy. */
|
|
11
|
+
export const heroCSS = css `
|
|
12
|
+
:host {
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.band {
|
|
17
|
+
position: relative;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
background: var(--color-surface-brand);
|
|
20
|
+
padding-block-end: var(--spacing-40);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.stage {
|
|
24
|
+
position: relative;
|
|
25
|
+
/* no token: the video's box on a phone and a tablet, 360 tall in both
|
|
26
|
+
frames; the dimension scale stops at 64 */
|
|
27
|
+
height: 360px;
|
|
28
|
+
/* the slotted art sizes itself from the stage's height */
|
|
29
|
+
container-type: size;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Below lg the box is narrower than the art, so the crop follows its
|
|
33
|
+
subject: --bd-hero-media-position lets a page say where that is in its
|
|
34
|
+
own video. The default holds the homepage sphere, right of centre. */
|
|
35
|
+
.media {
|
|
36
|
+
display: block;
|
|
37
|
+
width: 100%;
|
|
38
|
+
height: 100%;
|
|
39
|
+
object-fit: cover;
|
|
40
|
+
object-position: var(--bd-hero-media-position, 74% 50%);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Slotted art (bd-motion-art) is square and sizes itself from its own
|
|
44
|
+
width, so the stage gives it one. The sphere fills 78% of the art. The
|
|
45
|
+
phone frame draws it about 300 across, centred 156 down the 360 stage,
|
|
46
|
+
so the B sits clear above the copy rising into the stage: 108% of the
|
|
47
|
+
stage's height, raised 7% of it. The tablet frame draws it about 340
|
|
48
|
+
across and centred (120% from md, below). The glow runs off the stage's
|
|
49
|
+
edges. Margins, not a translate, so it centres in RTL too. */
|
|
50
|
+
::slotted([slot="media"]) {
|
|
51
|
+
position: absolute;
|
|
52
|
+
inset-block-start: 50%;
|
|
53
|
+
inset-inline-start: 50%;
|
|
54
|
+
width: 108cqh;
|
|
55
|
+
margin-block-start: -61cqh;
|
|
56
|
+
margin-inline-start: -54cqh;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* The frames' video-fade: the video fades into the band so the copy has a
|
|
60
|
+
solid ground under it, the brand at 0, 60, 95 and 100% at 0, 45, 80 and
|
|
61
|
+
100% of the fade. The phone and tablet frames draw it 230 tall at the
|
|
62
|
+
foot of the 360 stage, 64% of it. No token: four stops of a gradient,
|
|
63
|
+
mixed from the brand surface so a partner brand fades into its own. */
|
|
64
|
+
.fade {
|
|
65
|
+
position: absolute;
|
|
66
|
+
inset-inline: 0;
|
|
67
|
+
inset-block-end: 0;
|
|
68
|
+
height: 64%;
|
|
69
|
+
background: linear-gradient(
|
|
70
|
+
to bottom,
|
|
71
|
+
color-mix(in srgb, var(--color-surface-brand) 0%, transparent) 0%,
|
|
72
|
+
color-mix(in srgb, var(--color-surface-brand) 60%, transparent) 45%,
|
|
73
|
+
color-mix(in srgb, var(--color-surface-brand) 95%, transparent) 80%,
|
|
74
|
+
var(--color-surface-brand) 100%
|
|
75
|
+
);
|
|
76
|
+
pointer-events: none;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.column {
|
|
80
|
+
position: relative;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.copy {
|
|
84
|
+
position: relative;
|
|
85
|
+
display: flex;
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
align-items: center;
|
|
88
|
+
gap: var(--spacing-8);
|
|
89
|
+
margin-block-start: calc(-1 * var(--spacing-80));
|
|
90
|
+
text-align: center;
|
|
91
|
+
color: var(--color-brand-on-fill);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.eyebrow,
|
|
95
|
+
.heading,
|
|
96
|
+
.lead {
|
|
97
|
+
margin: 0;
|
|
98
|
+
color: inherit;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* The eyebrow is a heading role without being a heading: only "Cybersecurity
|
|
102
|
+
for the AI Era." is the h1. h4 on a phone, h3 from md. */
|
|
103
|
+
.eyebrow {
|
|
104
|
+
font-family: var(--typography-heading-h4-fontFamily);
|
|
105
|
+
font-size: var(--typography-heading-h4-fontSize);
|
|
106
|
+
font-weight: var(--typography-heading-h4-fontWeight);
|
|
107
|
+
line-height: var(--typography-heading-h4-lineHeight);
|
|
108
|
+
letter-spacing: var(--typography-heading-h4-letterSpacing);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.heading {
|
|
112
|
+
font-family: var(--typography-display-sm-fontFamily);
|
|
113
|
+
font-size: var(--typography-display-sm-fontSize);
|
|
114
|
+
font-weight: var(--typography-display-sm-fontWeight);
|
|
115
|
+
line-height: var(--typography-display-sm-lineHeight);
|
|
116
|
+
letter-spacing: var(--typography-display-sm-letterSpacing);
|
|
117
|
+
overflow-wrap: break-word;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.lead {
|
|
121
|
+
font-family: var(--typography-body-regular-fontFamily);
|
|
122
|
+
font-size: var(--typography-body-regular-fontSize);
|
|
123
|
+
font-weight: var(--typography-body-regular-fontWeight);
|
|
124
|
+
line-height: var(--typography-body-regular-lineHeight);
|
|
125
|
+
letter-spacing: var(--typography-body-regular-letterSpacing);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* the pause button sits in the video's top corner at every width */
|
|
129
|
+
.toggle {
|
|
130
|
+
position: absolute;
|
|
131
|
+
z-index: var(--z-raised);
|
|
132
|
+
inset-block-start: var(--spacing-16);
|
|
133
|
+
inset-inline-end: var(--spacing-16);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* Below lg the cards follow the band on its own ground, full-bleed, so
|
|
137
|
+
the section is one brand block: the phone frame closes it 24 under the
|
|
138
|
+
cards, the tablet frame 32. The column inside keeps the cards on the
|
|
139
|
+
page's edges. */
|
|
140
|
+
.cards-band {
|
|
141
|
+
position: relative;
|
|
142
|
+
z-index: var(--z-base);
|
|
143
|
+
background: var(--color-surface-brand);
|
|
144
|
+
padding-block-end: var(--spacing-24);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.cards-band[hidden] {
|
|
148
|
+
display: none;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* The glow under the band: only the desktop frame draws it, so it waits
|
|
152
|
+
for lg (below lg the cards sit on the band's own ground). */
|
|
153
|
+
.glow {
|
|
154
|
+
display: none;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@media ${unsafeCSS(above("md"))} {
|
|
158
|
+
.copy {
|
|
159
|
+
margin-block-start: calc(-1 * var(--spacing-64));
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.cards-band {
|
|
163
|
+
padding-block-end: var(--spacing-32);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
::slotted([slot="media"]) {
|
|
167
|
+
width: 120cqh;
|
|
168
|
+
margin-block-start: -60cqh;
|
|
169
|
+
margin-inline-start: -60cqh;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.eyebrow {
|
|
173
|
+
font-family: var(--typography-heading-h3-fontFamily);
|
|
174
|
+
font-size: var(--typography-heading-h3-fontSize);
|
|
175
|
+
font-weight: var(--typography-heading-h3-fontWeight);
|
|
176
|
+
line-height: var(--typography-heading-h3-lineHeight);
|
|
177
|
+
letter-spacing: var(--typography-heading-h3-letterSpacing);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.heading {
|
|
181
|
+
font-family: var(--typography-display-md-fontFamily);
|
|
182
|
+
font-size: var(--typography-display-md-fontSize);
|
|
183
|
+
font-weight: var(--typography-display-md-fontWeight);
|
|
184
|
+
line-height: var(--typography-display-md-lineHeight);
|
|
185
|
+
letter-spacing: var(--typography-display-md-letterSpacing);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.lead {
|
|
189
|
+
font-size: var(--typography-body-large-fontSize);
|
|
190
|
+
font-weight: var(--typography-body-large-fontWeight);
|
|
191
|
+
line-height: var(--typography-body-large-lineHeight);
|
|
192
|
+
letter-spacing: var(--typography-body-large-letterSpacing);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@media ${unsafeCSS(above("lg"))} {
|
|
197
|
+
.band {
|
|
198
|
+
padding-block: var(--spacing-64) var(--spacing-40);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/* the video fills the whole band behind the copy */
|
|
202
|
+
.stage {
|
|
203
|
+
position: absolute;
|
|
204
|
+
inset: 0;
|
|
205
|
+
height: auto;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.media {
|
|
209
|
+
object-position: var(--bd-hero-media-position-lg, 50% 50%);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* The art sits right of the copy, as tall as the band and raised 6% of
|
|
213
|
+
it, with the sphere ending on the page column's content edge, as the
|
|
214
|
+
desktop frame draws it, at every width. The stage is the band's full
|
|
215
|
+
width, so the edge is worked out from the column's own steps
|
|
216
|
+
(--bd-hero-column, set per breakpoint below, and --grid-padding-lg);
|
|
217
|
+
the sphere ends 11% short of the art's own edge. */
|
|
218
|
+
.stage {
|
|
219
|
+
--bd-hero-column: var(--grid-container-max-lg);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
::slotted([slot="media"]) {
|
|
223
|
+
inset-inline-start: auto;
|
|
224
|
+
inset-inline-end: calc((100% - var(--bd-hero-column)) / 2 + var(--grid-padding-lg) - 11cqh);
|
|
225
|
+
width: 100cqh;
|
|
226
|
+
margin-block-start: -56cqh;
|
|
227
|
+
margin-inline-start: 0;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
/* The desktop frame's video-fade: 246 tall, ending 102 above the band's
|
|
231
|
+
lower edge, so it lies over the lower half of the sphere, with solid
|
|
232
|
+
brand under it to the band's edge (behind the rising cards). The same
|
|
233
|
+
stops, laid over the first 246 of a 348 box: 246 / 348 = 70.7%, and
|
|
234
|
+
45 and 80% of that. */
|
|
235
|
+
.fade {
|
|
236
|
+
/* no token: the frame's fade and its reach; the dimension scale stops
|
|
237
|
+
at 64 */
|
|
238
|
+
height: 348px;
|
|
239
|
+
/* no token: a gradient's stops */
|
|
240
|
+
background: linear-gradient(
|
|
241
|
+
to bottom,
|
|
242
|
+
color-mix(in srgb, var(--color-surface-brand) 0%, transparent) 0%,
|
|
243
|
+
color-mix(in srgb, var(--color-surface-brand) 60%, transparent) 31.8%,
|
|
244
|
+
color-mix(in srgb, var(--color-surface-brand) 95%, transparent) 56.6%,
|
|
245
|
+
var(--color-surface-brand) 70.7%
|
|
246
|
+
);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.copy {
|
|
250
|
+
align-items: flex-start;
|
|
251
|
+
margin-block-start: 0;
|
|
252
|
+
text-align: start;
|
|
253
|
+
/* not the column: the copy's measure, the left half of the page that
|
|
254
|
+
the design keeps clear of the sphere on the right.
|
|
255
|
+
no token: 588 is a measure, and the dimension scale stops at 64 */
|
|
256
|
+
max-width: 588px;
|
|
257
|
+
gap: var(--spacing-16);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.heading {
|
|
261
|
+
font-family: var(--typography-display-xl-fontFamily);
|
|
262
|
+
font-size: var(--typography-display-xl-fontSize);
|
|
263
|
+
font-weight: var(--typography-display-xl-fontWeight);
|
|
264
|
+
line-height: var(--typography-display-xl-lineHeight);
|
|
265
|
+
letter-spacing: var(--typography-display-xl-letterSpacing);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.toggle {
|
|
269
|
+
inset-block-start: var(--spacing-24);
|
|
270
|
+
inset-inline-end: var(--spacing-24);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/* the cards rise into the band's lower edge */
|
|
274
|
+
.has-cards .band {
|
|
275
|
+
padding-block-end: calc(var(--spacing-40) + var(--spacing-128));
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
/* from lg the cards rise into the band over the page, as the desktop
|
|
279
|
+
frame draws them */
|
|
280
|
+
.cards-band {
|
|
281
|
+
margin-block-start: calc(-1 * var(--spacing-128));
|
|
282
|
+
padding-block-end: 0;
|
|
283
|
+
background: none;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/* The desktop frame's glow (Vector 3): a brand shape at 10%, blurred
|
|
287
|
+
200 in Figma (a Gaussian of 100), 1550 by 666, centred on the page
|
|
288
|
+
and starting 434 above the band's lower edge, so it spills out under
|
|
289
|
+
the band, behind the cards and on past them. The element sits between
|
|
290
|
+
the band and the cards and takes no room; its ::before is the shape,
|
|
291
|
+
clipped to the frame's own path, and the element blurs it. Behind the
|
|
292
|
+
band (the root isolates it), so a partner brand's band keeps its own
|
|
293
|
+
hue and the haze shows only where the band ends. The root clips it
|
|
294
|
+
sideways, where it is wider than the page. */
|
|
295
|
+
.root {
|
|
296
|
+
isolation: isolate;
|
|
297
|
+
overflow-x: clip;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.glow {
|
|
301
|
+
display: block;
|
|
302
|
+
position: relative;
|
|
303
|
+
z-index: var(--z-below);
|
|
304
|
+
height: 0;
|
|
305
|
+
/* no token: the frame's layer blur */
|
|
306
|
+
filter: blur(100px);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.glow::before {
|
|
310
|
+
content: "";
|
|
311
|
+
position: absolute;
|
|
312
|
+
inset-inline-start: 50%;
|
|
313
|
+
/* no token: the shape's place and size in the desktop frame; the
|
|
314
|
+
dimension scale stops at 64 */
|
|
315
|
+
inset-block-start: -434px;
|
|
316
|
+
/* no token: the shape's width in the frame */
|
|
317
|
+
width: 1550px;
|
|
318
|
+
/* no token: the shape's height in the frame */
|
|
319
|
+
height: 666px;
|
|
320
|
+
margin-inline-start: -775px;
|
|
321
|
+
background: color-mix(in srgb, var(--color-surface-brand) 10%, transparent);
|
|
322
|
+
/* no token: the frame's path */
|
|
323
|
+
clip-path: path("M1006 130C873.7 -68.8 419.4 3.8 208.7 65C-292.1 216 208.7 594.4 659.6 656.8C1110.5 719.1 1600.4 449.6 1545.8 334.6C1491.2 219.5 1171.4 378.5 1006 130Z");
|
|
324
|
+
pointer-events: none;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/* the column's cap at each step from lg, for the art's edge above */
|
|
329
|
+
@media ${unsafeCSS(above("xl"))} {
|
|
330
|
+
.stage {
|
|
331
|
+
--bd-hero-column: var(--grid-container-max-xl);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
@media ${unsafeCSS(above("xxl"))} {
|
|
336
|
+
.stage {
|
|
337
|
+
--bd-hero-column: var(--grid-container-max-xxl);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
@media ${unsafeCSS(above("xxxl"))} {
|
|
342
|
+
.stage {
|
|
343
|
+
--bd-hero-column: var(--grid-container-max-xxxl);
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
@media (prefers-reduced-motion: reduce) {
|
|
348
|
+
.toggle {
|
|
349
|
+
display: none;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/* A newline in the text is a line break, so a page can keep the breaks its
|
|
354
|
+
copy was written with (a <br> in the authored eyebrow, heading or lead
|
|
355
|
+
arrives as a newline in the property). Text only: nothing here renders
|
|
356
|
+
HTML. */
|
|
357
|
+
.eyebrow,
|
|
358
|
+
.heading,
|
|
359
|
+
.lead {
|
|
360
|
+
white-space: pre-line;
|
|
361
|
+
}
|
|
362
|
+
`;
|
|
363
|
+
//# sourceMappingURL=hero.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hero.css.js","sourceRoot":"","sources":["../../../../src/components/hero/hero.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElD;;;;;;;oCAOoC;AACpC,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAkJf,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAuCtB,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAqItB,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;;;;;;WAMtB,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;;;;;;WAMvB,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;CAqBlC,CAAC","sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { above } from \"../shared/token-scales.ts\";\n\n/* Mobile first, in the three frames the Figma Hero draws.\n below md the video on top, the copy centred under it and rising 80 into\n its fade; the cards follow the band on the page\n md to lg the same, the copy rising 64\n lg and up the video fills the band, the copy sits left over it, and the\n cards rise 128 into the band's lower edge\n All ink on the band is the brand's own (--color-brand-on-fill), so a light\n partner brand takes dark copy. */\nexport const heroCSS = css`\n :host {\n display: block;\n }\n\n .band {\n position: relative;\n overflow: hidden;\n background: var(--color-surface-brand);\n padding-block-end: var(--spacing-40);\n }\n\n .stage {\n position: relative;\n /* no token: the video's box on a phone and a tablet, 360 tall in both\n frames; the dimension scale stops at 64 */\n height: 360px;\n /* the slotted art sizes itself from the stage's height */\n container-type: size;\n }\n\n /* Below lg the box is narrower than the art, so the crop follows its\n subject: --bd-hero-media-position lets a page say where that is in its\n own video. The default holds the homepage sphere, right of centre. */\n .media {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: var(--bd-hero-media-position, 74% 50%);\n }\n\n /* Slotted art (bd-motion-art) is square and sizes itself from its own\n width, so the stage gives it one. The sphere fills 78% of the art. The\n phone frame draws it about 300 across, centred 156 down the 360 stage,\n so the B sits clear above the copy rising into the stage: 108% of the\n stage's height, raised 7% of it. The tablet frame draws it about 340\n across and centred (120% from md, below). The glow runs off the stage's\n edges. Margins, not a translate, so it centres in RTL too. */\n ::slotted([slot=\"media\"]) {\n position: absolute;\n inset-block-start: 50%;\n inset-inline-start: 50%;\n width: 108cqh;\n margin-block-start: -61cqh;\n margin-inline-start: -54cqh;\n }\n\n /* The frames' video-fade: the video fades into the band so the copy has a\n solid ground under it, the brand at 0, 60, 95 and 100% at 0, 45, 80 and\n 100% of the fade. The phone and tablet frames draw it 230 tall at the\n foot of the 360 stage, 64% of it. No token: four stops of a gradient,\n mixed from the brand surface so a partner brand fades into its own. */\n .fade {\n position: absolute;\n inset-inline: 0;\n inset-block-end: 0;\n height: 64%;\n background: linear-gradient(\n to bottom,\n color-mix(in srgb, var(--color-surface-brand) 0%, transparent) 0%,\n color-mix(in srgb, var(--color-surface-brand) 60%, transparent) 45%,\n color-mix(in srgb, var(--color-surface-brand) 95%, transparent) 80%,\n var(--color-surface-brand) 100%\n );\n pointer-events: none;\n }\n\n .column {\n position: relative;\n }\n\n .copy {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-8);\n margin-block-start: calc(-1 * var(--spacing-80));\n text-align: center;\n color: var(--color-brand-on-fill);\n }\n\n .eyebrow,\n .heading,\n .lead {\n margin: 0;\n color: inherit;\n }\n\n /* The eyebrow is a heading role without being a heading: only \"Cybersecurity\n for the AI Era.\" is the h1. h4 on a phone, h3 from md. */\n .eyebrow {\n font-family: var(--typography-heading-h4-fontFamily);\n font-size: var(--typography-heading-h4-fontSize);\n font-weight: var(--typography-heading-h4-fontWeight);\n line-height: var(--typography-heading-h4-lineHeight);\n letter-spacing: var(--typography-heading-h4-letterSpacing);\n }\n\n .heading {\n font-family: var(--typography-display-sm-fontFamily);\n font-size: var(--typography-display-sm-fontSize);\n font-weight: var(--typography-display-sm-fontWeight);\n line-height: var(--typography-display-sm-lineHeight);\n letter-spacing: var(--typography-display-sm-letterSpacing);\n overflow-wrap: break-word;\n }\n\n .lead {\n font-family: var(--typography-body-regular-fontFamily);\n font-size: var(--typography-body-regular-fontSize);\n font-weight: var(--typography-body-regular-fontWeight);\n line-height: var(--typography-body-regular-lineHeight);\n letter-spacing: var(--typography-body-regular-letterSpacing);\n }\n\n /* the pause button sits in the video's top corner at every width */\n .toggle {\n position: absolute;\n z-index: var(--z-raised);\n inset-block-start: var(--spacing-16);\n inset-inline-end: var(--spacing-16);\n }\n\n /* Below lg the cards follow the band on its own ground, full-bleed, so\n the section is one brand block: the phone frame closes it 24 under the\n cards, the tablet frame 32. The column inside keeps the cards on the\n page's edges. */\n .cards-band {\n position: relative;\n z-index: var(--z-base);\n background: var(--color-surface-brand);\n padding-block-end: var(--spacing-24);\n }\n\n .cards-band[hidden] {\n display: none;\n }\n\n /* The glow under the band: only the desktop frame draws it, so it waits\n for lg (below lg the cards sit on the band's own ground). */\n .glow {\n display: none;\n }\n\n @media ${unsafeCSS(above(\"md\"))} {\n .copy {\n margin-block-start: calc(-1 * var(--spacing-64));\n }\n\n .cards-band {\n padding-block-end: var(--spacing-32);\n }\n\n ::slotted([slot=\"media\"]) {\n width: 120cqh;\n margin-block-start: -60cqh;\n margin-inline-start: -60cqh;\n }\n\n .eyebrow {\n font-family: var(--typography-heading-h3-fontFamily);\n font-size: var(--typography-heading-h3-fontSize);\n font-weight: var(--typography-heading-h3-fontWeight);\n line-height: var(--typography-heading-h3-lineHeight);\n letter-spacing: var(--typography-heading-h3-letterSpacing);\n }\n\n .heading {\n font-family: var(--typography-display-md-fontFamily);\n font-size: var(--typography-display-md-fontSize);\n font-weight: var(--typography-display-md-fontWeight);\n line-height: var(--typography-display-md-lineHeight);\n letter-spacing: var(--typography-display-md-letterSpacing);\n }\n\n .lead {\n font-size: var(--typography-body-large-fontSize);\n font-weight: var(--typography-body-large-fontWeight);\n line-height: var(--typography-body-large-lineHeight);\n letter-spacing: var(--typography-body-large-letterSpacing);\n }\n }\n\n @media ${unsafeCSS(above(\"lg\"))} {\n .band {\n padding-block: var(--spacing-64) var(--spacing-40);\n }\n\n /* the video fills the whole band behind the copy */\n .stage {\n position: absolute;\n inset: 0;\n height: auto;\n }\n\n .media {\n object-position: var(--bd-hero-media-position-lg, 50% 50%);\n }\n\n /* The art sits right of the copy, as tall as the band and raised 6% of\n it, with the sphere ending on the page column's content edge, as the\n desktop frame draws it, at every width. The stage is the band's full\n width, so the edge is worked out from the column's own steps\n (--bd-hero-column, set per breakpoint below, and --grid-padding-lg);\n the sphere ends 11% short of the art's own edge. */\n .stage {\n --bd-hero-column: var(--grid-container-max-lg);\n }\n\n ::slotted([slot=\"media\"]) {\n inset-inline-start: auto;\n inset-inline-end: calc((100% - var(--bd-hero-column)) / 2 + var(--grid-padding-lg) - 11cqh);\n width: 100cqh;\n margin-block-start: -56cqh;\n margin-inline-start: 0;\n }\n\n /* The desktop frame's video-fade: 246 tall, ending 102 above the band's\n lower edge, so it lies over the lower half of the sphere, with solid\n brand under it to the band's edge (behind the rising cards). The same\n stops, laid over the first 246 of a 348 box: 246 / 348 = 70.7%, and\n 45 and 80% of that. */\n .fade {\n /* no token: the frame's fade and its reach; the dimension scale stops\n at 64 */\n height: 348px;\n /* no token: a gradient's stops */\n background: linear-gradient(\n to bottom,\n color-mix(in srgb, var(--color-surface-brand) 0%, transparent) 0%,\n color-mix(in srgb, var(--color-surface-brand) 60%, transparent) 31.8%,\n color-mix(in srgb, var(--color-surface-brand) 95%, transparent) 56.6%,\n var(--color-surface-brand) 70.7%\n );\n }\n\n .copy {\n align-items: flex-start;\n margin-block-start: 0;\n text-align: start;\n /* not the column: the copy's measure, the left half of the page that\n the design keeps clear of the sphere on the right.\n no token: 588 is a measure, and the dimension scale stops at 64 */\n max-width: 588px;\n gap: var(--spacing-16);\n }\n\n .heading {\n font-family: var(--typography-display-xl-fontFamily);\n font-size: var(--typography-display-xl-fontSize);\n font-weight: var(--typography-display-xl-fontWeight);\n line-height: var(--typography-display-xl-lineHeight);\n letter-spacing: var(--typography-display-xl-letterSpacing);\n }\n\n .toggle {\n inset-block-start: var(--spacing-24);\n inset-inline-end: var(--spacing-24);\n }\n\n /* the cards rise into the band's lower edge */\n .has-cards .band {\n padding-block-end: calc(var(--spacing-40) + var(--spacing-128));\n }\n\n /* from lg the cards rise into the band over the page, as the desktop\n frame draws them */\n .cards-band {\n margin-block-start: calc(-1 * var(--spacing-128));\n padding-block-end: 0;\n background: none;\n }\n\n /* The desktop frame's glow (Vector 3): a brand shape at 10%, blurred\n 200 in Figma (a Gaussian of 100), 1550 by 666, centred on the page\n and starting 434 above the band's lower edge, so it spills out under\n the band, behind the cards and on past them. The element sits between\n the band and the cards and takes no room; its ::before is the shape,\n clipped to the frame's own path, and the element blurs it. Behind the\n band (the root isolates it), so a partner brand's band keeps its own\n hue and the haze shows only where the band ends. The root clips it\n sideways, where it is wider than the page. */\n .root {\n isolation: isolate;\n overflow-x: clip;\n }\n\n .glow {\n display: block;\n position: relative;\n z-index: var(--z-below);\n height: 0;\n /* no token: the frame's layer blur */\n filter: blur(100px);\n }\n\n .glow::before {\n content: \"\";\n position: absolute;\n inset-inline-start: 50%;\n /* no token: the shape's place and size in the desktop frame; the\n dimension scale stops at 64 */\n inset-block-start: -434px;\n /* no token: the shape's width in the frame */\n width: 1550px;\n /* no token: the shape's height in the frame */\n height: 666px;\n margin-inline-start: -775px;\n background: color-mix(in srgb, var(--color-surface-brand) 10%, transparent);\n /* no token: the frame's path */\n clip-path: path(\"M1006 130C873.7 -68.8 419.4 3.8 208.7 65C-292.1 216 208.7 594.4 659.6 656.8C1110.5 719.1 1600.4 449.6 1545.8 334.6C1491.2 219.5 1171.4 378.5 1006 130Z\");\n pointer-events: none;\n }\n }\n\n /* the column's cap at each step from lg, for the art's edge above */\n @media ${unsafeCSS(above(\"xl\"))} {\n .stage {\n --bd-hero-column: var(--grid-container-max-xl);\n }\n }\n\n @media ${unsafeCSS(above(\"xxl\"))} {\n .stage {\n --bd-hero-column: var(--grid-container-max-xxl);\n }\n }\n\n @media ${unsafeCSS(above(\"xxxl\"))} {\n .stage {\n --bd-hero-column: var(--grid-container-max-xxxl);\n }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .toggle {\n display: none;\n }\n }\n\n /* A newline in the text is a line break, so a page can keep the breaks its\n copy was written with (a <br> in the authored eyebrow, heading or lead\n arrives as a newline in the property). Text only: nothing here renders\n HTML. */\n .eyebrow,\n .heading,\n .lead {\n white-space: pre-line;\n }\n`;\n"]}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { LitElement, nothing, type PropertyValues } from "lit";
|
|
2
|
+
import "../button/button.ts";
|
|
3
|
+
import "../icons/pause-icon.ts";
|
|
4
|
+
import "../icons/play-icon.ts";
|
|
5
|
+
/**
|
|
6
|
+
* The homepage hero: a brand band with a full-bleed looping video fading into
|
|
7
|
+
* the brand at the bottom, an eyebrow, the page's one h1 and a lead. Drawn in
|
|
8
|
+
* the foundation Figma file as Hero.
|
|
9
|
+
*
|
|
10
|
+
* Desktop sets the copy left over the video, and a faint brand haze spills
|
|
11
|
+
* out under the band, behind the cards (the desktop frame's glow); below lg
|
|
12
|
+
* the video sits on top and the copy is centred under it.
|
|
13
|
+
* Slot `cards` takes the audience cards:
|
|
14
|
+
* from lg they overlap the band's lower edge, below it they follow the band
|
|
15
|
+
* on the same brand ground, as the phone and tablet frames draw them.
|
|
16
|
+
*
|
|
17
|
+
* Not bd-header. That is the white two-column product hero with a price; this
|
|
18
|
+
* one sells nothing and carries no CTA.
|
|
19
|
+
*
|
|
20
|
+
* Slot `media` takes animated art in the video's place: the homepage slots
|
|
21
|
+
* <bd-motion-art object="brand-surface">. Slotted, it replaces the video and
|
|
22
|
+
* the poster, and it is centred in the stage below lg and on the sphere's
|
|
23
|
+
* line, right of the copy, from lg.
|
|
24
|
+
*
|
|
25
|
+
* The video loops on its own, so there is a pause button (WCAG 2.2.2). Under
|
|
26
|
+
* prefers-reduced-motion it never plays: the poster stands still in its place.
|
|
27
|
+
* Without a video-src the poster is all there is, and so is no button. The
|
|
28
|
+
* slotted art takes no button: it holds a still frame of its own under
|
|
29
|
+
* prefers-reduced-motion, and stops with `paused` when a page sets it.
|
|
30
|
+
*/
|
|
31
|
+
export declare class Hero extends LitElement {
|
|
32
|
+
static styles: import("lit").CSSResult[];
|
|
33
|
+
eyebrow: string;
|
|
34
|
+
heading: string;
|
|
35
|
+
lead: string;
|
|
36
|
+
videoSrc: string;
|
|
37
|
+
poster: string;
|
|
38
|
+
paused: boolean;
|
|
39
|
+
pauseLabel: string;
|
|
40
|
+
playLabel: string;
|
|
41
|
+
_reduced: boolean;
|
|
42
|
+
_hasCards: boolean;
|
|
43
|
+
_hasMedia: boolean;
|
|
44
|
+
_media: Element[] | undefined;
|
|
45
|
+
constructor();
|
|
46
|
+
updated(changed: PropertyValues<this>): void;
|
|
47
|
+
_toggle(): void;
|
|
48
|
+
_onCardsSlot(e: Event): void;
|
|
49
|
+
_onMediaSlot(e: Event): void;
|
|
50
|
+
_syncMedia(): void;
|
|
51
|
+
_renderMedia(): import("lit-html").TemplateResult<1> | typeof nothing;
|
|
52
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
53
|
+
}
|
|
54
|
+
declare global {
|
|
55
|
+
interface HTMLElementTagNameMap {
|
|
56
|
+
"bd-hero": Hero;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { LitElement, html, nothing } from "lit";
|
|
8
|
+
import { property, state } from "lit/decorators.js";
|
|
9
|
+
import { defineElement } from "../shared/define-element.js";
|
|
10
|
+
import { MediaQueryController, REDUCED_MOTION } from "../shared/controller.media-query.js";
|
|
11
|
+
import { tokens } from "../../tokens/tokens.js";
|
|
12
|
+
import "../button/button.js";
|
|
13
|
+
import "../icons/pause-icon.js";
|
|
14
|
+
import "../icons/play-icon.js";
|
|
15
|
+
import { ensembleCSS } from "../shared/ensemble.css.js";
|
|
16
|
+
import { heroCSS } from "./hero.css.js";
|
|
17
|
+
/**
|
|
18
|
+
* The homepage hero: a brand band with a full-bleed looping video fading into
|
|
19
|
+
* the brand at the bottom, an eyebrow, the page's one h1 and a lead. Drawn in
|
|
20
|
+
* the foundation Figma file as Hero.
|
|
21
|
+
*
|
|
22
|
+
* Desktop sets the copy left over the video, and a faint brand haze spills
|
|
23
|
+
* out under the band, behind the cards (the desktop frame's glow); below lg
|
|
24
|
+
* the video sits on top and the copy is centred under it.
|
|
25
|
+
* Slot `cards` takes the audience cards:
|
|
26
|
+
* from lg they overlap the band's lower edge, below it they follow the band
|
|
27
|
+
* on the same brand ground, as the phone and tablet frames draw them.
|
|
28
|
+
*
|
|
29
|
+
* Not bd-header. That is the white two-column product hero with a price; this
|
|
30
|
+
* one sells nothing and carries no CTA.
|
|
31
|
+
*
|
|
32
|
+
* Slot `media` takes animated art in the video's place: the homepage slots
|
|
33
|
+
* <bd-motion-art object="brand-surface">. Slotted, it replaces the video and
|
|
34
|
+
* the poster, and it is centred in the stage below lg and on the sphere's
|
|
35
|
+
* line, right of the copy, from lg.
|
|
36
|
+
*
|
|
37
|
+
* The video loops on its own, so there is a pause button (WCAG 2.2.2). Under
|
|
38
|
+
* prefers-reduced-motion it never plays: the poster stands still in its place.
|
|
39
|
+
* Without a video-src the poster is all there is, and so is no button. The
|
|
40
|
+
* slotted art takes no button: it holds a still frame of its own under
|
|
41
|
+
* prefers-reduced-motion, and stops with `paused` when a page sets it.
|
|
42
|
+
*/
|
|
43
|
+
let Hero = class Hero extends LitElement {
|
|
44
|
+
static { this.styles = [tokens, ensembleCSS, heroCSS]; }
|
|
45
|
+
constructor() {
|
|
46
|
+
super();
|
|
47
|
+
this.eyebrow = "";
|
|
48
|
+
this.heading = "";
|
|
49
|
+
this.lead = "";
|
|
50
|
+
this.videoSrc = "";
|
|
51
|
+
this.poster = "";
|
|
52
|
+
this.paused = false;
|
|
53
|
+
this.pauseLabel = "Pause the background video";
|
|
54
|
+
this.playLabel = "Play the background video";
|
|
55
|
+
this._reduced = false;
|
|
56
|
+
this._hasCards = false;
|
|
57
|
+
this._hasMedia = false;
|
|
58
|
+
new MediaQueryController(this, REDUCED_MOTION, reduced => { this._reduced = reduced; });
|
|
59
|
+
}
|
|
60
|
+
updated(changed) {
|
|
61
|
+
if (changed.has("paused") || changed.has("_hasMedia"))
|
|
62
|
+
this._syncMedia();
|
|
63
|
+
if (!changed.has("paused") && !changed.has("_reduced") && !changed.has("videoSrc"))
|
|
64
|
+
return;
|
|
65
|
+
const video = this.renderRoot.querySelector("video");
|
|
66
|
+
if (!video)
|
|
67
|
+
return;
|
|
68
|
+
if (this.paused || this._reduced)
|
|
69
|
+
video.pause();
|
|
70
|
+
else
|
|
71
|
+
video.play()?.catch(() => { });
|
|
72
|
+
}
|
|
73
|
+
_toggle() {
|
|
74
|
+
this.paused = !this.paused;
|
|
75
|
+
}
|
|
76
|
+
_onCardsSlot(e) {
|
|
77
|
+
this._hasCards = e.target.assignedElements({ flatten: true }).length > 0;
|
|
78
|
+
}
|
|
79
|
+
_onMediaSlot(e) {
|
|
80
|
+
this._media = e.target.assignedElements({ flatten: true });
|
|
81
|
+
this._hasMedia = this._media.length > 0;
|
|
82
|
+
this._syncMedia();
|
|
83
|
+
}
|
|
84
|
+
/* the slotted art stops with the hero's `paused` */
|
|
85
|
+
_syncMedia() {
|
|
86
|
+
for (const el of this._media ?? [])
|
|
87
|
+
if ("paused" in el)
|
|
88
|
+
el.paused = this.paused;
|
|
89
|
+
}
|
|
90
|
+
_renderMedia() {
|
|
91
|
+
if (this._hasMedia)
|
|
92
|
+
return nothing;
|
|
93
|
+
/* preload="none": under reduced motion, or paused, the video never plays
|
|
94
|
+
and the poster is all there is, so nothing else is fetched for it. */
|
|
95
|
+
if (this.videoSrc) {
|
|
96
|
+
return html `<video
|
|
97
|
+
class="media"
|
|
98
|
+
src="${this.videoSrc}"
|
|
99
|
+
poster="${this.poster || nothing}"
|
|
100
|
+
?autoplay=${!this._reduced && !this.paused}
|
|
101
|
+
muted
|
|
102
|
+
loop
|
|
103
|
+
playsinline
|
|
104
|
+
preload="none"
|
|
105
|
+
aria-hidden="true"
|
|
106
|
+
tabindex="-1"
|
|
107
|
+
.muted=${true}
|
|
108
|
+
></video>`;
|
|
109
|
+
}
|
|
110
|
+
/* The poster alone is the band's picture, and the band opens the page, so
|
|
111
|
+
it is the image the page is waiting for: high priority, never lazy. The
|
|
112
|
+
size is the homepage poster's; the stage sizes the box itself, so the
|
|
113
|
+
attributes only give the image its shape before it arrives. alt="" is
|
|
114
|
+
what keeps it out of the accessibility tree -- aria-hidden beside it
|
|
115
|
+
said the same thing twice. */
|
|
116
|
+
return this.poster
|
|
117
|
+
? html `<img class="media" src="${this.poster}" alt="" width="1440" height="613" fetchpriority="high">`
|
|
118
|
+
: nothing;
|
|
119
|
+
}
|
|
120
|
+
render() {
|
|
121
|
+
const moving = this.videoSrc && !this._hasMedia && !this._reduced;
|
|
122
|
+
return html `
|
|
123
|
+
<section class="root ${this._hasCards ? "has-cards" : ""}">
|
|
124
|
+
<div class="band">
|
|
125
|
+
<div class="stage">
|
|
126
|
+
${this._renderMedia()}
|
|
127
|
+
<slot name="media" @slotchange=${this._onMediaSlot}></slot>
|
|
128
|
+
<div class="fade"></div>
|
|
129
|
+
${moving
|
|
130
|
+
? html `<bd-button
|
|
131
|
+
class="toggle"
|
|
132
|
+
variant="outline-white"
|
|
133
|
+
surface="brand"
|
|
134
|
+
size="md"
|
|
135
|
+
icon-only
|
|
136
|
+
label="${this.paused ? this.playLabel : this.pauseLabel}"
|
|
137
|
+
@click=${this._toggle}
|
|
138
|
+
>${this.paused
|
|
139
|
+
? html `<bd-play-icon size="md"></bd-play-icon>`
|
|
140
|
+
: html `<bd-pause-icon size="md"></bd-pause-icon>`}</bd-button>`
|
|
141
|
+
: nothing}
|
|
142
|
+
</div>
|
|
143
|
+
<div class="bd-ensemble column">
|
|
144
|
+
<div class="copy">
|
|
145
|
+
${this.eyebrow ? html `<p class="eyebrow">${this.eyebrow}</p>` : nothing}
|
|
146
|
+
<h1 class="heading">${this.heading}</h1>
|
|
147
|
+
${this.lead ? html `<p class="lead">${this.lead}</p>` : nothing}
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
<div class="glow" aria-hidden="true"></div>
|
|
152
|
+
<div class="cards-band" ?hidden=${!this._hasCards}>
|
|
153
|
+
<div class="bd-ensemble cards">
|
|
154
|
+
<slot name="cards" @slotchange=${this._onCardsSlot}></slot>
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
</section>
|
|
158
|
+
`;
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
__decorate([
|
|
162
|
+
property({ type: String })
|
|
163
|
+
], Hero.prototype, "eyebrow", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
property({ type: String })
|
|
166
|
+
], Hero.prototype, "heading", void 0);
|
|
167
|
+
__decorate([
|
|
168
|
+
property({ type: String })
|
|
169
|
+
], Hero.prototype, "lead", void 0);
|
|
170
|
+
__decorate([
|
|
171
|
+
property({ type: String, attribute: "video-src" })
|
|
172
|
+
], Hero.prototype, "videoSrc", void 0);
|
|
173
|
+
__decorate([
|
|
174
|
+
property({ type: String })
|
|
175
|
+
], Hero.prototype, "poster", void 0);
|
|
176
|
+
__decorate([
|
|
177
|
+
property({ type: Boolean, reflect: true })
|
|
178
|
+
], Hero.prototype, "paused", void 0);
|
|
179
|
+
__decorate([
|
|
180
|
+
property({ type: String, attribute: "pause-label" })
|
|
181
|
+
], Hero.prototype, "pauseLabel", void 0);
|
|
182
|
+
__decorate([
|
|
183
|
+
property({ type: String, attribute: "play-label" })
|
|
184
|
+
], Hero.prototype, "playLabel", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
state()
|
|
187
|
+
], Hero.prototype, "_reduced", void 0);
|
|
188
|
+
__decorate([
|
|
189
|
+
state()
|
|
190
|
+
], Hero.prototype, "_hasCards", void 0);
|
|
191
|
+
__decorate([
|
|
192
|
+
state()
|
|
193
|
+
], Hero.prototype, "_hasMedia", void 0);
|
|
194
|
+
Hero = __decorate([
|
|
195
|
+
defineElement("bd-hero")
|
|
196
|
+
], Hero);
|
|
197
|
+
export { Hero };
|
|
198
|
+
//# sourceMappingURL=hero.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hero.js","sourceRoot":"","sources":["../../../../src/components/hero/hero.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAuB,MAAM,KAAK,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AAC3F,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,qBAAqB,CAAC;AAC7B,OAAO,wBAAwB,CAAC;AAChC,OAAO,uBAAuB,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEI,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,UAAU;aAC3B,WAAM,GAAG,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,CAAC,AAAjC,CAAkC;IA2B/C;QACE,KAAK,EAAE,CAAC;QAzBV,YAAO,GAAG,EAAE,CAAC;QAEb,YAAO,GAAG,EAAE,CAAC;QAEb,SAAI,GAAG,EAAE,CAAC;QAEV,aAAQ,GAAG,EAAE,CAAC;QAEd,WAAM,GAAG,EAAE,CAAC;QAEZ,WAAM,GAAG,KAAK,CAAC;QAEf,eAAU,GAAG,4BAA4B,CAAC;QAE1C,cAAS,GAAG,2BAA2B,CAAC;QAExC,aAAQ,GAAG,KAAK,CAAC;QAEjB,cAAS,GAAG,KAAK,CAAC;QAElB,cAAS,GAAG,KAAK,CAAC;QAMhB,IAAI,oBAAoB,CAAC,IAAI,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,GAAG,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;IAC1F,CAAC;IAED,OAAO,CAAC,OAA6B;QACnC,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC;YAAE,IAAI,CAAC,UAAU,EAAE,CAAC;QACzE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;YAAE,OAAO;QAC3F,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACrD,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,QAAQ;YAAE,KAAK,CAAC,KAAK,EAAE,CAAC;;YAC3C,KAAK,CAAC,IAAI,EAAE,EAAE,KAAK,CAAC,GAAG,EAAE,GAA4C,CAAC,CAAC,CAAC;IAC/E,CAAC;IAED,OAAO;QACL,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC;IAC7B,CAAC;IAED,YAAY,CAAC,CAAQ;QACnB,IAAI,CAAC,SAAS,GAAI,CAAC,CAAC,MAA0B,CAAC,gBAAgB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;IAChG,CAAC;IAED,YAAY,CAAC,CAAQ;QACnB,IAAI,CAAC,MAAM,GAAI,CAAC,CAAC,MAA0B,CAAC,gBAAgB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;QAChF,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC;QACxC,IAAI,CAAC,UAAU,EAAE,CAAC;IACpB,CAAC;IAED,oDAAoD;IACpD,UAAU;QACR,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,MAAM,IAAI,EAAE;YAAE,IAAI,QAAQ,IAAI,EAAE;gBAAE,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC;IAClF,CAAC;IAED,YAAY;QACV,IAAI,IAAI,CAAC,SAAS;YAAE,OAAO,OAAO,CAAC;QACnC;gFACwE;QACxE,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,OAAO,IAAI,CAAA;;eAEF,IAAI,CAAC,QAAQ;kBACV,IAAI,CAAC,MAAM,IAAI,OAAO;oBACpB,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,MAAM;;;;;;;iBAOjC,IAAI;gBACL,CAAC;QACb,CAAC;QACD;;;;;wCAKgC;QAChC,OAAO,IAAI,CAAC,MAAM;YAChB,CAAC,CAAC,IAAI,CAAA,2BAA2B,IAAI,CAAC,MAAM,0DAA0D;YACtG,CAAC,CAAC,OAAO,CAAC;IACd,CAAC;IAED,MAAM;QACJ,MAAM,MAAM,GAAG,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;QAClE,OAAO,IAAI,CAAA;6BACc,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE;;;cAGhD,IAAI,CAAC,YAAY,EAAE;6CACY,IAAI,CAAC,YAAY;;cAEhD,MAAM;YACN,CAAC,CAAC,IAAI,CAAA;;;;;;2BAMO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU;2BAC9C,IAAI,CAAC,OAAO;mBACpB,IAAI,CAAC,MAAM;gBACZ,CAAC,CAAC,IAAI,CAAA,yCAAyC;gBAC/C,CAAC,CAAC,IAAI,CAAA,2CAA2C,cAAc;YACnE,CAAC,CAAC,OAAO;;;;gBAIP,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAA,sBAAsB,IAAI,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,OAAO;oCACjD,IAAI,CAAC,OAAO;gBAChC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAA,mBAAmB,IAAI,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,OAAO;;;;;0CAKlC,CAAC,IAAI,CAAC,SAAS;;6CAEZ,IAAI,CAAC,YAAY;;;;KAIzD,CAAC;IACJ,CAAC;;AA9HD;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;qCACd;AAEb;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;qCACd;AAEb;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;kCACjB;AAEV;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;sCACrC;AAEd;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;oCACf;AAEZ;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;oCAC5B;AAEf;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,CAAC;wCACX;AAE1C;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAE,CAAC;uCACZ;AAExC;IADC,KAAK,EAAE;sCACS;AAEjB;IADC,KAAK,EAAE;uCACU;AAElB;IADC,KAAK,EAAE;uCACU;AAxBP,IAAI;IADhB,aAAa,CAAC,SAAS,CAAC;GACZ,IAAI,CAmIhB","sourcesContent":["import { LitElement, html, nothing, type PropertyValues } from \"lit\";\nimport { property, state } from \"lit/decorators.js\";\nimport { defineElement } from \"../shared/define-element.ts\";\nimport { MediaQueryController, REDUCED_MOTION } from \"../shared/controller.media-query.ts\";\nimport { tokens } from \"../../tokens/tokens.ts\";\nimport \"../button/button.ts\";\nimport \"../icons/pause-icon.ts\";\nimport \"../icons/play-icon.ts\";\nimport { ensembleCSS } from \"../shared/ensemble.css.ts\";\nimport { heroCSS } from \"./hero.css.ts\";\n\n/**\n * The homepage hero: a brand band with a full-bleed looping video fading into\n * the brand at the bottom, an eyebrow, the page's one h1 and a lead. Drawn in\n * the foundation Figma file as Hero.\n *\n * Desktop sets the copy left over the video, and a faint brand haze spills\n * out under the band, behind the cards (the desktop frame's glow); below lg\n * the video sits on top and the copy is centred under it.\n * Slot `cards` takes the audience cards:\n * from lg they overlap the band's lower edge, below it they follow the band\n * on the same brand ground, as the phone and tablet frames draw them.\n *\n * Not bd-header. That is the white two-column product hero with a price; this\n * one sells nothing and carries no CTA.\n *\n * Slot `media` takes animated art in the video's place: the homepage slots\n * <bd-motion-art object=\"brand-surface\">. Slotted, it replaces the video and\n * the poster, and it is centred in the stage below lg and on the sphere's\n * line, right of the copy, from lg.\n *\n * The video loops on its own, so there is a pause button (WCAG 2.2.2). Under\n * prefers-reduced-motion it never plays: the poster stands still in its place.\n * Without a video-src the poster is all there is, and so is no button. The\n * slotted art takes no button: it holds a still frame of its own under\n * prefers-reduced-motion, and stops with `paused` when a page sets it.\n */\n@defineElement(\"bd-hero\")\nexport class Hero extends LitElement {\n static styles = [tokens, ensembleCSS, heroCSS];\n\n @property({ type: String })\n eyebrow = \"\";\n @property({ type: String })\n heading = \"\";\n @property({ type: String })\n lead = \"\";\n @property({ type: String, attribute: \"video-src\" })\n videoSrc = \"\";\n @property({ type: String })\n poster = \"\";\n @property({ type: Boolean, reflect: true })\n paused = false;\n @property({ type: String, attribute: \"pause-label\" })\n pauseLabel = \"Pause the background video\";\n @property({ type: String, attribute: \"play-label\" })\n playLabel = \"Play the background video\";\n @state()\n _reduced = false;\n @state()\n _hasCards = false;\n @state()\n _hasMedia = false;\n\n _media: Element[] | undefined;\n\n constructor() {\n super();\n new MediaQueryController(this, REDUCED_MOTION, reduced => { this._reduced = reduced; });\n }\n\n updated(changed: PropertyValues<this>) {\n if (changed.has(\"paused\") || changed.has(\"_hasMedia\")) this._syncMedia();\n if (!changed.has(\"paused\") && !changed.has(\"_reduced\") && !changed.has(\"videoSrc\")) return;\n const video = this.renderRoot.querySelector(\"video\");\n if (!video) return;\n if (this.paused || this._reduced) video.pause();\n else video.play()?.catch(() => { /* autoplay refused: the poster stays */ });\n }\n\n _toggle() {\n this.paused = !this.paused;\n }\n\n _onCardsSlot(e: Event) {\n this._hasCards = (e.target as HTMLSlotElement).assignedElements({ flatten: true }).length > 0;\n }\n\n _onMediaSlot(e: Event) {\n this._media = (e.target as HTMLSlotElement).assignedElements({ flatten: true });\n this._hasMedia = this._media.length > 0;\n this._syncMedia();\n }\n\n /* the slotted art stops with the hero's `paused` */\n _syncMedia() {\n for (const el of this._media ?? []) if (\"paused\" in el) el.paused = this.paused;\n }\n\n _renderMedia() {\n if (this._hasMedia) return nothing;\n /* preload=\"none\": under reduced motion, or paused, the video never plays\n and the poster is all there is, so nothing else is fetched for it. */\n if (this.videoSrc) {\n return html`<video\n class=\"media\"\n src=\"${this.videoSrc}\"\n poster=\"${this.poster || nothing}\"\n ?autoplay=${!this._reduced && !this.paused}\n muted\n loop\n playsinline\n preload=\"none\"\n aria-hidden=\"true\"\n tabindex=\"-1\"\n .muted=${true}\n ></video>`;\n }\n /* The poster alone is the band's picture, and the band opens the page, so\n it is the image the page is waiting for: high priority, never lazy. The\n size is the homepage poster's; the stage sizes the box itself, so the\n attributes only give the image its shape before it arrives. alt=\"\" is\n what keeps it out of the accessibility tree -- aria-hidden beside it\n said the same thing twice. */\n return this.poster\n ? html`<img class=\"media\" src=\"${this.poster}\" alt=\"\" width=\"1440\" height=\"613\" fetchpriority=\"high\">`\n : nothing;\n }\n\n render() {\n const moving = this.videoSrc && !this._hasMedia && !this._reduced;\n return html`\n <section class=\"root ${this._hasCards ? \"has-cards\" : \"\"}\">\n <div class=\"band\">\n <div class=\"stage\">\n ${this._renderMedia()}\n <slot name=\"media\" @slotchange=${this._onMediaSlot}></slot>\n <div class=\"fade\"></div>\n ${moving\n ? html`<bd-button\n class=\"toggle\"\n variant=\"outline-white\"\n surface=\"brand\"\n size=\"md\"\n icon-only\n label=\"${this.paused ? this.playLabel : this.pauseLabel}\"\n @click=${this._toggle}\n >${this.paused\n ? html`<bd-play-icon size=\"md\"></bd-play-icon>`\n : html`<bd-pause-icon size=\"md\"></bd-pause-icon>`}</bd-button>`\n : nothing}\n </div>\n <div class=\"bd-ensemble column\">\n <div class=\"copy\">\n ${this.eyebrow ? html`<p class=\"eyebrow\">${this.eyebrow}</p>` : nothing}\n <h1 class=\"heading\">${this.heading}</h1>\n ${this.lead ? html`<p class=\"lead\">${this.lead}</p>` : nothing}\n </div>\n </div>\n </div>\n <div class=\"glow\" aria-hidden=\"true\"></div>\n <div class=\"cards-band\" ?hidden=${!this._hasCards}>\n <div class=\"bd-ensemble cards\">\n <slot name=\"cards\" @slotchange=${this._onCardsSlot}></slot>\n </div>\n </div>\n </section>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-hero\": Hero;\n }\n}\n"]}
|