@repobit/dex-system-design 3.0.0 → 3.0.2
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 +4 -3
- package/dist/src/components/logo-marquee/logo-marquee.js +6 -136
- 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 +14 -3
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer.css.js","sourceRoot":"","sources":["../../../../src/components/footer/footer.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAEzD,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAiSP,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SA+KxB,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqM9B,CAAC","sourcesContent":["import { css, unsafeCSS } from 'lit';\nimport { above, below } from '../shared/token-scales.ts';\n\nexport default css`\n :host {\n display: block;\n /* no role: the masthead's ground, and it stays a primitive on purpose.\n blue-600 is this system's brand INK step -- six roles resolve to it\n (--color-text-brand, --status-brand-text, --status-brand-accent,\n --status-info-text, --color-action-primary-hover and\n --citation-reference-color) and every one of them is ink or an action,\n not a surface.\n .\n So a --color-surface-brand-strong at this value would not be a missing\n role, it would be a trap: brand ink on a brand-strong surface measures\n 1.00:1 -- identical colours, invisible text -- and the primary action\n colour on it is 1.36:1, which is where a button in a footer sits. The\n role that reads here is --color-text-inverse at 6.18:1, which is what\n the next line uses.\n .\n Two consumers, both footers, against the twelve that justified\n --color-surface-container. See plans/reports/phase-2-vocab-e-has-role-pass.md\n question E2. */\n background-color: var(--color-brand-600);\n color: var(--color-text-inverse);\n font-family: var(--typography-fontFamily-sans);\n font-size: var(--typography-body-small-fontSize);\n /* The role's own leading, not the primitive that happens to equal it.\n Deleting this outright was measured to drop the footer to the font's\n metric (21px -> normal), because body-small is referenced for the size\n only -- nothing would have supplied the leading. */\n line-height: var(--typography-body-small-lineHeight);\n }\n/* :focus-visible, so a mouse click no longer draws the ring. The anchors\n these rules also named are not in this shadow tree -- the footer's links are\n bd-link hosts and slotted content -- so those selectors never matched, and\n neither did the 2px 6px padding that would have shifted a focused link. */\n.country-toggle:focus-visible,\n.close-countries-button:focus-visible {\n /* forced-colors mode does not paint box-shadow, so the ring\n vanishes there; it does paint an outline, in a system colour. This one\n is transparent everywhere else, and the offset lands it on the ring's\n outer band. */\n outline: var(--border-width-2) solid transparent;\n outline-offset: var(--focus-outline-offset);\n /* The ring is --focus-outline-primary alone, as in every other component.\n The 2px border that stood here was redundant and, since these elements\n have no border otherwise, it shifted the layout by 2px on focus. */\n box-shadow: var(--focus-outline-primary);\n border-radius: var(--focus-outline-radius);\n}\n\n\n/* No navigation rules in this sheet: no .footer-nav-main, no .second-nav, no\n bd-footer-nav and no bd-footer-links-group a. None of them names anything in\n this shadow tree. .footer-nav-main is rendered by bd-footer-nav into its own\n root -- this template only has .footer-nav-main-container, the box the slot\n sits in -- and bd-footer-nav and bd-footer-links-group are slotted elements,\n reachable only through ::slotted. Measured across the 22 built footer\n stories, in 12 bd-footer roots and 11 bd-footer-lp roots: 0 matches for\n every one of those selectors.\n \n The focus ring they were trying to draw now lives in\n footer-nav-menu.css.ts, spelled ::slotted, where it renders.\n \n The bd-footer-links-group *layout* rules further down are the same kind of\n unreachable and are left alone: they are the quick-links column, not\n navigation, and they belong to whichever phase takes that family. */\n.footer-secondary-nav {\npadding-top: var(--spacing-24);\npadding-bottom: var(--spacing-24);\n}\n.footer-nav-main-container {\npadding-top: var(--spacing-12);\npadding-bottom: var(--spacing-12);\n}\n bd-divider-vertical {\n display: inline-block;\n width: var(--form-input-default-borderWidth);\n height: var(--dimension-20);\n background-color: var(--color-surface-default);\n }\n\n bd-divider-horizontal {\n display: block;\n background-color: var(--color-surface-default);\n opacity: 0.25;\n }\n\n footer {\n padding: var(--spacing-32) var(--spacing-16);\n margin: auto;\n }\n\n .footer-top {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: var(--color-surface-brand);\n }\n\n .footer-links {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n gap: var(--spacing-32);\n flex-wrap: nowrap;\n padding-top: var(--spacing-24);\n padding-bottom: var(--spacing-24);\n }\n\n .footer-middle-line {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: var(--spacing-16);\n padding-top: var(--spacing-24);\n padding-bottom: var(--spacing-24);\n }\n\n .secondary-nav-container {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--spacing-16);\n }\n\n /* One rule. Most of this used to be \".footer-middle-line > :last-child\",\n which is always this element, and at (0,2,0) it outranked every\n .footer-address rule: its display: flex beat the display: none the two\n breakpoints below set -- the reason both carried !important -- and its\n margin: 0 cancelled the margin-bottom: 16 that stood here, so that never\n rendered either. */\n .footer-address {\n flex: 1;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n text-align: end;\n font-size: var(--typography-body-small-fontSize);\n font-family: var(--typography-fontFamily-sans);\n /* No font-weight: body-small, whose size this rule asks for, is normal, and\n the inherited weight is 400 -- measured inert either way. */\n color: var(--color-text-inverse);\n }\n\n .footer-links-left {\n flex: 1;\n display: flex;\n flex-wrap: wrap;\n gap: var(--spacing-32);\n }\n\n .footer-links-right {\n display: flex;\n align-items: center;\n gap: var(--spacing-16);\n min-width: 200px\n }\n\n .social-icons {\n display: flex;\n /* Wrapping rather than a breakpoint: the row is a variable number of\n icons, so the width it needs depends on how many were slotted, not on\n the viewport. Without this the last one hung 12px past a 320px screen. */\n flex-wrap: wrap;\n gap: var(--spacing-16);\n }\n\n /* .footer-social-legal and .footer-bottom stood here. Neither element is\n rendered: measured 0 occurrences across all 11 footer stories, while\n .country-toggle in the same sheet rendered in all 11. They carried the only\n two rgba(255,255,255,0.2) edges in the package, and a form-control width\n token doing a divider's job. */\n\n/* The six social links draw their logo on the link itself. It was the host's\n content: url(), and an image content replaces the element's rendering, so\n the <a> inside bd-link never drew: measured 0 boxes, a click landed on the\n host, which is not a link, and Tab never reached any of the six. The name\n stays in the link's text, sized away, so each link is still announced by it. */\n.social-icons bd-link::part(link) {\n display: block;\n width: var(--icon-lg-size);\n height: var(--icon-lg-size);\n background-position: center;\n background-size: contain;\n background-repeat: no-repeat;\n font-size: 0;\n}\n\n.bd-youtube::part(link) {\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M23.4991 5.66068C23.2223 4.61146 22.4094 3.78802 21.3768 3.50911C19.5049 3 12 3 12 3C12 3 4.49506 3 2.62321 3.50911C1.59063 3.78802 0.777737 4.61146 0.500915 5.66068C0 7.5599 0 11.5177 0 11.5177C0 11.5177 0 15.4755 0.500915 17.3747C0.777737 18.424 1.59063 19.212 2.62321 19.4909C4.49506 20 12 20 12 20C12 20 19.5049 20 21.3768 19.4909C22.4094 19.212 23.2223 18.4195 23.4991 17.3747C24 15.4755 24 11.5177 24 11.5177C24 11.5177 24 7.5599 23.4991 5.66068ZM9.54815 15.1125V7.92292L15.8184 11.5177L9.54815 15.1125Z\" fill=\"white\"/></svg>');\n}\n.bd-facebook::part(link) {\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M24 12.0447C24 5.39188 18.6281 0 12 0C5.37188 0 0 5.39188 0 12.0447C0 17.6906 3.87656 22.4332 9.10312 23.7365V15.724H6.62812V12.0447H9.10312V10.4591C9.10312 6.36111 10.95 4.4603 14.9625 4.4603C15.7219 4.4603 17.0344 4.61086 17.5734 4.76142V8.09253C17.2922 8.0643 16.8 8.04548 16.1859 8.04548C14.2172 8.04548 13.4578 8.79357 13.4578 10.7367V12.0447H17.3766L16.7016 15.724H13.4531V24C19.3969 23.2801 24 18.2035 24 12.0447Z\" fill=\"white\"/></svg>');\n}\n.bd-instagram::part(link) {\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M12.0025 6.35948C8.88098 6.35948 6.36319 8.87783 6.36319 12C6.36319 15.1222 8.88098 17.6405 12.0025 17.6405C15.1239 17.6405 17.6417 15.1222 17.6417 12C17.6417 8.87783 15.1239 6.35948 12.0025 6.35948ZM12.0025 15.6671C9.98528 15.6671 8.3362 14.0225 8.3362 12C8.3362 9.97746 9.98037 8.33292 12.0025 8.33292C14.0245 8.33292 15.6687 9.97746 15.6687 12C15.6687 14.0225 14.0196 15.6671 12.0025 15.6671ZM19.1877 6.12875C19.1877 6.8602 18.5988 7.44438 17.8724 7.44438C17.1411 7.44438 16.5571 6.85529 16.5571 6.12875C16.5571 5.40221 17.146 4.81312 17.8724 4.81312C18.5988 4.81312 19.1877 5.40221 19.1877 6.12875ZM22.9227 7.46402C22.8393 5.70166 22.4368 4.14058 21.146 2.8544C19.8601 1.56822 18.2994 1.16568 16.5374 1.07732C14.7215 0.974227 9.27853 0.974227 7.46258 1.07732C5.70552 1.16077 4.14479 1.56332 2.85399 2.84949C1.56319 4.13567 1.16564 5.69675 1.0773 7.45911C0.974233 9.27547 0.974233 14.7196 1.0773 16.536C1.16074 18.2983 1.56319 19.8594 2.85399 21.1456C4.14479 22.4318 5.70061 22.8343 7.46258 22.9227C9.27853 23.0258 14.7215 23.0258 16.5374 22.9227C18.2994 22.8392 19.8601 22.4367 21.146 21.1456C22.4319 19.8594 22.8344 18.2983 22.9227 16.536C23.0258 14.7196 23.0258 9.28037 22.9227 7.46402ZM20.5767 18.4849C20.1939 19.4471 19.4528 20.1883 18.4859 20.5761C17.038 21.1505 13.6025 21.018 12.0025 21.018C10.4025 21.018 6.96196 21.1456 5.51902 20.5761C4.55705 20.1932 3.81595 19.452 3.42822 18.4849C2.85399 17.0367 2.9865 13.6004 2.9865 12C2.9865 10.3996 2.8589 6.95838 3.42822 5.51512C3.81104 4.55294 4.55215 3.81167 5.51902 3.42385C6.96687 2.84949 10.4025 2.98204 12.0025 2.98204C13.6025 2.98204 17.0429 2.8544 18.4859 3.42385C19.4479 3.80676 20.189 4.54803 20.5767 5.51512C21.1509 6.96329 21.0184 10.3996 21.0184 12C21.0184 13.6004 21.1509 17.0416 20.5767 18.4849Z\" fill=\"white\"/></svg>');\n}\n.bd-linkedin::part(link) {\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M21.4286 1H2.56652C1.70223 1 1 1.71205 1 2.58616V21.4138C1 22.2879 1.70223 23 2.56652 23H21.4286C22.2929 23 23 22.2879 23 21.4138V2.58616C23 1.71205 22.2929 1 21.4286 1ZM7.64911 19.8571H4.38839V9.35804H7.65402V19.8571H7.64911ZM6.01875 7.92411C4.97277 7.92411 4.12812 7.07455 4.12812 6.03348C4.12812 4.99241 4.97277 4.14286 6.01875 4.14286C7.05982 4.14286 7.90937 4.99241 7.90937 6.03348C7.90937 7.07946 7.06473 7.92411 6.01875 7.92411ZM19.8719 19.8571H16.6112V14.75C16.6112 13.5321 16.5866 11.9656 14.917 11.9656C13.2179 11.9656 12.9576 13.2915 12.9576 14.6616V19.8571H9.69688V9.35804H12.825V10.792H12.8692C13.3062 9.96696 14.3719 9.09777 15.958 9.09777C19.258 9.09777 19.8719 11.2732 19.8719 14.1018V19.8571Z\" fill=\"white\"/></svg>');\n}\n\n.bd-tiktok::part(link) {\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M23 9.84003C20.9356 9.84445 18.922 9.19997 17.2438 7.99766V16.3797C17.2433 17.9321 16.7689 19.4474 15.884 20.7228C14.9991 21.9983 13.7459 22.9731 12.292 23.5169C10.8381 24.0608 9.25287 24.1477 7.74825 23.7661C6.24363 23.3845 4.89139 22.5525 3.87237 21.3815C2.85335 20.2104 2.21614 18.7561 2.04595 17.2131C1.87577 15.6701 2.18073 14.1118 2.92004 12.7468C3.65936 11.3818 4.79778 10.2751 6.18306 9.57468C7.56834 8.87428 9.13443 8.61357 10.6719 8.82743V13.0419C9.96888 12.8206 9.21393 12.8271 8.51483 13.0604C7.81573 13.2938 7.20822 13.742 6.77905 14.3413C6.34987 14.9405 6.12099 15.66 6.12506 16.3971C6.12913 17.1341 6.36596 17.8511 6.80173 18.4455C7.2375 19.04 7.84993 19.4815 8.55157 19.7071C9.2532 19.9327 10.0082 19.9309 10.7087 19.7018C11.4092 19.4727 12.0194 19.0281 12.4522 18.4315C12.8851 17.8349 13.1183 17.1168 13.1188 16.3797V0H17.2438C17.2414 0.348908 17.2712 0.697289 17.3328 1.04073C17.4763 1.80627 17.7743 2.53452 18.2087 3.18097C18.6431 3.82741 19.2048 4.37847 19.8594 4.80047C20.7911 5.41593 21.8834 5.74363 23 5.74275V9.84003Z\" fill=\"white\"/></svg>');\n}\n\n.bd-twitter::part(link) {\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M4.14286 1C2.40937 1 1 2.40937 1 4.14286V19.8571C1 21.5906 2.40937 23 4.14286 23H19.8571C21.5906 23 23 21.5906 23 19.8571V4.14286C23 2.40937 21.5906 1 19.8571 1H4.14286ZM18.7326 5.125L13.6353 10.9491L19.6312 18.875H14.9366L11.2634 14.0674L7.05491 18.875H4.72232L10.1732 12.6433L4.42277 5.125H9.23527L12.5598 9.52009L16.4 5.125H18.7326ZM16.8763 17.4804L8.53304 6.44598H7.1433L15.5799 17.4804H16.8714H16.8763Z\" fill=\"white\"/></svg>');\n}\n\n\n .footer-links-right.social-icons {\n margin-top: var(--spacing-16);\n }\n\n .footer-extra {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: var(--spacing-16);\n padding-top: var(--spacing-24);\n padding-bottom: var(--spacing-24);\n flex-wrap: wrap;\n }\n\n .footer-anpc {\n flex: 1;\n text-align: center;\n }\n\n /* A .footer-countries rule stood here, right-aligning an element this\n component never rendered. */\n\n /* The country picker: a <details> (.footer-countries-toggle) whose summary\n is the toggle. The summary keeps the look of the <button> it replaces, and\n its row is a flex box of its own because a summary is laid out as a\n block. Its label takes the footer's body-small leading, which a button\n did not inherit: 20.3 against the icons' 20, so the toggle is 38.3 tall\n where the button was 38. */\n .country-toggle {\n display: block;\n list-style: none;\n box-sizing: border-box;\n background: none;\n /* The edge is the label's own ink, so the two cannot drift apart. */\n border: var(--form-input-default-borderWidth) solid currentColor;\n color: var(--color-text-inverse);\n padding: var(--spacing-8) var(--spacing-16);\n cursor: pointer;\n border-radius: var(--form-input-large-borderRadius);\n font-family: var(--typography-fontFamily-sans);\n font-size: var(--typography-body-small-fontSize);\n }\n\n /* Safari still draws its own disclosure triangle from this. */\n .country-toggle::-webkit-details-marker {\n display: none;\n }\n\n .country-toggle-row {\n display: flex;\n align-items: center;\n gap: var(--spacing-8);\n }\n\n .footer-countries-toggle:not([open]) .when-open,\n .footer-countries-toggle[open] .when-closed {\n display: none;\n }\n\n /* Forced colours paint a summary as LinkText. This one is drawn as the\n button it replaces, so it keeps a button's system colours there. Its\n icons have no colour of their own, so they follow it: an svg's\n forced-color-adjust is preserve-parent-color, which repaints an inherited\n colour and keeps one the icon was given, and a given white stayed white\n on a light palette's ButtonFace. */\n @media (forced-colors: active) {\n .country-toggle {\n color: ButtonText;\n border-color: ButtonText;\n background-color: ButtonFace;\n }\n }\n\n /* From md the toggle shares a row with the copyright and the ANPC badge,\n and the open list is the toggle's own content, so the row grows with it.\n Centred, the copyright and the badge would slide down the open list. So\n they sit at the row's start instead, each as tall as the toggle with its\n content centred in it: the same place centring gave them while the list\n is shut, and they stay there when it opens. bd-footer-lp shares this\n sheet and has no toggle, hence :has(). */\n @media ${unsafeCSS(above('md'))} {\n .footer-extra:has(> .footer-countries-toggle) {\n --_toggle-block-size: calc(var(--icon-md-size) + 2 * var(--spacing-8) + 2 * var(--form-input-default-borderWidth));\n align-items: flex-start;\n }\n\n .footer-extra:has(> .footer-countries-toggle) > :is(.footer-copy, .footer-anpc) {\n display: flex;\n align-items: center;\n min-block-size: var(--_toggle-block-size);\n }\n\n .footer-extra:has(> .footer-countries-toggle) > .footer-anpc {\n justify-content: center;\n }\n\n .country-toggle {\n min-block-size: var(--_toggle-block-size);\n }\n }\n\n /* Three rules stood here and none could match, all left behind by the same\n migration. The country toggle renders <bd-globe-icon> and the arrow atoms\n with size and color as props: \".country-toggle img\" had no <img> to size,\n and \".arrow\" is not a class this component renders at all -- so both it and\n \".arrow img\" were orphans, the second nested inside the first's absent\n element. The atoms' own props carry the sizing. */\n\n .countries-container {\n margin-top: var(--spacing-4);\n }\n\n .footer-copy {\n /* No font-size: :host already resolves --typography-body-small-fontSize, and\n this restated the identical 14px as the primitive. The colour stays --\n neutral-100 is a step dimmer than the host's inverse white. */\n /* no role: --color-text-muted-inverse is the role for this job -- dimmed ink\n on a dark ground -- and it CANNOT be used here. Measured against the\n host's blue-600: neutral-100 is 4.80:1 and passes body text; the role's\n neutral-300 is 2.72:1 and fails. The role was built against\n surface-inverse (neutral-900), where neutral-300 reaches 7.92:1; on a\n brand ground two steps lighter it runs out of room.\n .\n So the value stays a primitive deliberately. Adopting the role here would\n be a category-correct, job-correct, ACCESSIBILITY-BREAKING change, which\n is the case worth a marker rather than a silent primitive. */\n color: var(--color-neutral-100);\n }\n\n .footer-top-bleed {\n background: var(--color-surface-brand);\n }\n\n .container {\n margin: 0 auto;\n }\n\n .footer-top {\n padding-top: var(--spacing-24);\n padding-bottom: var(--spacing-24);\n }\n\n a.impressum {\n display: none;\n color: var(--color-text-inverse);\n text-decoration: none;\n }\n\n a.impressum.visible {\n display: inline;\n }\n\n /* Two \"slot[name=countries]::slotted(a)\" rules stood here -- a base one\n and a .selected one painting the chosen country on --color-surface-brand.\n Neither could ever match, for two independent reasons.\n .\n There is no <slot name=\"countries\"> in this shadow tree. The template\n declares nine slots (logo, top-right, nav, quick-links, social-links,\n secondary-nav, address, copyright, anpc) and countries is not among them,\n so the selector's first compound matches nothing. The slot=\"countries\"\n attribute at footer.ts:473 sits on a <bd-footer-links-group> that this\n component renders INTO ITS OWN shadow root, where a slot attribute assigns\n nothing.\n .\n And the country links are <bd-link> elements (footer.ts:475), not <a>, so\n ::slotted(a) would not have matched them even given a real slot.\n .\n The selected-country highlight this described has therefore never\n rendered. Restoring it is a design question, not a CSS repair: it needs a\n real slot or a rule on the light-DOM children, and somebody has to decide\n which. */\n\n/* The open country list, in one rule; it was three, each adding to the last.\n\n It is the <details>' content, and the <details> ends the copyright row, so\n the list starts where the toggle does. It is laid out against the row\n instead: .footer-extra is an inline-size container, 100cqi is the row's\n width, and margin-inline-start: 100% - 100cqi takes the list from the\n toggle's start back to the row's (100% is the <details>' own width). The\n same margin makes the list add nothing to the <details>' intrinsic width,\n so the toggle keeps its own.\n\n Its width was 90% plus 24px padding either side: 1128 of 1200 at 1440, but\n 328 of 311 at 375, running 17px past the column. From md that arithmetic\n always fits, so it stays, against the row; below md the list is a block of\n auto width, which cannot overflow (see there).\n\n 40 above it is the row's 24 bottom padding and the 16 that used to stand\n between the row and the list, so the list opens where it always did; the\n -24 below gives the row's padding back. */\n.footer-countries-container {\n position: relative;\n display: inline-flex;\n /* no token: the space between the three columns of countries; the spacing\n scale stops at 128 */\n gap: 10rem;\n inline-size: 90cqi;\n margin-block: var(--spacing-40) calc(-1 * var(--spacing-24));\n margin-inline-start: calc(100% - 100cqi);\n padding: var(--spacing-40) var(--spacing-24) var(--spacing-24);\n border-radius: var(--shape-radius-lg);\n}\n\n.footer-extra:has(> .footer-countries-toggle) {\n container-type: inline-size;\n}\n\n/* The country links: plain anchors in this root, slotted into each\n bd-footer-links-group, drawn as the bd-link variant=\"light\" they replace --\n the standalone link role, inverse ink, underline on hover. */\n.footer-countries-container a {\n display: inline-flex;\n align-items: center;\n align-self: start;\n font-family: var(--typography-fontFamily-sans);\n font-size: var(--typography-link-standalone-fontSize);\n font-weight: var(--typography-link-standalone-fontWeight);\n line-height: var(--typography-link-standalone-lineHeight);\n color: var(--color-text-inverse);\n text-decoration: none;\n text-underline-offset: var(--typography-link-underlineOffset);\n}\n\n.footer-countries-container a:hover {\n text-decoration: underline;\n}\n\n.footer-countries-container a:focus-visible {\n outline: var(--border-width-2) solid transparent;\n outline-offset: var(--focus-outline-offset);\n box-shadow: var(--focus-outline-primary);\n border-radius: var(--focus-outline-radius);\n}\n\n.close-countries-button {\n position: absolute;\n inset-block-start: var(--spacing-10);\n inset-inline-end: var(--spacing-10);\n background: none;\n border: none;\n /* The close icon's ink, inherited rather than its own, so forced colours\n repaint it as ButtonText. Without it the button's default ink, black,\n would be the icon's on the brand band. */\n color: var(--color-text-inverse);\n cursor: pointer;\n padding: var(--spacing-6);\n /* Raised, not overlay: it only has to clear the country links it sits on\n top of inside this panel, and nothing else in this shadow root is\n positioned above them. */\n z-index: var(--z-raised);\n}\n\n/* A \".close-countries-button img\" rule stood here and could never match: the\n button renders <bd-close-icon size=\"18\">, so the size is the atom's prop and\n there is no <img> in this root. */\n@media ${unsafeCSS(below('md'))} {\n :host {\n font-size: var(--typography-body-small-fontSize);\n }\n\n /* Hidden here and at tablet, so nothing else in these blocks styles it:\n the three rules that gave it text-align, order and width below md drew\n nothing. */\n .footer-address {\n display: none;\n }\n\n .footer-middle-line {\n flex-direction: column;\n align-items: flex-start;\n gap: var(--spacing-16);\n padding-top: 0;\n }\n\n .footer-extra {\n flex-direction: column;\n align-items: flex-start;\n }\n\n .footer-anpc {\n text-align: start;\n width: 100%;\n }\n\n /* A \".footer-links-right.social-icons a svg\" rule stood here and was dead\n twice over. The \"social icons\" are <bd-link> TEXT links -- Facebook,\n Twitter, LinkedIn and the rest, spelled as words -- so there is no svg to\n paint, and the <a> those links render lives inside bd-link's shadow root\n where this selector cannot follow it. The class name is the misleading\n part: it says icons and renders text. Worth knowing if icons are ever\n wanted there, because this rule would not have coloured them either. */\n\n .social-icons {\n gap: var(--spacing-40);\n align-items: center;\n margin: auto;\n }\n\n\n /* The toggle is a 270 x 40 bar centred in the column. Its 16 above and\n below are the summary's, inside the <details>, so the list under it\n still opens 40 below. */\n .footer-countries-toggle {\n width: 100%;\n }\n\n .country-toggle {\n width: 270px;\n max-width: 100%;\n height: 40px;\n margin: var(--spacing-16) auto;\n }\n\n .country-toggle-row {\n height: 100%;\n justify-content: center;\n }\n\n /* The three country groups stack, so the 64px their :host pads on the right\n -- the space between side-by-side groups -- has nothing to separate. It\n goes, and the group fills the row on its own. width: 100% stood here\n instead, on top of that padding, and put every group 64px past the panel:\n measured, a 375 page scrolled 25px sideways with the list open. */\n /* A block here, so the summary's 16 below collapses into the margin above\n the list: 56 is that 16, the row's 24 and the 16 that stood between.\n One column, with nothing at its end but the close button, which is\n positioned: no end padding, so the longest name (United Arab Emirates -\n English) still takes one line at 320 now the list keeps to the column. */\n .footer-countries-container {\n display: block;\n inline-size: auto;\n margin-block-start: var(--spacing-56);\n padding-inline-end: 0;\n }\n\n .footer-countries-container bd-footer-links-group {\n padding-inline-end: 0;\n margin-bottom: var(--spacing-8);\n }\n\n .footer-links {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-8);\n }\n\n .footer-links-left,\n .footer-links-right {\n width: 100%;\n }\n\n .footer-links-left {\n order: 1;\n }\n\n .footer-links > bd-divider-horizontal {\n order: 2;\n margin: var(--spacing-16) 0;\n width: 100%;\n }\n\n .footer-links-right {\n order: 3;\n display: flex;\n justify-content: center;\n margin-top: 0;\n margin-bottom: 0;\n }\n\n /* Nothing pads a group top or bottom -- its :host pads the right only -- so\n the zero paddings this rule and the country groups' used to restate did\n nothing. */\n .footer-links-left ::slotted(bd-footer-links-group) {\n margin-bottom: var(--spacing-8);\n }\n\n /* Two rules stood here asking bd-grid for one 8px-gapped column, with\n display: flex, flex-direction, grid-template-columns and gap. All four\n land on bd-grid's host, which is display: block around one div; the grid\n is that div, in bd-grid's own shadow root, so none of them reached it.\n cols=\"1\" and cols-sm=\"1\" already make it one column here. The gap it\n renders is the gap=\"lg\" prop's; the 8px never applied. Same for gap on\n .footer-links-left, a flex row with bd-grid as its only child. */\n\n .secondary-nav-container {\n order: 1;\n width: 100%;\n }\n\n .secondary-nav-container bd-divider-horizontal {\n margin-top: var(--spacing-16);\n margin-bottom: var(--spacing-16);\n width: 100%;\n }\n}\n.tablet-divider {\n display: none;\n}\n\n@media (min-width: 768px) and (max-width: 1024px) {\n .tablet-divider {\n display: block;\n order: 2;\n margin: var(--spacing-16) 0;\n width: 100%;\n }\n .footer-address {\n display: none;\n }\n .footer-links {\n display: flex;\n flex-direction: column;\n gap: 0;\n padding-bottom: 0;\n }\n .footer-links-left,\n .footer-links-right {\n width: 100%;\n }\n\n .footer-links-left {\n order: 1;\n }\n\n .footer-links > bd-divider-horizontal {\n order: 2;\n margin: var(--spacing-16) 0;\n width: 100%;\n }\n .footer-links + bd-divider-horizontal {\n display: none;\n }\n \n .footer-links-right {\n order: 3;\n display: flex;\n margin-top: 0;\n margin-bottom: 0;\n }\n .footer-countries-container {\n flex-wrap: wrap;\n }\n}\n\n /* A reader who asked for less motion was still getting the countries panel. Twenty-three\n of the thirty animated directories in this package honour the query; this\n one did not. */\n @media (prefers-reduced-motion: reduce) {\n .footer-countries-container {\n transition: none;\n }\n }\n`;\n"]}
|
|
1
|
+
{"version":3,"file":"footer.css.js","names":["footer_css_default"],"sources":["../../../../src/components/footer/footer.css.ts"],"sourcesContent":["import { css, unsafeCSS } from 'lit';\nimport { above, below } from '#shared/token-scales.ts';\n\nexport default css`\n :host {\n display: block;\n /* no role: the masthead's ground, and it stays a primitive on purpose.\n blue-600 is this system's brand INK step -- six roles resolve to it\n (--color-text-brand, --status-brand-text, --status-brand-accent,\n --status-info-text, --color-action-primary-hover and\n --citation-reference-color) and every one of them is ink or an action,\n not a surface.\n .\n So a --color-surface-brand-strong at this value would not be a missing\n role, it would be a trap: brand ink on a brand-strong surface measures\n 1.00:1 -- identical colours, invisible text -- and the primary action\n colour on it is 1.36:1, which is where a button in a footer sits. The\n role that reads here is --color-text-inverse at 6.18:1, which is what\n the next line uses.\n .\n Two consumers, both footers, against the twelve that justified\n --color-surface-container. See plans/reports/phase-2-vocab-e-has-role-pass.md\n question E2. */\n background-color: var(--color-brand-600);\n color: var(--color-text-inverse);\n font-family: var(--typography-fontFamily-sans);\n font-size: var(--typography-body-small-fontSize);\n /* The role's own leading, not the primitive that happens to equal it.\n Deleting this outright was measured to drop the footer to the font's\n metric (21px -> normal), because body-small is referenced for the size\n only -- nothing would have supplied the leading. */\n line-height: var(--typography-body-small-lineHeight);\n }\n/* :focus-visible, so a mouse click no longer draws the ring. The anchors\n these rules also named are not in this shadow tree -- the footer's links are\n bd-link hosts and slotted content -- so those selectors never matched, and\n neither did the 2px 6px padding that would have shifted a focused link. */\n.country-toggle:focus-visible,\n.close-countries-button:focus-visible {\n /* forced-colors mode does not paint box-shadow, so the ring\n vanishes there; it does paint an outline, in a system colour. This one\n is transparent everywhere else, and the offset lands it on the ring's\n outer band. */\n outline: var(--border-width-2) solid transparent;\n outline-offset: var(--focus-outline-offset);\n /* The ring is --focus-outline-primary alone, as in every other component.\n The 2px border that stood here was redundant and, since these elements\n have no border otherwise, it shifted the layout by 2px on focus. */\n box-shadow: var(--focus-outline-primary);\n border-radius: var(--focus-outline-radius);\n}\n\n\n/* No navigation rules in this sheet: no .footer-nav-main, no .second-nav, no\n bd-footer-nav and no bd-footer-links-group a. None of them names anything in\n this shadow tree. .footer-nav-main is rendered by bd-footer-nav into its own\n root -- this template only has .footer-nav-main-container, the box the slot\n sits in -- and bd-footer-nav and bd-footer-links-group are slotted elements,\n reachable only through ::slotted. Measured across the 22 built footer\n stories, in 12 bd-footer roots and 11 bd-footer-lp roots: 0 matches for\n every one of those selectors.\n \n The focus ring they were trying to draw now lives in\n footer-nav-menu.css.ts, spelled ::slotted, where it renders.\n \n The bd-footer-links-group *layout* rules further down are the same kind of\n unreachable and are left alone: they are the quick-links column, not\n navigation, and they belong to whichever phase takes that family. */\n.footer-secondary-nav {\npadding-top: var(--spacing-24);\npadding-bottom: var(--spacing-24);\n}\n.footer-nav-main-container {\npadding-top: var(--spacing-12);\npadding-bottom: var(--spacing-12);\n}\n bd-divider-vertical {\n display: inline-block;\n width: var(--form-input-default-borderWidth);\n height: var(--dimension-20);\n background-color: var(--color-surface-default);\n }\n\n bd-divider-horizontal {\n display: block;\n background-color: var(--color-surface-default);\n opacity: 0.25;\n }\n\n footer {\n padding: var(--spacing-32) var(--spacing-16);\n margin: auto;\n }\n\n .footer-top {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: var(--color-surface-brand);\n }\n\n .footer-links {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n gap: var(--spacing-32);\n flex-wrap: nowrap;\n padding-top: var(--spacing-24);\n padding-bottom: var(--spacing-24);\n }\n\n .footer-middle-line {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: var(--spacing-16);\n padding-top: var(--spacing-24);\n padding-bottom: var(--spacing-24);\n }\n\n .secondary-nav-container {\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--spacing-16);\n }\n\n /* One rule. Most of this used to be \".footer-middle-line > :last-child\",\n which is always this element, and at (0,2,0) it outranked every\n .footer-address rule: its display: flex beat the display: none the two\n breakpoints below set -- the reason both carried !important -- and its\n margin: 0 cancelled the margin-bottom: 16 that stood here, so that never\n rendered either. */\n .footer-address {\n flex: 1;\n display: flex;\n justify-content: flex-end;\n align-items: center;\n text-align: end;\n font-size: var(--typography-body-small-fontSize);\n font-family: var(--typography-fontFamily-sans);\n /* No font-weight: body-small, whose size this rule asks for, is normal, and\n the inherited weight is 400 -- measured inert either way. */\n color: var(--color-text-inverse);\n }\n\n .footer-links-left {\n flex: 1;\n display: flex;\n flex-wrap: wrap;\n gap: var(--spacing-32);\n }\n\n .footer-links-right {\n display: flex;\n align-items: center;\n gap: var(--spacing-16);\n min-width: 200px\n }\n\n .social-icons {\n display: flex;\n /* Wrapping rather than a breakpoint: the row is a variable number of\n icons, so the width it needs depends on how many were slotted, not on\n the viewport. Without this the last one hung 12px past a 320px screen. */\n flex-wrap: wrap;\n gap: var(--spacing-16);\n }\n\n /* .footer-social-legal and .footer-bottom stood here. Neither element is\n rendered: measured 0 occurrences across all 11 footer stories, while\n .country-toggle in the same sheet rendered in all 11. They carried the only\n two rgba(255,255,255,0.2) edges in the package, and a form-control width\n token doing a divider's job. */\n\n/* The six social links draw their logo on the link itself. It was the host's\n content: url(), and an image content replaces the element's rendering, so\n the <a> inside bd-link never drew: measured 0 boxes, a click landed on the\n host, which is not a link, and Tab never reached any of the six. The name\n stays in the link's text, sized away, so each link is still announced by it. */\n.social-icons bd-link::part(link) {\n display: block;\n width: var(--icon-lg-size);\n height: var(--icon-lg-size);\n background-position: center;\n background-size: contain;\n background-repeat: no-repeat;\n font-size: 0;\n}\n\n.bd-youtube::part(link) {\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M23.4991 5.66068C23.2223 4.61146 22.4094 3.78802 21.3768 3.50911C19.5049 3 12 3 12 3C12 3 4.49506 3 2.62321 3.50911C1.59063 3.78802 0.777737 4.61146 0.500915 5.66068C0 7.5599 0 11.5177 0 11.5177C0 11.5177 0 15.4755 0.500915 17.3747C0.777737 18.424 1.59063 19.212 2.62321 19.4909C4.49506 20 12 20 12 20C12 20 19.5049 20 21.3768 19.4909C22.4094 19.212 23.2223 18.4195 23.4991 17.3747C24 15.4755 24 11.5177 24 11.5177C24 11.5177 24 7.5599 23.4991 5.66068ZM9.54815 15.1125V7.92292L15.8184 11.5177L9.54815 15.1125Z\" fill=\"white\"/></svg>');\n}\n.bd-facebook::part(link) {\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M24 12.0447C24 5.39188 18.6281 0 12 0C5.37188 0 0 5.39188 0 12.0447C0 17.6906 3.87656 22.4332 9.10312 23.7365V15.724H6.62812V12.0447H9.10312V10.4591C9.10312 6.36111 10.95 4.4603 14.9625 4.4603C15.7219 4.4603 17.0344 4.61086 17.5734 4.76142V8.09253C17.2922 8.0643 16.8 8.04548 16.1859 8.04548C14.2172 8.04548 13.4578 8.79357 13.4578 10.7367V12.0447H17.3766L16.7016 15.724H13.4531V24C19.3969 23.2801 24 18.2035 24 12.0447Z\" fill=\"white\"/></svg>');\n}\n.bd-instagram::part(link) {\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M12.0025 6.35948C8.88098 6.35948 6.36319 8.87783 6.36319 12C6.36319 15.1222 8.88098 17.6405 12.0025 17.6405C15.1239 17.6405 17.6417 15.1222 17.6417 12C17.6417 8.87783 15.1239 6.35948 12.0025 6.35948ZM12.0025 15.6671C9.98528 15.6671 8.3362 14.0225 8.3362 12C8.3362 9.97746 9.98037 8.33292 12.0025 8.33292C14.0245 8.33292 15.6687 9.97746 15.6687 12C15.6687 14.0225 14.0196 15.6671 12.0025 15.6671ZM19.1877 6.12875C19.1877 6.8602 18.5988 7.44438 17.8724 7.44438C17.1411 7.44438 16.5571 6.85529 16.5571 6.12875C16.5571 5.40221 17.146 4.81312 17.8724 4.81312C18.5988 4.81312 19.1877 5.40221 19.1877 6.12875ZM22.9227 7.46402C22.8393 5.70166 22.4368 4.14058 21.146 2.8544C19.8601 1.56822 18.2994 1.16568 16.5374 1.07732C14.7215 0.974227 9.27853 0.974227 7.46258 1.07732C5.70552 1.16077 4.14479 1.56332 2.85399 2.84949C1.56319 4.13567 1.16564 5.69675 1.0773 7.45911C0.974233 9.27547 0.974233 14.7196 1.0773 16.536C1.16074 18.2983 1.56319 19.8594 2.85399 21.1456C4.14479 22.4318 5.70061 22.8343 7.46258 22.9227C9.27853 23.0258 14.7215 23.0258 16.5374 22.9227C18.2994 22.8392 19.8601 22.4367 21.146 21.1456C22.4319 19.8594 22.8344 18.2983 22.9227 16.536C23.0258 14.7196 23.0258 9.28037 22.9227 7.46402ZM20.5767 18.4849C20.1939 19.4471 19.4528 20.1883 18.4859 20.5761C17.038 21.1505 13.6025 21.018 12.0025 21.018C10.4025 21.018 6.96196 21.1456 5.51902 20.5761C4.55705 20.1932 3.81595 19.452 3.42822 18.4849C2.85399 17.0367 2.9865 13.6004 2.9865 12C2.9865 10.3996 2.8589 6.95838 3.42822 5.51512C3.81104 4.55294 4.55215 3.81167 5.51902 3.42385C6.96687 2.84949 10.4025 2.98204 12.0025 2.98204C13.6025 2.98204 17.0429 2.8544 18.4859 3.42385C19.4479 3.80676 20.189 4.54803 20.5767 5.51512C21.1509 6.96329 21.0184 10.3996 21.0184 12C21.0184 13.6004 21.1509 17.0416 20.5767 18.4849Z\" fill=\"white\"/></svg>');\n}\n.bd-linkedin::part(link) {\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M21.4286 1H2.56652C1.70223 1 1 1.71205 1 2.58616V21.4138C1 22.2879 1.70223 23 2.56652 23H21.4286C22.2929 23 23 22.2879 23 21.4138V2.58616C23 1.71205 22.2929 1 21.4286 1ZM7.64911 19.8571H4.38839V9.35804H7.65402V19.8571H7.64911ZM6.01875 7.92411C4.97277 7.92411 4.12812 7.07455 4.12812 6.03348C4.12812 4.99241 4.97277 4.14286 6.01875 4.14286C7.05982 4.14286 7.90937 4.99241 7.90937 6.03348C7.90937 7.07946 7.06473 7.92411 6.01875 7.92411ZM19.8719 19.8571H16.6112V14.75C16.6112 13.5321 16.5866 11.9656 14.917 11.9656C13.2179 11.9656 12.9576 13.2915 12.9576 14.6616V19.8571H9.69688V9.35804H12.825V10.792H12.8692C13.3062 9.96696 14.3719 9.09777 15.958 9.09777C19.258 9.09777 19.8719 11.2732 19.8719 14.1018V19.8571Z\" fill=\"white\"/></svg>');\n}\n\n.bd-tiktok::part(link) {\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M23 9.84003C20.9356 9.84445 18.922 9.19997 17.2438 7.99766V16.3797C17.2433 17.9321 16.7689 19.4474 15.884 20.7228C14.9991 21.9983 13.7459 22.9731 12.292 23.5169C10.8381 24.0608 9.25287 24.1477 7.74825 23.7661C6.24363 23.3845 4.89139 22.5525 3.87237 21.3815C2.85335 20.2104 2.21614 18.7561 2.04595 17.2131C1.87577 15.6701 2.18073 14.1118 2.92004 12.7468C3.65936 11.3818 4.79778 10.2751 6.18306 9.57468C7.56834 8.87428 9.13443 8.61357 10.6719 8.82743V13.0419C9.96888 12.8206 9.21393 12.8271 8.51483 13.0604C7.81573 13.2938 7.20822 13.742 6.77905 14.3413C6.34987 14.9405 6.12099 15.66 6.12506 16.3971C6.12913 17.1341 6.36596 17.8511 6.80173 18.4455C7.2375 19.04 7.84993 19.4815 8.55157 19.7071C9.2532 19.9327 10.0082 19.9309 10.7087 19.7018C11.4092 19.4727 12.0194 19.0281 12.4522 18.4315C12.8851 17.8349 13.1183 17.1168 13.1188 16.3797V0H17.2438C17.2414 0.348908 17.2712 0.697289 17.3328 1.04073C17.4763 1.80627 17.7743 2.53452 18.2087 3.18097C18.6431 3.82741 19.2048 4.37847 19.8594 4.80047C20.7911 5.41593 21.8834 5.74363 23 5.74275V9.84003Z\" fill=\"white\"/></svg>');\n}\n\n.bd-twitter::part(link) {\n background-image: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M4.14286 1C2.40937 1 1 2.40937 1 4.14286V19.8571C1 21.5906 2.40937 23 4.14286 23H19.8571C21.5906 23 23 21.5906 23 19.8571V4.14286C23 2.40937 21.5906 1 19.8571 1H4.14286ZM18.7326 5.125L13.6353 10.9491L19.6312 18.875H14.9366L11.2634 14.0674L7.05491 18.875H4.72232L10.1732 12.6433L4.42277 5.125H9.23527L12.5598 9.52009L16.4 5.125H18.7326ZM16.8763 17.4804L8.53304 6.44598H7.1433L15.5799 17.4804H16.8714H16.8763Z\" fill=\"white\"/></svg>');\n}\n\n\n .footer-links-right.social-icons {\n margin-top: var(--spacing-16);\n }\n\n .footer-extra {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: var(--spacing-16);\n padding-top: var(--spacing-24);\n padding-bottom: var(--spacing-24);\n flex-wrap: wrap;\n }\n\n .footer-anpc {\n flex: 1;\n text-align: center;\n }\n\n /* A .footer-countries rule stood here, right-aligning an element this\n component never rendered. */\n\n /* The country picker: a <details> (.footer-countries-toggle) whose summary\n is the toggle. The summary keeps the look of the <button> it replaces, and\n its row is a flex box of its own because a summary is laid out as a\n block. Its label takes the footer's body-small leading, which a button\n did not inherit: 20.3 against the icons' 20, so the toggle is 38.3 tall\n where the button was 38. */\n .country-toggle {\n display: block;\n list-style: none;\n box-sizing: border-box;\n background: none;\n /* The edge is the label's own ink, so the two cannot drift apart. */\n border: var(--form-input-default-borderWidth) solid currentColor;\n color: var(--color-text-inverse);\n padding: var(--spacing-8) var(--spacing-16);\n cursor: pointer;\n border-radius: var(--form-input-large-borderRadius);\n font-family: var(--typography-fontFamily-sans);\n font-size: var(--typography-body-small-fontSize);\n }\n\n /* Safari still draws its own disclosure triangle from this. */\n .country-toggle::-webkit-details-marker {\n display: none;\n }\n\n .country-toggle-row {\n display: flex;\n align-items: center;\n gap: var(--spacing-8);\n }\n\n .footer-countries-toggle:not([open]) .when-open,\n .footer-countries-toggle[open] .when-closed {\n display: none;\n }\n\n /* Forced colours paint a summary as LinkText. This one is drawn as the\n button it replaces, so it keeps a button's system colours there. Its\n icons have no colour of their own, so they follow it: an svg's\n forced-color-adjust is preserve-parent-color, which repaints an inherited\n colour and keeps one the icon was given, and a given white stayed white\n on a light palette's ButtonFace. */\n @media (forced-colors: active) {\n .country-toggle {\n color: ButtonText;\n border-color: ButtonText;\n background-color: ButtonFace;\n }\n }\n\n /* From md the toggle shares a row with the copyright and the ANPC badge,\n and the open list is the toggle's own content, so the row grows with it.\n Centred, the copyright and the badge would slide down the open list. So\n they sit at the row's start instead, each as tall as the toggle with its\n content centred in it: the same place centring gave them while the list\n is shut, and they stay there when it opens. bd-footer-lp shares this\n sheet and has no toggle, hence :has(). */\n @media ${unsafeCSS(above('md'))} {\n .footer-extra:has(> .footer-countries-toggle) {\n --_toggle-block-size: calc(var(--icon-md-size) + 2 * var(--spacing-8) + 2 * var(--form-input-default-borderWidth));\n align-items: flex-start;\n }\n\n .footer-extra:has(> .footer-countries-toggle) > :is(.footer-copy, .footer-anpc) {\n display: flex;\n align-items: center;\n min-block-size: var(--_toggle-block-size);\n }\n\n .footer-extra:has(> .footer-countries-toggle) > .footer-anpc {\n justify-content: center;\n }\n\n .country-toggle {\n min-block-size: var(--_toggle-block-size);\n }\n }\n\n /* Three rules stood here and none could match, all left behind by the same\n migration. The country toggle renders <bd-globe-icon> and the arrow atoms\n with size and color as props: \".country-toggle img\" had no <img> to size,\n and \".arrow\" is not a class this component renders at all -- so both it and\n \".arrow img\" were orphans, the second nested inside the first's absent\n element. The atoms' own props carry the sizing. */\n\n .countries-container {\n margin-top: var(--spacing-4);\n }\n\n .footer-copy {\n /* No font-size: :host already resolves --typography-body-small-fontSize, and\n this restated the identical 14px as the primitive. The colour stays --\n neutral-100 is a step dimmer than the host's inverse white. */\n /* no role: --color-text-muted-inverse is the role for this job -- dimmed ink\n on a dark ground -- and it CANNOT be used here. Measured against the\n host's blue-600: neutral-100 is 4.80:1 and passes body text; the role's\n neutral-300 is 2.72:1 and fails. The role was built against\n surface-inverse (neutral-900), where neutral-300 reaches 7.92:1; on a\n brand ground two steps lighter it runs out of room.\n .\n So the value stays a primitive deliberately. Adopting the role here would\n be a category-correct, job-correct, ACCESSIBILITY-BREAKING change, which\n is the case worth a marker rather than a silent primitive. */\n color: var(--color-neutral-100);\n }\n\n .footer-top-bleed {\n background: var(--color-surface-brand);\n }\n\n .container {\n margin: 0 auto;\n }\n\n .footer-top {\n padding-top: var(--spacing-24);\n padding-bottom: var(--spacing-24);\n }\n\n a.impressum {\n display: none;\n color: var(--color-text-inverse);\n text-decoration: none;\n }\n\n a.impressum.visible {\n display: inline;\n }\n\n /* Two \"slot[name=countries]::slotted(a)\" rules stood here -- a base one\n and a .selected one painting the chosen country on --color-surface-brand.\n Neither could ever match, for two independent reasons.\n .\n There is no <slot name=\"countries\"> in this shadow tree. The template\n declares nine slots (logo, top-right, nav, quick-links, social-links,\n secondary-nav, address, copyright, anpc) and countries is not among them,\n so the selector's first compound matches nothing. The slot=\"countries\"\n attribute at footer.ts:473 sits on a <bd-footer-links-group> that this\n component renders INTO ITS OWN shadow root, where a slot attribute assigns\n nothing.\n .\n And the country links are <bd-link> elements (footer.ts:475), not <a>, so\n ::slotted(a) would not have matched them even given a real slot.\n .\n The selected-country highlight this described has therefore never\n rendered. Restoring it is a design question, not a CSS repair: it needs a\n real slot or a rule on the light-DOM children, and somebody has to decide\n which. */\n\n/* The open country list, in one rule; it was three, each adding to the last.\n\n It is the <details>' content, and the <details> ends the copyright row, so\n the list starts where the toggle does. It is laid out against the row\n instead: .footer-extra is an inline-size container, 100cqi is the row's\n width, and margin-inline-start: 100% - 100cqi takes the list from the\n toggle's start back to the row's (100% is the <details>' own width). The\n same margin makes the list add nothing to the <details>' intrinsic width,\n so the toggle keeps its own.\n\n Its width was 90% plus 24px padding either side: 1128 of 1200 at 1440, but\n 328 of 311 at 375, running 17px past the column. From md that arithmetic\n always fits, so it stays, against the row; below md the list is a block of\n auto width, which cannot overflow (see there).\n\n 40 above it is the row's 24 bottom padding and the 16 that used to stand\n between the row and the list, so the list opens where it always did; the\n -24 below gives the row's padding back. */\n.footer-countries-container {\n position: relative;\n display: inline-flex;\n /* no token: the space between the three columns of countries; the spacing\n scale stops at 128 */\n gap: 10rem;\n inline-size: 90cqi;\n margin-block: var(--spacing-40) calc(-1 * var(--spacing-24));\n margin-inline-start: calc(100% - 100cqi);\n padding: var(--spacing-40) var(--spacing-24) var(--spacing-24);\n border-radius: var(--shape-radius-lg);\n}\n\n.footer-extra:has(> .footer-countries-toggle) {\n container-type: inline-size;\n}\n\n/* The country links: plain anchors in this root, slotted into each\n bd-footer-links-group, drawn as the bd-link variant=\"light\" they replace --\n the standalone link role, inverse ink, underline on hover. */\n.footer-countries-container a {\n display: inline-flex;\n align-items: center;\n align-self: start;\n font-family: var(--typography-fontFamily-sans);\n font-size: var(--typography-link-standalone-fontSize);\n font-weight: var(--typography-link-standalone-fontWeight);\n line-height: var(--typography-link-standalone-lineHeight);\n color: var(--color-text-inverse);\n text-decoration: none;\n text-underline-offset: var(--typography-link-underlineOffset);\n}\n\n.footer-countries-container a:hover {\n text-decoration: underline;\n}\n\n.footer-countries-container a:focus-visible {\n outline: var(--border-width-2) solid transparent;\n outline-offset: var(--focus-outline-offset);\n box-shadow: var(--focus-outline-primary);\n border-radius: var(--focus-outline-radius);\n}\n\n.close-countries-button {\n position: absolute;\n inset-block-start: var(--spacing-10);\n inset-inline-end: var(--spacing-10);\n background: none;\n border: none;\n /* The close icon's ink, inherited rather than its own, so forced colours\n repaint it as ButtonText. Without it the button's default ink, black,\n would be the icon's on the brand band. */\n color: var(--color-text-inverse);\n cursor: pointer;\n padding: var(--spacing-6);\n /* Raised, not overlay: it only has to clear the country links it sits on\n top of inside this panel, and nothing else in this shadow root is\n positioned above them. */\n z-index: var(--z-raised);\n}\n\n/* A \".close-countries-button img\" rule stood here and could never match: the\n button renders <bd-close-icon size=\"18\">, so the size is the atom's prop and\n there is no <img> in this root. */\n@media ${unsafeCSS(below('md'))} {\n :host {\n font-size: var(--typography-body-small-fontSize);\n }\n\n /* Hidden here and at tablet, so nothing else in these blocks styles it:\n the three rules that gave it text-align, order and width below md drew\n nothing. */\n .footer-address {\n display: none;\n }\n\n .footer-middle-line {\n flex-direction: column;\n align-items: flex-start;\n gap: var(--spacing-16);\n padding-top: 0;\n }\n\n .footer-extra {\n flex-direction: column;\n align-items: flex-start;\n }\n\n .footer-anpc {\n text-align: start;\n width: 100%;\n }\n\n /* A \".footer-links-right.social-icons a svg\" rule stood here and was dead\n twice over. The \"social icons\" are <bd-link> TEXT links -- Facebook,\n Twitter, LinkedIn and the rest, spelled as words -- so there is no svg to\n paint, and the <a> those links render lives inside bd-link's shadow root\n where this selector cannot follow it. The class name is the misleading\n part: it says icons and renders text. Worth knowing if icons are ever\n wanted there, because this rule would not have coloured them either. */\n\n .social-icons {\n gap: var(--spacing-40);\n align-items: center;\n margin: auto;\n }\n\n\n /* The toggle is a 270 x 40 bar centred in the column. Its 16 above and\n below are the summary's, inside the <details>, so the list under it\n still opens 40 below. */\n .footer-countries-toggle {\n width: 100%;\n }\n\n .country-toggle {\n width: 270px;\n max-width: 100%;\n height: 40px;\n margin: var(--spacing-16) auto;\n }\n\n .country-toggle-row {\n height: 100%;\n justify-content: center;\n }\n\n /* The three country groups stack, so the 64px their :host pads on the right\n -- the space between side-by-side groups -- has nothing to separate. It\n goes, and the group fills the row on its own. width: 100% stood here\n instead, on top of that padding, and put every group 64px past the panel:\n measured, a 375 page scrolled 25px sideways with the list open. */\n /* A block here, so the summary's 16 below collapses into the margin above\n the list: 56 is that 16, the row's 24 and the 16 that stood between.\n One column, with nothing at its end but the close button, which is\n positioned: no end padding, so the longest name (United Arab Emirates -\n English) still takes one line at 320 now the list keeps to the column. */\n .footer-countries-container {\n display: block;\n inline-size: auto;\n margin-block-start: var(--spacing-56);\n padding-inline-end: 0;\n }\n\n .footer-countries-container bd-footer-links-group {\n padding-inline-end: 0;\n margin-bottom: var(--spacing-8);\n }\n\n .footer-links {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-8);\n }\n\n .footer-links-left,\n .footer-links-right {\n width: 100%;\n }\n\n .footer-links-left {\n order: 1;\n }\n\n .footer-links > bd-divider-horizontal {\n order: 2;\n margin: var(--spacing-16) 0;\n width: 100%;\n }\n\n .footer-links-right {\n order: 3;\n display: flex;\n justify-content: center;\n margin-top: 0;\n margin-bottom: 0;\n }\n\n /* Nothing pads a group top or bottom -- its :host pads the right only -- so\n the zero paddings this rule and the country groups' used to restate did\n nothing. */\n .footer-links-left ::slotted(bd-footer-links-group) {\n margin-bottom: var(--spacing-8);\n }\n\n /* Two rules stood here asking bd-grid for one 8px-gapped column, with\n display: flex, flex-direction, grid-template-columns and gap. All four\n land on bd-grid's host, which is display: block around one div; the grid\n is that div, in bd-grid's own shadow root, so none of them reached it.\n cols=\"1\" and cols-sm=\"1\" already make it one column here. The gap it\n renders is the gap=\"lg\" prop's; the 8px never applied. Same for gap on\n .footer-links-left, a flex row with bd-grid as its only child. */\n\n .secondary-nav-container {\n order: 1;\n width: 100%;\n }\n\n .secondary-nav-container bd-divider-horizontal {\n margin-top: var(--spacing-16);\n margin-bottom: var(--spacing-16);\n width: 100%;\n }\n}\n.tablet-divider {\n display: none;\n}\n\n@media (min-width: 768px) and (max-width: 1024px) {\n .tablet-divider {\n display: block;\n order: 2;\n margin: var(--spacing-16) 0;\n width: 100%;\n }\n .footer-address {\n display: none;\n }\n .footer-links {\n display: flex;\n flex-direction: column;\n gap: 0;\n padding-bottom: 0;\n }\n .footer-links-left,\n .footer-links-right {\n width: 100%;\n }\n\n .footer-links-left {\n order: 1;\n }\n\n .footer-links > bd-divider-horizontal {\n order: 2;\n margin: var(--spacing-16) 0;\n width: 100%;\n }\n .footer-links + bd-divider-horizontal {\n display: none;\n }\n \n .footer-links-right {\n order: 3;\n display: flex;\n margin-top: 0;\n margin-bottom: 0;\n }\n .footer-countries-container {\n flex-wrap: wrap;\n }\n}\n\n /* A reader who asked for less motion was still getting the countries panel. Twenty-three\n of the thirty animated directories in this package honour the query; this\n one did not. */\n @media (prefers-reduced-motion: reduce) {\n .footer-countries-container {\n transition: none;\n }\n }\n`;\n"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,0na"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { LitElement, type PropertyValues } from
|
|
2
|
-
import { MediaQueryController } from
|
|
3
|
-
import "../../tokens/tokens.
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import "../icons/arrow-down-icon.
|
|
11
|
-
import "../icons/arrow-up-icon.
|
|
12
|
-
import "../icons/close-icon.
|
|
13
|
-
import "../icons/globe-icon.
|
|
1
|
+
import { LitElement, type PropertyValues } from "lit";
|
|
2
|
+
import { MediaQueryController } from "../shared/controller.media-query.js";
|
|
3
|
+
import "../../tokens/tokens.js";
|
|
4
|
+
import "../divider/divider-horizontal.js";
|
|
5
|
+
import "../divider/divider-vertical.js";
|
|
6
|
+
import "./footer-links-group.js";
|
|
7
|
+
import "./footer-nav-menu.js";
|
|
8
|
+
import "../grid/grid.js";
|
|
9
|
+
import "../link/link.js";
|
|
10
|
+
import "../icons/arrow-down-icon.js";
|
|
11
|
+
import "../icons/arrow-up-icon.js";
|
|
12
|
+
import "../icons/close-icon.js";
|
|
13
|
+
import "../icons/globe-icon.js";
|
|
14
14
|
interface Country {
|
|
15
15
|
locale: string;
|
|
16
16
|
label: string;
|
|
@@ -1,274 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { LitElement, html, nothing } from 'lit';
|
|
8
|
-
import { property, state } from 'lit/decorators.js';
|
|
9
|
-
import { defineElement } from "../shared/define-element.js";
|
|
10
|
-
import { MediaQueryController } from "../shared/controller.media-query.js";
|
|
11
|
-
// Installs the design tokens into document scope; see src/tokens/tokens.ts
|
|
12
|
-
import "../../tokens/tokens.js";
|
|
13
|
-
import { DEFAULT_THEME } from "../../tokens/themes/index.js";
|
|
14
|
-
/* The md boundary comes from the shared breakpoint source so the CSS and the
|
|
15
|
-
JS cannot drift apart again: bd-footer switched at 767 while bd-footer-lp,
|
|
16
|
-
sharing footer-nav-menu.css.ts, switched at 768 — so at exactly 768px the
|
|
17
|
-
LP footer rendered its mobile markup under the desktop stylesheet. */
|
|
18
|
-
import { below, matchesBelow } from "../shared/token-scales.js";
|
|
19
|
-
import "../../components/divider/divider-horizontal.js";
|
|
20
|
-
import "../../components/divider/divider-vertical.js";
|
|
21
|
-
import "../../components/footer/footer-links-group.js";
|
|
22
|
-
import "../../components/footer/footer-nav-menu.js";
|
|
23
|
-
import "../../components/grid/grid.js";
|
|
24
|
-
import "../../components/link/link.js";
|
|
25
|
-
import "../icons/arrow-down-icon.js";
|
|
26
|
-
import "../icons/arrow-up-icon.js";
|
|
27
|
-
import "../icons/close-icon.js";
|
|
28
|
-
import "../icons/globe-icon.js";
|
|
29
|
-
import footerCSS from "./footer.css.js";
|
|
30
|
-
import { ensembleCSS } from "../shared/ensemble.css.js";
|
|
31
|
-
import { localeMap } from "./localeMap.js";
|
|
32
|
-
import { DEFAULT_LOCALE, localeFromPath, toggleImpressum } from "./footer-locale.js";
|
|
33
|
-
import { footerAnpc, footerLogo, footerMasterbrand } from "./footer-images.js";
|
|
34
|
-
/* The labels in localeMap not written in their locale's language. A label is
|
|
35
|
-
"<place> - <language>", and these two were read in a Chinese voice: Hong
|
|
36
|
-
Kong's is English throughout, and Taiwan's place name is English beside
|
|
37
|
-
台灣. */
|
|
38
|
-
const LABEL_LANG = {
|
|
39
|
-
'zh-HK': { place: 'en', language: 'en' },
|
|
40
|
-
'zh-TW': { place: 'en' }
|
|
41
|
-
};
|
|
42
|
-
let BdFooter = class BdFooter extends LitElement {
|
|
43
|
-
constructor() {
|
|
44
|
-
super(...arguments);
|
|
45
|
-
this.selectedCountry = 'Choose your country';
|
|
46
|
-
/* `current-locale` and `max-columns-per-row`, both documented dash-cased
|
|
47
|
-
and both previously inert for the same reason as bd-header above: Lit
|
|
48
|
-
lowercases a property name to get its observed attribute, so these were
|
|
49
|
-
listening for `currentlocale` and `maxcolumnsperrow`.
|
|
50
|
-
|
|
51
|
-
current-locale is the consequential one, and it did not merely fail --
|
|
52
|
-
it failed into nonsense. The attribute was ignored, so the locale fell
|
|
53
|
-
through to URL detection, and under Storybook the path is /iframe.html:
|
|
54
|
-
measured on Components/Footer Default, Romanian Locale and German
|
|
55
|
-
Locale, all three reported currentLocale "iframe.html" while their
|
|
56
|
-
markup asked for "en", "ro" and "de". Twelve usages in footer.stories.ts
|
|
57
|
-
write it, including the documented usage example.
|
|
58
|
-
|
|
59
|
-
max-columns-per-row has a single usage, in the playground, and it passes
|
|
60
|
-
2 -- which is already the default -- so repairing it changes no rendered
|
|
61
|
-
output today. It is fixed with the other one because it is the same
|
|
62
|
-
defect in the same declaration block, not because it was visible.
|
|
63
|
-
|
|
64
|
-
Zero consumers of either working lowercase spelling across src, schemas
|
|
65
|
-
and docs, and no property bindings, so naming the attributes is safe. */
|
|
66
|
-
this.currentLocale = DEFAULT_LOCALE;
|
|
67
|
-
this.maxColumnsPerRow = 2;
|
|
68
|
-
this._isMobile = matchesBelow('md');
|
|
69
|
-
/* The viewport, as one media query's change event. It was a window resize
|
|
70
|
-
listener, removed with a fresh .bind(this) that matched nothing, so every
|
|
71
|
-
footer ever disconnected kept its listener and kept running. */
|
|
72
|
-
this._viewport = new MediaQueryController(this, below('md'), mobile => { this._isMobile = mobile; });
|
|
73
|
-
}
|
|
74
|
-
connectedCallback() {
|
|
75
|
-
super.connectedCallback();
|
|
76
|
-
/* The footer is Bitdefender's on every page, a co-branded one included,
|
|
77
|
-
wherever the page puts a partner's data-brand. Pinning it to the
|
|
78
|
-
default theme reuses that theme's generated block, which restates every
|
|
79
|
-
themable token, so nothing a partner changed reaches in here. The host's
|
|
80
|
-
attributes are normally the page's; this one is the exception, because
|
|
81
|
-
the requirement is absolute, not a default the page may override. */
|
|
82
|
-
this.setAttribute('data-brand', DEFAULT_THEME);
|
|
83
|
-
/* Whether the consuming page asked for a locale, captured before inference
|
|
84
|
-
runs. An attribute in the markup counts, and so does a property assigned
|
|
85
|
-
before the element connects -- both are the page stating its intent. A
|
|
86
|
-
page that explicitly asks for 'en' is indistinguishable from one that
|
|
87
|
-
said nothing, and that costs nothing: it asked for the value it gets. */
|
|
88
|
-
this._localeExplicit =
|
|
89
|
-
this.hasAttribute('current-locale') || this.currentLocale !== DEFAULT_LOCALE;
|
|
90
|
-
this._initLocaleFromUrl();
|
|
91
|
-
}
|
|
92
|
-
firstUpdated(changedProps) {
|
|
93
|
-
super.firstUpdated(changedProps);
|
|
94
|
-
}
|
|
95
|
-
updated(changedProps) {
|
|
96
|
-
if (changedProps.has('currentLocale')) {
|
|
97
|
-
this._toggleImpressumVisibility();
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
/* maxColumnsPerRow, finally read. The property has been declared here with
|
|
101
|
-
a default of 2 since it was written, the manifest claims it, and
|
|
102
|
-
footer.stories.ts documents it as "Max columns per row in the quick-links
|
|
103
|
-
grid" -- and nothing ever looked at it. P7H.1 made the attribute reach the
|
|
104
|
-
property; this makes the property reach the layout.
|
|
105
|
-
|
|
106
|
-
It drives the grid the documentation names, through the cols-* attributes
|
|
107
|
-
bd-grid observes since P7H. Mobile and sm stay at one column because the
|
|
108
|
-
footer stacks there regardless of the cap, and md is capped at 2 because
|
|
109
|
-
that is what md has always shown -- the property raises the ceiling at the
|
|
110
|
-
widest breakpoint rather than redesigning the ladder.
|
|
111
|
-
|
|
112
|
-
The default therefore renders exactly what it rendered before:
|
|
113
|
-
min(2, 2) = 2 at md and 2 at lg, which is the pair that was hard-coded.
|
|
114
|
-
Verified by measurement, not by reading.
|
|
115
|
-
|
|
116
|
-
Clamped because the attribute is public: a 0, a negative or a fractional
|
|
117
|
-
value would otherwise reach grid-template-columns as
|
|
118
|
-
`repeat(0, 1fr)`. */
|
|
119
|
-
get _maxColumns() {
|
|
120
|
-
const n = Math.floor(Number(this.maxColumnsPerRow));
|
|
121
|
-
return Number.isFinite(n) && n >= 1 ? n : 2;
|
|
122
|
-
}
|
|
123
|
-
_toggleImpressumVisibility() {
|
|
124
|
-
toggleImpressum(this.shadowRoot.querySelector('slot[name="secondary-nav"]'), this.locale);
|
|
125
|
-
}
|
|
126
|
-
/* Smooth only for a reader who has not asked for reduced motion. */
|
|
127
|
-
_scrollToCountries() {
|
|
128
|
-
this.shadowRoot.querySelector('.footer-countries-container')
|
|
129
|
-
?.scrollIntoView({ behavior: this._scrollBehavior, block: 'start' });
|
|
130
|
-
}
|
|
131
|
-
_scrollToTop() {
|
|
132
|
-
this.scrollIntoView({ behavior: this._scrollBehavior, block: 'start' });
|
|
133
|
-
}
|
|
134
|
-
get _scrollBehavior() {
|
|
135
|
-
return window.matchMedia('(prefers-reduced-motion: reduce)').matches ? 'auto' : 'smooth';
|
|
136
|
-
}
|
|
137
|
-
/* Locale precedence, and it is a precedence rather than a sequence of
|
|
138
|
-
assignments -- which is what went wrong.
|
|
139
|
-
|
|
140
|
-
1. the country selector, when a reader picks one (see _selectCountry)
|
|
141
|
-
2. an explicit current-locale attribute or currentLocale property
|
|
142
|
-
3. a locale inferred from the first path segment, IF it resolves to a
|
|
143
|
-
supported locale
|
|
144
|
-
4. DEFAULT_LOCALE
|
|
145
|
-
|
|
146
|
-
Two defects sat in the old version, both in its closing lines. It ended
|
|
147
|
-
with an unconditional `this.currentLocale = originalKey || urlLocale`,
|
|
148
|
-
so:
|
|
149
|
-
|
|
150
|
-
- an explicit input was silently overwritten by the environment. Measured:
|
|
151
|
-
<bd-footer current-locale="ro"> served from /de/ reported "de".
|
|
152
|
-
- any first path segment became the locale verbatim, supported or not.
|
|
153
|
-
Measured: /iframe.html reported currentLocale "iframe.html", and /zz-zz/
|
|
154
|
-
reported "zz-zz".
|
|
155
|
-
|
|
156
|
-
The second is why Storybook showed "iframe.html" as a locale, and the fix
|
|
157
|
-
is not a Storybook exception -- there is none here. A segment that does
|
|
158
|
-
not resolve against localeMap is simply not a locale, on any host. The
|
|
159
|
-
resolution itself is localeFromPath (footer-locale.ts), which bd-footer-lp
|
|
160
|
-
shares; only its authority is decided here. */
|
|
161
|
-
_initLocaleFromUrl() {
|
|
162
|
-
if (this._localeExplicit)
|
|
163
|
-
return;
|
|
164
|
-
const resolved = localeFromPath(window.location.pathname);
|
|
165
|
-
/* Nothing resolved: the segment is not a locale, so neither the locale nor
|
|
166
|
-
the country is touched. This is the line that used to assign the raw
|
|
167
|
-
path segment. */
|
|
168
|
-
if (!resolved)
|
|
169
|
-
return;
|
|
170
|
-
[this.currentLocale, this.selectedCountry] = resolved;
|
|
171
|
-
}
|
|
172
|
-
/* The country list is a <details>, so the browser keeps its state, its
|
|
173
|
-
expanded/collapsed announcement and its keyboard, and finds a country in
|
|
174
|
-
it with Ctrl+F while it is shut. What is left here is where the page
|
|
175
|
-
scrolls: to the list when it opens, back to the footer when it shuts --
|
|
176
|
-
except from the list's own close button on a phone, where the reader is
|
|
177
|
-
already where they want to be. */
|
|
178
|
-
_onCountriesToggle(e) {
|
|
179
|
-
if (e.target.open)
|
|
180
|
-
this._scrollToCountries();
|
|
181
|
-
else if (!this._closingInPlace)
|
|
182
|
-
this._scrollToTop();
|
|
183
|
-
this._closingInPlace = false;
|
|
184
|
-
}
|
|
185
|
-
/* Focus goes back to the summary, which is what opened the list: the
|
|
186
|
-
button that had it is inside the list, and closing it hides it. */
|
|
187
|
-
_closeCountries(e) {
|
|
188
|
-
const details = e.currentTarget.closest('details');
|
|
189
|
-
this._closingInPlace = this._isMobile;
|
|
190
|
-
details.open = false;
|
|
191
|
-
details.querySelector('summary').focus({ preventScroll: true });
|
|
192
|
-
}
|
|
193
|
-
getCountriesList() {
|
|
194
|
-
return Object.entries(localeMap).map(([locale, country]) => ({
|
|
195
|
-
locale,
|
|
196
|
-
label: country
|
|
197
|
-
}));
|
|
198
|
-
}
|
|
199
|
-
/* The languages a country's label is written in: its place, and the
|
|
200
|
-
language after the dash. lang is how the label is read aloud, and
|
|
201
|
-
hreflang, not lang, says what the link leads to, so a label written in
|
|
202
|
-
another language than its locale's says so (LABEL_LANG). */
|
|
203
|
-
_labelLang({ locale }) {
|
|
204
|
-
return { place: locale, language: locale, ...LABEL_LANG[locale] };
|
|
205
|
-
}
|
|
206
|
-
/* The place in a lang of its own only when it differs from the rest. No
|
|
207
|
-
whitespace is added: the label reads as localeMap spells it. */
|
|
208
|
-
_renderCountryLabel(c) {
|
|
209
|
-
const { place, language } = this._labelLang(c);
|
|
210
|
-
const [name, tongue] = c.label.split(' - ');
|
|
211
|
-
if (place === language || tongue === undefined)
|
|
212
|
-
return c.label;
|
|
213
|
-
return html `<span lang="${place}">${name}</span> - ${tongue}`;
|
|
214
|
-
}
|
|
215
|
-
/* The country the page is in: the one picked from the URL, or the one an
|
|
216
|
-
explicit current-locale names exactly. */
|
|
217
|
-
_isCurrentCountry({ locale, label }) {
|
|
218
|
-
return this.selectedCountry === label || locale.toLowerCase() === this.locale;
|
|
219
|
-
}
|
|
220
|
-
get locale() {
|
|
221
|
-
const val = (this.currentLocale || 'en').toLowerCase();
|
|
222
|
-
return val;
|
|
223
|
-
}
|
|
224
|
-
/* No _updateNavLinks. It queried '.footer-nav-main bd-link' inside this
|
|
225
|
-
shadow root and wrote a locale into the href of everything it found, and it
|
|
226
|
-
could never find anything: .footer-nav-main is rendered by bd-footer-nav
|
|
227
|
-
into bd-footer-nav's own shadow root, and this template has only
|
|
228
|
-
.footer-nav-main-container, the box its slot sits in. Measured 0 matches
|
|
229
|
-
across the 22 built footer stories.
|
|
230
|
-
|
|
231
|
-
So the four locale-aware nav hrefs it promised -- consumer,
|
|
232
|
-
small-business, business, partners -- were never written, and no story
|
|
233
|
-
depended on them. Localising slotted navigation is real work with a real
|
|
234
|
-
API question (whose hrefs are they, and does a component rewrite markup it
|
|
235
|
-
does not own); it is not this, and leaving this here made it look
|
|
236
|
-
answered. */
|
|
237
|
-
render() {
|
|
238
|
-
const year = new Date().getFullYear();
|
|
239
|
-
const showAnpc = this.locale.startsWith('ro');
|
|
240
|
-
const countriesList = this.getCountriesList();
|
|
241
|
-
const chunkSize = Math.ceil(countriesList.length / 3);
|
|
242
|
-
const countryChunks = [
|
|
243
|
-
countriesList.slice(0, chunkSize),
|
|
244
|
-
countriesList.slice(chunkSize, chunkSize * 2),
|
|
245
|
-
countriesList.slice(chunkSize * 2)
|
|
246
|
-
];
|
|
247
|
-
const quickLinksSlot = this.shadowRoot?.querySelector('slot[name="quick-links"]');
|
|
248
|
-
const quickLinksElements = quickLinksSlot?.assignedElements({ flatten: true }) || [];
|
|
249
|
-
const linksGroups = [];
|
|
250
|
-
quickLinksElements.forEach(el => {
|
|
251
|
-
if (el.tagName === 'BD-FOOTER-LINKS-GROUP') {
|
|
252
|
-
linksGroups.push(el);
|
|
253
|
-
}
|
|
254
|
-
else {
|
|
255
|
-
const children = el.querySelectorAll ? el.querySelectorAll('bd-footer-links-group') : [];
|
|
256
|
-
children.forEach(child => linksGroups.push(child));
|
|
257
|
-
}
|
|
258
|
-
});
|
|
259
|
-
return html `
|
|
1
|
+
import{defineElement as e}from"../shared/define-element.js";import{DEFAULT_THEME as t}from"../../tokens/themes/index.js";import"../../tokens/tokens.js";import{below as n,matchesBelow as r}from"../shared/token-scales.js";import i from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{ensembleCSS as a}from"../shared/ensemble.css.js";import"../icons/arrow-down-icon.js";import"../icons/arrow-up-icon.js";import"../icons/close-icon.js";import"../link/link.js";import{MediaQueryController as o}from"../shared/controller.media-query.js";import"../divider/divider-horizontal.js";import"../divider/divider-vertical.js";import{footerAnpc as s,footerLogo as c,footerMasterbrand as l}from"./footer-images.js";import"./footer-links-group.js";import{localeMap as u}from"./localeMap.js";import{localeFromPath as d,toggleImpressum as f}from"./footer-locale.js";import"./footer-nav-menu.js";import"../grid/grid.js";import p from"./footer.css.js";import"../icons/globe-icon.js";import{LitElement as m,html as h,nothing as g}from"lit";import{property as _,state as v}from"lit/decorators.js";var y={"zh-HK":{place:`en`,language:`en`},"zh-TW":{place:`en`}},b=class extends m{constructor(...e){super(...e),this.selectedCountry=`Choose your country`,this.currentLocale=`en`,this.maxColumnsPerRow=2,this._isMobile=r(`md`),this._viewport=new o(this,n(`md`),e=>{this._isMobile=e})}connectedCallback(){super.connectedCallback(),this.setAttribute(`data-brand`,t),this._localeExplicit=this.hasAttribute(`current-locale`)||this.currentLocale!==`en`,this._initLocaleFromUrl()}firstUpdated(e){super.firstUpdated(e)}updated(e){e.has(`currentLocale`)&&this._toggleImpressumVisibility()}get _maxColumns(){let e=Math.floor(Number(this.maxColumnsPerRow));return Number.isFinite(e)&&e>=1?e:2}_toggleImpressumVisibility(){f(this.shadowRoot.querySelector(`slot[name="secondary-nav"]`),this.locale)}_scrollToCountries(){this.shadowRoot.querySelector(`.footer-countries-container`)?.scrollIntoView({behavior:this._scrollBehavior,block:`start`})}_scrollToTop(){this.scrollIntoView({behavior:this._scrollBehavior,block:`start`})}get _scrollBehavior(){return window.matchMedia(`(prefers-reduced-motion: reduce)`).matches?`auto`:`smooth`}_initLocaleFromUrl(){if(this._localeExplicit)return;let e=d(window.location.pathname);e&&([this.currentLocale,this.selectedCountry]=e)}_onCountriesToggle(e){e.target.open?this._scrollToCountries():this._closingInPlace||this._scrollToTop(),this._closingInPlace=!1}_closeCountries(e){let t=e.currentTarget.closest(`details`);this._closingInPlace=this._isMobile,t.open=!1,t.querySelector(`summary`).focus({preventScroll:!0})}getCountriesList(){return Object.entries(u).map(([e,t])=>({locale:e,label:t}))}_labelLang({locale:e}){return{place:e,language:e,...y[e]}}_renderCountryLabel(e){let{place:t,language:n}=this._labelLang(e),[r,i]=e.label.split(` - `);return t===n||i===void 0?e.label:h`<span lang="${t}">${r}</span> - ${i}`}_isCurrentCountry({locale:e,label:t}){return this.selectedCountry===t||e.toLowerCase()===this.locale}get locale(){return(this.currentLocale||`en`).toLowerCase()}render(){let e=(/* @__PURE__ */ new Date()).getFullYear(),t=this.locale.startsWith(`ro`),n=this.getCountriesList(),r=Math.ceil(n.length/3),i=[n.slice(0,r),n.slice(r,r*2),n.slice(r*2)],a=(this.shadowRoot?.querySelector(`slot[name="quick-links"]`))?.assignedElements({flatten:!0})||[],o=[];return a.forEach(e=>{e.tagName===`BD-FOOTER-LINKS-GROUP`?o.push(e):(e.querySelectorAll?e.querySelectorAll(`bd-footer-links-group`):[]).forEach(e=>o.push(e))}),h`
|
|
260
2
|
<div class="footer-top-bleed">
|
|
261
3
|
<div class="bd-ensemble container">
|
|
262
4
|
<div class="footer-top">
|
|
263
5
|
<div class="footer-logo">
|
|
264
6
|
<slot name="logo">
|
|
265
|
-
<span>${
|
|
7
|
+
<span>${c}</span>
|
|
266
8
|
</slot>
|
|
267
9
|
</div>
|
|
268
10
|
<div class="footer-top-right">
|
|
269
11
|
<slot name="top-right">
|
|
270
12
|
<div slot="top-right">
|
|
271
|
-
<span slot="logo">${
|
|
13
|
+
<span slot="logo">${l}</span>
|
|
272
14
|
</div>
|
|
273
15
|
</slot>
|
|
274
16
|
</div>
|
|
@@ -287,7 +29,7 @@ let BdFooter = class BdFooter extends LitElement {
|
|
|
287
29
|
<bd-grid
|
|
288
30
|
cols="1"
|
|
289
31
|
cols-sm="1"
|
|
290
|
-
cols-md="${Math.min(2,
|
|
32
|
+
cols-md="${Math.min(2,this._maxColumns)}"
|
|
291
33
|
cols-lg="${this._maxColumns}"
|
|
292
34
|
gap="lg"
|
|
293
35
|
align="start"
|
|
@@ -298,9 +40,7 @@ let BdFooter = class BdFooter extends LitElement {
|
|
|
298
40
|
</bd-grid>
|
|
299
41
|
</div>
|
|
300
42
|
<bd-divider-horizontal class="tablet-divider" width="100%" color="inverse" opacity="0.25"></bd-divider-horizontal>
|
|
301
|
-
${this._isMobile
|
|
302
|
-
? html `<bd-divider-horizontal width="100%" color="inverse" opacity="0.25"></bd-divider-horizontal>`
|
|
303
|
-
: ''}
|
|
43
|
+
${this._isMobile?h`<bd-divider-horizontal width="100%" color="inverse" opacity="0.25"></bd-divider-horizontal>`:``}
|
|
304
44
|
|
|
305
45
|
<div class="footer-links-right social-icons">
|
|
306
46
|
<slot name="social-links">
|
|
@@ -314,16 +54,12 @@ let BdFooter = class BdFooter extends LitElement {
|
|
|
314
54
|
</div>
|
|
315
55
|
</div>
|
|
316
56
|
|
|
317
|
-
${
|
|
318
|
-
? html `<bd-divider-horizontal width="100%" color="inverse" opacity="0.25"></bd-divider-horizontal>`
|
|
319
|
-
: ''}
|
|
57
|
+
${this._isMobile?``:h`<bd-divider-horizontal width="100%" color="inverse" opacity="0.25"></bd-divider-horizontal>`}
|
|
320
58
|
|
|
321
59
|
<div class="footer-middle-line">
|
|
322
60
|
<div class="secondary-nav-container">
|
|
323
61
|
<slot name="secondary-nav"></slot>
|
|
324
|
-
${this._isMobile
|
|
325
|
-
? html `<bd-divider-horizontal width="100%" color="inverse" opacity="0.25"></bd-divider-horizontal>`
|
|
326
|
-
: ''}
|
|
62
|
+
${this._isMobile?h`<bd-divider-horizontal width="100%" color="inverse" opacity="0.25"></bd-divider-horizontal>`:``}
|
|
327
63
|
</div>
|
|
328
64
|
<div class="footer-address">
|
|
329
65
|
<slot name="address">
|
|
@@ -340,17 +76,15 @@ let BdFooter = class BdFooter extends LitElement {
|
|
|
340
76
|
<div class="footer-extra">
|
|
341
77
|
<div class="footer-copy">
|
|
342
78
|
<slot name="copyright">
|
|
343
|
-
Copyright © 1997 - ${
|
|
79
|
+
Copyright © 1997 - ${e} Bitdefender
|
|
344
80
|
</slot>
|
|
345
81
|
</div>
|
|
346
82
|
|
|
347
|
-
${
|
|
348
|
-
? html `
|
|
83
|
+
${t?h`
|
|
349
84
|
<div class="footer-anpc">
|
|
350
|
-
<slot name="anpc">${
|
|
85
|
+
<slot name="anpc">${s}</slot>
|
|
351
86
|
</div>
|
|
352
|
-
|
|
353
|
-
: null}
|
|
87
|
+
`:null}
|
|
354
88
|
|
|
355
89
|
<!-- The list is the summary's own content, so it opens under the
|
|
356
90
|
toggle in the same row; the stylesheet runs it the row's full width.
|
|
@@ -381,38 +115,19 @@ let BdFooter = class BdFooter extends LitElement {
|
|
|
381
115
|
>
|
|
382
116
|
<bd-close-icon size="18"></bd-close-icon>
|
|
383
117
|
</button>
|
|
384
|
-
${
|
|
385
|
-
<bd-footer-links-group title="${
|
|
386
|
-
${
|
|
387
|
-
href="/${
|
|
388
|
-
hreflang="${
|
|
389
|
-
lang="${this._labelLang(
|
|
390
|
-
aria-current="${this._isCurrentCountry(
|
|
391
|
-
>${this._renderCountryLabel(
|
|
118
|
+
${i.map(e=>h`
|
|
119
|
+
<bd-footer-links-group title="${e===i[0]?`Choose your country`:``}">
|
|
120
|
+
${e.map(e=>h`<a
|
|
121
|
+
href="/${e.locale.toLowerCase()}/"
|
|
122
|
+
hreflang="${e.locale}"
|
|
123
|
+
lang="${this._labelLang(e).language}"
|
|
124
|
+
aria-current="${this._isCurrentCountry(e)?`true`:g}"
|
|
125
|
+
>${this._renderCountryLabel(e)}</a>`)}
|
|
392
126
|
</bd-footer-links-group>
|
|
393
127
|
`)}
|
|
394
128
|
</div>
|
|
395
129
|
</details>
|
|
396
130
|
</div>
|
|
397
131
|
</footer>
|
|
398
|
-
|
|
399
|
-
}
|
|
400
|
-
static { this.styles = [ensembleCSS, footerCSS]; }
|
|
401
|
-
};
|
|
402
|
-
__decorate([
|
|
403
|
-
state()
|
|
404
|
-
], BdFooter.prototype, "selectedCountry", void 0);
|
|
405
|
-
__decorate([
|
|
406
|
-
property({ type: String, attribute: "current-locale" })
|
|
407
|
-
], BdFooter.prototype, "currentLocale", void 0);
|
|
408
|
-
__decorate([
|
|
409
|
-
property({ type: Number, attribute: "max-columns-per-row" })
|
|
410
|
-
], BdFooter.prototype, "maxColumnsPerRow", void 0);
|
|
411
|
-
__decorate([
|
|
412
|
-
state()
|
|
413
|
-
], BdFooter.prototype, "_isMobile", void 0);
|
|
414
|
-
BdFooter = __decorate([
|
|
415
|
-
defineElement('bd-footer')
|
|
416
|
-
], BdFooter);
|
|
417
|
-
export { BdFooter };
|
|
132
|
+
`}static{this.styles=[a,p]}};i([v()],b.prototype,`selectedCountry`,void 0),i([_({type:String,attribute:`current-locale`})],b.prototype,`currentLocale`,void 0),i([_({type:Number,attribute:`max-columns-per-row`})],b.prototype,`maxColumnsPerRow`,void 0),i([v()],b.prototype,`_isMobile`,void 0),b=i([e(`bd-footer`)],b);export{b as BdFooter};
|
|
418
133
|
//# sourceMappingURL=footer.js.map
|