@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,88 +1,28 @@
|
|
|
1
|
-
var
|
|
2
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
-
};
|
|
7
|
-
import { LitElement, html } from "lit";
|
|
8
|
-
import { defineElement } from "../shared/define-element.js";
|
|
9
|
-
// Installs the design tokens into document scope; see src/tokens/tokens.ts
|
|
10
|
-
import "../../tokens/tokens.js";
|
|
11
|
-
import "../accordion/accordion.js";
|
|
12
|
-
import "../heading/heading.js";
|
|
13
|
-
import "../image/image.js";
|
|
14
|
-
import "../paragraph/paragraph.js";
|
|
15
|
-
import featuresCSS from "./features.css.js";
|
|
16
|
-
import { ensembleCSS } from "../shared/ensemble.css.js";
|
|
17
|
-
let BdFeatureCol = class BdFeatureCol extends HTMLElement {
|
|
18
|
-
};
|
|
19
|
-
BdFeatureCol = __decorate([
|
|
20
|
-
defineElement("bd-feature-col")
|
|
21
|
-
], BdFeatureCol);
|
|
22
|
-
/* The columns line up row by row -- icon, title, description, accordion --
|
|
23
|
-
because every column is a subgrid of the same four row tracks; see
|
|
24
|
-
features.css.ts. This used to be done here: a ResizeObserver, a wait for the
|
|
25
|
-
fonts, two pairs of animation frames and a px height written on every icon,
|
|
26
|
-
title and description, plus a min-height pinned to the first measurement. */
|
|
27
|
-
let BdFeatures = class BdFeatures extends LitElement {
|
|
28
|
-
static { this.styles = [ensembleCSS, featuresCSS]; }
|
|
29
|
-
_getCols() {
|
|
30
|
-
return Array.from(this.querySelectorAll(":scope > bd-feature-col"));
|
|
31
|
-
}
|
|
32
|
-
_renderCol(col) {
|
|
33
|
-
const descEl = col.querySelector("[slot='description']");
|
|
34
|
-
const iconEl = col.querySelector("[slot='icon']");
|
|
35
|
-
const accordionEl = col.querySelector("bd-accordion-section");
|
|
36
|
-
const title = col.getAttribute("title");
|
|
37
|
-
const iconSrc = col.getAttribute("icon-src");
|
|
38
|
-
const iconAlt = col.getAttribute("icon-alt") || "";
|
|
39
|
-
return html `
|
|
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"../heading/heading.js";import"../paragraph/paragraph.js";import{ensembleCSS as n}from"../shared/ensemble.css.js";import"../accordion/accordion.js";import"../image/image.js";import r from"./features.css.js";import{LitElement as i,html as a}from"lit";var o=class extends HTMLElement{};o=t([e(`bd-feature-col`)],o);var s=class extends i{static{this.styles=[n,r]}_getCols(){return Array.from(this.querySelectorAll(`:scope > bd-feature-col`))}_renderCol(e){let t=e.querySelector(`[slot='description']`),n=e.querySelector(`[slot='icon']`),r=e.querySelector(`bd-accordion-section`),i=e.getAttribute(`title`),o=e.getAttribute(`icon-src`),s=e.getAttribute(`icon-alt`)||``;return a`
|
|
40
2
|
<div class="bd-col">
|
|
41
3
|
<div class="col-icon-wrapper">
|
|
42
|
-
${
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
alt="${iconAlt}"
|
|
4
|
+
${o?a`<bd-img
|
|
5
|
+
src="${o}"
|
|
6
|
+
alt="${s}"
|
|
46
7
|
width="40"
|
|
47
8
|
height="40"
|
|
48
9
|
fit="contain"
|
|
49
10
|
radius="none"
|
|
50
11
|
shadow="none"
|
|
51
12
|
loading="lazy"
|
|
52
|
-
></bd-img
|
|
53
|
-
: iconEl
|
|
54
|
-
? iconEl.cloneNode(true)
|
|
55
|
-
: ""}
|
|
13
|
+
></bd-img>`:n?n.cloneNode(!0):``}
|
|
56
14
|
</div>
|
|
57
15
|
<div class="col-title-wrapper">
|
|
58
|
-
<bd-h as="h4">${
|
|
16
|
+
<bd-h as="h4">${i}</bd-h>
|
|
59
17
|
</div>
|
|
60
|
-
${
|
|
61
|
-
|
|
62
|
-
: ""}
|
|
63
|
-
${accordionEl
|
|
64
|
-
? (() => {
|
|
65
|
-
const clone = accordionEl.cloneNode(true);
|
|
66
|
-
clone.querySelectorAll("bd-accordion-item").forEach(item => {
|
|
67
|
-
item.style.setProperty("--bd-acc-header-margin-bottom", "var(--spacing-8)");
|
|
68
|
-
});
|
|
69
|
-
return clone;
|
|
70
|
-
})()
|
|
71
|
-
: ""}
|
|
18
|
+
${t?a`<div class="col-description"><bd-p variant="regular">${t.textContent}</bd-p></div>`:``}
|
|
19
|
+
${r?(()=>{let e=r.cloneNode(!0);return e.querySelectorAll(`bd-accordion-item`).forEach(e=>{e.style.setProperty(`--bd-acc-header-margin-bottom`,`var(--spacing-8)`)}),e})():``}
|
|
72
20
|
</div>
|
|
73
|
-
|
|
74
|
-
}
|
|
75
|
-
render() {
|
|
76
|
-
return html `
|
|
21
|
+
`}render(){return a`
|
|
77
22
|
<div class="bd-ensemble">
|
|
78
23
|
<div class="bd-features-container">
|
|
79
|
-
${this._getCols().map(
|
|
24
|
+
${this._getCols().map(e=>this._renderCol(e))}
|
|
80
25
|
</div>
|
|
81
26
|
</div>
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
BdFeatures = __decorate([
|
|
86
|
-
defineElement("bd-features")
|
|
87
|
-
], BdFeatures);
|
|
27
|
+
`}};s=t([e(`bd-features`)],s);
|
|
88
28
|
//# sourceMappingURL=features.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"features.js","
|
|
1
|
+
{"version":3,"file":"features.js","names":["_decorate","featuresCSS","__decorate","features_css_default","BdFeatureCol","defineElement","BdFeatures","LitElement","ensembleCSS","descEl","col","iconEl","accordionEl","title","iconSrc","iconAlt","clone","item"],"sources":["../../../../src/components/features/features.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"#components/accordion/accordion.ts\";\nimport \"#components/heading/heading.ts\";\nimport \"#components/image/image.ts\";\nimport \"#components/paragraph/paragraph.ts\";\nimport featuresCSS from \"./features.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\n\n@defineElement(\"bd-feature-col\")\nclass BdFeatureCol extends HTMLElement {}\n\n/* The columns line up row by row -- icon, title, description, accordion --\n because every column is a subgrid of the same four row tracks; see\n features.css.ts. This used to be done here: a ResizeObserver, a wait for the\n fonts, two pairs of animation frames and a px height written on every icon,\n title and description, plus a min-height pinned to the first measurement. */\n@defineElement(\"bd-features\")\nclass BdFeatures extends LitElement {\n static styles = [ensembleCSS, featuresCSS];\n\n _getCols() {\n return Array.from(this.querySelectorAll(\":scope > bd-feature-col\"));\n }\n\n _renderCol(col: Element) {\n const descEl = col.querySelector(\"[slot='description']\");\n const iconEl = col.querySelector(\"[slot='icon']\");\n const accordionEl = col.querySelector(\"bd-accordion-section\");\n const title = col.getAttribute(\"title\");\n const iconSrc = col.getAttribute(\"icon-src\");\n const iconAlt = col.getAttribute(\"icon-alt\") || \"\";\n\n return html`\n <div class=\"bd-col\">\n <div class=\"col-icon-wrapper\">\n ${iconSrc\n ? html`<bd-img\n src=\"${iconSrc}\"\n alt=\"${iconAlt}\"\n width=\"40\"\n height=\"40\"\n fit=\"contain\"\n radius=\"none\"\n shadow=\"none\"\n loading=\"lazy\"\n ></bd-img>`\n : iconEl\n ? iconEl.cloneNode(true)\n : \"\"}\n </div>\n <div class=\"col-title-wrapper\">\n <bd-h as=\"h4\">${title}</bd-h>\n </div>\n ${descEl\n ? html`<div class=\"col-description\"><bd-p variant=\"regular\">${descEl.textContent}</bd-p></div>`\n : \"\"}\n ${accordionEl\n ? (() => {\n const clone = accordionEl.cloneNode(true) as typeof accordionEl;\n clone.querySelectorAll<HTMLElement>(\"bd-accordion-item\").forEach(item => {\n item.style.setProperty(\"--bd-acc-header-margin-bottom\", \"var(--spacing-8)\");\n });\n return clone;\n })()\n : \"\"}\n </div>\n `;\n }\n\n render() {\n return html`\n <div class=\"bd-ensemble\">\n <div class=\"bd-features-container\">\n ${this._getCols().map(col => this._renderCol(col))}\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-feature-col\": BdFeatureCol;\n \"bd-features\" : BdFeatures;\n }\n}"],"mappings":"A,qaAWA,IACMI,EADN,cAC2B,WAAY,CAAC,EADvC,EAAAJ,EAAA,CAAAK,EAAc,gBAAgB,CAAA,EAAAD,CAAA,EAQ/B,IACME,EADN,cACyBC,CAAW,C,OAClB,KAAA,OAAA,CAACC,EAAaP,CAAW,C,CAEzC,UAAW,CACT,OAAO,MAAM,KAAK,KAAK,iBAAiB,yBAAyB,CAAC,CACpE,CAEA,WAAW,EAAc,CACvB,IAAMQ,EAAcC,EAAI,cAAc,sBAAsB,EACtDC,EAAcD,EAAI,cAAc,eAAe,EAC/CE,EAAcF,EAAI,cAAc,sBAAsB,EACtDG,EAAcH,EAAI,aAAa,OAAO,EACtCI,EAAcJ,EAAI,aAAa,UAAU,EACzCK,EAAcL,EAAI,aAAa,UAAU,GAAK,GAEpD,MAAO,EAAI;;;YAGHI,EACE,CAAI;uBACKA,EAAQ;uBACRC,EAAQ;;;;;;;0BAQjBJ,EACEA,EAAO,UAAU,EAAI,EACrB,GAAG;;;0BAGOE,EAAM;;UAEtBJ,EACE,CAAI,wDAAwDA,EAAO,YAAY,eAC/E,GAAG;UACLG,OACS,CACP,IAAMI,EAAQJ,EAAY,UAAU,EAAI,EAIxC,OAHAI,EAAM,iBAA8B,mBAAmB,CAAC,CAAC,QAAQ,GAAQ,CACvEC,EAAK,MAAM,YAAY,gCAAiC,kBAAkB,CAC5E,CAAC,EACMD,CACT,EAAA,CAAG,EACD,GAAG;;KAGb,CAEA,QAAS,CACP,MAAO,EAAI;;;UAGL,KAAK,SAAS,CAAC,CAAC,IAAI,GAAO,KAAK,WAAWN,CAAG,CAAC,EAAE;;;KAIzD,CACF,EA9DC,EAAAV,EAAA,CAAAK,EAAc,aAAa,CAAA,EAAAC,CAAA"}
|
|
@@ -1,101 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { below } from "../shared/token-scales.js";
|
|
3
|
-
export default css `
|
|
4
|
-
:host {
|
|
5
|
-
display: block;
|
|
6
|
-
width: 100%;
|
|
7
|
-
box-sizing: border-box;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.bd-features-tab-container {
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: center;
|
|
13
|
-
gap: var(--spacing-64);
|
|
14
|
-
width: 100%;
|
|
15
|
-
/* slow, not 350ms: a 50ms difference nobody chose, on a one-shot
|
|
16
|
-
entrance that is not repeated. */
|
|
17
|
-
animation: bd-fade-slide-right var(--transition-duration-slow) var(--transition-easing-ease) forwards;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.bd-features-tab-left {
|
|
21
|
-
flex: 1;
|
|
22
|
-
display: flex;
|
|
23
|
-
flex-direction: column;
|
|
24
|
-
align-items: flex-start;
|
|
25
|
-
gap: var(--spacing-24);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.bd-features-tab-content {
|
|
29
|
-
display: flex;
|
|
30
|
-
flex-direction: column;
|
|
31
|
-
gap: var(--spacing-8);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.bd-features-tab-right {
|
|
35
|
-
flex: 1;
|
|
36
|
-
display: flex;
|
|
37
|
-
align-items: center;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
::slotted([slot="heading"]) {
|
|
42
|
-
margin: 0;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
::slotted([slot="media"]) {
|
|
46
|
-
width: 100%;
|
|
47
|
-
max-width: 520px;
|
|
48
|
-
height: auto;
|
|
49
|
-
border-radius: var(--shape-radius-lg);
|
|
50
|
-
display: block;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
/* The entrance is skipped rather than shortened. Its first frame is
|
|
54
|
-
opacity 0 and a 24px offset, so under reduced motion the container simply
|
|
55
|
-
renders where it belongs, fully opaque: it declares no opacity of its own,
|
|
56
|
-
and none is what the keyframes stop supplying. Content is present
|
|
57
|
-
immediately rather than waiting to be revealed. */
|
|
58
|
-
@media (prefers-reduced-motion: reduce) {
|
|
59
|
-
.bd-features-tab-container {
|
|
60
|
-
animation: none;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@keyframes bd-fade-slide-right {
|
|
65
|
-
from {
|
|
66
|
-
opacity: 0;
|
|
67
|
-
transform: translateX(24px);
|
|
68
|
-
}
|
|
69
|
-
to {
|
|
70
|
-
opacity: 1;
|
|
71
|
-
transform: translateX(0);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
@media ${unsafeCSS(below('lg'))} {
|
|
76
|
-
.bd-features-tab-container {
|
|
77
|
-
flex-direction: column-reverse;
|
|
78
|
-
gap: var(--spacing-32);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.bd-features-tab-container.bd-features-tab-reverse {
|
|
82
|
-
flex-direction: column-reverse;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.bd-features-tab-left {
|
|
86
|
-
align-items: center;
|
|
87
|
-
text-align: center;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
::slotted([slot="media"]) {
|
|
91
|
-
max-width: 100%;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
@media ${unsafeCSS(below('sm'))} {
|
|
96
|
-
.bd-features-tab-container {
|
|
97
|
-
gap: var(--spacing-24);
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
`;
|
|
1
|
+
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{box-sizing:border-box;width:100%;display:block}.bd-features-tab-container{align-items:center;gap:var(--spacing-64);width:100%;animation:bd-fade-slide-right var(--transition-duration-slow) var(--transition-easing-ease) forwards;display:flex}.bd-features-tab-left{align-items:flex-start;gap:var(--spacing-24);flex-direction:column;flex:1;display:flex}.bd-features-tab-content{gap:var(--spacing-8);flex-direction:column;display:flex}.bd-features-tab-right{flex:1;justify-content:center;align-items:center;display:flex}::slotted([slot=heading]){margin:0}::slotted([slot=media]){border-radius:var(--shape-radius-lg);width:100%;max-width:520px;height:auto;display:block}@media (prefers-reduced-motion:reduce){.bd-features-tab-container{animation:none}}@keyframes bd-fade-slide-right{0%{opacity:0;transform:translate(24px)}to{opacity:1;transform:translate(0)}}@media (width<992px){.bd-features-tab-container{gap:var(--spacing-32);flex-direction:column-reverse}.bd-features-tab-container.bd-features-tab-reverse{flex-direction:column-reverse}.bd-features-tab-left{text-align:center;align-items:center}::slotted([slot=media]){max-width:100%}}@media (width<576px){.bd-features-tab-container{gap:var(--spacing-24)}}`;export{t as default};
|
|
101
2
|
//# sourceMappingURL=features-tab.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"features-tab.css.js","
|
|
1
|
+
{"version":3,"file":"features-tab.css.js","names":["features_tab_css_default"],"sources":["../../../../src/components/features-tab/features-tab.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 width: 100%;\n box-sizing: border-box;\n }\n\n .bd-features-tab-container {\n display: flex;\n align-items: center;\n gap: var(--spacing-64);\n width: 100%;\n /* slow, not 350ms: a 50ms difference nobody chose, on a one-shot\n entrance that is not repeated. */\n animation: bd-fade-slide-right var(--transition-duration-slow) var(--transition-easing-ease) forwards;\n }\n\n .bd-features-tab-left {\n flex: 1;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: var(--spacing-24);\n }\n\n .bd-features-tab-content {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-8);\n }\n\n .bd-features-tab-right {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n ::slotted([slot=\"heading\"]) {\n margin: 0;\n }\n\n ::slotted([slot=\"media\"]) {\n width: 100%;\n max-width: 520px;\n height: auto;\n border-radius: var(--shape-radius-lg);\n display: block;\n }\n\n /* The entrance is skipped rather than shortened. Its first frame is\n opacity 0 and a 24px offset, so under reduced motion the container simply\n renders where it belongs, fully opaque: it declares no opacity of its own,\n and none is what the keyframes stop supplying. Content is present\n immediately rather than waiting to be revealed. */\n @media (prefers-reduced-motion: reduce) {\n .bd-features-tab-container {\n animation: none;\n }\n }\n\n @keyframes bd-fade-slide-right {\n from {\n opacity: 0;\n transform: translateX(24px);\n }\n to {\n opacity: 1;\n transform: translateX(0);\n }\n }\n\n @media ${unsafeCSS(below('lg'))} {\n .bd-features-tab-container {\n flex-direction: column-reverse;\n gap: var(--spacing-32);\n }\n\n .bd-features-tab-container.bd-features-tab-reverse {\n flex-direction: column-reverse;\n }\n\n .bd-features-tab-left {\n align-items: center;\n text-align: center;\n }\n\n ::slotted([slot=\"media\"]) {\n max-width: 100%;\n }\n }\n\n @media ${unsafeCSS(below('sm'))} {\n .bd-features-tab-container {\n gap: var(--spacing-24);\n }\n }\n`;"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,6rC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
import "../../tokens/tokens.
|
|
3
|
-
import "../button/button.
|
|
4
|
-
import "../heading/heading.
|
|
5
|
-
import "../paragraph/paragraph.
|
|
6
|
-
import "../video-player/video-player.
|
|
2
|
+
import "../../tokens/tokens.js";
|
|
3
|
+
import "../button/button.js";
|
|
4
|
+
import "../heading/heading.js";
|
|
5
|
+
import "../paragraph/paragraph.js";
|
|
6
|
+
import "../video-player/video-player.js";
|
|
7
7
|
declare class BdFeaturesTab extends LitElement {
|
|
8
8
|
static styles: import("lit").CSSResult[];
|
|
9
9
|
ctaLabel: string;
|
|
@@ -1,44 +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 } from "lit";
|
|
8
|
-
import { property } from "lit/decorators.js";
|
|
9
|
-
import { defineElement } from "../shared/define-element.js";
|
|
10
|
-
// Installs the design tokens into document scope; see src/tokens/tokens.ts
|
|
11
|
-
import "../../tokens/tokens.js";
|
|
12
|
-
import "../button/button.js";
|
|
13
|
-
import "../heading/heading.js";
|
|
14
|
-
import "../paragraph/paragraph.js";
|
|
15
|
-
import "../video-player/video-player.js";
|
|
16
|
-
import featuresTabCSS from "./features-tab.css.js";
|
|
17
|
-
import { ensembleCSS } from "../shared/ensemble.css.js";
|
|
18
|
-
let BdFeaturesTab = class BdFeaturesTab extends LitElement {
|
|
19
|
-
constructor() {
|
|
20
|
-
super(...arguments);
|
|
21
|
-
this.ctaLabel = "";
|
|
22
|
-
this.ctaHref = "#";
|
|
23
|
-
this.ctaKind = "danger";
|
|
24
|
-
// empty leaves bd-button-link on its responsive default
|
|
25
|
-
this.ctaSize = "";
|
|
26
|
-
this.reverse = false;
|
|
27
|
-
}
|
|
28
|
-
static { this.styles = [ensembleCSS, featuresTabCSS]; }
|
|
29
|
-
render() {
|
|
30
|
-
const hasCtaSlot = this.querySelector("[slot='cta']");
|
|
31
|
-
const hasMediaSlot = this.querySelector("[slot='media']");
|
|
32
|
-
const leftContent = html `
|
|
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"../heading/heading.js";import"../paragraph/paragraph.js";import{ensembleCSS as n}from"../shared/ensemble.css.js";import"../button/button.js";import r from"./features-tab.css.js";import"../video-player/video-player.js";import{LitElement as i,html as a}from"lit";import{property as o}from"lit/decorators.js";var s=class extends i{constructor(...e){super(...e),this.ctaLabel=``,this.ctaHref=`#`,this.ctaKind=`danger`,this.ctaSize=``,this.reverse=!1}static{this.styles=[n,r]}render(){let e=this.querySelector(`[slot='cta']`),t=this.querySelector(`[slot='media']`),n=a`
|
|
33
2
|
<div class="bd-features-tab-left">
|
|
34
3
|
<slot name="heading"></slot>
|
|
35
4
|
<div class="bd-features-tab-content">
|
|
36
5
|
<slot name="content"></slot>
|
|
37
6
|
</div>
|
|
38
|
-
${
|
|
39
|
-
? html `<slot name="cta"></slot>`
|
|
40
|
-
: this.ctaLabel
|
|
41
|
-
? html `
|
|
7
|
+
${e?a`<slot name="cta"></slot>`:this.ctaLabel?a`
|
|
42
8
|
<bd-button-link
|
|
43
9
|
href="${this.ctaHref}"
|
|
44
10
|
variant="${this.ctaKind}"
|
|
@@ -46,42 +12,15 @@ let BdFeaturesTab = class BdFeaturesTab extends LitElement {
|
|
|
46
12
|
label="${this.ctaLabel}"
|
|
47
13
|
>
|
|
48
14
|
${this.ctaLabel}
|
|
49
|
-
</bd-button-link
|
|
50
|
-
: ""}
|
|
15
|
+
</bd-button-link>`:``}
|
|
51
16
|
</div>
|
|
52
|
-
|
|
53
|
-
const rightContent = html `
|
|
17
|
+
`,r=a`
|
|
54
18
|
<div class="bd-features-tab-right">
|
|
55
|
-
${
|
|
56
|
-
? html `<slot name="media"></slot>`
|
|
57
|
-
: ""}
|
|
19
|
+
${t?a`<slot name="media"></slot>`:``}
|
|
58
20
|
</div>
|
|
59
|
-
`;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
${this.reverse
|
|
63
|
-
? html `${rightContent}${leftContent}`
|
|
64
|
-
: html `${leftContent}${rightContent}`}
|
|
21
|
+
`;return a`
|
|
22
|
+
<div class="bd-ensemble bd-features-tab-container ${this.reverse?`bd-features-tab-reverse`:``}">
|
|
23
|
+
${this.reverse?a`${r}${n}`:a`${n}${r}`}
|
|
65
24
|
</div>
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
__decorate([
|
|
70
|
-
property({ type: String, attribute: "cta-label" })
|
|
71
|
-
], BdFeaturesTab.prototype, "ctaLabel", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
property({ type: String, attribute: "cta-href" })
|
|
74
|
-
], BdFeaturesTab.prototype, "ctaHref", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
property({ type: String, attribute: "cta-kind" })
|
|
77
|
-
], BdFeaturesTab.prototype, "ctaKind", void 0);
|
|
78
|
-
__decorate([
|
|
79
|
-
property({ type: String, attribute: "cta-size" })
|
|
80
|
-
], BdFeaturesTab.prototype, "ctaSize", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
property({ type: Boolean, reflect: true })
|
|
83
|
-
], BdFeaturesTab.prototype, "reverse", void 0);
|
|
84
|
-
BdFeaturesTab = __decorate([
|
|
85
|
-
defineElement("bd-features-tab")
|
|
86
|
-
], BdFeaturesTab);
|
|
25
|
+
`}};t([o({type:String,attribute:`cta-label`})],s.prototype,`ctaLabel`,void 0),t([o({type:String,attribute:`cta-href`})],s.prototype,`ctaHref`,void 0),t([o({type:String,attribute:`cta-kind`})],s.prototype,`ctaKind`,void 0),t([o({type:String,attribute:`cta-size`})],s.prototype,`ctaSize`,void 0),t([o({type:Boolean,reflect:!0})],s.prototype,`reverse`,void 0),s=t([e(`bd-features-tab`)],s);
|
|
87
26
|
//# sourceMappingURL=features-tab.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"features-tab.js","
|
|
1
|
+
{"version":3,"file":"features-tab.js","names":["featuresTabCSS","_decorate","__decorate","features_tab_css_default","BdFeaturesTab","LitElement","_args","ensembleCSS","hasCtaSlot","hasMediaSlot","leftContent","rightContent","property","defineElement"],"sources":["../../../../src/components/features-tab/features-tab.ts"],"sourcesContent":["import { LitElement, html } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport \"#components/button/button.ts\";\nimport \"#components/heading/heading.ts\";\nimport \"#components/paragraph/paragraph.ts\";\nimport \"#components/video-player/video-player.ts\";\nimport featuresTabCSS from \"./features-tab.css.ts\";\nimport { ensembleCSS } from \"#shared/ensemble.css.ts\";\n\n@defineElement(\"bd-features-tab\")\nclass BdFeaturesTab extends LitElement {\n static styles = [ensembleCSS, featuresTabCSS];\n\n @property({ type: String, attribute: \"cta-label\" })\n ctaLabel = \"\";\n @property({ type: String, attribute: \"cta-href\" })\n ctaHref = \"#\";\n @property({ type: String, attribute: \"cta-kind\" })\n ctaKind = \"danger\";\n // empty leaves bd-button-link on its responsive default\n @property({ type: String, attribute: \"cta-size\" })\n ctaSize = \"\";\n @property({ type: Boolean, reflect: true })\n reverse = false;\n\n render() {\n const hasCtaSlot = this.querySelector(\"[slot='cta']\");\n const hasMediaSlot = this.querySelector(\"[slot='media']\");\n\n const leftContent = html`\n <div class=\"bd-features-tab-left\">\n <slot name=\"heading\"></slot>\n <div class=\"bd-features-tab-content\">\n <slot name=\"content\"></slot>\n </div>\n ${hasCtaSlot\n ? html`<slot name=\"cta\"></slot>`\n : this.ctaLabel\n ? html`\n <bd-button-link\n href=\"${this.ctaHref}\"\n variant=\"${this.ctaKind}\"\n size=\"${this.ctaSize}\"\n label=\"${this.ctaLabel}\"\n >\n ${this.ctaLabel}\n </bd-button-link>`\n : \"\"}\n </div>\n `;\n\n const rightContent = html`\n <div class=\"bd-features-tab-right\">\n ${hasMediaSlot\n ? html`<slot name=\"media\"></slot>`\n : \"\"}\n </div>\n `;\n\n return html`\n <div class=\"bd-ensemble bd-features-tab-container ${this.reverse ? \"bd-features-tab-reverse\" : \"\"}\">\n ${this.reverse\n ? html`${rightContent}${leftContent}`\n : html`${leftContent}${rightContent}`}\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-features-tab\": BdFeaturesTab;\n }\n}"],"mappings":"A,8dAYA,IACMI,EADN,cAC4BC,CAAW,C,8BAI1B,KAAA,SAAA,GAED,KAAA,QAAA,IAEA,KAAA,QAAA,SAGA,KAAA,QAAA,GAEA,KAAA,QAAA,E,QAZM,KAAA,OAAA,CAACE,EAAaP,CAAc,C,CAc5C,QAAS,CACP,IAAMQ,EAAe,KAAK,cAAc,cAAc,EAChDC,EAAe,KAAK,cAAc,gBAAgB,EAElDC,EAAc,CAAI;;;;;;UAMlBF,EACE,CAAI,2BACJ,KAAK,SACH,CAAI;;0BAEQ,KAAK,QAAQ;6BACV,KAAK,QAAQ;0BAChB,KAAK,QAAQ;2BACZ,KAAK,SAAS;;oBAErB,KAAK,SAAS;mCAEpB,GAAG;;MAIPG,EAAe,CAAI;;UAEnBF,EACE,CAAI,6BACJ,GAAG;;MAIX,MAAO,EAAI;0DAC2C,KAAK,QAAU,0BAA4B,GAAG;UAC9F,KAAK,QACH,CAAI,GAAGE,IAAeD,IACtB,CAAI,GAAGA,IAAcC,IAAe;;KAG9C,CACF,EAtDGV,EAAA,CAAAW,EAAS,CAAE,KAAM,OAAQ,UAAW,WAAY,CAAC,CAAA,EAAAR,EAAA,UAAA,WAAA,IAAA,EAAA,EAEjDH,EAAA,CAAAW,EAAS,CAAE,KAAM,OAAQ,UAAW,UAAW,CAAC,CAAA,EAAAR,EAAA,UAAA,UAAA,IAAA,EAAA,EAEhDH,EAAA,CAAAW,EAAS,CAAE,KAAM,OAAQ,UAAW,UAAW,CAAC,CAAA,EAAAR,EAAA,UAAA,UAAA,IAAA,EAAA,EAGhDH,EAAA,CAAAW,EAAS,CAAE,KAAM,OAAQ,UAAW,UAAW,CAAC,CAAA,EAAAR,EAAA,UAAA,UAAA,IAAA,EAAA,EAEhDH,EAAA,CAAAW,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,CAAA,EAAAR,EAAA,UAAA,UAAA,IAAA,EAAA,EAb3C,EAAAH,EAAA,CAAAY,EAAc,iBAAiB,CAAA,EAAAT,CAAA"}
|
|
@@ -1,29 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
/** Styled entirely from design tokens — see npm run lint:tokens. */
|
|
3
|
-
export const fieldsetCSS = css `
|
|
4
|
-
:host { display: block; }
|
|
5
|
-
|
|
6
|
-
fieldset {
|
|
7
|
-
margin: 0;
|
|
8
|
-
padding: var(--spacing-16);
|
|
9
|
-
border: var(--border-width-1) solid var(--color-border-subtle);
|
|
10
|
-
border-radius: var(--shape-radius-md);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
legend {
|
|
14
|
-
padding: 0 var(--spacing-8);
|
|
15
|
-
font-family: var(--form-label-large-fontFamily);
|
|
16
|
-
font-size: var(--form-label-large-fontSize);
|
|
17
|
-
font-weight: var(--form-label-large-fontWeight);
|
|
18
|
-
line-height: var(--form-label-large-lineHeight);
|
|
19
|
-
color: var(--form-label-large-color);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.fields {
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
gap: var(--form-fieldSpacing);
|
|
26
|
-
}
|
|
27
|
-
`;
|
|
28
|
-
export default fieldsetCSS;
|
|
1
|
+
import{css as e}from"lit";var t=e`:host{display:block}fieldset{padding:var(--spacing-16);border:var(--border-width-1) solid var(--color-border-subtle);border-radius:var(--shape-radius-md);margin:0}legend{padding:0 var(--spacing-8);font-family:var(--form-label-large-fontFamily);font-size:var(--form-label-large-fontSize);font-weight:var(--form-label-large-fontWeight);line-height:var(--form-label-large-lineHeight);color:var(--form-label-large-color)}.fields{gap:var(--form-fieldSpacing);flex-direction:column;display:flex}`;export{t as default,t as fieldsetCSS};
|
|
29
2
|
//# sourceMappingURL=fieldset.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fieldset.css.js","
|
|
1
|
+
{"version":3,"file":"fieldset.css.js","names":["fieldsetCSS"],"sources":["../../../../src/components/fieldset/fieldset.css.ts"],"sourcesContent":["import { css } from 'lit';\n\n/** Styled entirely from design tokens — see npm run lint:tokens. */\nexport const fieldsetCSS = css`\n :host { display: block; }\n\n fieldset {\n margin: 0;\n padding: var(--spacing-16);\n border: var(--border-width-1) solid var(--color-border-subtle);\n border-radius: var(--shape-radius-md);\n }\n\n legend {\n padding: 0 var(--spacing-8);\n font-family: var(--form-label-large-fontFamily);\n font-size: var(--form-label-large-fontSize);\n font-weight: var(--form-label-large-fontWeight);\n line-height: var(--form-label-large-lineHeight);\n color: var(--form-label-large-color);\n }\n\n .fields {\n display: flex;\n flex-direction: column;\n gap: var(--form-fieldSpacing);\n }\n`;\n\nexport default fieldsetCSS;\n"],"mappings":"A,0BAGA,IAAaA,EAAc,CAAG,4e"}
|
|
@@ -1,35 +1,7 @@
|
|
|
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
|
-
// Installs the design tokens into document scope; see src/tokens/tokens.ts
|
|
11
|
-
import "../../tokens/tokens.js";
|
|
12
|
-
import { fieldsetCSS } from "./fieldset.css.js";
|
|
13
|
-
let BdFieldset = class BdFieldset extends LitElement {
|
|
14
|
-
constructor() {
|
|
15
|
-
super(...arguments);
|
|
16
|
-
this.legend = '';
|
|
17
|
-
}
|
|
18
|
-
static { this.styles = [fieldsetCSS]; }
|
|
19
|
-
render() {
|
|
20
|
-
return html `
|
|
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 n from"./fieldset.css.js";import{LitElement as r,html as i,nothing as a}from"lit";import{property as o}from"lit/decorators.js";var s=class extends r{constructor(...e){super(...e),this.legend=``}static{this.styles=[n]}render(){return i`
|
|
21
2
|
<fieldset>
|
|
22
|
-
${this.legend
|
|
3
|
+
${this.legend?i`<legend>${this.legend}</legend>`:a}
|
|
23
4
|
<div class="fields"><slot></slot></div>
|
|
24
5
|
</fieldset>
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
__decorate([
|
|
29
|
-
property({ type: String })
|
|
30
|
-
], BdFieldset.prototype, "legend", void 0);
|
|
31
|
-
BdFieldset = __decorate([
|
|
32
|
-
defineElement('bd-fieldset')
|
|
33
|
-
], BdFieldset);
|
|
34
|
-
export { BdFieldset };
|
|
6
|
+
`}};t([o({type:String})],s.prototype,`legend`,void 0),s=t([e(`bd-fieldset`)],s);export{s as BdFieldset};
|
|
35
7
|
//# sourceMappingURL=fieldset.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fieldset.js","
|
|
1
|
+
{"version":3,"file":"fieldset.js","names":["_decorate","__decorate","fieldsetCSS","BdFieldset","LitElement","_args","nothing","property","defineElement"],"sources":["../../../../src/components/fieldset/fieldset.ts"],"sourcesContent":["import { LitElement, html, nothing } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { defineElement } from '#shared/define-element.ts';\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport '#tokens/tokens.ts';\nimport { fieldsetCSS } from './fieldset.css.ts';\n\n@defineElement('bd-fieldset')\nexport class BdFieldset extends LitElement {\n static styles = [fieldsetCSS];\n\n @property({ type: String })\n legend = '';\n\n render() {\n return html`\n <fieldset>\n ${this.legend ? html`<legend>${this.legend}</legend>` : nothing}\n <div class=\"fields\"><slot></slot></div>\n </fieldset>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'bd-fieldset': BdFieldset;\n }\n}\n"],"mappings":"A,2SAQO,IAAMG,EAAN,cAAyBC,CAAW,C,8BAIhC,KAAA,OAAA,E,QAHO,KAAA,OAAA,CAACF,CAAW,C,CAK5B,QAAS,CACP,MAAO,EAAI;;UAEL,KAAK,OAAS,CAAI,WAAW,KAAK,OAAO,WAAaI,EAAQ;;;KAItE,CACF,EAXGN,EAAA,CAAAO,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAJ,EAAA,UAAA,SAAA,IAAA,EAAA,EAJ3B,EAAAH,EAAA,CAAAQ,EAAc,aAAa,CAAA,EAAAL,CAAA,E"}
|
|
@@ -1,31 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
/* The default images bd-footer and bd-footer-lp render when a page slots none.
|
|
4
|
-
|
|
5
|
-
The phone versions are art direction, so they are <source media> in a
|
|
6
|
-
<picture>: the browser picks one before it fetches anything. The footers
|
|
7
|
-
used to pick in script, from a matchMedia flag, which fetched the desktop
|
|
8
|
-
file first on every phone and swapped it on the first update.
|
|
9
|
-
|
|
10
|
-
Each candidate states its own size, so the box is reserved before the bytes
|
|
11
|
-
arrive, and all of them are lazy: a footer is the end of the page.
|
|
12
|
-
|
|
13
|
-
The wordmark is the brand's name. The masterbrand lockup beside it is the B
|
|
14
|
-
with "Trusted. Always.", so that is its text: naming the brand a second time
|
|
15
|
-
("Bitdefender Logo", "Bitdefender Masterbrand") read it out twice. The ANPC
|
|
16
|
-
badge is the Romanian consumer authority's alternative dispute resolution
|
|
17
|
-
mark, named as it reads, in Romanian. */
|
|
18
|
-
const mobile = below('md');
|
|
19
|
-
export const footerLogo = html `<img src="/assets/BD_logo.png" alt="Bitdefender" width="174" height="24" loading="lazy">`;
|
|
20
|
-
/* No whitespace between the tags: a <picture> is inline, and a space inside
|
|
21
|
-
it would be a space in the line beside the image. */
|
|
22
|
-
export const footerMasterbrand = html `<picture><source
|
|
23
|
-
media="${mobile}" srcset="/assets/Bitdefender-Masterbrand_mobile.png" width="48" height="48"><img
|
|
1
|
+
import{below as e}from"../shared/token-scales.js";import{html as t}from"lit";var n=e(`md`),r=t`<img src="/assets/BD_logo.png" alt="Bitdefender" width="174" height="24" loading="lazy">`,i=t`<picture><source
|
|
2
|
+
media="${n}" srcset="/assets/Bitdefender-Masterbrand_mobile.png" width="48" height="48"><img
|
|
24
3
|
src="/assets/Bitdefender-Masterbrand.png" alt="Trusted. Always." width="138" height="48" loading="lazy"
|
|
25
|
-
></picture
|
|
26
|
-
|
|
27
|
-
media="${mobile}" srcset="/assets/anpc_mobile.png" width="143" height="36"><img
|
|
4
|
+
></picture>`,a=t`<picture><source
|
|
5
|
+
media="${n}" srcset="/assets/anpc_mobile.png" width="143" height="36"><img
|
|
28
6
|
src="/assets/anpc.png" alt="ANPC – Soluționarea alternativă a litigiilor" lang="ro" width="106" height="28"
|
|
29
7
|
loading="lazy"
|
|
30
|
-
></picture>`;
|
|
8
|
+
></picture>`;export{a as footerAnpc,r as footerLogo,i as footerMasterbrand};
|
|
31
9
|
//# sourceMappingURL=footer-images.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer-images.js","
|
|
1
|
+
{"version":3,"file":"footer-images.js","names":["mobile","below","footerLogo","footerMasterbrand","footerAnpc"],"sources":["../../../../src/components/footer/footer-images.ts"],"sourcesContent":["import { html } from 'lit';\nimport { below } from '#shared/token-scales.ts';\n\n/* The default images bd-footer and bd-footer-lp render when a page slots none.\n\n The phone versions are art direction, so they are <source media> in a\n <picture>: the browser picks one before it fetches anything. The footers\n used to pick in script, from a matchMedia flag, which fetched the desktop\n file first on every phone and swapped it on the first update.\n\n Each candidate states its own size, so the box is reserved before the bytes\n arrive, and all of them are lazy: a footer is the end of the page.\n\n The wordmark is the brand's name. The masterbrand lockup beside it is the B\n with \"Trusted. Always.\", so that is its text: naming the brand a second time\n (\"Bitdefender Logo\", \"Bitdefender Masterbrand\") read it out twice. The ANPC\n badge is the Romanian consumer authority's alternative dispute resolution\n mark, named as it reads, in Romanian. */\nconst mobile = below('md');\n\nexport const footerLogo = html`<img src=\"/assets/BD_logo.png\" alt=\"Bitdefender\" width=\"174\" height=\"24\" loading=\"lazy\">`;\n\n/* No whitespace between the tags: a <picture> is inline, and a space inside\n it would be a space in the line beside the image. */\nexport const footerMasterbrand = html`<picture><source\n media=\"${mobile}\" srcset=\"/assets/Bitdefender-Masterbrand_mobile.png\" width=\"48\" height=\"48\"><img\n src=\"/assets/Bitdefender-Masterbrand.png\" alt=\"Trusted. Always.\" width=\"138\" height=\"48\" loading=\"lazy\"\n></picture>`;\n\nexport const footerAnpc = html`<picture><source\n media=\"${mobile}\" srcset=\"/assets/anpc_mobile.png\" width=\"143\" height=\"36\"><img\n src=\"/assets/anpc.png\" alt=\"ANPC – Soluționarea alternativă a litigiilor\" lang=\"ro\" width=\"106\" height=\"28\"\n loading=\"lazy\"\n></picture>`;\n"],"mappings":"A,6EAkBA,IAAMA,EAASC,EAAM,IAAI,EAEZC,EAAa,CAAI,2FAIjBC,EAAoB,CAAI;WAC1BH,EAAO;;aAILI,EAAa,CAAI;WACnBJ,EAAO"}
|
|
@@ -1,34 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { below } from "../shared/token-scales.js";
|
|
3
|
-
export default css `
|
|
4
|
-
:host {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
gap: var(--spacing-12);
|
|
8
|
-
/* the space between side-by-side groups, after the group in reading order */
|
|
9
|
-
padding-inline-end: var(--spacing-64);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/* A raw anchor slotted straight in: bd-footer's country links are those.
|
|
13
|
-
bd-footer draws them in full; this is their ink and no underline for any
|
|
14
|
-
other footer that slots plain links. */
|
|
15
|
-
::slotted(a) {
|
|
16
|
-
color: var(--color-text-inverse);
|
|
17
|
-
text-decoration: none;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.group-title {
|
|
21
|
-
font-size: var(--typography-body-regular-fontSize);
|
|
22
|
-
font-family: var(--typography-fontFamily-sans);
|
|
23
|
-
font-weight: var(--typography-heading-h1-fontWeight);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/* No !important: this sheet is the outer one for bd-h's host, so it
|
|
27
|
-
already beats bd-h's own :host { display: block }. */
|
|
28
|
-
@media ${unsafeCSS(below('md'))} {
|
|
29
|
-
:host(:nth-of-type(2)) .group-title {
|
|
30
|
-
display: none;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
`;
|
|
1
|
+
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{gap:var(--spacing-12);flex-direction:column;padding-inline-end:var(--spacing-64);display:flex}::slotted(a){color:var(--color-text-inverse);text-decoration:none}.group-title{font-size:var(--typography-body-regular-fontSize);font-family:var(--typography-fontFamily-sans);font-weight:var(--typography-heading-h1-fontWeight)}@media (width<768px){:host(:nth-of-type(2)) .group-title{display:none}}`;export{t as default};
|
|
34
2
|
//# sourceMappingURL=footer-links-group.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer-links-group.css.js","
|
|
1
|
+
{"version":3,"file":"footer-links-group.css.js","names":["footer_links_group_css_default"],"sources":["../../../../src/components/footer/footer-links-group.css.ts"],"sourcesContent":["import { css, unsafeCSS } from 'lit';\nimport { below } from '#shared/token-scales.ts';\n\nexport default css`\n :host {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-12);\n /* the space between side-by-side groups, after the group in reading order */\n padding-inline-end: var(--spacing-64);\n }\n\n /* A raw anchor slotted straight in: bd-footer's country links are those.\n bd-footer draws them in full; this is their ink and no underline for any\n other footer that slots plain links. */\n ::slotted(a) {\n color: var(--color-text-inverse);\n text-decoration: none;\n }\n\n .group-title {\n font-size: var(--typography-body-regular-fontSize);\n font-family: var(--typography-fontFamily-sans);\n font-weight: var(--typography-heading-h1-fontWeight);\n }\n\n /* No !important: this sheet is the outer one for bd-h's host, so it\n already beats bd-h's own :host { display: block }. */\n @media ${unsafeCSS(below('md'))} {\n :host(:nth-of-type(2)) .group-title {\n display: none;\n }\n }\n`;"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,iZ"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { LitElement } from
|
|
2
|
-
import "../../tokens/tokens.
|
|
3
|
-
import
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import "../../tokens/tokens.js";
|
|
3
|
+
import "../heading/heading.js";
|
|
4
4
|
export declare class BdFooterLinksGroup extends LitElement {
|
|
5
5
|
static styles: import("lit").CSSResult[];
|
|
6
6
|
title: string;
|