@repobit/dex-system-design 2.7.0 → 3.0.0
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 +44 -0
- package/README.md +10 -3
- package/dist/src/components/accordion/accordion-bg.css.d.ts +2 -0
- package/dist/src/components/accordion/accordion-bg.css.js +289 -0
- package/dist/src/components/accordion/accordion-bg.css.js.map +1 -0
- package/dist/src/components/accordion/accordion-bg.d.ts +52 -0
- package/dist/src/components/accordion/accordion-bg.js +271 -0
- package/dist/src/components/accordion/accordion-bg.js.map +1 -0
- package/dist/src/components/accordion/accordion-keyboard.d.ts +46 -0
- package/dist/src/components/accordion/accordion-keyboard.js +90 -0
- package/dist/src/components/accordion/accordion-keyboard.js.map +1 -0
- package/dist/src/components/accordion/accordion-panel.d.ts +22 -0
- package/dist/src/components/accordion/accordion-panel.js +23 -0
- package/dist/src/components/accordion/accordion-panel.js.map +1 -0
- package/dist/src/components/accordion/accordion.css.d.ts +2 -0
- package/dist/src/components/accordion/accordion.css.js +381 -0
- package/dist/src/components/accordion/accordion.css.js.map +1 -0
- package/dist/src/components/accordion/accordion.d.ts +39 -0
- package/dist/src/components/accordion/accordion.js +190 -0
- package/dist/src/components/accordion/accordion.js.map +1 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.css.d.ts +2 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js +89 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +29 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.js +106 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -0
- package/dist/src/components/alert/alert.css.d.ts +38 -0
- package/dist/src/components/alert/alert.css.js +218 -0
- package/dist/src/components/alert/alert.css.js.map +1 -0
- package/dist/src/components/alert/alert.d.ts +55 -0
- package/dist/src/components/alert/alert.js +132 -0
- package/dist/src/components/alert/alert.js.map +1 -0
- package/dist/src/components/anchor/anchor-nav.css.d.ts +1 -0
- package/dist/src/components/anchor/anchor-nav.css.js +547 -0
- package/dist/src/components/anchor/anchor-nav.css.js.map +1 -0
- package/dist/src/components/anchor/anchor-nav.d.ts +85 -0
- package/dist/src/components/anchor/anchor-nav.js +611 -0
- package/dist/src/components/anchor/anchor-nav.js.map +1 -0
- package/dist/src/components/annotation/annotation.css.d.ts +3 -0
- package/dist/src/components/annotation/annotation.css.js +65 -0
- package/dist/src/components/annotation/annotation.css.js.map +1 -0
- package/dist/src/components/annotation/annotation.d.ts +28 -0
- package/dist/src/components/annotation/annotation.js +75 -0
- package/dist/src/components/annotation/annotation.js.map +1 -0
- package/dist/src/components/audience-card/audience-card.css.d.ts +1 -0
- package/dist/src/components/audience-card/audience-card.css.js +123 -0
- package/dist/src/components/audience-card/audience-card.css.js.map +1 -0
- package/dist/src/components/audience-card/audience-card.d.ts +38 -0
- package/dist/src/components/audience-card/audience-card.js +94 -0
- package/dist/src/components/audience-card/audience-card.js.map +1 -0
- package/dist/src/components/avatar/avatar.css.d.ts +3 -0
- package/dist/src/components/avatar/avatar.css.js +66 -0
- package/dist/src/components/avatar/avatar.css.js.map +1 -0
- package/dist/src/components/avatar/avatar.d.ts +18 -0
- package/dist/src/components/avatar/avatar.js +81 -0
- package/dist/src/components/avatar/avatar.js.map +1 -0
- package/dist/src/components/awards/awards-flex.css.d.ts +1 -0
- package/dist/src/components/awards/awards-flex.css.js +274 -0
- package/dist/src/components/awards/awards-flex.css.js.map +1 -0
- package/dist/src/components/awards/awards-flex.d.ts +64 -0
- package/dist/src/components/awards/awards-flex.js +299 -0
- package/dist/src/components/awards/awards-flex.js.map +1 -0
- package/dist/src/components/awards/awards-spotlight.css.d.ts +1 -0
- package/dist/src/components/awards/awards-spotlight.css.js +162 -0
- package/dist/src/components/awards/awards-spotlight.css.js.map +1 -0
- package/dist/src/components/awards/awards-spotlight.d.ts +59 -0
- package/dist/src/components/awards/awards-spotlight.js +167 -0
- package/dist/src/components/awards/awards-spotlight.js.map +1 -0
- package/dist/src/components/awards/awards.css.d.ts +1 -0
- package/dist/src/components/awards/awards.css.js +402 -0
- package/dist/src/components/awards/awards.css.js.map +1 -0
- package/dist/src/components/awards/awards.d.ts +79 -0
- package/dist/src/components/awards/awards.js +215 -0
- package/dist/src/components/awards/awards.js.map +1 -0
- package/dist/src/components/awards/scroll-slides.d.ts +55 -0
- package/dist/src/components/awards/scroll-slides.js +132 -0
- package/dist/src/components/awards/scroll-slides.js.map +1 -0
- package/dist/src/components/back/back.css.d.ts +2 -0
- package/dist/src/components/back/back.css.js +92 -0
- package/dist/src/components/back/back.css.js.map +1 -0
- package/dist/src/components/back/back.d.ts +29 -0
- package/dist/src/components/back/back.js +81 -0
- package/dist/src/components/back/back.js.map +1 -0
- package/dist/src/components/badge/badge.css.d.ts +7 -0
- package/dist/src/components/badge/badge.css.js +205 -0
- package/dist/src/components/badge/badge.css.js.map +1 -0
- package/dist/src/components/badge/badge.d.ts +37 -0
- package/dist/src/components/badge/badge.js +122 -0
- package/dist/src/components/badge/badge.js.map +1 -0
- package/dist/src/components/bento-grid/bento-grid.css.d.ts +10 -0
- package/dist/src/components/bento-grid/bento-grid.css.js +162 -0
- package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -0
- package/dist/src/components/bento-grid/bento-grid.d.ts +32 -0
- package/dist/src/components/bento-grid/bento-grid.js +209 -0
- package/dist/src/components/bento-grid/bento-grid.js.map +1 -0
- package/dist/src/components/bento-grid/bento-item.css.d.ts +2 -0
- package/dist/src/components/bento-grid/bento-item.css.js +339 -0
- package/dist/src/components/bento-grid/bento-item.css.js.map +1 -0
- package/dist/src/components/bento-grid/bento-item.d.ts +26 -0
- package/dist/src/components/bento-grid/bento-item.js +114 -0
- package/dist/src/components/bento-grid/bento-item.js.map +1 -0
- package/dist/src/components/blockquote/blockquote.css.d.ts +3 -0
- package/dist/src/components/blockquote/blockquote.css.js +55 -0
- package/dist/src/components/blockquote/blockquote.css.js.map +1 -0
- package/dist/src/components/blockquote/blockquote.d.ts +13 -0
- package/dist/src/components/blockquote/blockquote.js +45 -0
- package/dist/src/components/blockquote/blockquote.js.map +1 -0
- package/dist/src/components/breadcrumb/breadcrumb.css.d.ts +2 -0
- package/dist/src/components/breadcrumb/breadcrumb.css.js +169 -0
- package/dist/src/components/breadcrumb/breadcrumb.css.js.map +1 -0
- package/dist/src/components/breadcrumb/breadcrumb.d.ts +44 -0
- package/dist/src/components/breadcrumb/breadcrumb.js +177 -0
- package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/src/components/button/button.css.d.ts +12 -0
- package/dist/src/components/button/button.css.js +844 -0
- package/dist/src/components/button/button.css.js.map +1 -0
- package/dist/src/components/button/button.d.ts +139 -0
- package/dist/src/components/button/button.js +444 -0
- package/dist/src/components/button/button.js.map +1 -0
- package/dist/src/components/caption/caption.css.d.ts +3 -0
- package/dist/src/components/caption/caption.css.js +30 -0
- package/dist/src/components/caption/caption.css.js.map +1 -0
- package/dist/src/components/caption/caption.d.ts +14 -0
- package/dist/src/components/caption/caption.js +38 -0
- package/dist/src/components/caption/caption.js.map +1 -0
- package/dist/src/components/card-features/card-features.css.d.ts +2 -0
- package/dist/src/components/card-features/card-features.css.js +121 -0
- package/dist/src/components/card-features/card-features.css.js.map +1 -0
- package/dist/src/components/card-features/card-features.d.ts +43 -0
- package/dist/src/components/card-features/card-features.js +170 -0
- package/dist/src/components/card-features/card-features.js.map +1 -0
- package/dist/src/components/cards/card.css.d.ts +2 -0
- package/dist/src/components/cards/card.css.js +370 -0
- package/dist/src/components/cards/card.css.js.map +1 -0
- package/dist/src/components/cards/card.d.ts +61 -0
- package/dist/src/components/cards/card.js +345 -0
- package/dist/src/components/cards/card.js.map +1 -0
- package/dist/src/components/carousel/carousel.css.d.ts +2 -0
- package/dist/src/components/carousel/carousel.css.js +262 -0
- package/dist/src/components/carousel/carousel.css.js.map +1 -0
- package/dist/src/components/carousel/carousel.d.ts +66 -0
- package/dist/src/components/carousel/carousel.js +334 -0
- package/dist/src/components/carousel/carousel.js.map +1 -0
- package/dist/src/components/checkbox/checkbox.css.d.ts +11 -0
- package/dist/src/components/checkbox/checkbox.css.js +174 -0
- package/dist/src/components/checkbox/checkbox.css.js.map +1 -0
- package/dist/src/components/checkbox/checkbox.d.ts +35 -0
- package/dist/src/components/checkbox/checkbox.js +153 -0
- package/dist/src/components/checkbox/checkbox.js.map +1 -0
- package/dist/src/components/code/code.css.d.ts +3 -0
- package/dist/src/components/code/code.css.js +74 -0
- package/dist/src/components/code/code.css.js.map +1 -0
- package/dist/src/components/code/code.d.ts +21 -0
- package/dist/src/components/code/code.js +89 -0
- package/dist/src/components/code/code.js.map +1 -0
- package/dist/src/components/compare/compare.css.d.ts +2 -0
- package/dist/src/components/compare/compare.css.js +479 -0
- package/dist/src/components/compare/compare.css.js.map +1 -0
- package/dist/src/components/compare/compare.d.ts +79 -0
- package/dist/src/components/compare/compare.js +575 -0
- package/dist/src/components/compare/compare.js.map +1 -0
- package/dist/src/components/comparison-panel/comparison-panel.css.d.ts +2 -0
- package/dist/src/components/comparison-panel/comparison-panel.css.js +142 -0
- package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -0
- package/dist/src/components/comparison-panel/comparison-panel.d.ts +23 -0
- package/dist/src/components/comparison-panel/comparison-panel.js +121 -0
- package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -0
- package/dist/src/components/compatibility-table/compatibility-table.css.d.ts +2 -0
- package/dist/src/components/compatibility-table/compatibility-table.css.js +392 -0
- package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -0
- package/dist/src/components/compatibility-table/compatibility-table.d.ts +51 -0
- package/dist/src/components/compatibility-table/compatibility-table.js +177 -0
- package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -0
- package/dist/src/components/cta-banner/cta-banner.css.d.ts +2 -0
- package/dist/src/components/cta-banner/cta-banner.css.js +98 -0
- package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -0
- package/dist/src/components/cta-banner/cta-banner.d.ts +16 -0
- package/dist/src/components/cta-banner/cta-banner.js +77 -0
- package/dist/src/components/cta-banner/cta-banner.js.map +1 -0
- package/dist/src/components/display/display.css.d.ts +2 -0
- package/dist/src/components/display/display.css.js +96 -0
- package/dist/src/components/display/display.css.js.map +1 -0
- package/dist/src/components/display/display.d.ts +23 -0
- package/dist/src/components/display/display.js +87 -0
- package/dist/src/components/display/display.js.map +1 -0
- package/dist/src/components/divider/divider-horizontal.d.ts +15 -0
- package/dist/src/components/divider/divider-horizontal.js +70 -0
- package/dist/src/components/divider/divider-horizontal.js.map +1 -0
- package/dist/src/components/divider/divider-vertical.d.ts +16 -0
- package/dist/src/components/divider/divider-vertical.js +67 -0
- package/dist/src/components/divider/divider-vertical.js.map +1 -0
- package/dist/src/components/divider/divider.css.d.ts +2 -0
- package/dist/src/components/divider/divider.css.js +21 -0
- package/dist/src/components/divider/divider.css.js.map +1 -0
- package/dist/src/components/dropdown/dropdown.css.d.ts +9 -0
- package/dist/src/components/dropdown/dropdown.css.js +122 -0
- package/dist/src/components/dropdown/dropdown.css.js.map +1 -0
- package/dist/src/components/dropdown/dropdown.d.ts +49 -0
- package/dist/src/components/dropdown/dropdown.js +302 -0
- package/dist/src/components/dropdown/dropdown.js.map +1 -0
- package/dist/src/components/features/features.css.d.ts +2 -0
- package/dist/src/components/features/features.css.js +124 -0
- package/dist/src/components/features/features.css.js.map +1 -0
- package/dist/src/components/features/features.d.ts +21 -0
- package/dist/src/components/features/features.js +88 -0
- package/dist/src/components/features/features.js.map +1 -0
- package/dist/src/components/features-tab/features-tab.css.d.ts +2 -0
- package/dist/src/components/features-tab/features-tab.css.js +101 -0
- package/dist/src/components/features-tab/features-tab.css.js.map +1 -0
- package/dist/src/components/features-tab/features-tab.d.ts +21 -0
- package/dist/src/components/features-tab/features-tab.js +87 -0
- package/dist/src/components/features-tab/features-tab.js.map +1 -0
- package/dist/src/components/fieldset/fieldset.css.d.ts +3 -0
- package/dist/src/components/fieldset/fieldset.css.js +29 -0
- package/dist/src/components/fieldset/fieldset.css.js.map +1 -0
- package/dist/src/components/fieldset/fieldset.d.ts +12 -0
- package/dist/src/components/fieldset/fieldset.js +35 -0
- package/dist/src/components/fieldset/fieldset.js.map +1 -0
- package/dist/src/components/footer/footer-images.d.ts +3 -0
- package/dist/src/components/footer/footer-images.js +31 -0
- package/dist/src/components/footer/footer-images.js.map +1 -0
- package/dist/src/components/footer/footer-links-group.css.d.ts +2 -0
- package/dist/src/components/footer/footer-links-group.css.js +34 -0
- package/dist/src/components/footer/footer-links-group.css.js.map +1 -0
- package/dist/src/components/footer/footer-links-group.d.ts +13 -0
- package/dist/src/components/footer/footer-links-group.js +34 -0
- package/dist/src/components/footer/footer-links-group.js.map +1 -0
- package/dist/src/components/footer/footer-locale.d.ts +3 -0
- package/dist/src/components/footer/footer-locale.js +46 -0
- package/dist/src/components/footer/footer-locale.js.map +1 -0
- package/dist/src/components/footer/footer-lp.d.ts +26 -0
- package/dist/src/components/footer/footer-lp.js +158 -0
- package/dist/src/components/footer/footer-lp.js.map +1 -0
- package/dist/src/components/footer/footer-nav-menu.css.d.ts +2 -0
- package/dist/src/components/footer/footer-nav-menu.css.js +62 -0
- package/dist/src/components/footer/footer-nav-menu.css.js.map +1 -0
- package/dist/src/components/footer/footer-nav-menu.d.ts +14 -0
- package/dist/src/components/footer/footer-nav-menu.js +50 -0
- package/dist/src/components/footer/footer-nav-menu.js.map +1 -0
- package/dist/src/components/footer/footer.css.d.ts +2 -0
- package/dist/src/components/footer/footer.css.js +665 -0
- package/dist/src/components/footer/footer.css.js.map +1 -0
- package/dist/src/components/footer/footer.d.ts +53 -0
- package/dist/src/components/footer/footer.js +418 -0
- package/dist/src/components/footer/footer.js.map +1 -0
- package/dist/src/components/footer/localeMap.d.ts +1 -0
- package/dist/src/components/footer/localeMap.js +2 -0
- package/dist/src/components/footer/localeMap.js.map +1 -0
- package/dist/src/components/grid/grid.css.d.ts +2 -0
- package/dist/src/components/grid/grid.css.js +79 -0
- package/dist/src/components/grid/grid.css.js.map +1 -0
- package/dist/src/components/grid/grid.d.ts +27 -0
- package/dist/src/components/grid/grid.js +139 -0
- package/dist/src/components/grid/grid.js.map +1 -0
- package/dist/src/components/header/header-code.css.d.ts +2 -0
- package/dist/src/components/header/header-code.css.js +370 -0
- package/dist/src/components/header/header-code.css.js.map +1 -0
- package/dist/src/components/header/header-code.d.ts +49 -0
- package/dist/src/components/header/header-code.js +228 -0
- package/dist/src/components/header/header-code.js.map +1 -0
- package/dist/src/components/header/header.css.d.ts +2 -0
- package/dist/src/components/header/header.css.js +758 -0
- package/dist/src/components/header/header.css.js.map +1 -0
- package/dist/src/components/header/header.d.ts +32 -0
- package/dist/src/components/header/header.js +373 -0
- package/dist/src/components/header/header.js.map +1 -0
- package/dist/src/components/heading/heading.css.d.ts +2 -0
- package/dist/src/components/heading/heading.css.js +90 -0
- package/dist/src/components/heading/heading.css.js.map +1 -0
- package/dist/src/components/heading/heading.d.ts +42 -0
- package/dist/src/components/heading/heading.js +109 -0
- package/dist/src/components/heading/heading.js.map +1 -0
- package/dist/src/components/help-text/help-text.css.d.ts +3 -0
- package/dist/src/components/help-text/help-text.css.js +20 -0
- package/dist/src/components/help-text/help-text.css.js.map +1 -0
- package/dist/src/components/help-text/help-text.d.ts +14 -0
- package/dist/src/components/help-text/help-text.js +32 -0
- package/dist/src/components/help-text/help-text.js.map +1 -0
- package/dist/src/components/hero/hero.css.d.ts +1 -0
- package/dist/src/components/hero/hero.css.js +363 -0
- package/dist/src/components/hero/hero.css.js.map +1 -0
- package/dist/src/components/hero/hero.d.ts +58 -0
- package/dist/src/components/hero/hero.js +198 -0
- package/dist/src/components/hero/hero.js.map +1 -0
- package/dist/src/components/highlight/highlight.css.d.ts +2 -0
- package/dist/src/components/highlight/highlight.css.js +176 -0
- package/dist/src/components/highlight/highlight.css.js.map +1 -0
- package/dist/src/components/highlight/highlight.d.ts +21 -0
- package/dist/src/components/highlight/highlight.js +116 -0
- package/dist/src/components/highlight/highlight.js.map +1 -0
- package/dist/src/components/icons/analysis-icon.d.ts +11 -0
- package/dist/src/components/icons/analysis-icon.js +24 -0
- package/dist/src/components/icons/analysis-icon.js.map +1 -0
- package/dist/src/components/icons/arrow-down-icon.d.ts +11 -0
- package/dist/src/components/icons/arrow-down-icon.js +24 -0
- package/dist/src/components/icons/arrow-down-icon.js.map +1 -0
- package/dist/src/components/icons/arrow-icon.d.ts +37 -0
- package/dist/src/components/icons/arrow-icon.js +52 -0
- package/dist/src/components/icons/arrow-icon.js.map +1 -0
- package/dist/src/components/icons/arrow-right-icon.d.ts +34 -0
- package/dist/src/components/icons/arrow-right-icon.js +49 -0
- package/dist/src/components/icons/arrow-right-icon.js.map +1 -0
- package/dist/src/components/icons/arrow-up-icon.d.ts +24 -0
- package/dist/src/components/icons/arrow-up-icon.js +37 -0
- package/dist/src/components/icons/arrow-up-icon.js.map +1 -0
- package/dist/src/components/icons/av-comparatives-icon.d.ts +13 -0
- package/dist/src/components/icons/av-comparatives-icon.js +42 -0
- package/dist/src/components/icons/av-comparatives-icon.js.map +1 -0
- package/dist/src/components/icons/bd-ai-icon.d.ts +13 -0
- package/dist/src/components/icons/bd-ai-icon.js +35 -0
- package/dist/src/components/icons/bd-ai-icon.js.map +1 -0
- package/dist/src/components/icons/best-brands-icon.d.ts +13 -0
- package/dist/src/components/icons/best-brands-icon.js +44 -0
- package/dist/src/components/icons/best-brands-icon.js.map +1 -0
- package/dist/src/components/icons/brand-signature-icon.d.ts +37 -0
- package/dist/src/components/icons/brand-signature-icon.js +50 -0
- package/dist/src/components/icons/brand-signature-icon.js.map +1 -0
- package/dist/src/components/icons/check-icon.d.ts +22 -0
- package/dist/src/components/icons/check-icon.js +35 -0
- package/dist/src/components/icons/check-icon.js.map +1 -0
- package/dist/src/components/icons/circle-info-icon.d.ts +26 -0
- package/dist/src/components/icons/circle-info-icon.js +41 -0
- package/dist/src/components/icons/circle-info-icon.js.map +1 -0
- package/dist/src/components/icons/close-icon.d.ts +11 -0
- package/dist/src/components/icons/close-icon.js +24 -0
- package/dist/src/components/icons/close-icon.js.map +1 -0
- package/dist/src/components/icons/enterprise-icon.d.ts +11 -0
- package/dist/src/components/icons/enterprise-icon.js +26 -0
- package/dist/src/components/icons/enterprise-icon.js.map +1 -0
- package/dist/src/components/icons/family-icon.d.ts +11 -0
- package/dist/src/components/icons/family-icon.js +26 -0
- package/dist/src/components/icons/family-icon.js.map +1 -0
- package/dist/src/components/icons/globe-icon.d.ts +11 -0
- package/dist/src/components/icons/globe-icon.js +24 -0
- package/dist/src/components/icons/globe-icon.js.map +1 -0
- package/dist/src/components/icons/guide-icon.d.ts +11 -0
- package/dist/src/components/icons/guide-icon.js +24 -0
- package/dist/src/components/icons/guide-icon.js.map +1 -0
- package/dist/src/components/icons/home-icon.d.ts +11 -0
- package/dist/src/components/icons/home-icon.js +26 -0
- package/dist/src/components/icons/home-icon.js.map +1 -0
- package/dist/src/components/icons/icon-element.d.ts +58 -0
- package/dist/src/components/icons/icon-element.js +163 -0
- package/dist/src/components/icons/icon-element.js.map +1 -0
- package/dist/src/components/icons/icons.d.ts +40 -0
- package/dist/src/components/icons/icons.js +42 -0
- package/dist/src/components/icons/icons.js.map +1 -0
- package/dist/src/components/icons/individual-icon.d.ts +11 -0
- package/dist/src/components/icons/individual-icon.js +24 -0
- package/dist/src/components/icons/individual-icon.js.map +1 -0
- package/dist/src/components/icons/laurel-icon.d.ts +11 -0
- package/dist/src/components/icons/laurel-icon.js +36 -0
- package/dist/src/components/icons/laurel-icon.js.map +1 -0
- package/dist/src/components/icons/machine-learning-icon.d.ts +11 -0
- package/dist/src/components/icons/machine-learning-icon.js +24 -0
- package/dist/src/components/icons/machine-learning-icon.js.map +1 -0
- package/dist/src/components/icons/marks.d.ts +40 -0
- package/dist/src/components/icons/marks.js +41 -0
- package/dist/src/components/icons/marks.js.map +1 -0
- package/dist/src/components/icons/minus-icon.d.ts +11 -0
- package/dist/src/components/icons/minus-icon.js +24 -0
- package/dist/src/components/icons/minus-icon.js.map +1 -0
- package/dist/src/components/icons/missing-icon.d.ts +41 -0
- package/dist/src/components/icons/missing-icon.js +58 -0
- package/dist/src/components/icons/missing-icon.js.map +1 -0
- package/dist/src/components/icons/pause-icon.d.ts +11 -0
- package/dist/src/components/icons/pause-icon.js +27 -0
- package/dist/src/components/icons/pause-icon.js.map +1 -0
- package/dist/src/components/icons/pc-mag-2024-icon.d.ts +13 -0
- package/dist/src/components/icons/pc-mag-2024-icon.js +43 -0
- package/dist/src/components/icons/pc-mag-2024-icon.js.map +1 -0
- package/dist/src/components/icons/pc-mag-business-icon.d.ts +13 -0
- package/dist/src/components/icons/pc-mag-business-icon.js +43 -0
- package/dist/src/components/icons/pc-mag-business-icon.js.map +1 -0
- package/dist/src/components/icons/pc-mag-icon.d.ts +13 -0
- package/dist/src/components/icons/pc-mag-icon.js +43 -0
- package/dist/src/components/icons/pc-mag-icon.js.map +1 -0
- package/dist/src/components/icons/pc-mag-readers-icon.d.ts +13 -0
- package/dist/src/components/icons/pc-mag-readers-icon.js +42 -0
- package/dist/src/components/icons/pc-mag-readers-icon.js.map +1 -0
- package/dist/src/components/icons/play-icon.d.ts +11 -0
- package/dist/src/components/icons/play-icon.js +26 -0
- package/dist/src/components/icons/play-icon.js.map +1 -0
- package/dist/src/components/icons/plus-icon.d.ts +11 -0
- package/dist/src/components/icons/plus-icon.js +23 -0
- package/dist/src/components/icons/plus-icon.js.map +1 -0
- package/dist/src/components/icons/quote-icon.d.ts +20 -0
- package/dist/src/components/icons/quote-icon.js +34 -0
- package/dist/src/components/icons/quote-icon.js.map +1 -0
- package/dist/src/components/icons/small-business-icon.d.ts +11 -0
- package/dist/src/components/icons/small-business-icon.js +26 -0
- package/dist/src/components/icons/small-business-icon.js.map +1 -0
- package/dist/src/components/icons/top-product-icon.d.ts +13 -0
- package/dist/src/components/icons/top-product-icon.js +43 -0
- package/dist/src/components/icons/top-product-icon.js.map +1 -0
- package/dist/src/components/image/image.css.d.ts +2 -0
- package/dist/src/components/image/image.css.js +107 -0
- package/dist/src/components/image/image.css.js.map +1 -0
- package/dist/src/components/image/image.d.ts +35 -0
- package/dist/src/components/image/image.js +122 -0
- package/dist/src/components/image/image.js.map +1 -0
- package/dist/src/components/input/input-clipboard.css.d.ts +9 -0
- package/dist/src/components/input/input-clipboard.css.js +94 -0
- package/dist/src/components/input/input-clipboard.css.js.map +1 -0
- package/dist/src/components/input/input-clipboard.d.ts +52 -0
- package/dist/src/components/input/input-clipboard.js +299 -0
- package/dist/src/components/input/input-clipboard.js.map +1 -0
- package/dist/src/components/input/input.css.d.ts +9 -0
- package/dist/src/components/input/input.css.js +10 -0
- package/dist/src/components/input/input.css.js.map +1 -0
- package/dist/src/components/input/input.d.ts +48 -0
- package/dist/src/components/input/input.js +215 -0
- package/dist/src/components/input/input.js.map +1 -0
- package/dist/src/components/install-options/install-options.css.d.ts +2 -0
- package/dist/src/components/install-options/install-options.css.js +309 -0
- package/dist/src/components/install-options/install-options.css.js.map +1 -0
- package/dist/src/components/install-options/install-options.d.ts +42 -0
- package/dist/src/components/install-options/install-options.js +240 -0
- package/dist/src/components/install-options/install-options.js.map +1 -0
- package/dist/src/components/label/label.css.d.ts +3 -0
- package/dist/src/components/label/label.css.js +34 -0
- package/dist/src/components/label/label.css.js.map +1 -0
- package/dist/src/components/label/label.d.ts +33 -0
- package/dist/src/components/label/label.js +138 -0
- package/dist/src/components/label/label.js.map +1 -0
- package/dist/src/components/light-carousel/light-carousel.css.d.ts +2 -0
- package/dist/src/components/light-carousel/light-carousel.css.js +271 -0
- package/dist/src/components/light-carousel/light-carousel.css.js.map +1 -0
- package/dist/src/components/light-carousel/light-carousel.d.ts +74 -0
- package/dist/src/components/light-carousel/light-carousel.js +199 -0
- package/dist/src/components/light-carousel/light-carousel.js.map +1 -0
- package/dist/src/components/link/link.css.d.ts +15 -0
- package/dist/src/components/link/link.css.js +289 -0
- package/dist/src/components/link/link.css.js.map +1 -0
- package/dist/src/components/link/link.d.ts +75 -0
- package/dist/src/components/link/link.js +238 -0
- package/dist/src/components/link/link.js.map +1 -0
- package/dist/src/components/list/list-item/list-item.css.d.ts +2 -0
- package/dist/src/components/list/list-item/list-item.css.js +168 -0
- package/dist/src/components/list/list-item/list-item.css.js.map +1 -0
- package/dist/src/components/list/list-item/list-item.d.ts +33 -0
- package/dist/src/components/list/list-item/list-item.js +128 -0
- package/dist/src/components/list/list-item/list-item.js.map +1 -0
- package/dist/src/components/list/list.css.d.ts +2 -0
- package/dist/src/components/list/list.css.js +181 -0
- package/dist/src/components/list/list.css.js.map +1 -0
- package/dist/src/components/list/list.d.ts +28 -0
- package/dist/src/components/list/list.js +87 -0
- package/dist/src/components/list/list.js.map +1 -0
- package/dist/src/components/logo-marquee/logo-marquee.css.d.ts +1 -0
- package/dist/src/components/logo-marquee/logo-marquee.css.js +94 -0
- package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -0
- package/dist/src/components/logo-marquee/logo-marquee.d.ts +51 -0
- package/dist/src/components/logo-marquee/logo-marquee.js +153 -0
- package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -0
- package/dist/src/components/modal/modal.css.d.ts +2 -0
- package/dist/src/components/modal/modal.css.js +204 -0
- package/dist/src/components/modal/modal.css.js.map +1 -0
- package/dist/src/components/modal/modal.d.ts +52 -0
- package/dist/src/components/modal/modal.js +145 -0
- package/dist/src/components/modal/modal.js.map +1 -0
- package/dist/src/components/motion-art/motion-art.d.ts +42 -0
- package/dist/src/components/motion-art/motion-art.js +115 -0
- package/dist/src/components/motion-art/motion-art.js.map +1 -0
- package/dist/src/components/overview/overview.css.d.ts +2 -0
- package/dist/src/components/overview/overview.css.js +126 -0
- package/dist/src/components/overview/overview.css.js.map +1 -0
- package/dist/src/components/overview/overview.d.ts +20 -0
- package/dist/src/components/overview/overview.js +72 -0
- package/dist/src/components/overview/overview.js.map +1 -0
- package/dist/src/components/page-switcher/page-switcher.css.d.ts +1 -0
- package/dist/src/components/page-switcher/page-switcher.css.js +175 -0
- package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -0
- package/dist/src/components/page-switcher/page-switcher.d.ts +46 -0
- package/dist/src/components/page-switcher/page-switcher.js +74 -0
- package/dist/src/components/page-switcher/page-switcher.js.map +1 -0
- package/dist/src/components/pagination-dots/pagination-dots.css.d.ts +11 -0
- package/dist/src/components/pagination-dots/pagination-dots.css.js +161 -0
- package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -0
- package/dist/src/components/pagination-dots/pagination-dots.d.ts +43 -0
- package/dist/src/components/pagination-dots/pagination-dots.js +216 -0
- package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -0
- package/dist/src/components/paragraph/paragraph.css.d.ts +2 -0
- package/dist/src/components/paragraph/paragraph.css.js +102 -0
- package/dist/src/components/paragraph/paragraph.css.js.map +1 -0
- package/dist/src/components/paragraph/paragraph.d.ts +41 -0
- package/dist/src/components/paragraph/paragraph.js +122 -0
- package/dist/src/components/paragraph/paragraph.js.map +1 -0
- package/dist/src/components/partner-banner/partner-banner.css.d.ts +1 -0
- package/dist/src/components/partner-banner/partner-banner.css.js +246 -0
- package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -0
- package/dist/src/components/partner-banner/partner-banner.d.ts +35 -0
- package/dist/src/components/partner-banner/partner-banner.js +99 -0
- package/dist/src/components/partner-banner/partner-banner.js.map +1 -0
- package/dist/src/components/picture/picture.css.d.ts +2 -0
- package/dist/src/components/picture/picture.css.js +209 -0
- package/dist/src/components/picture/picture.css.js.map +1 -0
- package/dist/src/components/picture/picture.d.ts +37 -0
- package/dist/src/components/picture/picture.js +197 -0
- package/dist/src/components/picture/picture.js.map +1 -0
- package/dist/src/components/post-card/post-card.css.d.ts +1 -0
- package/dist/src/components/post-card/post-card.css.js +150 -0
- package/dist/src/components/post-card/post-card.css.js.map +1 -0
- package/dist/src/components/post-card/post-card.d.ts +38 -0
- package/dist/src/components/post-card/post-card.js +107 -0
- package/dist/src/components/post-card/post-card.js.map +1 -0
- package/dist/src/components/pricing-cards/adopt-styles.d.ts +10 -0
- package/dist/src/components/pricing-cards/adopt-styles.js +19 -0
- package/dist/src/components/pricing-cards/adopt-styles.js.map +1 -0
- package/dist/src/components/pricing-cards/new-pricing-card.d.ts +18 -0
- package/dist/src/components/pricing-cards/new-pricing-card.js +57 -0
- package/dist/src/components/pricing-cards/new-pricing-card.js.map +1 -0
- package/dist/src/components/pricing-cards/new-pricing.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/new-pricing.css.js +75 -0
- package/dist/src/components/pricing-cards/new-pricing.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js +12 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +19 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.js +82 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-container.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card-container.css.js +42 -0
- package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-container.d.ts +14 -0
- package/dist/src/components/pricing-cards/pricing-card-container.js +44 -0
- package/dist/src/components/pricing-cards/pricing-card-container.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-header.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card-header.css.js +83 -0
- package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-header.d.ts +22 -0
- package/dist/src/components/pricing-cards/pricing-card-header.js +81 -0
- package/dist/src/components/pricing-cards/pricing-card-header.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +93 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +39 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.js +129 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +30 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +16 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.js +48 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card.css.js +661 -0
- package/dist/src/components/pricing-cards/pricing-card.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card.d.ts +155 -0
- package/dist/src/components/pricing-cards/pricing-card.js +844 -0
- package/dist/src/components/pricing-cards/pricing-card.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js +35 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +13 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.js +25 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.js.map +1 -0
- package/dist/src/components/process-steps/process-steps.css.d.ts +2 -0
- package/dist/src/components/process-steps/process-steps.css.js +107 -0
- package/dist/src/components/process-steps/process-steps.css.js.map +1 -0
- package/dist/src/components/process-steps/process-steps.d.ts +25 -0
- package/dist/src/components/process-steps/process-steps.js +97 -0
- package/dist/src/components/process-steps/process-steps.js.map +1 -0
- package/dist/src/components/progress/progress.css.d.ts +3 -0
- package/dist/src/components/progress/progress.css.js +124 -0
- package/dist/src/components/progress/progress.css.js.map +1 -0
- package/dist/src/components/progress/progress.d.ts +19 -0
- package/dist/src/components/progress/progress.js +77 -0
- package/dist/src/components/progress/progress.js.map +1 -0
- package/dist/src/components/quick-answer/quick-answer.css.d.ts +2 -0
- package/dist/src/components/quick-answer/quick-answer.css.js +131 -0
- package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -0
- package/dist/src/components/quick-answer/quick-answer.d.ts +20 -0
- package/dist/src/components/quick-answer/quick-answer.js +72 -0
- package/dist/src/components/quick-answer/quick-answer.js.map +1 -0
- package/dist/src/components/radio/radio-group.css.d.ts +10 -0
- package/dist/src/components/radio/radio-group.css.js +42 -0
- package/dist/src/components/radio/radio-group.css.js.map +1 -0
- package/dist/src/components/radio/radio-group.d.ts +43 -0
- package/dist/src/components/radio/radio-group.js +99 -0
- package/dist/src/components/radio/radio-group.js.map +1 -0
- package/dist/src/components/radio/radio.css.d.ts +14 -0
- package/dist/src/components/radio/radio.css.js +194 -0
- package/dist/src/components/radio/radio.css.js.map +1 -0
- package/dist/src/components/radio/radio.d.ts +65 -0
- package/dist/src/components/radio/radio.js +276 -0
- package/dist/src/components/radio/radio.js.map +1 -0
- package/dist/src/components/radio/toggle-radio.d.ts +28 -0
- package/dist/src/components/radio/toggle-radio.js +51 -0
- package/dist/src/components/radio/toggle-radio.js.map +1 -0
- package/dist/src/components/review/review-grid.css.d.ts +2 -0
- package/dist/src/components/review/review-grid.css.js +47 -0
- package/dist/src/components/review/review-grid.css.js.map +1 -0
- package/dist/src/components/review/review-grid.d.ts +17 -0
- package/dist/src/components/review/review-grid.js +59 -0
- package/dist/src/components/review/review-grid.js.map +1 -0
- package/dist/src/components/review/review.css.d.ts +2 -0
- package/dist/src/components/review/review.css.js +55 -0
- package/dist/src/components/review/review.css.js.map +1 -0
- package/dist/src/components/review/review.d.ts +35 -0
- package/dist/src/components/review/review.js +72 -0
- package/dist/src/components/review/review.js.map +1 -0
- package/dist/src/components/section/section.css.d.ts +2 -0
- package/dist/src/components/section/section.css.js +38 -0
- package/dist/src/components/section/section.css.js.map +1 -0
- package/dist/src/components/section/section.d.ts +32 -0
- package/dist/src/components/section/section.js +51 -0
- package/dist/src/components/section/section.js.map +1 -0
- package/dist/src/components/section-header/section-header.css.d.ts +1 -0
- package/dist/src/components/section-header/section-header.css.js +100 -0
- package/dist/src/components/section-header/section-header.css.js.map +1 -0
- package/dist/src/components/section-header/section-header.d.ts +40 -0
- package/dist/src/components/section-header/section-header.js +93 -0
- package/dist/src/components/section-header/section-header.js.map +1 -0
- package/dist/src/components/shared/announcer.d.ts +24 -0
- package/dist/src/components/shared/announcer.js +35 -0
- package/dist/src/components/shared/announcer.js.map +1 -0
- package/dist/src/components/shared/controller.media-query.d.ts +33 -0
- package/dist/src/components/shared/controller.media-query.js +58 -0
- package/dist/src/components/shared/controller.media-query.js.map +1 -0
- package/dist/src/components/shared/define-element.d.ts +13 -0
- package/dist/src/components/shared/define-element.js +17 -0
- package/dist/src/components/shared/define-element.js.map +1 -0
- package/dist/src/components/shared/ensemble.css.d.ts +46 -0
- package/dist/src/components/shared/ensemble.css.js +102 -0
- package/dist/src/components/shared/ensemble.css.js.map +1 -0
- package/dist/src/components/shared/events.d.ts +34 -0
- package/dist/src/components/shared/events.js +13 -0
- package/dist/src/components/shared/events.js.map +1 -0
- package/dist/src/components/shared/fill-width.css.d.ts +1 -0
- package/dist/src/components/shared/fill-width.css.js +28 -0
- package/dist/src/components/shared/fill-width.css.js.map +1 -0
- package/dist/src/components/shared/form-control.d.ts +66 -0
- package/dist/src/components/shared/form-control.js +199 -0
- package/dist/src/components/shared/form-control.js.map +1 -0
- package/dist/src/components/shared/form-field.css.d.ts +23 -0
- package/dist/src/components/shared/form-field.css.js +259 -0
- package/dist/src/components/shared/form-field.css.js.map +1 -0
- package/dist/src/components/shared/prop-vocabulary.d.ts +46 -0
- package/dist/src/components/shared/prop-vocabulary.js +50 -0
- package/dist/src/components/shared/prop-vocabulary.js.map +1 -0
- package/dist/src/components/shared/token-scales.d.ts +230 -0
- package/dist/src/components/shared/token-scales.js +352 -0
- package/dist/src/components/shared/token-scales.js.map +1 -0
- package/dist/src/components/skeleton/skeleton.css.d.ts +3 -0
- package/dist/src/components/skeleton/skeleton.css.js +33 -0
- package/dist/src/components/skeleton/skeleton.css.js.map +1 -0
- package/dist/src/components/skeleton/skeleton.d.ts +15 -0
- package/dist/src/components/skeleton/skeleton.js +41 -0
- package/dist/src/components/skeleton/skeleton.js.map +1 -0
- package/dist/src/components/spinner/spinner.css.d.ts +3 -0
- package/dist/src/components/spinner/spinner.css.js +88 -0
- package/dist/src/components/spinner/spinner.css.js.map +1 -0
- package/dist/src/components/spinner/spinner.d.ts +22 -0
- package/dist/src/components/spinner/spinner.js +71 -0
- package/dist/src/components/spinner/spinner.js.map +1 -0
- package/dist/src/components/spotlight-section/spotlight-section.css.d.ts +2 -0
- package/dist/src/components/spotlight-section/spotlight-section.css.js +106 -0
- package/dist/src/components/spotlight-section/spotlight-section.css.js.map +1 -0
- package/dist/src/components/spotlight-section/spotlight-section.d.ts +21 -0
- package/dist/src/components/spotlight-section/spotlight-section.js +107 -0
- package/dist/src/components/spotlight-section/spotlight-section.js.map +1 -0
- package/dist/src/components/stat/stat-highlight.d.ts +30 -0
- package/dist/src/components/stat/stat-highlight.js +84 -0
- package/dist/src/components/stat/stat-highlight.js.map +1 -0
- package/dist/src/components/stat/stat-tile.d.ts +23 -0
- package/dist/src/components/stat/stat-tile.js +54 -0
- package/dist/src/components/stat/stat-tile.js.map +1 -0
- package/dist/src/components/stat/stat.css.d.ts +2 -0
- package/dist/src/components/stat/stat.css.js +146 -0
- package/dist/src/components/stat/stat.css.js.map +1 -0
- package/dist/src/components/stat/stat.d.ts +2 -0
- package/dist/src/components/stat/stat.js +3 -0
- package/dist/src/components/stat/stat.js.map +1 -0
- package/dist/src/components/switch/switch.css.d.ts +3 -0
- package/dist/src/components/switch/switch.css.js +176 -0
- package/dist/src/components/switch/switch.css.js.map +1 -0
- package/dist/src/components/switch/switch.d.ts +30 -0
- package/dist/src/components/switch/switch.js +111 -0
- package/dist/src/components/switch/switch.js.map +1 -0
- package/dist/src/components/tab-list/tab-list.css.d.ts +16 -0
- package/dist/src/components/tab-list/tab-list.css.js +290 -0
- package/dist/src/components/tab-list/tab-list.css.js.map +1 -0
- package/dist/src/components/tab-list/tab-list.d.ts +99 -0
- package/dist/src/components/tab-list/tab-list.js +203 -0
- package/dist/src/components/tab-list/tab-list.js.map +1 -0
- package/dist/src/components/tabs/tabs.css.d.ts +2 -0
- package/dist/src/components/tabs/tabs.css.js +78 -0
- package/dist/src/components/tabs/tabs.css.js.map +1 -0
- package/dist/src/components/tabs/tabs.d.ts +69 -0
- package/dist/src/components/tabs/tabs.js +241 -0
- package/dist/src/components/tabs/tabs.js.map +1 -0
- package/dist/src/components/tag/tag.css.d.ts +3 -0
- package/dist/src/components/tag/tag.css.js +53 -0
- package/dist/src/components/tag/tag.css.js.map +1 -0
- package/dist/src/components/tag/tag.d.ts +17 -0
- package/dist/src/components/tag/tag.js +39 -0
- package/dist/src/components/tag/tag.js.map +1 -0
- package/dist/src/components/terminal/terminal-cursor.d.ts +12 -0
- package/dist/src/components/terminal/terminal-cursor.js +66 -0
- package/dist/src/components/terminal/terminal-cursor.js.map +1 -0
- package/dist/src/components/terminal/terminal-message.css.d.ts +2 -0
- package/dist/src/components/terminal/terminal-message.css.js +410 -0
- package/dist/src/components/terminal/terminal-message.css.js.map +1 -0
- package/dist/src/components/terminal/terminal-message.d.ts +43 -0
- package/dist/src/components/terminal/terminal-message.js +223 -0
- package/dist/src/components/terminal/terminal-message.js.map +1 -0
- package/dist/src/components/termsOfUse/terms.css.d.ts +2 -0
- package/dist/src/components/termsOfUse/terms.css.js +56 -0
- package/dist/src/components/termsOfUse/terms.css.js.map +1 -0
- package/dist/src/components/termsOfUse/terms.d.ts +22 -0
- package/dist/src/components/termsOfUse/terms.js +151 -0
- package/dist/src/components/termsOfUse/terms.js.map +1 -0
- package/dist/src/components/textarea/textarea.css.d.ts +13 -0
- package/dist/src/components/textarea/textarea.css.js +50 -0
- package/dist/src/components/textarea/textarea.css.js.map +1 -0
- package/dist/src/components/textarea/textarea.d.ts +49 -0
- package/dist/src/components/textarea/textarea.js +171 -0
- package/dist/src/components/textarea/textarea.js.map +1 -0
- package/dist/src/components/tooltip/tooltip.css.d.ts +3 -0
- package/dist/src/components/tooltip/tooltip.css.js +97 -0
- package/dist/src/components/tooltip/tooltip.css.js.map +1 -0
- package/dist/src/components/tooltip/tooltip.d.ts +47 -0
- package/dist/src/components/tooltip/tooltip.js +293 -0
- package/dist/src/components/tooltip/tooltip.js.map +1 -0
- package/dist/src/components/trust-panel/trust-panel.css.d.ts +2 -0
- package/dist/src/components/trust-panel/trust-panel.css.js +229 -0
- package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -0
- package/dist/src/components/trust-panel/trust-panel.d.ts +34 -0
- package/dist/src/components/trust-panel/trust-panel.js +139 -0
- package/dist/src/components/trust-panel/trust-panel.js.map +1 -0
- package/dist/src/components/video/video.css.d.ts +3 -0
- package/dist/src/components/video/video.css.js +21 -0
- package/dist/src/components/video/video.css.js.map +1 -0
- package/dist/src/components/video/video.d.ts +24 -0
- package/dist/src/components/video/video.js +96 -0
- package/dist/src/components/video/video.js.map +1 -0
- package/dist/src/components/video-player/video-player.css.d.ts +2 -0
- package/dist/src/components/video-player/video-player.css.js +168 -0
- package/dist/src/components/video-player/video-player.css.js.map +1 -0
- package/dist/src/components/video-player/video-player.d.ts +44 -0
- package/dist/src/components/video-player/video-player.js +188 -0
- package/dist/src/components/video-player/video-player.js.map +1 -0
- package/dist/src/components/visually-hidden/visually-hidden.css.d.ts +3 -0
- package/dist/src/components/visually-hidden/visually-hidden.css.js +23 -0
- package/dist/src/components/visually-hidden/visually-hidden.css.js.map +1 -0
- package/dist/src/components/visually-hidden/visually-hidden.d.ts +11 -0
- package/dist/src/components/visually-hidden/visually-hidden.js +24 -0
- package/dist/src/components/visually-hidden/visually-hidden.js.map +1 -0
- package/dist/src/tokens/brand-layer.d.ts +66 -0
- package/dist/src/tokens/brand-layer.js +170 -0
- package/dist/src/tokens/brand-layer.js.map +1 -0
- package/dist/src/tokens/dark-derivation.d.ts +70 -0
- package/dist/src/tokens/dark-derivation.js +326 -0
- package/dist/src/tokens/dark-derivation.js.map +1 -0
- package/dist/src/tokens/dark-findings.d.ts +59 -0
- package/dist/src/tokens/dark-findings.js +205 -0
- package/dist/src/tokens/dark-findings.js.map +1 -0
- package/dist/src/tokens/story-chrome.d.ts +72 -0
- package/dist/src/tokens/story-chrome.js +486 -0
- package/dist/src/tokens/story-chrome.js.map +1 -0
- package/dist/src/tokens/themes/bitdefender.d.ts +25 -0
- package/dist/src/tokens/themes/bitdefender.js +31 -0
- package/dist/src/tokens/themes/bitdefender.js.map +1 -0
- package/dist/src/tokens/themes/contract.d.ts +4 -0
- package/dist/src/tokens/themes/contract.js +8 -0
- package/dist/src/tokens/themes/contract.js.map +1 -0
- package/dist/src/tokens/themes/index.d.ts +27 -0
- package/dist/src/tokens/themes/index.js +40 -0
- package/dist/src/tokens/themes/index.js.map +1 -0
- package/dist/src/tokens/token-map.d.ts +114 -0
- package/dist/src/tokens/token-map.js +237 -0
- package/dist/src/tokens/token-map.js.map +1 -0
- package/dist/src/tokens/token-purposes.d.ts +63 -0
- package/dist/src/tokens/token-purposes.js +260 -0
- package/dist/src/tokens/token-purposes.js.map +1 -0
- package/dist/src/tokens/tokens.css +1809 -0
- package/dist/src/tokens/tokens.d.ts +31 -0
- package/dist/src/tokens/tokens.js +1866 -0
- package/dist/src/tokens/tokens.js.map +1 -0
- package/dist/src/tokens/type-ceiling-words.d.ts +96 -0
- package/dist/src/tokens/type-ceiling-words.js +294 -0
- package/dist/src/tokens/type-ceiling-words.js.map +1 -0
- package/dist/src/vendor/motion-art/README.md +30 -0
- package/dist/src/vendor/motion-art/motion-art-element.d.ts +32 -0
- package/package.json +318 -85
- package/schemas/component-manifest.json +197 -146
- package/schemas/manifest-omissions.json +2 -174
- package/src/assets/fonts/bd-ibm-plex-mono.zip +0 -0
- package/src/assets/fonts/bd-ibm-plex-sans.zip +0 -0
- package/src/assets/icons/Identity_protection.png +0 -0
- package/src/assets/icons/badge-icon-individual.png +0 -0
- package/src/assets/icons/bd-icon-family-white.png +0 -0
- package/src/assets/icons/bd-icon-family.png +0 -0
- package/src/assets/icons/bd-icon-user.png +0 -0
- package/src/assets/icons/device_protection.png +0 -0
- package/src/assets/icons/financial_insurance.png +0 -0
- package/src/assets/icons/left_clicked.png +0 -0
- package/src/assets/icons/left_disabled.png +0 -0
- package/src/assets/icons/left_hover.png +0 -0
- package/src/assets/icons/left_normal.png +0 -0
- package/src/assets/icons/light-carousel-img1.png +0 -0
- package/src/assets/icons/light-carousel-img2.png +0 -0
- package/src/assets/icons/light-carousel-img3.png +0 -0
- package/src/assets/icons/more_hover.png +0 -0
- package/src/assets/icons/more_normal.png +0 -0
- package/src/assets/icons/more_pressed.png +0 -0
- package/src/assets/icons/pic1.png +0 -0
- package/src/assets/icons/pic2.png +0 -0
- package/src/assets/icons/pic3.png +0 -0
- package/src/assets/icons/privacy_protection.png +0 -0
- package/src/assets/icons/right_clicked.png +0 -0
- package/src/assets/icons/right_disabled.png +0 -0
- package/src/assets/icons/right_hover.png +0 -0
- package/src/assets/icons/right_normal.png +0 -0
- package/src/assets/icons/user_guide.png +0 -0
- package/src/assets/icons/verified_arrow.png +0 -0
- package/src/assets/images/ai/bento-consumer-art.jpg +0 -0
- package/src/assets/images/ai/bento-enterprise-art.jpg +0 -0
- package/src/assets/images/ai/bento-labs-art.jpg +0 -0
- package/src/assets/images/award-marks/av-comparatives-top-rated.png +0 -0
- package/src/assets/images/award-marks/av-test-top-product.png +0 -0
- package/src/assets/images/award-marks/crn-partner-guide.png +0 -0
- package/src/assets/images/award-marks/forrester.png +0 -0
- package/src/assets/images/award-marks/gartner.png +0 -0
- package/src/assets/images/award-marks/idc.png +0 -0
- package/src/assets/images/award-marks/mitre-engenuity.png +0 -0
- package/src/assets/images/award-marks/omdia.png +0 -0
- package/src/assets/images/award-marks/pcmag-best-of-2026.png +0 -0
- package/src/assets/images/award-marks/pcmag-editors-choice.png +0 -0
- package/src/assets/images/award-marks/pcmag-readers-choice.png +0 -0
- package/src/assets/images/awards/av-comparatives-2025.png +0 -0
- package/src/assets/images/awards/av-test-top-product.png +0 -0
- package/src/assets/images/awards/gartner-peer-insights.png +0 -0
- package/src/assets/images/awards/idc.png +0 -0
- package/src/assets/images/awards/pcmag-best-of-2026.png +0 -0
- package/src/assets/images/badges/app-store-badge.png +0 -0
- package/src/assets/images/badges/google-play-badge.png +0 -0
- package/src/assets/images/bd-header-img.jpg +0 -0
- package/src/assets/images/bd-header-us.jpg +0 -0
- package/src/assets/images/hero/ai-sphere-poster.jpg +0 -0
- package/src/assets/images/insights/post-1.jpg +0 -0
- package/src/assets/images/insights/post-2.jpg +0 -0
- package/src/assets/images/insights/post-3.jpg +0 -0
- package/src/assets/images/partner/ferrari-lockup.png +0 -0
- package/src/assets/images/partner/ferrari-photo.jpg +0 -0
- package/src/assets/images/partners/ferrari.svg +0 -6
- package/src/assets/images/partners/konica-minolta.svg +0 -12
- package/src/assets/images/partners/logmein.svg +0 -6
- package/src/assets/images/partners/netgear.svg +0 -10
- package/src/assets/images/partners/sharp.svg +0 -5
- package/src/assets/images/partners/spurs.svg +0 -33
- package/src/assets/images/tabs-img1.png +0 -0
- package/src/assets/images/tabs-img2.png +0 -0
- package/src/assets/images/tabs-img3.png +0 -0
- package/src/blog/assets/articles/fbi-crypto-scam-1.jpeg +0 -0
- package/src/blog/assets/articles/fbi-crypto-scam-cover.png +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-Bold.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-BoldItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-Italic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-Light.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-LightItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-Medium.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-MediumItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-Regular.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-SemiBold.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-SemiBoldItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-Bold.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-BoldItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-Italic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-Light.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-LightItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-Medium.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-MediumItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-Regular.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-SemiBold.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-SemiBoldItalic.woff2 +0 -0
- package/src/blog/assets/global-scam-intelligence-report-2026.png +0 -0
- package/src/blog/assets/psd-4.jpg +0 -0
- package/src/blog/src/articles/FBI warns of crypto investment scam that sends couriers to collect victims' cash-editedAB.docx +0 -0
- package/src/blog/src/articles/FBI-crypto-scam-courier-cash.png +0 -0
- package/src/blog/src/articles/fbi-crypto-scam.js +0 -324
- package/src/blog/src/articles/~$I warns of crypto investment scam that sends couriers to collect victims' cash-editedAB.docx +0 -0
- package/src/blog/src/atoms/blog-abstract.js +0 -51
- package/src/blog/src/atoms/blog-authors.js +0 -70
- package/src/blog/src/atoms/blog-avatar.js +0 -44
- package/src/blog/src/atoms/blog-blockquote.js +0 -92
- package/src/blog/src/atoms/blog-caption.js +0 -31
- package/src/blog/src/atoms/blog-code-block.js +0 -89
- package/src/blog/src/atoms/blog-dek.js +0 -30
- package/src/blog/src/atoms/blog-featured-image.js +0 -65
- package/src/blog/src/atoms/blog-heading.js +0 -63
- package/src/blog/src/atoms/blog-image.js +0 -50
- package/src/blog/src/atoms/blog-key-takeaways.js +0 -101
- package/src/blog/src/atoms/blog-link.js +0 -68
- package/src/blog/src/atoms/blog-meta.js +0 -87
- package/src/blog/src/atoms/blog-most-popular.js +0 -146
- package/src/blog/src/atoms/blog-newsletter-signup.js +0 -342
- package/src/blog/src/atoms/blog-paragraph.js +0 -61
- package/src/blog/src/atoms/blog-product-upsell.js +0 -168
- package/src/blog/src/atoms/blog-related-articles.js +0 -326
- package/src/blog/src/atoms/blog-related-label.js +0 -30
- package/src/blog/src/atoms/blog-report-promo.js +0 -250
- package/src/blog/src/atoms/blog-standout.js +0 -78
- package/src/blog/src/atoms/blog-subhead.js +0 -32
- package/src/blog/src/atoms/blog-table-of-contents.js +0 -447
- package/src/blog/src/atoms/blog-tag.js +0 -86
- package/src/blog/src/atoms/blog-title.js +0 -31
- package/src/blog/src/base/blog-element.js +0 -10
- package/src/blog/src/breakpoints.js +0 -23
- package/src/blog/src/content/blog-article.js +0 -736
- package/src/blog/src/content/blog-atoms-showcase.js +0 -401
- package/src/blog/src/content/blog-page-layout.js +0 -73
- package/src/blog/src/content/render-inline-content.js +0 -18
- package/src/blog/src/data/popular-articles.js +0 -43
- package/src/blog/src/data/related-articles.js +0 -58
- package/src/blog/src/index.js +0 -104
- package/src/blog/src/lib/article-toc.js +0 -206
- package/src/blog/src/lib/load-prism.js +0 -23
- package/src/blog/src/shell/blog-shell.js +0 -31
- package/src/blog/src/styles/prism-theme.js +0 -65
- package/src/blog/src/tokens/blog.js +0 -406
- package/src/blog/src/tokens/core.js +0 -810
- package/src/blog/src/tokens/fonts.css +0 -241
- package/src/blog/src/tokens/index.js +0 -27
- package/src/blog/src/tokens/legacy.js +0 -49
- package/src/blog/tokens/blog.js +0 -406
- package/src/blog/tokens/core.js +0 -810
- package/src/blog/tokens/fonts.css +0 -241
- package/src/blog/tokens/index.js +0 -27
- package/src/blog/tokens/legacy.js +0 -49
- package/src/blog/tokens.css +0 -1502
- package/src/blog/tokens.js +0 -1
- package/src/blog/vendor/prism/prism.css +0 -120
- package/src/blog/vendor/prism/prism.js +0 -300
- package/src/components/accordion/accordion-bg.css.js +0 -289
- package/src/components/accordion/accordion-bg.js +0 -261
- package/src/components/accordion/accordion-bg.stories.js +0 -354
- package/src/components/accordion/accordion-indicators.js +0 -2
- package/src/components/accordion/accordion-keyboard.js +0 -80
- package/src/components/accordion/accordion-panel.js +0 -24
- package/src/components/accordion/accordion.css.js +0 -382
- package/src/components/accordion/accordion.js +0 -176
- package/src/components/accordion/accordion.stories.js +0 -390
- package/src/components/agent-endpoints/agent-endpoints.css.js +0 -89
- package/src/components/agent-endpoints/agent-endpoints.js +0 -96
- package/src/components/agent-endpoints/agent-endpoints.stories.js +0 -148
- package/src/components/ai-guardian-demo.stories.js +0 -1487
- package/src/components/alert/alert.css.js +0 -219
- package/src/components/alert/alert.js +0 -103
- package/src/components/alert/alert.stories.js +0 -206
- package/src/components/anchor/anchor-nav.css.js +0 -547
- package/src/components/anchor/anchor-nav.js +0 -617
- package/src/components/anchor/anchor.stories.js +0 -536
- package/src/components/annotation/annotation.css.js +0 -66
- package/src/components/annotation/annotation.js +0 -67
- package/src/components/annotation/annotation.stories.js +0 -63
- package/src/components/architecture.stories.js +0 -288
- package/src/components/atoms.stories.js +0 -342
- package/src/components/audience-card/audience-card.css.js +0 -123
- package/src/components/audience-card/audience-card.js +0 -75
- package/src/components/audience-card/audience-card.stories.js +0 -125
- package/src/components/avatar/avatar.css.js +0 -67
- package/src/components/avatar/avatar.js +0 -68
- package/src/components/avatar/avatar.stories.js +0 -99
- package/src/components/awards/awards-flex.css.js +0 -274
- package/src/components/awards/awards-flex.js +0 -293
- package/src/components/awards/awards-flex.stories.js +0 -659
- package/src/components/awards/awards-spotlight.css.js +0 -162
- package/src/components/awards/awards-spotlight.js +0 -142
- package/src/components/awards/awards-spotlight.stories.js +0 -205
- package/src/components/awards/awards-summary.stories.js +0 -344
- package/src/components/awards/awards.css.js +0 -402
- package/src/components/awards/awards.js +0 -201
- package/src/components/awards/awards.stories.js +0 -396
- package/src/components/awards/scroll-slides.js +0 -128
- package/src/components/back/back.css.js +0 -92
- package/src/components/back/back.js +0 -72
- package/src/components/back/back.stories.js +0 -153
- package/src/components/badge/badge.css.js +0 -205
- package/src/components/badge/badge.js +0 -104
- package/src/components/badge/badge.stories.js +0 -234
- package/src/components/bento-grid/bento-grid.css.js +0 -171
- package/src/components/bento-grid/bento-grid.js +0 -200
- package/src/components/bento-grid/bento-grid.stories.js +0 -563
- package/src/components/bento-grid/bento-item.css.js +0 -339
- package/src/components/bento-grid/bento-item.js +0 -94
- package/src/components/blockquote/blockquote.css.js +0 -56
- package/src/components/blockquote/blockquote.js +0 -36
- package/src/components/blockquote/blockquote.stories.js +0 -64
- package/src/components/breadcrumb/breadcrumb.css.js +0 -169
- package/src/components/breadcrumb/breadcrumb.js +0 -182
- package/src/components/breadcrumb/breadcrumb.stories.js +0 -272
- package/src/components/button/button.css.js +0 -844
- package/src/components/button/button.js +0 -410
- package/src/components/button/button.stories.js +0 -742
- package/src/components/caption/caption.css.js +0 -31
- package/src/components/caption/caption.js +0 -31
- package/src/components/caption/caption.stories.js +0 -62
- package/src/components/card-features/card-features.css.js +0 -121
- package/src/components/card-features/card-features.js +0 -162
- package/src/components/card-features/card-features.stories.js +0 -165
- package/src/components/cards/card.css.js +0 -370
- package/src/components/cards/card.js +0 -334
- package/src/components/cards/card.stories.js +0 -512
- package/src/components/carousel/carousel.css.js +0 -264
- package/src/components/carousel/carousel.js +0 -332
- package/src/components/carousel/carousel.stories.js +0 -207
- package/src/components/checkbox/checkbox.css.js +0 -174
- package/src/components/checkbox/checkbox.js +0 -139
- package/src/components/checkbox/checkbox.stories.js +0 -232
- package/src/components/code/code.css.js +0 -75
- package/src/components/code/code.js +0 -81
- package/src/components/code/code.stories.js +0 -76
- package/src/components/compare/compare.css.js +0 -479
- package/src/components/compare/compare.js +0 -566
- package/src/components/compare/compare.stories.js +0 -736
- package/src/components/comparison-panel/comparison-panel.css.js +0 -142
- package/src/components/comparison-panel/comparison-panel.js +0 -106
- package/src/components/comparison-panel/comparison-panel.stories.js +0 -223
- package/src/components/compatibility-table/compatibility-table.css.js +0 -392
- package/src/components/compatibility-table/compatibility-table.js +0 -164
- package/src/components/compatibility-table/compatibility-table.stories.js +0 -266
- package/src/components/control-alignment.stories.js +0 -393
- package/src/components/cta-banner/cta-banner.css.js +0 -99
- package/src/components/cta-banner/cta-banner.js +0 -71
- package/src/components/cta-banner/cta-banner.stories.js +0 -67
- package/src/components/display/display.css.js +0 -96
- package/src/components/display/display.js +0 -71
- package/src/components/display/display.stories.js +0 -357
- package/src/components/divider/divider-horizontal.js +0 -59
- package/src/components/divider/divider-vertical.js +0 -56
- package/src/components/divider/divider.css.js +0 -22
- package/src/components/divider/divider.stories.js +0 -206
- package/src/components/dropdown/dropdown.css.js +0 -122
- package/src/components/dropdown/dropdown.js +0 -281
- package/src/components/dropdown/dropdown.stories.js +0 -276
- package/src/components/features/features.css.js +0 -124
- package/src/components/features/features.js +0 -82
- package/src/components/features/features.stories.js +0 -252
- package/src/components/features-tab/features-tab.css.js +0 -101
- package/src/components/features-tab/features-tab.js +0 -76
- package/src/components/features-tab/features-tab.stories.js +0 -439
- package/src/components/fieldset/fieldset.css.js +0 -30
- package/src/components/fieldset/fieldset.js +0 -28
- package/src/components/fieldset/fieldset.stories.js +0 -177
- package/src/components/footer/footer-images.js +0 -34
- package/src/components/footer/footer-links-group.css.js +0 -34
- package/src/components/footer/footer-links-group.js +0 -26
- package/src/components/footer/footer-locale.js +0 -47
- package/src/components/footer/footer-lp.js +0 -162
- package/src/components/footer/footer-lp.stories.js +0 -365
- package/src/components/footer/footer-nav-menu.css.js +0 -62
- package/src/components/footer/footer-nav-menu.js +0 -42
- package/src/components/footer/footer.css.js +0 -665
- package/src/components/footer/footer.js +0 -435
- package/src/components/footer/footer.stories.js +0 -225
- package/src/components/footer/localeMap.js +0 -1
- package/src/components/grid/grid.css.js +0 -79
- package/src/components/grid/grid.js +0 -111
- package/src/components/grid/grid.stories.js +0 -144
- package/src/components/header/header-code.css.js +0 -370
- package/src/components/header/header-code.js +0 -226
- package/src/components/header/header-code.stories.js +0 -279
- package/src/components/header/header.css.js +0 -758
- package/src/components/header/header.js +0 -345
- package/src/components/header/header.stories.js +0 -1012
- package/src/components/heading/heading.css.js +0 -90
- package/src/components/heading/heading.js +0 -97
- package/src/components/heading/heading.stories.js +0 -228
- package/src/components/help-text/help-text.css.js +0 -21
- package/src/components/help-text/help-text.js +0 -25
- package/src/components/help-text/help-text.stories.js +0 -66
- package/src/components/hero/hero.css.js +0 -363
- package/src/components/hero/hero.js +0 -179
- package/src/components/hero/hero.stories.js +0 -146
- package/src/components/highlight/highlight.css.js +0 -176
- package/src/components/highlight/highlight.js +0 -112
- package/src/components/highlight/highlight.stories.js +0 -180
- package/src/components/icons/analysis-icon.js +0 -15
- package/src/components/icons/arrow-down-icon.js +0 -15
- package/src/components/icons/arrow-icon.js +0 -47
- package/src/components/icons/arrow-right-icon.js +0 -42
- package/src/components/icons/arrow-up-icon.js +0 -29
- package/src/components/icons/av-comparatives-icon.js +0 -34
- package/src/components/icons/bd-ai-icon.js +0 -27
- package/src/components/icons/best-brands-icon.js +0 -36
- package/src/components/icons/brand-marks.stories.js +0 -279
- package/src/components/icons/brand-signature-icon.js +0 -42
- package/src/components/icons/check-icon.js +0 -27
- package/src/components/icons/circle-info-icon.js +0 -33
- package/src/components/icons/close-icon.js +0 -16
- package/src/components/icons/enterprise-icon.js +0 -19
- package/src/components/icons/family-icon.js +0 -19
- package/src/components/icons/globe-icon.js +0 -16
- package/src/components/icons/guide-icon.js +0 -16
- package/src/components/icons/home-icon.js +0 -19
- package/src/components/icons/icon-element.js +0 -160
- package/src/components/icons/icons.js +0 -41
- package/src/components/icons/icons.stories.js +0 -391
- package/src/components/icons/individual-icon.js +0 -17
- package/src/components/icons/laurel-icon.js +0 -29
- package/src/components/icons/machine-learning-icon.js +0 -15
- package/src/components/icons/marks.js +0 -41
- package/src/components/icons/minus-icon.js +0 -17
- package/src/components/icons/missing-icon.js +0 -52
- package/src/components/icons/pause-icon.js +0 -20
- package/src/components/icons/pc-mag-2024-icon.js +0 -35
- package/src/components/icons/pc-mag-business-icon.js +0 -35
- package/src/components/icons/pc-mag-icon.js +0 -35
- package/src/components/icons/pc-mag-readers-icon.js +0 -34
- package/src/components/icons/play-icon.js +0 -19
- package/src/components/icons/plus-icon.js +0 -16
- package/src/components/icons/quote-icon.js +0 -28
- package/src/components/icons/small-business-icon.js +0 -19
- package/src/components/icons/top-product-icon.js +0 -35
- package/src/components/image/image.css.js +0 -107
- package/src/components/image/image.js +0 -98
- package/src/components/image/image.stories.js +0 -239
- package/src/components/input/custom-form.stories.js +0 -1000
- package/src/components/input/input-clipboard.css.js +0 -94
- package/src/components/input/input-clipboard.js +0 -264
- package/src/components/input/input.css.js +0 -10
- package/src/components/input/input.js +0 -182
- package/src/components/install-options/install-options.css.js +0 -309
- package/src/components/install-options/install-options.js +0 -226
- package/src/components/install-options/install-options.stories.js +0 -219
- package/src/components/label/label.css.js +0 -35
- package/src/components/label/label.js +0 -124
- package/src/components/label/label.stories.js +0 -91
- package/src/components/light-carousel/light-carousel.css.js +0 -276
- package/src/components/light-carousel/light-carousel.js +0 -187
- package/src/components/light-carousel/light-carousel.stories.js +0 -576
- package/src/components/link/link.css.js +0 -289
- package/src/components/link/link.js +0 -207
- package/src/components/link/link.stories.js +0 -402
- package/src/components/list/list-item/list-item.css.js +0 -168
- package/src/components/list/list-item/list-item.js +0 -119
- package/src/components/list/list-item/list-item.stories.js +0 -187
- package/src/components/list/list.css.js +0 -181
- package/src/components/list/list.js +0 -72
- package/src/components/list/list.stories.js +0 -222
- package/src/components/logo-marquee/logo-marquee.css.js +0 -94
- package/src/components/logo-marquee/logo-marquee.js +0 -138
- package/src/components/logo-marquee/logo-marquee.stories.js +0 -129
- package/src/components/modal/modal.css.js +0 -204
- package/src/components/modal/modal.js +0 -129
- package/src/components/modal/modal.stories.js +0 -199
- package/src/components/motion-art/motion-art.js +0 -108
- package/src/components/motion-art/motion-art.stories.js +0 -98
- package/src/components/overview/overview.css.js +0 -126
- package/src/components/overview/overview.js +0 -64
- package/src/components/overview/overview.stories.js +0 -193
- package/src/components/page-switcher/page-switcher.css.js +0 -175
- package/src/components/page-switcher/page-switcher.js +0 -68
- package/src/components/page-switcher/page-switcher.stories.js +0 -95
- package/src/components/pagination-dots/pagination-dots.css.js +0 -161
- package/src/components/pagination-dots/pagination-dots.js +0 -202
- package/src/components/pagination-dots/pagination-dots.stories.js +0 -171
- package/src/components/paragraph/paragraph.css.js +0 -102
- package/src/components/paragraph/paragraph.js +0 -99
- package/src/components/paragraph/paragraph.stories.js +0 -187
- package/src/components/partner-banner/partner-banner.css.js +0 -246
- package/src/components/partner-banner/partner-banner.js +0 -84
- package/src/components/partner-banner/partner-banner.stories.js +0 -86
- package/src/components/picture/picture.css.js +0 -209
- package/src/components/picture/picture.js +0 -172
- package/src/components/picture/picture.stories.js +0 -232
- package/src/components/post-card/post-card.css.js +0 -150
- package/src/components/post-card/post-card.js +0 -80
- package/src/components/post-card/post-card.stories.js +0 -79
- package/src/components/pricing-cards/adopt-styles.js +0 -16
- package/src/components/pricing-cards/new-pricing-card.js +0 -43
- package/src/components/pricing-cards/new-pricing-card.stories.js +0 -424
- package/src/components/pricing-cards/new-pricing.css.js +0 -75
- package/src/components/pricing-cards/pricing-card-actions.css.js +0 -12
- package/src/components/pricing-cards/pricing-card-actions.js +0 -72
- package/src/components/pricing-cards/pricing-card-container.css.js +0 -42
- package/src/components/pricing-cards/pricing-card-container.js +0 -38
- package/src/components/pricing-cards/pricing-card-header.css.js +0 -83
- package/src/components/pricing-cards/pricing-card-header.js +0 -68
- package/src/components/pricing-cards/pricing-card-pricing.css.js +0 -93
- package/src/components/pricing-cards/pricing-card-pricing.js +0 -117
- package/src/components/pricing-cards/pricing-card-show-more.css.js +0 -30
- package/src/components/pricing-cards/pricing-card-show-more.js +0 -43
- package/src/components/pricing-cards/pricing-card.css.js +0 -661
- package/src/components/pricing-cards/pricing-card.js +0 -842
- package/src/components/pricing-cards/pricing-card.stories.js +0 -14
- package/src/components/pricing-cards/pricing-feature-item.css.js +0 -35
- package/src/components/pricing-cards/pricing-feature-item.js +0 -19
- package/src/components/process-steps/process-steps.css.js +0 -107
- package/src/components/process-steps/process-steps.js +0 -89
- package/src/components/process-steps/process-steps.stories.js +0 -144
- package/src/components/progress/progress.css.js +0 -125
- package/src/components/progress/progress.js +0 -65
- package/src/components/progress/progress.stories.js +0 -83
- package/src/components/quick-answer/quick-answer.css.js +0 -131
- package/src/components/quick-answer/quick-answer.js +0 -64
- package/src/components/quick-answer/quick-answer.stories.js +0 -160
- package/src/components/radio/radio-group.css.js +0 -42
- package/src/components/radio/radio-group.js +0 -89
- package/src/components/radio/radio.css.js +0 -194
- package/src/components/radio/radio.js +0 -269
- package/src/components/radio/radio.stories.js +0 -342
- package/src/components/radio/toggle-radio.js +0 -44
- package/src/components/review/review-grid.css.js +0 -47
- package/src/components/review/review-grid.js +0 -55
- package/src/components/review/review.css.js +0 -55
- package/src/components/review/review.js +0 -67
- package/src/components/review/review.stories.js +0 -228
- package/src/components/section/section.css.js +0 -38
- package/src/components/section/section.js +0 -43
- package/src/components/section/section.stories.js +0 -246
- package/src/components/section-header/section-header.css.js +0 -100
- package/src/components/section-header/section-header.js +0 -79
- package/src/components/section-header/section-header.stories.js +0 -129
- package/src/components/shared/announcer.js +0 -37
- package/src/components/shared/ensemble.css.js +0 -102
- package/src/components/shared/fill-width.css.js +0 -29
- package/src/components/shared/form-control.js +0 -194
- package/src/components/shared/form-field.css.js +0 -260
- package/src/components/shared/prop-vocabulary.js +0 -48
- package/src/components/shared/token-scales.js +0 -384
- package/src/components/skeleton/skeleton.css.js +0 -34
- package/src/components/skeleton/skeleton.js +0 -32
- package/src/components/skeleton/skeleton.stories.js +0 -70
- package/src/components/spinner/spinner.css.js +0 -89
- package/src/components/spinner/spinner.js +0 -60
- package/src/components/spinner/spinner.stories.js +0 -95
- package/src/components/spotlight-section/spotlight-section.css.js +0 -106
- package/src/components/spotlight-section/spotlight-section.js +0 -95
- package/src/components/spotlight-section/spotlight-section.stories.js +0 -259
- package/src/components/stat/stat-highlight.js +0 -75
- package/src/components/stat/stat-tile.js +0 -43
- package/src/components/stat/stat.css.js +0 -147
- package/src/components/stat/stat.js +0 -2
- package/src/components/stat/stat.stories.js +0 -92
- package/src/components/switch/switch.css.js +0 -177
- package/src/components/switch/switch.js +0 -99
- package/src/components/switch/switch.stories.js +0 -109
- package/src/components/tab-list/content-switcher.stories.js +0 -189
- package/src/components/tab-list/tab-list.css.js +0 -293
- package/src/components/tab-list/tab-list.js +0 -189
- package/src/components/tab-list/tab-list.stories.js +0 -221
- package/src/components/tabs/tabs.css.js +0 -78
- package/src/components/tabs/tabs.js +0 -196
- package/src/components/tabs/tabs.stories.js +0 -517
- package/src/components/tag/tag.css.js +0 -54
- package/src/components/tag/tag.js +0 -32
- package/src/components/tag/tag.stories.js +0 -126
- package/src/components/terminal/terminal-cursor.js +0 -60
- package/src/components/terminal/terminal-message.css.js +0 -410
- package/src/components/terminal/terminal-message.js +0 -195
- package/src/components/terminal/terminal-message.stories.js +0 -390
- package/src/components/termsOfUse/terms.css.js +0 -56
- package/src/components/termsOfUse/terms.js +0 -145
- package/src/components/termsOfUse/terms.stories.js +0 -230
- package/src/components/textarea/textarea.css.js +0 -51
- package/src/components/textarea/textarea.js +0 -151
- package/src/components/textarea/textarea.stories.js +0 -217
- package/src/components/tooltip/tooltip.css.js +0 -98
- package/src/components/tooltip/tooltip.js +0 -286
- package/src/components/tooltip/tooltip.stories.js +0 -167
- package/src/components/trust-panel/trust-panel.css.js +0 -229
- package/src/components/trust-panel/trust-panel.js +0 -124
- package/src/components/trust-panel/trust-panel.stories.js +0 -234
- package/src/components/ultimate-security-demo.stories.js +0 -431
- package/src/components/video/video.css.js +0 -22
- package/src/components/video/video.js +0 -80
- package/src/components/video/video.stories.js +0 -123
- package/src/components/video-player/video-player.css.js +0 -168
- package/src/components/video-player/video-player.js +0 -178
- package/src/components/video-player/video-player.stories.js +0 -202
- package/src/components/visual-alignment.stories.js +0 -411
- package/src/components/visually-hidden/visually-hidden.css.js +0 -24
- package/src/components/visually-hidden/visually-hidden.js +0 -16
- package/src/components/visually-hidden/visually-hidden.stories.js +0 -56
- package/src/index.js +0 -0
- package/src/tokens/borders.stories.js +0 -339
- package/src/tokens/brand-layer.js +0 -185
- package/src/tokens/brands.stories.js +0 -235
- package/src/tokens/color-responsibilities.stories.js +0 -227
- package/src/tokens/dark-derivation.js +0 -318
- package/src/tokens/dark-findings.js +0 -204
- package/src/tokens/dark-mode.stories.js +0 -207
- package/src/tokens/dimension.stories.js +0 -251
- package/src/tokens/elevation.stories.js +0 -142
- package/src/tokens/focus.stories.js +0 -342
- package/src/tokens/fonts.stories.js +0 -380
- package/src/tokens/motion.stories.js +0 -225
- package/src/tokens/shape.stories.js +0 -277
- package/src/tokens/spacing-rhythm.stories.js +0 -359
- package/src/tokens/spacing.stories.js +0 -228
- package/src/tokens/story-chrome.js +0 -503
- package/src/tokens/surfaces.stories.js +0 -224
- package/src/tokens/text-on-surface.stories.js +0 -164
- package/src/tokens/themes/bitdefender.js +0 -30
- package/src/tokens/themes/contract.js +0 -27
- package/src/tokens/themes/index.js +0 -41
- package/src/tokens/token-map.js +0 -220
- package/src/tokens/token-map.stories.js +0 -257
- package/src/tokens/token-purposes.js +0 -266
- package/src/tokens/tokens-grid.stories.js +0 -421
- package/src/tokens/tokens.css +0 -1808
- package/src/tokens/tokens.js +0 -1869
- package/src/tokens/tokens.stories.js +0 -158
- package/src/tokens/type-ceiling-words.js +0 -299
- package/src/tokens/typography.stories.js +0 -1050
- package/src/tokens/vertical-rhythm.stories.js +0 -224
- package/src/vendor/motion-art/README.md +0 -30
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-Bold.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-BoldItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-Italic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-Light.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-LightItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-Medium.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-MediumItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-Regular.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-SemiBold.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-SemiBoldItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-Bold.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-BoldItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-Italic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-Light.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-LightItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-Medium.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-MediumItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-Regular.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-SemiBold.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-SemiBoldItalic.woff2 +0 -0
- /package/{src → dist/src}/tokens/fonts.css +0 -0
- /package/{src → dist/src}/tokens/layout.css +0 -0
- /package/{src → dist/src}/vendor/motion-art/motion-art-element.js +0 -0
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
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 carouselCSS from "./card.css.js";
|
|
15
|
+
import { ensembleCSS } from "../shared/ensemble.css.js";
|
|
16
|
+
let Card = class Card extends LitElement {
|
|
17
|
+
constructor() {
|
|
18
|
+
super(...arguments);
|
|
19
|
+
this.title = "";
|
|
20
|
+
this.headingLevel = 2;
|
|
21
|
+
this.subtitle = "";
|
|
22
|
+
this.bgBlue = false;
|
|
23
|
+
// "" (default — existing grey-box carousel look) | "outline" — bordered,
|
|
24
|
+
// centered cards with a light-blue tint, blue title and centered icon.
|
|
25
|
+
// Propagated to every slotted bd-card-item (see _onSlotChange) unless an
|
|
26
|
+
// item sets its own variant attribute.
|
|
27
|
+
this.variant = "";
|
|
28
|
+
this._mutationObserver = null;
|
|
29
|
+
this._onSlotChange = () => {
|
|
30
|
+
this._propagateVariant();
|
|
31
|
+
this._syncAlignRows();
|
|
32
|
+
this._syncColumns();
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
static { this.styles = [ensembleCSS, carouselCSS]; }
|
|
36
|
+
_getColumnCount(itemCount) {
|
|
37
|
+
if (itemCount <= 4)
|
|
38
|
+
return itemCount;
|
|
39
|
+
if (itemCount <= 6)
|
|
40
|
+
return 3;
|
|
41
|
+
if (itemCount <= 8)
|
|
42
|
+
return 4;
|
|
43
|
+
if (itemCount === 9)
|
|
44
|
+
return 3;
|
|
45
|
+
return 4;
|
|
46
|
+
}
|
|
47
|
+
/* The column count follows the number of cards, and card.css.ts turns it
|
|
48
|
+
into tracks, so nothing here measures the track. Every card spans two
|
|
49
|
+
tracks of a grid twice as fine, which is what lets a short last row sit
|
|
50
|
+
in the middle, the way the wrapping row this replaces centred it: its
|
|
51
|
+
first card starts as many tracks in as the row is short of cards.
|
|
52
|
+
|
|
53
|
+
Between md and lg a card's 200px floor fits three to a row, not four,
|
|
54
|
+
so that band has its own count and its own short row. */
|
|
55
|
+
_syncColumns() {
|
|
56
|
+
const items = [...this.querySelectorAll("bd-card-item")];
|
|
57
|
+
const count = items.length;
|
|
58
|
+
const cols = this._getColumnCount(count);
|
|
59
|
+
const colsMd = Math.min(cols, 3);
|
|
60
|
+
this.style.setProperty("--bd-card-cols", String(cols));
|
|
61
|
+
this.style.setProperty("--bd-card-tracks", String(cols * 2));
|
|
62
|
+
this.style.setProperty("--bd-card-tracks-md", String(colsMd * 2));
|
|
63
|
+
const shortRow = (n) => {
|
|
64
|
+
const left = count % n;
|
|
65
|
+
return left ? { first: count - left, start: n - left + 1 } : null;
|
|
66
|
+
};
|
|
67
|
+
const wide = shortRow(cols);
|
|
68
|
+
const md = shortRow(colsMd);
|
|
69
|
+
items.forEach((item, i) => {
|
|
70
|
+
if (wide?.first === i)
|
|
71
|
+
item.style.setProperty("--bd-card-start", String(wide.start));
|
|
72
|
+
else
|
|
73
|
+
item.style.removeProperty("--bd-card-start");
|
|
74
|
+
if (md?.first === i)
|
|
75
|
+
item.style.setProperty("--bd-card-start-md", String(md.start));
|
|
76
|
+
else
|
|
77
|
+
item.style.removeProperty("--bd-card-start-md");
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
// Propagates this.variant onto every slotted bd-card-item that didn't
|
|
81
|
+
// itself declare a variant attribute in its ORIGINAL markup. We can't use
|
|
82
|
+
// item.hasAttribute("variant") here — CardItem's own `variant` property
|
|
83
|
+
// has reflect:true, so Lit reflects its default "" onto the attribute on
|
|
84
|
+
// first render, meaning hasAttribute("variant") becomes true for EVERY
|
|
85
|
+
// item almost immediately, even ones the author never touched. Instead
|
|
86
|
+
// we rely on item._authorSetVariant, captured in CardItem's constructor
|
|
87
|
+
// (before Lit's own reflection has a chance to run) — see below.
|
|
88
|
+
_propagateVariant() {
|
|
89
|
+
if (!this.variant)
|
|
90
|
+
return;
|
|
91
|
+
this.querySelectorAll("bd-card-item").forEach((item) => {
|
|
92
|
+
if (!item._authorSetVariant) {
|
|
93
|
+
item.variant = this.variant;
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
/* Marks every item as a subgrid of the section (their shadow styles key off
|
|
98
|
+
align-rows) and sizes the shared row tracks: header, title, the longest
|
|
99
|
+
content list, CTA. Above md the cards line up row by row through those
|
|
100
|
+
tracks -- card.css.ts -- which is what the section used to do in script:
|
|
101
|
+
a ResizeObserver, a wait for the fonts, two animation frames and a px
|
|
102
|
+
height written on every card's header, title, content and box.
|
|
103
|
+
|
|
104
|
+
align-rows was the opt-in to this layout; it is the only one now, so the
|
|
105
|
+
section no longer reads the attribute. */
|
|
106
|
+
_syncAlignRows() {
|
|
107
|
+
const items = [...this.querySelectorAll("bd-card-item")];
|
|
108
|
+
items.forEach((item) => item.setAttribute("align-rows", ""));
|
|
109
|
+
const contentRows = Math.max(0, ...items.map((item) => item._contentNodes?.().length ?? 0));
|
|
110
|
+
this.style.setProperty("--bd-card-content-rows", String(contentRows));
|
|
111
|
+
this.style.setProperty("--bd-card-rows", String(contentRows + 3));
|
|
112
|
+
}
|
|
113
|
+
firstUpdated() {
|
|
114
|
+
this._propagateVariant();
|
|
115
|
+
this._syncAlignRows();
|
|
116
|
+
this._syncColumns();
|
|
117
|
+
// Content added to or removed from an item changes its row count, which
|
|
118
|
+
// doesn't trigger slotchange on the section.
|
|
119
|
+
this._mutationObserver = new MutationObserver(() => this._syncAlignRows());
|
|
120
|
+
this._mutationObserver.observe(this, { childList: true, subtree: true });
|
|
121
|
+
}
|
|
122
|
+
disconnectedCallback() {
|
|
123
|
+
super.disconnectedCallback();
|
|
124
|
+
this._mutationObserver?.disconnect();
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Level is the document-outline question and belongs to page composition;
|
|
128
|
+
* the type scale is this component's and stays where it was. visual-level
|
|
129
|
+
* pins the look at h1 so only the semantics move. Defaults to h2, because a
|
|
130
|
+
* reusable section cannot know it is the page's only heading.
|
|
131
|
+
*/
|
|
132
|
+
get _headingTag() {
|
|
133
|
+
const n = Number(this.headingLevel);
|
|
134
|
+
return Number.isInteger(n) && n >= 1 && n <= 6 ? `h${n}` : "h2";
|
|
135
|
+
}
|
|
136
|
+
render() {
|
|
137
|
+
return html `
|
|
138
|
+
<section class="bd-ensemble bd-light-carousel-s">
|
|
139
|
+
${this.title
|
|
140
|
+
? html `
|
|
141
|
+
<div class="bd-header-light-carousel-s">
|
|
142
|
+
<bd-h as="${this._headingTag}" visual-level="h1" class="bd-section-title-s">${this.title}</bd-h>
|
|
143
|
+
${this.subtitle
|
|
144
|
+
? html `<p class="bd-section-subtitle-s">${this.subtitle}</p>`
|
|
145
|
+
: ""}
|
|
146
|
+
</div>
|
|
147
|
+
`
|
|
148
|
+
: ""}
|
|
149
|
+
|
|
150
|
+
<div class="bd-light-carousel-track-s">
|
|
151
|
+
<slot @slotchange=${this._onSlotChange}></slot>
|
|
152
|
+
</div>
|
|
153
|
+
|
|
154
|
+
</section>
|
|
155
|
+
`;
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
__decorate([
|
|
159
|
+
property({ type: String })
|
|
160
|
+
], Card.prototype, "title", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
property({ type: Number, attribute: "heading-level" })
|
|
163
|
+
], Card.prototype, "headingLevel", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
property({ type: String })
|
|
166
|
+
], Card.prototype, "subtitle", void 0);
|
|
167
|
+
__decorate([
|
|
168
|
+
property({ type: Boolean, reflect: true, attribute: "bg-blue" })
|
|
169
|
+
], Card.prototype, "bgBlue", void 0);
|
|
170
|
+
__decorate([
|
|
171
|
+
property({ type: String, reflect: true })
|
|
172
|
+
], Card.prototype, "variant", void 0);
|
|
173
|
+
Card = __decorate([
|
|
174
|
+
defineElement("bd-card-section")
|
|
175
|
+
], Card);
|
|
176
|
+
let CardItem = class CardItem extends LitElement {
|
|
177
|
+
static { this.styles = [carouselCSS]; }
|
|
178
|
+
constructor() {
|
|
179
|
+
super();
|
|
180
|
+
this.title = "";
|
|
181
|
+
this.subtitle = "";
|
|
182
|
+
this.icon = "";
|
|
183
|
+
this.align = "start";
|
|
184
|
+
this.bgBlue = false;
|
|
185
|
+
this.ctaAlign = "";
|
|
186
|
+
this.headingLevel = 3;
|
|
187
|
+
// "" (default) | "outline" — see Card.variant above. Reflected so
|
|
188
|
+
// card.css.ts can target it with :host([variant="outline"]).
|
|
189
|
+
this.variant = "";
|
|
190
|
+
// Captured BEFORE Lit's own property-to-attribute reflection runs (that
|
|
191
|
+
// happens on first update/render, not here). At this point the DOM
|
|
192
|
+
// parser has already set any attribute the author wrote in markup, so
|
|
193
|
+
// this reliably answers "did the author explicitly set variant on this
|
|
194
|
+
// element", independent of whatever default value we assign below.
|
|
195
|
+
this._authorSetVariant = this.hasAttribute("variant");
|
|
196
|
+
}
|
|
197
|
+
_renderIcon() {
|
|
198
|
+
const iconEl = this.querySelector("[slot='icon']");
|
|
199
|
+
const isOutline = this.variant === "outline";
|
|
200
|
+
const iconW = isOutline ? 65 : 48;
|
|
201
|
+
const iconH = isOutline ? 75 : 48;
|
|
202
|
+
if (iconEl) {
|
|
203
|
+
const clone = iconEl.cloneNode(true);
|
|
204
|
+
// The icon components (bd-globe-icon etc.) size their inner <svg>
|
|
205
|
+
// from their own width/height attributes, not from CSS on the host —
|
|
206
|
+
// setting only clone.style.width/height left the SVG's actual
|
|
207
|
+
// width="48" height="48" attributes untouched, so nothing visibly
|
|
208
|
+
// changed. Overwrite the attributes themselves for anything that
|
|
209
|
+
// looks like an icon component (custom element) or a raw <svg>.
|
|
210
|
+
clone.setAttribute("width", String(iconW));
|
|
211
|
+
clone.setAttribute("height", String(iconH));
|
|
212
|
+
clone.style.maxWidth = `${iconW}px`;
|
|
213
|
+
clone.style.maxHeight = `${iconH}px`;
|
|
214
|
+
clone.style.width = `${iconW}px`;
|
|
215
|
+
clone.style.height = `${iconH}px`;
|
|
216
|
+
clone.style.objectFit = "contain";
|
|
217
|
+
clone.style.display = "block";
|
|
218
|
+
const innerImg = clone.querySelector("img");
|
|
219
|
+
if (innerImg) {
|
|
220
|
+
innerImg.style.maxWidth = `${iconW}px`;
|
|
221
|
+
innerImg.style.maxHeight = `${iconH}px`;
|
|
222
|
+
innerImg.style.width = `${iconW}px`;
|
|
223
|
+
innerImg.style.height = `${iconH}px`;
|
|
224
|
+
innerImg.style.objectFit = "contain";
|
|
225
|
+
innerImg.style.display = "block";
|
|
226
|
+
innerImg.removeAttribute("width");
|
|
227
|
+
innerImg.removeAttribute("height");
|
|
228
|
+
}
|
|
229
|
+
return clone;
|
|
230
|
+
}
|
|
231
|
+
if (this.icon) {
|
|
232
|
+
return html `<img
|
|
233
|
+
src="${this.icon}"
|
|
234
|
+
alt=""
|
|
235
|
+
class="bd-light-icon-s"
|
|
236
|
+
style="width: ${iconW}px; height: ${iconH}px;"
|
|
237
|
+
/>`;
|
|
238
|
+
}
|
|
239
|
+
return "";
|
|
240
|
+
}
|
|
241
|
+
// Nodes rendered in the default slot — each one is a content row
|
|
242
|
+
_contentNodes() {
|
|
243
|
+
return [...this.childNodes].filter((node) => {
|
|
244
|
+
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
245
|
+
const slot = node.getAttribute("slot");
|
|
246
|
+
return slot !== "icon" && slot !== "cta";
|
|
247
|
+
}
|
|
248
|
+
return node.nodeType === Node.TEXT_NODE && node.textContent.trim() !== "";
|
|
249
|
+
});
|
|
250
|
+
}
|
|
251
|
+
_hasContent() {
|
|
252
|
+
return this._contentNodes().length > 0;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* One level below the section default. The h5 it used to carry was a type
|
|
256
|
+
* choice, not an outline one, so the size stays on visual-level while the
|
|
257
|
+
* level itself stops skipping three steps below its own section.
|
|
258
|
+
*/
|
|
259
|
+
get _headingTag() {
|
|
260
|
+
const n = Number(this.headingLevel);
|
|
261
|
+
return Number.isInteger(n) && n >= 1 && n <= 6 ? `h${n}` : "h3";
|
|
262
|
+
}
|
|
263
|
+
render() {
|
|
264
|
+
const isOutline = this.variant === "outline";
|
|
265
|
+
const isCentered = this.align === "center" || isOutline;
|
|
266
|
+
const hasContent = this._hasContent();
|
|
267
|
+
const hasCtaSlot = !!this.querySelector("[slot='cta']");
|
|
268
|
+
const ctaAlign = this.ctaAlign || (isCentered ? "center" : "start");
|
|
269
|
+
const ctaJustify = ctaAlign === "center"
|
|
270
|
+
? "justify-content: center;"
|
|
271
|
+
: ctaAlign === "end"
|
|
272
|
+
? "justify-content: flex-end;"
|
|
273
|
+
: "justify-content: flex-start;";
|
|
274
|
+
return html `
|
|
275
|
+
<div
|
|
276
|
+
class="bd-light-box-s
|
|
277
|
+
${isCentered ? "bd-light-box-center" : ""}
|
|
278
|
+
${this.bgBlue ? "bd-light-box-blue" : ""}
|
|
279
|
+
${isOutline ? "bd-light-box-outline" : ""}"
|
|
280
|
+
>
|
|
281
|
+
<div class="bd-light-box-header-s ${isCentered ? "bd-light-box-header-center" : ""}">
|
|
282
|
+
${this._renderIcon()}
|
|
283
|
+
</div>
|
|
284
|
+
|
|
285
|
+
${this.title
|
|
286
|
+
? html `
|
|
287
|
+
<div class="bd-light-title-badge-wrapper-s ${!hasContent ? "bd-light-title-no-content" : ""}">
|
|
288
|
+
<div class="bd-card-title-group">
|
|
289
|
+
<bd-h as="${this._headingTag}" visual-level="h5" fontWeight="bold">${this.title}</bd-h>
|
|
290
|
+
${this.subtitle
|
|
291
|
+
? html `<p class="bd-card-item-subtitle">${this.subtitle}</p>`
|
|
292
|
+
: ""}
|
|
293
|
+
</div>
|
|
294
|
+
</div>
|
|
295
|
+
`
|
|
296
|
+
: ""}
|
|
297
|
+
|
|
298
|
+
${hasContent
|
|
299
|
+
? html `
|
|
300
|
+
<div class="bd-card-content-wrapper">
|
|
301
|
+
<slot></slot>
|
|
302
|
+
</div>
|
|
303
|
+
`
|
|
304
|
+
: ""}
|
|
305
|
+
|
|
306
|
+
${hasCtaSlot
|
|
307
|
+
? html `
|
|
308
|
+
<div class="bd-card-cta-wrapper" style="${ctaJustify}">
|
|
309
|
+
<slot name="cta"></slot>
|
|
310
|
+
</div>
|
|
311
|
+
`
|
|
312
|
+
: ""}
|
|
313
|
+
|
|
314
|
+
</div>
|
|
315
|
+
`;
|
|
316
|
+
}
|
|
317
|
+
};
|
|
318
|
+
__decorate([
|
|
319
|
+
property({ type: String })
|
|
320
|
+
], CardItem.prototype, "title", void 0);
|
|
321
|
+
__decorate([
|
|
322
|
+
property({ type: String })
|
|
323
|
+
], CardItem.prototype, "subtitle", void 0);
|
|
324
|
+
__decorate([
|
|
325
|
+
property({ type: String })
|
|
326
|
+
], CardItem.prototype, "icon", void 0);
|
|
327
|
+
__decorate([
|
|
328
|
+
property({ type: String })
|
|
329
|
+
], CardItem.prototype, "align", void 0);
|
|
330
|
+
__decorate([
|
|
331
|
+
property({ type: Boolean, reflect: true, attribute: "bg-blue" })
|
|
332
|
+
], CardItem.prototype, "bgBlue", void 0);
|
|
333
|
+
__decorate([
|
|
334
|
+
property({ type: String, attribute: "cta-align" })
|
|
335
|
+
], CardItem.prototype, "ctaAlign", void 0);
|
|
336
|
+
__decorate([
|
|
337
|
+
property({ type: Number, attribute: "heading-level" })
|
|
338
|
+
], CardItem.prototype, "headingLevel", void 0);
|
|
339
|
+
__decorate([
|
|
340
|
+
property({ type: String, reflect: true })
|
|
341
|
+
], CardItem.prototype, "variant", void 0);
|
|
342
|
+
CardItem = __decorate([
|
|
343
|
+
defineElement("bd-card-item")
|
|
344
|
+
], CardItem);
|
|
345
|
+
//# sourceMappingURL=card.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.js","sourceRoot":"","sources":["../../../../src/components/cards/card.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,2EAA2E;AAC3E,OAAO,wBAAwB,CAAC;AAChC,OAAO,qBAAqB,CAAC;AAC7B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAKxD,IAAM,IAAI,GAAV,MAAM,IAAK,SAAQ,UAAU;IAA7B;;QAIE,UAAK,GAAG,EAAE,CAAC;QAEX,iBAAY,GAAG,CAAC,CAAC;QAEjB,aAAQ,GAAG,EAAE,CAAC;QAEd,WAAM,GAAG,KAAK,CAAC;QACf,yEAAyE;QACzE,uEAAuE;QACvE,yEAAyE;QACzE,uCAAuC;QAEvC,YAAO,GAAY,EAAE,CAAC;QAEtB,sBAAiB,GAA4B,IAAI,CAAC;QA4ElD,kBAAa,GAAG,GAAG,EAAE;YACnB,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACzB,IAAI,CAAC,cAAc,EAAE,CAAC;YACtB,IAAI,CAAC,YAAY,EAAE,CAAC;QACtB,CAAC,CAAA;IAmDH,CAAC;aApJQ,WAAM,GAAG,CAAC,WAAW,EAAE,WAAW,CAAC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B,QAAQ;IADb,aAAa,CAAC,cAAc,CAAC;GACxB,QAAQ,CAsKb","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 \"../button/button.ts\";\nimport \"../heading/heading.ts\";\nimport carouselCSS from \"./card.css.ts\";\nimport { ensembleCSS } from \"../shared/ensemble.css.ts\";\n\ntype Variant = \"\" | \"outline\";\n\n@defineElement(\"bd-card-section\")\nclass Card extends LitElement {\n static styles = [ensembleCSS, carouselCSS];\n\n @property({ type: String })\n title = \"\";\n @property({ type: Number, attribute: \"heading-level\" })\n headingLevel = 2;\n @property({ type: String })\n subtitle = \"\";\n @property({ type: Boolean, reflect: true, attribute: \"bg-blue\" })\n bgBlue = false;\n // \"\" (default — existing grey-box carousel look) | \"outline\" — bordered,\n // centered cards with a light-blue tint, blue title and centered icon.\n // Propagated to every slotted bd-card-item (see _onSlotChange) unless an\n // item sets its own variant attribute.\n @property({ type: String, reflect: true })\n variant: Variant = \"\";\n\n _mutationObserver: MutationObserver | null = null;\n\n _getColumnCount(itemCount: number) {\n if (itemCount <= 4) return itemCount;\n if (itemCount <= 6) return 3;\n if (itemCount <= 8) return 4;\n if (itemCount === 9) return 3;\n return 4;\n }\n\n /* The column count follows the number of cards, and card.css.ts turns it\n into tracks, so nothing here measures the track. Every card spans two\n tracks of a grid twice as fine, which is what lets a short last row sit\n in the middle, the way the wrapping row this replaces centred it: its\n first card starts as many tracks in as the row is short of cards.\n\n Between md and lg a card's 200px floor fits three to a row, not four,\n so that band has its own count and its own short row. */\n _syncColumns() {\n const items = [...this.querySelectorAll(\"bd-card-item\")];\n const count = items.length;\n const cols = this._getColumnCount(count);\n const colsMd = Math.min(cols, 3);\n this.style.setProperty(\"--bd-card-cols\", String(cols));\n this.style.setProperty(\"--bd-card-tracks\", String(cols * 2));\n this.style.setProperty(\"--bd-card-tracks-md\", String(colsMd * 2));\n\n const shortRow = (n: number) => {\n const left = count % n;\n return left ? { first: count - left, start: n - left + 1 } : null;\n };\n const wide = shortRow(cols);\n const md = shortRow(colsMd);\n items.forEach((item, i) => {\n if (wide?.first === i) item.style.setProperty(\"--bd-card-start\", String(wide.start));\n else item.style.removeProperty(\"--bd-card-start\");\n if (md?.first === i) item.style.setProperty(\"--bd-card-start-md\", String(md.start));\n else item.style.removeProperty(\"--bd-card-start-md\");\n });\n }\n\n // Propagates this.variant onto every slotted bd-card-item that didn't\n // itself declare a variant attribute in its ORIGINAL markup. We can't use\n // item.hasAttribute(\"variant\") here — CardItem's own `variant` property\n // has reflect:true, so Lit reflects its default \"\" onto the attribute on\n // first render, meaning hasAttribute(\"variant\") becomes true for EVERY\n // item almost immediately, even ones the author never touched. Instead\n // we rely on item._authorSetVariant, captured in CardItem's constructor\n // (before Lit's own reflection has a chance to run) — see below.\n _propagateVariant() {\n if (!this.variant) return;\n this.querySelectorAll(\"bd-card-item\").forEach((item) => {\n if (!item._authorSetVariant) {\n item.variant = this.variant;\n }\n });\n }\n\n /* Marks every item as a subgrid of the section (their shadow styles key off\n align-rows) and sizes the shared row tracks: header, title, the longest\n content list, CTA. Above md the cards line up row by row through those\n tracks -- card.css.ts -- which is what the section used to do in script:\n a ResizeObserver, a wait for the fonts, two animation frames and a px\n height written on every card's header, title, content and box.\n\n align-rows was the opt-in to this layout; it is the only one now, so the\n section no longer reads the attribute. */\n _syncAlignRows() {\n const items = [...this.querySelectorAll(\"bd-card-item\")];\n items.forEach((item) => item.setAttribute(\"align-rows\", \"\"));\n\n const contentRows = Math.max(0, ...items.map((item) => item._contentNodes?.().length ?? 0));\n this.style.setProperty(\"--bd-card-content-rows\", String(contentRows));\n this.style.setProperty(\"--bd-card-rows\", String(contentRows + 3));\n }\n\n _onSlotChange = () => {\n this._propagateVariant();\n this._syncAlignRows();\n this._syncColumns();\n }\n\n firstUpdated() {\n this._propagateVariant();\n this._syncAlignRows();\n this._syncColumns();\n\n // Content added to or removed from an item changes its row count, which\n // doesn't trigger slotchange on the section.\n this._mutationObserver = new MutationObserver(() => this._syncAlignRows());\n this._mutationObserver.observe(this, { childList: true, subtree: true });\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this._mutationObserver?.disconnect();\n }\n\n\n /**\n * Level is the document-outline question and belongs to page composition;\n * the type scale is this component's and stays where it was. visual-level\n * pins the look at h1 so only the semantics move. Defaults to h2, because a\n * reusable section cannot know it is the page's only heading.\n */\n get _headingTag() {\n const n = Number(this.headingLevel);\n return Number.isInteger(n) && n >= 1 && n <= 6 ? `h${n}` : \"h2\";\n }\n\n render() {\n return html`\n <section class=\"bd-ensemble bd-light-carousel-s\">\n ${this.title\n ? html`\n <div class=\"bd-header-light-carousel-s\">\n <bd-h as=\"${this._headingTag}\" visual-level=\"h1\" class=\"bd-section-title-s\">${this.title}</bd-h>\n ${this.subtitle\n ? html`<p class=\"bd-section-subtitle-s\">${this.subtitle}</p>`\n : \"\"}\n </div>\n `\n : \"\"}\n\n <div class=\"bd-light-carousel-track-s\">\n <slot @slotchange=${this._onSlotChange}></slot>\n </div>\n\n </section>\n `;\n }\n}\n\ntype Align = \"start\" | \"center\";\ntype CtaAlign = \"\" | \"start\" | \"center\" | \"end\";\n\n@defineElement(\"bd-card-item\")\nclass CardItem extends LitElement {\n static styles = [carouselCSS];\n\n @property({ type: String })\n title = \"\";\n @property({ type: String })\n subtitle = \"\";\n @property({ type: String })\n icon = \"\";\n @property({ type: String })\n align: Align = \"start\";\n @property({ type: Boolean, reflect: true, attribute: \"bg-blue\" })\n bgBlue = false;\n @property({ type: String, attribute: \"cta-align\" })\n ctaAlign: CtaAlign = \"\";\n @property({ type: Number, attribute: \"heading-level\" })\n headingLevel = 3;\n // \"\" (default) | \"outline\" — see Card.variant above. Reflected so\n // card.css.ts can target it with :host([variant=\"outline\"]).\n @property({ type: String, reflect: true })\n variant: Variant = \"\";\n\n _authorSetVariant: boolean;\n\n constructor() {\n super();\n // Captured BEFORE Lit's own property-to-attribute reflection runs (that\n // happens on first update/render, not here). At this point the DOM\n // parser has already set any attribute the author wrote in markup, so\n // this reliably answers \"did the author explicitly set variant on this\n // element\", independent of whatever default value we assign below.\n this._authorSetVariant = this.hasAttribute(\"variant\");\n }\n\n _renderIcon() {\n const iconEl = this.querySelector<HTMLElement | SVGElement>(\"[slot='icon']\");\n const isOutline = this.variant === \"outline\";\n const iconW = isOutline ? 65 : 48;\n const iconH = isOutline ? 75 : 48;\n\n if (iconEl) {\n const clone = iconEl.cloneNode(true) as typeof iconEl;\n\n // The icon components (bd-globe-icon etc.) size their inner <svg>\n // from their own width/height attributes, not from CSS on the host —\n // setting only clone.style.width/height left the SVG's actual\n // width=\"48\" height=\"48\" attributes untouched, so nothing visibly\n // changed. Overwrite the attributes themselves for anything that\n // looks like an icon component (custom element) or a raw <svg>.\n clone.setAttribute(\"width\", String(iconW));\n clone.setAttribute(\"height\", String(iconH));\n\n clone.style.maxWidth = `${iconW}px`;\n clone.style.maxHeight = `${iconH}px`;\n clone.style.width = `${iconW}px`;\n clone.style.height = `${iconH}px`;\n clone.style.objectFit = \"contain\";\n clone.style.display = \"block\";\n\n const innerImg = clone.querySelector(\"img\");\n if (innerImg) {\n innerImg.style.maxWidth = `${iconW}px`;\n innerImg.style.maxHeight = `${iconH}px`;\n innerImg.style.width = `${iconW}px`;\n innerImg.style.height = `${iconH}px`;\n innerImg.style.objectFit = \"contain\";\n innerImg.style.display = \"block\";\n innerImg.removeAttribute(\"width\");\n innerImg.removeAttribute(\"height\");\n }\n\n return clone;\n }\n\n if (this.icon) {\n return html`<img\n src=\"${this.icon}\"\n alt=\"\"\n class=\"bd-light-icon-s\"\n style=\"width: ${iconW}px; height: ${iconH}px;\"\n />`;\n }\n\n return \"\";\n }\n // Nodes rendered in the default slot — each one is a content row\n _contentNodes() {\n return [...this.childNodes].filter((node) => {\n if (node.nodeType === Node.ELEMENT_NODE) {\n const slot = (node as Element).getAttribute(\"slot\");\n return slot !== \"icon\" && slot !== \"cta\";\n }\n return node.nodeType === Node.TEXT_NODE && (node as Text).textContent.trim() !== \"\";\n });\n }\n\n _hasContent() {\n return this._contentNodes().length > 0;\n }\n\n\n /**\n * One level below the section default. The h5 it used to carry was a type\n * choice, not an outline one, so the size stays on visual-level while the\n * level itself stops skipping three steps below its own section.\n */\n get _headingTag() {\n const n = Number(this.headingLevel);\n return Number.isInteger(n) && n >= 1 && n <= 6 ? `h${n}` : \"h3\";\n }\n\n render() {\n const isOutline = this.variant === \"outline\";\n const isCentered = this.align === \"center\" || isOutline;\n const hasContent = this._hasContent();\n const hasCtaSlot = !!this.querySelector(\"[slot='cta']\");\n const ctaAlign = this.ctaAlign || (isCentered ? \"center\" : \"start\");\n const ctaJustify = ctaAlign === \"center\"\n ? \"justify-content: center;\"\n : ctaAlign === \"end\"\n ? \"justify-content: flex-end;\"\n : \"justify-content: flex-start;\";\n\n return html`\n <div\n class=\"bd-light-box-s\n ${isCentered ? \"bd-light-box-center\" : \"\"}\n ${this.bgBlue ? \"bd-light-box-blue\" : \"\"}\n ${isOutline ? \"bd-light-box-outline\" : \"\"}\"\n >\n <div class=\"bd-light-box-header-s ${isCentered ? \"bd-light-box-header-center\" : \"\"}\">\n ${this._renderIcon()}\n </div>\n\n ${this.title\n ? html`\n <div class=\"bd-light-title-badge-wrapper-s ${!hasContent ? \"bd-light-title-no-content\" : \"\"}\">\n <div class=\"bd-card-title-group\">\n <bd-h as=\"${this._headingTag}\" visual-level=\"h5\" fontWeight=\"bold\">${this.title}</bd-h>\n ${this.subtitle\n ? html`<p class=\"bd-card-item-subtitle\">${this.subtitle}</p>`\n : \"\"}\n </div>\n </div>\n `\n : \"\"}\n\n ${hasContent\n ? html`\n <div class=\"bd-card-content-wrapper\">\n <slot></slot>\n </div>\n `\n : \"\"}\n\n ${hasCtaSlot\n ? html`\n <div class=\"bd-card-cta-wrapper\" style=\"${ctaJustify}\">\n <slot name=\"cta\"></slot>\n </div>\n `\n : \"\"}\n\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-card-section\": Card;\n \"bd-card-item\" : CardItem;\n }\n}"]}
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import { css, unsafeCSS } from "lit";
|
|
2
|
+
import { below } from "../shared/token-scales.js";
|
|
3
|
+
/* The card at its phone inset and height: said once, asked twice (below). */
|
|
4
|
+
const narrowCard = css `
|
|
5
|
+
.bd-box {
|
|
6
|
+
padding: var(--spacing-0) var(--spacing-20);
|
|
7
|
+
min-height: 300px;
|
|
8
|
+
max-width: calc(100cqi - 2 * var(--spacing-20));
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.bd-carousel-icon {
|
|
12
|
+
bottom: var(--spacing-10);
|
|
13
|
+
}
|
|
14
|
+
`;
|
|
15
|
+
const narrowCardMedia = css `@media (max-width: 480px) { ${narrowCard} }`;
|
|
16
|
+
export default css `
|
|
17
|
+
:host {
|
|
18
|
+
display: block;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.bd-carousel {
|
|
22
|
+
display: block;
|
|
23
|
+
align-items: center;
|
|
24
|
+
position: relative;
|
|
25
|
+
/* 100px used to stand here, room for two arrows positioned absolutely
|
|
26
|
+
65px below the track. The dots are in the flow now, so the space below
|
|
27
|
+
the track is their margin, their 24px and this: 96. */
|
|
28
|
+
margin-bottom: var(--spacing-48);
|
|
29
|
+
max-width: 100%;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
}
|
|
32
|
+
/* While a mouse drags the track (_enableMouseDrag) it follows the pointer
|
|
33
|
+
pixel for pixel, so neither the snap nor the smooth scroll-behavior may
|
|
34
|
+
come between them; the drag settles on a stop itself on release. */
|
|
35
|
+
.bd-carousel-track.dragging {
|
|
36
|
+
cursor: grabbing;
|
|
37
|
+
scroll-snap-type: none;
|
|
38
|
+
scroll-behavior: auto;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* No .bd-section-title rule. The title is a bd-h at visual-level="h3", so
|
|
42
|
+
the heading-h3 role carries the whole of its type -- the three
|
|
43
|
+
declarations that stood here spelled out that role's size and weight by
|
|
44
|
+
hand while leaving its line-height unset, which is how the title came to
|
|
45
|
+
render at the browser's default leading and with the browser's default h2
|
|
46
|
+
margins. LightCarousel and CardFeatures declare no such rule either. */
|
|
47
|
+
.bd-box:focus-visible,
|
|
48
|
+
.bd-plus-button:focus-visible {
|
|
49
|
+
/* the one focus ring — see Foundations/Focus */
|
|
50
|
+
/* forced-colors mode does not paint box-shadow, so the ring
|
|
51
|
+
vanishes there; it does paint an outline, in a system colour. This one
|
|
52
|
+
is transparent everywhere else, and the offset lands it on the ring's
|
|
53
|
+
outer band. */
|
|
54
|
+
outline: var(--border-width-2) solid transparent;
|
|
55
|
+
outline-offset: var(--focus-outline-offset);
|
|
56
|
+
box-shadow: var(--focus-outline-primary);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.bd-header-carousel {
|
|
60
|
+
display: block;
|
|
61
|
+
align-items: center;
|
|
62
|
+
text-align: center;
|
|
63
|
+
margin-bottom: 50px;
|
|
64
|
+
margin-top: 50px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* A ".bd-heading{padding: 20px}" rule stood here. .bd-heading is the class
|
|
68
|
+
bd-h puts on the element inside its own shadow root, so this stylesheet
|
|
69
|
+
never reached it: measured 0 matches across 27 carousel sections and 102
|
|
70
|
+
carousel items. */
|
|
71
|
+
/* The dots: bd-pagination-dots, the package's one set of slide controls.
|
|
72
|
+
Two <img role="button"> arrows stood here, painted by eight data-URI SVGs
|
|
73
|
+
with the blues and the disabled grey baked in as hex -- invisible to every
|
|
74
|
+
colour check -- and positioned absolutely 65px under the track. Where they
|
|
75
|
+
sat, the dots sit now: under the track, at its end. */
|
|
76
|
+
.bd-carousel-controls {
|
|
77
|
+
display: flex;
|
|
78
|
+
justify-content: flex-end;
|
|
79
|
+
margin-top: var(--spacing-24);
|
|
80
|
+
padding-inline: var(--spacing-10);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* A scroller the browser drives: the wheel, a trackpad, touch and the
|
|
84
|
+
keyboard (arrows, once focus is on an item's +) all move it, and the snap
|
|
85
|
+
settles each of them on a stop. It was overflow-x: hidden, moved only by a
|
|
86
|
+
script writing scrollLeft from mouse and touch handlers, so none of those
|
|
87
|
+
reached it. */
|
|
88
|
+
.bd-carousel-track {
|
|
89
|
+
display: flex;
|
|
90
|
+
gap: 2em;
|
|
91
|
+
flex: 1;
|
|
92
|
+
padding: var(--spacing-0) var(--spacing-20);
|
|
93
|
+
/* the stops start where the padding leaves the first item, so each is one
|
|
94
|
+
whole _step() from the last -- the arithmetic the dots count with */
|
|
95
|
+
scroll-padding-inline: var(--spacing-20);
|
|
96
|
+
position: relative;
|
|
97
|
+
overflow-x: auto;
|
|
98
|
+
overflow-y: hidden;
|
|
99
|
+
/* a sideways swipe that reaches either end stops here, rather than
|
|
100
|
+
carrying on into the browser's back and forward gesture */
|
|
101
|
+
overscroll-behavior-x: contain;
|
|
102
|
+
/* No scrollbar: the dots say where the track is. Hidden the way
|
|
103
|
+
bd-light-carousel hides its own. */
|
|
104
|
+
scrollbar-width: none;
|
|
105
|
+
scroll-snap-type: x mandatory;
|
|
106
|
+
/* a dot's jump glides; see the reduced-motion block for who it does not */
|
|
107
|
+
scroll-behavior: smooth;
|
|
108
|
+
z-index: var(--z-base);
|
|
109
|
+
/* The items size themselves against the track (see .bd-box): a card is
|
|
110
|
+
as wide as its track allows, and narrow when the track is, wherever
|
|
111
|
+
the section is placed. */
|
|
112
|
+
container-type: inline-size;
|
|
113
|
+
}
|
|
114
|
+
.bd-carousel-track::-webkit-scrollbar {
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
117
|
+
/* Each item is a stop. The snap above had no aligned child to land on, so
|
|
118
|
+
it never snapped at all. Scoped to the track's slot: bd-carousel-item
|
|
119
|
+
adopts this stylesheet too, and a bare ::slotted(*) there would make every
|
|
120
|
+
paragraph inside an item a stop as well. */
|
|
121
|
+
.bd-carousel-track ::slotted(*) {
|
|
122
|
+
scroll-snap-align: start;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.bd-carousel-icon {
|
|
126
|
+
position: relative;
|
|
127
|
+
max-width: 100%;
|
|
128
|
+
height: var(--spacing-40);
|
|
129
|
+
width: var(--spacing-40);
|
|
130
|
+
}
|
|
131
|
+
.bd-box {
|
|
132
|
+
flex: 0 0 auto;
|
|
133
|
+
min-height: 217px;
|
|
134
|
+
min-width: unset;
|
|
135
|
+
width: 350px;
|
|
136
|
+
/* Never wider than the track: the 350 and the inset beside it are 414,
|
|
137
|
+
and a 343 phone track used to hold a 390 card with its + past the
|
|
138
|
+
track's edge at every stop. cqi rather than a percentage because the
|
|
139
|
+
item around this box is sized by it -- a percentage there would be
|
|
140
|
+
cyclic and read as none. */
|
|
141
|
+
max-width: calc(100cqi - 2 * var(--card-padding));
|
|
142
|
+
background: var(--color-surface-container);
|
|
143
|
+
/* --radius-2xl, the step the other ten cards take.
|
|
144
|
+
bd-light-carousel made this exact move and wrote the argument for it:
|
|
145
|
+
"nothing about a carousel item asks for a softer corner than the same
|
|
146
|
+
card sitting in a grid". Same family, same reasoning, this file was
|
|
147
|
+
behind. Visible: the corner tightens 24px to 16px. */
|
|
148
|
+
border-radius: var(--card-radius);
|
|
149
|
+
/* No edge, for the reason bd-bentoitem's rule states: this card sits on
|
|
150
|
+
surface/container over the page ground, and that role is documented as
|
|
151
|
+
reading like its own object without a border or a shadow to say so.
|
|
152
|
+
|
|
153
|
+
What stood here was a --border-width-2 edge, and the comment it carried
|
|
154
|
+
was about the UNIT rather than the edge: --spacing-2 and --border-width-2
|
|
155
|
+
are both 2px at a 16px root and diverge above it, so at a 24px root this
|
|
156
|
+
edge went to 3px while bd-bentoitem's held at 1px. That argument is spent
|
|
157
|
+
-- neither card draws an edge now -- but it is worth keeping the
|
|
158
|
+
conclusion: a border is a hairline against a shape, not a distance
|
|
159
|
+
between things, so it never belongs on the spacing scale. */
|
|
160
|
+
/* --spacing-32, the step, not 2em. Both are 32px at a 16px root and the
|
|
161
|
+
em was never a decision -- ten other cards spell the same inset with the
|
|
162
|
+
scale, and an em here would also drift with any font-size this box ever
|
|
163
|
+
inherits. */
|
|
164
|
+
padding: var(--card-padding);
|
|
165
|
+
display: flex;
|
|
166
|
+
flex-direction: column;
|
|
167
|
+
align-items: start;
|
|
168
|
+
justify-content: center;
|
|
169
|
+
text-align: start;
|
|
170
|
+
cursor: pointer;
|
|
171
|
+
transition: transform var(--transition-duration-normal) var(--transition-easing-smooth);
|
|
172
|
+
font-family: var(--typography-fontFamily-sans);
|
|
173
|
+
position: relative;
|
|
174
|
+
z-index: var(--z-raised);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
/* A verbatim copy of modal.css.ts stood here. The carousel renders
|
|
179
|
+
<bd-modal>, which styles its own shadow root, so none of it could ever
|
|
180
|
+
match: measured zero .bd-modal / .bd-modal-content elements in every
|
|
181
|
+
carousel story, including "Modal — Click + to Open". */
|
|
182
|
+
|
|
183
|
+
/* The +: a circle drawn by the button's own edge around bd-plus-icon,
|
|
184
|
+
which takes its ink from the button (currentColor), so every state is a
|
|
185
|
+
colour from the brand's roles and follows a partner's theme -- the
|
|
186
|
+
tertiary button's pairs: the brand edge and the action ink at rest, the
|
|
187
|
+
brand wash on hover, the action fill with the brand's own ink pressed.
|
|
188
|
+
It used to be three data: URIs, one a state, each painting %23006DFF
|
|
189
|
+
and %23F0F7FF baked into the drawing, which no token reaches: the one
|
|
190
|
+
place in the package that stayed Bitdefender blue under every brand
|
|
191
|
+
(plans/LATER.md entry 3). */
|
|
192
|
+
.bd-plus-button {
|
|
193
|
+
position: absolute;
|
|
194
|
+
bottom: var(--spacing-10);
|
|
195
|
+
right: var(--spacing-10);
|
|
196
|
+
width: var(--spacing-44);
|
|
197
|
+
height: var(--spacing-44);
|
|
198
|
+
display: flex;
|
|
199
|
+
align-items: center;
|
|
200
|
+
justify-content: center;
|
|
201
|
+
border-radius: var(--radius-full);
|
|
202
|
+
cursor: pointer;
|
|
203
|
+
/* A <button> now, not a div with role="button" and its own keydown: that
|
|
204
|
+
opened the modal on Space while also scrolling the page, and again on
|
|
205
|
+
every key repeat. */
|
|
206
|
+
border: var(--border-width-2) solid var(--color-border-brand);
|
|
207
|
+
background: transparent;
|
|
208
|
+
color: var(--color-action-primary);
|
|
209
|
+
padding: 0;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.bd-plus-button:hover {
|
|
213
|
+
background: var(--status-brand-surface);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/* A "bd-carousel-item::part(content)" rule stood here and was dead three
|
|
217
|
+
times over. The items are light-DOM children of bd-carousel-section -- its
|
|
218
|
+
shadow root holds a slot -- so a selector in this stylesheet cannot reach
|
|
219
|
+
them in either host that adopts it; bd-carousel-item exposes no part named
|
|
220
|
+
"content" at all; and .bd-box above already sets this same font-family,
|
|
221
|
+
which everything inside it inherits. Measured: the item's box computes the
|
|
222
|
+
IBM Plex Sans stack with this rule gone. */
|
|
223
|
+
|
|
224
|
+
.bd-plus-button:active {
|
|
225
|
+
background: var(--color-action-primary);
|
|
226
|
+
color: var(--color-brand-on-fill);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
@media ${unsafeCSS(below('md'))} {
|
|
230
|
+
.bd-carousel-track {
|
|
231
|
+
flex-wrap: nowrap;
|
|
232
|
+
gap: 1em;
|
|
233
|
+
padding: var(--spacing-0) var(--spacing-0);
|
|
234
|
+
scroll-padding-inline: var(--spacing-0);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/* A card in a track 480 wide or less: a phone's, or a narrow column's.
|
|
239
|
+
This asked the screen, which stands in for the track only while the
|
|
240
|
+
carousel fills a phone. It still asks the screen too, for an item set on
|
|
241
|
+
its own with no track around it (Foundations/Visual Alignment's card
|
|
242
|
+
family); in a track the two never disagree, since the track is never
|
|
243
|
+
wider than the screen. */
|
|
244
|
+
${narrowCardMedia}
|
|
245
|
+
@container (width <= 480px) { ${narrowCard} }
|
|
246
|
+
|
|
247
|
+
/* A reader who asked for less motion was still getting the item lift. Twenty-three
|
|
248
|
+
of the thirty animated directories in this package honour the query; this
|
|
249
|
+
one did not. */
|
|
250
|
+
@media (prefers-reduced-motion: reduce) {
|
|
251
|
+
.bd-box {
|
|
252
|
+
transition: none;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/* A dot, or the end of a drag, moves the track with a jump rather than a
|
|
256
|
+
glide. This is what _goToPage used to ask matchMedia for. */
|
|
257
|
+
.bd-carousel-track {
|
|
258
|
+
scroll-behavior: auto;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
`;
|
|
262
|
+
//# sourceMappingURL=carousel.css.js.map
|