@repobit/dex-system-design 3.0.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/src/_bundled/oxc-project_runtime/helpers/esm/decorate.js +1 -0
- package/dist/src/components/accordion/accordion-bg.css.js +1 -288
- package/dist/src/components/accordion/accordion-bg.css.js.map +1 -1
- package/dist/src/components/accordion/accordion-bg.d.ts +5 -5
- package/dist/src/components/accordion/accordion-bg.js +15 -210
- package/dist/src/components/accordion/accordion-bg.js.map +1 -1
- package/dist/src/components/accordion/accordion-keyboard.js +1 -89
- package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
- package/dist/src/components/accordion/accordion-panel.js +1 -22
- package/dist/src/components/accordion/accordion-panel.js.map +1 -1
- package/dist/src/components/accordion/accordion.css.js +1 -380
- package/dist/src/components/accordion/accordion.css.js.map +1 -1
- package/dist/src/components/accordion/accordion.d.ts +7 -7
- package/dist/src/components/accordion/accordion.js +16 -138
- package/dist/src/components/accordion/accordion.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -88
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +4 -4
- package/dist/src/components/agent-endpoints/agent-endpoints.js +17 -76
- package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
- package/dist/src/components/alert/alert.css.js +1 -217
- package/dist/src/components/alert/alert.css.js.map +1 -1
- package/dist/src/components/alert/alert.d.ts +4 -4
- package/dist/src/components/alert/alert.js +6 -110
- package/dist/src/components/alert/alert.js.map +1 -1
- package/dist/src/components/anchor/anchor-nav.css.js +1 -546
- package/dist/src/components/anchor/anchor-nav.css.js.map +1 -1
- package/dist/src/components/anchor/anchor-nav.d.ts +4 -4
- package/dist/src/components/anchor/anchor-nav.js +23 -567
- package/dist/src/components/anchor/anchor-nav.js.map +1 -1
- package/dist/src/components/annotation/annotation.css.js +1 -64
- package/dist/src/components/annotation/annotation.css.js.map +1 -1
- package/dist/src/components/annotation/annotation.d.ts +2 -2
- package/dist/src/components/annotation/annotation.js +7 -72
- package/dist/src/components/annotation/annotation.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.css.js +1 -122
- package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.d.ts +2 -2
- package/dist/src/components/audience-card/audience-card.js +8 -83
- package/dist/src/components/audience-card/audience-card.js.map +1 -1
- package/dist/src/components/avatar/avatar.css.js +1 -65
- package/dist/src/components/avatar/avatar.css.js.map +1 -1
- package/dist/src/components/avatar/avatar.d.ts +3 -3
- package/dist/src/components/avatar/avatar.js +6 -76
- package/dist/src/components/avatar/avatar.js.map +1 -1
- package/dist/src/components/awards/awards-flex.css.js +1 -273
- package/dist/src/components/awards/awards-flex.css.js.map +1 -1
- package/dist/src/components/awards/awards-flex.d.ts +12 -12
- package/dist/src/components/awards/awards-flex.js +33 -264
- package/dist/src/components/awards/awards-flex.js.map +1 -1
- package/dist/src/components/awards/awards-spotlight.css.js +1 -161
- package/dist/src/components/awards/awards-spotlight.css.js.map +1 -1
- package/dist/src/components/awards/awards-spotlight.d.ts +4 -4
- package/dist/src/components/awards/awards-spotlight.js +24 -140
- package/dist/src/components/awards/awards-spotlight.js.map +1 -1
- package/dist/src/components/awards/awards.css.js +1 -401
- package/dist/src/components/awards/awards.css.js.map +1 -1
- package/dist/src/components/awards/awards.d.ts +13 -13
- package/dist/src/components/awards/awards.js +26 -179
- package/dist/src/components/awards/awards.js.map +1 -1
- package/dist/src/components/awards/scroll-slides.js +1 -131
- package/dist/src/components/awards/scroll-slides.js.map +1 -1
- package/dist/src/components/back/back.css.js +1 -91
- package/dist/src/components/back/back.css.js.map +1 -1
- package/dist/src/components/back/back.d.ts +1 -1
- package/dist/src/components/back/back.js +8 -71
- package/dist/src/components/back/back.js.map +1 -1
- package/dist/src/components/badge/badge.css.js +1 -204
- package/dist/src/components/badge/badge.css.js.map +1 -1
- package/dist/src/components/badge/badge.d.ts +4 -4
- package/dist/src/components/badge/badge.js +2 -117
- package/dist/src/components/badge/badge.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.css.js +16 -150
- package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.d.ts +3 -3
- package/dist/src/components/bento-grid/bento-grid.js +10 -189
- package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.css.js +1 -338
- package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.d.ts +3 -3
- package/dist/src/components/bento-grid/bento-item.js +10 -94
- package/dist/src/components/bento-grid/bento-item.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.css.js +1 -54
- package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.d.ts +2 -2
- package/dist/src/components/blockquote/blockquote.js +1 -44
- package/dist/src/components/blockquote/blockquote.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.css.js +1 -168
- package/dist/src/components/breadcrumb/breadcrumb.css.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -5
- package/dist/src/components/breadcrumb/breadcrumb.js +9 -166
- package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/src/components/button/button.css.js +1 -843
- package/dist/src/components/button/button.css.js.map +1 -1
- package/dist/src/components/button/button.d.ts +5 -5
- package/dist/src/components/button/button.js +18 -420
- package/dist/src/components/button/button.js.map +1 -1
- package/dist/src/components/caption/caption.css.js +1 -29
- package/dist/src/components/caption/caption.css.js.map +1 -1
- package/dist/src/components/caption/caption.d.ts +3 -3
- package/dist/src/components/caption/caption.js +2 -36
- package/dist/src/components/caption/caption.js.map +1 -1
- package/dist/src/components/card-features/card-features.css.js +1 -120
- package/dist/src/components/card-features/card-features.css.js.map +1 -1
- package/dist/src/components/card-features/card-features.d.ts +3 -3
- package/dist/src/components/card-features/card-features.js +12 -145
- package/dist/src/components/card-features/card-features.js.map +1 -1
- package/dist/src/components/cards/card.css.js +1 -369
- package/dist/src/components/cards/card.css.js.map +1 -1
- package/dist/src/components/cards/card.d.ts +3 -3
- package/dist/src/components/cards/card.js +21 -312
- package/dist/src/components/cards/card.js.map +1 -1
- package/dist/src/components/carousel/carousel.css.js +1 -261
- package/dist/src/components/carousel/carousel.css.js.map +1 -1
- package/dist/src/components/carousel/carousel.d.ts +5 -5
- package/dist/src/components/carousel/carousel.js +13 -297
- package/dist/src/components/carousel/carousel.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.css.js +1 -173
- package/dist/src/components/checkbox/checkbox.css.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.d.ts +2 -2
- package/dist/src/components/checkbox/checkbox.js +5 -138
- package/dist/src/components/checkbox/checkbox.js.map +1 -1
- package/dist/src/components/code/code.css.js +1 -73
- package/dist/src/components/code/code.css.js.map +1 -1
- package/dist/src/components/code/code.d.ts +2 -2
- package/dist/src/components/code/code.js +4 -87
- package/dist/src/components/code/code.js.map +1 -1
- package/dist/src/components/compare/compare.css.js +1 -478
- package/dist/src/components/compare/compare.css.js.map +1 -1
- package/dist/src/components/compare/compare.d.ts +5 -5
- package/dist/src/components/compare/compare.js +23 -476
- package/dist/src/components/compare/compare.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -141
- package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.d.ts +2 -2
- package/dist/src/components/comparison-panel/comparison-panel.js +18 -86
- package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -391
- package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.d.ts +2 -2
- package/dist/src/components/compatibility-table/compatibility-table.js +26 -136
- package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.css.js +1 -97
- package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.d.ts +2 -2
- package/dist/src/components/cta-banner/cta-banner.js +8 -51
- package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
- package/dist/src/components/display/display.css.js +1 -95
- package/dist/src/components/display/display.css.js.map +1 -1
- package/dist/src/components/display/display.d.ts +2 -2
- package/dist/src/components/display/display.js +3 -84
- package/dist/src/components/display/display.js.map +1 -1
- package/dist/src/components/divider/divider-horizontal.d.ts +2 -2
- package/dist/src/components/divider/divider-horizontal.js +4 -63
- package/dist/src/components/divider/divider-horizontal.js.map +1 -1
- package/dist/src/components/divider/divider-vertical.d.ts +2 -2
- package/dist/src/components/divider/divider-vertical.js +6 -61
- package/dist/src/components/divider/divider-vertical.js.map +1 -1
- package/dist/src/components/divider/divider.css.js +1 -20
- package/dist/src/components/divider/divider.css.js.map +1 -1
- package/dist/src/components/dropdown/dropdown.css.js +1 -121
- package/dist/src/components/dropdown/dropdown.css.js.map +1 -1
- package/dist/src/components/dropdown/dropdown.d.ts +5 -5
- package/dist/src/components/dropdown/dropdown.js +17 -283
- package/dist/src/components/dropdown/dropdown.js.map +1 -1
- package/dist/src/components/features/features.css.js +1 -123
- package/dist/src/components/features/features.css.js.map +1 -1
- package/dist/src/components/features/features.d.ts +5 -5
- package/dist/src/components/features/features.js +11 -71
- package/dist/src/components/features/features.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.css.js +1 -100
- package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.d.ts +5 -5
- package/dist/src/components/features-tab/features-tab.js +9 -70
- package/dist/src/components/features-tab/features-tab.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.css.js +1 -28
- package/dist/src/components/fieldset/fieldset.css.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.d.ts +2 -2
- package/dist/src/components/fieldset/fieldset.js +3 -31
- package/dist/src/components/fieldset/fieldset.js.map +1 -1
- package/dist/src/components/footer/footer-images.js +5 -27
- package/dist/src/components/footer/footer-images.js.map +1 -1
- package/dist/src/components/footer/footer-links-group.css.js +1 -33
- package/dist/src/components/footer/footer-links-group.css.js.map +1 -1
- package/dist/src/components/footer/footer-links-group.d.ts +3 -3
- package/dist/src/components/footer/footer-links-group.js +3 -32
- package/dist/src/components/footer/footer-links-group.js.map +1 -1
- package/dist/src/components/footer/footer-locale.js +1 -45
- package/dist/src/components/footer/footer-locale.js.map +1 -1
- package/dist/src/components/footer/footer-lp.d.ts +7 -7
- package/dist/src/components/footer/footer-lp.js +8 -121
- package/dist/src/components/footer/footer-lp.js.map +1 -1
- package/dist/src/components/footer/footer-nav-menu.css.js +1 -61
- package/dist/src/components/footer/footer-nav-menu.css.js.map +1 -1
- package/dist/src/components/footer/footer-nav-menu.d.ts +3 -3
- package/dist/src/components/footer/footer-nav-menu.js +3 -47
- package/dist/src/components/footer/footer-nav-menu.js.map +1 -1
- package/dist/src/components/footer/footer.css.js +1 -664
- package/dist/src/components/footer/footer.css.js.map +1 -1
- package/dist/src/components/footer/footer.d.ts +13 -13
- package/dist/src/components/footer/footer.js +20 -305
- package/dist/src/components/footer/footer.js.map +1 -1
- package/dist/src/components/footer/localeMap.js +1 -1
- package/dist/src/components/footer/localeMap.js.map +1 -1
- package/dist/src/components/grid/grid.css.js +1 -78
- package/dist/src/components/grid/grid.css.js.map +1 -1
- package/dist/src/components/grid/grid.d.ts +2 -2
- package/dist/src/components/grid/grid.js +9 -126
- package/dist/src/components/grid/grid.js.map +1 -1
- package/dist/src/components/header/header-code.css.js +1 -369
- package/dist/src/components/header/header-code.css.js.map +1 -1
- package/dist/src/components/header/header-code.d.ts +4 -4
- package/dist/src/components/header/header-code.js +15 -163
- package/dist/src/components/header/header-code.js.map +1 -1
- package/dist/src/components/header/header.css.js +1 -757
- package/dist/src/components/header/header.css.js.map +1 -1
- package/dist/src/components/header/header.d.ts +7 -7
- package/dist/src/components/header/header.js +4 -212
- package/dist/src/components/header/header.js.map +1 -1
- package/dist/src/components/heading/heading.css.js +1 -89
- package/dist/src/components/heading/heading.css.js.map +1 -1
- package/dist/src/components/heading/heading.d.ts +2 -2
- package/dist/src/components/heading/heading.js +1 -108
- package/dist/src/components/heading/heading.js.map +1 -1
- package/dist/src/components/help-text/help-text.css.js +1 -19
- package/dist/src/components/help-text/help-text.css.js.map +1 -1
- package/dist/src/components/help-text/help-text.d.ts +2 -2
- package/dist/src/components/help-text/help-text.js +3 -31
- package/dist/src/components/help-text/help-text.js.map +1 -1
- package/dist/src/components/hero/hero.css.js +1 -362
- package/dist/src/components/hero/hero.css.js.map +1 -1
- package/dist/src/components/hero/hero.d.ts +3 -3
- package/dist/src/components/hero/hero.js +12 -164
- package/dist/src/components/hero/hero.js.map +1 -1
- package/dist/src/components/highlight/highlight.css.js +1 -175
- package/dist/src/components/highlight/highlight.css.js.map +1 -1
- package/dist/src/components/highlight/highlight.d.ts +3 -3
- package/dist/src/components/highlight/highlight.js +4 -115
- package/dist/src/components/highlight/highlight.js.map +1 -1
- package/dist/src/components/icons/analysis-icon.d.ts +1 -1
- package/dist/src/components/icons/analysis-icon.js +2 -20
- package/dist/src/components/icons/analysis-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-down-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-down-icon.js +2 -20
- package/dist/src/components/icons/arrow-down-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-icon.js +2 -48
- package/dist/src/components/icons/arrow-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-right-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-right-icon.js +2 -45
- package/dist/src/components/icons/arrow-right-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-up-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-up-icon.js +2 -33
- package/dist/src/components/icons/arrow-up-icon.js.map +1 -1
- package/dist/src/components/icons/av-comparatives-icon.js +2 -31
- package/dist/src/components/icons/av-comparatives-icon.js.map +1 -1
- package/dist/src/components/icons/bd-ai-icon.js +2 -31
- package/dist/src/components/icons/bd-ai-icon.js.map +1 -1
- package/dist/src/components/icons/best-brands-icon.js +2 -31
- package/dist/src/components/icons/best-brands-icon.js.map +1 -1
- package/dist/src/components/icons/brand-signature-icon.d.ts +1 -1
- package/dist/src/components/icons/brand-signature-icon.js +2 -46
- package/dist/src/components/icons/brand-signature-icon.js.map +1 -1
- package/dist/src/components/icons/check-icon.d.ts +1 -1
- package/dist/src/components/icons/check-icon.js +2 -31
- package/dist/src/components/icons/check-icon.js.map +1 -1
- package/dist/src/components/icons/circle-info-icon.d.ts +1 -1
- package/dist/src/components/icons/circle-info-icon.js +2 -35
- package/dist/src/components/icons/circle-info-icon.js.map +1 -1
- package/dist/src/components/icons/close-icon.d.ts +1 -1
- package/dist/src/components/icons/close-icon.js +2 -20
- package/dist/src/components/icons/close-icon.js.map +1 -1
- package/dist/src/components/icons/enterprise-icon.d.ts +1 -1
- package/dist/src/components/icons/enterprise-icon.js +2 -22
- package/dist/src/components/icons/enterprise-icon.js.map +1 -1
- package/dist/src/components/icons/family-icon.d.ts +1 -1
- package/dist/src/components/icons/family-icon.js +2 -20
- package/dist/src/components/icons/family-icon.js.map +1 -1
- package/dist/src/components/icons/globe-icon.d.ts +1 -1
- package/dist/src/components/icons/globe-icon.js +2 -20
- package/dist/src/components/icons/globe-icon.js.map +1 -1
- package/dist/src/components/icons/guide-icon.d.ts +1 -1
- package/dist/src/components/icons/guide-icon.js +2 -20
- package/dist/src/components/icons/guide-icon.js.map +1 -1
- package/dist/src/components/icons/home-icon.d.ts +1 -1
- package/dist/src/components/icons/home-icon.js +2 -22
- package/dist/src/components/icons/home-icon.js.map +1 -1
- package/dist/src/components/icons/icon-element.js +1 -162
- package/dist/src/components/icons/icon-element.js.map +1 -1
- package/dist/src/components/icons/icons.d.ts +23 -23
- package/dist/src/components/icons/icons.js +1 -42
- package/dist/src/components/icons/individual-icon.d.ts +1 -1
- package/dist/src/components/icons/individual-icon.js +2 -20
- package/dist/src/components/icons/individual-icon.js.map +1 -1
- package/dist/src/components/icons/laurel-icon.d.ts +1 -1
- package/dist/src/components/icons/laurel-icon.js +2 -24
- package/dist/src/components/icons/laurel-icon.js.map +1 -1
- package/dist/src/components/icons/machine-learning-icon.d.ts +1 -1
- package/dist/src/components/icons/machine-learning-icon.js +2 -20
- package/dist/src/components/icons/machine-learning-icon.js.map +1 -1
- package/dist/src/components/icons/marks.d.ts +9 -9
- package/dist/src/components/icons/marks.js +1 -41
- package/dist/src/components/icons/minus-icon.d.ts +1 -1
- package/dist/src/components/icons/minus-icon.js +2 -19
- package/dist/src/components/icons/minus-icon.js.map +1 -1
- package/dist/src/components/icons/missing-icon.d.ts +1 -1
- package/dist/src/components/icons/missing-icon.js +3 -53
- package/dist/src/components/icons/missing-icon.js.map +1 -1
- package/dist/src/components/icons/pause-icon.d.ts +1 -1
- package/dist/src/components/icons/pause-icon.js +2 -22
- package/dist/src/components/icons/pause-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-2024-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-2024-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-business-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-business-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-readers-icon.js +2 -30
- package/dist/src/components/icons/pc-mag-readers-icon.js.map +1 -1
- package/dist/src/components/icons/play-icon.d.ts +1 -1
- package/dist/src/components/icons/play-icon.js +2 -22
- package/dist/src/components/icons/play-icon.js.map +1 -1
- package/dist/src/components/icons/plus-icon.d.ts +1 -1
- package/dist/src/components/icons/plus-icon.js +2 -19
- package/dist/src/components/icons/plus-icon.js.map +1 -1
- package/dist/src/components/icons/quote-icon.d.ts +1 -1
- package/dist/src/components/icons/quote-icon.js +2 -30
- package/dist/src/components/icons/quote-icon.js.map +1 -1
- package/dist/src/components/icons/small-business-icon.d.ts +1 -1
- package/dist/src/components/icons/small-business-icon.js +2 -22
- package/dist/src/components/icons/small-business-icon.js.map +1 -1
- package/dist/src/components/icons/top-product-icon.js +2 -31
- package/dist/src/components/icons/top-product-icon.js.map +1 -1
- package/dist/src/components/image/image.css.js +1 -106
- package/dist/src/components/image/image.css.js.map +1 -1
- package/dist/src/components/image/image.d.ts +2 -2
- package/dist/src/components/image/image.js +10 -115
- package/dist/src/components/image/image.js.map +1 -1
- package/dist/src/components/input/input-clipboard.css.js +1 -93
- package/dist/src/components/input/input-clipboard.css.js.map +1 -1
- package/dist/src/components/input/input-clipboard.d.ts +5 -5
- package/dist/src/components/input/input-clipboard.js +20 -257
- package/dist/src/components/input/input-clipboard.js.map +1 -1
- package/dist/src/components/input/input.css.js +1 -9
- package/dist/src/components/input/input.css.js.map +1 -1
- package/dist/src/components/input/input.d.ts +4 -4
- package/dist/src/components/input/input.js +19 -202
- package/dist/src/components/input/input.js.map +1 -1
- package/dist/src/components/install-options/install-options.css.js +1 -308
- package/dist/src/components/install-options/install-options.css.js.map +1 -1
- package/dist/src/components/install-options/install-options.d.ts +4 -4
- package/dist/src/components/install-options/install-options.js +28 -159
- package/dist/src/components/install-options/install-options.js.map +1 -1
- package/dist/src/components/label/label.css.js +1 -33
- package/dist/src/components/label/label.css.js.map +1 -1
- package/dist/src/components/label/label.d.ts +3 -3
- package/dist/src/components/label/label.js +3 -135
- package/dist/src/components/label/label.js.map +1 -1
- package/dist/src/components/light-carousel/light-carousel.css.js +1 -270
- package/dist/src/components/light-carousel/light-carousel.css.js.map +1 -1
- package/dist/src/components/light-carousel/light-carousel.d.ts +3 -3
- package/dist/src/components/light-carousel/light-carousel.js +16 -181
- package/dist/src/components/light-carousel/light-carousel.js.map +1 -1
- package/dist/src/components/link/link.css.js +1 -288
- package/dist/src/components/link/link.css.js.map +1 -1
- package/dist/src/components/link/link.d.ts +3 -3
- package/dist/src/components/link/link.js +6 -233
- package/dist/src/components/link/link.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.css.js +1 -167
- package/dist/src/components/list/list-item/list-item.css.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.d.ts +3 -3
- package/dist/src/components/list/list-item/list-item.js +3 -122
- package/dist/src/components/list/list-item/list-item.js.map +1 -1
- package/dist/src/components/list/list.css.js +1 -180
- package/dist/src/components/list/list.css.js.map +1 -1
- package/dist/src/components/list/list.d.ts +1 -1
- package/dist/src/components/list/list.js +5 -82
- package/dist/src/components/list/list.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -93
- package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.d.ts +4 -3
- package/dist/src/components/logo-marquee/logo-marquee.js +6 -136
- package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
- package/dist/src/components/modal/modal.css.js +1 -203
- package/dist/src/components/modal/modal.css.js.map +1 -1
- package/dist/src/components/modal/modal.d.ts +3 -3
- package/dist/src/components/modal/modal.js +3 -131
- package/dist/src/components/modal/modal.js.map +1 -1
- package/dist/src/components/motion-art/motion-art.d.ts +1 -1
- package/dist/src/components/motion-art/motion-art.js +1 -114
- package/dist/src/components/motion-art/motion-art.js.map +1 -1
- package/dist/src/components/overview/overview.css.js +1 -125
- package/dist/src/components/overview/overview.css.js.map +1 -1
- package/dist/src/components/overview/overview.d.ts +2 -2
- package/dist/src/components/overview/overview.js +9 -50
- package/dist/src/components/overview/overview.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.css.js +1 -174
- package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.d.ts +2 -2
- package/dist/src/components/page-switcher/page-switcher.js +6 -62
- package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -160
- package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.d.ts +2 -2
- package/dist/src/components/pagination-dots/pagination-dots.js +10 -210
- package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
- package/dist/src/components/paragraph/paragraph.css.js +1 -101
- package/dist/src/components/paragraph/paragraph.css.js.map +1 -1
- package/dist/src/components/paragraph/paragraph.d.ts +2 -2
- package/dist/src/components/paragraph/paragraph.js +3 -119
- package/dist/src/components/paragraph/paragraph.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.css.js +1 -245
- package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.d.ts +1 -1
- package/dist/src/components/partner-banner/partner-banner.js +6 -81
- package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
- package/dist/src/components/picture/picture.css.js +1 -208
- package/dist/src/components/picture/picture.css.js.map +1 -1
- package/dist/src/components/picture/picture.d.ts +2 -2
- package/dist/src/components/picture/picture.js +14 -186
- package/dist/src/components/picture/picture.js.map +1 -1
- package/dist/src/components/post-card/post-card.css.js +1 -149
- package/dist/src/components/post-card/post-card.css.js.map +1 -1
- package/dist/src/components/post-card/post-card.d.ts +2 -2
- package/dist/src/components/post-card/post-card.js +5 -97
- package/dist/src/components/post-card/post-card.js.map +1 -1
- package/dist/src/components/pricing-cards/adopt-styles.js +1 -18
- package/dist/src/components/pricing-cards/adopt-styles.js.map +1 -1
- package/dist/src/components/pricing-cards/new-pricing-card.d.ts +2 -2
- package/dist/src/components/pricing-cards/new-pricing-card.js +4 -49
- package/dist/src/components/pricing-cards/new-pricing-card.js.map +1 -1
- package/dist/src/components/pricing-cards/new-pricing.css.js +1 -74
- package/dist/src/components/pricing-cards/new-pricing.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js +1 -11
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +2 -2
- package/dist/src/components/pricing-cards/pricing-card-actions.js +2 -59
- package/dist/src/components/pricing-cards/pricing-card-actions.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.css.js +1 -41
- package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.d.ts +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.js +2 -40
- package/dist/src/components/pricing-cards/pricing-card-container.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-header.css.js +1 -82
- package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-header.d.ts +5 -5
- package/dist/src/components/pricing-cards/pricing-card-header.js +7 -70
- package/dist/src/components/pricing-cards/pricing-card-header.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +1 -92
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +6 -6
- package/dist/src/components/pricing-cards/pricing-card-pricing.js +7 -87
- package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +1 -29
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +4 -4
- package/dist/src/components/pricing-cards/pricing-card-show-more.js +5 -41
- package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card.css.js +1 -660
- package/dist/src/components/pricing-cards/pricing-card.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card.d.ts +7 -7
- package/dist/src/components/pricing-cards/pricing-card.js +53 -639
- package/dist/src/components/pricing-cards/pricing-card.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js +1 -34
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +2 -2
- package/dist/src/components/pricing-cards/pricing-feature-item.js +2 -22
- package/dist/src/components/pricing-cards/pricing-feature-item.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.css.js +1 -106
- package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.d.ts +5 -5
- package/dist/src/components/process-steps/process-steps.js +10 -78
- package/dist/src/components/process-steps/process-steps.js.map +1 -1
- package/dist/src/components/progress/progress.css.js +1 -123
- package/dist/src/components/progress/progress.css.js.map +1 -1
- package/dist/src/components/progress/progress.d.ts +2 -2
- package/dist/src/components/progress/progress.js +6 -72
- package/dist/src/components/progress/progress.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.css.js +1 -130
- package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.d.ts +2 -2
- package/dist/src/components/quick-answer/quick-answer.js +9 -49
- package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
- package/dist/src/components/radio/radio-group.css.js +1 -41
- package/dist/src/components/radio/radio-group.css.js.map +1 -1
- package/dist/src/components/radio/radio-group.d.ts +1 -1
- package/dist/src/components/radio/radio-group.js +5 -92
- package/dist/src/components/radio/radio-group.js.map +1 -1
- package/dist/src/components/radio/radio.css.js +1 -193
- package/dist/src/components/radio/radio.css.js.map +1 -1
- package/dist/src/components/radio/radio.d.ts +4 -4
- package/dist/src/components/radio/radio.js +6 -263
- package/dist/src/components/radio/radio.js.map +1 -1
- package/dist/src/components/radio/toggle-radio.d.ts +2 -2
- package/dist/src/components/radio/toggle-radio.js +3 -39
- package/dist/src/components/radio/toggle-radio.js.map +1 -1
- package/dist/src/components/review/review-grid.css.js +1 -46
- package/dist/src/components/review/review-grid.css.js.map +1 -1
- package/dist/src/components/review/review-grid.d.ts +2 -2
- package/dist/src/components/review/review-grid.js +4 -49
- package/dist/src/components/review/review-grid.js.map +1 -1
- package/dist/src/components/review/review.css.js +1 -54
- package/dist/src/components/review/review.css.js.map +1 -1
- package/dist/src/components/review/review.d.ts +2 -2
- package/dist/src/components/review/review.js +2 -59
- package/dist/src/components/review/review.js.map +1 -1
- package/dist/src/components/section/section.css.js +1 -37
- package/dist/src/components/section/section.css.js.map +1 -1
- package/dist/src/components/section/section.d.ts +1 -1
- package/dist/src/components/section/section.js +1 -50
- package/dist/src/components/section/section.js.map +1 -1
- package/dist/src/components/section-header/section-header.css.js +1 -99
- package/dist/src/components/section-header/section-header.css.js.map +1 -1
- package/dist/src/components/section-header/section-header.d.ts +2 -2
- package/dist/src/components/section-header/section-header.js +4 -85
- package/dist/src/components/section-header/section-header.js.map +1 -1
- package/dist/src/components/shared/announcer.d.ts +1 -1
- package/dist/src/components/shared/announcer.js +1 -34
- package/dist/src/components/shared/announcer.js.map +1 -1
- package/dist/src/components/shared/controller.media-query.d.ts +1 -1
- package/dist/src/components/shared/controller.media-query.js +1 -57
- package/dist/src/components/shared/controller.media-query.js.map +1 -1
- package/dist/src/components/shared/define-element.js +1 -16
- package/dist/src/components/shared/define-element.js.map +1 -1
- package/dist/src/components/shared/ensemble.css.js +1 -101
- package/dist/src/components/shared/ensemble.css.js.map +1 -1
- package/dist/src/components/shared/events.js +0 -13
- package/dist/src/components/shared/fill-width.css.js +2 -27
- package/dist/src/components/shared/fill-width.css.js.map +1 -1
- package/dist/src/components/shared/form-control.d.ts +1 -1
- package/dist/src/components/shared/form-control.js +1 -198
- package/dist/src/components/shared/form-control.js.map +1 -1
- package/dist/src/components/shared/form-field.css.js +1 -258
- package/dist/src/components/shared/form-field.css.js.map +1 -1
- package/dist/src/components/shared/prop-vocabulary.js +1 -49
- package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
- package/dist/src/components/shared/token-scales.js +1 -351
- package/dist/src/components/shared/token-scales.js.map +1 -1
- package/dist/src/components/skeleton/skeleton.css.js +1 -32
- package/dist/src/components/skeleton/skeleton.css.js.map +1 -1
- package/dist/src/components/skeleton/skeleton.d.ts +2 -2
- package/dist/src/components/skeleton/skeleton.js +4 -36
- package/dist/src/components/skeleton/skeleton.js.map +1 -1
- package/dist/src/components/spinner/spinner.css.js +1 -87
- package/dist/src/components/spinner/spinner.css.js.map +1 -1
- package/dist/src/components/spinner/spinner.d.ts +3 -3
- package/dist/src/components/spinner/spinner.js +3 -69
- package/dist/src/components/spinner/spinner.js.map +1 -1
- package/dist/src/components/spotlight-section/spotlight-section.css.js +1 -105
- package/dist/src/components/spotlight-section/spotlight-section.css.js.map +1 -1
- package/dist/src/components/spotlight-section/spotlight-section.d.ts +2 -2
- package/dist/src/components/spotlight-section/spotlight-section.js +11 -72
- package/dist/src/components/spotlight-section/spotlight-section.js.map +1 -1
- package/dist/src/components/stat/stat-highlight.js +6 -82
- package/dist/src/components/stat/stat-highlight.js.map +1 -1
- package/dist/src/components/stat/stat-tile.js +5 -52
- package/dist/src/components/stat/stat-tile.js.map +1 -1
- package/dist/src/components/stat/stat.css.js +1 -145
- package/dist/src/components/stat/stat.css.js.map +1 -1
- package/dist/src/components/stat/stat.d.ts +2 -2
- package/dist/src/components/stat/stat.js +1 -3
- package/dist/src/components/switch/switch.css.js +1 -175
- package/dist/src/components/switch/switch.css.js.map +1 -1
- package/dist/src/components/switch/switch.d.ts +4 -4
- package/dist/src/components/switch/switch.js +4 -99
- package/dist/src/components/switch/switch.js.map +1 -1
- package/dist/src/components/tab-list/tab-list.css.js +1 -289
- package/dist/src/components/tab-list/tab-list.css.js.map +1 -1
- package/dist/src/components/tab-list/tab-list.d.ts +1 -1
- package/dist/src/components/tab-list/tab-list.js +13 -191
- package/dist/src/components/tab-list/tab-list.js.map +1 -1
- package/dist/src/components/tabs/tabs.css.js +1 -77
- package/dist/src/components/tabs/tabs.css.js.map +1 -1
- package/dist/src/components/tabs/tabs.d.ts +6 -6
- package/dist/src/components/tabs/tabs.js +8 -220
- package/dist/src/components/tabs/tabs.js.map +1 -1
- package/dist/src/components/tag/tag.css.js +1 -52
- package/dist/src/components/tag/tag.css.js.map +1 -1
- package/dist/src/components/tag/tag.d.ts +2 -2
- package/dist/src/components/tag/tag.js +2 -37
- package/dist/src/components/tag/tag.js.map +1 -1
- package/dist/src/components/terminal/terminal-cursor.js +1 -65
- package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
- package/dist/src/components/terminal/terminal-message.css.js +1 -409
- package/dist/src/components/terminal/terminal-message.css.js.map +1 -1
- package/dist/src/components/terminal/terminal-message.d.ts +5 -5
- package/dist/src/components/terminal/terminal-message.js +28 -183
- package/dist/src/components/terminal/terminal-message.js.map +1 -1
- package/dist/src/components/termsOfUse/terms.css.js +1 -55
- package/dist/src/components/termsOfUse/terms.css.js.map +1 -1
- package/dist/src/components/termsOfUse/terms.d.ts +5 -5
- package/dist/src/components/termsOfUse/terms.js +9 -82
- package/dist/src/components/termsOfUse/terms.js.map +1 -1
- package/dist/src/components/textarea/textarea.css.js +1 -49
- package/dist/src/components/textarea/textarea.css.js.map +1 -1
- package/dist/src/components/textarea/textarea.d.ts +5 -5
- package/dist/src/components/textarea/textarea.js +15 -160
- package/dist/src/components/textarea/textarea.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.css.js +1 -96
- package/dist/src/components/tooltip/tooltip.css.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.d.ts +2 -2
- package/dist/src/components/tooltip/tooltip.js +5 -285
- package/dist/src/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.css.js +1 -228
- package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.d.ts +4 -4
- package/dist/src/components/trust-panel/trust-panel.js +25 -104
- package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
- package/dist/src/components/video/video.css.js +1 -20
- package/dist/src/components/video/video.css.js.map +1 -1
- package/dist/src/components/video/video.d.ts +2 -2
- package/dist/src/components/video/video.js +5 -88
- package/dist/src/components/video/video.js.map +1 -1
- package/dist/src/components/video-player/video-player.css.js +1 -167
- package/dist/src/components/video-player/video-player.css.js.map +1 -1
- package/dist/src/components/video-player/video-player.d.ts +2 -2
- package/dist/src/components/video-player/video-player.js +15 -150
- package/dist/src/components/video-player/video-player.js.map +1 -1
- package/dist/src/components/visually-hidden/visually-hidden.css.js +1 -22
- package/dist/src/components/visually-hidden/visually-hidden.css.js.map +1 -1
- package/dist/src/components/visually-hidden/visually-hidden.d.ts +2 -2
- package/dist/src/components/visually-hidden/visually-hidden.js +2 -22
- package/dist/src/components/visually-hidden/visually-hidden.js.map +1 -1
- package/dist/src/tokens/brand-layer.js +8 -162
- package/dist/src/tokens/brand-layer.js.map +1 -1
- package/dist/src/tokens/dark-derivation.js +1 -325
- package/dist/src/tokens/dark-derivation.js.map +1 -1
- package/dist/src/tokens/dark-findings.d.ts +1 -1
- package/dist/src/tokens/dark-findings.js +1 -204
- package/dist/src/tokens/dark-findings.js.map +1 -1
- package/dist/src/tokens/fonts.css +1 -166
- package/dist/src/tokens/layout.css +1 -61
- package/dist/src/tokens/story-chrome.js +27 -221
- package/dist/src/tokens/story-chrome.js.map +1 -1
- package/dist/src/tokens/themes/bitdefender.js +1 -30
- package/dist/src/tokens/themes/bitdefender.js.map +1 -1
- package/dist/src/tokens/themes/contract.js +1 -7
- package/dist/src/tokens/themes/contract.js.map +1 -1
- package/dist/src/tokens/themes/index.js +1 -39
- package/dist/src/tokens/themes/index.js.map +1 -1
- package/dist/src/tokens/token-map.js +1 -236
- package/dist/src/tokens/token-map.js.map +1 -1
- package/dist/src/tokens/token-purposes.js +1 -259
- package/dist/src/tokens/token-purposes.js.map +1 -1
- package/dist/src/tokens/tokens.css +1 -1809
- package/dist/src/tokens/tokens.js +1 -1865
- package/dist/src/tokens/tokens.js.map +1 -1
- package/dist/src/tokens/type-ceiling-words.js +1 -293
- package/dist/src/tokens/type-ceiling-words.js.map +1 -1
- package/package.json +14 -3
- package/schemas/component-manifest.json +1 -1
- package/dist/src/components/icons/icons.js.map +0 -1
- package/dist/src/components/icons/marks.js.map +0 -1
- package/dist/src/components/shared/events.js.map +0 -1
- package/dist/src/components/stat/stat.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.0.2](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@3.0.1...@repobit/dex-system-design@3.0.2) (2026-10-30)
|
|
7
|
+
|
|
8
|
+
### Performance Improvements
|
|
9
|
+
|
|
10
|
+
* **DEX-29320:** ship minified CSS and JS from dex-system-design
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [3.0.1](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@3.0.0...@repobit/dex-system-design@3.0.1) (2026-10-30)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **DEX-29010:** bd-logo-marquee measures a resize on the next frame
|
|
18
|
+
|
|
19
|
+
|
|
6
20
|
## [3.0.0](https://github.com/bitdefender/dex-core/compare/@repobit/dex-system-design@2.7.1...@repobit/dex-system-design@3.0.0) (2026-10-30)
|
|
7
21
|
|
|
8
22
|
### ⚠ BREAKING CHANGES
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t,n,r){var i=arguments.length,a=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r,o;if(typeof Reflect==`object`&&typeof Reflect.decorate==`function`)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}export{e as default};
|
|
@@ -1,289 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export default css `
|
|
3
|
-
:host {
|
|
4
|
-
display: block;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
:host(bd-accordion-bg-item[data-variant="terms-of-use"]) {
|
|
8
|
-
background-color: transparent !important;
|
|
9
|
-
border-radius: var(--radius-none);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/* The inline padding is on the item's .disclosure, not here: the focus
|
|
13
|
-
ring is drawn on .disclosure (accordion.css.ts), and it has to go round
|
|
14
|
-
the whole tinted card, not 16px inside it. */
|
|
15
|
-
:host(bd-accordion-bg-item) {
|
|
16
|
-
display: block;
|
|
17
|
-
margin-bottom: var(--spacing-16);
|
|
18
|
-
box-sizing: border-box;
|
|
19
|
-
background-color: var(--status-brand-surface);
|
|
20
|
-
border-radius: var(--shape-radius-lg);
|
|
21
|
-
overflow: visible;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/* The ring is accordion.css.ts's .disclosure rule, which this element
|
|
25
|
-
adopts, so there is one ring rule for the whole family and nothing here
|
|
26
|
-
that could give one variant a different colour -- the divergence P5G
|
|
27
|
-
found and P5G.1 closed stays closed by construction.
|
|
28
|
-
|
|
29
|
-
What this sheet adds is shape, not colour. The ring follows the item's own
|
|
30
|
-
corner: --radius-lg on the tinted FAQ item, which is right. The terms-of-use
|
|
31
|
-
and no-bg items are transparent boxes with --radius-none, so their ring
|
|
32
|
-
would be a hard rectangle, which Foundations/Focus says the ring should
|
|
33
|
-
not be on an element with no shape of its own. They take the focus radius
|
|
34
|
-
while focused. That changes no resting pixel -- these hosts paint no
|
|
35
|
-
background and no border -- and it is the same radius the trigger used to
|
|
36
|
-
take for the same reason. */
|
|
37
|
-
:host(bd-accordion-bg-item[data-variant="terms-of-use"]) .disclosure:has(> .header:focus-visible),
|
|
38
|
-
:host(bd-accordion-bg-item[no-bg]) .disclosure:has(> .bd-accordion-bg-question:focus-visible) {
|
|
39
|
-
border-radius: var(--focus-outline-radius);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/* The tinted card's inset, which the host carried until the ring moved to
|
|
43
|
-
this element. The two transparent variants have none. */
|
|
44
|
-
.disclosure.bd-accordion-bg-item {
|
|
45
|
-
padding-inline: var(--spacing-16);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
:host(bd-accordion-bg-item[no-bg]) .disclosure {
|
|
49
|
-
padding-inline: 0;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
:host(bd-accordion-bg-item[no-bg]) {
|
|
53
|
-
margin-bottom: var(--spacing-16);
|
|
54
|
-
background-color: transparent;
|
|
55
|
-
border-radius: var(--radius-none);
|
|
56
|
-
overflow: visible;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
:host(bd-accordion-bg-item[no-bg]:last-of-type) {
|
|
60
|
-
margin-bottom: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/* bd-p in bd-accordion-bg — fara padding bottom */
|
|
64
|
-
::slotted(bd-p) {
|
|
65
|
-
padding-bottom: 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
::slotted(bd-list) {
|
|
69
|
-
--bd-li-margin-bottom: var(--spacing-16);
|
|
70
|
-
display: block;
|
|
71
|
-
margin-bottom: var(--spacing-16);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
::slotted(bd-list:last-child) {
|
|
75
|
-
margin-bottom: 0;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
::slotted([slot="footer"]) {
|
|
79
|
-
display: block;
|
|
80
|
-
padding-top: var(--spacing-16);
|
|
81
|
-
font-style: italic;
|
|
82
|
-
}
|
|
83
|
-
/* No radius and no box-shadow transition of its own: this is the item's
|
|
84
|
-
.disclosure, and it takes the host's corner so the focus ring does, and
|
|
85
|
-
draws that ring at once, as the host did. */
|
|
86
|
-
.bd-accordion-bg-item {
|
|
87
|
-
margin-bottom: 0;
|
|
88
|
-
background-color: transparent;
|
|
89
|
-
overflow: visible;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.bd-accordion-bg-question {
|
|
93
|
-
cursor: pointer;
|
|
94
|
-
display: flex;
|
|
95
|
-
justify-content: flex-start;
|
|
96
|
-
align-items: flex-start;
|
|
97
|
-
gap: var(--spacing-12);
|
|
98
|
-
width: 100%;
|
|
99
|
-
padding: var(--spacing-16) 0;
|
|
100
|
-
margin: 0;
|
|
101
|
-
border: none;
|
|
102
|
-
font: inherit;
|
|
103
|
-
text-align: start;
|
|
104
|
-
font-family: var(--typography-control-label-xl-fontFamily);
|
|
105
|
-
font-size: var(--typography-control-label-xl-fontSize);
|
|
106
|
-
font-weight: var(--typography-control-label-xl-fontWeight);
|
|
107
|
-
line-height: var(--typography-control-label-xl-lineHeight);
|
|
108
|
-
background-color: transparent;
|
|
109
|
-
color: var(--color-text-primary);
|
|
110
|
-
transition: color var(--transition-duration-normal) var(--transition-easing-smooth);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.bd-accordion-bg-question[aria-expanded="true"] {
|
|
114
|
-
/* 18px/600 on the blue-50 item ground — below WCAG large (18.66px bold),
|
|
115
|
-
so it needs 4.5:1. blue-500 measured 4.20:1. */
|
|
116
|
-
color: var(--color-text-brand);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.bd-accordion-bg-question[aria-expanded="false"] {
|
|
120
|
-
color: var(--color-text-primary);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.bd-accordion-bg-question:hover {
|
|
124
|
-
color: var(--color-text-brand);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.bd-accordion-bg-question:hover .bd-accordion-bg-question-text {
|
|
128
|
-
text-decoration-line: none;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/* No ring on the trigger; see the note on .header:focus-visible in
|
|
132
|
-
accordion.css.ts. The item draws it. */
|
|
133
|
-
.bd-accordion-bg-question:focus-visible {
|
|
134
|
-
outline: none;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.bd-accordion-bg-header {
|
|
138
|
-
margin-bottom: var(--spacing-32);
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.bd-accordion-bg-question-text {
|
|
142
|
-
font-family: inherit;
|
|
143
|
-
font-weight: inherit;
|
|
144
|
-
font-size: inherit;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.bd-accordion-bg-title {
|
|
148
|
-
margin-inline: auto;
|
|
149
|
-
text-align: center;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.bd-accordion-bg-icon {
|
|
153
|
-
width: var(--icon-sm-size);
|
|
154
|
-
height: var(--icon-sm-size);
|
|
155
|
-
min-width: var(--icon-sm-size);
|
|
156
|
-
flex-shrink: 0;
|
|
157
|
-
display: flex;
|
|
158
|
-
align-items: center;
|
|
159
|
-
justify-content: center;
|
|
160
|
-
/* the box holds an icon, not text; none collapses the leading to the
|
|
161
|
-
glyph rather than reserving a text line around it */
|
|
162
|
-
line-height: var(--typography-lineHeight-none);
|
|
163
|
-
/* Safari reads only the prefixed property */
|
|
164
|
-
-webkit-user-select: none;
|
|
165
|
-
user-select: none;
|
|
166
|
-
/* Derived, like accordion.css.ts's .toggle: half the difference between
|
|
167
|
-
the first line box and the glyph. The 1.3 that stood here was a literal
|
|
168
|
-
and it did not match this question's own leading -- the text is set at
|
|
169
|
-
control-label-xl, whose line-height is tight (1.25) -- so the glyph sat
|
|
170
|
-
below the optical centre of the type it is meant to align with. */
|
|
171
|
-
margin-top: calc(
|
|
172
|
-
(var(--typography-control-label-xl-lineHeight) * 1em - var(--icon-sm-size)) / 2
|
|
173
|
-
);
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
/* A ".bd-accordion-bg-icon img" rule stood here and could never match, for
|
|
177
|
-
the same reason as accordion.css.ts's ".toggle img": the icon is
|
|
178
|
-
<bd-plus-icon> or <bd-minus-icon> with size and color as props, not an
|
|
179
|
-
<img> this stylesheet can reach. Those props carry --color-text-brand for
|
|
180
|
-
the reason accordion.css.ts records at the same rule. */
|
|
181
|
-
|
|
182
|
-
/* A closed answer is [hidden]. The max-height: 0 / opacity: 0 that also
|
|
183
|
-
hid it, and the 5000px / 1 that undid them when open, were a collapse
|
|
184
|
-
animation transition: none had already switched off. */
|
|
185
|
-
/* Indented past the icon, on the inline start where the icon is: these
|
|
186
|
-
were four-value shorthands with the indent on the left, so on a
|
|
187
|
-
right-to-left page the answer sat under nothing, a toggle's width away
|
|
188
|
-
from the edge its question starts at. */
|
|
189
|
-
.bd-accordion-bg-answer {
|
|
190
|
-
overflow: hidden;
|
|
191
|
-
padding-block: var(--spacing-0);
|
|
192
|
-
padding-inline: calc(var(--icon-sm-size) + var(--spacing-12)) var(--spacing-0);
|
|
193
|
-
background-color: transparent;
|
|
194
|
-
font-family: var(--typography-fontFamily-sans);
|
|
195
|
-
/* body-small: sm / normal / 1.5, which is what this already rendered on all
|
|
196
|
-
three axes. Only the axes this rule declares are adopted -- the role also
|
|
197
|
-
carries a family and a tracking, and importing those would change text
|
|
198
|
-
the rule never spoke for. */
|
|
199
|
-
font-size: var(--typography-body-small-fontSize);
|
|
200
|
-
font-weight: var(--typography-body-small-fontWeight);
|
|
201
|
-
line-height: var(--typography-body-small-lineHeight);
|
|
202
|
-
/* -primary, the default ink. This said -secondary from the day it was
|
|
203
|
-
written, and nothing ever argued for it: it arrived as a raw
|
|
204
|
-
--color-neutral-700 and the token migration only renamed the step to
|
|
205
|
-
whichever role carries that value. -secondary is for supporting copy
|
|
206
|
-
UNDER a title; an answer is the payload of the disclosure, which is body
|
|
207
|
-
copy, and every accordion panel already resolves to -primary. */
|
|
208
|
-
color: var(--color-text-primary);
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
/* plain hidden only; see the note at .content[hidden] in accordion.css.ts */
|
|
212
|
-
.bd-accordion-bg-answer[hidden]:not([hidden="until-found" i]) {
|
|
213
|
-
display: none !important;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
.bd-accordion-bg-item.open .bd-accordion-bg-answer {
|
|
217
|
-
padding-block: var(--spacing-0) var(--spacing-16);
|
|
218
|
-
padding-inline: calc(var(--icon-sm-size) + var(--spacing-12)) var(--spacing-0);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
::slotted(p) {
|
|
222
|
-
margin: var(--spacing-0);
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
/* A ".bd-accordion-bg-answer > div { overflow: hidden }" rule stood here and
|
|
226
|
-
could never match, and its reason differs from the icon rules above. The
|
|
227
|
-
answer region contains a single <slot>, so its children in the SHADOW tree
|
|
228
|
-
are the slot, not the consumer's markup -- a child combinator never reaches
|
|
229
|
-
slotted content. ::slotted(div) would, and is deliberately not substituted:
|
|
230
|
-
nothing has been clipping here, so turning the clip on now is a behaviour
|
|
231
|
-
change to every accordion body, not a repair. */
|
|
232
|
-
|
|
233
|
-
/* FAQ container — padding 64px top/bottom */
|
|
234
|
-
.bd-accordion-bg-container {
|
|
235
|
-
margin: auto;
|
|
236
|
-
padding-top: var(--spacing-64);
|
|
237
|
-
padding-bottom: var(--spacing-64);
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.bd-accordion-bg-container.no-bg {
|
|
241
|
-
background: none;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.bd-accordion-bg-container.no-padding {
|
|
245
|
-
padding-top: 0;
|
|
246
|
-
padding-bottom: 0;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
/* Inner — the page column, centred */
|
|
250
|
-
.bd-accordion-bg-inner {
|
|
251
|
-
box-sizing: border-box;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.bd-accordion-bg-item.no-bg {
|
|
255
|
-
background-color: transparent;
|
|
256
|
-
border: none;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.bd-accordion-bg-item.no-bg .bd-accordion-bg-question {
|
|
260
|
-
background-color: transparent;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
.bd-accordion-bg-item.no-bg .bd-accordion-bg-answer {
|
|
264
|
-
background-color: transparent;
|
|
265
|
-
padding: 0 var(--spacing-40);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.bd-accordion-bg-item.no-bg.open .bd-accordion-bg-answer {
|
|
269
|
-
padding: var(--spacing-16) var(--spacing-40);
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
.bd-accordion-bg-item.no-bg:hover {
|
|
273
|
-
background-color: transparent;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.bd-accordion-bg-item.no-bg .bd-accordion-bg-question:hover .bd-accordion-bg-question-text {
|
|
277
|
-
text-decoration-line: none;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
/* A reader who asked for less motion was still getting the question colour. Twenty-three
|
|
281
|
-
of the thirty animated directories in this package honour the query; this
|
|
282
|
-
one did not. */
|
|
283
|
-
@media (prefers-reduced-motion: reduce) {
|
|
284
|
-
.bd-accordion-bg-question {
|
|
285
|
-
transition: none;
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
`;
|
|
1
|
+
import{css as e}from"lit";var t=e`:host{display:block}:host(bd-accordion-bg-item[data-variant=terms-of-use]){border-radius:var(--radius-none);background-color:#0000!important}:host(bd-accordion-bg-item){margin-bottom:var(--spacing-16);box-sizing:border-box;background-color:var(--status-brand-surface);border-radius:var(--shape-radius-lg);display:block;overflow:visible}:host(bd-accordion-bg-item[data-variant=terms-of-use]) .disclosure:has(>.header:focus-visible),:host(bd-accordion-bg-item[no-bg]) .disclosure:has(>.bd-accordion-bg-question:focus-visible){border-radius:var(--focus-outline-radius)}.disclosure.bd-accordion-bg-item{padding-inline:var(--spacing-16)}:host(bd-accordion-bg-item[no-bg]) .disclosure{padding-inline:0}:host(bd-accordion-bg-item[no-bg]){margin-bottom:var(--spacing-16);border-radius:var(--radius-none);background-color:#0000;overflow:visible}:host(bd-accordion-bg-item[no-bg]:last-of-type){margin-bottom:0}::slotted(bd-p){padding-bottom:0}::slotted(bd-list){--bd-li-margin-bottom:var(--spacing-16);margin-bottom:var(--spacing-16);display:block}::slotted(bd-list:last-child){margin-bottom:0}::slotted([slot=footer]){padding-top:var(--spacing-16);font-style:italic;display:block}.bd-accordion-bg-item{background-color:#0000;margin-bottom:0;overflow:visible}.bd-accordion-bg-question{cursor:pointer;justify-content:flex-start;align-items:flex-start;gap:var(--spacing-12);width:100%;padding:var(--spacing-16) 0;font:inherit;text-align:start;font-family:var(--typography-control-label-xl-fontFamily);font-size:var(--typography-control-label-xl-fontSize);font-weight:var(--typography-control-label-xl-fontWeight);line-height:var(--typography-control-label-xl-lineHeight);color:var(--color-text-primary);transition:color var(--transition-duration-normal) var(--transition-easing-smooth);background-color:#0000;border:none;margin:0;display:flex}.bd-accordion-bg-question[aria-expanded=true]{color:var(--color-text-brand)}.bd-accordion-bg-question[aria-expanded=false]{color:var(--color-text-primary)}.bd-accordion-bg-question:hover{color:var(--color-text-brand)}.bd-accordion-bg-question:hover .bd-accordion-bg-question-text{text-decoration-line:none}.bd-accordion-bg-question:focus-visible{outline:none}.bd-accordion-bg-header{margin-bottom:var(--spacing-32)}.bd-accordion-bg-question-text{font-family:inherit;font-weight:inherit;font-size:inherit}.bd-accordion-bg-title{text-align:center;margin-inline:auto}.bd-accordion-bg-icon{width:var(--icon-sm-size);height:var(--icon-sm-size);min-width:var(--icon-sm-size);line-height:var(--typography-lineHeight-none);-webkit-user-select:none;user-select:none;margin-top:calc((var(--typography-control-label-xl-lineHeight) * 1em - var(--icon-sm-size)) / 2);flex-shrink:0;justify-content:center;align-items:center;display:flex}.bd-accordion-bg-answer{padding-block:var(--spacing-0);padding-inline:calc(var(--icon-sm-size) + var(--spacing-12)) var(--spacing-0);font-family:var(--typography-fontFamily-sans);font-size:var(--typography-body-small-fontSize);font-weight:var(--typography-body-small-fontWeight);line-height:var(--typography-body-small-lineHeight);color:var(--color-text-primary);background-color:#0000;overflow:hidden}.bd-accordion-bg-answer[hidden]:not([hidden=until-found i]){display:none!important}.bd-accordion-bg-item.open .bd-accordion-bg-answer{padding-block:var(--spacing-0) var(--spacing-16);padding-inline:calc(var(--icon-sm-size) + var(--spacing-12)) var(--spacing-0)}::slotted(p){margin:var(--spacing-0)}.bd-accordion-bg-container{padding-top:var(--spacing-64);padding-bottom:var(--spacing-64);margin:auto}.bd-accordion-bg-container.no-bg{background:0 0}.bd-accordion-bg-container.no-padding{padding-top:0;padding-bottom:0}.bd-accordion-bg-inner{box-sizing:border-box}.bd-accordion-bg-item.no-bg{background-color:#0000;border:none}.bd-accordion-bg-item.no-bg .bd-accordion-bg-question{background-color:#0000}.bd-accordion-bg-item.no-bg .bd-accordion-bg-answer{padding:0 var(--spacing-40);background-color:#0000}.bd-accordion-bg-item.no-bg.open .bd-accordion-bg-answer{padding:var(--spacing-16) var(--spacing-40)}.bd-accordion-bg-item.no-bg:hover{background-color:#0000}.bd-accordion-bg-item.no-bg .bd-accordion-bg-question:hover .bd-accordion-bg-question-text{text-decoration-line:none}@media (prefers-reduced-motion:reduce){.bd-accordion-bg-question{transition:none}}`;export{t as default};
|
|
289
2
|
//# sourceMappingURL=accordion-bg.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion-bg.css.js","sourceRoot":"","sources":["../../../../src/components/accordion/accordion-bg.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8RjB,CAAC","sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n :host {\n display: block;\n }\n\n :host(bd-accordion-bg-item[data-variant=\"terms-of-use\"]) {\n background-color: transparent !important;\n border-radius: var(--radius-none);\n }\n\n /* The inline padding is on the item's .disclosure, not here: the focus\n ring is drawn on .disclosure (accordion.css.ts), and it has to go round\n the whole tinted card, not 16px inside it. */\n :host(bd-accordion-bg-item) {\n display: block;\n margin-bottom: var(--spacing-16);\n box-sizing: border-box;\n background-color: var(--status-brand-surface);\n border-radius: var(--shape-radius-lg);\n overflow: visible;\n }\n\n /* The ring is accordion.css.ts's .disclosure rule, which this element\n adopts, so there is one ring rule for the whole family and nothing here\n that could give one variant a different colour -- the divergence P5G\n found and P5G.1 closed stays closed by construction.\n\n What this sheet adds is shape, not colour. The ring follows the item's own\n corner: --radius-lg on the tinted FAQ item, which is right. The terms-of-use\n and no-bg items are transparent boxes with --radius-none, so their ring\n would be a hard rectangle, which Foundations/Focus says the ring should\n not be on an element with no shape of its own. They take the focus radius\n while focused. That changes no resting pixel -- these hosts paint no\n background and no border -- and it is the same radius the trigger used to\n take for the same reason. */\n :host(bd-accordion-bg-item[data-variant=\"terms-of-use\"]) .disclosure:has(> .header:focus-visible),\n :host(bd-accordion-bg-item[no-bg]) .disclosure:has(> .bd-accordion-bg-question:focus-visible) {\n border-radius: var(--focus-outline-radius);\n }\n\n /* The tinted card's inset, which the host carried until the ring moved to\n this element. The two transparent variants have none. */\n .disclosure.bd-accordion-bg-item {\n padding-inline: var(--spacing-16);\n }\n\n :host(bd-accordion-bg-item[no-bg]) .disclosure {\n padding-inline: 0;\n }\n\n :host(bd-accordion-bg-item[no-bg]) {\n margin-bottom: var(--spacing-16);\n background-color: transparent;\n border-radius: var(--radius-none);\n overflow: visible;\n }\n\n :host(bd-accordion-bg-item[no-bg]:last-of-type) {\n margin-bottom: 0;\n }\n\n /* bd-p in bd-accordion-bg — fara padding bottom */\n ::slotted(bd-p) {\n padding-bottom: 0;\n }\n\n ::slotted(bd-list) {\n --bd-li-margin-bottom: var(--spacing-16);\n display: block;\n margin-bottom: var(--spacing-16);\n }\n\n ::slotted(bd-list:last-child) {\n margin-bottom: 0;\n }\n\n ::slotted([slot=\"footer\"]) {\n display: block;\n padding-top: var(--spacing-16);\n font-style: italic;\n }\n /* No radius and no box-shadow transition of its own: this is the item's\n .disclosure, and it takes the host's corner so the focus ring does, and\n draws that ring at once, as the host did. */\n .bd-accordion-bg-item {\n margin-bottom: 0;\n background-color: transparent;\n overflow: visible;\n }\n\n .bd-accordion-bg-question {\n cursor: pointer;\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n gap: var(--spacing-12);\n width: 100%;\n padding: var(--spacing-16) 0;\n margin: 0;\n border: none;\n font: inherit;\n text-align: start;\n font-family: var(--typography-control-label-xl-fontFamily);\n font-size: var(--typography-control-label-xl-fontSize);\n font-weight: var(--typography-control-label-xl-fontWeight);\n line-height: var(--typography-control-label-xl-lineHeight);\n background-color: transparent;\n color: var(--color-text-primary);\n transition: color var(--transition-duration-normal) var(--transition-easing-smooth);\n }\n\n .bd-accordion-bg-question[aria-expanded=\"true\"] {\n /* 18px/600 on the blue-50 item ground — below WCAG large (18.66px bold),\n so it needs 4.5:1. blue-500 measured 4.20:1. */\n color: var(--color-text-brand);\n }\n\n .bd-accordion-bg-question[aria-expanded=\"false\"] {\n color: var(--color-text-primary);\n }\n\n .bd-accordion-bg-question:hover {\n color: var(--color-text-brand);\n }\n\n .bd-accordion-bg-question:hover .bd-accordion-bg-question-text {\n text-decoration-line: none;\n }\n\n /* No ring on the trigger; see the note on .header:focus-visible in\n accordion.css.ts. The item draws it. */\n .bd-accordion-bg-question:focus-visible {\n outline: none;\n }\n\n .bd-accordion-bg-header {\n margin-bottom: var(--spacing-32);\n }\n\n .bd-accordion-bg-question-text {\n font-family: inherit;\n font-weight: inherit;\n font-size: inherit;\n }\n\n .bd-accordion-bg-title {\n margin-inline: auto;\n text-align: center;\n }\n\n .bd-accordion-bg-icon {\n width: var(--icon-sm-size);\n height: var(--icon-sm-size);\n min-width: var(--icon-sm-size);\n flex-shrink: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n /* the box holds an icon, not text; none collapses the leading to the\n glyph rather than reserving a text line around it */\n line-height: var(--typography-lineHeight-none);\n /* Safari reads only the prefixed property */\n -webkit-user-select: none;\n user-select: none;\n /* Derived, like accordion.css.ts's .toggle: half the difference between\n the first line box and the glyph. The 1.3 that stood here was a literal\n and it did not match this question's own leading -- the text is set at\n control-label-xl, whose line-height is tight (1.25) -- so the glyph sat\n below the optical centre of the type it is meant to align with. */\n margin-top: calc(\n (var(--typography-control-label-xl-lineHeight) * 1em - var(--icon-sm-size)) / 2\n );\n }\n\n /* A \".bd-accordion-bg-icon img\" rule stood here and could never match, for\n the same reason as accordion.css.ts's \".toggle img\": the icon is\n <bd-plus-icon> or <bd-minus-icon> with size and color as props, not an\n <img> this stylesheet can reach. Those props carry --color-text-brand for\n the reason accordion.css.ts records at the same rule. */\n\n /* A closed answer is [hidden]. The max-height: 0 / opacity: 0 that also\n hid it, and the 5000px / 1 that undid them when open, were a collapse\n animation transition: none had already switched off. */\n /* Indented past the icon, on the inline start where the icon is: these\n were four-value shorthands with the indent on the left, so on a\n right-to-left page the answer sat under nothing, a toggle's width away\n from the edge its question starts at. */\n .bd-accordion-bg-answer {\n overflow: hidden;\n padding-block: var(--spacing-0);\n padding-inline: calc(var(--icon-sm-size) + var(--spacing-12)) var(--spacing-0);\n background-color: transparent;\n font-family: var(--typography-fontFamily-sans);\n /* body-small: sm / normal / 1.5, which is what this already rendered on all\n three axes. Only the axes this rule declares are adopted -- the role also\n carries a family and a tracking, and importing those would change text\n the rule never spoke for. */\n font-size: var(--typography-body-small-fontSize);\n font-weight: var(--typography-body-small-fontWeight);\n line-height: var(--typography-body-small-lineHeight);\n /* -primary, the default ink. This said -secondary from the day it was\n written, and nothing ever argued for it: it arrived as a raw\n --color-neutral-700 and the token migration only renamed the step to\n whichever role carries that value. -secondary is for supporting copy\n UNDER a title; an answer is the payload of the disclosure, which is body\n copy, and every accordion panel already resolves to -primary. */\n color: var(--color-text-primary);\n }\n\n /* plain hidden only; see the note at .content[hidden] in accordion.css.ts */\n .bd-accordion-bg-answer[hidden]:not([hidden=\"until-found\" i]) {\n display: none !important;\n }\n\n .bd-accordion-bg-item.open .bd-accordion-bg-answer {\n padding-block: var(--spacing-0) var(--spacing-16);\n padding-inline: calc(var(--icon-sm-size) + var(--spacing-12)) var(--spacing-0);\n }\n\n ::slotted(p) {\n margin: var(--spacing-0);\n }\n\n /* A \".bd-accordion-bg-answer > div { overflow: hidden }\" rule stood here and\n could never match, and its reason differs from the icon rules above. The\n answer region contains a single <slot>, so its children in the SHADOW tree\n are the slot, not the consumer's markup -- a child combinator never reaches\n slotted content. ::slotted(div) would, and is deliberately not substituted:\n nothing has been clipping here, so turning the clip on now is a behaviour\n change to every accordion body, not a repair. */\n\n /* FAQ container — padding 64px top/bottom */\n .bd-accordion-bg-container {\n margin: auto;\n padding-top: var(--spacing-64);\n padding-bottom: var(--spacing-64);\n }\n\n .bd-accordion-bg-container.no-bg {\n background: none;\n }\n\n .bd-accordion-bg-container.no-padding {\n padding-top: 0;\n padding-bottom: 0;\n }\n\n /* Inner — the page column, centred */\n .bd-accordion-bg-inner {\n box-sizing: border-box;\n }\n\n .bd-accordion-bg-item.no-bg {\n background-color: transparent;\n border: none;\n }\n\n .bd-accordion-bg-item.no-bg .bd-accordion-bg-question {\n background-color: transparent;\n }\n\n .bd-accordion-bg-item.no-bg .bd-accordion-bg-answer {\n background-color: transparent;\n padding: 0 var(--spacing-40);\n }\n\n .bd-accordion-bg-item.no-bg.open .bd-accordion-bg-answer {\n padding: var(--spacing-16) var(--spacing-40);\n }\n\n .bd-accordion-bg-item.no-bg:hover {\n background-color: transparent;\n }\n\n .bd-accordion-bg-item.no-bg .bd-accordion-bg-question:hover .bd-accordion-bg-question-text {\n text-decoration-line: none;\n }\n\n /* A reader who asked for less motion was still getting the question colour. Twenty-three\n of the thirty animated directories in this package honour the query; this\n one did not. */\n @media (prefers-reduced-motion: reduce) {\n .bd-accordion-bg-question {\n transition: none;\n }\n }\n`;\n"]}
|
|
1
|
+
{"version":3,"file":"accordion-bg.css.js","names":["accordion_bg_css_default"],"sources":["../../../../src/components/accordion/accordion-bg.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n :host {\n display: block;\n }\n\n :host(bd-accordion-bg-item[data-variant=\"terms-of-use\"]) {\n background-color: transparent !important;\n border-radius: var(--radius-none);\n }\n\n /* The inline padding is on the item's .disclosure, not here: the focus\n ring is drawn on .disclosure (accordion.css.ts), and it has to go round\n the whole tinted card, not 16px inside it. */\n :host(bd-accordion-bg-item) {\n display: block;\n margin-bottom: var(--spacing-16);\n box-sizing: border-box;\n background-color: var(--status-brand-surface);\n border-radius: var(--shape-radius-lg);\n overflow: visible;\n }\n\n /* The ring is accordion.css.ts's .disclosure rule, which this element\n adopts, so there is one ring rule for the whole family and nothing here\n that could give one variant a different colour -- the divergence P5G\n found and P5G.1 closed stays closed by construction.\n\n What this sheet adds is shape, not colour. The ring follows the item's own\n corner: --radius-lg on the tinted FAQ item, which is right. The terms-of-use\n and no-bg items are transparent boxes with --radius-none, so their ring\n would be a hard rectangle, which Foundations/Focus says the ring should\n not be on an element with no shape of its own. They take the focus radius\n while focused. That changes no resting pixel -- these hosts paint no\n background and no border -- and it is the same radius the trigger used to\n take for the same reason. */\n :host(bd-accordion-bg-item[data-variant=\"terms-of-use\"]) .disclosure:has(> .header:focus-visible),\n :host(bd-accordion-bg-item[no-bg]) .disclosure:has(> .bd-accordion-bg-question:focus-visible) {\n border-radius: var(--focus-outline-radius);\n }\n\n /* The tinted card's inset, which the host carried until the ring moved to\n this element. The two transparent variants have none. */\n .disclosure.bd-accordion-bg-item {\n padding-inline: var(--spacing-16);\n }\n\n :host(bd-accordion-bg-item[no-bg]) .disclosure {\n padding-inline: 0;\n }\n\n :host(bd-accordion-bg-item[no-bg]) {\n margin-bottom: var(--spacing-16);\n background-color: transparent;\n border-radius: var(--radius-none);\n overflow: visible;\n }\n\n :host(bd-accordion-bg-item[no-bg]:last-of-type) {\n margin-bottom: 0;\n }\n\n /* bd-p in bd-accordion-bg — fara padding bottom */\n ::slotted(bd-p) {\n padding-bottom: 0;\n }\n\n ::slotted(bd-list) {\n --bd-li-margin-bottom: var(--spacing-16);\n display: block;\n margin-bottom: var(--spacing-16);\n }\n\n ::slotted(bd-list:last-child) {\n margin-bottom: 0;\n }\n\n ::slotted([slot=\"footer\"]) {\n display: block;\n padding-top: var(--spacing-16);\n font-style: italic;\n }\n /* No radius and no box-shadow transition of its own: this is the item's\n .disclosure, and it takes the host's corner so the focus ring does, and\n draws that ring at once, as the host did. */\n .bd-accordion-bg-item {\n margin-bottom: 0;\n background-color: transparent;\n overflow: visible;\n }\n\n .bd-accordion-bg-question {\n cursor: pointer;\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n gap: var(--spacing-12);\n width: 100%;\n padding: var(--spacing-16) 0;\n margin: 0;\n border: none;\n font: inherit;\n text-align: start;\n font-family: var(--typography-control-label-xl-fontFamily);\n font-size: var(--typography-control-label-xl-fontSize);\n font-weight: var(--typography-control-label-xl-fontWeight);\n line-height: var(--typography-control-label-xl-lineHeight);\n background-color: transparent;\n color: var(--color-text-primary);\n transition: color var(--transition-duration-normal) var(--transition-easing-smooth);\n }\n\n .bd-accordion-bg-question[aria-expanded=\"true\"] {\n /* 18px/600 on the blue-50 item ground — below WCAG large (18.66px bold),\n so it needs 4.5:1. blue-500 measured 4.20:1. */\n color: var(--color-text-brand);\n }\n\n .bd-accordion-bg-question[aria-expanded=\"false\"] {\n color: var(--color-text-primary);\n }\n\n .bd-accordion-bg-question:hover {\n color: var(--color-text-brand);\n }\n\n .bd-accordion-bg-question:hover .bd-accordion-bg-question-text {\n text-decoration-line: none;\n }\n\n /* No ring on the trigger; see the note on .header:focus-visible in\n accordion.css.ts. The item draws it. */\n .bd-accordion-bg-question:focus-visible {\n outline: none;\n }\n\n .bd-accordion-bg-header {\n margin-bottom: var(--spacing-32);\n }\n\n .bd-accordion-bg-question-text {\n font-family: inherit;\n font-weight: inherit;\n font-size: inherit;\n }\n\n .bd-accordion-bg-title {\n margin-inline: auto;\n text-align: center;\n }\n\n .bd-accordion-bg-icon {\n width: var(--icon-sm-size);\n height: var(--icon-sm-size);\n min-width: var(--icon-sm-size);\n flex-shrink: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n /* the box holds an icon, not text; none collapses the leading to the\n glyph rather than reserving a text line around it */\n line-height: var(--typography-lineHeight-none);\n /* Safari reads only the prefixed property */\n -webkit-user-select: none;\n user-select: none;\n /* Derived, like accordion.css.ts's .toggle: half the difference between\n the first line box and the glyph. The 1.3 that stood here was a literal\n and it did not match this question's own leading -- the text is set at\n control-label-xl, whose line-height is tight (1.25) -- so the glyph sat\n below the optical centre of the type it is meant to align with. */\n margin-top: calc(\n (var(--typography-control-label-xl-lineHeight) * 1em - var(--icon-sm-size)) / 2\n );\n }\n\n /* A \".bd-accordion-bg-icon img\" rule stood here and could never match, for\n the same reason as accordion.css.ts's \".toggle img\": the icon is\n <bd-plus-icon> or <bd-minus-icon> with size and color as props, not an\n <img> this stylesheet can reach. Those props carry --color-text-brand for\n the reason accordion.css.ts records at the same rule. */\n\n /* A closed answer is [hidden]. The max-height: 0 / opacity: 0 that also\n hid it, and the 5000px / 1 that undid them when open, were a collapse\n animation transition: none had already switched off. */\n /* Indented past the icon, on the inline start where the icon is: these\n were four-value shorthands with the indent on the left, so on a\n right-to-left page the answer sat under nothing, a toggle's width away\n from the edge its question starts at. */\n .bd-accordion-bg-answer {\n overflow: hidden;\n padding-block: var(--spacing-0);\n padding-inline: calc(var(--icon-sm-size) + var(--spacing-12)) var(--spacing-0);\n background-color: transparent;\n font-family: var(--typography-fontFamily-sans);\n /* body-small: sm / normal / 1.5, which is what this already rendered on all\n three axes. Only the axes this rule declares are adopted -- the role also\n carries a family and a tracking, and importing those would change text\n the rule never spoke for. */\n font-size: var(--typography-body-small-fontSize);\n font-weight: var(--typography-body-small-fontWeight);\n line-height: var(--typography-body-small-lineHeight);\n /* -primary, the default ink. This said -secondary from the day it was\n written, and nothing ever argued for it: it arrived as a raw\n --color-neutral-700 and the token migration only renamed the step to\n whichever role carries that value. -secondary is for supporting copy\n UNDER a title; an answer is the payload of the disclosure, which is body\n copy, and every accordion panel already resolves to -primary. */\n color: var(--color-text-primary);\n }\n\n /* plain hidden only; see the note at .content[hidden] in accordion.css.ts */\n .bd-accordion-bg-answer[hidden]:not([hidden=\"until-found\" i]) {\n display: none !important;\n }\n\n .bd-accordion-bg-item.open .bd-accordion-bg-answer {\n padding-block: var(--spacing-0) var(--spacing-16);\n padding-inline: calc(var(--icon-sm-size) + var(--spacing-12)) var(--spacing-0);\n }\n\n ::slotted(p) {\n margin: var(--spacing-0);\n }\n\n /* A \".bd-accordion-bg-answer > div { overflow: hidden }\" rule stood here and\n could never match, and its reason differs from the icon rules above. The\n answer region contains a single <slot>, so its children in the SHADOW tree\n are the slot, not the consumer's markup -- a child combinator never reaches\n slotted content. ::slotted(div) would, and is deliberately not substituted:\n nothing has been clipping here, so turning the clip on now is a behaviour\n change to every accordion body, not a repair. */\n\n /* FAQ container — padding 64px top/bottom */\n .bd-accordion-bg-container {\n margin: auto;\n padding-top: var(--spacing-64);\n padding-bottom: var(--spacing-64);\n }\n\n .bd-accordion-bg-container.no-bg {\n background: none;\n }\n\n .bd-accordion-bg-container.no-padding {\n padding-top: 0;\n padding-bottom: 0;\n }\n\n /* Inner — the page column, centred */\n .bd-accordion-bg-inner {\n box-sizing: border-box;\n }\n\n .bd-accordion-bg-item.no-bg {\n background-color: transparent;\n border: none;\n }\n\n .bd-accordion-bg-item.no-bg .bd-accordion-bg-question {\n background-color: transparent;\n }\n\n .bd-accordion-bg-item.no-bg .bd-accordion-bg-answer {\n background-color: transparent;\n padding: 0 var(--spacing-40);\n }\n\n .bd-accordion-bg-item.no-bg.open .bd-accordion-bg-answer {\n padding: var(--spacing-16) var(--spacing-40);\n }\n\n .bd-accordion-bg-item.no-bg:hover {\n background-color: transparent;\n }\n\n .bd-accordion-bg-item.no-bg .bd-accordion-bg-question:hover .bd-accordion-bg-question-text {\n text-decoration-line: none;\n }\n\n /* A reader who asked for less motion was still getting the question colour. Twenty-three\n of the thirty animated directories in this package honour the query; this\n one did not. */\n @media (prefers-reduced-motion: reduce) {\n .bd-accordion-bg-question {\n transition: none;\n }\n }\n`;\n"],"mappings":"A,0BAEA,IAAAA,EAAe,CAAG,iuI"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
import "../../tokens/tokens.
|
|
3
|
-
import "../heading/heading.
|
|
4
|
-
import "../icons/minus-icon.
|
|
5
|
-
import "../icons/plus-icon.
|
|
6
|
-
import "../paragraph/paragraph.
|
|
2
|
+
import "../../tokens/tokens.js";
|
|
3
|
+
import "../heading/heading.js";
|
|
4
|
+
import "../icons/minus-icon.js";
|
|
5
|
+
import "../icons/plus-icon.js";
|
|
6
|
+
import "../paragraph/paragraph.js";
|
|
7
7
|
type Variant = "default" | "faq" | "terms-of-use";
|
|
8
8
|
declare class BdAccordionBg extends LitElement {
|
|
9
9
|
title: string;
|