@repobit/dex-system-design 3.1.1 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1074 -0
- package/README.md +31 -6
- package/dist/src/assets/fonts/IBMPlexSansCondensed-Bold.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-BoldItalic.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-Italic.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-Medium.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-MediumItalic.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-Regular.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-SemiBold.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-SemiBoldItalic.woff2 +0 -0
- package/dist/src/components/abstract/abstract.css.d.ts +7 -0
- package/dist/src/components/abstract/abstract.css.js +2 -0
- package/dist/src/components/abstract/abstract.css.js.map +1 -0
- package/dist/src/components/abstract/abstract.d.ts +31 -0
- package/dist/src/components/abstract/abstract.js +2 -0
- package/dist/src/components/abstract/abstract.js.map +1 -0
- package/dist/src/components/accordion/accordion-item.d.ts +93 -0
- package/dist/src/components/accordion/accordion-item.js +25 -0
- package/dist/src/components/accordion/accordion-item.js.map +1 -0
- package/dist/src/components/accordion/accordion-keyboard.d.ts +5 -5
- package/dist/src/components/accordion/accordion-keyboard.js +1 -1
- package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
- package/dist/src/components/accordion/accordion.css.d.ts +2 -2
- package/dist/src/components/accordion/accordion.css.js +1 -1
- package/dist/src/components/accordion/accordion.css.js.map +1 -1
- package/dist/src/components/accordion/accordion.d.ts +66 -31
- package/dist/src/components/accordion/accordion.js +8 -66
- package/dist/src/components/accordion/accordion.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints-pills.css.js +2 -0
- package/dist/src/components/agent-endpoints/agent-endpoints-pills.css.js.map +1 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +38 -21
- package/dist/src/components/agent-endpoints/agent-endpoints.js +22 -41
- package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
- package/dist/src/components/anchor-nav/anchor-nav-item.css.d.ts +1 -0
- package/dist/src/components/anchor-nav/anchor-nav-item.css.js +2 -0
- package/dist/src/components/anchor-nav/anchor-nav-item.css.js.map +1 -0
- package/dist/src/components/anchor-nav/anchor-nav-item.d.ts +38 -0
- package/dist/src/components/anchor-nav/anchor-nav-item.js +2 -0
- package/dist/src/components/anchor-nav/anchor-nav-item.js.map +1 -0
- package/dist/src/components/anchor-nav/anchor-nav.css.js +2 -0
- package/dist/src/components/anchor-nav/anchor-nav.css.js.map +1 -0
- package/dist/src/components/{anchor → anchor-nav}/anchor-nav.d.ts +41 -23
- package/dist/src/components/anchor-nav/anchor-nav.js +43 -0
- package/dist/src/components/anchor-nav/anchor-nav.js.map +1 -0
- package/dist/src/components/annotation/annotation.css.js +1 -1
- package/dist/src/components/annotation/annotation.css.js.map +1 -1
- package/dist/src/components/annotation/annotation.js +2 -2
- package/dist/src/components/annotation/annotation.js.map +1 -1
- package/dist/src/components/article/article.css.d.ts +30 -0
- package/dist/src/components/article/article.css.js +2 -0
- package/dist/src/components/article/article.css.js.map +1 -0
- package/dist/src/components/article/article.d.ts +135 -0
- package/dist/src/components/article/article.js +39 -0
- package/dist/src/components/article/article.js.map +1 -0
- package/dist/src/components/audience-card/audience-card.css.js +1 -1
- package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.d.ts +30 -15
- package/dist/src/components/audience-card/audience-card.js +9 -11
- package/dist/src/components/audience-card/audience-card.js.map +1 -1
- package/dist/src/components/authors/authors.css.d.ts +7 -0
- package/dist/src/components/authors/authors.css.js +2 -0
- package/dist/src/components/authors/authors.css.js.map +1 -0
- package/dist/src/components/authors/authors.d.ts +29 -0
- package/dist/src/components/authors/authors.js +7 -0
- package/dist/src/components/authors/authors.js.map +1 -0
- package/dist/src/components/avatar/avatar.js +6 -6
- package/dist/src/components/avatar/avatar.js.map +1 -1
- package/dist/src/components/awards/award-marks.css.js +2 -0
- package/dist/src/components/awards/award-marks.css.js.map +1 -0
- package/dist/src/components/awards/award.css.js +2 -0
- package/dist/src/components/awards/award.css.js.map +1 -0
- package/dist/src/components/awards/award.d.ts +65 -0
- package/dist/src/components/awards/award.js +11 -0
- package/dist/src/components/awards/award.js.map +1 -0
- package/dist/src/components/awards/awards.css.d.ts +2 -1
- package/dist/src/components/awards/awards.css.js +1 -1
- package/dist/src/components/awards/awards.css.js.map +1 -1
- package/dist/src/components/awards/awards.d.ts +123 -71
- package/dist/src/components/awards/awards.js +46 -57
- package/dist/src/components/awards/awards.js.map +1 -1
- package/dist/src/components/awards/scroll-slides.d.ts +9 -8
- package/dist/src/components/awards/scroll-slides.js.map +1 -1
- package/dist/src/components/back/back.d.ts +12 -7
- package/dist/src/components/back/back.js +6 -6
- package/dist/src/components/back/back.js.map +1 -1
- package/dist/src/components/badge/badge.css.js +1 -1
- package/dist/src/components/badge/badge.css.js.map +1 -1
- package/dist/src/components/badge/badge.d.ts +11 -11
- package/dist/src/components/badge/badge.js +2 -2
- package/dist/src/components/badge/badge.js.map +1 -1
- package/dist/src/components/bar-chart/bar-chart.css.js +2 -0
- package/dist/src/components/bar-chart/bar-chart.css.js.map +1 -0
- package/dist/src/components/bar-chart/bar-chart.d.ts +147 -0
- package/dist/src/components/bar-chart/bar-chart.js +42 -0
- package/dist/src/components/bar-chart/bar-chart.js.map +1 -0
- package/dist/src/components/bento-grid/bento-grid.css.js +2 -2
- package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.d.ts +21 -9
- package/dist/src/components/bento-grid/bento-grid.js +10 -26
- package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.css.js +1 -1
- package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.d.ts +34 -13
- package/dist/src/components/bento-grid/bento-item.js +9 -26
- package/dist/src/components/bento-grid/bento-item.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.css.js +1 -1
- package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.d.ts +27 -2
- package/dist/src/components/blockquote/blockquote.js +1 -1
- package/dist/src/components/blockquote/blockquote.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -4
- package/dist/src/components/breadcrumb/breadcrumb.js +5 -5
- package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/src/components/button/button.css.js +1 -1
- package/dist/src/components/button/button.css.js.map +1 -1
- package/dist/src/components/button/button.d.ts +87 -96
- package/dist/src/components/button/button.js +20 -33
- package/dist/src/components/button/button.js.map +1 -1
- package/dist/src/components/{alert/alert.css.d.ts → callout/callout.css.d.ts} +9 -9
- package/dist/src/components/callout/callout.css.js +2 -0
- package/dist/src/components/callout/callout.css.js.map +1 -0
- package/dist/src/components/callout/callout.d.ts +56 -0
- package/dist/src/components/callout/callout.js +28 -0
- package/dist/src/components/callout/callout.js.map +1 -0
- package/dist/src/components/caption/caption.js +2 -2
- package/dist/src/components/caption/caption.js.map +1 -1
- package/dist/src/components/card/card-grid.css.js +2 -0
- package/dist/src/components/card/card-grid.css.js.map +1 -0
- package/dist/src/components/card/card-grid.d.ts +63 -0
- package/dist/src/components/card/card-grid.js +10 -0
- package/dist/src/components/card/card-grid.js.map +1 -0
- package/dist/src/components/card/card.css.js +2 -0
- package/dist/src/components/card/card.css.js.map +1 -0
- package/dist/src/components/card/card.d.ts +86 -0
- package/dist/src/components/card/card.js +15 -0
- package/dist/src/components/card/card.js.map +1 -0
- package/dist/src/components/carousel/carousel.css.js +1 -1
- package/dist/src/components/carousel/carousel.css.js.map +1 -1
- package/dist/src/components/carousel/carousel.d.ts +64 -37
- package/dist/src/components/carousel/carousel.js +24 -32
- package/dist/src/components/carousel/carousel.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.d.ts +15 -1
- package/dist/src/components/checkbox/checkbox.js +6 -5
- package/dist/src/components/checkbox/checkbox.js.map +1 -1
- package/dist/src/components/code/code.css.d.ts +15 -0
- package/dist/src/components/code/code.css.js +1 -1
- package/dist/src/components/code/code.css.js.map +1 -1
- package/dist/src/components/code/code.d.ts +100 -4
- package/dist/src/components/code/code.js +17 -3
- package/dist/src/components/code/code.js.map +1 -1
- package/dist/src/components/code/prism-page.d.ts +2 -0
- package/dist/src/components/code/prism-page.js +2 -0
- package/dist/src/components/code/prism-page.js.map +1 -0
- package/dist/src/components/code/prism.d.ts +10 -0
- package/dist/src/components/code/prism.js +2 -0
- package/dist/src/components/code/prism.js.map +1 -0
- package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.d.ts +36 -15
- package/dist/src/components/comparison-panel/comparison-panel.js +25 -46
- package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.css.d.ts +25 -0
- package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.d.ts +66 -42
- package/dist/src/components/compatibility-table/compatibility-table.js +5 -64
- package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.css.js +1 -1
- package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.d.ts +17 -8
- package/dist/src/components/cta-banner/cta-banner.js +8 -28
- package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
- package/dist/src/components/dialog/dialog.css.js +2 -0
- package/dist/src/components/dialog/dialog.css.js.map +1 -0
- package/dist/src/components/dialog/dialog.d.ts +76 -0
- package/dist/src/components/dialog/dialog.js +32 -0
- package/dist/src/components/dialog/dialog.js.map +1 -0
- package/dist/src/components/display/display.css.js +1 -1
- package/dist/src/components/display/display.css.js.map +1 -1
- package/dist/src/components/display/display.d.ts +30 -6
- package/dist/src/components/display/display.js +7 -5
- package/dist/src/components/display/display.js.map +1 -1
- package/dist/src/components/divider/divider.css.d.ts +2 -2
- package/dist/src/components/divider/divider.css.js +1 -1
- package/dist/src/components/divider/divider.css.js.map +1 -1
- package/dist/src/components/divider/divider.d.ts +36 -0
- package/dist/src/components/divider/divider.js +21 -0
- package/dist/src/components/divider/divider.js.map +1 -0
- package/dist/src/components/fact/fact.css.d.ts +1 -0
- package/dist/src/components/fact/fact.css.js +2 -0
- package/dist/src/components/fact/fact.css.js.map +1 -0
- package/dist/src/components/fact/fact.d.ts +37 -0
- package/dist/src/components/fact/fact.js +2 -0
- package/dist/src/components/fact/fact.js.map +1 -0
- package/dist/src/components/feature-columns/feature-columns.css.d.ts +2 -0
- package/dist/src/components/feature-columns/feature-columns.css.js +2 -0
- package/dist/src/components/feature-columns/feature-columns.css.js.map +1 -0
- package/dist/src/components/feature-columns/feature-columns.d.ts +61 -0
- package/dist/src/components/feature-columns/feature-columns.js +11 -0
- package/dist/src/components/feature-columns/feature-columns.js.map +1 -0
- package/dist/src/components/features-tab/features-tab.css.js +1 -1
- package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.d.ts +21 -6
- package/dist/src/components/features-tab/features-tab.js +9 -21
- package/dist/src/components/features-tab/features-tab.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.d.ts +16 -1
- package/dist/src/components/fieldset/fieldset.js +3 -3
- package/dist/src/components/fieldset/fieldset.js.map +1 -1
- package/dist/src/components/footer/footer-group.css.js +2 -0
- package/dist/src/components/footer/footer-group.css.js.map +1 -0
- package/dist/src/components/footer/footer-group.d.ts +28 -0
- package/dist/src/components/footer/footer-group.js +5 -0
- package/dist/src/components/footer/footer-group.js.map +1 -0
- package/dist/src/components/footer/footer-locale.js +1 -1
- package/dist/src/components/footer/footer-locale.js.map +1 -1
- package/dist/src/components/footer/footer-nav.css.js +2 -0
- package/dist/src/components/footer/footer-nav.css.js.map +1 -0
- package/dist/src/components/footer/{footer-nav-menu.d.ts → footer-nav.d.ts} +2 -1
- package/dist/src/components/footer/footer-nav.js +6 -0
- package/dist/src/components/footer/footer-nav.js.map +1 -0
- package/dist/src/components/footer/footer.css.js +1 -1
- package/dist/src/components/footer/footer.css.js.map +1 -1
- package/dist/src/components/footer/footer.d.ts +38 -10
- package/dist/src/components/footer/footer.js +71 -93
- package/dist/src/components/footer/footer.js.map +1 -1
- package/dist/src/components/grid/grid.js +7 -7
- package/dist/src/components/h/h.css.js +2 -0
- package/dist/src/components/h/h.css.js.map +1 -0
- package/dist/src/components/{heading/heading.d.ts → h/h.d.ts} +14 -0
- package/dist/src/components/h/h.js +7 -0
- package/dist/src/components/h/h.js.map +1 -0
- package/dist/src/components/hero/hero.css.js +1 -1
- package/dist/src/components/hero/hero.css.js.map +1 -1
- package/dist/src/components/hero/hero.d.ts +42 -24
- package/dist/src/components/hero/hero.js +15 -19
- package/dist/src/components/hero/hero.js.map +1 -1
- package/dist/src/components/highlight/highlight.css.js +1 -1
- package/dist/src/components/highlight/highlight.css.js.map +1 -1
- package/dist/src/components/highlight/highlight.d.ts +21 -12
- package/dist/src/components/highlight/highlight.js +1 -4
- package/dist/src/components/highlight/highlight.js.map +1 -1
- package/dist/src/components/hint/hint.css.d.ts +3 -0
- package/dist/src/components/{help-text/help-text.css.js → hint/hint.css.js} +2 -2
- package/dist/src/components/hint/hint.css.js.map +1 -0
- package/dist/src/components/hint/hint.d.ts +33 -0
- package/dist/src/components/hint/hint.js +4 -0
- package/dist/src/components/hint/hint.js.map +1 -0
- package/dist/src/components/icons/analysis.d.ts +1 -0
- package/dist/src/components/icons/analysis.js +6 -0
- package/dist/src/components/icons/analysis.js.map +1 -0
- package/dist/src/components/icons/arrow-down.d.ts +1 -0
- package/dist/src/components/icons/arrow-down.js +6 -0
- package/dist/src/components/icons/arrow-down.js.map +1 -0
- package/dist/src/components/icons/arrow-right.d.ts +1 -0
- package/dist/src/components/icons/arrow-right.js +6 -0
- package/dist/src/components/icons/arrow-right.js.map +1 -0
- package/dist/src/components/icons/arrow-up.d.ts +1 -0
- package/dist/src/components/icons/arrow-up.js +6 -0
- package/dist/src/components/icons/arrow-up.js.map +1 -0
- package/dist/src/components/icons/arrow.d.ts +1 -0
- package/dist/src/components/icons/arrow.js +6 -0
- package/dist/src/components/icons/arrow.js.map +1 -0
- package/dist/src/components/icons/brand-signature.d.ts +1 -0
- package/dist/src/components/icons/brand-signature.js +6 -0
- package/dist/src/components/icons/brand-signature.js.map +1 -0
- package/dist/src/components/icons/check.d.ts +1 -0
- package/dist/src/components/icons/check.js +6 -0
- package/dist/src/components/icons/check.js.map +1 -0
- package/dist/src/components/icons/circle-info.d.ts +1 -0
- package/dist/src/components/icons/circle-info.js +8 -0
- package/dist/src/components/icons/circle-info.js.map +1 -0
- package/dist/src/components/icons/clipboard.d.ts +1 -0
- package/dist/src/components/icons/clipboard.js +7 -0
- package/dist/src/components/icons/clipboard.js.map +1 -0
- package/dist/src/components/icons/close.d.ts +1 -0
- package/dist/src/components/icons/close.js +6 -0
- package/dist/src/components/icons/close.js.map +1 -0
- package/dist/src/components/icons/enterprise.d.ts +1 -0
- package/dist/src/components/icons/enterprise.js +6 -0
- package/dist/src/components/icons/enterprise.js.map +1 -0
- package/dist/src/components/icons/envelope.d.ts +1 -0
- package/dist/src/components/icons/envelope.js +7 -0
- package/dist/src/components/icons/envelope.js.map +1 -0
- package/dist/src/components/icons/family.d.ts +1 -0
- package/dist/src/components/icons/family.js +8 -0
- package/dist/src/components/icons/family.js.map +1 -0
- package/dist/src/components/icons/globe.d.ts +1 -0
- package/dist/src/components/icons/globe.js +6 -0
- package/dist/src/components/icons/globe.js.map +1 -0
- package/dist/src/components/icons/guide.d.ts +1 -0
- package/dist/src/components/icons/guide.js +6 -0
- package/dist/src/components/icons/guide.js.map +1 -0
- package/dist/src/components/icons/home.d.ts +1 -0
- package/dist/src/components/icons/home.js +6 -0
- package/dist/src/components/icons/home.js.map +1 -0
- package/dist/src/components/icons/icon.d.ts +60 -0
- package/dist/src/components/icons/icon.js +2 -0
- package/dist/src/components/icons/icon.js.map +1 -0
- package/dist/src/components/icons/icons.d.ts +43 -36
- package/dist/src/components/icons/icons.js +1 -1
- package/dist/src/components/icons/individual.d.ts +1 -0
- package/dist/src/components/icons/individual.js +6 -0
- package/dist/src/components/icons/individual.js.map +1 -0
- package/dist/src/components/icons/laurel.d.ts +1 -0
- package/dist/src/components/icons/laurel.js +13 -0
- package/dist/src/components/icons/laurel.js.map +1 -0
- package/dist/src/components/icons/machine-learning.d.ts +1 -0
- package/dist/src/components/icons/machine-learning.js +6 -0
- package/dist/src/components/icons/machine-learning.js.map +1 -0
- package/dist/src/components/icons/mark.d.ts +66 -0
- package/dist/src/components/icons/mark.js +2 -0
- package/dist/src/components/icons/mark.js.map +1 -0
- package/dist/src/components/icons/marks/ai.d.ts +1 -0
- package/dist/src/components/icons/marks/ai.js +6 -0
- package/dist/src/components/icons/marks/ai.js.map +1 -0
- package/dist/src/components/icons/marks/av-comparatives.d.ts +1 -0
- package/dist/src/components/icons/marks/av-comparatives.js +12 -0
- package/dist/src/components/icons/marks/av-comparatives.js.map +1 -0
- package/dist/src/components/icons/marks/best-brands.d.ts +1 -0
- package/dist/src/components/icons/marks/best-brands.js +12 -0
- package/dist/src/components/icons/marks/best-brands.js.map +1 -0
- package/dist/src/components/icons/marks/pc-mag-2024.d.ts +1 -0
- package/dist/src/components/icons/marks/pc-mag-2024.js +11 -0
- package/dist/src/components/icons/marks/pc-mag-2024.js.map +1 -0
- package/dist/src/components/icons/marks/pc-mag-business.d.ts +1 -0
- package/dist/src/components/icons/marks/pc-mag-business.js +11 -0
- package/dist/src/components/icons/marks/pc-mag-business.js.map +1 -0
- package/dist/src/components/icons/marks/pc-mag-readers.d.ts +1 -0
- package/dist/src/components/icons/marks/pc-mag-readers.js +11 -0
- package/dist/src/components/icons/marks/pc-mag-readers.js.map +1 -0
- package/dist/src/components/icons/marks/pc-mag.d.ts +1 -0
- package/dist/src/components/icons/marks/pc-mag.js +11 -0
- package/dist/src/components/icons/marks/pc-mag.js.map +1 -0
- package/dist/src/components/icons/marks/top-product.d.ts +1 -0
- package/dist/src/components/icons/marks/top-product.js +11 -0
- package/dist/src/components/icons/marks/top-product.js.map +1 -0
- package/dist/src/components/icons/marks.d.ts +29 -28
- package/dist/src/components/icons/marks.js +1 -1
- package/dist/src/components/icons/minus.d.ts +1 -0
- package/dist/src/components/icons/minus.js +6 -0
- package/dist/src/components/icons/minus.js.map +1 -0
- package/dist/src/components/icons/pause.d.ts +1 -0
- package/dist/src/components/icons/pause.js +7 -0
- package/dist/src/components/icons/pause.js.map +1 -0
- package/dist/src/components/icons/play.d.ts +1 -0
- package/dist/src/components/icons/play.js +6 -0
- package/dist/src/components/icons/play.js.map +1 -0
- package/dist/src/components/icons/plus.d.ts +1 -0
- package/dist/src/components/icons/plus.js +6 -0
- package/dist/src/components/icons/plus.js.map +1 -0
- package/dist/src/components/icons/quote.d.ts +1 -0
- package/dist/src/components/icons/quote.js +6 -0
- package/dist/src/components/icons/quote.js.map +1 -0
- package/dist/src/components/icons/registry.d.ts +122 -0
- package/dist/src/components/icons/registry.js +4 -0
- package/dist/src/components/icons/registry.js.map +1 -0
- package/dist/src/components/icons/small-business.d.ts +1 -0
- package/dist/src/components/icons/small-business.js +6 -0
- package/dist/src/components/icons/small-business.js.map +1 -0
- package/dist/src/components/{image/image.css.js → img/img.css.js} +1 -1
- package/dist/src/components/img/img.css.js.map +1 -0
- package/dist/src/components/{image/image.d.ts → img/img.d.ts} +2 -2
- package/dist/src/components/img/img.js +17 -0
- package/dist/src/components/img/img.js.map +1 -0
- package/dist/src/components/input/input.css.d.ts +7 -5
- package/dist/src/components/input/input.css.js +1 -1
- package/dist/src/components/input/input.css.js.map +1 -1
- package/dist/src/components/input/input.d.ts +34 -12
- package/dist/src/components/input/input.js +30 -29
- package/dist/src/components/input/input.js.map +1 -1
- package/dist/src/components/install-options/install-option.css.js +2 -0
- package/dist/src/components/install-options/install-option.css.js.map +1 -0
- package/dist/src/components/install-options/install-option.d.ts +57 -0
- package/dist/src/components/install-options/install-option.js +29 -0
- package/dist/src/components/install-options/install-option.js.map +1 -0
- package/dist/src/components/install-options/install-options.css.js +1 -1
- package/dist/src/components/install-options/install-options.css.js.map +1 -1
- package/dist/src/components/install-options/install-options.d.ts +42 -31
- package/dist/src/components/install-options/install-options.js +42 -85
- package/dist/src/components/install-options/install-options.js.map +1 -1
- package/dist/src/components/key-takeaways/key-takeaways.css.d.ts +9 -0
- package/dist/src/components/key-takeaways/key-takeaways.css.js +2 -0
- package/dist/src/components/key-takeaways/key-takeaways.css.js.map +1 -0
- package/dist/src/components/key-takeaways/key-takeaways.d.ts +35 -0
- package/dist/src/components/key-takeaways/key-takeaways.js +10 -0
- package/dist/src/components/key-takeaways/key-takeaways.js.map +1 -0
- package/dist/src/components/label/label.js +3 -3
- package/dist/src/components/label/label.js.map +1 -1
- package/dist/src/components/link/link.css.js +1 -1
- package/dist/src/components/link/link.css.js.map +1 -1
- package/dist/src/components/link/link.d.ts +25 -16
- package/dist/src/components/link/link.js +3 -3
- package/dist/src/components/link/link.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.css.js +1 -1
- package/dist/src/components/list/list-item/list-item.css.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.d.ts +9 -7
- package/dist/src/components/list/list-item/list-item.js +3 -3
- package/dist/src/components/list/list-item/list-item.js.map +1 -1
- package/dist/src/components/list/list.d.ts +3 -2
- package/dist/src/components/list/list.js +2 -2
- package/dist/src/components/list/list.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.d.ts +2 -2
- package/dist/src/components/logo-marquee/logo-marquee.js +6 -8
- package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
- package/dist/src/components/meta/meta.css.d.ts +8 -0
- package/dist/src/components/meta/meta.css.js +2 -0
- package/dist/src/components/meta/meta.css.js.map +1 -0
- package/dist/src/components/meta/meta.d.ts +37 -0
- package/dist/src/components/meta/meta.js +2 -0
- package/dist/src/components/meta/meta.js.map +1 -0
- package/dist/src/components/motion-art/motion-art.d.ts +39 -2
- package/dist/src/components/motion-art/motion-art.js +1 -1
- package/dist/src/components/motion-art/motion-art.js.map +1 -1
- package/dist/src/components/newsletter-signup/newsletter-signup.css.js +2 -0
- package/dist/src/components/newsletter-signup/newsletter-signup.css.js.map +1 -0
- package/dist/src/components/newsletter-signup/newsletter-signup.d.ts +97 -0
- package/dist/src/components/newsletter-signup/newsletter-signup.js +37 -0
- package/dist/src/components/newsletter-signup/newsletter-signup.js.map +1 -0
- package/dist/src/components/overview/overview.css.js +1 -1
- package/dist/src/components/overview/overview.css.js.map +1 -1
- package/dist/src/components/overview/overview.d.ts +23 -12
- package/dist/src/components/overview/overview.js +9 -24
- package/dist/src/components/overview/overview.js.map +1 -1
- package/dist/src/components/p/p.css.js +2 -0
- package/dist/src/components/p/p.css.js.map +1 -0
- package/dist/src/components/{paragraph/paragraph.d.ts → p/p.d.ts} +3 -5
- package/dist/src/components/p/p.js +6 -0
- package/dist/src/components/p/p.js.map +1 -0
- package/dist/src/components/page-switcher/page-switcher.css.js +1 -1
- package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.d.ts +28 -28
- package/dist/src/components/page-switcher/page-switcher.js +5 -13
- package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.d.ts +4 -2
- package/dist/src/components/pagination-dots/pagination-dots.js +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.css.js +1 -1
- package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.d.ts +44 -21
- package/dist/src/components/partner-banner/partner-banner.js +11 -11
- package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
- package/dist/src/components/paste-button/paste-button.css.d.ts +10 -0
- package/dist/src/components/paste-button/paste-button.css.js +2 -0
- package/dist/src/components/paste-button/paste-button.css.js.map +1 -0
- package/dist/src/components/paste-button/paste-button.d.ts +68 -0
- package/dist/src/components/paste-button/paste-button.js +17 -0
- package/dist/src/components/paste-button/paste-button.js.map +1 -0
- package/dist/src/components/picture/picture.js +3 -3
- package/dist/src/components/picture/picture.js.map +1 -1
- package/dist/src/components/post-card/post-card.css.js +1 -1
- package/dist/src/components/post-card/post-card.css.js.map +1 -1
- package/dist/src/components/post-card/post-card.d.ts +65 -24
- package/dist/src/components/post-card/post-card.js +13 -9
- package/dist/src/components/post-card/post-card.js.map +1 -1
- package/dist/src/components/pricing-card/pricing-card.css.js +2 -0
- package/dist/src/components/pricing-card/pricing-card.css.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-card.d.ts +80 -0
- package/dist/src/components/pricing-card/pricing-card.js +16 -0
- package/dist/src/components/pricing-card/pricing-card.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-feature-group.css.js +2 -0
- package/dist/src/components/pricing-card/pricing-feature-group.css.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-feature-group.d.ts +50 -0
- package/dist/src/components/pricing-card/pricing-feature-group.js +7 -0
- package/dist/src/components/pricing-card/pricing-feature-group.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-feature.css.js +2 -0
- package/dist/src/components/pricing-card/pricing-feature.css.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-feature.d.ts +64 -0
- package/dist/src/components/pricing-card/pricing-feature.js +19 -0
- package/dist/src/components/pricing-card/pricing-feature.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-group.css.d.ts +3 -0
- package/dist/src/components/pricing-card/pricing-group.css.js +2 -0
- package/dist/src/components/pricing-card/pricing-group.css.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-group.d.ts +48 -0
- package/dist/src/components/pricing-card/pricing-group.js +6 -0
- package/dist/src/components/pricing-card/pricing-group.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-price.css.js +2 -0
- package/dist/src/components/pricing-card/pricing-price.css.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-price.d.ts +56 -0
- package/dist/src/components/pricing-card/pricing-price.js +11 -0
- package/dist/src/components/pricing-card/pricing-price.js.map +1 -0
- package/dist/src/components/process-steps/process-step.css.js +2 -0
- package/dist/src/components/process-steps/process-step.css.js.map +1 -0
- package/dist/src/components/process-steps/process-step.d.ts +31 -0
- package/dist/src/components/process-steps/process-step.js +6 -0
- package/dist/src/components/process-steps/process-step.js.map +1 -0
- package/dist/src/components/process-steps/process-steps.css.js +1 -1
- package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.d.ts +36 -19
- package/dist/src/components/process-steps/process-steps.js +5 -26
- package/dist/src/components/process-steps/process-steps.js.map +1 -1
- package/dist/src/components/product-hero/product-hero.css.js +2 -0
- package/dist/src/components/product-hero/product-hero.css.js.map +1 -0
- package/dist/src/components/product-hero/product-hero.d.ts +71 -0
- package/dist/src/components/product-hero/product-hero.js +123 -0
- package/dist/src/components/product-hero/product-hero.js.map +1 -0
- package/dist/src/components/product-upsell/product-upsell.css.js +2 -0
- package/dist/src/components/product-upsell/product-upsell.css.js.map +1 -0
- package/dist/src/components/product-upsell/product-upsell.d.ts +49 -0
- package/dist/src/components/product-upsell/product-upsell.js +14 -0
- package/dist/src/components/product-upsell/product-upsell.js.map +1 -0
- package/dist/src/components/progress-bar/progress-bar.css.d.ts +3 -0
- package/dist/src/components/progress-bar/progress-bar.css.js +2 -0
- package/dist/src/components/progress-bar/progress-bar.css.js.map +1 -0
- package/dist/src/components/progress-bar/progress-bar.d.ts +27 -0
- package/dist/src/components/progress-bar/progress-bar.js +15 -0
- package/dist/src/components/progress-bar/progress-bar.js.map +1 -0
- package/dist/src/components/quick-answer/quick-answer.css.js +1 -1
- package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.d.ts +25 -12
- package/dist/src/components/quick-answer/quick-answer.js +13 -29
- package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
- package/dist/src/components/radio/radio-group.css.js +1 -1
- package/dist/src/components/radio/radio-group.css.js.map +1 -1
- package/dist/src/components/radio/radio-group.d.ts +9 -5
- package/dist/src/components/radio/radio-group.js +5 -5
- package/dist/src/components/radio/radio-group.js.map +1 -1
- package/dist/src/components/radio/radio.css.d.ts +2 -1
- package/dist/src/components/radio/radio.css.js.map +1 -1
- package/dist/src/components/radio/radio.d.ts +8 -2
- package/dist/src/components/radio/radio.js +6 -5
- package/dist/src/components/radio/radio.js.map +1 -1
- package/dist/src/components/related-articles/related-articles.css.js +2 -0
- package/dist/src/components/related-articles/related-articles.css.js.map +1 -0
- package/dist/src/components/related-articles/related-articles.d.ts +52 -0
- package/dist/src/components/related-articles/related-articles.js +9 -0
- package/dist/src/components/related-articles/related-articles.js.map +1 -0
- package/dist/src/components/report-promo/report-promo.css.js +2 -0
- package/dist/src/components/report-promo/report-promo.css.js.map +1 -0
- package/dist/src/components/report-promo/report-promo.d.ts +70 -0
- package/dist/src/components/report-promo/report-promo.js +19 -0
- package/dist/src/components/report-promo/report-promo.js.map +1 -0
- package/dist/src/components/review/review-grid.css.js +1 -1
- package/dist/src/components/review/review-grid.css.js.map +1 -1
- package/dist/src/components/review/review-grid.d.ts +27 -6
- package/dist/src/components/review/review-grid.js +7 -7
- package/dist/src/components/review/review-grid.js.map +1 -1
- package/dist/src/components/review/review.css.js +1 -1
- package/dist/src/components/review/review.css.js.map +1 -1
- package/dist/src/components/review/review.d.ts +24 -17
- package/dist/src/components/review/review.js +7 -11
- package/dist/src/components/review/review.js.map +1 -1
- package/dist/src/components/section/section.css.js +1 -1
- package/dist/src/components/section/section.css.js.map +1 -1
- package/dist/src/components/section/section.d.ts +8 -6
- package/dist/src/components/section/section.js +1 -1
- package/dist/src/components/section/section.js.map +1 -1
- package/dist/src/components/section-header/section-header.css.js +1 -1
- package/dist/src/components/section-header/section-header.css.js.map +1 -1
- package/dist/src/components/section-header/section-header.d.ts +22 -23
- package/dist/src/components/section-header/section-header.js +6 -8
- package/dist/src/components/section-header/section-header.js.map +1 -1
- package/dist/src/components/select/select-option.d.ts +29 -0
- package/dist/src/components/select/select-option.js +2 -0
- package/dist/src/components/select/select-option.js.map +1 -0
- package/dist/src/components/{dropdown/dropdown.css.js → select/select.css.js} +1 -1
- package/dist/src/components/select/select.css.js.map +1 -0
- package/dist/src/components/select/select.d.ts +78 -0
- package/dist/src/components/select/select.js +35 -0
- package/dist/src/components/select/select.js.map +1 -0
- package/dist/src/components/shared/adopt-styles.d.ts +53 -0
- package/dist/src/components/shared/adopt-styles.js +2 -0
- package/dist/src/components/shared/adopt-styles.js.map +1 -0
- package/dist/src/components/shared/controller.slot.d.ts +65 -0
- package/dist/src/components/shared/controller.slot.js +2 -0
- package/dist/src/components/shared/controller.slot.js.map +1 -0
- package/dist/src/components/shared/events.d.ts +19 -23
- package/dist/src/components/shared/fill-width.css.js.map +1 -1
- package/dist/src/components/shared/flat-text.d.ts +15 -0
- package/dist/src/components/shared/flat-text.js +2 -0
- package/dist/src/components/shared/flat-text.js.map +1 -0
- package/dist/src/components/shared/form-control.d.ts +27 -3
- package/dist/src/components/shared/form-control.js +11 -1
- package/dist/src/components/shared/form-control.js.map +1 -1
- package/dist/src/components/shared/form-field.css.d.ts +5 -5
- package/dist/src/components/shared/form-field.css.js +1 -1
- package/dist/src/components/shared/form-field.css.js.map +1 -1
- package/dist/src/components/shared/hold.d.ts +14 -0
- package/dist/src/components/shared/hold.js +2 -0
- package/dist/src/components/shared/hold.js.map +1 -0
- package/dist/src/components/shared/prop-vocabulary.d.ts +81 -20
- package/dist/src/components/shared/prop-vocabulary.js +1 -1
- package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
- package/dist/src/components/shared/tablist.d.ts +31 -0
- package/dist/src/components/shared/tablist.js +2 -0
- package/dist/src/components/shared/tablist.js.map +1 -0
- package/dist/src/components/shared/token-scales.d.ts +30 -4
- package/dist/src/components/shared/token-scales.js +1 -1
- package/dist/src/components/shared/token-scales.js.map +1 -1
- package/dist/src/components/spinner/spinner.css.js.map +1 -1
- package/dist/src/components/spinner/spinner.js +2 -2
- package/dist/src/components/spinner/spinner.js.map +1 -1
- package/dist/src/components/spotlight/spotlight.css.js +2 -0
- package/dist/src/components/spotlight/spotlight.css.js.map +1 -0
- package/dist/src/components/spotlight/spotlight.d.ts +31 -0
- package/dist/src/components/spotlight/spotlight.js +18 -0
- package/dist/src/components/spotlight/spotlight.js.map +1 -0
- package/dist/src/components/stat/stat-highlight.d.ts +1 -1
- package/dist/src/components/stat/stat.css.d.ts +1 -1
- package/dist/src/components/stat/stat.css.js +1 -1
- package/dist/src/components/stat/stat.css.js.map +1 -1
- package/dist/src/components/stat/stat.d.ts +41 -1
- package/dist/src/components/stat/stat.js +12 -1
- package/dist/src/components/stat/stat.js.map +1 -0
- package/dist/src/components/switch/switch.css.js +1 -1
- package/dist/src/components/switch/switch.css.js.map +1 -1
- package/dist/src/components/switch/switch.d.ts +10 -2
- package/dist/src/components/switch/switch.js +5 -4
- package/dist/src/components/switch/switch.js.map +1 -1
- package/dist/src/components/tab-group/tab-group.css.js +2 -0
- package/dist/src/components/tab-group/tab-group.css.js.map +1 -0
- package/dist/src/components/tab-group/tab-group.d.ts +172 -0
- package/dist/src/components/tab-group/tab-group.js +16 -0
- package/dist/src/components/tab-group/tab-group.js.map +1 -0
- package/dist/src/components/tab-group/tab-panel.d.ts +30 -0
- package/dist/src/components/tab-group/tab-panel.js +2 -0
- package/dist/src/components/tab-group/tab-panel.js.map +1 -0
- package/dist/src/components/tab-group/tab.css.js +2 -0
- package/dist/src/components/tab-group/tab.css.js.map +1 -0
- package/dist/src/components/tab-group/tab.d.ts +53 -0
- package/dist/src/components/tab-group/tab.js +2 -0
- package/dist/src/components/tab-group/tab.js.map +1 -0
- package/dist/src/components/table-of-contents/reading-line.d.ts +24 -0
- package/dist/src/components/table-of-contents/reading-line.js +2 -0
- package/dist/src/components/table-of-contents/reading-line.js.map +1 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.css.d.ts +7 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.css.js +2 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.css.js.map +1 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.d.ts +40 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.js +2 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.js.map +1 -0
- package/dist/src/components/table-of-contents/table-of-contents.css.d.ts +10 -0
- package/dist/src/components/table-of-contents/table-of-contents.css.js +2 -0
- package/dist/src/components/table-of-contents/table-of-contents.css.js.map +1 -0
- package/dist/src/components/table-of-contents/table-of-contents.d.ts +116 -0
- package/dist/src/components/table-of-contents/table-of-contents.js +24 -0
- package/dist/src/components/table-of-contents/table-of-contents.js.map +1 -0
- package/dist/src/components/tag/tag.css.js +1 -1
- package/dist/src/components/tag/tag.css.js.map +1 -1
- package/dist/src/components/tag/tag.d.ts +31 -4
- package/dist/src/components/tag/tag.js +1 -3
- package/dist/src/components/tag/tag.js.map +1 -1
- package/dist/src/components/terminal/terminal-cursor.d.ts +2 -3
- package/dist/src/components/terminal/terminal-cursor.js +1 -1
- package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
- package/dist/src/components/terminal/terminal-line.css.d.ts +2 -0
- package/dist/src/components/terminal/terminal-line.css.js +2 -0
- package/dist/src/components/terminal/terminal-line.css.js.map +1 -0
- package/dist/src/components/terminal/terminal-line.d.ts +42 -0
- package/dist/src/components/terminal/terminal-line.js +8 -0
- package/dist/src/components/terminal/terminal-line.js.map +1 -0
- package/dist/src/components/terminal/terminal.css.d.ts +2 -0
- package/dist/src/components/terminal/terminal.css.js +2 -0
- package/dist/src/components/terminal/terminal.css.js.map +1 -0
- package/dist/src/components/terminal/terminal.d.ts +52 -0
- package/dist/src/components/terminal/terminal.js +19 -0
- package/dist/src/components/terminal/terminal.js.map +1 -0
- package/dist/src/components/terminal-hero/terminal-hero.css.d.ts +2 -0
- package/dist/src/components/terminal-hero/terminal-hero.css.js +2 -0
- package/dist/src/components/terminal-hero/terminal-hero.css.js.map +1 -0
- package/dist/src/components/terminal-hero/terminal-hero.d.ts +62 -0
- package/dist/src/components/terminal-hero/terminal-hero.js +48 -0
- package/dist/src/components/terminal-hero/terminal-hero.js.map +1 -0
- package/dist/src/components/terms/terms.css.d.ts +2 -0
- package/dist/src/components/terms/terms.css.js +2 -0
- package/dist/src/components/terms/terms.css.js.map +1 -0
- package/dist/src/components/terms/terms.d.ts +42 -0
- package/dist/src/components/terms/terms.js +9 -0
- package/dist/src/components/terms/terms.js.map +1 -0
- package/dist/src/components/textarea/textarea.css.d.ts +2 -2
- package/dist/src/components/textarea/textarea.css.js.map +1 -1
- package/dist/src/components/textarea/textarea.d.ts +15 -6
- package/dist/src/components/textarea/textarea.js +13 -17
- package/dist/src/components/textarea/textarea.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.d.ts +25 -4
- package/dist/src/components/tooltip/tooltip.js +5 -8
- package/dist/src/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/components/trust-panel/trust-card.css.d.ts +2 -0
- package/dist/src/components/trust-panel/trust-card.css.js +2 -0
- package/dist/src/components/trust-panel/trust-card.css.js.map +1 -0
- package/dist/src/components/trust-panel/trust-card.d.ts +31 -0
- package/dist/src/components/trust-panel/trust-card.js +10 -0
- package/dist/src/components/trust-panel/trust-card.js.map +1 -0
- package/dist/src/components/trust-panel/trust-panel.css.js +1 -1
- package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.d.ts +28 -25
- package/dist/src/components/trust-panel/trust-panel.js +10 -57
- package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
- package/dist/src/components/video/video.js +1 -1
- package/dist/src/components/video/video.js.map +1 -1
- package/dist/src/components/video-player/video-player.d.ts +25 -3
- package/dist/src/components/video-player/video-player.js +7 -7
- package/dist/src/components/video-player/video-player.js.map +1 -1
- package/dist/src/loader/create-loader.d.ts +13 -2
- package/dist/src/loader/create-loader.js +1 -1
- package/dist/src/loader/create-loader.js.map +1 -1
- package/dist/src/loader/loader.d.ts +7 -4
- package/dist/src/loader/loader.js.map +1 -1
- package/dist/src/loader/registry.js +1 -1
- package/dist/src/loader/registry.js.map +1 -1
- package/dist/src/tokens/fonts.css +1 -1
- package/dist/src/tokens/layout.css +1 -1
- package/dist/src/tokens/scheme-layer.d.ts +55 -0
- package/dist/src/tokens/scheme-layer.js +5 -0
- package/dist/src/tokens/scheme-layer.js.map +1 -0
- package/dist/src/tokens/themes/dark.d.ts +64 -0
- package/dist/src/tokens/themes/dark.js +2 -0
- package/dist/src/tokens/themes/dark.js.map +1 -0
- package/dist/src/tokens/tokens.css +1 -1
- package/dist/src/tokens/tokens.d.ts +4 -25
- package/dist/src/tokens/tokens.js +1 -1
- package/dist/src/tokens/tokens.js.map +1 -1
- package/dist/src/vendor/prism/LICENSE +21 -0
- package/dist/src/vendor/prism/README.md +65 -0
- package/dist/src/vendor/prism/prism.d.ts +7 -0
- package/dist/src/vendor/prism/prism.js +13 -0
- package/package.json +163 -105
- package/schemas/README.md +55 -1
- package/schemas/component-manifest.json +4546 -3215
- package/schemas/figma-component-map.json +3247 -0
- package/schemas/manifest-omissions.json +1 -26
- package/schemas/page-schema.json +28 -1
- package/dist/src/components/accordion/accordion-bg.css.js +0 -2
- package/dist/src/components/accordion/accordion-bg.css.js.map +0 -1
- package/dist/src/components/accordion/accordion-bg.d.ts +0 -52
- package/dist/src/components/accordion/accordion-bg.js +0 -76
- package/dist/src/components/accordion/accordion-bg.js.map +0 -1
- package/dist/src/components/alert/alert.css.js +0 -2
- package/dist/src/components/alert/alert.css.js.map +0 -1
- package/dist/src/components/alert/alert.d.ts +0 -55
- package/dist/src/components/alert/alert.js +0 -28
- package/dist/src/components/alert/alert.js.map +0 -1
- package/dist/src/components/anchor/anchor-nav.css.js +0 -2
- package/dist/src/components/anchor/anchor-nav.css.js.map +0 -1
- package/dist/src/components/anchor/anchor-nav.js +0 -67
- package/dist/src/components/anchor/anchor-nav.js.map +0 -1
- package/dist/src/components/awards/awards-flex.css.d.ts +0 -1
- package/dist/src/components/awards/awards-flex.css.js +0 -2
- package/dist/src/components/awards/awards-flex.css.js.map +0 -1
- package/dist/src/components/awards/awards-flex.d.ts +0 -65
- package/dist/src/components/awards/awards-flex.js +0 -68
- package/dist/src/components/awards/awards-flex.js.map +0 -1
- package/dist/src/components/awards/awards-spotlight.css.d.ts +0 -1
- package/dist/src/components/awards/awards-spotlight.css.js +0 -2
- package/dist/src/components/awards/awards-spotlight.css.js.map +0 -1
- package/dist/src/components/awards/awards-spotlight.d.ts +0 -60
- package/dist/src/components/awards/awards-spotlight.js +0 -51
- package/dist/src/components/awards/awards-spotlight.js.map +0 -1
- package/dist/src/components/card-features/card-features.css.js +0 -2
- package/dist/src/components/card-features/card-features.css.js.map +0 -1
- package/dist/src/components/card-features/card-features.d.ts +0 -43
- package/dist/src/components/card-features/card-features.js +0 -37
- package/dist/src/components/card-features/card-features.js.map +0 -1
- package/dist/src/components/cards/card.css.js +0 -2
- package/dist/src/components/cards/card.css.js.map +0 -1
- package/dist/src/components/cards/card.d.ts +0 -61
- package/dist/src/components/cards/card.js +0 -54
- package/dist/src/components/cards/card.js.map +0 -1
- package/dist/src/components/compare/compare.css.js +0 -2
- package/dist/src/components/compare/compare.css.js.map +0 -1
- package/dist/src/components/compare/compare.d.ts +0 -79
- package/dist/src/components/compare/compare.js +0 -122
- package/dist/src/components/compare/compare.js.map +0 -1
- package/dist/src/components/divider/divider-horizontal.d.ts +0 -15
- package/dist/src/components/divider/divider-horizontal.js +0 -11
- package/dist/src/components/divider/divider-horizontal.js.map +0 -1
- package/dist/src/components/divider/divider-vertical.d.ts +0 -16
- package/dist/src/components/divider/divider-vertical.js +0 -12
- package/dist/src/components/divider/divider-vertical.js.map +0 -1
- package/dist/src/components/dropdown/dropdown.css.js.map +0 -1
- package/dist/src/components/dropdown/dropdown.d.ts +0 -49
- package/dist/src/components/dropdown/dropdown.js +0 -36
- package/dist/src/components/dropdown/dropdown.js.map +0 -1
- package/dist/src/components/features/features.css.js +0 -2
- package/dist/src/components/features/features.css.js.map +0 -1
- package/dist/src/components/features/features.d.ts +0 -21
- package/dist/src/components/features/features.js +0 -28
- package/dist/src/components/features/features.js.map +0 -1
- package/dist/src/components/footer/footer-images.d.ts +0 -3
- package/dist/src/components/footer/footer-images.js +0 -9
- package/dist/src/components/footer/footer-images.js.map +0 -1
- package/dist/src/components/footer/footer-links-group.css.js +0 -2
- package/dist/src/components/footer/footer-links-group.css.js.map +0 -1
- package/dist/src/components/footer/footer-links-group.d.ts +0 -13
- package/dist/src/components/footer/footer-links-group.js +0 -5
- package/dist/src/components/footer/footer-links-group.js.map +0 -1
- package/dist/src/components/footer/footer-lp.d.ts +0 -26
- package/dist/src/components/footer/footer-lp.js +0 -45
- package/dist/src/components/footer/footer-lp.js.map +0 -1
- package/dist/src/components/footer/footer-nav-menu.css.js +0 -2
- package/dist/src/components/footer/footer-nav-menu.css.js.map +0 -1
- package/dist/src/components/footer/footer-nav-menu.js +0 -6
- package/dist/src/components/footer/footer-nav-menu.js.map +0 -1
- package/dist/src/components/header/header-code.css.js +0 -2
- package/dist/src/components/header/header-code.css.js.map +0 -1
- package/dist/src/components/header/header-code.d.ts +0 -50
- package/dist/src/components/header/header-code.js +0 -80
- package/dist/src/components/header/header-code.js.map +0 -1
- package/dist/src/components/header/header.css.js +0 -2
- package/dist/src/components/header/header.css.js.map +0 -1
- package/dist/src/components/header/header.d.ts +0 -32
- package/dist/src/components/header/header.js +0 -165
- package/dist/src/components/header/header.js.map +0 -1
- package/dist/src/components/heading/heading.css.js +0 -2
- package/dist/src/components/heading/heading.css.js.map +0 -1
- package/dist/src/components/heading/heading.js +0 -6
- package/dist/src/components/heading/heading.js.map +0 -1
- package/dist/src/components/help-text/help-text.css.d.ts +0 -3
- package/dist/src/components/help-text/help-text.css.js.map +0 -1
- package/dist/src/components/help-text/help-text.d.ts +0 -14
- package/dist/src/components/help-text/help-text.js +0 -4
- package/dist/src/components/help-text/help-text.js.map +0 -1
- package/dist/src/components/icons/analysis-icon.d.ts +0 -11
- package/dist/src/components/icons/analysis-icon.js +0 -6
- package/dist/src/components/icons/analysis-icon.js.map +0 -1
- package/dist/src/components/icons/arrow-down-icon.d.ts +0 -11
- package/dist/src/components/icons/arrow-down-icon.js +0 -6
- package/dist/src/components/icons/arrow-down-icon.js.map +0 -1
- package/dist/src/components/icons/arrow-icon.d.ts +0 -37
- package/dist/src/components/icons/arrow-icon.js +0 -6
- package/dist/src/components/icons/arrow-icon.js.map +0 -1
- package/dist/src/components/icons/arrow-right-icon.d.ts +0 -34
- package/dist/src/components/icons/arrow-right-icon.js +0 -6
- package/dist/src/components/icons/arrow-right-icon.js.map +0 -1
- package/dist/src/components/icons/arrow-up-icon.d.ts +0 -24
- package/dist/src/components/icons/arrow-up-icon.js +0 -6
- package/dist/src/components/icons/arrow-up-icon.js.map +0 -1
- package/dist/src/components/icons/av-comparatives-icon.d.ts +0 -13
- package/dist/src/components/icons/av-comparatives-icon.js +0 -13
- package/dist/src/components/icons/av-comparatives-icon.js.map +0 -1
- package/dist/src/components/icons/bd-ai-icon.d.ts +0 -13
- package/dist/src/components/icons/bd-ai-icon.js +0 -6
- package/dist/src/components/icons/bd-ai-icon.js.map +0 -1
- package/dist/src/components/icons/best-brands-icon.d.ts +0 -13
- package/dist/src/components/icons/best-brands-icon.js +0 -15
- package/dist/src/components/icons/best-brands-icon.js.map +0 -1
- package/dist/src/components/icons/brand-signature-icon.d.ts +0 -37
- package/dist/src/components/icons/brand-signature-icon.js +0 -6
- package/dist/src/components/icons/brand-signature-icon.js.map +0 -1
- package/dist/src/components/icons/check-icon.d.ts +0 -22
- package/dist/src/components/icons/check-icon.js +0 -6
- package/dist/src/components/icons/check-icon.js.map +0 -1
- package/dist/src/components/icons/circle-info-icon.d.ts +0 -26
- package/dist/src/components/icons/circle-info-icon.js +0 -8
- package/dist/src/components/icons/circle-info-icon.js.map +0 -1
- package/dist/src/components/icons/close-icon.d.ts +0 -11
- package/dist/src/components/icons/close-icon.js +0 -6
- package/dist/src/components/icons/close-icon.js.map +0 -1
- package/dist/src/components/icons/enterprise-icon.d.ts +0 -11
- package/dist/src/components/icons/enterprise-icon.js +0 -6
- package/dist/src/components/icons/enterprise-icon.js.map +0 -1
- package/dist/src/components/icons/family-icon.d.ts +0 -11
- package/dist/src/components/icons/family-icon.js +0 -8
- package/dist/src/components/icons/family-icon.js.map +0 -1
- package/dist/src/components/icons/globe-icon.d.ts +0 -11
- package/dist/src/components/icons/globe-icon.js +0 -6
- package/dist/src/components/icons/globe-icon.js.map +0 -1
- package/dist/src/components/icons/guide-icon.d.ts +0 -11
- package/dist/src/components/icons/guide-icon.js +0 -6
- package/dist/src/components/icons/guide-icon.js.map +0 -1
- package/dist/src/components/icons/home-icon.d.ts +0 -11
- package/dist/src/components/icons/home-icon.js +0 -6
- package/dist/src/components/icons/home-icon.js.map +0 -1
- package/dist/src/components/icons/icon-element.d.ts +0 -58
- package/dist/src/components/icons/icon-element.js +0 -2
- package/dist/src/components/icons/icon-element.js.map +0 -1
- package/dist/src/components/icons/individual-icon.d.ts +0 -11
- package/dist/src/components/icons/individual-icon.js +0 -6
- package/dist/src/components/icons/individual-icon.js.map +0 -1
- package/dist/src/components/icons/laurel-icon.d.ts +0 -11
- package/dist/src/components/icons/laurel-icon.js +0 -14
- package/dist/src/components/icons/laurel-icon.js.map +0 -1
- package/dist/src/components/icons/machine-learning-icon.d.ts +0 -11
- package/dist/src/components/icons/machine-learning-icon.js +0 -6
- package/dist/src/components/icons/machine-learning-icon.js.map +0 -1
- package/dist/src/components/icons/minus-icon.d.ts +0 -11
- package/dist/src/components/icons/minus-icon.js +0 -7
- package/dist/src/components/icons/minus-icon.js.map +0 -1
- package/dist/src/components/icons/missing-icon.d.ts +0 -41
- package/dist/src/components/icons/missing-icon.js +0 -8
- package/dist/src/components/icons/missing-icon.js.map +0 -1
- package/dist/src/components/icons/pause-icon.d.ts +0 -11
- package/dist/src/components/icons/pause-icon.js +0 -7
- package/dist/src/components/icons/pause-icon.js.map +0 -1
- package/dist/src/components/icons/pc-mag-2024-icon.d.ts +0 -13
- package/dist/src/components/icons/pc-mag-2024-icon.js +0 -14
- package/dist/src/components/icons/pc-mag-2024-icon.js.map +0 -1
- package/dist/src/components/icons/pc-mag-business-icon.d.ts +0 -13
- package/dist/src/components/icons/pc-mag-business-icon.js +0 -14
- package/dist/src/components/icons/pc-mag-business-icon.js.map +0 -1
- package/dist/src/components/icons/pc-mag-icon.d.ts +0 -13
- package/dist/src/components/icons/pc-mag-icon.js +0 -14
- package/dist/src/components/icons/pc-mag-icon.js.map +0 -1
- package/dist/src/components/icons/pc-mag-readers-icon.d.ts +0 -13
- package/dist/src/components/icons/pc-mag-readers-icon.js +0 -14
- package/dist/src/components/icons/pc-mag-readers-icon.js.map +0 -1
- package/dist/src/components/icons/play-icon.d.ts +0 -11
- package/dist/src/components/icons/play-icon.js +0 -6
- package/dist/src/components/icons/play-icon.js.map +0 -1
- package/dist/src/components/icons/plus-icon.d.ts +0 -11
- package/dist/src/components/icons/plus-icon.js +0 -6
- package/dist/src/components/icons/plus-icon.js.map +0 -1
- package/dist/src/components/icons/quote-icon.d.ts +0 -20
- package/dist/src/components/icons/quote-icon.js +0 -6
- package/dist/src/components/icons/quote-icon.js.map +0 -1
- package/dist/src/components/icons/small-business-icon.d.ts +0 -11
- package/dist/src/components/icons/small-business-icon.js +0 -6
- package/dist/src/components/icons/small-business-icon.js.map +0 -1
- package/dist/src/components/icons/top-product-icon.d.ts +0 -13
- package/dist/src/components/icons/top-product-icon.js +0 -14
- package/dist/src/components/icons/top-product-icon.js.map +0 -1
- package/dist/src/components/image/image.css.js.map +0 -1
- package/dist/src/components/image/image.js +0 -17
- package/dist/src/components/image/image.js.map +0 -1
- package/dist/src/components/input/input-clipboard.css.d.ts +0 -9
- package/dist/src/components/input/input-clipboard.css.js +0 -2
- package/dist/src/components/input/input-clipboard.css.js.map +0 -1
- package/dist/src/components/input/input-clipboard.d.ts +0 -52
- package/dist/src/components/input/input-clipboard.js +0 -62
- package/dist/src/components/input/input-clipboard.js.map +0 -1
- package/dist/src/components/light-carousel/light-carousel.css.js +0 -2
- package/dist/src/components/light-carousel/light-carousel.css.js.map +0 -1
- package/dist/src/components/light-carousel/light-carousel.d.ts +0 -74
- package/dist/src/components/light-carousel/light-carousel.js +0 -34
- package/dist/src/components/light-carousel/light-carousel.js.map +0 -1
- package/dist/src/components/modal/modal.css.js +0 -2
- package/dist/src/components/modal/modal.css.js.map +0 -1
- package/dist/src/components/modal/modal.d.ts +0 -52
- package/dist/src/components/modal/modal.js +0 -17
- package/dist/src/components/modal/modal.js.map +0 -1
- package/dist/src/components/paragraph/paragraph.css.js +0 -2
- package/dist/src/components/paragraph/paragraph.css.js.map +0 -1
- package/dist/src/components/paragraph/paragraph.js +0 -6
- package/dist/src/components/paragraph/paragraph.js.map +0 -1
- package/dist/src/components/pricing-cards/adopt-styles.d.ts +0 -10
- package/dist/src/components/pricing-cards/adopt-styles.js +0 -2
- package/dist/src/components/pricing-cards/adopt-styles.js.map +0 -1
- package/dist/src/components/pricing-cards/new-pricing-card.d.ts +0 -18
- package/dist/src/components/pricing-cards/new-pricing-card.js +0 -12
- package/dist/src/components/pricing-cards/new-pricing-card.js.map +0 -1
- package/dist/src/components/pricing-cards/new-pricing.css.js +0 -2
- package/dist/src/components/pricing-cards/new-pricing.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +0 -19
- package/dist/src/components/pricing-cards/pricing-card-actions.js +0 -25
- package/dist/src/components/pricing-cards/pricing-card-actions.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-container.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-container.d.ts +0 -14
- package/dist/src/components/pricing-cards/pricing-card-container.js +0 -6
- package/dist/src/components/pricing-cards/pricing-card-container.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-header.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-header.d.ts +0 -22
- package/dist/src/components/pricing-cards/pricing-card-header.js +0 -18
- package/dist/src/components/pricing-cards/pricing-card-header.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +0 -39
- package/dist/src/components/pricing-cards/pricing-card-pricing.js +0 -49
- package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +0 -16
- package/dist/src/components/pricing-cards/pricing-card-show-more.js +0 -12
- package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card.d.ts +0 -155
- package/dist/src/components/pricing-cards/pricing-card.js +0 -258
- package/dist/src/components/pricing-cards/pricing-card.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +0 -13
- package/dist/src/components/pricing-cards/pricing-feature-item.js +0 -5
- package/dist/src/components/pricing-cards/pricing-feature-item.js.map +0 -1
- package/dist/src/components/progress/progress.css.d.ts +0 -3
- package/dist/src/components/progress/progress.css.js +0 -2
- package/dist/src/components/progress/progress.css.js.map +0 -1
- package/dist/src/components/progress/progress.d.ts +0 -19
- package/dist/src/components/progress/progress.js +0 -11
- package/dist/src/components/progress/progress.js.map +0 -1
- package/dist/src/components/radio/toggle-radio.d.ts +0 -28
- package/dist/src/components/radio/toggle-radio.js +0 -15
- package/dist/src/components/radio/toggle-radio.js.map +0 -1
- package/dist/src/components/spotlight-section/spotlight-section.css.js +0 -2
- package/dist/src/components/spotlight-section/spotlight-section.css.js.map +0 -1
- package/dist/src/components/spotlight-section/spotlight-section.d.ts +0 -22
- package/dist/src/components/spotlight-section/spotlight-section.js +0 -46
- package/dist/src/components/spotlight-section/spotlight-section.js.map +0 -1
- package/dist/src/components/stat/stat-tile.d.ts +0 -24
- package/dist/src/components/stat/stat-tile.js +0 -7
- package/dist/src/components/stat/stat-tile.js.map +0 -1
- package/dist/src/components/tab-list/tab-list.css.d.ts +0 -16
- package/dist/src/components/tab-list/tab-list.css.js +0 -2
- package/dist/src/components/tab-list/tab-list.css.js.map +0 -1
- package/dist/src/components/tab-list/tab-list.d.ts +0 -99
- package/dist/src/components/tab-list/tab-list.js +0 -25
- package/dist/src/components/tab-list/tab-list.js.map +0 -1
- package/dist/src/components/tabs/tabs.css.js +0 -2
- package/dist/src/components/tabs/tabs.css.js.map +0 -1
- package/dist/src/components/tabs/tabs.d.ts +0 -69
- package/dist/src/components/tabs/tabs.js +0 -29
- package/dist/src/components/tabs/tabs.js.map +0 -1
- package/dist/src/components/terminal/terminal-message.css.js +0 -2
- package/dist/src/components/terminal/terminal-message.css.js.map +0 -1
- package/dist/src/components/terminal/terminal-message.d.ts +0 -44
- package/dist/src/components/terminal/terminal-message.js +0 -68
- package/dist/src/components/terminal/terminal-message.js.map +0 -1
- package/dist/src/components/termsOfUse/terms.css.js +0 -2
- package/dist/src/components/termsOfUse/terms.css.js.map +0 -1
- package/dist/src/components/termsOfUse/terms.d.ts +0 -22
- package/dist/src/components/termsOfUse/terms.js +0 -78
- package/dist/src/components/termsOfUse/terms.js.map +0 -1
- /package/dist/src/components/{accordion/accordion-bg.css.d.ts → agent-endpoints/agent-endpoints-pills.css.d.ts} +0 -0
- /package/dist/src/components/{anchor → anchor-nav}/anchor-nav.css.d.ts +0 -0
- /package/dist/src/components/{card-features/card-features.css.d.ts → awards/award-marks.css.d.ts} +0 -0
- /package/dist/src/components/{cards/card.css.d.ts → awards/award.css.d.ts} +0 -0
- /package/dist/src/components/{compare/compare.css.d.ts → bar-chart/bar-chart.css.d.ts} +0 -0
- /package/dist/src/components/{features/features.css.d.ts → card/card-grid.css.d.ts} +0 -0
- /package/dist/src/components/{footer/footer-links-group.css.d.ts → card/card.css.d.ts} +0 -0
- /package/dist/src/components/{footer/footer-nav-menu.css.d.ts → dialog/dialog.css.d.ts} +0 -0
- /package/dist/src/components/{header/header-code.css.d.ts → footer/footer-group.css.d.ts} +0 -0
- /package/dist/src/components/{header/header.css.d.ts → footer/footer-nav.css.d.ts} +0 -0
- /package/dist/src/components/{heading/heading.css.d.ts → h/h.css.d.ts} +0 -0
- /package/dist/src/components/{image/image.css.d.ts → img/img.css.d.ts} +0 -0
- /package/dist/src/components/{light-carousel/light-carousel.css.d.ts → install-options/install-option.css.d.ts} +0 -0
- /package/dist/src/components/{modal/modal.css.d.ts → newsletter-signup/newsletter-signup.css.d.ts} +0 -0
- /package/dist/src/components/{paragraph/paragraph.css.d.ts → p/p.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards → pricing-card}/pricing-card.css.d.ts +0 -0
- /package/dist/src/components/{pricing-cards/new-pricing.css.d.ts → pricing-card/pricing-feature-group.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-card-actions.css.d.ts → pricing-card/pricing-feature.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-card-container.css.d.ts → pricing-card/pricing-price.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-card-header.css.d.ts → process-steps/process-step.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-card-pricing.css.d.ts → product-hero/product-hero.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-card-show-more.css.d.ts → product-upsell/product-upsell.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-feature-item.css.d.ts → related-articles/related-articles.css.d.ts} +0 -0
- /package/dist/src/components/{spotlight-section/spotlight-section.css.d.ts → report-promo/report-promo.css.d.ts} +0 -0
- /package/dist/src/components/{dropdown/dropdown.css.d.ts → select/select.css.d.ts} +0 -0
- /package/dist/src/components/{tabs/tabs.css.d.ts → spotlight/spotlight.css.d.ts} +0 -0
- /package/dist/src/components/{terminal/terminal-message.css.d.ts → tab-group/tab-group.css.d.ts} +0 -0
- /package/dist/src/components/{termsOfUse/terms.css.d.ts → tab-group/tab.css.d.ts} +0 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import { SlotController } from "../shared/controller.slot.js";
|
|
3
|
+
import "../../tokens/tokens.js";
|
|
4
|
+
import "../h/h.js";
|
|
5
|
+
import "../post-card/post-card.js";
|
|
6
|
+
type Part = "title" | "";
|
|
7
|
+
/**
|
|
8
|
+
* The related articles after a post: a title over a row of three cards, as
|
|
9
|
+
* REAL's templates/csg/post/related draws them.
|
|
10
|
+
*
|
|
11
|
+
* <bd-related-articles>
|
|
12
|
+
* <bd-h slot="title" as="h2">Related articles</bd-h>
|
|
13
|
+
* <bd-post-card appearance="frameless" href="/blog/…">…</bd-post-card>
|
|
14
|
+
* <bd-post-card appearance="frameless" href="/blog/…">…</bd-post-card>
|
|
15
|
+
* <bd-post-card appearance="frameless" href="/blog/…">…</bd-post-card>
|
|
16
|
+
* </bd-related-articles>
|
|
17
|
+
*
|
|
18
|
+
* It was the blog's bd-blog-related-articles until the blog's components
|
|
19
|
+
* became the package's own (DEX-29414). The cards are the default slot, each
|
|
20
|
+
* a bd-post-card the page writes (3.x's `items`), and the row is the list
|
|
21
|
+
* they are items of -- an improvement on REAL's row of bare cards. It draws
|
|
22
|
+
* the first three, REAL's RELATED_COUNT: one column 32 apart, and three side
|
|
23
|
+
* by side 24 apart once the row is md wide.
|
|
24
|
+
*
|
|
25
|
+
* WHY IT IS A COMPONENT (N10). A wrapper that only adds a heading and a grid
|
|
26
|
+
* is deleted; this one coordinates its children. It is the list its cards
|
|
27
|
+
* are items of -- the <ul> below, and each bd-post-card takes the listitem
|
|
28
|
+
* role through its ElementInternals when a bd-related-articles is its
|
|
29
|
+
* parent, and no other -- and it decides which of them are drawn, the first
|
|
30
|
+
* three. bd-section-header and bd-grid would give the cards neither.
|
|
31
|
+
*
|
|
32
|
+
* 3.x drew up to four, two by two from md and four across from lg, and below
|
|
33
|
+
* md showed two with a "see all" button (the `more` slot) that set
|
|
34
|
+
* `expanded`. REAL has none of it, so the button, the slot and the property
|
|
35
|
+
* are gone, and so is the rule 3.x drew between stacked cards.
|
|
36
|
+
*
|
|
37
|
+
* The row sets its title's size and ink through bd-h's hooks (3.x drew an
|
|
38
|
+
* h2); the page picks the level. The section is named by the title. Every
|
|
39
|
+
* part's box is hidden while its slot is empty, and no word is the row's
|
|
40
|
+
* own.
|
|
41
|
+
*/
|
|
42
|
+
export declare class BdRelatedArticles extends LitElement {
|
|
43
|
+
static styles: import("lit").CSSResult[];
|
|
44
|
+
_slots: SlotController<Part>;
|
|
45
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
46
|
+
}
|
|
47
|
+
declare global {
|
|
48
|
+
interface HTMLElementTagNameMap {
|
|
49
|
+
"bd-related-articles": BdRelatedArticles;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
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{SlotController as n}from"../shared/controller.slot.js";import"../h/h.js";import"../post-card/post-card.js";import r from"./related-articles.css.js";import{LitElement as i,html as a,nothing as o}from"lit";var s=class extends i{constructor(...e){super(...e),this._slots=new n(this,{slots:[`title`,``]})}static{this.styles=[r]}render(){let e=e=>this._slots.has(e);return a`
|
|
2
|
+
<section class="related" part="related" aria-labelledby=${e(`title`)?`title`:o}>
|
|
3
|
+
<div class="title" id="title" part="title" ?hidden=${!e(`title`)}><slot name="title"></slot></div>
|
|
4
|
+
<ul class="grid" part="grid" role="list" ?hidden=${!e(``)}>
|
|
5
|
+
<slot></slot>
|
|
6
|
+
</ul>
|
|
7
|
+
</section>
|
|
8
|
+
`}};s=t([e(`bd-related-articles`)],s);export{s as BdRelatedArticles};
|
|
9
|
+
//# sourceMappingURL=related-articles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"related-articles.js","names":["relatedArticlesCSS","_decorate","__decorate","related_articles_css_default","BdRelatedArticles","LitElement","_args","SlotController","has","part","nothing","defineElement"],"sources":["../../../../src/components/related-articles/related-articles.ts"],"sourcesContent":["import { LitElement, html, nothing } from \"lit\";\nimport { SlotController } from \"#shared/controller.slot.ts\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\n/* The atoms the page writes into its slots: 3.x drew its title and its cards\n itself, so a page importing only this module still gets them. */\nimport \"#components/h/h.ts\";\nimport \"#components/post-card/post-card.ts\";\nimport relatedArticlesCSS from \"./related-articles.css.ts\";\n\ntype Part = \"title\" | \"\";\n\n/**\n * The related articles after a post: a title over a row of three cards, as\n * REAL's templates/csg/post/related draws them.\n *\n * <bd-related-articles>\n * <bd-h slot=\"title\" as=\"h2\">Related articles</bd-h>\n * <bd-post-card appearance=\"frameless\" href=\"/blog/…\">…</bd-post-card>\n * <bd-post-card appearance=\"frameless\" href=\"/blog/…\">…</bd-post-card>\n * <bd-post-card appearance=\"frameless\" href=\"/blog/…\">…</bd-post-card>\n * </bd-related-articles>\n *\n * It was the blog's bd-blog-related-articles until the blog's components\n * became the package's own (DEX-29414). The cards are the default slot, each\n * a bd-post-card the page writes (3.x's `items`), and the row is the list\n * they are items of -- an improvement on REAL's row of bare cards. It draws\n * the first three, REAL's RELATED_COUNT: one column 32 apart, and three side\n * by side 24 apart once the row is md wide.\n *\n * WHY IT IS A COMPONENT (N10). A wrapper that only adds a heading and a grid\n * is deleted; this one coordinates its children. It is the list its cards\n * are items of -- the <ul> below, and each bd-post-card takes the listitem\n * role through its ElementInternals when a bd-related-articles is its\n * parent, and no other -- and it decides which of them are drawn, the first\n * three. bd-section-header and bd-grid would give the cards neither.\n *\n * 3.x drew up to four, two by two from md and four across from lg, and below\n * md showed two with a \"see all\" button (the `more` slot) that set\n * `expanded`. REAL has none of it, so the button, the slot and the property\n * are gone, and so is the rule 3.x drew between stacked cards.\n *\n * The row sets its title's size and ink through bd-h's hooks (3.x drew an\n * h2); the page picks the level. The section is named by the title. Every\n * part's box is hidden while its slot is empty, and no word is the row's\n * own.\n */\n@defineElement(\"bd-related-articles\")\nexport class BdRelatedArticles extends LitElement {\n static styles = [relatedArticlesCSS];\n\n _slots = new SlotController<Part>(this, { slots: [\"title\", \"\"] });\n\n render() {\n const has = (part: Part) => this._slots.has(part);\n /* role=\"list\" again on the <ul>: WebKit drops a list's role once its\n markers are taken away (list-style: none). */\n return html`\n <section class=\"related\" part=\"related\" aria-labelledby=${has(\"title\") ? \"title\" : nothing}>\n <div class=\"title\" id=\"title\" part=\"title\" ?hidden=${!has(\"title\")}><slot name=\"title\"></slot></div>\n <ul class=\"grid\" part=\"grid\" role=\"list\" ?hidden=${!has(\"\")}>\n <slot></slot>\n </ul>\n </section>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-related-articles\": BdRelatedArticles;\n }\n}\n"],"mappings":"A,wXAiDO,IAAMI,EAAN,cAAgCC,CAAW,C,8BAGvC,KAAA,OAAA,IAAIE,EAAqB,KAAM,CAAE,MAAO,CAAC,QAAS,EAAE,CAAE,CAAC,C,QAFhD,KAAA,OAAA,CAACP,CAAkB,C,CAInC,QAAS,CACP,IAAMQ,EAAO,GAAe,KAAK,OAAO,IAAIC,CAAI,EAGhD,MAAO,EAAI;gEACiDD,EAAI,OAAO,EAAI,QAAUE,EAAQ;6DACpC,CAACF,EAAI,OAAO,EAAE;2DAChB,CAACA,EAAI,EAAE,EAAE;;;;KAKlE,CACF,EAnBC,EAAAP,EAAA,CAAAU,EAAc,qBAAqB,CAAA,EAAAP,CAAA,E"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import"../shared/token-scales.js";import"../shared/fill-width.css.js";import{css as e}from"lit";var t=e`:host{width:100%;display:block;container-type:inline-size}@supports (width:-moz-available){:host{width:-moz-available}}@supports (width:-webkit-fill-available){:host{width:-webkit-fill-available}}@supports (width:stretch){:host{width:-webkit-fill-available;width:-moz-available;width:stretch}}.promo [hidden]{display:none}.promo{box-sizing:border-box;border-radius:var(--card-radius);background:var(--color-surface-brand);color:var(--color-brand-on-fill);text-align:center;flex-direction:column;display:flex;overflow:hidden}.media{aspect-ratio:7/3;flex:none;position:relative;overflow:hidden}.image{object-fit:cover;object-position:center bottom;width:100%;height:100%;display:block}.main{justify-content:center;align-items:center;gap:var(--spacing-24);min-width:0;padding:var(--spacing-24);flex-direction:column;flex:1;display:flex}.media:not([hidden])+.main{padding-block-start:0}.content{gap:var(--spacing-8);flex-direction:column;min-width:0;display:flex}::slotted(bd-h[slot=title]){--bd-heading-font-size:var(--typography-heading-h4-fontSize);--bd-heading-font-weight:var(--typography-heading-h4-fontWeight);--bd-heading-line-height:var(--typography-heading-h4-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h4-letterSpacing);--bd-heading-font-family:var(--typography-heading-h4-fontFamily);--bd-heading-color:var(--color-brand-on-fill);--bd-paragraph-color:var(--color-brand-on-fill)}.description{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);color:var(--color-brand-on-fill);margin:0}.actions{flex:none;justify-content:center;align-items:center;display:flex}:host([appearance=banner]) .promo{background:light-dark(var(--status-brand-surface-strong),var(--color-surface-container));color:var(--color-text-primary)}:host([appearance=banner]) .media{aspect-ratio:490/157}:host([appearance=banner]) .image{inset-inline-start:0;object-fit:contain;object-position:center top;width:100%;max-width:none;height:313.376%;position:absolute;top:-70%}:host([appearance=banner]) .media:not([hidden])+.main{padding-block-start:var(--spacing-24)}:host([appearance=banner]) ::slotted(bd-h[slot=title]){--bd-heading-font-family:var(--typography-fontFamily-sans-condensed);--bd-heading-font-size:var(--typography-fontSize-xl);--bd-heading-font-weight:var(--typography-fontWeight-semibold);--bd-heading-line-height:var(--typography-heading-h5-lineHeight);--bd-heading-letter-spacing:var(--typography-letterSpacing-normal);--bd-heading-color:var(--color-text-primary);--bd-paragraph-color:var(--color-text-primary)}:host([appearance=banner]) .description{color:var(--color-text-secondary)}@container (width>=768px){:host([appearance=banner]) .promo{text-align:start;flex-direction:row;align-items:stretch}:host([appearance=banner]) .media{aspect-ratio:auto;width:13.25rem}:host([appearance=banner]) .image{top:50%;width:26.5625rem;height:auto;inset-inline:auto 0;transform:translateY(-50%)}:host([appearance=banner]) .main{flex-direction:row}:host([appearance=banner]) .content{flex:1}}`;export{t as default};
|
|
2
|
+
//# sourceMappingURL=report-promo.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"report-promo.css.js","names":["report_promo_css_default"],"sources":["../../../../src/components/report-promo/report-promo.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { above, headingRole, ink } from \"#shared/token-scales.ts\";\nimport { hostFillsWidth } from \"#shared/fill-width.css.ts\";\n\n/* Two looks, both drawn in Figma's csg_blog:\n\n standard the in-article card (97:1533, 296:542, 332:534): the brand\n fill with the brand's own ink, centred, the cover bleeding off\n its top edge, the title semibold 24 and the CTA the red accent\n bd-button.\n banner the wide one (381:1394, stacked 381:1402), which is the look\n the v4 blog's bd-blog-report-promo had: the strong brand wash, the\n cover cropped at the start, the title condensed semibold 20. */\nexport default css`\n /* The banner lays itself out by its own width, so the promo is a size\n container; it takes its column's whole width (shared/fill-width.css.ts),\n which a container would not ask for itself. */\n :host {\n display: block;\n container-type: inline-size;\n }\n\n ${hostFillsWidth()}\n\n /* Each part's box is hidden while its slot is empty; the attribute's\n selector outweighs the display a box sets below. */\n .promo [hidden] {\n display: none;\n }\n\n /* ---- standard: the in-article card ---------------------------------- */\n\n .promo {\n display: flex;\n flex-direction: column;\n overflow: hidden;\n box-sizing: border-box;\n border-radius: var(--card-radius);\n background: var(--color-surface-brand);\n color: var(--color-brand-on-fill);\n text-align: center;\n }\n\n /* The cover bleeds off the card's top edge: its box is the top of the\n card, and the picture fills it from the bottom up, so what does not fit\n is cut at the top, under the card's corner. */\n .media {\n position: relative;\n flex: none;\n /* no token: the cover's band, 168 of the 392 Figma's card is wide */\n aspect-ratio: 7 / 3;\n overflow: hidden;\n }\n\n .image {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center bottom;\n }\n\n .main {\n display: flex;\n flex: 1;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: var(--spacing-24);\n min-width: 0;\n padding: var(--spacing-24);\n }\n\n /* The title starts where the cover ends, as Figma draws it. */\n .media:not([hidden]) + .main {\n padding-block-start: 0;\n }\n\n .content {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-8);\n min-width: 0;\n }\n\n /* The title at heading-h4 (semibold 24 from lg) in the brand's ink, at\n whatever level the page picks. */\n ::slotted(bd-h[slot=\"title\"]) {\n ${unsafeCSS(headingRole(\"heading-h4\"))}\n ${unsafeCSS(ink(\"on-brand\"))}\n }\n\n .description {\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 color: var(--color-brand-on-fill);\n }\n\n .actions {\n display: flex;\n flex: none;\n align-items: center;\n justify-content: center;\n }\n\n /* ---- banner: the strong wash ------------------------------------------ */\n\n /* The strong brand wash in light, as Figma draws it. In dark the wash is\n the brand's 900, and the red accent CTA, the same red in both themes,\n holds 2.79:1 on it -- under a control's 3:1 -- and less under a light\n partner; on the container ground it holds 3.45:1 under any brand. So in\n dark the banner is a container, one step off the page. */\n :host([appearance=\"banner\"]) .promo {\n background: light-dark(var(--status-brand-surface-strong), var(--color-surface-container));\n color: var(--color-text-primary);\n }\n\n /* A crop of the cover across the top of the stacked banner. */\n :host([appearance=\"banner\"]) .media {\n /* no token: the stacked banner's cover band, 490 by 157 in Figma */\n aspect-ratio: 490 / 157;\n }\n\n :host([appearance=\"banner\"]) .image {\n position: absolute;\n inset-inline-start: 0;\n /* no token: 3.x's crop, the cover's upper part lifted out of the band */\n top: -70%;\n width: 100%;\n /* no token: the cover's own 490 by 492, against the band's 157 */\n height: calc(100% * 492 / 157);\n max-width: none;\n object-fit: contain;\n object-position: center top;\n }\n\n :host([appearance=\"banner\"]) .media:not([hidden]) + .main {\n padding-block-start: var(--spacing-24);\n }\n\n /* 3.x's title: condensed semibold 20 at heading-h5's leading, every width. */\n :host([appearance=\"banner\"]) ::slotted(bd-h[slot=\"title\"]) {\n --bd-heading-font-family: var(--typography-fontFamily-sans-condensed);\n --bd-heading-font-size: var(--typography-fontSize-xl); /* no role: Figma's and 3.x's 20 condensed at every width; heading-h5 is the text face, at 18 below lg */\n --bd-heading-font-weight: var(--typography-fontWeight-semibold); /* no role: as above, and heading-h5 is medium */\n --bd-heading-line-height: var(--typography-heading-h5-lineHeight);\n --bd-heading-letter-spacing: var(--typography-letterSpacing-normal);\n ${unsafeCSS(ink(\"strong\"))}\n }\n\n /* Secondary, not muted: the ground is the strong brand wash, and on a\n light partner's darkest wash muted text falls under 4.5:1 in dark\n (4.23); secondary holds it (__tests__/promos.test.ts). */\n :host([appearance=\"banner\"]) .description {\n color: var(--color-text-secondary);\n }\n\n /* The cover at the start, the copy beside it and the link at the end,\n once the banner is md wide. 3.x switched at the lg screen; the banner\n asks its own width now. */\n @container ${unsafeCSS(above(\"md\"))} {\n :host([appearance=\"banner\"]) .promo {\n flex-direction: row;\n align-items: stretch;\n text-align: start;\n }\n\n :host([appearance=\"banner\"]) .media {\n /* no token: 3.x's 212px band, the cover's visible half */\n width: 13.25rem;\n aspect-ratio: auto;\n }\n\n :host([appearance=\"banner\"]) .image {\n top: 50%;\n inset-inline-start: auto;\n inset-inline-end: 0;\n /* no token: the cover at 425px, twice the band, its far half cut */\n width: 26.5625rem;\n height: auto;\n transform: translateY(-50%);\n }\n\n /* The copy 24 from the cover, as 3.x drew it: Figma's starts where the\n cover's band ends, against a cover whose ground is transparent, and a\n page's cover may well be opaque. */\n :host([appearance=\"banner\"]) .main {\n flex-direction: row;\n }\n\n :host([appearance=\"banner\"]) .content {\n flex: 1;\n }\n }\n`;\n"],"mappings":"A,gGAaA,IAAAA,EAAe,CAAG,ulG"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { LitElement, type PropertyValues } from "lit";
|
|
2
|
+
import { SlotController } from "../shared/controller.slot.js";
|
|
3
|
+
import "../../tokens/tokens.js";
|
|
4
|
+
import "../h/h.js";
|
|
5
|
+
import "../button/button.js";
|
|
6
|
+
type Part = "title" | "description" | "cta";
|
|
7
|
+
/** standard: the in-article card on the brand fill. banner: the wide one on the strong brand wash. */
|
|
8
|
+
export declare const REPORT_PROMO_APPEARANCES: readonly ["standard", "banner"];
|
|
9
|
+
export type ReportPromoAppearance = typeof REPORT_PROMO_APPEARANCES[number];
|
|
10
|
+
/**
|
|
11
|
+
* A report download promo: a crop of the report's cover, its title, a line
|
|
12
|
+
* about it and the download link.
|
|
13
|
+
*
|
|
14
|
+
* <bd-report-promo cta-href="/reports/scam-intelligence-2026"
|
|
15
|
+
* image-src="/psd-4.jpg" image-alt="The Global Scam Intelligence Report 2026 cover preview">
|
|
16
|
+
* <bd-h slot="title" as="h2">The Global Scam Intelligence Report 2026</bd-h>
|
|
17
|
+
* <span slot="description">We block billions of scams every year. …</span>
|
|
18
|
+
* <span slot="cta">Download report</span>
|
|
19
|
+
* </bd-report-promo>
|
|
20
|
+
*
|
|
21
|
+
* It was the blog's bd-blog-report-promo until the blog's components became
|
|
22
|
+
* the package's own (DEX-29414); its markup and slots are that element's,
|
|
23
|
+
* and its look is `appearance="banner"`. Figma's csg_blog draws two:
|
|
24
|
+
*
|
|
25
|
+
* standard (the default) the in-article card: the brand fill with the
|
|
26
|
+
* brand's own ink, centred, the cover bleeding off its top
|
|
27
|
+
* edge, the title at heading-h4 and the link the red accent
|
|
28
|
+
* button.
|
|
29
|
+
* banner the strong brand wash, the title condensed semibold 20 and
|
|
30
|
+
* the description in the secondary ink; stacked, with the cover
|
|
31
|
+
* across its top, until it is md wide, and from there a row --
|
|
32
|
+
* the cover's crop at the start, the copy, the link at the end.
|
|
33
|
+
*
|
|
34
|
+
* Every word is the page's: 3.x's title, description and cta-label, each
|
|
35
|
+
* with an English default, are slots, and `cta-href`, `image-src` and
|
|
36
|
+
* `image-alt` have no default. The title is the page's bd-h, where 3.x drew
|
|
37
|
+
* an h2; the promo sets its size and ink through the heading's hooks, and
|
|
38
|
+
* the page picks the level. The section is named by the title.
|
|
39
|
+
*
|
|
40
|
+
* THE LINK STAYS HERE, AND ONLY ITS WORDS ARE THE PAGE'S. It is the promo's
|
|
41
|
+
* own bd-button, `appearance="accent"` -- on the brand fill with
|
|
42
|
+
* `surface="brand"`, so its edge and its focus ring are the brand's ink --
|
|
43
|
+
* and the `cta` slot sits inside it and names it. A link with nowhere to go
|
|
44
|
+
* is not drawn: it shows only while `cta-href` is set and `cta` has words.
|
|
45
|
+
* The cover is drawn only with an `image-src`, and without an `image-alt` it
|
|
46
|
+
* is decorative (alt="").
|
|
47
|
+
*
|
|
48
|
+
* Every part's box is hidden while its slot is empty, so a bare promo draws
|
|
49
|
+
* no word of its own.
|
|
50
|
+
*/
|
|
51
|
+
export declare class BdReportPromo extends LitElement {
|
|
52
|
+
static styles: import("lit").CSSResult[];
|
|
53
|
+
/** standard (the in-article card) | banner. Reflected. */
|
|
54
|
+
appearance: ReportPromoAppearance;
|
|
55
|
+
/** Where the download link goes. Without it the link is not drawn. */
|
|
56
|
+
ctaHref: string;
|
|
57
|
+
/** The cover image. Without it no cover is drawn. */
|
|
58
|
+
imageSrc: string;
|
|
59
|
+
/** The cover's text alternative; without it the cover is decorative. */
|
|
60
|
+
imageAlt: string;
|
|
61
|
+
_slots: SlotController<Part>;
|
|
62
|
+
willUpdate(changed: PropertyValues<this>): void;
|
|
63
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
64
|
+
}
|
|
65
|
+
declare global {
|
|
66
|
+
interface HTMLElementTagNameMap {
|
|
67
|
+
"bd-report-promo": BdReportPromo;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import{isOneOf as t}from"../shared/prop-vocabulary.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{SlotController as r}from"../shared/controller.slot.js";import"../h/h.js";import"../button/button.js";import i from"./report-promo.css.js";import{LitElement as a,html as o,nothing as s}from"lit";import{property as c}from"lit/decorators.js";var l=[`standard`,`banner`],u=class extends a{constructor(...e){super(...e),this.appearance=`standard`,this.ctaHref=``,this.imageSrc=``,this.imageAlt=``,this._slots=new r(this,{slots:[`title`,`description`,`cta`]})}static{this.styles=[i]}willUpdate(e){e.has(`appearance`)&&!t(l,this.appearance)&&(this.appearance=`standard`)}render(){let e=e=>this._slots.has(e),t=!!this.ctaHref&&e(`cta`),n=this.appearance===`banner`?`light`:`brand`;return o`
|
|
2
|
+
<section class="promo" part="promo" aria-labelledby=${e(`title`)?`title`:s}>
|
|
3
|
+
<div class="media" part="media" ?hidden=${!this.imageSrc}>
|
|
4
|
+
${this.imageSrc?o`<img class="image" part="image" src=${this.imageSrc} alt=${this.imageAlt} loading="lazy" />`:s}
|
|
5
|
+
</div>
|
|
6
|
+
|
|
7
|
+
<div class="main" part="main">
|
|
8
|
+
<div class="content" part="content" ?hidden=${!e(`title`)&&!e(`description`)}>
|
|
9
|
+
<div class="title" id="title" part="title" ?hidden=${!e(`title`)}><slot name="title"></slot></div>
|
|
10
|
+
<p class="description" part="description" ?hidden=${!e(`description`)}><slot name="description"></slot></p>
|
|
11
|
+
</div>
|
|
12
|
+
|
|
13
|
+
<div class="actions" part="actions" ?hidden=${!t}>
|
|
14
|
+
<bd-button class="cta" part="cta" appearance="accent" size="md" surface=${n} href=${this.ctaHref}><slot name="cta"></slot></bd-button>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</section>
|
|
18
|
+
`}};n([c({type:String,reflect:!0})],u.prototype,`appearance`,void 0),n([c({type:String,attribute:`cta-href`})],u.prototype,`ctaHref`,void 0),n([c({type:String,attribute:`image-src`})],u.prototype,`imageSrc`,void 0),n([c({type:String,attribute:`image-alt`})],u.prototype,`imageAlt`,void 0),u=n([e(`bd-report-promo`)],u);export{u as BdReportPromo,l as REPORT_PROMO_APPEARANCES};
|
|
19
|
+
//# sourceMappingURL=report-promo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"report-promo.js","names":["reportPromoCSS","_decorate","__decorate","report_promo_css_default","REPORT_PROMO_APPEARANCES","BdReportPromo","LitElement","_args","SlotController","changed","isOneOf","has","part","cta","surface","nothing","property","defineElement"],"sources":["../../../../src/components/report-promo/report-promo.ts"],"sourcesContent":["import { LitElement, html, nothing, type PropertyValues } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { SlotController } from \"#shared/controller.slot.ts\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { isOneOf } from \"#shared/prop-vocabulary.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\n/* The atom the page writes into the title slot: 3.x drew its h2 itself, so a\n page importing only this module still gets it. The button is the promo's\n own. */\nimport \"#components/h/h.ts\";\nimport \"#components/button/button.ts\";\nimport reportPromoCSS from \"./report-promo.css.ts\";\n\ntype Part = \"title\" | \"description\" | \"cta\";\n\n/** standard: the in-article card on the brand fill. banner: the wide one on the strong brand wash. */\nexport const REPORT_PROMO_APPEARANCES = [\"standard\", \"banner\"] as const;\nexport type ReportPromoAppearance = typeof REPORT_PROMO_APPEARANCES[number];\n\n/**\n * A report download promo: a crop of the report's cover, its title, a line\n * about it and the download link.\n *\n * <bd-report-promo cta-href=\"/reports/scam-intelligence-2026\"\n * image-src=\"/psd-4.jpg\" image-alt=\"The Global Scam Intelligence Report 2026 cover preview\">\n * <bd-h slot=\"title\" as=\"h2\">The Global Scam Intelligence Report 2026</bd-h>\n * <span slot=\"description\">We block billions of scams every year. …</span>\n * <span slot=\"cta\">Download report</span>\n * </bd-report-promo>\n *\n * It was the blog's bd-blog-report-promo until the blog's components became\n * the package's own (DEX-29414); its markup and slots are that element's,\n * and its look is `appearance=\"banner\"`. Figma's csg_blog draws two:\n *\n * standard (the default) the in-article card: the brand fill with the\n * brand's own ink, centred, the cover bleeding off its top\n * edge, the title at heading-h4 and the link the red accent\n * button.\n * banner the strong brand wash, the title condensed semibold 20 and\n * the description in the secondary ink; stacked, with the cover\n * across its top, until it is md wide, and from there a row --\n * the cover's crop at the start, the copy, the link at the end.\n *\n * Every word is the page's: 3.x's title, description and cta-label, each\n * with an English default, are slots, and `cta-href`, `image-src` and\n * `image-alt` have no default. The title is the page's bd-h, where 3.x drew\n * an h2; the promo sets its size and ink through the heading's hooks, and\n * the page picks the level. The section is named by the title.\n *\n * THE LINK STAYS HERE, AND ONLY ITS WORDS ARE THE PAGE'S. It is the promo's\n * own bd-button, `appearance=\"accent\"` -- on the brand fill with\n * `surface=\"brand\"`, so its edge and its focus ring are the brand's ink --\n * and the `cta` slot sits inside it and names it. A link with nowhere to go\n * is not drawn: it shows only while `cta-href` is set and `cta` has words.\n * The cover is drawn only with an `image-src`, and without an `image-alt` it\n * is decorative (alt=\"\").\n *\n * Every part's box is hidden while its slot is empty, so a bare promo draws\n * no word of its own.\n */\n@defineElement(\"bd-report-promo\")\nexport class BdReportPromo extends LitElement {\n static styles = [reportPromoCSS];\n\n /** standard (the in-article card) | banner. Reflected. */\n @property({ type: String, reflect: true })\n appearance: ReportPromoAppearance = \"standard\";\n\n /** Where the download link goes. Without it the link is not drawn. */\n @property({ type: String, attribute: \"cta-href\" })\n ctaHref = \"\";\n\n /** The cover image. Without it no cover is drawn. */\n @property({ type: String, attribute: \"image-src\" })\n imageSrc = \"\";\n\n /** The cover's text alternative; without it the cover is decorative. */\n @property({ type: String, attribute: \"image-alt\" })\n imageAlt = \"\";\n\n _slots = new SlotController<Part>(this, { slots: [\"title\", \"description\", \"cta\"] });\n\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has(\"appearance\") && !isOneOf(REPORT_PROMO_APPEARANCES, this.appearance)) this.appearance = \"standard\";\n }\n\n render() {\n const has = (part: Part) => this._slots.has(part);\n const cta = !!this.ctaHref && has(\"cta\");\n /* The brand fill takes the brand's ink on the button's edge and ring;\n the banner's wash is a light ground. */\n const surface = this.appearance === \"banner\" ? \"light\" : \"brand\";\n return html`\n <section class=\"promo\" part=\"promo\" aria-labelledby=${has(\"title\") ? \"title\" : nothing}>\n <div class=\"media\" part=\"media\" ?hidden=${!this.imageSrc}>\n ${this.imageSrc\n ? html`<img class=\"image\" part=\"image\" src=${this.imageSrc} alt=${this.imageAlt} loading=\"lazy\" />`\n : nothing}\n </div>\n\n <div class=\"main\" part=\"main\">\n <div class=\"content\" part=\"content\" ?hidden=${!has(\"title\") && !has(\"description\")}>\n <div class=\"title\" id=\"title\" part=\"title\" ?hidden=${!has(\"title\")}><slot name=\"title\"></slot></div>\n <p class=\"description\" part=\"description\" ?hidden=${!has(\"description\")}><slot name=\"description\"></slot></p>\n </div>\n\n <div class=\"actions\" part=\"actions\" ?hidden=${!cta}>\n <bd-button class=\"cta\" part=\"cta\" appearance=\"accent\" size=\"md\" surface=${surface} href=${this.ctaHref}><slot name=\"cta\"></slot></bd-button>\n </div>\n </div>\n </section>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-report-promo\": BdReportPromo;\n }\n}\n"],"mappings":"A,kdAiBA,IAAaI,EAA2B,CAAC,WAAY,QAAQ,EA6ChDC,EAAN,cAA4BC,CAAW,C,8BAKR,KAAA,WAAA,WAI1B,KAAA,QAAA,GAIC,KAAA,SAAA,GAIA,KAAA,SAAA,GAEF,KAAA,OAAA,IAAIE,EAAqB,KAAM,CAAE,MAAO,CAAC,QAAS,cAAe,KAAK,CAAE,CAAC,C,QAlBlE,KAAA,OAAA,CAACR,CAAc,C,CAoB/B,WAAW,EAA+B,CACpCS,EAAQ,IAAI,YAAY,GAAK,CAACC,EAAQN,EAA0B,KAAK,UAAU,IAAG,KAAK,WAAa,WAC1G,CAEA,QAAS,CACP,IAAMO,EAAO,GAAe,KAAK,OAAO,IAAIC,CAAI,EAC1CC,EAAM,CAAC,CAAC,KAAK,SAAWF,EAAI,KAAK,EAGjCG,EAAU,KAAK,aAAe,SAAW,QAAU,QACzD,MAAO,EAAI;4DAC6CH,EAAI,OAAO,EAAI,QAAUI,EAAQ;kDAC3C,CAAC,KAAK,SAAS;YACrD,KAAK,SACH,CAAI,uCAAuC,KAAK,SAAS,OAAO,KAAK,SAAS,oBAC9EA,EAAQ;;;;wDAIkC,CAACJ,EAAI,OAAO,GAAK,CAACA,EAAI,aAAa,EAAE;iEAC5B,CAACA,EAAI,OAAO,EAAE;gEACf,CAACA,EAAI,aAAa,EAAE;;;wDAG5B,CAACE,EAAI;sFACyBC,EAAQ,QAAQ,KAAK,QAAQ;;;;KAKjH,CACF,EAhDGb,EAAA,CAAAe,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAX,EAAA,UAAA,aAAA,IAAA,EAAA,EAIxCJ,EAAA,CAAAe,EAAS,CAAE,KAAM,OAAQ,UAAW,UAAW,CAAC,CAAA,EAAAX,EAAA,UAAA,UAAA,IAAA,EAAA,EAIhDJ,EAAA,CAAAe,EAAS,CAAE,KAAM,OAAQ,UAAW,WAAY,CAAC,CAAA,EAAAX,EAAA,UAAA,WAAA,IAAA,EAAA,EAIjDJ,EAAA,CAAAe,EAAS,CAAE,KAAM,OAAQ,UAAW,WAAY,CAAC,CAAA,EAAAX,EAAA,UAAA,WAAA,IAAA,EAAA,EAjBnD,EAAAJ,EAAA,CAAAgB,EAAc,iBAAiB,CAAA,EAAAZ,CAAA,E"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{box-sizing:border-box;width:100%;display:block;container-type:inline-size}.bd-reviewgrid-title{text-align:center;margin:0 0 var(--spacing-32)
|
|
1
|
+
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{box-sizing:border-box;width:100%;display:block;container-type:inline-size}.bd-ensemble>[hidden]{display:none}.bd-reviewgrid-title{text-align:center;margin:0 0 var(--spacing-32)}::slotted(bd-h[slot=title]),::slotted(bd-display[slot=title]){--bd-heading-font-size:var(--typography-heading-h2-fontSize);--bd-heading-font-weight:var(--typography-heading-h2-fontWeight);--bd-heading-line-height:var(--typography-heading-h2-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h2-letterSpacing);--bd-heading-font-family:var(--typography-heading-h2-fontFamily)}.bd-reviewgrid-grid{grid-template-columns:repeat(var(--bd-review-columns,3), 1fr);gap:var(--spacing-24);width:100%;display:grid}.bd-reviewgrid-grid--single{max-width:var(--bd-review-single-max-width,560px);margin-inline:auto}::slotted(bd-review){min-width:0}@container (width<992px){.bd-reviewgrid-grid{grid-template-columns:1fr}.bd-reviewgrid-grid--single{max-width:100%}}`;export{t as default};
|
|
2
2
|
//# sourceMappingURL=review-grid.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review-grid.css.js","names":["review_grid_css_default"],"sources":["../../../../src/components/review/review-grid.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"#shared/token-scales.ts\";\n\nexport default css`\n :host {\n display: block;\n width: 100%;\n box-sizing: border-box;\n /* The grid's own width decides when its cards stack, not the screen's:\n across the page the two are the same, in a narrower column the cards\n stack with it. */\n container-type: inline-size;\n }\n\n .bd-reviewgrid-title {\n text-align: center;\n margin: 0 0 var(--spacing-32);\n
|
|
1
|
+
{"version":3,"file":"review-grid.css.js","names":["review_grid_css_default"],"sources":["../../../../src/components/review/review-grid.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below, headingRole } from \"#shared/token-scales.ts\";\n\nexport default css`\n :host {\n display: block;\n width: 100%;\n box-sizing: border-box;\n /* The grid's own width decides when its cards stack, not the screen's:\n across the page the two are the same, in a narrower column the cards\n stack with it. */\n container-type: inline-size;\n }\n\n /* Each part's box is hidden while its slot is empty; the attribute's\n selector outweighs the display a box sets below. */\n .bd-ensemble > [hidden] {\n display: none;\n }\n\n /* The title is centred over the row. text-align inherits through the slot\n into the bd-h, which sets none of its own. */\n .bd-reviewgrid-title {\n text-align: center;\n margin: 0 0 var(--spacing-32);\n }\n\n /* The page section's title: the h2 role at every level the page picks. */\n ::slotted(bd-h[slot=\"title\"]),\n ::slotted(bd-display[slot=\"title\"]) {\n ${unsafeCSS(headingRole(\"heading-h2\"))}\n }\n\n .bd-reviewgrid-grid {\n display: grid;\n grid-template-columns: repeat(var(--bd-review-columns, 3), 1fr);\n gap: var(--spacing-24);\n width: 100%;\n }\n\n .bd-reviewgrid-grid--single {\n max-width: var(--bd-review-single-max-width, 560px);\n margin-inline: auto;\n }\n\n ::slotted(bd-review) {\n min-width: 0;\n }\n\n /* below lg, as install-options: three cards stack across 900-991 too. */\n @container ${unsafeCSS(below('lg'))} {\n .bd-reviewgrid-grid {\n grid-template-columns: 1fr;\n }\n\n .bd-reviewgrid-grid--single {\n max-width: 100%;\n }\n }\n`;\n"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,o7B"}
|
|
@@ -1,13 +1,34 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
+
import { SlotController } from "../shared/controller.slot.js";
|
|
2
3
|
import "../../tokens/tokens.js";
|
|
3
|
-
import "../
|
|
4
|
+
import "../h/h.js";
|
|
4
5
|
import "./review.js";
|
|
5
|
-
|
|
6
|
+
type Part = "title" | "";
|
|
7
|
+
/**
|
|
8
|
+
* A row of reviews under a centred title, on the page column.
|
|
9
|
+
*
|
|
10
|
+
* <bd-review-grid>
|
|
11
|
+
* <bd-h slot="title" as="h2">What They Say</bd-h>
|
|
12
|
+
* <bd-review>…</bd-review>
|
|
13
|
+
* <bd-review>…</bd-review>
|
|
14
|
+
* </bd-review-grid>
|
|
15
|
+
*
|
|
16
|
+
* The reviews are the default slot; the grid takes as many columns as it has
|
|
17
|
+
* reviews, three at most, and holds a lone review to a centred measure. It
|
|
18
|
+
* is the list the reviews are items of (role="list" below; each bd-review
|
|
19
|
+
* gives itself the listitem role), and it is the page column, which is why
|
|
20
|
+
* it survives N10 where a bd-section-header and a bd-grid would not: bd-grid
|
|
21
|
+
* composes no column and cannot count the reviews it is given.
|
|
22
|
+
*
|
|
23
|
+
* The grid sets its title's size (the page section's h2) and centres it; the
|
|
24
|
+
* page picks the level with `as`. The title's box is hidden while its slot is
|
|
25
|
+
* empty. 3.x drew the slot inside its own bd-h, and only while `title` was
|
|
26
|
+
* set.
|
|
27
|
+
*/
|
|
28
|
+
export declare class BdReviewGrid extends LitElement {
|
|
6
29
|
static styles: import("lit").CSSResult[];
|
|
7
|
-
|
|
8
|
-
_columns: number;
|
|
9
|
-
get _items(): Element[];
|
|
10
|
-
_onSlotChange(): void;
|
|
30
|
+
_slots: SlotController<Part>;
|
|
31
|
+
get _columns(): number;
|
|
11
32
|
render(): import("lit-html").TemplateResult<1>;
|
|
12
33
|
}
|
|
13
34
|
declare global {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../
|
|
1
|
+
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{SlotController as n}from"../shared/controller.slot.js";import"../h/h.js";import{ensembleCSS as r}from"../shared/ensemble.css.js";import i from"./review-grid.css.js";import"./review.js";import{LitElement as a,html as o}from"lit";var s=class extends a{constructor(...e){super(...e),this._slots=new n(this,{slots:[`title`,``]})}static{this.styles=[r,i]}get _columns(){let e=this._slots.elements(``).filter(e=>e.localName===`bd-review`).length;return e<=0?1:Math.min(e,3)}render(){let e=this._columns;return o`
|
|
2
2
|
<div class="bd-ensemble">
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
<div class="bd-reviewgrid-title" ?hidden=${!this._slots.has(`title`)}><slot name="title"></slot></div>
|
|
5
4
|
<div
|
|
6
|
-
class="bd-reviewgrid-grid ${e?`bd-reviewgrid-grid--single`:``}"
|
|
7
|
-
style="--bd-review-columns: ${
|
|
5
|
+
class="bd-reviewgrid-grid ${e===1?`bd-reviewgrid-grid--single`:``}"
|
|
6
|
+
style="--bd-review-columns: ${e};"
|
|
8
7
|
role="list"
|
|
8
|
+
?hidden=${!this._slots.has(``)}
|
|
9
9
|
>
|
|
10
|
-
<slot
|
|
10
|
+
<slot></slot>
|
|
11
11
|
</div>
|
|
12
12
|
</div>
|
|
13
|
-
`}};
|
|
13
|
+
`}};s=t([e(`bd-review-grid`)],s);export{s as BdReviewGrid};
|
|
14
14
|
//# sourceMappingURL=review-grid.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review-grid.js","names":["reviewGridCSS","_decorate","__decorate","review_grid_css_default","BdReviewGrid","LitElement","_args","
|
|
1
|
+
{"version":3,"file":"review-grid.js","names":["reviewGridCSS","_decorate","__decorate","review_grid_css_default","BdReviewGrid","LitElement","_args","SlotController","ensembleCSS","count","el","columns","defineElement"],"sources":["../../../../src/components/review/review-grid.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { SlotController } from \"#shared/controller.slot.ts\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\n/* The atom the page writes into the title slot. 3.x's module registered it,\n and a page importing only this module still gets it. */\nimport \"#components/h/h.ts\";\nimport reviewGridCSS from \"./review-grid.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\nimport \"./review.ts\";\n\ntype Part = \"title\" | \"\";\n\n/**\n * A row of reviews under a centred title, on the page column.\n *\n * <bd-review-grid>\n * <bd-h slot=\"title\" as=\"h2\">What They Say</bd-h>\n * <bd-review>…</bd-review>\n * <bd-review>…</bd-review>\n * </bd-review-grid>\n *\n * The reviews are the default slot; the grid takes as many columns as it has\n * reviews, three at most, and holds a lone review to a centred measure. It\n * is the list the reviews are items of (role=\"list\" below; each bd-review\n * gives itself the listitem role), and it is the page column, which is why\n * it survives N10 where a bd-section-header and a bd-grid would not: bd-grid\n * composes no column and cannot count the reviews it is given.\n *\n * The grid sets its title's size (the page section's h2) and centres it; the\n * page picks the level with `as`. The title's box is hidden while its slot is\n * empty. 3.x drew the slot inside its own bd-h, and only while `title` was\n * set.\n */\n@defineElement(\"bd-review-grid\")\nexport class BdReviewGrid extends LitElement {\n static styles = [ensembleCSS, reviewGridCSS];\n\n _slots = new SlotController<Part>(this, { slots: [\"title\", \"\"] });\n\n /* How many columns the row takes: one per review, three at most. The\n controller follows the default slot, so a review the page adds or takes\n away re-renders the grid. */\n get _columns() {\n const count = this._slots.elements(\"\").filter(el => el.localName === \"bd-review\").length;\n return count <= 0 ? 1 : Math.min(count, 3);\n }\n\n render() {\n const columns = this._columns;\n return html`\n <div class=\"bd-ensemble\">\n <div class=\"bd-reviewgrid-title\" ?hidden=${!this._slots.has(\"title\")}><slot name=\"title\"></slot></div>\n <div\n class=\"bd-reviewgrid-grid ${columns === 1 ? \"bd-reviewgrid-grid--single\" : \"\"}\"\n style=\"--bd-review-columns: ${columns};\"\n role=\"list\"\n ?hidden=${!this._slots.has(\"\")}\n >\n <slot></slot>\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-review-grid\": BdReviewGrid;\n }\n}\n"],"mappings":"A,gZAoCO,IAAMI,EAAN,cAA2BC,CAAW,C,8BAGlC,KAAA,OAAA,IAAIE,EAAqB,KAAM,CAAE,MAAO,CAAC,QAAS,EAAE,CAAE,CAAC,C,QAFhD,KAAA,OAAA,CAACC,EAAaR,CAAa,C,CAO3C,IAAI,UAAW,CACb,IAAMS,EAAQ,KAAK,OAAO,SAAS,EAAE,CAAC,CAAC,OAAO,GAAMC,EAAG,YAAc,WAAW,CAAC,CAAC,OAClF,OAAOD,GAAS,EAAI,EAAI,KAAK,IAAIA,EAAO,CAAC,CAC3C,CAEA,QAAS,CACP,IAAME,EAAU,KAAK,SACrB,MAAO,EAAI;;mDAEoC,CAAC,KAAK,OAAO,IAAI,OAAO,EAAE;;sCAEvCA,IAAY,EAAI,6BAA+B,GAAG;wCAChDA,EAAQ;;oBAE5B,CAAC,KAAK,OAAO,IAAI,EAAE,EAAE;;;;;KAMvC,CACF,EA9BC,EAAAV,EAAA,CAAAW,EAAc,gBAAgB,CAAA,EAAAR,CAAA,E"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{css as e}from"lit";var t=e`:host{height:100%;font-family:var(--typography-fontFamily-sans);box-sizing:border-box;display:block}.bd-review-card{background:var(--status-brand-surface);border-radius:var(--shape-radius-3xl);padding:var(--spacing-28);box-sizing:border-box;flex-direction:column;height:100%;display:flex}:host([
|
|
1
|
+
import{css as e}from"lit";var t=e`:host{height:100%;font-family:var(--typography-fontFamily-sans);box-sizing:border-box;display:block}.bd-review-card{background:var(--status-brand-surface);border-radius:var(--shape-radius-3xl);padding:var(--spacing-28);box-sizing:border-box;flex-direction:column;height:100%;display:flex}:host([background=container]) .bd-review-card{background:var(--color-surface-container)}.bd-review-card>[hidden],.bd-review-meta>[hidden]{display:none}.bd-review-mark{color:var(--color-text-brand);margin-bottom:var(--spacing-8);display:block}.bd-review-quote{color:var(--color-text-primary);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);flex-grow:1;margin:0}.bd-review-meta{gap:var(--spacing-16);margin-top:var(--spacing-32);flex-direction:column;display:flex}.bd-review-source{color:var(--color-text-primary);font-family:var(--typography-body-small-fontFamily);font-size:var(--typography-body-small-fontSize);font-weight:var(--typography-fontWeight-bold);line-height:var(--typography-body-small-lineHeight);letter-spacing:var(--typography-body-small-letterSpacing);margin:0}.bd-review-date{color:var(--color-text-muted);font-family:var(--typography-body-small-fontFamily);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)}`;export{t as default};
|
|
2
2
|
//# sourceMappingURL=review.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review.css.js","names":["review_css_default"],"sources":["../../../../src/components/review/review.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n :host {\n display: block;\n height: 100%;\n font-family: var(--typography-fontFamily-sans);\n box-sizing: border-box;\n }\n\n .bd-review-card {\n background: var(--status-brand-surface);\n border-radius: var(--shape-radius-3xl);\n padding: var(--spacing-28);\n box-sizing: border-box;\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n :host([
|
|
1
|
+
{"version":3,"file":"review.css.js","names":["review_css_default"],"sources":["../../../../src/components/review/review.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\n/* The card 3.x drew, measured against that render: the same ground, corner,\n inset, sizes, inks and distances. 3.x set the quote and the source in bd-p,\n whose <p> carried the 16px flow margin; the distances that margin made are\n spelled here, on the review's own boxes. */\nexport default css`\n :host {\n display: block;\n height: 100%;\n font-family: var(--typography-fontFamily-sans);\n box-sizing: border-box;\n }\n\n .bd-review-card {\n background: var(--status-brand-surface);\n border-radius: var(--shape-radius-3xl);\n padding: var(--spacing-28);\n box-sizing: border-box;\n height: 100%;\n display: flex;\n flex-direction: column;\n }\n\n :host([background=\"container\"]) .bd-review-card {\n background: var(--color-surface-container);\n }\n\n /* Each part's box is hidden while its slot is empty; the attribute's\n selector outweighs the display a box sets below. */\n .bd-review-card > [hidden],\n .bd-review-meta > [hidden] {\n display: none;\n }\n\n .bd-review-mark {\n display: block;\n color: var(--color-text-brand);\n margin-bottom: var(--spacing-8);\n }\n\n /* The quote, in the body role bd-p's regular appearance drew. It takes the\n card's spare height, so the meta of a row of cards sits at the foot. */\n .bd-review-quote {\n margin: 0;\n flex-grow: 1;\n color: var(--color-text-primary);\n font-family: var(--typography-body-regular-fontFamily);\n font-size: var(--typography-body-regular-fontSize);\n font-weight: var(--typography-body-regular-fontWeight);\n line-height: var(--typography-body-regular-lineHeight);\n letter-spacing: var(--typography-body-regular-letterSpacing);\n }\n\n /* 32 above the meta: the quote paragraph's 16 flow margin and the 16 3.x\n set under it. Above the meta rather than under the quote, so a review\n with no source and no date ends at the card's inset. The 16 between the\n source and the date is the source paragraph's flow margin; as a gap, a\n source with no date under it carries none. */\n .bd-review-meta {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-16);\n margin-top: var(--spacing-32);\n }\n\n /* The source, at body-small in bold, as bd-p small font-weight=\"bold\" drew\n it. */\n .bd-review-source {\n margin: 0;\n color: var(--color-text-primary);\n font-family: var(--typography-body-small-fontFamily);\n font-size: var(--typography-body-small-fontSize);\n /* no role: body-small at bold, which 3.x drew through bd-p's font-weight\n prop; no role carries it, and label-default's medium 500 would lighten\n every source */\n font-weight: var(--typography-fontWeight-bold);\n line-height: var(--typography-body-small-lineHeight);\n letter-spacing: var(--typography-body-small-letterSpacing);\n }\n\n .bd-review-date {\n color: var(--color-text-muted);\n font-family: var(--typography-body-small-fontFamily);\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 }\n`;\n"],"mappings":"A,0BAMA,IAAAA,EAAe,CAAG,gkD"}
|
|
@@ -1,31 +1,38 @@
|
|
|
1
|
-
import { LitElement } from "lit";
|
|
1
|
+
import { LitElement, type PropertyValues } from "lit";
|
|
2
|
+
import { SlotController } from "../shared/controller.slot.js";
|
|
2
3
|
import "../../tokens/tokens.js";
|
|
3
|
-
import "../icons/quote
|
|
4
|
-
import "../
|
|
5
|
-
|
|
4
|
+
import "../icons/quote.js";
|
|
5
|
+
import "../p/p.js";
|
|
6
|
+
declare const BACKGROUNDS: readonly ["tint", "container"];
|
|
7
|
+
type Background = typeof BACKGROUNDS[number];
|
|
8
|
+
type Part = "" | "caption" | "date";
|
|
6
9
|
/**
|
|
7
|
-
* A single testimonial
|
|
8
|
-
* passed as props, so callers can put arbitrary markup (a bd-p, a link,
|
|
9
|
-
* bold text) in any of the three slots:
|
|
10
|
+
* A single testimonial: the quote, who said it, and when.
|
|
10
11
|
*
|
|
11
|
-
* <bd-review
|
|
12
|
-
*
|
|
13
|
-
* <span slot="
|
|
12
|
+
* <bd-review background="tint">
|
|
13
|
+
* If you're looking to buy a security suite, our experts and readers agree: Bitdefender should be your top choice.
|
|
14
|
+
* <span slot="caption">PCMag</span>
|
|
14
15
|
* <span slot="date">February 3, 2026</span>
|
|
15
16
|
* </bd-review>
|
|
16
17
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
18
|
+
* The quote is the review's content, so it is the default slot (3.x's
|
|
19
|
+
* `quote`), and the source is its `caption` (3.x's `source`). All three are
|
|
20
|
+
* text: the review sets their type and ink -- the quote at body-regular, the
|
|
21
|
+
* source at body-small bold, the date at body-small in muted ink -- so the
|
|
22
|
+
* page writes words, not paragraphs. 3.x drew the quote and source in its own
|
|
23
|
+
* bd-p; the slots sit in its own boxes now. Each part's box is hidden while
|
|
24
|
+
* its slot is empty, and the quote takes the card's spare height, so the
|
|
25
|
+
* sources of a row of reviews line up at the foot.
|
|
22
26
|
*/
|
|
23
|
-
declare class BdReview extends LitElement {
|
|
27
|
+
export declare class BdReview extends LitElement {
|
|
24
28
|
static styles: import("lit").CSSResult[];
|
|
25
|
-
|
|
29
|
+
/** The card's ground: tint (default) | container. */
|
|
30
|
+
background: Background;
|
|
26
31
|
_internals: ElementInternals;
|
|
32
|
+
_slots: SlotController<Part>;
|
|
27
33
|
constructor();
|
|
28
34
|
connectedCallback(): void;
|
|
35
|
+
willUpdate(changed: PropertyValues<this>): void;
|
|
29
36
|
render(): import("lit-html").TemplateResult<1>;
|
|
30
37
|
}
|
|
31
38
|
declare global {
|
|
@@ -1,15 +1,11 @@
|
|
|
1
|
-
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../
|
|
1
|
+
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import{isOneOf as t}from"../shared/prop-vocabulary.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../p/p.js";import{SlotController as r}from"../shared/controller.slot.js";import"../icons/quote.js";import i from"./review.css.js";import{LitElement as a,html as o}from"lit";import{property as s}from"lit/decorators.js";var c=[`tint`,`container`],l=class extends a{static{this.styles=[i]}constructor(){super(),this.background=`tint`,this._slots=new r(this,{slots:[``,`caption`,`date`]}),this._internals=this.attachInternals()}connectedCallback(){super.connectedCallback(),this._internals.role=this.parentElement?.localName===`bd-review-grid`?`listitem`:null}willUpdate(e){e.has(`background`)&&!t(c,this.background)&&(this.background=`tint`)}render(){let e=e=>this._slots.has(e);return o`
|
|
2
2
|
<div class="bd-review-card">
|
|
3
|
-
<bd-
|
|
4
|
-
|
|
5
|
-
<
|
|
6
|
-
<slot name="
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
<div class="bd-review-meta">
|
|
10
|
-
<bd-p variant="small" font-weight="bold" class="bd-review-source"><slot name="source"></slot></bd-p>
|
|
11
|
-
<span class="bd-review-date"><slot name="date"></slot></span>
|
|
3
|
+
<bd-icon name="quote" class="bd-review-mark" size="xl"></bd-icon>
|
|
4
|
+
<p class="bd-review-quote" ?hidden=${!e(``)}><slot></slot></p>
|
|
5
|
+
<div class="bd-review-meta" ?hidden=${!e(`caption`)&&!e(`date`)}>
|
|
6
|
+
<p class="bd-review-source" ?hidden=${!e(`caption`)}><slot name="caption"></slot></p>
|
|
7
|
+
<div class="bd-review-date" ?hidden=${!e(`date`)}><slot name="date"></slot></div>
|
|
12
8
|
</div>
|
|
13
9
|
</div>
|
|
14
|
-
`}};
|
|
10
|
+
`}};n([s({type:String,attribute:`background`,reflect:!0})],l.prototype,`background`,void 0),l=n([e(`bd-review`)],l);export{l as BdReview};
|
|
15
11
|
//# sourceMappingURL=review.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"review.js","names":["reviewCSS","_decorate","__decorate","review_css_default","BdReview","LitElement","property","defineElement"],"sources":["../../../../src/components/review/review.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/icons/quote
|
|
1
|
+
{"version":3,"file":"review.js","names":["reviewCSS","_decorate","__decorate","review_css_default","BACKGROUNDS","BdReview","LitElement","SlotController","changed","isOneOf","has","part","property","defineElement"],"sources":["../../../../src/components/review/review.ts"],"sourcesContent":["import { LitElement, html, type PropertyValues } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { SlotController } from \"#shared/controller.slot.ts\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { isOneOf } from \"#shared/prop-vocabulary.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"#components/icons/quote.ts\";\n/* 3.x drew the quote and the source in bd-p, so its module registered it,\n and a page importing only this module still gets it. */\nimport \"#components/p/p.ts\";\nimport reviewCSS from \"./review.css.ts\";\n\n/* The ground the card is drawn on. A ground, not a look (N5): `tint` is the\n brand's lightest wash, --status-brand-surface, so it follows the business\n line's brand; `container` is --color-surface-container, the ground\n bd-card and bd-bento-item draw by default and call by the same word. It\n was `variant`, whose \"neutral\" would read as the meaning neutral, which\n the look and meaning vocabularies keep apart (N6). */\nconst BACKGROUNDS = [\"tint\", \"container\"] as const;\ntype Background = typeof BACKGROUNDS[number];\n\ntype Part = \"\" | \"caption\" | \"date\";\n\n/**\n * A single testimonial: the quote, who said it, and when.\n *\n * <bd-review background=\"tint\">\n * If you're looking to buy a security suite, our experts and readers agree: Bitdefender should be your top choice.\n * <span slot=\"caption\">PCMag</span>\n * <span slot=\"date\">February 3, 2026</span>\n * </bd-review>\n *\n * The quote is the review's content, so it is the default slot (3.x's\n * `quote`), and the source is its `caption` (3.x's `source`). All three are\n * text: the review sets their type and ink -- the quote at body-regular, the\n * source at body-small bold, the date at body-small in muted ink -- so the\n * page writes words, not paragraphs. 3.x drew the quote and source in its own\n * bd-p; the slots sit in its own boxes now. Each part's box is hidden while\n * its slot is empty, and the quote takes the card's spare height, so the\n * sources of a row of reviews line up at the foot.\n */\n@defineElement(\"bd-review\")\nexport class BdReview extends LitElement {\n static styles = [reviewCSS];\n\n /** The card's ground: tint (default) | container. */\n @property({ type: String, attribute: \"background\", reflect: true })\n background: Background = \"tint\";\n\n _internals: ElementInternals;\n\n _slots = new SlotController<Part>(this, { slots: [\"\", \"caption\", \"date\"] });\n\n constructor() {\n super();\n this._internals = this.attachInternals();\n }\n\n /* In a bd-review-grid, a review is one item of the grid's list -- a list\n whose children are not list items is announced as an empty list, or not\n at all (axe: aria-required-children). The role is the element's own,\n through ElementInternals, as bd-breadcrumb-item's is: the grid used to\n write role=\"listitem\" onto the page's markup, where it stayed after the\n review left the list. A role the page writes on the element still wins,\n and outside a grid a review is no item of anything. */\n connectedCallback() {\n super.connectedCallback();\n this._internals.role = this.parentElement?.localName === \"bd-review-grid\" ? \"listitem\" : null;\n }\n\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has(\"background\") && !isOneOf(BACKGROUNDS, this.background)) this.background = \"tint\";\n }\n\n render() {\n const has = (part: Part) => this._slots.has(part);\n return html`\n <div class=\"bd-review-card\">\n <bd-icon name=\"quote\" class=\"bd-review-mark\" size=\"xl\"></bd-icon>\n <p class=\"bd-review-quote\" ?hidden=${!has(\"\")}><slot></slot></p>\n <div class=\"bd-review-meta\" ?hidden=${!has(\"caption\") && !has(\"date\")}>\n <p class=\"bd-review-source\" ?hidden=${!has(\"caption\")}><slot name=\"caption\"></slot></p>\n <div class=\"bd-review-date\" ?hidden=${!has(\"date\")}><slot name=\"date\"></slot></div>\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-review\": BdReview;\n }\n}\n"],"mappings":"A,6bAmBA,IAAMI,EAAc,CAAC,OAAQ,WAAW,EAwB3BC,EAAN,cAAuBC,CAAW,C,OACvB,KAAA,OAAA,CAACN,CAAS,C,CAU1B,aAAc,CACZ,MAAM,EAPiB,KAAA,WAAA,OAIhB,KAAA,OAAA,IAAIO,EAAqB,KAAM,CAAE,MAAO,CAAC,GAAI,UAAW,MAAM,CAAE,CAAC,EAIxE,KAAK,WAAa,KAAK,gBAAgB,CACzC,CASA,mBAAoB,CAClB,MAAM,kBAAkB,EACxB,KAAK,WAAW,KAAO,KAAK,eAAe,YAAc,iBAAmB,WAAa,IAC3F,CAEA,WAAW,EAA+B,CACpCC,EAAQ,IAAI,YAAY,GAAK,CAACC,EAAQL,EAAa,KAAK,UAAU,IAAG,KAAK,WAAa,OAC7F,CAEA,QAAS,CACP,IAAMM,EAAO,GAAe,KAAK,OAAO,IAAIC,CAAI,EAChD,MAAO,EAAI;;;6CAG8B,CAACD,EAAI,EAAE,EAAE;8CACR,CAACA,EAAI,SAAS,GAAK,CAACA,EAAI,MAAM,EAAE;gDAC9B,CAACA,EAAI,SAAS,EAAE;gDAChB,CAACA,EAAI,MAAM,EAAE;;;KAI3D,CACF,EAzCGT,EAAA,CAAAW,EAAS,CAAE,KAAM,OAAQ,UAAW,aAAc,QAAS,EAAK,CAAC,CAAA,EAAAP,EAAA,UAAA,aAAA,IAAA,EAAA,EALnE,EAAAJ,EAAA,CAAAY,EAAc,WAAW,CAAA,EAAAR,CAAA,E"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{--bd-section-padding:var(--spacing-24);gap:calc(var(--bd-section-padding) * 2);padding-block:var(--bd-section-padding);flex-direction:column;display:flex}@media (width>=768px){:host{--bd-section-padding:var(--spacing-32)}}:host([
|
|
1
|
+
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{--bd-section-padding:var(--spacing-24);gap:calc(var(--bd-section-padding) * 2);padding-block:var(--bd-section-padding);flex-direction:column;display:flex}@media (width>=768px){:host{--bd-section-padding:var(--spacing-32)}}:host([without-padding-top]){padding-block-start:0}:host([without-padding-bottom]){padding-block-end:0}`;export{t as default};
|
|
2
2
|
//# sourceMappingURL=section.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"section.css.js","names":["section_css_default"],"sources":["../../../../src/components/section/section.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { above } from \"#shared/token-scales.ts\";\n\n/* One distance, and twice it. Every section of the Figma homepage frames sits\n the same inset in from its top and its bottom -- 24 on the 390 phone frame,\n 32 on the 768 tablet and the 1440 desktop -- so two sections stand twice\n that apart, 48 and 64. The blocks inside a section take the same doubled\n gap, so two blocks of one section sit as far apart as two sections do, and\n one rhythm runs down the whole page.\n\n Vertical only. The page column is each module's own (ensembleCSS), so a\n section never sets a width, an inline padding or a ground. */\nexport default css`\n :host {\n --bd-section-padding: var(--spacing-24);\n\n display: flex;\n flex-direction: column;\n gap: calc(var(--bd-section-padding) * 2);\n padding-block: var(--bd-section-padding);\n }\n\n @media ${unsafeCSS(above(\"md\"))} {\n :host {\n --bd-section-padding: var(--spacing-32);\n }\n }\n\n /* An edge is on or off, never another size: the block meets its neighbour\n there, and keeps the inset everywhere else. */\n :host([
|
|
1
|
+
{"version":3,"file":"section.css.js","names":["section_css_default"],"sources":["../../../../src/components/section/section.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { above } from \"#shared/token-scales.ts\";\n\n/* One distance, and twice it. Every section of the Figma homepage frames sits\n the same inset in from its top and its bottom -- 24 on the 390 phone frame,\n 32 on the 768 tablet and the 1440 desktop -- so two sections stand twice\n that apart, 48 and 64. The blocks inside a section take the same doubled\n gap, so two blocks of one section sit as far apart as two sections do, and\n one rhythm runs down the whole page.\n\n Vertical only. The page column is each module's own (ensembleCSS), so a\n section never sets a width, an inline padding or a ground. */\nexport default css`\n :host {\n --bd-section-padding: var(--spacing-24);\n\n display: flex;\n flex-direction: column;\n gap: calc(var(--bd-section-padding) * 2);\n padding-block: var(--bd-section-padding);\n }\n\n @media ${unsafeCSS(above(\"md\"))} {\n :host {\n --bd-section-padding: var(--spacing-32);\n }\n }\n\n /* An edge is on or off, never another size: the block meets its neighbour\n there, and keeps the inset everywhere else. */\n :host([without-padding-top]) {\n padding-block-start: 0;\n }\n\n :host([without-padding-bottom]) {\n padding-block-end: 0;\n }\n`;\n"],"mappings":"A,4DAYA,IAAAA,EAAe,CAAG,8U"}
|
|
@@ -8,10 +8,12 @@ import "../../tokens/tokens.js";
|
|
|
8
8
|
* only be on or off at either edge, never a different size, so the rhythm
|
|
9
9
|
* cannot drift.
|
|
10
10
|
*
|
|
11
|
-
* `
|
|
12
|
-
* must meet what is above or below it -- the hero, whose band
|
|
13
|
-
* site menu, takes `
|
|
14
|
-
* the hero still stands twice the inset clear of the
|
|
11
|
+
* `without-padding-top` and `without-padding-bottom` turn one edge off, for a
|
|
12
|
+
* block that must meet what is above or below it -- the hero, whose band
|
|
13
|
+
* starts under the site menu, takes `without-padding-top`. The block keeps the
|
|
14
|
+
* rest of the rhythm: the hero still stands twice the inset clear of the
|
|
15
|
+
* section after it. (3.x spelled them `no-padding-top` and
|
|
16
|
+
* `no-padding-bottom`; N5 makes a removed default part `without-*`.)
|
|
15
17
|
*
|
|
16
18
|
* It sets no width and no ground. The blocks inside bring their own page
|
|
17
19
|
* column; a full-bleed band is a block like any other, so it stands twice the
|
|
@@ -19,8 +21,8 @@ import "../../tokens/tokens.js";
|
|
|
19
21
|
* wants a landmark puts one inside.
|
|
20
22
|
*/
|
|
21
23
|
declare class BdSection extends LitElement {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
+
withoutPaddingTop: boolean;
|
|
25
|
+
withoutPaddingBottom: boolean;
|
|
24
26
|
static styles: import("lit").CSSResult[];
|
|
25
27
|
render(): import("lit-html").TemplateResult<1>;
|
|
26
28
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import n from"./section.css.js";import{LitElement as r,html as i}from"lit";import{property as a}from"lit/decorators.js";var o=class extends r{constructor(...e){super(...e),this.
|
|
1
|
+
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import n from"./section.css.js";import{LitElement as r,html as i}from"lit";import{property as a}from"lit/decorators.js";var o=class extends r{constructor(...e){super(...e),this.withoutPaddingTop=!1,this.withoutPaddingBottom=!1}static{this.styles=[n]}render(){return i`<slot></slot>`}};t([a({type:Boolean,reflect:!0,attribute:`without-padding-top`})],o.prototype,`withoutPaddingTop`,void 0),t([a({type:Boolean,reflect:!0,attribute:`without-padding-bottom`})],o.prototype,`withoutPaddingBottom`,void 0),o=t([e(`bd-section`)],o);
|
|
2
2
|
//# sourceMappingURL=section.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"section.js","names":["sectionCSS","_decorate","__decorate","section_css_default","BdSection","LitElement","_args","property","defineElement"],"sources":["../../../../src/components/section/section.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 sectionCSS from \"./section.css.ts\";\n\n/**\n * A page section: the vertical rhythm a page is built on, and nothing else.\n * It pads its top and bottom by the section inset (24 on a phone, 32 from md)\n * and stacks its blocks twice that apart, so every section and every block on\n * a page sits on one distance. The inset is not a choice a page makes: it can\n * only be on or off at either edge, never a different size, so the rhythm\n * cannot drift.\n *\n * `
|
|
1
|
+
{"version":3,"file":"section.js","names":["sectionCSS","_decorate","__decorate","section_css_default","BdSection","LitElement","_args","property","defineElement"],"sources":["../../../../src/components/section/section.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 sectionCSS from \"./section.css.ts\";\n\n/**\n * A page section: the vertical rhythm a page is built on, and nothing else.\n * It pads its top and bottom by the section inset (24 on a phone, 32 from md)\n * and stacks its blocks twice that apart, so every section and every block on\n * a page sits on one distance. The inset is not a choice a page makes: it can\n * only be on or off at either edge, never a different size, so the rhythm\n * cannot drift.\n *\n * `without-padding-top` and `without-padding-bottom` turn one edge off, for a\n * block that must meet what is above or below it -- the hero, whose band\n * starts under the site menu, takes `without-padding-top`. The block keeps the\n * rest of the rhythm: the hero still stands twice the inset clear of the\n * section after it. (3.x spelled them `no-padding-top` and\n * `no-padding-bottom`; N5 makes a removed default part `without-*`.)\n *\n * It sets no width and no ground. The blocks inside bring their own page\n * column; a full-bleed band is a block like any other, so it stands twice the\n * inset clear of its neighbours. It carries no semantics either -- a page that\n * wants a landmark puts one inside.\n */\n@defineElement(\"bd-section\")\nclass BdSection extends LitElement {\n @property({ type: Boolean, reflect: true, attribute: \"without-padding-top\" })\n withoutPaddingTop = false;\n @property({ type: Boolean, reflect: true, attribute: \"without-padding-bottom\" })\n withoutPaddingBottom = false;\n\n static styles = [sectionCSS];\n\n render() {\n return html`<slot></slot>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-section\": BdSection;\n }\n}\n"],"mappings":"A,6RA2BA,IACMI,EADN,cACwBC,CAAW,C,8BAEb,KAAA,kBAAA,GAEG,KAAA,qBAAA,E,QAEP,KAAA,OAAA,CAACL,CAAU,C,CAE3B,QAAS,CACP,MAAO,EAAI,eACb,CACF,EAVGC,EAAA,CAAAM,EAAS,CAAE,KAAM,QAAS,QAAS,GAAM,UAAW,qBAAsB,CAAC,CAAA,EAAAH,EAAA,UAAA,oBAAA,IAAA,EAAA,EAE3EH,EAAA,CAAAM,EAAS,CAAE,KAAM,QAAS,QAAS,GAAM,UAAW,wBAAyB,CAAC,CAAA,EAAAH,EAAA,UAAA,uBAAA,IAAA,EAAA,EAJhF,EAAAH,EAAA,CAAAO,EAAc,YAAY,CAAA,EAAAJ,CAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{display:block}.root{gap:var(--spacing-16);flex-direction:column;display:flex}.eyebrow{--bd-paragraph-
|
|
1
|
+
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{display:block}.root{gap:var(--spacing-16);flex-direction:column;display:flex}.eyebrow[hidden],.row[hidden],.title[hidden],.description[hidden]{display:none}.eyebrow{font-family:var(--typography-label-large-fontFamily);font-size:var(--typography-label-large-fontSize);font-weight:var(--typography-label-large-fontWeight);line-height:var(--typography-label-large-lineHeight);letter-spacing:var(--typography-label-large-letterSpacing);color:var(--bd-paragraph-color,var(--color-text-brand))}@media (width<992px){.eyebrow{font-size:var(--typography-label-default-fontSize);font-weight:var(--typography-label-default-fontWeight);line-height:var(--typography-label-default-lineHeight);letter-spacing:var(--typography-label-default-letterSpacing)}}.row{gap:var(--spacing-16);flex-direction:column;display:flex}::slotted(bd-h[slot=title]),::slotted(bd-display[slot=title]){--bd-heading-font-size:var(--typography-heading-h2-fontSize);--bd-heading-font-weight:var(--typography-heading-h2-fontWeight);--bd-heading-line-height:var(--typography-heading-h2-lineHeight);--bd-heading-letter-spacing:var(--typography-heading-h2-letterSpacing);--bd-heading-font-family:var(--typography-heading-h2-fontFamily)}::slotted(bd-p[slot=description]){--bd-paragraph-font-size:var(--typography-body-regular-fontSize);--bd-paragraph-font-weight:var(--typography-body-regular-fontWeight);--bd-paragraph-line-height:var(--typography-body-regular-lineHeight);--bd-paragraph-letter-spacing:var(--typography-body-regular-letterSpacing);--bd-paragraph-margin-bottom:0}::slotted(*){margin:0}:host([layout=centered]) .root{text-align:center;align-items:center}:host([layout=centered]) .row{align-items:center;gap:var(--spacing-24);max-width:588px}@media (width>=992px){::slotted(bd-p[slot=description]){--bd-paragraph-font-size:var(--typography-body-large-fontSize);--bd-paragraph-font-weight:var(--typography-body-large-fontWeight);--bd-paragraph-line-height:var(--typography-body-large-lineHeight);--bd-paragraph-letter-spacing:var(--typography-body-large-letterSpacing)}:host([layout=split]) .row{align-items:flex-start;gap:var(--spacing-24);flex-direction:row}:host([layout=split]) .title,:host([layout=split]) .description{flex:1 1 0;min-width:0}}`;export{t as sectionHeaderCSS};
|
|
2
2
|
//# sourceMappingURL=section-header.css.js.map
|