@repobit/dex-system-design 2.7.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +44 -0
- package/README.md +10 -3
- package/dist/src/components/accordion/accordion-bg.css.d.ts +2 -0
- package/dist/src/components/accordion/accordion-bg.css.js +289 -0
- package/dist/src/components/accordion/accordion-bg.css.js.map +1 -0
- package/dist/src/components/accordion/accordion-bg.d.ts +52 -0
- package/dist/src/components/accordion/accordion-bg.js +271 -0
- package/dist/src/components/accordion/accordion-bg.js.map +1 -0
- package/dist/src/components/accordion/accordion-keyboard.d.ts +46 -0
- package/dist/src/components/accordion/accordion-keyboard.js +90 -0
- package/dist/src/components/accordion/accordion-keyboard.js.map +1 -0
- package/dist/src/components/accordion/accordion-panel.d.ts +22 -0
- package/dist/src/components/accordion/accordion-panel.js +23 -0
- package/dist/src/components/accordion/accordion-panel.js.map +1 -0
- package/dist/src/components/accordion/accordion.css.d.ts +2 -0
- package/dist/src/components/accordion/accordion.css.js +381 -0
- package/dist/src/components/accordion/accordion.css.js.map +1 -0
- package/dist/src/components/accordion/accordion.d.ts +39 -0
- package/dist/src/components/accordion/accordion.js +190 -0
- package/dist/src/components/accordion/accordion.js.map +1 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.css.d.ts +2 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js +89 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +29 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.js +106 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -0
- package/dist/src/components/alert/alert.css.d.ts +38 -0
- package/dist/src/components/alert/alert.css.js +218 -0
- package/dist/src/components/alert/alert.css.js.map +1 -0
- package/dist/src/components/alert/alert.d.ts +55 -0
- package/dist/src/components/alert/alert.js +132 -0
- package/dist/src/components/alert/alert.js.map +1 -0
- package/dist/src/components/anchor/anchor-nav.css.d.ts +1 -0
- package/dist/src/components/anchor/anchor-nav.css.js +547 -0
- package/dist/src/components/anchor/anchor-nav.css.js.map +1 -0
- package/dist/src/components/anchor/anchor-nav.d.ts +85 -0
- package/dist/src/components/anchor/anchor-nav.js +611 -0
- package/dist/src/components/anchor/anchor-nav.js.map +1 -0
- package/dist/src/components/annotation/annotation.css.d.ts +3 -0
- package/dist/src/components/annotation/annotation.css.js +65 -0
- package/dist/src/components/annotation/annotation.css.js.map +1 -0
- package/dist/src/components/annotation/annotation.d.ts +28 -0
- package/dist/src/components/annotation/annotation.js +75 -0
- package/dist/src/components/annotation/annotation.js.map +1 -0
- package/dist/src/components/audience-card/audience-card.css.d.ts +1 -0
- package/dist/src/components/audience-card/audience-card.css.js +123 -0
- package/dist/src/components/audience-card/audience-card.css.js.map +1 -0
- package/dist/src/components/audience-card/audience-card.d.ts +38 -0
- package/dist/src/components/audience-card/audience-card.js +94 -0
- package/dist/src/components/audience-card/audience-card.js.map +1 -0
- package/dist/src/components/avatar/avatar.css.d.ts +3 -0
- package/dist/src/components/avatar/avatar.css.js +66 -0
- package/dist/src/components/avatar/avatar.css.js.map +1 -0
- package/dist/src/components/avatar/avatar.d.ts +18 -0
- package/dist/src/components/avatar/avatar.js +81 -0
- package/dist/src/components/avatar/avatar.js.map +1 -0
- package/dist/src/components/awards/awards-flex.css.d.ts +1 -0
- package/dist/src/components/awards/awards-flex.css.js +274 -0
- package/dist/src/components/awards/awards-flex.css.js.map +1 -0
- package/dist/src/components/awards/awards-flex.d.ts +64 -0
- package/dist/src/components/awards/awards-flex.js +299 -0
- package/dist/src/components/awards/awards-flex.js.map +1 -0
- package/dist/src/components/awards/awards-spotlight.css.d.ts +1 -0
- package/dist/src/components/awards/awards-spotlight.css.js +162 -0
- package/dist/src/components/awards/awards-spotlight.css.js.map +1 -0
- package/dist/src/components/awards/awards-spotlight.d.ts +59 -0
- package/dist/src/components/awards/awards-spotlight.js +167 -0
- package/dist/src/components/awards/awards-spotlight.js.map +1 -0
- package/dist/src/components/awards/awards.css.d.ts +1 -0
- package/dist/src/components/awards/awards.css.js +402 -0
- package/dist/src/components/awards/awards.css.js.map +1 -0
- package/dist/src/components/awards/awards.d.ts +79 -0
- package/dist/src/components/awards/awards.js +215 -0
- package/dist/src/components/awards/awards.js.map +1 -0
- package/dist/src/components/awards/scroll-slides.d.ts +55 -0
- package/dist/src/components/awards/scroll-slides.js +132 -0
- package/dist/src/components/awards/scroll-slides.js.map +1 -0
- package/dist/src/components/back/back.css.d.ts +2 -0
- package/dist/src/components/back/back.css.js +92 -0
- package/dist/src/components/back/back.css.js.map +1 -0
- package/dist/src/components/back/back.d.ts +29 -0
- package/dist/src/components/back/back.js +81 -0
- package/dist/src/components/back/back.js.map +1 -0
- package/dist/src/components/badge/badge.css.d.ts +7 -0
- package/dist/src/components/badge/badge.css.js +205 -0
- package/dist/src/components/badge/badge.css.js.map +1 -0
- package/dist/src/components/badge/badge.d.ts +37 -0
- package/dist/src/components/badge/badge.js +122 -0
- package/dist/src/components/badge/badge.js.map +1 -0
- package/dist/src/components/bento-grid/bento-grid.css.d.ts +10 -0
- package/dist/src/components/bento-grid/bento-grid.css.js +162 -0
- package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -0
- package/dist/src/components/bento-grid/bento-grid.d.ts +32 -0
- package/dist/src/components/bento-grid/bento-grid.js +209 -0
- package/dist/src/components/bento-grid/bento-grid.js.map +1 -0
- package/dist/src/components/bento-grid/bento-item.css.d.ts +2 -0
- package/dist/src/components/bento-grid/bento-item.css.js +339 -0
- package/dist/src/components/bento-grid/bento-item.css.js.map +1 -0
- package/dist/src/components/bento-grid/bento-item.d.ts +26 -0
- package/dist/src/components/bento-grid/bento-item.js +114 -0
- package/dist/src/components/bento-grid/bento-item.js.map +1 -0
- package/dist/src/components/blockquote/blockquote.css.d.ts +3 -0
- package/dist/src/components/blockquote/blockquote.css.js +55 -0
- package/dist/src/components/blockquote/blockquote.css.js.map +1 -0
- package/dist/src/components/blockquote/blockquote.d.ts +13 -0
- package/dist/src/components/blockquote/blockquote.js +45 -0
- package/dist/src/components/blockquote/blockquote.js.map +1 -0
- package/dist/src/components/breadcrumb/breadcrumb.css.d.ts +2 -0
- package/dist/src/components/breadcrumb/breadcrumb.css.js +169 -0
- package/dist/src/components/breadcrumb/breadcrumb.css.js.map +1 -0
- package/dist/src/components/breadcrumb/breadcrumb.d.ts +44 -0
- package/dist/src/components/breadcrumb/breadcrumb.js +177 -0
- package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/src/components/button/button.css.d.ts +12 -0
- package/dist/src/components/button/button.css.js +844 -0
- package/dist/src/components/button/button.css.js.map +1 -0
- package/dist/src/components/button/button.d.ts +139 -0
- package/dist/src/components/button/button.js +444 -0
- package/dist/src/components/button/button.js.map +1 -0
- package/dist/src/components/caption/caption.css.d.ts +3 -0
- package/dist/src/components/caption/caption.css.js +30 -0
- package/dist/src/components/caption/caption.css.js.map +1 -0
- package/dist/src/components/caption/caption.d.ts +14 -0
- package/dist/src/components/caption/caption.js +38 -0
- package/dist/src/components/caption/caption.js.map +1 -0
- package/dist/src/components/card-features/card-features.css.d.ts +2 -0
- package/dist/src/components/card-features/card-features.css.js +121 -0
- package/dist/src/components/card-features/card-features.css.js.map +1 -0
- package/dist/src/components/card-features/card-features.d.ts +43 -0
- package/dist/src/components/card-features/card-features.js +170 -0
- package/dist/src/components/card-features/card-features.js.map +1 -0
- package/dist/src/components/cards/card.css.d.ts +2 -0
- package/dist/src/components/cards/card.css.js +370 -0
- package/dist/src/components/cards/card.css.js.map +1 -0
- package/dist/src/components/cards/card.d.ts +61 -0
- package/dist/src/components/cards/card.js +345 -0
- package/dist/src/components/cards/card.js.map +1 -0
- package/dist/src/components/carousel/carousel.css.d.ts +2 -0
- package/dist/src/components/carousel/carousel.css.js +262 -0
- package/dist/src/components/carousel/carousel.css.js.map +1 -0
- package/dist/src/components/carousel/carousel.d.ts +66 -0
- package/dist/src/components/carousel/carousel.js +334 -0
- package/dist/src/components/carousel/carousel.js.map +1 -0
- package/dist/src/components/checkbox/checkbox.css.d.ts +11 -0
- package/dist/src/components/checkbox/checkbox.css.js +174 -0
- package/dist/src/components/checkbox/checkbox.css.js.map +1 -0
- package/dist/src/components/checkbox/checkbox.d.ts +35 -0
- package/dist/src/components/checkbox/checkbox.js +153 -0
- package/dist/src/components/checkbox/checkbox.js.map +1 -0
- package/dist/src/components/code/code.css.d.ts +3 -0
- package/dist/src/components/code/code.css.js +74 -0
- package/dist/src/components/code/code.css.js.map +1 -0
- package/dist/src/components/code/code.d.ts +21 -0
- package/dist/src/components/code/code.js +89 -0
- package/dist/src/components/code/code.js.map +1 -0
- package/dist/src/components/compare/compare.css.d.ts +2 -0
- package/dist/src/components/compare/compare.css.js +479 -0
- package/dist/src/components/compare/compare.css.js.map +1 -0
- package/dist/src/components/compare/compare.d.ts +79 -0
- package/dist/src/components/compare/compare.js +575 -0
- package/dist/src/components/compare/compare.js.map +1 -0
- package/dist/src/components/comparison-panel/comparison-panel.css.d.ts +2 -0
- package/dist/src/components/comparison-panel/comparison-panel.css.js +142 -0
- package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -0
- package/dist/src/components/comparison-panel/comparison-panel.d.ts +23 -0
- package/dist/src/components/comparison-panel/comparison-panel.js +121 -0
- package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -0
- package/dist/src/components/compatibility-table/compatibility-table.css.d.ts +2 -0
- package/dist/src/components/compatibility-table/compatibility-table.css.js +392 -0
- package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -0
- package/dist/src/components/compatibility-table/compatibility-table.d.ts +51 -0
- package/dist/src/components/compatibility-table/compatibility-table.js +177 -0
- package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -0
- package/dist/src/components/cta-banner/cta-banner.css.d.ts +2 -0
- package/dist/src/components/cta-banner/cta-banner.css.js +98 -0
- package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -0
- package/dist/src/components/cta-banner/cta-banner.d.ts +16 -0
- package/dist/src/components/cta-banner/cta-banner.js +77 -0
- package/dist/src/components/cta-banner/cta-banner.js.map +1 -0
- package/dist/src/components/display/display.css.d.ts +2 -0
- package/dist/src/components/display/display.css.js +96 -0
- package/dist/src/components/display/display.css.js.map +1 -0
- package/dist/src/components/display/display.d.ts +23 -0
- package/dist/src/components/display/display.js +87 -0
- package/dist/src/components/display/display.js.map +1 -0
- package/dist/src/components/divider/divider-horizontal.d.ts +15 -0
- package/dist/src/components/divider/divider-horizontal.js +70 -0
- package/dist/src/components/divider/divider-horizontal.js.map +1 -0
- package/dist/src/components/divider/divider-vertical.d.ts +16 -0
- package/dist/src/components/divider/divider-vertical.js +67 -0
- package/dist/src/components/divider/divider-vertical.js.map +1 -0
- package/dist/src/components/divider/divider.css.d.ts +2 -0
- package/dist/src/components/divider/divider.css.js +21 -0
- package/dist/src/components/divider/divider.css.js.map +1 -0
- package/dist/src/components/dropdown/dropdown.css.d.ts +9 -0
- package/dist/src/components/dropdown/dropdown.css.js +122 -0
- package/dist/src/components/dropdown/dropdown.css.js.map +1 -0
- package/dist/src/components/dropdown/dropdown.d.ts +49 -0
- package/dist/src/components/dropdown/dropdown.js +302 -0
- package/dist/src/components/dropdown/dropdown.js.map +1 -0
- package/dist/src/components/features/features.css.d.ts +2 -0
- package/dist/src/components/features/features.css.js +124 -0
- package/dist/src/components/features/features.css.js.map +1 -0
- package/dist/src/components/features/features.d.ts +21 -0
- package/dist/src/components/features/features.js +88 -0
- package/dist/src/components/features/features.js.map +1 -0
- package/dist/src/components/features-tab/features-tab.css.d.ts +2 -0
- package/dist/src/components/features-tab/features-tab.css.js +101 -0
- package/dist/src/components/features-tab/features-tab.css.js.map +1 -0
- package/dist/src/components/features-tab/features-tab.d.ts +21 -0
- package/dist/src/components/features-tab/features-tab.js +87 -0
- package/dist/src/components/features-tab/features-tab.js.map +1 -0
- package/dist/src/components/fieldset/fieldset.css.d.ts +3 -0
- package/dist/src/components/fieldset/fieldset.css.js +29 -0
- package/dist/src/components/fieldset/fieldset.css.js.map +1 -0
- package/dist/src/components/fieldset/fieldset.d.ts +12 -0
- package/dist/src/components/fieldset/fieldset.js +35 -0
- package/dist/src/components/fieldset/fieldset.js.map +1 -0
- package/dist/src/components/footer/footer-images.d.ts +3 -0
- package/dist/src/components/footer/footer-images.js +31 -0
- package/dist/src/components/footer/footer-images.js.map +1 -0
- package/dist/src/components/footer/footer-links-group.css.d.ts +2 -0
- package/dist/src/components/footer/footer-links-group.css.js +34 -0
- package/dist/src/components/footer/footer-links-group.css.js.map +1 -0
- package/dist/src/components/footer/footer-links-group.d.ts +13 -0
- package/dist/src/components/footer/footer-links-group.js +34 -0
- package/dist/src/components/footer/footer-links-group.js.map +1 -0
- package/dist/src/components/footer/footer-locale.d.ts +3 -0
- package/dist/src/components/footer/footer-locale.js +46 -0
- package/dist/src/components/footer/footer-locale.js.map +1 -0
- package/dist/src/components/footer/footer-lp.d.ts +26 -0
- package/dist/src/components/footer/footer-lp.js +158 -0
- package/dist/src/components/footer/footer-lp.js.map +1 -0
- package/dist/src/components/footer/footer-nav-menu.css.d.ts +2 -0
- package/dist/src/components/footer/footer-nav-menu.css.js +62 -0
- package/dist/src/components/footer/footer-nav-menu.css.js.map +1 -0
- package/dist/src/components/footer/footer-nav-menu.d.ts +14 -0
- package/dist/src/components/footer/footer-nav-menu.js +50 -0
- package/dist/src/components/footer/footer-nav-menu.js.map +1 -0
- package/dist/src/components/footer/footer.css.d.ts +2 -0
- package/dist/src/components/footer/footer.css.js +665 -0
- package/dist/src/components/footer/footer.css.js.map +1 -0
- package/dist/src/components/footer/footer.d.ts +53 -0
- package/dist/src/components/footer/footer.js +418 -0
- package/dist/src/components/footer/footer.js.map +1 -0
- package/dist/src/components/footer/localeMap.d.ts +1 -0
- package/dist/src/components/footer/localeMap.js +2 -0
- package/dist/src/components/footer/localeMap.js.map +1 -0
- package/dist/src/components/grid/grid.css.d.ts +2 -0
- package/dist/src/components/grid/grid.css.js +79 -0
- package/dist/src/components/grid/grid.css.js.map +1 -0
- package/dist/src/components/grid/grid.d.ts +27 -0
- package/dist/src/components/grid/grid.js +139 -0
- package/dist/src/components/grid/grid.js.map +1 -0
- package/dist/src/components/header/header-code.css.d.ts +2 -0
- package/dist/src/components/header/header-code.css.js +370 -0
- package/dist/src/components/header/header-code.css.js.map +1 -0
- package/dist/src/components/header/header-code.d.ts +49 -0
- package/dist/src/components/header/header-code.js +228 -0
- package/dist/src/components/header/header-code.js.map +1 -0
- package/dist/src/components/header/header.css.d.ts +2 -0
- package/dist/src/components/header/header.css.js +758 -0
- package/dist/src/components/header/header.css.js.map +1 -0
- package/dist/src/components/header/header.d.ts +32 -0
- package/dist/src/components/header/header.js +373 -0
- package/dist/src/components/header/header.js.map +1 -0
- package/dist/src/components/heading/heading.css.d.ts +2 -0
- package/dist/src/components/heading/heading.css.js +90 -0
- package/dist/src/components/heading/heading.css.js.map +1 -0
- package/dist/src/components/heading/heading.d.ts +42 -0
- package/dist/src/components/heading/heading.js +109 -0
- package/dist/src/components/heading/heading.js.map +1 -0
- package/dist/src/components/help-text/help-text.css.d.ts +3 -0
- package/dist/src/components/help-text/help-text.css.js +20 -0
- package/dist/src/components/help-text/help-text.css.js.map +1 -0
- package/dist/src/components/help-text/help-text.d.ts +14 -0
- package/dist/src/components/help-text/help-text.js +32 -0
- package/dist/src/components/help-text/help-text.js.map +1 -0
- package/dist/src/components/hero/hero.css.d.ts +1 -0
- package/dist/src/components/hero/hero.css.js +363 -0
- package/dist/src/components/hero/hero.css.js.map +1 -0
- package/dist/src/components/hero/hero.d.ts +58 -0
- package/dist/src/components/hero/hero.js +198 -0
- package/dist/src/components/hero/hero.js.map +1 -0
- package/dist/src/components/highlight/highlight.css.d.ts +2 -0
- package/dist/src/components/highlight/highlight.css.js +176 -0
- package/dist/src/components/highlight/highlight.css.js.map +1 -0
- package/dist/src/components/highlight/highlight.d.ts +21 -0
- package/dist/src/components/highlight/highlight.js +116 -0
- package/dist/src/components/highlight/highlight.js.map +1 -0
- package/dist/src/components/icons/analysis-icon.d.ts +11 -0
- package/dist/src/components/icons/analysis-icon.js +24 -0
- package/dist/src/components/icons/analysis-icon.js.map +1 -0
- package/dist/src/components/icons/arrow-down-icon.d.ts +11 -0
- package/dist/src/components/icons/arrow-down-icon.js +24 -0
- package/dist/src/components/icons/arrow-down-icon.js.map +1 -0
- package/dist/src/components/icons/arrow-icon.d.ts +37 -0
- package/dist/src/components/icons/arrow-icon.js +52 -0
- package/dist/src/components/icons/arrow-icon.js.map +1 -0
- package/dist/src/components/icons/arrow-right-icon.d.ts +34 -0
- package/dist/src/components/icons/arrow-right-icon.js +49 -0
- package/dist/src/components/icons/arrow-right-icon.js.map +1 -0
- package/dist/src/components/icons/arrow-up-icon.d.ts +24 -0
- package/dist/src/components/icons/arrow-up-icon.js +37 -0
- package/dist/src/components/icons/arrow-up-icon.js.map +1 -0
- package/dist/src/components/icons/av-comparatives-icon.d.ts +13 -0
- package/dist/src/components/icons/av-comparatives-icon.js +42 -0
- package/dist/src/components/icons/av-comparatives-icon.js.map +1 -0
- package/dist/src/components/icons/bd-ai-icon.d.ts +13 -0
- package/dist/src/components/icons/bd-ai-icon.js +35 -0
- package/dist/src/components/icons/bd-ai-icon.js.map +1 -0
- package/dist/src/components/icons/best-brands-icon.d.ts +13 -0
- package/dist/src/components/icons/best-brands-icon.js +44 -0
- package/dist/src/components/icons/best-brands-icon.js.map +1 -0
- package/dist/src/components/icons/brand-signature-icon.d.ts +37 -0
- package/dist/src/components/icons/brand-signature-icon.js +50 -0
- package/dist/src/components/icons/brand-signature-icon.js.map +1 -0
- package/dist/src/components/icons/check-icon.d.ts +22 -0
- package/dist/src/components/icons/check-icon.js +35 -0
- package/dist/src/components/icons/check-icon.js.map +1 -0
- package/dist/src/components/icons/circle-info-icon.d.ts +26 -0
- package/dist/src/components/icons/circle-info-icon.js +41 -0
- package/dist/src/components/icons/circle-info-icon.js.map +1 -0
- package/dist/src/components/icons/close-icon.d.ts +11 -0
- package/dist/src/components/icons/close-icon.js +24 -0
- package/dist/src/components/icons/close-icon.js.map +1 -0
- package/dist/src/components/icons/enterprise-icon.d.ts +11 -0
- package/dist/src/components/icons/enterprise-icon.js +26 -0
- package/dist/src/components/icons/enterprise-icon.js.map +1 -0
- package/dist/src/components/icons/family-icon.d.ts +11 -0
- package/dist/src/components/icons/family-icon.js +26 -0
- package/dist/src/components/icons/family-icon.js.map +1 -0
- package/dist/src/components/icons/globe-icon.d.ts +11 -0
- package/dist/src/components/icons/globe-icon.js +24 -0
- package/dist/src/components/icons/globe-icon.js.map +1 -0
- package/dist/src/components/icons/guide-icon.d.ts +11 -0
- package/dist/src/components/icons/guide-icon.js +24 -0
- package/dist/src/components/icons/guide-icon.js.map +1 -0
- package/dist/src/components/icons/home-icon.d.ts +11 -0
- package/dist/src/components/icons/home-icon.js +26 -0
- package/dist/src/components/icons/home-icon.js.map +1 -0
- package/dist/src/components/icons/icon-element.d.ts +58 -0
- package/dist/src/components/icons/icon-element.js +163 -0
- package/dist/src/components/icons/icon-element.js.map +1 -0
- package/dist/src/components/icons/icons.d.ts +40 -0
- package/dist/src/components/icons/icons.js +42 -0
- package/dist/src/components/icons/icons.js.map +1 -0
- package/dist/src/components/icons/individual-icon.d.ts +11 -0
- package/dist/src/components/icons/individual-icon.js +24 -0
- package/dist/src/components/icons/individual-icon.js.map +1 -0
- package/dist/src/components/icons/laurel-icon.d.ts +11 -0
- package/dist/src/components/icons/laurel-icon.js +36 -0
- package/dist/src/components/icons/laurel-icon.js.map +1 -0
- package/dist/src/components/icons/machine-learning-icon.d.ts +11 -0
- package/dist/src/components/icons/machine-learning-icon.js +24 -0
- package/dist/src/components/icons/machine-learning-icon.js.map +1 -0
- package/dist/src/components/icons/marks.d.ts +40 -0
- package/dist/src/components/icons/marks.js +41 -0
- package/dist/src/components/icons/marks.js.map +1 -0
- package/dist/src/components/icons/minus-icon.d.ts +11 -0
- package/dist/src/components/icons/minus-icon.js +24 -0
- package/dist/src/components/icons/minus-icon.js.map +1 -0
- package/dist/src/components/icons/missing-icon.d.ts +41 -0
- package/dist/src/components/icons/missing-icon.js +58 -0
- package/dist/src/components/icons/missing-icon.js.map +1 -0
- package/dist/src/components/icons/pause-icon.d.ts +11 -0
- package/dist/src/components/icons/pause-icon.js +27 -0
- package/dist/src/components/icons/pause-icon.js.map +1 -0
- package/dist/src/components/icons/pc-mag-2024-icon.d.ts +13 -0
- package/dist/src/components/icons/pc-mag-2024-icon.js +43 -0
- package/dist/src/components/icons/pc-mag-2024-icon.js.map +1 -0
- package/dist/src/components/icons/pc-mag-business-icon.d.ts +13 -0
- package/dist/src/components/icons/pc-mag-business-icon.js +43 -0
- package/dist/src/components/icons/pc-mag-business-icon.js.map +1 -0
- package/dist/src/components/icons/pc-mag-icon.d.ts +13 -0
- package/dist/src/components/icons/pc-mag-icon.js +43 -0
- package/dist/src/components/icons/pc-mag-icon.js.map +1 -0
- package/dist/src/components/icons/pc-mag-readers-icon.d.ts +13 -0
- package/dist/src/components/icons/pc-mag-readers-icon.js +42 -0
- package/dist/src/components/icons/pc-mag-readers-icon.js.map +1 -0
- package/dist/src/components/icons/play-icon.d.ts +11 -0
- package/dist/src/components/icons/play-icon.js +26 -0
- package/dist/src/components/icons/play-icon.js.map +1 -0
- package/dist/src/components/icons/plus-icon.d.ts +11 -0
- package/dist/src/components/icons/plus-icon.js +23 -0
- package/dist/src/components/icons/plus-icon.js.map +1 -0
- package/dist/src/components/icons/quote-icon.d.ts +20 -0
- package/dist/src/components/icons/quote-icon.js +34 -0
- package/dist/src/components/icons/quote-icon.js.map +1 -0
- package/dist/src/components/icons/small-business-icon.d.ts +11 -0
- package/dist/src/components/icons/small-business-icon.js +26 -0
- package/dist/src/components/icons/small-business-icon.js.map +1 -0
- package/dist/src/components/icons/top-product-icon.d.ts +13 -0
- package/dist/src/components/icons/top-product-icon.js +43 -0
- package/dist/src/components/icons/top-product-icon.js.map +1 -0
- package/dist/src/components/image/image.css.d.ts +2 -0
- package/dist/src/components/image/image.css.js +107 -0
- package/dist/src/components/image/image.css.js.map +1 -0
- package/dist/src/components/image/image.d.ts +35 -0
- package/dist/src/components/image/image.js +122 -0
- package/dist/src/components/image/image.js.map +1 -0
- package/dist/src/components/input/input-clipboard.css.d.ts +9 -0
- package/dist/src/components/input/input-clipboard.css.js +94 -0
- package/dist/src/components/input/input-clipboard.css.js.map +1 -0
- package/dist/src/components/input/input-clipboard.d.ts +52 -0
- package/dist/src/components/input/input-clipboard.js +299 -0
- package/dist/src/components/input/input-clipboard.js.map +1 -0
- package/dist/src/components/input/input.css.d.ts +9 -0
- package/dist/src/components/input/input.css.js +10 -0
- package/dist/src/components/input/input.css.js.map +1 -0
- package/dist/src/components/input/input.d.ts +48 -0
- package/dist/src/components/input/input.js +215 -0
- package/dist/src/components/input/input.js.map +1 -0
- package/dist/src/components/install-options/install-options.css.d.ts +2 -0
- package/dist/src/components/install-options/install-options.css.js +309 -0
- package/dist/src/components/install-options/install-options.css.js.map +1 -0
- package/dist/src/components/install-options/install-options.d.ts +42 -0
- package/dist/src/components/install-options/install-options.js +240 -0
- package/dist/src/components/install-options/install-options.js.map +1 -0
- package/dist/src/components/label/label.css.d.ts +3 -0
- package/dist/src/components/label/label.css.js +34 -0
- package/dist/src/components/label/label.css.js.map +1 -0
- package/dist/src/components/label/label.d.ts +33 -0
- package/dist/src/components/label/label.js +138 -0
- package/dist/src/components/label/label.js.map +1 -0
- package/dist/src/components/light-carousel/light-carousel.css.d.ts +2 -0
- package/dist/src/components/light-carousel/light-carousel.css.js +271 -0
- package/dist/src/components/light-carousel/light-carousel.css.js.map +1 -0
- package/dist/src/components/light-carousel/light-carousel.d.ts +74 -0
- package/dist/src/components/light-carousel/light-carousel.js +199 -0
- package/dist/src/components/light-carousel/light-carousel.js.map +1 -0
- package/dist/src/components/link/link.css.d.ts +15 -0
- package/dist/src/components/link/link.css.js +289 -0
- package/dist/src/components/link/link.css.js.map +1 -0
- package/dist/src/components/link/link.d.ts +75 -0
- package/dist/src/components/link/link.js +238 -0
- package/dist/src/components/link/link.js.map +1 -0
- package/dist/src/components/list/list-item/list-item.css.d.ts +2 -0
- package/dist/src/components/list/list-item/list-item.css.js +168 -0
- package/dist/src/components/list/list-item/list-item.css.js.map +1 -0
- package/dist/src/components/list/list-item/list-item.d.ts +33 -0
- package/dist/src/components/list/list-item/list-item.js +128 -0
- package/dist/src/components/list/list-item/list-item.js.map +1 -0
- package/dist/src/components/list/list.css.d.ts +2 -0
- package/dist/src/components/list/list.css.js +181 -0
- package/dist/src/components/list/list.css.js.map +1 -0
- package/dist/src/components/list/list.d.ts +28 -0
- package/dist/src/components/list/list.js +87 -0
- package/dist/src/components/list/list.js.map +1 -0
- package/dist/src/components/logo-marquee/logo-marquee.css.d.ts +1 -0
- package/dist/src/components/logo-marquee/logo-marquee.css.js +94 -0
- package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -0
- package/dist/src/components/logo-marquee/logo-marquee.d.ts +51 -0
- package/dist/src/components/logo-marquee/logo-marquee.js +153 -0
- package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -0
- package/dist/src/components/modal/modal.css.d.ts +2 -0
- package/dist/src/components/modal/modal.css.js +204 -0
- package/dist/src/components/modal/modal.css.js.map +1 -0
- package/dist/src/components/modal/modal.d.ts +52 -0
- package/dist/src/components/modal/modal.js +145 -0
- package/dist/src/components/modal/modal.js.map +1 -0
- package/dist/src/components/motion-art/motion-art.d.ts +42 -0
- package/dist/src/components/motion-art/motion-art.js +115 -0
- package/dist/src/components/motion-art/motion-art.js.map +1 -0
- package/dist/src/components/overview/overview.css.d.ts +2 -0
- package/dist/src/components/overview/overview.css.js +126 -0
- package/dist/src/components/overview/overview.css.js.map +1 -0
- package/dist/src/components/overview/overview.d.ts +20 -0
- package/dist/src/components/overview/overview.js +72 -0
- package/dist/src/components/overview/overview.js.map +1 -0
- package/dist/src/components/page-switcher/page-switcher.css.d.ts +1 -0
- package/dist/src/components/page-switcher/page-switcher.css.js +175 -0
- package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -0
- package/dist/src/components/page-switcher/page-switcher.d.ts +46 -0
- package/dist/src/components/page-switcher/page-switcher.js +74 -0
- package/dist/src/components/page-switcher/page-switcher.js.map +1 -0
- package/dist/src/components/pagination-dots/pagination-dots.css.d.ts +11 -0
- package/dist/src/components/pagination-dots/pagination-dots.css.js +161 -0
- package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -0
- package/dist/src/components/pagination-dots/pagination-dots.d.ts +43 -0
- package/dist/src/components/pagination-dots/pagination-dots.js +216 -0
- package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -0
- package/dist/src/components/paragraph/paragraph.css.d.ts +2 -0
- package/dist/src/components/paragraph/paragraph.css.js +102 -0
- package/dist/src/components/paragraph/paragraph.css.js.map +1 -0
- package/dist/src/components/paragraph/paragraph.d.ts +41 -0
- package/dist/src/components/paragraph/paragraph.js +122 -0
- package/dist/src/components/paragraph/paragraph.js.map +1 -0
- package/dist/src/components/partner-banner/partner-banner.css.d.ts +1 -0
- package/dist/src/components/partner-banner/partner-banner.css.js +246 -0
- package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -0
- package/dist/src/components/partner-banner/partner-banner.d.ts +35 -0
- package/dist/src/components/partner-banner/partner-banner.js +99 -0
- package/dist/src/components/partner-banner/partner-banner.js.map +1 -0
- package/dist/src/components/picture/picture.css.d.ts +2 -0
- package/dist/src/components/picture/picture.css.js +209 -0
- package/dist/src/components/picture/picture.css.js.map +1 -0
- package/dist/src/components/picture/picture.d.ts +37 -0
- package/dist/src/components/picture/picture.js +197 -0
- package/dist/src/components/picture/picture.js.map +1 -0
- package/dist/src/components/post-card/post-card.css.d.ts +1 -0
- package/dist/src/components/post-card/post-card.css.js +150 -0
- package/dist/src/components/post-card/post-card.css.js.map +1 -0
- package/dist/src/components/post-card/post-card.d.ts +38 -0
- package/dist/src/components/post-card/post-card.js +107 -0
- package/dist/src/components/post-card/post-card.js.map +1 -0
- package/dist/src/components/pricing-cards/adopt-styles.d.ts +10 -0
- package/dist/src/components/pricing-cards/adopt-styles.js +19 -0
- package/dist/src/components/pricing-cards/adopt-styles.js.map +1 -0
- package/dist/src/components/pricing-cards/new-pricing-card.d.ts +18 -0
- package/dist/src/components/pricing-cards/new-pricing-card.js +57 -0
- package/dist/src/components/pricing-cards/new-pricing-card.js.map +1 -0
- package/dist/src/components/pricing-cards/new-pricing.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/new-pricing.css.js +75 -0
- package/dist/src/components/pricing-cards/new-pricing.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js +12 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +19 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.js +82 -0
- package/dist/src/components/pricing-cards/pricing-card-actions.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-container.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card-container.css.js +42 -0
- package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-container.d.ts +14 -0
- package/dist/src/components/pricing-cards/pricing-card-container.js +44 -0
- package/dist/src/components/pricing-cards/pricing-card-container.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-header.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card-header.css.js +83 -0
- package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-header.d.ts +22 -0
- package/dist/src/components/pricing-cards/pricing-card-header.js +81 -0
- package/dist/src/components/pricing-cards/pricing-card-header.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +93 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +39 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.js +129 -0
- package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +30 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +16 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.js +48 -0
- package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-card.css.js +661 -0
- package/dist/src/components/pricing-cards/pricing-card.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-card.d.ts +155 -0
- package/dist/src/components/pricing-cards/pricing-card.js +844 -0
- package/dist/src/components/pricing-cards/pricing-card.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.css.d.ts +2 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js +35 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +1 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +13 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.js +25 -0
- package/dist/src/components/pricing-cards/pricing-feature-item.js.map +1 -0
- package/dist/src/components/process-steps/process-steps.css.d.ts +2 -0
- package/dist/src/components/process-steps/process-steps.css.js +107 -0
- package/dist/src/components/process-steps/process-steps.css.js.map +1 -0
- package/dist/src/components/process-steps/process-steps.d.ts +25 -0
- package/dist/src/components/process-steps/process-steps.js +97 -0
- package/dist/src/components/process-steps/process-steps.js.map +1 -0
- package/dist/src/components/progress/progress.css.d.ts +3 -0
- package/dist/src/components/progress/progress.css.js +124 -0
- package/dist/src/components/progress/progress.css.js.map +1 -0
- package/dist/src/components/progress/progress.d.ts +19 -0
- package/dist/src/components/progress/progress.js +77 -0
- package/dist/src/components/progress/progress.js.map +1 -0
- package/dist/src/components/quick-answer/quick-answer.css.d.ts +2 -0
- package/dist/src/components/quick-answer/quick-answer.css.js +131 -0
- package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -0
- package/dist/src/components/quick-answer/quick-answer.d.ts +20 -0
- package/dist/src/components/quick-answer/quick-answer.js +72 -0
- package/dist/src/components/quick-answer/quick-answer.js.map +1 -0
- package/dist/src/components/radio/radio-group.css.d.ts +10 -0
- package/dist/src/components/radio/radio-group.css.js +42 -0
- package/dist/src/components/radio/radio-group.css.js.map +1 -0
- package/dist/src/components/radio/radio-group.d.ts +43 -0
- package/dist/src/components/radio/radio-group.js +99 -0
- package/dist/src/components/radio/radio-group.js.map +1 -0
- package/dist/src/components/radio/radio.css.d.ts +14 -0
- package/dist/src/components/radio/radio.css.js +194 -0
- package/dist/src/components/radio/radio.css.js.map +1 -0
- package/dist/src/components/radio/radio.d.ts +65 -0
- package/dist/src/components/radio/radio.js +276 -0
- package/dist/src/components/radio/radio.js.map +1 -0
- package/dist/src/components/radio/toggle-radio.d.ts +28 -0
- package/dist/src/components/radio/toggle-radio.js +51 -0
- package/dist/src/components/radio/toggle-radio.js.map +1 -0
- package/dist/src/components/review/review-grid.css.d.ts +2 -0
- package/dist/src/components/review/review-grid.css.js +47 -0
- package/dist/src/components/review/review-grid.css.js.map +1 -0
- package/dist/src/components/review/review-grid.d.ts +17 -0
- package/dist/src/components/review/review-grid.js +59 -0
- package/dist/src/components/review/review-grid.js.map +1 -0
- package/dist/src/components/review/review.css.d.ts +2 -0
- package/dist/src/components/review/review.css.js +55 -0
- package/dist/src/components/review/review.css.js.map +1 -0
- package/dist/src/components/review/review.d.ts +35 -0
- package/dist/src/components/review/review.js +72 -0
- package/dist/src/components/review/review.js.map +1 -0
- package/dist/src/components/section/section.css.d.ts +2 -0
- package/dist/src/components/section/section.css.js +38 -0
- package/dist/src/components/section/section.css.js.map +1 -0
- package/dist/src/components/section/section.d.ts +32 -0
- package/dist/src/components/section/section.js +51 -0
- package/dist/src/components/section/section.js.map +1 -0
- package/dist/src/components/section-header/section-header.css.d.ts +1 -0
- package/dist/src/components/section-header/section-header.css.js +100 -0
- package/dist/src/components/section-header/section-header.css.js.map +1 -0
- package/dist/src/components/section-header/section-header.d.ts +40 -0
- package/dist/src/components/section-header/section-header.js +93 -0
- package/dist/src/components/section-header/section-header.js.map +1 -0
- package/dist/src/components/shared/announcer.d.ts +24 -0
- package/dist/src/components/shared/announcer.js +35 -0
- package/dist/src/components/shared/announcer.js.map +1 -0
- package/dist/src/components/shared/controller.media-query.d.ts +33 -0
- package/dist/src/components/shared/controller.media-query.js +58 -0
- package/dist/src/components/shared/controller.media-query.js.map +1 -0
- package/dist/src/components/shared/define-element.d.ts +13 -0
- package/dist/src/components/shared/define-element.js +17 -0
- package/dist/src/components/shared/define-element.js.map +1 -0
- package/dist/src/components/shared/ensemble.css.d.ts +46 -0
- package/dist/src/components/shared/ensemble.css.js +102 -0
- package/dist/src/components/shared/ensemble.css.js.map +1 -0
- package/dist/src/components/shared/events.d.ts +34 -0
- package/dist/src/components/shared/events.js +13 -0
- package/dist/src/components/shared/events.js.map +1 -0
- package/dist/src/components/shared/fill-width.css.d.ts +1 -0
- package/dist/src/components/shared/fill-width.css.js +28 -0
- package/dist/src/components/shared/fill-width.css.js.map +1 -0
- package/dist/src/components/shared/form-control.d.ts +66 -0
- package/dist/src/components/shared/form-control.js +199 -0
- package/dist/src/components/shared/form-control.js.map +1 -0
- package/dist/src/components/shared/form-field.css.d.ts +23 -0
- package/dist/src/components/shared/form-field.css.js +259 -0
- package/dist/src/components/shared/form-field.css.js.map +1 -0
- package/dist/src/components/shared/prop-vocabulary.d.ts +46 -0
- package/dist/src/components/shared/prop-vocabulary.js +50 -0
- package/dist/src/components/shared/prop-vocabulary.js.map +1 -0
- package/dist/src/components/shared/token-scales.d.ts +230 -0
- package/dist/src/components/shared/token-scales.js +352 -0
- package/dist/src/components/shared/token-scales.js.map +1 -0
- package/dist/src/components/skeleton/skeleton.css.d.ts +3 -0
- package/dist/src/components/skeleton/skeleton.css.js +33 -0
- package/dist/src/components/skeleton/skeleton.css.js.map +1 -0
- package/dist/src/components/skeleton/skeleton.d.ts +15 -0
- package/dist/src/components/skeleton/skeleton.js +41 -0
- package/dist/src/components/skeleton/skeleton.js.map +1 -0
- package/dist/src/components/spinner/spinner.css.d.ts +3 -0
- package/dist/src/components/spinner/spinner.css.js +88 -0
- package/dist/src/components/spinner/spinner.css.js.map +1 -0
- package/dist/src/components/spinner/spinner.d.ts +22 -0
- package/dist/src/components/spinner/spinner.js +71 -0
- package/dist/src/components/spinner/spinner.js.map +1 -0
- package/dist/src/components/spotlight-section/spotlight-section.css.d.ts +2 -0
- package/dist/src/components/spotlight-section/spotlight-section.css.js +106 -0
- package/dist/src/components/spotlight-section/spotlight-section.css.js.map +1 -0
- package/dist/src/components/spotlight-section/spotlight-section.d.ts +21 -0
- package/dist/src/components/spotlight-section/spotlight-section.js +107 -0
- package/dist/src/components/spotlight-section/spotlight-section.js.map +1 -0
- package/dist/src/components/stat/stat-highlight.d.ts +30 -0
- package/dist/src/components/stat/stat-highlight.js +84 -0
- package/dist/src/components/stat/stat-highlight.js.map +1 -0
- package/dist/src/components/stat/stat-tile.d.ts +23 -0
- package/dist/src/components/stat/stat-tile.js +54 -0
- package/dist/src/components/stat/stat-tile.js.map +1 -0
- package/dist/src/components/stat/stat.css.d.ts +2 -0
- package/dist/src/components/stat/stat.css.js +146 -0
- package/dist/src/components/stat/stat.css.js.map +1 -0
- package/dist/src/components/stat/stat.d.ts +2 -0
- package/dist/src/components/stat/stat.js +3 -0
- package/dist/src/components/stat/stat.js.map +1 -0
- package/dist/src/components/switch/switch.css.d.ts +3 -0
- package/dist/src/components/switch/switch.css.js +176 -0
- package/dist/src/components/switch/switch.css.js.map +1 -0
- package/dist/src/components/switch/switch.d.ts +30 -0
- package/dist/src/components/switch/switch.js +111 -0
- package/dist/src/components/switch/switch.js.map +1 -0
- package/dist/src/components/tab-list/tab-list.css.d.ts +16 -0
- package/dist/src/components/tab-list/tab-list.css.js +290 -0
- package/dist/src/components/tab-list/tab-list.css.js.map +1 -0
- package/dist/src/components/tab-list/tab-list.d.ts +99 -0
- package/dist/src/components/tab-list/tab-list.js +203 -0
- package/dist/src/components/tab-list/tab-list.js.map +1 -0
- package/dist/src/components/tabs/tabs.css.d.ts +2 -0
- package/dist/src/components/tabs/tabs.css.js +78 -0
- package/dist/src/components/tabs/tabs.css.js.map +1 -0
- package/dist/src/components/tabs/tabs.d.ts +69 -0
- package/dist/src/components/tabs/tabs.js +241 -0
- package/dist/src/components/tabs/tabs.js.map +1 -0
- package/dist/src/components/tag/tag.css.d.ts +3 -0
- package/dist/src/components/tag/tag.css.js +53 -0
- package/dist/src/components/tag/tag.css.js.map +1 -0
- package/dist/src/components/tag/tag.d.ts +17 -0
- package/dist/src/components/tag/tag.js +39 -0
- package/dist/src/components/tag/tag.js.map +1 -0
- package/dist/src/components/terminal/terminal-cursor.d.ts +12 -0
- package/dist/src/components/terminal/terminal-cursor.js +66 -0
- package/dist/src/components/terminal/terminal-cursor.js.map +1 -0
- package/dist/src/components/terminal/terminal-message.css.d.ts +2 -0
- package/dist/src/components/terminal/terminal-message.css.js +410 -0
- package/dist/src/components/terminal/terminal-message.css.js.map +1 -0
- package/dist/src/components/terminal/terminal-message.d.ts +43 -0
- package/dist/src/components/terminal/terminal-message.js +223 -0
- package/dist/src/components/terminal/terminal-message.js.map +1 -0
- package/dist/src/components/termsOfUse/terms.css.d.ts +2 -0
- package/dist/src/components/termsOfUse/terms.css.js +56 -0
- package/dist/src/components/termsOfUse/terms.css.js.map +1 -0
- package/dist/src/components/termsOfUse/terms.d.ts +22 -0
- package/dist/src/components/termsOfUse/terms.js +151 -0
- package/dist/src/components/termsOfUse/terms.js.map +1 -0
- package/dist/src/components/textarea/textarea.css.d.ts +13 -0
- package/dist/src/components/textarea/textarea.css.js +50 -0
- package/dist/src/components/textarea/textarea.css.js.map +1 -0
- package/dist/src/components/textarea/textarea.d.ts +49 -0
- package/dist/src/components/textarea/textarea.js +171 -0
- package/dist/src/components/textarea/textarea.js.map +1 -0
- package/dist/src/components/tooltip/tooltip.css.d.ts +3 -0
- package/dist/src/components/tooltip/tooltip.css.js +97 -0
- package/dist/src/components/tooltip/tooltip.css.js.map +1 -0
- package/dist/src/components/tooltip/tooltip.d.ts +47 -0
- package/dist/src/components/tooltip/tooltip.js +293 -0
- package/dist/src/components/tooltip/tooltip.js.map +1 -0
- package/dist/src/components/trust-panel/trust-panel.css.d.ts +2 -0
- package/dist/src/components/trust-panel/trust-panel.css.js +229 -0
- package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -0
- package/dist/src/components/trust-panel/trust-panel.d.ts +34 -0
- package/dist/src/components/trust-panel/trust-panel.js +139 -0
- package/dist/src/components/trust-panel/trust-panel.js.map +1 -0
- package/dist/src/components/video/video.css.d.ts +3 -0
- package/dist/src/components/video/video.css.js +21 -0
- package/dist/src/components/video/video.css.js.map +1 -0
- package/dist/src/components/video/video.d.ts +24 -0
- package/dist/src/components/video/video.js +96 -0
- package/dist/src/components/video/video.js.map +1 -0
- package/dist/src/components/video-player/video-player.css.d.ts +2 -0
- package/dist/src/components/video-player/video-player.css.js +168 -0
- package/dist/src/components/video-player/video-player.css.js.map +1 -0
- package/dist/src/components/video-player/video-player.d.ts +44 -0
- package/dist/src/components/video-player/video-player.js +188 -0
- package/dist/src/components/video-player/video-player.js.map +1 -0
- package/dist/src/components/visually-hidden/visually-hidden.css.d.ts +3 -0
- package/dist/src/components/visually-hidden/visually-hidden.css.js +23 -0
- package/dist/src/components/visually-hidden/visually-hidden.css.js.map +1 -0
- package/dist/src/components/visually-hidden/visually-hidden.d.ts +11 -0
- package/dist/src/components/visually-hidden/visually-hidden.js +24 -0
- package/dist/src/components/visually-hidden/visually-hidden.js.map +1 -0
- package/dist/src/tokens/brand-layer.d.ts +66 -0
- package/dist/src/tokens/brand-layer.js +170 -0
- package/dist/src/tokens/brand-layer.js.map +1 -0
- package/dist/src/tokens/dark-derivation.d.ts +70 -0
- package/dist/src/tokens/dark-derivation.js +326 -0
- package/dist/src/tokens/dark-derivation.js.map +1 -0
- package/dist/src/tokens/dark-findings.d.ts +59 -0
- package/dist/src/tokens/dark-findings.js +205 -0
- package/dist/src/tokens/dark-findings.js.map +1 -0
- package/dist/src/tokens/story-chrome.d.ts +72 -0
- package/dist/src/tokens/story-chrome.js +486 -0
- package/dist/src/tokens/story-chrome.js.map +1 -0
- package/dist/src/tokens/themes/bitdefender.d.ts +25 -0
- package/dist/src/tokens/themes/bitdefender.js +31 -0
- package/dist/src/tokens/themes/bitdefender.js.map +1 -0
- package/dist/src/tokens/themes/contract.d.ts +4 -0
- package/dist/src/tokens/themes/contract.js +8 -0
- package/dist/src/tokens/themes/contract.js.map +1 -0
- package/dist/src/tokens/themes/index.d.ts +27 -0
- package/dist/src/tokens/themes/index.js +40 -0
- package/dist/src/tokens/themes/index.js.map +1 -0
- package/dist/src/tokens/token-map.d.ts +114 -0
- package/dist/src/tokens/token-map.js +237 -0
- package/dist/src/tokens/token-map.js.map +1 -0
- package/dist/src/tokens/token-purposes.d.ts +63 -0
- package/dist/src/tokens/token-purposes.js +260 -0
- package/dist/src/tokens/token-purposes.js.map +1 -0
- package/dist/src/tokens/tokens.css +1809 -0
- package/dist/src/tokens/tokens.d.ts +31 -0
- package/dist/src/tokens/tokens.js +1866 -0
- package/dist/src/tokens/tokens.js.map +1 -0
- package/dist/src/tokens/type-ceiling-words.d.ts +96 -0
- package/dist/src/tokens/type-ceiling-words.js +294 -0
- package/dist/src/tokens/type-ceiling-words.js.map +1 -0
- package/dist/src/vendor/motion-art/README.md +30 -0
- package/dist/src/vendor/motion-art/motion-art-element.d.ts +32 -0
- package/package.json +318 -85
- package/schemas/component-manifest.json +197 -146
- package/schemas/manifest-omissions.json +2 -174
- package/src/assets/fonts/bd-ibm-plex-mono.zip +0 -0
- package/src/assets/fonts/bd-ibm-plex-sans.zip +0 -0
- package/src/assets/icons/Identity_protection.png +0 -0
- package/src/assets/icons/badge-icon-individual.png +0 -0
- package/src/assets/icons/bd-icon-family-white.png +0 -0
- package/src/assets/icons/bd-icon-family.png +0 -0
- package/src/assets/icons/bd-icon-user.png +0 -0
- package/src/assets/icons/device_protection.png +0 -0
- package/src/assets/icons/financial_insurance.png +0 -0
- package/src/assets/icons/left_clicked.png +0 -0
- package/src/assets/icons/left_disabled.png +0 -0
- package/src/assets/icons/left_hover.png +0 -0
- package/src/assets/icons/left_normal.png +0 -0
- package/src/assets/icons/light-carousel-img1.png +0 -0
- package/src/assets/icons/light-carousel-img2.png +0 -0
- package/src/assets/icons/light-carousel-img3.png +0 -0
- package/src/assets/icons/more_hover.png +0 -0
- package/src/assets/icons/more_normal.png +0 -0
- package/src/assets/icons/more_pressed.png +0 -0
- package/src/assets/icons/pic1.png +0 -0
- package/src/assets/icons/pic2.png +0 -0
- package/src/assets/icons/pic3.png +0 -0
- package/src/assets/icons/privacy_protection.png +0 -0
- package/src/assets/icons/right_clicked.png +0 -0
- package/src/assets/icons/right_disabled.png +0 -0
- package/src/assets/icons/right_hover.png +0 -0
- package/src/assets/icons/right_normal.png +0 -0
- package/src/assets/icons/user_guide.png +0 -0
- package/src/assets/icons/verified_arrow.png +0 -0
- package/src/assets/images/ai/bento-consumer-art.jpg +0 -0
- package/src/assets/images/ai/bento-enterprise-art.jpg +0 -0
- package/src/assets/images/ai/bento-labs-art.jpg +0 -0
- package/src/assets/images/award-marks/av-comparatives-top-rated.png +0 -0
- package/src/assets/images/award-marks/av-test-top-product.png +0 -0
- package/src/assets/images/award-marks/crn-partner-guide.png +0 -0
- package/src/assets/images/award-marks/forrester.png +0 -0
- package/src/assets/images/award-marks/gartner.png +0 -0
- package/src/assets/images/award-marks/idc.png +0 -0
- package/src/assets/images/award-marks/mitre-engenuity.png +0 -0
- package/src/assets/images/award-marks/omdia.png +0 -0
- package/src/assets/images/award-marks/pcmag-best-of-2026.png +0 -0
- package/src/assets/images/award-marks/pcmag-editors-choice.png +0 -0
- package/src/assets/images/award-marks/pcmag-readers-choice.png +0 -0
- package/src/assets/images/awards/av-comparatives-2025.png +0 -0
- package/src/assets/images/awards/av-test-top-product.png +0 -0
- package/src/assets/images/awards/gartner-peer-insights.png +0 -0
- package/src/assets/images/awards/idc.png +0 -0
- package/src/assets/images/awards/pcmag-best-of-2026.png +0 -0
- package/src/assets/images/badges/app-store-badge.png +0 -0
- package/src/assets/images/badges/google-play-badge.png +0 -0
- package/src/assets/images/bd-header-img.jpg +0 -0
- package/src/assets/images/bd-header-us.jpg +0 -0
- package/src/assets/images/hero/ai-sphere-poster.jpg +0 -0
- package/src/assets/images/insights/post-1.jpg +0 -0
- package/src/assets/images/insights/post-2.jpg +0 -0
- package/src/assets/images/insights/post-3.jpg +0 -0
- package/src/assets/images/partner/ferrari-lockup.png +0 -0
- package/src/assets/images/partner/ferrari-photo.jpg +0 -0
- package/src/assets/images/partners/ferrari.svg +0 -6
- package/src/assets/images/partners/konica-minolta.svg +0 -12
- package/src/assets/images/partners/logmein.svg +0 -6
- package/src/assets/images/partners/netgear.svg +0 -10
- package/src/assets/images/partners/sharp.svg +0 -5
- package/src/assets/images/partners/spurs.svg +0 -33
- package/src/assets/images/tabs-img1.png +0 -0
- package/src/assets/images/tabs-img2.png +0 -0
- package/src/assets/images/tabs-img3.png +0 -0
- package/src/blog/assets/articles/fbi-crypto-scam-1.jpeg +0 -0
- package/src/blog/assets/articles/fbi-crypto-scam-cover.png +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-Bold.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-BoldItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-Italic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-Light.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-LightItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-Medium.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-MediumItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-Regular.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-SemiBold.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSans-SemiBoldItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-Bold.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-BoldItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-Italic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-Light.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-LightItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-Medium.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-MediumItalic.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-Regular.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-SemiBold.woff2 +0 -0
- package/src/blog/assets/fonts/IBMPlexSansCondensed-SemiBoldItalic.woff2 +0 -0
- package/src/blog/assets/global-scam-intelligence-report-2026.png +0 -0
- package/src/blog/assets/psd-4.jpg +0 -0
- package/src/blog/src/articles/FBI warns of crypto investment scam that sends couriers to collect victims' cash-editedAB.docx +0 -0
- package/src/blog/src/articles/FBI-crypto-scam-courier-cash.png +0 -0
- package/src/blog/src/articles/fbi-crypto-scam.js +0 -324
- package/src/blog/src/articles/~$I warns of crypto investment scam that sends couriers to collect victims' cash-editedAB.docx +0 -0
- package/src/blog/src/atoms/blog-abstract.js +0 -51
- package/src/blog/src/atoms/blog-authors.js +0 -70
- package/src/blog/src/atoms/blog-avatar.js +0 -44
- package/src/blog/src/atoms/blog-blockquote.js +0 -92
- package/src/blog/src/atoms/blog-caption.js +0 -31
- package/src/blog/src/atoms/blog-code-block.js +0 -89
- package/src/blog/src/atoms/blog-dek.js +0 -30
- package/src/blog/src/atoms/blog-featured-image.js +0 -65
- package/src/blog/src/atoms/blog-heading.js +0 -63
- package/src/blog/src/atoms/blog-image.js +0 -50
- package/src/blog/src/atoms/blog-key-takeaways.js +0 -101
- package/src/blog/src/atoms/blog-link.js +0 -68
- package/src/blog/src/atoms/blog-meta.js +0 -87
- package/src/blog/src/atoms/blog-most-popular.js +0 -146
- package/src/blog/src/atoms/blog-newsletter-signup.js +0 -342
- package/src/blog/src/atoms/blog-paragraph.js +0 -61
- package/src/blog/src/atoms/blog-product-upsell.js +0 -168
- package/src/blog/src/atoms/blog-related-articles.js +0 -326
- package/src/blog/src/atoms/blog-related-label.js +0 -30
- package/src/blog/src/atoms/blog-report-promo.js +0 -250
- package/src/blog/src/atoms/blog-standout.js +0 -78
- package/src/blog/src/atoms/blog-subhead.js +0 -32
- package/src/blog/src/atoms/blog-table-of-contents.js +0 -447
- package/src/blog/src/atoms/blog-tag.js +0 -86
- package/src/blog/src/atoms/blog-title.js +0 -31
- package/src/blog/src/base/blog-element.js +0 -10
- package/src/blog/src/breakpoints.js +0 -23
- package/src/blog/src/content/blog-article.js +0 -736
- package/src/blog/src/content/blog-atoms-showcase.js +0 -401
- package/src/blog/src/content/blog-page-layout.js +0 -73
- package/src/blog/src/content/render-inline-content.js +0 -18
- package/src/blog/src/data/popular-articles.js +0 -43
- package/src/blog/src/data/related-articles.js +0 -58
- package/src/blog/src/index.js +0 -104
- package/src/blog/src/lib/article-toc.js +0 -206
- package/src/blog/src/lib/load-prism.js +0 -23
- package/src/blog/src/shell/blog-shell.js +0 -31
- package/src/blog/src/styles/prism-theme.js +0 -65
- package/src/blog/src/tokens/blog.js +0 -406
- package/src/blog/src/tokens/core.js +0 -810
- package/src/blog/src/tokens/fonts.css +0 -241
- package/src/blog/src/tokens/index.js +0 -27
- package/src/blog/src/tokens/legacy.js +0 -49
- package/src/blog/tokens/blog.js +0 -406
- package/src/blog/tokens/core.js +0 -810
- package/src/blog/tokens/fonts.css +0 -241
- package/src/blog/tokens/index.js +0 -27
- package/src/blog/tokens/legacy.js +0 -49
- package/src/blog/tokens.css +0 -1502
- package/src/blog/tokens.js +0 -1
- package/src/blog/vendor/prism/prism.css +0 -120
- package/src/blog/vendor/prism/prism.js +0 -300
- package/src/components/accordion/accordion-bg.css.js +0 -289
- package/src/components/accordion/accordion-bg.js +0 -261
- package/src/components/accordion/accordion-bg.stories.js +0 -354
- package/src/components/accordion/accordion-indicators.js +0 -2
- package/src/components/accordion/accordion-keyboard.js +0 -80
- package/src/components/accordion/accordion-panel.js +0 -24
- package/src/components/accordion/accordion.css.js +0 -382
- package/src/components/accordion/accordion.js +0 -176
- package/src/components/accordion/accordion.stories.js +0 -390
- package/src/components/agent-endpoints/agent-endpoints.css.js +0 -89
- package/src/components/agent-endpoints/agent-endpoints.js +0 -96
- package/src/components/agent-endpoints/agent-endpoints.stories.js +0 -148
- package/src/components/ai-guardian-demo.stories.js +0 -1487
- package/src/components/alert/alert.css.js +0 -219
- package/src/components/alert/alert.js +0 -103
- package/src/components/alert/alert.stories.js +0 -206
- package/src/components/anchor/anchor-nav.css.js +0 -547
- package/src/components/anchor/anchor-nav.js +0 -617
- package/src/components/anchor/anchor.stories.js +0 -536
- package/src/components/annotation/annotation.css.js +0 -66
- package/src/components/annotation/annotation.js +0 -67
- package/src/components/annotation/annotation.stories.js +0 -63
- package/src/components/architecture.stories.js +0 -288
- package/src/components/atoms.stories.js +0 -342
- package/src/components/audience-card/audience-card.css.js +0 -123
- package/src/components/audience-card/audience-card.js +0 -75
- package/src/components/audience-card/audience-card.stories.js +0 -125
- package/src/components/avatar/avatar.css.js +0 -67
- package/src/components/avatar/avatar.js +0 -68
- package/src/components/avatar/avatar.stories.js +0 -99
- package/src/components/awards/awards-flex.css.js +0 -274
- package/src/components/awards/awards-flex.js +0 -293
- package/src/components/awards/awards-flex.stories.js +0 -659
- package/src/components/awards/awards-spotlight.css.js +0 -162
- package/src/components/awards/awards-spotlight.js +0 -142
- package/src/components/awards/awards-spotlight.stories.js +0 -205
- package/src/components/awards/awards-summary.stories.js +0 -344
- package/src/components/awards/awards.css.js +0 -402
- package/src/components/awards/awards.js +0 -201
- package/src/components/awards/awards.stories.js +0 -396
- package/src/components/awards/scroll-slides.js +0 -128
- package/src/components/back/back.css.js +0 -92
- package/src/components/back/back.js +0 -72
- package/src/components/back/back.stories.js +0 -153
- package/src/components/badge/badge.css.js +0 -205
- package/src/components/badge/badge.js +0 -104
- package/src/components/badge/badge.stories.js +0 -234
- package/src/components/bento-grid/bento-grid.css.js +0 -171
- package/src/components/bento-grid/bento-grid.js +0 -200
- package/src/components/bento-grid/bento-grid.stories.js +0 -563
- package/src/components/bento-grid/bento-item.css.js +0 -339
- package/src/components/bento-grid/bento-item.js +0 -94
- package/src/components/blockquote/blockquote.css.js +0 -56
- package/src/components/blockquote/blockquote.js +0 -36
- package/src/components/blockquote/blockquote.stories.js +0 -64
- package/src/components/breadcrumb/breadcrumb.css.js +0 -169
- package/src/components/breadcrumb/breadcrumb.js +0 -182
- package/src/components/breadcrumb/breadcrumb.stories.js +0 -272
- package/src/components/button/button.css.js +0 -844
- package/src/components/button/button.js +0 -410
- package/src/components/button/button.stories.js +0 -742
- package/src/components/caption/caption.css.js +0 -31
- package/src/components/caption/caption.js +0 -31
- package/src/components/caption/caption.stories.js +0 -62
- package/src/components/card-features/card-features.css.js +0 -121
- package/src/components/card-features/card-features.js +0 -162
- package/src/components/card-features/card-features.stories.js +0 -165
- package/src/components/cards/card.css.js +0 -370
- package/src/components/cards/card.js +0 -334
- package/src/components/cards/card.stories.js +0 -512
- package/src/components/carousel/carousel.css.js +0 -264
- package/src/components/carousel/carousel.js +0 -332
- package/src/components/carousel/carousel.stories.js +0 -207
- package/src/components/checkbox/checkbox.css.js +0 -174
- package/src/components/checkbox/checkbox.js +0 -139
- package/src/components/checkbox/checkbox.stories.js +0 -232
- package/src/components/code/code.css.js +0 -75
- package/src/components/code/code.js +0 -81
- package/src/components/code/code.stories.js +0 -76
- package/src/components/compare/compare.css.js +0 -479
- package/src/components/compare/compare.js +0 -566
- package/src/components/compare/compare.stories.js +0 -736
- package/src/components/comparison-panel/comparison-panel.css.js +0 -142
- package/src/components/comparison-panel/comparison-panel.js +0 -106
- package/src/components/comparison-panel/comparison-panel.stories.js +0 -223
- package/src/components/compatibility-table/compatibility-table.css.js +0 -392
- package/src/components/compatibility-table/compatibility-table.js +0 -164
- package/src/components/compatibility-table/compatibility-table.stories.js +0 -266
- package/src/components/control-alignment.stories.js +0 -393
- package/src/components/cta-banner/cta-banner.css.js +0 -99
- package/src/components/cta-banner/cta-banner.js +0 -71
- package/src/components/cta-banner/cta-banner.stories.js +0 -67
- package/src/components/display/display.css.js +0 -96
- package/src/components/display/display.js +0 -71
- package/src/components/display/display.stories.js +0 -357
- package/src/components/divider/divider-horizontal.js +0 -59
- package/src/components/divider/divider-vertical.js +0 -56
- package/src/components/divider/divider.css.js +0 -22
- package/src/components/divider/divider.stories.js +0 -206
- package/src/components/dropdown/dropdown.css.js +0 -122
- package/src/components/dropdown/dropdown.js +0 -281
- package/src/components/dropdown/dropdown.stories.js +0 -276
- package/src/components/features/features.css.js +0 -124
- package/src/components/features/features.js +0 -82
- package/src/components/features/features.stories.js +0 -252
- package/src/components/features-tab/features-tab.css.js +0 -101
- package/src/components/features-tab/features-tab.js +0 -76
- package/src/components/features-tab/features-tab.stories.js +0 -439
- package/src/components/fieldset/fieldset.css.js +0 -30
- package/src/components/fieldset/fieldset.js +0 -28
- package/src/components/fieldset/fieldset.stories.js +0 -177
- package/src/components/footer/footer-images.js +0 -34
- package/src/components/footer/footer-links-group.css.js +0 -34
- package/src/components/footer/footer-links-group.js +0 -26
- package/src/components/footer/footer-locale.js +0 -47
- package/src/components/footer/footer-lp.js +0 -162
- package/src/components/footer/footer-lp.stories.js +0 -365
- package/src/components/footer/footer-nav-menu.css.js +0 -62
- package/src/components/footer/footer-nav-menu.js +0 -42
- package/src/components/footer/footer.css.js +0 -665
- package/src/components/footer/footer.js +0 -435
- package/src/components/footer/footer.stories.js +0 -225
- package/src/components/footer/localeMap.js +0 -1
- package/src/components/grid/grid.css.js +0 -79
- package/src/components/grid/grid.js +0 -111
- package/src/components/grid/grid.stories.js +0 -144
- package/src/components/header/header-code.css.js +0 -370
- package/src/components/header/header-code.js +0 -226
- package/src/components/header/header-code.stories.js +0 -279
- package/src/components/header/header.css.js +0 -758
- package/src/components/header/header.js +0 -345
- package/src/components/header/header.stories.js +0 -1012
- package/src/components/heading/heading.css.js +0 -90
- package/src/components/heading/heading.js +0 -97
- package/src/components/heading/heading.stories.js +0 -228
- package/src/components/help-text/help-text.css.js +0 -21
- package/src/components/help-text/help-text.js +0 -25
- package/src/components/help-text/help-text.stories.js +0 -66
- package/src/components/hero/hero.css.js +0 -363
- package/src/components/hero/hero.js +0 -179
- package/src/components/hero/hero.stories.js +0 -146
- package/src/components/highlight/highlight.css.js +0 -176
- package/src/components/highlight/highlight.js +0 -112
- package/src/components/highlight/highlight.stories.js +0 -180
- package/src/components/icons/analysis-icon.js +0 -15
- package/src/components/icons/arrow-down-icon.js +0 -15
- package/src/components/icons/arrow-icon.js +0 -47
- package/src/components/icons/arrow-right-icon.js +0 -42
- package/src/components/icons/arrow-up-icon.js +0 -29
- package/src/components/icons/av-comparatives-icon.js +0 -34
- package/src/components/icons/bd-ai-icon.js +0 -27
- package/src/components/icons/best-brands-icon.js +0 -36
- package/src/components/icons/brand-marks.stories.js +0 -279
- package/src/components/icons/brand-signature-icon.js +0 -42
- package/src/components/icons/check-icon.js +0 -27
- package/src/components/icons/circle-info-icon.js +0 -33
- package/src/components/icons/close-icon.js +0 -16
- package/src/components/icons/enterprise-icon.js +0 -19
- package/src/components/icons/family-icon.js +0 -19
- package/src/components/icons/globe-icon.js +0 -16
- package/src/components/icons/guide-icon.js +0 -16
- package/src/components/icons/home-icon.js +0 -19
- package/src/components/icons/icon-element.js +0 -160
- package/src/components/icons/icons.js +0 -41
- package/src/components/icons/icons.stories.js +0 -391
- package/src/components/icons/individual-icon.js +0 -17
- package/src/components/icons/laurel-icon.js +0 -29
- package/src/components/icons/machine-learning-icon.js +0 -15
- package/src/components/icons/marks.js +0 -41
- package/src/components/icons/minus-icon.js +0 -17
- package/src/components/icons/missing-icon.js +0 -52
- package/src/components/icons/pause-icon.js +0 -20
- package/src/components/icons/pc-mag-2024-icon.js +0 -35
- package/src/components/icons/pc-mag-business-icon.js +0 -35
- package/src/components/icons/pc-mag-icon.js +0 -35
- package/src/components/icons/pc-mag-readers-icon.js +0 -34
- package/src/components/icons/play-icon.js +0 -19
- package/src/components/icons/plus-icon.js +0 -16
- package/src/components/icons/quote-icon.js +0 -28
- package/src/components/icons/small-business-icon.js +0 -19
- package/src/components/icons/top-product-icon.js +0 -35
- package/src/components/image/image.css.js +0 -107
- package/src/components/image/image.js +0 -98
- package/src/components/image/image.stories.js +0 -239
- package/src/components/input/custom-form.stories.js +0 -1000
- package/src/components/input/input-clipboard.css.js +0 -94
- package/src/components/input/input-clipboard.js +0 -264
- package/src/components/input/input.css.js +0 -10
- package/src/components/input/input.js +0 -182
- package/src/components/install-options/install-options.css.js +0 -309
- package/src/components/install-options/install-options.js +0 -226
- package/src/components/install-options/install-options.stories.js +0 -219
- package/src/components/label/label.css.js +0 -35
- package/src/components/label/label.js +0 -124
- package/src/components/label/label.stories.js +0 -91
- package/src/components/light-carousel/light-carousel.css.js +0 -276
- package/src/components/light-carousel/light-carousel.js +0 -187
- package/src/components/light-carousel/light-carousel.stories.js +0 -576
- package/src/components/link/link.css.js +0 -289
- package/src/components/link/link.js +0 -207
- package/src/components/link/link.stories.js +0 -402
- package/src/components/list/list-item/list-item.css.js +0 -168
- package/src/components/list/list-item/list-item.js +0 -119
- package/src/components/list/list-item/list-item.stories.js +0 -187
- package/src/components/list/list.css.js +0 -181
- package/src/components/list/list.js +0 -72
- package/src/components/list/list.stories.js +0 -222
- package/src/components/logo-marquee/logo-marquee.css.js +0 -94
- package/src/components/logo-marquee/logo-marquee.js +0 -138
- package/src/components/logo-marquee/logo-marquee.stories.js +0 -129
- package/src/components/modal/modal.css.js +0 -204
- package/src/components/modal/modal.js +0 -129
- package/src/components/modal/modal.stories.js +0 -199
- package/src/components/motion-art/motion-art.js +0 -108
- package/src/components/motion-art/motion-art.stories.js +0 -98
- package/src/components/overview/overview.css.js +0 -126
- package/src/components/overview/overview.js +0 -64
- package/src/components/overview/overview.stories.js +0 -193
- package/src/components/page-switcher/page-switcher.css.js +0 -175
- package/src/components/page-switcher/page-switcher.js +0 -68
- package/src/components/page-switcher/page-switcher.stories.js +0 -95
- package/src/components/pagination-dots/pagination-dots.css.js +0 -161
- package/src/components/pagination-dots/pagination-dots.js +0 -202
- package/src/components/pagination-dots/pagination-dots.stories.js +0 -171
- package/src/components/paragraph/paragraph.css.js +0 -102
- package/src/components/paragraph/paragraph.js +0 -99
- package/src/components/paragraph/paragraph.stories.js +0 -187
- package/src/components/partner-banner/partner-banner.css.js +0 -246
- package/src/components/partner-banner/partner-banner.js +0 -84
- package/src/components/partner-banner/partner-banner.stories.js +0 -86
- package/src/components/picture/picture.css.js +0 -209
- package/src/components/picture/picture.js +0 -172
- package/src/components/picture/picture.stories.js +0 -232
- package/src/components/post-card/post-card.css.js +0 -150
- package/src/components/post-card/post-card.js +0 -80
- package/src/components/post-card/post-card.stories.js +0 -79
- package/src/components/pricing-cards/adopt-styles.js +0 -16
- package/src/components/pricing-cards/new-pricing-card.js +0 -43
- package/src/components/pricing-cards/new-pricing-card.stories.js +0 -424
- package/src/components/pricing-cards/new-pricing.css.js +0 -75
- package/src/components/pricing-cards/pricing-card-actions.css.js +0 -12
- package/src/components/pricing-cards/pricing-card-actions.js +0 -72
- package/src/components/pricing-cards/pricing-card-container.css.js +0 -42
- package/src/components/pricing-cards/pricing-card-container.js +0 -38
- package/src/components/pricing-cards/pricing-card-header.css.js +0 -83
- package/src/components/pricing-cards/pricing-card-header.js +0 -68
- package/src/components/pricing-cards/pricing-card-pricing.css.js +0 -93
- package/src/components/pricing-cards/pricing-card-pricing.js +0 -117
- package/src/components/pricing-cards/pricing-card-show-more.css.js +0 -30
- package/src/components/pricing-cards/pricing-card-show-more.js +0 -43
- package/src/components/pricing-cards/pricing-card.css.js +0 -661
- package/src/components/pricing-cards/pricing-card.js +0 -842
- package/src/components/pricing-cards/pricing-card.stories.js +0 -14
- package/src/components/pricing-cards/pricing-feature-item.css.js +0 -35
- package/src/components/pricing-cards/pricing-feature-item.js +0 -19
- package/src/components/process-steps/process-steps.css.js +0 -107
- package/src/components/process-steps/process-steps.js +0 -89
- package/src/components/process-steps/process-steps.stories.js +0 -144
- package/src/components/progress/progress.css.js +0 -125
- package/src/components/progress/progress.js +0 -65
- package/src/components/progress/progress.stories.js +0 -83
- package/src/components/quick-answer/quick-answer.css.js +0 -131
- package/src/components/quick-answer/quick-answer.js +0 -64
- package/src/components/quick-answer/quick-answer.stories.js +0 -160
- package/src/components/radio/radio-group.css.js +0 -42
- package/src/components/radio/radio-group.js +0 -89
- package/src/components/radio/radio.css.js +0 -194
- package/src/components/radio/radio.js +0 -269
- package/src/components/radio/radio.stories.js +0 -342
- package/src/components/radio/toggle-radio.js +0 -44
- package/src/components/review/review-grid.css.js +0 -47
- package/src/components/review/review-grid.js +0 -55
- package/src/components/review/review.css.js +0 -55
- package/src/components/review/review.js +0 -67
- package/src/components/review/review.stories.js +0 -228
- package/src/components/section/section.css.js +0 -38
- package/src/components/section/section.js +0 -43
- package/src/components/section/section.stories.js +0 -246
- package/src/components/section-header/section-header.css.js +0 -100
- package/src/components/section-header/section-header.js +0 -79
- package/src/components/section-header/section-header.stories.js +0 -129
- package/src/components/shared/announcer.js +0 -37
- package/src/components/shared/ensemble.css.js +0 -102
- package/src/components/shared/fill-width.css.js +0 -29
- package/src/components/shared/form-control.js +0 -194
- package/src/components/shared/form-field.css.js +0 -260
- package/src/components/shared/prop-vocabulary.js +0 -48
- package/src/components/shared/token-scales.js +0 -384
- package/src/components/skeleton/skeleton.css.js +0 -34
- package/src/components/skeleton/skeleton.js +0 -32
- package/src/components/skeleton/skeleton.stories.js +0 -70
- package/src/components/spinner/spinner.css.js +0 -89
- package/src/components/spinner/spinner.js +0 -60
- package/src/components/spinner/spinner.stories.js +0 -95
- package/src/components/spotlight-section/spotlight-section.css.js +0 -106
- package/src/components/spotlight-section/spotlight-section.js +0 -95
- package/src/components/spotlight-section/spotlight-section.stories.js +0 -259
- package/src/components/stat/stat-highlight.js +0 -75
- package/src/components/stat/stat-tile.js +0 -43
- package/src/components/stat/stat.css.js +0 -147
- package/src/components/stat/stat.js +0 -2
- package/src/components/stat/stat.stories.js +0 -92
- package/src/components/switch/switch.css.js +0 -177
- package/src/components/switch/switch.js +0 -99
- package/src/components/switch/switch.stories.js +0 -109
- package/src/components/tab-list/content-switcher.stories.js +0 -189
- package/src/components/tab-list/tab-list.css.js +0 -293
- package/src/components/tab-list/tab-list.js +0 -189
- package/src/components/tab-list/tab-list.stories.js +0 -221
- package/src/components/tabs/tabs.css.js +0 -78
- package/src/components/tabs/tabs.js +0 -196
- package/src/components/tabs/tabs.stories.js +0 -517
- package/src/components/tag/tag.css.js +0 -54
- package/src/components/tag/tag.js +0 -32
- package/src/components/tag/tag.stories.js +0 -126
- package/src/components/terminal/terminal-cursor.js +0 -60
- package/src/components/terminal/terminal-message.css.js +0 -410
- package/src/components/terminal/terminal-message.js +0 -195
- package/src/components/terminal/terminal-message.stories.js +0 -390
- package/src/components/termsOfUse/terms.css.js +0 -56
- package/src/components/termsOfUse/terms.js +0 -145
- package/src/components/termsOfUse/terms.stories.js +0 -230
- package/src/components/textarea/textarea.css.js +0 -51
- package/src/components/textarea/textarea.js +0 -151
- package/src/components/textarea/textarea.stories.js +0 -217
- package/src/components/tooltip/tooltip.css.js +0 -98
- package/src/components/tooltip/tooltip.js +0 -286
- package/src/components/tooltip/tooltip.stories.js +0 -167
- package/src/components/trust-panel/trust-panel.css.js +0 -229
- package/src/components/trust-panel/trust-panel.js +0 -124
- package/src/components/trust-panel/trust-panel.stories.js +0 -234
- package/src/components/ultimate-security-demo.stories.js +0 -431
- package/src/components/video/video.css.js +0 -22
- package/src/components/video/video.js +0 -80
- package/src/components/video/video.stories.js +0 -123
- package/src/components/video-player/video-player.css.js +0 -168
- package/src/components/video-player/video-player.js +0 -178
- package/src/components/video-player/video-player.stories.js +0 -202
- package/src/components/visual-alignment.stories.js +0 -411
- package/src/components/visually-hidden/visually-hidden.css.js +0 -24
- package/src/components/visually-hidden/visually-hidden.js +0 -16
- package/src/components/visually-hidden/visually-hidden.stories.js +0 -56
- package/src/index.js +0 -0
- package/src/tokens/borders.stories.js +0 -339
- package/src/tokens/brand-layer.js +0 -185
- package/src/tokens/brands.stories.js +0 -235
- package/src/tokens/color-responsibilities.stories.js +0 -227
- package/src/tokens/dark-derivation.js +0 -318
- package/src/tokens/dark-findings.js +0 -204
- package/src/tokens/dark-mode.stories.js +0 -207
- package/src/tokens/dimension.stories.js +0 -251
- package/src/tokens/elevation.stories.js +0 -142
- package/src/tokens/focus.stories.js +0 -342
- package/src/tokens/fonts.stories.js +0 -380
- package/src/tokens/motion.stories.js +0 -225
- package/src/tokens/shape.stories.js +0 -277
- package/src/tokens/spacing-rhythm.stories.js +0 -359
- package/src/tokens/spacing.stories.js +0 -228
- package/src/tokens/story-chrome.js +0 -503
- package/src/tokens/surfaces.stories.js +0 -224
- package/src/tokens/text-on-surface.stories.js +0 -164
- package/src/tokens/themes/bitdefender.js +0 -30
- package/src/tokens/themes/contract.js +0 -27
- package/src/tokens/themes/index.js +0 -41
- package/src/tokens/token-map.js +0 -220
- package/src/tokens/token-map.stories.js +0 -257
- package/src/tokens/token-purposes.js +0 -266
- package/src/tokens/tokens-grid.stories.js +0 -421
- package/src/tokens/tokens.css +0 -1808
- package/src/tokens/tokens.js +0 -1869
- package/src/tokens/tokens.stories.js +0 -158
- package/src/tokens/type-ceiling-words.js +0 -299
- package/src/tokens/typography.stories.js +0 -1050
- package/src/tokens/vertical-rhythm.stories.js +0 -224
- package/src/vendor/motion-art/README.md +0 -30
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-Bold.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-BoldItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-Italic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-Light.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-LightItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-Medium.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-MediumItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-Regular.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-SemiBold.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexMono-SemiBoldItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-Bold.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-BoldItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-Italic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-Light.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-LightItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-Medium.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-MediumItalic.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-Regular.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-SemiBold.woff2 +0 -0
- /package/{src → dist/src}/assets/fonts/IBMPlexSans-SemiBoldItalic.woff2 +0 -0
- /package/{src → dist/src}/tokens/fonts.css +0 -0
- /package/{src → dist/src}/tokens/layout.css +0 -0
- /package/{src → dist/src}/vendor/motion-art/motion-art-element.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install-options.js","sourceRoot":"","sources":["../../../../src/components/install-options/install-options.ts"],"names":[],"mappings":"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","sourcesContent":["import { LitElement, html, nothing } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"../shared/define-element.ts\";\nimport { tokens } from \"../../tokens/tokens.ts\";\nimport \"../heading/heading.ts\";\nimport \"../link/link.ts\";\nimport \"../paragraph/paragraph.ts\";\nimport installOptionsCSS from \"./install-options.css.ts\";\nimport { ensembleCSS } from \"../shared/ensemble.css.ts\";\nimport { Announcer } from \"../shared/announcer.ts\";\n\ninterface WorksIn {\n label? : string;\n initial?: string;\n color? : string;\n}\n\ninterface InstallCard {\n title : string;\n badge? : string;\n description?: string;\n code? : string;\n linkLabel? : string;\n linkHref? : string;\n}\n\n@defineElement(\"bd-install-options\")\nclass BdInstallOptions extends LitElement {\n static styles = [tokens, ensembleCSS, installOptionsCSS];\n\n @property({ type: String })\n eyebrow = \"\";\n @property({ type: String })\n title = \"\";\n @property({ type: String })\n description = \"\";\n @property({ type: Array })\n worksIn: WorksIn[] = []; // [{ label, initial, color }]\n @property({ type: Array })\n cards: InstallCard[] = []; // [{ title, badge, description, code, linkLabel, linkHref }]\n\n // \"Then just ask\" sub-panel — rendered only when this is set, so a\n // consumer of bd-install-options who doesn't need it gets nothing extra.\n @property({ type: Boolean, reflect: true, attribute: \"prompt-panel\" })\n promptPanel = false;\n @property({ type: String, attribute: \"prompt-label\" })\n promptLabel = \"\"; // small mono label above the prompt block\n\n _announcer: Announcer;\n\n constructor() {\n super();\n /* \"Copied\" is said, not only shown. The button's own text changes too,\n but a screen reader does not reliably read a focused button's new name,\n so the message goes through the live region (shared/announcer.ts). */\n this._announcer = new Announcer(this);\n }\n\n /* The button says \"Copied\" for 1.5s and ignores presses meanwhile. It is not\n disabled for it: disabling the focused button threw keyboard focus back to\n the top of the page, mid-card.\n\n The flag is data-copied, present or absent: its value is \"\", which reads\n as false, so asking for its value let a second press through, and that\n press took \"Copied\" as the text to restore. It is set before the\n clipboard is awaited, so two presses in quick succession cannot both\n start a copy. */\n async _copy(text: string, btn: HTMLElement) {\n if (\"copied\" in btn.dataset) return;\n btn.dataset.copied = \"\";\n try {\n await navigator.clipboard.writeText(text);\n const original = btn.textContent;\n btn.textContent = \"Copied\";\n this._announcer.say(\"Copied\");\n setTimeout(() => {\n btn.textContent = original;\n delete btn.dataset.copied;\n }, 1500);\n } catch {\n // clipboard permission denied or unavailable — button stays as \"Copy\"\n delete btn.dataset.copied;\n }\n }\n\n async _copyPromptSlot(btn: HTMLElement) {\n const slot = this.renderRoot?.querySelector<HTMLSlotElement>('slot[name=\"prompt\"]');\n const nodes = slot?.assignedNodes({ flatten: true }) || [];\n const text = nodes.map((n) => n.textContent || \"\").join(\"\")\n .trim();\n if (!text) return;\n this._copy(text, btn);\n }\n\n _renderWorksIn() {\n if (!this.worksIn.length) return nothing;\n return html`\n <div class=\"bd-installoptions-worksin\">\n <span class=\"bd-installoptions-worksin-label\">Works in</span>\n <div class=\"bd-installoptions-pills\">\n ${this.worksIn.map(\n ({ label, initial, color }) => html`\n <span class=\"bd-installoptions-pill\">\n <span\n class=\"bd-installoptions-pill-icon\"\n style=\"background:${color || \"var(--color-neutral-800)\"}\"\n aria-hidden=\"true\"\n >${initial || label?.[0] || \"?\"}</span>\n ${label}\n </span>\n `\n )}\n </div>\n </div>\n `;\n }\n\n /* Every card's button says \"Copy\", so each is described by its card's\n title: a screen reader reading the buttons on their own hears which\n command each one copies. */\n _renderCard(card: InstallCard, index: number) {\n const titleId = `bd-installoptions-card-title-${index}`;\n return html`\n <div class=\"bd-installoptions-card\">\n <div class=\"bd-installoptions-card-head\">\n <bd-h as=\"h3\" id=${titleId} class=\"bd-installoptions-card-title\">${card.title}</bd-h>\n ${card.badge\n ? html`<span class=\"bd-installoptions-badge\">${card.badge}</span>`\n : nothing}\n </div>\n\n ${card.description\n ? html`<bd-p variant=\"small\" class=\"bd-installoptions-card-description\">${card.description}</bd-p>`\n : nothing}\n\n ${card.code\n ? html`\n <div class=\"bd-installoptions-code\">\n <pre class=\"bd-installoptions-code-text\">${card.code}</pre>\n <button\n type=\"button\"\n class=\"bd-installoptions-copy\"\n aria-describedby=${titleId}\n @click=${(e: MouseEvent) => this._copy(card.code!, e.currentTarget as HTMLButtonElement)}\n >Copy</button>\n </div>\n `\n : nothing}\n\n ${card.linkLabel\n ? html`\n <bd-link href=${card.linkHref || \"#\"} variant=\"primary\" class=\"bd-installoptions-card-link\">\n ${card.linkLabel} →\n </bd-link>\n `\n : nothing}\n </div>\n `;\n }\n\n _renderPromptPanel() {\n if (!this.promptPanel) return nothing;\n\n return html`\n <div class=\"bd-installoptions-promptpanel\">\n <bd-h as=\"h2\" id=\"bd-installoptions-prompt-title\" class=\"bd-installoptions-prompt-title\">\n <slot name=\"prompt-title\"></slot>\n </bd-h>\n\n <bd-p variant=\"regular\" class=\"bd-installoptions-prompt-description\">\n <slot name=\"prompt-description\"></slot>\n </bd-p>\n\n ${this.promptLabel\n ? html`<span class=\"bd-installoptions-prompt-label\">${this.promptLabel}</span>`\n : nothing}\n\n <div class=\"bd-installoptions-prompt-code\">\n <div class=\"bd-installoptions-prompt-code-text\">\n <slot name=\"prompt\"></slot>\n </div>\n <button\n type=\"button\"\n class=\"bd-installoptions-copy bd-installoptions-copy--prompt\"\n aria-describedby=\"bd-installoptions-prompt-title\"\n @click=${(e: MouseEvent) => this._copyPromptSlot(e.currentTarget as HTMLButtonElement)}\n >Copy</button>\n </div>\n\n <div class=\"bd-installoptions-prompt-note\">\n <slot name=\"prompt-note\"></slot>\n </div>\n\n <bd-p variant=\"regular\" class=\"bd-installoptions-prompt-footer\">\n <slot name=\"prompt-footer\"></slot>\n </bd-p>\n </div>\n `;\n }\n\n render() {\n return html`\n <div class=\"bd-installoptions-container\">\n <div class=\"bd-ensemble\">\n ${this.eyebrow\n ? html`<bd-p variant=\"regular\" class=\"bd-installoptions-eyebrow\">${this.eyebrow}</bd-p>`\n : nothing}\n\n <bd-h as=\"h2\" class=\"bd-installoptions-title\">${this.title}</bd-h>\n\n ${this.description\n ? html`<bd-p variant=\"regular\" class=\"bd-installoptions-description\">${this.description}</bd-p>`\n : nothing}\n\n ${this._renderWorksIn()}\n\n <!--\n Slot generic (fara nume) -- pentru orice continut care nu se\n potriveste cu grid-ul fix de carduri (ex: un tabel, o casuta\n checklist, o nota de avertizare). Cardurile ramase implicite\n (this.cards) tot se randeaza mai jos daca sunt pasate; cele doua\n pot coexista sau poti folosi doar unul din ele.\n -->\n <div class=\"bd-installoptions-body\">\n <slot></slot>\n </div>\n\n ${this.cards.length\n ? html`\n <div class=\"bd-installoptions-grid\">\n ${this.cards.map((card, index) => this._renderCard(card, index))}\n </div>\n `\n : nothing}\n\n ${this._renderPromptPanel()}\n </div>\n <span class=\"bd-installoptions-status\" role=\"status\">${this._announcer.status}</span>\n </div>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-install-options\": BdInstallOptions;\n }\n}\n"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
/** Styled entirely from design tokens — see npm run lint:tokens. */
|
|
3
|
+
export const labelCSS = css `
|
|
4
|
+
:host { display: block; }
|
|
5
|
+
|
|
6
|
+
label {
|
|
7
|
+
display: block;
|
|
8
|
+
font-family: var(--form-label-default-fontFamily);
|
|
9
|
+
font-size: var(--form-label-default-fontSize);
|
|
10
|
+
font-weight: var(--form-label-default-fontWeight);
|
|
11
|
+
line-height: var(--form-label-default-lineHeight);
|
|
12
|
+
letter-spacing: var(--form-label-default-letterSpacing);
|
|
13
|
+
color: var(--form-label-default-color);
|
|
14
|
+
margin-bottom: var(--form-label-default-marginBottom);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host([size='sm']) label {
|
|
18
|
+
font-size: var(--form-label-small-fontSize);
|
|
19
|
+
letter-spacing: var(--form-label-small-letterSpacing);
|
|
20
|
+
margin-bottom: var(--form-label-small-marginBottom);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:host([size='lg']) label {
|
|
24
|
+
font-size: var(--form-label-large-fontSize);
|
|
25
|
+
margin-bottom: var(--form-label-large-marginBottom);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.required {
|
|
29
|
+
color: var(--form-label-required-color);
|
|
30
|
+
margin-inline-start: var(--form-label-required-marginLeft);
|
|
31
|
+
}
|
|
32
|
+
`;
|
|
33
|
+
export default labelCSS;
|
|
34
|
+
//# sourceMappingURL=label.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.css.js","sourceRoot":"","sources":["../../../../src/components/label/label.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,oEAAoE;AACpE,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B1B,CAAC;AAEF,eAAe,QAAQ,CAAC","sourcesContent":["import { css } from 'lit';\n\n/** Styled entirely from design tokens — see npm run lint:tokens. */\nexport const labelCSS = css`\n :host { display: block; }\n\n label {\n display: block;\n font-family: var(--form-label-default-fontFamily);\n font-size: var(--form-label-default-fontSize);\n font-weight: var(--form-label-default-fontWeight);\n line-height: var(--form-label-default-lineHeight);\n letter-spacing: var(--form-label-default-letterSpacing);\n color: var(--form-label-default-color);\n margin-bottom: var(--form-label-default-marginBottom);\n }\n\n :host([size='sm']) label {\n font-size: var(--form-label-small-fontSize);\n letter-spacing: var(--form-label-small-letterSpacing);\n margin-bottom: var(--form-label-small-marginBottom);\n }\n\n :host([size='lg']) label {\n font-size: var(--form-label-large-fontSize);\n margin-bottom: var(--form-label-large-marginBottom);\n }\n\n .required {\n color: var(--form-label-required-color);\n margin-inline-start: var(--form-label-required-marginLeft);\n }\n`;\n\nexport default labelCSS;\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { LitElement, type PropertyValues } from 'lit';
|
|
2
|
+
import '../../tokens/tokens.ts';
|
|
3
|
+
import { type Size } from '../shared/prop-vocabulary.ts';
|
|
4
|
+
type Labelable = HTMLElement & {
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare class BdLabel extends LitElement {
|
|
8
|
+
static styles: import("lit").CSSResult[];
|
|
9
|
+
size: Size;
|
|
10
|
+
for?: string;
|
|
11
|
+
required: boolean;
|
|
12
|
+
_waiting?: MutationObserver | null;
|
|
13
|
+
_linked?: {
|
|
14
|
+
target: Labelable;
|
|
15
|
+
id: string;
|
|
16
|
+
} | null;
|
|
17
|
+
constructor();
|
|
18
|
+
willUpdate(changed: PropertyValues<this>): void;
|
|
19
|
+
connectedCallback(): void;
|
|
20
|
+
disconnectedCallback(): void;
|
|
21
|
+
updated(changed: PropertyValues<this>): void;
|
|
22
|
+
get _target(): Labelable | null;
|
|
23
|
+
_link(): void;
|
|
24
|
+
_unlink(): void;
|
|
25
|
+
_activate(e: MouseEvent): void;
|
|
26
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
27
|
+
}
|
|
28
|
+
declare global {
|
|
29
|
+
interface HTMLElementTagNameMap {
|
|
30
|
+
'bd-label': BdLabel;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export {};
|
|
@@ -0,0 +1,138 @@
|
|
|
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, nothing } from 'lit';
|
|
8
|
+
import { property } from 'lit/decorators.js';
|
|
9
|
+
import { defineElement } from "../shared/define-element.js";
|
|
10
|
+
// Installs the design tokens into document scope; see src/tokens/tokens.ts
|
|
11
|
+
import "../../tokens/tokens.js";
|
|
12
|
+
import { labelCSS } from "./label.css.js";
|
|
13
|
+
import { resolveSize } from "../shared/prop-vocabulary.js";
|
|
14
|
+
let labelIds = 0;
|
|
15
|
+
/* Controls whose own <label for> would have worked: the ones a label can be
|
|
16
|
+
for. A custom element is not here -- see the note on _target. */
|
|
17
|
+
const LABELABLE = new Set(["input", "select", "textarea", "button", "meter", "output", "progress"]);
|
|
18
|
+
const ACTIVATES = new Set(["checkbox", "radio"]);
|
|
19
|
+
let BdLabel = class BdLabel extends LitElement {
|
|
20
|
+
static { this.styles = [labelCSS]; }
|
|
21
|
+
constructor() {
|
|
22
|
+
super();
|
|
23
|
+
this.size = 'md';
|
|
24
|
+
this.required = false;
|
|
25
|
+
this.addEventListener('click', e => this._activate(e));
|
|
26
|
+
}
|
|
27
|
+
willUpdate(changed) {
|
|
28
|
+
// small / default / large still resolve; see shared/prop-vocabulary.ts
|
|
29
|
+
if (changed.has('size'))
|
|
30
|
+
this.size = resolveSize(this.size, 'md');
|
|
31
|
+
}
|
|
32
|
+
/* WHY for IS DONE BY HAND.
|
|
33
|
+
The <label> this renders is in its own shadow root, and a for reference
|
|
34
|
+
resolves only in the tree it is written in, so <bd-label for="email">
|
|
35
|
+
pointed at nothing: the control went unnamed and a click on the label did
|
|
36
|
+
nothing. It now does what a native label's for does, for a native control
|
|
37
|
+
in the same tree as this element:
|
|
38
|
+
|
|
39
|
+
name the control gets aria-labelledby pointing at this element,
|
|
40
|
+
added to whatever it already lists, and taken back when for
|
|
41
|
+
changes or this element leaves -- so the control is named by
|
|
42
|
+
the label's text
|
|
43
|
+
activate a click on the label focuses the control, and toggles it
|
|
44
|
+
when it is a checkbox or a radio
|
|
45
|
+
|
|
46
|
+
The control may not exist yet when this renders -- it can come later in
|
|
47
|
+
the page, or be rendered after -- so until it is found the root is
|
|
48
|
+
watched for it. */
|
|
49
|
+
connectedCallback() {
|
|
50
|
+
super.connectedCallback();
|
|
51
|
+
this._link();
|
|
52
|
+
}
|
|
53
|
+
disconnectedCallback() {
|
|
54
|
+
this._unlink();
|
|
55
|
+
super.disconnectedCallback();
|
|
56
|
+
}
|
|
57
|
+
updated(changed) {
|
|
58
|
+
if (changed.has('for'))
|
|
59
|
+
this._link();
|
|
60
|
+
}
|
|
61
|
+
/* The control, when for names one in this element's own tree. A custom
|
|
62
|
+
element is skipped: its real control is inside its own shadow root, where
|
|
63
|
+
aria-labelledby on the host does not reach -- label a bd-custom-input
|
|
64
|
+
with its own label prop. */
|
|
65
|
+
get _target() {
|
|
66
|
+
if (!this.for || !this.isConnected)
|
|
67
|
+
return null;
|
|
68
|
+
const el = this.getRootNode().getElementById?.(this.for);
|
|
69
|
+
return el && LABELABLE.has(el.localName) ? el : null;
|
|
70
|
+
}
|
|
71
|
+
_link() {
|
|
72
|
+
this._unlink();
|
|
73
|
+
if (!this.for || !this.isConnected)
|
|
74
|
+
return;
|
|
75
|
+
const target = this._target;
|
|
76
|
+
if (!target) {
|
|
77
|
+
// not there yet: watch for it, and stop as soon as it is
|
|
78
|
+
const root = this.getRootNode();
|
|
79
|
+
this._waiting = new MutationObserver(() => { if (this._target)
|
|
80
|
+
this._link(); });
|
|
81
|
+
this._waiting.observe(root, { childList: true, subtree: true, attributes: true, attributeFilter: ['id'] });
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
if (!this.id)
|
|
85
|
+
this.id = `bd-label-${++labelIds}`;
|
|
86
|
+
const ids = (target.getAttribute('aria-labelledby') || '').split(/\s+/).filter(Boolean);
|
|
87
|
+
if (!ids.includes(this.id))
|
|
88
|
+
target.setAttribute('aria-labelledby', [...ids, this.id].join(' '));
|
|
89
|
+
this._linked = { target, id: this.id };
|
|
90
|
+
}
|
|
91
|
+
_unlink() {
|
|
92
|
+
this._waiting?.disconnect();
|
|
93
|
+
this._waiting = null;
|
|
94
|
+
if (!this._linked)
|
|
95
|
+
return;
|
|
96
|
+
const { target, id } = this._linked;
|
|
97
|
+
const ids = (target.getAttribute('aria-labelledby') || '').split(/\s+/).filter(t => t && t !== id);
|
|
98
|
+
if (ids.length)
|
|
99
|
+
target.setAttribute('aria-labelledby', ids.join(' '));
|
|
100
|
+
else
|
|
101
|
+
target.removeAttribute('aria-labelledby');
|
|
102
|
+
this._linked = null;
|
|
103
|
+
}
|
|
104
|
+
_activate(e) {
|
|
105
|
+
const target = this._target;
|
|
106
|
+
if (!target || target.disabled)
|
|
107
|
+
return;
|
|
108
|
+
// a link or a control slotted into the label keeps its own click
|
|
109
|
+
if (e.composedPath().some(n => n !== this && n.matches?.('a[href], button, input, select, textarea')))
|
|
110
|
+
return;
|
|
111
|
+
target.focus();
|
|
112
|
+
if (target.localName === 'input' && ACTIVATES.has(target.type))
|
|
113
|
+
target.click();
|
|
114
|
+
}
|
|
115
|
+
render() {
|
|
116
|
+
return html `
|
|
117
|
+
<label>
|
|
118
|
+
<slot></slot>${this.required
|
|
119
|
+
? html `<span class="required" aria-hidden="true">*</span>`
|
|
120
|
+
: nothing}
|
|
121
|
+
</label>
|
|
122
|
+
`;
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
__decorate([
|
|
126
|
+
property({ type: String, reflect: true })
|
|
127
|
+
], BdLabel.prototype, "size", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
property({ type: String })
|
|
130
|
+
], BdLabel.prototype, "for", void 0);
|
|
131
|
+
__decorate([
|
|
132
|
+
property({ type: Boolean, reflect: true })
|
|
133
|
+
], BdLabel.prototype, "required", void 0);
|
|
134
|
+
BdLabel = __decorate([
|
|
135
|
+
defineElement('bd-label')
|
|
136
|
+
], BdLabel);
|
|
137
|
+
export { BdLabel };
|
|
138
|
+
//# sourceMappingURL=label.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"label.js","sourceRoot":"","sources":["../../../../src/components/label/label.ts"],"names":[],"mappings":"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","sourcesContent":["import { LitElement, html, nothing, type PropertyValues } from 'lit';\nimport { property } from 'lit/decorators.js';\nimport { defineElement } from '../shared/define-element.ts';\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport '../../tokens/tokens.ts';\nimport { labelCSS } from './label.css.ts';\nimport { resolveSize, type Size } from '../shared/prop-vocabulary.ts';\n\nlet labelIds = 0;\n\n/* Controls whose own <label for> would have worked: the ones a label can be\n for. A custom element is not here -- see the note on _target. */\nconst LABELABLE = new Set([\"input\", \"select\", \"textarea\", \"button\", \"meter\", \"output\", \"progress\"]);\nconst ACTIVATES = new Set([\"checkbox\", \"radio\"]);\n\ntype Labelable = HTMLElement & { disabled?: boolean };\n\n@defineElement('bd-label')\nexport class BdLabel extends LitElement {\n static styles = [labelCSS];\n\n @property({ type: String, reflect: true })\n size: Size = 'md';\n @property({ type: String })\n for?: string;\n @property({ type: Boolean, reflect: true })\n required = false;\n\n _waiting?: MutationObserver | null;\n _linked? : { target: Labelable; id: string } | null;\n\n constructor() {\n super();\n this.addEventListener('click', e => this._activate(e));\n }\n\n willUpdate(changed: PropertyValues<this>) {\n // small / default / large still resolve; see shared/prop-vocabulary.ts\n if (changed.has('size')) this.size = resolveSize(this.size, 'md');\n }\n\n /* WHY for IS DONE BY HAND.\n The <label> this renders is in its own shadow root, and a for reference\n resolves only in the tree it is written in, so <bd-label for=\"email\">\n pointed at nothing: the control went unnamed and a click on the label did\n nothing. It now does what a native label's for does, for a native control\n in the same tree as this element:\n\n name the control gets aria-labelledby pointing at this element,\n added to whatever it already lists, and taken back when for\n changes or this element leaves -- so the control is named by\n the label's text\n activate a click on the label focuses the control, and toggles it\n when it is a checkbox or a radio\n\n The control may not exist yet when this renders -- it can come later in\n the page, or be rendered after -- so until it is found the root is\n watched for it. */\n connectedCallback() {\n super.connectedCallback();\n this._link();\n }\n\n disconnectedCallback() {\n this._unlink();\n super.disconnectedCallback();\n }\n\n updated(changed: PropertyValues<this>) {\n if (changed.has('for')) this._link();\n }\n\n /* The control, when for names one in this element's own tree. A custom\n element is skipped: its real control is inside its own shadow root, where\n aria-labelledby on the host does not reach -- label a bd-custom-input\n with its own label prop. */\n get _target(): Labelable | null {\n if (!this.for || !this.isConnected) return null;\n const el = (this.getRootNode() as Document | ShadowRoot).getElementById?.(this.for);\n return el && LABELABLE.has(el.localName) ? el : null;\n }\n\n _link() {\n this._unlink();\n if (!this.for || !this.isConnected) return;\n const target = this._target;\n if (!target) {\n // not there yet: watch for it, and stop as soon as it is\n const root = this.getRootNode();\n this._waiting = new MutationObserver(() => { if (this._target) this._link(); });\n this._waiting.observe(root, { childList: true, subtree: true, attributes: true, attributeFilter: ['id'] });\n return;\n }\n if (!this.id) this.id = `bd-label-${++labelIds}`;\n const ids = (target.getAttribute('aria-labelledby') || '').split(/\\s+/).filter(Boolean);\n if (!ids.includes(this.id)) target.setAttribute('aria-labelledby', [...ids, this.id].join(' '));\n this._linked = { target, id: this.id };\n }\n\n _unlink() {\n this._waiting?.disconnect();\n this._waiting = null;\n if (!this._linked) return;\n const { target, id } = this._linked;\n const ids = (target.getAttribute('aria-labelledby') || '').split(/\\s+/).filter(t => t && t !== id);\n if (ids.length) target.setAttribute('aria-labelledby', ids.join(' '));\n else target.removeAttribute('aria-labelledby');\n this._linked = null;\n }\n\n _activate(e: MouseEvent) {\n const target = this._target;\n if (!target || target.disabled) return;\n // a link or a control slotted into the label keeps its own click\n if (e.composedPath().some(n => n !== this && (n as Element).matches?.('a[href], button, input, select, textarea'))) return;\n target.focus();\n if (target.localName === 'input' && ACTIVATES.has((target as HTMLInputElement).type)) target.click();\n }\n\n render() {\n return html`\n <label>\n <slot></slot>${this.required\n ? html`<span class=\"required\" aria-hidden=\"true\">*</span>`\n : nothing}\n </label>\n `;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'bd-label': BdLabel;\n }\n}\n"]}
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
import { css, unsafeCSS } from "lit";
|
|
2
|
+
import { below } from "../shared/token-scales.js";
|
|
3
|
+
/* A card's own size at three widths, each said once and asked twice: of the
|
|
4
|
+
section, the container every width rule in this sheet reads, and of the
|
|
5
|
+
screen, for a card set on its own with no section around it
|
|
6
|
+
(Foundations/Visual Alignment's card family). The two never disagree: a
|
|
7
|
+
section is never wider than the screen, so wherever the screen says narrow
|
|
8
|
+
the section does too, and in a section on a wide screen the section alone
|
|
9
|
+
decides. */
|
|
10
|
+
/* No inset change at 1024. This box used to drop to 1.5em here and 1em at
|
|
11
|
+
480, and it was an outlier twice over: it started shrinking 256px of
|
|
12
|
+
viewport before any sibling did, and it kept going to 16px where the rest
|
|
13
|
+
stop at 24. It takes the compact inset with the family at md instead --
|
|
14
|
+
see cardBelowMd.
|
|
15
|
+
|
|
16
|
+
The literals were also ems, so the inset scaled with whatever font-size the
|
|
17
|
+
box inherited while every sibling card's stayed put.
|
|
18
|
+
|
|
19
|
+
The width line is unrelated and stays. With box-sizing: border-box, the 380
|
|
20
|
+
is the card's whole width rather than its content width, so the card
|
|
21
|
+
measures 380 here instead of the 444 it used to render -- 64px narrower,
|
|
22
|
+
two still to a row, each one exactly filling its grid item. The declared
|
|
23
|
+
width was chosen over the rendered one on purpose: a rule that says 380 and
|
|
24
|
+
paints 444 is the kind of thing this file is being cleaned of. */
|
|
25
|
+
const cardUpTo1024 = css `
|
|
26
|
+
.bd-light-box {
|
|
27
|
+
width: 380px;
|
|
28
|
+
}
|
|
29
|
+
`;
|
|
30
|
+
const cardBelowMd = css `
|
|
31
|
+
.bd-light-box {
|
|
32
|
+
width: 100%;
|
|
33
|
+
max-width: 400px;
|
|
34
|
+
margin: var(--spacing-0) auto;
|
|
35
|
+
/* The compact inset, at the breakpoint the family takes it. Bento, the
|
|
36
|
+
Comparison Panel and the Trust Panel all step down here; this box used
|
|
37
|
+
to step down at 1024 and again at 480, which is why it read as the odd
|
|
38
|
+
one out when it was really just early and twice. */
|
|
39
|
+
padding: var(--card-padding-compact);
|
|
40
|
+
}
|
|
41
|
+
`;
|
|
42
|
+
const cardUpTo480 = css `
|
|
43
|
+
.bd-light-box {
|
|
44
|
+
width: 100%;
|
|
45
|
+
min-height: 300px;
|
|
46
|
+
}
|
|
47
|
+
.bd-light-icon {
|
|
48
|
+
bottom: var(--spacing-10);
|
|
49
|
+
}
|
|
50
|
+
`;
|
|
51
|
+
const cardUpTo1024Media = css `@media (max-width: 1024px) { ${cardUpTo1024} }`;
|
|
52
|
+
const cardBelowMdMedia = css `@media ${unsafeCSS(below('md'))} { ${cardBelowMd} }`;
|
|
53
|
+
const cardUpTo480Media = css `@media (max-width: 480px) { ${cardUpTo480} }`;
|
|
54
|
+
export default css `
|
|
55
|
+
/* One stylesheet for both public variants.
|
|
56
|
+
|
|
57
|
+
The two implementations were copies of each other: twenty-three rule
|
|
58
|
+
blocks each, the same selectors under the same media conditions, seventeen
|
|
59
|
+
of them byte-identical and every responsive block identical. The simple
|
|
60
|
+
copy differed only in the six values below, and carried them by suffixing
|
|
61
|
+
every class name with -s.
|
|
62
|
+
|
|
63
|
+
So the variant is a set of values, not a set of rules. It used to be
|
|
64
|
+
selected by tag name, which is why there were two public element pairs at
|
|
65
|
+
all; P6E.1 folded those into one pair and the set is now selected by
|
|
66
|
+
the variant attribute. Everything after that is shared, which is what keeps the 480,
|
|
67
|
+
600 and 1024 queries in one place instead of two. */
|
|
68
|
+
:host {
|
|
69
|
+
display: block;
|
|
70
|
+
|
|
71
|
+
--bd-lc-columns: 3;
|
|
72
|
+
--bd-lc-gap: 30px;
|
|
73
|
+
--bd-lc-icon-size: var(--spacing-32);
|
|
74
|
+
--bd-lc-header-direction: row;
|
|
75
|
+
--bd-lc-header-align: center;
|
|
76
|
+
--bd-lc-title-align: start;
|
|
77
|
+
--bd-lc-section-padding-block: var(--spacing-0);
|
|
78
|
+
--bd-lc-carousel-padding-top: var(--spacing-32);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
:host([variant="simple"]) {
|
|
82
|
+
--bd-lc-columns: 4;
|
|
83
|
+
--bd-lc-gap: var(--spacing-24);
|
|
84
|
+
--bd-lc-icon-size: var(--spacing-44);
|
|
85
|
+
--bd-lc-header-direction: column;
|
|
86
|
+
--bd-lc-header-align: flex-start;
|
|
87
|
+
--bd-lc-title-align: center;
|
|
88
|
+
--bd-lc-section-padding-block: var(--spacing-32);
|
|
89
|
+
--bd-lc-carousel-padding-top: var(--spacing-0);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:host(bd-light-carousel-section[variant="simple"]) {
|
|
93
|
+
padding-top: var(--bd-lc-section-padding-block);
|
|
94
|
+
padding-bottom: var(--bd-lc-section-padding-block);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* The section is the container every width rule below reads -- the
|
|
98
|
+
track's columns and each card's size alike, so the two never disagree
|
|
99
|
+
-- where they used to read the screen. A section across the page is as
|
|
100
|
+
wide as the screen, so there nothing moves; one placed in a narrower
|
|
101
|
+
column steps down with it. width: 100% because a size container
|
|
102
|
+
contributes nothing to its own intrinsic width. */
|
|
103
|
+
:host(bd-light-carousel-section) {
|
|
104
|
+
container-type: inline-size;
|
|
105
|
+
width: 100%;
|
|
106
|
+
box-sizing: border-box;
|
|
107
|
+
}
|
|
108
|
+
.bd-header-light-carousel {
|
|
109
|
+
margin-bottom: 50px;
|
|
110
|
+
margin-top: 50px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.bd-light-carousel {
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
justify-content: center;
|
|
117
|
+
position: relative;
|
|
118
|
+
/* The section is the page column (bd-ensemble), so its cards land on the
|
|
119
|
+
same content edge as every other module's. It used to be 1400 wide with a
|
|
120
|
+
14px gutter of its own; the track below carried a second 20px one, which
|
|
121
|
+
put these cards 20px inside the column everything else aligned to. The
|
|
122
|
+
column owns the gutter now, the track none. */
|
|
123
|
+
box-sizing: border-box;
|
|
124
|
+
width: 100%;
|
|
125
|
+
margin: var(--spacing-0) auto;
|
|
126
|
+
overflow: hidden;
|
|
127
|
+
flex-direction: column;
|
|
128
|
+
padding-top: var(--bd-lc-carousel-padding-top);
|
|
129
|
+
}
|
|
130
|
+
.bd-light-carousel-track {
|
|
131
|
+
scroll-behavior: smooth;
|
|
132
|
+
flex: 1;
|
|
133
|
+
/* No wider than the column, so cards that do not fit scroll inside it.
|
|
134
|
+
Centred in the section's flex column, the track takes its cards' width,
|
|
135
|
+
which is right while they fit; but two 380 cards and the gap are 790,
|
|
136
|
+
and the column between 768 and 1024 is 656 to 944, so where they did
|
|
137
|
+
not fit the track never scrolled: it hung past the column on both
|
|
138
|
+
sides and the section's overflow: hidden cut the cards off there. */
|
|
139
|
+
max-width: 100%;
|
|
140
|
+
position: relative;
|
|
141
|
+
padding: var(--spacing-0);
|
|
142
|
+
overflow-x: auto;
|
|
143
|
+
overflow-y: hidden;
|
|
144
|
+
scrollbar-width: none;
|
|
145
|
+
z-index: var(--z-base);
|
|
146
|
+
scroll-snap-type: x mandatory;
|
|
147
|
+
}
|
|
148
|
+
.bd-light-carousel-track {
|
|
149
|
+
display: grid;
|
|
150
|
+
gap: var(--bd-lc-gap);
|
|
151
|
+
grid-template-columns: repeat(var(--bd-lc-columns), 1fr);
|
|
152
|
+
}
|
|
153
|
+
.bd-light-carousel-track::-webkit-scrollbar {
|
|
154
|
+
display: none;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/* The track is a tab stop while it scrolls (light-carousel.ts), with the
|
|
158
|
+
one focus ring -- see Foundations/Focus. It fits: the section clips at
|
|
159
|
+
its padding box, and the track sits inside the column's gutter. */
|
|
160
|
+
.bd-light-carousel-track:focus-visible {
|
|
161
|
+
outline: var(--border-width-2) solid transparent;
|
|
162
|
+
outline-offset: var(--focus-outline-offset);
|
|
163
|
+
box-shadow: var(--focus-outline-primary);
|
|
164
|
+
border-radius: var(--focus-outline-radius);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.bd-light-box {
|
|
168
|
+
flex: var(--spacing-0) var(--spacing-0) auto;
|
|
169
|
+
background: var(--color-surface-container);
|
|
170
|
+
/* 2xl is the card radius: the card box, the card-features card, the trust
|
|
171
|
+
panel card, the bento item and the awards root all use it. This was the
|
|
172
|
+
only one of them at 3xl, and nothing about a carousel item asks for a
|
|
173
|
+
softer corner than the same card sitting in a grid. */
|
|
174
|
+
border-radius: var(--card-radius);
|
|
175
|
+
padding: var(--card-padding);
|
|
176
|
+
flex-direction: column;
|
|
177
|
+
align-items: start;
|
|
178
|
+
justify-content: center;
|
|
179
|
+
text-align: start;
|
|
180
|
+
transition: transform var(--transition-duration-normal) var(--transition-easing-smooth);
|
|
181
|
+
min-height: 135px;
|
|
182
|
+
/* The inset sits inside the declared width, exactly as it already does on
|
|
183
|
+
bd-card and bd-bento-item. Without this the box is content-box: the two
|
|
184
|
+
width rules below mean content width, the 32px inset is added outside
|
|
185
|
+
them, and at 480 the card rendered 311 + 64 = 375px inside a 343px
|
|
186
|
+
section -- 64px past its own parent, clipping its text off the right of
|
|
187
|
+
a 375px phone. cards/card.css.ts carries the same note for the same
|
|
188
|
+
reason. The em paddings that used to be in those media queries were
|
|
189
|
+
compensating for this rather than expressing an inset. */
|
|
190
|
+
box-sizing: border-box;
|
|
191
|
+
position: relative;
|
|
192
|
+
z-index: var(--z-raised);
|
|
193
|
+
scroll-snap-align: start;
|
|
194
|
+
font-family: var(--typography-fontFamily-sans);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/* Two rules stood here, matching a bare h3 and a bare p inside the box.
|
|
198
|
+
Neither can match: the item renders its title through bd-h and its copy
|
|
199
|
+
through bd-p, so both elements live in their own shadow roots, and a
|
|
200
|
+
descendant selector from this stylesheet does not cross that boundary.
|
|
201
|
+
Measured 0 matches for each across 105 .bd-light-box instances. P5E.1
|
|
202
|
+
removed the responsive half of this pair; the base half kept declaring
|
|
203
|
+
spacing that nothing has ever been able to read. */
|
|
204
|
+
|
|
205
|
+
.bd-light-icon {
|
|
206
|
+
position: relative;
|
|
207
|
+
bottom: var(--spacing-6);
|
|
208
|
+
max-width: 100%;
|
|
209
|
+
height: var(--bd-lc-icon-size);
|
|
210
|
+
width: var(--bd-lc-icon-size);
|
|
211
|
+
}
|
|
212
|
+
.bd-light-box-header {
|
|
213
|
+
display: flex;
|
|
214
|
+
flex-direction: var(--bd-lc-header-direction);
|
|
215
|
+
align-items: var(--bd-lc-header-align);
|
|
216
|
+
gap: var(--spacing-8);
|
|
217
|
+
}
|
|
218
|
+
.bd-light-title-badge-wrapper {
|
|
219
|
+
display: flex;
|
|
220
|
+
align-items: center;
|
|
221
|
+
gap: var(--spacing-4);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
${cardUpTo1024Media}
|
|
225
|
+
@container (width <= 1024px) { ${cardUpTo1024} }
|
|
226
|
+
|
|
227
|
+
${cardBelowMdMedia}
|
|
228
|
+
@container ${unsafeCSS(below('md'))} {
|
|
229
|
+
.bd-light-carousel-track {
|
|
230
|
+
display: flex;
|
|
231
|
+
flex-direction: column;
|
|
232
|
+
gap: var(--spacing-20);
|
|
233
|
+
overflow-x: hidden;
|
|
234
|
+
overflow-y: hidden;
|
|
235
|
+
scroll-behavior: smooth;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
${cardBelowMd}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
${cardUpTo480Media}
|
|
242
|
+
@container (width <= 480px) { ${cardUpTo480} }
|
|
243
|
+
|
|
244
|
+
@container (width <= 1024px) {
|
|
245
|
+
.bd-light-carousel-track {
|
|
246
|
+
grid-template-columns: repeat(2, 1fr);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
@container (width <= 600px) {
|
|
251
|
+
.bd-light-carousel-track {
|
|
252
|
+
grid-template-columns: 1fr;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/* A reader who asked for less motion was still getting the item lift. Twenty-three
|
|
257
|
+
of the thirty animated directories in this package honour the query; this
|
|
258
|
+
one did not. */
|
|
259
|
+
@media (prefers-reduced-motion: reduce) {
|
|
260
|
+
.bd-light-box {
|
|
261
|
+
transition: none;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/* The track scrolls smoothly when its arrows or a script move it; a reader
|
|
265
|
+
who asked for less motion gets the jump. */
|
|
266
|
+
.bd-light-carousel-track {
|
|
267
|
+
scroll-behavior: auto;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
`;
|
|
271
|
+
//# sourceMappingURL=light-carousel.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"light-carousel.css.js","sourceRoot":"","sources":["../../../../src/components/light-carousel/light-carousel.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElD;;;;;;cAMc;AAEd;;;;;;;;;;;;;;oEAcoE;AACpE,MAAM,YAAY,GAAG,GAAG,CAAA;;;;CAIvB,CAAC;AAEF,MAAM,WAAW,GAAG,GAAG,CAAA;;;;;;;;;;;CAWtB,CAAC;AAEF,MAAM,WAAW,GAAG,GAAG,CAAA;;;;;;;;CAQtB,CAAC;AAEF,MAAM,iBAAiB,GAAG,GAAG,CAAA,gCAAgC,YAAY,IAAI,CAAC;AAC9E,MAAM,gBAAgB,GAAG,GAAG,CAAA,UAAU,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,MAAM,WAAW,IAAI,CAAC;AAClF,MAAM,gBAAgB,GAAG,GAAG,CAAA,+BAA+B,WAAW,IAAI,CAAC;AAE3E,eAAe,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0Kd,iBAAiB;mCACc,YAAY;;IAE3C,gBAAgB;eACL,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;;;;;;;;;;MAU/B,WAAW;;;IAGb,gBAAgB;kCACc,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4B5C,CAAC","sourcesContent":["import { css, unsafeCSS } from \"lit\";\nimport { below } from \"../shared/token-scales.ts\";\n\n/* A card's own size at three widths, each said once and asked twice: of the\n section, the container every width rule in this sheet reads, and of the\n screen, for a card set on its own with no section around it\n (Foundations/Visual Alignment's card family). The two never disagree: a\n section is never wider than the screen, so wherever the screen says narrow\n the section does too, and in a section on a wide screen the section alone\n decides. */\n\n/* No inset change at 1024. This box used to drop to 1.5em here and 1em at\n 480, and it was an outlier twice over: it started shrinking 256px of\n viewport before any sibling did, and it kept going to 16px where the rest\n stop at 24. It takes the compact inset with the family at md instead --\n see cardBelowMd.\n\n The literals were also ems, so the inset scaled with whatever font-size the\n box inherited while every sibling card's stayed put.\n\n The width line is unrelated and stays. With box-sizing: border-box, the 380\n is the card's whole width rather than its content width, so the card\n measures 380 here instead of the 444 it used to render -- 64px narrower,\n two still to a row, each one exactly filling its grid item. The declared\n width was chosen over the rendered one on purpose: a rule that says 380 and\n paints 444 is the kind of thing this file is being cleaned of. */\nconst cardUpTo1024 = css`\n .bd-light-box {\n width: 380px;\n }\n`;\n\nconst cardBelowMd = css`\n .bd-light-box {\n width: 100%;\n max-width: 400px;\n margin: var(--spacing-0) auto;\n /* The compact inset, at the breakpoint the family takes it. Bento, the\n Comparison Panel and the Trust Panel all step down here; this box used\n to step down at 1024 and again at 480, which is why it read as the odd\n one out when it was really just early and twice. */\n padding: var(--card-padding-compact);\n }\n`;\n\nconst cardUpTo480 = css`\n .bd-light-box {\n width: 100%;\n min-height: 300px;\n }\n .bd-light-icon {\n bottom: var(--spacing-10);\n }\n`;\n\nconst cardUpTo1024Media = css`@media (max-width: 1024px) { ${cardUpTo1024} }`;\nconst cardBelowMdMedia = css`@media ${unsafeCSS(below('md'))} { ${cardBelowMd} }`;\nconst cardUpTo480Media = css`@media (max-width: 480px) { ${cardUpTo480} }`;\n\nexport default css`\n /* One stylesheet for both public variants.\n\n The two implementations were copies of each other: twenty-three rule\n blocks each, the same selectors under the same media conditions, seventeen\n of them byte-identical and every responsive block identical. The simple\n copy differed only in the six values below, and carried them by suffixing\n every class name with -s.\n\n So the variant is a set of values, not a set of rules. It used to be\n selected by tag name, which is why there were two public element pairs at\n all; P6E.1 folded those into one pair and the set is now selected by\n the variant attribute. Everything after that is shared, which is what keeps the 480,\n 600 and 1024 queries in one place instead of two. */\n :host {\n display: block;\n\n --bd-lc-columns: 3;\n --bd-lc-gap: 30px;\n --bd-lc-icon-size: var(--spacing-32);\n --bd-lc-header-direction: row;\n --bd-lc-header-align: center;\n --bd-lc-title-align: start;\n --bd-lc-section-padding-block: var(--spacing-0);\n --bd-lc-carousel-padding-top: var(--spacing-32);\n }\n\n :host([variant=\"simple\"]) {\n --bd-lc-columns: 4;\n --bd-lc-gap: var(--spacing-24);\n --bd-lc-icon-size: var(--spacing-44);\n --bd-lc-header-direction: column;\n --bd-lc-header-align: flex-start;\n --bd-lc-title-align: center;\n --bd-lc-section-padding-block: var(--spacing-32);\n --bd-lc-carousel-padding-top: var(--spacing-0);\n }\n\n :host(bd-light-carousel-section[variant=\"simple\"]) {\n padding-top: var(--bd-lc-section-padding-block);\n padding-bottom: var(--bd-lc-section-padding-block);\n }\n\n /* The section is the container every width rule below reads -- the\n track's columns and each card's size alike, so the two never disagree\n -- where they used to read the screen. A section across the page is as\n wide as the screen, so there nothing moves; one placed in a narrower\n column steps down with it. width: 100% because a size container\n contributes nothing to its own intrinsic width. */\n :host(bd-light-carousel-section) {\n container-type: inline-size;\n width: 100%;\n box-sizing: border-box;\n }\n .bd-header-light-carousel {\n margin-bottom: 50px;\n margin-top: 50px;\n }\n\n .bd-light-carousel {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n /* The section is the page column (bd-ensemble), so its cards land on the\n same content edge as every other module's. It used to be 1400 wide with a\n 14px gutter of its own; the track below carried a second 20px one, which\n put these cards 20px inside the column everything else aligned to. The\n column owns the gutter now, the track none. */\n box-sizing: border-box;\n width: 100%;\n margin: var(--spacing-0) auto;\n overflow: hidden;\n flex-direction: column;\n padding-top: var(--bd-lc-carousel-padding-top);\n }\n .bd-light-carousel-track {\n scroll-behavior: smooth;\n flex: 1;\n /* No wider than the column, so cards that do not fit scroll inside it.\n Centred in the section's flex column, the track takes its cards' width,\n which is right while they fit; but two 380 cards and the gap are 790,\n and the column between 768 and 1024 is 656 to 944, so where they did\n not fit the track never scrolled: it hung past the column on both\n sides and the section's overflow: hidden cut the cards off there. */\n max-width: 100%;\n position: relative;\n padding: var(--spacing-0);\n overflow-x: auto;\n overflow-y: hidden;\n scrollbar-width: none;\n z-index: var(--z-base);\n scroll-snap-type: x mandatory;\n }\n .bd-light-carousel-track {\n display: grid;\n gap: var(--bd-lc-gap);\n grid-template-columns: repeat(var(--bd-lc-columns), 1fr);\n }\n .bd-light-carousel-track::-webkit-scrollbar {\n display: none;\n }\n\n /* The track is a tab stop while it scrolls (light-carousel.ts), with the\n one focus ring -- see Foundations/Focus. It fits: the section clips at\n its padding box, and the track sits inside the column's gutter. */\n .bd-light-carousel-track:focus-visible {\n outline: var(--border-width-2) solid transparent;\n outline-offset: var(--focus-outline-offset);\n box-shadow: var(--focus-outline-primary);\n border-radius: var(--focus-outline-radius);\n }\n\n .bd-light-box {\n flex: var(--spacing-0) var(--spacing-0) auto;\n background: var(--color-surface-container);\n /* 2xl is the card radius: the card box, the card-features card, the trust\n panel card, the bento item and the awards root all use it. This was the\n only one of them at 3xl, and nothing about a carousel item asks for a\n softer corner than the same card sitting in a grid. */\n border-radius: var(--card-radius);\n padding: var(--card-padding);\n flex-direction: column;\n align-items: start;\n justify-content: center;\n text-align: start;\n transition: transform var(--transition-duration-normal) var(--transition-easing-smooth);\n min-height: 135px;\n /* The inset sits inside the declared width, exactly as it already does on\n bd-card and bd-bento-item. Without this the box is content-box: the two\n width rules below mean content width, the 32px inset is added outside\n them, and at 480 the card rendered 311 + 64 = 375px inside a 343px\n section -- 64px past its own parent, clipping its text off the right of\n a 375px phone. cards/card.css.ts carries the same note for the same\n reason. The em paddings that used to be in those media queries were\n compensating for this rather than expressing an inset. */\n box-sizing: border-box;\n position: relative;\n z-index: var(--z-raised);\n scroll-snap-align: start;\n font-family: var(--typography-fontFamily-sans);\n }\n\n /* Two rules stood here, matching a bare h3 and a bare p inside the box.\n Neither can match: the item renders its title through bd-h and its copy\n through bd-p, so both elements live in their own shadow roots, and a\n descendant selector from this stylesheet does not cross that boundary.\n Measured 0 matches for each across 105 .bd-light-box instances. P5E.1\n removed the responsive half of this pair; the base half kept declaring\n spacing that nothing has ever been able to read. */\n\n .bd-light-icon {\n position: relative;\n bottom: var(--spacing-6);\n max-width: 100%;\n height: var(--bd-lc-icon-size);\n width: var(--bd-lc-icon-size);\n }\n .bd-light-box-header {\n display: flex;\n flex-direction: var(--bd-lc-header-direction);\n align-items: var(--bd-lc-header-align);\n gap: var(--spacing-8);\n }\n .bd-light-title-badge-wrapper {\n display: flex;\n align-items: center;\n gap: var(--spacing-4);\n }\n\n ${cardUpTo1024Media}\n @container (width <= 1024px) { ${cardUpTo1024} }\n\n ${cardBelowMdMedia}\n @container ${unsafeCSS(below('md'))} {\n .bd-light-carousel-track {\n display: flex;\n flex-direction: column;\n gap: var(--spacing-20);\n overflow-x: hidden;\n overflow-y: hidden;\n scroll-behavior: smooth;\n }\n\n ${cardBelowMd}\n }\n\n ${cardUpTo480Media}\n @container (width <= 480px) { ${cardUpTo480} }\n\n @container (width <= 1024px) {\n .bd-light-carousel-track {\n grid-template-columns: repeat(2, 1fr);\n }\n }\n\n @container (width <= 600px) {\n .bd-light-carousel-track {\n grid-template-columns: 1fr;\n }\n }\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-light-box {\n transition: none;\n }\n\n /* The track scrolls smoothly when its arrows or a script move it; a reader\n who asked for less motion gets the jump. */\n .bd-light-carousel-track {\n scroll-behavior: auto;\n }\n }\n`;\n"]}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import "../../tokens/tokens.ts";
|
|
3
|
+
import "../badge/badge.ts";
|
|
4
|
+
import "../heading/heading.ts";
|
|
5
|
+
type Variant = "standard" | "simple";
|
|
6
|
+
declare class CustomLightCarousel extends LitElement {
|
|
7
|
+
static styles: import("lit").CSSResult[];
|
|
8
|
+
title: string;
|
|
9
|
+
headingLevel: number;
|
|
10
|
+
/**
|
|
11
|
+
* Which value set the stylesheet uses: "standard" or "simple". Reflected,
|
|
12
|
+
* because light-carousel.css.ts selects the set with an attribute selector.
|
|
13
|
+
*
|
|
14
|
+
* These were two public element pairs until P6E.1 --
|
|
15
|
+
* bd-light-carousel-simple-section and -item. They were never a different
|
|
16
|
+
* component: one stylesheet already served both and differed on eight
|
|
17
|
+
* custom properties. The names are the ones this component's own stories
|
|
18
|
+
* and docs table have always used, Standard and Simple, rather than new
|
|
19
|
+
* ones invented at consolidation time.
|
|
20
|
+
*/
|
|
21
|
+
variant: Variant;
|
|
22
|
+
_scrollable: boolean;
|
|
23
|
+
_track?: HTMLElement;
|
|
24
|
+
_overflow?: ResizeObserver;
|
|
25
|
+
/**
|
|
26
|
+
* The heading element this section renders. Level is the document-outline
|
|
27
|
+
* question and belongs to whoever composes the page; the type scale is this
|
|
28
|
+
* component's own and does not move with it. Defaults to h2, because a
|
|
29
|
+
* reusable section cannot know it is the only thing on the page, and two of
|
|
30
|
+
* these used to put two h1s on one.
|
|
31
|
+
*/
|
|
32
|
+
get _headingTag(): string;
|
|
33
|
+
_renderTitle(className: string): import("lit-html").TemplateResult<1>;
|
|
34
|
+
firstUpdated(): void;
|
|
35
|
+
connectedCallback(): void;
|
|
36
|
+
disconnectedCallback(): void;
|
|
37
|
+
_syncScrollable(): void;
|
|
38
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
39
|
+
}
|
|
40
|
+
declare class LightCarouselItem extends LitElement {
|
|
41
|
+
static styles: import("lit").CSSResult[];
|
|
42
|
+
title: string;
|
|
43
|
+
badge: string;
|
|
44
|
+
icon: string;
|
|
45
|
+
headingLevel: number;
|
|
46
|
+
/** See the note on the section. Reflected for the same reason. */
|
|
47
|
+
variant: Variant;
|
|
48
|
+
/**
|
|
49
|
+
* One level below the section default, so a section and the items inside it
|
|
50
|
+
* read as a hierarchy rather than a jump. The two variants render the same
|
|
51
|
+
* role at different sizes, which is a type decision and stays on
|
|
52
|
+
* visual-level; before this they said h6 and h4, which was a document-outline
|
|
53
|
+
* difference nobody chose.
|
|
54
|
+
*/
|
|
55
|
+
get _headingTag(): string;
|
|
56
|
+
/**
|
|
57
|
+
* The title, at whichever type the variant renders it.
|
|
58
|
+
*
|
|
59
|
+
* Standard draws it at h5, bold, with 10px of vertical padding; simple draws
|
|
60
|
+
* it at h4 with neither. That is a real difference, and it is the reason
|
|
61
|
+
* omitting `badge` could not have reproduced the simple item on its own --
|
|
62
|
+
* the two treatments disagree about the type of the title as well as about
|
|
63
|
+
* the eight layout values in the stylesheet.
|
|
64
|
+
*/
|
|
65
|
+
_renderItemTitle(): import("lit-html").TemplateResult<1>;
|
|
66
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
67
|
+
}
|
|
68
|
+
declare global {
|
|
69
|
+
interface HTMLElementTagNameMap {
|
|
70
|
+
"bd-light-carousel-section": CustomLightCarousel;
|
|
71
|
+
"bd-light-carousel-item": LightCarouselItem;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
export {};
|