@repobit/dex-system-design 3.0.1 → 3.0.3
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 +14 -0
- package/dist/src/_bundled/oxc-project_runtime/helpers/esm/decorate.js +1 -0
- package/dist/src/components/accordion/accordion-bg.css.js +1 -288
- package/dist/src/components/accordion/accordion-bg.css.js.map +1 -1
- package/dist/src/components/accordion/accordion-bg.d.ts +5 -5
- package/dist/src/components/accordion/accordion-bg.js +15 -210
- package/dist/src/components/accordion/accordion-bg.js.map +1 -1
- package/dist/src/components/accordion/accordion-keyboard.js +1 -89
- package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
- package/dist/src/components/accordion/accordion-panel.js +1 -22
- package/dist/src/components/accordion/accordion-panel.js.map +1 -1
- package/dist/src/components/accordion/accordion.css.js +1 -380
- package/dist/src/components/accordion/accordion.css.js.map +1 -1
- package/dist/src/components/accordion/accordion.d.ts +7 -7
- package/dist/src/components/accordion/accordion.js +16 -138
- package/dist/src/components/accordion/accordion.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -88
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +4 -4
- package/dist/src/components/agent-endpoints/agent-endpoints.js +17 -76
- package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
- package/dist/src/components/alert/alert.css.js +1 -217
- package/dist/src/components/alert/alert.css.js.map +1 -1
- package/dist/src/components/alert/alert.d.ts +4 -4
- package/dist/src/components/alert/alert.js +6 -110
- package/dist/src/components/alert/alert.js.map +1 -1
- package/dist/src/components/anchor/anchor-nav.css.js +1 -546
- package/dist/src/components/anchor/anchor-nav.css.js.map +1 -1
- package/dist/src/components/anchor/anchor-nav.d.ts +4 -4
- package/dist/src/components/anchor/anchor-nav.js +23 -567
- package/dist/src/components/anchor/anchor-nav.js.map +1 -1
- package/dist/src/components/annotation/annotation.css.js +1 -64
- package/dist/src/components/annotation/annotation.css.js.map +1 -1
- package/dist/src/components/annotation/annotation.d.ts +2 -2
- package/dist/src/components/annotation/annotation.js +7 -72
- package/dist/src/components/annotation/annotation.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.css.js +1 -122
- package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.d.ts +2 -2
- package/dist/src/components/audience-card/audience-card.js +8 -83
- package/dist/src/components/audience-card/audience-card.js.map +1 -1
- package/dist/src/components/avatar/avatar.css.js +1 -65
- package/dist/src/components/avatar/avatar.css.js.map +1 -1
- package/dist/src/components/avatar/avatar.d.ts +3 -3
- package/dist/src/components/avatar/avatar.js +6 -76
- package/dist/src/components/avatar/avatar.js.map +1 -1
- package/dist/src/components/awards/awards-flex.css.js +1 -273
- package/dist/src/components/awards/awards-flex.css.js.map +1 -1
- package/dist/src/components/awards/awards-flex.d.ts +12 -12
- package/dist/src/components/awards/awards-flex.js +33 -264
- package/dist/src/components/awards/awards-flex.js.map +1 -1
- package/dist/src/components/awards/awards-spotlight.css.js +1 -161
- package/dist/src/components/awards/awards-spotlight.css.js.map +1 -1
- package/dist/src/components/awards/awards-spotlight.d.ts +4 -4
- package/dist/src/components/awards/awards-spotlight.js +24 -140
- package/dist/src/components/awards/awards-spotlight.js.map +1 -1
- package/dist/src/components/awards/awards.css.js +1 -401
- package/dist/src/components/awards/awards.css.js.map +1 -1
- package/dist/src/components/awards/awards.d.ts +13 -13
- package/dist/src/components/awards/awards.js +26 -179
- package/dist/src/components/awards/awards.js.map +1 -1
- package/dist/src/components/awards/scroll-slides.js +1 -131
- package/dist/src/components/awards/scroll-slides.js.map +1 -1
- package/dist/src/components/back/back.css.js +1 -91
- package/dist/src/components/back/back.css.js.map +1 -1
- package/dist/src/components/back/back.d.ts +1 -1
- package/dist/src/components/back/back.js +8 -71
- package/dist/src/components/back/back.js.map +1 -1
- package/dist/src/components/badge/badge.css.js +1 -204
- package/dist/src/components/badge/badge.css.js.map +1 -1
- package/dist/src/components/badge/badge.d.ts +4 -4
- package/dist/src/components/badge/badge.js +2 -117
- package/dist/src/components/badge/badge.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.css.js +16 -150
- package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.d.ts +3 -3
- package/dist/src/components/bento-grid/bento-grid.js +10 -189
- package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.css.js +1 -338
- package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.d.ts +3 -3
- package/dist/src/components/bento-grid/bento-item.js +10 -94
- package/dist/src/components/bento-grid/bento-item.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.css.js +1 -54
- package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.d.ts +2 -2
- package/dist/src/components/blockquote/blockquote.js +1 -44
- package/dist/src/components/blockquote/blockquote.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.css.js +1 -168
- package/dist/src/components/breadcrumb/breadcrumb.css.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -5
- package/dist/src/components/breadcrumb/breadcrumb.js +9 -166
- package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/src/components/button/button.css.js +1 -843
- package/dist/src/components/button/button.css.js.map +1 -1
- package/dist/src/components/button/button.d.ts +5 -5
- package/dist/src/components/button/button.js +18 -420
- package/dist/src/components/button/button.js.map +1 -1
- package/dist/src/components/caption/caption.css.js +1 -29
- package/dist/src/components/caption/caption.css.js.map +1 -1
- package/dist/src/components/caption/caption.d.ts +3 -3
- package/dist/src/components/caption/caption.js +2 -36
- package/dist/src/components/caption/caption.js.map +1 -1
- package/dist/src/components/card-features/card-features.css.js +1 -120
- package/dist/src/components/card-features/card-features.css.js.map +1 -1
- package/dist/src/components/card-features/card-features.d.ts +3 -3
- package/dist/src/components/card-features/card-features.js +12 -145
- package/dist/src/components/card-features/card-features.js.map +1 -1
- package/dist/src/components/cards/card.css.js +1 -369
- package/dist/src/components/cards/card.css.js.map +1 -1
- package/dist/src/components/cards/card.d.ts +3 -3
- package/dist/src/components/cards/card.js +21 -312
- package/dist/src/components/cards/card.js.map +1 -1
- package/dist/src/components/carousel/carousel.css.js +1 -261
- package/dist/src/components/carousel/carousel.css.js.map +1 -1
- package/dist/src/components/carousel/carousel.d.ts +5 -5
- package/dist/src/components/carousel/carousel.js +13 -297
- package/dist/src/components/carousel/carousel.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.css.js +1 -173
- package/dist/src/components/checkbox/checkbox.css.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.d.ts +2 -2
- package/dist/src/components/checkbox/checkbox.js +5 -138
- package/dist/src/components/checkbox/checkbox.js.map +1 -1
- package/dist/src/components/code/code.css.js +1 -73
- package/dist/src/components/code/code.css.js.map +1 -1
- package/dist/src/components/code/code.d.ts +2 -2
- package/dist/src/components/code/code.js +4 -87
- package/dist/src/components/code/code.js.map +1 -1
- package/dist/src/components/compare/compare.css.js +1 -478
- package/dist/src/components/compare/compare.css.js.map +1 -1
- package/dist/src/components/compare/compare.d.ts +5 -5
- package/dist/src/components/compare/compare.js +23 -476
- package/dist/src/components/compare/compare.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -141
- package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.d.ts +2 -2
- package/dist/src/components/comparison-panel/comparison-panel.js +18 -86
- package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -391
- package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.d.ts +2 -2
- package/dist/src/components/compatibility-table/compatibility-table.js +26 -136
- package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.css.js +1 -97
- package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.d.ts +2 -2
- package/dist/src/components/cta-banner/cta-banner.js +8 -51
- package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
- package/dist/src/components/display/display.css.js +1 -95
- package/dist/src/components/display/display.css.js.map +1 -1
- package/dist/src/components/display/display.d.ts +2 -2
- package/dist/src/components/display/display.js +3 -84
- package/dist/src/components/display/display.js.map +1 -1
- package/dist/src/components/divider/divider-horizontal.d.ts +2 -2
- package/dist/src/components/divider/divider-horizontal.js +4 -63
- package/dist/src/components/divider/divider-horizontal.js.map +1 -1
- package/dist/src/components/divider/divider-vertical.d.ts +2 -2
- package/dist/src/components/divider/divider-vertical.js +6 -61
- package/dist/src/components/divider/divider-vertical.js.map +1 -1
- package/dist/src/components/divider/divider.css.js +1 -20
- package/dist/src/components/divider/divider.css.js.map +1 -1
- package/dist/src/components/dropdown/dropdown.css.js +1 -121
- package/dist/src/components/dropdown/dropdown.css.js.map +1 -1
- package/dist/src/components/dropdown/dropdown.d.ts +5 -5
- package/dist/src/components/dropdown/dropdown.js +17 -283
- package/dist/src/components/dropdown/dropdown.js.map +1 -1
- package/dist/src/components/features/features.css.js +1 -123
- package/dist/src/components/features/features.css.js.map +1 -1
- package/dist/src/components/features/features.d.ts +5 -5
- package/dist/src/components/features/features.js +11 -71
- package/dist/src/components/features/features.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.css.js +1 -100
- package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.d.ts +5 -5
- package/dist/src/components/features-tab/features-tab.js +9 -70
- package/dist/src/components/features-tab/features-tab.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.css.js +1 -28
- package/dist/src/components/fieldset/fieldset.css.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.d.ts +2 -2
- package/dist/src/components/fieldset/fieldset.js +3 -31
- package/dist/src/components/fieldset/fieldset.js.map +1 -1
- package/dist/src/components/footer/footer-images.js +5 -27
- package/dist/src/components/footer/footer-images.js.map +1 -1
- package/dist/src/components/footer/footer-links-group.css.js +1 -33
- package/dist/src/components/footer/footer-links-group.css.js.map +1 -1
- package/dist/src/components/footer/footer-links-group.d.ts +3 -3
- package/dist/src/components/footer/footer-links-group.js +3 -32
- package/dist/src/components/footer/footer-links-group.js.map +1 -1
- package/dist/src/components/footer/footer-locale.js +1 -45
- package/dist/src/components/footer/footer-locale.js.map +1 -1
- package/dist/src/components/footer/footer-lp.d.ts +7 -7
- package/dist/src/components/footer/footer-lp.js +8 -121
- package/dist/src/components/footer/footer-lp.js.map +1 -1
- package/dist/src/components/footer/footer-nav-menu.css.js +1 -61
- package/dist/src/components/footer/footer-nav-menu.css.js.map +1 -1
- package/dist/src/components/footer/footer-nav-menu.d.ts +3 -3
- package/dist/src/components/footer/footer-nav-menu.js +3 -47
- package/dist/src/components/footer/footer-nav-menu.js.map +1 -1
- package/dist/src/components/footer/footer.css.js +1 -664
- package/dist/src/components/footer/footer.css.js.map +1 -1
- package/dist/src/components/footer/footer.d.ts +13 -13
- package/dist/src/components/footer/footer.js +20 -305
- package/dist/src/components/footer/footer.js.map +1 -1
- package/dist/src/components/footer/localeMap.js +1 -1
- package/dist/src/components/footer/localeMap.js.map +1 -1
- package/dist/src/components/grid/grid.css.js +1 -78
- package/dist/src/components/grid/grid.css.js.map +1 -1
- package/dist/src/components/grid/grid.d.ts +2 -2
- package/dist/src/components/grid/grid.js +9 -126
- package/dist/src/components/grid/grid.js.map +1 -1
- package/dist/src/components/header/header-code.css.js +1 -369
- package/dist/src/components/header/header-code.css.js.map +1 -1
- package/dist/src/components/header/header-code.d.ts +4 -4
- package/dist/src/components/header/header-code.js +15 -163
- package/dist/src/components/header/header-code.js.map +1 -1
- package/dist/src/components/header/header.css.js +1 -757
- package/dist/src/components/header/header.css.js.map +1 -1
- package/dist/src/components/header/header.d.ts +7 -7
- package/dist/src/components/header/header.js +4 -212
- package/dist/src/components/header/header.js.map +1 -1
- package/dist/src/components/heading/heading.css.js +1 -89
- package/dist/src/components/heading/heading.css.js.map +1 -1
- package/dist/src/components/heading/heading.d.ts +2 -2
- package/dist/src/components/heading/heading.js +1 -108
- package/dist/src/components/heading/heading.js.map +1 -1
- package/dist/src/components/help-text/help-text.css.js +1 -19
- package/dist/src/components/help-text/help-text.css.js.map +1 -1
- package/dist/src/components/help-text/help-text.d.ts +2 -2
- package/dist/src/components/help-text/help-text.js +3 -31
- package/dist/src/components/help-text/help-text.js.map +1 -1
- package/dist/src/components/hero/hero.css.js +1 -362
- package/dist/src/components/hero/hero.css.js.map +1 -1
- package/dist/src/components/hero/hero.d.ts +3 -3
- package/dist/src/components/hero/hero.js +12 -164
- package/dist/src/components/hero/hero.js.map +1 -1
- package/dist/src/components/highlight/highlight.css.js +1 -175
- package/dist/src/components/highlight/highlight.css.js.map +1 -1
- package/dist/src/components/highlight/highlight.d.ts +3 -3
- package/dist/src/components/highlight/highlight.js +4 -115
- package/dist/src/components/highlight/highlight.js.map +1 -1
- package/dist/src/components/icons/analysis-icon.d.ts +1 -1
- package/dist/src/components/icons/analysis-icon.js +2 -20
- package/dist/src/components/icons/analysis-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-down-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-down-icon.js +2 -20
- package/dist/src/components/icons/arrow-down-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-icon.js +2 -48
- package/dist/src/components/icons/arrow-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-right-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-right-icon.js +2 -45
- package/dist/src/components/icons/arrow-right-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-up-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-up-icon.js +2 -33
- package/dist/src/components/icons/arrow-up-icon.js.map +1 -1
- package/dist/src/components/icons/av-comparatives-icon.js +2 -31
- package/dist/src/components/icons/av-comparatives-icon.js.map +1 -1
- package/dist/src/components/icons/bd-ai-icon.js +2 -31
- package/dist/src/components/icons/bd-ai-icon.js.map +1 -1
- package/dist/src/components/icons/best-brands-icon.js +2 -31
- package/dist/src/components/icons/best-brands-icon.js.map +1 -1
- package/dist/src/components/icons/brand-signature-icon.d.ts +1 -1
- package/dist/src/components/icons/brand-signature-icon.js +2 -46
- package/dist/src/components/icons/brand-signature-icon.js.map +1 -1
- package/dist/src/components/icons/check-icon.d.ts +1 -1
- package/dist/src/components/icons/check-icon.js +2 -31
- package/dist/src/components/icons/check-icon.js.map +1 -1
- package/dist/src/components/icons/circle-info-icon.d.ts +1 -1
- package/dist/src/components/icons/circle-info-icon.js +2 -35
- package/dist/src/components/icons/circle-info-icon.js.map +1 -1
- package/dist/src/components/icons/close-icon.d.ts +1 -1
- package/dist/src/components/icons/close-icon.js +2 -20
- package/dist/src/components/icons/close-icon.js.map +1 -1
- package/dist/src/components/icons/enterprise-icon.d.ts +1 -1
- package/dist/src/components/icons/enterprise-icon.js +2 -22
- package/dist/src/components/icons/enterprise-icon.js.map +1 -1
- package/dist/src/components/icons/family-icon.d.ts +1 -1
- package/dist/src/components/icons/family-icon.js +2 -20
- package/dist/src/components/icons/family-icon.js.map +1 -1
- package/dist/src/components/icons/globe-icon.d.ts +1 -1
- package/dist/src/components/icons/globe-icon.js +2 -20
- package/dist/src/components/icons/globe-icon.js.map +1 -1
- package/dist/src/components/icons/guide-icon.d.ts +1 -1
- package/dist/src/components/icons/guide-icon.js +2 -20
- package/dist/src/components/icons/guide-icon.js.map +1 -1
- package/dist/src/components/icons/home-icon.d.ts +1 -1
- package/dist/src/components/icons/home-icon.js +2 -22
- package/dist/src/components/icons/home-icon.js.map +1 -1
- package/dist/src/components/icons/icon-element.js +1 -162
- package/dist/src/components/icons/icon-element.js.map +1 -1
- package/dist/src/components/icons/icons.d.ts +23 -23
- package/dist/src/components/icons/icons.js +1 -42
- package/dist/src/components/icons/individual-icon.d.ts +1 -1
- package/dist/src/components/icons/individual-icon.js +2 -20
- package/dist/src/components/icons/individual-icon.js.map +1 -1
- package/dist/src/components/icons/laurel-icon.d.ts +1 -1
- package/dist/src/components/icons/laurel-icon.js +2 -24
- package/dist/src/components/icons/laurel-icon.js.map +1 -1
- package/dist/src/components/icons/machine-learning-icon.d.ts +1 -1
- package/dist/src/components/icons/machine-learning-icon.js +2 -20
- package/dist/src/components/icons/machine-learning-icon.js.map +1 -1
- package/dist/src/components/icons/marks.d.ts +9 -9
- package/dist/src/components/icons/marks.js +1 -41
- package/dist/src/components/icons/minus-icon.d.ts +1 -1
- package/dist/src/components/icons/minus-icon.js +2 -19
- package/dist/src/components/icons/minus-icon.js.map +1 -1
- package/dist/src/components/icons/missing-icon.d.ts +1 -1
- package/dist/src/components/icons/missing-icon.js +3 -53
- package/dist/src/components/icons/missing-icon.js.map +1 -1
- package/dist/src/components/icons/pause-icon.d.ts +1 -1
- package/dist/src/components/icons/pause-icon.js +2 -22
- package/dist/src/components/icons/pause-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-2024-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-2024-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-business-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-business-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-readers-icon.js +2 -30
- package/dist/src/components/icons/pc-mag-readers-icon.js.map +1 -1
- package/dist/src/components/icons/play-icon.d.ts +1 -1
- package/dist/src/components/icons/play-icon.js +2 -22
- package/dist/src/components/icons/play-icon.js.map +1 -1
- package/dist/src/components/icons/plus-icon.d.ts +1 -1
- package/dist/src/components/icons/plus-icon.js +2 -19
- package/dist/src/components/icons/plus-icon.js.map +1 -1
- package/dist/src/components/icons/quote-icon.d.ts +1 -1
- package/dist/src/components/icons/quote-icon.js +2 -30
- package/dist/src/components/icons/quote-icon.js.map +1 -1
- package/dist/src/components/icons/small-business-icon.d.ts +1 -1
- package/dist/src/components/icons/small-business-icon.js +2 -22
- package/dist/src/components/icons/small-business-icon.js.map +1 -1
- package/dist/src/components/icons/top-product-icon.js +2 -31
- package/dist/src/components/icons/top-product-icon.js.map +1 -1
- package/dist/src/components/image/image.css.js +1 -106
- package/dist/src/components/image/image.css.js.map +1 -1
- package/dist/src/components/image/image.d.ts +2 -2
- package/dist/src/components/image/image.js +10 -115
- package/dist/src/components/image/image.js.map +1 -1
- package/dist/src/components/input/input-clipboard.css.js +1 -93
- package/dist/src/components/input/input-clipboard.css.js.map +1 -1
- package/dist/src/components/input/input-clipboard.d.ts +5 -5
- package/dist/src/components/input/input-clipboard.js +20 -257
- package/dist/src/components/input/input-clipboard.js.map +1 -1
- package/dist/src/components/input/input.css.js +1 -9
- package/dist/src/components/input/input.css.js.map +1 -1
- package/dist/src/components/input/input.d.ts +4 -4
- package/dist/src/components/input/input.js +19 -202
- package/dist/src/components/input/input.js.map +1 -1
- package/dist/src/components/install-options/install-options.css.js +1 -308
- package/dist/src/components/install-options/install-options.css.js.map +1 -1
- package/dist/src/components/install-options/install-options.d.ts +4 -4
- package/dist/src/components/install-options/install-options.js +28 -159
- package/dist/src/components/install-options/install-options.js.map +1 -1
- package/dist/src/components/label/label.css.js +1 -33
- package/dist/src/components/label/label.css.js.map +1 -1
- package/dist/src/components/label/label.d.ts +3 -3
- package/dist/src/components/label/label.js +3 -135
- package/dist/src/components/label/label.js.map +1 -1
- package/dist/src/components/light-carousel/light-carousel.css.js +1 -270
- package/dist/src/components/light-carousel/light-carousel.css.js.map +1 -1
- package/dist/src/components/light-carousel/light-carousel.d.ts +3 -3
- package/dist/src/components/light-carousel/light-carousel.js +16 -181
- package/dist/src/components/light-carousel/light-carousel.js.map +1 -1
- package/dist/src/components/link/link.css.js +1 -288
- package/dist/src/components/link/link.css.js.map +1 -1
- package/dist/src/components/link/link.d.ts +3 -3
- package/dist/src/components/link/link.js +6 -233
- package/dist/src/components/link/link.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.css.js +1 -167
- 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 +3 -3
- package/dist/src/components/list/list-item/list-item.js +3 -122
- package/dist/src/components/list/list-item/list-item.js.map +1 -1
- package/dist/src/components/list/list.css.js +1 -180
- package/dist/src/components/list/list.css.js.map +1 -1
- package/dist/src/components/list/list.d.ts +1 -1
- package/dist/src/components/list/list.js +5 -82
- package/dist/src/components/list/list.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -93
- package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.d.ts +3 -3
- package/dist/src/components/logo-marquee/logo-marquee.js +6 -147
- package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
- package/dist/src/components/modal/modal.css.js +1 -203
- package/dist/src/components/modal/modal.css.js.map +1 -1
- package/dist/src/components/modal/modal.d.ts +3 -3
- package/dist/src/components/modal/modal.js +3 -131
- package/dist/src/components/modal/modal.js.map +1 -1
- package/dist/src/components/motion-art/motion-art.d.ts +1 -1
- package/dist/src/components/motion-art/motion-art.js +1 -114
- package/dist/src/components/motion-art/motion-art.js.map +1 -1
- package/dist/src/components/overview/overview.css.js +1 -125
- package/dist/src/components/overview/overview.css.js.map +1 -1
- package/dist/src/components/overview/overview.d.ts +2 -2
- package/dist/src/components/overview/overview.js +9 -50
- package/dist/src/components/overview/overview.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.css.js +1 -174
- package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.d.ts +2 -2
- package/dist/src/components/page-switcher/page-switcher.js +6 -62
- package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -160
- package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.d.ts +2 -2
- package/dist/src/components/pagination-dots/pagination-dots.js +10 -210
- package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
- package/dist/src/components/paragraph/paragraph.css.js +1 -101
- package/dist/src/components/paragraph/paragraph.css.js.map +1 -1
- package/dist/src/components/paragraph/paragraph.d.ts +2 -2
- package/dist/src/components/paragraph/paragraph.js +3 -119
- package/dist/src/components/paragraph/paragraph.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.css.js +1 -245
- package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.d.ts +1 -1
- package/dist/src/components/partner-banner/partner-banner.js +6 -81
- package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
- package/dist/src/components/picture/picture.css.js +1 -208
- package/dist/src/components/picture/picture.css.js.map +1 -1
- package/dist/src/components/picture/picture.d.ts +2 -2
- package/dist/src/components/picture/picture.js +14 -186
- package/dist/src/components/picture/picture.js.map +1 -1
- package/dist/src/components/post-card/post-card.css.js +1 -149
- package/dist/src/components/post-card/post-card.css.js.map +1 -1
- package/dist/src/components/post-card/post-card.d.ts +2 -2
- package/dist/src/components/post-card/post-card.js +5 -97
- package/dist/src/components/post-card/post-card.js.map +1 -1
- package/dist/src/components/pricing-cards/adopt-styles.js +1 -18
- package/dist/src/components/pricing-cards/adopt-styles.js.map +1 -1
- package/dist/src/components/pricing-cards/new-pricing-card.d.ts +2 -2
- package/dist/src/components/pricing-cards/new-pricing-card.js +4 -49
- package/dist/src/components/pricing-cards/new-pricing-card.js.map +1 -1
- package/dist/src/components/pricing-cards/new-pricing.css.js +1 -74
- package/dist/src/components/pricing-cards/new-pricing.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js +1 -11
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +2 -2
- package/dist/src/components/pricing-cards/pricing-card-actions.js +2 -59
- package/dist/src/components/pricing-cards/pricing-card-actions.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.css.js +1 -41
- package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.d.ts +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.js +2 -40
- package/dist/src/components/pricing-cards/pricing-card-container.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-header.css.js +1 -82
- package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-header.d.ts +5 -5
- package/dist/src/components/pricing-cards/pricing-card-header.js +7 -70
- package/dist/src/components/pricing-cards/pricing-card-header.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +1 -92
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +6 -6
- package/dist/src/components/pricing-cards/pricing-card-pricing.js +7 -87
- package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +1 -29
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +4 -4
- package/dist/src/components/pricing-cards/pricing-card-show-more.js +5 -41
- package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card.css.js +1 -660
- package/dist/src/components/pricing-cards/pricing-card.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card.d.ts +7 -7
- package/dist/src/components/pricing-cards/pricing-card.js +53 -639
- package/dist/src/components/pricing-cards/pricing-card.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js +1 -34
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +2 -2
- package/dist/src/components/pricing-cards/pricing-feature-item.js +2 -22
- package/dist/src/components/pricing-cards/pricing-feature-item.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.css.js +1 -106
- package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.d.ts +5 -5
- package/dist/src/components/process-steps/process-steps.js +10 -78
- package/dist/src/components/process-steps/process-steps.js.map +1 -1
- package/dist/src/components/progress/progress.css.js +1 -123
- package/dist/src/components/progress/progress.css.js.map +1 -1
- package/dist/src/components/progress/progress.d.ts +2 -2
- package/dist/src/components/progress/progress.js +6 -72
- package/dist/src/components/progress/progress.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.css.js +1 -130
- package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.d.ts +2 -2
- package/dist/src/components/quick-answer/quick-answer.js +9 -49
- package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
- package/dist/src/components/radio/radio-group.css.js +1 -41
- package/dist/src/components/radio/radio-group.css.js.map +1 -1
- package/dist/src/components/radio/radio-group.d.ts +1 -1
- package/dist/src/components/radio/radio-group.js +5 -92
- package/dist/src/components/radio/radio-group.js.map +1 -1
- package/dist/src/components/radio/radio.css.js +1 -193
- package/dist/src/components/radio/radio.css.js.map +1 -1
- package/dist/src/components/radio/radio.d.ts +4 -4
- package/dist/src/components/radio/radio.js +6 -263
- package/dist/src/components/radio/radio.js.map +1 -1
- package/dist/src/components/radio/toggle-radio.d.ts +2 -2
- package/dist/src/components/radio/toggle-radio.js +3 -39
- package/dist/src/components/radio/toggle-radio.js.map +1 -1
- package/dist/src/components/review/review-grid.css.js +1 -46
- package/dist/src/components/review/review-grid.css.js.map +1 -1
- package/dist/src/components/review/review-grid.d.ts +2 -2
- package/dist/src/components/review/review-grid.js +4 -49
- package/dist/src/components/review/review-grid.js.map +1 -1
- package/dist/src/components/review/review.css.js +1 -54
- package/dist/src/components/review/review.css.js.map +1 -1
- package/dist/src/components/review/review.d.ts +2 -2
- package/dist/src/components/review/review.js +2 -59
- package/dist/src/components/review/review.js.map +1 -1
- package/dist/src/components/section/section.css.js +1 -37
- package/dist/src/components/section/section.css.js.map +1 -1
- package/dist/src/components/section/section.d.ts +1 -1
- package/dist/src/components/section/section.js +1 -50
- package/dist/src/components/section/section.js.map +1 -1
- package/dist/src/components/section-header/section-header.css.js +1 -99
- package/dist/src/components/section-header/section-header.css.js.map +1 -1
- package/dist/src/components/section-header/section-header.d.ts +2 -2
- package/dist/src/components/section-header/section-header.js +4 -85
- package/dist/src/components/section-header/section-header.js.map +1 -1
- package/dist/src/components/shared/announcer.d.ts +1 -1
- package/dist/src/components/shared/announcer.js +1 -34
- package/dist/src/components/shared/announcer.js.map +1 -1
- package/dist/src/components/shared/controller.media-query.d.ts +1 -1
- package/dist/src/components/shared/controller.media-query.js +1 -57
- package/dist/src/components/shared/controller.media-query.js.map +1 -1
- package/dist/src/components/shared/define-element.js +1 -16
- package/dist/src/components/shared/define-element.js.map +1 -1
- package/dist/src/components/shared/ensemble.css.js +1 -101
- package/dist/src/components/shared/ensemble.css.js.map +1 -1
- package/dist/src/components/shared/events.js +0 -13
- package/dist/src/components/shared/fill-width.css.js +2 -27
- package/dist/src/components/shared/fill-width.css.js.map +1 -1
- package/dist/src/components/shared/form-control.d.ts +1 -1
- package/dist/src/components/shared/form-control.js +1 -198
- package/dist/src/components/shared/form-control.js.map +1 -1
- package/dist/src/components/shared/form-field.css.js +1 -258
- package/dist/src/components/shared/form-field.css.js.map +1 -1
- package/dist/src/components/shared/prop-vocabulary.js +1 -49
- package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
- package/dist/src/components/shared/token-scales.js +1 -351
- package/dist/src/components/shared/token-scales.js.map +1 -1
- package/dist/src/components/skeleton/skeleton.css.js +1 -32
- package/dist/src/components/skeleton/skeleton.css.js.map +1 -1
- package/dist/src/components/skeleton/skeleton.d.ts +2 -2
- package/dist/src/components/skeleton/skeleton.js +4 -36
- package/dist/src/components/skeleton/skeleton.js.map +1 -1
- package/dist/src/components/spinner/spinner.css.js +1 -87
- package/dist/src/components/spinner/spinner.css.js.map +1 -1
- package/dist/src/components/spinner/spinner.d.ts +3 -3
- package/dist/src/components/spinner/spinner.js +3 -69
- package/dist/src/components/spinner/spinner.js.map +1 -1
- package/dist/src/components/spotlight-section/spotlight-section.css.js +1 -105
- package/dist/src/components/spotlight-section/spotlight-section.css.js.map +1 -1
- package/dist/src/components/spotlight-section/spotlight-section.d.ts +2 -2
- package/dist/src/components/spotlight-section/spotlight-section.js +11 -72
- package/dist/src/components/spotlight-section/spotlight-section.js.map +1 -1
- package/dist/src/components/stat/stat-highlight.js +6 -82
- package/dist/src/components/stat/stat-highlight.js.map +1 -1
- package/dist/src/components/stat/stat-tile.js +5 -52
- package/dist/src/components/stat/stat-tile.js.map +1 -1
- package/dist/src/components/stat/stat.css.js +1 -145
- package/dist/src/components/stat/stat.css.js.map +1 -1
- package/dist/src/components/stat/stat.d.ts +2 -2
- package/dist/src/components/stat/stat.js +1 -3
- package/dist/src/components/switch/switch.css.js +1 -175
- package/dist/src/components/switch/switch.css.js.map +1 -1
- package/dist/src/components/switch/switch.d.ts +4 -4
- package/dist/src/components/switch/switch.js +4 -99
- package/dist/src/components/switch/switch.js.map +1 -1
- package/dist/src/components/tab-list/tab-list.css.js +1 -289
- package/dist/src/components/tab-list/tab-list.css.js.map +1 -1
- package/dist/src/components/tab-list/tab-list.d.ts +1 -1
- package/dist/src/components/tab-list/tab-list.js +13 -191
- package/dist/src/components/tab-list/tab-list.js.map +1 -1
- package/dist/src/components/tabs/tabs.css.js +1 -77
- package/dist/src/components/tabs/tabs.css.js.map +1 -1
- package/dist/src/components/tabs/tabs.d.ts +6 -6
- package/dist/src/components/tabs/tabs.js +8 -220
- package/dist/src/components/tabs/tabs.js.map +1 -1
- package/dist/src/components/tag/tag.css.js +1 -52
- package/dist/src/components/tag/tag.css.js.map +1 -1
- package/dist/src/components/tag/tag.d.ts +2 -2
- package/dist/src/components/tag/tag.js +2 -37
- package/dist/src/components/tag/tag.js.map +1 -1
- package/dist/src/components/terminal/terminal-cursor.js +1 -65
- package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
- package/dist/src/components/terminal/terminal-message.css.js +1 -409
- package/dist/src/components/terminal/terminal-message.css.js.map +1 -1
- package/dist/src/components/terminal/terminal-message.d.ts +5 -5
- package/dist/src/components/terminal/terminal-message.js +28 -183
- package/dist/src/components/terminal/terminal-message.js.map +1 -1
- package/dist/src/components/termsOfUse/terms.css.js +1 -55
- package/dist/src/components/termsOfUse/terms.css.js.map +1 -1
- package/dist/src/components/termsOfUse/terms.d.ts +5 -5
- package/dist/src/components/termsOfUse/terms.js +9 -82
- package/dist/src/components/termsOfUse/terms.js.map +1 -1
- package/dist/src/components/textarea/textarea.css.js +1 -49
- package/dist/src/components/textarea/textarea.css.js.map +1 -1
- package/dist/src/components/textarea/textarea.d.ts +5 -5
- package/dist/src/components/textarea/textarea.js +15 -160
- package/dist/src/components/textarea/textarea.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.css.js +1 -96
- package/dist/src/components/tooltip/tooltip.css.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.d.ts +2 -2
- package/dist/src/components/tooltip/tooltip.js +5 -285
- package/dist/src/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.css.js +1 -228
- package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.d.ts +4 -4
- package/dist/src/components/trust-panel/trust-panel.js +25 -104
- package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
- package/dist/src/components/video/video.css.js +1 -20
- package/dist/src/components/video/video.css.js.map +1 -1
- package/dist/src/components/video/video.d.ts +2 -2
- package/dist/src/components/video/video.js +5 -88
- package/dist/src/components/video/video.js.map +1 -1
- package/dist/src/components/video-player/video-player.css.js +1 -167
- package/dist/src/components/video-player/video-player.css.js.map +1 -1
- package/dist/src/components/video-player/video-player.d.ts +2 -2
- package/dist/src/components/video-player/video-player.js +15 -150
- package/dist/src/components/video-player/video-player.js.map +1 -1
- package/dist/src/components/visually-hidden/visually-hidden.css.js +1 -22
- package/dist/src/components/visually-hidden/visually-hidden.css.js.map +1 -1
- package/dist/src/components/visually-hidden/visually-hidden.d.ts +2 -2
- package/dist/src/components/visually-hidden/visually-hidden.js +2 -22
- package/dist/src/components/visually-hidden/visually-hidden.js.map +1 -1
- package/dist/src/tokens/brand-layer.js +8 -162
- package/dist/src/tokens/brand-layer.js.map +1 -1
- package/dist/src/tokens/dark-derivation.js +1 -325
- package/dist/src/tokens/dark-derivation.js.map +1 -1
- package/dist/src/tokens/dark-findings.d.ts +1 -1
- package/dist/src/tokens/dark-findings.js +1 -204
- package/dist/src/tokens/dark-findings.js.map +1 -1
- package/dist/src/tokens/fonts.css +1 -166
- package/dist/src/tokens/layout.css +1 -61
- package/dist/src/tokens/story-chrome.js +27 -221
- package/dist/src/tokens/story-chrome.js.map +1 -1
- package/dist/src/tokens/themes/bitdefender.js +1 -30
- package/dist/src/tokens/themes/bitdefender.js.map +1 -1
- package/dist/src/tokens/themes/contract.js +1 -7
- package/dist/src/tokens/themes/contract.js.map +1 -1
- package/dist/src/tokens/themes/index.js +1 -39
- package/dist/src/tokens/themes/index.js.map +1 -1
- package/dist/src/tokens/token-map.js +1 -236
- package/dist/src/tokens/token-map.js.map +1 -1
- package/dist/src/tokens/token-purposes.js +1 -259
- package/dist/src/tokens/token-purposes.js.map +1 -1
- package/dist/src/tokens/tokens.css +1 -1809
- package/dist/src/tokens/tokens.js +1 -1865
- package/dist/src/tokens/tokens.js.map +1 -1
- package/dist/src/tokens/type-ceiling-words.js +1 -293
- package/dist/src/tokens/type-ceiling-words.js.map +1 -1
- package/package.json +16 -5
- package/schemas/component-manifest.json +1 -1
- package/dist/src/components/icons/icons.js.map +0 -1
- package/dist/src/components/icons/marks.js.map +0 -1
- package/dist/src/components/shared/events.js.map +0 -1
- package/dist/src/components/stat/stat.js.map +0 -1
|
@@ -1,402 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { below, readAs } from "../shared/token-scales.js";
|
|
3
|
-
export const awardsCSS = css `
|
|
4
|
-
|
|
5
|
-
/* :host, not "bd-awards-section". This rule was written as a bare type
|
|
6
|
-
selector inside a stylesheet Lit adopts into the shadow root, where it can
|
|
7
|
-
never match the element that owns it -- only :host can. Measured before:
|
|
8
|
-
the rule was present in the shadow sheet and matched 0 elements, and the
|
|
9
|
-
host computed display inline, background transparent, padding 0,
|
|
10
|
-
content-box, and font-family Times. Every declaration was dead.
|
|
11
|
-
.
|
|
12
|
-
THREE OF THE FIVE ARE CARRIED OVER AND TWO ARE NOT, because they are not
|
|
13
|
-
the same kind of change. display, box-sizing and font-family are latent
|
|
14
|
-
defects: a custom element defaults to display inline, so this section's
|
|
15
|
-
host has never been a block box; and its font-family fell through to Times,
|
|
16
|
-
which reaches any text that does not set its own -- today nothing does, so
|
|
17
|
-
it is a trap rather than a visible fault. Turning those three on changes
|
|
18
|
-
nothing a reader sees: the two children measure 409.781 and 520.789 before
|
|
19
|
-
and after, and the host now measures 930.570 -- exactly their sum, which is
|
|
20
|
-
what a block box wrapping its content should be. As an inline box its rect
|
|
21
|
-
was computed from line boxes instead and rounded a pixel lower. The
|
|
22
|
-
screenshots are indistinguishable.
|
|
23
|
-
.
|
|
24
|
-
background and padding were held back one commit and are now carried over
|
|
25
|
-
too, on an explicit call after seeing them rendered. They are the visible
|
|
26
|
-
half: the section gains its blue-50 band and a 32px inset it had never
|
|
27
|
-
rendered, and grows 930px to 995px. The band is what the token
|
|
28
|
-
--layout-awards-section-background was always for -- the blog subsystem
|
|
29
|
-
has been resolving it all along, and only this consumer was spelling it in
|
|
30
|
-
a selector that could not match.
|
|
31
|
-
.
|
|
32
|
-
The band does not arrive alone. It turns every card inside this section
|
|
33
|
-
into a card on a tinted ground, which is the second clause of "a card's
|
|
34
|
-
ground and its edge" -- see .bd-awards-feature-card below, which moved with
|
|
35
|
-
it. Measured on the preview before deciding: the feature card's
|
|
36
|
-
surface/container ground read 1.034:1 against the band, and worse than that
|
|
37
|
-
number suggests, because the step is across hues rather than lightness. */
|
|
38
|
-
:host {
|
|
39
|
-
display: block;
|
|
40
|
-
font-family: var(--typography-fontFamily-sans);
|
|
41
|
-
box-sizing: border-box;
|
|
42
|
-
background: var(--layout-awards-section-background);
|
|
43
|
-
padding: var(--spacing-32);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.bd-awards-root {
|
|
47
|
-
display: flex;
|
|
48
|
-
flex-direction: column;
|
|
49
|
-
align-items: center;
|
|
50
|
-
gap: var(--spacing-48);
|
|
51
|
-
padding-block: var(--spacing-48);
|
|
52
|
-
box-sizing: border-box;
|
|
53
|
-
max-width: 100%;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/* Frame 12 — trust cluster 793px, gap 24px intro → badges */
|
|
57
|
-
.bd-awards-trust-banner {
|
|
58
|
-
display: flex;
|
|
59
|
-
flex-direction: column;
|
|
60
|
-
align-items: center;
|
|
61
|
-
gap: var(--spacing-24);
|
|
62
|
-
width: 100%;
|
|
63
|
-
max-width: var(--layout-awards-cluster-max-width);
|
|
64
|
-
margin: 0 auto;
|
|
65
|
-
text-align: center;
|
|
66
|
-
box-sizing: border-box;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.bd-awards-tagline {
|
|
70
|
-
/* The brand text role, not the brand primitive. This darkens the ink: the
|
|
71
|
-
role is blue-600, so contrast on white goes 4.53:1 -> 6.18:1. It is not a
|
|
72
|
-
like-for-like swap, and it cannot be -- no text role exists at blue-500's
|
|
73
|
-
value. The roles sitting there are surface, border, action, two status
|
|
74
|
-
fills, an accent and the tab indicator, and blue-500 is the step
|
|
75
|
-
CLAUDE.md says is not for text. */
|
|
76
|
-
color: var(--color-text-brand);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.bd-awards-section-title {
|
|
80
|
-
margin: var(--spacing-0) var(--spacing-0) var(--spacing-14);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.bd-awards-feature-title {
|
|
84
|
-
margin: var(--spacing-0) var(--spacing-0) var(--spacing-14);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/* Frame 1 — laurel + copy, gap 16px, max 631px */
|
|
88
|
-
.bd-awards-trust-intro {
|
|
89
|
-
display: flex;
|
|
90
|
-
flex-direction: column;
|
|
91
|
-
align-items: center;
|
|
92
|
-
gap: var(--spacing-16);
|
|
93
|
-
width: 100%;
|
|
94
|
-
max-width: var(--layout-awards-intro-max-width);
|
|
95
|
-
box-sizing: border-box;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.bd-awards-laurel-icon {
|
|
99
|
-
/* no role: the laurel wreath. ORNAMENT, not a mark and not a glyph in a
|
|
100
|
-
text flow -- the same decision highlight.css.ts records for its deco bar
|
|
101
|
-
and ellipses, and for the same reason: every icon-role candidate in this
|
|
102
|
-
package is an INK role, and ink is the wrong family for an ornament. The
|
|
103
|
-
span wraps an aria-hidden SVG painted with currentColor, so nothing here
|
|
104
|
-
is exposed to assistive technology and the adjacent headline carries the
|
|
105
|
-
meaning.
|
|
106
|
-
.
|
|
107
|
-
--color-blue-500 is the brand blue. It is a primitive because the system
|
|
108
|
-
has no brand ink at that step and deliberately does not want one: every
|
|
109
|
-
blue-500 role is a surface, a border, an action, an indicator or a status
|
|
110
|
-
fill, so adopting one would say this wreath is an action. Naming a new
|
|
111
|
-
role for two sites in one component family would be the mistake the
|
|
112
|
-
"deliberately not a token" section exists to prevent.
|
|
113
|
-
.
|
|
114
|
-
Contrast, against the blue-50 this file always intended and now actually
|
|
115
|
-
paints. The :host rule at the top declared
|
|
116
|
-
background: var(--layout-awards-section-background) as a bare type
|
|
117
|
-
selector that could never match, so for the whole life of this rule the
|
|
118
|
-
wreath sat on white; the selector is fixed and the band is on, so the
|
|
119
|
-
ground is blue-50.
|
|
120
|
-
.
|
|
121
|
-
Measured on that ground: 5.72:1 -> 4.20:1. It was 6.18:1 -> 4.53:1 while
|
|
122
|
-
the band was dead. Every one of those clears the 3:1 non-text minimum, and
|
|
123
|
-
a decorative graphic has no minimum at all, so the wreath was safe before
|
|
124
|
-
the band and is safe after it -- which is why this choice did not have to
|
|
125
|
-
wait on that decision. */
|
|
126
|
-
color: var(--color-brand-500);
|
|
127
|
-
display: flex;
|
|
128
|
-
align-items: center;
|
|
129
|
-
justify-content: center;
|
|
130
|
-
width: var(--spacing-80);
|
|
131
|
-
height: var(--spacing-80);
|
|
132
|
-
flex-shrink: 0;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
/* A ".bd-awards-laurel-icon svg" rule stood here and could never match. The
|
|
137
|
-
span holds <bd-laurel-icon>, whose svg lives in that atom's own shadow
|
|
138
|
-
root, and a descendant selector from this stylesheet does not cross that
|
|
139
|
-
boundary. The atom sizes itself -- see its defaultSize -- so the sizing
|
|
140
|
-
this rule tried to impose was already handled a layer down. */
|
|
141
|
-
|
|
142
|
-
.bd-awards-trust-intro .bd-awards-subtext {
|
|
143
|
-
width: 100%;
|
|
144
|
-
max-width: 100%;
|
|
145
|
-
padding: 0 var(--spacing-8);
|
|
146
|
-
box-sizing: border-box;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
@media (min-width: 576px) {
|
|
150
|
-
.bd-awards-trust-intro .bd-awards-subtext {
|
|
151
|
-
padding: 0 var(--spacing-16);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.bd-awards-secret-section .bd-awards-section-title {
|
|
156
|
-
display: block;
|
|
157
|
-
margin: 0 0 var(--spacing-16);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
/* Single badge strip */
|
|
161
|
-
.bd-awards-bar {
|
|
162
|
-
display: flex;
|
|
163
|
-
flex-wrap: wrap;
|
|
164
|
-
justify-content: center;
|
|
165
|
-
align-items: center;
|
|
166
|
-
gap: var(--spacing-32);
|
|
167
|
-
width: 100%;
|
|
168
|
-
box-sizing: border-box;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.bd-awards-badge {
|
|
172
|
-
display: flex;
|
|
173
|
-
align-items: center;
|
|
174
|
-
justify-content: center;
|
|
175
|
-
background: transparent;
|
|
176
|
-
box-sizing: border-box;
|
|
177
|
-
padding: var(--spacing-0);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
/* Desktop: rows are invisible wrappers */
|
|
181
|
-
.bd-awards-row {
|
|
182
|
-
display: contents;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
/* Mobile rows hidden on desktop */
|
|
186
|
-
.bd-awards-row--mobile-only {
|
|
187
|
-
display: none;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
/* All badges: uniform height, width from each mark's natural aspect ratio.
|
|
191
|
-
The award elements draw at that height intrinsically, so nothing is set
|
|
192
|
-
here — this used to size the local bd-icon wrapper that has been removed. */
|
|
193
|
-
|
|
194
|
-
/* ── Lower block ── */
|
|
195
|
-
|
|
196
|
-
.bd-awards-lower {
|
|
197
|
-
display: flex;
|
|
198
|
-
flex-direction: column;
|
|
199
|
-
align-items: stretch;
|
|
200
|
-
gap: var(--spacing-32);
|
|
201
|
-
width: 100%;
|
|
202
|
-
max-width: 940px;
|
|
203
|
-
margin: 0 auto;
|
|
204
|
-
padding: 0 var(--spacing-24);
|
|
205
|
-
box-sizing: border-box;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.bd-awards-secret-section {
|
|
209
|
-
text-align: center;
|
|
210
|
-
padding: 0 var(--spacing-16) var(--spacing-16);
|
|
211
|
-
width: 100%;
|
|
212
|
-
box-sizing: border-box;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
@media (min-width: 576px) {
|
|
216
|
-
.bd-awards-secret-section {
|
|
217
|
-
padding: var(--spacing-8) var(--spacing-20) var(--spacing-16);
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
@media (min-width: 768px) {
|
|
222
|
-
.bd-awards-secret-section {
|
|
223
|
-
padding: var(--spacing-8) var(--spacing-24) var(--spacing-16);
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
/* ── Feature cards grid ── */
|
|
228
|
-
|
|
229
|
-
.bd-awards-features-grid {
|
|
230
|
-
display: grid;
|
|
231
|
-
grid-template-columns: 1fr;
|
|
232
|
-
gap: var(--spacing-32);
|
|
233
|
-
width: 100%;
|
|
234
|
-
margin: 0;
|
|
235
|
-
padding: 0;
|
|
236
|
-
box-sizing: border-box;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
@media (min-width: 768px) {
|
|
240
|
-
.bd-awards-features-grid {
|
|
241
|
-
grid-template-columns: 1fr 1fr;
|
|
242
|
-
gap: var(--spacing-32);
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
/* ── Feature card ── */
|
|
247
|
-
|
|
248
|
-
/* A content card by every measure that was compared: the same 32px padding,
|
|
249
|
-
no resting shadow, exactly like the card box and the card-features card.
|
|
250
|
-
The corner was the only thing it did differently, and the card role settled
|
|
251
|
-
that.
|
|
252
|
-
.
|
|
253
|
-
THE GROUND AND THE EDGE MOVED WHEN THE BAND ARRIVED. This card used to sit
|
|
254
|
-
on the page, where surface/container's tonal step is the separation and an
|
|
255
|
-
edge is redundant -- the first clause of the rule. Its section now paints a
|
|
256
|
-
blue-50 band, so it is a card on a tint, and the second clause applies:
|
|
257
|
-
surface/default with a border-width-1 border/container edge, because no
|
|
258
|
-
tonal step is available across a hue change. Measured before the move: the
|
|
259
|
-
container ground read 1.034:1 against the band, which is not a step so much
|
|
260
|
-
as a smudge. The Trust Panel card and the Comparison Panel column already
|
|
261
|
-
draw exactly this, for exactly this reason. */
|
|
262
|
-
.bd-awards-feature-card {
|
|
263
|
-
background: var(--color-surface-default);
|
|
264
|
-
border: var(--border-width-1) solid var(--color-border-container);
|
|
265
|
-
border-radius: var(--card-radius);
|
|
266
|
-
padding: var(--card-padding);
|
|
267
|
-
display: flex;
|
|
268
|
-
flex-direction: column;
|
|
269
|
-
gap: var(--spacing-8);
|
|
270
|
-
box-sizing: border-box;
|
|
271
|
-
height: 100%;
|
|
272
|
-
text-align: left;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.bd-awards-feature-text {
|
|
276
|
-
display: flex;
|
|
277
|
-
flex-direction: column;
|
|
278
|
-
gap: var(--spacing-8);
|
|
279
|
-
align-self: stretch;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.bd-awards-feature-icon {
|
|
283
|
-
flex-shrink: 0;
|
|
284
|
-
width: var(--icon-2xl-size);
|
|
285
|
-
height: var(--icon-2xl-size);
|
|
286
|
-
display: flex;
|
|
287
|
-
align-items: center;
|
|
288
|
-
justify-content: center;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
.bd-awards-feature-card .bd-awards-feature-title {
|
|
293
|
-
display: block;
|
|
294
|
-
margin: 0;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
/* A ".bd-awards-badge img" rule stood here and could never match: the badge
|
|
298
|
-
renders icon atoms through iconFn(), not an <img>, so there is no image
|
|
299
|
-
element in this shadow root to size. A leftover from before the award
|
|
300
|
-
marks became atoms. */
|
|
301
|
-
|
|
302
|
-
/* ── Mobile (≤ 599px) ── */
|
|
303
|
-
|
|
304
|
-
@media ${unsafeCSS(below('sm'))} {
|
|
305
|
-
.bd-awards-root {
|
|
306
|
-
padding-block: var(--spacing-24);
|
|
307
|
-
gap: var(--spacing-24);
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
.bd-awards-trust-banner {
|
|
311
|
-
align-items: stretch;
|
|
312
|
-
max-width: 100%;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
.bd-awards-trust-intro {
|
|
316
|
-
gap: var(--spacing-8);
|
|
317
|
-
max-width: none;
|
|
318
|
-
padding: 0 var(--spacing-24);
|
|
319
|
-
box-sizing: border-box;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
.bd-awards-laurel-icon {
|
|
323
|
-
width: var(--spacing-40);
|
|
324
|
-
height: var(--spacing-40);
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
/* The icon's own default is 80px; the box here is 40. Setting height on the
|
|
328
|
-
element beats its :host rule, and its svg follows at width auto. */
|
|
329
|
-
.bd-awards-laurel-icon bd-laurel-icon {
|
|
330
|
-
height: var(--spacing-40);
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
.bd-awards-trust-intro .bd-awards-subtext {
|
|
334
|
-
padding: 0;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.bd-awards-bar {
|
|
338
|
-
align-items: center;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
/* Hide desktop rows (3+3+1), show mobile rows (3+4) */
|
|
342
|
-
.bd-awards-row--desktop-only {
|
|
343
|
-
display: none;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
.bd-awards-row--mobile-only {
|
|
347
|
-
display: flex;
|
|
348
|
-
flex-wrap: wrap;
|
|
349
|
-
justify-content: center;
|
|
350
|
-
align-items: center;
|
|
351
|
-
gap: var(--spacing-16);
|
|
352
|
-
width: 100%;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
/* Mobile badge height — half of desktop. The award elements render into
|
|
356
|
-
light DOM, so their svg is reachable from here; height + width auto
|
|
357
|
-
keeps each mark's aspect ratio. Replaces a rule that sized the local
|
|
358
|
-
bd-icon wrapper. */
|
|
359
|
-
.bd-awards-badge svg {
|
|
360
|
-
height: var(--spacing-32);
|
|
361
|
-
width: auto;
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
.bd-awards-lower {
|
|
365
|
-
gap: var(--spacing-16);
|
|
366
|
-
padding: 0 var(--spacing-8);
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
.bd-awards-secret-section .bd-awards-section-title {
|
|
370
|
-
margin-bottom: var(--spacing-8);
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
.bd-awards-secret-section {
|
|
374
|
-
padding: 0 var(--spacing-24) var(--spacing-16);
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
.bd-awards-features-grid {
|
|
378
|
-
gap: var(--spacing-32);
|
|
379
|
-
padding: 0;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
/* The banner and the secret section a step down the type scale: the
|
|
383
|
-
tagline large to small, the headline and the section title h3 to the
|
|
384
|
-
h4 size, the two paragraphs regular to small. The levels stay h3; see
|
|
385
|
-
readAs() in token-scales.ts. awards.ts used to re-render these with
|
|
386
|
-
other variants and visual levels from a matchMedia listener. */
|
|
387
|
-
.bd-awards-tagline { ${unsafeCSS(readAs('body-large', 'body-small'))} }
|
|
388
|
-
.bd-awards-headline,
|
|
389
|
-
.bd-awards-section-title { ${unsafeCSS(readAs('heading-h3', 'heading-h4'))} }
|
|
390
|
-
.bd-awards-subtext,
|
|
391
|
-
.bd-awards-section-subtext { ${unsafeCSS(readAs('body-regular', 'body-small'))} }
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
/* The feature cards step down a breakpoint later: the title from the h4
|
|
395
|
-
size to h6 (still bold, which it sets itself), the description regular to
|
|
396
|
-
small. */
|
|
397
|
-
@media ${unsafeCSS(below('md'))} {
|
|
398
|
-
.bd-awards-feature-title { ${unsafeCSS(readAs('heading-h4', 'heading-h6'))} }
|
|
399
|
-
.bd-awards-feature-desc { ${unsafeCSS(readAs('body-regular', 'body-small'))} }
|
|
400
|
-
}
|
|
401
|
-
`;
|
|
1
|
+
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-sans);box-sizing:border-box;background:var(--layout-awards-section-background);padding:var(--spacing-32);display:block}.bd-awards-root{align-items:center;gap:var(--spacing-48);padding-block:var(--spacing-48);box-sizing:border-box;flex-direction:column;max-width:100%;display:flex}.bd-awards-trust-banner{align-items:center;gap:var(--spacing-24);width:100%;max-width:var(--layout-awards-cluster-max-width);text-align:center;box-sizing:border-box;flex-direction:column;margin:0 auto;display:flex}.bd-awards-tagline{color:var(--color-text-brand)}.bd-awards-section-title,.bd-awards-feature-title{margin:var(--spacing-0) var(--spacing-0) var(--spacing-14)}.bd-awards-trust-intro{align-items:center;gap:var(--spacing-16);width:100%;max-width:var(--layout-awards-intro-max-width);box-sizing:border-box;flex-direction:column;display:flex}.bd-awards-laurel-icon{color:var(--color-brand-500);width:var(--spacing-80);height:var(--spacing-80);flex-shrink:0;justify-content:center;align-items:center;display:flex}.bd-awards-trust-intro .bd-awards-subtext{width:100%;max-width:100%;padding:0 var(--spacing-8);box-sizing:border-box}@media (width>=576px){.bd-awards-trust-intro .bd-awards-subtext{padding:0 var(--spacing-16)}}.bd-awards-secret-section .bd-awards-section-title{margin:0 0 var(--spacing-16);display:block}.bd-awards-bar{justify-content:center;align-items:center;gap:var(--spacing-32);box-sizing:border-box;flex-wrap:wrap;width:100%;display:flex}.bd-awards-badge{box-sizing:border-box;padding:var(--spacing-0);background:0 0;justify-content:center;align-items:center;display:flex}.bd-awards-row{display:contents}.bd-awards-row--mobile-only{display:none}.bd-awards-lower{align-items:stretch;gap:var(--spacing-32);width:100%;max-width:940px;padding:0 var(--spacing-24);box-sizing:border-box;flex-direction:column;margin:0 auto;display:flex}.bd-awards-secret-section{text-align:center;padding:0 var(--spacing-16) var(--spacing-16);box-sizing:border-box;width:100%}@media (width>=576px){.bd-awards-secret-section{padding:var(--spacing-8) var(--spacing-20) var(--spacing-16)}}@media (width>=768px){.bd-awards-secret-section{padding:var(--spacing-8) var(--spacing-24) var(--spacing-16)}}.bd-awards-features-grid{gap:var(--spacing-32);box-sizing:border-box;grid-template-columns:1fr;width:100%;margin:0;padding:0;display:grid}@media (width>=768px){.bd-awards-features-grid{gap:var(--spacing-32);grid-template-columns:1fr 1fr}}.bd-awards-feature-card{background:var(--color-surface-default);border:var(--border-width-1) solid var(--color-border-container);border-radius:var(--card-radius);padding:var(--card-padding);gap:var(--spacing-8);box-sizing:border-box;text-align:left;flex-direction:column;height:100%;display:flex}.bd-awards-feature-text{gap:var(--spacing-8);flex-direction:column;align-self:stretch;display:flex}.bd-awards-feature-icon{width:var(--icon-2xl-size);height:var(--icon-2xl-size);flex-shrink:0;justify-content:center;align-items:center;display:flex}.bd-awards-feature-card .bd-awards-feature-title{margin:0;display:block}@media (width<576px){.bd-awards-root{padding-block:var(--spacing-24);gap:var(--spacing-24)}.bd-awards-trust-banner{align-items:stretch;max-width:100%}.bd-awards-trust-intro{gap:var(--spacing-8);max-width:none;padding:0 var(--spacing-24);box-sizing:border-box}.bd-awards-laurel-icon{width:var(--spacing-40);height:var(--spacing-40)}.bd-awards-laurel-icon bd-laurel-icon{height:var(--spacing-40)}.bd-awards-trust-intro .bd-awards-subtext{padding:0}.bd-awards-bar{align-items:center}.bd-awards-row--desktop-only{display:none}.bd-awards-row--mobile-only{justify-content:center;align-items:center;gap:var(--spacing-16);flex-wrap:wrap;width:100%;display:flex}.bd-awards-badge svg{height:var(--spacing-32);width:auto}.bd-awards-lower{gap:var(--spacing-16);padding:0 var(--spacing-8)}.bd-awards-secret-section .bd-awards-section-title{margin-bottom:var(--spacing-8)}.bd-awards-secret-section{padding:0 var(--spacing-24) var(--spacing-16)}.bd-awards-features-grid{gap:var(--spacing-32);padding:0}.bd-awards-tagline{--typography-body-large-fontSize:var(--typography-body-small-fontSize);--typography-body-large-fontWeight:var(--typography-body-small-fontWeight);--typography-body-large-lineHeight:var(--typography-body-small-lineHeight);--typography-body-large-letterSpacing:var(--typography-body-small-letterSpacing)}.bd-awards-headline,.bd-awards-section-title{--typography-heading-h3-fontSize:var(--typography-heading-h4-fontSize);--typography-heading-h3-fontWeight:var(--typography-heading-h4-fontWeight);--typography-heading-h3-lineHeight:var(--typography-heading-h4-lineHeight);--typography-heading-h3-letterSpacing:var(--typography-heading-h4-letterSpacing);--typography-heading-h3-fontFamily:var(--typography-heading-h4-fontFamily)}.bd-awards-subtext,.bd-awards-section-subtext{--typography-body-regular-fontSize:var(--typography-body-small-fontSize);--typography-body-regular-fontWeight:var(--typography-body-small-fontWeight);--typography-body-regular-lineHeight:var(--typography-body-small-lineHeight);--typography-body-regular-letterSpacing:var(--typography-body-small-letterSpacing)}}@media (width<768px){.bd-awards-feature-title{--typography-heading-h4-fontSize:var(--typography-heading-h6-fontSize);--typography-heading-h4-fontWeight:var(--typography-heading-h6-fontWeight);--typography-heading-h4-lineHeight:var(--typography-heading-h6-lineHeight);--typography-heading-h4-letterSpacing:var(--typography-heading-h6-letterSpacing);--typography-heading-h4-fontFamily:var(--typography-heading-h6-fontFamily)}.bd-awards-feature-desc{--typography-body-regular-fontSize:var(--typography-body-small-fontSize);--typography-body-regular-fontWeight:var(--typography-body-small-fontWeight);--typography-body-regular-lineHeight:var(--typography-body-small-lineHeight);--typography-body-regular-letterSpacing:var(--typography-body-small-letterSpacing)}}`;export{t as awardsCSS};
|
|
402
2
|
//# sourceMappingURL=awards.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"awards.css.js","sourceRoot":"","sources":["../../../../src/components/awards/awards.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAE1D,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA6SjB,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAmFE,SAAS,CAAC,MAAM,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;;mCAE7C,SAAS,CAAC,MAAM,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;;mCAE7C,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,YAAY,CAAC,CAAC;;;;;;WAMvE,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;iCACA,SAAS,CAAC,MAAM,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;iCAC7C,SAAS,CAAC,MAAM,CAAC,cAAc,EAAE,YAAY,CAAC,CAAC;;CAE/E,CAAC","sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below, readAs } from \"../shared/token-scales.ts\";\n\nexport const awardsCSS = css`\n\n /* :host, not \"bd-awards-section\". This rule was written as a bare type\n selector inside a stylesheet Lit adopts into the shadow root, where it can\n never match the element that owns it -- only :host can. Measured before:\n the rule was present in the shadow sheet and matched 0 elements, and the\n host computed display inline, background transparent, padding 0,\n content-box, and font-family Times. Every declaration was dead.\n .\n THREE OF THE FIVE ARE CARRIED OVER AND TWO ARE NOT, because they are not\n the same kind of change. display, box-sizing and font-family are latent\n defects: a custom element defaults to display inline, so this section's\n host has never been a block box; and its font-family fell through to Times,\n which reaches any text that does not set its own -- today nothing does, so\n it is a trap rather than a visible fault. Turning those three on changes\n nothing a reader sees: the two children measure 409.781 and 520.789 before\n and after, and the host now measures 930.570 -- exactly their sum, which is\n what a block box wrapping its content should be. As an inline box its rect\n was computed from line boxes instead and rounded a pixel lower. The\n screenshots are indistinguishable.\n .\n background and padding were held back one commit and are now carried over\n too, on an explicit call after seeing them rendered. They are the visible\n half: the section gains its blue-50 band and a 32px inset it had never\n rendered, and grows 930px to 995px. The band is what the token\n --layout-awards-section-background was always for -- the blog subsystem\n has been resolving it all along, and only this consumer was spelling it in\n a selector that could not match.\n .\n The band does not arrive alone. It turns every card inside this section\n into a card on a tinted ground, which is the second clause of \"a card's\n ground and its edge\" -- see .bd-awards-feature-card below, which moved with\n it. Measured on the preview before deciding: the feature card's\n surface/container ground read 1.034:1 against the band, and worse than that\n number suggests, because the step is across hues rather than lightness. */\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n box-sizing: border-box;\n background: var(--layout-awards-section-background);\n padding: var(--spacing-32);\n }\n\n .bd-awards-root {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-48);\n padding-block: var(--spacing-48);\n box-sizing: border-box;\n max-width: 100%;\n }\n\n /* Frame 12 — trust cluster 793px, gap 24px intro → badges */\n .bd-awards-trust-banner {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-24);\n width: 100%;\n max-width: var(--layout-awards-cluster-max-width);\n margin: 0 auto;\n text-align: center;\n box-sizing: border-box;\n }\n\n .bd-awards-tagline {\n /* The brand text role, not the brand primitive. This darkens the ink: the\n role is blue-600, so contrast on white goes 4.53:1 -> 6.18:1. It is not a\n like-for-like swap, and it cannot be -- no text role exists at blue-500's\n value. The roles sitting there are surface, border, action, two status\n fills, an accent and the tab indicator, and blue-500 is the step\n CLAUDE.md says is not for text. */\n color: var(--color-text-brand);\n }\n\n .bd-awards-section-title {\n margin: var(--spacing-0) var(--spacing-0) var(--spacing-14);\n }\n\n .bd-awards-feature-title {\n margin: var(--spacing-0) var(--spacing-0) var(--spacing-14);\n }\n\n /* Frame 1 — laurel + copy, gap 16px, max 631px */\n .bd-awards-trust-intro {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-16);\n width: 100%;\n max-width: var(--layout-awards-intro-max-width);\n box-sizing: border-box;\n }\n\n .bd-awards-laurel-icon {\n /* no role: the laurel wreath. ORNAMENT, not a mark and not a glyph in a\n text flow -- the same decision highlight.css.ts records for its deco bar\n and ellipses, and for the same reason: every icon-role candidate in this\n package is an INK role, and ink is the wrong family for an ornament. The\n span wraps an aria-hidden SVG painted with currentColor, so nothing here\n is exposed to assistive technology and the adjacent headline carries the\n meaning.\n .\n --color-blue-500 is the brand blue. It is a primitive because the system\n has no brand ink at that step and deliberately does not want one: every\n blue-500 role is a surface, a border, an action, an indicator or a status\n fill, so adopting one would say this wreath is an action. Naming a new\n role for two sites in one component family would be the mistake the\n \"deliberately not a token\" section exists to prevent.\n .\n Contrast, against the blue-50 this file always intended and now actually\n paints. The :host rule at the top declared\n background: var(--layout-awards-section-background) as a bare type\n selector that could never match, so for the whole life of this rule the\n wreath sat on white; the selector is fixed and the band is on, so the\n ground is blue-50.\n .\n Measured on that ground: 5.72:1 -> 4.20:1. It was 6.18:1 -> 4.53:1 while\n the band was dead. Every one of those clears the 3:1 non-text minimum, and\n a decorative graphic has no minimum at all, so the wreath was safe before\n the band and is safe after it -- which is why this choice did not have to\n wait on that decision. */\n color: var(--color-brand-500);\n display: flex;\n align-items: center;\n justify-content: center;\n width: var(--spacing-80);\n height: var(--spacing-80);\n flex-shrink: 0;\n }\n\n\n /* A \".bd-awards-laurel-icon svg\" rule stood here and could never match. The\n span holds <bd-laurel-icon>, whose svg lives in that atom's own shadow\n root, and a descendant selector from this stylesheet does not cross that\n boundary. The atom sizes itself -- see its defaultSize -- so the sizing\n this rule tried to impose was already handled a layer down. */\n\n .bd-awards-trust-intro .bd-awards-subtext {\n width: 100%;\n max-width: 100%;\n padding: 0 var(--spacing-8);\n box-sizing: border-box;\n }\n\n @media (min-width: 576px) {\n .bd-awards-trust-intro .bd-awards-subtext {\n padding: 0 var(--spacing-16);\n }\n }\n\n .bd-awards-secret-section .bd-awards-section-title {\n display: block;\n margin: 0 0 var(--spacing-16);\n }\n\n /* Single badge strip */\n .bd-awards-bar {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n gap: var(--spacing-32);\n width: 100%;\n box-sizing: border-box;\n }\n\n .bd-awards-badge {\n display: flex;\n align-items: center;\n justify-content: center;\n background: transparent;\n box-sizing: border-box;\n padding: var(--spacing-0);\n }\n\n /* Desktop: rows are invisible wrappers */\n .bd-awards-row {\n display: contents;\n }\n\n /* Mobile rows hidden on desktop */\n .bd-awards-row--mobile-only {\n display: none;\n }\n\n /* All badges: uniform height, width from each mark's natural aspect ratio.\n The award elements draw at that height intrinsically, so nothing is set\n here — this used to size the local bd-icon wrapper that has been removed. */\n\n /* ── Lower block ── */\n\n .bd-awards-lower {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n gap: var(--spacing-32);\n width: 100%;\n max-width: 940px;\n margin: 0 auto;\n padding: 0 var(--spacing-24);\n box-sizing: border-box;\n }\n\n .bd-awards-secret-section {\n text-align: center;\n padding: 0 var(--spacing-16) var(--spacing-16);\n width: 100%;\n box-sizing: border-box;\n }\n\n @media (min-width: 576px) {\n .bd-awards-secret-section {\n padding: var(--spacing-8) var(--spacing-20) var(--spacing-16);\n }\n }\n\n @media (min-width: 768px) {\n .bd-awards-secret-section {\n padding: var(--spacing-8) var(--spacing-24) var(--spacing-16);\n }\n }\n\n /* ── Feature cards grid ── */\n\n .bd-awards-features-grid {\n display: grid;\n grid-template-columns: 1fr;\n gap: var(--spacing-32);\n width: 100%;\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n }\n\n @media (min-width: 768px) {\n .bd-awards-features-grid {\n grid-template-columns: 1fr 1fr;\n gap: var(--spacing-32);\n }\n }\n\n /* ── Feature card ── */\n\n /* A content card by every measure that was compared: the same 32px padding,\n no resting shadow, exactly like the card box and the card-features card.\n The corner was the only thing it did differently, and the card role settled\n that.\n .\n THE GROUND AND THE EDGE MOVED WHEN THE BAND ARRIVED. This card used to sit\n on the page, where surface/container's tonal step is the separation and an\n edge is redundant -- the first clause of the rule. Its section now paints a\n blue-50 band, so it is a card on a tint, and the second clause applies:\n surface/default with a border-width-1 border/container edge, because no\n tonal step is available across a hue change. Measured before the move: the\n container ground read 1.034:1 against the band, which is not a step so much\n as a smudge. The Trust Panel card and the Comparison Panel column already\n draw exactly this, for exactly this reason. */\n .bd-awards-feature-card {\n background: var(--color-surface-default);\n border: var(--border-width-1) solid var(--color-border-container);\n border-radius: var(--card-radius);\n padding: var(--card-padding);\n display: flex;\n flex-direction: column;\n gap: var(--spacing-8);\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n }\n\n .bd-awards-feature-text {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-8);\n align-self: stretch;\n }\n\n .bd-awards-feature-icon {\n flex-shrink: 0;\n width: var(--icon-2xl-size);\n height: var(--icon-2xl-size);\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n\n .bd-awards-feature-card .bd-awards-feature-title {\n display: block;\n margin: 0;\n }\n\n /* A \".bd-awards-badge img\" rule stood here and could never match: the badge\n renders icon atoms through iconFn(), not an <img>, so there is no image\n element in this shadow root to size. A leftover from before the award\n marks became atoms. */\n\n /* ── Mobile (≤ 599px) ── */\n\n @media ${unsafeCSS(below('sm'))} {\n .bd-awards-root {\n padding-block: var(--spacing-24);\n gap: var(--spacing-24);\n }\n\n .bd-awards-trust-banner {\n align-items: stretch;\n max-width: 100%;\n }\n\n .bd-awards-trust-intro {\n gap: var(--spacing-8);\n max-width: none;\n padding: 0 var(--spacing-24);\n box-sizing: border-box;\n }\n\n .bd-awards-laurel-icon {\n width: var(--spacing-40);\n height: var(--spacing-40);\n }\n\n /* The icon's own default is 80px; the box here is 40. Setting height on the\n element beats its :host rule, and its svg follows at width auto. */\n .bd-awards-laurel-icon bd-laurel-icon {\n height: var(--spacing-40);\n }\n\n .bd-awards-trust-intro .bd-awards-subtext {\n padding: 0;\n }\n\n .bd-awards-bar {\n align-items: center;\n }\n\n /* Hide desktop rows (3+3+1), show mobile rows (3+4) */\n .bd-awards-row--desktop-only {\n display: none;\n }\n\n .bd-awards-row--mobile-only {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n gap: var(--spacing-16);\n width: 100%;\n }\n\n /* Mobile badge height — half of desktop. The award elements render into\n light DOM, so their svg is reachable from here; height + width auto\n keeps each mark's aspect ratio. Replaces a rule that sized the local\n bd-icon wrapper. */\n .bd-awards-badge svg {\n height: var(--spacing-32);\n width: auto;\n }\n\n .bd-awards-lower {\n gap: var(--spacing-16);\n padding: 0 var(--spacing-8);\n }\n\n .bd-awards-secret-section .bd-awards-section-title {\n margin-bottom: var(--spacing-8);\n }\n\n .bd-awards-secret-section {\n padding: 0 var(--spacing-24) var(--spacing-16);\n }\n\n .bd-awards-features-grid {\n gap: var(--spacing-32);\n padding: 0;\n }\n\n /* The banner and the secret section a step down the type scale: the\n tagline large to small, the headline and the section title h3 to the\n h4 size, the two paragraphs regular to small. The levels stay h3; see\n readAs() in token-scales.ts. awards.ts used to re-render these with\n other variants and visual levels from a matchMedia listener. */\n .bd-awards-tagline { ${unsafeCSS(readAs('body-large', 'body-small'))} }\n .bd-awards-headline,\n .bd-awards-section-title { ${unsafeCSS(readAs('heading-h3', 'heading-h4'))} }\n .bd-awards-subtext,\n .bd-awards-section-subtext { ${unsafeCSS(readAs('body-regular', 'body-small'))} }\n }\n\n /* The feature cards step down a breakpoint later: the title from the h4\n size to h6 (still bold, which it sets itself), the description regular to\n small. */\n @media ${unsafeCSS(below('md'))} {\n .bd-awards-feature-title { ${unsafeCSS(readAs('heading-h4', 'heading-h6'))} }\n .bd-awards-feature-desc { ${unsafeCSS(readAs('body-regular', 'body-small'))} }\n }\n`;"]}
|
|
1
|
+
{"version":3,"file":"awards.css.js","names":["awardsCSS"],"sources":["../../../../src/components/awards/awards.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below, readAs } from \"#shared/token-scales.ts\";\n\nexport const awardsCSS = css`\n\n /* :host, not \"bd-awards-section\". This rule was written as a bare type\n selector inside a stylesheet Lit adopts into the shadow root, where it can\n never match the element that owns it -- only :host can. Measured before:\n the rule was present in the shadow sheet and matched 0 elements, and the\n host computed display inline, background transparent, padding 0,\n content-box, and font-family Times. Every declaration was dead.\n .\n THREE OF THE FIVE ARE CARRIED OVER AND TWO ARE NOT, because they are not\n the same kind of change. display, box-sizing and font-family are latent\n defects: a custom element defaults to display inline, so this section's\n host has never been a block box; and its font-family fell through to Times,\n which reaches any text that does not set its own -- today nothing does, so\n it is a trap rather than a visible fault. Turning those three on changes\n nothing a reader sees: the two children measure 409.781 and 520.789 before\n and after, and the host now measures 930.570 -- exactly their sum, which is\n what a block box wrapping its content should be. As an inline box its rect\n was computed from line boxes instead and rounded a pixel lower. The\n screenshots are indistinguishable.\n .\n background and padding were held back one commit and are now carried over\n too, on an explicit call after seeing them rendered. They are the visible\n half: the section gains its blue-50 band and a 32px inset it had never\n rendered, and grows 930px to 995px. The band is what the token\n --layout-awards-section-background was always for -- the blog subsystem\n has been resolving it all along, and only this consumer was spelling it in\n a selector that could not match.\n .\n The band does not arrive alone. It turns every card inside this section\n into a card on a tinted ground, which is the second clause of \"a card's\n ground and its edge\" -- see .bd-awards-feature-card below, which moved with\n it. Measured on the preview before deciding: the feature card's\n surface/container ground read 1.034:1 against the band, and worse than that\n number suggests, because the step is across hues rather than lightness. */\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n box-sizing: border-box;\n background: var(--layout-awards-section-background);\n padding: var(--spacing-32);\n }\n\n .bd-awards-root {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-48);\n padding-block: var(--spacing-48);\n box-sizing: border-box;\n max-width: 100%;\n }\n\n /* Frame 12 — trust cluster 793px, gap 24px intro → badges */\n .bd-awards-trust-banner {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-24);\n width: 100%;\n max-width: var(--layout-awards-cluster-max-width);\n margin: 0 auto;\n text-align: center;\n box-sizing: border-box;\n }\n\n .bd-awards-tagline {\n /* The brand text role, not the brand primitive. This darkens the ink: the\n role is blue-600, so contrast on white goes 4.53:1 -> 6.18:1. It is not a\n like-for-like swap, and it cannot be -- no text role exists at blue-500's\n value. The roles sitting there are surface, border, action, two status\n fills, an accent and the tab indicator, and blue-500 is the step\n CLAUDE.md says is not for text. */\n color: var(--color-text-brand);\n }\n\n .bd-awards-section-title {\n margin: var(--spacing-0) var(--spacing-0) var(--spacing-14);\n }\n\n .bd-awards-feature-title {\n margin: var(--spacing-0) var(--spacing-0) var(--spacing-14);\n }\n\n /* Frame 1 — laurel + copy, gap 16px, max 631px */\n .bd-awards-trust-intro {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--spacing-16);\n width: 100%;\n max-width: var(--layout-awards-intro-max-width);\n box-sizing: border-box;\n }\n\n .bd-awards-laurel-icon {\n /* no role: the laurel wreath. ORNAMENT, not a mark and not a glyph in a\n text flow -- the same decision highlight.css.ts records for its deco bar\n and ellipses, and for the same reason: every icon-role candidate in this\n package is an INK role, and ink is the wrong family for an ornament. The\n span wraps an aria-hidden SVG painted with currentColor, so nothing here\n is exposed to assistive technology and the adjacent headline carries the\n meaning.\n .\n --color-blue-500 is the brand blue. It is a primitive because the system\n has no brand ink at that step and deliberately does not want one: every\n blue-500 role is a surface, a border, an action, an indicator or a status\n fill, so adopting one would say this wreath is an action. Naming a new\n role for two sites in one component family would be the mistake the\n \"deliberately not a token\" section exists to prevent.\n .\n Contrast, against the blue-50 this file always intended and now actually\n paints. The :host rule at the top declared\n background: var(--layout-awards-section-background) as a bare type\n selector that could never match, so for the whole life of this rule the\n wreath sat on white; the selector is fixed and the band is on, so the\n ground is blue-50.\n .\n Measured on that ground: 5.72:1 -> 4.20:1. It was 6.18:1 -> 4.53:1 while\n the band was dead. Every one of those clears the 3:1 non-text minimum, and\n a decorative graphic has no minimum at all, so the wreath was safe before\n the band and is safe after it -- which is why this choice did not have to\n wait on that decision. */\n color: var(--color-brand-500);\n display: flex;\n align-items: center;\n justify-content: center;\n width: var(--spacing-80);\n height: var(--spacing-80);\n flex-shrink: 0;\n }\n\n\n /* A \".bd-awards-laurel-icon svg\" rule stood here and could never match. The\n span holds <bd-laurel-icon>, whose svg lives in that atom's own shadow\n root, and a descendant selector from this stylesheet does not cross that\n boundary. The atom sizes itself -- see its defaultSize -- so the sizing\n this rule tried to impose was already handled a layer down. */\n\n .bd-awards-trust-intro .bd-awards-subtext {\n width: 100%;\n max-width: 100%;\n padding: 0 var(--spacing-8);\n box-sizing: border-box;\n }\n\n @media (min-width: 576px) {\n .bd-awards-trust-intro .bd-awards-subtext {\n padding: 0 var(--spacing-16);\n }\n }\n\n .bd-awards-secret-section .bd-awards-section-title {\n display: block;\n margin: 0 0 var(--spacing-16);\n }\n\n /* Single badge strip */\n .bd-awards-bar {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n gap: var(--spacing-32);\n width: 100%;\n box-sizing: border-box;\n }\n\n .bd-awards-badge {\n display: flex;\n align-items: center;\n justify-content: center;\n background: transparent;\n box-sizing: border-box;\n padding: var(--spacing-0);\n }\n\n /* Desktop: rows are invisible wrappers */\n .bd-awards-row {\n display: contents;\n }\n\n /* Mobile rows hidden on desktop */\n .bd-awards-row--mobile-only {\n display: none;\n }\n\n /* All badges: uniform height, width from each mark's natural aspect ratio.\n The award elements draw at that height intrinsically, so nothing is set\n here — this used to size the local bd-icon wrapper that has been removed. */\n\n /* ── Lower block ── */\n\n .bd-awards-lower {\n display: flex;\n flex-direction: column;\n align-items: stretch;\n gap: var(--spacing-32);\n width: 100%;\n max-width: 940px;\n margin: 0 auto;\n padding: 0 var(--spacing-24);\n box-sizing: border-box;\n }\n\n .bd-awards-secret-section {\n text-align: center;\n padding: 0 var(--spacing-16) var(--spacing-16);\n width: 100%;\n box-sizing: border-box;\n }\n\n @media (min-width: 576px) {\n .bd-awards-secret-section {\n padding: var(--spacing-8) var(--spacing-20) var(--spacing-16);\n }\n }\n\n @media (min-width: 768px) {\n .bd-awards-secret-section {\n padding: var(--spacing-8) var(--spacing-24) var(--spacing-16);\n }\n }\n\n /* ── Feature cards grid ── */\n\n .bd-awards-features-grid {\n display: grid;\n grid-template-columns: 1fr;\n gap: var(--spacing-32);\n width: 100%;\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n }\n\n @media (min-width: 768px) {\n .bd-awards-features-grid {\n grid-template-columns: 1fr 1fr;\n gap: var(--spacing-32);\n }\n }\n\n /* ── Feature card ── */\n\n /* A content card by every measure that was compared: the same 32px padding,\n no resting shadow, exactly like the card box and the card-features card.\n The corner was the only thing it did differently, and the card role settled\n that.\n .\n THE GROUND AND THE EDGE MOVED WHEN THE BAND ARRIVED. This card used to sit\n on the page, where surface/container's tonal step is the separation and an\n edge is redundant -- the first clause of the rule. Its section now paints a\n blue-50 band, so it is a card on a tint, and the second clause applies:\n surface/default with a border-width-1 border/container edge, because no\n tonal step is available across a hue change. Measured before the move: the\n container ground read 1.034:1 against the band, which is not a step so much\n as a smudge. The Trust Panel card and the Comparison Panel column already\n draw exactly this, for exactly this reason. */\n .bd-awards-feature-card {\n background: var(--color-surface-default);\n border: var(--border-width-1) solid var(--color-border-container);\n border-radius: var(--card-radius);\n padding: var(--card-padding);\n display: flex;\n flex-direction: column;\n gap: var(--spacing-8);\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n }\n\n .bd-awards-feature-text {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-8);\n align-self: stretch;\n }\n\n .bd-awards-feature-icon {\n flex-shrink: 0;\n width: var(--icon-2xl-size);\n height: var(--icon-2xl-size);\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n\n .bd-awards-feature-card .bd-awards-feature-title {\n display: block;\n margin: 0;\n }\n\n /* A \".bd-awards-badge img\" rule stood here and could never match: the badge\n renders icon atoms through iconFn(), not an <img>, so there is no image\n element in this shadow root to size. A leftover from before the award\n marks became atoms. */\n\n /* ── Mobile (≤ 599px) ── */\n\n @media ${unsafeCSS(below('sm'))} {\n .bd-awards-root {\n padding-block: var(--spacing-24);\n gap: var(--spacing-24);\n }\n\n .bd-awards-trust-banner {\n align-items: stretch;\n max-width: 100%;\n }\n\n .bd-awards-trust-intro {\n gap: var(--spacing-8);\n max-width: none;\n padding: 0 var(--spacing-24);\n box-sizing: border-box;\n }\n\n .bd-awards-laurel-icon {\n width: var(--spacing-40);\n height: var(--spacing-40);\n }\n\n /* The icon's own default is 80px; the box here is 40. Setting height on the\n element beats its :host rule, and its svg follows at width auto. */\n .bd-awards-laurel-icon bd-laurel-icon {\n height: var(--spacing-40);\n }\n\n .bd-awards-trust-intro .bd-awards-subtext {\n padding: 0;\n }\n\n .bd-awards-bar {\n align-items: center;\n }\n\n /* Hide desktop rows (3+3+1), show mobile rows (3+4) */\n .bd-awards-row--desktop-only {\n display: none;\n }\n\n .bd-awards-row--mobile-only {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n gap: var(--spacing-16);\n width: 100%;\n }\n\n /* Mobile badge height — half of desktop. The award elements render into\n light DOM, so their svg is reachable from here; height + width auto\n keeps each mark's aspect ratio. Replaces a rule that sized the local\n bd-icon wrapper. */\n .bd-awards-badge svg {\n height: var(--spacing-32);\n width: auto;\n }\n\n .bd-awards-lower {\n gap: var(--spacing-16);\n padding: 0 var(--spacing-8);\n }\n\n .bd-awards-secret-section .bd-awards-section-title {\n margin-bottom: var(--spacing-8);\n }\n\n .bd-awards-secret-section {\n padding: 0 var(--spacing-24) var(--spacing-16);\n }\n\n .bd-awards-features-grid {\n gap: var(--spacing-32);\n padding: 0;\n }\n\n /* The banner and the secret section a step down the type scale: the\n tagline large to small, the headline and the section title h3 to the\n h4 size, the two paragraphs regular to small. The levels stay h3; see\n readAs() in token-scales.ts. awards.ts used to re-render these with\n other variants and visual levels from a matchMedia listener. */\n .bd-awards-tagline { ${unsafeCSS(readAs('body-large', 'body-small'))} }\n .bd-awards-headline,\n .bd-awards-section-title { ${unsafeCSS(readAs('heading-h3', 'heading-h4'))} }\n .bd-awards-subtext,\n .bd-awards-section-subtext { ${unsafeCSS(readAs('body-regular', 'body-small'))} }\n }\n\n /* The feature cards step down a breakpoint later: the title from the h4\n size to h6 (still bold, which it sets itself), the description regular to\n small. */\n @media ${unsafeCSS(below('md'))} {\n .bd-awards-feature-title { ${unsafeCSS(readAs('heading-h4', 'heading-h6'))} }\n .bd-awards-feature-desc { ${unsafeCSS(readAs('body-regular', 'body-small'))} }\n }\n`;"],"mappings":"A,4DAGA,IAAaA,EAAY,CAAG,uyL"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { LitElement, nothing, type TemplateResult } from "lit";
|
|
2
|
-
import "../../tokens/tokens.
|
|
3
|
-
import "../icons/analysis-icon.
|
|
4
|
-
import "../icons/av-comparatives-icon.
|
|
5
|
-
import "../icons/best-brands-icon.
|
|
6
|
-
import "../icons/laurel-icon.
|
|
7
|
-
import "../icons/machine-learning-icon.
|
|
8
|
-
import "../icons/pc-mag-2024-icon.
|
|
9
|
-
import "../icons/pc-mag-business-icon.
|
|
10
|
-
import "../icons/pc-mag-icon.
|
|
11
|
-
import "../icons/pc-mag-readers-icon.
|
|
12
|
-
import "../icons/top-product-icon.
|
|
13
|
-
import "../heading/heading.
|
|
14
|
-
import "../paragraph/paragraph.
|
|
2
|
+
import "../../tokens/tokens.js";
|
|
3
|
+
import "../icons/analysis-icon.js";
|
|
4
|
+
import "../icons/av-comparatives-icon.js";
|
|
5
|
+
import "../icons/best-brands-icon.js";
|
|
6
|
+
import "../icons/laurel-icon.js";
|
|
7
|
+
import "../icons/machine-learning-icon.js";
|
|
8
|
+
import "../icons/pc-mag-2024-icon.js";
|
|
9
|
+
import "../icons/pc-mag-business-icon.js";
|
|
10
|
+
import "../icons/pc-mag-icon.js";
|
|
11
|
+
import "../icons/pc-mag-readers-icon.js";
|
|
12
|
+
import "../icons/top-product-icon.js";
|
|
13
|
+
import "../heading/heading.js";
|
|
14
|
+
import "../paragraph/paragraph.js";
|
|
15
15
|
type Content = "full" | "summary";
|
|
16
16
|
interface AwardBadge {
|
|
17
17
|
label: string;
|