@repobit/dex-system-design 3.1.2 → 4.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 +1067 -0
- package/README.md +31 -6
- package/dist/src/assets/fonts/IBMPlexSansCondensed-Bold.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-BoldItalic.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-Italic.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-Medium.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-MediumItalic.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-Regular.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-SemiBold.woff2 +0 -0
- package/dist/src/assets/fonts/IBMPlexSansCondensed-SemiBoldItalic.woff2 +0 -0
- package/dist/src/components/abstract/abstract.css.d.ts +7 -0
- package/dist/src/components/abstract/abstract.css.js +2 -0
- package/dist/src/components/abstract/abstract.css.js.map +1 -0
- package/dist/src/components/abstract/abstract.d.ts +31 -0
- package/dist/src/components/abstract/abstract.js +2 -0
- package/dist/src/components/abstract/abstract.js.map +1 -0
- package/dist/src/components/accordion/accordion-item.d.ts +93 -0
- package/dist/src/components/accordion/accordion-item.js +25 -0
- package/dist/src/components/accordion/accordion-item.js.map +1 -0
- package/dist/src/components/accordion/accordion-keyboard.d.ts +5 -5
- package/dist/src/components/accordion/accordion-keyboard.js +1 -1
- package/dist/src/components/accordion/accordion-keyboard.js.map +1 -1
- package/dist/src/components/accordion/accordion.css.d.ts +2 -2
- package/dist/src/components/accordion/accordion.css.js +1 -1
- package/dist/src/components/accordion/accordion.css.js.map +1 -1
- package/dist/src/components/accordion/accordion.d.ts +66 -31
- package/dist/src/components/accordion/accordion.js +8 -66
- package/dist/src/components/accordion/accordion.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints-pills.css.js +2 -0
- package/dist/src/components/agent-endpoints/agent-endpoints-pills.css.js.map +1 -0
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.css.js.map +1 -1
- package/dist/src/components/agent-endpoints/agent-endpoints.d.ts +38 -21
- package/dist/src/components/agent-endpoints/agent-endpoints.js +22 -41
- package/dist/src/components/agent-endpoints/agent-endpoints.js.map +1 -1
- package/dist/src/components/anchor-nav/anchor-nav-item.css.d.ts +1 -0
- package/dist/src/components/anchor-nav/anchor-nav-item.css.js +2 -0
- package/dist/src/components/anchor-nav/anchor-nav-item.css.js.map +1 -0
- package/dist/src/components/anchor-nav/anchor-nav-item.d.ts +38 -0
- package/dist/src/components/anchor-nav/anchor-nav-item.js +2 -0
- package/dist/src/components/anchor-nav/anchor-nav-item.js.map +1 -0
- package/dist/src/components/anchor-nav/anchor-nav.css.js +2 -0
- package/dist/src/components/anchor-nav/anchor-nav.css.js.map +1 -0
- package/dist/src/components/{anchor → anchor-nav}/anchor-nav.d.ts +41 -23
- package/dist/src/components/anchor-nav/anchor-nav.js +43 -0
- package/dist/src/components/anchor-nav/anchor-nav.js.map +1 -0
- package/dist/src/components/annotation/annotation.css.js +1 -1
- package/dist/src/components/annotation/annotation.css.js.map +1 -1
- package/dist/src/components/annotation/annotation.js +2 -2
- package/dist/src/components/annotation/annotation.js.map +1 -1
- package/dist/src/components/article/article.css.d.ts +30 -0
- package/dist/src/components/article/article.css.js +2 -0
- package/dist/src/components/article/article.css.js.map +1 -0
- package/dist/src/components/article/article.d.ts +135 -0
- package/dist/src/components/article/article.js +39 -0
- package/dist/src/components/article/article.js.map +1 -0
- package/dist/src/components/audience-card/audience-card.css.js +1 -1
- package/dist/src/components/audience-card/audience-card.css.js.map +1 -1
- package/dist/src/components/audience-card/audience-card.d.ts +30 -15
- package/dist/src/components/audience-card/audience-card.js +9 -11
- package/dist/src/components/audience-card/audience-card.js.map +1 -1
- package/dist/src/components/authors/authors.css.d.ts +7 -0
- package/dist/src/components/authors/authors.css.js +2 -0
- package/dist/src/components/authors/authors.css.js.map +1 -0
- package/dist/src/components/authors/authors.d.ts +29 -0
- package/dist/src/components/authors/authors.js +7 -0
- package/dist/src/components/authors/authors.js.map +1 -0
- package/dist/src/components/avatar/avatar.js +6 -6
- package/dist/src/components/avatar/avatar.js.map +1 -1
- package/dist/src/components/awards/award-marks.css.js +2 -0
- package/dist/src/components/awards/award-marks.css.js.map +1 -0
- package/dist/src/components/awards/award.css.js +2 -0
- package/dist/src/components/awards/award.css.js.map +1 -0
- package/dist/src/components/awards/award.d.ts +65 -0
- package/dist/src/components/awards/award.js +11 -0
- package/dist/src/components/awards/award.js.map +1 -0
- package/dist/src/components/awards/awards.css.d.ts +2 -1
- package/dist/src/components/awards/awards.css.js +1 -1
- package/dist/src/components/awards/awards.css.js.map +1 -1
- package/dist/src/components/awards/awards.d.ts +123 -71
- package/dist/src/components/awards/awards.js +46 -57
- package/dist/src/components/awards/awards.js.map +1 -1
- package/dist/src/components/awards/scroll-slides.d.ts +9 -8
- package/dist/src/components/awards/scroll-slides.js.map +1 -1
- package/dist/src/components/back/back.d.ts +12 -7
- package/dist/src/components/back/back.js +6 -6
- package/dist/src/components/back/back.js.map +1 -1
- package/dist/src/components/badge/badge.css.js +1 -1
- package/dist/src/components/badge/badge.css.js.map +1 -1
- package/dist/src/components/badge/badge.d.ts +11 -11
- package/dist/src/components/badge/badge.js +2 -2
- package/dist/src/components/badge/badge.js.map +1 -1
- package/dist/src/components/bar-chart/bar-chart.css.js +2 -0
- package/dist/src/components/bar-chart/bar-chart.css.js.map +1 -0
- package/dist/src/components/bar-chart/bar-chart.d.ts +147 -0
- package/dist/src/components/bar-chart/bar-chart.js +42 -0
- package/dist/src/components/bar-chart/bar-chart.js.map +1 -0
- package/dist/src/components/bento-grid/bento-grid.css.js +2 -2
- package/dist/src/components/bento-grid/bento-grid.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-grid.d.ts +21 -9
- package/dist/src/components/bento-grid/bento-grid.js +10 -26
- package/dist/src/components/bento-grid/bento-grid.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.css.js +1 -1
- package/dist/src/components/bento-grid/bento-item.css.js.map +1 -1
- package/dist/src/components/bento-grid/bento-item.d.ts +34 -13
- package/dist/src/components/bento-grid/bento-item.js +9 -26
- package/dist/src/components/bento-grid/bento-item.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.css.js +1 -1
- package/dist/src/components/blockquote/blockquote.css.js.map +1 -1
- package/dist/src/components/blockquote/blockquote.d.ts +27 -2
- package/dist/src/components/blockquote/blockquote.js +1 -1
- package/dist/src/components/blockquote/blockquote.js.map +1 -1
- package/dist/src/components/breadcrumb/breadcrumb.d.ts +5 -4
- package/dist/src/components/breadcrumb/breadcrumb.js +5 -5
- package/dist/src/components/breadcrumb/breadcrumb.js.map +1 -1
- package/dist/src/components/button/button.css.js +1 -1
- package/dist/src/components/button/button.css.js.map +1 -1
- package/dist/src/components/button/button.d.ts +87 -96
- package/dist/src/components/button/button.js +20 -33
- package/dist/src/components/button/button.js.map +1 -1
- package/dist/src/components/{alert/alert.css.d.ts → callout/callout.css.d.ts} +9 -9
- package/dist/src/components/callout/callout.css.js +2 -0
- package/dist/src/components/callout/callout.css.js.map +1 -0
- package/dist/src/components/callout/callout.d.ts +56 -0
- package/dist/src/components/callout/callout.js +28 -0
- package/dist/src/components/callout/callout.js.map +1 -0
- package/dist/src/components/caption/caption.js +2 -2
- package/dist/src/components/caption/caption.js.map +1 -1
- package/dist/src/components/card/card-grid.css.js +2 -0
- package/dist/src/components/card/card-grid.css.js.map +1 -0
- package/dist/src/components/card/card-grid.d.ts +63 -0
- package/dist/src/components/card/card-grid.js +10 -0
- package/dist/src/components/card/card-grid.js.map +1 -0
- package/dist/src/components/card/card.css.js +2 -0
- package/dist/src/components/card/card.css.js.map +1 -0
- package/dist/src/components/card/card.d.ts +86 -0
- package/dist/src/components/card/card.js +15 -0
- package/dist/src/components/card/card.js.map +1 -0
- package/dist/src/components/carousel/carousel.css.js +1 -1
- package/dist/src/components/carousel/carousel.css.js.map +1 -1
- package/dist/src/components/carousel/carousel.d.ts +64 -37
- package/dist/src/components/carousel/carousel.js +24 -32
- package/dist/src/components/carousel/carousel.js.map +1 -1
- package/dist/src/components/checkbox/checkbox.d.ts +15 -1
- package/dist/src/components/checkbox/checkbox.js +6 -5
- package/dist/src/components/checkbox/checkbox.js.map +1 -1
- package/dist/src/components/code/code.css.d.ts +15 -0
- package/dist/src/components/code/code.css.js +1 -1
- package/dist/src/components/code/code.css.js.map +1 -1
- package/dist/src/components/code/code.d.ts +100 -4
- package/dist/src/components/code/code.js +17 -3
- package/dist/src/components/code/code.js.map +1 -1
- package/dist/src/components/code/prism-page.d.ts +2 -0
- package/dist/src/components/code/prism-page.js +2 -0
- package/dist/src/components/code/prism-page.js.map +1 -0
- package/dist/src/components/code/prism.d.ts +10 -0
- package/dist/src/components/code/prism.js +2 -0
- package/dist/src/components/code/prism.js.map +1 -0
- package/dist/src/components/comparison-panel/comparison-panel.css.js +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.css.js.map +1 -1
- package/dist/src/components/comparison-panel/comparison-panel.d.ts +36 -15
- package/dist/src/components/comparison-panel/comparison-panel.js +25 -46
- package/dist/src/components/comparison-panel/comparison-panel.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.css.d.ts +25 -0
- package/dist/src/components/compatibility-table/compatibility-table.css.js +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.css.js.map +1 -1
- package/dist/src/components/compatibility-table/compatibility-table.d.ts +66 -42
- package/dist/src/components/compatibility-table/compatibility-table.js +5 -64
- package/dist/src/components/compatibility-table/compatibility-table.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.css.js +1 -1
- package/dist/src/components/cta-banner/cta-banner.css.js.map +1 -1
- package/dist/src/components/cta-banner/cta-banner.d.ts +17 -8
- package/dist/src/components/cta-banner/cta-banner.js +8 -28
- package/dist/src/components/cta-banner/cta-banner.js.map +1 -1
- package/dist/src/components/dialog/dialog.css.js +2 -0
- package/dist/src/components/dialog/dialog.css.js.map +1 -0
- package/dist/src/components/dialog/dialog.d.ts +76 -0
- package/dist/src/components/dialog/dialog.js +32 -0
- package/dist/src/components/dialog/dialog.js.map +1 -0
- package/dist/src/components/display/display.css.js +1 -1
- package/dist/src/components/display/display.css.js.map +1 -1
- package/dist/src/components/display/display.d.ts +30 -6
- package/dist/src/components/display/display.js +7 -5
- package/dist/src/components/display/display.js.map +1 -1
- package/dist/src/components/divider/divider.css.d.ts +2 -2
- package/dist/src/components/divider/divider.css.js +1 -1
- package/dist/src/components/divider/divider.css.js.map +1 -1
- package/dist/src/components/divider/divider.d.ts +36 -0
- package/dist/src/components/divider/divider.js +21 -0
- package/dist/src/components/divider/divider.js.map +1 -0
- package/dist/src/components/fact/fact.css.d.ts +1 -0
- package/dist/src/components/fact/fact.css.js +2 -0
- package/dist/src/components/fact/fact.css.js.map +1 -0
- package/dist/src/components/fact/fact.d.ts +37 -0
- package/dist/src/components/fact/fact.js +2 -0
- package/dist/src/components/fact/fact.js.map +1 -0
- package/dist/src/components/feature-columns/feature-columns.css.d.ts +2 -0
- package/dist/src/components/feature-columns/feature-columns.css.js +2 -0
- package/dist/src/components/feature-columns/feature-columns.css.js.map +1 -0
- package/dist/src/components/feature-columns/feature-columns.d.ts +61 -0
- package/dist/src/components/feature-columns/feature-columns.js +11 -0
- package/dist/src/components/feature-columns/feature-columns.js.map +1 -0
- package/dist/src/components/features-tab/features-tab.css.js +1 -1
- package/dist/src/components/features-tab/features-tab.css.js.map +1 -1
- package/dist/src/components/features-tab/features-tab.d.ts +21 -6
- package/dist/src/components/features-tab/features-tab.js +9 -21
- package/dist/src/components/features-tab/features-tab.js.map +1 -1
- package/dist/src/components/fieldset/fieldset.d.ts +16 -1
- package/dist/src/components/fieldset/fieldset.js +3 -3
- package/dist/src/components/fieldset/fieldset.js.map +1 -1
- package/dist/src/components/footer/footer-group.css.js +2 -0
- package/dist/src/components/footer/footer-group.css.js.map +1 -0
- package/dist/src/components/footer/footer-group.d.ts +28 -0
- package/dist/src/components/footer/footer-group.js +5 -0
- package/dist/src/components/footer/footer-group.js.map +1 -0
- package/dist/src/components/footer/footer-locale.js +1 -1
- package/dist/src/components/footer/footer-locale.js.map +1 -1
- package/dist/src/components/footer/footer-nav.css.js +2 -0
- package/dist/src/components/footer/footer-nav.css.js.map +1 -0
- package/dist/src/components/footer/{footer-nav-menu.d.ts → footer-nav.d.ts} +2 -1
- package/dist/src/components/footer/footer-nav.js +6 -0
- package/dist/src/components/footer/footer-nav.js.map +1 -0
- package/dist/src/components/footer/footer.css.js +1 -1
- package/dist/src/components/footer/footer.css.js.map +1 -1
- package/dist/src/components/footer/footer.d.ts +38 -10
- package/dist/src/components/footer/footer.js +71 -93
- package/dist/src/components/footer/footer.js.map +1 -1
- package/dist/src/components/grid/grid.js +7 -7
- package/dist/src/components/h/h.css.js +2 -0
- package/dist/src/components/h/h.css.js.map +1 -0
- package/dist/src/components/{heading/heading.d.ts → h/h.d.ts} +14 -0
- package/dist/src/components/h/h.js +7 -0
- package/dist/src/components/h/h.js.map +1 -0
- package/dist/src/components/hero/hero.css.js +1 -1
- package/dist/src/components/hero/hero.css.js.map +1 -1
- package/dist/src/components/hero/hero.d.ts +42 -24
- package/dist/src/components/hero/hero.js +15 -19
- package/dist/src/components/hero/hero.js.map +1 -1
- package/dist/src/components/highlight/highlight.css.js +1 -1
- package/dist/src/components/highlight/highlight.css.js.map +1 -1
- package/dist/src/components/highlight/highlight.d.ts +21 -12
- package/dist/src/components/highlight/highlight.js +1 -4
- package/dist/src/components/highlight/highlight.js.map +1 -1
- package/dist/src/components/hint/hint.css.d.ts +3 -0
- package/dist/src/components/{help-text/help-text.css.js → hint/hint.css.js} +2 -2
- package/dist/src/components/hint/hint.css.js.map +1 -0
- package/dist/src/components/hint/hint.d.ts +33 -0
- package/dist/src/components/hint/hint.js +4 -0
- package/dist/src/components/hint/hint.js.map +1 -0
- package/dist/src/components/icons/analysis.d.ts +1 -0
- package/dist/src/components/icons/analysis.js +6 -0
- package/dist/src/components/icons/analysis.js.map +1 -0
- package/dist/src/components/icons/arrow-down.d.ts +1 -0
- package/dist/src/components/icons/arrow-down.js +6 -0
- package/dist/src/components/icons/arrow-down.js.map +1 -0
- package/dist/src/components/icons/arrow-right.d.ts +1 -0
- package/dist/src/components/icons/arrow-right.js +6 -0
- package/dist/src/components/icons/arrow-right.js.map +1 -0
- package/dist/src/components/icons/arrow-up.d.ts +1 -0
- package/dist/src/components/icons/arrow-up.js +6 -0
- package/dist/src/components/icons/arrow-up.js.map +1 -0
- package/dist/src/components/icons/arrow.d.ts +1 -0
- package/dist/src/components/icons/arrow.js +6 -0
- package/dist/src/components/icons/arrow.js.map +1 -0
- package/dist/src/components/icons/brand-signature.d.ts +1 -0
- package/dist/src/components/icons/brand-signature.js +6 -0
- package/dist/src/components/icons/brand-signature.js.map +1 -0
- package/dist/src/components/icons/check.d.ts +1 -0
- package/dist/src/components/icons/check.js +6 -0
- package/dist/src/components/icons/check.js.map +1 -0
- package/dist/src/components/icons/circle-info.d.ts +1 -0
- package/dist/src/components/icons/circle-info.js +8 -0
- package/dist/src/components/icons/circle-info.js.map +1 -0
- package/dist/src/components/icons/clipboard.d.ts +1 -0
- package/dist/src/components/icons/clipboard.js +7 -0
- package/dist/src/components/icons/clipboard.js.map +1 -0
- package/dist/src/components/icons/close.d.ts +1 -0
- package/dist/src/components/icons/close.js +6 -0
- package/dist/src/components/icons/close.js.map +1 -0
- package/dist/src/components/icons/enterprise.d.ts +1 -0
- package/dist/src/components/icons/enterprise.js +6 -0
- package/dist/src/components/icons/enterprise.js.map +1 -0
- package/dist/src/components/icons/envelope.d.ts +1 -0
- package/dist/src/components/icons/envelope.js +7 -0
- package/dist/src/components/icons/envelope.js.map +1 -0
- package/dist/src/components/icons/family.d.ts +1 -0
- package/dist/src/components/icons/family.js +8 -0
- package/dist/src/components/icons/family.js.map +1 -0
- package/dist/src/components/icons/globe.d.ts +1 -0
- package/dist/src/components/icons/globe.js +6 -0
- package/dist/src/components/icons/globe.js.map +1 -0
- package/dist/src/components/icons/guide.d.ts +1 -0
- package/dist/src/components/icons/guide.js +6 -0
- package/dist/src/components/icons/guide.js.map +1 -0
- package/dist/src/components/icons/home.d.ts +1 -0
- package/dist/src/components/icons/home.js +6 -0
- package/dist/src/components/icons/home.js.map +1 -0
- package/dist/src/components/icons/icon.d.ts +60 -0
- package/dist/src/components/icons/icon.js +2 -0
- package/dist/src/components/icons/icon.js.map +1 -0
- package/dist/src/components/icons/icons.d.ts +43 -36
- package/dist/src/components/icons/icons.js +1 -1
- package/dist/src/components/icons/individual.d.ts +1 -0
- package/dist/src/components/icons/individual.js +6 -0
- package/dist/src/components/icons/individual.js.map +1 -0
- package/dist/src/components/icons/laurel.d.ts +1 -0
- package/dist/src/components/icons/laurel.js +13 -0
- package/dist/src/components/icons/laurel.js.map +1 -0
- package/dist/src/components/icons/machine-learning.d.ts +1 -0
- package/dist/src/components/icons/machine-learning.js +6 -0
- package/dist/src/components/icons/machine-learning.js.map +1 -0
- package/dist/src/components/icons/mark.d.ts +66 -0
- package/dist/src/components/icons/mark.js +2 -0
- package/dist/src/components/icons/mark.js.map +1 -0
- package/dist/src/components/icons/marks/ai.d.ts +1 -0
- package/dist/src/components/icons/marks/ai.js +6 -0
- package/dist/src/components/icons/marks/ai.js.map +1 -0
- package/dist/src/components/icons/marks/av-comparatives.d.ts +1 -0
- package/dist/src/components/icons/marks/av-comparatives.js +12 -0
- package/dist/src/components/icons/marks/av-comparatives.js.map +1 -0
- package/dist/src/components/icons/marks/best-brands.d.ts +1 -0
- package/dist/src/components/icons/marks/best-brands.js +12 -0
- package/dist/src/components/icons/marks/best-brands.js.map +1 -0
- package/dist/src/components/icons/marks/pc-mag-2024.d.ts +1 -0
- package/dist/src/components/icons/marks/pc-mag-2024.js +11 -0
- package/dist/src/components/icons/marks/pc-mag-2024.js.map +1 -0
- package/dist/src/components/icons/marks/pc-mag-business.d.ts +1 -0
- package/dist/src/components/icons/marks/pc-mag-business.js +11 -0
- package/dist/src/components/icons/marks/pc-mag-business.js.map +1 -0
- package/dist/src/components/icons/marks/pc-mag-readers.d.ts +1 -0
- package/dist/src/components/icons/marks/pc-mag-readers.js +11 -0
- package/dist/src/components/icons/marks/pc-mag-readers.js.map +1 -0
- package/dist/src/components/icons/marks/pc-mag.d.ts +1 -0
- package/dist/src/components/icons/marks/pc-mag.js +11 -0
- package/dist/src/components/icons/marks/pc-mag.js.map +1 -0
- package/dist/src/components/icons/marks/top-product.d.ts +1 -0
- package/dist/src/components/icons/marks/top-product.js +11 -0
- package/dist/src/components/icons/marks/top-product.js.map +1 -0
- package/dist/src/components/icons/marks.d.ts +29 -28
- package/dist/src/components/icons/marks.js +1 -1
- package/dist/src/components/icons/minus.d.ts +1 -0
- package/dist/src/components/icons/minus.js +6 -0
- package/dist/src/components/icons/minus.js.map +1 -0
- package/dist/src/components/icons/pause.d.ts +1 -0
- package/dist/src/components/icons/pause.js +7 -0
- package/dist/src/components/icons/pause.js.map +1 -0
- package/dist/src/components/icons/play.d.ts +1 -0
- package/dist/src/components/icons/play.js +6 -0
- package/dist/src/components/icons/play.js.map +1 -0
- package/dist/src/components/icons/plus.d.ts +1 -0
- package/dist/src/components/icons/plus.js +6 -0
- package/dist/src/components/icons/plus.js.map +1 -0
- package/dist/src/components/icons/quote.d.ts +1 -0
- package/dist/src/components/icons/quote.js +6 -0
- package/dist/src/components/icons/quote.js.map +1 -0
- package/dist/src/components/icons/registry.d.ts +122 -0
- package/dist/src/components/icons/registry.js +4 -0
- package/dist/src/components/icons/registry.js.map +1 -0
- package/dist/src/components/icons/small-business.d.ts +1 -0
- package/dist/src/components/icons/small-business.js +6 -0
- package/dist/src/components/icons/small-business.js.map +1 -0
- package/dist/src/components/{image/image.css.js → img/img.css.js} +1 -1
- package/dist/src/components/img/img.css.js.map +1 -0
- package/dist/src/components/{image/image.d.ts → img/img.d.ts} +2 -2
- package/dist/src/components/img/img.js +17 -0
- package/dist/src/components/img/img.js.map +1 -0
- package/dist/src/components/input/input.css.d.ts +7 -5
- package/dist/src/components/input/input.css.js +1 -1
- package/dist/src/components/input/input.css.js.map +1 -1
- package/dist/src/components/input/input.d.ts +34 -12
- package/dist/src/components/input/input.js +30 -29
- package/dist/src/components/input/input.js.map +1 -1
- package/dist/src/components/install-options/install-option.css.js +2 -0
- package/dist/src/components/install-options/install-option.css.js.map +1 -0
- package/dist/src/components/install-options/install-option.d.ts +57 -0
- package/dist/src/components/install-options/install-option.js +29 -0
- package/dist/src/components/install-options/install-option.js.map +1 -0
- package/dist/src/components/install-options/install-options.css.js +1 -1
- package/dist/src/components/install-options/install-options.css.js.map +1 -1
- package/dist/src/components/install-options/install-options.d.ts +42 -31
- package/dist/src/components/install-options/install-options.js +42 -85
- package/dist/src/components/install-options/install-options.js.map +1 -1
- package/dist/src/components/key-takeaways/key-takeaways.css.d.ts +9 -0
- package/dist/src/components/key-takeaways/key-takeaways.css.js +2 -0
- package/dist/src/components/key-takeaways/key-takeaways.css.js.map +1 -0
- package/dist/src/components/key-takeaways/key-takeaways.d.ts +35 -0
- package/dist/src/components/key-takeaways/key-takeaways.js +10 -0
- package/dist/src/components/key-takeaways/key-takeaways.js.map +1 -0
- package/dist/src/components/label/label.js +3 -3
- package/dist/src/components/label/label.js.map +1 -1
- package/dist/src/components/link/link.css.js +1 -1
- package/dist/src/components/link/link.css.js.map +1 -1
- package/dist/src/components/link/link.d.ts +25 -16
- package/dist/src/components/link/link.js +3 -3
- package/dist/src/components/link/link.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.css.js +1 -1
- package/dist/src/components/list/list-item/list-item.css.js.map +1 -1
- package/dist/src/components/list/list-item/list-item.d.ts +9 -7
- package/dist/src/components/list/list-item/list-item.js +3 -3
- package/dist/src/components/list/list-item/list-item.js.map +1 -1
- package/dist/src/components/list/list.d.ts +3 -2
- package/dist/src/components/list/list.js +2 -2
- package/dist/src/components/list/list.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.css.js +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.css.js.map +1 -1
- package/dist/src/components/logo-marquee/logo-marquee.d.ts +2 -2
- package/dist/src/components/logo-marquee/logo-marquee.js +6 -8
- package/dist/src/components/logo-marquee/logo-marquee.js.map +1 -1
- package/dist/src/components/meta/meta.css.d.ts +8 -0
- package/dist/src/components/meta/meta.css.js +2 -0
- package/dist/src/components/meta/meta.css.js.map +1 -0
- package/dist/src/components/meta/meta.d.ts +37 -0
- package/dist/src/components/meta/meta.js +2 -0
- package/dist/src/components/meta/meta.js.map +1 -0
- package/dist/src/components/motion-art/motion-art.d.ts +39 -2
- package/dist/src/components/motion-art/motion-art.js +1 -1
- package/dist/src/components/motion-art/motion-art.js.map +1 -1
- package/dist/src/components/newsletter-signup/newsletter-signup.css.js +2 -0
- package/dist/src/components/newsletter-signup/newsletter-signup.css.js.map +1 -0
- package/dist/src/components/newsletter-signup/newsletter-signup.d.ts +97 -0
- package/dist/src/components/newsletter-signup/newsletter-signup.js +37 -0
- package/dist/src/components/newsletter-signup/newsletter-signup.js.map +1 -0
- package/dist/src/components/overview/overview.css.js +1 -1
- package/dist/src/components/overview/overview.css.js.map +1 -1
- package/dist/src/components/overview/overview.d.ts +23 -12
- package/dist/src/components/overview/overview.js +9 -24
- package/dist/src/components/overview/overview.js.map +1 -1
- package/dist/src/components/p/p.css.js +2 -0
- package/dist/src/components/p/p.css.js.map +1 -0
- package/dist/src/components/{paragraph/paragraph.d.ts → p/p.d.ts} +3 -5
- package/dist/src/components/p/p.js +6 -0
- package/dist/src/components/p/p.js.map +1 -0
- package/dist/src/components/page-switcher/page-switcher.css.js +1 -1
- package/dist/src/components/page-switcher/page-switcher.css.js.map +1 -1
- package/dist/src/components/page-switcher/page-switcher.d.ts +28 -28
- package/dist/src/components/page-switcher/page-switcher.js +5 -13
- package/dist/src/components/page-switcher/page-switcher.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.css.js +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.css.js.map +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.d.ts +4 -2
- package/dist/src/components/pagination-dots/pagination-dots.js +1 -1
- package/dist/src/components/pagination-dots/pagination-dots.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.css.js +1 -1
- package/dist/src/components/partner-banner/partner-banner.css.js.map +1 -1
- package/dist/src/components/partner-banner/partner-banner.d.ts +44 -21
- package/dist/src/components/partner-banner/partner-banner.js +11 -11
- package/dist/src/components/partner-banner/partner-banner.js.map +1 -1
- package/dist/src/components/paste-button/paste-button.css.d.ts +10 -0
- package/dist/src/components/paste-button/paste-button.css.js +2 -0
- package/dist/src/components/paste-button/paste-button.css.js.map +1 -0
- package/dist/src/components/paste-button/paste-button.d.ts +68 -0
- package/dist/src/components/paste-button/paste-button.js +17 -0
- package/dist/src/components/paste-button/paste-button.js.map +1 -0
- package/dist/src/components/picture/picture.js +3 -3
- package/dist/src/components/picture/picture.js.map +1 -1
- package/dist/src/components/post-card/post-card.css.js +1 -1
- package/dist/src/components/post-card/post-card.css.js.map +1 -1
- package/dist/src/components/post-card/post-card.d.ts +65 -24
- package/dist/src/components/post-card/post-card.js +13 -9
- package/dist/src/components/post-card/post-card.js.map +1 -1
- package/dist/src/components/pricing-card/pricing-card.css.js +2 -0
- package/dist/src/components/pricing-card/pricing-card.css.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-card.d.ts +80 -0
- package/dist/src/components/pricing-card/pricing-card.js +16 -0
- package/dist/src/components/pricing-card/pricing-card.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-feature-group.css.js +2 -0
- package/dist/src/components/pricing-card/pricing-feature-group.css.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-feature-group.d.ts +50 -0
- package/dist/src/components/pricing-card/pricing-feature-group.js +7 -0
- package/dist/src/components/pricing-card/pricing-feature-group.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-feature.css.js +2 -0
- package/dist/src/components/pricing-card/pricing-feature.css.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-feature.d.ts +64 -0
- package/dist/src/components/pricing-card/pricing-feature.js +19 -0
- package/dist/src/components/pricing-card/pricing-feature.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-group.css.d.ts +3 -0
- package/dist/src/components/pricing-card/pricing-group.css.js +2 -0
- package/dist/src/components/pricing-card/pricing-group.css.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-group.d.ts +48 -0
- package/dist/src/components/pricing-card/pricing-group.js +6 -0
- package/dist/src/components/pricing-card/pricing-group.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-price.css.js +2 -0
- package/dist/src/components/pricing-card/pricing-price.css.js.map +1 -0
- package/dist/src/components/pricing-card/pricing-price.d.ts +56 -0
- package/dist/src/components/pricing-card/pricing-price.js +11 -0
- package/dist/src/components/pricing-card/pricing-price.js.map +1 -0
- package/dist/src/components/process-steps/process-step.css.js +2 -0
- package/dist/src/components/process-steps/process-step.css.js.map +1 -0
- package/dist/src/components/process-steps/process-step.d.ts +31 -0
- package/dist/src/components/process-steps/process-step.js +6 -0
- package/dist/src/components/process-steps/process-step.js.map +1 -0
- package/dist/src/components/process-steps/process-steps.css.js +1 -1
- package/dist/src/components/process-steps/process-steps.css.js.map +1 -1
- package/dist/src/components/process-steps/process-steps.d.ts +36 -19
- package/dist/src/components/process-steps/process-steps.js +5 -26
- package/dist/src/components/process-steps/process-steps.js.map +1 -1
- package/dist/src/components/product-hero/product-hero.css.js +2 -0
- package/dist/src/components/product-hero/product-hero.css.js.map +1 -0
- package/dist/src/components/product-hero/product-hero.d.ts +71 -0
- package/dist/src/components/product-hero/product-hero.js +123 -0
- package/dist/src/components/product-hero/product-hero.js.map +1 -0
- package/dist/src/components/product-upsell/product-upsell.css.js +2 -0
- package/dist/src/components/product-upsell/product-upsell.css.js.map +1 -0
- package/dist/src/components/product-upsell/product-upsell.d.ts +49 -0
- package/dist/src/components/product-upsell/product-upsell.js +14 -0
- package/dist/src/components/product-upsell/product-upsell.js.map +1 -0
- package/dist/src/components/progress-bar/progress-bar.css.d.ts +3 -0
- package/dist/src/components/progress-bar/progress-bar.css.js +2 -0
- package/dist/src/components/progress-bar/progress-bar.css.js.map +1 -0
- package/dist/src/components/progress-bar/progress-bar.d.ts +27 -0
- package/dist/src/components/progress-bar/progress-bar.js +15 -0
- package/dist/src/components/progress-bar/progress-bar.js.map +1 -0
- package/dist/src/components/quick-answer/quick-answer.css.js +1 -1
- package/dist/src/components/quick-answer/quick-answer.css.js.map +1 -1
- package/dist/src/components/quick-answer/quick-answer.d.ts +25 -12
- package/dist/src/components/quick-answer/quick-answer.js +13 -29
- package/dist/src/components/quick-answer/quick-answer.js.map +1 -1
- package/dist/src/components/radio/radio-group.css.js +1 -1
- package/dist/src/components/radio/radio-group.css.js.map +1 -1
- package/dist/src/components/radio/radio-group.d.ts +9 -5
- package/dist/src/components/radio/radio-group.js +5 -5
- package/dist/src/components/radio/radio-group.js.map +1 -1
- package/dist/src/components/radio/radio.css.d.ts +2 -1
- package/dist/src/components/radio/radio.css.js.map +1 -1
- package/dist/src/components/radio/radio.d.ts +8 -2
- package/dist/src/components/radio/radio.js +6 -5
- package/dist/src/components/radio/radio.js.map +1 -1
- package/dist/src/components/related-articles/related-articles.css.js +2 -0
- package/dist/src/components/related-articles/related-articles.css.js.map +1 -0
- package/dist/src/components/related-articles/related-articles.d.ts +52 -0
- package/dist/src/components/related-articles/related-articles.js +9 -0
- package/dist/src/components/related-articles/related-articles.js.map +1 -0
- package/dist/src/components/report-promo/report-promo.css.js +2 -0
- package/dist/src/components/report-promo/report-promo.css.js.map +1 -0
- package/dist/src/components/report-promo/report-promo.d.ts +70 -0
- package/dist/src/components/report-promo/report-promo.js +19 -0
- package/dist/src/components/report-promo/report-promo.js.map +1 -0
- package/dist/src/components/review/review-grid.css.js +1 -1
- package/dist/src/components/review/review-grid.css.js.map +1 -1
- package/dist/src/components/review/review-grid.d.ts +27 -6
- package/dist/src/components/review/review-grid.js +7 -7
- package/dist/src/components/review/review-grid.js.map +1 -1
- package/dist/src/components/review/review.css.js +1 -1
- package/dist/src/components/review/review.css.js.map +1 -1
- package/dist/src/components/review/review.d.ts +24 -17
- package/dist/src/components/review/review.js +7 -11
- package/dist/src/components/review/review.js.map +1 -1
- package/dist/src/components/section/section.css.js +1 -1
- package/dist/src/components/section/section.css.js.map +1 -1
- package/dist/src/components/section/section.d.ts +8 -6
- package/dist/src/components/section/section.js +1 -1
- package/dist/src/components/section/section.js.map +1 -1
- package/dist/src/components/section-header/section-header.css.js +1 -1
- package/dist/src/components/section-header/section-header.css.js.map +1 -1
- package/dist/src/components/section-header/section-header.d.ts +22 -23
- package/dist/src/components/section-header/section-header.js +6 -8
- package/dist/src/components/section-header/section-header.js.map +1 -1
- package/dist/src/components/select/select-option.d.ts +29 -0
- package/dist/src/components/select/select-option.js +2 -0
- package/dist/src/components/select/select-option.js.map +1 -0
- package/dist/src/components/{dropdown/dropdown.css.js → select/select.css.js} +1 -1
- package/dist/src/components/select/select.css.js.map +1 -0
- package/dist/src/components/select/select.d.ts +78 -0
- package/dist/src/components/select/select.js +35 -0
- package/dist/src/components/select/select.js.map +1 -0
- package/dist/src/components/shared/adopt-styles.d.ts +53 -0
- package/dist/src/components/shared/adopt-styles.js +2 -0
- package/dist/src/components/shared/adopt-styles.js.map +1 -0
- package/dist/src/components/shared/controller.slot.d.ts +65 -0
- package/dist/src/components/shared/controller.slot.js +2 -0
- package/dist/src/components/shared/controller.slot.js.map +1 -0
- package/dist/src/components/shared/events.d.ts +19 -23
- package/dist/src/components/shared/fill-width.css.js.map +1 -1
- package/dist/src/components/shared/flat-text.d.ts +15 -0
- package/dist/src/components/shared/flat-text.js +2 -0
- package/dist/src/components/shared/flat-text.js.map +1 -0
- package/dist/src/components/shared/form-control.d.ts +27 -3
- package/dist/src/components/shared/form-control.js +11 -1
- package/dist/src/components/shared/form-control.js.map +1 -1
- package/dist/src/components/shared/form-field.css.d.ts +5 -5
- package/dist/src/components/shared/form-field.css.js +1 -1
- package/dist/src/components/shared/form-field.css.js.map +1 -1
- package/dist/src/components/shared/hold.d.ts +14 -0
- package/dist/src/components/shared/hold.js +2 -0
- package/dist/src/components/shared/hold.js.map +1 -0
- package/dist/src/components/shared/prop-vocabulary.d.ts +81 -20
- package/dist/src/components/shared/prop-vocabulary.js +1 -1
- package/dist/src/components/shared/prop-vocabulary.js.map +1 -1
- package/dist/src/components/shared/tablist.d.ts +31 -0
- package/dist/src/components/shared/tablist.js +2 -0
- package/dist/src/components/shared/tablist.js.map +1 -0
- package/dist/src/components/shared/token-scales.d.ts +30 -4
- package/dist/src/components/shared/token-scales.js +1 -1
- package/dist/src/components/shared/token-scales.js.map +1 -1
- package/dist/src/components/spinner/spinner.css.js.map +1 -1
- package/dist/src/components/spinner/spinner.js +2 -2
- package/dist/src/components/spinner/spinner.js.map +1 -1
- package/dist/src/components/spotlight/spotlight.css.js +2 -0
- package/dist/src/components/spotlight/spotlight.css.js.map +1 -0
- package/dist/src/components/spotlight/spotlight.d.ts +31 -0
- package/dist/src/components/spotlight/spotlight.js +18 -0
- package/dist/src/components/spotlight/spotlight.js.map +1 -0
- package/dist/src/components/stat/stat-highlight.d.ts +1 -1
- package/dist/src/components/stat/stat.css.d.ts +1 -1
- package/dist/src/components/stat/stat.css.js +1 -1
- package/dist/src/components/stat/stat.css.js.map +1 -1
- package/dist/src/components/stat/stat.d.ts +41 -1
- package/dist/src/components/stat/stat.js +12 -1
- package/dist/src/components/stat/stat.js.map +1 -0
- package/dist/src/components/switch/switch.css.js +1 -1
- package/dist/src/components/switch/switch.css.js.map +1 -1
- package/dist/src/components/switch/switch.d.ts +10 -2
- package/dist/src/components/switch/switch.js +5 -4
- package/dist/src/components/switch/switch.js.map +1 -1
- package/dist/src/components/tab-group/tab-group.css.js +2 -0
- package/dist/src/components/tab-group/tab-group.css.js.map +1 -0
- package/dist/src/components/tab-group/tab-group.d.ts +172 -0
- package/dist/src/components/tab-group/tab-group.js +16 -0
- package/dist/src/components/tab-group/tab-group.js.map +1 -0
- package/dist/src/components/tab-group/tab-panel.d.ts +30 -0
- package/dist/src/components/tab-group/tab-panel.js +2 -0
- package/dist/src/components/tab-group/tab-panel.js.map +1 -0
- package/dist/src/components/tab-group/tab.css.js +2 -0
- package/dist/src/components/tab-group/tab.css.js.map +1 -0
- package/dist/src/components/tab-group/tab.d.ts +53 -0
- package/dist/src/components/tab-group/tab.js +2 -0
- package/dist/src/components/tab-group/tab.js.map +1 -0
- package/dist/src/components/table-of-contents/reading-line.d.ts +24 -0
- package/dist/src/components/table-of-contents/reading-line.js +2 -0
- package/dist/src/components/table-of-contents/reading-line.js.map +1 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.css.d.ts +7 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.css.js +2 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.css.js.map +1 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.d.ts +40 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.js +2 -0
- package/dist/src/components/table-of-contents/table-of-contents-item.js.map +1 -0
- package/dist/src/components/table-of-contents/table-of-contents.css.d.ts +10 -0
- package/dist/src/components/table-of-contents/table-of-contents.css.js +2 -0
- package/dist/src/components/table-of-contents/table-of-contents.css.js.map +1 -0
- package/dist/src/components/table-of-contents/table-of-contents.d.ts +116 -0
- package/dist/src/components/table-of-contents/table-of-contents.js +24 -0
- package/dist/src/components/table-of-contents/table-of-contents.js.map +1 -0
- package/dist/src/components/tag/tag.css.js +1 -1
- package/dist/src/components/tag/tag.css.js.map +1 -1
- package/dist/src/components/tag/tag.d.ts +31 -4
- package/dist/src/components/tag/tag.js +1 -3
- package/dist/src/components/tag/tag.js.map +1 -1
- package/dist/src/components/terminal/terminal-cursor.d.ts +2 -3
- package/dist/src/components/terminal/terminal-cursor.js +1 -1
- package/dist/src/components/terminal/terminal-cursor.js.map +1 -1
- package/dist/src/components/terminal/terminal-line.css.d.ts +2 -0
- package/dist/src/components/terminal/terminal-line.css.js +2 -0
- package/dist/src/components/terminal/terminal-line.css.js.map +1 -0
- package/dist/src/components/terminal/terminal-line.d.ts +42 -0
- package/dist/src/components/terminal/terminal-line.js +8 -0
- package/dist/src/components/terminal/terminal-line.js.map +1 -0
- package/dist/src/components/terminal/terminal.css.d.ts +2 -0
- package/dist/src/components/terminal/terminal.css.js +2 -0
- package/dist/src/components/terminal/terminal.css.js.map +1 -0
- package/dist/src/components/terminal/terminal.d.ts +52 -0
- package/dist/src/components/terminal/terminal.js +19 -0
- package/dist/src/components/terminal/terminal.js.map +1 -0
- package/dist/src/components/terminal-hero/terminal-hero.css.d.ts +2 -0
- package/dist/src/components/terminal-hero/terminal-hero.css.js +2 -0
- package/dist/src/components/terminal-hero/terminal-hero.css.js.map +1 -0
- package/dist/src/components/terminal-hero/terminal-hero.d.ts +62 -0
- package/dist/src/components/terminal-hero/terminal-hero.js +48 -0
- package/dist/src/components/terminal-hero/terminal-hero.js.map +1 -0
- package/dist/src/components/terms/terms.css.d.ts +2 -0
- package/dist/src/components/terms/terms.css.js +2 -0
- package/dist/src/components/terms/terms.css.js.map +1 -0
- package/dist/src/components/terms/terms.d.ts +42 -0
- package/dist/src/components/terms/terms.js +9 -0
- package/dist/src/components/terms/terms.js.map +1 -0
- package/dist/src/components/textarea/textarea.css.d.ts +2 -2
- package/dist/src/components/textarea/textarea.css.js.map +1 -1
- package/dist/src/components/textarea/textarea.d.ts +15 -6
- package/dist/src/components/textarea/textarea.js +13 -17
- package/dist/src/components/textarea/textarea.js.map +1 -1
- package/dist/src/components/tooltip/tooltip.d.ts +25 -4
- package/dist/src/components/tooltip/tooltip.js +5 -8
- package/dist/src/components/tooltip/tooltip.js.map +1 -1
- package/dist/src/components/trust-panel/trust-card.css.d.ts +2 -0
- package/dist/src/components/trust-panel/trust-card.css.js +2 -0
- package/dist/src/components/trust-panel/trust-card.css.js.map +1 -0
- package/dist/src/components/trust-panel/trust-card.d.ts +31 -0
- package/dist/src/components/trust-panel/trust-card.js +10 -0
- package/dist/src/components/trust-panel/trust-card.js.map +1 -0
- package/dist/src/components/trust-panel/trust-panel.css.js +1 -1
- package/dist/src/components/trust-panel/trust-panel.css.js.map +1 -1
- package/dist/src/components/trust-panel/trust-panel.d.ts +28 -25
- package/dist/src/components/trust-panel/trust-panel.js +10 -57
- package/dist/src/components/trust-panel/trust-panel.js.map +1 -1
- package/dist/src/components/video/video.js +1 -1
- package/dist/src/components/video/video.js.map +1 -1
- package/dist/src/components/video-player/video-player.d.ts +25 -3
- package/dist/src/components/video-player/video-player.js +7 -7
- package/dist/src/components/video-player/video-player.js.map +1 -1
- package/dist/src/loader/create-loader.d.ts +13 -2
- package/dist/src/loader/create-loader.js +1 -1
- package/dist/src/loader/create-loader.js.map +1 -1
- package/dist/src/loader/loader.d.ts +7 -4
- package/dist/src/loader/loader.js.map +1 -1
- package/dist/src/loader/registry.js +1 -1
- package/dist/src/loader/registry.js.map +1 -1
- package/dist/src/tokens/fonts.css +1 -1
- package/dist/src/tokens/layout.css +1 -1
- package/dist/src/tokens/scheme-layer.d.ts +55 -0
- package/dist/src/tokens/scheme-layer.js +5 -0
- package/dist/src/tokens/scheme-layer.js.map +1 -0
- package/dist/src/tokens/themes/dark.d.ts +64 -0
- package/dist/src/tokens/themes/dark.js +2 -0
- package/dist/src/tokens/themes/dark.js.map +1 -0
- package/dist/src/tokens/tokens.css +1 -1
- package/dist/src/tokens/tokens.d.ts +4 -25
- package/dist/src/tokens/tokens.js +1 -1
- package/dist/src/tokens/tokens.js.map +1 -1
- package/dist/src/vendor/prism/LICENSE +21 -0
- package/dist/src/vendor/prism/README.md +65 -0
- package/dist/src/vendor/prism/prism.d.ts +7 -0
- package/dist/src/vendor/prism/prism.js +13 -0
- package/package.json +163 -105
- package/schemas/README.md +55 -1
- package/schemas/component-manifest.json +4546 -3215
- package/schemas/figma-component-map.json +3247 -0
- package/schemas/manifest-omissions.json +1 -26
- package/schemas/page-schema.json +28 -1
- package/dist/src/components/accordion/accordion-bg.css.js +0 -2
- package/dist/src/components/accordion/accordion-bg.css.js.map +0 -1
- package/dist/src/components/accordion/accordion-bg.d.ts +0 -52
- package/dist/src/components/accordion/accordion-bg.js +0 -76
- package/dist/src/components/accordion/accordion-bg.js.map +0 -1
- package/dist/src/components/alert/alert.css.js +0 -2
- package/dist/src/components/alert/alert.css.js.map +0 -1
- package/dist/src/components/alert/alert.d.ts +0 -55
- package/dist/src/components/alert/alert.js +0 -28
- package/dist/src/components/alert/alert.js.map +0 -1
- package/dist/src/components/anchor/anchor-nav.css.js +0 -2
- package/dist/src/components/anchor/anchor-nav.css.js.map +0 -1
- package/dist/src/components/anchor/anchor-nav.js +0 -67
- package/dist/src/components/anchor/anchor-nav.js.map +0 -1
- package/dist/src/components/awards/awards-flex.css.d.ts +0 -1
- package/dist/src/components/awards/awards-flex.css.js +0 -2
- package/dist/src/components/awards/awards-flex.css.js.map +0 -1
- package/dist/src/components/awards/awards-flex.d.ts +0 -65
- package/dist/src/components/awards/awards-flex.js +0 -68
- package/dist/src/components/awards/awards-flex.js.map +0 -1
- package/dist/src/components/awards/awards-spotlight.css.d.ts +0 -1
- package/dist/src/components/awards/awards-spotlight.css.js +0 -2
- package/dist/src/components/awards/awards-spotlight.css.js.map +0 -1
- package/dist/src/components/awards/awards-spotlight.d.ts +0 -60
- package/dist/src/components/awards/awards-spotlight.js +0 -51
- package/dist/src/components/awards/awards-spotlight.js.map +0 -1
- package/dist/src/components/card-features/card-features.css.js +0 -2
- package/dist/src/components/card-features/card-features.css.js.map +0 -1
- package/dist/src/components/card-features/card-features.d.ts +0 -43
- package/dist/src/components/card-features/card-features.js +0 -37
- package/dist/src/components/card-features/card-features.js.map +0 -1
- package/dist/src/components/cards/card.css.js +0 -2
- package/dist/src/components/cards/card.css.js.map +0 -1
- package/dist/src/components/cards/card.d.ts +0 -61
- package/dist/src/components/cards/card.js +0 -54
- package/dist/src/components/cards/card.js.map +0 -1
- package/dist/src/components/compare/compare.css.js +0 -2
- package/dist/src/components/compare/compare.css.js.map +0 -1
- package/dist/src/components/compare/compare.d.ts +0 -79
- package/dist/src/components/compare/compare.js +0 -122
- package/dist/src/components/compare/compare.js.map +0 -1
- package/dist/src/components/divider/divider-horizontal.d.ts +0 -15
- package/dist/src/components/divider/divider-horizontal.js +0 -11
- package/dist/src/components/divider/divider-horizontal.js.map +0 -1
- package/dist/src/components/divider/divider-vertical.d.ts +0 -16
- package/dist/src/components/divider/divider-vertical.js +0 -12
- package/dist/src/components/divider/divider-vertical.js.map +0 -1
- package/dist/src/components/dropdown/dropdown.css.js.map +0 -1
- package/dist/src/components/dropdown/dropdown.d.ts +0 -49
- package/dist/src/components/dropdown/dropdown.js +0 -36
- package/dist/src/components/dropdown/dropdown.js.map +0 -1
- package/dist/src/components/features/features.css.js +0 -2
- package/dist/src/components/features/features.css.js.map +0 -1
- package/dist/src/components/features/features.d.ts +0 -21
- package/dist/src/components/features/features.js +0 -28
- package/dist/src/components/features/features.js.map +0 -1
- package/dist/src/components/footer/footer-images.d.ts +0 -3
- package/dist/src/components/footer/footer-images.js +0 -9
- package/dist/src/components/footer/footer-images.js.map +0 -1
- package/dist/src/components/footer/footer-links-group.css.js +0 -2
- package/dist/src/components/footer/footer-links-group.css.js.map +0 -1
- package/dist/src/components/footer/footer-links-group.d.ts +0 -13
- package/dist/src/components/footer/footer-links-group.js +0 -5
- package/dist/src/components/footer/footer-links-group.js.map +0 -1
- package/dist/src/components/footer/footer-lp.d.ts +0 -26
- package/dist/src/components/footer/footer-lp.js +0 -45
- package/dist/src/components/footer/footer-lp.js.map +0 -1
- package/dist/src/components/footer/footer-nav-menu.css.js +0 -2
- package/dist/src/components/footer/footer-nav-menu.css.js.map +0 -1
- package/dist/src/components/footer/footer-nav-menu.js +0 -6
- package/dist/src/components/footer/footer-nav-menu.js.map +0 -1
- package/dist/src/components/header/header-code.css.js +0 -2
- package/dist/src/components/header/header-code.css.js.map +0 -1
- package/dist/src/components/header/header-code.d.ts +0 -50
- package/dist/src/components/header/header-code.js +0 -80
- package/dist/src/components/header/header-code.js.map +0 -1
- package/dist/src/components/header/header.css.js +0 -2
- package/dist/src/components/header/header.css.js.map +0 -1
- package/dist/src/components/header/header.d.ts +0 -32
- package/dist/src/components/header/header.js +0 -165
- package/dist/src/components/header/header.js.map +0 -1
- package/dist/src/components/heading/heading.css.js +0 -2
- package/dist/src/components/heading/heading.css.js.map +0 -1
- package/dist/src/components/heading/heading.js +0 -6
- package/dist/src/components/heading/heading.js.map +0 -1
- package/dist/src/components/help-text/help-text.css.d.ts +0 -3
- package/dist/src/components/help-text/help-text.css.js.map +0 -1
- package/dist/src/components/help-text/help-text.d.ts +0 -14
- package/dist/src/components/help-text/help-text.js +0 -4
- package/dist/src/components/help-text/help-text.js.map +0 -1
- package/dist/src/components/icons/analysis-icon.d.ts +0 -11
- package/dist/src/components/icons/analysis-icon.js +0 -6
- package/dist/src/components/icons/analysis-icon.js.map +0 -1
- package/dist/src/components/icons/arrow-down-icon.d.ts +0 -11
- package/dist/src/components/icons/arrow-down-icon.js +0 -6
- package/dist/src/components/icons/arrow-down-icon.js.map +0 -1
- package/dist/src/components/icons/arrow-icon.d.ts +0 -37
- package/dist/src/components/icons/arrow-icon.js +0 -6
- package/dist/src/components/icons/arrow-icon.js.map +0 -1
- package/dist/src/components/icons/arrow-right-icon.d.ts +0 -34
- package/dist/src/components/icons/arrow-right-icon.js +0 -6
- package/dist/src/components/icons/arrow-right-icon.js.map +0 -1
- package/dist/src/components/icons/arrow-up-icon.d.ts +0 -24
- package/dist/src/components/icons/arrow-up-icon.js +0 -6
- package/dist/src/components/icons/arrow-up-icon.js.map +0 -1
- package/dist/src/components/icons/av-comparatives-icon.d.ts +0 -13
- package/dist/src/components/icons/av-comparatives-icon.js +0 -13
- package/dist/src/components/icons/av-comparatives-icon.js.map +0 -1
- package/dist/src/components/icons/bd-ai-icon.d.ts +0 -13
- package/dist/src/components/icons/bd-ai-icon.js +0 -6
- package/dist/src/components/icons/bd-ai-icon.js.map +0 -1
- package/dist/src/components/icons/best-brands-icon.d.ts +0 -13
- package/dist/src/components/icons/best-brands-icon.js +0 -15
- package/dist/src/components/icons/best-brands-icon.js.map +0 -1
- package/dist/src/components/icons/brand-signature-icon.d.ts +0 -37
- package/dist/src/components/icons/brand-signature-icon.js +0 -6
- package/dist/src/components/icons/brand-signature-icon.js.map +0 -1
- package/dist/src/components/icons/check-icon.d.ts +0 -22
- package/dist/src/components/icons/check-icon.js +0 -6
- package/dist/src/components/icons/check-icon.js.map +0 -1
- package/dist/src/components/icons/circle-info-icon.d.ts +0 -26
- package/dist/src/components/icons/circle-info-icon.js +0 -8
- package/dist/src/components/icons/circle-info-icon.js.map +0 -1
- package/dist/src/components/icons/close-icon.d.ts +0 -11
- package/dist/src/components/icons/close-icon.js +0 -6
- package/dist/src/components/icons/close-icon.js.map +0 -1
- package/dist/src/components/icons/enterprise-icon.d.ts +0 -11
- package/dist/src/components/icons/enterprise-icon.js +0 -6
- package/dist/src/components/icons/enterprise-icon.js.map +0 -1
- package/dist/src/components/icons/family-icon.d.ts +0 -11
- package/dist/src/components/icons/family-icon.js +0 -8
- package/dist/src/components/icons/family-icon.js.map +0 -1
- package/dist/src/components/icons/globe-icon.d.ts +0 -11
- package/dist/src/components/icons/globe-icon.js +0 -6
- package/dist/src/components/icons/globe-icon.js.map +0 -1
- package/dist/src/components/icons/guide-icon.d.ts +0 -11
- package/dist/src/components/icons/guide-icon.js +0 -6
- package/dist/src/components/icons/guide-icon.js.map +0 -1
- package/dist/src/components/icons/home-icon.d.ts +0 -11
- package/dist/src/components/icons/home-icon.js +0 -6
- package/dist/src/components/icons/home-icon.js.map +0 -1
- package/dist/src/components/icons/icon-element.d.ts +0 -58
- package/dist/src/components/icons/icon-element.js +0 -2
- package/dist/src/components/icons/icon-element.js.map +0 -1
- package/dist/src/components/icons/individual-icon.d.ts +0 -11
- package/dist/src/components/icons/individual-icon.js +0 -6
- package/dist/src/components/icons/individual-icon.js.map +0 -1
- package/dist/src/components/icons/laurel-icon.d.ts +0 -11
- package/dist/src/components/icons/laurel-icon.js +0 -14
- package/dist/src/components/icons/laurel-icon.js.map +0 -1
- package/dist/src/components/icons/machine-learning-icon.d.ts +0 -11
- package/dist/src/components/icons/machine-learning-icon.js +0 -6
- package/dist/src/components/icons/machine-learning-icon.js.map +0 -1
- package/dist/src/components/icons/minus-icon.d.ts +0 -11
- package/dist/src/components/icons/minus-icon.js +0 -7
- package/dist/src/components/icons/minus-icon.js.map +0 -1
- package/dist/src/components/icons/missing-icon.d.ts +0 -41
- package/dist/src/components/icons/missing-icon.js +0 -8
- package/dist/src/components/icons/missing-icon.js.map +0 -1
- package/dist/src/components/icons/pause-icon.d.ts +0 -11
- package/dist/src/components/icons/pause-icon.js +0 -7
- package/dist/src/components/icons/pause-icon.js.map +0 -1
- package/dist/src/components/icons/pc-mag-2024-icon.d.ts +0 -13
- package/dist/src/components/icons/pc-mag-2024-icon.js +0 -14
- package/dist/src/components/icons/pc-mag-2024-icon.js.map +0 -1
- package/dist/src/components/icons/pc-mag-business-icon.d.ts +0 -13
- package/dist/src/components/icons/pc-mag-business-icon.js +0 -14
- package/dist/src/components/icons/pc-mag-business-icon.js.map +0 -1
- package/dist/src/components/icons/pc-mag-icon.d.ts +0 -13
- package/dist/src/components/icons/pc-mag-icon.js +0 -14
- package/dist/src/components/icons/pc-mag-icon.js.map +0 -1
- package/dist/src/components/icons/pc-mag-readers-icon.d.ts +0 -13
- package/dist/src/components/icons/pc-mag-readers-icon.js +0 -14
- package/dist/src/components/icons/pc-mag-readers-icon.js.map +0 -1
- package/dist/src/components/icons/play-icon.d.ts +0 -11
- package/dist/src/components/icons/play-icon.js +0 -6
- package/dist/src/components/icons/play-icon.js.map +0 -1
- package/dist/src/components/icons/plus-icon.d.ts +0 -11
- package/dist/src/components/icons/plus-icon.js +0 -6
- package/dist/src/components/icons/plus-icon.js.map +0 -1
- package/dist/src/components/icons/quote-icon.d.ts +0 -20
- package/dist/src/components/icons/quote-icon.js +0 -6
- package/dist/src/components/icons/quote-icon.js.map +0 -1
- package/dist/src/components/icons/small-business-icon.d.ts +0 -11
- package/dist/src/components/icons/small-business-icon.js +0 -6
- package/dist/src/components/icons/small-business-icon.js.map +0 -1
- package/dist/src/components/icons/top-product-icon.d.ts +0 -13
- package/dist/src/components/icons/top-product-icon.js +0 -14
- package/dist/src/components/icons/top-product-icon.js.map +0 -1
- package/dist/src/components/image/image.css.js.map +0 -1
- package/dist/src/components/image/image.js +0 -17
- package/dist/src/components/image/image.js.map +0 -1
- package/dist/src/components/input/input-clipboard.css.d.ts +0 -9
- package/dist/src/components/input/input-clipboard.css.js +0 -2
- package/dist/src/components/input/input-clipboard.css.js.map +0 -1
- package/dist/src/components/input/input-clipboard.d.ts +0 -52
- package/dist/src/components/input/input-clipboard.js +0 -62
- package/dist/src/components/input/input-clipboard.js.map +0 -1
- package/dist/src/components/light-carousel/light-carousel.css.js +0 -2
- package/dist/src/components/light-carousel/light-carousel.css.js.map +0 -1
- package/dist/src/components/light-carousel/light-carousel.d.ts +0 -74
- package/dist/src/components/light-carousel/light-carousel.js +0 -34
- package/dist/src/components/light-carousel/light-carousel.js.map +0 -1
- package/dist/src/components/modal/modal.css.js +0 -2
- package/dist/src/components/modal/modal.css.js.map +0 -1
- package/dist/src/components/modal/modal.d.ts +0 -52
- package/dist/src/components/modal/modal.js +0 -17
- package/dist/src/components/modal/modal.js.map +0 -1
- package/dist/src/components/paragraph/paragraph.css.js +0 -2
- package/dist/src/components/paragraph/paragraph.css.js.map +0 -1
- package/dist/src/components/paragraph/paragraph.js +0 -6
- package/dist/src/components/paragraph/paragraph.js.map +0 -1
- package/dist/src/components/pricing-cards/adopt-styles.d.ts +0 -10
- package/dist/src/components/pricing-cards/adopt-styles.js +0 -2
- package/dist/src/components/pricing-cards/adopt-styles.js.map +0 -1
- package/dist/src/components/pricing-cards/new-pricing-card.d.ts +0 -18
- package/dist/src/components/pricing-cards/new-pricing-card.js +0 -12
- package/dist/src/components/pricing-cards/new-pricing-card.js.map +0 -1
- package/dist/src/components/pricing-cards/new-pricing.css.js +0 -2
- package/dist/src/components/pricing-cards/new-pricing.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card-actions.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-actions.d.ts +0 -19
- package/dist/src/components/pricing-cards/pricing-card-actions.js +0 -25
- package/dist/src/components/pricing-cards/pricing-card-actions.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-container.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card-container.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-container.d.ts +0 -14
- package/dist/src/components/pricing-cards/pricing-card-container.js +0 -6
- package/dist/src/components/pricing-cards/pricing-card-container.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-header.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card-header.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-header.d.ts +0 -22
- package/dist/src/components/pricing-cards/pricing-card-header.js +0 -18
- package/dist/src/components/pricing-cards/pricing-card-header.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card-pricing.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-pricing.d.ts +0 -39
- package/dist/src/components/pricing-cards/pricing-card-pricing.js +0 -49
- package/dist/src/components/pricing-cards/pricing-card-pricing.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card-show-more.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card-show-more.d.ts +0 -16
- package/dist/src/components/pricing-cards/pricing-card-show-more.js +0 -12
- package/dist/src/components/pricing-cards/pricing-card-show-more.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-card.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-card.d.ts +0 -155
- package/dist/src/components/pricing-cards/pricing-card.js +0 -258
- package/dist/src/components/pricing-cards/pricing-card.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js +0 -2
- package/dist/src/components/pricing-cards/pricing-feature-item.css.js.map +0 -1
- package/dist/src/components/pricing-cards/pricing-feature-item.d.ts +0 -13
- package/dist/src/components/pricing-cards/pricing-feature-item.js +0 -5
- package/dist/src/components/pricing-cards/pricing-feature-item.js.map +0 -1
- package/dist/src/components/progress/progress.css.d.ts +0 -3
- package/dist/src/components/progress/progress.css.js +0 -2
- package/dist/src/components/progress/progress.css.js.map +0 -1
- package/dist/src/components/progress/progress.d.ts +0 -19
- package/dist/src/components/progress/progress.js +0 -11
- package/dist/src/components/progress/progress.js.map +0 -1
- package/dist/src/components/radio/toggle-radio.d.ts +0 -28
- package/dist/src/components/radio/toggle-radio.js +0 -15
- package/dist/src/components/radio/toggle-radio.js.map +0 -1
- package/dist/src/components/spotlight-section/spotlight-section.css.js +0 -2
- package/dist/src/components/spotlight-section/spotlight-section.css.js.map +0 -1
- package/dist/src/components/spotlight-section/spotlight-section.d.ts +0 -22
- package/dist/src/components/spotlight-section/spotlight-section.js +0 -46
- package/dist/src/components/spotlight-section/spotlight-section.js.map +0 -1
- package/dist/src/components/stat/stat-tile.d.ts +0 -24
- package/dist/src/components/stat/stat-tile.js +0 -7
- package/dist/src/components/stat/stat-tile.js.map +0 -1
- package/dist/src/components/tab-list/tab-list.css.d.ts +0 -16
- package/dist/src/components/tab-list/tab-list.css.js +0 -2
- package/dist/src/components/tab-list/tab-list.css.js.map +0 -1
- package/dist/src/components/tab-list/tab-list.d.ts +0 -99
- package/dist/src/components/tab-list/tab-list.js +0 -25
- package/dist/src/components/tab-list/tab-list.js.map +0 -1
- package/dist/src/components/tabs/tabs.css.js +0 -2
- package/dist/src/components/tabs/tabs.css.js.map +0 -1
- package/dist/src/components/tabs/tabs.d.ts +0 -69
- package/dist/src/components/tabs/tabs.js +0 -29
- package/dist/src/components/tabs/tabs.js.map +0 -1
- package/dist/src/components/terminal/terminal-message.css.js +0 -2
- package/dist/src/components/terminal/terminal-message.css.js.map +0 -1
- package/dist/src/components/terminal/terminal-message.d.ts +0 -44
- package/dist/src/components/terminal/terminal-message.js +0 -68
- package/dist/src/components/terminal/terminal-message.js.map +0 -1
- package/dist/src/components/termsOfUse/terms.css.js +0 -2
- package/dist/src/components/termsOfUse/terms.css.js.map +0 -1
- package/dist/src/components/termsOfUse/terms.d.ts +0 -22
- package/dist/src/components/termsOfUse/terms.js +0 -78
- package/dist/src/components/termsOfUse/terms.js.map +0 -1
- /package/dist/src/components/{accordion/accordion-bg.css.d.ts → agent-endpoints/agent-endpoints-pills.css.d.ts} +0 -0
- /package/dist/src/components/{anchor → anchor-nav}/anchor-nav.css.d.ts +0 -0
- /package/dist/src/components/{card-features/card-features.css.d.ts → awards/award-marks.css.d.ts} +0 -0
- /package/dist/src/components/{cards/card.css.d.ts → awards/award.css.d.ts} +0 -0
- /package/dist/src/components/{compare/compare.css.d.ts → bar-chart/bar-chart.css.d.ts} +0 -0
- /package/dist/src/components/{features/features.css.d.ts → card/card-grid.css.d.ts} +0 -0
- /package/dist/src/components/{footer/footer-links-group.css.d.ts → card/card.css.d.ts} +0 -0
- /package/dist/src/components/{footer/footer-nav-menu.css.d.ts → dialog/dialog.css.d.ts} +0 -0
- /package/dist/src/components/{header/header-code.css.d.ts → footer/footer-group.css.d.ts} +0 -0
- /package/dist/src/components/{header/header.css.d.ts → footer/footer-nav.css.d.ts} +0 -0
- /package/dist/src/components/{heading/heading.css.d.ts → h/h.css.d.ts} +0 -0
- /package/dist/src/components/{image/image.css.d.ts → img/img.css.d.ts} +0 -0
- /package/dist/src/components/{light-carousel/light-carousel.css.d.ts → install-options/install-option.css.d.ts} +0 -0
- /package/dist/src/components/{modal/modal.css.d.ts → newsletter-signup/newsletter-signup.css.d.ts} +0 -0
- /package/dist/src/components/{paragraph/paragraph.css.d.ts → p/p.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards → pricing-card}/pricing-card.css.d.ts +0 -0
- /package/dist/src/components/{pricing-cards/new-pricing.css.d.ts → pricing-card/pricing-feature-group.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-card-actions.css.d.ts → pricing-card/pricing-feature.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-card-container.css.d.ts → pricing-card/pricing-price.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-card-header.css.d.ts → process-steps/process-step.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-card-pricing.css.d.ts → product-hero/product-hero.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-card-show-more.css.d.ts → product-upsell/product-upsell.css.d.ts} +0 -0
- /package/dist/src/components/{pricing-cards/pricing-feature-item.css.d.ts → related-articles/related-articles.css.d.ts} +0 -0
- /package/dist/src/components/{spotlight-section/spotlight-section.css.d.ts → report-promo/report-promo.css.d.ts} +0 -0
- /package/dist/src/components/{dropdown/dropdown.css.d.ts → select/select.css.d.ts} +0 -0
- /package/dist/src/components/{tabs/tabs.css.d.ts → spotlight/spotlight.css.d.ts} +0 -0
- /package/dist/src/components/{terminal/terminal-message.css.d.ts → tab-group/tab-group.css.d.ts} +0 -0
- /package/dist/src/components/{termsOfUse/terms.css.d.ts → tab-group/tab.css.d.ts} +0 -0
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Barrel for the brand and award marks.
|
|
2
|
+
* Barrel for the brand and award marks: bd-mark and every drawing it can show.
|
|
3
|
+
*
|
|
4
|
+
* import "@repobit/dex-system-design/marks";
|
|
5
|
+
* <bd-mark name="pc-mag" height="56"></bd-mark>
|
|
3
6
|
*
|
|
4
7
|
* Separate from ./icons.ts because these are a different kind of thing and,
|
|
5
|
-
* more practically, a different order of weight. They take width and
|
|
6
|
-
*
|
|
7
|
-
* misrepresent it
|
|
8
|
-
* embedded in the
|
|
9
|
-
* 360KB for the set.
|
|
8
|
+
* more practically, a different order of weight. They take a pixel width and
|
|
9
|
+
* height rather than a step, and no colour, because recolouring a third
|
|
10
|
+
* party's mark would misrepresent it -- and seven of the eight are raster: the
|
|
11
|
+
* artwork is a PNG embedded in the svg through a pattern fill, between 23KB
|
|
12
|
+
* and 106KB each, 360KB for the set.
|
|
10
13
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* arrow was carrying all seven award badges.
|
|
14
|
+
* Each mark is its own module (marks/<name>.ts), which registers it and
|
|
15
|
+
* defines bd-mark, so a component imports the marks it renders rather than
|
|
16
|
+
* this barrel.
|
|
15
17
|
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* marks. It is listed here because it is a brand mark; it behaves like an icon.
|
|
18
|
+
* The seven third-party marks sit on a plate, --color-surface-mark, a light
|
|
19
|
+
* ground in every theme, so they read on a dark page as on a white one
|
|
20
|
+
* (icons/mark.ts). One of the eight is ours: ai, the Bitdefender AI
|
|
21
|
+
* wordmark, 3KB of vector in one ink, drawn in currentColor so it follows the
|
|
22
|
+
* theme and takes no plate. The signature the hero lays over its image is
|
|
23
|
+
* ours too, and is NOT a mark: a single path drawn in currentColor and sized
|
|
24
|
+
* from the icon scale is an icon, so it is <bd-icon name="brand-signature">,
|
|
25
|
+
* in ./icons.ts.
|
|
25
26
|
*
|
|
26
27
|
* Being raster has consequences worth knowing before reaching for one: these
|
|
27
28
|
* cannot be tinted, and they do not scale cleanly past the size their PNG was
|
|
@@ -29,12 +30,12 @@
|
|
|
29
30
|
* they are third-party marks and redrawing is not a cleanup anyone should do
|
|
30
31
|
* unilaterally.
|
|
31
32
|
*/
|
|
32
|
-
import "./
|
|
33
|
-
import "./
|
|
34
|
-
import "./av-comparatives
|
|
35
|
-
import "./best-brands
|
|
36
|
-
import "./pc-mag
|
|
37
|
-
import "./pc-mag-
|
|
38
|
-
import "./pc-mag-
|
|
39
|
-
import "./pc-mag-readers
|
|
40
|
-
import "./top-product
|
|
33
|
+
import "./mark.js";
|
|
34
|
+
import "./marks/ai.js";
|
|
35
|
+
import "./marks/av-comparatives.js";
|
|
36
|
+
import "./marks/best-brands.js";
|
|
37
|
+
import "./marks/pc-mag.js";
|
|
38
|
+
import "./marks/pc-mag-2024.js";
|
|
39
|
+
import "./marks/pc-mag-business.js";
|
|
40
|
+
import "./marks/pc-mag-readers.js";
|
|
41
|
+
import "./marks/top-product.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./av-comparatives
|
|
1
|
+
import"./mark.js";import"./marks/av-comparatives.js";import"./marks/best-brands.js";import"./marks/pc-mag-2024.js";import"./marks/pc-mag-business.js";import"./marks/pc-mag-readers.js";import"./marks/pc-mag.js";import"./marks/top-product.js";import"./marks/ai.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./icon.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{registerIcon as e}from"./registry.js";import"./icon.js";e(`minus`,`
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.25 7H13.75V9H2.25V7Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
|
5
|
+
`,{size:`sm`});
|
|
6
|
+
//# sourceMappingURL=minus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"minus.js","names":["registerIcon"],"sources":["../../../../src/components/icons/minus.ts"],"sourcesContent":["// icons/minus.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\nregisterIcon(\"minus\", `\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" fill=\"none\">\n <path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M2.25 7H13.75V9H2.25V7Z\" fill=\"currentColor\"/>\n </svg>\n`, { size: 'sm' });\n"],"mappings":"A,+DAIAA,EAAa,QAAS;;;;EAInB,CAAE,KAAM,IAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./icon.js";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{registerIcon as e}from"./registry.js";import"./icon.js";e(`pause`,`
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none">
|
|
3
|
+
<rect x="4" y="3" width="3" height="10" rx="1" fill="currentColor"/>
|
|
4
|
+
<rect x="9" y="3" width="3" height="10" rx="1" fill="currentColor"/>
|
|
5
|
+
</svg>
|
|
6
|
+
`,{size:`sm`});
|
|
7
|
+
//# sourceMappingURL=pause.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pause.js","names":["registerIcon"],"sources":["../../../../src/components/icons/pause.ts"],"sourcesContent":["// icons/pause.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\n/* Two bars: the control that stops something that moves on its own -- a\n marquee, a looping video. Drawn on a 16 grid, so it sits at sm. */\nregisterIcon(\"pause\", `\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" fill=\"none\">\n <rect x=\"4\" y=\"3\" width=\"3\" height=\"10\" rx=\"1\" fill=\"currentColor\"/>\n <rect x=\"9\" y=\"3\" width=\"3\" height=\"10\" rx=\"1\" fill=\"currentColor\"/>\n </svg>\n`, { size: 'sm' });\n"],"mappings":"A,+DAMAA,EAAa,QAAS;;;;;EAKnB,CAAE,KAAM,IAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./icon.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{registerIcon as e}from"./registry.js";import"./icon.js";e(`play`,`
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none">
|
|
3
|
+
<path d="M5 3.2v9.6a.75.75 0 0 0 1.14.64l7.6-4.8a.75.75 0 0 0 0-1.28l-7.6-4.8A.75.75 0 0 0 5 3.2Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
|
5
|
+
`,{size:`sm`});
|
|
6
|
+
//# sourceMappingURL=play.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"play.js","names":["registerIcon"],"sources":["../../../../src/components/icons/play.ts"],"sourcesContent":["// icons/play.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\n/* A right-pointing triangle: the control that sets a paused marquee or video\n moving again. Drawn on a 16 grid, so it sits at sm. */\nregisterIcon(\"play\", `\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" fill=\"none\">\n <path d=\"M5 3.2v9.6a.75.75 0 0 0 1.14.64l7.6-4.8a.75.75 0 0 0 0-1.28l-7.6-4.8A.75.75 0 0 0 5 3.2Z\" fill=\"currentColor\"/>\n </svg>\n`, { size: 'sm' });\n"],"mappings":"A,+DAMAA,EAAa,OAAQ;;;;EAIlB,CAAE,KAAM,IAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./icon.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{registerIcon as e}from"./registry.js";import"./icon.js";e(`plus`,`
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none">
|
|
3
|
+
<path d="M9 1H7V7H1V9H7V15H9V9H15V7H9V1Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
|
5
|
+
`,{size:`sm`});
|
|
6
|
+
//# sourceMappingURL=plus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plus.js","names":["registerIcon"],"sources":["../../../../src/components/icons/plus.ts"],"sourcesContent":["// icons/plus.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\nregisterIcon(\"plus\", `\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\" fill=\"none\">\n <path d=\"M9 1H7V7H1V9H7V15H9V9H15V7H9V1Z\" fill=\"currentColor\"/>\n </svg>\n`, { size: 'sm' });\n"],"mappings":"A,+DAIAA,EAAa,OAAQ;;;;EAIlB,CAAE,KAAM,IAAK,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./icon.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{registerIcon as e}from"./registry.js";import"./icon.js";e(`quote`,`
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
|
|
3
|
+
<path d="M3 19.5V13c0-4.4 2.2-7.6 6.5-9.2l.9 1.9C7.9 6.9 6.8 8.7 6.6 11H10v8.5H3Zm11 0V13c0-4.4 2.2-7.6 6.5-9.2l.9 1.9c-2.5 1.2-3.6 3-3.8 5.3H21v8.5h-7Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
|
5
|
+
`,{size:`xl`});
|
|
6
|
+
//# sourceMappingURL=quote.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote.js","names":["registerIcon"],"sources":["../../../../src/components/icons/quote.ts"],"sourcesContent":["// icons/quote.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\n/**\n * An opening quotation mark, drawn as a path.\n *\n * It used to be a \"“\" character in an SVG <text> element at Helvetica\n * 128px: type being asked to draw a picture, so its shape depended on which\n * Helvetica the platform had, and its colour was a hex of its own\n * (#2E6BF6) rather than the ink it sits in. Now it is a drawing like every\n * sibling -- sized from the icon scale, drawn in currentColor.\n */\nregisterIcon(\"quote\", `\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\">\n <path d=\"M3 19.5V13c0-4.4 2.2-7.6 6.5-9.2l.9 1.9C7.9 6.9 6.8 8.7 6.6 11H10v8.5H3Zm11 0V13c0-4.4 2.2-7.6 6.5-9.2l.9 1.9c-2.5 1.2-3.6 3-3.8 5.3H21v8.5h-7Z\" fill=\"currentColor\"/>\n </svg>\n`, { size: 'xl' });\n"],"mappings":"A,+DAaAA,EAAa,QAAS;;;;EAInB,CAAE,KAAM,IAAK,CAAC"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The drawings bd-icon and bd-mark render, by name.
|
|
3
|
+
*
|
|
4
|
+
* registerIcon('check', `<svg viewBox="0 0 16 16">…</svg>`, { size: 'sm' });
|
|
5
|
+
* <bd-icon name="check"></bd-icon>
|
|
6
|
+
*
|
|
7
|
+
* PAGE-WIDE STATE. Several projects load their own bundled copy of this
|
|
8
|
+
* package onto one page, and the tag is defined once, by whichever copy got
|
|
9
|
+
* there first (@defineElement). So the bd-icon on the page can be one copy's
|
|
10
|
+
* class drawing what another copy's modules registered, and the drawings have
|
|
11
|
+
* to live where every copy finds them: window.BD.state.icons for the icons and
|
|
12
|
+
* window.BD.state.marks for the marks, the dex-core rule for state that exists
|
|
13
|
+
* once per page. Each copy reuses a map it finds there and never replaces one,
|
|
14
|
+
* and a name already in it keeps the drawing that got there first, the same
|
|
15
|
+
* rule the tags follow. A copy registering the same name again is the normal
|
|
16
|
+
* case, not an error: two bundles both importing ./check.ts both call this.
|
|
17
|
+
*
|
|
18
|
+
* THE SHAPE IS A CONTRACT BETWEEN COPIES. A Map from name to { svg, size?,
|
|
19
|
+
* mirror? }, read by code that may be a different release of this package.
|
|
20
|
+
* Add an optional field if a drawing needs one; never rename or retype one.
|
|
21
|
+
*
|
|
22
|
+
* LATE DRAWINGS. Nothing orders a page's imports, so an element can connect
|
|
23
|
+
* before its drawing registers. Each registration is announced on window
|
|
24
|
+
* (bd-icon-register, bd-mark-register, detail { name }), which is the one
|
|
25
|
+
* target every copy shares, and an element showing the missing glyph for that
|
|
26
|
+
* name renders again: DrawingController below keeps one listener per set for
|
|
27
|
+
* this copy, and wakes only the elements waiting on the name registered.
|
|
28
|
+
*
|
|
29
|
+
* A drawing is trusted markup: the package's own artwork, parsed with the
|
|
30
|
+
* HTML parser and cloned into each element that shows it.
|
|
31
|
+
*/
|
|
32
|
+
import type { ReactiveController, ReactiveControllerHost } from "lit";
|
|
33
|
+
/** One drawing, as the page-wide map holds it. */
|
|
34
|
+
export interface Drawing {
|
|
35
|
+
/** The whole `<svg>…</svg>`, with a viewBox. */
|
|
36
|
+
readonly svg: string;
|
|
37
|
+
/**
|
|
38
|
+
* The size it was drawn at: a step of the icon scale, or a CSS length for
|
|
39
|
+
* a drawing off the scale (laurel.ts says why it is). Icons only; a mark
|
|
40
|
+
* is drawn at its svg's own width and height.
|
|
41
|
+
*/
|
|
42
|
+
readonly size?: string;
|
|
43
|
+
/** Points the way the line reads, so it mirrors on a right-to-left page. */
|
|
44
|
+
readonly mirror?: boolean;
|
|
45
|
+
}
|
|
46
|
+
export type DrawingOptions = Omit<Drawing, 'svg'>;
|
|
47
|
+
/** Which of the two page-wide maps a drawing is in. */
|
|
48
|
+
export type DrawingSet = 'icons' | 'marks';
|
|
49
|
+
/**
|
|
50
|
+
* Registers an interface icon, drawn in currentColor. False when the name
|
|
51
|
+
* already has a drawing, which it keeps.
|
|
52
|
+
*/
|
|
53
|
+
export declare function registerIcon(name: string, svg: string, options?: DrawingOptions): boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Registers a brand or award mark, which keeps its own colours. False when
|
|
56
|
+
* the name already has a drawing, which it keeps.
|
|
57
|
+
*/
|
|
58
|
+
export declare function registerMark(name: string, svg: string, options?: DrawingOptions): boolean;
|
|
59
|
+
/** The icon registered under `name`, if any copy has registered one. */
|
|
60
|
+
export declare const lookupIcon: (name: string) => Drawing | undefined;
|
|
61
|
+
/** The mark registered under `name`, if any copy has registered one. */
|
|
62
|
+
export declare const lookupMark: (name: string) => Drawing | undefined;
|
|
63
|
+
/** Every icon name registered on the page, in registration order. */
|
|
64
|
+
export declare const iconNames: () => string[];
|
|
65
|
+
/** Every mark name registered on the page, in registration order. */
|
|
66
|
+
export declare const markNames: () => string[];
|
|
67
|
+
/**
|
|
68
|
+
* What an unknown name draws: a dashed square on the icon's own box, in
|
|
69
|
+
* currentColor, so it takes the ink of whatever it sits in. It was
|
|
70
|
+
* bd-missing-icon, the placeholder for an icon designed for and not drawn
|
|
71
|
+
* yet; it is now what any name without a drawing gets, so the layout keeps
|
|
72
|
+
* the box and a reviewer sees the gap, where an undefined tag used to render
|
|
73
|
+
* 0px wide. The name stays on the element's own `name` attribute, and
|
|
74
|
+
* check:icons lists the names in src/ that have no drawing.
|
|
75
|
+
*
|
|
76
|
+
* The dash does the work on its own. A first version also dimmed it to 0.55,
|
|
77
|
+
* which lint:tokens refused: a chosen dimness belongs in a token, and the
|
|
78
|
+
* dash already says provisional.
|
|
79
|
+
*/
|
|
80
|
+
export declare const MISSING: Drawing;
|
|
81
|
+
/** A fresh `<svg>` element of the drawing; the missing glyph's when the markup holds none. */
|
|
82
|
+
export declare function svgOf(drawing: Drawing): SVGSVGElement;
|
|
83
|
+
/**
|
|
84
|
+
* Names the svg an element shows. With a label it is `role="img"` named by
|
|
85
|
+
* it, for a drawing that is the only thing saying what something is; without
|
|
86
|
+
* one it is `aria-hidden`, because a drawing beside words says nothing they do
|
|
87
|
+
* not, and a control around it must not hear it twice. bd-icon and bd-mark
|
|
88
|
+
* both follow this.
|
|
89
|
+
*/
|
|
90
|
+
export declare function nameSvg(svg: SVGSVGElement, label: string): void;
|
|
91
|
+
/**
|
|
92
|
+
* What a bd-icon or a bd-mark asks for its drawing.
|
|
93
|
+
*
|
|
94
|
+
* private _drawings = new DrawingController(this, 'icons');
|
|
95
|
+
* willUpdate() { const drawing = this._drawings.drawing(this.name); ... }
|
|
96
|
+
*
|
|
97
|
+
* drawing() answers the drawing registered under the name, or the missing
|
|
98
|
+
* glyph -- and then the host waits for that name, and updates once a copy
|
|
99
|
+
* registers it. A host waits for one name at a time, and only while it is
|
|
100
|
+
* connected; one that comes back finds whatever registered while it was out.
|
|
101
|
+
*/
|
|
102
|
+
export declare class DrawingController implements ReactiveController {
|
|
103
|
+
private readonly _host;
|
|
104
|
+
private readonly _set;
|
|
105
|
+
private _missing?;
|
|
106
|
+
constructor(host: ReactiveControllerHost, set: DrawingSet);
|
|
107
|
+
drawing(name: string): Drawing;
|
|
108
|
+
hostConnected(): void;
|
|
109
|
+
hostDisconnected(): void;
|
|
110
|
+
private _join;
|
|
111
|
+
private _leave;
|
|
112
|
+
}
|
|
113
|
+
declare global {
|
|
114
|
+
interface WindowEventMap {
|
|
115
|
+
'bd-icon-register': CustomEvent<{
|
|
116
|
+
name: string;
|
|
117
|
+
}>;
|
|
118
|
+
'bd-mark-register': CustomEvent<{
|
|
119
|
+
name: string;
|
|
120
|
+
}>;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var e={icons:/* @__PURE__ */ new Map,marks:/* @__PURE__ */ new Map};function t(t){let n=globalThis,r=n.BD??={},i=r.state??={},a=i[t];if(a instanceof Map)return a;if(a===void 0){let e=/* @__PURE__ */ new Map;return i[t]=e,e}return e[t]}function n(e,n,r,i){let a=t(e);return!a.has(n)&&(a.set(n,Object.freeze({...i,svg:r})),!0)}var r={icons:`bd-icon-register`,marks:`bd-mark-register`};function i(e,t,r={}){return n(`icons`,e,t,r)?(globalThis.dispatchEvent?.(new CustomEvent(`bd-icon-register`,{detail:{name:e}})),!0):!1}function a(e,t,r={}){return n(`marks`,e,t,r)?(globalThis.dispatchEvent?.(new CustomEvent(`bd-mark-register`,{detail:{name:e}})),!0):!1}var o=e=>t(`icons`).get(e),s=e=>t(`marks`).get(e),c=()=>[...t(`icons`).keys()],l=()=>[...t(`marks`).keys()],u=Object.freeze({svg:`<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="1" y="1" width="14" height="14" rx="2" stroke="currentColor" stroke-width="1.5" stroke-dasharray="3 2.5"/>
|
|
3
|
+
</svg>`,size:`sm`}),d=/* @__PURE__ */ new Map;function f(e){let t=d.get(e.svg);if(t===void 0){let n=document.createElement(`template`);n.innerHTML=e.svg.trim();let r=n.content.firstElementChild;t=r instanceof SVGSVGElement?r:null,d.set(e.svg,t)}return(t??f(u)).cloneNode(!0)}function p(e,t){t?(e.setAttribute(`role`,`img`),e.setAttribute(`aria-label`,t),e.removeAttribute(`aria-hidden`)):(e.removeAttribute(`role`),e.removeAttribute(`aria-label`),e.setAttribute(`aria-hidden`,`true`))}var m={icons:/* @__PURE__ */ new Map,marks:/* @__PURE__ */ new Map},h=/* @__PURE__ */ new Set;function g(e){h.has(e)||(h.add(e),globalThis.addEventListener?.(r[e],t=>{let n=t.detail?.name,r=n===void 0?void 0:m[e].get(n);if(r){m[e].delete(n);for(let e of r)e.requestUpdate()}}))}var _=class{constructor(e,t){this._host=e,this._set=t,e.addController(this)}drawing(e){let n=t(this._set).get(e);return this._leave(),n||(this._missing=e,this._join(),u)}hostConnected(){this._missing!==void 0&&(this._join(),t(this._set).has(this._missing)&&this._host.requestUpdate())}hostDisconnected(){let e=this._missing===void 0?void 0:m[this._set].get(this._missing);e?.delete(this._host),e&&!e.size&&m[this._set].delete(this._missing)}_join(){g(this._set);let e=this._missing,t=m[this._set].get(e);t||m[this._set].set(e,t=/* @__PURE__ */ new Set),t.add(this._host)}_leave(){if(this._missing===void 0)return;let e=m[this._set].get(this._missing);e?.delete(this._host),e&&!e.size&&m[this._set].delete(this._missing),this._missing=void 0}};export{_ as DrawingController,u as MISSING,c as iconNames,o as lookupIcon,s as lookupMark,l as markNames,p as nameSvg,i as registerIcon,a as registerMark,f as svgOf};
|
|
4
|
+
//# sourceMappingURL=registry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.js","names":["own","drawings","page","BD","state","found","set","made","register","map","name","options","ANNOUNCED","registerIcon","svg","registerMark","lookupIcon","lookupMark","iconNames","markNames","MISSING","parsed","svgOf","drawing","template","first","nameSvg","label","waiting","listening","listen","event","hosts","host","DrawingController"],"sources":["../../../../src/components/icons/registry.ts"],"sourcesContent":["// icons/registry.ts\n/**\n * The drawings bd-icon and bd-mark render, by name.\n *\n * registerIcon('check', `<svg viewBox=\"0 0 16 16\">…</svg>`, { size: 'sm' });\n * <bd-icon name=\"check\"></bd-icon>\n *\n * PAGE-WIDE STATE. Several projects load their own bundled copy of this\n * package onto one page, and the tag is defined once, by whichever copy got\n * there first (@defineElement). So the bd-icon on the page can be one copy's\n * class drawing what another copy's modules registered, and the drawings have\n * to live where every copy finds them: window.BD.state.icons for the icons and\n * window.BD.state.marks for the marks, the dex-core rule for state that exists\n * once per page. Each copy reuses a map it finds there and never replaces one,\n * and a name already in it keeps the drawing that got there first, the same\n * rule the tags follow. A copy registering the same name again is the normal\n * case, not an error: two bundles both importing ./check.ts both call this.\n *\n * THE SHAPE IS A CONTRACT BETWEEN COPIES. A Map from name to { svg, size?,\n * mirror? }, read by code that may be a different release of this package.\n * Add an optional field if a drawing needs one; never rename or retype one.\n *\n * LATE DRAWINGS. Nothing orders a page's imports, so an element can connect\n * before its drawing registers. Each registration is announced on window\n * (bd-icon-register, bd-mark-register, detail { name }), which is the one\n * target every copy shares, and an element showing the missing glyph for that\n * name renders again: DrawingController below keeps one listener per set for\n * this copy, and wakes only the elements waiting on the name registered.\n *\n * A drawing is trusted markup: the package's own artwork, parsed with the\n * HTML parser and cloned into each element that shows it.\n */\n\nimport type { ReactiveController, ReactiveControllerHost } from 'lit';\n\n/** One drawing, as the page-wide map holds it. */\nexport interface Drawing {\n /** The whole `<svg>…</svg>`, with a viewBox. */\n readonly svg : string;\n /**\n * The size it was drawn at: a step of the icon scale, or a CSS length for\n * a drawing off the scale (laurel.ts says why it is). Icons only; a mark\n * is drawn at its svg's own width and height.\n */\n readonly size? : string;\n /** Points the way the line reads, so it mirrors on a right-to-left page. */\n readonly mirror?: boolean;\n}\n\nexport type DrawingOptions = Omit<Drawing, 'svg'>;\n\n/** Which of the two page-wide maps a drawing is in. */\nexport type DrawingSet = 'icons' | 'marks';\ntype Drawings = Map<string, Drawing>;\n\ninterface PageState { BD?: { state?: Record<string, unknown> } }\n\n/* A value under the name that is not a Map belongs to something else, and\n is left alone: this copy keeps its drawings to itself rather than replace\n it. */\nconst own: Record<DrawingSet, Drawings> = { icons: new Map(), marks: new Map() };\n\n/** The page's map for one set, made only when no copy has made it. */\nfunction drawings(set: DrawingSet): Drawings {\n const page = globalThis as typeof globalThis & PageState;\n const BD = (page.BD ??= {});\n const state = (BD.state ??= {});\n const found = state[set];\n if (found instanceof Map) return found as Drawings;\n if (found === undefined) {\n const made: Drawings = new Map();\n state[set] = made;\n return made;\n }\n return own[set];\n}\n\nfunction register(set: DrawingSet, name: string, svg: string, options: DrawingOptions): boolean {\n const map = drawings(set);\n if (map.has(name)) return false;\n map.set(name, Object.freeze({ ...options, svg }));\n return true;\n}\n\n/* The event a registration is announced by, per set: what DrawingController\n listens for. The dispatches below spell each name as a literal, which is\n what check:element-api reads. */\nconst ANNOUNCED: Record<DrawingSet, 'bd-icon-register' | 'bd-mark-register'> = {\n icons: 'bd-icon-register',\n marks: 'bd-mark-register'\n};\n\n/**\n * Registers an interface icon, drawn in currentColor. False when the name\n * already has a drawing, which it keeps.\n */\nexport function registerIcon(name: string, svg: string, options: DrawingOptions = {}): boolean {\n if (!register('icons', name, svg, options)) return false;\n globalThis.dispatchEvent?.(new CustomEvent('bd-icon-register', { detail: { name } }));\n return true;\n}\n\n/**\n * Registers a brand or award mark, which keeps its own colours. False when\n * the name already has a drawing, which it keeps.\n */\nexport function registerMark(name: string, svg: string, options: DrawingOptions = {}): boolean {\n if (!register('marks', name, svg, options)) return false;\n globalThis.dispatchEvent?.(new CustomEvent('bd-mark-register', { detail: { name } }));\n return true;\n}\n\n/** The icon registered under `name`, if any copy has registered one. */\nexport const lookupIcon = (name: string): Drawing | undefined => drawings('icons').get(name);\n\n/** The mark registered under `name`, if any copy has registered one. */\nexport const lookupMark = (name: string): Drawing | undefined => drawings('marks').get(name);\n\n/** Every icon name registered on the page, in registration order. */\nexport const iconNames = (): string[] => [...drawings('icons').keys()];\n\n/** Every mark name registered on the page, in registration order. */\nexport const markNames = (): string[] => [...drawings('marks').keys()];\n\n/**\n * What an unknown name draws: a dashed square on the icon's own box, in\n * currentColor, so it takes the ink of whatever it sits in. It was\n * bd-missing-icon, the placeholder for an icon designed for and not drawn\n * yet; it is now what any name without a drawing gets, so the layout keeps\n * the box and a reviewer sees the gap, where an undefined tag used to render\n * 0px wide. The name stays on the element's own `name` attribute, and\n * check:icons lists the names in src/ that have no drawing.\n *\n * The dash does the work on its own. A first version also dimmed it to 0.55,\n * which lint:tokens refused: a chosen dimness belongs in a token, and the\n * dash already says provisional.\n */\nexport const MISSING: Drawing = Object.freeze({\n svg: `<svg viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"1\" y=\"1\" width=\"14\" height=\"14\" rx=\"2\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-dasharray=\"3 2.5\"/>\n </svg>`,\n size: 'sm'\n});\n\n/* Each drawing is parsed once, by the HTML parser as markup in a page is,\n and every element that shows it gets a clone. */\nconst parsed = new Map<string, SVGSVGElement | null>();\n\n/** A fresh `<svg>` element of the drawing; the missing glyph's when the markup holds none. */\nexport function svgOf(drawing: Drawing): SVGSVGElement {\n let svg = parsed.get(drawing.svg);\n if (svg === undefined) {\n const template = document.createElement('template');\n template.innerHTML = drawing.svg.trim();\n const first = template.content.firstElementChild;\n svg = first instanceof SVGSVGElement ? first : null;\n parsed.set(drawing.svg, svg);\n }\n return (svg ?? svgOf(MISSING)).cloneNode(true) as SVGSVGElement;\n}\n\n/**\n * Names the svg an element shows. With a label it is `role=\"img\"` named by\n * it, for a drawing that is the only thing saying what something is; without\n * one it is `aria-hidden`, because a drawing beside words says nothing they do\n * not, and a control around it must not hear it twice. bd-icon and bd-mark\n * both follow this.\n */\nexport function nameSvg(svg: SVGSVGElement, label: string) {\n if (label) {\n svg.setAttribute('role', 'img');\n svg.setAttribute('aria-label', label);\n svg.removeAttribute('aria-hidden');\n } else {\n svg.removeAttribute('role');\n svg.removeAttribute('aria-label');\n svg.setAttribute('aria-hidden', 'true');\n }\n}\n\n/* ---------- waiting for a drawing ----------\n The elements showing the missing glyph, by set and by the name each waits\n for. One listener on window per set, added the first time an element of\n this copy waits, hears every registration on the page -- this copy's or\n another's -- and wakes the elements waiting on that name and no others. A\n listener per element made a barrel of twenty-five drawings on a page of two\n hundred checks five thousand calls, nearly all of them for an element that\n already had its drawing. */\ninterface Waiter { requestUpdate(): void }\nconst waiting: Record<DrawingSet, Map<string, Set<Waiter>>> = { icons: new Map(), marks: new Map() };\nconst listening = new Set<DrawingSet>();\n\nfunction listen(set: DrawingSet) {\n if (listening.has(set)) return;\n listening.add(set);\n globalThis.addEventListener?.(ANNOUNCED[set], event => {\n const name = (event as CustomEvent<{ name?: string }>).detail?.name;\n const hosts = name === undefined ? undefined : waiting[set].get(name);\n if (!hosts) return;\n waiting[set].delete(name!);\n for (const host of hosts) host.requestUpdate();\n });\n}\n\n/**\n * What a bd-icon or a bd-mark asks for its drawing.\n *\n * private _drawings = new DrawingController(this, 'icons');\n * willUpdate() { const drawing = this._drawings.drawing(this.name); ... }\n *\n * drawing() answers the drawing registered under the name, or the missing\n * glyph -- and then the host waits for that name, and updates once a copy\n * registers it. A host waits for one name at a time, and only while it is\n * connected; one that comes back finds whatever registered while it was out.\n */\nexport class DrawingController implements ReactiveController {\n private readonly _host: ReactiveControllerHost;\n private readonly _set : DrawingSet;\n /* The name the host is waiting for, while it shows the missing glyph. */\n private _missing? : string;\n\n constructor(host: ReactiveControllerHost, set: DrawingSet) {\n this._host = host;\n this._set = set;\n host.addController(this);\n }\n\n drawing(name: string): Drawing {\n const found = drawings(this._set).get(name);\n this._leave();\n if (found) return found;\n this._missing = name;\n this._join();\n return MISSING;\n }\n\n hostConnected() {\n if (this._missing === undefined) return;\n this._join();\n // it may have registered while the host was out of the page\n if (drawings(this._set).has(this._missing)) this._host.requestUpdate();\n }\n\n hostDisconnected() {\n // stays _missing, so a reconnect waits again\n const hosts = this._missing === undefined ? undefined : waiting[this._set].get(this._missing);\n hosts?.delete(this._host);\n if (hosts && !hosts.size) waiting[this._set].delete(this._missing!);\n }\n\n private _join() {\n listen(this._set);\n const name = this._missing!;\n let hosts = waiting[this._set].get(name);\n if (!hosts) waiting[this._set].set(name, hosts = new Set());\n hosts.add(this._host);\n }\n\n private _leave() {\n if (this._missing === undefined) return;\n const hosts = waiting[this._set].get(this._missing);\n hosts?.delete(this._host);\n if (hosts && !hosts.size) waiting[this._set].delete(this._missing);\n this._missing = undefined;\n }\n}\n\ndeclare global {\n interface WindowEventMap {\n 'bd-icon-register': CustomEvent<{ name: string }>;\n 'bd-mark-register': CustomEvent<{ name: string }>;\n }\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./icon.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{registerIcon as e}from"./registry.js";import"./icon.js";e(`small-business`,`
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
|
|
3
|
+
<path d="M22.725 5.1L20.925 2.25C20.625 1.8 20.1 1.5 19.575 1.5H4.425C3.9 1.5 3.375 1.8 3.075 2.25L1.275 5.1C0.675 6.075 0.6 7.2 1.05 8.25C1.5 9.225 2.325 9.825 3.375 9.975C4.275 10.05 5.175 9.825 5.85 9.375C6.225 9.6 6.6 9.825 6.975 9.9C7.125 9.9 7.2 9.9 7.35 9.975H7.425H7.5C8.4 9.975 9.225 9.825 9.825 9.375C9.825 9.375 9.975 9.45 10.05 9.525C10.2 9.6 10.35 9.675 10.5 9.75C10.65 9.75 10.8 9.9 11.025 9.9C11.625 10.05 12.15 10.05 12.825 9.9C12.825 9.9 12.9 9.9 12.975 9.9C13.275 9.825 13.575 9.6 13.875 9.45C14.475 9.9 15.15 10.125 15.975 10.125C16.8 10.125 16.2 10.125 16.35 10.125H16.5C16.575 10.125 16.725 10.125 16.725 10.05C16.8 10.05 16.95 10.05 17.025 9.975C17.4 9.825 17.7 9.675 17.925 9.525C18.525 9.975 19.2 10.2 19.95 10.2C20.7 10.2 20.25 10.2 20.4 10.2C21.45 10.05 22.275 9.375 22.725 8.475C23.175 7.425 23.1 6.3 22.5 5.325L22.725 5.1ZM21.6 7.575C21.375 8.1 20.925 8.4 20.4 8.475C19.875 8.475 19.35 8.475 18.9 8.1C18.825 8.025 18.675 7.95 18.6 7.8H17.475C17.4 7.875 17.325 8.025 17.175 8.1C17.025 8.25 16.875 8.325 16.65 8.4C16.65 8.4 16.65 8.4 16.5 8.4C16.5 8.4 16.425 8.4 16.35 8.4H16.275C16.275 8.4 16.125 8.4 16.05 8.4C15.6 8.4 15.225 8.25 14.85 8.025C14.85 8.025 14.775 7.95 14.7 7.875C14.7 7.875 14.625 7.8 14.55 7.725H13.425C13.425 7.725 13.35 7.8 13.275 7.875C13.275 7.875 13.125 7.95 13.125 8.025C12.975 8.175 12.825 8.25 12.675 8.325C12.675 8.325 12.6 8.325 12.525 8.325C12.15 8.4 11.775 8.4 11.475 8.325C11.4 8.325 11.25 8.325 11.175 8.25C11.1 8.25 10.95 8.175 10.875 8.1C10.875 8.1 10.8 8.1 10.725 8.025C10.725 8.025 10.65 8.025 10.65 7.95C10.65 7.875 10.65 7.875 10.575 7.8H9.45C9.375 7.875 9.225 7.95 9.15 8.025C8.85 8.25 8.4 8.4 7.95 8.4C7.5 8.4 7.8 8.4 7.725 8.4H7.5C7.275 8.325 7.05 8.175 6.825 8.025C6.75 7.95 6.6 7.875 6.525 7.8H5.4C5.25 7.875 5.175 8.025 5.1 8.1C4.8 8.325 4.35 8.475 3.9 8.475C3.45 8.475 3.675 8.475 3.6 8.475C3.075 8.475 2.625 8.1 2.4 7.575C2.175 7.05 2.175 6.375 2.475 5.925L4.275 3.075C4.275 3.075 4.275 3.075 4.425 3.075H19.575H19.65L21.45 5.925C21.75 6.45 21.825 7.05 21.525 7.575H21.6ZM21 20.25C21 20.7 20.7 21 20.25 21H3.75C3.3 21 3 20.7 3 20.25V11.25H1.5V20.25C1.5 21.525 2.475 22.5 3.75 22.5H20.25C21.525 22.5 22.5 21.525 22.5 20.25V11.25H21V20.25ZM6 16.5V18H18V16.5H6Z" fill="currentColor"/>
|
|
4
|
+
</svg>
|
|
5
|
+
`,{size:`lg`});
|
|
6
|
+
//# sourceMappingURL=small-business.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"small-business.js","names":["registerIcon"],"sources":["../../../../src/components/icons/small-business.ts"],"sourcesContent":["// icons/small-business.ts\nimport { registerIcon } from \"./registry.ts\";\nimport \"./icon.ts\";\n\n/* The small-business audience icon from the homepage audience cards (Figma: Icon/small-business, 2026_splitter).\n Drawn filled on a 24 grid, so it sits at lg. */\nregisterIcon(\"small-business\", `\n <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"none\">\n <path d=\"M22.725 5.1L20.925 2.25C20.625 1.8 20.1 1.5 19.575 1.5H4.425C3.9 1.5 3.375 1.8 3.075 2.25L1.275 5.1C0.675 6.075 0.6 7.2 1.05 8.25C1.5 9.225 2.325 9.825 3.375 9.975C4.275 10.05 5.175 9.825 5.85 9.375C6.225 9.6 6.6 9.825 6.975 9.9C7.125 9.9 7.2 9.9 7.35 9.975H7.425H7.5C8.4 9.975 9.225 9.825 9.825 9.375C9.825 9.375 9.975 9.45 10.05 9.525C10.2 9.6 10.35 9.675 10.5 9.75C10.65 9.75 10.8 9.9 11.025 9.9C11.625 10.05 12.15 10.05 12.825 9.9C12.825 9.9 12.9 9.9 12.975 9.9C13.275 9.825 13.575 9.6 13.875 9.45C14.475 9.9 15.15 10.125 15.975 10.125C16.8 10.125 16.2 10.125 16.35 10.125H16.5C16.575 10.125 16.725 10.125 16.725 10.05C16.8 10.05 16.95 10.05 17.025 9.975C17.4 9.825 17.7 9.675 17.925 9.525C18.525 9.975 19.2 10.2 19.95 10.2C20.7 10.2 20.25 10.2 20.4 10.2C21.45 10.05 22.275 9.375 22.725 8.475C23.175 7.425 23.1 6.3 22.5 5.325L22.725 5.1ZM21.6 7.575C21.375 8.1 20.925 8.4 20.4 8.475C19.875 8.475 19.35 8.475 18.9 8.1C18.825 8.025 18.675 7.95 18.6 7.8H17.475C17.4 7.875 17.325 8.025 17.175 8.1C17.025 8.25 16.875 8.325 16.65 8.4C16.65 8.4 16.65 8.4 16.5 8.4C16.5 8.4 16.425 8.4 16.35 8.4H16.275C16.275 8.4 16.125 8.4 16.05 8.4C15.6 8.4 15.225 8.25 14.85 8.025C14.85 8.025 14.775 7.95 14.7 7.875C14.7 7.875 14.625 7.8 14.55 7.725H13.425C13.425 7.725 13.35 7.8 13.275 7.875C13.275 7.875 13.125 7.95 13.125 8.025C12.975 8.175 12.825 8.25 12.675 8.325C12.675 8.325 12.6 8.325 12.525 8.325C12.15 8.4 11.775 8.4 11.475 8.325C11.4 8.325 11.25 8.325 11.175 8.25C11.1 8.25 10.95 8.175 10.875 8.1C10.875 8.1 10.8 8.1 10.725 8.025C10.725 8.025 10.65 8.025 10.65 7.95C10.65 7.875 10.65 7.875 10.575 7.8H9.45C9.375 7.875 9.225 7.95 9.15 8.025C8.85 8.25 8.4 8.4 7.95 8.4C7.5 8.4 7.8 8.4 7.725 8.4H7.5C7.275 8.325 7.05 8.175 6.825 8.025C6.75 7.95 6.6 7.875 6.525 7.8H5.4C5.25 7.875 5.175 8.025 5.1 8.1C4.8 8.325 4.35 8.475 3.9 8.475C3.45 8.475 3.675 8.475 3.6 8.475C3.075 8.475 2.625 8.1 2.4 7.575C2.175 7.05 2.175 6.375 2.475 5.925L4.275 3.075C4.275 3.075 4.275 3.075 4.425 3.075H19.575H19.65L21.45 5.925C21.75 6.45 21.825 7.05 21.525 7.575H21.6ZM21 20.25C21 20.7 20.7 21 20.25 21H3.75C3.3 21 3 20.7 3 20.25V11.25H1.5V20.25C1.5 21.525 2.475 22.5 3.75 22.5H20.25C21.525 22.5 22.5 21.525 22.5 20.25V11.25H21V20.25ZM6 16.5V18H18V16.5H6Z\" fill=\"currentColor\"/>\n </svg>\n`, { size: 'lg' });\n"],"mappings":"A,+DAMAA,EAAa,iBAAkB;;;;EAI5B,CAAE,KAAM,IAAK,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{css as e}from"lit";var t=e`@layer bd-components{.bd-img{max-width:100%;height:auto;display:block}.bd-img.cover{object-fit:cover}.bd-img.contain{object-fit:contain}.bd-img.fill{object-fit:fill}.bd-img.none{object-fit:none}.bd-img.scale-down{object-fit:scale-down}.bd-img.radius-none{border-radius:var(--radius-none)}.bd-img.radius-sm{border-radius:var(--shape-radius-sm)}.bd-img.radius-md{border-radius:var(--shape-radius-md)}.bd-img.radius-lg{border-radius:var(--shape-radius-lg)}.bd-img.radius-xl{border-radius:var(--shape-radius-xl)}.bd-img.radius-2xl{border-radius:var(--shape-radius-2xl)}.bd-img.radius-3xl{border-radius:var(--shape-radius-3xl)}.bd-img.radius-full{border-radius:var(--radius-full)}.bd-img.shadow-none{box-shadow:none}.bd-img.shadow-sm{box-shadow:var(--shadow-sm)}.bd-img.shadow-md{box-shadow:var(--shadow-md)}.bd-img.shadow-lg{box-shadow:var(--shadow-lg)}.bd-img.shadow-xl{box-shadow:var(--shadow-xl)}.bd-img{transition:border-radius var(--transition-duration-normal) var(--transition-easing-smooth), box-shadow var(--transition-duration-normal) var(--transition-easing-smooth)}@media (prefers-reduced-motion:reduce){.bd-img{transition:none}}}`;export{t as default};
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=img.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"img.css.js","names":["img_css_default"],"sources":["../../../../src/components/img/img.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\nexport default css`\n @layer bd-components {\n .bd-img {\n display: block;\n max-width: 100%;\n height: auto;\n }\n\n /* Object Fit Variants */\n .bd-img.cover {\n object-fit: cover;\n }\n\n .bd-img.contain {\n object-fit: contain;\n }\n\n .bd-img.fill {\n object-fit: fill;\n }\n\n .bd-img.none {\n object-fit: none;\n }\n\n .bd-img.scale-down {\n object-fit: scale-down;\n }\n\n /* Radius Variants - Updated to match radius prop */\n .bd-img.radius-none {\n border-radius: var(--radius-none);\n }\n\n .bd-img.radius-sm {\n border-radius: var(--shape-radius-sm);\n }\n\n .bd-img.radius-md {\n border-radius: var(--shape-radius-md);\n }\n\n .bd-img.radius-lg {\n border-radius: var(--shape-radius-lg);\n }\n\n .bd-img.radius-xl {\n border-radius: var(--shape-radius-xl);\n }\n\n .bd-img.radius-2xl {\n border-radius: var(--shape-radius-2xl);\n }\n\n .bd-img.radius-3xl {\n border-radius: var(--shape-radius-3xl);\n }\n\n .bd-img.radius-full {\n border-radius: var(--radius-full);\n }\n\n /* Shadow Variants - Updated to match shadow prop */\n .bd-img.shadow-none {\n box-shadow: none;\n }\n\n .bd-img.shadow-sm {\n box-shadow: var(--shadow-sm);\n }\n\n .bd-img.shadow-md {\n box-shadow: var(--shadow-md);\n }\n\n .bd-img.shadow-lg {\n box-shadow: var(--shadow-lg);\n }\n\n /* Shadow XL - Additional variant */\n .bd-img.shadow-xl {\n box-shadow: var(--shadow-xl);\n }\n\n /* Gone from here, because nothing could reach them: bordered,\n bordered-primary and bordered-thick, responsive, aspect-16-9 / 4-3 /\n 1-1, hover-zoom and hover-shadow had no prop, and the only way to set\n one was to pass its name as fit, which now accepts only the five values\n above. :focus-visible styled an <img>, which never takes focus. And the\n :not([src]) loading placeholder could not appear: the template always\n writes a src attribute, and an <img> renders no ::before even without\n one. bd-picture keeps its own placeholder, which does work. */\n\n /* Smooth transitions for radius and shadow changes */\n .bd-img {\n transition: border-radius var(--transition-duration-normal) var(--transition-easing-smooth), box-shadow var(--transition-duration-normal) var(--transition-easing-smooth);\n }\n\n @media (prefers-reduced-motion: reduce) {\n .bd-img {\n transition: none;\n }\n }\n }\n`;"],"mappings":"A,0BAEA,IAAAA,EAAe,CAAG,onC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import{defineElement as e}from"../shared/define-element.js";import"../../tokens/tokens.js";import{isOneOf as t}from"../shared/prop-vocabulary.js";import n from"../../_bundled/oxc-project_runtime/helpers/esm/decorate.js";import r from"./img.css.js";import{LitElement as i,html as a,nothing as o}from"lit";import{property as s}from"lit/decorators.js";var c=[`none`,`sm`,`md`,`lg`,`xl`,`2xl`,`3xl`,`full`],l=[`cover`,`contain`,`fill`,`none`,`scale-down`],u=[`none`,`sm`,`md`,`lg`,`xl`],d=class extends i{constructor(...e){super(...e),this.src=``,this.srcset=``,this.sizes=``,this.alt=``,this.width=null,this.height=null,this.loading=`lazy`,this.fetchPriority=``,this.decoding=``,this.fit=`cover`,this.radius=`none`,this.shadow=`none`}render(){let e=`bd-img ${t(l,this.fit)?this.fit:`cover`} ${`radius-${t(c,this.radius)?this.radius:`none`}`} ${`shadow-${t(u,this.shadow)?this.shadow:`none`}`}`,n=this.fetchPriority===`high`;return a`
|
|
2
|
+
<img
|
|
3
|
+
src="${this.src}"
|
|
4
|
+
srcset="${this.srcset||o}"
|
|
5
|
+
sizes="${this.sizes||o}"
|
|
6
|
+
alt="${this.alt}"
|
|
7
|
+
width="${this.width??o}"
|
|
8
|
+
height="${this.height??o}"
|
|
9
|
+
loading="${n?o:this.loading}"
|
|
10
|
+
fetchpriority="${this.fetchPriority||o}"
|
|
11
|
+
decoding="${this.decoding||o}"
|
|
12
|
+
class="${e}"
|
|
13
|
+
@load="${this._handleLoad}"
|
|
14
|
+
@error="${this._handleError}"
|
|
15
|
+
/>
|
|
16
|
+
`}_handleLoad(){this.dispatchEvent(new CustomEvent(`bd-load`,{bubbles:!0,composed:!0}))}_handleError(){this.dispatchEvent(new CustomEvent(`bd-error`,{bubbles:!0,composed:!0}))}static{this.styles=[r]}};n([s({type:String,attribute:`src`})],d.prototype,`src`,void 0),n([s({type:String,attribute:`srcset`})],d.prototype,`srcset`,void 0),n([s({type:String,attribute:`sizes`})],d.prototype,`sizes`,void 0),n([s({type:String,attribute:`alt`})],d.prototype,`alt`,void 0),n([s({type:Number,attribute:`width`})],d.prototype,`width`,void 0),n([s({type:Number,attribute:`height`})],d.prototype,`height`,void 0),n([s({type:String,attribute:`loading`})],d.prototype,`loading`,void 0),n([s({type:String,attribute:`fetchpriority`})],d.prototype,`fetchPriority`,void 0),n([s({type:String,attribute:`decoding`})],d.prototype,`decoding`,void 0),n([s({type:String,attribute:`fit`})],d.prototype,`fit`,void 0),n([s({type:String,attribute:`radius`})],d.prototype,`radius`,void 0),n([s({type:String,attribute:`shadow`})],d.prototype,`shadow`,void 0),d=n([e(`bd-img`)],d);export{d as BdImg};
|
|
17
|
+
//# sourceMappingURL=img.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"img.js","names":["imgCSS","_decorate","__decorate","img_css_default","RADIUS_STEPS","FITS","SHADOWS","BdImg","LitElement","_args","finalClass","isOneOf","lcp","nothing","property","defineElement"],"sources":["../../../../src/components/img/img.ts"],"sourcesContent":["import { LitElement, html, nothing } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { defineElement } from \"#shared/define-element.ts\";\nimport { isOneOf } from \"#shared/prop-vocabulary.ts\";\nimport type { RadiusStep } from \"#shared/token-scales.ts\";\n// Installs the design tokens into document scope; see src/tokens/tokens.ts\nimport \"#tokens/tokens.ts\";\nimport imgCSS from \"./img.css.ts\";\n\n// the radius steps img.css.ts implements — the full --radius-* scale\nconst RADIUS_STEPS = ['none', 'sm', 'md', 'lg', 'xl', '2xl', '3xl', 'full'] as const;\n/* fit and shadow become class names, so an unknown value used to become a\n class too -- fit=\"bordered\" reached a rule nothing documented. Only the\n values img.css.ts implements get through; anything else is the default. */\nconst FITS = ['cover', 'contain', 'fill', 'none', 'scale-down'] as const;\nconst SHADOWS = ['none', 'sm', 'md', 'lg', 'xl'] as const;\n\ntype Fit = typeof FITS[number];\ntype Shadow = typeof SHADOWS[number];\n\n@defineElement(\"bd-img\")\nexport class BdImg extends LitElement {\n @property({ type: String, attribute: \"src\" })\n src = \"\";\n @property({ type: String, attribute: \"srcset\" })\n srcset = \"\";\n @property({ type: String, attribute: \"sizes\" })\n sizes = \"\";\n @property({ type: String, attribute: \"alt\" })\n alt = \"\";\n @property({ type: Number, attribute: \"width\" })\n width: number | null = null;\n @property({ type: Number, attribute: \"height\" })\n height: number | null = null;\n @property({ type: String, attribute: \"loading\" })\n loading = \"lazy\";\n /* `fetchpriority`, the native <img> attribute it is passed to, so it keeps\n the platform's spelling rather than becoming fetch-priority. */\n @property({ type: String, attribute: \"fetchpriority\" })\n fetchPriority = \"\";\n @property({ type: String, attribute: \"decoding\" })\n decoding = \"\";\n @property({ type: String, attribute: \"fit\" })\n fit: Fit = \"cover\";\n @property({ type: String, attribute: \"radius\" })\n radius: RadiusStep = \"none\";\n @property({ type: String, attribute: \"shadow\" })\n shadow: Shadow = \"none\";\n\n render() {\n const baseClass = 'bd-img';\n const fitClass = isOneOf(FITS, this.fit) ? this.fit : 'cover';\n const radius = isOneOf(RADIUS_STEPS, this.radius) ? this.radius : 'none';\n const radiusClass = `radius-${radius}`;\n const shadowClass = `shadow-${isOneOf(SHADOWS, this.shadow) ? this.shadow : 'none'}`;\n\n const finalClass = `${baseClass} ${fitClass} ${radiusClass} ${shadowClass}`;\n\n /* fetchpriority=\"high\" marks the image the page is waiting for -- its\n Largest Contentful Paint -- so it is never lazy as well: a lazy image is\n held back until layout puts it near the viewport, which is the very\n delay the priority is there to remove. lazy stays the default for every\n other image. No guard: fetchpriority and decoding are hints, and a\n browser that does not know them loads the image as it always has. */\n const lcp = this.fetchPriority === 'high';\n\n return html`\n <img\n src=\"${this.src}\"\n srcset=\"${this.srcset || nothing}\"\n sizes=\"${this.sizes || nothing}\"\n alt=\"${this.alt}\"\n width=\"${this.width ?? nothing}\"\n height=\"${this.height ?? nothing}\"\n loading=\"${lcp ? nothing : this.loading}\"\n fetchpriority=\"${this.fetchPriority || nothing}\"\n decoding=\"${this.decoding || nothing}\"\n class=\"${finalClass}\"\n @load=\"${this._handleLoad}\"\n @error=\"${this._handleError}\"\n />\n `;\n }\n\n /* bd-load and bd-error (N8): an event is bd- plus a verb. They were\n image-loaded and image-error in 3.x, and a listener on either never\n fires now. */\n _handleLoad() {\n this.dispatchEvent(new CustomEvent('bd-load', {\n bubbles : true,\n composed: true\n }));\n }\n\n _handleError() {\n this.dispatchEvent(new CustomEvent('bd-error', {\n bubbles : true,\n composed: true\n }));\n }\n\n static styles = [imgCSS];\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n \"bd-img\": BdImg;\n }\n interface HTMLElementEventMap {\n \"bd-load\" : CustomEvent<null>;\n \"bd-error\": CustomEvent<null>;\n }\n}\n"],"mappings":"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"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* bd-
|
|
3
|
-
* the
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* one is
|
|
2
|
+
* What bd-input adds to the shared field chrome (shared/form-field.css.ts):
|
|
3
|
+
* the `end` slot, sitting over the trailing edge of the input.
|
|
4
|
+
*
|
|
5
|
+
* It is 3.x's clipboard field's arrangement, kept because a field and the
|
|
6
|
+
* button that acts on it read as one control: the slot is positioned over
|
|
7
|
+
* the input rather than beside it, and the input keeps clear of it only
|
|
8
|
+
* while the slot holds something, so a plain field is exactly as it was.
|
|
7
9
|
*/
|
|
8
10
|
declare const _default: import("lit").CSSResult;
|
|
9
11
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{css as e}from"lit";var t=e
|
|
1
|
+
import{css as e}from"lit";var t=e`.control-row{align-items:center;display:flex;position:relative}input.form-input--with-end{flex:1;padding-inline-end:var(--spacing-40)}.end{align-items:center;display:inline-flex;position:absolute;inset-inline-end:var(--spacing-8)}.end[hidden]{display:none}`;export{t as default};
|
|
2
2
|
//# sourceMappingURL=input.css.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.css.js","names":["input_css_default"],"sources":["../../../../src/components/input/input.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\n/**\n * bd-
|
|
1
|
+
{"version":3,"file":"input.css.js","names":["input_css_default"],"sources":["../../../../src/components/input/input.css.ts"],"sourcesContent":["import { css } from \"lit\";\n\n/**\n * What bd-input adds to the shared field chrome (shared/form-field.css.ts):\n * the `end` slot, sitting over the trailing edge of the input.\n *\n * It is 3.x's clipboard field's arrangement, kept because a field and the\n * button that acts on it read as one control: the slot is positioned over\n * the input rather than beside it, and the input keeps clear of it only\n * while the slot holds something, so a plain field is exactly as it was.\n */\nexport default css`\n .control-row {\n position: relative;\n display: flex;\n align-items: center;\n }\n\n /* Clearance for what the end slot holds: an icon button's 24px box and\n the 8px it sits in from the edge, plus the same again as air. Typed so it\n outranks the .input-* size classes, which set the padding shorthand. */\n input.form-input--with-end {\n flex: 1;\n padding-inline-end: var(--spacing-40);\n }\n\n .end {\n position: absolute;\n inset-inline-end: var(--spacing-8);\n display: inline-flex;\n align-items: center;\n }\n\n .end[hidden] {\n display: none;\n }\n`;\n"],"mappings":"A,0BAWA,IAAAA,EAAe,CAAG,mQ"}
|
|
@@ -1,19 +1,36 @@
|
|
|
1
1
|
import { LitElement, type PropertyValues } from "lit";
|
|
2
|
-
import "../shared/events.js";
|
|
3
2
|
import "../../tokens/tokens.js";
|
|
4
3
|
import { type Size } from "../shared/prop-vocabulary.js";
|
|
5
|
-
|
|
6
|
-
declare
|
|
4
|
+
import { SlotController } from "../shared/controller.slot.js";
|
|
5
|
+
declare const BdInput_base: (new (...args: any[]) => import("../shared/form-control.js").ValueControlInterface) & (new (...args: any[]) => import("../shared/form-control.js").FormControlInterface) & typeof LitElement;
|
|
6
|
+
/**
|
|
7
|
+
* A one-line text field.
|
|
8
|
+
*
|
|
9
|
+
* <bd-input name="key" spellcheck="false" required>
|
|
10
|
+
* <span slot="label">Licence key</span>
|
|
11
|
+
* <span slot="hint">It is in the email we sent you.</span>
|
|
12
|
+
* <bd-paste-button slot="end" label="Paste from clipboard"></bd-paste-button>
|
|
13
|
+
* </bd-input>
|
|
14
|
+
*
|
|
15
|
+
* The label and the hint are the page's, in the `label` and `hint` slots, and
|
|
16
|
+
* name and describe the native <input> through references that stay inside
|
|
17
|
+
* this shadow root (shared/form-control.ts). The `end` slot sits over the
|
|
18
|
+
* field's trailing edge, which is where 3.x's clipboard field drew its paste
|
|
19
|
+
* button: that field is this one now, with a bd-paste-button the page writes
|
|
20
|
+
* there.
|
|
21
|
+
*
|
|
22
|
+
* Form-associated (shared/form-control.ts): a <form> around it submits
|
|
23
|
+
* name=value, resets it to its value attribute, holds an empty `required` one
|
|
24
|
+
* and leaves it out under a <fieldset disabled>. It sends the native `input`
|
|
25
|
+
* and `change`, with no detail; a listener reads event.target.value.
|
|
26
|
+
*/
|
|
27
|
+
export declare class BdInput extends BdInput_base {
|
|
7
28
|
static styles: import("lit").CSSResult[];
|
|
8
|
-
label: string;
|
|
9
29
|
type: string;
|
|
10
30
|
size: Size;
|
|
11
|
-
/** @deprecated pass `size`. It named the size, not the kind. */
|
|
12
|
-
kind: string;
|
|
13
31
|
placeholder: string;
|
|
14
32
|
required: boolean;
|
|
15
33
|
focused: boolean;
|
|
16
|
-
tooltip: string;
|
|
17
34
|
invalid: boolean;
|
|
18
35
|
validated: boolean;
|
|
19
36
|
disabled: boolean;
|
|
@@ -22,12 +39,17 @@ declare class CustomInput extends CustomInput_base {
|
|
|
22
39
|
inputmode: string;
|
|
23
40
|
autocomplete: string;
|
|
24
41
|
enterkeyhint: string;
|
|
42
|
+
fieldSpellcheck: string | null;
|
|
43
|
+
fieldLabel: string;
|
|
44
|
+
protected _slots: SlotController<"end" | "label" | "hint">;
|
|
25
45
|
protected get _control(): HTMLInputElement | null;
|
|
46
|
+
get _accessibleName(): string;
|
|
26
47
|
/**
|
|
27
|
-
* The value
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
48
|
+
* The value follows the <input> before anything hears of it. The native
|
|
49
|
+
* input event is composed: it leaves the shadow root on its own, retargeted
|
|
50
|
+
* to this element, and its listeners on the page run after this one, which
|
|
51
|
+
* runs on the <input> itself -- so event.target.value is what was just
|
|
52
|
+
* typed. It is not sent again; change is (shared/form-control.ts).
|
|
31
53
|
*/
|
|
32
54
|
_onInput(e: Event & {
|
|
33
55
|
target: HTMLInputElement;
|
|
@@ -42,7 +64,7 @@ declare class CustomInput extends CustomInput_base {
|
|
|
42
64
|
}
|
|
43
65
|
declare global {
|
|
44
66
|
interface HTMLElementTagNameMap {
|
|
45
|
-
"bd-
|
|
67
|
+
"bd-input": BdInput;
|
|
46
68
|
}
|
|
47
69
|
}
|
|
48
70
|
export {};
|