@repobit/dex-system-design 3.0.1 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/src/_bundled/oxc-project_runtime/helpers/esm/decorate.js +1 -0
- package/dist/src/components/accordion/accordion-bg.css.js +1 -288
- package/dist/src/components/accordion/accordion-bg.css.js.map +1 -1
- package/dist/src/components/accordion/accordion-bg.d.ts +5 -5
- package/dist/src/components/accordion/accordion-bg.js +15 -210
- package/dist/src/components/accordion/accordion-bg.js.map +1 -1
- package/dist/src/components/accordion/accordion-keyboard.js +1 -89
- package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
- package/dist/src/components/accordion/accordion-panel.js +1 -22
- package/dist/src/components/accordion/accordion-panel.js.map +1 -1
- package/dist/src/components/accordion/accordion.css.js +1 -380
- package/dist/src/components/accordion/accordion.css.js.map +1 -1
- package/dist/src/components/accordion/accordion.d.ts +7 -7
- package/dist/src/components/accordion/accordion.js +16 -138
- package/dist/src/components/accordion/accordion.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -88
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +4 -4
- package/dist/src/components/agent-endpoints/agent-endpoints.js +17 -76
- package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
- package/dist/src/components/alert/alert.css.js +1 -217
- package/dist/src/components/alert/alert.css.js.map +1 -1
- package/dist/src/components/alert/alert.d.ts +4 -4
- package/dist/src/components/alert/alert.js +6 -110
- package/dist/src/components/alert/alert.js.map +1 -1
- package/dist/src/components/anchor/anchor-nav.css.js +1 -546
- package/dist/src/components/anchor/anchor-nav.css.js.map +1 -1
- package/dist/src/components/anchor/anchor-nav.d.ts +4 -4
- package/dist/src/components/anchor/anchor-nav.js +23 -567
- package/dist/src/components/anchor/anchor-nav.js.map +1 -1
- package/dist/src/components/annotation/annotation.css.js +1 -64
- package/dist/src/components/annotation/annotation.css.js.map +1 -1
- package/dist/src/components/annotation/annotation.d.ts +2 -2
- package/dist/src/components/annotation/annotation.js +7 -72
- package/dist/src/components/annotation/annotation.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.css.js +1 -122
- package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.d.ts +2 -2
- package/dist/src/components/audience-card/audience-card.js +8 -83
- package/dist/src/components/audience-card/audience-card.js.map +1 -1
- package/dist/src/components/avatar/avatar.css.js +1 -65
- package/dist/src/components/avatar/avatar.css.js.map +1 -1
- package/dist/src/components/avatar/avatar.d.ts +3 -3
- package/dist/src/components/avatar/avatar.js +6 -76
- package/dist/src/components/avatar/avatar.js.map +1 -1
- package/dist/src/components/awards/awards-flex.css.js +1 -273
- package/dist/src/components/awards/awards-flex.css.js.map +1 -1
- package/dist/src/components/awards/awards-flex.d.ts +12 -12
- package/dist/src/components/awards/awards-flex.js +33 -264
- package/dist/src/components/awards/awards-flex.js.map +1 -1
- package/dist/src/components/awards/awards-spotlight.css.js +1 -161
- package/dist/src/components/awards/awards-spotlight.css.js.map +1 -1
- package/dist/src/components/awards/awards-spotlight.d.ts +4 -4
- package/dist/src/components/awards/awards-spotlight.js +24 -140
- package/dist/src/components/awards/awards-spotlight.js.map +1 -1
- package/dist/src/components/awards/awards.css.js +1 -401
- package/dist/src/components/awards/awards.css.js.map +1 -1
- package/dist/src/components/awards/awards.d.ts +13 -13
- package/dist/src/components/awards/awards.js +26 -179
- package/dist/src/components/awards/awards.js.map +1 -1
- package/dist/src/components/awards/scroll-slides.js +1 -131
- package/dist/src/components/awards/scroll-slides.js.map +1 -1
- package/dist/src/components/back/back.css.js +1 -91
- package/dist/src/components/back/back.css.js.map +1 -1
- package/dist/src/components/back/back.d.ts +1 -1
- package/dist/src/components/back/back.js +8 -71
- package/dist/src/components/back/back.js.map +1 -1
- package/dist/src/components/badge/badge.css.js +1 -204
- package/dist/src/components/badge/badge.css.js.map +1 -1
- package/dist/src/components/badge/badge.d.ts +4 -4
- package/dist/src/components/badge/badge.js +2 -117
- package/dist/src/components/badge/badge.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.css.js +16 -150
- package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.d.ts +3 -3
- package/dist/src/components/bento-grid/bento-grid.js +10 -189
- package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.css.js +1 -338
- package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.d.ts +3 -3
- package/dist/src/components/bento-grid/bento-item.js +10 -94
- package/dist/src/components/bento-grid/bento-item.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.css.js +1 -54
- package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.d.ts +2 -2
- package/dist/src/components/blockquote/blockquote.js +1 -44
- package/dist/src/components/blockquote/blockquote.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.css.js +1 -168
- package/dist/src/components/breadcrumb/breadcrumb.css.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -5
- package/dist/src/components/breadcrumb/breadcrumb.js +9 -166
- package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/src/components/button/button.css.js +1 -843
- package/dist/src/components/button/button.css.js.map +1 -1
- package/dist/src/components/button/button.d.ts +5 -5
- package/dist/src/components/button/button.js +18 -420
- package/dist/src/components/button/button.js.map +1 -1
- package/dist/src/components/caption/caption.css.js +1 -29
- package/dist/src/components/caption/caption.css.js.map +1 -1
- package/dist/src/components/caption/caption.d.ts +3 -3
- package/dist/src/components/caption/caption.js +2 -36
- package/dist/src/components/caption/caption.js.map +1 -1
- package/dist/src/components/card-features/card-features.css.js +1 -120
- package/dist/src/components/card-features/card-features.css.js.map +1 -1
- package/dist/src/components/card-features/card-features.d.ts +3 -3
- package/dist/src/components/card-features/card-features.js +12 -145
- package/dist/src/components/card-features/card-features.js.map +1 -1
- package/dist/src/components/cards/card.css.js +1 -369
- package/dist/src/components/cards/card.css.js.map +1 -1
- package/dist/src/components/cards/card.d.ts +3 -3
- package/dist/src/components/cards/card.js +21 -312
- package/dist/src/components/cards/card.js.map +1 -1
- package/dist/src/components/carousel/carousel.css.js +1 -261
- package/dist/src/components/carousel/carousel.css.js.map +1 -1
- package/dist/src/components/carousel/carousel.d.ts +5 -5
- package/dist/src/components/carousel/carousel.js +13 -297
- package/dist/src/components/carousel/carousel.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.css.js +1 -173
- package/dist/src/components/checkbox/checkbox.css.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.d.ts +2 -2
- package/dist/src/components/checkbox/checkbox.js +5 -138
- package/dist/src/components/checkbox/checkbox.js.map +1 -1
- package/dist/src/components/code/code.css.js +1 -73
- package/dist/src/components/code/code.css.js.map +1 -1
- package/dist/src/components/code/code.d.ts +2 -2
- package/dist/src/components/code/code.js +4 -87
- package/dist/src/components/code/code.js.map +1 -1
- package/dist/src/components/compare/compare.css.js +1 -478
- package/dist/src/components/compare/compare.css.js.map +1 -1
- package/dist/src/components/compare/compare.d.ts +5 -5
- package/dist/src/components/compare/compare.js +23 -476
- package/dist/src/components/compare/compare.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -141
- package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.d.ts +2 -2
- package/dist/src/components/comparison-panel/comparison-panel.js +18 -86
- package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -391
- package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.d.ts +2 -2
- package/dist/src/components/compatibility-table/compatibility-table.js +26 -136
- package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.css.js +1 -97
- package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.d.ts +2 -2
- package/dist/src/components/cta-banner/cta-banner.js +8 -51
- package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
- package/dist/src/components/display/display.css.js +1 -95
- package/dist/src/components/display/display.css.js.map +1 -1
- package/dist/src/components/display/display.d.ts +2 -2
- package/dist/src/components/display/display.js +3 -84
- package/dist/src/components/display/display.js.map +1 -1
- package/dist/src/components/divider/divider-horizontal.d.ts +2 -2
- package/dist/src/components/divider/divider-horizontal.js +4 -63
- package/dist/src/components/divider/divider-horizontal.js.map +1 -1
- package/dist/src/components/divider/divider-vertical.d.ts +2 -2
- package/dist/src/components/divider/divider-vertical.js +6 -61
- package/dist/src/components/divider/divider-vertical.js.map +1 -1
- package/dist/src/components/divider/divider.css.js +1 -20
- package/dist/src/components/divider/divider.css.js.map +1 -1
- package/dist/src/components/dropdown/dropdown.css.js +1 -121
- package/dist/src/components/dropdown/dropdown.css.js.map +1 -1
- package/dist/src/components/dropdown/dropdown.d.ts +5 -5
- package/dist/src/components/dropdown/dropdown.js +17 -283
- package/dist/src/components/dropdown/dropdown.js.map +1 -1
- package/dist/src/components/features/features.css.js +1 -123
- package/dist/src/components/features/features.css.js.map +1 -1
- package/dist/src/components/features/features.d.ts +5 -5
- package/dist/src/components/features/features.js +11 -71
- package/dist/src/components/features/features.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.css.js +1 -100
- package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.d.ts +5 -5
- package/dist/src/components/features-tab/features-tab.js +9 -70
- package/dist/src/components/features-tab/features-tab.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.css.js +1 -28
- package/dist/src/components/fieldset/fieldset.css.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.d.ts +2 -2
- package/dist/src/components/fieldset/fieldset.js +3 -31
- package/dist/src/components/fieldset/fieldset.js.map +1 -1
- package/dist/src/components/footer/footer-images.js +5 -27
- package/dist/src/components/footer/footer-images.js.map +1 -1
- package/dist/src/components/footer/footer-links-group.css.js +1 -33
- package/dist/src/components/footer/footer-links-group.css.js.map +1 -1
- package/dist/src/components/footer/footer-links-group.d.ts +3 -3
- package/dist/src/components/footer/footer-links-group.js +3 -32
- package/dist/src/components/footer/footer-links-group.js.map +1 -1
- package/dist/src/components/footer/footer-locale.js +1 -45
- package/dist/src/components/footer/footer-locale.js.map +1 -1
- package/dist/src/components/footer/footer-lp.d.ts +7 -7
- package/dist/src/components/footer/footer-lp.js +8 -121
- package/dist/src/components/footer/footer-lp.js.map +1 -1
- package/dist/src/components/footer/footer-nav-menu.css.js +1 -61
- package/dist/src/components/footer/footer-nav-menu.css.js.map +1 -1
- package/dist/src/components/footer/footer-nav-menu.d.ts +3 -3
- package/dist/src/components/footer/footer-nav-menu.js +3 -47
- package/dist/src/components/footer/footer-nav-menu.js.map +1 -1
- package/dist/src/components/footer/footer.css.js +1 -664
- package/dist/src/components/footer/footer.css.js.map +1 -1
- package/dist/src/components/footer/footer.d.ts +13 -13
- package/dist/src/components/footer/footer.js +20 -305
- package/dist/src/components/footer/footer.js.map +1 -1
- package/dist/src/components/footer/localeMap.js +1 -1
- package/dist/src/components/footer/localeMap.js.map +1 -1
- package/dist/src/components/grid/grid.css.js +1 -78
- package/dist/src/components/grid/grid.css.js.map +1 -1
- package/dist/src/components/grid/grid.d.ts +2 -2
- package/dist/src/components/grid/grid.js +9 -126
- package/dist/src/components/grid/grid.js.map +1 -1
- package/dist/src/components/header/header-code.css.js +1 -369
- package/dist/src/components/header/header-code.css.js.map +1 -1
- package/dist/src/components/header/header-code.d.ts +4 -4
- package/dist/src/components/header/header-code.js +15 -163
- package/dist/src/components/header/header-code.js.map +1 -1
- package/dist/src/components/header/header.css.js +1 -757
- package/dist/src/components/header/header.css.js.map +1 -1
- package/dist/src/components/header/header.d.ts +7 -7
- package/dist/src/components/header/header.js +4 -212
- package/dist/src/components/header/header.js.map +1 -1
- package/dist/src/components/heading/heading.css.js +1 -89
- package/dist/src/components/heading/heading.css.js.map +1 -1
- package/dist/src/components/heading/heading.d.ts +2 -2
- package/dist/src/components/heading/heading.js +1 -108
- package/dist/src/components/heading/heading.js.map +1 -1
- package/dist/src/components/help-text/help-text.css.js +1 -19
- package/dist/src/components/help-text/help-text.css.js.map +1 -1
- package/dist/src/components/help-text/help-text.d.ts +2 -2
- package/dist/src/components/help-text/help-text.js +3 -31
- package/dist/src/components/help-text/help-text.js.map +1 -1
- package/dist/src/components/hero/hero.css.js +1 -362
- package/dist/src/components/hero/hero.css.js.map +1 -1
- package/dist/src/components/hero/hero.d.ts +3 -3
- package/dist/src/components/hero/hero.js +12 -164
- package/dist/src/components/hero/hero.js.map +1 -1
- package/dist/src/components/highlight/highlight.css.js +1 -175
- package/dist/src/components/highlight/highlight.css.js.map +1 -1
- package/dist/src/components/highlight/highlight.d.ts +3 -3
- package/dist/src/components/highlight/highlight.js +4 -115
- package/dist/src/components/highlight/highlight.js.map +1 -1
- package/dist/src/components/icons/analysis-icon.d.ts +1 -1
- package/dist/src/components/icons/analysis-icon.js +2 -20
- package/dist/src/components/icons/analysis-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-down-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-down-icon.js +2 -20
- package/dist/src/components/icons/arrow-down-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-icon.js +2 -48
- package/dist/src/components/icons/arrow-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-right-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-right-icon.js +2 -45
- package/dist/src/components/icons/arrow-right-icon.js.map +1 -1
- package/dist/src/components/icons/arrow-up-icon.d.ts +1 -1
- package/dist/src/components/icons/arrow-up-icon.js +2 -33
- package/dist/src/components/icons/arrow-up-icon.js.map +1 -1
- package/dist/src/components/icons/av-comparatives-icon.js +2 -31
- package/dist/src/components/icons/av-comparatives-icon.js.map +1 -1
- package/dist/src/components/icons/bd-ai-icon.js +2 -31
- package/dist/src/components/icons/bd-ai-icon.js.map +1 -1
- package/dist/src/components/icons/best-brands-icon.js +2 -31
- package/dist/src/components/icons/best-brands-icon.js.map +1 -1
- package/dist/src/components/icons/brand-signature-icon.d.ts +1 -1
- package/dist/src/components/icons/brand-signature-icon.js +2 -46
- package/dist/src/components/icons/brand-signature-icon.js.map +1 -1
- package/dist/src/components/icons/check-icon.d.ts +1 -1
- package/dist/src/components/icons/check-icon.js +2 -31
- package/dist/src/components/icons/check-icon.js.map +1 -1
- package/dist/src/components/icons/circle-info-icon.d.ts +1 -1
- package/dist/src/components/icons/circle-info-icon.js +2 -35
- package/dist/src/components/icons/circle-info-icon.js.map +1 -1
- package/dist/src/components/icons/close-icon.d.ts +1 -1
- package/dist/src/components/icons/close-icon.js +2 -20
- package/dist/src/components/icons/close-icon.js.map +1 -1
- package/dist/src/components/icons/enterprise-icon.d.ts +1 -1
- package/dist/src/components/icons/enterprise-icon.js +2 -22
- package/dist/src/components/icons/enterprise-icon.js.map +1 -1
- package/dist/src/components/icons/family-icon.d.ts +1 -1
- package/dist/src/components/icons/family-icon.js +2 -20
- package/dist/src/components/icons/family-icon.js.map +1 -1
- package/dist/src/components/icons/globe-icon.d.ts +1 -1
- package/dist/src/components/icons/globe-icon.js +2 -20
- package/dist/src/components/icons/globe-icon.js.map +1 -1
- package/dist/src/components/icons/guide-icon.d.ts +1 -1
- package/dist/src/components/icons/guide-icon.js +2 -20
- package/dist/src/components/icons/guide-icon.js.map +1 -1
- package/dist/src/components/icons/home-icon.d.ts +1 -1
- package/dist/src/components/icons/home-icon.js +2 -22
- package/dist/src/components/icons/home-icon.js.map +1 -1
- package/dist/src/components/icons/icon-element.js +1 -162
- package/dist/src/components/icons/icon-element.js.map +1 -1
- package/dist/src/components/icons/icons.d.ts +23 -23
- package/dist/src/components/icons/icons.js +1 -42
- package/dist/src/components/icons/individual-icon.d.ts +1 -1
- package/dist/src/components/icons/individual-icon.js +2 -20
- package/dist/src/components/icons/individual-icon.js.map +1 -1
- package/dist/src/components/icons/laurel-icon.d.ts +1 -1
- package/dist/src/components/icons/laurel-icon.js +2 -24
- package/dist/src/components/icons/laurel-icon.js.map +1 -1
- package/dist/src/components/icons/machine-learning-icon.d.ts +1 -1
- package/dist/src/components/icons/machine-learning-icon.js +2 -20
- package/dist/src/components/icons/machine-learning-icon.js.map +1 -1
- package/dist/src/components/icons/marks.d.ts +9 -9
- package/dist/src/components/icons/marks.js +1 -41
- package/dist/src/components/icons/minus-icon.d.ts +1 -1
- package/dist/src/components/icons/minus-icon.js +2 -19
- package/dist/src/components/icons/minus-icon.js.map +1 -1
- package/dist/src/components/icons/missing-icon.d.ts +1 -1
- package/dist/src/components/icons/missing-icon.js +3 -53
- package/dist/src/components/icons/missing-icon.js.map +1 -1
- package/dist/src/components/icons/pause-icon.d.ts +1 -1
- package/dist/src/components/icons/pause-icon.js +2 -22
- package/dist/src/components/icons/pause-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-2024-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-2024-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-business-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-business-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-icon.js +2 -31
- package/dist/src/components/icons/pc-mag-icon.js.map +1 -1
- package/dist/src/components/icons/pc-mag-readers-icon.js +2 -30
- package/dist/src/components/icons/pc-mag-readers-icon.js.map +1 -1
- package/dist/src/components/icons/play-icon.d.ts +1 -1
- package/dist/src/components/icons/play-icon.js +2 -22
- package/dist/src/components/icons/play-icon.js.map +1 -1
- package/dist/src/components/icons/plus-icon.d.ts +1 -1
- package/dist/src/components/icons/plus-icon.js +2 -19
- package/dist/src/components/icons/plus-icon.js.map +1 -1
- package/dist/src/components/icons/quote-icon.d.ts +1 -1
- package/dist/src/components/icons/quote-icon.js +2 -30
- package/dist/src/components/icons/quote-icon.js.map +1 -1
- package/dist/src/components/icons/small-business-icon.d.ts +1 -1
- package/dist/src/components/icons/small-business-icon.js +2 -22
- package/dist/src/components/icons/small-business-icon.js.map +1 -1
- package/dist/src/components/icons/top-product-icon.js +2 -31
- package/dist/src/components/icons/top-product-icon.js.map +1 -1
- package/dist/src/components/image/image.css.js +1 -106
- package/dist/src/components/image/image.css.js.map +1 -1
- package/dist/src/components/image/image.d.ts +2 -2
- package/dist/src/components/image/image.js +10 -115
- package/dist/src/components/image/image.js.map +1 -1
- package/dist/src/components/input/input-clipboard.css.js +1 -93
- package/dist/src/components/input/input-clipboard.css.js.map +1 -1
- package/dist/src/components/input/input-clipboard.d.ts +5 -5
- package/dist/src/components/input/input-clipboard.js +20 -257
- package/dist/src/components/input/input-clipboard.js.map +1 -1
- package/dist/src/components/input/input.css.js +1 -9
- package/dist/src/components/input/input.css.js.map +1 -1
- package/dist/src/components/input/input.d.ts +4 -4
- package/dist/src/components/input/input.js +19 -202
- package/dist/src/components/input/input.js.map +1 -1
- package/dist/src/components/install-options/install-options.css.js +1 -308
- package/dist/src/components/install-options/install-options.css.js.map +1 -1
- package/dist/src/components/install-options/install-options.d.ts +4 -4
- package/dist/src/components/install-options/install-options.js +28 -159
- package/dist/src/components/install-options/install-options.js.map +1 -1
- package/dist/src/components/label/label.css.js +1 -33
- package/dist/src/components/label/label.css.js.map +1 -1
- package/dist/src/components/label/label.d.ts +3 -3
- package/dist/src/components/label/label.js +3 -135
- package/dist/src/components/label/label.js.map +1 -1
- package/dist/src/components/light-carousel/light-carousel.css.js +1 -270
- package/dist/src/components/light-carousel/light-carousel.css.js.map +1 -1
- package/dist/src/components/light-carousel/light-carousel.d.ts +3 -3
- package/dist/src/components/light-carousel/light-carousel.js +16 -181
- package/dist/src/components/light-carousel/light-carousel.js.map +1 -1
- package/dist/src/components/link/link.css.js +1 -288
- package/dist/src/components/link/link.css.js.map +1 -1
- package/dist/src/components/link/link.d.ts +3 -3
- package/dist/src/components/link/link.js +6 -233
- package/dist/src/components/link/link.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.css.js +1 -167
- package/dist/src/components/list/list-item/list-item.css.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.d.ts +3 -3
- package/dist/src/components/list/list-item/list-item.js +3 -122
- package/dist/src/components/list/list-item/list-item.js.map +1 -1
- package/dist/src/components/list/list.css.js +1 -180
- package/dist/src/components/list/list.css.js.map +1 -1
- package/dist/src/components/list/list.d.ts +1 -1
- package/dist/src/components/list/list.js +5 -82
- package/dist/src/components/list/list.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -93
- package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.d.ts +3 -3
- package/dist/src/components/logo-marquee/logo-marquee.js +6 -147
- package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
- package/dist/src/components/modal/modal.css.js +1 -203
- package/dist/src/components/modal/modal.css.js.map +1 -1
- package/dist/src/components/modal/modal.d.ts +3 -3
- package/dist/src/components/modal/modal.js +3 -131
- package/dist/src/components/modal/modal.js.map +1 -1
- package/dist/src/components/motion-art/motion-art.d.ts +1 -1
- package/dist/src/components/motion-art/motion-art.js +1 -114
- package/dist/src/components/motion-art/motion-art.js.map +1 -1
- package/dist/src/components/overview/overview.css.js +1 -125
- package/dist/src/components/overview/overview.css.js.map +1 -1
- package/dist/src/components/overview/overview.d.ts +2 -2
- package/dist/src/components/overview/overview.js +9 -50
- package/dist/src/components/overview/overview.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.css.js +1 -174
- package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.d.ts +2 -2
- package/dist/src/components/page-switcher/page-switcher.js +6 -62
- package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -160
- package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.d.ts +2 -2
- package/dist/src/components/pagination-dots/pagination-dots.js +10 -210
- package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
- package/dist/src/components/paragraph/paragraph.css.js +1 -101
- package/dist/src/components/paragraph/paragraph.css.js.map +1 -1
- package/dist/src/components/paragraph/paragraph.d.ts +2 -2
- package/dist/src/components/paragraph/paragraph.js +3 -119
- package/dist/src/components/paragraph/paragraph.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.css.js +1 -245
- package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.d.ts +1 -1
- package/dist/src/components/partner-banner/partner-banner.js +6 -81
- package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
- package/dist/src/components/picture/picture.css.js +1 -208
- package/dist/src/components/picture/picture.css.js.map +1 -1
- package/dist/src/components/picture/picture.d.ts +2 -2
- package/dist/src/components/picture/picture.js +14 -186
- package/dist/src/components/picture/picture.js.map +1 -1
- package/dist/src/components/post-card/post-card.css.js +1 -149
- package/dist/src/components/post-card/post-card.css.js.map +1 -1
- package/dist/src/components/post-card/post-card.d.ts +2 -2
- package/dist/src/components/post-card/post-card.js +5 -97
- package/dist/src/components/post-card/post-card.js.map +1 -1
- package/dist/src/components/pricing-cards/adopt-styles.js +1 -18
- package/dist/src/components/pricing-cards/adopt-styles.js.map +1 -1
- package/dist/src/components/pricing-cards/new-pricing-card.d.ts +2 -2
- package/dist/src/components/pricing-cards/new-pricing-card.js +4 -49
- package/dist/src/components/pricing-cards/new-pricing-card.js.map +1 -1
- package/dist/src/components/pricing-cards/new-pricing.css.js +1 -74
- package/dist/src/components/pricing-cards/new-pricing.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js +1 -11
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +2 -2
- package/dist/src/components/pricing-cards/pricing-card-actions.js +2 -59
- package/dist/src/components/pricing-cards/pricing-card-actions.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.css.js +1 -41
- package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.d.ts +1 -1
- package/dist/src/components/pricing-cards/pricing-card-container.js +2 -40
- package/dist/src/components/pricing-cards/pricing-card-container.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-header.css.js +1 -82
- package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-header.d.ts +5 -5
- package/dist/src/components/pricing-cards/pricing-card-header.js +7 -70
- package/dist/src/components/pricing-cards/pricing-card-header.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +1 -92
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +6 -6
- package/dist/src/components/pricing-cards/pricing-card-pricing.js +7 -87
- package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +1 -29
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +4 -4
- package/dist/src/components/pricing-cards/pricing-card-show-more.js +5 -41
- package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card.css.js +1 -660
- package/dist/src/components/pricing-cards/pricing-card.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-card.d.ts +7 -7
- package/dist/src/components/pricing-cards/pricing-card.js +53 -639
- package/dist/src/components/pricing-cards/pricing-card.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js +1 -34
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +1 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +2 -2
- package/dist/src/components/pricing-cards/pricing-feature-item.js +2 -22
- package/dist/src/components/pricing-cards/pricing-feature-item.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.css.js +1 -106
- package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.d.ts +5 -5
- package/dist/src/components/process-steps/process-steps.js +10 -78
- package/dist/src/components/process-steps/process-steps.js.map +1 -1
- package/dist/src/components/progress/progress.css.js +1 -123
- package/dist/src/components/progress/progress.css.js.map +1 -1
- package/dist/src/components/progress/progress.d.ts +2 -2
- package/dist/src/components/progress/progress.js +6 -72
- package/dist/src/components/progress/progress.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.css.js +1 -130
- package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.d.ts +2 -2
- package/dist/src/components/quick-answer/quick-answer.js +9 -49
- package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
- package/dist/src/components/radio/radio-group.css.js +1 -41
- package/dist/src/components/radio/radio-group.css.js.map +1 -1
- package/dist/src/components/radio/radio-group.d.ts +1 -1
- package/dist/src/components/radio/radio-group.js +5 -92
- package/dist/src/components/radio/radio-group.js.map +1 -1
- package/dist/src/components/radio/radio.css.js +1 -193
- package/dist/src/components/radio/radio.css.js.map +1 -1
- package/dist/src/components/radio/radio.d.ts +4 -4
- package/dist/src/components/radio/radio.js +6 -263
- package/dist/src/components/radio/radio.js.map +1 -1
- package/dist/src/components/radio/toggle-radio.d.ts +2 -2
- package/dist/src/components/radio/toggle-radio.js +3 -39
- package/dist/src/components/radio/toggle-radio.js.map +1 -1
- package/dist/src/components/review/review-grid.css.js +1 -46
- package/dist/src/components/review/review-grid.css.js.map +1 -1
- package/dist/src/components/review/review-grid.d.ts +2 -2
- package/dist/src/components/review/review-grid.js +4 -49
- package/dist/src/components/review/review-grid.js.map +1 -1
- package/dist/src/components/review/review.css.js +1 -54
- package/dist/src/components/review/review.css.js.map +1 -1
- package/dist/src/components/review/review.d.ts +2 -2
- package/dist/src/components/review/review.js +2 -59
- package/dist/src/components/review/review.js.map +1 -1
- package/dist/src/components/section/section.css.js +1 -37
- package/dist/src/components/section/section.css.js.map +1 -1
- package/dist/src/components/section/section.d.ts +1 -1
- package/dist/src/components/section/section.js +1 -50
- package/dist/src/components/section/section.js.map +1 -1
- package/dist/src/components/section-header/section-header.css.js +1 -99
- package/dist/src/components/section-header/section-header.css.js.map +1 -1
- package/dist/src/components/section-header/section-header.d.ts +2 -2
- package/dist/src/components/section-header/section-header.js +4 -85
- package/dist/src/components/section-header/section-header.js.map +1 -1
- package/dist/src/components/shared/announcer.d.ts +1 -1
- package/dist/src/components/shared/announcer.js +1 -34
- package/dist/src/components/shared/announcer.js.map +1 -1
- package/dist/src/components/shared/controller.media-query.d.ts +1 -1
- package/dist/src/components/shared/controller.media-query.js +1 -57
- package/dist/src/components/shared/controller.media-query.js.map +1 -1
- package/dist/src/components/shared/define-element.js +1 -16
- package/dist/src/components/shared/define-element.js.map +1 -1
- package/dist/src/components/shared/ensemble.css.js +1 -101
- package/dist/src/components/shared/ensemble.css.js.map +1 -1
- package/dist/src/components/shared/events.js +0 -13
- package/dist/src/components/shared/fill-width.css.js +2 -27
- package/dist/src/components/shared/fill-width.css.js.map +1 -1
- package/dist/src/components/shared/form-control.d.ts +1 -1
- package/dist/src/components/shared/form-control.js +1 -198
- package/dist/src/components/shared/form-control.js.map +1 -1
- package/dist/src/components/shared/form-field.css.js +1 -258
- package/dist/src/components/shared/form-field.css.js.map +1 -1
- package/dist/src/components/shared/prop-vocabulary.js +1 -49
- package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
- package/dist/src/components/shared/token-scales.js +1 -351
- package/dist/src/components/shared/token-scales.js.map +1 -1
- package/dist/src/components/skeleton/skeleton.css.js +1 -32
- package/dist/src/components/skeleton/skeleton.css.js.map +1 -1
- package/dist/src/components/skeleton/skeleton.d.ts +2 -2
- package/dist/src/components/skeleton/skeleton.js +4 -36
- package/dist/src/components/skeleton/skeleton.js.map +1 -1
- package/dist/src/components/spinner/spinner.css.js +1 -87
- package/dist/src/components/spinner/spinner.css.js.map +1 -1
- package/dist/src/components/spinner/spinner.d.ts +3 -3
- package/dist/src/components/spinner/spinner.js +3 -69
- package/dist/src/components/spinner/spinner.js.map +1 -1
- package/dist/src/components/spotlight-section/spotlight-section.css.js +1 -105
- package/dist/src/components/spotlight-section/spotlight-section.css.js.map +1 -1
- package/dist/src/components/spotlight-section/spotlight-section.d.ts +2 -2
- package/dist/src/components/spotlight-section/spotlight-section.js +11 -72
- package/dist/src/components/spotlight-section/spotlight-section.js.map +1 -1
- package/dist/src/components/stat/stat-highlight.js +6 -82
- package/dist/src/components/stat/stat-highlight.js.map +1 -1
- package/dist/src/components/stat/stat-tile.js +5 -52
- package/dist/src/components/stat/stat-tile.js.map +1 -1
- package/dist/src/components/stat/stat.css.js +1 -145
- package/dist/src/components/stat/stat.css.js.map +1 -1
- package/dist/src/components/stat/stat.d.ts +2 -2
- package/dist/src/components/stat/stat.js +1 -3
- package/dist/src/components/switch/switch.css.js +1 -175
- package/dist/src/components/switch/switch.css.js.map +1 -1
- package/dist/src/components/switch/switch.d.ts +4 -4
- package/dist/src/components/switch/switch.js +4 -99
- package/dist/src/components/switch/switch.js.map +1 -1
- package/dist/src/components/tab-list/tab-list.css.js +1 -289
- package/dist/src/components/tab-list/tab-list.css.js.map +1 -1
- package/dist/src/components/tab-list/tab-list.d.ts +1 -1
- package/dist/src/components/tab-list/tab-list.js +13 -191
- package/dist/src/components/tab-list/tab-list.js.map +1 -1
- package/dist/src/components/tabs/tabs.css.js +1 -77
- package/dist/src/components/tabs/tabs.css.js.map +1 -1
- package/dist/src/components/tabs/tabs.d.ts +6 -6
- package/dist/src/components/tabs/tabs.js +8 -220
- package/dist/src/components/tabs/tabs.js.map +1 -1
- package/dist/src/components/tag/tag.css.js +1 -52
- package/dist/src/components/tag/tag.css.js.map +1 -1
- package/dist/src/components/tag/tag.d.ts +2 -2
- package/dist/src/components/tag/tag.js +2 -37
- package/dist/src/components/tag/tag.js.map +1 -1
- package/dist/src/components/terminal/terminal-cursor.js +1 -65
- package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
- package/dist/src/components/terminal/terminal-message.css.js +1 -409
- package/dist/src/components/terminal/terminal-message.css.js.map +1 -1
- package/dist/src/components/terminal/terminal-message.d.ts +5 -5
- package/dist/src/components/terminal/terminal-message.js +28 -183
- package/dist/src/components/terminal/terminal-message.js.map +1 -1
- package/dist/src/components/termsOfUse/terms.css.js +1 -55
- package/dist/src/components/termsOfUse/terms.css.js.map +1 -1
- package/dist/src/components/termsOfUse/terms.d.ts +5 -5
- package/dist/src/components/termsOfUse/terms.js +9 -82
- package/dist/src/components/termsOfUse/terms.js.map +1 -1
- package/dist/src/components/textarea/textarea.css.js +1 -49
- package/dist/src/components/textarea/textarea.css.js.map +1 -1
- package/dist/src/components/textarea/textarea.d.ts +5 -5
- package/dist/src/components/textarea/textarea.js +15 -160
- package/dist/src/components/textarea/textarea.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.css.js +1 -96
- package/dist/src/components/tooltip/tooltip.css.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.d.ts +2 -2
- package/dist/src/components/tooltip/tooltip.js +5 -285
- package/dist/src/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.css.js +1 -228
- package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.d.ts +4 -4
- package/dist/src/components/trust-panel/trust-panel.js +25 -104
- package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
- package/dist/src/components/video/video.css.js +1 -20
- package/dist/src/components/video/video.css.js.map +1 -1
- package/dist/src/components/video/video.d.ts +2 -2
- package/dist/src/components/video/video.js +5 -88
- package/dist/src/components/video/video.js.map +1 -1
- package/dist/src/components/video-player/video-player.css.js +1 -167
- package/dist/src/components/video-player/video-player.css.js.map +1 -1
- package/dist/src/components/video-player/video-player.d.ts +2 -2
- package/dist/src/components/video-player/video-player.js +15 -150
- package/dist/src/components/video-player/video-player.js.map +1 -1
- package/dist/src/components/visually-hidden/visually-hidden.css.js +1 -22
- package/dist/src/components/visually-hidden/visually-hidden.css.js.map +1 -1
- package/dist/src/components/visually-hidden/visually-hidden.d.ts +2 -2
- package/dist/src/components/visually-hidden/visually-hidden.js +2 -22
- package/dist/src/components/visually-hidden/visually-hidden.js.map +1 -1
- package/dist/src/tokens/brand-layer.js +8 -162
- package/dist/src/tokens/brand-layer.js.map +1 -1
- package/dist/src/tokens/dark-derivation.js +1 -325
- package/dist/src/tokens/dark-derivation.js.map +1 -1
- package/dist/src/tokens/dark-findings.d.ts +1 -1
- package/dist/src/tokens/dark-findings.js +1 -204
- package/dist/src/tokens/dark-findings.js.map +1 -1
- package/dist/src/tokens/fonts.css +1 -166
- package/dist/src/tokens/layout.css +1 -61
- package/dist/src/tokens/story-chrome.js +27 -221
- package/dist/src/tokens/story-chrome.js.map +1 -1
- package/dist/src/tokens/themes/bitdefender.js +1 -30
- package/dist/src/tokens/themes/bitdefender.js.map +1 -1
- package/dist/src/tokens/themes/contract.js +1 -7
- package/dist/src/tokens/themes/contract.js.map +1 -1
- package/dist/src/tokens/themes/index.js +1 -39
- package/dist/src/tokens/themes/index.js.map +1 -1
- package/dist/src/tokens/token-map.js +1 -236
- package/dist/src/tokens/token-map.js.map +1 -1
- package/dist/src/tokens/token-purposes.js +1 -259
- package/dist/src/tokens/token-purposes.js.map +1 -1
- package/dist/src/tokens/tokens.css +1 -1809
- package/dist/src/tokens/tokens.js +1 -1865
- package/dist/src/tokens/tokens.js.map +1 -1
- package/dist/src/tokens/type-ceiling-words.js +1 -293
- package/dist/src/tokens/type-ceiling-words.js.map +1 -1
- package/package.json +14 -3
- package/schemas/component-manifest.json +1 -1
- package/dist/src/components/icons/icons.js.map +0 -1
- package/dist/src/components/icons/marks.js.map +0 -1
- package/dist/src/components/shared/events.js.map +0 -1
- package/dist/src/components/stat/stat.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-card.js","
|
|
1
|
+
{"version":3,"file":"post-card.js","names":["_decorate","__decorate","html$1","HEADING_TAGS","TAGS","PostCard","LitElement","_args","tokens","postCardCSS","changed","isOneOf","text","tag","nothing","property","defineElement"],"sources":["../../../../src/components/post-card/post-card.ts"],"sourcesContent":["import { LitElement, nothing, type PropertyValues } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { html, literal } from \"lit/static-html.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { isOneOf } from \"#shared/prop-vocabulary.ts\";\nimport { tokens } from \"#tokens/tokens.ts\";\nimport \"#components/badge/badge.ts\";\nimport \"#components/icons/arrow-icon.ts\";\nimport { postCardCSS } from \"./post-card.css.ts\";\n\n/* Every level, as bd-audience-card, bd-partner-banner and\n bd-awards-spotlight take: the outline is the page's to compose. This took\n h2 to h5, and h1 or h6 rendered an h3 without a word. */\nconst HEADING_TAGS = [\"h1\", \"h2\", \"h3\", \"h4\", \"h5\", \"h6\"] as const;\ntype HeadingTag = typeof HEADING_TAGS[number];\nconst TAGS = {\n h1: literal`h1`, h2: literal`h2`, h3: literal`h3`, h4: literal`h4`, h5: literal`h5`, h6: literal`h6`\n} as const satisfies Record<HeadingTag, unknown>;\n\n/**\n * An article card for a feed of posts: a cover with a category badge laid\n * over it, the title and a \"Read more\" with an arrow. The homepage's Latest\n * insights; drawn in the foundation Figma file as Post card.\n *\n * One link per card. The title is the link and its box is stretched over the\n * whole card, so a click anywhere follows it; \"Read more\" is the visual cue\n * and is hidden from a screen reader, which would otherwise hear the same\n * destination twice per card, three cards a row.\n *\n * Not blog-related-articles, which lives in the blog sub-system outside the\n * token system and has no \"Read more\" and no row form. Between md and lg\n * the card is a row, the cover on the left.\n */\n@defineElement(\"bd-post-card\")\nexport class PostCard extends LitElement {\n static styles = [tokens, postCardCSS];\n\n @property({ type: String })\n href = \"\";\n @property({ type: String })\n heading = \"\";\n @property({ type: String })\n badge = \"\";\n @property({ type: String })\n image = \"\";\n // the cover illustrates the title beside it, so it is decorative by default\n @property({ type: String, attribute: \"image-alt\" })\n imageAlt = \"\";\n @property({ type: String, attribute: \"read-more\" })\n readMore = \"Read more\";\n @property({ type: String })\n as: HeadingTag = \"h3\";\n\n willUpdate(changed: PropertyValues<this>) {\n if (changed.has(\"as\") && !isOneOf(HEADING_TAGS, this.as)) this.as = \"h3\";\n }\n\n _renderHeading() {\n const text = this.href\n ? html`<a class=\"link\" href=\"${this.href}\">${this.heading}</a>`\n : this.heading;\n const tag = TAGS[this.as];\n return html`<${tag} class=\"heading\">${text}</${tag}>`;\n }\n\n render() {\n return html`\n <article class=\"card\">\n <div class=\"cover\">\n <slot name=\"image\">\n ${this.image ? html`<img src=\"${this.image}\" alt=\"${this.imageAlt}\" loading=\"lazy\">` : nothing}\n </slot>\n ${this.badge\n ? html`<bd-badge class=\"badge\" tone=\"info\" variant=\"shade\" size=\"sm\">${this.badge}</bd-badge>`\n : nothing}\n </div>\n <div class=\"body\">\n ${this._renderHeading()}\n ${this.href\n ? html`<span class=\"more\" aria-hidden=\"true\">${this.readMore}<bd-arrow-icon size=\"sm\"></bd-arrow-icon></span>`\n : nothing}\n </div>\n </article>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-post-card\": PostCard;\n }\n}\n"],"mappings":"A,yeAaA,IAAMG,EAAe,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,IAAI,EAElDC,EAAO,CACX,GAAI,CAAO,KAAM,GAAI,CAAO,KAAM,GAAI,CAAO,KAAM,GAAI,CAAO,KAAM,GAAI,CAAO,KAAM,GAAI,CAAO,IAClG,EAiBaC,EAAN,cAAuBC,CAAW,C,8BAIhC,KAAA,KAAA,GAEG,KAAA,QAAA,GAEF,KAAA,MAAA,GAEA,KAAA,MAAA,GAGG,KAAA,SAAA,GAEA,KAAA,SAAA,YAEM,KAAA,GAAA,I,QAhBD,KAAA,OAAA,CAACE,EAAQC,CAAW,C,CAkBpC,WAAW,EAA+B,CACpCC,EAAQ,IAAI,IAAI,GAAK,CAACC,EAAQR,EAAc,KAAK,EAAE,IAAG,KAAK,GAAK,KACtE,CAEA,gBAAiB,CACf,IAAMS,EAAO,KAAK,KACd,CAAI,yBAAyB,KAAK,KAAK,IAAI,KAAK,QAAQ,MACxD,KAAK,QACHC,EAAMT,EAAK,KAAK,IACtB,MAAO,EAAI,IAAIS,EAAI,mBAAmBD,EAAK,IAAIC,EAAI,EACrD,CAEA,QAAS,CACP,MAAO,EAAI;;;;cAID,KAAK,MAAQ,CAAI,aAAa,KAAK,MAAM,SAAS,KAAK,SAAS,mBAAqBC,EAAQ;;YAE/F,KAAK,MACH,CAAI,iEAAiE,KAAK,MAAM,aAChFA,EAAQ;;;YAGV,KAAK,eAAe,EAAE;YACtB,KAAK,KACH,CAAI,yCAAyC,KAAK,SAAS,kDAC3DA,EAAQ;;;KAIpB,CACF,EAhDGd,EAAA,CAAAe,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAV,EAAA,UAAA,OAAA,IAAA,EAAA,EAEzBL,EAAA,CAAAe,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAV,EAAA,UAAA,UAAA,IAAA,EAAA,EAEzBL,EAAA,CAAAe,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAV,EAAA,UAAA,QAAA,IAAA,EAAA,EAEzBL,EAAA,CAAAe,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAV,EAAA,UAAA,QAAA,IAAA,EAAA,EAGzBL,EAAA,CAAAe,EAAS,CAAE,KAAM,OAAQ,UAAW,WAAY,CAAC,CAAA,EAAAV,EAAA,UAAA,WAAA,IAAA,EAAA,EAEjDL,EAAA,CAAAe,EAAS,CAAE,KAAM,OAAQ,UAAW,WAAY,CAAC,CAAA,EAAAV,EAAA,UAAA,WAAA,IAAA,EAAA,EAEjDL,EAAA,CAAAe,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAV,EAAA,UAAA,KAAA,IAAA,EAAA,EAjB3B,EAAAL,EAAA,CAAAgB,EAAc,cAAc,CAAA,EAAAX,CAAA,E"}
|
|
@@ -1,19 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* The pricing elements that render into light DOM -- so a crawler reading the
|
|
3
|
-
* page, and the store filling it, find the prices in the document -- used to
|
|
4
|
-
* put a <style> copy of their stylesheet inside every card they rendered. The
|
|
5
|
-
* sheet now goes to the tree the element sits in once, adopted by its root:
|
|
6
|
-
* the document, or the shadow root of the section that renders the card. A
|
|
7
|
-
* card inside bd-pricing-container finds the sheet already there.
|
|
8
|
-
*/
|
|
9
|
-
export function adoptStyles(host, ...sheets) {
|
|
10
|
-
const root = host.getRootNode();
|
|
11
|
-
if (!("adoptedStyleSheets" in root))
|
|
12
|
-
return;
|
|
13
|
-
const missing = sheets
|
|
14
|
-
.map(sheet => sheet.styleSheet)
|
|
15
|
-
.filter((sheet) => !!sheet && !root.adoptedStyleSheets.includes(sheet));
|
|
16
|
-
if (missing.length)
|
|
17
|
-
root.adoptedStyleSheets = [...root.adoptedStyleSheets, ...missing];
|
|
18
|
-
}
|
|
1
|
+
function e(e,...t){let n=e.getRootNode();if(!(`adoptedStyleSheets`in n))return;let r=t.map(e=>e.styleSheet).filter(e=>!!e&&!n.adoptedStyleSheets.includes(e));r.length&&(n.adoptedStyleSheets=[...n.adoptedStyleSheets,...r])}export{e as adoptStyles};
|
|
19
2
|
//# sourceMappingURL=adopt-styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adopt-styles.js","
|
|
1
|
+
{"version":3,"file":"adopt-styles.js","names":["adoptStyles","sheets","root","host","missing","sheet"],"sources":["../../../../src/components/pricing-cards/adopt-styles.ts"],"sourcesContent":["import type { CSSResult } from \"lit\";\n\n/**\n * The pricing elements that render into light DOM -- so a crawler reading the\n * page, and the store filling it, find the prices in the document -- used to\n * put a <style> copy of their stylesheet inside every card they rendered. The\n * sheet now goes to the tree the element sits in once, adopted by its root:\n * the document, or the shadow root of the section that renders the card. A\n * card inside bd-pricing-container finds the sheet already there.\n */\nexport function adoptStyles(host: Node, ...sheets: CSSResult[]) {\n const root = host.getRootNode() as Node | DocumentOrShadowRoot;\n if (!(\"adoptedStyleSheets\" in root)) return;\n const missing = sheets\n .map(sheet => sheet.styleSheet)\n .filter((sheet): sheet is CSSStyleSheet => !!sheet && !root.adoptedStyleSheets.includes(sheet));\n if (missing.length) root.adoptedStyleSheets = [...root.adoptedStyleSheets, ...missing];\n}\n"],"mappings":"AAUA,SAAgBA,EAAY,EAAY,GAAGC,EAAqB,CAC9D,IAAMC,EAAOC,EAAK,YAAY,EAC9B,GAAI,EAAE,uBAAwBD,GAAO,OACrC,IAAME,EAAUH,EACb,IAAI,GAASI,EAAM,UAAU,CAAC,CAC9B,OAAQ,GAAkC,CAAC,CAACA,GAAS,CAACH,EAAK,mBAAmB,SAASG,CAAK,CAAC,EAC5FD,EAAQ,SAAQ,EAAK,mBAAqB,CAAC,GAAGF,EAAK,mBAAoB,GAAGE,CAAO,EACvF,C"}
|
|
@@ -1,57 +1,12 @@
|
|
|
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 "../badge/badge.js";
|
|
13
|
-
import newPricingCSS from "../pricing-cards/new-pricing.css.js";
|
|
14
|
-
let PricingCard = class PricingCard extends LitElement {
|
|
15
|
-
constructor() {
|
|
16
|
-
super(...arguments);
|
|
17
|
-
this.productId = "vsb";
|
|
18
|
-
this.devices = "5";
|
|
19
|
-
this.subscription = "1";
|
|
20
|
-
this.shadow = true;
|
|
21
|
-
}
|
|
22
|
-
static { this.styles = [newPricingCSS]; }
|
|
23
|
-
render() {
|
|
24
|
-
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"../badge/badge.js";import n from"./new-pricing.css.js";import{LitElement as r,html as i}from"lit";import{property as a}from"lit/decorators.js";var o=class extends r{constructor(...e){super(...e),this.productId=`vsb`,this.devices=`5`,this.subscription=`1`,this.shadow=!0}static{this.styles=[n]}render(){return i`
|
|
25
2
|
<div class="card-wrapper">
|
|
26
|
-
${this.highlight
|
|
27
|
-
|
|
28
|
-
: ""}
|
|
29
|
-
<div class="card ${this.highlight ? "highlight" : ""}">
|
|
3
|
+
${this.highlight?i`<div class="highlight-banner">Best Value</div>`:``}
|
|
4
|
+
<div class="card ${this.highlight?`highlight`:``}">
|
|
30
5
|
<slot name="header"></slot>
|
|
31
6
|
<slot name="pricing"></slot>
|
|
32
7
|
<slot name="actions"></slot>
|
|
33
8
|
<slot name="features"></slot>
|
|
34
9
|
</div>
|
|
35
10
|
</div>
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
__decorate([
|
|
40
|
-
property({ type: Boolean })
|
|
41
|
-
], PricingCard.prototype, "highlight", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
property({ type: String })
|
|
44
|
-
], PricingCard.prototype, "productId", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
property({ type: String })
|
|
47
|
-
], PricingCard.prototype, "devices", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
property({ type: String })
|
|
50
|
-
], PricingCard.prototype, "subscription", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
property({ type: Boolean, reflect: true })
|
|
53
|
-
], PricingCard.prototype, "shadow", void 0);
|
|
54
|
-
PricingCard = __decorate([
|
|
55
|
-
defineElement("new-pricing-card")
|
|
56
|
-
], PricingCard);
|
|
11
|
+
`}};t([a({type:Boolean})],o.prototype,`highlight`,void 0),t([a({type:String})],o.prototype,`productId`,void 0),t([a({type:String})],o.prototype,`devices`,void 0),t([a({type:String})],o.prototype,`subscription`,void 0),t([a({type:Boolean,reflect:!0})],o.prototype,`shadow`,void 0),o=t([e(`new-pricing-card`)],o);
|
|
57
12
|
//# sourceMappingURL=new-pricing-card.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new-pricing-card.js","
|
|
1
|
+
{"version":3,"file":"new-pricing-card.js","names":["newPricingCSS","_decorate","__decorate","new_pricing_css_default","PricingCard","LitElement","_args","property","defineElement"],"sources":["../../../../src/components/pricing-cards/new-pricing-card.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/badge/badge.ts\";\nimport newPricingCSS from \"#components/pricing-cards/new-pricing.css.ts\";\n\n@defineElement(\"new-pricing-card\")\nclass PricingCard extends LitElement {\n @property({ type: Boolean })\n highlight?: boolean;\n @property({ type: String })\n productId = \"vsb\";\n @property({ type: String })\n devices = \"5\";\n @property({ type: String })\n subscription = \"1\";\n @property({ type: Boolean, reflect: true })\n shadow = true;\n\n static styles = [newPricingCSS];\n\n render() {\n return html`\n <div class=\"card-wrapper\">\n ${this.highlight\n ? html`<div class=\"highlight-banner\">Best Value</div>`\n : \"\"}\n <div class=\"card ${this.highlight ? \"highlight\" : \"\"}\">\n <slot name=\"header\"></slot>\n <slot name=\"pricing\"></slot>\n <slot name=\"actions\"></slot>\n <slot name=\"features\"></slot>\n </div>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"new-pricing-card\": PricingCard;\n }\n}\n"],"mappings":"A,2TAQA,IACMI,EADN,cAC0BC,CAAW,C,8BAIvB,KAAA,UAAA,MAEF,KAAA,QAAA,IAEK,KAAA,aAAA,IAEN,KAAA,OAAA,E,QAEO,KAAA,OAAA,CAACL,CAAa,C,CAE9B,QAAS,CACP,MAAO,EAAI;;UAEL,KAAK,UACH,CAAI,iDACJ,GAAG;2BACY,KAAK,UAAY,YAAc,GAAG;;;;;;;KAQ3D,CACF,EA5BGC,EAAA,CAAAM,EAAS,CAAE,KAAM,OAAQ,CAAC,CAAA,EAAAH,EAAA,UAAA,YAAA,IAAA,EAAA,EAE1BH,EAAA,CAAAM,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAH,EAAA,UAAA,YAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAM,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAH,EAAA,UAAA,UAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAM,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAH,EAAA,UAAA,eAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAM,EAAS,CAAE,KAAM,QAAS,QAAS,EAAK,CAAC,CAAA,EAAAH,EAAA,UAAA,SAAA,IAAA,EAAA,EAV3C,EAAAH,EAAA,CAAAO,EAAc,kBAAkB,CAAA,EAAAJ,CAAA"}
|
|
@@ -1,75 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export default css `
|
|
3
|
-
|
|
4
|
-
.card {
|
|
5
|
-
border-radius: var(--card-radius);
|
|
6
|
-
padding: var(--card-padding);
|
|
7
|
-
/* The white above this was dead: the grey overrode it in the same rule. */
|
|
8
|
-
background: var(--color-surface-container);
|
|
9
|
-
/* border/container, not the private --border-card-grey alias, which
|
|
10
|
-
pointed at --color-neutral-50 and measured 1.07:1 against this card's
|
|
11
|
-
own ground. 1px was a literal too.
|
|
12
|
-
|
|
13
|
-
This card keeps surface/container rather than inverting like
|
|
14
|
-
pricing-card.css.ts: new-pricing-card has no wrapper of its own to
|
|
15
|
-
carry a band -- its container is pricing-card-container -- so going
|
|
16
|
-
white here without one would put a white card on a white page. The
|
|
17
|
-
edge is the half that is safe on its own, and it triples the delta to
|
|
18
|
-
1.233:1. */
|
|
19
|
-
border: var(--border-width-1) solid var(--color-border-container);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.highlight {
|
|
23
|
-
/* no role: no BORDER role carries green-700 -- --status-success-border is
|
|
24
|
-
green-200, four steps lighter. The fill and accent steps do carry it,
|
|
25
|
-
and both are the wrong category for an edge. */
|
|
26
|
-
border: 2px solid var(--color-green-700);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.highlight-wrapper {
|
|
30
|
-
position: relative;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.card-wrapper {
|
|
34
|
-
position: relative;
|
|
35
|
-
padding-top: 2.5rem;
|
|
36
|
-
max-width: 400px;
|
|
37
|
-
margin: 0 auto;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.highlight-banner {
|
|
41
|
-
position: absolute;
|
|
42
|
-
top: 1rem;
|
|
43
|
-
left: 50%;
|
|
44
|
-
transform: translate(-50%, -50%);
|
|
45
|
-
background-color: var(--status-success-fill);
|
|
46
|
-
color: var(--color-text-inverse);
|
|
47
|
-
font-weight: bold;
|
|
48
|
-
font-size: var(--typography-body-regular-fontSize);
|
|
49
|
-
text-align: center;
|
|
50
|
-
border-radius: var(--shape-radius-2xl) var(--shape-radius-2xl) 0 0;
|
|
51
|
-
z-index: var(--z-raised);
|
|
52
|
-
height: 48px;
|
|
53
|
-
width: 85%;
|
|
54
|
-
max-width: 360px;
|
|
55
|
-
min-width: 200px;
|
|
56
|
-
display: flex;
|
|
57
|
-
align-items: center;
|
|
58
|
-
justify-content: center;
|
|
59
|
-
font-family: var(--typography-fontFamily-sans);
|
|
60
|
-
box-sizing: border-box;
|
|
61
|
-
}
|
|
62
|
-
.actions {
|
|
63
|
-
display: flex;
|
|
64
|
-
flex-direction: column;
|
|
65
|
-
gap: 0.5rem;
|
|
66
|
-
margin-top: 1rem;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.hr-line {
|
|
70
|
-
border: none;
|
|
71
|
-
border-top: 1px solid var(--color-border-subtle);
|
|
72
|
-
margin: 1.5rem 0;
|
|
73
|
-
}
|
|
74
|
-
`;
|
|
1
|
+
import{css as e}from"lit";var t=e`.card{border-radius:var(--card-radius);padding:var(--card-padding);background:var(--color-surface-container);border:var(--border-width-1) solid var(--color-border-container)}.highlight{border:2px solid var(--color-green-700)}.highlight-wrapper{position:relative}.card-wrapper{max-width:400px;margin:0 auto;padding-top:2.5rem;position:relative}.highlight-banner{background-color:var(--status-success-fill);color:var(--color-text-inverse);font-weight:700;font-size:var(--typography-body-regular-fontSize);text-align:center;border-radius:var(--shape-radius-2xl) var(--shape-radius-2xl) 0 0;z-index:var(--z-raised);width:85%;min-width:200px;max-width:360px;height:48px;font-family:var(--typography-fontFamily-sans);box-sizing:border-box;justify-content:center;align-items:center;display:flex;position:absolute;top:1rem;left:50%;transform:translate(-50%,-50%)}.actions{flex-direction:column;gap:.5rem;margin-top:1rem;display:flex}.hr-line{border:none;border-top:1px solid var(--color-border-subtle);margin:1.5rem 0}`;export{t as default};
|
|
75
2
|
//# sourceMappingURL=new-pricing.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new-pricing.css.js","
|
|
1
|
+
{"version":3,"file":"new-pricing.css.js","names":["new_pricing_css_default"],"sources":["../../../../src/components/pricing-cards/new-pricing.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n\n .card {\n border-radius: var(--card-radius);\n padding: var(--card-padding);\n /* The white above this was dead: the grey overrode it in the same rule. */\n background: var(--color-surface-container);\n /* border/container, not the private --border-card-grey alias, which\n pointed at --color-neutral-50 and measured 1.07:1 against this card's\n own ground. 1px was a literal too.\n\n This card keeps surface/container rather than inverting like\n pricing-card.css.ts: new-pricing-card has no wrapper of its own to\n carry a band -- its container is pricing-card-container -- so going\n white here without one would put a white card on a white page. The\n edge is the half that is safe on its own, and it triples the delta to\n 1.233:1. */\n border: var(--border-width-1) solid var(--color-border-container);\n }\n\n .highlight {\n /* no role: no BORDER role carries green-700 -- --status-success-border is\n green-200, four steps lighter. The fill and accent steps do carry it,\n and both are the wrong category for an edge. */\n border: 2px solid var(--color-green-700);\n }\n\n .highlight-wrapper {\n position: relative;\n }\n\n .card-wrapper {\n position: relative;\n padding-top: 2.5rem;\n max-width: 400px;\n margin: 0 auto;\n}\n\n.highlight-banner {\n position: absolute;\n top: 1rem;\n left: 50%;\n transform: translate(-50%, -50%);\n background-color: var(--status-success-fill);\n color: var(--color-text-inverse);\n font-weight: bold;\n font-size: var(--typography-body-regular-fontSize);\n text-align: center;\n border-radius: var(--shape-radius-2xl) var(--shape-radius-2xl) 0 0;\n z-index: var(--z-raised);\n height: 48px;\n width: 85%;\n max-width: 360px;\n min-width: 200px;\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: var(--typography-fontFamily-sans);\n box-sizing: border-box;\n}\n .actions {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n margin-top: 1rem;\n }\n\n .hr-line {\n border: none;\n border-top: 1px solid var(--color-border-subtle);\n margin: 1.5rem 0;\n }\n`;\n"],"mappings":"A,0BAEA,IAAAA,EAAe,CAAG,q/B"}
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* Adopted by the document (or the shadow root the card sits in), so each
|
|
3
|
-
selector starts at the element; see pricing-card-pricing.css.ts. */
|
|
4
|
-
export default css `
|
|
5
|
-
pricing-card-actions .actions {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
gap: 0.5rem;
|
|
9
|
-
margin-top: 1rem;
|
|
10
|
-
}
|
|
11
|
-
`;
|
|
1
|
+
import{css as e}from"lit";var t=e`pricing-card-actions .actions{flex-direction:column;gap:.5rem;margin-top:1rem;display:flex}`;export{t as default};
|
|
12
2
|
//# sourceMappingURL=pricing-card-actions.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pricing-card-actions.css.js","
|
|
1
|
+
{"version":3,"file":"pricing-card-actions.css.js","names":["pricing_card_actions_css_default"],"sources":["../../../../src/components/pricing-cards/pricing-card-actions.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\n/* Adopted by the document (or the shadow root the card sits in), so each\n selector starts at the element; see pricing-card-pricing.css.ts. */\nexport default css`\n pricing-card-actions .actions {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n margin-top: 1rem;\n }\n`;\n"],"mappings":"A,0BAIA,IAAAA,EAAe,CAAG,8F"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LitElement, nothing } from "lit";
|
|
2
|
-
import "../../tokens/tokens.
|
|
3
|
-
import "../button/button.
|
|
2
|
+
import "../../tokens/tokens.js";
|
|
3
|
+
import "../button/button.js";
|
|
4
4
|
declare class PricingCardActions extends LitElement {
|
|
5
5
|
productId: string;
|
|
6
6
|
devices: string;
|
|
@@ -1,44 +1,4 @@
|
|
|
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, 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 "../button/button.js";
|
|
13
|
-
import newPricingActionsCSS from "../pricing-cards/pricing-card-actions.css.js";
|
|
14
|
-
import { adoptStyles } from "./adopt-styles.js";
|
|
15
|
-
let PricingCardActions = class PricingCardActions extends LitElement {
|
|
16
|
-
constructor() {
|
|
17
|
-
super(...arguments);
|
|
18
|
-
this.productId = "vsb"; // <- aici e corect
|
|
19
|
-
this.devices = "5";
|
|
20
|
-
this.subscription = "1";
|
|
21
|
-
this.dataLayerEvent = "info";
|
|
22
|
-
}
|
|
23
|
-
createRenderRoot() {
|
|
24
|
-
return this;
|
|
25
|
-
}
|
|
26
|
-
connectedCallback() {
|
|
27
|
-
super.connectedCallback();
|
|
28
|
-
adoptStyles(this, newPricingActionsCSS);
|
|
29
|
-
}
|
|
30
|
-
/* Every card's button reads "Buy Now", so a page's list of links held one
|
|
31
|
-
name three times. The card's product follows the visible words in the
|
|
32
|
-
accessible name, which keeps those words first (WCAG 2.5.3). The title is
|
|
33
|
-
the header's, read from the card this sits in. */
|
|
34
|
-
get _label() {
|
|
35
|
-
const title = this.closest("new-pricing-card")
|
|
36
|
-
?.querySelector("pricing-card-header")
|
|
37
|
-
?.getAttribute("title");
|
|
38
|
-
return title ? `Buy Now, ${title}` : nothing;
|
|
39
|
-
}
|
|
40
|
-
render() {
|
|
41
|
-
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"../button/button.js";import{adoptStyles as n}from"./adopt-styles.js";import r from"./pricing-card-actions.css.js";import{LitElement as i,html as a,nothing as o}from"lit";import{property as s}from"lit/decorators.js";var c=class extends i{constructor(...e){super(...e),this.productId=`vsb`,this.devices=`5`,this.subscription=`1`,this.dataLayerEvent=`info`}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),n(this,r)}get _label(){let e=this.closest(`new-pricing-card`)?.querySelector(`pricing-card-header`)?.getAttribute(`title`);return e?`Buy Now, ${e}`:o}render(){return a`
|
|
42
2
|
<bd-context ignore-events-parent>
|
|
43
3
|
<!-- AICI TREBUIE product-id CU CRATIMĂ! -->
|
|
44
4
|
<bd-product product-id="${this.productId}">
|
|
@@ -61,22 +21,5 @@ let PricingCardActions = class PricingCardActions extends LitElement {
|
|
|
61
21
|
</bd-option>
|
|
62
22
|
</bd-product>
|
|
63
23
|
</bd-context>
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
__decorate([
|
|
68
|
-
property({ type: String, attribute: "product-id" })
|
|
69
|
-
], PricingCardActions.prototype, "productId", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
property({ type: String })
|
|
72
|
-
], PricingCardActions.prototype, "devices", void 0);
|
|
73
|
-
__decorate([
|
|
74
|
-
property({ type: String })
|
|
75
|
-
], PricingCardActions.prototype, "subscription", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
property({ type: String })
|
|
78
|
-
], PricingCardActions.prototype, "dataLayerEvent", void 0);
|
|
79
|
-
PricingCardActions = __decorate([
|
|
80
|
-
defineElement("pricing-card-actions")
|
|
81
|
-
], PricingCardActions);
|
|
24
|
+
`}};t([s({type:String,attribute:`product-id`})],c.prototype,`productId`,void 0),t([s({type:String})],c.prototype,`devices`,void 0),t([s({type:String})],c.prototype,`subscription`,void 0),t([s({type:String})],c.prototype,`dataLayerEvent`,void 0),c=t([e(`pricing-card-actions`)],c);
|
|
82
25
|
//# sourceMappingURL=pricing-card-actions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pricing-card-actions.js","
|
|
1
|
+
{"version":3,"file":"pricing-card-actions.js","names":["newPricingActionsCSS","_decorate","__decorate","pricing_card_actions_css_default","PricingCardActions","LitElement","_args","adoptStyles","title","nothing","property","defineElement"],"sources":["../../../../src/components/pricing-cards/pricing-card-actions.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 \"#components/button/button.ts\";\nimport newPricingActionsCSS from \"#components/pricing-cards/pricing-card-actions.css.ts\";\nimport { adoptStyles } from \"./adopt-styles.ts\";\n\n@defineElement(\"pricing-card-actions\")\nclass PricingCardActions extends LitElement {\n @property({ type: String, attribute: \"product-id\" })\n productId = \"vsb\"; // <- aici e corect\n @property({ type: String })\n devices = \"5\";\n @property({ type: String })\n subscription = \"1\";\n @property({ type: String })\n dataLayerEvent = \"info\";\n\n createRenderRoot() {\n return this;\n }\n\n connectedCallback() {\n super.connectedCallback();\n adoptStyles(this, newPricingActionsCSS);\n }\n\n /* Every card's button reads \"Buy Now\", so a page's list of links held one\n name three times. The card's product follows the visible words in the\n accessible name, which keeps those words first (WCAG 2.5.3). The title is\n the header's, read from the card this sits in. */\n get _label() {\n const title = this.closest(\"new-pricing-card\")\n ?.querySelector(\"pricing-card-header\")\n ?.getAttribute(\"title\");\n return title ? `Buy Now, ${title}` : nothing;\n }\n\n render() {\n return html`\n <bd-context ignore-events-parent>\n <!-- AICI TREBUIE product-id CU CRATIMĂ! -->\n <bd-product product-id=\"${this.productId}\">\n <bd-option\n devices=\"${this.devices}\"\n subscription=\"${this.subscription}\"\n data-layer-event=\"${this.dataLayerEvent}\">\n\n <div class=\"actions\">\n <bd-button-link\n label=${this._label}\n variant=\"accent\"\n fullwidth\n buyLink\n >\n Buy Now\n </bd-button-link>\n </div>\n\n </bd-option>\n </bd-product>\n </bd-context>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"pricing-card-actions\": PricingCardActions;\n }\n}\n"],"mappings":"A,mYASA,IACMI,EADN,cACiCC,CAAW,C,8BAE9B,KAAA,UAAA,MAEF,KAAA,QAAA,IAEK,KAAA,aAAA,IAEE,KAAA,eAAA,M,CAEjB,kBAAmB,CACjB,OAAO,IACT,CAEA,mBAAoB,CAClB,MAAM,kBAAkB,EACxBE,EAAY,KAAMP,CAAoB,CACxC,CAMA,IAAI,QAAS,CACX,IAAMQ,EAAQ,KAAK,QAAQ,kBAAkB,CAAC,EAC1C,cAAc,qBAAqB,CAAC,EACpC,aAAa,OAAO,EACxB,OAAOA,EAAQ,YAAYA,IAAUC,CACvC,CAEA,QAAS,CACP,MAAO,EAAI;;;kCAGmB,KAAK,UAAU;;uBAE1B,KAAK,QAAQ;4BACR,KAAK,aAAa;gCACd,KAAK,eAAe;;;;wBAI5B,KAAK,OAAO;;;;;;;;;;;;KAalC,CACF,EAvDGR,EAAA,CAAAS,EAAS,CAAE,KAAM,OAAQ,UAAW,YAAa,CAAC,CAAA,EAAAN,EAAA,UAAA,YAAA,IAAA,EAAA,EAElDH,EAAA,CAAAS,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAN,EAAA,UAAA,UAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAS,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAN,EAAA,UAAA,eAAA,IAAA,EAAA,EAEzBH,EAAA,CAAAS,EAAS,CAAE,KAAM,MAAO,CAAC,CAAA,EAAAN,EAAA,UAAA,iBAAA,IAAA,EAAA,EAR3B,EAAAH,EAAA,CAAAU,EAAc,sBAAsB,CAAA,EAAAP,CAAA"}
|
|
@@ -1,42 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { below } from "../shared/token-scales.js";
|
|
3
|
-
export default css `
|
|
4
|
-
:host {
|
|
5
|
-
padding: 0px 240px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.cards-row {
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-wrap: wrap;
|
|
11
|
-
gap: 1rem;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
::slotted(new-pricing-card) {
|
|
15
|
-
flex: 1 1 100%;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/* 2 cards */
|
|
19
|
-
:host([count="2"]) ::slotted(new-pricing-card) {
|
|
20
|
-
flex: 1 1 calc(50% - 1rem);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
/* 3 cards */
|
|
24
|
-
:host([count="3"]) ::slotted(new-pricing-card) {
|
|
25
|
-
flex: 1 1 calc(33.333% - 1rem);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/* 4+ cards. Each selector needs its own ::slotted: the first two used to
|
|
29
|
-
style the container itself, so four or five cards never got a quarter. */
|
|
30
|
-
:host([count="4"]) ::slotted(new-pricing-card),
|
|
31
|
-
:host([count="5"]) ::slotted(new-pricing-card),
|
|
32
|
-
:host([count="6"]) ::slotted(new-pricing-card) {
|
|
33
|
-
flex: 1 1 calc(25% - 1rem);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@media ${unsafeCSS(below('md'))} {
|
|
37
|
-
::slotted(new-pricing-card) {
|
|
38
|
-
flex: 1 1 100%;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
`;
|
|
1
|
+
import"../shared/token-scales.js";import{css as e}from"lit";var t=e`:host{padding:0 240px}.cards-row{flex-wrap:wrap;gap:1rem;display:flex}::slotted(new-pricing-card){flex:100%}:host([count="2"]) ::slotted(new-pricing-card){flex:calc(50% - 1rem)}:host([count="3"]) ::slotted(new-pricing-card){flex:calc(33.333% - 1rem)}:host([count="4"]) ::slotted(new-pricing-card),:host([count="5"]) ::slotted(new-pricing-card),:host([count="6"]) ::slotted(new-pricing-card){flex:calc(25% - 1rem)}@media (width<768px){::slotted(new-pricing-card){flex:100%}}`;export{t as default};
|
|
42
2
|
//# sourceMappingURL=pricing-card-container.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pricing-card-container.css.js","
|
|
1
|
+
{"version":3,"file":"pricing-card-container.css.js","names":["pricing_card_container_css_default"],"sources":["../../../../src/components/pricing-cards/pricing-card-container.css.ts"],"sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"#shared/token-scales.ts\";\n\nexport default css`\n :host {\n padding: 0px 240px;\n }\n\n .cards-row {\n display: flex;\n flex-wrap: wrap;\n gap: 1rem;\n }\n\n ::slotted(new-pricing-card) {\n flex: 1 1 100%;\n }\n\n /* 2 cards */\n :host([count=\"2\"]) ::slotted(new-pricing-card) {\n flex: 1 1 calc(50% - 1rem);\n }\n\n /* 3 cards */\n :host([count=\"3\"]) ::slotted(new-pricing-card) {\n flex: 1 1 calc(33.333% - 1rem);\n }\n\n /* 4+ cards. Each selector needs its own ::slotted: the first two used to\n style the container itself, so four or five cards never got a quarter. */\n :host([count=\"4\"]) ::slotted(new-pricing-card),\n :host([count=\"5\"]) ::slotted(new-pricing-card),\n :host([count=\"6\"]) ::slotted(new-pricing-card) {\n flex: 1 1 calc(25% - 1rem);\n }\n\n @media ${unsafeCSS(below('md'))} {\n ::slotted(new-pricing-card) {\n flex: 1 1 100%;\n }\n }\n`;\n"],"mappings":"A,4DAGA,IAAAA,EAAe,CAAG,4d"}
|
|
@@ -1,44 +1,6 @@
|
|
|
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 newCardsContainerPricingCSS from "../pricing-cards/pricing-card-container.css.js";
|
|
13
|
-
let PricingCardsContainer = class PricingCardsContainer extends LitElement {
|
|
14
|
-
constructor() {
|
|
15
|
-
super(...arguments);
|
|
16
|
-
this.count = 0;
|
|
17
|
-
}
|
|
18
|
-
static { this.styles = [newCardsContainerPricingCSS]; }
|
|
19
|
-
/* Counted before the first render, and again whenever the cards change.
|
|
20
|
-
Counting in firstUpdated set the reflected count after the render it
|
|
21
|
-
styles, which is a second render -- Lit's change-in-update warning. */
|
|
22
|
-
willUpdate() {
|
|
23
|
-
if (!this.hasUpdated)
|
|
24
|
-
this._countCards();
|
|
25
|
-
}
|
|
26
|
-
_countCards() {
|
|
27
|
-
this.count = this.querySelectorAll("new-pricing-card").length;
|
|
28
|
-
}
|
|
29
|
-
render() {
|
|
30
|
-
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"./pricing-card-container.css.js";import{LitElement as r,html as i}from"lit";import{property as a}from"lit/decorators.js";var o=class extends r{constructor(...e){super(...e),this.count=0}static{this.styles=[n]}willUpdate(){this.hasUpdated||this._countCards()}_countCards(){this.count=this.querySelectorAll(`new-pricing-card`).length}render(){return i`
|
|
31
2
|
<div class="cards-row">
|
|
32
3
|
<slot @slotchange=${this._countCards}></slot>
|
|
33
4
|
</div>
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
__decorate([
|
|
38
|
-
property({ type: Number, reflect: true })
|
|
39
|
-
], PricingCardsContainer.prototype, "count", void 0);
|
|
40
|
-
PricingCardsContainer = __decorate([
|
|
41
|
-
defineElement("pricing-cards-container")
|
|
42
|
-
], PricingCardsContainer);
|
|
43
|
-
export { PricingCardsContainer };
|
|
5
|
+
`}};t([a({type:Number,reflect:!0})],o.prototype,`count`,void 0),o=t([e(`pricing-cards-container`)],o);export{o as PricingCardsContainer};
|
|
44
6
|
//# sourceMappingURL=pricing-card-container.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pricing-card-container.js","
|
|
1
|
+
{"version":3,"file":"pricing-card-container.js","names":["newCardsContainerPricingCSS","_decorate","__decorate","pricing_card_container_css_default","PricingCardsContainer","LitElement","_args","property","defineElement"],"sources":["../../../../src/components/pricing-cards/pricing-card-container.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 newCardsContainerPricingCSS from \"#components/pricing-cards/pricing-card-container.css.ts\";\n\n@defineElement(\"pricing-cards-container\")\nexport class PricingCardsContainer extends LitElement {\n static styles = [newCardsContainerPricingCSS];\n\n @property({ type: Number, reflect: true })\n count = 0;\n\n /* Counted before the first render, and again whenever the cards change.\n Counting in firstUpdated set the reflected count after the render it\n styles, which is a second render -- Lit's change-in-update warning. */\n willUpdate() {\n if (!this.hasUpdated) this._countCards();\n }\n\n _countCards() {\n this.count = this.querySelectorAll(\"new-pricing-card\").length;\n }\n\n render() {\n return html`\n <div class=\"cards-row\">\n <slot @slotchange=${this._countCards}></slot>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"pricing-cards-container\": PricingCardsContainer;\n }\n}\n"],"mappings":"A,4SAQO,IAAMI,EAAN,cAAoCC,CAAW,C,8BAI5C,KAAA,MAAA,C,QAHQ,KAAA,OAAA,CAACL,CAA2B,C,CAQ5C,YAAa,CACN,KAAK,YAAY,KAAK,YAAY,CACzC,CAEA,aAAc,CACZ,KAAK,MAAQ,KAAK,iBAAiB,kBAAkB,CAAC,CAAC,MACzD,CAEA,QAAS,CACP,MAAO,EAAI;;4BAEa,KAAK,YAAY;;KAG3C,CACF,EArBGC,EAAA,CAAAM,EAAS,CAAE,KAAM,OAAQ,QAAS,EAAK,CAAC,CAAA,EAAAH,EAAA,UAAA,QAAA,IAAA,EAAA,EAJ1C,EAAAH,EAAA,CAAAO,EAAc,yBAAyB,CAAA,EAAAJ,CAAA,E"}
|
|
@@ -1,83 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export default css `
|
|
3
|
-
:host {
|
|
4
|
-
font-family: var(--typography-fontFamily-sans);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.card-header {
|
|
8
|
-
text-align: center;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.card-title {
|
|
12
|
-
font-size: var(--typography-heading-h4-fontSize);
|
|
13
|
-
font-family: var(--typography-fontFamily-sans);
|
|
14
|
-
margin: 0;
|
|
15
|
-
text-align: start;
|
|
16
|
-
color: var(--color-text-primary);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/* its own line, as when it was a heading of its own */
|
|
20
|
-
.card-title-brand {
|
|
21
|
-
display: block;
|
|
22
|
-
font-family: var(--typography-fontFamily-sans);
|
|
23
|
-
font-weight: var(--typography-fontWeight-bold);
|
|
24
|
-
color: var(--color-text-primary);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* Stil pentru cuvântul "Plus" evidențiat */
|
|
28
|
-
.plus-text {
|
|
29
|
-
color: var(--color-text-brand);
|
|
30
|
-
font-weight: var(--typography-fontWeight-bold);
|
|
31
|
-
font-family: var(--typography-fontFamily-sans);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.badge {
|
|
35
|
-
display: inline-flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
gap: 0.25rem;
|
|
38
|
-
font-weight: bold;
|
|
39
|
-
/* The brand tint as a badge ground. bd-badge's brand variant is this exact
|
|
40
|
-
pair (badge.css.ts:71-72) and tokens.ts names the step for the job:
|
|
41
|
-
-surface is the light tint. Value-identical at #f0f7ff. */
|
|
42
|
-
background: var(--status-brand-surface);
|
|
43
|
-
padding: 0.25rem 0.5rem;
|
|
44
|
-
border-radius: var(--shape-radius-sm);
|
|
45
|
-
margin: 0.5rem 0;
|
|
46
|
-
font-size: 0.875rem;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.badge-icon {
|
|
50
|
-
height: 1rem;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.badge-subtitle {
|
|
54
|
-
font-size: var(--typography-body-regular-fontSize);
|
|
55
|
-
text-align: start;
|
|
56
|
-
font-family: var(--typography-fontFamily-sans);
|
|
57
|
-
color: var(--color-text-primary);
|
|
58
|
-
margin: 0;
|
|
59
|
-
margin-bottom: var(--spacing-16);
|
|
60
|
-
margin-top: -8px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.hr-line {
|
|
64
|
-
border: none;
|
|
65
|
-
border-top: 1px solid var(--color-border-subtle);
|
|
66
|
-
margin: 1rem 0;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.badge-wrapper {
|
|
70
|
-
text-align: start;
|
|
71
|
-
margin-top: var(--spacing-8);
|
|
72
|
-
margin-bottom: var(--spacing-8);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.badge-wrapper.multiple {
|
|
76
|
-
display: flex;
|
|
77
|
-
flex-wrap: wrap;
|
|
78
|
-
gap: var(--spacing-8);
|
|
79
|
-
margin-top: var(--spacing-8);
|
|
80
|
-
margin-bottom: var(--spacing-8);
|
|
81
|
-
}
|
|
82
|
-
`;
|
|
1
|
+
import{css as e}from"lit";var t=e`:host{font-family:var(--typography-fontFamily-sans)}.card-header{text-align:center}.card-title{font-size:var(--typography-heading-h4-fontSize);font-family:var(--typography-fontFamily-sans);text-align:start;color:var(--color-text-primary);margin:0}.card-title-brand{font-family:var(--typography-fontFamily-sans);font-weight:var(--typography-fontWeight-bold);color:var(--color-text-primary);display:block}.plus-text{color:var(--color-text-brand);font-weight:var(--typography-fontWeight-bold);font-family:var(--typography-fontFamily-sans)}.badge{background:var(--status-brand-surface);border-radius:var(--shape-radius-sm);align-items:center;gap:.25rem;margin:.5rem 0;padding:.25rem .5rem;font-size:.875rem;font-weight:700;display:inline-flex}.badge-icon{height:1rem}.badge-subtitle{font-size:var(--typography-body-regular-fontSize);text-align:start;font-family:var(--typography-fontFamily-sans);color:var(--color-text-primary);margin:0;margin-bottom:var(--spacing-16);margin-top:-8px}.hr-line{border:none;border-top:1px solid var(--color-border-subtle);margin:1rem 0}.badge-wrapper{text-align:start;margin-top:var(--spacing-8);margin-bottom:var(--spacing-8)}.badge-wrapper.multiple{gap:var(--spacing-8);margin-top:var(--spacing-8);margin-bottom:var(--spacing-8);flex-wrap:wrap;display:flex}`;export{t as default};
|
|
83
2
|
//# sourceMappingURL=pricing-card-header.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pricing-card-header.css.js","
|
|
1
|
+
{"version":3,"file":"pricing-card-header.css.js","names":["pricing_card_header_css_default"],"sources":["../../../../src/components/pricing-cards/pricing-card-header.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n :host {\n font-family: var(--typography-fontFamily-sans);\n }\n\n .card-header {\n text-align: center;\n }\n\n .card-title {\n font-size: var(--typography-heading-h4-fontSize);\n font-family: var(--typography-fontFamily-sans);\n margin: 0;\n text-align: start;\n color: var(--color-text-primary);\n }\n\n /* its own line, as when it was a heading of its own */\n .card-title-brand {\n display: block;\n font-family: var(--typography-fontFamily-sans);\n font-weight: var(--typography-fontWeight-bold);\n color: var(--color-text-primary);\n }\n\n /* Stil pentru cuvântul \"Plus\" evidențiat */\n .plus-text {\n color: var(--color-text-brand);\n font-weight: var(--typography-fontWeight-bold);\n font-family: var(--typography-fontFamily-sans);\n }\n\n .badge {\n display: inline-flex;\n align-items: center;\n gap: 0.25rem;\n font-weight: bold;\n /* The brand tint as a badge ground. bd-badge's brand variant is this exact\n pair (badge.css.ts:71-72) and tokens.ts names the step for the job:\n -surface is the light tint. Value-identical at #f0f7ff. */\n background: var(--status-brand-surface);\n padding: 0.25rem 0.5rem;\n border-radius: var(--shape-radius-sm);\n margin: 0.5rem 0;\n font-size: 0.875rem;\n }\n\n .badge-icon {\n height: 1rem;\n }\n\n .badge-subtitle {\n font-size: var(--typography-body-regular-fontSize);\n text-align: start;\n font-family: var(--typography-fontFamily-sans);\n color: var(--color-text-primary);\n margin: 0;\n margin-bottom: var(--spacing-16);\n margin-top: -8px;\n }\n\n .hr-line {\n border: none;\n border-top: 1px solid var(--color-border-subtle);\n margin: 1rem 0;\n }\n\n .badge-wrapper {\n text-align: start;\n margin-top: var(--spacing-8);\n margin-bottom: var(--spacing-8);\n }\n\n .badge-wrapper.multiple {\n display: flex;\n flex-wrap: wrap;\n gap: var(--spacing-8);\n margin-top: var(--spacing-8);\n margin-bottom: var(--spacing-8);\n }\n`;"],"mappings":"A,0BAEA,IAAAA,EAAe,CAAG,0wC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LitElement } from "lit";
|
|
2
|
-
import "../../tokens/tokens.
|
|
3
|
-
import "../badge/badge.
|
|
4
|
-
import "../divider/divider-horizontal.
|
|
5
|
-
import "../heading/heading.
|
|
6
|
-
import "../paragraph/paragraph.
|
|
2
|
+
import "../../tokens/tokens.js";
|
|
3
|
+
import "../badge/badge.js";
|
|
4
|
+
import "../divider/divider-horizontal.js";
|
|
5
|
+
import "../heading/heading.js";
|
|
6
|
+
import "../paragraph/paragraph.js";
|
|
7
7
|
declare class PricingCardHeader extends LitElement {
|
|
8
8
|
static styles: import("lit").CSSResult[];
|
|
9
9
|
title: string;
|