@repobit/dex-system-design 3.1.1 → 4.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 +1074 -0
- package/README.md +31 -6
- package/dist/src/assets/fonts/IBMPlexSansCondensed-Bold.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-BoldItalic.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-Italic.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-Medium.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-MediumItalic.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-Regular.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-SemiBold.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-SemiBoldItalic.woff2 +0 -0
- package/dist/src/components/abstract/abstract.css.d.ts +7 -0
- package/dist/src/components/abstract/abstract.css.js +2 -0
- package/dist/src/components/abstract/abstract.css.js.map +1 -0
- package/dist/src/components/abstract/abstract.d.ts +31 -0
- package/dist/src/components/abstract/abstract.js +2 -0
- package/dist/src/components/abstract/abstract.js.map +1 -0
- package/dist/src/components/accordion/accordion-item.d.ts +93 -0
- package/dist/src/components/accordion/accordion-item.js +25 -0
- package/dist/src/components/accordion/accordion-item.js.map +1 -0
- package/dist/src/components/accordion/accordion-keyboard.d.ts +5 -5
- package/dist/src/components/accordion/accordion-keyboard.js +1 -1
- package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
- package/dist/src/components/accordion/accordion.css.d.ts +2 -2
- package/dist/src/components/accordion/accordion.css.js +1 -1
- package/dist/src/components/accordion/accordion.css.js.map +1 -1
- package/dist/src/components/accordion/accordion.d.ts +66 -31
- package/dist/src/components/accordion/accordion.js +8 -66
- package/dist/src/components/accordion/accordion.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints-pills.css.js +2 -0
- package/dist/src/components/agent-endpoints/agent-endpoints-pills.css.js.map +1 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +38 -21
- package/dist/src/components/agent-endpoints/agent-endpoints.js +22 -41
- package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
- package/dist/src/components/anchor-nav/anchor-nav-item.css.d.ts +1 -0
- package/dist/src/components/anchor-nav/anchor-nav-item.css.js +2 -0
- package/dist/src/components/anchor-nav/anchor-nav-item.css.js.map +1 -0
- package/dist/src/components/anchor-nav/anchor-nav-item.d.ts +38 -0
- package/dist/src/components/anchor-nav/anchor-nav-item.js +2 -0
- package/dist/src/components/anchor-nav/anchor-nav-item.js.map +1 -0
- package/dist/src/components/anchor-nav/anchor-nav.css.js +2 -0
- package/dist/src/components/anchor-nav/anchor-nav.css.js.map +1 -0
- package/dist/src/components/{anchor → anchor-nav}/anchor-nav.d.ts +41 -23
- package/dist/src/components/anchor-nav/anchor-nav.js +43 -0
- package/dist/src/components/anchor-nav/anchor-nav.js.map +1 -0
- package/dist/src/components/annotation/annotation.css.js +1 -1
- package/dist/src/components/annotation/annotation.css.js.map +1 -1
- package/dist/src/components/annotation/annotation.js +2 -2
- package/dist/src/components/annotation/annotation.js.map +1 -1
- package/dist/src/components/article/article.css.d.ts +30 -0
- package/dist/src/components/article/article.css.js +2 -0
- package/dist/src/components/article/article.css.js.map +1 -0
- package/dist/src/components/article/article.d.ts +135 -0
- package/dist/src/components/article/article.js +39 -0
- package/dist/src/components/article/article.js.map +1 -0
- package/dist/src/components/audience-card/audience-card.css.js +1 -1
- package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.d.ts +30 -15
- package/dist/src/components/audience-card/audience-card.js +9 -11
- package/dist/src/components/audience-card/audience-card.js.map +1 -1
- package/dist/src/components/authors/authors.css.d.ts +7 -0
- package/dist/src/components/authors/authors.css.js +2 -0
- package/dist/src/components/authors/authors.css.js.map +1 -0
- package/dist/src/components/authors/authors.d.ts +29 -0
- package/dist/src/components/authors/authors.js +7 -0
- package/dist/src/components/authors/authors.js.map +1 -0
- package/dist/src/components/avatar/avatar.js +6 -6
- package/dist/src/components/avatar/avatar.js.map +1 -1
- package/dist/src/components/awards/award-marks.css.js +2 -0
- package/dist/src/components/awards/award-marks.css.js.map +1 -0
- package/dist/src/components/awards/award.css.js +2 -0
- package/dist/src/components/awards/award.css.js.map +1 -0
- package/dist/src/components/awards/award.d.ts +65 -0
- package/dist/src/components/awards/award.js +11 -0
- package/dist/src/components/awards/award.js.map +1 -0
- package/dist/src/components/awards/awards.css.d.ts +2 -1
- package/dist/src/components/awards/awards.css.js +1 -1
- package/dist/src/components/awards/awards.css.js.map +1 -1
- package/dist/src/components/awards/awards.d.ts +123 -71
- package/dist/src/components/awards/awards.js +46 -57
- package/dist/src/components/awards/awards.js.map +1 -1
- package/dist/src/components/awards/scroll-slides.d.ts +9 -8
- package/dist/src/components/awards/scroll-slides.js.map +1 -1
- package/dist/src/components/back/back.d.ts +12 -7
- package/dist/src/components/back/back.js +6 -6
- package/dist/src/components/back/back.js.map +1 -1
- package/dist/src/components/badge/badge.css.js +1 -1
- package/dist/src/components/badge/badge.css.js.map +1 -1
- package/dist/src/components/badge/badge.d.ts +11 -11
- package/dist/src/components/badge/badge.js +2 -2
- package/dist/src/components/badge/badge.js.map +1 -1
- package/dist/src/components/bar-chart/bar-chart.css.js +2 -0
- package/dist/src/components/bar-chart/bar-chart.css.js.map +1 -0
- package/dist/src/components/bar-chart/bar-chart.d.ts +147 -0
- package/dist/src/components/bar-chart/bar-chart.js +42 -0
- package/dist/src/components/bar-chart/bar-chart.js.map +1 -0
- package/dist/src/components/bento-grid/bento-grid.css.js +2 -2
- package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.d.ts +21 -9
- package/dist/src/components/bento-grid/bento-grid.js +10 -26
- package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.css.js +1 -1
- package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.d.ts +34 -13
- package/dist/src/components/bento-grid/bento-item.js +9 -26
- package/dist/src/components/bento-grid/bento-item.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.css.js +1 -1
- package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.d.ts +27 -2
- package/dist/src/components/blockquote/blockquote.js +1 -1
- package/dist/src/components/blockquote/blockquote.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -4
- package/dist/src/components/breadcrumb/breadcrumb.js +5 -5
- package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/src/components/button/button.css.js +1 -1
- package/dist/src/components/button/button.css.js.map +1 -1
- package/dist/src/components/button/button.d.ts +87 -96
- package/dist/src/components/button/button.js +20 -33
- package/dist/src/components/button/button.js.map +1 -1
- package/dist/src/components/{alert/alert.css.d.ts → callout/callout.css.d.ts} +9 -9
- package/dist/src/components/callout/callout.css.js +2 -0
- package/dist/src/components/callout/callout.css.js.map +1 -0
- package/dist/src/components/callout/callout.d.ts +56 -0
- package/dist/src/components/callout/callout.js +28 -0
- package/dist/src/components/callout/callout.js.map +1 -0
- package/dist/src/components/caption/caption.js +2 -2
- package/dist/src/components/caption/caption.js.map +1 -1
- package/dist/src/components/card/card-grid.css.js +2 -0
- package/dist/src/components/card/card-grid.css.js.map +1 -0
- package/dist/src/components/card/card-grid.d.ts +63 -0
- package/dist/src/components/card/card-grid.js +10 -0
- package/dist/src/components/card/card-grid.js.map +1 -0
- package/dist/src/components/card/card.css.js +2 -0
- package/dist/src/components/card/card.css.js.map +1 -0
- package/dist/src/components/card/card.d.ts +86 -0
- package/dist/src/components/card/card.js +15 -0
- package/dist/src/components/card/card.js.map +1 -0
- package/dist/src/components/carousel/carousel.css.js +1 -1
- package/dist/src/components/carousel/carousel.css.js.map +1 -1
- package/dist/src/components/carousel/carousel.d.ts +64 -37
- package/dist/src/components/carousel/carousel.js +24 -32
- package/dist/src/components/carousel/carousel.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.d.ts +15 -1
- package/dist/src/components/checkbox/checkbox.js +6 -5
- package/dist/src/components/checkbox/checkbox.js.map +1 -1
- package/dist/src/components/code/code.css.d.ts +15 -0
- package/dist/src/components/code/code.css.js +1 -1
- package/dist/src/components/code/code.css.js.map +1 -1
- package/dist/src/components/code/code.d.ts +100 -4
- package/dist/src/components/code/code.js +17 -3
- package/dist/src/components/code/code.js.map +1 -1
- package/dist/src/components/code/prism-page.d.ts +2 -0
- package/dist/src/components/code/prism-page.js +2 -0
- package/dist/src/components/code/prism-page.js.map +1 -0
- package/dist/src/components/code/prism.d.ts +10 -0
- package/dist/src/components/code/prism.js +2 -0
- package/dist/src/components/code/prism.js.map +1 -0
- package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.d.ts +36 -15
- package/dist/src/components/comparison-panel/comparison-panel.js +25 -46
- package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.css.d.ts +25 -0
- package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.d.ts +66 -42
- package/dist/src/components/compatibility-table/compatibility-table.js +5 -64
- package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.css.js +1 -1
- package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.d.ts +17 -8
- package/dist/src/components/cta-banner/cta-banner.js +8 -28
- package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
- package/dist/src/components/dialog/dialog.css.js +2 -0
- package/dist/src/components/dialog/dialog.css.js.map +1 -0
- package/dist/src/components/dialog/dialog.d.ts +76 -0
- package/dist/src/components/dialog/dialog.js +32 -0
- package/dist/src/components/dialog/dialog.js.map +1 -0
- package/dist/src/components/display/display.css.js +1 -1
- package/dist/src/components/display/display.css.js.map +1 -1
- package/dist/src/components/display/display.d.ts +30 -6
- package/dist/src/components/display/display.js +7 -5
- package/dist/src/components/display/display.js.map +1 -1
- package/dist/src/components/divider/divider.css.d.ts +2 -2
- package/dist/src/components/divider/divider.css.js +1 -1
- package/dist/src/components/divider/divider.css.js.map +1 -1
- package/dist/src/components/divider/divider.d.ts +36 -0
- package/dist/src/components/divider/divider.js +21 -0
- package/dist/src/components/divider/divider.js.map +1 -0
- package/dist/src/components/fact/fact.css.d.ts +1 -0
- package/dist/src/components/fact/fact.css.js +2 -0
- package/dist/src/components/fact/fact.css.js.map +1 -0
- package/dist/src/components/fact/fact.d.ts +37 -0
- package/dist/src/components/fact/fact.js +2 -0
- package/dist/src/components/fact/fact.js.map +1 -0
- package/dist/src/components/feature-columns/feature-columns.css.d.ts +2 -0
- package/dist/src/components/feature-columns/feature-columns.css.js +2 -0
- package/dist/src/components/feature-columns/feature-columns.css.js.map +1 -0
- package/dist/src/components/feature-columns/feature-columns.d.ts +61 -0
- package/dist/src/components/feature-columns/feature-columns.js +11 -0
- package/dist/src/components/feature-columns/feature-columns.js.map +1 -0
- package/dist/src/components/features-tab/features-tab.css.js +1 -1
- package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.d.ts +21 -6
- package/dist/src/components/features-tab/features-tab.js +9 -21
- package/dist/src/components/features-tab/features-tab.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.d.ts +16 -1
- package/dist/src/components/fieldset/fieldset.js +3 -3
- package/dist/src/components/fieldset/fieldset.js.map +1 -1
- package/dist/src/components/footer/footer-group.css.js +2 -0
- package/dist/src/components/footer/footer-group.css.js.map +1 -0
- package/dist/src/components/footer/footer-group.d.ts +28 -0
- package/dist/src/components/footer/footer-group.js +5 -0
- package/dist/src/components/footer/footer-group.js.map +1 -0
- package/dist/src/components/footer/footer-locale.js +1 -1
- package/dist/src/components/footer/footer-locale.js.map +1 -1
- package/dist/src/components/footer/footer-nav.css.js +2 -0
- package/dist/src/components/footer/footer-nav.css.js.map +1 -0
- package/dist/src/components/footer/{footer-nav-menu.d.ts → footer-nav.d.ts} +2 -1
- package/dist/src/components/footer/footer-nav.js +6 -0
- package/dist/src/components/footer/footer-nav.js.map +1 -0
- package/dist/src/components/footer/footer.css.js +1 -1
- package/dist/src/components/footer/footer.css.js.map +1 -1
- package/dist/src/components/footer/footer.d.ts +38 -10
- package/dist/src/components/footer/footer.js +71 -93
- package/dist/src/components/footer/footer.js.map +1 -1
- package/dist/src/components/grid/grid.js +7 -7
- package/dist/src/components/h/h.css.js +2 -0
- package/dist/src/components/h/h.css.js.map +1 -0
- package/dist/src/components/{heading/heading.d.ts → h/h.d.ts} +14 -0
- package/dist/src/components/h/h.js +7 -0
- package/dist/src/components/h/h.js.map +1 -0
- package/dist/src/components/hero/hero.css.js +1 -1
- package/dist/src/components/hero/hero.css.js.map +1 -1
- package/dist/src/components/hero/hero.d.ts +42 -24
- package/dist/src/components/hero/hero.js +15 -19
- package/dist/src/components/hero/hero.js.map +1 -1
- package/dist/src/components/highlight/highlight.css.js +1 -1
- package/dist/src/components/highlight/highlight.css.js.map +1 -1
- package/dist/src/components/highlight/highlight.d.ts +21 -12
- package/dist/src/components/highlight/highlight.js +1 -4
- package/dist/src/components/highlight/highlight.js.map +1 -1
- package/dist/src/components/hint/hint.css.d.ts +3 -0
- package/dist/src/components/{help-text/help-text.css.js → hint/hint.css.js} +2 -2
- package/dist/src/components/hint/hint.css.js.map +1 -0
- package/dist/src/components/hint/hint.d.ts +33 -0
- package/dist/src/components/hint/hint.js +4 -0
- package/dist/src/components/hint/hint.js.map +1 -0
- package/dist/src/components/icons/analysis.d.ts +1 -0
- package/dist/src/components/icons/analysis.js +6 -0
- package/dist/src/components/icons/analysis.js.map +1 -0
- package/dist/src/components/icons/arrow-down.d.ts +1 -0
- package/dist/src/components/icons/arrow-down.js +6 -0
- package/dist/src/components/icons/arrow-down.js.map +1 -0
- package/dist/src/components/icons/arrow-right.d.ts +1 -0
- package/dist/src/components/icons/arrow-right.js +6 -0
- package/dist/src/components/icons/arrow-right.js.map +1 -0
- package/dist/src/components/icons/arrow-up.d.ts +1 -0
- package/dist/src/components/icons/arrow-up.js +6 -0
- package/dist/src/components/icons/arrow-up.js.map +1 -0
- package/dist/src/components/icons/arrow.d.ts +1 -0
- package/dist/src/components/icons/arrow.js +6 -0
- package/dist/src/components/icons/arrow.js.map +1 -0
- package/dist/src/components/icons/brand-signature.d.ts +1 -0
- package/dist/src/components/icons/brand-signature.js +6 -0
- package/dist/src/components/icons/brand-signature.js.map +1 -0
- package/dist/src/components/icons/check.d.ts +1 -0
- package/dist/src/components/icons/check.js +6 -0
- package/dist/src/components/icons/check.js.map +1 -0
- package/dist/src/components/icons/circle-info.d.ts +1 -0
- package/dist/src/components/icons/circle-info.js +8 -0
- package/dist/src/components/icons/circle-info.js.map +1 -0
- package/dist/src/components/icons/clipboard.d.ts +1 -0
- package/dist/src/components/icons/clipboard.js +7 -0
- package/dist/src/components/icons/clipboard.js.map +1 -0
- package/dist/src/components/icons/close.d.ts +1 -0
- package/dist/src/components/icons/close.js +6 -0
- package/dist/src/components/icons/close.js.map +1 -0
- package/dist/src/components/icons/enterprise.d.ts +1 -0
- package/dist/src/components/icons/enterprise.js +6 -0
- package/dist/src/components/icons/enterprise.js.map +1 -0
- package/dist/src/components/icons/envelope.d.ts +1 -0
- package/dist/src/components/icons/envelope.js +7 -0
- package/dist/src/components/icons/envelope.js.map +1 -0
- package/dist/src/components/icons/family.d.ts +1 -0
- package/dist/src/components/icons/family.js +8 -0
- package/dist/src/components/icons/family.js.map +1 -0
- package/dist/src/components/icons/globe.d.ts +1 -0
- package/dist/src/components/icons/globe.js +6 -0
- package/dist/src/components/icons/globe.js.map +1 -0
- package/dist/src/components/icons/guide.d.ts +1 -0
- package/dist/src/components/icons/guide.js +6 -0
- package/dist/src/components/icons/guide.js.map +1 -0
- package/dist/src/components/icons/home.d.ts +1 -0
- package/dist/src/components/icons/home.js +6 -0
- package/dist/src/components/icons/home.js.map +1 -0
- package/dist/src/components/icons/icon.d.ts +60 -0
- package/dist/src/components/icons/icon.js +2 -0
- package/dist/src/components/icons/icon.js.map +1 -0
- package/dist/src/components/icons/icons.d.ts +43 -36
- package/dist/src/components/icons/icons.js +1 -1
- package/dist/src/components/icons/individual.d.ts +1 -0
- package/dist/src/components/icons/individual.js +6 -0
- package/dist/src/components/icons/individual.js.map +1 -0
- package/dist/src/components/icons/laurel.d.ts +1 -0
- package/dist/src/components/icons/laurel.js +13 -0
- package/dist/src/components/icons/laurel.js.map +1 -0
- package/dist/src/components/icons/machine-learning.d.ts +1 -0
- package/dist/src/components/icons/machine-learning.js +6 -0
- package/dist/src/components/icons/machine-learning.js.map +1 -0
- package/dist/src/components/icons/mark.d.ts +66 -0
- package/dist/src/components/icons/mark.js +2 -0
- package/dist/src/components/icons/mark.js.map +1 -0
- package/dist/src/components/icons/marks/ai.d.ts +1 -0
- package/dist/src/components/icons/marks/ai.js +6 -0
- package/dist/src/components/icons/marks/ai.js.map +1 -0
- package/dist/src/components/icons/marks/av-comparatives.d.ts +1 -0
- package/dist/src/components/icons/marks/av-comparatives.js +12 -0
- package/dist/src/components/icons/marks/av-comparatives.js.map +1 -0
- package/dist/src/components/icons/marks/best-brands.d.ts +1 -0
- package/dist/src/components/icons/marks/best-brands.js +12 -0
- package/dist/src/components/icons/marks/best-brands.js.map +1 -0
- package/dist/src/components/icons/marks/pc-mag-2024.d.ts +1 -0
- package/dist/src/components/icons/marks/pc-mag-2024.js +11 -0
- package/dist/src/components/icons/marks/pc-mag-2024.js.map +1 -0
- package/dist/src/components/icons/marks/pc-mag-business.d.ts +1 -0
- package/dist/src/components/icons/marks/pc-mag-business.js +11 -0
- package/dist/src/components/icons/marks/pc-mag-business.js.map +1 -0
- package/dist/src/components/icons/marks/pc-mag-readers.d.ts +1 -0
- package/dist/src/components/icons/marks/pc-mag-readers.js +11 -0
- package/dist/src/components/icons/marks/pc-mag-readers.js.map +1 -0
- package/dist/src/components/icons/marks/pc-mag.d.ts +1 -0
- package/dist/src/components/icons/marks/pc-mag.js +11 -0
- package/dist/src/components/icons/marks/pc-mag.js.map +1 -0
- package/dist/src/components/icons/marks/top-product.d.ts +1 -0
- package/dist/src/components/icons/marks/top-product.js +11 -0
- package/dist/src/components/icons/marks/top-product.js.map +1 -0
- package/dist/src/components/icons/marks.d.ts +29 -28
- package/dist/src/components/icons/marks.js +1 -1
- package/dist/src/components/icons/minus.d.ts +1 -0
- package/dist/src/components/icons/minus.js +6 -0
- package/dist/src/components/icons/minus.js.map +1 -0
- package/dist/src/components/icons/pause.d.ts +1 -0
- package/dist/src/components/icons/pause.js +7 -0
- package/dist/src/components/icons/pause.js.map +1 -0
- package/dist/src/components/icons/play.d.ts +1 -0
- package/dist/src/components/icons/play.js +6 -0
- package/dist/src/components/icons/play.js.map +1 -0
- package/dist/src/components/icons/plus.d.ts +1 -0
- package/dist/src/components/icons/plus.js +6 -0
- package/dist/src/components/icons/plus.js.map +1 -0
- package/dist/src/components/icons/quote.d.ts +1 -0
- package/dist/src/components/icons/quote.js +6 -0
- package/dist/src/components/icons/quote.js.map +1 -0
- package/dist/src/components/icons/registry.d.ts +122 -0
- package/dist/src/components/icons/registry.js +4 -0
- package/dist/src/components/icons/registry.js.map +1 -0
- package/dist/src/components/icons/small-business.d.ts +1 -0
- package/dist/src/components/icons/small-business.js +6 -0
- package/dist/src/components/icons/small-business.js.map +1 -0
- package/dist/src/components/{image/image.css.js → img/img.css.js} +1 -1
- package/dist/src/components/img/img.css.js.map +1 -0
- package/dist/src/components/{image/image.d.ts → img/img.d.ts} +2 -2
- package/dist/src/components/img/img.js +17 -0
- package/dist/src/components/img/img.js.map +1 -0
- package/dist/src/components/input/input.css.d.ts +7 -5
- package/dist/src/components/input/input.css.js +1 -1
- package/dist/src/components/input/input.css.js.map +1 -1
- package/dist/src/components/input/input.d.ts +34 -12
- package/dist/src/components/input/input.js +30 -29
- package/dist/src/components/input/input.js.map +1 -1
- package/dist/src/components/install-options/install-option.css.js +2 -0
- package/dist/src/components/install-options/install-option.css.js.map +1 -0
- package/dist/src/components/install-options/install-option.d.ts +57 -0
- package/dist/src/components/install-options/install-option.js +29 -0
- package/dist/src/components/install-options/install-option.js.map +1 -0
- package/dist/src/components/install-options/install-options.css.js +1 -1
- package/dist/src/components/install-options/install-options.css.js.map +1 -1
- package/dist/src/components/install-options/install-options.d.ts +42 -31
- package/dist/src/components/install-options/install-options.js +42 -85
- package/dist/src/components/install-options/install-options.js.map +1 -1
- package/dist/src/components/key-takeaways/key-takeaways.css.d.ts +9 -0
- package/dist/src/components/key-takeaways/key-takeaways.css.js +2 -0
- package/dist/src/components/key-takeaways/key-takeaways.css.js.map +1 -0
- package/dist/src/components/key-takeaways/key-takeaways.d.ts +35 -0
- package/dist/src/components/key-takeaways/key-takeaways.js +10 -0
- package/dist/src/components/key-takeaways/key-takeaways.js.map +1 -0
- package/dist/src/components/label/label.js +3 -3
- package/dist/src/components/label/label.js.map +1 -1
- package/dist/src/components/link/link.css.js +1 -1
- package/dist/src/components/link/link.css.js.map +1 -1
- package/dist/src/components/link/link.d.ts +25 -16
- package/dist/src/components/link/link.js +3 -3
- package/dist/src/components/link/link.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.css.js +1 -1
- package/dist/src/components/list/list-item/list-item.css.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.d.ts +9 -7
- package/dist/src/components/list/list-item/list-item.js +3 -3
- package/dist/src/components/list/list-item/list-item.js.map +1 -1
- package/dist/src/components/list/list.d.ts +3 -2
- package/dist/src/components/list/list.js +2 -2
- package/dist/src/components/list/list.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.d.ts +2 -2
- package/dist/src/components/logo-marquee/logo-marquee.js +6 -8
- package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
- package/dist/src/components/meta/meta.css.d.ts +8 -0
- package/dist/src/components/meta/meta.css.js +2 -0
- package/dist/src/components/meta/meta.css.js.map +1 -0
- package/dist/src/components/meta/meta.d.ts +37 -0
- package/dist/src/components/meta/meta.js +2 -0
- package/dist/src/components/meta/meta.js.map +1 -0
- package/dist/src/components/motion-art/motion-art.d.ts +39 -2
- package/dist/src/components/motion-art/motion-art.js +1 -1
- package/dist/src/components/motion-art/motion-art.js.map +1 -1
- package/dist/src/components/newsletter-signup/newsletter-signup.css.js +2 -0
- package/dist/src/components/newsletter-signup/newsletter-signup.css.js.map +1 -0
- package/dist/src/components/newsletter-signup/newsletter-signup.d.ts +97 -0
- package/dist/src/components/newsletter-signup/newsletter-signup.js +37 -0
- package/dist/src/components/newsletter-signup/newsletter-signup.js.map +1 -0
- package/dist/src/components/overview/overview.css.js +1 -1
- package/dist/src/components/overview/overview.css.js.map +1 -1
- package/dist/src/components/overview/overview.d.ts +23 -12
- package/dist/src/components/overview/overview.js +9 -24
- package/dist/src/components/overview/overview.js.map +1 -1
- package/dist/src/components/p/p.css.js +2 -0
- package/dist/src/components/p/p.css.js.map +1 -0
- package/dist/src/components/{paragraph/paragraph.d.ts → p/p.d.ts} +3 -5
- package/dist/src/components/p/p.js +6 -0
- package/dist/src/components/p/p.js.map +1 -0
- package/dist/src/components/page-switcher/page-switcher.css.js +1 -1
- package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.d.ts +28 -28
- package/dist/src/components/page-switcher/page-switcher.js +5 -13
- package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.d.ts +4 -2
- package/dist/src/components/pagination-dots/pagination-dots.js +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.css.js +1 -1
- package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.d.ts +44 -21
- package/dist/src/components/partner-banner/partner-banner.js +11 -11
- package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
- package/dist/src/components/paste-button/paste-button.css.d.ts +10 -0
- package/dist/src/components/paste-button/paste-button.css.js +2 -0
- package/dist/src/components/paste-button/paste-button.css.js.map +1 -0
- package/dist/src/components/paste-button/paste-button.d.ts +68 -0
- package/dist/src/components/paste-button/paste-button.js +17 -0
- package/dist/src/components/paste-button/paste-button.js.map +1 -0
- package/dist/src/components/picture/picture.js +3 -3
- package/dist/src/components/picture/picture.js.map +1 -1
- package/dist/src/components/post-card/post-card.css.js +1 -1
- package/dist/src/components/post-card/post-card.css.js.map +1 -1
- package/dist/src/components/post-card/post-card.d.ts +65 -24
- package/dist/src/components/post-card/post-card.js +13 -9
- package/dist/src/components/post-card/post-card.js.map +1 -1
- package/dist/src/components/pricing-card/pricing-card.css.js +2 -0
- package/dist/src/components/pricing-card/pricing-card.css.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-card.d.ts +80 -0
- package/dist/src/components/pricing-card/pricing-card.js +16 -0
- package/dist/src/components/pricing-card/pricing-card.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-feature-group.css.js +2 -0
- package/dist/src/components/pricing-card/pricing-feature-group.css.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-feature-group.d.ts +50 -0
- package/dist/src/components/pricing-card/pricing-feature-group.js +7 -0
- package/dist/src/components/pricing-card/pricing-feature-group.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-feature.css.js +2 -0
- package/dist/src/components/pricing-card/pricing-feature.css.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-feature.d.ts +64 -0
- package/dist/src/components/pricing-card/pricing-feature.js +19 -0
- package/dist/src/components/pricing-card/pricing-feature.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-group.css.d.ts +3 -0
- package/dist/src/components/pricing-card/pricing-group.css.js +2 -0
- package/dist/src/components/pricing-card/pricing-group.css.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-group.d.ts +48 -0
- package/dist/src/components/pricing-card/pricing-group.js +6 -0
- package/dist/src/components/pricing-card/pricing-group.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-price.css.js +2 -0
- package/dist/src/components/pricing-card/pricing-price.css.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-price.d.ts +56 -0
- package/dist/src/components/pricing-card/pricing-price.js +11 -0
- package/dist/src/components/pricing-card/pricing-price.js.map +1 -0
- package/dist/src/components/process-steps/process-step.css.js +2 -0
- package/dist/src/components/process-steps/process-step.css.js.map +1 -0
- package/dist/src/components/process-steps/process-step.d.ts +31 -0
- package/dist/src/components/process-steps/process-step.js +6 -0
- package/dist/src/components/process-steps/process-step.js.map +1 -0
- package/dist/src/components/process-steps/process-steps.css.js +1 -1
- package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.d.ts +36 -19
- package/dist/src/components/process-steps/process-steps.js +5 -26
- package/dist/src/components/process-steps/process-steps.js.map +1 -1
- package/dist/src/components/product-hero/product-hero.css.js +2 -0
- package/dist/src/components/product-hero/product-hero.css.js.map +1 -0
- package/dist/src/components/product-hero/product-hero.d.ts +71 -0
- package/dist/src/components/product-hero/product-hero.js +123 -0
- package/dist/src/components/product-hero/product-hero.js.map +1 -0
- package/dist/src/components/product-upsell/product-upsell.css.js +2 -0
- package/dist/src/components/product-upsell/product-upsell.css.js.map +1 -0
- package/dist/src/components/product-upsell/product-upsell.d.ts +49 -0
- package/dist/src/components/product-upsell/product-upsell.js +14 -0
- package/dist/src/components/product-upsell/product-upsell.js.map +1 -0
- package/dist/src/components/progress-bar/progress-bar.css.d.ts +3 -0
- package/dist/src/components/progress-bar/progress-bar.css.js +2 -0
- package/dist/src/components/progress-bar/progress-bar.css.js.map +1 -0
- package/dist/src/components/progress-bar/progress-bar.d.ts +27 -0
- package/dist/src/components/progress-bar/progress-bar.js +15 -0
- package/dist/src/components/progress-bar/progress-bar.js.map +1 -0
- package/dist/src/components/quick-answer/quick-answer.css.js +1 -1
- package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.d.ts +25 -12
- package/dist/src/components/quick-answer/quick-answer.js +13 -29
- package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
- package/dist/src/components/radio/radio-group.css.js +1 -1
- package/dist/src/components/radio/radio-group.css.js.map +1 -1
- package/dist/src/components/radio/radio-group.d.ts +9 -5
- package/dist/src/components/radio/radio-group.js +5 -5
- package/dist/src/components/radio/radio-group.js.map +1 -1
- package/dist/src/components/radio/radio.css.d.ts +2 -1
- package/dist/src/components/radio/radio.css.js.map +1 -1
- package/dist/src/components/radio/radio.d.ts +8 -2
- package/dist/src/components/radio/radio.js +6 -5
- package/dist/src/components/radio/radio.js.map +1 -1
- package/dist/src/components/related-articles/related-articles.css.js +2 -0
- package/dist/src/components/related-articles/related-articles.css.js.map +1 -0
- package/dist/src/components/related-articles/related-articles.d.ts +52 -0
- package/dist/src/components/related-articles/related-articles.js +9 -0
- package/dist/src/components/related-articles/related-articles.js.map +1 -0
- package/dist/src/components/report-promo/report-promo.css.js +2 -0
- package/dist/src/components/report-promo/report-promo.css.js.map +1 -0
- package/dist/src/components/report-promo/report-promo.d.ts +70 -0
- package/dist/src/components/report-promo/report-promo.js +19 -0
- package/dist/src/components/report-promo/report-promo.js.map +1 -0
- package/dist/src/components/review/review-grid.css.js +1 -1
- package/dist/src/components/review/review-grid.css.js.map +1 -1
- package/dist/src/components/review/review-grid.d.ts +27 -6
- package/dist/src/components/review/review-grid.js +7 -7
- package/dist/src/components/review/review-grid.js.map +1 -1
- package/dist/src/components/review/review.css.js +1 -1
- package/dist/src/components/review/review.css.js.map +1 -1
- package/dist/src/components/review/review.d.ts +24 -17
- package/dist/src/components/review/review.js +7 -11
- package/dist/src/components/review/review.js.map +1 -1
- package/dist/src/components/section/section.css.js +1 -1
- package/dist/src/components/section/section.css.js.map +1 -1
- package/dist/src/components/section/section.d.ts +8 -6
- package/dist/src/components/section/section.js +1 -1
- package/dist/src/components/section/section.js.map +1 -1
- package/dist/src/components/section-header/section-header.css.js +1 -1
- package/dist/src/components/section-header/section-header.css.js.map +1 -1
- package/dist/src/components/section-header/section-header.d.ts +22 -23
- package/dist/src/components/section-header/section-header.js +6 -8
- package/dist/src/components/section-header/section-header.js.map +1 -1
- package/dist/src/components/select/select-option.d.ts +29 -0
- package/dist/src/components/select/select-option.js +2 -0
- package/dist/src/components/select/select-option.js.map +1 -0
- package/dist/src/components/{dropdown/dropdown.css.js → select/select.css.js} +1 -1
- package/dist/src/components/select/select.css.js.map +1 -0
- package/dist/src/components/select/select.d.ts +78 -0
- package/dist/src/components/select/select.js +35 -0
- package/dist/src/components/select/select.js.map +1 -0
- package/dist/src/components/shared/adopt-styles.d.ts +53 -0
- package/dist/src/components/shared/adopt-styles.js +2 -0
- package/dist/src/components/shared/adopt-styles.js.map +1 -0
- package/dist/src/components/shared/controller.slot.d.ts +65 -0
- package/dist/src/components/shared/controller.slot.js +2 -0
- package/dist/src/components/shared/controller.slot.js.map +1 -0
- package/dist/src/components/shared/events.d.ts +19 -23
- package/dist/src/components/shared/fill-width.css.js.map +1 -1
- package/dist/src/components/shared/flat-text.d.ts +15 -0
- package/dist/src/components/shared/flat-text.js +2 -0
- package/dist/src/components/shared/flat-text.js.map +1 -0
- package/dist/src/components/shared/form-control.d.ts +27 -3
- package/dist/src/components/shared/form-control.js +11 -1
- package/dist/src/components/shared/form-control.js.map +1 -1
- package/dist/src/components/shared/form-field.css.d.ts +5 -5
- package/dist/src/components/shared/form-field.css.js +1 -1
- package/dist/src/components/shared/form-field.css.js.map +1 -1
- package/dist/src/components/shared/hold.d.ts +14 -0
- package/dist/src/components/shared/hold.js +2 -0
- package/dist/src/components/shared/hold.js.map +1 -0
- package/dist/src/components/shared/prop-vocabulary.d.ts +81 -20
- package/dist/src/components/shared/prop-vocabulary.js +1 -1
- package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
- package/dist/src/components/shared/tablist.d.ts +31 -0
- package/dist/src/components/shared/tablist.js +2 -0
- package/dist/src/components/shared/tablist.js.map +1 -0
- package/dist/src/components/shared/token-scales.d.ts +30 -4
- package/dist/src/components/shared/token-scales.js +1 -1
- package/dist/src/components/shared/token-scales.js.map +1 -1
- package/dist/src/components/spinner/spinner.css.js.map +1 -1
- package/dist/src/components/spinner/spinner.js +2 -2
- package/dist/src/components/spinner/spinner.js.map +1 -1
- package/dist/src/components/spotlight/spotlight.css.js +2 -0
- package/dist/src/components/spotlight/spotlight.css.js.map +1 -0
- package/dist/src/components/spotlight/spotlight.d.ts +31 -0
- package/dist/src/components/spotlight/spotlight.js +18 -0
- package/dist/src/components/spotlight/spotlight.js.map +1 -0
- package/dist/src/components/stat/stat-highlight.d.ts +1 -1
- package/dist/src/components/stat/stat.css.d.ts +1 -1
- package/dist/src/components/stat/stat.css.js +1 -1
- package/dist/src/components/stat/stat.css.js.map +1 -1
- package/dist/src/components/stat/stat.d.ts +41 -1
- package/dist/src/components/stat/stat.js +12 -1
- package/dist/src/components/stat/stat.js.map +1 -0
- package/dist/src/components/switch/switch.css.js +1 -1
- package/dist/src/components/switch/switch.css.js.map +1 -1
- package/dist/src/components/switch/switch.d.ts +10 -2
- package/dist/src/components/switch/switch.js +5 -4
- package/dist/src/components/switch/switch.js.map +1 -1
- package/dist/src/components/tab-group/tab-group.css.js +2 -0
- package/dist/src/components/tab-group/tab-group.css.js.map +1 -0
- package/dist/src/components/tab-group/tab-group.d.ts +172 -0
- package/dist/src/components/tab-group/tab-group.js +16 -0
- package/dist/src/components/tab-group/tab-group.js.map +1 -0
- package/dist/src/components/tab-group/tab-panel.d.ts +30 -0
- package/dist/src/components/tab-group/tab-panel.js +2 -0
- package/dist/src/components/tab-group/tab-panel.js.map +1 -0
- package/dist/src/components/tab-group/tab.css.js +2 -0
- package/dist/src/components/tab-group/tab.css.js.map +1 -0
- package/dist/src/components/tab-group/tab.d.ts +53 -0
- package/dist/src/components/tab-group/tab.js +2 -0
- package/dist/src/components/tab-group/tab.js.map +1 -0
- package/dist/src/components/table-of-contents/reading-line.d.ts +24 -0
- package/dist/src/components/table-of-contents/reading-line.js +2 -0
- package/dist/src/components/table-of-contents/reading-line.js.map +1 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.css.d.ts +7 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.css.js +2 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.css.js.map +1 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.d.ts +40 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.js +2 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.js.map +1 -0
- package/dist/src/components/table-of-contents/table-of-contents.css.d.ts +10 -0
- package/dist/src/components/table-of-contents/table-of-contents.css.js +2 -0
- package/dist/src/components/table-of-contents/table-of-contents.css.js.map +1 -0
- package/dist/src/components/table-of-contents/table-of-contents.d.ts +116 -0
- package/dist/src/components/table-of-contents/table-of-contents.js +24 -0
- package/dist/src/components/table-of-contents/table-of-contents.js.map +1 -0
- package/dist/src/components/tag/tag.css.js +1 -1
- package/dist/src/components/tag/tag.css.js.map +1 -1
- package/dist/src/components/tag/tag.d.ts +31 -4
- package/dist/src/components/tag/tag.js +1 -3
- package/dist/src/components/tag/tag.js.map +1 -1
- package/dist/src/components/terminal/terminal-cursor.d.ts +2 -3
- package/dist/src/components/terminal/terminal-cursor.js +1 -1
- package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
- package/dist/src/components/terminal/terminal-line.css.d.ts +2 -0
- package/dist/src/components/terminal/terminal-line.css.js +2 -0
- package/dist/src/components/terminal/terminal-line.css.js.map +1 -0
- package/dist/src/components/terminal/terminal-line.d.ts +42 -0
- package/dist/src/components/terminal/terminal-line.js +8 -0
- package/dist/src/components/terminal/terminal-line.js.map +1 -0
- package/dist/src/components/terminal/terminal.css.d.ts +2 -0
- package/dist/src/components/terminal/terminal.css.js +2 -0
- package/dist/src/components/terminal/terminal.css.js.map +1 -0
- package/dist/src/components/terminal/terminal.d.ts +52 -0
- package/dist/src/components/terminal/terminal.js +19 -0
- package/dist/src/components/terminal/terminal.js.map +1 -0
- package/dist/src/components/terminal-hero/terminal-hero.css.d.ts +2 -0
- package/dist/src/components/terminal-hero/terminal-hero.css.js +2 -0
- package/dist/src/components/terminal-hero/terminal-hero.css.js.map +1 -0
- package/dist/src/components/terminal-hero/terminal-hero.d.ts +62 -0
- package/dist/src/components/terminal-hero/terminal-hero.js +48 -0
- package/dist/src/components/terminal-hero/terminal-hero.js.map +1 -0
- package/dist/src/components/terms/terms.css.d.ts +2 -0
- package/dist/src/components/terms/terms.css.js +2 -0
- package/dist/src/components/terms/terms.css.js.map +1 -0
- package/dist/src/components/terms/terms.d.ts +42 -0
- package/dist/src/components/terms/terms.js +9 -0
- package/dist/src/components/terms/terms.js.map +1 -0
- package/dist/src/components/textarea/textarea.css.d.ts +2 -2
- package/dist/src/components/textarea/textarea.css.js.map +1 -1
- package/dist/src/components/textarea/textarea.d.ts +15 -6
- package/dist/src/components/textarea/textarea.js +13 -17
- package/dist/src/components/textarea/textarea.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.d.ts +25 -4
- package/dist/src/components/tooltip/tooltip.js +5 -8
- package/dist/src/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/components/trust-panel/trust-card.css.d.ts +2 -0
- package/dist/src/components/trust-panel/trust-card.css.js +2 -0
- package/dist/src/components/trust-panel/trust-card.css.js.map +1 -0
- package/dist/src/components/trust-panel/trust-card.d.ts +31 -0
- package/dist/src/components/trust-panel/trust-card.js +10 -0
- package/dist/src/components/trust-panel/trust-card.js.map +1 -0
- package/dist/src/components/trust-panel/trust-panel.css.js +1 -1
- package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.d.ts +28 -25
- package/dist/src/components/trust-panel/trust-panel.js +10 -57
- package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
- package/dist/src/components/video/video.js +1 -1
- package/dist/src/components/video/video.js.map +1 -1
- package/dist/src/components/video-player/video-player.d.ts +25 -3
- package/dist/src/components/video-player/video-player.js +7 -7
- package/dist/src/components/video-player/video-player.js.map +1 -1
- package/dist/src/loader/create-loader.d.ts +13 -2
- package/dist/src/loader/create-loader.js +1 -1
- package/dist/src/loader/create-loader.js.map +1 -1
- package/dist/src/loader/loader.d.ts +7 -4
- package/dist/src/loader/loader.js.map +1 -1
- package/dist/src/loader/registry.js +1 -1
- package/dist/src/loader/registry.js.map +1 -1
- package/dist/src/tokens/fonts.css +1 -1
- package/dist/src/tokens/layout.css +1 -1
- package/dist/src/tokens/scheme-layer.d.ts +55 -0
- package/dist/src/tokens/scheme-layer.js +5 -0
- package/dist/src/tokens/scheme-layer.js.map +1 -0
- package/dist/src/tokens/themes/dark.d.ts +64 -0
- package/dist/src/tokens/themes/dark.js +2 -0
- package/dist/src/tokens/themes/dark.js.map +1 -0
- package/dist/src/tokens/tokens.css +1 -1
- package/dist/src/tokens/tokens.d.ts +4 -25
- package/dist/src/tokens/tokens.js +1 -1
- package/dist/src/tokens/tokens.js.map +1 -1
- package/dist/src/vendor/prism/LICENSE +21 -0
- package/dist/src/vendor/prism/README.md +65 -0
- package/dist/src/vendor/prism/prism.d.ts +7 -0
- package/dist/src/vendor/prism/prism.js +13 -0
- package/package.json +163 -105
- package/schemas/README.md +55 -1
- package/schemas/component-manifest.json +4546 -3215
- package/schemas/figma-component-map.json +3247 -0
- package/schemas/manifest-omissions.json +1 -26
- package/schemas/page-schema.json +28 -1
- package/dist/src/components/accordion/accordion-bg.css.js +0 -2
- package/dist/src/components/accordion/accordion-bg.css.js.map +0 -1
- package/dist/src/components/accordion/accordion-bg.d.ts +0 -52
- package/dist/src/components/accordion/accordion-bg.js +0 -76
- package/dist/src/components/accordion/accordion-bg.js.map +0 -1
- package/dist/src/components/alert/alert.css.js +0 -2
- package/dist/src/components/alert/alert.css.js.map +0 -1
- package/dist/src/components/alert/alert.d.ts +0 -55
- package/dist/src/components/alert/alert.js +0 -28
- package/dist/src/components/alert/alert.js.map +0 -1
- package/dist/src/components/anchor/anchor-nav.css.js +0 -2
- package/dist/src/components/anchor/anchor-nav.css.js.map +0 -1
- package/dist/src/components/anchor/anchor-nav.js +0 -67
- package/dist/src/components/anchor/anchor-nav.js.map +0 -1
- package/dist/src/components/awards/awards-flex.css.d.ts +0 -1
- package/dist/src/components/awards/awards-flex.css.js +0 -2
- package/dist/src/components/awards/awards-flex.css.js.map +0 -1
- package/dist/src/components/awards/awards-flex.d.ts +0 -65
- package/dist/src/components/awards/awards-flex.js +0 -68
- package/dist/src/components/awards/awards-flex.js.map +0 -1
- package/dist/src/components/awards/awards-spotlight.css.d.ts +0 -1
- package/dist/src/components/awards/awards-spotlight.css.js +0 -2
- package/dist/src/components/awards/awards-spotlight.css.js.map +0 -1
- package/dist/src/components/awards/awards-spotlight.d.ts +0 -60
- package/dist/src/components/awards/awards-spotlight.js +0 -51
- package/dist/src/components/awards/awards-spotlight.js.map +0 -1
- package/dist/src/components/card-features/card-features.css.js +0 -2
- package/dist/src/components/card-features/card-features.css.js.map +0 -1
- package/dist/src/components/card-features/card-features.d.ts +0 -43
- package/dist/src/components/card-features/card-features.js +0 -37
- package/dist/src/components/card-features/card-features.js.map +0 -1
- package/dist/src/components/cards/card.css.js +0 -2
- package/dist/src/components/cards/card.css.js.map +0 -1
- package/dist/src/components/cards/card.d.ts +0 -61
- package/dist/src/components/cards/card.js +0 -54
- package/dist/src/components/cards/card.js.map +0 -1
- package/dist/src/components/compare/compare.css.js +0 -2
- package/dist/src/components/compare/compare.css.js.map +0 -1
- package/dist/src/components/compare/compare.d.ts +0 -79
- package/dist/src/components/compare/compare.js +0 -122
- package/dist/src/components/compare/compare.js.map +0 -1
- package/dist/src/components/divider/divider-horizontal.d.ts +0 -15
- package/dist/src/components/divider/divider-horizontal.js +0 -11
- package/dist/src/components/divider/divider-horizontal.js.map +0 -1
- package/dist/src/components/divider/divider-vertical.d.ts +0 -16
- package/dist/src/components/divider/divider-vertical.js +0 -12
- package/dist/src/components/divider/divider-vertical.js.map +0 -1
- package/dist/src/components/dropdown/dropdown.css.js.map +0 -1
- package/dist/src/components/dropdown/dropdown.d.ts +0 -49
- package/dist/src/components/dropdown/dropdown.js +0 -36
- package/dist/src/components/dropdown/dropdown.js.map +0 -1
- package/dist/src/components/features/features.css.js +0 -2
- package/dist/src/components/features/features.css.js.map +0 -1
- package/dist/src/components/features/features.d.ts +0 -21
- package/dist/src/components/features/features.js +0 -28
- package/dist/src/components/features/features.js.map +0 -1
- package/dist/src/components/footer/footer-images.d.ts +0 -3
- package/dist/src/components/footer/footer-images.js +0 -9
- package/dist/src/components/footer/footer-images.js.map +0 -1
- package/dist/src/components/footer/footer-links-group.css.js +0 -2
- package/dist/src/components/footer/footer-links-group.css.js.map +0 -1
- package/dist/src/components/footer/footer-links-group.d.ts +0 -13
- package/dist/src/components/footer/footer-links-group.js +0 -5
- package/dist/src/components/footer/footer-links-group.js.map +0 -1
- package/dist/src/components/footer/footer-lp.d.ts +0 -26
- package/dist/src/components/footer/footer-lp.js +0 -45
- package/dist/src/components/footer/footer-lp.js.map +0 -1
- package/dist/src/components/footer/footer-nav-menu.css.js +0 -2
- package/dist/src/components/footer/footer-nav-menu.css.js.map +0 -1
- package/dist/src/components/footer/footer-nav-menu.js +0 -6
- package/dist/src/components/footer/footer-nav-menu.js.map +0 -1
- package/dist/src/components/header/header-code.css.js +0 -2
- package/dist/src/components/header/header-code.css.js.map +0 -1
- package/dist/src/components/header/header-code.d.ts +0 -50
- package/dist/src/components/header/header-code.js +0 -80
- package/dist/src/components/header/header-code.js.map +0 -1
- package/dist/src/components/header/header.css.js +0 -2
- package/dist/src/components/header/header.css.js.map +0 -1
- package/dist/src/components/header/header.d.ts +0 -32
- package/dist/src/components/header/header.js +0 -165
- package/dist/src/components/header/header.js.map +0 -1
- package/dist/src/components/heading/heading.css.js +0 -2
- package/dist/src/components/heading/heading.css.js.map +0 -1
- package/dist/src/components/heading/heading.js +0 -6
- package/dist/src/components/heading/heading.js.map +0 -1
- package/dist/src/components/help-text/help-text.css.d.ts +0 -3
- package/dist/src/components/help-text/help-text.css.js.map +0 -1
- package/dist/src/components/help-text/help-text.d.ts +0 -14
- package/dist/src/components/help-text/help-text.js +0 -4
- package/dist/src/components/help-text/help-text.js.map +0 -1
- package/dist/src/components/icons/analysis-icon.d.ts +0 -11
- package/dist/src/components/icons/analysis-icon.js +0 -6
- package/dist/src/components/icons/analysis-icon.js.map +0 -1
- package/dist/src/components/icons/arrow-down-icon.d.ts +0 -11
- package/dist/src/components/icons/arrow-down-icon.js +0 -6
- package/dist/src/components/icons/arrow-down-icon.js.map +0 -1
- package/dist/src/components/icons/arrow-icon.d.ts +0 -37
- package/dist/src/components/icons/arrow-icon.js +0 -6
- package/dist/src/components/icons/arrow-icon.js.map +0 -1
- package/dist/src/components/icons/arrow-right-icon.d.ts +0 -34
- package/dist/src/components/icons/arrow-right-icon.js +0 -6
- package/dist/src/components/icons/arrow-right-icon.js.map +0 -1
- package/dist/src/components/icons/arrow-up-icon.d.ts +0 -24
- package/dist/src/components/icons/arrow-up-icon.js +0 -6
- package/dist/src/components/icons/arrow-up-icon.js.map +0 -1
- package/dist/src/components/icons/av-comparatives-icon.d.ts +0 -13
- package/dist/src/components/icons/av-comparatives-icon.js +0 -13
- package/dist/src/components/icons/av-comparatives-icon.js.map +0 -1
- package/dist/src/components/icons/bd-ai-icon.d.ts +0 -13
- package/dist/src/components/icons/bd-ai-icon.js +0 -6
- package/dist/src/components/icons/bd-ai-icon.js.map +0 -1
- package/dist/src/components/icons/best-brands-icon.d.ts +0 -13
- package/dist/src/components/icons/best-brands-icon.js +0 -15
- package/dist/src/components/icons/best-brands-icon.js.map +0 -1
- package/dist/src/components/icons/brand-signature-icon.d.ts +0 -37
- package/dist/src/components/icons/brand-signature-icon.js +0 -6
- package/dist/src/components/icons/brand-signature-icon.js.map +0 -1
- package/dist/src/components/icons/check-icon.d.ts +0 -22
- package/dist/src/components/icons/check-icon.js +0 -6
- package/dist/src/components/icons/check-icon.js.map +0 -1
- package/dist/src/components/icons/circle-info-icon.d.ts +0 -26
- package/dist/src/components/icons/circle-info-icon.js +0 -8
- package/dist/src/components/icons/circle-info-icon.js.map +0 -1
- package/dist/src/components/icons/close-icon.d.ts +0 -11
- package/dist/src/components/icons/close-icon.js +0 -6
- package/dist/src/components/icons/close-icon.js.map +0 -1
- package/dist/src/components/icons/enterprise-icon.d.ts +0 -11
- package/dist/src/components/icons/enterprise-icon.js +0 -6
- package/dist/src/components/icons/enterprise-icon.js.map +0 -1
- package/dist/src/components/icons/family-icon.d.ts +0 -11
- package/dist/src/components/icons/family-icon.js +0 -8
- package/dist/src/components/icons/family-icon.js.map +0 -1
- package/dist/src/components/icons/globe-icon.d.ts +0 -11
- package/dist/src/components/icons/globe-icon.js +0 -6
- package/dist/src/components/icons/globe-icon.js.map +0 -1
- package/dist/src/components/icons/guide-icon.d.ts +0 -11
- package/dist/src/components/icons/guide-icon.js +0 -6
- package/dist/src/components/icons/guide-icon.js.map +0 -1
- package/dist/src/components/icons/home-icon.d.ts +0 -11
- package/dist/src/components/icons/home-icon.js +0 -6
- package/dist/src/components/icons/home-icon.js.map +0 -1
- package/dist/src/components/icons/icon-element.d.ts +0 -58
- package/dist/src/components/icons/icon-element.js +0 -2
- package/dist/src/components/icons/icon-element.js.map +0 -1
- package/dist/src/components/icons/individual-icon.d.ts +0 -11
- package/dist/src/components/icons/individual-icon.js +0 -6
- package/dist/src/components/icons/individual-icon.js.map +0 -1
- package/dist/src/components/icons/laurel-icon.d.ts +0 -11
- package/dist/src/components/icons/laurel-icon.js +0 -14
- package/dist/src/components/icons/laurel-icon.js.map +0 -1
- package/dist/src/components/icons/machine-learning-icon.d.ts +0 -11
- package/dist/src/components/icons/machine-learning-icon.js +0 -6
- package/dist/src/components/icons/machine-learning-icon.js.map +0 -1
- package/dist/src/components/icons/minus-icon.d.ts +0 -11
- package/dist/src/components/icons/minus-icon.js +0 -7
- package/dist/src/components/icons/minus-icon.js.map +0 -1
- package/dist/src/components/icons/missing-icon.d.ts +0 -41
- package/dist/src/components/icons/missing-icon.js +0 -8
- package/dist/src/components/icons/missing-icon.js.map +0 -1
- package/dist/src/components/icons/pause-icon.d.ts +0 -11
- package/dist/src/components/icons/pause-icon.js +0 -7
- package/dist/src/components/icons/pause-icon.js.map +0 -1
- package/dist/src/components/icons/pc-mag-2024-icon.d.ts +0 -13
- package/dist/src/components/icons/pc-mag-2024-icon.js +0 -14
- package/dist/src/components/icons/pc-mag-2024-icon.js.map +0 -1
- package/dist/src/components/icons/pc-mag-business-icon.d.ts +0 -13
- package/dist/src/components/icons/pc-mag-business-icon.js +0 -14
- package/dist/src/components/icons/pc-mag-business-icon.js.map +0 -1
- package/dist/src/components/icons/pc-mag-icon.d.ts +0 -13
- package/dist/src/components/icons/pc-mag-icon.js +0 -14
- package/dist/src/components/icons/pc-mag-icon.js.map +0 -1
- package/dist/src/components/icons/pc-mag-readers-icon.d.ts +0 -13
- package/dist/src/components/icons/pc-mag-readers-icon.js +0 -14
- package/dist/src/components/icons/pc-mag-readers-icon.js.map +0 -1
- package/dist/src/components/icons/play-icon.d.ts +0 -11
- package/dist/src/components/icons/play-icon.js +0 -6
- package/dist/src/components/icons/play-icon.js.map +0 -1
- package/dist/src/components/icons/plus-icon.d.ts +0 -11
- package/dist/src/components/icons/plus-icon.js +0 -6
- package/dist/src/components/icons/plus-icon.js.map +0 -1
- package/dist/src/components/icons/quote-icon.d.ts +0 -20
- package/dist/src/components/icons/quote-icon.js +0 -6
- package/dist/src/components/icons/quote-icon.js.map +0 -1
- package/dist/src/components/icons/small-business-icon.d.ts +0 -11
- package/dist/src/components/icons/small-business-icon.js +0 -6
- package/dist/src/components/icons/small-business-icon.js.map +0 -1
- package/dist/src/components/icons/top-product-icon.d.ts +0 -13
- package/dist/src/components/icons/top-product-icon.js +0 -14
- package/dist/src/components/icons/top-product-icon.js.map +0 -1
- package/dist/src/components/image/image.css.js.map +0 -1
- package/dist/src/components/image/image.js +0 -17
- package/dist/src/components/image/image.js.map +0 -1
- package/dist/src/components/input/input-clipboard.css.d.ts +0 -9
- package/dist/src/components/input/input-clipboard.css.js +0 -2
- package/dist/src/components/input/input-clipboard.css.js.map +0 -1
- package/dist/src/components/input/input-clipboard.d.ts +0 -52
- package/dist/src/components/input/input-clipboard.js +0 -62
- package/dist/src/components/input/input-clipboard.js.map +0 -1
- package/dist/src/components/light-carousel/light-carousel.css.js +0 -2
- package/dist/src/components/light-carousel/light-carousel.css.js.map +0 -1
- package/dist/src/components/light-carousel/light-carousel.d.ts +0 -74
- package/dist/src/components/light-carousel/light-carousel.js +0 -34
- package/dist/src/components/light-carousel/light-carousel.js.map +0 -1
- package/dist/src/components/modal/modal.css.js +0 -2
- package/dist/src/components/modal/modal.css.js.map +0 -1
- package/dist/src/components/modal/modal.d.ts +0 -52
- package/dist/src/components/modal/modal.js +0 -17
- package/dist/src/components/modal/modal.js.map +0 -1
- package/dist/src/components/paragraph/paragraph.css.js +0 -2
- package/dist/src/components/paragraph/paragraph.css.js.map +0 -1
- package/dist/src/components/paragraph/paragraph.js +0 -6
- package/dist/src/components/paragraph/paragraph.js.map +0 -1
- package/dist/src/components/pricing-cards/adopt-styles.d.ts +0 -10
- package/dist/src/components/pricing-cards/adopt-styles.js +0 -2
- package/dist/src/components/pricing-cards/adopt-styles.js.map +0 -1
- package/dist/src/components/pricing-cards/new-pricing-card.d.ts +0 -18
- package/dist/src/components/pricing-cards/new-pricing-card.js +0 -12
- package/dist/src/components/pricing-cards/new-pricing-card.js.map +0 -1
- package/dist/src/components/pricing-cards/new-pricing.css.js +0 -2
- package/dist/src/components/pricing-cards/new-pricing.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +0 -19
- package/dist/src/components/pricing-cards/pricing-card-actions.js +0 -25
- package/dist/src/components/pricing-cards/pricing-card-actions.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-container.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-container.d.ts +0 -14
- package/dist/src/components/pricing-cards/pricing-card-container.js +0 -6
- package/dist/src/components/pricing-cards/pricing-card-container.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-header.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-header.d.ts +0 -22
- package/dist/src/components/pricing-cards/pricing-card-header.js +0 -18
- package/dist/src/components/pricing-cards/pricing-card-header.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +0 -39
- package/dist/src/components/pricing-cards/pricing-card-pricing.js +0 -49
- package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +0 -16
- package/dist/src/components/pricing-cards/pricing-card-show-more.js +0 -12
- package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card.d.ts +0 -155
- package/dist/src/components/pricing-cards/pricing-card.js +0 -258
- package/dist/src/components/pricing-cards/pricing-card.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +0 -13
- package/dist/src/components/pricing-cards/pricing-feature-item.js +0 -5
- package/dist/src/components/pricing-cards/pricing-feature-item.js.map +0 -1
- package/dist/src/components/progress/progress.css.d.ts +0 -3
- package/dist/src/components/progress/progress.css.js +0 -2
- package/dist/src/components/progress/progress.css.js.map +0 -1
- package/dist/src/components/progress/progress.d.ts +0 -19
- package/dist/src/components/progress/progress.js +0 -11
- package/dist/src/components/progress/progress.js.map +0 -1
- package/dist/src/components/radio/toggle-radio.d.ts +0 -28
- package/dist/src/components/radio/toggle-radio.js +0 -15
- package/dist/src/components/radio/toggle-radio.js.map +0 -1
- package/dist/src/components/spotlight-section/spotlight-section.css.js +0 -2
- package/dist/src/components/spotlight-section/spotlight-section.css.js.map +0 -1
- package/dist/src/components/spotlight-section/spotlight-section.d.ts +0 -22
- package/dist/src/components/spotlight-section/spotlight-section.js +0 -46
- package/dist/src/components/spotlight-section/spotlight-section.js.map +0 -1
- package/dist/src/components/stat/stat-tile.d.ts +0 -24
- package/dist/src/components/stat/stat-tile.js +0 -7
- package/dist/src/components/stat/stat-tile.js.map +0 -1
- package/dist/src/components/tab-list/tab-list.css.d.ts +0 -16
- package/dist/src/components/tab-list/tab-list.css.js +0 -2
- package/dist/src/components/tab-list/tab-list.css.js.map +0 -1
- package/dist/src/components/tab-list/tab-list.d.ts +0 -99
- package/dist/src/components/tab-list/tab-list.js +0 -25
- package/dist/src/components/tab-list/tab-list.js.map +0 -1
- package/dist/src/components/tabs/tabs.css.js +0 -2
- package/dist/src/components/tabs/tabs.css.js.map +0 -1
- package/dist/src/components/tabs/tabs.d.ts +0 -69
- package/dist/src/components/tabs/tabs.js +0 -29
- package/dist/src/components/tabs/tabs.js.map +0 -1
- package/dist/src/components/terminal/terminal-message.css.js +0 -2
- package/dist/src/components/terminal/terminal-message.css.js.map +0 -1
- package/dist/src/components/terminal/terminal-message.d.ts +0 -44
- package/dist/src/components/terminal/terminal-message.js +0 -68
- package/dist/src/components/terminal/terminal-message.js.map +0 -1
- package/dist/src/components/termsOfUse/terms.css.js +0 -2
- package/dist/src/components/termsOfUse/terms.css.js.map +0 -1
- package/dist/src/components/termsOfUse/terms.d.ts +0 -22
- package/dist/src/components/termsOfUse/terms.js +0 -78
- package/dist/src/components/termsOfUse/terms.js.map +0 -1
- /package/dist/src/components/{accordion/accordion-bg.css.d.ts → agent-endpoints/agent-endpoints-pills.css.d.ts} +0 -0
- /package/dist/src/components/{anchor → anchor-nav}/anchor-nav.css.d.ts +0 -0
- /package/dist/src/components/{card-features/card-features.css.d.ts → awards/award-marks.css.d.ts} +0 -0
- /package/dist/src/components/{cards/card.css.d.ts → awards/award.css.d.ts} +0 -0
- /package/dist/src/components/{compare/compare.css.d.ts → bar-chart/bar-chart.css.d.ts} +0 -0
- /package/dist/src/components/{features/features.css.d.ts → card/card-grid.css.d.ts} +0 -0
- /package/dist/src/components/{footer/footer-links-group.css.d.ts → card/card.css.d.ts} +0 -0
- /package/dist/src/components/{footer/footer-nav-menu.css.d.ts → dialog/dialog.css.d.ts} +0 -0
- /package/dist/src/components/{header/header-code.css.d.ts → footer/footer-group.css.d.ts} +0 -0
- /package/dist/src/components/{header/header.css.d.ts → footer/footer-nav.css.d.ts} +0 -0
- /package/dist/src/components/{heading/heading.css.d.ts → h/h.css.d.ts} +0 -0
- /package/dist/src/components/{image/image.css.d.ts → img/img.css.d.ts} +0 -0
- /package/dist/src/components/{light-carousel/light-carousel.css.d.ts → install-options/install-option.css.d.ts} +0 -0
- /package/dist/src/components/{modal/modal.css.d.ts → newsletter-signup/newsletter-signup.css.d.ts} +0 -0
- /package/dist/src/components/{paragraph/paragraph.css.d.ts → p/p.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards → pricing-card}/pricing-card.css.d.ts +0 -0
- /package/dist/src/components/{pricing-cards/new-pricing.css.d.ts → pricing-card/pricing-feature-group.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-card-actions.css.d.ts → pricing-card/pricing-feature.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-card-container.css.d.ts → pricing-card/pricing-price.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-card-header.css.d.ts → process-steps/process-step.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-card-pricing.css.d.ts → product-hero/product-hero.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-card-show-more.css.d.ts → product-upsell/product-upsell.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-feature-item.css.d.ts → related-articles/related-articles.css.d.ts} +0 -0
- /package/dist/src/components/{spotlight-section/spotlight-section.css.d.ts → report-promo/report-promo.css.d.ts} +0 -0
- /package/dist/src/components/{dropdown/dropdown.css.d.ts → select/select.css.d.ts} +0 -0
- /package/dist/src/components/{tabs/tabs.css.d.ts → spotlight/spotlight.css.d.ts} +0 -0
- /package/dist/src/components/{terminal/terminal-message.css.d.ts → tab-group/tab-group.css.d.ts} +0 -0
- /package/dist/src/components/{termsOfUse/terms.css.d.ts → tab-group/tab.css.d.ts} +0 -0
|
@@ -1,59 +1,77 @@
|
|
|
1
1
|
import { LitElement, nothing, type PropertyValues } from "lit";
|
|
2
|
+
import { SlotController } from "../shared/controller.slot.js";
|
|
2
3
|
import "../../tokens/tokens.js";
|
|
3
4
|
import "../button/button.js";
|
|
4
|
-
import "../icons/pause
|
|
5
|
-
import "../icons/play
|
|
5
|
+
import "../icons/pause.js";
|
|
6
|
+
import "../icons/play.js";
|
|
7
|
+
import "../h/h.js";
|
|
8
|
+
import "../display/display.js";
|
|
9
|
+
import "../p/p.js";
|
|
10
|
+
type HeroSlot = "eyebrow" | "title" | "description" | "media" | "";
|
|
6
11
|
/**
|
|
7
12
|
* The homepage hero: a brand band with a full-bleed looping video fading into
|
|
8
13
|
* the brand at the bottom, an eyebrow, the page's one h1 and a lead. Drawn in
|
|
9
14
|
* the foundation Figma file as Hero.
|
|
10
15
|
*
|
|
16
|
+
* <bd-hero video-src="…" poster="…" pause-label="Pause the background video" play-label="Play the background video">
|
|
17
|
+
* <span slot="eyebrow">25 Years.<br>Trusted. Always.</span>
|
|
18
|
+
* <bd-h slot="title" as="h1">Cybersecurity for the AI Era.</bd-h>
|
|
19
|
+
* <bd-p slot="description">Bitdefender protects consumers, …</bd-p>
|
|
20
|
+
* <bd-motion-art slot="media" object="brand-surface"></bd-motion-art>
|
|
21
|
+
* <bd-grid cols="1" cols-lg="3" gap="md">…audience cards…</bd-grid>
|
|
22
|
+
* </bd-hero>
|
|
23
|
+
*
|
|
24
|
+
* Every word is the page's (ADR 0003). The page picks the title's level; the
|
|
25
|
+
* hero sets its size -- display-sm on a phone, display-md from md and
|
|
26
|
+
* display-xl from lg -- and the brand's ink on it, the eyebrow (heading-h4,
|
|
27
|
+
* heading-h3 from md, without being a heading) and the description
|
|
28
|
+
* (body-regular, body-large from md). A line break in the copy is a <br> the
|
|
29
|
+
* page writes. Each part's box is left out while its slot is empty.
|
|
30
|
+
*
|
|
11
31
|
* Desktop sets the copy left over the video, and a faint brand haze spills
|
|
12
32
|
* out under the band, behind the cards (the desktop frame's glow); below lg
|
|
13
|
-
* the video sits on top and the copy is centred under it.
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
33
|
+
* the video sits on top and the copy is centred under it. The default slot
|
|
34
|
+
* takes the audience cards: from lg they overlap the band's lower edge,
|
|
35
|
+
* below it they follow the band on the same brand ground, as the phone and
|
|
36
|
+
* tablet frames draw them.
|
|
17
37
|
*
|
|
18
|
-
* Not bd-
|
|
19
|
-
* one sells nothing and carries no CTA.
|
|
38
|
+
* Not bd-product-hero. That is the white two-column product hero with a
|
|
39
|
+
* price; this one sells nothing and carries no CTA.
|
|
20
40
|
*
|
|
21
41
|
* Slot `media` takes animated art in the video's place: the homepage slots
|
|
22
42
|
* <bd-motion-art object="brand-surface">. Slotted, it replaces the video and
|
|
23
43
|
* the poster, and it is centred in the stage below lg and on the sphere's
|
|
24
44
|
* line, right of the copy, from lg.
|
|
25
45
|
*
|
|
26
|
-
* The video loops on its own, so there is a pause button (WCAG 2.2.2)
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
46
|
+
* The video loops on its own, so there is a pause button (WCAG 2.2.2), named
|
|
47
|
+
* by `pause-label` and `play-label`, which have no default: the page writes
|
|
48
|
+
* the words. Under prefers-reduced-motion it never plays: the poster stands
|
|
49
|
+
* still in its place. Without a video-src the poster is all there is, and so
|
|
50
|
+
* is no button. The slotted art takes no button: it holds a still frame of
|
|
51
|
+
* its own under prefers-reduced-motion, and stops with `paused` when a page
|
|
52
|
+
* sets it.
|
|
31
53
|
*/
|
|
32
|
-
export declare class
|
|
54
|
+
export declare class BdHero extends LitElement {
|
|
33
55
|
static styles: import("lit").CSSResult[];
|
|
34
|
-
eyebrow: string;
|
|
35
|
-
heading: string;
|
|
36
|
-
lead: string;
|
|
37
56
|
videoSrc: string;
|
|
38
57
|
poster: string;
|
|
39
58
|
paused: boolean;
|
|
59
|
+
/** The pause button's accessible name while the video plays. No default. */
|
|
40
60
|
pauseLabel: string;
|
|
61
|
+
/** The button's accessible name while the video is paused. No default. */
|
|
41
62
|
playLabel: string;
|
|
42
63
|
_reduced: boolean;
|
|
43
|
-
|
|
44
|
-
_hasMedia: boolean;
|
|
45
|
-
_media: Element[] | undefined;
|
|
64
|
+
_slots: SlotController<HeroSlot>;
|
|
46
65
|
constructor();
|
|
47
66
|
updated(changed: PropertyValues<this>): void;
|
|
48
67
|
_toggle(): void;
|
|
49
|
-
_onCardsSlot(e: Event): void;
|
|
50
|
-
_onMediaSlot(e: Event): void;
|
|
51
68
|
_syncMedia(): void;
|
|
52
|
-
_renderMedia():
|
|
69
|
+
_renderMedia(hasMedia: boolean): import("lit-html").TemplateResult<1> | typeof nothing;
|
|
53
70
|
render(): import("lit-html").TemplateResult<1>;
|
|
54
71
|
}
|
|
55
72
|
declare global {
|
|
56
73
|
interface HTMLElementTagNameMap {
|
|
57
|
-
"bd-hero":
|
|
74
|
+
"bd-hero": BdHero;
|
|
58
75
|
}
|
|
59
76
|
}
|
|
77
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{
|
|
1
|
+
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../p/p.js";import{SlotController as n}from"../shared/controller.slot.js";import"../h/h.js";import{ensembleCSS as r}from"../shared/ensemble.css.js";import"../button/button.js";import{MediaQueryController as i,REDUCED_MOTION as a}from"../shared/controller.media-query.js";import"../display/display.js";import{heroCSS as o}from"./hero.css.js";import"../icons/pause.js";import"../icons/play.js";import{LitElement as s,html as c,nothing as l}from"lit";import{property as u,state as d}from"lit/decorators.js";var f=class extends s{static{this.styles=[r,o]}constructor(){super(),this.videoSrc=``,this.poster=``,this.paused=!1,this.pauseLabel=``,this.playLabel=``,this._reduced=!1,this._slots=new n(this,{slots:[`eyebrow`,`title`,`description`,`media`,``]}),new i(this,a,e=>{this._reduced=e})}updated(e){if(this._syncMedia(),!e.has(`paused`)&&!e.has(`_reduced`)&&!e.has(`videoSrc`))return;let t=this.renderRoot.querySelector(`video`);t&&(this.paused||this._reduced?t.pause():t.play()?.catch(()=>{}))}_toggle(){this.paused=!this.paused}_syncMedia(){for(let e of this._slots.elements(`media`))`paused`in e&&(e.paused=this.paused)}_renderMedia(e){return e?l:this.videoSrc?c`<video
|
|
2
2
|
class="media"
|
|
3
3
|
src="${this.videoSrc}"
|
|
4
|
-
poster="${this.poster||
|
|
4
|
+
poster="${this.poster||l}"
|
|
5
5
|
?autoplay=${!this._reduced&&!this.paused}
|
|
6
6
|
muted
|
|
7
7
|
loop
|
|
@@ -10,37 +10,33 @@ import{defineElement as e}from"../shared/define-element.js";import"../../tokens/
|
|
|
10
10
|
aria-hidden="true"
|
|
11
11
|
tabindex="-1"
|
|
12
12
|
.muted=${!0}
|
|
13
|
-
></video>`:this.poster?
|
|
14
|
-
<section class="root ${
|
|
13
|
+
></video>`:this.poster?c`<img class="media" src="${this.poster}" alt="" width="1440" height="613" fetchpriority="high">`:l}render(){let e=e=>this._slots.has(e),t=e(`media`),n=e(``),r=this.videoSrc&&!t&&!this._reduced,i=this.paused?this.playLabel:this.pauseLabel;return c`
|
|
14
|
+
<section class="root ${n?`has-cards`:``}">
|
|
15
15
|
<div class="band">
|
|
16
16
|
<div class="stage">
|
|
17
|
-
${this._renderMedia()}
|
|
18
|
-
<slot name="media"
|
|
17
|
+
${this._renderMedia(t)}
|
|
18
|
+
<slot name="media"></slot>
|
|
19
19
|
<div class="fade"></div>
|
|
20
|
-
${
|
|
20
|
+
${r?c`<bd-button
|
|
21
21
|
class="toggle"
|
|
22
|
-
|
|
22
|
+
appearance="outline-white"
|
|
23
23
|
surface="brand"
|
|
24
24
|
size="md"
|
|
25
|
-
icon-only
|
|
26
|
-
label="${this.paused?this.playLabel:this.pauseLabel}"
|
|
27
25
|
@click=${this._toggle}
|
|
28
|
-
|
|
26
|
+
><bd-icon name="${this.paused?`play`:`pause`}" size="md" label="${i||l}"></bd-icon></bd-button>`:l}
|
|
29
27
|
</div>
|
|
30
28
|
<div class="bd-ensemble column">
|
|
31
29
|
<div class="copy">
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
30
|
+
<div class="eyebrow" ?hidden=${!e(`eyebrow`)}><slot name="eyebrow"></slot></div>
|
|
31
|
+
<div class="title" ?hidden=${!e(`title`)}><slot name="title"></slot></div>
|
|
32
|
+
<div class="description" ?hidden=${!e(`description`)}><slot name="description"></slot></div>
|
|
35
33
|
</div>
|
|
36
34
|
</div>
|
|
37
35
|
</div>
|
|
38
36
|
<div class="glow" aria-hidden="true"></div>
|
|
39
|
-
<div class="cards-band" ?hidden=${!
|
|
40
|
-
<div class="bd-ensemble cards">
|
|
41
|
-
<slot name="cards" @slotchange=${this._onCardsSlot}></slot>
|
|
42
|
-
</div>
|
|
37
|
+
<div class="cards-band" ?hidden=${!n}>
|
|
38
|
+
<div class="bd-ensemble cards"><slot></slot></div>
|
|
43
39
|
</div>
|
|
44
40
|
</section>
|
|
45
|
-
`}};t([
|
|
41
|
+
`}};t([u({type:String,attribute:`video-src`})],f.prototype,`videoSrc`,void 0),t([u({type:String})],f.prototype,`poster`,void 0),t([u({type:Boolean,reflect:!0})],f.prototype,`paused`,void 0),t([u({type:String,attribute:`pause-label`})],f.prototype,`pauseLabel`,void 0),t([u({type:String,attribute:`play-label`})],f.prototype,`playLabel`,void 0),t([d()],f.prototype,`_reduced`,void 0),f=t([e(`bd-hero`)],f);export{f as BdHero};
|
|
46
42
|
//# sourceMappingURL=hero.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero.js","names":["_decorate","__decorate","Hero","LitElement","ensembleCSS","heroCSS","MediaQueryController","REDUCED_MOTION","reduced","changed","video","el","nothing","moving","property","state","defineElement"],"sources":["../../../../src/components/hero/hero.ts"],"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\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"#components/button/button.ts\";\nimport \"#components/icons/pause-icon.ts\";\nimport \"#components/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 = [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 ${this.heading ? html`<h1 class=\"heading\">${this.heading}</h1>` : nothing}\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"],"mappings":"A,6iBAuCO,IAAME,EAAN,cAAmBC,CAAW,C,OACnB,KAAA,OAAA,CAACC,EAAaC,CAAO,C,CA2BrC,aAAc,CACZ,MAAM,EAzBE,KAAA,QAAA,GAEA,KAAA,QAAA,GAEH,KAAA,KAAA,GAEI,KAAA,SAAA,GAEF,KAAA,OAAA,GAEA,KAAA,OAAA,GAEI,KAAA,WAAA,6BAED,KAAA,UAAA,4BAED,KAAA,SAAA,GAEC,KAAA,UAAA,GAEA,KAAA,UAAA,GAMV,IAAIC,EAAqB,KAAMC,EAAgB,GAAW,CAAE,KAAK,SAAWC,CAAS,CAAC,CACxF,CAEA,QAAQ,EAA+B,CAErC,IADIC,EAAQ,IAAI,QAAQ,GAAKA,EAAQ,IAAI,WAAW,IAAG,KAAK,WAAW,EACnE,CAACA,EAAQ,IAAI,QAAQ,GAAK,CAACA,EAAQ,IAAI,UAAU,GAAK,CAACA,EAAQ,IAAI,UAAU,EAAG,OACpF,IAAMC,EAAQ,KAAK,WAAW,cAAc,OAAO,EAC9CA,IACD,KAAK,QAAU,KAAK,SAAUA,EAAM,MAAM,EACzCA,EAAM,KAAK,CAAC,EAAE,UAAY,CAA2C,CAAC,EAC7E,CAEA,SAAU,CACR,KAAK,OAAS,CAAC,KAAK,MACtB,CAEA,aAAa,EAAU,CACrB,KAAK,UAAa,EAAE,OAA2B,iBAAiB,CAAE,QAAS,EAAK,CAAC,CAAC,CAAC,OAAS,CAC9F,CAEA,aAAa,EAAU,CACrB,KAAK,OAAU,EAAE,OAA2B,iBAAiB,CAAE,QAAS,EAAK,CAAC,EAC9E,KAAK,UAAY,KAAK,OAAO,OAAS,EACtC,KAAK,WAAW,CAClB,CAGA,YAAa,CACX,IAAK,IAAMC,KAAM,KAAK,QAAU,CAAC,EAAO,WAAYA,IAAI,EAAG,OAAS,KAAK,OAC3E,CAEA,cAAe,CAyBb,OAxBI,KAAK,UAAkBC,EAGvB,KAAK,SACA,CAAI;;eAEF,KAAK,SAAS;kBACX,KAAK,QAAUA,EAAQ;oBACrB,CAAC,KAAK,UAAY,CAAC,KAAK,OAAO;;;;;;;iBAOlC,GAAK;iBASX,KAAK,OACR,CAAI,2BAA2B,KAAK,OAAO,0DAC3CA,CACN,CAEA,QAAS,CACP,IAAMC,EAAS,KAAK,UAAY,CAAC,KAAK,WAAa,CAAC,KAAK,SACzD,MAAO,EAAI;6BACc,KAAK,UAAY,YAAc,GAAG;;;cAGjD,KAAK,aAAa,EAAE;6CACW,KAAK,aAAa;;cAEjDA,EACE,CAAI;;;;;;2BAMO,KAAK,OAAS,KAAK,UAAY,KAAK,WAAW;2BAC/C,KAAK,QAAQ;mBACrB,KAAK,OACJ,CAAI,0CACJ,CAAI,4CAA4C,cACpDD,EAAQ;;;;gBAIR,KAAK,QAAU,CAAI,sBAAsB,KAAK,QAAQ,MAAQA,EAAQ;gBACtE,KAAK,QAAU,CAAI,uBAAuB,KAAK,QAAQ,OAASA,EAAQ;gBACxE,KAAK,KAAO,CAAI,mBAAmB,KAAK,KAAK,MAAQA,EAAQ;;;;;0CAKnC,CAAC,KAAK,UAAU;;6CAEb,KAAK,aAAa;;;;KAK7D,CACF,EAhIGZ,EAAA,CAAAc,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAZ,EAAA,UAAA,UAAA,IAAA,EAAA,EAEzBF,EAAA,CAAAc,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAZ,EAAA,UAAA,UAAA,IAAA,EAAA,EAEzBF,EAAA,CAAAc,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAZ,EAAA,UAAA,OAAA,IAAA,EAAA,EAEzBF,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,UAAW,WAAY,CAAC,CAAA,EAAAZ,EAAA,UAAA,WAAA,IAAA,EAAA,EAEjDF,EAAA,CAAAc,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAZ,EAAA,UAAA,SAAA,IAAA,EAAA,EAEzBF,EAAA,CAAAc,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,CAAA,EAAAZ,EAAA,UAAA,SAAA,IAAA,EAAA,EAEzCF,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,UAAW,aAAc,CAAC,CAAA,EAAAZ,EAAA,UAAA,aAAA,IAAA,EAAA,EAEnDF,EAAA,CAAAc,EAAS,CAAE,KAAM,OAAQ,UAAW,YAAa,CAAC,CAAA,EAAAZ,EAAA,UAAA,YAAA,IAAA,EAAA,EAElDF,EAAA,CAAAe,EAAM,CAAA,EAAAb,EAAA,UAAA,WAAA,IAAA,EAAA,EAENF,EAAA,CAAAe,EAAM,CAAA,EAAAb,EAAA,UAAA,YAAA,IAAA,EAAA,EAENF,EAAA,CAAAe,EAAM,CAAA,EAAAb,EAAA,UAAA,YAAA,IAAA,EAAA,EAxBR,EAAAF,EAAA,CAAAgB,EAAc,SAAS,CAAA,EAAAd,CAAA,E"}
|
|
1
|
+
{"version":3,"file":"hero.js","names":["_decorate","__decorate","BdHero","LitElement","ensembleCSS","heroCSS","SlotController","MediaQueryController","REDUCED_MOTION","reduced","changed","video","el","hasMedia","nothing","has","name","hasCards","moving","label","property","state","defineElement"],"sources":["../../../../src/components/hero/hero.ts"],"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 { SlotController } from \"#shared/controller.slot.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"#components/button/button.ts\";\nimport \"#components/icons/pause.ts\";\nimport \"#components/icons/play.ts\";\n/* The atoms the page writes into the hero's title and description. It\n renders neither, but a page importing only this module still gets them. */\nimport \"#components/h/h.ts\";\nimport \"#components/display/display.ts\";\nimport \"#components/p/p.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\nimport { heroCSS } from \"./hero.css.ts\";\n\ntype HeroSlot = \"eyebrow\" | \"title\" | \"description\" | \"media\" | \"\";\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 * <bd-hero video-src=\"…\" poster=\"…\" pause-label=\"Pause the background video\" play-label=\"Play the background video\">\n * <span slot=\"eyebrow\">25 Years.<br>Trusted. Always.</span>\n * <bd-h slot=\"title\" as=\"h1\">Cybersecurity for the AI Era.</bd-h>\n * <bd-p slot=\"description\">Bitdefender protects consumers, …</bd-p>\n * <bd-motion-art slot=\"media\" object=\"brand-surface\"></bd-motion-art>\n * <bd-grid cols=\"1\" cols-lg=\"3\" gap=\"md\">…audience cards…</bd-grid>\n * </bd-hero>\n *\n * Every word is the page's (ADR 0003). The page picks the title's level; the\n * hero sets its size -- display-sm on a phone, display-md from md and\n * display-xl from lg -- and the brand's ink on it, the eyebrow (heading-h4,\n * heading-h3 from md, without being a heading) and the description\n * (body-regular, body-large from md). A line break in the copy is a <br> the\n * page writes. Each part's box is left out while its slot is empty.\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. The default slot\n * takes the audience cards: from lg they overlap the band's lower edge,\n * below it they follow the band on the same brand ground, as the phone and\n * tablet frames draw them.\n *\n * Not bd-product-hero. That is the white two-column product hero with a\n * price; this 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), named\n * by `pause-label` and `play-label`, which have no default: the page writes\n * the words. Under prefers-reduced-motion it never plays: the poster stands\n * still in its place. Without a video-src the poster is all there is, and so\n * is no button. The slotted art takes no button: it holds a still frame of\n * its own under prefers-reduced-motion, and stops with `paused` when a page\n * sets it.\n */\n@defineElement(\"bd-hero\")\nexport class BdHero extends LitElement {\n static styles = [ensembleCSS, heroCSS];\n\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 /** The pause button's accessible name while the video plays. No default. */\n @property({ type: String, attribute: \"pause-label\" })\n pauseLabel = \"\";\n /** The button's accessible name while the video is paused. No default. */\n @property({ type: String, attribute: \"play-label\" })\n playLabel = \"\";\n @state()\n _reduced = false;\n\n _slots = new SlotController<HeroSlot>(this, { slots: [\"eyebrow\", \"title\", \"description\", \"media\", \"\"] });\n\n constructor() {\n super();\n new MediaQueryController(this, REDUCED_MOTION, reduced => { this._reduced = reduced; });\n }\n\n updated(changed: PropertyValues<this>) {\n 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 /* The slotted art stops with the hero's `paused`. Every update, which a\n slotchange that moves the media slot's answer is one of: writing the\n value a component already has changes nothing there. */\n _syncMedia() {\n for (const el of this._slots.elements(\"media\")) if (\"paused\" in el) el.paused = this.paused;\n }\n\n _renderMedia(hasMedia: boolean) {\n if (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 has = (name: HeroSlot) => this._slots.has(name);\n const hasMedia = has(\"media\");\n const hasCards = has(\"\");\n const moving = this.videoSrc && !hasMedia && !this._reduced;\n const label = this.paused ? this.playLabel : this.pauseLabel;\n return html`\n <section class=\"root ${hasCards ? \"has-cards\" : \"\"}\">\n <div class=\"band\">\n <div class=\"stage\">\n ${this._renderMedia(hasMedia)}\n <slot name=\"media\"></slot>\n <div class=\"fade\"></div>\n ${moving\n ? html`<bd-button\n class=\"toggle\"\n appearance=\"outline-white\"\n surface=\"brand\"\n size=\"md\"\n @click=${this._toggle}\n ><bd-icon name=\"${this.paused ? \"play\" : \"pause\"}\" size=\"md\" label=\"${label || nothing}\"></bd-icon></bd-button>`\n : nothing}\n </div>\n <div class=\"bd-ensemble column\">\n <div class=\"copy\">\n <div class=\"eyebrow\" ?hidden=${!has(\"eyebrow\")}><slot name=\"eyebrow\"></slot></div>\n <div class=\"title\" ?hidden=${!has(\"title\")}><slot name=\"title\"></slot></div>\n <div class=\"description\" ?hidden=${!has(\"description\")}><slot name=\"description\"></slot></div>\n </div>\n </div>\n </div>\n <div class=\"glow\" aria-hidden=\"true\"></div>\n <div class=\"cards-band\" ?hidden=${!hasCards}>\n <div class=\"bd-ensemble cards\"><slot></slot></div>\n </div>\n </section>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-hero\": BdHero;\n }\n}\n"],"mappings":"A,mqBAgEO,IAAME,EAAN,cAAqBC,CAAW,C,OACrB,KAAA,OAAA,CAACC,EAAaC,CAAO,C,CAmBrC,aAAc,CACZ,MAAM,EAjBG,KAAA,SAAA,GAEF,KAAA,OAAA,GAEA,KAAA,OAAA,GAGI,KAAA,WAAA,GAGD,KAAA,UAAA,GAED,KAAA,SAAA,GAEF,KAAA,OAAA,IAAIC,EAAyB,KAAM,CAAE,MAAO,CAAC,UAAW,QAAS,cAAe,QAAS,EAAE,CAAE,CAAC,EAIrG,IAAIC,EAAqB,KAAMC,EAAgB,GAAW,CAAE,KAAK,SAAWC,CAAS,CAAC,CACxF,CAEA,QAAQ,EAA+B,CAErC,GADA,KAAK,WAAW,EACZ,CAACC,EAAQ,IAAI,QAAQ,GAAK,CAACA,EAAQ,IAAI,UAAU,GAAK,CAACA,EAAQ,IAAI,UAAU,EAAG,OACpF,IAAMC,EAAQ,KAAK,WAAW,cAAc,OAAO,EAC9CA,IACD,KAAK,QAAU,KAAK,SAAUA,EAAM,MAAM,EACzCA,EAAM,KAAK,CAAC,EAAE,UAAY,CAA2C,CAAC,EAC7E,CAEA,SAAU,CACR,KAAK,OAAS,CAAC,KAAK,MACtB,CAKA,YAAa,CACX,IAAK,IAAMC,KAAM,KAAK,OAAO,SAAS,OAAO,EAAO,WAAYA,IAAI,EAAG,OAAS,KAAK,OACvF,CAEA,aAAa,EAAmB,CAyB9B,OAxBIC,EAAiBC,EAGjB,KAAK,SACA,CAAI;;eAEF,KAAK,SAAS;kBACX,KAAK,QAAUA,EAAQ;oBACrB,CAAC,KAAK,UAAY,CAAC,KAAK,OAAO;;;;;;;iBAOlC,GAAK;iBASX,KAAK,OACR,CAAI,2BAA2B,KAAK,OAAO,0DAC3CA,CACN,CAEA,QAAS,CACP,IAAMC,EAAO,GAAmB,KAAK,OAAO,IAAIC,CAAI,EAC9CH,EAAWE,EAAI,OAAO,EACtBE,EAAWF,EAAI,EAAE,EACjBG,EAAS,KAAK,UAAY,CAACL,GAAY,CAAC,KAAK,SAC7CM,EAAQ,KAAK,OAAS,KAAK,UAAY,KAAK,WAClD,MAAO,EAAI;6BACcF,EAAW,YAAc,GAAG;;;cAG3C,KAAK,aAAaJ,CAAQ,EAAE;;;cAG5BK,EACE,CAAI;;;;;2BAKO,KAAK,QAAQ;kCACN,KAAK,OAAS,OAAS,QAAQ,qBAAqBC,GAASL,EAAQ,0BACvFA,EAAQ;;;;6CAIqB,CAACC,EAAI,SAAS,EAAE;2CAClB,CAACA,EAAI,OAAO,EAAE;iDACR,CAACA,EAAI,aAAa,EAAE;;;;;0CAK3B,CAACE,EAAS;;;;KAKlD,CACF,EA9GGjB,EAAA,CAAAoB,EAAS,CAAE,KAAM,OAAQ,UAAW,WAAY,CAAC,CAAA,EAAAlB,EAAA,UAAA,WAAA,IAAA,EAAA,EAEjDF,EAAA,CAAAoB,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAlB,EAAA,UAAA,SAAA,IAAA,EAAA,EAEzBF,EAAA,CAAAoB,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,CAAA,EAAAlB,EAAA,UAAA,SAAA,IAAA,EAAA,EAGzCF,EAAA,CAAAoB,EAAS,CAAE,KAAM,OAAQ,UAAW,aAAc,CAAC,CAAA,EAAAlB,EAAA,UAAA,aAAA,IAAA,EAAA,EAGnDF,EAAA,CAAAoB,EAAS,CAAE,KAAM,OAAQ,UAAW,YAAa,CAAC,CAAA,EAAAlB,EAAA,UAAA,YAAA,IAAA,EAAA,EAElDF,EAAA,CAAAqB,EAAM,CAAA,EAAAnB,EAAA,UAAA,WAAA,IAAA,EAAA,EAhBR,EAAAF,EAAA,CAAAsB,EAAc,SAAS,CAAA,EAAApB,CAAA,E"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{
|
|
1
|
+
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{isolation:isolate;display:inline}:host([hidden]){display:none}.highlight{background:var(--color-surface-info);color:var(--color-text-primary);z-index:var(--z-below);margin-inline:calc(-1 * var(--spacing-4));display:inline;position:relative}.highlight-text{z-index:var(--z-base);padding-inline:var(--spacing-4);-webkit-box-decoration-break:clone;box-decoration-break:clone;position:relative}.highlight-anchor{position:relative}.highlight-deco{--bd-highlight-deco-width:var(--spacing-8);--bd-highlight-deco-inset:calc(-1 * (var(--bd-highlight-deco-width) - var(--spacing-2)) / 2);width:var(--bd-highlight-deco-width);pointer-events:none;z-index:var(--z-raised);flex-direction:column;justify-content:flex-start;align-items:center;display:flex;position:absolute}.highlight-deco.left{inset-inline-start:var(--bd-highlight-deco-inset);top:calc(-1 * var(--spacing-4));bottom:0}.highlight-deco.right{inset-inline-end:var(--bd-highlight-deco-inset);top:0;bottom:calc(-1 * var(--spacing-4))}.highlight-svg-rect{width:var(--spacing-2);fill:var(--color-brand-500);flex:1;margin:0;display:block}.highlight-svg-ellipse-top,.highlight-svg-ellipse-bottom{width:var(--bd-highlight-deco-width);height:var(--bd-highlight-deco-width);fill:var(--color-brand-500);flex:none;display:block}@media (width<576px){.highlight-deco{--bd-highlight-deco-width:var(--spacing-6)}}@media (forced-colors:active){.highlight{forced-color-adjust:none;color:highlighttext;z-index:auto;background:highlight}.highlight-svg-rect,.highlight-svg-ellipse-top,.highlight-svg-ellipse-bottom{fill:canvastext}}`;export{t as default};
|
|
2
2
|
//# sourceMappingURL=highlight.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highlight.css.js","names":["highlight_css_default"],"sources":["../../../../src/components/highlight/highlight.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\n/* unsafeCSS is how a Lit css`` template accepts a computed string. The\n value is not arbitrary: below() resolves a name from the closed\n breakpoint set and throws on anything else, so the only strings that\n reach here are the ones the scale produced. */\nimport { below } from \"#shared/token-scales.ts\";\n\nexport default css`\n
|
|
1
|
+
{"version":3,"file":"highlight.css.js","names":["highlight_css_default"],"sources":["../../../../src/components/highlight/highlight.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\n/* unsafeCSS is how a Lit css`` template accepts a computed string. The\n value is not arbitrary: below() resolves a name from the closed\n breakpoint set and throws on anything else, so the only strings that\n reach here are the ones the scale produced. */\nimport { below } from \"#shared/token-scales.ts\";\n\nexport default css`\n /* A run of text inside the line it sits in. No type and no alignment of\n its own: the phrase is set in whatever the heading or the paragraph\n around it is set in, which it inherits through the flat tree. Its ink is\n the tint's (.highlight, below), not the line's: the tint is a light\n ground on every band, so white on-brand ink inherited from a brand band\n would not read on it.\n\n Its own stacking context. The tint sits a rung below the words beside\n it (.highlight's z-index, below), and in 3.x that rung was the nearest\n stacking context's -- the page's, wherever the block sat -- so on a\n band whose ground is a block background the whole mark, words and all,\n painted under the band: measured on the brand wash at 375 and 1280,\n every pixel of the tint, the bars, the dots and the phrase itself was\n the band's. Isolated, the rung is this element's, so the mark draws on\n any ground. The cost is that the tint's 4px overhang (the margin and\n padding below) now paints over a glyph touching the phrase -- a full\n stop written right after it -- where 3.x drew that glyph over the tint;\n a space, the usual neighbour, has no ink to cover. */\n :host {\n display: inline;\n isolation: isolate;\n }\n\n :host([hidden]) {\n display: none;\n }\n\n .highlight {\n display: inline;\n background: var(--color-surface-info);\n color: var(--color-text-primary);\n /* The three rungs of the ladder this atom stacks its own internals on:\n the tint sits below the line, the text on it, the decorations above. */\n z-index: var(--z-below);\n position: relative;\n margin-inline: calc(-1 * var(--spacing-4));\n }\n\n .highlight-text {\n position: relative;\n z-index: var(--z-base);\n padding-inline: var(--spacing-4);\n -webkit-box-decoration-break: clone;\n box-decoration-break: clone;\n }\n\n /* Empty and inline on purpose: it takes the same content box as the text\n beside it and has no width to break, so it rides along to whichever line\n its end of the phrase lands on. An absolutely positioned child of\n .highlight itself resolves against a single line fragment, which is why\n both decorations piled onto the first line when the phrase wrapped. */\n .highlight-anchor {\n position: relative;\n }\n\n .highlight-deco {\n /* Local so the two insets below derive from the box rather than restating\n a number per breakpoint. The bar is centred in this box, so pulling the\n box out by half its spare width lands the bar on the background edge. */\n --bd-highlight-deco-width: var(--spacing-8);\n --bd-highlight-deco-inset: calc(\n -1 * (var(--bd-highlight-deco-width) - var(--spacing-2)) / 2\n );\n\n position: absolute;\n width: var(--bd-highlight-deco-width);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n pointer-events: none;\n z-index: var(--z-raised);\n }\n\n /* .left and .right are the phrase's start and end (one before the slot,\n one after it), so they sit on the inline edges: in a right-to-left page\n .left is the right-hand bar. */\n .highlight-deco.left {\n inset-inline-start: var(--bd-highlight-deco-inset);\n top: calc(-1 * var(--spacing-4));\n bottom: 0;\n }\n\n /* Mirrors .left against the other edge of the same box. It used to be\n positioned against a 1px anchor span whose distance from that edge changed\n with the surrounding text, which is why the bar drifted clear of the\n background when the highlight was the last word. */\n .highlight-deco.right {\n inset-inline-end: var(--bd-highlight-deco-inset);\n top: 0;\n bottom: calc(-1 * var(--spacing-4));\n }\n\n /* no token: the brand decoration mark. blue-500 is the right step but no\n role names it — --color-border-brand is a border, --status-brand-fill is a\n chip background, and neither is an ornament. This needs a decoration role\n before it can be spelled as one; inventing one for a single consumer is\n what the token layer is trying to stop. */\n .highlight-svg-rect {\n width: var(--spacing-2);\n /* whatever the dot leaves, so the bar always ends on the background edge */\n flex: 1;\n /* no role: the deco bar, same decision as the ellipses below -- ornament flanking the\n highlighted text, not a mark, so an ink role is the wrong family. 4.20:1 against\n the blue-50 ground, over the 3:1 non-text bar. */\n fill: var(--color-brand-500);\n margin: 0;\n display: block;\n }\n\n .highlight-svg-ellipse-top,\n .highlight-svg-ellipse-bottom {\n flex: none;\n width: var(--bd-highlight-deco-width);\n height: var(--bd-highlight-deco-width);\n /* no role: the two deco ellipses. These are ORNAMENT, not a mark and not a glyph in\n a text flow -- the template puts them inside <span class=\"highlight-deco left|right\">\n flanking <span class=\"highlight-text\">, a bracket construct drawn around the\n highlighted words. Every icon role candidate in this package is an INK role, and\n ink is the wrong family for a bracket: naming one here would misdescribe these the\n way calling the terminal's line-kind blues \"brand\" would have. They pass their bar\n already -- 4.20:1 against the blue-50 ground, where 3:1 is the non-text minimum.\n See plans/reports/phase-2-vocab-b-icon-colour.md. */\n fill: var(--color-brand-500);\n display: block;\n }\n\n /* Narrower than sm. A media condition cannot read a custom property, so\n below() interpolates the value; 600px was on no scale at all, and the\n 576px that replaced it still matched at exactly 576px, where sm begins. */\n @media ${unsafeCSS(below(\"sm\"))} {\n .highlight-deco {\n --bd-highlight-deco-width: var(--spacing-6);\n }\n }\n\n /* The tint is the highlight, and forced colours repaint it as Canvas: the\n phrase read exactly like the words around it. It opts out into the\n system's Highlight pair, and the bracket bars, which sit on its edges,\n draw in CanvasText so they still show against it.\n\n It also leaves the rung below the line. Chromium paints a Canvas\n backplate behind forced text, and the heading's backplate covered a tint\n stacked under it -- measured, the phrase came out HighlightText on that\n white, which is to say blank. */\n @media (forced-colors: active) {\n .highlight {\n forced-color-adjust: none;\n background: Highlight;\n color: HighlightText;\n z-index: auto;\n }\n\n .highlight-svg-rect,\n .highlight-svg-ellipse-top,\n .highlight-svg-ellipse-bottom {\n fill: CanvasText;\n }\n }\n`;\n"],"mappings":"A,4DAOA,IAAAA,EAAe,CAAG,kiD"}
|
|
@@ -1,21 +1,30 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
2
|
import "../../tokens/tokens.js";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
/**
|
|
4
|
+
* A phrase marked inside a line of text: a tint behind the words, and a bar
|
|
5
|
+
* ending in a dot at each end.
|
|
6
|
+
*
|
|
7
|
+
* <bd-h as="h2">Protect <bd-highlight>every device</bd-highlight> you own</bd-h>
|
|
8
|
+
*
|
|
9
|
+
* An inline atom the page wraps around the words it marks. It draws the marks
|
|
10
|
+
* around its own default slot and nothing else: it has no attributes, takes
|
|
11
|
+
* its type from the text it sits in (the heading's size, weight and ink), and
|
|
12
|
+
* the words stay the page's, a link or an <em> inside them included.
|
|
13
|
+
*
|
|
14
|
+
* 3.x's bd-highlight was a block that drew its own bd-h (`as`, default h3)
|
|
15
|
+
* with a bd-p above it (`sub-title`), and found `highlight-text` in the
|
|
16
|
+
* heading's words by searching a copy of them. Those are the page's now: a
|
|
17
|
+
* `<bd-p appearance="small" color="primary">` and a `<bd-h as>` around this
|
|
18
|
+
* element. Nothing is searched, copied or observed, so a phrase that crosses
|
|
19
|
+
* an element boundary -- "family <em>member</em>" -- is marked like any other,
|
|
20
|
+
* and a listener on an element inside it is the page's own.
|
|
21
|
+
*/
|
|
22
|
+
export declare class BdHighlight extends LitElement {
|
|
10
23
|
static styles: import("lit").CSSResult[];
|
|
11
|
-
connectedCallback(): void;
|
|
12
|
-
disconnectedCallback(): void;
|
|
13
|
-
_markedHeadline(phrase: string): DocumentFragment | null;
|
|
14
24
|
render(): import("lit-html").TemplateResult<1>;
|
|
15
25
|
}
|
|
16
26
|
declare global {
|
|
17
27
|
interface HTMLElementTagNameMap {
|
|
18
|
-
"bd-highlight":
|
|
28
|
+
"bd-highlight": BdHighlight;
|
|
19
29
|
}
|
|
20
30
|
}
|
|
21
|
-
export {};
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import
|
|
2
|
-
${n}
|
|
3
|
-
<bd-h as="${this.as}" class="headline">${t??i`<slot></slot>`}</bd-h>
|
|
4
|
-
`}};t([a({type:String,attribute:`highlight-text`})],o.prototype,`highlightText`,void 0),t([a({type:String,attribute:`sub-title`})],o.prototype,`subTitle`,void 0),t([a({type:String})],o.prototype,`as`,void 0),o=t([e(`bd-highlight`)],o);var s,c=()=>(s||(s=document.createElement(`template`),s.innerHTML=`<span class="highlight"><span class="highlight-anchor"><span class="highlight-deco left"><svg class="highlight-svg-ellipse-top" viewBox="0 0 8 8"><ellipse cx="4" cy="4" rx="4" ry="4"/></svg><svg class="highlight-svg-rect" viewBox="0 0 2 42" preserveAspectRatio="none"><rect x="0" y="0" width="2" height="42"/></svg></span></span><span class="highlight-text"></span><span class="highlight-anchor"><span class="highlight-deco right"><svg class="highlight-svg-rect" viewBox="0 0 2 42" preserveAspectRatio="none"><rect x="0" y="0" width="2" height="42"/></svg><svg class="highlight-svg-ellipse-bottom" viewBox="0 0 8 8"><ellipse cx="4" cy="4" rx="4" ry="4"/></svg></span></span></span>`),s);
|
|
1
|
+
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import n from"./highlight.css.js";import{LitElement as r,html as i}from"lit";var a=class extends r{static{this.styles=[n]}render(){return i`<span class="highlight"><span class="highlight-anchor" aria-hidden="true"><span class="highlight-deco left"><svg class="highlight-svg-ellipse-top" viewBox="0 0 8 8"><ellipse cx="4" cy="4" rx="4" ry="4"/></svg><svg class="highlight-svg-rect" viewBox="0 0 2 42" preserveAspectRatio="none"><rect x="0" y="0" width="2" height="42"/></svg></span></span><span class="highlight-text"><slot></slot></span><span class="highlight-anchor" aria-hidden="true"><span class="highlight-deco right"><svg class="highlight-svg-rect" viewBox="0 0 2 42" preserveAspectRatio="none"><rect x="0" y="0" width="2" height="42"/></svg><svg class="highlight-svg-ellipse-bottom" viewBox="0 0 8 8"><ellipse cx="4" cy="4" rx="4" ry="4"/></svg></span></span></span>`}};a=t([e(`bd-highlight`)],a);export{a as BdHighlight};
|
|
5
2
|
//# sourceMappingURL=highlight.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"highlight.js","names":["highlightCSS","_decorate","__decorate","highlight_css_default","
|
|
1
|
+
{"version":3,"file":"highlight.js","names":["highlightCSS","_decorate","__decorate","highlight_css_default","BdHighlight","LitElement","defineElement"],"sources":["../../../../src/components/highlight/highlight.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport highlightCSS from \"./highlight.css.ts\";\n\n/**\n * A phrase marked inside a line of text: a tint behind the words, and a bar\n * ending in a dot at each end.\n *\n * <bd-h as=\"h2\">Protect <bd-highlight>every device</bd-highlight> you own</bd-h>\n *\n * An inline atom the page wraps around the words it marks. It draws the marks\n * around its own default slot and nothing else: it has no attributes, takes\n * its type from the text it sits in (the heading's size, weight and ink), and\n * the words stay the page's, a link or an <em> inside them included.\n *\n * 3.x's bd-highlight was a block that drew its own bd-h (`as`, default h3)\n * with a bd-p above it (`sub-title`), and found `highlight-text` in the\n * heading's words by searching a copy of them. Those are the page's now: a\n * `<bd-p appearance=\"small\" color=\"primary\">` and a `<bd-h as>` around this\n * element. Nothing is searched, copied or observed, so a phrase that crosses\n * an element boundary -- \"family <em>member</em>\" -- is marked like any other,\n * and a listener on an element inside it is the page's own.\n */\n@defineElement(\"bd-highlight\")\nexport class BdHighlight extends LitElement {\n static styles = [highlightCSS];\n\n /* No whitespace between the pieces: inline whitespace renders as a space\n beside the phrase. The marks are drawings, so they are out of the\n accessibility tree, and the words read as the text around them. */\n render() {\n return html`<span class=\"highlight\"><span class=\"highlight-anchor\" aria-hidden=\"true\"><span class=\"highlight-deco left\"><svg class=\"highlight-svg-ellipse-top\" viewBox=\"0 0 8 8\"><ellipse cx=\"4\" cy=\"4\" rx=\"4\" ry=\"4\"/></svg><svg class=\"highlight-svg-rect\" viewBox=\"0 0 2 42\" preserveAspectRatio=\"none\"><rect x=\"0\" y=\"0\" width=\"2\" height=\"42\"/></svg></span></span><span class=\"highlight-text\"><slot></slot></span><span class=\"highlight-anchor\" aria-hidden=\"true\"><span class=\"highlight-deco right\"><svg class=\"highlight-svg-rect\" viewBox=\"0 0 2 42\" preserveAspectRatio=\"none\"><rect x=\"0\" y=\"0\" width=\"2\" height=\"42\"/></svg><svg class=\"highlight-svg-ellipse-bottom\" viewBox=\"0 0 8 8\"><ellipse cx=\"4\" cy=\"4\" rx=\"4\" ry=\"4\"/></svg></span></span></span>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-highlight\": BdHighlight;\n }\n}\n"],"mappings":"A,kPA0BO,IAAMI,EAAN,cAA0BC,CAAW,C,OAC1B,KAAA,OAAA,CAACL,CAAY,C,CAK7B,QAAS,CACP,MAAO,EAAI,8tBACb,CACF,EAVC,EAAAC,EAAA,CAAAK,EAAc,cAAc,CAAA,EAAAF,CAAA,E"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{css as e}from"lit";var t=e`:host{margin-top:var(--form-help-text-default-marginTop);display:block}p{font-family:var(--form-help-text-default-fontFamily);font-size:var(--form-help-text-default-fontSize);font-weight:var(--form-help-text-default-fontWeight);line-height:var(--form-help-text-default-lineHeight);letter-spacing:var(--form-help-text-default-letterSpacing);color:var(--form-help-text-default-color);margin:0}:host([
|
|
2
|
-
//# sourceMappingURL=
|
|
1
|
+
import{css as e}from"lit";var t=e`:host{margin-top:var(--form-help-text-default-marginTop);display:block}p{font-family:var(--form-help-text-default-fontFamily);font-size:var(--form-help-text-default-fontSize);font-weight:var(--form-help-text-default-fontWeight);line-height:var(--form-help-text-default-lineHeight);letter-spacing:var(--form-help-text-default-letterSpacing);color:var(--form-help-text-default-color);margin:0}:host([variant=error]) p{color:var(--form-help-text-error-color)}:host([variant=success]) p{color:var(--form-help-text-success-color)}`;export{t as default,t as hintCSS};
|
|
2
|
+
//# sourceMappingURL=hint.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hint.css.js","names":["hintCSS"],"sources":["../../../../src/components/hint/hint.css.ts"],"sourcesContent":["import { css } from 'lit';\n\n/** Styled entirely from design tokens — see npm run lint:tokens. */\nexport const hintCSS = css`\n :host { display: block; margin-top: var(--form-help-text-default-marginTop); }\n\n p {\n margin: 0;\n font-family: var(--form-help-text-default-fontFamily);\n font-size: var(--form-help-text-default-fontSize);\n font-weight: var(--form-help-text-default-fontWeight);\n line-height: var(--form-help-text-default-lineHeight);\n letter-spacing: var(--form-help-text-default-letterSpacing);\n color: var(--form-help-text-default-color);\n }\n\n :host([variant='error']) p { color: var(--form-help-text-error-color); }\n :host([variant='success']) p { color: var(--form-help-text-success-color); }\n`;\n\nexport default hintCSS;\n"],"mappings":"A,0BAGA,IAAaA,EAAU,CAAG,ghB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { LitElement, type PropertyValues } from "lit";
|
|
2
|
+
import "../../tokens/tokens.js";
|
|
3
|
+
/**
|
|
4
|
+
* What a hint means: a neutral note, a success, or an error. A subset of the
|
|
5
|
+
* meanings every component shares (TONES in shared/prop-vocabulary.ts).
|
|
6
|
+
*/
|
|
7
|
+
export declare const HINT_VARIANTS: readonly ["neutral", "success", "error"];
|
|
8
|
+
export type HintVariant = typeof HINT_VARIANTS[number];
|
|
9
|
+
/**
|
|
10
|
+
* The small line under a form control -- a hint, a format requirement or a
|
|
11
|
+
* validation message -- for a control that is not one of this package's
|
|
12
|
+
* fields. A bd-input, bd-select or bd-textarea takes its hint in its own
|
|
13
|
+
* `hint` slot, which describes the control; this element describes nothing by
|
|
14
|
+
* itself, so a page points the control's aria-describedby at it.
|
|
15
|
+
*
|
|
16
|
+
* <input id="pw" aria-describedby="pw-hint">
|
|
17
|
+
* <bd-hint id="pw-hint">At least 12 characters.</bd-hint>
|
|
18
|
+
* <bd-hint variant="error">That password is too short.</bd-hint>
|
|
19
|
+
*
|
|
20
|
+
* 3.x's bd-help-text, whose `tone` is `variant` now (N6), with `default`
|
|
21
|
+
* spelled `neutral`.
|
|
22
|
+
*/
|
|
23
|
+
export declare class BdHint extends LitElement {
|
|
24
|
+
static styles: import("lit").CSSResult[];
|
|
25
|
+
variant: HintVariant;
|
|
26
|
+
willUpdate(changed: PropertyValues<this>): void;
|
|
27
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
28
|
+
}
|
|
29
|
+
declare global {
|
|
30
|
+
interface HTMLElementTagNameMap {
|
|
31
|
+
'bd-hint': BdHint;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import{isOneOf as t}from"../shared/prop-vocabulary.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import r from"./hint.css.js";import{LitElement as i,html as a,nothing as o}from"lit";import{property as s}from"lit/decorators.js";var c=[`neutral`,`success`,`error`],l=class extends i{constructor(...e){super(...e),this.variant=`neutral`}static{this.styles=[r]}willUpdate(e){e.has(`variant`)&&!t(c,this.variant)&&(this.variant=`neutral`)}render(){return a`
|
|
2
|
+
<p role=${this.variant===`error`?`alert`:o}><slot></slot></p>
|
|
3
|
+
`}};n([s({type:String,reflect:!0})],l.prototype,`variant`,void 0),l=n([e(`bd-hint`)],l);export{l as BdHint,c as HINT_VARIANTS};
|
|
4
|
+
//# sourceMappingURL=hint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hint.js","names":["_decorate","__decorate","hintCSS","HINT_VARIANTS","BdHint","LitElement","_args","changed","isOneOf","nothing","property","defineElement"],"sources":["../../../../src/components/hint/hint.ts"],"sourcesContent":["import { LitElement, html, nothing, type PropertyValues } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { defineElement } from '#shared/define-element.ts';\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport '#tokens/tokens.ts';\nimport { hintCSS } from './hint.css.ts';\nimport { isOneOf } from '#shared/prop-vocabulary.ts';\n\n/**\n * What a hint means: a neutral note, a success, or an error. A subset of the\n * meanings every component shares (TONES in shared/prop-vocabulary.ts).\n */\nexport const HINT_VARIANTS = ['neutral', 'success', 'error'] as const;\nexport type HintVariant = typeof HINT_VARIANTS[number];\n\n/**\n * The small line under a form control -- a hint, a format requirement or a\n * validation message -- for a control that is not one of this package's\n * fields. A bd-input, bd-select or bd-textarea takes its hint in its own\n * `hint` slot, which describes the control; this element describes nothing by\n * itself, so a page points the control's aria-describedby at it.\n *\n * <input id=\"pw\" aria-describedby=\"pw-hint\">\n * <bd-hint id=\"pw-hint\">At least 12 characters.</bd-hint>\n * <bd-hint variant=\"error\">That password is too short.</bd-hint>\n *\n * 3.x's bd-help-text, whose `tone` is `variant` now (N6), with `default`\n * spelled `neutral`.\n */\n@defineElement('bd-hint')\nexport class BdHint extends LitElement {\n static styles = [hintCSS];\n\n @property({ type: String, reflect: true })\n variant: HintVariant = 'neutral';\n\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has('variant') && !isOneOf(HINT_VARIANTS, this.variant)) this.variant = 'neutral';\n }\n\n render() {\n return html`\n <p role=${this.variant === 'error' ? 'alert' : nothing}><slot></slot></p>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'bd-hint': BdHint;\n }\n}\n"],"mappings":"A,8VAYA,IAAaG,EAAgB,CAAC,UAAW,UAAW,OAAO,EAkB9CC,EAAN,cAAqBC,CAAW,C,8BAId,KAAA,QAAA,S,QAHP,KAAA,OAAA,CAACH,CAAO,C,CAKxB,WAAW,EAA+B,CACpCK,EAAQ,IAAI,SAAS,GAAK,CAACC,EAAQL,EAAe,KAAK,OAAO,IAAG,KAAK,QAAU,UACtF,CAEA,QAAS,CACP,MAAO,EAAI;gBACC,KAAK,UAAY,QAAU,QAAUM,EAAQ;KAE3D,CACF,EAZGT,EAAA,CAAAU,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAN,EAAA,UAAA,UAAA,IAAA,EAAA,EAJ1C,EAAAJ,EAAA,CAAAW,EAAc,SAAS,CAAA,EAAAP,CAAA,E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./icon.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{registerIcon as e}from"./registry.js";import"./icon.js";e(`analysis`,`
|
|
2
|
+
<svg viewBox="0 0 48 49" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M19.5 3C13.5938 3 8.15625 6.1875 5.15625 11.25C2.25 16.4062 2.25 22.6875 5.15625 27.75C8.15625 32.9062 13.5938 36 19.5 36C25.3125 36 30.75 32.9062 33.75 27.75C36.6562 22.6875 36.6562 16.4062 33.75 11.25C30.75 6.1875 25.3125 3 19.5 3ZM19.5 39C8.71875 39 0 30.2812 0 19.5C0 8.8125 8.71875 0 19.5 0C30.1875 0 39 8.8125 39 19.5C39 24.375 37.2188 28.7812 34.3125 32.25L47.5312 45.4688C48.0938 46.0312 48.0938 47.0625 47.5312 47.625C46.9688 48.1875 45.9375 48.1875 45.375 47.625L32.1562 34.3125C28.7812 37.3125 24.2812 39 19.5 39ZM12 21C12 20.25 12.6562 19.5 13.5 19.5C14.25 19.5 15 20.25 15 21V27C15 27.8438 14.25 28.5 13.5 28.5C12.6562 28.5 12 27.8438 12 27V21ZM18 12C18 11.25 18.6562 10.5 19.5 10.5C20.25 10.5 21 11.25 21 12V27C21 27.8438 20.25 28.5 19.5 28.5C18.6562 28.5 18 27.8438 18 27V12ZM24 18C24 17.25 24.6562 16.5 25.5 16.5C26.25 16.5 27 17.25 27 18V27C27 27.8438 26.25 28.5 25.5 28.5C24.6562 28.5 24 27.8438 24 27V18Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
|
5
|
+
`,{size:`2xl`});
|
|
6
|
+
//# sourceMappingURL=analysis.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"analysis.js","names":["registerIcon"],"sources":["../../../../src/components/icons/analysis.ts"],"sourcesContent":["// icons/analysis.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\nregisterIcon(\"analysis\", `\n <svg viewBox=\"0 0 48 49\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M19.5 3C13.5938 3 8.15625 6.1875 5.15625 11.25C2.25 16.4062 2.25 22.6875 5.15625 27.75C8.15625 32.9062 13.5938 36 19.5 36C25.3125 36 30.75 32.9062 33.75 27.75C36.6562 22.6875 36.6562 16.4062 33.75 11.25C30.75 6.1875 25.3125 3 19.5 3ZM19.5 39C8.71875 39 0 30.2812 0 19.5C0 8.8125 8.71875 0 19.5 0C30.1875 0 39 8.8125 39 19.5C39 24.375 37.2188 28.7812 34.3125 32.25L47.5312 45.4688C48.0938 46.0312 48.0938 47.0625 47.5312 47.625C46.9688 48.1875 45.9375 48.1875 45.375 47.625L32.1562 34.3125C28.7812 37.3125 24.2812 39 19.5 39ZM12 21C12 20.25 12.6562 19.5 13.5 19.5C14.25 19.5 15 20.25 15 21V27C15 27.8438 14.25 28.5 13.5 28.5C12.6562 28.5 12 27.8438 12 27V21ZM18 12C18 11.25 18.6562 10.5 19.5 10.5C20.25 10.5 21 11.25 21 12V27C21 27.8438 20.25 28.5 19.5 28.5C18.6562 28.5 18 27.8438 18 27V12ZM24 18C24 17.25 24.6562 16.5 25.5 16.5C26.25 16.5 27 17.25 27 18V27C27 27.8438 26.25 28.5 25.5 28.5C24.6562 28.5 24 27.8438 24 27V18Z\" fill=\"currentColor\"/>\n </svg>\n`, { size: '2xl' });\n"],"mappings":"A,+DAIAA,EAAa,WAAY;;;;EAItB,CAAE,KAAM,KAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./icon.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{registerIcon as e}from"./registry.js";import"./icon.js";e(`arrow-down`,`
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.99999 11.9823L3.56693 5.54919L1.79916 7.31696L9.11611 14.6339C9.60426 15.1221 10.3957 15.1221 10.8839 14.6339L18.2008 7.31696L16.433 5.54919L9.99999 11.9823Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
|
5
|
+
`,{size:`md`});
|
|
6
|
+
//# sourceMappingURL=arrow-down.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrow-down.js","names":["registerIcon"],"sources":["../../../../src/components/icons/arrow-down.ts"],"sourcesContent":["// icons/arrow-down.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\nregisterIcon(\"arrow-down\", `\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"none\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9.99999 11.9823L3.56693 5.54919L1.79916 7.31696L9.11611 14.6339C9.60426 15.1221 10.3957 15.1221 10.8839 14.6339L18.2008 7.31696L16.433 5.54919L9.99999 11.9823Z\" fill=\"currentColor\"/>\n </svg>\n`, { size: 'md' });\n"],"mappings":"A,+DAIAA,EAAa,aAAc;;;;EAIxB,CAAE,KAAM,IAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./icon.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{registerIcon as e}from"./registry.js";import"./icon.js";e(`arrow-right`,`
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.6339 9.11614L7.31692 1.79919L5.54915 3.56696L11.9822 10L5.54915 16.4331L7.31691 18.2008L14.6339 10.8839C15.122 10.3958 15.122 9.60429 14.6339 9.11614Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
|
5
|
+
`,{size:`md`,mirror:!0});
|
|
6
|
+
//# sourceMappingURL=arrow-right.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrow-right.js","names":["registerIcon"],"sources":["../../../../src/components/icons/arrow-right.ts"],"sourcesContent":["// icons/arrow-right.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\n/**\n * The third direction of the arrow family, and it is the same drawing as the\n * other two rather than a new one.\n *\n * Note what this family actually is: arrow-up and arrow-down are CHEVRONS,\n * not shafted arrows. This one keeps that, so \"Learn more\" gets a\n * chevron affordance rather than the \"→\" character it replaces. That is a\n * visible change and a deliberate one -- a shafted arrow would have been a new\n * shape sitting beside two carets already called \"arrow\".\n *\n * ARTWORK. Eclipse `chevron right fill`. This used to be arrow-up's path under\n * a rotate(90) transform, which guaranteed the two were the same drawing;\n * Eclipse ships a chevron-right of its own, so the transform is gone and the\n * three directions are now three separate paths that the library keeps in step.\n *\n * WEIGHT. Fill, which is what the other two chevrons are. It was briefly the\n * light weight while arrow-up and arrow-down were on fill -- measured, the\n * light edge offset is 1.250 against fill's 2.500 on a 20x20 box, so it read\n * visibly thinner than its own family. Unlike the up/down pair it is not the\n * other state of one control, so it never flickered; it was simply a family\n * that did not agree. All three move together or not at all.\n *\n * \"Learn more\", a next step: forward, so it mirrors to point the way the line\n * reads. The up and down chevrons are not, and do not.\n */\nregisterIcon(\"arrow-right\", `\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"none\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14.6339 9.11614L7.31692 1.79919L5.54915 3.56696L11.9822 10L5.54915 16.4331L7.31691 18.2008L14.6339 10.8839C15.122 10.3958 15.122 9.60429 14.6339 9.11614Z\" fill=\"currentColor\"/>\n </svg>\n`, { size: 'md', mirror: true });\n"],"mappings":"A,+DA6BAA,EAAa,cAAe;;;;EAIzB,CAAE,KAAM,KAAM,OAAQ,EAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./icon.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{registerIcon as e}from"./registry.js";import"./icon.js";e(`arrow-up`,`
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.99999 8.01777L16.433 14.4508L18.2008 12.6831L10.8839 5.36612C10.3957 4.87796 9.60426 4.87796 9.1161 5.36612L1.79916 12.6831L3.56693 14.4508L9.99999 8.01777Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
|
5
|
+
`,{size:`md`});
|
|
6
|
+
//# sourceMappingURL=arrow-up.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrow-up.js","names":["registerIcon"],"sources":["../../../../src/components/icons/arrow-up.ts"],"sourcesContent":["// icons/arrow-up.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\n/**\n * ARTWORK. Eclipse `chevron up fill`, and the weight is the point.\n *\n * This briefly shipped as Eclipse `chevron up` -- the LIGHT weight -- while\n * arrow-down was on fill. The two are the two states of one control:\n * accordion.ts renders up when open and down when closed, and bd-footer's\n * country toggle does the same. Measured off the paths, fill is exactly 2.00x\n * the light edge offset (2.500 against 1.250 on a 20x20 box), so the chevron\n * visibly doubled in weight every time someone collapsed an accordion. Two\n * legitimate library weights, wrong together.\n *\n * If this is ever moved back to light, arrow-down has to move with it.\n */\nregisterIcon(\"arrow-up\", `\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"none\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M9.99999 8.01777L16.433 14.4508L18.2008 12.6831L10.8839 5.36612C10.3957 4.87796 9.60426 4.87796 9.1161 5.36612L1.79916 12.6831L3.56693 14.4508L9.99999 8.01777Z\" fill=\"currentColor\"/>\n </svg>\n`, { size: 'md' });\n"],"mappings":"A,+DAiBAA,EAAa,WAAY;;;;EAItB,CAAE,KAAM,IAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./icon.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{registerIcon as e}from"./registry.js";import"./icon.js";e(`arrow`,`
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.482 11.2501L10.9327 14.7993L12.7005 16.5671L19.2675 10L12.7005 3.43298L10.9327 5.20075L14.482 8.75006L1.875 8.75006V11.2501L14.482 11.2501Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
|
5
|
+
`,{size:`sm`,mirror:!0});
|
|
6
|
+
//# sourceMappingURL=arrow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"arrow.js","names":["registerIcon"],"sources":["../../../../src/components/icons/arrow.ts"],"sourcesContent":["// icons/arrow.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\n/**\n * The trailing arrow on the contact button.\n *\n * It started in src/components/button/icons.js, the only place in the package\n * that registered an icon outside this directory, with its own :host and\n * .arrow-icon rules -- inline-flex, height from --icon-sm-size, fill:\n * currentColor -- which are exactly what bd-icon does, so the move deleted\n * them rather than moving them. It takes `size` from the icon scale like every\n * sibling, where before it was fixed at sm whatever a consumer asked for.\n *\n * ARTWORK. Eclipse `arrow right fill`, exported from the Icon inventory table in the\n * foundation Figma file. It replaces a 512x404.39 drawing of our own, and that\n * changed the aspect ratio: the old box was 1.266 wide per unit of height, the\n * new one is square. bd-icon sizes by height with width auto, so at sm this\n * arrow went from 20.26x16 to 16x16 -- narrower beside the same label.\n *\n * NAMING, WHICH IS THE CONFUSING PART. This is the only TRUE arrow in the set:\n * a shaft with a head. arrow-up, arrow-down and arrow-right are CHEVRONS\n * despite the name -- carets with no shaft, on a 20x20 box. So \"arrow\" means\n * two different drawings here, and a caller reaching for arrow-right expecting\n * this one gets a chevron. Renaming a drawing is a public-API change and is\n * not done here; it is recorded so the next person meets it in the file\n * rather than in a review.\n *\n * Forward, so it mirrors: it points the way the line reads.\n */\nregisterIcon(\"arrow\", `\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"none\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M14.482 11.2501L10.9327 14.7993L12.7005 16.5671L19.2675 10L12.7005 3.43298L10.9327 5.20075L14.482 8.75006L1.875 8.75006V11.2501L14.482 11.2501Z\" fill=\"currentColor\"/>\n </svg>\n`, { size: 'sm', mirror: true });\n"],"mappings":"A,+DA8BAA,EAAa,QAAS;;;;EAInB,CAAE,KAAM,KAAM,OAAQ,EAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./icon.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{registerIcon as e}from"./registry.js";import"./icon.js";e(`brand-signature`,`
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 182 24" fill="none">
|
|
3
|
+
<path d="M157.338 11.7451L158.309 15.626H158.462L159.457 11.7451L161.424 5.48926H164.947L159.789 20.9619C159.1 23.0299 157.977 24 155.679 24H153.33V21.0635H155.857L156.317 19.583L151.619 5.48926H155.372L157.338 11.7451ZM26.6562 13.583C26.6563 15.2171 27.1926 16.1357 28.5713 16.1357C29.7457 16.1356 30.9453 15.4718 30.9453 14.1953V5.48926H34.7246V18.8936H30.9453V16.6465H30.8174C30.3578 17.9997 29.2602 19.2002 27.0645 19.2002C24.3326 19.2001 22.877 17.2852 22.877 13.915V5.48926H26.6562V13.583ZM41.7207 5.18262C44.5293 5.18262 45.8323 5.94868 47.1855 7.27637L45.0146 9.49805C44.1722 8.65557 43.0491 8.11926 41.9258 8.11914C40.6494 8.11914 40.1379 8.57851 40.1377 9.24219C40.1377 9.95699 40.4445 10.3399 41.542 10.4932L43.0488 10.6982C45.9595 11.0812 47.4658 12.409 47.4658 14.7324C47.4655 17.311 45.1674 19.2002 41.7207 19.2002C39.1422 19.2001 37.4568 18.3317 36.0781 16.7998L38.2998 14.5537C39.2444 15.6003 40.3935 16.2636 41.8486 16.2637C43.3295 16.2637 43.8408 15.7788 43.8408 14.9873C43.8408 14.3235 43.4318 13.9919 42.4873 13.8643L41.0322 13.6855C37.9939 13.3026 36.5127 11.9744 36.5127 9.54883C36.5127 6.97021 38.5294 5.18279 41.7207 5.18262ZM62.8281 5.18262C67.2706 5.18271 69.0576 8.3999 69.0576 12.0254V13.1494H60.4531V13.3535C60.4532 15.115 61.3982 16.2382 63.415 16.2383C64.998 16.2383 65.8664 15.498 66.709 14.6299L68.5986 16.9785C67.3987 18.3572 65.4324 19.2001 62.9814 19.2002C58.8707 19.2002 56.5469 16.4682 56.5469 12.1787C56.5469 7.94034 58.794 5.18262 62.8281 5.18262ZM82.6631 18.8936H78.8838V16.6465H78.7568C78.3738 18.1018 76.8925 19.2002 75.1562 19.2002C71.7605 19.2001 69.999 16.7234 69.999 12.1787C69.999 7.63401 71.7605 5.18269 75.1562 5.18262C76.8925 5.18262 78.3738 6.25545 78.7568 7.73633H78.8838V0H82.6631V18.8936ZM145.009 5.18262C148.788 5.18262 150.728 6.91901 150.729 10.085V15.957H151.979V18.8936H149.886C148.533 18.8936 147.562 17.9747 147.332 16.5449H147.18C146.771 18.2811 145.29 19.2002 143.247 19.2002C140.566 19.2001 139.086 17.6172 139.086 15.2939C139.086 12.4599 141.281 11.1065 144.83 11.1064H146.949V10.2637C146.949 8.96169 146.311 8.14467 144.729 8.14453C143.222 8.14453 142.43 8.9105 141.843 9.72754L139.596 7.73633C140.668 6.15336 142.2 5.18266 145.009 5.18262ZM170.123 5.18262C172.931 5.18265 174.234 5.94872 175.587 7.27637L173.417 9.49805C172.574 8.65548 171.451 8.11915 170.327 8.11914C169.051 8.11914 168.54 8.57851 168.54 9.24219C168.54 9.95709 168.846 10.34 169.944 10.4932L171.45 10.6982C174.361 11.0812 175.867 12.409 175.867 14.7324C175.867 17.3109 173.57 19.2001 170.123 19.2002C167.544 19.2002 165.859 18.3317 164.48 16.7998L166.701 14.5537C167.646 15.6005 168.796 16.2637 170.251 16.2637C171.732 16.2636 172.242 15.7787 172.242 14.9873C172.242 14.3235 171.833 13.9919 170.889 13.8643L169.434 13.6855C166.395 13.3026 164.914 11.9744 164.914 9.54883C164.914 6.97009 166.932 5.18262 170.123 5.18262ZM87.3281 14.5791C88.86 14.5791 89.5751 15.4467 89.5752 16.6211V17.1318C89.5752 18.3063 88.8601 19.1748 87.3281 19.1748C85.7964 19.1747 85.082 18.3062 85.082 17.1318V16.6211C85.0821 15.4468 85.7965 14.5792 87.3281 14.5791ZM179.376 14.5791C180.908 14.5791 181.623 15.4467 181.623 16.6211V17.1318C181.623 18.3063 180.908 19.1748 179.376 19.1748C177.844 19.1747 177.13 18.3062 177.13 17.1318V16.6211C177.13 15.4468 177.844 14.5793 179.376 14.5791ZM13.5312 4.51855H8.70605V18.8936H4.8252V4.51855H0V1.07227H13.5312V4.51855ZM17.5508 8.39941H17.6777C17.9842 6.91867 19.0061 5.48926 21.0996 5.48926H21.7637V9.0127H20.8184C18.6227 9.01273 17.5508 9.49825 17.5508 11.0557V18.8936H13.7715V5.48926H17.5508V8.39941ZM53.2725 5.48926H55.9277V8.42578H53.2725V15.958H55.7236V18.8936H53.4766C50.8725 18.8934 49.4941 17.5404 49.4941 14.9873V8.42578H47.6045V5.48926H48.5488C49.5701 5.48926 49.8769 4.97864 49.877 4.05957V1.86328H53.2725V5.48926ZM112.16 18.8936H108.126L106.85 14.6553H100.9L99.624 18.8936H95.6924L101.564 1.07227H106.364L112.16 18.8936ZM117.137 15.957H118.822V18.8936H117.111C114.533 18.8936 113.358 17.5913 113.358 15.2168V0H117.137V15.957ZM123.601 10.9023L124.52 14.9873H124.622L125.694 10.9023L127.227 5.48926H130.673L132.23 10.9023L133.328 14.9873H133.431L134.35 10.9023L135.652 5.48926H139.15L135.447 18.8936H131.49L129.856 13.2256L128.911 9.75293H128.835L127.916 13.2256L126.281 18.8936H122.4L118.647 5.48926H122.299L123.601 10.9023ZM145.111 13.251C143.656 13.251 142.89 13.7876 142.89 14.7578V15.1406C142.89 16.1107 143.528 16.5703 144.651 16.5703C145.902 16.5703 146.949 16.0595 146.949 14.834V13.251H145.111ZM76.4072 8.24707C74.9777 8.2472 73.9309 9.34452 73.9307 11.0293V13.3535C73.9308 15.0384 74.9776 16.1366 76.4072 16.1367C77.837 16.1367 78.8838 15.3955 78.8838 14.1699V10.2129C78.8838 8.98734 77.837 8.24707 76.4072 8.24707ZM101.819 11.3613H105.905L103.913 4.5957H103.786L101.819 11.3613ZM62.9043 7.96582C61.398 7.96593 60.4531 9.06411 60.4531 10.7236V10.9277H65.1514V10.6982C65.1514 9.06417 64.4107 7.96582 62.9043 7.96582Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
|
5
|
+
`,{size:`lg`});
|
|
6
|
+
//# sourceMappingURL=brand-signature.js.map
|