@repobit/dex-system-design 3.0.1 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -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 +14 -3
- package/schemas/component-manifest.json +1 -1
- package/dist/src/components/icons/icons.js.map +0 -1
- package/dist/src/components/icons/marks.js.map +0 -1
- package/dist/src/components/shared/events.js.map +0 -1
- package/dist/src/components/stat/stat.js.map +0 -1
|
@@ -1,410 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export default css `
|
|
3
|
-
:host {
|
|
4
|
-
display: block;
|
|
5
|
-
/* A terminal transcript reads left to right on any page: it is code, and
|
|
6
|
-
its prompt, gutter and cursor are drawn for that direction. */
|
|
7
|
-
direction: ltr;
|
|
8
|
-
font-family: var(--typography-fontFamily-mono);
|
|
9
|
-
color: var(--color-text-on-media);
|
|
10
|
-
|
|
11
|
-
/* The panel's quieter lines: the subordinate ink on the media frame,
|
|
12
|
-
fixed with it, 7.92:1 in either theme. */
|
|
13
|
-
--bd-terminalmsg-subdued: var(--color-text-on-media-muted);
|
|
14
|
-
|
|
15
|
-
/* The rest of the transcript's line-kind palette, on one mechanism.
|
|
16
|
-
|
|
17
|
-
This panel tells its line kinds apart by COLOUR -- see the marker on
|
|
18
|
-
.bd-terminalmsg-greeting-text -- so these are the component's own
|
|
19
|
-
vocabulary, not applications of a brand ink. That distinction is why
|
|
20
|
-
vocabulary question C closed without a global role: blue on a dark surface
|
|
21
|
-
here means "the assistant is speaking", not "brand". See
|
|
22
|
-
plans/reports/phase-2-vocab-c-inverse-ink.md.
|
|
23
|
-
|
|
24
|
-
The five kinds used four different mechanisms before this -- two semantic
|
|
25
|
-
roles, one component token, one raw primitive and one literal. Naming them
|
|
26
|
-
locally puts the palette in one place to read and to change. */
|
|
27
|
-
--bd-terminalmsg-ask: var(--color-brand-400);
|
|
28
|
-
--bd-terminalmsg-cmd: var(--color-text-on-media);
|
|
29
|
-
/* no token: the transcript's success green is the macOS traffic-light green,
|
|
30
|
-
matched to the dots this panel already draws, and the palette has no step at
|
|
31
|
-
it -- the nearest is --color-green-500 at a perceptual distance of 10.5,
|
|
32
|
-
which is a different colour rather than a rounding. Moving it here makes it
|
|
33
|
-
one declaration instead of one scattered, but it is NOT retired: nothing in
|
|
34
|
-
the scale carries this value. */
|
|
35
|
-
--bd-terminalmsg-ok: #27c93f;
|
|
36
|
-
/* The status badges' two other kinds, on the same mechanism. info is
|
|
37
|
-
blue-300 rather than the ask line's blue-400: a badge is a label, not the
|
|
38
|
-
assistant speaking. 7.61 and 12.17:1 on the media frame. */
|
|
39
|
-
--bd-terminalmsg-info: var(--color-brand-300);
|
|
40
|
-
--bd-terminalmsg-warn: var(--color-yellow-400);
|
|
41
|
-
/* The media frame, --color-surface-media. A terminal is dark in every theme, and this
|
|
42
|
-
panel's line palette (blue-400, the traffic-light green) is legible only
|
|
43
|
-
on a dark ground -- 2.98 and 1.97:1 once an inverse ground turns light.
|
|
44
|
-
It read --color-surface-inverse until dark mode decision 15. */
|
|
45
|
-
background: var(--color-surface-media);
|
|
46
|
-
border-radius: var(--shape-radius-xl);
|
|
47
|
-
padding: var(--spacing-14) var(--spacing-16) var(--spacing-32);
|
|
48
|
-
box-sizing: border-box;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/* Tighter host padding for the "flush" variant, used where the terminal
|
|
52
|
-
sits over decorative rings/a 3D scene (e.g. the VPN hero). */
|
|
53
|
-
:host([variant="flush"]) {
|
|
54
|
-
padding: var(--spacing-18) var(--spacing-20);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/* === TITLEBAR (traffic-light dots only, no label) === */
|
|
58
|
-
.bd-terminalmsg-titlebar {
|
|
59
|
-
display: flex;
|
|
60
|
-
align-items: center;
|
|
61
|
-
gap: var(--spacing-8);
|
|
62
|
-
padding-bottom: var(--spacing-16);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.bd-terminalmsg-dot {
|
|
66
|
-
width: var(--spacing-8);
|
|
67
|
-
height: var(--spacing-8);
|
|
68
|
-
border-radius: 50%;
|
|
69
|
-
display: inline-block;
|
|
70
|
-
flex-shrink: 0;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.bd-terminalmsg-dot--red {
|
|
74
|
-
background: #ff5f56;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.bd-terminalmsg-dot--yellow {
|
|
78
|
-
background: #ffbd2e;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.bd-terminalmsg-dot--green {
|
|
82
|
-
background: #27c93f;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/* === PANEL === */
|
|
86
|
-
.bd-terminalmsg-panel {
|
|
87
|
-
position: relative;
|
|
88
|
-
border: var(--border-width-1) solid var(--color-border-container-inverse);
|
|
89
|
-
border-radius: var(--shape-radius-lg);
|
|
90
|
-
padding: var(--spacing-20) var(--spacing-20) calc(var(--spacing-20) + var(--spacing-8));
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/* "flush" variant: the host's own box already reads as the terminal's
|
|
94
|
-
edge (no titlebar dots above it to visually separate an inner panel),
|
|
95
|
-
so the inner panel's own border is redundant — drop it and let the
|
|
96
|
-
panel's padding still apply. */
|
|
97
|
-
:host([variant="flush"]) .bd-terminalmsg-panel {
|
|
98
|
-
border: none;
|
|
99
|
-
padding: 0;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
/* Top "legend": text sitting on the top border line, background matching the
|
|
103
|
-
panel's own bg color masks the border behind the text. */
|
|
104
|
-
.bd-terminalmsg-panel-label {
|
|
105
|
-
position: absolute;
|
|
106
|
-
top: 0;
|
|
107
|
-
left: var(--spacing-16);
|
|
108
|
-
transform: translateY(-50%);
|
|
109
|
-
/* the media ground again; see the note above */
|
|
110
|
-
background: var(--color-surface-media);
|
|
111
|
-
padding: 0 var(--spacing-8);
|
|
112
|
-
color: var(--bd-terminalmsg-subdued);
|
|
113
|
-
font-family: var(--typography-fontFamily-mono);
|
|
114
|
-
/* no role: the panel label sitting on the top border, in mono -- see awards-flex.css.ts's
|
|
115
|
-
.bd-awardsflex-quote-source for the argument. */
|
|
116
|
-
font-size: var(--typography-fontSize-xs);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.bd-terminalmsg-body {
|
|
120
|
-
/* body-small's size and leading only. NOT its family: this panel is a
|
|
121
|
-
transcript and the mono face comes from .bd-terminalmsg-panel above, so
|
|
122
|
-
importing body-small's fontFamily-sans here would break it. */
|
|
123
|
-
font-size: var(--typography-body-small-fontSize);
|
|
124
|
-
line-height: var(--typography-body-small-lineHeight);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.bd-terminalmsg-greeting-text {
|
|
128
|
-
color: var(--bd-terminalmsg-ask);
|
|
129
|
-
/* no role: this panel is a transcript, and its line kinds are told apart by
|
|
130
|
-
TWO channels -- colour always, weight on some -- over type that is
|
|
131
|
-
deliberately constant. Measured: l-cmd and l-strong are 700 white,
|
|
132
|
-
l-ok is 400 green, l-dim is 400 grey, and all four are 14px/21px mono,
|
|
133
|
-
because the metrics belong to the panel and not to the line. That makes
|
|
134
|
-
the weight a highlighting channel, the way a syntax highlighter uses
|
|
135
|
-
one, and a role cannot express it: a role carries a size and a leading
|
|
136
|
-
with it, so adopting one here would import metrics that break the shared
|
|
137
|
-
grid the transcript is read on.
|
|
138
|
-
.
|
|
139
|
-
The type itself is owned elsewhere and correctly -- this span sits inside
|
|
140
|
-
<bd-p variant="regular">, a valid semantic text owner, which is the case
|
|
141
|
-
CLAUDE.md rule 10 sanctions an inline descendant inheriting from. Only
|
|
142
|
-
the emphasis is declared here.
|
|
143
|
-
.
|
|
144
|
-
This is the argument for the other two bold classes in this file.
|
|
145
|
-
(The separator dots keep this one comment block contiguous: the marker
|
|
146
|
-
scan stops at any blank line, even one inside a single comment, so a
|
|
147
|
-
paragraph break would leave the "no role:" above out of reach.) */
|
|
148
|
-
font-weight: var(--typography-fontWeight-bold);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/* bd-p paints itself with --color-text-primary, and on this panel that is the
|
|
152
|
-
background colour exactly, so a bd-p in here is invisible unless the panel
|
|
153
|
-
says otherwise. The class existed and the rule did not, which is how
|
|
154
|
-
dim-text rendered at 1:1. The greeting needs it too: its blue span covers
|
|
155
|
-
the greeting text but not the icon sitting beside it, so a non-emoji prefix
|
|
156
|
-
inherited the same invisible colour. */
|
|
157
|
-
.bd-terminalmsg-dim {
|
|
158
|
-
color: var(--bd-terminalmsg-subdued);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.bd-terminalmsg-greeting {
|
|
162
|
-
color: var(--color-text-on-media);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.bd-terminalmsg-intro {
|
|
166
|
-
color: var(--color-text-on-media);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.bd-terminalmsg-list {
|
|
170
|
-
display: block;
|
|
171
|
-
padding-left: var(--spacing-16);
|
|
172
|
-
margin: 0 0 var(--spacing-12);
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.bd-terminalmsg-footer {
|
|
176
|
-
color: var(--color-text-on-media);
|
|
177
|
-
margin: 0;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
/* === HINT ("legend" sitting on the bottom border line, mirrors panel-label) === */
|
|
181
|
-
.bd-terminalmsg-hint {
|
|
182
|
-
position: absolute;
|
|
183
|
-
bottom: 0;
|
|
184
|
-
left: var(--spacing-16);
|
|
185
|
-
transform: translateY(50%);
|
|
186
|
-
/* the media ground again; see the note above */
|
|
187
|
-
background: var(--color-surface-media);
|
|
188
|
-
padding: 0 var(--spacing-8);
|
|
189
|
-
color: var(--bd-terminalmsg-subdued);
|
|
190
|
-
font-family: var(--typography-fontFamily-mono);
|
|
191
|
-
/* no role: the hint legend on the bottom border, in mono -- see awards-flex.css.ts's
|
|
192
|
-
.bd-awardsflex-quote-source for the argument. */
|
|
193
|
-
font-size: var(--typography-fontSize-xs);
|
|
194
|
-
/* The legend is taken out of flow, so nothing stops it growing past the
|
|
195
|
-
panel: any hint longer than the panel is wide ran off the page at every
|
|
196
|
-
viewport, not only on a small phone. Bound it to the panel less its two
|
|
197
|
-
gutters and let it wrap when it has to. It still sits on one line at
|
|
198
|
-
every width where it fits, which is the normal case. */
|
|
199
|
-
max-width: calc(100% - var(--spacing-32));
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
/* Bracketed key labels inside the hint (e.g. "[Enter]", "[esc]") — bold + white,
|
|
203
|
-
standing out from the rest of the dimmer hint text. */
|
|
204
|
-
.bd-terminalmsg-hint-key {
|
|
205
|
-
color: var(--color-text-on-media);
|
|
206
|
-
/* no role: the colour-plus-weight highlighting channel described on
|
|
207
|
-
.bd-terminalmsg-greeting-text above -- a bracketed key against dimmer
|
|
208
|
-
hint text. */
|
|
209
|
-
font-weight: var(--typography-fontWeight-bold);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
/* === CAPTION — small dim note inside the panel, below everything else
|
|
213
|
-
(lines/greeting/footer), e.g. "// illustrative — every connection
|
|
214
|
-
closes when the prompt ends". Sits inside the black box, unlike
|
|
215
|
-
bd-header-code's terminal-caption which renders below the whole card. */
|
|
216
|
-
.bd-terminalmsg-caption {
|
|
217
|
-
/* The subdued ink, not white at 35%: that measured 3.22:1 on the frame
|
|
218
|
-
and failed 1.4.3; this is 7.92:1. */
|
|
219
|
-
color: var(--bd-terminalmsg-subdued);
|
|
220
|
-
font-size: var(--typography-body-xsmall-fontSize);
|
|
221
|
-
margin-top: var(--spacing-16);
|
|
222
|
-
padding-top: var(--spacing-12);
|
|
223
|
-
border-top: var(--border-width-1) solid var(--color-border-container-inverse);
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
/* === TYPED-LINE API (bd-terminal-message .lines=...) === */
|
|
227
|
-
.bd-terminalmsg-lines {
|
|
228
|
-
display: block;
|
|
229
|
-
/* Container query context: the row layout below reacts to the
|
|
230
|
-
terminal's own rendered width, not the viewport's. This matters
|
|
231
|
-
because the terminal is often much narrower than the screen (e.g.
|
|
232
|
-
inside the VPN hero's tilted 3D scene) — a viewport-based media
|
|
233
|
-
query never fires there, even though the row is visually cramped,
|
|
234
|
-
which was squeezing the text column to near-zero width and
|
|
235
|
-
breaking it character by character. */
|
|
236
|
-
container-type: inline-size;
|
|
237
|
-
container-name: bd-terminalmsg-lines;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.bd-terminalmsg-l-cmd {
|
|
241
|
-
color: var(--bd-terminalmsg-cmd);
|
|
242
|
-
/* no role: the colour-plus-weight highlighting channel described on
|
|
243
|
-
.bd-terminalmsg-greeting-text above -- the command line of the
|
|
244
|
-
transcript, taking its 14px/21px mono from .bd-terminalmsg-body. */
|
|
245
|
-
font-weight: var(--typography-fontWeight-bold);
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.bd-terminalmsg-l-ok {
|
|
249
|
-
color: var(--bd-terminalmsg-ok);
|
|
250
|
-
padding-bottom: var(--spacing-12);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.bd-terminalmsg-l-ask {
|
|
254
|
-
color: var(--bd-terminalmsg-ask);
|
|
255
|
-
padding: var(--spacing-12) 0;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.bd-terminalmsg-l-strong {
|
|
259
|
-
color: var(--color-text-on-media);
|
|
260
|
-
/* no role: the strong run inside a terminal line -- a state or modifier weight, not a text-content
|
|
261
|
-
type. See button.css.ts's .button--bold for the argument. */
|
|
262
|
-
font-weight: var(--typography-fontWeight-bold);
|
|
263
|
-
padding-top: var(--spacing-12);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
.bd-terminalmsg-l-dim {
|
|
267
|
-
color: var(--bd-terminalmsg-subdued);
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.bd-terminalmsg-l-space {
|
|
271
|
-
height: var(--spacing-12);
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.bd-terminalmsg-l-sep {
|
|
275
|
-
border: none;
|
|
276
|
-
/* A boundary on the dark media ground, the same value and the same role as
|
|
277
|
-
process-steps' divider: --color-border-container-inverse is white at 12%
|
|
278
|
-
exactly. Nothing moves. */
|
|
279
|
-
border-top: var(--border-width-1) solid var(--color-border-container-inverse);
|
|
280
|
-
margin: var(--spacing-8) 0;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
/* === "title" line — bold header row with an optional "● LIVE" indicator,
|
|
284
|
-
e.g. "VPN for AI Agents · connection log" === */
|
|
285
|
-
.bd-terminalmsg-l-title {
|
|
286
|
-
display: flex;
|
|
287
|
-
align-items: center;
|
|
288
|
-
justify-content: space-between;
|
|
289
|
-
gap: var(--spacing-12);
|
|
290
|
-
color: var(--color-text-on-media);
|
|
291
|
-
/* no role: the colour-plus-weight highlighting channel described on
|
|
292
|
-
.bd-terminalmsg-greeting-text above -- the transcript's title line. */
|
|
293
|
-
font-weight: var(--typography-fontWeight-bold);
|
|
294
|
-
padding-bottom: var(--spacing-16);
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.bd-terminalmsg-live {
|
|
298
|
-
display: inline-flex;
|
|
299
|
-
align-items: center;
|
|
300
|
-
gap: var(--spacing-4);
|
|
301
|
-
color: var(--bd-terminalmsg-ok);
|
|
302
|
-
/* no role: a status marker in a mono transcript, not a text-content type.
|
|
303
|
-
label-small is the nearest role and would set it in sans at medium. */
|
|
304
|
-
font-size: var(--typography-fontSize-xs);
|
|
305
|
-
/* no role: the weight of the same marker. */
|
|
306
|
-
font-weight: var(--typography-fontWeight-bold);
|
|
307
|
-
letter-spacing: var(--typography-letterSpacing-wider);
|
|
308
|
-
flex-shrink: 0;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
.bd-terminalmsg-live-dot {
|
|
312
|
-
width: var(--spacing-6);
|
|
313
|
-
height: var(--spacing-6);
|
|
314
|
-
border-radius: var(--radius-full);
|
|
315
|
-
background: var(--bd-terminalmsg-ok);
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
/* === "row" line — label / text / colored badge, 3-column layout.
|
|
319
|
-
Text wraps onto further lines while label and badge stay pinned. === */
|
|
320
|
-
.bd-terminalmsg-l-row {
|
|
321
|
-
display: grid;
|
|
322
|
-
grid-template-columns: 72px 1fr auto;
|
|
323
|
-
align-items: start;
|
|
324
|
-
column-gap: var(--spacing-12);
|
|
325
|
-
padding: var(--spacing-8) 0;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
/* "flush" variant: each row gets its own hairline top border, standing
|
|
329
|
-
in for the panel border removed above and separating rows from each
|
|
330
|
-
other. The first row would otherwise show this border flush against
|
|
331
|
-
the host's own top padding, which reads fine here — no exception
|
|
332
|
-
needed. */
|
|
333
|
-
:host([variant="flush"]) .bd-terminalmsg-l-row {
|
|
334
|
-
border-top: var(--border-width-1) solid var(--color-border-container-inverse);
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.bd-terminalmsg-l-row-label {
|
|
338
|
-
color: var(--bd-terminalmsg-subdued);
|
|
339
|
-
text-transform: uppercase;
|
|
340
|
-
font-size: var(--typography-body-xsmall-fontSize);
|
|
341
|
-
letter-spacing: var(--typography-letterSpacing-wider);
|
|
342
|
-
padding-top: var(--spacing-2);
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.bd-terminalmsg-l-row-text {
|
|
346
|
-
color: var(--color-text-on-media);
|
|
347
|
-
/* the standard spelling of word-break's deprecated break-word value:
|
|
348
|
-
break a long token anywhere rather than overflow the row */
|
|
349
|
-
overflow-wrap: anywhere;
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
.bd-terminalmsg-badge {
|
|
353
|
-
display: inline-flex;
|
|
354
|
-
align-items: center;
|
|
355
|
-
padding: var(--spacing-2) var(--spacing-12);
|
|
356
|
-
border-radius: var(--radius-full);
|
|
357
|
-
/* no role: the status chip, as .bd-terminalmsg-live above. */
|
|
358
|
-
font-size: var(--typography-fontSize-xs);
|
|
359
|
-
/* no role: the weight of the same marker. */
|
|
360
|
-
font-weight: var(--typography-fontWeight-bold);
|
|
361
|
-
white-space: nowrap;
|
|
362
|
-
margin-top: 1px;
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
/* Each badge is its ink on a tint of the same ink, so a kind is one
|
|
366
|
-
declaration to change. */
|
|
367
|
-
.bd-terminalmsg-badge--green {
|
|
368
|
-
background: color-mix(in srgb, var(--bd-terminalmsg-ok) 15%, transparent);
|
|
369
|
-
color: var(--bd-terminalmsg-ok);
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
.bd-terminalmsg-badge--blue {
|
|
373
|
-
background: color-mix(in srgb, var(--bd-terminalmsg-info) 15%, transparent);
|
|
374
|
-
color: var(--bd-terminalmsg-info);
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
.bd-terminalmsg-badge--amber {
|
|
378
|
-
background: color-mix(in srgb, var(--bd-terminalmsg-warn) 15%, transparent);
|
|
379
|
-
color: var(--bd-terminalmsg-warn);
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
.bd-terminalmsg-badge--neutral {
|
|
383
|
-
background: color-mix(in srgb, var(--bd-terminalmsg-subdued) 15%, transparent);
|
|
384
|
-
color: var(--bd-terminalmsg-subdued);
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
/* Below ~360px of the terminal's OWN width (not the viewport's), stack
|
|
388
|
-
label / text / badge vertically instead of forcing three columns into
|
|
389
|
-
too little space. Uses a container query, keyed to .bd-terminalmsg-lines
|
|
390
|
-
above, so this triggers based on the terminal's real rendered size,
|
|
391
|
-
which is what a viewport-based @media query could not do here — the
|
|
392
|
-
terminal is often much narrower than the screen (e.g. tilted inside
|
|
393
|
-
the VPN hero's 3D scene), so @media never fired even though the row
|
|
394
|
-
was visually cramped. */
|
|
395
|
-
@container bd-terminalmsg-lines (max-width: 360px) {
|
|
396
|
-
.bd-terminalmsg-l-row {
|
|
397
|
-
grid-template-columns: 1fr;
|
|
398
|
-
row-gap: var(--spacing-4);
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
.bd-terminalmsg-l-row-label {
|
|
402
|
-
padding-top: 0;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
.bd-terminalmsg-badge {
|
|
406
|
-
justify-self: start;
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
`;
|
|
1
|
+
import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-mono);color:var(--color-text-on-media);--bd-terminalmsg-subdued:var(--color-text-on-media-muted);--bd-terminalmsg-ask:var(--color-brand-400);--bd-terminalmsg-cmd:var(--color-text-on-media);--bd-terminalmsg-ok:#27c93f;--bd-terminalmsg-info:var(--color-brand-300);--bd-terminalmsg-warn:var(--color-yellow-400);background:var(--color-surface-media);border-radius:var(--shape-radius-xl);padding:var(--spacing-14) var(--spacing-16) var(--spacing-32);box-sizing:border-box;direction:ltr;display:block}:host([variant=flush]){padding:var(--spacing-18) var(--spacing-20)}.bd-terminalmsg-titlebar{align-items:center;gap:var(--spacing-8);padding-bottom:var(--spacing-16);display:flex}.bd-terminalmsg-dot{width:var(--spacing-8);height:var(--spacing-8);border-radius:50%;flex-shrink:0;display:inline-block}.bd-terminalmsg-dot--red{background:#ff5f56}.bd-terminalmsg-dot--yellow{background:#ffbd2e}.bd-terminalmsg-dot--green{background:#27c93f}.bd-terminalmsg-panel{border:var(--border-width-1) solid var(--color-border-container-inverse);border-radius:var(--shape-radius-lg);padding:var(--spacing-20) var(--spacing-20) calc(var(--spacing-20) + var(--spacing-8));position:relative}:host([variant=flush]) .bd-terminalmsg-panel{border:none;padding:0}.bd-terminalmsg-panel-label{top:0;left:var(--spacing-16);background:var(--color-surface-media);padding:0 var(--spacing-8);color:var(--bd-terminalmsg-subdued);font-family:var(--typography-fontFamily-mono);font-size:var(--typography-fontSize-xs);position:absolute;transform:translateY(-50%)}.bd-terminalmsg-body{font-size:var(--typography-body-small-fontSize);line-height:var(--typography-body-small-lineHeight)}.bd-terminalmsg-greeting-text{color:var(--bd-terminalmsg-ask);font-weight:var(--typography-fontWeight-bold)}.bd-terminalmsg-dim{color:var(--bd-terminalmsg-subdued)}.bd-terminalmsg-greeting,.bd-terminalmsg-intro{color:var(--color-text-on-media)}.bd-terminalmsg-list{padding-left:var(--spacing-16);margin:0 0 var(--spacing-12);display:block}.bd-terminalmsg-footer{color:var(--color-text-on-media);margin:0}.bd-terminalmsg-hint{bottom:0;left:var(--spacing-16);background:var(--color-surface-media);padding:0 var(--spacing-8);color:var(--bd-terminalmsg-subdued);font-family:var(--typography-fontFamily-mono);font-size:var(--typography-fontSize-xs);max-width:calc(100% - var(--spacing-32));position:absolute;transform:translateY(50%)}.bd-terminalmsg-hint-key{color:var(--color-text-on-media);font-weight:var(--typography-fontWeight-bold)}.bd-terminalmsg-caption{color:var(--bd-terminalmsg-subdued);font-size:var(--typography-body-xsmall-fontSize);margin-top:var(--spacing-16);padding-top:var(--spacing-12);border-top:var(--border-width-1) solid var(--color-border-container-inverse)}.bd-terminalmsg-lines{display:block;container:bd-terminalmsg-lines/inline-size}.bd-terminalmsg-l-cmd{color:var(--bd-terminalmsg-cmd);font-weight:var(--typography-fontWeight-bold)}.bd-terminalmsg-l-ok{color:var(--bd-terminalmsg-ok);padding-bottom:var(--spacing-12)}.bd-terminalmsg-l-ask{color:var(--bd-terminalmsg-ask);padding:var(--spacing-12) 0}.bd-terminalmsg-l-strong{color:var(--color-text-on-media);font-weight:var(--typography-fontWeight-bold);padding-top:var(--spacing-12)}.bd-terminalmsg-l-dim{color:var(--bd-terminalmsg-subdued)}.bd-terminalmsg-l-space{height:var(--spacing-12)}.bd-terminalmsg-l-sep{border:none;border-top:var(--border-width-1) solid var(--color-border-container-inverse);margin:var(--spacing-8) 0}.bd-terminalmsg-l-title{justify-content:space-between;align-items:center;gap:var(--spacing-12);color:var(--color-text-on-media);font-weight:var(--typography-fontWeight-bold);padding-bottom:var(--spacing-16);display:flex}.bd-terminalmsg-live{align-items:center;gap:var(--spacing-4);color:var(--bd-terminalmsg-ok);font-size:var(--typography-fontSize-xs);font-weight:var(--typography-fontWeight-bold);letter-spacing:var(--typography-letterSpacing-wider);flex-shrink:0;display:inline-flex}.bd-terminalmsg-live-dot{width:var(--spacing-6);height:var(--spacing-6);border-radius:var(--radius-full);background:var(--bd-terminalmsg-ok)}.bd-terminalmsg-l-row{align-items:start;column-gap:var(--spacing-12);padding:var(--spacing-8) 0;grid-template-columns:72px 1fr auto;display:grid}:host([variant=flush]) .bd-terminalmsg-l-row{border-top:var(--border-width-1) solid var(--color-border-container-inverse)}.bd-terminalmsg-l-row-label{color:var(--bd-terminalmsg-subdued);text-transform:uppercase;font-size:var(--typography-body-xsmall-fontSize);letter-spacing:var(--typography-letterSpacing-wider);padding-top:var(--spacing-2)}.bd-terminalmsg-l-row-text{color:var(--color-text-on-media);overflow-wrap:anywhere}.bd-terminalmsg-badge{padding:var(--spacing-2) var(--spacing-12);border-radius:var(--radius-full);font-size:var(--typography-fontSize-xs);font-weight:var(--typography-fontWeight-bold);white-space:nowrap;align-items:center;margin-top:1px;display:inline-flex}.bd-terminalmsg-badge--green{background:color-mix(in srgb, var(--bd-terminalmsg-ok) 15%, transparent);color:var(--bd-terminalmsg-ok)}.bd-terminalmsg-badge--blue{background:color-mix(in srgb, var(--bd-terminalmsg-info) 15%, transparent);color:var(--bd-terminalmsg-info)}.bd-terminalmsg-badge--amber{background:color-mix(in srgb, var(--bd-terminalmsg-warn) 15%, transparent);color:var(--bd-terminalmsg-warn)}.bd-terminalmsg-badge--neutral{background:color-mix(in srgb, var(--bd-terminalmsg-subdued) 15%, transparent);color:var(--bd-terminalmsg-subdued)}@container bd-terminalmsg-lines (width<=360px){.bd-terminalmsg-l-row{row-gap:var(--spacing-4);grid-template-columns:1fr}.bd-terminalmsg-l-row-label{padding-top:0}.bd-terminalmsg-badge{justify-self:start}}`;export{t as default};
|
|
410
2
|
//# sourceMappingURL=terminal-message.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminal-message.css.js","sourceRoot":"","sources":["../../../../src/components/terminal/terminal-message.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuZjB,CAAC","sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n :host {\n display: block;\n /* A terminal transcript reads left to right on any page: it is code, and\n its prompt, gutter and cursor are drawn for that direction. */\n direction: ltr;\n font-family: var(--typography-fontFamily-mono);\n color: var(--color-text-on-media);\n\n /* The panel's quieter lines: the subordinate ink on the media frame,\n fixed with it, 7.92:1 in either theme. */\n --bd-terminalmsg-subdued: var(--color-text-on-media-muted);\n\n /* The rest of the transcript's line-kind palette, on one mechanism.\n\n This panel tells its line kinds apart by COLOUR -- see the marker on\n .bd-terminalmsg-greeting-text -- so these are the component's own\n vocabulary, not applications of a brand ink. That distinction is why\n vocabulary question C closed without a global role: blue on a dark surface\n here means \"the assistant is speaking\", not \"brand\". See\n plans/reports/phase-2-vocab-c-inverse-ink.md.\n\n The five kinds used four different mechanisms before this -- two semantic\n roles, one component token, one raw primitive and one literal. Naming them\n locally puts the palette in one place to read and to change. */\n --bd-terminalmsg-ask: var(--color-brand-400);\n --bd-terminalmsg-cmd: var(--color-text-on-media);\n /* no token: the transcript's success green is the macOS traffic-light green,\n matched to the dots this panel already draws, and the palette has no step at\n it -- the nearest is --color-green-500 at a perceptual distance of 10.5,\n which is a different colour rather than a rounding. Moving it here makes it\n one declaration instead of one scattered, but it is NOT retired: nothing in\n the scale carries this value. */\n --bd-terminalmsg-ok: #27c93f;\n /* The status badges' two other kinds, on the same mechanism. info is\n blue-300 rather than the ask line's blue-400: a badge is a label, not the\n assistant speaking. 7.61 and 12.17:1 on the media frame. */\n --bd-terminalmsg-info: var(--color-brand-300);\n --bd-terminalmsg-warn: var(--color-yellow-400);\n /* The media frame, --color-surface-media. A terminal is dark in every theme, and this\n panel's line palette (blue-400, the traffic-light green) is legible only\n on a dark ground -- 2.98 and 1.97:1 once an inverse ground turns light.\n It read --color-surface-inverse until dark mode decision 15. */\n background: var(--color-surface-media);\n border-radius: var(--shape-radius-xl);\n padding: var(--spacing-14) var(--spacing-16) var(--spacing-32);\n box-sizing: border-box;\n }\n\n /* Tighter host padding for the \"flush\" variant, used where the terminal\n sits over decorative rings/a 3D scene (e.g. the VPN hero). */\n :host([variant=\"flush\"]) {\n padding: var(--spacing-18) var(--spacing-20);\n }\n\n /* === TITLEBAR (traffic-light dots only, no label) === */\n .bd-terminalmsg-titlebar {\n display: flex;\n align-items: center;\n gap: var(--spacing-8);\n padding-bottom: var(--spacing-16);\n }\n\n .bd-terminalmsg-dot {\n width: var(--spacing-8);\n height: var(--spacing-8);\n border-radius: 50%;\n display: inline-block;\n flex-shrink: 0;\n }\n\n .bd-terminalmsg-dot--red {\n background: #ff5f56;\n }\n\n .bd-terminalmsg-dot--yellow {\n background: #ffbd2e;\n }\n\n .bd-terminalmsg-dot--green {\n background: #27c93f;\n }\n\n /* === PANEL === */\n .bd-terminalmsg-panel {\n position: relative;\n border: var(--border-width-1) solid var(--color-border-container-inverse);\n border-radius: var(--shape-radius-lg);\n padding: var(--spacing-20) var(--spacing-20) calc(var(--spacing-20) + var(--spacing-8));\n }\n\n /* \"flush\" variant: the host's own box already reads as the terminal's\n edge (no titlebar dots above it to visually separate an inner panel),\n so the inner panel's own border is redundant — drop it and let the\n panel's padding still apply. */\n :host([variant=\"flush\"]) .bd-terminalmsg-panel {\n border: none;\n padding: 0;\n }\n\n /* Top \"legend\": text sitting on the top border line, background matching the\n panel's own bg color masks the border behind the text. */\n .bd-terminalmsg-panel-label {\n position: absolute;\n top: 0;\n left: var(--spacing-16);\n transform: translateY(-50%);\n /* the media ground again; see the note above */\n background: var(--color-surface-media);\n padding: 0 var(--spacing-8);\n color: var(--bd-terminalmsg-subdued);\n font-family: var(--typography-fontFamily-mono);\n /* no role: the panel label sitting on the top border, in mono -- see awards-flex.css.ts's\n .bd-awardsflex-quote-source for the argument. */\n font-size: var(--typography-fontSize-xs);\n }\n\n .bd-terminalmsg-body {\n /* body-small's size and leading only. NOT its family: this panel is a\n transcript and the mono face comes from .bd-terminalmsg-panel above, so\n importing body-small's fontFamily-sans here would break it. */\n font-size: var(--typography-body-small-fontSize);\n line-height: var(--typography-body-small-lineHeight);\n }\n\n .bd-terminalmsg-greeting-text {\n color: var(--bd-terminalmsg-ask);\n /* no role: this panel is a transcript, and its line kinds are told apart by\n TWO channels -- colour always, weight on some -- over type that is\n deliberately constant. Measured: l-cmd and l-strong are 700 white,\n l-ok is 400 green, l-dim is 400 grey, and all four are 14px/21px mono,\n because the metrics belong to the panel and not to the line. That makes\n the weight a highlighting channel, the way a syntax highlighter uses\n one, and a role cannot express it: a role carries a size and a leading\n with it, so adopting one here would import metrics that break the shared\n grid the transcript is read on.\n .\n The type itself is owned elsewhere and correctly -- this span sits inside\n <bd-p variant=\"regular\">, a valid semantic text owner, which is the case\n CLAUDE.md rule 10 sanctions an inline descendant inheriting from. Only\n the emphasis is declared here.\n .\n This is the argument for the other two bold classes in this file.\n (The separator dots keep this one comment block contiguous: the marker\n scan stops at any blank line, even one inside a single comment, so a\n paragraph break would leave the \"no role:\" above out of reach.) */\n font-weight: var(--typography-fontWeight-bold);\n }\n\n /* bd-p paints itself with --color-text-primary, and on this panel that is the\n background colour exactly, so a bd-p in here is invisible unless the panel\n says otherwise. The class existed and the rule did not, which is how\n dim-text rendered at 1:1. The greeting needs it too: its blue span covers\n the greeting text but not the icon sitting beside it, so a non-emoji prefix\n inherited the same invisible colour. */\n .bd-terminalmsg-dim {\n color: var(--bd-terminalmsg-subdued);\n }\n\n .bd-terminalmsg-greeting {\n color: var(--color-text-on-media);\n }\n\n .bd-terminalmsg-intro {\n color: var(--color-text-on-media);\n }\n\n .bd-terminalmsg-list {\n display: block;\n padding-left: var(--spacing-16);\n margin: 0 0 var(--spacing-12);\n }\n\n .bd-terminalmsg-footer {\n color: var(--color-text-on-media);\n margin: 0;\n }\n\n /* === HINT (\"legend\" sitting on the bottom border line, mirrors panel-label) === */\n .bd-terminalmsg-hint {\n position: absolute;\n bottom: 0;\n left: var(--spacing-16);\n transform: translateY(50%);\n /* the media ground again; see the note above */\n background: var(--color-surface-media);\n padding: 0 var(--spacing-8);\n color: var(--bd-terminalmsg-subdued);\n font-family: var(--typography-fontFamily-mono);\n /* no role: the hint legend on the bottom border, in mono -- see awards-flex.css.ts's\n .bd-awardsflex-quote-source for the argument. */\n font-size: var(--typography-fontSize-xs);\n /* The legend is taken out of flow, so nothing stops it growing past the\n panel: any hint longer than the panel is wide ran off the page at every\n viewport, not only on a small phone. Bound it to the panel less its two\n gutters and let it wrap when it has to. It still sits on one line at\n every width where it fits, which is the normal case. */\n max-width: calc(100% - var(--spacing-32));\n }\n\n /* Bracketed key labels inside the hint (e.g. \"[Enter]\", \"[esc]\") — bold + white,\n standing out from the rest of the dimmer hint text. */\n .bd-terminalmsg-hint-key {\n color: var(--color-text-on-media);\n /* no role: the colour-plus-weight highlighting channel described on\n .bd-terminalmsg-greeting-text above -- a bracketed key against dimmer\n hint text. */\n font-weight: var(--typography-fontWeight-bold);\n }\n\n /* === CAPTION — small dim note inside the panel, below everything else\n (lines/greeting/footer), e.g. \"// illustrative — every connection\n closes when the prompt ends\". Sits inside the black box, unlike\n bd-header-code's terminal-caption which renders below the whole card. */\n .bd-terminalmsg-caption {\n /* The subdued ink, not white at 35%: that measured 3.22:1 on the frame\n and failed 1.4.3; this is 7.92:1. */\n color: var(--bd-terminalmsg-subdued);\n font-size: var(--typography-body-xsmall-fontSize);\n margin-top: var(--spacing-16);\n padding-top: var(--spacing-12);\n border-top: var(--border-width-1) solid var(--color-border-container-inverse);\n }\n\n /* === TYPED-LINE API (bd-terminal-message .lines=...) === */\n .bd-terminalmsg-lines {\n display: block;\n /* Container query context: the row layout below reacts to the\n terminal's own rendered width, not the viewport's. This matters\n because the terminal is often much narrower than the screen (e.g.\n inside the VPN hero's tilted 3D scene) — a viewport-based media\n query never fires there, even though the row is visually cramped,\n which was squeezing the text column to near-zero width and\n breaking it character by character. */\n container-type: inline-size;\n container-name: bd-terminalmsg-lines;\n }\n\n .bd-terminalmsg-l-cmd {\n color: var(--bd-terminalmsg-cmd);\n /* no role: the colour-plus-weight highlighting channel described on\n .bd-terminalmsg-greeting-text above -- the command line of the\n transcript, taking its 14px/21px mono from .bd-terminalmsg-body. */\n font-weight: var(--typography-fontWeight-bold);\n }\n\n .bd-terminalmsg-l-ok {\n color: var(--bd-terminalmsg-ok);\n padding-bottom: var(--spacing-12);\n }\n\n .bd-terminalmsg-l-ask {\n color: var(--bd-terminalmsg-ask);\n padding: var(--spacing-12) 0;\n }\n\n .bd-terminalmsg-l-strong {\n color: var(--color-text-on-media);\n /* no role: the strong run inside a terminal line -- a state or modifier weight, not a text-content\n type. See button.css.ts's .button--bold for the argument. */\n font-weight: var(--typography-fontWeight-bold);\n padding-top: var(--spacing-12);\n }\n\n .bd-terminalmsg-l-dim {\n color: var(--bd-terminalmsg-subdued);\n }\n\n .bd-terminalmsg-l-space {\n height: var(--spacing-12);\n }\n\n .bd-terminalmsg-l-sep {\n border: none;\n /* A boundary on the dark media ground, the same value and the same role as\n process-steps' divider: --color-border-container-inverse is white at 12%\n exactly. Nothing moves. */\n border-top: var(--border-width-1) solid var(--color-border-container-inverse);\n margin: var(--spacing-8) 0;\n }\n\n /* === \"title\" line — bold header row with an optional \"● LIVE\" indicator,\n e.g. \"VPN for AI Agents · connection log\" === */\n .bd-terminalmsg-l-title {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--spacing-12);\n color: var(--color-text-on-media);\n /* no role: the colour-plus-weight highlighting channel described on\n .bd-terminalmsg-greeting-text above -- the transcript's title line. */\n font-weight: var(--typography-fontWeight-bold);\n padding-bottom: var(--spacing-16);\n }\n\n .bd-terminalmsg-live {\n display: inline-flex;\n align-items: center;\n gap: var(--spacing-4);\n color: var(--bd-terminalmsg-ok);\n /* no role: a status marker in a mono transcript, not a text-content type.\n label-small is the nearest role and would set it in sans at medium. */\n font-size: var(--typography-fontSize-xs);\n /* no role: the weight of the same marker. */\n font-weight: var(--typography-fontWeight-bold);\n letter-spacing: var(--typography-letterSpacing-wider);\n flex-shrink: 0;\n }\n\n .bd-terminalmsg-live-dot {\n width: var(--spacing-6);\n height: var(--spacing-6);\n border-radius: var(--radius-full);\n background: var(--bd-terminalmsg-ok);\n }\n\n /* === \"row\" line — label / text / colored badge, 3-column layout.\n Text wraps onto further lines while label and badge stay pinned. === */\n .bd-terminalmsg-l-row {\n display: grid;\n grid-template-columns: 72px 1fr auto;\n align-items: start;\n column-gap: var(--spacing-12);\n padding: var(--spacing-8) 0;\n }\n\n /* \"flush\" variant: each row gets its own hairline top border, standing\n in for the panel border removed above and separating rows from each\n other. The first row would otherwise show this border flush against\n the host's own top padding, which reads fine here — no exception\n needed. */\n :host([variant=\"flush\"]) .bd-terminalmsg-l-row {\n border-top: var(--border-width-1) solid var(--color-border-container-inverse);\n }\n\n .bd-terminalmsg-l-row-label {\n color: var(--bd-terminalmsg-subdued);\n text-transform: uppercase;\n font-size: var(--typography-body-xsmall-fontSize);\n letter-spacing: var(--typography-letterSpacing-wider);\n padding-top: var(--spacing-2);\n }\n\n .bd-terminalmsg-l-row-text {\n color: var(--color-text-on-media);\n /* the standard spelling of word-break's deprecated break-word value:\n break a long token anywhere rather than overflow the row */\n overflow-wrap: anywhere;\n }\n\n .bd-terminalmsg-badge {\n display: inline-flex;\n align-items: center;\n padding: var(--spacing-2) var(--spacing-12);\n border-radius: var(--radius-full);\n /* no role: the status chip, as .bd-terminalmsg-live above. */\n font-size: var(--typography-fontSize-xs);\n /* no role: the weight of the same marker. */\n font-weight: var(--typography-fontWeight-bold);\n white-space: nowrap;\n margin-top: 1px;\n }\n\n /* Each badge is its ink on a tint of the same ink, so a kind is one\n declaration to change. */\n .bd-terminalmsg-badge--green {\n background: color-mix(in srgb, var(--bd-terminalmsg-ok) 15%, transparent);\n color: var(--bd-terminalmsg-ok);\n }\n\n .bd-terminalmsg-badge--blue {\n background: color-mix(in srgb, var(--bd-terminalmsg-info) 15%, transparent);\n color: var(--bd-terminalmsg-info);\n }\n\n .bd-terminalmsg-badge--amber {\n background: color-mix(in srgb, var(--bd-terminalmsg-warn) 15%, transparent);\n color: var(--bd-terminalmsg-warn);\n }\n\n .bd-terminalmsg-badge--neutral {\n background: color-mix(in srgb, var(--bd-terminalmsg-subdued) 15%, transparent);\n color: var(--bd-terminalmsg-subdued);\n }\n\n /* Below ~360px of the terminal's OWN width (not the viewport's), stack\n label / text / badge vertically instead of forcing three columns into\n too little space. Uses a container query, keyed to .bd-terminalmsg-lines\n above, so this triggers based on the terminal's real rendered size,\n which is what a viewport-based @media query could not do here — the\n terminal is often much narrower than the screen (e.g. tilted inside\n the VPN hero's 3D scene), so @media never fired even though the row\n was visually cramped. */\n @container bd-terminalmsg-lines (max-width: 360px) {\n .bd-terminalmsg-l-row {\n grid-template-columns: 1fr;\n row-gap: var(--spacing-4);\n }\n\n .bd-terminalmsg-l-row-label {\n padding-top: 0;\n }\n\n .bd-terminalmsg-badge {\n justify-self: start;\n }\n }\n`;"]}
|
|
1
|
+
{"version":3,"file":"terminal-message.css.js","names":["terminal_message_css_default"],"sources":["../../../../src/components/terminal/terminal-message.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n :host {\n display: block;\n /* A terminal transcript reads left to right on any page: it is code, and\n its prompt, gutter and cursor are drawn for that direction. */\n direction: ltr;\n font-family: var(--typography-fontFamily-mono);\n color: var(--color-text-on-media);\n\n /* The panel's quieter lines: the subordinate ink on the media frame,\n fixed with it, 7.92:1 in either theme. */\n --bd-terminalmsg-subdued: var(--color-text-on-media-muted);\n\n /* The rest of the transcript's line-kind palette, on one mechanism.\n\n This panel tells its line kinds apart by COLOUR -- see the marker on\n .bd-terminalmsg-greeting-text -- so these are the component's own\n vocabulary, not applications of a brand ink. That distinction is why\n vocabulary question C closed without a global role: blue on a dark surface\n here means \"the assistant is speaking\", not \"brand\". See\n plans/reports/phase-2-vocab-c-inverse-ink.md.\n\n The five kinds used four different mechanisms before this -- two semantic\n roles, one component token, one raw primitive and one literal. Naming them\n locally puts the palette in one place to read and to change. */\n --bd-terminalmsg-ask: var(--color-brand-400);\n --bd-terminalmsg-cmd: var(--color-text-on-media);\n /* no token: the transcript's success green is the macOS traffic-light green,\n matched to the dots this panel already draws, and the palette has no step at\n it -- the nearest is --color-green-500 at a perceptual distance of 10.5,\n which is a different colour rather than a rounding. Moving it here makes it\n one declaration instead of one scattered, but it is NOT retired: nothing in\n the scale carries this value. */\n --bd-terminalmsg-ok: #27c93f;\n /* The status badges' two other kinds, on the same mechanism. info is\n blue-300 rather than the ask line's blue-400: a badge is a label, not the\n assistant speaking. 7.61 and 12.17:1 on the media frame. */\n --bd-terminalmsg-info: var(--color-brand-300);\n --bd-terminalmsg-warn: var(--color-yellow-400);\n /* The media frame, --color-surface-media. A terminal is dark in every theme, and this\n panel's line palette (blue-400, the traffic-light green) is legible only\n on a dark ground -- 2.98 and 1.97:1 once an inverse ground turns light.\n It read --color-surface-inverse until dark mode decision 15. */\n background: var(--color-surface-media);\n border-radius: var(--shape-radius-xl);\n padding: var(--spacing-14) var(--spacing-16) var(--spacing-32);\n box-sizing: border-box;\n }\n\n /* Tighter host padding for the \"flush\" variant, used where the terminal\n sits over decorative rings/a 3D scene (e.g. the VPN hero). */\n :host([variant=\"flush\"]) {\n padding: var(--spacing-18) var(--spacing-20);\n }\n\n /* === TITLEBAR (traffic-light dots only, no label) === */\n .bd-terminalmsg-titlebar {\n display: flex;\n align-items: center;\n gap: var(--spacing-8);\n padding-bottom: var(--spacing-16);\n }\n\n .bd-terminalmsg-dot {\n width: var(--spacing-8);\n height: var(--spacing-8);\n border-radius: 50%;\n display: inline-block;\n flex-shrink: 0;\n }\n\n .bd-terminalmsg-dot--red {\n background: #ff5f56;\n }\n\n .bd-terminalmsg-dot--yellow {\n background: #ffbd2e;\n }\n\n .bd-terminalmsg-dot--green {\n background: #27c93f;\n }\n\n /* === PANEL === */\n .bd-terminalmsg-panel {\n position: relative;\n border: var(--border-width-1) solid var(--color-border-container-inverse);\n border-radius: var(--shape-radius-lg);\n padding: var(--spacing-20) var(--spacing-20) calc(var(--spacing-20) + var(--spacing-8));\n }\n\n /* \"flush\" variant: the host's own box already reads as the terminal's\n edge (no titlebar dots above it to visually separate an inner panel),\n so the inner panel's own border is redundant — drop it and let the\n panel's padding still apply. */\n :host([variant=\"flush\"]) .bd-terminalmsg-panel {\n border: none;\n padding: 0;\n }\n\n /* Top \"legend\": text sitting on the top border line, background matching the\n panel's own bg color masks the border behind the text. */\n .bd-terminalmsg-panel-label {\n position: absolute;\n top: 0;\n left: var(--spacing-16);\n transform: translateY(-50%);\n /* the media ground again; see the note above */\n background: var(--color-surface-media);\n padding: 0 var(--spacing-8);\n color: var(--bd-terminalmsg-subdued);\n font-family: var(--typography-fontFamily-mono);\n /* no role: the panel label sitting on the top border, in mono -- see awards-flex.css.ts's\n .bd-awardsflex-quote-source for the argument. */\n font-size: var(--typography-fontSize-xs);\n }\n\n .bd-terminalmsg-body {\n /* body-small's size and leading only. NOT its family: this panel is a\n transcript and the mono face comes from .bd-terminalmsg-panel above, so\n importing body-small's fontFamily-sans here would break it. */\n font-size: var(--typography-body-small-fontSize);\n line-height: var(--typography-body-small-lineHeight);\n }\n\n .bd-terminalmsg-greeting-text {\n color: var(--bd-terminalmsg-ask);\n /* no role: this panel is a transcript, and its line kinds are told apart by\n TWO channels -- colour always, weight on some -- over type that is\n deliberately constant. Measured: l-cmd and l-strong are 700 white,\n l-ok is 400 green, l-dim is 400 grey, and all four are 14px/21px mono,\n because the metrics belong to the panel and not to the line. That makes\n the weight a highlighting channel, the way a syntax highlighter uses\n one, and a role cannot express it: a role carries a size and a leading\n with it, so adopting one here would import metrics that break the shared\n grid the transcript is read on.\n .\n The type itself is owned elsewhere and correctly -- this span sits inside\n <bd-p variant=\"regular\">, a valid semantic text owner, which is the case\n CLAUDE.md rule 10 sanctions an inline descendant inheriting from. Only\n the emphasis is declared here.\n .\n This is the argument for the other two bold classes in this file.\n (The separator dots keep this one comment block contiguous: the marker\n scan stops at any blank line, even one inside a single comment, so a\n paragraph break would leave the \"no role:\" above out of reach.) */\n font-weight: var(--typography-fontWeight-bold);\n }\n\n /* bd-p paints itself with --color-text-primary, and on this panel that is the\n background colour exactly, so a bd-p in here is invisible unless the panel\n says otherwise. The class existed and the rule did not, which is how\n dim-text rendered at 1:1. The greeting needs it too: its blue span covers\n the greeting text but not the icon sitting beside it, so a non-emoji prefix\n inherited the same invisible colour. */\n .bd-terminalmsg-dim {\n color: var(--bd-terminalmsg-subdued);\n }\n\n .bd-terminalmsg-greeting {\n color: var(--color-text-on-media);\n }\n\n .bd-terminalmsg-intro {\n color: var(--color-text-on-media);\n }\n\n .bd-terminalmsg-list {\n display: block;\n padding-left: var(--spacing-16);\n margin: 0 0 var(--spacing-12);\n }\n\n .bd-terminalmsg-footer {\n color: var(--color-text-on-media);\n margin: 0;\n }\n\n /* === HINT (\"legend\" sitting on the bottom border line, mirrors panel-label) === */\n .bd-terminalmsg-hint {\n position: absolute;\n bottom: 0;\n left: var(--spacing-16);\n transform: translateY(50%);\n /* the media ground again; see the note above */\n background: var(--color-surface-media);\n padding: 0 var(--spacing-8);\n color: var(--bd-terminalmsg-subdued);\n font-family: var(--typography-fontFamily-mono);\n /* no role: the hint legend on the bottom border, in mono -- see awards-flex.css.ts's\n .bd-awardsflex-quote-source for the argument. */\n font-size: var(--typography-fontSize-xs);\n /* The legend is taken out of flow, so nothing stops it growing past the\n panel: any hint longer than the panel is wide ran off the page at every\n viewport, not only on a small phone. Bound it to the panel less its two\n gutters and let it wrap when it has to. It still sits on one line at\n every width where it fits, which is the normal case. */\n max-width: calc(100% - var(--spacing-32));\n }\n\n /* Bracketed key labels inside the hint (e.g. \"[Enter]\", \"[esc]\") — bold + white,\n standing out from the rest of the dimmer hint text. */\n .bd-terminalmsg-hint-key {\n color: var(--color-text-on-media);\n /* no role: the colour-plus-weight highlighting channel described on\n .bd-terminalmsg-greeting-text above -- a bracketed key against dimmer\n hint text. */\n font-weight: var(--typography-fontWeight-bold);\n }\n\n /* === CAPTION — small dim note inside the panel, below everything else\n (lines/greeting/footer), e.g. \"// illustrative — every connection\n closes when the prompt ends\". Sits inside the black box, unlike\n bd-header-code's terminal-caption which renders below the whole card. */\n .bd-terminalmsg-caption {\n /* The subdued ink, not white at 35%: that measured 3.22:1 on the frame\n and failed 1.4.3; this is 7.92:1. */\n color: var(--bd-terminalmsg-subdued);\n font-size: var(--typography-body-xsmall-fontSize);\n margin-top: var(--spacing-16);\n padding-top: var(--spacing-12);\n border-top: var(--border-width-1) solid var(--color-border-container-inverse);\n }\n\n /* === TYPED-LINE API (bd-terminal-message .lines=...) === */\n .bd-terminalmsg-lines {\n display: block;\n /* Container query context: the row layout below reacts to the\n terminal's own rendered width, not the viewport's. This matters\n because the terminal is often much narrower than the screen (e.g.\n inside the VPN hero's tilted 3D scene) — a viewport-based media\n query never fires there, even though the row is visually cramped,\n which was squeezing the text column to near-zero width and\n breaking it character by character. */\n container-type: inline-size;\n container-name: bd-terminalmsg-lines;\n }\n\n .bd-terminalmsg-l-cmd {\n color: var(--bd-terminalmsg-cmd);\n /* no role: the colour-plus-weight highlighting channel described on\n .bd-terminalmsg-greeting-text above -- the command line of the\n transcript, taking its 14px/21px mono from .bd-terminalmsg-body. */\n font-weight: var(--typography-fontWeight-bold);\n }\n\n .bd-terminalmsg-l-ok {\n color: var(--bd-terminalmsg-ok);\n padding-bottom: var(--spacing-12);\n }\n\n .bd-terminalmsg-l-ask {\n color: var(--bd-terminalmsg-ask);\n padding: var(--spacing-12) 0;\n }\n\n .bd-terminalmsg-l-strong {\n color: var(--color-text-on-media);\n /* no role: the strong run inside a terminal line -- a state or modifier weight, not a text-content\n type. See button.css.ts's .button--bold for the argument. */\n font-weight: var(--typography-fontWeight-bold);\n padding-top: var(--spacing-12);\n }\n\n .bd-terminalmsg-l-dim {\n color: var(--bd-terminalmsg-subdued);\n }\n\n .bd-terminalmsg-l-space {\n height: var(--spacing-12);\n }\n\n .bd-terminalmsg-l-sep {\n border: none;\n /* A boundary on the dark media ground, the same value and the same role as\n process-steps' divider: --color-border-container-inverse is white at 12%\n exactly. Nothing moves. */\n border-top: var(--border-width-1) solid var(--color-border-container-inverse);\n margin: var(--spacing-8) 0;\n }\n\n /* === \"title\" line — bold header row with an optional \"● LIVE\" indicator,\n e.g. \"VPN for AI Agents · connection log\" === */\n .bd-terminalmsg-l-title {\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: var(--spacing-12);\n color: var(--color-text-on-media);\n /* no role: the colour-plus-weight highlighting channel described on\n .bd-terminalmsg-greeting-text above -- the transcript's title line. */\n font-weight: var(--typography-fontWeight-bold);\n padding-bottom: var(--spacing-16);\n }\n\n .bd-terminalmsg-live {\n display: inline-flex;\n align-items: center;\n gap: var(--spacing-4);\n color: var(--bd-terminalmsg-ok);\n /* no role: a status marker in a mono transcript, not a text-content type.\n label-small is the nearest role and would set it in sans at medium. */\n font-size: var(--typography-fontSize-xs);\n /* no role: the weight of the same marker. */\n font-weight: var(--typography-fontWeight-bold);\n letter-spacing: var(--typography-letterSpacing-wider);\n flex-shrink: 0;\n }\n\n .bd-terminalmsg-live-dot {\n width: var(--spacing-6);\n height: var(--spacing-6);\n border-radius: var(--radius-full);\n background: var(--bd-terminalmsg-ok);\n }\n\n /* === \"row\" line — label / text / colored badge, 3-column layout.\n Text wraps onto further lines while label and badge stay pinned. === */\n .bd-terminalmsg-l-row {\n display: grid;\n grid-template-columns: 72px 1fr auto;\n align-items: start;\n column-gap: var(--spacing-12);\n padding: var(--spacing-8) 0;\n }\n\n /* \"flush\" variant: each row gets its own hairline top border, standing\n in for the panel border removed above and separating rows from each\n other. The first row would otherwise show this border flush against\n the host's own top padding, which reads fine here — no exception\n needed. */\n :host([variant=\"flush\"]) .bd-terminalmsg-l-row {\n border-top: var(--border-width-1) solid var(--color-border-container-inverse);\n }\n\n .bd-terminalmsg-l-row-label {\n color: var(--bd-terminalmsg-subdued);\n text-transform: uppercase;\n font-size: var(--typography-body-xsmall-fontSize);\n letter-spacing: var(--typography-letterSpacing-wider);\n padding-top: var(--spacing-2);\n }\n\n .bd-terminalmsg-l-row-text {\n color: var(--color-text-on-media);\n /* the standard spelling of word-break's deprecated break-word value:\n break a long token anywhere rather than overflow the row */\n overflow-wrap: anywhere;\n }\n\n .bd-terminalmsg-badge {\n display: inline-flex;\n align-items: center;\n padding: var(--spacing-2) var(--spacing-12);\n border-radius: var(--radius-full);\n /* no role: the status chip, as .bd-terminalmsg-live above. */\n font-size: var(--typography-fontSize-xs);\n /* no role: the weight of the same marker. */\n font-weight: var(--typography-fontWeight-bold);\n white-space: nowrap;\n margin-top: 1px;\n }\n\n /* Each badge is its ink on a tint of the same ink, so a kind is one\n declaration to change. */\n .bd-terminalmsg-badge--green {\n background: color-mix(in srgb, var(--bd-terminalmsg-ok) 15%, transparent);\n color: var(--bd-terminalmsg-ok);\n }\n\n .bd-terminalmsg-badge--blue {\n background: color-mix(in srgb, var(--bd-terminalmsg-info) 15%, transparent);\n color: var(--bd-terminalmsg-info);\n }\n\n .bd-terminalmsg-badge--amber {\n background: color-mix(in srgb, var(--bd-terminalmsg-warn) 15%, transparent);\n color: var(--bd-terminalmsg-warn);\n }\n\n .bd-terminalmsg-badge--neutral {\n background: color-mix(in srgb, var(--bd-terminalmsg-subdued) 15%, transparent);\n color: var(--bd-terminalmsg-subdued);\n }\n\n /* Below ~360px of the terminal's OWN width (not the viewport's), stack\n label / text / badge vertically instead of forcing three columns into\n too little space. Uses a container query, keyed to .bd-terminalmsg-lines\n above, so this triggers based on the terminal's real rendered size,\n which is what a viewport-based @media query could not do here — the\n terminal is often much narrower than the screen (e.g. tilted inside\n the VPN hero's 3D scene), so @media never fired even though the row\n was visually cramped. */\n @container bd-terminalmsg-lines (max-width: 360px) {\n .bd-terminalmsg-l-row {\n grid-template-columns: 1fr;\n row-gap: var(--spacing-4);\n }\n\n .bd-terminalmsg-l-row-label {\n padding-top: 0;\n }\n\n .bd-terminalmsg-badge {\n justify-self: start;\n }\n }\n`;"],"mappings":"A,0BAEA,IAAAA,EAAe,CAAG,ukL"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LitElement, nothing } from "lit";
|
|
2
|
-
import "../heading/heading.
|
|
3
|
-
import "../list/list-item/list-item.
|
|
4
|
-
import "../list/list.
|
|
5
|
-
import "../paragraph/paragraph.
|
|
6
|
-
import "./terminal-cursor.
|
|
2
|
+
import "../heading/heading.js";
|
|
3
|
+
import "../list/list-item/list-item.js";
|
|
4
|
+
import "../list/list.js";
|
|
5
|
+
import "../paragraph/paragraph.js";
|
|
6
|
+
import "./terminal-cursor.js";
|
|
7
7
|
type Variant = "default" | "flush";
|
|
8
8
|
type LineType = "sep" | "space" | "cmd" | "ok" | "ask" | "strong" | "dim" | "title" | "row";
|
|
9
9
|
interface TerminalLine {
|