@repobit/dex-system-design 3.1.2 → 4.1.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 +1075 -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 +16 -2
- package/dist/src/components/logo-marquee/logo-marquee.js +10 -12
- 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 +85 -0
- package/dist/src/components/select/select.js +36 -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 +35 -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 +4110 -2766
- 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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"anchor-nav.js","names":["_decorate","__decorate","parseLengthToPx","s","value","root","sectionIdOf","href","n","FAR","NATIVE_POPOVER","BdAnchorNavItem","defineElement","BdAnchorNav","LitElement","ensembleCSS","anchorNavStyles","ObserverController","links","observer","changedProperties","prev","indicator","activeLink","row","scale","inner","gap","top","place","atTop","unlock","lastY","unlockOnceStill","sections","i","offset","line","viewport","el","found","entries","target","isIntersecting","boundingClientRect","rootBounds","item","next","matchesBelow","barPx","stickyTopPx","insetPx","event","id","sectionId","before","panel","m","resolved","dropdownLabel","linkRow","cls","isActive","nothing","e","title","innerStyle","state","property"],"sources":["../../../../src/components/anchor/anchor-nav.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 { ObserverController } from \"#shared/controller.observer.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"#components/icons/arrow-down-icon.ts\";\nimport \"#components/button/button.ts\";\nimport \"#components/link/link.ts\";\nimport { anchorNavStyles } from \"./anchor-nav.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\nimport { matchesBelow } from \"#shared/token-scales.ts\";\n\nfunction parseLengthToPx(value: string) {\n const s = (value || \"\").trim();\n if (!s) return 0;\n if (s.endsWith(\"px\")) return parseFloat(s);\n if (s.endsWith(\"rem\")) {\n const root = parseFloat(getComputedStyle(document.documentElement).fontSize) || 16;\n return parseFloat(s) * root;\n }\n return parseFloat(s) || 0;\n}\n\nconst sectionIdOf = (href: string, n: number | string) => (href || \"\").replace(/^#/, \"\") || `anchor-${n}-section`;\n\n/* \"The rest of the page\" as a root margin: a hundred viewports. Each observer\n below watches one edge, and a jump only registers if it carries a section\n across that edge while still inside the root -- so the root reaches this far\n past the edge, beyond any jump a real page makes. */\nconst FAR = \"10000%\";\n\n/* The dropdown panel is a popover only where it can also be anchored to its\n toggle: in the top layer it leaves the toggle's box, and without anchor\n positioning it would sit in the middle of the viewport. Both are newer than\n the Widely available target, so elsewhere the panel keeps its z-index and\n the document listeners close it. */\nconst NATIVE_POPOVER = \"popover\" in HTMLElement.prototype && CSS.supports(\"anchor-name: --a\");\n\ninterface AnchorNavItem {\n title: string;\n href?: string;\n}\n\ninterface ResolvedItem {\n title: string | null;\n href : string;\n id : string;\n}\n\n@defineElement(\"bd-anchor-nav-item\")\nclass BdAnchorNavItem extends HTMLElement {\n constructor() {\n super();\n this.attachShadow({ mode: \"open\" });\n }\n connectedCallback() { this.render(); }\n render() { this.shadowRoot!.innerHTML = `<slot></slot>`; }\n}\n\n@defineElement(\"bd-anchor-nav\")\nclass BdAnchorNav extends LitElement {\n static styles = [ensembleCSS, anchorNavStyles];\n\n @state()\n activeId = \"\";\n @property({ type: String, attribute: \"aria-label\" })\n navLabel = \"Section navigation\";\n @state()\n _dropdownOpen = false;\n @state()\n _mobileCtaRevealed = false;\n @property({ type: String, attribute: \"cta-label\" })\n ctaLabel = \"Buy now\";\n @property({ type: String, attribute: \"cta-href\" })\n ctaHref = \"\";\n @property({ type: Array })\n items: AnchorNavItem[] | null = null;\n @property({ type: String, attribute: \"max-width\" })\n maxWidth = \"\";\n @property({ type: String, attribute: \"sticky-top\" })\n stickyTop = \"0px\";\n\n _panelId : string;\n _spyFrame : number;\n _spyObserver : IntersectionObserver | null;\n _ctaObserver : IntersectionObserver | null;\n _layoutObserver : ResizeObserver | null;\n _sections : (HTMLElement | null)[];\n _spyLine : number;\n _spyViewport : number;\n _passed : Map<Element | null, boolean | undefined>;\n _firstSectionBehind : boolean;\n _programmaticScrollTargetId: string | null;\n _unlockScrollSpyTimer : number | null;\n _scrollEndUnlockHandler : (() => void) | null;\n _onStickyScroll : (() => void) | null;\n _restoreScrollBehavior : (() => void) | null;\n _indicatorReady : boolean;\n\n /* The indicator follows the link row's size and the bar's for as long as\n the nav is connected. It used to start in firstUpdated and stop on\n disconnect, so a nav moved in the page left its indicator where it was. */\n _indicatorSize = new ObserverController(this,\n () => new ResizeObserver(() => this._updateIndicator(\"ResizeObserver\")),\n observer => {\n const links = this.renderRoot.querySelector(\".anchor-links--desktop\");\n if (!links) return;\n observer.observe(links);\n observer.observe(this);\n });\n\n constructor() {\n super();\n this._panelId = `bd-anchor-nav-panel-${Math.random().toString(36)\n .slice(2, 11)}`;\n this._onDocumentPointerDown = this._onDocumentPointerDown.bind(this);\n this._onKeydown = this._onKeydown.bind(this);\n this._onSectionsCrossLine = this._onSectionsCrossLine.bind(this);\n this._onFirstSectionCross = this._onFirstSectionCross.bind(this);\n this._scheduleSpy = this._scheduleSpy.bind(this);\n this._spyFrame = 0;\n this._spyObserver = null;\n this._ctaObserver = null;\n this._layoutObserver = null;\n this._sections = [];\n this._spyLine = 0;\n this._spyViewport = 0;\n this._passed = new Map();\n this._firstSectionBehind = false;\n this._programmaticScrollTargetId = null;\n this._unlockScrollSpyTimer = null;\n this._scrollEndUnlockHandler = null;\n this._onStickyScroll = null;\n this._restoreScrollBehavior = null;\n this._handleResize = this._handleResize.bind(this);\n this._indicatorReady = false;\n }\n\n connectedCallback() {\n super.connectedCallback();\n window.addEventListener(\"resize\", this._handleResize);\n if (!NATIVE_POPOVER) {\n document.addEventListener(\"pointerdown\", this._onDocumentPointerDown, true);\n document.addEventListener(\"keydown\", this._onKeydown, true);\n }\n this._initSticky();\n /* The bar's height moves the line the sections are read against, and the\n page growing may bring a section that was not there yet. */\n this._layoutObserver = new ResizeObserver(this._scheduleSpy);\n this._layoutObserver.observe(this);\n this._layoutObserver.observe(document.documentElement);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this._cancelScrollSpyUnlock();\n this._restoreScrollBehavior?.();\n window.removeEventListener(\"resize\", this._handleResize);\n document.removeEventListener(\"pointerdown\", this._onDocumentPointerDown, true);\n document.removeEventListener(\"keydown\", this._onKeydown, true);\n this._destroySticky();\n this._unobserveSections();\n }\n\n /* The first item is active before the first render, not after it: state set\n in firstUpdated or updated starts a second render, the one Lit warns about\n as change-in-update. */\n willUpdate(changedProperties: PropertyValues<this>) {\n super.willUpdate(changedProperties);\n if (!this.hasUpdated && !this.activeId && this._resolvedItems().length) this.activeId = \"anchor-1\";\n }\n\n updated(changedProperties: PropertyValues<this>) {\n super.updated(changedProperties);\n\n if (changedProperties.has(\"stickyTop\")) {\n this.style.setProperty(\"--sticky-top\", this.stickyTop || \"0px\");\n }\n\n if (changedProperties.has(\"stickyTop\") || changedProperties.has(\"items\")) {\n this._scheduleSpy();\n }\n\n if (changedProperties.has(\"activeId\") || changedProperties.has(\"items\")) {\n requestAnimationFrame(() => this._updateIndicator(\"updated\"));\n }\n\n if (!changedProperties.has(\"activeId\")) return;\n const prev = changedProperties.get(\"activeId\");\n if (prev === undefined || prev === \"\") return;\n if (prev === this.activeId) return;\n queueMicrotask(() => this._playMobileDropdownLabelSwap());\n }\n\n firstUpdated() {\n requestAnimationFrame(() => this._updateIndicator(\"firstUpdated\"));\n }\n\n /* The indicator spans the link row and is moved and sized on the\n compositor: translate to the current link's corner, scale to its width.\n It used to animate top and width, which laid the bar out again on every\n frame of the slide. The offsets are physical -- offsetLeft is -- so the\n indicator is anchored at the row's physical left, on a right-to-left\n page too. */\n _updateIndicator(_caller?: string) {\n const indicator = this.renderRoot?.querySelector<HTMLElement>(\".anchor-indicator\");\n const activeLink = this.renderRoot?.querySelector<HTMLElement>(\n \".anchor-links--desktop .anchor-link[current]\"\n );\n if (!indicator || !activeLink) return;\n\n const row = indicator.offsetWidth;\n const scale = row ? activeLink.offsetWidth / row : 0;\n // The bar's bottom edge is the inner's padding-bottom below the link.\n const inner = this.renderRoot.querySelector(\".bd-anchor-nav__inner\");\n const gap = inner ? parseFloat(getComputedStyle(inner).paddingBottom) || 0 : 0;\n const top = activeLink.offsetTop + activeLink.offsetHeight + gap;\n\n const place = () => {\n indicator.style.translate = `${activeLink.offsetLeft}px ${top}px`;\n indicator.style.scale = `${scale} 1`;\n };\n\n if (!this._indicatorReady) {\n indicator.style.transition = \"none\";\n place();\n void indicator.offsetWidth;\n indicator.style.transition = \"\";\n this._indicatorReady = true;\n return;\n }\n\n place();\n }\n\n _handleResize() {\n this._updateIndicator(\"windowResize\");\n // The viewport's height places the spy's line inside its root.\n this._scheduleSpy();\n }\n\n /* The bar sticks with position: sticky, which keeps its own place in the\n flow and lets go at the end of its parent, so nothing here positions it.\n It used to: past its top it switched to position: fixed at the\n viewport's width, measured its parent to know when to let go, and left a\n placeholder behind to hold its space.\n\n While stuck it draws a shadow. A scroll-state container query says when\n that is, and it is newer than the Widely available target; where it is\n missing, this tells instead: the bar sits at its sticky top -- read as\n the browser resolved it, as _stickyOffsetPx() reads it, so calc(), em\n and custom properties count -- and the page has scrolled. A bar that\n merely rests at that line on an unscrolled page is not stuck, as the\n query would not call it. */\n _initSticky() {\n this.style.setProperty(\"--sticky-top\", this.stickyTop || \"0px\");\n if (CSS.supports(\"container-type: scroll-state\")) return;\n\n this._onStickyScroll = () => {\n const top = parseFloat(getComputedStyle(this).top) || 0;\n const atTop = Math.abs(this.getBoundingClientRect().top - top) < 1;\n this.classList.toggle(\"is-sticky\", atTop && window.scrollY > 0);\n };\n window.addEventListener(\"scroll\", this._onStickyScroll, { passive: true });\n window.addEventListener(\"resize\", this._onStickyScroll, { passive: true });\n /* Removed within a frame of connecting, the bar has torn this down. */\n requestAnimationFrame(() => this._onStickyScroll?.());\n }\n\n _destroySticky() {\n if (this._onStickyScroll) {\n window.removeEventListener(\"scroll\", this._onStickyScroll);\n window.removeEventListener(\"resize\", this._onStickyScroll);\n this._onStickyScroll = null;\n }\n this.classList.remove(\"is-sticky\");\n }\n\n _cancelScrollSpyUnlock() {\n if (this._unlockScrollSpyTimer != null) {\n clearTimeout(this._unlockScrollSpyTimer);\n this._unlockScrollSpyTimer = null;\n }\n if (this._scrollEndUnlockHandler) {\n window.removeEventListener(\"scrollend\", this._scrollEndUnlockHandler);\n this._scrollEndUnlockHandler = null;\n }\n }\n\n /* The click's item stays active until the scroll is over. scrollend says so\n where the browser has it. The timer is for a click that scrolls nothing,\n which no scrollend follows, and for browsers without the event: it ends\n the lock once the page has stopped moving. It used to end it after a\n fixed second, and a long smooth scroll outlasts that -- measured 1.3s\n from the first section to the third on the playground at 1280, with the\n second item lit for the last 250ms of it. */\n _scheduleScrollSpyUnlock() {\n this._cancelScrollSpyUnlock();\n const unlock = () => {\n this._cancelScrollSpyUnlock();\n this._restoreScrollBehavior?.();\n this._programmaticScrollTargetId = null;\n this._runScrollSpy();\n };\n this._scrollEndUnlockHandler = unlock;\n window.addEventListener(\"scrollend\", unlock, { passive: true });\n let lastY = window.scrollY;\n const unlockOnceStill = () => {\n if (window.scrollY === lastY) return unlock();\n lastY = window.scrollY;\n this._unlockScrollSpyTimer = window.setTimeout(unlockOnceStill, 250);\n };\n this._unlockScrollSpyTimer = window.setTimeout(unlockOnceStill, 250);\n }\n\n _onKeydown(e: KeyboardEvent) {\n if (e.key === \"Escape\" && this._dropdownOpen) {\n this._dropdownOpen = false;\n this.requestUpdate();\n this.updateComplete.then(() =>\n this.renderRoot?.querySelector<HTMLButtonElement>(\".bd-anchor-nav__dropdown-toggle\")?.focus());\n }\n }\n\n _onDocumentPointerDown(e: PointerEvent) {\n if (!this._dropdownOpen) return;\n const path = e.composedPath();\n if (path.includes(this)) return;\n this._dropdownOpen = false;\n this.requestUpdate();\n }\n\n _scheduleSpy() {\n if (this._spyFrame) return;\n this._spyFrame = requestAnimationFrame(() => {\n this._spyFrame = 0;\n this._observeSections();\n });\n }\n\n /* Scroll-spy, without reading the page on every scroll. The active item is\n the last section whose top has reached a line just under the stuck bar,\n and two IntersectionObservers say when an edge crosses:\n\n - the spy's root ends at that line and reaches FAR above it, so a section\n is inside it exactly while its top is past the line;\n - the CTA's root starts at the top of the viewport and reaches FAR below,\n so the first section leaves it exactly when its bottom scrolls off.\n\n Each entry carries the target's box, so the callbacks read nothing. The\n line depends on the bar's height, the sticky top and the viewport, and a\n root margin cannot change, so the observers are rebuilt when one moves. */\n _observeSections() {\n const sections = this._resolvedItems()\n .map(({ href }, i) => document.getElementById(sectionIdOf(href, i + 1)));\n const offset = this._stickyOffsetPx();\n // 2px under where a click leaves the section, so a section the bar has just\n // scrolled to counts as reached.\n const line = offset + 2;\n const viewport = document.documentElement.clientHeight;\n\n if (line === this._spyLine && viewport === this._spyViewport &&\n sections.length === this._sections.length &&\n sections.every((el, i) => el === this._sections[i])) return;\n\n /* A section a click scrolls to stops under the bar, not behind it, and so\n does one the URL's hash or the back button brings into view. */\n for (const el of this._sections) {\n if (el && !sections.includes(el)) el.style.removeProperty(\"scroll-margin-top\");\n }\n for (const el of sections) el?.style.setProperty(\"scroll-margin-top\", `${offset}px`);\n\n this._spyObserver?.disconnect();\n this._ctaObserver?.disconnect();\n this._spyObserver = this._ctaObserver = null;\n if (sections[0] !== this._sections[0]) this._firstSectionBehind = false;\n this._passed = new Map(sections.filter((el) => this._passed.has(el))\n .map((el) => [el, this._passed.get(el)]));\n this._sections = sections;\n this._spyLine = line;\n this._spyViewport = viewport;\n\n const found = sections.filter(Boolean) as HTMLElement[];\n if (found.length) {\n this._spyObserver = new IntersectionObserver(this._onSectionsCrossLine, {\n root : document,\n rootMargin: `${FAR} 0px ${line - viewport}px 0px`\n });\n found.forEach((el) => this._spyObserver!.observe(el));\n }\n if (sections[0]) {\n this._ctaObserver = new IntersectionObserver(this._onFirstSectionCross, {\n root : document,\n rootMargin: `0px 0px ${FAR} 0px`\n });\n this._ctaObserver.observe(sections[0]);\n }\n this._runScrollSpy();\n }\n\n _unobserveSections() {\n cancelAnimationFrame(this._spyFrame);\n this._spyFrame = 0;\n this._layoutObserver?.disconnect();\n this._spyObserver?.disconnect();\n this._ctaObserver?.disconnect();\n this._layoutObserver = this._spyObserver = this._ctaObserver = null;\n for (const el of this._sections) el?.style.removeProperty(\"scroll-margin-top\");\n this._sections = [];\n this._passed = new Map();\n }\n\n /* A section is past the line while it is inside the root, or once it has\n left the root's far top. Not its top against the line: a section the page\n still hides (display: none until its blocks load) reports an empty box at\n 0, above the line, and when it shows up below the line it is still\n outside the root, so no entry comes to take that back -- the last such\n section stayed active on load and after every click. */\n _onSectionsCrossLine(entries: IntersectionObserverEntry[]) {\n for (const { target, isIntersecting, boundingClientRect, rootBounds } of entries) {\n this._passed.set(target, isIntersecting || boundingClientRect.bottom < rootBounds!.top);\n }\n this._runScrollSpy();\n }\n\n _onFirstSectionCross(entries: IntersectionObserverEntry[]) {\n const { boundingClientRect, rootBounds } = entries[entries.length - 1];\n this._firstSectionBehind = boundingClientRect.bottom <= rootBounds!.top;\n this._runScrollSpy();\n }\n\n _resolvedItems(): ResolvedItem[] {\n if (this.items && this.items.length) {\n return this.items.map((item, i) => ({\n title: item.title,\n href : item.href || `#anchor-${i + 1}-section`,\n id : `anchor-${i + 1}`\n }));\n }\n return Array.from(this.children)\n .filter((el) => el.tagName === \"BD-ANCHOR-NAV-ITEM\")\n .map((el, i) => ({\n title: el.getAttribute(\"title\"),\n href : el.getAttribute(\"href\") || `#anchor-${i + 1}-section`,\n id : `anchor-${i + 1}`\n }));\n }\n\n /* Read off what the observers last reported; while a click's scroll runs,\n the item it chose stays active. The CTA flag is set at every width, since\n only the stylesheet below md hides the CTA until the first section is\n behind the reader. */\n _runScrollSpy() {\n let next = this.activeId;\n\n if (this._sections.length && !this._programmaticScrollTargetId) {\n next = \"anchor-1\";\n this._sections.forEach((el, i) => {\n if (el && this._passed.get(el)) next = `anchor-${i + 1}`;\n });\n }\n\n this.activeId = next;\n this._mobileCtaRevealed = !this._sections[0] || this._firstSectionBehind;\n }\n\n _playMobileDropdownLabelSwap() {\n if (typeof window === \"undefined\") return;\n if (window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches) return;\n if (!matchesBelow('md')) return;\n const el = this.renderRoot?.querySelector<HTMLElement>(\".bd-anchor-nav__dropdown-label\");\n if (!el) return;\n el.classList.remove(\"bd-anchor-nav__dropdown-label--swap\");\n void el.offsetWidth;\n el.classList.add(\"bd-anchor-nav__dropdown-label--swap\");\n el.addEventListener(\n \"animationend\",\n () => el.classList.remove(\"bd-anchor-nav__dropdown-label--swap\"),\n { once: true }\n );\n }\n\n /* Where a section stops under the bar: the sticky top, the bar, and a gap.\n The sticky top is read as the browser resolved it, so any length\n sticky-top accepts -- rem, calc(), a custom property -- counts. */\n _stickyOffsetPx() {\n const barPx = this.offsetHeight;\n const stickyTopPx = parseFloat(getComputedStyle(this).top) || 0;\n const insetRaw = getComputedStyle(this).getPropertyValue(\"--spacing-8\")\n .trim();\n const insetPx = parseLengthToPx(insetRaw) || 8;\n if (barPx > 0) return barPx + insetPx + stickyTopPx;\n const fallback = getComputedStyle(this).getPropertyValue(\"--spacing-128\")\n .trim();\n return parseLengthToPx(fallback) || 128;\n }\n\n /* A section link is an ordinary fragment link, and the browser follows it:\n the hash goes into the URL as a history entry, :target moves to the\n section, and the next Tab starts from there. This used to stop the\n click and scroll by hand -- pushState and scrollIntoView -- which kept\n the URL but left :target and the Tab position behind, so a keyboard\n reader who chose \"Pricing\" tabbed on through the nav. The section's own\n scroll-margin-top keeps it clear of the bar.\n\n The click's item stays current until the scroll is over, so the spy\n does not light the sections it passes on the way. A click with a\n modifier, or on an item whose section is not on this page, is left to\n the browser as an ordinary link. */\n handleClick(event: MouseEvent, id: string, href: string) {\n if (event.button !== 0 || event.metaKey || event.ctrlKey || event.shiftKey || event.altKey) return;\n this._cancelScrollSpyUnlock();\n this._programmaticScrollTargetId = null;\n this.activeId = id;\n const sectionId = sectionIdOf(href, id.replace(/^anchor-/, \"\"));\n if (!document.getElementById(sectionId)) return;\n\n this._programmaticScrollTargetId = id;\n this._smoothFragmentScroll();\n this._scheduleScrollSpyUnlock();\n }\n\n /* Fragment navigation scrolls with the root's scroll-behavior, and the\n page's <html> is not this component's to style. So for a reader who has\n not asked for less motion, the click sets it to smooth for the length of\n this one scroll -- before the navigation runs, which is after the click\n listeners -- and gives back whatever the page had when the scroll ends. */\n _smoothFragmentScroll() {\n if (this._restoreScrollBehavior) return;\n if (!window.matchMedia(\"(prefers-reduced-motion: no-preference)\").matches) return;\n const root = document.documentElement;\n const before = root.style.scrollBehavior;\n root.style.scrollBehavior = \"smooth\";\n this._restoreScrollBehavior = () => {\n root.style.scrollBehavior = before;\n this._restoreScrollBehavior = null;\n };\n }\n\n /* With a native popover, popovertarget opens and closes the panel and the\n toggle event reports it; this handler is the fallback's. */\n _toggleDropdown(e: Event) {\n if (NATIVE_POPOVER) return;\n e.preventDefault();\n e.stopPropagation();\n this._dropdownOpen = !this._dropdownOpen;\n }\n\n _onPanelToggle(e: ToggleEvent) {\n this._dropdownOpen = e.newState === \"open\";\n }\n\n _selectFromDropdown(e: MouseEvent, id: string, href: string) {\n if (NATIVE_POPOVER) {\n const panel = this.renderRoot.querySelector<HTMLElement>(\".bd-anchor-nav__dropdown-panel\");\n if (panel?.matches(\":popover-open\")) panel.hidePopover();\n } else {\n this._dropdownOpen = false;\n }\n this.handleClick(e, id, href);\n }\n\n _activeLabel(resolved: ResolvedItem[]) {\n const m = /^anchor-(\\d+)$/.exec(this.activeId || \"\");\n const n = m ? parseInt(m[1], 10) : 1;\n const idx = Math.min(Math.max(n - 1, 0), Math.max(0, resolved.length - 1));\n return resolved[idx]?.title || resolved[0]?.title || \"Section\";\n }\n\n render() {\n const resolved = this._resolvedItems();\n const dropdownLabel = this._activeLabel(resolved);\n\n const linkRow = (cls: string) => html`\n <div class=\"${cls}\">\n ${resolved.map(({ id, title, href }) => {\n const isActive = this.activeId === id;\n return html`\n <bd-link\n href=\"${href}\"\n variant=\"primary\"\n no-underline\n class=\"anchor-link\"\n current=${isActive ? \"location\" : nothing}\n @click=${(e: MouseEvent) => this.handleClick(e, id, href)}\n >${title}</bd-link>\n `;\n })}\n <span class=\"anchor-indicator\" aria-hidden=\"true\"></span>\n </div>\n `;\n\n const innerStyle = this.maxWidth ? `max-width: ${this.maxWidth};` : '';\n\n return html`\n <nav aria-label=${this.navLabel}>\n <div\n class=\"bd-ensemble bd-anchor-nav__inner\"\n part=\"inner\"\n style=\"${innerStyle}\"\n ?data-mobile-cta-visible=${this._mobileCtaRevealed}\n >\n ${linkRow(\"anchor-links anchor-links--desktop\")}\n\n <div class=\"bd-anchor-nav__dropdown\" part=\"dropdown\">\n <button\n type=\"button\"\n class=\"bd-anchor-nav__dropdown-toggle\"\n aria-expanded=${this._dropdownOpen ? \"true\" : \"false\"}\n aria-controls=${this._panelId}\n popovertarget=${NATIVE_POPOVER ? this._panelId : nothing}\n @click=${this._toggleDropdown}\n >\n <span class=\"bd-anchor-nav__dropdown-label\">${dropdownLabel}</span>\n <span class=\"bd-anchor-nav__dropdown-chevron\" aria-hidden=\"true\">\n <bd-arrow-down-icon size=\"md\"></bd-arrow-down-icon>\n </span>\n </button>\n <div\n class=\"bd-anchor-nav__dropdown-panel\"\n id=${this._panelId}\n popover=${NATIVE_POPOVER ? \"auto\" : nothing}\n ?hidden=${!NATIVE_POPOVER && !this._dropdownOpen}\n @toggle=${this._onPanelToggle}\n >\n <ul class=\"bd-anchor-nav__dropdown-list\">\n ${resolved.map(({ id, title, href }) => {\n const isActive = this.activeId === id;\n return html`\n <li>\n <a\n href=\"${href}\"\n class=\"bd-anchor-nav__dropdown-option\"\n aria-current=${isActive ? \"location\" : nothing}\n @click=${(e: MouseEvent) => this._selectFromDropdown(e, id, href)}\n >${title}</a>\n </li>\n `;\n })}\n </ul>\n </div>\n </div>\n\n <div class=\"bd-cta\">\n <div class=\"bd-cta__inner\"><slot name=\"cta\"></slot></div>\n </div>\n </div>\n </nav>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-anchor-nav-item\": BdAnchorNavItem;\n \"bd-anchor-nav\" : BdAnchorNav;\n }\n}\n"],"mappings":"A,0lBAaA,SAASE,EAAgB,EAAe,CACtC,IAAMC,GAAKC,GAAS,GAAA,CAAI,KAAK,EAC7B,GAAI,CAACD,EAAG,MAAO,GACf,GAAIA,EAAE,SAAS,IAAI,EAAG,OAAO,WAAWA,CAAC,EACzC,GAAIA,EAAE,SAAS,KAAK,EAAG,CACrB,IAAME,EAAO,WAAW,iBAAiB,SAAS,eAAe,CAAC,CAAC,QAAQ,GAAK,GAChF,OAAO,WAAWF,CAAC,EAAIE,CACzB,CACA,OAAO,WAAWF,CAAC,GAAK,CAC1B,CAEA,IAAMG,GAAe,EAAc,KAAwBC,GAAQ,GAAA,CAAI,QAAQ,KAAM,EAAE,GAAK,UAAUC,EAAE,UAMlG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,UAAA,UAAA,IAAA,EAAA,EAEhDb,EAAA,CAAAoE,EAAS,CAAE,KAAM,KAAM,CAAC,CAAA,EAAAvD,EAAA,UAAA,QAAA,IAAA,EAAA,EAExBb,EAAA,CAAAoE,EAAS,CAAE,KAAM,OAAQ,UAAW,WAAY,CAAC,CAAA,EAAAvD,EAAA,UAAA,WAAA,IAAA,EAAA,EAEjDb,EAAA,CAAAoE,EAAS,CAAE,KAAM,OAAQ,UAAW,YAAa,CAAC,CAAA,EAAAvD,EAAA,UAAA,YAAA,IAAA,EAAA,EApBpD,EAAAb,EAAA,CAAAY,EAAc,eAAe,CAAA,EAAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const awardsFlexCSS: import("lit").CSSResult;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`.bd-awardsflex-root{align-items:center;gap:var(--spacing-8);box-sizing:border-box;width:100%;padding-block:var(--spacing-32);border-radius:var(--shape-radius-2xl);text-align:center;font-family:var(--typography-fontFamily-sans);min-height:var(--bd-awardsflex-min-height,320px);flex-direction:column;display:flex}.bd-awardsflex-root--white{background:var(--color-surface-default);border:var(--border-width-2) solid var(--color-border-container);border-radius:var(--shape-radius-2xl);padding-block:var(--spacing-64)}:host([background=tint]){background:var(--status-brand-surface)}.bd-awardsflex-laurel{color:var(--color-brand-500);margin-bottom:var(--spacing-8);justify-content:center;align-items:center;display:flex}.bd-awardsflex-text-group{align-items:center;gap:var(--spacing-8);margin-bottom:var(--spacing-32);flex-direction:column;display:flex}.bd-awardsflex-headline{margin:0}.bd-awardsflex-subtext{color:var(--color-text-muted);max-width:640px;margin:0}.bd-awardsflex-badges-row{justify-content:center;align-items:center;gap:var(--spacing-24);flex-wrap:wrap;min-height:64px;display:flex}.bd-awardsflex-badge{flex-shrink:0;justify-content:center;align-items:center;display:flex}.bd-awardsflex-quotes-row{justify-content:center;gap:var(--spacing-32);flex-wrap:wrap;width:100%;display:flex}.bd-awardsflex-carousel-viewport{scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;scroll-behavior:smooth;width:100%;overflow:auto hidden}.bd-awardsflex-carousel-viewport::-webkit-scrollbar{display:none}.bd-awardsflex-carousel-track{display:flex}.bd-awardsflex-carousel-slide{scroll-snap-align:start;scroll-snap-stop:always;justify-content:center;gap:var(--spacing-32);box-sizing:border-box;flex:0 0 100%;display:flex}.bd-awardsflex-quote-card{align-items:center;gap:var(--spacing-8);box-sizing:border-box;background:0 0;flex-direction:column;flex:200px;max-width:220px;min-height:160px;padding:0;display:flex}.bd-awardsflex-quote-text{font-size:var(--typography-body-small-fontSize);font-weight:var(--typography-body-small-fontWeight);line-height:var(--typography-body-small-lineHeight);letter-spacing:var(--typography-body-small-letterSpacing);font-family:var(--typography-body-small-fontFamily);color:var(--color-text-secondary);margin:0;font-style:italic}.bd-awardsflex-quote-source{font-size:var(--typography-fontSize-xs);color:var(--color-text-muted);margin:0}bd-pagination-dots{margin-top:var(--spacing-8)}@media (prefers-reduced-motion:reduce){.bd-awardsflex-carousel-viewport{scroll-behavior:auto}}@media (width<576px){.bd-awardsflex-root{padding-block:var(--spacing-24);gap:var(--spacing-8);min-height:var(--bd-awardsflex-min-height-mobile,280px)}.bd-awardsflex-quotes-row{flex-direction:column;align-items:center}.bd-awardsflex-quotes-row .bd-awardsflex-quote-card{flex:none;width:100%;min-height:0}.bd-awardsflex-quote-card{max-width:none}}`;export{t as awardsFlexCSS};
|
|
2
|
-
//# sourceMappingURL=awards-flex.css.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"awards-flex.css.js","names":["awardsFlexCSS"],"sources":["../../../../src/components/awards/awards-flex.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"#shared/token-scales.ts\";\n\nexport const awardsFlexCSS = css`\n .bd-awardsflex-root {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-8);\n width: 100%;\n box-sizing: border-box;\n padding-block: var(--spacing-32);\n border-radius: var(--shape-radius-2xl);\n text-align: center;\n font-family: var(--typography-fontFamily-sans);\n min-height: var(--bd-awardsflex-min-height, 320px);\n }\n\n .bd-awardsflex-root--white {\n background: var(--color-surface-default);\n /* --border-width-2, not --spacing-2. Same 2px at a 16px root and not the\n same thing: --spacing-* is rem and --border-width-* is px, so this edge\n measured 3px for a reader at a 24px root while every other border in the\n package held still. A border width is a fixed optical weight, not a\n distance that should grow with the text it surrounds -- the same\n argument CLAUDE.md makes for the carousel arrow, running the other way.\n\n --color-border-container for the colour, and --color-blue-50 was the\n second half of the same problem: a primitive doing a border role's job.\n No border role resolves to blue-50 -- the three roles that carry that\n value are all SURFACES, so adopting one would have been the category\n error CLAUDE.md names outright. This is the role five other\n edge-drawing objects in the package already use.\n\n Measured against the page ground this section sits on:\n\n --color-blue-50 1.080:1 the primitive, today\n --color-border-container 1.287:1 the role, and the smallest change\n --color-border-subtle 1.664:1\n --status-brand-border 1.727:1 a real BRAND border role\n --color-border-brand 4.534:1\n\n --status-brand-border was the interesting alternative, because it keeps\n the blue and is a legitimate border role. Rejected on two counts: it\n would make this the only section in the package with a brand-coloured\n frame, a fresh divergence rather than a fix, and at 1.727:1 it is a far\n larger visible change than the defect warrants.\n\n The blue was probably meant to echo the tint variant, whose ground is\n this same blue-50 -- but that echo does no perceptual work. Looked at on\n screen, a 1.080:1 edge on white reads as a faint neutral hairline with no\n blue in it, so what is lost is a relationship nobody can see and what is\n gained is a line that means something. Visible: the hairline becomes\n slightly more definite. */\n border: var(--border-width-2) solid var(--color-border-container);\n border-radius: var(--shape-radius-2xl);\n padding-block: var(--spacing-64);\n }\n\n /* the tint runs full-bleed on the host; the root inside it is the column */\n :host([background=\"tint\"]) {\n background: var(--status-brand-surface);\n }\n\n /* === LAUREL ICON (always centered, above the headline) === */\n .bd-awardsflex-laurel {\n display: flex;\n align-items: center;\n justify-content: center;\n /* no role: the laurel wreath, same decision as awards.css.ts's laurel and\n as highlight.css.ts's deco shapes -- ornament, so an ink role is the\n wrong family. This div is a currentColor carrier for bd-laurel-icon or a\n slotted mark.\n .\n --color-blue-500 is the brand blue, and a primitive because no blue-500\n role means ink: they are all surfaces, borders, actions, the indicator\n underline, or status fills.\n .\n This one sits on both grounds the component has. Against the white root,\n 6.18:1 -> 4.53:1; against the tint variant's blue-50 host, 5.72:1 ->\n 4.20:1. Both clear the 3:1 non-text minimum, and a decorative graphic\n has no minimum at all. */\n color: var(--color-brand-500);\n margin-bottom: var(--spacing-8);\n }\n\n.bd-awardsflex-text-group {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-8);\n margin-bottom: var(--spacing-32);\n}\n\n.bd-awardsflex-headline {\n margin: 0;\n}\n\n.bd-awardsflex-subtext {\n color: var(--color-text-muted);\n max-width: 640px;\n margin: 0; /* was: margin: 0 0 var(--spacing-8); */\n}\n\n /* === BADGES ROW (compact / grid layouts) === */\n .bd-awardsflex-badges-row {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n gap: var(--spacing-24);\n min-height: 64px;\n }\n\n .bd-awardsflex-badge {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n }\n\n /* === QUOTES LAYOUT — no card background, sits directly on the section bg === */\n .bd-awardsflex-quotes-row {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n gap: var(--spacing-32);\n width: 100%;\n }\n\n /* A scroller the browser drives: a swipe, a trackpad and a wheel all move\n it, and the snap settles each of them on a whole slide. */\n .bd-awardsflex-carousel-viewport {\n width: 100%;\n overflow-x: auto;\n overflow-y: hidden;\n scroll-snap-type: x mandatory;\n /* a sideways swipe that reaches either end stops here, rather than\n carrying on into the browser's back and forward gesture */\n overscroll-behavior-x: contain;\n /* No scrollbar: the dots say where the slides are. */\n scrollbar-width: none;\n /* a dot's jump glides; see the reduced-motion block for who it does not */\n scroll-behavior: smooth;\n }\n\n .bd-awardsflex-carousel-viewport::-webkit-scrollbar {\n display: none;\n }\n\n .bd-awardsflex-carousel-track {\n display: flex;\n }\n\n /* each slide/page holds a group of quote cards (default 3), shown side by\n side; one stop a slide, and a swipe moves one slide however hard it is\n flung */\n .bd-awardsflex-carousel-slide {\n scroll-snap-align: start;\n scroll-snap-stop: always;\n flex: 0 0 100%;\n display: flex;\n justify-content: center;\n gap: var(--spacing-32);\n box-sizing: border-box;\n }\n\n .bd-awardsflex-quote-card {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-8);\n background: transparent;\n padding: 0;\n max-width: 220px;\n flex: 1 1 200px;\n box-sizing: border-box;\n min-height: 160px;\n }\n\n .bd-awardsflex-quote-text {\n /* A pull quote is supporting body copy, and it wraps -- three lines at the\n widths this renders at. It was asking for the 14px primitive and taking\n its leading from whatever it sat inside, which was the browser's own. */\n font-size: var(--typography-body-small-fontSize);\n font-weight: var(--typography-body-small-fontWeight);\n line-height: var(--typography-body-small-lineHeight);\n letter-spacing: var(--typography-body-small-letterSpacing);\n font-family: var(--typography-body-small-fontFamily);\n font-style: italic;\n /* Pull quote: supporting, not primary. */\n color: var(--color-text-secondary);\n margin: 0;\n }\n\n .bd-awardsflex-quote-source {\n /* no role: 12px text that no role in the vocabulary describes. The checker\n recommends body-xsmall here and that recommendation is wrong, which is\n worth writing down because it has recurred through the NEEDS_ROLE and\n HAS_ROLE batches: body-xsmall declares fontSize and nothing else, so it\n matches ANY one-axis 12px declaration trivially, on size alone. It is not\n an incomplete role waiting to be finished -- tokens.ts says it is\n deliberately size-only, and it exists for bd-p variant=\"xsmall\", which\n composes it with body-small's weight, leading and tracking. This element\n is not a bd-p, so borrowing that token would claim a composition it has\n no half of.\n .\n The complete roles at this step do not fit either. label-small,\n caption-default and caption-small all declare fontFamily-sans, and four\n of the five sites this argument covers are IBM Plex Mono -- adopting one\n would change the face. caption-default additionally declares a colour,\n the only role in the vocabulary that does.\n .\n So: the size stays a primitive and says why. The other four sites are\n .bd-headercode-breadcrumb, .bd-headercode-badge,\n .bd-terminalmsg-panel-label and .bd-terminalmsg-hint. */\n font-size: var(--typography-fontSize-xs);\n /* same as the quick-answer labels: subtle reads at 4.33:1 on this tint. */\n color: var(--color-text-muted);\n margin: 0;\n }\n\n /* === SLIDE CONTROLS ===\n bd-pagination-dots, which also runs the autoplay clock. This file used to\n draw its own dots and pause button -- a dot row that called itself a\n tablist with no tabpanels, resting dots at neutral-300 (2.10:1 on the\n tint, under the 3:1 a control needs), and a setInterval the dots knew\n nothing about. The atom owns all of that now; the margin is all that is\n left to decide here. */\n bd-pagination-dots {\n margin-top: var(--spacing-8);\n }\n\n @media (prefers-reduced-motion: reduce) {\n .bd-awardsflex-carousel-viewport {\n scroll-behavior: auto;\n }\n }\n\n @media ${unsafeCSS(below('sm'))} {\n .bd-awardsflex-root {\n padding-block: var(--spacing-24);\n gap: var(--spacing-8);\n min-height: var(--bd-awardsflex-min-height-mobile, 280px);\n }\n\n /* The static row stacks. The carousel slide does not: below sm it holds\n one card, and in a column the card's 200px flex-basis became its\n height. In the row it fills the width and takes its own height. */\n .bd-awardsflex-quotes-row {\n flex-direction: column;\n align-items: center;\n }\n\n /* A stacked card is as tall as what it holds. In the column, the card's\n 200px flex-basis became its height and the 160px min-height had nothing\n left to do -- it keeps cards that stand side by side the same height,\n and stacked cards stand side by side with nothing. Measured at 390:\n 200px cards whose content ended at 111 and 132. The width is the\n column's, so a short quote no longer hugs its source line.\n .\n The carousel slide keeps the min-height: there it stops the section\n jumping in height from one slide to the next. */\n .bd-awardsflex-quotes-row .bd-awardsflex-quote-card {\n flex: none;\n width: 100%;\n min-height: 0;\n }\n\n .bd-awardsflex-quote-card {\n max-width: none;\n }\n }\n`;"],"mappings":"A,4DAGA,IAAaA,EAAgB,CAAG,6zF"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { LitElement, nothing, type PropertyValues } from "lit";
|
|
2
|
-
import "../../tokens/tokens.js";
|
|
3
|
-
import "../icons/av-comparatives-icon.js";
|
|
4
|
-
import "../icons/best-brands-icon.js";
|
|
5
|
-
import "../icons/laurel-icon.js";
|
|
6
|
-
import "../icons/pc-mag-2024-icon.js";
|
|
7
|
-
import "../icons/pc-mag-business-icon.js";
|
|
8
|
-
import "../icons/pc-mag-icon.js";
|
|
9
|
-
import "../icons/pc-mag-readers-icon.js";
|
|
10
|
-
import "../icons/top-product-icon.js";
|
|
11
|
-
import "../heading/heading.js";
|
|
12
|
-
import "../paragraph/paragraph.js";
|
|
13
|
-
import "../pagination-dots/pagination-dots.js";
|
|
14
|
-
import { ScrollSlides } from "./scroll-slides.js";
|
|
15
|
-
type Background = "white" | "tint";
|
|
16
|
-
type Layout = "compact" | "grid" | "quotes";
|
|
17
|
-
type Live = "off" | "polite";
|
|
18
|
-
interface AwardsFlexBadge {
|
|
19
|
-
id: string;
|
|
20
|
-
label?: string;
|
|
21
|
-
type?: string;
|
|
22
|
-
icon: string;
|
|
23
|
-
quote?: string;
|
|
24
|
-
source?: string;
|
|
25
|
-
date?: string;
|
|
26
|
-
}
|
|
27
|
-
export declare class AwardsFlex extends LitElement {
|
|
28
|
-
static styles: import("lit").CSSResult[];
|
|
29
|
-
background: Background;
|
|
30
|
-
layout: Layout;
|
|
31
|
-
carousel: boolean;
|
|
32
|
-
autoplay: boolean;
|
|
33
|
-
autoplayDelay: number;
|
|
34
|
-
headline: string;
|
|
35
|
-
subtext: string;
|
|
36
|
-
badges: AwardsFlexBadge[];
|
|
37
|
-
_slide: number;
|
|
38
|
-
_groupSize: number;
|
|
39
|
-
_hovered: boolean;
|
|
40
|
-
_focusWithin: boolean;
|
|
41
|
-
_live: Live;
|
|
42
|
-
_slides: ScrollSlides;
|
|
43
|
-
constructor();
|
|
44
|
-
_setGroupSize(size: number): void;
|
|
45
|
-
updated(changed: PropertyValues<this>): void;
|
|
46
|
-
_onScrolled(index: number): void;
|
|
47
|
-
get _groups(): AwardsFlexBadge[][];
|
|
48
|
-
get _slidesCount(): number;
|
|
49
|
-
/** True when the carousel is able to move on its own. */
|
|
50
|
-
get _autoplayOffered(): boolean;
|
|
51
|
-
_iconHeight(): 64 | 56;
|
|
52
|
-
_renderIcon(iconKey: string): import("lit-html").TemplateResult<1>;
|
|
53
|
-
_renderBadge(award: AwardsFlexBadge): import("lit-html").TemplateResult<1>;
|
|
54
|
-
_renderQuoteCard(award: AwardsFlexBadge): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
55
|
-
_renderDots(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
56
|
-
_renderCarousel(): import("lit-html").TemplateResult<1>;
|
|
57
|
-
_renderLaurel(): import("lit-html").TemplateResult<1>;
|
|
58
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
59
|
-
}
|
|
60
|
-
declare global {
|
|
61
|
-
interface HTMLElementTagNameMap {
|
|
62
|
-
"bd-awards-flex": AwardsFlex;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
export {};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import{below as t}from"../shared/token-scales.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../heading/heading.js";import"../paragraph/paragraph.js";import{ensembleCSS as r}from"../shared/ensemble.css.js";import{awardsFlexCSS as i}from"./awards-flex.css.js";import{MediaQueryController as a}from"../shared/controller.media-query.js";import"../icons/av-comparatives-icon.js";import"../icons/best-brands-icon.js";import"../icons/laurel-icon.js";import"../icons/pc-mag-2024-icon.js";import"../icons/pc-mag-business-icon.js";import"../icons/pc-mag-icon.js";import"../icons/pc-mag-readers-icon.js";import"../icons/top-product-icon.js";import"../pagination-dots/pagination-dots.js";import{ScrollSlides as o}from"./scroll-slides.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=3,p=1,m=class extends s{static{this.styles=[r,i]}constructor(){super(),this.background=`white`,this.layout=`compact`,this.carousel=!1,this.autoplay=!1,this.autoplayDelay=4e3,this.headline=``,this.subtext=``,this.badges=[],this._slide=0,this._groupSize=f,this._hovered=!1,this._focusWithin=!1,this._live=`polite`,this._slides=new o(this,{scroller:`.bd-awardsflex-carousel-viewport`,onSlide:e=>this._onScrolled(e)}),new a(this,t(`sm`),e=>this._setGroupSize(e?p:f))}_setGroupSize(e){if(e===this._groupSize)return;let t=this._slide*this._groupSize;this._groupSize=e,this._slide=Math.floor(t/e)}updated(e){(e.has(`autoplay`)||e.has(`carousel`)||e.has(`layout`)||e.has(`badges`)||e.has(`_groupSize`))&&this._slide>=this._slidesCount&&(this._slide=0),(e.has(`_slide`)||e.has(`_groupSize`))&&this._slides.go(this._slide)}_onScrolled(e){if(e===this._slide)return;this._slide=e;let t=this.renderRoot.querySelector(`bd-pagination-dots`);t?.autoplay&&(t.paused=!0)}get _groups(){let e=[];for(let t=0;t<this.badges.length;t+=this._groupSize)e.push(this.badges.slice(t,t+this._groupSize));return e}get _slidesCount(){return this.layout===`quotes`?this._groups.length:0}get _autoplayOffered(){return this.autoplay&&this.carousel&&this.layout===`quotes`&&this._slidesCount>1}_iconHeight(){return this.layout===`grid`?64:(this.layout,56)}_renderIcon(e){let t=this._iconHeight();switch(e){case`pc-mag`:return c`<bd-pc-mag-icon height=${t}></bd-pc-mag-icon>`;case`pc-mag-2024`:return c`<bd-pc-mag-2024-icon height=${t}></bd-pc-mag-2024-icon>`;case`pc-mag-business`:return c`<bd-pc-mag-business-icon height=${t}></bd-pc-mag-business-icon>`;case`pc-mag-readers`:return c`<bd-pc-mag-readers-icon height=${t}></bd-pc-mag-readers-icon>`;case`av-comparatives`:return c`<bd-av-comparatives-icon height=${t}></bd-av-comparatives-icon>`;case`best-brands`:return c`<bd-best-brands-icon height=${t}></bd-best-brands-icon>`;case`top-product`:return c`<bd-top-product-icon height=${t}></bd-top-product-icon>`;default:return c`<span class="bd-awardsflex-badge-fallback" aria-hidden="true">?</span>`}}_renderBadge(e){let t=`bd-awardsflex-badge ${e.type===`dark`?`bd-awardsflex-badge--dark`:``}`;return c`
|
|
2
|
-
<div class="${t}" data-award-id="${e.id}" role="listitem" aria-label="${e.label||``}">
|
|
3
|
-
${this._renderIcon(e.icon)}
|
|
4
|
-
</div>
|
|
5
|
-
`}_renderQuoteCard(e){return e.quote?c`
|
|
6
|
-
<div class="bd-awardsflex-quote-card">
|
|
7
|
-
${this._renderBadge(e)}
|
|
8
|
-
<p class="bd-awardsflex-quote-text">"${e.quote}"</p>
|
|
9
|
-
${e.source?c`<p class="bd-awardsflex-quote-source">${e.source}${e.date?c`, ${e.date}`:l}</p>`:l}
|
|
10
|
-
</div>
|
|
11
|
-
`:l}_renderDots(){return!this.carousel||this._slidesCount<2?l:c`
|
|
12
|
-
<bd-pagination-dots
|
|
13
|
-
count=${this._slidesCount}
|
|
14
|
-
current=${this._slide+1}
|
|
15
|
-
label="Awards"
|
|
16
|
-
?autoplay=${this._autoplayOffered}
|
|
17
|
-
delay=${this.autoplayDelay}
|
|
18
|
-
?held=${this._hovered||this._focusWithin}
|
|
19
|
-
@bd-change=${e=>{this._slide=e.detail.current-1}}
|
|
20
|
-
@bd-toggle=${e=>{this._live=e.detail.moving?`off`:`polite`}}
|
|
21
|
-
></bd-pagination-dots>
|
|
22
|
-
`}_renderCarousel(){return c`
|
|
23
|
-
<div
|
|
24
|
-
class="bd-awardsflex-carousel-viewport"
|
|
25
|
-
@mouseenter=${()=>{this._hovered=!0}}
|
|
26
|
-
@mouseleave=${()=>{this._hovered=!1}}
|
|
27
|
-
@focusin=${()=>{this._focusWithin=!0}}
|
|
28
|
-
@focusout=${e=>{this._focusWithin=e.currentTarget.contains(e.relatedTarget)}}
|
|
29
|
-
>
|
|
30
|
-
<div class="bd-awardsflex-carousel-track" aria-live=${this._live}>
|
|
31
|
-
${this._groups.map((e,t)=>c`
|
|
32
|
-
<div class="bd-awardsflex-carousel-slide" ?inert=${t!==this._slide}>
|
|
33
|
-
${e.map(e=>this._renderQuoteCard(e))}
|
|
34
|
-
</div>
|
|
35
|
-
`)}
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
|
-
`}_renderLaurel(){return c`
|
|
39
|
-
<div class="bd-awardsflex-laurel">
|
|
40
|
-
<slot name="icon">
|
|
41
|
-
<bd-laurel-icon width="80" height="64"></bd-laurel-icon>
|
|
42
|
-
</slot>
|
|
43
|
-
</div>
|
|
44
|
-
`}render(){let e=`bd-ensemble bd-awardsflex-root bd-awardsflex-root--${this.background} bd-awardsflex-root--${this.layout}`;return c`
|
|
45
|
-
<section class="${e}" aria-label="Awards and recognition">
|
|
46
|
-
${this._renderLaurel()}
|
|
47
|
-
${this.headline||this.subtext?c`
|
|
48
|
-
<div class="bd-awardsflex-text-group">
|
|
49
|
-
${this.headline?c`<bd-h as="h3" class="bd-awardsflex-headline">${this.headline}</bd-h>`:l}
|
|
50
|
-
${this.subtext?c`<bd-p variant="large" class="bd-awardsflex-subtext">${this.subtext}</bd-p>`:l}
|
|
51
|
-
</div>
|
|
52
|
-
`:l}
|
|
53
|
-
|
|
54
|
-
${this.layout===`quotes`?c`
|
|
55
|
-
${this.carousel?this._renderCarousel():c`
|
|
56
|
-
<div class="bd-awardsflex-quotes-row" role="list">
|
|
57
|
-
${this.badges.map(e=>this._renderQuoteCard(e))}
|
|
58
|
-
</div>
|
|
59
|
-
`}
|
|
60
|
-
${this._renderDots()}
|
|
61
|
-
`:c`
|
|
62
|
-
<div class="bd-awardsflex-badges-row" role="list">
|
|
63
|
-
${this.badges.map(e=>this._renderBadge(e))}
|
|
64
|
-
</div>
|
|
65
|
-
`}
|
|
66
|
-
</section>
|
|
67
|
-
`}};n([u({type:String,reflect:!0})],m.prototype,`background`,void 0),n([u({type:String})],m.prototype,`layout`,void 0),n([u({type:Boolean})],m.prototype,`carousel`,void 0),n([u({type:Boolean})],m.prototype,`autoplay`,void 0),n([u({type:Number,attribute:`autoplay-delay`})],m.prototype,`autoplayDelay`,void 0),n([u({type:String})],m.prototype,`headline`,void 0),n([u({type:String})],m.prototype,`subtext`,void 0),n([u({type:Array})],m.prototype,`badges`,void 0),n([d()],m.prototype,`_slide`,void 0),n([d()],m.prototype,`_groupSize`,void 0),n([d()],m.prototype,`_hovered`,void 0),n([d()],m.prototype,`_focusWithin`,void 0),n([d()],m.prototype,`_live`,void 0),m=n([e(`bd-awards-flex`)],m);export{m as AwardsFlex};
|
|
68
|
-
//# sourceMappingURL=awards-flex.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"awards-flex.js","names":["_decorate","__decorate","GROUP_SIZE","GROUP_SIZE_NARROW","AwardsFlex","LitElement","ensembleCSS","awardsFlexCSS","ScrollSlides","i","MediaQueryController","below","narrow","size","firstCard","changed","index","dots","groups","h","iconKey","classes","award","nothing","group","a","rootClasses","property","state","defineElement"],"sources":["../../../../src/components/awards/awards-flex.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 } 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/icons/av-comparatives-icon.ts\";\nimport \"#components/icons/best-brands-icon.ts\";\nimport \"#components/icons/laurel-icon.ts\";\nimport \"#components/icons/pc-mag-2024-icon.ts\";\nimport \"#components/icons/pc-mag-business-icon.ts\";\nimport \"#components/icons/pc-mag-icon.ts\";\nimport \"#components/icons/pc-mag-readers-icon.ts\";\nimport \"#components/icons/top-product-icon.ts\";\nimport \"#components/heading/heading.ts\";\nimport \"#components/paragraph/paragraph.ts\";\nimport \"#components/pagination-dots/pagination-dots.ts\";\nimport { awardsFlexCSS } from \"./awards-flex.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\nimport { below } from \"#shared/token-scales.ts\";\nimport { ScrollSlides } from \"./scroll-slides.ts\";\n\n/* How many quote cards one carousel slide holds: three side by side, and one\n below sm. Three used to stack in a column on a phone, so a slide was about\n 1065px tall with every card on screen at once, and the dots paged between\n two such stacks. One card a slide gives the phone a carousel again -- six\n awards are six slides and six dots -- at about half the height. Drawn in the\n foundation Figma file as Awards carousel, breakpoint=mobile. */\nconst GROUP_SIZE = 3;\nconst GROUP_SIZE_NARROW = 1;\n\ntype Background = \"white\" | \"tint\";\ntype Layout = \"compact\" | \"grid\" | \"quotes\";\ntype Live = \"off\" | \"polite\";\n\ninterface AwardsFlexBadge {\n id : string;\n label? : string;\n type? : string;\n icon : string;\n quote? : string;\n source?: string;\n date? : string;\n}\n\n@defineElement(\"bd-awards-flex\")\nexport class AwardsFlex extends LitElement {\n static styles = [ensembleCSS, awardsFlexCSS];\n\n @property({ type: String, reflect: true })\n background: Background = \"white\";\n @property({ type: String })\n layout: Layout = \"compact\";\n @property({ type: Boolean })\n carousel = false;\n @property({ type: Boolean })\n autoplay = false;\n @property({ type: Number, attribute: \"autoplay-delay\" })\n autoplayDelay = 4000;\n @property({ type: String })\n headline = \"\";\n @property({ type: String })\n subtext = \"\";\n @property({ type: Array })\n badges: AwardsFlexBadge[] = [];\n @state()\n _slide = 0;\n @state()\n _groupSize = GROUP_SIZE;\n /* The pointer or focus on the slides holds the autoplay -- a hold, which\n lifts by itself. Stopping it for good is the atom's: a visitor who picks\n a dot has chosen a slide, and it stays. */\n @state()\n _hovered = false;\n @state()\n _focusWithin = false;\n /* The slides' live region. Off while they change on their own, so a\n screen reader is not read a new set of quotes every few seconds; polite\n once they are still, so a change the visitor asks for is announced.\n bd-pagination-dots says which, through bd-toggle. */\n @state()\n _live: Live = \"polite\";\n\n _slides: ScrollSlides;\n\n constructor() {\n super();\n this._slides = new ScrollSlides(this, {\n scroller: \".bd-awardsflex-carousel-viewport\",\n onSlide : i => this._onScrolled(i)\n });\n /* Watched rather than read once: a slide is a layout, and a phone turned\n sideways crosses the breakpoint. */\n new MediaQueryController(this, below(\"sm\"), narrow => this._setGroupSize(narrow ? GROUP_SIZE_NARROW : GROUP_SIZE));\n }\n\n /* Changing the slide size keeps the visitor on the slide that holds the card\n they were looking at: its first card, re-paged. */\n _setGroupSize(size: number) {\n if (size === this._groupSize) return;\n const firstCard = this._slide * this._groupSize;\n this._groupSize = size;\n this._slide = Math.floor(firstCard / size);\n }\n\n updated(changed: PropertyValues<this>) {\n if (\n changed.has(\"autoplay\") ||\n changed.has(\"carousel\") ||\n changed.has(\"layout\") ||\n changed.has(\"badges\") ||\n changed.has(\"_groupSize\")\n ) {\n // if the badge set shrank, make sure the current slide index is still valid\n if (this._slide >= this._slidesCount) {\n this._slide = 0;\n }\n }\n // a dot, the clock or a re-paging chose a slide: bring it in\n if (changed.has(\"_slide\") || changed.has(\"_groupSize\")) this._slides.go(this._slide);\n }\n\n /* A visitor scrolled to another slide. That is a choice of slide, as a dot\n is, so it stops autoplay for good the way a dot does. */\n _onScrolled(index: number) {\n if (index === this._slide) return;\n this._slide = index;\n const dots = this.renderRoot.querySelector(\"bd-pagination-dots\");\n if (dots?.autoplay) dots.paused = true;\n }\n\n get _groups() {\n // chunk badges into slides of _groupSize for the carousel\n const groups: AwardsFlexBadge[][] = [];\n for (let i = 0; i < this.badges.length; i += this._groupSize) {\n groups.push(this.badges.slice(i, i + this._groupSize));\n }\n return groups;\n }\n\n get _slidesCount() {\n return this.layout === \"quotes\" ? this._groups.length : 0;\n }\n\n /** True when the carousel is able to move on its own. */\n get _autoplayOffered() {\n return this.autoplay && this.carousel && this.layout === \"quotes\" && this._slidesCount > 1;\n }\n\n _iconHeight() {\n if (this.layout === \"grid\") return 64;\n if (this.layout === \"quotes\") return 56;\n return 56;\n }\n\n _renderIcon(iconKey: string) {\n const h = this._iconHeight();\n\n switch (iconKey) {\n case \"pc-mag\":\n return html`<bd-pc-mag-icon height=${h}></bd-pc-mag-icon>`;\n case \"pc-mag-2024\":\n return html`<bd-pc-mag-2024-icon height=${h}></bd-pc-mag-2024-icon>`;\n case \"pc-mag-business\":\n return html`<bd-pc-mag-business-icon height=${h}></bd-pc-mag-business-icon>`;\n case \"pc-mag-readers\":\n return html`<bd-pc-mag-readers-icon height=${h}></bd-pc-mag-readers-icon>`;\n case \"av-comparatives\":\n return html`<bd-av-comparatives-icon height=${h}></bd-av-comparatives-icon>`;\n case \"best-brands\":\n return html`<bd-best-brands-icon height=${h}></bd-best-brands-icon>`;\n case \"top-product\":\n return html`<bd-top-product-icon height=${h}></bd-top-product-icon>`;\n default:\n return html`<span class=\"bd-awardsflex-badge-fallback\" aria-hidden=\"true\">?</span>`;\n }\n }\n\n _renderBadge(award: AwardsFlexBadge) {\n const classes = `bd-awardsflex-badge ${award.type === \"dark\" ? \"bd-awardsflex-badge--dark\" : \"\"}`;\n return html`\n <div class=\"${classes}\" data-award-id=\"${award.id}\" role=\"listitem\" aria-label=\"${award.label || \"\"}\">\n ${this._renderIcon(award.icon)}\n </div>\n `;\n }\n\n _renderQuoteCard(award: AwardsFlexBadge) {\n if (!award.quote) return nothing;\n return html`\n <div class=\"bd-awardsflex-quote-card\">\n ${this._renderBadge(award)}\n <p class=\"bd-awardsflex-quote-text\">\"${award.quote}\"</p>\n ${award.source\n ? html`<p class=\"bd-awardsflex-quote-source\">${award.source}${award.date ? html`, ${award.date}` : nothing}</p>`\n : nothing}\n </div>\n `;\n }\n\n /* bd-pagination-dots, which runs the clock too, so the progress in the\n current pill and the change of slide are one thing. WCAG 2.2.2's way to\n stop it is the dots themselves: picking one stops autoplay for good. */\n _renderDots() {\n if (!this.carousel || this._slidesCount < 2) return nothing;\n return html`\n <bd-pagination-dots\n count=${this._slidesCount}\n current=${this._slide + 1}\n label=\"Awards\"\n ?autoplay=${this._autoplayOffered}\n delay=${this.autoplayDelay}\n ?held=${this._hovered || this._focusWithin}\n @bd-change=${(e: CustomEvent<{ current: number }>) => { this._slide = e.detail.current - 1; }}\n @bd-toggle=${(e: CustomEvent<{ moving: boolean }>) => { this._live = e.detail.moving ? \"off\" : \"polite\"; }}\n ></bd-pagination-dots>\n `;\n }\n\n /* The window is a scroll-snap scroller the browser drives -- a swipe, a\n trackpad and a wheel move it, and the dots follow (scroll-slides.ts). It\n used to be overflow: hidden around a track moved by an inline\n translateX, which nothing but the dots could move. */\n _renderCarousel() {\n return html`\n <div\n class=\"bd-awardsflex-carousel-viewport\"\n @mouseenter=${() => { this._hovered = true; }}\n @mouseleave=${() => { this._hovered = false; }}\n @focusin=${() => { this._focusWithin = true; }}\n @focusout=${(e: FocusEvent) => { this._focusWithin = (e.currentTarget as HTMLElement).contains(e.relatedTarget as Node | null); }}\n >\n <div class=\"bd-awardsflex-carousel-track\" aria-live=${this._live}>\n ${this._groups.map(\n (group, i) => html`\n <div class=\"bd-awardsflex-carousel-slide\" ?inert=${i !== this._slide}>\n ${group.map((a) => this._renderQuoteCard(a))}\n </div>\n `\n )}\n </div>\n </div>\n `;\n }\n\n _renderLaurel() {\n // slot lets a consumer override the icon while bd-laurel-icon remains\n // the default, matching the reference design (centered above the headline)\n return html`\n <div class=\"bd-awardsflex-laurel\">\n <slot name=\"icon\">\n <bd-laurel-icon width=\"80\" height=\"64\"></bd-laurel-icon>\n </slot>\n </div>\n `;\n }\n\n render() {\n const rootClasses = `bd-ensemble bd-awardsflex-root bd-awardsflex-root--${this.background} bd-awardsflex-root--${this.layout}`;\n\n return html`\n <section class=\"${rootClasses}\" aria-label=\"Awards and recognition\">\n ${this._renderLaurel()}\n ${(this.headline || this.subtext)\n ? html`\n <div class=\"bd-awardsflex-text-group\">\n ${this.headline\n ? html`<bd-h as=\"h3\" class=\"bd-awardsflex-headline\">${this.headline}</bd-h>`\n : nothing}\n ${this.subtext\n ? html`<bd-p variant=\"large\" class=\"bd-awardsflex-subtext\">${this.subtext}</bd-p>`\n : nothing}\n </div>\n `\n : nothing}\n\n ${this.layout === \"quotes\"\n ? html`\n ${this.carousel\n ? this._renderCarousel()\n : html`\n <div class=\"bd-awardsflex-quotes-row\" role=\"list\">\n ${this.badges.map((a) => this._renderQuoteCard(a))}\n </div>\n `}\n ${this._renderDots()}\n `\n : html`\n <div class=\"bd-awardsflex-badges-row\" role=\"list\">\n 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A,EAAA,EAKNJ,EAAA,CAAA4B,EAAM,CAAA,EAAAxB,EAAA,UAAA,WAAA,IAAA,EAAA,EAENJ,EAAA,CAAA4B,EAAM,CAAA,EAAAxB,EAAA,UAAA,eAAA,IAAA,EAAA,EAMNJ,EAAA,CAAA4B,EAAM,CAAA,EAAAxB,EAAA,UAAA,QAAA,IAAA,EAAA,EAnCR,EAAAJ,EAAA,CAAA6B,EAAc,gBAAgB,CAAA,EAAAzB,CAAA,E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const awardsSpotlightCSS: import("lit").CSSResult;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{display:block}.card{--bd-awards-spotlight-inset:var(--spacing-24);align-items:center;gap:var(--spacing-24);padding:var(--bd-awards-spotlight-inset);background:var(--color-surface-info);border-radius:var(--shape-radius-3xl);flex-direction:column;display:flex}.viewport{width:calc(100% + 2 * var(--bd-awards-spotlight-inset));margin-inline:calc(-1 * var(--bd-awards-spotlight-inset));scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;scroll-behavior:smooth;mask-image:linear-gradient(to right, transparent, black var(--bd-awards-spotlight-inset), black calc(100% - var(--bd-awards-spotlight-inset)), transparent);overflow:auto hidden}.viewport::-webkit-scrollbar{display:none}.track{display:flex}.slide{scroll-snap-align:start;scroll-snap-stop:always;gap:var(--spacing-16);padding-inline:var(--bd-awards-spotlight-inset);box-sizing:border-box;flex-direction:column;flex:0 0 100%;min-width:0;display:flex}.logo{flex:none;width:160px}.copy{gap:var(--spacing-12);flex-direction:column;min-width:0;display:flex}.title{margin:0}.body{font-family:var(--typography-body-regular-fontFamily);font-size:var(--typography-body-regular-fontSize);font-weight:var(--typography-body-regular-fontWeight);line-height:var(--typography-body-regular-lineHeight);letter-spacing:var(--typography-body-regular-letterSpacing);color:var(--color-text-primary);margin:0}@media (width>=576px){.card{--bd-awards-spotlight-inset:var(--spacing-32);gap:var(--spacing-32)}.slide{gap:var(--spacing-24)}}@media (width>=992px){.card{--bd-awards-spotlight-inset:var(--spacing-64);gap:var(--spacing-48)}.slide{gap:var(--spacing-48);flex-direction:row}.copy{gap:var(--spacing-24);flex:1}}@media (prefers-reduced-motion:reduce){.viewport{scroll-behavior:auto}}.text,.body{white-space:pre-line}`;export{t as awardsSpotlightCSS};
|
|
2
|
-
//# sourceMappingURL=awards-spotlight.css.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"awards-spotlight.css.js","names":["awardsSpotlightCSS"],"sources":["../../../../src/components/awards/awards-spotlight.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { above } from \"#shared/token-scales.ts\";\n\n/* Mobile first, in the three steps the Figma set draws: a phone (24 inside\n the card), sm and up (32, the 656 tablet card), and lg and up, where the\n mark moves beside the copy (64, the 1200 desktop card). Each step's gaps are\n the ones the design declares for it. */\nexport const awardsSpotlightCSS = css`\n :host {\n display: block;\n }\n\n .card {\n /* the card's inside edge, at each step: the padding, and the width of\n the band the slides fade across */\n --bd-awards-spotlight-inset: var(--spacing-24);\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-24);\n padding: var(--bd-awards-spotlight-inset);\n /* surface/info, the role the design binds: a tint that marks the card\n off from the page without an edge. On it the title is text-brand,\n blue-600 on blue-50 at 5.72:1, and the body text-primary at 16.65:1. */\n background: var(--color-surface-info);\n border-radius: var(--shape-radius-3xl);\n }\n\n /* The window the slides move through runs to the card's own edges, and\n fades out across the padding. A slide at rest starts where the fade\n ends, so it is untouched; a slide on the move dissolves into the card's\n edge instead of being cut on a hard line inside it -- which is what\n clipping at the padding did.\n\n It is a scroller the browser drives: a swipe, a trackpad and a wheel all\n move it, and the snap settles each of them on a whole slide. It used to\n be overflow: hidden around a track moved by an inline translateX, which\n nothing but the dots could move. */\n .viewport {\n width: calc(100% + 2 * var(--bd-awards-spotlight-inset));\n margin-inline: calc(-1 * var(--bd-awards-spotlight-inset));\n overflow-x: auto;\n overflow-y: hidden;\n scroll-snap-type: x mandatory;\n /* a sideways swipe that reaches either end stops here, rather than\n carrying on into the browser's back and forward gesture */\n overscroll-behavior-x: contain;\n /* No scrollbar: the dots say where the slides are. */\n scrollbar-width: none;\n /* a dot's jump glides; see the reduced-motion block for who it does not */\n scroll-behavior: smooth;\n /* no token: a mask is read for its alpha only, so the colour is a\n placeholder for \"opaque\" and carries no ink */\n mask-image: linear-gradient(\n to right,\n transparent,\n black var(--bd-awards-spotlight-inset),\n black calc(100% - var(--bd-awards-spotlight-inset)),\n transparent\n );\n }\n\n /* Every slide stretches to the tallest, which is what keeps the dots in one\n place as the slides change. */\n .viewport::-webkit-scrollbar {\n display: none;\n }\n\n .track {\n display: flex;\n }\n\n /* One stop a slide, and a swipe moves one slide however hard it is flung. */\n .slide {\n scroll-snap-align: start;\n scroll-snap-stop: always;\n flex: 0 0 100%;\n display: flex;\n flex-direction: column;\n gap: var(--spacing-16);\n padding-inline: var(--bd-awards-spotlight-inset);\n box-sizing: border-box;\n min-width: 0;\n }\n\n .logo {\n flex: none;\n /* no token: the award column. The marks are publisher artwork at 160\n wide (IDC 132), and the column holds 160 so every title starts on the\n same line; the dimension scale stops at 64. */\n width: 160px;\n }\n\n .copy {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-12);\n min-width: 0;\n }\n\n .title {\n margin: 0;\n }\n\n /* The paragraph is the body-regular role, set here rather than through\n bd-p: bd-p closes every paragraph with a 16px margin inside its own\n shadow root, which this component cannot reach, and it would land under\n the last line of every slide. */\n .body {\n margin: 0;\n font-family: var(--typography-body-regular-fontFamily);\n font-size: var(--typography-body-regular-fontSize);\n font-weight: var(--typography-body-regular-fontWeight);\n line-height: var(--typography-body-regular-lineHeight);\n letter-spacing: var(--typography-body-regular-letterSpacing);\n color: var(--color-text-primary);\n }\n\n @media ${unsafeCSS(above(\"sm\"))} {\n .card {\n --bd-awards-spotlight-inset: var(--spacing-32);\n gap: var(--spacing-32);\n }\n\n .slide {\n gap: var(--spacing-24);\n }\n }\n\n @media ${unsafeCSS(above(\"lg\"))} {\n .card {\n --bd-awards-spotlight-inset: var(--spacing-64);\n gap: var(--spacing-48);\n }\n\n .slide {\n flex-direction: row;\n gap: var(--spacing-48);\n }\n\n .copy {\n flex: 1;\n gap: var(--spacing-24);\n }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .viewport {\n scroll-behavior: auto;\n }\n }\n\n /* A newline in the text is a line break, so a page can keep the breaks its\n copy was written with (a <br> in the authored eyebrow, heading or lead\n arrives as a newline in the property). Text only: nothing here renders\n HTML. The rule sits on a span around the text, not on bd-h,\n whose own template could hold newlines that would break too. */\n .text,\n .body {\n white-space: pre-line;\n }\n`;\n"],"mappings":"A,4DAOA,IAAaA,EAAqB,CAAG,6vD"}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { LitElement, nothing, type PropertyValues } from "lit";
|
|
2
|
-
import "../../tokens/tokens.js";
|
|
3
|
-
import "../heading/heading.js";
|
|
4
|
-
import "../image/image.js";
|
|
5
|
-
import "../pagination-dots/pagination-dots.js";
|
|
6
|
-
import { ScrollSlides } from "./scroll-slides.js";
|
|
7
|
-
type HeadingTag = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
8
|
-
type Live = "off" | "polite";
|
|
9
|
-
interface SpotlightAward {
|
|
10
|
-
logo?: string;
|
|
11
|
-
logoAlt?: string;
|
|
12
|
-
logoWidth?: number;
|
|
13
|
-
logoHeight?: number;
|
|
14
|
-
title: string;
|
|
15
|
-
body?: string;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* The homepage awards carousel: one award a slide, on a card. Each slide is
|
|
19
|
-
* the award's mark, a title and a paragraph that says what the award is for;
|
|
20
|
-
* the dots sit inside the card, under the slides. Drawn in the foundation
|
|
21
|
-
* Figma file as Awards spotlight (desktop, tablet and mobile) and Award logo.
|
|
22
|
-
*
|
|
23
|
-
* Not bd-awards-flex. That one pages small quote cards, three a slide, under a
|
|
24
|
-
* laurel and a headline of its own; this one gives each award room to say why
|
|
25
|
-
* it was won, and leaves the section heading to the page around it.
|
|
26
|
-
*
|
|
27
|
-
* The slides are as tall as the tallest one -- the track stretches them -- so
|
|
28
|
-
* the dots stay put from slide to slide and the section does not jump. They
|
|
29
|
-
* sit in a scroll-snap scroller, so a swipe, a trackpad or a wheel moves them
|
|
30
|
-
* and the dots follow (scroll-slides.ts).
|
|
31
|
-
*
|
|
32
|
-
* Autoplay is bd-pagination-dots': the progress in the current pill is the
|
|
33
|
-
* clock. The pointer or focus on the slides holds it, a visitor picking a dot
|
|
34
|
-
* or swiping to another slide stops it for good, and under
|
|
35
|
-
* prefers-reduced-motion it never starts.
|
|
36
|
-
*/
|
|
37
|
-
export declare class AwardsSpotlight extends LitElement {
|
|
38
|
-
static styles: import("lit").CSSResult[];
|
|
39
|
-
awards: SpotlightAward[];
|
|
40
|
-
label: string;
|
|
41
|
-
as: HeadingTag;
|
|
42
|
-
autoplay: boolean;
|
|
43
|
-
autoplayDelay: number;
|
|
44
|
-
_slide: number;
|
|
45
|
-
_hovered: boolean;
|
|
46
|
-
_focusWithin: boolean;
|
|
47
|
-
_live: Live;
|
|
48
|
-
_slides: ScrollSlides;
|
|
49
|
-
constructor();
|
|
50
|
-
updated(changed: PropertyValues<this>): void;
|
|
51
|
-
_onScrolled(index: number): void;
|
|
52
|
-
_renderSlide(award: SpotlightAward, i: number): import("lit-html").TemplateResult<1>;
|
|
53
|
-
render(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
54
|
-
}
|
|
55
|
-
declare global {
|
|
56
|
-
interface HTMLElementTagNameMap {
|
|
57
|
-
"bd-awards-spotlight": AwardsSpotlight;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
export {};
|
|
@@ -1,51 +0,0 @@
|
|
|
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"../heading/heading.js";import{ensembleCSS as n}from"../shared/ensemble.css.js";import"../pagination-dots/pagination-dots.js";import{ScrollSlides as r}from"./scroll-slides.js";import{awardsSpotlightCSS as i}from"./awards-spotlight.css.js";import"../image/image.js";import{LitElement as a,html as o,nothing as s}from"lit";import{property as c,state as l}from"lit/decorators.js";var u=class extends a{static{this.styles=[n,i]}constructor(){super(),this.awards=[],this.label=`Awards and recognition`,this.as=`h3`,this.autoplay=!1,this.autoplayDelay=6e3,this._slide=0,this._hovered=!1,this._focusWithin=!1,this._live=`polite`,this._slides=new r(this,{scroller:`.viewport`,onSlide:e=>this._onScrolled(e)})}updated(e){e.has(`awards`)&&this._slide>=this.awards.length&&(this._slide=0),e.has(`_slide`)&&this._slides.go(this._slide)}_onScrolled(e){if(e===this._slide)return;this._slide=e;let t=this.renderRoot.querySelector(`bd-pagination-dots`);t?.autoplay&&(t.paused=!0)}_renderSlide(e,t){let n=t===this._slide;return o`
|
|
2
|
-
<div
|
|
3
|
-
class="slide"
|
|
4
|
-
role="group"
|
|
5
|
-
aria-roledescription="slide"
|
|
6
|
-
aria-label="${t+1} of ${this.awards.length}"
|
|
7
|
-
?inert=${!n}
|
|
8
|
-
>
|
|
9
|
-
${e.logo?o`<div class="logo">
|
|
10
|
-
<bd-img
|
|
11
|
-
src="${e.logo}"
|
|
12
|
-
alt="${e.logoAlt||``}"
|
|
13
|
-
width="${e.logoWidth??s}"
|
|
14
|
-
height="${e.logoHeight??s}"
|
|
15
|
-
fit="contain"
|
|
16
|
-
></bd-img>
|
|
17
|
-
</div>`:s}
|
|
18
|
-
<div class="copy">
|
|
19
|
-
<bd-h as="${this.as}" visual-level="h3" color="primary" class="title"><span class="text">${e.title}</span></bd-h>
|
|
20
|
-
${e.body?o`<p class="body">${e.body}</p>`:s}
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
`}render(){let e=this.awards.length;return e?o`
|
|
24
|
-
<section class="bd-ensemble root" aria-label="${this.label}" aria-roledescription="carousel">
|
|
25
|
-
<div class="card">
|
|
26
|
-
<div
|
|
27
|
-
class="viewport"
|
|
28
|
-
@mouseenter=${()=>{this._hovered=!0}}
|
|
29
|
-
@mouseleave=${()=>{this._hovered=!1}}
|
|
30
|
-
@focusin=${()=>{this._focusWithin=!0}}
|
|
31
|
-
@focusout=${e=>{this._focusWithin=e.currentTarget.contains(e.relatedTarget)}}
|
|
32
|
-
>
|
|
33
|
-
<div class="track" aria-live=${this._live}>
|
|
34
|
-
${this.awards.map((e,t)=>this._renderSlide(e,t))}
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
<bd-pagination-dots
|
|
38
|
-
count=${e}
|
|
39
|
-
current=${this._slide+1}
|
|
40
|
-
label="${this.label}"
|
|
41
|
-
item-label="Go to award"
|
|
42
|
-
?autoplay=${this.autoplay&&e>1}
|
|
43
|
-
delay=${this.autoplayDelay}
|
|
44
|
-
?held=${this._hovered||this._focusWithin}
|
|
45
|
-
@bd-change=${e=>{this._slide=e.detail.current-1}}
|
|
46
|
-
@bd-toggle=${e=>{this._live=e.detail.moving?`off`:`polite`}}
|
|
47
|
-
></bd-pagination-dots>
|
|
48
|
-
</div>
|
|
49
|
-
</section>
|
|
50
|
-
`:s}};t([c({type:Array})],u.prototype,`awards`,void 0),t([c({type:String})],u.prototype,`label`,void 0),t([c({type:String})],u.prototype,`as`,void 0),t([c({type:Boolean})],u.prototype,`autoplay`,void 0),t([c({type:Number,attribute:`autoplay-delay`})],u.prototype,`autoplayDelay`,void 0),t([l()],u.prototype,`_slide`,void 0),t([l()],u.prototype,`_hovered`,void 0),t([l()],u.prototype,`_focusWithin`,void 0),t([l()],u.prototype,`_live`,void 0),u=t([e(`bd-awards-spotlight`)],u);export{u as AwardsSpotlight};
|
|
51
|
-
//# sourceMappingURL=awards-spotlight.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"awards-spotlight.js","names":["_decorate","__decorate","AwardsSpotlight","LitElement","ensembleCSS","awardsSpotlightCSS","ScrollSlides","i","changed","index","dots","current","award","nothing","count","a","property","state","defineElement"],"sources":["../../../../src/components/awards/awards-spotlight.ts"],"sourcesContent":["import { LitElement, html, nothing, type PropertyValues } from \"lit\";\nimport { property, state } 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 \"#components/heading/heading.ts\";\nimport \"#components/image/image.ts\";\nimport \"#components/pagination-dots/pagination-dots.ts\";\nimport { awardsSpotlightCSS } from \"./awards-spotlight.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\nimport { ScrollSlides } from \"./scroll-slides.ts\";\n\ntype HeadingTag = \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\ntype Live = \"off\" | \"polite\";\n\ninterface SpotlightAward {\n logo? : string;\n logoAlt? : string;\n logoWidth? : number;\n logoHeight?: number;\n title : string;\n body? : string;\n}\n\n/**\n * The homepage awards carousel: one award a slide, on a card. Each slide is\n * the award's mark, a title and a paragraph that says what the award is for;\n * the dots sit inside the card, under the slides. Drawn in the foundation\n * Figma file as Awards spotlight (desktop, tablet and mobile) and Award logo.\n *\n * Not bd-awards-flex. That one pages small quote cards, three a slide, under a\n * laurel and a headline of its own; this one gives each award room to say why\n * it was won, and leaves the section heading to the page around it.\n *\n * The slides are as tall as the tallest one -- the track stretches them -- so\n * the dots stay put from slide to slide and the section does not jump. They\n * sit in a scroll-snap scroller, so a swipe, a trackpad or a wheel moves them\n * and the dots follow (scroll-slides.ts).\n *\n * Autoplay is bd-pagination-dots': the progress in the current pill is the\n * clock. The pointer or focus on the slides holds it, a visitor picking a dot\n * or swiping to another slide stops it for good, and under\n * prefers-reduced-motion it never starts.\n */\n@defineElement(\"bd-awards-spotlight\")\nexport class AwardsSpotlight extends LitElement {\n static styles = [ensembleCSS, awardsSpotlightCSS];\n\n @property({ type: Array })\n awards: SpotlightAward[] = [];\n @property({ type: String })\n label = \"Awards and recognition\";\n // The page's section heading is the h2 above this; each award is under it.\n @property({ type: String })\n as: HeadingTag = \"h3\";\n @property({ type: Boolean })\n autoplay = false;\n @property({ type: Number, attribute: \"autoplay-delay\" })\n autoplayDelay = 6000;\n @state()\n _slide = 0;\n @state()\n _hovered = false;\n @state()\n _focusWithin = false;\n /* Off while the slides change on their own, so a screen reader is not\n read a new award every few seconds; polite once they are still, so a\n change the visitor asks for is announced. The dots say which. */\n @state()\n _live: Live = \"polite\";\n\n _slides: ScrollSlides;\n\n constructor() {\n super();\n this._slides = new ScrollSlides(this, { scroller: \".viewport\", onSlide: i => this._onScrolled(i) });\n }\n\n updated(changed: PropertyValues<this>) {\n // a shorter list must not leave the carousel on a slide that is gone\n if (changed.has(\"awards\") && this._slide >= this.awards.length) this._slide = 0;\n // a dot or the clock chose a slide: bring it in\n if (changed.has(\"_slide\")) this._slides.go(this._slide);\n }\n\n /* A visitor scrolled to another slide. That is a choice of slide, as a dot\n is, so it stops autoplay for good the way a dot does. */\n _onScrolled(index: number) {\n if (index === this._slide) return;\n this._slide = index;\n const dots = this.renderRoot.querySelector(\"bd-pagination-dots\");\n if (dots?.autoplay) dots.paused = true;\n }\n\n _renderSlide(award: SpotlightAward, i: number) {\n const current = i === this._slide;\n return html`\n <div\n class=\"slide\"\n role=\"group\"\n aria-roledescription=\"slide\"\n aria-label=\"${i + 1} of ${this.awards.length}\"\n ?inert=${!current}\n >\n ${award.logo\n ? html`<div class=\"logo\">\n <bd-img\n src=\"${award.logo}\"\n alt=\"${award.logoAlt || \"\"}\"\n width=\"${award.logoWidth ?? nothing}\"\n height=\"${award.logoHeight ?? nothing}\"\n fit=\"contain\"\n ></bd-img>\n </div>`\n : nothing}\n <div class=\"copy\">\n <bd-h as=\"${this.as}\" visual-level=\"h3\" color=\"primary\" class=\"title\"><span class=\"text\">${award.title}</span></bd-h>\n ${award.body ? html`<p class=\"body\">${award.body}</p>` : nothing}\n </div>\n </div>\n `;\n }\n\n render() {\n const count = this.awards.length;\n if (!count) return nothing;\n return html`\n <section class=\"bd-ensemble root\" aria-label=\"${this.label}\" aria-roledescription=\"carousel\">\n <div class=\"card\">\n <div\n class=\"viewport\"\n @mouseenter=${() => { this._hovered = true; }}\n @mouseleave=${() => { this._hovered = false; }}\n @focusin=${() => { this._focusWithin = true; }}\n @focusout=${(e: FocusEvent) => { this._focusWithin = (e.currentTarget as HTMLElement).contains(e.relatedTarget as Node | null); }}\n >\n <div class=\"track\" aria-live=${this._live}>\n ${this.awards.map((a, i) => this._renderSlide(a, i))}\n </div>\n </div>\n <bd-pagination-dots\n count=${count}\n current=${this._slide + 1}\n label=\"${this.label}\"\n item-label=\"Go to award\"\n ?autoplay=${this.autoplay && count > 1}\n delay=${this.autoplayDelay}\n ?held=${this._hovered || this._focusWithin}\n @bd-change=${(e: CustomEvent<{ current: number }>) => { this._slide = e.detail.current - 1; }}\n @bd-toggle=${(e: CustomEvent<{ moving: boolean }>) => { this._live = e.detail.moving ? \"off\" : \"polite\"; }}\n ></bd-pagination-dots>\n </div>\n </section>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-awards-spotlight\": AwardsSpotlight;\n }\n}\n"],"mappings":"A,oiBA6CO,IAAME,EAAN,cAA8BC,CAAW,C,OAC9B,KAAA,OAAA,CAACC,EAAaC,CAAkB,C,CA2BhD,aAAc,CACZ,MAAM,EAzBmB,KAAA,OAAA,CAAC,EAEpB,KAAA,MAAA,yBAGS,KAAA,GAAA,KAEN,KAAA,SAAA,GAEK,KAAA,cAAA,IAEP,KAAA,OAAA,EAEE,KAAA,SAAA,GAEI,KAAA,aAAA,GAKD,KAAA,MAAA,SAMZ,KAAK,QAAU,IAAIC,EAAa,KAAM,CAAE,SAAU,YAAa,QAAS,GAAK,KAAK,YAAYC,CAAC,CAAE,CAAC,CACpG,CAEA,QAAQ,EAA+B,CAEjCC,EAAQ,IAAI,QAAQ,GAAK,KAAK,QAAU,KAAK,OAAO,SAAQ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AU,CAAG,EAAE;yBAChF,GAAwC,CAAE,KAAK,MAAQ,EAAE,OAAO,OAAS,MAAQ,QAAU,EAAE;;;;MAxBhGD,CA6BrB,CACF,EA3GGb,EAAA,CAAAgB,EAAS,CAAE,KAAM,KAAM,CAAC,CAAA,EAAAd,EAAA,UAAA,SAAA,IAAA,EAAA,EAExBF,EAAA,CAAAgB,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAd,EAAA,UAAA,QAAA,IAAA,EAAA,EAGzBF,EAAA,CAAAgB,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAd,EAAA,UAAA,KAAA,IAAA,EAAA,EAEzBF,EAAA,CAAAgB,EAAS,CAAE,KAAM,OAAQ,CAAC,CAAA,EAAAd,EAAA,UAAA,WAAA,IAAA,EAAA,EAE1BF,EAAA,CAAAgB,EAAS,CAAE,KAAM,OAAQ,UAAW,gBAAiB,CAAC,CAAA,EAAAd,EAAA,UAAA,gBAAA,IAAA,EAAA,EAEtDF,EAAA,CAAAiB,EAAM,CAAA,EAAAf,EAAA,UAAA,SAAA,IAAA,EAAA,EAENF,EAAA,CAAAiB,EAAM,CAAA,EAAAf,EAAA,UAAA,WAAA,IAAA,EAAA,EAENF,EAAA,CAAAiB,EAAM,CAAA,EAAAf,EAAA,UAAA,eAAA,IAAA,EAAA,EAKNF,EAAA,CAAAiB,EAAM,CAAA,EAAAf,EAAA,UAAA,QAAA,IAAA,EAAA,EAxBR,EAAAF,EAAA,CAAAkB,EAAc,qBAAqB,CAAA,EAAAhB,CAAA,E"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{css as e}from"lit";var t=e`:host{display:block}:host(bd-card-features-section){box-sizing:border-box;width:100%;container-type:inline-size}.bd-card-features-s{box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;width:100%;display:flex;position:relative;overflow:hidden}.bd-card-features-header-s{margin-bottom:var(--spacing-48);margin-top:var(--spacing-32);text-align:center}.bd-card-features-track-s{gap:var(--spacing-24);grid-template-columns:repeat(3,1fr);width:100%;display:grid}.bd-card-features-box-s{align-items:flex-start;gap:var(--spacing-16);background:var(--color-surface-container);border-radius:var(--card-radius);padding:var(--card-padding);font-family:var(--typography-fontFamily-sans);box-sizing:border-box;flex-direction:row;height:100%;display:flex}.bd-card-features-icon-s{width:var(--spacing-32);height:var(--spacing-32);object-fit:contain;flex-shrink:0}.bd-card-features-content-s{flex-direction:column;display:flex}.bd-card-features-title-badge-wrapper-s{align-items:center;gap:var(--spacing-8);margin-bottom:var(--spacing-8);display:flex}.bd-card-features-item-title-s{margin:0}::slotted(p){color:var(--color-text-secondary);font-family:var(--typography-fontFamily-sans);margin:0}@container (width<=1024px){.bd-card-features-track-s{grid-template-columns:repeat(2,1fr)}}@container (width>600px){.bd-card-features-track-s{grid-auto-rows:1fr}}@container (width<=600px){.bd-card-features-track-s{grid-template-columns:1fr}.bd-card-features-box-s{flex-direction:column;align-items:flex-start;height:auto}}`;export{t as default};
|
|
2
|
-
//# sourceMappingURL=card-features.css.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card-features.css.js","names":["card_features_css_default"],"sources":["../../../../src/components/card-features/card-features.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n :host {\n display: block;\n }\n\n /* The section is the container its columns and its cards' layout read,\n where they read the screen: across the page the two are the same width,\n in a narrower column the cards step down with it. Only the section --\n this sheet is the item's too, and a card that answered its own queries\n would stack its icon in a two-up row. width: 100% because a size\n container contributes nothing to its own intrinsic width. */\n :host(bd-card-features-section) {\n container-type: inline-size;\n width: 100%;\n box-sizing: border-box;\n }\n\n .bd-card-features-s {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n /* Same reason as the card below, which already sets it: the gutters belong\n inside the 100% and inside the max-width, not added on top of them. */\n box-sizing: border-box;\n width: 100%;\n overflow: hidden;\n flex-direction: column;\n }\n\n .bd-card-features-header-s {\n margin-bottom: var(--spacing-48);\n margin-top: var(--spacing-32);\n text-align: center;\n }\n\n .bd-card-features-track-s {\n width: 100%;\n display: grid;\n gap: var(--spacing-24);\n grid-template-columns: repeat(3, 1fr);\n }\n\n .bd-card-features-box-s {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n gap: var(--spacing-16);\n background: var(--color-surface-container);\n border-radius: var(--card-radius);\n /* The other content cards are all on 32, and this one is not the small one\n that would justify less: at 431px it is wider than both the card box and\n the light carousel item, which are 304 and 413 and still take 32. */\n padding: var(--card-padding);\n font-family: var(--typography-fontFamily-sans);\n box-sizing: border-box;\n height: 100%;\n }\n\n .bd-card-features-icon-s {\n flex-shrink: 0;\n width: var(--spacing-32);\n height: var(--spacing-32);\n object-fit: contain;\n }\n\n .bd-card-features-content-s {\n display: flex;\n flex-direction: column;\n }\n\n .bd-card-features-title-badge-wrapper-s {\n display: flex;\n align-items: center;\n gap: var(--spacing-8);\n margin-bottom: var(--spacing-8);\n }\n\n .bd-card-features-item-title-s {\n margin: 0;\n }\n\n /* No type here: this selector needs a directly-slotted raw <p>, and every\n consumer slots <bd-p>, so it has never matched anything. The size and\n leading are gone; the rest of the rule is dead by the same proof and is\n left for a follow-up rather than widened into this one. */\n ::slotted(p) {\n color: var(--color-text-secondary);\n margin: 0;\n font-family: var(--typography-fontFamily-sans);\n }\n\n @container (width <= 1024px) {\n .bd-card-features-track-s {\n grid-template-columns: repeat(2, 1fr);\n }\n }\n\n /* Side by side, every card is as tall as the tallest one in the section,\n row or not: 1fr implicit rows in a grid of auto height all resolve to the\n tallest row's content. The box's height: 100% then fills its row. */\n @container (width > 600px) {\n .bd-card-features-track-s {\n grid-auto-rows: 1fr;\n }\n }\n\n @container (width <= 600px) {\n .bd-card-features-track-s {\n grid-template-columns: 1fr;\n }\n\n .bd-card-features-box-s {\n flex-direction: column;\n align-items: flex-start;\n height: auto;\n }\n }\n`;"],"mappings":"A,0BAEA,IAAAA,EAAe,CAAG,8/C"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
2
|
-
import "../../tokens/tokens.js";
|
|
3
|
-
import "../badge/badge.js";
|
|
4
|
-
import "../heading/heading.js";
|
|
5
|
-
declare class CardFeatures extends LitElement {
|
|
6
|
-
static styles: import("lit").CSSResult[];
|
|
7
|
-
title: string;
|
|
8
|
-
headingLevel: number;
|
|
9
|
-
/**
|
|
10
|
-
* The heading element this section renders. Level is the document-outline
|
|
11
|
-
* question and belongs to whoever composes the page; the type scale is this
|
|
12
|
-
* component's own and does not move with it. Defaults to h2, because a
|
|
13
|
-
* reusable section cannot know it is the only thing on the page, and two of
|
|
14
|
-
* these used to put two h1s on one.
|
|
15
|
-
*/
|
|
16
|
-
get _headingTag(): string;
|
|
17
|
-
_renderTitle(className: string): import("lit-html").TemplateResult<1>;
|
|
18
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
19
|
-
}
|
|
20
|
-
declare class CardFeaturesItem extends LitElement {
|
|
21
|
-
static styles: import("lit").CSSResult[];
|
|
22
|
-
title: string;
|
|
23
|
-
icon: string;
|
|
24
|
-
badge: string;
|
|
25
|
-
badgeVariant: string;
|
|
26
|
-
badgeTone: string;
|
|
27
|
-
headingLevel: number;
|
|
28
|
-
_renderIcon(): "" | Node | import("lit-html").TemplateResult<1>;
|
|
29
|
-
/**
|
|
30
|
-
* One level below the section default. The h5 it used to carry was a type
|
|
31
|
-
* choice, not an outline one, so the size stays on visual-level while the
|
|
32
|
-
* level itself stops skipping three steps below its own section.
|
|
33
|
-
*/
|
|
34
|
-
get _headingTag(): string;
|
|
35
|
-
render(): import("lit-html").TemplateResult<1>;
|
|
36
|
-
}
|
|
37
|
-
declare global {
|
|
38
|
-
interface HTMLElementTagNameMap {
|
|
39
|
-
"bd-card-features-section": CardFeatures;
|
|
40
|
-
"bd-card-features-item": CardFeaturesItem;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
export {};
|
|
@@ -1,37 +0,0 @@
|
|
|
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"../heading/heading.js";import{ensembleCSS as n}from"../shared/ensemble.css.js";import"../badge/badge.js";import r from"./card-features.css.js";import{LitElement as i,html as a}from"lit";import{property as o}from"lit/decorators.js";var s=class extends i{constructor(...e){super(...e),this.title=``,this.headingLevel=2}static{this.styles=[n,r]}get _headingTag(){let e=Number(this.headingLevel);return Number.isInteger(e)&&e>=1&&e<=6?`h${e}`:`h2`}_renderTitle(e){return a`<bd-h as=${this._headingTag} visual-level="h3" class=${e}
|
|
2
|
-
>${this.title}</bd-h
|
|
3
|
-
>`}render(){return a`
|
|
4
|
-
<section class="bd-ensemble bd-card-features-s">
|
|
5
|
-
${this.title?a`
|
|
6
|
-
<div class="bd-card-features-header-s">
|
|
7
|
-
${this._renderTitle(`bd-card-features-title-s`)}
|
|
8
|
-
</div>
|
|
9
|
-
`:null}
|
|
10
|
-
<div class="bd-card-features-track-s">
|
|
11
|
-
<slot></slot>
|
|
12
|
-
</div>
|
|
13
|
-
</section>
|
|
14
|
-
`}};t([o({type:String})],s.prototype,`title`,void 0),t([o({type:Number,attribute:`heading-level`})],s.prototype,`headingLevel`,void 0),s=t([e(`bd-card-features-section`)],s);var c=class extends i{constructor(...e){super(...e),this.title=``,this.icon=``,this.badge=``,this.badgeVariant=`fill`,this.badgeTone=`primary`,this.headingLevel=3}static{this.styles=[r]}_renderIcon(){let e=this.querySelector(`[slot='icon']`);return e?e.cloneNode(!0):this.icon?a`<img
|
|
15
|
-
src="${this.icon}"
|
|
16
|
-
alt=""
|
|
17
|
-
class="bd-card-features-icon-s"
|
|
18
|
-
/>`:``}get _headingTag(){let e=Number(this.headingLevel);return Number.isInteger(e)&&e>=1&&e<=6?`h${e}`:`h3`}render(){return a`
|
|
19
|
-
<div class="bd-card-features-box-s">
|
|
20
|
-
${this._renderIcon()}
|
|
21
|
-
|
|
22
|
-
<div class="bd-card-features-content-s">
|
|
23
|
-
${this.title?a`
|
|
24
|
-
<div class="bd-card-features-title-badge-wrapper-s">
|
|
25
|
-
<bd-h as="${this._headingTag}" visual-level="h5" fontWeight="bold" class="bd-card-features-item-title-s">${this.title}</bd-h>
|
|
26
|
-
${this.badge?a`<bd-badge
|
|
27
|
-
variant="${this.badgeVariant}"
|
|
28
|
-
tone="${this.badgeTone}"
|
|
29
|
-
size="sm"
|
|
30
|
-
>${this.badge}</bd-badge>`:``}
|
|
31
|
-
</div>
|
|
32
|
-
`:``}
|
|
33
|
-
<slot></slot>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
`}};t([o({type:String})],c.prototype,`title`,void 0),t([o({type:String})],c.prototype,`icon`,void 0),t([o({type:String})],c.prototype,`badge`,void 0),t([o({type:String,attribute:`badge-variant`})],c.prototype,`badgeVariant`,void 0),t([o({type:String})],c.prototype,`badgeTone`,void 0),t([o({type:Number,attribute:`heading-level`})],c.prototype,`headingLevel`,void 0),c=t([e(`bd-card-features-item`)],c);
|
|
37
|
-
//# sourceMappingURL=card-features.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"card-features.js","names":["cardFeaturesCSS","_decorate","__decorate","card_features_css_default","CardFeatures","LitElement","_args","ensembleCSS","n","className","property","defineElement","CardFeaturesItem","_args2","iconEl"],"sources":["../../../../src/components/card-features/card-features.ts"],"sourcesContent":["import { LitElement, html } 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 \"#components/badge/badge.ts\";\nimport \"#components/heading/heading.ts\";\nimport cardFeaturesCSS from \"./card-features.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\n\n@defineElement(\"bd-card-features-section\")\nclass CardFeatures extends LitElement {\n static styles = [ensembleCSS, cardFeaturesCSS];\n\n @property({ type: String })\n title = \"\";\n @property({ type: Number, attribute: \"heading-level\" })\n headingLevel = 2;\n\n /* Every card in the section is as tall as the tallest, with no script: the\n track's implicit rows are 1fr, which a grid of auto height resolves to its\n tallest row (card-features.css.ts). This used to be a ResizeObserver\n measuring every box and writing the tallest height back onto each. */\n\n /**\n * The heading element this section renders. Level is the document-outline\n * question and belongs to whoever composes the page; the type scale is this\n * component's own and does not move with it. Defaults to h2, because a\n * reusable section cannot know it is the only thing on the page, and two of\n * these used to put two h1s on one.\n */\n get _headingTag() {\n const n = Number(this.headingLevel);\n return Number.isInteger(n) && n >= 1 && n <= 6 ? `h${n}` : \"h2\";\n }\n\n /* bd-h already builds the dynamic tag, and it keeps the two questions apart\n the way this component needs: as= is the outline level the page composes,\n visual-level= is the type role, which is ours. Building the element here\n meant re-implementing bd-h and then hand-writing the type on top of it. */\n _renderTitle(className: string) {\n return html`<bd-h as=${this._headingTag} visual-level=\"h3\" class=${className}\n >${this.title}</bd-h\n >`;\n }\n\n render() {\n return html`\n <section class=\"bd-ensemble bd-card-features-s\">\n ${this.title\n ? html`\n <div class=\"bd-card-features-header-s\">\n ${this._renderTitle(\"bd-card-features-title-s\")}\n </div>\n `\n : null}\n <div class=\"bd-card-features-track-s\">\n <slot></slot>\n </div>\n </section>\n `;\n }\n}\n\n@defineElement(\"bd-card-features-item\")\nclass CardFeaturesItem extends LitElement {\n static styles = [cardFeaturesCSS];\n\n @property({ type: String })\n title = \"\";\n @property({ type: String })\n icon = \"\";\n @property({ type: String })\n badge = \"\";\n /* `badge-variant`, which this component documents twice over: the usage\n example in card-features.stories.ts writes\n badge-variant=\"bd-light-blue\", and the props table there lists\n `badge-variant` as a documented String input. It was never observed --\n Lit was listening for `badgevariant` -- so the property held its \"fill\"\n default and every badge rendered the same fill treatment: measured on\n Modules/CardFeatures Default, the item asking for \"bd-light-green\" came\n out rgb(0, 109, 255), the identical blue as the four asking for\n \"bd-light-blue\".\n\n Zero consumers of the lowercase spelling, so the mapping is safe. The\n value is passed straight through to bd-badge's own `variant`, which is\n where the colour decision lives; nothing about the badge's design\n changes here beyond the variant finally being the one that was asked\n for. */\n // reproduces the blue fill these badges carried before ds-badge\n @property({ type: String, attribute: \"badge-variant\" })\n badgeVariant = \"fill\";\n @property({ type: String })\n badgeTone = \"primary\";\n @property({ type: Number, attribute: \"heading-level\" })\n headingLevel = 3;\n\n _renderIcon() {\n const iconEl = this.querySelector(\"[slot='icon']\");\n\n if (iconEl) {\n return iconEl.cloneNode(true);\n }\n\n if (this.icon) {\n return html`<img\n src=\"${this.icon}\"\n alt=\"\"\n class=\"bd-card-features-icon-s\"\n />`;\n }\n\n return \"\";\n }\n\n\n /**\n * One level below the section default. The h5 it used to carry was a type\n * choice, not an outline one, so the size stays on visual-level while the\n * level itself stops skipping three steps below its own section.\n */\n get _headingTag() {\n const n = Number(this.headingLevel);\n return Number.isInteger(n) && n >= 1 && n <= 6 ? `h${n}` : \"h3\";\n }\n\n render() {\n return html`\n <div class=\"bd-card-features-box-s\">\n ${this._renderIcon()}\n\n <div class=\"bd-card-features-content-s\">\n ${this.title\n ? html`\n <div class=\"bd-card-features-title-badge-wrapper-s\">\n <bd-h as=\"${this._headingTag}\" visual-level=\"h5\" fontWeight=\"bold\" class=\"bd-card-features-item-title-s\">${this.title}</bd-h>\n ${this.badge\n ? html`<bd-badge\n variant=\"${this.badgeVariant}\"\n tone=\"${this.badgeTone}\"\n size=\"sm\"\n >${this.badge}</bd-badge>`\n : \"\"}\n </div>\n `\n : \"\"}\n <slot></slot>\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-card-features-section\": CardFeatures;\n \"bd-card-features-item\" : CardFeaturesItem;\n }\n}"],"mappings":"A,mZAUA,IACMI,EADN,cAC2BC,CAAW,C,8BAI5B,KAAA,MAAA,GAEO,KAAA,aAAA,C,QALC,KAAA,OAAA,CAACE,EAAaP,CAAe,C,CAmB7C,IAAI,aAAc,CAChB,IAAMQ,EAAI,OAAO,KAAK,YAAY,EAClC,OAAO,OAAO,UAAUA,CAAC,GAAKA,GAAK,G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