@repobit/dex-system-design 3.0.1 → 3.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/src/_bundled/oxc-project_runtime/helpers/esm/decorate.js +1 -0
- package/dist/src/components/accordion/accordion-bg.css.js +1 -288
- package/dist/src/components/accordion/accordion-bg.css.js.map +1 -1
- package/dist/src/components/accordion/accordion-bg.d.ts +5 -5
- package/dist/src/components/accordion/accordion-bg.js +15 -210
- package/dist/src/components/accordion/accordion-bg.js.map +1 -1
- package/dist/src/components/accordion/accordion-keyboard.js +1 -89
- package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
- package/dist/src/components/accordion/accordion-panel.js +1 -22
- package/dist/src/components/accordion/accordion-panel.js.map +1 -1
- package/dist/src/components/accordion/accordion.css.js +1 -380
- package/dist/src/components/accordion/accordion.css.js.map +1 -1
- package/dist/src/components/accordion/accordion.d.ts +7 -7
- package/dist/src/components/accordion/accordion.js +16 -138
- package/dist/src/components/accordion/accordion.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -88
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +4 -4
- package/dist/src/components/agent-endpoints/agent-endpoints.js +17 -76
- package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
- package/dist/src/components/alert/alert.css.js +1 -217
- package/dist/src/components/alert/alert.css.js.map +1 -1
- package/dist/src/components/alert/alert.d.ts +4 -4
- package/dist/src/components/alert/alert.js +6 -110
- package/dist/src/components/alert/alert.js.map +1 -1
- package/dist/src/components/anchor/anchor-nav.css.js +1 -546
- package/dist/src/components/anchor/anchor-nav.css.js.map +1 -1
- package/dist/src/components/anchor/anchor-nav.d.ts +4 -4
- package/dist/src/components/anchor/anchor-nav.js +23 -567
- package/dist/src/components/anchor/anchor-nav.js.map +1 -1
- package/dist/src/components/annotation/annotation.css.js +1 -64
- package/dist/src/components/annotation/annotation.css.js.map +1 -1
- package/dist/src/components/annotation/annotation.d.ts +2 -2
- package/dist/src/components/annotation/annotation.js +7 -72
- package/dist/src/components/annotation/annotation.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.css.js +1 -122
- package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.d.ts +2 -2
- package/dist/src/components/audience-card/audience-card.js +8 -83
- package/dist/src/components/audience-card/audience-card.js.map +1 -1
- package/dist/src/components/avatar/avatar.css.js +1 -65
- package/dist/src/components/avatar/avatar.css.js.map +1 -1
- package/dist/src/components/avatar/avatar.d.ts +3 -3
- package/dist/src/components/avatar/avatar.js +6 -76
- package/dist/src/components/avatar/avatar.js.map +1 -1
- package/dist/src/components/awards/awards-flex.css.js +1 -273
- package/dist/src/components/awards/awards-flex.css.js.map +1 -1
- package/dist/src/components/awards/awards-flex.d.ts +12 -12
- package/dist/src/components/awards/awards-flex.js +33 -264
- package/dist/src/components/awards/awards-flex.js.map +1 -1
- package/dist/src/components/awards/awards-spotlight.css.js +1 -161
- package/dist/src/components/awards/awards-spotlight.css.js.map +1 -1
- package/dist/src/components/awards/awards-spotlight.d.ts +4 -4
- package/dist/src/components/awards/awards-spotlight.js +24 -140
- package/dist/src/components/awards/awards-spotlight.js.map +1 -1
- package/dist/src/components/awards/awards.css.js +1 -401
- package/dist/src/components/awards/awards.css.js.map +1 -1
- package/dist/src/components/awards/awards.d.ts +13 -13
- package/dist/src/components/awards/awards.js +26 -179
- package/dist/src/components/awards/awards.js.map +1 -1
- package/dist/src/components/awards/scroll-slides.js +1 -131
- package/dist/src/components/awards/scroll-slides.js.map +1 -1
- package/dist/src/components/back/back.css.js +1 -91
- package/dist/src/components/back/back.css.js.map +1 -1
- package/dist/src/components/back/back.d.ts +1 -1
- package/dist/src/components/back/back.js +8 -71
- package/dist/src/components/back/back.js.map +1 -1
- package/dist/src/components/badge/badge.css.js +1 -204
- package/dist/src/components/badge/badge.css.js.map +1 -1
- package/dist/src/components/badge/badge.d.ts +4 -4
- package/dist/src/components/badge/badge.js +2 -117
- package/dist/src/components/badge/badge.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.css.js +16 -150
- package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.d.ts +3 -3
- package/dist/src/components/bento-grid/bento-grid.js +10 -189
- package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.css.js +1 -338
- package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.d.ts +3 -3
- package/dist/src/components/bento-grid/bento-item.js +10 -94
- package/dist/src/components/bento-grid/bento-item.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.css.js +1 -54
- package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.d.ts +2 -2
- package/dist/src/components/blockquote/blockquote.js +1 -44
- package/dist/src/components/blockquote/blockquote.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.css.js +1 -168
- package/dist/src/components/breadcrumb/breadcrumb.css.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -5
- package/dist/src/components/breadcrumb/breadcrumb.js +9 -166
- package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/src/components/button/button.css.js +1 -843
- package/dist/src/components/button/button.css.js.map +1 -1
- package/dist/src/components/button/button.d.ts +5 -5
- package/dist/src/components/button/button.js +18 -420
- package/dist/src/components/button/button.js.map +1 -1
- package/dist/src/components/caption/caption.css.js +1 -29
- package/dist/src/components/caption/caption.css.js.map +1 -1
- package/dist/src/components/caption/caption.d.ts +3 -3
- package/dist/src/components/caption/caption.js +2 -36
- package/dist/src/components/caption/caption.js.map +1 -1
- package/dist/src/components/card-features/card-features.css.js +1 -120
- package/dist/src/components/card-features/card-features.css.js.map +1 -1
- package/dist/src/components/card-features/card-features.d.ts +3 -3
- package/dist/src/components/card-features/card-features.js +12 -145
- package/dist/src/components/card-features/card-features.js.map +1 -1
- package/dist/src/components/cards/card.css.js +1 -369
- package/dist/src/components/cards/card.css.js.map +1 -1
- package/dist/src/components/cards/card.d.ts +3 -3
- package/dist/src/components/cards/card.js +21 -312
- package/dist/src/components/cards/card.js.map +1 -1
- package/dist/src/components/carousel/carousel.css.js +1 -261
- package/dist/src/components/carousel/carousel.css.js.map +1 -1
- package/dist/src/components/carousel/carousel.d.ts +5 -5
- package/dist/src/components/carousel/carousel.js +13 -297
- package/dist/src/components/carousel/carousel.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.css.js +1 -173
- package/dist/src/components/checkbox/checkbox.css.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.d.ts +2 -2
- package/dist/src/components/checkbox/checkbox.js +5 -138
- package/dist/src/components/checkbox/checkbox.js.map +1 -1
- package/dist/src/components/code/code.css.js +1 -73
- package/dist/src/components/code/code.css.js.map +1 -1
- package/dist/src/components/code/code.d.ts +2 -2
- package/dist/src/components/code/code.js +4 -87
- package/dist/src/components/code/code.js.map +1 -1
- package/dist/src/components/compare/compare.css.js +1 -478
- package/dist/src/components/compare/compare.css.js.map +1 -1
- package/dist/src/components/compare/compare.d.ts +5 -5
- package/dist/src/components/compare/compare.js +23 -476
- package/dist/src/components/compare/compare.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -141
- package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.d.ts +2 -2
- package/dist/src/components/comparison-panel/comparison-panel.js +18 -86
- package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -391
- package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.d.ts +2 -2
- package/dist/src/components/compatibility-table/compatibility-table.js +26 -136
- package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.css.js +1 -97
- package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.d.ts +2 -2
- package/dist/src/components/cta-banner/cta-banner.js +8 -51
- package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
- package/dist/src/components/display/display.css.js +1 -95
- package/dist/src/components/display/display.css.js.map +1 -1
- package/dist/src/components/display/display.d.ts +2 -2
- package/dist/src/components/display/display.js +3 -84
- package/dist/src/components/display/display.js.map +1 -1
- package/dist/src/components/divider/divider-horizontal.d.ts +2 -2
- package/dist/src/components/divider/divider-horizontal.js +4 -63
- package/dist/src/components/divider/divider-horizontal.js.map +1 -1
- package/dist/src/components/divider/divider-vertical.d.ts +2 -2
- package/dist/src/components/divider/divider-vertical.js +6 -61
- package/dist/src/components/divider/divider-vertical.js.map +1 -1
- package/dist/src/components/divider/divider.css.js +1 -20
- package/dist/src/components/divider/divider.css.js.map +1 -1
- package/dist/src/components/dropdown/dropdown.css.js +1 -121
- package/dist/src/components/dropdown/dropdown.css.js.map +1 -1
- package/dist/src/components/dropdown/dropdown.d.ts +5 -5
- package/dist/src/components/dropdown/dropdown.js +17 -283
- package/dist/src/components/dropdown/dropdown.js.map +1 -1
- package/dist/src/components/features/features.css.js +1 -123
- package/dist/src/components/features/features.css.js.map +1 -1
- package/dist/src/components/features/features.d.ts +5 -5
- package/dist/src/components/features/features.js +11 -71
- package/dist/src/components/features/features.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.css.js +1 -100
- package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.d.ts +5 -5
- package/dist/src/components/features-tab/features-tab.js +9 -70
- package/dist/src/components/features-tab/features-tab.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.css.js +1 -28
- package/dist/src/components/fieldset/fieldset.css.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.d.ts +2 -2
- package/dist/src/components/fieldset/fieldset.js +3 -31
- package/dist/src/components/fieldset/fieldset.js.map +1 -1
- package/dist/src/components/footer/footer-images.js +5 -27
- package/dist/src/components/footer/footer-images.js.map +1 -1
- package/dist/src/components/footer/footer-links-group.css.js +1 -33
- package/dist/src/components/footer/footer-links-group.css.js.map +1 -1
- package/dist/src/components/footer/footer-links-group.d.ts +3 -3
- package/dist/src/components/footer/footer-links-group.js +3 -32
- package/dist/src/components/footer/footer-links-group.js.map +1 -1
- package/dist/src/components/footer/footer-locale.js +1 -45
- package/dist/src/components/footer/footer-locale.js.map +1 -1
- package/dist/src/components/footer/footer-lp.d.ts +7 -7
- package/dist/src/components/footer/footer-lp.js +8 -121
- package/dist/src/components/footer/footer-lp.js.map +1 -1
- package/dist/src/components/footer/footer-nav-menu.css.js +1 -61
- package/dist/src/components/footer/footer-nav-menu.css.js.map +1 -1
- package/dist/src/components/footer/footer-nav-menu.d.ts +3 -3
- package/dist/src/components/footer/footer-nav-menu.js +3 -47
- package/dist/src/components/footer/footer-nav-menu.js.map +1 -1
- package/dist/src/components/footer/footer.css.js +1 -664
- package/dist/src/components/footer/footer.css.js.map +1 -1
- package/dist/src/components/footer/footer.d.ts +13 -13
- package/dist/src/components/footer/footer.js +20 -305
- package/dist/src/components/footer/footer.js.map +1 -1
- package/dist/src/components/footer/localeMap.js +1 -1
- package/dist/src/components/footer/localeMap.js.map +1 -1
- package/dist/src/components/grid/grid.css.js +1 -78
- package/dist/src/components/grid/grid.css.js.map +1 -1
- package/dist/src/components/grid/grid.d.ts +2 -2
- package/dist/src/components/grid/grid.js +9 -126
- package/dist/src/components/grid/grid.js.map +1 -1
- package/dist/src/components/header/header-code.css.js +1 -369
- package/dist/src/components/header/header-code.css.js.map +1 -1
- package/dist/src/components/header/header-code.d.ts +4 -4
- package/dist/src/components/header/header-code.js +15 -163
- package/dist/src/components/header/header-code.js.map +1 -1
- package/dist/src/components/header/header.css.js +1 -757
- package/dist/src/components/header/header.css.js.map +1 -1
- package/dist/src/components/header/header.d.ts +7 -7
- package/dist/src/components/header/header.js +4 -212
- package/dist/src/components/header/header.js.map +1 -1
- package/dist/src/components/heading/heading.css.js +1 -89
- package/dist/src/components/heading/heading.css.js.map +1 -1
- package/dist/src/components/heading/heading.d.ts +2 -2
- package/dist/src/components/heading/heading.js +1 -108
- package/dist/src/components/heading/heading.js.map +1 -1
- package/dist/src/components/help-text/help-text.css.js +1 -19
- package/dist/src/components/help-text/help-text.css.js.map +1 -1
- package/dist/src/components/help-text/help-text.d.ts +2 -2
- package/dist/src/components/help-text/help-text.js +3 -31
- package/dist/src/components/help-text/help-text.js.map +1 -1
- package/dist/src/components/hero/hero.css.js +1 -362
- package/dist/src/components/hero/hero.css.js.map +1 -1
- package/dist/src/components/hero/hero.d.ts +3 -3
- package/dist/src/components/hero/hero.js +12 -164
- package/dist/src/components/hero/hero.js.map +1 -1
- package/dist/src/components/highlight/highlight.css.js +1 -175
- package/dist/src/components/highlight/highlight.css.js.map +1 -1
- package/dist/src/components/highlight/highlight.d.ts +3 -3
- package/dist/src/components/highlight/highlight.js +4 -115
- package/dist/src/components/highlight/highlight.js.map +1 -1
- package/dist/src/components/icons/analysis-icon.d.ts +1 -1
- package/dist/src/components/icons/analysis-icon.js +2 -20
- package/dist/src/components/icons/analysis-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-down-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-down-icon.js +2 -20
- package/dist/src/components/icons/arrow-down-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-icon.js +2 -48
- package/dist/src/components/icons/arrow-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-right-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-right-icon.js +2 -45
- package/dist/src/components/icons/arrow-right-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-up-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-up-icon.js +2 -33
- package/dist/src/components/icons/arrow-up-icon.js.map +1 -1
- package/dist/src/components/icons/av-comparatives-icon.js +2 -31
- package/dist/src/components/icons/av-comparatives-icon.js.map +1 -1
- package/dist/src/components/icons/bd-ai-icon.js +2 -31
- package/dist/src/components/icons/bd-ai-icon.js.map +1 -1
- package/dist/src/components/icons/best-brands-icon.js +2 -31
- package/dist/src/components/icons/best-brands-icon.js.map +1 -1
- package/dist/src/components/icons/brand-signature-icon.d.ts +1 -1
- package/dist/src/components/icons/brand-signature-icon.js +2 -46
- package/dist/src/components/icons/brand-signature-icon.js.map +1 -1
- package/dist/src/components/icons/check-icon.d.ts +1 -1
- package/dist/src/components/icons/check-icon.js +2 -31
- package/dist/src/components/icons/check-icon.js.map +1 -1
- package/dist/src/components/icons/circle-info-icon.d.ts +1 -1
- package/dist/src/components/icons/circle-info-icon.js +2 -35
- package/dist/src/components/icons/circle-info-icon.js.map +1 -1
- package/dist/src/components/icons/close-icon.d.ts +1 -1
- package/dist/src/components/icons/close-icon.js +2 -20
- package/dist/src/components/icons/close-icon.js.map +1 -1
- package/dist/src/components/icons/enterprise-icon.d.ts +1 -1
- package/dist/src/components/icons/enterprise-icon.js +2 -22
- package/dist/src/components/icons/enterprise-icon.js.map +1 -1
- package/dist/src/components/icons/family-icon.d.ts +1 -1
- package/dist/src/components/icons/family-icon.js +2 -20
- package/dist/src/components/icons/family-icon.js.map +1 -1
- package/dist/src/components/icons/globe-icon.d.ts +1 -1
- package/dist/src/components/icons/globe-icon.js +2 -20
- package/dist/src/components/icons/globe-icon.js.map +1 -1
- package/dist/src/components/icons/guide-icon.d.ts +1 -1
- package/dist/src/components/icons/guide-icon.js +2 -20
- package/dist/src/components/icons/guide-icon.js.map +1 -1
- package/dist/src/components/icons/home-icon.d.ts +1 -1
- package/dist/src/components/icons/home-icon.js +2 -22
- package/dist/src/components/icons/home-icon.js.map +1 -1
- package/dist/src/components/icons/icon-element.js +1 -162
- package/dist/src/components/icons/icon-element.js.map +1 -1
- package/dist/src/components/icons/icons.d.ts +23 -23
- package/dist/src/components/icons/icons.js +1 -42
- package/dist/src/components/icons/individual-icon.d.ts +1 -1
- package/dist/src/components/icons/individual-icon.js +2 -20
- package/dist/src/components/icons/individual-icon.js.map +1 -1
- package/dist/src/components/icons/laurel-icon.d.ts +1 -1
- package/dist/src/components/icons/laurel-icon.js +2 -24
- package/dist/src/components/icons/laurel-icon.js.map +1 -1
- package/dist/src/components/icons/machine-learning-icon.d.ts +1 -1
- package/dist/src/components/icons/machine-learning-icon.js +2 -20
- package/dist/src/components/icons/machine-learning-icon.js.map +1 -1
- package/dist/src/components/icons/marks.d.ts +9 -9
- package/dist/src/components/icons/marks.js +1 -41
- package/dist/src/components/icons/minus-icon.d.ts +1 -1
- package/dist/src/components/icons/minus-icon.js +2 -19
- package/dist/src/components/icons/minus-icon.js.map +1 -1
- package/dist/src/components/icons/missing-icon.d.ts +1 -1
- package/dist/src/components/icons/missing-icon.js +3 -53
- package/dist/src/components/icons/missing-icon.js.map +1 -1
- package/dist/src/components/icons/pause-icon.d.ts +1 -1
- package/dist/src/components/icons/pause-icon.js +2 -22
- package/dist/src/components/icons/pause-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-2024-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-2024-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-business-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-business-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-readers-icon.js +2 -30
- package/dist/src/components/icons/pc-mag-readers-icon.js.map +1 -1
- package/dist/src/components/icons/play-icon.d.ts +1 -1
- package/dist/src/components/icons/play-icon.js +2 -22
- package/dist/src/components/icons/play-icon.js.map +1 -1
- package/dist/src/components/icons/plus-icon.d.ts +1 -1
- package/dist/src/components/icons/plus-icon.js +2 -19
- package/dist/src/components/icons/plus-icon.js.map +1 -1
- package/dist/src/components/icons/quote-icon.d.ts +1 -1
- package/dist/src/components/icons/quote-icon.js +2 -30
- package/dist/src/components/icons/quote-icon.js.map +1 -1
- package/dist/src/components/icons/small-business-icon.d.ts +1 -1
- package/dist/src/components/icons/small-business-icon.js +2 -22
- package/dist/src/components/icons/small-business-icon.js.map +1 -1
- package/dist/src/components/icons/top-product-icon.js +2 -31
- package/dist/src/components/icons/top-product-icon.js.map +1 -1
- package/dist/src/components/image/image.css.js +1 -106
- package/dist/src/components/image/image.css.js.map +1 -1
- package/dist/src/components/image/image.d.ts +2 -2
- package/dist/src/components/image/image.js +10 -115
- package/dist/src/components/image/image.js.map +1 -1
- package/dist/src/components/input/input-clipboard.css.js +1 -93
- package/dist/src/components/input/input-clipboard.css.js.map +1 -1
- package/dist/src/components/input/input-clipboard.d.ts +5 -5
- package/dist/src/components/input/input-clipboard.js +20 -257
- package/dist/src/components/input/input-clipboard.js.map +1 -1
- package/dist/src/components/input/input.css.js +1 -9
- package/dist/src/components/input/input.css.js.map +1 -1
- package/dist/src/components/input/input.d.ts +4 -4
- package/dist/src/components/input/input.js +19 -202
- package/dist/src/components/input/input.js.map +1 -1
- package/dist/src/components/install-options/install-options.css.js +1 -308
- package/dist/src/components/install-options/install-options.css.js.map +1 -1
- package/dist/src/components/install-options/install-options.d.ts +4 -4
- package/dist/src/components/install-options/install-options.js +28 -159
- package/dist/src/components/install-options/install-options.js.map +1 -1
- package/dist/src/components/label/label.css.js +1 -33
- package/dist/src/components/label/label.css.js.map +1 -1
- package/dist/src/components/label/label.d.ts +3 -3
- package/dist/src/components/label/label.js +3 -135
- package/dist/src/components/label/label.js.map +1 -1
- package/dist/src/components/light-carousel/light-carousel.css.js +1 -270
- package/dist/src/components/light-carousel/light-carousel.css.js.map +1 -1
- package/dist/src/components/light-carousel/light-carousel.d.ts +3 -3
- package/dist/src/components/light-carousel/light-carousel.js +16 -181
- package/dist/src/components/light-carousel/light-carousel.js.map +1 -1
- package/dist/src/components/link/link.css.js +1 -288
- package/dist/src/components/link/link.css.js.map +1 -1
- package/dist/src/components/link/link.d.ts +3 -3
- package/dist/src/components/link/link.js +6 -233
- package/dist/src/components/link/link.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.css.js +1 -167
- package/dist/src/components/list/list-item/list-item.css.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.d.ts +3 -3
- package/dist/src/components/list/list-item/list-item.js +3 -122
- package/dist/src/components/list/list-item/list-item.js.map +1 -1
- package/dist/src/components/list/list.css.js +1 -180
- package/dist/src/components/list/list.css.js.map +1 -1
- package/dist/src/components/list/list.d.ts +1 -1
- package/dist/src/components/list/list.js +5 -82
- package/dist/src/components/list/list.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -93
- package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.d.ts +3 -3
- package/dist/src/components/logo-marquee/logo-marquee.js +6 -147
- package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
- package/dist/src/components/modal/modal.css.js +1 -203
- package/dist/src/components/modal/modal.css.js.map +1 -1
- package/dist/src/components/modal/modal.d.ts +3 -3
- package/dist/src/components/modal/modal.js +3 -131
- package/dist/src/components/modal/modal.js.map +1 -1
- package/dist/src/components/motion-art/motion-art.d.ts +1 -1
- package/dist/src/components/motion-art/motion-art.js +1 -114
- package/dist/src/components/motion-art/motion-art.js.map +1 -1
- package/dist/src/components/overview/overview.css.js +1 -125
- package/dist/src/components/overview/overview.css.js.map +1 -1
- package/dist/src/components/overview/overview.d.ts +2 -2
- package/dist/src/components/overview/overview.js +9 -50
- package/dist/src/components/overview/overview.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.css.js +1 -174
- package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.d.ts +2 -2
- package/dist/src/components/page-switcher/page-switcher.js +6 -62
- package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -160
- package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.d.ts +2 -2
- package/dist/src/components/pagination-dots/pagination-dots.js +10 -210
- package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
- package/dist/src/components/paragraph/paragraph.css.js +1 -101
- package/dist/src/components/paragraph/paragraph.css.js.map +1 -1
- package/dist/src/components/paragraph/paragraph.d.ts +2 -2
- package/dist/src/components/paragraph/paragraph.js +3 -119
- package/dist/src/components/paragraph/paragraph.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.css.js +1 -245
- package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.d.ts +1 -1
- package/dist/src/components/partner-banner/partner-banner.js +6 -81
- package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
- package/dist/src/components/picture/picture.css.js +1 -208
- package/dist/src/components/picture/picture.css.js.map +1 -1
- package/dist/src/components/picture/picture.d.ts +2 -2
- package/dist/src/components/picture/picture.js +14 -186
- package/dist/src/components/picture/picture.js.map +1 -1
- package/dist/src/components/post-card/post-card.css.js +1 -149
- package/dist/src/components/post-card/post-card.css.js.map +1 -1
- package/dist/src/components/post-card/post-card.d.ts +2 -2
- package/dist/src/components/post-card/post-card.js +5 -97
- package/dist/src/components/post-card/post-card.js.map +1 -1
- package/dist/src/components/pricing-cards/adopt-styles.js +1 -18
- package/dist/src/components/pricing-cards/adopt-styles.js.map +1 -1
- package/dist/src/components/pricing-cards/new-pricing-card.d.ts +2 -2
- package/dist/src/components/pricing-cards/new-pricing-card.js +4 -49
- package/dist/src/components/pricing-cards/new-pricing-card.js.map +1 -1
- package/dist/src/components/pricing-cards/new-pricing.css.js +1 -74
- package/dist/src/components/pricing-cards/new-pricing.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js +1 -11
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +2 -2
- package/dist/src/components/pricing-cards/pricing-card-actions.js +2 -59
- package/dist/src/components/pricing-cards/pricing-card-actions.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.css.js +1 -41
- package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.d.ts +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.js +2 -40
- package/dist/src/components/pricing-cards/pricing-card-container.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-header.css.js +1 -82
- package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-header.d.ts +5 -5
- package/dist/src/components/pricing-cards/pricing-card-header.js +7 -70
- package/dist/src/components/pricing-cards/pricing-card-header.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +1 -92
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +6 -6
- package/dist/src/components/pricing-cards/pricing-card-pricing.js +7 -87
- package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +1 -29
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +4 -4
- package/dist/src/components/pricing-cards/pricing-card-show-more.js +5 -41
- package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card.css.js +1 -660
- package/dist/src/components/pricing-cards/pricing-card.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card.d.ts +7 -7
- package/dist/src/components/pricing-cards/pricing-card.js +53 -639
- package/dist/src/components/pricing-cards/pricing-card.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js +1 -34
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +2 -2
- package/dist/src/components/pricing-cards/pricing-feature-item.js +2 -22
- package/dist/src/components/pricing-cards/pricing-feature-item.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.css.js +1 -106
- package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.d.ts +5 -5
- package/dist/src/components/process-steps/process-steps.js +10 -78
- package/dist/src/components/process-steps/process-steps.js.map +1 -1
- package/dist/src/components/progress/progress.css.js +1 -123
- package/dist/src/components/progress/progress.css.js.map +1 -1
- package/dist/src/components/progress/progress.d.ts +2 -2
- package/dist/src/components/progress/progress.js +6 -72
- package/dist/src/components/progress/progress.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.css.js +1 -130
- package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.d.ts +2 -2
- package/dist/src/components/quick-answer/quick-answer.js +9 -49
- package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
- package/dist/src/components/radio/radio-group.css.js +1 -41
- package/dist/src/components/radio/radio-group.css.js.map +1 -1
- package/dist/src/components/radio/radio-group.d.ts +1 -1
- package/dist/src/components/radio/radio-group.js +5 -92
- package/dist/src/components/radio/radio-group.js.map +1 -1
- package/dist/src/components/radio/radio.css.js +1 -193
- package/dist/src/components/radio/radio.css.js.map +1 -1
- package/dist/src/components/radio/radio.d.ts +4 -4
- package/dist/src/components/radio/radio.js +6 -263
- package/dist/src/components/radio/radio.js.map +1 -1
- package/dist/src/components/radio/toggle-radio.d.ts +2 -2
- package/dist/src/components/radio/toggle-radio.js +3 -39
- package/dist/src/components/radio/toggle-radio.js.map +1 -1
- package/dist/src/components/review/review-grid.css.js +1 -46
- package/dist/src/components/review/review-grid.css.js.map +1 -1
- package/dist/src/components/review/review-grid.d.ts +2 -2
- package/dist/src/components/review/review-grid.js +4 -49
- package/dist/src/components/review/review-grid.js.map +1 -1
- package/dist/src/components/review/review.css.js +1 -54
- package/dist/src/components/review/review.css.js.map +1 -1
- package/dist/src/components/review/review.d.ts +2 -2
- package/dist/src/components/review/review.js +2 -59
- package/dist/src/components/review/review.js.map +1 -1
- package/dist/src/components/section/section.css.js +1 -37
- package/dist/src/components/section/section.css.js.map +1 -1
- package/dist/src/components/section/section.d.ts +1 -1
- package/dist/src/components/section/section.js +1 -50
- package/dist/src/components/section/section.js.map +1 -1
- package/dist/src/components/section-header/section-header.css.js +1 -99
- package/dist/src/components/section-header/section-header.css.js.map +1 -1
- package/dist/src/components/section-header/section-header.d.ts +2 -2
- package/dist/src/components/section-header/section-header.js +4 -85
- package/dist/src/components/section-header/section-header.js.map +1 -1
- package/dist/src/components/shared/announcer.d.ts +1 -1
- package/dist/src/components/shared/announcer.js +1 -34
- package/dist/src/components/shared/announcer.js.map +1 -1
- package/dist/src/components/shared/controller.media-query.d.ts +1 -1
- package/dist/src/components/shared/controller.media-query.js +1 -57
- package/dist/src/components/shared/controller.media-query.js.map +1 -1
- package/dist/src/components/shared/define-element.js +1 -16
- package/dist/src/components/shared/define-element.js.map +1 -1
- package/dist/src/components/shared/ensemble.css.js +1 -101
- package/dist/src/components/shared/ensemble.css.js.map +1 -1
- package/dist/src/components/shared/events.js +0 -13
- package/dist/src/components/shared/fill-width.css.js +2 -27
- package/dist/src/components/shared/fill-width.css.js.map +1 -1
- package/dist/src/components/shared/form-control.d.ts +1 -1
- package/dist/src/components/shared/form-control.js +1 -198
- package/dist/src/components/shared/form-control.js.map +1 -1
- package/dist/src/components/shared/form-field.css.js +1 -258
- package/dist/src/components/shared/form-field.css.js.map +1 -1
- package/dist/src/components/shared/prop-vocabulary.js +1 -49
- package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
- package/dist/src/components/shared/token-scales.js +1 -351
- package/dist/src/components/shared/token-scales.js.map +1 -1
- package/dist/src/components/skeleton/skeleton.css.js +1 -32
- package/dist/src/components/skeleton/skeleton.css.js.map +1 -1
- package/dist/src/components/skeleton/skeleton.d.ts +2 -2
- package/dist/src/components/skeleton/skeleton.js +4 -36
- package/dist/src/components/skeleton/skeleton.js.map +1 -1
- package/dist/src/components/spinner/spinner.css.js +1 -87
- package/dist/src/components/spinner/spinner.css.js.map +1 -1
- package/dist/src/components/spinner/spinner.d.ts +3 -3
- package/dist/src/components/spinner/spinner.js +3 -69
- package/dist/src/components/spinner/spinner.js.map +1 -1
- package/dist/src/components/spotlight-section/spotlight-section.css.js +1 -105
- package/dist/src/components/spotlight-section/spotlight-section.css.js.map +1 -1
- package/dist/src/components/spotlight-section/spotlight-section.d.ts +2 -2
- package/dist/src/components/spotlight-section/spotlight-section.js +11 -72
- package/dist/src/components/spotlight-section/spotlight-section.js.map +1 -1
- package/dist/src/components/stat/stat-highlight.js +6 -82
- package/dist/src/components/stat/stat-highlight.js.map +1 -1
- package/dist/src/components/stat/stat-tile.js +5 -52
- package/dist/src/components/stat/stat-tile.js.map +1 -1
- package/dist/src/components/stat/stat.css.js +1 -145
- package/dist/src/components/stat/stat.css.js.map +1 -1
- package/dist/src/components/stat/stat.d.ts +2 -2
- package/dist/src/components/stat/stat.js +1 -3
- package/dist/src/components/switch/switch.css.js +1 -175
- package/dist/src/components/switch/switch.css.js.map +1 -1
- package/dist/src/components/switch/switch.d.ts +4 -4
- package/dist/src/components/switch/switch.js +4 -99
- package/dist/src/components/switch/switch.js.map +1 -1
- package/dist/src/components/tab-list/tab-list.css.js +1 -289
- package/dist/src/components/tab-list/tab-list.css.js.map +1 -1
- package/dist/src/components/tab-list/tab-list.d.ts +1 -1
- package/dist/src/components/tab-list/tab-list.js +13 -191
- package/dist/src/components/tab-list/tab-list.js.map +1 -1
- package/dist/src/components/tabs/tabs.css.js +1 -77
- package/dist/src/components/tabs/tabs.css.js.map +1 -1
- package/dist/src/components/tabs/tabs.d.ts +6 -6
- package/dist/src/components/tabs/tabs.js +8 -220
- package/dist/src/components/tabs/tabs.js.map +1 -1
- package/dist/src/components/tag/tag.css.js +1 -52
- package/dist/src/components/tag/tag.css.js.map +1 -1
- package/dist/src/components/tag/tag.d.ts +2 -2
- package/dist/src/components/tag/tag.js +2 -37
- package/dist/src/components/tag/tag.js.map +1 -1
- package/dist/src/components/terminal/terminal-cursor.js +1 -65
- package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
- package/dist/src/components/terminal/terminal-message.css.js +1 -409
- package/dist/src/components/terminal/terminal-message.css.js.map +1 -1
- package/dist/src/components/terminal/terminal-message.d.ts +5 -5
- package/dist/src/components/terminal/terminal-message.js +28 -183
- package/dist/src/components/terminal/terminal-message.js.map +1 -1
- package/dist/src/components/termsOfUse/terms.css.js +1 -55
- package/dist/src/components/termsOfUse/terms.css.js.map +1 -1
- package/dist/src/components/termsOfUse/terms.d.ts +5 -5
- package/dist/src/components/termsOfUse/terms.js +9 -82
- package/dist/src/components/termsOfUse/terms.js.map +1 -1
- package/dist/src/components/textarea/textarea.css.js +1 -49
- package/dist/src/components/textarea/textarea.css.js.map +1 -1
- package/dist/src/components/textarea/textarea.d.ts +5 -5
- package/dist/src/components/textarea/textarea.js +15 -160
- package/dist/src/components/textarea/textarea.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.css.js +1 -96
- package/dist/src/components/tooltip/tooltip.css.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.d.ts +2 -2
- package/dist/src/components/tooltip/tooltip.js +5 -285
- package/dist/src/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.css.js +1 -228
- package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.d.ts +4 -4
- package/dist/src/components/trust-panel/trust-panel.js +25 -104
- package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
- package/dist/src/components/video/video.css.js +1 -20
- package/dist/src/components/video/video.css.js.map +1 -1
- package/dist/src/components/video/video.d.ts +2 -2
- package/dist/src/components/video/video.js +5 -88
- package/dist/src/components/video/video.js.map +1 -1
- package/dist/src/components/video-player/video-player.css.js +1 -167
- package/dist/src/components/video-player/video-player.css.js.map +1 -1
- package/dist/src/components/video-player/video-player.d.ts +2 -2
- package/dist/src/components/video-player/video-player.js +15 -150
- package/dist/src/components/video-player/video-player.js.map +1 -1
- package/dist/src/components/visually-hidden/visually-hidden.css.js +1 -22
- package/dist/src/components/visually-hidden/visually-hidden.css.js.map +1 -1
- package/dist/src/components/visually-hidden/visually-hidden.d.ts +2 -2
- package/dist/src/components/visually-hidden/visually-hidden.js +2 -22
- package/dist/src/components/visually-hidden/visually-hidden.js.map +1 -1
- package/dist/src/tokens/brand-layer.js +8 -162
- package/dist/src/tokens/brand-layer.js.map +1 -1
- package/dist/src/tokens/dark-derivation.js +1 -325
- package/dist/src/tokens/dark-derivation.js.map +1 -1
- package/dist/src/tokens/dark-findings.d.ts +1 -1
- package/dist/src/tokens/dark-findings.js +1 -204
- package/dist/src/tokens/dark-findings.js.map +1 -1
- package/dist/src/tokens/fonts.css +1 -166
- package/dist/src/tokens/layout.css +1 -61
- package/dist/src/tokens/story-chrome.js +27 -221
- package/dist/src/tokens/story-chrome.js.map +1 -1
- package/dist/src/tokens/themes/bitdefender.js +1 -30
- package/dist/src/tokens/themes/bitdefender.js.map +1 -1
- package/dist/src/tokens/themes/contract.js +1 -7
- package/dist/src/tokens/themes/contract.js.map +1 -1
- package/dist/src/tokens/themes/index.js +1 -39
- package/dist/src/tokens/themes/index.js.map +1 -1
- package/dist/src/tokens/token-map.js +1 -236
- package/dist/src/tokens/token-map.js.map +1 -1
- package/dist/src/tokens/token-purposes.js +1 -259
- package/dist/src/tokens/token-purposes.js.map +1 -1
- package/dist/src/tokens/tokens.css +1 -1809
- package/dist/src/tokens/tokens.js +1 -1865
- package/dist/src/tokens/tokens.js.map +1 -1
- package/dist/src/tokens/type-ceiling-words.js +1 -293
- package/dist/src/tokens/type-ceiling-words.js.map +1 -1
- package/package.json +16 -5
- package/schemas/component-manifest.json +1 -1
- package/dist/src/components/icons/icons.js.map +0 -1
- package/dist/src/components/icons/marks.js.map +0 -1
- package/dist/src/components/shared/events.js.map +0 -1
- package/dist/src/components/stat/stat.js.map +0 -1
|
@@ -1,124 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/** Styled entirely from design tokens — see npm run lint:tokens. */
|
|
3
|
-
export const progressCSS = css `
|
|
4
|
-
:host {
|
|
5
|
-
display: block;
|
|
6
|
-
/* the fill's colour, which the tones below set: each engine's fill
|
|
7
|
-
pseudo-element is written once, and reads it from here */
|
|
8
|
-
--bd-progress-fill: var(--status-info-accent);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
/* A native <progress>, fully restyled: appearance: none is what lets the
|
|
12
|
-
track and the fill take these rules at all, and the border reset clears
|
|
13
|
-
the UA's. The track is the element; the fill is ::-webkit-progress-value
|
|
14
|
-
in Blink and WebKit and ::-moz-progress-bar in Gecko, each in a rule of
|
|
15
|
-
its own -- a selector list naming both is invalid in every engine and is
|
|
16
|
-
dropped whole. Same box as the two divs it replaced: full width, 8 high,
|
|
17
|
-
a full round. */
|
|
18
|
-
.track {
|
|
19
|
-
display: block;
|
|
20
|
-
width: 100%;
|
|
21
|
-
height: var(--spacing-8);
|
|
22
|
-
appearance: none;
|
|
23
|
-
border: none;
|
|
24
|
-
background: var(--color-surface-muted);
|
|
25
|
-
border-radius: var(--radius-full);
|
|
26
|
-
overflow: clip;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.track::-webkit-progress-bar {
|
|
30
|
-
background: transparent;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
/* Gecko sizes its fill in layout and ignores the transition, harmlessly. */
|
|
34
|
-
.track::-webkit-progress-value {
|
|
35
|
-
background: var(--bd-progress-fill);
|
|
36
|
-
border-radius: var(--radius-full);
|
|
37
|
-
transition: inline-size var(--transition-duration-slow) var(--transition-easing-smooth);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.track::-moz-progress-bar {
|
|
41
|
-
background: var(--bd-progress-fill);
|
|
42
|
-
border-radius: var(--radius-full);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/* The tones come from the shared status roles, so a progress bar and a
|
|
46
|
-
bd-alert rule or a bd-badge dot of the same tone are the same colour by
|
|
47
|
-
construction. They were not: this atom spelled all three out in palette
|
|
48
|
-
steps that happened to match, so retinting --status-success-accent moved
|
|
49
|
-
alert, badge and tag and left the bar green.
|
|
50
|
-
|
|
51
|
-
Measured against the track the fill sits in, not the page: the bar is a
|
|
52
|
-
graphic whose colour carries the meaning, so 1.4.11 wants 3:1 there.
|
|
53
|
-
On the track the default blue is 3.52 and error red-600 is 4.23, but
|
|
54
|
-
success at green-600 was only 2.49. green-700 — which is the step
|
|
55
|
-
--status-success-accent names — is 3.69. */
|
|
56
|
-
/* info has its own rule even though :host above already resolves to the same
|
|
57
|
-
token, and the duplication is the point. It used to work by OMISSION --
|
|
58
|
-
there was no info rule, so tone="info" fell through to the default fill,
|
|
59
|
-
which happened to be --status-info-accent. Nothing rendered wrong, and
|
|
60
|
-
nothing ever would have caught it: Figma and the Code Connect template
|
|
61
|
-
both offer info as a tone, the manifest offered "default" instead, and the
|
|
62
|
-
stories only ever exercised success and error, so the info path had never
|
|
63
|
-
been rendered anywhere.
|
|
64
|
-
.
|
|
65
|
-
Two things stay separate now. The bare :host is what a bd-progress with NO
|
|
66
|
-
tone attribute looks like; this rule is what tone="info" MEANS. They agree
|
|
67
|
-
today. If somebody later changes the untoned default, info keeps its
|
|
68
|
-
meaning instead of silently following it. */
|
|
69
|
-
:host([tone='info']) { --bd-progress-fill: var(--status-info-accent); }
|
|
70
|
-
:host([tone='success']) { --bd-progress-fill: var(--status-success-accent); }
|
|
71
|
-
:host([tone='error']) { --bd-progress-fill: var(--status-error-accent); }
|
|
72
|
-
|
|
73
|
-
/* The caption role, all five axes from the role rather than one from it and
|
|
74
|
-
the rest from nowhere. This box holds the label and the percentage, so it
|
|
75
|
-
owns their typography -- and it declared a family, a size and a colour and
|
|
76
|
-
never declared a line-height, leaving IBM Plex Sans's own "normal" metric
|
|
77
|
-
to decide. Measured before: 12px text in a 15px box, a leading nobody
|
|
78
|
-
chose, and one that stops being 1.25 the moment the font falls back.
|
|
79
|
-
|
|
80
|
-
The colour is the same value it already used: --typography-caption-default-color
|
|
81
|
-
resolves to --color-text-muted. It is named through the role here so that
|
|
82
|
-
retinting captions moves this label with them.
|
|
83
|
-
|
|
84
|
-
Neither gate could see it. lint:tokens has nothing to scan when a leading
|
|
85
|
-
is absent rather than wrong, and typography coverage fails on multi-line
|
|
86
|
-
text a component renders with no role -- these two spans are single-line. */
|
|
87
|
-
.label {
|
|
88
|
-
display: flex;
|
|
89
|
-
justify-content: space-between;
|
|
90
|
-
margin-bottom: var(--spacing-4);
|
|
91
|
-
font-family: var(--typography-caption-default-fontFamily);
|
|
92
|
-
font-size: var(--typography-caption-default-fontSize);
|
|
93
|
-
font-weight: var(--typography-caption-default-fontWeight);
|
|
94
|
-
line-height: var(--typography-caption-default-lineHeight);
|
|
95
|
-
letter-spacing: var(--typography-caption-default-letterSpacing);
|
|
96
|
-
color: var(--typography-caption-default-color);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
@media (prefers-reduced-motion: reduce) {
|
|
100
|
-
.track::-webkit-progress-value { transition: none; }
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/* Forced colours repaint every background as Canvas, so the track and the
|
|
104
|
-
fill both vanished there -- the divs this replaced did the same. The bar
|
|
105
|
-
opts out and states the system colours itself: a CanvasText edge round
|
|
106
|
-
the track and a Highlight fill, which every forced palette keeps apart. */
|
|
107
|
-
@media (forced-colors: active) {
|
|
108
|
-
.track {
|
|
109
|
-
forced-color-adjust: none;
|
|
110
|
-
border: var(--border-width-1) solid CanvasText;
|
|
111
|
-
background: Canvas;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.track::-webkit-progress-value {
|
|
115
|
-
background: Highlight;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.track::-moz-progress-bar {
|
|
119
|
-
background: Highlight;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
`;
|
|
123
|
-
export default progressCSS;
|
|
1
|
+
import{css as e}from"lit";var t=e`:host{--bd-progress-fill:var(--status-info-accent);display:block}.track{width:100%;height:var(--spacing-8);appearance:none;background:var(--color-surface-muted);border-radius:var(--radius-full);border:none;display:block;overflow:clip}.track::-webkit-progress-bar{background:0 0}.track::-webkit-progress-value{background:var(--bd-progress-fill);border-radius:var(--radius-full);transition:inline-size var(--transition-duration-slow) var(--transition-easing-smooth)}.track::-moz-progress-bar{background:var(--bd-progress-fill);border-radius:var(--radius-full)}:host([tone=info]){--bd-progress-fill:var(--status-info-accent)}:host([tone=success]){--bd-progress-fill:var(--status-success-accent)}:host([tone=error]){--bd-progress-fill:var(--status-error-accent)}.label{margin-bottom:var(--spacing-4);font-family:var(--typography-caption-default-fontFamily);font-size:var(--typography-caption-default-fontSize);font-weight:var(--typography-caption-default-fontWeight);line-height:var(--typography-caption-default-lineHeight);letter-spacing:var(--typography-caption-default-letterSpacing);color:var(--typography-caption-default-color);justify-content:space-between;display:flex}@media (prefers-reduced-motion:reduce){.track::-webkit-progress-value{transition:none}}@media (forced-colors:active){.track{forced-color-adjust:none;border:var(--border-width-1) solid CanvasText;background:canvas}.track::-webkit-progress-value{background:highlight}.track::-moz-progress-bar{background:highlight}}`;export{t as default,t as progressCSS};
|
|
124
2
|
//# sourceMappingURL=progress.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.css.js","
|
|
1
|
+
{"version":3,"file":"progress.css.js","names":["progressCSS"],"sources":["../../../../src/components/progress/progress.css.ts"],"sourcesContent":["import { css } from 'lit';\n\n/** Styled entirely from design tokens — see npm run lint:tokens. */\nexport const progressCSS = css`\n :host {\n display: block;\n /* the fill's colour, which the tones below set: each engine's fill\n pseudo-element is written once, and reads it from here */\n --bd-progress-fill: var(--status-info-accent);\n }\n\n /* A native <progress>, fully restyled: appearance: none is what lets the\n track and the fill take these rules at all, and the border reset clears\n the UA's. The track is the element; the fill is ::-webkit-progress-value\n in Blink and WebKit and ::-moz-progress-bar in Gecko, each in a rule of\n its own -- a selector list naming both is invalid in every engine and is\n dropped whole. Same box as the two divs it replaced: full width, 8 high,\n a full round. */\n .track {\n display: block;\n width: 100%;\n height: var(--spacing-8);\n appearance: none;\n border: none;\n background: var(--color-surface-muted);\n border-radius: var(--radius-full);\n overflow: clip;\n }\n\n .track::-webkit-progress-bar {\n background: transparent;\n }\n\n /* Gecko sizes its fill in layout and ignores the transition, harmlessly. */\n .track::-webkit-progress-value {\n background: var(--bd-progress-fill);\n border-radius: var(--radius-full);\n transition: inline-size var(--transition-duration-slow) var(--transition-easing-smooth);\n }\n\n .track::-moz-progress-bar {\n background: var(--bd-progress-fill);\n border-radius: var(--radius-full);\n }\n\n /* The tones come from the shared status roles, so a progress bar and a\n bd-alert rule or a bd-badge dot of the same tone are the same colour by\n construction. They were not: this atom spelled all three out in palette\n steps that happened to match, so retinting --status-success-accent moved\n alert, badge and tag and left the bar green.\n\n Measured against the track the fill sits in, not the page: the bar is a\n graphic whose colour carries the meaning, so 1.4.11 wants 3:1 there.\n On the track the default blue is 3.52 and error red-600 is 4.23, but\n success at green-600 was only 2.49. green-700 — which is the step\n --status-success-accent names — is 3.69. */\n /* info has its own rule even though :host above already resolves to the same\n token, and the duplication is the point. It used to work by OMISSION --\n there was no info rule, so tone=\"info\" fell through to the default fill,\n which happened to be --status-info-accent. Nothing rendered wrong, and\n nothing ever would have caught it: Figma and the Code Connect template\n both offer info as a tone, the manifest offered \"default\" instead, and the\n stories only ever exercised success and error, so the info path had never\n been rendered anywhere.\n .\n Two things stay separate now. The bare :host is what a bd-progress with NO\n tone attribute looks like; this rule is what tone=\"info\" MEANS. They agree\n today. If somebody later changes the untoned default, info keeps its\n meaning instead of silently following it. */\n :host([tone='info']) { --bd-progress-fill: var(--status-info-accent); }\n :host([tone='success']) { --bd-progress-fill: var(--status-success-accent); }\n :host([tone='error']) { --bd-progress-fill: var(--status-error-accent); }\n\n /* The caption role, all five axes from the role rather than one from it and\n the rest from nowhere. This box holds the label and the percentage, so it\n owns their typography -- and it declared a family, a size and a colour and\n never declared a line-height, leaving IBM Plex Sans's own \"normal\" metric\n to decide. Measured before: 12px text in a 15px box, a leading nobody\n chose, and one that stops being 1.25 the moment the font falls back.\n\n The colour is the same value it already used: --typography-caption-default-color\n resolves to --color-text-muted. It is named through the role here so that\n retinting captions moves this label with them.\n\n Neither gate could see it. lint:tokens has nothing to scan when a leading\n is absent rather than wrong, and typography coverage fails on multi-line\n text a component renders with no role -- these two spans are single-line. */\n .label {\n display: flex;\n justify-content: space-between;\n margin-bottom: var(--spacing-4);\n font-family: var(--typography-caption-default-fontFamily);\n font-size: var(--typography-caption-default-fontSize);\n font-weight: var(--typography-caption-default-fontWeight);\n line-height: var(--typography-caption-default-lineHeight);\n letter-spacing: var(--typography-caption-default-letterSpacing);\n color: var(--typography-caption-default-color);\n }\n\n @media (prefers-reduced-motion: reduce) {\n .track::-webkit-progress-value { transition: none; }\n }\n\n /* Forced colours repaint every background as Canvas, so the track and the\n fill both vanished there -- the divs this replaced did the same. The bar\n opts out and states the system colours itself: a CanvasText edge round\n the track and a Highlight fill, which every forced palette keeps apart. */\n @media (forced-colors: active) {\n .track {\n forced-color-adjust: none;\n border: var(--border-width-1) solid CanvasText;\n background: Canvas;\n }\n\n .track::-webkit-progress-value {\n background: Highlight;\n }\n\n .track::-moz-progress-bar {\n background: Highlight;\n }\n }\n`;\n\nexport default progressCSS;\n"],"mappings":"A,0BAGA,IAAaA,EAAc,CAAG,g9C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LitElement, type PropertyValues } from
|
|
2
|
-
import
|
|
1
|
+
import { LitElement, type PropertyValues } from "lit";
|
|
2
|
+
import "../../tokens/tokens.js";
|
|
3
3
|
declare const TONES: readonly ["info", "success", "error"];
|
|
4
4
|
type Tone = typeof TONES[number];
|
|
5
5
|
export declare class BdProgress extends LitElement {
|
|
@@ -1,77 +1,11 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { LitElement, html, nothing } from 'lit';
|
|
8
|
-
import { property } from 'lit/decorators.js';
|
|
9
|
-
import { defineElement } from "../shared/define-element.js";
|
|
10
|
-
import { isOneOf } from "../shared/prop-vocabulary.js";
|
|
11
|
-
// Installs the design tokens into document scope; see src/tokens/tokens.ts
|
|
12
|
-
import "../../tokens/tokens.js";
|
|
13
|
-
import { progressCSS } from "./progress.css.js";
|
|
14
|
-
/* The tones progress.css.ts styles. No tone is the default fill. */
|
|
15
|
-
const TONES = ['info', 'success', 'error'];
|
|
16
|
-
let BdProgress = class BdProgress extends LitElement {
|
|
17
|
-
constructor() {
|
|
18
|
-
super(...arguments);
|
|
19
|
-
this.value = 0;
|
|
20
|
-
this.max = 100;
|
|
21
|
-
this.label = '';
|
|
22
|
-
}
|
|
23
|
-
static { this.styles = [progressCSS]; }
|
|
24
|
-
/* tone reflects, so an unknown one used to sit on the element as if it
|
|
25
|
-
meant something -- tone="warning" or the retired "default" -- while the
|
|
26
|
-
bar drew the default fill. It is cleared instead, so the attribute says
|
|
27
|
-
what is drawn. */
|
|
28
|
-
willUpdate(changed) {
|
|
29
|
-
if (changed.has('tone') && this.tone != null && !isOneOf(TONES, this.tone))
|
|
30
|
-
this.tone = undefined;
|
|
31
|
-
}
|
|
32
|
-
render() {
|
|
33
|
-
/* One clamped value for all three readers. Only the fill used to be
|
|
34
|
-
clamped: value 150 read "150%" beside a full bar and reported an
|
|
35
|
-
aria-valuenow above aria-valuemax, a negative value drew nothing and
|
|
36
|
-
read "-20%", and max 0 read "NaN%". A max that is not a positive number
|
|
37
|
-
falls back to the default, as an unknown variant does elsewhere. */
|
|
38
|
-
const max = Number.isFinite(this.max) && this.max > 0 ? this.max : 100;
|
|
39
|
-
const value = Number.isFinite(this.value) ? Math.min(Math.max(this.value, 0), max) : 0;
|
|
40
|
-
const percent = (value / max) * 100;
|
|
41
|
-
/* A native <progress>: the progressbar role, its value and its range come
|
|
42
|
-
with the element. It was a div with role="progressbar" and the three
|
|
43
|
-
aria-value* attributes over a second div whose width was the value; the
|
|
44
|
-
element says all of that itself. The label row is a <label> for it, so
|
|
45
|
-
the caption is the bar's name; with no label the name is the literal
|
|
46
|
-
"Progress". */
|
|
47
|
-
return html `
|
|
48
|
-
${this.label
|
|
49
|
-
? html `<span class="label"><label for="bar">${this.label}</label><span>${Math.round(percent)}%</span></span>`
|
|
50
|
-
: nothing}
|
|
1
|
+
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import t from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import{isOneOf as n}from"../shared/prop-vocabulary.js";import r from"./progress.css.js";import{LitElement as i,html as a,nothing as o}from"lit";import{property as s}from"lit/decorators.js";var c=[`info`,`success`,`error`],l=class extends i{constructor(...e){super(...e),this.value=0,this.max=100,this.label=``}static{this.styles=[r]}willUpdate(e){e.has(`tone`)&&this.tone!=null&&!n(c,this.tone)&&(this.tone=void 0)}render(){let e=Number.isFinite(this.max)&&this.max>0?this.max:100,t=Number.isFinite(this.value)?Math.min(Math.max(this.value,0),e):0,n=t/e*100;return a`
|
|
2
|
+
${this.label?a`<span class="label"><label for="bar">${this.label}</label><span>${Math.round(n)}%</span></span>`:o}
|
|
51
3
|
<progress
|
|
52
4
|
id="bar"
|
|
53
5
|
class="track"
|
|
54
|
-
value=${
|
|
55
|
-
max=${
|
|
56
|
-
aria-label=${this.label
|
|
6
|
+
value=${t}
|
|
7
|
+
max=${e}
|
|
8
|
+
aria-label=${this.label?o:`Progress`}
|
|
57
9
|
></progress>
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
__decorate([
|
|
62
|
-
property({ type: Number })
|
|
63
|
-
], BdProgress.prototype, "value", void 0);
|
|
64
|
-
__decorate([
|
|
65
|
-
property({ type: Number })
|
|
66
|
-
], BdProgress.prototype, "max", void 0);
|
|
67
|
-
__decorate([
|
|
68
|
-
property({ type: String })
|
|
69
|
-
], BdProgress.prototype, "label", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
property({ type: String, reflect: true })
|
|
72
|
-
], BdProgress.prototype, "tone", void 0);
|
|
73
|
-
BdProgress = __decorate([
|
|
74
|
-
defineElement('bd-progress')
|
|
75
|
-
], BdProgress);
|
|
76
|
-
export { BdProgress };
|
|
10
|
+
`}};t([s({type:Number})],l.prototype,`value`,void 0),t([s({type:Number})],l.prototype,`max`,void 0),t([s({type:String})],l.prototype,`label`,void 0),t([s({type:String,reflect:!0})],l.prototype,`tone`,void 0),l=t([e(`bd-progress`)],l);export{l as BdProgress};
|
|
77
11
|
//# sourceMappingURL=progress.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.js","
|
|
1
|
+
{"version":3,"file":"progress.js","names":["_decorate","__decorate","progressCSS","TONES","BdProgress","LitElement","_args","changed","isOneOf","max","value","percent","nothing","property","defineElement"],"sources":["../../../../src/components/progress/progress.ts"],"sourcesContent":["import { LitElement, html, nothing, type PropertyValues } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { defineElement } from '#shared/define-element.ts';\nimport { isOneOf } from '#shared/prop-vocabulary.ts';\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport '#tokens/tokens.ts';\nimport { progressCSS } from './progress.css.ts';\n\n/* The tones progress.css.ts styles. No tone is the default fill. */\nconst TONES = ['info', 'success', 'error'] as const;\ntype Tone = typeof TONES[number];\n\n@defineElement('bd-progress')\nexport class BdProgress extends LitElement {\n static styles = [progressCSS];\n\n @property({ type: Number })\n value = 0;\n @property({ type: Number })\n max = 100;\n @property({ type: String })\n label = '';\n @property({ type: String, reflect: true })\n tone?: Tone;\n\n /* tone reflects, so an unknown one used to sit on the element as if it\n meant something -- tone=\"warning\" or the retired \"default\" -- while the\n bar drew the default fill. It is cleared instead, so the attribute says\n what is drawn. */\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has('tone') && this.tone != null && !isOneOf(TONES, this.tone)) this.tone = undefined;\n }\n\n render() {\n /* One clamped value for all three readers. Only the fill used to be\n clamped: value 150 read \"150%\" beside a full bar and reported an\n aria-valuenow above aria-valuemax, a negative value drew nothing and\n read \"-20%\", and max 0 read \"NaN%\". A max that is not a positive number\n falls back to the default, as an unknown variant does elsewhere. */\n const max = Number.isFinite(this.max) && this.max > 0 ? this.max : 100;\n const value = Number.isFinite(this.value) ? Math.min(Math.max(this.value, 0), max) : 0;\n const percent = (value / max) * 100;\n\n /* A native <progress>: the progressbar role, its value and its range come\n with the element. It was a div with role=\"progressbar\" and the three\n aria-value* attributes over a second div whose width was the value; the\n element says all of that itself. The label row is a <label> for it, so\n the caption is the bar's name; with no label the name is the literal\n \"Progress\". */\n return html`\n ${this.label\n ? html`<span class=\"label\"><label for=\"bar\">${this.label}</label><span>${Math.round(percent)}%</span></span>`\n : nothing}\n <progress\n id=\"bar\"\n class=\"track\"\n value=${value}\n max=${max}\n aria-label=${this.label ? nothing : 'Progress'}\n ></progress>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'bd-progress': BdProgress;\n }\n}\n"],"mappings":"A,kWASA,IAAMG,EAAQ,CAAC,OAAQ,UAAW,OAAO,EAI5BC,EAAN,cAAyBC,CAAW,C,8BAIjC,KAAA,MAAA,EAEF,KAAA,IAAA,IAEE,KAAA,MAAA,E,QAPQ,KAAA,OAAA,CAACH,CAAW,C,CAe5B,WAAW,EAA+B,CACpCK,EAAQ,IAAI,MAAM,GAAK,KAAK,MAAQ,MAAQ,CAACC,EAAQL,EAAO,KAAK,IAAI,IAAG,KAAK,KAAO,IAAA,GAC1F,CAEA,QAAS,CAMP,IAAMM,EAAM,OAAO,SAAS,KAAK,GAAG,GAAK,KAAK,IAAM,EAAI,KAAK,IAAM,IAC7DC,EAAQ,OAAO,SAAS,KAAK,KAAK,EAAI,KAAK,IAAI,KAAK,IAAI,KAAK,MAAO,CAAC,EAAGD,CAAG,EAAI,EAC/EE,EAAWD,EAAQD,EAAO,IAQhC,MAAO,EAAI;QACP,KAAK,MACH,CAAI,wCAAwC,KAAK,MAAM,gBAAgB,KAAK,MAAME,CAAO,EAAE,iBAC3FC,EAAQ;;;;gBAIFF,EAAM;cACRD,EAAI;qBACG,KAAK,MAAQG,EAAU,WAAW;;KAGrD,CACF,EA9CGZ,EAAA,CAAAa,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAT,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBJ,EAAA,CAAAa,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAT,EAAA,UAAA,MAAA,IAAA,EAAA,EAEzBJ,EAAA,CAAAa,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAT,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBJ,EAAA,CAAAa,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAT,EAAA,UAAA,OAAA,IAAA,EAAA,EAV1C,EAAAJ,EAAA,CAAAc,EAAc,aAAa,CAAA,EAAAV,CAAA,E"}
|
|
@@ -1,131 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { below } from "../shared/token-scales.js";
|
|
3
|
-
export default css `
|
|
4
|
-
:host {
|
|
5
|
-
display: block;
|
|
6
|
-
font-family: var(--typography-fontFamily-sans);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.bd-quickanswer-container {
|
|
10
|
-
background: var(--status-brand-surface);
|
|
11
|
-
padding: var(--spacing-32) var(--spacing-28) var(--spacing-32) var(--spacing-28);
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
/* text-brand, not blue-500: this label is 16px on --status-brand-surface,
|
|
16
|
-
where blue-500 measures 4.20:1 and fails 1.4.3. blue-600 gives 5.72:1.
|
|
17
|
-
|
|
18
|
-
The weight is set through bd-p's font-weight attribute, not here. This rule
|
|
19
|
-
used to declare --typography-fontWeight-medium and it never reached the
|
|
20
|
-
text: the label renders inside bd-p's shadow paragraph, which sets its own
|
|
21
|
-
weight, and a slotted node inherits from its flattened-tree parent -- that
|
|
22
|
-
paragraph -- rather than from this host. Measured, the label came out at
|
|
23
|
-
400 while this rule asked for 500. */
|
|
24
|
-
.bd-quickanswer-label {
|
|
25
|
-
color: var(--color-text-brand);
|
|
26
|
-
margin: 0 0 var(--spacing-16);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.bd-quickanswer-text {
|
|
30
|
-
/* Body copy, same as above: off the text ladder rather than a
|
|
31
|
-
step on it. */
|
|
32
|
-
color: var(--color-text-primary);
|
|
33
|
-
margin: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/* The atom, not a border of our own.
|
|
37
|
-
|
|
38
|
-
This was a bare div with a border-top, and CLAUDE.md is explicit that a
|
|
39
|
-
line separating regions of content is a divider rather than a boundary.
|
|
40
|
-
The reason it was hand-drawn is that bd-divider-horizontal could not say
|
|
41
|
-
what this line needs: its colour prop resolved through COLOR_ROLES, the
|
|
42
|
-
*ink* vocabulary, and no text role expresses --status-brand-border. A
|
|
43
|
-
neutral hairline reads as dirt on a brand tint, so the component drew its
|
|
44
|
-
own rather than accept the wrong colour -- the atom lost a consumer to a
|
|
45
|
-
category error in its own API.
|
|
46
|
-
|
|
47
|
-
token-scales.ts now carries BORDER_ROLES and the atom resolves through it
|
|
48
|
-
first, so brand-subtle is sayable and this is an instance again. The
|
|
49
|
-
colour is unchanged: brand-subtle IS --status-brand-border, which is the
|
|
50
|
-
step the hand-drawn rule already named after an earlier fix moved it off
|
|
51
|
-
--color-blue-100.
|
|
52
|
-
|
|
53
|
-
opacity is set to 1 explicitly because the atom dims to 0.25 by default,
|
|
54
|
-
which
|
|
55
|
-
would have taken this line to a quarter of the value the rule asked for.
|
|
56
|
-
|
|
57
|
-
The margins stay here: they are this panel's rhythm, not the rule's. */
|
|
58
|
-
.bd-quickanswer-divider {
|
|
59
|
-
display: block;
|
|
60
|
-
margin: var(--spacing-24) 0 var(--spacing-16);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.bd-quickanswer-meta {
|
|
64
|
-
display: flex;
|
|
65
|
-
flex-wrap: wrap;
|
|
66
|
-
gap: var(--spacing-24);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.bd-quickanswer-meta-item {
|
|
70
|
-
display: inline-flex;
|
|
71
|
-
align-items: baseline;
|
|
72
|
-
gap: var(--spacing-8);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.bd-quickanswer-meta-label {
|
|
76
|
-
/* subtle is only safe on the page ground: on this tint it lands at 4.33:1 and
|
|
77
|
-
these labels are 11px. muted is the next step in the same family. */
|
|
78
|
-
color: var(--color-text-muted);
|
|
79
|
-
/* no role: this is not the "eyebrow" the package keeps almost naming a role
|
|
80
|
-
for. Measured against the other three sites that share that visual job --
|
|
81
|
-
a small label above a heading -- it shares no axis with any of them:
|
|
82
|
-
.
|
|
83
|
-
bento-grid .bd-bentogrid-eyebrow 16px / 1.5 / 400 / sans / 0 / none
|
|
84
|
-
header-code .bd-headercode-eyebrow 16px / 1.5 / 400 / sans / 0 / none
|
|
85
|
-
highlight .sub-title 14px / 1.5 / 400 / sans / 0 / none
|
|
86
|
-
here 11px / - / 400 / MONO / .04em / UPPERCASE
|
|
87
|
-
.
|
|
88
|
-
The first three are the same treatment at two size steps, and all three
|
|
89
|
-
already resolve through a role: each is a <bd-p variant="regular"|"small">
|
|
90
|
-
and declares nothing but colour and margin, so body-regular and body-small
|
|
91
|
-
answer them and none of them ever had a typography finding. "Eyebrow" turns
|
|
92
|
-
out to be a design pattern -- text above a heading, brand-coloured -- and
|
|
93
|
-
not a typography combination, so there is nothing for a role to name that
|
|
94
|
-
body-regular and body-small do not already say.
|
|
95
|
-
.
|
|
96
|
-
This label is a different treatment: mono, uppercase and tracked at 11px,
|
|
97
|
-
which is a meta strip's key, not a kicker above a title. label-extra-small
|
|
98
|
-
is the only declared role at xxs and it is sans with normal tracking, so it
|
|
99
|
-
describes different text. The size stays a primitive and says why. */
|
|
100
|
-
font-size: var(--typography-fontSize-xxs);
|
|
101
|
-
text-transform: uppercase;
|
|
102
|
-
letter-spacing: 0.04em;
|
|
103
|
-
font-family: var(--typography-fontFamily-mono);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.bd-quickanswer-meta-value {
|
|
107
|
-
color: var(--color-text-primary);
|
|
108
|
-
/* no role: and this is a separate question from the label above, not the
|
|
109
|
-
other half of one. Measured 16px / 400-weight-overridden-to-600 / sans,
|
|
110
|
-
with no transform and no tracking -- it shares nothing with the label but
|
|
111
|
-
the strip it sits in. The two are a pair by function, a key and its
|
|
112
|
-
value, and by treatment they are deliberately unlike: a mono uppercase
|
|
113
|
-
key at 11px against a sans value at 16px. The weight is what marks the
|
|
114
|
-
value as the answer rather than the question, which is emphasis within
|
|
115
|
-
the component's own micro-vocabulary and not a text-content type -- see
|
|
116
|
-
button.css.ts's .button--bold for that argument. */
|
|
117
|
-
font-weight: var(--typography-fontWeight-semibold);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
@media ${unsafeCSS(below('sm'))} {
|
|
121
|
-
.bd-quickanswer-container {
|
|
122
|
-
padding: var(--spacing-24);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.bd-quickanswer-meta {
|
|
126
|
-
flex-direction: column;
|
|
127
|
-
gap: var(--spacing-12);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
`;
|
|
1
|
+
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-sans);display:block}.bd-quickanswer-container{background:var(--status-brand-surface);padding:var(--spacing-32) var(--spacing-28) var(--spacing-32) var(--spacing-28);box-sizing:border-box}.bd-quickanswer-label{color:var(--color-text-brand);margin:0 0 var(--spacing-16)}.bd-quickanswer-text{color:var(--color-text-primary);margin:0}.bd-quickanswer-divider{margin:var(--spacing-24) 0 var(--spacing-16);display:block}.bd-quickanswer-meta{gap:var(--spacing-24);flex-wrap:wrap;display:flex}.bd-quickanswer-meta-item{align-items:baseline;gap:var(--spacing-8);display:inline-flex}.bd-quickanswer-meta-label{color:var(--color-text-muted);font-size:var(--typography-fontSize-xxs);text-transform:uppercase;letter-spacing:.04em;font-family:var(--typography-fontFamily-mono)}.bd-quickanswer-meta-value{color:var(--color-text-primary);font-weight:var(--typography-fontWeight-semibold)}@media (width<576px){.bd-quickanswer-container{padding:var(--spacing-24)}.bd-quickanswer-meta{gap:var(--spacing-12);flex-direction:column}}`;export{t as default};
|
|
131
2
|
//# sourceMappingURL=quick-answer.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quick-answer.css.js","
|
|
1
|
+
{"version":3,"file":"quick-answer.css.js","names":["quick_answer_css_default"],"sources":["../../../../src/components/quick-answer/quick-answer.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"#shared/token-scales.ts\";\n\nexport default css`\n :host {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n }\n\n .bd-quickanswer-container {\n background: var(--status-brand-surface);\n padding: var(--spacing-32) var(--spacing-28) var(--spacing-32) var(--spacing-28);\n box-sizing: border-box;\n }\n\n /* text-brand, not blue-500: this label is 16px on --status-brand-surface,\n where blue-500 measures 4.20:1 and fails 1.4.3. blue-600 gives 5.72:1.\n\n The weight is set through bd-p's font-weight attribute, not here. This rule\n used to declare --typography-fontWeight-medium and it never reached the\n text: the label renders inside bd-p's shadow paragraph, which sets its own\n weight, and a slotted node inherits from its flattened-tree parent -- that\n paragraph -- rather than from this host. Measured, the label came out at\n 400 while this rule asked for 500. */\n .bd-quickanswer-label {\n color: var(--color-text-brand);\n margin: 0 0 var(--spacing-16);\n }\n\n .bd-quickanswer-text {\n /* Body copy, same as above: off the text ladder rather than a\n step on it. */\n color: var(--color-text-primary);\n margin: 0;\n }\n\n /* The atom, not a border of our own.\n\n This was a bare div with a border-top, and CLAUDE.md is explicit that a\n line separating regions of content is a divider rather than a boundary.\n The reason it was hand-drawn is that bd-divider-horizontal could not say\n what this line needs: its colour prop resolved through COLOR_ROLES, the\n *ink* vocabulary, and no text role expresses --status-brand-border. A\n neutral hairline reads as dirt on a brand tint, so the component drew its\n own rather than accept the wrong colour -- the atom lost a consumer to a\n category error in its own API.\n\n token-scales.ts now carries BORDER_ROLES and the atom resolves through it\n first, so brand-subtle is sayable and this is an instance again. The\n colour is unchanged: brand-subtle IS --status-brand-border, which is the\n step the hand-drawn rule already named after an earlier fix moved it off\n --color-blue-100.\n\n opacity is set to 1 explicitly because the atom dims to 0.25 by default,\n which\n would have taken this line to a quarter of the value the rule asked for.\n\n The margins stay here: they are this panel's rhythm, not the rule's. */\n .bd-quickanswer-divider {\n display: block;\n margin: var(--spacing-24) 0 var(--spacing-16);\n }\n\n .bd-quickanswer-meta {\n display: flex;\n flex-wrap: wrap;\n gap: var(--spacing-24);\n }\n\n .bd-quickanswer-meta-item {\n display: inline-flex;\n align-items: baseline;\n gap: var(--spacing-8);\n }\n\n.bd-quickanswer-meta-label {\n /* subtle is only safe on the page ground: on this tint it lands at 4.33:1 and\n these labels are 11px. muted is the next step in the same family. */\n color: var(--color-text-muted);\n /* no role: this is not the \"eyebrow\" the package keeps almost naming a role\n for. Measured against the other three sites that share that visual job --\n a small label above a heading -- it shares no axis with any of them:\n .\n bento-grid .bd-bentogrid-eyebrow 16px / 1.5 / 400 / sans / 0 / none\n header-code .bd-headercode-eyebrow 16px / 1.5 / 400 / sans / 0 / none\n highlight .sub-title 14px / 1.5 / 400 / sans / 0 / none\n here 11px / - / 400 / MONO / .04em / UPPERCASE\n .\n The first three are the same treatment at two size steps, and all three\n already resolve through a role: each is a <bd-p variant=\"regular\"|\"small\">\n and declares nothing but colour and margin, so body-regular and body-small\n answer them and none of them ever had a typography finding. \"Eyebrow\" turns\n out to be a design pattern -- text above a heading, brand-coloured -- and\n not a typography combination, so there is nothing for a role to name that\n body-regular and body-small do not already say.\n .\n This label is a different treatment: mono, uppercase and tracked at 11px,\n which is a meta strip's key, not a kicker above a title. label-extra-small\n is the only declared role at xxs and it is sans with normal tracking, so it\n describes different text. The size stays a primitive and says why. */\n font-size: var(--typography-fontSize-xxs);\n text-transform: uppercase;\n letter-spacing: 0.04em;\n font-family: var(--typography-fontFamily-mono);\n}\n\n .bd-quickanswer-meta-value {\n color: var(--color-text-primary);\n /* no role: and this is a separate question from the label above, not the\n other half of one. Measured 16px / 400-weight-overridden-to-600 / sans,\n with no transform and no tracking -- it shares nothing with the label but\n the strip it sits in. The two are a pair by function, a key and its\n value, and by treatment they are deliberately unlike: a mono uppercase\n key at 11px against a sans value at 16px. The weight is what marks the\n value as the answer rather than the question, which is emphasis within\n the component's own micro-vocabulary and not a text-content type -- see\n button.css.ts's .button--bold for that argument. */\n font-weight: var(--typography-fontWeight-semibold);\n }\n\n @media ${unsafeCSS(below('sm'))} {\n .bd-quickanswer-container {\n padding: var(--spacing-24);\n }\n\n .bd-quickanswer-meta {\n flex-direction: column;\n gap: var(--spacing-12);\n }\n }\n`;"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,miC"}
|
|
@@ -1,34 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { LitElement, html, nothing } from "lit";
|
|
8
|
-
import { property } from "lit/decorators.js";
|
|
9
|
-
import { defineElement } from "../shared/define-element.js";
|
|
10
|
-
import { tokens } from "../../tokens/tokens.js";
|
|
11
|
-
import "../paragraph/paragraph.js";
|
|
12
|
-
import quickAnswerCSS from "./quick-answer.css.js";
|
|
13
|
-
import "../divider/divider-horizontal.js";
|
|
14
|
-
let QuickAnswer = class QuickAnswer extends LitElement {
|
|
15
|
-
constructor() {
|
|
16
|
-
super(...arguments);
|
|
17
|
-
this.label = "Quick answer";
|
|
18
|
-
this.text = "";
|
|
19
|
-
this.items = []; // [{ label: String, value: String }]
|
|
20
|
-
}
|
|
21
|
-
static { this.styles = [tokens, quickAnswerCSS]; }
|
|
22
|
-
render() {
|
|
23
|
-
return html `
|
|
1
|
+
import{defineElement as e}from"../shared/define-element.js";import{tokens as t}from"../../tokens/tokens.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import"../paragraph/paragraph.js";import"../divider/divider-horizontal.js";import r from"./quick-answer.css.js";import{LitElement as i,html as a,nothing as o}from"lit";import{property as s}from"lit/decorators.js";var c=class extends i{constructor(...e){super(...e),this.label=`Quick answer`,this.text=``,this.items=[]}static{this.styles=[t,r]}render(){return a`
|
|
24
2
|
<div class="bd-quickanswer-container">
|
|
25
|
-
${this.label
|
|
26
|
-
? html `
|
|
3
|
+
${this.label?a`
|
|
27
4
|
<bd-p variant="regular" font-weight="medium" class="bd-quickanswer-label">
|
|
28
5
|
<slot name="label">${this.label}</slot>
|
|
29
6
|
</bd-p>
|
|
30
|
-
|
|
31
|
-
: nothing}
|
|
7
|
+
`:o}
|
|
32
8
|
|
|
33
9
|
<bd-p variant="large" class="bd-quickanswer-text">
|
|
34
10
|
<slot name="text">${this.text}</slot>
|
|
@@ -36,37 +12,21 @@ let QuickAnswer = class QuickAnswer extends LitElement {
|
|
|
36
12
|
|
|
37
13
|
<slot></slot>
|
|
38
14
|
|
|
39
|
-
${this.items
|
|
40
|
-
? html `
|
|
15
|
+
${this.items&&this.items.length?a`
|
|
41
16
|
<bd-divider-horizontal
|
|
42
17
|
class="bd-quickanswer-divider"
|
|
43
18
|
color="brand-subtle"
|
|
44
19
|
opacity="1"
|
|
45
20
|
></bd-divider-horizontal>
|
|
46
21
|
<div class="bd-quickanswer-meta">
|
|
47
|
-
${this.items.map(
|
|
22
|
+
${this.items.map(e=>a`
|
|
48
23
|
<span class="bd-quickanswer-meta-item">
|
|
49
|
-
<span class="bd-quickanswer-meta-label">${
|
|
50
|
-
<span class="bd-quickanswer-meta-value">${
|
|
24
|
+
<span class="bd-quickanswer-meta-label">${e.label}</span>
|
|
25
|
+
<span class="bd-quickanswer-meta-value">${e.value}</span>
|
|
51
26
|
</span>
|
|
52
27
|
`)}
|
|
53
28
|
</div>
|
|
54
|
-
|
|
55
|
-
: nothing}
|
|
29
|
+
`:o}
|
|
56
30
|
</div>
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
__decorate([
|
|
61
|
-
property({ type: String })
|
|
62
|
-
], QuickAnswer.prototype, "label", void 0);
|
|
63
|
-
__decorate([
|
|
64
|
-
property({ type: String })
|
|
65
|
-
], QuickAnswer.prototype, "text", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
property({ type: Array })
|
|
68
|
-
], QuickAnswer.prototype, "items", void 0);
|
|
69
|
-
QuickAnswer = __decorate([
|
|
70
|
-
defineElement("bd-quick-answer")
|
|
71
|
-
], QuickAnswer);
|
|
31
|
+
`}};n([s({type:String})],c.prototype,`label`,void 0),n([s({type:String})],c.prototype,`text`,void 0),n([s({type:Array})],c.prototype,`items`,void 0),c=n([e(`bd-quick-answer`)],c);
|
|
72
32
|
//# sourceMappingURL=quick-answer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quick-answer.js","
|
|
1
|
+
{"version":3,"file":"quick-answer.js","names":["quickAnswerCSS","_decorate","__decorate","quick_answer_css_default","QuickAnswer","LitElement","_args","tokens","nothing","item","property","defineElement"],"sources":["../../../../src/components/quick-answer/quick-answer.ts"],"sourcesContent":["import { LitElement, html, nothing } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { tokens } from \"#tokens/tokens.ts\";\nimport \"#components/paragraph/paragraph.ts\";\nimport quickAnswerCSS from \"./quick-answer.css.ts\";\nimport \"#components/divider/divider-horizontal.ts\";\n\ninterface QuickAnswerItem {\n label: string;\n value: string;\n}\n\n@defineElement(\"bd-quick-answer\")\nclass QuickAnswer extends LitElement {\n static styles = [tokens, quickAnswerCSS];\n\n @property({ type: String })\n label = \"Quick answer\";\n @property({ type: String })\n text = \"\";\n @property({ type: Array })\n items: QuickAnswerItem[] = []; // [{ label: String, value: String }]\n\n render() {\n return html`\n <div class=\"bd-quickanswer-container\">\n ${this.label\n ? html`\n <bd-p variant=\"regular\" font-weight=\"medium\" class=\"bd-quickanswer-label\">\n <slot name=\"label\">${this.label}</slot>\n </bd-p>\n `\n : nothing}\n\n <bd-p variant=\"large\" class=\"bd-quickanswer-text\">\n <slot name=\"text\">${this.text}</slot>\n </bd-p>\n\n <slot></slot>\n\n ${this.items && this.items.length\n ? html`\n <bd-divider-horizontal\n class=\"bd-quickanswer-divider\"\n color=\"brand-subtle\"\n opacity=\"1\"\n ></bd-divider-horizontal>\n <div class=\"bd-quickanswer-meta\">\n ${this.items.map(\n (item) => html`\n <span class=\"bd-quickanswer-meta-item\">\n <span class=\"bd-quickanswer-meta-label\">${item.label}</span>\n <span class=\"bd-quickanswer-meta-value\">${item.value}</span>\n </span>\n `\n )}\n </div>\n `\n : nothing}\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-quick-answer\": QuickAnswer;\n }\n}"],"mappings":"A,2YAaA,IACMI,EADN,cAC0BC,CAAW,C,8BAI3B,KAAA,MAAA,eAED,KAAA,KAAA,GAEoB,KAAA,MAAA,CAAC,C,QAPZ,KAAA,OAAA,CAACE,EAAQP,CAAc,C,CASvC,QAAS,CACP,MAAO,EAAI;;UAEL,KAAK,MACH,CAAI;;qCAEqB,KAAK,MAAM;;cAGpCQ,EAAQ;;;8BAGU,KAAK,KAAK;;;;;UAK9B,KAAK,OAAS,KAAK,MAAM,OACvB,CAAI;;;;;;;kBAOE,KAAK,MAAM,IACV,GAAS,CAAI;;gEAEgCC,EAAK,MAAM;gEACXA,EAAK,MAAM;;mBAG3D,EAAE;;cAGND,EAAQ;;KAGlB,CACF,EA9CGP,EAAA,CAAAS,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAN,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAS,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAN,EAAA,UAAA,OAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAS,EAAS,CAAE,KAAM,KAAM,CAAC,CAAA,EAAAN,EAAA,UAAA,QAAA,IAAA,EAAA,EAR1B,EAAAH,EAAA,CAAAU,EAAc,iBAAiB,CAAA,EAAAP,CAAA"}
|
|
@@ -1,42 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
/**
|
|
3
|
-
* The group's own chrome: a label over the radios, and the radios stacked.
|
|
4
|
-
*
|
|
5
|
-
* The label is a field label, so it reads the --form-label-* tokens the
|
|
6
|
-
* fields' built-in labels and bd-label read, at the default size, with the
|
|
7
|
-
* same required mark. The stack is the 8px every radio story already set by
|
|
8
|
-
* hand around its group.
|
|
9
|
-
*/
|
|
10
|
-
export default css `
|
|
11
|
-
:host {
|
|
12
|
-
display: block;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.label {
|
|
16
|
-
display: block;
|
|
17
|
-
font-family: var(--form-label-default-fontFamily);
|
|
18
|
-
font-size: var(--form-label-default-fontSize);
|
|
19
|
-
font-weight: var(--form-label-default-fontWeight);
|
|
20
|
-
line-height: var(--form-label-default-lineHeight);
|
|
21
|
-
letter-spacing: var(--form-label-default-letterSpacing);
|
|
22
|
-
color: var(--form-label-default-color);
|
|
23
|
-
margin-bottom: var(--form-label-default-marginBottom);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.required {
|
|
27
|
-
color: var(--form-label-required-color);
|
|
28
|
-
margin-inline-start: var(--form-label-required-marginLeft);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/* flex-start, so each radio stays as wide as its own row. Stretched, the
|
|
32
|
-
empty run beside a short label would be part of the host and select it
|
|
33
|
-
from across the column. A page lays the options out in a row through
|
|
34
|
-
::part(options). */
|
|
35
|
-
.options {
|
|
36
|
-
display: flex;
|
|
37
|
-
flex-direction: column;
|
|
38
|
-
align-items: flex-start;
|
|
39
|
-
gap: var(--spacing-8);
|
|
40
|
-
}
|
|
41
|
-
`;
|
|
1
|
+
import{css as e}from"lit";var t=e`:host{display:block}.label{font-family:var(--form-label-default-fontFamily);font-size:var(--form-label-default-fontSize);font-weight:var(--form-label-default-fontWeight);line-height:var(--form-label-default-lineHeight);letter-spacing:var(--form-label-default-letterSpacing);color:var(--form-label-default-color);margin-bottom:var(--form-label-default-marginBottom);display:block}.required{color:var(--form-label-required-color);margin-inline-start:var(--form-label-required-marginLeft)}.options{align-items:flex-start;gap:var(--spacing-8);flex-direction:column;display:flex}`;export{t as default};
|
|
42
2
|
//# sourceMappingURL=radio-group.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group.css.js","
|
|
1
|
+
{"version":3,"file":"radio-group.css.js","names":["radio_group_css_default"],"sources":["../../../../src/components/radio/radio-group.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\n/**\n * The group's own chrome: a label over the radios, and the radios stacked.\n *\n * The label is a field label, so it reads the --form-label-* tokens the\n * fields' built-in labels and bd-label read, at the default size, with the\n * same required mark. The stack is the 8px every radio story already set by\n * hand around its group.\n */\nexport default css`\n :host {\n display: block;\n }\n\n .label {\n display: block;\n font-family: var(--form-label-default-fontFamily);\n font-size: var(--form-label-default-fontSize);\n font-weight: var(--form-label-default-fontWeight);\n line-height: var(--form-label-default-lineHeight);\n letter-spacing: var(--form-label-default-letterSpacing);\n color: var(--form-label-default-color);\n margin-bottom: var(--form-label-default-marginBottom);\n }\n\n .required {\n color: var(--form-label-required-color);\n margin-inline-start: var(--form-label-required-marginLeft);\n }\n\n /* flex-start, so each radio stays as wide as its own row. Stretched, the\n empty run beside a short label would be part of the host and select it\n from across the column. A page lays the options out in a row through\n ::part(options). */\n .options {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: var(--spacing-8);\n }\n`;\n"],"mappings":"A,0BAUA,IAAAA,EAAe,CAAG,ikB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LitElement, type PropertyValues } from "lit";
|
|
2
|
-
import "../../tokens/tokens.
|
|
2
|
+
import "../../tokens/tokens.js";
|
|
3
3
|
/**
|
|
4
4
|
* The element that owns a set of bd-radio: what a <fieldset> of native radios
|
|
5
5
|
* would be, and what the browser cannot do for radios that each live in a
|