@repobit/dex-system-design 3.0.1 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/src/_bundled/oxc-project_runtime/helpers/esm/decorate.js +1 -0
- package/dist/src/components/accordion/accordion-bg.css.js +1 -288
- package/dist/src/components/accordion/accordion-bg.css.js.map +1 -1
- package/dist/src/components/accordion/accordion-bg.d.ts +5 -5
- package/dist/src/components/accordion/accordion-bg.js +15 -210
- package/dist/src/components/accordion/accordion-bg.js.map +1 -1
- package/dist/src/components/accordion/accordion-keyboard.js +1 -89
- package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
- package/dist/src/components/accordion/accordion-panel.js +1 -22
- package/dist/src/components/accordion/accordion-panel.js.map +1 -1
- package/dist/src/components/accordion/accordion.css.js +1 -380
- package/dist/src/components/accordion/accordion.css.js.map +1 -1
- package/dist/src/components/accordion/accordion.d.ts +7 -7
- package/dist/src/components/accordion/accordion.js +16 -138
- package/dist/src/components/accordion/accordion.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -88
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +4 -4
- package/dist/src/components/agent-endpoints/agent-endpoints.js +17 -76
- package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
- package/dist/src/components/alert/alert.css.js +1 -217
- package/dist/src/components/alert/alert.css.js.map +1 -1
- package/dist/src/components/alert/alert.d.ts +4 -4
- package/dist/src/components/alert/alert.js +6 -110
- package/dist/src/components/alert/alert.js.map +1 -1
- package/dist/src/components/anchor/anchor-nav.css.js +1 -546
- package/dist/src/components/anchor/anchor-nav.css.js.map +1 -1
- package/dist/src/components/anchor/anchor-nav.d.ts +4 -4
- package/dist/src/components/anchor/anchor-nav.js +23 -567
- package/dist/src/components/anchor/anchor-nav.js.map +1 -1
- package/dist/src/components/annotation/annotation.css.js +1 -64
- package/dist/src/components/annotation/annotation.css.js.map +1 -1
- package/dist/src/components/annotation/annotation.d.ts +2 -2
- package/dist/src/components/annotation/annotation.js +7 -72
- package/dist/src/components/annotation/annotation.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.css.js +1 -122
- package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.d.ts +2 -2
- package/dist/src/components/audience-card/audience-card.js +8 -83
- package/dist/src/components/audience-card/audience-card.js.map +1 -1
- package/dist/src/components/avatar/avatar.css.js +1 -65
- package/dist/src/components/avatar/avatar.css.js.map +1 -1
- package/dist/src/components/avatar/avatar.d.ts +3 -3
- package/dist/src/components/avatar/avatar.js +6 -76
- package/dist/src/components/avatar/avatar.js.map +1 -1
- package/dist/src/components/awards/awards-flex.css.js +1 -273
- package/dist/src/components/awards/awards-flex.css.js.map +1 -1
- package/dist/src/components/awards/awards-flex.d.ts +12 -12
- package/dist/src/components/awards/awards-flex.js +33 -264
- package/dist/src/components/awards/awards-flex.js.map +1 -1
- package/dist/src/components/awards/awards-spotlight.css.js +1 -161
- package/dist/src/components/awards/awards-spotlight.css.js.map +1 -1
- package/dist/src/components/awards/awards-spotlight.d.ts +4 -4
- package/dist/src/components/awards/awards-spotlight.js +24 -140
- package/dist/src/components/awards/awards-spotlight.js.map +1 -1
- package/dist/src/components/awards/awards.css.js +1 -401
- package/dist/src/components/awards/awards.css.js.map +1 -1
- package/dist/src/components/awards/awards.d.ts +13 -13
- package/dist/src/components/awards/awards.js +26 -179
- package/dist/src/components/awards/awards.js.map +1 -1
- package/dist/src/components/awards/scroll-slides.js +1 -131
- package/dist/src/components/awards/scroll-slides.js.map +1 -1
- package/dist/src/components/back/back.css.js +1 -91
- package/dist/src/components/back/back.css.js.map +1 -1
- package/dist/src/components/back/back.d.ts +1 -1
- package/dist/src/components/back/back.js +8 -71
- package/dist/src/components/back/back.js.map +1 -1
- package/dist/src/components/badge/badge.css.js +1 -204
- package/dist/src/components/badge/badge.css.js.map +1 -1
- package/dist/src/components/badge/badge.d.ts +4 -4
- package/dist/src/components/badge/badge.js +2 -117
- package/dist/src/components/badge/badge.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.css.js +16 -150
- package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.d.ts +3 -3
- package/dist/src/components/bento-grid/bento-grid.js +10 -189
- package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.css.js +1 -338
- package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.d.ts +3 -3
- package/dist/src/components/bento-grid/bento-item.js +10 -94
- package/dist/src/components/bento-grid/bento-item.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.css.js +1 -54
- package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.d.ts +2 -2
- package/dist/src/components/blockquote/blockquote.js +1 -44
- package/dist/src/components/blockquote/blockquote.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.css.js +1 -168
- package/dist/src/components/breadcrumb/breadcrumb.css.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -5
- package/dist/src/components/breadcrumb/breadcrumb.js +9 -166
- package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/src/components/button/button.css.js +1 -843
- package/dist/src/components/button/button.css.js.map +1 -1
- package/dist/src/components/button/button.d.ts +5 -5
- package/dist/src/components/button/button.js +18 -420
- package/dist/src/components/button/button.js.map +1 -1
- package/dist/src/components/caption/caption.css.js +1 -29
- package/dist/src/components/caption/caption.css.js.map +1 -1
- package/dist/src/components/caption/caption.d.ts +3 -3
- package/dist/src/components/caption/caption.js +2 -36
- package/dist/src/components/caption/caption.js.map +1 -1
- package/dist/src/components/card-features/card-features.css.js +1 -120
- package/dist/src/components/card-features/card-features.css.js.map +1 -1
- package/dist/src/components/card-features/card-features.d.ts +3 -3
- package/dist/src/components/card-features/card-features.js +12 -145
- package/dist/src/components/card-features/card-features.js.map +1 -1
- package/dist/src/components/cards/card.css.js +1 -369
- package/dist/src/components/cards/card.css.js.map +1 -1
- package/dist/src/components/cards/card.d.ts +3 -3
- package/dist/src/components/cards/card.js +21 -312
- package/dist/src/components/cards/card.js.map +1 -1
- package/dist/src/components/carousel/carousel.css.js +1 -261
- package/dist/src/components/carousel/carousel.css.js.map +1 -1
- package/dist/src/components/carousel/carousel.d.ts +5 -5
- package/dist/src/components/carousel/carousel.js +13 -297
- package/dist/src/components/carousel/carousel.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.css.js +1 -173
- package/dist/src/components/checkbox/checkbox.css.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.d.ts +2 -2
- package/dist/src/components/checkbox/checkbox.js +5 -138
- package/dist/src/components/checkbox/checkbox.js.map +1 -1
- package/dist/src/components/code/code.css.js +1 -73
- package/dist/src/components/code/code.css.js.map +1 -1
- package/dist/src/components/code/code.d.ts +2 -2
- package/dist/src/components/code/code.js +4 -87
- package/dist/src/components/code/code.js.map +1 -1
- package/dist/src/components/compare/compare.css.js +1 -478
- package/dist/src/components/compare/compare.css.js.map +1 -1
- package/dist/src/components/compare/compare.d.ts +5 -5
- package/dist/src/components/compare/compare.js +23 -476
- package/dist/src/components/compare/compare.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -141
- package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.d.ts +2 -2
- package/dist/src/components/comparison-panel/comparison-panel.js +18 -86
- package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -391
- package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.d.ts +2 -2
- package/dist/src/components/compatibility-table/compatibility-table.js +26 -136
- package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.css.js +1 -97
- package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.d.ts +2 -2
- package/dist/src/components/cta-banner/cta-banner.js +8 -51
- package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
- package/dist/src/components/display/display.css.js +1 -95
- package/dist/src/components/display/display.css.js.map +1 -1
- package/dist/src/components/display/display.d.ts +2 -2
- package/dist/src/components/display/display.js +3 -84
- package/dist/src/components/display/display.js.map +1 -1
- package/dist/src/components/divider/divider-horizontal.d.ts +2 -2
- package/dist/src/components/divider/divider-horizontal.js +4 -63
- package/dist/src/components/divider/divider-horizontal.js.map +1 -1
- package/dist/src/components/divider/divider-vertical.d.ts +2 -2
- package/dist/src/components/divider/divider-vertical.js +6 -61
- package/dist/src/components/divider/divider-vertical.js.map +1 -1
- package/dist/src/components/divider/divider.css.js +1 -20
- package/dist/src/components/divider/divider.css.js.map +1 -1
- package/dist/src/components/dropdown/dropdown.css.js +1 -121
- package/dist/src/components/dropdown/dropdown.css.js.map +1 -1
- package/dist/src/components/dropdown/dropdown.d.ts +5 -5
- package/dist/src/components/dropdown/dropdown.js +17 -283
- package/dist/src/components/dropdown/dropdown.js.map +1 -1
- package/dist/src/components/features/features.css.js +1 -123
- package/dist/src/components/features/features.css.js.map +1 -1
- package/dist/src/components/features/features.d.ts +5 -5
- package/dist/src/components/features/features.js +11 -71
- package/dist/src/components/features/features.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.css.js +1 -100
- package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.d.ts +5 -5
- package/dist/src/components/features-tab/features-tab.js +9 -70
- package/dist/src/components/features-tab/features-tab.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.css.js +1 -28
- package/dist/src/components/fieldset/fieldset.css.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.d.ts +2 -2
- package/dist/src/components/fieldset/fieldset.js +3 -31
- package/dist/src/components/fieldset/fieldset.js.map +1 -1
- package/dist/src/components/footer/footer-images.js +5 -27
- package/dist/src/components/footer/footer-images.js.map +1 -1
- package/dist/src/components/footer/footer-links-group.css.js +1 -33
- package/dist/src/components/footer/footer-links-group.css.js.map +1 -1
- package/dist/src/components/footer/footer-links-group.d.ts +3 -3
- package/dist/src/components/footer/footer-links-group.js +3 -32
- package/dist/src/components/footer/footer-links-group.js.map +1 -1
- package/dist/src/components/footer/footer-locale.js +1 -45
- package/dist/src/components/footer/footer-locale.js.map +1 -1
- package/dist/src/components/footer/footer-lp.d.ts +7 -7
- package/dist/src/components/footer/footer-lp.js +8 -121
- package/dist/src/components/footer/footer-lp.js.map +1 -1
- package/dist/src/components/footer/footer-nav-menu.css.js +1 -61
- package/dist/src/components/footer/footer-nav-menu.css.js.map +1 -1
- package/dist/src/components/footer/footer-nav-menu.d.ts +3 -3
- package/dist/src/components/footer/footer-nav-menu.js +3 -47
- package/dist/src/components/footer/footer-nav-menu.js.map +1 -1
- package/dist/src/components/footer/footer.css.js +1 -664
- package/dist/src/components/footer/footer.css.js.map +1 -1
- package/dist/src/components/footer/footer.d.ts +13 -13
- package/dist/src/components/footer/footer.js +20 -305
- package/dist/src/components/footer/footer.js.map +1 -1
- package/dist/src/components/footer/localeMap.js +1 -1
- package/dist/src/components/footer/localeMap.js.map +1 -1
- package/dist/src/components/grid/grid.css.js +1 -78
- package/dist/src/components/grid/grid.css.js.map +1 -1
- package/dist/src/components/grid/grid.d.ts +2 -2
- package/dist/src/components/grid/grid.js +9 -126
- package/dist/src/components/grid/grid.js.map +1 -1
- package/dist/src/components/header/header-code.css.js +1 -369
- package/dist/src/components/header/header-code.css.js.map +1 -1
- package/dist/src/components/header/header-code.d.ts +4 -4
- package/dist/src/components/header/header-code.js +15 -163
- package/dist/src/components/header/header-code.js.map +1 -1
- package/dist/src/components/header/header.css.js +1 -757
- package/dist/src/components/header/header.css.js.map +1 -1
- package/dist/src/components/header/header.d.ts +7 -7
- package/dist/src/components/header/header.js +4 -212
- package/dist/src/components/header/header.js.map +1 -1
- package/dist/src/components/heading/heading.css.js +1 -89
- package/dist/src/components/heading/heading.css.js.map +1 -1
- package/dist/src/components/heading/heading.d.ts +2 -2
- package/dist/src/components/heading/heading.js +1 -108
- package/dist/src/components/heading/heading.js.map +1 -1
- package/dist/src/components/help-text/help-text.css.js +1 -19
- package/dist/src/components/help-text/help-text.css.js.map +1 -1
- package/dist/src/components/help-text/help-text.d.ts +2 -2
- package/dist/src/components/help-text/help-text.js +3 -31
- package/dist/src/components/help-text/help-text.js.map +1 -1
- package/dist/src/components/hero/hero.css.js +1 -362
- package/dist/src/components/hero/hero.css.js.map +1 -1
- package/dist/src/components/hero/hero.d.ts +3 -3
- package/dist/src/components/hero/hero.js +12 -164
- package/dist/src/components/hero/hero.js.map +1 -1
- package/dist/src/components/highlight/highlight.css.js +1 -175
- package/dist/src/components/highlight/highlight.css.js.map +1 -1
- package/dist/src/components/highlight/highlight.d.ts +3 -3
- package/dist/src/components/highlight/highlight.js +4 -115
- package/dist/src/components/highlight/highlight.js.map +1 -1
- package/dist/src/components/icons/analysis-icon.d.ts +1 -1
- package/dist/src/components/icons/analysis-icon.js +2 -20
- package/dist/src/components/icons/analysis-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-down-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-down-icon.js +2 -20
- package/dist/src/components/icons/arrow-down-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-icon.js +2 -48
- package/dist/src/components/icons/arrow-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-right-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-right-icon.js +2 -45
- package/dist/src/components/icons/arrow-right-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-up-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-up-icon.js +2 -33
- package/dist/src/components/icons/arrow-up-icon.js.map +1 -1
- package/dist/src/components/icons/av-comparatives-icon.js +2 -31
- package/dist/src/components/icons/av-comparatives-icon.js.map +1 -1
- package/dist/src/components/icons/bd-ai-icon.js +2 -31
- package/dist/src/components/icons/bd-ai-icon.js.map +1 -1
- package/dist/src/components/icons/best-brands-icon.js +2 -31
- package/dist/src/components/icons/best-brands-icon.js.map +1 -1
- package/dist/src/components/icons/brand-signature-icon.d.ts +1 -1
- package/dist/src/components/icons/brand-signature-icon.js +2 -46
- package/dist/src/components/icons/brand-signature-icon.js.map +1 -1
- package/dist/src/components/icons/check-icon.d.ts +1 -1
- package/dist/src/components/icons/check-icon.js +2 -31
- package/dist/src/components/icons/check-icon.js.map +1 -1
- package/dist/src/components/icons/circle-info-icon.d.ts +1 -1
- package/dist/src/components/icons/circle-info-icon.js +2 -35
- package/dist/src/components/icons/circle-info-icon.js.map +1 -1
- package/dist/src/components/icons/close-icon.d.ts +1 -1
- package/dist/src/components/icons/close-icon.js +2 -20
- package/dist/src/components/icons/close-icon.js.map +1 -1
- package/dist/src/components/icons/enterprise-icon.d.ts +1 -1
- package/dist/src/components/icons/enterprise-icon.js +2 -22
- package/dist/src/components/icons/enterprise-icon.js.map +1 -1
- package/dist/src/components/icons/family-icon.d.ts +1 -1
- package/dist/src/components/icons/family-icon.js +2 -20
- package/dist/src/components/icons/family-icon.js.map +1 -1
- package/dist/src/components/icons/globe-icon.d.ts +1 -1
- package/dist/src/components/icons/globe-icon.js +2 -20
- package/dist/src/components/icons/globe-icon.js.map +1 -1
- package/dist/src/components/icons/guide-icon.d.ts +1 -1
- package/dist/src/components/icons/guide-icon.js +2 -20
- package/dist/src/components/icons/guide-icon.js.map +1 -1
- package/dist/src/components/icons/home-icon.d.ts +1 -1
- package/dist/src/components/icons/home-icon.js +2 -22
- package/dist/src/components/icons/home-icon.js.map +1 -1
- package/dist/src/components/icons/icon-element.js +1 -162
- package/dist/src/components/icons/icon-element.js.map +1 -1
- package/dist/src/components/icons/icons.d.ts +23 -23
- package/dist/src/components/icons/icons.js +1 -42
- package/dist/src/components/icons/individual-icon.d.ts +1 -1
- package/dist/src/components/icons/individual-icon.js +2 -20
- package/dist/src/components/icons/individual-icon.js.map +1 -1
- package/dist/src/components/icons/laurel-icon.d.ts +1 -1
- package/dist/src/components/icons/laurel-icon.js +2 -24
- package/dist/src/components/icons/laurel-icon.js.map +1 -1
- package/dist/src/components/icons/machine-learning-icon.d.ts +1 -1
- package/dist/src/components/icons/machine-learning-icon.js +2 -20
- package/dist/src/components/icons/machine-learning-icon.js.map +1 -1
- package/dist/src/components/icons/marks.d.ts +9 -9
- package/dist/src/components/icons/marks.js +1 -41
- package/dist/src/components/icons/minus-icon.d.ts +1 -1
- package/dist/src/components/icons/minus-icon.js +2 -19
- package/dist/src/components/icons/minus-icon.js.map +1 -1
- package/dist/src/components/icons/missing-icon.d.ts +1 -1
- package/dist/src/components/icons/missing-icon.js +3 -53
- package/dist/src/components/icons/missing-icon.js.map +1 -1
- package/dist/src/components/icons/pause-icon.d.ts +1 -1
- package/dist/src/components/icons/pause-icon.js +2 -22
- package/dist/src/components/icons/pause-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-2024-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-2024-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-business-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-business-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-readers-icon.js +2 -30
- package/dist/src/components/icons/pc-mag-readers-icon.js.map +1 -1
- package/dist/src/components/icons/play-icon.d.ts +1 -1
- package/dist/src/components/icons/play-icon.js +2 -22
- package/dist/src/components/icons/play-icon.js.map +1 -1
- package/dist/src/components/icons/plus-icon.d.ts +1 -1
- package/dist/src/components/icons/plus-icon.js +2 -19
- package/dist/src/components/icons/plus-icon.js.map +1 -1
- package/dist/src/components/icons/quote-icon.d.ts +1 -1
- package/dist/src/components/icons/quote-icon.js +2 -30
- package/dist/src/components/icons/quote-icon.js.map +1 -1
- package/dist/src/components/icons/small-business-icon.d.ts +1 -1
- package/dist/src/components/icons/small-business-icon.js +2 -22
- package/dist/src/components/icons/small-business-icon.js.map +1 -1
- package/dist/src/components/icons/top-product-icon.js +2 -31
- package/dist/src/components/icons/top-product-icon.js.map +1 -1
- package/dist/src/components/image/image.css.js +1 -106
- package/dist/src/components/image/image.css.js.map +1 -1
- package/dist/src/components/image/image.d.ts +2 -2
- package/dist/src/components/image/image.js +10 -115
- package/dist/src/components/image/image.js.map +1 -1
- package/dist/src/components/input/input-clipboard.css.js +1 -93
- package/dist/src/components/input/input-clipboard.css.js.map +1 -1
- package/dist/src/components/input/input-clipboard.d.ts +5 -5
- package/dist/src/components/input/input-clipboard.js +20 -257
- package/dist/src/components/input/input-clipboard.js.map +1 -1
- package/dist/src/components/input/input.css.js +1 -9
- package/dist/src/components/input/input.css.js.map +1 -1
- package/dist/src/components/input/input.d.ts +4 -4
- package/dist/src/components/input/input.js +19 -202
- package/dist/src/components/input/input.js.map +1 -1
- package/dist/src/components/install-options/install-options.css.js +1 -308
- package/dist/src/components/install-options/install-options.css.js.map +1 -1
- package/dist/src/components/install-options/install-options.d.ts +4 -4
- package/dist/src/components/install-options/install-options.js +28 -159
- package/dist/src/components/install-options/install-options.js.map +1 -1
- package/dist/src/components/label/label.css.js +1 -33
- package/dist/src/components/label/label.css.js.map +1 -1
- package/dist/src/components/label/label.d.ts +3 -3
- package/dist/src/components/label/label.js +3 -135
- package/dist/src/components/label/label.js.map +1 -1
- package/dist/src/components/light-carousel/light-carousel.css.js +1 -270
- package/dist/src/components/light-carousel/light-carousel.css.js.map +1 -1
- package/dist/src/components/light-carousel/light-carousel.d.ts +3 -3
- package/dist/src/components/light-carousel/light-carousel.js +16 -181
- package/dist/src/components/light-carousel/light-carousel.js.map +1 -1
- package/dist/src/components/link/link.css.js +1 -288
- package/dist/src/components/link/link.css.js.map +1 -1
- package/dist/src/components/link/link.d.ts +3 -3
- package/dist/src/components/link/link.js +6 -233
- package/dist/src/components/link/link.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.css.js +1 -167
- package/dist/src/components/list/list-item/list-item.css.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.d.ts +3 -3
- package/dist/src/components/list/list-item/list-item.js +3 -122
- package/dist/src/components/list/list-item/list-item.js.map +1 -1
- package/dist/src/components/list/list.css.js +1 -180
- package/dist/src/components/list/list.css.js.map +1 -1
- package/dist/src/components/list/list.d.ts +1 -1
- package/dist/src/components/list/list.js +5 -82
- package/dist/src/components/list/list.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -93
- package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.d.ts +3 -3
- package/dist/src/components/logo-marquee/logo-marquee.js +6 -147
- package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
- package/dist/src/components/modal/modal.css.js +1 -203
- package/dist/src/components/modal/modal.css.js.map +1 -1
- package/dist/src/components/modal/modal.d.ts +3 -3
- package/dist/src/components/modal/modal.js +3 -131
- package/dist/src/components/modal/modal.js.map +1 -1
- package/dist/src/components/motion-art/motion-art.d.ts +1 -1
- package/dist/src/components/motion-art/motion-art.js +1 -114
- package/dist/src/components/motion-art/motion-art.js.map +1 -1
- package/dist/src/components/overview/overview.css.js +1 -125
- package/dist/src/components/overview/overview.css.js.map +1 -1
- package/dist/src/components/overview/overview.d.ts +2 -2
- package/dist/src/components/overview/overview.js +9 -50
- package/dist/src/components/overview/overview.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.css.js +1 -174
- package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.d.ts +2 -2
- package/dist/src/components/page-switcher/page-switcher.js +6 -62
- package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -160
- package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.d.ts +2 -2
- package/dist/src/components/pagination-dots/pagination-dots.js +10 -210
- package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
- package/dist/src/components/paragraph/paragraph.css.js +1 -101
- package/dist/src/components/paragraph/paragraph.css.js.map +1 -1
- package/dist/src/components/paragraph/paragraph.d.ts +2 -2
- package/dist/src/components/paragraph/paragraph.js +3 -119
- package/dist/src/components/paragraph/paragraph.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.css.js +1 -245
- package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.d.ts +1 -1
- package/dist/src/components/partner-banner/partner-banner.js +6 -81
- package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
- package/dist/src/components/picture/picture.css.js +1 -208
- package/dist/src/components/picture/picture.css.js.map +1 -1
- package/dist/src/components/picture/picture.d.ts +2 -2
- package/dist/src/components/picture/picture.js +14 -186
- package/dist/src/components/picture/picture.js.map +1 -1
- package/dist/src/components/post-card/post-card.css.js +1 -149
- package/dist/src/components/post-card/post-card.css.js.map +1 -1
- package/dist/src/components/post-card/post-card.d.ts +2 -2
- package/dist/src/components/post-card/post-card.js +5 -97
- package/dist/src/components/post-card/post-card.js.map +1 -1
- package/dist/src/components/pricing-cards/adopt-styles.js +1 -18
- package/dist/src/components/pricing-cards/adopt-styles.js.map +1 -1
- package/dist/src/components/pricing-cards/new-pricing-card.d.ts +2 -2
- package/dist/src/components/pricing-cards/new-pricing-card.js +4 -49
- package/dist/src/components/pricing-cards/new-pricing-card.js.map +1 -1
- package/dist/src/components/pricing-cards/new-pricing.css.js +1 -74
- package/dist/src/components/pricing-cards/new-pricing.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js +1 -11
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +2 -2
- package/dist/src/components/pricing-cards/pricing-card-actions.js +2 -59
- package/dist/src/components/pricing-cards/pricing-card-actions.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.css.js +1 -41
- package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.d.ts +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.js +2 -40
- package/dist/src/components/pricing-cards/pricing-card-container.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-header.css.js +1 -82
- package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-header.d.ts +5 -5
- package/dist/src/components/pricing-cards/pricing-card-header.js +7 -70
- package/dist/src/components/pricing-cards/pricing-card-header.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +1 -92
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +6 -6
- package/dist/src/components/pricing-cards/pricing-card-pricing.js +7 -87
- package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +1 -29
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +4 -4
- package/dist/src/components/pricing-cards/pricing-card-show-more.js +5 -41
- package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card.css.js +1 -660
- package/dist/src/components/pricing-cards/pricing-card.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card.d.ts +7 -7
- package/dist/src/components/pricing-cards/pricing-card.js +53 -639
- package/dist/src/components/pricing-cards/pricing-card.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js +1 -34
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +2 -2
- package/dist/src/components/pricing-cards/pricing-feature-item.js +2 -22
- package/dist/src/components/pricing-cards/pricing-feature-item.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.css.js +1 -106
- package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.d.ts +5 -5
- package/dist/src/components/process-steps/process-steps.js +10 -78
- package/dist/src/components/process-steps/process-steps.js.map +1 -1
- package/dist/src/components/progress/progress.css.js +1 -123
- package/dist/src/components/progress/progress.css.js.map +1 -1
- package/dist/src/components/progress/progress.d.ts +2 -2
- package/dist/src/components/progress/progress.js +6 -72
- package/dist/src/components/progress/progress.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.css.js +1 -130
- package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.d.ts +2 -2
- package/dist/src/components/quick-answer/quick-answer.js +9 -49
- package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
- package/dist/src/components/radio/radio-group.css.js +1 -41
- package/dist/src/components/radio/radio-group.css.js.map +1 -1
- package/dist/src/components/radio/radio-group.d.ts +1 -1
- package/dist/src/components/radio/radio-group.js +5 -92
- package/dist/src/components/radio/radio-group.js.map +1 -1
- package/dist/src/components/radio/radio.css.js +1 -193
- package/dist/src/components/radio/radio.css.js.map +1 -1
- package/dist/src/components/radio/radio.d.ts +4 -4
- package/dist/src/components/radio/radio.js +6 -263
- package/dist/src/components/radio/radio.js.map +1 -1
- package/dist/src/components/radio/toggle-radio.d.ts +2 -2
- package/dist/src/components/radio/toggle-radio.js +3 -39
- package/dist/src/components/radio/toggle-radio.js.map +1 -1
- package/dist/src/components/review/review-grid.css.js +1 -46
- package/dist/src/components/review/review-grid.css.js.map +1 -1
- package/dist/src/components/review/review-grid.d.ts +2 -2
- package/dist/src/components/review/review-grid.js +4 -49
- package/dist/src/components/review/review-grid.js.map +1 -1
- package/dist/src/components/review/review.css.js +1 -54
- package/dist/src/components/review/review.css.js.map +1 -1
- package/dist/src/components/review/review.d.ts +2 -2
- package/dist/src/components/review/review.js +2 -59
- package/dist/src/components/review/review.js.map +1 -1
- package/dist/src/components/section/section.css.js +1 -37
- package/dist/src/components/section/section.css.js.map +1 -1
- package/dist/src/components/section/section.d.ts +1 -1
- package/dist/src/components/section/section.js +1 -50
- package/dist/src/components/section/section.js.map +1 -1
- package/dist/src/components/section-header/section-header.css.js +1 -99
- package/dist/src/components/section-header/section-header.css.js.map +1 -1
- package/dist/src/components/section-header/section-header.d.ts +2 -2
- package/dist/src/components/section-header/section-header.js +4 -85
- package/dist/src/components/section-header/section-header.js.map +1 -1
- package/dist/src/components/shared/announcer.d.ts +1 -1
- package/dist/src/components/shared/announcer.js +1 -34
- package/dist/src/components/shared/announcer.js.map +1 -1
- package/dist/src/components/shared/controller.media-query.d.ts +1 -1
- package/dist/src/components/shared/controller.media-query.js +1 -57
- package/dist/src/components/shared/controller.media-query.js.map +1 -1
- package/dist/src/components/shared/define-element.js +1 -16
- package/dist/src/components/shared/define-element.js.map +1 -1
- package/dist/src/components/shared/ensemble.css.js +1 -101
- package/dist/src/components/shared/ensemble.css.js.map +1 -1
- package/dist/src/components/shared/events.js +0 -13
- package/dist/src/components/shared/fill-width.css.js +2 -27
- package/dist/src/components/shared/fill-width.css.js.map +1 -1
- package/dist/src/components/shared/form-control.d.ts +1 -1
- package/dist/src/components/shared/form-control.js +1 -198
- package/dist/src/components/shared/form-control.js.map +1 -1
- package/dist/src/components/shared/form-field.css.js +1 -258
- package/dist/src/components/shared/form-field.css.js.map +1 -1
- package/dist/src/components/shared/prop-vocabulary.js +1 -49
- package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
- package/dist/src/components/shared/token-scales.js +1 -351
- package/dist/src/components/shared/token-scales.js.map +1 -1
- package/dist/src/components/skeleton/skeleton.css.js +1 -32
- package/dist/src/components/skeleton/skeleton.css.js.map +1 -1
- package/dist/src/components/skeleton/skeleton.d.ts +2 -2
- package/dist/src/components/skeleton/skeleton.js +4 -36
- package/dist/src/components/skeleton/skeleton.js.map +1 -1
- package/dist/src/components/spinner/spinner.css.js +1 -87
- package/dist/src/components/spinner/spinner.css.js.map +1 -1
- package/dist/src/components/spinner/spinner.d.ts +3 -3
- package/dist/src/components/spinner/spinner.js +3 -69
- package/dist/src/components/spinner/spinner.js.map +1 -1
- package/dist/src/components/spotlight-section/spotlight-section.css.js +1 -105
- package/dist/src/components/spotlight-section/spotlight-section.css.js.map +1 -1
- package/dist/src/components/spotlight-section/spotlight-section.d.ts +2 -2
- package/dist/src/components/spotlight-section/spotlight-section.js +11 -72
- package/dist/src/components/spotlight-section/spotlight-section.js.map +1 -1
- package/dist/src/components/stat/stat-highlight.js +6 -82
- package/dist/src/components/stat/stat-highlight.js.map +1 -1
- package/dist/src/components/stat/stat-tile.js +5 -52
- package/dist/src/components/stat/stat-tile.js.map +1 -1
- package/dist/src/components/stat/stat.css.js +1 -145
- package/dist/src/components/stat/stat.css.js.map +1 -1
- package/dist/src/components/stat/stat.d.ts +2 -2
- package/dist/src/components/stat/stat.js +1 -3
- package/dist/src/components/switch/switch.css.js +1 -175
- package/dist/src/components/switch/switch.css.js.map +1 -1
- package/dist/src/components/switch/switch.d.ts +4 -4
- package/dist/src/components/switch/switch.js +4 -99
- package/dist/src/components/switch/switch.js.map +1 -1
- package/dist/src/components/tab-list/tab-list.css.js +1 -289
- package/dist/src/components/tab-list/tab-list.css.js.map +1 -1
- package/dist/src/components/tab-list/tab-list.d.ts +1 -1
- package/dist/src/components/tab-list/tab-list.js +13 -191
- package/dist/src/components/tab-list/tab-list.js.map +1 -1
- package/dist/src/components/tabs/tabs.css.js +1 -77
- package/dist/src/components/tabs/tabs.css.js.map +1 -1
- package/dist/src/components/tabs/tabs.d.ts +6 -6
- package/dist/src/components/tabs/tabs.js +8 -220
- package/dist/src/components/tabs/tabs.js.map +1 -1
- package/dist/src/components/tag/tag.css.js +1 -52
- package/dist/src/components/tag/tag.css.js.map +1 -1
- package/dist/src/components/tag/tag.d.ts +2 -2
- package/dist/src/components/tag/tag.js +2 -37
- package/dist/src/components/tag/tag.js.map +1 -1
- package/dist/src/components/terminal/terminal-cursor.js +1 -65
- package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
- package/dist/src/components/terminal/terminal-message.css.js +1 -409
- package/dist/src/components/terminal/terminal-message.css.js.map +1 -1
- package/dist/src/components/terminal/terminal-message.d.ts +5 -5
- package/dist/src/components/terminal/terminal-message.js +28 -183
- package/dist/src/components/terminal/terminal-message.js.map +1 -1
- package/dist/src/components/termsOfUse/terms.css.js +1 -55
- package/dist/src/components/termsOfUse/terms.css.js.map +1 -1
- package/dist/src/components/termsOfUse/terms.d.ts +5 -5
- package/dist/src/components/termsOfUse/terms.js +9 -82
- package/dist/src/components/termsOfUse/terms.js.map +1 -1
- package/dist/src/components/textarea/textarea.css.js +1 -49
- package/dist/src/components/textarea/textarea.css.js.map +1 -1
- package/dist/src/components/textarea/textarea.d.ts +5 -5
- package/dist/src/components/textarea/textarea.js +15 -160
- package/dist/src/components/textarea/textarea.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.css.js +1 -96
- package/dist/src/components/tooltip/tooltip.css.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.d.ts +2 -2
- package/dist/src/components/tooltip/tooltip.js +5 -285
- package/dist/src/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.css.js +1 -228
- package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.d.ts +4 -4
- package/dist/src/components/trust-panel/trust-panel.js +25 -104
- package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
- package/dist/src/components/video/video.css.js +1 -20
- package/dist/src/components/video/video.css.js.map +1 -1
- package/dist/src/components/video/video.d.ts +2 -2
- package/dist/src/components/video/video.js +5 -88
- package/dist/src/components/video/video.js.map +1 -1
- package/dist/src/components/video-player/video-player.css.js +1 -167
- package/dist/src/components/video-player/video-player.css.js.map +1 -1
- package/dist/src/components/video-player/video-player.d.ts +2 -2
- package/dist/src/components/video-player/video-player.js +15 -150
- package/dist/src/components/video-player/video-player.js.map +1 -1
- package/dist/src/components/visually-hidden/visually-hidden.css.js +1 -22
- package/dist/src/components/visually-hidden/visually-hidden.css.js.map +1 -1
- package/dist/src/components/visually-hidden/visually-hidden.d.ts +2 -2
- package/dist/src/components/visually-hidden/visually-hidden.js +2 -22
- package/dist/src/components/visually-hidden/visually-hidden.js.map +1 -1
- package/dist/src/tokens/brand-layer.js +8 -162
- package/dist/src/tokens/brand-layer.js.map +1 -1
- package/dist/src/tokens/dark-derivation.js +1 -325
- package/dist/src/tokens/dark-derivation.js.map +1 -1
- package/dist/src/tokens/dark-findings.d.ts +1 -1
- package/dist/src/tokens/dark-findings.js +1 -204
- package/dist/src/tokens/dark-findings.js.map +1 -1
- package/dist/src/tokens/fonts.css +1 -166
- package/dist/src/tokens/layout.css +1 -61
- package/dist/src/tokens/story-chrome.js +27 -221
- package/dist/src/tokens/story-chrome.js.map +1 -1
- package/dist/src/tokens/themes/bitdefender.js +1 -30
- package/dist/src/tokens/themes/bitdefender.js.map +1 -1
- package/dist/src/tokens/themes/contract.js +1 -7
- package/dist/src/tokens/themes/contract.js.map +1 -1
- package/dist/src/tokens/themes/index.js +1 -39
- package/dist/src/tokens/themes/index.js.map +1 -1
- package/dist/src/tokens/token-map.js +1 -236
- package/dist/src/tokens/token-map.js.map +1 -1
- package/dist/src/tokens/token-purposes.js +1 -259
- package/dist/src/tokens/token-purposes.js.map +1 -1
- package/dist/src/tokens/tokens.css +1 -1809
- package/dist/src/tokens/tokens.js +1 -1865
- package/dist/src/tokens/tokens.js.map +1 -1
- package/dist/src/tokens/type-ceiling-words.js +1 -293
- package/dist/src/tokens/type-ceiling-words.js.map +1 -1
- package/package.json +16 -5
- package/schemas/component-manifest.json +1 -1
- package/dist/src/components/icons/icons.js.map +0 -1
- package/dist/src/components/icons/marks.js.map +0 -1
- package/dist/src/components/shared/events.js.map +0 -1
- package/dist/src/components/stat/stat.js.map +0 -1
|
@@ -1,392 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { below } from "../shared/token-scales.js";
|
|
3
|
-
export default css `
|
|
4
|
-
:host {
|
|
5
|
-
display: block;
|
|
6
|
-
font-family: var(--typography-fontFamily-sans);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
:host([background="blue"]) {
|
|
10
|
-
background: var(--status-brand-surface);
|
|
11
|
-
}
|
|
12
|
-
/* variant="light" + background="bordered": renders its own card border
|
|
13
|
-
and hover lift, so callers don't need a manual wrapper <div> just to
|
|
14
|
-
get the bordered-card look (e.g. side-by-side requirement cards). */
|
|
15
|
-
:host([variant="light"][background="bordered"]) {
|
|
16
|
-
display: block;
|
|
17
|
-
border: var(--border-width-1) solid var(--color-border-container);
|
|
18
|
-
border-radius: var(--shape-radius-xl);
|
|
19
|
-
padding: var(--spacing-24);
|
|
20
|
-
box-sizing: border-box;
|
|
21
|
-
transition:
|
|
22
|
-
transform var(--transition-duration-normal) var(--transition-easing-ease),
|
|
23
|
-
box-shadow var(--transition-duration-normal) var(--transition-easing-ease),
|
|
24
|
-
border-color var(--transition-duration-normal) var(--transition-easing-ease);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
:host([variant="light"][background="bordered"]:hover) {
|
|
28
|
-
transform: translateY(calc(-1 * var(--spacing-4)));
|
|
29
|
-
box-shadow: var(--shadow-lg);
|
|
30
|
-
border-color: var(--color-border-subtle);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
@media (prefers-reduced-motion: reduce) {
|
|
34
|
-
:host([variant="light"][background="bordered"]) {
|
|
35
|
-
transition: none;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
:host([variant="light"][background="bordered"]) .bd-compattable-wrapper {
|
|
40
|
-
padding: var(--spacing-0);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.bd-compattable-wrapper {
|
|
44
|
-
padding-block: var(--spacing-48) var(--spacing-0);
|
|
45
|
-
box-sizing: border-box;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.bd-compattable-title {
|
|
49
|
-
display: block;
|
|
50
|
-
margin: 0 0 var(--spacing-12);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.bd-compattable-description {
|
|
54
|
-
display: block;
|
|
55
|
-
margin: 0 0 var(--spacing-32);
|
|
56
|
-
color: var(--color-text-muted);
|
|
57
|
-
max-width: var(--content-width-readable);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/* The card. The table inside collapses its borders, which a table's own
|
|
61
|
-
radius does not survive, so the edge, the corners and the clip stay on
|
|
62
|
-
this wrapper. */
|
|
63
|
-
.bd-compattable-table-container {
|
|
64
|
-
width: 100%;
|
|
65
|
-
background: var(--color-surface-default);
|
|
66
|
-
border: var(--border-width-1) solid var(--color-border-container);
|
|
67
|
-
border-radius: var(--shape-radius-xl);
|
|
68
|
-
overflow: hidden;
|
|
69
|
-
box-sizing: border-box;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/* Collapsed, so a row's border draws; fixed, so the columns keep the
|
|
73
|
-
proportions the grid rows used to spell, here as shares of the width. */
|
|
74
|
-
.bd-compattable-table {
|
|
75
|
-
width: 100%;
|
|
76
|
-
border-collapse: collapse;
|
|
77
|
-
table-layout: fixed;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/* 1.4fr 1.2fr 2.4fr */
|
|
81
|
-
.bd-compattable-table col:nth-child(1) { width: calc(100% * 1.4 / 5); }
|
|
82
|
-
.bd-compattable-table col:nth-child(2) { width: calc(100% * 1.2 / 5); }
|
|
83
|
-
.bd-compattable-table col:nth-child(3) { width: calc(100% * 2.4 / 5); }
|
|
84
|
-
|
|
85
|
-
/* 1.2fr 1.6fr 1.6fr */
|
|
86
|
-
:host([variant="outcome"]) .bd-compattable-table col:nth-child(1) { width: calc(100% * 1.2 / 4.4); }
|
|
87
|
-
:host([variant="outcome"]) .bd-compattable-table col:nth-child(2),
|
|
88
|
-
:host([variant="outcome"]) .bd-compattable-table col:nth-child(3) { width: calc(100% * 1.6 / 4.4); }
|
|
89
|
-
|
|
90
|
-
/* 1fr 1.6fr */
|
|
91
|
-
:host([variant="risk"]) .bd-compattable-table col:nth-child(1) { width: calc(100% * 1 / 2.6); }
|
|
92
|
-
:host([variant="risk"]) .bd-compattable-table col:nth-child(2) { width: calc(100% * 1.6 / 2.6); }
|
|
93
|
-
|
|
94
|
-
.bd-compattable-header {
|
|
95
|
-
background: var(--color-surface-subtle);
|
|
96
|
-
border-bottom: var(--border-width-1) solid var(--color-border-subtle);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/* A <th> centres and bolds by default; every cell here starts at the
|
|
100
|
-
inline start, and each sets its own weight. */
|
|
101
|
-
th {
|
|
102
|
-
text-align: start;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.bd-compattable-header-cell {
|
|
106
|
-
padding: var(--spacing-16) var(--spacing-24);
|
|
107
|
-
color: var(--color-text-secondary);
|
|
108
|
-
font-family: var(--typography-fontFamily-mono);
|
|
109
|
-
/* no role: the size is part of the same decision as the leading below --
|
|
110
|
-
mono, semibold and tracked at 14px is a table header, and no role in the
|
|
111
|
-
vocabulary carries that combination. */
|
|
112
|
-
font-size: var(--typography-fontSize-sm);
|
|
113
|
-
/* The leading these five text sites were all missing. Measured before, every
|
|
114
|
-
one of them computed line-height: normal -- the font's own metric rather
|
|
115
|
-
than a decision, which CLAUDE.md rule 2 says is never a typography
|
|
116
|
-
contract. 34 elements across the built stories rendered that way.
|
|
117
|
-
|
|
118
|
-
--typography-lineHeight-tight, because it is what the metric already
|
|
119
|
-
resolved to: the 16px cells measured a 20px line box (1.25 exactly) and
|
|
120
|
-
the 12px header 15px (1.25 exactly). Naming it makes today's appearance a
|
|
121
|
-
choice that survives a font fallback instead of an accident that does
|
|
122
|
-
not. The 14px mono header is the one that moves -- IBM Plex Mono's normal
|
|
123
|
-
is 1.286 there, so its line box goes 18px to 17.5px inside 16px of
|
|
124
|
-
padding.
|
|
125
|
-
|
|
126
|
-
no role: nothing in the role vocabulary matches this table. The headers
|
|
127
|
-
are mono, semibold and tracked, and the cells are semibold at 16px where
|
|
128
|
-
body-regular is 400 -- adopting a role would restyle the table rather
|
|
129
|
-
than give it the leading it was missing. */
|
|
130
|
-
line-height: var(--typography-lineHeight-tight);
|
|
131
|
-
text-transform: uppercase;
|
|
132
|
-
letter-spacing: .06em;
|
|
133
|
-
/* no role: the weight completes the combination the leading comment above
|
|
134
|
-
describes. body-regular is 400 and label-default is 500; a header cell at
|
|
135
|
-
600 belongs to no declared role. */
|
|
136
|
-
font-weight: var(--typography-fontWeight-semibold);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
:host([variant="outcome"]) .bd-compattable-header-cell,
|
|
140
|
-
:host([variant="risk"]) .bd-compattable-header-cell {
|
|
141
|
-
/* no role: same table, same decision as the header cell above. The pair of
|
|
142
|
-
axes this rule sets happens to match control-label-small, but a table cell is
|
|
143
|
-
not a control label -- adopting it would restyle the table rather than
|
|
144
|
-
give it the leading it was missing. */
|
|
145
|
-
font-size: var(--typography-fontSize-xs);
|
|
146
|
-
/* no role: see the header cell above on the missing leading. */
|
|
147
|
-
line-height: var(--typography-lineHeight-tight);
|
|
148
|
-
color: var(--color-text-muted);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.bd-compattable-row {
|
|
152
|
-
/* no role: a boundary, and no border role sits at neutral-50 -- the family
|
|
153
|
-
starts at container (neutral-100) and gets darker. The decision of
|
|
154
|
-
2026-09-14 was that a boundary like this is DECORATIVE, so it is exempt
|
|
155
|
-
from the 3:1 non-text bar (it measures 1.12:1 against white) and does not
|
|
156
|
-
need to move up the family to earn one. The lighter row is deliberately
|
|
157
|
-
lighter than .bd-compattable-lightrow below, which takes
|
|
158
|
-
--color-border-container. */
|
|
159
|
-
border-bottom: var(--border-width-1) solid var(--color-neutral-50);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.bd-compattable-row:last-child {
|
|
163
|
-
border-bottom: none;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.bd-compattable-cell {
|
|
167
|
-
padding: var(--spacing-20) var(--spacing-24);
|
|
168
|
-
vertical-align: middle;
|
|
169
|
-
/* Cell data, one step back from the row label beside it, which
|
|
170
|
-
is text-primary. Secondary keeps that hierarchy; primary
|
|
171
|
-
would have flattened the two together. */
|
|
172
|
-
color: var(--color-text-secondary);
|
|
173
|
-
/* no role: same table, same decision as the header cell above. The pair of
|
|
174
|
-
axes this rule sets happens to match control-label-large, but a table cell is
|
|
175
|
-
not a control label -- adopting it would restyle the table rather than
|
|
176
|
-
give it the leading it was missing. */
|
|
177
|
-
font-size: var(--typography-fontSize-base);
|
|
178
|
-
/* no role: see the header cell above on the missing leading. */
|
|
179
|
-
line-height: var(--typography-lineHeight-tight);
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.bd-compattable-cell--environment {
|
|
183
|
-
color: var(--color-text-primary);
|
|
184
|
-
/* no role: the weight axis of the same table, and the same decision --
|
|
185
|
-
see the header cell above. */
|
|
186
|
-
font-weight: var(--typography-fontWeight-semibold);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.bd-compattable-cell--notes {
|
|
190
|
-
/* Supporting notes. */
|
|
191
|
-
color: var(--color-text-secondary);
|
|
192
|
-
gap: var(--spacing-8);
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
/* the notes' own items, spaced as the cell spaced them when it was a flex row */
|
|
196
|
-
.bd-compattable-notes {
|
|
197
|
-
display: flex;
|
|
198
|
-
align-items: center;
|
|
199
|
-
gap: var(--spacing-8);
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.bd-compattable-cell--event {
|
|
203
|
-
color: var(--color-text-primary);
|
|
204
|
-
/* no role: the weight axis of the same table, and the same decision --
|
|
205
|
-
see the header cell above. */
|
|
206
|
-
font-weight: var(--typography-fontWeight-semibold);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
/* These two cells say whether a product has a feature, which is the success
|
|
210
|
-
and error responsibility rather than "a green" and "a red". The status
|
|
211
|
-
roles were already the right answer and also the legible one: green-600
|
|
212
|
-
measures 3.20:1 on white and --status-success-text 6.77, red-600 5.44 and
|
|
213
|
-
--status-error-text 7.56. The green was a genuine failure; the red was only
|
|
214
|
-
the wrong family. */
|
|
215
|
-
.bd-compattable-cell--without {
|
|
216
|
-
color: var(--status-error-text);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.bd-compattable-cell--with {
|
|
220
|
-
color: var(--status-success-text);
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.bd-compattable-cell--category {
|
|
224
|
-
color: var(--color-text-primary);
|
|
225
|
-
/* no role: the weight axis of the same table, and the same decision --
|
|
226
|
-
see the header cell above. */
|
|
227
|
-
font-weight: var(--typography-fontWeight-semibold);
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
.bd-compattable-cell--riskcoverage {
|
|
231
|
-
/* no role: the risk-coverage cell's ink. This is the one genuine non-interactive
|
|
232
|
-
brand-ink site in the package -- everything else at blue-700 is a :hover, an
|
|
233
|
-
active state, a glyph on a tinted disc, or dead. ONE SITE DOES NOT NAME A ROLE:
|
|
234
|
-
phase-1-eyebrow-investigation settled that precedent when "eyebrow" turned out to
|
|
235
|
-
be one question asked four times and took a marker rather than a role, and the
|
|
236
|
-
plan's single-consumer-semantic-token item exists because Phase 3's job is to
|
|
237
|
-
FIND AND DELETE exactly the shape a --color-text-brand-strong invented here would
|
|
238
|
-
create.
|
|
239
|
-
.
|
|
240
|
-
The size-dependent-ink hypothesis was tested package-wide and rejected; see
|
|
241
|
-
plans/reports/phase-2-size-dependent-ink-check.md. Note separately that this cell
|
|
242
|
-
is role="cell" with no href and renders as blue running prose, so it reads as a
|
|
243
|
-
link without being one -- a UX question, not a token one. */
|
|
244
|
-
color: var(--color-brand-700);
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
/* === LIGHT VARIANT ===
|
|
248
|
-
A table of label / value rows that flows into light-columns columns, so
|
|
249
|
-
the grid is on the body and the table itself is only its box. */
|
|
250
|
-
.bd-compattable-lightgrid {
|
|
251
|
-
display: block;
|
|
252
|
-
width: 100%;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.bd-compattable-lightbody {
|
|
256
|
-
display: grid;
|
|
257
|
-
grid-template-columns: repeat(var(--bd-compattable-light-columns, 2), 1fr);
|
|
258
|
-
column-gap: var(--spacing-48);
|
|
259
|
-
row-gap: 0;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.bd-compattable-lightrow:last-of-type {
|
|
263
|
-
border-bottom: none;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.bd-compattable-lightrow {
|
|
267
|
-
display: flex;
|
|
268
|
-
align-items: baseline;
|
|
269
|
-
justify-content: space-between;
|
|
270
|
-
gap: var(--spacing-16);
|
|
271
|
-
padding: var(--spacing-16) 0;
|
|
272
|
-
/* A boundary, not a divider: the line belongs to the row it closes, so it
|
|
273
|
-
is a border and takes a border role. --color-border-container is
|
|
274
|
-
neutral-100 exactly, so nothing moves. Decided 2026-09-14 -- see
|
|
275
|
-
plans/reports/phase-2-vocab-e-has-role-pass.md question E3. */
|
|
276
|
-
border-bottom: var(--border-width-1) solid var(--color-border-container);
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.bd-compattable-lightlabel,
|
|
280
|
-
.bd-compattable-lightvalue {
|
|
281
|
-
padding: 0;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.bd-compattable-lightlabel {
|
|
285
|
-
color: var(--color-text-subtle);
|
|
286
|
-
/* the label read at the page's weight, as the span it was did */
|
|
287
|
-
font-weight: inherit;
|
|
288
|
-
/* no role: same table, same decision as the header cell above. The pair of
|
|
289
|
-
axes this rule sets happens to match control-label-large, but a table cell is
|
|
290
|
-
not a control label -- adopting it would restyle the table rather than
|
|
291
|
-
give it the leading it was missing. */
|
|
292
|
-
font-size: var(--typography-fontSize-base);
|
|
293
|
-
/* no role: see the header cell above on the missing leading. */
|
|
294
|
-
line-height: var(--typography-lineHeight-tight);
|
|
295
|
-
flex-shrink: 0;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
/* On the blue band the label leaves subtle for muted: subtle sits on the
|
|
299
|
-
page or a card, and on --status-brand-surface it measured 4.46:1. Muted
|
|
300
|
-
reads 6.10 there. Dark mode decision 17. */
|
|
301
|
-
:host([background="blue"]) .bd-compattable-lightlabel {
|
|
302
|
-
color: var(--color-text-muted);
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.bd-compattable-lightvalue {
|
|
306
|
-
color: var(--color-text-primary);
|
|
307
|
-
/* no role: the weight axis of the same table, and the same decision --
|
|
308
|
-
see the header cell above. */
|
|
309
|
-
font-weight: var(--typography-fontWeight-semibold);
|
|
310
|
-
/* no role: the leading the other five text sites took, and the one this
|
|
311
|
-
cell was still missing -- a value that wraps read line-height: normal,
|
|
312
|
-
found once the light variant had a story of its own. */
|
|
313
|
-
line-height: var(--typography-lineHeight-tight);
|
|
314
|
-
text-align: right;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
/* === RESPONSIVE === */
|
|
318
|
-
@media ${unsafeCSS(below('md'))} {
|
|
319
|
-
/* Stacked: each row becomes a card of its cells, and the column names
|
|
320
|
-
move into the cells (below). The header goes, as the guide for a
|
|
321
|
-
responsive table has it -- the ::before labels say the same thing. */
|
|
322
|
-
.bd-compattable-header {
|
|
323
|
-
display: none;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.bd-compattable-table,
|
|
327
|
-
.bd-compattable-body {
|
|
328
|
-
display: block;
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
/* One rule for every variant: the desktop columns are the table's <col>s
|
|
332
|
-
now, not per-variant row templates that outranked a bare class here --
|
|
333
|
-
which once left outcome three columns wide and 113px off the page. */
|
|
334
|
-
.bd-compattable-row {
|
|
335
|
-
display: grid;
|
|
336
|
-
grid-template-columns: 1fr;
|
|
337
|
-
padding: var(--spacing-16) var(--spacing-20);
|
|
338
|
-
gap: var(--spacing-4);
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
.bd-compattable-cell {
|
|
342
|
-
display: flex;
|
|
343
|
-
align-items: center;
|
|
344
|
-
padding: var(--spacing-4) 0;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
/* One rule, and the name comes from --bd-cell-label, which
|
|
348
|
-
compatibility-table.ts sets per cell out of the columns prop. Five rules
|
|
349
|
-
stood here with the column names written into content as English
|
|
350
|
-
strings -- "Without AI Guardian: " and the rest -- so below md, where
|
|
351
|
-
the header is display: none, the only column labelling on screen was
|
|
352
|
-
text the consumer could neither change nor translate. Measured at 375
|
|
353
|
-
with Romanian columns: header "Fara AI Guardian", cell label
|
|
354
|
-
"Without AI Guardian". The empty fallback means a cell with no column
|
|
355
|
-
name shows nothing rather than the literal text of a broken var(). */
|
|
356
|
-
.bd-compattable-cell--coverage::before,
|
|
357
|
-
.bd-compattable-cell--notes::before,
|
|
358
|
-
.bd-compattable-cell--without::before,
|
|
359
|
-
.bd-compattable-cell--with::before,
|
|
360
|
-
.bd-compattable-cell--riskcoverage::before {
|
|
361
|
-
content: var(--bd-cell-label, "");
|
|
362
|
-
color: var(--color-text-subtle);
|
|
363
|
-
/* no role: same table, same decision as the header cell above. The pair of
|
|
364
|
-
axes this rule sets happens to match control-label-small, but a table cell is
|
|
365
|
-
not a control label -- adopting it would restyle the table rather than
|
|
366
|
-
give it the leading it was missing. */
|
|
367
|
-
font-size: var(--typography-fontSize-xs);
|
|
368
|
-
/* no role: see the header cell above on the missing leading. */
|
|
369
|
-
line-height: var(--typography-lineHeight-tight);
|
|
370
|
-
text-transform: uppercase;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
.bd-compattable-lightbody {
|
|
374
|
-
grid-template-columns: 1fr;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
.bd-compattable-lightrow {
|
|
378
|
-
flex-direction: column;
|
|
379
|
-
align-items: flex-start;
|
|
380
|
-
gap: var(--spacing-4);
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
.bd-compattable-lightvalue {
|
|
384
|
-
text-align: left;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
.bd-compattable-wrapper {
|
|
388
|
-
padding: var(--spacing-32) var(--spacing-24);
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
`;
|
|
1
|
+
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-sans);display:block}:host([background=blue]){background:var(--status-brand-surface)}:host([variant=light][background=bordered]){border:var(--border-width-1) solid var(--color-border-container);border-radius:var(--shape-radius-xl);padding:var(--spacing-24);box-sizing:border-box;transition:transform var(--transition-duration-normal) var(--transition-easing-ease), box-shadow var(--transition-duration-normal) var(--transition-easing-ease), border-color var(--transition-duration-normal) var(--transition-easing-ease);display:block}:host([variant=light][background=bordered]:hover){transform:translateY(calc(-1 * var(--spacing-4)));box-shadow:var(--shadow-lg);border-color:var(--color-border-subtle)}@media (prefers-reduced-motion:reduce){:host([variant=light][background=bordered]){transition:none}}:host([variant=light][background=bordered]) .bd-compattable-wrapper{padding:var(--spacing-0)}.bd-compattable-wrapper{padding-block:var(--spacing-48) var(--spacing-0);box-sizing:border-box}.bd-compattable-title{margin:0 0 var(--spacing-12);display:block}.bd-compattable-description{margin:0 0 var(--spacing-32);color:var(--color-text-muted);max-width:var(--content-width-readable);display:block}.bd-compattable-table-container{background:var(--color-surface-default);border:var(--border-width-1) solid var(--color-border-container);border-radius:var(--shape-radius-xl);box-sizing:border-box;width:100%;overflow:hidden}.bd-compattable-table{border-collapse:collapse;table-layout:fixed;width:100%}.bd-compattable-table col:first-child{width:28%}.bd-compattable-table col:nth-child(2){width:24%}.bd-compattable-table col:nth-child(3){width:48%}:host([variant=outcome]) .bd-compattable-table col:first-child{width:27.2727%}:host([variant=outcome]) .bd-compattable-table col:nth-child(2),:host([variant=outcome]) .bd-compattable-table col:nth-child(3){width:36.3636%}:host([variant=risk]) .bd-compattable-table col:first-child{width:38.4615%}:host([variant=risk]) .bd-compattable-table col:nth-child(2){width:61.5385%}.bd-compattable-header{background:var(--color-surface-subtle);border-bottom:var(--border-width-1) solid var(--color-border-subtle)}th{text-align:start}.bd-compattable-header-cell{padding:var(--spacing-16) var(--spacing-24);color:var(--color-text-secondary);font-family:var(--typography-fontFamily-mono);font-size:var(--typography-fontSize-sm);line-height:var(--typography-lineHeight-tight);text-transform:uppercase;letter-spacing:.06em;font-weight:var(--typography-fontWeight-semibold)}:host([variant=outcome]) .bd-compattable-header-cell,:host([variant=risk]) .bd-compattable-header-cell{font-size:var(--typography-fontSize-xs);line-height:var(--typography-lineHeight-tight);color:var(--color-text-muted)}.bd-compattable-row{border-bottom:var(--border-width-1) solid var(--color-neutral-50)}.bd-compattable-row:last-child{border-bottom:none}.bd-compattable-cell{padding:var(--spacing-20) var(--spacing-24);vertical-align:middle;color:var(--color-text-secondary);font-size:var(--typography-fontSize-base);line-height:var(--typography-lineHeight-tight)}.bd-compattable-cell--environment{color:var(--color-text-primary);font-weight:var(--typography-fontWeight-semibold)}.bd-compattable-cell--notes{color:var(--color-text-secondary);gap:var(--spacing-8)}.bd-compattable-notes{align-items:center;gap:var(--spacing-8);display:flex}.bd-compattable-cell--event{color:var(--color-text-primary);font-weight:var(--typography-fontWeight-semibold)}.bd-compattable-cell--without{color:var(--status-error-text)}.bd-compattable-cell--with{color:var(--status-success-text)}.bd-compattable-cell--category{color:var(--color-text-primary);font-weight:var(--typography-fontWeight-semibold)}.bd-compattable-cell--riskcoverage{color:var(--color-brand-700)}.bd-compattable-lightgrid{width:100%;display:block}.bd-compattable-lightbody{grid-template-columns:repeat(var(--bd-compattable-light-columns,2), 1fr);column-gap:var(--spacing-48);row-gap:0;display:grid}.bd-compattable-lightrow:last-of-type{border-bottom:none}.bd-compattable-lightrow{justify-content:space-between;align-items:baseline;gap:var(--spacing-16);padding:var(--spacing-16) 0;border-bottom:var(--border-width-1) solid var(--color-border-container);display:flex}.bd-compattable-lightlabel,.bd-compattable-lightvalue{padding:0}.bd-compattable-lightlabel{color:var(--color-text-subtle);font-weight:inherit;font-size:var(--typography-fontSize-base);line-height:var(--typography-lineHeight-tight);flex-shrink:0}:host([background=blue]) .bd-compattable-lightlabel{color:var(--color-text-muted)}.bd-compattable-lightvalue{color:var(--color-text-primary);font-weight:var(--typography-fontWeight-semibold);line-height:var(--typography-lineHeight-tight);text-align:right}@media (width<768px){.bd-compattable-header{display:none}.bd-compattable-table,.bd-compattable-body{display:block}.bd-compattable-row{padding:var(--spacing-16) var(--spacing-20);gap:var(--spacing-4);grid-template-columns:1fr;display:grid}.bd-compattable-cell{padding:var(--spacing-4) 0;align-items:center;display:flex}.bd-compattable-cell--coverage:before,.bd-compattable-cell--notes:before,.bd-compattable-cell--without:before,.bd-compattable-cell--with:before,.bd-compattable-cell--riskcoverage:before{content:var(--bd-cell-label,"");color:var(--color-text-subtle);font-size:var(--typography-fontSize-xs);line-height:var(--typography-lineHeight-tight);text-transform:uppercase}.bd-compattable-lightbody{grid-template-columns:1fr}.bd-compattable-lightrow{align-items:flex-start;gap:var(--spacing-4);flex-direction:column}.bd-compattable-lightvalue{text-align:left}.bd-compattable-wrapper{padding:var(--spacing-32) var(--spacing-24)}}`;export{t as default};
|
|
392
2
|
//# sourceMappingURL=compatibility-table.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compatibility-table.css.js","sourceRoot":"","sources":["../../../../src/components/compatibility-table/compatibility-table.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElD,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA2TP,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyEhC,CAAC","sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"../shared/token-scales.ts\";\n\nexport default css`\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n }\n\n :host([background=\"blue\"]) {\n background: var(--status-brand-surface);\n }\n /* variant=\"light\" + background=\"bordered\": renders its own card border\n and hover lift, so callers don't need a manual wrapper <div> just to\n get the bordered-card look (e.g. side-by-side requirement cards). */\n :host([variant=\"light\"][background=\"bordered\"]) {\n display: block;\n border: var(--border-width-1) solid var(--color-border-container);\n border-radius: var(--shape-radius-xl);\n padding: var(--spacing-24);\n box-sizing: border-box;\n transition:\n transform var(--transition-duration-normal) var(--transition-easing-ease),\n box-shadow var(--transition-duration-normal) var(--transition-easing-ease),\n border-color var(--transition-duration-normal) var(--transition-easing-ease);\n }\n\n :host([variant=\"light\"][background=\"bordered\"]:hover) {\n transform: translateY(calc(-1 * var(--spacing-4)));\n box-shadow: var(--shadow-lg);\n border-color: var(--color-border-subtle);\n }\n\n @media (prefers-reduced-motion: reduce) {\n :host([variant=\"light\"][background=\"bordered\"]) {\n transition: none;\n }\n }\n\n :host([variant=\"light\"][background=\"bordered\"]) .bd-compattable-wrapper {\n padding: var(--spacing-0);\n }\n\n .bd-compattable-wrapper {\n padding-block: var(--spacing-48) var(--spacing-0);\n box-sizing: border-box;\n }\n\n .bd-compattable-title {\n display: block;\n margin: 0 0 var(--spacing-12);\n }\n\n .bd-compattable-description {\n display: block;\n margin: 0 0 var(--spacing-32);\n color: var(--color-text-muted);\n max-width: var(--content-width-readable);\n }\n\n /* The card. The table inside collapses its borders, which a table's own\n radius does not survive, so the edge, the corners and the clip stay on\n this wrapper. */\n .bd-compattable-table-container {\n width: 100%;\n background: var(--color-surface-default);\n border: var(--border-width-1) solid var(--color-border-container);\n border-radius: var(--shape-radius-xl);\n overflow: hidden;\n box-sizing: border-box;\n }\n\n /* Collapsed, so a row's border draws; fixed, so the columns keep the\n proportions the grid rows used to spell, here as shares of the width. */\n .bd-compattable-table {\n width: 100%;\n border-collapse: collapse;\n table-layout: fixed;\n }\n\n /* 1.4fr 1.2fr 2.4fr */\n .bd-compattable-table col:nth-child(1) { width: calc(100% * 1.4 / 5); }\n .bd-compattable-table col:nth-child(2) { width: calc(100% * 1.2 / 5); }\n .bd-compattable-table col:nth-child(3) { width: calc(100% * 2.4 / 5); }\n\n /* 1.2fr 1.6fr 1.6fr */\n :host([variant=\"outcome\"]) .bd-compattable-table col:nth-child(1) { width: calc(100% * 1.2 / 4.4); }\n :host([variant=\"outcome\"]) .bd-compattable-table col:nth-child(2),\n :host([variant=\"outcome\"]) .bd-compattable-table col:nth-child(3) { width: calc(100% * 1.6 / 4.4); }\n\n /* 1fr 1.6fr */\n :host([variant=\"risk\"]) .bd-compattable-table col:nth-child(1) { width: calc(100% * 1 / 2.6); }\n :host([variant=\"risk\"]) .bd-compattable-table col:nth-child(2) { width: calc(100% * 1.6 / 2.6); }\n\n .bd-compattable-header {\n background: var(--color-surface-subtle);\n border-bottom: var(--border-width-1) solid var(--color-border-subtle);\n }\n\n /* A <th> centres and bolds by default; every cell here starts at the\n inline start, and each sets its own weight. */\n th {\n text-align: start;\n }\n\n .bd-compattable-header-cell {\n padding: var(--spacing-16) var(--spacing-24);\n color: var(--color-text-secondary);\n font-family: var(--typography-fontFamily-mono);\n /* no role: the size is part of the same decision as the leading below --\n mono, semibold and tracked at 14px is a table header, and no role in the\n vocabulary carries that combination. */\n font-size: var(--typography-fontSize-sm);\n /* The leading these five text sites were all missing. Measured before, every\n one of them computed line-height: normal -- the font's own metric rather\n than a decision, which CLAUDE.md rule 2 says is never a typography\n contract. 34 elements across the built stories rendered that way.\n\n --typography-lineHeight-tight, because it is what the metric already\n resolved to: the 16px cells measured a 20px line box (1.25 exactly) and\n the 12px header 15px (1.25 exactly). Naming it makes today's appearance a\n choice that survives a font fallback instead of an accident that does\n not. The 14px mono header is the one that moves -- IBM Plex Mono's normal\n is 1.286 there, so its line box goes 18px to 17.5px inside 16px of\n padding.\n\n no role: nothing in the role vocabulary matches this table. The headers\n are mono, semibold and tracked, and the cells are semibold at 16px where\n body-regular is 400 -- adopting a role would restyle the table rather\n than give it the leading it was missing. */\n line-height: var(--typography-lineHeight-tight);\n text-transform: uppercase;\n letter-spacing: .06em;\n /* no role: the weight completes the combination the leading comment above\n describes. body-regular is 400 and label-default is 500; a header cell at\n 600 belongs to no declared role. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n :host([variant=\"outcome\"]) .bd-compattable-header-cell,\n :host([variant=\"risk\"]) .bd-compattable-header-cell {\n /* no role: same table, same decision as the header cell above. The pair of\n axes this rule sets happens to match control-label-small, but a table cell is\n not a control label -- adopting it would restyle the table rather than\n give it the leading it was missing. */\n font-size: var(--typography-fontSize-xs);\n /* no role: see the header cell above on the missing leading. */\n line-height: var(--typography-lineHeight-tight);\n color: var(--color-text-muted);\n }\n\n .bd-compattable-row {\n /* no role: a boundary, and no border role sits at neutral-50 -- the family\n starts at container (neutral-100) and gets darker. The decision of\n 2026-09-14 was that a boundary like this is DECORATIVE, so it is exempt\n from the 3:1 non-text bar (it measures 1.12:1 against white) and does not\n need to move up the family to earn one. The lighter row is deliberately\n lighter than .bd-compattable-lightrow below, which takes\n --color-border-container. */\n border-bottom: var(--border-width-1) solid var(--color-neutral-50);\n }\n\n .bd-compattable-row:last-child {\n border-bottom: none;\n }\n\n .bd-compattable-cell {\n padding: var(--spacing-20) var(--spacing-24);\n vertical-align: middle;\n /* Cell data, one step back from the row label beside it, which\n is text-primary. Secondary keeps that hierarchy; primary\n would have flattened the two together. */\n color: var(--color-text-secondary);\n /* no role: same table, same decision as the header cell above. The pair of\n axes this rule sets happens to match control-label-large, but a table cell is\n not a control label -- adopting it would restyle the table rather than\n give it the leading it was missing. */\n font-size: var(--typography-fontSize-base);\n /* no role: see the header cell above on the missing leading. */\n line-height: var(--typography-lineHeight-tight);\n }\n\n .bd-compattable-cell--environment {\n color: var(--color-text-primary);\n /* no role: the weight axis of the same table, and the same decision --\n see the header cell above. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n .bd-compattable-cell--notes {\n /* Supporting notes. */\n color: var(--color-text-secondary);\n gap: var(--spacing-8);\n }\n\n /* the notes' own items, spaced as the cell spaced them when it was a flex row */\n .bd-compattable-notes {\n display: flex;\n align-items: center;\n gap: var(--spacing-8);\n }\n\n .bd-compattable-cell--event {\n color: var(--color-text-primary);\n /* no role: the weight axis of the same table, and the same decision --\n see the header cell above. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n /* These two cells say whether a product has a feature, which is the success\n and error responsibility rather than \"a green\" and \"a red\". The status\n roles were already the right answer and also the legible one: green-600\n measures 3.20:1 on white and --status-success-text 6.77, red-600 5.44 and\n --status-error-text 7.56. The green was a genuine failure; the red was only\n the wrong family. */\n .bd-compattable-cell--without {\n color: var(--status-error-text);\n }\n\n .bd-compattable-cell--with {\n color: var(--status-success-text);\n }\n\n .bd-compattable-cell--category {\n color: var(--color-text-primary);\n /* no role: the weight axis of the same table, and the same decision --\n see the header cell above. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n .bd-compattable-cell--riskcoverage {\n /* no role: the risk-coverage cell's ink. This is the one genuine non-interactive\n brand-ink site in the package -- everything else at blue-700 is a :hover, an\n active state, a glyph on a tinted disc, or dead. ONE SITE DOES NOT NAME A ROLE:\n phase-1-eyebrow-investigation settled that precedent when \"eyebrow\" turned out to\n be one question asked four times and took a marker rather than a role, and the\n plan's single-consumer-semantic-token item exists because Phase 3's job is to\n FIND AND DELETE exactly the shape a --color-text-brand-strong invented here would\n create.\n .\n The size-dependent-ink hypothesis was tested package-wide and rejected; see\n plans/reports/phase-2-size-dependent-ink-check.md. Note separately that this cell\n is role=\"cell\" with no href and renders as blue running prose, so it reads as a\n link without being one -- a UX question, not a token one. */\n color: var(--color-brand-700);\n }\n\n /* === LIGHT VARIANT ===\n A table of label / value rows that flows into light-columns columns, so\n the grid is on the body and the table itself is only its box. */\n .bd-compattable-lightgrid {\n display: block;\n width: 100%;\n }\n\n .bd-compattable-lightbody {\n display: grid;\n grid-template-columns: repeat(var(--bd-compattable-light-columns, 2), 1fr);\n column-gap: var(--spacing-48);\n row-gap: 0;\n }\n\n .bd-compattable-lightrow:last-of-type {\n border-bottom: none;\n }\n\n .bd-compattable-lightrow {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: var(--spacing-16);\n padding: var(--spacing-16) 0;\n /* A boundary, not a divider: the line belongs to the row it closes, so it\n is a border and takes a border role. --color-border-container is\n neutral-100 exactly, so nothing moves. Decided 2026-09-14 -- see\n plans/reports/phase-2-vocab-e-has-role-pass.md question E3. */\n border-bottom: var(--border-width-1) solid var(--color-border-container);\n }\n\n .bd-compattable-lightlabel,\n .bd-compattable-lightvalue {\n padding: 0;\n }\n\n .bd-compattable-lightlabel {\n color: var(--color-text-subtle);\n /* the label read at the page's weight, as the span it was did */\n font-weight: inherit;\n /* no role: same table, same decision as the header cell above. The pair of\n axes this rule sets happens to match control-label-large, but a table cell is\n not a control label -- adopting it would restyle the table rather than\n give it the leading it was missing. */\n font-size: var(--typography-fontSize-base);\n /* no role: see the header cell above on the missing leading. */\n line-height: var(--typography-lineHeight-tight);\n flex-shrink: 0;\n }\n\n /* On the blue band the label leaves subtle for muted: subtle sits on the\n page or a card, and on --status-brand-surface it measured 4.46:1. Muted\n reads 6.10 there. Dark mode decision 17. */\n :host([background=\"blue\"]) .bd-compattable-lightlabel {\n color: var(--color-text-muted);\n }\n\n .bd-compattable-lightvalue {\n color: var(--color-text-primary);\n /* no role: the weight axis of the same table, and the same decision --\n see the header cell above. */\n font-weight: var(--typography-fontWeight-semibold);\n /* no role: the leading the other five text sites took, and the one this\n cell was still missing -- a value that wraps read line-height: normal,\n found once the light variant had a story of its own. */\n line-height: var(--typography-lineHeight-tight);\n text-align: right;\n }\n\n /* === RESPONSIVE === */\n @media ${unsafeCSS(below('md'))} {\n /* Stacked: each row becomes a card of its cells, and the column names\n move into the cells (below). The header goes, as the guide for a\n responsive table has it -- the ::before labels say the same thing. */\n .bd-compattable-header {\n display: none;\n }\n\n .bd-compattable-table,\n .bd-compattable-body {\n display: block;\n }\n\n /* One rule for every variant: the desktop columns are the table's <col>s\n now, not per-variant row templates that outranked a bare class here --\n which once left outcome three columns wide and 113px off the page. */\n .bd-compattable-row {\n display: grid;\n grid-template-columns: 1fr;\n padding: var(--spacing-16) var(--spacing-20);\n gap: var(--spacing-4);\n }\n\n .bd-compattable-cell {\n display: flex;\n align-items: center;\n padding: var(--spacing-4) 0;\n }\n\n /* One rule, and the name comes from --bd-cell-label, which\n compatibility-table.ts sets per cell out of the columns prop. Five rules\n stood here with the column names written into content as English\n strings -- \"Without AI Guardian: \" and the rest -- so below md, where\n the header is display: none, the only column labelling on screen was\n text the consumer could neither change nor translate. Measured at 375\n with Romanian columns: header \"Fara AI Guardian\", cell label\n \"Without AI Guardian\". The empty fallback means a cell with no column\n name shows nothing rather than the literal text of a broken var(). */\n .bd-compattable-cell--coverage::before,\n .bd-compattable-cell--notes::before,\n .bd-compattable-cell--without::before,\n .bd-compattable-cell--with::before,\n .bd-compattable-cell--riskcoverage::before {\n content: var(--bd-cell-label, \"\");\n color: var(--color-text-subtle);\n /* no role: same table, same decision as the header cell above. The pair of\n axes this rule sets happens to match control-label-small, but a table cell is\n not a control label -- adopting it would restyle the table rather than\n give it the leading it was missing. */\n font-size: var(--typography-fontSize-xs);\n /* no role: see the header cell above on the missing leading. */\n line-height: var(--typography-lineHeight-tight);\n text-transform: uppercase;\n }\n\n .bd-compattable-lightbody {\n grid-template-columns: 1fr;\n }\n\n .bd-compattable-lightrow {\n flex-direction: column;\n align-items: flex-start;\n gap: var(--spacing-4);\n }\n\n .bd-compattable-lightvalue {\n text-align: left;\n }\n\n .bd-compattable-wrapper {\n padding: var(--spacing-32) var(--spacing-24);\n }\n }\n`;"]}
|
|
1
|
+
{"version":3,"file":"compatibility-table.css.js","names":["compatibility_table_css_default"],"sources":["../../../../src/components/compatibility-table/compatibility-table.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"#shared/token-scales.ts\";\n\nexport default css`\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n }\n\n :host([background=\"blue\"]) {\n background: var(--status-brand-surface);\n }\n /* variant=\"light\" + background=\"bordered\": renders its own card border\n and hover lift, so callers don't need a manual wrapper <div> just to\n get the bordered-card look (e.g. side-by-side requirement cards). */\n :host([variant=\"light\"][background=\"bordered\"]) {\n display: block;\n border: var(--border-width-1) solid var(--color-border-container);\n border-radius: var(--shape-radius-xl);\n padding: var(--spacing-24);\n box-sizing: border-box;\n transition:\n transform var(--transition-duration-normal) var(--transition-easing-ease),\n box-shadow var(--transition-duration-normal) var(--transition-easing-ease),\n border-color var(--transition-duration-normal) var(--transition-easing-ease);\n }\n\n :host([variant=\"light\"][background=\"bordered\"]:hover) {\n transform: translateY(calc(-1 * var(--spacing-4)));\n box-shadow: var(--shadow-lg);\n border-color: var(--color-border-subtle);\n }\n\n @media (prefers-reduced-motion: reduce) {\n :host([variant=\"light\"][background=\"bordered\"]) {\n transition: none;\n }\n }\n\n :host([variant=\"light\"][background=\"bordered\"]) .bd-compattable-wrapper {\n padding: var(--spacing-0);\n }\n\n .bd-compattable-wrapper {\n padding-block: var(--spacing-48) var(--spacing-0);\n box-sizing: border-box;\n }\n\n .bd-compattable-title {\n display: block;\n margin: 0 0 var(--spacing-12);\n }\n\n .bd-compattable-description {\n display: block;\n margin: 0 0 var(--spacing-32);\n color: var(--color-text-muted);\n max-width: var(--content-width-readable);\n }\n\n /* The card. The table inside collapses its borders, which a table's own\n radius does not survive, so the edge, the corners and the clip stay on\n this wrapper. */\n .bd-compattable-table-container {\n width: 100%;\n background: var(--color-surface-default);\n border: var(--border-width-1) solid var(--color-border-container);\n border-radius: var(--shape-radius-xl);\n overflow: hidden;\n box-sizing: border-box;\n }\n\n /* Collapsed, so a row's border draws; fixed, so the columns keep the\n proportions the grid rows used to spell, here as shares of the width. */\n .bd-compattable-table {\n width: 100%;\n border-collapse: collapse;\n table-layout: fixed;\n }\n\n /* 1.4fr 1.2fr 2.4fr */\n .bd-compattable-table col:nth-child(1) { width: calc(100% * 1.4 / 5); }\n .bd-compattable-table col:nth-child(2) { width: calc(100% * 1.2 / 5); }\n .bd-compattable-table col:nth-child(3) { width: calc(100% * 2.4 / 5); }\n\n /* 1.2fr 1.6fr 1.6fr */\n :host([variant=\"outcome\"]) .bd-compattable-table col:nth-child(1) { width: calc(100% * 1.2 / 4.4); }\n :host([variant=\"outcome\"]) .bd-compattable-table col:nth-child(2),\n :host([variant=\"outcome\"]) .bd-compattable-table col:nth-child(3) { width: calc(100% * 1.6 / 4.4); }\n\n /* 1fr 1.6fr */\n :host([variant=\"risk\"]) .bd-compattable-table col:nth-child(1) { width: calc(100% * 1 / 2.6); }\n :host([variant=\"risk\"]) .bd-compattable-table col:nth-child(2) { width: calc(100% * 1.6 / 2.6); }\n\n .bd-compattable-header {\n background: var(--color-surface-subtle);\n border-bottom: var(--border-width-1) solid var(--color-border-subtle);\n }\n\n /* A <th> centres and bolds by default; every cell here starts at the\n inline start, and each sets its own weight. */\n th {\n text-align: start;\n }\n\n .bd-compattable-header-cell {\n padding: var(--spacing-16) var(--spacing-24);\n color: var(--color-text-secondary);\n font-family: var(--typography-fontFamily-mono);\n /* no role: the size is part of the same decision as the leading below --\n mono, semibold and tracked at 14px is a table header, and no role in the\n vocabulary carries that combination. */\n font-size: var(--typography-fontSize-sm);\n /* The leading these five text sites were all missing. Measured before, every\n one of them computed line-height: normal -- the font's own metric rather\n than a decision, which CLAUDE.md rule 2 says is never a typography\n contract. 34 elements across the built stories rendered that way.\n\n --typography-lineHeight-tight, because it is what the metric already\n resolved to: the 16px cells measured a 20px line box (1.25 exactly) and\n the 12px header 15px (1.25 exactly). Naming it makes today's appearance a\n choice that survives a font fallback instead of an accident that does\n not. The 14px mono header is the one that moves -- IBM Plex Mono's normal\n is 1.286 there, so its line box goes 18px to 17.5px inside 16px of\n padding.\n\n no role: nothing in the role vocabulary matches this table. The headers\n are mono, semibold and tracked, and the cells are semibold at 16px where\n body-regular is 400 -- adopting a role would restyle the table rather\n than give it the leading it was missing. */\n line-height: var(--typography-lineHeight-tight);\n text-transform: uppercase;\n letter-spacing: .06em;\n /* no role: the weight completes the combination the leading comment above\n describes. body-regular is 400 and label-default is 500; a header cell at\n 600 belongs to no declared role. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n :host([variant=\"outcome\"]) .bd-compattable-header-cell,\n :host([variant=\"risk\"]) .bd-compattable-header-cell {\n /* no role: same table, same decision as the header cell above. The pair of\n axes this rule sets happens to match control-label-small, but a table cell is\n not a control label -- adopting it would restyle the table rather than\n give it the leading it was missing. */\n font-size: var(--typography-fontSize-xs);\n /* no role: see the header cell above on the missing leading. */\n line-height: var(--typography-lineHeight-tight);\n color: var(--color-text-muted);\n }\n\n .bd-compattable-row {\n /* no role: a boundary, and no border role sits at neutral-50 -- the family\n starts at container (neutral-100) and gets darker. The decision of\n 2026-09-14 was that a boundary like this is DECORATIVE, so it is exempt\n from the 3:1 non-text bar (it measures 1.12:1 against white) and does not\n need to move up the family to earn one. The lighter row is deliberately\n lighter than .bd-compattable-lightrow below, which takes\n --color-border-container. */\n border-bottom: var(--border-width-1) solid var(--color-neutral-50);\n }\n\n .bd-compattable-row:last-child {\n border-bottom: none;\n }\n\n .bd-compattable-cell {\n padding: var(--spacing-20) var(--spacing-24);\n vertical-align: middle;\n /* Cell data, one step back from the row label beside it, which\n is text-primary. Secondary keeps that hierarchy; primary\n would have flattened the two together. */\n color: var(--color-text-secondary);\n /* no role: same table, same decision as the header cell above. The pair of\n axes this rule sets happens to match control-label-large, but a table cell is\n not a control label -- adopting it would restyle the table rather than\n give it the leading it was missing. */\n font-size: var(--typography-fontSize-base);\n /* no role: see the header cell above on the missing leading. */\n line-height: var(--typography-lineHeight-tight);\n }\n\n .bd-compattable-cell--environment {\n color: var(--color-text-primary);\n /* no role: the weight axis of the same table, and the same decision --\n see the header cell above. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n .bd-compattable-cell--notes {\n /* Supporting notes. */\n color: var(--color-text-secondary);\n gap: var(--spacing-8);\n }\n\n /* the notes' own items, spaced as the cell spaced them when it was a flex row */\n .bd-compattable-notes {\n display: flex;\n align-items: center;\n gap: var(--spacing-8);\n }\n\n .bd-compattable-cell--event {\n color: var(--color-text-primary);\n /* no role: the weight axis of the same table, and the same decision --\n see the header cell above. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n /* These two cells say whether a product has a feature, which is the success\n and error responsibility rather than \"a green\" and \"a red\". The status\n roles were already the right answer and also the legible one: green-600\n measures 3.20:1 on white and --status-success-text 6.77, red-600 5.44 and\n --status-error-text 7.56. The green was a genuine failure; the red was only\n the wrong family. */\n .bd-compattable-cell--without {\n color: var(--status-error-text);\n }\n\n .bd-compattable-cell--with {\n color: var(--status-success-text);\n }\n\n .bd-compattable-cell--category {\n color: var(--color-text-primary);\n /* no role: the weight axis of the same table, and the same decision --\n see the header cell above. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n .bd-compattable-cell--riskcoverage {\n /* no role: the risk-coverage cell's ink. This is the one genuine non-interactive\n brand-ink site in the package -- everything else at blue-700 is a :hover, an\n active state, a glyph on a tinted disc, or dead. ONE SITE DOES NOT NAME A ROLE:\n phase-1-eyebrow-investigation settled that precedent when \"eyebrow\" turned out to\n be one question asked four times and took a marker rather than a role, and the\n plan's single-consumer-semantic-token item exists because Phase 3's job is to\n FIND AND DELETE exactly the shape a --color-text-brand-strong invented here would\n create.\n .\n The size-dependent-ink hypothesis was tested package-wide and rejected; see\n plans/reports/phase-2-size-dependent-ink-check.md. Note separately that this cell\n is role=\"cell\" with no href and renders as blue running prose, so it reads as a\n link without being one -- a UX question, not a token one. */\n color: var(--color-brand-700);\n }\n\n /* === LIGHT VARIANT ===\n A table of label / value rows that flows into light-columns columns, so\n the grid is on the body and the table itself is only its box. */\n .bd-compattable-lightgrid {\n display: block;\n width: 100%;\n }\n\n .bd-compattable-lightbody {\n display: grid;\n grid-template-columns: repeat(var(--bd-compattable-light-columns, 2), 1fr);\n column-gap: var(--spacing-48);\n row-gap: 0;\n }\n\n .bd-compattable-lightrow:last-of-type {\n border-bottom: none;\n }\n\n .bd-compattable-lightrow {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n gap: var(--spacing-16);\n padding: var(--spacing-16) 0;\n /* A boundary, not a divider: the line belongs to the row it closes, so it\n is a border and takes a border role. --color-border-container is\n neutral-100 exactly, so nothing moves. Decided 2026-09-14 -- see\n plans/reports/phase-2-vocab-e-has-role-pass.md question E3. */\n border-bottom: var(--border-width-1) solid var(--color-border-container);\n }\n\n .bd-compattable-lightlabel,\n .bd-compattable-lightvalue {\n padding: 0;\n }\n\n .bd-compattable-lightlabel {\n color: var(--color-text-subtle);\n /* the label read at the page's weight, as the span it was did */\n font-weight: inherit;\n /* no role: same table, same decision as the header cell above. The pair of\n axes this rule sets happens to match control-label-large, but a table cell is\n not a control label -- adopting it would restyle the table rather than\n give it the leading it was missing. */\n font-size: var(--typography-fontSize-base);\n /* no role: see the header cell above on the missing leading. */\n line-height: var(--typography-lineHeight-tight);\n flex-shrink: 0;\n }\n\n /* On the blue band the label leaves subtle for muted: subtle sits on the\n page or a card, and on --status-brand-surface it measured 4.46:1. Muted\n reads 6.10 there. Dark mode decision 17. */\n :host([background=\"blue\"]) .bd-compattable-lightlabel {\n color: var(--color-text-muted);\n }\n\n .bd-compattable-lightvalue {\n color: var(--color-text-primary);\n /* no role: the weight axis of the same table, and the same decision --\n see the header cell above. */\n font-weight: var(--typography-fontWeight-semibold);\n /* no role: the leading the other five text sites took, and the one this\n cell was still missing -- a value that wraps read line-height: normal,\n found once the light variant had a story of its own. */\n line-height: var(--typography-lineHeight-tight);\n text-align: right;\n }\n\n /* === RESPONSIVE === */\n @media ${unsafeCSS(below('md'))} {\n /* Stacked: each row becomes a card of its cells, and the column names\n move into the cells (below). The header goes, as the guide for a\n responsive table has it -- the ::before labels say the same thing. */\n .bd-compattable-header {\n display: none;\n }\n\n .bd-compattable-table,\n .bd-compattable-body {\n display: block;\n }\n\n /* One rule for every variant: the desktop columns are the table's <col>s\n now, not per-variant row templates that outranked a bare class here --\n which once left outcome three columns wide and 113px off the page. */\n .bd-compattable-row {\n display: grid;\n grid-template-columns: 1fr;\n padding: var(--spacing-16) var(--spacing-20);\n gap: var(--spacing-4);\n }\n\n .bd-compattable-cell {\n display: flex;\n align-items: center;\n padding: var(--spacing-4) 0;\n }\n\n /* One rule, and the name comes from --bd-cell-label, which\n compatibility-table.ts sets per cell out of the columns prop. Five rules\n stood here with the column names written into content as English\n strings -- \"Without AI Guardian: \" and the rest -- so below md, where\n the header is display: none, the only column labelling on screen was\n text the consumer could neither change nor translate. Measured at 375\n with Romanian columns: header \"Fara AI Guardian\", cell label\n \"Without AI Guardian\". The empty fallback means a cell with no column\n name shows nothing rather than the literal text of a broken var(). */\n .bd-compattable-cell--coverage::before,\n .bd-compattable-cell--notes::before,\n .bd-compattable-cell--without::before,\n .bd-compattable-cell--with::before,\n .bd-compattable-cell--riskcoverage::before {\n content: var(--bd-cell-label, \"\");\n color: var(--color-text-subtle);\n /* no role: same table, same decision as the header cell above. The pair of\n axes this rule sets happens to match control-label-small, but a table cell is\n not a control label -- adopting it would restyle the table rather than\n give it the leading it was missing. */\n font-size: var(--typography-fontSize-xs);\n /* no role: see the header cell above on the missing leading. */\n line-height: var(--typography-lineHeight-tight);\n text-transform: uppercase;\n }\n\n .bd-compattable-lightbody {\n grid-template-columns: 1fr;\n }\n\n .bd-compattable-lightrow {\n flex-direction: column;\n align-items: flex-start;\n gap: var(--spacing-4);\n }\n\n .bd-compattable-lightvalue {\n text-align: left;\n }\n\n .bd-compattable-wrapper {\n padding: var(--spacing-32) var(--spacing-24);\n }\n }\n`;"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,kkL"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LitElement, nothing, type TemplateResult } from "lit";
|
|
2
|
-
import "../heading/heading.
|
|
3
|
-
import "../paragraph/paragraph.
|
|
2
|
+
import "../heading/heading.js";
|
|
3
|
+
import "../paragraph/paragraph.js";
|
|
4
4
|
type Variant = "default" | "outcome" | "risk" | "light";
|
|
5
5
|
type Background = "default" | "blue" | "bordered";
|
|
6
6
|
interface CompatibilityRow {
|