@repobit/dex-system-design 2.7.1 → 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 +37 -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 -232
- 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 @@
|
|
|
1
|
+
{"version":3,"file":"carousel.css.js","sourceRoot":"","sources":["../../../../src/components/carousel/carousel.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElD,6EAA6E;AAC7E,MAAM,UAAU,GAAG,GAAG,CAAA;;;;;;;;;;CAUrB,CAAC;AAEF,MAAM,eAAe,GAAG,GAAG,CAAA,+BAA+B,UAAU,IAAI,CAAC;AAEzE,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAqNP,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;;;;;;;;;;;;;;;IAe7B,eAAe;kCACe,UAAU;;;;;;;;;;;;;;;;CAgB3C,CAAC","sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"../shared/token-scales.ts\";\n\n/* The card at its phone inset and height: said once, asked twice (below). */\nconst narrowCard = css`\n .bd-box {\n padding: var(--spacing-0) var(--spacing-20);\n min-height: 300px;\n max-width: calc(100cqi - 2 * var(--spacing-20));\n }\n\n .bd-carousel-icon {\n bottom: var(--spacing-10);\n }\n`;\n\nconst narrowCardMedia = css`@media (max-width: 480px) { ${narrowCard} }`;\n\nexport default css`\n :host {\n display: block;\n }\n\n .bd-carousel {\n display: block;\n align-items: center;\n position: relative;\n /* 100px used to stand here, room for two arrows positioned absolutely\n 65px below the track. The dots are in the flow now, so the space below\n the track is their margin, their 24px and this: 96. */\n margin-bottom: var(--spacing-48);\n max-width: 100%;\n flex-direction: column;\n }\n /* While a mouse drags the track (_enableMouseDrag) it follows the pointer\n pixel for pixel, so neither the snap nor the smooth scroll-behavior may\n come between them; the drag settles on a stop itself on release. */\n .bd-carousel-track.dragging {\n cursor: grabbing;\n scroll-snap-type: none;\n scroll-behavior: auto;\n }\n\n /* No .bd-section-title rule. The title is a bd-h at visual-level=\"h3\", so\n the heading-h3 role carries the whole of its type -- the three\n declarations that stood here spelled out that role's size and weight by\n hand while leaving its line-height unset, which is how the title came to\n render at the browser's default leading and with the browser's default h2\n margins. LightCarousel and CardFeatures declare no such rule either. */\n .bd-box:focus-visible,\n .bd-plus-button:focus-visible {\n /* the one focus ring — see Foundations/Focus */\n /* forced-colors mode does not paint box-shadow, so the ring\n vanishes there; it does paint an outline, in a system colour. This one\n is transparent everywhere else, and the offset lands it on the ring's\n outer band. */\n outline: var(--border-width-2) solid transparent;\n outline-offset: var(--focus-outline-offset);\n box-shadow: var(--focus-outline-primary);\n }\n\n .bd-header-carousel {\n display: block;\n align-items: center;\n text-align: center;\n margin-bottom: 50px;\n margin-top: 50px;\n }\n\n /* A \".bd-heading{padding: 20px}\" rule stood here. .bd-heading is the class\n bd-h puts on the element inside its own shadow root, so this stylesheet\n never reached it: measured 0 matches across 27 carousel sections and 102\n carousel items. */\n /* The dots: bd-pagination-dots, the package's one set of slide controls.\n Two <img role=\"button\"> arrows stood here, painted by eight data-URI SVGs\n with the blues and the disabled grey baked in as hex -- invisible to every\n colour check -- and positioned absolutely 65px under the track. Where they\n sat, the dots sit now: under the track, at its end. */\n .bd-carousel-controls {\n display: flex;\n justify-content: flex-end;\n margin-top: var(--spacing-24);\n padding-inline: var(--spacing-10);\n }\n\n /* A scroller the browser drives: the wheel, a trackpad, touch and the\n keyboard (arrows, once focus is on an item's +) all move it, and the snap\n settles each of them on a stop. It was overflow-x: hidden, moved only by a\n script writing scrollLeft from mouse and touch handlers, so none of those\n reached it. */\n .bd-carousel-track {\n display: flex;\n gap: 2em;\n flex: 1;\n padding: var(--spacing-0) var(--spacing-20);\n /* the stops start where the padding leaves the first item, so each is one\n whole _step() from the last -- the arithmetic the dots count with */\n scroll-padding-inline: var(--spacing-20);\n position: relative;\n overflow-x: auto;\n overflow-y: hidden;\n /* a sideways swipe that reaches either end stops here, rather than\n carrying on into the browser's back and forward gesture */\n overscroll-behavior-x: contain;\n /* No scrollbar: the dots say where the track is. Hidden the way\n bd-light-carousel hides its own. */\n scrollbar-width: none;\n scroll-snap-type: x mandatory;\n /* a dot's jump glides; see the reduced-motion block for who it does not */\n scroll-behavior: smooth;\n z-index: var(--z-base);\n /* The items size themselves against the track (see .bd-box): a card is\n as wide as its track allows, and narrow when the track is, wherever\n the section is placed. */\n container-type: inline-size;\n }\n .bd-carousel-track::-webkit-scrollbar {\n display: none;\n }\n /* Each item is a stop. The snap above had no aligned child to land on, so\n it never snapped at all. Scoped to the track's slot: bd-carousel-item\n adopts this stylesheet too, and a bare ::slotted(*) there would make every\n paragraph inside an item a stop as well. */\n .bd-carousel-track ::slotted(*) {\n scroll-snap-align: start;\n }\n\n .bd-carousel-icon {\n position: relative;\n max-width: 100%;\n height: var(--spacing-40);\n width: var(--spacing-40);\n }\n .bd-box {\n flex: 0 0 auto;\n min-height: 217px;\n min-width: unset;\n width: 350px;\n /* Never wider than the track: the 350 and the inset beside it are 414,\n and a 343 phone track used to hold a 390 card with its + past the\n track's edge at every stop. cqi rather than a percentage because the\n item around this box is sized by it -- a percentage there would be\n cyclic and read as none. */\n max-width: calc(100cqi - 2 * var(--card-padding));\n background: var(--color-surface-container);\n /* --radius-2xl, the step the other ten cards take.\n bd-light-carousel made this exact move and wrote the argument for it:\n \"nothing about a carousel item asks for a softer corner than the same\n card sitting in a grid\". Same family, same reasoning, this file was\n behind. Visible: the corner tightens 24px to 16px. */\n border-radius: var(--card-radius);\n /* No edge, for the reason bd-bentoitem's rule states: this card sits on\n surface/container over the page ground, and that role is documented as\n reading like its own object without a border or a shadow to say so.\n\n What stood here was a --border-width-2 edge, and the comment it carried\n was about the UNIT rather than the edge: --spacing-2 and --border-width-2\n are both 2px at a 16px root and diverge above it, so at a 24px root this\n edge went to 3px while bd-bentoitem's held at 1px. That argument is spent\n -- neither card draws an edge now -- but it is worth keeping the\n conclusion: a border is a hairline against a shape, not a distance\n between things, so it never belongs on the spacing scale. */\n /* --spacing-32, the step, not 2em. Both are 32px at a 16px root and the\n em was never a decision -- ten other cards spell the same inset with the\n scale, and an em here would also drift with any font-size this box ever\n inherits. */\n padding: var(--card-padding);\n display: flex;\n flex-direction: column;\n align-items: start;\n justify-content: center;\n text-align: start;\n cursor: pointer;\n transition: transform var(--transition-duration-normal) var(--transition-easing-smooth);\n font-family: var(--typography-fontFamily-sans);\n position: relative;\n z-index: var(--z-raised);\n }\n\n\n /* A verbatim copy of modal.css.ts stood here. The carousel renders\n <bd-modal>, which styles its own shadow root, so none of it could ever\n match: measured zero .bd-modal / .bd-modal-content elements in every\n carousel story, including \"Modal — Click + to Open\". */\n\n /* The +: a circle drawn by the button's own edge around bd-plus-icon,\n which takes its ink from the button (currentColor), so every state is a\n colour from the brand's roles and follows a partner's theme -- the\n tertiary button's pairs: the brand edge and the action ink at rest, the\n brand wash on hover, the action fill with the brand's own ink pressed.\n It used to be three data: URIs, one a state, each painting %23006DFF\n and %23F0F7FF baked into the drawing, which no token reaches: the one\n place in the package that stayed Bitdefender blue under every brand\n (plans/LATER.md entry 3). */\n .bd-plus-button {\n position: absolute;\n bottom: var(--spacing-10);\n right: var(--spacing-10);\n width: var(--spacing-44);\n height: var(--spacing-44);\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: var(--radius-full);\n cursor: pointer;\n /* A <button> now, not a div with role=\"button\" and its own keydown: that\n opened the modal on Space while also scrolling the page, and again on\n every key repeat. */\n border: var(--border-width-2) solid var(--color-border-brand);\n background: transparent;\n color: var(--color-action-primary);\n padding: 0;\n }\n\n .bd-plus-button:hover {\n background: var(--status-brand-surface);\n }\n\n /* A \"bd-carousel-item::part(content)\" rule stood here and was dead three\n times over. The items are light-DOM children of bd-carousel-section -- its\n shadow root holds a slot -- so a selector in this stylesheet cannot reach\n them in either host that adopts it; bd-carousel-item exposes no part named\n \"content\" at all; and .bd-box above already sets this same font-family,\n which everything inside it inherits. Measured: the item's box computes the\n IBM Plex Sans stack with this rule gone. */\n\n .bd-plus-button:active {\n background: var(--color-action-primary);\n color: var(--color-brand-on-fill);\n }\n\n @media ${unsafeCSS(below('md'))} {\n .bd-carousel-track {\n flex-wrap: nowrap;\n gap: 1em;\n padding: var(--spacing-0) var(--spacing-0);\n scroll-padding-inline: var(--spacing-0);\n }\n }\n\n /* A card in a track 480 wide or less: a phone's, or a narrow column's.\n This asked the screen, which stands in for the track only while the\n carousel fills a phone. It still asks the screen too, for an item set on\n its own with no track around it (Foundations/Visual Alignment's card\n family); in a track the two never disagree, since the track is never\n wider than the screen. */\n ${narrowCardMedia}\n @container (width <= 480px) { ${narrowCard} }\n\n /* A reader who asked for less motion was still getting the item lift. Twenty-three\n of the thirty animated directories in this package honour the query; this\n one did not. */\n @media (prefers-reduced-motion: reduce) {\n .bd-box {\n transition: none;\n }\n\n /* A dot, or the end of a drag, moves the track with a jump rather than a\n glide. This is what _goToPage used to ask matchMedia for. */\n .bd-carousel-track {\n scroll-behavior: auto;\n }\n }\n`;\n"]}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import "../../tokens/tokens.ts";
|
|
3
|
+
import "../heading/heading.ts";
|
|
4
|
+
import "../icons/plus-icon.ts";
|
|
5
|
+
import "../modal/modal.ts";
|
|
6
|
+
import "../pagination-dots/pagination-dots.ts";
|
|
7
|
+
interface ModalItem {
|
|
8
|
+
title?: string;
|
|
9
|
+
modalText?: string;
|
|
10
|
+
icon?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare class CarouselItem extends LitElement {
|
|
13
|
+
icon?: string;
|
|
14
|
+
title: string;
|
|
15
|
+
modalText?: string;
|
|
16
|
+
_openModal(): void;
|
|
17
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
18
|
+
static styles: import("lit").CSSResult[];
|
|
19
|
+
}
|
|
20
|
+
declare class CustomCarousel extends LitElement {
|
|
21
|
+
title: string;
|
|
22
|
+
headingLevel: number;
|
|
23
|
+
selectedItem: ModalItem | null;
|
|
24
|
+
_pages: number;
|
|
25
|
+
_page: number;
|
|
26
|
+
_seeking: number;
|
|
27
|
+
_shownItem?: ModalItem;
|
|
28
|
+
track: HTMLElement;
|
|
29
|
+
slotElement: HTMLSlotElement;
|
|
30
|
+
_resizeObserver?: ResizeObserver;
|
|
31
|
+
constructor();
|
|
32
|
+
/**
|
|
33
|
+
* The heading element this section renders. Level is the document-outline
|
|
34
|
+
* question and belongs to whoever composes the page; the type scale is this
|
|
35
|
+
* component's own and does not move with it. Defaults to h2, because a
|
|
36
|
+
* reusable section cannot know it is the only thing on the page, and two of
|
|
37
|
+
* these used to put two h1s on one.
|
|
38
|
+
*/
|
|
39
|
+
get _headingTag(): string;
|
|
40
|
+
_renderTitle(className: string): import("lit-html").TemplateResult<1>;
|
|
41
|
+
firstUpdated(): void;
|
|
42
|
+
disconnectedCallback(): void;
|
|
43
|
+
waitForImagesToLoad(): Promise<(void | Event)[]>;
|
|
44
|
+
_step(): number;
|
|
45
|
+
_measure(): void;
|
|
46
|
+
_stop(n: number): number;
|
|
47
|
+
get _travelled(): number;
|
|
48
|
+
_scrollToStop(n: number): void;
|
|
49
|
+
_goToPage(n: number): void;
|
|
50
|
+
openModal(item: ModalItem): void;
|
|
51
|
+
closeModal(): void;
|
|
52
|
+
_enableMouseDrag(track: HTMLElement): void;
|
|
53
|
+
_settle(): void;
|
|
54
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
55
|
+
static styles: import("lit").CSSResult[];
|
|
56
|
+
}
|
|
57
|
+
declare global {
|
|
58
|
+
interface HTMLElementTagNameMap {
|
|
59
|
+
"bd-carousel-item": CarouselItem;
|
|
60
|
+
"bd-carousel-section": CustomCarousel;
|
|
61
|
+
}
|
|
62
|
+
interface HTMLElementEventMap {
|
|
63
|
+
"open-modal": CustomEvent<ModalItem>;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export {};
|
|
@@ -0,0 +1,334 @@
|
|
|
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, state } 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 carouselCSS from "../carousel/carousel.css.js";
|
|
13
|
+
import "../heading/heading.js";
|
|
14
|
+
import "../icons/plus-icon.js";
|
|
15
|
+
import "../modal/modal.js";
|
|
16
|
+
import "../pagination-dots/pagination-dots.js";
|
|
17
|
+
let CarouselItem = class CarouselItem extends LitElement {
|
|
18
|
+
_openModal() {
|
|
19
|
+
this.dispatchEvent(new CustomEvent("open-modal", {
|
|
20
|
+
detail: {
|
|
21
|
+
title: this.title,
|
|
22
|
+
modalText: this.modalText,
|
|
23
|
+
icon: this.icon
|
|
24
|
+
},
|
|
25
|
+
bubbles: true,
|
|
26
|
+
composed: true
|
|
27
|
+
}));
|
|
28
|
+
}
|
|
29
|
+
render() {
|
|
30
|
+
return html `
|
|
31
|
+
<div class="bd-box">
|
|
32
|
+
${this.icon
|
|
33
|
+
? html `<img src="${this.icon}" alt="" class="bd-carousel-icon" />`
|
|
34
|
+
: ""}
|
|
35
|
+
<div class="bd-content">
|
|
36
|
+
<slot></slot>
|
|
37
|
+
</div>
|
|
38
|
+
<button
|
|
39
|
+
type="button"
|
|
40
|
+
class="bd-plus-button"
|
|
41
|
+
aria-label="Open modal for ${this.title}"
|
|
42
|
+
@click="${this._openModal}"
|
|
43
|
+
>
|
|
44
|
+
<bd-plus-icon size="md"></bd-plus-icon>
|
|
45
|
+
</button>
|
|
46
|
+
</div>
|
|
47
|
+
`;
|
|
48
|
+
}
|
|
49
|
+
static { this.styles = [carouselCSS]; }
|
|
50
|
+
};
|
|
51
|
+
__decorate([
|
|
52
|
+
property({ type: String })
|
|
53
|
+
], CarouselItem.prototype, "icon", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
property({ type: String })
|
|
56
|
+
], CarouselItem.prototype, "title", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
property({ type: String })
|
|
59
|
+
], CarouselItem.prototype, "modalText", void 0);
|
|
60
|
+
CarouselItem = __decorate([
|
|
61
|
+
defineElement("bd-carousel-item")
|
|
62
|
+
], CarouselItem);
|
|
63
|
+
export { CarouselItem };
|
|
64
|
+
let CustomCarousel = class CustomCarousel extends LitElement {
|
|
65
|
+
constructor() {
|
|
66
|
+
super();
|
|
67
|
+
this.title = "";
|
|
68
|
+
this.headingLevel = 2;
|
|
69
|
+
this.selectedItem = null;
|
|
70
|
+
// scroll stops, 1-based, read from the track; see _measure
|
|
71
|
+
this._pages = 1;
|
|
72
|
+
this._page = 1;
|
|
73
|
+
this._seeking = 0;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* The heading element this section renders. Level is the document-outline
|
|
77
|
+
* question and belongs to whoever composes the page; the type scale is this
|
|
78
|
+
* component's own and does not move with it. Defaults to h2, because a
|
|
79
|
+
* reusable section cannot know it is the only thing on the page, and two of
|
|
80
|
+
* these used to put two h1s on one.
|
|
81
|
+
*/
|
|
82
|
+
get _headingTag() {
|
|
83
|
+
const n = Number(this.headingLevel);
|
|
84
|
+
return Number.isInteger(n) && n >= 1 && n <= 6 ? `h${n}` : "h2";
|
|
85
|
+
}
|
|
86
|
+
/* bd-h already builds the dynamic tag, and it keeps the two questions apart
|
|
87
|
+
the way this component needs: as= is the outline level the page composes,
|
|
88
|
+
visual-level= is the type role, which is ours. Building the element here
|
|
89
|
+
meant re-implementing bd-h and then hand-writing the type on top of it --
|
|
90
|
+
and the hand-written type carried no line-height and no margin, so the
|
|
91
|
+
title rendered with the browser's own h2 margins. */
|
|
92
|
+
_renderTitle(className) {
|
|
93
|
+
return html `<bd-h as=${this._headingTag} visual-level="h3" class=${className}
|
|
94
|
+
>${this.title}</bd-h
|
|
95
|
+
>`;
|
|
96
|
+
}
|
|
97
|
+
firstUpdated() {
|
|
98
|
+
this.track = this.shadowRoot.querySelector(".bd-carousel-track");
|
|
99
|
+
this.slotElement = this.shadowRoot.querySelector("slot");
|
|
100
|
+
this.track.addEventListener("scroll", () => this._measure(), { passive: true });
|
|
101
|
+
this.track.addEventListener("scrollend", () => { this._seeking = 0; this._measure(); });
|
|
102
|
+
// a visitor taking hold of the track ends any scroll a control started
|
|
103
|
+
for (const type of ["pointerdown", "touchstart", "wheel", "keydown"]) {
|
|
104
|
+
this.track.addEventListener(type, () => { this._seeking = 0; }, { passive: true });
|
|
105
|
+
}
|
|
106
|
+
this.slotElement.addEventListener("slotchange", () => {
|
|
107
|
+
this.waitForImagesToLoad().then(() => this._measure());
|
|
108
|
+
});
|
|
109
|
+
this._resizeObserver = new ResizeObserver(() => this._measure());
|
|
110
|
+
this._resizeObserver.observe(this.track);
|
|
111
|
+
this.waitForImagesToLoad().then(() => this._measure());
|
|
112
|
+
this.addEventListener("open-modal", (e) => {
|
|
113
|
+
this.openModal(e.detail);
|
|
114
|
+
});
|
|
115
|
+
this._enableMouseDrag(this.track);
|
|
116
|
+
}
|
|
117
|
+
disconnectedCallback() {
|
|
118
|
+
super.disconnectedCallback();
|
|
119
|
+
this._resizeObserver?.disconnect();
|
|
120
|
+
}
|
|
121
|
+
waitForImagesToLoad() {
|
|
122
|
+
const assignedElements = this.slotElement.assignedElements({
|
|
123
|
+
flatten: true
|
|
124
|
+
});
|
|
125
|
+
const images = assignedElements
|
|
126
|
+
.map((el) => el.shadowRoot?.querySelector("img"))
|
|
127
|
+
.filter((img) => img != null);
|
|
128
|
+
const promises = images.map((img) => new Promise((resolve) => {
|
|
129
|
+
if (img.complete)
|
|
130
|
+
resolve();
|
|
131
|
+
else {
|
|
132
|
+
img.addEventListener("load", resolve, { once: true });
|
|
133
|
+
img.addEventListener("error", resolve, { once: true });
|
|
134
|
+
}
|
|
135
|
+
}));
|
|
136
|
+
return Promise.all(promises);
|
|
137
|
+
}
|
|
138
|
+
/* The distance from one item to the next: an item's width and the gap. A
|
|
139
|
+
scroll stop is one of these, and the controls count stops, not items --
|
|
140
|
+
the last stop is wherever the track ends, which is short of a full step
|
|
141
|
+
when the items do not divide the width evenly. */
|
|
142
|
+
_step() {
|
|
143
|
+
const first = this.slotElement?.assignedElements({ flatten: true })[0];
|
|
144
|
+
if (!first)
|
|
145
|
+
return 0;
|
|
146
|
+
const gap = parseFloat(getComputedStyle(this.track).columnGap) || 0;
|
|
147
|
+
return first.offsetWidth + gap;
|
|
148
|
+
}
|
|
149
|
+
/* How many stops the track has and which one it is at, from where it has
|
|
150
|
+
scrolled to -- by a control, a drag, a wheel or a keyboard. While a
|
|
151
|
+
control's smooth scroll is on its way, the dot it asked for stays current
|
|
152
|
+
rather than stepping through every stop it passes. */
|
|
153
|
+
_measure() {
|
|
154
|
+
if (!this.track)
|
|
155
|
+
return;
|
|
156
|
+
const max = this.track.scrollWidth - this.track.clientWidth;
|
|
157
|
+
const step = this._step();
|
|
158
|
+
if (max <= 1 || step <= 0) {
|
|
159
|
+
this._pages = 1;
|
|
160
|
+
this._page = 1;
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
this._pages = Math.ceil((max - 1) / step) + 1;
|
|
164
|
+
const left = this._travelled;
|
|
165
|
+
const page = left >= max - 1 ? this._pages : Math.min(this._pages, Math.round(left / step) + 1);
|
|
166
|
+
if (this._seeking && page !== this._seeking)
|
|
167
|
+
return;
|
|
168
|
+
this._seeking = 0;
|
|
169
|
+
this._page = page;
|
|
170
|
+
}
|
|
171
|
+
/* Where stop n sits, as a distance from the track's start: a whole step per
|
|
172
|
+
stop, and the last at the track's end. */
|
|
173
|
+
_stop(n) {
|
|
174
|
+
const max = this.track.scrollWidth - this.track.clientWidth;
|
|
175
|
+
return Math.min((n - 1) * this._step(), max);
|
|
176
|
+
}
|
|
177
|
+
/* How far the track has scrolled from its start. On a right-to-left page
|
|
178
|
+
the start is the right edge and scrollLeft runs from 0 down to minus the
|
|
179
|
+
overflow, so the distance is its size and a position written back takes
|
|
180
|
+
its sign; read as a plain number, every stop past the first sat at a
|
|
181
|
+
scrollLeft the track can never reach, and scrolling to one clamped to the
|
|
182
|
+
start. */
|
|
183
|
+
get _travelled() {
|
|
184
|
+
return Math.abs(this.track.scrollLeft);
|
|
185
|
+
}
|
|
186
|
+
_scrollToStop(n) {
|
|
187
|
+
const sign = getComputedStyle(this.track).direction === "rtl" ? -1 : 1;
|
|
188
|
+
this.track.scrollTo({ left: sign * this._stop(n) });
|
|
189
|
+
}
|
|
190
|
+
/* Smooth or instant is the track's scroll-behavior, which follows
|
|
191
|
+
prefers-reduced-motion; see carousel.css.ts. */
|
|
192
|
+
_goToPage(n) {
|
|
193
|
+
this._seeking = n;
|
|
194
|
+
this._page = n;
|
|
195
|
+
this._scrollToStop(n);
|
|
196
|
+
}
|
|
197
|
+
openModal(item) {
|
|
198
|
+
this.selectedItem = item;
|
|
199
|
+
this._shownItem = item;
|
|
200
|
+
}
|
|
201
|
+
closeModal() {
|
|
202
|
+
this.selectedItem = null;
|
|
203
|
+
}
|
|
204
|
+
/* Mouse drag, the one way of moving the track the browser does not give it:
|
|
205
|
+
wheel, trackpad, touch, pen and the keyboard all scroll it natively. The
|
|
206
|
+
docs promise click-and-drag, so it stays, as a thin layer over the
|
|
207
|
+
scroller -- a mouse press only, one pixel of track per pixel of pointer
|
|
208
|
+
(it was 1.5), and no snapping while the button is down, or every write to
|
|
209
|
+
scrollLeft would land on a stop. On release it settles on the nearest one.
|
|
210
|
+
|
|
211
|
+
This used to be mousedown and touchmove handlers writing scrollLeft over
|
|
212
|
+
a track that was overflow: hidden, which left the wheel, the trackpad and
|
|
213
|
+
the keyboard with nothing to move, and drove touch by script. */
|
|
214
|
+
_enableMouseDrag(track) {
|
|
215
|
+
let press = null;
|
|
216
|
+
let swallowClick = false;
|
|
217
|
+
track.addEventListener("pointerdown", (e) => {
|
|
218
|
+
if (e.pointerType !== "mouse" || e.button !== 0)
|
|
219
|
+
return;
|
|
220
|
+
press = { id: e.pointerId, x: e.clientX, left: track.scrollLeft, dragging: false };
|
|
221
|
+
});
|
|
222
|
+
track.addEventListener("pointermove", (e) => {
|
|
223
|
+
if (press?.id !== e.pointerId)
|
|
224
|
+
return;
|
|
225
|
+
// the button came up off the track before the press became a drag
|
|
226
|
+
if (!(e.buttons & 1)) {
|
|
227
|
+
press = null;
|
|
228
|
+
return;
|
|
229
|
+
}
|
|
230
|
+
const dx = e.clientX - press.x;
|
|
231
|
+
if (!press.dragging) {
|
|
232
|
+
// a few pixels of travel first, so a click on + stays a click
|
|
233
|
+
if (Math.abs(dx) < 4)
|
|
234
|
+
return;
|
|
235
|
+
press.dragging = true;
|
|
236
|
+
track.setPointerCapture(e.pointerId);
|
|
237
|
+
track.classList.add("dragging");
|
|
238
|
+
}
|
|
239
|
+
track.scrollLeft = press.left - dx;
|
|
240
|
+
});
|
|
241
|
+
const release = () => {
|
|
242
|
+
const dragged = press?.dragging;
|
|
243
|
+
press = null;
|
|
244
|
+
if (!dragged)
|
|
245
|
+
return;
|
|
246
|
+
track.classList.remove("dragging");
|
|
247
|
+
this._settle();
|
|
248
|
+
// the click a drag ends with is not a click on the + or link under it;
|
|
249
|
+
// it comes in the same task as the pointerup, if it comes at all
|
|
250
|
+
swallowClick = true;
|
|
251
|
+
setTimeout(() => { swallowClick = false; });
|
|
252
|
+
};
|
|
253
|
+
for (const type of ["pointerup", "pointercancel", "lostpointercapture"]) {
|
|
254
|
+
track.addEventListener(type, release);
|
|
255
|
+
}
|
|
256
|
+
track.addEventListener("click", (e) => {
|
|
257
|
+
if (!swallowClick)
|
|
258
|
+
return;
|
|
259
|
+
e.preventDefault();
|
|
260
|
+
e.stopPropagation();
|
|
261
|
+
}, { capture: true });
|
|
262
|
+
// a press is for moving the track, not for selecting copy or dragging an icon out
|
|
263
|
+
for (const type of ["selectstart", "dragstart"]) {
|
|
264
|
+
track.addEventListener(type, (e) => { if (press)
|
|
265
|
+
e.preventDefault(); });
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
/* Where a drag leaves the track, the snap would take it: the nearest stop. */
|
|
269
|
+
_settle() {
|
|
270
|
+
const left = this._travelled;
|
|
271
|
+
let nearest = 1;
|
|
272
|
+
for (let n = 2; n <= this._pages; n++) {
|
|
273
|
+
if (Math.abs(this._stop(n) - left) < Math.abs(this._stop(nearest) - left))
|
|
274
|
+
nearest = n;
|
|
275
|
+
}
|
|
276
|
+
this._scrollToStop(nearest);
|
|
277
|
+
}
|
|
278
|
+
render() {
|
|
279
|
+
return html `
|
|
280
|
+
<div class="bd-carousel">
|
|
281
|
+
${this.title
|
|
282
|
+
? html `<div class="bd-header-carousel">
|
|
283
|
+
${this._renderTitle("bd-section-title")}
|
|
284
|
+
</div>`
|
|
285
|
+
: ""}
|
|
286
|
+
|
|
287
|
+
<div class="bd-carousel-track">
|
|
288
|
+
<slot></slot>
|
|
289
|
+
</div>
|
|
290
|
+
<div class="bd-carousel-controls">
|
|
291
|
+
<bd-pagination-dots
|
|
292
|
+
count=${this._pages}
|
|
293
|
+
current=${this._page}
|
|
294
|
+
label=${this.title || "Slides"}
|
|
295
|
+
item-label="Go to item"
|
|
296
|
+
@bd-change=${(e) => this._goToPage(e.detail.current)}
|
|
297
|
+
></bd-pagination-dots>
|
|
298
|
+
</div>
|
|
299
|
+
</div>
|
|
300
|
+
|
|
301
|
+
<!-- Always rendered, and closed through open: a dialog closed is what
|
|
302
|
+
hands focus back to the + that opened it, and one removed while
|
|
303
|
+
open drops it on the page instead. It keeps the last item's copy
|
|
304
|
+
while it closes. -->
|
|
305
|
+
<bd-modal
|
|
306
|
+
.open="${!!this.selectedItem}"
|
|
307
|
+
.title="${this._shownItem?.title ?? ""}"
|
|
308
|
+
.modalText="${this._shownItem?.modalText ?? ""}"
|
|
309
|
+
.icon="${this._shownItem?.icon ?? ""}"
|
|
310
|
+
@close-modal="${this.closeModal}"
|
|
311
|
+
></bd-modal>
|
|
312
|
+
`;
|
|
313
|
+
}
|
|
314
|
+
static { this.styles = [carouselCSS]; }
|
|
315
|
+
};
|
|
316
|
+
__decorate([
|
|
317
|
+
property({ type: String })
|
|
318
|
+
], CustomCarousel.prototype, "title", void 0);
|
|
319
|
+
__decorate([
|
|
320
|
+
property({ type: Number, attribute: "heading-level" })
|
|
321
|
+
], CustomCarousel.prototype, "headingLevel", void 0);
|
|
322
|
+
__decorate([
|
|
323
|
+
property({ type: Object })
|
|
324
|
+
], CustomCarousel.prototype, "selectedItem", void 0);
|
|
325
|
+
__decorate([
|
|
326
|
+
state()
|
|
327
|
+
], CustomCarousel.prototype, "_pages", void 0);
|
|
328
|
+
__decorate([
|
|
329
|
+
state()
|
|
330
|
+
], CustomCarousel.prototype, "_page", void 0);
|
|
331
|
+
CustomCarousel = __decorate([
|
|
332
|
+
defineElement("bd-carousel-section")
|
|
333
|
+
], CustomCarousel);
|
|
334
|
+
//# sourceMappingURL=carousel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"carousel.js","sourceRoot":"","sources":["../../../../src/components/carousel/carousel.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,QAAQ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EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC;;;;;;;;;;iBAUjF,CAAC,CAAC,IAAI,CAAC,YAAY;kBAClB,IAAI,CAAC,UAAU,EAAE,KAAK,IAAI,EAAE;sBACxB,IAAI,CAAC,UAAU,EAAE,SAAS,IAAI,EAAE;iBACrC,IAAI,CAAC,UAAU,EAAE,IAAI,IAAI,EAAE;wBACpB,IAAI,CAAC,UAAU;;KAElC,CAAC;IACJ,CAAC;aAEM,WAAM,GAAG,CAAC,WAAW,CAAC,AAAhB,CAAiB;;AApR9B;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;6CAChB;AAEX;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,CAAC;oDACtC;AAEjB;IADC,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;oDACW;AAGtC;IADC,KAAK,EAAE;8CACG;AAEX;IADC,KAAK,EAAE;6CACE;AAXN,cAAc;IADnB,aAAa,CAAC,qBAAqB,CAAC;GAC/B,cAAc,CAuRnB","sourcesContent":["import { LitElement, html } from \"lit\";\nimport { property, state } 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 carouselCSS from \"../carousel/carousel.css.ts\";\nimport \"../heading/heading.ts\";\nimport \"../icons/plus-icon.ts\";\nimport \"../modal/modal.ts\";\nimport \"../pagination-dots/pagination-dots.ts\";\n\ninterface ModalItem {\n title? : string;\n modalText?: string;\n icon? : string;\n}\n\n@defineElement(\"bd-carousel-item\")\nexport class CarouselItem extends LitElement {\n @property({ type: String })\n icon?: string;\n @property({ type: String })\n title!: string;\n @property({ type: String })\n modalText?: string;\n\n _openModal() {\n this.dispatchEvent(\n new CustomEvent(\"open-modal\", {\n detail: {\n title : this.title,\n modalText: this.modalText,\n icon : this.icon\n },\n bubbles : true,\n composed: true\n })\n );\n }\n\n render() {\n return html`\n <div class=\"bd-box\">\n ${this.icon\n ? html`<img src=\"${this.icon}\" alt=\"\" class=\"bd-carousel-icon\" />`\n : \"\"}\n <div class=\"bd-content\">\n <slot></slot>\n </div>\n <button\n type=\"button\"\n class=\"bd-plus-button\"\n aria-label=\"Open modal for ${this.title}\"\n @click=\"${this._openModal}\"\n >\n <bd-plus-icon size=\"md\"></bd-plus-icon>\n </button>\n </div>\n `;\n }\n\n static styles = [carouselCSS];\n}\n\n@defineElement(\"bd-carousel-section\")\nclass CustomCarousel extends LitElement {\n @property({ type: String })\n title = \"\";\n @property({ type: Number, attribute: \"heading-level\" })\n headingLevel = 2;\n @property({ type: Object })\n selectedItem: ModalItem | null = null;\n // scroll stops, 1-based, read from the track; see _measure\n @state()\n _pages = 1;\n @state()\n _page = 1;\n\n _seeking : number;\n _shownItem? : ModalItem;\n track! : HTMLElement;\n slotElement! : HTMLSlotElement;\n _resizeObserver?: ResizeObserver;\n\n constructor() {\n super();\n this._seeking = 0;\n }\n\n /**\n * The heading element this section renders. Level is the document-outline\n * question and belongs to whoever composes the page; the type scale is this\n * component's own and does not move with it. Defaults to h2, because a\n * reusable section cannot know it is the only thing on the page, and two of\n * these used to put two h1s on one.\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 /* bd-h already builds the dynamic tag, and it keeps the two questions apart\n the way this component needs: as= is the outline level the page composes,\n visual-level= is the type role, which is ours. Building the element here\n meant re-implementing bd-h and then hand-writing the type on top of it --\n and the hand-written type carried no line-height and no margin, so the\n title rendered with the browser's own h2 margins. */\n _renderTitle(className: string) {\n return html`<bd-h as=${this._headingTag} visual-level=\"h3\" class=${className}\n >${this.title}</bd-h\n >`;\n }\n\n firstUpdated() {\n this.track = this.shadowRoot!.querySelector<HTMLElement>(\".bd-carousel-track\")!;\n this.slotElement = this.shadowRoot!.querySelector(\"slot\")!;\n\n this.track.addEventListener(\"scroll\", () => this._measure(), { passive: true });\n this.track.addEventListener(\"scrollend\", () => { this._seeking = 0; this._measure(); });\n // a visitor taking hold of the track ends any scroll a control started\n for (const type of [\"pointerdown\", \"touchstart\", \"wheel\", \"keydown\"]) {\n this.track.addEventListener(type, () => { this._seeking = 0; }, { passive: true });\n }\n\n this.slotElement.addEventListener(\"slotchange\", () => {\n this.waitForImagesToLoad().then(() => this._measure());\n });\n\n this._resizeObserver = new ResizeObserver(() => this._measure());\n this._resizeObserver.observe(this.track);\n\n this.waitForImagesToLoad().then(() => this._measure());\n\n this.addEventListener(\"open-modal\", (e) => {\n this.openModal(e.detail);\n });\n this._enableMouseDrag(this.track);\n }\n\n disconnectedCallback() {\n super.disconnectedCallback();\n this._resizeObserver?.disconnect();\n }\n\n waitForImagesToLoad() {\n const assignedElements = this.slotElement.assignedElements({\n flatten: true\n });\n const images = assignedElements\n .map((el) => el.shadowRoot?.querySelector(\"img\"))\n .filter((img) => img != null);\n const promises = images.map(\n (img) =>\n new Promise<Event | void>((resolve) => {\n if (img.complete) resolve();\n else {\n img.addEventListener(\"load\", resolve, { once: true });\n img.addEventListener(\"error\", resolve, { once: true });\n }\n })\n );\n return Promise.all(promises);\n }\n\n /* The distance from one item to the next: an item's width and the gap. A\n scroll stop is one of these, and the controls count stops, not items --\n the last stop is wherever the track ends, which is short of a full step\n when the items do not divide the width evenly. */\n _step() {\n const first = this.slotElement?.assignedElements({ flatten: true })[0];\n if (!first) return 0;\n const gap = parseFloat(getComputedStyle(this.track).columnGap) || 0;\n return (first as HTMLElement).offsetWidth + gap;\n }\n\n /* How many stops the track has and which one it is at, from where it has\n scrolled to -- by a control, a drag, a wheel or a keyboard. While a\n control's smooth scroll is on its way, the dot it asked for stays current\n rather than stepping through every stop it passes. */\n _measure() {\n if (!this.track) return;\n const max = this.track.scrollWidth - this.track.clientWidth;\n const step = this._step();\n if (max <= 1 || step <= 0) {\n this._pages = 1;\n this._page = 1;\n return;\n }\n this._pages = Math.ceil((max - 1) / step) + 1;\n const left = this._travelled;\n const page = left >= max - 1 ? this._pages : Math.min(this._pages, Math.round(left / step) + 1);\n if (this._seeking && page !== this._seeking) return;\n this._seeking = 0;\n this._page = page;\n }\n\n /* Where stop n sits, as a distance from the track's start: a whole step per\n stop, and the last at the track's end. */\n _stop(n: number) {\n const max = this.track.scrollWidth - this.track.clientWidth;\n return Math.min((n - 1) * this._step(), max);\n }\n\n /* How far the track has scrolled from its start. On a right-to-left page\n the start is the right edge and scrollLeft runs from 0 down to minus the\n overflow, so the distance is its size and a position written back takes\n its sign; read as a plain number, every stop past the first sat at a\n scrollLeft the track can never reach, and scrolling to one clamped to the\n start. */\n get _travelled() {\n return Math.abs(this.track.scrollLeft);\n }\n\n _scrollToStop(n: number) {\n const sign = getComputedStyle(this.track).direction === \"rtl\" ? -1 : 1;\n this.track.scrollTo({ left: sign * this._stop(n) });\n }\n\n /* Smooth or instant is the track's scroll-behavior, which follows\n prefers-reduced-motion; see carousel.css.ts. */\n _goToPage(n: number) {\n this._seeking = n;\n this._page = n;\n this._scrollToStop(n);\n }\n\n openModal(item: ModalItem) {\n this.selectedItem = item;\n this._shownItem = item;\n }\n\n closeModal() {\n this.selectedItem = null;\n }\n\n /* Mouse drag, the one way of moving the track the browser does not give it:\n wheel, trackpad, touch, pen and the keyboard all scroll it natively. The\n docs promise click-and-drag, so it stays, as a thin layer over the\n scroller -- a mouse press only, one pixel of track per pixel of pointer\n (it was 1.5), and no snapping while the button is down, or every write to\n scrollLeft would land on a stop. On release it settles on the nearest one.\n\n This used to be mousedown and touchmove handlers writing scrollLeft over\n a track that was overflow: hidden, which left the wheel, the trackpad and\n the keyboard with nothing to move, and drove touch by script. */\n _enableMouseDrag(track: HTMLElement) {\n let press: { id: number; x: number; left: number; dragging: boolean } | null = null;\n let swallowClick = false;\n\n track.addEventListener(\"pointerdown\", (e) => {\n if (e.pointerType !== \"mouse\" || e.button !== 0) return;\n press = { id: e.pointerId, x: e.clientX, left: track.scrollLeft, dragging: false };\n });\n\n track.addEventListener(\"pointermove\", (e) => {\n if (press?.id !== e.pointerId) return;\n // the button came up off the track before the press became a drag\n if (!(e.buttons & 1)) { press = null; return; }\n const dx = e.clientX - press.x;\n if (!press.dragging) {\n // a few pixels of travel first, so a click on + stays a click\n if (Math.abs(dx) < 4) return;\n press.dragging = true;\n track.setPointerCapture(e.pointerId);\n track.classList.add(\"dragging\");\n }\n track.scrollLeft = press.left - dx;\n });\n\n const release = () => {\n const dragged = press?.dragging;\n press = null;\n if (!dragged) return;\n track.classList.remove(\"dragging\");\n this._settle();\n // the click a drag ends with is not a click on the + or link under it;\n // it comes in the same task as the pointerup, if it comes at all\n swallowClick = true;\n setTimeout(() => { swallowClick = false; });\n };\n for (const type of [\"pointerup\", \"pointercancel\", \"lostpointercapture\"]) {\n track.addEventListener(type, release);\n }\n\n track.addEventListener(\"click\", (e) => {\n if (!swallowClick) return;\n e.preventDefault();\n e.stopPropagation();\n }, { capture: true });\n\n // a press is for moving the track, not for selecting copy or dragging an icon out\n for (const type of [\"selectstart\", \"dragstart\"]) {\n track.addEventListener(type, (e) => { if (press) e.preventDefault(); });\n }\n }\n\n /* Where a drag leaves the track, the snap would take it: the nearest stop. */\n _settle() {\n const left = this._travelled;\n let nearest = 1;\n for (let n = 2; n <= this._pages; n++) {\n if (Math.abs(this._stop(n) - left) < Math.abs(this._stop(nearest) - left)) nearest = n;\n }\n this._scrollToStop(nearest);\n }\n\n render() {\n return html`\n <div class=\"bd-carousel\">\n ${this.title\n ? html`<div class=\"bd-header-carousel\">\n ${this._renderTitle(\"bd-section-title\")}\n </div>`\n : \"\"}\n\n <div class=\"bd-carousel-track\">\n <slot></slot>\n </div>\n <div class=\"bd-carousel-controls\">\n <bd-pagination-dots\n count=${this._pages}\n current=${this._page}\n label=${this.title || \"Slides\"}\n item-label=\"Go to item\"\n @bd-change=${(e: CustomEvent<{ current: number }>) => this._goToPage(e.detail.current)}\n ></bd-pagination-dots>\n </div>\n </div>\n\n <!-- Always rendered, and closed through open: a dialog closed is what\n hands focus back to the + that opened it, and one removed while\n open drops it on the page instead. It keeps the last item's copy\n while it closes. -->\n <bd-modal\n .open=\"${!!this.selectedItem}\"\n .title=\"${this._shownItem?.title ?? \"\"}\"\n .modalText=\"${this._shownItem?.modalText ?? \"\"}\"\n .icon=\"${this._shownItem?.icon ?? \"\"}\"\n @close-modal=\"${this.closeModal}\"\n ></bd-modal>\n `;\n }\n\n static styles = [carouselCSS];\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-carousel-item\" : CarouselItem;\n \"bd-carousel-section\": CustomCarousel;\n }\n interface HTMLElementEventMap {\n \"open-modal\": CustomEvent<ModalItem>;\n }\n}\n"]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Styled entirely from src/tokens/tokens.ts — see CLAUDE.md, "The foundation
|
|
3
|
+
* rule". Measurements were matched to the ds-checkbox design by finding the
|
|
4
|
+
* token that already carries each value.
|
|
5
|
+
*
|
|
6
|
+
* The whole row is the control, not just the box. That makes clicking the
|
|
7
|
+
* label work (it did nothing before) and gives the target the 24px minimum
|
|
8
|
+
* WCAG 2.5.8 asks for, which a 20px box alone cannot reach.
|
|
9
|
+
*/
|
|
10
|
+
declare const _default: import("lit").CSSResult;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { css } from "lit";
|
|
2
|
+
/**
|
|
3
|
+
* Styled entirely from src/tokens/tokens.ts — see CLAUDE.md, "The foundation
|
|
4
|
+
* rule". Measurements were matched to the ds-checkbox design by finding the
|
|
5
|
+
* token that already carries each value.
|
|
6
|
+
*
|
|
7
|
+
* The whole row is the control, not just the box. That makes clicking the
|
|
8
|
+
* label work (it did nothing before) and gives the target the 24px minimum
|
|
9
|
+
* WCAG 2.5.8 asks for, which a 20px box alone cannot reach.
|
|
10
|
+
*/
|
|
11
|
+
export default css `
|
|
12
|
+
:host {
|
|
13
|
+
display: inline-block;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.bd-checkbox {
|
|
17
|
+
display: inline-flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
gap: var(--spacing-8);
|
|
20
|
+
/* padding rather than a min-height: a min-height adds its slack only
|
|
21
|
+
above and below, which left the focus ring 2px from the content at the
|
|
22
|
+
sides and 4px at the top and bottom. Padding insets all four edges
|
|
23
|
+
equally, and still carries the row past the 24px WCAG 2.5.8 asks for. */
|
|
24
|
+
padding: var(--spacing-2);
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
font-family: var(--typography-fontFamily-sans);
|
|
27
|
+
/* body-small: sm / normal / 1.5, which is what this already rendered on all
|
|
28
|
+
three axes. Only the axes this rule declares are adopted -- the role also
|
|
29
|
+
carries a family and a tracking, and importing those would change text
|
|
30
|
+
the rule never spoke for. */
|
|
31
|
+
font-size: var(--typography-body-small-fontSize);
|
|
32
|
+
line-height: var(--typography-body-small-lineHeight);
|
|
33
|
+
color: var(--color-text-primary);
|
|
34
|
+
vertical-align: middle;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* The native checkbox is the control and stays in the accessibility tree;
|
|
38
|
+
the box below draws it. The clip idiom bd-switch uses. */
|
|
39
|
+
input {
|
|
40
|
+
position: absolute;
|
|
41
|
+
/* no token: 1px is the clip idiom's own measure, not a border -- as in
|
|
42
|
+
switch.css.ts, with the -1px below. */
|
|
43
|
+
width: 1px;
|
|
44
|
+
height: 1px;
|
|
45
|
+
margin: -1px;
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
clip-path: inset(50%);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* On the row rather than the box, so the ring and the target are the same
|
|
51
|
+
shape, as on bd-radio and bd-switch. */
|
|
52
|
+
.bd-checkbox:has(input:focus-visible) {
|
|
53
|
+
/* the one focus ring — see Foundations/Focus. A two-colour ring whose
|
|
54
|
+
white inner band keeps it visible on a coloured or dark surface, which a
|
|
55
|
+
single-colour outline cannot do. */
|
|
56
|
+
/* forced-colors mode does not paint box-shadow, so the ring
|
|
57
|
+
vanishes there; it does paint an outline, in a system colour. This one
|
|
58
|
+
is transparent everywhere else, and the offset lands it on the ring's
|
|
59
|
+
outer band. */
|
|
60
|
+
outline: var(--border-width-2) solid transparent;
|
|
61
|
+
outline-offset: var(--focus-outline-offset);
|
|
62
|
+
box-shadow: var(--focus-outline-primary);
|
|
63
|
+
border-radius: var(--focus-outline-radius);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* ---- the box ---------------------------------------------------------- */
|
|
67
|
+
.box {
|
|
68
|
+
flex: none;
|
|
69
|
+
width: var(--dimension-20);
|
|
70
|
+
height: var(--dimension-20);
|
|
71
|
+
box-sizing: border-box;
|
|
72
|
+
border: var(--border-width-2) solid var(--color-action-primary);
|
|
73
|
+
border-radius: var(--shape-radius-sm);
|
|
74
|
+
background: var(--color-surface-default);
|
|
75
|
+
display: inline-flex;
|
|
76
|
+
align-items: center;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
/* the mark is drawn in currentColor, so one declaration moves both. It is
|
|
79
|
+
ink on an action fill, not "the page colour" -- the two are both white
|
|
80
|
+
here, and only one of them stays white in a dark theme. The fill is the
|
|
81
|
+
brand's, so the ink is the brand's: a light partner brand takes dark
|
|
82
|
+
ink here, which white on its fill could not carry */
|
|
83
|
+
color: var(--color-brand-on-fill);
|
|
84
|
+
transition: background-color var(--transition-duration-normal) var(--transition-easing-smooth),
|
|
85
|
+
border-color var(--transition-duration-normal) var(--transition-easing-smooth);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.bd-checkbox:hover .box {
|
|
89
|
+
border-color: var(--color-action-primary-hover);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* ---- checked and indeterminate: the box fills, the mark is white ------ */
|
|
93
|
+
:host([checked]) .box,
|
|
94
|
+
:host([indeterminate]) .box {
|
|
95
|
+
background: var(--color-action-primary);
|
|
96
|
+
border-color: var(--color-action-primary);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
:host([checked]) .bd-checkbox:hover .box,
|
|
100
|
+
:host([indeterminate]) .bd-checkbox:hover .box {
|
|
101
|
+
background: var(--color-action-primary-hover);
|
|
102
|
+
border-color: var(--color-action-primary-hover);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.mark {
|
|
106
|
+
width: var(--dimension-12);
|
|
107
|
+
height: var(--dimension-12);
|
|
108
|
+
display: block;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.mark path {
|
|
112
|
+
fill: none;
|
|
113
|
+
stroke: currentColor;
|
|
114
|
+
stroke-width: var(--border-width-2);
|
|
115
|
+
/* flat ends and a mitred vertex: the tick and the dash read as sharp,
|
|
116
|
+
matching the square corners of the box rather than softening them */
|
|
117
|
+
stroke-linecap: butt;
|
|
118
|
+
stroke-linejoin: miter;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/* ---- disabled --------------------------------------------------------
|
|
122
|
+
:disabled rather than [disabled], so a <fieldset disabled> around the box
|
|
123
|
+
greys it too: a form-associated element matches :disabled for both.
|
|
124
|
+
|
|
125
|
+
Grey throughout, and the label greys too rather than the whole row
|
|
126
|
+
dropping to an opacity, which is what the design specifies. Exempt from
|
|
127
|
+
contrast under WCAG 1.4.3.
|
|
128
|
+
|
|
129
|
+
The disabled edge is --color-border-disabled, the role named for the
|
|
130
|
+
state it expresses. It was --color-border-subtle, a hierarchy role, and
|
|
131
|
+
the family carried two answers: five controls drew neutral-200 for a
|
|
132
|
+
disabled edge and four drew neutral-300, so a disabled checkbox and a
|
|
133
|
+
disabled text field did not agree on what one looks like. The state role
|
|
134
|
+
wins because the state is what the colour means, and because neutral-300
|
|
135
|
+
measures 2.27:1 against the page where neutral-200 measures 1.66. A
|
|
136
|
+
disabled control is exempt under 1.4.11, so this is perceptibility rather
|
|
137
|
+
than conformance -- but it moves the right way, and it stays subordinate
|
|
138
|
+
to every enabled edge.
|
|
139
|
+
|
|
140
|
+
The fills below still draw neutral-200. A fill is not an edge, and whether
|
|
141
|
+
a disabled checked box should darken along with its border is a separate
|
|
142
|
+
question that has not been put yet. */
|
|
143
|
+
:host(:disabled) .bd-checkbox {
|
|
144
|
+
cursor: not-allowed;
|
|
145
|
+
color: var(--color-text-subtle);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
:host(:disabled) .box {
|
|
149
|
+
border-color: var(--color-border-disabled);
|
|
150
|
+
background: var(--color-surface-default);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:host(:disabled[checked]) .box,
|
|
154
|
+
:host(:disabled[indeterminate]) .box {
|
|
155
|
+
background: var(--color-border-subtle);
|
|
156
|
+
border-color: var(--color-border-disabled);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
:host(:disabled) .bd-checkbox:hover .box {
|
|
160
|
+
border-color: var(--color-border-disabled);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
:host(:disabled[checked]) .bd-checkbox:hover .box,
|
|
164
|
+
:host(:disabled[indeterminate]) .bd-checkbox:hover .box {
|
|
165
|
+
background: var(--color-border-subtle);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
@media (prefers-reduced-motion: reduce) {
|
|
169
|
+
.box {
|
|
170
|
+
transition: none;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
`;
|
|
174
|
+
//# sourceMappingURL=checkbox.css.js.map
|